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

@assaabloy/gw-group-press-releases-slider

Package Overview
Dependencies
Maintainers
9
Versions
355
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@assaabloy/gw-group-press-releases-slider - npm Package Compare versions

Comparing version 10.0.2 to 12.0.0

4

package.json
{
"name": "@assaabloy/gw-group-press-releases-slider",
"version": "10.0.2",
"version": "12.0.0",
"description": "Web component - Press Releases Slider",

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

"license": "MIT",
"gitHead": "7bd2db35259fda8dd62785ce768eea48bae9fe46"
"gitHead": "8bef9241ff8a656e3a654306ef6749df6a267784"
}

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

!function(e){function t(t){for(var r,o,l=t[0],c=t[1],s=t[2],u=0,m=[];u<l.length;u++)o=l[u],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&m.push(a[o][0]),a[o]=0;for(r in c)Object.prototype.hasOwnProperty.call(c,r)&&(e[r]=c[r]);for(d&&d(t);m.length;)m.shift()();return i.push.apply(i,s||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],r=!0,l=1;l<n.length;l++){var c=n[l];0!==a[c]&&(r=!1)}r&&(i.splice(t--,1),e=o(o.s=n[0]))}return e}var r={},a={16:0},i=[];function o(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,o),n.l=!0,n.exports}o.m=e,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/";var l=this["webpackJsonpgw-group-web-components"]=this["webpackJsonpgw-group-web-components"]||[],c=l.push.bind(l);l.push=t,l=l.slice();for(var s=0;s<l.length;s++)t(l[s]);var d=c;i.push([153,0]),n()}({0:function(e,t){e.exports=React},10:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(1),a=n(0),i=n.n(a),o=function(e){var t=e.className,n=e.children,r=e.maxWidth,a=void 0===r?1520:r,o=e.padding,c=void 0===o||o;return i.a.createElement(l,{className:t,maxWidth:a,padding:c},n)},l=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"}))},11:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(0),a=n.n(r),i=n(4),o=n(1);function l(){var e=Object(i.a)(["\n display: -webkit-box;\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden;\n "]);return l=function(){return e},e}var c=o.default.div.withConfig({displayName:"styles__View",componentId:"bg3c3f-0"})(["a{color:inherit;text-decoration:none;&:hover{text-decoration:underline;text-decoration-thickness:var(--text-decoration-thickness);}}",";"],(function(e){var t=e.rowLimit;return void 0!==t&&Object(o.css)(l(),t)})),s=function(e){var t=e.text,n=e.link,r=void 0!==n&&n,i=e.size,o=e.className,l=e.rowLimit,s=a.a.createElement(i,{},t),d=a.a.createElement(i,{},a.a.createElement("a",{href:r},t));return a.a.createElement(c,{rowLimit:l,className:o},r?d:s)}},12:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n(0),a=n.n(r),i=n(27),o=n.n(i),l=n(8),c=n(4),s=n(1),d=Object(s.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:',";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(e){return e.theme.table.hoverColor})),u=Object(s.css)(['& ul,ol{counter-reset:level1;list-style-position:inside;list-style-type:none;padding-left:0;margin-top:16px;margin-bottom:0;li{margin-left:16px;margin-bottom:8px;font-size:var(--font-size-3);line-height:var(--line-height-loose-size-3);&::before{font-weight:var(--font-weight-bold);margin-right:16px;content:counters(level1,"") ")";counter-increment:level1;}ul,ol{margin-top:8px;counter-reset:level2;li{margin-left:32px;&::before{content:counters(level2,"",lower-alpha) ")";counter-increment:level2;}ul,ol{li{margin-left:28px;&::before{content:counters(level2,"",lower-alpha) ")";}ul,ol{li{margin-left:48px;&::before{font-weight:var(--font-weight-regular);margin-right:8px;content:"-";}}}}}}}}}ul{li{::before{font-weight:var(--font-weight-regular);content:"\u25cf";}ul{li{::before{content:"\u25cb";}ul{li{::before{content:"-";}ul{li{::before{content:"-";}}}}}}}}}']),m=n(5);function p(){var e=Object(c.a)(["\n display: -webkit-box;\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden !important;\n "]);return p=function(){return e},e}var g={table:{hoverColor:"var(--grey-5)"}},f={table:{hoverColor:"var(--white)"}},h=s.default.div.withConfig({displayName:"styles__RichText",componentId:"qyp0wa-0"})(["& a{text-decoration:underline;font-weight:var(--font-weight-semi-bold);color:var(--grey);&:visited{color:var(--grey);}}& q,& blockquote{font-size:var(--font-size-7);font-weight:var(--font-weight-light);font-style:italic;line-height:var(--line-height-size-7);}& blockquote{font-family:var(--font-family-heading);font-style:italic;margin:24px;&::before{content:open-quote;}&::after{content:close-quote;}}@media only screen and ","{& blockquote{margin:32px;}}& h1,& h2,& h3,& h4,& h5{margin-bottom:var(--spacing-small);}",";"," ",""],m.b.mobileAndUp,(function(e){var t=e.rowLimit;return void 0!==t&&Object(s.css)(p(),t)}),d,u),v={FORBID_ATTR:["style","class","id","colspan","cellspacing","cellpadding","border","valign"],ALLOW_DATA_ATTR:!1},b=function(e){var t=e.theme,n=void 0===t?"":t,r=e.html,i=e.rowLimit,c=e.className,s=o.a.sanitize(r,v);return a.a.createElement(l.a,{theme:function(e){switch(e){case"theme-alt-1":return g;case"theme-alt-2":return f;default:return g}}(n)},a.a.createElement(h,{rowLimit:i,className:c,dangerouslySetInnerHTML:{__html:"<div>".concat(s,"</div>")}}))};b.defaultProps={theme:"",html:"",className:""}},127:function(e,t,n){"use strict";n.r(t);var r=n(24),a=n(66);t.default=r.a.create({component:a.a,configuration:{tagname:"gw-group-press-releases-slider",useShadow:!1},plugins:[]})},16:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(2),a=n(17),i=n(0),o=n.n(i),l=n(4),c=n(1);function s(){var e=Object(l.a)(["\n "," 0.8s ease-out;\n "]);return s=function(){return e},e}function d(){var e=Object(l.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 d=function(){return e},e}var u=c.default.div.withConfig({displayName:"styles__ImageWrapper",componentId:"sc-175nep1-0"})(["position:relative;overflow:hidden;"]),m=Object(c.keyframes)(d()),p=c.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(c.css)(s(),m)})),g=c.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;}"]),f=function(e,t){var n=Object(i.useState)(""),a=Object(r.a)(n,2),o=a[0],l=a[1],c=Object(i.useState)(!1),s=Object(r.a)(c,2),d=s[0],u=s[1];return Object(i.useEffect)((function(){var n=new Image;if(n.src=t,n.complete)return l(t),void u(!0);l(e),n.onload=function(){return l(t)}}),[e,t]),[o,d]},h=function(e){var t=e.caption,n=e.metaContent,l=e.link,c=e.alt,s=e.style,d=void 0===s?"":s,m=e.image,h=e.tinyImageSrc,v=void 0===h?"":h,b=e.imageLabel,w=e.className,x=void 0===w?"":w,y=Object(a.a)(e,["caption","metaContent","link","alt","style","image","tinyImageSrc","imageLabel","className"]),k=v,E=m,C=f(k,E),O=Object(r.a)(C,2),j=O[0],L=O[1],_=Object(i.useState)(!1),N=Object(r.a)(_,2),A=N[0],I=N[1],z=j===k||!A,M=!0;k&&!L||(z=!1),k||(M=!1);var U=j?o.a.createElement(p,{src:j,alt:c,blur:z,cacheHit:L,showProgressiveImage:M,onLoad:function(){return j===E?I(!0):null}}):null;return j?o.a.createElement(u,Object.assign({},y,{className:"".concat(d," ").concat(x)}),b&&b.title&&!1!==b.visible&&o.a.createElement(g,{className:b.position},o.a.createElement("a",{href:b.url},b.title&&o.a.createElement("p",null,b.title),b.text&&o.a.createElement("span",null,b.text))),l?o.a.createElement("a",{href:l},U):U,n&&o.a.createElement("meta",{itemProp:"caption",content:n}),t&&o.a.createElement("span",{className:"cmp-image__title"},t)):null}},18:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n(0),a=n.n(r),i=n(11),o=n(16),l=n(23),c=n(4),s=n(1),d=n(12),u=n(5);function m(){var e=Object(c.a)(["\n background-color: var(--card-primary-background) !important;\n\n & *,\n h4 {\n color: var(--card-primary-text-color);\n border-color: var(--card-primary-background) !important;\n }\n\n svg path {\n fill: var(--card-primary-text-color);\n }\n "]);return m=function(){return e},e}var p=s.default.article.withConfig({displayName:"styles__View",componentId:"qdv3hi-0"})(["display:flex;flex-direction:column;justify-content:space-between;background-color:var(--card-default-background);color:var(--card-default-text-color);border-radius:var(--border-radius);min-height:",";font-size:var(--font-size-2);line-height:var(--line-height-size-2);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);}",";"],(function(e){return e.hasImage?"444px":"368px"}),(function(e){return"primary"===e.variant&&Object(s.css)(m())})),g=s.default.div.withConfig({displayName:"styles__Link",componentId:"qdv3hi-1"})(["padding:var(--spacing-small);padding-top:var(--spacing-small-1);@media only screen and ","{padding:var(--spacing-small) var(--spacing-small-1);padding-top:var(--spacing-small-1);}"],u.b.mobileAndUp),f=s.default.div.withConfig({displayName:"styles__Content",componentId:"qdv3hi-2"})(["padding:var(--spacing-small) var(--spacing-small) 0 var(--spacing-small);@media only screen and ","{padding:var(--spacing-small-1) var(--spacing-small-1) 0 var(--spacing-small-1);}"],u.b.mobileAndUp),h=s.default.div.withConfig({displayName:"styles__Eyebrow",componentId:"qdv3hi-3"})(["display:flex;align-items:baseline;color:var(--grey);margin-bottom:var(--spacing-small-1);flex-wrap:wrap;span{font-weight:300;display:block;}"]),v=Object(s.default)(d.a).withConfig({displayName:"styles__RichText",componentId:"qdv3hi-4"})(["ul{li{font-size:var(--font-size-2);line-height:var(--line-height-size-2);margin-bottom:0;}}"]),b=function(e){var t=e.image,n=void 0!==t&&t,r=e.eyebrow,c=e.title,s=e.html,d=e.ctaLabel,u=e.ctaUrl,m=e.type,b=void 0===m?"default":m,w=n?5:10,x=n?3:5,y="primary"===b?"h4":"h5";return 0===[c,s,d,u].filter((function(e){return e})).length?null:a.a.createElement(p,{theme:"light-theme",hasImage:n,variant:b,className:"card"},a.a.createElement("div",null,n&&a.a.createElement(o.a,{link:u,image:n.toString(),alt:c}),a.a.createElement(f,null,r&&a.a.createElement(h,null,a.a.createElement("p",{className:"eyebrow"},r.category," ",a.a.createElement("span",null,r.type&&r.type))),c&&a.a.createElement(i.a,{rowLimit:x,link:u,text:c,size:y}),s&&a.a.createElement(v,{html:s,rowLimit:w}))),d&&u&&a.a.createElement(g,null,a.a.createElement(l.a,{ctaLabel:d,ctaUrl:u})))}},22:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(0),a=n.n(r),i=n(11),o=n(12),l=n(1).default.div.withConfig({displayName:"styles__Head",componentId:"sc-1sc6649-0"})(["display:grid;grid-row:1fr 1fr;grid-template-columns:repeat(12,1fr);margin-bottom:var(--spacing-small-1);p{margin:0;}> div:nth-child(1){grid-column:1 / 13;grid-row:1;margin-right:var(--spacing-medium-1);}> div:nth-child(2){grid-column:1 / 13;grid-row:2;margin:var(--spacing-small) 0 0 0;}@media only screen and (min-width:768px){margin-bottom:var(--spacing-medium);}@media only screen and (min-width:1024px){grid-gap:1rem;margin-bottom:var(--spacing-medium-1);> div:nth-child(1){grid-row:1;grid-column:",";margin-right:var(--spacing-medium-1);}> div:nth-child(2){grid-row:1;grid-column:7 / 13;margin:0;}}"],(function(e){return e.hasText?"1 / 7":"1 / 10"})),c=function(e){return e.title||e.text?a.a.createElement(l,{hasText:e.text},e.title&&a.a.createElement(i.a,{text:e.title,size:e.size||"h2"}),e.text&&a.a.createElement(o.a,{html:"<p>".concat(e.text,"</p>"),className:"body-medium aem-ie__text"})):null}},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(0),a=n.n(r),i=n(1).default.a.withConfig({displayName:"styles__View",componentId:"leqorv-0"})(["text-decoration:none;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);div{align-items:center;padding-right:1rem;span{padding-right:10px;margin:0;}}svg{transition:ease-in-out 0.2s;position:relative;top:2px;}&:hover span{text-decoration:underline;text-decoration-thickness:var(--text-decoration-thickness);}"]),o=n(7),l=function(e){var t=e.icon?e.icon:a.a.createElement(o.a,null),n=e.ctaLabel?a.a.createElement("div",null,a.a.createElement("span",null,e.ctaLabel)," ",e.hasIcon?t:null):null;return a.a.createElement(i,{href:e.ctaUrl,target:e.target},n,e.children)};l.defaultProps={ctaLabel:"",ctaUrl:"",target:"_self",hasIcon:!0,icon:null}},25:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(19),a=n.n(r),i=n(30),o=n(2),l=n(0),c=function(e){var t=Object(l.useState)(null),n=Object(o.a)(t,2),r=n[0],c=n[1],s=Object(l.useState)(null),d=Object(o.a)(s,2),u=d[0],m=d[1],p=Object(l.useState)(!1),g=Object(o.a)(p,2),f=g[0],h=g[1];return Object(l.useEffect)((function(){(function(){var t=Object(i.a)(a.a.mark((function t(){var n,r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return h(!0),t.prev=1,t.next=4,fetch(e);case 4:return n=t.sent,t.next=7,n.json();case 7:r=t.sent,c(r),h(!1),t.next=15;break;case 12:t.prev=12,t.t0=t.catch(1),m(t.t0);case 15:case"end":return t.stop()}}),t,null,[[1,12]])})));return function(){return t.apply(this,arguments)}})()()}),[e]),{response:r,error:u,isLoading:f}}},26:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2),a=n(0),i=n(3);function o(){var e=Object(a.useState)({width:void 0,height:void 0}),t=Object(r.a)(e,2),n=t[0],o=t[1];return Object(a.useEffect)((function(){var e=Object(i.c)((function(){o({width:window.innerWidth,height:window.innerHeight})}),500);return window.addEventListener("resize",e),e(),function(){return window.removeEventListener("resize",e)}}),[]),n}},28:function(e,t){e.exports=ReactDOM},3:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"m",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"f",(function(){return l})),n.d(t,"j",(function(){return c})),n.d(t,"k",(function(){return s})),n.d(t,"i",(function(){return d})),n.d(t,"l",(function(){return u})),n.d(t,"c",(function(){return m})),n.d(t,"h",(function(){return p})),n.d(t,"e",(function(){return g})),n.d(t,"b",(function(){return h})),n.d(t,"g",(function(){return v}));var r=n(2),a=function(e){try{return JSON.parse(decodeURIComponent(escape(atob(e))))}catch(t){return console.warn("Failed decoding Base64 -> UTF8. Base64 string: ",e),null}},i=function(e){return btoa(unescape(encodeURIComponent(e)))},o=function(e){return"Invalid Date"!==new Date(e).toString()?new Date(e).toISOString().slice(0,10):e},l=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}))},s=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}))},u=function(e){return e.sort((function(e,t){return e.title>t.title?-1:e.title<t.title?1:0}))};function m(e,t){var n,r=arguments,a=this;return function(i){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)},g=function(e){return null===e||void 0===e?void 0:e.map((function(e){return f(e)})).join(" | ")},f=function(e){return[e.city,e.state,e.country].filter((function(e){return"string"===typeof e&&e.length>0&&e})).join(", ")},h=function(e){switch(e){case"PRM":return"Press release";case"INB":return"Invitation";case"KMK":return"Year-end report";case"NBR":return"News";case"RDV":return"Annual report";case"RPT":return"Interim report"}},v=function(e,t){return e.includes(".html")?e.replace(".html",".".concat(t,".html")):"".concat(e,".").concat(t)}},32:function(e,t,n){"use strict";n.d(t,"a",(function(){return C}));var r=n(2),a=n(0),i=n.n(a),o=n(7),l=n(26),c=n(18),s=n(4),d=n(1),u=n(5);function m(){var e=Object(s.a)(["\n transform: translateX(-","%);\n "]);return m=function(){return e},e}function p(){var e=Object(s.a)(["\n background: var(--assa-abloy-blue);\n cursor: default;\n opacity: 1;\n "]);return p=function(){return e},e}function g(){var e=Object(s.a)(["\n background-color: var(--white);\n color: var(--grey);\n opacity: 0.3;\n border: 1px solid black;\n cursor: default;\n path {\n stroke: var(--grey);\n }\n &:hover {\n background-color: var(--white);\n }\n "]);return g=function(){return e},e}function f(){var e=Object(s.a)(["\n svg {\n transform: rotate(180deg);\n }\n "]);return f=function(){return e},e}var h=d.default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-1si91iu-0"})(["display:flex;flex-direction:column;width:calc(100% - 32px);position:relative;margin:0 auto;@media only screen and ","{width:calc(100% - 48px);}@media only screen and ","{width:calc(100% - 104px);max-width:1520px;}"],u.b.tabletAndUp,u.b.desktopAndUp),v=d.default.div.withConfig({displayName:"styles__Navigation",componentId:"sc-1si91iu-1"})(["display:flex;height:0;transition:all 0.4s ease-out;height:56px;margin-top:var(--spacing-small-1);align-items:center;justify-content:space-between;opacity:0;animation:fadeIn ease-out 0.4s forwards;@media screen and ","{margin-top:var(--spacing-medium-1);}"],u.b.desktopAndUp),b=d.default.div.withConfig({displayName:"styles__View",componentId:"sc-1si91iu-2"})(["width:100%;margin:0 auto;"]),w=d.default.div.withConfig({displayName:"styles__Control",componentId:"sc-1si91iu-3"})(["height:56px;width:56px;text-align:center;border-radius:4px;margin:0 8px;background:var(--assa-abloy-blue);cursor:pointer;color:var(--grey);flex-shrink:0;"," ",""],(function(e){return e.flipIcon&&Object(d.css)(f())}),(function(e){return e.active&&Object(d.css)(g())})),x=d.default.div.withConfig({displayName:"styles__Dots",componentId:"sc-1si91iu-4"})(["display:flex;overflow:auto;flex-shrink:1;height:100%;align-items:center;"]),y=d.default.span.withConfig({displayName:"styles__Dot",componentId:"sc-1si91iu-5"})(["height:8px;padding:4px;margin-right:12px;cursor:pointer;border-radius:50%;font-size:0;background:var(--grey);opacity:0.3;&:hover{opacity:1;background:var(--assa-abloy-blue);}",""],(function(e){return e.selected&&Object(d.css)(p())})),k=d.default.ul.withConfig({displayName:"styles__List",componentId:"sc-1si91iu-6"})(["transition:all 1s ease;min-height:364px;height:100%;padding:0;list-style:none;margin:0;display:grid;grid-template-rows:100%;grid-template-columns:",";width:","%;",";& > *{width:100%;opacity:0;animation:fadeIn ease-in-out 0.5s forwards;animation-delay:0.5s;& > *{height:100%;margin:0rem 0.5rem 0rem 0.5rem;}}"],(function(e){var t=e.numberOfItems;return"repeat(".concat(t,", minmax(280px, 1fr))")}),(function(e){var t=e.columns;return 100*e.numberOfItems/t}),(function(e){var t=e.currentSlide,n=e.numberOfItems;return t&&Object(d.css)(m(),100*t/n)})),E=function(e){return i.a.createElement(x,null,Array.from(Array(Math.ceil(e.items.length/e.columns))).map((function(t,n){return i.a.createElement(y,{key:n,selected:n===e.current/e.interval,onClick:function(){return e.handleClick(n)}})})))},C=function(e){var t=Object(a.useState)([]),n=Object(r.a)(t,2),s=n[0],d=n[1],u=Object(a.useState)(!1),m=Object(r.a)(u,2),p=m[0],g=m[1],f=i.a.useState(0),x=Object(r.a)(f,2),y=x[0],C=x[1],O=Object(a.useState)(e.columns),j=Object(r.a)(O,2),L=j[0],_=j[1],N=Math.floor(L),A=Object(l.a)().width;Object(a.useEffect)((function(){var t,n=e.children.slice(0,e.cardCountLimit);e.lastCard&&e.cardCountLimit&&n.pop(),e.lastCard&&n.push(i.a.createElement("li",{key:"ctaCard"},i.a.createElement(c.a,{title:null===(t=e.lastCard)||void 0===t?void 0:t.title,html:e.lastCard.number>0?"(".concat(e.lastCard.number,")"):"",ctaUrl:e.lastCard.link.url,ctaLabel:e.lastCard.link.text,type:"primary"}))),d(n)}),[e.lastCard,e.children]),Object(a.useEffect)((function(){if(void 0!==A)switch(I(0),1!==L&&L>=s.length?g(!1):g(!0),!0){case A>1200&&e.columns>3:_(4);break;case A>1024&&e.columns>2:_(3);break;case A>767:_(2);break;case A<767:_(1)}}),[A,L,e.lastCard,s]);var I=function(e){return C(e*N)};return i.a.createElement(b,null,i.a.createElement(h,null,i.a.createElement(k,{currentSlide:y,numberOfItems:s.length,columns:L},s),i.a.createElement(v,{hasHeight:p},p&&i.a.createElement(i.a.Fragment,null,i.a.createElement(w,{flipIcon:!0,active:y<=0,onClick:function(){return function(e){return C(e<=0?0:(e-N)%s.length)}(y)}},i.a.createElement(o.a,{icon:"arrow.svg"})),i.a.createElement(E,{items:s,columns:L,current:y,interval:N,handleClick:I}),i.a.createElement(w,{active:y>=s.length-L,onClick:function(){return function(e){return C((e<s.length-N?e+N:e)%s.length)}(y)}},i.a.createElement(o.a,{icon:"arrow.svg"}))))))}},5:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r={mobileAndUp:576,tabletAndUp:768,desktopAndUp:1024,largeDesktopAndUp:1200},a={mobileAndUp:"(min-width: ".concat(r.mobileAndUp,"px)"),tabletAndUp:"(min-width: ".concat(r.tabletAndUp,"px)"),desktopAndUp:"(min-width: ".concat(r.desktopAndUp,"px)"),largeDesktopAndUp:"(min-width: ".concat(r.largeDesktopAndUp,"px)")}},66:function(e,t,n){"use strict";var r=n(9),a=n(2),i=n(0),o=n.n(i),l=n(6),c=n.n(l),s=n(32),d=n(10),u=n(22),m=n(18),p=n(25),g=n(8),f=n(3),h=n(1),v={background:"var(--section-background-alt-1)",card:{background:"var(--card-light-background)",color:"var(--card-light-text-color)"},dropdown:{background:"var(--dropdown-background-light)"}},b={background:"var(--section-background-alt-2)",card:{background:"var(--card-default-background)",color:"var(--card-default-text-color)"},dropdown:{background:"var(--dropdown-background-white)"}},w=h.default.section.withConfig({displayName:"styles__View",componentId:"n2ezra-0"})(["width:100%;margin:0 auto;padding-top:",";padding-bottom:",";background-color:var(--slider-background-white);overflow:hidden;background-color:",";.card{background-color:",";img{border-color:",";}}@media only screen and (min-width:768px){padding-top:",";padding-bottom:",";}@media only screen and (min-width:1024px){padding-top:",";padding-bottom:",";}"],(function(e){return e.padding.top?"var(--spacing-medium);":"var(--spacing-mini-2)"}),(function(e){return e.padding.top?"var(--spacing-medium-1);":"var(--spacing-mini-2)"}),(function(e){return e.theme.background}),(function(e){return e.theme.card.background}),(function(e){return e.theme.card.background}),(function(e){var t;return(null===(t=e.padding)||void 0===t?void 0:t.top)?"var(--spacing-medium-1);":"var(--spacing-mini-2)"}),(function(e){var t;return(null===(t=e.padding)||void 0===t?void 0:t.bottom)?"var(--spacing-medium-2)":"var(--spacing-mini-2)"}),(function(e){return e.padding.top?"var(--spacing-large)":"var(--spacing-mini-2)"}),(function(e){return e.padding.bottom?"var(--spacing-large-1)":"var(--spacing-mini-2)"})),x={url:"",detailedPageUrl:"",title:"",text:"",noCardMessage:"",lastCard:{title:"",link:{text:"",url:""},number:0},config:{cardSize:"",card:{text:""},padding:{top:!1,bottom:!1}}},y={id:"",title:"",isRegulatory:!1,publishDate:"",category:"",intro:"",introOverridden:!1,cisionWireUrl:"",rawHtmlUrl:"",image:{downloadUrl:"",fileName:"",title:"",urlTo100x100ArResized:"",urlTo100x100Thumbnail:"",urlTo200x200ArResized:"",urlTo200x200Thumbnail:"",urlTo400x400ArResized:"",urlTo800x800ArResized:""},pdfUrl:""},k=function(e){var t=c()({},x,Object(f.a)(e.content)),n=Object(p.a)(t.url),l=Object(i.useState)([]),h=Object(a.a)(l,2),k=h[0],E=h[1],C=Object(i.useState)(0),O=Object(a.a)(C,2),j=O[0],L=O[1],_=Object(i.useState)(!0),N=Object(a.a)(_,2),A=N[0],I=N[1];Object(i.useEffect)((function(){if(null!==n.response&&null===n.error){var e=n.response,t=e.itemsTotalCount,r=(Array.isArray(e.items)?null===e||void 0===e?void 0:e.items:[]).map((function(e){return c()({},y,e)}));L(t),E(z(r)),I(n.isLoading)}else null!==n.error&&(I(!1),console.error(n.error))}),[n.response,n.isLoading,n.error]);var z=function(e){return e.sort((function(e,t){return e.publishDate>t.publishDate?-1:e.publishDate<t.publishDate?1:0}))},M=t.lastCard.title?Object(r.a)(Object(r.a)({},t.lastCard),{},{number:j}):void 0;return o.a.createElement(g.a,{theme:function(e){switch(e){case"theme-alt-1":return v;case"theme-alt-2":return b;default:return v}}(e.theme)},o.a.createElement(w,{padding:t.config.padding},o.a.createElement(d.a,null,o.a.createElement(u.a,{title:t.title,text:t.text})),o.a.createElement("div",{style:{minHeight:"400px"}},!A&&o.a.createElement(s.a,{columns:4,lastCard:M,cardCountLimit:8},k&&0!==k.length?k.map((function(e){return o.a.createElement("li",{key:e.id},o.a.createElement(m.a,{title:e.title,eyebrow:{category:"".concat(Object(f.b)(e.category)),type:"".concat((r=e.isRegulatory,r?"Regulatory":"Non-regulatory"))},html:"<p>".concat((n=e.publishDate,new Date(n).toISOString().slice(0,10)),"</p>"),ctaUrl:Object(f.g)(t.detailedPageUrl,e.id),ctaLabel:"Read more"}));var n,r})):[1].map((function(e){return t.noCardMessage?o.a.createElement("li",{key:"noPostCard"},o.a.createElement(m.a,{title:t.noCardMessage,html:"",ctaUrl:"",ctaLabel:""})):o.a.createElement(o.a.Fragment,null)}))))))};k.defaultProps={theme:"",content:""};t.a=k},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),a=n.n(r),i=function(e){var t=null;switch(e.icon){case"externalLink.svg":t=a.a.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5043 0.575736C14.7386 0.810051 14.7386 1.18995 14.5043 1.42426L6.87427 9.05427C6.63996 9.28858 6.26006 9.28858 6.02575 9.05427C5.79143 8.81995 5.79143 8.44005 6.02575 8.20574L13.6558 0.575736C13.8901 0.341421 14.27 0.341422 14.5043 0.575736Z",fill:"black"}),a.a.createElement("path",{d:"M14.08 4.81789V1H10.2679L14.08 4.81789Z",fill:"black"}),a.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.71366 0.770181C9.80658 0.546087 10.0253 0.4 10.2679 0.4H14.08C14.4114 0.4 14.68 0.668629 14.68 1V4.81789C14.68 5.06065 14.5337 5.27949 14.3094 5.3723C14.0851 5.46512 13.827 5.41362 13.6554 5.24183L9.84331 1.42394C9.6719 1.25227 9.62074 0.994274 9.71366 0.770181ZM11.7149 1.6L13.48 3.36781V1.6H11.7149Z",fill:"black"}),a.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.27001 1.6C2.80201 1.6 1.6 2.802 1.6 4.27V10.81C1.6 12.278 2.80201 13.48 4.27001 13.48H10.81C12.278 13.48 13.48 12.278 13.48 10.81V7.81681C13.48 7.48544 13.7487 7.21681 14.08 7.21681C14.4114 7.21681 14.68 7.48544 14.68 7.81681V10.81C14.68 12.9407 12.9408 14.68 10.81 14.68H4.27001C2.13926 14.68 0.4 12.9407 0.4 10.81V4.27C0.4 2.13925 2.13927 0.4 4.27001 0.4H7.26319C7.59456 0.4 7.86318 0.668629 7.86318 1C7.86318 1.33137 7.59456 1.6 7.26319 1.6H4.27001Z",fill:"black"}));break;case"cross.svg":t=a.a.createElement("svg",{className:e.className,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",{className:e.className,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;case"document.svg":t=a.a.createElement("svg",{className:e.className,width:"16px ",viewBox:"0 0 23.88 29.55",xmlns:"http://www.w3.org/2000/svg"},a.a.createElement("g",{id:"Layer_2","data-name":"Layer 2"},a.a.createElement("g",{id:"icons"},a.a.createElement("path",{d:"M23.67,5.83,18.05.2a.61.61,0,0,0-.44-.2H2.87A2.88,2.88,0,0,0,0,2.87V26.68a2.88,2.88,0,0,0,2.87,2.87H21a2.88,2.88,0,0,0,2.87-2.87V6.27A.56.56,0,0,0,23.67,5.83ZM18.21,2.06l3.61,3.61H19.88A1.67,1.67,0,0,1,18.21,4ZM21,28.35H2.87A1.67,1.67,0,0,1,1.2,26.68V2.87A1.67,1.67,0,0,1,2.87,1.2H17V4a2.87,2.87,0,0,0,2.87,2.87h2.8V26.68A1.67,1.67,0,0,1,21,28.35Z"}),a.a.createElement("path",{d:"M14.77,17H3.43a.6.6,0,0,0,0,1.2H14.77a.6.6,0,0,0,0-1.2Z"}),a.a.createElement("path",{d:"M17.61,11.34H3.43a.6.6,0,0,0,0,1.2H17.61a.6.6,0,1,0,0-1.2Z"}),a.a.createElement("path",{d:"M3.43,6.87H9.1a.6.6,0,0,0,0-1.2H3.43a.6.6,0,1,0,0,1.2Z"}))));break;case"arrow2.svg":t=a.a.createElement("svg",{className:e.className,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.a.createElement("path",{d:"M7.23629 15.1542C7.70242 15.6206 8.45899 15.6188 8.92284 15.1501L14.6074 9.40694C15.3788 8.62759 15.3788 7.37241 14.6074 6.59306L8.92661 0.85369C8.46102 0.383294 7.70132 0.38237 7.23458 0.851632C6.77271 1.316 6.7721 2.06605 7.23322 2.53116L11.4367 6.77113H1.22887C0.550182 6.77113 0 7.32132 0 8C0 8.67868 0.550182 9.22887 1.22887 9.22887H11.4367L7.2322 13.4767C6.77187 13.9418 6.7737 14.6914 7.23629 15.1542Z",fill:"#1A1A1A"}));break;case"chevron.svg":t=a.a.createElement("svg",{className:e.className,width:"11",height:"9",viewBox:"0 0 11 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.a.createElement("path",{d:"M5.76471 7.52942L9.52942 3.76471",stroke:"black",strokeWidth:"1.6",strokeMiterlimit:"10",strokeLinecap:"round"}),a.a.createElement("path",{d:"M5.76471 7.52942L2 3.76471",stroke:"black",strokeWidth:"1.6",strokeMiterlimit:"10",strokeLinecap:"round"}));break;case"circledcross.svg":t=a.a.createElement("svg",{className:e.className,width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.a.createElement("path",{d:"M8.00004 15.1668C11.6819 15.1668 14.6667 12.1821 14.6667 8.50016C14.6667 4.81826 11.6819 1.8335 8.00004 1.8335C4.31814 1.8335 1.33337 4.81826 1.33337 8.50016C1.33337 12.1821 4.31814 15.1668 8.00004 15.1668Z",stroke:"#484848",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.a.createElement("path",{d:"M10 6.5L6 10.5",stroke:"#484848",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.a.createElement("path",{d:"M6 6.5L10 10.5",stroke:"#484848",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}));break;case"search.svg":t=a.a.createElement("svg",{width:"19",height:"20",viewBox:"0 0 19 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.a.createElement("circle",{cx:"7.52083",cy:"8.02083",r:"5.33333",stroke:"white",strokeWidth:"2"}),a.a.createElement("path",{d:"M16.6265 17.1265L11.4807 11.9807",stroke:"white",strokeWidth:"2",strokeLinecap:"round"}));break;default:t=a.a.createElement("svg",{className:e.className,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.a.createElement("path",{d:"M6.36069 13.2889C6.7526 13.681 7.3887 13.6795 7.77869 13.2854L13.3037 7.70347C13.6894 7.31379 13.6894 6.68621 13.3037 6.29653L7.78042 0.716306C7.38976 0.321611 6.75232 0.320835 6.36069 0.714579L6.30027 0.775326C5.91273 1.16496 5.91222 1.79431 6.29913 2.18457L10.0071 5.92474H1C0.447715 5.92474 0 6.37246 0 6.92474V7.07526C0 7.62754 0.447715 8.07526 1 8.07526H10.0071L6.2997 11.8209C5.91266 12.212 5.9142 12.8422 6.30314 13.2313L6.36069 13.2889Z",fill:"#1A1A1A"}))}return t}},8:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(1),a=n(0),i=n.n(a),o=function(e){return i.a.createElement(r.ThemeProvider,{theme:e.theme},e.children)}}});
!function(modules){function webpackJsonpCallback(data){for(var moduleId,chunkId,chunkIds=data[0],moreModules=data[1],executeModules=data[2],i=0,resolves=[];i<chunkIds.length;i++)chunkId=chunkIds[i],Object.prototype.hasOwnProperty.call(installedChunks,chunkId)&&installedChunks[chunkId]&&resolves.push(installedChunks[chunkId][0]),installedChunks[chunkId]=0;for(moduleId in moreModules)Object.prototype.hasOwnProperty.call(moreModules,moduleId)&&(modules[moduleId]=moreModules[moduleId]);for(parentJsonpFunction&&parentJsonpFunction(data);resolves.length;)resolves.shift()();return deferredModules.push.apply(deferredModules,executeModules||[]),checkDeferredModules()}function checkDeferredModules(){for(var result,i=0;i<deferredModules.length;i++){for(var deferredModule=deferredModules[i],fulfilled=!0,j=1;j<deferredModule.length;j++){var depId=deferredModule[j];0!==installedChunks[depId]&&(fulfilled=!1)}fulfilled&&(deferredModules.splice(i--,1),result=__webpack_require__(__webpack_require__.s=deferredModule[0]))}return result}var installedModules={},installedChunks={pressReleasesSlider:0},deferredModules=[];function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={i:moduleId,l:!1,exports:{}};return modules[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.l=!0,module.exports}__webpack_require__.m=modules,__webpack_require__.c=installedModules,__webpack_require__.d=function(exports,name,getter){__webpack_require__.o(exports,name)||Object.defineProperty(exports,name,{enumerable:!0,get:getter})},__webpack_require__.r=function(exports){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.t=function(value,mode){if(1&mode&&(value=__webpack_require__(value)),8&mode)return value;if(4&mode&&"object"===typeof value&&value&&value.__esModule)return value;var ns=Object.create(null);if(__webpack_require__.r(ns),Object.defineProperty(ns,"default",{enumerable:!0,value:value}),2&mode&&"string"!=typeof value)for(var key in value)__webpack_require__.d(ns,key,function(key){return value[key]}.bind(null,key));return ns},__webpack_require__.n=function(module){var getter=module&&module.__esModule?function getDefault(){return module.default}:function getModuleExports(){return module};return __webpack_require__.d(getter,"a",getter),getter},__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)},__webpack_require__.p="/";var jsonpArray=this["webpackJsonpgw-group-web-components"]=this["webpackJsonpgw-group-web-components"]||[],oldJsonpFunction=jsonpArray.push.bind(jsonpArray);jsonpArray.push=webpackJsonpCallback,jsonpArray=jsonpArray.slice();for(var i=0;i<jsonpArray.length;i++)webpackJsonpCallback(jsonpArray[i]);var parentJsonpFunction=oldJsonpFunction;deferredModules.push(["wBK0","vendor"]),checkDeferredModules()}({"0Egh":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Link_Link}));var external_React_=__webpack_require__("cDcd"),external_React_default=__webpack_require__.n(external_React_),View=__webpack_require__("vOnD").default.a.withConfig({displayName:"styles__View",componentId:"leqorv-0"})(["text-decoration:none;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);div{align-items:center;padding-right:1rem;span{padding-right:10px;margin:0;}}svg{transition:ease-in-out 0.2s;position:relative;top:2px;}&:hover span{text-decoration:underline;text-decoration-thickness:var(--text-decoration-thickness);}"]),Icon=__webpack_require__("lq4R"),Link_Link=function Link(p){var icon=p.icon?p.icon:external_React_default.a.createElement(Icon.a,null),label=p.ctaLabel?external_React_default.a.createElement("div",null,external_React_default.a.createElement("span",null,p.ctaLabel)," ",p.hasIcon?icon:null):null;return external_React_default.a.createElement(View,{href:p.ctaUrl,target:p.target},label,p.children)};Link_Link.defaultProps={ctaLabel:"",ctaUrl:"",target:"_self",hasIcon:!0,icon:null}},"1PzU":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return useWindowSize}));var _Users_olof_sellgren_projects_assa_global_web_frontend_components_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("DjBF"),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("cDcd"),helpers_helpers__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("QAKe");function useWindowSize(){var _useState=Object(react__WEBPACK_IMPORTED_MODULE_1__.useState)({width:void 0,height:void 0}),_useState2=Object(_Users_olof_sellgren_projects_assa_global_web_frontend_components_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__.a)(_useState,2),windowSize=_useState2[0],setWindowSize=_useState2[1];return Object(react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((function(){var debouncedHandleResize=Object(helpers_helpers__WEBPACK_IMPORTED_MODULE_2__.c)((function handleResize(){setWindowSize({width:window.innerWidth,height:window.innerHeight})}),500);return window.addEventListener("resize",debouncedHandleResize),debouncedHandleResize(),function(){return window.removeEventListener("resize",debouncedHandleResize)}}),[]),windowSize}},"2UQE":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"d",(function(){return ImageWrapper})),__webpack_require__.d(__webpack_exports__,"c",(function(){return Image})),__webpack_require__.d(__webpack_exports__,"b",(function(){return FullImage})),__webpack_require__.d(__webpack_exports__,"a",(function(){return BlurImage})),__webpack_require__.d(__webpack_exports__,"e",(function(){return Label}));var _Users_olof_sellgren_projects_assa_global_web_frontend_components_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("q5Sr"),styled_components__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("vOnD");function _templateObject2(){var data=Object(_Users_olof_sellgren_projects_assa_global_web_frontend_components_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__.a)(["\n "," 0.5s ease-out;\n "]);return _templateObject2=function _templateObject2(){return data},data}function _templateObject(){var data=Object(_Users_olof_sellgren_projects_assa_global_web_frontend_components_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__.a)(["\n 0% { opacity: 1}\n 100% { opacity: 0; z-index: -1; }\n"]);return _templateObject=function _templateObject(){return data},data}var ImageWrapper=styled_components__WEBPACK_IMPORTED_MODULE_1__.default.div.withConfig({displayName:"styles__ImageWrapper",componentId:"sc-175nep1-0"})(["position:relative;overflow:hidden;"]),unblurAnimation=Object(styled_components__WEBPACK_IMPORTED_MODULE_1__.keyframes)(_templateObject()),Image=styled_components__WEBPACK_IMPORTED_MODULE_1__.default.div.withConfig({displayName:"styles__Image",componentId:"sc-175nep1-1"})(["position:relative;overflow:hidden;> img{display:flex;max-width:100%;object-fit:cover;width:100%;}"]),FullImage=styled_components__WEBPACK_IMPORTED_MODULE_1__.default.img.withConfig({displayName:"styles__FullImage",componentId:"sc-175nep1-2"})(["z-index:1;"]),BlurImage=styled_components__WEBPACK_IMPORTED_MODULE_1__.default.img.withConfig({displayName:"styles__BlurImage",componentId:"sc-175nep1-3"})(["position:absolute;z-index:10;top:0;left:0;overflow:hidden;filter:blur(7px);transform:scale(1.11);opacity:1;animation:",";animation-fill-mode:forwards;"],(function(_ref){return _ref.blur?"":Object(styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(_templateObject2(),unblurAnimation)})),Label=styled_components__WEBPACK_IMPORTED_MODULE_1__.default.div.withConfig({displayName:"styles__Label",componentId:"sc-175nep1-4"})(["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;}"])},"61ek":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Image}));var _Users_olof_sellgren_projects_assa_global_web_frontend_components_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("DjBF"),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("cDcd"),react__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__),_styles__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("2UQE"),Image=function Image(p){var _p$imageLabel,_p$imageLabel2,_p$imageLabel3,_p$imageLabel4,_p$sizes=p.sizes,sizes=void 0===_p$sizes?"":_p$sizes,_p$className=p.className,className=void 0===_p$className?"":_p$className,_useState=Object(react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1),_useState2=Object(_Users_olof_sellgren_projects_assa_global_web_frontend_components_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__.a)(_useState,2),fullImageRendered=_useState2[0],setFullImageRendered=_useState2[1],_useState3=Object(react__WEBPACK_IMPORTED_MODULE_1__.useState)(""),_useState4=Object(_Users_olof_sellgren_projects_assa_global_web_frontend_components_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__.a)(_useState3,2),blurImageSrc=_useState4[0],setBlurImageSrc=_useState4[1],_useState5=Object(react__WEBPACK_IMPORTED_MODULE_1__.useState)(""),_useState6=Object(_Users_olof_sellgren_projects_assa_global_web_frontend_components_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__.a)(_useState5,2),fullImageSrcSet=_useState6[0],setFullImageSrcSet=_useState6[1],_useState7=Object(react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1),_useState8=Object(_Users_olof_sellgren_projects_assa_global_web_frontend_components_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__.a)(_useState7,2),cacheHit=_useState8[0],setCacheHit=_useState8[1],_useState9=Object(react__WEBPACK_IMPORTED_MODULE_1__.useState)(""),_useState10=Object(_Users_olof_sellgren_projects_assa_global_web_frontend_components_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__.a)(_useState9,2),fallbackImageSrc=_useState10[0],setFallbackImageSrc=_useState10[1];Object(react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((function(){var _p$image,srcSet=Object.entries((null===(_p$image=p.image)||void 0===_p$image?void 0:_p$image.renditions)||{}).map((function(rendition){var width=parseInt(rendition[0]),url=rendition[1];return Number.isInteger(width)?"".concat(url," ").concat(width,"w"):null})).join(","),fullImage=new window.Image;if(fullImage.sizes=sizes,fullImage.srcset=srcSet,fullImage.complete)setCacheHit(!0);else{var _p$image2,_p$image3,blurSrc=(null===(_p$image2=p.image)||void 0===_p$image2?void 0:_p$image2.renditions)&&(null===(_p$image3=p.image)||void 0===_p$image3?void 0:_p$image3.renditions["blur-up"])||"";setBlurImageSrc(blurSrc)}setFullImageSrcSet(srcSet),setFallbackImageSrc(p.image.url)}),[p.image,p.image.url,p.image.renditions,sizes]);var Img=fullImageSrcSet||fallbackImageSrc?react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_styles__WEBPACK_IMPORTED_MODULE_2__.c,null,react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_styles__WEBPACK_IMPORTED_MODULE_2__.b,{srcSet:fullImageSrcSet,sizes:sizes,src:fallbackImageSrc||void 0,alt:p.alt,onLoad:function onLoad(){setFullImageRendered(!0)}}),!cacheHit&&blurImageSrc&&react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_styles__WEBPACK_IMPORTED_MODULE_2__.a,{src:blurImageSrc,alt:"",blur:!fullImageRendered})):null,hasLabel=p.imageLabel&&p.imageLabel.title&&!1!==p.imageLabel.visible;return react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_styles__WEBPACK_IMPORTED_MODULE_2__.d,{className:"".concat(className)},hasLabel&&react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_styles__WEBPACK_IMPORTED_MODULE_2__.e,{className:null===(_p$imageLabel=p.imageLabel)||void 0===_p$imageLabel?void 0:_p$imageLabel.position},react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("a",{href:null===(_p$imageLabel2=p.imageLabel)||void 0===_p$imageLabel2?void 0:_p$imageLabel2.url},(null===(_p$imageLabel3=p.imageLabel)||void 0===_p$imageLabel3?void 0:_p$imageLabel3.title)&&react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("p",null,p.imageLabel.title),(null===(_p$imageLabel4=p.imageLabel)||void 0===_p$imageLabel4?void 0:_p$imageLabel4.text)&&react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("span",null,p.imageLabel.text))),p.link?react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("a",{href:p.link},Img):Img,p.metaContent&&react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("meta",{itemProp:"caption",content:p.metaContent}),p.caption&&react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("span",{className:"cmp-image__title"},p.caption))}},"6RIa":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return RichText_RichText}));var external_React_=__webpack_require__("cDcd"),external_React_default=__webpack_require__.n(external_React_),purify=__webpack_require__("wMS7"),purify_default=__webpack_require__.n(purify),taggedTemplateLiteral=__webpack_require__("q5Sr"),styled_components_browser_esm=__webpack_require__("vOnD"),breakpoints=__webpack_require__("X7nx"),tableStyles=Object(styled_components_browser_esm.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(--border-color);}}}& 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(--border-color-soft);border-bottom:1px solid var(--border-color-soft);padding:var(--spacing-small) 0;}&:hover{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(--border-color-soft);border-bottom-color:var(--border-color-soft);}}&:first-child{td{border-top:2px solid var(--border-color);}&:hover{:before,:after{border-top:2px solid var(--border-color);}}}&:last-child{td{border-bottom:2px solid var(--border-color);}&:hover{:before,:after{border-bottom:2px solid var(--border-color);}}}}}& 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 ',"{th,td{width:120px;}}}"],breakpoints.b.tabletAndUp),listStyles=Object(styled_components_browser_esm.css)(['& ul,ol{counter-reset:level1;list-style-position:inside;list-style-type:none;padding-left:0;margin-top:16px;margin-bottom:0;li{margin-left:16px;margin-bottom:8px;font-size:var(--font-size-3);line-height:var(--line-height-loose-size-3);&::before{font-weight:var(--font-weight-bold);margin-right:16px;content:counters(level1,"") ")";counter-increment:level1;}ul,ol{margin-top:8px;counter-reset:level2;li{margin-left:32px;&::before{content:counters(level2,"",lower-alpha) ")";counter-increment:level2;}ul,ol{li{margin-left:28px;&::before{content:counters(level2,"",lower-alpha) ")";}ul,ol{li{margin-left:48px;&::before{font-weight:var(--font-weight-regular);margin-right:8px;content:"-";}}}}}}}}}ul{li{::before{font-weight:var(--font-weight-regular);content:"\u25cf";}ul{li{::before{content:"\u25cb";}ul{li{::before{content:"-";}ul{li{::before{content:"-";}}}}}}}}}']);function _templateObject(){var data=Object(taggedTemplateLiteral.a)(["\n display: -webkit-box;\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden !important;\n "]);return _templateObject=function _templateObject(){return data},data}var styles_RichText=styled_components_browser_esm.default.div.withConfig({displayName:"styles__RichText",componentId:"qyp0wa-0"})(["& a{text-decoration:underline;font-weight:var(--font-weight-semi-bold);color:var(--text-color);&:visited{color:var(--text-color);}}& q,& blockquote{font-size:var(--font-size-7);font-weight:var(--font-weight-light);font-style:italic;line-height:var(--line-height-size-7);}& blockquote{font-family:var(--font-family-heading);font-style:italic;margin:24px;&::before{content:open-quote;}&::after{content:close-quote;}}@media only ","{& blockquote{margin:32px;}}& h1,& h2,& h3,& h4,& h5{margin-bottom:var(--spacing-small);}",";"," ",""],breakpoints.b.mobileAndUp,(function(_ref){var rowLimit=_ref.rowLimit;return void 0!==rowLimit&&Object(styled_components_browser_esm.css)(_templateObject(),rowLimit)}),tableStyles,listStyles),sanitizeConfig={FORBID_ATTR:["style","class","id","colspan","cellspacing","cellpadding","border","valign"],ALLOW_DATA_ATTR:!1},RichText_RichText=function RichText(_ref){_ref.theme;var html=_ref.html,rowLimit=_ref.rowLimit,className=_ref.className,sanitizedHTML=purify_default.a.sanitize(html,sanitizeConfig);return external_React_default.a.createElement(styles_RichText,{rowLimit:rowLimit,className:className,dangerouslySetInnerHTML:{__html:"<div>".concat(sanitizedHTML,"</div>")}})};RichText_RichText.defaultProps={theme:"",html:"",className:""}},AoEY:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Wrapper}));var styled_components__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("vOnD"),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("cDcd"),react__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__),helpers_breakpoints__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("X7nx"),Wrapper=function Wrapper(_ref){var className=_ref.className,children=_ref.children,_ref$maxWidth=_ref.maxWidth,maxWidth=void 0===_ref$maxWidth?1520:_ref$maxWidth,_ref$padding=_ref.padding,padding=void 0===_ref$padding||_ref$padding;return react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(View,{className:className,maxWidth:maxWidth,padding:padding},children)},View=styled_components__WEBPACK_IMPORTED_MODULE_0__.default.div.withConfig({displayName:"Wrapper__View",componentId:"sc-1fa02qx-0"})(["box-sizing:border-box;width:100%;max-width:100%;margin:0 auto;padding:",";@media ","{padding:",";max-width:",";}@media ","{padding:",";max-width:",";}@media (min-width:1648px){max-width:",";}"],(function(_ref2){return _ref2.padding?"0 24px;":0}),helpers_breakpoints__WEBPACK_IMPORTED_MODULE_2__.b.tabletAndUp,(function(padding){return padding?"0 32px;":0}),(function(_ref3){var maxWidth=_ref3.maxWidth;return maxWidth&&"calc(".concat(maxWidth,"px + 64px);")}),helpers_breakpoints__WEBPACK_IMPORTED_MODULE_2__.b.desktopAndUp,(function(padding){return padding?"0 64px;":0}),(function(_ref4){var maxWidth=_ref4.maxWidth;return maxWidth&&"calc(".concat(maxWidth,"px + 128px);")}),(function(_ref5){var maxWidth=_ref5.maxWidth;return maxWidth?"calc(".concat(maxWidth,"px + 128px);"):"1520px"}))},DewC:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Card_Card}));var external_React_=__webpack_require__("cDcd"),external_React_default=__webpack_require__.n(external_React_),Title=__webpack_require__("QJS3"),Image=__webpack_require__("61ek"),Link=__webpack_require__("0Egh"),taggedTemplateLiteral=__webpack_require__("q5Sr"),styled_components_browser_esm=__webpack_require__("vOnD"),RichText=__webpack_require__("6RIa"),breakpoints=__webpack_require__("X7nx");function _templateObject(){var data=Object(taggedTemplateLiteral.a)(["\n background-color: var(--accent);\n\n & *,\n & h4 {\n color: var(--accent-contrast);\n border-color: var(--accent);\n }\n\n & svg path {\n fill: var(--accent-contrast);\n }\n "]);return _templateObject=function _templateObject(){return data},data}var View=styled_components_browser_esm.default.article.withConfig({displayName:"styles__View",componentId:"qdv3hi-0"})(["display:flex;flex-direction:column;justify-content:space-between;background-color:",";border-radius:var(--border-radius);min-height:",";font-size:var(--font-size-2);line-height:var(--line-height-size-2);& img{max-width:100%;width:100%;border:",";display:flex;margin-bottom:-0.5rem;border-radius:4px;}",";"],(function(_ref){return _ref.theme.card.background}),(function(_ref2){return _ref2.hasImage?"444px":"368px"}),(function(_ref3){var theme=_ref3.theme;return"8px solid ".concat(theme.card.background)}),(function(_ref4){return"primary"===_ref4.variant&&Object(styled_components_browser_esm.css)(_templateObject())})),Eyebrow=styled_components_browser_esm.default.div.withConfig({displayName:"styles__Eyebrow",componentId:"qdv3hi-1"})(["display:flex;align-items:baseline;margin-bottom:var(--spacing-small-1);flex-wrap:wrap;& span{font-weight:300;display:block;}"]),Content=styled_components_browser_esm.default.div.withConfig({displayName:"styles__Content",componentId:"qdv3hi-2"})(["padding:var(--spacing-small) var(--spacing-small) 0 var(--spacing-small);@media ","{padding:var(--spacing-small-1) var(--spacing-small-1) 0 var(--spacing-small-1);}"],breakpoints.b.mobileAndUp),LinkWrapper=styled_components_browser_esm.default.div.withConfig({displayName:"styles__LinkWrapper",componentId:"qdv3hi-3"})(["padding:var(--spacing-small);padding-top:var(--spacing-small-1);@media ","{padding:var(--spacing-small) var(--spacing-small-1);padding-top:var(--spacing-small-1);}"],breakpoints.b.mobileAndUp),styles_RichText=Object(styled_components_browser_esm.default)(RichText.a).withConfig({displayName:"styles__RichText",componentId:"qdv3hi-4"})(["color:",";h3,h4,h5{color:var(--text-color);}& ul{& li{font-size:var(--font-size-2);line-height:var(--line-height-size-2);margin-bottom:0;}}p{margin:0;margin-top:var(--spacing-mini-2);}"],(function(_ref5){return _ref5.theme.card.color})),Card_Card=function Card(_ref){var image=_ref.image,imageSizes=_ref.imageSizes,eyebrow=_ref.eyebrow,title=_ref.title,html=_ref.html,ctaLabel=_ref.ctaLabel,ctaUrl=_ref.ctaUrl,_ref$type=_ref.type,type=void 0===_ref$type?"default":_ref$type,maximumRichTextRows=image?5:10,maximumTitleRows=image?3:5,titleSize="primary"===type?"h4":"h5";return function hasProps(){return 0!==[title,html,ctaLabel,ctaUrl].filter((function(prop){return prop})).length}()?external_React_default.a.createElement(View,{hasImage:!!(null===image||void 0===image?void 0:image.url),variant:type,className:"card"},external_React_default.a.createElement("div",null,(null===image||void 0===image?void 0:image.url)&&external_React_default.a.createElement(Image.a,{link:ctaUrl,image:image,sizes:imageSizes,alt:title}),external_React_default.a.createElement(Content,null,eyebrow&&external_React_default.a.createElement(Eyebrow,null,external_React_default.a.createElement("p",{className:"eyebrow"},eyebrow.category," ",external_React_default.a.createElement("span",null,eyebrow.type&&eyebrow.type))),title&&external_React_default.a.createElement(Title.a,{rowLimit:maximumTitleRows,link:ctaUrl,text:title,size:titleSize}),html&&external_React_default.a.createElement(styles_RichText,{html:html,rowLimit:maximumRichTextRows}))),ctaLabel&&ctaUrl&&external_React_default.a.createElement(LinkWrapper,null,external_React_default.a.createElement(Link.a,{ctaLabel:ctaLabel,ctaUrl:ctaUrl}))):null}},FThP:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return setComponentPadding})),__webpack_require__.d(__webpack_exports__,"b",(function(){return setPaddingAfterHeader}));var styled_components__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("vOnD"),_breakpoints__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("X7nx"),setComponentPadding=function setComponentPadding(padding){return Object(styled_components__WEBPACK_IMPORTED_MODULE_0__.css)(["padding-top:",";padding-bottom:",";@media only ","{padding-top:",";padding-bottom:",";}@media ","{padding-top:",";padding-bottom:",";}"],(function(){return padding.top?"var(--spacing-medium);":"var(--spacing-mini-2)"}),(function(){return padding.bottom?"var(--spacing-medium-1);":"var(--spacing-mini-2)"}),_breakpoints__WEBPACK_IMPORTED_MODULE_1__.b.tabletAndUp,(function(){return(null===padding||void 0===padding?void 0:padding.top)?"var(--spacing-medium-1);":"var(--spacing-mini-2)"}),(function(){return(null===padding||void 0===padding?void 0:padding.bottom)?"var(--spacing-medium-2)":"var(--spacing-mini-2)"}),_breakpoints__WEBPACK_IMPORTED_MODULE_1__.b.desktopAndUp,(function(){return padding.top?"var(--spacing-large)":"var(--spacing-mini-2)"}),(function(){return padding.bottom?"var(--spacing-large-1)":"var(--spacing-mini-2)"}))},setPaddingAfterHeader="\n padding-top: calc(160px + var(--spacing-medium-1));\n\n @media ".concat(_breakpoints__WEBPACK_IMPORTED_MODULE_1__.b.desktopAndUp," {\n padding-top: calc(130px + var(--spacing-large-1));\n }\n ")},GT4r:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Head_Head}));var external_React_=__webpack_require__("cDcd"),external_React_default=__webpack_require__.n(external_React_),Title=__webpack_require__("QJS3"),RichText=__webpack_require__("6RIa"),styled_components_browser_esm=__webpack_require__("vOnD"),breakpoints=__webpack_require__("X7nx"),styles_Head=styled_components_browser_esm.default.div.withConfig({displayName:"styles__Head",componentId:"sc-1sc6649-0"})(["display:grid;grid-row:1fr 1fr;grid-template-columns:repeat(12,1fr);margin-bottom:var(--spacing-small-1);p{margin:0;}> div:nth-child(1){grid-column:1 / 13;grid-row:1;margin-right:var(--spacing-medium-1);}> div:nth-child(2){grid-column:1 / 13;grid-row:2;margin:var(--spacing-small) 0 0 0;}@media ","{margin-bottom:var(--spacing-medium);}@media ","{grid-gap:1rem;margin-bottom:var(--spacing-medium-1);> div:nth-child(1){grid-row:1;grid-column:",";margin-right:var(--spacing-medium-1);}> div:nth-child(2){grid-row:1;grid-column:7 / 13;margin:0;}}"],breakpoints.b.tabletAndUp,breakpoints.b.desktopAndUp,(function(_ref){return _ref.hasText?"1 / 7":"1 / 10"})),Head_Head=function Head(p){return p.title||p.text?external_React_default.a.createElement(styles_Head,{hasText:p.text},p.title&&external_React_default.a.createElement(Title.a,{text:p.title,size:p.size||"h2"}),p.text&&external_React_default.a.createElement(RichText.a,{html:"<p>".concat(p.text,"</p>"),className:"body-medium aem-ie__text"})):null}},N44y:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return useFetch}));var _Users_olof_sellgren_projects_assa_global_web_frontend_components_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("jQsN"),_Users_olof_sellgren_projects_assa_global_web_frontend_components_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_Users_olof_sellgren_projects_assa_global_web_frontend_components_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__),_Users_olof_sellgren_projects_assa_global_web_frontend_components_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("butC"),_Users_olof_sellgren_projects_assa_global_web_frontend_components_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("DjBF"),react__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("cDcd"),useFetch=function useFetch(url){var _useState=Object(react__WEBPACK_IMPORTED_MODULE_3__.useState)(null),_useState2=Object(_Users_olof_sellgren_projects_assa_global_web_frontend_components_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__.a)(_useState,2),response=_useState2[0],setResponse=_useState2[1],_useState3=Object(react__WEBPACK_IMPORTED_MODULE_3__.useState)(null),_useState4=Object(_Users_olof_sellgren_projects_assa_global_web_frontend_components_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__.a)(_useState3,2),error=_useState4[0],setError=_useState4[1],_useState5=Object(react__WEBPACK_IMPORTED_MODULE_3__.useState)(!1),_useState6=Object(_Users_olof_sellgren_projects_assa_global_web_frontend_components_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__.a)(_useState5,2),isLoading=_useState6[0],setIsLoading=_useState6[1];return Object(react__WEBPACK_IMPORTED_MODULE_3__.useEffect)((function(){(function(){var _ref=Object(_Users_olof_sellgren_projects_assa_global_web_frontend_components_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__.a)(_Users_olof_sellgren_projects_assa_global_web_frontend_components_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark((function _callee(){var res,json;return _Users_olof_sellgren_projects_assa_global_web_frontend_components_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:return setIsLoading(!0),_context.prev=1,_context.next=4,fetch(url);case 4:return res=_context.sent,_context.next=7,res.json();case 7:json=_context.sent,setResponse(json),setIsLoading(!1),_context.next=15;break;case 12:_context.prev=12,_context.t0=_context.catch(1),setError(_context.t0);case 15:case"end":return _context.stop()}}),_callee,null,[[1,12]])})));return function fetchData(){return _ref.apply(this,arguments)}})()()}),[url]),{response:response,error:error,isLoading:isLoading}}},QAKe:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return atou})),__webpack_require__.d(__webpack_exports__,"m",(function(){return utoa})),__webpack_require__.d(__webpack_exports__,"d",(function(){return formatDateToISO})),__webpack_require__.d(__webpack_exports__,"f",(function(){return formatString})),__webpack_require__.d(__webpack_exports__,"j",(function(){return sortByCreationASC})),__webpack_require__.d(__webpack_exports__,"k",(function(){return sortByCreationDESC})),__webpack_require__.d(__webpack_exports__,"i",(function(){return sortByAZ})),__webpack_require__.d(__webpack_exports__,"l",(function(){return sortByZA})),__webpack_require__.d(__webpack_exports__,"c",(function(){return debounce})),__webpack_require__.d(__webpack_exports__,"h",(function(){return maybeAddUnit})),__webpack_require__.d(__webpack_exports__,"e",(function(){return formatLocations})),__webpack_require__.d(__webpack_exports__,"b",(function(){return checkCategory})),__webpack_require__.d(__webpack_exports__,"g",(function(){return handleLink}));var _Users_olof_sellgren_projects_assa_global_web_frontend_components_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("DjBF"),atou=function atou(b64){try{return JSON.parse(decodeURIComponent(escape(atob(b64))))}catch(e){return console.warn("Failed decoding Base64 -> UTF8. Base64 string: ",b64),null}},utoa=function utoa(data){return btoa(unescape(encodeURIComponent(data)))},formatDateToISO=function formatDateToISO(date){return"Invalid Date"!==new Date(date).toString()?new Date(date).toISOString().slice(0,10):date},formatString=function formatString(str){return str.replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">")},sortByCreationASC=function sortByCreationASC(posts){return posts.sort((function(a,b){return a.created>b.created?-1:a.created<b.created?1:0}))},sortByCreationDESC=function sortByCreationDESC(posts){return posts.sort((function(a,b){return a.created<b.created?-1:a.created>b.created?1:0}))},sortByAZ=function sortByAZ(posts){return posts.sort((function(a,b){return a.title<b.title?-1:a.title>b.title?1:0}))},sortByZA=function sortByZA(posts){return posts.sort((function(a,b){return a.title>b.title?-1:a.title<b.title?1:0}))};function debounce(fn,ms){var timer,_arguments=arguments,_this=this;return function(_){clearTimeout(timer),timer=setTimeout((function(_){timer=null,fn.apply(_this,_arguments)}),ms)}}var maybeAddUnit=function maybeAddUnit(value,units){if(!units.length)return value;var defaultUnit=Object(_Users_olof_sellgren_projects_assa_global_web_frontend_components_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__.a)(units,1)[0];return/^\d+$/.test(value)?"".concat(value).concat(defaultUnit):"string"===typeof value&&units.some((function(unit){return value.endsWith(unit)}))?value:"string"===typeof value&&"".concat(value.trim().replace(/\D/g,"")||"0").concat(defaultUnit)},formatLocations=function formatLocations(locations){return null===locations||void 0===locations?void 0:locations.map((function(location){return formatSingleLocation(location)})).join(" | ")},formatSingleLocation=function formatSingleLocation(location){return[location.city,location.state,location.country].filter((function(string){return"string"===typeof string&&string.length>0&&string})).join(", ")},checkCategory=function checkCategory(category){switch(category){case"PRM":return"Press release";case"INB":return"Invitation";case"KMK":return"Year-end report";case"NBR":return"News";case"RDV":return"Annual report";case"RPT":return"Interim report"}},handleLink=function handleLink(detailedPageUrl,id){return detailedPageUrl.includes(".html")?detailedPageUrl.replace(".html",".".concat(id,".html")):"".concat(detailedPageUrl,".").concat(id)}},QJS3:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Title_Title}));var external_React_=__webpack_require__("cDcd"),external_React_default=__webpack_require__.n(external_React_),taggedTemplateLiteral=__webpack_require__("q5Sr"),styled_components_browser_esm=__webpack_require__("vOnD");function _templateObject(){var data=Object(taggedTemplateLiteral.a)(["\n display: -webkit-box;\n -webkit-line-clamp: ",";\n -webkit-box-orient: vertical;\n overflow: hidden;\n "]);return _templateObject=function _templateObject(){return data},data}var View=styled_components_browser_esm.default.div.withConfig({displayName:"styles__View",componentId:"bg3c3f-0"})(["a{color:inherit;text-decoration:none;&:hover{text-decoration:underline;text-decoration-thickness:var(--text-decoration-thickness);}}",";"],(function(_ref){var rowLimit=_ref.rowLimit;return void 0!==rowLimit&&Object(styled_components_browser_esm.css)(_templateObject(),rowLimit)})),Title_Title=function Title(_ref){var text=_ref.text,_ref$link=_ref.link,link=void 0!==_ref$link&&_ref$link,size=_ref.size,className=_ref.className,rowLimit=_ref.rowLimit,titleElement=external_React_default.a.createElement(size,{},text),linkElement=external_React_default.a.createElement(size,{},external_React_default.a.createElement("a",{href:link},text));return external_React_default.a.createElement(View,{rowLimit:rowLimit,className:className},link?linkElement:titleElement)}},X7nx:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return breakpoints})),__webpack_require__.d(__webpack_exports__,"b",(function(){return media}));var breakpoints={mobileAndUp:576,tabletAndUp:768,desktopAndUp:1024,largeDesktopAndUp:1200},media={mobileAndUp:"(min-width: ".concat(breakpoints.mobileAndUp,"px)"),tabletAndUp:"(min-width: ".concat(breakpoints.tabletAndUp,"px)"),desktopAndUp:"(min-width: ".concat(breakpoints.desktopAndUp,"px)"),largeDesktopAndUp:"(min-width: ".concat(breakpoints.largeDesktopAndUp,"px)")}},cDcd:function(module,exports){module.exports=React},faye:function(module,exports){module.exports=ReactDOM},lRcI:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var direflow_component__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("UFX0"),_PressReleasesSlider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("mZE8");__webpack_exports__.default=direflow_component__WEBPACK_IMPORTED_MODULE_0__.a.create({component:_PressReleasesSlider__WEBPACK_IMPORTED_MODULE_1__.a,configuration:{tagname:"gw-group-press-releases-slider",useShadow:!1},plugins:[]})},lq4R:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Icon}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("cDcd"),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),Icon=function Icon(p){var svg=null;switch(p.icon){case"externalLink.svg":svg=react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5043 0.575736C14.7386 0.810051 14.7386 1.18995 14.5043 1.42426L6.87427 9.05427C6.63996 9.28858 6.26006 9.28858 6.02575 9.05427C5.79143 8.81995 5.79143 8.44005 6.02575 8.20574L13.6558 0.575736C13.8901 0.341421 14.27 0.341422 14.5043 0.575736Z",fill:"black"}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{d:"M14.08 4.81789V1H10.2679L14.08 4.81789Z",fill:"black"}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.71366 0.770181C9.80658 0.546087 10.0253 0.4 10.2679 0.4H14.08C14.4114 0.4 14.68 0.668629 14.68 1V4.81789C14.68 5.06065 14.5337 5.27949 14.3094 5.3723C14.0851 5.46512 13.827 5.41362 13.6554 5.24183L9.84331 1.42394C9.6719 1.25227 9.62074 0.994274 9.71366 0.770181ZM11.7149 1.6L13.48 3.36781V1.6H11.7149Z",fill:"black"}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.27001 1.6C2.80201 1.6 1.6 2.802 1.6 4.27V10.81C1.6 12.278 2.80201 13.48 4.27001 13.48H10.81C12.278 13.48 13.48 12.278 13.48 10.81V7.81681C13.48 7.48544 13.7487 7.21681 14.08 7.21681C14.4114 7.21681 14.68 7.48544 14.68 7.81681V10.81C14.68 12.9407 12.9408 14.68 10.81 14.68H4.27001C2.13926 14.68 0.4 12.9407 0.4 10.81V4.27C0.4 2.13925 2.13927 0.4 4.27001 0.4H7.26319C7.59456 0.4 7.86318 0.668629 7.86318 1C7.86318 1.33137 7.59456 1.6 7.26319 1.6H4.27001Z",fill:"black"}));break;case"cross.svg":svg=react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("svg",{className:p.className,width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{d:"M8.75 1.125L1 8.875",stroke:"#1A1A1A",strokeWidth:"1.62",strokeLinecap:"round",strokeLinejoin:"round"}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{d:"M1 1.125L8.75 8.875",stroke:"#1A1A1A",strokeWidth:"1.62",strokeLinecap:"round",strokeLinejoin:"round"}));break;case"arrow.svg":svg=react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("svg",{className:p.className,width:"13",height:"56",viewBox:"0 0 13 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{d:"M2 2L10 10L2 18",stroke:"white",strokeWidth:"3"}));break;case"document.svg":svg=react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("svg",{className:p.className,width:"16px ",viewBox:"0 0 23.88 29.55",xmlns:"http://www.w3.org/2000/svg"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("g",{id:"Layer_2","data-name":"Layer 2"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("g",{id:"icons"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{d:"M23.67,5.83,18.05.2a.61.61,0,0,0-.44-.2H2.87A2.88,2.88,0,0,0,0,2.87V26.68a2.88,2.88,0,0,0,2.87,2.87H21a2.88,2.88,0,0,0,2.87-2.87V6.27A.56.56,0,0,0,23.67,5.83ZM18.21,2.06l3.61,3.61H19.88A1.67,1.67,0,0,1,18.21,4ZM21,28.35H2.87A1.67,1.67,0,0,1,1.2,26.68V2.87A1.67,1.67,0,0,1,2.87,1.2H17V4a2.87,2.87,0,0,0,2.87,2.87h2.8V26.68A1.67,1.67,0,0,1,21,28.35Z"}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{d:"M14.77,17H3.43a.6.6,0,0,0,0,1.2H14.77a.6.6,0,0,0,0-1.2Z"}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{d:"M17.61,11.34H3.43a.6.6,0,0,0,0,1.2H17.61a.6.6,0,1,0,0-1.2Z"}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{d:"M3.43,6.87H9.1a.6.6,0,0,0,0-1.2H3.43a.6.6,0,1,0,0,1.2Z"}))));break;case"arrow2.svg":svg=react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("svg",{className:p.className,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{d:"M7.23629 15.1542C7.70242 15.6206 8.45899 15.6188 8.92284 15.1501L14.6074 9.40694C15.3788 8.62759 15.3788 7.37241 14.6074 6.59306L8.92661 0.85369C8.46102 0.383294 7.70132 0.38237 7.23458 0.851632C6.77271 1.316 6.7721 2.06605 7.23322 2.53116L11.4367 6.77113H1.22887C0.550182 6.77113 0 7.32132 0 8C0 8.67868 0.550182 9.22887 1.22887 9.22887H11.4367L7.2322 13.4767C6.77187 13.9418 6.7737 14.6914 7.23629 15.1542Z",fill:"#1A1A1A"}));break;case"chevron.svg":svg=react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("svg",{className:p.className,width:"11",height:"9",viewBox:"0 0 11 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{d:"M5.76471 7.52942L9.52942 3.76471",stroke:"black",strokeWidth:"1.6",strokeMiterlimit:"10",strokeLinecap:"round"}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{d:"M5.76471 7.52942L2 3.76471",stroke:"black",strokeWidth:"1.6",strokeMiterlimit:"10",strokeLinecap:"round"}));break;case"circledcross.svg":svg=react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("svg",{className:p.className,width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{d:"M8.00004 15.1668C11.6819 15.1668 14.6667 12.1821 14.6667 8.50016C14.6667 4.81826 11.6819 1.8335 8.00004 1.8335C4.31814 1.8335 1.33337 4.81826 1.33337 8.50016C1.33337 12.1821 4.31814 15.1668 8.00004 15.1668Z",stroke:"#484848",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{d:"M10 6.5L6 10.5",stroke:"#484848",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{d:"M6 6.5L10 10.5",stroke:"#484848",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}));break;case"search.svg":svg=react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("svg",{width:"19",height:"20",viewBox:"0 0 19 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("circle",{cx:"7.52083",cy:"8.02083",r:"5.33333",stroke:"#1a1a1a",strokeWidth:"2"}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{d:"M16.6265 17.1265L11.4807 11.9807",stroke:"#1a1a1a",strokeWidth:"2",strokeLinecap:"round"}));break;default:svg=react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("svg",{className:p.className,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{d:"M6.36069 13.2889C6.7526 13.681 7.3887 13.6795 7.77869 13.2854L13.3037 7.70347C13.6894 7.31379 13.6894 6.68621 13.3037 6.29653L7.78042 0.716306C7.38976 0.321611 6.75232 0.320835 6.36069 0.714579L6.30027 0.775326C5.91273 1.16496 5.91222 1.79431 6.29913 2.18457L10.0071 5.92474H1C0.447715 5.92474 0 6.37246 0 6.92474V7.07526C0 7.62754 0.447715 8.07526 1 8.07526H10.0071L6.2997 11.8209C5.91266 12.212 5.9142 12.8422 6.30314 13.2313L6.36069 13.2889Z",fill:"#1A1A1A"}))}return svg}},mZE8:function(module,__webpack_exports__,__webpack_require__){"use strict";var objectSpread2=__webpack_require__("prSB"),slicedToArray=__webpack_require__("DjBF"),external_React_=__webpack_require__("cDcd"),external_React_default=__webpack_require__.n(external_React_),lodash_merge=__webpack_require__("2oH+"),lodash_merge_default=__webpack_require__.n(lodash_merge),Slider=__webpack_require__("vhhm"),Wrapper=__webpack_require__("AoEY"),Head=__webpack_require__("GT4r"),Card=__webpack_require__("DewC"),useFetch=__webpack_require__("N44y"),ThemeSelector=__webpack_require__("pOKU"),themes={theme1:{background:"var(--bg-main)",card:{background:"var(--bg-alt)",color:"var(--text-color-soft)"}},theme2:{background:"var(--bg-alt)",card:{background:"var(--bg-main)",color:"var(--text-color-soft)"}}},helpers=__webpack_require__("QAKe"),styled_components_browser_esm=__webpack_require__("vOnD"),helpers_padding=__webpack_require__("FThP"),View=styled_components_browser_esm.default.section.withConfig({displayName:"styles__View",componentId:"n2ezra-0"})(["width:100%;margin:0 auto;overflow:hidden;background-color:",";",""],(function(_ref){return _ref.theme.background}),(function(_ref2){var padding=_ref2.padding;return Object(helpers_padding.a)(padding)})),defaultContent={url:"",detailedPageUrl:"",title:"",text:"",noCardMessage:"",lastCard:{title:"",link:{text:"",url:""},number:0},config:{cardSize:"",card:{text:""},padding:{top:!1,bottom:!1}}},defaultPressRelease={id:"",title:"",isRegulatory:!1,publishDate:"",category:"",intro:"",introOverridden:!1,cisionWireUrl:"",rawHtmlUrl:"",image:{downloadUrl:"",fileName:"",title:"",urlTo100x100ArResized:"",urlTo100x100Thumbnail:"",urlTo200x200ArResized:"",urlTo200x200Thumbnail:"",urlTo400x400ArResized:"",urlTo800x800ArResized:""},pdfUrl:""},PressReleasesSlider_PressReleasesSlider=function PressReleasesSlider(p){var c=lodash_merge_default()({},defaultContent,Object(helpers.a)(p.content)),fetchData=Object(useFetch.a)(c.url),_useState=Object(external_React_.useState)([]),_useState2=Object(slicedToArray.a)(_useState,2),pressReleases=_useState2[0],setPressReleases=_useState2[1],_useState3=Object(external_React_.useState)(0),_useState4=Object(slicedToArray.a)(_useState3,2),pressReleasesTotalCount=_useState4[0],setPressReleasesTotalCount=_useState4[1],_useState5=Object(external_React_.useState)(!0),_useState6=Object(slicedToArray.a)(_useState5,2),isLoading=_useState6[0],setIsLoading=_useState6[1];Object(external_React_.useEffect)((function(){if(null!==fetchData.response&&null===fetchData.error){var response=fetchData.response,itemsTotalCount=response.itemsTotalCount,_pressReleases=(Array.isArray(response.items)?null===response||void 0===response?void 0:response.items:[]).map((function(pressRelease){return lodash_merge_default()({},defaultPressRelease,pressRelease)}));setPressReleasesTotalCount(itemsTotalCount),setPressReleases(orderPressReleases(_pressReleases)),setIsLoading(fetchData.isLoading)}else null!==fetchData.error&&(setIsLoading(!1),console.error(fetchData.error))}),[fetchData.response,fetchData.isLoading,fetchData.error]);var orderPressReleases=function orderPressReleases(pressRelease){return pressRelease.sort((function(a,b){return a.publishDate>b.publishDate?-1:a.publishDate<b.publishDate?1:0}))},formatDate=function formatDate(date){return new Date(date).toISOString().slice(0,10)},isRegulatory=function isRegulatory(_isRegulatory){return _isRegulatory?"Regulatory":"Non-regulatory"},lastCard=c.lastCard.title?Object(objectSpread2.a)(Object(objectSpread2.a)({},c.lastCard),{},{number:pressReleasesTotalCount}):void 0;return external_React_default.a.createElement(ThemeSelector.a,{setter:{componentThemes:themes,selectedTheme:p.theme}},external_React_default.a.createElement(View,{padding:c.config.padding},external_React_default.a.createElement(Wrapper.a,null,external_React_default.a.createElement(Head.a,{title:c.title,text:c.text})),external_React_default.a.createElement("div",{style:{minHeight:"400px"}},!isLoading&&external_React_default.a.createElement(Slider.a,{columns:4,lastCard:lastCard,cardCountLimit:8},pressReleases&&0!==pressReleases.length?pressReleases.map((function(pressRelease){return external_React_default.a.createElement("li",{key:pressRelease.id},external_React_default.a.createElement(Card.a,{title:pressRelease.title,eyebrow:{category:"".concat(Object(helpers.b)(pressRelease.category)),type:"".concat(isRegulatory(pressRelease.isRegulatory))},html:"<p>".concat(formatDate(pressRelease.publishDate),"</p>"),ctaUrl:Object(helpers.g)(c.detailedPageUrl,pressRelease.id),ctaLabel:"Read more"}))})):[1].map((function(m){return c.noCardMessage?external_React_default.a.createElement("li",{key:"noPostCard"},external_React_default.a.createElement(Card.a,{title:c.noCardMessage,html:"",ctaUrl:"",ctaLabel:""})):external_React_default.a.createElement(external_React_default.a.Fragment,null)}))))))};PressReleasesSlider_PressReleasesSlider.defaultProps={theme:"",content:""};__webpack_exports__.a=PressReleasesSlider_PressReleasesSlider},pOKU:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return ThemeSelector}));var styled_components__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("vOnD"),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("cDcd"),react__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__),ThemeSelector=function ThemeSelector(p){var _p$setter=p.setter,componentThemes=_p$setter.componentThemes,themeNumber=_p$setter.selectedTheme.match(/\d+/g).map(Number),chosenTheme=Object.keys(componentThemes).find((function(key){return!(!Array.isArray(themeNumber)||1!==themeNumber.length)&&(key.includes(themeNumber[0])&&componentThemes[key])})),theme=chosenTheme?componentThemes["".concat(chosenTheme)]:componentThemes.theme1;return react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(styled_components__WEBPACK_IMPORTED_MODULE_0__.ThemeProvider,{theme:theme},p.children)};__webpack_exports__.b=ThemeSelector},vhhm:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Slider_Slider}));var slicedToArray=__webpack_require__("DjBF"),external_React_=__webpack_require__("cDcd"),external_React_default=__webpack_require__.n(external_React_),Icon=__webpack_require__("lq4R"),useWindowSize=__webpack_require__("1PzU"),Card=__webpack_require__("DewC"),taggedTemplateLiteral=__webpack_require__("q5Sr"),styled_components_browser_esm=__webpack_require__("vOnD"),breakpoints=__webpack_require__("X7nx");function _templateObject4(){var data=Object(taggedTemplateLiteral.a)(["\n transform: translateX(-","%);\n "]);return _templateObject4=function _templateObject4(){return data},data}function _templateObject3(){var data=Object(taggedTemplateLiteral.a)(["\n background: var(--accent);\n cursor: default;\n opacity: 1;\n "]);return _templateObject3=function _templateObject3(){return data},data}function _templateObject2(){var data=Object(taggedTemplateLiteral.a)(["\n background-color: transparent;\n opacity: 0.3;\n border: 1px solid black;\n cursor: not-allowed;\n & path {\n stroke: var(--grey);\n }\n "]);return _templateObject2=function _templateObject2(){return data},data}function _templateObject(){var data=Object(taggedTemplateLiteral.a)(["\n svg {\n transform: rotate(180deg);\n }\n "]);return _templateObject=function _templateObject(){return data},data}var Wrapper=styled_components_browser_esm.default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-1si91iu-0"})(["display:flex;flex-direction:column;width:calc(100% - 32px);position:relative;margin:0 auto;@media ","{width:calc(100% - 48px);}@media ","{width:calc(100% - 104px);max-width:1520px;}"],breakpoints.b.tabletAndUp,breakpoints.b.desktopAndUp),Navigation=styled_components_browser_esm.default.div.withConfig({displayName:"styles__Navigation",componentId:"sc-1si91iu-1"})(["display:flex;height:0;transition:all 0.4s ease-out;height:56px;margin-top:var(--spacing-small-1);align-items:center;justify-content:space-between;opacity:0;animation:fadeIn ease-out 0.4s forwards;@media ","{margin-top:var(--spacing-medium-1);}"],breakpoints.b.desktopAndUp),View=styled_components_browser_esm.default.div.withConfig({displayName:"styles__View",componentId:"sc-1si91iu-2"})(["width:100%;margin:0 auto;"]),Control=styled_components_browser_esm.default.div.withConfig({displayName:"styles__Control",componentId:"sc-1si91iu-3"})(["height:56px;width:56px;text-align:center;border-radius:4px;margin:0 8px;background:var(--accent);cursor:pointer;flex-shrink:0;"," ",""],(function(_ref){return _ref.flipIcon&&Object(styled_components_browser_esm.css)(_templateObject())}),(function(props){return props.active&&Object(styled_components_browser_esm.css)(_templateObject2())})),styles_Dots=styled_components_browser_esm.default.div.withConfig({displayName:"styles__Dots",componentId:"sc-1si91iu-4"})(["display:flex;overflow:auto;flex-shrink:1;height:100%;align-items:center;"]),Dot=styled_components_browser_esm.default.span.withConfig({displayName:"styles__Dot",componentId:"sc-1si91iu-5"})(["height:8px;padding:4px;margin-right:12px;cursor:pointer;border-radius:50%;font-size:0;background:var(--grey);opacity:0.3;&:hover{opacity:1;background:var(--accent);}",""],(function(_ref2){return _ref2.selected&&Object(styled_components_browser_esm.css)(_templateObject3())})),List=styled_components_browser_esm.default.ul.withConfig({displayName:"styles__List",componentId:"sc-1si91iu-6"})(["transition:all 1s ease;min-height:364px;height:100%;padding:0;list-style:none;margin:0;display:grid;grid-template-rows:100%;grid-template-columns:",";width:","%;",";& > *{width:100%;opacity:0;animation:fadeIn ease-in-out 0.5s forwards;animation-delay:0.5s;& > *{height:100%;margin:0rem 0.5rem 0rem 0.5rem;}}"],(function(_ref3){var numberOfItems=_ref3.numberOfItems;return"repeat(".concat(numberOfItems,", minmax(280px, 1fr))")}),(function(_ref4){var columns=_ref4.columns;return 100*_ref4.numberOfItems/columns}),(function(_ref5){var currentSlide=_ref5.currentSlide,numberOfItems=_ref5.numberOfItems;return currentSlide&&Object(styled_components_browser_esm.css)(_templateObject4(),100*currentSlide/numberOfItems)})),slider_Dots=function Dots(p){return external_React_default.a.createElement(styles_Dots,null,Array.from(Array(Math.ceil(p.items.length/p.columns))).map((function(x,index){return external_React_default.a.createElement(Dot,{key:index,selected:index===p.current/p.interval,onClick:function onClick(){return p.handleClick(index)}})})))},Slider_Slider=function Slider(p){var _useState=Object(external_React_.useState)([]),_useState2=Object(slicedToArray.a)(_useState,2),slideItems=_useState2[0],setSlideItems=_useState2[1],_useState3=Object(external_React_.useState)(!1),_useState4=Object(slicedToArray.a)(_useState3,2),showNavigation=_useState4[0],setShowNavigation=_useState4[1],_React$useState=external_React_default.a.useState(0),_React$useState2=Object(slicedToArray.a)(_React$useState,2),currentSlide=_React$useState2[0],setCurrentSlide=_React$useState2[1],_useState5=Object(external_React_.useState)(p.columns),_useState6=Object(slicedToArray.a)(_useState5,2),columns=_useState6[0],setColumns=_useState6[1],slideInterval=Math.floor(columns),windowWidth=Object(useWindowSize.a)().width;Object(external_React_.useEffect)((function(){var _p$lastCard,slideItems=p.children.slice(0,p.cardCountLimit);p.lastCard&&p.cardCountLimit&&slideItems.pop(),p.lastCard&&slideItems.push(external_React_default.a.createElement("li",{key:"ctaCard"},external_React_default.a.createElement(Card.a,{title:null===(_p$lastCard=p.lastCard)||void 0===_p$lastCard?void 0:_p$lastCard.title,html:p.lastCard.number>0?"(".concat(p.lastCard.number,")"):"",ctaUrl:p.lastCard.link.url,ctaLabel:p.lastCard.link.text,type:"primary"}))),setSlideItems(slideItems)}),[p.lastCard,p.children]),Object(external_React_.useEffect)((function(){if(void 0!==windowWidth)switch(slideTo(0),1!==columns&&columns>=slideItems.length?setShowNavigation(!1):setShowNavigation(!0),!0){case windowWidth>1200&&p.columns>3:setColumns(4);break;case windowWidth>1024&&p.columns>2:setColumns(3);break;case windowWidth>767:setColumns(2);break;case windowWidth<767:setColumns(1)}}),[windowWidth,columns,p.lastCard,slideItems]);var slideTo=function slideTo(index){return setCurrentSlide(index*slideInterval)};return external_React_default.a.createElement(View,null,external_React_default.a.createElement(Wrapper,null,external_React_default.a.createElement(List,{currentSlide:currentSlide,numberOfItems:slideItems.length,columns:columns},slideItems),external_React_default.a.createElement(Navigation,{hasHeight:showNavigation},showNavigation&&external_React_default.a.createElement(external_React_default.a.Fragment,null,external_React_default.a.createElement(Control,{flipIcon:!0,active:currentSlide<=0,onClick:function onClick(){return function previousSlide(currentSlide){return setCurrentSlide(currentSlide<=0?0:(currentSlide-slideInterval)%slideItems.length)}(currentSlide)}},external_React_default.a.createElement(Icon.a,{icon:"arrow.svg"})),external_React_default.a.createElement(slider_Dots,{items:slideItems,columns:columns,current:currentSlide,interval:slideInterval,handleClick:slideTo}),external_React_default.a.createElement(Control,{active:currentSlide>=slideItems.length-columns,onClick:function onClick(){return function nextSlide(currentSlide){return setCurrentSlide((currentSlide<slideItems.length-slideInterval?currentSlide+slideInterval:currentSlide)%slideItems.length)}(currentSlide)}},external_React_default.a.createElement(Icon.a,{icon:"arrow.svg"}))))))}}});

@@ -75,3 +75,3 @@ ![ASSA ABLOY](https://upload.wikimedia.org/wikipedia/commons/e/e8/Assa-Abloy-Logo.svg)

**theme** \
**theme**
Two different background options:

@@ -82,3 +82,4 @@

**Dependencies** \
@assaabloy/gw-group-vendor
**Dependencies**
`@assaabloy/gw-group-vendor`
`@assaabloy/brand-styles`
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