Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@assaabloy/gw-group-job-openings-grid

Package Overview
Dependencies
Maintainers
9
Versions
407
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@assaabloy/gw-group-job-openings-grid - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

jobOpeningsGrid.js

@@ -1,1 +0,1 @@

!function(e){function t(t){for(var r,i,c=t[0],l=t[1],d=t[2],u=0,p=[];u<c.length;u++)i=c[u],Object.prototype.hasOwnProperty.call(a,i)&&a[i]&&p.push(a[i][0]),a[i]=0;for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(e[r]=l[r]);for(s&&s(t);p.length;)p.shift()();return o.push.apply(o,d||[]),n()}function n(){for(var e,t=0;t<o.length;t++){for(var n=o[t],r=!0,c=1;c<n.length;c++){var l=n[c];0!==a[l]&&(r=!1)}r&&(o.splice(t--,1),e=i(i.s=n[0]))}return e}var r={},a={13:0},o=[];function i(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=e,i.c=r,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/";var c=this["webpackJsonpassa-direflow"]=this["webpackJsonpassa-direflow"]||[],l=c.push.bind(c);c.push=t,c=c.slice();for(var d=0;d<c.length;d++)t(c[d]);var s=l;o.push([149,0]),n()}({0:function(e,t){e.exports=React},10:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(14),a=n(0),o=n.n(a),i=n(2),c=n(1);function l(){var e=Object(i.a)(["\n background-color: var(--button-contrast-hover-background);\n border-color: var(--button-contrast-hover-border);\n color: var(--button-contrast-hover-text);\n "]);return l=function(){return e},e}function d(){var e=Object(i.a)(["\n background-color: var(--button-secondary-hover-background);\n border-color: var(--button-secondary-hover-border);\n color: var(--button-secondary-hover-text);\n "]);return d=function(){return e},e}function s(){var e=Object(i.a)(["\n background-color: var(--button-primary-hover-background);\n border-color: var(--button-primary-hover-border);\n color: var(--button-primary-hover-text);\n "]);return s=function(){return e},e}function u(){var e=Object(i.a)(["\n background-color: var(--button-contrast-background);\n border-color: var(--button-contrast-border);\n color: var(--button-contrast-text);\n "]);return u=function(){return e},e}function p(){var e=Object(i.a)(["\n background-color: var(--button-secondary-background);\n border-color: var(--button-secondary-border);\n color: var(--button-secondary-text);\n "]);return p=function(){return e},e}function m(){var e=Object(i.a)(["\n background-color: var(--button-primary-background);\n border-color: var(--button-primary-border);\n color: var(--button-primary-text);\n "]);return m=function(){return e},e}var f=c.default.div.withConfig({displayName:"styles__View",componentId:"sc-32muko-0"})([""]),b=c.default.button.withConfig({displayName:"styles__Button",componentId:"sc-32muko-1"})(["outline:none;border:0;margin:0;display:inline-block;transition:ease-in-out 0.2s;border:2px solid;border-radius:var(--border-radius);font-family:var(--font-family-body);font-weight:var(--font-weight-semi-bold);padding:var(--button-size-small);font-size:var(--button-font-size);border-color:var(--button-border);color:var(--button-text);"," "," "," &:disabled{background-color:var(--button-disabled-background);border-color:var(--button-disabled-border);color:var(--button-disabled-text);cursor:default;pointer-events:none;}&:hover,&:target{text-decoration:underline;background-color:var(--button-hover-background);border-color:var(--button-hover-border);color:var(--button-hover-text);cursor:pointer;"," "," ","}@media only screen and (min-width:767px){padding:var(--button-size-large);}"],(function(e){return"primary"===e.classStyle&&Object(c.css)(m())}),(function(e){return"secondary"===e.classStyle&&Object(c.css)(p())}),(function(e){return"contrast"===e.classStyle&&Object(c.css)(u())}),(function(e){return"primary"===e.classStyle&&Object(c.css)(s())}),(function(e){return"secondary"===e.classStyle&&Object(c.css)(d())}),(function(e){return"contrast"===e.classStyle&&Object(c.css)(l())})),g=function(e){var t=e.label,n=void 0===t?"label":t,a=e.classStyle,i=void 0===a?"default":a,c=e.link,l=void 0!==c&&c,d=e.disabled,s=void 0!==d&&d,u=e.linkHref,p=e.target,m=void 0===p?"_self":p,g=e.downloadLink,h=void 0!==g&&g,v=Object(r.a)(e,["label","classStyle","link","disabled","linkHref","target","downloadLink"]);return o.a.createElement(f,null,o.a.createElement("div",{className:"button aem-ie__cta"},l?o.a.createElement("a",{href:u,download:h,target:m},o.a.createElement(b,Object.assign({disabled:s,classStyle:"".concat(i)},v),o.a.createElement("span",null,n))):o.a.createElement(b,Object.assign({disabled:s,classStyle:i},v),o.a.createElement("span",null,n))))}},122:function(e,t,n){"use strict";n.r(t);var r=n(16),a=n(44);t.default=r.a.create({component:a.a,configuration:{tagname:"gw-group-job-openings-grid",useShadow:!1},plugins:[]})},13:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(3),a=n(14),o=n(0),i=n.n(o),c=n(2),l=n(1);function d(){var e=Object(c.a)(["\n "," 0.8s ease-out;\n "]);return d=function(){return e},e}function s(){var e=Object(c.a)(["\n 0% { filter: blur(10px); transform: scale(1.1)}\n 80% { filter: blur(1px); }\n 100% { filter: blur(0px); transform: scale(1.00)}\n"]);return s=function(){return e},e}var u=l.default.div.withConfig({displayName:"styles__ImageWrapper",componentId:"sc-1czbg26-0"})(["position:relative;overflow:hidden;"]),p=Object(l.keyframes)(s()),m=l.default.img.withConfig({displayName:"styles__Image",componentId:"sc-1czbg26-1"})(["display:flex;max-width:100%;object-fit:cover;width:100%;filter:",";transform:",";animation:",";"],(function(e){return e.blur?"blur(20px);":""}),(function(e){return e.blur?"scale(1.1);":"scale(1)"}),(function(e){var t=e.blur,n=e.cacheHit,r=e.showProgressiveImage;return n||!r||t?"":Object(l.css)(d(),p)})),f=l.default.div.withConfig({displayName:"styles__Label",componentId:"sc-1czbg26-2"})(["position:absolute;top:1rem;left:1rem;padding:0.5rem 1rem;font-size:16px;line-height:24px;border-radius:var(--border-radius);background-color:rgba(26,26,26,0.8);backdrop-filter:blur(10px);color:#fff;z-index:1;p{font-weight:var(--font-weight-semi-bold);}span{font-weight:var(--font-weight-regular);}&.bottomRight{text-align:right;top:unset;left:unset;bottom:1rem;right:1rem;}&.bottomLeft{top:unset;left:unset;bottom:1rem;left:1rem;}&.topLeft{top:1rem;left:1rem;}&.topRight{right:1rem;left:unset;text-align:right;}a{text-decoration:none;color:#fff;}p{margin:0;}"]),b=function(e,t){var n=Object(o.useState)(""),a=Object(r.a)(n,2),i=a[0],c=a[1],l=Object(o.useState)(!1),d=Object(r.a)(l,2),s=d[0],u=d[1];return Object(o.useEffect)((function(){var n=new Image;if(n.src=t,n.complete)return c(t),void u(!0);c(e),n.onload=function(){return c(t)}}),[e,t]),[i,s]},g=function(e){var t=e.caption,n=e.metaContent,c=e.link,l=e.alt,d=e.style,s=void 0===d?"":d,p=e.image,g=e.tinyImageSrc,h=void 0===g?"":g,v=e.imageLabel,x=e.className,w=void 0===x?"":x,y=Object(a.a)(e,["caption","metaContent","link","alt","style","image","tinyImageSrc","imageLabel","className"]),k=h,j=p,O=b(k,j),E=Object(r.a)(O,2),_=E[0],C=E[1],L=Object(o.useState)(!1),S=Object(r.a)(L,2),N=S[0],I=S[1],z=_===k||!N,A=!0;k&&!C||(z=!1),k||(A=!1);var P=_?i.a.createElement(m,{src:_,alt:l,blur:z,cacheHit:C,showProgressiveImage:A,onLoad:function(){return _===j?I(!0):null}}):null;return _?i.a.createElement(u,Object.assign({},y,{className:"".concat(s," ").concat(w)}),v&&v.title&&!1!==v.visible&&i.a.createElement(f,{className:v.position},i.a.createElement("a",{href:v.url},v.title&&i.a.createElement("p",null,v.title),v.text&&i.a.createElement("span",null,v.text))),c?i.a.createElement("a",{href:c},P):P,n&&i.a.createElement("meta",{itemProp:"caption",content:n}),t&&i.a.createElement("span",{className:"cmp-image__title"},t)):null}},15:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),a=n.n(r),o=function(e){var t=null;switch(e.icon){case"externalLink.svg":t=a.a.createElement("svg",{className:"externalLink.svg",width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.a.createElement("path",{d:"M13 8.90237V13.2176C13 13.8679 12.4706 14.3999 11.8235 14.3999H2.17647C1.52941 14.3999 1 13.8679 1 13.2176V3.58217C1 2.93192 1.52941 2.3999 2.17647 2.3999H5.70588",stroke:"black",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round"}),a.a.createElement("path",{d:"M14 1L6.82141 8.17857",stroke:"black",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round"}),a.a.createElement("path",{d:"M14 1H8.6759",stroke:"black",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round"}),a.a.createElement("path",{d:"M14 1V6.32411",stroke:"black",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round"}));break;case"cross.svg":t=a.a.createElement("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.a.createElement("path",{d:"M8.75 1.125L1 8.875",stroke:"#1A1A1A",strokeWidth:"1.62",strokeLinecap:"round",strokeLinejoin:"round"}),a.a.createElement("path",{d:"M1 1.125L8.75 8.875",stroke:"#1A1A1A",strokeWidth:"1.62",strokeLinecap:"round",strokeLinejoin:"round"}));break;case"arrow.svg":t=a.a.createElement("svg",{width:"13",height:"56",viewBox:"0 0 13 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.a.createElement("path",{d:"M2 2L10 10L2 18",stroke:"white",strokeWidth:"3"}));break;default:t=a.a.createElement("svg",{className:"applicationLink__content__icon",width:"16",height:"24",viewBox:"0 0 16 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.a.createElement("path",{d:"M8.08163 20L16 12L8.08163 4L6.4 5.69072L11.4367 10.7711H0V13.2289H11.4367L6.4 18.3175L8.08163 20Z",fill:"#1A1A1A"}))}return t}},18:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n(0),a=n.n(r),o=n(6),i=n(13),c=n(20),l=n(5),d=n(2),s=n(1);function u(){var e=Object(d.a)(["\n background-color: var(--card-primary-background) !important;\n p, h4, h5, h3, a, li, div {\n color: var(--card-primary-text-color);\n }\n\n img {\n border-color: var(--card-primary-background) !important;\n }\n\n svg path {\n fill: var(--card-primary-text-color)\n }\n "]);return u=function(){return e},e}var p=s.default.article.withConfig({displayName:"styles__View",componentId:"sc-7ojre4-0"})(["background-color:var(--card-default-background);color:var(--card-default-text-color);position:relative;border-radius:var(--border-radius);padding-bottom:calc(16px + 54px + 8px);min-height:",";@media only screen and (min-width:480px){padding-bottom:calc(24px + 54px + 8px);}img{max-width:100%;width:100%;border:8px solid var(--card-default-background);display:flex;margin-bottom:-0.5rem;border-radius:4px;}h4,h5{color:var(--grey);}p{margin:0;margin-top:var(--spacing-mini-2);font-size:var(--font-size-2);line-height:var(--line-height-size-2);}li{font-size:var(--font-size-2);line-height:var(--line-height-size-2);}",";"],(function(e){return e.hasImage?"444px":"368px"}),(function(e){return"primary"===e.cardType&&Object(s.css)(u())})),m=s.default.div.withConfig({displayName:"styles__CardLink",componentId:"sc-7ojre4-1"})(["position:absolute;left:var(--spacing-small);bottom:var(--spacing-mini-2);@media only screen and (min-width:480px){left:var(--spacing-small-1);}"]),f=s.default.div.withConfig({displayName:"styles__CardContent",componentId:"sc-7ojre4-2"})(["padding:var(--spacing-small) var(--spacing-small) 0 var(--spacing-small);@media only screen and (min-width:480px){padding:var(--spacing-small-1) var(--spacing-small-1) 0 var(--spacing-small-1);}"]),b=function(e){var t=e.image,n=void 0!==t&&t,r=e.title,d=e.html,s=e.ctaLabel,u=e.ctaUrl,b=e.type,g=void 0===b?"default":b,h=n?5:10,v=n?3:5,x="primary"===g?"h4":"h5";return 0===[r,d,s,u].filter((function(e){return e})).length?null:a.a.createElement(p,{theme:"light-theme",hasImage:n,cardType:g,className:"card"},n&&a.a.createElement(i.a,{link:u,image:n.toString(),alt:r}),a.a.createElement(f,null,r&&a.a.createElement(o.a,{rowLimit:v,link:u,text:r,size:x}),d&&a.a.createElement(l.a,{html:d,rowLimit:h})),s&&u&&a.a.createElement(m,null,a.a.createElement(c.a,{ctaLabel:s,ctaUrl:u})))}},20:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(0),a=n.n(r),o=n(1).default.a.withConfig({displayName:"styles__View",componentId:"sc-1afmimz-0"})(["text-decoration:none;min-height:54px;color:var(--grey);display:flex;align-items:center;font-size:var(--font-size-2);font-family:var(--font-family-body);font-weight:var(--font-weight-semi-bold);span{padding-right:10px;}svg{transition:ease-in-out 0.2s;}&:hover{text-decoration:underline;text-decoration-thickness:var(--text-decoration-thickness);}"]),i=n(15),c=function(e){var t=e.ctaLabel,n=e.ctaUrl,r=e.target,c=void 0===r?"_self":r,l=e.hasIcon,d=void 0===l||l,s=e.icon,u=void 0===s?null:s,p=u||a.a.createElement(i.a,null);return p=d?p:null,a.a.createElement(o,{href:n,target:c},a.a.createElement("span",null,t),p)}},22:function(e,t){e.exports=ReactDOM},31:function(e,t,n){"use strict";var r=n(3),a=n(0),o=n.n(a),i=n(1),c=i.default.div.withConfig({displayName:"styles__View",componentId:"u5jyhz-0"})(["color:var(--dropdown-checkbox-color);background-color:var(--dropdown-checkbox-background);display:block;text-decoration:none;padding:0.5rem;border-top:var(--dropdown-checkbox-border-color);padding:0 2rem;border-top:1px solid var(--border-color);border-right:1px solid var(--border-color);&:hover{background-color:var(--dropdown-checkbox-background-hover);cursor:pointer;span{text-decoration:underline;}}.label{display:block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:1rem 0;input{position:absolute;opacity:0;cursor:pointer;height:0;width:0;&:checked ~ span:after{display:block;}&:checked ~ span{font-family:var(--font-family-body);font-weight:var(--font-weight-semi-bold);}}}"]),l=i.default.span.withConfig({displayName:"styles__State",componentId:"u5jyhz-1"})(["padding-left:var(--spacing-small);"]),d=i.default.span.withConfig({displayName:"styles__Checkmark",componentId:"u5jyhz-2"})(['position:absolute;top:50%;transform:translateY(-50%);right:0;height:25px;width:25px;background-color:var(--grey-10);border-radius:var(--border-radius);&:after{content:"";position:absolute;display:none;right:8px;top:4px;width:7px;height:14px;border:1px solid var(--grey);border-width:0 2px 2px 0;-webkit-transform:rotate(40deg);-ms-transform:rotate(40deg);transform:rotate(40deg);}']),s=i.default.span.withConfig({displayName:"styles__LabelText",componentId:"u5jyhz-3"})(["max-width:calc(100% - 64px);display:block;"]),u=function(e){var t=e.value,n=e.handleCheckbox,r=e.category,a=e.isChecked,i=void 0!==a&&a;return o.a.createElement(c,null,o.a.createElement("label",{className:"label"},o.a.createElement("input",{checked:i,readOnly:!0,type:"checkbox",onClick:function(e){return n&&n(t,e)},"data-category":r}),o.a.createElement(d,{className:"checkmark"}),o.a.createElement(s,null,t.includes("reset")?"All":function(e){if(e.includes(",")){var t=e.split(",");return o.a.createElement(l,null,t[1])}return e}(t))))},p=n(2);function m(){var e=Object(p.a)(["\n display: flex;\n flex-direction: column;\n "]);return m=function(){return e},e}var f=i.default.div.withConfig({displayName:"styles__Dropdown",componentId:"sc-1d64m08-0"})(['position:relative;font-size:var(--font-size-2);&::before{content:"";opacity:0;display:block;height:100%;width:100%;position:absolute;top:0;left:0;box-shadow:0 100px 80px rgba(26,26,26,0.0168687),0 41.7776px 33.4221px rgba(26,26,26,0.0242336),0 22.3363px 17.869px rgba(26,26,26,0.03),0 12.5216px 10.0172px rgba(26,26,26,0.0357664),0 6.6501px 5.32008px rgba(26,26,26,0.0431313),0 2.76726px 2.21381px rgba(26,26,26,0.06);}margin-top:1rem;button{height:56px;font-weight:var(--font-weight-semi-bold);background-color:var(--dropdown-background-light);color:var(--dropdown-color);position:relative;outline:none;border:0;margin:0;padding:0.8rem 1rem;padding-right:calc(1.6rem + 0.5rem);border-radius:var(--border-radius);width:100%;text-align:left;min-width:320px;cursor:pointer;&::before{content:"";position:absolute;width:5px;height:5px;right:20px;top:calc(50% - 3px);transform:rotate(45deg);border-right:2px solid #000;border-bottom:2px solid #000;border-radius:1px;transition:ease-in-out 0.2s;}}']),b=i.default.div.withConfig({displayName:"styles__Menu",componentId:"sc-1d64m08-1"})(["border-radius:0 0 4px 4px;max-height:330px;position:absolute;overflow-y:scroll;width:100%;min-width:100%;display:none;z-index:1;box-shadow:0 100px 80px rgba(26,26,26,0.0168687),0 41.7776px 33.4221px rgba(26,26,26,0.0242336),0 22.3363px 17.869px rgba(26,26,26,0.03),0 12.5216px 10.0172px rgba(26,26,26,0.0357664),0 6.6501px 5.32008px rgba(26,26,26,0.0431313),0 2.76726px 2.21381px rgba(26,26,26,0.06);"]),g=i.default.div.withConfig({displayName:"styles__View",componentId:"sc-1d64m08-2"})(["","{","}"],b,(function(e){return e.isHidden&&Object(i.css)(m())})),h=function(e){var t=e.text,n=e.items,i=e.selectedLength,c=e.addCheckBoxValueToState,l=e.category,d=e.removeCheckBoxValueFromState,s=e.filterOptions,p=Object(a.useState)(!1),m=Object(r.a)(p,2),h=m[0],v=m[1],x=Object(a.useRef)(),w=Object(a.useRef)();Object(a.useEffect)((function(){var e=function(e){var t=e.target;x.current&&!x.current.contains(t)&&v(!1),x.current&&t===w.current&&v(!h)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}}),[h,x,w]);var y=function(e,t){var n=t.target,r=n&&n.dataset.category;r.includes("reset")||n.checked?c(r,e):d(r,e)};return o.a.createElement(g,{isHidden:h,ref:x},o.a.createElement(f,{className:"dropdown"},o.a.createElement("button",{ref:w,type:"button","aria-haspopup":"true","aria-expanded":"false","data-toggle":"dropdown",role:"menu"},t,i?" (".concat(i,") "):""),o.a.createElement(b,null,o.a.createElement(u,{handleCheckbox:y,category:"".concat(l,"-reset"),filterOptions:s,value:"All",isChecked:!s||s.length<1}),n.map((function(e,t){return o.a.createElement(u,{handleCheckbox:y,key:"".concat(l,"-").concat(t),category:l,filterOptions:s,value:e,isChecked:s.includes(e)})})))))},v=i.default.div.withConfig({displayName:"styles__View",componentId:"sc-1yabwgh-0"})(["width:100%;@media only screen and (min-width:480px){max-width:320px;}"]),x=i.default.div.withConfig({displayName:"styles__Dropdown",componentId:"sc-1yabwgh-1"})(['position:relative;font-size:var(--font-size-2);button{height:56px;background-color:var(--dropdown-background-white);color:var(--dropdown-color);position:relative;outline:none;border:0;margin:0;padding:0.8rem 1rem;padding-right:calc(1.6rem + 0.5rem);border-radius:var(--border-radius);width:100%;text-align:left;min-width:260px;cursor:pointer;&.main-order{font-family:var(--font-family-body);font-weight:var(--font-weight-semi-bold);background-color:var(--dropdown-background-light);}&.main-order::before{content:"";position:absolute;width:5px;height:5px;right:20px;top:calc(50% - 3px);transform:rotate(45deg);border-right:2px solid #000;border-bottom:2px solid #000;border-radius:1px;transition:ease-in-out 0.2s;}}']),w=i.default.div.withConfig({displayName:"styles__Menu",componentId:"sc-1yabwgh-2"})(["",";border-radius:0 0 4px 4px;max-height:330px;position:absolute;overflow-y:scroll;width:100%;min-width:260px;z-index:1;box-shadow:0 100px 80px rgba(26,26,26,0.0168687),0 41.7776px 33.4221px rgba(26,26,26,0.0242336),0 22.3363px 17.869px rgba(26,26,26,0.03),0 12.5216px 10.0172px rgba(26,26,26,0.0357664),0 6.6501px 5.32008px rgba(26,26,26,0.0431313),0 2.76726px 2.21381px rgba(26,26,26,0.06);button{border-top:1px solid var(--dropdown-checkbox-border-color);min-height:56px;border-radius:0;&:hover{background-color:var(--grey-5) !important;cursor:pointer;}}"],(function(e){return e.isHidden?"display: block":"display: none"})),y=i.default.div.withConfig({displayName:"styles__Dot",componentId:"sc-1yabwgh-3"})(["width:20px;position:absolute;height:20px;background-color:var(--grey);border:4px solid var(--grey-10);border-radius:50%;right:1rem;top:50%;transform:translateY(-50%);"]),k=function(e){var t=e.SortAllPosts,n=Object(a.useState)("Sort by"),i=Object(r.a)(n,2),c=i[0],l=i[1],d=Object(a.useState)(!1),s=Object(r.a)(d,2),u=s[0],p=s[1],m=Object(a.useRef)(),f=Object(a.useRef)(),b=function(e){var n=e.target.dataset.order,r=e.target.dataset.label;p(!1),t(n),l(r)};return Object(a.useEffect)((function(){var e=function(e){var t=e.target;m.current&&!m.current.contains(t)&&p(!1),m.current&&t===f.current&&p(!u)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}}),[u,f,m]),o.a.createElement(v,{ref:m},o.a.createElement(x,{className:"dropdown"},o.a.createElement("button",{ref:f,className:"main-order",type:"button","aria-haspopup":"true","aria-expanded":"false","data-toggle":"dropdown",role:"menu"},c),o.a.createElement(w,{isHidden:u},[{order:"ASC",label:"Newest first"},{order:"DESC",label:"Oldest first"},{order:"AZ",label:"A-Z"},{order:"ZA",label:"Z-A"}].map((function(e){return o.a.createElement("button",{key:e.order,onClick:b,"data-order":e.order,"data-label":e.label},e.label," ",c===e.label&&o.a.createElement(y,null))})))))},j=n(15),O=i.default.ul.withConfig({displayName:"styles__Chips",componentId:"mbnnkm-0"})(["display:flex;list-style:none;gap:16px;padding:0;margin:0;& li{display:flex;background-color:var(--grey-20);height:40px;border-radius:var(--border-radius);align-items:center;justify-content:space-between;padding:0 8px 0 16px;font-weight:var(--font-weight-semi-bold);.label{padding-right:8px;}button{background:transparent;border:none;outline:none;padding:0 8px;cursor:pointer;}}"]),E=Object(i.default)(j.a).withConfig({displayName:"styles__Icon",componentId:"mbnnkm-1"})(["height:8px;width:8px;"]),_=i.default.section.withConfig({displayName:"styles__View",componentId:"sc-1xm7nbr-0"})(["margin-bottom:var(--spacing-large);.assa-dropdown-list{display:flex;}&.disable{pointer-events:none;}@media only screen and (min-width:1024px){padding-top:var(--spacing-large);}"]),C=i.default.div.withConfig({displayName:"styles__Filter",componentId:"sc-1xm7nbr-1"})(["display:flex;flex-direction:column;@media only screen and (min-width:1124px){flex-direction:row;& > div{margin-right:1rem;}}"]),L=i.default.div.withConfig({displayName:"styles__Order",componentId:"sc-1xm7nbr-2"})(["display:flex;flex-direction:column-reverse;justify-content:space-between;align-items:flex-end;padding-bottom:var(--spacing-small-1);@media only screen and (min-width:480px){flex-direction:row;}@media only screen and (min-width:1024px){flex-direction:row;}"]),S=Object(i.default)((function(e){var t=function(t){var n=t.currentTarget;e.onClickDelete(n.dataset.id)};return o.a.createElement(O,{className:"Chips ".concat(e.className)},e.chips.map((function(e){return o.a.createElement("li",{key:e.id},o.a.createElement("div",{className:"label"},e.label),o.a.createElement("button",{"data-id":e.id,onClick:t,"aria-label":"Delete ".concat(e.label)},o.a.createElement(E,{icon:"cross.svg"})))})))})).withConfig({displayName:"styles__Chips",componentId:"sc-1xm7nbr-3"})(["flex-wrap:wrap;justify-content:left;min-height:40px;"]),N=i.default.div.withConfig({displayName:"styles__Divider",componentId:"sc-1xm7nbr-4"})(["height:1px;width:100%;background-color:var(--divider-color);margin-top:var(--spacing-small);margin-bottom:var(--spacing-small);@media only screen and (min-width:1024px){margin-top:var(--spacing-medium-1);margin-bottom:var(--spacing-medium-1);}"]),I=i.default.div.withConfig({displayName:"styles__NumberofResults",componentId:"sc-1xm7nbr-5"})(["color:var(--grey-80);opacity:0.5;padding-top:var(--spacing-small);@media only screen and (min-width:480px){padding-top:0;}"]);t.a=function(e){var t=e.filterOptions,n=e.addCheckBoxValueToState,a=e.removeCheckBoxValueFromState,i=e.SortAllPosts,c=e.numberOfResults,l=e.dropdownValues,d=e.chipsCategories,s=void 0===d?[]:d,u=Object.keys(t).filter((function(e){return s.includes(e)})).map((function(e){return t[e].map((function(t){var n=t.includes(", ")?t.split(", ")[1]:t;return{id:e+"-"+t,label:n}}))})).reduce((function(e,t){return e.concat(t)}),[]);return o.a.createElement(_,{className:"".concat(l?"":"disable")},o.a.createElement(C,null,l.map((function(e,r){return o.a.createElement(h,{key:r,category:e.name,text:e.label,selectedLength:t[e.name].length,items:e.options,removeCheckBoxValueFromState:a,addCheckBoxValueToState:n,filterOptions:t[e.name]})}))),o.a.createElement(N,null),o.a.createElement(L,null,o.a.createElement(I,null,c," results"),o.a.createElement(k,{SortAllPosts:i})),o.a.createElement(S,{chips:u,onClickDelete:function(e){if(e){var t=e.split(/-(.*)/,2),n=Object(r.a)(t,2),o=n[0],i=n[1];a(o,i)}}}))}},32:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(0),a=n.n(r),o=n(3),i=n(1),c=i.default.div.withConfig({displayName:"styles__View",componentId:"c8lmbv-0"})(["margin:var(--spacing-medium-1) 0;display:flex;flex-direction:column;align-items:center;"]),l=i.default.div.withConfig({displayName:"styles__Bar",componentId:"c8lmbv-1"})(["background-color:var(--progress-bar-background);width:100%;max-width:380px;height:8px;margin-top:8px;"]),d=i.default.div.withConfig({displayName:"styles__Head",componentId:"c8lmbv-2"})(["color:var(--progress-bar-text-color);"]),s=i.default.div.withConfig({displayName:"styles__Indicator",componentId:"c8lmbv-3"})(["height:100%;width:",";background-color:var(--progress-bar-indicator);transition:ease-in-out 0.3s;"],(function(e){var t=e.width;return"".concat(t,"%")})),u=function(e){var t=e.current,n=e.max,i=Object(r.useState)(0),u=Object(o.a)(i,2),p=u[0],m=u[1],f=Object(r.useState)(t),b=Object(o.a)(f,2),g=b[0],h=b[1];return Object(r.useEffect)((function(){var e=t/n*100;t>=n?(h(n),m(100)):(m(e),h(t))}),[t,n]),a.a.createElement(c,null,a.a.createElement(d,null,a.a.createElement("span",null,"Showing ",g," of ",n)),a.a.createElement(l,null,a.a.createElement(s,{width:p})))},p=n(10),m=i.default.section.withConfig({displayName:"styles__View",componentId:"r4k62f-0"})(["padding:3rem 0 3rem 0;& .button{display:flex;justify-content:center;}"]),f=function(e){var t=e.postsPerPage,n=e.totalPosts,r=e.loadMore,o=e.loadMorePosts,i=e.amount,c=e.cta;return a.a.createElement(m,null,0!==n&&a.a.createElement(u,{current:t,max:n}),n>i&&o?a.a.createElement(p.a,{onClick:function(){return r(i)},label:c,classStyle:"primary"}):a.a.createElement(p.a,{label:"Nothing more to show",disabled:!0}))}},4:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"i",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"e",(function(){return d})),n.d(t,"h",(function(){return s})),n.d(t,"b",(function(){return u})),n.d(t,"d",(function(){return p}));var r=n(3),a=function(e){return JSON.parse(decodeURIComponent(escape(atob(e))))},o=function(e){return btoa(unescape(encodeURIComponent(e)))},i=function(e){return e.replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">")},c=function(e){return e.sort((function(e,t){return e.created>t.created?-1:e.created<t.created?1:0}))},l=function(e){return e.sort((function(e,t){return e.created<t.created?-1:e.created>t.created?1:0}))},d=function(e){return e.sort((function(e,t){return e.title<t.title?-1:e.title>t.title?1:0}))},s=function(e){return e.sort((function(e,t){return e.title>t.title?-1:e.title<t.title?1:0}))};function u(e,t){var n,r=arguments,a=this;return function(o){clearTimeout(n),n=setTimeout((function(t){n=null,e.apply(a,r)}),t)}}var p=function(e,t){if(!t.length)return e;var n=Object(r.a)(t,1)[0];return/^\d+$/.test(e)?"".concat(e).concat(n):"string"===typeof e&&t.some((function(t){return e.endsWith(t)}))?e:"string"===typeof e&&"".concat(e.trim().replace(/\D/g,"")||"0").concat(n)}},44:function(e,t,n){"use strict";var r=n(21),a=n.n(r),o=n(34),i=n(12),c=n(11),l=n(3),d=n(0),s=n.n(d),u=n(8),p=n(7),m=n(32),f=n(31),b=n(18),g=n(4),h=n(1),v=h.default.section.withConfig({displayName:"styles__View",componentId:"sc-17b4pgp-0"})(["display:grid;grid-gap:1rem;max-width:100%;margin:0 auto;justify-content:center;position:relative;grid-template-columns:1fr;box-sizing:border-box;@media only screen and (min-width:768px){grid-template-columns:repeat(auto-fill,calc(50% - 0.5rem));}@media only screen and (min-width:1200px){grid-template-columns:repeat(auto-fill,calc(33% - 0.5rem));}@media only screen and (min-width:1520px){grid-template-columns:repeat(auto-fill,calc(25% - 0.78rem));}"]),x=function(e){var t=e.locations.map((function(e){return"".concat(e.city,", ").concat((t=e.state,t?"".concat(t,", "):"")," ").concat(e.country);var t})).join(", ");return"\n <p><strong>".concat(t,"</strong><br>\n Application due ").concat(e.applicationDueDate.slice(0,10),"</p>\n <ul>\n <li>").concat(Object(g.c)(e.jobFunction.category),"</li>\n <li>").concat(e.experienceLevel.name,"</li>\n </ul>\n ")},w=function(e){var t=e.posts;return s.a.createElement(v,null,t.map((function(e,t){return s.a.createElement(b.a,{key:t,title:Object(g.c)(e.title),html:x(e),ctaUrl:e.applicationUrl,ctaLabel:"Read more"})})))},y=n(23),k={background:"var(--section-background-alt-1)",card:{background:"var(--card-light-background)",color:"var(--card-light-text-color)"},dropdown:{background:"var(--dropdown-background-light)",backgroundHover:"var(--dropdown-background-white)"}},j={background:"var(--section-background-alt-2)",card:{background:"var(--card-default-background)",color:"var(--card-default-text-color)"},dropdown:{background:"var(--dropdown-background-white)",backgroundHover:"var(--dropdown-background-light)"}},O=h.default.article.withConfig({displayName:"styles__View",componentId:"sc-1xgjmv9-0"})(["display:flex;flex-direction:column;background-color:",";.card{background-color:",";}.dropdown button{background-color:",";}.main-order{background-color:",";}.main-order + div > *{background-color:var(--dropdown-background-white);}"],(function(e){return e.theme.background}),(function(e){return e.theme.card.background}),(function(e){var t=e.theme;return"".concat(t.dropdown.background)}),(function(e){var t=e.theme;return"".concat(t.dropdown.background)})),E=function(e){var t=Object(d.useState)(!1),n=Object(l.a)(t,1)[0],r=Object(d.useState)(!0),b=Object(l.a)(r,2),h=b[0],v=b[1],x=Object(d.useState)(10),E=Object(l.a)(x,1)[0],_=Object(d.useState)(1),C=Object(l.a)(_,1)[0],L=Object(d.useState)(12),S=Object(l.a)(L,2),N=S[0],I=S[1],z=Object(d.useState)(g.f(g.a(e.content))),A=Object(l.a)(z,1)[0],P=Object(d.useState)(g.f(g.a(e.content))),V=Object(l.a)(P,2),M=V[0],T=V[1],R=Object(d.useState)([]),W=Object(l.a)(R,2),H=W[0],B=W[1],D=Object(d.useState)([]),F=Object(l.a)(D,2),U=F[0],Z=F[1],J=Object(d.useState)([]),Y=Object(l.a)(J,2),q=Y[0],$=Y[1],G=Object(d.useState)({jobFunctions:[],locations:[],experienceLevels:[],order:"ASC"}),K=Object(l.a)(G,2),Q=K[0],X=K[1],ee=function(e){"AZ"===Q.order&&T(g.e(Object(i.a)(e))),"ZA"===Q.order&&T(g.h(Object(i.a)(e))),"ASC"===Q.order&&T(g.f(Object(i.a)(e))),"DESC"===Q.order&&T(g.g(Object(i.a)(e))),I(12)};Object(d.useEffect)((function(){"string"===typeof e.content&&ee(g.a(e.content)),B(function(e){var t=[];return e.length>0?(e.sort().forEach((function(e){e.locations.forEach((function(e){null!==e.state&&t.push("".concat(e.country,", ").concat(e.state)),t.push(e.country)}))})),Object(i.a)(new Set(t)).sort((function(e,t){return e.toLowerCase()<t.toLowerCase()?-1:e.toLowerCase()>t.toLowerCase()?1:0}))):[]}(Object(i.a)(M))),Z(function(e){var t=[];return e.length>0?(e.sort().forEach((function(e){t.push(Object(g.c)(e.jobFunction.category))})),Object(i.a)(new Set(t.sort()))):[]}(Object(i.a)(M))),$(function(e){var t=[];return e.length>0?(e.sort((function(e,t){return e.experienceLevel.value<t.experienceLevel.value?-1:e.experienceLevel.value>t.experienceLevel.value?1:0})).forEach((function(e){0!==e.experienceLevel.value&&t.push(e.experienceLevel.name)})),Object(i.a)(new Set(t))):[]}(Object(i.a)(M))),window.innerWidth<1200&&I(8),window.innerWidth<600&&I(4)}),[]),Object(d.useLayoutEffect)((function(){ee(function(e,t){var n=e.locations,r=e.experienceLevels,a=e.jobFunctions;if(0===n.length&&0===a.length&&0===r.length)return t;var o=n.concat(a,r);return t.filter((function(e){for(var t=0;t<o.length;t++)for(var r=0;r<e.locations.length;r++){var a=o[t].split(", ")[1],i=o[t];if(e.locations[r].country===i||e.locations[r].state===a||0===n.length)return e}return!1})).filter((function(t){for(var n=0;n<o.length;n++)if(Object(g.c)(t.jobFunction.category)===o[n]||0===e.jobFunctions.length)return t;return!1})).filter((function(e){for(var t=0;t<o.length;t++)if(e.experienceLevel.name===o[t]||0===r.length)return e;return!1}))}(Q,A))}),[Q]);var te=function(){var e=Object(o.a)(a.a.mark((function e(t){var n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=window.scrollY,r=function(){return new Promise((function(e){I(N+t),N+t>=M.length?v(!1):v(!0),e()}))},e.next=4,r();case 4:window.scroll(0,n);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ne=C*N,re=ne-N,ae=M.slice(re,ne),oe=[{name:"jobFunctions",label:"Function",options:U},{name:"locations",label:"Location",options:H},{name:"experienceLevels",label:"Experience level",options:q}];return s.a.createElement(p.a,{theme:function(e){switch(e){case"theme-alt-1":return k;case"theme-alt-2":return j;default:return k}}(e.theme)},s.a.createElement(O,null,s.a.createElement(u.a,null,s.a.createElement(f.a,{addCheckBoxValueToState:function(e,t){X(function(e,t,n){var r={};return Object.keys(e).forEach((function(a){if(t===a){var o=e[a];r=Object(c.a)(Object(c.a)({},e),{},Object(y.a)({},a,[].concat(Object(i.a)(o),[n])))}t==="".concat(a,"-reset")&&(r=Object(c.a)(Object(c.a)({},e),{},Object(y.a)({},a,[])))})),r}(Q,e,t))},removeCheckBoxValueFromState:function(e,t){X(function(e,t,n){var r={};return Object.keys(e).forEach((function(a){if(t===a){var o=e[t].filter((function(e){return e!==n}));r=Object(c.a)(Object(c.a)({},e),{},Object(y.a)({},a,o))}})),r}(Q,e,t))},dropdownValues:oe,SortAllPosts:function(e){X(Object(c.a)(Object(c.a)({},Q),{},{order:"".concat(e)}))},numberOfResults:M.length,filterOptions:Q,chipsCategories:["jobFunctions","locations","experienceLevels"]}),s.a.createElement(w,{postsPerPage:N,posts:ae,loading:n,loadMoreAmount:E}),s.a.createElement(m.a,{cta:"Show more jobs",amount:12,postsPerPage:N,totalPosts:M.length,currentPage:C,loadMore:te,loadMorePosts:h}))))};E.defaultProps={content:"",theme:""};t.a=E},5:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(0),a=n.n(r),o=n(19),i=n.n(o),c=n(2),l=n(1),d=Object(l.css)(['overflow:auto;width:100%;& table{background-color:transparent;width:100%;border-collapse:collapse;text-align:left;table-layout:fixed;tr:before,tr:after{content:"";display:table-cell;width:24px;border-top:1px solid transparent;}td,th{width:120px;height:56px;}& thead{padding-bottom:var(--spacing-small);line-height:var(--line-height-size-3);font-size:var(--font-size-3);font-weight:var(--font-weight-bold);& tr{margin:0 var(--spacing-small-1);td,th{padding:var(--spacing-small) 0;border-bottom:2px solid var(--grey-80);}}}& tbody{padding:var(--spacing-small-1) 0;line-height:var(--line-height-size-3);font-size:var(--font-size-3);& tr{td{border-top:1px solid var(--grey-20);border-bottom:1px solid var(--grey-20);padding:var(--spacing-small) 0;}&:hover{background-color:var(--white);box-shadow:0px 2px 2px 0px rgba(26,26,26,0.06),0px 8px 8px 0px rgba(26,26,26,0.04),0px 12px 12px 0px rgba(26,26,26,0.04),0px 24px 16px 0px rgba(26,26,26,0.03),0px 40px 32px 0px rgba(26,26,26,0.0242),0px 100px 80px 0px rgba(26,26,26,0.0169);&:before,:after{border-top-color:var(--grey-20);border-bottom-color:var(--grey-20);}}&:first-child{td{border-top:2px solid var(--grey-80);}&:hover{:before,:after{border-top:2px solid var(--grey-80);}}}&:last-child{td{border-bottom:2px solid var(--grey-80);}&:hover{:before,:after{border-bottom:2px solid var(--grey-80);}}}}}& tfoot{padding-bottom:var(--spacing-medium);line-height:var(--line-height-size-4);font-size:var(--font-size-4);font-weight:var(--font-weight-bold);td{padding:var(--spacing-small) 0;}}@media screen and (min-width:767px){th,td{width:120px;}}}']);function s(){var e=Object(c.a)(["\n display: -webkit-box;\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden !important;\n "]);return s=function(){return e},e}var u=l.default.div.withConfig({displayName:"styles__RichText",componentId:"twz6l6-0"})(["& a{text-decoration:underline;font-weight:var(--font-weight-semi-bold);color:var(--grey);&:visited{color:var(--grey);}}& quote{font-size:var(--font-size-7);font-weight:var(--font-weight-light);font-style:italic;line-height:var(--line-height-size-7);}& ul,ol{padding-left:0;list-style-position:inside;}",";",""],(function(e){var t=e.rowLimit;return void 0!==t&&Object(l.css)(s(),t)}),d),p={FORBID_ATTR:["style","class","id","colspan","cellspacing","cellpadding","border","valign"],ALLOW_DATA_ATTR:!1},m=function(e){var t=e.html,n=e.rowLimit,r=e.className,o=i.a.sanitize(t,p);return a.a.createElement(u,{rowLimit:n,className:r,dangerouslySetInnerHTML:{__html:"<div>".concat(o,"</div>")}})};m.defaultProps={html:"",className:""}},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(0),a=n.n(r),o=n(2),i=n(1);function c(){var e=Object(o.a)(["\n display: -webkit-box;\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden;\n "]);return c=function(){return e},e}function l(){var e=Object(o.a)(["\n\na {\n color: inherit;\n text-decoration: none;\n\n &:hover {\n text-decoration: underline;\n text-decoration-thickness: var(--text-decoration-thickness);\n }\n}\n\n",";\n"]);return l=function(){return e},e}var d=i.default.div(l(),(function(e){var t=e.rowLimit;return void 0!==t&&Object(i.css)(c(),t)})),s=function(e){var t=e.text,n=e.link,r=void 0!==n&&n,o=e.size,i=e.className,c=e.rowLimit,l=a.a.createElement(o,{},t),s=a.a.createElement(o,{},a.a.createElement("a",{href:r},t));return a.a.createElement(d,{rowLimit:c,className:i},r?s:l)}},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),a=n.n(r),o=n(1),i=function(e){return a.a.createElement(o.ThemeProvider,{theme:e.theme},e.children)}},8:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(1),a=n(0),o=n.n(a),i=function(e){var t=e.children,n=e.maxWidth,r=void 0===n?1520:n,a=e.padding,i=void 0===a||a;return o.a.createElement(c,{maxWidth:r,padding:i},t)},c=r.default.div.withConfig({displayName:"Wrapper__View",componentId:"sc-1471sjl-0"})(["box-sizing:border-box;width:100%;max-width:100%;margin:0 auto;padding:",";@media only screen and (min-width:767px){padding:",";max-width:",";}@media only screen and (min-width:1024px){padding:",";max-width:",";}@media only screen and (min-width:1648px){max-width:",";}"],(function(e){return e.padding?"0 24px;":0}),(function(e){return e?"0 32px;":0}),(function(e){var t=e.maxWidth;return t&&"calc(".concat(t,"px + 64px);")}),(function(e){return e?"0 64px;":0}),(function(e){var t=e.maxWidth;return t&&"calc(".concat(t,"px + 128px);")}),(function(e){var t=e.maxWidth;return t?"calc(".concat(t,"px + 128px);"):"1520px"}))}});
!function(e){function t(t){for(var r,i,c=t[0],l=t[1],d=t[2],u=0,p=[];u<c.length;u++)i=c[u],Object.prototype.hasOwnProperty.call(a,i)&&a[i]&&p.push(a[i][0]),a[i]=0;for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(e[r]=l[r]);for(s&&s(t);p.length;)p.shift()();return o.push.apply(o,d||[]),n()}function n(){for(var e,t=0;t<o.length;t++){for(var n=o[t],r=!0,c=1;c<n.length;c++){var l=n[c];0!==a[l]&&(r=!1)}r&&(o.splice(t--,1),e=i(i.s=n[0]))}return e}var r={},a={13:0},o=[];function i(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=e,i.c=r,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/";var c=this["webpackJsonpgw-group-web-components"]=this["webpackJsonpgw-group-web-components"]||[],l=c.push.bind(c);c.push=t,c=c.slice();for(var d=0;d<c.length;d++)t(c[d]);var s=l;o.push([149,0]),n()}({0:function(e,t){e.exports=React},10:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(14),a=n(0),o=n.n(a),i=n(2),c=n(1);function l(){var e=Object(i.a)(["\n background-color: var(--button-contrast-hover-background);\n border-color: var(--button-contrast-hover-border);\n color: var(--button-contrast-hover-text);\n "]);return l=function(){return e},e}function d(){var e=Object(i.a)(["\n background-color: var(--button-secondary-hover-background);\n border-color: var(--button-secondary-hover-border);\n color: var(--button-secondary-hover-text);\n "]);return d=function(){return e},e}function s(){var e=Object(i.a)(["\n background-color: var(--button-primary-hover-background);\n border-color: var(--button-primary-hover-border);\n color: var(--button-primary-hover-text);\n "]);return s=function(){return e},e}function u(){var e=Object(i.a)(["\n background-color: var(--button-contrast-background);\n border-color: var(--button-contrast-border);\n color: var(--button-contrast-text);\n "]);return u=function(){return e},e}function p(){var e=Object(i.a)(["\n background-color: var(--button-secondary-background);\n border-color: var(--button-secondary-border);\n color: var(--button-secondary-text);\n "]);return p=function(){return e},e}function m(){var e=Object(i.a)(["\n background-color: var(--button-primary-background);\n border-color: var(--button-primary-border);\n color: var(--button-primary-text);\n "]);return m=function(){return e},e}var f=c.default.div.withConfig({displayName:"styles__View",componentId:"qw1dis-0"})([""]),b=c.default.button.withConfig({displayName:"styles__Button",componentId:"qw1dis-1"})(["outline:none;border:0;margin:0;display:inline-block;transition:ease-in-out 0.2s;border:2px solid;border-radius:var(--border-radius);font-family:var(--font-family-body);font-weight:var(--font-weight-semi-bold);padding:var(--button-size-small);font-size:var(--button-font-size);border-color:var(--button-border);color:var(--button-text);"," "," "," &:disabled{background-color:var(--button-disabled-background);border-color:var(--button-disabled-border);color:var(--button-disabled-text);cursor:default;pointer-events:none;}&:hover,&:target{text-decoration:underline;background-color:var(--button-hover-background);border-color:var(--button-hover-border);color:var(--button-hover-text);cursor:pointer;"," "," ","}@media only screen and (min-width:767px){padding:var(--button-size-large);}"],(function(e){return"primary"===e.classStyle&&Object(c.css)(m())}),(function(e){return"secondary"===e.classStyle&&Object(c.css)(p())}),(function(e){return"contrast"===e.classStyle&&Object(c.css)(u())}),(function(e){return"primary"===e.classStyle&&Object(c.css)(s())}),(function(e){return"secondary"===e.classStyle&&Object(c.css)(d())}),(function(e){return"contrast"===e.classStyle&&Object(c.css)(l())})),g=function(e){var t=e.label,n=void 0===t?"label":t,a=e.classStyle,i=void 0===a?"default":a,c=e.link,l=void 0!==c&&c,d=e.disabled,s=void 0!==d&&d,u=e.linkHref,p=e.target,m=void 0===p?"_self":p,g=e.downloadLink,h=void 0!==g&&g,v=Object(r.a)(e,["label","classStyle","link","disabled","linkHref","target","downloadLink"]);return o.a.createElement(f,null,o.a.createElement("div",{className:"button aem-ie__cta"},l?o.a.createElement("a",{href:u,download:h,target:m},o.a.createElement(b,Object.assign({disabled:s,classStyle:"".concat(i)},v),o.a.createElement("span",null,n))):o.a.createElement(b,Object.assign({disabled:s,classStyle:i},v),o.a.createElement("span",null,n))))}},12:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(3),a=n(14),o=n(0),i=n.n(o),c=n(2),l=n(1);function d(){var e=Object(c.a)(["\n "," 0.8s ease-out;\n "]);return d=function(){return e},e}function s(){var e=Object(c.a)(["\n 0% { filter: blur(10px); transform: scale(1.1)}\n 80% { filter: blur(1px); }\n 100% { filter: blur(0px); transform: scale(1.00)}\n"]);return s=function(){return e},e}var u=l.default.div.withConfig({displayName:"styles__ImageWrapper",componentId:"sc-175nep1-0"})(["position:relative;overflow:hidden;"]),p=Object(l.keyframes)(s()),m=l.default.img.withConfig({displayName:"styles__Image",componentId:"sc-175nep1-1"})(["display:flex;max-width:100%;object-fit:cover;width:100%;filter:",";transform:",";animation:",";"],(function(e){return e.blur?"blur(20px);":""}),(function(e){return e.blur?"scale(1.1);":"scale(1)"}),(function(e){var t=e.blur,n=e.cacheHit,r=e.showProgressiveImage;return n||!r||t?"":Object(l.css)(d(),p)})),f=l.default.div.withConfig({displayName:"styles__Label",componentId:"sc-175nep1-2"})(["position:absolute;top:1rem;left:1rem;padding:0.5rem 1rem;font-size:16px;line-height:24px;border-radius:var(--border-radius);background-color:rgba(26,26,26,0.8);backdrop-filter:blur(10px);color:#fff;z-index:1;p{font-weight:var(--font-weight-semi-bold);}span{font-weight:var(--font-weight-regular);}&.bottomRight{text-align:right;top:unset;left:unset;bottom:1rem;right:1rem;}&.bottomLeft{top:unset;left:unset;bottom:1rem;left:1rem;}&.topLeft{top:1rem;left:1rem;}&.topRight{right:1rem;left:unset;text-align:right;}a{text-decoration:none;color:#fff;}p{margin:0;}"]),b=function(e,t){var n=Object(o.useState)(""),a=Object(r.a)(n,2),i=a[0],c=a[1],l=Object(o.useState)(!1),d=Object(r.a)(l,2),s=d[0],u=d[1];return Object(o.useEffect)((function(){var n=new Image;if(n.src=t,n.complete)return c(t),void u(!0);c(e),n.onload=function(){return c(t)}}),[e,t]),[i,s]},g=function(e){var t=e.caption,n=e.metaContent,c=e.link,l=e.alt,d=e.style,s=void 0===d?"":d,p=e.image,g=e.tinyImageSrc,h=void 0===g?"":g,v=e.imageLabel,x=e.className,w=void 0===x?"":x,y=Object(a.a)(e,["caption","metaContent","link","alt","style","image","tinyImageSrc","imageLabel","className"]),k=h,j=p,O=b(k,j),E=Object(r.a)(O,2),_=E[0],C=E[1],L=Object(o.useState)(!1),S=Object(r.a)(L,2),N=S[0],I=S[1],z=_===k||!N,A=!0;k&&!C||(z=!1),k||(A=!1);var P=_?i.a.createElement(m,{src:_,alt:l,blur:z,cacheHit:C,showProgressiveImage:A,onLoad:function(){return _===j?I(!0):null}}):null;return _?i.a.createElement(u,Object.assign({},y,{className:"".concat(s," ").concat(w)}),v&&v.title&&!1!==v.visible&&i.a.createElement(f,{className:v.position},i.a.createElement("a",{href:v.url},v.title&&i.a.createElement("p",null,v.title),v.text&&i.a.createElement("span",null,v.text))),c?i.a.createElement("a",{href:c},P):P,n&&i.a.createElement("meta",{itemProp:"caption",content:n}),t&&i.a.createElement("span",{className:"cmp-image__title"},t)):null}},122:function(e,t,n){"use strict";n.r(t);var r=n(16),a=n(44);t.default=r.a.create({component:a.a,configuration:{tagname:"gw-group-job-openings-grid",useShadow:!1},plugins:[]})},15:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),a=n.n(r),o=function(e){var t=null;switch(e.icon){case"externalLink.svg":t=a.a.createElement("svg",{className:"externalLink.svg",width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.a.createElement("path",{d:"M13 8.90237V13.2176C13 13.8679 12.4706 14.3999 11.8235 14.3999H2.17647C1.52941 14.3999 1 13.8679 1 13.2176V3.58217C1 2.93192 1.52941 2.3999 2.17647 2.3999H5.70588",stroke:"black",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round"}),a.a.createElement("path",{d:"M14 1L6.82141 8.17857",stroke:"black",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round"}),a.a.createElement("path",{d:"M14 1H8.6759",stroke:"black",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round"}),a.a.createElement("path",{d:"M14 1V6.32411",stroke:"black",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round"}));break;case"cross.svg":t=a.a.createElement("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.a.createElement("path",{d:"M8.75 1.125L1 8.875",stroke:"#1A1A1A",strokeWidth:"1.62",strokeLinecap:"round",strokeLinejoin:"round"}),a.a.createElement("path",{d:"M1 1.125L8.75 8.875",stroke:"#1A1A1A",strokeWidth:"1.62",strokeLinecap:"round",strokeLinejoin:"round"}));break;case"arrow.svg":t=a.a.createElement("svg",{width:"13",height:"56",viewBox:"0 0 13 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.a.createElement("path",{d:"M2 2L10 10L2 18",stroke:"white",strokeWidth:"3"}));break;default:t=a.a.createElement("svg",{className:"applicationLink__content__icon",width:"16",height:"24",viewBox:"0 0 16 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.a.createElement("path",{d:"M8.08163 20L16 12L8.08163 4L6.4 5.69072L11.4367 10.7711H0V13.2289H11.4367L6.4 18.3175L8.08163 20Z",fill:"#1A1A1A"}))}return t}},18:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n(0),a=n.n(r),o=n(6),i=n(12),c=n(20),l=n(5),d=n(2),s=n(1);function u(){var e=Object(d.a)(["\n background-color: var(--card-primary-background) !important;\n p, h4, h5, h3, a, li, div {\n color: var(--card-primary-text-color);\n }\n\n img {\n border-color: var(--card-primary-background) !important;\n }\n\n svg path {\n fill: var(--card-primary-text-color)\n }\n "]);return u=function(){return e},e}var p=s.default.article.withConfig({displayName:"styles__View",componentId:"qdv3hi-0"})(["background-color:var(--card-default-background);color:var(--card-default-text-color);position:relative;border-radius:var(--border-radius);padding-bottom:calc(16px + 54px + 8px);min-height:",";@media only screen and (min-width:480px){padding-bottom:calc(24px + 54px + 8px);}img{max-width:100%;width:100%;border:8px solid var(--card-default-background);display:flex;margin-bottom:-0.5rem;border-radius:4px;}h4,h5{color:var(--grey);}p{margin:0;margin-top:var(--spacing-mini-2);font-size:var(--font-size-2);line-height:var(--line-height-size-2);}li{font-size:var(--font-size-2);line-height:var(--line-height-size-2);}",";"],(function(e){return e.hasImage?"444px":"368px"}),(function(e){return"primary"===e.cardType&&Object(s.css)(u())})),m=s.default.div.withConfig({displayName:"styles__CardLink",componentId:"qdv3hi-1"})(["position:absolute;left:var(--spacing-small);bottom:var(--spacing-mini-2);@media only screen and (min-width:480px){left:var(--spacing-small-1);}"]),f=s.default.div.withConfig({displayName:"styles__CardContent",componentId:"qdv3hi-2"})(["padding:var(--spacing-small) var(--spacing-small) 0 var(--spacing-small);@media only screen and (min-width:480px){padding:var(--spacing-small-1) var(--spacing-small-1) 0 var(--spacing-small-1);}"]),b=function(e){var t=e.image,n=void 0!==t&&t,r=e.title,d=e.html,s=e.ctaLabel,u=e.ctaUrl,b=e.type,g=void 0===b?"default":b,h=n?5:10,v=n?3:5,x="primary"===g?"h4":"h5";return 0===[r,d,s,u].filter((function(e){return e})).length?null:a.a.createElement(p,{theme:"light-theme",hasImage:n,cardType:g,className:"card"},n&&a.a.createElement(i.a,{link:u,image:n.toString(),alt:r}),a.a.createElement(f,null,r&&a.a.createElement(o.a,{rowLimit:v,link:u,text:r,size:x}),d&&a.a.createElement(l.a,{html:d,rowLimit:h})),s&&u&&a.a.createElement(m,null,a.a.createElement(c.a,{ctaLabel:s,ctaUrl:u})))}},20:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(0),a=n.n(r),o=n(1).default.a.withConfig({displayName:"styles__View",componentId:"sc-1hnonzt-0"})(["text-decoration:none;min-height:54px;color:var(--grey);display:flex;align-items:center;font-size:var(--font-size-2);font-family:var(--font-family-body);font-weight:var(--font-weight-semi-bold);span{padding-right:10px;}svg{transition:ease-in-out 0.2s;}&:hover{text-decoration:underline;text-decoration-thickness:var(--text-decoration-thickness);}"]),i=n(15),c=function(e){var t=e.ctaLabel,n=e.ctaUrl,r=e.target,c=void 0===r?"_self":r,l=e.hasIcon,d=void 0===l||l,s=e.icon,u=void 0===s?null:s,p=u||a.a.createElement(i.a,null);return p=d?p:null,a.a.createElement(o,{href:n,target:c},a.a.createElement("span",null,t),p)}},22:function(e,t){e.exports=ReactDOM},31:function(e,t,n){"use strict";var r=n(3),a=n(0),o=n.n(a),i=n(1),c=i.default.div.withConfig({displayName:"styles__View",componentId:"sc-1fc4is4-0"})(["color:var(--dropdown-checkbox-color);background-color:var(--dropdown-checkbox-background);display:block;text-decoration:none;padding:0.5rem;border-top:var(--dropdown-checkbox-border-color);padding:0 2rem;border-top:1px solid var(--border-color);border-right:1px solid var(--border-color);&:hover{background-color:var(--dropdown-checkbox-background-hover);cursor:pointer;span{text-decoration:underline;}}.label{display:block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:1rem 0;input{position:absolute;opacity:0;cursor:pointer;height:0;width:0;&:checked ~ span:after{display:block;}&:checked ~ span{font-family:var(--font-family-body);font-weight:var(--font-weight-semi-bold);}}}"]),l=i.default.span.withConfig({displayName:"styles__State",componentId:"sc-1fc4is4-1"})(["padding-left:var(--spacing-small);"]),d=i.default.span.withConfig({displayName:"styles__Checkmark",componentId:"sc-1fc4is4-2"})(['position:absolute;top:50%;transform:translateY(-50%);right:0;height:25px;width:25px;background-color:var(--grey-10);border-radius:var(--border-radius);&:after{content:"";position:absolute;display:none;right:8px;top:4px;width:7px;height:14px;border:1px solid var(--grey);border-width:0 2px 2px 0;-webkit-transform:rotate(40deg);-ms-transform:rotate(40deg);transform:rotate(40deg);}']),s=i.default.span.withConfig({displayName:"styles__LabelText",componentId:"sc-1fc4is4-3"})(["max-width:calc(100% - 64px);display:block;"]),u=function(e){var t=e.value,n=e.handleCheckbox,r=e.category,a=e.isChecked,i=void 0!==a&&a;return o.a.createElement(c,null,o.a.createElement("label",{className:"label"},o.a.createElement("input",{checked:i,readOnly:!0,type:"checkbox",onClick:function(e){return n&&n(t,e)},"data-category":r}),o.a.createElement(d,{className:"checkmark"}),o.a.createElement(s,null,t.includes("reset")?"All":function(e){if(e.includes(",")){var t=e.split(",");return o.a.createElement(l,null,t[1])}return e}(t))))},p=n(2);function m(){var e=Object(p.a)(["\n display: flex;\n flex-direction: column;\n "]);return m=function(){return e},e}var f=i.default.div.withConfig({displayName:"styles__Dropdown",componentId:"sc-1vtlm2l-0"})(['position:relative;font-size:var(--font-size-2);&::before{content:"";opacity:0;display:block;height:100%;width:100%;position:absolute;top:0;left:0;box-shadow:0 100px 80px rgba(26,26,26,0.0168687),0 41.7776px 33.4221px rgba(26,26,26,0.0242336),0 22.3363px 17.869px rgba(26,26,26,0.03),0 12.5216px 10.0172px rgba(26,26,26,0.0357664),0 6.6501px 5.32008px rgba(26,26,26,0.0431313),0 2.76726px 2.21381px rgba(26,26,26,0.06);}margin-top:1rem;button{height:56px;font-weight:var(--font-weight-semi-bold);background-color:var(--dropdown-background-light);color:var(--dropdown-color);position:relative;outline:none;border:0;margin:0;padding:0.8rem 1rem;padding-right:calc(1.6rem + 0.5rem);border-radius:var(--border-radius);width:100%;text-align:left;min-width:320px;cursor:pointer;&::before{content:"";position:absolute;width:5px;height:5px;right:20px;top:calc(50% - 3px);transform:rotate(45deg);border-right:2px solid #000;border-bottom:2px solid #000;border-radius:1px;transition:ease-in-out 0.2s;}}']),b=i.default.div.withConfig({displayName:"styles__Menu",componentId:"sc-1vtlm2l-1"})(["border-radius:0 0 4px 4px;max-height:330px;position:absolute;overflow-y:scroll;width:100%;min-width:100%;display:none;z-index:1;box-shadow:0 100px 80px rgba(26,26,26,0.0168687),0 41.7776px 33.4221px rgba(26,26,26,0.0242336),0 22.3363px 17.869px rgba(26,26,26,0.03),0 12.5216px 10.0172px rgba(26,26,26,0.0357664),0 6.6501px 5.32008px rgba(26,26,26,0.0431313),0 2.76726px 2.21381px rgba(26,26,26,0.06);"]),g=i.default.div.withConfig({displayName:"styles__View",componentId:"sc-1vtlm2l-2"})(["","{","}"],b,(function(e){return e.isHidden&&Object(i.css)(m())})),h=function(e){var t=e.text,n=e.items,i=e.selectedLength,c=e.addCheckBoxValueToState,l=e.category,d=e.removeCheckBoxValueFromState,s=e.filterOptions,p=Object(a.useState)(!1),m=Object(r.a)(p,2),h=m[0],v=m[1],x=Object(a.useRef)(),w=Object(a.useRef)();Object(a.useEffect)((function(){var e=function(e){var t=e.target;x.current&&!x.current.contains(t)&&v(!1),x.current&&t===w.current&&v(!h)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}}),[h,x,w]);var y=function(e,t){var n=t.target,r=n&&n.dataset.category;r.includes("reset")||n.checked?c(r,e):d(r,e)};return o.a.createElement(g,{isHidden:h,ref:x},o.a.createElement(f,{className:"dropdown"},o.a.createElement("button",{ref:w,type:"button","aria-haspopup":"true","aria-expanded":"false","data-toggle":"dropdown",role:"menu"},t,i?" (".concat(i,") "):""),o.a.createElement(b,null,o.a.createElement(u,{handleCheckbox:y,category:"".concat(l,"-reset"),filterOptions:s,value:"All",isChecked:!s||s.length<1}),n.map((function(e,t){return o.a.createElement(u,{handleCheckbox:y,key:"".concat(l,"-").concat(t),category:l,filterOptions:s,value:e,isChecked:s.includes(e)})})))))},v=i.default.div.withConfig({displayName:"styles__View",componentId:"xyavmn-0"})(["width:100%;@media only screen and (min-width:480px){max-width:320px;}"]),x=i.default.div.withConfig({displayName:"styles__Dropdown",componentId:"xyavmn-1"})(['position:relative;font-size:var(--font-size-2);button{height:56px;background-color:var(--dropdown-background-white);color:var(--dropdown-color);position:relative;outline:none;border:0;margin:0;padding:0.8rem 1rem;padding-right:calc(1.6rem + 0.5rem);border-radius:var(--border-radius);width:100%;text-align:left;min-width:260px;cursor:pointer;&.main-order{font-family:var(--font-family-body);font-weight:var(--font-weight-semi-bold);background-color:var(--dropdown-background-light);}&.main-order::before{content:"";position:absolute;width:5px;height:5px;right:20px;top:calc(50% - 3px);transform:rotate(45deg);border-right:2px solid #000;border-bottom:2px solid #000;border-radius:1px;transition:ease-in-out 0.2s;}}']),w=i.default.div.withConfig({displayName:"styles__Menu",componentId:"xyavmn-2"})(["",";border-radius:0 0 4px 4px;max-height:330px;position:absolute;overflow-y:scroll;width:100%;min-width:260px;z-index:1;box-shadow:0 100px 80px rgba(26,26,26,0.0168687),0 41.7776px 33.4221px rgba(26,26,26,0.0242336),0 22.3363px 17.869px rgba(26,26,26,0.03),0 12.5216px 10.0172px rgba(26,26,26,0.0357664),0 6.6501px 5.32008px rgba(26,26,26,0.0431313),0 2.76726px 2.21381px rgba(26,26,26,0.06);button{border-top:1px solid var(--dropdown-checkbox-border-color);min-height:56px;border-radius:0;&:hover{background-color:var(--grey-5) !important;cursor:pointer;}}"],(function(e){return e.isHidden?"display: block":"display: none"})),y=i.default.div.withConfig({displayName:"styles__Dot",componentId:"xyavmn-3"})(["width:20px;position:absolute;height:20px;background-color:var(--grey);border:4px solid var(--grey-10);border-radius:50%;right:1rem;top:50%;transform:translateY(-50%);"]),k=function(e){var t=e.SortAllPosts,n=Object(a.useState)("Sort by"),i=Object(r.a)(n,2),c=i[0],l=i[1],d=Object(a.useState)(!1),s=Object(r.a)(d,2),u=s[0],p=s[1],m=Object(a.useRef)(),f=Object(a.useRef)(),b=function(e){var n=e.target.dataset.order,r=e.target.dataset.label;p(!1),t(n),l(r)};return Object(a.useEffect)((function(){var e=function(e){var t=e.target;m.current&&!m.current.contains(t)&&p(!1),m.current&&t===f.current&&p(!u)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}}),[u,f,m]),o.a.createElement(v,{ref:m},o.a.createElement(x,{className:"dropdown"},o.a.createElement("button",{ref:f,className:"main-order",type:"button","aria-haspopup":"true","aria-expanded":"false","data-toggle":"dropdown",role:"menu"},c),o.a.createElement(w,{isHidden:u},[{order:"ASC",label:"Newest first"},{order:"DESC",label:"Oldest first"},{order:"AZ",label:"A-Z"},{order:"ZA",label:"Z-A"}].map((function(e){return o.a.createElement("button",{key:e.order,onClick:b,"data-order":e.order,"data-label":e.label},e.label," ",c===e.label&&o.a.createElement(y,null))})))))},j=n(15),O=i.default.ul.withConfig({displayName:"styles__Chips",componentId:"sc-1azmgqn-0"})(["display:flex;list-style:none;gap:16px;padding:0;margin:0;& li{display:flex;background-color:var(--grey-20);height:40px;border-radius:var(--border-radius);align-items:center;justify-content:space-between;padding:0 8px 0 16px;font-weight:var(--font-weight-semi-bold);.label{padding-right:8px;}button{background:transparent;border:none;outline:none;padding:0 8px;cursor:pointer;}}"]),E=Object(i.default)(j.a).withConfig({displayName:"styles__Icon",componentId:"sc-1azmgqn-1"})(["height:8px;width:8px;"]),_=i.default.section.withConfig({displayName:"styles__View",componentId:"q0p35v-0"})(["margin-bottom:var(--spacing-large);.assa-dropdown-list{display:flex;}&.disable{pointer-events:none;}@media only screen and (min-width:1024px){padding-top:var(--spacing-large);}"]),C=i.default.div.withConfig({displayName:"styles__Filter",componentId:"q0p35v-1"})(["display:flex;flex-direction:column;@media only screen and (min-width:1124px){flex-direction:row;& > div{margin-right:1rem;}}"]),L=i.default.div.withConfig({displayName:"styles__Order",componentId:"q0p35v-2"})(["display:flex;flex-direction:column-reverse;justify-content:space-between;align-items:flex-end;padding-bottom:var(--spacing-small-1);@media only screen and (min-width:480px){flex-direction:row;}@media only screen and (min-width:1024px){flex-direction:row;}"]),S=Object(i.default)((function(e){var t=function(t){var n=t.currentTarget;e.onClickDelete(n.dataset.id)};return o.a.createElement(O,{className:"Chips ".concat(e.className)},e.chips.map((function(e){return o.a.createElement("li",{key:e.id},o.a.createElement("div",{className:"label"},e.label),o.a.createElement("button",{"data-id":e.id,onClick:t,"aria-label":"Delete ".concat(e.label)},o.a.createElement(E,{icon:"cross.svg"})))})))})).withConfig({displayName:"styles__Chips",componentId:"q0p35v-3"})(["flex-wrap:wrap;justify-content:left;min-height:40px;"]),N=i.default.div.withConfig({displayName:"styles__Divider",componentId:"q0p35v-4"})(["height:1px;width:100%;background-color:var(--divider-color);margin-top:var(--spacing-small);margin-bottom:var(--spacing-small);@media only screen and (min-width:1024px){margin-top:var(--spacing-medium-1);margin-bottom:var(--spacing-medium-1);}"]),I=i.default.div.withConfig({displayName:"styles__NumberofResults",componentId:"q0p35v-5"})(["color:var(--grey-80);opacity:0.5;padding-top:var(--spacing-small);@media only screen and (min-width:480px){padding-top:0;}"]);t.a=function(e){var t=e.filterOptions,n=e.addCheckBoxValueToState,a=e.removeCheckBoxValueFromState,i=e.SortAllPosts,c=e.numberOfResults,l=e.dropdownValues,d=e.chipsCategories,s=void 0===d?[]:d,u=Object.keys(t).filter((function(e){return s.includes(e)})).map((function(e){return t[e].map((function(t){var n=t.includes(", ")?t.split(", ")[1]:t;return{id:e+"-"+t,label:n}}))})).reduce((function(e,t){return e.concat(t)}),[]);return o.a.createElement(_,{className:"".concat(l?"":"disable")},o.a.createElement(C,null,l.map((function(e,r){return o.a.createElement(h,{key:r,category:e.name,text:e.label,selectedLength:t[e.name].length,items:e.options,removeCheckBoxValueFromState:a,addCheckBoxValueToState:n,filterOptions:t[e.name]})}))),o.a.createElement(N,null),o.a.createElement(L,null,o.a.createElement(I,null,c," results"),o.a.createElement(k,{SortAllPosts:i})),o.a.createElement(S,{chips:u,onClickDelete:function(e){if(e){var t=e.split(/-(.*)/,2),n=Object(r.a)(t,2),o=n[0],i=n[1];a(o,i)}}}))}},32:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(0),a=n.n(r),o=n(3),i=n(1),c=i.default.div.withConfig({displayName:"styles__View",componentId:"sc-1j0pi4r-0"})(["margin:var(--spacing-medium-1) 0;display:flex;flex-direction:column;align-items:center;"]),l=i.default.div.withConfig({displayName:"styles__Bar",componentId:"sc-1j0pi4r-1"})(["background-color:var(--progress-bar-background);width:100%;max-width:380px;height:8px;margin-top:8px;"]),d=i.default.div.withConfig({displayName:"styles__Head",componentId:"sc-1j0pi4r-2"})(["color:var(--progress-bar-text-color);"]),s=i.default.div.withConfig({displayName:"styles__Indicator",componentId:"sc-1j0pi4r-3"})(["height:100%;width:",";background-color:var(--progress-bar-indicator);transition:ease-in-out 0.3s;"],(function(e){var t=e.width;return"".concat(t,"%")})),u=function(e){var t=e.current,n=e.max,i=Object(r.useState)(0),u=Object(o.a)(i,2),p=u[0],m=u[1],f=Object(r.useState)(t),b=Object(o.a)(f,2),g=b[0],h=b[1];return Object(r.useEffect)((function(){var e=t/n*100;t>=n?(h(n),m(100)):(m(e),h(t))}),[t,n]),a.a.createElement(c,null,a.a.createElement(d,null,a.a.createElement("span",null,"Showing ",g," of ",n)),a.a.createElement(l,null,a.a.createElement(s,{width:p})))},p=n(10),m=i.default.section.withConfig({displayName:"styles__View",componentId:"u7lljv-0"})(["padding:3rem 0 3rem 0;& .button{display:flex;justify-content:center;}"]),f=function(e){var t=e.postsPerPage,n=e.totalPosts,r=e.loadMore,o=e.loadMorePosts,i=e.amount,c=e.cta;return a.a.createElement(m,null,0!==n&&a.a.createElement(u,{current:t,max:n}),n>i&&o?a.a.createElement(p.a,{onClick:function(){return r(i)},label:c,classStyle:"primary"}):a.a.createElement(p.a,{label:"Nothing more to show",disabled:!0}))}},4:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"i",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"e",(function(){return d})),n.d(t,"h",(function(){return s})),n.d(t,"b",(function(){return u})),n.d(t,"d",(function(){return p}));var r=n(3),a=function(e){return JSON.parse(decodeURIComponent(escape(atob(e))))},o=function(e){return btoa(unescape(encodeURIComponent(e)))},i=function(e){return e.replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">")},c=function(e){return e.sort((function(e,t){return e.created>t.created?-1:e.created<t.created?1:0}))},l=function(e){return e.sort((function(e,t){return e.created<t.created?-1:e.created>t.created?1:0}))},d=function(e){return e.sort((function(e,t){return e.title<t.title?-1:e.title>t.title?1:0}))},s=function(e){return e.sort((function(e,t){return e.title>t.title?-1:e.title<t.title?1:0}))};function u(e,t){var n,r=arguments,a=this;return function(o){clearTimeout(n),n=setTimeout((function(t){n=null,e.apply(a,r)}),t)}}var p=function(e,t){if(!t.length)return e;var n=Object(r.a)(t,1)[0];return/^\d+$/.test(e)?"".concat(e).concat(n):"string"===typeof e&&t.some((function(t){return e.endsWith(t)}))?e:"string"===typeof e&&"".concat(e.trim().replace(/\D/g,"")||"0").concat(n)}},44:function(e,t,n){"use strict";var r=n(21),a=n.n(r),o=n(34),i=n(11),c=n(13),l=n(3),d=n(0),s=n.n(d),u=n(8),p=n(7),m=n(32),f=n(31),b=n(18),g=n(4),h=n(1),v=h.default.section.withConfig({displayName:"styles__View",componentId:"sc-1ysmpnk-0"})(["display:grid;grid-gap:1rem;max-width:100%;margin:0 auto;justify-content:center;position:relative;grid-template-columns:1fr;box-sizing:border-box;@media only screen and (min-width:768px){grid-template-columns:repeat(auto-fill,calc(50% - 0.5rem));}@media only screen and (min-width:1200px){grid-template-columns:repeat(auto-fill,calc(33% - 0.5rem));}@media only screen and (min-width:1520px){grid-template-columns:repeat(auto-fill,calc(25% - 0.78rem));}"]),x=function(e){var t=e.locations.map((function(e){return"".concat(e.city,", ").concat((t=e.state,t?"".concat(t,", "):"")," ").concat(e.country);var t})).join(", ");return"\n <p><strong>".concat(t,"</strong><br>\n Application due ").concat(e.applicationDueDate.slice(0,10),"</p>\n <ul>\n <li>").concat(Object(g.c)(e.jobFunction.category),"</li>\n <li>").concat(e.experienceLevel.name,"</li>\n </ul>\n ")},w=function(e){var t=e.posts;return s.a.createElement(v,null,t.map((function(e,t){return s.a.createElement(b.a,{key:t,title:Object(g.c)(e.title),html:x(e),ctaUrl:e.applicationUrl,ctaLabel:"Read more"})})))},y=n(23),k={background:"var(--section-background-alt-1)",card:{background:"var(--card-light-background)",color:"var(--card-light-text-color)"},dropdown:{background:"var(--dropdown-background-light)",backgroundHover:"var(--dropdown-background-white)"}},j={background:"var(--section-background-alt-2)",card:{background:"var(--card-default-background)",color:"var(--card-default-text-color)"},dropdown:{background:"var(--dropdown-background-white)",backgroundHover:"var(--dropdown-background-light)"}},O=h.default.article.withConfig({displayName:"styles__View",componentId:"sc-1a7ksxu-0"})(["display:flex;flex-direction:column;background-color:",";.card{background-color:",";}.dropdown button{background-color:",";}.main-order{background-color:",";}.main-order + div > *{background-color:var(--dropdown-background-white);}"],(function(e){return e.theme.background}),(function(e){return e.theme.card.background}),(function(e){var t=e.theme;return"".concat(t.dropdown.background)}),(function(e){var t=e.theme;return"".concat(t.dropdown.background)})),E=function(e){var t=Object(d.useState)(!1),n=Object(l.a)(t,1)[0],r=Object(d.useState)(!0),b=Object(l.a)(r,2),h=b[0],v=b[1],x=Object(d.useState)(10),E=Object(l.a)(x,1)[0],_=Object(d.useState)(1),C=Object(l.a)(_,1)[0],L=Object(d.useState)(12),S=Object(l.a)(L,2),N=S[0],I=S[1],z=Object(d.useState)(g.f(g.a(e.content))),A=Object(l.a)(z,1)[0],P=Object(d.useState)(g.f(g.a(e.content))),V=Object(l.a)(P,2),M=V[0],T=V[1],R=Object(d.useState)([]),W=Object(l.a)(R,2),H=W[0],q=W[1],B=Object(d.useState)([]),D=Object(l.a)(B,2),F=D[0],U=D[1],Z=Object(d.useState)([]),J=Object(l.a)(Z,2),Y=J[0],$=J[1],G=Object(d.useState)({jobFunctions:[],locations:[],experienceLevels:[],order:"ASC"}),K=Object(l.a)(G,2),Q=K[0],X=K[1],ee=function(e){"AZ"===Q.order&&T(g.e(Object(i.a)(e))),"ZA"===Q.order&&T(g.h(Object(i.a)(e))),"ASC"===Q.order&&T(g.f(Object(i.a)(e))),"DESC"===Q.order&&T(g.g(Object(i.a)(e))),I(12)};Object(d.useEffect)((function(){"string"===typeof e.content&&ee(g.a(e.content)),q(function(e){var t=[];return e.length>0?(e.sort().forEach((function(e){e.locations.forEach((function(e){null!==e.state&&t.push("".concat(e.country,", ").concat(e.state)),t.push(e.country)}))})),Object(i.a)(new Set(t)).sort((function(e,t){return e.toLowerCase()<t.toLowerCase()?-1:e.toLowerCase()>t.toLowerCase()?1:0}))):[]}(Object(i.a)(M))),U(function(e){var t=[];return e.length>0?(e.sort().forEach((function(e){t.push(Object(g.c)(e.jobFunction.category))})),Object(i.a)(new Set(t.sort()))):[]}(Object(i.a)(M))),$(function(e){var t=[];return e.length>0?(e.sort((function(e,t){return e.experienceLevel.value<t.experienceLevel.value?-1:e.experienceLevel.value>t.experienceLevel.value?1:0})).forEach((function(e){0!==e.experienceLevel.value&&t.push(e.experienceLevel.name)})),Object(i.a)(new Set(t))):[]}(Object(i.a)(M))),window.innerWidth<1200&&I(8),window.innerWidth<600&&I(4)}),[]),Object(d.useLayoutEffect)((function(){ee(function(e,t){var n=e.locations,r=e.experienceLevels,a=e.jobFunctions;if(0===n.length&&0===a.length&&0===r.length)return t;var o=n.concat(a,r);return t.filter((function(e){for(var t=0;t<o.length;t++)for(var r=0;r<e.locations.length;r++){var a=o[t].split(", ")[1],i=o[t];if(e.locations[r].country===i||e.locations[r].state===a||0===n.length)return e}return!1})).filter((function(t){for(var n=0;n<o.length;n++)if(Object(g.c)(t.jobFunction.category)===o[n]||0===e.jobFunctions.length)return t;return!1})).filter((function(e){for(var t=0;t<o.length;t++)if(e.experienceLevel.name===o[t]||0===r.length)return e;return!1}))}(Q,A))}),[Q]);var te=function(){var e=Object(o.a)(a.a.mark((function e(t){var n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=window.scrollY,r=function(){return new Promise((function(e){I(N+t),N+t>=M.length?v(!1):v(!0),e()}))},e.next=4,r();case 4:window.scroll(0,n);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ne=C*N,re=ne-N,ae=M.slice(re,ne),oe=[{name:"jobFunctions",label:"Function",options:F},{name:"locations",label:"Location",options:H},{name:"experienceLevels",label:"Experience level",options:Y}];return s.a.createElement(p.a,{theme:function(e){switch(e){case"theme-alt-1":return k;case"theme-alt-2":return j;default:return k}}(e.theme)},s.a.createElement(O,null,s.a.createElement(u.a,null,s.a.createElement(f.a,{addCheckBoxValueToState:function(e,t){X(function(e,t,n){var r={};return Object.keys(e).forEach((function(a){if(t===a){var o=e[a];r=Object(c.a)(Object(c.a)({},e),{},Object(y.a)({},a,[].concat(Object(i.a)(o),[n])))}t==="".concat(a,"-reset")&&(r=Object(c.a)(Object(c.a)({},e),{},Object(y.a)({},a,[])))})),r}(Q,e,t))},removeCheckBoxValueFromState:function(e,t){X(function(e,t,n){var r={};return Object.keys(e).forEach((function(a){if(t===a){var o=e[t].filter((function(e){return e!==n}));r=Object(c.a)(Object(c.a)({},e),{},Object(y.a)({},a,o))}})),r}(Q,e,t))},dropdownValues:oe,SortAllPosts:function(e){X(Object(c.a)(Object(c.a)({},Q),{},{order:"".concat(e)}))},numberOfResults:M.length,filterOptions:Q,chipsCategories:["jobFunctions","locations","experienceLevels"]}),s.a.createElement(w,{postsPerPage:N,posts:ae,loading:n,loadMoreAmount:E}),s.a.createElement(m.a,{cta:"Show more jobs",amount:12,postsPerPage:N,totalPosts:M.length,currentPage:C,loadMore:te,loadMorePosts:h}))))};E.defaultProps={content:"",theme:""};t.a=E},5:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(0),a=n.n(r),o=n(19),i=n.n(o),c=n(2),l=n(1),d=Object(l.css)(['overflow:auto;width:100%;& table{background-color:transparent;width:100%;border-collapse:collapse;text-align:left;table-layout:fixed;tr:before,tr:after{content:"";display:table-cell;width:24px;border-top:1px solid transparent;}td,th{width:120px;height:56px;}& thead{padding-bottom:var(--spacing-small);line-height:var(--line-height-size-3);font-size:var(--font-size-3);font-weight:var(--font-weight-bold);& tr{margin:0 var(--spacing-small-1);td,th{padding:var(--spacing-small) 0;border-bottom:2px solid var(--grey-80);}}}& tbody{padding:var(--spacing-small-1) 0;line-height:var(--line-height-size-3);font-size:var(--font-size-3);& tr{td{border-top:1px solid var(--grey-20);border-bottom:1px solid var(--grey-20);padding:var(--spacing-small) 0;}&:hover{background-color:var(--white);box-shadow:0px 2px 2px 0px rgba(26,26,26,0.06),0px 8px 8px 0px rgba(26,26,26,0.04),0px 12px 12px 0px rgba(26,26,26,0.04),0px 24px 16px 0px rgba(26,26,26,0.03),0px 40px 32px 0px rgba(26,26,26,0.0242),0px 100px 80px 0px rgba(26,26,26,0.0169);&:before,:after{border-top-color:var(--grey-20);border-bottom-color:var(--grey-20);}}&:first-child{td{border-top:2px solid var(--grey-80);}&:hover{:before,:after{border-top:2px solid var(--grey-80);}}}&:last-child{td{border-bottom:2px solid var(--grey-80);}&:hover{:before,:after{border-bottom:2px solid var(--grey-80);}}}}}& tfoot{padding-bottom:var(--spacing-medium);line-height:var(--line-height-size-4);font-size:var(--font-size-4);font-weight:var(--font-weight-bold);td{padding:var(--spacing-small) 0;}}@media screen and (min-width:767px){th,td{width:120px;}}}']);function s(){var e=Object(c.a)(["\n display: -webkit-box;\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden !important;\n "]);return s=function(){return e},e}var u=l.default.div.withConfig({displayName:"styles__RichText",componentId:"sc-75belb-0"})(["& a{text-decoration:underline;font-weight:var(--font-weight-semi-bold);color:var(--grey);&:visited{color:var(--grey);}}& quote{font-size:var(--font-size-7);font-weight:var(--font-weight-light);font-style:italic;line-height:var(--line-height-size-7);}& ul,ol{padding-left:0;list-style-position:inside;}",";",""],(function(e){var t=e.rowLimit;return void 0!==t&&Object(l.css)(s(),t)}),d),p={FORBID_ATTR:["style","class","id","colspan","cellspacing","cellpadding","border","valign"],ALLOW_DATA_ATTR:!1},m=function(e){var t=e.html,n=e.rowLimit,r=e.className,o=i.a.sanitize(t,p);return a.a.createElement(u,{rowLimit:n,className:r,dangerouslySetInnerHTML:{__html:"<div>".concat(o,"</div>")}})};m.defaultProps={html:"",className:""}},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(0),a=n.n(r),o=n(2),i=n(1);function c(){var e=Object(o.a)(["\n display: -webkit-box;\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden;\n "]);return c=function(){return e},e}function l(){var e=Object(o.a)(["\n\na {\n color: inherit;\n text-decoration: none;\n\n &:hover {\n text-decoration: underline;\n text-decoration-thickness: var(--text-decoration-thickness);\n }\n}\n\n",";\n"]);return l=function(){return e},e}var d=i.default.div(l(),(function(e){var t=e.rowLimit;return void 0!==t&&Object(i.css)(c(),t)})),s=function(e){var t=e.text,n=e.link,r=void 0!==n&&n,o=e.size,i=e.className,c=e.rowLimit,l=a.a.createElement(o,{},t),s=a.a.createElement(o,{},a.a.createElement("a",{href:r},t));return a.a.createElement(d,{rowLimit:c,className:i},r?s:l)}},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),a=n.n(r),o=n(1),i=function(e){return a.a.createElement(o.ThemeProvider,{theme:e.theme},e.children)}},8:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(1),a=n(0),o=n.n(a),i=function(e){var t=e.children,n=e.maxWidth,r=void 0===n?1520:n,a=e.padding,i=void 0===a||a;return o.a.createElement(c,{maxWidth:r,padding:i},t)},c=r.default.div.withConfig({displayName:"Wrapper__View",componentId:"sc-1fa02qx-0"})(["box-sizing:border-box;width:100%;max-width:100%;margin:0 auto;padding:",";@media only screen and (min-width:767px){padding:",";max-width:",";}@media only screen and (min-width:1024px){padding:",";max-width:",";}@media only screen and (min-width:1648px){max-width:",";}"],(function(e){return e.padding?"0 24px;":0}),(function(e){return e?"0 32px;":0}),(function(e){var t=e.maxWidth;return t&&"calc(".concat(t,"px + 64px);")}),(function(e){return e?"0 64px;":0}),(function(e){var t=e.maxWidth;return t&&"calc(".concat(t,"px + 128px);")}),(function(e){var t=e.maxWidth;return t?"calc(".concat(t,"px + 128px);"):"1520px"}))}});
{
"name": "@assaabloy/gw-group-job-openings-grid",
"version": "1.0.1",
"version": "1.0.2",
"description": "Web component - Job Openings Grid",

@@ -17,3 +17,3 @@ "type": "module",

"license": "MIT",
"gitHead": "f49f2b4e7096259312d92701c5aacb28a7d9b360"
"gitHead": "1ac858c68e354834f0d3a679a9bde4eb10200a87"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc