PageSourceSearch

https://edcetera-vetprep-staging.vercel.app/_next/static/chunks/52…?dpl=dpl_Fwh5gZuLjDJHuzcVjBtkGknPfftR

js edcetera-vetprep-staging.vercel.app collected 2026-10-03 06:51:03 UTC 62,087 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5246],{4463:(e,t,l)=>{l.d(t,{o:()=>n});var a=l(38875),s=l(32945),r=l(89172);function n(e){let{className:t,children:l,containerSize:n="none",childStyle:i,childClassName:o}=e;return(0,a.jsx)("section",{className:(0,s.$)("w-full overflow-hidden",t),children:(0,a.jsx)("div",{className:(0,s.$)((0,r.cn)("mx-4 px-6 py-10 xs:mx-6 md:mx-8 md:py-16 lg:px-8 3xl:mx-auto 3xl:max-w-[1280px] 3xl:px-20 4xl:max-w-[1440px] 5xl:max-w-[1600px]",o),{md:"max-w-[var(--section-max-width-md,768px)]",lg:"max-w-[var(--section-max-width-lg,1024px)]",xl:"max-w-[var(--section-max-width-xl,1280px)]","2xl":"max-w-[var(--section-max-width-2xl,1536px)]",full:"!max-w-none",none:""}[n]),style:i,children:l})})}},11374:(e,t,l)=>{l.d(t,{r:()=>s});var a=l(28794);let s=(0,a.createServerReference)("7fb18acfcdb9441872ee729996320c953b6c2b9aff",a.callServer,void 0,a.findSourceMapURL,"logout")},19221:(e,t,l)=>{l.r(t),l.d(t,{MakeswiftFooter:()=>D,PropsContextProvider:()=>R});var a=l(38875),s=l(88822),r=l(52688),n=l(69798),i=l(36372),o=l(53563),c=l(18123),d=l(32945),x=l(83743),h=l(42368),u=l(30356),m=l(4463),p=l(40484),f=l(14715);let g="flex min-h-[360px] flex-col items-center justify-between gap-6 border-y border-[#CDCDCD] py-6 sm:min-h-[300px] md:min-h-[200px] md:py-10 lg:min-h-[140px] lg:flex-row lg:gap-8",v=e=>{let{logo:t,teamInfo:l,sections:s,contactTitle:r="Contact Us",contactInformation:n,paymentIcons:i,socialMediaLinks:o,copyright:c,className:u,logoHref:p="#",logoLabel:g="Home",logoWidth:v=200,logoHeight:j=40,downSection:y,showAppDownloadSection:L=!0}=e;return(0,a.jsxs)("footer",{className:(0,d.$)("group/footer min-h-[640px] bg-[var(--footer-background,hsl(var(--background)))] @container sm:min-h-[660px] md:min-h-[700px] lg:min-h-[720px] xl:min-h-[700px] 2xl:min-h-[680px]",u),id:"main-footer",tabIndex:-1,children:[L&&(0,a.jsx)(x.Z6,{fallback:(0,a.jsx)(w,{}),value:null!=y?y:null,children:e=>(0,a.jsx)(b,{downSection:e})}),(0,a.jsx)(m.o,{childClassName:"py-10 md:py-16 md:pb-[100px]",children:(0,a.jsxs)("div",{className:"flex flex-col justify-between gap-x-4 gap-y-12 @3xl:flex-row @3xl:gap-x-16 md:gap-x-6 lg:gap-x-12",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-4 @3xl:w-1/3 @3xl:gap-6",children:[(0,a.jsx)("div",{className:"flex min-h-[40px] items-center justify-start self-stretch",children:(0,a.jsx)(h.g,{className:"flex",height:j,href:p,label:g,logo:t,width:v})}),(0,a.jsx)(x.Z6,{fallback:(0,a.jsx)(k,{}),value:o,children:e=>{if(null!=e)return(0,a.jsx)("div",{className:"flex items-center gap-2",children:e.map((e,t)=>{let{href:l,icon:s,label:r,target:n}=e;return(0,a.jsx)(f.Link,{"aria-label":r,className:"flex items-center justify-center rounded-lg fill-[var(--footer-social-icon,hsl(var(--contrast-400)))] p-1 ring-[var(--footer-focus,hsl(var(--primary)))] transition-colors duration-300 ease-out hover:fill-[var(--footer-social-icon-hover,hsl(var(--foreground)))] focus-visible:outline-0 focus-visible:ring-2",href:l,rel:"_blank"===n?"noopener noreferrer":void 0,target:n,children:s},t)})})}}),(0,a.jsx)(x.Z6,{fallback:(0,a.jsx)(N,{}),value:l,children:e=>{if(e)return(0,a.jsx)("div",{className:"-order-1 mb-12 mt-6 min-h-[60px] sm:mb-0 md:order-none",children:(0,a.jsx)("div",{className:"font-light leading-5",dangerouslySetInnerHTML:{__html:e}})})}})]}),(0,a.jsx)(x.Z6,{fallback:(0,a.jsx)(C,{}),value:s,children:e=>e.length>0?(0,a.jsx)("div",{className:(0,d.$)("grid min-h-[260px] auto-cols-fr gap-6 sm:min-h-[220px] sm:grid-flow-col sm:gap-8 md:min-h-[200px] md:gap-6 lg:gap-8 2xl:w-[58%] 2xl:gap-14"),children:e.map((e,t)=>{let{title:l,links:s}=e;return(0,a.jsxs)("div",{className:"min-h-[120px]",children:[null!=l&&(0,a.jsx)("h3",{className:"mb-4 font-sans font-light text-blue-500 md:mb-8 md:text-lg",children:l}),(0,a.jsx)("ul",{className:"flex flex-col gap-4",children:s.map((e,t)=>(0,a.jsx)("li",{className:"text-sm font-light leading-5 lg:text-base",children:e.href&&"#"!==e.href?(0,a.jsx)(f.Link,{className:"hover:text-primary focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-primary/20",href:e.href,rel:"_blank"===e.target?"noopener noreferrer":void 0,target:e.target,children:e.label}):(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:e.label}})},t))})]},t)})}):(0,a.jsx)(S,{})})]})})]})};function b(e){let{downSection:t}=e;
1return(null==t?void 0:t.title)||(null==t?void 0:t.description)?(0,a.jsxs)(m.o,{childClassName:g,children:[(0,a.jsxs)("div",{className:"flex min-h-[72px] w-full flex-col gap-4 lg:max-w-[40%]",children:[t.title?(0,a.jsx)("p",{className:"font-sans text-[12px] font-bold uppercase leading-[14px] tracking-[3px] text-blue",children:t.title}):null,t.description?(0,a.jsx)("h3",{className:"text-[26px] font-normal leading-[1.1] md:text-[32px] md:leading-[38px]",children:t.description}):null]}),(0,a.jsx)(j,{items:t.appStore}),(0,a.jsx)(j,{items:t.googlePlay})]}):(0,a.jsx)(y,{})}function j(e){let{items:t}=e;return 0===t.length?(0,a.jsx)("div",{"aria-hidden":!0,className:"min-h-[88px] w-[200px] shrink-0"}):(0,a.jsx)("div",{className:"flex min-h-[88px] w-[200px] shrink-0 flex-row gap-3 text-center sm:gap-5 lg:flex-col",children:t.map(e=>(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"mb-0 font-dm text-[14px] font-bold uppercase leading-[120%] tracking-[2px]",children:e.title}),(0,a.jsx)(f.Link,{"aria-label":"App Download",className:"inline-flex h-[64px] w-[184px] items-center justify-center rounded-[16px] bg-white p-3 md:h-[72px] md:w-[200px] md:px-8 md:py-3",href:e.appDownloadUrl||"#",rel:"noreferrer",target:"_blank",children:e.imageUrl?(0,a.jsx)(p.Image,{alt:e.title,className:"h-10 w-40 shrink-0 object-contain object-left",height:40,sizes:"".concat(160,"px"),src:e.imageUrl,style:{width:160,height:40,aspectRatio:"".concat(160," / ").concat(40)},width:160}):(0,a.jsx)("span",{className:"inline-flex h-10 w-40 items-center justify-center text-sm",children:e.title})})]},e.title))})}function w(){return(0,a.jsxs)(m.o,{childClassName:g,children:[(0,a.jsxs)(u.bL,{className:"flex min-h-[72px] w-full flex-col gap-4 group-has-[[data-pending]]/footer:animate-pulse lg:max-w-[40%]",pending:!0,children:[(0,a.jsx)(u.EY,{characterCount:12,className:"rounded","data-pending":!0}),(0,a.jsx)(u.EY,{characterCount:28,className:"rounded","data-pending":!0}),(0,a.jsx)(u.EY,{characterCount:20,className:"rounded","data-pending":!0})]}),(0,a.jsx)("div",{"aria-hidden":!0,className:"min-h-[88px] w-[200px] shrink-0"}),(0,a.jsx)("div",{"aria-hidden":!0,className:"min-h-[88px] w-[200px] shrink-0"})]})}function y(){return(0,a.jsx)("div",{"aria-hidden":!0,className:"min-h-[360px] border-y border-transparent sm:min-h-[300px] md:min-h-[200px] lg:min-h-[140px]"})}function N(){return(0,a.jsxs)(u.bL,{className:"mb-4 text-lg group-has-[[data-pending]]/footer:animate-pulse @lg:text-xl",pending:!0,children:[(0,a.jsx)(u.EY,{characterCount:10,className:"rounded","data-pending":!0}),(0,a.jsx)(u.EY,{characterCount:15,className:"rounded","data-pending":!0}),(0,a.jsx)(u.EY,{characterCount:12,className:"rounded","data-pending":!0})]})}function k(){return(0,a.jsx)(u.bL,{className:"group-has-[[data-pending]]/footer:animate-pulse",pending:!0,children:(0,a.jsx)("div",{className:"flex items-center gap-3","data-pending":!0,children:Array.from({length:4}).map((e,t)=>(0,a.jsx)(u.az,{className:"h-8 w-8 rounded-full"},t))})})}function C(){return(0,a.jsx)(u.bL,{className:"grid min-h-[260px] max-w-5xl grid-cols-1 gap-y-8 @container-normal group-has-[[data-pending]]/footer:animate-pulse @sm:min-h-[220px] @sm:grid-cols-2 @xl:min-h-[200px] @xl:gap-y-10 @2xl:grid-cols-3 @6xl:[grid-template-columns:_repeat(auto-fill,_minmax(220px,_1fr))]",pending:!0,children:Array.from({length:4}).map((e,t)=>(0,a.jsxs)("div",{className:"pr-8","data-pending":!0,children:[(0,a.jsx)("div",{className:"mb-3 flex items-center",children:(0,a.jsx)(u.EY,{characterCount:10,className:"rounded"})}),(0,a.jsx)(L,{})]},t))})}function L(){return(0,a.jsx)("ul",{children:Array.from({length:4}).map((e,t)=>(0,a.jsx)("li",{className:"py-2 text-sm",children:(0,a.jsx)(u.EY,{characterCount:10,className:"rounded"})},t))})}function S(){return(0,a.jsx)("div",{"aria-hidden":!0,className:"min-h-[260px] sm:min-h-[220px] md:min-h-[200px] 2xl:w-[58%]"})}var _=l(45378),E=l(86278),I=l(24084);let M=(0,c.createContext)({logo:null,sections:[],teamInfo:void 0,socialMediaLinks:void 0,downSection:void 0}),R=e=>{let{value:t,children:l}=e;return(0,a.jsx)(M.Provider,{value:t,children:l})},z={Facebook:{icon:(0,a.jsx)(s.A,{height:40,title:"Facebook",width:40})},Twitter:{icon:(0,a.jsx)(r.A,{height:40,title:"Twitter",width:40})},X:{icon:(0,a.jsx)(r.A,{height:40,title:"X",width:40})},Pinterest:{icon:(0,a.jsx)(n.A,{height:40,title:"Pinterest",width:40})},Instagram:{icon:(0,a.jsx)(i.A,{height:40,title:"Instagram",width:40})},YouTube:{icon:(0,a.jsx)(o.A,{height:40,title:"YouTube",width:40})},LinkedIn:{icon:(0,a.jsx)(_.p,{height:40,title:"LinkedIn",width:40})}},D=e=>{var t,l,s;let{logo:r,teamInfo:n,downSections:i,sections:o,copyright:d,socialMediaLinks:x}=e,h=(0,c.useContext)(M),u=(0,E.a8)(),m=r.src?{src:r.src,alt:r.alt}:h.logo,p=null!=(l=null!=(t=function(e){if(!e)return null;let t=e=>"string"==typeof e?e:null==e?void 0:e.url;
1return{title:e.title,description:e.description,appStore:e.appStore.map(e=>({title:e.title,imageUrl:t(e.imageUrl),appDownloadUrl:e.appDownloadUrl})),googlePlay:e.googlePlay.map(e=>({title:e.title,imageUrl:t(e.imageUrl),appDownloadUrl:e.appDownloadUrl}))}}(i))?t:h.downSection)?l:null,f=!u.includes("register");return(0,a.jsx)(v,{...h,copyright:null!=d?d:h.copyright,downSection:p,logo:r.show?m:null,logoHeight:r.show?r.height:0,logoWidth:r.show?r.width:0,sections:(s=h.sections,(0,I.X)(s,o.map(e=>{let{title:t,links:l}=e;return{title:t,links:l.map(e=>{let{label:t,link:l}=e;return{label:t,href:l.href,target:l.target}})}}),(e,t)=>({...e,links:[...e.links,...t.links]}))),showAppDownloadSection:f,socialMediaLinks:function(e,t){if(!t||0===t.length)return e;let l=t.filter(e=>e.show&&e.href.href).map(e=>{var t;return{href:e.href.href,icon:null==(t=z[e.name])?void 0:t.icon,label:e.name}}).filter(e=>e.icon);return l.length>0?l:e}(h.socialMediaLinks,x),teamInfo:n})}},24084:(e,t,l)=>{l.d(t,{X:()=>a});function a(e,t,l){let a=new Set(e.map(e=>e.title)),s=new Map(t.map(e=>[e.title,e]));return[...e.map(e=>{var t;let a=s.get(null!=(t=e.title)?t:"");return a?l(e,a):e}),...t.filter(e=>{var t;return!a.has(null!=(t=e.title)?t:"")})]}},25836:(e,t,l)=>{l.d(t,{WebinarDate:()=>i});var a=l(38875),s=l(93691),r=l(89172),n=l(36710);let i=e=>{let{product:t,className:l="",showEnrollmentDate:i,isHomepage:o}=e,{userTimeZone:c,userDateFormat:d}=(0,s.H)()||{},{isWebinar:x,courseDate:h,courseTime:u,enrollmentDate:m}=(0,n.R)(t,c,d);if(x)return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:(0,r.cn)(l),children:[!!h&&(0,a.jsx)("p",{children:h}),o&&(0,a.jsx)("p",{className:"mx-2",children:"/"}),!!u&&(0,a.jsx)("p",{className:"uppercase",children:u})]}),!!i&&!!m&&(0,a.jsxs)("p",{className:"mb-6",children:["Enrollment Date: ",(0,a.jsx)("span",{children:m})]})]})}},30356:(e,t,l)=>{l.d(t,{EY:()=>i,In:()=>o,az:()=>n,bL:()=>r});var a=l(38875),s=l(32945);function r(e){let{className:t,children:l,pending:r=!1,hideOverflow:n=!1}=e;return(0,a.jsxs)("div",{className:(0,s.$)("@container",n&&"overflow-hidden",t),"data-pending":r?"":void 0,role:r?"status":void 0,children:[l,r&&(0,a.jsx)("span",{className:"sr-only",children:"Loading..."})]})}function n(e){let{className:t}=e;return(0,a.jsx)("div",{className:(0,s.$)("bg-[var(--skeleton,hsl(var(--contrast-300)/15%))]",t)})}function i(e){let{characterCount:t=10,className:l}=e;return(0,a.jsx)("div",{className:(0,s.$)("flex h-[1lh] items-center",l),children:(0,a.jsx)("div",{className:(0,s.$)("h-[1ex] max-w-full rounded-[inherit] bg-[var(--skeleton,hsl(var(--contrast-300)/15%))]"),style:{width:"full"===t?"100%":"".concat(t,"ch")}})})}function o(e){let{className:t,icon:l}=e;return(0,a.jsx)("div",{className:(0,s.$)("text-[var(--skeleton,hsl(var(--contrast-300)))] opacity-25",t),children:l})}},42368:(e,t,l)=>{l.d(t,{g:()=>o});var a=l(38875),s=l(32945),r=l(83743),n=l(40484),i=l(14715);function o(e){let{className:t,imageClassName:l,logo:o,href:c,width:d,height:x,label:h,subLogo:u,subLogoWidth:m,subLogoHeight:p,showSubLogo:f}=e;return(0,a.jsx)(r.Z6,{fallback:(0,a.jsx)("div",{className:"animate-pulse rounded-md bg-contrast-100",style:{width:d,height:x,minWidth:d,minHeight:x}}),value:o,children:e=>(0,a.jsxs)(i.Link,{"aria-label":h,className:(0,s.$)("relative flex shrink-0 items-center gap-4 outline-0 ring-[var(--logo-focus,hsl(var(--primary)))] ring-offset-4 focus-visible:ring-2",t),href:c,style:{minHeight:x},children:[e&&"object"==typeof e&&""!==e.src?(0,a.jsx)("span",{className:"flex shrink-0 items-center",style:{width:d,height:x},children:(0,a.jsx)(n.Image,{alt:e.alt,className:(0,s.$)("object-contain object-left",l||"size-full"),height:x,sizes:"".concat(d,"px"),src:e.src,style:{width:"100%",height:"100%",objectFit:"contain",aspectRatio:"".concat(d," / ").concat(x)},width:d})}):"string"==typeof e&&(0,a.jsx)("span",{className:"font-[family-name:var(--logo-font-family,var(--font-family-heading))] text-lg font-semibold leading-none text-[var(--logo-text,hsl(var(--foreground)))] @xl:text-2xl",children:e}),e&&"object"==typeof e&&e.alt&&!f?(0,a.jsxs)("div",{className:"hidden shrink-0 items-center gap-4 3xl:flex",children:[(0,a.jsx)("span",{className:"mx-[3px] h-[28px] w-[1px] shrink-0 bg-blue-dark"}),(0,a.jsx)("span",{className:"shrink-0 font-roboto text-[14px] font-medium leading-5 tracking-[0.1px] text-blue-dark",children:e.alt})]}):null,f&&u?(0,a.jsxs)("div",{className:"2xs:flex hidden shrink-0 items-center gap-4",children:[(0,a.jsx)("span",{className:"mx-[3px] h-[28px] w-[1px] shrink-0 bg-blue-dark"}),(0,a.jsx)(r.Z6,{value:u,children:e=>e&&"object"==typeof e&&""!==e.src&&m&&p?(0,a.jsx)("span",{className:"flex shrink-0 items-center",style:{width:m,height:p},children:(0,a.jsx)(n.Image,{alt:e.alt||"",className:(0,s.$)("object-contain object-left",l||"size-full"),height:p,sizes:"".concat(m,"px"),src:e.src,style:{width:"100%",height:"100%",objectFit:"contain",aspectRatio:"".concat(m," / ").concat(p)},width:m})}):null})]}):null]})})}},49871:(e,t,l)=>{l.r(t),l.d(t,{MakeswiftHeader:()=>V,PropsContextProvider:()=>Y});var a=l(38875),s=l(18123),r=l(32945),n=l(71911);let i=(0,s.forwardRef)((e,t)=>{let{id:l,children:i,hideDismiss:o=!1,className:c,onDismiss:d}
1=e,[x,h]=(0,s.useState)({dismissed:!1,initialized:!1});(0,s.useEffect)(()=>{h({dismissed:"true"===localStorage.getItem("".concat(l,"-hidden-banner")),initialized:!0})},[l]);let u=(0,s.useCallback)(()=>{h(e=>({...e,dismissed:!0})),localStorage.setItem("".concat(l,"-hidden-banner"),"true"),null==d||d()},[l,d]);return x.initialized?(0,a.jsxs)("div",{className:(0,r.$)("relative w-full overflow-hidden bg-[var(--banner-background,hsl(var(--primary)))] transition-all duration-300 ease-in @container",x.dismissed?"pointer-events-none max-h-0":"max-h-32",c),id:"announcement-bar",ref:t,children:[(0,a.jsx)("div",{className:"p-3 pr-12 text-sm text-[var(--banner-text,hsl(var(--foreground)))] @xl:px-12 @xl:text-center @xl:text-base",children:i}),!o&&(0,a.jsx)("button",{"aria-label":"Dismiss banner",className:"absolute right-3 top-3 grid h-8 w-8 place-content-center rounded-full bg-[var(--banner-close-background,transparent)] text-[var(--banner-close-icon,hsl(var(--foreground)/50%))] transition-colors duration-300 hover:bg-[var(--banner-close-background-hover,hsl(var(--background)/40%))] hover:text-[var(--banner-close-icon-hover,hsl(var(--foreground)))] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--banner-focus,hsl(var(--foreground)))] @xl:top-1/2 @xl:-translate-y-1/2",onClick:e=>{e.preventDefault(),u()},children:(0,a.jsx)(n.A,{absoluteStrokeWidth:!0,size:20,strokeWidth:1.5})})]}):null});i.displayName="Banner";var o=l(41851),c=l(6562),d=l(34557),x=l(83743),h=l(89661),u=l(42368),m=l(40422),p=l(13333),f=l.n(p),g=l(47217),v=l(95476),b=l(28794);let j=(0,b.createServerReference)("40725509dad6275cfec8ee39c15eb3be1eb326433d",b.callServer,void 0,b.findSourceMapURL,"getAlgoliaRecommendedResults"),w=(0,b.createServerReference)("6000b2f0bd0a41c064f26b858dac7906bd3c4c9dd3",b.callServer,void 0,b.findSourceMapURL,"getAlgoliaSearchResults");var y=l(40484),N=l(53987),k=l(6223),C=l(54526);let L=(0,s.forwardRef)((e,t)=>{let{className:l,pending:s,showClear:i,onClickClear:o,onSearch:c,...d}=e;return(0,a.jsxs)("div",{className:"relative pr-20",children:[(0,a.jsx)("input",{className:(0,r.$)("visible-hidden peer w-full appearance-none border-none px-12 py-3 text-2xl font-light placeholder:text-2xl placeholder:text-gray-500 focus-visible:outline-none disabled:bg-gray-100",l),ref:t,type:"text",...d}),!s&&(0,a.jsx)(h.$,{"aria-hidden":"true",className:"absolute end-3 top-1/2 flex h-full w-auto -translate-y-1/2 cursor-pointer items-center border-0 bg-transparent px-1.5 py-0 text-primary hover:bg-transparent hover:text-primary",onClick:c,role:"presentation",size:"x-small",variant:"ghost",children:(0,a.jsx)(v.vj,{})}),i&&!s&&(0,a.jsx)(h.$,{"aria-label":"Clear search",className:"absolute end-10 top-1/2 w-auto -translate-y-1/2 border-0 bg-transparent p-1.5 text-black hover:bg-transparent hover:text-primary focus-visible:text-primary peer-hover:text-primary peer-focus-visible:text-primary",onClick:o,size:"x-small",type:"button",variant:"ghost",children:(0,a.jsx)(n.A,{})}),s&&(0,a.jsxs)("span",{"aria-hidden":"true",className:"pointer-events-none absolute end-3 top-1/2 flex h-full -translate-y-1/2 items-center text-primary peer-disabled:text-gray-200",role:"presentation",children:[(0,a.jsx)(g.A,{"aria-hidden":"true",className:"animate-spin",role:"presentation"}),(0,a.jsx)("span",{className:"sr-only",children:"Processing..."})]})]})}),S=e=>{var t,l,r,n,i;let{initialTerm:o=""}=e,[c,d]=(0,s.useState)(o),[x,u]=(0,s.useState)(!1),[p,b]=(0,s.useState)(!1),[S,_]=(0,s.useState)(null),[E,I]=(0,s.useState)([]),[M,R]=(0,s.useState)([]),z=(0,s.useRef)(null),D=(0,s.useRef)(null),[$,P]=(0,s.useState)([]),[A,F]=(0,s.useState)([]),[U,H]=(0,s.use
1State)(!1),[O,B]=(0,s.useState)(!1),W=(0,s.useRef)(""),[Z,J]=(0,s.useState)(()=>window.innerWidth<768),[T,Y]=(0,s.useState)(()=>window.innerWidth<1024),[V,q]=(0,s.useState)(!1),G=(0,s.useCallback)(async(e,t)=>{let{data:l}=await w(e,t);if(l&&(l.products||l.articles)){var a,s;return{products:(null==(a=l.products)?void 0:a.hits.map(e=>({name:e.name||"",href:e.url||"/",image:e.image_url?{src:e.image_url,altText:e.name||""}:void 0,price:e.default_price?"$".concat(e.default_price.toFixed(2)):void 0,custom_fields:e.custom_fields,sku:e.sku||""})).filter(e=>!(0,C.Jo)(e.sku)))||[],articles:(null==(s=l.articles)?void 0:s.hits.map(e=>({name:e.title||"",href:e.url||"/",id:e.objectID||"",sku:e.sku||""})))||[]}}return null},[]),K=async()=>{let{data:e}=await j("");return((null==e?void 0:e.hits)||[]).map(e=>({name:e.name||"",sku:e.sku||"",image:e.image_url?{src:e.image_url,altText:e.name||""}:void 0,price:e.default_price?"$".concat(e.default_price.toFixed(2)):void 0,custom_fields:e.custom_fields})).filter(e=>!(0,C.Jo)(e.sku))};(0,s.useEffect)(()=>{let e=async()=>{if(!U){B(!0);try{let e=await K();H(!0),F(e)}catch(e){console.log(e),H(!0),F([])}finally{B(!1)}}};U||e()},[U]),(0,s.useEffect)(()=>{function e(){J(window.innerWidth<768),Y(window.innerWidth<1025),q(window.innerWidth>window.innerHeight)}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)},[]);let X=(0,s.useMemo)(()=>0===E.filter(e=>!e.checked).length,[E]),Q=(0,s.useMemo)(()=>X?[]:E.filter(e=>e.checked).map(e=>e.filter),[E,X]),ee=(0,s.useMemo)(()=>{var e,t;return S&&(!!(null==(e=S.products)?void 0:e.length)||!!(null==(t=S.articles)?void 0:t.length))},[S]);(0,s.useMemo)(()=>{var e,t;if(X)return P([]),"All Resources";let l=E.filter(e=>e.checked);return(0!==l.length&&P(l.map(e=>e.name)),0===l.length)?"":1===l.length?null==(e=l[0])?void 0:e.label:"".concat(null==(t=l[0])?void 0:t.label," (+").concat(l.length-1,")")},[E,X]);let et=(0,s.useMemo)(()=>f()(async(e,t)=>{try{let l=await G(e,t);W.current===e&&(_(l),(e=>{try{let t=localStorage.getItem("edc_search_history")||"[]",l=JSON.parse(t);l.push(e);let a=[...new Set(l)];R(a),localStorage.setItem("edc_search_history",JSON.stringify(a))}catch(e){console.log(e)}})(e),b(!1))}catch(t){console.error("Search error:",t),W.current===e&&(_(null),b(!1))}},1e3),[G]),el=(0,s.useCallback)(async(e,t)=>{await et(e,t)},[et]);function ea(e){let{text:t,keyword:l}=e;if(!t||!l)return t;let s=t.split(RegExp("(".concat(l,")"),"gi"));return(0,a.jsx)("span",{children:s.map((e,t)=>e.toLowerCase()===l.toLowerCase()?(0,a.jsx)("strong",{children:e},t):e)})}(0,s.useEffect)(()=>{c.length<3?(_(null),b(!1),W.current=""):(b(!0),W.current=c,el(c,Q))},[c,Q,el]),(0,s.useEffect)(()=>{R(JSON.parse(localStorage.getItem("edc_search_history")||"[]"))},[]),(0,s.useEffect)(()=>{I([{label:"Bundle Courses",name:"bundleCourses",filter:"Bundle_Course:true",checked:!1},{label:"Individual Courses",name:"individualCourses",filter:"Bundle_Course:-true",checked:!1},{label:"Webinars",name:"webinars",filter:"categories_without_path:Webinars",checked:!1},{label:"Booklets",name:"booklets",filter:"categories_without_path:Booklet Correspondence",checked:!1},{label:"Articles",name:"articles",filter:"",checked:!1}])},[]);let es=e=>e?(0,C.TR)(e)?"/community":"/pricing":"#";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"relative z-10",children:[(0,a.jsx)(m.bL,{action:"/search",className:"flex h-[80px] w-full items-center overflow-hidden rounded-[50px] border-[1px] border-gray p-2",method:"get",ref:D,role:"search",children:(0,a.jsx)(m.D0,{className:"w-full flex-1",name:"term",children:(0,a.jsx)(m.Ec,{asChild:!0,required:!0,children:(0,a.jsx)(L,{"aria-controls":"categories products brands","aria-expanded":!!S,className:"px-2",onChange:e=>{d(e.currentTarget.value)},onClickClear:()=>{var e;d(""),null==(e=z.current)||e.focus()},onSearch:()=>{var e;null==(e=D.current)||e.dispatchEvent(new Event("submit",{cancelable:!0}))},pending:p,placeholder:T?"Search":"Search for learning resources",ref:z,role:"combobox",showClear:c.length>0,value:c})})})}),S&&(0,a.jsxs)("div",{className:"absolute top-[90px] z-10 w-full overflow-hidden rounded-3xl bg-white px-12 py-8 shadow-searchRsults md:left-[352px] md:right-0 md:w-auto",children:[ee?(0,a.jsxs)(a.Fragment,{children:[!!(null==(t=S.products)?void 0:t.length)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:"mb-6 text-xs font-bold uppercase",children:"Learning options"}),(0,a.jsx)("ul",{className:"flex flex-col gap-4",id:"products",role:"listbox",children:S.products.slice(0,4).map((e,t)=>{let{name:l,sku:s}=e;return(0,a.jsx)("li",{children:(0,a.jsxs)("a",{"aria-label":l,className:"align-items flex gap-x-[10px] hover:text-blue focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-primary/20",href:es(s||""),children:[(0,a.jsx)(v.F0,{}),(0,a.jsx)(ea,{keyword:c,text:l})]})},s||t)})}),(0,a.jsx)("div",{className:"my-6 border-b-[1px]"})]}),!!(null==(l=S.articles)?void 0:l.length)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:"mb-6 text-xs font-bold uppercase",children:"Blog articles2222"}),(0,a.jsx)("ul",{className:"flex flex-col gap-4",id:"products",role:"listbox",children:S.articles.slice(0,4).map(e=>{let{name:t,id:l,href:s}=e;return(0,a.jsx)("li",{children:(0,a.jsxs)("a",{"aria-label":t,className:"align-items flex gap-x-[10px] hover:text-blue focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-primary/20",href:s,children:[(0,a.jsx)(v.F0,{}),(0,a.jsx)(ea,{keyword:c,text:t})]})},l)})})]})]}):(0,a.jsxs)("p",{className:"p-6",children:["No items matched with ",(0,a.jsxs)("b",{children:['"',c,'"']})]}),p&&(0,a.jsxs)("span",{"aria-hidden":"true",className:"pointer-events-none absolute end-0 top-0 flex h-full w-full items-center justify-center bg-white/65 text-primary peer-disabled:text-gray-200",role:"presentation",children:[(0,a.jsx)(g.A,{"aria-hidden":"true",className:"animate-spin",role:"presentation"}),(0,a.jsx)("span",{className:"sr-only",children:"Processing..."})]})]})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-8 md:flex-row",children:[(0,a.jsxs)("span",{className:"flex items-center gap-[10px] text-2xl font-light uppercase",children:[(0,a.jsx)(v.BZ,{})," past searches"]}),(0,a.jsxs)("div",{className:"flex flex-1 flex-wrap items-center gap-[10px]",children:[M.map(e=>
1(0,a.jsxs)(h.$,{className:"flex items-center gap-4 rounded-[30px] bg-blue-light px-4 py-[10px] text-sm font-medium text-blue",onClick:()=>(e=>{try{let t=localStorage.getItem("edc_search_history")||"[]",l=JSON.parse(t),a=l.findIndex(t=>t===e);d(l[a]),localStorage.setItem("edc_search_history",JSON.stringify(l))}catch(e){console.log(e)}})(e),size:"x-small",variant:"subtle",children:[e,(0,a.jsx)(v.lV,{className:"z-1",height:10,onClick:t=>{t.stopPropagation(),(e=>{try{let t=localStorage.getItem("edc_search_history")||"[]",l=JSON.parse(t),a=l.findIndex(t=>t===e);l.splice(a,1),R(l),localStorage.setItem("edc_search_history",JSON.stringify(l))}catch(e){console.log(e)}})(e)},width:10})]},Math.random())),M.length>0?(0,a.jsx)(h.$,{onClick:()=>{R([]),localStorage.removeItem("edc_search_history")},variant:"subtle",children:"Clear all"}):(0,a.jsx)("span",{className:"text-gray-500",children:"No past searches"})]})]}),(0,a.jsx)("div",{className:"border-t-[1px]"}),(0,a.jsxs)("div",{className:"flex items-center gap-[10px] text-2xl font-light uppercase",children:[(0,a.jsx)(v.Oe,{})," ",(null==S||null==(r=S.products)?void 0:r.length)?"Best matches":"Recommended for you"]}),(0,a.jsx)("ul",{className:"grid grid-cols-2 gap-4 md:grid-cols-4",id:"recommendeProducts",role:"listbox",children:!O||(null==S||null==(n=S.products)?void 0:n.length)?(0,a.jsx)(a.Fragment,{children:((null==S||null==(i=S.products)?void 0:i.length)?S.products:A).filter(e=>{let{sku:t}=e;return!(0,C.Jo)(t)}).slice(0,4).map(e=>{var t,l;let{name:s,sku:r,image:n,custom_fields:i}=e;return(0,a.jsx)("li",{children:(0,a.jsxs)("a",{"aria-label":s,className:"focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-primary/20",href:es(r||""),children:[(0,a.jsx)("figure",{className:"relative mb-6 aspect-[1.45/1] max-h-[607px] w-full overflow-hidden rounded-3xl",children:n?(0,a.jsx)(y.Image,{alt:s,className:"h-full w-full object-contain",fill:!0,priority:!0,sizes:"(min-width: 1024px) 50vw, 100vw",src:n.src,style:{objectFit:"cover"}}):(0,a.jsx)(y.Image,{alt:"default image",className:"h-full w-full object-contain",fill:!0,priority:!0,sizes:"(max-width: 768px) 50vw, (max-width: 1536px) 25vw, 500px",src:N.default,style:{objectFit:"cover"}})}),(0,a.jsxs)("p",{className:"mb-2 text-xs font-bold uppercase",children:[(0,a.jsx)("span",{className:"text-blue",children:null!=(t=null==i?void 0:i.Modality)?t:""}),(null==i?void 0:i.Modality)&&(null==i?void 0:i.Location)?" / ":"",null!=(l=null==i?void 0:i.Location)?l:""]}),(0,a.jsx)("p",{className:"line-clamp-2 text-lg font-bold lg:text-2xl",children:s})]})},r)})}):(0,a.jsx)("li",{className:"col-span-full",children:(0,a.jsx)(k.R,{loading:!0})})})]})};var _=l(14715);let E=e=>{let{align:t="center",className:l,items:r,trigger:n}=e,[i,o]=(0,s.useState)(!1),c=(0,s.useRef)(null);(0,s.useEffect)(()=>{let e=e=>{let t=e.target;c.current&&t instanceof Node&&!c.current.contains(t)&&o(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let d=i?"auto":"0px",x=+!!i,u=i?"visible":"hidden",m=()=>{o(!i)},p=(0,s.isValidElement)(n)?(0,s.cloneElement)(n,{"aria-expanded":i,"aria-haspopup":"true",onClick:e=>{var t;let l=null==(t=n.props)?void 0:t.onClick;"function"==typeof l&&l(e),m()}}):(0,a.jsx)("div",{"aria-expanded":i,"aria-haspopup":"true",className:l,onClick:m,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),m())},role:"button",tabIndex:0,children:n});return(0,a.jsxs)("div",{className:"relative",ref:c,children:[p,(0,a.jsx)("div",{className:"absolute left-0 right-0 top-full",style:{height:d,opacity:x,visibility:u,transition:"opacity 0.2s ease-in-out",zIndex:50},children:(0,a.jsx)("div",{className:"mt-2 min-w-[200px] max-w-[300px] rounded-lg bg-white p-4 text-base shadow-lg ".concat("start"===t?"left-0":"end"===t?"right-0":"left-1/2 transform -translate-x-1/2"," "),children:r.map(e=>"href"in e?(0,a.jsx)(_.Link,{className:"block whitespace-nowrap rounded-md p-3 hover:bg-gray-50 hover:text-primary focus-visible:bg-gray-50 focus-visible:text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/20",href:e.href,onClick:()=>o(!1),children:e.label},e.href):(0,a.jsx)("form",{action:e.action,className:"hover:focus-visible:ring-0",onSubmit:()=>o(!1),children:(0,a.jsx)(h.$,{className:"w-full justify-start rounded-md p-3 hover:bg-gray-50 hover:text-primary focus-visible:bg-gray-50 focus-visible:text-primary focus-visible:ring-2 focus-visible:ring-primary/20",size:"x-small",type:"submit",variant:"subtle",children:e.name})},e.name))})})]})};var I=l(11374),M=l(86278),R=l(70140),z=l(55976),D=l(67911);let $=e=>{let{isLogin:t}=e,{open:l}=(0,z.GD)();return t||(0,a.jsx)(h.$,{className:"px-1.5 py-0.5 text-xs xxs:px-2 xxs:py-0.5 xs:px-3 xs:py-1 xs:text-sm md:px-6 md:py-2 md:text-lg",onClick:l,size:"small",variant:"secondary",children:"Log In"})};var P=l(75037),A=l(93358);let F=e=>{let{links:t,user:l,setOpen:s}=e,{data:r}=(0,d.wV)(),n=(0,M.rd)(),i=async()=>{try{var e;let t=null==r||null==(e=r.user)?void 0:e.id_token;if(await (0,d.CI)({redirect:!1}),t){let e=new URL("".concat("https://edcet.onelogin.com","/oidc/2/logout"));e.searchParams.set("post_logout_redirect_uri",window.location.origin),e.searchParams.set("id_token_hint",t),(0,I.r)().catch(()=>{}),window.location.href=e.toString()}else await (0,I.r)()}catch(e){e&&"object"==typeof e&&"digest"in e||(console.error("Logout error:",e),n.refresh())}},o=e=>{let{level:t,activeLabel:r,groups:n}=e,c=()=>(0,a.jsxs)("ul",{className:"relative flex flex-col pb-6",children:[n.map((e,r)=>{let{href:n,label:i,groups:c}=e;return c&&c.length>0?(0,a.jsxs)("li",{className:"border-b-[1px]",children:[(0,a.jsxs)("button",{className:"group/button flex w-full items-center justify-between pb-4 pt-5 font-semibold hover:text-primary focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-primary/20",onClick:e=>{var t;let l=null==(t=e.target.closest("li"))?void 0:t.querySelector("div");l&&l.setAttribute("data-state","open")},children:[n?(0,a.jsx)(_.Link,{className:"font-dm text-lg font-bold",href:n,onClick:()=>{s(!1);let e=document.getElementById("closeMenu");e&&e.click()},children:i}):(0,a.jsx)("span",{className:"font-dm text-lg font-bold",children:i}),(0,a.jsx)(v.c_,{"aria-hidden":"true",className:"h-3.5 w-3.5 cursor-pointer transition duration-200 group-data-[state=open]/button:-rotate-180 xxs:h-4 xxs:w-4 xs:h-5 xs:w-5",height:14,role:"presentation",width:14})]}),(0,a.jsx)("div",{className:"group/submenu absolute bottom-0 left-0 right-0 top-0 z-10 hidden bg-white data-[state=open]:block",children:(0,a.jsx)(o,{activeLabel:i,groups:c,level:t+1})})]},"".concat(n,"-").concat(i,"-").concat(r,"-parent")):(0,a.jsx)("li",{className:"border-b-[1px]",children:"My Products"!==i||l?n?(0,a.jsx)(_.Link,{className:"block w-full !px-0 pb-4 pt-5 font-dm text-lg font-bold",href:n,onClick:()=>{s(!1)},children:i}):(0,a.jsx)("span",{className:"block w-full !px-0 pb-4 pt-5 font-dm text-lg font-bold",children:i}):(0,a.jsx)(h.$,{className:"block w-full !px-0 pb-4 pt-5 text-left font-dm text-lg font-bold",onClick:()=>{(0,A.i)("/account/my-products/"),s(!1)},variant:"subtle",children:i})},"".concat(n,"-").concat(i,"-").concat(r))}),1===t&&l?(0,a.jsx)("li",{className:"border-b-[1px]",children:(0,a.jsx)(h.$,{className:"!px-0 py-4 font-dm text-lg font-bold hover:bg-transparent hover:text-primary",onClick:async()=>{await i(),s(!1);let e=document.getElementById("closeMenu");e&&e.click()},variant:"subtle",children:"Log out"})},"logout"):null]});return 1===t?(0,a.jsx)(c,{}):(0,a.jsxs)("div",{className:"group-data-[state=open]/submenu:animate-in group-data-[state=closed]/submenu:animate-out",children:[(0,a.jsx)(h.$,{className:"w-full justify-start !px-0 pb-6 pt-4 text-left",onClick:e=>{var t,l;let a=null==(l=e.target.closest("button"))||null==(t=l.parentNode)?void 0:t.parentNode;a&&a.setAttribute("data-state","closed")},variant:"subtle",children:(0,a.jsx)(v.nk,{"aria-hidden":"true",className:"h-3.5 w-3.5 xxs:h-4 xxs:w-4 xs:h-5 xs:w-5",height:14,role:"presentation",width:14})}),(0,a.jsx)("span",{className:"mb-1 block text-xs font-bold uppercase text-blue",children:r}),(0,a.jsx)(c,{})]})};return(0,a.jsx)("div",{className:"relative flex-1 overflow-y-auto",children:(0,a.jsx)(o,{activeLabel:"Products",groups:t,level:1})})},U=e=>{let{links:t,logo:l,user:r,accountLabel:n="My Account"}
1=e,[i,o]=(0,s.useState)(!1),{open:c}=(0,z.GD)();return(0,a.jsxs)(P.bL,{onOpenChange:o,open:i,children:[(0,a.jsx)(P.l9,{asChild:!0,children:(0,a.jsx)(h.$,{"aria-controls":"nav-menu","aria-label":"Toggle navigation",className:"group ml-0 mr-0.5 flex !h-10 items-center justify-center rounded-[4px] bg-transparent !p-0 text-black hover:bg-transparent hover:text-primary @6xl:hidden xxs:mr-1 xxs:!w-10 xs:mr-2 xs:!h-12 xs:!w-12 md:mr-4 md:!h-14 md:!w-14",variant:"ghost",children:(0,a.jsx)(v.W1,{className:"h-6 w-6 md:h-7 md:w-7"})})}),(0,a.jsxs)(P.ZL,{children:[(0,a.jsx)(P.hJ,{className:"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),(0,a.jsxs)(P.UC,{"aria-describedby":void 0,className:"fixed inset-y-0 left-0 z-50 flex h-full w-full flex-col justify-between border-r bg-white p-4 pt-0 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",children:[(0,a.jsx)(P.hE,{asChild:!0,children:(0,a.jsx)("h2",{className:"sr-only",children:"Navigation menu"})}),(0,a.jsxs)("div",{className:"sticky top-0 z-10 flex h-[52px] shrink-0 items-center justify-between bg-white xs:h-[56px] md:h-[64px] lg:h-[80px]",children:[(0,a.jsx)(_.Link,{className:"overflow-hidden text-ellipsis py-3",href:"/",onClick:()=>o(!1),children:"object"==typeof l?(0,a.jsx)(y.Image,{alt:l.altText,className:"max-h-16 object-cover",height:45,priority:!0,src:l.src,width:288}):(0,a.jsx)("span",{className:"truncate text-2xl font-black",children:l})}),(0,a.jsx)(P.HM,{children:(0,a.jsx)("div",{className:"p-1.5 xxs:p-2 xs:p-3",id:"closeMenu",children:(0,a.jsx)(v.ky,{className:"h-4 w-4 xxs:h-5 xxs:w-5 xs:h-6 xs:w-6"})})})]}),(0,a.jsx)(F,{links:t,setOpen:o,user:r}),(0,a.jsx)("div",{className:"py-4",children:(0,a.jsxs)("div",{className:"flex items-center gap-2 xxs:gap-3 xs:gap-4",children:[r?(0,a.jsx)(_.Link,{"aria-label":n,href:"/account",onClick:()=>o(!1),children:(0,a.jsx)(v.wv,{className:"h-7 w-7 xxs:h-8 xxs:w-8 xs:h-10 xs:w-10",height:28,width:28})}):(0,a.jsx)("button",{"aria-label":"Open login",onClick:()=>{c()},type:"button",children:(0,a.jsx)(v.wv,{className:"h-7 w-7 xxs:h-8 xxs:w-8 xs:h-10 xs:w-10",height:28,width:28})}),(0,a.jsx)("div",{children:r?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("strong",{children:r.name||"User"}),(0,a.jsx)("p",{children:r.email})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(h.$,{className:"inline-block !px-0 font-normal underline",onClick:()=>{c()},variant:"subtle",children:"Login"})," ","or"," ",(0,a.jsx)(_.Link,{className:"underline",href:"/login/register-customer",onClick:()=>o(!1),children:"Create an Account"})]})})]})})]})]})]})};(0,s.forwardRef)((e,t)=>{let{open:l,className:s,...n}=e;return(0,a.jsx)("button",{...n,className:(0,r.$)("group relative rounded-lg p-2 outline-0 ring-[var(--nav-focus,hsl(var(--primary)))] transition-colors focus-visible:ring-2",s),ref:t,children:(0,a.jsxs)("div",{className:"flex h-4 w-4 origin-center transform flex-col justify-between overflow-hidden transition-all duration-300",children:[(0,a.jsx)("div",{className:(0,r.$)("h-px origin-left transform bg-[var(--nav-mobile-button-icon,hsl(var(--foreground)))] transition-all duration-300",l?"translate-x-10":"w-7")}),(0,a.jsx)("div",{className:(0,r.$)("h-px transform rounded bg-[var(--nav-mobile-button-icon,hsl(var(--foreground)))] transition-all delay-75 duration-300",l?"translate-x-10":"w-7")}),(0,a.jsx)("div",{className:(0,r.$)("h-px origin-left transform bg-[var(--nav-mobile-button-icon,hsl(var(--foreground)))] transition-all delay-150 duration-300",l?"translate-x-10":"w-7")}),(0,a.jsxs)("div",{className:(0,r.$)("absolute top-2 flex transform items-center justify-between bg-[var(--nav-mobile-button-icon,hsl(var(--foreground)))] transition-all duration-500",l?"w-12 translate-x-0":"w-0 -translate-x-10"),children:[(0,a.jsx)("div",{className:(0,r.$)("absolute h-px w-4 transform bg-[var(--nav-mobile-button-icon,hsl(var(--foreground)))] transition-all delay-300 duration-500",l?"rotate-45":"rotate-0")}),(0,a.jsx)("div",{className:(0,r.$)("absolute h-px w-4 transform bg-[var(--nav-mobile-button-icon,hsl(var(--foreground)))] transition-all delay-300 duration-500",l?"-rotate-45":"rotate-0")})]})]})})}).displayName="MobileMenuButton";let H="hidden items-center whitespace-nowrap px-4 py-4 font-dm text-lg font-bold text-[var(--nav-link-text,hsl(var(--foreground)))] ring-[var(--nav-focus,hsl(var(--primary)))] transition-colors duration-200 hover:text-[var(--nav-link-text-hover,hsl(var(--text-primary)))] focus-visible:outline-0 focus-visible:ring-2 @4xl:inline-flex",O="block bg-[var(--nav-group-background,transparent)] py-4 text-nowrap text-2xl font-[family-name:var
1(--nav-group-font-family,var(--font-family-body))] font-light text-[var(--nav-group-text,hsl(var(--foreground)))] ring-[var(--nav-focus,hsl(var(--primary)))] transition-colors hover:bg-[var(--nav-group-background-hover,hsl(var(--contrast-100)))] hover:text-[var(--nav-group-text-hover,hsl(var(--foreground)))] focus-visible:outline-0 focus-visible:ring-2",B="relative rounded-lg bg-[var(--nav-button-background,transparent)] !p-1 xxs:!p-1.5 xs:!p-3.5 md:!p-3 text-[var(--nav-button-icon,hsl(var(--foreground)))] ring-[var(--nav-focus,hsl(var(--primary)))] transition-colors focus-visible:outline-0 focus-visible:ring-2 @4xl:hover:bg-[var(--nav-button-background-hover,hsl(var(--contrast-100)))] @4xl:hover:text-[var(--nav-button-icon-hover,hsl(var(--foreground)))]",W=e=>{if(null!=e)return"string"==typeof e?e:{src:e.src,altText:e.alt}},Z=(0,s.forwardRef)(function(e,t){let{className:l,isFloating:n=!1,cartHref:i,cartCount:m,links:p,logo:f,logoHref:g="/",logoLabel:b="Home",logoWidth:j=200,logoHeight:w=40,mobileLogo:y,mobileLogoWidth:N=70,mobileLogoHeight:k=40,subLogo:C,subLogoWidth:L=100,subLogoHeight:P=40,showSubLogo:A=!1,linksPosition:F="center",searchHref:Z,searchAction:J,cartLabel:T="Cart",accountLabel:Y="My Account",openSearchPopupLabel:V="Open search popup",searchLabel:q="Search",isLoggedIn:G,user:K}
1=e,[X,Q]=(0,s.useState)(!1),[ee,et]=(0,s.useState)(""),{isSearchOpen:el,setIsSearchOpen:ea}=(0,D.S)(),{open:es}=(0,z.GD)(),{isLoggedIn:er,user:en,session:ei}=function(e,t){var l;let{data:a,status:r}=(0,d.wV)(),n=(0,M.rd)(),i=(0,s.useRef)(e),o=(0,s.useRef)(e),c=!!(null==a||null==(l=a.user)?void 0:l.customerAccessToken),x="loading"===r,h=x?e:c,u=x?t:c?null==a?void 0:a.user:void 0;return(0,s.useEffect)(()=>{if(x)return;let t=c&&!o.current;o.current=c,t&&(0,R.j)(n),e&&!c&&n.refresh()},[c,x,n,e]),(0,s.useEffect)(()=>{h&&(i.current=!0)},[h]),(0,s.useEffect)(()=>{let t=async()=>{try{let t=await fetch("/api/auth/session-status",{cache:"no-store"});if(!t.ok)return;if((await t.json()).isLoggedIn){i.current=!0;return}(i.current||e||c)&&(i.current=!1,await (0,d.CI)({redirect:!1}),n.refresh())}catch(e){}};t();let l=window.setInterval(t,6e4),a=()=>{t()},s=()=>{"visible"===document.visibilityState&&t()};return window.addEventListener("focus",a),document.addEventListener("visibilitychange",s),()=>{window.clearInterval(l),window.removeEventListener("focus",a),document.removeEventListener("visibilitychange",s)}},[c,n,e]),{isLoggedIn:h,user:u,session:a,sessionStatus:r}}(!!G,K),eo=(0,M.rd)(),ec=(0,M.a8)(),ed=(null==K?void 0:K.customerGroupName)==="Admins",ex=async()=>{try{var e;let t=null==ei||null==(e=ei.user)?void 0:e.id_token;if(await (0,d.CI)({redirect:!1}),t){let e=new URL("".concat("https://edcet.onelogin.com","/oidc/2/logout"));e.searchParams.set("post_logout_redirect_uri",window.location.origin),e.searchParams.set("id_token_hint",t),(0,I.r)().catch(()=>{}),window.location.href=e.toString()}else await (0,I.r)()}catch(e){e&&"object"==typeof e&&"digest"in e||(console.error("Logout error:",e),eo.refresh())}};(0,s.useEffect)(()=>{Q(!1),ea(!1)},[ec,ea]);let eh=[{href:"/account",label:"My account"},{href:"/account/user-profile",label:"User Profile"},{href:"/account/my-products",label:"My Products"},{href:"/account/account-security",label:"Account Security"},{href:"/account/notifications",label:"Notifications"},{href:"/account/regional-settings",label:"Regional Settings"},...ed?[{href:"/manage",label:"Manage"}]:[],{action:ex,name:"Log out"}];return(0,a.jsx)(o.bL,{className:(0,r.$)("relative mx-auto w-full px-1 py-0.5 @container xxs:px-2 xxs:py-1 xs:px-4 xs:py-1.5 md:px-6 md:py-2 lg:px-8 3xl:max-w-[1440px] 3xl:px-20 4xl:max-w-[1600px] 5xl:max-w-[1760px]",l),delayDuration:0,onValueChange:et,ref:t,value:ee,children:(0,a.jsxs)("div",{className:(0,r.$)("relative flex h-full items-center justify-between gap-0 bg-[var(--nav-background,hsl(var(--background)))] transition-shadow xxs:gap-0.5 xs:gap-1",n?"shadow-xl ring-1 ring-[var(--nav-floating-border,hsl(var(--foreground)/10%))]":"shadow-none ring-0"),children:[(0,a.jsx)("div",{className:"md:hidden",children:(0,a.jsx)(x.Z6,{value:p,children:e=>(0,a.jsx)(x.Z6,{value:f,children:t=>(0,a.jsx)(U,{accountLabel:Y,links:e,logo:W(t),user:en})})})}),(0,a.jsxs)("div",{className:(0,r.$)("flex shrink-0 items-center justify-start self-stretch","center"===F?"flex-1":"flex-1 2xs:flex-none"),children:[(0,a.jsx)(u.g,{className:(0,r.$)(null!=y?"hidden 2xs:flex":"flex"),height:w,href:g,label:b,logo:f,showSubLogo:A,subLogo:C,subLogoHeight:P,subLogoWidth:L,width:j}),null!=y&&(0,a.jsx)(u.g,{className:"flex 2xs:hidden",height:k,href:g,imageClassName:"w-[90px] xxs:w-[100px] xs:w-[150px] md:w-[275px]",label:b,logo:y,width:N})]}),(0,a.jsx)("div",{className:"flex flex-1 @6xl:hidden"}),(0,a.jsx)("div",{className:(0,r.$)("hidden @6xl:flex @6xl:flex-1",{left:"@6xl:justify-start",center:"@6xl:justify-center",right:"@6xl:justify-end"}[F]),children:(0,a.jsx)(o.B8,{className:"flex",children:(0,a.jsx)(x.Z6,{fallback:(0,a.jsxs)("li",{className:"flex min-h-[41px] animate-pulse flex-row items-center gap-6 p-2.5",children:[(0,a.jsx)("span",{className:"block h-4 w-10 rounded-md bg-contrast-100"}),(0,a.jsx)("span",{className:"block h-4 w-14 rounded-md bg-contrast-100"}),(0,a.jsx)("span",{className:"block h-4 w-24 rounded-md bg-contrast-100"}),(0,a.jsx)("span",{className:"block h-4 w-16 rounded-md bg-contrast-100"})]}),value:p,children:e=>e.map((e,t)=>{var l;let s=t.toString(),r=null!=e.groups&&e.groups.length>0,n=ee===s;return(0,a.jsxs)(o.q7,{className:"relative",value:s,children:[r?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.l9,{asChild:!0,onKeyDown:e=>{if(r){if("Escape"===e.key&&n){e.preventDefault(),et("");return}if("Enter"===e.key||" "===e.key){e.preventDefault(),et(n?"":s);return}"ArrowDown"!==e.key||n||(e.preventDefault(),et(s),requestAnimationFrame(()=>{requestAnimationFrame(()=>(e=>{if(!(e instanceof HTMLElement))return;let t=e.getAttribute("aria-controls"),l=t?document.getElementById(t):null,a=null==l?void 0:l.querySelector('a[href]:not([disabled]), button:not([disabled]), [tabindex]:not
1([tabindex="-1"])');null==a||a.focus()})(e.currentTarget))}))}},children:e.href?(0,a.jsx)(_.Link,{className:H,href:e.href,children:e.label}):(0,a.jsx)("span",{className:H,role:"button",tabIndex:0,children:e.label})}),(0,a.jsx)(o.UC,{className:"perspective-[2000px] absolute left-0 top-full z-50 flex justify-center",children:(0,a.jsx)("div",{className:"perspective-[2000px] relative left-0 top-full z-50 mt-2 flex w-full justify-center bg-[var(--nav-menu-background,hsl(var(--background)))] shadow-xl ring-1 ring-[var(--nav-menu-border,hsl(var(--foreground)/5%))] data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",children:(0,a.jsx)("div",{className:"m-auto w-full max-w-screen-lg px-[70px] py-8",children:null==(l=e.groups)?void 0:l.map((e,t)=>(0,a.jsxs)("ul",{className:"flex flex-col",children:[null!=e.label&&""!==e.label&&(0,a.jsx)("li",{children:null!=e.href&&""!==e.href?(0,a.jsx)(o.N_,{asChild:!0,children:(0,a.jsx)(_.Link,{className:O,href:e.href,children:e.label})}):(0,a.jsx)("span",{className:O,children:e.label})}),e.links.map((e,t)=>(0,a.jsx)("li",{children:(0,a.jsx)(o.N_,{asChild:!0,children:(0,a.jsx)(_.Link,{className:"block rounded-lg bg-[var(--nav-sub-link-background,transparent)] px-3 py-1.5 font-[family-name:var(--nav-sub-link-font-family,var(--font-family-body))] text-sm font-medium text-[var(--nav-sub-link-text,hsl(var(--contrast-500)))] ring-[var(--nav-focus,hsl(var(--primary)))] transition-colors hover:bg-[var(--nav-sub-link-background-hover,hsl(var(--contrast-100)))] hover:text-[var(--nav-sub-link-text-hover,hsl(var(--foreground)))] focus-visible:outline-0 focus-visible:ring-2",href:e.href,children:e.label})})},t))]},t))})})})]}):null,!r&&e.href?(0,a.jsx)(o.N_,{asChild:!0,children:(0,a.jsx)(_.Link,{className:H,href:e.href,children:e.label})}):null,r||e.href?null:(0,a.jsx)("span",{className:H,children:e.label})]},t)})})})}),(0,a.jsx)("div",{className:"flex items-center justify-center gap-0 @3xl:gap-4 xxs:gap-0.5 xs:gap-1 md:gap-2",children:(0,a.jsx)($,{isLogin:er})}),(0,a.jsxs)("div",{className:(0,r.$)("flex flex-none items-center justify-end gap-0 transition-colors duration-300 xxs:gap-0.5 md:gap-1","center"===F?"flex-1":"flex-1 @4xl:flex-none"),children:[J?(0,a.jsxs)(c.bL,{onOpenChange:ea,open:el,children:[(0,a.jsx)(c.Mz,{className:"absolute left-0 right-0 top-full"}),(0,a.jsx)(c.l9,{asChild:!0,children:(0,a.jsx)("button",{"aria-label":V,className:B,onPointerEnter:e=>e.preventDefault(),onPointerLeave:e=>e.preventDefault(),onPointerMove:e=>e.preventDefault(),children:(0,a.jsx)(v.vj,{className:"h-5 w-5 md:h-[22px] md:w-[22px]",height:12,width:12})})}),(0,a.jsx)(c.ZL,{children:(0,a.jsx)(c.UC,{className:"z-[999] max-h-[calc(var(--radix-popover-content-available-height)-16px)] w-[100vw] @container data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",children:(0,a.jsx)("div",{className:"flex max-h-[calc(100vh-80px)] w-full flex-col overflow-y-auto overflow-x-hidden bg-[var(--nav-search-background,hsl(var(--background)))] px-4 pb-12 shadow-xl ring-1 ring-[var(--nav-search-border,hsl(var(--foreground)/5%))] transition-all duration-200 ease-in-out @4xl:inset-x-0 md:px-10 lg:px-12",children:(0,a.jsxs)("div",{className:"relative grid gap-8 pb-[56px] pt-[56px] 2xl:container 2xl:mx-auto",children:[(0,a.jsx)(c.bm,{asChild:!0,children:(0,a.jsx)("div",{className:"absolute right-8 top-0 h-8 w-8 justify-self-end border-0 bg-transparent p-0 text-black hover:bg-transparent hover:text-primary focus-visible:text-primary focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-primary/20 peer-hover:text-primary peer-focus-visible:text-primary md:h-8 md:w-8",children:(0,a.jsx)(h.$,{className:"h-8 w-8 justify-self-end border-0 bg-transparent p-0 text-black hover:bg-transparent hover:text-primary focus-visible:text-primary focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-primary/20 peer-hover:text-primary peer-focus-visible:text-primary md:h-8 md:w-8",variant:"ghost",children:(0,a.jsx)(v.bm,{})})})}),(0,a.jsx)(S,{})]})})})})]}):(0,a.jsx)(_.Link,{"aria-label":q,className:B,href:Z,children:(0,a.jsx)(v.vj,{className:"h-4 w-4 md:h-[22px] md:w-[22px]",height:18,width:18})}),(0,a.jsxs)("div",{className:"hidden items-center md:flex",children:[(0,a.jsx)("div",{className:"h-5 border-l-2 border-base"}
1),en&&er?(0,a.jsx)(E,{items:eh,trigger:(0,a.jsx)(h.$,{"aria-label":Y,className:B,size:"x-small",variant:"ghost",children:(0,a.jsx)(v.KJ,{className:"h-5 w-5 md:h-[22px] md:w-[22px]",height:12,width:12})})}):(0,a.jsx)(h.$,{"aria-label":Y,className:B,onClick:es,size:"x-small",variant:"ghost",children:(0,a.jsx)(v.KJ,{className:"h-5 w-5 md:h-[22px] md:w-[22px]",height:18,width:18})})]}),(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)("div",{className:"hidden h-5 border-l-2 border-base md:block"}),(0,a.jsxs)(_.Link,{"aria-label":T,className:B,href:i,children:[(0,a.jsx)(v.Z3,{className:"h-5 w-5 md:h-[22px] md:w-[22px]",height:12,width:12}),(0,a.jsx)(x.Z6,{fallback:(0,a.jsx)("span",{className:"absolute -right-0.5 -top-0.5 flex h-4 w-4 animate-pulse items-center justify-center rounded-full bg-contrast-100 text-xs text-background"}),value:m,children:e=>null!=e&&e>0&&(0,a.jsx)("span",{className:"absolute -right-0.5 -top-0.5 flex h-4 w-4 items-center justify-center rounded-full bg-[var(--nav-cart-count-background,hsl(var(--foreground)))] font-[family-name:var(--nav-cart-count-font-family,var(--font-family-body))] text-xs text-[var(--nav-cart-count-text,hsl(var(--background)))]",children:e})})]})]})]}),(0,a.jsx)("div",{className:"hidden md:block",children:(0,a.jsx)(x.Z6,{value:p,children:e=>(0,a.jsx)(x.Z6,{value:f,children:t=>(0,a.jsx)(U,{accountLabel:Y,links:e,logo:W(t),user:en})})})})]})})});Z.displayName="Navigation";let J=(0,s.forwardRef)((e,t)=>{let{navigation:l,banner:r}=e,[n,o]=(0,s.useState)(null),[c,d]=(0,s.useState)(0),[x,h]=(0,s.use
1State)(!1);return(0,s.useEffect)(()=>{if(!n)return;let e=new ResizeObserver(e=>{for(let t of e)d(t.contentRect.height)});return e.observe(n),()=>{e.disconnect()}},[n]),(0,a.jsxs)("div",{ref:t,children:[r&&(0,a.jsx)(i,{ref:o,...r}),(0,a.jsx)("div",{className:"fixed z-[999] h-[52px] w-full bg-[#fff] xs:h-[56px] md:h-[64px] lg:h-[80px]",children:(0,a.jsx)(Z,{...l,className:"h-full",isFloating:x})}),(0,a.jsx)("div",{className:"h-[52px] xs:h-[56px] md:h-[64px] lg:h-[80px]"})]})});J.displayName="HeaderSection";let T=(0,s.createContext)({navigation:{accountHref:"",cartHref:"",searchHref:"",links:[]}}),Y=e=>{let{value:t,children:l}=e;return(0,a.jsx)(T.Provider,{value:t,children:l})},V=(0,s.forwardRef)((e,t)=>{var l,r,n,i,o,c,d;let{banner:x,links:h,logo:u,linksPosition:m}=e,{navigation:p,banner:f}=(0,s.useContext)(T),g=x.show?{...f,id:x.id,hideDismiss:!x.allowClose,children:null!=(o=x.children)?o:null==f?void 0:f.children}:void 0;return(0,a.jsx)(J,{banner:g,navigation:{...p,links:(p.links,[...h.map(e=>{let{label:t,link:l,groups:a}=e;return{label:t,href:l.href,groups:a.map(e=>({label:e.label,href:e.link.href,links:e.links.map(e=>({label:e.label,href:e.link.href}))}))}})]),logo:u.desktop.src?{src:u.desktop.src,alt:u.desktop.alt}:p.logo,logoWidth:u.desktop.width,logoHeight:u.desktop.height,mobileLogo:u.mobile.src?{src:u.mobile.src,alt:u.mobile.alt}:p.mobileLogo,mobileLogoWidth:u.mobile.width,mobileLogoHeight:u.mobile.height,subLogo:(null==(l=u.subLogo)?void 0:l.src)?{src:u.subLogo.src,alt:u.subLogo.alt}:p.subLogo,subLogoWidth:null==(r=u.subLogo)?void 0:r.width,subLogoHeight:null==(n=u.subLogo)?void 0:n.height,showSubLogo:null!=(c=u.showSubLogo)?c:p.showSubLogo,linksPosition:m,logoHref:null!=(d=null==(i=u.link)?void 0:i.href)?d:p.logoHref},ref:t})})},55976:(e,t,l)=>{l.d(t,{GD:()=>a.useLoginModal,oi:()=>a.LoginModalProvider});var a=l(57465);l(72014)},57465:(e,t,l)=>{l.d(t,{LoginModalProvider:()=>i,useLoginModal:()=>o});var a=l(38875),s=l(18123),r=l(72014);let n=(0,s.createContext)(null),i=e=>{let{children:t}=e,[l,i]=(0,s.useState)(!1);return(0,a.jsxs)(n.Provider,{value:{open:()=>i(!0),close:()=>i(!1),isOpen:l},children:[t,(0,a.jsx)(r.LoginModal,{isOpen:l,onOpenChange:i})]})},o=()=>{let e=(0,s.useContext)(n);if(!e)throw Error("useLoginModal must be used within a LoginModalProvider");return e}},59476:(e,t,l)=>{l.d(t,{w:()=>s});var a=l(28794);let s=(0,a.createServerReference)("7f01dc77e7398a4797c0e95788f25cffd05b451950",a.callServer,void 0,a.findSourceMapURL,"revalidateCart")},66818:(e,t,l)=>{l.d(t,{a:()=>o});var a=l(38875),s=l(75037),r=l(71911),n=l(89661),i=l(89172);let o=e=>{let{className:t="",childrenClassName:l="",isOpen:o,setOpen:c,title:d,description:x,trigger:h,children:u,required:m=!1,hideHeader:p=!1,closeOnClickOutside:f=!0,titleClassname:g="",headerClassName:v=""}=e,b=m||!f,j=null!=x?x:d;return(0,a.jsxs)(s.bL,{onOpenChange:c,open:o,children:[null!=h&&(0,a.jsx)(s.l9,{asChild:!0,children:h}),(0,a.jsx)(s.ZL,{children:(0,a.jsx)(s.hJ,{className:"data-[state=open]:animate-overlayShow fixed inset-0 z-[1000] bg-black/[.2] z-[9999]",children:(0,a.jsx)(s.UC,{className:(0,i.cn)("data-[state=open]:animate-contentShow fixed left-[50%] top-[50%] z-[1001] flex max-h-[90vh] w-full translate-x-[-50%] translate-y-[-50%] flex-col overflow-hidden bg-white shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px] focus:outline-none sm:w-8/12 md:w-3/4 lg:w-2/3 xl:w-1/2",t),onEscapeKeyDown:m?e=>e.preventDefault():void 0,onInteractOutside:b?e=>e.preventDefault():void 0,onPointerDownOutside:b?e=>e.preventDefault():void 0,children:(0,a.jsxs)("div",{className:"flex flex-col overflow-y-auto",children:[p?null:(0,a.jsxs)("div",{className:(0,i.cn)("mb-5 flex min-h-10 shrink-0 flex-row items-center border-b border-b-contrast-200 py-3 pl-5",v),children:[(0,a.jsx)(s.hE,{asChild:!0,children:(0,a.jsx)("h1",{className:(0,i.cn)("mb-0 flex-1 pr-4 text-base font-semibold leading-none",g),children:d})}),(0,a.jsx)(s.VY,{className:"sr-only",children:j}),!m&&(0,a.jsx)("div",{className:"flex items-center justify-center pr-3",children:(0,a.jsx)(s.bm,{asChild:!0,children:(0,a.jsx)(n.$,{shape:"circle",size:"x-small",variant:"ghost",children:(0,a.jsx)(r.A,{size:20})})})})]}),(0,a.jsx)("div",{className:(0,i.cn)("min-h-0 flex-1 overflow-y-auto px-6 py-6",l),children:u})]})})})})]})}},67911:(e,t,l)=>{l.d(t,{S:()=>i,Y:()=>n});var a=l(38875),s=l(18123);let r=(0,s.createContext)(void 0),n=e=>{let{children:t}
1=e,[l,n]=(0,s.useState)(!1);return(0,a.jsx)(r.Provider,{value:{isSearchOpen:l,setIsSearchOpen:n},children:t})},i=()=>{let e=(0,s.useContext)(r);if(void 0===e)throw Error("useSearch must be used within a SearchProvider");return e}},70140:(e,t,l)=>{l.d(t,{j:()=>s});var a=l(59476);let s=e=>{(0,a.w)().then(()=>{e.refresh()})}},72014:(e,t,l)=>{l.d(t,{LoginModal:()=>h});var a=l(38875),s=l(75037),r=l(71911),n=l(89661),i=l(95476),o=l(93358),c=l(14715),d=l(66818);let x={src:"/_next/static/media/login-bg.2c7ff8ad.png"},h=e=>{let{isOpen:t,onOpenChange:l}=e;return(0,a.jsx)(d.a,{className:"z-[999] h-auto w-full rounded-[50px] bg-[#FCFCFC] md:w-[600px] lg:w-[800px] xl:w-[800px]",hideHeader:!0,isOpen:t,setOpen:l,title:"Login to Your Account",children:(0,a.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,a.jsxs)("div",{className:"relative flex w-full max-w-[800px] flex-col items-center justify-center gap-2 overflow-hidden rounded-[25px] bg-cover bg-[50%_70%] bg-no-repeat py-4 lg:h-[257px] lg:py-[33.74px]",style:{backgroundImage:"url(".concat(x.src,")")},children:[(0,a.jsx)("div",{className:"absolute right-4 top-4 z-20",children:(0,a.jsx)(s.bm,{asChild:!0,children:(0,a.jsx)(n.$,{className:"w-min p-2 xs:p-2 md:p-2 lg:p-2",type:"button",variant:"subtle",children:(0,a.jsx)(r.A,{role:"presentation",children:(0,a.jsx)("title",{children:"Close"})})})})}),(0,a.jsx)("div",{className:"absolute inset-0 rounded-[25px] bg-[rgba(0,0,0,0.32)]"}),(0,a.jsxs)("div",{className:"relative z-10 flex flex-col items-center justify-center gap-2",children:[(0,a.jsx)("h2",{className:"md:h2 mb-0 font-dm text-3xl font-normal leading-[100%] tracking-[-0.04em] text-white",style:{textShadow:"0 4px 4px rgba(0, 0, 0, 0.2)"},children:"Log In to"}),(0,a.jsx)("h2",{className:"md:h2 mb-0 font-dm text-3xl font-bold leading-[100%] tracking-[-0.04em] text-white",style:{textShadow:"0 4px 4px rgba(0, 0, 0, 0.2)"},children:"Your Account"})]}),(0,a.jsx)(i.S5,{className:"relative z-10 mt-0 h-7 w-7 md:mt-4 md:h-9 md:w-9"})]}),(0,a.jsxs)("div",{className:"flex w-full flex-col items-center justify-center gap-4 lg:flex-row",children:[(0,a.jsx)(c.Link,{className:"w-full flex-1",href:"https://classic.vetprep.com/simboards/appv2/login.jsp",onClick:()=>{l(!1)},children:(0,a.jsxs)("div",{className:"flex h-full max-h-[385px] flex-1 flex-row items-center justify-between gap-3 overflow-hidden rounded-[25px] bg-[#348DBD] p-4 lg:w-full lg:flex-col lg:justify-center lg:gap-0 lg:p-5",children:[(0,a.jsx)(i.l5,{className:"h-8 w-8 shrink-0 text-white xs:h-10 xs:w-10 md:h-[50px] md:w-[50px] lg:hidden"}),(0,a.jsxs)("div",{className:"flex flex-1 flex-col gap-1 text-left lg:w-full lg:items-center lg:justify-center lg:gap-10",children:[(0,a.jsx)("p",{className:"hidden w-full max-w-[389px] items-center justify-center rounded-[15px] bg-white py-1 text-center font-dm text-sm font-medium leading-[100%] tracking-[0.02em] text-black opacity-0 lg:flex",children:"PURCHASED BEFORE DECEMBER 15, 2025"}),(0,a.jsxs)("div",{className:"flex items-center gap-2 lg:justify-center",children:[(0,a.jsx)("h3",{className:"mb-0 font-dm text-lg font-bold leading-[100%] tracking-[0em] text-white sm:text-xl md:text-2xl lg:text-3xl",children:"VetPrep"}),(0,a.jsx)("h3",{className:"mb-0 font-dm text-lg font-normal leading-[100%] tracking-[0em] text-white sm:text-xl md:text-2xl lg:text-3xl",children:"Classic"})]}),(0,a.jsx)("p",{className:"hidden text-left text-[10px] leading-tight text-white/90 xs:text-xs md:text-sm lg:hidden",children:"PURCHASED BEFORE DECEMBER 15, 2025"}),(0,a.jsx)("div",{className:"hidden h-[48px] w-full max-w-[389px] items-center justify-center rounded-[15px] bg-[#2A7197] text-center font-dm text-2xl font-normal leading-[100%] tracking-[-0.02em] text-white lg:flex",children:"Log In to VetPrep Classic"})]}),(0,a.jsx)("div",{className:"shrink-0 rounded-[4px] bg-white px-3 py-1.5 text-sm font-medium text-[#751B39] md:text-[16px] lg:hidden",children:(0,a.jsx)("span",{children:"Login"})})]})}),(0,a.jsx)(c.Link,{className:"w-full flex-1",href:"/",onClick:e=>{e.preventDefault(),e.stopPropagation(),(0,o.i)("/account/my-products"),l(!1)},children:(0,a.jsxs)("div",{className:"flex h-full max-h-[385px] w-full flex-1 flex-row items-center justify-between gap-3 overflow-hidden rounded-[25px] bg-[#022146] p-4 lg:w-full lg:flex-col lg:justify-center lg:gap-0 lg:p-5",children:[(0,a.jsx)(i.l5,{className:"h-8 w-8 shrink-0 text-white xs:h-10 xs:w-10 md:h-[50px] md:w-[50px] lg:hidden"}),(0,a.jsxs)("div",{className:"flex flex-1 flex-col gap-1 text-left lg:w-full lg:items-center lg:justify-center lg:gap-10",children:[(0,a.jsx)("p",{className:"hidden w-full max-w-[389px] items-center justify-center rounded-[15p
1x] bg-white py-1 text-center font-dm text-sm font-medium leading-[100%] tracking-[0.02em] text-black lg:flex",children:"Purchased between December 15, 2025 and February 2, 2026 or after June 23rd, 2026"}),(0,a.jsxs)("div",{className:"flex items-center gap-2 lg:justify-center",children:[(0,a.jsx)("h3",{className:"mb-0 font-dm text-lg font-bold leading-[100%] tracking-[0em] text-white sm:text-xl md:text-2xl lg:text-3xl",children:"VetPrep"}),(0,a.jsx)("h3",{className:"mb-0 font-dm text-lg font-normal leading-[100%] tracking-[0em] text-white sm:text-xl md:text-2xl lg:text-3xl",children:"New"})]}),(0,a.jsx)("p",{className:"text-left text-[10px] leading-tight text-white/90 xs:text-xs md:text-sm lg:hidden",children:"Purchased between December 15, 2025 and February 2, 2026 or after June 23rd, 2026"}),(0,a.jsx)("div",{className:"hidden h-[48px] w-full max-w-[389px] items-center justify-center rounded-[15px] bg-[#0064DC] text-center font-dm text-2xl font-normal leading-[100%] tracking-[-0.02em] text-white lg:flex",children:"Log In to VetPrep New"})]}),(0,a.jsx)("div",{className:"shrink-0 rounded-[4px] bg-white px-3 py-1.5 text-sm font-medium text-[#022146] md:text-[16px] lg:hidden",children:(0,a.jsx)("span",{children:"Login"})})]})})]}),(0,a.jsxs)("p",{className:"text-center text-sm md:text-[16px]",children:["Don’t have an account?"," ",(0,a.jsx)(c.Link,{className:"mx-auto w-full max-w-[200px] text-blue underline",href:"/login/register-customer",onClick:()=>{l(!1)},children:"Click here to register"})]}),(0,a.jsx)(c.Link,{className:"mx-auto w-full max-w-[200px]",href:"/login-learn-more",onClick:()=>{l(!1)},children:(0,a.jsx)(n.$,{className:"h-max w-full bg-transparent px-0 py-4 font-sans text-2xl font-semibold leading-[100%] tracking-[0px] text-orange hover:bg-transparent xs:px-0 md:h-[40px] md:w-full md:py-6 lg:rounded-2xl lg:py-6",variant:"primary",children:"Learn More"})})]})})}},83743:(e,t,l)=>{l.d(t,{RE:()=>d,Z6:()=>u,aI:()=>x});var a=l(38875),s=l(59304),r=l(18123),n=l(30801);let i=function(){let e=new WeakMap;return{get:t=>null!=t&&"object"==typeof t?function(t){let l=e.get(t);if(void 0!==l)return l;let a=(0,n.A)();return e.set(t,a),a}(t):JSON.stringify(t)}}(),o=function(){let e=new Map,t=new FinalizationRegistry(t=>{let l=e.get(t);l&&!l.deref()&&e.delete(t)});return{get:t=>{var l;return null==(l=e.get(t))?void 0:l.deref()},set:(l,a)=>{e.set(l,new WeakRef(a)),t.register(a,l)}}}();function c(e){return e instanceof Promise}let d={all:function(e){if(!e.some(c))return e;let t=e.map(i.get).join("."),l=o.get(t);if(null!=l)return l;let a=Promise.all(e);return o.set(t,a),a},from:function(e){return s.A.from(e)}};function x(e){return c(e)?(0,r.use)(e):e}function h(e){let{value:t,children:l}=e;return l(x(t))}function u(e){let{value:t,fallback:l,children:s}=e;return(0,a.jsx)(r.Suspense,{fallback:l,children:(0,a.jsx)(h,{value:t,children:s})})}},93358:(e,t,l)=>{l.d(t,{i:()=>s});var a=l(28794);let s=(0,a.createServerReference)("7f71e86cebb995b8b84548f36d89359c8f90326d67",a.callServer,void 0,a.findSourceMapURL,"login")}}]);

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.