PageSourceSearch

https://www.thevoyage.ai/assets/main-BXplHZqW.js

js thevoyage.ai collected 2026-10-01 23:53:57 UTC 477,165 bytes, 14 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/terms-Ce3JD7YZ.js","assets/supabase-browser-xYsJrBgW.js","assets/chunk-BEqpzyXh.js","assets/useRouterState-BamRzxzd.js","assets/createLucideIcon-CEDU0v2w.js","assets/axios-DRbzMio0.js","assets/analytics-XPcBxz7m.js","assets/telemetry-CCuAhcW2.js","assets/react-dom-CDssyIXU.js","assets/jsx-runtime-DOlcsXOY.js","assets/store-badges-BZA24LJe.js","assets/use-subscription-status-NObWgOyi.js","assets/useQuery-CNCNVXbe.js","assets/useBaseQuery-CdpzfpDm.js","assets/removable-BaEG6z2r.js","assets/QueryClientProvider-DesHFHVQ.js","assets/useRouteContext-H6QaE354.js","assets/useMatch-BBRzcsYg.js","assets/matchContext-CnIMt6P2.js","assets/tiny-invariant-Boh5h6e0.js","assets/blog-categories-B0VpiJjD.js","assets/legal-dates-Db8rwJtb.js","assets/support-B6SB67di.js","assets/es2015-C7CnQsnk.js","assets/button-gj4yBSBX.js","assets/utils-DSGxxePe.js","assets/loader-circle-C6C0ebAY.js","assets/dist-DV8ixfq4.js","assets/normalize-markdown-blocks-DYDeWkZh.js","assets/link-B-tYfDFD.js","assets/lib-CBNr91ol.js","assets/lib-NHAHprzZ.js","assets/parse-citations-Cb571rRb.js","assets/normalize-markdown-blocks-CSceNpVM.css","assets/auth-BkHDApx1.js","assets/redirect-4gabt16D.js","assets/qss-DBRMlfTT.js","assets/chat-markdown-BQ-atob1.js","assets/seo-CB6_28Vz.js","assets/seo-title-experiments-B7DWrE0B.js","assets/email-feedback-link-BZ7hMVPH.js","assets/report-bug-panel-CxRPFiXF.js","assets/paperclip-CjiBwp8R.js","assets/plus-BgxVPp3h.js","assets/send-BnTyD_Vb.js","assets/x-IFOBgzyr.js","assets/subscribe-CR2U-U2Z.js","assets/useMutation-Bl8VeA2N.js","assets/usage-packs-B_JdtxiR.js","assets/arrow-up-right-BTwdHBOn.js","assets/check-CuPIAqPa.js","assets/dog-CsZwl1dx.js","assets/image-plus-CZopU5UH.js","assets/message-circle-D62-8eLb.js","assets/contextual-usage-pack-CJ56omAw.js","assets/signup-intent-DBbkgMYF.js","assets/product-D1KIRvYq.js","assets/proxy-C5DPW04U.js","assets/animate-on-scroll-Db1lve4h.js","assets/landing-page-view-CdviUrj5.js","assets/AnimatePresence-CHBLfqtT.js","assets/book-open-text-BTuOXBSy.js","assets/book-open-Cd51NErX.js","assets/chevron-right-D-oGCHNu.js","assets/clipboard-list-DftcYa_U.js","assets/benchmarks-section-DW35zMX5.js","assets/file-text-CwA-HqH2.js","assets/pill-CWDc1NMW.js","assets/search-DrDhwRzc.js","assets/stethoscope-BaHScUEh.js","assets/voyage-blog-api-CY9PVBKC.js","assets/faq-linkify-STKc6kpE.js","assets/vet-knowledge-gF-S5Af5.js","assets/privacy-CE6GjpVr.js","assets/pet-symptom-checker-CyzmnSys.js","assets/saved-assessment-DuYqGUhT.js","assets/chevron-left-BCIpj6u6.js","assets/triage-species-BCavMh22.js","assets/care-api-B3lg1bDB.js","assets/queryOptions-WPr4mwtH.js","assets/triage-api-CIG10TPA.js","assets/preload-helper-B1FGR6Eu.js","assets/ai-vet-landing-C_drVbGA.js","assets/camera-BbpNL3fY.js","assets/triage-form-page-DO27EZI2.js","assets/useNavigate-DM__V3do.js","assets/smartphone-BVUq3MPG.js","assets/triage-journey-store-Zrvqnhk6.js","assets/triage-journey--2xUyyMk.js","assets/ai-vet-content-B0H4GBtv.js","assets/triage-entry-handoff-D-DWRDXk.js","assets/pacc-34PHsa55.js","assets/Match-Z_QpLsQy.js","assets/root-LQluJ85Z.js","assets/log-out-C8hoHskN.js","assets/logout-C7SXtBO_.js","assets/forvets-DiAZswGA.js","assets/dropdown-menu-BNIipPeL.js","assets/open-shell-Cu64Q8pP.js","assets/useSearch-CKWW02Fi.js","assets/chevron-up-_Q7Xw-rp.js","assets/help-launcher-CGISp8eT.js","assets/newspaper-Cy8P5lKV.js","assets/pencil-_DfgyLll.js","assets/trash-2-BzXSR01D.js","assets/message-utils-DP67l7Al.js","assets/chat-tool-status-POTBCs1o.js","assets/circle-check-DkGH1MFZ.js","assets/vet-case-workspace-api-Ds-vXv7N.js","assets/open-voyage-session-api-GbeWczPN.js","assets/data-deletion-1SVluZUk.js","assets/ai-vet-for-dogs-90B6Rjg1.js","assets/ai-vet-for-cats-C6Y7mIQa.js","assets/ai-vet-accuracy-BVT430Df.js","assets/ai-vet-BZ0pBTIC.js","assets/ai-disclaimer-DlUE8R7N.js","assets/admin-MYTWAtj3.js","assets/useLocation-CHWMDUYi.js","assets/activity-DyhYL4gL.js","assets/chevron-down-DAnECOdv.js","assets/menu-DPBNw1Cp.js","assets/admin-api-7KWMMXn1.js","assets/_authed-5k5lFflB.js","assets/routes-D8lGKWHM.js","assets/tools-DJt66itR.js","assets/blog-BX3wtAEz.js","assets/blog-pagination-b3XdmUXI.js","assets/format-date-B1uuIaiU.js","assets/_toxin-BdBUKzE4.js","assets/toxin-calculator-BDEWemcK.js","assets/share-2-Dxo0Mhrn.js","assets/subscribe_.success-uqGNAQxB.js","assets/sugar-glider-health-CV65KQ3o.js","assets/blog-hub-page-f7a58cj-.js","assets/reptile-health-DYZgDVPA.js","assets/rat-health-DbYo8BsL.js","assets/rabbit-health-B8VzJQW7.js","assets/mouse-health-CG_KaICl.js","assets/hedgehog-health-CETuCLkj.js","assets/hamster-health-D6tYrT_5.js","assets/guinea-pig-health-Djg5prgm.js","assets/gerbil-health-DKUS-pIy.js","assets/fish-health-qTazzlhF.js","assets/ferret-health-DNZh6PtB.js","assets/dog-health-BMQBKTEE.js","assets/degu-health-3yzu9LL6.js","assets/chinchilla-health-BwXz58Tg.js","assets/cat-health-ClTFmXbY.js","assets/bird-health-D4Pzutlo.js","assets/amphibian-health-Dva5P_1B.js","assets/_slug-CK5a585T.js","assets/arrow-left-BH-SgDHb.js","assets/clock-DmyZoykM.js","assets/blog-triage-CWh9wDb1.js","assets/blog-links-Zf2I4IbY.js","assets/symptom-checker-content-CRdZuZ6r.js","assets/triage-claim-CPM2z3hR.js","assets/callback-Dw4Jfnqs.js","assets/appsumo.activate-Bvze4kXM.js","assets/pacc-CXZlRyR7.js","assets/login-BP-aQ3Hm.js","assets/mail-B0nbKstr.js","assets/enroll-DPjMNXgA.js","assets/badge-check-DHa_lcxf.js","assets/coordinator-login-CZPhEyjt.js","assets/coordinator-CM8OMn6f.js","assets/clipboard-check-CCGF7WXN.js","assets/eye-D0b4tBKD.js","assets/animals-BsX-9x-5.js","assets/calendar-clock-B2ac80CG.js","assets/forvets-FJuhwaR6.js","assets/rotate-ccw-D3rITk5R.js","assets/scroll-text-DGylP4rA.js","assets/citation-relevance-tier-UpoQn65e.js","assets/sources-Dz8fYqaJ.js","assets/rejected-D_wopE1D.js","assets/open-voyage-api-D44Xchqw.js","assets/use-vet-status-B4h3q5Vc.js","assets/preferences-DmrM8psB.js","assets/vet-onboarding-CN3AOUE7.js","assets/vet-document-settings-api-Dy_PGKuq.js","assets/pending-CbHeH7FT.js","assets/library-preview-CSBJaWr0.js","assets/documents-hub-BXhfxyDV.js","assets/document-settings-BOxRhETN.js","assets/ask-CIXTe6sJ.js","assets/voyage-chat-transport-od2fTL5u.js","assets/message-list-ChFvb3Q1.js","assets/copy-Dwy6Rx0U.js","assets/flask-conical-Dr4pH42Q.js","assets/info-BElFjdup.js","assets/printer-CNmzw6au.js","assets/refresh-cw-Bjki2RHc.js","assets/shield-alert-r7vo3xI2.js","assets/open-chat-markdown-1MbL1_mW.js","assets/forvets-skills-api-DUPzhTFr.js","assets/vet-analytics-C5i67_AN.js","assets/admin-analytics-api-ji3CDyb0.js","assets/bar-scale-CVvpTJyO.js","assets/users-m8ZF9Nnl.js","assets/useInfiniteQuery-DA5J0bZS.js","assets/cards-feed-4r4IFbHR.js","assets/admin-subscription-TnHdKQ_M.js","assets/admin-users-api-zqmvs-j6.js","assets/triage-Bd5nx4wv.js","assets/admin-cards-api-fHiM_SXK.js","assets/sessions-B7-jYIAv.js","assets/reminders-HAIXLD-h.js","assets/overview-mxZ5ze_n.js","assets/open-voyage-DJFzqtG6.js","assets/nutrition-DhDqhAcO.js","assets/medical-records-DPgcfycH.js","assets/health360-H-eFk8p6.js","assets/bug-reports-Ctt014Gt.js","assets/app-analytics-DHCmH3Va.js","assets/admin-app-analytics-api-DRCqyOQU.js","assets/analytics-Cc-zFiI8.js","assets/activity-CBVYq3SW.js","assets/care-hJahUepq.js","assets/verdict-band-DdVmhMQL.js","assets/_symptom-DYKAQMQ1.js","assets/clock-3-9zg01Vb-.js","assets/care._contextId-CgO6Yz-3.js","assets/skills-CmtcCPbi.js","assets/library-Bp3F10Tv.js","assets/knowledge-Cj5zxDqv.js","assets/knowledge-card-CpHVtGwA.js","assets/new-l5tEgmO8.js","assets/skill-editor-BoGq1Vmg.js","assets/_skillId-BfggxmS3.js","assets/pain-management-BdKJFTLJ.js","assets/knowledge-category-page-Bju20M-b.js","assets/gastroenterology-Bg8YaWdk.js","assets/dermatology-CT8Vi_mq.js","assets/_slug-DZeMdkVZ.js","assets/_ref-Bi664OVB.js","assets/_bookRef-S_lhz1B8.js","assets/open-voyage._userId-7l3VEOde.js","assets/open-voyage._userId_.chat-history-BV8zSZ8k.js","assets/_jobId-BBa91DvL.js","assets/_cardId-DsAHk2gC.js"])))=>i.map(i=>d[i]);
2import{a as e,t}from"./chunk-BEqpzyXh.js";import{n,t as r}from"./createLucideIcon-CEDU0v2w.js";import{t as i}from"./react-dom-CDssyIXU.js";import{t as a}from"./jsx-runtime-DOlcsXOY.js";import{a as o,c as s,i as c,l,n as u,o as d,r as f,s as p,t as m,u as h}from"./Match-Z_QpLsQy.js";import{f as g,g as _,l as v,n as y,o as b,r as x,t as S,u as C}from"./useRouterState-BamRzxzd.js";import{t as ee}from"./tiny-invariant-Boh5h6e0.js";import{d as w,r as te,t as T}from"./link-B-tYfDFD.js";import{a as ne,i as re,r as E}from"./redirect-4gabt16D.js";import"./root-LQluJ85Z.js";import{i as ie,n as D,r as ae,t as O}from"./lazyRouteComponent--c4tE12x.js";
vendor: 18,125 bytes, lines 2-9
2import{c as k,d as A,f as oe,i as se,l as ce,m as le,n as ue,o as j,p as de,r as fe,t as pe,u as me}from"./auth-BkHDApx1.js";import{n as he}from"./matchContext-CnIMt6P2.js";import{t as ge}from"./useNavigate-DM__V3do.js";import{t as _e}from"./useRouteContext-H6QaE354.js";import{t as ve}from"./useLocation-CHWMDUYi.js";import{O as ye,T as be,a as xe,b as Se,c as Ce,d as we,f as Te,h as Ee,j as De,l as Oe,m as ke,o as Ae,p as je,u as Me,v as Ne,x as Pe,y as Fe}from"./removable-BaEG6z2r.js";import{d as Ie}from"./useBaseQuery-CdpzfpDm.js";import{n as Le,t as Re}from"./useMutation-Bl8VeA2N.js";import{n as ze,t as Be}from"./QueryClientProvider-DesHFHVQ.js";import{t as Ve}from"./useQuery-CNCNVXbe.js";import{t as He}from"./queryOptions-WPr4mwtH.js";import{a as M,c as Ue,d as We,f as Ge,i as Ke,l as qe,m as Je,n as Ye,o as Xe,p as Ze,s as Qe,u as $e}from"./analytics-XPcBxz7m.js";import{t as et}from"./supabase-browser-xYsJrBgW.js";import{t as N}from"./preload-helper-B1FGR6Eu.js";import{a as tt,n as nt,o as rt,t as it}from"./axios-DRbzMio0.js";import{i as at,n as ot,t as st}from"./telemetry-CCuAhcW2.js";import{t as ct}from"./store-badges-BZA24LJe.js";import{t as P}from"./utils-DSGxxePe.js";import{a as lt,n as ut,t as dt}from"./button-gj4yBSBX.js";import"./usage-packs-B_JdtxiR.js";import{t as ft}from"./check-CuPIAqPa.js";import{t as pt}from"./chevron-down-DAnECOdv.js";import{t as mt}from"./info-BElFjdup.js";import{t as ht}from"./loader-circle-C6C0ebAY.js";import{t as gt}from"./menu-DPBNw1Cp.js";import{t as _t}from"./message-circle-D62-8eLb.js";import{t as vt}from"./x-IFOBgzyr.js";import{t as yt}from"./dist-DV8ixfq4.js";import{a as bt,c as xt,d as St,f as Ct,i as wt,l as Tt,m as Et,n as Dt,o as Ot,p as kt,r as At,s as jt,t as Mt,u as Nt}from"./es2015-C7CnQsnk.js";import{C as Pt,D as Ft,E as It,O as Lt,S as Rt,_ as zt,b as Bt,d as Vt,r as Ht,v as Ut,w as Wt,x as Gt}from"./use-subscription-status-NObWgOyi.js";import"./seo-title-experiments-B7DWrE0B.js";import{E as Kt,S as qt,_ as Jt,a as Yt,b as Xt,c as Zt,d as Qt,f as $t,g as en,h as F,i as tn,k as nn,l as rn,m as an,n as on,o as sn,p as I,r as cn,s as ln,t as un,u as dn,v as fn,x as pn,y as L}from"./seo-CB6_28Vz.js";import{a as mn,i as hn,n as gn,o as _n,r as vn,t as yn}from"./signup-intent-DBbkgMYF.js";import{c as bn,n as xn,t as Sn}from"./contextual-usage-pack-CJ56omAw.js";import{d as Cn,i as wn,s as Tn,u as En}from"./triage-api-CIG10TPA.js";import{a as Dn,c as On,i as kn,n as An,r as jn,t as Mn}from"./blog-categories-B0VpiJjD.js";import{c as Nn,i as Pn,l as Fn,n as In,r as Ln,t as Rn,u as zn}from"./ai-vet-content-B0H4GBtv.js";import{n as Bn}from"./admin-api-7KWMMXn1.js";import{a as Vn,n as Hn,o as Un,r as Wn,t as Gn}from"./voyage-blog-api-CY9PVBKC.js";import{n as Kn,r as qn}from"./blog-links-Zf2I4IbY.js";import"./format-date-B1uuIaiU.js";import{n as Jn,t as Yn}from"./vet-knowledge-gF-S5Af5.js";import{i as Xn,n as Zn,r as Qn,t as $n}from"./open-voyage-api-D44Xchqw.js";import{n as er,t as tr}from"./use-vet-status-B4h3q5Vc.js";import{i as nr,s as rr}from"./open-voyage-session-api-GbeWczPN.js";import{r as ir}from"./admin-analytics-api-ji3CDyb0.js";import{t as ar}from"./admin-cards-api-fHiM_SXK.js";import{n as or,t as sr}from"./symptom-checker-content-CRdZuZ6r.js";var cr=t((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,S||(S=!0,ne());else{var t=n(l);t!==null&&ie(x,t.startTime-e)}}var S=!1,C=-1,ee=5,w=-1;function te(){return g?!0:!(e.unstable_now()-w<ee)}function T(){if(g=!1,S){var t=e.unstable_now();w=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&te());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&ie(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?ne():S=!1}}}var ne;if(typeof y==`function`)ne=function(){y(T)};else if(typeof MessageChannel<`u`){var re=new MessageChannel,E=re.port2;re.port1.onmessage=T,ne=function(){E.postMessage(null)}}else ne=function(){_(T,0)};function ie(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):ee=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,ie(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,ne()))),r},e.unstable_shouldYield=te,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),lr=t(((e,t)=>{t.exports=cr()})),ur=t((e=>{var t=lr(),r=n(),a=i();function o(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function s(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function c(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function l(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function u(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function d(e){if(c(e)!==e)throw Error(o(188))}function f(e){var t=e.alternate;if(!t){if(t=c(e),t===null)throw Error(o(188));return t===e?e:null}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var a=i.alternate;if(a===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return d(i),e;if(a===r)return d(i),t;a=a.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=a;break}if(l===r){s=!0,r=i,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=i;break}if(l===r){s=!0,r=a,n=i;break}l=l.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(n.tag!==3)throw Error(o(188));return n.stateNode.current===n?e:t}function p(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=p(e),t!==null)return t;e=e.sibling}return null}var m=Object.assign,h=Symbol.for(`react.element`),g=Symbol.for(`react.transitional.element`),_=Symbol.for(`react.portal`),v=Symbol.for(`react.fragment`),y=Symbol.for(`react.strict_mode`),b=Symbol.for(`react.profiler`),x=Symbol.for(`react.consumer`),S=Symbol.for(`react.context`),C=Symbol.for(`react.forward_ref`),ee=Symbol.for(`react.suspense`),w=Symbol.for(`react.suspense_list`),te=Symbol.for(`react.memo`),T=Symbol.for(`react.lazy`),ne=Symbol.for(`react.activity`),re=Symbol.for(`react.memo_cache_sentinel`),E=Symbol.iterator;function ie(e){return typeof e!=`object`||!e?null:(e=E&&e[E]||e[`@@iterator`],typeof e==`function`?e:null)}var D=Symbol.for(`react.client.reference`);function ae(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===D?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case v:return`Fragment`;case b:return`Profiler`;case y:return`StrictMode`;case ee:return`Suspense`;case w:return`SuspenseList`;case ne:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case _:return`Portal`;case S:return e.displayName||`Context`;case x:return(e._context.displayName||`Context`)+`.Consumer`;case C:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case te:return t=e.displayName||null,t===null?ae(e.type)||`Memo`:t;case T:t=e._payload,e=e._init;try{return ae(e(t))}catch{}}return null}var O=Array.isArray,k=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,A=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},se=[],ce=-1;function le(e){return{current:e}}function ue(e){0>ce||(e.current=se[ce],se[ce]=null,ce--)}function j(e,t){ce++,se[ce]=e.current,e.current=t}var de=le(null),fe=le(null),pe=le(null),me=le(null);function he(e,t){switch(j(pe,t),j(fe,e),j(de,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Vd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Vd(t),e=Hd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}ue(de),j(de,e)}function ge(){ue(de),ue(fe),ue(pe)}function _e(e){e.memoizedState!==null&&j(me,e);var t=de.current,n=Hd(t,e.type);t!==n&&(j(fe,e),j(de,n))}function ve(e){fe.current===e&&(ue(de),ue(fe)),me.current===e&&(ue(me),Qf._currentValue=oe)}var ye,be;function xe(e){if(ye===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);ye=t&&t[1]||``,be=-1<e.stack.indexOf(`
3    at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
4`+ye+e+be}var Se=!1;function Ce(e,t){if(!e||Se)return``;Se=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,`props`,{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,`name`,{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
5`),l=s.split(`
6`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
7`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{Se=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?xe(n):``}function we(e,t){switch(e.tag){case 26:case 27:case 5:return xe(e.type);case 16:return xe(`Lazy`);case 13:return e.child!==t&&t!==null?xe(`Suspense Fallback`):xe(`Suspense`);case 19:return xe(`SuspenseList`);case 0:case 15:return Ce(e.type,!1);case 11:return Ce(e.type.render,!1);case 1:return Ce(e.type,!0);case 31:return xe(`Activity`);default:return``}}function Te(e){try{var t=``,n=null;do t+=we(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
8Error generating stack: `+e.message+`
9`+e.stack}}var Ee=Object.prototype.hasOwnProperty,De=t.unstable_scheduleCallback,Oe=t.unstable_cancelCallback,ke=t.unstable_shouldYield,Ae=t.unstable_requestPaint,je=t.unstable_now,Me=t.unstable_getCurrentPriorityLevel,Ne=t.unstable_ImmediatePriority,Pe=t.unstable_UserBlockingPriority,Fe=t.unstable_NormalPriority,Ie=t.unstable_LowPriority,Le=t.unstable_IdlePriority,Re=t.log,ze=t.unstable_setDisableYieldValue,Be=null,Ve=null;function He(e){if(typeof Re==`function`&&ze(e),Ve&&typeof Ve.setStrictMode==`function`)try{Ve.setStrictMode(Be,e)}catch{}}var M=Math.clz32?Math.clz32:Ge,Ue=Math.log,We=Math.LN2;function Ge(e){return e>>>=0,e===0?32:31-(Ue(e)/We|0)|0}var Ke=256,qe=262144,Je=4194304;function Ye(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Xe(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=Ye(n))):i=Ye(o):i=Ye(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Ye(n))):i=Ye(o)):i=Ye(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function Ze(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Qe(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function $e(){var e=Je;return Je<<=1,!(Je&62914560)&&(Je=4194304),e}function et(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function N(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function tt(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-M(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&nt(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function nt(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-M(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function rt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-M(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function it(e,t){var n=t&-t;return n=n&42?1:at(n),(n&(e.suspendedLanes|t))===0?n:0}function at(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ot(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function st(){var e=A.p;return e===0?(e=window.event,e===void 0?32:mp(e.type)):e}function ct(e,t){var n=A.p;try{return A.p=e,t()}finally{A.p=n}}var P=Math.random().toString(36).slice(2),lt=`__reactFiber$`+P,ut=`__reactProps$`+P,dt=`__reactContainer$`+P,ft=`__reactEvents$`+P,pt=`__reactListeners$`+P,mt=`__reactHandles$`+P,ht=`__reactResources$`+P,gt=`__reactMarker$`+P;function _t(e){delete e[lt],delete e[ut],delete e[ft],delete e[pt],delete e[mt]}function vt(e){var t=e[lt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[dt]||n[lt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=df(e);e!==null;){if(n=e[lt])return n;e=df(e)}return t}e=n,n=e.parentNode}return null}function yt(e){if(e=e[lt]||e[dt]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function bt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function xt(e){var t=e[ht];return t||=e[ht]={hoistableStyles:new Map,hoistableScripts:new Map},t}function St(e){e[gt]=!0}var Ct=new Set,wt={};function Tt(e,t){Et(e,t),Et(e+`Capture`,t)}function Et(e,t){for(wt[e]=t,e=0;e<t.length;e++)Ct.add(t[e])}var Dt=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u
9037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),Ot={},kt={};function At(e){return Ee.call(kt,e)?!0:Ee.call(Ot,e)?!1:Dt.test(e)?kt[e]=!0:(Ot[e]=!0,!1)}function jt(e,t,n){if(At(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,``+n)}}function Mt(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,``+n)}}function Nt(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,``+r)}}function Pt(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function Ft(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function It(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Lt(e){if(!e._valueTracker){var t=Ft(e)?`checked`:`value`;e._valueTracker=It(e,t,``+e[t])}}function Rt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Ft(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function zt(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}var Bt=/[\n"\\]/g;function Vt(e){return e.replace(Bt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Ht(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+Pt(t)):e.value!==``+Pt(t)&&(e.value=``+Pt(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Wt(e,o,Pt(n)):Wt(e,o,Pt(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+Pt(s):e.removeAttribute(`name`)}function Ut(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){Lt(e);return}n=n==null?``:``+Pt(n),t=t==null?n:``+Pt(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),Lt(e)}function Wt(e,t,n){t===`number`&&zt(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function Gt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+Pt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Kt(e,t,n){if(t!=null&&(t=``+Pt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+Pt(n)}function qt(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(o(92));if(O(r)){if(1<r.length)throw Error(o(93));r=r[0]}n=r}n??=``,t=n}
vendor: 87,310 bytes, line 9
9n=Pt(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),Lt(e)}function Jt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Yt=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `));function Xt(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||Yt.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function Zt(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(o(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``);for(var i in t)r=t[i],t.hasOwnProperty(i)&&n[i]!==r&&Xt(e,i,r)}else for(var a in t)t.hasOwnProperty(a)&&Xt(e,a,t[a])}function Qt(e){if(e.indexOf(`-`)===-1)return!1;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var $t=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),en=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function F(e){return en.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function tn(){}var nn=null;function rn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var an=null,on=null;function sn(e){var t=yt(e);if(t&&(e=t.stateNode)){var n=e[ut]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Ht(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+Vt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=r[ut]||null;if(!i)throw Error(o(90));Ht(r,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&Rt(r)}break a;case`textarea`:Kt(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Gt(e,!!n.multiple,t,!1)}}}var I=!1;function cn(e,t,n){if(I)return e(t,n);I=!0;try{return e(t)}finally{if(I=!1,(an!==null||on!==null)&&(bu(),an&&(t=an,e=on,on=an=null,sn(t),e)))for(t=0;t<e.length;t++)sn(e[t])}}function ln(e,t){var n=e.stateNode;if(n===null)return null;var r=n[ut]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=!(e===`button`||e===`input`||e===`select`||e===`textarea`)),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(o(231,t,typeof n));return n}var un=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),dn=!1;if(un)try{var fn={};Object.defineProperty(fn,`passive`,{get:function(){dn=!0}}),window.addEventListener(`test`,fn,fn),window.removeEventListener(`test`,fn,fn)}catch{dn=!1}var pn=null,L=null,mn=null;function hn(){if(mn)return mn;var e,t=L,n=t.length,r,i=`value`in pn?pn.value:pn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return mn=i.slice(e,1<r?1-r:void 0)}function gn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function _n(){return!0}function vn(){return!1}function yn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?_n:vn,this.isPropagationStopped=vn,this}return m(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=_n)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=_n)},persist:function(){},isPersistent:_n}),t}var bn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},xn=yn(bn),Sn=m({},bn,{view:0,detail:0}),Cn=yn(Sn),wn,Tn,En,Dn=m({},Sn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Rn,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==En&&(En&&e.type===`mousemove`?(wn=e.screenX-En.screenX,Tn=e.screenY-En.screenY):Tn=wn=0,En=e),wn)},movementY:function(e){return`movementY`in e?e.movementY:Tn}}),On=yn(Dn),kn=yn(m({},Dn,{dataTransfer:0})),An=yn(m({},Sn,{relatedTarget:0})),jn=yn(m({},bn,{animationName:0,elapsedTime:0,pseudoElement:0})),Mn=yn(m({},bn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Nn=yn(m({},bn,{data:0})),Pn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Fn={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},In={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Ln(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=In[e])?!!t[e]:!1}function Rn(){return Ln}var zn=yn(m({},Sn,{key:function(e){if(e.key){var t=Pn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=gn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Fn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Rn,charCode:function(e){return e.type===`keypress`?gn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?gn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Bn=yn(m({},Dn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Vn=yn(m({},Sn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Rn})),Hn=yn(m({},bn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Un=yn(m({},Dn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Wn=yn(m({},bn,{newState:0,oldState:0})),Gn=[9,13,27,32],Kn=un&&`CompositionEvent`in window,qn=null;un&&`documentMode`in document&&(qn=document.documentMode);var Jn=un&&`TextEvent`in window&&!qn,Yn=un&&(!Kn||qn&&8<qn&&11>=qn),Xn=` `,Zn=!1;function Qn(e,t){switch(e){case`keyup`:return Gn.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function $n(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var er=!1;function tr(e,t){switch(e){case`compositionend`:return $n(t);case`keypress`:return t.which===32?(Zn=!0,Xn):null;case`textInput`:return e=t.data,e===Xn&&Zn?null:e;default:return null}}function nr(e,t){if(er)return e===`compositionend`||!Kn&&Qn(e,t)?(e=hn(),mn=L=pn=null,er=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return Yn&&t.locale!==`ko`?null:t.data;default:return null}}var rr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ir(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!rr[e.type]:t===`textarea`}function ar(e,t,n,r){an?on?on.push(r):on=[r]:an=r,t=Ed(t,`onChange`),0<t.length&&(n=new xn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var or=null,sr=null;function cr(e){yd(e,0)}function ur(e){if(Rt(bt(e)))return e}function dr(e,t){if(e===`change`)return t}var fr=!1;if(un){var pr;if(un){var R=`oninput`in document;if(!R){var z=document.createElement(`div`);z.setAttribute(`oninput`,`return;`),R=typeof z.oninput==`function`}pr=R}else pr=!1;fr=pr&&(!document.documentMode||9<document.documentMode)}function mr(){or&&(or.detachEvent(`onpropertychange`,hr),sr=or=null)}function hr(e){if(e.propertyName===`value`&&ur(sr)){var t=[];ar(t,sr,e,rn(e)),cn(cr,t)}}function gr(e,t,n){e===`focusin`?(mr(),or=t,sr=n,or.attachEvent(`onpropertychange`,hr)):e===`focusout`&&mr()}function _r(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return ur(sr)}function vr(e,t){if(e===`click`)return ur(t)}function yr(e,t){if(e===`input`||e===`change`)return ur(t)}function br(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var xr=typeof Object.is==`function`?Object.is:br;function Sr(e,t){if(xr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Ee.call(t,i)||!xr(e[i],t[i]))return!1}return!0}function Cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function wr(e,t){var n=Cr(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Cr(n)}}function Tr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Tr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Er(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=zt(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=zt(e.document)}return t}function Dr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var Or=un&&`documentMode`in document&&11>=document.documentMode,kr=null,Ar=null,jr=null,Mr=!1;function Nr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Mr||kr==null||kr!==zt(r)||(r=kr,`selectionStart`in r&&Dr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),jr&&Sr(jr,r)||(jr=r,r=Ed(Ar,`onSelect`),0<r.length&&(t=new xn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=kr)))}function Pr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Fr={animationend:Pr(`Animation`,`AnimationEnd`),animationiteration:Pr(`Animation`,`AnimationIteration`),animationstart:Pr(`Animation`,`AnimationStart`),transitionrun:Pr(`Transition`,`TransitionRun`),transitionstart:Pr(`Transition`,`TransitionStart`),transitioncancel:Pr(`Transition`,`TransitionCancel`),transitionend:Pr(`Transition`,`TransitionEnd`)},Ir={},Lr={};un&&(Lr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Fr.animationend.animation,delete Fr.animationiteration.animation,delete Fr.animationstart.animation),`TransitionEvent`in window||delete Fr.transitionend.transition);function Rr(e){if(Ir[e])return Ir[e];if(!Fr[e])return e;var t=Fr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Lr)return Ir[e]=t[n];return e}var zr=Rr(`animationend`),Br=Rr(`animationiteration`),Vr=Rr(`animationstart`),Hr=Rr(`transitionrun`),Ur=Rr(`transitionstart`),Wr=Rr(`transitioncancel`),Gr=Rr(`transitionend`),Kr=new Map,qr=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);qr.push(`scrollEnd`);function Jr(e,t){Kr.set(e,t),Tt(t,[e])}var Yr=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},Xr=[],Zr=0,Qr=0;function $r(){for(var e=Zr,t=Qr=Zr=0;t<e;){var n=Xr[t];Xr[t++]=null;var r=Xr[t];Xr[t++]=null;var i=Xr[t];Xr[t++]=null;var a=Xr[t];if(Xr[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&ri(n,i,a)}}function ei(e,t,n,r){Xr[Zr++]=e,Xr[Zr++]=t,Xr[Zr++]=n,Xr[Zr++]=r,Qr|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function ti(e,t,n,r){return ei(e,t,n,r),ii(e)}function ni(e,t){return ei(e,null,null,t),ii(e)}function ri(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-M(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function ii(e){if(50<du)throw du=0,fu=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ai={};function oi(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function si(e,t,n,r){return new oi(e,t,n,r)}function ci(e){return e=e.prototype,!(!e||!e.isReactComponent)}function li(e,t){var n=e.alternate;return n===null?(n=si(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function ui(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function di(e,t,n,r,i,a){var s=0;if(r=e,typeof e==`function`)ci(e)&&(s=1);else if(typeof e==`string`)s=Uf(e,n,de.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case ne:return e=si(31,n,t,i),e.elementType=ne,e.lanes=a,e;case v:return fi(n.children,i,a,t);case y:s=8,i|=24;break;case b:return e=si(12,n,t,i|2),e.elementType=b,e.lanes=a,e;case ee:return e=si(13,n,t,i),e.elementType=ee,e.lanes=a,e;case w:return e=si(19,n,t,i),e.elementType=w,e.lanes=a,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case S:s=10;break a;case x:s=9;break a;case C:s=11;break a;case te:s=14;break a;case T:s=16,r=null;break a}s=29,n=Error(o(130,e===null?`null`:typeof e,``)),r=null}return t=si(s,n,t,i),t.elementType=e,t.type=r,t.lanes=a,t}function fi(e,t,n,r){return e=si(7,e,r,t),e.lanes=n,e}function pi(e,t,n){return e=si(6,e,null,t),e.lanes=n,e}function mi(e){var t=si(18,null,null,0);return t.stateNode=e,t}function hi(e,t,n){return t=si(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var gi=new WeakMap;function _i(e,t){if(typeof e==`object`&&e){var n=gi.get(e);return n===void 0?(t={value:e,source:t,stack:Te(t)},gi.set(e,t),t):n}return{value:e,source:t,stack:Te(t)}}var vi=[],yi=0,bi=null,xi=0,Si=[],Ci=0,wi=null,Ti=1,Ei=``;function Di(e,t){vi[yi++]=xi,vi[yi++]=bi,bi=e,xi=t}function Oi(e,t,n){Si[Ci++]=Ti,Si[Ci++]=Ei,Si[Ci++]=wi,wi=e;var r=Ti;e=Ei;var i=32-M(r)-1;r&=~(1<<i),n+=1;var a=32-M(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Ti=1<<32-M(t)+i|n<<i|r,Ei=a+e}else Ti=1<<a|n<<i|r,Ei=e}function ki(e){e.return!==null&&(Di(e,1),Oi(e,1,0))}function Ai(e){for(;e===bi;)bi=vi[--yi],vi[yi]=null,xi=vi[--yi],vi[yi]=null;for(;e===wi;)wi=Si[--Ci],Si[Ci]=null,Ei=Si[--Ci],Si[Ci]=null,Ti=Si[--Ci],Si[Ci]=null}function ji(e,t){Si[Ci++]=Ti,Si[Ci++]=Ei,Si[Ci++]=wi,Ti=t.id,Ei=t.overflow,wi=e}var B=null,Mi=null,V=!1,Ni=null,Pi=!1,Fi=Error(o(519));function Ii(e){throw Hi(_i(Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),Fi}function Li(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[lt]=e,t[ut]=r,n){case`dialog`:Q(`cancel`,t),Q(`close`,t);break;case`iframe`:case`object`:case`embed`:Q(`load`,t);break;case`video`:case`audio`:for(n=0;n<_d.length;n++)Q(_d[n],t);break;case`source`:Q(`error`,t);break;case`img`:case`image`:case`link`:Q(`error`,t),Q(`load`,t);break;case`details`:Q(`toggle`,t);break;case`input`:Q(`invalid`,t),Ut(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:Q(`invalid`,t);break;case`textarea`:Q(`invalid`,t),qt(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||Md(t.textContent,n)?(r.popover!=null&&(Q(`beforetoggle`,t),Q(`toggle`,t)),r.onScroll!=null&&Q(`scroll`,t),r.onScrollEnd!=null&&Q(`scrollend`,t),r.onClick!=null&&(t.onclick=tn),t=!0):t=!1,t||Ii(e,!0)}function Ri(e){for(B=e.return;B;)switch(B.tag){case 5:case 31:case 13:Pi=!1;return;case 27:case 3:Pi=!0;return;default:B=B.return}}function zi(e){if(e!==B)return!1;if(!V)return Ri(e),V=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==`form`&&n!==`button`)||Ud(e.type,e.memoizedProps)),n=!n),n&&Mi&&Ii(e),Ri(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(o(317));Mi=uf(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(o(317));Mi=uf(e)}else t===27?(t=Mi,Zd(e.type)?(e=lf,lf=null,Mi=e):Mi=t):Mi=B?cf(e.stateNode.nextSibling):null;return!0}function Bi(){Mi=B=null,V=!1}function Vi(){var e=Ni;return e!==null&&(Zl===null?Zl=e:Zl.push.apply(Zl,e),Ni=null),e}function Hi(e){Ni===null?Ni=[e]:Ni.push(e)}var Ui=le(null),Wi=null,Gi=null;function Ki(e,t,n){j(Ui,t._currentValue),t._currentValue=n}function qi(e){e._currentValue=Ui.current,ue(Ui)}function Ji(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function Yi(e,t,n,r){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var a=i.dependencies;if(a!==null){var s=i.child;a=a.firstContext;a:for(;a!==null;){var c=a;a=i;for(var l=0;l<t.length;l++)if(c.context===t[l]){a.lanes|=n,c=a.alternate,c!==null&&(c.lanes|=n),Ji(a.return,n,e),r||(s=null);break a}a=c.next}}else if(i.tag===18){if(s=i.return,s===null)throw Error(o(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Ji(s,n,e),s=null}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===e){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}}function Xi(e,t,n,r){e=null;for(var i=t,a=!1;i!==null;){if(!a){if(i.flags&524288)a=!0;else if(i.flags&262144)break}if(i.tag===10){var s=i.alternate;if(s===null)throw Error(o(387));if(s=s.memoizedProps,s!==null){var c=i.type;xr(i.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(i===me.current){if(s=i.alternate,s===null)throw Error(o(387));s.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e===null?e=[Qf]:e.push(Qf))}i=i.return}e!==null&&Yi(t,e,n,r),t.flags|=262144}function Zi(e){for(e=e.firstContext;e!==null;){if(!xr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Qi(e){Wi=e,Gi=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function $i(e){return ta(Wi,e)}function ea(e,t){return Wi===null&&Qi(e),ta(e,t)}function ta(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Gi===null){if(e===null)throw Error(o(308));Gi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Gi=Gi.next=t;return n}var na=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},ra=t.unstable_scheduleCallback,ia=t.unstable_NormalPriority,aa={$$typeof:S,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function oa(){return{controller:new na,data:new Map,refCount:0}}function sa(e){e.refCount--,e.refCount===0&&ra(ia,function(){e.controller.abort()})}var ca=null,la=0,ua=0,da=null;function fa(e,t){if(ca===null){var n=ca=[];la=0,ua=dd(),da={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return la++,t.then(pa,pa),t}function pa(){if(--la===0&&ca!==null){da!==null&&(da.status=`fulfilled`);var e=ca;ca=null,ua=0,da=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function ma(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var ha=k.S;k.S=function(e,t){eu=je(),typeof t==`object`&&t&&typeof t.then==`function`&&fa(e,t),ha!==null&&ha(e,t)};var ga=le(null);function _a(){var e=ga.current;return e===null?K.pooledCache:e}function va(e,t){t===null?j(ga,ga.current):j(ga,t.pool)}function ya(){var e=_a();return e===null?null:{parent:aa._currentValue,pool:e}}var ba=Error(o(460)),xa=Error(o(474)),Sa=Error(o(542)),Ca={then:function(){}};function wa(e){return e=e.status,e===`fulfilled`||e===`rejected`}function Ta(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(tn,tn),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,ka(e),e;default:if(typeof t.status==`string`)t.then(tn,tn);else{if(e=K,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,ka(e),e}throw Da=t,ba}}function Ea(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Da=e,ba):e}}var Da=null;function Oa(){if(Da===null)throw Error(o(459));var e=Da;return Da=null,e}function ka(e){if(e===ba||e===Sa)throw Error(o(483))}var Aa=null,ja=0;function Ma(e){var t=ja;return ja+=1,Aa===null&&(Aa=[]),Ta(Aa,e,t)}function Na(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Pa(e,t){throw t.$$typeof===h?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function Fa(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function i(e,t){return e=li(e,t),e.index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=pi(n,e.mode,r),t.return=e,t):(t=i(t,n),t.return=e,t)}function l(e,t,n,r){var a=n.type;return a===v?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===a||typeof a==`object`&&a&&a.$$typeof===T&&Ea(a)===t.type)?(t=i(t,n.props),Na(t,n),t.return=e,t):(t=di(n.type,n.key,n.props,null,e.mode,r),Na(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=hi(n,e.mode,r),t.return=e,t):(t=i(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,a){return t===null||t.tag!==7?(t=fi(n,e.mode,r,a),t.return=e,t):(t=i(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=pi(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case g:return n=di(t.type,t.key,t.props,null,e.mode,n),Na(n,t),n.return=e,n;case _:return t=hi(t,e.mode,n),t.return=e,t;case T:return t=Ea(t),f(e,t,n)}if(O(t)||ie(t))return t=fi(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,Ma(t),n);if(t.$$typeof===S)return f(e,ea(e,t),n);Pa(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case g:return n.key===i?l(e,t,n,r):null;case _:return n.key===i?u(e,t,n,r):null;case T:return n=Ea(n),p(e,t,n,r)}if(O(n)||ie(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,Ma(n),r);if(n.$$typeof===S)return p(e,t,ea(e,n),r);Pa(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case g:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case _:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case T:return r=Ea(r),m(e,t,n,r,i)}if(O(r)||ie(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,Ma(r),i);if(r.$$typeof===S)return m(e,t,n,ea(t,r),i);Pa(t,r)}return null}function h(i,o,s,c){for(var l=null,u=null,d=o,h=o=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),o=a(_,o,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),V&&Di(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(o=a(d,o,h),u===null?l=d:u.sibling=d,u=d);return V&&Di(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),o=a(g,o,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),V&&Di(i,h),l}function y(i,s,c,l){if(c==null)throw Error(o(151));for(var u=null,d=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(i,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(i,h),s=a(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(i,h),V&&Di(i,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(i,v.value,l),v!==null&&(s=a(v,s,g),d===null?u=v:d.sibling=v,d=v);return V&&Di(i,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,i,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=a(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(i,e)}),V&&Di(i,g),u}function b(e,r,a,c){if(typeof a==`object`&&a&&a.type===v&&a.key===null&&(a=a.props.children),typeof a==`object`&&a){switch(a.$$typeof){case g:a:{for(var l=a.key;r!==null;){if(r.key===l){if(l=a.type,l===v){if(r.tag===7){n(e,r.sibling),c=i(r,a.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===T&&Ea(l)===r.type){n(e,r.sibling),c=i(r,a.props),Na(c,a),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}a.type===v?(c=fi(a.props.children,e.mode,c,a.key),c.return=e,e=c):(c=di(a.type,a.key,a.props,null,e.mode,c),Na(c,a),c.return=e,e=c)}return s(e);case _:a:{for(l=a.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),c=i(r,a.children||[]),c.return=e,e=c;break a}else{n(e,r);break}else t(e,r);r=r.sibling}c=hi(a,e.mode,c),c.return=e,e=c}return s(e);case T:return a=Ea(a),b(e,r,a,c)}if(O(a))return h(e,r,a,c);if(ie(a)){if(l=ie(a),typeof l!=`function`)throw Error(o(150));return a=l.call(a),y(e,r,a,c)}if(typeof a.then==`function`)return b(e,r,Ma(a),c);if(a.$$typeof===S)return b(e,r,ea(e,a),c);Pa(e,a)}return typeof a==`string`&&a!==``||typeof a==`number`||typeof a==`bigint`?(a=``+a,r!==null&&r.tag===6?(n(e,r.sibling),c=i(r,a),c.return=e,e=c):(n(e,r),c=pi(a,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{ja=0;var i=b(e,t,n,r);return Aa=null,i}catch(t){if(t===ba||t===Sa)throw t;var a=si(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Ia=Fa(!0),La=Fa(!1),Ra=!1;function za(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ba(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Va(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ha(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,G&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=ii(e),ri(e,null,n),t}return ei(e,r,t,n),ii(e)}function Ua(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,rt(e,n)}}function Wa(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Ga=!1;function Ka(){if(Ga){var e=da;if(e!==null)throw e}}function qa(e,t,n,r){Ga=!1;var i=e.updateQueue;Ra=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(J&f)===f:(r&f)===f){f!==0&&f===ua&&(Ga=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;f=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,f);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,f=typeof h==`function`?h.call(_,d,f):h,f==null)break a;d=m({},d,f);break a;case 2:Ra=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Gl|=o,e.lanes=o,e.memoizedState=d}}function Ja(e,t){if(typeof e!=`function`)throw Error(o(191,e));e.call(t)}function Ya(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Ja(n[e],t)}var Xa=le(null),Za=le(0);function Qa(e,t){e=Wl,j(Za,e),j(Xa,t),Wl=e|t.baseLanes}function $a(){j(Za,Wl),j(Xa,Xa.current)}function eo(){Wl=Za.current,ue(Xa),ue(Za)}var to=le(null),no=null;function ro(e){var t=e.alternate;j(co,co.current&1),j(to,e),no===null&&(t===null||Xa.current!==null||t.memoizedState!==null)&&(no=e)}function io(e){j(co,co.current),j(to,e),no===null&&(no=e)}function ao(e){e.tag===22?(j(co,co.current),j(to,e),no===null&&(no=e)):oo(e)}function oo(){j(co,co.current),j(to,to.current)}function so(e){ue(to),no===e&&(no=null),ue(co)}var co=le(0);function lo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||af(n)||of(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder===`forwards`||t.memoizedProps.revealOrder===`backwards`||t.memoizedProps.revealOrder===`unstable_legacy-backwards`||t.memoizedProps.revealOrder===`together`)){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var uo=0,H=null,U=null,fo=null,po=!1,mo=!1,ho=!1,go=0,_o=0,vo=null,yo=0;function bo(){throw Error(o(321))}function xo(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!xr(e[n],t[n]))return!1;return!0}function So(e,t,n,r,i,a){return uo=a,H=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,k.H=e===null||e.memoizedState===null?zs:Bs,ho=!1,a=n(r,i),ho=!1,mo&&(a=wo(t,n,r,i)),Co(e),a}function Co(e){k.H=Rs;var t=U!==null&&U.next!==null;if(uo=0,fo=U=H=null,po=!1,_o=0,vo=null,t)throw Error(o(300));e===null||rc||(e=e.dependencies,e!==null&&Zi(e)&&(rc=!0))}function wo(e,t,n,r){H=e;var i=0;do{if(mo&&(vo=null),_o=0,mo=!1,25<=i)throw Error(o(301));if(i+=1,fo=U=null,e.updateQueue!=null){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,a.memoCache!=null&&(a.memoCache.index=0)}k.H=Vs,a=t(n,r)}while(mo);return a}function To(){var e=k.H,t=e.useState()[0];return t=typeof t.then==`function`?Mo(t):t,e=e.useState()[0],(U===null?null:U.memoizedState)!==e&&(H.flags|=1024),t}function Eo(){var e=go!==0;return go=0,e}function Do(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Oo(e){if(po){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}po=!1}uo=0,fo=U=H=null,mo=!1,_o=go=0,vo=null}function ko(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return fo===null?H.memoizedState=fo=e:fo=fo.next=e,fo}function Ao(){if(U===null){var e=H.alternate;e=e===null?null:e.memoizedState}else e=U.next;var t=fo===null?H.memoizedState:fo.next;if(t!==null)fo=t,U=e;else{if(e===null)throw H.alternate===null?Error(o(467)):Error(o(310));U=e,e={memoizedState:U.memoizedState,baseState:U.baseState,baseQueue:U.baseQueue,queue:U.queue,next:null},fo===null?H.memoizedState=fo=e:fo=fo.next=e}return fo}function jo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Mo(e){var t=_o;return _o+=1,vo===null&&(vo=[]),e=Ta(vo,e,t),t=H,(fo===null?t.memoizedState:fo.next)===null&&(t=t.alternate,k.H=t===null||t.memoizedState===null?zs:Bs),e}function No(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Mo(e);if(e.$$typeof===S)return $i(e)}throw Error(o(438,String(e)))}function Po(e){var t=null,n=H.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=H.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=jo(),H.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=re;return t.index++,n}function Fo(e,t){return typeof t==`function`?t(e):t}function Io(e){return Lo(Ao(),U,e)}function Lo(e,t,n){var r=e.queue;if(r===null)throw Error(o(311));r.lastRenderedReducer=n;var i=e.baseQueue,a=r.pending;if(a!==null){if(i!==null){var s=i.next;i.next=a.next,a.next=s}t.baseQueue=i=a,r.pending=null}if(a=e.baseState,i===null)e.memoizedState=a;else{t=i.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(uo&f)===f:(J&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===ua&&(d=!0);else if((uo&p)===p){u=u.next,p===ua&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=a):l=l.next=f,H.lanes|=p,Gl|=p;f=u.action,ho&&n(a,f),a=u.hasEagerState?u.eagerState:n(a,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=a):l=l.next=p,H.lanes|=f,Gl|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=a:l.next=c,!xr(a,e.memoizedState)&&(rc=!0,d&&(n=da,n!==null)))throw n;e.memoizedState=a,e.baseState=s,e.baseQueue=l,r.lastRenderedState=a}return i===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Ro(e){var t=Ao(),n=t.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do a=e(a,s.action),s=s.next;while(s!==i);xr(a,t.memoizedState)||(rc=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function zo(e,t,n){var r=H,i=Ao(),a=V;if(a){if(n===void 0)throw Error(o(407));n=n()}else n=t();var s=!xr((U||i).memoizedState,n);if(s&&(i.memoizedState=n,rc=!0),i=i.queue,us(Ho.bind(null,r,i,e),[e]),i.getSnapshot!==t||s||fo!==null&&fo.memoizedState.tag&1){if(r.flags|=2048,as(9,{destroy:void 0},Vo.bind(null,r,i,n,t),null),K===null)throw Error(o(349));a||uo&127||Bo(r,t,n)}return n}function Bo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=H.updateQueue,t===null?(t=jo(),H.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Vo(e,t,n,r){t.value=n,t.getSnapshot=r,Uo(t)&&Wo(e)}function Ho(e,t,n){return n(function(){Uo(t)&&Wo(e)})}function Uo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!xr(e,n)}catch{return!0}}function Wo(e){var t=ni(e,2);t!==null&&hu(t,e,2)}function Go(e){var t=ko();if(typeof e==`function`){var n=e;if(e=n(),ho){He(!0);try{n()}finally{He(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fo,lastRenderedState:e},t}function Ko(e,t,n,r){return e.baseState=n,Lo(e,U,typeof r==`function`?r:Fo)}function qo(e,t,n,r,i){if(Fs(e))throw Error(o(485));if(e=t.action,e!==null){var a={payload:i,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){a.listeners.push(e)}};k.T===null?a.isTransition=!1:n(!0),r(a),n=t.pending,n===null?(a.next=t.pending=a,Jo(t,a)):(a.next=n.next,t.pending=n.next=a)}}function Jo(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=k.T,o={};k.T=o;try{var s=n(i,r),c=k.S;c!==null&&c(o,s),Yo(e,t,s)}catch(n){Zo(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),k.T=a}}else try{a=n(i,r),Yo(e,t,a)}catch(n){Zo(e,t,n)}}function Yo(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){Xo(e,t,n)},function(n){return Zo(e,t,n)}):Xo(e,t,n)}function Xo(e,t,n){t.status=`fulfilled`,t.value=n,Qo(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Jo(e,n)))}function Zo(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,Qo(t),t=t.next;while(t!==r)}e.action=null}function Qo(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function $o(e,t){return t}function es(e,t){if(V){var n=K.formState;if(n!==null){a:{var r=H;if(V){if(Mi){b:{for(var i=Mi,a=Pi;i.nodeType!==8;){if(!a){i=null;break b}if(i=cf(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){Mi=cf(i.nextSibling),r=i.data===`F!`;break a}}Ii(r)}r=!1}r&&(t=n[0])}}return n=ko(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$o,lastRenderedState:t},n.queue=r,n=Ms.bind(null,H,r),r.dispatch=n,r=Go(!1),a=Ps.bind(null,H,!1,r.queue),r=ko(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=qo.bind(null,H,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function ts(e){return ns(Ao(),U,e)}function ns(e,t,n){if(t=Lo(e,t,$o)[0],e=Io(Fo)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Mo(t)}catch(e){throw e===ba?Sa:e}else r=t;t=Ao();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(H.flags|=2048,as(9,{destroy:void 0},rs.bind(null,i,n),null)),[r,a,e]}function rs(e,t){e.action=t}function is(e){var t=Ao(),n=U;if(n!==null)return ns(t,n,e);Ao(),t=t.memoizedState,n=Ao();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function as(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=H.updateQueue,t===null&&(t=jo(),H.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function os(){return Ao().memoizedState}function ss(e,t,n,r){var i=ko();H.flags|=e,i.memoizedState=as(1|t,{destroy:void 0},n,r===void 0?null:r)}function cs(e,t,n,r){var i=Ao();r=r===void 0?null:r;var a=i.memoizedState.inst;U!==null&&r!==null&&xo(r,U.memoizedState.deps)?i.memoizedState=as(t,a,n,r):(H.flags|=e,i.memoizedState=as(1|t,a,n,r))}function ls(e,t){ss(8390656,8,e,t)}function us(e,t){cs(2048,8,e,t)}function ds(e){H.flags|=4;var t=H.updateQueue;if(t===null)t=jo(),H.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function fs(e){var t=Ao().memoizedState;return ds({ref:t,nextImpl:e}),function(){if(G&2)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function ps(e,t){return cs(4,2,e,t)}function ms(e,t){return cs(4,4,e,t)}function hs(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function gs(e,t,n){n=n==null?null:n.concat([e]),cs(4,4,hs.bind(null,t,e),n)}function _s(){}function vs(e,t){var n=Ao();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&xo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ys(e,t){var n=Ao();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&xo(t,r[1]))return r[0];if(r=e(),ho){He(!0);try{e()}finally{He(!1)}}return n.memoizedState=[r,t],r}function bs(e,t,n){return n===void 0||uo&1073741824&&!(J&261930)?e.memoizedState=t:(e.memoizedState=n,e=mu(),H.lanes|=e,Gl|=e,n)}function xs(e,t,n,r){return xr(n,t)?n:Xa.current===null?!(uo&42)||uo&1073741824&&!(J&261930)?(rc=!0,e.memoizedState=n):(e=mu(),H.lanes|=e,Gl|=e,t):(e=bs(e,n,r),xr(e,t)||(rc=!0),e)}function Ss(e,t,n,r,i){var a=A.p;A.p=a!==0&&8>a?a:8;var o=k.T,s={};k.T=s,Ps(e,!1,t,n);try{var c=i(),l=k.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Ns(e,t,ma(c,r),pu(e)):Ns(e,t,r,pu(e))}catch(n){Ns(e,t,{then:function(){},status:`rejected`,reason:n},pu())}finally{A.p=a,o!==null&&s.types!==null&&(o.types=s.types),k.T=o}}function Cs(){}function ws(e,t,n,r){if(e.tag!==5)throw Error(o(476));var i=Ts(e).queue;Ss(e,i,t,oe,n===null?Cs:function(){return Es(e),n(r)})}function Ts(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fo,lastRenderedState:oe},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fo,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Es(e){var t=Ts(e);t.next===null&&(t=e.alternate.memoizedState),Ns(e,t.next.queue,{},pu())}function Ds(){return $i(Qf)}function Os(){return Ao().memoizedState}function ks(){return Ao().memoizedState}function As(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=pu();e=Va(n);var r=Ha(t,e,n);r!==null&&(hu(r,t,n),Ua(r,t,n)),t={cache:oa()},e.payload=t;return}t=t.return}}function js(e,t,n){var r=pu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Fs(e)?Is(t,n):(n=ti(e,t,n,r),n!==null&&(hu(n,e,r),Ls(n,t,r)))}function Ms(e,t,n){Ns(e,t,n,pu())}function Ns(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Fs(e))Is(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,xr(s,o))return ei(e,t,i,0),K===null&&$r(),!1}catch{}if(n=ti(e,t,i,r),n!==null)return hu(n,e,r),Ls(n,t,r),!0}return!1}function Ps(e,t,n,r){if(r={lane:2,revertLane:dd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Fs(e)){if(t)throw Error(o(479))}else t=ti(e,n,r,2),t!==null&&hu(t,e,2)}function Fs(e){var t=e.alternate;return e===H||t!==null&&t===H}function Is(e,t){mo=po=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ls(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,rt(e,n)}}var Rs={readContext:$i,use:No,useCallback:bo,useContext:bo,useEffect:bo,useImperativeHandle:bo,useLayoutEffect:bo,useInsertionEffect:bo,useMemo:bo,useReducer:bo,useRef:bo,useState:bo,useDebugValue:bo,useDeferredValue:bo,useTransition:bo,useSyncExternalStore:bo,useId:bo,useHostTransitionStatus:bo,useFormState:bo,useActionState:bo,useOptimistic:bo,useMemoCache:bo,useCacheRefresh:bo};Rs.useEffectEvent=bo;var zs={readContext:$i,use:No,useCallback:function(e,t){return ko().memoizedState=[e,t===void 0?null:t],e},useContext:$i,useEffect:ls,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),ss(4194308,4,hs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ss(4194308,4,e,t)},useInsertionEffect:function(e,t){ss(4,2,e,t)},useMemo:function(e,t){var n=ko();t=t===void 0?null:t;var r=e();if(ho){He(!0);try{e()}finally{He(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=ko();if(n!==void 0){var i=n(t);if(ho){He(!0);try{n(t)}finally{He(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=js.bind(null,H,e),[r.memoizedState,e]},useRef:function(e){var t=ko();return e={current:e},t.memoizedState=e},useState:function(e){e=Go(e);var t=e.queue,n=Ms.bind(null,H,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:_s,useDeferredValue:function(e,t){return bs(ko(),e,t)},useTransition:function(){var e=Go(!1);return e=Ss.bind(null,H,e.queue,!0,!1),ko().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=H,i=ko();if(V){if(n===void 0)throw Error(o(407));n=n()}else{if(n=t(),K===null)throw Error(o(349));J&127||Bo(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,ls(Ho.bind(null,r,a,e),[e]),r.flags|=2048,as(9,{destroy:void 0},Vo.bind(null,r,a,n,t),null),n},useId:function(){var e=ko(),t=K.identifierPrefix;if(V){var n=Ei,r=Ti;n=(r&~(1<<32-M(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=go++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=yo++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:Ds,useFormState:es,useActionState:es,useOptimistic:function(e){var t=ko();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Ps.bind(null,H,!0,n),n.dispatch=t,[e,t]},useMemoCache:Po,useCacheRefresh:function(){return ko().memoizedState=As.bind(null,H)},useEffectEvent:function(e){var t=ko(),n={impl:e};return t.memoizedState=n,function(){if(G&2)throw Error(o(440));return n.impl.apply(void 0,arguments)}}},Bs={readContext:$i,use:No,useCallback:vs,useContext:$i,useEffect:us,useImperativeHandle:gs,useInsertionEffect:ps,useLayoutEffect:ms,useMemo:ys,useReducer:Io,useRef:os,useState:function(){return Io(Fo)},useDebugValue:_s,useDeferredValue:function(e,t){return xs(Ao(),U.memoizedState,e,t)},useTransition:function(){var e=Io(Fo)[0],t=Ao().memoizedState;return[typeof e==`boolean`?e:Mo(e),t]},useSyncExternalStore:zo,useId:Os,useHostTransitionStatus:Ds,useFormState:ts,useActionState:ts,useOptimistic:function(e,t){return Ko(Ao(),U,e,t)},useMemoCache:Po,useCacheRefresh:ks};Bs.useEffectEvent=fs;var Vs={readContext:$i,use:No,useCallback:vs,useContext:$i,useEffect:us,useImperativeHandle:gs,useInsertionEffect:ps,useLayoutEffect:ms,useMemo:ys,useReducer:Ro,useRef:os,useState:function(){return Ro(Fo)},useDebugValue:_s,useDeferredValue:function(e,t){var n=Ao();return U===null?bs(n,e,t):xs(n,U.memoizedState,e,t)},useTransition:function(){var e=Ro(Fo)[0],t=Ao().memoizedState;return[typeof e==`boolean`?e:Mo(e),t]},useSyncExternalStore:zo,useId:Os,useHostTransitionStatus:Ds,useFormState:is,useActionState:is,useOptimistic:function(e,t){var n=Ao();return U===null?(n.baseState=e,[e,n.queue.dispatch]):Ko(n,U,e,t)},useMemoCache:Po,useCacheRefresh:ks};Vs.useEffectEvent=fs;function Hs(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:m({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Us={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=pu(),i=Va(r);i.payload=t,n!=null&&(i.callback=n),t=Ha(e,i,r),t!==null&&(hu(t,e,r),Ua(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=pu(),i=Va(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Ha(e,i,r),t!==null&&(hu(t,e,r),Ua(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=pu(),r=Va(n);r.tag=2,t!=null&&(r.callback=t),t=Ha(e,r,n),t!==null&&(hu(t,e,n),Ua(t,e,n))}};function Ws(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Sr(n,r)||!Sr(i,a):!0}function Gs(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Us.enqueueReplaceState(t,t.state,null)}function Ks(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=m({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function qs(e){Yr(e)}function Js(e){console.error(e)}function Ys(e){Yr(e)}function Xs(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function Zs(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function Qs(e,t,n){return n=Va(n),n.tag=3,n.payload={element:null},n.callback=function(){Xs(e,t)},n}function $s(e){return e=Va(e),e.tag=3,e}function ec(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){Zs(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){Zs(t,n,r),typeof i!=`function`&&(ru===null?ru=new Set([this]):ru.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function tc(e,t,n,r,i){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&Xi(t,n,i,!0),n=to.current,n!==null){switch(n.tag){case 31:case 13:return no===null?Du():n.alternate===null&&X===0&&(X=3),n.flags&=-257,n.flags|=65536,n.lanes=i,r===Ca?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Gu(e,r,i)),!1;case 22:return n.flags|=65536,r===Ca?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),Gu(e,r,i)),!1}throw Error(o(435,n.tag))}return Gu(e,r,i),Du(),!1}if(V)return t=to.current,t===null?(r!==Fi&&(t=Error(o(423),{cause:r}),Hi(_i(t,n))),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,r=_i(r,n),i=Qs(e.stateNode,r,i),Wa(e,i),X!==4&&(X=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=i,r!==Fi&&(e=Error(o(422),{cause:r}),Hi(_i(e,n)))),!1;var a=Error(o(520),{cause:r});if(a=_i(a,n),Xl===null?Xl=[a]:Xl.push(a),X!==4&&(X=2),t===null)return!0;r=_i(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,e=Qs(n.stateNode,r,e),Wa(n,e),!1;case 1:if(t=n.type,a=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||a!==null&&typeof a.componentDidCatch==`function`&&(ru===null||!ru.has(a))))return n.flags|=65536,i&=-i,n.lanes|=i,i=$s(i),ec(i,e,n,r),Wa(n,i),!1}n=n.return}while(n!==null);return!1}var nc=Error(o(461)),rc=!1;function ic(e,t,n,r){t.child=e===null?La(t,null,n,r):Ia(t,e.child,n,r)}function ac(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return Qi(t),r=So(e,t,n,o,a,i),s=Eo(),e!==null&&!rc?(Do(e,t,i),kc(e,t,i)):(V&&s&&ki(t),t.flags|=1,ic(e,t,r,i),t.child)}function oc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!ci(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,sc(e,t,a,r,i)):(e=di(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!Ac(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Sr:n,n(o,r)&&e.ref===t.ref)return kc(e,t,i)}return t.flags|=1,e=li(a,r),e.ref=t.ref,e.return=t,t.child=e}function sc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Sr(a,r)&&e.ref===t.ref)if(rc=!1,t.pendingProps=r=a,Ac(e,i))e.flags&131072&&(rc=!0);else return t.lanes=e.lanes,kc(e,t,i)}return hc(e,t,n,r,i)}function cc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return uc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&va(t,a===null?null:a.cachePool),a===null?$a():Qa(t,a),ao(t);else return r=t.lanes=536870912,uc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&va(t,null),$a(),oo(t)):(va(t,a.cachePool),Qa(t,a),oo(t),t.memoizedState=null);return ic(e,t,i,n),t.child}function lc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function uc(e,t,n,r,i){var a=_a();return a=a===null?null:{parent:aa._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&va(t,null),$a(),ao(t),e!==null&&Xi(e,t,r,!0),t.childLanes=i,null}function dc(e,t){return t=wc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function fc(e,t,n){return Ia(t,e.child,null,n),e=dc(t,t.pendingProps),e.flags|=2,so(t),t.memoizedState=null,e}function pc(e,t,n){var r=t.pendingProps,i=(t.flags&128)!=0;if(t.flags&=-129,e===null){if(V){if(r.mode===`hidden`)return e=dc(t,r),t.lanes=536870912,lc(null,e);if(io(t),(e=Mi)?(e=rf(e,Pi),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:wi===null?null:{id:Ti,overflow:Ei},retryLane:536870912,hydrationErrors:null},n=mi(e),n.return=t,t.child=n,B=t,Mi=null)):e=null,e===null)throw Ii(t);return t.lanes=536870912,null}return dc(t,r)}var a=e.memoizedState;if(a!==null){var s=a.dehydrated;if(io(t),i)if(t.flags&256)t.flags&=-257,t=fc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(o(558));else if(rc||Xi(e,t,n,!1),i=(n&e.childLanes)!==0,rc||i){if(r=K,r!==null&&(s=it(r,n),s!==0&&s!==a.retryLane))throw a.retryLane=s,ni(e,s),hu(r,e,s),nc;Du(),t=fc(e,t,n)}else e=a.treeContext,Mi=cf(s.nextSibling),B=t,V=!0,Ni=null,Pi=!1,e!==null&&ji(t,e),t=dc(t,r),t.flags|=4096;return t}return e=li(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function mc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(o(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function hc(e,t,n,r,i){return Qi(t),n=So(e,t,n,r,void 0,i),r=Eo(),e!==null&&!rc?(Do(e,t,i),kc(e,t,i)):(V&&r&&ki(t),t.flags|=1,ic(e,t,n,i),t.child)}function gc(e,t,n,r,i,a){return Qi(t),t.updateQueue=null,n=wo(t,r,n,i),Co(e),r=Eo(),e!==null&&!rc?(Do(e,t,a),kc(e,t,a)):(V&&r&&ki(t),t.flags|=1,ic(e,t,n,a),t.child)}function _c(e,t,n,r,i){if(Qi(t),t.stateNode===null){var a=ai,o=n.contextType;typeof o==`object`&&o&&(a=$i(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Us,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},za(t),o=n.contextType,a.context=typeof o==`object`&&o?$i(o):ai,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Hs(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&Us.enqueueReplaceState(a,a.state,null),qa(t,r,a,i),Ka(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=Ks(n,s);a.props=c;var l=a.context,u=n.contextType;o=ai,typeof u==`object`&&u&&(o=$i(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&Gs(t,a,r,o),Ra=!1;var f=t.memoizedState;a.state=f,qa(t,r,a,i),Ka(),l=t.memoizedState,s||f!==l||Ra?(typeof d==`function`&&(Hs(t,n,d,r),l=t.memoizedState),(c=Ra||Ws(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ba(e,t),o=t.memoizedProps,u=Ks(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=ai,typeof l==`object`&&l&&(c=$i(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&Gs(t,a,r,c),Ra=!1,f=t.memoizedState,a.state=f,qa(t,r,a,i),Ka();var p=t.memoizedState;o!==d||f!==p||Ra||e!==null&&e.dependencies!==null&&Zi(e.dependencies)?(typeof s==`function`&&(Hs(t,n,s,r),p=t.memoizedState),(u=Ra||Ws(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&Zi(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,mc(e,t),r=(t.flags&128)!=0,a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=Ia(t,e.child,null,i),t.child=Ia(t,null,n,i)):ic(e,t,n,i),t.memoizedState=a.state,e=t.child):e=kc(e,t,i),e}function vc(e,t,n,r){return Bi(),t.flags|=256,ic(e,t,n,r),t.child}var yc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function bc(e){return{baseLanes:e,cachePool:ya()}}function xc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=Jl),e}function Sc(e,t,n){var r=t.pendingProps,i=!1,a=(t.flags&128)!=0,s;if((s=a)||(s=e!==null&&e.memoizedState===null?!1:(co.current&2)!=0),s&&(i=!0,t.flags&=-129),s=(t.flags&32)!=0,t.flags&=-33,e===null){if(V){if(i?ro(t):oo(t),(e=Mi)?(e=rf(e,Pi),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:wi===null?null:{id:Ti,overflow:Ei},retryLane:536870912,hydrationErrors:null},n=mi(e),n.return=t,t.child=n,B=t,Mi=null)):e=null,e===null)throw Ii(t);return of(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,i?(oo(t),i=t.mode,c=wc({mode:`hidden`,children:c},i),r=fi(r,i,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=bc(n),r.childLanes=xc(e,s,n),t.memoizedState=yc,lc(null,r)):(ro(t),Cc(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(a)t.flags&256?(ro(t),t.flags&=-257,t=Tc(e,t,n)):t.memoizedState===null?(oo(t),c=r.fallback,i=t.mode,r=wc({mode:`visible`,children:r.children},i),c=fi(c,i,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Ia(t,e.child,null,n),r=t.child,r.memoizedState=bc(n),r.childLanes=xc(e,s,n),t.memoizedState=yc,t=lc(null,r)):(oo(t),t.child=e.child,t.flags|=128,t=null);else if(ro(t),of(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(o(419)),r.stack=``,r.digest=s,Hi({value:r,source:null,stack:null}),t=Tc(e,t,n)}else if(rc||Xi(e,t,n,!1),s=(n&e.childLanes)!==0,rc||s){if(s=K,s!==null&&(r=it(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,ni(e,r),hu(s,e,r),nc;af(c)||Du(),t=Tc(e,t,n)}else af(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,Mi=cf(c.nextSibling),B=t,V=!0,Ni=null,Pi=!1,e!==null&&ji(t,e),t=Cc(t,r.children),t.flags|=4096);return t}return i?(oo(t),c=r.fallback,i=t.mode,l=e.child,u=l.sibling,r=li(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=fi(c,i,n,null),c.flags|=2):c=li(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,lc(null,r),r=t.child,c=e.child.memoizedState,c===null?c=bc(n):(i=c.cachePool,i===null?i=ya():(l=aa._currentValue,i=i.parent===l?i:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:i}),r.memoizedState=c,r.childLanes=xc(e,s,n),t.memoizedState=yc,lc(e.child,r)):(ro(t),n=e.child,e=n.sibling,n=li(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function Cc(e,t){return t=wc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function wc(e,t){return e=si(22,e,null,t),e.lanes=0,e}function Tc(e,t,n){return Ia(t,e.child,null,n),e=Cc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ec(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ji(e.return,t,n)}function Dc(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function Oc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=co.current,s=(o&2)!=0;if(s?(o=o&1|2,t.flags|=128):o&=1,j(co,o),ic(e,t,r,n),r=V?xi:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ec(e,n,t);else if(e.tag===19)Ec(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&lo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Dc(t,!1,i,n,a,r);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&lo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Dc(t,!0,n,null,a,r);break;case`together`:Dc(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function kc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Gl|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Xi(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,n=li(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=li(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Ac(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&Zi(e))):!0}function jc(e,t,n){switch(t.tag){case 3:he(t,t.stateNode.containerInfo),Ki(t,aa,e.memoizedState.cache),Bi();break;case 27:case 5:_e(t);break;case 4:he(t,t.stateNode.containerInfo);break;case 10:Ki(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,io(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(ro(t),e=kc(e,t,n),e===null?null:e.sibling):Sc(e,t,n):(ro(t),t.flags|=128,null);ro(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=(Xi(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return Oc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),j(co,co.current),r)break;return null;case 22:return t.lanes=0,cc(e,t,n,t.pendingProps);case 24:Ki(t,aa,e.memoizedState.cache)}return kc(e,t,n)}function Mc(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)rc=!0;else{if(!Ac(e,n)&&!(t.flags&128))return rc=!1,jc(e,t,n);rc=!!(e.flags&131072)}else rc=!1,V&&t.flags&1048576&&Oi(t,xi,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=Ea(t.elementType),t.type=e,typeof e==`function`)ci(e)?(r=Ks(e,r),t.tag=1,t=_c(null,t,e,r,n)):(t.tag=0,t=hc(null,t,e,r,n));else{if(e!=null){var i=e.$$typeof;if(i===C){t.tag=11,t=ac(null,t,e,r,n);break a}else if(i===te){t.tag=14,t=oc(null,t,e,r,n);break a}}throw t=ae(e)||e,Error(o(306,t,``))}}return t;case 0:return hc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,i=Ks(r,t.pendingProps),_c(e,t,r,i,n);case 3:a:{if(he(t,t.stateNode.containerInfo),e===null)throw Error(o(387));r=t.pendingProps;var a=t.memoizedState;i=a.element,Ba(e,t),qa(t,r,null,n);var s=t.memoizedState;if(r=s.cache,Ki(t,aa,r),r!==a.cache&&Yi(t,[aa],n,!0),Ka(),r=s.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){t=vc(e,t,r,n);break a}else if(r!==i){i=_i(Error(o(424)),t),Hi(i),t=vc(e,t,r,n);break a}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(Mi=cf(e.firstChild),B=t,V=!0,Ni=null,Pi=!0,n=La(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Bi(),r===i){t=kc(e,t,n);break a}ic(e,t,r,n)}t=t.child}return t;case 26:return mc(e,t),e===null?(n=kf(t.type,null,t.pendingProps,null))?t.memoizedState=n:V||(n=t.type,e=t.pendingProps,r=Bd(pe.current).createElement(n),r[lt]=t,r[ut]=e,Pd(r,n,e),St(r),t.stateNode=r):t.memoizedState=kf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return _e(t),e===null&&V&&(r=t.stateNode=ff(t.type,t.pendingProps,pe.current),B=t,Pi=!0,i=Mi,Zd(t.type)?(lf=i,Mi=cf(r.firstChild)):Mi=i),ic(e,t,t.pendingProps.children,n),mc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&V&&((i=r=Mi)&&(r=tf(r,t.type,t.pendingProps,Pi),r===null?i=!1:(t.stateNode=r,B=t,Mi=cf(r.firstChild),Pi=!1,i=!0)),i||Ii(t)),_e(t),i=t.type,a=t.pendingProps,s=e===null?null:e.memoizedProps,r=a.children,Ud(i,a)?r=null:s!==null&&Ud(i,s)&&(t.flags|=32),t.memoizedState!==null&&(i=So(e,t,To,null,null,n),Qf._currentValue=i),mc(e,t),ic(e,t,r,n),t.child;case 6:return e===null&&V&&((e=n=Mi)&&(n=nf(n,t.pendingProps,Pi),n===null?e=!1:(t.stateNode=n,B=t,Mi=null,e=!0)),e||Ii(t)),null;case 13:return Sc(e,t,n);case 4:return he(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ia(t,null,r,n):ic(e,t,r,n),t.child;case 11:return ac(e,t,t.type,t.pendingProps,n);case 7:return ic(e,t,t.pendingProps,n),t.child;case 8:return ic(e,t,t.pendingProps.children,n),t.child;case 12:return ic(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,Ki(t,t.type,r.value),ic(e,t,r.children,n),t.child;case 9:return i=t.type._context,r=t.pendingProps.children,Qi(t),i=$i(i),r=r(i),t.flags|=1,ic(e,t,r,n),t.child;case 14:return oc(e,t,t.type,t.pendingProps,n);case 15:return sc(e,t,t.type,t.pendingProps,n);case 19:return Oc(e,t,n);case 31:return pc(e,t,n);case 22:return cc(e,t,n,t.pendingProps);case 24:return Qi(t),r=$i(aa),e===null?(i=_a(),i===null&&(i=K,a=oa(),i.pooledCache=a,a.refCount++,a!==null&&(i.pooledCacheLanes|=n),i=a),t.memoizedState={parent:r,cache:i},za(t),Ki(t,aa,i)):((e.lanes&n)!==0&&(Ba(e,t),qa(t,null,null,n),Ka()),i=e.memoizedState,a=t.memoizedState,i.parent===r?(r=a.cache,Ki(t,aa,r),r!==i.cache&&Yi(t,[aa],n,!0)):(i={parent:r,cache:r},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),Ki(t,aa,r))),ic(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function Nc(e){e.flags|=4}function Pc(e,t,n,r,i){if((t=(e.mode&32)!=0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(wu())e.flags|=8192;else throw Da=Ca,xa}else e.flags&=-16777217}function Fc(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Wf(t))if(wu())e.flags|=8192;else throw Da=Ca,xa}function Ic(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:$e(),e.lanes|=t,Yl|=t)}function Lc(e,t){if(!V)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Rc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function zc(e,t,n){var r=t.pendingProps;switch(Ai(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Rc(t),null;case 1:return Rc(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),qi(aa),ge(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(zi(t)?Nc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Vi())),Rc(t),null;case 26:var i=t.type,a=t.memoizedState;return e===null?(Nc(t),a===null?(Rc(t),Pc(t,i,null,r,n)):(Rc(t),Fc(t,a))):a?a===e.memoizedState?(Rc(t),t.flags&=-16777217):(Nc(t),Rc(t),Fc(t,a)):(e=e.memoizedProps,e!==r&&Nc(t),Rc(t),Pc(t,i,e,r,n)),null;case 27:if(ve(t),n=pe.current,i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Nc(t);else{if(!r){if(t.stateNode===null)throw Error(o(166));return Rc(t),null}e=de.current,zi(t)?Li(t,e):(e=ff(i,r,n),t.stateNode=e,Nc(t))}return Rc(t),null;case 5:if(ve(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Nc(t);else{if(!r){if(t.stateNode===null)throw Error(o(166));return Rc(t),null}if(a=de.current,zi(t))Li(t,a);else{var s=Bd(pe.current);switch(a){case 1:a=s.createElementNS(`http://www.w3.org/2000/svg`,i);break;case 2:a=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,i);break;default:switch(i){case`svg`:a=s.createElementNS(`http://www.w3.org/2000/svg`,i);break;case`math`:a=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,i);break;case`script`:a=s.createElement(`div`),a.innerHTML=`<script><\/script>`,a=a.removeChild(a.firstChild);break;case`select`:a=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a=typeof r.is==`string`?s.createElement(i,{is:r.is}):s.createElement(i)}}a[lt]=t,a[ut]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)a.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=a;a:switch(Pd(a,i,r),i){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Nc(t)}}return Rc(t),Pc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Nc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(o(166));if(e=pe.current,zi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,i=B,i!==null)switch(i.tag){case 27:case 5:r=i.memoizedProps}e[lt]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Md(e.nodeValue,n)),e||Ii(t,!0)}else e=Bd(e).createTextNode(r),e[lt]=t,t.stateNode=e}return Rc(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=zi(t),n!==null){if(e===null){if(!r)throw Error(o(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(o(557));e[lt]=t}else Bi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Rc(t),e=!1}else n=Vi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(so(t),t):(so(t),null);if(t.flags&128)throw Error(o(558))}return Rc(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=zi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(o(318));if(i=t.memoizedState,i=i===null?null:i.dehydrated,!i)throw Error(o(317));i[lt]=t}else Bi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Rc(t),i=!1}else i=Vi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(so(t),t):(so(t),null)}return so(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,i=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(i=r.alternate.memoizedState.cachePool.pool),a=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(a=r.memoizedState.cachePool.pool),a!==i&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Ic(t,t.updateQueue),Rc(t),null);case 4:return ge(),e===null&&Sd(t.stateNode.containerInfo),Rc(t),null;case 10:return qi(t.type),Rc(t),null;case 19:if(ue(co),r=t.memoizedState,r===null)return Rc(t),null;if(i=(t.flags&128)!=0,a=r.rendering,a===null)if(i)Lc(r,!1);else{if(X!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=lo(e),a!==null){for(t.flags|=128,Lc(r,!1),e=a.updateQueue,t.updateQueue=e,Ic(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)ui(n,e),n=n.sibling;return j(co,co.current&1|2),V&&Di(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&je()>tu&&(t.flags|=128,i=!0,Lc(r,!1),t.lanes=4194304)}else{if(!i)if(e=lo(a),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Ic(t,e),Lc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!a.alternate&&!V)return Rc(t),null}else 2*je()-r.renderingStartTime>tu&&n!==536870912&&(t.flags|=128,i=!0,Lc(r,!1),t.lanes=4194304);r.isBackwards?(a.sibling=t.child,t.child=a):(e=r.last,e===null?t.child=a:e.sibling=a,r.last=a)}return r.tail===null?(Rc(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=je(),e.sibling=null,n=co.current,j(co,i?n&1|2:n&1),V&&Di(t,r.treeForkCount),e);case 22:case 23:return so(t),eo(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Rc(t),t.subtreeFlags&6&&(t.flags|=8192)):Rc(t),n=t.updateQueue,n!==null&&Ic(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&ue(ga),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),qi(aa),Rc(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function Bc(e,t){switch(Ai(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return qi(aa),ge(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ve(t),null;case 31:if(t.memoizedState!==null){if(so(t),t.alternate===null)throw Error(o(340));Bi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(so(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));Bi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ue(co),null;case 4:return ge(),null;case 10:return qi(t.type),null;case 22:case 23:return so(t),eo(),e!==null&&ue(ga),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return qi(aa),null;case 25:return null;default:return null}}function Vc(e,t){switch(Ai(t),t.tag){case 3:qi(aa),ge();break;case 26:case 27:case 5:ve(t);break;case 4:ge();break;case 31:t.memoizedState!==null&&so(t);break;case 13:so(t);break;case 19:ue(co);break;case 10:qi(t.type);break;case 22:case 23:so(t),eo(),e!==null&&ue(ga);break;case 24:qi(aa)}}function Hc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Z(t,t.return,e)}}function Uc(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Z(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Z(t,t.return,e)}}function Wc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Ya(t,n)}catch(t){Z(e,e.return,t)}}}function Gc(e,t,n){n.props=Ks(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Z(e,t,n)}}function Kc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Z(e,t,n)}}function qc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){Z(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Z(e,t,n)}else n.current=null}function Jc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Z(e,e.return,t)}}function Yc(e,t,n){try{var r=e.stateNode;Fd(r,e.type,n,t),r[ut]=t}catch(t){Z(e,e.return,t)}}function Xc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Zd(e.type)||e.tag===4}function Zc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Xc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Zd(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Qc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=tn));else if(r!==4&&(r===27&&Zd(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Qc(e,t,n),e=e.sibling;e!==null;)Qc(e,t,n),e=e.sibling}function $c(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&Zd(e.type)&&(n=e.stateNode),e=e.child,e!==null))for($c(e,t,n),e=e.sibling;e!==null;)$c(e,t,n),e=e.sibling}function el(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Pd(t,r,n),t[lt]=e,t[ut]=n}catch(t){Z(e,e.return,t)}}var tl=!1,nl=!1,rl=!1,il=typeof WeakSet==`function`?WeakSet:Set,al=null;function ol(e,t){if(e=e.containerInfo,Rd=sp,e=Er(e),Dr(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||i!==0&&f.nodeType!==3||(c=s+i),f!==a||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===i&&(c=s),p===a&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(zd={focusedElem:e,selectionRange:n},sp=!1,al=t;al!==null;)if(t=al,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,al=e;else for(;al!==null;){switch(t=al,a=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)i=e[n],i.ref.impl=i.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&a!==null){e=void 0,n=t,i=a.memoizedProps,a=a.memoizedState,r=n.stateNode;try{var h=Ks(n.type,i);e=r.getSnapshotBeforeUpdate(h,a),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){Z(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)ef(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:ef(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(o(163))}if(e=t.sibling,e!==null){e.return=t.return,al=e;break}al=t.return}}function sl(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:xl(e,n),r&4&&Hc(5,n);break;case 1:if(xl(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){Z(n,n.return,e)}else{var i=Ks(n.type,t.memoizedProps);t=t.memoizedState;
vendor: 4,304 bytes, line 9
9try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Z(n,n.return,e)}}r&64&&Wc(n),r&512&&Kc(n,n.return);break;case 3:if(xl(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{Ya(e,t)}catch(e){Z(n,n.return,e)}}break;case 27:t===null&&r&4&&el(n);case 26:case 5:xl(e,n),t===null&&r&4&&Jc(n),r&512&&Kc(n,n.return);break;case 12:xl(e,n);break;case 31:xl(e,n),r&4&&pl(e,n);break;case 13:xl(e,n),r&4&&ml(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Ju.bind(null,n),sf(e,n))));break;case 22:if(r=n.memoizedState!==null||tl,!r){t=t!==null&&t.memoizedState!==null||nl,i=tl;var a=nl;tl=r,(nl=t)&&!a?Cl(e,n,(n.subtreeFlags&8772)!=0):xl(e,n),tl=i,nl=a}break;case 30:break;default:xl(e,n)}}function cl(e){var t=e.alternate;t!==null&&(e.alternate=null,cl(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&_t(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var ll=null,ul=!1;function dl(e,t,n){for(n=n.child;n!==null;)fl(e,t,n),n=n.sibling}function fl(e,t,n){if(Ve&&typeof Ve.onCommitFiberUnmount==`function`)try{Ve.onCommitFiberUnmount(Be,n)}catch{}switch(n.tag){case 26:nl||qc(n,t),dl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:nl||qc(n,t);var r=ll,i=ul;Zd(n.type)&&(ll=n.stateNode,ul=!1),dl(e,t,n),pf(n.stateNode),ll=r,ul=i;break;case 5:nl||qc(n,t);case 6:if(r=ll,i=ul,ll=null,dl(e,t,n),ll=r,ul=i,ll!==null)if(ul)try{(ll.nodeType===9?ll.body:ll.nodeName===`HTML`?ll.ownerDocument.body:ll).removeChild(n.stateNode)}catch(e){Z(n,t,e)}else try{ll.removeChild(n.stateNode)}catch(e){Z(n,t,e)}break;case 18:ll!==null&&(ul?(e=ll,Qd(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Np(e)):Qd(ll,n.stateNode));break;case 4:r=ll,i=ul,ll=n.stateNode.containerInfo,ul=!0,dl(e,t,n),ll=r,ul=i;break;case 0:case 11:case 14:case 15:Uc(2,n,t),nl||Uc(4,n,t),dl(e,t,n);break;case 1:nl||(qc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&Gc(n,t,r)),dl(e,t,n);break;case 21:dl(e,t,n);break;case 22:nl=(r=nl)||n.memoizedState!==null,dl(e,t,n),nl=r;break;default:dl(e,t,n)}}function pl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Np(e)}catch(e){Z(t,t.return,e)}}}function ml(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Np(e)}catch(e){Z(t,t.return,e)}}function W(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new il),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new il),t;default:throw Error(o(435,e.tag))}}function hl(e,t){var n=W(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Yu.bind(null,e,t);t.then(r,r)}})}function gl(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r],a=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 27:if(Zd(c.type)){ll=c.stateNode,ul=!1;break a}break;case 5:ll=c.stateNode,ul=!1;break a;case 3:case 4:ll=c.stateNode.containerInfo,ul=!0;break a}c=c.return}if(ll===null)throw Error(o(160));fl(a,s,i),ll=null,ul=!1,a=i.alternate,a!==null&&(a.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)vl(t,e),t=t.sibling}var _l=null;function vl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:gl(t,e),yl(e),r&4&&(Uc(3,e,e.return),Hc(3,e),Uc(5,e,e.return));break;case 1:gl(t,e),yl(e),r&512&&(nl||n===null||qc(n,n.return)),r&64&&tl&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?r:n.concat(r))));break;case 26:var i=_l;if(gl(t,e),yl(e),r&512&&(nl||n===null||qc(n,n.return)),r&4){var a=n===null?null:n.memoizedState;if(r=e.memoizedState,n===null)if(r===null)if(e.stateNode===null){a:{r=e.type,n=e.memoizedProps,i=i.ownerDocument||i;b:switch(r){case`title`:a=i.getElementsByTagName(`title`)[0],(!a||a[gt]||a[lt]||a.namespaceURI===`http://www.w3.org/2000/svg`||a.hasAttribute(`itemprop`))&&(a=i.createElement(r),i.head.insertBefore(a,i.querySelector(`head >
9 title`))),Pd(a,r,n),a[lt]=e,St(a),r=a;break a;case`link`:var s=Vf(`link`,`href`,i).get(r+(n.href||``));if(s){for(var c=0;c<s.length;c++)if(a=s[c],a.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&a.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&a.getAttribute(`title`)===(n.title==null?null:n.title)&&a.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){s.splice(c,1);break b}}a=i.createElement(r),Pd(a,r,n),i.head.appendChild(a);break;case`meta`:if(s=Vf(`meta`,`content`,i).get(r+(n.content||``))){for(c=0;c<s.length;c++)if(a=s[c],a.getAttribute(`content`)===(n.content==null?null:``+n.content)&&a.getAttribute(`name`)===(n.name==null?null:n.name)&&a.getAttribute(`property`)===(n.property==null?null:n.property)&&a.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&a.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){s.splice(c,1);break b}}a=i.createElement(r),Pd(a,r,n),i.head.appendChild(a);break;default:throw Error(o(468,r))}a[lt]=e,St(a),r=a}e.stateNode=r}else Hf(i,e.type,e.stateNode);else e.stateNode=If(i,r,e.memoizedProps);else a===r?r===null&&e.stateNode!==null&&Yc(e,e.memoizedProps,n.memoizedProps):(a===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):a.count--,r===null?Hf(i,e.type,e.stateNode):If(i,r,e.memoizedProps))}break;case 27:gl(t,e),yl(e),r&512&&(nl||n===null||qc(n,n.return)),n!==null&&r&4&&Yc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(gl(t,e),yl(e),r&512&&(nl||n===null||qc(n,n.return)),e.flags&32){i=e.stateNode;try{Jt(i,``)}catch(t){Z(e,e.return,t)}}r&4&&e.stateNode!=null&&(i=e.memoizedProps,Yc(e,i,n===null?i:n.memoizedProps)),r&1024&&(rl=!0);break;case 6:if(gl(t,e),yl(e),r&4){if(e.stateNode===null)throw Error(o(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){Z(e,e.return,t)}}break;case 3:if(Bf=null,i=_l,_l=gf(t.containerInfo),gl(t,e),_l=i,yl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Np(t.containerInfo)}catch(t){Z(e,e.return,t)}rl&&(rl=!1,bl(e));break;case 4:r=_l,_l=gf(e.stateNode.containerInfo),gl(t,e),yl(e),_l=r;break;case 12:gl(t,e),yl(e);break;case 31:gl(t,e),yl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,hl(e,r)));break;case 13:gl(t,e),yl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&($l=je()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,hl(e,r)));break;case 22:i=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=tl,d=nl;if(tl=u||i,nl=d||l,gl(t,e),nl=d,tl=u,yl(e),r&8192)a:for(t=e.stateNode,t._visibility=i?t._visibility&-2:t._visibility|1,i&&(n===null||l||tl||nl||Sl(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(a=l.stateNode,i)s=a.style,typeof s.setProperty==`function`?s.setProperty(`display`,`none`,`important`):s.display=`none`;else{c=l.stateNode;var f=l.memoizedProps.style,p=f!=null&&f.hasOwnProperty(`display`)?f.display:null;c.style.display=p==null||typeof p==`boolean`?``:(``+p).trim()}}catch(e){Z(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=i?``:l.memoizedProps}catch(e){Z(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;i?$d(m,!0):$d(l.stateNode,!1)}catch(e){Z(l,l.return,e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(n=r.retryQueue,n!==null&&(r.retryQueue=null,hl(e,n))));break;case 19:gl(t,e),yl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,hl(e,r)));break;case 30:break;case 21:break;default:gl(t,e),yl(e)}}function yl(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Xc(r)){n=r;break}r=r.return}if(n==null)throw Error(o(160));switch(n.tag){case 27:var i=n.stateNode;$c(e,Zc(e),i);break;case 5:var a=n.stateNode;n.flags&32&&(Jt(a,``),n.flags&=-33),$c(e,Zc(e),a);break;case 3:case 4:var s=n.stateNode.containerInfo;Qc(e,Zc(e),s);break;default:throw Error(o(161))}}catch(t){Z(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function bl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;bl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function xl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)sl(e,t.alternate,t),t=t.sibling}function Sl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Uc(4,t,t.return),Sl(t);break;case 1:qc(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&Gc(t,t.return,n),Sl(t);break;case 27:pf(t.stateNode);case 26:case 5:qc(t,t.return),Sl(t);break;case 22:t.memoizedState===null&&Sl(t);break;case 30:Sl(t);break;default:Sl(t)}e=e.sibling}}function Cl(e,t,n){for(n&&=(t.subtreeFlags&8772)!=0,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:Cl(i,a,n),Hc(4,a);break;case 1:if(Cl(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){Z(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var c=i.shared.hiddenCallbacks;
vendor: 18,967 bytes, line 9
9if(c!==null)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)Ja(c[i],s)}catch(e){Z(r,r.return,e)}}n&&o&64&&Wc(a),Kc(a,a.return);break;case 27:el(a);case 26:case 5:Cl(i,a,n),n&&r===null&&o&4&&Jc(a),Kc(a,a.return);break;case 12:Cl(i,a,n);break;case 31:Cl(i,a,n),n&&o&4&&pl(i,a);break;case 13:Cl(i,a,n),n&&o&4&&ml(i,a);break;case 22:a.memoizedState===null&&Cl(i,a,n),Kc(a,a.return);break;case 30:break;default:Cl(i,a,n)}t=t.sibling}}function wl(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&sa(n))}function Tl(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&sa(e))}function El(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Dl(e,t,n,r),t=t.sibling}function Dl(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:El(e,t,n,r),i&2048&&Hc(9,t);break;case 1:El(e,t,n,r);break;case 3:El(e,t,n,r),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&sa(e)));break;case 12:if(i&2048){El(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;typeof s==`function`&&s(o,t.alternate===null?`mount`:`update`,e.passiveEffectDuration,-0)}catch(e){Z(t,t.return,e)}}else El(e,t,n,r);break;case 31:El(e,t,n,r);break;case 13:El(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?El(e,t,n,r):(a._visibility|=2,Ol(e,t,n,r,(t.subtreeFlags&10256)!=0||!1)):a._visibility&2?El(e,t,n,r):kl(e,t),i&2048&&wl(o,t);break;case 24:El(e,t,n,r),i&2048&&Tl(t.alternate,t);break;default:El(e,t,n,r)}}function Ol(e,t,n,r,i){for(i&&=(t.subtreeFlags&10256)!=0||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:Ol(a,o,s,c,i),Hc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,Ol(a,o,s,c,i)):u._visibility&2?Ol(a,o,s,c,i):kl(a,o),i&&l&2048&&wl(o.alternate,o);break;case 24:Ol(a,o,s,c,i),i&&l&2048&&Tl(o.alternate,o);break;default:Ol(a,o,s,c,i)}t=t.sibling}}function kl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:kl(n,r),i&2048&&wl(r.alternate,r);break;case 24:kl(n,r),i&2048&&Tl(r.alternate,r);break;default:kl(n,r)}t=t.sibling}}var Al=8192;function jl(e,t,n){if(e.subtreeFlags&Al)for(e=e.child;e!==null;)Ml(e,t,n),e=e.sibling}function Ml(e,t,n){switch(e.tag){case 26:jl(e,t,n),e.flags&Al&&e.memoizedState!==null&&Gf(n,_l,e.memoizedState,e.memoizedProps);break;case 5:jl(e,t,n);break;case 3:case 4:var r=_l;_l=gf(e.stateNode.containerInfo),jl(e,t,n),_l=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Al,Al=16777216,jl(e,t,n),Al=r):jl(e,t,n));break;default:jl(e,t,n)}}function Nl(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Pl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];al=r,Ll(r,e)}Nl(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Fl(e),e=e.sibling}function Fl(e){switch(e.tag){case 0:case 11:case 15:Pl(e),e.flags&2048&&Uc(9,e,e.return);break;case 3:Pl(e);break;case 12:Pl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Il(e)):Pl(e);break;default:Pl(e)}}function Il(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];al=r,Ll(r,e)}Nl(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Uc(8,t,t.return),Il(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Il(t));break;default:Il(t)}e=e.sibling}}function Ll(e,t){for(;al!==null;){var n=al;switch(n.tag){case 0:case 11:case 15:Uc(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:sa(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,al=r;else a:for(n=e;al!==null;){r=al;var i=r.sibling,a=r.return;if(cl(r),r===n){al=null;break a}if(i!==null){i.return=a,al=i;break a}al=a}}}var Rl={getCacheForType:function(e){var t=$i(aa),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return $i(aa).controller.signal}},zl=typeof WeakMap==`function`?WeakMap:Map,G=0,K=null,q=null,J=0,Y=0,Bl=null,Vl=!1,Hl=!1,Ul=!1,Wl=0,X=0,Gl=0,Kl=0,ql=0,Jl=0,Yl=0,Xl=null,Zl=null,Ql=!1,$l=0,eu=0,tu=1/0,nu=null,ru=null,iu=0,au=null,ou=null,su=0,cu=0,lu=null,uu=null,du=0,fu=null;function pu(){return G&2&&J!==0?J&-J:k.T===null?st():dd()}function mu(){if(Jl===0)if(!(J&536870912)||V){var e=qe;qe<<=1,!(qe&3932160)&&(qe=262144),Jl=e}else Jl=536870912;return e=to.current,e!==null&&(e.flags|=32),Jl}function hu(e,t,n){(e===K&&(Y===2||Y===9)||e.cancelPendingCommit!==null)&&(Su(e,0),yu(e,J,Jl,!1)),N(e,n),(!(G&2)||e!==K)&&(e===K&&(!(G&2)&&(Kl|=n),X===4&&yu(e,J,Jl,!1)),rd(e))}function gu(e,t,n){if(G&6)throw Error(o(327));var r=!n&&(t&127)==0&&(t&e.expiredLanes)===0||Ze(e,t),i=r?Au(e,t):Ou(e,t,!0),a=r;do{if(i===0){Hl&&!r&&yu(e,t,0,!1);break}else{if(n=e.current.alternate,a&&!vu(n)){i=Ou(e,t,!1),a=!1;continue}if(i===2){if(a=t,e.errorRecoveryDisabledLanes&a)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;i=Xl;var l=c.current.memoizedState.isDehydrated;if(l&&(Su(c,s).flags|=256),s=Ou(c,s,!1),s!==2){if(Ul&&!l){c.errorRecoveryDisabledLanes|=a,Kl|=a,i=4;break a}a=Zl,Zl=i,a!==null&&(Zl===null?Zl=a:Zl.push.apply(Zl,a))}i=s}if(a=!1,i!==2)continue}}if(i===1){Su(e,0),yu(e,t,0,!0);break}a:{switch(r=e,a=i,a){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:yu(r,t,Jl,!Vl);break a;case 2:Zl=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(i=$l+300-je(),10<i)){if(yu(r,t,Jl,!Vl),Xe(r,0,!0)!==0)break a;su=t,r.timeoutHandle=Kd(_u.bind(null,r,n,Zl,nu,Ql,t,Jl,Kl,Yl,Vl,a,`Throttled`,-0,0),i);break a}_u(r,n,Zl,nu,Ql,t,Jl,Kl,Yl,Vl,a,null,-0,0)}}break}while(1);rd(e)}function _u(e,t,n,r,i,a,o,s,c,l,u,d,f,p){if(e.timeoutHandle=-1,d=t.subtreeFlags,d&8192||(d&16785408)==16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:tn},Ml(t,a,d);var m=(a&62914560)===a?$l-je():(a&4194048)===a?eu-je():0;if(m=qf(d,m),m!==null){su=a,e.cancelPendingCommit=m(Lu.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),yu(e,a,o,!l);return}}Lu(e,t,a,n,r,i,o,s,c)}function vu(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!xr(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function yu(e,t,n,r){t&=~ql,t&=~Kl,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-M(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&nt(e,n,t)}function bu(){return G&6?!0:(id(0,!1),!1)}function xu(){if(q!==null){if(Y===0)var e=q.return;else e=q,Gi=Wi=null,Oo(e),Aa=null,ja=0,e=q;for(;e!==null;)Vc(e.alternate,e),e=e.return;q=null}}function Su(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,qd(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),su=0,xu(),K=e,q=n=li(e.current,null),J=t,Y=0,Bl=null,Vl=!1,Hl=Ze(e,t),Ul=!1,Yl=Jl=ql=Kl=Gl=X=0,Zl=Xl=null,Ql=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-M(r),a=1<<i;t|=e[i],r&=~a}return Wl=t,$r(),n}function Cu(e,t){H=null,k.H=Rs,t===ba||t===Sa?(t=Oa(),Y=3):t===xa?(t=Oa(),Y=4):Y=t===nc?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,Bl=t,q===null&&(X=1,Xs(e,_i(t,e.current)))}function wu(){var e=to.current;return e===null?!0:(J&4194048)===J?no===null:(J&62914560)===J||J&536870912?e===no:!1}function Tu(){var e=k.H;return k.H=Rs,e===null?Rs:e}function Eu(){var e=k.A;return k.A=Rl,e}function Du(){X=4,Vl||(J&4194048)!==J&&to.current!==null||(Hl=!0),!(Gl&134217727)&&!(Kl&134217727)||K===null||yu(K,J,Jl,!1)}function Ou(e,t,n){var r=G;G|=2;var i=Tu(),a=Eu();(K!==e||J!==t)&&(nu=null,Su(e,t)),t=!1;var o=X;a:do try{if(Y!==0&&q!==null){var s=q,c=Bl;switch(Y){case 8:xu(),o=6;break a;case 3:case 2:case 9:case 6:to.current===null&&(t=!0);var l=Y;if(Y=0,Bl=null,Pu(e,s,c,l),n&&Hl){o=0;break a}break;default:l=Y,Y=0,Bl=null,Pu(e,s,c,l)}}ku(),o=X;break}catch(t){Cu(e,t)}while(1);return t&&e.shellSuspendCounter++,Gi=Wi=null,G=r,k.H=i,k.A=a,q===null&&(K=null,J=0,$r()),o}function ku(){for(;q!==null;)Mu(q)}function Au(e,t){var n=G;G|=2;var r=Tu(),i=Eu();K!==e||J!==t?(nu=null,tu=je()+500,Su(e,t)):Hl=Ze(e,t);a:do try{if(Y!==0&&q!==null){t=q;var a=Bl;b:switch(Y){case 1:Y=0,Bl=null,Pu(e,t,a,1);break;case 2:case 9:if(wa(a)){Y=0,Bl=null,Nu(t);break}t=function(){Y!==2&&Y!==9||K!==e||(Y=7),rd(e)},a.then(t,t);break a;case 3:Y=7;break a;case 4:Y=5;break a;case 7:wa(a)?(Y=0,Bl=null,Nu(t)):(Y=0,Bl=null,Pu(e,t,a,7));break;case 5:var s=null;switch(q.tag){case 26:s=q.memoizedState;case 5:case 27:var c=q;if(s?Wf(s):c.stateNode.complete){Y=0,Bl=null;var l=c.sibling;if(l!==null)q=l;else{var u=c.return;u===null?q=null:(q=u,Fu(u))}break b}}Y=0,Bl=null,Pu(e,t,a,5);break;case 6:Y=0,Bl=null,Pu(e,t,a,6);break;case 8:xu(),X=6;break a;default:throw Error(o(462))}}ju();break}catch(t){Cu(e,t)}while(1);return Gi=Wi=null,k.H=r,k.A=i,G=n,q===null?(K=null,J=0,$r(),X):0}function ju(){for(;q!==null&&!ke();)Mu(q)}function Mu(e){var t=Mc(e.alternate,e,Wl);e.memoizedProps=e.pendingProps,t===null?Fu(e):q=t}function Nu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=gc(n,t,t.pendingProps,t.type,void 0,J);break;case 11:t=gc(n,t,t.pendingProps,t.type.render,t.ref,J);break;case 5:Oo(t);default:Vc(n,t),t=q=ui(t,Wl),t=Mc(n,t,Wl)}e.memoizedProps=e.pendingProps,t===null?Fu(e):q=t}function Pu(e,t,n,r){Gi=Wi=null,Oo(t),Aa=null,ja=0;var i=t.return;try{if(tc(e,i,t,n,J)){X=1,Xs(e,_i(n,e.current)),q=null;return}}catch(t){if(i!==null)throw q=i,t;X=1,Xs(e,_i(n,e.current)),q=null;return}t.flags&32768?(V||r===1?e=!0:Hl||J&536870912?e=!1:(Vl=e=!0,(r===2||r===9||r===3||r===6)&&(r=to.current,r!==null&&r.tag===13&&(r.flags|=16384))),Iu(t,e)):Fu(t)}function Fu(e){var t=e;do{if(t.flags&32768){Iu(t,Vl);return}e=t.return;var n=zc(t.alternate,t,Wl);if(n!==null){q=n;return}if(t=t.sibling,t!==null){q=t;return}q=t=e}while(t!==null);X===0&&(X=5)}function Iu(e,t){do{var n=Bc(e.alternate,e);if(n!==null){n.flags&=32767,q=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){q=e;return}q=e=n}while(e!==null);X=6,q=null}function Lu(e,t,n,r,i,a,s,c,l){e.cancelPendingCommit=null;do Hu();while(iu!==0);if(G&6)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));if(a=t.lanes|t.childLanes,a|=Qr,tt(e,n,a,s,c,l),e===K&&(q=K=null,J=0),ou=t,au=e,su=n,cu=a,lu=i,uu=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,Xu(Fe,function(){return Uu(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=k.T,k.T=null,i=A.p,A.p=2,s=G,G|=4;try{ol(e,t,n)}finally{G=s,A.p=i,k.T=r}}iu=1,Ru(),zu(),Bu()}}function Ru(){if(iu===1){iu=0;var e=au,t=ou,n=(t.flags&13878)!=0;if(t.subtreeFlags&13878||n){n=k.T,k.T=null;var r=A.p;A.p=2;var i=G;G|=4;try{vl(t,e);var a=zd,o=Er(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&Tr(s.ownerDocument.documentElement,s)){if(c!==null&&Dr(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=wr(s,h),v=wr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}sp=!!Rd,zd=Rd=null}finally{G=i,A.p=r,k.T=n}}e.current=t,iu=2}}function zu(){if(iu===2){iu=0;var e=au,t=ou,n=(t.flags&8772)!=0;if(t.subtreeFlags&8772||n){n=k.T,k.T=null;var r=A.p;A.p=2;var i=G;G|=4;try{sl(e,t.alternate,t)}finally{G=i,A.p=r,k.T=n}}iu=3}}function Bu(){if(iu===4||iu===3){iu=0,Ae();var e=au,t=ou,n=su,r=uu;t.subtreeFlags&10256||t.flags&10256?iu=5:(iu=0,ou=au=null,Vu(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(ru=null),ot(n),t=t.stateNode,Ve&&typeof Ve.onCommitFiberRoot==`function`)try{Ve.onCommitFiberRoot(Be,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=k.T,i=A.p,A.p=2,k.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{k.T=t,A.p=i}}su&3&&Hu(),rd(e),i=e.pendingLanes,n&261930&&i&42?e===fu?du++:(du=0,fu=e):du=0,id(0,!1)}}function Vu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,sa(t)))}function Hu(){return Ru(),zu(),Bu(),Uu()}function Uu(){if(iu!==5)return!1;var e=au,t=cu;cu=0;var n=ot(su),r=k.T,i=A.p;try{A.p=32>n?32:n,k.T=null,n=lu,lu=null;var a=au,s=su;if(iu=0,ou=au=null,su=0,G&6)throw Error(o(331));var c=G;if(G|=4,Fl(a.current),Dl(a,a.current,s,n),G=c,id(0,!1),Ve&&typeof Ve.onPostCommitFiberRoot==`function`)try{Ve.onPostCommitFiberRoot(Be,a)}catch{}return!0}finally{A.p=i,k.T=r,Vu(e,t)}}function Wu(e,t,n){t=_i(n,t),t=Qs(e.stateNode,t,2),e=Ha(e,t,2),e!==null&&(N(e,2),rd(e))}function Z(e,t,n){if(e.tag===3)Wu(e,e,n);else for(;t!==null;){if(t.tag===3){Wu(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(ru===null||!ru.has(r))){e=_i(n,e),n=$s(2),r=Ha(t,n,2),r!==null&&(ec(n,r,t,e),N(r,2),rd(r));break}}t=t.return}}function Gu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new zl;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(Ul=!0,i.add(n),e=Ku.bind(null,e,t,n),t.then(e,e))}function Ku(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,K===e&&(J&n)===n&&(X===4||X===3&&(J&62914560)===J&&300>je()-$l?!(G&2)&&Su(e,0):ql|=n,Yl===J&&(Yl=0)),rd(e)}function qu(e,t){t===0&&(t=$e()),e=ni(e,t),e!==null&&(N(e,t),rd(e))}function Ju(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),qu(e,n)}function Yu(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(o(314))}r!==null&&r.delete(t),qu(e,n)}function Xu(e,t){return De(e,t)}var Zu=null,Qu=null,$u=!1,ed=!1,td=!1,nd=0;function rd(e){e!==Qu&&e.next===null&&(Qu===null?Zu=Qu=e:Qu=Qu.next=e),ed=!0,$u||($u=!0,ud())}function id(e,t){if(!td&&ed){td=!0;do for(var n=!1,r=Zu;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-M(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,ld(r,a))}else a=J,a=Xe(r,r===K?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||Ze(r,a)||(n=!0,ld(r,a));r=r.next}while(n);td=!1}}function ad(){od()}function od(){ed=$u=!1;var e=0;nd!==0&&Gd()&&(e=nd);for(var t=je(),n=null,r=Zu;r!==null;){var i=r.next,a=sd(r,t);a===0?(r.next=null,n===null?Zu=i:n.next=i,i===null&&(Qu=n)):(n=r,(e!==0||a&3)&&(ed=!0)),r=i}iu!==0&&iu!==5||id(e,!1),nd!==0&&(nd=0)}function sd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-M(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Qe(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=K,n=J,n=Xe(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(Y===2||Y===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&Oe(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||Ze(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&Oe(r),ot(n)){case 2:case 8:n=Pe;break;case 32:n=Fe;break;case 268435456:n=Le;break;default:n=Fe}return r=cd.bind(null,e),n=De(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&Oe(r),e.callbackPriority=2,e.callbackNode=null,2}function cd(e,t){if(iu!==0&&iu!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Hu()&&e.callbackNode!==n)return null;var r=J;return r=Xe(e,e===K?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(gu(e,r,t),sd(e,je()),e.callbackNode!=null&&e.callbackNode===n?cd.bind(null,e):null)}function ld(e,t){if(Hu())return null;gu(e,t,!0)}function ud(){Yd(function(){G&6?De(Ne,ad):od()})}function dd(){if(nd===0){var e=ua;e===0&&(e=Ke,Ke<<=1,!(Ke&261888)&&(Ke=256)),nd=e}return nd}function fd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:F(``+e)}function pd(e,t){var n=t.ownerDocument.createElement(`input`);return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(`form`,e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function md(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=fd((i[ut]||null).action),o=r.submitter;o&&(t=(t=o[ut]||null)?fd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new xn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(nd!==0){var e=o?pd(i,o):new FormData(i);ws(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?pd(i,o):new FormData(i),ws(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var hd=0;hd<qr.length;hd++){var gd=qr[hd];Jr(gd.toLowerCase(),`on`+(gd[0].toUpperCase()+gd.slice(1)))}Jr(zr,`onAnimationEnd`),Jr(Br,`onAnimationIteration`),Jr(Vr,`onAnimationStart`),Jr(`dblclick`,`onDoubleClick`),Jr(`focusin`,`onFocus`),Jr(`focusout`,`onBlur`),Jr(Hr,`onTransitionRun`),Jr(Ur,`onTransitionStart`),Jr(Wr,`onTransitionCancel`),Jr(Gr,`onTransitionEnd`),Et(`onMouseEnter`,[`mouseout`,`mouseover`]),Et(`onMouseLeave`,[`mouseout`,`mouseover`]),Et(`onPointerEnter`,[`pointerout`,`pointerover`]),Et(`onPointerLeave`,[`pointerout`,`pointerover`]),Tt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Tt(`onSelect`,`focusout contextmenu dragend focu
9sin keydown keyup mousedown mouseup selectionchange`.split(` `)),Tt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Tt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Tt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Tt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var _d=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),vd=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(_d));function yd(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Yr(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Yr(e)}i.currentTarget=null,a=c}}}}function Q(e,t){var n=t[ft];n===void 0&&(n=t[ft]=new Set);var r=e+`__bubble`;n.has(r)||(Cd(t,e,2,!1),n.add(r))}function bd(e,t,n){var r=0;t&&(r|=4),Cd(n,e,r,t)}var xd=`_reactListening`+Math.random().toString(36).slice(2);function Sd(e){if(!e[xd]){e[xd]=!0,Ct.forEach(function(t){t!==`selectionchange`&&(vd.has(t)||bd(t,!1,e),bd(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[xd]||(t[xd]=!0,bd(`selectionchange`,!1,t))}}function Cd(e,t,n,r){switch(mp(t)){case 2:var i=cp;break;case 8:i=lp;break;default:i=up}n=i.bind(null,t,n,e),i=void 0,!dn||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function wd(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var s=r.stateNode.containerInfo;if(s===i)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&o.stateNode.containerInfo===i)return;o=o.return}for(;s!==null;){if(o=vt(s),o===null)return;if(l=o.tag,l===5||l===6||l===26||l===27){r=a=o;continue a}s=s.parentNode}}r=r.return}cn(function(){var r=a,i=rn(n),o=[];a:{var s=Kr.get(e);if(s!==void 0){var l=xn,u=e;switch(e){case`keypress`:if(gn(n)===0)break a;case`keydown`:case`keyup`:l=zn;break;case`focusin`:u=`focus`,l=An;break;case`focusout`:u=`blur`,l=An;break;case`beforeblur`:case`afterblur`:l=An;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=On;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=kn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Vn;break;case zr:case Br:case Vr:l=jn;break;case Gr:l=Hn;break;case`scroll`:case`scrollend`:l=Cn;break;case`wheel`:l=Un;break;case`copy`:case`cut`:case`paste`:l=Mn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Bn;break;case`toggle`:case`beforetoggle`:l=Wn}var d=(t&4)!=0,f=!d&&(e===`scroll`||e===`scrollend`),p=d?s===null?null:s+`Capture`:s;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=ln(m,p),g!=null&&d.push(Td(m,g,h))),f)break;m=m.return}0<d.length&&(s=new l(s,u,null,n,i),o.push({event:s,listeners:d}))}}if(!(t&7)){a:{if(s=e===`mouseover`||e===`pointerover`,l=e===`mouseout`||e===`pointerout`,s&&n!==nn&&(u=n.relatedTarget||n.fromElement)&&(vt(u)||u[dt]))break a;if((l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,u=u?vt(u):null,u!==null&&(f=c(u),d=u.tag,u!==f||d!==5&&d!==27&&d!==6)&&(u=null)):(l=null,u=r),l!==u)){if(d=On,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Bn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?s:bt(l),h=u==null?s:bt(u),s=new d(g,m+`leave`,l,n,i),s.target=f,s.relatedTarget=h,g=null,vt(i)===r&&(d=new d(p,m+`enter`,u,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,l&&u)b:{for(d=Dd,p=l,m=u,h=0,g=p;g;g=d(g))h++;g=0;for(var _=m;_;_=d(_))g++;for(;0<h-g;)p=d(p),h--;for(;0<g-h;)m=d(m),g--;for(;h--;){if(p===m||m!==null&&p===m.alternate){d=p;break b}p=d(p),m=d(m)}d=null}else d=null;l!==null&&Od(o,s,l,d,!1),u!==null&&f!==null&&Od(o,f,u,d,!0)}}a:{if(s=r?bt(r):window,l=s.nodeName&&s.nodeName.toLowerCase(),l===`select`||l===`input`&&s.type===`file`)var v=dr;else if(ir(s))if(fr)v=yr;else{v=_r;var y=gr}else l=s.nodeName,!l||l.toLowerCase()!==`input`||s.type!==`checkbox`&&s.type!==`radio`?r&&Qt(r.elementType)&&(v=dr):v=vr;if(v&&=v(e,r)){ar(o,v,n,i);break a}y&&y(e,s,r),e===`focusout`&&r&&s.type===`number`&&r.memoizedProps.value!=null&&Wt(s,`number`,s.value)}switch(y=r?bt(r):window,e){case`focusin`:(ir(y)||y.contentEditable===`true`)&&(kr=y,Ar=r,jr=null);break;case`focusout`:jr=Ar=kr=null;break;case`mousedown`:Mr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Mr=!1,Nr(o,n,i);break;case`selectionchange`:if(Or)break;case`keydown`:case`keyup`:Nr(o,n,i)}var b;if(Kn)b:{switch(e){case`compositionstart`:var x=`onCompositionStart`;break b;case`compositionend`:x=`onCompositionEnd`;break b;case`compositionupdate`:x=`onCompositionUpdate`;break b}x=void 0}else er?Qn(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(Yn&&n.locale!==`ko`&&(er||x!==`onCompositionStart`?x===`onCompositionEnd`&&er&&(b=hn()):(pn=i,L=`value`in pn?pn.value:pn.textContent,er=!0)),y=Ed(r,x),0<y.length&&(x=new Nn(x,e,null,n,i),o.push({event:x,listeners:y}),b?x.data=b:(b=$n(n),b!==null&&(x.data=b)))),(b=Jn?tr(e,n):nr(e,n))&&(x=Ed(r,`onBeforeInput`),0<x.length&&(y=new Nn(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:y,listeners:x}),y.data=b)),md(o,e,r,n,i)}yd(o,t)})}function Td(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ed(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=ln(e,n),i!=null&&r.unshift(Td(e,i,a)),i=ln(e,t),i!=null&&r.push(Td(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Dd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Od(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=ln(n,a),l!=null&&o.unshift(Td(n,l,c))):i||(l=ln(n,a),l!=null&&o.push(Td(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var kd=/\r\n?/g,Ad=/\u0000|\uFFFD/g;
vendor: 10,428 bytes, lines 9-10
9function jd(e){return(typeof e==`string`?e:``+e).replace(kd,`
10`).replace(Ad,``)}function Md(e,t){return t=jd(t),jd(e)===t}function $(e,t,n,r,i,a){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||Jt(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&Jt(e,``+r);break;case`className`:Mt(e,`class`,r);break;case`tabIndex`:Mt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Mt(e,n,r);break;case`style`:Zt(e,r,a);break;case`data`:if(t!==`object`){Mt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=F(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}else typeof a==`function`&&(n===`formAction`?(t!==`input`&&$(e,t,`name`,i.name,i,null),$(e,t,`formEncType`,i.formEncType,i,null),$(e,t,`formMethod`,i.formMethod,i,null),$(e,t,`formTarget`,i.formTarget,i,null)):($(e,t,`encType`,i.encType,i,null),$(e,t,`method`,i.method,i,null),$(e,t,`target`,i.target,i,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=F(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=tn);break;case`onScroll`:r!=null&&Q(`scroll`,e);break;case`onScrollEnd`:r!=null&&Q(`scrollend`,e);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(o(61));if(n=r.__html,n!=null){if(i.children!=null)throw Error(o(60));e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=F(``+r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``+r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:Q(`beforetoggle`,e),Q(`toggle`,e),jt(e,`popover`,r);break;case`xlinkActuate`:Nt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Nt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Nt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Nt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Nt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Nt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Nt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Nt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Nt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:jt(e,`is`,r);break;case`innerText`:case`textContent`:break;default:(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)&&(n=$t.get(n)||n,jt(e,n,r))}}function Nd(e,t,n,r,i,a){switch(n){case`style`:Zt(e,r,a);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(o(61));if(n=r.__html,n!=null){if(i.children!=null)throw Error(o(60));e.innerHTML=n}}break;case`children`:typeof r==`string`?Jt(e,r):(typeof r==`number`||typeof r==`bigint`)&&Jt(e,``+r);break;case`onScroll`:r!=null&&Q(`scroll`,e);break;case`onScrollEnd`:r!=null&&Q(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=tn);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!wt.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(i=n.endsWith(`Capture`),t=n.slice(2,i?n.length-7:void 0),a=e[ut]||null,a=a==null?null:a[n],typeof a==`function`&&e.removeEventListener(t,a,i),typeof r==`function`)){typeof a!=`function`&&a!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,i);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):jt(e,n,r)}}}function Pd(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:Q(`error`,e),Q(`load`,e);var r=!1,i=!1,a;for(a in n)if(n.hasOwnProperty(a)){var s=n[a];if(s!=null)switch(a){case`src`:r=!0;break;case`srcSet`:i=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(o(137,t));default:$(e,t,a,s,n,null)}}i&&$(e,t,`srcSet`,n.srcSet,n,null),r&&$(e,t,`src`,n.src,n,null);return;case`input`:Q(`invalid`,e);var c=a=s=i=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:i=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:a=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(o(137,t));break;default:$(e,t,r,d,n,null)}}Ut(e,a,c,l,u,s,i,!1);return;case`select`:for(i in Q(`invalid`,e),r=s=a=null,n)if(n.hasOwnProperty(i)&&(c=n[i],c!=null))switch(i){case`value`:a=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:$(e,t,i,c,n,null)}t=a,n=s,e.multiple=!!r,t==null?n!=null&&Gt(e,!!r,n,!0):Gt(e,!!r,t,!1);return;case`textarea`:for(s in Q(`invalid`,e),a=i=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:i=c;break;case`children`:a=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(o(91));break;default:$(e,t,s,c,n,null)}qt(e,r,i,a);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:$(e,t,l,r,n,null)}return;case`dialog`:Q(`beforetoggle`,e),Q(`toggle`,e),Q(`cancel`,e),Q(`close`,e);break;case`iframe`:case`object`:Q(`load`,e);break;case`video`:case`audio`:for(r=0;r<_d.length;r++)Q(_d[r],e);break;case`image`:Q(`error`,e),Q(`load`,e);break;case`details`:Q(`toggle`,e);break;case`embed`:case`source`:case`link`:Q(`error`,e),Q(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(o(137,t));default:$(e,t,u,r,n,null)}return;default:if(Qt(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&Nd(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&$(e,t,c,r,n,null))}function Fd(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var i=null,a=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||$(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:a=m;break;case`name`:i=m;break;case`checked`:u=m;break;case`defaultChecked`:d=m;break;case`value`:s=m;break;case`defaultValue`:c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(o(137,t));break;default:m!==f&&$(e,t,p,m,r,f)}}Ht(e,s,c,l,u,d,a,i);return;case`select`:for(a in m=s=c=p=null,n)if(l=n[a],n.hasOwnProperty(a)&&l!=null)switch(a){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(a)||$(e,t,a,null,r,l)}for(i in r)if(a=r[i],l=n[i],r.hasOwnProperty(i)&&(a!=null||l!=null))switch(i){case`value`:p=a;break;case`defaultValue`:c=a;break;case`multiple`:s=a;default:a!==l&&$(e,t,i,a,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?Gt(e,!!n,n?[]:``,!1):Gt(e,!!n,t,!0)):Gt(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(i=n[c],n.hasOwnProperty(c)&&i!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:$(e,t,c,null,r,i)}for(s in r)if(i=r[s],a=n[s],r.hasOwnProperty(s)&&(i!=null||a!=null))switch(s){case`value`:p=i;break;case`defaultValue`:m=i;break;case`children`:break;case`dangerouslySetInnerHTML`:if(i!=null)throw Error(o(91));break;default:i!==a&&$(e,t,s,i,r,a)}Kt(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:$(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:$(e,t,l,p,r,m)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&$(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(o(137,t));break;default:$(e,t,u,p,r,m)}return;default:if(Qt(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&Nd(e,t,_,void 0,r,p);
vendor: 4,461 bytes, line 10
10for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||Nd(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&$(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||$(e,t,f,p,r,m)}function Id(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Ld(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&Id(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&Id(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var Rd=null,zd=null;function Bd(e){return e.nodeType===9?e:e.ownerDocument}function Vd(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function Hd(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function Ud(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Wd=null;function Gd(){var e=window.event;return e&&e.type===`popstate`?e===Wd?!1:(Wd=e,!0):(Wd=null,!1)}var Kd=typeof setTimeout==`function`?setTimeout:void 0,qd=typeof clearTimeout==`function`?clearTimeout:void 0,Jd=typeof Promise==`function`?Promise:void 0,Yd=typeof queueMicrotask==`function`?queueMicrotask:Jd===void 0?Kd:function(e){return Jd.resolve(null).then(e).catch(Xd)};function Xd(e){setTimeout(function(){throw e})}function Zd(e){return e===`head`}function Qd(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),Np(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)pf(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,pf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[gt]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&pf(e.ownerDocument.body);n=i}while(n);Np(t)}function $d(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8)if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++;n=r}while(n)}function ef(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:ef(n),_t(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function tf(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r)if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e;else if(!e[gt])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=cf(e.nextSibling),e===null)break}return null}function nf(e,t,n){if(t===``)return null;for(;
vendor: 20,904 bytes, line 10
10e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=cf(e.nextSibling),e===null))return null;return e}function rf(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=cf(e.nextSibling),e===null))return null;return e}function af(e){return e.data===`$?`||e.data===`$~`}function of(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function sf(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function cf(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var lf=null;function uf(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return cf(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function df(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function ff(e,t,n){switch(t=Bd(n),e){case`html`:if(e=t.documentElement,!e)throw Error(o(452));return e;case`head`:if(e=t.head,!e)throw Error(o(453));return e;case`body`:if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function pf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);_t(e)}var mf=new Map,hf=new Set;function gf(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var _f=A.d;A.d={f:vf,r:yf,D:Sf,C:Cf,L:wf,m:Tf,X:Df,S:Ef,M:Of};function vf(){var e=_f.f(),t=bu();return e||t}function yf(e){var t=yt(e);t!==null&&t.tag===5&&t.type===`form`?Es(t):_f.r(e)}var bf=typeof document>`u`?null:document;function xf(e,t,n){var r=bf;if(r&&typeof t==`string`&&t){var i=Vt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),hf.has(i)||(hf.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Pd(t,`link`,e),St(t),r.head.appendChild(t)))}}function Sf(e){_f.D(e),xf(`dns-prefetch`,e,null)}function Cf(e,t){_f.C(e,t),xf(`preconnect`,e,t)}function wf(e,t,n){_f.L(e,t,n);var r=bf;if(r&&e&&t){var i=`link[rel="preload"][as="`+Vt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Vt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Vt(n.imageSizes)+`"]`)):i+=`[href="`+Vt(e)+`"]`;var a=i;switch(t){case`style`:a=Af(e);break;case`script`:a=Pf(e)}mf.has(a)||(e=m({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),mf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(jf(a))||t===`script`&&r.querySelector(Ff(a))||(t=r.createElement(`link`),Pd(t,`link`,e),St(t),r.head.appendChild(t)))}}function Tf(e,t){_f.m(e,t);var n=bf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Vt(r)+`"][href="`+Vt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Pf(e)}if(!mf.has(a)&&(e=m({rel:`modulepreload`,href:e},t),mf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Ff(a)))return}r=n.createElement(`link`),Pd(r,`link`,e),St(r),n.head.appendChild(r)}}}function Ef(e,t,n){_f.S(e,t,n);var r=bf;if(r&&e){var i=xt(r).hoistableStyles,a=Af(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(jf(a)))s.loading=5;else{e=m({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=mf.get(a))&&Rf(e,n);var c=o=r.createElement(`link`);St(c),Pd(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Lf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Df(e,t){_f.X(e,t);var n=bf;if(n&&e){var r=xt(n).hoistableScripts,i=Pf(e),a=r.get(i);a||(a=n.querySelector(Ff(i)),a||(e=m({src:e,async:!0},t),(t=mf.get(i))&&zf(e,t),a=n.createElement(`script`),St(a),Pd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Of(e,t){_f.M(e,t);var n=bf;if(n&&e){var r=xt(n).hoistableScripts,i=Pf(e),a=r.get(i);a||(a=n.querySelector(Ff(i)),a||(e=m({src:e,async:!0,type:`module`},t),(t=mf.get(i))&&zf(e,t),a=n.createElement(`script`),St(a),Pd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function kf(e,t,n,r){var i=(i=pe.current)?gf(i):null;if(!i)throw Error(o(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=Af(n.href),n=xt(i).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Af(n.href);var a=xt(i).hoistableStyles,s=a.get(e);if(s||(i=i.ownerDocument||i,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},a.set(e,s),(a=i.querySelector(jf(e)))&&!a._p&&(s.instance=a,s.state.loading=5),mf.has(e)||(n={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},mf.set(e,n),a||Nf(i,e,n,s.state))),t&&r===null)throw Error(o(528,``));return s}if(t&&r!==null)throw Error(o(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=Pf(n),n=xt(i).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(o(444,e))}}function Af(e){return`href="`+Vt(e)+`"`}function jf(e){return`link[rel="stylesheet"][`+e+`]`}function Mf(e){return m({},e,{"data-precedence":e.precedence,precedence:null})}function Nf(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),Pd(t,`link`,n),St(t),e.head.appendChild(t))}function Pf(e){return`[src="`+Vt(e)+`"]`}function Ff(e){return`script[async]`+e}function If(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Vt(n.href)+`"]`);if(r)return t.instance=r,St(r),r;var i=m({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),St(r),Pd(r,`style`,i),Lf(r,n.precedence,e),t.instance=r;case`stylesheet`:i=Af(n.href);var a=e.querySelector(jf(i));if(a)return t.state.loading|=4,t.instance=a,St(a),a;r=Mf(n),(i=mf.get(i))&&Rf(r,i),a=(e.ownerDocument||e).createElement(`link`),St(a);var s=a;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Pd(a,`link`,r),t.state.loading|=4,Lf(a,n.precedence,e),t.instance=a;case`script`:return a=Pf(n.src),(i=e.querySelector(Ff(a)))?(t.instance=i,St(i),i):(r=n,(i=mf.get(a))&&(r=m({},n),zf(r,i)),e=e.ownerDocument||e,i=e.createElement(`script`),St(i),Pd(i,`link`,r),e.head.appendChild(i),t.instance=i);case`void`:return null;default:throw Error(o(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Lf(r,n.precedence,e));return t.instance}function Lf(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Rf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function zf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Bf=null;function Vf(e,t,n){if(Bf===null){var r=new Map,i=Bf=new Map;i.set(n,r)}else i=Bf,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[gt]||a[lt]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Hf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Uf(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Wf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Gf(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Af(r.href),a=t.querySelector(jf(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=Jf.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,St(a);return}a=t.ownerDocument||t,r=Mf(r),(i=mf.get(i))&&Rf(r,i),a=a.createElement(`link`),St(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Pd(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=Jf.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var Kf=0;function qf(e,t){return e.stylesheets&&e.count===0&&Xf(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&Xf(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&Kf===0&&(Kf=62500*Ld());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Xf(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>Kf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Jf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Xf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Yf=null;function Xf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Yf=new Map,t.forEach(Zf,e),Yf=null,Jf.call(e))}function Zf(e,t){if(!(t.state.loading&4)){var n=Yf.get(e);if(n)var r=n.get(null);else{n=new Map,Yf.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=Jf.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var Qf={$$typeof:S,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function $f(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=et(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=et(0),this.hiddenUpdates=et(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map}function ep(e,t,n,r,i,a,o,s,c,l,u,d){return e=new $f(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=si(3,null,null,t),e.current=a,a.stateNode=e,t=oa(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},za(a),e}function tp(e){return e?(e=ai,e):ai}function np(e,t,n,r,i,a){i=tp(i),r.context===null?r.context=i:r.pendingContext=i,r=Va(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=Ha(e,r,t),n!==null&&(hu(n,e,t),Ua(n,e,t))}function rp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ip(e,t){rp(e,t),(e=e.alternate)&&rp(e,t)}function ap(e){if(e.tag===13||e.tag===31){var t=ni(e,67108864);t!==null&&hu(t,e,67108864),ip(e,67108864)}}function op(e){if(e.tag===13||e.tag===31){var t=pu();t=at(t);var n=ni(e,t);n!==null&&hu(n,e,t),ip(e,t)}}var sp=!0;function cp(e,t,n,r){var i=k.T;k.T=null;var a=A.p;try{A.p=2,up(e,t,n,r)}finally{A.p=a,k.T=i}}function lp(e,t,n,r){var i=k.T;k.T=null;var a=A.p;try{A.p=8,up(e,t,n,r)}finally{A.p=a,k.T=i}}function up(e,t,n,r){if(sp){var i=dp(r);if(i===null)wd(e,t,r,fp,n),Cp(e,r);else if(Tp(i,e,t,n,r))r.stopPropagation();else if(Cp(e,r),t&4&&-1<Sp.indexOf(e)){for(;i!==null;){var a=yt(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=Ye(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-M(o);s.entanglements[1]|=c,o&=~c}rd(a),!(G&6)&&(tu=je()+500,id(0,!1))}}break;case 31:case 13:s=ni(a,2),s!==null&&hu(s,a,2),bu(),ip(a,2)}if(a=dp(r),a===null&&wd(e,t,r,fp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else wd(e,t,r,null,n)}}function dp(e){return e=rn(e),pp(e)}var fp=null;function pp(e){if(fp=null,e=vt(e),e!==null){var t=c(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=l(t),e!==null)return e;e=null}else if(n===31){if(e=u(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return fp=e,null}function mp(e){switch(e){case`beforetoggle`:case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`toggle`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 2;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch(Me()){case Ne:return 2;case Pe:return 8;case Fe:case Ie:return 32;case Le:return 268435456;default:return 32}default:return 32}}var hp=!1,gp=null,_p=null,vp=null,yp=new Map,bp=new Map,xp=[],Sp=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset`.split(` `);function Cp(e,t){switch(e){case`focusin`:case`focusout`:gp=null;break;case`dragenter`:case`dragleave`:_p=null;break;case`mouseover`:case`mouseout`:vp=null;break;case`pointerover`:case`pointerout`:yp.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:bp.delete(t.pointerId)}}function wp(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=yt(t),t!==null&&ap(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Tp(e,t,n,r,i){switch(t){case`focusin`:return gp=wp(gp,e,t,n,r,i),!0;case`dragenter`:return _p=wp(_p,e,t,n,r,i),!0;case`mouseover`:return vp=wp(vp,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return yp.set(a,wp(yp.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,bp.set(a,wp(bp.get(a)||null,e,t,n,r,i)),!0}return!1}function Ep(e){var t=vt(e.target);if(t!==null){var n=c(t);if(n!==null){if(t=n.tag,t===13){if(t=l(n),t!==null){e.blockedOn=t,ct(e.priority,function(){op(n)});return}}else if(t===31){if(t=u(n),t!==null){e.blockedOn=t,ct(e.priority,function(){op(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Dp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=dp(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);nn=r,n.target.dispatchEvent(r),nn=null}else return t=yt(n),t!==null&&ap(t),e.blockedOn=n,!1;t.shift()}return!0}function Op(e,t,n){Dp(e)&&n.delete(t)}function kp(){hp=!1,gp!==null&&Dp(gp)&&(gp=null),_p!==null&&Dp(_p)&&(_p=null),vp!==null&&Dp(vp)&&(vp=null),yp.forEach(Op),bp.forEach(Op)}function Ap(e,n){e.blockedOn===n&&(e.blockedOn=null,hp||(hp=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,kp)))}var jp=null;function Mp(e){jp!==e&&(jp=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){jp===e&&(jp=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(pp(r||n)===null)continue;break}var a=yt(n);a!==null&&(e.splice(t,3),t-=3,ws(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Np(e){function t(t){return Ap(t,e)}gp!==null&&Ap(gp,e),_p!==null&&Ap(_p,e),vp!==null&&Ap(vp,e),yp.forEach(t),bp.forEach(t);for(var n=0;n<xp.length;n++){var r=xp[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<xp.length&&(n=xp[0],n.blockedOn===null);)Ep(n),n.blockedOn===null&&xp.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[ut]||null;if(typeof a==`function`)o||Mp(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[ut]||null)s=o.formAction;else if(pp(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Mp(n)}}}function Pp(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Fp(e){this._internalRoot=e}Ip.prototype.render=Fp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var n=t.current;np(n,pu(),e,t,null,null)},Ip.prototype.unmount=Fp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;np(e.current,2,null,e,null,null),bu(),t[dt]=null}};function Ip(e){this._internalRoot=e}Ip.prototype.unstable_scheduleHydration=function(e){if(e){var t=st();e={blockedOn:null,target:e,priority:t};for(var n=0;n<xp.length&&t!==0&&t<xp[n].priority;n++);xp.splice(n,0,e),n===0&&Ep(e)}};var Lp=r.version;if(Lp!==`19.2.4`)throw Error(o(527,Lp,`19.2.4`));A.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(o(188)):(e=Object.keys(e).join(`,`),Error(o(268,e)));return e=f(t),e=e===null?null:p(e),e=e===null?null:e.stateNode,e};var Rp={bundleType:0,version:`19.2.4`,rendererPackageName:`react-dom`,currentDispatcherRef:k,reconcilerVersion:`19.2.4`};
10if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var zp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!zp.isDisabled&&zp.supportsFiber)try{Be=zp.inject(Rp),Ve=zp}catch{}}e.hydrateRoot=function(e,t,n){if(!s(e))throw Error(o(299));var r=!1,i=``,a=qs,c=Js,l=Ys,u=null;return n!=null&&(!0===n.unstable_strictMode&&(r=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onUncaughtError!==void 0&&(a=n.onUncaughtError),n.onCaughtError!==void 0&&(c=n.onCaughtError),n.onRecoverableError!==void 0&&(l=n.onRecoverableError),n.formState!==void 0&&(u=n.formState)),t=ep(e,1,!0,t,n??null,r,i,u,a,c,l,Pp),t.context=tp(null),n=t.current,r=pu(),r=at(r),i=Va(r),i.callback=null,Ha(n,i,r),n=r,t.current.lanes=n,N(t,n),rd(t),e[dt]=t.current,Sd(e),new Ip(t)}})),dr=t(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=ur()})),fr=Symbol.for(`TSR_DEFERRED_PROMISE`);function pr(e,t){let n=e;return n[fr]?n:(n[fr]={status:`pending`},n.then(e=>{n[fr].status=`success`,n[fr].data=e}).catch(e=>{n[fr].status=`error`,n[fr].error={data:(t?.serializeError??p)(e),__isServerError:!0}}),n)}var R=a(),z=e(n(),1);function mr({promise:e}){if(b)return b(e);let t=pr(e);if(t[fr].status===`pending`)throw t;if(t[fr].status===`error`)throw t[fr].error;return t[fr].data}function hr(e){let t=(0,R.jsx)(gr,{...e});return e.fallback?(0,R.jsx)(z.Suspense,{fallback:e.fallback,children:t}):t}function gr(e){let t=mr(e);return e.children(t)}function _r(){let e=y(),t=z.useRef({router:e,mounted:!1}),[n,r]=z.useState(!1),{hasPendingMatches:i,isLoading:a}=S({select:e=>({isLoading:e.isLoading,hasPendingMatches:e.matches.some(e=>e.status===`pending`)}),structuralSharing:!0}),o=C(a),c=a||n||i,u=C(c),d=a||i,f=C(d);return e.startTransition=e=>{r(!0),z.startTransition(()=>{e(),r(!1)})},z.useEffect(()=>{let t=e.history.subscribe(e.load),n=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return w(e.latestLocation.publicHref)!==w(n.publicHref)&&e.commitLocation({...n,replace:!0}),()=>{t()}},[e,e.history]),v(()=>{typeof window<`u`&&e.ssr||t.current.router===e&&t.current.mounted||(t.current={router:e,mounted:!0},(async()=>{try{await e.load()}catch(e){console.error(e)}})())},[e]),v(()=>{o&&!a&&e.emit({type:`onLoad`,...s(e.state)})},[o,e,a]),v(()=>{f&&!d&&e.emit({type:`onBeforeRouteMount`,...s(e.state)})},[d,f,e]),v(()=>{if(u&&!c){let t=s(e.state);e.emit({type:`onResolved`,...t}),e.__store.setState(e=>({...e,status:`idle`,resolvedLocation:e.location})),t.hrefChanged&&l(e)}},[c,u,e]),null}function vr(){let e=y(),t=e.routesById.__root__.options.pendingComponent??e.options.defaultPendingComponent,n=t?(0,R.jsx)(t,{}):null,r=(0,R.jsxs)(typeof document<`u`&&e.ssr?f:z.Suspense,{fallback:n,children:[(0,R.jsx)(_r,{}),(0,R.jsx)(yr,{})]});return e.options.InnerWrap?(0,R.jsx)(e.options.InnerWrap,{children:r}):r}function yr(){let e=y(),t=S({select:e=>e.matches[0]?.id}),n=S({select:e=>e.loadedAt}),r=t?(0,R.jsx)(m,{matchId:t}):null;return(0,R.jsx)(he.Provider,{value:t,children:e.options.disableGlobalCatchBoundary?r:(0,R.jsx)(c,{getResetKey:()=>n,errorComponent:o,onCatch:void 0,children:r})})}var br=e=>new xr(e),xr=class extends d{constructor(e){super(e)}};typeof globalThis<`u`?(globalThis.createFileRoute=D,globalThis.createLazyFileRoute=ae):typeof window<`u`&&(window.createFileRoute=D,window.createLazyFileRoute=ae);function Sr({router:e,children:t,...n}){Object.keys(n).length>
100&&e.update({...e.options,...n,context:{...e.options.context,...n.context}});let r=(0,R.jsx)(x.Provider,{value:e,children:t});return e.options.Wrap?(0,R.jsx)(e.options.Wrap,{children:r}):r}function Cr({router:e,...t}){return(0,R.jsx)(Sr,{router:e,...t,children:(0,R.jsx)(vr,{})})}function wr({tag:e,attrs:t,children:n,nonce:r}){switch(e){case`title`:return(0,R.jsx)(`title`,{...t,suppressHydrationWarning:!0,children:n});case`meta`:return(0,R.jsx)(`meta`,{...t,suppressHydrationWarning:!0});case`link`:return(0,R.jsx)(`link`,{...t,nonce:r,suppressHydrationWarning:!0});case`style`:return(0,R.jsx)(`style`,{...t,dangerouslySetInnerHTML:{__html:n},nonce:r});case`script`:return(0,R.jsx)(Tr,{attrs:t,children:n});default:return null}}function Tr({attrs:e,children:t}){y();let n=te(),r=typeof e?.type==`string`&&e.type!==``&&e.type!==`text/javascript`&&e.type!==`module`;if(z.useEffect(()=>{if(!r){if(e?.src){let t=(()=>{try{let t=document.baseURI||window.location.href;return new URL(e.src,t).href}catch{return e.src}})();if(Array.from(document.querySelectorAll(`script[src]`)).find(e=>e.src===t))return;let n=document.createElement(`script`);
10for(let[t,r]of Object.entries(e))t!==`suppressHydrationWarning`&&r!==void 0&&r!==!1&&n.setAttribute(t,typeof r==`boolean`?``:String(r));return document.head.appendChild(n),()=>{n.parentNode&&n.parentNode.removeChild(n)}}if(typeof t==`string`){let n=typeof e?.type==`string`?e.type:`text/javascript`,r=typeof e?.nonce==`string`?e.nonce:void 0;if(Array.from(document.querySelectorAll(`script:not([src])`)).find(e=>{if(!(e instanceof HTMLScriptElement))return!1;let i=e.getAttribute(`type`)??`text/javascript`,a=e.getAttribute(`nonce`)??void 0;return e.textContent===t&&i===n&&a===r}))return;let i=document.createElement(`script`);if(i.textContent=t,e)for(let[t,n]of Object.entries(e))t!==`suppressHydrationWarning`&&n!==void 0&&n!==!1&&i.setAttribute(t,typeof n==`boolean`?``:String(n));return document.head.appendChild(i),()=>{i.parentNode&&i.parentNode.removeChild(i)}}}},[e,t,r]),r&&typeof t==`string`)return(0,R.jsx)(`script`,{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:t}});if(!n){if(e?.src)return(0,R.jsx)(`script`,{...e,suppressHydrationWarning:!0});if(typeof t==`string`)return(0,R.jsx)(`script`,{...e,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0})}return null}var Er=()=>{let e=y(),t=e.options.ssr?.nonce,n=S({select:e=>e.matches.map(e=>e.meta).filter(Boolean)}),r=z.useMemo(()=>{let e=[],r={},i;for(let a=n.length-1;a>=0;a--){let o=n[a];for(let n=o.length-1;n>=0;n--){let a=o[n];if(a)if(a.title)i||={tag:`title`,children:a.title};else if(`script:ld+json`in a)try{let t=JSON.stringify(a[`script:ld+json`]);e.push({tag:`script`,attrs:{type:`application/ld+json`},children:_(t)})}catch{}else{let n=a.name??a.property;if(n){if(r[n])continue;r[n]=!0}e.push({tag:`meta`,attrs:{...a,nonce:t}})}}}return i&&e.push(i),t&&e.push({tag:`meta`,attrs:{property:`csp-nonce`,content:t}}),e.reverse(),e},[n,t]),i=S({select:n=>{let r=n.matches.map(e=>e.links).filter(Boolean).flat(1).map(e=>({tag:`link`,attrs:{...e,nonce:t}})),i=e.ssr?.manifest,a=n.matches.map(e=>i?.routes[e.routeId]?.assets??[]).filter(Boolean).flat(1).filter(e=>e.tag===`link`).map(e=>({tag:`link`,attrs:{...e.attrs,suppressHydrationWarning:!0,nonce:t}}));return[...r,...a]},structuralSharing:!0}),a=S({select:n=>{let r=[];return n.matches.map(t=>e.looseRoutesById[t.routeId]).forEach(n=>e.ssr?.manifest?.routes[n.id]?.preloads?.filter(Boolean).forEach(e=>{r.push({tag:`link`,attrs:{rel:`modulepreload`,href:e,nonce:t}})})),r},structuralSharing:!0}),o=S({select:e=>e.matches.map(e=>e.styles).flat(1).filter(Boolean).map(({children:e,...n})=>({tag:`style`,attrs:{...n,nonce:t},children:e})),structuralSharing:!0}),s=S({select:e=>e.matches.map(e=>e.headScripts).flat(1).filter(Boolean).map(({children:e,...n})=>({tag:`script`,attrs:{...n,nonce:t},children:e})),structuralSharing:!0});return Dr([...r,...a,...i,...o,...s],e=>JSON.stringify(e))};function Dr(e,t){let n=new Set;return e.filter(e=>{let r=t(e);return n.has(r)?!1:(n.add(r),!0)})}function Or(){let e=Er(),t=y().options.ssr?.nonce;return(0,R.jsx)(R.Fragment,{children:e.map(e=>(0,z.createElement)(wr,{...e,key:`tsr-meta-${JSON.stringify(e)}`,nonce:t}))})}var kr=()=>{let e=y(),t=e.options.ssr?.nonce,n=S({select:n=>{let r=[],i=e.ssr?.manifest;return i?(n.matches.map(t=>e.looseRoutesById[t.routeId]).forEach(e=>i.routes[e.id]?.assets?.filter(e=>e.tag===`script`).forEach(e=>{r.push({tag:`script`,attrs:{...e.attrs,nonce:t},children:e.children})})),r):[]},structuralSharing:!0}),{scripts:r}=S({select:e=>({scripts:e.matches.map(e=>e.scripts).flat(1).filter(Boolean).map(({children:e,...n})=>({tag:`script`,attrs:{...n,suppressHydrationWarning:!0,nonce:t},children:e}))}),structuralSharing:!0}),i;e.serverSsr&&(i=e.serverSsr.takeBufferedScripts());let a=[...r,...n];return i&&a.unshift(i),(0,R.jsx)(R.Fragment,{children:a.map((e,t)=>(0,z.createElement)(wr,{...e,key:`tsr-scripts-${e.tag}-${t}`}))})};function Ar(e){return e.replaceAll(`\0`,`/`).replaceAll(`�`,`/`)}function jr(e,t){e.id=t.i,e.__beforeLoadContext=t.b,e.loaderData=t.l,e.status=t.s,e.ssr=t.ssr,e.updatedAt=t.u,e.error=t.e,t.g!==void 0&&(e.globalNotFound=t.g)}async function Mr(e){ee(window.$_TSR,`Expected to find bootstrap data on window.$_TSR, but we did not. Please file an issue!`);let t=e.options.serializationAdapters;if(t?.length){let e=new Map;t.forEach(t=>{e.set(t.key,t.fromSerializable)}
10),window.$_TSR.t=e,window.$_TSR.buffer.forEach(e=>e())}window.$_TSR.initialized=!0,ee(window.$_TSR.router,`Expected to find a dehydrated data on window.$_TSR.router, but we did not. Please file an issue!`);let n=window.$_TSR.router;n.matches.forEach(e=>{e.i=Ar(e.i)}),n.lastMatchId&&=Ar(n.lastMatchId);let{manifest:r,dehydratedData:i,lastMatchId:a}=n;e.ssr={manifest:r};let o=document.querySelector(`meta[property="csp-nonce"]`)?.content;e.options.ssr={nonce:o};let s=e.matchRoutes(e.state.location),c=Promise.all(s.map(t=>e.loadRouteChunk(e.looseRoutesById[t.routeId])));function l(t){let n=e.looseRoutesById[t.routeId].options.pendingMinMs??e.options.defaultPendingMinMs;if(n){let r=g();t._nonReactive.minPendingPromise=r,t._forcePending=!0,setTimeout(()=>{r.resolve(),e.updateMatch(t.id,e=>(e._nonReactive.minPendingPromise=void 0,{...e,_forcePending:void 0}))},n)}}function u(t){let n=e.looseRoutesById[t.routeId];n&&(n.options.ssr=t.ssr)}let d;s.forEach(e=>{let t=n.matches.find(t=>t.i===e.id);if(!t){e._nonReactive.dehydrated=!1,e.ssr=!1,u(e);return}jr(e,t),u(e),e._nonReactive.dehydrated=e.ssr!==!1,(e.ssr===`data-only`||e.ssr===!1)&&d===void 0&&(d=e.index,l(e))}),e.__store.setState(e=>({...e,matches:s})),await e.options.hydrate?.(i),await Promise.all(e.state.matches.map(async t=>{try{let n=e.looseRoutesById[t.routeId],r=e.state.matches[t.index-1]?.context??e.options.context;if(n.options.context){let i={deps:t.loaderDeps,params:t.params,context:r??{},location:e.state.location,navigate:t=>e.navigate({...t,_fromLocation:e.state.location}),buildLocation:e.buildLocation,cause:t.cause,abortController:t.abortController,preload:!1,matches:s,routeId:n.id};t.__routeContext=n.options.context(i)??void 0}t.context={...r,...t.__routeContext,...t.__beforeLoadContext};let i={ssr:e.options.ssr,matches:e.state.matches,match:t,params:t.params,loaderData:t.loaderData},a=await n.options.head?.(i),o=await n.options.scripts?.(i);t.meta=a?.meta,t.links=a?.links,t.headScripts=a?.scripts,t.styles=a?.styles,t.scripts=o}catch(e){if(re(e))t.error={isNotFound:!0},console.error(`NotFound error during hydration for routeId: ${t.routeId}`,e);else throw t.error=e,console.error(`Error during hydration for route ${t.routeId}:`,e),e}}));let f=s[s.length-1].id!==a;if(!s.some(e=>e.ssr===!1)&&!f)return s.forEach(e=>{e._nonReactive.dehydrated=void 0}),c;let p=Promise.resolve().then(()=>e.load()).catch(e=>{console.error(`Error during router hydration:`,e)});if(f){let t=s[1];ee(t,`Expected to find a match below the root match in SPA mode.`),l(t),t._displayPending=!0,t._nonReactive.displayPendingPromise=p,p.then(()=>{h(()=>{e.__store.state.status===`pending`&&e.__store.setState(e=>({...e,status:`idle`,resolvedLocation:e.location})),e.updateMatch(t.id,e=>({...e,_displayPending:void 0,displayPendingPromise:void 0}))})})}return c}var Nr=le({key:`$TSS/serverfn`,test:e=>typeof e!=`function`||!(de in e)?!1:!!e[de],toSerializable:({serverFnMeta:e})=>({functionId:e.id}),fromSerializable:({functionId:e})=>oe(e)});function Pr(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{Oe(e,()=>t.signal,()=>n=!0)},u=Te(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject();if(r==null&&e.pages.length)return Promise.resolve(e);let a=await u((()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})()),{maxPages:o}=t.options,s=i?we:Me;return{pages:s(e.pages,a,o),pageParams:s(e.pageParams,r,o)}};if(i&&a.length){let e=i===`backward`,t=e?Ir:Fr,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:Fr(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function Fr(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Ir(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}function Lr(e,t){return t?Fr(e,t)!=null:!1}function Rr(e,t){return!t||!e.getPreviousPageParam?!1:Ir(e,t)!=null}var zr=class extends De{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){let r=new Le({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=Br(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=Br(e);if(typeof t==`string`){let n=this.#t.get(t);if(n)if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=Br(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>
vendor: 4,312 bytes, line 10
10e.state.status===`pending`);return!n||n===e}else return!0}runNext(e){let t=Br(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){Ae.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>Ne(t,e))}findAll(e={}){return this.getAll().filter(t=>Ne(e,t))}notify(e){Ae.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return Ae.batch(()=>Promise.all(e.map(e=>e.continue().catch(Se))))}};function Br(e){return e.options.scope?.id}var Vr=class extends De{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let r=t.queryKey,i=t.queryHash??Ee(r,t),a=this.get(i);return a||(a=new Ie({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){Ae.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>Fe(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>Fe(e,t)):t}notify(e){Ae.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Ae.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Ae.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Hr=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new Vr,this.#t=e.mutationCache||new zr,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=Ce.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=xe.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(be(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=je(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return Ae.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;Ae.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return Ae.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=Ae.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(Se).catch(Se)}invalidateQueries(e,t={}){return Ae.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=Ae.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(Se)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(Se)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(be(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Se).catch(Se)}
10fetchInfiniteQuery(e){return e.behavior=Pr(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Se).catch(Se)}ensureInfiniteQueryData(e){return e.behavior=Pr(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return xe.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(ke(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{Pe(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(ke(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{Pe(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=Ee(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===ye&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},Ur=Object.defineProperty,Wr=Object.getOwnPropertySymbols,Gr=Object.prototype.hasOwnProperty,Kr=Object.prototype.propertyIsEnumerable,qr=(e,t,n)=>t in e?Ur(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jr=(e,t)=>{for(var n in t||={})Gr.call(t,n)&&qr(e,n,t[n]);if(Wr)for(var n of Wr(t))Kr.call(t,n)&&qr(e,n,t[n]);return e},Yr=(e,t)=>{var n={};for(var r in e)Gr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Wr)for(var r of Wr(e))t.indexOf(r)<0&&Kr.call(e,r)&&(n[r]=e[r]);return n},Xr;(e=>{let t=class t{constructor(e,n,r,a){if(this.version=e,this.errorCorrectionLevel=n,this.modules=[],this.isFunction=[],e<t.MIN_VERSION||e>t.MAX_VERSION)throw RangeError(`Version value out of range`);if(a<-1||a>7)throw RangeError(`Mask value out of range`);this.size=e*4+17;let o=[];for(let e=0;e<this.size;e++)o.push(!1);for(let e=0;e<this.size;e++)this.modules.push(o.slice()),this.isFunction.push(o.slice());this.drawFunctionPatterns();let s=this.addEccAndInterleave(r);if(this.drawCodewords(s),a==-1){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);let n=this.getPenaltyScore();n<e&&(a=t,e=n),this.applyMask(t)}}i(0<=a&&a<=7),this.mask=a,this.applyMask(a),this.drawFormatBits(a),this.isFunction=[]}static encodeText(n,r){let i=e.QrSegment.makeSegments(n);return t.encodeSegments(i,r)}static encodeBinary(n,r){let i=e.QrSegment.makeBytes(n);return t.encodeSegments([i],r)}static encodeSegments(e,r,a=1,s=40,c=-1,l=!0){if(!(t.MIN_VERSION<=a&&a<=s&&s<=t.MAX_VERSION)||c<-1||c>7)throw RangeError(`Invalid value`);let u,d;for(u=a;;u++){let n=t.getNumDataCodewords(u,r)*8,i=o.getTotalBits(e,u);if(i<=n){d=i;break}if(u>=s)throw RangeError(`Data too long`)}for(let e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])l&&d<=t.getNumDataCodewords(u,e)*8&&(r=e);let f=[];for(let t of e){n(t.mode.modeBits,4,f),n(t.numChars,t.mode.numCharCountBits(u),f);for(let e of t.getData())f.push(e)}i(f.length==d);let p=t.getNumDataCodewords(u,r)*8;i(f.length<=p),n(0,Math.min(4,p-f.length),f),n(0,(8-f.length%8)%8,f),i(f.length%8==0);for(let e=236;f.length<p;e^=253)n(e,8,f);let m=[];for(;m.length*8<f.length;)m.push(0);return f.forEach((e,t)=>m[t>>>3]|=e<<7-(t&7)),new t(u,r,m,c)}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);let e=this.getAlignmentPatternPositions(),t=e.length;for(let n=0;n<t;n++)for(let r=0;r<t;r++)n==0&&r==0||n==0&&r==t-1||n==t-1&&r==0||this.drawAlignmentPattern(e[n],e[r]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){let t=this.errorCorrectionLevel.formatBits<<3|e,n=t;
10for(let e=0;e<10;e++)n=n<<1^(n>>>9)*1335;let a=(t<<10|n)^21522;i(a>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,r(a,e));this.setFunctionModule(8,7,r(a,6)),this.setFunctionModule(8,8,r(a,7)),this.setFunctionModule(7,8,r(a,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,r(a,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,r(a,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,r(a,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^(e>>>11)*7973;let t=this.version<<12|e;i(t>>>18==0);for(let e=0;e<18;e++){let n=r(t,e),i=this.size-11+e%3,a=Math.floor(e/3);this.setFunctionModule(i,a,n),this.setFunctionModule(a,i,n)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let r=-4;r<=4;r++){let i=Math.max(Math.abs(r),Math.abs(n)),a=e+r,o=t+n;0<=a&&a<this.size&&0<=o&&o<this.size&&this.setFunctionModule(a,o,i!=2&&i!=4)}}drawAlignmentPattern(e,t){for(let n=-2;n<=2;n++)for(let r=-2;r<=2;r++)this.setFunctionModule(e+r,t+n,Math.max(Math.abs(r),Math.abs(n))!=1)}setFunctionModule(e,t,n){this.modules[t][e]=n,this.isFunction[t][e]=!0}addEccAndInterleave(e){let n=this.version,r=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(n,r))throw RangeError(`Invalid argument`);let a=t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][n],o=t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][n],s=Math.floor(t.getNumRawDataModules(n)/8),c=a-s%a,l=Math.floor(s/a),u=[],d=t.reedSolomonComputeDivisor(o);for(let n=0,r=0;n<a;n++){let i=e.slice(r,r+l-o+(n<c?0:1));r+=i.length;let a=t.reedSolomonComputeRemainder(i,d);n<c&&i.push(0),u.push(i.concat(a))}let f=[];for(let e=0;e<u[0].length;e++)u.forEach((t,n)=>{(e!=l-o||n>=c)&&f.push(t[e])});return i(f.length==s),f}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw RangeError(`Invalid argument`);let n=0;for(let t=this.size-1;t>=1;t-=2){t==6&&(t=5);for(let i=0;i<this.size;i++)for(let a=0;a<2;a++){let o=t-a,s=t+1&2?i:this.size-1-i;!this.isFunction[s][o]&&n<e.length*8&&(this.modules[s][o]=r(e[n>>>3],7-(n&7)),n++)}}i(n==e.length*8)}applyMask(e){if(e<0||e>7)throw RangeError(`Mask value out of range`);for(let t=0;t<this.size;t++)for(let n=0;n<this.size;n++){let r;switch(e){case 0:r=(n+t)%2==0;break;case 1:r=t%2==0;break;case 2:r=n%3==0;break;case 3:r=(n+t)%3==0;break;case 4:r=(Math.floor(n/3)+Math.floor(t/2))%2==0;break;case 5:r=n*t%2+n*t%3==0;break;case 6:r=(n*t%2+n*t%3)%2==0;break;case 7:r=((n+t)%2+n*t%3)%2==0;break;default:throw Error(`Unreachable`)}!this.isFunction[t][n]&&r&&(this.modules[t][n]=!this.modules[t][n])}}getPenaltyScore(){let e=0;for(let n=0;n<this.size;n++){let r=!1,i=0,a=[0,0,0,0,0,0,0];for(let o=0;o<this.size;o++)this.modules[n][o]==r?(i++,i==5?e+=t.PENALTY_N1:i>5&&e++):(this.finderPenaltyAddHistory(i,a),r||(e+=this.finderPenaltyCountPatterns(a)*t.PENALTY_N3),r=this.modules[n][o],i=1);e+=this.finderPenaltyTerminateAndCount(r,i,a)*t.PENALTY_N3}for(let n=0;n<this.size;n++){let r=!1,i=0,a=[0,0,0,0,0,0,0];for(let o=0;o<this.size;o++)this.modules[o][n]==r?(i++,i==5?e+=t.PENALTY_N1:i>5&&e++):(this.finderPenaltyAddHistory(i,a),r||(e+=this.finderPenaltyCountPatterns(a)*t.PENALTY_N3),r=this.modules[o][n],i=1);e+=this.finderPenaltyTerminateAndCount(r,i,a)*t.PENALTY_N3}for(let n=0;n<this.size-1;n++)for(let r=0;r<this.size-1;r++){let i=this.modules[n][r];i==this.modules[n][r+1]&&i==this.modules[n+1][r]&&i==this.modules[n+1][r+1]&&(e+=t.PENALTY_N2)}let n=0;for(let e of this.modules)n=e.reduce((e,t)=>e+(t?1:0),n);let r=this.size*this.size,a=Math.ceil(Math.abs(n*20-r*10)/r)-1;return i(0<=a&&a<=9),e+=a*t.PENALTY_N4,i(0<=e&&e<=2568888),e}getAlignmentPatternPositions(){if(this.version==1)return[];{let e=Math.floor(this.version/7)+2,t=this.version==32?26:Math.ceil((this.version*4+4)/(e*2-2))*2,n=[6];for(let r=this.size-7;n.length<e;r-=t)n.splice(1,0,r);return n}}static getNumRawDataModules(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw RangeError(`Version number out of range`);let n=(16*e+128)*e+64;if(e>=2){let t=Math.floor(e/7)+2;n-=(25*t-10)*t-55,e>=7&&(n-=36)}return i(208<=n&&n<=29648),n}static getNumDataCodewords(e,n){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw RangeError(`Degree out of range`);let n=[];for(let t=0;t<e-1;t++)n.push(0);n.push(1);let r=1;for(let i=0;i<e;i++){for(let e=0;e<n.length;e++)n[e]=t.reedSolomonMultiply(n[e],r),e+1<n.length&&(n[e]^=n[e+1]);r=t.reedSolomonMultiply(r,2)}return n}static reedSolomonComputeRemainder(e,n){let r=n.map(e=>0);for(let i of e){let e=i^r.shift();
10r.push(0),n.forEach((n,i)=>r[i]^=t.reedSolomonMultiply(n,e))}return r}static reedSolomonMultiply(e,t){if(e>>>8||t>>>8)throw RangeError(`Byte out of range`);let n=0;for(let r=7;r>=0;r--)n=n<<1^(n>>>7)*285,n^=(t>>>r&1)*e;return i(n>>>8==0),n}finderPenaltyCountPatterns(e){let t=e[1];i(t<=this.size*3);let n=t>0&&e[2]==t&&e[3]==t*3&&e[4]==t&&e[5]==t;return(n&&e[0]>=t*4&&e[6]>=t?1:0)+(n&&e[6]>=t*4&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){t[0]==0&&(e+=this.size),t.pop(),t.unshift(e)}};t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;function n(e,t,n){if(t<0||t>31||e>>>t)throw RangeError(`Value out of range`);for(let r=t-1;r>=0;r--)n.push(e>>>r&1)}function r(e,t){return(e>>>t&1)!=0}function i(e){if(!e)throw Error(`Assertion error`)}let a=class e{constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw RangeError(`Invalid argument`);this.bitData=n.slice()}static makeBytes(t){let r=[];for(let e of t)n(e,8,r);return new e(e.Mode.BYTE,t.length,r)}static makeNumeric(t){if(!e.isNumeric(t))throw RangeError(`String contains non-numeric characters`);let r=[];for(let e=0;e<t.length;){let i=Math.min(t.length-e,3);n(parseInt(t.substring(e,e+i),10),i*3+1,r),e+=i}return new e(e.Mode.NUMERIC,t.length,r)}static makeAlphanumeric(t){if(!e.isAlphanumeric(t))throw RangeError(`String contains unencodable characters in alphanumeric mode`);let r=[],i;for(i=0;i+2<=t.length;i+=2){let a=e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(i))*45;a+=e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(i+1)),n(a,11,r)}return i<t.length&&n(e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(i)),6,r),new e(e.Mode.ALPHANUMERIC,t.length,r)}static makeSegments(t){return t==``?[]:e.isNumeric(t)?[e.makeNumeric(t)]:e.isAlphanumeric(t)?[e.makeAlphanumeric(t)]:[e.makeBytes(e.toUtf8ByteArray(t))]}static makeEci(t){let r=[];if(t<0)throw RangeError(`ECI assignment value out of range`);if(t<128)n(t,8,r);else if(t<16384)n(2,2,r),n(t,14,r);else if(t<1e6)n(6,3,r),n(t,21,r);else throw RangeError(`ECI assignment value out of range`);return new e(e.Mode.ECI,0,r)}static isNumeric(t){return e.NUMERIC_REGEX.test(t)}static isAlphanumeric(t){return e.ALPHANUMERIC_REGEX.test(t)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let n=0;for(let r of e){let e=r.mode.numCharCountBits(t);if(r.numChars>=1<<e)return 1/0;n+=4+e+r.bitData.length}return n}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let n=0;n<e.length;n++)e.charAt(n)==`%`?(t.push(parseInt(e.substring(n+1,n+3),16)),n+=2):t.push(e.charCodeAt(n));return t}};a.NUMERIC_REGEX=/^[0-9]*$/,a.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,a.ALPHANUMERIC_CHARSET=`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:`;let o=a;e.QrSegment=a})(Xr||={}),(e=>{(e=>{let t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};t.LOW=new t(0,1),t.MEDIUM=new t(1,0),t.QUARTILE=new t(2,3),t.HIGH=new t(3,2),e.Ecc=t})(e.QrCode||={})})(Xr||={}),(e=>{(e=>{let t=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};t.NUMERIC=new t(1,[10,12,14]),t.ALPHANUMERIC=new t(2,[9,11,13]),t.BYTE=new t(4,[8,16,16]),t.KANJI=new t(8,[8,10,12]),t.ECI=new t(7,[0,0,0]),e.Mode=t})(e.QrSegment||={})})(Xr||={});var Zr=Xr,Qr={L:Zr.QrCode.Ecc.LOW,M:Zr.QrCode.Ecc.MEDIUM,Q:Zr.QrCode.Ecc.QUARTILE,H:Zr.QrCode.Ecc.HIGH},$r=128,ei=`L`,ti=`#FFFFFF`,ni=`#000000`,ri=!1,ii=1,ai=4,oi=0,si=.
101;function ci(e,t=0){let n=[];return e.forEach(function(e,r){let i=null;e.forEach(function(a,o){if(!a&&i!==null){n.push(`M${i+t} ${r+t}h${o-i}v1H${i+t}z`),i=null;return}if(o===e.length-1){if(!a)return;i===null?n.push(`M${o+t},${r+t} h1v1H${o+t}z`):n.push(`M${i+t},${r+t} h${o+1-i}v1H${i+t}z`);return}a&&i===null&&(i=o)})}),n.join(``)}function li(e,t){return e.slice().map((e,n)=>n<t.y||n>=t.y+t.h?e:e.map((e,n)=>n<t.x||n>=t.x+t.w?e:!1))}function ui(e,t,n,r){if(r==null)return null;let i=e.length+n*2,a=Math.floor(t*si),o=i/t,s=(r.width||a)*o,c=(r.height||a)*o,l=r.x==null?e.length/2-s/2:r.x*o,u=r.y==null?e.length/2-c/2:r.y*o,d=r.opacity==null?1:r.opacity,f=null;if(r.excavate){let e=Math.floor(l),t=Math.floor(u);f={x:e,y:t,w:Math.ceil(s+l-e),h:Math.ceil(c+u-t)}}let p=r.crossOrigin;return{x:l,y:u,h:c,w:s,excavation:f,opacity:d,crossOrigin:p}}function di(e,t){return t==null?e?ai:oi:Math.max(Math.floor(t),0)}function fi({value:e,level:t,minVersion:n,includeMargin:r,marginSize:i,imageSettings:a,size:o,boostLevel:s}){let c=z.useMemo(()=>{let r=(Array.isArray(e)?e:[e]).reduce((e,t)=>(e.push(...Zr.QrSegment.makeSegments(t)),e),[]);return Zr.QrCode.encodeSegments(r,Qr[t],n,void 0,void 0,s)},[e,t,n,s]),{cells:l,margin:u,numCells:d,calculatedImageSettings:f}=z.useMemo(()=>{let e=c.getModules(),t=di(r,i);return{cells:e,margin:t,numCells:e.length+t*2,calculatedImageSettings:ui(e,o,t,a)}},[c,o,a,r,i]);return{qrcode:c,margin:u,cells:l,numCells:d,calculatedImageSettings:f}}var pi=function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0}(),mi=z.forwardRef(function(e,t){let n=e,{value:r,size:i=$r,level:a=ei,bgColor:o=ti,fgColor:s=ni,includeMargin:c=ri,minVersion:l=ii,boostLevel:u,marginSize:d,imageSettings:f}=n,p=Yr(n,[`value`,`size`,`level`,`bgColor`,`fgColor`,`includeMargin`,`minVersion`,`boostLevel`,`marginSize`,`imageSettings`]),{style:m}=p,h=Yr(p,[`style`]),g=f?.src,_=z.useRef(null),v=z.useRef(null),y=z.useCallback(e=>{_.current=e,typeof t==`function`?t(e):t&&(t.current=e)},[t]),[b,x]=z.useState(!1),{margin:S,cells:C,numCells:ee,calculatedImageSettings:w}=fi({value:r,level:a,minVersion:l,boostLevel:u,includeMargin:c,marginSize:d,imageSettings:f,size:i});z.useEffect(()=>{if(_.current!=null){let e=_.current,t=e.getContext(`2d`);if(!t)return;let n=C,r=v.current,a=w!=null&&r!==null&&r.complete&&r.naturalHeight!==0&&r.naturalWidth!==0;a&&w.excavation!=null&&(n=li(C,w.excavation));let c=window.devicePixelRatio||1;e.height=e.width=i*c;let l=i/ee*c;t.scale(l,l),t.fillStyle=o,t.fillRect(0,0,ee,ee),t.fillStyle=s,pi?t.fill(new Path2D(ci(n,S))):C.forEach(function(e,n){e.forEach(function(e,r){e&&t.fillRect(r+S,n+S,1,1)})}),w&&(t.globalAlpha=w.opacity),a&&t.drawImage(r,w.x+S,w.y+S,w.w,w.h)}}),z.useEffect(()=>{x(!1)},[g]);let te=Jr({height:i,width:i},m),T=null;return g!=null&&(T=z.createElement(`img`,{src:g,key:g,style:{display:`none`},onLoad:()=>{x(!0)},ref:v,crossOrigin:w?.crossOrigin})),z.createElement(z.Fragment,null,z.createElement(`canvas`,Jr({style:te,height:i,width:i,ref:y,role:`img`},h)),T)});mi.displayName=`QRCodeCanvas`;var hi=z.forwardRef(function(e,t){let n=e,{value:r,size:i=$r,level:a=ei,bgColor:o=ti,fgColor:s=ni,includeMargin:c=ri,minVersion:l=ii,boostLevel:u,title:d,marginSize:f,imageSettings:p}=n,m=Yr(n,[`value`,`size`,`level`,`bgColor`,`fgColor`,`includeMargin`,`minVersion`,`boostLevel`,`title`,`marginSize`,`imageSettings`]),{margin:h,cells:g,numCells:_,calculatedImageSettings:v}=fi({value:r,level:a,minVersion:l,boostLevel:u,includeMargin:c,marginSize:f,imageSettings:p,size:i}),y=g,b=null;p!=null&&v!=null&&(v.excavation!=null&&(y=li(g,v.excavation)),b=z.createElement(`image`,{href:p.src,height:v.h,width:v.w,x:v.x+h,y:v.y+h,preserveAspectRatio:`none`,opacity:v.opacity,crossOrigin:v.crossOrigin}));let x=ci(y,h);return z.createElement(`svg`,Jr({height:i,width:i,viewBox:`0 0 ${_} ${_}`,ref:t,role:`img`},m),!!d&&z.createElement(`title`,null,d),z.createElement(`path`,{fill:o,d:`M0,0 h${_}v${_}H0z`,shapeRendering:`crispEdges`}),z.createElement(`path`,{fill:s,d:x,shapeRendering:`crispEdges`}),b)});hi.displayName=`QRCodeSVG`;var gi=r(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),_i=r(`building-2`,[[`path`,{d:`M10 12h4`,key:`a56b0p`}],[`path`,{d:`M10 8h4`,key:`1sr2af`}],[`path`,{d:`M14 21v-3a2 2 0 0 0-4 0v3`,key:`1rgiei`}],[`path`,{d:`M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2`,key:`secmi2`}],[`path`,{d:`M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16`,key:`16ra0t`}]]),vi=r(`circle-alert`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]]),yi=r(`heart-pulse`,[[`path`,{d:`M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5`,key:`mvr1a0`}],[`path`,{d:`M3.22 13H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27`,key:`auskq0`}]]),bi=r(`key-round`,[[`path`,{d:`M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z`,key:`1s6t7t`}
vendor: 4,209 bytes, line 10
10],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`w0ekpg`}]]),xi=r(`mail-plus`,[[`path`,{d:`M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8`,key:`12jkf8`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`,key:`1ocrg3`}],[`path`,{d:`M19 16v6`,key:`tddt3s`}],[`path`,{d:`M16 19h6`,key:`xwg31i`}]]),Si=r(`paw-print`,[[`circle`,{cx:`11`,cy:`4`,r:`2`,key:`vol9p0`}],[`circle`,{cx:`18`,cy:`8`,r:`2`,key:`17gozi`}],[`circle`,{cx:`20`,cy:`16`,r:`2`,key:`1v9bxh`}],[`path`,{d:`M9 10a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.045Q6.52 17.48 4.46 16.84A3.5 3.5 0 0 1 5.5 10Z`,key:`1ydw1z`}]]),Ci=r(`shield-check`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),wi=r(`sparkles`,[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]]),Ti=r(`triangle-alert`,[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,key:`wmoenq`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),Ei=r(`user-round`,[[`circle`,{cx:`12`,cy:`8`,r:`5`,key:`1hypcn`}],[`path`,{d:`M20 21a8 8 0 0 0-16 0`,key:`rfgkzh`}]]),Di=r(`users-round`,[[`path`,{d:`M18 21a8 8 0 0 0-16 0`,key:`3ypg7q`}],[`circle`,{cx:`10`,cy:`8`,r:`5`,key:`o932ke`}],[`path`,{d:`M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3`,key:`10s06x`}]]),Oi=`Dialog`,[ki,Ai]=Et(Oi),[ji,B]=ki(Oi),Mi=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!0}=e,s=z.useRef(null),c=z.useRef(null),[l,u]=Nt({prop:r,defaultProp:i??!1,onChange:a,caller:Oi});return(0,R.jsx)(ji,{scope:t,triggerRef:s,contentRef:c,contentId:xt(),titleId:xt(),descriptionId:xt(),open:l,onOpenChange:u,onOpenToggle:z.useCallback(()=>u(e=>!e),[u]),modal:o,children:n})};Mi.displayName=Oi;var V=`DialogTrigger`,Ni=z.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=B(V,n),a=lt(t,i.triggerRef);return(0,R.jsx)(yt.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i.open,"aria-controls":i.contentId,"data-state":$i(i.open),...r,ref:a,onClick:Ct(e.onClick,i.onOpenToggle)})});Ni.displayName=V;var Pi=`DialogPortal`,[Fi,Ii]=ki(Pi,{forceMount:void 0}),Li=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:i}=e,a=B(Pi,t);return(0,R.jsx)(Fi,{scope:t,forceMount:n,children:z.Children.map(r,e=>(0,R.jsx)(Tt,{present:n||a.open,children:(0,R.jsx)(wt,{asChild:!0,container:i,children:e})}))})};Li.displayName=Pi;var Ri=`DialogOverlay`,zi=z.forwardRef((e,t)=>{let n=Ii(Ri,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=B(Ri,e.__scopeDialog);return a.modal?(0,R.jsx)(Tt,{present:r||a.open,children:(0,R.jsx)(Vi,{...i,ref:t})}):null});zi.displayName=Ri;var Bi=ut(`DialogOverlay.RemoveScroll`),Vi=z.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=B(Ri,n);return(0,R.jsx)(Dt,{as:Bi,allowPinchZoom:!0,shards:[i.contentRef],children:(0,R.jsx)(yt.div,{"data-state":$i(i.open),...r,ref:t,style:{pointerEvents:`auto`,...r.style}})})}),Hi=`DialogContent`,Ui=z.forwardRef((e,t)=>{let n=Ii(Hi,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=B(Hi,e.__scopeDialog);return(0,R.jsx)(Tt,{present:r||a.open,children:a.modal?(0,R.jsx)(Wi,{...i,ref:t}):(0,R.jsx)(Gi,{...i,ref:t})})});Ui.displayName=Hi;var Wi=z.forwardRef((e,t)=>{let n=B(Hi,e.__scopeDialog),r=z.useRef(null),i=lt(t,n.contentRef,r);return z.useEffect(()=>{let e=r.current;if(e)return Mt(e)},[]),(0,R.jsx)(Ki,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ct(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:Ct(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;(t.button===2||n)&&e.preventDefault()}),onFocusOutside:Ct(e.onFocusOutside,e=>e.preventDefault())})}),Gi=z.forwardRef((e,t)=>
10{let n=B(Hi,e.__scopeDialog),r=z.useRef(!1),i=z.useRef(!1);return(0,R.jsx)(Ki,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})}),Ki=z.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,...o}=e,s=B(Hi,n),c=z.useRef(null),l=lt(t,c);return At(),(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(bt,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,R.jsx)(Ot,{role:`dialog`,id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":$i(s.open),...o,ref:l,onDismiss:()=>s.onOpenChange(!1)})}),(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(ra,{titleId:s.titleId}),(0,R.jsx)(aa,{contentRef:c,descriptionId:s.descriptionId})]})]})}),qi=`DialogTitle`,Ji=z.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=B(qi,n);return(0,R.jsx)(yt.h2,{id:i.titleId,...r,ref:t})});Ji.displayName=qi;var Yi=`DialogDescription`,Xi=z.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=B(Yi,n);return(0,R.jsx)(yt.p,{id:i.descriptionId,...r,ref:t})});Xi.displayName=Yi;var Zi=`DialogClose`,Qi=z.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=B(Zi,n);return(0,R.jsx)(yt.button,{type:`button`,...r,ref:t,onClick:Ct(e.onClick,()=>i.onOpenChange(!1))})});Qi.displayName=Zi;function $i(e){return e?`open`:`closed`}var ea=`DialogTitleWarning`,[ta,na]=kt(ea,{contentName:Hi,titleName:qi,docsSlug:`dialog`}),ra=({titleId:e})=>{let t=na(ea),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
11
12If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
13
14For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return z.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},ia=`DialogDescriptionWarning`,aa=({contentRef:e,descriptionId:t})=>{let n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${na(ia).contentName}}.`;return z.useEffect(()=>{let r=e.current?.getAttribute(`aria-describedby`);t&&r&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},oa=Mi,sa=Ni,ca=Li,la=zi,ua=Ui,da=Ji,fa=Xi,pa=Qi;function ma(e){let[t,n]=z.useState(void 0);return St(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{if(!Array.isArray(t)||!t.length)return;let r=t[0],i,a;if(`borderBoxSize`in r){let e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;i=t.inlineSize,a=t.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return t.observe(e,{box:`border-box`}),()=>t.unobserve(e)}else n(void 0)},[e]),t}var ha=[`top`,`right`,`bottom`,`left`],ga=Math.min,_a=Math.max,va=Math.round,ya=Math.floor,ba=e=>({x:e,y:e}),xa={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function Sa(e,t,n){return _a(e,ga(t,n))}function Ca(e,t){return typeof e==`function`?e(t):e}function wa(e){return e.split(`-`)[0]}function Ta(e){return e.split(`-`)[1]}function Ea(e){return e===`x`?`y`:`x`}function Da(e){return e===`y`?`height`:`width`}function Oa(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function ka(e){return Ea(Oa(e))}function Aa(e,t,n){n===void 0&&(n=!1);let r=Ta(e),i=ka(e),a=Da(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=za(o)),[o,za(o)]}function ja(e){let t=za(e);return[Ma(e),t,Ma(t)]}function Ma(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var Na=[`left`,`right`],Pa=[`right`,`left`],Fa=[`top`,`bottom`],Ia=[`bottom`,`top`];function La(e,t,n){switch(e){case`top`:case`bottom`:return n?t?Pa:Na:t?Na:Pa;case`left`:case`right`:return t?Fa:Ia;default:return[]}}function Ra(e,t,n,r){let i=Ta(e),a=La(wa(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(Ma)))),a}function za(e){let t=wa(e);return xa[t]+e.slice(t.length)}function Ba(e){return{top:0,right:0,bottom:0,left:0,...e}}function Va(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Ba(e)}function Ha(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Ua(e,t,n){let{reference:r,floating:i}=e,a=Oa(t),o=ka(t),s=Da(o),c=wa(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(Ta(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}async function Wa(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=Ca(t,e),p=Va(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Ha(await i.getClippingRect
vendor: 4,654 bytes, line 14
14({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=Ha(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var Ga=50,Ka=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Wa},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Ua(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<Ga&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=Ua(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},qa=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=Ca(e,t)||{};if(l==null)return{};let d=Va(u),f={x:n,y:r},p=ka(i),m=Da(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let ee=b/2-x/2,w=C/2-h[m]/2-1,te=ga(d[_],w),T=ga(d[v],w),ne=te,re=C-h[m]-T,E=C/2-h[m]/2+ee,ie=Sa(ne,E,re),D=!c.arrow&&Ta(i)!=null&&E!==ie&&a.reference[m]/2-(E<ne?te:T)-h[m]/2<0,ae=D?E<ne?E-ne:E-re:0;return{[p]:f[p]+ae,data:{[p]:ie,centerOffset:E-ie-ae,...D&&{alignmentOffset:ae}},reset:D}}}),Ja=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=Ca(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=wa(r),_=Oa(o),v=wa(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[za(o)]:ja(o)),x=p!==`none`;!d&&x&&b.push(...Ra(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),ee=[],w=i.flip?.overflows||[];if(l&&ee.push(C[g]),u){let e=Aa(r,a,y);ee.push(C[e[0]],C[e[1]])}if(w=[...w,{placement:r,overflows:ee}],!ee.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(!(u===`alignment`&&_!==Oa(t))||w.every(e=>Oa(e.placement)===_?e.overflows[0]>0:!0)))return{data:{index:e,overflows:w},reset:{placement:t}};let n=w.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=w.filter(e=>{if(x){let t=Oa(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}};function Ya(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Xa(e){return ha.some(t=>e[t]>=0)}var Za=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=Ca(e,t);switch(i){case`referenceHidden`:{let e=Ya(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Xa(e)}}}case`escaped`:{let e=Ya(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Xa(e)}}}default:return{}}}}},Qa=new Set([`left`,`top`]);async function $a(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=wa(n),s=Ta(n),c=Oa(n)===`y`,l=Qa.has(o)?-1:1,u=a&&c?-1:1,d=Ca(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}
14:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var eo=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await $a(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},to=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=Ca(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=Oa(wa(i)),p=Ea(f),m=u[p],h=u[f];if(o){let e=p===`y`?`top`:`left`,t=p===`y`?`bottom`:`right`,n=m+d[e],r=m-d[t];m=Sa(n,m,r)}if(s){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=h+d[e],r=h-d[t];h=Sa(n,h,r)}let g=c.fn({...t,[p]:m,[f]:h});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[p]:o,[f]:s}}}}}},no=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=Ca(e,t),u={x:n,y:r},d=Oa(i),f=Ea(d),p=u[f],m=u[d],h=Ca(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=Qa.has(wa(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},ro=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=Ca(e,t),u=await o.detectOverflow(t,l),d=wa(i),f=Ta(i),p=Oa(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=ga(h-u[g],v),x=ga(m-u[_],y),S=!t.middlewareData.shift,C=b,ee=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(ee=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=v),S&&!f){let e=_a(u.left,0),t=_a(u.right,0),n=_a(u.top,0),r=_a(u.bottom,0);p?ee=m-2*(e!==0||t!==0?e+t:_a(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:_a(u.top,u.bottom))}await c({...t,availableWidth:ee,availableHeight:C});let w=await o.getDimensions(s.floating);return m!==w.width||h!==w.height?{reset:{rects:!0}}:{}}}};function io(){return typeof window<`u`}function ao(e){return co(e)?(e.nodeName||``).toLowerCase():`#document`}function oo(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function so(e){return((co(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function co(e){return io()?e instanceof Node||e instanceof oo(e).Node:!1}function lo(e){return io()?e instanceof Element||e instanceof oo(e).Element:!1}function uo(e){return io()?e instanceof HTMLElement||e instanceof oo(e).HTMLElement:!1}function H(e){return!io()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof oo(e).ShadowRoot}function U(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=So(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function fo(e){return/^(table|td|th)$/.test(ao(e))}function po(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var mo=/transform|translate|scale|rotate|perspective|filter/,ho=/paint|layout|strict|content/,go=e=>!!e&&e!==`none`,_o;function vo(e){let t=lo(e)?So(e):e;return go(t.transform)||go(t.translate)||go(t.scale)||go(t.rotate)||go(t.perspective)||!bo()&&(go(t.backdropFilter)||go(t.filter))||mo.test(t.willChange||``)||ho.test(t.contain||``)}function yo(e){let t=wo(e);for(;uo(t)&&!xo(t);){if(vo(t))return t;if(po(t))return null;t=wo(t)}return null}function bo(){return _o??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),_o}function xo(e){return/^(html|body|#document)$/.test(ao(e))}function So(e){return oo(e).getComputedStyle(e)}function Co(e){return lo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function wo(e){if(ao(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||H(e)&&e.host||so(e);return H(t)?t.host:t}function To(e){let t=wo(e);return xo(t)?e.ownerDocument?e.ownerDocument.body:e.body:uo(t)&&U(t)?t:To(t)}function Eo(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=To(e),i=r===e.ownerDocument?.body,a=oo(r);if(i){let e=Do(a);
vendor: 6,482 bytes, line 14
14return t.concat(a,a.visualViewport||[],U(r)?r:[],e&&n?Eo(e):[])}else return t.concat(r,Eo(r,[],n))}function Do(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Oo(e){let t=So(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=uo(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=va(n)!==a||va(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function ko(e){return lo(e)?e:e.contextElement}function Ao(e){let t=ko(e);if(!uo(t))return ba(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Oo(t),o=(a?va(n.width):n.width)/r,s=(a?va(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var jo=ba(0);function Mo(e){let t=oo(e);return!bo()||!t.visualViewport?jo:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function No(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==oo(e)?!1:t}function Po(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=ko(e),o=ba(1);t&&(r?lo(r)&&(o=Ao(r)):o=Ao(e));let s=No(a,n,r)?Mo(a):ba(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=oo(a),t=r&&lo(r)?oo(r):r,n=e,i=Do(n);for(;i&&r&&t!==n;){let e=Ao(i),t=i.getBoundingClientRect(),r=So(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=oo(i),i=Do(n)}}return Ha({width:u,height:d,x:c,y:l})}function Fo(e,t){let n=Co(e).scrollLeft;return t?t.left+n:Po(so(e)).left+n}function Io(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Fo(e,n),y:n.top+t.scrollTop}}function Lo(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=so(r),s=t?po(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=ba(1),u=ba(0),d=uo(r);if((d||!d&&!a)&&((ao(r)!==`body`||U(o))&&(c=Co(r)),d)){let e=Po(r);l=Ao(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?Io(o,c):ba(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function Ro(e){return Array.from(e.getClientRects())}function zo(e){let t=so(e),n=Co(e),r=e.ownerDocument.body,i=_a(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=_a(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+Fo(e),s=-n.scrollTop;return So(r).direction===`rtl`&&(o+=_a(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var Bo=25;function Vo(e,t){let n=oo(e),r=so(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=bo();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=Fo(r);if(l<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=Bo&&(a-=o)}else l<=Bo&&(a+=l);return{width:a,height:o,x:s,y:c}}function Ho(e,t){let n=Po(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=uo(e)?Ao(e):ba(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Uo(e,t,n){let r;if(t===`viewport`)r=Vo(e,n);else if(t===`document`)r=zo(so(e));else if(lo(t))r=Ho(t,n);else{let n=Mo(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Ha(r)}function Wo(e,t){let n=wo(e);return n===t||!lo(n)||xo(n)?!1:So(n).position===`fixed`||Wo(n,t)}function Go(e,t){let n=t.get(e);if(n)return n;let r=Eo(e,[],!1).filter(e=>lo(e)&&ao(e)!==`body`),i=null,a=So(e).position===`fixed`,o=a?wo(e):e;for(;lo(o)&&!xo(o);){let t=So(o),n=vo(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&(i.position===`absolute`||i.position===`fixed`)||U(o)&&!n&&Wo(e,o))?r=r.filter(e=>e!==o):i=t,o=wo(o)}return t.set(e,r),r}function Ko(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?po(t)?[]:Go(t,this._c):[].concat(n),r],o=Uo(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=Uo(t,a[e],i);s=_a(n.top,s),c=ga(n.right,c),l=ga(n.bottom,l),u=_a(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function qo(e){let{width:t,height:n}=Oo(e);return{width:t,height:n}}function Jo(e,t,n){let r=uo(t),i=so(t),a=n===`fixed`,o=Po(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=ba(0);function l(){c.x=Fo(i)}if(r||!r&&!a)if((ao(t)!==`body`||U(i))&&(s=Co(t)),r){let e=Po(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l();a&&!r&&i&&l();let u=i&&!r&&!a?Io(i,s):ba(0);return{x:o.left+s.scrollLeft-c.x-u.x,y:o.top+s.scrollTop-c.y-u.y,width:o.width,height:o.height}}function Yo(e){return So(e).position===`static`}function Xo(e,t){if(!uo(e)||So(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return so(e)===n&&(n=n.ownerDocument.body),n}function Zo(e,t){let n=oo(e);if(po(e))return n;if(!uo(e)){let t=wo(e);for(;t&&!xo(t);){if(lo(t)&&!Yo(t))return t;t=wo(t)}return n}let r=Xo(e,t);for(;r&&fo(r)&&Yo(r);)r=Xo(r,t);return r&&xo(r)&&Yo(r)&&!vo(r)?n:r||yo(e)||n}var Qo=async function(e){let t=this.getOffsetParent||Zo,n=this.getDimensions,r=await n(e.floating);return{reference:Jo(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function $o(e){return So(e).direction===`rtl`}var es={convertOffsetParentRelativeRectToViewportRelativeRect:Lo,getDocumentElement:so,getClippingRect:Ko,getOffsetParent:Zo,getElementRects:Qo,getClientRects:Ro,getDimensions:qo,getScale:Ao,isElement:lo,isRTL:$o};function ts(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ns(e,t){let n=null,r,i=so(e);function a(){var e;clearTimeout(r),(e=n)==null||e.disconnect(),n=null}function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(s||t(),!f||!p)return;let m=ya(d),h=ya(i.clientWidth-(u+f)),g=ya(i.clientHeight-(d+p)),_=ya(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:_a(0,ga(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(n!==c){if(!y)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}n===1&&!ts(l,e.getBoundingClientRect())&&o(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}function rs(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=ko(e),u=i||a?[...l?Eo(l):[],...t?Eo(t):[]]:[];
vendor: 8,241 bytes, line 14
14u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?ns(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?Po(e):null;c&&g();function g(){let t=Po(e);h&&!ts(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var is=eo,as=to,os=Ja,ss=ro,cs=Za,ls=qa,us=no,ds=(e,t,n)=>{let r=new Map,i={platform:es,...n},a={...i.platform,_c:r};return Ka(e,t,{...i,platform:a})},fs=e(i(),1),ps=typeof document<`u`?z.useLayoutEffect:function(){};function ms(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e==`function`&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e==`object`){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!ms(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){let n=i[r];if(!(n===`_owner`&&e.$$typeof)&&!ms(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function hs(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function gs(e,t){let n=hs(e);return Math.round(t*n)/n}function _s(e){let t=z.useRef(e);return ps(()=>{t.current=e}),t}function vs(e){e===void 0&&(e={});let{placement:t=`bottom`,strategy:n=`absolute`,middleware:r=[],platform:i,elements:{reference:a,floating:o}={},transform:s=!0,whileElementsMounted:c,open:l}=e,[u,d]=z.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=z.useState(r);ms(f,r)||p(r);let[m,h]=z.useState(null),[g,_]=z.useState(null),v=z.useCallback(e=>{e!==S.current&&(S.current=e,h(e))},[]),y=z.useCallback(e=>{e!==C.current&&(C.current=e,_(e))},[]),b=a||m,x=o||g,S=z.useRef(null),C=z.useRef(null),ee=z.useRef(u),w=c!=null,te=_s(c),T=_s(i),ne=_s(l),re=z.useCallback(()=>{if(!S.current||!C.current)return;let e={placement:t,strategy:n,middleware:f};T.current&&(e.platform=T.current),ds(S.current,C.current,e).then(e=>{let t={...e,isPositioned:ne.current!==!1};E.current&&!ms(ee.current,t)&&(ee.current=t,fs.flushSync(()=>{d(t)}))})},[f,t,n,T,ne]);ps(()=>{l===!1&&ee.current.isPositioned&&(ee.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[l]);let E=z.useRef(!1);ps(()=>(E.current=!0,()=>{E.current=!1}),[]),ps(()=>{if(b&&(S.current=b),x&&(C.current=x),b&&x){if(te.current)return te.current(b,x,re);re()}},[b,x,re,te,w]);let ie=z.useMemo(()=>({reference:S,floating:C,setReference:v,setFloating:y}),[v,y]),D=z.useMemo(()=>({reference:b,floating:x}),[b,x]),ae=z.useMemo(()=>{let e={position:n,left:0,top:0};if(!D.floating)return e;let t=gs(D.floating,u.x),r=gs(D.floating,u.y);return s?{...e,transform:`translate(`+t+`px, `+r+`px)`,...hs(D.floating)>=1.5&&{willChange:`transform`}}:{position:n,left:t,top:r}},[n,s,D.floating,u.x,u.y]);return z.useMemo(()=>({...u,update:re,refs:ie,elements:D,floatingStyles:ae}),[u,re,ie,D,ae])}var ys=e=>{function t(e){return{}.hasOwnProperty.call(e,`current`)}return{name:`arrow`,options:e,fn(n){let{element:r,padding:i}=typeof e==`function`?e(n):e;return r&&t(r)?r.current==null?{}:ls({element:r.current,padding:i}).fn(n):r?ls({element:r,padding:i}).fn(n):{}}}},bs=(e,t)=>{let n=is(e);return{name:n.name,fn:n.fn,options:[e,t]}},xs=(e,t)=>{let n=as(e);return{name:n.name,fn:n.fn,options:[e,t]}},Ss=(e,t)=>({fn:us(e).fn,options:[e,t]}),Cs=(e,t)=>{let n=os(e);return{name:n.name,fn:n.fn,options:[e,t]}},ws=(e,t)=>{let n=ss(e);return{name:n.name,fn:n.fn,options:[e,t]}},Ts=(e,t)=>{let n=cs(e);return{name:n.name,fn:n.fn,options:[e,t]}},Es=(e,t)=>{let n=ys(e);return{name:n.name,fn:n.fn,options:[e,t]}},Ds=`Arrow`,Os=z.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...a}=e;return(0,R.jsx)(yt.svg,{...a,ref:t,width:r,height:i,viewBox:`0 0 30 10`,preserveAspectRatio:`none`,children:e.asChild?n:(0,R.jsx)(`polygon`,{points:`0,0 30,0 15,10`})})});Os.displayName=Ds;var ks=Os,As=`Popper`,[js,Ms]=Et(As),[Ns,Ps]=js(As),Fs=e=>{let{__scopePopper:t,children:n}=e,[r,i]=z.useState(null);return(0,R.jsx)(Ns,{scope:t,anchor:r,onAnchorChange:i,children:n})};Fs.displayName=As;var Is=`PopperAnchor`,Ls=z.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...i}=e,a=Ps(Is,n),o=z.useRef(null),s=lt(t,o),c=z.useRef(null);return z.useEffect(()=>{let e=c.current;c.current=r?.current||o.current,e!==c.current&&a.onAnchorChange(c.current)}),r?null:(0,R.jsx)(yt.div,{...i,ref:s})});Ls.displayName=Is;var Rs=`PopperContent`,[zs,Bs]=js(Rs),Vs=z.forwardRef((e,t)=>{let{__scopePopper:n,side:r=`bottom`,sideOffset:i=0,align:a=`center`,alignOffset:o=0,arrowPadding:s=0,avoidCollisions:c=!0,collisionBoundary:l=[],collisionPadding:u=0,sticky:d=`partial`,hideWhenDetached:f=!1,updatePositionStrategy:p=`optimized`,onPlaced:m,...h}=e,g=Ps(Rs,n),[_,v]=z.useState(null),y=lt(t,e=>v(e)),[b,x]=z.useState(null),S=ma(b),C=S?.width??0,ee=S?.height??0,w=r+(a===`center`?``:`-`+a),te=typeof u==`number`?u:{top:0,right:0,bottom:0,left:0,...u},T=Array.isArray(l)?l:[l],ne=T.length>0,re={padding:te,boundary:T.filter(Gs),altBoundary:ne},{refs:E,floatingStyles:ie,placement:D,isPositioned:ae,middlewareData:O}=vs({strategy:`fixed`,placement:w,whileElementsMounted:(...e)=>rs(...e,{animationFrame:p===`always`}),elements:{reference:g.anchor},middleware:[bs({mainAxis:i+ee,alignmentAxis:o}),c&&xs({mainAxis:!0,crossAxis:!1,limiter:d===`partial`?Ss():void 0,...re}),c&&Cs({...re}),ws({...re,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--radix-popper-available-width`,`${n}px`),o.setProperty(`--radix-popper-available-height`,`${r}px`),o.setProperty(`--radix-popper-anchor-width`,`${i}px`),o.setProperty(`--radix-popper-anchor-height`,`${a}px`)}}),b&&Es({element:b,padding:s}),Ks({arrowWidth:C,arrowHeight:ee}),f&&Ts({strategy:`referenceHidden`,...re})]}),[k,A]=qs(D),oe=jt(m);St(()=>{ae&&oe?.()},[ae,oe]);let se=O.arrow?.x,ce=O.arrow?.y,le=O.arrow?.centerOffset!==0,[ue,j]=z.useState();return St(()=>{_&&j(window.getComputedStyle(_).zIndex)},[_]),(0,R.jsx)(`div`,{ref:E.setFloating,"data-radix-popper-content-wrapper":``,style:{...ie,transform:ae?ie.transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:ue,"--radix-popper-transform-origin":[O.transformOrigin?.x,O.transformOrigin?.y].join(` `),...O.hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}},dir:e.dir,children:(0,R.jsx)(zs,{scope:n,placedSide:k,onArrowChange:x,arrowX:se,arrowY:ce,shouldHideArrow:le,children:(0,R.jsx)(yt.div,{"data-side":k,"data-align":A,...h,ref:y,style:{...h.style,animation:ae?void 0:`none`}})})})});Vs.displayName=Rs;var Hs=`PopperArrow`,Us={top:`bottom`,right:`left`,bottom:`top`,left:`right`},Ws=z.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=Bs(Hs,n),a=Us[i.placedSide];return(0,R.jsx)(`span`,{ref:i.onArrowChange,style:{position:`absolute`,left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:``,right:`0 0`,bottom:`center 0`,left:`100% 0`}[i.placedSide],transform:{top:`translateY(100%)`,right:`translateY(50%) rotate(90deg) translateX(-50%)`,bottom:`rotate(180deg)`,left:`translateY(50%) rotate(-90deg) translateX(50%)`}[i.placedSide],visibility:i.shouldHideArrow?`hidden`:void 0},children:(0,R.jsx)(ks,{...r,ref:t,style:{...r.style,display:`block`}})})});Ws.displayName=Hs;function Gs(e){return e!==null}var Ks=e=>({name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=qs(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=`${-s}px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=`${-s}px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}});function qs(e){let[t,n=`center`]=e.split(`-`);return[t,n]}var Js=Fs,Ys=Ls,Xs=Vs,Zs=Ws,Qs=`Label`,$s=z.forwardRef((e,t)=>
vendor: 4,289 bytes, line 14
14(0,R.jsx)(yt.label,{...e,ref:t,onMouseDown:t=>{t.target.closest(`button, input, select, textarea`)||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));$s.displayName=Qs;var ec=$s,tc=`Popover`,[nc,rc]=Et(tc,[Ms]),ic=Ms(),[ac,oc]=nc(tc),sc=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!1}=e,s=ic(t),c=z.useRef(null),[l,u]=z.useState(!1),[d,f]=Nt({prop:r,defaultProp:i??!1,onChange:a,caller:tc});return(0,R.jsx)(Js,{...s,children:(0,R.jsx)(ac,{scope:t,contentId:xt(),triggerRef:c,open:d,onOpenChange:f,onOpenToggle:z.useCallback(()=>f(e=>!e),[f]),hasCustomAnchor:l,onCustomAnchorAdd:z.useCallback(()=>u(!0),[]),onCustomAnchorRemove:z.useCallback(()=>u(!1),[]),modal:o,children:n})})};sc.displayName=tc;var cc=`PopoverAnchor`,lc=z.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=oc(cc,n),a=ic(n),{onCustomAnchorAdd:o,onCustomAnchorRemove:s}=i;return z.useEffect(()=>(o(),()=>s()),[o,s]),(0,R.jsx)(Ys,{...a,...r,ref:t})});lc.displayName=cc;var uc=`PopoverTrigger`,dc=z.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=oc(uc,n),a=ic(n),o=lt(t,i.triggerRef),s=(0,R.jsx)(yt.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i.open,"aria-controls":i.contentId,"data-state":Ec(i.open),...r,ref:o,onClick:Ct(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?s:(0,R.jsx)(Ys,{asChild:!0,...a,children:s})});dc.displayName=uc;var fc=`PopoverPortal`,[pc,mc]=nc(fc,{forceMount:void 0}),hc=e=>{let{__scopePopover:t,forceMount:n,children:r,container:i}=e,a=oc(fc,t);return(0,R.jsx)(pc,{scope:t,forceMount:n,children:(0,R.jsx)(Tt,{present:n||a.open,children:(0,R.jsx)(wt,{asChild:!0,container:i,children:r})})})};hc.displayName=fc;var gc=`PopoverContent`,_c=z.forwardRef((e,t)=>{let n=mc(gc,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,a=oc(gc,e.__scopePopover);return(0,R.jsx)(Tt,{present:r||a.open,children:a.modal?(0,R.jsx)(yc,{...i,ref:t}):(0,R.jsx)(bc,{...i,ref:t})})});_c.displayName=gc;var vc=ut(`PopoverContent.RemoveScroll`),yc=z.forwardRef((e,t)=>{let n=oc(gc,e.__scopePopover),r=z.useRef(null),i=lt(t,r),a=z.useRef(!1);return z.useEffect(()=>{let e=r.current;if(e)return Mt(e)},[]),(0,R.jsx)(Dt,{as:vc,allowPinchZoom:!0,children:(0,R.jsx)(xc,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ct(e.onCloseAutoFocus,e=>{e.preventDefault(),a.current||n.triggerRef.current?.focus()}),onPointerDownOutside:Ct(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;a.current=t.button===2||n},{checkForDefaultPrevented:!1}),onFocusOutside:Ct(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),bc=z.forwardRef((e,t)=>{let n=oc(gc,e.__scopePopover),r=z.useRef(!1),i=z.useRef(!1);return(0,R.jsx)(xc,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})}),xc=z.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:o,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onInteractOutside:u,...d}=e,f=oc(gc,n),p=ic(n);return At(),(0,R.jsx)(bt,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,R.jsx)(Ot,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onDismiss:()=>f.onOpenChange(!1),children:(0,R.jsx)(Xs,{"data-state":Ec(f.open),role:`dialog`,id:f.contentId,...p,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-popover-content-available-width":`var(--radix-popper-available-width)`,"--radix-popover-content-available-height":`var(--radix-popper-available-height)`,"--radix-popover-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-popover-trigger-height":`var(--radix-popper-anchor-height)`}})})})}),Sc=`PopoverClose`,Cc=z.forwardRef((e,t)=>
14{let{__scopePopover:n,...r}=e,i=oc(Sc,n);return(0,R.jsx)(yt.button,{type:`button`,...r,ref:t,onClick:Ct(e.onClick,()=>i.onOpenChange(!1))})});Cc.displayName=Sc;var wc=`PopoverArrow`,Tc=z.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=ic(n);return(0,R.jsx)(Zs,{...i,...r,ref:t})});Tc.displayName=wc;function Ec(e){return e?`open`:`closed`}var Dc=sc,Oc=dc,kc=hc,Ac=_c,jc=Tc;function Mc({...e}){return(0,R.jsx)(oa,{"data-slot":`dialog`,...e})}function Nc({...e}){return(0,R.jsx)(sa,{"data-slot":`dialog-trigger`,...e})}function Pc({...e}){return(0,R.jsx)(ca,{"data-slot":`dialog-portal`,...e})}function Fc({className:e,...t}){return(0,R.jsx)(la,{"data-slot":`dialog-overlay`,className:P(`fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0`,e),...t})}function Ic({className:e,children:t,showCloseButton:n=!0,...r}){return(0,R.jsxs)(Pc,{"data-slot":`dialog-portal`,children:[(0,R.jsx)(Fc,{}),(0,R.jsxs)(ua,{"data-slot":`dialog-content`,className:P(`fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border border-surface-border bg-white p-6 shadow-[0_10px_30px_rgba(23,20,18,0.16)] duration-200 outline-none data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 sm:max-w-lg`,e),...r,children:[t,n&&(0,R.jsxs)(pa,{"data-slot":`dialog-close`,className:`absolute top-4 right-4 rounded-full p-1 text-text-secondary transition-colors hover:bg-surface-quiet hover:text-text-primary focus-visible:outline-2 focus-visible:outline-text-primary/30 disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,children:[(0,R.jsx)(vt,{}),(0,R.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})]})}function Lc({className:e,...t}){return(0,R.jsx)(`div`,{"data-slot":`dialog-header`,className:P(`flex flex-col gap-2 text-center sm:text-left`,e),...t})}function Rc({className:e,showCloseButton:t=!1,children:n,...r}){return(0,R.jsxs)(`div`,{"data-slot":`dialog-footer`,className:P(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,e),...r,children:[n,t&&(0,R.jsx)(pa,{asChild:!0,children:(0,R.jsx)(dt,{variant:`outline`,children:`Close`})})]})}function zc({className:e,...t}){return(0,R.jsx)(da,{"data-slot":`dialog-title`,className:P(`text-lg leading-none font-semibold`,e),...t})}function Bc({className:e,...t}){return(0,R.jsx)(fa,{"data-slot":`dialog-description`,className:P(`text-sm text-text-secondary`,e),...t})}var Vc=(0,z.createContext)(null);function Hc({user:e,children:t}){let[n,r]=(0,z.useState)(null),[i,a]=(0,z.useState)(!1),[o,s]=(0,z.useState)(null),[c,l]=(0,z.useState)(null);(0,z.useEffect)(()=>{if(!(typeof window>`u`))return nt(e=>{s(e.metadata),r(e.returnPath??null),l(e.failedConfig.url??null),a(!0)})},[]);let u=(0,z.useCallback)(()=>{a(!1),s(null),l(null),r(null)},[]);return(0,R.jsx)(Vc.Provider,{value:{isPaywallOpen:i,paywallMetadata:o,closePaywall:u,user:e,paywallRequestUrl:c,paywallReturnPath:n},children:t})}function Uc(){let e=(0,z.useContext)(Vc);if(!e)throw Error(`useSubscription must be used within a SubscriptionProvider`);return e}function Wc(e,t){let n=`${e?.message??``} ${t??``}`.toLowerCase();return n.includes(`message`)||n.includes(`chat`)?`chat`:n.includes(`assessment`)||n.includes(`triage`)||n.includes(`cards`)?`triage`:`other`}function Gc(e){return e===`chat`?{reason:`chat`,allowance:`10 free messages every 30 days`,unit:`messages`}:e===`triage`?{reason:`triage`,allowance:`3 free assessments every 30 days`,unit:`assessments`}:{reason:`general`,allowance:`a fresh free allowance for every included tool`,unit:`uses`}}function Kc(){let{isPaywallOpen:e,paywallMetadata:t,closePaywall:n,user:r,paywallRequestUrl:i,paywallReturnPath:a}=Uc(),o=ve().href,s=Wc(t,i),c=Gc(s),l=t?.currentCount!==void 0&&t?.maxAllowed!==void 0?`You've used ${t.currentCount} of ${t.maxAllowed} free ${c.unit}`:null,u=t?.action;return(0,R.jsx)(Mc,{open:e,onOpenChange:e=>!e&&n(),children:(0,R.jsx)(Ic,{className:`max-h-[calc(100svh-2rem)] overflow-y-auto bg-white sm:max-w-lg`,children:u===`signup`||!(u===`upgrade`||u===`purchase_pack`)&&(!r||r.isAnonymous)?(0,R.jsxs)(R.Fragment,{children:[(0,R.jsxs)(Lc,{children:[(0,R.jsx)(zc,{className:`text-brown-primary text-xl font-bold`,children:`Create your free account`}),l&&(0,R.jsx)(Bc,{className:`text-muted-foreground`,children:l})]}),(0,R.jsxs)(`p`,{className:`text-sm text-muted-foreground`,children:[`Your new account starts with `,c.allowance,`. Your anonymous use does not reduce it. No card needed.`]}),(0,R.jsxs)(`div`,{className:`flex flex-col gap-3 mt-4`,children:[(0,R.jsx)(dt,{asChild:!0,className:`w-full rounded-full bg-cta-black text-white hover:bg-cta-black/85 h-11`,children:(0,R.jsxs)(T,{to:`/signup`,search:{next:o,reason:c.reason},onClick:()=>{vn({next:o,reason:c.reason}),n()},children:[`Get `,c.allowance]})}),(0,R.jsxs)(`p`,{className:`text-center text-sm text-muted-foreground`,children:[`Already have an account?`,` `,(0,R.jsx)(T,{to:`/login`,search:{next:o},onClick:n,className:`text-brown-secondary hover:text-brown-primary underline transition-colors`,children:`Log in`})]})]})]}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsxs)(Lc,{children:[(0,R.jsx)(zc,{className:`text-brown-primary text-xl font-bold`,children:`Continue when you need it`}),l&&(0,R.jsx)(Bc,{className:`text-muted-foreground`,children:l})]}),(0,R.jsx)(Sn,{kind:s,returnPath:a}),(0,R.jsx)(xn,{at:t?.nextResetAt}),(0,R.jsxs)(`p`,{className:`text-sm text-muted-foreground`,children:[`Need ongoing use? Remove this `,c.unit,` limit and keep the care history, reminders, and camera tools together. Plans start at`,` `,Rt,`/mo and can be purchased here by card.`]}),(0,R.jsx)(`div`,{className:`mt-2 flex flex-col gap-3`,children:(0,R.jsx)(dt,{asChild:!0,className:`h-11 w-full rounded-full bg-cta-black text-white hover:bg-cta-black/85`,children:(0,R.jsx)(T,{to:`/subscribe`,onClick:()=>{zt(Vt()),n()},children:`See plans and subscribe`})})}),(0,R.jsxs)(`div`,{className:`mt-4 flex flex-col items-center gap-3 border-t border-gray-100 pt-4`,children:[(0,R.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Or subscribe in the app`}),(0,R.jsx)(ct,{variant:`black`,className:`justify-center`,entrySurface:`web_paywall`,placement:`paywall_modal`}),(0,R.jsxs)(`div`,{className:`hidden flex-col items-center gap-2 sm:flex`,children:[(0,R.jsx)(`div`,{className:`rounded-xl border border-gray-100 bg-white p-3 shadow-sm`,children:(0,R.jsx)(hi,{value:
14I,size:96,bgColor:`#ffffff`,fgColor:`#000000`,level:`M`})}),(0,R.jsx)(`p`,{className:`text-xs text-gray-400`,children:`Scan to open Voyage on your phone`})]})]})]})})})}function qc(e=!0){let t=ve({select:e=>e.pathname+e.searchStr}),n=(0,z.useRef)(!0);(0,z.useEffect)(()=>{if(n.current){n.current=!1;return}e&&Ge(t)},[e,t])}var Jc={_strictAuth:!0},Yc=[`pacc`],Xc={me:e=>[...Yc,`me`,e],coordinatorEnrollments:e=>[...Yc,`coordinator`,`enrollments`,e],coordinatorHistory:(e,t)=>[...Yc,`coordinator`,`history`,e,t],triageHistory:(e,t)=>[...Yc,`triage`,e,t],triageJob:(e,t,n)=>[...Yc,`triage-job`,e,t,n]};async function Zc(){return(await it.get(`/pacc/me`,Jc)).data.data}async function Qc(e,t){return(await it.post(`/pacc/enrollments`,{animalNumber:e,attestationVersion:`pacc-foster-v1`},{...Jc,headers:{"Idempotency-Key":t}})).data.data}async function $c(){return(await it.get(`/pacc/coordinator/enrollments`,Jc)).data.data}async function el(e){return(await it.get(`/pacc/coordinator/enrollments/${e}/history`,Jc)).data.data}async function tl(e,t){return(await it.patch(`/pacc/coordinator/enrollments/${e}`,t,Jc)).data.data}async function nl(e,t,n){return(await it.post(`/pacc/contexts/${e}/triage`,{originalContent:t},{...Jc,headers:{"Idempotency-Key":n}})).data.data}async function rl(e,t){return(await it.get(`/pacc/contexts/${e}/triage/jobs/${t}`,Jc)).data}async function il(e){return(await it.get(`/pacc/contexts/${e}/triage`,Jc)).data.data}var al=[`triage`,`card`];function ol(e){let t=e?.response?.status;return t===401?{heading:`Sign in to open this report`,message:`Your session has ended. Sign in again to return to this report.`,action:`login`}:t===403?{heading:`Report unavailable`,message:`This report belongs to a different account.`,action:`home`}:t===404?{heading:`Report not found`,message:`This report may have expired or the link may be incomplete.`,action:`home`}:{heading:`Could not load this report`,message:`This looks temporary. Your saved report has not been changed.`,action:`retry`}}function sl(e,t){return He({queryKey:[...al,t,e],queryFn:()=>wn(e),staleTime:5*6e4,gcTime:30*6e4})}function cl(e){e.removeQueries({queryKey:al}),e.removeQueries({queryKey:Yc})}function ll(e){let t=y(),n=ge(),r=S({select:e=>e.location.href}),i=(0,z.useRef)(r);i.current=r;let a=(0,z.useRef)(!1);(0,z.useEffect)(()=>{if(!(typeof window>`u`))return rt(()=>{if(a.current)return;a.current=!0;let r=i.current,o=r.startsWith(`/`)?r:void 0;(async()=>{try{await et().auth.signOut().catch(()=>{}),await k().catch(()=>{}),cl(e),await t.invalidate(),r.startsWith(`/pacc/coordinator`)?await n({to:`/pacc/coordinator-login`,replace:!0}):r.startsWith(`/pacc`)?await n({to:`/pacc/login`,replace:!0}):await n({to:`/login`,search:{next:o},replace:!0})}catch{if(r.startsWith(`/pacc/coordinator`))window.location.assign(`/pacc/coordinator-login`);else if(r.startsWith(`/pacc`))window.location.assign(`/pacc/login`);else{let e=o?`?next=${encodeURIComponent(o)}`:``;window.location.assign(`/login${e}`)}}finally{a.current=!1}})()})},[t,n,e])}var ul=A({method:`GET`}).handler(oe(`e3b013244783b6144424b7637eac54b51b6cadf6d22f2e5e280a71087ad069f1`)),dl=ot(`react-query`),fl=e=>e instanceof tt,pl=new Hr({defaultOptions:{queries:{staleTime:1/0,gcTime:1800*1e3,refetchOnWindowFocus:!1,retry:1}},queryCache:new Vr({onError:(e,t)=>{fl(e)||dl.error({err:e,query_key:t.queryKey},`query failed`)}}),mutationCache:new zr({onError:(e,t,n,r)=>{fl(e)||dl.error({err:e,mutation_key:r.options.mutationKey??null},`mutation failed`)}})});function ml({children:e}){let t=ve({select:e=>e.pathname.startsWith(`/pacc`)});return(0,R.jsxs)(`html`,{lang:`en`,children:[(0,R.jsxs)(`head`,{children:[t?null:(0,R.jsx)(`script`,{async:!0,src:We}),t?null:(0,R.jsx)(`script`,{dangerouslySetInnerHTML:{__html:$e}}),(0,R.jsx)(Or,{})]}),(0,R.jsxs)(`body`,{className:`font-sans bg-background text-foreground antialiased`,children:[e,(0,R.jsx)(kr,{})]})]})}var W=ie({beforeLoad:async()=>{let[e,t]=await Promise.all([ue(),ul()]);return{user:e,telemetry:t}},head:()=>({meta:[{charSet:`utf-8`},{name:`viewport`,content:`width=device-width, initial-scale=1`},{title:$t},{name:`description`,content:un},{property:`og:site_name`,content:dn},{property:`og:type`,content:`website`},{property:`og:image`,content:on},{name:`twitter:card`,content:`summary_large_image`},...[],{"script:ld+json":{"@context":`https://schema.org`,"@type":`WebSite`,name:dn,url:I}},{"script:ld+json":{"@context":`https://schema.org`,"@type":`Organization`,name:dn,alternateName:`Voyage Health Inc.`,description:sn,slogan:Qt,url:I,logo:`${I}
14/icon-512.png`,foundingDate:ln,knowsAbout:Zt,brand:{"@type":`Brand`,name:dn},sameAs:rn}},{"script:ld+json":{"@context":`https://schema.org`,"@type":`WebApplication`,"@id":an,name:dn,description:un,url:I,applicationCategory:`HealthApplication`,operatingSystem:`Web`}}],links:[{rel:`icon`,type:`image/png`,sizes:`32x32`,href:`/favicon-32.png`},{rel:`icon`,type:`image/png`,sizes:`32x32`,href:`/favicon-32-dark.png`,media:`(prefers-color-scheme: dark)`},{rel:`apple-touch-icon`,sizes:`512x512`,href:`/icon-512.png`},{rel:`manifest`,href:`/site.webmanifest`},{rel:`preconnect`,href:`https://fonts.googleapis.com`},{rel:`preconnect`,href:`https://fonts.gstatic.com`,crossOrigin:`anonymous`},{rel:`stylesheet`,href:`https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700&family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,400..600&family=JetBrains+Mono:wght@400;500&display=swap`}]}),shellComponent:ml,component:()=>{let{user:e,telemetry:t}=W.useRouteContext(),n=ve({select:e=>e.pathname.startsWith(`/pacc`)}),r=(0,z.useRef)(e?.id);return qc(!n),ll(pl),(0,z.useEffect)(()=>{n||st(t)},[n,t]),(0,z.useEffect)(()=>{at.setUser(e?.id??null)},[e?.id]),(0,z.useEffect)(()=>{r.current&&r.current!==e?.id&&cl(pl),r.current=e?.id},[e?.id]),(0,z.useEffect)(()=>{if(qe(n),n)return;Qe();let t=e?.id;Ue({identity_state:t?e.isAnonymous?`ANONYMOUS`:`IDENTIFIED`:`VISITOR`}),t&&!e.isAnonymous&&Xe(t)},[n,e?.id,e?.isAnonymous]),(0,R.jsx)(Be,{client:pl,children:n?(0,R.jsx)(u,{}):(0,R.jsxs)(Hc,{user:e,children:[(0,R.jsx)(u,{}),(0,R.jsx)(Kc,{})]})})}}),hl=`vy_pending_pet_name`,gl=`vy_pending_followup_optin`,_l=`vy_pending_save_card_id`,vl=`vy_pending_triage_journey_id`,yl=`vy_pending_triage_entry_surface`,bl=`vy_pending_triage_blog_slug`,xl=`vy_pending_triage_severity`;function Sl(e){try{return typeof window<`u`?window.localStorage.getItem(e):null}catch{return null}}function Cl(){let e=Sl(gl),t=(Sl(`vy_pending_triage_journey_id`)??``).trim(),n=Sl(yl),r=(Sl(`vy_pending_triage_blog_slug`)??``).trim(),i=Sl(xl),a=i===`RED`||i===`YELLOW`||i===`GREEN`?i:void 0,o=t&&(n===`blog`||n===`ai_vet`)?{journeyId:t,entrySurface:n,...r?{blogSlug:r}:{}}:void 0;return{petName:(Sl(`vy_pending_pet_name`)??``).trim(),optin:e===`1`||e===`0`?e:null,cardId:(Sl(`vy_pending_save_card_id`)??``).trim(),...a?{severity:a}:{},...o?{analyticsContext:o}:{}}}function wl(e){try{window.localStorage.setItem(vl,e.journeyId),window.localStorage.setItem(yl,e.entrySurface),e.blogSlug?window.localStorage.setItem(bl,e.blogSlug):window.localStorage.removeItem(bl)}catch{}}function Tl(e){try{window.localStorage.setItem(_l,e.cardId),window.localStorage.setItem(gl,e.optIn?`1`:`0`),e.severity?window.localStorage.setItem(xl,e.severity):window.localStorage.removeItem(xl),e.analyticsContext&&wl(e.analyticsContext)}catch{}}function El(){for(let e of[hl,gl,_l,vl,yl,bl,xl])try{window.localStorage.removeItem(e)}catch{}}function Dl(e,t,n){let r=n?.landing_path?.startsWith(`/blog/`)?n.landing_path.slice(6):null;return{anonId:t,...n?{firstTouch:{slug:r,url:n.landing_path,referrer:n.referrer,utm_source:n.utm_source,utm_medium:n.utm_medium,utm_campaign:n.utm_campaign,ts:n.ts}}:{},...e.analyticsContext?{analyticsContext:e.analyticsContext}:{},...e.cardId?{cardId:e.cardId}:{}}}var Ol=D(`/welcome`)({validateSearch:e=>({next:typeof e.next==`string`?e.next:void 0,reason:mn(e.reason)}),beforeLoad:({context:e})=>{if(!e.user||e.user.isAnonymous)throw E({to:`/signup`})},head:()=>({meta:[{title:`Welcome — ${dn}`},{name:`robots`,content:`noindex, follow`}],links:[{rel:`canonical`,href:en(`/welcome`)}]}),component:kl});function kl(){let{user:e}=_e({from:`__root__`}),{next:t,reason:n}=Ol.useSearch(),r=ge(),[i,a]=(0,z.useState)(null),[o]=(0,z.useState)(()=>gn()),s=hn(t,`/care`),c=Re({mutationFn:async e=>{let t=Je(),n=Ze(),r=n?.landing_path?.startsWith(`/blog/`)?n.landing_path.slice(6):null;t&&await it.post(`/user/attribution`,Dl(e,t,n));let i=!1;if(e.optin===`1`)try{if(!t||!e.cardId)throw Error(`A saved report is required for a follow-up email.`);await Cn({anonId:t,sessionId:e.analyticsContext?.journeyId??e.cardId,severity:e.severity,cardId:e.cardId}),i=!0}catch{}return{anonId:t,slug:r,followupScheduled:i,cardId:e.cardId,trigger:e.cardId?`save_block`:`registration`}},onSuccess:({anonId:t,slug:n,followupScheduled:r,cardId:i,trigger:a})=>{t&&e&&Ke(t,e.id),e&&Xe(e.id),M(Ye.accountCreated,{trigger:a,anon_id:t,first_touch_slug:n}),r&&M(Ye.followupEmailScheduled,{email_type:`followup_2d`,session_id:i}),El();let c=_n(s),l=!!o?.cardId&&o.cardId===c;!i&&!l&&yn()}}),l=(0,z.useRef)(!1);(0,z.useEffect)(()=>
14{if(l.current)return;l.current=!0;let e=Cl();a(e),c.mutate(e)},[]),(0,z.useEffect)(()=>{if(!c.isSuccess)return;let e=window.setTimeout(()=>{r({to:s,replace:!0})},1200);return()=>window.clearTimeout(e)},[s,r,c.isSuccess]);let u=i?.petName?`${i.petName}'s`:`your pet's`,d=i?.cardId?`${u.charAt(0).toUpperCase()+u.slice(1)} record is saved`:`Your account is ready`,f=n===`subscribe`?`Continue to choose your plan. Your free allowance is already available, and you won't enter payment details until you select a subscription.`:`Your full free allowance is ready. Continue where you left off, with your pet's care kept together for next time.`;return(0,R.jsxs)(`div`,{className:`relative flex min-h-svh items-center justify-center overflow-hidden bg-background px-6`,children:[(0,R.jsxs)(`div`,{className:`pointer-events-none absolute inset-0`,children:[(0,R.jsx)(`div`,{className:`absolute -top-24 -right-24 h-48 w-48 sm:h-80 sm:w-80 rounded-full bg-accent-peach/60 blur-3xl`}),(0,R.jsx)(`div`,{className:`absolute -bottom-16 -left-16 h-44 w-44 sm:h-72 sm:w-72 rounded-full bg-cta-primary/50 blur-3xl`})]}),(0,R.jsxs)(`div`,{className:`glass-card relative w-full max-w-md p-6 text-center sm:p-8`,children:[(0,R.jsx)(`img`,{src:`/voyage-mark-coral.svg`,alt:``,"aria-hidden":`true`,className:`mx-auto 
14size-12`,loading:`lazy`}),(0,R.jsx)(`h1`,{className:`mt-4 font-heading text-[28px] font-normal leading-tight text-text-primary sm:text-[32px]`,children:d}),(0,R.jsx)(`p`,{className:`mt-2 text-[15px] leading-relaxed text-text-secondary`,children:f}),c.isError&&(0,R.jsx)(`p`,{className:`mt-4 text-sm text-text-tertiary`,children:`Your account is saved; we'll finish syncing your history shortly.`}),(0,R.jsx)(`div`,{className:`mt-6 flex flex-col gap-2`,children:(0,R.jsx)(T,{to:s,className:`inline-flex h-12 items-center justify-center rounded-full bg-cta-black px-6 text-sm font-semibold text-text-inverse no-underline transition-colors hover:bg-cta-black/90`,children:c.isPending?(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(ht,{className:`size-4 animate-spin`,"aria-hidden":!0}),(0,R.jsx)(`span`,{className:`sr-only`,children:`Continue`})]}):`Continue where you left off`})})]})]})}var Al=D(`/unsubscribe`)({validateSearch:e=>({t:typeof e.t==`string`&&e.t?e.t:null}),head:()=>({meta:[{title:`Unsubscribe — ${dn}`},{name:`robots`,content:`noindex, nofollow`}],links:[{rel:`canonical`,href:en(`/unsubscribe`)}]}),component:jl});function jl(){let{t:e}=Al.useSearch(),t=Re({mutationFn:async()=>{await it.post(`/email/unsubscribe?t=${encodeURIComponent(e??``)}`,{})}});return(0,R.jsx)(`main`,{className:`flex min-h-svh items-center justify-center bg-background px-5 py-12`,children:(0,R.jsxs)(`section`,{className:`glass-card w-full max-w-md p-6 text-center sm:p-8`,children:[(0,R.jsx)(`img`,{src:`/voyage-mark-coral.svg`,alt:``,className:`mx-auto 
14size-12`}),e?t.isSuccess?(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`h1`,{className:`mt-4 font-heading text-3xl text-text-primary`,children:`You're unsubscribed`}),(0,R.jsx)(`p`,{className:`mt-2 text-sm leading-relaxed text-text-secondary`,children:`We won't send more care check-ins. Requested reports and sign-in codes still work.`})]}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`h1`,{className:`mt-4 font-heading text-3xl text-text-primary`,children:`Stop care check-ins?`}),(0,R.jsx)(`p`,{className:`mt-2 text-sm leading-relaxed text-text-secondary`,children:`This stops future follow-up emails, without affecting reports you request.`}),(0,R.jsx)(`button`,{type:`button`,onClick:()=>t.mutate(),disabled:t.isPending,className:`mt-6 inline-flex h-12 w-full items-center justify-center rounded-full bg-cta-black px-6 text-sm font-semibold text-text-inverse disabled:opacity-60`,children:t.isPending?(0,R.jsx)(ht,{className:`size-4 animate-spin`,"aria-hidden":!0}):`Yes, stop these check-ins`})]}):(0,R.jsx)(`h1`,{className:`mt-4 font-heading text-3xl text-text-primary`,children:`This link has expired`}),(0,R.jsx)(T,{to:`/`,className:`mt-4 inline-block text-sm text-text-secondary underline`,children:`Back to Voyage`})]})})}var Ml=D(`/triage`)({beforeLoad:()=>{throw E({to:`/ai-vet`,replace:!0})}}),Nl=D(`/terms`)({head:()=>({meta:[{title:`Terms of Service | Voyage`},{name:`description`,content:`Voyage Terms of Service — the rules and guidelines for using our service.`}],links:[{rel:`canonical`,href:en(`/terms`)}]}),component:O(()=>N(()=>import(`./terms-Ce3JD7YZ.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21])),`component`)}),Pl=D(`/support`)({head:()=>({meta:[{title:`Need help? | Voyage`},{name:`description`,content:`Report a bug or tell us what went wrong. We read every report and let you know 
14when it is fixed.`}],links:[{rel:`canonical`,href:en(`/support`)}]}),component:O(()=>N(()=>import(`./support-B6SB67di.js`),__vite__mapDeps([22,23,2,24,25,4,26,9,27,8,1,28,29,3,19,30,31,32,33,34,35,36,5,6,7,37,10,38,39,40,41,42,43,44,45,11,12,13,14,15,16,17,18,20])),`component`)}),Fl=[{value:`monthly`,label:`Monthly`},{value:`annual`,label:`Yearly`},{value:`lifetime`,label:`Lifetime`}],Il=()=>N(()=>import(`./subscribe-CR2U-U2Z.js`),__vite__mapDeps([46,2,24,25,4,26,9,1,47,14,15,29,3,8,19,5,6,7,48,49,50,51,52,53,54,12,13,16,17,18,11,10,39,38,55,32])),Ll=`Subscribe · Voyage`,Rl=`Subscribe to Voyage by card. Solo or Family, monthly, yearly, or one-time.`,zl=D(`/subscribe`)({head:()=>{let{meta:e,links:t}=L({title:Ll,description:Rl,canonicalPath:`/pricing`,ogImage:cn,ogType:`website`});return{meta:[...e,{name:`robots`,content:`noindex,follow`}],links:t}},validateSearch:e=>({kind:e.kind===`usage_pack`?`usage_pack`:void 0,intent_id:typeof e.intent_id==`string`?e.intent_id:void 0,period:Fl.some(({value:t})=>t===e.period)?e.period:void 0,plan:e.plan===`solo`||e.plan===`family`?e.plan:void 0,pack:bn(e.pack)?e.pack:void 0}),component:O(Il,`component`)}),G=`w-full rounded-full border-2 border-surface-border bg-white hover:bg-surface-quiet h-12`;function K({children:e,className:t,...n}){return(0,R.jsxs)(dt,{variant:`outline`,className:t??G,...n,children:[(0,R.jsxs)(`svg`,{className:`mr-2 h-5 w-5`,viewBox:`0 0 24 24`,"aria-hidden":`true`,children:[(0,R.jsx)(`path`,{d:`M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z`,fill:`#4285F4`}),(0,R.jsx)(`path`,{d:`M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z`,fill:`#34A853`}),(0,R.jsx)(`path`,{d:`M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z`,fill:`#FBBC05`}),(0,R.jsx)(`path`,{d:`M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z`,fill:`#EA4335`})]}),e??`Continue with Google`]})}function q({className:e,type:t,...n}){return(0,R.jsx)(`input`,{type:t,"data-slot":`input`,className:P(`h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30`,`focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50`,`aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40`,e),...n})}function J({className:e,...t}){return(0,R.jsx)(ec,{"data-slot":`label`,className:P(`flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50`,e),...t})}var Y=D(`/signup`)({validateSearch:e=>({next:typeof e.next==`string`?e.next:void 0,reason:mn(e.reason)}),beforeLoad:({context:e,search:t})=>{if(e.user&&!e.user.isAnonymous)throw E({to:hn(t.next)})},head:()=>({meta:[{title:`Sign Up — ${dn}`},{name:`description`,content:`Create your Voyage account with Google, Apple, or Magic Link. Get AI-powered veterinary triage for your pet.`},{property:`og:title`,content:`Sign Up — ${dn}`},{property:`og:description`,content:`Sign up for AI veterinary triage.`},{property:`og:url`,content:en(`/signup`)},{name:`robots`,content:`noindex, follow`}],links:[{rel:`canonical`,href:en(`/signup`)}]}),component:Vl}),Bl={triage:{heading:`Keep checking on your pet`,sub:`Turn this assessment into a care record you can return to.`,benefit:`Keep the full report, ask what comes next without starting over, and add updates as things change.`},chat:{heading:`Keep this conversation going`,sub:`Create a free account to continue your exact question.`,benefit:`Your report stays in context, so Voyage can answer from what you already shared.`},save:{heading:`Save this care record`,sub:`Keep the report with your pet and return to it later.`,benefit:`Keep the report, follow-up conversation, and future updates together in one place.`},subscribe:{heading:`Create your Voyage account`,sub:`Your plan and purchase will stay with you on every device.`,benefit:`Your account starts with 3 free assessments every 30 days. Review plans before entering payment details.`},general:{heading:`Create your Voyage account`,sub:`Keep your pet's care together and return whenever you need help.`,benefit:`Build a care history Voyage can use to give you more relevant help over time.`}};function Vl(){let e=Y.useSearch(),{user:t}=Y.useRouteContext();return(0,R.jsx)(Hl,{search:e,user:t})}function Hl({search:e,user:t}){let[n]=(0,z.useState)(()=>gn()),r=hn(n?.cardId?`/ai-vet/cards/${encodeURIComponent(n.cardId)}#continue-chat`:e.next??n?.next,`/care`),i=mn(e.reason??n?.reason),a=Bl[i],o=t?.isAnonymous===!0,s=`/welcome?next=${encodeURIComponent(r)}&reason=${i}`,[c,l]=(0,z.useState)(``),[u,d]=(0,z.useState)(`email`),[f,p]=(0,z.useState)(`upgrade`),[m,h]=(0,z.useState)(null),[g,_]=(0,z.useState)(!1),[v,y]=(0,z.useState)(``),[b,x]=(0,z.useState)(!1),[S,C]=(0,z.useState)(null),ee=(0,z.useRef)(!1);return(0,z.useEffect)(()=>{!o||ee.current||(ee.current=!0,M(Ye.accountOfferRendered,{placement:`signup_${i}`}))},[o,i]),(0,R.jsxs)(`div`,{className:`relative flex min-h-svh items-center justify-center overflow-hidden bg-background px-6`,children:[(0,R.jsx)(T,{to:r,className:`absolute top-6 left-6 text-sm text-muted-foreground hover:text-brown-primary transition-colors`,children:`← Go back`}),(0,R.jsxs)(`div`,{className:`pointer-events-none absolute inset-0`,children:[(0,R.jsx)(`div`,{className:`absolute -top-24 -right-24 h-48 w-48 sm:h-80 sm:w-80 rounded-full bg-accent-peach/60 blur-3xl`}),(0,R.jsx)(`div`,{className:`absolute -bottom-16 -left-16 h-44 w-44 sm:h-72 sm:w-72 rounded-full bg-cta-primary/50 blur-3xl`})]}),(0,R.jsxs)(`div`,{className:`glass-card relative w-full max-w-md p-5 sm:p-8`,children:[(0,R.jsxs)(`div`,{className:`mb-6 space-y-1 text-center`,children:[(0,R.jsx)(`h1`,{className:`font-heading text-3xl font-normal tracking-tight text-brown-primary sm:text-[34px]`,children:a.heading}),(0,R.jsx)(`p`,{className:`text-muted-foreground`,children:a.sub})]}),(0,R.jsxs)(`div`,{className:`mb-5 rounded-2xl border border-brand-coral/20 bg-accent-peach/25 px-4 py-3 text-center`,children:[(0,R.jsx)(`p`,{className:`text-sm font-medium leading-relaxed text-brown-primary`,children:a.benef
14it}),i!==`subscribe`&&(0,R.jsx)(`p`,{className:`mt-0.5 text-xs text-muted-foreground`,children:`Free to start. No card needed.`})]}),S&&(0,R.jsx)(`p`,{className:`mb-4 text-center text-sm text-destructive`,children:S}),(0,R.jsx)(`div`,{className:`flex flex-col gap-3`,children:(0,R.jsx)(K,{onClick:async()=>{x(!0),C(null),o&&(M(Ye.accountOfferClicked,{placement:`signup_${i}`,method:`google`}),M(Ye.identityLinkStarted,{surface:`signup_page`,method:`google`,mode:`upgrade`}));try{let e=o?await fe({data:{next:s}}):await j({data:{next:r}});e.url&&(window.location.href=e.url)}catch(e){o&&M(Ye.identityLinkFailed,{surface:`signup_page`,method:`google`,mode:`upgrade`,failure_type:`oauth_init_failed`}),C(e instanceof Error?e.message:`Sign up failed`),x(!1)}},disabled:b})}),(0,R.jsxs)(`div`,{className:`my-6 flex items-center gap-4`,children:[(0,R.jsx)(`hr`,{className:`flex-1 border-surface-border`}),(0,R.jsx)(`span`,{className:`text-sm text-muted-foreground`,children:`or`}),(0,R.jsx)(`hr`,{className:`flex-1 border-surface-border`})]}),u===`otp`?(0,R.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,R.jsxs)(`div`,{className:`space-y-1 text-center`,children:[(0,R.jsx)(`p`,{className:`font-medium text-brown-primary`,children:`Enter your sign-in code`}),(0,R.jsxs)(`p`,{className:`text-sm text-muted-foreground`,children:[`We sent a 6-digit code to `,(0,R.jsx)(`strong`,{children:c})]})]}),(0,R.jsxs)(`div`,{className:`space-y-1`,children:[(0,R.jsx)(J,{htmlFor:`otp`,children:`Verification code`}),(0,R.jsx)(q,{id:`otp`,type:`text`,inputMode:`numeric`,pattern:`\\d{6}`,maxLength:6,autoComplete:`one-time-code`,placeholder:`030086`,value:v,onChange:e=>y(e.target.value.replace(/\D/g,``).slice(0,6)),className:`rounded-full h-12 border-surface-border tracking-[0.5em] text-center font-mono`,required:!0,autoFocus:!0})]}),g?(0,R.jsx)(dt,{onClick:async()=>{if(m){x(!0),C(null);try{await En(m),n?.cardId||yn(),window.location.href=r}catch(e){C(e instanceof Error?e.message:`Could not save the report.`),x(!1)}}},disabled:b,className:`w-full rounded-full bg-cta-black text-white hover:bg-cta-black/85 h-12`,children:b?`Saving...`:`Retry saving report`}):(0,R.jsx)(dt,{onClick:async()=>{let e=v.replace(/\D/g,``);if(e.length!==6){C(`Enter the 6-digit code from your email`);return}x(!0),C(null);try{if(o&&f===`upgrade`)await pe({data:{email:c,token:e}}),M(Ye.otpVerified,{surface:`signup_page`,mode:`upgrade`}),window.location.href=s;else{if(await me({data:{email:c,token:e}}),o&&M(Ye.otpVerified,{surface:`signup_page`,mode:`login`}),m)try{await En(m)}catch(e){C(e instanceof Error?e.message:`Could not save the report.`),_(!0),x(!1);return}n?.cardId||yn(),window.location.href=r}}catch(e){C(e instanceof Error?e.message:`Invalid code`),y(``),x(!1)}},disabled:b||v.length!==6,className:`w-full rounded-full bg-cta-black text-white hover:bg-cta-black/85 h-12`,children:b?`Verifying...`:`Verify code`}),(0,R.jsx)(`button`,{type:`button`,onClick:()=>{d(`email`),y(``),h(null),_(!1),C(null)},disabled:b,className:`text-center text-sm text-muted-foreground hover:text-brown-secondary transition-colors`,children:`Use a different email`})]}):(0,R.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,R.jsxs)(`div`,{className:`space-y-1`,children:[(0,R.jsx)(J,{htmlFor:`email`,children:`Email address`}),(0,R.jsx)(q,{id:`email`,type:`email`,placeholder:`[email protected]`,value:c,onChange:e=>l(e.target.value),className:`rounded-full h-12 border-surface-border`,required:!0})]}),(0,R.jsx)(dt,{onClick:async()=>{if(c){x(!0),C(null),o&&M(Ye.accountOfferClicked,{placement:`signup_${i}`,method:`email`});try{if(o){let e=await ce({data:{email:c,next:s}});if(e.status===`email_in_use`){p(`login`);let e=n?.cardId??_n(r);e&&h((await Tn(e)).token),await se({data:{email:c}})}else p(`upgrade`);let t=e.status===`email_in_use`?`login`:`upgrade`;M(Ye.identityLinkStarted,{surface:`signup_page`,method:`email`,mode:t}),M(Ye.otpRequested,{surface:`signup_page`,mode:t})}else p(`login`),await se({data:{email:c}});d(`otp`)}catch(e){o&&M(Ye.identityLinkFailed,{surface:`signup_page`,method:`email`,mode:f,failure_type:`start_failed`}),C(e instanceof Error?e.message:`Failed to send code`)}
14finally{x(!1)}}},disabled:b||!c,className:`w-full rounded-full bg-cta-black text-white hover:bg-cta-black/85 h-12`,children:b?`Sending...`:`Continue with email`})]}),(0,R.jsxs)(`p`,{className:`mt-6 text-center text-sm text-muted-foreground`,children:[`Already have an account?`,` `,(0,R.jsx)(T,{to:`/login`,search:{next:r},className:`font-medium text-brown-primary hover:underline`,children:`Log in`})]})]})]})}var Ul=D(`/product`)({validateSearch:e=>e.for===`owners`?{for:`owners`}:e.for===`vets`?{for:`vets`}:{},head:()=>{let{meta:e,links:t}=L({title:$t,description:`See what Voyage actually says about a sick pet — a cited answer, the source open beside it, and a health history that carries between visits.`,canonicalPath:`/`,ogImage:cn,ogType:`website`});return{meta:e,links:t}},component:O(()=>N(()=>import(`./product-D1KIRvYq.js`),__vite__mapDeps([56,2,1,3,4,5,6,7,57,9,58,59,12,13,14,15,29,8,19,25,60,49,61,62,50,63,64,51,65,45,66,67,68,69,10,20,70,71,72,38,39,11,16,17,18])),`component`)}),Wl=D(`/privacy`)({head:()=>({meta:[{title:`Privacy Policy | Voyage`},{name:`description`,content:`Voyage Privacy Policy — how we collect, use, and protect your data.`}],links:[{rel:`canonical`,href:en(`/privacy`)}]}),component:O(()=>N(()=>import(`./privacy-CE6GjpVr.js`),__vite__mapDeps([73,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21])),`component`)}),X=`text-sm text-text-secondary no-underline transition-colors hover:text-text-primary`;function Gl(){return(0,R.jsxs)(`div`,{children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-2 mb-4`,children:[(0,R.jsx)(`img`,{src:`/voyage-mark-coral.svg`,alt:``,"aria-hidden":`true`,className:`inline-block size-10 shrink-0`,loading:`lazy`}),(0,R.jsx)(`img`,{src:`/voyage-wordmark-light.svg`,alt:`Voyage`,className:`h-[18px] w-auto`})]}),(0,R.jsxs)(`p`,{className:`text-sm text-text-secondary max-w-[260px] leading-relaxed`,children:[`Clearer decisions. Healthier days. Together with your pet.`,(0,R.jsx)(`br`,{}),`For families. For vets.`,(0,R.jsx)(`br`,{}),`For everything in between.`]}),(0,R.jsx)(ct,{variant:`black`,className:`mt-6`,entrySurface:`homepage`,placement:`footer`})]})}function Kl({compact:e=!1}){return(0,R.jsxs)(`footer`,{className:`relative bg-[#F4EFE6] overflow-hidden border-t border-[rgba(23,20,18,0.06)]`,children:[(0,R.jsxs)(`div`,{className:`relative mx-auto max-w-[1200px] px-6 md:px-12 pt-16 pb-10`,children:[(0,R.jsxs)(`div`,{className:`flex flex-col lg:flex-row justify-between items-start gap-12`,children:[(0,R.jsx)(Gl,{}),e?(0,R.jsxs)(`div`,{className:`grid grid-cols-2 gap-10`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`div`,{className:`text-[11px] font-semibold uppercase tracking-[0.1em] text-text-tertiary mb-4`,children:`Voyage`}),(0,R.jsxs)(`div`,{className:`flex flex-col gap-2.5`,children:[(0,R.jsx)(T,{to:`/forvets`,className:X,children:`Voyage for Vets`}),(0,R.jsx)(T,{to:`/blog`,className:X,children:`Pet Health Library`}),(0,R.jsx)(T,{to:`/pet-symptom-checker`,className:X,children:`Pet Symptom Checker`}),(0,R.jsx)(T,{to:`/support`,className:X,children:`Need help?`})]})]}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`div`,{className:`text-[11px] font-semibold uppercase tracking-[0.1em] text-text-tertiary mb-4`,children:`Legal`}),(0,R.jsxs)(`div`,{className:`flex flex-col gap-2.5`,children:[(0,R.jsx)(T,{to:`/privacy`,className:X,children:`Privacy`}),(0,R.jsx)(T,{to:`/terms`,className:X,children:`Terms`}),(0,R.jsx)(T,{to:`/ai-disclaimer`,className:X,children:`AI Disclaimer`}),(0,R.jsx)(T,{to:`/data-deletion`,className:X,children:`Data Deletion`})]})]})]}):(0,R.jsxs)(`div`,{className:`grid grid-cols-2 sm:grid-cols-3 gap-10`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`div`,{className:`text-[11px] font-semibold uppercase tracking-[0.1em] text-text-tertiary mb-4`,children:`Product`}),(0,R.jsxs)(`div`,{className:`flex flex-col gap-2.5`,children:[(0,R.jsx)(T,{to:`/ai-vet`,className:X,children:`For Pet Parents`}),(0,R.jsx)(T,{to:`/pet-symptom-checker`,className:X,children:`Pet Symptom Checker`}),(0,R.jsx)(T,{to:`/pricing`,className:X,children:`Pricing`}),(0,R.jsx)(T,{to:`/forvets`,className:X,children:`Voyage for Vets`})]})]}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`div`,{className:`text-[11px] font-semibold uppercase tracking-[0.1em] text-text-tertiary mb-4`,children:`Resources`}),(0,R.jsxs)(`div`,{className:`flex flex-col gap-2.5`,children:[(0,R.jsx)(T,{to:`/blog`,className:X,children:`Pet Health Library`}),(0,R.jsx)(T,{to:`/tools`,className:X,children:`Pet Safety Tools`}),(0,R.jsx)(T,{to:`/ai-vet-accuracy`,className:X,children:`Accuracy & Limits`}),(0,R.jsx)(T,{to:`/forvets/knowledge`,className:X,children:`Vet Dispatch`}),(0,R.jsx)(T,{to:`/`,hash:`faq`,className:X,children:`FAQ`}),(0,R.jsx)(T,{to:`/support`,className:X,children:`Need help?`})]})]}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`div`,{className:`text-[11px] font-semibold uppercase tracking-[0.1em] text-text-tertiary mb-4`,children:`Legal`}),(0,R.jsxs)(`div`,{className:`flex flex-col gap-2.5`,children:[(0,R.jsx)(T,{to:`/privacy`,className:X,children:`Privacy`}),(0,R.jsx)(T,{to:`/terms`,className:X,children:`Terms`}),(0,R.jsx)(T,{to:`/ai-disclaimer`,className:X,children:`AI Disclaimer`}),(0,R.jsx)(T,{to:`/data-deletion`,className:X,children:`Data Deletion`})]})]})]})]}),(0,R.jsxs)(`div`,{className:`mt-12 border-t border-[rgba(23,20,18,0.07)] pt-8`,children:[(0,R.jsx)(`div`,{className:`text-[11px] font-semibold uppercase tracking-[0.1em] text-text-tertiary mb-4`,children:`Browse by Pet`}),(0,R.jsx)(`div`,{className:`grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 ga
14p-x-6 gap-y-2.5`,children:An.map(e=>(0,R.jsx)(T,{to:Mn[e],className:X,children:kn(e).label},e))})]}),(0,R.jsxs)(`div`,{className:`mt-12 border-t border-[rgba(23,20,18,0.07)] pt-6 flex flex-col sm:flex-row justify-between gap-2 text-[12px] tracking-wide text-text-tertiary`,children:[(0,R.jsx)(`span`,{children:`© 2026 Voyage Health Inc.`}),(0,R.jsxs)(`span`,{className:`text-[14px] text-text-secondary`,children:[`Built with`,` `,(0,R.jsx)(`span`,{className:`text-[15px] text-[#F9758C]`,children:`♥`}),` in Seattle — for Voyage, Bella, Hathaway, and every animal in the world.`]})]})]}),(0,R.jsx)(`div`,{className:`relative overflow-hidden select-none pointer-events-none`,style:{height:`clamp(100px, 14vw, 180px)`},"aria-hidden":`true`,children:(0,R.jsx)(`span`,{className:`absolute bottom-[-0.15em] left-1/2 -translate-x-1/2 font-heading font-normal leading-none whitespace-nowrap text-text-primary/[0.065]`,style:{fontSize:`clamp(120px, 18vw, 260px)`,letterSpacing:`-0.02em`},children:`Voyage`})})]})}function ql(e){return P(`rounded-full border backdrop-blur-md transition-all duration-300`,e?`border-black/[0.08] bg-white/80 shadow-[0_1px_3px_rgba(23,20,18,0.06),0_8px_28px_rgba(23,20,18,0.16)]`:`border-white/40 bg-white/70 shadow-[0_8px_30px_rgba(23,20,18,0.12)]`)}var Jl=`inline-flex h-9 items-center whitespace-nowrap rounded-full px-3 text-[13.5px] font-medium text-text-secondary no-underline transition-colors hover:text-text-primary focus:outline-none focus-visible:ring-2 focus-visible:ring-cta-black/20`,Yl=`inline-flex h-9 items-center justify-center whitespace-nowrap rounded-full bg-cta-black px-4 text-[13.5px] font-semibold text-white no-underline transition-all hover:-translate-y-px hover:shadow-[0_4px_14px_rgba(23,20,18,0.28)] focus:outline-none focus-visible:ring-2 focus-visible:ring-cta-black/30`;function Xl(e){return P(`inline-flex h-9 items-center whitespace-nowrap rounded-full px-2 text-[12.5px] font-semibold no-underline transition-all sm:px-3.5 sm:text-[13.5px]`,`focus:outline-none focus-visible:ring-2 focus-visible:ring-cta-black/20`,e?`bg-white text-text-primary shadow-[0_1px_2px_rgba(23,20,18,0.10),0_3px_8px_rgba(23,20,18,0.10)] ring-1 ring-black/[0.05]`:`text-text-secondary hover:text-text-primary`)}function Zl({active:e}){return(0,R.jsxs)(`div`,{className:`ml-0.5 flex items-center gap-0.5 rounded-full bg-black/[0.05] p-0.5 sm:p-1`,children:[(0,R.jsx)(T,{to:`/`,search:{},className:Xl(e===`owners`),"aria-current":e===`owners`?`page`:void 0,children:`Pet parents`}),(0,R.jsx)(T,{to:`/forvets`,className:Xl(e===`vets`),"aria-current":e===`vets`?`page`:void 0,children:`Vets`})]})}function Ql(){return(0,R.jsxs)(T,{to:`/`,search:{},className:`flex items-center gap-2 pl-1 pr-1.5 no-underline`,"aria-label":`Voyage home`,children:[(0,R.jsx)(`img`,{src:`/voyage-mark-coral.svg`,alt:``,"aria-hidden":`true`,className:`inline-block size-9 shrink-0`,loading:`eager`}),(0,R.jsx)(`img`,{src:`/voyage-wordmark-light.svg`,alt:`Voyage`,className:`hidden h-4 w-auto sm:block`})]})}var $l=[{to:`/pricing`,label:`Pricing`},{to:`/ai-vet-accuracy`,label:`Safety`},{to:`/tools`,label:`Free tools`},{to:`/blog`,label:`Guides`}],eu=[{to:`/pricing`,label:`Pricing`,blurb:`Free web triage, plans from $6.99/mo`},{to:`/pet-symptom-checker`,label:`Pet symptom checker`,blurb:`Check symptoms and get a clear urgency level`},{to:`/blog`,label:`Pet Health Library`,blurb:`900+ cited guides, by species and symptom`},{to:`/tools`,label:`Free safety tools`,blurb:`Toxicity calculators with a clear next step`},{to:`/ai-vet-accuracy`,label:`Accuracy & limits`,blurb:`What an AI vet can and cannot do`}];function tu(){let[e,t]=(0,z.useState)(!1);return(0,z.useEffect)(()=>{if(!e)return;let n=e=>{e.key===`Escape`&&t(!1)},r=e=>{let n=e.target;n instanceof Element&&n.closest(`[data-resources-menu]`)||t(!1)};return document.addEventListener(`keydown`,n),document.addEventListener(`pointerdown`,r),()=>{document.removeEventListener(`keydown`,n),document.removeEventListener(`pointerdown`,r)}},[e]),(0,R.jsxs)(`div`,{className:`relative`,"data-resources-menu":!0,children:[(0,R.jsxs)(`button`,{type:`button`,onClick:()=>t(e=>!e),"aria-expanded":e,"aria-haspopup":`menu`,className:P(Jl,`gap-1`,e&&`text-text-primary`),children:[`Resources`,(0,R.jsx)(pt,{"aria-hidden":`true`,className:P(`size-3.5 transition-transform duration-200`,e&&`rotate-180`)})]}),(0,R.jsx)(`div`,{className:P(`absolute left-1/2 top-[calc(100%+10px)] w-[290px] -translate-x-1/2 roun
14ded-2xl border border-black/[0.07] bg-[#fbf7ef] p-2 shadow-[0_1px_3px_rgba(23,20,18,0.06),0_16px_40px_rgba(23,20,18,0.16)] transition-all duration-200`,e?`visible translate-y-0 opacity-100`:`invisible -translate-y-1 opacity-0`),children:eu.map(n=>(0,R.jsxs)(T,{to:n.to,onClick:()=>t(!1),tabIndex:e?void 0:-1,className:`block rounded-xl px-3 py-2.5 no-underline transition-colors hover:bg-white`,children:[(0,R.jsx)(`span`,{className:`block text-[13.5px] font-semibold text-text-primary`,children:n.label}),(0,R.jsx)(`span`,{className:`mt-0.5 block text-[12px] leading-snug text-text-secondary`,children:n.blurb})]},n.to))})]})}function nu(e,t){let n=e?t?Ut(t):`Subscribed`:`Free plan`;return{label:n,short:e?n.split(` · `)[0]:`Free`,action:e?`Manage plan`:`See plans`}}function ru({variant:e,onNavigate:t}){let{user:n}=_e({from:`__root__`}),{query:r,isAnonymous:i,subscribed:a}=Ht(),[o,s]=(0,z.useState)(!1),c=e===`drawer`;if((0,z.useEffect)(()=>{if(!o)return;let e=e=>{e.key===`Escape`&&s(!1)},t=e=>{let t=e.target;t instanceof Element&&t.closest(`[data-account-menu]`)||s(!1)};return document.addEventListener(`keydown`,e),document.addEventListener(`pointerdown`,t),()=>{document.removeEventListener(`keydown`,e),document.removeEventListener(`pointerdown`,t)}},[o]),i)return(0,R.jsx)(T,{to:`/login`,onClick:t,className:c?`block rounded-full border border-surface-border bg-white px-5 py-3 text-center text-sm font-semibold text-text-primary no-underline`:`hidden h-9 items-center whitespace-nowrap rounded-full px-4 text-[13.5px] font-medium text-text-secondary no-underline transition-colors hover:text-text-primary focus:outline-none focus-visible:ring-2 focus-visible:ring-cta-black/20 lg:inline-flex`,children:`Log in`});let l=r.isSuccess?nu(a,r.data?.tier):null,u=n?.email?.trim()?.[0]?.toUpperCase()??`•`;return c?(0,R.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[n?.email&&(0,R.jsx)(`p`,{className:`truncate px-1 text-center text-[12px] text-text-secondary`,children:n.email}),(0,R.jsx)(T,{to:`/care`,onClick:t,className:`block rounded-full border border-surface-border bg-white px-5 py-3 text-center text-sm font-semibold text-text-primary no-underline`,children:`My care`}),l&&(0,R.jsxs)(T,{to:`/subscribe`,onClick:t,className:`block rounded-full border border-surface-border bg-white px-5 py-3 text-center text-sm font-semibold text-text-primary no-underline`,children:[l.label,(0,R.jsx)(`span`,{className:`mt-0.5 block text-[12px] font-medium text-text-secondary`,children:l.action})]}),(0,R.jsx)(T,{to:`/logout`,onClick:t,className:`block rounded-full px-5 py-3 text-center text-sm font-medium text-text-secondary no-underline`,children:`Log out`})]}):(0,R.jsxs)(`div`,{className:`relative hidden lg:block`,"data-account-menu":!0,children:[(0,R.jsxs)(`button`,{type:`button`,onClick:()=>s(e=>!e),"aria-expanded":o,"aria-haspopup":`menu`,"aria-label":l?`Account — ${l.label}`:`Account`,className:P(Jl,`gap-1.5 pl-1 pr-2.5`,o&&`text-text-primary`),children:[(0,R.jsx)(`span`,{"aria-hidden":`true`,className:`grid size-7 shrink-0 place-items-center rounded-full bg-black/[0.06] text-[12px] font-semibold text-text-primary`,children:u}),l&&(0,R.jsx)(`span`,{"aria-hidden":`true`,className:P(`hidden xl:inline`,a&&`font-semibold text-text-primary`),children:l.short}),(0,R.jsx)(pt,{"aria-hidden":`true`,className:P(`size-3.5 shrink-0 transition-transform duration-200`,o&&`rotate-180`)})]}),(0,R.jsxs)(`div`,{className:P(`absolute right-0 top-[calc(100%+10px)] w-[236px] rounded-2xl border border-black/[0.07] bg-[#fbf7ef] p-2 shadow-[0_1px_3px_rgba(23,20,18,0.06),0_16px_40px_rgba(23,20,18,0.16)] transition-all duration-200`,o?`visible translate-y-0 opacity-100`:`invisible -translate-y-1 opacity-0`),children:[n?.email&&(0,R.jsx)(`p`,{className:`truncate px-3 pb-2 pt-1 text-[12px] text-text-secondary`,title:n.email,children:n.email}),(0,R.jsx)(T,{to:`/care`,onClick:()=>s(!1),tabIndex:o?void 0:-1,className:`block rounded-xl px-3 py-2.5 text-[13.5px] font-semibold text-text-primary no-underline transition-colors hover:bg-white`,children:`My care`}),l&&(0,R.jsxs)(T,{to:`/subscribe`,onClick:()=>s(!1),tabIndex:o?void 0:-1,className:`block rounded-xl px-3 py-2.5 no-underline transition-colors hover:bg-white`,children:[(0,R.jsx)(`span`,{className:`block text-[13.5px] font-semibold text-text-primary`,children:l.action}),(0,R.jsx)(`span`,{className:`mt-0.5 block text-[12px] leading-snug text-text-secondary`,children:l.label})]}),(0,R.jsx)(T,{to:`/logout`,onClick:()=>s(!1),tabIndex:o?void 0:-1,className:`mt-1 block rounded-xl border-t border-black/[0.06] px-3 pb-2.5 pt-3 text-[13.5px] font-medium text-text-secondary no-u
14nderline transition-colors hover:bg-white hover:text-text-primary`,children:`Log out`})]})]})}function iu(){let[e,t]=(0,z.useState)(!1),[n,r]=(0,z.useState)(!1),i=S({select:e=>e.location.pathname}).startsWith(`/forvets`);return(0,z.useEffect)(()=>{let e=()=>t(window.scrollY>24);return window.addEventListener(`scroll`,e,{passive:!0}),()=>window.removeEventListener(`scroll`,e)},[]),(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`nav`,{className:`fixed inset-x-0 top-0 z-50 h-[72px] px-3 sm:px-4`,children:(0,R.jsxs)(`div`,{className:`relative flex h-full items-center justify-center`,children:[(0,R.jsxs)(`div`,{className:P(ql(e),`flex items-center gap-1 py-1.5 pl-2.5 pr-1.5`),children:[(0,R.jsx)(Ql,{}),(0,R.jsx)(Zl,{active:i?`vets`:`owners`}),(0,R.jsx)(`div`,{className:`ml-1 hidden items-center gap-0.5 border-l border-black/[0.07] pl-1.5 lg:flex`,children:(0,R.jsx)(tu,{})})]}),(0,R.jsxs)(`div`,{className:P(ql(e),`absolute right-0 flex items-center p-1`),children:[(0,R.jsx)(ru,{variant:`bar`}),(0,R.jsx)(T,{to:`/ai-vet`,className:P(Yl,`hidden md:inline-flex`),children:`Check a symptom`}),(0,R.jsx)(`button`,{type:`button`,className:`rounded-full p-2 text-text-primary transition-colors hover:bg-black/[0.04] lg:hidden`,onClick:()=>r(!0),"aria-label":`Open menu`,children:(0,R.jsx)(gt,{className:`size-5`})})]})]})}),n&&(0,R.jsxs)(`div`,{className:`fixed inset-0 z-[100] lg:hidden`,children:[(0,R.jsx)(`button`,{type:`button`,className:`absolute inset-0 bg-black/30 backdrop-blur-sm`,onClick:()=>r(!1),"aria-label":`Close menu`}),(0,R.jsxs)(`div`,{className:`absolute right-0 top-0 bottom-0 flex w-72 flex-col bg-[#fbf7ef] p-6 shadow-xl`,children:[(0,R.jsx)(`div`,{className:`mb-8 flex justify-end`,children:(0,R.jsx)(`button`,{type:`button`,onClick:()=>r(!1),className:`rounded-full p-2 text-text-primary transition-colors hover:bg-white`,"aria-label":`Close menu`,children:(0,R.jsx)(vt,{className:`size-5`})})}),(0,R.jsx)(`div`,{className:`flex flex-col gap-1`,children:$l.map(e=>(0,R.jsx)(T,{to:e.to,onClick:()=>r(!1),className:`rounded-xl px-4 py-3 text-base font-semibold text-text-primary no-underline transition-colors hover:bg-white`,children:e.label},e.to))}),(0,R.jsxs)(`div`,{className:`mt-auto flex flex-col gap-2`,children:[(0,R.jsx)(T,{to:`/ai-vet`,onClick:()=>r(!1),className:`block rounded-full bg-cta-black px-5 py-3 text-center text-sm font-semibold text-white no-underline`,children:`Check a symptom`}),(0,R.jsx)(ru,{variant:`drawer`,onNavigate:()=>r(!1)})]})]})]})]})}var au=`Voyage Pricing — Free, One-Time Packs, Plans from ${Rt}/mo`,ou=`Start with a free AI pet health check, buy three health checks for ${It(Gt.packs.healthChecks)} or 30 Voyage discussions for ${It(Gt.packs.chatReplies)}, or choose a Solo or Family membership from ${It(Gt.monthly.onePet)}/mo.`,su=[{question:`Is there a free version of Voyage?`,answer:`Yes. Your first assessment costs nothing and needs no account at all. Creating a free account raises that to three assessments every 30 days and keeps your reports. Still no card.`},{question:`What are the one-time packs?`,answer:`Health Checks gives you three new assessments for ${It(Gt.packs.healthChecks)}, each with five follow-up replies tied to its report. Voyage Discussions gives you 30 discussions for ${It(Gt.packs.chatReplies)}. Both are single payments, do not auto-renew, and unused balances do not expire.`},{question:`How much does a membership cost?`,answer:`Solo is ${It(Gt.monthly.onePet)} per month and Family is ${It(Gt.monthly.unlimited)} per month. Annual billing is ${It(Gt.annual.onePet)} and ${It(Gt.annual.unlimited)} per year — ${Wt(`onePet`)}% and ${Wt(`unlimited`)}% less than paying monthly.`},{question:`What is the Lifetime option?`,answer:`Lifetime is a single payment instead of a subscription — ${It(Gt.lifetime.onePet)} for Solo or ${It(Gt.lifetime.unlimited)} for Family. There is no renewal, and nothing to cancel later.`},{question:`Where do I pay, and how do I cancel?`,answer:`You can pay by card on the web, or subscribe inside the app through the App Store or Google Play. Cancel wherever you bought it. Cancelling stops the renewal and keeps access until the paid period ends.`},{question:`Does paying for Voyage replace veterinary care?`,answer:`No. Voyage can help interpret information and decide what to do next, but it cannot examine your pet, perform tests, confirm a diagnosis, or prescribe. For anything serious, contact your vet or an emergency clinic.`}],cu=D(`/pricing`)({head:()=>{let e=`/pricing`,t=I+e,{meta:n,links:r}=L({title:au,description:ou,canonicalPath:e,ogImage:cn,ogType:`website`});return{meta:n,links:r,scripts:[{type:`application/ld+json`,children:JSON.stringify(pn({description:ou,url:t,offers:Bt}))},{type:`application/ld+json`,children:JSON.stringify(Jt(su))}
14,{type:`application/ld+json`,children:JSON.stringify(F([{name:`Home`,url:I},{name:`Pricing`,url:t}]))}]}},component:xu});function lu({children:e}){return(0,R.jsx)(`p`,{className:`text-[11px] font-semibold uppercase tracking-[0.19em] text-brand-coral-text`,children:e})}function uu(){let e=[[`01`,`Start free`,`Answer one question now`],[`02`,`Buy a pack`,`Come back when you need it`],[`03`,`Join Voyage`,`Keep the whole care story`]];return(0,R.jsxs)(`div`,{className:`relative mx-auto w-full max-w-[420px] overflow-hidden rounded-[30px] border border-white/70 bg-white/72 p-3 shadow-[0_30px_80px_-44px_rgba(44,35,28,0.45)] backdrop-blur-sm lg:mr-0`,children:[(0,R.jsx)(`div`,{className:`rounded-[22px] border border-[#e5ddd1] bg-[#fbf8f2] px-5 py-2`,children:e.map(([t,n,r],i)=>(0,R.jsxs)(`div`,{className:`grid grid-cols-[36px_1fr] gap-3 py-4 ${i<e.length-1?`border-b border-[#e8e0d5]`:``}`,children:[(0,R.jsx)(`span`,{className:`font-heading text-[18px] italic text-[#ad6d4a]`,children:t}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`p`,{className:`text-[14px] font-semibold text-text-primary`,children:n}),(0,R.jsx)(`p`,{className:`mt-0.5 text-[12px] text-text-secondary`,children:r})]})]},t))}),(0,R.jsx)(`div`,{"aria-hidden":`true`,className:`absolute -right-8 -top-8 size-28 rounded-full bg-[#e9b08f]/25 blur-2xl`})]})}function du(){return(0,R.jsxs)(`section`,{className:`relative overflow-hidden bg-[#f4eee4] pt-[72px]`,children:[(0,R.jsx)(`div`,{"aria-hidden":`true`,className:`pointer-events-none absolute -left-24 top-24 size-80 rounded-full border border-[#cfbca9]/40`}),(0,R.jsx)(`div`,{"aria-hidden":`true`,className:`pointer-events-none absolute -left-10 top-40 size-48 rounded-full border border-[#cfbca9]/30`}),(0,R.jsxs)(`div`,{className:`relative mx-auto grid max-w-[1180px] items-center gap-12 px-6 pb-20 pt-14 md:px-12 md:pb-24 md:pt-20 lg:grid-cols-[1.25fr_0.75fr]`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsx)(lu,{children:`Plans & pricing`}),(0,R.jsxs)(`h1`,{className:`mt-6 max-w-[760px] text-balance font-heading text-[46px] font-normal leading-[0.98] tracking-[-0.045em] text-text-primary sm:text-[64px] lg:text-[72px]`,children:[`Care for the question you have—`,(0,R.jsx)(`span`,{className:`italic text-[#9f5937]`,children:`and the ones that follow.`})]}),(0,R.jsx)(`p`,{className:`mt-7 max-w-[620px] text-pretty text-[17px] leading-[1.75] text-text-secondary sm:text-[18px]`,children:`Begin free. Pick up a one-time pack for an occasional worry, or choose a membership when you want Voyage beside you all year.`}),(0,R.jsx)(`div`,{className:`mt-8 flex flex-wrap gap-x-6 gap-y-3 text-[12px] font-medium text-text-secondary`,children:[`No card to start`,`Sources on clinical claims`,`No surprise renewals`].map(e=>(0,R.jsxs)(`span`,{className:`inline-flex items-center gap-2`,children:[(0,R.jsx)(`span`,{className:`size-1.5 rounded-full bg-brand-coral`}),e]},e))})]}),(0,R.jsx)(uu,{})]})]})}function fu({children:e,light:t=!1,signupNext:n=`/subscribe`,to:r}){return(0,R.jsxs)(T,{to:r,search:r===`/signup`?{next:n,reason:`subscribe`}:void 0,className:`inline-flex h-12 w-full items-center justify-between rounded-xl px-5 text-[14px] font-semibold no-underline transition-transform hover:-translate-y-0.5 ${t?`bg-[#fbf7f0] text-[#20251f]`:`bg-[#20231f] text-white`}`,children:[e,(0,R.jsx)(gi,{className:`size-4`,"aria-hidden":`true`})]})}function pu({children:e}){return(0,R.jsxs)(`li`,{className:`flex items-start gap-2.5 text-[13px] leading-relaxed`,children:[(0,R.jsx)(ft,{className:`mt-0.5 size-4 shrink-0 opacity-70`,"aria-hidden":`true`}),(0,R.jsx)(`span`,{children:e})]})}function mu(){return(0,R.jsx)(`section`,{id:`one-time`,className:`bg-[#fbf9f5] py-20 md:py-28`,children:(0,R.jsxs)(`div`,{className:`mx-auto max-w-[1180px] px-6 md:px-12`,children:[(0,R.jsxs)(`div`,{className:`grid gap-6 md:grid-cols-[0.85fr_1.15fr] md:items-end`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsx)(lu,{children:`Start small`}),(0,R.jsx)(`h2`,{className:`mt-4 max-w-[560px] text-balance font-heading text-[36px] font-normal leading-[1.05] tracking-[-0.035em] text-text-primary sm:text-[50px]`,children:`Pay only when you need more.`})]}),(0,R.jsx)(`p`,{className:`max-w-[520px] text-[16px] leading-[1.7] text-text-secondary md:justify-self-end`,children:`A pack is not a subscription in disguise. Pay once, use it at your pace, and keep every unused check or reply until you need it.`})]}),(0,R.jsxs)(`div`,{className:`mt-12 grid gap-5 lg:grid-cols-3`,children:[(0,R.jsxs)(`article`,{className:`relative flex min-h-[440px] flex-col overflow-hidden rounded-[28px] bg-[#1f2924] p-7 text-[#fbf8f2] sm:p-8`,children:[(0,R.jsx)(`div`,{"aria-hidden":`true`,className:`absolute -right-12 -top-12 size-48 rounded-full border border-white/10`}),(0,R.jsxs)(`div`,{className:`relative`,children:[(0,R.jsx)(`span`,{className:`inline-flex size-11 items-center justify-center rounded-full bg-white/10`,children:(0,R.jsx)(wi,{className:`size-5`,"aria-hidden":`true`})}),(0,R.jsx)(`p`,{className:`mt-7 text-[10px] font-semibold uppercase tracking-[0.17em] text-[#d7b29f]`,children:`No account needed`}),(0,R.jsx)(`h3`,{className:`mt-3 font-heading text-[31px] font-normal leading-tight`,children:`Start free`}),(0,R.jsxs)(`div`,{className:`mt-5 flex items-end gap-2`,children:[(0,R.jsx)(`strong`,{className:`font-heading text-[52px] font-normal leading-none tracking-[-0.04em]`,children:`$0`}),(0,R.jsx)(`span`,{className:`pb-1.5 text-[12px] text-white/60`,children:`today`})]}),(0,R.jsxs)(`ul`,{className:`mt-7 space-y-3 text-white/85`,children:[(0,R.jsx)(pu,{children:`One complete AI health asse
14ssment`}),(0,R.jsx)(pu,{children:`Urgency, home care, and next steps`}),(0,R.jsx)(pu,{children:`Clinical sources you can open`})]})]}),(0,R.jsx)(`div`,{className:`relative mt-auto pt-8`,children:(0,R.jsx)(fu,{to:`/ai-vet`,light:!0,children:`Check a symptom`})})]}),(0,R.jsxs)(`article`,{className:`flex min-h-[440px] flex-col rounded-[28px] border border-[#d8dfcf] bg-[#edf1e7] p-7 text-[#2a382e] sm:p-8`,children:[(0,R.jsxs)(`div`,{className:`flex items-start justify-between gap-4`,children:[(0,R.jsx)(`span`,{className:`inline-flex size-11 items-center justify-center rounded-full bg-[#dce6d6]`,children:(0,R.jsx)(yi,{className:`size-5`,"aria-hidden":`true`})}),(0,R.jsx)(`span`,{className:`rounded-full border border-[#c9d5c3] bg-white/45 px-3 py-1 text-[10px] font-semibold uppercase tracking-[0.12em]`,children:`One-time pack`})]}),(0,R.jsx)(`p`,{className:`mt-7 text-[10px] font-semibold uppercase tracking-[0.17em] text-[#61745f]`,children:`When something feels off`}),(0,R.jsx)(`h3`,{className:`mt-3 font-heading text-[31px] font-normal leading-tight text-text-primary`,children:`3 Health Checks`}),(0,R.jsxs)(`div`,{className:`mt-5 flex items-end gap-2`,children:[(0,R.jsx)(`strong`,{className:`font-heading text-[52px] font-normal leading-none tracking-[-0.04em] text-text-primary`,children:It(Gt.packs.healthChecks)}),(0,R.jsx)(`span`,{className:`pb-1.5 text-[12px] text-text-secondary`,children:`one payment`})]}),(0,R.jsxs)(`ul`,{className:`mt-7 space-y-3 text-text-primary`,children:[(0,R.jsx)(pu,{children:`Three detailed personal reports`}),(0,R.jsx)(pu,{children:`Five follow-up replies with each report`}),(0,R.jsx)(pu,{children:`Unused checks never expire`})]}),(0,R.jsx)(`div`,{className:`mt-auto pt-8`,children:(0,R.jsx)(fu,{to:`/signup`,signupNext:`/subscribe?pack=assessment_3#usage-packs`,children:`Get 3 health checks`})})]}),(0,R.jsxs)(`article`,{className:`flex min-h-[440px] flex-col rounded-[28px] border border-[#ead6c8] bg-[#fbebe1] p-7 text-[#513a2d] sm:p-8`,children:[(0,R.jsxs)(`div`,{className:`flex items-start justify-between gap-4`,children:[(0,R.jsx)(`span`,{className:`inline-flex size-11 items-center justify-center rounded-full bg-[#f3d8c7]`,children:(0,R.jsx)(_t,{className:`size-5`,"aria-hidden":`true`})}),(0,R.jsx)(`span`,{className:`rounded-full border border-[#e3c8b7] bg-white/45 px-3 py-1 text-[10px] font-semibold uppercase tracking-[0.12em]`,children:`One-time pack`})]}),(0,R.jsx)(`p`,{className:`mt-7 text-[10px] font-semibold uppercase tracking-[0.17em] text-[#8b6049]`,children:`When you want to talk it through`}),(0,R.jsx)(`h3`,{className:`mt-3 font-heading text-[31px] font-normal leading-tight text-text-primary`,children:`30 Voyage Discussions`}),(0,R.jsxs)(`div`,{className:`mt-5 flex items-end gap-2`,children:[(0,R.jsx)(`strong`,{className:`font-heading text-[52px] font-normal leading-none tracking-[-0.04em] text-text-primary`,children:It(Gt.packs.chatReplies)}),(0,R.jsx)(`span`,{className:`pb-1.5 text-[12px] text-text-secondary`,children:`one payment`})]}),(0,R.jsxs)(`ul`,{className:`mt-7 space-y-3 text-text-primary`,children:[(0,R.jsx)(pu,{children:`Questions, photos, and report follow-ups`}),(0,R.jsx)(pu,{children:`One completed answer uses one reply`}),(0,R.jsx)(pu,{children:`Unused replies never expire`})]}),(0,R.jsx)(`div`,{className:`mt-auto pt-8`,children:(0,R.jsx)(fu,{to:`/signup`,signupNext:`/subscribe?pack=text_reply_30#usage-packs`,children:`Get 30 discussions`})})]})]}),(0,R.jsx)(`p`,{className:`mt-6 text-center text-[12px] leading-relaxed text-text-tertiary`,children:`One-time packs work on the Voyage website on phone or computer. Account required to purchase so your balance stays with you.`})]})})}var hu=[{name:`Solo`,petLimit:`One pet`,blurb:`A continuous care record for the animal who is family.`,planKey:`onePet`,features:[`Health checks and conversations without the free limit`,`Live camera checks and 360° wellness`,`Medical records and nutrition in one history`,`Medication, booster, and check-up reminders`]},{name:`Family`,petLimit:`Unlimited pets`,blurb:`One calm place for every tail, whisker, wing, and scale.`,planKey:`unlimited`,features:[`Everything in Solo`,`A separate profile and history for every pet`,`Dogs, cats, birds, reptiles, and exotics`,`No pet limit as the household grows`]}];function gu(e,t){let n=e.planKey;return t===`monthly`?{price:It(Gt.monthly[n]),cadence:`/ month`,note:`Billed monthly. Cancel any time.`,badge:null}
14:t===`annual`?{price:It(Gt.annual[n]),cadence:`/ year`,note:`${Pt(n)} per month, billed yearly`,badge:`Save ${Wt(n)}%`}:{price:It(Gt.lifetime[n]),cadence:` once`,note:`One payment, no renewal`,badge:`About ${Ft(n)} months of Monthly`}}function _u({value:e,onChange:t}){return(0,R.jsxs)(`fieldset`,{children:[(0,R.jsx)(`legend`,{className:`sr-only`,children:`Membership billing period`}),(0,R.jsx)(`div`,{className:`inline-flex rounded-full border border-[#d8d0c4] bg-white/65 p-1.5 shadow-[0_12px_30px_-24px_rgba(35,29,25,0.5)]`,children:[{value:`monthly`,label:`Monthly`},{value:`annual`,label:`Yearly`,extra:`Save 40–50%`},{value:`lifetime`,label:`Lifetime`}].map(n=>(0,R.jsxs)(`label`,{className:`cursor-pointer rounded-full px-4 py-2.5 text-[12px] font-semibold transition-colors focus-within:ring-2 focus-within:ring-[#9f5937] focus-within:ring-offset-2 sm:px-5 ${e===n.value?`bg-[#242824] text-white`:`text-text-secondary hover:text-text-primary`}`,children:[(0,R.jsx)(`input`,{type:`radio`,name:`membership-billing-period`,value:n.value,checked:e===n.value,onChange:()=>t(n.value),className:`sr-only`}),n.label,n.extra&&(0,R.jsx)(`span`,{className:`ml-2 hidden text-[#efad83] sm:inline`,children:n.extra})]},n.value))})]})}function vu({membership:e,period:t}){let n=gu(e,t),r=e.name===`Family`;return(0,R.jsxs)(`article`,{className:`relative flex min-h-[520px] flex-col overflow-hidden rounded-[30px] p-7 sm:p-9 ${r?`bg-[#272521] text-[#fbf7ef]`:`border border-[#ded6ca] bg-[#fffdf9] text-text-primary shadow-[0_32px_70px_-52px_rgba(38,31,26,0.55)]`}`,children:[r&&(0,R.jsx)(`div`,{"aria-hidden":`true`,className:`absolute -right-20 -top-20 size-72 rounded-full border border-white/10`}),(0,R.jsxs)(`div`,{className:`relative flex items-start justify-between gap-4`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`p`,{className:`text-[10px] font-semibold uppercase tracking-[0.17em] ${r?`text-[#e8aa82]`:`text-brand-coral-text`}`,children:e.petLimit}),(0,R.jsx)(`h3`,{className:`mt-3 font-heading text-[38px] font-normal leading-none`,children:e.name})]}),(0,R.jsx)(`span`,{className:`inline-flex size-11 items-center justify-center rounded-full ${r?`bg-white/10`:`bg-[#f4e5dc] text-[#9c5f40]`}`,children:(0,R.jsx)(Si,{className:`size-5`,"aria-hidden":`true`})})]}),(0,R.jsx)(`p`,{className:`relative mt-5 max-w-[390px] text-[15px] leading-[1.65] ${r?`text-white/65`:`text-text-secondary`}`,children:e.blurb}),(0,R.jsxs)(`div`,{className:`relative mt-8 flex flex-wrap items-end gap-x-3 gap-y-2`,children:[(0,R.jsx)(`strong`,{className:`font-heading text-[58px] font-normal leading-none tracking-[-0.05em]`,children:n.price}),(0,R.jsx)(`span`,{className:`pb-1.5 text-[13px] ${r?`text-white/60`:`text-text-secondary`}`,children:n.cadence}),n.badge&&(0,R.jsx)(`span`,{className:`mb-1.5 rounded-full px-2.5 py-1 text-[10px] font-semibold uppercase tracking-[0.08em] ${r?`bg-[#e8aa82]/15 text-[#efb18a]`:`bg-[#f8e7dc] text-[#955335]`}`,children:n.badge})]}),(0,R.jsx)(`p`,{className:`relative mt-3 text-[12px] ${r?`text-white/55`:`text-text-tertiary`}`,children:n.note}),(0,R.jsx)(`ul`,{className:`relative mt-8 space-y-3 border-t pt-6 ${r?`border-white/10 text-white/82`:`border-surface-border`}`,children:e.features.map(e=>(0,R.jsx)(pu,{children:e},e))}),(0,R.jsx)(`div`,{className:`relative mt-auto pt-9`,children:(0,R.jsxs)(T,{to:`/subscribe`,search:{period:t,plan:e.planKey===`onePet`?`solo`:`family`},className:`inline-flex h-12 w-full items-center justify-between rounded-xl px-5 text-[14px] font-semibold no-underline transition-transform hover:-translate-y-0.5 ${r?`bg-[#fbf7f0] text-[#20251f]`:`bg-[#20231f] text-white`}`,children:[`Choose `,e.name,(0,R.jsx)(gi,{className:`size-4`,"aria-hidden":`true`})]})})]})}function yu(){let[e,t]=(0,z.useState)(`annual`);return(0,R.jsxs)(`section`,{"aria-label":`Membership plans`,className:`relative overflow-hidden bg-[#eee7dc] py-20 md:py-28`,children:[(0,R.jsx)(`div`,{"aria-hidden":`true`,className:`absolute -right-32 top-24 size-[420px] rounded-full border border-[#d6c9ba]/55`}),(0,R.jsxs)(`div`,{className:`relative mx-auto max-w-[1040px] px-6 md:px-12`,children:[(0,R.jsxs)(`header`,{className:`text-center`,children:[(0,R.jsx)(lu,{children:`Membership`}),(0,R.jsx)(`h2`,{className:`mx-auto mt-4 max-w-[700px] text-balance font-heading text-[36px] font-normal leading-[1.05] tracking-[-0.035em] text-text-primary sm:text-[50px]`,children:`Choose ongoing care, not another app to manage.`}),(0,R.jsx)(`p`,{className:`mx-auto mt-5 max-w-[570px] text-[16px] leading-[1.7] text-text-secondary`,children:`One health history that grows with your pet, with the tools to notice changes between vet visits.`}),(0,R.jsx)(`div`,{className:`mt-8`,children:(0,R.jsx)(_u,{value:e,onCh
14ange:t})})]}),(0,R.jsx)(`div`,{className:`mt-12 grid gap-5 md:grid-cols-2`,children:hu.map(t=>(0,R.jsx)(vu,{membership:t,period:e},t.name))}),(0,R.jsxs)(`div`,{className:`mt-10 flex flex-col items-center gap-3 border-t border-[#d6cec2] pt-8`,children:[(0,R.jsx)(`p`,{className:`text-[12px] text-text-tertiary`,children:`Prefer to subscribe through your phone?`}),(0,R.jsx)(ct,{variant:`black`,className:`justify-center`,entrySurface:`web_pricing`,placement:`pricing_memberships`})]})]})]})}function bu(){return(0,R.jsx)(`section`,{className:`bg-[#fbf9f5] py-20 md:py-28`,children:(0,R.jsxs)(`div`,{className:`mx-auto max-w-[960px] px-6 md:px-12`,children:[(0,R.jsxs)(`div`,{className:`grid gap-10 md:grid-cols-[0.7fr_1.3fr]`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsx)(lu,{children:`The fine print`}),(0,R.jsxs)(`h2`,{className:`mt-4 font-heading text-[34px] font-normal leading-tight text-text-primary sm:text-[42px]`,children:[`Clear answers,`,(0,R.jsx)(`br`,{}),` before you pay.`]})]}),(0,R.jsx)(`dl`,{className:`divide-y divide-[#ded7cc] border-y border-[#ded7cc]`,children:su.map(e=>(0,R.jsxs)(`div`,{className:`grid gap-2 py-6 sm:grid-cols-[0.8fr_1.2fr] sm:gap-8`,children:[(0,R.jsx)(`dt`,{className:`text-[14px] font-semibold leading-relaxed text-text-primary`,children:e.question}),(0,R.jsx)(`dd`,{className:`text-[14px] leading-[1.7] text-text-secondary`,children:e.answer})]},e.question))})]}),(0,R.jsxs)(`div`,{className:`mx-auto mt-12 max-w-[700px] rounded-[24px] border border-[#e1d8cc] bg-white px-6 py-5 text-center text-[12px] leading-relaxed text-text-tertiary`,children:[`Prices are in US dollars and shown before tax. Voyage offers guidance between vet visits; it cannot examine your pet, run tests, or prescribe.`,` `,(0,R.jsx)(T,{to:`/ai-vet-accuracy`,className:`font-medium text-text-secondary underline decoration-[#cfc5b8] underline-offset-3`,children:`See what it can and can't do`}),`.`]})]})})}function xu(){return(0,R.jsxs)(`div`,{className:`min-h-svh overflow-x-hidden bg-[#fbf9f5]`,children:[(0,R.jsx)(iu,{}),(0,R.jsxs)(`main`,{children:[(0,R.jsx)(du,{}),(0,R.jsx)(mu,{}),(0,R.jsx)(yu,{}),(0,R.jsx)(bu,{})]}),(0,R.jsx)(Kl,{})]})}var Su=()=>N(()=>import(`./pet-symptom-checker-CyzmnSys.js`),__vite__mapDeps([74,24,2,25,4,26,9,1,3,34,35,36,19,5,6,7,57,58,8,75,47,14,15,76,63,42,45,77,54,12,13,29,16,17,18,11,78,79,80,81,82,83,69,84,85,52,44,86,87,88,89,38,39,71,90,10,20])),Cu=`Free Pet Symptom Checker — Know When to See a Vet`,wu=`Check your pet's symptoms online for free. Describe what changed or upload a photo, then get source-cited guidance on whether to monitor, call your vet, or go now.`,Tu=D(`/pet-symptom-checker`)({head:()=>zn({title:Cu,description:wu,canonicalPath:`/pet-symptom-checker`,breadcrumbLeaf:`Pet Symptom Checker`,faqs:Nn,howToName:`How to check your pet's symptoms with Voyage`}),component:O(Su,`component`)}),Eu=D(`/pacc`)({component:O(()=>N(()=>import(`./pacc-34PHsa55.js`),__vite__mapDeps([91,24,2,25,4,26,9,92,29,3,8,19,18,35,36,93,94])),`component`),head:()=>({meta:[{title:`PACC Foster Support — Voyage`},{name:`robots`,content:`noindex, nofollow`}]})}),Du=D(`/logout`)({preload:!1,loader:async()=>{throw await k(),cl(pl),E({to:`/`})},component:O(()=>N(()=>import(`./logout-C7SXtBO_.js`),__vite__mapDeps([95,9,2])),`component`)}),Ou=D(`/login`)({validateSearch:e=>({next:typeof e.next==`string`?e.next:void 0}),beforeLoad:({context:e,search:t})=>{if(e.user&&!e.user.isAnonymous)throw E({to:ku(t.next??`/care`)})},head:()=>({meta:[{title:`Log In — ${dn}`},{name:`description`,content:`Sign in to Voyage with Google, Apple, or Magic Link. Access AI-powered veterinary triage for your pet.`},{property:`og:title`,content:`Log In — ${dn}`},{property:`og:description`,content:`Sign in to access AI veterinary triage.`},{property:`og:url`,content:en(`/login`)},{name:`robots`,content:`noindex, follow`}],links:[{rel:`canonical`,href:en(`/login`)}]}),component:Au});function ku(e){return!e.startsWith(`/`)||e.startsWith(`//`)||e.startsWith(`/\\`)?`/care`:e}function Au(){let{next:e}=Ou.useSearch(),t=ku(e??`/care`),[n,r]=(0,z.useState)(``),[i,a]=(0,z.useState)(`email`),[o,s]=(0,z.useState)(``),[c,l]=(0,z.useState)(null),[u,d]=(0,z.useState)(!1),[f,p]=(0,z.useState)(null),m=async()=>{let e=_n(t);if(!e)return null;let n=await Tn(e);return l(n.token),{cardId:e,token:n.token}},h=async e=>{d(!0),p(null);try{let n=await m(),r=await e({data:{next:n?`/auth/triage-claim?token=${encodeURIComponent(n.token)}&cardId=${encodeURIComponent(n.cardId)}&report=0&next=${encodeURIComponent(t)}`:t}});r.url&&(window.location.href=r.url)}catch(e){p(e instanceof Error?e.message:`Sign in failed`),d(!1)}};return(0,R.jsxs)(`div`,{className:`relative flex min-h-svh items-center justify-center overflow-hidden bg-background px-6`,children:[(0,R.jsx)(T,{to:`/`,className:`absolute top-6 left-6 text-sm text-muted-foreground hover:text-brown-primary transition-colors`,children:`← Back to home`}),(0,R.jsxs)(`div`,{className:`pointer-events-none absolute inset-0`,children:[(0,R.jsx)(`div`,{className:`absolute -top-24 -right-24 h-48 w-48 sm:h-80 sm:w-80 rounded-full bg-accent-peach/60 blur-3xl`}),(0,R.jsx)(`div`,{className:`absolute -bottom-16 -left-16 h-44 w-44 sm:h-72 sm:w-72 rounded-full bg-cta-primary/50 blur-3xl`})]}),(0,R.jsxs)(`div`,{className:`glass-card relative w-full max-w-md p-5 sm:p-8`,children:[(0,R.jsxs)(`div`,{className:`mb-6 space-y-1 text-center`,children:[(0,R.jsx)(`h1`,{className:`text-2xl sm:text-3xl font-bold tracking-tight text-brown-primary`,children:`Welcome Back`}),(0,R.jsx)(`p`,{className:`text-muted-foreground`,children:`Your pet health companion`})]}),f&&(0,R.jsx)(`p`,{className:`mb-4 text-center text-sm text-destructive`,children:f}),(0,R.jsx)(`div`,{className:`flex flex-col gap-3`,children:(0,R.jsx)(K,{onClick:()=>h(j),disabled:u})}),(0,R.jsxs)(`div`,{className:`my-6 flex items-center gap-4`,children:[(0,R.jsx)(`hr`,{className:`flex-1 border-surface-border`}),(0,R.jsx)(`span`,{className:`text-sm text-muted-foreground`,children:`or`}),(0,R.jsx)(`hr`,{className:`flex-1 border-surface-border`})]}),i===`otp`?(0,R.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,R.jsxs)(`div`,{className:`space-y-1 text-center`,children:[(0,R.jsx)(`p`,{className:`font-medium text-brown-primary`,children:`Enter your sign-in code`}),(0,R.jsxs)(`p`,{className:`text-sm text-muted-foreground`,children:[`We sent a 6-digit code to `,(0,R.jsx)(`strong`,{children:n})]})]}),(0,R.jsxs)(`div`,{className:`space-y-1`,children:[(0,R.jsx)(J,{htmlFor:`otp`,children:`Verification code`}),(0,R.jsx)(q,{id:`otp`,type:`text`,inputMode:`numeric`,pattern:`\\d{6}`,maxLength:6,autoComplete:`one-time-code`,placeholder:`030086`,value:o,onChange:e=>s(e.target.value.replace(/\D/g,``).slice(0,6)),className:`rounded-full h-12 border-surface-border tracking-[0.5em] text-center font-mono`,required:!0,autoFocus:!0})]}),(0,R.jsx)(dt,{onClick:async()=>{let e=o.replace(/\D/g,``);if(e.length!==6){p(`Enter the 6-digit code from your email`);return}d(!0),p(null);try{await me({data:{email:n,token:e}}),c&&await En(c),window.location.href=t}catch(e){p(e instanceof Error?e.message:`Invalid code`),s(``),d(!1)}},disabled:u||o.length!==6,className:`w-full rounded-full bg-cta-black text-white hover:bg-cta-black/85 h-12`,children:u?`Verifying...`:`Verify code`}),(0,R.jsx)(`button`,{type:`button`,onClick:()=>{a(`email`),s(``),p(null)},disabled:u,className:`text-center text-sm text-muted-foreground hover:text-brown-secondary transition-colors`,children:`Use a different email`})]}):(0,R.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,R.jsxs)(`div`,{className:`space-y-1`,children:[(0,R.jsx)(J,{htmlFor:`email`,children:`Email address`}),(0,R.jsx)(q,{id:`email`,type:`email`,placeholder:`[email protected]`,value:n,onChange:e=>r(e.target.value),className:`rounded-full h-12 border-surface-border`,required:!0})]}),(0,R.jsx)(dt,{onClick:async()=>
14{if(n){d(!0),p(null);try{await m(),await se({data:{email:n}}),a(`otp`)}catch(e){p(e instanceof Error?e.message:`Failed to send code`)}finally{d(!1)}}},disabled:u||!n,className:`w-full rounded-full bg-cta-black text-white hover:bg-cta-black/85 h-12`,children:u?`Sending...`:`Send code`})]}),(0,R.jsxs)(`p`,{className:`mt-6 text-center text-sm text-muted-foreground`,children:[`Don't have an account?`,` `,(0,R.jsx)(T,{to:`/signup`,search:{next:ku(e??`/`),reason:`general`},className:`font-medium text-brown-primary hover:underline`,children:`Sign up`})]})]})]})}var ju=D(`/forvets`)({component:O(()=>N(()=>import(`./forvets-DiAZswGA.js`),__vite__mapDeps([96,2,23,24,25,4,26,9,27,8,1,97,28,29,3,19,30,31,32,33,92,18,35,36,93,34,5,6,7,57,98,47,14,15,12,13,85,99,17,100,66,101,41,42,43,44,45,37,10,38,39,40,94,102,103,68,104,105,106,107,108,109,79])),`component`)}),Mu=D(`/data-deletion`)({head:()=>({meta:[{title:`Data Deletion | Voyage`},{name:`description`,content:`How to delete your Voyage account or specific data, what gets removed, what we keep, and how long it takes.`}],links:[{rel:`canonical`,href:en(`/data-deletion`)}]}),component:O(()=>N(()=>import(`./data-deletion-1SVluZUk.js`),__vite__mapDeps([110,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21])),`component`)}),Nu=[`better`,`same`,`worse`];function Pu(e){return Nu.includes(e)?e:null}var Fu=D(`/check-in`)({validateSearch:e=>({t:typeof e.t==`string`&&e.t?e.t:null,o:Pu(e.o)}),head:()=>({meta:[{title:`Care check-in — ${dn}`},{name:`robots`,content:`noindex, nofollow`}],links:[{rel:`canonical`,href:en(`/check-in`)}]}),component:Iu});function Iu(){let{t:e,o:t}=Fu.useSearch(),n=(0,z.useRef)(!1),r=Re({mutationFn:async t=>{let{data:n}=await it.post(`/email/checkin-outcome`,{token:e,outcome:t});return n}});(0,z.useEffect)(()=>{n.current||!e||!t||(n.current=!0,r.mutate(t))},[t,r.mutate,e]);let i=r.data?.petName??`your pet`,a=r.data?.outcome===`worse`,o=hn(r.data?.reportPath);return(0,R.jsxs)(`main`,{className:`relative flex min-h-svh items-center justify-center overflow-hidden bg-background px-5 py-12`,children:[(0,R.jsx)(`div`,{className:`pointer-events-none absolute -right-24 -top-24 size-72 rounded-full bg-accent-peach/50 blur-3xl`}),(0,R.jsxs)(`section`,{className:`glass-card relative w-full max-w-md p-6 text-center sm:p-8`,children:[(0,R.jsx)(`img`,{src:`/voyage-mark-coral.svg`,alt:``,className:`mx-auto 
14size-12`}),!e||!t?(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`h1`,{className:`mt-4 font-heading text-3xl text-text-primary`,children:`This link has expired`}),(0,R.jsx)(`p`,{className:`mt-2 text-sm leading-relaxed text-text-secondary`,children:`Start a new assessment if you still need help with your pet.`})]}):r.isPending?(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`h1`,{className:`mt-4 font-heading text-3xl text-text-primary`,children:`Saving your update…`}),(0,R.jsx)(ht,{className:`mx-auto mt-4 size-5 animate-spin`,"aria-hidden":!0})]}):r.isError?(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`h1`,{className:`mt-4 font-heading text-3xl text-text-primary`,children:`We couldn't save that`}),(0,R.jsx)(`p`,{className:`mt-2 text-sm text-text-secondary`,children:`The link may have expired.`})]}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`h1`,{className:`mt-4 font-heading text-3xl text-text-primary`,children:a?`Sorry to hear ${i} is worse`:r.data?.outcome===`better`?`Glad ${i} is doing better`:`Thanks — we've noted the update`}),(0,R.jsx)(`p`,{className:`mt-3 text-[15px] leading-relaxed text-text-secondary`,children:a?`Please contact your veterinarian or an emergency clinic about ${i} today.`:`Your answer is saved with this care check-in.`}),a&&(0,R.jsxs)(`div`,{className:`mt-4 flex gap-2 rounded-xl border border-status-bad/30 bg-status-bad/10 p-3 text-left text-sm text-text-primary`,children:[(0,R.jsx)(Ti,{className:`mt-0.5 size-4 shrink-0 text-status-bad`,"aria-hidden":!0}),(0,R.jsxs)(`p`,{children:[`If `,i,` is struggling to breathe, collapsed, bleeding, or in obvious pain, go now.`]})]})]}),(0,R.jsx)(T,{to:o,className:`mt-6 inline-flex h-12 w-full items-center justify-center rounded-full bg-cta-black px-6 text-sm font-semibold text-text-inverse no-underline`,children:a?`Describe what changed`:`Continue with Voyage`})]})]})}var Lu=()=>N(()=>import(`./ai-vet-for-dogs-90B6Rjg1.js`),__vite__mapDeps([111,24,2,25,4,26,9,1,3,34,35,36,19,5,6,7,57,58,8,75,47,14,15,76,63,42,45,77,54,12,13,29,16,17,18,11,78,79,80,81,82,83,69,84,85,52,44,86,87,88,89,38,39,71,90,10,20])),Ru=`Dog Symptom Checker — Free, 24/7 | Voyage`,zu=`Check your dog's symptoms free. Describe what changed or upload a photo, then get cited guidance on urgency, safe next steps, and when to see a vet.`,Bu=D(`/ai-vet-for-dogs`)({head:()=>zn({title:Ru,description:zu,canonicalPath:`/ai-vet-for-dogs`,breadcrumbLeaf:`Dog Symptom Checker`,faqs:Ln,howToName:`How to use the Voyage AI vet for dogs`}),component:O(Lu,`component`)}),Vu=()=>N(()=>import(`./ai-vet-for-cats-C6Y7mIQa.js`),__vite__mapDeps([112,24,2,25,4,26,9,1,3,34,35,36,19,5,6,7,57,58,8,75,47,14,15,76,63,42,45,77,54,12,13,29,16,17,18,11,78,79,80,81,82,83,69,84,85,52,44,86,87,88,89,38,39,71,90,10,20])),Hu=`Cat Symptom Checker — Free, 24/7 | Voyage`,Uu=`Check your cat's symptoms free. Describe what changed or upload a photo, then get cited guidance on urgency, safe next steps, and when to see a vet.`,Wu=D(`/ai-vet-for-cats`)({head:()=>zn({title:Hu,description:Uu,canonicalPath:`/ai-vet-for-cats`,breadcrumbLeaf:`Cat Symptom Checker`,faqs:In,howToName:`How to use the Voyage AI vet for cats`}),component:O(Vu,`component`)}),Z=()=>N(()=>import(`./ai-vet-accuracy-BVT430Df.js`),__vite__mapDeps([113,1,2,29,3,4,8,9,19,5,6,7,57,58,50,10,11,12,13,14,15,16,17,18,89,38,39,20,71])),Gu=`Is an AI Vet Accurate? An Honest, Cited Answer`,Ku=`How accurate is an AI vet, really? A straight answer: what AI triage does well, where it fails, and exactly when to see your veterinarian instead.`,qu=D(`/ai-vet-accuracy`)({head:()=>Fn({title:Gu,description:Ku,canonicalPath:`/ai-vet-accuracy`,breadcrumbLeaf:`Is an AI Vet Accurate?`,about:`Accuracy and safe use of AI veterinary triage for pet owners`,faqs:Rn,publishedAt:`2026-07-13`}),component:O(Z,`component`)}),Ju=()=>N(()=>import(`./ai-vet-BZ0pBTIC.js`),__vite__mapDeps([114,24,2,25,4,26,9,1,3,34,35,36,19,5,6,7,57,58,8,75,47,14,15,76,63,42,45,77,54,12,13,29,16,17,18,11,78,79,80,81,82,83,69,84,85,52,44,86,87,88,89,38,39,71,90,10,20])),Yu=`Free AI Vet Online — 24/7, Cited, Remembers Your Pet`,Xu=`Ask an AI vet free, 24/7. Describe symptoms or upload a photo and get instant, source-cited guidance that remembers your pet — and tells you honestly when to see a vet.`,Zu=D(`/ai-vet`)({head:()=>zn({title:Yu,description:Xu,canonicalPath:`/ai-vet`,breadcrumbLeaf:`AI Vet`,faqs:Pn,howToName:`How to use the Voyage AI vet`}),component:O(Ju,`component`)}),Qu=D(`/ai-disclaimer`)({head:()=>({meta:[{title:`AI Disclaimer | Voyage`},{name:`description`,content:`Voyage AI Disclaimer — how AI is used, data processing, limitations, and how the AI-generated guides in our pet health library are sourced.`}],links:[{rel:`canonical`,href:en(`/ai-disclaimer`)}]}),component:O(()=>N(()=>import(`./ai-disclaimer-DlUE8R7N.js`),__vite__mapDeps([115,1,2,29,3,4,8,9,19,5,6,7,10,11,12,13,14,15,16,17,18,20,21])),`component`)}),$u=D(`/admin`)({beforeLoad:({context:e})=>
14{if(!e.user||e.user.isAnonymous)throw E({to:`/login`});if(!Bn(e.user.email))throw E({to:`/`})},head:()=>({meta:[{title:`Admin — Voyage`},{name:`robots`,content:`noindex, nofollow`}]}),component:O(()=>N(()=>import(`./admin-MYTWAtj3.js`),__vite__mapDeps([116,2,23,24,25,4,26,9,27,8,1,97,92,29,3,19,18,35,36,93,117,5,6,7,118,119,120,121])),`component`)}),ed=D(`/_authed`)({component:O(()=>N(()=>import(`./_authed-5k5lFflB.js`),__vite__mapDeps([122,23,2,24,25,4,26,9,27,8,1,28,29,3,19,30,31,32,33,92,18,35,36,93,34,5,6,7,101,41,42,43,44,45,37,10,38,39,40,121])),`component`)}),td={countries:72,usersWithTimezone:1547,distinctTimezones:106,capturedAt:`2026-09-12`},nd=[{question:`How does Voyage help me decide whether to see a vet?`,audience:`owners`,answer:`Describe what has changed and add a photo if it helps. Voyage organizes the assessment around urgency, possible causes, what to do now, what to watch for, and when to contact a vet. It helps you make a clearer next-step decision; it does not confirm a diagnosis.`},{question:`Can I use Voyage when nothing seems wrong?`,audience:`owners`,answer:`Yes. Preventive Care in the Voyage app gives your pet a dedicated checklist for routine care such as vaccines, parasite protection, dental care, weight, and monthly checks. Confirm a date or upload a record to start tracking an item. It supports everyday care; it does not replace routine examinations with your veterinarian.`},{question:`Can Voyage understand photos, videos, or test results?`,audience:`owners`,answer:`Yes. Voyage can help interpret photos, bloodwork, x-rays and ultrasound images in the context of your question and pet history. The web symptom checker accepts photos, including images of reports; supported file formats vary between the web and app, so use the attachment options shown in your current interface. Video features are available in the app, not the web symptom checker. Image quality and missing context affect interpretation, which is not the same as performing a test or confirming a diagnosis.`},{question:`Does Voyage replace my vet?`,audience:`owners`,answer:`No. Voyage can read the material you provide and help you prepare for a visit, but it cannot physically examine your pet, collect a sample, perform a scan, confirm a diagnosis or prescribe. Your veterinarian handles diagnosis and treatment. See the full explanation at thevoyage.ai/ai-vet-accuracy.`},{question:`What if it's an emergency?`,audience:`owners`,answer:`Don't type — go. Trouble breathing, collapse, a hard bloated belly, suspected poisoning, repeated seizures, or straining but unable to urinate all mean an emergency vet, right now. Voyage will tell you the same thing, but the drive matters more than the answer.`},{question:`Which pets does it work for?`,audience:`owners`,answer:`Dogs and cats, plus the exotics most pet apps quietly ignore — rabbits, guinea pigs, hamsters, rats, ferrets, birds, reptiles, chinchillas, and hedgehogs. Exotic coverage is deliberate rather than dog advice reshaped to fit another species, and each pet gets a profile tailored to their species, age, and history.`},{question:`Do I need an account to try it?`,audience:`owners`,answer:`No. You can describe a symptom and read the assessment without signing up. An account is what lets Voyage remember the episode — so the next time something looks off, it already knows what happened last time.`},{question:`Can I share a Voyage assessment with my vet?`,audience:`owners`,answer:`Yes. You can email the assessment report to yourself, keep it on your phone, and show it when you check in. The report can help you bring the timeline, observations, and questions into the visit; sending it to yourself does not mean a clinic has received, reviewed, or approved the assessment.`},{question:`What does it cost?`,audience:`owners`,answer:Lt()},{question:`Is my pet's data private?`,audience:`owners`,answer:`Health data is encrypted in transit and at rest, and is used solely to provide the Voyage service — never sold, and never shared for anyone else's advertising. The service providers that process data on our behalf to run it are named in our privacy policy.`}].filter(e=>e.audience===`owners`||e.audience===`both`),rd=()=>N(()=>import(`./routes-D8lGKWHM.js`),__vite__mapDeps([123,1,2,3,4,5,6,7,57,9,58,59,12,13,14,15,29,8,19,25,60,49,61,62,50,63,64,51,65,45,66,67,68,69,10,20,70,71,72,38,39,11,16,17,18])),id=`Voyage | AI Pet Triage & Preventive Care`,ad=D(`/`)({validateSearch:e=>e.for===`owners`?{for:`owners`}:{},beforeLoad:({search:e})=>
14{if(e.for===`owners`)throw E({to:`/`,search:{},replace:!0})},head:()=>({meta:[{title:id},{name:`description`,content:`Understand your pet's symptoms, urgency, and when to see a vet. Start a free AI assessment online, or explore preventive care in the Voyage app.`},{property:`og:title`,content:id},{property:`og:description`,content:`Understand how serious your pet's symptoms may be, what could be causing them, and when to see a vet — plus preventive care in the Voyage app.`},{property:`og:url`,content:en(`/`)},{property:`og:image`,content:cn},{property:`og:type`,content:`website`},{name:`twitter:title`,content:id},{name:`twitter:description`,content:`AI pet triage for clearer next steps, plus preventive care in the Voyage app.`},{name:`twitter:image`,content:cn},{"script:ld+json":{"@context":`https://schema.org`,"@type":`WebApplication`,"@id":an,name:`Voyage`,url:I,description:`AI pet triage and preventive care for pet owners, with symptom urgency, practical next steps, relevant saved history, and veterinary sources you can inspect.`,applicationCategory:`HealthApplication`,operatingSystem:`iOS, Android, Web`,offers:Bt.map(e=>({"@type":`Offer`,price:e.price,priceCurrency:Gt.currency,...e.description?{description:e.description}:{}}))}},{"script:ld+json":Jt(nd)}],links:[{rel:`canonical`,href:en(`/`)}]}),component:O(rd,`component`)});function od(e){let t=`/tools/${e.slug}`,n=I+t,{meta:r,links:i}=L({title:e.metaTitle,description:e.metaDescription,canonicalPath:t,ogImage:cn,ogType:`website`}),a=[{type:`application/ld+json`,children:JSON.stringify(pn({description:e.metaDescription,url:n,offers:[{price:`0`,description:`Free tier — instant triage`}]}))},{type:`application/ld+json`,children:JSON.stringify(F([{name:`Home`,url:I},{name:`Pet Safety Tools`,url:`${I}/tools`},{name:e.breadcrumbLeaf,url:n}]))}];return e.faqs.length>0&&a.push({type:`application/ld+json`,children:JSON.stringify(Jt(e.faqs))}),{meta:r,links:i,scripts:a}}function sd(){let e=`/tools`,{meta:t,links:n}=L({title:`Free Pet Safety Tools — Toxicity Calculators for Dogs & Cats`,description:`Free, vet-cited pet safety tools: chocolate, xylitol, ibuprofen, grape, onion & garlic, and lily toxicity calculators and guides. Estimate the risk in seconds, then get instant triage.`,canonicalPath:e,ogImage:cn,ogType:`website`});return{meta:t,links:n,scripts:[{type:`application/ld+json`,children:JSON.stringify(F([{name:`Home`,url:I},{name:`Pet Safety Tools`,url:`${I}${e}`}]))}]}}var cd=D(`/tools/`)({head:()=>sd(),component:O(()=>N(()=>import(`./tools-DJt66itR.js`),__vite__mapDeps([124,1,2,29,3,4,8,9,19,5,6,7,10,11,12,13,14,15,16,17,18,20])),`component`)}),ld=D(`/symptoms/`)({loader:()=>{throw E({href:Kn,statusCode:301})}}),ud=()=>N(()=>import(`./blog-BX3wtAEz.js`),__vite__mapDeps([125,2,1,29,3,4,8,9,19,85,5,6,7,57,58,76,63,10,11,12,13,14,15,16,17,18,20,126,70,127,39,38])),dd=200,fd=`Pet Health Library — Source-Cited Symptom & Condition Guides | Voyage`,pd=`Guides to pet symptoms and conditions, cited to the veterinary literature — what to watch for, what to do at home, and when to see a vet. Free from Voyage.`,md=new Set(An),hd=new Set(jn.map(e=>e.key));function gd(e){let t=typeof e==`number`?e:typeof e==`string`&&/^\d+$/.test(e)?Number(e):NaN;return Number.isFinite(t)&&t>1?Math.floor(t):void 0}var _d=D(`/blog/`)({validateSearch:e=>({pet:typeof e.pet==`string`&&md.has(e.pet)?e.pet:void 0,symptom:typeof e.symptom==`string`&&hd.has(e.symptom)?e.symptom:void 0,page:gd(e.page)}),loaderDeps:({search:e})=>e,loader:async({deps:e})=>{let t=await Hn(),n=t.filter(t=>(!e.pet||Dn(t.slug)===e.pet)&&(!e.symptom||On(t)?.key===e.symptom)),r=Math.max(1,Math.ceil(n.length/24)),i=e.page??1;if(t.length>=dd&&i>r)throw ne();return{posts:t,page:i,faceted:!!(e.pet||e.symptom)}},head:({loaderData:e})=>{let t=e?.page??1,n=t>1&&!e?.faceted;return L({title:n?`Pet Health Library — Symptom Guides, Page ${t} | Voyage`:fd,description:n?`Page ${t} of the Voyage pet health library — guides to pet symptoms and conditions, cited to the veterinary literature.`:pd,canonicalPath:n?`/blog?page=${t}`:`/blog`,ogType:`website`})},component:O(ud,`component`)}),vd={kind:`calculator`,slug:`chocolate`,species:`dog`,substance:`chocolate`,emoji:`🍫`,hubTitle:`Dog chocolate toxicity calculator`,hubBlurb:`Estimate the risk from what your dog ate by weight, chocolate type, and amount.`,metaTitle:`Dog Chocolate Toxicity Calculator — Is It an Emergency?`,metaDescription:`Free chocolate toxicity calculator for dogs. Enter your dog's weight, the type of chocolate, and how much they ate to estimate the risk — with vet-cited dose thresholds and what to do next.`,h1:`Dog chocolate toxicity calculator`,intro:`Chocolate is toxic to dogs because of methylxanthines (theobromine and caffeine). How dangerous it is depends on your dog's weight, the type of chocolate, and how much they ate — darker and baking chocolate are far more concentrated than milk chocolate. Enter the details below for an estimate, but when in doubt, call your vet or a pet poison line.`,breadcrumbLeaf:`Chocolate Toxicity Calculator`,relatedPostSlug:`dog-ate-chocolate`,weightLabel:`Your dog's weight`,variantLabel:`Type of chocolate`,variants:[{key:`white`,label:`White chocolate`,mgPerGram:.04,note:`Almost no methylxanthine — but the fat and sugar can still upset the stomach.`},{key:`milk`,label:`Milk chocolate`,mgPerGram:2.3,note:`Most candy bars and holiday treats.`}
14,{key:`dark`,label:`Dark / semisweet`,mgPerGram:5.5,note:`The darker the chocolate, the more dangerous.`},{key:`baking`,label:`Baking / unsweetened`,mgPerGram:15.5,note:`Very concentrated — even small amounts matter.`},{key:`cocoa`,label:`Cocoa powder`,mgPerGram:28.5,note:`The most concentrated form.`}].map(e=>({key:e.key,label:e.label,note:e.note,potency:e.mgPerGram,...e.key===`dark`?{unavailableReason:`Dark chocolate varies with cocoa content. This tool cannot reliably estimate this product. Keep the wrapper and call your vet or a poison specialist with the cocoa percentage and amount eaten.`}:{}})),defaultVariantKey:``,amount:{label:`Amount eaten`,unit:`g`,placeholder:`e.g. 3.5`},doseUnit:`mg/kg`,doseNumeratorLabel:`methylxanthine`,thresholds:{concern:20,urgent:40,emergency:60},tiers:{monitor:{label:`Low estimated dose`,guidance:`Below the usual threshold for symptoms — but this is only an estimate. Call your vet or a pet poison line to confirm, and watch for vomiting, restlessness, or a racing heart over the next 12 hours.`},concern:{label:`Enough to cause symptoms`,guidance:`This much can cause vomiting, diarrhea, extreme thirst, and restlessness. Call your vet now — they may advise inducing vomiting, which is time-sensitive.`},urgent:{label:`Cardiac-risk dose`,guidance:`At this dose the heart can race or beat irregularly. Get your dog to a vet immediately — don't wait for symptoms.`},emergency:{label:`Emergency — seizure risk`,guidance:`This is a potentially life-threatening dose (seizure and cardiac risk). Go to the nearest emergency vet right now and call a poison line on the way.`}},disclaimer:`Estimate for triage only, based on methylxanthine content and dose thresholds from the Merck Veterinary Manual. Real risk also depends on caffeine, other ingredients (raisins, xylitol in baked goods), and your dog's health — so a low estimate never means "safe." When in doubt, call.`,sources:[{name:`Merck Veterinary Manual — Chocolate Toxicosis in Animals`,url:`https://www.merckvetmanual.com/toxicology/food-hazards/chocolate-toxicosis-in-animals`}],ctaSpecies:`Dog`,faqs:[{question:`How much chocolate is toxic to a dog?`,answer:`It depends on your dog's weight and the type of chocolate. Signs typically start around 20 mg/kg of methylxanthines (theobromine + caffeine), heart effects around 40–50 mg/kg, and seizures at 60 mg/kg or more. Because baking chocolate and cocoa powder are many times more concentrated than milk chocolate, a small amount of dark chocolate can be far more dangerous than a large amount of milk chocolate.`},{question:`My dog ate chocolate but seems fine — should I still worry?`,answer:`Yes, keep watching. Symptoms can take 6–12 hours to appear, and the most serious effects (heart and nervous system) come later than the first stomach upset. Call your vet or a pet poison line with your dog's weight and what they ate, even if your dog seems normal right now.`},{question:`What are the symptoms of chocolate poisoning in dogs?`,answer:`Early signs include vomiting, diarrhea, extreme thirst, and restlessness. As the dose rises you can see a racing or irregular heartbeat, tremors, and — at high doses — seizures. Signs usually appear within 6–12 hours and can last for days because theobromine is cleared slowly.`},{question:`What should I do if my dog ate chocolate?`,answer:`Note your dog's weight, the type of chocolate, and roughly how much they ate, then call your veterinarian or a pet poison line right away — the Pet Poison Helpline at (855) 764-7661 or ASPCA Animal Poison Control at (888) 426-4435. If a vet advises inducing vomiting, it's most effective within the first couple of hours, so don't wait to make the call.`}]},yd={kind:`advisory`,slug:`grapes-raisins`,species:`dog`,substance:`grapes or raisins`,emoji:`🍇`,hubTitle:`Dog grape & raisin toxicity`,hubBlurb:`Grapes, raisins, currants, and sultanas — there's no safe amount for a dog. What to do now.`,metaTitle:`My Dog Ate Grapes or Raisins — Is It an Emergency?`,metaDescription:`Grapes and raisins can cause sudden kidney failure in dogs, with no known safe amount. Here's why any ingestion is treated as an emergency and exactly what to do — with vet-cited guidance.`,h1:`My dog ate grapes or raisins`,intro:`Grapes, raisins, currants, and sultanas can cause sudden kidney failure in dogs — and there's no amount known to be safe. Because some dogs are harmed by just a few while others aren't, and because a dog can look fine while the damage begins, any ingestion is treated as an emergency. Call your vet or a pet poison line right away.`,breadcrumbLeaf:`Grape & Raisin Toxicity`,relatedPostSlug:`dog-ate-grapes`,verdictLevel:`emergency`,verdictLabel:`Treat as an emergency`,verdictBody:`There is no known safe amount of grapes or raisins for a dog. Some dogs develop kidney failure after just a handful while others eat more with no effect — the amount simply doesn't predict who gets sick. Because early treatment dramatically improves the outcome, and dogs often look fine during the window when it matters most, call your vet or a pet poison line now, no matter how little they ate.`,whatToDo:[`Call your vet or a pet poison line right away — the Pet Poison Helpline at (855) 764-7661 or ASPCA Animal Poison Control at (888) 426-4435.`,`Note what and roughly how much — grapes, raisins, sultanas, currants, or a food that contains them (raisins are far more concentrated than fresh grapes).`,`Don't wait for symptoms: vomiting can be delayed 6–12 hours and kidney signs 24–72 hours.`,`If a vet advises inducing vomiting, it's most effective within the first couple of hours — so make the call quickly.`,`Bring the packaging if you have it, so the team can gauge the amount.`],disclaimer:`General tri
14age guidance, not a diagnosis — based on the Merck Veterinary Manual, ASPCA Animal Poison Control, and Pet Poison Helpline. Because susceptibility is individual and there's no established safe dose, the amount eaten should never be used to rule out concern in a dog. When in doubt, call.`,sources:[{name:`Merck Veterinary Manual — Grape, Raisin, and Tamarind Toxicosis in Dogs`,url:`https://www.merckvetmanual.com/toxicology/food-hazards/grape-raisin-and-tamarind-vitis-spp-tamarindus-spp-toxicosis-in-dogs`},{name:`ASPCA APCC — Toxic Component in Grapes and Raisins Identified (tartaric acid)`,url:`https://www.aspcapro.org/resource/toxic-component-grapes-and-raisins-identified`},{name:`Pet Poison Helpline — Grapes & Raisins`,url:`https://www.petpoisonhelpline.com/poison/grapes-and-raisins/`}],ctaSpecies:`Dog`,faqs:[{question:`How many grapes or raisins are toxic to a dog?`,answer:`There's no number that's known to be safe. Dogs have developed kidney failure after as few as four or five grapes, while others have eaten more with no effect — so vets don't rely on the amount to decide who's at risk. Raisins, sultanas, and currants are dried and more concentrated than fresh grapes, so even a small handful can carry a large toxic load.`},{question:`My dog ate one grape — should I worry?`,answer:`It's worth a call. Because susceptibility is so individual and there's no established safe dose, the safest approach is to phone your vet or a pet poison line, tell them your dog's weight and what they ate, and follow their advice. Many dogs are fine, but the ones who aren't do far better when treated early.`},{question:`What are the signs of grape or raisin poisoning in dogs?`,answer:`Vomiting and/or diarrhea usually come first, often within 6–12 hours, along with lethargy, appetite loss, and belly pain. Kidney failure develops over the next 24–72 hours — first increased thirst and urination, then reduced urination, ammonia-smelling breath, and worsening weakness. Waiting for these signs means missing the best treatment window.`},{question:`Why are grapes toxic to dogs but not people?`,answer:`The leading explanation is tartaric acid, which grapes contain in varying amounts. Dogs are poor at excreting it, so it builds up and injures the kidney's filtering cells. People and many other species clear it easily. The same reason is why cream of tartar and tamarind — also high in tartaric acid — are flagged as risks for dogs.`}]},Q={kind:`calculator`,slug:`ibuprofen`,species:`dog`,substance:`ibuprofen`,emoji:`💊`,hubTitle:`Dog ibuprofen (Advil) toxicity calculator`,hubBlurb:`Advil, Motrin, and generic ibuprofen. Estimate the risk by your dog's weight and how many they ate.`,metaTitle:`Dog Ibuprofen (Advil) Toxicity Calculator — Is It an Emergency?`,metaDescription:`Free ibuprofen toxicity calculator for dogs. Enter your dog's weight and how many Advil, Motrin, or generic ibuprofen tablets they ate to estimate the risk — with vet-cited dose thresholds and what to do next.`,h1:`Dog ibuprofen (Advil) toxicity calculator`,intro:`Ibuprofen (Advil, Motrin) is far more dangerous to pets than to people — dogs and cats can't clear it the way we do, so a dose that's harmless for you can ulcerate a dog's stomach, injure the kidneys, or cause seizures. Cats are especially sensitive; treat any feline ingestion as an emergency. Enter what your dog ate for an estimate, and when in doubt, call your vet or a pet poison line.`,breadcrumbLeaf:`Ibuprofen Toxicity Calculator`,relatedPostSlug:`dog-ate-ibuprofen`,weightLabel:`Your dog's weight`,variantLabel:`What did your dog eat?`,variants:[{key:`otc-200-tablet`,label:`OTC 200 mg tablet/caplet (Advil, Motrin, generic)`,potency:200,unitNoun:`tablets`,note:`The most common exposure — a dog chewing into an adult Advil or Motrin bottle.`},{key:`otc-200-liquigel`,label:`OTC 200 mg liquid-gel / softgel (Advil Liqui-Gels)`,potency:200,unitNoun:`capsules`,note:`Same 200 mg dose as a tablet, but absorbed faster.`},{key:`childrens-100-chewable`,label:`Children's / junior 100 mg chewable`,potency:100,unitNoun:`tablets`,n
14ote:`Flavored and palatable to dogs. For 50 mg infant chewables, enter the count as half.`},{key:`rx-400`,label:`Prescription 400 mg tablet`,potency:400,unitNoun:`tablets`},{key:`rx-600`,label:`Prescription 600 mg tablet`,potency:600,unitNoun:`tablets`},{key:`rx-800`,label:`Prescription 800 mg tablet`,potency:800,unitNoun:`tablets`}],amount:{label:`How many did your dog eat?`,unit:`count`,countNoun:`tablets`,placeholder:`e.g. 2`},doseUnit:`mg/kg`,doseNumeratorLabel:`ibuprofen`,thresholds:{concern:25,urgent:100,emergency:400},tiers:{monitor:{label:`Low estimated dose`,guidance:`Below the usual threshold for stomach injury — but ibuprofen has a narrow safety margin in dogs, so this is only an estimate. Call your vet or a pet poison line to confirm, and watch for vomiting, appetite loss, or dark, tarry stool.`},concern:{label:`Stomach-ulcer dose`,guidance:`This much can irritate or ulcerate the stomach and gut. Call your vet now — they may start stomach protectants and want to monitor for bleeding.`},urgent:{label:`Kidney-injury dose`,guidance:`At this dose kidney injury becomes a real risk. Get your dog to a vet right away — they'll likely need IV fluids and bloodwork over a couple of days.`},emergency:{label:`Emergency — seizure risk`,guidance:`This is in the range that can cause seizures and be life-threatening. Go to the nearest emergency vet right now and call a poison line on the way.`}},disclaimer:`Estimate for triage only, based on dose thresholds from the Merck Veterinary Manual and Pet Poison Helpline. Cats are far more sensitive than dogs and this calculator is dog-only — for a cat, treat any ingestion as an emergency. A low estimate never means "safe." When in doubt, call.`,sources:[{name:`Merck Veterinary Manual — NSAID Toxicosis in Animals`,url:`https://www.merckvetmanual.com/toxicology/over-the-counter-drug-and-supplement-hazards/nonsteroidal-anti-inflammatory-drugs-toxicosis-in-animals`},{name:`Pet Poison Helpline — Ibuprofen`,url:`https://www.petpoisonhelpline.com/poison/ibuprofen/`}],ctaSpecies:`Dog`,faqs:[{question:`How much ibuprofen is toxic to a dog?`,answer:`Stomach irritation and ulcers can begin around 25 mg/kg of body weight, kidney injury around 100 mg/kg, and seizures around 400 mg/kg. For a 15-pound (6.8 kg) dog, a single 200 mg Advil already works out to about 29 mg/kg — over the stomach-irritation threshold — so for a small dog even one tablet is worth a call to your vet or a poison line.`},{question:`Can I give my dog ibuprofen for pain?`,answer:`No. Never give ibuprofen (or other human NSAIDs like naproxen/Aleve) to a dog or cat — their bodies can't process it safely, and it can cause ulcers, kidney failure, and seizures. If your pet is in pain, your vet can prescribe a pain reliever made and dosed for animals.`},{question:`What are the signs of ibuprofen poisoning in dogs?`,answer:`Early signs are vomiting (sometimes with blood), diarrhea, dark or tarry stool, appetite loss, and belly pain. As the dose rises you can see increased thirst and urination or the reverse (kidney injury), wobbliness, and at high doses, seizures and coma. Signs can appear within hours.`},{question:`My cat ate ibuprofen — is that worse than a dog?`,answer:`Yes. Cats are roughly twice as sensitive to ibuprofen as dogs, so a much smaller amount can cause serious harm. This calculator is tuned for dogs — if a cat ate ibuprofen, don't estimate, just treat it as an emergency and call your vet or a pet poison line immediately.`}]},bd={kind:`advisory`,slug:`lilies`,species:`cat`,substance:`lilies`,emoji:`🌸`,hubTitle:`Cat lily toxicity`,hubBlurb:`True lilies are a feline emergency — even the pollen. What to do, and which 'lilies' are which.`,metaTitle:`My Cat Ate a Lily — Is It an Emergency?`,metaDescription:`True lilies can cause kidney failure in cats, including exposure to pollen and vase water. Learn what to do now and why other plants called lilies pose different risks.`,h1:`My cat ate a lily — what now?`,intro:`True lilies — Easter, Tiger, Asiatic, Oriental, Stargazer, and daylilies — are deadly to cats. Any part, in any amount, including the pollen and the vase water, can cause sudden kidney failure, and the window to treat is narrow. If your cat may have touched, chewed, or licked a lily, treat it as an emergency and call your vet or a pet poison line now.`,breadcrumbLeaf:`Lily Toxicity`,relatedPostSlug:`cat-lily-toxicity-signs`,verdictLevel:`emergency`,verdictLabel:`A feline emergency — act now`,verdictBody:`For true lilies, there's no safe amount. Every part is dangerous — petals, leaves, pollen, and even the vase water — so a cat that brushed pollen onto their fur and groomed it off has been exposed. The kidney damage begins silently while a cat still looks only mildly 'off,' and the window for effective treatment is roughly 18 hours, before kidney signs appear. Don't wait to see how they do — call your vet or a pet poison line right now.`,whatToDo:[`Call your vet or a pet poison line right away — the Pet Poison Helpline at (855) 764-7661 or ASPCA Animal Poison Control at (888) 426-4435.`,`If there's pollen on your cat's fur or face, gently wipe or wash it off so they don't groom more in.`,`Bring the plant or a clear photo — confirming a true lil
14y (Lilium) or daylily (Hemerocallis) versus a look-alike changes the whole plan.`,`Don't wait for symptoms: the treatment window (decontamination and IV fluids) is about 18 hours, before kidney signs show.`,`Move the plant out of reach of the cat and any other pets.`],disclaimer:`General triage guidance, not a diagnosis — based on ASPCA Animal Poison Control, Pet Poison Helpline, the Merck Veterinary Manual, and the FDA. For a known or suspected true-lily exposure in a cat, time is critical; when in doubt, call.`,sources:[{name:`ASPCA — Which Lilies Are Toxic to Pets?`,url:`https://www.aspca.org/news/which-lilies-are-toxic-pets`},{name:`Pet Poison Helpline — Lilies Are Toxic To Cats`,url:`https://www.petpoisonhelpline.com/poison/lilies/`},{name:`FDA — Lovely Lilies and Curious Cats: A Dangerous Combination`,url:`https://www.fda.gov/animal-veterinary/animal-health-literacy/lovely-lilies-and-curious-cats-dangerous-combination`}],ctaSpecies:`Cat`,faqs:[{question:`Which lilies are dangerous to cats?`,answer:`The deadly ones are the true lilies — genus Lilium, which includes Easter, Tiger, Asiatic, Oriental, Stargazer, and rubrum lilies — and daylilies (genus Hemerocallis). For these, all parts and even the pollen and vase water can cause acute kidney failure in cats, at any amount.`},{question:`Are all 'lilies' deadly to cats?`,answer:`No. Peace and calla lilies contain calcium-oxalate crystals that irritate the mouth and digestive tract. Peruvian lilies can cause stomach upset through a different toxin. These plants do not cause the same kidney injury as true lilies and daylilies. Lily of the valley can affect the heart. If the plant is uncertain, call your vet or a poison specialist and bring a photo for identification.`},{question:`My cat brushed against lily pollen — is that really dangerous?`,answer:`Yes, it can be. Cats groom, so pollen on the fur ends up swallowed. Gently wipe or wash the pollen off to limit further grooming and call your vet or a pet poison line. Treat pollen contact from a true lily the same as eating a piece of the plant.`},{question:`How quickly do I need to act if my cat ate a lily?`,answer:`Very quickly. Early signs — vomiting, drooling, lethargy, and loss of appetite — can start within a few hours and may briefly improve, which is falsely reassuring. Kidney injury is underway during that mild phase, and the effective treatment window is roughly 18 hours. Waiting until a cat is clearly sick often means waiting too long.`}]},xd={kind:`calculator`,slug:`onion-garlic`,species:`dog-cat`,substance:`onion or garlic`,emoji:`🧅`,hubTitle:`Onion & garlic toxicity calculator`,hubBlurb:`Estimate raw onion or garlic exposure for dogs and cats, or get help for cooked foods and powders.`,metaTitle:`Onion & Garlic Toxicity Calculator for Dogs & Cats`,metaDescription:`Estimate known raw onion or garlic exposure for dogs and cats. Get guidance for cooked foods, powders and uncertain amounts, with veterinary sources and what to do next.`,h1:`Onion & garlic toxicity calculator`,intro:`Onion, garlic, leeks, and chives (the Allium family) can damage a pet's red blood cells and cause anemia. Garlic is several times more potent than onion. Cooking does not make them safe, and dried powders can be concentrated. Cats are more sensitive than dogs, and signs are often delayed. This tool estimates known raw onion or garlic exposures using conservative thresholds; cooked foods, powders and uncertain details need an individual assessment from your vet or a pet poison line.`,breadcrumbLeaf:`Onion & Garlic Toxicity Calculator`,relatedPostSlug:`dog-ate-onions-garlic`,weightLabel:`Your pet's weight`,variantLabel:`What did your pet eat?`,variants:[{key:`raw_onion`,label:`Raw onion`,potency:1,note:`The reference food. Around 5 g/kg can harm a cat; dogs are affected at higher amounts.`},{key:`cooked_onion`,label:`Cooked onion`,potency:0,unavailableReason:`Cooking does not remove the risk. Concentration varies with preparation, so we cannot reliably convert cooked onion into a raw-onion dose. Call your vet with the food and amount eaten.`,note:`Cooking does not make onion safe for pets.`},{key:`raw_garlic`,label:`Raw garlic`,potency:5,note:`Roughly 5× more potent than onion by weight. One clove is about 3–7 grams.`},{key:`garlic_powder`,label:`Garlic powder`,potency:0,unavailableReason:`Powder concentration and seasoning mixtures vary. This tool cannot reliably estimate this exposure. Call your vet or a poison specialist with the product label and amount eaten.`,note:`Dehydrated and very concentrated — small pinches count. Hidden in many seasonings.`},{key:`onion_powder`,label:`Onion powder`,potency:0,unavailableReason:`Powder concentration and seasoning mixtures vary. This tool cannot reliably estimate this exposure. Call your vet or a poison specialist with the product label and amount eaten.`,note:`Concentrated onion can be present in soups, gravies, and baby food.`}],amount:{label:`Amount eaten`,unit:`g`,placeholder:`e.g. 15`},doseUnit:`g/kg`,doseNumeratorLabel:`onion-equivalent`,thresholds:{concern:1,urgent:5,emergency:15},tiers:{monitor:{label:`Low estimated dose`,guidance:`Below the usual threshold for red-blood-cell damage — but cats and s
14ome dogs are sensitive, and the effect builds over days. Call your vet or a pet poison line to confirm, and watch for tiredness, pale gums, or reddish-brown urine over the next few days.`},concern:{label:`Call for an exposure assessment`,guidance:`This estimate crosses this tool's precautionary call threshold; it does not predict whether anemia will occur. Call your vet with the exposure details. Cats are more sensitive, and signs can be delayed.`},urgent:{label:`Seek prompt veterinary advice`,guidance:`This estimate reaches the tool's urgent threshold, based on the more-sensitive cat. It cannot predict your pet's outcome. Contact your vet promptly; species, repeated exposure and health affect risk, and signs can be delayed.`},emergency:{label:`Emergency — severe anemia risk`,guidance:`This is a large dose that can cause severe anemia. Get to a vet right away and call a poison line — your pet may need monitoring and, in bad cases, a transfusion.`}},disclaimer:`Estimate for triage only, based on Allium toxicity thresholds from the Merck Veterinary Manual and ASPCA Animal Poison Control. Thresholds are set to the more-sensitive cat, and toxicity also depends on the individual pet and repeated exposure — so a low estimate never means "safe." When in doubt, call.`,sources:[{name:`Merck Veterinary Manual — Allium species (Onions, Garlic) Toxicosis in Animals`,url:`https://www.merckvetmanual.com/toxicology/food-hazards/garlic-and-onion-allium-spp-toxicosis-in-animals`},{name:`ASPCA Animal Poison Control — People Foods to Avoid Feeding Your Pets`,url:`https://www.aspca.org/pet-care/animal-poison-control/people-foods-avoid-feeding-your-pets`}],faqs:[{question:`How much onion or garlic is toxic to dogs and cats?`,answer:`Red-blood-cell damage is expected at around 5 grams of onion per kilogram of body weight in a cat, and dogs are affected at higher amounts — but sensitivity varies and the effect builds with repeated exposure, so this calculator starts flagging concern from about 1 g/kg. Garlic is roughly five times stronger than onion, and powders are far more concentrated still, so even small amounts of garlic powder in seasoning or a small piece of garlic bread can matter for a cat or small dog.`},{question:`Is garlic worse than onion for pets?`,answer:`Yes — gram for gram, garlic is about five times more potent than onion, and dehydrated garlic or onion powder is more concentrated again. That's why a pinch of garlic powder in a recipe can be more of a concern than a similar weight of raw onion.`},{question:`What are the signs of onion or garlic poisoning?`,answer:`The hallmark is anemia from damaged red blood cells: tiredness, weakness, pale or yellowish gums, faster breathing, and reddish-brown urine. Vomiting or diarrhea can come first. The catch is timing — signs often don't appear for several days after eating, so a normal-looking pet today doesn't rule it out.`},{question:`My pet ate a small amount of garlic — will they be okay?`,answer:`Often a tiny, one-time taste causes no visible problem, but because cats and small dogs are sensitive and the effect is cumulative, it's worth noting the amount and your pet's weight and calling your vet or a pet poison line to check. Avoid giving any garlic or onion — including garlic supplements marketed for pets — without veterinary advice.`}]},Sd={kind:`calculator`,slug:`xylitol`,species:`dog`,substance:`xylitol`,emoji:`🫐`,hubTitle:`Dog xylitol toxicity calculator`,hubBlurb:`Get help for gum, mints or peanut butter exposure, or estimate a known amount of pure xylitol.`,metaTitle:`Dog Xylitol Toxicity Calculator — Sugar-Free Gum & More`,metaDescription:`Free xylitol exposure checker for dogs. Get guidance for gum and mixed products, or estimate a known pure-xylitol dose by weight. Vet-cited sources and poison-control contacts.`,h1:`Dog xylitol toxicity calculator`,intro:`Xylitol — the sweetener in sugar-free gum, mints, and some peanut butters — is highly toxic to dogs even in tiny amounts. It causes a rapid, dangerous drop in blood sugar, and at higher doses, liver failure. Because a single piece of some gums can poison a small dog, treat any real ingestion as a reason to call your vet or a pet poison line right away — this estimate is only a guide.`,breadcrumbLeaf:`Xylitol Toxicity Calculator`,relatedPostSlug:`dog-ate-xylitol`,weightLabel:`Your dog's weight`,variantLabel:`What did your dog eat?`,variants:[{key:`gum_unknown`,label:`Sugar-free gum — brand unknown`,potency:0,unavailableReason:`The xylitol content is unknown. A piece count cannot rule out a dangerous dose. Call your vet or a poison specialist now with the brand, flavor, packaging and number of pieces missing.`,unitNoun:`pieces`,note:`Content varies by brand and flavor. We do not substitute an average for an unknown amount.`},{key:`gum_high`,label:`Xylitol-containing gum — brand known`,potency:0,unavailableReason:`A brand name alone does not establish xylitol content. Call your vet or a poison specialist with the exact product and flavor; keep the packaging.`,unitNoun:`pieces`,note:`Formulations and serving sizes vary. This tool does not maintain verified brand-specific concentrations.`},{key:`gum_low`,label:`Mints, peanut butter or another product`,potency:0,unavailableReason:`This product's xylitol concentration is not available in this tool. Call your vet or a poison specialist now and keep the ingredient label.`,unitNoun:`pieces`,note:`Do n
14ot enter the weight of a mixed food as pure xylitol.`},{key:`powder_gram`,label:`Xylitol powder / granulated (baking)`,potency:1e3,unitNoun:`grams`,note:`Pure xylitol is ~1,000 mg per gram; one teaspoon is roughly 4 grams.`}],amount:{label:`How much did your dog eat?`,unit:`count`,countNoun:`pieces`,placeholder:`e.g. 2`},doseUnit:`mg/kg`,doseNumeratorLabel:`xylitol`,thresholds:{concern:75,urgent:100,emergency:500},tiers:{monitor:{label:`Low estimated dose`,guidance:`Below the usual level for a blood-sugar crash — but xylitol has a narrow margin and gum content varies widely, so this is only an estimate. Call your vet or a pet poison line to confirm, and watch for weakness, vomiting, or wobbliness over the next 12 hours.`},concern:{label:`Approaching a dangerous dose`,guidance:`This is nearing the amount that can drop a dog's blood sugar dangerously. Call your vet or a pet poison line now — they'll likely want to check blood glucose.`},urgent:{label:`Blood-sugar-crash dose`,guidance:`At this dose a dangerous drop in blood sugar (hypoglycemia) is expected, and it can start within 30 minutes. Get your dog to a vet right away — they may need monitoring and IV glucose.`},emergency:{label:`Emergency — liver-failure risk`,guidance:`This is in the range that can cause liver failure on top of a blood-sugar crash. Go to the nearest emergency vet right now and call a poison line on the way.`}},disclaimer:`Estimate for triage only, based on dose thresholds from the Merck Veterinary Manual and Pet Poison Helpline. The biggest unknown is how much xylitol is actually in the product — per-piece content varies enormously by brand and flavor — so a low estimate never means "safe." When in doubt, call.`,sources:[{name:`Merck Veterinary Manual — Xylitol Toxicosis in Dogs`,url:`https://www.merckvetmanual.com/toxicology/food-hazards/xylitol-toxicosis-in-dogs`},{name:`Schmid & Hovda, Acute Hepatic Failure in a Dog after Xylitol Ingestion (J Med Toxicol)`,url:`https://pmc.ncbi.nlm.nih.gov/articles/PMC4880608/`,year:`2016`},{name:`Pet Poison Helpline — Xylitol Is Toxic To Dogs`,url:`https://www.petpoisonhelpline.com/poison/xylitol/`}],ctaSpecies:`Dog`,faqs:[{question:`How much xylitol is toxic to dogs?`,answer:`Blood-sugar effects begin around 100 mg/kg of body weight — about 0.045 grams per pound — and liver injury becomes a risk above roughly 500 mg/kg. Because some sugar-free gums contain close to a gram of xylitol per piece, a single piece can exceed the dangerous dose for a small dog. Cats are not affected by xylitol; this is a dog-specific poison.`},{question:`My dog ate sugar-free gum — what should I do?`,answer:`Act quickly. Note your dog's weight, the brand and flavor of gum, and how many pieces are missing, then call your veterinarian or a pet poison line right away — the Pet Poison Helpline at (855) 764-7661 or ASPCA Animal Poison Control at (888) 426-4435. Don't wait for symptoms: a blood-sugar crash can begin within 30 minutes, and early treatment matters.`},{question:`How quickly does xylitol affect dogs?`,answer:`Low blood sugar can appear within 30 minutes of eating xylitol, though it can be delayed up to 12–18 hours when the xylitol is in slow-release gum. Signs include vomiting, weakness, wobbliness, tremors, and — in severe cases — collapse or seizures. Liver damage from higher doses may not show for 24–48 hours.`},{question:`Is xylitol dangerous in peanut butter?`,answer:`Yes — some "sugar-free" or "no sugar added" peanut butters contain xylitol, which is why you should always check the label before giving peanut butter to a dog or using it to hide a pill. If your dog ate a xylitol-sweetened peanut butter, treat it the same as gum and call your vet or a poison line.`}]};function Cd(e,t){return!Number.isFinite(e)||e<=0?null:e>=t.emergency?`emergency`:e>=t.urgent?`urgent`:e>=t.concern?`concern`:`monitor`}var wd=28.3495,Td=.453592;function Ed(e){return e*Td}function Dd(e){return e*wd}function Od(e){let t=[e.weightKg,e.amountBase,e.potency].every(e=>Number.isFinite(e)&&e>0),n=t?e.amountBase*e.potency:NaN,r=t?n/e.weightKg:NaN;return{totalActive:n,dosePerKg:r,level:Cd(r,e.thresholds)}}var kd=[5,10,20,40,70];function Ad(e){let t=Ed(e.weightLb),n=e.thresholdPerKg*t/e.potency;return!Number.isFinite(n)||n<=0?0:n<1?Number(n.toPrecision(3)):e.unit===`count`?Math.floor(n*10)/10:Math.floor(n)}
14function jd(e){return!Number.isFinite(e)||e<=0?`—`:e<.001?`<0.001`:e<1?String(Number(e.toPrecision(3))):String(Number(e.toFixed(1)))}var Md=[{name:`Pet Poison Helpline`,tel:`18557647661`,display:`(855) 764-7661`},{name:`ASPCA Animal Poison Control`,tel:`18884264435`,display:`(888) 426-4435`}],$=[vd,Sd,yd,Q,xd,bd],Nd=new Map($.map(e=>[e.slug,e]));function Pd(e){return Nd.get(e)}$.map(e=>e.slug);var Fd=D(`/tools/$toxin`)({loader:({params:e})=>{let t=Pd(e.toxin);if(!t)throw ne();return{toxin:t}},head:({loaderData:e})=>e?.toxin?od(e.toxin):{},component:O(()=>N(()=>import(`./_toxin-BdBUKzE4.js`),__vite__mapDeps([128,2,24,25,4,26,9,1,29,3,8,19,5,6,7,57,58,50,129,90,130,10,11,12,13,14,15,16,17,18,20,39,38])),`component`)}),Id=D(`/symptoms/$slug`)({loader:({params:e})=>{throw E({href:qn(e.slug),statusCode:301})}}),Ld=()=>N(()=>import(`./subscribe_.success-uqGNAQxB.js`),__vite__mapDeps([131,2,24,25,4,26,9,1,12,13,14,15,29,3,8,19,85,16,17,18,5,6,7,48,49,50,51,52,53,54,47,11,39,38])),Rd=`Subscription confirmed · Voyage`,zd=D(`/subscribe_/success`)({head:()=>{let{meta:e,links:t}=L({title:Rd,description:`Your Voyage subscription is being activated.`,canonicalPath:`/pricing`,ogImage:cn,ogType:`website`});return{meta:[...e,{name:`robots`,content:`noindex,nofollow`}],links:t}},validateSearch:e=>({kind:e.kind===`usage_pack`?`usage_pack`:void 0,session_id:typeof e.session_id==`string`?e.session_id:void 0}),component:O(Ld,`component`)}),Bd=D(`/blog/sugar-glider-health`)({loader:()=>Hn(),head:()=>{let{meta:e,links:t}=L({title:`Sugar Glider Health Guides — Source-Cited Symptoms & Care | Voyage`,description:`Source-cited guides for sugar glider owners — metabolic bone disease, hind-leg paralysis, diet, and emergency signs. Free from Voyage.`,canonicalPath:`/blog/sugar-glider-health`,ogType:`website`});return{meta:e,links:t,scripts:[{type:`application/ld+json`,children:JSON.stringify(F([{name:`Home`,url:I},{name:`Pet Health Library`,url:`${I}/blog`},{name:`Sugar Glider Guides`,url:`${I}/blog/sugar-glider-health`}]))}]}},component:O(()=>N(()=>import(`./sugar-glider-health-CV65KQ3o.js`),__vite__mapDeps([132,1,2,3,4,5,6,7,57,9,58,8,133,29,19,20,127,10,11,12,13,14,15,16,17,18,70,39,38])),`component`)}),Vd=D(`/blog/reptile-health`)({loader:()=>Hn(),head:()=>{let{meta:e,links:t}=L({title:`Reptile Health Guides — Source-Cited Symptoms & Conditions | Voyage`,description:`Source-cited guides for reptile owners — metabolic bone disease, parasites, respiratory infections, and exotic vet care for bearded dragons, geckos, and snakes. Free from Voyage.`,canonicalPath:`/blog/reptile-health`,ogType:`website`});return{meta:e,links:t,scripts:[{type:`application/ld+json`,children:JSON.stringify(F([{name:`Home`,url:I},{name:`Pet Health Library`,url:`${I}/blog`},{name:`Reptile Guides`,url:`${I}/blog/reptile-health`}]))}]}},component:O(()=>N(()=>import(`./reptile-health-DYZgDVPA.js`),__vite__mapDeps([134,1,2,3,4,5,6,7,57,9,58,8,133,29,19,20,127,10,11,12,13,14,15,16,17,18,70,39,38])),`component`)}),Hd=D(`/blog/rat-health`)({loader:()=>Hn(),head:()=>{let{meta:e,links:t}=L({title:`Rat Health Guides — Symptoms & Care | Voyage`,description:`Source-cited guides to pet rat respiratory, mobility, skin, dental, and tumor concerns, including when an exotics vet is needed.`,canonicalPath:`/blog/rat-health`,ogType:`website`});return{meta:e,links:t,scripts:[{type:`application/ld+json`,children:JSON.stringify(F([{name:`Home`,url:I},{name:`Pet Health Library`,url:`${I}/blog`},{name:`Rat Guides`,url:`${I}/blog/rat-health`}]))}]}},component:O(()=>N(()=>import(`./rat-health-DbYo8BsL.js`),__vite__mapDeps([135,1,2,3,4,5,6,7,57,9,58,8,133,29,19,20,127,10,11,12,13,14,15,16,17,18,70,39,38])),`component`)}),Ud=D(`/blog/rabbit-health`)({loader:()=>Hn(),head:()=>{let{meta:e,links:t}=L({title:`Rabbit Health Guides — Source-Cited Symptoms & Conditions | Voyage`,description:`Source-cited guides for rabbit owners — GI stasis, dental disease, respiratory infections, and exotic vet care. Free from Voyage.`,canonicalPath:`/blog/rabbit-health`,ogType:`website`});return{meta:e,links:t,scripts:[{type:`application/ld+json`,children:JSON.stringify(F([{name:`Home`,url:I},{name:`Pet Health Library`,url:`${I}/blog`},{name:`Rabbit Guides`,url:`${I}/blog/rabbit-health`}]))}]}},component:O(()=>N(()=>import(`./rabbit-health-B8VzJQW7.js`),__vite__mapDeps([136,1,2,3,4,5,6,7,57,9,58,8,133,29,19,20,127,10,11,12,13,14,15,16,17,18,70,39,38])),`component`)}),Wd=D(`/blog/mouse-health`)({loader:()=>Hn(),head:()=>{let{meta:e,links:t}=L({title:`Mouse Health Guides — Symptoms & Care | Voyage`,description:`Source-cited guides to pet mouse respiratory, skin, dental, wound, and tumor concerns, including when an exotics vet is needed.`,canonicalPath:`/blog/mouse-health`,ogType:`website`});return{meta:e,links:t,scripts:[{type:`application/ld+json`,children:JSON.stringify(F([{name:`Home`,url:I},{name:`Pet Health Library`,url:`${I}/blog`},{name:`Mouse Guides`,url:`${I}/blog/mouse-health`}]))}]}},component:O(()=>N(()=>import(`./mouse-health-CG_KaICl.js`),__vite__mapDeps([137,1,2,3,4,5,6,7,57,9,58,8,133,29,19,20,127,10,11,12,13,14,15,16,17,18,70,39,38])),`component`)}),Gd=D(`/blog/hedgehog-health`)({loader:()=>Hn(),head:()=>{let{meta:e,links:t}=L({title:`Hedgehog Health Guides — Source-Cited Symptoms & Care | Voyage`,description:`Source-cited guides for hedgehog owners — wobbly hedgehog syndrome, mites, not eating, and emergency signs. Free from Voyage.`,canonicalPath:`/blog/hedgehog-health`,ogType:`website`});return{meta:e,links:t,scripts:[{type:`application/ld+json`,children:JSON.stringify(F([{name:`Home`,url:I},{name:`Pet Health Library`,url:`${I}/blog`},{name:`Hedgehog Guides`,url:`${I}/blog/hedgehog-health`}]))}]}},component:O(()=>N(()=>import(`./hedgehog-health-CETuCLkj.js`),__vite__mapDeps([138,1,2,3,4,5,6,7,57,9,58,8,133,29,19,20,127,10,11,12,13,14,15,16,17,18,70,39,38])),`component`)}),Kd=D(`/blog/hamster-health`)({loader:()=>Hn(),head:()=>{let{meta:e,links:t}=L({title:`Hamster Health Guides — Source-Cited Symptoms & Conditions | Voyage`,description:`Source-cited guides for hamster owners — dental malocclusion, tumors, pyometra, respiratory issues, and exotic vet care. Free from Voyage.`,canonicalPath:`/blog/hamster-health`,ogType:`website`});return{meta:e,links:t,scripts:[{type:`application/ld+json`,children:JSON.stringify(F([{name:`Home`,url:I},{name:`Pet Health Library`,url:`${I}/blog`},{name:`Hamster Guides`,url:`${I}/blog/hamster-health`}]))}]}},component:O(()=>N(()=>import(`./hamster-health-D6tYrT_5.js`),__vite__mapDeps([139,1,2,3,4,5,6,7,57,9,58,8,133,29,19,20,127,10,11,12,13,14,15,16,17,18,70,39,38])),`component`)}),qd=D(`/blog/guinea-pig-health`)({loader:()=>Hn(),head:()=>{let{meta:e,links:t}=L({title:`Guinea Pig Health Guides — Source-Cited Symptoms & Conditions | Voyage`,description:`Source-cited guides for guinea pig owners — dental disease, respiratory infections, GI issues, and exotic vet care. Free from Voyage.`,canonicalPath:`/blog/guinea-pig-health`,ogType:`website`});return{meta:e,links:t,scripts:[{type:`application/ld+json`,children:JSON.stringify(F([{name:`Home`,url:I},{name:`Pet Health Library`,url:`${I}/blog`},{name:`Guinea Pig Guides`,url:`${I}/blog/guinea-pig-health`}]))}]}},component:O(()=>N(()=>import(`./guinea-pig-health-Djg5prgm.js`),__vite__mapDeps([140,1,2,3,4,5,6,7,57,9,58,8,133,29,19,20,127,10,11,12,13,14,15,16,17,18,70,39,38])),`component`)}),Jd=D(`/blog/gerbil-health`)({loader:()=>Hn(),head:()=>{let{meta:e,links:t}=L({title:`Gerbil Health Guides — Symptoms & Care | Voyage`,description:`Source-cited guides to pet gerbil ear, dental, digestive, skin, seizure, and tumor concerns, including when to see an exotics vet.`,canonicalPath:`/blog/gerbil-health`,ogType:`website`});return{meta:e,links:t,scripts:[{type:`application/ld+json`,children:JSON.stringify(F([{name:`Home`,url:I},{name:`Pet Health Library`,url:`${I}/blog`},{name:`Gerbil Guides`,url:`${I}/blog/gerbil-health`}]))}]}},component:O(()=>N(()=>import(`./gerbil-health-DKUS-pIy.js`),__vite__mapDeps([141,1,2,3,4,5,6,7,57,9,58,8,133,29,19,20,127,10,11,12,13,14,15,16,17,18,70,39,38])),`component`)}),Yd=D(`/blog/fish-health`)({loader:()=>Hn(),head:()=>{let{meta:e,links:t}=L({title:`Fish Health Guides — Source-Cited Symptoms & Care | Voyage`,description:`Source-cited guides for fish keepers — swim bladder disorder, water quality, and emergency signs. Free from Voyage.`,canonicalPath:`/blog/fish-health`,ogType:`website`});return{meta:e,links:t,scripts:[{type:`application/ld+json`,children:JSON.stringify(F([{name:`Home`,url:I},{name:`Pet Health Library`,url:`${I}/blog`},{name:`Fish Guides`,url:`${I}/blog/fish-health`}]))}]}},component:O(()=>N(()=>import(`./fish-health-qTazzlhF.js`),__vite__mapDeps([142,1,2,3,4,5,6,7,57,9,58,8,133,29,19,20,127,10,11,12,13,14,15,16,17,18,70,39,38])),`component`)}),Xd=D(`/blog/ferret-health`)({loader:()=>Hn(),head:()=>{let{meta:e,links:t}=L({title:`Ferret Health Guides — Source-Cited Symptoms & Conditions | Voyage`,description:`Source-cited guides for ferret owners — adrenal disease, insulinoma, GI issues, and exotic vet care. Free from Voyage.`,canonicalPath:`/blog/ferret-health`,ogType:`website`});return{meta:e,links:t,scripts:[{type:`application/ld+json`,children:JSON.stringify(F([{name:`Home`,url:I},{name:`Pet Health Library`,url:`${I}/blog`},{name:`Ferret Guides`,url:`${I}/blog/ferret-health`}]))}]}},component:O(()=>N(()=>import(`./ferret-health-DNZh6PtB.js`),__vite__mapDeps([143,1,2,3,4,5,6,7,57,9,58,8,133,29,19,20,127,10,11,12,13,14,15,16,17,18,70,39,38])),`component`)}),Zd=D(`/blog/dog-health`)({loader:()=>Hn(),head:()=>{let{meta:e,links:t}=L({title:`Dog Health Guides — Source-Cited Symptoms & Conditions | Voyage`,description:`Source-cited guides for dog owners — dog symptoms, toxin dangers, breed-specific conditions, and emergency signs. Free from Voyage.`,canonicalPath:`/blog/dog-health`,ogType:`website`});return{meta:e,links:t,scripts:[{type:`application/ld+json`,children:JSON.stringify(F([{name:`Home`,url:I},{name:`Pet Health Library`,url:`${I}/blog`},{name:`Dog Guides`,url:`${I}/blog/dog-health`}]))}]}},component:O(()=>N(()=>import(`./dog-health-BMQBKTEE.js`),__vite__mapDeps([144,1,2,3,4,5,6,7,57,9,58,8,133,29,19,20,127,10,11,12,13,14,15,16,17,18,70,39,38])),`component`)}),Qd=D(`/blog/degu-health`)({loader:()=>Hn(),head:()=>{let{meta:e,links:t}=L({title:`Degu Health Guides — Symptoms & Care | Voyage`,description:`Source-cited guides to pet degu digestive, dental, eye, skin, foot, and diabetes concerns, including when to see an exotics vet.`,canonicalPath:`/blog/degu-health`,ogType:`website`});return{meta:e,links:t,scripts:[{type:`application/ld+json`,children:JSON.stringify(F([{name:`Home`,url:I},{name:`Pet Health Library`,url:`${I}/blog`},{name:`Degu Guides`,url:`${I}/blog/degu-health`}]))}]}},component:O(()=>N(()=>import(`./degu-health-3yzu9LL6.js`),__vite__mapDeps([145,1,2,3,4,5,6,7,57,9,58,8,133,29,19,20,127,10,11,12,13,14,15,16,17,18,70,39,38])),`component`)}),$d=D(`/blog/chinchilla-health`)({loader:()=>Hn(),head:()=>{let{meta:e,links:t}=L({title:`Chinchilla Health Guides — Source-Cited Symptoms & Care | Voyage`,description:`Source-cited guides for chinchilla owners — dental disease, GI stasis, not eating, and emergency signs. Free from Voyage.`,canonicalPath:`/blog/chinchilla-health`,ogType:`website`});return{meta:e,links:t,scripts:[{type:`application/ld+json`,children:JSON.stringify(F([{name:`Home`,url:I},{name:`Pet Health Library`,url:`${I}/blog`},{name:`Chinchilla Guides`,url:`${I}/blog/chinchilla-health`}]))}]}},component:O(()=>N(()=>import(`./chinchilla-health-BwXz58Tg.js`),__vite__mapDeps([146,1,2,3,4,5,6,7,57,9,58,8,133,29,19,20,127,10,11,12,13,14,15,16,17,18,70,39,38])),`component`)}),ef=D(`/blog/cat-health`)({loader:()=>Hn(),head:()=>{let{meta:e,links:t}=L({title:`Cat Health Guides — Source-Cited Symptoms & Conditions | Voyage`,description:`Source-cited guides for cat owners — urinary issues, hyperthyroidism, dental disease, and emergency signs. Free from Voyage.`,canonicalPath:`/blog/cat-health`,ogType:`website`});return{meta:e,links:t,scripts:[{type:`application/ld+json`,children:JSON.stringify(F([{name:`Home`,url:I},{name:`Pet Health Library`,url:`${I}/blog`},{name:`Cat Guides`,url:`${I}/blog/cat-health`}]))}]}},component:O(()=>N(()=>import(`./cat-health-ClTFmXbY.js`),__vite__mapDeps([147,1,2,3,4,5,6,7,57,9,58,8,133,29,19,20,127,10,11,12,13,14,15,16,17,18,70,39,38])),`component`)}),tf=D(`/blog/bird-health`)({loader:()=>Hn(),head:()=>{let{meta:e,links:t}=L({title:`Bird Health Guides — Source-Cited Symptoms & Conditions | Voyage`,description:`Source-cited guides for bird owners — respiratory issues, mites, egg binding, and avian vet care for budgies, cockatiels, and parrots. Free from Voyage.`,canonicalPath:`/blog/bird-health`,ogType:`website`});return{meta:e,links:t,scripts:[{type:`application/ld+json`,children:JSON.stringify(F([{name:`Home`,url:I},{name:`Pet Health Library`,url:`${I}/blog`},{name:`Bird Guides`,url:`${I}/blog/bird-health`}]))}]}},component:O(()=>N(()=>import(`./bird-health-D4Pzutlo.js`),__vite__mapDeps([148,1,2,3,4,5,6,7,57,9,58,8,133,29,19,20,127,10,11,12,13,14,15,16,17,18,70,39,38])),`component`)}),nf=D(`/blog/amphibian-health`)({loader:()=>Hn(),head:()=>{let{meta:e,links:t}=L({title:`Amphibian Health Guides — Source-Cited Symptoms & Care | Voyage`,description:`Source-cited guides for axolotl and amphibian keepers — floating, impaction, water quality, and emergency signs. Free from Voyage.`,canonicalPath:`/blog/amphibian-health`,ogType:`website`});return{meta:e,links:t,scripts:[{type:`application/ld+json`,children:JSON.stringify(F([{name:`Home`,url:I},{name:`Pet Health Library`,url:`${I}/blog`},{name:`Amphibian Guides`,url:`${I}/blog/amphibian-health`}]))}]}},component:O(()=>N(()=>import(`./amphibian-health-Dva5P_1B.js`),__vite__mapDeps([149,1,2,3,4,5,6,7,57,9,58,8,133,29,19,20,127,10,11,12,13,14,15,16,17,18,70,39,38])),`component`)}),rf=()=>N(()=>import(`./_slug-CK5a585T.js`),__vite__mapDeps([150,2,81,24,25,4,26,9,1,29,3,8,19,30,5,6,7,31,57,58,151,63,152,10,153,83,119,20,11,12,13,14,15,16,17,18,154,70,38,39,127,155,88,72]));function af(e){let t=e;for(let e=0;e<4;e++){let e=Vn[t]??Un[t];if(!e)break;t=e}return t}function of(e,t){let n=new Map(t.map(e=>[e.slug,e])),r=new Set,i=[];for(let t of e??[]){let e=n.get(af(t));!e||r.has(e.slug)||(r.add(e.slug),i.push(e))}return i}function sf(e){let t=2166136261;for(let n=0;n<e.length;n++)t=Math.imul(t^e.charCodeAt(n),16777619);return t>>>0}function cf(e,t){let n=On(t)?.key;return e.map(e=>({post:e,sharesTopic:n&&On(e)?.key===n?0:1,tiebreak:sf(`${t.slug}:${e.slug}`)})).sort((e,t)=>
14e.sharesTopic-t.sharesTopic||e.tiebreak-t.tiebreak).map(e=>e.post)}var lf=D(`/blog/$slug`)({loader:async({params:e})=>{let t=Vn[e.slug];if(t)throw E({to:`/blog/$slug`,params:{slug:t},statusCode:301});let n=Un[e.slug];if(n)throw E({to:`/blog/$slug`,params:{slug:n},statusCode:301});let[r,i]=await Promise.all([Gn(e.slug),Hn()]);if(!r)throw ne();if(!Yn(r,`CONSUMER`))throw E({to:`/forvets/knowledge/$slug`,params:{slug:e.slug},statusCode:301});let a=i.filter(t=>t.slug!==e.slug),o=of(r.internalLinks,a),s=new Set(o.map(e=>e.slug)),c=Dn(e.slug),l=cf(a.filter(e=>Dn(e.slug)===c&&!s.has(e.slug)),r),u=new Set(l.map(e=>e.slug)),d=cf(a.filter(e=>!s.has(e.slug)&&!u.has(e.slug)),r);return{post:r,related:[...o,...l,...d].slice(0,4)}},head:({loaderData:e})=>{let t=e?.post;return t?Xt(t):{}},component:O(rf,`component`)}),uf=()=>N(()=>import(`./triage-claim-CPM2z3hR.js`),__vite__mapDeps([156,2,24,25,4,26,9,1,47,14,15,3,85,5,6,7,107,8,55,32,80,81])),df=new Set([`ai_vet`,`blog`]),ff=new Set([`GREEN`,`YELLOW`,`RED`]),pf=D(`/auth/triage-claim`)({validateSearch:e=>({token:typeof e.token==`string`?e.token:``,cardId:typeof e.cardId==`string`?e.cardId:``,journeyId:typeof e.journeyId==`string`?e.journeyId:void 0,entrySurface:typeof e.entrySurface==`string`&&df.has(e.entrySurface)?e.entrySurface:void 0,blogSlug:typeof e.blogSlug==`string`?e.blogSlug:void 0,followup:e.followup===`1`||e.followup===!0,report:e.report!==`0`&&e.report!==!1,next:typeof e.next==`string`?e.next:void 0,severity:typeof e.severity==`string`&&ff.has(e.severity)?e.severity:void 0}),component:O(uf,`component`)}),mf=A({method:`GET`}).handler(oe(`723abe8ad6bce98d99c749670d80271c3b1c20f8e9a4a262c456444bb28abd34`)),hf=D(`/auth/callback`)({loaderDeps:({search:e})=>({search:e}),loader:({deps:e})=>mf({data:e.search}),component:O(()=>N(()=>import(`./callback-Dw4Jfnqs.js`),__vite__mapDeps([157,9,2])),`component`)}),gf=D(`/appsumo/activate`)({validateSearch:e=>({code:typeof e.code==`string`?e.code:void 0}),head:()=>({meta:[{title:`Activate your AppSumo deal — ${dn}`},{name:`robots`,content:`noindex, nofollow`}],links:[{rel:`canonical`,href:en(`/appsumo/activate`)}]}),component:O(()=>N(()=>import(`./appsumo.activate-Bvze4kXM.js`),__vite__mapDeps([158,2,24,25,4,26,9,1,47,14,15,29,3,8,19,16,17,18,5,6,7,107,39,38])),`component`)}),_f=D(`/pacc/`)({component:O(()=>N(()=>import(`./pacc-CXZlRyR7.js`),__vite__mapDeps([159,24,2,25,4,26,9,29,3,8,19,64,68,130])),`component`)}),vf=D(`/pacc/login`)({beforeLoad:({context:e})=>{if(e.user&&!e.user.isAnonymous)throw E({to:`/pacc/enroll`})},component:O(()=>N(()=>import(`./login-BP-aQ3Hm.js`),__vite__mapDeps([160,2,24,25,4,26,9,34,35,36,19,161,8])),`component`)}),yf=D(`/pacc/enroll`)({beforeLoad:({context:e})=>{if(!e.user||e.user.isAnonymous)throw E({to:`/pacc/login`})},component:O(()=>N(()=>import(`./enroll-DPjMNXgA.js`),__vite__mapDeps([162,2,24,25,4,26,9,1,47,14,15,12,13,3,85,5,6,7,163,8])),`component`)}),bf=D(`/pacc/coordinator-login`)({beforeLoad:({context:e})=>{if(e.user&&!e.user.isAnonymous)throw E({to:`/pacc/coordinator`})},component:O(()=>N(()=>import(`./coordinator-login-CZPhEyjt.js`),__vite__mapDeps([164,2,24,25,4,26,9,34,35,36,19,50,8])),`component`)}),xf=D(`/pacc/coordinator`)({beforeLoad:({context:e})=>{if(!e.user||e.user.isAnonymous)throw E({to:`/pacc/coordinator-login`})},component:O(()=>N(()=>import(`./coordinator-CM8OMn6f.js`),__vite__mapDeps([165,2,23,24,25,4,26,9,27,8,1,28,29,3,19,30,31,32,33,47,14,15,12,13,5,6,7,166,167,37,10,38,39])),`component`)}),Sf=D(`/pacc/animals`)({beforeLoad:({context:e})=>{if(!e.user||e.user.isAnonymous)throw E({to:`/pacc/login`})},component:O(()=>N(()=>import(`./animals-BsX-9x-5.js`),__vite__mapDeps([168,24,2,25,4,26,9,1,12,13,14,15,29,3,8,19,5,6,7,169,43])),`component`)}),Cf=[{price:`0`,description:`Free for licensed veterinary professionals`}],wf=[{name:`Ask a clinical question`,text:`Type your clinical question, paste a patient case, or add a photo, lab report, radiograph, or PDF.`},{name:`Read the cited answer`,text:`Read the verdict, recommendations, and dose math, with citations beside supported clinical claims.`},{name:`Generate the paperwork`,text:`Generate a SOAP note or a client handout from the same answer, citations intact.`}],Tf=[{question:`What can I use Voyage for during a case?`,answer:`Use it to work through a differential, interpret case files, search veterinary references and live literature, check dose math, ask follow-up questions, and prepare a SOAP note or client handout. Voyage keeps the discussion connected to the patient while leaving the clinical decision with you.`},{question:`Can it interpret lab results and diagnostic images?`,answer:`Yes. Add a photo, lab report, radiograph, ultrasound image, or PDF to the clinical question. Voyage can describe visible findings, explain patterns in a panel, and relate the material to the available patient history and literature. Image quality, missing views, and incomplete clinical context limit interpretation; Voyage does not acquire the study or replace your examination and judgment.`},{question:`Does it cite its sources?`,answer:`Yes. Citations appear beside supported clinical claims so you can open the veterinary source and inspect the relevant passage. Sources are listed with each answer, and the available reference base is published at thevoyage.ai/forvets/sources.`},{question:`What happens when the literature has no defensible answer?`,answer:`An evidence gap should stay visible. Voyage can indicate insufficient support, qual
14ify a conclusion, and withhold a dose card when it cannot locate a supporting source. Inspect the references and unresolved questions; absence of a warning is not validation. Confirm treatment and dosing against your current formulary and clinical judgment.`},{question:`Can it diagnose a patient or replace clinical judgment?`,answer:`No. Voyage is a reference and reasoning tool that surfaces cited evidence to inform your decision. It does not examine the patient, does not establish a veterinary-client-patient relationship, and does not replace your clinical judgment. Confirm dosing and treatment against current formularies before you act.`},{question:`Can it write SOAP notes and client handouts?`,answer:`Yes. From an answer you can generate a SOAP note or a plain-language client handout in one step, with the citations from the underlying answer carried through.`},{question:`Which species does it cover?`,answer:`Dogs and cats, plus exotic companion species — rabbits, guinea pigs, ferrets, rodents, birds, and reptiles. Exotic coverage is a deliberate focus rather than dog guidance reshaped to fit another species.`},{question:`How is this different from asking a general-purpose AI?`,answer:`Voyage combines veterinary references and live literature with patient-scoped context, multimodal case reading, calculator-backed dose math, and clinical documents. You can inspect citations and request a review of the answer against its sources. The source manifest and product evaluations are public, so you can examine the coverage and limitations yourself.`},{question:`Can I inspect how Voyage has been evaluated?`,answer:`Yes. VetEvidenceBench 2.5 publishes 50 paired veterinary cases, and PetMemoryBench 2.0 publishes 24 multi-pet memory tasks with three recalls each. The frozen prompts, dated product captures, adjudications, schemas, score inputs, methods, and offline scorers are public. These are system evaluations: each result describes the tested product, model, tools, memory configuration, and run protocol together — not an underlying language model in isolation.`},{question:`Who can get access, and is it free?`,answer:`Access is free for licensed veterinarians, credentialed veterinary technicians, and veterinary and vet-tech students. There is no card or paid clinical tier. Create an account, then submit a licence number and jurisdiction, an applicable technician credential, or a school email. The application is reviewed before the clinical desk opens.`},{question:`Is patient and clinic information kept private?`,answer:`Case details you enter are used to answer your question and to keep context across a case — not sold. Voyage is a working aid, not the medical record of record; your practice management system remains the custodian of the patient record.`}],Ef=`A clinical AI assistant for licensed veterinary professionals. Ask a case or add case files, read a cited answer, and generate the SOAP note or client handout from it. Free for licensed veterinary professionals.`;function Df(){let e=`/forvets`,t=I+e,{meta:n,links:r}=L({title:`Voyage for Vets — cited answers you can check, dose by dose`,description:Ef,canonicalPath:e,ogImage:tn,ogType:`website`});return n.push({property:`og:site_name`,content:`Voyage for Vets`}),{meta:n,links:r,scripts:[{type:`application/ld+json`,children:JSON.stringify(pn({name:`Voyage for Vets`,description:Ef,url:t,offers:Cf}))},{type:`application/ld+json`,children:JSON.stringify(Jt(Tf))},{type:`application/ld+json`,children:JSON.stringify(fn({name:`How to use Voyage for Vets on a clinical case`,steps:wf.map(e=>({name:e.name,text:e.text}))}))},{type:`application/ld+json`,children:JSON.stringify(F([{name:`Home`,url:I},{name:`Voyage for Vets`,url:t}]))}]}}var Of=D(`/forvets/`)({beforeLoad:({context:e})=>{if(e.user&&!e.user.isAnonymous)throw E({to:`/forvets/ask`})},head:()=>Df(),component:O(()=>N(()=>import(`./forvets-FJuhwaR6.js`),__vite__mapDeps([170,2,1,29,3,4,8,9,19,85,25,57,58,118,49,61,50,166,65,45,6,66,102,171,172,68,173,71,39,38])),`component`)}),kf=D(`/forvets/sources`)({head:()=>({meta:[{title:`Source manifest — ${Yt}`},{name:`description`,content:`What Voyage's clinical corpus actually contains: the veterinary reference works and guideline bodies indexed for citation, the live sources searched at question time, and the titles we don't carry.`}]}),component:O(()=>N(()=>import(`./sources-Dz8fYqaJ.js`),__vite__mapDeps([174,29,2,3,4,8,9,19,151,61,102,172])),`component`)});function Af({onRetry:e}){let t=ze(),n=async()=>{await e(),await t.refetchQueries({type:`active`})};return(0,R.jsxs)(`div`,{role:`alert`,className:`mx-auto max-w-md px-5 py-16 text-center`,children:[(0,R.jsx)(`h1`,{className:`font-heading text-2xl text-text-primary`,children:`We could not reach Voyage`}),(0,R.jsx)(`p`,{className:`mt-2 text-sm text-text-secondary`,children:`Your account and vet access have not changed. Check your connection and try again.`}),(0,R.jsx)(`button`,{type:`button`,className:`mt-5 rounded-full border border-surface-border px-4 py-2 text-sm font-medium`,onClick:()=>void n(),children:`Try again`})]})}function jf({children:e}){let t=ge(),{data:n,isPending:r,isError:i,refetch:a}=er(),o=n?.status===`VERIFIED`;return(0,z.useEffect)(()=>
14{if(!r&&!i){if(!n||n.status===`NONE`){t({to:`/forvets/signup`});return}if(n.status===`PENDING`){t({to:`/forvets/pending`});return}n.status===`REJECTED`&&t({to:`/forvets/rejected`})}},[n,r,i,t]),r?(0,R.jsx)(`div`,{className:`flex min-h-[calc(100svh-4.5rem)] items-center justify-center`,children:(0,R.jsx)(ht,{className:`size-6 animate-spin text-text-secondary`})}):i?(0,R.jsx)(Af,{onRetry:a}):o?(0,R.jsx)(R.Fragment,{children:e}):null}function Mf({initial:e,onSuccess:t,analyticsContext:n}){let r=ge(),[i,a]=(0,z.useState)(e?.fullName??``),[o,s]=(0,z.useState)(e?.credential??`DVM`),[c,l]=(0,z.useState)(e?.credentialOtherDetail??``),[u,d]=(0,z.useState)(e?.licenseNumber??``),[f,p]=(0,z.useState)(e?.licenseState??``),[m,h]=(0,z.useState)(e?.clinicName??``),[g,_]=(0,z.useState)(!1),[v,y]=(0,z.useState)(null),b=(0,z.useRef)(!1),x=(0,z.useMemo)(()=>Xn(o),[o]),S=x===`veterinarian`||x===`technician`,C=o===`OTHER`||o===`OTHER_DVM`,ee=x===`student`,w=e?.rejectedAt?`reapply`:`new`,te=()=>{!n||b.current||(b.current=!0,M(Ye.vetApplicationStarted,{session_id:n.journeyId,entry_surface:`vet_knowledge`,content_slug:n.contentSlug,application_mode:w}))},T=(0,z.useMemo)(()=>!(g||i.trim().length<2||S&&(u.trim().length<2||!f)||C&&c.trim().length===0),[g,i,S,u,f,C,c]);async function ne(e){if(e.preventDefault(),T){_(!0),y(null);try{let e={fullName:i.trim(),credential:o,...n?{analyticsContext:{journeyId:n.journeyId,entrySurface:`vet_knowledge`,contentSlug:n.contentSlug}}:{}};S&&(e.licenseNumber=u.trim(),e.licenseState=f),C&&(e.credentialOtherDetail=c.trim());let r=m.trim();r&&(e.clinicName=r),t(await Qn(e))}catch(e){if(e?.response?.status===409){r({to:`/forvets/ask`});return}y(e instanceof Error?e.message:`Could not submit application.`),_(!1)}}}return(0,R.jsxs)(`form`,{onSubmit:ne,onFocusCapture:te,onChange:te,className:`flex flex-col gap-5`,children:[v&&(0,R.jsx)(`p`,{className:`rounded-lg border border-status-bad/30 bg-status-bad/10 px-3 py-2 text-sm text-text-primary`,children:v}),(0,R.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,R.jsx)(J,{htmlFor:`fullName`,children:`Full name`}),(0,R.jsx)(q,{id:`fullName`,value:i,onChange:e=>a(e.target.value),placeholder:`Dr. Jane Smith`,required:!0,minLength:2,maxLength:120,className:`h-11`})]}),(0,R.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,R.jsx)(J,{htmlFor:`credential`,children:`Credential`}),(0,R.jsx)(`select`,{id:`credential`,value:o,onChange:e=>s(e.target.value),className:`block h-11 w-full max-w-full truncate rounded-md border border-input bg-background px-3 text-sm focus:outline-none focus:ring-2 focus:ring-text-primary/20`,children:Zn.map(e=>(0,R.jsx)(`optgroup`,{label:e.label,children:e.options.map(e=>(0,R.jsx)(`option`,{value:e.value,children:e.label},e.value))},e.category))})]}),ee&&(0,R.jsxs)(`p`,{className:`rounded-lg border border-accent-blue/30 bg-accent-blue/15 px-3 py-2 text-sm leading-relaxed text-text-primary`,children:[`No license needed. We verify students with your school email — make sure you signed up with your`,` `,(0,R.jsx)(`span`,{className:`font-semibold`,children:`.edu (or university) address`}),`. Student accounts get full access, labeled for training use.`]}),C&&(0,R.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,R.jsx)(J,{htmlFor:`credentialOtherDetail`,children:`Describe your credential`}),(0,R.jsx)(q,{id:`credentialOtherDetail`,value:c,onChange:e=>l(e.target.value),placeholder:o===`OTHER_DVM`?`e.g. BVM&S, DACVIM, PhD in Veterinary Medicine`:`e.g. Veterinary Nurse, Wildlife Rehabilitator`,required:!0,minLength:1,maxLength:200,className:`h-11`})]}),S&&(0,R.jsxs)(`div`,{className:`grid grid-cols-1 gap-4 sm:grid-cols-[minmax(0,9rem)_minmax(0,1fr)]`,children:[(0,R.jsxs)(`div`,{className:`space-y-1.5 min-w-0`,children:[(0,R.jsx)(J,{htmlFor:`licenseState`,children:`State / Jurisdiction`}),(0,R.jsxs)(`select`,{id:`licenseState`,value:f,onChange:e=>p(e.target.value),required:S,className:`block h-11 w-full max-w-full truncate rounded-md border border-input bg-background px-3 text-sm focus:outline-none focus:ring-2 focus:ring-text-primary/20`,children:[(0,R.jsx)(`option`,{value:``,children:`Select…`}),$n.map(e=>(0,R.jsx)(`optgroup`,{label:e.label,children:e.options.map(e=>(0,R.jsx)(`option`,{value:e.value,children:e.value===`INTL`?e.label:`${e.value} — ${e.label}`},e.value))},e.label))]})]}),(0,R.jsxs)(`div`,{className:`space-y-1.5 min-w-0`,children:[(0,R.jsx)(J,{htmlFor:`licenseNumber`,children:`License number`}),(0,R.jsx)(q,{id:`licenseNumber`,value:u,onChange:e=>d(e.target.value),required:S,minLength:2,maxLength:60,className:`h-11`})]})]}),(0,R.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,R.jsx)(J,{htmlFor:`clinicName`,children:`Clinic name (optional)`}),(0,R.jsx)(q,{id:`clinicName`,value:m,onChange:e=>h(e.target.value),placeholder:`e.g. Oak Street Animal Hospital`,maxLength:200,className:`h-11`})]}),(0,R.jsx)(dt,{type:`submit`,disabled:!T,className:`h-12 rounded-full bg-cta-black text-sm font-semibold text-text-inverse hover:bg-cta-black/85 disabled:opacity-50`,children:g?(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(ht,{className:`mr-2 size-4 animate-spin`}),` Submitting…`]}):`Submit application`}),(0,R.jsx)(`p`,{className:`text-xs text-text-tertiary`,children:`We manually review every application. You'll be notified once your license is verified — typically within one business day.`})]})}function Nf({threshold:e=.5,dwellMs:t=500,onQualified:n,resetKey:r}){let i=(0,z.useRef)(null),a=(0,z.useRef)(!1),o=(0,z.useRef)(r),s=(0,z.useRef)(n);return s.current=n,(0,z.useEffect)(()=>{o.current!==r&&(o.current=r,a.current=!1);let n=i.current;if(!n||a.current)return;let c,l=()=>{c!==void 0&&(clearTimeout(c),c=void 0)},u=new IntersectionObserver(([n])=>{if(!a.current){if(!(n?.isIntersecting&&n.intersectionRatio>=e)){l();return}c===void 0&&(c=setTimeout(()=>{c=void 0,!a.current&&(a.current=!0,u.disconnect(),s.current())},t))}},{threshold:e});return u.observe(n),()=>{l(),u.disconnect()}},[t,r,e]),i}var Pf=`/forvets/ask`;function Ff(e){if(typeof e!=`string`||!e||!e.startsWith(`/`)||e.startsWith(`//`)||e.startsWith(`/\\`))return Pf;try{let t=new URL(e,`https://x.invalid`);return t.pathname.startsWith(`/forvets/`)?`${t.pathname}${t.search}`:Pf}catch{return Pf}}var If=/^[a-z0-9]+(?:-[a-z0-9]+)*$/,Lf=/^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;function Rf(e,t){return typeof e!=`string`||!Lf.test(e)||typeof t!=`string`||t.length>160||!If.test(t)?null:{journeyId:e,contentSlug:t}}function zf(e){let t=Rf(Je()??crypto.randomUUID(),e);if(!t)throw Error(`Invalid veterinary content slug`);return{...t,entrySurface:`vet_knowledge`}}var Bf=`vy_vet_reader_seen`;function Vf(e,t){if(!e)return null;try{let n=new URL(e).host;return n&&n!==t?n:null}catch{return null}}function Hf(e){if(e.webdriver===!0)return!0;let t=e.userAgent??``;return/bot|crawl|spider|slurp|headless|puppeteer|playwright|phantomjs|lighthouse|preview|scrapy|curl|wget|python-requests|axios|node-fetch/i.test(t)}function Uf(){if(typeof window>`u`||typeof document>`u`)return{referrer_host:null,is_returning:!1,is_automated:!1};let e=!1;try{e=window.localStorage.getItem(Bf)!==null,window.localStorage.setItem(Bf,`1`)}catch{}return{referrer_host:Vf(document.referrer,window.location.host),is_returning:e,is_automated:Hf(window.navigator)}}function Wf(e){return`Pressure-test the key clinical decisions in ${e.replace(/[\r\n\t]+/g,` `).replace(/\s+/g,` `).trim().slice(0,160)||`this clinical topic`}.`}function Gf(e){let t=Rf(e.journeyId,e.slug);
14if(!t)throw Error(`Invalid veterinary acquisition context`);return{pathname:`/forvets/ask`,search:{q:Wf(e.topic),acqJourney:t.journeyId,contentSlug:t.contentSlug}}}function Kf(e){let t=Ff(e),n=new URL(t,`https://voyage.invalid`);return Rf(n.searchParams.get(`acqJourney`),n.searchParams.get(`contentSlug`))}function qf(e,t){let n=`vy_vet_first_answer:${t.journeyId}:${t.contentSlug}`;try{if(e.getItem(n))return!1;e.setItem(n,`1`)}catch{}return!0}var Jf=D(`/forvets/signup`)({validateSearch:e=>({next:typeof e.next==`string`?e.next:void 0,auth:e.auth===`google`?`google`:void 0}),head:()=>({meta:[{title:`Apply for verified access — ${Yt}`},{name:`robots`,content:`noindex, follow`}]}),component:Yf});function Yf(){let{user:e}=Jf.useRouteContext(),{next:t,auth:n}=Jf.useSearch(),r=y(),i=ge(),a=ze(),o=Ff(t),s=Kf(o),c=(0,z.useRef)(!1),l=Nf({threshold:.5,dwellMs:500,resetKey:s?.journeyId,onQualified:()=>{s&&M(Ye.vetSignupStarted,{session_id:s.journeyId,entry_surface:`vet_knowledge`,content_slug:s.contentSlug,auth_mode:`signup_page`})}}),u=()=>{t?window.location.href=o:i({to:`/forvets/ask`})},d=e=>{a.setQueryData(tr,e),e.status===`VERIFIED`?u():e.status===`REJECTED`?i({to:`/forvets/rejected`}):i({to:`/forvets/pending`})},f=!!e&&!e.isAnonymous,{data:p,isPending:m,isError:h,refetch:g}=er(f),_=f&&m;return(0,z.useEffect)(()=>{if(!f||n!==`google`||!s||c.current)return;let e=`vy_vet_auth_completed:${s.journeyId}:google`;try{if(sessionStorage.getItem(e))return;sessionStorage.setItem(e,`1`)}catch{}c.current=!0,M(Ye.vetAuthCompleted,{session_id:s.journeyId,entry_surface:`vet_knowledge`,content_slug:s.contentSlug,auth_mode:`google`})},[f,n,s]),(0,z.useEffect)(()=>{!f||m||(p?.status===`PENDING`?i({to:`/forvets/pending`}):p?.status===`VERIFIED`&&(t?window.location.href=o:i({to:`/forvets/ask`})))},[f,m,p,i,t,o]),(0,R.jsx)(`div`,{className:`mx-auto max-w-xl px-4 py-16 sm:px-6`,children:(0,R.jsx)(`div`,{ref:l,className:`rounded-2xl border border-surface-border bg-white p-6 shadow-[0_2px_20px_rgba(23,20,18,0.04)] sm:p-8`,children:f?_?(0,R.jsx)(`p`,{className:`text-sm text-text-secondary`,children:`Loading…`}):h?(0,R.jsx)(Af,{onRetry:g}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(T,{to:`/forvets`,className:`mb-4 inline-flex text-sm text-text-secondary hover:text-text-primary transition-colors`,children:`← Back`}),(0,R.jsx)(`h1`,{className:`font-heading text-2xl text-text-primary`,children:p?.status===`REJECTED`?`Update your application`:`Apply for verified vet access`}),(0,R.jsx)(`p`,{className:`mt-2 text-sm text-text-secondary`,children:`Clinical Desk is available to licensed veterinary professionals. Tell us about your license so we can verify it and follow up if anything looks off.`}),p?.status===`REJECTED`&&p.profile?.reviewNotes&&(0,R.jsxs)(`div`,{className:`mt-4 rounded-lg border border-status-bad/30 bg-status-bad/10 p-3 text-sm text-text-primary`,children:[(0,R.jsx)(`p`,{className:`font-medium`,children:`Reviewer notes`}),(0,R.jsx)(`p`,{className:`mt-1 text-text-secondary`,children:p.profile.reviewNotes})]}),(0,R.jsx)(`div`,{className:`mt-6`,children:(0,R.jsx)(Mf,{initial:p?.profile??void 0,onSuccess:d,analyticsContext:s??void 0})})]}):(0,R.jsx)(Xf,{onAfterAuth:()=>r.invalidate(),next:o,analyticsContext:s??void 0})})})}function Xf({onAfterAuth:e,next:t,analyticsContext:n}){let[r,i]=(0,z.useState)(``),[a,o]=(0,z.useState)(`email`),[s,c]=(0,z.useState)(``),[l,u]=(0,z.useState)(!1),[d,f]=(0,z.useState)(null);async function p(){u(!0),f(null);try{let e=await j({data:{next:`/forvets/signup?next=${encodeURIComponent(t)}&auth=google`}});e.url&&(window.location.href=e.url)}catch(e){f(e instanceof Error?e.message:`Sign in failed`),u(!1)}}async function m(){if(r){u(!0),f(null);try{await se({data:{email:r}}),o(`otp`)}catch(e){f(e instanceof Error?e.message:`Failed to send code`)}finally{u(!1)}e?.()}}async function h(){let e=s.replace(/\D/g,``);if(e.length!==6){f(`Enter the 6-digit code from your email`);return}u(!0),f(null);try{await me({data:{email:r,token:e}}),n&&M(Ye.vetAuthCompleted,{session_id:n.journeyId,entry_surface:`vet_knowledge`,content_slug:n.contentSlug,auth_mode:`otp`}),window.location.href=t}catch(e){f(e instanceof Error?e.message:`Invalid code`),c(``),u(!1)}}function g(){o(`email`),c(``),f(null)}return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`h1`,{className:`font-heading text-2xl text-text-primary`,children:`Sign in to apply`}),(0,R.jsx)(`p`,{className:`mt-2 text-sm text-text-secondary`,children:`Sign in or create your Voyage account to start the verification process.`}),d&&(0,R.jsx)(`p`,{className:`mt-4 rounded-lg border border-status-bad/30 bg-status-bad/10 px-3 py-2 text-sm text-text-primary`,children:d}),(0,R.jsx)(`div`,{className:`mt-6 flex flex-col gap-3`,children:(0,R.jsx)(K,{onClick:p,disabled:l})}),(0,R.jsxs)(`div`,{className:`my-6 flex items-center gap-4`,children:[(0,R.jsx)(`hr`,{className:`flex-1 border-surface-border`}),(0,R.jsx)(`span`,{className:`text-sm text-text-tertiary`,children:`or`}),(0,R.jsx)(`hr`,{className:`flex-1 border-surface-border`})]}),a===`otp`?(0,R.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,R.jsxs)(`div`,{className:`text-center`,children:[(0,R.jsx)(`p`,{className:`font-medium text-text-primary`,children:`Enter your sign-in code`}),(0,R.jsxs)(`p`,{className:`mt-1 text-sm text-text-secondary`,children:[`We sent a 6-digit code to `,(0,R.jsx)(`strong`,{children:r}),`.`]})]}),(0,R.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,R.jsx)(J,{htmlFor:`open-signup-otp`,children:`Verification code`}),(0,R.jsx)(q,{id:`open-signup-otp`,type:`text`,inputMode:`numeric`,pattern:`\\d{6}`,maxLength:6,autoComplete:`one-time-code`,placeholder:`030086`,value:s,onChange:e=>c(e.target.value.replace(/\D/g,``).slice(0,6)),className:`h-12 tracking-[0.5em] text-center font-mono`,autoFocus:!0})]}),(0,R.jsx)(dt,{onClick:h,disabled:l||s.length!==6,className:`h-12 rounded-full bg-cta-black text-sm font-semibold text-text-inverse hover:bg-cta-black/85`,children:l?`Verifying…`:`Verify code`}),(0,R.jsx)(`button`,{type:`button`,onClick:g,disabled:l,className:`text-center text-sm text-text-secondary hover:text-text-primary transition-colors`,children:`Use a different email`})]}):(0,R.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,R.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,R.jsx)(J,{htmlFor:`email`,children:`Email address`}),(0,R.jsx)(q,{id:`email`,type:`email`,value:r,onChange:e=>i(e.target.value),placeholder:`[email protected]`,className:`h-12`})]}),(0,R.jsx)(dt,{onClick:m,disabled:l||!r,className:`h-12 rounded-full bg-cta-black text-sm font-semibold text-text-inverse hover:bg-cta-black/85`,children:l?`Sending…`:`Send code`})]})]})}var Zf=D(`/forvets/rejected`)({beforeLoad:({context:e})=>
14{if(!e.user||e.user.isAnonymous)throw E({to:`/forvets/signup`})},head:()=>({meta:[{title:`Application not approved — ${Yt}`},{name:`robots`,content:`noindex, follow`}]}),component:O(()=>N(()=>import(`./rejected-D_wopE1D.js`),__vite__mapDeps([175,2,24,25,4,26,9,1,29,3,8,19,85,5,6,7,176,177,12,13,14,15])),`component`)}),Qf=D(`/forvets/preferences`)({beforeLoad:({context:e})=>{if(!e.user||e.user.isAnonymous)throw E({to:`/forvets/signup`})},head:()=>({meta:[{title:`My work preferences · ${Yt}`},{name:`robots`,content:`noindex, follow`}]}),component:O(()=>N(()=>import(`./preferences-DmrM8psB.js`),__vite__mapDeps([178,23,2,24,25,4,26,9,27,8,1,29,3,19,5,6,7,179,47,14,15,12,13,85,180,176,177])),`component`)}),$f=D(`/forvets/pending`)({beforeLoad:({context:e})=>{if(!e.user||e.user.isAnonymous)throw E({to:`/forvets/signup`})},head:()=>({meta:[{title:`Application under review — ${Yt}`},{name:`robots`,content:`noindex, follow`}]}),component:O(()=>N(()=>import(`./pending-CbHeH7FT.js`),__vite__mapDeps([181,2,24,25,4,26,9,1,29,3,8,19,85,5,6,7,176,177,12,13,14,15])),`component`)}),ep=D(`/forvets/library-preview`)({beforeLoad:()=>{throw E({to:`/forvets/library`})},head:()=>({meta:[{title:`My Library Preview · ${Yt}`},{name:`robots`,content:`noindex, nofollow`}]}),component:O(()=>N(()=>import(`./library-preview-CSBJaWr0.js`),__vite__mapDeps([182,24,2,25,4,26,9,1,3,5,6,7,183,47,14,15,12,13,29,8,19,99,17,18,151,107,66,103,68,104])),`component`)}),tp=D(`/forvets/document-settings`)({beforeLoad:({context:e})=>{if(!e.user||e.user.isAnonymous)throw E({to:`/forvets/signup`})},head:()=>({meta:[{title:`Document settings · Clinical Desk · ${Yt}`},{name:`robots`,content:`noindex, follow`}]}),component:O(()=>N(()=>import(`./document-settings-BOxRhETN.js`),__vite__mapDeps([184,2,1,29,3,4,8,9,19,5,6,7,66,104,176,177,12,13,14,15,180,47])),`component`)}),np=e=>[`forvets`,`sessions`,e];function rp(e){let t=ze(),[n,r]=(0,z.useState)(null),i=!!e,{data:a,isLoading:o,isError:s,refetch:c}=Ve({queryKey:np(e),queryFn:()=>rr(e),enabled:i,staleTime:6e4,gcTime:30*6e4});(0,z.useEffect)(()=>{s&&r(`Could not load conversation history.`)},[s]);let l=Re({mutationFn:e=>nr(e),onSuccess:(n,r)=>{t.setQueryData(np(e),e=>e?.filter(e=>e.id!==r))},onError:()=>r(`Could not delete conversation.`)}),u=(0,z.useCallback)(async()=>{await c()},[c]),d=(0,z.useCallback)(async e=>{await l.mutateAsync(e)},[l]);return{sessions:a??[],loading:i&&o,error:n,setError:r,refresh:u,deleteSession:d}}var ip=()=>N(()=>import(`./ask-CIXTe6sJ.js`),__vite__mapDeps([185,2,186,1,5,6,7,4,23,24,25,26,9,27,8,97,28,29,3,19,30,31,32,33,47,14,15,12,13,117,85,99,17,18,34,35,36,60,57,62,187,118,50,76,63,107,166,64,188,66,189,190,103,67,191,192,171,44,193,45,37,10,38,39,194,173,105,106,40,108,98,100,101,41,42,43,94,102,68,104,69,179,180,54,16,11,195,176,109,79,55,80,81,177])),ap=e=>typeof e==`string`&&e?e:void 0,op=D(`/forvets/ask`)({validateSearch:e=>{let t=Rf(e.acqJourney,e.contentSlug);return{q:ap(e.q),sessionId:ap(e.sessionId),species:ap(e.species),breed:ap(e.breed),age:ap(e.age),weight:ap(e.weight),sex:ap(e.sex),...t?{acqJourney:t.journeyId,contentSlug:t.contentSlug}:{}}},beforeLoad:({context:e,location:t})=>{if(!e.user||e.user.isAnonymous)throw E({to:`/forvets/signup`,search:{next:t.href}})},loader:async({context:e})=>{let t=e.user?.id;if(!(typeof window>`u`||!t))try{await pl.ensureQueryData({queryKey:np(t),queryFn:()=>rr(t)})}catch{}},head:()=>({meta:[{title:`Ask · Clinical Desk · ${Yt}`},{name:`robots`,content:`noindex, follow`}]}),component:O(ip,`component`)}),sp=D(`/admin/`)({beforeLoad:()=>{throw E({to:`/admin/open-voyage`})}}),cp=D(`/admin/vet-analytics`)({validateSearch:e=>({range:ir(e.range)}),component:O(()=>N(()=>import(`./vet-analytics-C5i67_AN.js`),__vite__mapDeps([196,2,24,25,4,26,9,1,12,13,14,15,29,3,8,19,85,5,6,7,118,166,192,68,197,198])),`component`)}),lp=()=>N(()=>import(`./users-m8ZF9Nnl.js`),__vite__mapDeps([199,2,23,24,25,4,26,9,27,8,1,28,29,3,19,30,31,32,33,200,13,14,15,12,85,5,6,7,119,63,201,105,37,10,38,39,106,107,202,203])),up=new Set([`all`,`vet`,`owner`,`anonymous`]),dp=D(`/admin/users`)({validateSearch:e=>{let t=typeof e.userType==`string`?e.userType:`all`;return{view:e.view===`consumer`||e.view===`vet`?e.view:`directory`,search:typeof e.search==`string`?e.search:void 0,userType:up.has(t)?t:`all`,from:typeof e.from==`string`?e.from:void 0,to:typeof e.to==`string`?e.to:void 0,expanded:typeof e.expanded==`string`?e.expanded:void 0}},component:O(lp,`component`)}),fp=D(`/admin/triage`)({validateSearch:e=>({userId:typeof e.userId==`string`?e.userId:void 0,from:typeof e.from==`string`?e.from:void 0,to:typeof e.to==`string`?e.to:void 0,id:typeof e.id==`
14string`?e.id:void 0}),component:O(()=>N(()=>import(`./triage-Bd5nx4wv.js`),__vite__mapDeps([204,2,23,24,25,4,26,9,27,8,1,28,29,3,19,30,31,32,33,85,5,6,7,201,200,13,14,15,105,37,10,38,39,106,107,205])),`component`)}),pp=()=>N(()=>import(`./sessions-B7-jYIAv.js`),__vite__mapDeps([206,2,23,24,25,4,26,9,27,8,1,28,29,3,19,30,31,32,33,14,200,13,15,85,5,6,7,50,119,100,152,188,45,37,10,38,39,105,106,107,202,109,79])),mp=new Set([`all`,`vet`,`owner`]),hp=D(`/admin/sessions`)({validateSearch:e=>{let t=typeof e.userType==`string`?e.userType:`all`;return{session:typeof e.session==`string`?e.session:void 0,userId:typeof e.userId==`string`?e.userId:void 0,userType:mp.has(t)?t:`all`,search:typeof e.search==`string`?e.search:void 0,from:typeof e.from==`string`?e.from:void 0,to:typeof e.to==`string`?e.to:void 0,group:e.group===`off`?`off`:void 0}},component:O(pp,`component`)}),gp=()=>N(()=>import(`./reminders-HAIXLD-h.js`),__vite__mapDeps([207,2,23,24,25,4,26,9,27,8,1,28,29,3,19,30,31,32,33,85,5,6,7,201,200,13,14,15,105,37,10,38,39,106,107,205])),_p=new Set([`true`,`false`]),vp=D(`/admin/reminders`)({validateSearch:e=>{let t=typeof e.includeInactive==`string`?e.includeInactive:void 0,n=typeof e.includeDrafts==`string`?e.includeDrafts:void 0;return{userId:typeof e.userId==`string`?e.userId:void 0,from:typeof e.from==`string`?e.from:void 0,to:typeof e.to==`string`?e.to:void 0,includeInactive:t&&_p.has(t)?t:void 0,includeDrafts:n&&_p.has(n)?n:void 0,id:typeof e.id==`string`?e.id:void 0}},component:O(gp,`component`)}),yp=D(`/admin/overview`)({validateSearch:e=>({range:ir(e.range)}),component:O(()=>N(()=>import(`./overview-mxZ5ze_n.js`),__vite__mapDeps([208,24,2,25,4,26,9,1,12,13,14,15,29,3,8,19,85,5,6,7,118,192,197,198])),`component`)});function bp({busy:e,onCreate:t}){let[n,r]=(0,z.useState)(``),[i,a]=(0,z.useState)(``),[o,s]=(0,z.useState)(``),c=(0,z.useRef)(crypto.randomUUID()),l=()=>{c.current=crypto.randomUUID()};
14return(0,R.jsxs)(`aside`,{className:`h-fit rounded-2xl border border-surface-border bg-[#eef2ec] p-5 sm:p-6`,children:[(0,R.jsx)(`div`,{className:`flex size-11 items-center justify-center rounded-xl bg-white shadow-sm`,children:(0,R.jsx)(bi,{className:`size-5 text-[#315b42]`})}),(0,R.jsx)(`h2`,{className:`mt-5 font-heading text-2xl`,children:`Create managed investigator`}),(0,R.jsx)(`p`,{className:`mt-2 text-sm leading-relaxed text-text-secondary`,children:`Creates one individual APS account that signs in directly with the credentials you provide. The password is not stored by Voyage.`}),(0,R.jsxs)(`form`,{className:`mt-6 space-y-4`,onSubmit:async e=>{e.preventDefault();let u=o;try{await t({officerName:n.trim(),email:i.trim(),password:u,idempotencyKey:c.current}),r(``),a(``),s(``),l()}catch{}},autoComplete:`off`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsx)(J,{htmlFor:`managed-name`,className:`mb-2 text-xs`,children:`Investigator name`}),(0,R.jsx)(q,{id:`managed-name`,value:n,onChange:e=>{r(e.target.value),l()},required:!0})]}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(J,{htmlFor:`managed-email`,className:`mb-2 text-xs`,children:`Managed account email`}),(0,R.jsx)(q,{id:`managed-email`,type:`email`,autoComplete:`off`,value:i,onChange:e=>{a(e.target.value),l()},required:!0})]}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(J,{htmlFor:`managed-password`,className:`mb-2 text-xs`,children:`Initial password`}),(0,R.jsx)(q,{id:`managed-password`,type:`password`,autoComplete:`new-password`,minLength:12,maxLength:128,value:o,onChange:e=>{s(e.target.value),l()},required:!0})]}),(0,R.jsx)(dt,{type:`submit`,loading:e,disabled:o.length<12,className:`w-full`,children:`Create individual account`})]}),(0,R.jsx)(`p`,{className:`mt-4 text-xs leading-5 text-text-secondary`,children:`Deliver credentials through your approved secure channel. Do not paste the password into notes, tickets, or chat.`})]})}var xp=`h-9 rounded-md border border-input bg-white px-3 text-sm text-text-primary outline-none focus:border-ring focus:ring-[3px] focus:ring-ring/40`;function Sp({organization:e,busyMemberId:t,onAddMember:n,onUpdateMember:r,onRevokePending:i}){let[a,o]=(0,z.useState)(``),[s,c]=(0,z.useState)(`INVESTIGATOR`),[l,u]=(0,z.useState)(!1);return(0,R.jsxs)(`div`,{className:`grid gap-6 xl:grid-cols-[minmax(0,1fr)_320px]`,children:[(0,R.jsxs)(`section`,{className:`overflow-hidden rounded-2xl border border-surface-border bg-white shadow-[0_12px_36px_rgba(45,37,29,0.05)]`,children:[(0,R.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-4 border-b border-surface-border px-5 py-5 sm:px-6`,children:[(0,R.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,R.jsx)(`span`,{className:`flex size-10 items-center justify-center rounded-xl bg-accent-peach/55 text-brand-coral-text`,children:(0,R.jsx)(_i,{className:`size-5`})}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`h2`,{className:`font-heading text-xl`,children:e.name}),(0,R.jsxs)(`p`,{className:`mt-0.5 text-xs text-text-tertiary`,children:[e.timezone,` · `,e.memberships.length,` `,`members and pending grants`]})]})]}),(0,R.jsx)(`span`,{className:`rounded-full bg-status-good/10 px-3 py-1 text-xs font-semibold text-status-good`,children:e.status})]}),(0,R.jsx)(`div`,{className:`overflow-x-auto`,children:(0,R.jsxs)(`table`,{className:`w-full min-w-[720px] text-left text-sm`,children:[(0,R.jsx)(`thead`,{className:`bg-surface-quiet text-[11px] uppercase tracking-[0.08em] text-text-tertiary`,children:(0,R.jsxs)(`tr`,{children:[(0,R.jsx)(`th`,{className:`px-6 py-3 font-semibold`,children:`Person`}),(0,R.jsx)(`th`,{className:`px-4 py-3 font-semibold`,children:`Role`}),(0,R.jsx)(`th`,{className:`px-4 py-3 font-semibold`,children:`Access`}),(0,R.jsx)(`th`,{className:`px-6 py-3 text-right font-semibold`,children:`Action`})]})}),(0,R.jsx)(`tbody`,{className:`divide-y divide-surface-border`,children:e.memberships.map(e=>{let n=t===e.id;return(0,R.jsxs)(`tr`,{className:`align-middle`,children:[(0,R.jsx)(`td`,{className:`px-6 py-4`,children:(0,R.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,R.jsx)(`span`,{className:`flex size-9 items-center justify-center rounded-full bg-surface-quiet text-text-secondary`,children:(0,R.jsx)(Ei,{className:`size-4`})}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`p`,{className:`font-medium text-text-primary`,children:e.email}),(0,R.jsx)(`p`,{className:`mt-0.5 text-xs text-text-tertiary`,children:e.userId?e.officerName||`Verified account`:`Waiting for first email-code login`})]})]})}),(0,R.jsx)(`td`,{className:`px-4 py-4`,children:(0,R.jsxs)(`select`,{"aria-label":`Role for ${e.email}`,className:xp,value:e.role,disabled:n,onChange:t=>r(e.id,{role:t.target.value}),children:[(0,R.jsx)(`option`,{value:`INVESTIGATOR`,children:`Investigator`}),(0,R.jsx)(`option`,{value:`SUPERVISOR`,children:`Supervisor`})]})}),(0,R.jsx)(`td`,{className:`px-4 py-4`,children:(0,R.jsx)(`span`,{className:P(`inline-flex rounded-full px-2.5 py-1 text-xs font-semibold`,e.status===`ACTIVE`&&`bg-status-good/10 text-status-good`,e.status===`PENDING`&&`bg-status-warn/10 text-status-warn`,e.status===`INACTIVE`&&`bg-surface-quiet text-text-tertiary`),children:e.status===`PENDING`?`Pending login`:e.status===`ACTIVE`?`Active`:`Inactive`})}),(0,R.jsx)(`td`,{className:`px-6 py-4 text-right`,children:e.status===`PENDING`?(0,R.jsx)(dt,{size:`sm`,variant:`ghost`,disabled:n,"aria-label":`Revoke pending access`,onClick:()=>i(e.id),children:`Revoke`}):(0,R.jsx)(dt,{size:`sm`,variant:`beige`,disabled:n,"aria-label":`${e.status===`ACTIVE`?`Deactivate`:`Reactivate`} ${e.email}`,onClick:()=>
14r(e.id,{status:e.status===`ACTIVE`?`INACTIVE`:`ACTIVE`}),children:e.status===`ACTIVE`?`Deactivate`:`Reactivate`})})]},e.id)})})]})})]}),(0,R.jsxs)(`aside`,{className:`h-fit rounded-2xl border border-surface-border bg-[#f3eee5] p-5 sm:p-6`,children:[(0,R.jsx)(`div`,{className:`flex size-11 items-center justify-center rounded-xl bg-white shadow-sm`,children:(0,R.jsx)(xi,{className:`size-5 text-brand-coral-text`})}),(0,R.jsx)(`h2`,{className:`mt-5 font-heading text-2xl`,children:`Add workspace access`}),(0,R.jsx)(`p`,{className:`mt-2 text-sm leading-relaxed text-text-secondary`,children:`Add an email now. Access activates after that person completes the existing Voyage email-code sign-in.`}),(0,R.jsxs)(`form`,{className:`mt-6 space-y-4`,onSubmit:async e=>{if(e.preventDefault(),a.trim()){u(!0);try{await n({email:a.trim(),role:s}),o(``),c(`INVESTIGATOR`)}finally{u(!1)}}},children:[(0,R.jsxs)(`div`,{children:[(0,R.jsx)(J,{htmlFor:`aps-member-email`,className:`mb-2 text-xs`,children:`Work email`}),(0,R.jsx)(q,{id:`aps-member-email`,type:`email`,required:!0,value:a,placeholder:`[email protected]`,onChange:e=>o(e.target.value)})]}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(J,{htmlFor:`aps-member-role`,className:`mb-2 text-xs`,children:`Workspace role`}),(0,R.jsxs)(`select`,{id:`aps-member-role`,className:P(xp,`w-full`),value:s,onChange:e=>c(e.target.value),children:[(0,R.jsx)(`option`,{value:`INVESTIGATOR`,children:`Investigator`}),(0,R.jsx)(`option`,{value:`SUPERVISOR`,children:`Supervisor`})]})]}),(0,R.jsx)(dt,{className:`w-full`,type:`submit`,loading:l,children:`Add to organization`})]}),(0,R.jsxs)(`div`,{className:`mt-5 flex gap-2 border-t border-[#d9d0c4] pt-4 text-xs leading-relaxed text-text-secondary`,children:[(0,R.jsx)(Ci,{className:`mt-0.5 size-4 shrink-0 text-status-good`}),`APS supervisors manage case work. Voyage admins manage workspace membership here.`]})]})]})}function Cp({busy:e,onCreate:t}){let[n,r]=(0,z.useState)(``),[i,a]=(0,z.useState)(``),o=(0,z.useRef)(crypto.randomUUID()),s=()=>{o.current=crypto.randomUUID()};return(0,R.jsxs)(`form`,{className:`rounded-2xl border border-surface-border bg-[#f3eee5] p-6`,onSubmit:async e=>{e.preventDefault();try{await t({email:n.trim(),password:i,idempotencyKey:o.current}),r(``),a(``),s()}catch{}},autoComplete:`off`,children:[(0,R.jsx)(Di,{className:`size-6 text-brand-coral-text`}),(0,R.jsx)(`h2`,{className:`mt-4 font-heading text-2xl`,children:`PACC foster coordinator`}),(0,R.jsx)(`p`,{className:`mt-2 text-sm leading-6 text-text-secondary`,children:`Creates one shared PACC coordinator identity. It can review enrollment metadata and pause access, but cannot open foster content or platform administration.`}),(0,R.jsxs)(`div`,{className:`mt-5 space-y-4`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsx)(J,{htmlFor:`shared-coordinator-email`,className:`mb-2 text-xs`,children:`Shared account email`}),(0,R.jsx)(q,{id:`shared-coordinator-email`,type:`email`,autoComplete:`off`,value:n,onChange:e=>{r(e.target.value),s()},required:!0})]}),(0,R.jsxs)(`div`,{children:[(0,R.jsx)(J,{htmlFor:`shared-coordinator-password`,className:`mb-2 text-xs`,children:`Shared account password`}),(0,R.jsx)(q,{id:`shared-coordinator-password`,type:`password`,autoComplete:`new-password`,minLength:12,maxLength:128,value:i,onChange:e=>{a(e.target.value),s()},required:!0})]}),(0,R.jsx)(dt,{type:`submit`,loading:e,disabled:i.length<12,className:`w-full`,children:`Create shared coordinator`})]})]})}async function wp(){return(await it.get(`/admin/aps/organizations`)).data.data}async function Tp(e){return(await it.get(`/admin/aps/organizations/${e}/members`)).data.data}async function Ep(e,t){return(await it.post(`/admin/aps/organizations/${e}/members`,t)).data.data}async function Dp(e,t,n){return(await it.patch(`/admin/aps/organizations/${e}/members/${t}`,n)).data.data}async function Op(e,t){await it.delete(`/admin/aps/organizations/${e}/members/${t}`)}async function kp(e,t){let{idempotencyKey:n,...r}=t;return(await it.post(`/admin/aps/organizations/${e}/managed-accounts`,r,{headers:{"Idempotency-Key":n},_sensitive:!0})).data.data}async function Ap(){return(await it.get(`/admin/pacc/programs`)).data.data}async function jp(e,t){let{idempotencyKey:n,...r}=t;return(await it.post(`/admin/pacc/programs/${e}/coordinator-managed-account`,r,{headers:{"Idempotency-Key":n},_sensitive:!0})).data.data}var Mp=D(`/admin/organizations`)({component:Np,head:()=>({meta:[{title:`Organizations — Voyage Admin`},{name:`robots`,content:`noindex, nofollow`}]})});function Np(){let e=ze(),[t,n]=(0,z.useState)(null),[r,i]=(0,z.useState)(null),[a,o]=(0,z.useState)(null),[s,c]=(0,z.useState)(null),[l,u]=(0,z.useState)(null),d=Ve({queryKey:[`admin`,`aps`,`organizations`],queryFn:wp,staleTime:5*6e4,gcTime:30*6e4}),f=t??d.data?.[0]?.id??null,p=Ve({queryKey:[`admin`,`aps`,`organization`,f],queryFn:()=>Tp(f),enabled:!!f,staleTime:6e4,gcTime:30*6e4}),m=Ve({queryKey:[`admin`,`pacc`,`programs`],queryFn:Ap,staleTime:5*6e4,gcTime:30*6e4}).data?.find(e=>e.code===`foster`),h=async()=>
14{await Promise.all([e.invalidateQueries({queryKey:[`admin`,`aps`,`organizations`]}),e.invalidateQueries({queryKey:[`admin`,`aps`,`organization`,f]})])},g=Re({mutationFn:e=>{if(!f)throw Error(`Select an organization`);return Ep(f,e)},onSuccess:h}),_=Re({mutationFn:e=>{if(!f)throw Error(`Select an organization`);return i(e.membershipId),Dp(f,e.membershipId,e.update)},onSuccess:h,onSettled:()=>i(null)}),v=Re({mutationFn:e=>{if(!f)throw Error(`Select an organization`);return i(e),Op(f,e)},onSuccess:h,onSettled:()=>i(null)}),y=Re({mutationKey:[`admin`,`aps`,`managed-account`,f],gcTime:0,mutationFn:e=>{if(!f)throw Error(`Select an organization`);return kp(f,e)},onSuccess:async e=>{c(null),o(e.state===`COMPLETED`?`Managed account created for ${e.email??`the investigator`}.`:`Account creation is awaiting reconciliation. Do not retry with another password.`),await h(),y.reset()},onError:()=>{o(null),c(`Account creation did not complete. Retry without changing the fields to safely resume the same operation; contact engineering if it still fails.`),y.reset()}}),b=Re({mutationKey:[`admin`,`pacc`,`managed-coordinator`],gcTime:0,mutationFn:e=>{if(!m)throw Error(`PACC foster program is not seeded`);return jp(m.id,e)},onSuccess:e=>{u(e.state===`COMPLETED`?`Shared coordinator created for ${e.email??`PACC`}.`:`Coordinator creation needs reconciliation. Do not retry with a new password.`),b.reset()},onError:()=>{u(`Coordinator creation did not complete. Retry unchanged to resume safely; if it still fails, confirm whether an active shared coordinator already exists.`),b.reset()}}),x=d.error??p.error??g.error??_.error??v.error,S=d.error??p.error,C=d.isPending||f!==null&&p.isPending;return(0,R.jsxs)(`div`,{className:`mx-auto max-w-7xl px-4 py-8 sm:px-6 lg:py-10`,children:[(0,R.jsxs)(`div`,{className:`flex flex-wrap items-end justify-between gap-4 border-b border-surface-border pb-6`,children:[(0,R.jsxs)(`div`,{children:[(0,R.jsx)(`p`,{className:`text-xs font-semibold uppercase tracking-[0.1em] text-brand-coral-text`,children:`Access administration`}),(0,R.jsx)(`h1`,{className:`mt-2 font-heading text-3xl sm:text-4xl`,children:`Organizations`}),(0,R.jsx)(`p`,{className:`mt-2 max-w-2xl text-sm leading-relaxed text-text-secondary`,children:`Add APS members by email and control their workspace role. Pending access activates after the person completes Voyage email-code login.`})]}),d.data&&d.data.length>1?(0,R.jsxs)(`label`,{className:`text-xs font-semibold text-text-secondary`,children:[`Organization`,(0,R.jsx)(`select`,{className:`ml-2 h-9 rounded-md border border-input bg-white px-3 text-sm`,value:f??``,onChange:e=>n(e.target.value),children:d.data.map(e=>(0,R.jsx)(`option`,{value:e.id,children:e.name},e.id))})]}):null]}),x?(0,R.jsxs)(`div`,{role:`alert`,className:`mt-6 flex items-start gap-3 rounded-xl border border-status-bad/20 bg-status-bad/5 p-4 text-sm text-status-bad`,children:[(0,R.jsx)(vi,{className:`mt-0.5 size-4 shrink-0`}),x instanceof Error?x.message:`Organization request failed`,S?(0,R.jsx)(dt,{variant:`outline`,onClick:()=>{d.error?d.refetch():p.refetch()},children:`Retry`}):null]}):null,C?(0,R.jsxs)(`div`,{className:`flex min-h-80 items-center justify-center text-sm text-text-secondary`,children:[(0,R.jsx)(ht,{className:`mr-2 size-4 animate-spin`}),` Loading organizations`]}):p.data?(0,R.jsxs)(`div`,{className:`mt-6 space-y-6`,children:[(0,R.jsx)(Sp,{organization:p.data,busyMemberId:r,onAddMember:async e=>{await g.mutateAsync(e)},onUpdateMember:async(e,t)=>{await _.mutateAsync({membershipId:e,update:t})},onRevokePending:async e=>{await v.mutateAsync(e)}}),(0,R.jsxs)(`div`,{className:`grid gap-4 lg:grid-cols-[1fr_320px]`,children:[(0,R.jsxs)(`div`,{className:`rounded-2xl border border-surface-border bg-white p-6 text-sm leading-6 text-text-secondary`,children:[(0,R.jsx)(`h2`,{className:`font-heading text-2xl text-text-primary`,children:`Direct-login accounts`}),(0,R.jsx)(`p`,{className:`mt-2`,children:`Use managed accounts for the three named APS investigators who must sign in without an email code. Existing invited users continue to use the email-code flow.`}),a?(0,R.jsx)(`p`,{role:`status`,className:`mt-4 rounded-xl bg-status-good/10 p-3 text-status-good`,children:a}
14):null,s?(0,R.jsx)(`p`,{role:`alert`,className:`mt-4 rounded-xl bg-status-bad/10 p-3 text-status-bad`,children:s}):null]}),(0,R.jsx)(bp,{busy:y.isPending,onCreate:async e=>{await y.mutateAsync(e)}})]}),(0,R.jsxs)(`div`,{className:`grid gap-4 lg:grid-cols-[1fr_320px]`,children:[(0,R.jsxs)(`div`,{className:`rounded-2xl border border-surface-border bg-white p-6 text-sm leading-6 text-text-secondary`,children:[(0,R.jsx)(`h2`,{className:`font-heading text-2xl text-text-primary`,children:`PACC foster administration`}),(0,R.jsx)(`p`,{className:`mt-2`,children:`The pilot allows one active shared coordinator account. Every action is attributed to that shared identity, not to a specific staff member.`}),l?(0,R.jsx)(`p`,{role:`status`,className:`mt-4 rounded-xl bg-surface-quiet p-3`,children:l}):null]}),(0,R.jsx)(Cp,{busy:b.isPending,onCreate:async e=>{await b.mutateAsync(e)}})]})]}):S?null:(0,R.jsxs)(`div`,{className:`mt-6 rounded-2xl border border-dashed border-surface-border bg-white p-10 text-center`,children:[(0,R.jsx)(`p`,{className:`font-heading text-xl`,children:`No APS organization exists yet.`}),(0,R.jsx)(`p`,{className:`mt-2 text-sm text-text-secondary`,children:`Run the idempotent PACC seed in the backend environment first.`})]})]})}var Pp=D(`/admin/open-voyage`)({component:O(()=>N(()=>import(`./open-voyage-DJFzqtG6.js`),__vite__mapDeps([209,2,1,92,29,3,4,8,9,19,18,35,36,93,5,6,7,25,26,192,121])),`component`)}),Fp=D(`/admin/nutrition`)({validateSearch:e=>({userId:typeof e.userId==`string`?e.userId:void 0,from:typeof e.from==`string`?e.from:void 0,to:typeof e.to==`string`?e.to:void 0,id:typeof e.id==`string`?e.id:void 0}),component:O(()=>N(()=>import(`./nutrition-DhDqhAcO.js`),__vite__mapDeps([210,2,23,24,25,4,26,9,27,8,1,28,29,3,19,30,31,32,33,85,5,6,7,201,200,13,14,15,105,37,10,38,39,106,107,205])),`component`)}),Ip=[`VACCINATION`,`PRESCRIPTION`,`LAB_RESULTS`,`SURGERY`,`CHECKUP`,`DENTAL`,`EMERGENCY`,`MEDICATION`,`DIET`,`OTHER`];async function Lp(e,t=null,n=50){return(await it.get(`/admin/medical-records`,{params:ar(e,t,n,{category:e.category})})).data}var Rp=()=>N(()=>import(`./medical-records-DPgcfycH.js`),__vite__mapDeps([211,2,23,24,25,4,26,9,27,8,1,28,29,3,19,30,31,32,33,85,5,6,7,66,201,200,13,14,15,105,37,10,38,39,106,107,205])),zp=new Set(Ip),Bp=D(`/admin/medical-records`)({validateSearch:e=>({userId:typeof e.userId==`string`?e.userId:void 0,from:typeof e.from==`string`?e.from:void 0,to:typeof e.to==`string`?e.to:void 0,category:typeof e.category==`string`&&zp.has(e.category)?e.category:void 0,id:typeof e.id==`string`?e.id:void 0}),component:O(Rp,`component`)}),Vp=[`IN_PROGRESS`,`PROCESSING`,`COMPLETED`,`FAILED`,`PAUSED`];async function Hp(e,t=null,n=50){return(await it.get(`/admin/health360`,{params:ar(e,t,n,{status:e.status})})).data}var Up=()=>N(()=>import(`./health360-H-eFk8p6.js`),__vite__mapDeps([212,2,23,24,25,4,26,9,27,8,1,28,29,3,19,30,31,32,33,85,5,6,7,201,200,13,14,15,105,37,10,38,39,106,107,205])),Wp=new Set(Vp),Gp=D(`/admin/health360`)({validateSearch:e=>({userId:typeof e.userId==`string`?e.userId:void 0,from:typeof e.from==`string`?e.from:void 0,to:typeof e.to==`string`?e.to:void 0,status:typeof e.status==`string`&&Wp.has(e.status)?e.status:void 0,id:typeof e.id==`string`?e.id:void 0}),component:O(Up,`component`)}),Kp=[`OPEN`,`TRIAGED`,`IN_PROGRESS`,`NEEDS_INFO`,`FIXED`,`SHIPPED`,`WONTFIX`,`DUPLICATE`],qp=[`CRASH`,`UI`,`AI_QUALITY`,`BILLING`,`ACCOUNT`,`PERFORMANCE`,`DATA`,`OTHER`],Jp=[`OPEN`,`TRIAGED`,`IN_PROGRESS`,`NEEDS_INFO`],Yp=[`FIXED`,`SHIPPED`,`WONTFIX`,`DUPLICATE`],Xp={all:[`admin`,`bug-reports`],list:e=>[`admin`,`bug-reports`,`list`,e],detail:e=>[`admin`,`bug-reports`,`detail`,e]};function Zp(e){let t={};for(let[n,r]of Object.entries(e))r==null||r===``||(t[n]=r);return t}function Qp(e){let t={};for(let n of Kp)t[n]=e?.[n]??0;return t}async function $p(e={}){let t=await it.get(`/admin/bug-reports`,{params:Zp(e)});return{reports:t.data.data,nextCursor:t.data.nextCursor,counts:Qp(t.data.counts)}}async function em(e){return(await it.get(`/admin/bug-reports/`+e)).data.data}async function tm(e,t){return(await it.post(`/admin/bug-reports/`+e,t)).data.data}var nm=()=>N(()=>import(`./bug-reports-Ctt014Gt.js`),__vite__mapDeps([213,2,23,24,25,4,26,9,27,8,1,28,29,3,19,30,31,32,33,47,14,15,12,13,85,5,
146,7,201,200,105,37,10,38,39,106,107])),rm=new Set(Kp),im=new Set([`MOBILE`,`WEB`,`VET_WEB`]),am=new Set(qp),om=D(`/admin/bug-reports`)({validateSearch:e=>({id:typeof e.id==`string`&&e.id?e.id:void 0,userId:typeof e.userId==`string`&&e.userId?e.userId:void 0,from:typeof e.from==`string`&&e.from?e.from:void 0,to:typeof e.to==`string`&&e.to?e.to:void 0,status:typeof e.status==`string`&&rm.has(e.status)?e.status:void 0,bucket:e.bucket===`resolved`||e.bucket===`all`||e.bucket===`active`?e.bucket:void 0,sort:e.sort===`oldest`?`oldest`:void 0,surface:typeof e.surface==`string`&&im.has(e.surface)?e.surface:void 0,category:typeof e.category==`string`&&am.has(e.category)?e.category:void 0,search:typeof e.search==`string`&&e.search.trim()?e.search.trim():void 0}),component:O(nm,`component`)}),sm=D(`/admin/app-analytics`)({validateSearch:e=>({range:ir(e.range)}),beforeLoad:({search:e})=>{throw E({to:`/admin/analytics`,search:{range:e.range??`30d`,view:`activation`},replace:!0})},component:O(()=>N(()=>import(`./app-analytics-DHCmH3Va.js`),__vite__mapDeps([214,2,23,24,25,4,26,9,27,8,1,215,3,5,6,7,12,13,14,15,85,118,189,192,86,197,198])),`component`)}),cm=[{value:`overview`,label:`Overview`},{value:`acquisition`,label:`Acquisition`},{value:`activation`,label:`Activation`},{value:`cross_surface`,label:`Web → App`},{value:`retention`,label:`Retention`},{value:`revenue`,label:`Revenue`},{value:`content`,label:`Content SEO`}];function lm({text:e,label:t=`说明`}){return e?(0,R.jsxs)(Dc,{children:[(0,R.jsx)(Oc,{asChild:!0,children:(0,R.jsx)(`button`,{type:`button`,"aria-label":t,className:`inline-flex size-4 shrink-0 items-center justify-center rounded-full text-text-tertiary/60 transition-colors hover:text-text-secondary focus:outline-none focus-visible:ring-2 focus-visible:ring-text-primary/20`,children:(0,R.jsx)(mt,{className:`size-3.5`})})}),(0,R.jsx)(kc,{children:(0,R.jsxs)(Ac,{sideOffset:6,align:`start`,collisionPadding:12,className:`z-50 max-w-[280px] rounded-lg border border-surface-border bg-white p-3 text-xs leading-relaxed text-text-secondary shadow-[0_8px_24px_rgba(23,20,18,0.12)]`,children:[e,(0,R.jsx)(jc,{className:`fill-white`})]})})]}):null}var um=()=>N(()=>import(`./analytics-Cc-zFiI8.js`),__vite__mapDeps([216,2,23,24,25,4,26,9,27,8,1,215,3,5,6,7,12,13,14,15,29,19,85,118,163,169,192,86,197,198,39]));function dm(e){return e===`conversion`?`activation`:cm.some(t=>t.value===e)?e:`overview`}var fm=D(`/admin/analytics`)({validateSearch:e=>({range:ir(e.range),view:dm(e.view)}),component:O(um,`component`)}),pm=()=>N(()=>import(`./activity-CBVYq3SW.js`),__vite__mapDeps([217,2,24,25,4,26,9,1,200,13,14,15,12,3,85,5,6,7,119,63,68,45,8,203]));function mm(e){return typeof e==`string`&&e.length>0?e:void 0}function hm(e){return{...mm(e.userId)?{userId:mm(e.userId)}:{},...mm(e.feature)?{feature:mm(e.feature)}:{},...mm(e.eventName)?{eventName:mm(e.eventName)}:{},...mm(e.appSessionId)?{appSessionId:mm(e.appSessionId)}:{},...e.failuresOnly===!0?{failuresOnly:!0}:{},...mm(e.from)?{from:mm(e.from)}:{},...mm(e.to)?{to:mm(e.to)}:{}}}var gm=D(`/admin/activity`)({validateSearch:hm,component:O(pm,`component`)}),_m=D(`/_authed/care`)({beforeLoad:({context:e})=>{if(!e.user||e.user.isAnonymous)throw E({to:`/login`,search:{next:`/care`}});return{careViewerId:e.user.id}},head:()=>({meta:[{title:`My care — Voyage`},{name:`robots`,content:`noindex, nofollow`}]}),component:O(()=>N(()=>import(`./care-hJahUepq.js`),__vite__mapDeps([218,2,186,1,5,6,7,4,23,24,25,26,9,27,8,28,29,3,19,30,31,32,33,15,12,13,14,34,35,36,49,219,47,85,83,152,44,37,10,38,39,77,54,16,17,18,11,40,78,79,80,81,106,107,53,43,109])),`component`)}),vm=D(`/$species/symptoms/$symptom`)({loader:({params:e})=>
14{let t=or(e.species,e.symptom);if(!t)throw ne();return{definition:t}},head:({loaderData:e})=>e?.definition?sr(e.definition):{},component:O(()=>N(()=>import(`./_symptom-DYKAQMQ1.js`),__vite__mapDeps([220,2,24,25,4,26,9,1,29,3,8,19,34,35,36,5,6,7,50,221,75,47,14,15,76,63,42,45,77,54,12,13,16,17,18,11,78,79,80,81,10,84,85,83,52,44,86,87,88,20,39,38,155])),`component`)}),ym=D(`/triage/jobs/$jobId`)({beforeLoad:({params:e,search:t})=>{throw E({to:`/ai-vet/jobs/$jobId`,params:{jobId:e.jobId},search:t,replace:!0})}}),bm=D(`/triage/cards/$cardId`)({beforeLoad:({params:e})=>{throw E({to:`/ai-vet/cards/$cardId`,params:{cardId:e.cardId},replace:!0})}}),xm=D(`/pacc/care/$contextId`)({beforeLoad:({context:e})=>{if(!e.user||e.user.isAnonymous)throw E({to:`/pacc/login`})},component:O(()=>N(()=>import(`./care._contextId-CgO6Yz-3.js`),__vite__mapDeps([222,2,24,25,4,26,9,1,47,14,15,12,13,29,3,8,19,30,5,6,7,151,221,44])),`component`)}),Sm=D(`/forvets/skills/`)({validateSearch:e=>({sessionId:typeof e.sessionId==`string`?e.sessionId:void 0}),beforeLoad:({context:e})=>{if(!e.user||e.user.isAnonymous)throw E({to:`/forvets/signup`})},head:()=>({meta:[{title:`Skills · Clinical Desk · ${Yt}`},{name:`robots`,content:`noindex, follow`}]}),component:O(()=>N(()=>import(`./skills-CmtcCPbi.js`),__vite__mapDeps([223,2,24,25,4,26,9,1,15,29,3,8,19,99,17,18,5,6,7,151,63,43,195,47,14,12,13,176,177])),`component`)}),Cm=D(`/forvets/library/`)({validateSearch:e=>({sessionId:typeof e.sessionId==`string`?e.sessionId:void 0}),beforeLoad:({context:e})=>{if(!e.user||e.user.isAnonymous)throw E({to:`/forvets/signup`})},head:()=>({meta:[{title:`My Library · Clinical Desk · ${Yt}`},{name:`robots`,content:`noindex, follow`}]}),component:O(()=>N(()=>import(`./library-Bp3F10Tv.js`),__vite__mapDeps([224,24,2,25,4,26,9,1,3,5,6,7,183,47,14,15,12,13,29,8,19,99,17,18,151,107,66,103,68,104,176,177])),`component`)}),wm=()=>N(()=>import(`./knowledge-Cj5zxDqv.js`),__vite__mapDeps([225,2,1,29,3,4,8,9,19,85,5,6,7,76,63,68,226,127,72,70,38,39,126])),Tm=50;function Em(e){let t=typeof e==`number`?e:typeof e==`string`&&/^\d+$/.test(e)?Number(e):NaN;return Number.isFinite(t)&&t>1?Math.floor(t):void 0}var Dm=D(`/forvets/knowledge/`)({validateSearch:e=>({category:typeof e.category==`string`&&e.category.length>0?e.category:void 0,species:typeof e.species==`string`&&e.species.length>0?e.species:void 0,page:Em(e.page)}),loaderDeps:({search:e})=>e,loader:async({deps:e})=>{let t=await Hn({audience:`VET`}),n=t.filter(t=>(!e.category||nn(t.slug)===e.category)&&(!e.species||t.animal?.toLowerCase()===e.species)),r=Math.max(1,Math.ceil(n.length/12)),i=e.page??1;if(t.length>=Tm&&i>r)throw ne();return{posts:t,page:i,faceted:!!(e.category||e.species)}},head:({loaderData:e})=>{let t=e?.page??1,n=t>1&&!e?.faceted;return L({title:n?`Veterinary Clinical Reference, Page ${t} — Voyage for Vets`:`Veterinary Clinical Reference — Voyage for Vets`,description:n?`Page ${t} of source-cited veterinary drug, condition and species references for practicing veterinarians.`:`Evergreen, evidence-based drug and condition hubs for practicing veterinarians — continuously updated and cited at every claim. Free for verified veterinary professionals.`,canonicalPath:n?`/forvets/knowledge?page=${t}`:`/forvets/knowledge`,ogImage:tn,ogType:`website`})},component:O(wm,`component`)}),Om=D(`/forvets/skills/new`)({validateSearch:e=>({sessionId:typeof e.sessionId==`string`?e.sessionId:void 0}),beforeLoad:({context:e})=>{if(!e.user||e.user.isAnonymous)throw E({to:`/forvets/signup`})},head:()=>({meta:[{title:`New skill · Clinical Desk · ${Yt}`},{name:`robots`,content:`noindex, follow`}]}),component:O(()=>N(()=>import(`./new-l5tEgmO8.js`),__vite__mapDeps([227,23,2,24,25,4,26,9,27,8,1,28,29,3,19,30,31,32,33,5,6,7,194,62,189,45,173,228,85,99,17,18,151,50,167,103,104,195,47,14,15,12,13,176,177])),`component`)}),km=D(`/forvets/skills/$skillId`)({validateSearch:e=>({sessionId:typeof e.sessionId==`string`?e.sessionId:void 0}),beforeLoad:({context:e})=>{if(!e.user||e.user.isAnonymous)throw E({to:`/forvets/signup`})},head:()=>({meta:[{title:`Skill · Clinical Desk · ${Yt}`},{name:`robots`,content:`noindex, follow`}]}),component:O(()=>N(()=>import(`./_skillId-BfggxmS3.js`),__vite__mapDeps([229,23,2,24,25,4,26,9,27,8,1,28,29,3,19,30,31,32,33,5,6,7,194,62,189,45,173,228,85,99,17,18,151,50,167,103,104,195,47,14,15,12,13,176,39,38,177])),`component`)}),Am=Kt[`pain-osteoarthritis`],jm=D(`/forvets/knowledge/pain-management`)({loader:()=>Hn({audience:`VET`}),head:()=>{let{meta:e,links:t}
14=L({title:Am.seoTitle,description:Am.seoDescription,canonicalPath:Am.path,ogType:`website`});return{meta:e,links:t,scripts:[{type:`application/ld+json`,children:JSON.stringify(F([{name:`Home`,url:I},{name:`Veterinary Knowledge`,url:`${I}/forvets/knowledge`},{name:Am.label,url:`${I}${Am.path}`}]))}]}},component:O(()=>N(()=>import(`./pain-management-BdKJFTLJ.js`),__vite__mapDeps([230,1,2,3,4,5,6,7,8,9,226,29,19,127,72,70,38,39,231,151])),`component`)}),Mm=Kt.gastroenterology,Nm=D(`/forvets/knowledge/gastroenterology`)({loader:()=>Hn({audience:`VET`}),head:()=>{let{meta:e,links:t}=L({title:Mm.seoTitle,description:Mm.seoDescription,canonicalPath:Mm.path,ogType:`website`});return{meta:e,links:t,scripts:[{type:`application/ld+json`,children:JSON.stringify(F([{name:`Home`,url:I},{name:`Veterinary Knowledge`,url:`${I}/forvets/knowledge`},{name:Mm.label,url:`${I}${Mm.path}`}]))}]}},component:O(()=>N(()=>import(`./gastroenterology-Bg8YaWdk.js`),__vite__mapDeps([232,1,2,3,4,5,6,7,8,9,226,29,19,127,72,70,38,39,231,151])),`component`)}),Pm=Kt.dermatology,Fm=D(`/forvets/knowledge/dermatology`)({loader:()=>Hn({audience:`VET`}),head:()=>{let{meta:e,links:t}=L({title:Pm.seoTitle,description:Pm.seoDescription,canonicalPath:Pm.path,ogType:`website`});return{meta:e,links:t,scripts:[{type:`application/ld+json`,children:JSON.stringify(F([{name:`Home`,url:I},{name:`Veterinary Knowledge`,url:`${I}/forvets/knowledge`},{name:Pm.label,url:`${I}${Pm.path}`}]))}]}},component:O(()=>N(()=>import(`./dermatology-CT8Vi_mq.js`),__vite__mapDeps([233,1,2,3,4,5,6,7,8,9,226,29,19,127,72,70,38,39,231,151])),`component`)}),Im=D(`/forvets/knowledge/$slug`)({loader:async({params:e})=>{let t=Wn[e.slug];if(t)throw E({to:`/forvets/knowledge/$slug`,params:{slug:t},statusCode:301});let[n,r]=await Promise.all([Gn(e.slug),Hn({audience:`VET`})]);if(!n)throw ne();if(!Yn(n,`VET`))throw E({to:`/blog/$slug`,params:{slug:e.slug},statusCode:301});return{post:n,related:Jn(n,r)}},head:({loaderData:e})=>e?.post?qt(e.post):{},component:O(()=>N(()=>import(`./_slug-DZeMdkVZ.js`),__vite__mapDeps([234,2,24,25,4,26,9,1,29,3,8,19,85,30,5,6,7,31,151,50,166,152,191,226,127,72,70,38,39,154])),`component`)}),Lm=D(`/forvets/drugs/$ref`)({validateSearch:e=>({sessionId:typeof e.sessionId==`string`?e.sessionId:void 0}),beforeLoad:({context:e})=>{if(!e.user||e.user.isAnonymous)throw E({to:`/forvets/signup`})},head:({params:e})=>({meta:[{title:`${e.ref} · Drug card · Clinical Desk · ${Yt}`},{name:`robots`,content:`noindex, nofollow`}]}),component:O(()=>N(()=>import(`./_ref-Bi664OVB.js`),__vite__mapDeps([235,1,2,12,13,14,15,4,9,3,5,6,7,151,26,67,193,8,176,39,38,177])),`component`)}),Rm=D(`/forvets/books/$bookRef`)({validateSearch:e=>({pages:typeof e.pages==`string`?e.pages:void 0,sessionId:typeof e.sessionId==`string`?e.sessionId:void 0}),beforeLoad:({context:e})=>{if(!e.user||e.user.isAnonymous)throw E({to:`/forvets/signup`})},head:()=>({meta:[{title:`Reader · ${Yt}`},{name:`robots`,content:`noindex, nofollow`}]}),component:O(()=>N(()=>import(`./_bookRef-S_lhz1B8.js`),__vite__mapDeps([236,2,81,23,24,25,4,26,9,27,8,1,97,28,29,3,19,30,31,32,33,12,13,14,15,85,34,35,36,5,6,7,57,151,62,98,47,99,17,18,100,66,101,41,42,43,44,45,37,10,38,39,40,94,102,103,68,104,105,106,107,108,109,79])),`component`)}),zm=D(`/admin/open-voyage/$userId`)({component:O(()=>N(()=>import(`./open-voyage._userId-7l3VEOde.js`),__vite__mapDeps([237,2,23,24,25,4,26,9,27,8,1,29,3,19,85,5,6,7,50,45,121,176])),`component`)}),Bm=D(`/admin/open-voyage/$userId_/chat-history`)({validateSearch:e=>({session:typeof e.session==`string`?e.session:void 0}),component:O(()=>N(()=>import(`./open-voyage._userId_.chat-history-BV8zSZ8k.js`),__vite__mapDeps([238,2,23,24,25,4,26,9,27,8,1,97,28,29,3,19,30,31,32,33,12,13,14,15,85,5,6,7,57,187,60,118,62,50,76,63,107,166,64,188,66,189,190,103,67,191,192,171,44,193,45,37,10,38,39,194,173,105,106,40,108,109,79])),`component`)}),Vm=D(`/_authed/ai-vet/jobs/$jobId`)({head:()=>({meta:[{name:`robots`,content:`noindex, nofollow`}]}),validateSearch:e=>({hasPhotos:e.hasPhotos===!0}),component:O(()=>N(()=>import(`./_jobId-BBa91DvL.js`),__vite__mapDeps([239,2,81,4,26,9])),`component`)}),Hm=D(`/_authed/ai-vet/cards/$cardId`)({head:()=>({meta:[{name:`robots`,content:`noindex, nofollow`}]}),component:O(()=>N(()=>import(`./_cardId-DsAHk2gC.js`),__vite__mapDeps([240,2,81,4,26,9])),`component`)}),Um=Ol.update({id:`/welcome`,path:`/welcome`,getParentRoute:()=>W}),Wm=Al.update({id:`/unsubscribe`,path:`/unsubscribe`,getParentRoute:()=>W}),Gm=Ml.update({id:`/triage`,path:`/triage`,getParentRoute:()=>W}),Km=Nl.update({id:`/terms`,path:`/terms`,getParentRoute:()=>W}),qm=Pl.update({id:`/support`,path:`/support`,getParentRoute:()=>W}),Jm=zl.update({id:`/subscribe`,path:`/subscribe`,getParentRoute:()=>W}),Ym=Y.update({id:`/signup`,path:`/signup`,getParentRoute:()=>W}),Xm=Ul.update({id:`/product`,path:`/product`,getParentRoute:()=>W}),Zm=Wl.update({id:`/privacy`,path:`/privacy`,getParentRoute:()=>W}),Qm=cu.update({id:`/pricing`,path:`/pricing`,getParentRoute:()=>W}),$m=Tu.update({id:`/pet-symptom-checker`,path:`/pet-symptom-checker`,getParentRoute:()=>W}),eh=Eu.update({id:`/pacc`,path:`/pacc`,getParentRoute:()=>W}),th=Du.update({id:`/logout`,path:`/logout`,getParentRoute:()=>W}),nh=Ou.update({id:`/login`,path:`/login`,getParentRoute:()=>W}),rh=ju.update({id:`/forvets`,path:`/forvets`,getParentRoute:()=>W}),ih=Mu.update({id:`/data-deletion`,path:`/data-deletion`,getParentRoute:()=>W}),ah=Fu.update({id:`/check-in`,path:`/check-in`,getParentRoute:()=>W}),oh=Bu.update({id:`/ai-vet-for-dogs`,path:`/ai-vet-for-dogs`,getParentRoute:()=>W}),sh=Wu.update({id:`/ai-vet-for-cats`,path:`/ai-vet-for-cats`,getParentRoute:()=>W}),ch=qu.update({id:`/ai-vet-accuracy`,path:`/ai-vet-accuracy`,getParentRoute:()=>W}),lh=Zu.update({id:`/ai-vet`,path:`/ai-vet`,getParentRoute:()=>W}),uh=Qu.update({id:`/ai-disclaimer`,path:`/ai-disclaimer`,getParentRoute:()=>W}),dh=$u.update({id:`/admin`,path:`/admin`,getParentRoute:()=>W}),fh=ed.update({id:`/_authed`,getParentRoute:()=>W}),ph=ad.update({id:`/`,path:`/`,getParentRoute:()=>W}),mh=cd.update({id:`/tools/`,path:`/tools/`,getParentRoute:()=>W}),hh=ld.update({id:`/symptoms/`,path:`/symptoms/`,getParentRoute:()=>W}),gh=_d.update({id:`/blog/`,path:`/blog/`,getParentRoute:()=>W}),_h=Fd.update({id:`/tools/$toxin`,path:`/tools/$toxin`,getParentRoute:()=>W}),vh=Id.update({id:`/symptoms/$slug`,path:`/symptoms/$slug`,getParentRoute:()=>W}),yh=zd.update({id:`/subscribe_/success`,path:`/subscribe/success`,getParentRoute:()=>W}),bh=Bd.update({id:`/blog/sugar-glider-health`,path:`/blog/sugar-glider-health`,getParentRoute:()=>W}),xh=Vd.update({id:`/blog/reptile-health`,path:`/blog/reptile-health`,getParentRoute:()=>W}),Sh=Hd.update({id:`/blog/rat-health`,path:`/blog/rat-health`,getParentRoute:()=>W}),Ch=Ud.update({id:`/blog/rabbit-health`,path:`/blog/rabbit-health`,getParentRoute:()=>W}),wh=Wd.update({id:`/blog/mouse-health`,path:`/blog/mouse-health`,getParentRoute:()=>W}),Th=Gd.update({id:`/blog/hedgehog-health`,path:`/blog/hedgehog-health`,getParentRoute:()=>W}),Eh=Kd.update({id:`/blog/hamster-health`,path:`/blog/hamster-health`,getParentRoute:()=>W}),Dh=qd.update({id:`/blog/guinea-pig-health`,path:`/blog/guinea-pig-health`,getParentRoute:()=>W}),Oh=Jd.update({id:`/blog/gerbil-health`,path:`/blog/gerbil-health`,getParentRoute:()=>W}),kh=Yd.update({id:`/blog/fish-health`,path:`/blog/fish-health`,getParentRoute:()=>W}),Ah=Xd.update({id:`/blog/ferret-health`,path:`/blog/ferret-health`,getParentRoute:()=>W}),jh=Zd.update({id:`/blog/dog-health`,path:`/blog/dog-health`,getParentRoute:()=>W}),Mh=Qd.update({id:`/blog/degu-health`,path:`/blog/degu-health`,getParentRoute:()=>W}),Nh=$d.update({id:`/blog/chinchilla-health`,path:`/blog/chinchilla-health`,getParentRoute:()=>W}),Ph=ef.update({id:`/blog/cat-health`,path:`/blog/cat-health`,getParentRoute:()=>W}),Fh=tf.update({id:`/blog/bird-health`,path:`/blog/bird-health`,getParentRoute:()=>W}),Ih=nf.update({id:`/blog/amphibian-health`,path:`/blog/amphibian-health`,getParentRoute:()=>W}),Lh=lf.update({id:`/blog/$slug`,path:`/blog/$slug`,getParentRoute:()=>W}),Rh=pf.update({id:`/auth/triage-claim`,path:`/auth/triage-claim`,getParentRoute:()=>W}),zh=hf.update({id:`/auth/callback`,path:`/auth/callback`,getParentRoute:()=>W}),Bh=gf.update({id:`/appsumo/activate`,path:`/appsumo/activate`,getParentRoute:()=>W}),Vh=_f.update({id:`/`,path:`/`,getParentRoute:()=>eh}),Hh=vf.update({id:`/login`,path:`/login`,getParentRoute:()=>eh}
14),Uh=yf.update({id:`/enroll`,path:`/enroll`,getParentRoute:()=>eh}),Wh=bf.update({id:`/coordinator-login`,path:`/coordinator-login`,getParentRoute:()=>eh}),Gh=xf.update({id:`/coordinator`,path:`/coordinator`,getParentRoute:()=>eh}),Kh=Sf.update({id:`/animals`,path:`/animals`,getParentRoute:()=>eh}),qh=Of.update({id:`/`,path:`/`,getParentRoute:()=>rh}),Jh=kf.update({id:`/sources`,path:`/sources`,getParentRoute:()=>rh}),Yh=Jf.update({id:`/signup`,path:`/signup`,getParentRoute:()=>rh}),Xh=Zf.update({id:`/rejected`,path:`/rejected`,getParentRoute:()=>rh}),Zh=Qf.update({id:`/preferences`,path:`/preferences`,getParentRoute:()=>rh}),Qh=$f.update({id:`/pending`,path:`/pending`,getParentRoute:()=>rh}),$h=ep.update({id:`/library-preview`,path:`/library-preview`,getParentRoute:()=>rh}),eg=tp.update({id:`/document-settings`,path:`/document-settings`,getParentRoute:()=>rh}),tg=op.update({id:`/ask`,path:`/ask`,getParentRoute:()=>rh}),ng=sp.update({id:`/`,path:`/`,getParentRoute:()=>dh}),rg=cp.update({id:`/vet-analytics`,path:`/vet-analytics`,getParentRoute:()=>dh}),ig=dp.update({id:`/users`,path:`/users`,getParentRoute:()=>dh}),ag=fp.update({id:`/triage`,path:`/triage`,getParentRoute:()=>dh}),og=hp.update({id:`/sessions`,path:`/sessions`,getParentRoute:()=>dh}),sg=vp.update({id:`/reminders`,path:`/reminders`,getParentRoute:()=>dh}),cg=yp.update({id:`/overview`,path:`/overview`,getParentRoute:()=>dh}),lg=Mp.update({id:`/organizations`,path:`/organizations`,getParentRoute:()=>dh}),ug=Pp.update({id:`/open-voyage`,path:`/open-voyage`,getParentRoute:()=>dh}),dg=Fp.update({id:`/nutrition`,path:`/nutrition`,getParentRoute:()=>dh}),fg=Bp.update({id:`/medical-records`,path:`/medical-records`,getParentRoute:()=>dh}),pg=Gp.update({id:`/health360`,path:`/health360`,getParentRoute:()=>dh}),mg=om.update({id:`/bug-reports`,path:`/bug-reports`,getParentRoute:()=>dh}),hg=sm.update({id:`/app-analytics`,path:`/app-analytics`,getParentRoute:()=>dh}),gg=fm.update({id:`/analytics`,path:`/analytics`,getParentRoute:()=>dh}),_g=gm.update({id:`/activity`,path:`/activity`,getParentRoute:()=>dh}),vg=_m.update({id:`/care`,path:`/care`,getParentRoute:()=>fh}),yg=vm.update({id:`/$species/symptoms/$symptom`,path:`/$species/symptoms/$symptom`,getParentRoute:()=>W}),bg=ym.update({id:`/jobs/$jobId`,path:`/jobs/$jobId`,getParentRoute:()=>Gm}),xg=bm.update({id:`/cards/$cardId`,path:`/cards/$cardId`,getParentRoute:()=>Gm}),Sg=xm.update({id:`/care/$contextId`,path:`/care/$contextId`,getParentRoute:()=>eh}),Cg=Sm.update({id:`/skills/`,path:`/skills/`,getParentRoute:()=>rh}),wg=Cm.update({id:`/library/`,path:`/library/`,getParentRoute:()=>rh}),Tg=Dm.update({id:`/knowledge/`,path:`/knowledge/`,getParentRoute:()=>rh}),Eg=Om.update({id:`/skills/new`,path:`/skills/new`,getParentRoute:()=>rh}),Dg=km.update({id:`/skills/$skillId`,path:`/skills/$skillId`,getParentRoute:()=>rh}),Og=jm.update({id:`/knowledge/pain-management`,path:`/knowledge/pain-management`,getParentRoute:()=>rh}),kg=Nm.update({id:`/knowledge/gastroenterology`,path:`/knowledge/gastroenterology`,getParentRoute:()=>rh}),Ag=Fm.update({id:`/knowledge/dermatology`,path:`/knowledge/dermatology`,getParentRoute:()=>rh}),jg=Im.update({id:`/knowledge/$slug`,path:`/knowledge/$slug`,getParentRoute:()=>rh}),Mg=Lm.update({id:`/drugs/$ref`,path:`/drugs/$ref`,getParentRoute:()=>rh}),Ng=Rm.update({id:`/books/$bookRef`,path:`/books/$bookRef`,getParentRoute:()=>rh}),Pg=zm.update({id:`/$userId`,path:`/$userId`,getParentRoute:()=>ug}),Fg=Bm.update({id:`/$userId_/chat-history`,path:`/$userId/chat-history`,getParentRoute:()=>ug}),Ig=Vm.update({id:`/ai-vet/jobs/$jobId`,path:`/ai-vet/jobs/$jobId`,getParentRoute:()=>fh}),Lg={AuthedCareRoute:vg,AuthedAiVetCardsCardIdRoute:Hm.update({id:`/ai-vet/cards/$cardId`,path:`/ai-vet/cards/$cardId`,getParentRoute:()=>fh}),AuthedAiVetJobsJobIdRoute:Ig},Rg=fh._addFileChildren(Lg),zg={AdminOpenVoyageUserIdRoute:Pg,AdminOpenVoyageUserIdChatHistoryRoute:Fg},Bg={AdminActivityRoute:_g,AdminAnalyticsRoute:gg,AdminAppAnalyticsRoute:hg,AdminBugReportsRoute:mg,AdminHealth360Route:pg,AdminMedicalRecordsRoute:fg,AdminNutritionRoute:dg,AdminOpenVoyageRoute:ug._addFileChildren(zg),AdminOrganizationsRoute:lg,AdminOverviewRoute:cg,AdminRemindersRoute:sg,AdminSessionsRoute:og,AdminTriageRoute:ag,AdminUsersRoute:ig,AdminVetAnalyticsRoute:rg,AdminIndexRoute:ng},Vg=dh._addFileChildren(Bg),Hg={ForvetsAskRoute:tg,ForvetsDocumentSettingsRoute:eg,ForvetsLibraryPreviewRoute:$h,ForvetsPendingRoute:Qh,ForvetsPreferencesRoute:Zh,ForvetsRejectedRoute:Xh,ForvetsSignupRoute:Yh,ForvetsSourcesRoute:Jh,ForvetsIndexRoute:qh,ForvetsB
14ooksBookRefRoute:Ng,ForvetsDrugsRefRoute:Mg,ForvetsKnowledgeSlugRoute:jg,ForvetsKnowledgeDermatologyRoute:Ag,ForvetsKnowledgeGastroenterologyRoute:kg,ForvetsKnowledgePainManagementRoute:Og,ForvetsSkillsSkillIdRoute:Dg,ForvetsSkillsNewRoute:Eg,ForvetsKnowledgeIndexRoute:Tg,ForvetsLibraryIndexRoute:wg,ForvetsSkillsIndexRoute:Cg},Ug=rh._addFileChildren(Hg),Wg={PaccAnimalsRoute:Kh,PaccCoordinatorRoute:Gh,PaccCoordinatorLoginRoute:Wh,PaccEnrollRoute:Uh,PaccLoginRoute:Hh,PaccIndexRoute:Vh,PaccCareContextIdRoute:Sg},Gg=eh._addFileChildren(Wg),Kg={TriageCardsCardIdRoute:xg,TriageJobsJobIdRoute:bg},qg={IndexRoute:ph,AuthedRoute:Rg,AdminRoute:Vg,AiDisclaimerRoute:uh,AiVetRoute:lh,AiVetAccuracyRoute:ch,AiVetForCatsRoute:sh,AiVetForDogsRoute:oh,CheckInRoute:ah,DataDeletionRoute:ih,ForvetsRoute:Ug,LoginRoute:nh,LogoutRoute:th,PaccRoute:Gg,PetSymptomCheckerRoute:$m,PricingRoute:Qm,PrivacyRoute:Zm,ProductRoute:Xm,SignupRoute:Ym,SubscribeRoute:Jm,SupportRoute:qm,TermsRoute:Km,TriageRoute:Gm._addFileChildren(Kg),UnsubscribeRoute:Wm,WelcomeRoute:Um,AppsumoActivateRoute:Bh,AuthCallbackRoute:zh,AuthTriageClaimRoute:Rh,BlogSlugRoute:Lh,BlogAmphibianHealthRoute:Ih,BlogBirdHealthRoute:Fh,BlogCatHealthRoute:Ph,BlogChinchillaHealthRoute:Nh,BlogDeguHealthRoute:Mh,BlogDogHealthRoute:jh,BlogFerretHealthRoute:Ah,BlogFishHealthRoute:kh,BlogGerbilHealthRoute:Oh,BlogGuineaPigHealthRoute:Dh,BlogHamsterHealthRoute:Eh,BlogHedgehogHealthRoute:Th,BlogMouseHealthRoute:wh,BlogRabbitHealthRoute:Ch,BlogRatHealthRoute:Sh,BlogReptileHealthRoute:xh,BlogSugarGliderHealthRoute:bh,SubscribeSuccessRoute:yh,SymptomsSlugRoute:vh,ToolsToxinRoute:_h,BlogIndexRoute:gh,SymptomsIndexRoute:hh,ToolsIndexRoute:mh,SpeciesSymptomsSymptomRoute:yg},Jg=W._addFileChildren(qg);function Yg(){return br({routeTree:Jg,defaultPreload:`intent`,defaultViewTransition:!0,scrollRestoration:({location:e})=>e.pathname!==`/product`,defaultNotFoundComponent:()=>(0,R.jsx)(`div`,{className:`flex min-h-svh items-center justify-center bg-home-bg`,children:(0,R.jsxs)(`div`,{className:`text-center`,children:[(0,R.jsx)(`h1`,{className:`text-2xl font-bold text-brown-primary`,children:`Page not found`}),(0,R.jsx)(`p`,{className:`mt-2 text-brown-secondary`,children:`The page you're looking for doesn't exist.`}),(0,R.jsx)(`a`,{href:`/`,className:`mt-4 inline-block rounded-full bg-cta-black px-6 py-2 text-sm font-medium text-white transition-colors hover:bg-cta-black/85`,children:`Go home`})]})})})}async function Xg(){let e=await Yg(),t=[];return window.__TSS_START_OPTIONS__={serializationAdapters:t},t.push(Nr),e.options.serializationAdapters&&t.push(...e.options.serializationAdapters),e.update({basepath:``,serializationAdapters:t}),e.state.matches.length||await Mr(e),e}async function Zg(){let e=await Xg();return window.$_TSR?.h(),e}var Qg;function $g(){return Qg||=Zg(),(0,R.jsx)(hr,{promise:Qg,children:e=>(0,R.jsx)(Cr,{router:e})})}var e_=dr();(0,z.startTransition)(()=>{(0,e_.hydrateRoot)(document,(0,R.jsx)(z.StrictMode,{children:(0,R.jsx)($g,{})}))});export{Af as $,Kl as $t,Qp as A,Ms as An,kd as At,vp as B,wi as Bn,$u as Bt,Jp as C,Lc as Cn,Vd as Ct,Xp as D,Zs as Dn,$ as Dt,Yp as E,Ys as En,Fd as Et,Bp as F,oa as Fn,Ed as Ft,op as G,vi as Gn,Eu as Gt,fp as H,Si as Hn,Wu as Ht,Ip as I,da as In,_d as It,zf as J,Lr as Jn,Zl as Jt,rp as K,gi as Kn,Tu as Kt,Lp as L,Di as Ln,td as Lt,Gp as M,ua as Mn,Od as Mt,Vp as N,la as Nn,jd as Nt,em as O,Xs as On,Pd as Ot,Hp as P,ca as Pn,Dd as Pt,jf as Q,ql as Qt,Fp as R,Ei as Rn,nd as Rt,om as S,Rc as Sn,Hd as St,Kp as T,Nc as Tn,zd as Tt,dp as U,bi as Un,Bu as Ut,hp as V,Ci as Vn,Zu as Vt,cp as W,yi as Wn,ju as Wt,Uf as X,Pr as Xn,Yl as Xt,qf as Y,Rr as Yn,Ql as Yt,Nf as Z,Jl as Zt,gm as _,Xc as _n,qd as _t,Im as a,Fl as an,gf as at,cm as b,Ic as bn,Wd as bt,Nm as c,ol as cn,nf as ct,Am as d,nl as dn,$d as dt,Ul as en,Tf as et,km as f,el as fn,Qd as ft,_m as g,il as gn,Jd as gt,vm as h,$c as hn,Yd as ht,Lm as i,zl as in,_f as it,tm as j,pa as jn,Ad as jt,$p as k,Js as kn,Md as kt,Mm as l,sl as ln,tf as lt,xm as m,rl as mn,Xd as mt,zm as n,q as nn,xf as nt,Fm as o,El as on,pf as ot,Dm as p,Zc as pn,Zd as pt,Gf as q,hi as qn,iu as qt,Rm as r,K as rn,yf as rt,Pm as s,Tl as sn,lf as st,Bm as t,J as tn,Sf as tt,jm as u,Qc as un,ef as ut,fm as v,tl as vn,Kd as vt,qp as w,zc as wn,Bd as wt,sm as x,Bc as xn,Ud as xt,lm as y,Mc as yn,Gd as yt,yp as z,Ti as zn,ed as zt};

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.