"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[7236],{69826:(n,e,t)=>{var i=t(82109),r=t(42092).find,o=t(51223),c="find",a=!0;c in[]&&Array(1).find((function(){a=!1})),i({target:"Array",proto:!0,forced:a},{find:function(n){return r(this,n,arguments.length>1?arguments[1]:void 0)}}),o(c)},66374:(n,e,t)=>{t.d(e,{W:()=>l});var i,r,o,c=t(82856),a=t(71893),s=t(51062),u=(t(67294),(0,a.iv)(i||(i=(0,c.Z)(["\n text-decoration: none;\n color: inherit;\n height: 100%;\n display: flex;\n align-items: center;\n cursor: pointer;\n transition: color 0.3s, background 0.3s;\n\n // Adjust the all anchors frame\n width: calc(100% + ",");\n margin: 0 -",";\n padding: 0 ",";\n\n &:hover {\n background: ",";\n color: inherit;\n }\n"])),(function(n){return n.theme.spacing.spacing04}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.colors.environment.percent05}))),l=a.ZP.div(r||(r=(0,c.Z)(["\n width: 100%;\n min-height: ",";\n display: flex;\n align-items: center;\n padding: 0 ",";\n ",";\n transition: background 0.3s;\n cursor: initial;\n\n /* TODO: May be the anchor styles should be set with the content */\n > a {\n ","\n }\n\n ","\n"])),(function(n){return n.theme.spacing.spacing05}),(function(n){return n.theme.spacing.spacing02}),s.g.body2Regular,u,(function(n){return n.asLink&&(0,a.iv)(o||(o=(0,c.Z)(["\n > span {\n ","\n }\n "])),u)}))},7730:(n,e,t)=>{t.d(e,{Z:()=>f});var i,r,o=t(96891),c=t(39780),a=t(67294),s=t(82856),u=t(71893),l=u.ZP.span(i||(i=(0,s.Z)(["\n ","}\n"])),(function(n){var e=n.theme,t=n.typo;return(0,u.iv)(r||(r=(0,s.Z)(["\n font-size: ",";\n line-height: ",";\n font-weight: ",";\n letter-spacing: ",";\n "])),e.typography[t].size,e.typography[t].lineHeight,e.typography[t].weight,e.typography[t].letter)})),p=["children","typo"];function g(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}var f=function(n){var e=n.children,t=n.typo,i=(0,c.Z)(n,p);return a.createElement(l,function(n){for(var e=1;e{t.d(e,{U:()=>nn});var i,r,o,c,a,s,u,l,p,g,f,m,h,d,v,b,y,Z,O,w,P,A,E,j,k,x,L=t(96891),D=t(90542),S=t(39780),C=t(67294),H=t(72811),_=t(82856),M=t(71893),I=t(66374),z=t(63742),N=t(46229),T=t(51062),W=M.ZP.nav(i||(i=(0,_.Z)(["\n width: 100%;\n\n ","\n\n ","\n"])),(function(n){var e=n.collapsed,t=n.isolated,i=n.theme;return!t&&"never"!==e&&(0,M.iv)(r||(r=(0,_.Z)(["\n border-bottom: 1px solid ",";\n "])),i.colors.environment.percent20)}),(function(n){var e=n.collapsed,t=n.theme;return e&&"never"!==e&&(0,M.iv)(o||(o=(0,_.Z)(["\n @media (min-width: ",") {\n border: 0;\n }\n "])),t.layout.breakpoints[e])})),Y=(0,M.ZP)(N.z)(c||(c=(0,_.Z)(["\n margin: ","\n ",";\n padding: ","\n ",";\n"])),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing005}),(function(n){return n.theme.spacing.spacing01})),B=M.ZP.div(a||(a=(0,_.Z)(["\n display: flex;\n align-items: center;\n position: relative;\n background: ",";\n transition: background 0.3s;\n cursor: ",";\n ","\n\n ","\n\n","\n\n&:hover {\n ",";\n\n @media (hover: none) {\n background: none;\n }\n }\n\n ","\n"])),(function(n){return n.theme.colors.white}),(function(n){return"never"===n.collapsed?"auto":"pointer"}),(function(n){var e=n.theme;return(0,M.iv)(s||(s=(0,_.Z)(["\n padding: "," ","\n "," ",";\n "])),e.spacing.spacing01,e.spacing.spacing05,e.spacing.spacing01,e.spacing.spacing02)}),(function(n){var e=n.big,t=n.theme;return e&&(0,M.iv)(u||(u=(0,_.Z)(["\n padding: "," ","\n "," ",";\n "])),t.spacing.spacing02,t.spacing.spacing05,t.spacing.spacing02,t.spacing.spacing02)}),(function(n){return n.showIconClose&&(0,M.iv)(l||(l=(0,_.Z)(["\n &::before {\n content: '';\n position: absolute;\n top: 50%;\n margin-top: -",";\n width: ",";\n height: ",";\n right: 16px;\n background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjQgMjQiPjxwYXRoIGQ9Ik0yMSAxMWgtOHYtOGgtMnY4aC04djJoOHY4aDJ2LThoOHoiLz48L3N2Zz4=')\n no-repeat center center;\n transition: transform 0.3s;\n\n ",";\n }\n "])),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.isActive&&(0,M.iv)(p||(p=(0,_.Z)(["\n transform: rotate(45deg);\n "])))}))}),(function(n){var e=n.collapsed,t=n.theme;return"never"!==e&&(0,M.iv)(g||(g=(0,_.Z)(["\n background: ",";\n "])),t.colors.environment.percent05)}),(function(n){var e=n.collapsed,t=n.theme;return e&&"never"!==e&&(0,M.iv)(f||(f=(0,_.Z)(["\n @media (min-width: ",") {\n cursor: auto;\n\n &:hover {\n background: inherit;\n }\n\n &::before {\n display: none;\n }\n }\n "])),t.layout.breakpoints[e])})),R=M.ZP.span(m||(m=(0,_.Z)(["\n ",";\n color: ",";\n line-height: ",";\n ",";\n"])),T.g.body2Bold,(function(n){return n.theme.colors.black}),(function(n){return n.theme.typography.body1Regular.lineHeight}),(function(n){return n.big&&(0,M.iv)(h||(h=(0,_.Z)(["\n ",";\n "])),T.g.body1Bold)})),J=(0,M.ZP)(z.J)(d||(d=(0,_.Z)(["\n margin-right: ",";\n"])),(function(n){return n.theme.spacing.spacing01})),Q=M.ZP.nav(v||(v=(0,_.Z)(["\n width: 100%;\n overflow: hidden;\n background-color: #fff;\n max-height: ",";\n transition: max-height 500ms cubic-bezier(0.25, 0.1, 0.25, 1);\n\n ",";\n\n ","\n\n ","\n"])),(function(n){return"never"===n.collapsed?"none":0}),(function(n){return n.isActive&&(0,M.iv)(b||(b=(0,_.Z)(["\n max-height: ",";\n "])),n.heightTransform)}),(function(n){return n.isFirstActive&&(0,M.iv)(y||(y=(0,_.Z)(["\n transition: none;\n "])))}),(function(n){var e=n.collapsed,t=n.theme;return e&&"never"!==e&&(0,M.iv)(Z||(Z=(0,_.Z)(["\n @media (min-width: ",") {\n max-height: none;\n }\n "])),t.layout.breakpoints[e])})),U=M.ZP.ul(O||(O=(0,_.Z)(["\n width: 100%;\n list-style: none;\n margin: 0;\n padding: 0;\n"]))),F=M.ZP.li(w||(w=(0,_.Z)(["\n width: 100%;\n margin: 0;\n"]))),G=M.ZP.span(P||(P=(0,_.Z)(["\n margin-left: ",";\n display: flex;\n backface-visibility: hidden;\n\n ",";\n"])),(function(n){return n.theme.spacing.spacing0025}),(function(n){return n.isActive&&(0,M.iv)(A||(A=(0,_.Z)(["\n opacity: 0;\n "])))})),K=M.ZP.span(E||(E=(0,_.Z)(["\n height: 10px;\n margin-left: 6px;\n margin-top: -1px;\n"]))),X=(0,M.ZP)(I.W)(j||(j=(0,_.Z)(["\n display: flex;\n text-align: left;\n ","\n"])),(function(n){return!n.noHover&&(0,M.iv)(k||(k=(0,_.Z)(["\n cursor: pointer;\n :hover {\n background: #f2f2f2;\n color: inherit;\n }\n "])))})),q=M.ZP.li(x||(x=(0,_.Z)(["\n margin: 0;\n"]))),V=["isolated","iconName","title","big","elements","collapsed","active","elementsToShow","showIconClose","onShowMore","onShowLess","onExpand","onCollapse"];function $(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}var nn=function(n){var e=n.isolated,t=n.iconName,i=n.title,r=n.big,o=n.elements,c=n.collapsed,a=n.active,s=void 0!==a&&a,u=n.elementsToShow,l=n.showIconClose,p=void 0===l||l,g=n.onShowMore,f=n.onShowLess,m=n.onExpand,h=n.onCollapse,d=(0,S.Z)(n,V),v=(0,C.useState)([]),b=(0,D.Z)(v,2),y=b[0],Z=b[1],O=(0,C.useRef)(null),w=(0,C.useState)("max-content"),P=(0,D.Z)(w,2),A=P[0],E=P[1],j=(0,C.useState)(s),k=(0,D.Z)(j,2),x=k[0],_=k[1],M=(0,C.useState)(s),I=(0,D.Z)(M,2),z=I[0],N=I[1],T=(0,C.useState)(!1),nn=(0,D.Z)(T,2),en=nn[0],tn=nn[1],rn="never"!==c&&p,on=(0,C.useMemo)((function(){return!!u&&u.count0&&C.createElement(G,{isActive:x},C.createElement(H.P,{amount:an}))),C.createElement(Q,{ref:O,isActive:x,isFirstActive:z,heightTransform:A,collapsed:c},C.createElement(U,null,o.slice(0,cn).map((function(n,e){return C.createElement(F,{key:n.id||"Accordion__Item-".concat(e)},C.createElement(X,{asLink:n.asLink,noHover:n.noHover},n.content,n.notificationsAmount&&n.notificationsAmount>0&&C.createElement(K,null,C.createElement(H.P,{amount:n.notificationsAmount}))))})),y.length>0&&en&&y.map((function(n,e){return C.createElement(F,{key:n.id||"Accordion__Item-".concat(e)},C.createElement(X,{asLink:n.asLink,noHover:n.noHover},n.content,n.notificationsAmount&&n.notificationsAmount>0&&C.createElement(K,null,C.createElement(H.P,{amount:n.notificationsAmount}))))})),on&&!en&&C.createElement(q,null,C.createElement(Y,{onClick:function(){g&&g(),tn((function(n){return!n}))},secondary:!0,small:!0},null===u||void 0===u?void 0:u.moreLabel)),on&&en&&C.createElement(q,null,C.createElement(Y,{onClick:function(){f&&f(),tn((function(n){return!n}))},secondary:!0,small:!0},null===u||void 0===u?void 0:u.lessLabel)))))}}}]); //# sourceMappingURL=7236.js.map