"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[61585],{94828:(n,e,t)=>{t.d(e,{Z:()=>d});var r,i=t(93433),o=(t(57327),t(86535),t(99244),t(26833),t(92222),t(21249),t(42347)),a=t(67294),c=t(86706),u=t(96349),l=t(30168),s=t(71893).ZP.ul(r||(r=(0,l.Z)(["\n display: none;\n"]))),f=t(85893);const d=function(){var n=(0,c.v9)(u.O5),e=(0,c.v9)(u.mD),t=(0,a.useMemo)((function(){var t=n.flatMap((function(n){return n.links})).filter((function(n){return"obfuscated"!==n.rel})),r=e&&Object.values(e)||[];return[].concat((0,i.Z)(t),(0,i.Z)(r))}),[n,e]);return(0,f.jsx)(s,{children:t.map((function(n,e){return(0,f.jsx)("li",{children:(0,f.jsx)(o.r,{rel:n.rel,href:n.href||"",children:n.text})},"".concat((null===n||void 0===n?void 0:n.id)||"").concat(e))}))},"seoLinks")}},84054:(n,e,t)=>{t.r(e),t.d(e,{default:()=>gn});var r=t(47941),i=t.n(r),o=t(82526),a=t.n(o),c=t(38880),u=t.n(c),l=t(89554),s=t.n(l),f=t(54747),d=t.n(f),p=t(49337),h=t.n(p),m=t(33321),g=t.n(m),v=t(69070),y=t.n(v),b=t(64572),w=t(29439),x=t(66992),O=t.n(x),k=t(41539),j=t.n(k),P=t(88674),C=t.n(P),E=t(78783),A=t.n(E),S=t(33948),Z=t.n(S),M=t(69826),z=t.n(M),I=t(57327),B=t.n(I),L=t(21249),N=t.n(L),D=t(92222),_=t.n(D),T=t(67294),R=t(86706),U=t(36027),F=t(7294),$=t(5210),K=t(9779),H=t(67558),Y=t(7111),G=t(37111),q=t(55285),J=t(30356),V=t(33742),W=t(90321),X=t(54461),Q=t(17714),nn=t(11960),en=t(61436),tn=t(62812),rn=t(40684),on=t(94828),an=t(21917),cn=t(46385),un=t(12154),ln=t(77915),sn=t(85893);function fn(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function dn(n){for(var e=1;e1?{onClickLanguage:E}:{}),{},{language:b}))]})};const gn=mn},37111:(n,e,t)=>{t.d(e,{Z:()=>ln});var r,i=t(29439),o=t(22100),a=t(81973),c=t(92010),u=t(64572),l=t(15861),s=t(45987),f=(t(21249),t(29254),t(47941),t(82526),t(57327),t(38880),t(89554),t(54747),t(49337),t(33321),t(69070),t(64687)),d=t.n(f),p=t(30168),h=t(71893),m=t(63742),g=h.ZP.a(r||(r=(0,p.Z)(["\n display: flex;\n align-items: center;\n font-weight: bold;\n font-size: 0.875rem;\n line-height: 1.25rem;\n color: ",";\n text-decoration: none;\n svg {\n margin-right: 0.5rem;\n }\n"])),(function(n){return n.theme.colors.black})),v=t(85893),y=["icon","label","link"];function b(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function w(n){for(var e=1;e0?(0,v.jsx)(c.A,{copy:p,items:e,onClickOrder:m}):(0,v.jsx)(un,{}))]})}))},12154:(n,e,t)=>{t.d(e,{n:()=>S});var r=t(36609),i=t(49631),o=t(50693),a=t(67294),c=t(61434),u=t(88454),l=t(36963),s=t(71893);function f(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function d(){var n=f(["\n display: grid;\n grid-template-columns: 50% 50%;\n & > button {\n justify-content: center;\n margin: ",";\n }\n"]);return d=function(){return n},n}function p(){var n=f(["\n border-bottom: none;\n\n & nav > ul > li > div:hover {\n background: inherit;\n }\n\n & span {\n width: 100%;\n }\n"]);return p=function(){return n},n}function h(){var n=f(["\n display: flex;\n align-items: center;\n width: 100%;\n"]);return h=function(){return n},n}function m(){var n=f(["\n max-width: calc(100% - 45px);\n"]);return m=function(){return n},n}function g(){var n=f(["\n margin-left: auto;\n margin-right: 0;\n"]);return g=function(){return n},n}var v=s.ZP.div(d(),(function(n){return n.theme.spacing.spacing01})),y=(0,s.ZP)(u.U)(p()),b=s.ZP.div(h()),w=s.ZP.span(m()),x=(0,s.ZP)(l.r)(g()),O=t(80454),k=t(67294);function j(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t{function r(){var n,e,t=(n=["\n width: 100vw;\n display: flex;\n flex-direction: column;\n align-items: center;\n\n ","\n"],e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}})));return r=function(){return t},t}t.d(e,{r:()=>i});var i=t(71893).ZP.main(r(),(function(n){return n&&"\n justify-content: center;\n "}))},19149:(n,e,t)=>{t.r(e),t.d(e,{AlgoliaDummySearchInputStyled:()=>b,AlgoliaSearchInputStyled:()=>y,MobileSearchStyled:()=>x,StyledContainer:()=>v,Wrapper:()=>g,WrapperSearchBox:()=>w});var r=t(30305),i=t(38770),o=t(71893),a=t(49269),c=t(53667),u=t(51756);function l(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function s(){var n=l(["\n position: relative;\n top: 0;\n width: 100%;\n background: ",";\n z-index: ",";\n padding-top: 0;\n\n "," {\n height: ",";\n padding-top: ",";\n }\n\n .search-icon.hidden {\n display: none;\n "," {\n display: flex;\n }\n }\n\n "," {\n border-bottom: 1px solid ",";\n }\n"]);return s=function(){return n},n}function f(){var n=l(["\n &&& {\n width: 100%;\n }\n display: flex;\n flex-wrap: nowrap;\n border-bottom: 1px solid ",";\n\n "," {\n border-bottom: none;\n }\n"]);return f=function(){return n},n}function d(){var n=l(["\n margin: 0;\n width: 100%;\n font-size: ",";\n background-color: ",";\n\n input {\n }\n & > div,\n & > div > div {\n padding: 0;\n margin: 0;\n }\n\n "," {\n min-height: ",";\n }\n\n .search-form-container {\n padding: ",";\n }\n\n "," {\n font-size: ",";\n }\n"]);return d=function(){return n},n}function p(){var n=l(["\n margin: 0;\n width: 100%;\n font-size: ",";\n background-color: ",";\n\n input {\n }\n & > div,\n & > div > div {\n padding: 0;\n margin: 0;\n }\n\n "," {\n min-height: ",";\n }\n\n .search-form-container {\n padding: ",";\n }\n\n "," {\n font-size: ",";\n }\n"]);return p=function(){return n},n}function h(){var n=l(["\n order: 2;\n width: 100%;\n padding-top: 4px;\n padding-bottom: 4px;\n display: ",";\n z-index: ",";\n\n "," {\n width: 100%;\n flex: 1;\n order: initial;\n padding: 0 18px 0 40px;\n z-index: inherit;\n display: flex;\n }\n\n "," {\n padding-left: 70px;\n padding-right: 70px;\n }\n\n "," {\n padding-left: 130px;\n padding-right: 72px;\n }\n\n form {\n padding: 0;\n }\n"]);return h=function(){return n},n}function m(){var n=l(["\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 0 0.5rem;\n position: relative;\n "," {\n padding: 0 1.5rem;\n }\n "," {\n display: none;\n }\n"]);return m=function(){return n},n}var g=o.ZP.div(s(),(function(n){return n.theme.colors.white}),(function(n){return n.theme.layout.zIndex.header}),r.B.tabletLandscape,(function(n){return n.theme.layout.dimensions.header.topDesktop}),(function(n){return n.theme.spacing.spacing02}),r.B.tabletPortrait,r.B.tabletLandscape,(function(n){return n.theme.colors.environment.percent20})),v=(0,o.ZP)(i.W)(f(),(function(n){return n.theme.colors.environment.percent20}),r.B.tabletLandscape),y=(0,o.ZP)(a.Z)(d(),(function(n){return n.theme.typography.body2Regular.size}),(function(n){return n.theme.colors.white}),c.QJ,(function(n){return n.theme.spacing.spacing08}),(function(n){return n.theme.spacing.spacing01}),r.B.tabletPortrait,(function(n){return n.theme.typography.body1Regular.size})),b=(0,o.ZP)(u.Z)(p(),(function(n){return n.theme.typography.body2Regular.size}),(function(n){return n.theme.colors.white}),c.QJ,(function(n){return n.theme.spacing.spacing08}),(function(n){return n.theme.spacing.spacing01}),r.B.tabletPortrait,(function(n){return n.theme.typography.body1Regular.size})),w=o.ZP.div(h(),(function(n){return n.visible?"flex":"none"}),(function(n){return n.theme.layout.zIndex.modal}),r.B.tabletLandscape,r.B.desktop,r.B.desktopLarge),x=o.ZP.div(m(),r.B.tabletPortrait,r.B.tabletLandscape)},7111:(n,e,t)=>{t.d(e,{v:()=>kn});var r=t(22100),i=t(38717),o=t(42347),a=t(63742),c=t(67294),u=t(86706),l=t(67558),s=t(51062),f=t(71893);function d(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function p(){var n=d(["\n height: 2.5rem;\n display: flex;\n align-items: center;\n padding: 0 ",";\n margin-bottom: ",";\n ",";\n"]);return p=function(){return n},n}function h(){var n=d(["\n text-decoration: none;\n color: inherit;\n\n :hover {\n font-weight: 700;\n color: ",";\n }\n"]);return h=function(){return n},n}var m=f.ZP.div(p(),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing01}),s.g.body2Regular),g=f.ZP.a(h(),(function(n){return n.theme.colors.black})),v=t(28225);function y(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t div {\n padding: 0;\n & > span {\n padding: 0.5rem 2.5rem 0.5rem 1rem;\n width: -webkit-fill-available;\n &:hover {\n cursor: pointer;\n background-color: ",";\n & > a {\n text-decoration: inherit;\n color: inherit;\n }\n }\n }\n }\n "]);return T=function(){return n},n}function R(){var n=k(["\n :not(:last-child) {\n margin-bottom: ",";\n }\n\n ","\n\n /* TODO: accordion review */\n & > nav > ul > li > div {\n height: auto;\n }\n"]);return R=function(){return n},n}var U=f.ZP.div(P(),(function(n){return n.theme.layout.dimensions.header.simple}),(function(n){return n.theme.layout.dimensions.header.simple}),(function(n){return n.theme.layout.zIndex.overlay}),x.B.desktop,(function(n){return n.isActive&&(0,f.iv)(j())}),x.B.tabletLandscape,(function(n){return n.theme.layout.dimensions.header.desktop}),x.B.desktop,(function(n){var e=n.theme;return n.isBannerClosed?e.layout.dimensions.header.desktop:"10.625rem"})),F=f.ZP.div(C(),(function(n){var e=n.theme;return n.isBannerClosed?e.layout.dimensions.header.simple:"6rem"}),(function(n){return n.isBannerClosed?"3.03rem":"6.03rem"}),(function(n){return n.theme.layout.zIndex.menu}),x.B.tabletLandscape,(function(n){var e=n.theme;return n.isBannerClosed?e.layout.dimensions.header.desktop:"10.625rem"}),(function(n){var e=n.theme;return n.isBannerClosed?e.layout.dimensions.header.desktop:"10.625rem"}),x.B.desktop,(function(n){var e=n.theme;return n.isBannerClosed?e.layout.dimensions.header.desktop:"10.625rem"}),(function(n){var e=n.theme;return n.isBannerClosed?e.layout.dimensions.header.desktop:"10.625rem"})),$=f.ZP.div(E(),(function(n){return n.theme.layout.dimensions.header.simple}),(function(n){return n.theme.layout.grid.width}),x.B.desktop,(function(n){return n.theme.spacing.spacing04})),K=f.ZP.div(S(),(function(n){return n.theme.colors.white}),(function(n){return n.showMenu&&(0,f.iv)(A())}),x.B.desktop),H=f.ZP.div(Z(),x.B.tabletLandscape,(function(n){return n.theme.colors.environment.percent20})),Y=f.ZP.nav(M(),x.B.desktop),G=f.ZP.div(z(),(function(n){return n.theme.colors.environment.percent20})),q=f.ZP.li(L(),(function(n){return n.theme.colors.environment.percent20}),(function(n){return n.isSelected&&(0,f.iv)(I(),(function(n){return n.theme.colors.black}),(function(n){return n.theme.colors.environment.percent20}),(function(n){return n.theme.colors.environment.percent20}))}),x.B.desktop,(function(n){return n.theme.spacing.spacing02}),(function(n){return n.isSelected&&(0,f.iv)(B())})),J=f.ZP.span(N(),(function(n){return n.theme.typography.captionRegular.size}),(function(n){return n.theme.typography.captionRegular.lineHeight}),(function(n){return n.theme.typography.captionRegular.letter}),x.B.desktop,(function(n){return n.theme.typography.body2Regular.size}),(function(n){return n.theme.typography.body2Regular.lineHeight}),(function(n){return n.theme.typography.body2Regular.letter}),(function(n){return n.theme.spacing.spacing01})),V=f.ZP.div(D(),(function(n){return n.theme.spacing.spacing02}),x.B.tabletLandscape,(function(n){return n.theme.spacing.spacing03}),(function(n){return n.theme.spacing.spacing03})),W=f.ZP.div(_(),x.B.tabletLandscape,(function(n){return n.theme.spacing.spacing03})),X=(0,f.ZP)(O.U)(R(),(function(n){return n.theme.spacing.spacing02}),(function(n){var e=n.$href,t=n.theme;return e&&(0,f.iv)(T(),t.colors.environment.percent05)})),Q=t(50693),nn=t(53397),en=t(16550);function tn(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function rn(){var n=tn(["\n && {\n height: auto;\n min-height: ",";\n padding: "," ",";\n\n "," {\n min-height: ",";\n }\n }\n"]);return rn=function(){return n},n}function on(){var n=tn(["\n &&& {\n padding: 0;\n ",";\n }\n\n &&&:hover {\n cursor: pointer;\n }\n"]);return on=function(){return n},n}var an=(0,f.ZP)(o.r)(rn(),(function(n){return n.theme.spacing.spacing05}),(function(n){return n.theme.spacing.spacing005}),(function(n){return n.theme.spacing.spacing02}),x.B.tabletLandscape,(function(n){return n.theme.spacing.spacing04})),cn=((0,f.ZP)(an)(on(),s.g.body2Bold),t(67294)),un=function(n){var e=n.button,t=n.highlightIcon,r=n.href,i=n.icon,o=n.text,c=n.handleOnClickSubCategory,u=n.category,l=n.obfuscated,s=(0,en.k6)(),f=s.push.bind(s);(e||l)&&r.startsWith("http")&&(f=function(n){window.location.href=n});return cn.createElement(cn.Fragment,null,e?cn.createElement(Q.z,{secondary:!0,small:!0,onClick:function(){c&&c(o,u||""),f(r)}},i&&cn.createElement(a.J,{icon:i,small:!0}),o):cn.createElement(an,{onClick:function(){return c&&c(o,u||"")},href:r,text:o,title:o,icon:t,iconPos:"right",iconColor:nn.n.light.colors.brand.main,obfuscated:l}))},ln=t(55285);function sn(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function fn(){var n=sn(["\n width: 0;\n height: 0;\n overflow: hidden;\n"]);return fn=function(){return n},n}function dn(){var n=sn(["\n display: none;\n"]);return dn=function(){return n},n}var pn=(0,f.ZP)(o.r)(fn()),hn=f.ZP.nav(dn()),mn=t(46385);function gn(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t0&&n.map((function(n){var e=n.category,r=n.href,i=n.icon,o=n.id,c=n.directLink;return On.createElement(q,{key:o,onClick:O(r,o,c,e),isSelected:o===t},On.createElement(a.J,{icon:i,big:!0}),On.createElement(J,null,e))}))),On.createElement(G,null)),On.createElement(V,{ref:m},e&&e.columns.map((function(n,t){return On.createElement(W,{key:"col".concat(t)},0===t&&On.createElement(w,{text:e.category,href:(0,ln.KA)(v,e.href)}),n.map((function(n){var t=n.id,r=n.title,i=n.href,o=n.subCategories;return On.createElement(c.Fragment,{key:t},On.createElement(X,{$href:i,title:j(r,i),isolated:!0,collapsed:"never",showIconClose:!1,elements:o.map((function(n){var t=n.button,r=n.highlightIcon,i=n.href,o=n.icon,a=n.text;return{content:On.createElement(un,{handleOnClickSubCategory:k,key:a,button:t,highlightIcon:r,href:(0,ln.KA)(v,i),icon:o,text:a,category:e.category})}}))}))})))})))))),On.createElement(yn,{items:f}))}},90321:(n,e,t)=>{t.d(e,{h:()=>ke});var r=t(67294),i=t(86706),o=t(71893),a=t(30305),c=t(50693);function u(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function l(){var n=u(["\n overflow: auto;\n -webkit-overflow-scrolling: touch;\n\n "," {\n overflow: hidden;\n }\n"]);return l=function(){return n},n}function s(){var n=u(["\n font-size: "," !important;\n font-weight: "," !important;\n"]);return s=function(){return n},n}function f(){var n=u(["\n display: none;\n flex-direction: row;\n flex-wrap: nowrap;\n list-style: none;\n margin: 0;\n padding: 0;\n\n "," {\n display: flex;\n }\n"]);return f=function(){return n},n}function d(){var n=u(["\n margin: 0;\n padding: 0 ",";\n white-space: nowrap;\n"]);return d=function(){return n},n}var p=o.ZP.nav(l(),a.B.desktop),h=(0,o.ZP)(c.z)(s(),(function(n){return n.theme.typography.header.h5.size}),(function(n){return n.theme.typography.body2Regular.weight})),m=o.ZP.ul(f(),a.B.tabletLandscape),g=o.ZP.li(d(),(function(n){return n.theme.spacing.spacing005}));const v=function(n){var e=n.links;return r.createElement(p,null,r.createElement(m,null,e&&e.map((function(n,e){return r.createElement(g,{key:"item_".concat(e,"_").concat((null===n||void 0===n?void 0:n.href)||"")},r.createElement(h,{ghost:!0,forwardedAs:"a",href:n.href,title:n.text,rel:n.rel,target:n.target,"data-wa-hit-type":"event","data-wa-event-category":"main header","data-wa-event-action":"highlighted link click","data-wa-event-label":n.text,"data-wa-event-value":n.id||e},n.text))}))))};function y(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function b(){var n=y(["\n min-width: max-content;\n margin-right: 16px;\n display: ",";\n\n @media (max-width: 359px) {\n margin-right: auto;\n }\n\n "," {\n display: ",";\n }\n"]);return b=function(){return n},n}function w(){var n=y(["\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n transition-delay: 0s;\n "]);return w=function(){return n},n}function x(){var n=y(["\n width: ",";\n height: ",";\n background: ",";\n transition: all 0.3s;\n transition-delay: 0.3s;\n\n &:nth-child(1) {\n transform-origin: top left;\n }\n &:nth-child(3) {\n transform-origin: top right;\n }\n\n ","\n"]);return x=function(){return n},n}function O(){var n=y(["\n opacity: 0;\n transition-delay: 0s;\n\n &:nth-child(1),\n &:nth-child(3) {\n transform: scaleX(0);\n }\n\n &:nth-child(4),\n &:nth-child(5) {\n transition-delay: 0.3s;\n opacity: 1;\n }\n\n &:nth-child(4) {\n transform: rotate(-45deg);\n }\n &:nth-child(5) {\n transform: rotate(45deg);\n }\n "]);return O=function(){return n},n}function k(){var n=y(["\n &:nth-child(4),\n &:nth-child(5) {\n opacity: 0;\n }\n "]);return k=function(){return n},n}function j(){var n=y(["\n height: ",";\n display: flex;\n position: relative;\n align-items: center;\n justify-content: space-between;\n flex-direction: column;\n\n & > div {\n ","\n }\n"]);return j=function(){return n},n}function P(){var n=y(["\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n background: ",";\n "]);return P=function(){return n},n}function C(){var n=y(["\n width: ",";\n height: 2.9rem;\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: ",";\n\n ","\n\n &:focus {\n border: 1px solid transparent;\n box-shadow: none;\n }\n\n & div {\n display: flex;\n align-items: center;\n }\n\n /* TODO: change to media.desktop when propper header has been set on tablet */\n "," {\n padding: 0 ",";\n width: auto;\n height: ",";\n }\n"]);return C=function(){return n},n}function E(){var n=y(["\n display: none;\n margin-left: ",";\n font-weight: 700;\n text-align: left;\n\n "," {\n display: inline-block;\n line-height: 1.2;\n }\n"]);return E=function(){return n},n}var A=o.ZP.div(b(),(function(n){return n.tiny?"none":""}),a.B.tabletLandscape,(function(n){return n.tiny?"block":"none"})),S=o.ZP.div(x(),(function(n){return n.tiny?"12px":"20px"}),(function(n){return n.tiny,"2px"}),(function(n){return n.theme.colors.black}),(function(n){return n.close&&(0,o.iv)(w())})),Z=o.ZP.div(j(),(function(n){return n.tiny?"10px":"14px"}),(function(n){return n.active?(0,o.iv)(O()):(0,o.iv)(k())})),M=(0,o.ZP)(c.z).attrs({ghost:!0})(C(),(function(n){return n.theme.spacing.spacing06}),(function(n){return n.theme.layout.zIndex.menu}),(function(n){return n.isActive&&(0,o.iv)(P(),n.theme.colors.white)}),a.B.tabletLandscape,(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing05})),z=o.ZP.span(E(),(function(n){return n.theme.spacing.spacing01}),a.B.tabletLandscape);const I=function(n){var e=n.tiny,t=n.text,i=n.isActive,o=n.onMenuClick;return r.createElement(A,{tiny:e},r.createElement(M,{"aria-labelledby":"menu-btn-text",isActive:i,onTouchEnd:o,onMouseUp:o,"data-wa-hit-type":"event","data-wa-event-category":"main menu","data-wa-event-action":i?"close click":"button click","data-wa-event-label":i?"fold":"unfold"},r.createElement(Z,{tiny:e,active:i},r.createElement(S,{tiny:e}),r.createElement(S,{tiny:e}),r.createElement(S,{tiny:e}),r.createElement(S,{tiny:e,close:!0}),r.createElement(S,{tiny:e,close:!0})),t&&r.createElement(z,{id:"menu-btn-text"},t)))};var B=t(51062);function L(){var n,e,t=(n=["\n display: none;\n\n "," {\n display: inline;\n }\n\n > * {\n display: inline;\n }\n\n > *,\n & {\n ",";\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-weight: 400;\n margin: 0;\n }\n"],e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}})));return L=function(){return t},t}var N=o.ZP.div(L(),a.B.tabletLandscape,B.g.body2Regular);const D=function(n){var e,t=n.claim;return r.createElement(N,{dangerouslySetInnerHTML:(e=t,{__html:e})})};function _(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function T(){var n=_(["\n width: 100%;\n position: sticky;\n top: 0;\n left: 0;\n z-index: ",";\n"]);return T=function(){return n},n}function R(){var n=_(["\n opacity: 1;\n visibility: visible;\n "]);return R=function(){return n},n}function U(){var n=_(["\n position: absolute;\n top: 0;\n bottom: -1px;\n left: 0;\n width: 100%;\n z-index: ",";\n background-color: rgba(51, 51, 51, 0.24);\n cursor: pointer;\n opacity: 0;\n visibility: hidden;\n transition: opacity 500ms cubic-bezier(0.25, 0.1, 0.25, 1),\n visibility 500ms cubic-bezier(0.25, 0.1, 0.25, 1);\n\n "," {\n ","\n }\n"]);return U=function(){return n},n}var F=o.ZP.header(T(),(function(n){return n.theme.layout.zIndex.header})),$=o.ZP.div(U(),(function(n){return n.theme.layout.zIndex.overlay}),a.B.desktop,(function(n){return n.isActive&&(0,o.iv)(R())})),K=t(38770),H=t(28225);function Y(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);tn.length)&&(e=n.length);for(var t=0,r=new Array(e);t0&&r.createElement(pn.P,{amount:o.user,float:!0}),r.createElement(Sn,null,t)):r.createElement(Mn,{ghost:!0,big:!0,forwardedAs:"a",href:e&&zn.Z5.MY_ACCOUNT||zn.Z5.LOGIN,rel:"nofollow",title:l("header.menu.item.account.title"),"aria-label":l("header.menu.item.account.text"),"data-wa-hit-type":"event","data-wa-event-category":"main header","data-wa-event-action":"user menu click",loading:!1},r.createElement(dn.J,{icon:"user",big:!0}),o.user>0&&r.createElement(pn.P,{amount:o.user,float:!0}),r.createElement(Sn,null,l("header.menu.item.account.text")))),r.createElement(Zn,null,r.createElement(Mn,{ghost:!0,big:!0,onClick:e&&function(){return window.location.assign(zn.Z5.CART)}||u,title:l("header.menu.item.cart.title"),"aria-label":l("header.menu.item.cart.text"),"data-wa-hit-type":"event","data-wa-event-category":"main header","data-wa-event-action":"cart click"},r.createElement(dn.J,{icon:"shopping_cart_full",big:!0}),r.createElement(pn.P,{amount:o.cart,float:!0,id:"cart-articles-nums"}),r.createElement(Sn,null,l("header.menu.item.cart.text"))))))},Dn=t(7898);function _n(){var n,e,t=(n=["\n li {\n font-size: ",";\n }\n\n span {\n font-size: ",";\n border-right: 0;\n border-radius: 4px 0 0 4px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n border: 1px solid ",";\n width: 110px;\n\n "," {\n width: 216px;\n }\n\n "," {\n width: 160px;\n }\n\n "," {\n width: 216px;\n }\n }\n"],e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}})));return _n=function(){return t},t}var Tn=(0,o.ZP)(Dn.P)(_n(),(function(n){return n.theme.typography.body2Regular.size}),(function(n){return n.theme.typography.body2Regular.size}),(function(n){return n.theme.colors.environment.percent20}),a.B.tabletPortrait,a.B.tabletLandscape,a.B.desktop);const Rn=(0,rn.B)((function(n){var e=n.handleChangeSearchMode,t=n.searchMode,i=n.selectOptions;return r.createElement(Tn,{defaultValue:t,handleChange:function(n){return e(n)},options:i})}));var Un=t(69042),Fn=t(19149);function $n(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);tn.length)&&(e=n.length);for(var t=0,r=new Array(e);t=0||(i[t]=n[t]);return i}(n,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(n,t)&&(i[t]=n[t])}return i}function me(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var t=null==n?null:"undefined"!==typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var r,i,o=[],a=!0,c=!1;try{for(t=t.call(n);!(a=(r=t.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(n){c=!0,i=n}finally{try{a||null==t.return||t.return()}finally{if(c)throw i}}return o}}(n,e)||function(n,e){if(!n)return;if("string"===typeof n)return de(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);"Object"===t&&n.constructor&&(t=n.constructor.name);if("Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return de(n,e)}(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var ge=function(n){var e=n.title,t=n.text,o=n.type,a=n.visible,c=he(n,["title","text","type","visible"]),u=(0,i.I0)(),l=me((0,r.useState)(a||!0),2),s=l[0],f=l[1];(0,r.useEffect)((function(){a&&f(a)}),[a]);var d;return r.createElement(ie,pe({visible:s,type:o},c),r.createElement(oe,null,r.createElement(ae,{visible:!!e},e),r.createElement(ce,{hasTitle:!!e},r.createElement("div",{dangerouslySetInnerHTML:(d=t,{__html:d})}))),r.createElement(ue,{type:o},r.createElement(dn.J,{onClick:function(){f(!1),u((0,fe.nd)())},icon:"remove",small:!0})))},ve=t(80537),ye=t(67558),be=t(22981),we=t(46385);function xe(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t{t.d(e,{x:()=>c});var r,i=t(67294);function o(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t=f&&n<=d){t(s.logo);break}}}catch(n){a=!0,c=n}finally{try{o||null==l.return||l.return()}finally{if(a)throw c}}}),[]),e}},10367:(n,e,t)=>{t.d(e,{T:()=>p});var r=t(67294),i=t(76836),o=t(71893),a=t(30305);function c(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function u(){var n=c(["\n display: flex;\n align-items: center;\n line-height: 0;\n "," {\n align-items: start;\n }\n"]);return u=function(){return n},n}function l(){var n=c(["\n "," {\n max-height: 48px;\n }\n "]);return l=function(){return n},n}function s(){var n=c(["\n width: auto;\n max-height: ",";\n\n ","\n"]);return s=function(){return n},n}var f=o.ZP.a(u(),a.B.tabletLandscape),d=o.ZP.img(s(),(function(n){return n.block?"48px":"24px"}),(function(n){return!n.block&&(0,o.iv)(l(),a.B.tabletLandscape)})),p=function(n){var e=n.name,t=n.block,o={pccomponentes:{href:"/",title:"PcComponentes",src:(0,i.xz)({path:"/img/logos/logo-pccomponentes.svg"}),alt:"PcComponentes",width:"138",height:"48"},pccomponentesDMCC:{href:"/",title:"PcComponentes",src:(0,i.xz)({path:"/img/logos/logo-pccomponentes-dmcc.svg"}),alt:"PcComponentes",width:"138",height:"48"}}[e],a=o.href,c=o.title,u=o.src,l=o.alt,s=o.width,p=o.height;return r.createElement(f,{href:a,title:c},r.createElement(d,{src:u,width:s,height:p,alt:l,title:c,block:t,"data-wa-hit-type":"event","data-wa-event-category":"main header","data-wa-event-action":"logo click"}))}},11960:(n,e,t)=>{t.d(e,{F:()=>i});var r=t(67294),i=function(n,e){return{getTotalCartItems:(0,r.useCallback)((function(){return n.idCart?e(n.idCart).reduce((function(n,e){return n+e.units}),0):0}),[n.idCart,e])}}},17714:(n,e,t)=>{t.d(e,{k:()=>h});var r=t(67294),i=t(99071),o=t(49553),a=t(86706),c=t(28489),u=t(7294),l=t(55285),s=t(74782),f=t(85543);function d(n,e,t,r,i,o,a){try{var c=n[o](a),u=c.value}catch(n){return void t(n)}c.done?e(u):Promise.resolve(u).then(r,i)}var p=function(n,e){var t,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(o){return function(c){return function(o){if(t)throw new TypeError("Generator is already executing.");for(;a;)try{if(t=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]{t.d(e,{hM:()=>i,kC:()=>r});var r=function(n){return"".concat(n.charAt(0).toUpperCase()).concat(n.slice(1))},i=function(n){return function(n){return n.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}(n.toLowerCase()).replace(new RegExp("[ /]","g"),"-").replace(new RegExp("[ ,]","g"),"")}}}]); //# sourceMappingURL=MainLayout.js.map