1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,27974,e=>{"use strict";var t=e.i(71645);function r(e,t){let r=window.umami;r?.track(e,t)}function n(e){let t=e.getAttribute("data-cta-id"),r=e.getAttribute("data-cta-placement");return{source:window.location.pathname,label:e.getAttribute("aria-label")||e.textContent?.trim().replace(/\s+/g," ").slice(0,120)||e.tagName.toLowerCase(),...t?{cta_id:t}:{},...r?{cta_placement:r}:{}}}e.s(["default",0,function(){return(0,t.useEffect)(()=>{function e(e){let t=e.target;if(!(t instanceof Element))return;let o=t.closest("a, button, summary");if(o){if(o instanceof HTMLAnchorElement){let e=new URL(o.href,window.location.href),t={...n(o),destination:`${e.hostname}${e.pathname}`},l=o.getAttribute("data-marketing-event");if(l)return void r(l,t);if("care.everywag.com"===e.hostname&&e.pathname.startsWith("/signup")){if(o.hasAttribute("data-care-signup-event"))return;r("care-signup-click",t);return}if("care.everywag.com"===e.hostname&&e.pathname.startsWith("/login"))return void r("care-login-click",t);if("/demo/sample-discharge"===e.pathname)return void r("sample-discharge-click",t);if("/demo"===e.pathname)return void r("demo-click",t);if("/pricing"===e.pathname)return void r("pricing-click",t);if("apps.apple.com"===e.hostname)return void r("app-store-click",{...t,store:"apple"});"play.google.com"===e.hostname&&r("app-store-click",{...t,store:"google-play"})}"/pricing"===window.location.pathname&&r("pricing-interaction",{...n(o),control:o.tagName.toLowerCase()})}}function t(e){e.target instanceof HTMLVideoElement&&"demo"!==e.target.dataset.analyticsVideo&&r("demo-video-play",{source:window.location.pathname,currentTime:Math.round(e.target.currentTime)})}function o(e){"/pricing"===window.location.pathname&&e.target instanceof HTMLInputElement&&"range"===e.target.type&&r("pricing-interaction",{...n(e.target),control:"range",value:e.target.value})}return document.addEventListener("click",e),document.addEventListener("play",t,!0),document.addEventListener("pointerup",o),()=>{document.removeEventListener("click",e),document.removeEventListener("play",t,!0),document.removeEventListener("pointerup",o)}},[]),null}])},6835,e=>{"use strict";let t,r,n,o,l;var i,a,s=e.i(43476),c=e.i(71645),u=e.i(22016);function d(){let e=[],t={addEventListener:(e,r,n,o)=>(e.addEventListener(r,n,o),t.add(()=>e.removeEventListener(r,n,o))),requestAnimationFrame(...e){let r=requestAnimationFrame(...e);return t.add(()=>cancelAnimationFrame(r))},nextFrame:(...e)=>t.requestAnimationFrame(()=>t.requestAnimationFrame(...e)),setTimeout(...e){let r=setTimeout(...e);return t.add(()=>clearTimeout(r))},microTask(...e){var r;let n={current:!0};return r=()=>{n.current&&e[0]()},"function"==typeof queueMicrotask?queueMicrotask(r):Promise.resolve().then(r).catch(e=>setTimeout(()=>{throw e})),t.add(()=>{n.current=!1})},style(e,t,r){let n=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:r}),this.add(()=>{Object.assign(e.style,{[t]:n})})},group(e){let t=d();return e(t),this.add(()=>t.dispose())},add:t=>(e.includes(t)||e.push(t),()=>{let r=e.indexOf(t);if(r>=0)for(let t of e.splice(r,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}function f(){let[e]=(0,c.useState)(d);return(0,c.useEffect)(()=>()=>e.dispose(),[e]),e}var p=Object.defineProperty,h=(e,t,r)=>{let n;return(n="symbol"!=typeof t?t+"":t)in e?p(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r,r};let m=new class{constructor(){h(this,"current",this.detect()),h(this,"handoffState","pending"),h(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"u"<typeof window||"u"<typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},v=(e,t)=>{m.isServer?(0,c.useEffect)(e,t):(0,c.useLayoutEffect)(e,t)};function b(e){let t=(0,c.useRef)(e);return v(()=>{t.current=e},[e]),t}let g=function(e){let t=b(e);return c.default.useCallback((...e)=>t.current(...e),[t])};function x(){let e,t=(e="u"<typeof document,"useSyncExternalStore"in c&&(0,c.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[r,n]=c.useState(m.isHandoffComplete);return r&&!1===m.isHandoffComplete&&n(!1),c.useEffect(()=>{!0!==r&&n(!0)},[r]),c.useEffect(()=>m.handoff(),[]),!t&&r}let y=Symbol();function w(...e){let t=(0,c.useRef)(e);(0,c.useEffect)(()=>{t.current=e},[e]);let r=g(e=>{for(let r of t.current)null!=r&&("function"==typeof r?r(e):r.current=e)});return e.every(e=>null==e||(null==e?void 0:e[y]))?void 0:r}var j=e.i(47167);void 0!==j.default&&"u">typeof globalThis&&"u">typeof Element&&(null==(i=null==j.default?void 0:j.default.env)?void 0:i.NODE_ENV)==="test"&&void 0===(null==(a=null==Element?void 0:Element.prototype)?void 0:a.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(` 2`)),[]});var k=((t=k||{})[t.None=0]="None",t[t.Closed=1]="Closed",t[t.Enter=2]="Enter",t[t.Leave=4]="Leave",t);let E=(0,c.createContext)(null);E.displayName="OpenClosedContext";var C=((r=C||{})[r.Open=1]="Open",r[r.Closed=2]="Closed",r[r.Closing=4]="Closing",r[r.Opening=8]="Opening",r);function S(){return(0,c.useContext)(E)}function N({value:e,children:t}){return c.default.createElement(E.Provider,{value:e},t)}function A(...e){return Array.from(new Set(e.flatMap(e=>
2"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}function T(e,t,...r){if(e in t){let n=t[e];return"function"==typeof n?n(...r):n}let n=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,T),n}var L=((n=L||{})[n.None=0]="None",n[n.RenderStrategy=1]="RenderStrategy",n[n.Static=2]="Static",n),_=((o=_||{})[o.Unmount=0]="Unmount",o[o.Hidden=1]="Hidden",o);function P(){let e,t,r=(e=(0,c.useRef)([]),t=(0,c.useCallback)(t=>{for(let r of e.current)null!=r&&("function"==typeof r?r(t):r.current=t)},[]),(...r)=>{if(!r.every(e=>null==e))return e.current=r,t});return(0,c.useCallback)(e=>(function({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:o,visible:l=!0,name:i,mergeRefs:a}){a=null!=a?a:M;let s=F(t,e);if(l)return O(s,r,n,i,a);let c=null!=o?o:0;if(2&c){let{static:e=!1,...t}=s;if(e)return O(t,r,n,i,a)}if(1&c){let{unmount:e=!0,...t}=s;return T(+!e,{0:()=>null,1:()=>O({...t,hidden:!0,style:{display:"none"}},r,n,i,a)})}return O(s,r,n,i,a)})({mergeRefs:r,...e}),[r])}function O(e,t={},r,n,o){let{as:l=r,children:i,refName:a="ref",...s}=B(e,["unmount","static"]),u=void 0!==e.ref?{[a]:e.ref}:{},d="function"==typeof i?i(t):i;"className"in s&&s.className&&"function"==typeof s.className&&(s.className=s.className(t)),s["aria-labelledby"]&&s["aria-labelledby"]===s.id&&(s["aria-labelledby"]=void 0);let f={};if(t){let e=!1,r=[];for(let[n,o]of Object.entries(t))"boolean"==typeof o&&(e=!0),!0===o&&r.push(n.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`));if(e)for(let e of(f["data-headlessui-state"]=r.join(" "),r))f[`data-${e}`]=""}if($(l)&&(Object.keys(I(s)).length>0||Object.keys(I(f)).length>0))if(!(0,c.isValidElement)(d)||Array.isArray(d)&&d.length>1||$(d.type)){if(Object.keys(I(s)).length>0)throw Error(['Passing props on "Fragment"!',"",`The current component <${n} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(I(s)).concat(Object.keys(I(f))).map(e=>` - ${e}`).join(` 3`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>` - ${e}`).join(` 4`)].join(` 5`))}else{var p;let e=d.props,t=null==e?void 0:e.className,r="function"==typeof t?(...e)=>A(t(...e),s.className):A(t,s.className),n=F(d.props,I(B(s,["ref"])));for(let e in f)e in n&&delete f[e];return(0,c.cloneElement)(d,Object.assign({},n,f,u,{ref:o((p=d,c.default.version.split(".")[0]>="19"?p.props.ref:p.ref),u.ref)},r?{className:r}:{}))}return(0,c.createElement)(l,Object.assign({},B(s,["ref"]),!$(l)&&u,!$(l)&&f),d)}function M(...e){return e.every(e=>null==e)?void 0:t=>{for(let r of e)null!=r&&("function"==typeof r?r(t):r.current=t)}}function F(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},r={};for(let n of e)for(let e in n)e.startsWith("on")&&"function"==typeof n[e]?(null!=r[e]||(r[e]=[]),r[e].push(n[e])):t[e]=n[e];if(t.disabled||t["aria-disabled"])for(let e in r)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(r[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in r)Object.assign(t,{[e](t,...n){for(let o of r[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;o(t,...n)}}});return t}function R(e){var t;return Object.assign((0,c.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function I(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function B(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}function $(e){return e===c.Fragment||e===Symbol.for("react.fragment")}function H(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||!$(null!=(t=e.as)?t:z)||1===c.default.Children.count(e.children)}let W=(0,c.createContext)(null);W.displayName="TransitionContext";var q=((l=q||{}).Visible="visible",l.Hidden="hidden",l);let V=(0,c.createContext)(null);function U(e){return"children"in e?U(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function D(e,t){let r,n=b(e),o=(0,c.useRef)([]),l=(r=(0,c.useRef)(!1),v(()=>(r.current=!0,()=>{r.current=!1}),[]),r),i=f(),a=g((e,t=_.Hidden)=>{let r=o.current.findIndex(({el:t})=>t===e);-1!==r&&(T(t,{[_.Unmount](){o.current.splice(r,1)},[_.Hidden](){o.current[r].state="hidden"}}),i.microTask(()=>{var e;!U(o)&&l.current&&(null==(e=n.current)||e.call(n))}))}),s=g(e=>
5{let t=o.current.find(({el:t})=>t===e);return t?"visible"!==t.state&&(t.state="visible"):o.current.push({el:e,state:"visible"}),()=>a(e,_.Unmount)}),u=(0,c.useRef)([]),d=(0,c.useRef)(Promise.resolve()),p=(0,c.useRef)({enter:[],leave:[]}),h=g((e,r,n)=>{u.current.splice(0),t&&(t.chains.current[r]=t.chains.current[r].filter(([t])=>t!==e)),null==t||t.chains.current[r].push([e,new Promise(e=>{u.current.push(e)})]),null==t||t.chains.current[r].push([e,new Promise(e=>{Promise.all(p.current[r].map(([e,t])=>t)).then(()=>e())})]),"enter"===r?d.current=d.current.then(()=>null==t?void 0:t.wait.current).then(()=>n(r)):n(r)}),m=g((e,t,r)=>{Promise.all(p.current[t].splice(0).map(([e,t])=>t)).then(()=>{var e;null==(e=u.current.shift())||e()}).then(()=>r(t))});return(0,c.useMemo)(()=>({children:o,register:s,unregister:a,onStart:h,onStop:m,wait:d,chains:p}),[s,a,o,h,m,p,d])}V.displayName="NestingContext";let z=c.Fragment,Y=L.RenderStrategy,G=R(function(e,t){let{show:r,appear:n=!1,unmount:o=!0,...l}=e,i=(0,c.useRef)(null),a=w(...H(e)?[i,t]:null===t?[]:[t]);x();let s=S();if(void 0===r&&null!==s&&(r=(s&C.Open)===C.Open),void 0===r)throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[u,d]=(0,c.useState)(r?"visible":"hidden"),f=D(()=>{r||d("hidden")}),[p,h]=(0,c.useState)(!0),m=(0,c.useRef)([r]);v(()=>{!1!==p&&m.current[m.current.length-1]!==r&&(m.current.push(r),h(!1))},[m,r]);let b=(0,c.useMemo)(()=>({show:r,appear:n,initial:p}),[r,n,p]);v(()=>{r?d("visible"):U(f)||null===i.current||d("hidden")},[r,f]);let y={unmount:o},j=g(()=>{var t;p&&h(!1),null==(t=e.beforeEnter)||t.call(e)}),k=g(()=>{var t;p&&h(!1),null==(t=e.beforeLeave)||t.call(e)}),E=P();return c.default.createElement(V.Provider,{value:f},c.default.createElement(W.Provider,{value:b},E({ourProps:{...y,as:c.Fragment,children:c.default.createElement(J,{ref:a,...y,...l,beforeEnter:j,beforeLeave:k})},theirProps:{},defaultTag:c.Fragment,features:Y,visible:"visible"===u,name:"Transition"})))}),J=R(function(e,t){var r,n;let{transition:o=!0,beforeEnter:l,afterEnter:i,beforeLeave:a,afterLeave:s,enter:u,enterFrom:p,enterTo:h,entered:m,leave:b,leaveFrom:y,leaveTo:j,...k}=e,[E,S]=(0,c.useState)(null),L=(0,c.useRef)(null),O=H(e),M=w(...O?[L,t,S]:null===t?[]:[t]),F=null==(r=k.unmount)||r?_.Unmount:_.Hidden,{show:R,appear:B,initial:$}=function(){let e=(0,c.useContext)(W);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[q,G]=(0,c.useState)(R?"visible":"hidden"),J=function(){let e=(0,c.useContext)(V);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:K,unregister:X}=J;v(()=>K(L),[K,L]),v(()=>{if(F===_.Hidden&&L.current)return R&&"visible"!==q?void G("visible"):T(q,{hidden:()=>X(L),visible:()=>K(L)})},[q,L,K,X,R,F]);let Q=x();v(()=>{if(O&&Q&&"visible"===q&&null===L.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[L,q,Q,O]);let Z=$&&!B,ee=B&&R&&$,et=(0,c.useRef)(!1),er=D(()=>{et.current||(G("hidden"),X(L))},J),en=g(e=>{et.current=!0,er.onStart(L,e?"enter":"leave",e=>{"enter"===e?null==l||l():"leave"===e&&(null==a||a())})}),eo=g(e=>{let t=e?"enter":"leave";et.current=!1,er.onStop(L,t,e=>{"enter"===e?null==i||i():"leave"===e&&(null==s||s())}),"leave"!==t||U(er)||(G("hidden"),X(L))});(0,c.useEffect)(()=>{O&&o||(en(R),eo(R))},[R,O,o]);let[,el]=function(e,t,r,n){let[o,l]=(0,c.useState)(r),{hasFlag:i,addFlag:a,removeFlag:s}=function(e=0){let[t,r]=(0,c.useState)(e),n=(0,c.useCallback)(e=>r(e),[]),o=(0,c.useCallback)(e=>r(t=>t|e),[]),l=(0,c.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:n,addFlag:o,hasFlag:l,removeFlag:(0,c.useCallback)(e=>r(t=>t&~e),[]),toggleFlag:(0,c.useCallback)(e=>r(t=>t^e),[])}}(e&&o?3:0),u=(0,c.useRef)(!1),p=(0,c.useRef)(!1);return v(()=>{var o;if(e){if(r&&l(!0),!t){r&&a(3);return}return null==(o=null==n?void 0:n.start)||o.call(n,r),function(e,{prepare:t,run:r,done:n,inFlight:o}){let l=d();return function(e,{inFlight:t,prepare:r}){if(null!=t&&t.current)return r();let n=e.style.transition;e.style.transition="none",r(),e.offsetHeight,e.style.transition=n}(e,{prepare:t,inFlight:o}),l.nextFrame(()=>{r(),l.requestAnimationFrame(()=>{l.add(function(e,t){var r,n;let o=d();if(!e)return o.dispose;let l=!1;o.add(()=>{l=!0});let i=null!=(n=null==(r=e.getAnimations)?void 0:r.call(e).filter(e=>e instanceof CSSTransition))?n:[];return 0===i.length?t():Promise.allSettled(i.map(e=>e.finished)).then(()=>{l||t()}),o.dispose}(e,n))})}),l.dispose}(t,{inFlight:u,prepare(){p.current?p.current=!1:p.current=u.current,u.current=!0,p.current||(r?(a(3),s(4)):(a(4),s(2)))},run(){p.current?r?(s(3),a(4)):(s(4),a(3)):r?s(1):a(1)},done(){var e,o,i,a;p.current&&(null!=(a=null==(i=(o=t).getAnimations)?void 0:i.call(o))?a:[]).some(e=>e instanceof CSSTransition&&"finished"!==e.playState)||(u.current=!1,s(7),r||l(!1),null==(e=null==n?void 0:n.end)||e.call(n,r))}})}},[e,r,t,f()]),e?[o,{closed:i(1),enter:i(2),leave:i(4),transition:i(2)||i(4)}
5]:[r,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}(!(!o||!O||!Q||Z),E,R,{start:en,end:eo}),ei=I({ref:M,className:(null==(n=A(k.className,ee&&u,ee&&p,el.enter&&u,el.enter&&el.closed&&p,el.enter&&!el.closed&&h,el.leave&&b,el.leave&&!el.closed&&y,el.leave&&el.closed&&j,!el.transition&&R&&m))?void 0:n.trim())||void 0,...function(e){let t={};for(let r in e)!0===e[r]&&(t[`data-${r}`]="");return t}(el)}),ea=0;"visible"===q&&(ea|=C.Open),"hidden"===q&&(ea|=C.Closed),R&&"hidden"===q&&(ea|=C.Opening),R||"visible"!==q||(ea|=C.Closing);let es=P();return c.default.createElement(V.Provider,{value:er},c.default.createElement(N,{value:ea},es({ourProps:ei,theirProps:k,defaultTag:z,features:Y,visible:"visible"===q,name:"Transition.Child"})))}),K=R(function(e,t){let r=null!==(0,c.useContext)(W),n=null!==S();return c.default.createElement(c.default.Fragment,null,!r&&n?c.default.createElement(G,{ref:t,...e}):c.default.createElement(J,{ref:t,...e}))}),X=Object.assign(G,{Child:K,Root:G});var Q=e.i(78262);let Z=[{label:"Solutions",groups:[{label:"By Problem",href:"/solutions/aftercare-compliance",description:"How we help clinics",icon:"solutions",children:[{label:"Poor Client Compliance",href:"/solutions/aftercare-compliance"},{label:"Too Many Follow-Up Calls",href:"/solutions/reduce-phone-calls"},{label:"Clients Not Returning",href:"/solutions/client-retention"},{label:"Too Much Admin Work",href:"/solutions/staff-efficiency"},{label:"Appointments Going Over Time",href:"/solutions/shorter-appointments"},{label:"No Shows & Scheduling Conflicts",href:"/solutions/smarter-scheduling"}]},{label:"By Practice Type",href:"/for/independent-practices",description:"Who we help",icon:"clinics",children:[{label:"Independent Practices",href:"/for/independent-practices"},{label:"Group Practices",href:"/for/group-practices"},{label:"Mobile Veterinary Teams",href:"/for/mobile-veterinary-teams"},{label:"Corporate Practices",href:"/for/corporate-practices"}]}]},{label:"Platform",groups:[{label:"Care Connect",href:"/platform/care-connect",description:"For your clinic",icon:"care-connect",children:[{label:"Workflow Overview",href:"/platform/care-connect#workflow"},{label:"Care Connect Bridge",href:"/platform/care-connect#care-connect-bridge"},{label:"Intake & Referrals",href:"/platform/care-connect#intake-referrals"},{label:"Scheduling",href:"/platform/care-connect#scheduling"},{label:"Pre-Consult Forms",href:"/platform/care-connect#pre-consult-forms"},{label:"Exams & SOAP",href:"/platform/care-connect#exams-soap"},{label:"Care Guides",href:"/platform/care-connect#care-guides"},{label:"Recovery Monitoring",href:"/platform/care-connect#recovery-monitoring"},{label:"Patient Health Charts",href:"/platform/care-connect#health-charts"}]},{label:"Every Wag App",href:"/platform/client-app",description:"For pet parents",icon:"every-wag",children:[{label:"Complete Pet Care",href:"/platform/client-app#why-app"},{label:"Daily Check-In & Alerts",href:"/platform/client-app#daily-checkin-alerts"},{label:"Step-by-Step Guides",href:"/platform/client-app#guides"},{label:"Wellness Trends & Goals",href:"/platform/client-app#health-tracker"},{label:"Records & Expenses",href:"/platform/client-app#records-expenses"},{label:"Direct Vet Connection",href:"/platform/client-app#vet-connection"}]}]},{label:"Pricing",href:"/pricing"},{label:"Company",children:[{label:"About Us",href:"/about"},{label:"Contact",href:"/contact"}]},{label:"Resources",children:[{label:"Try the Aftercare Experience",href:"/demo/sample-discharge"},{label:"Body Map Tool",href:"/resources/body-map-tool"},{label:"Body Map Templates",href:"/resources/body-maps"},{label:"Differential Finder",href:"/resources/differential-finder"},{label:"Watch a Demo",href:"/demo"},{label:"Clinic Blog",href:"/blog"},{label:"Every Wag Pet Care Blog",href:"/pet-care-blog"},{label:"FAQ",href:"/pricing#faq"}]}];function ee({item:e}){let[t,r]=(0,c.useState)(!1),n=(0,c.useRef)(null);return((0,c.useEffect)(()=>{function e(e){n.current&&!n.current.contains(e.target)&&r(!1)}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),e.children)?(0,s.jsxs)("div",{ref:n,className:"relative",children:[(0,s.jsxs)("button",{onClick:()=>r(!t),className:"flex items-center gap-1 rounded-xl px-3 py-2 text-sm font-semibold text-foreground transition-colors hover:bg-primary-light hover:text-primary",children:[e.label,(0,s.jsx)("svg",{className:`h-4 w-4 transition-transform ${t?"rotate-180":""}`,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"})})]}),(0,s.jsx)(X,{show:t,enter:"transition ease-out duration-150",enterFrom:"opacity-0 -translate-y-1",enterTo:"opacity-100 translate-y-0",leave:"transition ease-in duration-100",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 -translate-y-1",children:(0,s.jsx)("div",{className:"absolute left-0 z-50 mt-2 w-60 rounded-2xl border border-border/80 bg-white/95 p-2 shadow-[0_24px_60px_rgba(17,27,46,0.14)] backdrop-blur-xl",children:e.children.map(e=>(0,s.jsx)(u.default,{href:e.href,onClick:()=>r(!1),className:"block rounded-xl px-3 py-2 text-sm font-medium text-foreground transition-colors hover:bg-primary-light hover:text-primary",children:e.label},e.href))})})]}):e.groups?(0,s.jsxs)("div",{ref:n,className:"relative",children:[(0,s.jsxs)("button",{onClick:()=>r(!t),className:"flex items-center gap-1 rounded-xl px-3 py-2 text-sm font-semibold text-foreground transition-colors hover:bg-primary-light hover:text-primary",children:[e.label,(0,s.jsx)("svg",{className:`h-4 w-4 transition-transform ${t?"rotate-180":""}`,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"})})]}),(0,s.jsx)(X,{show:t,enter:"transition ease-out duration-150",enterFrom:"opacity-0 -translate-y-1",enterTo:"opacity-100 translate-y-0",leave:"transition ease-in duration-100",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 -translate-y-1",children:(0,s.jsx)("div",{className:"absolute left-1/2 z-50 mt-3 w-[42rem] -translate-x-1/2 roun
5ded-3xl border border-border/80 bg-white/95 p-3 shadow-[0_28px_80px_rgba(17,27,46,0.16)] backdrop-blur-xl",children:(0,s.jsx)("div",{className:"grid gap-3 md:grid-cols-2",children:e.groups.map(e=>(0,s.jsxs)("div",{className:"rounded-2xl border border-border bg-white p-4 shadow-sm",children:[(0,s.jsx)(u.default,{href:e.href,onClick:()=>r(!1),className:"group rounded-xl transition-colors hover:bg-primary-light/60",children:(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[(0,s.jsx)("div",{className:"flex h-11 w-11 shrink-0 items-center justify-center rounded-2xl bg-primary-light text-primary",children:(0,s.jsx)(er,{kind:e.icon})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-lg font-semibold leading-tight text-foreground transition-colors group-hover:text-primary",children:e.label}),(0,s.jsx)("p",{className:"mt-1 text-sm text-muted",children:e.description})]})]})}),(0,s.jsx)("div",{className:"mt-4 border-t border-border pt-3",children:e.children.map(e=>(0,s.jsxs)(u.default,{href:e.href,onClick:()=>r(!1),className:"flex items-center justify-between rounded-xl px-3 py-2 text-sm text-foreground transition-colors hover:bg-primary-light hover:text-primary",children:[(0,s.jsx)("span",{children:e.label}),(0,s.jsx)("svg",{className:"h-4 w-4 shrink-0",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5l7 7-7 7"})})]},e.href))})]},e.href))})})})]}):(0,s.jsx)(u.default,{href:e.href,className:"rounded-xl px-3 py-2 text-sm font-semibold text-foreground transition-colors hover:bg-primary-light hover:text-primary",children:e.label})}function et({item:e,onNavigate:t}){let[r,n]=(0,c.useState)(!1);return e.children?(0,s.jsxs)("div",{children:[(0,s.jsxs)("button",{onClick:()=>n(!r),className:"flex w-full items-center justify-between rounded-xl px-3 py-2 text-base font-semibold text-foreground hover:bg-primary-light",children:[e.label,(0,s.jsx)("svg",{className:`h-4 w-4 transition-transform ${r?"rotate-180":""}`,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"})})]}),r&&(0,s.jsx)("div",{className:"ml-4 space-y-1",children:e.children.map(e=>(0,s.jsx)(u.default,{href:e.href,onClick:t,className:"block rounded-xl px-3 py-2 text-sm text-muted transition-colors hover:bg-primary-light hover:text-foreground",children:e.label},e.href))})]}):e.groups?(0,s.jsxs)("div",{children:[(0,s.jsxs)("button",{onClick:()=>n(!r),className:"flex w-full items-center justify-between rounded-xl px-3 py-2 text-base font-semibold text-foreground hover:bg-primary-light",children:[e.label,(0,s.jsx)("svg",{className:`h-4 w-4 transition-transform ${r?"rotate-180":""}`,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"})})]}),r&&(0,s.jsx)("div",{className:"mt-2 space-y-3 px-3",children:e.groups.map(e=>(0,s.jsxs)("div",{className:"rounded-2xl border border-border bg-white p-4 shadow-sm",children:[(0,s.jsxs)(u.default,{href:e.href,onClick:t,className:"flex items-start gap-3",children:[(0,s.jsx)("div",{className:"mt-0.5 flex h-10 w-10 shrink-0 items-center justify-center rounded-2xl bg-primary-light text-primary",children:(0,s.jsx)(er,{kind:e.icon})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-base font-semibold text-foreground",children:e.label}),(0,s.jsx)("p",{className:"mt-1 text-sm text-muted",children:e.description})]})]}),(0,s.jsx)("div",{className:"mt-4 space-y-1 border-t border-border pt-3",children:e.children.map(e=>(0,s.jsx)(u.default,{href:e.href,onClick:t,className:"block rounded-xl px-3 py-2 text-sm text-muted transition-colors hover:bg-primary-light hover:text-foreground",children:e.label},e.href))})]},e.href))})]}):(0,s.jsx)(u.default,{href:e.href,onClick:t,className:"block rounded-xl px-3 py-2 text-base font-semibold text-foreground hover:bg-primary-light",children:e.label})}function er({kind:e}){return"solutions"===e?(0,s.jsx)("svg",{className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.8,children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.75 12h14.5M12 4.75v14.5M6.5 6.5h11v11h-11z"})}):"clinics"===e?(0,s.jsx)("svg",{className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.8,children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 20V7.75A1.75 1.75 0 016.75 6h10.5A1.75 1.75 0 0119 7.75V20M9 20v-4h6v4M9 10h.01M15 10h.01M9 13h.01M15 13h.01"})}):"every-wag"===e?(0,s.jsx)("svg",{className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.8,children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 3h8a2 2 0 012 2v14a2 2 0 01-2 2H8a2 2 0 01-2-2V5a2 2 0 012-2zm4 14h.01M9 6h6"})}):(0,s.jsxs)("svg",{className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.8,children:[(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6.75A1.75 1.75 0 015.75 5h12.5A1.75 1.75 0 0120 6.75v7.5A1.75 1.75 0 0118.25 16H5.75A1.75 1.75 0 014 14.25v-7.5z"}),(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 19h8M10 16v3M14 16v3"})]})}e.s(["default",0,function(){let[e,t]=(0,c.useState)(!1),[r,n]=(0,c.useState)(!1),o=(0,Q.useCurrentUrlSearch)(),l=(0,Q.buildCareSignupHref)({search:o}),i=(0,Q.buildCareLoginHref)({search:o});return(0,c.useEffect)(()=>{function e(){n(window.scrollY>10)}return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,c.useEffect)(()=>
5{if(!e)return;let t=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=t}},[e]),(0,s.jsxs)("header",{className:`sticky top-0 z-40 w-full border-b transition-all ${r?"border-border/80 bg-white/90 shadow-[0_12px_40px_rgba(17,27,46,0.08)] backdrop-blur-xl":"border-transparent bg-white/70 backdrop-blur-md"}`,children:[(0,s.jsxs)("div",{className:"mx-auto flex max-w-7xl items-center justify-between gap-2 px-4 py-2 sm:px-6",children:[(0,s.jsx)(u.default,{href:"/",children:(0,s.jsx)("img",{src:"/images/logo-everywag.png",alt:"Every Wag Logo",className:"h-12 w-auto min-w-36 flex-shrink-0 object-contain"})}),(0,s.jsx)("nav",{className:"hidden items-center gap-2 rounded-2xl border border-border/70 bg-white/75 px-2 py-1 shadow-sm md:flex",children:Z.map(e=>(0,s.jsx)(ee,{item:e},e.label))}),(0,s.jsxs)("div",{className:"hidden items-center gap-3 md:flex",children:[(0,s.jsx)("a",{href:i,className:"flex-shrink-0 px-4 py-2 rounded-xl text-sm font-semibold text-foreground transition-all hover:-translate-y-0.5 hover:bg-primary-light/50 hover:underline hover:text-primary",children:"Log In"}),(0,s.jsx)(u.default,{href:"/demo",className:"flex-shrink-0 rounded-xl border border-primary/25 bg-white px-4 py-2 text-sm font-semibold text-primary shadow-sm transition-all hover:-translate-y-0.5 hover:bg-primary-light",children:"Watch a Demo"}),(0,s.jsx)("a",{href:l,className:"flex-shrink-0 rounded-xl bg-blue-700 px-4 py-2 text-sm font-semibold text-white shadow-[0_12px_28px_rgba(0, 72, 132, 0.7)] transition-all hover:-translate-y-0.5 hover:bg-blue-500",children:"Start 14-day free trial"})]}),(0,s.jsx)("button",{onClick:()=>t(!e),className:"inline-flex items-center justify-center rounded-xl border border-border bg-white p-2 text-foreground shadow-sm md:hidden","aria-label":"Toggle menu",children:e?(0,s.jsx)("svg",{className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})}):(0,s.jsx)("svg",{className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M4 12h16M4 18h16"})})})]}),(0,s.jsx)(X,{show:e,enter:"transition ease-out duration-200",enterFrom:"opacity-0 -translate-y-2",enterTo:"opacity-100 translate-y-0",leave:"transition ease-in duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 -translate-y-2",children:(0,s.jsxs)("div",{className:"max-h-[calc(100dvh-4.5rem)] overflow-y-auto overscroll-contain border-t border-border bg-white/95 px-4 pb-6 pt-4 shadow-[0_20px_60px_rgba(17,27,46,0.14)] backdrop-blur-xl [-webkit-overflow-scrolling:touch] md:hidden",children:[(0,s.jsx)("nav",{className:"space-y-1",children:Z.map(e=>(0,s.jsx)(et,{item:e,onNavigate:()=>t(!1)},e.label))}),(0,s.jsxs)("div",{className:"mt-6 flex flex-col gap-3",children:[(0,s.jsx)(u.default,{href:"/demo",onClick:()=>t(!1),className:"rounded-xl border border-primary/25 bg-white px-4 py-3 text-center text-sm font-semibold text-primary shadow-sm",children:"Watch a Demo"}),(0,s.jsx)("a",{href:l,className:"rounded-xl bg-blue-600 px-4 py-3 text-center text-sm font-semibold text-white shadow-[0_12px_28px_rgba(0, 72, 132, 0.23)]",children:"Start 14-day free trial"})]})]})})]})}],6835)},98526,e=>{"use strict";var t=e.i(71645);e.s(["default",0,function(){return(0,t.useEffect)(()=>{function e(e){let t=document.getElementById(e);return!!t&&(!function(e,t,r=600){let n=window.scrollY,o=e.getBoundingClientRect().top+window.scrollY-t-n;if(1>Math.abs(o))return;let l=performance.now();requestAnimationFrame(function i(a){let s=Math.min((a-l)/r,1),c=s<.5?4*s*s*s:1-Math.pow(-2*s+2,3)/2;if(s>=1){let r=e.getBoundingClientRect().top+window.scrollY-t;window.scrollTo(0,r)}else window.scrollTo(0,n+o*c),requestAnimationFrame(i)})}(t,parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0),!0)}function t(t){let r=t.target.closest("a[href*='#']");if(!r)return;let n=r.getAttribute("href");if(!n)return;let o=n.indexOf("#");if(-1===o)return;let l=n.slice(o+1);l&&new URL(n,window.location.href).pathname===window.location.pathname&&(t.preventDefault(),e(l),history.pushState(null,"",`#${l}`))}if(window.location.hash){let t=window.location.hash.slice(1);requestAnimationFrame(()=>{requestAnimationFrame(()=>{e(t)})})}return document.addEventListener("click",t),()=>document.removeEventListener("click",t)},[]),null}])},2355,e=>{"use strict";var t=e.i(47167),r=e.i(71645),n=e.i(18566);function o(){return"u">typeof window}function l(){return"production"}function i(){return"development"===((o()?window.vam:l())||"production")}function a(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function s(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}function c(e){return(0,r.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),(0,r.useEffect)(()=>{!function(e={debug:!0},t){var r;if(!o())return;let{beforeSend:n,src:a,dataset:c}=function(e,t){var r,n;let o=e;if(t)try{o={...null==(r=JSON.parse(t))?void 0:r.analytics,...e}}catch{}!function(e="auto"){if("auto"===e){window.vam=l();return}window.vam=e}(o.mode);
5let a={sdkn:"@vercel/analytics"+(o.framework?`/${o.framework}`:""),sdkv:"2.0.1"};return o.disableAutoTrack&&(a.disableAutoTrack="1"),o.viewEndpoint&&(a.viewEndpoint=s(o.viewEndpoint)),o.eventEndpoint&&(a.eventEndpoint=s(o.eventEndpoint)),o.sessionEndpoint&&(a.sessionEndpoint=s(o.sessionEndpoint)),i()&&!1===o.debug&&(a.debug="false"),o.dsn&&(a.dsn=o.dsn),o.endpoint?a.endpoint=o.endpoint:o.basePath&&(a.endpoint=s(`${o.basePath}/insights`)),{beforeSend:o.beforeSend,src:(n=o).scriptSrc?s(n.scriptSrc):i()?"https://va.vercel-scripts.com/v1/script.debug.js":n.basePath?s(`${n.basePath}/insights/script.js`):"/_vercel/insights/script.js",dataset:a}}(e,t);if(window.va||(window.va=function(...e){window.vaq||(window.vaq=[]),window.vaq.push(e)}),n&&(null==(r=window.va)||r.call(window,"beforeSend",n)),document.head.querySelector(`script[src*="${a}"]`))return;let u=document.createElement("script");for(let[e,t]of(u.src=a,Object.entries(c)))u.dataset[e]=t;u.defer=!0,u.onerror=()=>{let e=i()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${a}. ${e}`)},document.head.appendChild(u)}({framework:e.framework||"react",basePath:e.basePath??function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...void 0!==e.route&&{disableAutoTrack:!0},...e},e.configString??function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}())},[]),(0,r.useEffect)(()=>{e.route&&e.path&&function({route:e,path:t}){var r;null==(r=window.va)||r.call(window,"pageview",{route:e,path:t})}({route:e.route,path:e.path})},[e.route,e.path]),null}function u(e){let o,l,i,{route:s,path:u}=(o=(0,n.useParams)(),l=(0,n.useSearchParams)(),i=(0,n.usePathname)(),o?{route:function(e,t){if(!e||!t)return e;let r=e;try{let e=Object.entries(t);for(let[t,n]of e)if(!Array.isArray(n)){let e=a(n);e.test(r)&&(r=r.replace(e,`/[${t}]`))}for(let[t,n]of e)if(Array.isArray(n)){let e=a(n.join("/"));e.test(r)&&(r=r.replace(e,`/[...${t}]`))}return r}catch{return e}}(i,Object.keys(o).length?o:Object.fromEntries(l.entries())),path:i}:{route:null,path:i});return r.default.createElement(c,{path:u,route:s,...e,basePath:function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}
5(),configString:function(){if(void 0!==t.default&&void 0!==t.default.env)return'{"analytics":{"scriptSrc":"1ce1469b0936f8aa/script.js","viewEndpoint":"1ce1469b0936f8aa/view","eventEndpoint":"1ce1469b0936f8aa/event","sessionEndpoint":"1ce1469b0936f8aa/session"},"speedInsights":{"scriptSrc":"cd547c0c61236824/script.js","endpoint":"cd547c0c61236824/vitals"}}'}(),framework:"next"})}e.s(["Analytics",0,function(e){return r.default.createElement(r.Suspense,{fallback:null},r.default.createElement(u,{...e}))}])},8341,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={cancelIdleCallback:function(){return i},requestIdleCallback:function(){return l}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let l="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},i="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},19083,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ESCAPE_REGEX:function(){return i},htmlEscapeAttributeString:function(){return u},htmlEscapeJsonString:function(){return c}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let l={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},i=/[&><\u2028\u2029]/g,a={"&":"&",'"':""","'":"'","<":"<",">":">"},s=/[&"'<>]/g;function c(e){return e.replace(i,e=>l[e])}function u(e){return e.replace(s,e=>a[e])}},79520,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return y},handleClientScriptLoad:function(){return b},initScriptLoader:function(){return g}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let l=e.r(55682),i=e.r(90809),a=e.r(43476),s=l._(e.r(74080)),c=i._(e.r(71645)),u=e.r(42732),d=e.r(22737),f=e.r(8341),p=e.r(19083),h=new Map,m=new Set,v=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:o=null,dangerouslySetInnerHTML:l,children:i="",strategy:a="afterInteractive",onError:c,stylesheets:u}=e,f=r||t;if(f&&m.has(f))return;if(h.has(t)){m.add(f),h.get(t).then(n,c);return}let p=()=>{o&&o(),m.add(f)},v=document.createElement("script"),b=new Promise((e,t)=>{v.addEventListener("load",function(t){e(),n&&n.call(this,t),p()}),v.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});l?(v.innerHTML=l.__html||"",p()):i?(v.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",p()):t&&(v.src=t,h.set(t,b)),(0,d.setAttributesFromProps)(v,e),"worker"===a&&v.setAttribute("type","text/partytown"),v.setAttribute("data-nscript",a),u&&(e=>{if(s.default.preinit)return e.forEach(e=>{s.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(u),document.body.appendChild(v)};function b(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>v(e))}):v(e)}function g(e){e.forEach(b),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");m.add(t)})}function x(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:o=null,strategy:l="afterInteractive",onError:i,stylesheets:d,...h}=e,{updateScripts:b,scripts:g,getIsSsr:x,appDir:y,nonce:w}=(0,c.useContext)(u.HeadManagerContext);w=h.nonce||w;let j=(0,c.useRef)(!1);(0,c.useEffect)(()=>{let e=t||r;j.current||(o&&e&&m.has(e)&&o(),j.current=!0)},[o,t,r]);let k=(0,c.useRef)(!1);if((0,c.useEffect)(()=>{if(!k.current){if("afterInteractive"===l)v(e);else"lazyOnload"===l&&("complete"===document.readyState?(0,f.requestIdleCallback)(()=>v(e)):window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>v(e))}));k.current=!0}},[e,l]),("beforeInteractive"===l||"worker"===l)&&(b?(g[l]=(g[l]||[]).concat([{id:t,src:r,onLoad:n,onReady:o,onError:i,...h,nonce:w}]),b(g)):x&&x()?m.add(t||r):x&&!x()&&v({...e,nonce:w}
5)),y){if(d&&d.forEach(e=>{s.default.preinit(e,{as:"style"})}),"beforeInteractive"===l)if(!r)return h.dangerouslySetInnerHTML&&(h.children=h.dangerouslySetInnerHTML.__html,delete h.dangerouslySetInnerHTML),(0,a.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,p.htmlEscapeJsonString)(JSON.stringify([0,{...h,id:t}]))})`}});else return s.default.preload(r,h.integrity?{as:"script",integrity:h.integrity,nonce:w,crossOrigin:h.crossOrigin}:{as:"script",nonce:w,crossOrigin:h.crossOrigin}),(0,a.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,p.htmlEscapeJsonString)(JSON.stringify([r,{...h,id:t}]))})`}});"afterInteractive"===l&&r&&s.default.preload(r,h.integrity?{as:"script",integrity:h.integrity,nonce:w,crossOrigin:h.crossOrigin}:{as:"script",nonce:w,crossOrigin:h.crossOrigin})}return null}Object.defineProperty(x,"__nextScript",{value:!0});let y=x;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)}]);
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.