1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4025],{827:(e,r,t)=>{"use strict";t.d(r,{L:()=>n});var s=t(95155),a=t(29722),l=t(89915);let n=({theme:e={text:"#FFFFFF",background:"#000000"},label:r,size:t="large",className:n})=>{let i=(0,l.E)(e.text,"text"),o=(0,l.m)(i,"color",e.text),d=(0,l.E)(e.background,"bg"),c=(0,l.m)(d,"background",e.background);return(0,s.jsx)("span",{className:(0,a.A)(i,d,"inline-block w-fit rounded-bl-[4px] rounded-tr-[4px]",{"mono3 px-3 py-2":"large"===t,"mono4 px-2.5 py-1 leading-[1]":"small"===t},n),style:{...c,...o},children:r})}},7926:(e,r,t)=>{"use strict";t.d(r,{Y:()=>s});let s=(0,t(12115).createContext)(null)},8600:(e,r,t)=>{"use strict";t.d(r,{A:()=>m});var s=t(95155),a=t(29722),l=t(98500),n=t.n(l),i=t(64826),o=t(25360),d=t(96990),c=t(12407);let u=(0,a.A)("peer absolute inset-0 z-10 outline-none before:absolute before:inset-0 before:rounded-[1.5rem] before:!rounded-bl-[20px] before:!rounded-br-[0px] before:duration-300 focus-visible:before:outline focus-visible:before:outline-2 focus-visible:before:-outline-offset-[2px] focus-visible:before:outline-green-light","[&:hover~.target>div>button]:brightness-150 [&:hover~.target>div>h4>span]:underline"),m=({primaryLink:e,testId:r,ariaLabel:t,productId:a,raptorModuleName:l,disableTracking:m,dataLayerTracking:h})=>{let{serverTracking:p}=(0,o.U)(),{canTrack:x}=(0,d.D)();return e?.url?(0,s.jsx)(c.OnClickTrackingWrapper,{tracking:h,children:(0,s.jsx)(n(),{"aria-label":t,className:u,href:e.url,onClick:()=>{l&&x({isSensitive:m})&&p.pushItemClickedEvent({packageId:a,raptorModuleName:l})},...(0,i.pg)({testId:r},"card-link")})}):null}},18460:(e,r,t)=>{"use strict";t.d(r,{F:()=>n});var s=t(29722);let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,l=s.$,n=(e,r)=>t=>{var s;if((null==r?void 0:r.variants)==null)return l(e,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:n,defaultVariants:i}=r,o=Object.keys(n).map(e=>{let r=null==t?void 0:t[e],s=null==i?void 0:i[e];if(null===r)return null;let l=a(r)||a(s);return n[e][l]}),d=t&&Object.entries(t).reduce((e,r)=>{let[t,s]=r;return void 0===s||(e[t]=s),e},{});return l(e,o,null==r||null==(s=r.compoundVariants)?void 0:s.reduce((e,r)=>{let{class:t,className:s,...a}=r;return Object.entries(a).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...i,...d}[r]):({...i,...d})[r]===t})?[...e,t,s]:e},[]),null==t?void 0:t.class,null==t?void 0:t.className)}},18782:(e,r,t)=>{"use strict";t.d(r,{B:()=>p,E:()=>x});var s=t(95155),a=t(40093),l=t(29722),n=t(25397),i=t(88882),o=t(68846),d=t(78410),c=t(3012),u=t(7470),m=t(62879),h=t(89915);let p=e=>e?.map(e=>{let r=(0,h.E)(e.reverseWhenNoBackground?e.color:e.background,"text");return(0,s.jsx)("span",{className:(0,l.A)(r,{"rounded-bl-[4px] rounded-tr-[4px] bg-green px-2 py-[2px] font-mono text-xxs text-sand-light":e?.variant==="tag"}),style:{color:!r&&e.color},children:e.label},e.label)}),x=({content:e})=>{let r={label:o.u2.isGreenRx,color:i.T["green-mid"][100]},t=(0,h.E)(r.color,"bg"),p=(0,h.E)(r.color,"text"),x=(0,h.E)(r.color,"fill"),f=(0,u.ql)("Checkmark");return(0,s.jsxs)("div",{className:"z-10 flex gap-1",children:[(0,s.jsxs)("p",{className:(0,l.A)(p,x,"flex items-center gap-1 text-xxs"),children:[(0,s.jsx)(f,{color:i.T["green-mid"]["100"],size:u.lK.ExtraSmall}),r.label]}),e&&(0,s.jsxs)(a.bL,{children:[(0,s.jsx)(a.l9,{asChild:!0,children:(0,s.jsx)("button",{"aria-label":r.label,className:(0,l.A)(t,"flex h-[20px] w-[20px] items-center justify-center rounded-full text-xs text-white"),type:"button",children:"?"})}),(0,s.jsx)(m.A,{ariaLabel:"Green rx popover",testId:"green-rx-popover",children:(0,s.jsx)("div",{className:"[&>div>h4]:mono2 [&>div>h3]:mono2 [&>div>h2]:mono2 [&>div>h1]:mono2 [&>div>p>a]:mono3 [&>div>h4]:font-medium [&>div>p+p]:mt-3 [&>div>p]:text-xs",children:(0,d.Ni)(e)?(0,s.jsx)(c.r,{children:(0,s.jsx)(n.RK,{value:e?.richText})}):null})})]})]})}},18796:(e,r,t)=>{"use strict";t.r(r),t.d(r,{CollapsableList:()=>m});var s=t(95155),a=t(29722),l=t(12115),n=t(88882),i=t(64826),o=t(68846),d=t(209),c=t(7470),u=t(24550);let m=({variant:e="light",children:r,headingLevel:t=4,title:m,buttonClass:h=null,headingClass:p=null,iconClassName:x,duration:f=300,id:g,testId:v,collapseOnDesktop:b=!1,tabIndex:w=0,scrollIntoView:j=!1,className:k,initialState:C,iconSize:y=c.lK.Small,openIconType:N="Plus",closeIconType:S="Minus"})=>{let A=(0,u.z)(g),P=`${A}--section`,[L,$]=(0,l.useState)(C),[E,M]=(0,l.useState)(0),z=(0,l.useRef)(null),I=(0,c.ql)(N),R=(0,c.ql)(S);return(0,l.useEffect)(()=>{C&&$(C)},[C]),(0,l.useEffect)(()=>{let e=z.current;L&&e&&j?(M(e.scrollTop),e.scrollIntoView({block:"start",inline:"nearest",behavior:"smooth"})):!L&&e&&e.scrollTo(0,E)},[L,j,E]),(0,s.jsxs)("div",{...(0,i.s1)({testId:v}),className:(0,a.A)({"text-sand-light":"dark"===e},{"text-green-dark":"light"===e},k),id:A,children:[(0,s.jsxs)("div",{className:"relative flex min-h-[26px] items-center",ref:z,children:[(0,s.jsx)("button",{...(0,i.pg)({testId:v},"button"),"aria-controls":P,"aria-expanded":L,"aria-label":`${L?o.u2.close:o.u2.open}: "${m}"`,className:(0,a.A)("group absolute left-0 top-0 flex h-full w-full cursor-pointer items-center justify-between border-0 -outline-offset-1 focus-within:outline-4 focus-within:outline-green-light",{"md:invisible":!b},h),onClick:()=>$(!L),tabIndex:w,type:"button",children:(0,s.jsx)("div",{className:(0,a.A)("ml-auto -rotate-90 p-1 outline-none transition-transform [transition-duration:var(--animation-duration)] motion-reduce:-rotate-0 motion-reduce:transition-none",{"rotate-0":L}),style:{"--animation-duration":`${f}ms`},children:L?(0,s.jsx)(R,{className:x,color:"light"===e?n.T["green-dark"].DEFAULT:n.T["sand-light"],size:y}):(0,s.jsx)(I,{className:(0,a.A)("rotate-90",x),color:"light"===e?n.T["green-dark"].DEFAULT:n.T["sand-light"],size:y})})}),(0,s.jsx)(d.D,{className:p,level:t,children:m})]}),(0,s.jsx)("div",{className:(0,a.A)("group grid origin-top transform-gpu transition-all ease-in-out [transition-duration:var(--animation-duration)] motion-reduce:transition-none","translate-y-[-full] grid-cols-[100%] grid-rows-[0fr] opacity-0",{"translate-y-0 grid-rows-[1fr] opacity-100":L},{"overflow-hidden":!L,"md:overflow-visible":!b},{"md:translate-y-0 md:grid-rows-[1fr] md:opacity-100":!b}),style:{"--animation-duration":`${f}ms`},children:(0,s.jsx)("div",{className:(0,a.A)("min-h-0 w-full transition-all duration-300 ease-in-out motion-reduce:transition-none",{"!invisible":b&&!L},{"!visible":L}),id:P,children:r})})]})}},19778:(e,r,t)=>{"use strict";t.d(r,{x:()=>a});var s=t(9339);let a=(0,s.createServerReference)("4016675902422ec6fe13a404becbf89c7f8b01d2f6",s.c
1allServer,void 0,s.findSourceMapURL,"setFavorite")},30716:(e,r,t)=>{"use strict";t.d(r,{u:()=>l});var s=t(95155),a=t(59722);let l=({className:e,ariaLabel:r="apopro's produkt logo",size:t})=>(0,s.jsxs)(a.z,{"aria-label":r,className:e,style:{width:t,height:t},viewBox:"0 0 128 128",children:[(0,s.jsx)("path",{d:"M85.0565 57.3992H99.9998V71.5992H71.5999V70.8559C71.5999 63.4297 77.6303 57.3992 85.0565 57.3992Z",fill:"#00A87E"}),(0,s.jsx)("path",{d:"M43.9432 71.5993L29 71.5993V57.3994L57.3999 57.3994V58.1426C57.3999 65.5689 51.3695 71.5993 43.9432 71.5993Z",fill:"#00A87E"}),(0,s.jsx)("path",{d:"M71.5999 71.5993V99.9992H57.3999V85.056C57.3999 77.6297 63.4303 71.5993 70.8566 71.5993H71.5999Z",fill:"#00A87E"}),(0,s.jsx)("path",{d:"M57.3999 57.3992V29.0001H71.5999V43.9425C71.5999 51.3688 65.5694 57.3992 58.1431 57.3992H57.3999Z",fill:"#00A87E"})]})},31228:e=>{e.exports={safariInputWithMargin:"TextInputSafariFix_safariInputWithMargin__u6J9y",safariInputNoMargin:"TextInputSafariFix_safariInputNoMargin__xxFuj"}},33940:(e,r,t)=>{"use strict";t.d(r,{FN:()=>u,Wk:()=>h,A7:()=>g,lo:()=>j,Sf:()=>k.S});var s=t(95155),a=t(29722),l=t(12115),n=t(64826),i=t(7926),o=t(43459),d=t(209),c=t(24550);let u=(0,l.forwardRef)(({screenReaderItemLabel:e,screenReaderHeadingLevel:r=2,screenReaderHeading:t,opts:u,plugins:m,className:h,children:p,id:x,testId:f,thumbsAxis:g,initialItemIndex:v,scrollOnInit:b,...w},j)=>{let k=(0,c.z)(x),{carouselRef:C,thumbsRef:y,api:N,scrollNext:S,scrollPrev:A,current:P,count:L,canScrollPrev:$,canScrollNext:E,handleKeyDown:M,onThumbClick:z,onDotButtonClick:I}=((e,r,t,s,a)=>{let[n,i]=(0,o.A)(e,r),[d,c]=(0,o.A)({containScroll:"keepSnaps",dragFree:!0,axis:t??"x"}),[u,m]=(0,l.useState)(!1),[h,p]=(0,l.useState)(!1),[x,f]=(0,l.useState)(0),[g,v]=(0,l.useState)(0);(0,l.useEffect)(()=>{i&&(v(i.scrollSnapList().length),f(i.selectedScrollSnap()+1),i.on("select",()=>{f(i.selectedScrollSnap()+1)}))},[i]);let b=(0,l.useCallback)(e=>{!e||(m(e.canScrollPrev()),p(e.canScrollNext()),f(e.selectedScrollSnap()+1),c&&c.scrollTo(e.selectedScrollSnap()))},[c]),w=(0,l.useCallback)(()=>{i?.scrollPrev()},[i]),j=(0,l.useCallback)(()=>{i?.scrollNext()},[i]),k=(0,l.useCallback)(e=>{"ArrowLeft"===e.key?(e.preventDefault(),w()):"ArrowRight"===e.key&&(e.preventDefault(),j())},[w,j]),C=(0,l.useCallback)(e=>{i&&c&&i.scrollTo(e)},[i,c]),y=(0,l.useCallback)(e=>{i&&i.scrollTo(e)},[i]);return(0,l.useEffect)(()=>{i&&void 0!==s&&i.scrollTo(s,!0)},[i,s]),(0,l.useEffect)(()=>{i&&void 0!==a&&setTimeout(()=>i.scrollNext(),4e3)},[i,a]),(0,l.useEffect)(()=>{if(i)return b(i),i.on("reInit",b),i.on("select",b),()=>{i?.off("select",b)}}
1,[i,b]),{carouselRef:n,thumbsRef:d,current:x,count:g,handleKeyDown:k,canScrollPrev:u,canScrollNext:h,scrollPrev:w,scrollNext:j,onThumbClick:C,onDotButtonClick:y,api:i}})({...u,duration:30},m,g,v,b);return(0,s.jsx)(i.Y.Provider,{value:{id:k,testId:f,carouselRef:C,thumbsRef:y,api:N,opts:u,scrollPrev:A,scrollNext:S,canScrollPrev:$,canScrollNext:E,onThumbClick:z,onDotButtonClick:I,screenReaderItemLabel:e,screenReaderHeadingLevel:r,screenReaderHeading:t,current:P,count:L},children:(0,s.jsxs)("section",{...(0,n.s1)({testId:f}),className:(0,a.A)("relative",h),id:k,onKeyDownCapture:M,ref:j,...w,children:[(0,s.jsx)(d.D,{className:"sr-only",level:r,children:t}),p]})})});u.displayName="Carousel";var m=t(90400);let h=(0,l.forwardRef)(({className:e,wrapperClassName:r,...t},l)=>{let{carouselRef:n,current:i,count:o,screenReaderItemLabel:d}=(0,m.g)();return(0,s.jsxs)("div",{className:(0,a.A)("overflow-hidden",r),ref:n,children:[(0,s.jsx)("ul",{className:(0,a.A)("flex",e),ref:l,...t}),(0,s.jsx)("div",{"aria-atomic":!0,"aria-live":"polite","aria-relevant":"text",className:"sr-only",children:`${d} ${i+1} af ${o}`})]})});h.displayName="CarouselContent";var p=t(68846);let x=(0,l.forwardRef)((e,r)=>{let t=(0,l.useRef)(null),{className:n}=e,{api:i}=(0,m.g)(),[o,d]=(0,l.useState)(0),[c,u]=(0,l.useState)([]),h=i?.scrollSnapList().length||0,x=(0,l.useCallback)(e=>{i&&i.scrollTo(e)},[i]),g=(0,l.useCallback)(e=>{u(e.scrollSnapList())},[]),v=(0,l.useCallback)(e=>{d(e.selectedScrollSnap())},[]);return((0,l.useEffect)(()=>{i&&(g(i),v(i),i.on("reInit",g).on("reInit",v).on("select",v))},[i,g,v]),h>1)?(0,s.jsx)("div",{...e,"aria-label":p.u2.dotsIndicator,className:(0,a.A)("relative mx-auto overflow-hidden",n),ref:r,style:{width:"110px"},children:(0,s.jsx)("div",{className:(0,a.A)("ml-[45px] flex space-x-4 py-1 transition-all duration-500 ease-out"),ref:t,style:{transform:`translateX(-${(()=>{if(t?.current&&c?.length!==5)return 24*o})()}px)`},children:c.map((e,r)=>(0,s.jsx)(f,{"aria-label":`${p.u2.goToSlide} ${r+1}`,"aria-selected":r===o,className:(0,a.A)({"scale-125 bg-green-dark":r===o,"bg-green-dark-300":r!==o,"scale-75":r===o+2||r===o-2,"scale-50":r>=o+3||r<=o-3}),onClick:()=>x(r),tabIndex:0},r))})}):null}),f=e=>{let{children:r,className:t,...l}=e;return(0,s.jsx)("button",{className:(0,a.A)("opacity-1 translation-all h-2 min-h-2 w-2 min-w-2 rounded duration-300 first:ml-1 last:mr-1 focus-within:outline-[1px] focus-within:outline-offset-2 focus-within:outline-green-light",t),type:"button",...l,children:r})};x.displayName="CarouselDots";let g=(0,l.forwardRef)(({className:e,testId:r,...t},l)=>(0,s.jsx)("li",{className:(0,a.A)("min-w-0 shrink-0 grow-0 pr-2 md:pr-4 lg:pr-6",e),ref:l,...t,...(0,n.s1)({testId:r})}));g.displayName="CarouselItem";var v=t(44117);let b=(0,l.forwardRef)(({className:e,icon:r,...t},l)=>{let{scrollNext:i,canScrollNext:o,screenReaderItemLabel:d,id:u,testId:h,opts:x}=(0,m.g)(),f=(0,c.z)(u);return(0,s.jsx)(v.$n,{...(0,n.Mm)({testId:h},"-next"),className:(0,a.A)("m-a h-6 w-6 rounded border-0 !p-0 md:h-8 md:w-8",e),disabled:!o,icon:r||"ArrowRight",iconClassName:(0,a.A)({"rotate-90":"y"===x.axis}),id:`${f}--next`,onClick:i,ref:l,subVariant:v.mV.IconButton,variant:v.Ak.Secondary,...t,children:`${p.u2.next} ${d}`})});b.displayName="CarouselNext";let w=(0,l.forwardRef)(({className:e,icon:r,...t},l)=>{let{scrollPrev:i,canScrollPrev:o,id:d,testId:u,screenReaderItemLabel:h,opts:x}=(0,m.g)(),f=(0,c.z)(d);return(0,s.jsx)(v.$n,{...(0,n.Mm)({testId:u},"-previous"),className:(0,a.A)("h-6 w-6 rounded border-0 !p-0 md:h-8 md:w-8",e),disabled:!o,icon:r||"ArrowLeft",iconClassName:(0,a.A)({"rotate-90":"y"===x.axis}),id:`${f}--previous`,onClick:i,ref:l,subVariant:v.mV.IconButton,variant:v.Ak.Secondary,...t,children:`${p.u2.previous} ${h}`})});w.displayName="CarouselPrevious";let j=({className:e,id:r,testId:t,inverted:l})=>{let{canScrollPrev:i,canScrollNext:o}=(0,m.g)(),d="transition-colors hover:bg-green-dark-100 hover:!brightness-100 active:bg-green-dark-250";return o||i?(0,s.jsxs)("div",{...(0,n.s1)({testId:t}),className:(0,a.A)("absolute right-4 mt-4 flex flex-row justify-end gap-4",e),id:r,children:[(0,s.jsx)(w,{className:(0,a.A)(d,{"hover:bg-transparent":!i}),inverted:l}),(0,s.jsx)(b,{className:(0,a.A)(d,{"hover:bg-transparent":!o}),inverted:l})]}):null};
1j.displayName="CarouselNavigation";var k=t(71514)},34130:(e,r,t)=>{"use strict";t.r(r),t.d(r,{FavoriteButton:()=>w});var s=t(95155),a=t(9339);let l=(0,a.createServerReference)("4098592f96d919eeebf0bebe0ced2d2daf50e3df9b",a.callServer,void 0,a.findSourceMapURL,"deleteFavorite");var n=t(19778),i=t(29722),o=t(73321),d=t(12115),c=t(66609),u=t(85329),m=t(98424),h=t(7182),p=t(64826),x=t(68846),f=t(18319),g=t(72657),v=t(7470),b=t(21299);let w=({packageId:e,id:r,testId:t,className:a})=>{let[w,j]=(0,d.useState)(!1),{isFavorite:k}=(0,m.r)(),[C,y]=(0,d.useState)(k(e)),N=(0,o.usePathname)(),S=(0,o.useSearchParams)(),A=(0,o.useRouter)(),P=r=>{if(r.name===u.SX.UserUnauthorized.name&&(document.dispatchEvent(new Event(g.Sg)),1)||c.oR.error(r.message),y(e=>!e),r.name!==u.SX.UserUnauthorized.name)return;let t=new URLSearchParams(S);t.set(h.X.key.unauthorizedFavoriteItemId,e.toString()),A.replace(`${N}?${t.toString()}`,{scroll:!1})},L=async()=>{if(j(!0),y(e=>!e),C){let r=await l({packageId:e});(0,f.p)(r,{onSuccess(){c.oR.success(x.u2.favorites.removeProductSuccess)},onError:P})}else{let r=await (0,n.x)({packageId:e});(0,f.p)(r,{onSuccess(){c.oR.success(x.u2.favorites.addProductSuccess)},onError:P})}j(!1)};return(0,s.jsx)("button",{...(0,p.s1)({testId:t}),"aria-label":x.u2.favorites.addToFavorites,"aria-pressed":C,className:(0,i.A)("m-0 border-0 bg-transparent p-0 focus-within:outline-4 focus-within:outline-offset-4 focus-within:outline-green-light",{"disabled:cursor-not-allowed":w},a),disabled:w,id:r,onClick:L,type:"button",children:(0,s.jsx)(b.B,{ariaLabel:x.u2.favorites.addToFavorites,className:(0,i.A)("stroke-green-dark transition-all hover:fill-green-dark",{"fill-green-dark":C,"fill-transparent":!C}),size:v.lK.Small})})}},35903:(e,r,t)=>{"use strict";t.d(r,{E:()=>l});var s=t(95155),a=t(29722);let l=({className:e,children:r,...t})=>(0,s.jsx)("div",{className:(0,a.A)("animate-pulse rounded bg-green-dark-100",e),...t,children:r})},40562:(e,r,t)=>{"use strict";t.d(r,{Qg:()=>i,bL:()=>o});var s=t(12115),a=t(55897),l=t(95155),n=Object.defineProperty,i=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),o=s.forwardRef(n(function(e,r){return(0,l.jsx)(a.sG.span,{...e,ref:r,style:{...i,...e.style}})},"name",{value:"VisuallyHidden",configurable:!0}))},41719:(e,r,t)=>{"use strict";t.d(r,{Z:()=>s.FavoriteButton});var s=t(34130)},43866:(e,r,t)=>{"use strict";t.d(r,{PreviewDrawer:()=>b});var s=t(95155),a=t(52346),l=t(51595),n=t(71703),i=t(29722),o=t(12115),d=t(73321),c=t(9339);let u=(0,c.createServerReference)("407e0d7d6900d365220330461a34b298166e1aa787",c.callServer,void 0,c.findSourceMapURL,"setPreviewAudience");var m=t(63905),h=t(72653),p=t(48863),x=t(32753);let f=()=>{let e=(0,d.useRouter)(),[r,t]=(0,o.useState)(h.dz.loggedOut);(0,o.useEffect)(()=>{t("u"<typeof document?h.dz.loggedOut:(0,x.R)("preview-audience")??h.dz.loggedOut)},[]);let a=(0,o.useCallback)(async r=>{t(r),await u(r),e.refresh()},[e]),l=r!==h.dz.loggedOut,n=r===h.dz.members,i=(0,o.useCallback)(e=>{e.target.value===h.dz.loggedOut?a(h.dz.loggedOut):a(n?h.dz.members:h.dz.nonMembers)},[a,n]),c=(0,o.useCallback)(e=>{a(e.target.value)},[a]);return(0,s.jsx)(m.PreviewDrawerPanel,{title:"Audience",children:(0,s.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,s.jsx)("p",{className:"mt-0.5 line-clamp-2 text-xs text-green-dark/70",children:"Simulate who is viewing the page to check block visibility."}),(0,s.jsxs)("label",{className:"flex flex-col gap-1",children:[(0,s.jsx)("span",{className:"text-xs font-medium text-green-dark/80",children:"Login"}),(0,s.jsxs)("select",{className:"w-full rounded-sm border border-green-dark/20 bg-white px-2 py-1.5 text-sm text-green-dark",onChange:i,value:l?h.dz.loggedIn:h.dz.loggedOut,children:[(0,s.jsx)("option",{value:h.dz.loggedOut,children:h.uU[h.dz.loggedOut]}),(0,s.jsx)("option",{value:h.dz.loggedIn,children:h.uU[h.dz.loggedIn]})]})]}),l&&(0,s.jsxs)("label",{className:"flex flex-col gap-1",children:[(0,s.jsx)("span",{className:"text-xs font-medium text-green-dark/80",children:"Membership"}),(0,s.jsxs)("select",{className:"w-full rounded-sm border border-green-dark/20 bg-white px-2 py-1.5 text-sm text-green-dark",onChange:c,value:n?h.dz.members:h.dz.nonMembers,children:[(0,s.jsx)("option",{value:h.dz.members,children:h.uU[h.dz.members]}),(0,s.jsx)("option",{value:h.dz.nonMembers,children:h.uU[h.dz.nonMembers]})]})]})]})})},g=(0,c.createServerReference)("40e0141e640800a8ae455c6452d4fef59b40e66388",c.callServer,void 0,c.findSourceMapURL,"setPreviewDevice"),v=()=>{let e=(0,d.useRouter)(),[r,t]=(0,o.useState)(p.W7.all);(0,o.useEffect)(()=>{t("u"<typeof document?p.W7.all:(0,x.R)("preview-device")??p.W7.all)},[]);let a=(0,o.useCallback)(async r=>{t(r),await g(r),e.refresh()},[e]),l=(0,o.useCallback)(e=>{a(e.target.value)},[a]);return(0,s.jsx)(m.PreviewDrawerPanel,{title:"Device",children:(0,s.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,s.jsx)("p",{className:"mt-0.5 line-clamp-2 text-xs text-green-dark/70",children:"Simulate on which device the page is being viewed to check block visibility."}),(0,s.jsxs)("label",{className:"flex flex-col gap-1",children:[(0,s.jsx)("span",{className:"text-xs font-medium text-green-dark/80",children:"Device type"}),(0,s.jsx)("select",{className:"w-full rounded-sm border border-green-dark/20 bg-white px-2 py-1.5 text-sm text-green-dark",onChange:l,value:r,children:p.Xc.map(e=>(0,s.jsx)("option",{value:e.value,children:e.title},e.value))})]})]})})},b=()=>{let[e,r]=(0,o.useState)(!1);return(0,s.jsxs)("aside",{className:(0,i.A)("fixed left-0 top-0 z-dialog flex h-full transition-all",{"translate-x-0":e,"-translate-x-72 border-r-0":!e}),children:[(0,s.jsx)("div",{"aria-hidden":!e,"aria-label":"Preview tools",className:(0,i.A)("h-full w-72 overflow-hidden bg-sand-light shadow-[4px_0_24px_rgba(0,0,0,0.08)] transition-all duration-300 ease-in-out"),children:(0,s.jsxs)("div",{className:"flex h-full w-72 flex-col",children:[(0,s.jsxs)("div",{className:"flex shrink-0 items-center gap-2 border-b border-green-dark/10 bg-pale-gold px-3 py-3",children:[(0,s.jsx)(n.CogIcon,{className:"h-5 w-5 shrink-0 text-green-dark"}),(0,s.jsx)("h2",{className:"truncate text-sm font-semibold text-green-dark",children:"Preview tools"})]}),(0,s.jsxs)("div",{className:"flex flex-1 flex-col gap-2 overflow-y-auto p-4",children:[(0,s.jsx)(f,{}),(0,s.jsx)(v,{})]})]})}),(0,s.jsx)("button",{"aria-expanded":e,"aria-label":e?"Hide preview tools":"Show preview tools",className:(0,i.A)("absolute flex max-h-[46px] w-10 items-center justify-center border-green-dark/10 bg-pale-gold py-3 text-green-dark transition-all",{"-right-10 border":!e,"right-0 top-[1px] border-b border-r":e}),onClick:()=>r(e=>!e),type:"button",children:e?(0,s.jsx)(a.ChevronLeftIcon,{className:"h-5 w-5"}):(0,s.jsx)(l.ChevronRightIcon,{className:"h-5 w-5"})})]})}},45506:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>o});var s=t(95155),a=t(29722),l=t(66609),n=t(62950);let i=e=>(0,a.A)("toast_modal_item w-full !shadow-lg flex items-center gap-2 p-4 !text-xs rounded-xs md:right-0 transition-all",e&&"mt-10"),o=()=>{let{isMobileApp:e}=(0,n.NC)();return(0,s.jsx)("div",{className:"toast_modal front-store-toast-root",children:(0,s.jsx)(l.l$,{position:"top-right",richColors:!0,toastOptions:{unstyled:!0,classNames:{default:i(e),success:(0,a.A)(i(e),"!bg-green-dark !text-white"),error:(0,a.A)(i(e),"!bg-red-light"),info:(0,a.A)(i(e),"!text-black"),warning:(0,a.A)(i(e),"!text-black")}}})})}},48863:(e,r,t)=>{"use strict";t.d(r,{W7:()=>s,Xc:()=>l,oZ:()=>a});let s={all:"all",desktopOnly:"desktopOnly",androidMobileBrowser:"androidMobileBrowser",iosMobileBrowser:"iosMobileBrowser",mobileNativeApp:"mobileNativeApp"},a={[s.all]:"All ",[s.desktopOnly]:"Desktop",[s.androidMobileBrowser]:"Android browser",[s.iosMobileBrowser]:"iOS browser",[s.mobileNativeApp]:"App"},l=[{title:a.all,value:s.all},{title:a.desktopOnly,value:s.desktopOnly},{title:a.androidMobileBrowser,value:s.androidMobileBrowser},{title:a.iosMobileBrowser,value:s.iosMobileBrowser},{title:a.mobileNativeApp,value:s.mobileNativeApp}]},49790:(e,r,t)=>{"use strict";t.d(r,{SkipToMainContentButton:()=>i});var s=t(95155),a=t(12115),l=t(68846),n=t(44117);let i=()=>{let e=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let r=()=>{e.current&&document.activeElement===e.current&&e.current.blur()};return window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[]),(0,s.jsx)(n.$n,{className:"sr-only !absolute !left-1 !top-1 z-dialog !px-4 !py-2 focus:not-sr-only",onFocus:e=>{e.target!==e.currentTarget||e.relatedTarget||e.target.blur()},ref:e,subVariant:n.mV.Link,url:"#maincontent",variant:n.Ak.Tertiary,children:l.u2.skipToMainContent})}}
1,51595:(e,r,t)=>{"use strict";t.r(r),t.d(r,{ChevronRightIcon:()=>l,default:()=>l});var s=t(12115),a=t(95155);let l=(0,s.forwardRef)(function(e,r){return(0,a.jsx)("svg",{"data-sanity-icon":"chevron-right",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:r,children:(0,a.jsx)("path",{d:"M10 8L14.5 12.5L10 17",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})},52346:(e,r,t)=>{"use strict";t.r(r),t.d(r,{ChevronLeftIcon:()=>l,default:()=>l});var s=t(12115),a=t(95155);let l=(0,s.forwardRef)(function(e,r){return(0,a.jsx)("svg",{"data-sanity-icon":"chevron-left",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:r,children:(0,a.jsx)("path",{d:"M15 17L10.5 12.5L15 8",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})},60639:(e,r,t)=>{"use strict";t.d(r,{TrustBox:()=>i});var s=t(95155),a=t(29722),l=t(52764),n=t(68846);let i=({className:e,templateId:r,businessUnitId:t})=>(0,s.jsx)("div",{className:(0,a.A)("trustpilot-widget",e),"data-businessunit-id":t,"data-loading":"lazy","data-locale":"da-DK","data-style-height":"130px","data-style-width":"255px","data-template-id":r,"data-text-color":l.T["sand-light"],"data-theme":"dark",children:(0,s.jsx)("a",{href:"https://dk.trustpilot.com/review/apopro.dk",rel:"noreferrer",target:"_blank",title:n.u2.trustpilotReview,children:"Trustpilot"})})},60828:(e,r,t)=>{"use strict";t.d(r,{u:()=>n,o:()=>l});var s=t(32687);let a=e=>{switch(e){case"container":return"90rem";case"container-1/2":return"45rem";case"container-1/3":return"30rem";default:return e}},l=(e,r=null)=>{if(!e)throw Error("Provide function with initialized arguments.");let t=Object.keys(e),l=t.filter(e=>!Object.keys(s.m).includes(e));if(l.length>0)throw Error(`${l.join(", ")} are not valid screen sizes. Use one of these: ${Object.keys(s.m).join(", ")}.`);let n=t.map(r=>`${((e,r="min")=>{if(!e)throw Error("Argument is required.");if(!Object.hasOwn(s.m,e))throw Error(`${e} is not a valid screen.`);return`(${r}-width: ${s.m[e]})`})(r,"max")} ${a(e[r])}`).join(", ");return r?`${n}, ${a(r)}`:n},n=e=>{if(!e)return null;let[,r,t,s]=/^image-([a-f\d]+)-(\d+x\d+)-(\w+)$/.exec(e),[a,l]=t.split("x").map(e=>parseInt(e,0));return{assetId:r,dimensions:{width:a,height:l},format:s}}},63905:(e,r,t)=>{"use strict";t.d(r,{PreviewDrawerPanel:()=>i});var s=t(95155),a=t(94163),l=t(29722),n=t(12115);let i=({title:e,children:r,disabled:t})=>{let[i,o]=(0,n.useState)(!1);return(0,s.jsxs)("section",{className:"overflow-hidden rounded-sm border border-green-dark/10 bg-white shadow-sm",children:[(0,s.jsxs)("button",{"aria-expanded":i,className:(0,l.A)("flex w-full items-start justify-between gap-2 px-4 py-3 text-left transition-colors hover:bg-green-dark/5",{"cursor-not-allowed bg-green-dark/5 opacity-40":t}),disabled:t,onClick:()=>o(!i),type:"button",children:[(0,s.jsx)("div",{className:"min-w-0",children:(0,s.jsx)("h3",{className:"text-sm font-semibold text-green-dark",children:e})}),(0,s.jsx)(a.ChevronDownIcon,{className:(0,l.A)("mt-0.5 h-5 w-5 shrink-0 text-green-dark/60 transition-transform duration-200",i&&"rotate-180")})]}),(0,s.jsx)("div",{className:(0,l.A)("grid transition-[grid-template-rows,opacity] duration-200 ease-in-out",i?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0"),children:(0,s.jsx)("div",{className:"overflow-hidden",children:(0,s.jsx)("div",{className:"border-t border-green-dark/10 px-4 pb-4 pt-3",children:r})})})]})}},66381:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>c});var s=t(95155),a=t(29722),l=t(12115),n=t(72657),i=t(68846),o=t(24550),d=t(44117);let c=({id:e,testId:r,className:t,productId:c,iconClassName:u})=>{let m=(0,o.z)(e),h=(0,l.useCallback)(()=>{document.dispatchEvent(new CustomEvent(n._W,{detail:{productId:c}}))},[c]);return(0,s.jsx)(d.$n,{className:(0,a.A)("z-50 flex p-4 !text-sm",t),icon:"Notification",iconClassName:u,id:m,onClick:h,subVariant:d.mV.Button,testId:r,variant:d.Ak.Primary,children:i.u2.remindMe})}},69865:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>o});var s=t(95155),a=t(69432),l=t(65596),n=t(12115),i=t(96158);let o=({messengerToken:e,nonce:r})=>{let t=(0,a.V)();return(0,n.useEffect)(()=>{let e=e=>{let r=e.target.closest(`a[href="${i.A.openHash}"]`);if(r){e.preventDefault();try{window._dixa_?.invoke("setWidgetOpen",!0)}catch(e){t?.trackEvent({name:"DixaChat:OpenFailed",properties:{label:r.textContent?.trim(),page:window.location.pathname,reason:e instanceof Error?e.message:String(e)}})}}};return document.addEventListener("click",e,{capture:!0}),()=>document.removeEventListener("click",e,{capture:!0})},[t]),(0,s.jsx)(l.default,{async:!0,nonce:r,onLoad:()=>{try{window._dixa_||(window._dixa_={invoke:function(e,r){window._dixa_.pendingCalls=window._dixa_.pendingCalls||[],window._dixa_.pendingCalls.push([e,r])},addListener:function(e,r){window._dixa_.pendingAddListenerCalls=window._dixa_.pendingAddListenerCalls||[],window._dixa_.pendingAddListenerCalls.push([e,r])}},window._dixa_.invoke("init",{messengerToken:e}))}catch(e){console.log("Failed to load Dixa Chat widget",e)}},src:i.A.scriptUrl,strategy:"lazyOnload"})}},70020:(e,r,t)=>{"use strict";t.d(r,{x:()=>i});var s=t(95155),a=t(36177),l=t(44759);t(68846);let n=({src:e,width:r,quality:t})=>((e,r={format:"png"})=>{let t=new URLSearchParams;return r.width&&t.append("width",r.width.toString()),r.height&&t.append("height",r.height.toString()),r.format&&t.append("format",r.format),r.quality&&t.append("quality",r.quality.toString()),r.mode&&t.append("mode",r.mode),r.anchor&&t.append("anchor",r.anchor),r.backgroundColor&&t.append("bgcolor",r.backgroundColor),t.toString()?`${e}?${t.toString()}`:e})(e,{width:r,quality:t}),i=({alt:e,src:r,className:t,mobileRoundedCorners:i,mobileRoundedSize:o,roun
1dedCorners:d,roundedSize:c,...u})=>(0,s.jsx)(l.o,{className:t,mobileRoundedCorners:i,mobileRoundedSize:o,roundedCorners:d,roundedSize:c,children:(0,s.jsx)(a.E,{...u,alt:e,loader:n,overrideSrc:r,src:r})})},70493:(e,r,t)=>{"use strict";t.d(r,{A:()=>c});var s=t(95155),a=t(29722),l=t(68846),n=t(28463);let i=({price:e})=>(0,s.jsxs)("div",{className:"flex flex-col items-start",children:[(0,s.jsxs)("span",{className:"body3 inline-flex items-center justify-center line-through",children:[(0,s.jsxs)("span",{className:"sr-only",children:["$",l.u2.oldPrice," \xa0"]}),(0,s.jsx)(n.g,{amount:e.listPrice})]}),(0,s.jsx)("span",{className:"sr-only",children:(0,s.jsx)("span",{className:"sr-only",children:l.u2.saveMoney(e.discount)})}),(0,s.jsxs)("span",{className:"subheading4 order-2 inline-flex items-center justify-center !leading-none text-green-mid-100",children:[(0,s.jsxs)("span",{className:"sr-only",children:["$",l.u2.currentPrice," \xa0"]}),(0,s.jsx)(n.g,{amount:e.pricePerUnit})]})]}),o=({price:e})=>(0,s.jsxs)("span",{className:"subheading4 inline-flex",children:[(0,s.jsxs)("span",{className:"sr-only",children:["$",l.u2.currentPrice," \xa0"]}),(0,s.jsx)(n.g,{amount:e.pricePerUnit})]}),d=({price:e,isMemberOrder:r,onOpenMembershipDialog:t})=>(0,s.jsxs)("div",{className:"flex w-full flex-col",children:[(0,s.jsxs)("span",{className:(0,a.A)("body3",{"text-green-dark-750 line-through":r}),children:[(0,s.jsxs)("span",{className:"sr-only",children:["$",l.u2.oldPrice," \xa0"]}),(0,s.jsx)(n.g,{amount:e.listPrice})]}),(0,s.jsxs)("div",{className:"flex items-end gap-1 text-right text-green-mid-100",children:[r?(0,s.jsx)("span",{className:"relative z-10 font-mono text-xxs md:text-[11px]",children:l.u2.memberPrice}):(0,s.jsx)("button",{className:"relative z-10 font-mono text-xxs underline md:text-[11px]",onClick:t,type:"button",children:l.u2.memberPrice}),(0,s.jsx)("span",{className:"text-bas [line-height:1]",children:(0,s.jsx)(n.g,{amount:e.pricePerUnit})})]})]}),c=({priceModels:e,isMemberOrder:r,onOpenMembershipDialog:t})=>e?.memberPrice?(0,s.jsx)(d,{isMemberOrder:r,onOpenMembershipDialog:t,price:e.memberPrice}):e?.regularPrice?.isDiscounted?(0,s.jsx)(i,{price:e.regularPrice}):(0,s.jsx)(o,{price:e.regularPrice})},71514:(e,r,t)=>{"use strict";t.d(r,{S:()=>i});var s=t(95155),a=t(29722),l=t(64826),n=t(90400);let i=({className:e,id:r,testId:t,children:i})=>{let{thumbsRef:o}=(0,n.g)();return(0,s.jsx)("div",{...(0,l.s1)({testId:t}),className:"overflow-hidden",id:r,ref:o,children:(0,s.jsx)("div",{className:(0,a.A)("flex",e),children:i})})};i.displayName="CarouselThumbs"},71703:(e,r,t)=>{"use strict";t.r(r),t.d(r,{CogIcon:()=>l,default:()=>l});var s=t(12115),a=t(95155);let l=(0,s.forwardRef)(function(e,r){return(0,a.jsxs)("svg",{"data-sanity-icon":"cog",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:r,children:[(0,a.jsx)("path",{d:"M14.0666 6.19428L13.719 5.32531C13.5196 4.82685 13.0369 4.5 12.5 4.5C11.9631 4.5 11.4804 4.82685 11.281 5.32531L10.9334 6.19428C10.7984 6.53187 10.5328 6.80068 10.1969 6.93982C9.86098 7.07896 9.48313 7.07666 9.14894 6.93343L8.2887 6.56476C7.79525 6.35328 7.22276 6.46353 6.84315 6.84315C6.46353 7.22276 6.35328 7.79525 6.56476 8.2887L6.93343 9.14894C7.07666 9.48313 7.07896 9.86098 6.93982 10.1969C6.80068 10.5328 6.53187 10.7984 6.19428 10.9334L5.32531 11.281C4.82685 11.4804 4.5 11.9631 4.5 12.5C4.5 13.0369 4.82685 13.5196 5.32531 13.719L6.19428 14.0666C6.53187 14.2016 6.80068 14.4672 6.93982 14.8031C7.07896 15.139 7.07666 15.5169 6.93343 15.8511L6.56476 16.7113C6.35328 17.2048 6.46353 17.7772 6.84315 18.1569C7.22276 18.5365 7.79525 18.6467 8.2887 18.4352L9.14894 18.0666C9.48314 17.9233 9.86099 17.921 10.1969 18.0602C10.5328 18.1993 10.7984 18.4681 10.9334 18.8057L11.281 19.6747C11.4804 20.1732 11.9631 20.5 12.5 20.5C13.0369 20.5 13.5196 20.1731 13.719 19.6747L14.0666 18.8057C14.2016 18.4681 14.4672 18.1993 14.8031 18.0602C15.139 17.921 15.5169 17.9233 15.8511 18.0666L16.7113 18.4352C17.2047 18.6467 17.7772 18.5365 18.1569 18.1569C18.5365 17.7772 18.6467 17.2047 18.4352 16.7113L18.0666 15.8511C17.9233 15.5169 17.921 15.139 18.0602 14.8031C18.1993 14.4672 18.4681 14.2016 18.8057 14.0666L19.6747 13.719C20.1731 13.5196 20.5 13.0369 20.5 12.5C20.5 11.9631 20.1731 11.4804 19.6747 11.281L18.8057 10.9334C18.4681 10.7984 18.1993 10.5328 18.0602 10.1969C17.921 9.86098 17.9233 9.48313 18.0666 9.14894L18.4352 8.2887C18.6467 7.79525 18.5365 7.22276 18.1569 6.84314C17.7772 6.46353 17.2048 6.35328 16.7113 6.56476L15.8511 6.93343C15.5169 7.07666 15.139 7.07896 14.8031 6.93982C14.4672 6.80068 14.2016 6.53187 14.0666 6.19428Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M16 12.5C16 14.433 14.433 16 12.5 16C10.567 16 9 14.433 9 12.5C9 10.567 10.567 9 12.5 9C14.433 9 16 10.567 16 12.5Z",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})]})})},72653:(e,r,t)=>{"use strict";t.d(r,{dz:()=>s,uU:()=>a,yr:()=>l});let s={all:"all",loggedIn:"loggedIn",loggedOut:"loggedOut",members:"members",nonMembers:"nonMembers"},a={[s.all]:"Everyone",[s.loggedIn]:"Logged in",[s.loggedOut]:"Logged out",[s.members]:"Members",[s.nonMembers]:"Non-members"},l=[{title:a.all,value:s.all},{title:a.loggedIn,value:s.loggedIn},{title:a.loggedOut,value:s.loggedOut},{title:a.members,value:s.members},{title:a.nonMembers,value:s.nonMembers}]},72657:(e,r,t)=>{"use strict";t.d(r,{FT:()=>l,Sg:()=>s,_W:()=>a,jg:()=>n,xe:()=>i});
1let s="apo-login-drawer-open",a="apo-out-of-stock-drawer-open",l="apo-cpr-form-drawer-open",n="apo-cpr-form-drawer-fail",i="apo-cpr-form-drawer-loading"},83417:(e,r,t)=>{"use strict";t.d(r,{Z:()=>a});var s=t(12115);function a(e){let r=s.useRef({value:e,previous:e});return s.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}(0,Object.defineProperty)(a,"name",{value:"usePrevious",configurable:!0})},83775:(e,r,t)=>{"use strict";t.d(r,{ProfileSynchronizer:()=>d});var s=t(95155),a=t(54921),l=t(12115),n=t(9339);let i=(0,n.createServerReference)("000de5adf967467052dd2bbc1dd3ace82eb2342f0d",n.callServer,void 0,n.findSourceMapURL,"updateProfileNameFromSession"),o=()=>((0,l.useEffect)(()=>{i()},[]),null),d=({profile:e})=>{let r=(0,a.useSession)();return e&&r.data?.user&&(e.firstName!==r.data.user.firstName||e.lastName!==r.data.user.lastName)?(0,s.jsx)(o,{}):null}},88856:(e,r,t)=>{"use strict";t.d(r,{g:()=>l,w:()=>a});var s=t(12115);let a=(0,s.createContext)({isOpen:!1,closeDialog:()=>{},openDialog:()=>{}}),l=()=>{let e=(0,s.useContext)(a);if(!e)throw Error("useMembershipDialog must be used within a <MembershipDialogProvider/>");return e}},89915:(e,r,t)=>{"use strict";t.d(r,{E:()=>a,m:()=>l});var s=t(88882);let a=(e,r)=>{if(!e)return null;for(let[t,a]of Object.entries(s.T))if("object"==typeof a){for(let[s,l]of Object.entries(a))if(l.toString().toUpperCase()===e.toUpperCase())return"DEFAULT"===s?`${r}-${t}`:`${r}-${t}-${s}`}else if(a?.toUpperCase()===e.toUpperCase())return`${r}-${t}`;return null},l=(e,r,t)=>e?{}:{[r]:t}},90400:(e,r,t)=>{"use strict";t.d(r,{g:()=>l});var s=t(12115),a=t(7926);let l=()=>{let e=(0,s.useContext)(a.Y);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}},91918:(e,r,t)=>{Promise.resolve().then(t.bind(t,13083)),Promise.resolve().then(t.bind(t,66410)),Promise.resolve().then(t.bind(t,31520)),Promise.resolve().then(t.bind(t,79698)),Promise.resolve().then(t.bind(t,3394)),Promise.resolve().then(t.bind(t,33287)),Promise.resolve().then(t.bind(t,55317)),Promise.resolve().then(t.bind(t,18796)),Promise.resolve().then(t.bind(t,69865)),Promise.resolve().then(t.bind(t,83775)),Promise.resolve().then(t.bind(t,60639)),Promise.resolve().then(t.bind(t,49790)),Promise.resolve().then(t.bind(t,45506)),Promise.resolve().then(t.t.bind(t,98500,23)),Promise.resolve().then(t.t.bind(t,38437,23)),Promise.resolve().then(t.t.bind(t,42593,23)),Promise.resolve().then(t.bind(t,41112)),Promise.resolve().then(t.bind(t,21957)),Promise.resolve().then(t.bind(t,43866)),Promise.resolve().then(t.bind(t,63905))},94163:(e,r,t)=>{"use strict";t.r(r),t.d(r,{ChevronDownIcon:()=>l,default:()=>l});var s=t(12115),a=t(95155);let l=(0,s.forwardRef)(function(e,r){return(0,a.jsx)("svg",{"data-sanity-icon":"chevron-down",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:r,children:(0,a.jsx)("path",{d:"M17 10L12.5 14.5L8 10",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})},96661:(e,r,t)=>{"use strict";t.d(r,{A6:()=>a,Dz:()=>x,IM:()=>i,Nu:()=>u,S7:()=>f,Uc:()=>m,Ye:()=>p,a0:()=>d,bU:()=>h,ly:()=>c,ne:()=>l,pf:()=>n,yy:()=>o});var s=t(78410);t(87358);let a="Europe/Copenhagen",l="da-DK";function n(e,r){return null==e?null:e.replace(/{(\d+)}/g,(e,t)=>r[t-1])}let i=e=>{if(!e)return null;let r=new Date(e).toLocaleDateString(l,{weekday:"long",year:"numeric",month:"2-digit",day:"2-digit",timeZone:a});return r.charAt(0).toUpperCase()+r.slice(1)},o=e=>new Promise(r=>setTimeout(r,e)),d=(e,r)=>!!e&&e.length>=r,c=(e,r)=>{if(e)return{richText:e.richText.map(e=>({...e,children:e.children.map(e=>({...e,text:n(e.text,r)}))}))}},u=e=>({richText:[{_key:`default-${e}`,children:[{_type:"span",marks:[],_key:`default-${e}`,text:e}],_type:"block",style:"normal"}]}),m=(e,r)=>{let t=r.slice(0,6),s=String(e.getDate()).padStart(2,"0"),a=String(e.getMonth()+1).padStart(2,"0"),l=String(e.getFullYear()).slice(2);return t===`${s}${a}${l}`},h=({dateStr:e,modeToFormat:r,separator:t})=>{let[s,a,l]=e.split(".");if("YYYY-MM-DD"===r)return`${l}${t}${a}${t}${s}`;
1if("DD-MM-YYYY"===r)return`${s}${t}${a}${t}${l}`;throw Error("Invalid date format mode")};function p(e){if(e.length<6)throw Error("CPR must be at least 6 characters long.");let r=e.slice(0,6),t=parseInt(r.slice(0,2),10),s=parseInt(r.slice(2,4),10),a=parseInt(r.slice(4,6),10);if(a+=a>=50?1900:2e3,s<1||s>12||t<1||t>31)throw Error("Invalid day or month extracted from CPR.");let l=new Date(a,s-1,t);if(l.getFullYear()!==a||l.getMonth()!==s-1||l.getDate()!==t)throw Error("Invalid date. The provided day/month combination is incorrect.");return l}function x(e=!0){return[...Array.from({length:26},(e,r)=>String.fromCharCode(65+r)),...e?["\xc6","\xd8","\xc5","0-9"]:[]]}function f(e,r){(0,s.XS)(e)?e.validationErrors.forEach(e=>{r(e.fieldName,{message:e.message})}):(0,s.GF)(e)&&r(e.fieldName,{message:e.message})}},98424:(e,r,t)=>{"use strict";t.d(r,{FavoritesProvider:()=>n,r:()=>i});var s=t(95155),a=t(12115);let l=(0,a.createContext)({favorites:[],isFavorite:()=>!1}),n=({children:e,favorites:r})=>{let t=(0,a.useMemo)(()=>new Set(r.map(e=>e.packageId)),[r]);return(0,s.jsx)(l.Provider,{value:{favorites:r,isFavorite:e=>t.has(e)},children:e})},i=()=>{let e=(0,a.useContext)(l);if(!e)throw Error("useFavorites must be used within a FavoritesProvider");return e}}},e=>{e.O(0,[6768,3589,7354,2235,7856,7628,5397,6609,4921,3859,9683,8437,7359,7954,9854,2562,3531,7644,7317,8846,7470,4117,8819,5615,3524,3967,8441,3794,7358],()=>e(e.s=91918)),_N_E=e.O()}]); 2//# sourceMappingURL=layout-7456309f8bf76b26.js.map
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.