1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,29750,(e,t,i)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,l=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,o=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,m=n?Symbol.for("react.concurrent_mode"):60111,h=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,b=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,x=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function j(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case d:case m:case a:case o:case s:case f:return e;default:switch(e=e&&e.$$typeof){case c:case h:case b:case g:case u:return e;default:return t}}case l:return t}}}function k(e){return j(e)===m}i.AsyncMode=d,i.ConcurrentMode=m,i.ContextConsumer=c,i.ContextProvider=u,i.Element=r,i.ForwardRef=h,i.Fragment=a,i.Lazy=b,i.Memo=g,i.Portal=l,i.Profiler=o,i.StrictMode=s,i.Suspense=f,i.isAsyncMode=function(e){return k(e)||j(e)===d},i.isConcurrentMode=k,i.isContextConsumer=function(e){return j(e)===c},i.isContextProvider=function(e){return j(e)===u},i.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},i.isForwardRef=function(e){return j(e)===h},i.isFragment=function(e){return j(e)===a},i.isLazy=function(e){return j(e)===b},i.isMemo=function(e){return j(e)===g},i.isPortal=function(e){return j(e)===l},i.isProfiler=function(e){return j(e)===o},i.isStrictMode=function(e){return j(e)===s},i.isSuspense=function(e){return j(e)===f},i.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===m||e===o||e===s||e===f||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===g||e.$$typeof===u||e.$$typeof===c||e.$$typeof===h||e.$$typeof===x||e.$$typeof===v||e.$$typeof===w||e.$$typeof===y)},i.typeOf=j},13784,(e,t,i)=>{"use strict";t.exports=e.r(29750)},81979,(e,t,i)=>{"use strict";var n=e.r(13784),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function o(e){return n.isMemo(e)?a:s[e.$$typeof]||r}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,f=Object.prototype;t.exports=function e(t,i,n){if("string"!=typeof i){if(f){var r=h(i);r&&r!==f&&e(t,r,n)}var a=c(i);d&&(a=a.concat(d(i)));for(var s=o(t),p=o(i),g=0;g<a.length;++g){var b=a[g];if(!l[b]&&!(n&&n[b])&&!(p&&p[b])&&!(s&&s[b])){var y=m(i,b);try{u(t,b,y)}catch(e){}}}}return t}},3115,e=>{"use strict";var t=e.i(28626),i=e.i(68914),n=e.i(89145),r=e.i(89486),l=e.i(52492),a=class extends l.Subscribable{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,r){let l=t.queryKey,a=t.queryHash??(0,i.hashQueryKeyByOptions)(l,t),s=this.get(a);return s||(s=new n.Query({client:e,queryKey:l,queryHash:a,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(l)}),this.add(s)),s}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){r.notifyManager.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,i.matchQuery)(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,i.matchQuery)(e,t)):t}notify(e){r.notifyManager.batch(()=>
1{this.listeners.forEach(t=>{t(e)})})}onFocus(){r.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){r.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},s=e.i(36137),o=l,u=class extends o.Subscribable{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#i=new Map,this.#n=0}#t;#i;#n;build(e,t,i){let n=new s.Mutation({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:i});return this.add(n),n}add(e){this.#t.add(e);let t=c(e);if("string"==typeof t){let i=this.#i.get(t);i?i.push(e):this.#i.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){let t=c(e);if("string"==typeof t){let i=this.#i.get(t);if(i)if(i.length>1){let t=i.indexOf(e);-1!==t&&i.splice(t,1)}else i[0]===e&&this.#i.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=c(e);if("string"!=typeof t)return!0;{let i=this.#i.get(t),n=i?.find(e=>"pending"===e.state.status);return!n||n===e}}runNext(e){let t=c(e);if("string"!=typeof t)return Promise.resolve();{let i=this.#i.get(t)?.find(t=>
1t!==e&&t.state.isPaused);return i?.continue()??Promise.resolve()}}clear(){r.notifyManager.batch(()=>{this.#t.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#t.clear(),this.#i.clear()})}getAll(){return Array.from(this.#t)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,i.matchMutation)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,i.matchMutation)(e,t))}notify(e){r.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return r.notifyManager.batch(()=>Promise.all(e.map(e=>e.continue().catch(i.noop))))}};function c(e){return e.options.scope?.id}var d=e.i(48451),m=e.i(61587),h=e.i(40827),f=class{#r;#l;#a;#s;#o;#u;#c;#d;constructor(e={}){this.#r=e.queryCache||new a,this.#l=e.mutationCache||new u,this.#a=e.defaultOptions||{},this.#s=new Map,this.#o=new Map,this.#u=0}mount(){this.#u++,1===this.#u&&(this.#c=d.focusManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#r.onFocus())}),this.#d=m.onlineManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#r.onOnline())}))}unmount(){this.#u--,0===this.#u&&(this.#c?.(),this.#c=void 0,this.#d?.(),this.#d=void 0)}isFetching(e){return this.#r.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#l.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#r.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#r.build(this,t),r=n.state.data;return void 0===r?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime((0,i.resolveStaleTime)(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#r.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),l=this.#r.get(r.queryHash),a=l?.state.data,s=(0,i.functionalUpdate)(t,a);if(void 0!==s)return this.#r.build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,i){return r.notifyManager.batch(()=>this.#r.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,i)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#r.get(t.queryHash)?.state}removeQueries(e){let t=this.#r;r.notifyManager.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let i=this.#r;return r.notifyManager.batch(()=>(i.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t};return Promise.all(r.notifyManager.batch(()=>this.#r.findAll(e).map(e=>e.cancel(n)))).then(i.noop).catch(i.noop)}invalidateQueries(e,t={}){return r.notifyManager.batch(()=>(this.#r.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(r.notifyManager.batch(()=>this.#r.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(i.noop)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(i.noop)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let n=this.#r.build(this,t);return n.isStaleByTime((0,i.resolveStaleTime)(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(i.noop).catch(i.noop)}fetchInfiniteQuery(e){return e.behavior=(0,h.infiniteQueryBehavior)(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(i.noop).catch(i.noop)}ensureInfiniteQueryData(e){return e.behavior=(0,h.infiniteQueryBehavior)(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return m.onlineManager.isOnline()?this.#l.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#r}getMutationCache(){return this.#l}getDefaultOptions(){return this.#a}setDefaultOptions(e){this.#a=e}setQueryDefaults(e,t){this.#s.set((0,i.hashKey)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#s.values()],n={};return t.forEach(t=>{(0,i.partialMatchKey)(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#o.set((0,i.hashKey)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#o.values()],n={};return t.forEach(t=>{(0,i.partialMatchKey)(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#a.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,i.hashQueryKeyByOptions)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===i.skipToken&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#a.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#r.clear(),this.#l.clear()}},p=e.i(27444),g=e.i(19972),b=e.i(59610),y=e.i(52338),x=e.i(24412),v=e.i(79826);let w="pointer",j=!1,k=new Set(["Tab","Enter"," ","Spacebar","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown","Escape"]);
1function N(){return"undefined"==typeof document?null:document.getElementById("main-content")??document.querySelector("main#main-content")??document.querySelector('[role="main"]')??document.querySelector("main")}let C="data-eleiko-skip-to-main";function E(e){if("true"===e.getAttribute("aria-hidden"))return!1;let t=e.getBoundingClientRect();return t.width>0&&t.height>0}function S(){document.dispatchEvent(new KeyboardEvent("keydown",{key:"Escape",code:"Escape",bubbles:!0,cancelable:!0}))}var I=e.i(59731),A=e.i(964);let q={ad_storage:"denied",analytics_storage:"denied",functionality_storage:"denied"},T=()=>{let e=localStorage.getItem("cookie_consent");return e?(0,I.default)(e):null},M=()=>{let[e,i]=(0,x.useState)(!1),n=(0,y.useRouter)(),r=(0,v.default)(),l=r.isOpen&&"local"===r.overlay,a=(0,x.useRef)(!1);(0,x.useEffect)(()=>{"/privacy-policy"===n.asPath||l?i(!1):i(!T())},[n.asPath,l]),(0,x.useEffect)(()=>{if(e||!a.current)return;a.current=!1;let t=window.setTimeout(()=>{window.scrollTo({top:0,behavior:"auto"});let e=document.getElementById("skip-to-main-content");e instanceof HTMLElement?e.focus({preventScroll:!0}):N()?.focus({preventScroll:!0})},550);return()=>window.clearTimeout(t)},[e]);let s=e=>{var t;t={ad_storage:e?"granted":"denied",analytics_storage:e?"granted":"denied",functionality_storage:"granted"},localStorage.setItem("cookie_consent",JSON.stringify(t)),window.gtag?.("consent","update",t),a.current=!0,i(!1)};return(0,t.jsx)(A.default,{"aria-describedby":"cookie-consent-description","aria-labelledby":"cookie-consent-title",includeSkipLinkShards:!1,isOpen:e,returnFocus:!1,children:(0,t.jsxs)("div",{className:"p-4 flex flex-col gap-4",children:[(0,t.jsx)("h2",{className:"font-bold text-h-1xl lg:text-h-2xl text-primary",id:"cookie-consent-title",children:"Your Privacy"}),(0,t.jsxs)("p",{className:"text-base",id:"cookie-consent-description",children:["Welcome to Eleiko. We use cookies to enhance your experience on our website. You can choose to accept all cookies or only the necessary ones. For more information, please read our"," ",(0,t.jsx)(b.default,{href:"privacy-policy",children:"Privacy Policy"}),"."]}),(0,t.jsxs)("fieldset",{"aria-label":"Cookie consent options",className:"flex gap-2 flex-wrap border-0 p-0",children:[(0,t.jsx)(g.default,{"aria-label":"Accept all cookies including analytics and advertising",onClick:()=>s(!0),children:"Accept all cookies"}),(0,t.jsx)(g.default,{"aria-label":"Accept only necessary cookies",color:"secondary",onClick:()=>s(!1),children:"Accept necessary cookies"})]})]})})};var O=e.i(95541),L=e.i(44967),F=e.i(95987),P=e.i(680),$=e.i(75236),R=e.i(94109);let _=(0,P.default)(()=>e.A(61477),{loadableGenerated:{modules:[99321]},ssr:!1}),B=e=>{let{settings:i,background:n,copyright:r,newsletterCtaText:l,newsletterDesc:a,newsletterTitle:s,facebookUrl:o,instagramUrl:u,youtubeUrl:c,xOrTwitterUrl:d,linkedInUrl:m,navigation1:h,navigation2:f,navigation3:p}=e,y=(0,v.default)(),x=[{name:"Instagram",url:u,icon:e=>(0,t.jsxs)("svg",{fill:"currentColor",viewBox:"0 0 24 24",...e,children:[(0,t.jsx)("title",{children:"Instagram"}),(0,t.jsx)("path",{clipRule:"evenodd",d:"M12.315 2c2.43 0 2.784.013 3.808.06 1.064.049 1.791.218 2.427.465a4.902 4.902 0 011.772 1.153 4.902 4.902 0 011.153 1.772c.247.636.416 1.363.465 2.427.048 1.067.06 1.407.06 4.123v.08c0 2.643-.012 2.987-.06 4.043-.049 1.064-.218 1.791-.465 2.427a4.902 4.902 0 01-1.153 1.772 4.902 4.902 0 01-1.772 1.153c-.636.247-1.363.416-2.427.465-1.067.048-1.407.06-4.123.06h-.08c-2.643 0-2.987-.012-4.043-.06-1.064-.049-1.791-.218-2.427-.465a4.902 4.902 0 01-1.772-1.153 4.902 4.902 0 01-1.153-1.772c-.247-.636-.416-1.363-.465-2.427-.047-1.024-.06-1.379-.06-3.808v-.63c0-2.43.013-2.784.06-3.808.049-1.064.218-1.791.465-2.427a4.902 4.902 0 011.153-1.772A4.902 4.902 0 015.45 2.525c.636-.247 1.363-.416 2.427-.465C8.901 2.013 9.256 2 11.685 2h.63zm-.081 1.802h-.468c-2.456 0-2.784.011-3.807.058-.975.045-1.504.207-1.857.344-.467.182-.8.398-1.15.748-.35.35-.566.683-.748 1.15-.137.353-.3.882-.344 1.857-.047 1.023-.058 1.351-.058 3.807v.468c0 2.456.011 2.784.058 3.807.045.975.207 1.504.344 1.857.182.466.399.8.748 1.15.35.35.683.566 1.15.748.353.137.882.3 1.857.344 1.054.048 1.37.058 4.041.058h.08c2.597 0 2.917-.01 3.96-.058.976-.045 1.505-.207 1.858-.344.466-.182.8-.398 1.15-.748.35-.35.566-.683.748-1.15.137-.353.3-.882.344-1.857.048-1.055.058-1.37.058
1-4.041v-.08c0-2.597-.01-2.917-.058-3.96-.045-.976-.207-1.505-.344-1.858a3.097 3.097 0 00-.748-1.15 3.098 3.098 0 00-1.15-.748c-.353-.137-.882-.3-1.857-.344-1.023-.047-1.351-.058-3.807-.058zM12 6.865a5.135 5.135 0 110 10.27 5.135 5.135 0 010-10.27zm0 1.802a3.333 3.333 0 100 6.666 3.333 3.333 0 000-6.666zm5.338-3.205a1.2 1.2 0 110 2.4 1.2 1.2 0 010-2.4z",fillRule:"evenodd"})]})},{name:"LinkedIn",url:m,icon:e=>(0,t.jsxs)("svg",{fill:"currentColor",viewBox:"0 0 24 24",...e,children:[(0,t.jsx)("title",{children:"LinkedIn"}),(0,t.jsx)("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})]})},{name:"Facebook",url:o,icon:e=>(0,t.jsxs)("svg",{fill:"currentColor",viewBox:"0 0 24 24",...e,children:[(0,t.jsx)("title",{children:"Facebook"}),(0,t.jsx)("path",{clipRule:"evenodd",d:"M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987
1h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z",fillRule:"evenodd"})]})},{name:"YouTube",url:c,icon:e=>(0,t.jsxs)("svg",{fill:"currentColor",viewBox:"0 0 24 24",...e,children:[(0,t.jsx)("title",{children:"YouTube"}),(0,t.jsx)("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})]})},{name:"X",url:d,icon:e=>(0,t.jsxs)("svg",{fill:"currentColor",viewBox:"0 0 24 24",...e,children:[(0,t.jsx)("title",{children:"X"}),(0,t.jsx)("path",{d:"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"})]})}].filter(e=>e.url),w={title:"text-h-base lg: text-h-lg xl:text-h-xl font-bold",desc:"mt-4 text-base font-medium max-w-md",link:"block font-medium text-base hover:underline",copyright:"font-bold text-xs",bottom:"mt-10 border-t_ pt-8 md:flex md:items-center md:justify-between",icon:"h-6",iconLink:"",iconWrapper:"",location:""};return"Dark"===i.colorTheme?(w.title=(0,L.default)(w.title,"text-white"),w.desc=(0,L.default)(w.desc,"text-white"),w.link=(0,L.default)(w.link,"text-white"),w.copyright=(0,L.default)(w.copyright,"text-white"),w.location=(0,L.default)(w.location,"text-white"),w.bottom=(0,L.default)(w.bottom,"border-primary-dark"),w.iconLink=(0,L.default)(w.iconLink,"text-white hover:text-primary-2"),w.iconWrapper=(0,L.default)(w.iconWrapper,"text-white")):(w.title=(0,L.default)(w.title,"text-primary"),w.desc=(0,L.default)(w.desc,"text-primary"),w.link=(0,L.default)(w.link,"text-primary"),w.copyright=(0,L.default)(w.copyright,"text-primary"),w.location=(0,L.default)(w.location,"text-primary"),w.bottom=(0,L.default)(w.bottom,"border-primary"),w.iconLink=(0,L.default)(w.iconLink,"text-primary hover:text-primary-2"),w.iconWrapper=(0,L.default)(w.iconWrapper,"text-primary")),(0,t.jsxs)(R.default,{...i,layoutSettings:{isCovered:!0,preview:!1,height:"Default",background:n,hasMarginTop:!1,hasMarginBottom:!1},children:[n&&(0,t.jsx)($.default,{...n}),(0,t.jsxs)("footer",{children:[(0,t.jsx)("h2",{className:"sr-only",id:"footer-heading",children:"Footer"}),(0,t.jsxs)(F.default,{layout:"Fluid",children:[(0,t.jsxs)("div",{className:"flex flex-wrap justify-between gap-12 lg:gap-x-14",children:[(0,t.jsx)("div",{className:"flex",children:[[h,f,p]].map((e,i)=>(0,t.jsx)("div",{className:"flex flex-wrap items-start flex-1 gap-12 lg:gap-x-14",children:e.map((e,i)=>e?(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:w.title,children:e.title}),(0,t.jsx)("ul",{className:"mt-4 space-y-4 list-none p-0 m-0",children:e.items?.map((e,i)=>{let{url:n,title:r}=e;return n.src&&r?(0,t.jsx)("li",{children:(0,t.jsx)(b.default,{className:w.link,href:n.src,children:r})},i):null})})]},i):null)},i))}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:w.title,children:s}),(0,t.jsx)("p",{className:w.desc,children:a}),(0,t.jsx)("div",{className:"mt-8",children:(0,t.jsx)(g.default,{colorTheme:i.colorTheme,onClick:()=>y.open("newsletter"),children:l})})]})]}),(0,t.jsxs)("div",{className:w.bottom,children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between md:order-2 gap-x-10 gap-y-6",children:[(0,t.jsx)("div",{className:"flex space-x-4",children:x.map(e=>e.url?(0,t.jsxs)(b.default,{className:w.iconLink,href:e.url,children:[(0,t.jsx)("span",{className:"sr-only",children:e.name}),(0,t.jsx)(e.icon,{"aria-hidden":"true",className:w.icon})]},e.url):(0,t.jsxs)("span",{className:w.iconWrapper,children:[(0,t.jsx)("span",{className:"sr-only",children:e.name}),(0,t.jsx)(e.icon,{"aria-hidden":"true",className:w.icon})]},e.name))}),(0,t.jsx)(_,{colorTheme:i.colorTheme})]}),(0,t.jsx)("p",{className:"mt-8 md:mt-0 md:order-1",children:(0,t.jsxs)("span",{className:w.copyright,children:["© ",new Date().getFullYear()," ",r]})})]})]})]})]})};var D=e.i(60818);function H(){return(H=Object.assign.bind()).apply(null,arguments)}e.i(81979);var U=function(e,t,i){return(e=e<=i?e:i)>=t?e:t},Q=function(){var e=!1,t=[],i=function(){e=!0;var n=t.shift();if(n)return n(i);e=!1};return{clear:function(){e=!1,t=[]},enqueue:function(n){t.push(n),e||1!==t.length||i()}}},W=function(){var e;return{cancel:function(){e&&window.cancelAnimationFrame(e)},schedule:function(t,i){var n,r=function(l){(n=n||l,l-n>i)?t():e=window.requestAnimationFrame(r)};e=window.requestAnimationFrame(r)}}},V=function(e){var t=0;return e>=0&&e<.2?t=.1:e>=.2&&e<.5?t=.04:e>=.5&&e<.8?t=.02:e>=.8&&e<.99&&(t=.005),U(e+t,0,.994)},z=function(e){(0,x.useEffect)(e,[])},K=function(e){return++e%1e6},G=function(){var e=(0,x.useState)(0)[1];return(0,x.useCallback)(function(){return e(K)},[])},Z=function(e){void 0===e&&(e={});var t=G(),i=(0,x.useRef)(H({},e));return[(0,x.useCallback)(function(){return i.current},[]),(0,x.useCallback)(function(e){e&&(Object.assign(i.current,e),t())},[])]},X=function(){var e=(0,x.useRef)(!0);return e.current?(e.current=!1,!0):e.current},Y=function(e,t){var i=X();(0,x.useEffect)(function(){if(!i)return e()},t)},J=function(){},ee={isFinished:!0,progress:0,sideEffect:J},et=function(e){var t=void 0===e?{}:e,i=t.animationDuration,n=void 0===i?200:i,r=t.incrementDuration,l=void 0===r?800:r,a=t.isAnimating,s=void 0!==a&&a,o=t.minimum,u=void 0===o?.08:o,c=Z(ee),d=c[0],m=c[1],h=(0,x.useRef)(null),f=(0,x.useRef)(null);z(function(){h.current=Q(),f.current=W()});var p=(0,x.useCallback)(function(){var e,t;null==(e=f.current)||e.cancel(),null==(t=h.current)||t.clear()},[]),g=(0,x.useCallback)(function(e){var t,i,r;if(1===(e=U(e,u,1))){p(),null==(i=h.current)||i.enqueue(function(t){m({progress:e,sideEffect:function(){var e;
1return null==(e=f.current)?void 0:e.schedule(t,n)}})}),null==(r=h.current)||r.enqueue(function(){m({isFinished:!0,sideEffect:p})});return}null==(t=h.current)||t.enqueue(function(t){m({isFinished:!1,progress:e,sideEffect:function(){var e;return null==(e=f.current)?void 0:e.schedule(t,n)}})})},[n,p,u,h,m,f]),b=(0,x.useCallback)(function(){g(V(d().progress))},[d,g]),y=(0,x.useCallback)(function(){var e=function(){var t;b(),null==(t=h.current)||t.enqueue(function(t){var i;null==(i=f.current)||i.schedule(function(){e(),t()},l)})};e()},[l,h,f,b]),v=(0,x.useRef)(J),w=d().sideEffect;return(0,x.useEffect)(function(){v.current=b}),z(function(){return s&&y(),p}),Y(function(){d().sideEffect()},[d,w]),Y(function(){s?m(H({},ee,{sideEffect:y})):g(1)},[s,g,m,y]),{animationDuration:n,isFinished:d().isFinished,progress:d().progress}};let ei=({isAnimating:e})=>{let{animationDuration:i,isFinished:n,progress:r}=et({isAnimating:e});return(0,t.jsx)("div",{className:"pointer-events-none",style:{opacity:+!n,transition:`opacity ${i}ms linear`},children:(0,t.jsx)("div",{className:"bg-primary-2 h-1 w-full top-0 left-0 fixed z-50",style:{marginLeft:`${(-1+r)*100}%`,transition:`margin-left ${i}ms linear`}})})};var en=e.i(94747),er=e.i(43111),el=e.i(15126);let ea=()=>(0,t.jsx)("button",{className:"skip-link",id:"skip-to-main-content",onClick:()=>(function(e){if("undefined"==typeof document)return;let t=N();if(!t)return;let i=()=>{document.body.removeAttribute(C)};document.body.setAttribute(C,"");let n=t.hasAttribute("inert");n&&S();let r=()=>{try{if(t.focus({preventScroll:!1}),"function"==typeof t.scrollIntoView&&t.scrollIntoView({behavior:"smooth",block:"start"}),window.history?.replaceState){let{pathname:e,search:t}=window.location;window.history.replaceState(null,"",`${e}${t}#main-content`)}}finally{queueMicrotask(i)}};n?requestAnimationFrame(()=>requestAnimationFrame(()=>r())):r()})(),type:"button",children:(0,el.default)("skipToMainContent")}),es=()=>(0,t.jsx)("button",{className:"skip-link skip-link--navigation",id:"skip-to-navigation",onClick:()=>(function(e){if("undefined"==typeof document)return;let t=function(){if("undefined"==typeof document)return null;let e="undefined"==typeof document?null:document.querySelector("[data-navigation-menu]");if(!e)return null;if(window.matchMedia("(max-width: 1023px)").matches){let e=document.getElementById("nav-mobile-menu-toggle");if(e instanceof HTMLElement&&E(e))return e}for(let t of e.querySelectorAll("[data-nav-top-item-index]"))if(E(t))return t;let t=e.querySelector('a[href="/"]');return t&&E(t)?t:e}();t&&requestAnimationFrame(()=>{if(t.focus({preventScroll:!1}),"function"==typeof t.scrollIntoView&&t.scrollIntoView({behavior:"smooth",block:"nearest"}),window.history?.replaceState){let{pathname:e,search:t}=window.location;window.history.replaceState(null,"",`${e}${t}#site-navigation`)}})})(),type:"button",children:(0,el.default)("skipToNavigation")});var eo=e.i(15274);let eu=()=>{let e=(0,v.default)();return(0,x.useEffect)(()=>{if(e.isOpen&&(0,eo.shouldSuppressSkipLinksForOverlay)(e.overlay))return(0,eo.acquireSkipLinkSuppress)()},[e.isOpen,e.overlay]),null},ec=x.forwardRef(function({title:e,titleId:t,...i},n){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},i),e?x.createElement("title",{id:t},e):null,x.createElement("path",{fillRule:"evenodd",d:"M6.75 5.25a.75.75 0 0 1 .75-.75H9a.75.75 0 0 1 .75.75v13.5a.75.75 0 0 1-.75.75H7.5a.75.75 0 0 1-.75-.75V5.25Zm7.5 0A.75.75 0 0 1 15 4.5h1.5a.75.75 0 0 1 .75.75v13.5a.75.75 0 0 1-.75.75H15a.75.75 0 0 1-.75-.75V5.25Z",clipRule:"evenodd"}))});var ed=e.i(39207),em=e.i(56084),eh=e.i(52795),ef=e.i(16420);let ep=({navigation:e,className:i})=>{let n,[r,l]=(0,x.useState)(0),[a,s]=(0,x.useState)(!0),[o,u]=(0,x.useState)(!1),[c,d]=(0,x.useState)(!1),m=(0,x.useRef)(null),h=(0,x.useRef)(void 0),f=(0,em.useAppSelector)(e=>e.channel),p=(0,ef.default)(f.language),g=(0,v.default)();(0,x.useEffect)(()=>{d(!0),window.matchMedia("(prefers-reduced-motion: reduce)").matches&&u(!0)},[]);let y=e.announcement?.messages,w=e.announcement?.links||[],j=e.announcement?.autoRotate!==!1,k=(0,x.useMemo)(()=>{let e=y??[],t=f.country||"us",i=e.filter(e=>(0,eh.default)({locale:f.locale,country:t,text:e.channel}));return i.length>0?i:e},[f.country,f.locale,y]),N=e.announcement?.rotationInterval||7e3,C=k.length>1&&j,E=0===(n=k.map(e=>e.text.trim()).filter(e=>e.length>0)).length?"":1===n.length?`Announcement: ${n[0]}`:`Announcements: ${n.join(". ")}`,S=k[r];return(0,x.useEffect)(()=>{r>=k.length&&l(0)},[r,k.length]),(0,x.useEffect)(()=>{let e;if(!c||!E)return;let t=m.current;if(!t)return;let i=window.setTimeout(()=>{let i;t.textContent="",i=requestAnimationFrame(()=>{t.textContent=E}),e=()=>{cancelAnimationFrame(i)}},200);return()=>{window.clearTimeout(i),e?.()}},[c,E]),(0,x.useEffect)(()=>
1{if(!C||o)return;let e=window.setInterval(()=>{s(!1),h.current=window.setTimeout(()=>{l(e=>(e+1)%k.length),s(!0)},300)},N);return()=>{window.clearInterval(e),void 0!==h.current&&(window.clearTimeout(h.current),h.current=void 0),s(!0)}},[C,o,k.length,N]),(0,t.jsxs)("section",{"aria-label":"Site announcements",className:`bg-primary-dark text-white relative z-50 ${i||""}`,children:[(0,t.jsx)("output",{"aria-atomic":"true","aria-live":"assertive","aria-relevant":"additions text",className:"sr-only",ref:m}),(0,t.jsx)("div",{className:"px-5 md:px-12 lg:px-16",children:(0,t.jsxs)("div",{className:"flex items-center justify-between h-8 lg:h-9 gap-3",children:[(0,t.jsx)("div",{className:"flex min-w-0 flex-1 items-center h-full",children:(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-2 max-lg:pl-[28px] lg:pl-0",children:[(0,t.jsx)("div",{"aria-atomic":"true","aria-live":"polite",className:"text-sm leading-none min-w-0 text-left",id:"announcement-message",children:S?.url?(0,t.jsxs)(b.default,{"aria-label":S.text,className:`text-primary-2 hover:text-white relative group min-w-0 transition-all duration-300 ease-in-out focus:outline-none focus:ring-2 focus:ring-white focus:ring-opacity-50 rounded ${a?"opacity-100":"opacity-0"}`,href:S.url,children:[S.text,(0,t.jsx)("span",{className:"absolute left-0 bottom-[-2px] w-full h-[1px] bg-white opacity-0 group-hover:opacity-100 transition-opacity duration-300"})]},`announcement-message-${r}`):S?.text?(0,t.jsx)("span",{className:`text-primary-2 min-w-0 transition-all duration-300 ease-in-out ${a?"opacity-100":"opacity-0"}`,children:S.text}):null}),C&&(0,t.jsx)("button",{"aria-controls":"announcement-message","aria-label":o?(0,el.default)("playAnnouncements"):(0,el.default)("pauseAnnouncements"),className:"flex shrink-0 items-center justify-center h-5 w-5 -translate-y-px text-primary-2 hover:text-white transition-colors duration-300 ease-in-out focus:outline-none focus:ring-2 focus:ring-white focus:ring-opacity-50 rounded focusable",onClick:()=>u(e=>!e),type:"button",children:o?(0,t.jsx)(ed.PlayIcon,{"aria-hidden":"true",className:"w-4 h-4"}):(0,t.jsx)(ec,{"aria-hidden":"true",className:"w-4 h-4"})})]})}),(0,t.jsx)("div",{className:"flex items-center shrink-0 gap-3 lg:gap-6",children:(0,t.jsxs)("div",{className:"hidden lg:flex items-center space-x-6",children:[w.map(e=>(0,t.jsxs)(b.default,{className:"text-sm text-primary-2 hover:text-white relative group transition-colors duration-300 ease-in-out",href:e.url??"",children:[e.label,(0,t.jsx)("span",{className:"absolute left-0 bottom-[-2px] w-full h-[1px] bg-white opacity-0 group-hover:opacity-100 transition-opacity duration-300"})]},e.label)),(0,t.jsx)("button",{"aria-label":`Change language - Current: ${p}`,className:"flex items-center text-primary-2 hover:text-white hover:opacity-75 transition-colors duration-300 ease-in-out h-10 focus:outline-none focus:ring-2 focus:ring-white focus:ring-opacity-50 rounded",onClick:()=>g.open("local"),type:"button",children:(0,t.jsx)("div",{className:"inline-flex items-center justify-center h-5 w-6",children:c&&f.country&&(0,t.jsx)("img",{alt:"","aria-hidden":"true",className:"w-full h-full",src:`https://flagcdn.com/${f.country}.svg`})})})]})})]})})]})};var eg=e.i(15136);e.i(35071);let eb=function(){for(var e,t,i=0,n="",r=arguments.length;i<r;i++)(e=arguments[i])&&(t=function e(t){var i,n,r="";if("string"==typeof t||"number"==typeof t)r+=t;else if("object"==typeof t)if(Array.isArray(t)){var l=t.length;for(i=0;i<l;i++)t[i]&&(n=e(t[i]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}(e))&&(n&&(n+=" "),n+=t);return n};var ey=e.i(75905);let ex=e=>({...e,className:e.className||({small:"h-5 w-auto",medium:"h-6 w-auto",large:"h-7 w-auto"})[e.size||"medium"]}),ev=[ex({alt:"IWF",src:"/logos/iwf-light.svg",url:"/iwf-weightlifting",width:60,height:24,size:"medium"}),ex({alt:"IPF",src:"/logos/ipf-light.svg",url:"/ipf-powerlifting",width:60,height:24,size:"medium"}),ex({alt:"WPPO",src:"/logos/wppo-light.svg",url:"/wppo-para-powerlifting",width:70,height:28,size:"large",style:{transform:"translate(-3px, -3px)"}}),ex({alt:"Swedish Olympic Committee",src:"/logos/SOK-light.svg",url:"/swedish-olympic-committee",width:56,height:64,className:"h-8 w-auto object-bottom object-contain block leading-none",linkClassName:"self-end -ml-1"})],ew=({className:e="",logos:i=ev})=>(0,t.jsx)(t.Fragment,{children:i.map(i=>(0,t.jsx)(b.default,{className:`opacity-100 lg:hover:opacity-60 transition-opacity duration-200 block ${e}${i.linkClassName?` ${i.linkClassName}`:""}`,href:i.url,children:(0,t.jsx)(eg.default,{alt:i.alt,className:i.className||"h-6 w-auto",height:i.height,src:i.src,style:i.style,width:i.width})},`certification-logo-${i.alt}`))}),ej=e=>(0,t.jsx)("svg",{fill:"none",height:"24",stroke:"currentColor",strokeWidth:"2",viewBox:"0 0 24 24",width:"24",...e,children:(0,t.jsx)("path",{d:"M15 18l-6-6 6-6",strokeLinecap:"round",strokeLinejoin:"round"})}),ek=e=>(0,t.jsxs)("svg",{fill:"none",height:"24",stroke:"currentColor",strokeWidth:"2",viewBox:"0 0 24 24",width:"24",...e,children:[(0,t.jsx)("path",{d:"M6 6l12 12",strokeLinecap:"round"}),(0,t.jsx)("path",{d:"M18 6L6 18",strokeLinecap:"round"})]}),eN=({className:e=""})=>(0,t.jsxs)("svg",{className:e,fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 42 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("path",{d:"M1 12h38"}),(0,t.jsx)("path",{d:"m35 5 6 7-6 7"})]}),eC=e=>(0,t.jsx)("svg",{fill:"none",stroke:"currentColor",strokeWidth:"2",viewBox:"0 0 24 24",...e,children:(0,t.jsx)("path",{d:"M9 5l7 7-7 7",strokeLinecap:"round",strokeLinejoin:"round"})});function eE(e){if("true"===e.getAttribute("aria-hidden")||e.hasAttribute("hidden")||e.hasAttribute("inert")||function(e){let t=e.parentElement;for(;t;){if(t.hasAttribute("inert"))return!0;t=t.parentElement}return!1}(e))return!1;let t=window.getComputedStyle(e);
1if("none"===t.display||"hidden"===t.visibility||"0"===t.opacity)return!1;let i=e.getBoundingClientRect();return 0!==i.width&&0!==i.height}function eS(e){return Array.from(e.querySelectorAll("a[href], button:not([disabled]), input, select, textarea, [tabindex]:not([tabindex='-1'])")).filter(eE)}function eI(e){if("undefined"==typeof document)return!1;let t=document.getElementById(e);if(!t)return!1;let i=eS(t)[0];return!!i&&(i.focus(),document.activeElement===i)}function eA(e,t){if("undefined"==typeof document)return!1;let i=document.querySelector(`[data-nav-panel-id="${e??"root"}"][data-nav-item-index="${t}"]`);return!!i&&!!eE(i)&&(i.focus(),document.activeElement===i)}function eq(e){return!!eA(e,0)||eI(e?`nav-panel-${e}`:"nav-panel-root")}function eT(e){if("undefined"==typeof document)return null;let t=e?`nav-panel-${e}`:"nav-panel-root";return document.getElementById(t)}function eM(e){if(!(e instanceof HTMLElement))return null;let t=e.closest("[data-nav-panel-id]");if(!t)return null;let i=t.getAttribute("data-nav-panel-id");return null===i||"root"===i?null:i}function eO(e,t){let i,n=eT(e);if(!n)return null;let r=eS(n);if(0===r.length)return null;let l=document.activeElement,a=l instanceof HTMLElement?r.indexOf(l):-1;if(-1===a)i=1===t?0:r.length-1;else if((i=a+t)<0||i>=r.length)return null;let s=r[i];return s?(s.focus(),document.activeElement===s?s:null):null}function eL(e){return!!e&&eE(e)}function eF(e,t){e&&(t?e.setAttribute("inert",""):e.removeAttribute("inert"))}let eP=({item:e,index:i,isLeafPanel:n,isExtraSection:r,active:l,panelId:a,isVisible:s=!0,isFocused:o=!1,onNavigateToNode:u,onClose:c})=>{let[d,m]=(0,x.useState)(!1);(0,x.useEffect)(()=>{if(s){let e=setTimeout(()=>m(!0),100);return()=>clearTimeout(e)}m(!1)},[s]);let h=a?`${a}-${i}`:`root-${i}`,f=a??"root";if(e.children&&e.children.length>0){let s=()=>eI(`nav-panel-${h}`);return(0,t.jsx)("button",{"data-nav-panel-id":f,"data-nav-item-index":i,"aria-expanded":l,"aria-haspopup":"true","aria-label":e.ariaLabel||`${e.label} submenu`,className:eb("w-full flex items-center justify-between h-[52px] pl-5 md:pl-12 lg:pl-16 pr-6 md:pr-10 xl:pr-14 font-medium relative group focus:outline-none",o&&"ring-2 ring-inset ring-primary-2 ring-offset-0 focus-visible:ring-primary-2",l?"bg-transparent text-white":{"bg-transparent text-neutral-5":r,"bg-transparent text-white":!r&&n,"bg-white text-primary":!r&&!n}),onClick:()=>{l?u(a):(u(h),setTimeout(()=>s(),0))},onKeyDown:e=>{"Tab"===e.key&&!e.shiftKey&&l&&s()&&e.preventDefault()},type:"button",children:(0,t.jsxs)("div",{className:"w-full flex justify-between items-center",children:[(0,t.jsx)("div",{className:"relative",children:(0,t.jsxs)("span",{className:eb("relative inline-block transition-opacity duration-300",d?"opacity-100":"opacity-0"),children:[e.label,(0,t.jsx)("div",{className:eb("absolute bottom-0 left-0 w-full h-[1px] group-hover:opacity-100",{"opacity-100 bg-white":l,"opacity-0 bg-current":!l})})]})}),(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)(eC,{className:eb("h-5 w-5 transition-opacity duration-300",d?"opacity-100":"opacity-0")})})]})})}return(0,t.jsx)(b.default,{"data-nav-panel-id":f,"data-nav-item-index":i,"aria-label":e.ariaLabel||e.label,className:eb("w-full flex items-center justify-between h-[52px] pl-5 md:pl-12 lg:pl-16 pr-6 md:pr-10 xl:pr-14 font-medium relative group focus:outline-none",o&&"ring-2 ring-inset ring-primary-2 ring-offset-0 focus-visible:ring-primary-2",{"bg-transparent text-neutral-5":r,"bg-transparent text-white font-bold":!r&&n&&e.highlight,"bg-transparent text-primary-2":!r&&n&&!e.highlight,"bg-white text-primary":!r&&!n&&!e.highlight,"bg-white text-primary-2 font-bold":!r&&!n&&e.highlight}),href:e.url??"",onClick:c,children:(0,t.jsxs)("div",{className:"w-full flex justify-between items-center",children:[(0,t.jsx)("div",{className:"relative inline-block",children:(0,t.jsxs)("span",{className:eb("relative inline-block transition-opacity duration-300",e.highlight&&"font-bold",d?"opacity-100":"opacity-0"),children:[e.label,(0,t.jsx)("div",{className:eb("absolute bottom-0 left-0 w-full h-[1px] opacity-0 group-hover:opacity-100",{"bg-primary-2":!r&&!n&&e.highlight,"bg-current":r||n||!r&&!n&&!e.highlight})})]})}),!r&&n&&e.highlight&&(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)(eN,{
1className:eb("h-5 w-auto text-white transition-all duration-300 lg:group-hover:translate-x-3",d?"opacity-100":"opacity-0")})})]})})},e$=({items:e,backPanelId:i,backLabel:n,isVisible:r,isParentOfLeafPanel:l,panelId:a,activeItemIndex:s,focusedItemIndex:o,currentNodeId:u,feature:c,extra:d,displayVisual:m,announcementLinks:h,onNavigateToNode:f,onClose:p})=>{let g,y,[w,j]=(0,x.useState)(!1),[k,N]=(0,x.useState)(!1),C=(0,em.useAppSelector)(e=>e.channel),E=(0,ey.default)(C.country||"us"),S=(0,v.default)();if((0,x.useEffect)(()=>{N(!0)},[]),(0,x.useEffect)(()=>{if(r){let e=setTimeout(()=>j(!0),100);return()=>clearTimeout(e)}j(!1)},[r]),!r)return null;let I=null===a,A=null!==a&&1===(a.match(/-/g)||[]).length,q=e.every(e=>!e.children||0===e.children.length),T=null!==a&&(a.match(/-/g)||[]).length>=2,M=q&&T,O=!I&&!0===m;return(0,t.jsxs)("div",{"data-nav-panel-id":a??"root",id:`nav-panel-${a??"root"}`,className:eb("w-[350px] md:w-[420px] lg:w-[480px] flex flex-col bg-transparent relative z-10",l&&"hidden lg:flex"),children:[(0,t.jsx)("div",{className:eb("h-18 flex-shrink-0",{"hidden lg:flex":M,hidden:!M},M?"bg-transparent":"bg-white")}),(0,t.jsxs)("div",{className:eb("w-full bg-white h-16 lg:h-18 flex-shrink-0 justify-between items-center pl-5 md:pl-12 lg:pl-16 pr-6 md:pr-10 lg:pr-14",{"flex lg:hidden":M,flex:!M}),children:[I?(0,t.jsx)("div",{className:"flex items-center justify-end space-x-4 pt-1 w-full",children:(0,t.jsx)(ew,{})}):"root-0"===a?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{className:"flex lg:hidden items-center text-primary hover:text-primary-dark font-bold text-base focusable group",onClick:()=>f(i),type:"button",children:[(0,t.jsx)(ej,{className:"h-5 w-5 -ml-1 mr-2"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("span",{children:n}),(0,t.jsx)("div",{className:"absolute bottom-0 left-0 w-full h-[1px] bg-current opacity-0 group-hover:opacity-100 transition-opacity duration-200"})]})]}),(0,t.jsx)("div",{className:"hidden lg:flex items-center space-x-4 pt-1",children:(0,t.jsx)(ew,{})})]}):(0,t.jsxs)("button",{className:eb("flex items-center text-primary hover:text-primary-dark font-bold text-base focusable group",A&&"lg:hidden"),onClick:()=>f(i),type:"button",children:[(0,t.jsx)(ej,{className:"h-5 w-5 -ml-1 mr-2"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("span",{children:n}),(0,t.jsx)("div",{className:"absolute bottom-0 left-0 w-full h-[1px] bg-current opacity-0 group-hover:opacity-100 transition-opacity duration-200"})]})]}),!I&&(0,t.jsx)("button",{"aria-label":"Close menu",className:"hidden lg:flex items-center justify-center h-12 w-12 -mr-3 hover:rotate-180 hover:scale-150 transition-transform duration-300 rounded-full text-primary hover:text-primary-2 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-2 focusable",id:"nav-panel-close",onClick:p,type:"button",children:(0,t.jsx)(ek,{className:"h-5 w-5"})})]}),O?(0,t.jsx)("div",{className:"w-full bg-white pl-6 md:pl-14 lg:pl-20 pr-6 md:pr-10 lg:pr-14 py-8",children:(0,t.jsx)("div",{className:"grid grid-cols-2 gap-x-3 md:gap-x-4 gap-y-5",children:e.map((e,i)=>(0,t.jsx)("div",{children:(0,t.jsxs)(b.default,{className:"block group","data-nav-item-index":i,"data-nav-panel-id":a??"root",href:e.url??"#",onClick:p,children:[(0,t.jsx)("div",{className:eb("relative w-full pb-[90%] overflow-hidden bg-neutral-3 mb-1 transition-opacity duration-300",w?"opacity-100":"opacity-0"),children:e.thumbnailUrl&&(0,t.jsx)(eg.default,{alt:e.label,className:"absolute inset-0 object-cover transition-transform duration-300 group-hover:scale-105",fill:!0,quality:80,sizes:"400px",src:e.thumbnailUrl})}),(0,t.jsx)("div",{className:"relative inline-block",children:(0,t.jsxs)("span",{className:eb("text-sm md:text-base font-medium text-primary group-hover:text-primary-dark transition-opacity duration-300 relative inline-block",e.highlight&&"font-bold",w?"opacity-100":"opacity-0"),children:[e.label,(0,t.jsx)("div",{className:"absolute bottom-0 left-0 w-full h-[1px] bg-current opacity-0 group-hover:opacity-100 transition-opacity duration-200"})]})})]})},e.label))})}):(0,t.jsx)("ul",{className:eb("w-full",M&&"pt-4 lg:pt-0"),children:e.map((e,i)=>(0,t.jsx)("li",{children:(0,t.jsx)(eP,{active:i===s,currentNodeId:u,index:i,isFocused:i===o,isLeafPanel:M,isVisible:r,item:e,onClose:p,onNavigateToNode:f,panelId:a})},e.label))}),c?.imageUrl&&(0,t.jsx)("div",{className:"pt-8 bg-white relative",children:(0,t.jsxs)(b.default,{className:eb("block relative group cursor-pointer pb-[56.25%] overflow-hidden bg-primary-dark transition-opacity duration-300",w?"opacity-100":"opacity-0"),href:c.clickUrl,onClick:p,children:[(0,t.jsx)(eg.default,{alt:c.altText||"Feature image",className:"absolute inset-0 object-cover transition-transform duration-500 ease-in-out group-hover:scale-110",fill:!0,src:c.imageUrl}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"}),(0,t.jsx)("div",{className:"absolute bottom-0 left-0 right-0 pl-6 md:pl-14 lg:pl-20 pr-6 md:pr-10 lg:pr-14 p-6",children:(0,t.jsx)("p",{className:"font-bold text-white flex items-center",children:c.ctaText&&(0,t.jsxs)(t.Fragment,{children:[c.ctaText,(0,t.jsx)(eN,{
1className:"h-4 w-auto ml-2 transform transition-transform duration-300 group-hover:translate-x-1 text-white"})]})})})]},`feature-link-${c.id}`)}),(g=I?h:d,I||g&&g.length>0?(0,t.jsxs)(t.Fragment,{children:[!c&&(0,t.jsx)("div",{className:eb("h-8 lg:h-12 flex-shrink-0",M?"bg-transparent":"bg-white")}),(0,t.jsxs)("ul",{className:"w-full bg-neutral-3 py-8 lg:py-12 flex-grow",children:[g?.map((i,n)=>(0,t.jsx)("li",{children:(0,t.jsx)(eP,{currentNodeId:u,index:e.length+n,isExtraSection:!0,isLeafPanel:!1,isVisible:r,item:i,onClose:p,onNavigateToNode:f,panelId:a})},i.label)),I&&(0,t.jsx)("li",{children:(0,t.jsx)("button",{className:"w-full flex items-center justify-between h-14 py-3 pl-6 md:pl-14 lg:pl-20 pr-6 md:pr-10 lg:pr-14 font-medium relative group bg-transparent text-neutral-5 hover:text-primary transition-colors duration-200 focusable",onClick:()=>S.open("local"),type:"button",children:k&&(0,t.jsx)("div",{className:"w-full flex justify-between items-center",children:(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("div",{className:"inline-block w-7 h-7 mr-3 overflow-hidden",children:C.country&&(0,t.jsx)("img",{alt:"","aria-hidden":"true",className:"w-full h-full",src:`https://flagcdn.com/${C.country}.svg`})}),(0,t.jsx)("span",{className:"relative inline-block text-sm font-bold",children:E})]})})})})]})]}):null),(y=I?h:d,I||y&&y.length>0?null:(0,t.jsx)("div",{className:eb("flex-grow",M?"bg-transparent":"bg-white")}))]})};function eR(e){if(!e)return null;let t=e.match(/^root-(\d+)/);if(!t?.[1])return null;let i=Number.parseInt(t[1],10);return Number.isNaN(i)?null:i}function e_(e,t,i){let n=t+i;return n<0||n>=e.length?null:n}let eB=["ArrowDown","ArrowUp","ArrowLeft","ArrowRight","Home","End"],eD=x.useLayoutEffect,eH=({navigation:e,currentNodeId:i,isOpen:n,isClosing:r,focusedItemIndex:l,onNavigateToNode:a,onClose:s,onFocusChange:o,onClearFocus:u,onInteractionTypeChange:c,onTopLevelChange:d,navRef:m})=>{let[h,f]=(0,x.useState)(null),p=(0,x.useRef)(null);(0,x.useEffect)(()=>{let e=p.current;e&&(eF(e,!n),n?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden","true"))},[n]);let g=(0,x.useMemo)(()=>{let t=[];t.push({id:null,items:e.primary,backPanelId:null,backLabel:"Close",feature:void 0,extra:void 0});let i=(e,n,r)=>{e.forEach((e,l)=>{if(e.children&&e.children.length>0){let a=n?`${n}-${l}`:`root-${l}`;t.push({id:a,items:e.children,backPanelId:n,backLabel:e.label,feature:e.feature,extra:e.extra,displayVisual:e.displayVisual}),i(e.children,a,r+1)}})};return e.primary.forEach((e,n)=>{if(e.children&&e.children.length>0){let r=`root-${n}`;t.push({id:r,items:e.children,backPanelId:null,backLabel:e.label,feature:e.feature,extra:e.extra,displayVisual:e.displayVisual}),i(e.children,r,2)}}),t},[e]);(({navRef:e,isOpen:t,getItemsForPanel:i,primaryItems:n,focusedIndex:r,onNavigate:l,onFocusChange:a,onClearFocus:s,onTopLevelChange:o,onInteractionTypeChange:u,currentNodeId:c})=>{let d=(0,x.useCallback)((e,t)=>{e?function(e,t,i,n){let r=e.getAttribute("data-nav-item-index");if(e.getAttribute("data-nav-panel-id")===(t??"root")&&null!=r){let e=Number.parseInt(r,10);if(!Number.isNaN(e))return i(e)}n()}(e,t,a,s):s()},[a,s]),m=(0,x.useCallback)(e=>eM(e)??c,[c]),h=(0,x.useCallback)(e=>{let t=function(e){if("undefined"==typeof document)return;let t=document.activeElement;if(!(t instanceof HTMLElement)||t.getAttribute("data-nav-panel-id")!==(e??"root"))return;let i=t.getAttribute("data-nav-item-index");if(null==i)return;let n=Number.parseInt(i,10);return Number.isNaN(n)?void 0:n}(e);return void 0!==t?t:void 0!==r?r:void 0},[r]),f=(0,x.useCallback)(()=>{let e=eR(c);if(null!==e)return e;if("undefined"!=typeof document){let e=document.activeElement;if(e instanceof HTMLElement){let t=e.getAttribute("data-nav-top-item-index");if(null!=t){let e=Number.parseInt(t,10);if(!Number.isNaN(e))return e}}}return null},[c]),p=(0,x.useCallback)(e=>{let t=f();if(null===t)return;let i=e_(n,t,e);null!==i&&o(i)},[f,n,o]),g=(0,x.useCallback)(e=>{let t=eR(e);if(null===t)return;let i=document.getElementById(`nav-top-item-${t}`);i instanceof HTMLElement&&(i.focus(),s())},[s]),b=(0,x.useCallback)(n=>{if(!t)return;let r=e.current;if(!r)return;let s=n.target;if(!(s instanceof Node)||!r.contains(s))return;let o=s instanceof HTMLElement&&!!s.closest("[data-nav-top-item-index]"),b=s instanceof HTMLElement&&!!s.closest("[data-nav-drilldown-panel]")||s instanceof HTMLElement&&null!==eM(s);if(o&&("ArrowLeft"===n.key||"ArrowRight"===n.key)){n.preventDefault(),n.stopPropagation(),u?.("keyboard"),p("ArrowRight"===n.key?1:-1);return}if(o&&"ArrowDown"===n.key){n.preventDefault(),n.stopPropagation(),u?.("keyboard");let e=f(),t=c??(null!==e?`root-${e}`:null);if(!t)return;requestAnimationFrame(()=>
1{eq(t)&&a(0)});return}if(!b||!eB.includes(n.key))return;u?.("keyboard");let y=m(s),x=h(y);switch(n.stopPropagation(),n.key){case"ArrowDown":n.preventDefault(),d(eO(y,1),y);break;case"ArrowUp":n.preventDefault(),d(eO(y,-1),y);break;case"ArrowRight":{if(n.preventDefault(),void 0===x)break;let e=i(y)[x];if(e)if(e.children&&e.children.length>0){let e=y?`${y}-${x}`:`root-${x}`;l(e),requestAnimationFrame(()=>{a(0),eA(e,0)})}else e.url&&(window.location.href=e.url);else if(s instanceof HTMLElement){let e=s.closest("a[href]");e&&(window.location.href=e.href)}break}case"ArrowLeft":if(n.preventDefault(),s instanceof HTMLElement&&"nav-panel-close"===s.id){let e=eT(y),t=e?eS(e):[],i=t.indexOf(s),n=i>0?t[i-1]:null;n&&(n.focus(),d(n,y));break}if(null!==y&&/^root-\d+$/.test(y)){g(y);break}if(y){let e,t=(e=y.split("-")).length<=2?null:e.slice(0,-1).join("-");t?(l(t),requestAnimationFrame(()=>{a(0),eA(t,0)})):g(y)}break;case"Home":{n.preventDefault();let e=eT(y),t=(e?eS(e):[])[0];t&&(t.focus(),d(t,y));break}case"End":{n.preventDefault();let e=eT(y),t=e?eS(e):[],i=t[t.length-1];i&&(i.focus(),d(i,y))}}},[t,e,i,h,m,f,a,l,p,u,d,g,c]);eD(()=>{if(!t)return;let i=e.current;if(i)return i.addEventListener("keydown",b,!0),()=>i.removeEventListener("keydown",b,!0)},[t,b,e]),eD(()=>{t&&void 0!==r&&eA(c,r)},[t,r,c])})({navRef:m,getItemsForPanel:e=>g.find(t=>t.id===e)?.items??[],isOpen:n,primaryItems:e.primary,focusedIndex:l,currentNodeId:i,onNavigate:a,onFocusChange:o??(()=>{}),onClearFocus:u??(()=>{}),onTopLevelChange:d,onInteractionTypeChange:c});let b=(0,x.useMemo)(()=>{if(!i)return!1;let e=g.find(e=>e.id===i);if(!e)return!1;let t=e.items.every(e=>!e.children||0===e.children.length),n=(i.match(/-/g)||[]).length>=2;return t&&n},[i,g]),y=e=>{if(!e)return null;let t=e.split("-");return t.length<=2?null:t.slice(0,-1).join("-")},v=e=>b&&e.id===y(i),w=(()=>{if(!b||!i)return null;let e=y(i);if(!e)return null;let t=g.find(t=>t.id===e);if(!t)return null;let n=i.split("-");if(n.length<3)return null;let r=n[n.length-1];if(!r)return null;let l=Number.parseInt(r,10);if(Number.isNaN(l))return null;let a=t.items[l];return a?.bgImageUrl||null})();return((0,x.useEffect)(()=>{null!==w&&f(null)},[w]),n||r)?(0,t.jsxs)("div",{className:`fixed left-0 top-24 lg:top-[112px] w-full h-[calc(100vh-96px)] lg:h-[calc(100vh-112px)] ${n?"pointer-events-auto":"pointer-events-none"}`,id:"main-navigation-menu",children:[n&&(0,t.jsx)("button",{"aria-hidden":"true",className:"fixed inset-0 bg-black/40 z-30 top-0 transition-opacity duration-300 opacity-100",onClick:s,tabIndex:-1,type:"button"}),(0,t.jsx)("div",{ref:p,"data-nav-drilldown-panel":!0,className:`relative z-40 bg-primary-dark overflow-y-auto scrollbar-hidden max-w-max h-full transition-transform duration-300 ${n?"translate-x-0":"-translate-x-full"}`,onKeyDownCapture:e=>{if(!n||"Tab"!==e.key||e.shiftKey||"undefined"==typeof document)return;let t=i?`nav-panel-${i}`:"nav-panel-root",r=document.getElementById(t);if(!r)return;let l=eS(r);if(0===l.length)return;let o=document.activeElement;if(!(o instanceof HTMLElement)||!eL(o))return;let u=l[l.length-1];if(!u||o!==u)return;if(e.preventDefault(),i){let e=i.split("-"),t=e[e.length-1],n=e.length>2?e.slice(0,-1).join("-"):null,r=t?Number.parseInt(t,10):NaN;if(!Number.isNaN(r)&&n){let e=`nav-panel-${n}`,t=document.getElementById(e),l=t?.querySelector(`[data-nav-panel-id="${n}"][data-nav-item-index="${r+1}"]`);if(!l||!eL(l)){let e=i.match(/^root-(\d+)/),t=e?.[1]?Number.parseInt(e[1],10):NaN;if(Number.isNaN(t))return;let n=t+1,r=document.getElementById(`nav-top-item-${n}`);if(r instanceof HTMLElement&&eL(r))return void("true"===r.getAttribute("aria-haspopup")?(a(`root-${n}`),setTimeout(()=>eI(`nav-panel-root-${n}`),0)):(s(),setTimeout(()=>r.focus(),0)));let l=document.getElementById("nav-top-focus-link")??document.getElementById("nav-top-search")??document.getElementById("nav-top-favorites")??document.getElementById("nav-top-cart");return s(),setTimeout(()=>{l instanceof HTMLElement&&l.focus()},0),void 0}return a(n),setTimeout(()=>l.focus(),0),void 0}}let c=i?.match(/^root-(\d+)/),d=c?.[1]?Number.parseInt(c[1],10):NaN;if(Number.isNaN(d))return;let m=d+1,h=document.getElementById(`nav-top-item-${m}`);if(!(h instanceof HTMLElement)||!eL(h)){let e=document.getElementById("nav-top-focus-link")??document.getElementById("nav-top-search")??document.getElementById("nav-top-favorites")??document.getElementById("nav-top-cart");s(),setTimeout(()=>{e instanceof HTMLElement&&e.focus()},0);return}"true"===h.getAttribute("aria-haspopup")?(a(`root-${m}`),setTimeout(()=>eI(`nav-panel-root-${m}`),0)):(s(),setTimeout(()=>
1h.focus(),0))},children:(0,t.jsxs)("div",{className:"flex min-h-full items-stretch relative",children:[w?.trim()?(0,t.jsx)(eg.default,{alt:"",className:`absolute inset-0 z-0 pointer-events-none object-cover transition-opacity duration-1000 ${h===w?"opacity-5":"opacity-0"}`,fill:!0,onError:()=>{f(null)},onLoad:()=>{f(w)},priority:!1,quality:75,src:w},w):(0,t.jsx)("div",{className:"absolute inset-0 z-0 pointer-events-none opacity-100 bg-primary-dark"}),g.map(n=>(0,t.jsx)(e$,{activeItemIndex:(e=>{if(!i||!b||!v(e))return;let t=i.split("-");if(t.length<3)return;let n=t[t.length-1];if(!n)return;let r=Number.parseInt(n,10);return Number.isNaN(r)?void 0:r})(n),announcementLinks:e.announcement?.links,backLabel:n.backLabel,backPanelId:n.backPanelId,currentNodeId:i,displayVisual:n.displayVisual,extra:n.extra,feature:n.feature,focusedItemIndex:n.id===i?l:void 0,isParentOfLeafPanel:v(n),isVisible:!!(i===n.id||v(n)),items:n.items,onClose:s,onNavigateToNode:a,panelId:n.id},n.id||"primary"))]})})]}):null};var eU=e.i(70789),eQ=e.i(13771),eW=e.i(45187);let eV=e=>(0,t.jsxs)("svg",{fill:"none",height:"24",stroke:"currentColor",strokeWidth:"2",viewBox:"0 0 24 24",width:"24",...e,children:[(0,t.jsx)("path",{d:"M4 8H20L18 18H6L4 8Z"}),(0,t.jsx)("path",{d:"M8 8V6C8 4.34315 9.34315 3 11 3H13C14.6569 3 16 4.34315 16 6V8"})]}),ez=e=>(0,t.jsxs)("svg",{fill:"none",height:"24",stroke:"currentColor",strokeWidth:"2",viewBox:"0 0 24 24",width:"24",...e,children:[(0,t.jsx)("path",{d:"M5 4H19C19.5523 4 20 4.44772 20 5V19C20 19.5523 19.5523 20 19 20H5C4.44772 20 4 19.5523 4 19V5C4 4.44772 4.44772 4 5 4Z"}),(0,t.jsx)("path",{d:"M15 10L9 10M15 14L9 14",strokeLinecap:"round"})]}),eK=e=>(0,t.jsx)("svg",{viewBox:"0 0 200 36.71",width:100,...e,children:(0,t.jsx)("path",{d:"M11.07 25.48v-3.85h20.04v-7.28H11.07V11.24c0-1.79.91-2.7 2.7-2.7h17.76V.42H5.38C1.91.42 0 2.33 0 5.79v25.13c0 3.46 1.91 5.37 5.38 5.37h26.36v-8.12H13.77c-1.79 0-2.7-.91-2.7-2.69M47 25.27V.42H35.93v30.5c0 3.46 1.91 5.37 5.38 5.37h26.15v-8.33H49.7c-1.79 0-2.7-.91-2.7-2.69M81.87 25.48v-3.85h20.04v-7.28H81.87V11.24c0-1.79.91-2.7 2.7-2.7h17.76V.42H76.17c-3.47 0-5.38 1.91-5.38 5.37v25.13c0 3.46 1.91 5.37 5.38 5.37h26.36v-8.12H84.57c-1.8 0-2.7-.91-2.7-2.69M106.73.42h11.07v35.87h-11.07zM148.28 36.29h13.2L147.8 20.92c-1.21-1.36-1.62-2.15-1.62-3.14 0-1.16.62-2.25 1.21-2.88L159.58.42h-13.01l-9.74 13.66-.02.04c-.02.02-.03.05-.05.07l-.12.16h-3.35V.42H122.2v35.87h11.07V21.63H136.82l.12.17c.12.17.23.32.33.45l11.01 14.04z M180.2 28.38c-7.04 0-8.42-3.68-8.42-10.03s1.38-10.02 8.42-10.02 8.42 3.68 8.42 10.02c0 6.36-1.38 10.03-8.42 10.03m15.54-24.99C192.96.98 188.46 0 180.2 0c-8.26 0-12.77.98-15.55 3.39-2.98 2.58-4.26 7.06-4.26 14.97 0 7.91 1.27 12.39 4.26 14.97 2.78 2.41 7.28 3.39 15.55 3.39 8.26 0 12.76-.98 15.55-3.39 2.98-2.58 4.26-7.06 4.26-14.97-.01-7.92-1.28-12.39-4.27-14.97",fill:"currentColor"})}),eG=e=>(0,t.jsxs)("svg",{fill:"none",height:"24",stroke:"currentColor",strokeWidth:"2",viewBox:"0 0 24 24",width:"24",...e,children:[(0,t.jsx)("path",{d:"M4 6h16",strokeLinecap:"round"}),(0,t.jsx)("path",{d:"M4 12h16",strokeLinecap:"round"}),(0,t.jsx)("path",{d:"M4 18h16",strokeLinecap:"round"})]}),eZ=e=>(0,t.jsxs)("svg",{fill:"none",height:"24",stroke:"currentColor",strokeWidth:"2",viewBox:"0 0 24 24",width:"24",...e,children:[(0,t.jsx)("circle",{cx:"11",cy:"11",r:"6"}),(0,t.jsx)("path",{d:"M15.5 15.5L19 19",strokeLinecap:"round"})]}),eX=({navigation:e,isMenuOpen:i,activeTopLevelIndex:n,onMobileMenuClick:r,onPrimaryItemClick:l,onCloseMenu:a,onTopLevelArrow:s})=>{let o=(0,v.default)(),{cart:u,favorites:c}=(0,eU.useCart)(),{builds:d}=(0,eQ.useConfiguratorBuild)(),m=(0,eW.getFavoritesTotalQuantity)(c.items,d),h=(0,eW.getCartTotalQuantity)(u.items),f=m>0?(0,el.default)("favoritesListAriaWithCount",String(m)):(0,el.default)("favoritesListAriaEmpty"),p=h>0?(0,el.default)("cartListAriaWithCount",String(h)):(0,el.default)("cartListAriaEmpty"),g=e=>{s&&("ArrowLeft"===e.key||"ArrowRight"===e.key)&&(e.preventDefault(),e.stopPropagation(),s("ArrowRight"===e.key?1:-1))};return(0,t.jsx)("div",{className:"bg-primary h-16 lg:h-[76px] text-white relative z-50",children:(0,t.jsx)("div",{className:"px-5 md:px-12 lg:px-16 h-full",children:(0,t.jsxs)("div",{className:"flex items-center xl:justify-between h-full",children:[(0,t.jsxs)("div",{className:"flex items-center h-full",children:[(0,t.jsx)("button",{"aria-controls":"main-navigation-menu","aria-expanded":i,"aria-label":i?"Close Menu":"Open Mobile Menu",className:"text-white w-12 h-12 flex items-center justify-center lg:hidden -ml-[15px] mr-3 focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-50 rounded",id:"nav-mobile-menu-toggle",onClick:i?a:r,type:"button",children:i?(0,t.jsx)(ek,{className:"h-6 w-6"}):(0,t.jsx)(eG,{className:"h-6 w-6"})}),(0,t.jsx)(b.default,{"aria-label":"Eleiko Home",className:"text-white focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-50 rounded",href:"/",children:(0,t.jsx)(eK,{className:"text-white h-4 md:h-5 lg:h-6 w-auto mr-6 xl:mr-10 2xl:mr-16 flex-shrink-0"})},"eleiko-home"),(0,t.jsx)("div",{className:"hidden lg:flex h-full overflow-hidden",children:e.primary.map((e,i)=>{let r=n===i;return(0,t.jsx)("div",{children:e.children&&e.children.length>0?(0,t.jsx)("button",{"aria-controls":`nav-panel-root-${i}`,"aria-expanded":r,"aria-haspopup":"true","aria-label":`${e.label} menu`,className:"flex items-center h-full px-3 xl:px-4 text-sm xl:text-base font-bold text-white hover:text-white focus:outline-none group whitespace-nowrap focu
1s-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-50","data-nav-top-item-index":i,id:`nav-top-item-${i}`,onClick:()=>l(e,i),onKeyDown:t=>{if(g(t),"ArrowLeft"!==t.key&&"ArrowRight"!==t.key){if("ArrowDown"===t.key){t.preventDefault(),r||l(e,i),requestAnimationFrame(()=>{eq(`root-${i}`)});return}if("Enter"===t.key||" "===t.key){t.preventDefault(),l(e,i),requestAnimationFrame(()=>{eq(`root-${i}`)});return}"Tab"!==t.key||t.shiftKey||(t.preventDefault(),l(e,i),requestAnimationFrame(()=>{eq(`root-${i}`)}))}},type:"button",children:(0,t.jsxs)("span",{className:"relative inline-block -mt-[2px]",children:[e.label,(0,t.jsx)("div",{className:`pointer-events-none absolute -bottom-1 left-0 w-full h-[1px] bg-white ${r?"opacity-100":"opacity-0 group-hover:opacity-100"}`})]})}):(0,t.jsx)(b.default,{"aria-label":e.ariaLabel||e.label,className:"flex items-center h-full px-3 xl:px-4 text-sm xl:text-base font-bold text-white hover:text-white focus:outline-none group whitespace-nowrap focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-50","data-nav-top-item-index":i,href:e.url??"#",id:`nav-top-item-${i}`,onKeyDown:g,children:(0,t.jsxs)("span",{className:"relative inline-block -mt-[2px]",children:[e.label,(0,t.jsx)("div",{className:"pointer-events-none absolute -bottom-1 left-0 w-full h-[1px] bg-white opacity-0 group-hover:opacity-100"})]})},e.id)},e.label)})})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between w-full lg:justify-start xl:justify-between xl:w-auto",children:[e.focus&&(0,t.jsx)(b.default,{"aria-label":e.focus.ariaLabel||e.focus.label,className:"hidden lg:flex items-center justify-center h-full xl:h-10 px-3 xl:px-6 xl:mr-8 text-sm xl:text-base font-bold text-white xl:border-[3px] xl:border-white xl:hover:bg-white xl:hover:text-primary xl:hover:border-transparent xl:rounded-full xl:transition-colors xl:duration-200 xl:my-auto group whitespace-nowrap",href:e.focus.url??"#",id:"nav-top-focus-link",children:(0,t.jsxs)("span",{className:"relative -mt-[2px] xl:-mt-[1px]",children:[e.focus.label,(0,t.jsx)("div",{className:"pointer-events-none absolute xl:hidden -bottom-1 left-0 w-full h-[1px] bg-white opacity-0 group-hover:opacity-100"})]})},e.focus.id),(0,t.jsx)("div",{className:"flex justify-end flex-1",children:(0,t.jsxs)("div",{className:"flex items-center -mr-[11px]",children:[(0,t.jsx)("button",{"aria-label":"Search products",className:"text-white w-10 h-12 flex items-center justify-center focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-50 rounded focusable",id:"nav-top-search",onClick:()=>{o.open("quicksearch")},type:"button",children:(0,t.jsx)(eZ,{className:"h-6 w-6"})}),(0,t.jsxs)("button",{"aria-label":f,className:"relative text-white w-10 h-12 flex items-center justify-center focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-50 rounded",id:"nav-top-favorites",onClick:()=>{o.open("favorites")},type:"button",children:[(0,t.jsx)(ez,{className:"h-6 w-6"}),m>0&&(0,t.jsx)("div",{className:"absolute top-2 right-2 translate-x-1/2 -translate-y-1/4 flex items-center justify-center w-5 h-5 rounded-full font-bold text-xs bg-white text-primary",children:(0,t.jsx)("span",{"aria-hidden":"true",children:m})})]}),(0,t.jsxs)("button",{"aria-label":p,className:"relative text-white w-10 h-12 flex items-center justify-center focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-50 rounded",id:"nav-top-cart",onClick:()=>{o.open("cart")},type:"button",children:[(0,t.jsx)(eV,{className:"h-6 w-6"}),h>0&&(0,t.jsx)("div",{"aria-hidden":"true",className:"absolute top-2 right-2 translate-x-1/2 -translate-y-1/4 flex items-center justify-center w-5 h-5 rounded-full font-bold text-xs bg-white text-primary",children:(0,t.jsx)("span",{children:h})})]})]})})]})]})})})},eY={isOpen:!1,currentNodeId:null,isClosing:!1,focusedItemIndex:void 0,searchQuery:void 0,lastInteractionType:void 0};function eJ(e,t){switch(t.type){case"OPEN_MENU":return{...e,isOpen:!0,currentNodeId:t.payload.nodeId||null,isClosing:!1};case"CLOSE_MENU":return{...e,isOpen:!1,isClosing:!0};case"NAVIGATE_TO_NODE":return{...e,currentNodeId:t.payload.nodeId,focusedItemIndex:void 0};case"SET_FOCUS":return{...e,focusedItemIndex:t.payload.index};case"CLEAR_FOCUS":return{...e,focusedItemIndex:void 0};case"SET_SEARCH":return{...e,searchQuery:t.payload.query};case"SET_INTERACTION_TYPE":return{...e,lastInteractionType:t.payload.type};case"RESET_STATE":return{...e,currentNodeId:null,isClosing:!1,focusedItemIndex:void 0};default:return e}}let e0=({navigation:e,className:i,onNavigationChange:n})=>{let r=(0,y.useRouter)(),{state:l,actions:a,helpers:s}=(()=>{let[e,t]=(0,x.useReducer)(eJ,eY),i=(0,x.useRef)(null),n=(0,x.useRef)(e.currentNodeId);n.current=e.currentNodeId;let r=(0,x.useCallback)(e=>{i.current&&(clearTimeout(i.current),i.current=null),t({type:"OPEN_MENU",payload:{nodeId:e}})},[]),l=(0,x.useCallback)(e=>{t({type:"NAVIGATE_TO_NODE",payload:{nodeId:e}})},[]),a=(0,x.useCallback)(()=>{!function(e){if("undefined"==typeof document||document.body.hasAttribute(C))return;let t=document.querySelector("[data-navigation-menu]"),i=document.activeElement;if(!(i instanceof HTMLElement)||!t?.contains(i))return;let n=(null!=e?document.getElementById(`nav-top-item-${e}`):null)??document.getElementById("nav-mobile-menu-toggle");n instanceof HTMLElement&&eE(n)&&n.focus()}(function(e){if(!e)return null;let t=e.match(/^root-(\d+)/);if(!t?.[1])return null;let i=Number.parseInt(t[1],10);return Number.isNaN(i)?null:i}(n.current)),t({type:"CLOSE_MENU"}),i.current&&clearTimeout(i.current),i.current=setTimeout(()=>{t({type:"RESET_STATE"}),i.current=null},300)},[]),s=(0,x.useCallback)(e=>{t({type:"SET_FOCUS",payload:{index:e}})},[]),o=(0,x.useCallback)(()=>{t({type:"CLEAR_FOCUS"})},[]),u=(0,x.useCallback)(e=>{t({type:"SET_SEARCH",payload:{query:e}})},[]),c=(0,x.useCallback)(e=>
1{t({type:"SET_INTERACTION_TYPE",payload:{type:e}})},[]),d=(0,x.useCallback)((t,i)=>{if(e.isClosing)return;let n=`root-${i}`;t.children&&t.children.length>0?e.isOpen&&e.currentNodeId===n?a():r(n):t.url&&e.isOpen&&a()},[r,a,e.isOpen,e.currentNodeId,e.isClosing]),m=(0,x.useCallback)(()=>{e.isClosing||r()},[r,e.isClosing]),h=(0,x.useCallback)(()=>{if(!e.isOpen||!e.currentNodeId)return null;let t=e.currentNodeId.match(/^root-(\d+)/);return t&&void 0!==t[1]?Number.parseInt(t[1],10):null},[e.isOpen,e.currentNodeId]);return(0,x.useEffect)(()=>()=>{i.current&&clearTimeout(i.current)},[]),{state:e,actions:{handleOpenMenu:r,handleNavigateToNode:l,handleCloseMenu:a,handlePrimaryItemClick:d,handleMobileMenuClick:m,setFocusedItem:s,clearFocusedItem:o,setSearchQuery:u,setInteractionType:c},helpers:{getActiveTopLevelIndex:h}}})(),o=(0,x.useRef)(r.asPath),u=(0,x.useRef)(a.handleCloseMenu);u.current=a.handleCloseMenu,(0,x.useEffect)(()=>{o.current!==r.asPath&&(o.current=r.asPath,u.current())},[r.asPath]),(0,x.useEffect)(()=>{n?.(l.isOpen)},[l.isOpen,n]);let c=(0,x.useCallback)(e=>{let t=e.target;l.isOpen&&!t.closest("[data-navigation-menu]")&&a.handleCloseMenu()},[l.isOpen,a]);(0,x.useEffect)(()=>{if(l.isOpen)return document.addEventListener("mousedown",c),()=>{document.removeEventListener("mousedown",c)}},[l.isOpen,c]),(0,x.useEffect)(()=>{let e=e=>{"Escape"===e.key&&l.isOpen&&a.handleCloseMenu()};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[l.isOpen,a]),(0,x.useEffect)(()=>{if(l.isOpen)return document.body.style.overflow="hidden",()=>{document.body.style.overflow=""}},[l.isOpen]),(0,x.useEffect)(()=>{let e=document.getElementById("main-content");return eF(e,l.isOpen),()=>eF(e,!1)},[l.isOpen]);let d=(0,x.useCallback)(t=>{let i=e.primary[t];i&&(a.setInteractionType("keyboard"),i.children?.length?(a.handleOpenMenu(`root-${t}`),a.setFocusedItem(0),requestAnimationFrame(()=>{eq(`root-${t}`)})):(a.handleCloseMenu(),requestAnimationFrame(()=>{let e=document.getElementById(`nav-top-item-${t}`);e instanceof HTMLElement&&e.focus()})))},[e.primary,a]),m=(0,x.useCallback)(t=>{let i=s.getActiveTopLevelIndex();if(null===i){let e=document.activeElement;if(e instanceof HTMLElement){let t=e.getAttribute("data-nav-top-item-index");if(null!=t){let e=Number.parseInt(t,10);Number.isNaN(e)||(i=e)}}}if(null===i)return;let n=e_(e.primary,i,t);null!==n&&d(n)},[e.primary,s,d]),h=(0,x.useCallback)(()=>{a.handleMobileMenuClick(),requestAnimationFrame(()=>{eq(null)&&a.setFocusedItem(0)})},[a]),f=(0,x.useRef)(null);return(0,t.jsxs)("nav",{"aria-label":"Main navigation",className:`relative z-50 ${i||""}`,"data-navigation-menu":!0,id:"site-navigation",ref:f,tabIndex:-1,children:[(0,t.jsx)(ep,{navigation:e}),(0,t.jsx)(eX,{activeTopLevelIndex:s.getActiveTopLevelIndex(),isMenuOpen:l.isOpen,navigation:e,onCloseMenu:a.handleCloseMenu,onMobileMenuClick:h,onPrimaryItemClick:a.handlePrimaryItemClick,onTopLevelArrow:m}),(0,t.jsx)(eH,{currentNodeId:l.currentNodeId,focusedItemIndex:l.focusedItemIndex,isClosing:l.isClosing,isOpen:l.isOpen,navRef:f,navigation:e,onClose:a.handleCloseMenu,onFocusChange:a.setFocusedItem,onClearFocus:a.clearFocusedItem,onInteractionTypeChange:a.setInteractionType,onNavigateToNode:a.handleNavigateToNode,onTopLevelChange:d})]})},e1={primary:[{id:"home",label:"Equipment",url:"/equipment",children:[{id:"configurators",label:"Configurators",url:"/configurator-options",highlight:!0},{id:"free-weights",label:"Free Weights",url:"/equipment/free-weights",children:[{id:"barbells",label:"Barbells",bgImageUrl:"/img/test/barbells.webp",url:"/equipment/bars",children:[{id:"experience-eleiko-barbells",label:"Experience Eleiko Barbells",url:"/equipment/bars/experience",highlight:!0},{id:"show-all-barbells",label:"Show all Barbells",url:"/equipment/bars/weightlifting"},{id:"weightlifting-barbells",label:"Weightlifting Barbells",url:"/equipment/bars/weightlifting"},{id:"powerlifting-barbells",label:"Powerlifting Barbells",url:"/equipment/bars/powerlifting"},{id:"hybrid-barbells",label:"Hybrid Barbells",url:"/equipment/bars/hybridbars"},{id:"specialty-barbells",label:"Specialty Barbells",url:"/equipment/bars/specialty"}]},{id:"barbell-collars",label:"Barbell Collars",url:"/equipment/barbell-collars"},{id:"weight-plates",label:"Weight Plates",bgImageUrl:"/img/test/plates.jpg",url:"/equipment/plates",children:[{id:"experience-eleiko-plates",label:"Show all Weight Plates",url:"/equipment/plates/weightlifting",highlight:!0},{id:"weightlifting-plates",label:"Weightlifting Plates",url:"/equipment/plates/weightlifting"},{id:"powerlifting-plates",label:"Powerlifting Plates",url:"/equipment/plates/powerlifting"},{id:"fitness-plates",label:"Fitness Plates",url:"/equipment/plates/fitness"}]},{id:"lifting-sets",label:"Lifting Sets",url:"/equipment/liftingsets"},{id:"dumbbells",label:"Dumbbells",bgImageUrl:"/img/test/dumbbell.webp",url:"/equipment/dumbbells",children:[{id:"experience-eleiko-dumbbells",label:"Show all Dumbbells",url:"/equipment/dumbbells",highlight:!0},{id:"fixed-dumbbells",label:"Fixed Dumbbells",url:"/equipment/dumbbells/fixed"},{id:"rotating-dumbbells",label:"Rotating Dumbbells",url:"/equipment/dumbbells/rotating"}]},{id:"kettlebells",label:"Kettlebells",url:"/equipment/kettlebells"}],feature:{id:"barbells",imageUrl:"/img/test/barbells.jpg",ctaText:"Our most powerful barbell ever",clickUrl:"/equipment/free-weights/collection"},extra:[{id:"certified-competition",label:"Certified for Competition",url:"/competition"}]},{id:"strength-systems",label:"Strength Systems",url:"/equipment/strength-systems",children:[{id:"racks-and-rigs",label:"Racks & Rigs",bgImageUrl:"/img/test/racksrigs.webp",url:"/equipment/racks-and-rigs",children:[{id:"experience-eleiko-prestera",label:"Experience Eleiko Prestera",url:"/equipment/racks-and-rigs/experience",highlight:!0},{id:"show-all-racks-rigs",label:"Show all Racks & Rigs",url:"/equipment/racks-and-rigs/racks"},{id:"racks",label:"Racks",url:"/equipment/racks-and-rigs/racks"},{id:"rigs",label:"Rigs",url:"/equipment/racks-and-rigs/rigs"},{id:"fitness-attachments",label:"Fitness Attachments",url:"/equipment/racks-and-rigs/fitness-attachments"},{id:"storage-attachments",label:"Storage Attachments",url:"/equipment/racks-and-rigs/storage-attachments"},{id:"outdoor",label:"Outdoor",url:"/equipment/racks-and-rigs/outdoor"}]},{id:"strength-systems",label:"Eleiko Cables",bgImageUrl:"/img/test/cables.webp",url:"/equipment/cables",children:[{id:"experience-eleiko-cables",label:"Experience Eleiko Cables",url:"/equipment/cables/experience",highlight:!0},{id:"show-all-eleiko-cables",label:"Show all Eleiko Cables",url:"/equipment/cables/stations"},{id:"cable-stations",label:"Cable Stations",url:"/equipment/cables/stations"},{id:"handle-attachments",label:"Handle Attachments",url:"/equipment/cables/attachments"}]},{id:"strength-machines",label:"Strength Machines",bgImageUrl:"/img/test/machines.jpg",url:"/equipment/machines",children:[{id:"show-all-strength-machines",label:"Show all Strength Machines",url:"/equipment/machines",highlight:!0},{id:"selectorized",label:"Selectorized",url:"/equipment/machines/selectorized"},{id:"plate-loaded",label:"Plate Loaded",url:"/equipment/machines/plate-loaded"},{id:"multi-station",label:"Multi Station",url:"/equipment/machines/multi-station"}]},{id:"benches",label:"Weight Benches",bgImageUrl:"/img/test/benches.webp",url:"/equipment/benches",children:[{id:"show-all-weight-benches",label:"Show all Weight Benches",url:"/equipment/benches",highlight:!0},{id:"workout-benches",label:"Workout Benches",url:"/equipment/benches/workout"},{id:"competition-benches",label:"Competition Benches",url:"/equipment/benches/compet
1ition"}]}],feature:{id:"eleiko-cables",imageUrl:"/img/test/cables.webp",ctaText:"Introducing Eleiko Cables",clickUrl:"/equipment/strength-systems/featured"},extra:[{id:"certified-competition",label:"Configurators",url:"/configurator-options"}]},{id:"platforms-flooring",label:"Platforms & Flooring",bgImageUrl:"/img/test/platforms.webp",url:"/equipment/platforms",children:[{id:"show-all-platforms-flooring",label:"Show all Platforms & Flooring",url:"/equipment/platforms",highlight:!0},{id:"traditional-platforms",label:"Traditional Platforms",url:"/equipment/platforms/freestanding"},{id:"sound-reduction-platforms",label:"Sound Reduction Platforms",url:"/equipment/platforms/sound-reduction"},{id:"gym-flooring",label:"Gym Flooring",url:"/equipment/flooring"}]},{id:"storage",label:"Storage",bgImageUrl:"/img/test/storage.jpg",url:"/equipment/storage",children:[{id:"show-all-storage",label:"Show all Storage",url:"/equipment/storage",highlight:!0},{id:"free-standing-storage",label:"Free-standing Storage",url:"/equipment/storage/free-standing"},{id:"wall-mounted-storage",label:"Wall Mounted Storage",url:"/equipment/storage/wall-mounted"},{id:"prestera-storage",label:"Prestera Storage",url:"/equipment/storage/prestera"},{id:"competition-storage",label:"Competition Storage",url:"/equipment/storage/competition"}]},{id:"accessories",label:"Accessories",bgImageUrl:"/img/test/accessories.jpg",url:"/equipment/accessories",children:[{id:"show-all-accessories",label:"Show all Accessories",url:"/equipment/accessories",highlight:!0},{id:"training-accessories",label:"Training Accessories",url:"/equipment/accessories/training"},{id:"competition-accessories",label:"Competition Accessories",url:"/equipment/accessories/competition"}]},{id:"cardio-equipment",label:"Cardio",bgImageUrl:"/img/test/cardio.jpg",url:"/equipment/cardio",children:[{id:"show-all-cardio",label:"Show all Cardio",url:"/equipment/cardio",highlight:!0},{id:"bikes",label:"Bikes",url:"/equipment/cardio/bikes"},{id:"rowers",label:"Rowers",url:"/equipment/cardio/rowers"},{id:"treadmills",label:"Treadmills",url:"/equipment/cardio/treadmills"},{id:"cross-trainers",label:"Cross Trainers",url:"/equipment/cardio/cross-trainers"},{id:"climbers",label:"Climbers",url:"/equipment/cardio/climbers"},{id:"ski-ergs",label:"SkiErgs",url:"/equipment/cardio/ski-ergs"}]},{id:"outlet",label:"Last Chance",url:"/outlet"}],feature:{id:"certified-competition",imageUrl:"/img/test/certifications.jpg",ctaText:"Certified for Competition",clickUrl:"/competition"},extra:[{id:"certified-competition",label:"Certified for Competition",url:"/competition"},{id:"build-your-quote",label:"Build your Quote",url:"/quote"},{id:"partner-portfolio",label:"Partner Portfolio",url:"/partner-portfolio"},{id:"design-philosophy",label:"Design Philosophy",url:"/design"}]},{id:"gear",label:"Gear",url:"/gear",children:[{id:"new-featured",label:"New & Featured",highlight:!0,url:"/gear/featured"},{id:"lifting-gear",label:"Lifting Gear",bgImageUrl:"/img/test/gear.webp",url:"/gear",children:[{id:"show-all-lifting-gear",label:"Show all Lifting Gear",url:"/gear/liftinggear",highlight:!0},{id:"lifting-belts",label:"Lifting Belts",url:"/gear/liftinggear/belts"},{id:"lifting-straps",label:"Lifting Straps",url:"/gear/liftinggear/straps"},{id:"knee-wraps-sleeves",label:"Knee Wraps & Sleeves",url:"/gear/liftinggear/knee-support"},{id:"wrist-wraps",label:"Wrist Wraps",url:"/gear/liftinggear/wrist-wraps"}]},{id:"apparel",label:"Apparel",bgImageUrl:"/img/test/apparel.jpg",url:"/gear/apparel",children:[{id:"show-all-apparel",label:"Show all Apparel",url:"/gear/apparel",highlight:!0},{id:"tops",label:"Tops",url:"/gear/apparel/tops"},{id:"bottoms",label:"Bottoms",url:"/gear/apparel/bottoms"},{id:"singlets",label:"Singlets",url:"/gear/apparel/singlets"}]},{id:"footwear",label:"Accessories",url:"/gear/accessories"}],extra:[{id:"show-all-gear",label:"Guide to Belts",url:"/stories/beginners-guide-to-lifting-belts"},{id:"guide-to-knee-sleeves",label:"Guide to Knee Sleeves",url:"/stories/guide-to-knee-sleeves"},{id:"how-to-use-lifting-belt",label:"How to use a Lifting Belt",url:"/stories/deep-dive-into-lifting-belts"}]},{id:"education",label:"Education",url:"/education"},{id:"markets",label:"Markets",children:[{id:"who-we-serve",label:"Who We Serve",url:"/markets",highlight:!0}
1,{id:"competition",label:"Competition",url:"/markets/competition"},{id:"sports-performance",label:"Sports Performance",url:"/markets/sports-performance"},{id:"commercial-fitness",label:"Commercial Fitness",url:"/markets/commercial-fitness"},{id:"functional-training",label:"Functional Training",url:"/markets/functional-training"},{id:"military-first-responders",label:"Military & First Responders",url:"/markets/military-first-responders"},{id:"campus-recreation",label:"Campus Recreation",url:"/markets/campus-recreation"},{id:"home-gym",label:"Home Gym",url:"/markets/home-gym"}],extra:[{id:"design-your-gym",label:"Case Studies",url:"/case-studies"},{id:"design-services",label:"Design Services",url:"/design-your-gym"},{id:"financing-options",label:"Financing Options",url:"/financing"}]},{id:"explore",label:"Explore",url:"/explore",displayVisual:!0,children:[{id:"who-we-are",label:"Who We Are",url:"/about",highlight:!0,thumbnailUrl:"/img/test/about.jpg"},{id:"case-studies",label:"Case Studies",url:"/case-studies",thumbnailUrl:"/img/test/racksrigs.webp"},{id:"partner-portfolio",label:"Partner Portfolio",url:"/partner-portfolio",thumbnailUrl:"/img/test/machines.jpg"},{id:"eleiko-stories",label:"Eleiko Stories",url:"/stories",thumbnailUrl:"/img/test/barbells.webp"}],extra:[{id:"design-philosophy",label:"News",url:"/news"},{id:"sustainability",label:"Sustainability",url:"/a-stronger-world"},{id:"financing-options",label:"Financing Options",url:"/financing"},{id:"product-guides",label:"Product Guides",url:"/guides"}]}],focus:{id:"design-your-gym",label:"Gym Design",url:"/design-your-gym"},secondary:[{id:"cart",label:"Cart",url:"/cart",icon:"cart"},{id:"search",label:"Build Quote",url:"/quote",icon:"list"},{id:"contact-sales",label:"Contact Sales",url:"/contact-sales",icon:"contact"}],announcement:{links:[{id:"contact-sales",label:"Contact Sales",url:"/contact-us"},{id:"financing-options",label:"Financing Options",url:"/financing"}],messages:[{text:"Build your customized Quote",url:"/quote"},{text:"Shop now and pay later with Klarna",url:"/financing/klarna"}]},topBar:{links:[{id:"free-shipping",label:"Free Shipping",url:"/shipping"},{id:"contact-sales",label:"Contact Sales",url:"/contact-sales"}],messages:[{text:"Free shipping on orders over $500",url:"/shipping",priority:"high"},{text:"Need help choosing? Contact our sales team",url:"/contact-sales",priority:"medium"}],contactInfo:{email:"[email protected]",phone:"+46 (0)31 715 60 00"}}};var e2=e.i(17035);function e5(e){return e.filter(e=>e&&"object"==typeof e).map(e=>e4(e)).filter(Boolean)}function e4(e){var t,i;let n;return{id:e.id.toString(),label:e.title||"",url:e7(e.url),highlight:!1,displayVisual:!!(t=e).items&&t.items.some(e=>!!(e.image?.url||e.image_canto?.url)),bgImageUrl:e6(e.background),children:e.items?e.items.map(e=>({id:e.id.toString(),label:e.title||"",url:e7(e.url),highlight:e.highlight||!1,thumbnailUrl:function(e){if(e.image?.url){let t=e?.image.url.trim();return t?(0,e2.default)(t):void 0}if(e.image_canto?.url){let t=e.image_canto.url.trim();return t?(0,e2.default)(t):void 0}}(e),bgImageUrl:e6(e.background),children:e.items?e.items.map(e=>({id:e.id.toString(),label:e.title||"",url:e7(e.url),highlight:e.highlight||!1,bgImageUrl:e6(e.background),children:e.items?e3(e.items):void 0,ariaLabel:e.title||void 0,trackingData:{componentId:e.id,componentType:e.__component,highlight:e.highlight}})):void 0,feature:e8(e.featuredItems),extra:e.secondaryItems?e3(e.secondaryItems):void 0,ariaLabel:e.title||void 0,trackingData:{componentId:e.id,componentType:e.__component,highlight:e.highlight}})):void 0,icon:(i=e.title,(n=i?.toLowerCase()||"").includes("cart")||n.includes("basket")?"cart":n.includes("list")||n.includes("catalog")?"list":n.includes("contact")||n.includes("support")?"contact":void 0),feature:e8(e.featuredItems),extra:e.secondaryItems?e3(e.secondaryItems):void 0,ariaLabel:e.title||void 0,description:void 0,keywords:void 0,trackingData:{componentId:e.id,componentType:e.__component,colorTheme:e.colorTheme,layout:e.layout}}}function e3(e){return e.map(e=>({id:e.id.toString(),label:e.title||"",url:e7(e.url),highlight:e.highlight||!1,ariaLabel:e.title||void 0,trackingData:{componentId:e.id,componentType:e.__component,highlight:e.highlight}}))}function e7(e){if(e){if("string"==typeof e)return e;if(e.src)return e.src}}function e6(e){if(e&&e.layers&&e.layers.length>0){let t=e.layers[0];if(t&&"image"in t&&t.image?.url){let e=t.image.url.trim();return e?(0,e2.default)(e):void 0}if(t&&"image_canto"in t&&t.image_canto?.url){let e=t.image_canto.url.trim();return e?(0,e2.default)(e):void 0}}}function e8(e){if(!e||0===e.length)return;let t=e[0];if(!t)return;let i=(t.image?.url||t.image_canto?.url||"").trim(),n=i?(0,e2.default)(i):"";if(!n)return;let r=t.ctas?.[0]?.title||t.heading||t.overline||"",l=t.ctas?.[0]?.url?.src||"";return{id:t.id.toString(),imageUrl:n,ctaText:r,clickUrl:l,altText:t.image?.alternativeText||t.heading||void 0}}function e9(e){let t=e.items;return{links:[{id:"contact-us-static",label:(0,el.default)("contactUs"),url:"/contact",ariaLabel:(0,el.default)("contactUs"),trackingData:{componentId:"contact-us-static",componentType:"static-link"}}],messages:t.map(e=>({text:e.text||"",url:e7(e.url||void 0),channel:e.channel,priority:"high",trackingData:{componentId:e.id,componentType:e.__component}})),autoRotate:!0,rotationInterval:5e3}}let te=()=>(0,t.jsx)("div",{className:"px-4 py-2 bg-utility-success-dark md:py-2 md:px-4 lg:py-2 lg:px-8 flex items-center justify-center",children:(0,t.jsx)("div",{className:"items-center justify-center flex",children:(0,t.jsxs)("p",{className:"max-w-3xl text-lg leading-6 text-white",children:["You are in preview mode -",(0,t.jsx)("a",{className:"px-2 underline",href:"/api/exit-preview",children:"Switch off"})]})})}),tt=(0,P.default)(()=>
1e.A(95348),{loadableGenerated:{modules:[92778]},ssr:!1}),ti=(0,P.default)(()=>e.A(19186),{loadableGenerated:{modules:[64775]},ssr:!1}),tn=(0,P.default)(()=>e.A(69543),{loadableGenerated:{modules:[21151]},ssr:!1}),tr=(0,P.default)(()=>e.A(1372),{loadableGenerated:{modules:[74545]},ssr:!1}),tl=(0,P.default)(()=>e.A(5682),{loadableGenerated:{modules:[24186]},ssr:!1}),ta=(0,P.default)(()=>e.A(94417),{loadableGenerated:{modules:[43787]},ssr:!1}),ts=({children:e,pageProps:{navigations:i,hideLayout:n,hideNavigation:r,isCheckout:l,floatingNavigation:a,navigationColorTheme:s,footer:o}})=>{let u=(0,y.useRouter)(),c=(0,v.default)();if((0,x.useEffect)(()=>{let e=null,t=()=>(function(e=document){for(let t of Array.from(("function"==typeof e?.querySelectorAll?e:document).querySelectorAll("a[href]"))){let e=function(e){let t=(0,en.normalizeLinkVisibleText)(e.visibleText),i=e.existingAriaLabel.trim(),n=i.length>0,r=e.href,l=(0,er.labelMentionsNewTab)(i),a=n?null:(0,en.contextualNameForGenericLink)(t,r),s=n?i:null;!s&&a&&(s=a);let o=e.opensInNewTab&&(s?!(0,er.labelMentionsNewTab)(s):!l),u=null;if(n&&o&&s)u=`${s} (${er.NEW_TAB_ARIA_SUFFIX})`;else if(!n&&a)u=o?`${a} (${er.NEW_TAB_ARIA_SUFFIX})`:a;else if(!n&&e.opensInNewTab&&!l){let e=(t||r).trim();e&&(u=`${e} (${er.NEW_TAB_ARIA_SUFFIX})`)}return null!=u&&u!==i?u:null}({visibleText:t.textContent||"",href:t.getAttribute("href")||"",existingAriaLabel:t.getAttribute("aria-label")||"",opensInNewTab:"_blank"===t.getAttribute("target")});null!=e&&t.setAttribute("aria-label",e)}})();t(),u.events.on("routeChangeComplete",t);let i=new MutationObserver(()=>{null==e&&(e=requestAnimationFrame(()=>{e=null,t()}))});return i.observe(document.body,{childList:!0,subtree:!0}),()=>{u.events.off("routeChangeComplete",t),i.disconnect(),null!=e&&cancelAnimationFrame(e)}},[u.events]),n)return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ea,{}),(0,t.jsx)("main",{className:"fit",id:"main-content",tabIndex:-1,children:u.isFallback?(0,t.jsx)(D.default,{}):e})]});if(!i||!o)return(0,t.jsxs)("div",{id:"root",children:[(0,t.jsx)(ea,{}),(0,t.jsx)("main",{className:"fit",id:"main-content",tabIndex:-1,children:u.isFallback?(0,t.jsx)(D.default,{}):e})]});let d=i["main-menu"],m=i["footer-information"],h=i["footer-customer-service"],f=i["footer-support"],p=(()=>{try{let e=function(e){try{let t,i,n,r,l,a;return i=e["main-menu-new"],n=e["secondary-menu"],r=e["secondary-menu"],l=e["announcement-menu"],(a=e["top-banner"])&&e9(a),{primary:i?.items?e5(i.items):[],secondary:n?.items?e5(n.items):[],focus:r?.items?.[0]?e4(r.items[0]):void 0,announcement:a?e9(a):l?{links:(t=l.items).map(e=>e4(e)),messages:t.map(e=>({text:e.title||"",url:e7(e.url),priority:"medium",trackingData:{componentId:e.id,componentType:e.__component}})),autoRotate:!0,rotationInterval:7e3}:void 0,topBar:void 0,config:{enableKeyboardNavigation:!0,enableAnimations:!0,mobileBreakpoint:1280,preloadImages:!0}}}catch{return{primary:[],secondary:[],config:{enableKeyboardNavigation:!0,enableAnimations:!0,mobileBreakpoint:1280,preloadImages:!0}}}}(i);if(!e.primary||0===e.primary.length)return e1;return e}catch(e){return console.error("â Navigation transformation failed, using static navigation:",e),e1}})();return(0,t.jsxs)("div",{className:(0,L.default)({"overflow-x-hidden":c.isOpen&&c.hideScroll}),id:"root",children:[(0,t.jsx)(eu,{}),(0,t.jsx)(ea,{}),(0,t.jsx)(ei,{isAnimating:c.isLoading}),d&&(0,t.jsx)(e0,{navigation:p}),(0,t.jsxs)("main",{className:"fit",id:"main-content",tabIndex:-1,children:[d&&(0,t.jsx)(es,{}),u.isFallback?(0,t.jsx)(D.default,{}):e]}),!l&&(0,t.jsx)(tn,{}),!l&&(0,t.jsx)(tr,{}),(0,t.jsx)(ti,{}),(0,t.jsx)(tt,{}),(0,t.jsx)(tl,{}),(0,t.jsx)(ta,{}),(0,t.jsx)("div",{id:"bundleModalPortal"}),(0,t.jsx)("div",{id:"lightboxModalPortal"}),(0,t.jsx)("div",{id:"upsellModalPortal"}),(0,t.jsx)(M,{}),(0,t.jsx)(B,{...o,navigation1:m,navigation2:h,navigation3:f}),u.isPreview&&(0,t.jsx)(te,{})]})},to=x.forwardRef(function({title:e,titleId:t,...i},n){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},i),e?x.createElement("title",{id:t}
1,e):null,x.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}))}),tu=x.forwardRef(function({title:e,titleId:t,...i},n){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},i),e?x.createElement("title",{id:t},e):null,x.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}))});var tc=e.i(54006),td=e.i(78343);let tm=()=>{let e=(0,v.default)(),i=(0,x.useRef)(null);return(0,x.useEffect)(()=>{if(e.toast.isOpen&&e.toast.toast&&i.current){let t=e.toast.toast,n="";"error"===t.type?n+="Error: ":"warning"===t.type?n+="Warning: ":n+="Information: ",t.title&&(n+=t.title),t.message&&(t.title&&(n+=". "),n+=t.message),t.messages&&t.messages.length>0&&((t.title||t.message)&&(n+=". "),n+=t.messages.join(". "));let r=i.current;r.textContent="",requestAnimationFrame(()=>{r.textContent=n})}},[e.toast.isOpen,e.toast.toast]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("output",{"aria-atomic":"true","aria-live":"assertive",className:"sr-only",ref:i}),(0,t.jsx)(td.default,{className:(0,L.default)("fixed flex items-center gap-2 bottom-4 right-4 p-4 ring-1 shadow-lg bg-white rounded-lg overflow-hidden transition ease-in-out duration-200 z-50",e.toast.toast?.type==="error"?"text-utility-error ring-utility-error":e.toast.toast?.type==="warning"?"text-utility-error-light ring-utility-error-light":"text-primary ring-primary"),closedClassName:"translate-y-6 opacity-0 sm:translate-y-0 sm:translate-x-6",id:"alert",isOpen:e.toast.isOpen,openClassName:"translate-y-0 opacity-100 sm:translate-x-0",children:e.toast.toast&&(0,t.jsxs)(t.Fragment,{children:["error"===e.toast.toast.type?(0,t.jsx)(to,{"aria-hidden":"true",className:"w-6 h-6"}):"warning"===e.toast.toast.type?(0,t.jsx)(tu,{"aria-hidden":"true",className:"w-6 h-6"}):null,e.toast.toast.title&&(0,t.jsx)("span",{className:"font-bold",children:e.toast.toast.title}),e.toast.toast.message&&(0,t.jsx)("span",{className:"text-sm",children:e.toast.toast.message}),e.toast.toast.messages&&(0,t.jsx)("ul",{children:e.toast.toast.messages.map(e=>(0,t.jsx)("li",{children:e},e))}),(0,t.jsx)("div",{className:"flex flex-shrink-0 ml-4",children:(0,t.jsxs)("button",{"aria-label":`${(0,el.default)("close")} notification`,onClick:()=>e.closeToast(),type:"button",children:[(0,t.jsx)("span",{className:"sr-only",children:(0,el.default)("close")}),(0,t.jsx)(tc.XMarkIcon,{"aria-hidden":"true",className:"w-5 h-5"})]})})]})})]})};var th=e.i(40817),tf=e.i(64026),tp=e.i(57178),tg=e.i(54638),tb=e.i(98018),ty=e.i(52064),tx=e.i(21672),tv=e.i(90508);let tw=(0,P.default)(()=>e.A(50890),{loadableGenerated:{modules:[45613]},ssr:!1}),tj=({children:e})=>{let i=(0,y.useRouter)(),n=(0,v.default)(),r=(0,x.useMemo)(()=>new f({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:3}},queryCache:new a({onError:e=>{console.error(e),n.showToast((0,ty.default)(e))}})}),[]);return(0,x.useEffect)(()=>{document.body.classList?.remove("loading");let e=function(){if(j)return()=>void 0;j=!0;let e=e=>{k.has(e.key)&&(w="keyboard")},t=()=>{w="pointer"};return window.addEventListener("keydown",e,!0),window.addEventListener("mousedown",t,!0),window.addEventListener("pointerdown",t,!0),window.addEventListener("touchstart",t,!0),()=>{window.removeEventListener("keydown",e,!0),window.removeEventListener("mousedown",t,!0),window.removeEventListener("pointerdown",t,!0),window.removeEventListener("touchstart",t,!0),j=!1}}(),t=()=>{n.setLoading(!0),n.close()},r=e=>{window.HubSpotConversations&&window.HubSpotConversations?.resetAndReloadWidget(),window.__hsWebInteractiveInstance&&window.__hsWebInteractiveInstance?.init();let t=window.dataLayer?.find(e=>e.currency)?.currency;(0,tf.TrackPageView)({url:e,debug:(0,tv.default)(i),currency:t}),function(){var e;if("undefined"==typeof document)return;let t=N();if(!t)return;t.hasAttribute("inert")&&S();let i=t.hasAttribute("inert"),n=(e=document.activeElement)instanceof HTMLElement&&!!(e.closest("[data-navigation-menu]")||e.closest("[data-nav-drilldown-panel]")||e.closest("[data-nav-top-item-index]"));if(!i&&!n)return;let r=()=>{let e=N();if(!e||e.hasAttribute("inert"))return!1;window.scrollTo(0,0);let t=document.getElementById("skip-to-main-content");return t instanceof HTMLElement&&"keyboard"===w?(t.focus({preventScroll:!0}),document.activeElement===t):(e.focus({preventScroll:!0}),document.activeElement===e)};requestAnimationFrame(()=>{r()||(N()?.hasAttribute("inert")&&S(),requestAnimationFrame(r))})}
1(),n.setLoading(!1)},l=(e,t)=>{e.cancelled||(0,tf.TrackPageError)({error:e,url:t,debug:(0,tv.default)(i)}),n.setLoading(!1)};return i.events.on("routeChangeStart",t),i.events.on("routeChangeComplete",r),i.events.on("routeChangeError",l),()=>{i.events.off("routeChangeStart",t),i.events.off("routeChangeComplete",r),i.events.off("routeChangeError",l),e()}},[]),(0,x.useEffect)(()=>{n.isOpen&&n.hideScroll?document.body.className="overflow-y-hidden":document.body.className=""},[n.isOpen,n.hideScroll]),(0,t.jsxs)(p.QueryClientProvider,{client:r,children:[e,(0,t.jsx)(tm,{})]})};e.s(["default",0,({Component:e,pageProps:i})=>{let n=(0,y.useRouter)(),r=(0,v.default)(),l=(0,tx.getLocaleOrDefault)(n.locale);i.channel||console.error(`Channel is not set for pageProps: ${JSON.stringify(i)}`);let{ui:a,channel:s}=((e,t,i={})=>{let n,r=(0,tb.getOrClearCookie)(th.USERINFO_COOKIENAME),l=(0,tb.getOrClearCookie)(th.USERSETTINGS_COOKIENAME),a=(0,tb.getOrClearCookie)(th.COUNTRYCHECK_COOKIENAME);r||(r={region:"na",country:"us"});let s=t||{id:-1,country:"us",currency:"usd",code:"en-us",language:"en",region:"na",isDefault:!0};if((0,tx.isGlobalChannel)(e)){let t=l?.country||null;return{ui:l?void 0:{...v.initialState,overlay:"local",hideScroll:!0,isOpen:!0},channel:{country:t,region:l?.region?.toLowerCase()||null,currency:"usd",language:e,locale:e,showPrices:!(r.country&&i[r.country]||t&&i[t]),forbiddenCountries:i,userInfo:r}}}let o=e.split("-");2!==o.length&&(console.error("Failed to parse language or country from channel",e),o=["en","us"]);let[u,c]=o,d=s?.currency||"usd";return l?r?.country!==c&&(v.forceCountrySelector.includes(e)?n={...v.initialState,overlay:"local",hideScroll:!0,isOpen:!0}:a?.closed!==!0&&(n={...v.initialState,overlay:"countryNotification",isOpen:!0})):n={...v.initialState,overlay:"local",hideScroll:!0,isOpen:!0},{ui:n,channel:{country:c||"us",language:u||"en",region:s?.region?.toLowerCase()||null,currency:d,locale:e,showPrices:!(r.country&&i[r.country]||c&&i[c]),forbiddenCountries:i,userInfo:r}}})(l,i.channel,i.forbiddenCountries);return(0,x.useEffect)(()=>{var e;(()=>{if(!window.gtag)return;let e=T();e?window.gtag("consent","default",e):window.gtag("consent","default",q)})(),e=i.channel,window.dataLayer?.push({currency:e?.currency.toUpperCase()??"USD"}),a?.isOpen&&a.overlay&&r.open(a.overlay,a.hideScroll)},[]),(0,x.useEffect)(()=>{let e=()=>{if(window.location.hash){let e=0,t=window.location.hash.substring(1),i=()=>{let n=document.getElementById(t);n?n.scrollIntoView({behavior:"smooth"}):e<3&&(e+=1,setTimeout(i,100))};i()}};return e(),n.events.on("routeChangeComplete",e),()=>{n.events.off("routeChangeComplete",e)}},[n.events]),i.translations&&(0,el.setTranslations)(i.translations),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(tw,{}),(0,t.jsx)(tp.default,{src:"https://api.goaffpro.com/loader.js?shop=9qeitqnj3y",strategy:"afterInteractive"}),(0,t.jsx)(O.default,{}),(0,t.jsx)(tg.Provider,{store:(0,em.default)({channel:s}),children:(0,t.jsx)(tj,{children:(0,t.jsx)(ts,{pageProps:i,children:(0,t.jsx)(e,{...i})})})})]})}],3115)},68146,(e,t,i)=>{let n="/_app";(window.__NEXT_P=window.__NEXT_P||[]).push([n,()=>e.r(3115)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([n])})}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.