1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7836],{61362:function(e,t,a){"use strict";a.d(t,{k:function(){return s},o:function(){return i}});var n=a(62083),r=a(84573);class s{static saveCampaignData(e,t){try{if(window.sessionStorage){let a="".concat(this.CAMPAIGN_PREFIX).concat(e);sessionStorage.setItem(a,JSON.stringify(t)),sessionStorage.setItem(this.CURRENT_CAMPAIGN_KEY,e)}}catch(t){(0,n.H)({eventCategory:r.i.API_ERROR,eventItem:r.Q.SAVE_TO_SESSION_STORAGE,functionName:"saveCampaignData",message:"[CampaignSessionManager] Error saving campaign data to session storage",details:{campaignId:e,error:t instanceof Error?{name:t.name,message:t.message,stack:t.stack}:t,timestamp:new Date().toISOString()}})}}static getCampaignData(e){try{if(window.sessionStorage){let t="".concat(this.CAMPAIGN_PREFIX).concat(e),a=sessionStorage.getItem(t);return a?JSON.parse(a):null}return null}catch(t){return(0,n.H)({eventCategory:r.i.API_ERROR,eventItem:r.Q.LOAD_FROM_SESSION_STORAGE,functionName:"getCampaignData",message:"[CampaignSessionManager] Error loading campaign data from session storage",details:{campaignId:e,error:t instanceof Error?{name:t.name,message:t.message,stack:t.stack}:t,timestamp:new Date().toISOString()}}),null}}static getCurrentCampaignId(){try{if(window.sessionStorage)return sessionStorage.getItem(this.CURRENT_CAMPAIGN_KEY);return null}catch(e){return(0,n.H)({eventCategory:r.i.API_ERROR,eventItem:r.Q.LOAD_FROM_SESSION_STORAGE,functionName:"getCurrentCampaignId",message:"[CampaignSessionManager] Error getting current campaign ID",details:{error:e instanceof Error?{name:e.name,message:e.message,stack:e.stack}:e,timestamp:new Date().toISOString()}}),null}}static saveStepData(e,t,a){try{if(window.sessionStorage){let n={...this.getCampaignData(e)||{},["step".concat(t)]:a};this.saveCampaignData(e,n)}}catch(a){(0,n.H)({eventCategory:r.i.API_ERROR,eventItem:r.Q.SAVE_TO_SESSION_STORAGE,functionName:"saveStepData",message:"[CampaignSessionManager] Error saving step data",details:{campaignId:e,step:t,error:a instanceof Error?{name:a.name,message:a.message,stack:a.stack}:a,timestamp:new Date().toISOString()}})}}static saveCampaignState(e,t){try{if(window.sessionStorage){let a={...this.getCampaignData(e)||{},state:t};this.saveCampaignData(e,a)}}catch(a){(0,n.H)({eventCategory:r.i.API_ERROR,eventItem:r.Q.SAVE_TO_SESSION_STORAGE,functionName:"saveCampaignState",message:"[CampaignSessionManager] Error saving campaign state",details:{campaignId:e,state:t,error:a instanceof Error?{name:a.name,message:a.message,stack:a.stack}:a,timestamp:new Date().toISOString()}})}}static getCampaignState(e){try{if(window.sessionStorage){let t=this.getCampaignData(e);return(null==t?void 0:t.state)||null}return null}catch(t){return(0,n.H)({eventCategory:r.i.API_ERROR,eventItem:r.Q.LOAD_FROM_SESSION_STORAGE,functionName:"getCampaignState",message:"[CampaignSessionManager] Error getting campaign state",details:{campaignId:e,error:t instanceof Error?{name:t.name,message:t.message,stack:t.stack}:t,timestamp:new Date().toISOString()}}),null}}static removeCampaignData(e){this.clearCampaignSession(e)}static mergeCampaignData(e,t){try{let a={...this.getCampaignData(e)||{},...t};return this.saveCampaignData(e,a),a}catch(t){return(0,n.H)({eventCategory:r.i.API_ERROR,eventItem:r.Q.SAVE_TO_SESSION_STORAGE,functionName:"mergeCampaignData",message:"[CampaignSessionManager] Error merging campaign data",details:{campaignId:e,error:t instanceof Error?{name:t.name,message:t.message,stack:t.stack}:t,timestamp:new Date().toISOString()}}),null}}static clearCampaignSession(e){try{if(window.sessionStorage){let t="".concat(this.CAMPAIGN_PREFIX).concat(e);sessionStorage.removeItem(t),sessionStorage.getItem(this.CURRENT_CAMPAIGN_KEY)===e&&sessionStorage.removeItem(this.CURRENT_CAMPAIGN_KEY)}}catch(t){(0,n.H)({eventCategory:r.i.API_ERROR,functionName:"clearCampaignSession",message:"[CampaignSessionManager] Error clearing campaign session",details:{campaignId:e,error:t instanceof Error?{name:t.name,message:t.message,stack:t.stack}:t,timestamp:new Date().toISOString()}})}}static clearAllCampaignSessions(){try{window.sessionStorage&&Object.keys(sessionStorage).filter(e=>e.startsWith(this.CAMPAIGN_PREFIX)||e===this.CURRENT_CAMPAIGN_KEY).forEach(e
1=>sessionStorage.removeItem(e))}catch(e){(0,n.H)({eventCategory:r.i.API_ERROR,functionName:"clearAllCampaignSessions",message:"[CampaignSessionManager] Error clearing all campaign sessions",details:{error:e instanceof Error?{name:e.name,message:e.message,stack:e.stack}:e,timestamp:new Date().toISOString()}})}}static hasCampaignSession(e){try{if(window.sessionStorage){let t="".concat(this.CAMPAIGN_PREFIX).concat(e);return null!==sessionStorage.getItem(t)}return!1}catch(t){return(0,n.H)({eventCategory:r.i.API_ERROR,functionName:"hasCampaignSession",message:"[CampaignSessionManager] Error checking campaign session",details:{campaignId:e,error:t instanceof Error?{name:t.name,message:t.message,stack:t.stack}:t,timestamp:new Date().toISOString()}}),!1}}static getAllCampaignData(e){let t=this.getCampaignData(e);return{state:(null==t?void 0:t.state)||null,step1:(null==t?void 0:t.step1)||null,step2:(null==t?void 0:t.step2)||null}}static saveStepDataLegacy(e,t){let a=this.getCurrentCampaignId();a&&this.saveStepData(a,e,t)}static clearSession(){let e=this.getCurrentCampaignId();e&&this.clearCampaignSession(e)}}s.CAMPAIGN_PREFIX="campaign_",s.CURRENT_CAMPAIGN_KEY="current_campaign_id";let i=s.mergeCampaignData.bind(s)},97055:function(e,t,a){"use strict";a.d(t,{B:function(){return n}});class n{static getInstance(){return n.instance||(n.instance=new n),n.instance}getCurrentState(){return this.currentState}setState(e){this.currentState=e}hasCampaign(){var e;return(null===(e=this.currentState)||void 0===e?void 0:e.id)!==void 0}createCampaign(e){let t={id:e,state:"DRAFT",lastModified:new Date};return this.setState(t),t}updateState(e){return this.currentState?(this.currentState={...this.currentState,...e,lastModified:new Date},this.currentState):null}activateCampaign(){return!!this.currentState&&"DRAFT"===this.currentState.state&&(this.updateState({state:"PREVIEW"}),!0)}clearState(){this.currentState=null}constructor(){this.currentState=null}}},87836:function(e,t,a){"use strict";a.d(t,{default:function(){return eb}});var n=a(57437),r=a(2265),s=a(87138),i=a(42938),o=a(16463),l=a(12477),c=a(86134),d=a.n(c),u=a(16299),m=a(62083),p=a(84573),g=a(61362),f=a(97055),h=a(18779),x=a(2376),b=a(13027),v=a(42421),_=a(37440);let N=r.forwardRef((e,t)=>{let{className:a,children:r,...s}=e;return(0,n.jsxs)(x.fC,{ref:t,className:(0,_.cn)("relative z-10 flex max-w-max flex-1 items-center justify-center",a),...s,children:[r,(0,n.jsx)(S,{})]})});N.displayName=x.fC.displayName;let y=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,n.jsx)(x.aV,{ref:t,className:(0,_.cn)("group flex flex-1 list-none items-center justify-center space-x-1",a),...r})});y.displayName=x.aV.displayName;let w=x.ck,j=(0,b.j)("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[state=open]:text-accent-foreground data-[state=open]:bg-accent/50 data-[state=open]:hover:bg-accent data-[state=open]:focus:bg-accent");r.forwardRef((e,t)=>{let{className:a,children:r,...s}=e;return(0,n.jsxs)(x.xz,{ref:t,className:(0,_.cn)(j(),"group",a),...s,children:[r," ",(0,n.jsx)(v.Z,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]})}).displayName=x.xz.displayName,r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,n.jsx)(x.VY,{ref:t,className:(0,_.cn)("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",a),...r})}).displayName=x.VY.displayName;let C=x.rU,S=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,n.jsx)("div",{className:(0,_.cn)("absolute left-0 top-full flex justify-center"),children:(0,n.jsx)(x.l_,{className:(0,_.cn)("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",a),ref:t,...r})})});S.displayName=x.l_.displayName,r.forwardRef((e,t)=>
1{let{className:a,...r}=e;return(0,n.jsx)(x.z$,{ref:t,className:(0,_.cn)("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",a),...r,children:(0,n.jsx)("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})})}).displayName=x.z$.displayName;var E=a(46910),k=a(95317),R=a(12547),I=a(64590),O=a(55430),T=a(62030),A=a(59333),L=a(85302),D=a(6540),M=a(94499),Z=a(20500),H=a(21902),P=a(37779),U=a(87385),G=a(93409),z=a(94207),V=a(50993),B=a(56143),F=a(11240),Q=a(14218),Y=a(36198),W=a(46143),q=a(27716),K=a(34567),J=a(58948),X=a(98094),$=a(22023),ee=a(4086),et=a(86162),ea=a(24258),en=a(88592),er=a(61492),es=a(92496),ei=a(33907),eo=a(89896);let el={logoAlt:"ZipTier",loginButtonText:"Signup / Login",ctaButtonText:"Book a Call",avatarIconText:"\uD83D\uDC64",logoutButtonText:"Log Out"},ec=[{href:"/why-ziptier",label:"Why ZipTier",hideForAuthenticated:!0},{href:"/pricing",label:"Pricing"},{href:"/campaigns",label:"My Campaigns",authRequired:!0},{href:"/dashboard",label:"Dashboard",authRequired:!0}],ed=["bg-gradient-to-br from-blue-100 to-blue-200","bg-gradient-to-br from-purple-100 to-purple-200","bg-gradient-to-br from-sky-100 to-sky-200","bg-gradient-to-br from-indigo-100 to-indigo-200","bg-gradient-to-br from-violet-100 to-violet-200","bg-gradient-to-br from-blue-200 to-blue-300","bg-gradient-to-br from-indigo-200 to-indigo-300","bg-gradient-to-br from-purple-200 to-purple-300","bg-gradient-to-br from-rose-100 to-rose-200"],eu={categories:[{id:"use-cases",label:"Use Cases",icon:I.Z,description:"Marketing channels",colorClass:"bg-gradient-to-br from-blue-100 to-blue-200"},{id:"features",label:"Features",icon:O.Z,description:"Platform capabilities",colorClass:"bg-gradient-to-br from-sky-100 to-sky-200"},{id:"solutions",label:"Solutions",icon:T.Z,description:"By industry",colorClass:"bg-gradient-to-br from-violet-100 to-violet-200"}],panels:{"use-cases":{title:"Use Cases",description:"Deploy ZipTier AI across your marketing channels",items:[{href:"/products/marketing-events",label:"Marketing Events",icon:A.Z,description:"AI support for your prospects and customers at field events.",external:!0},{href:"/products/digital-assets",label:"Digital Assets",icon:L.Z,description:"Boost conversions on your product and company websites with embedded AI.",external:!0},{href:"/products/education-training",label:"Education & Training",icon:D.Z,description:"AI-assisted learning in workshops, seminars, and webinars.",external:!0},{href:"/products/flagship-events",label:"Flagship Events",icon:M.Z,description:"24x7 AI support for attendees at conferences and product launches.",external:!0}]},features:{title:"Features",description:"Powerful capabilities to drive engagement and conversions",items:[{href:"/products/features#ai-assistant",label:"Just-In-Time AI Assistant",icon:O.Z,description:"Launch branded AI assistants in minutes",external:!0},{href:"/products/features#responsible-ai",label:"Trustworthy AI",icon:Z.Z,description:"Accurate, responsible AI with enterprise-grade protection",external:!0},{href:"/products/features#lead-scoring",label:"Lead Scoring",icon:H.Z,description:"AI-powered qualification and intent detection",external:!0},{href:"/products/features#lead-alerts",label:"Instant Lead Alerts",icon:P.Z,description:"Email + CRM sync within 5 minutes of a lead scoring High",external:!0},{href:"/products/features#meeting-booking",label:"In-chat Meeting Booking",icon:U.Z,description:"Book meetings without leaving the chat",external:!0},{href:"/products/features#analytics",label:"Conversational Analytics",icon:G.Z,description:"Deep insights from every conversation",external:!0},{href:"/products/features#lead-activity",label:"Lead Activity Report",icon:z.Z,description:"Attribution and page-by-page journey for every lead",external:!0}],footer:{href:"/products/features",label:"and more"}},solutions:{title:"Solutions",description:"ZipTier tuned to how your industry buys",items:[{href:"/solutions/saas",label:"B2B SaaS",icon:V.Z,description:"Turn demo-page visitors into booked demos"},{href:"/solutions/agencies",label:"Agencies",icon:B.Z,description:"Capture leads for yourself and every client"},{href:"/solutions/staffing",label:"Staffing & Recruiting",icon:F.Z,description:"Qualify employers and candidates around the clock"},{href:"/solutions/professional-services",label:"Professional Services",icon:Q.Z,description:"Keep billable hours billable"},{href:"/solutions/training",label:"Education & Training",icon:Y.Z,description:"Turn course browsers into enrollments"},{href:"/solutions/msp",label:"IT Services & MSPs",icon:W.Z,description:"Turn midnight researchers into assessments"},{href:"/solutions/manufacturing",label:"Manufacturing",icon:q.Z,description:"Turn spec-sheet research into RFQs"}]}}},em=["bounce-rate-calculator","conversion-rate-calculator","chatbot-roi-calculator","marketing-roi-calculator","cac-calculator","utm-builder"].flatMap(e=>{let t=h._1.find(t=>t.slug===e);return t?[{href:"/free-tools/".concat(t.slug),label:t.navLabel,icon:t.icon,description:t.navDescription}]:[]}),ep={categories:[{id:"learning",label:"Learning",icon:D.Z,description:"Guides & support",colorClass:"bg-gradient-to-br from-sky-100 to-sky-200"},{id:"free-tools",label:"Marketer Tools",icon:K.Z,description:"Marketing calculators",colorClass:"bg-gradient-to-br from-emerald-100 to-emerald-200"},{id:"company",label:"Company",icon:M.Z,description:"About ZipTier",colorClass:"bg-gradient-to-br from-purple-100 to-purple-200"}],panels:{learning:{title:"Learning",description:"Resources to help you get the most from ZipTier",items:[{href:"/docs/introduction",label:"Documentation",icon:J.Z,description:"Browse articles, FAQs, and how-to guides",external:!0},{href:"/watch-demo/video",label:"Watch Demo",icon:X.Z,description:"See ZipTier in action with a guided walkthrough"},{href:"/blogs",label:"Blogs",icon:$.Z,description:"Insights on how AI Assistants are Redefining Customer Outreach",external:!0},{href:"/compare",label:"Compare ZipTier",icon:Q.Z,description:"See how ZipTier stacks up against Drift, Intercom, and other alternatives"}]}
1,"free-tools":{title:"Marketer Tools",description:"Free calculators and utilities for marketers â no sign-up required",items:em,footer:{href:"/free-tools",label:"View all 10 marketer tools"}},company:{title:"Company",description:"Learn more about ZipTier",items:[{href:"/about",label:"About Us",icon:F.Z,description:"Our mission and why we built ZipTier"},{href:"/contact",label:"Contact Us",icon:ee.Z,description:"Get in touch with our team"},{href:"/affiliate",label:"Affiliate Program",icon:et.Z,description:"Earn 30% recurring commission for life"}]}}},eg={categories:[eu.categories.find(e=>"solutions"===e.id)],panels:{solutions:eu.panels.solutions}},ef={categories:eu.categories.filter(e=>"solutions"!==e.id),panels:Object.fromEntries(Object.entries(eu.panels).filter(e=>{let[t]=e;return"solutions"!==t}))},eh=[{href:"/settings/user-profile",label:"Settings",icon:ea.Z},{href:"/settings/subscription-overview",label:"Subscription",icon:en.Z},{href:"/docs",label:"Learn More",icon:D.Z,external:!0},{href:"https://support.ziptier.ai/support/tickets/new",label:"Contact Support",icon:er.Z,external:!0}];function ex(){let[e,t]=(0,r.useState)(!1),a=(0,r.useRef)(!1),n=(0,r.useRef)(null);(0,r.useEffect)(()=>()=>{n.current&&clearTimeout(n.current)},[]);let s=()=>{n.current&&(clearTimeout(n.current),n.current=null)};return{isOpen:e,handleMouseEnter:()=>{s(),e||(a.current=!0,t(!0))},handleMouseLeave:()=>{n.current=setTimeout(()=>{a.current&&(t(!1),a.current=!1)},150)},handleTriggerClick:n=>{n.preventDefault(),s(),e||t(!0),a.current=!1},handleOpenChange:e=>{e?t(!0):a.current||t(!1)},close:()=>{s(),a.current=!1,t(!1)}}}function eb(e){let{variant:t="default",disableAuth:a=!1}=e,{user:c,isAuthenticated:h,isFullyAuthenticated:x,loading:b,refreshUser:_}=(0,l.A)(),j=!a&&"public"!==t,S=(0,o.useRouter)(),I=(0,o.usePathname)(),[O,T]=(0,r.useState)({isDropdownOpen:!1,mounted:!1,isMobileMenuOpen:!1,openDropdown:null,showAiTooltip:!1,aiTooltipAutoDisplayed:!1}),[A,L]=(0,r.useState)("use-cases"),[D,M]=(0,r.useState)("learning"),[Z,H]=(0,r.useState)("solutions"),[P,U]=(0,r.useState)(!1),G=ex(),z=ex(),V=ex(),B=(0,r.useRef)(null),F=(0,r.useRef)(null);(0,r.useEffect)(()=>(T(e=>({...e,mounted:!0})),F.current&&(clearTimeout(F.current),F.current=null),()=>{F.current&&(clearTimeout(F.current),F.current=null)}),[t,I]),(0,r.useEffect)(()=>("/"!==I||b||O.aiTooltipAutoDisplayed||(T(e=>({...e,showAiTooltip:!0})),F.current=setTimeout(()=>{T(e=>({...e,showAiTooltip:!1,aiTooltipAutoDisplayed:!0}))},5e3)),()=>{F.current&&(clearTimeout(F.current),F.current=null)}),[I,b,O.aiTooltipAutoDisplayed]),(0,r.useEffect)(()=>{let e=e=>{B.current&&!B.current.contains(e.target)&&T(e=>({...e,isDropdownOpen:!1})),e.target.closest("[data-nav-dropdown]")||T(e=>({...e,openDropdown:null}))};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,r.useEffect)(()=>{let e=()=>U(window.innerWidth>768);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let Q=async()=>{(0,m.PN)({eventCategory:p.i.BUTTON_CLICKED,functionName:"handleSignOut",message:"[Header] User sign out initiated",details:{timestamp:new Date().toISOString()}});try{g.k.clearAllCampaignSessions(),f.B.getInstance().clearState(),sessionStorage.removeItem("campaigns_filters"),(0,m.PN)({eventCategory:p.i.SERVICE_REQUEST,functionName:"handleSignOut",message:"[Header] Campaign session data cleared before logout",details:{timestamp:new Date().toISOString()}}),await (0,i.w)(),await _(),S.replace("/"),T(e=>({...e,isDropdownOpen:!1})),(0,m.PN)({eventCategory:p.i.SERVICE_REQUEST,functionName:"handleSignOut",message:"[Header] User signed out successfully",details:{timestamp:new Date().toISOString()}})}catch(e){(0,m.H)({eventCategory:p.i.API_ERROR,functionName:"handleSignOut",message:"[Header] Sign out failed",details:{error:e instanceof Error?e.message:"Unknown error",timestamp:new Date().toISOString()}})}},Y=()=>{T(e=>({...e,isMobileMenuOpen:!1}))},W=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"small",t=arguments.length>1?arguments[1]:void 0;return(0,n.jsxs)("div",{className:d()["avatar-container"],children:[(null==c?void 0:c.profilePictureUrl)?(0,n.jsx)("img",{src:c.profilePictureUrl,alt:t||"".concat(c.firstName," ").concat(c.lastName," profile"),className:"small"===e?d()["avatar-image"]:d()["profile-picture"],onError:e=>{let t=e.target;t.style.display="none";let a=t.nextElementSibling;a&&(a.style.display="flex")}}):null,(0,n.jsx)("span",{className:d()["avatar-fallback"],style:{display:(null==c?void 0:c.profilePictureUrl)?"none":"flex"},children:(0,n.jsx)(es.Z,{className:"w-full h-full"})})]})},q="".concat(d().header," ").concat(d()[t]),K=!x||"public"===t,J=(e,t,a)=>{let r=e.icon,i="flex items-start gap-3 p-1 rounded-lg hover:bg-accent hover:scale-105 transition-all duration-200 group",o=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"w-10 h-10 rounded-lg ".concat(ed[t%ed.length]," flex items-center justify-center text-lg flex-shrink-0"),children:(0,n.jsx)(r,{className:"w-4 h-4"})}),(0,n.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,n.jsx)("div",{className:"font-semibold text-sm text-gray-900 group-hover:text-blue-600",children:e.label}),(0,n.jsx)("div",{className:"text-xs text-gray-600 mt-0 line-clamp-2 max-w-60 break-words",children:e.description})]})]});return e.external?(0,n.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",onClick:a,className:i,children:o},t):(0,n.jsx)(s.default,{href:e.href,onClick:a,className:i,children:o},t)},X=(e,t,a,r,s)=>{let i=t.categories.length>1;return(0,n.jsx)("li",{className:"list-none",children:(0,n.jsxs)(E.h_,{open:s.isOpen,onOpenChange:s.handleOpenChange,modal:!1,children:[(0,n.jsx)(E.$F,{asChild:!0,children:(0,n.jsxs)("button",{className:"inline-flex items-center gap-1 text-gray-600 hover:text-blue-600 font-medium text-base md:text-sm md:px-1.5 md:py-1 lg:text-base lg:px-2 lg:py-1.5 focus:outline-none",onMouseEnter:s.handleMouseEnter,onMouseLeave:s.handleMouseLeave,onClick:s.handleTriggerClick,"aria-expanded":s.isOpen,children:[e,(0,n.jsx)(v.Z,{className:"w-3.5 h-3.5 transition-transform duration-200 ".concat(s.isOpen?"rotate-180":"")})]})}),(0,n.jsx)(E.AW,{align:"start",sideOffset:8,className:"p-0 border-0 shadow-none bg-transparent max-h-none overflow-visible",onMouseEnter:s.handleMouseEnter,onMouseLeave:s.handleMouseLeave,children:(0,n.jsx)("div",{className:"".concat(i?"w-[630px]":"w-[600px]"," p-0 bg-white border border-gray-200 rounded-xl shadow-xl"),children:(0,n.jsxs)("div",{className:"flex",children:[i&&(0,n.jsx)("div",{className:"w-68 bg-gradient-to-b from-gray-50 to-gray-100 border-r border-gray-200 py-2",children:(0,n.jsx)("div",{className:"space-y-0",children:t.categories.map(e=>(0,n.jsxs)("button",{className:"w-full flex items-center gap-3 p-2 text-left transition-all border-l-4 relative ".concat(a===e.id?"bg-white border-blue-600 text-blue-700":"border-transparent hover:bg-white hover:border-gray-300"),onMouseEnter:()=>r(e.id),children:[(0,n.jsx)("div",{className:"w-9 h-9 rounded-lg flex items-center justify-center text-lg ".concat(e.colorClass),children:(0,n.jsx)(e.icon,{className:"w-4 h-4"})}),(0,n.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,n.jsx)("div",{className:"font-semibold text-sm text-gray-900",children:e.label}),(0,n.jsx)("div",{className:"text-xs text-gray-500 whitespace-nowrap overflow-hidden text-ellipsis",children:e.description})]}),(0,n.jsx)("span",{className:"text-lg ml-1 ".concat(a===e.id?"text-blue-600":"text-gray-400"),children:"âº"})]},e.id))})}),(0,n.jsx)("div",{className:"flex-1 p-2",children:Object.entries(t.panels).map(e=>{let[t,r]=e;return(0,n.jsxs)("div",{className:"transition-opacity duration-200 ".concat(i&&a!==t?"opacity-0 hidden":"opacity-100"),children:[(0,n.jsxs)("div",{className:"mb-1 border-b border-gray-200",children:[(0,n.jsx)("h3",{className:"text-base font-bold text-gray-900 mb-0",children:r.title}),(0,n.jsx)("p",{className:"text-xs text-gray-600 mt-0",children:r.description})]}),(0,n.jsx)("div",{className:"grid ".concat(i?"grid-cols-1":"grid-cols-2"," gap-1 p-2"),children:r.items.map((e,t)=>J(e,t,s.close))}),r.footer&&(0,n.jsxs)("a",{href:r.footer.href,target:"_blank",rel:"noopener noreferrer",onClick:s.close,className:"block mx-2 py-1 text-center text-xs font-semibold text-blue-600 hover:text-blue-700 hover:underline",children:[r.footer.label," â"]})]},t)})})]})})})]})})},$=K?ef:eu,ee=(0,r.useMemo)(()=>x?{...ep,panels:{...ep.panels,learning:{...ep.panels.learning,items:[...ep.panels.learning.items,{href:"/why-ziptier",label:"Why ZipTier",icon:ei.Z,description:"Discover why businesses choose ZipTier"}]}}}:ep,[x]),et=(0,r.useMemo)(()=>
1{if(b||!c)return{fullName:"Loading...",truncatedName:"Loading...",isLoading:!0};let e="".concat((null==c?void 0:c.firstName)||""," ").concat((null==c?void 0:c.lastName)||"").trim(),t=e.length>20?"".concat(e.substring(0,17),"..."):e;return{fullName:e,truncatedName:t,isLoading:!1}},[c,b]),en=()=>et.isLoading?(0,n.jsxs)("div",{className:"".concat(d()["dropdown-item"]," ").concat(d()["user-info"]),title:"Loading...",children:[(0,n.jsx)("span",{className:d()["item-icon"],children:el.avatarIconText}),(0,n.jsx)("span",{children:(0,n.jsx)("strong",{children:"Loading..."})})]}):(0,n.jsxs)("div",{className:"".concat(d()["dropdown-item"]," ").concat(d()["user-info"]),title:et.fullName,children:[W("medium","".concat(et.fullName," profile")),(0,n.jsx)("span",{children:(0,n.jsx)("strong",{children:et.truncatedName})})]}),er=(e,t)=>{let a=e.icon;return e.href?e.external?(0,n.jsxs)("a",{href:e.href,className:d()["dropdown-item"],target:"_blank",rel:"noopener noreferrer",onClick:t=>{"Contact Support"===e.label&&(0,m.PN)({eventCategory:p.i.LINK_CLICKED,eventItem:p.Q.CONTACT_SUPPORT,functionName:"handleExternalLinkClick",message:"[Header] User clicked Contact Support - FreshDesklink",details:{href:e.href,timestamp:new Date().toISOString()}})},children:[(0,n.jsx)(a,{className:d()["item-icon"]}),(0,n.jsx)("span",{children:e.label})]},t):(0,n.jsxs)(s.default,{href:e.href,className:d()["dropdown-item"],children:[(0,n.jsx)(a,{className:d()["item-icon"]}),(0,n.jsx)("span",{children:e.label})]},t):(0,n.jsxs)("button",{onClick:e.onClick,className:"".concat(d()["dropdown-item"]," ").concat(e.className||""),children:[(0,n.jsx)(a,{className:d()["item-icon"]}),(0,n.jsx)("span",{children:e.label})]},t)},em=()=>(0,n.jsxs)("button",{onClick:Q,className:"".concat(d()["dropdown-item"]," ").concat(d().logout),children:[(0,n.jsx)(eo.Z,{className:d()["item-icon"]}),(0,n.jsx)("span",{children:el.logoutButtonText})]}),eb={TOP_LEVEL_ROW:"py-3 px-0 border-b border-gray-200",TOP_LEVEL_ITEM:"border-b border-gray-200",TOP_LEVEL_TRIGGER:"py-3 px-0 text-base font-medium text-gray-900 hover:no-underline",TOP_LEVEL_LINK:"text-base font-medium transition-colors",SUB_TRIGGER:"pl-3 pr-0 py-2.5 text-sm font-medium text-gray-700 hover:no-underline",SUB_CONTENT:"px-0 pb-1",SUB_LIST:"space-y-1 pl-7"},ev=(e,t)=>{let a=e.icon,r=(0,n.jsxs)("div",{className:"flex items-start gap-2",children:[(0,n.jsx)(a,{className:"w-4 h-4 flex-shrink-0 mt-0.5"}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"font-medium",children:e.label}),e.description&&(0,n.jsx)("div",{className:"text-xs text-gray-500 mt-0.5",children:e.description})]})]}),i="block p-1 text-sm text-gray-600 hover:text-blue-600 hover:bg-gray-50 rounded";return"external"in e&&e.external?(0,n.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",onClick:Y,className:i,children:r},t):(0,n.jsx)(s.default,{href:e.href,onClick:Y,className:i,children:r},t)},e_=e=>(0,n.jsxs)("div",{className:eb.SUB_LIST,children:[e.items.map(ev),e.footer&&(0,n.jsxs)("a",{href:e.footer.href,target:"_blank",rel:"noopener noreferrer",onClick:Y,className:"block py-1 text-center text-xs font-semibold text-blue-600 hover:text-blue-700 hover:underline",children:[e.footer.label," â"]})]}),eN=e=>(0,n.jsx)(R.UQ,{type:"multiple",className:"w-full",children:e.categories.map(t=>{let a=t.icon,r=e.panels[t.id];return(0,n.jsxs)(R.Qd,{value:t.id,className:"border-none",children:[(0,n.jsx)(R.o4,{className:eb.SUB_TRIGGER,children:(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)(a,{className:"w-4 h-4"}),(0,n.jsx)("span",{children:t.label})]})}),(0,n.jsx)(R.vF,{className:eb.SUB_CONTENT,children:(0,n.jsxs)("div",{className:eb.SUB_LIST,children:[r.items.map(ev),r.footer&&(0,n.jsxs)("a",{href:r.footer.href,target:"_blank",rel:"noopener noreferrer",onClick:Y,className:"block py-1 text-center text-xs font-semibold text-blue-600 hover:text-blue-700 hover:underline",children:[r.footer.label," â"]})]})})]},t.id)})});return j&&b?(0,n.jsx)("header",{className:q,style:{marginTop:"0px !important"},children:(0,n.jsxs)("nav",{className:d().nav,children:[(0,n.jsx)("div",{className:d()["logo-container"],children:(0,n.jsx)("div",{className:d()["shimmer-logo"]})}),(0,n.jsxs)("div",{className:d()["nav-links"],children:[(0,n.jsx)("div",{className:d()["loading-placeholder"]}),(0,n.jsx)("div",{className:d()["loading-placeholder"]}),(0,n.jsx)("div",{className:d()["loading-placeholder"]}),(0,n.jsx)("div",{className:d()["loading-placeholder"]})]}),(0,n.jsxs)("div",{className:d()["header-buttons"],children:[(0,n.jsx)("div",{className:d()["loading-placeholder"]}),(0,n.jsx)("div",{className:d()["loading-placeholder"]})]})]})}):(0,n.jsx)("header",{className:q,style:{marginTop:"0px !important"},children:(0,n.jsxs)("nav",{className:d().nav,children:[(0,n.jsxs)("div",{className:d()["logo-container"],children:[(0,n.jsxs)(k.yo,{open:O.isMobileMenuOpen,onOpenChange:e=>{T(t=>({...t,isMobileMenuOpen:e}))},children:[(0,n.jsx)(k.aM,{asChild:!0,children:(0,n.jsx)("button",{className:d()["mobile-menu-button"],"aria-label":"Toggle menu","aria-expanded":O.isMobileMenuOpen,children:(0,n.jsxs)("span",{className:d().hamburger,children:[(0,n.jsx)("span",{className:O.isMobileMenuOpen?d().active:""}),(0,n.jsx)("span",{className:O.isMobileMenuOpen?d().active:""}),(0,n.jsx)("span",{className:O.isMobileMenuOpen?d().active:""})]})})}),(0,n.jsx)(k.yo,{open:O.isMobileMenuOpen,onOpenChange:e=>{T(t=>({...t,isMobileMenuOpen:e}))},modal:!0,children:(0,n.jsx)("div",{style:{zIndex:1100},children:(0,n.jsx)(k.ue,{side:"left",className:"w-[300px] sm:w-[350px] p-0 !z-[1100] fixed inset-y-0 left-0 h-full",style:{zIndex:1100},children:(0,n.jsxs)("div",{className:"flex flex-col h-full bg-white",children:[(0,n.jsx)(k.Tu,{className:"border-b border-gray-200 p-6 flex-shrink-0",children:(0,n.jsx)(k.bC,{children:(0,n.jsx)(s.default,{href:"/",onClick:Y,children:(0,n.jsx)("img",{src:"/ziptier-logo.jpg",alt:el.logoAlt,className:"h-8"})})})}),(0,n.jsx)("div",{className:"flex-1 overflow-y-auto overflow-x-hidden scroll-smooth",style:{WebkitOverflowScrolling:"touch"},children:(0,n.jsxs)("div",{className:"px-6 pb-8",children:[(0,n.jsxs)(R.UQ,{type:"multiple",className:"w-full",children:[(0,n.jsxs)(R.Qd,{value:"products",className:eb.TOP_LEVEL_ITEM,children:[(0,n.jsx)(R.o4,{className:eb.TOP_LEVEL_TRIGGER,children:"Product"}),(0,n.jsx)(R.vF,{className:"px-0 pb-2 pt-1",children:eN($)})]}),K&&(0,n.jsxs)(R.Qd,{value:"solutions",className:eb.TOP_LEVEL_ITEM,children:[(0,n.jsx)(R.o4,{className:eb.TOP_LEVEL_TRIGGER,children:"Solutions"}),(0,n.jsx)(R.vF,{className:"px-0 pb-2 pt-1",children:e_(eg.panels.solutions)})]}),K&&(0,n.jsx)("div",{className:eb.TOP_LEVEL_ROW,children:(0,n.jsx)(s.default,{href:"/why-ziptier",onClick:Y,className:"".concat(eb.TOP_LEVEL_LINK," ").concat("/why-ziptier"===I?"text-blue-600":"text-gray-900 hover:text-blue-600"),children:"Why ZipTier"})}),(0,n.jsx)("div",{className:eb.TOP_LEVEL_ROW,children:(0,n.jsx)(s.default,{href:"/pricing",onClick:Y,className:"".concat(eb.TOP_LEVEL_LINK," ").concat("/pricing"===I?"text-blue-600":"text-gray-900 hover:text-blue-600"),children:"Pricing"})}),(0,n.jsxs)(R.Qd,{value:"resources",className:"".concat(eb.TOP_LEVEL_ITEM," ").concat(d()["resources-accordion"]),children:[(0,n.jsx)(R.o4,{className:eb.TOP_LEVEL_TRIGGER,children:"Resources"}),(0,n.jsx)(R.vF,{className:"px-0 pb-2 pt-1",children:eN(ee)})]})]}),x&&ec.filter(e=>e.authRequired).map((e,t)=>{let a=I===e.href;return(0,n.jsx)("div",{className:eb.TOP_LEVEL_ROW,children:(0,n.jsx)(s.default,{href:e.href,onClick:Y,className:"".concat(eb.TOP_LEVEL_LINK," ").concat(a?"text-blue-600":"text-gray-900 hover:text-blue-600"),children:e.label})},"auth-".concat(t))})]})})]})})})})]}),(0,n.jsx)(s.default,{href:"/",children:(0,n.jsx)("img",{src:"/ziptier-logo.jpg",alt:el.logoAlt,className:d().logo})})]}),(()=>{let e=ec.filter(e=>!e.authRequired),t=j?ec.filter(e=>e.authRequired):[];return(0,n.jsx)("div",{className:"".concat(d().desktopNav),children:(0,n.jsx)(N,{className:d().desktopMenu,children:(0,n.jsxs)(y,{className:"flex space-x-3 md:space-x-0 lg:space-x-1 xl:space-x-2",children:[X("Product",$,A,L,G),K&&X("Solutions",eg,Z,H,V),K&&(0,n.jsx)(w,{children:(0,n.jsx)(C,{asChild:!0,children:(0,n.jsx)(s.default,{href:"/why-ziptier",className:"text-gray-600 hover:text-blue-600 font-medium transition-colors text-base md:text-sm lg:text-base whitespace-nowrap px-2 py-2 ".concat("/why-ziptier"===I?"text-blue-600":""),children:"Why ZipTier"})})}),(0,n.jsx)(w,{children:(0,n.jsx)(C,{asChild:!0,children:(0,n.jsx)(s.default,{href:"/pricing",className:"text-gray-600 hover:text-blue-600 font-medium transition-colors text-base md:text-sm lg:text-base whitespace-nowrap px-2 py-2 ".concat("/pricing"===I?"text-blue-600":""),children:"Pricing"})})}),X("Resources",ee,D,M,z),e.filter(e=>"/pricing"!==e.href&&"/why-ziptier"!==e.href).map((e,t)=>{if(e.authRequired&&(!j||!x)||e.hideForAuthenticated&&x)return null;let a=I===e.href;return(0,n.jsx)(w,{children:(0,n.jsx)(C,{asChild:!0,children:e.external?(0,n.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"text-gray-600 hover:text-blue-600 font-medium transition-colors text-base md:text-sm lg:text-base px-2 py-2 ".concat(a?"text-blue-600":""),children:e.label}):(0,n.jsx)(s.default,{href:e.href,className:"text-gray-600 hover:text-blue-600 font-medium transition-colors text-base md:text-sm lg:text-base whitespace-nowrap px-2 py-2 ".concat(a?"text-blue-600":""),children:e.label})})},t)}),x&&t.length>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"w-px h-6 bg-gray-300 mx-2"}),t.map((e,t)=>{let a=I===e.href;return(0,n.jsx)(w,{children:(0,n.jsx)(C,{asChild:!0,children:(0,n.jsx)(s.default,{href:e.href,className:"text-gray-600 hover:text-blue-600 font-medium transition-colors text-base md:text-sm lg:text-base whitespace-nowrap px-2 py-2 ".concat(a?"text-blue-600":""),children:e.label})})},"auth-".concat(t))})]})]})})})})(),(0,n.jsx)("div",{className:"".concat(d()["header-buttons"]," gap-1.5 md:gap-1 lg:gap-3"),children:j&&b?(0,n.jsx)("div",{className:d()["auth-loading"],children:(0,n.jsx)(u.$,{className:"size-5 text-[#1a73e8]"})}):"/company-onboarding"===I?(0,n.jsx)("button",{onClick:Q,className:d()["logout-button"],children:el.logoutButtonText}):j&&x?(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(s.default,{href:"/settings/user-profile",className:"inline-flex items-center justify-center p-1.5 rounded-md text-gray-500 hover:text-blue-600 transition-colors ".concat((null==I?void 0:I.startsWith("/settings"))?"text-blue-600":""),title:"Settings",children:(0,n.jsx)(ea.Z,{className:"w-5 h-5"})}),(0,n.jsxs)("div",{className:d()["user-dropdown"],ref:B,children:[(0,n.jsxs)("div",{className:"".concat(d()["user-avatar"]," ").concat(O.isDropdownOpen?d().active:""),onClick:()=>{let e=!O.isDropdownOpen;T(t=>({...t,isDropdownOpen:e}))},children:[W("small"),(0,n.jsx)(v.Z,{className:"".concat(d()["dropdown-arrow"]," ").concat(O.isDropdownOpen?d().open:"")})]}),O.isDropdownOpen&&(0,n.jsxs)("div",{className:d()["dropdown-menu"],children:[en(),eh.map(er),em()]})]})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.default,{href:"/book-a-call",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center rounded-full bg-[#f9f7f2] text-gray-900 font-medium border border-[#8b5cf6] hover:bg-[#f0ede5] transition-colors text-[0.7rem] px-2.5 py-2 md:text-xs md:px-3 md:py-2 lg:text-sm lg:px-4 lg:py-2.5 xl:text-base xl:px-6 xl:py-3 whitespace-nowrap",children:el.ctaButtonText}),(0,n.jsx)(s.default,{href:"/auth/signup",className:"inline-flex items-center rounded-full bg-[#1a73e8] text-white font-medium hover:bg-[#1557b0] transition-colors text-[0.7rem] px-2.5 py-2 md:text-xs md:px-3 md:py-2 lg:text-sm lg:px-4 lg:py-2.5 xl:text-base xl:px-6 xl:py-3 whitespace-nowrap",children:el.loginButtonText})]})})]})})}},18779:function(e,t,a){"use strict";a.d(t,{LM:function(){return f},_1:function(){return g}});var n=a(34567),r=a(53225),s=a(68954),i=a(27422),o=a(44867),l=a(26164),c=a(57017),d=a(22023),u=a(43267),m=a(64452),p=a(21902);let g=[{slug:"bounce-rate-calculator",title:"Bounce Rate Calculator",navLabel:"Bounce Rate Calculator",description:"See where your bounce rate lands against benchmarks, then find out how many leads a lower one would win back.",navDescription:"Bounce rate vs. benchmarks, and revenue lift from cutting bounce.",icon:n.Z},{slug:"conversion-rate-calculator",title:"Conversion Rate Calculator",navLabel:"Conversion Rate Calculator",description:"Measure your conversion rate and model what even a one-point lift is worth in extra leads and revenue.",navDescription:"Your conversion rate, with the revenue impact of a small lift.",icon:r.Z},{slug:"chatbot-roi-calculator",title:"AI Chatbot ROI Calculator",navLabel:"AI Chatbot ROI Calculator",description:"Is a chatbot worth it? Estimate the monthly return: extra leads, support hours saved, and net ROI.",navDescription:"Chatbot payback: extra leads, hours saved, and net monthly ROI.",icon:s.Z},{slug:"utm-builder",title:"UTM Builder & Generator",navLabel:"UTM Builder & Generator",description:"Build properly-encoded campaign URLs with UTM parameters so every click is attributed correctly in your analytics.",navDescription:"Tag campaign links so every click attributes correctly in GA.",icon:i.Z},{slug:"marketing-roi-calculator",title:"Marketing ROI Calculator",navLabel:"Marketing ROI Calculator",description:"Is the campaign paying off? Get its ROI and ROAS and see how you stack up against the 5:1 rule of thumb.",navDescription:"Campaign ROI and ROAS, against the classic 5:1 benchmark.",icon:o.Z},{slug:"cost-per-lead-calculator",title:"Cost Per Lead Calculator",navLabel:"Cost Per Lead Calculator",description:"Work out your true cost per lead, judge it against what a lead is worth, and see how convert
1ing more traffic lowers it.",navDescription:"Your CPL, weighed against what a lead is actually worth.",icon:l.Z},{slug:"ab-test-significance-calculator",title:"A/B Test Significance Calculator",navLabel:"A/B Test Significance Calculator",description:"Is your winning variant real or just noise? Get the z-score, p-value, and confidence level.",navDescription:"Real winner or noise? Get p-value and confidence level.",icon:c.Z},{slug:"meta-description-generator",title:"Meta Description Generator",navLabel:"Meta Description Generator",description:"Generate keyword-rich meta descriptions, check the length, and preview exactly how your page looks in Google.",navDescription:"Write meta descriptions and preview the SERP snippet.",icon:d.Z},{slug:"cac-calculator",title:"CAC Calculator",navLabel:"CAC Calculator",description:"Work out your customer acquisition cost, LTV:CAC ratio, and payback period, then model how to bring CAC down.",navDescription:"CAC, LTV:CAC ratio, and payback period in months.",icon:u.Z},{slug:"roas-calculator",title:"ROAS Calculator",navLabel:"ROAS Calculator",description:"Measure your return on ad spend and find the break-even ROAS your gross margin actually requires.",navDescription:"ROAS plus the break-even your gross margin requires.",icon:m.Z}],f=[{title:"Lead Value Calculator",description:"What each lead is worth â for smarter channel investment.",icon:p.Z}]},12547:function(e,t,a){"use strict";a.d(t,{Qd:function(){return c},UQ:function(){return l},o4:function(){return d},vF:function(){return u}});var n=a(57437),r=a(2265),s=a(59899),i=a(42421),o=a(37440);let l=s.fC,c=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,n.jsx)(s.ck,{ref:t,className:(0,o.cn)(a),...r})});c.displayName="AccordionItem";let d=r.forwardRef((e,t)=>{let{className:a,children:r,...l}=e;return(0,n.jsx)(s.h4,{className:"flex m-0",children:(0,n.jsxs)(s.xz,{ref:t,className:(0,o.cn)("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180",a),...l,children:[r,(0,n.jsx)(i.Z,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})})});d.displayName=s.xz.displayName;let u=r.forwardRef((e,t)=>{let{className:a,children:r,...i}=e;return(0,n.jsx)(s.VY,{ref:t,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...i,children:(0,n.jsx)("div",{className:(0,o.cn)("pb-4 pt-0",a),children:r})})});u.displayName=s.VY.displayName},46910:function(e,t,a){"use strict";a.d(t,{$F:function(){return u},AW:function(){return f},Ju:function(){return x},Ph:function(){return m},TG:function(){return g},VD:function(){return b},Xi:function(){return h},h_:function(){return d},kt:function(){return p}});var n=a(57437),r=a(2265),s=a(41524),i=a(87592),o=a(22468),l=a(28165),c=a(37440);let d=s.fC,u=s.xz;s.ZA,s.Uv;let m=s.Tr;s.Ee;let p=r.forwardRef((e,t)=>{let{className:a,inset:r,children:o,...l}=e;return(0,n.jsxs)(s.fF,{ref:t,className:(0,c.cn)("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",r&&"pl-8",a),...l,children:[o,(0,n.jsx)(i.Z,{className:"ml-auto"})]})});p.displayName=s.fF.displayName;let g=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,n.jsx)(s.tu,{ref:t,className:(0,c.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",a),...r})});g.displayName=s.tu.displayName;let f=r.forwardRef((e,t)=>{let{className:a,sideOffset:r=4,...i}=e;return(0,n.jsx)(s.Uv,{children:(0,n.jsx)(s.VY,{ref:t,sideOffset:r,className:(0,
1c.cn)("z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",a),...i})})});f.displayName=s.VY.displayName;let h=r.forwardRef((e,t)=>{let{className:a,inset:r,...i}=e;return(0,n.jsx)(s.ck,{ref:t,className:(0,c.cn)("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",r&&"pl-8",a),...i})});h.displayName=s.ck.displayName,r.forwardRef((e,t)=>{let{className:a,children:r,checked:i,...l}=e;return(0,n.jsxs)(s.oC,{ref:t,className:(0,c.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:i,...l,children:[(0,n.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,n.jsx)(s.wU,{children:(0,n.jsx)(o.Z,{className:"h-4 w-4"})})}),r]})}).displayName=s.oC.displayName,r.forwardRef((e,t)=>{let{className:a,children:r,...i}=e;return(0,n.jsxs)(s.Rk,{ref:t,className:(0,c.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...i,children:[(0,n.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,n.jsx)(s.wU,{children:(0,n.jsx)(l.Z,{className:"h-2 w-2 fill-current"})})}),r]})}).displayName=s.Rk.displayName;let x=r.forwardRef((e,t)=>{let{className:a,inset:r,...i}=e;return(0,n.jsx)(s.__,{ref:t,className:(0,c.cn)("px-2 py-1.5 text-sm font-semibold",r&&"pl-8",a),...i})});x.displayName=s.__.displayName;let b=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,n.jsx)(s.Z0,{ref:t,className:(0,c.cn)("-mx-1 my-1 h-px bg-muted",a),...r})});b.displayName=s.Z0.displayName},95317:function(e,t,a){"use strict";a.d(t,{Ei:function(){return b},Tu:function(){return h},aM:function(){return d},bC:function(){return x},lu:function(){return p},m0:function(){return m},sw:function(){return u},ue:function(){return f},yo:function(){return c}});var n=a(57437),r=a(2265),s=a(10327),i=a(13027),o=a(74697),l=a(37440);let c=s.fC,d=s.xz,u=s.x8,m=s.h_,p=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,n.jsx)(s.aV,{className:(0,l.cn)("fixed inset-0 z-[1100] bg-black/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...r,ref:t})});p.displayName=s.aV.displayName;let g=(0,i.j)("fixed z-[1100] gap-4 bg-background p-6 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",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right"}},defaultVariants:{side:"right"}}),f=r.forwardRef((e,t)=>{let{side:a="right",className:r,children:i,hideCloseButton:c=!1,overlayClassName:d,...u}=e;return(0,n.jsxs)(m,{children:[(0,n.jsx)(p,{className:d}),(0,n.jsxs)(s.VY,{ref:t,className:(0,l.cn)(g({side:a}),r),...u,children:[!c&&(0,n.jsxs)(s.x8,{className:"absolute right-5 top-5 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,n.jsx)(o.Z,{className:"h-5 w-5"}),(0,n.jsx)("span",{className:"sr-only",children:"Close"})]}),i]})]})});f.displayName=s.VY.displayName;let h=e=>{let{className:t,...a}=e;return(0,n.jsx)("div",{className:(0,l.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...a})};h.displayName="SheetHeader";let x=r.forwardRef((e,t)=>
1{let{className:a,...r}=e;return(0,n.jsx)(s.Dx,{ref:t,className:(0,l.cn)("text-lg font-semibold text-foreground",a),...r})});x.displayName=s.Dx.displayName;let b=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,n.jsx)(s.dk,{ref:t,className:(0,l.cn)("text-sm text-muted-foreground",a),...r})});b.displayName=s.dk.displayName},16299:function(e,t,a){"use strict";a.d(t,{$:function(){return i}});var n=a(57437);a(2265);var r=a(89627),s=a(37440);function i(e){let{className:t,...a}=e;return(0,n.jsx)(r.Z,{role:"status","aria-label":"Loading",className:(0,s.cn)("size-4 animate-spin",t),...a})}},86134:function(e){e.exports={header:"Header_header__xuTiO",nav:"Header_nav__NNkX_","logo-container":"Header_logo-container__3LtmC",logo:"Header_logo__pvkJ9","nav-links":"Header_nav-links__BIBNR","nav-dropdown":"Header_nav-dropdown__GNZNI","nav-dropdown-btn":"Header_nav-dropdown-btn__tB_B_",active:"Header_active___1CY2","nav-dropdown-menu":"Header_nav-dropdown-menu__AShrg","nav-group-separator":"Header_nav-group-separator___vIa_","header-buttons":"Header_header-buttons__54OAF",desktopNav:"Header_desktopNav__cSyta",desktopMenu:"Header_desktopMenu__5306J","ai-icon":"Header_ai-icon__x6rCQ","button-pulse":"Header_button-pulse__1SqF3","ai-icon-emoji":"Header_ai-icon-emoji__qiZDy","login-button":"Header_login-button__qlQCo","logout-button":"Header_logout-button__cu7U0","auth-loading":"Header_auth-loading__jYs29","cta-button":"Header_cta-button__Oz3Ek","user-dropdown":"Header_user-dropdown__riLF2","user-avatar":"Header_user-avatar__EWszw","avatar-icon":"Header_avatar-icon__D1PNw","avatar-container":"Header_avatar-container__jeTdK","avatar-fallback":"Header_avatar-fallback__VlUr0","dropdown-arrow":"Header_dropdown-arrow__HUFR_",open:"Header_open__aTg5e","dropdown-menu":"Header_dropdown-menu__auFyw","dropdown-item":"Header_dropdown-item__xtQ3h","user-info":"Header_user-info__J7fD2","credits-info":"Header_credits-info___xnUD","credits-display":"Header_credits-display__M8o9B","credits-number":"Header_credits-number__k36cY","credits-label":"Header_credits-label__x4tJw",logout:"Header_logout___QR_5","dropdown-divider":"Header_dropdown-divider__fyR9J","item-icon":"Header_item-icon__9dwba","profile-picture":"Header_profile-picture__yrUhU","avatar-image":"Header_avatar-image__qPJ9u","mobile-menu-button":"Header_mobile-menu-button__YYSjT",hamburger:"Header_hamburger__1rpXg","mobile-menu":"Header_mobile-menu__OigVT","mobile-menu-overlay":"Header_mobile-menu-overlay__dGdTy",fadeIn:"Header_fadeIn__8vQUq","mobile-menu-content":"Header_mobile-menu-content__lPWdJ",slideIn:"Header_slideIn__mhQY4","mobile-menu-header":"Header_mobile-menu-header__QfCi2","mobile-menu-logo":"Header_mobile-menu-logo__JOz1X","mobile-menu-close":"Header_mobile-menu-close__X37gT","mobile-nav-links":"Header_mobile-nav-links__2_Y_j","mobile-dropdown-header":"Header_mobile-dropdown-header__6wpCh","mobile-ai-link":"Header_mobile-ai-link__arvzZ","loading-spinner-container":"Header_loading-spinner-container__9WT2m","loading-placeholder":"Header_loading-placeholder__y1AOw","loading-shimmer":"Header_loading-shimmer__SY2Hv","shimmer-logo":"Header_shimmer-logo__49PPo","resources-accordion":"Header_resources-accordion____0Uo","shimmer-credits":"Header_shimmer-credits__ANEXk"}}}]);
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.