@assaabloy/gw-group-nav-header
Advanced tools
Comparing version 7.0.1 to 7.1.0
@@ -1,1 +0,1 @@ | ||
!function(e){function n(n){for(var a,o,l=n[0],c=n[1],s=n[2],u=0,p=[];u<l.length;u++)o=l[u],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&p.push(r[o][0]),r[o]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(d&&d(n);p.length;)p.shift()();return i.push.apply(i,s||[]),t()}function t(){for(var e,n=0;n<i.length;n++){for(var t=i[n],a=!0,l=1;l<t.length;l++){var c=t[l];0!==r[c]&&(a=!1)}a&&(i.splice(n--,1),e=o(o.s=t[0]))}return e}var a={},r={13:0},i=[];function o(n){if(a[n])return a[n].exports;var t=a[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=e,o.c=a,o.d=function(e,n,t){o.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},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,n){if(1&n&&(e=o(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(o.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)o.d(t,a,function(n){return e[n]}.bind(null,a));return t},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="/";var l=this["webpackJsonpgw-group-web-components"]=this["webpackJsonpgw-group-web-components"]||[],c=l.push.bind(l);l.push=n,l=l.slice();for(var s=0;s<l.length;s++)n(l[s]);var d=c;i.push([147,0]),t()}({0:function(e,n){e.exports=React},10:function(e,n,t){"use strict";t.d(n,"a",(function(){return d}));var a=t(0),r=t.n(a),i=t(3),o=t(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}function c(){var e=Object(i.a)(["\n\na {\n color: inherit;\n text-decoration: none;\n\n &:hover {\n text-decoration: underline;\n text-decoration-thickness: var(--text-decoration-thickness);\n }\n}\n\n",";\n"]);return c=function(){return e},e}var s=o.default.div(c(),(function(e){var n=e.rowLimit;return void 0!==n&&Object(o.css)(l(),n)})),d=function(e){var n=e.text,t=e.link,a=void 0!==t&&t,i=e.size,o=e.className,l=e.rowLimit,c=r.a.createElement(i,{},n),d=r.a.createElement(i,{},r.a.createElement("a",{href:a},n));return r.a.createElement(s,{rowLimit:l,className:o},a?d:c)}},121:function(e,n,t){"use strict";t.r(n);var a=t(22),r=t(58);n.default=a.a.create({component:r.a,configuration:{tagname:"gw-group-nav-header",useShadow:!1},plugins:[]})},15:function(e,n,t){"use strict";t.d(n,"a",(function(){return h}));var a=t(2),r=t(16),i=t(0),o=t.n(i),l=t(3),c=t(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;"]),p=Object(c.keyframes)(d()),m=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 n=e.blur,t=e.cacheHit,a=e.showProgressiveImage;return t||!a||n?"":Object(c.css)(s(),p)})),f=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;}"]),g=function(e,n){var t=Object(i.useState)(""),r=Object(a.a)(t,2),o=r[0],l=r[1],c=Object(i.useState)(!1),s=Object(a.a)(c,2),d=s[0],u=s[1];return Object(i.useEffect)((function(){var t=new Image;if(t.src=n,t.complete)return l(n),void u(!0);l(e),t.onload=function(){return l(n)}}),[e,n]),[o,d]},h=function(e){var n=e.caption,t=e.metaContent,l=e.link,c=e.alt,s=e.style,d=void 0===s?"":s,p=e.image,h=e.tinyImageSrc,v=void 0===h?"":h,b=e.imageLabel,x=e.className,w=void 0===x?"":x,y=Object(r.a)(e,["caption","metaContent","link","alt","style","image","tinyImageSrc","imageLabel","className"]),k=v,E=p,j=g(k,E),O=Object(a.a)(j,2),_=O[0],C=O[1],L=Object(i.useState)(!1),N=Object(a.a)(L,2),I=N[0],z=N[1],M=_===k||!I,S=!0;k&&!C||(M=!1),k||(S=!1);var A=_?o.a.createElement(m,{src:_,alt:c,blur:M,cacheHit:C,showProgressiveImage:S,onLoad:function(){return _===E?z(!0):null}}):null;return _?o.a.createElement(u,Object.assign({},y,{className:"".concat(d," ").concat(w)}),b&&b.title&&!1!==b.visible&&o.a.createElement(f,{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},A):A,t&&o.a.createElement("meta",{itemProp:"caption",content:t}),n&&o.a.createElement("span",{className:"cmp-image__title"},n)):null}},19:function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var a=t(0),r=t.n(a),i=t(1).default.a.withConfig({displayName:"styles__View",componentId:"sc-1hnonzt-0"})(["text-decoration:none;min-height:54px;color:var(--grey);display:flex;align-items:center;font-size:var(--font-size-2);font-family:var(--font-family-body);font-weight:var(--font-weight-semi-bold);span{padding-right:10px;}svg{transition:ease-in-out 0.2s;}&:hover{text-decoration:underline;text-decoration-thickness:var(--text-decoration-thickness);}"]),o=t(8),l=function(e){var n=e.ctaLabel,t=e.ctaUrl,a=e.target,l=void 0===a?"_self":a,c=e.hasIcon,s=void 0===c||c,d=e.icon,u=void 0===d?null:d,p=u||r.a.createElement(o.a,null);return p=s?p:null,r.a.createElement(i,{href:t,target:l},r.a.createElement("span",null,n),p)}},23:function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var a=t(2),r=t(0),i=t(4);function o(){var e=Object(r.useState)({width:void 0,height:void 0}),n=Object(a.a)(e,2),t=n[0],o=n[1];return Object(r.useEffect)((function(){var e=Object(i.b)((function(){o({width:window.innerWidth,height:window.innerHeight})}),500);return window.addEventListener("resize",e),e(),function(){return window.removeEventListener("resize",e)}}),[]),t}},25:function(e,n){e.exports=ReactDOM},26:function(e,n,t){"use strict";t.d(n,"a",(function(){return c}));var a=t(18),r=t.n(a),i=t(27),o=t(2),l=t(0),c=function(e){var n=Object(l.useState)(null),t=Object(o.a)(n,2),a=t[0],c=t[1],s=Object(l.useState)(null),d=Object(o.a)(s,2),u=d[0],p=d[1],m=Object(l.useState)(!1),f=Object(o.a)(m,2),g=f[0],h=f[1];return Object(l.useEffect)((function(){(function(){var n=Object(i.a)(r.a.mark((function n(){var t,a;return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return h(!0),n.prev=1,n.next=4,fetch(e);case 4:return t=n.sent,n.next=7,t.json();case 7:a=n.sent,c(a),h(!1),n.next=15;break;case 12:n.prev=12,n.t0=n.catch(1),p(n.t0);case 15:case"end":return n.stop()}}),n,null,[[1,12]])})));return function(){return n.apply(this,arguments)}})()()}),[e]),{response:a,error:u,isLoading:g}}},4:function(e,n,t){"use strict";t.d(n,"a",(function(){return r})),t.d(n,"j",(function(){return i})),t.d(n,"c",(function(){return o})),t.d(n,"d",(function(){return l})),t.d(n,"g",(function(){return c})),t.d(n,"h",(function(){return s})),t.d(n,"f",(function(){return d})),t.d(n,"i",(function(){return u})),t.d(n,"b",(function(){return p})),t.d(n,"e",(function(){return m}));var a=t(2),r=function(e){try{return JSON.parse(decodeURIComponent(escape(atob(e))))}catch(n){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(/&/g,"&").replace(/</g,"<").replace(/>/g,">")},c=function(e){return e.sort((function(e,n){return e.created>n.created?-1:e.created<n.created?1:0}))},s=function(e){return e.sort((function(e,n){return e.created<n.created?-1:e.created>n.created?1:0}))},d=function(e){return e.sort((function(e,n){return e.title<n.title?-1:e.title>n.title?1:0}))},u=function(e){return e.sort((function(e,n){return e.title>n.title?-1:e.title<n.title?1:0}))};function p(e,n){var t,a=arguments,r=this;return function(i){clearTimeout(t),t=setTimeout((function(n){t=null,e.apply(r,a)}),n)}}var m=function(e,n){if(!n.length)return e;var t=Object(a.a)(n,1)[0];return/^\d+$/.test(e)?"".concat(e).concat(t):"string"===typeof e&&n.some((function(n){return e.endsWith(n)}))?e:"string"===typeof e&&"".concat(e.trim().replace(/\D/g,"")||"0").concat(t)}},58:function(e,n,t){"use strict";t.d(n,"a",(function(){return an}));var a=t(2),r=t(0),i=t.n(r),o=t(5),l=t.n(o),c=t(8),s=t(1),d=768,u=992,p=1200,m={mobileAndUp:"(min-width: ".concat(576,"px)"),tabletAndUp:"(min-width: ".concat(d,"px)"),desktopAndUp:"(min-width: ".concat(u,"px)"),largeDesktopAndUp:"(min-width: ".concat(p,"px)")},f=s.default.div.withConfig({displayName:"styles__View",componentId:"sc-1lptheb-0"})(["display:flex;height:100%;position:relative;button{background:none;border:none;}#level1-menu > li{margin:0 32px;background:transparent;margin:0 17px 0 var(--spacing-medium);a{font-size:var(--font-size-4);font-weight:var(--font-weight-semi-bold);line-height:var(--line-height-size-4);}}"]),g=s.default.ul.withConfig({displayName:"styles__Level1List",componentId:"sc-1lptheb-1"})(["overflow:auto;height:calc(100% - 103px);padding-top:15px !important;margin-bottom:15px;margin-top:0;background:transparent;width:100%;position:absolute;flex-shrink:0;left:",";transition:left 0.2s ease-in-out;> li{display:flex;justify-content:space-between;align-items:center;> a{display:flex;flex-grow:1;padding:15px 0;}> button{display:flex;flex-grow:0;padding:0;height:46px;width:46px;align-items:center;justify-content:center;}}@media and screen ","{height:100%;}"],(function(e){return e.isOpen?"0%":"-100%"}),m.tabletAndUp),h=s.default.li.withConfig({displayName:"styles__Level1Item",componentId:"sc-1lptheb-2"})([""]),v=[{id:"",label:"",url:"",description:"",links:[]}],b={label:"",url:"",meta:"",links:[]},x=t(3);function w(){var e=Object(x.a)(["\n width: 13px;\n height: auto;\n transform: ",";\n transition: transform 0.16s ease-in-out;\n"]);return w=function(){return e},e}function y(){var e=Object(x.a)(["\n flex-wrap: wrap;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 0 17px 0 var(--spacing-medium);\n\n & > svg {\n display: ",";\n transform: rotate(-90deg);\n width: auto;\n height: 10px;\n }\n\n & > a {\n display: flex;\n flex-grow: 1;\n padding: var(--spacing-small);\n padding-left: ",";\n font-size: var(--font-size-4);\n font-weight: "," !important; // TODO: remove !important\n }\n\n & > button {\n display: flex;\n flex-grow: 0;\n height: 46px;\n width: 46px;\n align-items: center;\n justify-content: center;\n }\n"]);return y=function(){return e},e}function k(){var e=Object(x.a)(["\n margin: 0;\n overflow: auto;\n"]);return k=function(){return e},e}function E(){var e=Object(x.a)(["\n display: flex;\n align-items: center;\n padding: 15px 15px 15px 0;\n margin-left: var(--spacing-medium);\n svg {\n height: 13px;\n width: 13px;\n transform: rotate(180deg);\n }\n span {\n font-weight: var(--font-weight-semi-bold);\n font-size: var(--font-size-4);\n padding-left: var(--spacing-mini-3);\n line-height: normal;\n }\n"]);return E=function(){return e},e}function j(){var e=Object(x.a)(["\n background: transparent;\n position: absolute;\n width: 100%;\n flex-shrink: 0;\n left: ",";\n transition: left 0.2s ease-in-out;\n display: flex;\n flex-direction: column;\n height: calc(100% - 100px);\n\n @media and screen "," {\n height: 100%;\n } ;\n"]);return j=function(){return e},e}var O=s.default.div(j(),(function(e){return e.isOpen?"0%":"100%"}),m.tabletAndUp),_=s.default.button(E()),C=s.default.ul(k()),L=s.default.li(y(),(function(e){return e.currentUrl?"block":"none"}),(function(e){return e.currentUrl?"var(--spacing-mini-2)":0}),(function(e){return e.currentUrl?"var(--font-weight-bold)":"var(--font-weight-regular)"})),N=Object(s.default)(c.a)(w(),(function(e){return e.rotate?"rotate(180deg)":"rotate(0deg)"}));function I(){var e=Object(x.a)(["\n padding: var(--spacing-small);\n margin: 0;\n & > a {\n display: flex;\n align-items: center;\n\n svg {\n display: none;\n height: 10px;\n width: auto;\n transform: rotate(-90deg);\n display: ",";\n }\n\n span {\n font-weight: ",";\n font-size: var(--font-size-3);\n padding-left: ",";\n }\n }\n"]);return I=function(){return e},e}function z(){var e=Object(x.a)(["\n flex-basis: 100%;\n border-left: 3px solid var(--assa-abloy-blue);\n"]);return z=function(){return e},e}var M=s.default.ul(z()),S=s.default.li(I(),(function(e){return e.currentUrl?"block":"none"}),(function(e){return e.currentUrl?"var(--font-weight-bold)":"var(--font-weight-regular)"}),(function(e){return e.currentUrl?"var(--spacing-mini-2)":0})),A=function(e){var n=l()({},b,e.menuItem),t=Array.isArray(n.links)?n.links:[];return i.a.createElement(M,{id:"level3-menu"},t.map((function(e,n){return i.a.createElement(S,{key:"menu-item-".concat(n),currentUrl:!1},i.a.createElement("a",{href:e.url},i.a.createElement(c.a,{icon:"chevron.svg"}),i.a.createElement("span",null,e.label)))})))},D=function(e){var n=Object(r.useState)(""),t=Object(a.a)(n,2),o=t[0],s=t[1],d=!!e.menuItem,u=l()({},b,e.menuItem),p=Array.isArray(u.links)?u.links:[],m=function(e){s(o?"":e.currentTarget.dataset.level2ItemLabel||"")};return i.a.createElement(O,{id:"level2-menu",isOpen:d},i.a.createElement(_,{onClick:function(){e.onClickBackButton()}},i.a.createElement(c.a,{icon:"arrow2.svg"}),i.a.createElement("span",null,"Back")),i.a.createElement(C,null,p.map((function(e,n){var t;return i.a.createElement(L,{key:"menu-item-".concat(n),currentUrl:!1},i.a.createElement(c.a,{icon:"chevron.svg"}),i.a.createElement("a",{href:e.url},e.label),(null===(t=e.links)||void 0===t?void 0:t.length)>0?i.a.createElement("button",{onClick:m,"data-level2-item-label":e.label},i.a.createElement(N,{icon:"chevron.svg",rotate:e.label===o})):null,e.label===o?i.a.createElement(A,{menuItem:p.find((function(e){return e.label===o}))}):null)}))))},H=function(e){var n=Object(r.useState)(""),t=Object(a.a)(n,2),o=t[0],l=t[1],s=e.menuItems.find((function(e){return e.label===o})),d=!s,u=function(e){var n=e.currentTarget.dataset.menuItemLabel||"";l(n)};return i.a.createElement(f,null,i.a.createElement(g,{id:"level1-menu",isOpen:d},e.menuItems.map((function(e,n){var t;return i.a.createElement(h,{key:"menu-item-".concat(n)},i.a.createElement("a",{href:e.url},e.label),(null===(t=e.links)||void 0===t?void 0:t.length)>0?i.a.createElement("button",{onClick:u,"data-menu-item-label":e.label},i.a.createElement(c.a,{icon:"arrow2.svg"})):null)}))),i.a.createElement(D,{menuItem:s,onClickBackButton:function(){l("")}}))};H.defaultProps={menuItems:[]};var T=H,U=t(7);function R(){var e=Object(x.a)(["\n display: flex;\n /* position: absolute;\n left: 0;\n top: 0; */\n min-height: 100%;\n box-shadow: 0px 100px 80px rgba(0, 0, 0, 0.02),\n 0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0143771),\n 0px 22.3363px 17.869px rgba(0, 0, 0, 0.0119221),\n 0px 12.5216px 10.0172px rgba(0, 0, 0, 0.01),\n 0px 6.6501px 5.32008px rgba(0, 0, 0, 0.00807786),\n 0px 2.76726px 2.21381px rgba(0, 0, 0, 0.00562291);\n\n & .meta-description {\n color: var(--grey-80);\n font-size: var(--font-size-2);\n\n margin-top: 18px;\n margin-bottom: 0px;\n }\n"]);return R=function(){return e},e}var B=s.default.div(R()),V=s.default.li.withConfig({displayName:"styles__View",componentId:"sc-1h5xuwo-0"})(["margin-left:",";.sub-menu{font-size:16px;font-size:var(--font-size-2);line-height:var(--line-height-size-2);}.main-menu{font-size:var(--font-size-3);line-height:var(--line-height-size-3);padding:14px 18px;}&.active{background-color:",";.main-menu,.sub-menu{font-weight:var(--font-weight-semi-bold) !important;}}&:hover{cursor:pointer;border-left:2px solid var(--navigation-border-color);background-color:",";.main-menu,.sub-menu{font-weight:var(--font-weight-semi-bold) !important;}}"],(function(e){var n=e.navigationLevel;if(2===n||3===n)return"18px;"}),(function(e){var n=e.navigationLevel;return 1===n?"var(--section-background-alt-2)":2===n?"var(--navigation-background-alt-1)":3===n?"var(--navigation-background-alt-2)":void 0}),(function(e){var n=e.navigationLevel;return 1===n?"var(--section-background-alt-2)":2===n?"var(--navigation-background-alt-1)":3===n?"var(--navigation-background-alt-2)":void 0})),W=s.default.a.withConfig({displayName:"styles__DirectLink",componentId:"sc-1h5xuwo-1"})(["padding:6px 18px;display:block;font-weight:400 !important;&:hover{text-decoration:none !important;}"]),P=s.default.button.withConfig({displayName:"styles__MenuLink",componentId:"sc-1h5xuwo-2"})(["text-align:left;border:none;width:100%;background-color:transparent;outline:0;padding:6px 18px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;svg{width:10px;height:10px;}"]),F=function(e){var n=e.linkType,t=void 0===n?"direct":n,o=e.handleClick,l=e.className,s=void 0===l?"link":l,d=e.link,u=e.navigationLevel,p=e.activeID,m=Object(r.useState)(""),f=Object(a.a)(m,2),g=f[0],h=f[1],v=Object(r.useRef)(null);return Object(r.useEffect)((function(){d.id===p?h("active"):h("")}),[p,d.id]),"direct"===t?i.a.createElement(V,{className:"".concat(g),navigationLevel:u,linkType:t},i.a.createElement(W,{navigationLevel:u,linkType:t,className:"direct-link ".concat(s," ").concat(g),href:d.url},d.label)):i.a.createElement(V,{navigationLevel:u,className:"".concat(g),linkType:t},i.a.createElement(P,{ref:v,navigationLevel:u,linkType:t,className:"menu-link ".concat(s),onClick:function(){o&&o(d)}},d.label,i.a.createElement(c.a,{icon:"arrow2.svg"})))},Z={id:"",label:"",links:[],metaDescription:"",url:"/#"};function q(){var e=Object(x.a)(["\n padding: 36px 36px 0 36px;\n font-size: 16px;\n display: block;\n cursor: pointer;\n &:hover {\n text-decoration: underline;\n }\n p {\n color: var(--grey-80);\n font-weight: 400;\n margin: 0;\n margin-top: 18px;\n margin-bottom: 18px;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden !important;\n }\n"]);return q=function(){return e},e}function J(){var e=Object(x.a)(["\n margin: 0;\n\n li {\n padding: 3px 0;\n margin: 0 14px !important;\n cursor: pointer;\n border-left: 2px solid transparent;\n border-left: ",";\n }\n\n &.active li {\n border-left: 2px solid transparent;\n\n &.active {\n border-left: 2px solid var(--navigation-border-color);\n }\n }\n & li:last-child {\n margin-bottom: 24px !important;\n }\n"]);return J=function(){return e},e}function K(){var e=Object(x.a)(["\n min-height: 550px;\n overflow: auto;\n padding-bottom: ",";\n padding-top: ",";\n background-color: ",";\n width: ",";\n\n @media (min-width: 980px) {\n width: ",";\n }\n\n @media (min-width: 1240px) {\n width: ",";\n }\n"]);return K=function(){return e},e}var Y=s.default.section(K(),(function(e){return 1===e.navigationLevel?"calc(84px + 56px + 32px)":"80px"}),(function(e){return 1===e.navigationLevel&&"36px"}),(function(e){var n=e.theme,t=e.navigationLevel;return"main-menu"===n?"var(--navigation-background-alt-1)":"sub-menu"===n&&2===t?"var(--navigation-background-alt-2)":"sub-menu"===n&&3===t?"var(--navigation-background-alt-1)":void 0}),(function(e){return 1===e.navigationLevel?"300px":"calc(50vw - 10.4rem)"}),(function(e){return 1===e.navigationLevel?"320px":"calc(50vw - 11rem)"}),(function(e){return 1===e.navigationLevel?"320px":"440px"})),G=s.default.ul(J(),(function(e){return 1!==e.navigationLevel&&"2px solid var(--navigation-border-color);"})),X=s.default.a(q()),$=function(e){var n,t=Object(U.a)(Object(U.a)({},e),{},{links:l()([],Z,e.content)}),o=Object(r.useState)(""),c=Object(a.a)(o,2),s=c[0],d=c[1];return Object(r.useEffect)((function(){var n;(null===(n=t.content.links)||void 0===n?void 0:n.filter((function(n){return n.id===e.activeID}))).length>0?d("active"):d("not-active")}),[e.activeID,t.content.links]),i.a.createElement(Y,{theme:e.linkType,navigationLevel:e.navigationLevel},1!==e.navigationLevel&&i.a.createElement(X,{href:t.content.url},i.a.createElement("h5",null,t.content.label),i.a.createElement("p",null,t.content.description)),i.a.createElement(G,{className:s,navigationLevel:e.navigationLevel},null===(n=t.content.links)||void 0===n?void 0:n.map((function(e){return i.a.createElement(F,{key:e.id,activeID:t.activeID,className:t.linkType,navigationLevel:t.navigationLevel,linkType:e.links?"undirect":"direct",handleClick:t.handleClick,link:e})}))))},Q=function(e){var n=e.menuItems,t=Object(r.useState)({level1:"",level2:""}),o=Object(a.a)(t,2),l=o[0],c=o[1],s=Object(r.useState)({level1:n,level2:{},level3:{}}),d=Object(a.a)(s,2),u=d[0],p=d[1],m=u.level1,f=u.level2,g=u.level3;return i.a.createElement(B,null,i.a.createElement($,{linkType:"main-menu",navigationLevel:1,content:m,handleClick:function(e){p(Object(U.a)(Object(U.a)({},u),{},{level2:e,level3:{}})),c(Object(U.a)(Object(U.a)({},l),{},{level1:e.id,level2:""}))},activeID:l.level1}),f.links&&i.a.createElement($,{linkType:"sub-menu",navigationLevel:2,content:f,handleClick:function(e){p(Object(U.a)(Object(U.a)({},u),{},{level3:e})),c(Object(U.a)(Object(U.a)({},l),{},{level2:e.id}))},activeID:l.level2}),g.links&&i.a.createElement($,{linkType:"sub-menu",navigationLevel:3,content:g}))};Q.defaultProps={};var ee=Q,ne=t(23),te=s.default.div.withConfig({displayName:"styles__View",componentId:"zbj9ay-0"})(["position:relative;background-color:transparent;height:100%;font-size:var(--font-size-3);a{text-decoration:none;font-weight:var(--font-weight-semi-bold);color:var(--grey);}ul{padding:0;li{list-style:none;}}"]),ae=s.default.div.withConfig({displayName:"styles__Nav",componentId:"zbj9ay-1"})(["display:flex;align-items:center;height:100%;min-height:72px;display:flex;align-items:center;nav{display:none;ul{display:flex;align-items:flex-start;flex-wrap:wrap;height:24px;overflow:hidden;li{height:24px;}a{color:var(--white);margin-right:var(--spacing-medium-1);&:hover{text-decoration:underline;}}}}&.open{a{opacity:0;pointer-events:none;}}&.closed{a{opacity:1;}}@media only screen and (min-width:980px){nav{display:initial;}}"]),re=s.default.div.withConfig({displayName:"styles__HamburgerNav",componentId:"zbj9ay-2"})(["overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;position:absolute;top:72px;left:-1rem;border-radius:0 0 var(--border-radius) var(--border-radius);height:calc(100vh - 112px);min-height:550px;background-color:#fff;box-shadow:inset 0px 100px 80px rgba(0,0,0,0.02),0px 41.7776px 33.4221px rgba(0,0,0,0.0143771),0px 22.3363px 17.869px rgba(0,0,0,0.0119221),0px 12.5216px 10.0172px rgba(0,0,0,0.01),0px 6.6501px 5.32008px rgba(0,0,0,0.00807786),0px 2.76826px 2.21381px rgba(0,0,0,0.00562291);nav{display:flex;flex-direction:column;flex-grow:1;height:100%;li{a:hover{text-decoration:underline;}}}@media only screen and (max-width:767px){width:100vw;}@media only screen and (min-width:767px){height:calc(100vh - 72px);overflow:unset;min-width:300px;nav li{margin:var(--spacing-medium) var(--spacing-medium) var(--spacing-medium) var(--spacing-medium-1);}height:auto;}@media only screen and (min-width:1024px){min-width:320px;}"]),ie=s.default.div.withConfig({displayName:"styles__Current",componentId:"zbj9ay-3"})(["background-color:var(--grey-80);width:100vw;padding:18px;color:var(--white);z-index:99;p{font-weight:var(--font-weight-medium);margin:0;}span{font-weight:var(--font-weight-light);display:block;}@media (min-width:767px){max-width:300px;position:absolute;bottom:0;width:100%;left:0;}@media (min-width:980px){max-width:320px;}"]),oe=s.default.div.withConfig({displayName:"styles__SwitcherContainer",componentId:"zbj9ay-4"})(["width:calc(100vw - 64px);position:absolute;z-index:999;left:var(--spacing-medium);display:flex;& .division-brand-switcher{display:flex !important;svg{padding:0.6rem;}}.dropdown{width:100%;button{width:100%;}}bottom:calc(84px + 32px);.is-visible{max-height:112px;overflow:scroll;z-index:99;}@media (min-width:768px){width:calc(300px - 28px);left:14px;}@media (min-width:980px){width:calc(320px - 28px);}@media (min-width:1025px){}@media (min-width:1200px){display:none;}"]),le=s.default.button.withConfig({displayName:"styles__Hamburger",componentId:"zbj9ay-5"})(["display:flex;align-items:center;flex-direction:column;cursor:pointer;border:none;background:none;position:relative;margin-left:0;margin-right:var(--spacing-small-1);span{background-color:var(--white);width:22px;height:2px;margin:2px 0;display:block;transform-origin:0 0;}&.open span:nth-child(1){transform:rotate(45deg) translate(1px,-2px);width:18px;}&.open span:nth-child(2){transform:scaleX(0);}&.open span:nth-child(3){transform:rotate(-45deg);width:19px;}&:hover{cursor:pointer;}@media only screen and (min-width:768px){margin-left:var(--spacing-medium);margin-right:var(--spacing-medium-1);}"]),ce=function(e){var n={links:l()([],v,e.menuItems)},t=e.marketData.name,o=Object(r.useState)(!1),c=Object(a.a)(o,2),s=c[0],d=c[1],u=Object(ne.a)().width||window.innerWidth,p=e.LanguageSwitcher,m=e.DivisionBrandSwitcher;return document.addEventListener("click",(function(e){e.target instanceof Element&&(e.target.closest(".nav-bar__navigation")||d(!1))})),i.a.createElement(te,{className:"nav-bar__navigation"},i.a.createElement(ae,null,i.a.createElement(le,{onClick:function(){d(!s)},className:s?"open":""},i.a.createElement("span",null),i.a.createElement("span",null),i.a.createElement("span",null)),!s&&i.a.createElement("nav",null,i.a.createElement("ul",null,e.menuItems.map((function(e,n){return i.a.createElement("li",{key:"menu-item-".concat(n)},i.a.createElement("a",{href:e.url},e.label))}))))),s&&i.a.createElement(re,null,i.a.createElement("nav",null,u>=767?i.a.createElement(ee,{menuItems:n}):i.a.createElement(T,{menuItems:e.menuItems})),i.a.createElement(oe,null,p&&p,m&&m),i.a.createElement(ie,null,i.a.createElement("span",null,"You are visiting"),i.a.createElement("p",null,t))))};ce.defaultProps={menuItems:[],LanguageSwitcher:void 0};var se=ce,de=t(13);var ue=function(e){var n=e.color;return i.a.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{d:"M6.15 8.981c-.046-.045.057.367.205.515.258.264.464.296.574.303.238.006.534-.058.708-.135.167-.071.464-.226.58-.445.025-.045.09-.128.045-.322-.033-.148-.13-.206-.245-.193-.116.007-.47.103-.644.155-.174.051-.522.16-.676.193-.155.026-.496-.02-.548-.071zM10.49 13.895a70.55 70.55 0 01-1.669-.702c-.16-.077-.56-.245-.747-.322.529-.818.863-1.43.908-1.527.084-.173.644-1.268.657-1.332.013-.071.026-.323.02-.38-.013-.058-.22.057-.496.148-.277.096-.812.438-1.011.483-.206.045-.863.29-1.198.405-.335.11-.973.303-1.237.374-.264.07-.49.077-.637.122 0 0 .02.206.058.264a.657.657 0 00.341.258c.161.045.425.026.547 0 .123-.026.335-.129.361-.174.026-.045-.013-.187.032-.225.052-.046.69-.194.928-.264.244-.078 1.165-.393 1.294-.374-.038.129-.786 1.604-1.024 2.048-.238.438-1.63 2.376-1.932 2.718-.225.257-.773.92-.96 1.069.046.013.387-.013.445-.052.386-.238 1.024-1.03 1.23-1.275a20.762 20.762 0 001.571-2.119c.084.032.754.58.928.702.174.123.863.509 1.017.573.148.065.728.329.747.239.02-.097-.11-.631-.174-.657z",fill:n}),i.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.605 20.367l-1.86-.142.514.844c-.103.058-.212.135-.277.168a5.753 5.753 0 01-.38.206c-.148.077-.309.154-.438.218-.109.046-.231.097-.328.142-.122.045-.238.097-.348.136-.174.057-.347.122-.508.167-.168.051-.335.09-.503.129-.225.051-.457.09-.663.122-.264.039-.509.052-.767.077h-.67c-.135 0-.798-.083-.824-.083a12.368 12.368 0 01-.734-.136 10.346 10.346 0 01-1.256-.38 8.268 8.268 0 01-.908-.405 3.524 3.524 0 01-.405-.22c-.045-.019-.284-.193-.406-.193a.213.213 0 00-.219.22c0 .064.006.128.097.186a7.875 7.875 0 001.558.786c.283.11.573.219.876.296.174.052.367.103.547.142.232.051.477.097.709.135.264.039.534.064.798.09h.986c.219 0 .991-.122 1.069-.135.141-.02.283-.058.425-.09.373-.09.792-.225 1.172-.367.29-.11.599-.245.895-.406.148-.084.322-.154.464-.251.07-.052.186-.097.277-.155l.47.767.637-1.868z",fill:n}),i.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.28 7.107l1.72.547v12.578l-9.042-2.885c-.006.013-.02.019-.026.019-.186.077-8.597 2.898-8.707 2.898-.09 0-.173-.058-.219-.154a.047.047 0 00-.003-.017.048.048 0 01-.003-.016V7.526l.009-.03a.2.2 0 01.043-.093c.05-.072.138-.096.203-.114l.028-.008.211-.07 1.535-.516v-4.47l6.53 2.306.193-.058c.45-.187 2.634-.914 3.548-1.217C15.572 3.159 18.94 2 19.043 2a.23.23 0 01.238.238v4.869zm-.45-.148V2.535L12.106 4.82l6.724 2.138zM3.45 19.71L11.592 17V4.995l-8.14 2.71V19.71zm12.102-7.168l.889-2.144.74 2.64-1.63-.496zm1.52-3.819l-1.166-.354-2.544 6.247 1.198.36.535-1.28 2.473.746.431 1.572 1.198.36-2.125-7.65z",fill:n}))},pe={background:"var(--dropdown-background-light)",color:"var(--dropdown-color)"},me={background:"var(--assa-abloy-blue-90)",color:"var(--white)"},fe=s.default.div.withConfig({displayName:"styles__View",componentId:"sc-1wm9rbq-0"})(["display:flex;@media only screen and (min-width:1025px){margin-left:0;justify-content:flex-end;}& .dropdown__button{background-color:",";color:",";&::after{border-right:2px solid #fff;border-right:",";border-bottom:",";}.dropdown__button__icon__wrapper svg > *{fill:",";}}"],(function(e){return e.theme.background}),(function(e){return e.theme.color}),(function(e){var n=e.theme;return"2px solid ".concat(n.color)}),(function(e){var n=e.theme;return"2px solid ".concat(n.color)}),(function(e){var n=e.theme;return"".concat(n.color)})),ge=s.default.div.withConfig({displayName:"styles__Dropdown",componentId:"sc-1wm9rbq-1"})(['position:relative;font-size:var(--font-size-3);@media only screen and (min-width:1025px){display:block;}.dropdown__button{display:flex;align-items:center;height:56px;position:relative;outline:none;min-width:200px;border:0;margin:0;padding:0.8rem 1rem 0.8rem 0.8rem;padding-right:calc(1.6rem + 0.5rem);border-radius:var(--border-radius);text-align:left;cursor:pointer;font-family:var(--font-family-body);font-weight:var(--font-weight-bold);&::after{content:"";position:absolute;width:8px;height:8px;right:22px;top:calc(50% - 3px);transform:rotate(45deg);border-radius:1px;transition:ease-in-out 0.16s;transform-origin:center center;}&__icon__wrapper{display:inline-block;width:24px;height:auto;margin-right:0.4rem;transform:translateY(2px);}&[aria-expanded="true"]{&::after{transform:rotate(-135deg);}}}']),he=s.default.div.withConfig({displayName:"styles__Menu",componentId:"sc-1wm9rbq-2"})(["display:none;border-radius:0 0 4px 4px;position:absolute;width:100%;z-index:1;box-shadow:0 100px 80px rgba(26,26,26,0.0168687),0 41.7776px 33.4221px rgba(26,26,26,0.0242336),0 22.3363px 17.869px rgba(26,26,26,0.03),0 12.5216px 10.0172px rgba(26,26,26,0.0357664),0 6.6501px 5.32008px rgba(26,26,26,0.0431313),0 2.76726px 2.21381px rgba(26,26,26,0.06);animation:fadeOut 0.2s linear;animation-fill-mode:forwards;opacity:0;pointer-events:none;a{opacity:0;}&.is-visible{display:block;animation:fadeIn 0.2s linear;animation-fill-mode:forwards;opacity:0;pointer-events:unset;a{animation:fadeIn 0.3s linear;animation-fill-mode:forwards;opacity:0;}}a{border-top:1px solid var(--dropdown-checkbox-border-color);min-height:56px;display:block;border-radius:0;background-color:var(--dropdown-background-white);color:var(--dropdown-color);position:relative;text-decoration:none;min-width:180px;margin:0;padding:0.8rem 1rem;padding-right:calc(1.6rem + 0.5rem);text-align:left;cursor:pointer;&.is-active{font-weight:var(--font-weight-semi-bold);}&:hover{background-color:var(--grey-5) !important;cursor:pointer;text-decoration:underline;}&:last-child{border-radius:0px 0px 0.25rem 0.25rem;}}"]),ve=function(e){var n=function(e){var n=Object(r.useState)(!1),t=Object(a.a)(n,2),i=t[0],o=t[1],l=Object(r.useRef)(null),c=Object(r.useRef)(!0),s=Object(r.useRef)(!1),d=Object(r.useRef)(null),u=Object(r.useRef)([]);Object(r.useEffect)((function(){u.current=Object(de.a)(Array(e)).map((function(){return Object(r.createRef)()}))}),[e]);var p=function(e){var n;l.current=e,null===(n=u.current[e].current)||void 0===n||n.focus()};Object(r.useEffect)((function(){c.current?c.current=!1:i&&!s.current?p(0):i||(s.current=!1)}),[i]),Object(r.useEffect)((function(){if(i){var e=function(e){setTimeout((function(){e.target instanceof Element&&(e.target.closest('[role="menu"]')instanceof Element||o(!1))}),10)};return setTimeout((function(){document.addEventListener("click",e)}),1),function(){return document.removeEventListener("click",e)}}}),[i]),Object(r.useEffect)((function(){var e=function(e){!i||"ArrowDown"!==e.key&&"ArrowUp"!==e.key||e.preventDefault()};return document.addEventListener("keydown",e),function(){return document.removeEventListener("keydown",e)}}),[i]);var m=function(e){if(function(e){return void 0!==e.key}(e)){var n=e.key;if(!["Enter"," ","Tab","ArrowDown"].includes(n))return;("Tab"===n||"ArrowDown"===n)&&s.current&&i?(e.preventDefault(),p(0)):"Tab"!==n&&(e.preventDefault(),o(!0))}else s.current=!i,o(!i)},f=function(e){var n=e.key;if(["Tab","Shift","Enter","Escape","ArrowUp","ArrowDown"].includes(n)){var t,a=l.current;if("Escape"===n)return o(!1),void(null===(t=d.current)||void 0===t||t.focus());if("Tab"!==n){if("Enter"===n)return e.currentTarget.href||e.currentTarget.click(),void o(!1);null!==a&&("ArrowUp"===n?a-=1:"ArrowDown"===n&&(a+=1),a>u.current.length-1?a=0:a<0&&(a=u.current.length-1)),null!==a&&p(a)}else o(!1)}};return{buttonProps:{onKeyDown:m,onClick:m,tabIndex:0,ref:d,role:"button","aria-haspopup":!0,"aria-expanded":i},itemProps:Object(de.a)(Array(e)).map((function(e,n){return{onKeyDown:f,tabIndex:-1,role:"menuitem",ref:u.current[n]}})),isOpen:i,setIsOpen:o}}(e.languages.length),t=n.buttonProps,o=n.itemProps,l=n.isOpen,c=n.setIsOpen,s=Object(r.useState)(e.currentLanguage),d=Object(a.a)(s,2),u=d[0],p=d[1];Object(r.useEffect)((function(){"string"===typeof e.currentLanguage&&p(e.currentLanguage)}),[e.currentLanguage]);var m=e.languages.map((function(e,n){var t=e.label,a=e.url;return i.a.createElement("a",Object.assign({key:t},o[n],{className:u===t?"is-active":"",href:a,onClick:function(e){return p(t),void c(!1)}}),t)}));return i.a.createElement(fe,{theme:function(e){switch(e){case"theme-alt-1":return pe;case"theme-alt-2":return me;default:return pe}}(e.theme),className:"nav-bar__language-switcher"},i.a.createElement(ge,{className:"dropdown"},i.a.createElement("button",Object.assign({className:"dropdown__button"},t),i.a.createElement("span",{className:"dropdown__button__icon__wrapper"},i.a.createElement(ue,{color:"#000"})),u),i.a.createElement(he,{className:l?"is-visible":"",role:"menu"},m)))};ve.defaultProps={languages:[],currentLanguage:""};var be=ve;function xe(){var e=Object(x.a)(["\n height: 56px;\n border-radius: 40px;\n display: flex;\n margin: 0;\n padding: 0;\n align-items: center;\n justify-content: center;\n position: ",";\n right: ",";\n background-color: ",";\n width: ",";\n\n @media screen and "," {\n width: 220px;\n position: relative;\n }\n\n input {\n display: flex;\n height: 46px;\n background: transparent;\n border: none;\n flex-grow: 1;\n font-size: 16px;\n font-weight: var(--font-weight-semi-bold);\n padding: 0;\n outline: none;\n padding-left: ",";\n color: ",";\n width: ",";\n\n &::placeholder {\n color: transparent;\n }\n\n @media screen and "," {\n display: flex;\n padding-left: 24px;\n &::placeholder {\n color: var(--white);\n }\n }\n }\n"]);return xe=function(){return e},e}function we(){var e=Object(x.a)(["\n display: ",";\n align-items: center;\n justify-content: center;\n width: 46px;\n height: 46px;\n background: transparent;\n border: 0;\n padding: 0;\n margin-right: 5px;\n\n svg {\n height: 15px;\n width: auto;\n }\n"]);return we=function(){return e},e}function ye(){var e=Object(x.a)(["\n display: ",";\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n background: transparent;\n border: 0;\n padding: 0;\n margin-right: 0;\n\n svg {\n height: 19px;\n width: auto;\n }\n\n @media screen and "," {\n display: ",";\n margin-right: 5px;\n width: 46px;\n height: 46px;\n }\n"]);return ye=function(){return e},e}function ke(){var e=Object(x.a)(["\n body div#addsearch-results {\n font-family: var(--font-family-body);\n font-weight: var(--font-weight-regular);\n background: var(--white);\n top: 128px !important;\n width: 408px !important;\n border: none !important;\n box-shadow:\n 0px 100px 80px rgba(0, 0, 0, 0.00696822),\n 0px 30.1471px 24.1177px rgba(0, 0, 0, 0.01),\n 0px 12.5216px 10.0172px rgba(0, 0, 0, 0.0130318),\n 0px 4.5288px 3.62304px rgba(0, 0, 0, 0.02);\n backdrop-filter: blur(100px);\n border-radius: 4px;\n padding: var(--spacing-small);\n right: unset !important;\n height: calc(100% - 150px) !important;\n\n @media screen and (max-width: 1200px) {\n right: 0 !important;\n left: unset !important;\n }\n\n @media screen and (max-width: 767px) {\n right: unset !important;\n left: unset !important;\n width: 98% !important;\n margin-left: 1%;\n margin-right: 1%;\n box-sizing: border-box;\n top: 112px !important;\n padding-right: var(--spacing-small);\n height: calc(100% - 110px) !important;\n }\n\n * {\n background-image: none !important;\n }\n\n #addsearch-top-close {\n display: none !important;\n }\n\n #addsearch-results-right {\n display: none;\n }\n\n #addsearch-results-mid {\n width: 100%;\n }\n\n #addsearch-results-bottom {\n display: none;\n }\n\n .addsearch-result-item-sub {\n margin: 0;\n width: unset !important;\n border: none;\n min-height: unset;\n\n > div {\n padding: 0;\n padding-bottom: var(--spacing-small) !important;\n padding-left: var(--spacing-small) !important;\n padding-right: var(--spacing-small) !important;\n position: relative;\n min-height: unset;\n height: unset;\n width: unset !important;\n border-bottom: 1px solid var(--grey-10);\n margin-bottom: var(--spacing-small);\n }\n\n p {\n font-size: var(--font-size-2);\n line-height: var(--line-height-loose-size-2);\n color: var(--black);\n padding: 0;\n }\n\n h2 {\n padding-top: 30px;\n\n a {\n font-size: var(--font-size-3);\n line-height: var(--line-height-loose-size-3);\n color: var(--black);\n padding: 0;\n }\n }\n\n &.addsearch-result-item-sub-active {\n background-color: unset;\n }\n\n .addsearch_category {\n position: absolute;\n margin: 0;\n top: 0;\n\n em {\n color: var(--grey-80);\n }\n }\n }\n }\n"]);return ke=function(){return e},e}var Ee=Object(s.createGlobalStyle)(ke()),je=s.default.span(ye(),(function(e){return e.isInputFocused?"none":"flex"}),m.tabletAndUp,(function(e){return e.isInputFocused?"none":"flex"})),Oe=s.default.button(we(),(function(e){return e.isInputFocused?"flex":"none"})),_e=s.default.div(xe(),(function(e){return e.isFocused?"absolute":"relative"}),(function(e){return e.isFocused&&"16px"}),(function(e){return e.isFocused?"var(--white)":"var(--assa-abloy-blue-90)"}),(function(e){return e.isFocused?"calc(100% - 80px)":"56px"}),m.tabletAndUp,(function(e){return e.isFocused?"24px":"0"}),(function(e){return e.isFocused?"var(--grey)":"var(--dark-tone-50)"}),(function(e){return e.isFocused?"100%":"0"}),m.tabletAndUp),Ce=function(e){var n,t,o=Object(r.useState)(!1),l=Object(a.a)(o,2),s=l[0],d=l[1],u=Object(r.useState)(""),p=Object(a.a)(u,2),m=p[0],f=p[1],g=Object(r.useRef)(),h=null===e||void 0===e||null===(n=e.search)||void 0===n||null===(t=n.addSearch)||void 0===t?void 0:t.id;Object(r.useEffect)((function(){window.addsearch_settings={results_box_opening_direction:"right",number_of_results:10};var e="https://addsearch.com/js/?key=".concat(h),n=document.createElement("script");n.src=e,h?document.body.appendChild(n):console.warn("Could not inject addSearch script with id: ".concat(h)),document.addEventListener("click",(function(e){if(e.target instanceof Element&&!e.target.closest("#addsearch-results")){var n=document.querySelector("#addsearch-results");n&&(n.style.display="none")}})),document.addEventListener("click",(function(e){e.target instanceof Element&&(e.target.closest(".nav-bar__search-bar")||d(!1))}))}),[h]);return i.a.createElement(i.a.Fragment,null,i.a.createElement(Ee,null),i.a.createElement(_e,{className:"nav-bar__search-bar",isFocused:s},i.a.createElement("input",{type:"text",className:"addsearch",placeholder:"Search...",disabled:!0,value:m,onChange:function(e){f(e.target.value||"")},ref:g,onFocus:function(e){d(!0)}}),i.a.createElement(je,{isInputFocused:s,onClick:function(){d(!0),g.current&&g.current.focus()}},i.a.createElement(c.a,{icon:"search.svg"})),i.a.createElement(Oe,{onClick:function(){f(""),g.current&&g.current.focus()},isInputFocused:s},i.a.createElement(c.a,{icon:"circledcross.svg"}))))},Le=s.default.div.withConfig({displayName:"styles__View",componentId:"sc-1ryuw7o-0"})(["&,a{display:flex;}justify-content:center;align-items:center;img{width:9.375rem;}@media (min-width:481px){img{width:11.63rem;}}"]),Ne=function(e){var n=e.link,t=e.image;return n&&t?i.a.createElement(Le,{className:"nav-bar__logotype"},i.a.createElement("a",{href:n},i.a.createElement("img",{src:t,alt:"logotype"}))):null},Ie=t(25),ze=t.n(Ie),Me=s.default.section.withConfig({displayName:"styles__ModalWrapper",componentId:"dxhpla-0"})(["position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999;"]),Se=s.default.div.withConfig({displayName:"styles__Modal",componentId:"dxhpla-1"})(["position:absolute;z-index:999999999;height:100%;width:100%;top:0;left:0;background-color:var(--white);overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;overflow:scroll;@media (min-width:768px){width:90%;height:auto;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:var(--border-radius);}@media (min-width:1024px){width:unset;}"]),Ae=s.default.button.withConfig({displayName:"styles__CloseModal",componentId:"dxhpla-2"})(["position:absolute;right:0;top:0;padding:20px;border:0;background:transparent;cursor:pointer;svg{width:20px;height:auto;}"]),De=s.default.div.withConfig({displayName:"styles__Overlay",componentId:"dxhpla-3"})(["position:relative;z-index:9999999;width:100%;height:100%;background-color:rgba(0,0,0,0.8);"]),He=s.default.div.withConfig({displayName:"styles__Body",componentId:"dxhpla-4"})(["height:calc(100% - 74px);background-color:#fff;"]),Te=s.default.div.withConfig({displayName:"styles__Footer",componentId:"dxhpla-5"})(["@media (min-width:768px){width:100%;height:74px;background-color:#f6f6f6;}"]),Ue=function(e){var n=document.querySelector("body"),t=Object(r.useState)(e.isOpen),o=Object(a.a)(t,2),l=o[0],s=o[1];return document.addEventListener("keydown",(function(n){"Escape"===n.key&&e.closeModal()})),Object(r.useEffect)((function(){s(e.isOpen)}),[e.isOpen,l]),l?ze.a.createPortal(i.a.createElement(Me,null,i.a.createElement(De,{onClick:e.closeModal}),i.a.createElement(Se,{className:"modal",style:Object(U.a)({},e.styles)},i.a.createElement(Ae,{onClick:e.closeModal},i.a.createElement(c.a,{icon:"cross.svg"})),i.a.createElement(He,null,e.children),i.a.createElement(Te,null))),n):null},Re=t(19),Be=t(10),Ve=s.default.div.withConfig({displayName:"styles__Wrapper",componentId:"wqnviw-0"})(["padding:3rem 1rem 0rem 1rem;border-bottom:1px solid #dfdfdf;@media (min-width:1024px){padding:1rem;border-bottom:0;border-right:1px solid #dfdfdf;}"]),We=s.default.div.withConfig({displayName:"styles__Content",componentId:"wqnviw-1"})(["margin-top:24px;p{margin-top:8px;margin-bottom:0;}.division{padding-right:32px;margin-bottom:16px;}@media (min-width:1024px){display:flex;.division{width:230px;margin-bottom:0;}}@media (min-width:1200px){display:flex;.division{width:250px;margin-bottom:0;}}"]),Pe=s.default.div.withConfig({displayName:"styles__Eyebrow",componentId:"wqnviw-2"})(["color:var(--grey-80);"]),Fe=function(e){return i.a.createElement(Ve,null,i.a.createElement(Pe,{className:"eyebrow"},e.title),i.a.createElement(We,null,e.links.map((function(e,n){return i.a.createElement("div",{className:"division",key:n},i.a.createElement(Be.a,{text:e.title,size:"h5"}),i.a.createElement("p",null,e.text),i.a.createElement(Re.a,{ctaLabel:e.link.text,ctaUrl:e.link.url,target:"_blank"}))}))))},Ze=t(15),qe=s.default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-1wcevnj-0"})(["padding:1rem;padding-top:2rem;width:100%;@media (min-width:1024px){padding-top:1rem;}"]),Je=s.default.div.withConfig({displayName:"styles__Content",componentId:"sc-1wcevnj-1"})(["margin-top:24px;display:flex;align-items:center;p{margin-top:8px;margin-bottom:0;}.brand{margin-right:1rem;img{max-width:100px;}}@media (min-width:1024px){display:block;padding-left:32px;.brand{width:150px;img{max-width:120px;}}}"]),Ke=s.default.div.withConfig({displayName:"styles__Eyebrow",componentId:"sc-1wcevnj-2"})(["color:var(--grey-80);@media (min-width:1024px){padding-left:32px;}"]),Ye=function(e){return i.a.createElement(qe,null,i.a.createElement(Ke,{className:"eyebrow"},e.title),i.a.createElement(Je,null,e.links.map((function(e,n){return i.a.createElement("div",{className:"brand",key:n},i.a.createElement(Ze.a,{image:e.logotype,link:e.linkURL,alt:""}))}))))},Ge=s.default.button.withConfig({displayName:"styles__View",componentId:"sc-641bcd-0"})(["display:flex;justify-content:center;align-items:center;border:0;cursor:pointer;background:var(--assa-abloy-blue-90);border-radius:var(--border-radius);margin-left:0.5rem;svg{box-sizing:content-box;padding:0.75rem;}"]),Xe=s.default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-641bcd-1"})(["@media (min-width:768px){padding:30px 30px 20px 30px;}@media (min-width:1024px){padding:40px 16px 16px 16px;display:flex;justify-content:space-between;}@media (min-width:1200px){padding:40px 65px;}"]),$e=function(e){var n=Object(r.useState)(!1),t=Object(a.a)(n,2),o=t[0],l=t[1];return i.a.createElement(Ge,{className:"division-brand-switcher"},i.a.createElement(Ue,{isOpen:o,closeModal:function(){return l(!1)}},i.a.createElement(Xe,null,i.a.createElement(Fe,e.divisions),i.a.createElement(Ye,e.brands))),i.a.createElement("svg",{onClick:function(){return l(!0)},width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{d:"M28.9 14.8C28.9 22.6 22.6 29 14.7 29C6.80001 29 0.600006 22.6 0.600006 14.8C0.600006 6.99998 6.90001 0.599976 14.8 0.599976C22.7 0.599976 28.9 6.99998 28.9 14.8Z",stroke:"#fff",strokeWidth:"1.2",strokeMiterlimit:"10"}),i.a.createElement("path",{d:"M8.70001 14.8C8.70001 20.4 11 25.4 14.8 29C18.6 25.4 20.9 20.4 20.9 14.8C20.9 9.19998 18.6 4.19998 14.8 0.599976C11 4.19998 8.70001 9.19998 8.70001 14.8Z",stroke:"#fff",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinejoin:"round"}),i.a.createElement("path",{d:"M3.80002 5.79999C7.00002 7.89999 10.7 9.09999 14.8 9.09999C18.9 9.09999 22.6 7.89999 25.7 5.79999",stroke:"#fff",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinejoin:"round"}),i.a.createElement("path",{d:"M25.7 23.8C22.6 21.7 18.8 20.5 14.8 20.5C10.7 20.5 6.99999 21.7 3.89999 23.8",stroke:"#fff",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinejoin:"round"}),i.a.createElement("path",{d:"M0.600006 14.8H28.9",stroke:"#fff",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round"})))},Qe=t(4),en={url:"",logo:{url:"",link:""},navigationData:{marketData:{name:""},menuItems:[]},languageSwitcherData:{currentLanguage:"",languages:[]},search:{addSearch:{id:""}},divisionBrandSwitcherData:{divisions:{title:"",links:[]},brands:{title:"",links:[]}}},nn=t(26),tn=s.default.header.withConfig({displayName:"styles__Header",componentId:"uaecoh-0"})(["background-color:var(--assa-abloy-blue);width:100vw;z-index:99;align-content:center;display:grid;grid-template-columns:repeat(5,1fr) 150px repeat(5,1fr);grid-auto-flow:column;height:72px;margin:0;border-radius:0;box-shadow:0 100px 80px rgba(0,0,0,0.02),0 41.7776px 33.4221px rgba(0,0,0,0.0143771),0 22.3363px 17.869px rgba(0,0,0,0.0119221),0 12.5216px 10.0172px rgba(0,0,0,0.01),0 6.6501px 5.32008px rgba(0,0,0,0.00807786),0 2.76726px 2.21381px rgba(0,0,0,0.00562291);padding:1rem;width:100%;.nav-bar__navigation{grid-column:1 / 6;}.nav-bar__logotype{grid-column:6 / 7;svg{fill:#fff;}}.nav-container-right{grid-column:7 / 12;display:flex;justify-content:flex-end;align-items:center;& > div{margin-left:0.5rem;}}@media only screen and (min-width:767px){grid-template-columns:repeat(5,1fr) 200px repeat(5,1fr);width:calc(100% - 32px);border-radius:4px;width:calc(100vw - 2rem);margin:var(--spacing-small) var(--spacing-small) 0 var(--spacing-small);}@media only screen and (max-width:1200px){.nav-container-right .nav-bar__language-switcher,.division-brand-switcher{display:none;}}"]),an=(s.default.div.withConfig({displayName:"styles__Placeholder",componentId:"uaecoh-1"})(["@media (min-width:1200px){width:200px;}"]),s.default.button.withConfig({displayName:"styles__ModalTrigger",componentId:"uaecoh-2"})(["width:40px;height:40px;background:grey;"]),function(e){var n=l()({},en,Object(Qe.a)(e.content)),t=Object(nn.a)(n.url),o=Object(r.useState)(n),c=Object(a.a)(o,2),s=c[0],d=c[1];Object(r.useEffect)((function(){if(null!==t.response&&null===t.error){var e=t.response;d(l()({},n,e))}else null!==t.error&&console.log(t.error)}),[t.response,t.error]);var u=(Object(ne.a)().width||0)<1200;return i.a.createElement(tn,{className:"nav-bar"},i.a.createElement(se,Object.assign({},s.navigationData,{DivisionBrandSwitcher:u?i.a.createElement($e,s.divisionBrandSwitcherData):null,LanguageSwitcher:u?i.a.createElement(be,Object.assign({theme:"theme-alt-1"},s.languageSwitcherData)):null})),i.a.createElement(Ne,{link:n.logo.link,image:n.logo.src}),i.a.createElement("div",{className:"nav-container-right"},i.a.createElement(Ce,{search:n.search}),i.a.createElement(be,Object.assign({theme:"theme-alt-2"},s.languageSwitcherData)),i.a.createElement($e,s.divisionBrandSwitcherData)))});an.defaultProps={content:""}},8:function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var a=t(0),r=t.n(a),i=function(e){var n=null;switch(e.icon){case"externalLink.svg":n=r.a.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.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"}),r.a.createElement("path",{d:"M14.08 4.81789V1H10.2679L14.08 4.81789Z",fill:"black"}),r.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"}),r.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":n=r.a.createElement("svg",{className:e.className,width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("path",{d:"M8.75 1.125L1 8.875",stroke:"#1A1A1A",strokeWidth:"1.62",strokeLinecap:"round",strokeLinejoin:"round"}),r.a.createElement("path",{d:"M1 1.125L8.75 8.875",stroke:"#1A1A1A",strokeWidth:"1.62",strokeLinecap:"round",strokeLinejoin:"round"}));break;case"arrow.svg":n=r.a.createElement("svg",{className:e.className,width:"13",height:"56",viewBox:"0 0 13 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("path",{d:"M2 2L10 10L2 18",stroke:"white",strokeWidth:"3"}));break;case"document.svg":n=r.a.createElement("svg",{className:e.className,width:"16px ",viewBox:"0 0 23.88 29.55",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("g",{id:"Layer_2","data-name":"Layer 2"},r.a.createElement("g",{id:"icons"},r.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"}),r.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"}),r.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"}),r.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":n=r.a.createElement("svg",{className:e.className,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.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":n=r.a.createElement("svg",{className:e.className,width:"11",height:"9",viewBox:"0 0 11 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("path",{d:"M5.76471 7.52942L9.52942 3.76471",stroke:"black",strokeWidth:"1.6",strokeMiterlimit:"10",strokeLinecap:"round"}),r.a.createElement("path",{d:"M5.76471 7.52942L2 3.76471",stroke:"black",strokeWidth:"1.6",strokeMiterlimit:"10",strokeLinecap:"round"}));break;case"circledcross.svg":n=r.a.createElement("svg",{className:e.className,width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.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"}),r.a.createElement("path",{d:"M10 6.5L6 10.5",stroke:"#484848",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),r.a.createElement("path",{d:"M6 6.5L10 10.5",stroke:"#484848",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}));break;case"search.svg":n=r.a.createElement("svg",{width:"19",height:"20",viewBox:"0 0 19 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("circle",{cx:"7.52083",cy:"8.02083",r:"5.33333",stroke:"white",strokeWidth:"2"}),r.a.createElement("path",{d:"M16.6265 17.1265L11.4807 11.9807",stroke:"white",strokeWidth:"2",strokeLinecap:"round"}));break;default:n=r.a.createElement("svg",{className:e.className,width:"16",height:"24",viewBox:"0 0 16 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("path",{d:"M8.08163 20L16 12L8.08163 4L6.4 5.69072L11.4367 10.7711H0V13.2289H11.4367L6.4 18.3175L8.08163 20Z",fill:"#1A1A1A"}))}return n}}}); | ||
!function(e){function t(t){for(var a,o,l=t[0],c=t[1],s=t[2],u=0,p=[];u<l.length;u++)o=l[u],Object.prototype.hasOwnProperty.call(i,o)&&i[o]&&p.push(i[o][0]),i[o]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(d&&d(t);p.length;)p.shift()();return r.push.apply(r,s||[]),n()}function n(){for(var e,t=0;t<r.length;t++){for(var n=r[t],a=!0,l=1;l<n.length;l++){var c=n[l];0!==i[c]&&(a=!1)}a&&(r.splice(t--,1),e=o(o.s=n[0]))}return e}var a={},i={13:0},r=[];function o(t){if(a[t])return a[t].exports;var n=a[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=a,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 a in e)o.d(n,a,function(t){return e[t]}.bind(null,a));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;r.push([147,0]),n()}({0:function(e,t){e.exports=React},10:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var a=n(0),i=n.n(a),r=n(3),o=n(1);function l(){var e=Object(r.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,a=void 0!==n&&n,r=e.size,o=e.className,l=e.rowLimit,s=i.a.createElement(r,{},t),d=i.a.createElement(r,{},i.a.createElement("a",{href:a},t));return i.a.createElement(c,{rowLimit:l,className:o},a?d:s)}},121:function(e,t,n){"use strict";n.r(t);var a=n(22),i=n(58);t.default=a.a.create({component:i.a,configuration:{tagname:"gw-group-nav-header",useShadow:!1},plugins:[]})},15:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var a=n(2),i=n(16),r=n(0),o=n.n(r),l=n(3),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;"]),p=Object(c.keyframes)(d()),m=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,a=e.showProgressiveImage;return n||!a||t?"":Object(c.css)(s(),p)})),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(r.useState)(""),i=Object(a.a)(n,2),o=i[0],l=i[1],c=Object(r.useState)(!1),s=Object(a.a)(c,2),d=s[0],u=s[1];return Object(r.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,p=e.image,h=e.tinyImageSrc,v=void 0===h?"":h,b=e.imageLabel,x=e.className,w=void 0===x?"":x,y=Object(i.a)(e,["caption","metaContent","link","alt","style","image","tinyImageSrc","imageLabel","className"]),k=v,E=p,_=f(k,E),j=Object(a.a)(_,2),O=j[0],C=j[1],L=Object(r.useState)(!1),I=Object(a.a)(L,2),N=I[0],z=I[1],M=O===k||!N,S=!0;k&&!C||(M=!1),k||(S=!1);var A=O?o.a.createElement(m,{src:O,alt:c,blur:M,cacheHit:C,showProgressiveImage:S,onLoad:function(){return O===E?z(!0):null}}):null;return O?o.a.createElement(u,Object.assign({},y,{className:"".concat(d," ").concat(w)}),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},A):A,n&&o.a.createElement("meta",{itemProp:"caption",content:n}),t&&o.a.createElement("span",{className:"cmp-image__title"},t)):null}},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var a=n(0),i=n.n(a),r=n(1).default.a.withConfig({displayName:"styles__View",componentId:"sc-1hnonzt-0"})(["text-decoration:none;min-height:54px;color:var(--grey);display:flex;align-items:center;font-size:var(--font-size-2);font-family:var(--font-family-body);font-weight:var(--font-weight-semi-bold);span{padding-right:10px;}svg{transition:ease-in-out 0.2s;}&:hover{text-decoration:underline;text-decoration-thickness:var(--text-decoration-thickness);}"]),o=n(8),l=function(e){var t=e.ctaLabel,n=e.ctaUrl,a=e.target,l=void 0===a?"_self":a,c=e.hasIcon,s=void 0===c||c,d=e.icon,u=void 0===d?null:d,p=u||i.a.createElement(o.a,null);return p=s?p:null,i.a.createElement(r,{href:n,target:l},i.a.createElement("span",null,t),p)}},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(2),i=n(0),r=n(4);function o(){var e=Object(i.useState)({width:void 0,height:void 0}),t=Object(a.a)(e,2),n=t[0],o=t[1];return Object(i.useEffect)((function(){var e=Object(r.b)((function(){o({width:window.innerWidth,height:window.innerHeight})}),500);return window.addEventListener("resize",e),e(),function(){return window.removeEventListener("resize",e)}}),[]),n}},25:function(e,t){e.exports=ReactDOM},26:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var a=n(18),i=n.n(a),r=n(27),o=n(2),l=n(0),c=function(e){var t=Object(l.useState)(null),n=Object(o.a)(t,2),a=n[0],c=n[1],s=Object(l.useState)(null),d=Object(o.a)(s,2),u=d[0],p=d[1],m=Object(l.useState)(!1),g=Object(o.a)(m,2),f=g[0],h=g[1];return Object(l.useEffect)((function(){(function(){var t=Object(r.a)(i.a.mark((function t(){var n,a;return i.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:a=t.sent,c(a),h(!1),t.next=15;break;case 12:t.prev=12,t.t0=t.catch(1),p(t.t0);case 15:case"end":return t.stop()}}),t,null,[[1,12]])})));return function(){return t.apply(this,arguments)}})()()}),[e]),{response:a,error:u,isLoading:f}}},4:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"j",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return l})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return s})),n.d(t,"f",(function(){return d})),n.d(t,"i",(function(){return u})),n.d(t,"b",(function(){return p})),n.d(t,"e",(function(){return m}));var a=n(2),i=function(e){try{return JSON.parse(decodeURIComponent(escape(atob(e))))}catch(t){return console.warn("Failed decoding Base64 -> UTF8. Base64 string: ",e),null}},r=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(/&/g,"&").replace(/</g,"<").replace(/>/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 p(e,t){var n,a=arguments,i=this;return function(r){clearTimeout(n),n=setTimeout((function(t){n=null,e.apply(i,a)}),t)}}var m=function(e,t){if(!t.length)return e;var n=Object(a.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)}},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return Pe}));var a=n(2),i=n(0),r=n.n(i),o=n(5),l=n.n(o),c=n(8),s=n(1),d=768,u=992,p=1200,m={mobileAndUp:"(min-width: ".concat(576,"px)"),tabletAndUp:"(min-width: ".concat(d,"px)"),desktopAndUp:"(min-width: ".concat(u,"px)"),largeDesktopAndUp:"(min-width: ".concat(p,"px)")},g=s.default.div.withConfig({displayName:"styles__View",componentId:"sc-1lptheb-0"})(["display:flex;height:100%;position:relative;button{background:none;border:none;}#level1-menu > li{margin:0 32px;background:transparent;margin:0 17px 0 var(--spacing-medium);a{font-size:var(--font-size-4);font-weight:var(--font-weight-semi-bold);line-height:var(--line-height-size-4);}}"]),f=s.default.ul.withConfig({displayName:"styles__Level1List",componentId:"sc-1lptheb-1"})(["overflow:auto;height:calc(100% - 103px);padding-top:15px !important;margin-bottom:15px;margin-top:0;background:transparent;width:100%;position:absolute;flex-shrink:0;left:",";transition:left 0.2s ease-in-out;> li{display:flex;justify-content:space-between;align-items:center;> a{display:flex;flex-grow:1;padding:15px 0;}> button{display:flex;flex-grow:0;padding:0;height:46px;width:46px;align-items:center;justify-content:center;}}@media and screen ","{height:100%;}"],(function(e){return e.isOpen?"0%":"-100%"}),m.tabletAndUp),h=s.default.li.withConfig({displayName:"styles__Level1Item",componentId:"sc-1lptheb-2"})([""]),v=[{id:"",label:"",url:"",description:"",links:[]}],b={label:"",url:"",meta:"",links:[]},x=s.default.div.withConfig({displayName:"styles__View",componentId:"sc-1cpt7dd-0"})(["background:transparent;position:absolute;width:100%;flex-shrink:0;left:",";transition:left 0.2s ease-in-out;display:flex;flex-direction:column;height:calc(100% - 100px);@media and screen ","{height:100%;};"],(function(e){return e.isOpen?"0%":"100%"}),m.tabletAndUp),w=s.default.button.withConfig({displayName:"styles__BackButton",componentId:"sc-1cpt7dd-1"})(["display:flex;align-items:center;padding:15px 15px 15px 0;margin-left:var(--spacing-medium);svg{height:13px;width:13px;transform:rotate(180deg);}span{font-weight:var(--font-weight-semi-bold);font-size:var(--font-size-4);padding-left:var(--spacing-mini-3);line-height:normal;}"]),y=s.default.ul.withConfig({displayName:"styles__Level2List",componentId:"sc-1cpt7dd-2"})(["margin:0;overflow:auto;"]),k=s.default.li.withConfig({displayName:"styles__Level2Item",componentId:"sc-1cpt7dd-3"})(["flex-wrap:wrap;display:flex;justify-content:space-between;align-items:center;margin:0 17px 0 var(--spacing-medium);& > svg{display:",";transform:rotate(-90deg);width:auto;height:10px;}& > a{display:flex;flex-grow:1;padding:var(--spacing-small);padding-left:",";font-size:var(--font-size-4);font-weight:"," !important;}& > button{display:flex;flex-grow:0;height:46px;width:46px;align-items:center;justify-content:center;}"],(function(e){return e.currentUrl?"block":"none"}),(function(e){return e.currentUrl?"var(--spacing-mini-2)":0}),(function(e){return e.currentUrl?"var(--font-weight-bold)":"var(--font-weight-regular)"})),E=Object(s.default)(c.a).withConfig({displayName:"styles__Level2ButtonIcon",componentId:"sc-1cpt7dd-4"})(["width:13px;height:auto;transform:",";transition:transform 0.16s ease-in-out;"],(function(e){return e.rotate?"rotate(180deg)":"rotate(0deg)"})),_=s.default.ul.withConfig({displayName:"styles__Level3List",componentId:"j2npqe-0"})(["flex-basis:100%;border-left:3px solid var(--assa-abloy-blue);"]),j=s.default.li.withConfig({displayName:"styles__Level3Item",componentId:"j2npqe-1"})(["padding:var(--spacing-small);margin:0;& > a{display:flex;align-items:center;svg{display:none;height:10px;width:auto;transform:rotate(-90deg);display:",";}span{font-weight:",";font-size:var(--font-size-3);padding-left:",";}}"],(function(e){return e.currentUrl?"block":"none"}),(function(e){return e.currentUrl?"var(--font-weight-bold)":"var(--font-weight-regular)"}),(function(e){return e.currentUrl?"var(--spacing-mini-2)":0})),O=function(e){var t=l()({},b,e.menuItem),n=Array.isArray(t.links)?t.links:[];return r.a.createElement(_,{id:"level3-menu"},n.map((function(e,t){return r.a.createElement(j,{key:"menu-item-".concat(t),currentUrl:!1},r.a.createElement("a",{href:e.url},r.a.createElement(c.a,{icon:"chevron.svg"}),r.a.createElement("span",null,e.label)))})))},C=function(e){var t=Object(i.useState)(""),n=Object(a.a)(t,2),o=n[0],s=n[1],d=!!e.menuItem,u=l()({},b,e.menuItem),p=Array.isArray(u.links)?u.links:[],m=function(e){s(o?"":e.currentTarget.dataset.level2ItemLabel||"")};return r.a.createElement(x,{id:"level2-menu",isOpen:d},r.a.createElement(w,{onClick:function(){e.onClickBackButton()}},r.a.createElement(c.a,{icon:"arrow2.svg"}),r.a.createElement("span",null,"Back")),r.a.createElement(y,null,p.map((function(e,t){var n;return r.a.createElement(k,{key:"menu-item-".concat(t),currentUrl:!1},r.a.createElement(c.a,{icon:"chevron.svg"}),r.a.createElement("a",{href:e.url},e.label),(null===(n=e.links)||void 0===n?void 0:n.length)>0?r.a.createElement("button",{onClick:m,"data-level2-item-label":e.label},r.a.createElement(E,{icon:"chevron.svg",rotate:e.label===o})):null,e.label===o?r.a.createElement(O,{menuItem:p.find((function(e){return e.label===o}))}):null)}))))},L=function(e){var t=Object(i.useState)(""),n=Object(a.a)(t,2),o=n[0],l=n[1],s=e.menuItems.find((function(e){return e.label===o})),d=!s,u=function(e){var t=e.currentTarget.dataset.menuItemLabel||"";l(t)};return r.a.createElement(g,null,r.a.createElement(f,{id:"level1-menu",isOpen:d},e.menuItems.map((function(e,t){var n;return r.a.createElement(h,{key:"menu-item-".concat(t)},r.a.createElement("a",{href:e.url},e.label),(null===(n=e.links)||void 0===n?void 0:n.length)>0?r.a.createElement("button",{onClick:u,"data-menu-item-label":e.label},r.a.createElement(c.a,{icon:"arrow2.svg"})):null)}))),r.a.createElement(C,{menuItem:s,onClickBackButton:function(){l("")}}))};L.defaultProps={menuItems:[]};var I=L,N=n(7),z=s.default.div.withConfig({displayName:"styles__View",componentId:"sc-1dxqxb1-0"})(["display:flex;min-height:100%;box-shadow:0px 100px 80px rgba(0,0,0,0.02),0px 41.7776px 33.4221px rgba(0,0,0,0.0143771),0px 22.3363px 17.869px rgba(0,0,0,0.0119221),0px 12.5216px 10.0172px rgba(0,0,0,0.01),0px 6.6501px 5.32008px rgba(0,0,0,0.00807786),0px 2.76726px 2.21381px rgba(0,0,0,0.00562291);& .meta-description{color:var(--grey-80);font-size:var(--font-size-2);margin-top:18px;margin-bottom:0px;}"]),M=s.default.li.withConfig({displayName:"styles__View",componentId:"sc-1h5xuwo-0"})(["margin-left:",";.sub-menu{font-size:1rem;line-height:var(--line-height-size-2);}.main-menu{font-size:1rem;line-height:var(--line-height-size-3);padding:14px 18px;}&.active{background-color:",";.main-menu,.sub-menu{font-weight:var(--font-weight-semi-bold) !important;}}&:hover{cursor:pointer;border-left:2px solid var(--navigation-border-color);background-color:",";.main-menu,.sub-menu{text-decoration:underline;}}"],(function(e){var t=e.navigationLevel;if(2===t||3===t)return"18px;"}),(function(e){var t=e.navigationLevel;return 1===t?"var(--section-background-alt-2)":2===t?"var(--navigation-background-alt-1)":3===t?"var(--navigation-background-alt-2)":void 0}),(function(e){var t=e.navigationLevel;return 1===t?"var(--section-background-alt-2)":2===t?"var(--navigation-background-alt-1)":3===t?"var(--navigation-background-alt-2)":void 0})),S=s.default.a.withConfig({displayName:"styles__DirectLink",componentId:"sc-1h5xuwo-1"})(["padding:6px 18px;display:block;font-weight:400 !important;&:hover{text-decoration:none !important;}"]),A=s.default.button.withConfig({displayName:"styles__MenuLink",componentId:"sc-1h5xuwo-2"})(["text-align:left;border:none;width:100%;background-color:transparent;outline:0;padding:6px 18px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;svg{width:10px;height:10px;}"]),D=function(e){var t=e.linkType,n=void 0===t?"direct":t,o=e.handleClick,l=e.className,s=void 0===l?"link":l,d=e.link,u=e.navigationLevel,p=e.activeID,m=Object(i.useState)(""),g=Object(a.a)(m,2),f=g[0],h=g[1],v=Object(i.useRef)(null);return Object(i.useEffect)((function(){d.id===p?h("active"):h("")}),[p,d.id]),"direct"===n?r.a.createElement(M,{className:"".concat(f),navigationLevel:u,linkType:n},r.a.createElement(S,{navigationLevel:u,linkType:n,className:"direct-link ".concat(s," ").concat(f),href:d.url},d.label)):r.a.createElement(M,{navigationLevel:u,className:"".concat(f),linkType:n},r.a.createElement(A,{ref:v,navigationLevel:u,linkType:n,className:"menu-link ".concat(s),onClick:function(){o&&o(d)}},d.label,r.a.createElement(c.a,{icon:"arrow2.svg"})))},H={id:"",label:"",links:[],metaDescription:"",url:"/#"},V=s.default.section.withConfig({displayName:"styles__View",componentId:"sc-7285u0-0"})(["min-height:550px;overflow:auto;padding-bottom:",";padding-top:",";background-color:",";width:",";@media (min-width:980px){width:",";}@media (min-width:1240px){width:",";}"],(function(e){return 1===e.navigationLevel?"calc(84px + 56px + 32px)":"80px"}),(function(e){return 1===e.navigationLevel&&"36px"}),(function(e){var t=e.theme,n=e.navigationLevel;return"main-menu"===t?"var(--navigation-background-alt-1)":"sub-menu"===t&&2===n?"var(--navigation-background-alt-2)":"sub-menu"===t&&3===n?"var(--navigation-background-alt-1)":void 0}),(function(e){return 1===e.navigationLevel?"300px":"calc(50vw - 10.4rem)"}),(function(e){return 1===e.navigationLevel?"320px":"calc(50vw - 11rem)"}),(function(e){return 1===e.navigationLevel?"320px":"440px"})),B=s.default.ul.withConfig({displayName:"styles__LinkList",componentId:"sc-7285u0-1"})(["margin:0;li{padding:3px 0;margin:0 14px !important;cursor:pointer;border-left:2px solid transparent;border-left:",";}&.active li{border-left:2px solid transparent;&.active{border-left:2px solid var(--navigation-border-color);}}& li:last-child{margin-bottom:24px !important;}"],(function(e){return 1!==e.navigationLevel&&"2px solid var(--navigation-border-color);"})),T=s.default.a.withConfig({displayName:"styles__Head",componentId:"sc-7285u0-2"})(["padding:36px 36px 0 36px;font-size:16px;display:block;cursor:pointer;&:hover{text-decoration:underline;}p{color:var(--grey-80);font-weight:400;margin:0;margin-top:18px;margin-bottom:18px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden !important;}"]),U=function(e){var t,n=Object(N.a)(Object(N.a)({},e),{},{links:l()([],H,e.content)}),o=Object(i.useState)(""),c=Object(a.a)(o,2),s=c[0],d=c[1];return Object(i.useEffect)((function(){var t;(null===(t=n.content.links)||void 0===t?void 0:t.filter((function(t){return t.id===e.activeID}))).length>0?d("active"):d("not-active")}),[e.activeID,n.content.links]),r.a.createElement(V,{theme:e.linkType,navigationLevel:e.navigationLevel},1!==e.navigationLevel&&r.a.createElement(T,{href:n.content.url},r.a.createElement("h5",null,n.content.label),r.a.createElement("p",null,n.content.description)),r.a.createElement(B,{className:s,navigationLevel:e.navigationLevel},null===(t=n.content.links)||void 0===t?void 0:t.map((function(e){return r.a.createElement(D,{key:e.id,activeID:n.activeID,className:n.linkType,navigationLevel:n.navigationLevel,linkType:e.links?"undirect":"direct",handleClick:n.handleClick,link:e})}))))},R=function(e){var t=e.menuItems,n=Object(i.useState)({level1:"",level2:""}),o=Object(a.a)(n,2),l=o[0],c=o[1],s=Object(i.useState)({level1:t,level2:{},level3:{}}),d=Object(a.a)(s,2),u=d[0],p=d[1],m=u.level1,g=u.level2,f=u.level3;return r.a.createElement(z,null,r.a.createElement(U,{linkType:"main-menu",navigationLevel:1,content:m,handleClick:function(e){p(Object(N.a)(Object(N.a)({},u),{},{level2:e,level3:{}})),c(Object(N.a)(Object(N.a)({},l),{},{level1:e.id,level2:""}))},activeID:l.level1}),g.links&&r.a.createElement(U,{linkType:"sub-menu",navigationLevel:2,content:g,handleClick:function(e){p(Object(N.a)(Object(N.a)({},u),{},{level3:e})),c(Object(N.a)(Object(N.a)({},l),{},{level2:e.id}))},activeID:l.level2}),f.links&&r.a.createElement(U,{linkType:"sub-menu",navigationLevel:3,content:f}))};R.defaultProps={};var W=R,P=n(23),F=s.default.div.withConfig({displayName:"styles__View",componentId:"zbj9ay-0"})(["position:relative;background-color:transparent;height:100%;font-size:16px;a{text-decoration:none;font-weight:var(--font-weight-medium);color:var(--grey);}ul{padding:0;li{list-style:none;}}"]),Z=s.default.div.withConfig({displayName:"styles__Nav",componentId:"zbj9ay-1"})(["display:flex;align-items:center;height:100%;min-height:64px;display:flex;align-items:center;nav{display:none;ul{display:flex;align-items:flex-start;flex-wrap:wrap;height:24px;overflow:hidden;li{height:24px;}a{color:var(--white);margin-right:var(--spacing-medium-1);&:hover{text-decoration:underline;}}}}&.open{a{opacity:0;pointer-events:none;}}&.closed{a{opacity:1;}}@media only screen and (min-width:980px){nav{display:initial;}}"]),q=s.default.div.withConfig({displayName:"styles__HamburgerNav",componentId:"zbj9ay-2"})(["overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;position:absolute;top:64px;left:-1rem;border-radius:0 0 var(--border-radius) var(--border-radius);height:calc(100vh - 112px);min-height:550px;background-color:#fff;box-shadow:inset 0px 100px 80px rgba(0,0,0,0.02),0px 41.7776px 33.4221px rgba(0,0,0,0.0143771),0px 22.3363px 17.869px rgba(0,0,0,0.0119221),0px 12.5216px 10.0172px rgba(0,0,0,0.01),0px 6.6501px 5.32008px rgba(0,0,0,0.00807786),0px 2.76826px 2.21381px rgba(0,0,0,0.00562291);nav{display:flex;flex-direction:column;flex-grow:1;height:100%;li{a:hover{text-decoration:underline;}}}@media only screen and (max-width:767px){width:100vw;}@media only screen and (min-width:767px){height:calc(100vh - 72px);overflow:unset;min-width:300px;nav li{margin:var(--spacing-medium) var(--spacing-medium) var(--spacing-medium) var(--spacing-medium-1);}height:auto;}@media only screen and (min-width:1024px){min-width:320px;}"]),J=s.default.div.withConfig({displayName:"styles__Current",componentId:"zbj9ay-3"})(["background-color:var(--grey-80);width:100vw;padding:18px;color:var(--white);z-index:99;p{font-weight:var(--font-weight-medium);margin:0;}span{font-weight:var(--font-weight-light);display:block;}@media (min-width:767px){max-width:300px;position:absolute;bottom:0;width:100%;left:0;}@media (min-width:980px){max-width:320px;}"]),K=s.default.div.withConfig({displayName:"styles__SwitcherContainer",componentId:"zbj9ay-4"})(["width:calc(100vw - 64px);position:absolute;z-index:999;left:var(--spacing-medium);display:flex;& .division-brand-switcher{display:flex !important;}.dropdown{width:100%;button{width:100%;}}bottom:calc(84px + 32px);.is-visible{max-height:112px;overflow:scroll;z-index:99;}@media (min-width:768px){width:calc(300px - 28px);left:14px;}@media (min-width:980px){width:calc(320px - 28px);}@media (min-width:1025px){}@media (min-width:1200px){display:none;}"]),Y=s.default.button.withConfig({displayName:"styles__Hamburger",componentId:"zbj9ay-5"})(["display:flex;align-items:center;flex-direction:column;cursor:pointer;border:none;background:none;position:relative;margin-left:0;margin-right:var(--spacing-small-1);span{background-color:var(--white);width:22px;height:2px;margin:2px 0;display:block;transform-origin:0 0;}&.open span:nth-child(1){transform:rotate(45deg) translate(1px,-2px);width:18px;}&.open span:nth-child(2){transform:scaleX(0);}&.open span:nth-child(3){transform:rotate(-45deg);width:19px;}&:hover{cursor:pointer;}@media only screen and (min-width:768px){margin-left:var(--spacing-small);margin-right:var(--spacing-medium);}"]),G=function(e){var t={links:l()([],v,e.menuItems)},n=e.marketData.name,o=Object(i.useState)(!1),c=Object(a.a)(o,2),s=c[0],d=c[1],u=Object(P.a)().width||window.innerWidth,p=e.LanguageSwitcher,m=e.DivisionBrandSwitcher;return document.addEventListener("click",(function(e){e.target instanceof Element&&(e.target.closest(".nav-bar__navigation")||d(!1))})),r.a.createElement(F,{className:"nav-bar__navigation"},r.a.createElement(Z,null,r.a.createElement(Y,{onClick:function(){d(!s)},className:s?"open":""},r.a.createElement("span",null),r.a.createElement("span",null),r.a.createElement("span",null)),!s&&r.a.createElement("nav",null,r.a.createElement("ul",null,e.menuItems.map((function(e,t){return r.a.createElement("li",{key:"menu-item-".concat(t)},r.a.createElement("a",{href:e.url},e.label))}))))),s&&r.a.createElement(q,null,r.a.createElement("nav",null,u>=767?r.a.createElement(W,{menuItems:t}):r.a.createElement(I,{menuItems:e.menuItems})),r.a.createElement(K,null,p&&p,m&&m),r.a.createElement(J,null,r.a.createElement("span",null,"You are visiting"),r.a.createElement("p",null,n))))};G.defaultProps={menuItems:[],LanguageSwitcher:void 0};var X=G,$=n(13);var Q=function(e){var t=e.color;return r.a.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("path",{d:"M6.15 8.981c-.046-.045.057.367.205.515.258.264.464.296.574.303.238.006.534-.058.708-.135.167-.071.464-.226.58-.445.025-.045.09-.128.045-.322-.033-.148-.13-.206-.245-.193-.116.007-.47.103-.644.155-.174.051-.522.16-.676.193-.155.026-.496-.02-.548-.071zM10.49 13.895a70.55 70.55 0 01-1.669-.702c-.16-.077-.56-.245-.747-.322.529-.818.863-1.43.908-1.527.084-.173.644-1.268.657-1.332.013-.071.026-.323.02-.38-.013-.058-.22.057-.496.148-.277.096-.812.438-1.011.483-.206.045-.863.29-1.198.405-.335.11-.973.303-1.237.374-.264.07-.49.077-.637.122 0 0 .02.206.058.264a.657.657 0 00.341.258c.161.045.425.026.547 0 .123-.026.335-.129.361-.174.026-.045-.013-.187.032-.225.052-.046.69-.194.928-.264.244-.078 1.165-.393 1.294-.374-.038.129-.786 1.604-1.024 2.048-.238.438-1.63 2.376-1.932 2.718-.225.257-.773.92-.96 1.069.046.013.387-.013.445-.052.386-.238 1.024-1.03 1.23-1.275a20.762 20.762 0 001.571-2.119c.084.032.754.58.928.702.174.123.863.509 1.017.573.148.065.728.329.747.239.02-.097-.11-.631-.174-.657z",fill:t}),r.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.605 20.367l-1.86-.142.514.844c-.103.058-.212.135-.277.168a5.753 5.753 0 01-.38.206c-.148.077-.309.154-.438.218-.109.046-.231.097-.328.142-.122.045-.238.097-.348.136-.174.057-.347.122-.508.167-.168.051-.335.09-.503.129-.225.051-.457.09-.663.122-.264.039-.509.052-.767.077h-.67c-.135 0-.798-.083-.824-.083a12.368 12.368 0 01-.734-.136 10.346 10.346 0 01-1.256-.38 8.268 8.268 0 01-.908-.405 3.524 3.524 0 01-.405-.22c-.045-.019-.284-.193-.406-.193a.213.213 0 00-.219.22c0 .064.006.128.097.186a7.875 7.875 0 001.558.786c.283.11.573.219.876.296.174.052.367.103.547.142.232.051.477.097.709.135.264.039.534.064.798.09h.986c.219 0 .991-.122 1.069-.135.141-.02.283-.058.425-.09.373-.09.792-.225 1.172-.367.29-.11.599-.245.895-.406.148-.084.322-.154.464-.251.07-.052.186-.097.277-.155l.47.767.637-1.868z",fill:t}),r.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.28 7.107l1.72.547v12.578l-9.042-2.885c-.006.013-.02.019-.026.019-.186.077-8.597 2.898-8.707 2.898-.09 0-.173-.058-.219-.154a.047.047 0 00-.003-.017.048.048 0 01-.003-.016V7.526l.009-.03a.2.2 0 01.043-.093c.05-.072.138-.096.203-.114l.028-.008.211-.07 1.535-.516v-4.47l6.53 2.306.193-.058c.45-.187 2.634-.914 3.548-1.217C15.572 3.159 18.94 2 19.043 2a.23.23 0 01.238.238v4.869zm-.45-.148V2.535L12.106 4.82l6.724 2.138zM3.45 19.71L11.592 17V4.995l-8.14 2.71V19.71zm12.102-7.168l.889-2.144.74 2.64-1.63-.496zm1.52-3.819l-1.166-.354-2.544 6.247 1.198.36.535-1.28 2.473.746.431 1.572 1.198.36-2.125-7.65z",fill:t}))},ee={background:"var(--dropdown-background-light)",color:"var(--dropdown-color)"},te={background:"var(--assa-abloy-blue-90)",color:"var(--white)"},ne=s.default.div.withConfig({displayName:"styles__View",componentId:"sc-1wm9rbq-0"})(["display:flex;@media only screen and (min-width:1025px){margin-left:0;justify-content:flex-end;}& .dropdown__button{background-color:",";color:",";&::after{border-right:2px solid #fff;border-right:",";border-bottom:",";display:",";}.dropdown__button__icon__wrapper svg > *{fill:",";}}"],(function(e){return e.theme.background}),(function(e){return e.theme.color}),(function(e){var t=e.theme;return"2px solid ".concat(t.color)}),(function(e){var t=e.theme;return"2px solid ".concat(t.color)}),(function(e){return e.hasLanguages<=1&&"none"}),(function(e){var t=e.theme;return"".concat(t.color)})),ae=s.default.div.withConfig({displayName:"styles__Dropdown",componentId:"sc-1wm9rbq-1"})(["position:relative;font-size:16px;@media only screen and (min-width:1025px){display:block;}.dropdown__button{display:flex;align-items:center;height:46px;position:relative;outline:none;min-width:120px;border:0;margin:0;padding:0.8rem 1rem 0.8rem 0.8rem;padding-right:",';border-radius:var(--border-radius);text-align:left;cursor:pointer;font-family:var(--font-family-body);font-weight:var(--font-weight-medium);&::after{content:"";position:absolute;width:8px;height:8px;right:16px;top:calc(50% - 3px);transform:rotate(45deg);border-radius:1px;transition:ease-in-out 0.16s;transform-origin:center center;}&__icon__wrapper{display:inline-block;width:24px;height:auto;margin-right:0.4rem;transform:translateY(2px);}&[aria-expanded="true"]{&::after{transform:rotate(-135deg);}}}'],(function(e){return e.hasLanguages<=1?"0.8rem":"calc(1.6rem + 0.5rem)"})),ie=s.default.div.withConfig({displayName:"styles__Menu",componentId:"sc-1wm9rbq-2"})(["display:none;border-radius:0 0 4px 4px;position:absolute;width:100%;z-index:1;box-shadow:0 100px 80px rgba(26,26,26,0.0168687),0 41.7776px 33.4221px rgba(26,26,26,0.0242336),0 22.3363px 17.869px rgba(26,26,26,0.03),0 12.5216px 10.0172px rgba(26,26,26,0.0357664),0 6.6501px 5.32008px rgba(26,26,26,0.0431313),0 2.76726px 2.21381px rgba(26,26,26,0.06);animation:fadeOut 0.2s linear;animation-fill-mode:forwards;opacity:0;pointer-events:none;a{opacity:0;}&.is-visible{display:block;animation:fadeIn 0.2s linear;animation-fill-mode:forwards;opacity:0;pointer-events:unset;a{animation:fadeIn 0.3s linear;animation-fill-mode:forwards;opacity:0;}}a{border-top:1px solid var(--dropdown-checkbox-border-color);min-height:56px;display:block;border-radius:0;background-color:var(--dropdown-background-white);color:var(--dropdown-color);position:relative;text-decoration:none;min-width:120px;margin:0;padding:0.8rem 1rem;padding-right:calc(1.6rem + 0.5rem);text-align:left;cursor:pointer;&.is-active{font-weight:var(--font-weight-semi-bold);}&:hover{background-color:var(--grey-5) !important;cursor:pointer;text-decoration:underline;}&:last-child{border-radius:0px 0px 0.25rem 0.25rem;}}"]),re=function(e){var t=function(e){var t=Object(i.useState)(!1),n=Object(a.a)(t,2),r=n[0],o=n[1],l=Object(i.useRef)(null),c=Object(i.useRef)(!0),s=Object(i.useRef)(!1),d=Object(i.useRef)(null),u=Object(i.useRef)([]);Object(i.useEffect)((function(){u.current=Object($.a)(Array(e)).map((function(){return Object(i.createRef)()}))}),[e]);var p=function(e){var t;l.current=e,null===(t=u.current[e].current)||void 0===t||t.focus()};Object(i.useEffect)((function(){c.current?c.current=!1:r&&!s.current?p(0):r||(s.current=!1)}),[r]),Object(i.useEffect)((function(){if(r){var e=function(e){setTimeout((function(){e.target instanceof Element&&(e.target.closest('[role="menu"]')instanceof Element||o(!1))}),10)};return setTimeout((function(){document.addEventListener("click",e)}),1),function(){return document.removeEventListener("click",e)}}}),[r]),Object(i.useEffect)((function(){var e=function(e){!r||"ArrowDown"!==e.key&&"ArrowUp"!==e.key||e.preventDefault()};return document.addEventListener("keydown",e),function(){return document.removeEventListener("keydown",e)}}),[r]);var m=function(e){if(function(e){return void 0!==e.key}(e)){var t=e.key;if(!["Enter"," ","Tab","ArrowDown"].includes(t))return;("Tab"===t||"ArrowDown"===t)&&s.current&&r?(e.preventDefault(),p(0)):"Tab"!==t&&(e.preventDefault(),o(!0))}else s.current=!r,o(!r)},g=function(e){var t=e.key;if(["Tab","Shift","Enter","Escape","ArrowUp","ArrowDown"].includes(t)){var n,a=l.current;if("Escape"===t)return o(!1),void(null===(n=d.current)||void 0===n||n.focus());if("Tab"!==t){if("Enter"===t)return e.currentTarget.href||e.currentTarget.click(),void o(!1);null!==a&&("ArrowUp"===t?a-=1:"ArrowDown"===t&&(a+=1),a>u.current.length-1?a=0:a<0&&(a=u.current.length-1)),null!==a&&p(a)}else o(!1)}};return{buttonProps:{onKeyDown:m,onClick:m,tabIndex:0,ref:d,role:"button","aria-haspopup":!0,"aria-expanded":r},itemProps:Object($.a)(Array(e)).map((function(e,t){return{onKeyDown:g,tabIndex:-1,role:"menuitem",ref:u.current[t]}})),isOpen:r,setIsOpen:o}}(e.languages.length),n=t.buttonProps,o=t.itemProps,l=t.isOpen,c=t.setIsOpen,s=Object(i.useState)(e.currentLanguage),d=Object(a.a)(s,2),u=d[0],p=d[1];Object(i.useEffect)((function(){"string"===typeof e.currentLanguage&&p(e.currentLanguage)}),[e.currentLanguage]);var m=e.languages.map((function(e,t){var n=e.label,a=e.url;return r.a.createElement("a",Object.assign({key:n},o[t],{className:u===n?"is-active":"",href:a,onClick:function(e){return p(n),void c(!1)}}),n)}));return r.a.createElement(ne,{theme:function(e){switch(e){case"theme-alt-1":return ee;case"theme-alt-2":return te;default:return ee}}(e.theme),hasLanguages:m.length,className:"nav-bar__language-switcher"},r.a.createElement(ae,{hasLanguages:m.length,className:"dropdown"},r.a.createElement("button",Object.assign({className:"dropdown__button"},n),r.a.createElement("span",{className:"dropdown__button__icon__wrapper"},r.a.createElement(Q,{color:"#000"})),u),r.a.createElement(ie,{className:l?"is-visible":"",role:"menu"},m.length>1&&m)))};re.defaultProps={languages:[],currentLanguage:""};var oe=re,le=n(3);function ce(){var e=Object(le.a)(["\n body div#addsearch-results {\n font-family: var(--font-family-body);\n font-weight: var(--font-weight-regular);\n background: var(--white);\n top: 128px !important;\n width: 408px !important;\n border: none !important;\n box-shadow:\n 0px 100px 80px rgba(0, 0, 0, 0.00696822),\n 0px 30.1471px 24.1177px rgba(0, 0, 0, 0.01),\n 0px 12.5216px 10.0172px rgba(0, 0, 0, 0.0130318),\n 0px 4.5288px 3.62304px rgba(0, 0, 0, 0.02);\n backdrop-filter: blur(100px);\n border-radius: 4px;\n padding: var(--spacing-small);\n right: unset !important;\n height: calc(100% - 150px) !important;\n\n @media screen and (max-width: 1200px) {\n right: 0 !important;\n left: unset !important;\n }\n\n @media screen and (max-width: 767px) {\n right: unset !important;\n left: unset !important;\n width: 98% !important;\n margin-left: 1%;\n margin-right: 1%;\n box-sizing: border-box;\n top: 112px !important;\n padding-right: var(--spacing-small);\n height: calc(100% - 110px) !important;\n }\n\n * {\n background-image: none !important;\n }\n\n #addsearch-top-close {\n display: none !important;\n }\n\n #addsearch-results-right {\n display: none;\n }\n\n #addsearch-results-mid {\n width: 100%;\n }\n\n #addsearch-results-bottom {\n display: none;\n }\n\n .addsearch-result-item-sub {\n margin: 0;\n width: unset !important;\n border: none;\n min-height: unset;\n\n > div {\n padding: 0;\n padding-bottom: var(--spacing-small) !important;\n padding-left: var(--spacing-small) !important;\n padding-right: var(--spacing-small) !important;\n position: relative;\n min-height: unset;\n height: unset;\n width: unset !important;\n border-bottom: 1px solid var(--grey-10);\n margin-bottom: var(--spacing-small);\n }\n\n p {\n font-size: var(--font-size-2);\n line-height: var(--line-height-loose-size-2);\n color: var(--black);\n padding: 0;\n }\n\n h2 {\n padding-top: 30px;\n\n a {\n font-size: var(--font-size-3);\n line-height: var(--line-height-loose-size-3);\n color: var(--black);\n padding: 0;\n }\n }\n\n &.addsearch-result-item-sub-active {\n background-color: unset;\n }\n\n .addsearch_category {\n position: absolute;\n margin: 0;\n top: 0;\n\n em {\n color: var(--grey-80);\n }\n }\n }\n }\n"]);return ce=function(){return e},e}var se=Object(s.createGlobalStyle)(ce()),de=s.default.span.withConfig({displayName:"styles__SearchIcon",componentId:"wan7wq-0"})(["display:",";align-items:center;justify-content:center;width:100%;height:100%;background:transparent;border:0;padding:0;margin-right:0;svg{height:19px;width:auto;}@media screen and ","{display:",";margin-right:5px;width:46px;height:46px;}"],(function(e){return e.isInputFocused?"none":"flex"}),m.tabletAndUp,(function(e){return e.isInputFocused?"none":"flex"})),ue=s.default.button.withConfig({displayName:"styles__ClearButton",componentId:"wan7wq-1"})(["display:",";align-items:center;justify-content:center;width:46px;height:46px;background:transparent;border:0;padding:0;margin-right:5px;svg{height:15px;width:auto;}"],(function(e){return e.isInputFocused?"flex":"none"})),pe=s.default.div.withConfig({displayName:"styles__View",componentId:"wan7wq-2"})(["height:46px;border-radius:40px;display:flex;margin:0;padding:0;align-items:center;justify-content:center;position:",";right:",";background-color:",";width:",";@media screen and ","{right:8px;width:150px;width:",";position:relative;}input{display:flex;height:46px;background:transparent;border:none;flex-grow:1;font-size:16px;font-weight:var(--font-weight-medium);padding:0;outline:none;padding-left:",";color:",";width:",";&::placeholder{color:transparent;}@media screen and ","{display:flex;padding-left:24px;&::placeholder{color:var(--white);}}}"],(function(e){return e.isFocused?"absolute":"relative"}),(function(e){return e.isFocused&&"8px"}),(function(e){return e.isFocused?"var(--white)":"var(--assa-abloy-blue-90)"}),(function(e){return e.isFocused?"calc(100% - 80px)":"46px"}),m.tabletAndUp,(function(e){return e.isFocused?"220px":"150px"}),(function(e){return e.isFocused?"24px":"0"}),(function(e){return e.isFocused?"var(--grey)":"var(--dark-tone-50)"}),(function(e){return e.isFocused?"100%":"0"}),m.tabletAndUp),me=function(e){var t,n,o=Object(i.useState)(!1),l=Object(a.a)(o,2),s=l[0],d=l[1],u=Object(i.useState)(""),p=Object(a.a)(u,2),m=p[0],g=p[1],f=Object(i.useRef)(),h=null===e||void 0===e||null===(t=e.search)||void 0===t||null===(n=t.addSearch)||void 0===n?void 0:n.id;Object(i.useEffect)((function(){window.addsearch_settings={results_box_opening_direction:"right",number_of_results:10};var e="https://addsearch.com/js/?key=".concat(h),t=document.createElement("script");t.src=e,h?document.body.appendChild(t):console.warn("Could not inject addSearch script with id: ".concat(h)),document.addEventListener("click",(function(e){if(e.target instanceof Element&&!e.target.closest("#addsearch-results")){var t=document.querySelector("#addsearch-results");t&&(t.style.display="none")}})),document.addEventListener("click",(function(e){e.target instanceof Element&&(e.target.closest(".nav-bar__search-bar")||d(!1))}))}),[h]);return r.a.createElement(r.a.Fragment,null,r.a.createElement(se,null),r.a.createElement(pe,{className:"nav-bar__search-bar",isFocused:s},r.a.createElement("input",{type:"text",className:"addsearch",placeholder:"Search",disabled:!0,value:m,onChange:function(e){g(e.target.value||"")},ref:f,onFocus:function(e){d(!0)}}),r.a.createElement(de,{isInputFocused:s,onClick:function(){d(!0),f.current&&f.current.focus()}},r.a.createElement(c.a,{icon:"search.svg"})),r.a.createElement(ue,{onClick:function(){g(""),f.current&&f.current.focus()},isInputFocused:s},r.a.createElement(c.a,{icon:"circledcross.svg"}))))},ge=s.default.div.withConfig({displayName:"styles__View",componentId:"sc-1ryuw7o-0"})(["&,a{display:flex;}justify-content:center;align-items:center;img{width:9.375rem;}@media (min-width:481px){img{width:11.63rem;}}"]),fe=function(e){var t=e.link,n=e.image;return t&&n?r.a.createElement(ge,{className:"nav-bar__logotype"},r.a.createElement("a",{href:t},r.a.createElement("img",{src:n,alt:"logotype"}))):null},he=n(25),ve=n.n(he),be=s.default.section.withConfig({displayName:"styles__ModalWrapper",componentId:"dxhpla-0"})(["position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999;"]),xe=s.default.div.withConfig({displayName:"styles__Modal",componentId:"dxhpla-1"})(["position:absolute;z-index:999999999;height:100%;width:100%;top:0;left:0;background-color:var(--white);overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;overflow:scroll;@media (min-width:768px){width:90%;height:auto;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:var(--border-radius);}@media (min-width:1024px){width:unset;}"]),we=s.default.button.withConfig({displayName:"styles__CloseModal",componentId:"dxhpla-2"})(["position:absolute;right:0;top:0;padding:20px;border:0;background:transparent;cursor:pointer;svg{width:20px;height:auto;}"]),ye=s.default.div.withConfig({displayName:"styles__Overlay",componentId:"dxhpla-3"})(["position:relative;z-index:9999999;width:100%;height:100%;background-color:rgba(0,0,0,0.8);"]),ke=s.default.div.withConfig({displayName:"styles__Body",componentId:"dxhpla-4"})(["height:calc(100% - 74px);background-color:#fff;"]),Ee=s.default.div.withConfig({displayName:"styles__Footer",componentId:"dxhpla-5"})(["@media (min-width:768px){width:100%;height:74px;background-color:#f6f6f6;}"]),_e=function(e){var t=document.querySelector("body"),n=Object(i.useState)(e.isOpen),o=Object(a.a)(n,2),l=o[0],s=o[1];return document.addEventListener("keydown",(function(t){"Escape"===t.key&&e.closeModal()})),Object(i.useEffect)((function(){s(e.isOpen)}),[e.isOpen,l]),l?ve.a.createPortal(r.a.createElement(be,null,r.a.createElement(ye,{onClick:e.closeModal}),r.a.createElement(xe,{className:"modal",style:Object(N.a)({},e.styles)},r.a.createElement(we,{onClick:e.closeModal},r.a.createElement(c.a,{icon:"cross.svg"})),r.a.createElement(ke,null,e.children),r.a.createElement(Ee,null))),t):null},je=n(19),Oe=n(10),Ce=s.default.div.withConfig({displayName:"styles__Wrapper",componentId:"wqnviw-0"})(["padding:3rem 1rem 0rem 1rem;border-bottom:1px solid #dfdfdf;@media (min-width:1024px){padding:1rem;border-bottom:0;border-right:1px solid #dfdfdf;}"]),Le=s.default.div.withConfig({displayName:"styles__Content",componentId:"wqnviw-1"})(["margin-top:24px;p{margin-top:8px;margin-bottom:0;}.division{padding-right:32px;margin-bottom:16px;}@media (min-width:1024px){display:flex;.division{width:230px;margin-bottom:0;}}@media (min-width:1200px){display:flex;.division{width:250px;margin-bottom:0;}}"]),Ie=s.default.div.withConfig({displayName:"styles__Eyebrow",componentId:"wqnviw-2"})(["color:var(--grey-80);"]),Ne=function(e){return r.a.createElement(Ce,null,r.a.createElement(Ie,{className:"eyebrow"},e.title),r.a.createElement(Le,null,e.links.map((function(e,t){return r.a.createElement("div",{className:"division",key:t},r.a.createElement(Oe.a,{text:e.title,size:"h5"}),r.a.createElement("p",null,e.text),r.a.createElement(je.a,{ctaLabel:e.link.text,ctaUrl:e.link.url,target:"_blank"}))}))))},ze=n(15),Me=s.default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-1wcevnj-0"})(["padding:1rem;padding-top:2rem;width:100%;@media (min-width:1024px){padding-top:1rem;}"]),Se=s.default.div.withConfig({displayName:"styles__Content",componentId:"sc-1wcevnj-1"})(["margin-top:24px;display:flex;align-items:center;p{margin-top:8px;margin-bottom:0;}.brand{margin-right:1rem;img{max-width:100px;}}@media (min-width:1024px){display:block;padding-left:32px;.brand{width:150px;img{max-width:120px;}}}"]),Ae=s.default.div.withConfig({displayName:"styles__Eyebrow",componentId:"sc-1wcevnj-2"})(["color:var(--grey-80);@media (min-width:1024px){padding-left:32px;}"]),De=function(e){return r.a.createElement(Me,null,r.a.createElement(Ae,{className:"eyebrow"},e.title),r.a.createElement(Se,null,e.links.map((function(e,t){return r.a.createElement("div",{className:"brand",key:t},r.a.createElement(ze.a,{image:e.logotype,link:e.linkURL,alt:""}))}))))},He=s.default.button.withConfig({displayName:"styles__View",componentId:"sc-641bcd-0"})(["display:flex;height:46px;width:46px;justify-content:center;align-items:center;border:0;cursor:pointer;background:var(--assa-abloy-blue-90);border-radius:var(--border-radius);margin-left:0.5rem;svg{min-width:22px;min-height:22px;box-sizing:content-box;padding:0.3rem;}"]),Ve=s.default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-641bcd-1"})(["@media (min-width:768px){padding:30px 30px 20px 30px;}@media (min-width:1024px){padding:40px 16px 16px 16px;display:flex;justify-content:space-between;}@media (min-width:1200px){padding:40px 65px;}"]),Be=function(e){var t=Object(i.useState)(!1),n=Object(a.a)(t,2),o=n[0],l=n[1];return r.a.createElement(He,{className:"division-brand-switcher"},r.a.createElement(_e,{isOpen:o,closeModal:function(){return l(!1)}},r.a.createElement(Ve,null,r.a.createElement(Ne,e.divisions),r.a.createElement(De,e.brands))),r.a.createElement("svg",{onClick:function(){return l(!0)},width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("path",{d:"M28.9 14.8C28.9 22.6 22.6 29 14.7 29C6.80001 29 0.600006 22.6 0.600006 14.8C0.600006 6.99998 6.90001 0.599976 14.8 0.599976C22.7 0.599976 28.9 6.99998 28.9 14.8Z",stroke:"#fff",strokeWidth:"1.2",strokeMiterlimit:"10"}),r.a.createElement("path",{d:"M8.70001 14.8C8.70001 20.4 11 25.4 14.8 29C18.6 25.4 20.9 20.4 20.9 14.8C20.9 9.19998 18.6 4.19998 14.8 0.599976C11 4.19998 8.70001 9.19998 8.70001 14.8Z",stroke:"#fff",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinejoin:"round"}),r.a.createElement("path",{d:"M3.80002 5.79999C7.00002 7.89999 10.7 9.09999 14.8 9.09999C18.9 9.09999 22.6 7.89999 25.7 5.79999",stroke:"#fff",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinejoin:"round"}),r.a.createElement("path",{d:"M25.7 23.8C22.6 21.7 18.8 20.5 14.8 20.5C10.7 20.5 6.99999 21.7 3.89999 23.8",stroke:"#fff",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinejoin:"round"}),r.a.createElement("path",{d:"M0.600006 14.8H28.9",stroke:"#fff",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round"})))},Te=n(4),Ue={url:"",logo:{url:"",link:""},navigationData:{marketData:{name:""},menuItems:[]},languageSwitcherData:{currentLanguage:"",languages:[]},search:{addSearch:{id:""}},divisionBrandSwitcherData:{divisions:{title:"",links:[]},brands:{title:"",links:[]}}},Re=n(26),We=s.default.header.withConfig({displayName:"styles__Header",componentId:"uaecoh-0"})(["background-color:var(--assa-abloy-blue);width:100vw;z-index:99;align-content:center;display:grid;grid-template-columns:repeat(5,1fr) 150px repeat(5,1fr);grid-auto-flow:column;height:64px;margin:0;border-radius:0;box-shadow:0 100px 80px rgba(0,0,0,0.02),0 41.7776px 33.4221px rgba(0,0,0,0.0143771),0 22.3363px 17.869px rgba(0,0,0,0.0119221),0 12.5216px 10.0172px rgba(0,0,0,0.01),0 6.6501px 5.32008px rgba(0,0,0,0.00807786),0 2.76726px 2.21381px rgba(0,0,0,0.00562291);padding:0 0.5rem;width:100%;.nav-bar__navigation{grid-column:1 / 6;}.nav-bar__logotype{grid-column:6 / 7;svg{fill:#fff;}}.nav-container-right{grid-column:7 / 12;display:flex;justify-content:flex-end;align-items:center;}@media only screen and (min-width:767px){grid-template-columns:repeat(5,1fr) 200px repeat(5,1fr);width:calc(100% - 32px);border-radius:4px;width:calc(100vw - 2rem);margin:var(--spacing-small) var(--spacing-small) 0 var(--spacing-small);}@media only screen and (max-width:1200px){.nav-container-right .nav-bar__language-switcher,.division-brand-switcher{display:none;}}"]),Pe=(s.default.div.withConfig({displayName:"styles__Placeholder",componentId:"uaecoh-1"})(["@media (min-width:1200px){width:200px;}"]),s.default.button.withConfig({displayName:"styles__ModalTrigger",componentId:"uaecoh-2"})(["width:40px;height:40px;background:grey;"]),function(e){var t=l()({},Ue,Object(Te.a)(e.content)),n=Object(Re.a)(t.url),o=Object(i.useState)(t),c=Object(a.a)(o,2),s=c[0],d=c[1];Object(i.useEffect)((function(){if(null!==n.response&&null===n.error){var e=n.response;d(l()({},t,e))}else null!==n.error&&console.log(n.error)}),[n.response,n.error]);var u=(Object(P.a)().width||0)<1200;return r.a.createElement(We,{className:"nav-bar"},r.a.createElement(X,Object.assign({},s.navigationData,{DivisionBrandSwitcher:u?r.a.createElement(Be,s.divisionBrandSwitcherData):null,LanguageSwitcher:u?r.a.createElement(oe,Object.assign({theme:"theme-alt-1"},s.languageSwitcherData)):null})),r.a.createElement(fe,{link:t.logo.link,image:t.logo.src}),r.a.createElement("div",{className:"nav-container-right"},r.a.createElement(me,{search:t.search}),r.a.createElement(oe,Object.assign({theme:"theme-alt-2"},s.languageSwitcherData)),r.a.createElement(Be,s.divisionBrandSwitcherData)))});Pe.defaultProps={content:""}},8:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(0),i=n.n(a),r=function(e){var t=null;switch(e.icon){case"externalLink.svg":t=i.a.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.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"}),i.a.createElement("path",{d:"M14.08 4.81789V1H10.2679L14.08 4.81789Z",fill:"black"}),i.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"}),i.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=i.a.createElement("svg",{className:e.className,width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{d:"M8.75 1.125L1 8.875",stroke:"#1A1A1A",strokeWidth:"1.62",strokeLinecap:"round",strokeLinejoin:"round"}),i.a.createElement("path",{d:"M1 1.125L8.75 8.875",stroke:"#1A1A1A",strokeWidth:"1.62",strokeLinecap:"round",strokeLinejoin:"round"}));break;case"arrow.svg":t=i.a.createElement("svg",{className:e.className,width:"13",height:"56",viewBox:"0 0 13 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{d:"M2 2L10 10L2 18",stroke:"white",strokeWidth:"3"}));break;case"document.svg":t=i.a.createElement("svg",{className:e.className,width:"16px ",viewBox:"0 0 23.88 29.55",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("g",{id:"Layer_2","data-name":"Layer 2"},i.a.createElement("g",{id:"icons"},i.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"}),i.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"}),i.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"}),i.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=i.a.createElement("svg",{className:e.className,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.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=i.a.createElement("svg",{className:e.className,width:"11",height:"9",viewBox:"0 0 11 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{d:"M5.76471 7.52942L9.52942 3.76471",stroke:"black",strokeWidth:"1.6",strokeMiterlimit:"10",strokeLinecap:"round"}),i.a.createElement("path",{d:"M5.76471 7.52942L2 3.76471",stroke:"black",strokeWidth:"1.6",strokeMiterlimit:"10",strokeLinecap:"round"}));break;case"circledcross.svg":t=i.a.createElement("svg",{className:e.className,width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.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"}),i.a.createElement("path",{d:"M10 6.5L6 10.5",stroke:"#484848",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),i.a.createElement("path",{d:"M6 6.5L10 10.5",stroke:"#484848",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}));break;case"search.svg":t=i.a.createElement("svg",{width:"19",height:"20",viewBox:"0 0 19 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("circle",{cx:"7.52083",cy:"8.02083",r:"5.33333",stroke:"white",strokeWidth:"2"}),i.a.createElement("path",{d:"M16.6265 17.1265L11.4807 11.9807",stroke:"white",strokeWidth:"2",strokeLinecap:"round"}));break;default:t=i.a.createElement("svg",{className:e.className,width:"16",height:"24",viewBox:"0 0 16 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{d:"M8.08163 20L16 12L8.08163 4L6.4 5.69072L11.4367 10.7711H0V13.2289H11.4367L6.4 18.3175L8.08163 20Z",fill:"#1A1A1A"}))}return t}}}); |
{ | ||
"name": "@assaabloy/gw-group-nav-header", | ||
"version": "7.0.1", | ||
"version": "7.1.0", | ||
"description": "Web component - Header navigation", | ||
@@ -17,3 +17,3 @@ "type": "module", | ||
}, | ||
"gitHead": "3a059e336680913f5fd7c80827e065dabe02b70d" | ||
"gitHead": "2de6908739a4bfdc9e1d7db80d9cf401284bc077" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
59168