PageSourceSearch

https://legacybusinesspartners.ai/assets/index-DkuzXPwN.js

js legacybusinesspartners.ai collected 2026-10-05 14:51:21 UTC 409,559 bytes, 50 lines download raw bytes

vendor: 14,979 bytes, lines 1-4
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/routes-Bx0zgE8t.js","assets/jsx-runtime-DUAcabCT.js","assets/link-CevLxCwB.js","assets/react-6OGjdfot.js","assets/Footer-BgdeN9o1.js","assets/case-studies-DYbKnUIg.js","assets/building-2-B_4V9jpc.js","assets/check-BCz37ey7.js","assets/industries-DLOIt9QA.js","assets/zap-Cj8OeQUG.js","assets/phone-call-BiQBtNEe.js","assets/CaseStudyProofSection-RdsdgCPd.js","assets/shield-check-t3oHritQ.js","assets/users-CZ98l-iq.js","assets/book-5-mistakes.jpg.asset-Dy-z15AI.js","assets/Ticker-slqupGO1.js","assets/SpendDiagnosticPromo-B6IgrSC-.js","assets/routes-2u7K9kOl.css","assets/about-CF-VveUR.js","assets/ai-employee-calculator-C_vX2ey2.js","assets/clock-CZiVDF2A.js","assets/mail-DHyC92sh.js","assets/ai-marketing-fpnHgD2z.js","assets/graduation-cap-Csn2V-0q.js","assets/rocket-Buq6Hq69.js","assets/ai-receptionist-DY0tJBqr.js","assets/PricingCards-6Ew9-k6h.js","assets/target-DK2VNBAV.js","assets/auth-C1tdQrVF.js","assets/client-BlT3xoX5.js","assets/preload-helper-zJ_50EbN.js","assets/book-M8GtbMuK.js","assets/cpa-leak-audit-DEB5sfXc.js","assets/free-gpts-DURxDG0o.js","assets/circle-check-rMSoUQKd.js","assets/lock-Cv5R_6Ci.js","assets/healthcare-5feV5h3L.js","assets/hipaa-compliant-ai-receptionist-BGBXtjWG.js","assets/clipboard-check-DzlHB0_n.js","assets/hospitality-DWgdaH4x.js","assets/OtherIndustries-CDG4liHr.js","assets/legal-BHGi129J.js","assets/marketing-spend-diagnostic-Dc8cikec.js","assets/arrow-left-Ct4x_jYN.js","assets/download-1eVvWVEd.js","assets/partner-engine-BhzJOAF_.js","assets/partners-BrksUIyM.js","assets/wrench-D2XVvr2E.js","assets/privacy-uNej-hPA.js","assets/shield-v4GETtNa.js","assets/resources-gV-x-47p.js","assets/briefcase-Dnwb7zuR.js","assets/results-GCM1cVCR.js","assets/survey-BrVY1IjP.js","assets/terms-DeDjmiwz.js","assets/tools-7QdrKNId.js","assets/blog.index-CcTbn8rl.js","assets/blog.ai-receptionist-vs-virtual-assistant-CHcDHuSu.js","assets/circle-x-Dp1ZgA0D.js","assets/blog.is-a-live-answering-service-worth-it-BpQ3qxmL.js","assets/case-studies._slug-CvxZu22F.js","assets/case-studies._slug-CjfvSXhG.js","assets/case-studies._slug-DE3uMOeB.js","assets/case-studies._slug-CSa1DcMl.js","assets/research.index-CJiihJqX.js","assets/research.missed-call-report-IRtGqeg0.js","assets/CalculatorCtaBlock-DGGmcxJ0.js","assets/research_.answering-services-BzcanKGP.js","assets/tools_.marketing-budget-planner-D2vt4QlV.js","assets/tools_.missed-call-calculator-CeRznNMB.js","assets/_._lovable.oauth.consent-DDhOsTLS.js","assets/_._lovable.oauth.consent-PH506BX3.js"])))=>i.map(i=>d[i]);
2import{i as e,n as t,t as n}from"./jsx-runtime-DUAcabCT.js";import{t as r}from"./react-6OGjdfot.js";import{A as i,C as a,D as o,E as s,O as c,S as l,T as u,_ as d,a as f,b as p,c as m,d as h,f as g,g as _,h as v,i as y,k as b,l as x,m as S,n as C,o as ee,p as te,r as w,s as ne,t as re,u as ie,v as ae,w as oe,x as se,y as ce}from"./link-CevLxCwB.js";import{t as T}from"./client-BlT3xoX5.js";import{t as E}from"./preload-helper-zJ_50EbN.js";import{a as le,c as ue,u as de,v as fe,x as D}from"./Footer-BgdeN9o1.js";import{b as O,c as pe,h as me,l as he,m as ge,u as _e,x as ve}from"./case-studies-DYbKnUIg.js";var ye=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,re());else{var t=n(l);t!==null&&oe(x,t.startTime-e)}}var S=!1,C=-1,ee=5,te=-1;function w(){return g?!0:!(e.unstable_now()-te<ee)}function ne(){if(g=!1,S){var t=e.unstable_now();te=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&&w());){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&&oe(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?re():S=!1}}}var re;if(typeof y==`function`)re=function(){y(ne)};else if(typeof MessageChannel<`u`){var ie=new MessageChannel,ae=ie.port2;ie.port1.onmessage=ne,re=function(){ae.postMessage(null)}}else re=function(){_(ne,0)};function oe(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,oe(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,re()))),r},e.unstable_shouldYield=w,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),be=t(((e,t)=>{t.exports=ye()})),xe=t((e=>{var t=r();function n(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 i(){}var a={d:{f:i,r:function(){throw Error(n(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},o=Symbol.for(`react.portal`);function s(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var c=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function l(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return s(e,t,null,r)},e.flushSync=function(e){var t=c.T,n=a.p;try{if(c.T=null,a.p=2,e)return e()}finally{c.T=t,a.p=n,a.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,a.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&a.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=l(n,t.crossOrigin),i=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?a.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:i,fetchPriority:o}):n===`script`&&a.d.X(e,{crossOrigin:r,integrity:i,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=l(t.as,t.crossOrigin);a.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??a.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=l(n,t.crossOrigin);a.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=l(t.as,t.crossOrigin);a.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else a.d.m(e)},e.requestFormReset=function(e){a.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return c.H.useFormState(e,t,n)},e.useFormStatus=function(){return c.H.useHostTransitionStatus()},e.version=`19.2.5`})),Se=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=xe()})),Ce=t((e=>{var t=be(),n=r(),i=Se();function a(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 o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function s(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 c(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 l(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 u(e){if(s(e)!==e)throw Error(a(188))}function d(e){var t=e.alternate;if(!t){if(t=s(e),t===null)throw Error(a(188));return t===e?e:null}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return u(i),e;if(o===r)return u(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var c=!1,l=i.child;l;){if(l===n){c=!0,n=i,r=o;break}if(l===r){c=!0,r=i,n=o;break}l=l.sibling}if(!c){for(l=o.child;l;){if(l===n){c=!0,n=o,r=i;break}if(l===r){c=!0,r=o,n=i;break}l=l.sibling}if(!c)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(n.tag!==3)throw Error(a(188));return n.stateNode.current===n?e:t}function f(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=f(e),t!==null)return t;e=e.sibling}return null}var p=Object.assign,m=Symbol.for(`react.element`),h=Symbol.for(`react.transitional.element`),g=Symbol.for(`react.portal`),_=Symbol.for(`react.fragment`),v=Symbol.for(`react.strict_mode`),y=Symbol.for(`react.profiler`),b=Symbol.for(`react.consumer`),x=Symbol.for(`react.context`),S=Symbol.for(`react.forward_ref`),C=Symbol.for(`react.suspense`),ee=Symbol.for(`react.suspense_list`),te=Symbol.for(`react.memo`),w=Symbol.for(`react.lazy`),ne=Symbol.for(`react.activity`),re=Symbol.for(`react.memo_cache_sentinel`),ie=Symbol.iterator;function ae(e){return typeof e!=`object`||!e?null:(e=ie&&e[ie]||e[`@@iterator`],typeof e==`function`?e:null)}var oe=Symbol.for(`react.client.reference`);function se(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===oe?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case _:return`Fragment`;case y:return`Profiler`;case v:return`StrictMode`;case C:return`Suspense`;case ee:return`SuspenseList`;case ne:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case g:return`Portal`;case x:return e.displayName||`Context`;case b:return(e._context.displayName||`Context`)+`.Consumer`;case S: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?se(e.type)||`Memo`:t;case w:t=e._payload,e=e._init;try{return se(e(t))}catch{}}return null}var ce=Array.isArray,T=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,E=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,le={pending:!1,data:null,method:null,action:null},ue=[],de=-1;function fe(e){return{current:e}}function D(e){0>de||(e.current=ue[de],ue[de]=null,de--)}function O(e,t){de++,ue[de]=e.current,e.current=t}var pe=fe(null),me=fe(null),he=fe(null),ge=fe(null);function _e(e,t){switch(O(he,t),O(me,e),O(pe,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}}D(pe),O(pe,e)}function ve(){D(pe),D(me),D(he)}function ye(e){e.memoizedState!==null&&O(ge,e);var t=pe.current,n=Hd(t,e.type);t!==n&&(O(me,e),O(pe,n))}function xe(e){me.current===e&&(D(pe),D(me)),ge.current===e&&(D(ge),Qf._currentValue=le)}var Ce,we;function Te(e){if(Ce===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Ce=t&&t[1]||``,we=-1<e.stack.indexOf(`
3    at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
4`+Ce+e+we}var Ee=!1;function De(e,t){if(!e||Ee)return``;Ee=!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)}
vendor: 6,582 bytes, lines 4-9
4else{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{Ee=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?Te(n):``}function Oe(e,t){switch(e.tag){case 26:case 27:case 5:return Te(e.type);case 16:return Te(`Lazy`);case 13:return e.child!==t&&t!==null?Te(`Suspense Fallback`):Te(`Suspense`);case 19:return Te(`SuspenseList`);case 0:case 15:return De(e.type,!1);case 11:return De(e.type.render,!1);case 1:return De(e.type,!0);case 31:return Te(`Activity`);default:return``}}function ke(e){try{var t=``,n=null;do t+=Oe(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
8Error generating stack: `+e.message+`
9`+e.stack}}var Ae=Object.prototype.hasOwnProperty,je=t.unstable_scheduleCallback,Me=t.unstable_cancelCallback,Ne=t.unstable_shouldYield,Pe=t.unstable_requestPaint,Fe=t.unstable_now,Ie=t.unstable_getCurrentPriorityLevel,Le=t.unstable_ImmediatePriority,Re=t.unstable_UserBlockingPriority,ze=t.unstable_NormalPriority,Be=t.unstable_LowPriority,Ve=t.unstable_IdlePriority,He=t.log,Ue=t.unstable_setDisableYieldValue,We=null,Ge=null;function Ke(e){if(typeof He==`function`&&Ue(e),Ge&&typeof Ge.setStrictMode==`function`)try{Ge.setStrictMode(We,e)}catch{}}var qe=Math.clz32?Math.clz32:Xe,Je=Math.log,Ye=Math.LN2;function Xe(e){return e>>>=0,e===0?32:31-(Je(e)/Ye|0)|0}var Ze=256,Qe=262144,$e=4194304;function et(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 tt(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=et(n))):i=et(o):i=et(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=et(n))):i=et(o)):i=et(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 nt(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function rt(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 it(){var e=$e;return $e<<=1,!($e&62914560)&&($e=4194304),e}function at(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ot(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function st(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-qe(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&&ct(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function ct(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-qe(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function lt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-qe(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function ut(e,t){var n=t&-t;return n=n&42?1:dt(n),(n&(e.suspendedLanes|t))===0?n:0}function dt(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 ft(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function pt(){var e=E.p;return e===0?(e=window.event,e===void 0?32:mp(e.type)):e}function mt(e,t){var n=E.p;try{return E.p=e,t()}finally{E.p=n}}var ht=Math.random().toString(36).slice(2),gt=`__reactFiber$`+ht,_t=`__reactProps$`+ht,vt=`__reactContainer$`+ht,yt=`__reactEvents$`+ht,bt=`__reactListeners$`+ht,xt=`__reactHandles$`+ht,St=`__reactResources$`+ht,Ct=`__reactMarker$`+ht;function wt(e){delete e[gt],delete e[_t],delete e[yt],delete e[bt],delete e[xt]}function Tt(e){var t=e[gt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[vt]||n[gt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=df(e);e!==null;){if(n=e[gt])return n;e=df(e)}return t}e=n,n=e.parentNode}return null}function Et(e){if(e=e[gt]||e[vt]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Dt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(a(33))}function Ot(e){var t=e[St];return t||=e[St]={hoistableStyles:new Map,hoistableScripts:new Map},t}function kt(e){e[Ct]=!0}var At=new Set,jt={};function Mt(e,t){Nt(e,t),Nt(e+`Capture`,t)}function Nt(e,t){for(jt[e]=t,e=0;e<t.length;e++)At.add(t[e])}var Pt=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]*$`),Ft={},It={};function Lt(e){return Ae.call(It,e)?!0:Ae.call(Ft,e)?!1:Pt.test(e)?It[e]=!0:(Ft[e]=!0,!1)}function Rt(e,t,n){if(Lt(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 zt(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 Bt(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 Vt(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function Ht(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Ut(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 Wt(e){if(!e._valueTracker){var t=Ht(e)?`checked`:`value`;e._valueTracker=Ut(e,t,``+e[t])}}function Gt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Ht(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function Kt(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 qt=/[\n"\\]/g;function Jt(e){return e.replace(qt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Yt(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=``+Vt(t)):e.value!==``+Vt(t)&&(e.value=``+Vt(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Zt(e,o,Vt(n)):Zt(e,o,Vt(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=``+Vt(s):e.removeAttribute(`name`)}function Xt(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)){Wt(e);return}n=n==null?``:``+Vt(n),t=t==null?n:``+Vt(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),Wt(e)}function Zt(e,t,n){t===`number`&&Kt(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function Qt(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=``+Vt(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 $t(e,t,n){if(t!=null&&(t=``+Vt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+Vt(n)}function en(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(a(92));if(ce(r)){if(1<r.length)throw Error(a(93));r=r[0]}n=r}n??=``,t=n}
vendor: 87,256 bytes, line 9
9n=Vt(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),Wt(e)}function tn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var nn=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 rn(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||nn.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function an(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(a(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&&rn(e,i,r)}else for(var o in t)t.hasOwnProperty(o)&&rn(e,o,t[o])}function on(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 sn=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`]]),cn=/^[\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 ln(e){return cn.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function un(){}var dn=null;function fn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var pn=null,mn=null;function hn(e){var t=Et(e);if(t&&(e=t.stateNode)){var n=e[_t]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Yt(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="`+Jt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=r[_t]||null;if(!i)throw Error(a(90));Yt(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&&Gt(r)}break a;case`textarea`:$t(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Qt(e,!!n.multiple,t,!1)}}}var gn=!1;function _n(e,t,n){if(gn)return e(t,n);gn=!0;try{return e(t)}finally{if(gn=!1,(pn!==null||mn!==null)&&(xu(),pn&&(t=pn,e=mn,mn=pn=null,hn(t),e)))for(t=0;t<e.length;t++)hn(e[t])}}function vn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[_t]||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(a(231,t,typeof n));return n}var yn=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),bn=!1;if(yn)try{var xn={};Object.defineProperty(xn,"passive",{get:function(){bn=!0}}),window.addEventListener(`test`,xn,xn),window.removeEventListener(`test`,xn,xn)}catch{bn=!1}var Sn=null,Cn=null,wn=null;function Tn(){if(wn)return wn;var e,t=Cn,n=t.length,r,i=`value`in Sn?Sn.value:Sn.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 wn=i.slice(e,1<r?1-r:void 0)}function En(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 Dn(){return!0}function On(){return!1}function kn(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)?Dn:On,this.isPropagationStopped=On,this}return p(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=Dn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=Dn)},persist:function(){},isPersistent:Dn}),t}var An={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},jn=kn(An),Mn=p({},An,{view:0,detail:0}),Nn=kn(Mn),Pn,Fn,In,Ln=p({},Mn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Jn,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!==In&&(In&&e.type===`mousemove`?(Pn=e.screenX-In.screenX,Fn=e.screenY-In.screenY):Fn=Pn=0,In=e),Pn)},movementY:function(e){return`movementY`in e?e.movementY:Fn}}),Rn=kn(Ln),zn=kn(p({},Ln,{dataTransfer:0})),Bn=kn(p({},Mn,{relatedTarget:0})),Vn=kn(p({},An,{animationName:0,elapsedTime:0,pseudoElement:0})),Hn=kn(p({},An,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Un=kn(p({},An,{data:0})),Wn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Gn={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`},Kn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function qn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Kn[e])?!!t[e]:!1}function Jn(){return qn}var Yn=kn(p({},Mn,{key:function(e){if(e.key){var t=Wn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=En(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Gn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Jn,charCode:function(e){return e.type===`keypress`?En(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?En(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Xn=kn(p({},Ln,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Zn=kn(p({},Mn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Jn})),Qn=kn(p({},An,{propertyName:0,elapsedTime:0,pseudoElement:0})),$n=kn(p({},Ln,{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})),er=kn(p({},An,{newState:0,oldState:0})),tr=[9,13,27,32],nr=yn&&`CompositionEvent`in window,rr=null;yn&&`documentMode`in document&&(rr=document.documentMode);var ir=yn&&`TextEvent`in window&&!rr,ar=yn&&(!nr||rr&&8<rr&&11>=rr),or=` `,sr=!1;function cr(e,t){switch(e){case`keyup`:return tr.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function lr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var ur=!1;function dr(e,t){switch(e){case`compositionend`:return lr(t);case`keypress`:return t.which===32?(sr=!0,or):null;case`textInput`:return e=t.data,e===or&&sr?null:e;default:return null}}function fr(e,t){if(ur)return e===`compositionend`||!nr&&cr(e,t)?(e=Tn(),wn=Cn=Sn=null,ur=!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 ar&&t.locale!==`ko`?null:t.data;default:return null}}var pr={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 mr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!pr[e.type]:t===`textarea`}function hr(e,t,n,r){pn?mn?mn.push(r):mn=[r]:pn=r,t=Ed(t,`onChange`),0<t.length&&(n=new jn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var gr=null,_r=null;function vr(e){yd(e,0)}function k(e){if(Gt(Dt(e)))return e}function yr(e,t){if(e===`change`)return t}var br=!1;if(yn){var xr;if(yn){var Sr=`oninput`in document;if(!Sr){var Cr=document.createElement(`div`);Cr.setAttribute(`oninput`,`return;`),Sr=typeof Cr.oninput==`function`}xr=Sr}else xr=!1;br=xr&&(!document.documentMode||9<document.documentMode)}function wr(){gr&&(gr.detachEvent(`onpropertychange`,Tr),_r=gr=null)}function Tr(e){if(e.propertyName===`value`&&k(_r)){var t=[];hr(t,_r,e,fn(e)),_n(vr,t)}}function Er(e,t,n){e===`focusin`?(wr(),gr=t,_r=n,gr.attachEvent(`onpropertychange`,Tr)):e===`focusout`&&wr()}function Dr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return k(_r)}function Or(e,t){if(e===`click`)return k(t)}function kr(e,t){if(e===`input`||e===`change`)return k(t)}function Ar(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var jr=typeof Object.is==`function`?Object.is:Ar;function Mr(e,t){if(jr(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(!Ae.call(t,i)||!jr(e[i],t[i]))return!1}return!0}function Nr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Pr(e,t){var n=Nr(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=Nr(n)}}function Fr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Fr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ir(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Kt(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=Kt(e.document)}return t}function Lr(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 Rr=yn&&`documentMode`in document&&11>=document.documentMode,zr=null,Br=null,Vr=null,Hr=!1;function Ur(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Hr||zr==null||zr!==Kt(r)||(r=zr,`selectionStart`in r&&Lr(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}),Vr&&Mr(Vr,r)||(Vr=r,r=Ed(Br,`onSelect`),0<r.length&&(t=new jn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=zr)))}function Wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Gr={animationend:Wr(`Animation`,`AnimationEnd`),animationiteration:Wr(`Animation`,`AnimationIteration`),animationstart:Wr(`Animation`,`AnimationStart`),transitionrun:Wr(`Transition`,`TransitionRun`),transitionstart:Wr(`Transition`,`TransitionStart`),transitioncancel:Wr(`Transition`,`TransitionCancel`),transitionend:Wr(`Transition`,`TransitionEnd`)},Kr={},qr={};yn&&(qr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Gr.animationend.animation,delete Gr.animationiteration.animation,delete Gr.animationstart.animation),`TransitionEvent`in window||delete Gr.transitionend.transition);function Jr(e){if(Kr[e])return Kr[e];if(!Gr[e])return e;var t=Gr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in qr)return Kr[e]=t[n];return e}var Yr=Jr(`animationend`),Xr=Jr(`animationiteration`),Zr=Jr(`animationstart`),Qr=Jr(`transitionrun`),$r=Jr(`transitionstart`),ei=Jr(`transitioncancel`),ti=Jr(`transitionend`),ni=new Map,ri=`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(` `);ri.push(`scrollEnd`);function ii(e,t){ni.set(e,t),Mt(t,[e])}var ai=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)},oi=[],si=0,ci=0;function li(){for(var e=si,t=ci=si=0;t<e;){var n=oi[t];oi[t++]=null;var r=oi[t];oi[t++]=null;var i=oi[t];oi[t++]=null;var a=oi[t];if(oi[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&&pi(n,i,a)}}function ui(e,t,n,r){oi[si++]=e,oi[si++]=t,oi[si++]=n,oi[si++]=r,ci|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function di(e,t,n,r){return ui(e,t,n,r),mi(e)}function fi(e,t){return ui(e,null,null,t),mi(e)}function pi(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-qe(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function mi(e){if(50<fu)throw fu=0,pu=null,Error(a(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var hi={};function gi(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 _i(e,t,n,r){return new gi(e,t,n,r)}function vi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function yi(e,t){var n=e.alternate;return n===null?(n=_i(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 bi(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 xi(e,t,n,r,i,o){var s=0;if(r=e,typeof e==`function`)vi(e)&&(s=1);else if(typeof e==`string`)s=Uf(e,n,pe.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case ne:return e=_i(31,n,t,i),e.elementType=ne,e.lanes=o,e;case _:return Si(n.children,i,o,t);case v:s=8,i|=24;break;case y:return e=_i(12,n,t,i|2),e.elementType=y,e.lanes=o,e;case C:return e=_i(13,n,t,i),e.elementType=C,e.lanes=o,e;case ee:return e=_i(19,n,t,i),e.elementType=ee,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case x:s=10;break a;case b:s=9;break a;case S:s=11;break a;case te:s=14;break a;case w:s=16,r=null;break a}s=29,n=Error(a(130,e===null?`null`:typeof e,``)),r=null}return t=_i(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Si(e,t,n,r){return e=_i(7,e,r,t),e.lanes=n,e}function Ci(e,t,n){return e=_i(6,e,null,t),e.lanes=n,e}function wi(e){var t=_i(18,null,null,0);return t.stateNode=e,t}function Ti(e,t,n){return t=_i(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Ei=new WeakMap;function Di(e,t){if(typeof e==`object`&&e){var n=Ei.get(e);return n===void 0?(t={value:e,source:t,stack:ke(t)},Ei.set(e,t),t):n}return{value:e,source:t,stack:ke(t)}}var Oi=[],ki=0,Ai=null,ji=0,Mi=[],Ni=0,Pi=null,Fi=1,Ii=``;function Li(e,t){Oi[ki++]=ji,Oi[ki++]=Ai,Ai=e,ji=t}function Ri(e,t,n){Mi[Ni++]=Fi,Mi[Ni++]=Ii,Mi[Ni++]=Pi,Pi=e;var r=Fi;e=Ii;var i=32-qe(r)-1;r&=~(1<<i),n+=1;var a=32-qe(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Fi=1<<32-qe(t)+i|n<<i|r,Ii=a+e}else Fi=1<<a|n<<i|r,Ii=e}function zi(e){e.return!==null&&(Li(e,1),Ri(e,1,0))}function Bi(e){for(;e===Ai;)Ai=Oi[--ki],Oi[ki]=null,ji=Oi[--ki],Oi[ki]=null;for(;e===Pi;)Pi=Mi[--Ni],Mi[Ni]=null,Ii=Mi[--Ni],Mi[Ni]=null,Fi=Mi[--Ni],Mi[Ni]=null}function Vi(e,t){Mi[Ni++]=Fi,Mi[Ni++]=Ii,Mi[Ni++]=Pi,Fi=t.id,Ii=t.overflow,Pi=e}var Hi=null,A=null,j=!1,Ui=null,Wi=!1,Gi=Error(a(519));function Ki(e){throw Qi(Di(Error(a(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),Gi}function qi(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[gt]=e,t[_t]=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),Xt(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),en(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=un),t=!0):t=!1,t||Ki(e,!0)}function Ji(e){for(Hi=e.return;Hi;)switch(Hi.tag){case 5:case 31:case 13:Wi=!1;return;case 27:case 3:Wi=!0;return;default:Hi=Hi.return}}function Yi(e){if(e!==Hi)return!1;if(!j)return Ji(e),j=!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&&A&&Ki(e),Ji(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(a(317));A=uf(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(a(317));A=uf(e)}else t===27?(t=A,Zd(e.type)?(e=lf,lf=null,A=e):A=t):A=Hi?cf(e.stateNode.nextSibling):null;return!0}function Xi(){A=Hi=null,j=!1}function Zi(){var e=Ui;return e!==null&&($l===null?$l=e:$l.push.apply($l,e),Ui=null),e}function Qi(e){Ui===null?Ui=[e]:Ui.push(e)}var $i=fe(null),ea=null,ta=null;function na(e,t,n){O($i,t._currentValue),t._currentValue=n}function ra(e){e._currentValue=$i.current,D($i)}function ia(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 aa(e,t,n,r){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var o=i.dependencies;if(o!==null){var s=i.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=i;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),ia(o.return,n,e),r||(s=null);break a}o=c.next}}else if(i.tag===18){if(s=i.return,s===null)throw Error(a(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),ia(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 oa(e,t,n,r){e=null;for(var i=t,o=!1;i!==null;){if(!o){if(i.flags&524288)o=!0;else if(i.flags&262144)break}if(i.tag===10){var s=i.alternate;if(s===null)throw Error(a(387));if(s=s.memoizedProps,s!==null){var c=i.type;jr(i.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(i===ge.current){if(s=i.alternate,s===null)throw Error(a(387));s.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e===null?e=[Qf]:e.push(Qf))}i=i.return}e!==null&&aa(t,e,n,r),t.flags|=262144}function sa(e){for(e=e.firstContext;e!==null;){if(!jr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ca(e){ea=e,ta=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function la(e){return da(ea,e)}function ua(e,t){return ea===null&&ca(e),da(e,t)}function da(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},ta===null){if(e===null)throw Error(a(308));ta=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else ta=ta.next=t;return n}var fa=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()})}},pa=t.unstable_scheduleCallback,ma=t.unstable_NormalPriority,ha={$$typeof:x,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ga(){return{controller:new fa,data:new Map,refCount:0}}function _a(e){e.refCount--,e.refCount===0&&pa(ma,function(){e.controller.abort()})}var va=null,ya=0,ba=0,xa=null;function Sa(e,t){if(va===null){var n=va=[];ya=0,ba=dd(),xa={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return ya++,t.then(Ca,Ca),t}function Ca(){if(--ya===0&&va!==null){xa!==null&&(xa.status=`fulfilled`);var e=va;va=null,ba=0,xa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function wa(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 Ta=T.S;T.S=function(e,t){nu=Fe(),typeof t==`object`&&t&&typeof t.then==`function`&&Sa(e,t),Ta!==null&&Ta(e,t)};var Ea=fe(null);function Da(){var e=Ea.current;return e===null?W.pooledCache:e}function M(e,t){t===null?O(Ea,Ea.current):O(Ea,t.pool)}function Oa(){var e=Da();return e===null?null:{parent:ha._currentValue,pool:e}}var ka=Error(a(460)),Aa=Error(a(474)),ja=Error(a(542)),Ma={then:function(){}};function Na(e){return e=e.status,e===`fulfilled`||e===`rejected`}function Pa(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(un,un),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Ra(e),e;default:if(typeof t.status==`string`)t.then(un,un);else{if(e=W,e!==null&&100<e.shellSuspendCounter)throw Error(a(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,Ra(e),e}throw Ia=t,ka}}function Fa(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Ia=e,ka):e}}var Ia=null;function La(){if(Ia===null)throw Error(a(459));var e=Ia;return Ia=null,e}function Ra(e){if(e===ka||e===ja)throw Error(a(483))}var za=null,Ba=0;function Va(e){var t=Ba;return Ba+=1,za===null&&(za=[]),Pa(za,e,t)}function Ha(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Ua(e,t){throw t.$$typeof===m?Error(a(525)):(e=Object.prototype.toString.call(t),Error(a(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function Wa(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=yi(e,t),e.index=0,e.sibling=null,e}function o(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=Ci(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===_?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===a||typeof a==`object`&&a&&a.$$typeof===w&&Fa(a)===t.type)?(t=i(t,n.props),Ha(t,n),t.return=e,t):(t=xi(n.type,n.key,n.props,null,e.mode,r),Ha(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=Ti(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=Si(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=Ci(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case h:return n=xi(t.type,t.key,t.props,null,e.mode,n),Ha(n,t),n.return=e,n;case g:return t=Ti(t,e.mode,n),t.return=e,t;case w:return t=Fa(t),f(e,t,n)}if(ce(t)||ae(t))return t=Si(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,Va(t),n);if(t.$$typeof===x)return f(e,ua(e,t),n);Ua(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 h:return n.key===i?l(e,t,n,r):null;case g:return n.key===i?u(e,t,n,r):null;case w:return n=Fa(n),p(e,t,n,r)}if(ce(n)||ae(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,Va(n),r);if(n.$$typeof===x)return p(e,t,ua(e,n),r);Ua(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 h:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case g:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case w:return r=Fa(r),m(e,t,n,r,i)}if(ce(r)||ae(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,Va(r),i);if(r.$$typeof===x)return m(e,t,n,ua(t,r),i);Ua(t,r)}return null}function v(i,a,s,c){for(var l=null,u=null,d=a,h=a=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),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),j&&Li(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return j&&Li(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),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),j&&Li(i,h),l}function y(i,s,c,l){if(c==null)throw Error(a(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=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(i,h),j&&Li(i,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(i,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return j&&Li(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=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(i,e)}),j&&Li(i,g),u}function b(e,r,o,c){if(typeof o==`object`&&o&&o.type===_&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case h:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===_){if(r.tag===7){n(e,r.sibling),c=i(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===w&&Fa(l)===r.type){n(e,r.sibling),c=i(r,o.props),Ha(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===_?(c=Si(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=xi(o.type,o.key,o.props,null,e.mode,c),Ha(c,o),c.return=e,e=c)}return s(e);case g:a:{for(l=o.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=i(r,o.children||[]),c.return=e,e=c;break a}else{n(e,r);break}else t(e,r);r=r.sibling}c=Ti(o,e.mode,c),c.return=e,e=c}return s(e);case w:return o=Fa(o),b(e,r,o,c)}if(ce(o))return v(e,r,o,c);if(ae(o)){if(l=ae(o),typeof l!=`function`)throw Error(a(150));return o=l.call(o),y(e,r,o,c)}if(typeof o.then==`function`)return b(e,r,Va(o),c);if(o.$$typeof===x)return b(e,r,ua(e,o),c);Ua(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=i(r,o),c.return=e,e=c):(n(e,r),c=Ci(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Ba=0;var i=b(e,t,n,r);return za=null,i}catch(t){if(t===ka||t===ja)throw t;var a=_i(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Ga=Wa(!0),Ka=Wa(!1),qa=!1;function Ja(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ya(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 Xa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Za(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,U&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=mi(e),pi(e,null,n),t}return ui(e,r,t,n),mi(e)}function Qa(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,lt(e,n)}}function $a(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 eo=!1;function to(){if(eo){var e=xa;if(e!==null)throw e}}function no(e,t,n,r){eo=!1;var i=e.updateQueue;qa=!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,m=f!==s.lane;if(m?(K&f)===f:(r&f)===f){f!==0&&f===ba&&(eo=!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=p({},d,f);break a;case 2:qa=!0}}f=s.callback,f!==null&&(e.flags|=64,m&&(e.flags|=8192),m=i.callbacks,m===null?i.callbacks=[f]:m.push(f))}else m={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=m,c=d):u=u.next=m,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;m=s,s=m.next,m.next=null,i.lastBaseUpdate=m,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),ql|=o,e.lanes=o,e.memoizedState=d}}function ro(e,t){if(typeof e!=`function`)throw Error(a(191,e));e.call(t)}function io(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)ro(n[e],t)}var ao=fe(null),oo=fe(0);function so(e,t){e=Kl,O(oo,e),O(ao,t),Kl=e|t.baseLanes}function co(){O(oo,Kl),O(ao,ao.current)}function lo(){Kl=oo.current,D(ao),D(oo)}var uo=fe(null),fo=null;function po(e){var t=e.alternate;O(vo,vo.current&1),O(uo,e),fo===null&&(t===null||ao.current!==null||t.memoizedState!==null)&&(fo=e)}function mo(e){O(vo,vo.current),O(uo,e),fo===null&&(fo=e)}function ho(e){e.tag===22?(O(vo,vo.current),O(uo,e),fo===null&&(fo=e)):go(e)}function go(){O(vo,vo.current),O(uo,uo.current)}function _o(e){D(uo),fo===e&&(fo=null),D(vo)}var vo=fe(0);function yo(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 bo=0,N=null,P=null,xo=null,So=!1,Co=!1,wo=!1,To=0,Eo=0,F=null,Do=0;function Oo(){throw Error(a(321))}function ko(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!jr(e[n],t[n]))return!1;return!0}function Ao(e,t,n,r,i,a){return bo=a,N=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,T.H=e===null||e.memoizedState===null?Gs:Ks,wo=!1,a=n(r,i),wo=!1,Co&&(a=Mo(t,n,r,i)),jo(e),a}function jo(e){T.H=Ws;var t=P!==null&&P.next!==null;if(bo=0,xo=P=N=null,So=!1,Eo=0,F=null,t)throw Error(a(300));e===null||lc||(e=e.dependencies,e!==null&&sa(e)&&(lc=!0))}function Mo(e,t,n,r){N=e;var i=0;do{if(Co&&(F=null),Eo=0,Co=!1,25<=i)throw Error(a(301));if(i+=1,xo=P=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}T.H=qs,o=t(n,r)}while(Co);return o}function No(){var e=T.H,t=e.useState()[0];return t=typeof t.then==`function`?Bo(t):t,e=e.useState()[0],(P===null?null:P.memoizedState)!==e&&(N.flags|=1024),t}function Po(){var e=To!==0;return To=0,e}function Fo(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Io(e){if(So){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}So=!1}bo=0,xo=P=N=null,Co=!1,Eo=To=0,F=null}function Lo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return xo===null?N.memoizedState=xo=e:xo=xo.next=e,xo}function Ro(){if(P===null){var e=N.alternate;e=e===null?null:e.memoizedState}else e=P.next;var t=xo===null?N.memoizedState:xo.next;if(t!==null)xo=t,P=e;else{if(e===null)throw N.alternate===null?Error(a(467)):Error(a(310));P=e,e={memoizedState:P.memoizedState,baseState:P.baseState,baseQueue:P.baseQueue,queue:P.queue,next:null},xo===null?N.memoizedState=xo=e:xo=xo.next=e}return xo}function zo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Bo(e){var t=Eo;return Eo+=1,F===null&&(F=[]),e=Pa(F,e,t),t=N,(xo===null?t.memoizedState:xo.next)===null&&(t=t.alternate,T.H=t===null||t.memoizedState===null?Gs:Ks),e}function Vo(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Bo(e);if(e.$$typeof===x)return la(e)}throw Error(a(438,String(e)))}function Ho(e){var t=null,n=N.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=N.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=zo(),N.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 Uo(e,t){return typeof t==`function`?t(e):t}function Wo(e){return Go(Ro(),P,e)}function Go(e,t,n){var r=e.queue;if(r===null)throw Error(a(311));r.lastRenderedReducer=n;var i=e.baseQueue,o=r.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}t.baseQueue=i=o,r.pending=null}if(o=e.baseState,i===null)e.memoizedState=o;else{t=i.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(bo&f)===f:(K&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===ba&&(d=!0);else if((bo&p)===p){u=u.next,p===ba&&(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=o):l=l.next=f,N.lanes|=p,ql|=p;f=u.action,wo&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,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=o):l=l.next=p,N.lanes|=f,ql|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!jr(o,e.memoizedState)&&(lc=!0,d&&(n=xa,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return i===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Ko(e){var t=Ro(),n=t.queue;if(n===null)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=e(o,s.action),s=s.next;while(s!==i);jr(o,t.memoizedState)||(lc=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function qo(e,t,n){var r=N,i=Ro(),o=j;if(o){if(n===void 0)throw Error(a(407));n=n()}else n=t();var s=!jr((P||i).memoizedState,n);if(s&&(i.memoizedState=n,lc=!0),i=i.queue,vs(Xo.bind(null,r,i,e),[e]),i.getSnapshot!==t||s||xo!==null&&xo.memoizedState.tag&1){if(r.flags|=2048,ps(9,{destroy:void 0},Yo.bind(null,r,i,n,t),null),W===null)throw Error(a(349));o||bo&127||Jo(r,t,n)}return n}function Jo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=N.updateQueue,t===null?(t=zo(),N.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Yo(e,t,n,r){t.value=n,t.getSnapshot=r,Zo(t)&&Qo(e)}function Xo(e,t,n){return n(function(){Zo(t)&&Qo(e)})}function Zo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!jr(e,n)}catch{return!0}}function Qo(e){var t=fi(e,2);t!==null&&gu(t,e,2)}function $o(e){var t=Lo();if(typeof e==`function`){var n=e;if(e=n(),wo){Ke(!0);try{n()}finally{Ke(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Uo,lastRenderedState:e},t}function es(e,t,n,r){return e.baseState=n,Go(e,P,typeof r==`function`?r:Uo)}function ts(e,t,n,r,i){if(Vs(e))throw Error(a(485));if(e=t.action,e!==null){var o={payload:i,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};T.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,ns(t,o)):(o.next=n.next,t.pending=n.next=o)}}function ns(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=T.T,o={};T.T=o;try{var s=n(i,r),c=T.S;c!==null&&c(o,s),rs(e,t,s)}catch(n){as(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),T.T=a}}else try{a=n(i,r),rs(e,t,a)}catch(n){as(e,t,n)}}function rs(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){is(e,t,n)},function(n){return as(e,t,n)}):is(e,t,n)}function is(e,t,n){t.status=`fulfilled`,t.value=n,os(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,ns(e,n)))}function as(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,os(t),t=t.next;while(t!==r)}e.action=null}function os(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function ss(e,t){return t}function cs(e,t){if(j){var n=W.formState;if(n!==null){a:{var r=N;if(j){if(A){b:{for(var i=A,a=Wi;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){A=cf(i.nextSibling),r=i.data===`F!`;break a}}Ki(r)}r=!1}r&&(t=n[0])}}return n=Lo(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ss,lastRenderedState:t},n.queue=r,n=Rs.bind(null,N,r),r.dispatch=n,r=$o(!1),a=Bs.bind(null,N,!1,r.queue),r=Lo(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=ts.bind(null,N,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function ls(e){return us(Ro(),P,e)}function us(e,t,n){if(t=Go(e,t,ss)[0],e=Wo(Uo)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Bo(t)}catch(e){throw e===ka?ja:e}else r=t;t=Ro();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(N.flags|=2048,ps(9,{destroy:void 0},ds.bind(null,i,n),null)),[r,a,e]}function ds(e,t){e.action=t}function fs(e){var t=Ro(),n=P;if(n!==null)return us(t,n,e);Ro(),t=t.memoizedState,n=Ro();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function ps(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=N.updateQueue,t===null&&(t=zo(),N.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 ms(){return Ro().memoizedState}function hs(e,t,n,r){var i=Lo();N.flags|=e,i.memoizedState=ps(1|t,{destroy:void 0},n,r===void 0?null:r)}function gs(e,t,n,r){var i=Ro();r=r===void 0?null:r;var a=i.memoizedState.inst;P!==null&&r!==null&&ko(r,P.memoizedState.deps)?i.memoizedState=ps(t,a,n,r):(N.flags|=e,i.memoizedState=ps(1|t,a,n,r))}function _s(e,t){hs(8390656,8,e,t)}function vs(e,t){gs(2048,8,e,t)}function ys(e){N.flags|=4;var t=N.updateQueue;if(t===null)t=zo(),N.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function bs(e){var t=Ro().memoizedState;return ys({ref:t,nextImpl:e}),function(){if(U&2)throw Error(a(440));return t.impl.apply(void 0,arguments)}}function xs(e,t){return gs(4,2,e,t)}function Ss(e,t){return gs(4,4,e,t)}function Cs(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 ws(e,t,n){n=n==null?null:n.concat([e]),gs(4,4,Cs.bind(null,t,e),n)}function Ts(){}function Es(e,t){var n=Ro();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&ko(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function I(e,t){var n=Ro();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&ko(t,r[1]))return r[0];if(r=e(),wo){Ke(!0);try{e()}finally{Ke(!1)}}return n.memoizedState=[r,t],r}function Ds(e,t,n){return n===void 0||bo&1073741824&&!(K&261930)?e.memoizedState=t:(e.memoizedState=n,e=hu(),N.lanes|=e,ql|=e,n)}function Os(e,t,n,r){return jr(n,t)?n:ao.current===null?!(bo&42)||bo&1073741824&&!(K&261930)?(lc=!0,e.memoizedState=n):(e=hu(),N.lanes|=e,ql|=e,t):(e=Ds(e,n,r),jr(e,t)||(lc=!0),e)}function L(e,t,n,r,i){var a=E.p;E.p=a!==0&&8>a?a:8;var o=T.T,s={};T.T=s,Bs(e,!1,t,n);try{var c=i(),l=T.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?zs(e,t,wa(c,r),mu(e)):zs(e,t,r,mu(e))}catch(n){zs(e,t,{then:function(){},status:`rejected`,reason:n},mu())}finally{E.p=a,o!==null&&s.types!==null&&(o.types=s.types),T.T=o}}function ks(){}function As(e,t,n,r){if(e.tag!==5)throw Error(a(476));var i=js(e).queue;L(e,i,t,le,n===null?ks:function(){return Ms(e),n(r)})}function js(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:le,baseState:le,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Uo,lastRenderedState:le},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Uo,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Ms(e){var t=js(e);t.next===null&&(t=e.alternate.memoizedState),zs(e,t.next.queue,{},mu())}function Ns(){return la(Qf)}function Ps(){return Ro().memoizedState}function Fs(){return Ro().memoizedState}function Is(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=mu();e=Xa(n);var r=Za(t,e,n);r!==null&&(gu(r,t,n),Qa(r,t,n)),t={cache:ga()},e.payload=t;return}t=t.return}}function Ls(e,t,n){var r=mu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Vs(e)?Hs(t,n):(n=di(e,t,n,r),n!==null&&(gu(n,e,r),Us(n,t,r)))}function Rs(e,t,n){zs(e,t,n,mu())}function zs(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Vs(e))Hs(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,jr(s,o))return ui(e,t,i,0),W===null&&li(),!1}catch{}if(n=di(e,t,i,r),n!==null)return gu(n,e,r),Us(n,t,r),!0}return!1}function Bs(e,t,n,r){if(r={lane:2,revertLane:dd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Vs(e)){if(t)throw Error(a(479))}else t=di(e,n,r,2),t!==null&&gu(t,e,2)}function Vs(e){var t=e.alternate;return e===N||t!==null&&t===N}function Hs(e,t){Co=So=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Us(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,lt(e,n)}}var Ws={readContext:la,use:Vo,useCallback:Oo,useContext:Oo,useEffect:Oo,useImperativeHandle:Oo,useLayoutEffect:Oo,useInsertionEffect:Oo,useMemo:Oo,useReducer:Oo,useRef:Oo,useState:Oo,useDebugValue:Oo,useDeferredValue:Oo,useTransition:Oo,useSyncExternalStore:Oo,useId:Oo,useHostTransitionStatus:Oo,useFormState:Oo,useActionState:Oo,useOptimistic:Oo,useMemoCache:Oo,useCacheRefresh:Oo};Ws.useEffectEvent=Oo;var Gs={readContext:la,use:Vo,useCallback:function(e,t){return Lo().memoizedState=[e,t===void 0?null:t],e},useContext:la,useEffect:_s,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),hs(4194308,4,Cs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return hs(4194308,4,e,t)},useInsertionEffect:function(e,t){hs(4,2,e,t)},useMemo:function(e,t){var n=Lo();t=t===void 0?null:t;var r=e();if(wo){Ke(!0);try{e()}finally{Ke(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Lo();if(n!==void 0){var i=n(t);if(wo){Ke(!0);try{n(t)}finally{Ke(!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=Ls.bind(null,N,e),[r.memoizedState,e]},useRef:function(e){var t=Lo();return e={current:e},t.memoizedState=e},useState:function(e){e=$o(e);var t=e.queue,n=Rs.bind(null,N,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Ts,useDeferredValue:function(e,t){return Ds(Lo(),e,t)},useTransition:function(){var e=$o(!1);return e=L.bind(null,N,e.queue,!0,!1),Lo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=N,i=Lo();if(j){if(n===void 0)throw Error(a(407));n=n()}else{if(n=t(),W===null)throw Error(a(349));K&127||Jo(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,_s(Xo.bind(null,r,o,e),[e]),r.flags|=2048,ps(9,{destroy:void 0},Yo.bind(null,r,o,n,t),null),n},useId:function(){var e=Lo(),t=W.identifierPrefix;if(j){var n=Ii,r=Fi;n=(r&~(1<<32-qe(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=To++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=Do++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:Ns,useFormState:cs,useActionState:cs,useOptimistic:function(e){var t=Lo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Bs.bind(null,N,!0,n),n.dispatch=t,[e,t]},useMemoCache:Ho,useCacheRefresh:function(){return Lo().memoizedState=Is.bind(null,N)},useEffectEvent:function(e){var t=Lo(),n={impl:e};return t.memoizedState=n,function(){if(U&2)throw Error(a(440));return n.impl.apply(void 0,arguments)}}},Ks={readContext:la,use:Vo,useCallback:Es,useContext:la,useEffect:vs,useImperativeHandle:ws,useInsertionEffect:xs,useLayoutEffect:Ss,useMemo:I,useReducer:Wo,useRef:ms,useState:function(){return Wo(Uo)},useDebugValue:Ts,useDeferredValue:function(e,t){return Os(Ro(),P.memoizedState,e,t)},useTransition:function(){var e=Wo(Uo)[0],t=Ro().memoizedState;return[typeof e==`boolean`?e:Bo(e),t]},useSyncExternalStore:qo,useId:Ps,useHostTransitionStatus:Ns,useFormState:ls,useActionState:ls,useOptimistic:function(e,t){return es(Ro(),P,e,t)},useMemoCache:Ho,useCacheRefresh:Fs};Ks.useEffectEvent=bs;var qs={readContext:la,use:Vo,useCallback:Es,useContext:la,useEffect:vs,useImperativeHandle:ws,useInsertionEffect:xs,useLayoutEffect:Ss,useMemo:I,useReducer:Ko,useRef:ms,useState:function(){return Ko(Uo)},useDebugValue:Ts,useDeferredValue:function(e,t){var n=Ro();return P===null?Ds(n,e,t):Os(n,P.memoizedState,e,t)},useTransition:function(){var e=Ko(Uo)[0],t=Ro().memoizedState;return[typeof e==`boolean`?e:Bo(e),t]},useSyncExternalStore:qo,useId:Ps,useHostTransitionStatus:Ns,useFormState:fs,useActionState:fs,useOptimistic:function(e,t){var n=Ro();return P===null?(n.baseState=e,[e,n.queue.dispatch]):es(n,P,e,t)},useMemoCache:Ho,useCacheRefresh:Fs};qs.useEffectEvent=bs;function Js(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:p({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ys={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=mu(),i=Xa(r);i.payload=t,n!=null&&(i.callback=n),t=Za(e,i,r),t!==null&&(gu(t,e,r),Qa(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=mu(),i=Xa(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Za(e,i,r),t!==null&&(gu(t,e,r),Qa(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=mu(),r=Xa(n);r.tag=2,t!=null&&(r.callback=t),t=Za(e,r,n),t!==null&&(gu(t,e,n),Qa(t,e,n))}};function Xs(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?!Mr(n,r)||!Mr(i,a):!0}function Zs(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&&Ys.enqueueReplaceState(t,t.state,null)}function Qs(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=p({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function $s(e){ai(e)}function ec(e){console.error(e)}function tc(e){ai(e)}function nc(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function rc(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 ic(e,t,n){return n=Xa(n),n.tag=3,n.payload={element:null},n.callback=function(){nc(e,t)},n}function ac(e){return e=Xa(e),e.tag=3,e}function oc(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(){rc(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){rc(t,n,r),typeof i!=`function`&&(au===null?au=new Set([this]):au.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function sc(e,t,n,r,i){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&oa(t,n,i,!0),n=uo.current,n!==null){switch(n.tag){case 31:case 13:return fo===null?Ou():n.alternate===null&&J===0&&(J=3),n.flags&=-257,n.flags|=65536,n.lanes=i,r===Ma?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===Ma?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(a(435,n.tag))}return Gu(e,r,i),Ou(),!1}if(j)return t=uo.current,t===null?(r!==Gi&&(t=Error(a(423),{cause:r}),Qi(Di(t,n))),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,r=Di(r,n),i=ic(e.stateNode,r,i),$a(e,i),J!==4&&(J=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=i,r!==Gi&&(e=Error(a(422),{cause:r}),Qi(Di(e,n)))),!1;var o=Error(a(520),{cause:r});if(o=Di(o,n),Ql===null?Ql=[o]:Ql.push(o),J!==4&&(J=2),t===null)return!0;r=Di(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,e=ic(n.stateNode,r,e),$a(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(au===null||!au.has(o))))return n.flags|=65536,i&=-i,n.lanes|=i,i=ac(i),oc(i,e,n,r),$a(n,i),!1}n=n.return}while(n!==null);return!1}var cc=Error(a(461)),lc=!1;function uc(e,t,n,r){t.child=e===null?Ka(t,null,n,r):Ga(t,e.child,n,r)}function dc(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 ca(t),r=Ao(e,t,n,o,a,i),s=Po(),e!==null&&!lc?(Fo(e,t,i),Nc(e,t,i)):(j&&s&&zi(t),t.flags|=1,uc(e,t,r,i),t.child)}function fc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!vi(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,pc(e,t,a,r,i)):(e=xi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!Pc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Mr:n,n(o,r)&&e.ref===t.ref)return Nc(e,t,i)}return t.flags|=1,e=yi(a,r),e.ref=t.ref,e.return=t,t.child=e}function pc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Mr(a,r)&&e.ref===t.ref)if(lc=!1,t.pendingProps=r=a,Pc(e,i))e.flags&131072&&(lc=!0);else return t.lanes=e.lanes,Nc(e,t,i)}return yc(e,t,n,r,i)}function R(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 mc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&M(t,a===null?null:a.cachePool),a===null?co():so(t,a),ho(t);else return r=t.lanes=536870912,mc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&M(t,null),co(),go(t)):(M(t,a.cachePool),so(t,a),go(t),t.memoizedState=null);return uc(e,t,i,n),t.child}function z(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function mc(e,t,n,r,i){var a=Da();return a=a===null?null:{parent:ha._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&M(t,null),co(),ho(t),e!==null&&oa(e,t,r,!0),t.childLanes=i,null}function hc(e,t){return t=Oc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function gc(e,t,n){return Ga(t,e.child,null,n),e=hc(t,t.pendingProps),e.flags|=2,_o(t),t.memoizedState=null,e}function _c(e,t,n){var r=t.pendingProps,i=(t.flags&128)!=0;if(t.flags&=-129,e===null){if(j){if(r.mode===`hidden`)return e=hc(t,r),t.lanes=536870912,z(null,e);if(mo(t),(e=A)?(e=rf(e,Wi),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Pi===null?null:{id:Fi,overflow:Ii},retryLane:536870912,hydrationErrors:null},n=wi(e),n.return=t,t.child=n,Hi=t,A=null)):e=null,e===null)throw Ki(t);return t.lanes=536870912,null}return hc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(mo(t),i)if(t.flags&256)t.flags&=-257,t=gc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(a(558));else if(lc||oa(e,t,n,!1),i=(n&e.childLanes)!==0,lc||i){if(r=W,r!==null&&(s=ut(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,fi(e,s),gu(r,e,s),cc;Ou(),t=gc(e,t,n)}else e=o.treeContext,A=cf(s.nextSibling),Hi=t,j=!0,Ui=null,Wi=!1,e!==null&&Vi(t,e),t=hc(t,r),t.flags|=4096;return t}return e=yi(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function vc(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(a(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function yc(e,t,n,r,i){return ca(t),n=Ao(e,t,n,r,void 0,i),r=Po(),e!==null&&!lc?(Fo(e,t,i),Nc(e,t,i)):(j&&r&&zi(t),t.flags|=1,uc(e,t,n,i),t.child)}function bc(e,t,n,r,i,a){return ca(t),t.updateQueue=null,n=Mo(t,r,n,i),jo(e),r=Po(),e!==null&&!lc?(Fo(e,t,a),Nc(e,t,a)):(j&&r&&zi(t),t.flags|=1,uc(e,t,n,a),t.child)}function xc(e,t,n,r,i){if(ca(t),t.stateNode===null){var a=hi,o=n.contextType;typeof o==`object`&&o&&(a=la(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Ys,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Ja(t),o=n.contextType,a.context=typeof o==`object`&&o?la(o):hi,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Js(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&&Ys.enqueueReplaceState(a,a.state,null),no(t,r,a,i),to(),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=Qs(n,s);a.props=c;var l=a.context,u=n.contextType;o=hi,typeof u==`object`&&u&&(o=la(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)&&Zs(t,a,r,o),qa=!1;var f=t.memoizedState;a.state=f,no(t,r,a,i),to(),l=t.memoizedState,s||f!==l||qa?(typeof d==`function`&&(Js(t,n,d,r),l=t.memoizedState),(c=qa||Xs(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,Ya(e,t),o=t.memoizedProps,u=Qs(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=hi,typeof l==`object`&&l&&(c=la(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)&&Zs(t,a,r,c),qa=!1,f=t.memoizedState,a.state=f,no(t,r,a,i),to();var p=t.memoizedState;o!==d||f!==p||qa||e!==null&&e.dependencies!==null&&sa(e.dependencies)?(typeof s==`function`&&(Js(t,n,s,r),p=t.memoizedState),(u=qa||Xs(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&sa(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,vc(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=Ga(t,e.child,null,i),t.child=Ga(t,null,n,i)):uc(e,t,n,i),t.memoizedState=a.state,e=t.child):e=Nc(e,t,i),e}function Sc(e,t,n,r){return Xi(),t.flags|=256,uc(e,t,n,r),t.child}var Cc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function wc(e){return{baseLanes:e,cachePool:Oa()}}function Tc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=Xl),e}function Ec(e,t,n){var r=t.pendingProps,i=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(vo.current&2)!=0),s&&(i=!0,t.flags&=-129),s=(t.flags&32)!=0,t.flags&=-33,e===null){if(j){if(i?po(t):go(t),(e=A)?(e=rf(e,Wi),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Pi===null?null:{id:Fi,overflow:Ii},retryLane:536870912,hydrationErrors:null},n=wi(e),n.return=t,t.child=n,Hi=t,A=null)):e=null,e===null)throw Ki(t);return of(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,i?(go(t),i=t.mode,c=Oc({mode:`hidden`,children:c},i),r=Si(r,i,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=wc(n),r.childLanes=Tc(e,s,n),t.memoizedState=Cc,z(null,r)):(po(t),Dc(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(po(t),t.flags&=-257,t=kc(e,t,n)):t.memoizedState===null?(go(t),c=r.fallback,i=t.mode,r=Oc({mode:`visible`,children:r.children},i),c=Si(c,i,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Ga(t,e.child,null,n),r=t.child,r.memoizedState=wc(n),r.childLanes=Tc(e,s,n),t.memoizedState=Cc,t=z(null,r)):(go(t),t.child=e.child,t.flags|=128,t=null);else if(po(t),of(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(a(419)),r.stack=``,r.digest=s,Qi({value:r,source:null,stack:null}),t=kc(e,t,n)}else if(lc||oa(e,t,n,!1),s=(n&e.childLanes)!==0,lc||s){if(s=W,s!==null&&(r=ut(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,fi(e,r),gu(s,e,r),cc;af(c)||Ou(),t=kc(e,t,n)}else af(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,A=cf(c.nextSibling),Hi=t,j=!0,Ui=null,Wi=!1,e!==null&&Vi(t,e),t=Dc(t,r.children),t.flags|=4096);return t}return i?(go(t),c=r.fallback,i=t.mode,l=e.child,u=l.sibling,r=yi(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=Si(c,i,n,null),c.flags|=2):c=yi(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,z(null,r),r=t.child,c=e.child.memoizedState,c===null?c=wc(n):(i=c.cachePool,i===null?i=Oa():(l=ha._currentValue,i=i.parent===l?i:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:i}),r.memoizedState=c,r.childLanes=Tc(e,s,n),t.memoizedState=Cc,z(e.child,r)):(po(t),n=e.child,e=n.sibling,n=yi(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 Dc(e,t){return t=Oc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function Oc(e,t){return e=_i(22,e,null,t),e.lanes=0,e}function kc(e,t,n){return Ga(t,e.child,null,n),e=Dc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ac(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ia(e.return,t,n)}function jc(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 Mc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=vo.current,s=(o&2)!=0;if(s?(o=o&1|2,t.flags|=128):o&=1,O(vo,o),uc(e,t,r,n),r=j?ji:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ac(e,n,t);else if(e.tag===19)Ac(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&&yo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),jc(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&&yo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}jc(t,!0,n,null,a,r);break;case`together`:jc(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Nc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ql|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(oa(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(a(153));if(t.child!==null){for(e=t.child,n=yi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=yi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Pc(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&sa(e))):!0}function Fc(e,t,n){switch(t.tag){case 3:_e(t,t.stateNode.containerInfo),na(t,ha,e.memoizedState.cache),Xi();break;case 27:case 5:ye(t);break;case 4:_e(t,t.stateNode.containerInfo);break;case 10:na(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,mo(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(po(t),e=Nc(e,t,n),e===null?null:e.sibling):Ec(e,t,n):(po(t),t.flags|=128,null);po(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=(oa(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return Mc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),O(vo,vo.current),r)break;return null;case 22:return t.lanes=0,R(e,t,n,t.pendingProps);case 24:na(t,ha,e.memoizedState.cache)}return Nc(e,t,n)}function Ic(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)lc=!0;else{if(!Pc(e,n)&&!(t.flags&128))return lc=!1,Fc(e,t,n);lc=!!(e.flags&131072)}else lc=!1,j&&t.flags&1048576&&Ri(t,ji,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=Fa(t.elementType),t.type=e,typeof e==`function`)vi(e)?(r=Qs(e,r),t.tag=1,t=xc(null,t,e,r,n)):(t.tag=0,t=yc(null,t,e,r,n));else{if(e!=null){var i=e.$$typeof;if(i===S){t.tag=11,t=dc(null,t,e,r,n);break a}else if(i===te){t.tag=14,t=fc(null,t,e,r,n);break a}}throw t=se(e)||e,Error(a(306,t,``))}}return t;case 0:return yc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,i=Qs(r,t.pendingProps),xc(e,t,r,i,n);case 3:a:{if(_e(t,t.stateNode.containerInfo),e===null)throw Error(a(387));r=t.pendingProps;var o=t.memoizedState;i=o.element,Ya(e,t),no(t,r,null,n);var s=t.memoizedState;if(r=s.cache,na(t,ha,r),r!==o.cache&&aa(t,[ha],n,!0),to(),r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=Sc(e,t,r,n);break a}else if(r!==i){i=Di(Error(a(424)),t),Qi(i),t=Sc(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(A=cf(e.firstChild),Hi=t,j=!0,Ui=null,Wi=!0,n=Ka(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Xi(),r===i){t=Nc(e,t,n);break a}uc(e,t,r,n)}t=t.child}return t;case 26:return vc(e,t),e===null?(n=kf(t.type,null,t.pendingProps,null))?t.memoizedState=n:j||(n=t.type,e=t.pendingProps,r=Bd(he.current).createElement(n),r[gt]=t,r[_t]=e,Pd(r,n,e),kt(r),t.stateNode=r):t.memoizedState=kf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ye(t),e===null&&j&&(r=t.stateNode=ff(t.type,t.pendingProps,he.current),Hi=t,Wi=!0,i=A,Zd(t.type)?(lf=i,A=cf(r.firstChild)):A=i),uc(e,t,t.pendingProps.children,n),vc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&j&&((i=r=A)&&(r=tf(r,t.type,t.pendingProps,Wi),r===null?i=!1:(t.stateNode=r,Hi=t,A=cf(r.firstChild),Wi=!1,i=!0)),i||Ki(t)),ye(t),i=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Ud(i,o)?r=null:s!==null&&Ud(i,s)&&(t.flags|=32),t.memoizedState!==null&&(i=Ao(e,t,No,null,null,n),Qf._currentValue=i),vc(e,t),uc(e,t,r,n),t.child;case 6:return e===null&&j&&((e=n=A)&&(n=nf(n,t.pendingProps,Wi),n===null?e=!1:(t.stateNode=n,Hi=t,A=null,e=!0)),e||Ki(t)),null;case 13:return Ec(e,t,n);case 4:return _e(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ga(t,null,r,n):uc(e,t,r,n),t.child;case 11:return dc(e,t,t.type,t.pendingProps,n);case 7:return uc(e,t,t.pendingProps,n),t.child;case 8:return uc(e,t,t.pendingProps.children,n),t.child;case 12:return uc(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,na(t,t.type,r.value),uc(e,t,r.children,n),t.child;case 9:return i=t.type._context,r=t.pendingProps.children,ca(t),i=la(i),r=r(i),t.flags|=1,uc(e,t,r,n),t.child;case 14:return fc(e,t,t.type,t.pendingProps,n);case 15:return pc(e,t,t.type,t.pendingProps,n);case 19:return Mc(e,t,n);case 31:return _c(e,t,n);case 22:return R(e,t,n,t.pendingProps);case 24:return ca(t),r=la(ha),e===null?(i=Da(),i===null&&(i=W,o=ga(),i.pooledCache=o,o.refCount++,o!==null&&(i.pooledCacheLanes|=n),i=o),t.memoizedState={parent:r,cache:i},Ja(t),na(t,ha,i)):((e.lanes&n)!==0&&(Ya(e,t),no(t,null,null,n),to()),i=e.memoizedState,o=t.memoizedState,i.parent===r?(r=o.cache,na(t,ha,r),r!==i.cache&&aa(t,[ha],n,!0)):(i={parent:r,cache:r},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),na(t,ha,r))),uc(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(a(156,t.tag))}function Lc(e){e.flags|=4}function Rc(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(Tu())e.flags|=8192;else throw Ia=Ma,Aa}else e.flags&=-16777217}function zc(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Wf(t))if(Tu())e.flags|=8192;else throw Ia=Ma,Aa}function Bc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:it(),e.lanes|=t,Zl|=t)}function Vc(e,t){if(!j)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 B(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 Hc(e,t,n){var r=t.pendingProps;switch(Bi(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return B(t),null;case 1:return B(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),ra(ha),ve(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Yi(t)?Lc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Zi())),B(t),null;case 26:var i=t.type,o=t.memoizedState;return e===null?(Lc(t),o===null?(B(t),Rc(t,i,null,r,n)):(B(t),zc(t,o))):o?o===e.memoizedState?(B(t),t.flags&=-16777217):(Lc(t),B(t),zc(t,o)):(e=e.memoizedProps,e!==r&&Lc(t),B(t),Rc(t,i,e,r,n)),null;case 27:if(xe(t),n=he.current,i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Lc(t);else{if(!r){if(t.stateNode===null)throw Error(a(166));return B(t),null}e=pe.current,Yi(t)?qi(t,e):(e=ff(i,r,n),t.stateNode=e,Lc(t))}return B(t),null;case 5:if(xe(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Lc(t);else{if(!r){if(t.stateNode===null)throw Error(a(166));return B(t),null}if(o=pe.current,Yi(t))qi(t,o);else{var s=Bd(he.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,i);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,i);break;default:switch(i){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,i);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,i);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(i,{is:r.is}):s.createElement(i)}}o[gt]=t,o[_t]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.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=o;a:switch(Pd(o,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&&Lc(t)}}return B(t),Rc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Lc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(a(166));if(e=he.current,Yi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,i=Hi,i!==null)switch(i.tag){case 27:case 5:r=i.memoizedProps}e[gt]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Md(e.nodeValue,n)),e||Ki(t,!0)}else e=Bd(e).createTextNode(r),e[gt]=t,t.stateNode=e}return B(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Yi(t),n!==null){if(e===null){if(!r)throw Error(a(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(a(557));e[gt]=t}else Xi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;B(t),e=!1}else n=Zi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(_o(t),t):(_o(t),null);if(t.flags&128)throw Error(a(558))}return B(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=Yi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(a(318));if(i=t.memoizedState,i=i===null?null:i.dehydrated,!i)throw Error(a(317));i[gt]=t}else Xi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;B(t),i=!1}else i=Zi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(_o(t),t):(_o(t),null)}return _o(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),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==i&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Bc(t,t.updateQueue),B(t),null);case 4:return ve(),e===null&&Sd(t.stateNode.containerInfo),B(t),null;case 10:return ra(t.type),B(t),null;case 19:if(D(vo),r=t.memoizedState,r===null)return B(t),null;if(i=(t.flags&128)!=0,o=r.rendering,o===null)if(i)Vc(r,!1);else{if(J!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=yo(e),o!==null){for(t.flags|=128,Vc(r,!1),e=o.updateQueue,t.updateQueue=e,Bc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)bi(n,e),n=n.sibling;return O(vo,vo.current&1|2),j&&Li(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Fe()>ru&&(t.flags|=128,i=!0,Vc(r,!1),t.lanes=4194304)}else{if(!i)if(e=yo(o),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Bc(t,e),Vc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!j)return B(t),null}else 2*Fe()-r.renderingStartTime>ru&&n!==536870912&&(t.flags|=128,i=!0,Vc(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(B(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Fe(),e.sibling=null,n=vo.current,O(vo,i?n&1|2:n&1),j&&Li(t,r.treeForkCount),e);case 22:case 23:return _o(t),lo(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(B(t),t.subtreeFlags&6&&(t.flags|=8192)):B(t),n=t.updateQueue,n!==null&&Bc(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&&D(Ea),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ra(ha),B(t),null;case 25:return null;case 30:return null}throw Error(a(156,t.tag))}function Uc(e,t){switch(Bi(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ra(ha),ve(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return xe(t),null;case 31:if(t.memoizedState!==null){if(_o(t),t.alternate===null)throw Error(a(340));Xi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(_o(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(a(340));Xi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return D(vo),null;case 4:return ve(),null;case 10:return ra(t.type),null;case 22:case 23:return _o(t),lo(),e!==null&&D(Ea),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return ra(ha),null;case 25:return null;default:return null}}function Wc(e,t){switch(Bi(t),t.tag){case 3:ra(ha),ve();break;case 26:case 27:case 5:xe(t);break;case 4:ve();break;case 31:t.memoizedState!==null&&_o(t);break;case 13:_o(t);break;case 19:D(vo);break;case 10:ra(t.type);break;case 22:case 23:_o(t),lo(),e!==null&&D(Ea);break;case 24:ra(ha)}}function Gc(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 Kc(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 qc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{io(t,n)}catch(t){Z(e,e.return,t)}}}function Jc(e,t,n){n.props=Qs(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Z(e,t,n)}}function Yc(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 Xc(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 Zc(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 Qc(e,t,n){try{var r=e.stateNode;Fd(r,e.type,n,t),r[_t]=t}catch(t){Z(e,e.return,t)}}function $c(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Zd(e.type)||e.tag===4}function el(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||$c(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 tl(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=un));else if(r!==4&&(r===27&&Zd(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(tl(e,t,n),e=e.sibling;e!==null;)tl(e,t,n),e=e.sibling}function nl(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(nl(e,t,n),e=e.sibling;e!==null;)nl(e,t,n),e=e.sibling}function rl(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[gt]=e,t[_t]=n}catch(t){Z(e,e.return,t)}}var il=!1,V=!1,al=!1,ol=typeof WeakSet==`function`?WeakSet:Set,sl=null;function cl(e,t){if(e=e.containerInfo,Rd=sp,e=Ir(e),Lr(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,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.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!==o||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===o&&++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,sl=t;sl!==null;)if(t=sl,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,sl=e;else for(;sl!==null;){switch(t=sl,o=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&&o!==null){e=void 0,n=t,i=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var h=Qs(n.type,i);e=r.getSnapshotBeforeUpdate(h,o),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(a(163))}if(e=t.sibling,e!==null){e.return=t.return,sl=e;break}sl=t.return}}function ll(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Cl(e,n),r&4&&Gc(5,n);break;case 1:if(Cl(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){Z(n,n.return,e)}else{var i=Qs(n.type,t.memoizedProps);t=t.memoizedState;
vendor: 4,267 bytes, line 9
9try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Z(n,n.return,e)}}r&64&&qc(n),r&512&&Yc(n,n.return);break;case 3:if(Cl(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{io(e,t)}catch(e){Z(n,n.return,e)}}break;case 27:t===null&&r&4&&rl(n);case 26:case 5:Cl(e,n),t===null&&r&4&&Zc(n),r&512&&Yc(n,n.return);break;case 12:Cl(e,n);break;case 31:Cl(e,n),r&4&&ml(e,n);break;case 13:Cl(e,n),r&4&&hl(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||il,!r){t=t!==null&&t.memoizedState!==null||V,i=il;var a=V;il=r,(V=t)&&!a?Tl(e,n,(n.subtreeFlags&8772)!=0):Cl(e,n),il=i,V=a}break;case 30:break;default:Cl(e,n)}}function ul(e){var t=e.alternate;t!==null&&(e.alternate=null,ul(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&wt(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 H=null,dl=!1;function fl(e,t,n){for(n=n.child;n!==null;)pl(e,t,n),n=n.sibling}function pl(e,t,n){if(Ge&&typeof Ge.onCommitFiberUnmount==`function`)try{Ge.onCommitFiberUnmount(We,n)}catch{}switch(n.tag){case 26:V||Xc(n,t),fl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:V||Xc(n,t);var r=H,i=dl;Zd(n.type)&&(H=n.stateNode,dl=!1),fl(e,t,n),pf(n.stateNode),H=r,dl=i;break;case 5:V||Xc(n,t);case 6:if(r=H,i=dl,H=null,fl(e,t,n),H=r,dl=i,H!==null)if(dl)try{(H.nodeType===9?H.body:H.nodeName===`HTML`?H.ownerDocument.body:H).removeChild(n.stateNode)}catch(e){Z(n,t,e)}else try{H.removeChild(n.stateNode)}catch(e){Z(n,t,e)}break;case 18:H!==null&&(dl?(e=H,Qd(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Np(e)):Qd(H,n.stateNode));break;case 4:r=H,i=dl,H=n.stateNode.containerInfo,dl=!0,fl(e,t,n),H=r,dl=i;break;case 0:case 11:case 14:case 15:Kc(2,n,t),V||Kc(4,n,t),fl(e,t,n);break;case 1:V||(Xc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&Jc(n,t,r)),fl(e,t,n);break;case 21:fl(e,t,n);break;case 22:V=(r=V)||n.memoizedState!==null,fl(e,t,n),V=r;break;default:fl(e,t,n)}}function ml(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 hl(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 gl(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new ol),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new ol),t;default:throw Error(a(435,e.tag))}}function _l(e,t){var n=gl(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Yu.bind(null,e,t);t.then(r,r)}})}function vl(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r],o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 27:if(Zd(c.type)){H=c.stateNode,dl=!1;break a}break;case 5:H=c.stateNode,dl=!1;break a;case 3:case 4:H=c.stateNode.containerInfo,dl=!0;break a}c=c.return}if(H===null)throw Error(a(160));pl(o,s,i),H=null,dl=!1,o=i.alternate,o!==null&&(o.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)bl(t,e),t=t.sibling}var yl=null;function bl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:vl(t,e),xl(e),r&4&&(Kc(3,e,e.return),Gc(3,e),Kc(5,e,e.return));break;case 1:vl(t,e),xl(e),r&512&&(V||n===null||Xc(n,n.return)),r&64&&il&&(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=yl;if(vl(t,e),xl(e),r&512&&(V||n===null||Xc(n,n.return)),r&4){var o=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`:o=i.getElementsByTagName(`title`)[0],(!o||o[Ct]||o[gt]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=i.createElement(r),i.head.insertBefore(o,i.querySelector(`head >
9 title`))),Pd(o,r,n),o[gt]=e,kt(o),r=o;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(o=s[c],o.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&o.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&o.getAttribute(`title`)===(n.title==null?null:n.title)&&o.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){s.splice(c,1);break b}}o=i.createElement(r),Pd(o,r,n),i.head.appendChild(o);break;case`meta`:if(s=Vf(`meta`,`content`,i).get(r+(n.content||``))){for(c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`content`)===(n.content==null?null:``+n.content)&&o.getAttribute(`name`)===(n.name==null?null:n.name)&&o.getAttribute(`property`)===(n.property==null?null:n.property)&&o.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){s.splice(c,1);break b}}o=i.createElement(r),Pd(o,r,n),i.head.appendChild(o);break;default:throw Error(a(468,r))}o[gt]=e,kt(o),r=o}e.stateNode=r}else Hf(i,e.type,e.stateNode);else e.stateNode=If(i,r,e.memoizedProps);
vendor: 23,016 bytes, line 9
9else o===r?r===null&&e.stateNode!==null&&Qc(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?Hf(i,e.type,e.stateNode):If(i,r,e.memoizedProps))}break;case 27:vl(t,e),xl(e),r&512&&(V||n===null||Xc(n,n.return)),n!==null&&r&4&&Qc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(vl(t,e),xl(e),r&512&&(V||n===null||Xc(n,n.return)),e.flags&32){i=e.stateNode;try{tn(i,``)}catch(t){Z(e,e.return,t)}}r&4&&e.stateNode!=null&&(i=e.memoizedProps,Qc(e,i,n===null?i:n.memoizedProps)),r&1024&&(al=!0);break;case 6:if(vl(t,e),xl(e),r&4){if(e.stateNode===null)throw Error(a(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=yl,yl=gf(t.containerInfo),vl(t,e),yl=i,xl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Np(t.containerInfo)}catch(t){Z(e,e.return,t)}al&&(al=!1,Sl(e));break;case 4:r=yl,yl=gf(e.stateNode.containerInfo),vl(t,e),xl(e),yl=r;break;case 12:vl(t,e),xl(e);break;case 31:vl(t,e),xl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,_l(e,r)));break;case 13:vl(t,e),xl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(tu=Fe()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,_l(e,r)));break;case 22:i=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=il,d=V;if(il=u||i,V=d||l,vl(t,e),V=d,il=u,xl(e),r&8192)a:for(t=e.stateNode,t._visibility=i?t._visibility&-2:t._visibility|1,i&&(n===null||l||il||V||wl(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(o=l.stateNode,i)s=o.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,_l(e,n))));break;case 19:vl(t,e),xl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,_l(e,r)));break;case 30:break;case 21:break;default:vl(t,e),xl(e)}}function xl(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if($c(r)){n=r;break}r=r.return}if(n==null)throw Error(a(160));switch(n.tag){case 27:var i=n.stateNode;nl(e,el(e),i);break;case 5:var o=n.stateNode;n.flags&32&&(tn(o,``),n.flags&=-33),nl(e,el(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;tl(e,el(e),s);break;default:throw Error(a(161))}}catch(t){Z(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Sl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Sl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Cl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)ll(e,t.alternate,t),t=t.sibling}function wl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Kc(4,t,t.return),wl(t);break;case 1:Xc(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&Jc(t,t.return,n),wl(t);break;case 27:pf(t.stateNode);case 26:case 5:Xc(t,t.return),wl(t);break;case 22:t.memoizedState===null&&wl(t);break;case 30:wl(t);break;default:wl(t)}e=e.sibling}}function Tl(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:Tl(i,a,n),Gc(4,a);break;case 1:if(Tl(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;if(c!==null)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)ro(c[i],s)}catch(e){Z(r,r.return,e)}}n&&o&64&&qc(a),Yc(a,a.return);break;case 27:rl(a);case 26:case 5:Tl(i,a,n),n&&r===null&&o&4&&Zc(a),Yc(a,a.return);break;case 12:Tl(i,a,n);break;case 31:Tl(i,a,n),n&&o&4&&ml(i,a);break;case 13:Tl(i,a,n),n&&o&4&&hl(i,a);break;case 22:a.memoizedState===null&&Tl(i,a,n),Yc(a,a.return);break;case 30:break;default:Tl(i,a,n)}t=t.sibling}}function El(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&&_a(n))}function Dl(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&_a(e))}function Ol(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)kl(e,t,n,r),t=t.sibling}function kl(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:Ol(e,t,n,r),i&2048&&Gc(9,t);break;case 1:Ol(e,t,n,r);break;case 3:Ol(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&&_a(e)));break;case 12:if(i&2048){Ol(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 Ol(e,t,n,r);break;case 31:Ol(e,t,n,r);break;case 13:Ol(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?Ol(e,t,n,r):(a._visibility|=2,Al(e,t,n,r,(t.subtreeFlags&10256)!=0||!1)):a._visibility&2?Ol(e,t,n,r):jl(e,t),i&2048&&El(o,t);break;case 24:Ol(e,t,n,r),i&2048&&Dl(t.alternate,t);break;default:Ol(e,t,n,r)}}function Al(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:Al(a,o,s,c,i),Gc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,Al(a,o,s,c,i)):u._visibility&2?Al(a,o,s,c,i):jl(a,o),i&&l&2048&&El(o.alternate,o);break;case 24:Al(a,o,s,c,i),i&&l&2048&&Dl(o.alternate,o);break;default:Al(a,o,s,c,i)}t=t.sibling}}function jl(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:jl(n,r),i&2048&&El(r.alternate,r);break;case 24:jl(n,r),i&2048&&Dl(r.alternate,r);break;default:jl(n,r)}t=t.sibling}}var Ml=8192;function Nl(e,t,n){if(e.subtreeFlags&Ml)for(e=e.child;e!==null;)Pl(e,t,n),e=e.sibling}function Pl(e,t,n){switch(e.tag){case 26:Nl(e,t,n),e.flags&Ml&&e.memoizedState!==null&&Gf(n,yl,e.memoizedState,e.memoizedProps);break;case 5:Nl(e,t,n);break;case 3:case 4:var r=yl;yl=gf(e.stateNode.containerInfo),Nl(e,t,n),yl=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Ml,Ml=16777216,Nl(e,t,n),Ml=r):Nl(e,t,n));break;default:Nl(e,t,n)}}function Fl(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 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];sl=r,zl(r,e)}Fl(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Ll(e),e=e.sibling}function Ll(e){switch(e.tag){case 0:case 11:case 15:Il(e),e.flags&2048&&Kc(9,e,e.return);break;case 3:Il(e);break;case 12:Il(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Rl(e)):Il(e);break;default:Il(e)}}function Rl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];sl=r,zl(r,e)}Fl(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Kc(8,t,t.return),Rl(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Rl(t));break;default:Rl(t)}e=e.sibling}}function zl(e,t){for(;sl!==null;){var n=sl;switch(n.tag){case 0:case 11:case 15:Kc(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:_a(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,sl=r;else a:for(n=e;sl!==null;){r=sl;var i=r.sibling,a=r.return;if(ul(r),r===n){sl=null;break a}if(i!==null){i.return=a,sl=i;break a}sl=a}}}var Bl={getCacheForType:function(e){var t=la(ha),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return la(ha).controller.signal}},Vl=typeof WeakMap==`function`?WeakMap:Map,U=0,W=null,G=null,K=0,q=0,Hl=null,Ul=!1,Wl=!1,Gl=!1,Kl=0,J=0,ql=0,Jl=0,Yl=0,Xl=0,Zl=0,Ql=null,$l=null,eu=!1,tu=0,nu=0,ru=1/0,iu=null,au=null,Y=0,ou=null,su=null,cu=0,lu=0,uu=null,du=null,fu=0,pu=null;function mu(){return U&2&&K!==0?K&-K:T.T===null?pt():dd()}function hu(){if(Xl===0)if(!(K&536870912)||j){var e=Qe;Qe<<=1,!(Qe&3932160)&&(Qe=262144),Xl=e}else Xl=536870912;return e=uo.current,e!==null&&(e.flags|=32),Xl}function gu(e,t,n){(e===W&&(q===2||q===9)||e.cancelPendingCommit!==null)&&(Cu(e,0),bu(e,K,Xl,!1)),ot(e,n),(!(U&2)||e!==W)&&(e===W&&(!(U&2)&&(Jl|=n),J===4&&bu(e,K,Xl,!1)),rd(e))}function _u(e,t,n){if(U&6)throw Error(a(327));var r=!n&&(t&127)==0&&(t&e.expiredLanes)===0||nt(e,t),i=r?Au(e,t):ku(e,t,!0),o=r;do{if(i===0){Wl&&!r&&bu(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!yu(n)){i=ku(e,t,!1),o=!1;continue}if(i===2){if(o=t,e.errorRecoveryDisabledLanes&o)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=Ql;var l=c.current.memoizedState.isDehydrated;if(l&&(Cu(c,s).flags|=256),s=ku(c,s,!1),s!==2){if(Gl&&!l){c.errorRecoveryDisabledLanes|=o,Jl|=o,i=4;break a}o=$l,$l=i,o!==null&&($l===null?$l=o:$l.push.apply($l,o))}i=s}if(o=!1,i!==2)continue}}if(i===1){Cu(e,0),bu(e,t,0,!0);break}a:{switch(r=e,o=i,o){case 0:case 1:throw Error(a(345));case 4:if((t&4194048)!==t)break;case 6:bu(r,t,Xl,!Ul);break a;case 2:$l=null;break;case 3:case 5:break;default:throw Error(a(329))}if((t&62914560)===t&&(i=tu+300-Fe(),10<i)){if(bu(r,t,Xl,!Ul),tt(r,0,!0)!==0)break a;cu=t,r.timeoutHandle=Kd(vu.bind(null,r,n,$l,iu,eu,t,Xl,Jl,Zl,Ul,o,`Throttled`,-0,0),i);break a}vu(r,n,$l,iu,eu,t,Xl,Jl,Zl,Ul,o,null,-0,0)}}break}while(1);rd(e)}function vu(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:un},Pl(t,a,d);var m=(a&62914560)===a?tu-Fe():(a&4194048)===a?nu-Fe():0;if(m=qf(d,m),m!==null){cu=a,e.cancelPendingCommit=m(Lu.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),bu(e,a,o,!l);return}}Lu(e,t,a,n,r,i,o,s,c)}function yu(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(!jr(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 bu(e,t,n,r){t&=~Yl,t&=~Jl,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-qe(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&ct(e,n,t)}function xu(){return U&6?!0:(id(0,!1),!1)}function Su(){if(G!==null){if(q===0)var e=G.return;else e=G,ta=ea=null,Io(e),za=null,Ba=0,e=G;for(;e!==null;)Wc(e.alternate,e),e=e.return;G=null}}function Cu(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,qd(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),cu=0,Su(),W=e,G=n=yi(e.current,null),K=t,q=0,Hl=null,Ul=!1,Wl=nt(e,t),Gl=!1,Zl=Xl=Yl=Jl=ql=J=0,$l=Ql=null,eu=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-qe(r),a=1<<i;t|=e[i],r&=~a}return Kl=t,li(),n}function wu(e,t){N=null,T.H=Ws,t===ka||t===ja?(t=La(),q=3):t===Aa?(t=La(),q=4):q=t===cc?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,Hl=t,G===null&&(J=1,nc(e,Di(t,e.current)))}function Tu(){var e=uo.current;return e===null?!0:(K&4194048)===K?fo===null:(K&62914560)===K||K&536870912?e===fo:!1}function Eu(){var e=T.H;return T.H=Ws,e===null?Ws:e}function Du(){var e=T.A;return T.A=Bl,e}function Ou(){J=4,Ul||(K&4194048)!==K&&uo.current!==null||(Wl=!0),!(ql&134217727)&&!(Jl&134217727)||W===null||bu(W,K,Xl,!1)}function ku(e,t,n){var r=U;U|=2;var i=Eu(),a=Du();(W!==e||K!==t)&&(iu=null,Cu(e,t)),t=!1;var o=J;a:do try{if(q!==0&&G!==null){var s=G,c=Hl;switch(q){case 8:Su(),o=6;break a;case 3:case 2:case 9:case 6:uo.current===null&&(t=!0);var l=q;if(q=0,Hl=null,Pu(e,s,c,l),n&&Wl){o=0;break a}break;default:l=q,q=0,Hl=null,Pu(e,s,c,l)}}X(),o=J;break}catch(t){wu(e,t)}while(1);return t&&e.shellSuspendCounter++,ta=ea=null,U=r,T.H=i,T.A=a,G===null&&(W=null,K=0,li()),o}function X(){for(;G!==null;)Mu(G)}function Au(e,t){var n=U;U|=2;var r=Eu(),i=Du();W!==e||K!==t?(iu=null,ru=Fe()+500,Cu(e,t)):Wl=nt(e,t);a:do try{if(q!==0&&G!==null){t=G;var o=Hl;b:switch(q){case 1:q=0,Hl=null,Pu(e,t,o,1);break;case 2:case 9:if(Na(o)){q=0,Hl=null,Nu(t);break}t=function(){q!==2&&q!==9||W!==e||(q=7),rd(e)},o.then(t,t);break a;case 3:q=7;break a;case 4:q=5;break a;case 7:Na(o)?(q=0,Hl=null,Nu(t)):(q=0,Hl=null,Pu(e,t,o,7));break;case 5:var s=null;switch(G.tag){case 26:s=G.memoizedState;case 5:case 27:var c=G;if(s?Wf(s):c.stateNode.complete){q=0,Hl=null;var l=c.sibling;if(l!==null)G=l;else{var u=c.return;u===null?G=null:(G=u,Fu(u))}break b}}q=0,Hl=null,Pu(e,t,o,5);break;case 6:q=0,Hl=null,Pu(e,t,o,6);break;case 8:Su(),J=6;break a;default:throw Error(a(462))}}ju();break}catch(t){wu(e,t)}while(1);return ta=ea=null,T.H=r,T.A=i,U=n,G===null?(W=null,K=0,li(),J):0}function ju(){for(;G!==null&&!Ne();)Mu(G)}function Mu(e){var t=Ic(e.alternate,e,Kl);e.memoizedProps=e.pendingProps,t===null?Fu(e):G=t}function Nu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=bc(n,t,t.pendingProps,t.type,void 0,K);break;case 11:t=bc(n,t,t.pendingProps,t.type.render,t.ref,K);break;case 5:Io(t);default:Wc(n,t),t=G=bi(t,Kl),t=Ic(n,t,Kl)}e.memoizedProps=e.pendingProps,t===null?Fu(e):G=t}function Pu(e,t,n,r){ta=ea=null,Io(t),za=null,Ba=0;var i=t.return;try{if(sc(e,i,t,n,K)){J=1,nc(e,Di(n,e.current)),G=null;return}}catch(t){if(i!==null)throw G=i,t;J=1,nc(e,Di(n,e.current)),G=null;return}t.flags&32768?(j||r===1?e=!0:Wl||K&536870912?e=!1:(Ul=e=!0,(r===2||r===9||r===3||r===6)&&(r=uo.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,Ul);return}e=t.return;var n=Hc(t.alternate,t,Kl);if(n!==null){G=n;return}if(t=t.sibling,t!==null){G=t;return}G=t=e}while(t!==null);J===0&&(J=5)}function Iu(e,t){do{var n=Uc(e.alternate,e);if(n!==null){n.flags&=32767,G=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){G=e;return}G=e=n}while(e!==null);J=6,G=null}function Lu(e,t,n,r,i,o,s,c,l){e.cancelPendingCommit=null;do Hu();while(Y!==0);if(U&6)throw Error(a(327));if(t!==null){if(t===e.current)throw Error(a(177));if(o=t.lanes|t.childLanes,o|=ci,st(e,n,o,s,c,l),e===W&&(G=W=null,K=0),su=t,ou=e,cu=n,lu=o,uu=i,du=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,Xu(ze,function(){return Uu(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=T.T,T.T=null,i=E.p,E.p=2,s=U,U|=4;try{cl(e,t,n)}finally{U=s,E.p=i,T.T=r}}Y=1,Ru(),zu(),Bu()}}function Ru(){if(Y===1){Y=0;var e=ou,t=su,n=(t.flags&13878)!=0;if(t.subtreeFlags&13878||n){n=T.T,T.T=null;var r=E.p;E.p=2;var i=U;U|=4;try{bl(t,e);var a=zd,o=Ir(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&Fr(s.ownerDocument.documentElement,s)){if(c!==null&&Lr(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 _=Pr(s,h),v=Pr(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{U=i,E.p=r,T.T=n}}e.current=t,Y=2}}function zu(){if(Y===2){Y=0;var e=ou,t=su,n=(t.flags&8772)!=0;if(t.subtreeFlags&8772||n){n=T.T,T.T=null;var r=E.p;E.p=2;var i=U;U|=4;try{ll(e,t.alternate,t)}finally{U=i,E.p=r,T.T=n}}Y=3}}function Bu(){if(Y===4||Y===3){Y=0,Pe();var e=ou,t=su,n=cu,r=du;t.subtreeFlags&10256||t.flags&10256?Y=5:(Y=0,su=ou=null,Vu(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(au=null),ft(n),t=t.stateNode,Ge&&typeof Ge.onCommitFiberRoot==`function`)try{Ge.onCommitFiberRoot(We,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=T.T,i=E.p,E.p=2,T.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{T.T=t,E.p=i}}cu&3&&Hu(),rd(e),i=e.pendingLanes,n&261930&&i&42?e===pu?fu++:(fu=0,pu=e):fu=0,id(0,!1)}}function Vu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,_a(t)))}function Hu(){return Ru(),zu(),Bu(),Uu()}function Uu(){if(Y!==5)return!1;var e=ou,t=lu;lu=0;var n=ft(cu),r=T.T,i=E.p;try{E.p=32>n?32:n,T.T=null,n=uu,uu=null;var o=ou,s=cu;if(Y=0,su=ou=null,cu=0,U&6)throw Error(a(331));var c=U;if(U|=4,Ll(o.current),kl(o,o.current,s,n),U=c,id(0,!1),Ge&&typeof Ge.onPostCommitFiberRoot==`function`)try{Ge.onPostCommitFiberRoot(We,o)}catch{}return!0}finally{E.p=i,T.T=r,Vu(e,t)}}function Wu(e,t,n){t=Di(n,t),t=ic(e.stateNode,t,2),e=Za(e,t,2),e!==null&&(ot(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`&&(au===null||!au.has(r))){e=Di(n,e),n=ac(2),r=Za(t,n,2),r!==null&&(oc(n,r,t,e),ot(r,2),rd(r));break}}t=t.return}}function Gu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Vl;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)||(Gl=!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,W===e&&(K&n)===n&&(J===4||J===3&&(K&62914560)===K&&300>Fe()-tu?!(U&2)&&Cu(e,0):Yl|=n,Zl===K&&(Zl=0)),rd(e)}function qu(e,t){t===0&&(t=it()),e=fi(e,t),e!==null&&(ot(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(a(314))}r!==null&&r.delete(t),qu(e,n)}function Xu(e,t){return je(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-qe(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=K,a=tt(r,r===W?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||nt(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=Fe(),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}Y!==0&&Y!==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-qe(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=rt(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=W,n=K,n=tt(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(q===2||q===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&Me(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||nt(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&Me(r),ft(n)){case 2:case 8:n=Re;break;case 32:n=ze;break;case 268435456:n=Ve;break;default:n=ze}return r=cd.bind(null,e),n=je(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&Me(r),e.callbackPriority=2,e.callbackNode=null,2}function cd(e,t){if(Y!==0&&Y!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Hu()&&e.callbackNode!==n)return null;var r=K;return r=tt(e,e===W?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(_u(e,r,t),sd(e,Fe()),e.callbackNode!=null&&e.callbackNode===n?cd.bind(null,e):null)}function ld(e,t){if(Hu())return null;_u(e,t,!0)}function ud(){Yd(function(){U&6?je(Le,ad):od()})}function dd(){if(nd===0){var e=ba;e===0&&(e=Ze,Ze<<=1,!(Ze&261888)&&(Ze=256)),nd=e}return nd}function fd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:ln(``+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[_t]||null).action),o=r.submitter;o&&(t=(t=o[_t]||null)?fd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new jn(`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);As(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),As(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var hd=0;hd<ri.length;hd++){var gd=ri[hd];ii(gd.toLowerCase(),`on`+(gd[0].toUpperCase()+gd.slice(1)))}ii(Yr,`onAnimationEnd`),ii(Xr,`onAnimationIteration`),ii(Zr,`onAnimationStart`),ii(`dblclick`,`onDoubleClick`),ii(`focusin`,`onFocus`),ii(`focusout`,`onBlur`),ii(Qr,`onTransitionRun`),ii($r,`onTransitionStart`),ii(ei,`onTransitionCancel`),ii(ti,`onTransitionEnd`),Nt(`onMouseEnter`,[`mouseout`,`mouseover`]),Nt(`onMouseLeave`,[`mouseout`,`mouseover`]),Nt(`onPointerEnter`,[`pointerout`,`pointerover`]),Nt(`onPointerLeave`,[`pointerout`,`pointerover`]),Mt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Mt(`onSelect`,`focusout contextmenu dragend focu
9sin keydown keyup mousedown mouseup selectionchange`.split(` `)),Mt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Mt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Mt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Mt(`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){ai(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){ai(e)}i.currentTarget=null,a=c}}}}function Q(e,t){var n=t[yt];n===void 0&&(n=t[yt]=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,At.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,!bn||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 c=r.stateNode.containerInfo;if(c===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(;c!==null;){if(o=Tt(c),o===null)return;if(l=o.tag,l===5||l===6||l===26||l===27){r=a=o;continue a}c=c.parentNode}}r=r.return}_n(function(){var r=a,i=fn(n),o=[];a:{var c=ni.get(e);if(c!==void 0){var l=jn,u=e;switch(e){case`keypress`:if(En(n)===0)break a;case`keydown`:case`keyup`:l=Yn;break;case`focusin`:u=`focus`,l=Bn;break;case`focusout`:u=`blur`,l=Bn;break;case`beforeblur`:case`afterblur`:l=Bn;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=Rn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=zn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Zn;break;case Yr:case Xr:case Zr:l=Vn;break;case ti:l=Qn;break;case`scroll`:case`scrollend`:l=Nn;break;case`wheel`:l=$n;break;case`copy`:case`cut`:case`paste`:l=Hn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Xn;break;case`toggle`:case`beforetoggle`:l=er}var d=(t&4)!=0,f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;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=vn(m,p),g!=null&&d.push(Td(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),o.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(c=e===`mouseover`||e===`pointerover`,l=e===`mouseout`||e===`pointerout`,c&&n!==dn&&(u=n.relatedTarget||n.fromElement)&&(Tt(u)||u[vt]))break a;if((l||c)&&(c=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,u=u?Tt(u):null,u!==null&&(f=s(u),d=u.tag,u!==f||d!==5&&d!==27&&d!==6)&&(u=null)):(l=null,u=r),l!==u)){if(d=Rn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Xn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:Dt(l),h=u==null?c:Dt(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,Tt(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,c,l,d,!1),u!==null&&f!==null&&Od(o,f,u,d,!0)}}a:{if(c=r?Dt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=yr;else if(mr(c))if(br)v=kr;else{v=Dr;var y=Er}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&on(r.elementType)&&(v=yr):v=Or;if(v&&=v(e,r)){hr(o,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Zt(c,`number`,c.value)}switch(y=r?Dt(r):window,e){case`focusin`:(mr(y)||y.contentEditable===`true`)&&(zr=y,Br=r,Vr=null);break;case`focusout`:Vr=Br=zr=null;break;case`mousedown`:Hr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Hr=!1,Ur(o,n,i);break;case`selectionchange`:if(Rr)break;case`keydown`:case`keyup`:Ur(o,n,i)}var b;if(nr)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 ur?cr(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(ar&&n.locale!==`ko`&&(ur||x!==`onCompositionStart`?x===`onCompositionEnd`&&ur&&(b=Tn()):(Sn=i,Cn=`value`in Sn?Sn.value:Sn.textContent,ur=!0)),y=Ed(r,x),0<y.length&&(x=new Un(x,e,null,n,i),o.push({event:x,listeners:y}),b?x.data=b:(b=lr(n),b!==null&&(x.data=b)))),(b=ir?dr(e,n):fr(e,n))&&(x=Ed(r,`onBeforeInput`),0<x.length&&(y=new Un(`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=vn(e,n),i!=null&&r.unshift(Td(e,i,a)),i=vn(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=vn(n,a),l!=null&&o.unshift(Td(n,l,c))):i||(l=vn(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,431 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,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||tn(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&tn(e,``+r);break;case`className`:zt(e,`class`,r);break;case`tabIndex`:zt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:zt(e,n,r);break;case`style`:an(e,r,o);break;case`data`:if(t!==`object`){zt(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=ln(``+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 o==`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=ln(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=un);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(a(61));if(n=r.__html,n!=null){if(i.children!=null)throw Error(a(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=ln(``+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),Rt(e,`popover`,r);break;case`xlinkActuate`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Bt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Bt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Bt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:Rt(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=sn.get(n)||n,Rt(e,n,r))}}function Nd(e,t,n,r,i,o){switch(n){case`style`:an(e,r,o);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(a(61));if(n=r.__html,n!=null){if(i.children!=null)throw Error(a(60));e.innerHTML=n}}break;case`children`:typeof r==`string`?tn(e,r):(typeof r==`number`||typeof r==`bigint`)&&tn(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=un);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!jt.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(i=n.endsWith(`Capture`),t=n.slice(2,i?n.length-7:void 0),o=e[_t]||null,o=o==null?null:o[n],typeof o==`function`&&e.removeEventListener(t,o,i),typeof r==`function`)){typeof o!=`function`&&o!==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,``):Rt(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,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:i=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(a(137,t));default:$(e,t,o,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=o=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`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(a(137,t));break;default:$(e,t,r,d,n,null)}}Xt(e,o,c,l,u,s,i,!1);return;case`select`:for(i in Q(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(i)&&(c=n[i],c!=null))switch(i){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:$(e,t,i,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&Qt(e,!!r,n,!0):Qt(e,!!r,t,!1);return;case`textarea`:for(s in Q(`invalid`,e),o=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`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(a(91));break;default:$(e,t,s,c,n,null)}en(e,r,i,o);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(a(137,t));default:$(e,t,u,r,n,null)}return;default:if(on(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,o=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`:o=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(a(137,t));break;default:m!==f&&$(e,t,p,m,r,f)}}Yt(e,s,c,l,u,d,o,i);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||$(e,t,o,null,r,l)}for(i in r)if(o=r[i],l=n[i],r.hasOwnProperty(i)&&(o!=null||l!=null))switch(i){case`value`:p=o;break;case`defaultValue`:c=o;break;case`multiple`:s=o;default:o!==l&&$(e,t,i,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?Qt(e,!!n,n?[]:``,!1):Qt(e,!!n,t,!0)):Qt(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],o=n[s],r.hasOwnProperty(s)&&(i!=null||o!=null))switch(s){case`value`:p=i;break;case`defaultValue`:m=i;break;case`children`:break;case`dangerouslySetInnerHTML`:if(i!=null)throw Error(a(91));break;default:i!==o&&$(e,t,s,i,r,o)}$t(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(a(137,t));break;default:$(e,t,u,p,r,m)}return;default:if(on(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[Ct]||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),wt(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[Ct])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,905 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(a(452));return e;case`head`:if(e=t.head,!e)throw Error(a(453));return e;case`body`:if(e=t.body,!e)throw Error(a(454));return e;default:throw Error(a(451))}}function pf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);wt(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=E.d;E.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=xu();return e||t}function yf(e){var t=Et(e);t!==null&&t.tag===5&&t.type===`form`?Ms(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=Jt(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),kt(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="`+Jt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Jt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Jt(n.imageSizes)+`"]`)):i+=`[href="`+Jt(e)+`"]`;var a=i;switch(t){case`style`:a=Af(e);break;case`script`:a=Pf(e)}mf.has(a)||(e=p({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),kt(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="`+Jt(r)+`"][href="`+Jt(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=p({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),kt(r),n.head.appendChild(r)}}}function Ef(e,t,n){_f.S(e,t,n);var r=bf;if(r&&e){var i=Ot(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=p({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=mf.get(a))&&Rf(e,n);var c=o=r.createElement(`link`);kt(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=Ot(n).hoistableScripts,i=Pf(e),a=r.get(i);a||(a=n.querySelector(Ff(i)),a||(e=p({src:e,async:!0},t),(t=mf.get(i))&&zf(e,t),a=n.createElement(`script`),kt(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=Ot(n).hoistableScripts,i=Pf(e),a=r.get(i);a||(a=n.querySelector(Ff(i)),a||(e=p({src:e,async:!0,type:`module`},t),(t=mf.get(i))&&zf(e,t),a=n.createElement(`script`),kt(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=he.current)?gf(i):null;if(!i)throw Error(a(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=Ot(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 o=Ot(i).hoistableStyles,s=o.get(e);if(s||(i=i.ownerDocument||i,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=i.querySelector(jf(e)))&&!o._p&&(s.instance=o,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),o||Nf(i,e,n,s.state))),t&&r===null)throw Error(a(528,``));return s}if(t&&r!==null)throw Error(a(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=Ot(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(a(444,e))}}function Af(e){return`href="`+Jt(e)+`"`}function jf(e){return`link[rel="stylesheet"][`+e+`]`}function Mf(e){return p({},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),kt(t),e.head.appendChild(t))}function Pf(e){return`[src="`+Jt(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~="`+Jt(n.href)+`"]`);if(r)return t.instance=r,kt(r),r;var i=p({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),kt(r),Pd(r,`style`,i),Lf(r,n.precedence,e),t.instance=r;case`stylesheet`:i=Af(n.href);var o=e.querySelector(jf(i));if(o)return t.state.loading|=4,t.instance=o,kt(o),o;r=Mf(n),(i=mf.get(i))&&Rf(r,i),o=(e.ownerDocument||e).createElement(`link`),kt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Pd(o,`link`,r),t.state.loading|=4,Lf(o,n.precedence,e),t.instance=o;case`script`:return o=Pf(n.src),(i=e.querySelector(Ff(o)))?(t.instance=i,kt(i),i):(r=n,(i=mf.get(o))&&(r=p({},n),zf(r,i)),e=e.ownerDocument||e,i=e.createElement(`script`),kt(i),Pd(i,`link`,r),e.head.appendChild(i),t.instance=i);case`void`:return null;default:throw Error(a(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[Ct]||a[gt]||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,kt(a);return}a=t.ownerDocument||t,r=Mf(r),(i=mf.get(i))&&Rf(r,i),a=a.createElement(`link`),kt(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:x,Provider:null,Consumer:null,_currentValue:le,_currentValue2:le,_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=at(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=at(0),this.hiddenUpdates=at(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=_i(3,null,null,t),e.current=a,a.stateNode=e,t=ga(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Ja(a),e}function tp(e){return e?(e=hi,e):hi}function np(e,t,n,r,i,a){i=tp(i),r.context===null?r.context=i:r.pendingContext=i,r=Xa(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=Za(e,r,t),n!==null&&(gu(n,e,t),Qa(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=fi(e,67108864);t!==null&&gu(t,e,67108864),ip(e,67108864)}}function op(e){if(e.tag===13||e.tag===31){var t=mu();t=dt(t);var n=fi(e,t);n!==null&&gu(n,e,t),ip(e,t)}}var sp=!0;function cp(e,t,n,r){var i=T.T;T.T=null;var a=E.p;try{E.p=2,up(e,t,n,r)}finally{E.p=a,T.T=i}}function lp(e,t,n,r){var i=T.T;T.T=null;var a=E.p;try{E.p=8,up(e,t,n,r)}finally{E.p=a,T.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=Et(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=et(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-qe(o);s.entanglements[1]|=c,o&=~c}rd(a),!(U&6)&&(ru=Fe()+500,id(0,!1))}}break;case 31:case 13:s=fi(a,2),s!==null&&gu(s,a,2),xu(),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=fn(e),pp(e)}var fp=null;function pp(e){if(fp=null,e=Tt(e),e!==null){var t=s(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=c(t),e!==null)return e;e=null}else if(n===31){if(e=l(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(Ie()){case Le:return 2;case Re:return 8;case ze:case Be:return 32;case Ve: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=Et(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=Tt(e.target);if(t!==null){var n=s(t);if(n!==null){if(t=n.tag,t===13){if(t=c(n),t!==null){e.blockedOn=t,mt(e.priority,function(){op(n)});return}}else if(t===31){if(t=l(n),t!==null){e.blockedOn=t,mt(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);dn=r,n.target.dispatchEvent(r),dn=null}else return t=Et(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=Et(n);a!==null&&(e.splice(t,3),t-=3,As(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[_t]||null;if(typeof a==`function`)o||Mp(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[_t]||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(a(409));var n=t.current;np(n,mu(),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),xu(),t[vt]=null}};function Ip(e){this._internalRoot=e}Ip.prototype.unstable_scheduleHydration=function(e){if(e){var t=pt();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=n.version;if(Lp!==`19.2.5`)throw Error(a(527,Lp,`19.2.5`));E.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(a(188)):(e=Object.keys(e).join(`,`),Error(a(268,e)));return e=d(t),e=e===null?null:f(e),e=e===null?null:e.stateNode,e};var Rp={bundleType:0,version:`19.2.5`,rendererPackageName:`react-dom`,currentDispatcherRef:T,reconcilerVersion:`19.2.5`};
10if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var zp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!zp.isDisabled&&zp.supportsFiber)try{We=zp.inject(Rp),Ge=zp}catch{}}e.hydrateRoot=function(e,t,n){if(!o(e))throw Error(a(299));var r=!1,i=``,s=$s,c=ec,l=tc,u=null;return n!=null&&(!0===n.unstable_strictMode&&(r=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=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,s,c,l,Pp),t.context=tp(null),n=t.current,r=mu(),r=dt(r),i=Xa(r),i.callback=null,Za(n,i,r),n=r,t.current.lanes=n,ot(t,n),rd(t),e[vt]=t.current,Sd(e),new Ip(t)}})),we=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=Ce()})),Te=`__TSS_CONTEXT`,Ee=Symbol.for(`TSS_SERVER_FUNCTION`),De=`application/x-tss-framed`;`${De}`;var Oe=()=>window.__TSS_START_OPTIONS__;function ke(e={}){if(e.isNotFound=!0,e.throw)throw e;return e}function Ae(e){return e?.isNotFound===!0}function je(e){e.statusCode=e.statusCode||e.code||307;let t=new Headers(e.headers);e.href&&t.get(`Location`)===null&&t.set(`Location`,e.href);let n=new Response(null,{status:e.statusCode,headers:t});if(n.options=e,e.throw)throw n;return n}function Me(e){return e instanceof Response&&!!e.options}function Ne(e){if(typeof e==`object`&&e&&e.isSerializedRedirect)return je(e)}function Pe(e){return e.replaceAll(`\0`,`/`).replaceAll(`�`,`/`).replace(/~([~0r])/g,(e,t)=>t===`0`?`\0`:t===`r`?`�`:t)}function Fe(e){let t=new Map,n,r;return{get(e){let n=t.get(e);if(n)return n.visited=!0,n.value},set(i,a){let o=t.get(i);if(o){o.value=a;return}if(t.size>=e){let e=n?.next().value;for(;!e||e.visited;)e?e.visited=!1:n=t.values(),e=n.next().value;e===r&&(n=void 0),t.delete(e.key)}let s={key:i,value:a,visited:!1};r=s,t.set(i,s)},clear(){t.clear(),n=void 0,r=void 0}}}function Ie(){throw Error(`Invariant failed`)}var Le=4,Re=5;function ze(e){let t=e.names;if(t)return t;let n=[];for(let t of e)typeof t!=`string`&&n.push(t[1]);return e.names=n}function Be(e,t,n){let r=e.substring(t,n);if(r.charCodeAt(0)===36)return r.length===1?[2,`_splat`,``,void 0]:[1,r.substring(1),``,``];let i=r.indexOf(`{`);if(i>=0){let a=r.indexOf(`}`,i),o=r.charCodeAt(i+1)===45,s=i+(o?3:2);if(a>=0&&r.charCodeAt(s-1)===36&&(!o||s<a)){let c=r.substring(s,a);return[o?3:c?1:2,c||`_splat`,r.substring(0,i),e.substring(t+a+1,c?n:e.length)]}}return r}function Ve(e,t,n,r,i,a){let s=n,c=t.fullPath??t.from,l=t.options,u=c.length,d=c.endsWith(`/`)?u-1:u,f=l?.caseSensitive??e,p=l?.params?.parse??l?.parseParams,m,h=a?n-1:0;if(!r||c.includes(`$`)){m=a?.slice()??[];let e=o(m);e&&typeof e!=`string`&&e[0]===2&&(m[m.length-1]=[e[0],e[1],e[2],e[3]===void 0?void 0:e[3]+c.substring(n-(c[n-2]===`/`?2:1),d)],h=u)}for(;s<u;){let e=s,t=c.indexOf(`/`,e),n=t===-1?u:t,a=Be(c,e,n);s=n+1;let o;if(typeof a==`string`){if(!r)continue;let e=a,t;f?t=r.static??=new Map:(e=a.toLowerCase(),t=r.staticInsensitive??=new Map);let n=t.get(e);if(n)o=n;else{let n=Ue(r);o=n,t.set(e,n)}}else{let t=a[0],l=a[2],g=a[3]??``;if(t===2&&(n=u,s=n+1),m&&h<n&&(h<e-1&&m.push(c.substring(h,e-1)),a[2]=`/`+l,t===2&&a[3]!==void 0&&d<u&&(a[3]=g.slice(0,-1)),m.push(a),h=n),!r)continue;let _=f&&!!(l||g);f||(l=l.toLowerCase(),g=g.toLowerCase());let v=t===1?r.dynamic??=[]:t===3?r.optional??=[]:r.wildcard??=[],y=t!==2&&!p&&v.find(e=>!e.parse&&e.caseSensitive===_&&e.prefix===l&&e.suffix===g);if(y)o=y;else{let e=Ue(r,t,_,l,g);o=e,v.push(e),v.length===2&&i?.push(v)}}r=o}m&&h<d&&m.push(c.substring(h,d));let g=m?.slice();if(!r)return g;
10if(p&&t.children&&!t.isRoot&&t.id&&t.id.charCodeAt(t.id.lastIndexOf(`/`)+1)===95){let e=Ue(r,Re);(r.pathless??=[]).push(e),r=e}let _=(t.path||!t.children)&&!t.isRoot;if(_&&d<u){let e=Ue(r,Le);r.index=e,r=e}return r.parse=p??null,r.priority=l?.params?.priority??0,r.route||(r.data=g,_&&(r.route=t)),[r,s,g]}function He(e,t){if(e.parse&&!t.parse)return-1;if(!e.parse&&t.parse)return 1;if(e.parse&&t.parse&&(e.priority||t.priority))return t.priority-e.priority;if(e.prefix&&t.prefix&&e.prefix!==t.prefix){if(e.prefix.startsWith(t.prefix))return-1;if(t.prefix.startsWith(e.prefix))return 1}if(e.suffix&&t.suffix&&e.suffix!==t.suffix){if(e.suffix.endsWith(t.suffix))return-1;if(t.suffix.endsWith(e.suffix))return 1}return e.prefix&&!t.prefix?-1:!e.prefix&&t.prefix?1:e.suffix&&!t.suffix?-1:!e.suffix&&t.suffix?1:e.caseSensitive&&!t.caseSensitive?-1:!e.caseSensitive&&t.caseSensitive?1:0}function Ue(e,t=0,n,r,i){return{kind:t,depth:e?e.depth+1:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,data:void 0,parent:e,parse:null,priority:0,caseSensitive:n,prefix:r,suffix:i}}function We(e,t){let n=Ue(),r=[];function i(e,t,n,a){let[o,s,c]=Ve(!1,e,t,n,r,a);if(e.children)for(let t of e.children)i(t,s,o,c)}for(let t of e)i(t,1,n);for(let e of r)e.sort(He);t.masksTree=n,t.flatCache=Fe(1e3)}function Ge(e,t){e||=`/`;let n=t.flatCache.get(e);if(n!==void 0)return n;let r=Ye(e,t.masksTree);return t.flatCache.set(e,r),r}function Ke(e,t,n,r,i){e||=`/`,r||=`/`;let a=t?`case\0${e}`:e,o=i.singleCache.get(a);return o||(o=Ue(),Ve(t,{from:e},1,o),i.singleCache.set(a,o)),Ye(r,o,n)}function qe(e,t,n=!1){let r=n?e:`nofuzz\0${e}`,i=t.matchCache.get(r);if(i!==void 0)return i;e||=`/`;let a;try{a=Ye(e,t.segmentTree,n)}catch(e){if(e instanceof URIError)a=null;else throw e}return a&&(a.branch=Ze(a.route)),t.matchCache.set(r,a),a}function Je(e,t=!1){let n=Ue(),r=[],i={},a={},o=0;function s(e,n,c,l){if(e.init(o),e.id in i&&Ie(),i[e.id]=e,o!==0&&e.path){let t=te(e.fullPath);(!a[t]||e.fullPath.endsWith(`/`))&&(a[t]=e)}o++;let[u,d,f]=Ve(t,e,n,c,r,l);if(e._interpolation=f,e.children)for(let t of e.children)s(t,d,u,f)}s(e,1,n);for(let e of r)e.sort(He);return{processedTree:{segmentTree:n,singleCache:Fe(1e3),matchCache:Fe(1e3),flatCache:null,masksTree:null},routesById:i,routesByPath:a}}function Ye(e,t,n=!1){let r=e.split(`/`),i=$e(e,r,t,n);if(!i)return null;let[a]=Xe(e,r,i);return{route:i.node.route,rawParams:a}}function Xe(e,t,n){let r=Qe(n.node),i=n.node.data&&ze(n.node.data),a=Object.create(null),o=n.extract?.part??0,s=n.extract?.node??0,c=n.extract?.path??0,l=n.extract?.param??0;for(;s<r.length;o++,s++,c++){let u=r[s];if(u.kind===Le)break;if(u.kind===Re){o--,c--;continue}let d=t[o],f=c;if(d&&(c+=d.length),u.kind===1||u.kind===3){let e=i[l++];if(u.kind===3&&n.skipped&1<<s){o--,c=f-1;continue}let t=u.suffix||u.prefix?d.substring(u.prefix.length,d.length-u.suffix.length):d;(t||u.kind===1)&&(a[e]=decodeURIComponent(t))}else if(u.kind===2){let t=u,n=e.substring(f+t.prefix.length,e.length-t.suffix.length),r=decodeURIComponent(n);a[`*`]=r,a._splat=r;break}}return n.rawParams&&Object.assign(a,n.rawParams),[a,{part:o,node:s,path:c,param:l}]}function Ze(e){let t=[e];for(;e.parentRoute;)e=e.parentRoute,t.push(e);return t.reverse(),t}function Qe(e){let t=Array(e.depth+1);do t[e.depth]=e,e=e.parent;while(e);return t}function $e(e,t,n,r){if(e===`/`&&n.index)return{node:n.index,skipped:0};let i=!o(t),a=i&&e!==`/`,s=t.length-+!!i,c=[{node:n,index:1,skipped:0,statics:0,dynamics:0,optionals:0}],l=null,u=null;for(;c.length;){let n=c.pop(),{node:i,index:o,skipped:d,statics:f,dynamics:p,optionals:m}=n,{extract:h,rawParams:g}=n;if(i.kind===2&&i.route&&!rt(u,n))continue;if(i.parse){if(!nt(e,t,n))continue;g=n.rawParams,h=n.extract}r&&i.route&&i.kind!==Le&&rt(l,n)&&(l=n);let _=o===s;if(_&&(i.route&&(!a||i.kind===Le||i.kind===2)&&rt(u,n)&&(u=n),!i.optional&&!i.wildcard&&!i.index&&!i.pathless))continue;let v=_?void 0:t[o],y;if(_&&i.index){let n={node:i.index,index:o,skipped:d,statics:f,dynamics:p,optionals:m,extract:h,rawParams:g},r=!0;if(i.index.parse&&(nt(e,t,n)||(r=!1)),r){if(!p&&!m&&!d&&tt(f,s))return n;rt(u,n)&&(u=n)}}if(i.wildcard)for(let e=i.wildcard.length-1;e>=0;e--){let n=i.wildcard[e],{prefix:r,suffix:a}=n;if(!(r&&(_||!(n.caseSensitive?v:y??=v.toLowerCase()).startsWith(r)))){if(a){if(_)continue;let e=t.slice(o).join(`/`),i=e.slice(-a.length);if((n.caseSensitive?i:i.toLowerCase())!==a||e.length-a.length<r.length)continue}c.push({node:n,index:s,skipped:d,statics:f,dynamics:p,optionals:m,extract:h,rawParams:g})}}if(i.optional){let e=d|1<<i.depth+1;for(let t=i.optional.length-1;t>=0;t--){let n=i.optional[t];c.push({node:n,index:o,skipped:e,statics:f,dynamics:p,optionals:m,extract:h,rawParams:g})}if(!_)for(let e=i.optional.length-1;e>=0;e--){let t=i.optional[e],{prefix:n,suffix:r}=t;if(n||r){let e=t.caseSensitive?v:y??=v.toLowerCase();if(n&&!e.startsWith(n)||r&&e.indexOf(r,e.length-r.length)<n.length)continue}c.push({node:t,index:o+1,skipped:d,statics:f,dynamics:p,optionals:m+et(s,o),extract:h,rawParams:g})}}if(!_&&i.dynamic&&v)for(let e=i.dynamic.length-1;e>=0;e--){let t=i.dynamic[e],{prefix:n,suffix:r}=t;if(n||r){let e=t.caseSensitive?v:y??=v.toLowerCase();if(n&&!e.startsWith(n)||r&&e.indexOf(r,e.length-r.length)<n.length)continue}c.push({node:t,index:o+1,skipped:d,statics:f,dynamics:p+et(s,o),optionals:m,extract:h,rawParams:g})}if(!_&&i.staticInsensitive){let e=i.staticInsensitive.get(y??=v.toLowerCase());e&&c.push({node:e,index:o+1,skipped:d,statics:f+et(s,o),dynamics:p,optionals:m,extract:h,rawParams:g})}if(!_&&i.static){let e=i.static.get(v);e&&c.push({node:e,index:o+1,skipped:d,statics:f+et(s,o),dynamics:p,optionals:m,extract:h,rawParams:g})}if(i.pathless)for(let e=i.pathless.length-1;e>=0;e--){let t=i.pathless[e];c.push({node:t,index:o,skipped:d,statics:f,dynamics:p,optionals:m,extract:h,rawParams:g})}}if(u)return u;if(r&&l){let n=l.index;for(let e=0;e<l.index;e++)n+=t[e].length;let r=n===e.length?`/`:e.slice(n);return l.rawParams??=Object.create(null),l.rawParams[`**`]=decodeURIComponent(r),l}return null}function et(e,t){return 2**(e-t-1)}function tt(e,t){return e===2**(t-1)-1}function nt(e,t,n){let r,i;try{[r,i]=Xe(e,t,n)}catch{return null}if(n.rawParams=r,n.extract=i,!n.node.parse)return!0;try{if(n.node.parse(r)===!1)return null}catch{}return!0}function rt(e,t){return e?t.statics>e.statics||t.statics===e.statics&&(t.dynamics>e.dynamics||t.dynamics===e.dynamics&&(t.optionals>e.optionals||t.optionals===e.optionals&&((t.node.kind===Le)>(e.node.kind===Le)||t.node.kind===Le==(e.node.kind===Le)&&t.node.depth>e.node.depth))):!0}function it(){try{return sessionStorage}catch{return}}var at=`tsr-scroll-restoration-v1_3`,ot=it();function st(){try{return JSON.parse(ot?.getItem(`tsr-scroll-restoration-v1_3`)||`{}`)}catch{return{}}}var ct=st(),lt=`data-scroll-restoration-id`,ut=e=>e.state.__TSR_key||e.href;function dt(e){let t=e.getAttribute(lt);if(t)return`[${lt}="${t}"]`;let n=``,r=e,i;for(;i=r.parentNode;){let e=1,t=r;for(;t=t.previousElementSibling;)e++;let a=`${r.localName}:nth-child(${e})`;n=n?`${a} > ${n}`:a,r=i}return n}var ft=!1,pt=`window`;function mt(e){try{return typeof e==`function`?e():document.querySelector(e)}catch{}}function ht(e){let t=new Set;for(let n of e){if(n===pt)continue;let e=mt(n);e&&t.add(e)}return t}
10function gt(e,t){let n=t??e.options.scrollRestoration,r=e._scroll;n&&(r.e=!0);let i=e.options.getScrollRestorationKey||ut,a=new Set,o=e=>{let t=ct[e]||={};for(let e of a)e===document?t[pt]={scrollX,scrollY}:e.isConnected&&(t[dt(e)]={scrollX:e.scrollLeft,scrollY:e.scrollTop})};n&&!r.s&&(r.s=!0,ft=!1,history.scrollRestoration=`manual`,document.addEventListener(`scroll`,e=>{ft||a.add(e.target)},!0),e.subscribe(`onBeforeLoad`,e=>{e.fromLocation&&o(i(e.fromLocation)),a.clear()}),addEventListener(`pagehide`,()=>{history.scrollRestoration=`auto`,o(i(e.stores.resolvedLocation.get()??e.stores.location.get()));try{ot?.setItem(at,JSON.stringify(ct))}catch{}}),addEventListener(`pageshow`,e=>{e.persisted&&(history.scrollRestoration=`manual`)})),!r.r&&(r.r=!0,e.subscribe(`onRendered`,t=>{let n=e.options.scrollRestorationBehavior,o=e.options.scrollToTopSelectors,s=r.n,c=r.h,l;if(a.clear(),r.n=!0,r.h=!1,typeof e.options.scrollRestoration==`function`&&!e.options.scrollRestoration({location:e.latestLocation}))return;let u=i(t.toLocation),d=t.fromLocation&&i(t.fromLocation);if(r.e&&d&&d!==u){let e=ct[d];if(e){let t=ct[u];for(let n in e){if(n===pt){if(s)continue}else{let e=mt(n);if(!e||s&&o&&(l??=ht(o),l.has(e)))continue}t||=ct[u]={},t[n]??=e[n]}}}ft=!0;try{let e=t.toLocation.hash,i=t.toLocation.state.__hashScrollIntoViewOptions??!0,a=!1;if(s){!e&&o&&(l??=ht(o));let t=e&&i&&c,s=r.e?ct[u]:void 0;if(s)for(let e in s){let{scrollX:r,scrollY:i}=s[e];if(e===pt){if(t)continue;scrollTo({top:i,left:r,behavior:n}),a=!0}else{let t=mt(e);t&&(t.scrollLeft=r,t.scrollTop=i,l?.delete(t))}}if(!e){let e={top:0,left:0,behavior:n};if(a||scrollTo(e),l)for(let t of l)t.scrollTo(e)}}!a&&e&&i&&document.getElementById(e)?.scrollIntoView(i)}finally{ft=!1}}))}function _t(e,t=String){let n;for(let r in e){let i=e[r];i!==void 0&&(n||=new URLSearchParams).set(r,t(i))}return n?n.toString():``}function vt(e){return e?e===`false`?!1:e===`true`?!0:e*0==0&&+e+``===e?+e:e:``}function yt(e){let t=new URLSearchParams(e),n=Object.create(null);for(let[e,r]of t.entries()){let t=n[e];t==null?n[e]=vt(r):Array.isArray(t)?t.push(vt(r)):n[e]=[t,vt(r)]}return n}var bt=/^(?:\s|["[{\d-]|fa|nu|tr)/,xt=Ct(JSON.parse),St=wt(JSON.stringify,JSON.parse);function Ct(e){let t=e===JSON.parse;return n=>{n[0]===`?`&&(n=n.substring(1));let r=yt(n);for(let n in r){let i=r[n];if(typeof i==`string`){if(t&&!bt.test(i))continue;try{r[n]=e(i)}catch{}}}return r}}function wt(e,t){let n=t===JSON.parse;function r(r){if(r&&typeof r==`object`)try{return e(r)}catch{}else if(t&&typeof r==`string`){if(n&&!bt.test(r))return r;try{return t(r),e(r)}catch{}}return r}return e=>{let t=_t(e,r);return t?`?${t}`:``}}var Tt=`__root__`;function Et(e,t,n){let r=h(e),i=`/${r}`,a=t?i:i.toLowerCase(),o=`${a}/`,s={input:({url:e})=>{let n=t?e.pathname:e.pathname.toLowerCase();return n===a?e.pathname=`/`:n.startsWith(o)&&(e.pathname=e.pathname.slice(i.length)),e},output:({url:e})=>(e.pathname=ne(`/${r}${e.pathname}`),e)};return n?{input:({url:e})=>Dt(n,s.input({url:e})),output:({url:e})=>s.output({url:Ot(n,e)})}:s}function Dt(e,t){let n=e?.input?.({url:t});if(n){if(typeof n==`string`)return new URL(n);if(n instanceof URL)return n}return t}function Ot(e,t){let n=e?.output?.({url:t});if(n){if(typeof n==`string`)return new URL(n);if(n instanceof URL)return n}return t}function kt(e,t){let{createMutableStore:n,createReadonlyStore:r,batch:i}=t,a=new Map,o=n(`idle`),s=n(e),c=n(void 0),l=n([]),u=r(()=>l.get().map(e=>a.get(e).get())),d=r(()=>({status:o.get(),isLoading:o.get()===`pending`,matches:u.get(),location:s.get(),resolvedLocation:c.get()}));function f(e){let t=a.get(e);return t||(t=n(void 0),a.set(e,t)),t}let p={status:o,location:s,resolvedLocation:c,ids:l,matches:u,byRoute:a,__store:d,getMatchStore:f,setMatches:m};function m(e){let t=l.get(),n=e.map(e=>e.routeId);i(()=>{v(t,n)||l.set(n);for(let e of t)n.includes(e)||a.get(e).set(()=>void 0);for(let t of e){let e=f(t.routeId);e.get()!==t&&e.set(t)}})}return p}var At=`__TSR_index`,jt=`popstate`,Mt=`beforeunload`,Nt=/^[\x00-\x20]*(?:[\\/][\t\n\r]*){2,}/;function Pt(e){let t=Nt.exec(e);return t?`/`+e.slice(t[0].length):e}function Ft(e){return/[\x00-\x1f\x7f]/.test(e)&&(e=e.replace(/[\x00-\x1f\x7f]/g,e=>`	
11\r`.includes(e)?``:encodeURIComponent(e))),Pt(e)}function It(e){let t=e.getLocation(),n=new Set,r=r=>
11{t=e.getLocation(),n.forEach(e=>e({location:t,action:r}))},i=n=>{e.notifyOnIndexChange??!0?r(n):t=e.getLocation()},a=async({task:n,navigateOpts:r,...i})=>{if(r?.ignoreBlocker??!1){n();return}let a=e.getBlockers?.()??[],o=i.type===`PUSH`||i.type===`REPLACE`;if(typeof document<`u`&&a.length&&o)for(let n of a){let r=zt(i.path,i.state);if(await n.blockerFn({currentLocation:t,nextLocation:r,action:i.type})){e.onBlocked?.();return}}n()};return{get location(){return t},get length(){return e.getLength()},subscribers:n,subscribe:e=>(n.add(e),()=>{n.delete(e)}),push:(n,i,o)=>{let s=t.state[At];i=Lt(s+1,i),a({task:()=>{e.pushState(n,i),r({type:`PUSH`})},navigateOpts:o,type:`PUSH`,path:n,state:i})},replace:(n,i,o)=>{let s=t.state[At];i=Lt(s,i),a({task:()=>{e.replaceState(n,i),r({type:`REPLACE`})},navigateOpts:o,type:`REPLACE`,path:n,state:i})},go:(t,n)=>{a({task:()=>{e.go(t,n?.ignoreBlocker??!1),i({type:`GO`,index:t})},navigateOpts:n,type:`GO`})},back:t=>{a({task:()=>{e.back(t?.ignoreBlocker??!1),i({type:`BACK`})},navigateOpts:t,type:`BACK`})},forward:t=>{a({task:()=>{e.forward(t?.ignoreBlocker??!1),i({type:`FORWARD`})},navigateOpts:t,type:`FORWARD`})},canGoBack:()=>t.state[At]!==0,createHref:t=>e.createHref(t),block:t=>{if(!e.setBlockers)return()=>{};let n=e.getBlockers?.()??[];return e.setBlockers([...n,t]),()=>{let n=e.getBlockers?.()??[];e.setBlockers?.(n.filter(e=>e!==t))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:r,_getBlockers:()=>e.getBlockers?.()??[]}}function Lt(e,t){let n=Bt();return{...t,key:n,__TSR_key:n,[At]:e}}function Rt(e){let t=e?.window??(typeof document<`u`?window:void 0),n=t.history.pushState,r=t.history.replaceState,i=[],a=()=>i,o=e=>i=e,s=t=>Ft(e?.createHref?e.createHref(t):t),c=e?.parseLocation??(()=>zt(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state));if(!t.history.state?.__TSR_key&&!t.history.state?.key){let e=Bt();t.history.replaceState({[At]:0,key:e,__TSR_key:e},``)}let l=c(),u,d=!1,f=!1,p=!1,m=!1,h=()=>l,g,_=()=>{g&&(S._ignoreSubscribers=!0,(g[2]?t.history.pushState:t.history.replaceState)(g[1],``,g[0]),S._ignoreSubscribers=!1,g=void 0,u=void 0)},v=(t,n,r)=>{let i=e?.createHref?s(n):void 0,a=!!g;a||(u=l),l=zt(n,r),g=[i??l.href,r,g?.[2]||t],a||queueMicrotask(()=>_())},y=e=>{l=c(),S.notify({type:e})},b=async()=>{if(m=!1,f){f=!1;return}let e=c(),n=e.state[At]-l.state[At],r=n===1,i=n===-1,o=!r&&!i||d;d=!1;let s=o?`GO`:i?`BACK`:`FORWARD`,u=o?{type:`GO`,index:n}:{type:i?`BACK`:`FORWARD`};if(p)p=!1;else{let r=a();if(typeof document<`u`&&r.length){for(let i of r)if(await i.blockerFn({currentLocation:l,nextLocation:e,action:s})){f=!0,t.history.go(-n),S.notify(u);return}}}l=c(),S.notify(u)},x=e=>{if(m){m=!1;return}let t=!1,n=a();if(typeof document<`u`&&n.length)for(let e of n){let n=e.enableBeforeUnload??!0;if(n===!0){t=!0;break}if(typeof n==`function`&&n()===!0){t=!0;break}}if(t)return e.preventDefault(),e.returnValue=``},S=It({getLocation:h,getLength:()=>t.history.length,pushState:(e,t)=>v(!0,e,t),replaceState:(e,t)=>v(!1,e,t),back:e=>(e&&(p=!0,m=!0),t.history.back()),forward:e=>{e&&(p=!0,m=!0),t.history.forward()},go:(e,n)=>{d=!0,n&&(p=!0,m=!0),t.history.go(e)},createHref:e=>s(e),flush:_,destroy:()=>{t.history.pushState=n,t.history.replaceState=r,t.removeEventListener(Mt,x,{capture:!0}),t.removeEventListener(jt,b)},onBlocked:()=>{u&&l!==u&&(l=u)},getBlockers:a,setBlockers:o,notifyOnIndexChange:!1});return S._ignoreNextBeforeUnload=e=>{m=!1;try{e=new URL(e,t.document.baseURI).href,m=/^https?:/.test(e)&&(!e.includes(`#`)||e.split(`#`)[0]!==t.location.href.split(`#`)[0])}catch{}},t.addEventListener(Mt,x,{capture:!0}),t.addEventListener(jt,b),t.history.pushState=function(...e){let r=n.apply(t.history,e);return S._ignoreSubscribers||y(`PUSH`),r},t.history.replaceState=function(...e){let n=r.apply(t.history,e);return S._ignoreSubscribers||y(`REPLACE`),n},S}function zt(e,t){let n=Ft(e),r=n.indexOf(`#`),i=n.indexOf(`?`);if(!t){let e=Bt();t={[At]:0,key:e,__TSR_key:e}}return{href:n,pathname:n.substring(0,r>0?i>0?Math.min(r,i):r:i>0?i:n.length),hash:r>-1?n.substring(r):``,search:i>-1?n.slice(i,r===-1?void 0:r):``,state:t}}function Bt(){return(Math.random()+1).toString(36).substring(7)}function Vt(e,t){return e.protocol!==`http:`&&e.protocol!==`https:`||e.origin!==t||!!e.username||!!e.password}function Ht(e){return e.pathname+e.search+e.hash}function Ut(e){return e.options.loader||e.options.beforeLoad||e.lazyFn||e.options.component?.preload||e.options.pendingComponent?.preload}function Wt(e){return e instanceof Error?{name:e.name,message:e.message}:{data:e}}function Gt(e,t){return{fromLocation:t,toLocation:e,pathChanged:t?.pathname!==e.pathname,hrefChanged:t?.href!==e.href,hashChanged:t?.hash!==e.hash}}function Kt({key:e,__TSR_key:t,__TSR_index:n,__hashScrollIntoViewOptions:r,...i}){return i}function qt(e){return e.findIndex(e=>e.status===`error`||e.status===`notFound`||e._notFound)+1}function Jt(e,t,n,r,i,a){r&&(t=t.slice(0,r)),i&&(n=n.slice(0,i));for(let r of t){if(a&&e._tx!==a)return;n.some(e=>e.routeId===r.routeId)||e.routesById[r.routeId].options.onLeave?.(r)}for(let r of n){if(a&&e._tx!==a)return;e.routesById[r.routeId].options[t.some(e=>e.routeId===r.routeId)?`onStay`:`onEnter`]?.(r)}}var Yt=class{constructor(e,t){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this._scroll={n:!0},this.subscribers=new Set,this._cache=new Map,this._committed=[],this.startTransition=async e=>(e(),!1),this.update=e=>{let t=this.options;this.options={...t,...e},this.isServer=this.options.isServer??!1??typeof document>`u`,this.staticLocations=new WeakMap,this.protocolAllowlist=new Set(this.options.protocolAllowlist),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=Rt()),this.origin=this.options.origin,this.origin||(window?.origin&&window.origin!==`null`?this.origin=window.origin:this.origin=`http://localhost`);let n=this.options.basepath??`/`,r=this.options.rewrite,i=this.basepath!==n||t?.rewrite!==r||t?.caseSensitive!==this.options.caseSensitive;if(i&&(this.basepath=n,this.rewrite=n!==`/`&&h(n)?Et(n,this.options.caseSensitive,r):r),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let e;e=this.buildRouteTree(),this.setRoutes(e)}if(this.stores)i&&this.stores.location.set(this.latestLocation);else if(this.latestLocation){let e=this.getStoreConfig(this);this.batch=e.batch,this.stores=kt(this.latestLocation,e),gt(this)}},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{let e=Je(this.routeTree,this.options.caseSensitive);return this.options.routeMasks&&We(this.options.routeMasks,e.processedTree),{...e,resolvePathCache:Fe(1e3)}},this.subscribe=(e,t)=>
11{let n={eventType:e,fn:t};return this.subscribers.add(n),()=>{this.subscribers.delete(n)}},this.emit=e=>{for(let t of this.subscribers)if(t.eventType===e.type)try{t.fn(e)}catch(e){console.error(e)}},this.parseLocation=(e,t)=>{let n=({pathname:e,search:n,hash:r,href:a},o)=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(e)){let a=this.options.parseSearch(n),s=this.options.stringifySearch(a);return{href:e+s+r,publicHref:e+s+r,pathname:d(e),external:!1,searchStr:s,search:c(t?.search,a),hash:d(r.slice(1)),state:i(t?.state,o)}}let s=Dt(this.rewrite,new URL(a,this.origin)),l=this.options.parseSearch(s.search),u=this.options.stringifySearch(l);return s.search=u,{href:s.href.replace(s.origin,``),publicHref:a,pathname:d(Pt(s.pathname)),external:!!this.rewrite&&Vt(s,this.origin),searchStr:u,search:c(t?.search,l),hash:d(s.hash.slice(1)),state:i(t?.state,o)}},r=n(e,e.state),{__tempLocation:a,__tempKey:o}=r.state;if(a&&(!o||o===this.tempLocationKey)){let e=n(a,{...a.state,__tempLocation:void 0,key:r.state.key,__TSR_key:r.state.__TSR_key});return e.maskedLocation=r,e}return r},this.matchRoutes=(e,t,n)=>typeof e==`string`?this.matchRoutesInternal({pathname:e,search:t},n):this.matchRoutesInternal(e,t),this.getMatchedRoutes=e=>{let t=Object.create(null),n=qe(te(e),this.processedTree,!0);return n&&Object.assign(t,n.rawParams),[n?.branch||[this.routesById.__root__],t,n?.route]},this.buildLocation=e=>{{let t=this.staticLocations.get(e);if(t)return t}let t=!1,n=(n={})=>{if(n.href){let e=zt(n.href,{});n={...n,to:Dt(this.rewrite,new URL(e.pathname,this.origin)).pathname,search:this.options.parseSearch(e.search),hash:e.hash.slice(1)}}let r=n._fromLocation||this._pendingLocation||this.latestLocation,i,o=()=>(t=!0,r),s=()=>(t=!0,i??=this.matchRoutesLightweight(r)),c=n.to?`${n.to}`:`.`,l=ie(c[0]===`/`?``:n.unsafeRelative===`path`?o().pathname:n.from??s()[1],c,this.options.trailingSlash,this.resolvePathCache),u=this.routesByPath[te(l)
11],f=l.includes(`$`),p;if(u)p=u._branch??=Ze(u);else if(f)p=[];else{let[e,t,n]=this.getMatchedRoutes(l);p=e,this.options.notFoundRoute&&(!n||n.path!==`/`&&t[`**`])&&(p=[...p,this.options.notFoundRoute])}let m=f?u?._interpolation??Ve(!1,{fullPath:l},0):void 0,h;for(let e of p){let t=e.options.params?.stringify??e.options.stringifyParams;if(t){let e=s()[3];if(h??=en(n.params,e),!a(h))break;h===e&&(h=Object.assign(_(),h));try{Object.assign(h,t(h))}catch{}}}h??=en(n.params,tn(n.params,m)?s()[3]:nn);let g=e.leaveParams?l:Pt(d(m?x(l,m,h,this.pathParamsDecoder):l)),v=rn(p,e._includeValidateSearch),y=()=>{let t=s()[2];if(e._includeValidateSearch&&this.options.search?.strict){let e={};p.forEach(n=>{if(n.options.validateSearch)try{Object.assign(e,$t(n.options.validateSearch,{...e,...t}))}catch{}}),t=e}return t},b=v.length?an(v,y(),n):n.search===!0?y():typeof n.search==`function`?n.search(y()):n.search||nn,S=this.options.stringifySearch(b),C=n.hash===!0?o().hash:typeof n.hash==`function`?n.hash(o().hash):n.hash||void 0,ee=C?`#${C}`:``,w=n.state?n.state===!0?o().state:typeof n.state==`function`?n.state(o().state):n.state:nn,ne=`${g}${S}${ee}`,re,ae,oe=!1;if(this.rewrite){let e=new URL(ne,this.origin),t=e.origin,n=Ot(this.rewrite,e);re=Ht(e),Vt(n,t)?(ae=n.href,oe=!0):ae=Pt(Ht(n))}else re=ce(ne),ae=re;return{publicHref:ae,href:re,pathname:g,search:b,searchStr:S,state:w,hash:C??``,external:oe,unmaskOnReload:n.unmaskOnReload}},r=n(e);if(e.mask)r.maskedLocation=n({from:e.from,...e.mask});else if(this.options.routeMasks){let t=Ge(r.pathname,this.processedTree);if(t){let i=Object.assign(_(),t.rawParams),{from:a,params:o,...s}=t.route,c=en(o,i);r.maskedLocation=n({from:e.from,...s,params:c})}}return!t&&e._fromLocation&&!r.maskedLocation&&this.staticLocations.set(e,r),r},this.commitLocation=async({viewTransition:e,ignoreBlocker:t,...n})=>{let r=n.maskedLocation??n;if(r.external)return Xt(this,r.publicHref,{replace:n.replace,ignoreBlocker:t});let i,a=te(this.latestLocation.href)===te(n.href)&&ae(Kt(n.state),Kt(this.latestLocation.state)),o=this._commitPromise,s,c=new Promise(e=>{s=e});if(c.resolve=()=>{s(),o?.resolve()},this._commitPromise=c,a)this.load();else{let{maskedLocation:r,hashScrollIntoView:a,...o}=n;r&&(o={...r,state:{...r.state,__tempKey:void 0,__tempLocation:{...o,search:o.searchStr,state:{...o.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(o.unmaskOnReload??this.options.unmaskOnReload??!1)&&(o.state.__tempKey=this.tempLocationKey)),o.state={...o.state,__hashScrollIntoViewOptions:a??this.options.defaultHashScrollIntoView??!0},this.shouldViewTransition=e,i=n.replace?`REPLACE`:`PUSH`,this.history[i===`REPLACE`?`replace`:`push`](o.publicHref,o.state,{ignoreBlocker:t}),this.history.subscribers.size||this.load({action:{type:i}})}return this._scroll.n=n.resetScroll??!0,this._commitPromise},this.buildAndCommitLocation=({replace:e,resetScroll:t,hashScrollIntoView:n,viewTransition:r,ignoreBlocker:i,...a}={})=>{let o=this.buildLocation({...a,_includeValidateSearch:!0});this._pendingLocation=o;let s=this.commitLocation({...o,viewTransition:r,replace:e,resetScroll:t,hashScrollIntoView:n,ignoreBlocker:i});return queueMicrotask(()=>{this._pendingLocation===o&&(this._pendingLocation=void 0)}),s},this.navigate=async({to:e,reloadDocument:t,href:n,publicHref:r,...i})=>{let a=n?l(n):void 0;if(a||t){if(e!==void 0||!n){let t=this.buildLocation({to:e,...i}),a=t.maskedLocation??t;n??=a.publicHref,r??=a.publicHref}let t=!a&&r?r:n;return Xt(this,t,i)}return this.buildAndCommitLocation({...i,href:n,to:e,_isNavigate:!0})},this.load=async e=>{this.updateLatestLocation(),e?.action&&(this._scroll.h=e.action.type===`PUSH`||e.action.type===`REPLACE`),await Qn(this,e)},this.startViewTransition=e=>{let t=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,t&&typeof document.startViewTransition==`function`){let n;if(typeof t==`object`&&window.CSS?.supports?.(`selector(:active-view-transition-type(a))`)){let r=this.latestLocation,i=this.stores.resolvedLocation.get(),a=typeof t.types==`function`?t.types(Gt(r,i)):t.types;if(a===!1)return e();n={update:e,types:a}}else n=e;return document.startViewTransition(n).updateCallbackDone}return e()},this.invalidate=e=>{let t=this._committed,n=e?.filter,r=this._preloads,i=new Set,a=e=>{(!n||n(e))&&i.add(e.id)};
11t.forEach(a),this._cache.forEach(a),r?.forEach(e=>e.forEach(a)),this._tx?.[3].forEach(a);let o=[];for(let[e,t]of r??[])t.some(e=>i.has(e.id))&&(r.delete(e),o.push(e));let s=t=>{if(i.has(t.id)){let n=this.routesById[t.routeId],r={...t,invalid:!0,...(e?.forcePending||t.status===`error`||t.status===`notFound`)&&Ut(n)?{status:`pending`,error:void 0}:void 0};return t._flight=void 0,r}return t};this._committed=t.map(s);for(let[t,n]of this._cache)i.has(t)&&(n.invalid=!0,e?.forcePending&&(n.status=`pending`));for(let e of i){let t=this._flights?.get(e);this._flights?.delete(e),t&&!t[2]&&o.push(t[1])}for(let e of o)e.abort();return this.shouldViewTransition=!1,this.load({sync:e?.sync})},this.resolveRedirect=e=>{let t=e.options,n=e.headers.get(`Location`)||t.href;if(!n){let e=this.buildLocation(t);n=(e.maskedLocation??e).publicHref||`/`}let r;if(b.test(n)||(r=l(n))&&!this.protocolAllowlist.has(r))throw Error(`Redirect blocked: unsafe protocol`);if(r===`http:`||r===`https:`){let e=new URL(n);e.pathname.startsWith(`//`)?n=e.href:Vt(e,this.origin)||(n=Ht(e),r=void 0)}return r&&(t.reloadDocument=!0),t.href=n,e.headers.set(`Location`,n),e},this.clearCache=e=>{let t=this._cache,n=this._preloads,r=e?.filter,i=[],a=[];for(let[e,n]of t)(!r||r(n))&&(a.push(e),i.push(n));let o=[];for(let[e,t]of n??[])(!r||t.some(r))&&(o.push(e),i.push(...t));for(let e of a)t.delete(e);for(let e of o)n.delete(e);for(let e of i){let t=e._flight;e._flight=void 0,t&&!--t[2]&&(this._flights?.get(e.id)===t&&this._flights.delete(e.id),o.push(t[1]))}for(let e of o)e.abort()},this.loadRouteChunk=un,this.preloadRoute=e=>$n(this,e),this.matchRoute=(e,t)=>{let n={...e,to:e.to?ie(e.from||``,e.to,this.options.trailingSlash,this.resolvePathCache):void 0,params:e.params||{},leaveParams:!0},r=this.buildLocation(n),i=this.stores.status.get()===`pending`;if(t?.pending&&!i)return!1;let a=t?.pending??!i?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),o=Ke(r.pathname,t?.caseSensitive??!1,t?.fuzzy??!1,a.pathname,this.processedTree);return!o||e.params&&!ae(o.rawParams,e.params,!0)?!1:t?.includeSearch??!0?ae(a.search,r.search,!0)?o.rawParams:!1:o.rawParams},this.getStoreConfig=t,e.pathParamsAllowedCharacters?.length&&(this.pathParamsDecoder=m(e.pathParamsAllowedCharacters)),this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??`fuzzy`,stringifySearch:e.stringifySearch??St,parseSearch:e.parseSearch??xt,protocolAllowlist:e.protocolAllowlist??S}),self.__TSR_ROUTER__=this}isShell(){return!!this.options.isShell}get state(){return this.stores.__store.get()}setRoutes(e){Object.assign(this,e),this.lightweightCache=new WeakMap,this.staticLocations=new WeakMap;let t=this.options.notFoundRoute;t&&(t.init(99999999999),this.routesById[t.id]!==t&&(t._interpolation=Ve(!1,t,0)),this.routesById[t.id]=t)}matchRoutesInternal(e,t){let[n,r,a]=this.getMatchedRoutes(e.pathname),o=n,s=!1;(a?a.path!==`/`&&r[`**`]:te(e.pathname))&&(this.options.notFoundRoute?o=[...o,this.options.notFoundRoute]:s=!0);let l=s?on(this.options.notFoundMode,o):void 0,u=Array(o.length),d=this._committed,f=(e,t)=>{let n=d[t];return n?.routeId===e.id?n:e===this.options.notFoundRoute?d.find(t=>t.routeId===e.id):void 0},p;for(let n=0;n<o.length;n++){let a=o[n],s=u[n-1],d,m,h;{let n=s?.search??e.search,r=s?._strictSearch??void 0;try{let e=$t(a.options.validateSearch,{...n})??void 0;d={...n,...e},m={...r,...e}}catch(e){let r=e;if(e instanceof Zt||(r=new Zt(e.message,{cause:e})),t?.throwOnError)throw r;d=n,m={},h=r}}let g=``,v=``;try{g=a.options.loaderDeps?.({search:d})??``,v=g&&JSON.stringify(g)||``}catch(e){if(t?.throwOnError)throw e;h??=e}let y=_(),b=a._interpolation?x(a.fullPath,a._interpolation,r,this.pathParamsDecoder,y):a.fullPath,S=a.id+b+v,C=f(a,n),ee=this._cache.get(S)??(C?.id===S?C:void 0);p=ee?._strictParams??Object.assign(y,p);let te;if(!ee)try{sn(a,p)}catch(e){if(te=Ae(e)||Me(e)?e:new Qt(e.message,{cause:e}),t?.throwOnError)throw te}let w=C?`stay`:`enter`,ne;if(ee)ne={...ee,cause:w,search:c(C?C.search:ee.search,d),_strictSearch:m,searchError:h};else{let e=Ut(a)?`pending`:`success`;ne={id:S,ssr:a.options.ssr,index:n,routeId:a.id,params:C?.params??p,_strictParams:p,pathname:b,updatedAt:Date.now(),search:C?c(C.search,d):d,_strictSearch:m,searchError:h,status:e,isFetching:!1,error:void 0,paramsError:te,context:{},abortController:t?._controller??new AbortController,cause:w,loaderDeps:C?i(C.loaderDeps,g):g,invali
11d:!1,preload:!1,staticData:a.options.staticData||{},fullPath:a.fullPath}}let re=l===a.id;ne._notFound&&!re&&(ne.error=void 0),ne._notFound=re,u[n]=ne}for(let e=0;e<u.length;e++){let n=u[e];n.params=n.cause===`stay`?c(n.params,p):p,t?._controller&&(n.context={})}return u}matchRoutesLightweight(e){let t=o(this.stores.ids.get()),n=t?this.stores.byRoute.get(t).get():void 0,r=n?.id,i=this.lightweightCache.get(e);if(i&&i[0]===r)return i[1];let[a,s]=this.getMatchedRoutes(e.pathname),c=o(a),l={...e.search};for(let e of a)try{Object.assign(l,$t(e.options.validateSearch,l))}catch{}let u=n&&n.routeId===c.id&&n.pathname===e.pathname,d;if(u)d=n.params;else{let e=s;for(let t of a)try{sn(t,e)}catch{}d=e}let f=[a,c.fullPath,l,d];return this.lightweightCache.set(e,[r,f]),f}};async function Xt(e,t,{replace:n,ignoreBlocker:r}){if(!u(t,e.protocolAllowlist)){if(!r){let t=e.history._getBlockers();for(let r of t)if(r?.blockerFn&&await r.blockerFn({currentLocation:e.history.location,nextLocation:e.history.location,action:n?`REPLACE`:`PUSH`}))return}e.history._ignoreNextBeforeUnload?.(t),n?window.location.replace(t):window.location.href=t}}var Zt=class extends Error{},Qt=class extends Error{};function $t(e,t){if(e==null)return{};if(`~standard`in e){let n=e[`~standard`].validate(t);if(n instanceof Promise)throw new Zt(`Async validation not supported`);if(n.issues)throw new Zt(JSON.stringify(n.issues,void 0,2),{cause:n});return n.value}return`parse`in e?e.parse(t):typeof e==`function`?e(t):{}}function en(e,t){if(e===void 0||e===!0)return t;let n=Object.create(null);return e===!1||e===null?n:typeof e==`function`?(Object.assign(n,t),Object.assign(n,e(n))):Object.assign(n,t,e)}function tn(e,t){return typeof e==`function`?!0:!t||e===!1||e===null?!1:e===void 0||e===!0||t.some(t=>typeof t!=`string`&&!oe.call(e,t[1]))}var nn=Object.freeze({});function rn(e,t){let n=[];for(let r=0;r<e.length;r++){let i=e[r].options;`search`in i?i.search?.middlewares&&n.push(...i.search.middlewares):(i.preSearchFilters||i.postSearchFilters)&&n.push(({search:e,next:t})=>{let n=t(i.preSearchFilters?i.preSearchFilters.reduce((e,t)=>t(e),e):e);return i.postSearchFilters?i.postSearchFilters.reduce((e,t)=>t(e),n):n});let a=i.validateSearch;t&&a&&n.push(({search:e,next:t,meta:n})=>{let r=t(e);try{let e=$t(a,r);if(n&&e)for(let t in e)t in r||(n.defaulted||=new Map).set(t,e[t]);return{...r,...e}}catch{}return r})}return n}function an(e,t,n){let r=(t,i,a)=>{if(t>=e.length){if(!n.search)return{};if(n.search===!0)return i;let e=se(n.search,i);return a&&(a.explicit=e),e}return e[t]({search:i,next:(e,n)=>{if(n){let n=a||{};return{search:r(t+1,e,n),meta:n}}return r(t+1,e,a)},meta:a})};return r(0,t)}function on(e,t){if(e!==`root`){let e;for(let n=t.length-1;n>=0;n--){let r=t[n];if(r.options.notFoundComponent)return r.id;e||=r.children&&r.id}if(e)return e}return Tt}function sn(e,t){let n=e.options.params?.parse??e.options.parseParams;n&&Object.assign(t,n(t))}function cn(e,t){return e.options[t]?.preload?.()}function ln(e,t){let n=cn(e,`component`),r=cn(e,`pendingComponent`);return t&&(r?r=r.then(t):t()),n&&r?Promise.all([n,r]).then(()=>{}):n??r}function un(e,t,n){let r=()=>t===!1?void 0:t?cn(e,t):ln(e,n),i=e._lazy;if(i)return i===!0?r():i.then(r);if(!e.lazyFn)return r();let a=e.lazyFn().then(t=>{{let{id:n,...r}=t.options;Object.assign(e.options,r),e._lazy=!0}},t=>{throw e._lazy=void 0,t});return e._lazy=a,a.then(r)}function dn(e){let t=e.findIndex(e=>e.status!==`success`||e._notFound)+1;return t&&t<e.length?e.slice(0,t):e}function fn(e){let t=e.length;for(let n=0;n<t;n++){let r=e[n];if(r._assetEnd!==void 0){t=Math.min(t,Math.max(n+1,r._assetEnd));continue}if(r.status!==`success`||r._notFound){t=n+1;break}}return t<e.length?e.slice(0,t):e}var pn=0,mn=1,hn=2,gn=3,_n=[4];function vn(e){return typeof e[0]==`number`}function yn(e,t){return t.aborted?Promise.race([Promise.reject(t),e]):new Promise((n,r)=>{let i=()=>r(t);t.addEventListener(`abort`,i,{once:!0}),Promise.resolve(e).then(n,r).then(()=>t.removeEventListener(`abort`,i))})}function bn(e,t){return e.routesById[t.routeId]}function xn(e,t,n){return Me(e)?[gn,e]:Ae(e)?(e.routeId||=n,[hn,e]):t?(typeof e?.then==`function`&&(e=Error(`A Promise was thrown`,{cause:e})),[mn,e]):[pn,e]}function Sn(e,t){let n=xn(t,!0,e.id);if(n[0]!==mn)return n;try{e.options.onError?.(n[1])}catch(t){n=xn(t,!0,e.id)}return n}function Cn(e,t,n,r,i){return i[0].signal.aborted?_n:zn(e,t,n,Sn(n,r),i)}async function wn(e,t,n,r,i,a){let[o,s]=t,c=n[0].signal,l=!!n[3];for(let i=n[6]??0;i<r;i++){let r=s[i],u=bn(e,r);r.abortController=n[0];
11let d=s[i-1]?.context??e.options.context??{},f={params:r.params,location:o,navigate:t=>e.navigate({...t,_fromLocation:o}),buildLocation:e.buildLocation,cause:l?`preload`:r.cause,abortController:n[0],preload:l,matches:s,routeId:u.id};try{let e=r._ctx||=u.options.context?u.options.context({...f,deps:r.loaderDeps,context:d})||{}:void 0;r.context={...d,...e}}catch(a){return En(e,r),[i,Cn(e,t,u,a,n)]}if(c.aborted)return[i,_n];let p=r.paramsError??r.searchError;if(p!==void 0)return En(e,r),[i,Cn(e,t,u,p,n)];let m=u.options.beforeLoad;if(!m)continue;let h=r.status;i>=a&&(r.status=`pending`,n[7]?.());try{kn(e,r,`beforeLoad`,n[0]);let a=m({...f,search:r.search,context:r.context,...e.options.additionalContext}),o=await(typeof a?.then==`function`?yn(a,c):a);if(c.aborted)return[i,_n];let s=zn(e,t,u,xn(o,!1,u.id),n);if(s[0]!==pn)return En(e,r),[i,s];r.context={...r.context,...o}}catch(a){return En(e,r),[i,Cn(e,t,u,a,n)]}finally{r.status=h,kn(e,r,!1,n[0])}}i()}function Tn(e,t,n){if(!(!n||--n[2])){if(e._flights?.get(t.id)===n){let n=e._tx;if(n&&!n[0].signal.aborted&&!n[3].includes(t)&&n[3].some(e=>e.id===t.id)&&n[3].some(e=>e.isFetching===`beforeLoad`))return;e._flights.delete(t.id)}return n[1]}}function En(e,t){let n=t._flight;t._flight=void 0,Tn(e,t,n)?.abort()}function Dn(e,t,n,r){let i=[];for(let a of t)if(!n?.includes(a)){let t=a._flight;if(a._flight=void 0,r&&t?.[2]===1&&e._flights?.get(a.id)===t&&n?.some(e=>e.id===a.id))t[2]=0;else{let n=Tn(e,a,t);n&&i.push(n)}}for(let e of i)e.abort()}function On(e){for(let t of e){let e=t._flight;e&&e[2]++}}function kn(e,t,n,r){if(t.isFetching=n,r&&e._tx?.[0]!==r)return;let i=e.stores.byRoute.get(t.routeId),a=i?.get();a?.id===t.id&&i.set({...a,isFetching:n})}function An(e,t,n,r,i,a,o){let s=t[0];return{params:n.params,location:s,navigate:t=>e.navigate({...t,_fromLocation:s}),cause:o?`preload`:n.cause,abortController:i,preload:o,deps:n.loaderDeps,parentMatchPromise:a,context:n.context,route:r,...e.options.additionalContext}}async function jn(e,t,n,r,i,a,o){let s=o[0],c=s.signal;if(c.aborted)return _n;if(!i)return[pn,void 0];let l=n._flight;kn(e,n,`loader`,s);try{if(!l){let s=new AbortController;l=[Promise.resolve().then(()=>i(An(e,t,n,r,s,a,!!o[3]))).then(e=>xn(e,!1,r.id),e=>xn(e,!0,r.id)).then(t=>(t[0]!==pn&&e._flights?.get(n.id)===l&&(e._flights.delete(n.id),l[2]||s.abort()),t[0]===mn&&l[2]?Sn(r,t[1]):t)),s,1],(e._flights??=new Map).set(n.id,l)}return n._flight=l,n.abortController=l[1],zn(e,t,r,await yn(l[0],c),o)}catch(t){if(t!==c||!c.aborted)throw t;return En(e,n),_n}finally{kn(e,n,!1,s)}}function Mn(e,t,n){t[0]!==gn&&(e.status=`success`,e.error=void 0,t[0]===pn?(e.loaderData=t[1],e.invalid=!1,e.updatedAt=Date.now(),e.preload=n):e.invalid=!0)}function Nn(e,t,n){let r=e._cache.get(t.id);if(r!==n||e._committed.some(e=>e.id===t.id&&e._flight===t._flight))return;let i={...t,_notFound:void 0,context:{}};i._flight&&i._flight[2]++,e._cache.set(t.id,i),r&&En(e,r)}function Pn(e,t){return t[0]===mn||t[0]===hn?{...e,status:t[0]===mn?`error`:`notFound`,error:t[1],_flight:void 0}:e}function Fn(e,t,n,r,i,a,o){let s=t[1][n],c=bn(e,s),l=!!a[3],u=e._cache.get(s.id),d,f=!1,p;try{if(s.status===`success`&&(d=c.options.shouldReload,typeof d==`function`&&(d=d(An(e,t,s,c,a[0],i,l))),a[0].signal.aborted&&(p=_n)),!p)if(s.status!==`success`)f=!0;else{let t=l||s.preload?c.options.preloadStaleTime??e.options.defaultPreloadStaleTime??3e4:c.options.staleTime??e.options.defaultStaleTime??0;f=!!(s.invalid||d||d===void 0&&Date.now()-s.updatedAt>=t&&(a[5]||s.cause===`enter`||a[2].some(e=>e.routeId===s.routeId&&e.id!==s.id)))}}catch(n){s.invalid=!0,En(e,s),p=Cn(e,t,c,n,a)}let m=c.options.loader,h=typeof m==`function`,g=h?m:m?.handler,_=!l||c.options.preload!==!1,v=_&&m?e._flights?.get(s.id):void 0;v===s._flight||p?v=void 0:v&&!f&&!l&&d===void 0?f=!0:f||(v=void 0);let y=!!(m&&f&&s.status===`success`&&!l&&!a[4]&&((h?void 0:m.staleReloadMode)??e.options.defaultStaleReloadMode)!==`blocking`),b=f&&_,x=b&&!y&&(s.status!==`success`||!!m),S=n>=o?a[7]:void 0,C=c.lazyFn&&c._lazy!==!0?S:void 0;if(b&&!m&&(s.invalid=!1,s.updatedAt=Date.now()),v&&v[2]++,x){let t=s._flight;s._flight=v,Tn(e,s,t)?.abort(),n>=o&&(s.status=`pending`),S?.()}b||(s.isFetching=!1);let ee=!p&&x?jn(e,t,s,c,g,i,a).then(t=>(Mn(s,t,l),t[0]===pn&&(m&&!a[0].signal.aborted&&Nn(e,s,u),n>=o&&(s.status=`pending`)),t)):Promise.resolve(p??[pn,s.loaderData]),te=(async()=>{try{let e=un(c,void 0,C);e&&await yn(e,a[0].signal)}catch(r){if(!t[1].some((e,t)=>t<=n&&(e.status===`error`||e.status===`notFound`||e._notFound)))return[n,Cn(e,t,c,r,a)]}let r=await ee;
11x&&r[0]===pn&&s.status===`pending`&&!a[0].signal.aborted&&(s.status=`success`,S?.())})();if(r.push([n,ee,te]),!y)return ee.then(e=>Pn(s,e));let w={...s,status:`pending`,preload:!1,_flight:v};s.invalid=!1,s.isFetching=`loader`;let ne=jn(e,t,w,c,g,i,a).then(e=>(s.isFetching=!1,Mn(w,e,!1),e));return(t[2]??=[]).push([n,ne,te,w]),ne.then(e=>Pn(w,e))}async function In(e,t,n,r,i=0){let a=n?.[1][1],o=a?.routeId?t.findIndex(e=>e.routeId===a.routeId):n?.[0]??t.length-1;o<0&&(o=0);for(let n=o;n>=0;n--){let i=bn(e,t[n]);try{let e=un(i,!1);e&&await yn(e,r)}catch(e){if(e===r&&r.aborted)throw e}if(i.options.notFoundComponent)return n}return a?.routeId?o:i}function Ln(e,t){t[2]&&=(Dn(e,t[2].map(e=>e[3])),void 0)}async function Rn(e,t,n,r){let i;try{await Promise.all(e.map(e=>e[1].then(async t=>{let a=e[0];if(!(r&&a>=await r)){if(t[0]>=gn)throw[a,t];!i&&t[0]!==pn&&(i=[a,t],await Promise.all((n??[]).map(e=>{if(!(e[0]<=a))return e[1].then(t=>{if(t[0]===gn)throw[e[0],t]})})))}})))}catch(e){return e}return t??i}function zn(e,t,n,r,i,a){for(;r[0]===gn;){let o=r[1],s=o.options;try{if((s.href||o.headers.has(`Location`))&&(e.resolveRedirect(o),s.reloadDocument)||(s.reloadDocument?i[3]:i[1]>=20))return r;let n=e.buildLocation({...s,_fromLocation:t[0],_includeValidateSearch:!0}),a=n.maskedLocation??n;if(a.external){let t=o.clone();return t.options={...s},t.headers.set(`Location`,a.publicHref),e.resolveRedirect(t),i[3]?[gn,t]:[gn,t,a]}return[gn,o,n]}catch(e){r=a?[mn,e]:Sn(n,e),a=!0}}return r}async function Bn(e,t,n,r,i,a){let o=t[1],s=await i,c=!1,l=o.findIndex(e=>e._notFound),u=t=>t[1][0]===hn?In(e,o,t,r.signal):t[0],d=l<0?o.length:l;if((s?.[1][0]??0)>=gn)d=0;else if(s){d=s[2]??=await u(s);for(let e of n){if(e[0]>=d)break;let t=await e[1];if(t[0]!==pn&&t[0]<gn&&!(`loaderData`in o[e[0]])){s=[e[0],t],d=s[2]=await u(s);break}}}for(let e of n){if(e[0]>=d)break;let t=await e[2];if(t){s=t;break}}if((s?.[1][0]??0)>=gn){let n=s[1];if(n[0]!==gn||n[1].options.reloadDocument||n[2])return Ln(e,t),n;c=!0,s=[0,[mn,Error(`Too many redirects`)]]}let f=s?s[2]??await u(s):l;if(f>=0){let i=s?.[1],l=i?.[0],u=o[f],d=i?.[1],p=()=>
11{i&&(u._notFound=void 0,l===mn?u.status=`error`:(d.routeId=u.routeId,u.routeId===e.routeTree.id?(u.status=`success`,u._notFound=!0):u.status=`notFound`),u.error=d,u.isFetching=!1)};p(),i||a?.();let m=bn(e,u);try{await yn(i?Promise.resolve().then(()=>un(m,l===mn?`errorComponent`:`notFoundComponent`)):Promise.all([un(m),un(m,`notFoundComponent`)]),r.signal)}catch(n){if(n===r.signal&&r.signal.aborted)return Ln(e,t),_n}i?c&&(r.abort(),await Promise.all([...n.map(e=>e[1]),...n.map(e=>e[2]),...(t[2]??[]).map(e=>e[1])]),Ln(e,t),Dn(e,o),p()):u.status=`success`}return t}async function Vn(e,t,n,r=0,i=t[1].length){let a=t[1];for(let t=r;t<i;t++){let r=a[t],i=bn(e,r).options;if(i.head||i.scripts)try{let t={ssr:e.options.ssr,matches:a,match:r,params:r.params,loaderData:r.loaderData},[o,s]=await yn(Promise.all([i.head?.(t),i.scripts?.(t)]),n);r.meta=o?.meta,r.links=o?.links,r.headScripts=o?.scripts,r.styles=o?.styles,r.scripts=s}catch(e){if(e===n&&n.aborted)break;console.error(e)}if(r.status!==`success`||r._notFound)break}return t}async function Hn(e,t,n,r){let i=[t,n],a=r[0].signal,o;try{let t=e.stores.matches.get(),s=n.findIndex(e=>e._notFound);if(e.options.notFoundMode!==`root`&&s>=0){let t=await In(e,n,void 0,a,s);n[s]._notFound=void 0,n[t]._notFound=!0,s=t}let c=s<0?n.length:s+1,l=0;for(;l<c&&l!==s;){let e=n[l],i=r[2][l],a=t[l];if(i?.id!==e.id||i.status!==`success`||e.preload||a?.id!==e.id||a.status!==`success`||(l++,i._notFound||a._notFound))break}let u=[],d=r[6]??0,f=d?Promise.resolve(n[d-1]):void 0,p=()=>{for(let t=d;t<c&&!a.aborted;t++)f=Fn(e,i,t,u,f,r,l)},m=await wn(e,i,r,c,p,l);if(m){if(r[4]=!0,c=m[0],m[1][0]===hn){let t=await In(e,n,m,a);m[2]=t,c=Math.min(c,t+1)}else m[1][0]>=gn&&(c=0);p()}if(!a.aborted&&!r[3]){let t=[];for(let[n,r]of e._flights??[])r[2]||(e._flights.delete(n),t.push(r[1]));for(let e of t)e.abort()}let h=Bn(e,i,u,r[0],Rn(u,m,i[2]),r[7]);i[2]?.length&&(i[3]=Rn(i[2],void 0,void 0,h.then(e=>vn(e)?0:dn(n).length,()=>0))),o=await h}catch(t){if(Ln(e,i),t===a&&a.aborted)return _n;throw t}return vn(o)?o:Vn(e,o,a,r[6]===n.length?r[6]:0)}function Un(e,t){if(e._tx!==t)return;let n=t[3],r=e.stores.matches.get(),i=e._pending;for(let a=0;a<n.length;a++){let o=n[a],s=o.status===`success`&&!o._notFound,c=r[a]?.id===o.id&&r[a]?.status===`pending`;if(s&&!c)continue;let l=bn(e,o),u=s||o.invalid?0:l.options.pendingMs??e.options.defaultPendingMs,d=l.options.pendingComponent??e.options.defaultPendingComponent;if(!d||typeof u!=`number`||u===1/0){i&&(i[0]=t,i[2]=0,i[4]=!0);return}let f=l.options.pendingMinMs??e.options.defaultPendingMinMs??0,p=!1;if(i?.[1]===o.id?(p=i[0]!==t,i[0]=t):(clearTimeout(i?.[3]),e._pending=i=void 0),i||(e._pending=i=[t,o.id,c?Date.now()+f:t[4]+u,void 0,c||void 0,d]),i[4]&&!p&&i[5]===d)return;if(i[5]=d,!i[4]){clearTimeout(i[3]);let n=i[2]-Date.now();if(n>0){i[3]=setTimeout(()=>Un(e,t),n);return}i[2]=0}let m=n.map(e=>({...e,_flight:void 0}));m[a].status=`pending`;let h=i[4]=e.startTransition(()=>e.stores.setMatches(m),m).then(t=>(t&&e._pending===i&&i[4]===h&&!i[2]&&(i[2]=Date.now()+f),t));return}}function Wn(e,t){let n=e._pending;(e._tx===t||!e._tx?.[3].some(e=>e.id===n?.[1]))&&(clearTimeout(n?.[3]),e._pending=void 0)}async function Gn(e,t){let n=e._pending;if(!n)return;clearTimeout(n[3]);let r=n[2]-Date.now();if(!n[4]||r<=0||!dn(t[3]).some(e=>e.id===n[1]))return;let i;try{await yn(new Promise(e=>{i=setTimeout(e,r)}),t[0].signal)}catch{}clearTimeout(i)}function Kn(e,t){e._committed=t,e.stores.setMatches(t)}function qn(e,t,n,r){let i=e._committed,a=e._lifecycleEnd,o=e._cache;for(let e of n)e.preload=!1,r&&(e._assetEnd=void 0);let s=dn(n).length,c=new Map;{let t=Date.now(),r=new Set;for(let e=0;e<n.length;e++){let t=n[e];(e<s||t.status===`success`)&&r.add(t.id)}for(let n of[...i,...o.values()]){if(n.status!==`success`||r.has(n.id))continue;let i=bn(e,n);!i.options.loader||t-n.updatedAt>=(n.preload?i.options.preloadGcTime??e.options.defaultPreloadGcTime??3e5:i.options.gcTime??e.options.defaultGcTime??3e5)||c.set(n.id,o.get(n.id)===n?n:{...n,_flight:void 0,isFetching:!1,context:{}})}}t[3]=[],e._cache=c;let l=e._lifecycleEnd=qt(n);Kn(e,n),Dn(e,[...o.values(),...i].filter(e=>e._flight&&c.get(e.id)!==e),n),Jt(e,i,n,a,l,t)}async function Jn(e,t){let n=e._tx;for(;n&&n!==t;)t=n,await n[5],n=e._tx}
11function Yn(e,t,n){let r=n[1].options,i=n[2];if(!i)return e.navigate({...r,replace:!0,ignoreBlocker:!0});if(r.reloadDocument)return e.navigate({href:(i.maskedLocation??i).publicHref,reloadDocument:!0,replace:!0,ignoreBlocker:!0});i._redirects=t[1]+1,e._pendingLocation=i;let a=e.commitLocation({...i,viewTransition:r.viewTransition,replace:!0,resetScroll:r.resetScroll,hashScrollIntoView:r.hashScrollIntoView,ignoreBlocker:!0});return queueMicrotask(()=>{e._pendingLocation===i&&(e._pendingLocation=void 0)}),a}async function Xn(e,t,n,r,i){let a=n.map(e=>({...e}));On(a);for(let t of r)En(e,a[t[0]]),a[t[0]]=t[3];let o=[t[2],a],s;try{s=await Bn(e,o,r,t[0],i)}catch(t){throw Dn(e,a),t}if(vn(s)){Dn(e,a),s[0]===gn&&e._tx===t&&e._committed===n&&await Yn(e,t,s);return}if(await Vn(e,s,t[0].signal),e._tx!==t||e._committed!==n){Dn(e,a);return}for(let t of a){let n=e._cache.get(t.id);n?._flight&&n._flight===t._flight&&(e._cache.delete(t.id),En(e,n))}Kn(e,a),Dn(e,n,a)}async function Zn(e,t,n,r,i,a){let o=await Hn(e,t[2],t[3],[t[0],t[1],e._committed,void 0,i,n,a,r]);if(vn(o)){let n=o[0]===gn&&e._tx===t;if((!n||o[1].options.reloadDocument)&&Wn(e,t),Dn(e,t[3]),t[3]=[],!n)return;if(e._tx!==t){Wn(e,t);return}await Yn(e,t,o);return}let s=o[1];if(e._tx===t&&await Gn(e,t),e._tx!==t){Wn(e,t),Dn(e,s),Ln(e,o);return}let c=t[2],l=Gt(c,e.stores.resolvedLocation.get()),u=o[2];await e.startViewTransition(async()=>{if(e._tx===t&&await Gn(e,t),e._tx!==t){Wn(e,t),Dn(e,s),Ln(e,o);return}let n=await e.startTransition(()=>{Wn(e,t),qn(e,t,s,a),e._tx===t&&(e.emit({type:`onLoad`,...l}),e._tx===t&&e.emit({type:`onBeforeRouteMount`,...l}))},s);if(e._tx!==t){Ln(e,o);return}u?.length&&Xn(e,t,s,u,o[3]).catch(console.error),e.batch(()=>{e.stores.resolvedLocation.set(c),e.stores.status.set(`idle`),e._tx===t&&e.emit({type:`onResolved`,...l}),n&&e._tx===t&&e.emit({type:`onRendered`,...l})}),e._tx===t&&(e._commitPromise?.resolve(),e._commitPromise=void 0)})}async function Qn(e,t){let n=e._tx,r=e.stores.resolvedLocation.get(),i=r??e.stores.location.get(),a=e.latestLocation,o=e._pendingLocation,s=o?.href===a.href?o._redirects??0:0,c=e._handoff,l=c?.[0](),u=new AbortController,d=e._preflight;if(e._preflight=u,l||c?.[1](),d?.abort(),!u.signal.aborted){let t=Gt(a,r);e.emit({type:`onBeforeNavigate`,...t}),u.signal.aborted||e.emit({type:`onBeforeLoad`,...t})}if(u.signal.aborted){await Jn(e,n);return}let f=i.href===a.href,p=u,m=e.matchRoutes(a,{_controller:u});On(m);let h=l?c[1](m):void 0;if(h?p=l:l?.abort(),u.signal.aborted){Dn(e,m),await Jn(e,n);return}e._preflight=void 0;let g,_=()=>Zn(e,y,f,()=>Un(e,y),t?.sync,h),v=t?.sync?new Promise(e=>g=e):Promise.resolve().then(_),y=[p,s,a,m,Date.now(),v.then(()=>Jn(e,y))];if(e._tx=y,n){for(let t of e.stores.matches.get()){if(e._tx!==y)break;t.isFetching&&kn(e,t,!1)}n[0].abort(),Dn(e,n[3],y[3],!0)}if(e._tx!==y){Dn(e,y[3]),y[3]=[],g?.(),await Jn(e,y);return}e.batch(()=>{e.stores.status.set(`pending`),e.stores.location.set(a)}),(h||!e._committed.length&&m[0]?.status!==`success`&&!m.some(e=>e._notFound))&&Un(e,y),g?.(_()),await y[5]}async function $n(e,t){let n=e.buildLocation(t);for(let t=0;;t++){let r=e._committed,i=new AbortController,a,o,s;try{try{a=e.matchRoutes(n,{_controller:i}),On(a),o=(e._preloads??=new Map).set(i,a),s=await Hn(e,n,a,[i,t,r,!0])}finally{o&&(o=o.delete(i),Dn(e,a)),i.abort()}if(!vn(s))return s[1];if(!o||s.length<3)return;n=s[2]}catch(e){Ae(e)||console.error(e);return}}}async function er(e){let t=window.$_TSR,n=e.options.serializationAdapters;n?.length&&(t.t=new Map(n.map(e=>[e.key,e.fromSerializable])),t.buffer.forEach(e=>e())),t.initialized=!0;let r=t.router;e.ssr={manifest:r.manifest},e.options.ssr={nonce:document.querySelector(`meta[property="csp-nonce"]`)?.content};let i=r.matches,a=new AbortController,o=e._preflight;e._preflight=a,o?.abort();let s=()=>e._preflight===a,c,l,u,d;try{if(await yn(e.options.hydrate?.(r.dehydratedData),a.signal),!s())return;let t=e.history.location;u=t.href,d=t.state,e.updateLatestLocation(),c=e.latestLocation,e.stores.location.set(c),l=e.matchRoutes(c,{_controller:a})}catch(t){if(s()&&(e._preflight=void 0),a.abort(t),t!==a.signal)throw t}if(!s())return;let f=[],p,m=0,h=t=>{m=Math.min(m,t+1);let n=f.splice(t);for(let t of n)bn(e,t).options.loader&&(t.status===`success`||!t.invali
11d&&`loaderData`in t)&&Nn(e,{...t,status:`success`,error:void 0,preload:!0},e._cache.get(t.id));Dn(e,n)},g=i.length>l.length?l.findIndex(e=>e._notFound)+1:i.length,_=!1;for(let t=0;t<g;t++){let n=l[t],r=i[t];if(typeof r.i!=`string`||Pe(r.i)!==n.id){p??=t;break}m=t+1;let a=bn(e,n);if((`l`in r||r.s===`success`&&r.e===void 0&&a.options.loader)&&(n.loaderData=r.l),n.status=r.s,n.ssr=r.ssr,a.options.ssr=n.ssr,n.updatedAt=r.u,n.error=r.e,n._notFound||=r.g,n.status===`error`||n.status===`notFound`||n._notFound){_=!0,f.push(n),(n.ssr===!1||n.ssr===`data-only`)&&(p??=t);break}if(n.status===`pending`){p??=t;break}f.push(n),n.ssr===`data-only`&&(p??=t)}!_&&f.length===g&&g<l.length&&(p=g);let v=f.map(async t=>{try{let n=bn(e,t);return await(t._notFound?Promise.all([un(n),un(n,`notFoundComponent`)]):un(n,t.status===`error`?`errorComponent`:t.status===`notFound`?`notFoundComponent`:void 0)),!0}catch{return!1}}),y=0;try{for(;y<v.length&&await yn(v[y],a.signal);)y++}catch{return}if(!s())return;y<f.length&&h(y);let b=Math.max(p===f.length?f.length+1:f.length,y<v.length?y:m);for(let t=0;t<b;t++){let n=l[t],r=bn(e,n),o=l[t-1]?.context??e.options.context??{},u;if(r.options.context){try{u=n._ctx=r.options.context({deps:n.loaderDeps,params:n.params,context:o,location:c,navigate:t=>e.navigate({...t,_fromLocation:c}),buildLocation:e.buildLocation,cause:n.cause,abortController:a,preload:!1,matches:l,routeId:r.id})||{}}catch{if(!s())return;if(n.status!==`error`&&n.status!==`notFound`&&!n._notFound){p=Math.min(p??t,t),h(t);break}}if(!s())return}n.context={...o,...u,...f[t]&&i[t].b}}if(await Vn(e,[c,l],a.signal,0,m),!s())return;let x=p!==void 0||f.length<g,S=_&&f.length===g?l:f,C=x?l:S,ee;if(x&&p!==void 0){let e=C[p];ee=e.ssr===`data-only`&&m>p+1?m:void 0,C=C.slice(),C[p]={...e,status:`pending`,ssr:e.ssr===`data-only`?`data-only`:!1,_assetEnd:ee}}let te=()=>{let t=e.history.location;return x&&!e._tx&&t.href===u&&t.state===d&&e._committed===S&&S.length&&!a.signal.aborted?a:void 0},w=[te,t=>{if(e._handoff!==w)return;e._handoff=void 0;let n=S.length;if(!t||!te()||S.some((e,n)=>e.id!==t[n]?.id)){a.abort();return}let r=ee;if(r!==void 0){for(let e=n;e<r;e++)if(l[e]?.id!==t[e]?.id){r=e>p+1?e:void 0;break}}let i=S.map(e=>({...e}));r!==void 0&&(i[p]._assetEnd=r),Dn(e,t.splice(0,n,...i));for(let e=n;e<t.length;e++){let n=t[e],r=l[e];r?.id===n.id&&r._ctx&&(n._ctx=r._ctx),n.abortController=a}return n}];e._committed=S,e._lifecycleEnd=qt(S),e._handoff=w,e._preflight=void 0,e.batch(()=>{e.stores.setMatches(C),e.stores.status.set(`idle`),x||e.stores.resolvedLocation.set(e.stores.location.get())})}var tr=Symbol.asyncIterator,nr=Symbol.hasInstance,rr=Symbol.isConcatSpreadable,ir=Symbol.iterator,ar=Symbol.match,or=Symbol.matchAll,sr=Symbol.replace,cr=Symbol.search,lr=Symbol.species,ur=Symbol.split,dr=Symbol.toPrimitive,fr=Symbol.toStringTag,pr=Symbol.unscopables,mr={[tr]:0,[nr]:1,[rr]:2,[ir]:3,[ar]:4,[or]:5,[sr]:6,[cr]:7,[lr]:8,[ur]:9,[dr]:10,[fr]:11,[pr]:12},hr={0:tr,1:nr,2:rr,3:ir,4:ar,5:or,6:sr,7:cr,8:lr,9:ur,10:dr,11:fr,12:pr},gr={2:!0,3:!1,1:void 0,0:null,4:-0,5:1/0,6:-1/0,7:NaN},_r={0:`Error`,1:`EvalError`,2:`RangeError`,3:`ReferenceError`,4:`SyntaxError`,5:`TypeError`,6:`URIError`},vr={0:Error,1:EvalError,2:RangeError,3:ReferenceError,4:SyntaxError,5:TypeError,6:URIError};function k(e,t,n,r,i,a,o,s,c,l,u,d){return{t:e,i:t,s:n,c:r,m:i,p:a,e:o,a:s,f:c,b:l,o:u,l:d}}function yr(e){return k(2,void 0,e,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}var br=yr(2),xr=yr(3),Sr=yr(1),Cr=yr(0),wr=yr(4),Tr=yr(5),Er=yr(6),Dr=yr(7);function Or(e){switch(e){case`"`:return`\\"`;case`\\`:return`\\\\`;case`
12`:return`\\n`;case`\r`:return`\\r`;case`\b`:return`\\b`;case`	`:return`\\t`;case`\f`:return`\\f`;case`<`:return`\\x3C`;case`\u2028`:return`\\u2028`;case`\u2029`:return`\\u2029`;default:return}}function kr(e){let t=``,n=0,r;for(let i=0,a=e.length;i<a;i++)r=Or(e[i]),r&&(t+=e.slice(n,i)+r,n=i+1);return n===0?t=e:t+=e.slice(n),t}function Ar(e){switch(e){case`\\\\`:return`\\`;case`\\"`:return`"`;case`\\n`:return`
13`;case`\\r`:return`\r`;case`\\b`:return`\b`;case`\\t`:return`	`;case`\\f`:return`\f`;case`\\x3C`:return`<`;case`\\u2028`:return`\u2028`;case`\\u2029`:return`\u2029`;default:return e}}function jr(e){return e.replace(/(\\\\|\\"|\\n|\\r|\\b|\\t|\\f|\\u2028|\\u2029|\\x3C)/g,Ar)}var Mr=`__SEROVAL_REFS__`,Nr=new Map,Pr=new Map;function Fr(e){return Nr.has(e)}function Ir(e){return Pr.has(e)}function Lr(e){if(Fr(e))return Nr.get(e);throw new Ei(e)}function Rr(e){if(Ir(e))return Pr.get(e);throw new Di(e)}typeof globalThis<`u`?Object.defineProperty(globalThis,Mr,{value:Pr,configurable:!0,writable:!1,enumerable:!1}):typeof window<`u`?Object.defineProperty(window,Mr,{value:Pr,configurable:!0,writable:!1,enumerable:!1}):typeof self<`u`?Object.defineProperty(self,Mr,{value:Pr,configurable:!0,writable:!1,enumerable:!1}):typeof global<`u`&&Object.defineProperty(global,Mr,{value:Pr,configurable:!0,writable:!1,enumerable:!1});function zr(e){return e instanceof EvalError?1:e instanceof RangeError?2:e instanceof ReferenceError?3:e instanceof SyntaxError?4:e instanceof TypeError?5:e instanceof URIError?6:0}function Br(e){let t=_r[zr(e)];return e.name===t?e.constructor.name===t?{}:{name:e.constructor.name}:{name:e.name}}function Vr(e,t){let n=Br(e),r=Object.getOwnPropertyNames(e);for(let i=0,a=r.length,o;i<a;i++)o=r[i],o!==`name`&&o!==`message`&&(o===`stack`?t&4&&(n||={},n[o]=e[o]):(n||={},n[o]=e[o]));return n}function Hr(e){return Object.isFrozen(e)?3:Object.isSealed(e)?2:+!Object.isExtensible(e)}function Ur(e){switch(e){case 1/0:return Tr;case-1/0:return Er}return e===e?Object.is(e,-0)?wr:k(0,void 0,e,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0):Dr}function Wr(e){return k(1,void 0,kr(e),void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function Gr(e){return k(3,void 0,``+e,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function Kr(e){return k(4,e,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function qr(e,t){let n=t.valueOf();return k(5,e,n===n?t.toISOString():``,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function Jr(e,t,n){return k(36,e,n.toString(),t,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function Yr(e,t){return k(6,e,void 0,kr(t.source),t.flags,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function Xr(e,t){return k(17,e,mr[t],void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function Zr(e,t){return k(18,e,kr(Lr(t)),void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function Qr(e,t,n){return k(25,e,n,kr(t),void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function $r(e,t,n){return k(9,e,void 0,void 0,void 0,void 0,void 0,n,void 0,void 0,Hr(t),void 0)}function ei(e,t){return k(21,e,void 0,void 0,void 0,void 0,void 0,void 0,t,void 0,void 0,void 0)}function ti(e,t,n){return k(15,e,void 0,t.constructor.name,void 0,void 0,void 0,void 0,n,t.byteOffset,void 0,t.length)}function ni(e,t,n){return k(16,e,void 0,t.constructor.name,void 0,void 0,void 0,void 0,n,t.byteOffset,void 0,t.length)}function ri(e,t,n){return k(20,e,void 0,void 0,void 0,void 0,void 0,void 0,n,t.byteOffset,void 0,t.byteLength)}function ii(e,t,n){return k(13,e,zr(t),void 0,kr(t.message),n,void 0,void 0,void 0,void 0,void 0,void 0)}function ai(e,t,n){return k(14,e,zr(t),void 0,kr(t.message),n,void 0,void 0,void 0,void 0,void 0,void 0)}function oi(e,t){return k(7,e,void 0,void 0,void 0,void 0,void 0,t,void 0,void 0,void 0,void 0)}function si(e,t){return k(28,void 0,void 0,void 0,void 0,void 0,void 0,[e,t],void 0,void 0,void 0,void 0)}function ci(e,t){return k(30,void 0,void 0,void 0,void 0,void 0,void 0,[e,t],void 0,void 0,void 0,void 0)}
13function li(e,t,n){return k(31,e,void 0,void 0,void 0,void 0,void 0,n,t,void 0,void 0,void 0)}function ui(e,t){return k(32,e,void 0,void 0,void 0,void 0,void 0,void 0,t,void 0,void 0,void 0)}function di(e,t){return k(33,e,void 0,void 0,void 0,void 0,void 0,void 0,t,void 0,void 0,void 0)}function fi(e,t){return k(34,e,void 0,void 0,void 0,void 0,void 0,void 0,t,void 0,void 0,void 0)}function pi(e,t,n,r){return k(35,e,n,void 0,void 0,void 0,void 0,t,void 0,void 0,void 0,r)}var{toString:mi}=Object.prototype,hi={parsing:1,serialization:2,deserialization:3};function gi(e){return`Seroval Error (step: ${hi[e]})`}var _i=(e,t)=>gi(e),vi=class extends Error{constructor(e,t){super(_i(e,t)),this.cause=t}},yi=class extends vi{constructor(e){super(`parsing`,e)}},bi=class extends vi{constructor(e){super(`deserialization`,e)}};function xi(e){return`Seroval Error (specific: ${e})`}var Si=class extends Error{constructor(e){super(xi(1)),this.value=e}},Ci=class extends Error{constructor(e){super(xi(2))}},wi=class extends Error{constructor(e){super(xi(3))}},Ti=class extends Error{constructor(e){super(xi(4))}},Ei=class extends Error{constructor(e){super(xi(5)),this.value=e}},Di=class extends Error{constructor(e){super(xi(6))}},Oi=class extends Error{constructor(e){super(xi(7))}},ki=class extends Error{constructor(e){super(xi(8))}},Ai=class extends Error{constructor(e){super(xi(9))}},ji=class{constructor(e,t){this.value=e,this.replacement=t}},Mi=()=>{let e={p:0,s:0,f:0};return e.p=new Promise((t,n)=>{e.s=t,e.f=n}),e},Ni=()=>{let e=[],t=[],n=!0,r=!1,i=0,a={flush(e,n,r){for(r=0;r<i;r++)t[r]&&t[r][n](e)},up(t,i,a,o){for(i=0,a=e.length;i<a;i++)o=e[i],!n&&i===a-1?t[r?`return`:`throw`](o):t.next(o)},on(e,r){return n&&(r=i++,t[r]=e),a.up(e),()=>{n&&(t[r]=t[i],t[i--]=void 0)}}};return{__SEROVAL_STREAM__:!0,on(e){return a.on(e)},next(t){n&&(e.push(t),a.flush(t,`next`))},throw(i){n&&(e.push(i),a.flush(i,`throw`),n=!1,r=!1,t.length=0)},return(i){n&&(e.push(i),a.flush(i,`return`),n=!1,r=!0,t.length=0)}}},Pi=e=>t=>()=>{let n=0,r={[e](){return r},next(){if(n>t.d)return{done:!0,value:void 0};let e=n++,r=t.v[e];if(e===t.t)throw r;return{done:e===t.d,value:r}}};return r},Fi=(e,t)=>n=>()=>{let r=0,i=-1,a=!1,o=[],s=[],c={finalize(e=0,t=s.length){for(;e<t;e++)s[e].s({done:!0,value:void 0})}};n.on({next(e){let t=s.shift();t&&t.s({done:!1,value:e}),o.push(e)},throw(e){let t=s.shift();t&&t.f(e),c.finalize(),i=o.length,a=!0,o.push(e)},return(e){let t=s.shift();t&&t.s({done:!0,value:e}),c.finalize(),i=o.length,o.push(e)}});let l={[e](){return l},next(){if(i===-1){let e=r++;if(e>=o.length){let e=t();return s.push(e),e.p}return{done:!1,value:o[e]}}if(r>i)return{done:!0,value:void 0};let e=r++,n=o[e];if(e!==i)return{done:!1,value:n};if(a)throw n;return{done:!0,value:n}}};return l},Ii=e=>{let t=atob(e),n=t.length,r=new Uint8Array(n);for(let e=0;e<n;e++)r[e]=t.charCodeAt(e);return r.buffer};function Li(e){return`__SEROVAL_SEQUENCE__`in e}function Ri(e,t,n){return{__SEROVAL_SEQUENCE__:!0,v:e,t,d:n}}function zi(e){let t=[],n=-1,r=-1,i=e[ir]();for(;;)try{let e=i.next();if(t.push(e.value),e.done){r=t.length-1;break}}catch(e){n=t.length,t.push(e)}return Ri(t,n,r)}var Bi=Pi(ir);function Vi(e){return Bi(e)}var Hi={},A={},j={0:{},1:{},2:{},3:{},4:{},5:{}};function Ui(e){return`__SEROVAL_STREAM__`in e}function Wi(){return Ni()}function Gi(e){let t=Wi(),n=e[tr]();async function r(){try{let e=await n.next();e.done?t.return(e.value):(t.next(e.value),await r())}catch(e){t.throw(e)}}return r().catch(()=>{}),t}var Ki=Fi(tr,Mi);function qi(e){return Ki(e)}async function Ji(e){try{return[1,await e]}catch(e){return[0,e]}}function Yi(e,t){return{plugins:t.plugins,mode:e,marked:new Set,features:127^(t.disabledFeatures||0),refs:t.refs||new Map,depthLimit:t.depthLimit||1e3}}function Xi(e,t){e.marked.add(t)}function Zi(e,t){let n=e.refs.size;return e.refs.set(t,n),n}function Qi(e,t){let n=e.refs.get(t);return n==null?{type:0,value:Zi(e,t)}:(Xi(e,n),{type:1,value:Kr(n)})}function $i(e,t){let n=Qi(e,t);return n.type===1?n:Fr(t)?{type:2,value:Zr(n.value,t)}:n}function ea(e,t){let n=$i(e,t);if(n.type!==0)return n.value;if(t in mr)return Xr(n.value,t);throw new Si(t)}function ta(e,t){let n=Qi(e,j[t]);return n.type===1?n.value:k(26,n.value,t,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function na(e){let t=Qi(e,Hi);return t.type===1?t.value:k(27,t.value,void 0,void 0,void 0,void 0,void 0,void 0,ea(e,ir),void 0,void 0,void 0)}function ra(e){let t=Qi(e,A);return t.type===1?t.value:k(29,t.value,void 0,void 0,void 0,void 0,void 0,[ta(e,1),ea(e,tr)],void 0,void 0,void 0,void 0)}function ia(e,t,n,r){return k(n?11:10,e,void 0,void 0,void 0,r,void 0,void 0,void 0,void 0,Hr(t),void 0)}function aa(e,t,n,r){return k(8,t,void 0,void 0,void 0,void 0,{k:n,v:r},void 0,ta(e,0),void 0,void 0,void 0)}
13function oa(e,t,n){let r=new Uint8Array(n),i=``;for(let e=0,t=r.length;e<t;e++)i+=String.fromCharCode(r[e]);return k(19,t,kr(btoa(i)),void 0,void 0,void 0,void 0,void 0,ta(e,5),void 0,void 0,void 0)}function sa(e,t){return{base:Yi(e,t),child:void 0}}var ca=class{constructor(e,t){this._p=e,this.depth=t}parse(e){return M(this._p,this.depth,e)}};async function la(e,t,n){let r=[];for(let i=0,a=n.length;i<a;i++)i in n?r[i]=await M(e,t,n[i]):r[i]=0;return r}async function ua(e,t,n,r){return $r(n,r,await la(e,t,r))}async function da(e,t,n){let r=Object.entries(n),i=[],a=[];for(let n=0,o=r.length;n<o;n++)i.push(kr(r[n][0])),a.push(await M(e,t,r[n][1]));return ir in n&&(i.push(ea(e.base,ir)),a.push(si(na(e.base),await M(e,t,zi(n))))),tr in n&&(i.push(ea(e.base,tr)),a.push(ci(ra(e.base),await M(e,t,Gi(n))))),fr in n&&(i.push(ea(e.base,fr)),a.push(Wr(n[fr]))),rr in n&&(i.push(ea(e.base,rr)),a.push(n[rr]?br:xr)),{k:i,v:a}}async function fa(e,t,n,r,i){return ia(n,r,i,await da(e,t,r))}async function pa(e,t,n,r){return ei(n,await M(e,t,r.valueOf()))}async function ma(e,t,n,r){return ti(n,r,await M(e,t,r.buffer))}async function ha(e,t,n,r){return ni(n,r,await M(e,t,r.buffer))}async function ga(e,t,n,r){return ri(n,r,await M(e,t,r.buffer))}async function _a(e,t,n,r){let i=Vr(r,e.base.features);return ii(n,r,i?await da(e,t,i):void 0)}async function va(e,t,n,r){let i=Vr(r,e.base.features);return ai(n,r,i?await da(e,t,i):void 0)}async function ya(e,t,n,r){let i=[],a=[];for(let[n,o]of r.entries())i.push(await M(e,t,n)),a.push(await M(e,t,o));return aa(e.base,n,i,a)}async function ba(e,t,n,r){let i=[];for(let n of r.keys())i.push(await M(e,t,n));return oi(n,i)}async function xa(e,t,n,r){let i=e.base.plugins;if(i)for(let a=0,o=i.length;a<o;a++){let o=i[a];if(o.parse.async&&o.test(r))return Qr(n,o.tag,await o.parse.async(r,new ca(e,t),{id:n}))}}async function Sa(e,t,n,r){let[i,a]=await Ji(r);return k(12,n,i,void 0,void 0,void 0,void 0,void 0,await M(e,t,a),void 0,void 0,void 0)}function Ca(e,t,n,r,i){let a=[],o=n.on({next:n=>{Xi(this.base,t),M(this,e,n).then(e=>{a.push(ui(t,e))},e=>{i(e),o()})},throw:n=>{Xi(this.base,t),M(this,e,n).then(e=>{a.push(di(t,e)),r(a),o()},e=>{i(e),o()})},return:n=>{Xi(this.base,t),M(this,e,n).then(e=>{a.push(fi(t,e)),r(a),o()},e=>{i(e),o()})}})}async function wa(e,t,n,r){return li(n,ta(e.base,4),await new Promise(Ca.bind(e,t,n,r)))}async function Ta(e,t,n,r){let i=[];for(let n=0,a=r.v.length;n<a;n++)i[n]=await M(e,t,r.v[n]);return pi(n,i,r.t,r.d)}async function Ea(e,t,n,r){if(Array.isArray(r))return ua(e,t,n,r);if(Ui(r))return wa(e,t,n,r);if(Li(r))return Ta(e,t,n,r);let i=r.constructor;if(i!==void 0&&typeof i!=`function`){let e=Object.getPrototypeOf(r);i=e===null?void 0:e.constructor}if(i===ji)return M(e,t,r.replacement);let a=await xa(e,t,n,r);if(a)return a;switch(i){case Object:return fa(e,t,n,r,!1);case void 0:return fa(e,t,n,r,!0);case Date:return qr(n,r);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return _a(e,t,n,r);case Number:case Boolean:case String:case BigInt:return pa(e,t,n,r);case ArrayBuffer:return oa(e.base,n,r);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return ma(e,t,n,r);case DataView:return ga(e,t,n,r);case Map:return ya(e,t,n,r);case Set:return ba(e,t,n,r);default:break}if(i===Promise||r instanceof Promise)return Sa(e,t,n,r);let o=e.base.features;if(o&32&&i===RegExp)return Yr(n,r);if(o&16)switch(i){case BigInt64Array:case BigUint64Array:return ha(e,t,n,r);default:break}if(o&1&&typeof AggregateError<`u`&&(i===AggregateError||r instanceof AggregateError))return va(e,t,n,r);if(o&64&&typeof Temporal<`u`)switch(i){case Temporal.Instant:return Jr(n,0,r);case Temporal.Duration:return Jr(n,1,r);case Temporal.PlainDate:return Jr(n,2,r);case Temporal.PlainDateTime:return Jr(n,3,r);case Temporal.PlainMonthDay:return Jr(n,4,r);case Temporal.PlainTime:return Jr(n,5,r);case Temporal.PlainYearMonth:return Jr(n,6,r);case Temporal.ZonedDateTime:return Jr(n,7,r);default:break}if(r instanceof Error)return _a(e,t,n,r);if(ir in r||tr in r)return fa(e,t,n,r,!!i);throw new Si(r)}
13async function Da(e,t,n){let r=$i(e.base,n);if(r.type!==0)return r.value;let i=await xa(e,t,r.value,n);if(i)return i;throw new Si(n)}async function M(e,t,n){if(t>=e.base.depthLimit)throw new Ai(e.base.depthLimit);switch(typeof n){case`boolean`:return n?br:xr;case`undefined`:return Sr;case`string`:return Wr(n);case`number`:return Ur(n);case`bigint`:return Gr(n);case`object`:if(n){let r=$i(e.base,n);return r.type===0?await Ea(e,t+1,r.value,n):r.value}return Cr;case`symbol`:return ea(e.base,n);case`function`:return Da(e,t,n);default:throw new Si(n)}}async function Oa(e,t){try{return await M(e,0,t)}catch(e){throw e instanceof yi?e:new yi(e)}}function ka(e){return e}function Aa(e,t){for(let n=0,r=t.length;n<r;n++){let r=t[n];e.has(r)||(e.add(r),r.extends&&Aa(e,r.extends))}}function ja(e){if(e){let t=new Set;return Aa(t,e),[...t]}}function Ma(e){switch(e){case`Int8Array`:return Int8Array;case`Int16Array`:return Int16Array;case`Int32Array`:return Int32Array;case`Uint8Array`:return Uint8Array;case`Uint16Array`:return Uint16Array;case`Uint32Array`:return Uint32Array;case`Uint8ClampedArray`:return Uint8ClampedArray;case`Float32Array`:return Float32Array;case`Float64Array`:return Float64Array;case`BigInt64Array`:return BigInt64Array;case`BigUint64Array`:return BigUint64Array;default:throw new Oi(e)}}function Na(e){switch(e){case`constructor`:case`__proto__`:case`prototype`:case`__defineGetter__`:case`__defineSetter__`:case`__lookupGetter__`:case`__lookupSetter__`:return!1;default:return!0}}function Pa(e){switch(e){case tr:case rr:case fr:case ir:return!0;default:return!1}}var Fa=1e6,Ia=1e4,La=2e4;function Ra(e,t){switch(t){case 3:return Object.freeze(e);case 1:return Object.preventExtensions(e);case 2:return Object.seal(e);default:return e}}var za=1e3;function Ba(e,t){let n=t.refs||new Map;return`types`in n||Object.assign(n,{types:new Map}),{mode:e,plugins:t.plugins,refs:n,features:t.features??127^(t.disabledFeatures||0),depthLimit:t.depthLimit||za}}function Va(e){return{mode:2,base:Ba(2,e),child:void 0}}var Ha=class{constructor(e,t){this._p=e,this.depth=t}deserialize(e){return F(this._p,this.depth,e)}};function Ua(e,t){if(t<0||!Number.isFinite(t)||!Number.isInteger(t))throw new ki({t:4,i:t});if(e.refs.has(t))throw Error(`Conflicted ref id: `+t)}function Wa(e,t,n){return Ua(e.base,t),e.state.marked.has(t)&&e.base.refs.set(t,n),n}function Ga(e,t,n){return Ua(e.base,t),e.base.refs.set(t,n),n}function Ka(e,t,n){return e.mode===1?Wa(e,t,n):Ga(e,t,n)}function qa(e,t,n){if(Object.hasOwn(t,n))return t[n];throw new ki(e)}function Ja(e,t){return Ka(e,t.i,Rr(jr(t.s)))}function Ya(e,t,n){let r=n.a,i=r.length,a=Ka(e,n.i,Array(i));for(let n=0,o;n<i;n++)o=r[n],o&&(a[n]=F(e,t,o));return Ra(a,n.o),a}function Xa(e,t,n){Na(t)?e[t]=n:Object.defineProperty(e,t,{value:n,configurable:!0,enumerable:!0,writable:!0})}function Za(e,t,n,r,i){if(typeof r==`string`)Xa(n,jr(r),F(e,t,i));else{let a=F(e,t,r);switch(typeof a){case`string`:Xa(n,a,F(e,t,i));break;case`symbol`:Pa(a)&&(n[a]=F(e,t,i));break;default:throw new ki(r)}}}function Qa(e,t,n){e.base.refs.types.set(t,n)}function $a(e,t,n,r){if(e.base.refs.types.get(n)!==r)throw new ki(t)}function eo(e,t,n,r){let i=n.k;if(i.length>0)for(let a=0,o=n.v,s=i.length;a<s;a++)Za(e,t,r,i[a],o[a]);return r}function to(e,t,n){let r=Ka(e,n.i,n.t===10?{}:Object.create(null));return eo(e,t,n.p,r),Ra(r,n.o),r}function no(e,t){return Ka(e,t.i,new Date(t.s))}function ro(e,t){if(!(e.base.features&64))throw new Ci(t);let n;switch(t.c){case 0:n=Temporal.Instant.from(t.s);break;case 1:n=Temporal.Duration.from(t.s);break;case 2:n=Temporal.PlainDate.from(t.s);break;case 3:n=Temporal.PlainDateTime.from(t.s);break;case 4:n=Temporal.PlainMonthDay.from(t.s);break;case 5:n=Temporal.PlainTime.from(t.s);break;case 6:n=Temporal.PlainYearMonth.from(t.s);break;case 7:n=Temporal.ZonedDateTime.from(t.s);break;default:throw new ki(t)}return Ka(e,t.i,n)}function io(e,t){if(e.base.features&32){let n=jr(t.c);if(n.length>La)throw new ki(t);return Ka(e,t.i,new RegExp(n,t.m))}throw new Ci(t)}function ao(e,t,n){let r=Ka(e,n.i,new Set);for(let i=0,a=n.a,o=a.length;i<o;i++)r.add(F(e,t,a[i]));return r}
13function oo(e,t,n){let r=Ka(e,n.i,new Map);for(let i=0,a=n.e.k,o=n.e.v,s=a.length;i<s;i++)r.set(F(e,t,a[i]),F(e,t,o[i]));return r}function so(e,t){if(t.s.length>Fa)throw new ki(t);return Ka(e,t.i,Ii(jr(t.s)))}function co(e,t,n){let r=Ma(n.c),i=F(e,t,n.f),a=n.b??0;if(a<0||a>i.byteLength)throw new ki(n);return Ka(e,n.i,new r(i,a,n.l))}function lo(e,t,n){let r=F(e,t,n.f),i=n.b??0;if(i<0||i>r.byteLength)throw new ki(n);return Ka(e,n.i,new DataView(r,i,n.l))}function uo(e,t,n,r){if(n.p){let i=eo(e,t,n.p,{});Object.defineProperties(r,Object.getOwnPropertyDescriptors(i))}return r}function fo(e,t,n){return uo(e,t,n,Ka(e,n.i,AggregateError([],jr(n.m))))}function po(e,t,n){let r=qa(n,vr,n.s);return uo(e,t,n,Ka(e,n.i,new r(jr(n.m))))}function mo(e,t,n){let r=Mi(),i=Ka(e,n.i,r.p),a=F(e,t,n.f);return n.s?r.s(a):r.f(a),i}function ho(e,t,n){return Ka(e,n.i,Object(F(e,t,n.f)))}function go(e,t,n){let r=e.base.plugins;if(r){let i=jr(n.c);for(let a=0,o=r.length;a<o;a++){let o=r[a];if(o.tag===i)return Ka(e,n.i,o.deserialize(n.s,new Ha(e,t),{id:n.i}))}}throw new wi(n.c)}function _o(e,t){let n=Ka(e,t.i,Ka(e,t.s,Mi()).p);return Qa(e,t.s,22),n}function vo(e,t,n){let r=e.base.refs.get(n.i);if(r){$a(e,n,n.i,22),r.s(F(e,t,n.a[1]));return}throw new Ti(`Promise`)}function yo(e,t,n){let r=e.base.refs.get(n.i);if(r){$a(e,n,n.i,22),r.f(F(e,t,n.a[1]));return}throw new Ti(`Promise`)}function bo(e,t,n){return F(e,t,n.a[0]),Vi(F(e,t,n.a[1]))}function N(e,t,n){return F(e,t,n.a[0]),qi(F(e,t,n.a[1]))}function P(e,t,n){let r=Ka(e,n.i,Wi());Qa(e,n.i,31);let i=n.a,a=i.length;if(a)for(let n=0;n<a;n++)F(e,t,i[n]);return r}function xo(e,t,n){let r=e.base.refs.get(n.i);if(r){$a(e,n,n.i,31),r.next(F(e,t,n.f));return}throw new Ti(`Stream`)}function So(e,t,n){let r=e.base.refs.get(n.i);if(r){$a(e,n,n.i,31),r.throw(F(e,t,n.f));return}throw new Ti(`Stream`)}function Co(e,t,n){let r=e.base.refs.get(n.i);if(r){$a(e,n,n.i,31),r.return(F(e,t,n.f));return}throw new Ti(`Stream`)}function wo(e,t,n){F(e,t,n.f)}function To(e,t,n){F(e,t,n.a[1])}function Eo(e,t,n){let r=Ka(e,n.i,Ri([],n.s,n.l));for(let i=0,a=n.a.length;i<a;i++)r.v[i]=F(e,t,n.a[i]);return r}function F(e,t,n){if(t>e.base.depthLimit)throw new Ai(e.base.depthLimit);switch(t+=1,n.t){case 2:return qa(n,gr,n.s);case 0:return Number(n.s);case 1:return jr(String(n.s));case 3:if(String(n.s).length>Ia)throw new ki(n);return BigInt(n.s);case 4:return e.base.refs.get(n.i);case 18:return Ja(e,n);case 9:return Ya(e,t,n);case 10:case 11:return to(e,t,n);case 5:return no(e,n);case 6:return io(e,n);case 7:return ao(e,t,n);case 8:return oo(e,t,n);case 19:return so(e,n);case 16:case 15:return co(e,t,n);case 20:return lo(e,t,n);case 14:return fo(e,t,n);
13case 13:return po(e,t,n);case 12:return mo(e,t,n);case 17:return qa(n,hr,n.s);case 21:return ho(e,t,n);case 25:return go(e,t,n);case 22:return _o(e,n);case 23:return vo(e,t,n);case 24:return yo(e,t,n);case 28:return bo(e,t,n);case 30:return N(e,t,n);case 31:return P(e,t,n);case 32:return xo(e,t,n);case 33:return So(e,t,n);case 34:return Co(e,t,n);case 27:return wo(e,t,n);case 29:return To(e,t,n);case 35:return Eo(e,t,n);case 36:return ro(e,n);default:throw new Ci(n)}}function Do(e,t){try{return F(e,0,t)}catch(e){throw new bi(e)}}function Oo(e,t){return Do(Va({plugins:ja(t.plugins),refs:t.refs,features:t.features,disabledFeatures:t.disabledFeatures,depthLimit:t.depthLimit}),e)}async function ko(e,t={}){let n=sa(1,{plugins:ja(t.plugins),disabledFeatures:t.disabledFeatures});return{t:await Oa(n,e),f:n.base.features,m:Array.from(n.base.marked)}}function Ao(e){return ka({tag:`$TSR/t/`+e.key,test:e.test,parse:{sync(t,n){return{v:n.parse(e.toSerializable(t))}},async async(t,n){return{v:await n.parse(e.toSerializable(t))}},stream(t,n){return{v:n.parse(e.toSerializable(t))}}},serialize:void 0,deserialize(t,n){return e.fromSerializable(n.deserialize(t.v))}})}var jo=ka({tag:`$TSR/Error`,test(e){return e instanceof Error},parse:{sync(e,t){return{message:t.parse(e.message)}},async async(e,t){return{message:await t.parse(e.message)}},stream(e,t){return{message:t.parse(e.message)}}},serialize(e,t){return`new Error(`+t.serialize(e.message)+`)`},deserialize(e,t){return Error(t.deserialize(e.message))}}),Mo=class{constructor(e,t){this.stream=e,this.hint=t?.hint??`binary`}};function No(e){let t=[];for(let n=0;n<e.length;n+=32768)t.push(String.fromCharCode.apply(null,e.subarray(n,n+32768)));return btoa(t.join(``))}var Po=new TextDecoder(`utf-8`,{fatal:!0,ignoreBOM:!0});function Fo(e){try{return`t`+Po.decode(e)}catch{return`b`+No(e)}}function Io(e,t,n){n?.throwIfAborted();let r=Wi(),i=e.getReader(),a=!0,o=()=>{a=!1,n?.removeEventListener(`abort`,c),i.releaseLock()},s=e=>a?(i.cancel(e).catch(()=>{}),o(),!0):!1,c=()=>{s(n.reason)&&r.throw(n.reason)};return n?.addEventListener(`abort`,c),(async()=>{try{for(;a;){let{done:e,value:n}=await i.read();if(!a)return;if(e){o(),r.return(void 0);return}r.next(t(n))}}catch(e){s(e)&&r.throw(e)}})(),[r,s]}function Lo(e){return ka({tag:`tss/RawStream`,test:e=>e instanceof Mo,parse:{async:async(t,n)=>{let r=await n.parse(t.hint===`text`),[i]=Io(t.stream,t.hint===`text`?Fo:No,e);return{text:r,stream:await n.parse(i)}}},serialize:void 0,deserialize:void 0})}var Ro=Lo(),zo={},Bo=e=>new ReadableStream({start(t){e.on({next(e){try{t.enqueue(e)}catch{}},throw(e){t.error(e)},return(){try{t.close()}catch{}}})}}),Vo=ka({tag:`seroval-plugins/web/ReadableStreamFactory`,test(e){return e===zo},parse:{sync(){return zo},async async(){return await Promise.resolve(zo)},stream(){return zo}},serialize(){return Bo.toString()},deserialize(){return zo}});async function Ho(e,t){try{let n=await t.read();n.done?(e.return(n.value),t.releaseLock()):(e.next(n.value),await Ho(e,t))}catch(t){e.throw(t)}}function Uo(e){e.cancel().catch(()=>{}),e.releaseLock()}function Wo(e){let t=Wi(),n=e.getReader(),r=Uo.bind(null,n);return Ho(t,n).catch(r),[t,r]}var Go=ka({tag:`seroval/plugins/web/ReadableStream`,extends:[Vo],test(e){return typeof ReadableStream>`u`?!1:e instanceof ReadableStream},parse:{sync(e,t){return{factory:t.parse(zo),stream:t.parse(Wi())}},async async(e,t){return{factory:await t.parse(zo),stream:await t.parse(Wo(e)[0])}},stream(e,t){let[n,r]=Wo(e);return t.addCleanup(r),{factory:t.parse(zo),stream:t.parse(n)}}},serialize(e,t){return`(`+t.serialize(e.factory)+`)(`+t.serialize(e.stream)+`)`},deserialize(e,t){return Bo(t.deserialize(e.stream))}});function Ko(e){return[jo,e?Lo(e):Ro,Go]}[...Ko()];function qo(e){return ka({tag:`tss/RawStream`,test:()=>!1,parse:{},serialize:void 0,deserialize(t,n){return e(n.deserialize(t.streamId))}})}function Jo(e){return[...(Oe()?.serializationAdapters)?.map(Ao)??[],...e]}function Yo(e){return Jo(Ko(e))}var Xo=new TextDecoder,Zo=new Uint8Array,Qo=new ByteLengthQueuingStrategy({highWaterMark:0});function $o(e){let t=e.getReader(),n=new Map,r=0,i,a,o=()=>{i?.(),i=void 0},s=(e,t)=>{let n=e[1];e[1]=!1,n&&(t===1?n.close():n.error(t[0]))},c=new ReadableStream({start(e){a=e},pull:o,cancel(e){let i=[e===void 0?Error(`Framed response cancelled`):e];r=i,o(),t.cancel(e).catch(()=>{});for(let e of n.values())s(e,i)}});function l(e){let t=n.get(e);if(t)return t;if(n.size>=1024)throw Error(`Too many raw streams`);let i,a=[new ReadableStream({start(e){i=e},cancel(){a[1]!==!1&&(a[1]=null)}},Qo),i];return n.set(e,a),r!==0&&s(a,r),a}function u(e){if(e===0||e>>>0!==e)throw RangeError(`Invalid raw stream ID`);return l(e)[0]}return(async()=>{let e=Zo,o=0;async function c(){for(;o===e.byteLength;){e=Zo,o=0;let n=await t.read();if(r!==0||n.done)return!1;e=n.value}return!0}async function u(t,n){if(t===0)return Zo;if(!await c()){if(n)return;throw Error(`Incomplete frame`)}if(e.byteLength-o>=t){let n=e.subarray(o,o+t);return o+=t,o===e.byteLength&&(e=Zo,o=0),n}let r=new Uint8Array(t),i=0;for(;i<t;){if(!await c())throw Error(`Incomplete frame`);let n=Math.min(t-i,e.byteLength-o);r.set(e.subarray(o,o+n),i),o+=n,i+=n}return o===e.byteLength&&(e=Zo,o=0),r}try{for(;r===0;){let e=await u(9,!0);if(r!==0)return;if(!e){for(let e of n.values())if(e[1])throw Error(`Incomplete raw 
13stream`);r=1,a.close();return}let t=e[0],o=(e[1]<<24|e[2]<<16|e[3]<<8|e[4])>>>0,c=(e[5]<<24|e[6]<<16|e[7]<<8|e[8])>>>0;if(e=Zo,t>3||t===0!=(o===0)||c>16777216||t===2&&c!==0)throw Error(`Invalid frame`);let d=t===0?void 0:l(o);if(d?.[1]===!1)throw Error(`Raw stream already ended`);let f=await u(c);if(r!==0)return;if(!d){let e=Xo.decode(f);for(f=Zo,a.enqueue(e);r===0&&a.desiredSize<=0;)await new Promise(e=>{i=e});continue}if(t===1){let e=d[1];if(e){if(-e.desiredSize>134217728){e.error(Error(`Raw stream ${o} has too many unread bytes`)),d[1]=null,f=Zo;continue}let t=f.byteLength*4<f.buffer.byteLength?f.slice():f;f=Zo,e.enqueue(t)}}else s(d,t===2?1:[Error(Xo.decode(f))])}}catch(e){if(r===0){let i=[e];r=i,t.cancel(e).catch(()=>{}),a.error(e);for(let e of n.values())s(e,i)}}finally{e=Zo,t.releaseLock()}})(),[c,u]}var es=Symbol.for(`TSR_DEFERRED_PROMISE`);function ts(e,t){let n=e;return n[es]?n:(n[es]={status:`pending`},n.then(e=>{n[es].status=`success`,n[es].data=e}).catch(e=>{n[es].status=`error`,n[es].error={data:(t?.serializeError??Wt)(e),__isServerError:!0}}),n)}function ns(e,t){if(e)return typeof e==`string`?e:e[t]}function rs(e){return e?.scriptFormat??`module`}function is(e,t,n){let r=as(t),i=ns(n,`script`)??r.crossOrigin;return{...rs(e)===`iife`?{rel:`preload`,as:`script`}:{rel:`modulepreload`},href:r.href,...i?{crossOrigin:i}:{}}}function as(e){return typeof e==`string`?{href:e,crossOrigin:void 0}:e}function os(e,t){if(t.length===0)return;if(t.length===1){e.push(t[0]);return}let n=new Set;for(let r of t){let t=JSON.stringify(r);n.has(t)||(n.add(t),e.push(r))}}function ss(e){return typeof e==`string`?{href:e,crossOrigin:void 0}:e}function cs(e,t,n,r){let i=fn(e),a=[],o=[];for(let e of i)for(let t of Array.isArray(e.scripts)?e.scripts:[]){if(!t)continue;let{children:e,...i}=t;a.push({tag:`script`,attrs:{...i,...r,nonce:n},children:e})}if(t)for(let e of i)for(let r of t.routes[e.routeId]?.scripts??[])o.push({tag:`script`,attrs:{...r.attrs,nonce:n},children:r.children});return[a,o]}function ls([e,t],n){return n?[...n.before,...e,...t,n.boundary]:[...e,...t]}var us=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=e=>{this.originalIndex=e,this._branch=void 0;let t=this.options,n=!t?.path&&!t?.id;this.parentRoute=this.options.getParentRoute?.(),n?this._path=Tt:this.parentRoute||Ie();let r=n?Tt:t?.path;r&&r!==`/`&&(r=g(r));let i=t?.id||r,a=n?Tt:ne((this.parentRoute.id===`__root__`?``:this.parentRoute.id)+`/`+(i??``));r===`__root__`&&(r=`/`);let o=a===`__root__`?`/`:r===void 0?this.parentRoute.fullPath:ne(this.parentRoute.fullPath+`/`+r);this._path=r,this._id=a,this._fullPath=o,this._to=te(o)},this.addChildren=e=>this._addFileChildren(e),this._addFileChildren=e=>(Array.isArray(e)&&(this.children=e),typeof e==`object`&&e&&(this.children=Object.values(e)),this),this._addFileTypes=()=>this,this.updateLoader=e=>(Object.assign(this.options,e),this),this.update=e=>(Object.assign(this.options,e),this),this.lazy=e=>(this.lazyFn=e,this),this.redirect=e=>je({from:this.fullPath,...e}),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw Error(`Route cannot have both an 'id' and a 'path' option.`)}},ds=class extends us{constructor(e){super(e)}};function fs(e){return e}var ps;function ms(e,t,n){try{return Oo(e,t)}catch(e){throw gs(n),e}}async function hs(e){e.length>0&&(await Promise.allSettled(e),e.length=0)}function gs(e){for(let t of e)t.catch(()=>{});e.length=0}var _s=Object.prototype.hasOwnProperty;function vs(e){for(let t in e)if(_s.call(e,t))return!0;return!1}async function ys(e,t,n){ps||=Yo();let r=t[0],i=r.fetch??n,a=r.data instanceof FormData,o=new Headers(r.headers);if(o.set(`x-tsr-serverFn`,`true`),a||o.set(`accept`,`${De}, application/x-ndjson, application/json`),r.method===`GET`){if(a)throw Error(`FormData is not supported with GET requests`);let t=await bs(r);if(t!==void 0){let n=_t({payload:t});e.includes(`?`)?e+=`&${n}`:e+=`?${n}`}}let s;return r.method===`POST`&&(s=await Ss(r),typeof s==`string`&&o.set(`content-type`,`application/json`)),Cs(()=>i(e,{method:r.method,headers:o,signal:r.signal,body:s}))}async function bs(e){let t;return e.data!==void 0&&(t={data:e.data}),e.context&&vs(e.context)&&((t??={}).context=e.context),t?xs(t,e.signal):void 0}async function xs(e,t){t?.throwIfAborted();let n;try{n=await ko(e,{plugins:t?Yo(t):ps})}finally{t?.throwIfAborted()}return JSON.stringify(n)}async function Ss(e){if(e.data instanceof FormData){let t;return e.context&&vs(e.context)&&(t=await xs(e.context,e.signal)),t!==void 0&&e.data.set(Te,t),e.data}return bs(e)}async function Cs(e){let t;try{t=await e()}catch(e){if(e instanceof Response)t=e;else throw e}if(t.headers.get(`x-tss-raw`)===`true`)return t;let n=t.headers.get(`content-type`);if(n||Ie(),t.headers.get(`x-tss-serialized`)){let e;if(n.includes(`application/x-tss-framed`)){let r=/;\s*v=(\d+)/.exec(n)?.[1];if(r&&+r!=1)throw Error(`Unsupported framed protocol version ${r}`);if(!t.body)throw Error(`No response body for framed response`);let[i,a]=$o(t.body);e=await ws(i,[qo(a),...ps])}else if(n.includes(`application/json`)){let n=await t.json(),r=[];e=ms(n,{plugins:ps},r),await hs(r)}if(e||Ie(),e instanceof Error)throw e;return e}if(n.includes(`application/json`)){let e=await t.json(),n=Ne(e);if(n)throw n;if(Ae(e))throw e;return e}if(!t.ok)throw Error(await t.text());return t}
13async function ws(e,t){let n=e.getReader(),r={refs:new Map,plugins:t},i=e=>{n.cancel(e).catch(()=>{})},a,o=[];try{let e=await n.read();if(e.done)throw Error(`Stream ended before first object`);a=ms(JSON.parse(e.value),r,o)}catch(e){throw i(e),n.releaseLock(),e}return(async()=>{let e=[];try{for(;;){let t=await n.read();if(t.done)return;ms(JSON.parse(t.value),r,e),gs(e)}}catch(e){i(e),console.error(`Stream processing error:`,e)}finally{n.releaseLock()}})(),await hs(o),a}function Ts(e){let t=`/_serverFn/`+e;return Object.assign((...e)=>{let n=Oe()?.serverFns?.fetch;return ys(t,e,n??fetch)},{url:t,serverFnMeta:{id:e},[Ee]:!0})}var Es=fs({key:`$TSS/serverfn`,test:e=>typeof e!=`function`||!(Ee in e)?!1:!!e[Ee],toSerializable:({serverFnMeta:e})=>({functionId:e.id}),fromSerializable:({functionId:e})=>Ts(e)}),I=e(r(),1),Ds=I.use,Os=I.useLayoutEffect,L=n();function ks({promise:e}){if(Ds)return Ds(e);let t=ts(e);if(t[es].status===`pending`)throw t;if(t[es].status===`error`)throw t[es].error;return t[es].data}function As(e){let t=(0,L.jsx)(js,{...e});return e.fallback?(0,L.jsx)(I.Suspense,{fallback:e.fallback,children:t}):t}function js(e){let t=ks(e);return e.children(t)}var Ms=class extends I.Component{constructor(...e){super(...e),this.state={error:0},this.reset=()=>{this.setState({error:0})}}static getDerivedStateFromProps(e,t){let n=e.getResetKey();return t.error&&t.resetKey!==n?{resetKey:n,error:0}:{resetKey:n}}static getDerivedStateFromError(e){return{error:[e]}}componentDidCatch(e,t){this.props.onCatch?.(e,t)}render(){let e=this.state.error;return e?I.createElement(this.props.errorComponent??Ns,{error:e[0],reset:this.reset}):this.props.children}};function Ns({error:e}){let[t,n]=I.useState(!1);return(0,L.jsxs)(`div`,{style:{padding:`.5rem`,maxWidth:`100%`},children:[(0,L.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:`.5rem`},children:[(0,L.jsx)(`strong`,{style:{fontSize:`1rem`},children:`Something went wrong!`}),(0,L.jsx)(`button`,{style:{appearance:`none`,fontSize:`.6em`,border:`1px solid currentColor`,padding:`.1rem .2rem`,fontWeight:`bold`,borderRadius:`.25rem`},onClick:()=>n(e=>!e),children:t?`Hide Error`:`Show Error`})]}),(0,L.jsx)(`div`,{style:{height:`.25rem`}}),t?(0,L.jsx)(`div`,{children:(0,L.jsx)(`pre`,{style:{fontSize:`.7em`,border:`1px solid red`,borderRadius:`.25rem`,padding:`.3rem`,color:`red`,overflow:`auto`},children:e?.message?(0,L.jsx)(`code`,{children:e.message}):null})}):null]})}var Ps=I.createContext(void 0),Fs=I.createContext(void 0);function Is({update:e,notify:t,unwatched:n}){return{link:r,unlink:i,propagate:a,checkDirty:o,shallowPropagate:s};function r(e,t,n){let r=t.depsTail;if(r!==void 0&&r.dep===e)return;let i=r===void 0?t.deps:r.nextDep;if(i!==void 0&&i.dep===e){i.version=n,t.depsTail=i;return}let a=e.subsTail;if(a!==void 0&&a.version===n&&a.sub===t)return;let o=t.depsTail=e.subsTail={version:n,dep:e,sub:t,prevDep:r,nextDep:i,prevSub:a,nextSub:void 0};i!==void 0&&(i.prevDep=o),r===void 0?t.deps=o:r.nextDep=o,a===void 0?e.subs=o:a.nextSub=o}function i(e,t=e.sub){let r=e.dep,i=e.prevDep,a=e.nextDep,o=e.nextSub,s=e.prevSub;return a===void 0?t.depsTail=i:a.prevDep=i,i===void 0?t.deps=a:i.nextDep=a,o===void 0?r.subsTail=s:o.prevSub=s,s===void 0?(r.subs=o)===void 0&&n(r):s.nextSub=o,a}function a(e){let n=e.nextSub,r;top:do{let i=e.sub,a=i.flags;if(a&60?a&12?a&4?!(a&48)&&c(e,i)?(i.flags=a|40,a&=1):a=0:i.flags=a&-9|32:a=0:i.flags=a|32,a&2&&t(i),a&1){let t=i.subs;if(t!==void 0){let i=(e=t).nextSub;i!==void 0&&(r={value:n,prev:r},n=i);continue}}if((e=n)!==void 0){n=e.nextSub;continue}for(;r!==void 0;)if(e=r.value,r=r.prev,e!==void 0){n=e.nextSub;continue top}break}while(!0)}function o(t,n){let r,i=0,a=!1;top:do{let o=t.dep,c=o.flags;if(n.flags&16)a=!0;else if((c&17)==17){if(e(o)){let e=o.subs;e.nextSub!==void 0&&s(e),a=!0}}else if((c&33)==33){(t.nextSub!==void 0||t.prevSub!==void 0)&&(r={value:t,prev:r}),t=o.deps,n=o,++i;continue}if(!a){let e=t.nextDep;if(e!==void 0){t=e;continue}}for(;i--;){let i=n.subs,o=i.nextSub!==void 0;if(o?(t=r.value,r=r.prev):t=i,a){if(e(n)){o&&s(i),n=t.sub;continue}a=!1}else n.flags&=-33;n=t.sub;let c=t.nextDep;if(c!==void 0){t=c;continue top}}return a}while(!0)}function s(e){do{let n=e.sub,r=n.flags;(r&48)==32&&(n.flags=r|16,(r&6)==2&&t(n))}while((e=e.nextSub)!==void 0)}function c(e,t){let n=t.depsTail;for(;n!==void 0;){if(n===e)return!0;n=n.prevDep}return!1}}function Ls(e,t,n){let r=typeof e==`object`,i=r?e:void 0;return{next:(r?e.next:e)?.bind(i),error:(r?e.error:t)?.bind(i),complete:(r?e.complete:n)?.bind(i)}}var Rs=[],zs=0,{link:Bs,unlink:Vs,propagate:Hs,checkDirty:Us,shallowPropagate:Ws}=Is({update(e){return e._update()},notify(e){Rs[Ks++]=e,e.flags&=-3},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=17,Xs(e))}}),Gs=0,Ks=0,qs,Js=0;function Ys(e){try{++Js,e()}finally{--Js||Zs()}}function Xs(e){let t=e.depsTail,n=t===void 0?e.deps:t.nextDep;for(;n!==void 0;)n=Vs(n,e)}function Zs(){if(!(Js>0)){for(;Gs<Ks;){let e=Rs[Gs];Rs[Gs++]=void 0,e.notify()}Gs=0,Ks=0}}function Qs(e,t){let n=typeof e==`function`,r=e,i={_snapshot:n?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:+!n,get(){return qs!==void 0&&Bs(i,qs,zs),i._snapshot},subscribe(e){let t=Ls(e),n={current:!1},r=$s(()=>{i.get(),n.current?(qs=void 0,t.next?.(i._snapshot)):n.current=!0});return{unsubscribe:()=>{r.stop()}}},_update(e){let a=qs,o=t?.compare??Object.is;if(n)qs=i,++zs,i.depsTail=void 0;else if(e===void 0)return!1;
13n&&(i.flags=5);try{let t=i._snapshot,a=typeof e==`function`?e(t):e===void 0&&n?r(t):e;return t===void 0||!o(t,a)?(i._snapshot=a,!0):!1}finally{qs=a,n&&(i.flags&=-5),Xs(i)}}};return n?(i.flags=17,i.get=function(){let e=i.flags;if(e&16||e&32&&Us(i.deps,i)){if(i._update()){let e=i.subs;e!==void 0&&Ws(e)}}else e&32&&(i.flags=e&-33);return qs!==void 0&&Bs(i,qs,zs),i._snapshot}):i.set=function(e){if(i._update(e)){let e=i.subs;e!==void 0&&(Hs(e),Ws(e),Zs())}},i}function $s(e){let t=()=>{let t=qs;qs=n,++zs,n.depsTail=void 0,n.flags=6;try{return e()}finally{qs=t,n.flags&=-5,Xs(n)}},n={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:6,notify(){let e=this.flags;e&16||e&32&&Us(this.deps,this)?t():this.flags=2},stop(){this.flags=0,this.depsTail=void 0,Xs(this)}};return t(),n}var ec={};function tc(e,t){let n=I.useRef();return r=>{let a=e?.select?e.select(r):r;return e?.structuralSharing??t.options.defaultStructuralSharing?n.current=i(n.current,a):a}}function nc(e){let t=w(),n=I.useContext(e.from?Fs:Ps),r=e.from??n,i=t.stores.getMatchStore(r),a=tc(e,t),o=C(i,e=>e?a(e):ec);if(o!==ec)return o;(e.shouldThrow??!0)&&Ie()}function rc(e){return nc({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function ic(e){let{select:t,...n}=e;return nc({...n,select:e=>t?t(e.loaderDeps):e.loaderDeps})}function ac(e){return nc({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:t=>{let n=e.strict===!1?t.params:t._strictParams;return e.select?e.select(n):n}})}function oc(e){return nc({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.search):t.search})}function sc(e){let t=w();return I.useCallback(n=>t.navigate({...n,from:n.from??e?.from}),[e?.from,t])}function cc(e){return nc({...e,select:t=>e.select?e.select(t.context):t.context})}var lc=class extends us{constructor(e){super(e),this.useMatch=e=>nc({...e,from:this.id}),this.useRouteContext=e=>cc({...e,from:this.id}),this.useSearch=e=>oc({...e,from:this.id}),this.useParams=e=>ac({...e,from:this.id}),this.useLoaderDeps=e=>ic({...e,from:this.id}),this.useLoaderData=e=>rc({...e,from:this.id}),this.useNavigate=()=>sc({from:this.fullPath}),this.Link=I.forwardRef((e,t)=>(0,L.jsx)(re,{ref:t,from:this.fullPath,...e}))}};function uc(e){return new lc(e)}function dc(){return e=>pc(e)}var fc=class extends ds{constructor(e){super(e),this.useMatch=e=>nc({...e,from:this.id}),this.useRouteContext=e=>cc({...e,from:this.id}),this.useSearch=e=>oc({...e,from:this.id}),this.useParams=e=>ac({...e,from:this.id}),this.useLoaderDeps=e=>ic({...e,from:this.id}),this.useLoaderData=e=>rc({...e,from:this.id}),this.useNavigate=()=>sc({from:this.fullPath}),this.Link=I.forwardRef((e,t)=>(0,L.jsx)(re,{ref:t,from:this.fullPath,...e}))}};function pc(e){return new fc(e)}function R(e){return e=>{let t=uc(e);return t.isRoot=!1,t}}function z(e,t){let n,r,i,a=()=>(n||=(i=void 0,e().then(e=>{n=void 0,o.preload=void 0,r=e[t??`default`]}).catch(e=>{n=void 0,i=e})),n),o=function(e){if(i){if(s(i)&&typeof sessionStorage<`u`){let e=`tanstack_router_reload:${i.message}`;if(!sessionStorage.getItem(e))throw sessionStorage.setItem(e,`1`),window.location.reload(),new Promise(()=>{})}throw i}if(!r)if(Ds)Ds(a());else throw a();return I.createElement(r,e)};return o.preload=a,o}function mc(e){let t=w(),n=`not-found-${C(t.stores.location,e=>e.pathname)}-${C(t.stores.status)}`;return(0,L.jsx)(Ms,{getResetKey:()=>n,onCatch:(t,n)=>{if(Ae(t))e.onCatch?.(t,n);else throw t},errorComponent:({error:t})=>{if(Ae(t))return e.fallback?.(t);throw t},children:e.children})}function hc(){return(0,L.jsx)(`p`,{children:`Not Found`})}function gc(e,t,n){return t.options.notFoundComponent?(0,L.jsx)(t.options.notFoundComponent,{...n}):e.options.defaultNotFoundComponent?(0,L.jsx)(e.options.defaultNotFoundComponent,{...n}):(0,L.jsx)(hc,{})}function _c(e,t){let n=t?.options.pendingComponent??e.options.defaultPendingComponent;return n?(0,L.jsx)(n,{}):null}var vc=(e,t)=>e[0]===t[0]&&e[1]===t[1],yc=(e,t,n)=>!t.isRoot||t.options.shellComponent||t.options.wrapInSuspense||n===!1||n===`data-only`||!e.ssr,bc=I.memo(function({routeId:e}){let t=w();return(0,L.jsx)(xc,{router:t,match:C(t.stores.getMatchStore(e))})});function xc({router:e,match:t}){let n=e.routesById[t.routeId],r=_c(e,n),i=n.options.errorComponent??e.options.defaultErrorComponent,a=n.options.onCatch??e.options.defaultOnCatch,o=n.isRoot?n.options.notFoundComponent??e.options.notFoundRoute?.options.component:n.options.notFoundComponent,s=t.ssr===!1||t.ssr===`data-only`,c=yc(e,n,t.ssr)&&(n.options.wrapInSuspense??r??(n.options.errorComponent?.preload||s)),l=(0,L.jsx)(Sc,{match:t});s&&(l=(0,L.jsx)(f,{fallback:r,children:l})),o&&(l=(0,L.jsx)(mc,{fallback:e=>{if(e.routeId??=t.routeId,e.routeId!==t.routeId)throw e;return I.createElement(o,e)},children:l})),i&&(l=(0,L.jsx)(Ms,{getResetKey:()=>t,errorComponent:i,onCatch:(e,n)=>{if(Ae(e))throw e.routeId??=t.routeId,e;a?.(e,n)},children:l})),c&&(l=(0,L.jsx)(I.Suspense,{fallback:r,children:l}));let u=n.isRoot?n.options.shellComponent:void 0;return(0,L.jsx)(Ps.Provider,{value:t.routeId,children:u?(0,L.jsxs)(u,{children:[l,null]}):(0,L.jsxs)(L.Fragment,{children:[l,null]})})}var Sc=I.memo(function({match:e}){let t=w(),n=e.routeId,r=t.routesById[n],i=I.useMemo(()=>{let i=(r.options.remountDeps??t.options.defaultRemountDeps)?.({routeId:n,loaderDeps:e.loaderDeps,params:e._strictParams,search:e._strictSearch});return i?JSON.stringify(i):void 0},[n,e.loaderDeps,e._strictParams,e._strictSearch,r.options.remountDeps,t.options.defaultRemountDeps]),a=I.useMemo(()=>{let e=r.options.component??t.options.defaultComponent;return e?(0,L.jsx)(e,{},i):(0,L.jsx)(Cc,{})},[i,r.options.component,t.options.defaultComponent]);
13if(e.status===`pending`){if(t.ssr&&!yc(t,r,e.ssr))return a;if(t._tx)throw t._tx[5];return _c(t,r)}if(e.status===`notFound`)return gc(t,r,e.error);if(e.status===`error`)throw e.error;return a}),Cc=I.memo(function(){let e=w(),t=I.useContext(Ps),n,r,i;{let a=e.stores.getMatchStore(t);[n,r]=C(a,e=>[!!e._notFound,e.error],{compare:vc}),i=C(e.stores.ids,e=>e[e.indexOf(t)+1])}if(n)return gc(e,e.routesById[t],r);if(!i)return null;let a=(0,L.jsx)(bc,{routeId:i});return t===`__root__`?(0,L.jsx)(I.Suspense,{fallback:_c(e),children:a}):a});function wc(e,t){let n=e[1];e.length=0,n?.(t)}function Tc({t:e}){let t=w(),n=t._rendered??=[];return t.startTransition=(r,i)=>new Promise(a=>{wc(n,!1),n.push(i,a),e(t),I.startTransition(r)}),Os(()=>{let e=t.history.subscribe(t.load);t.updateLatestLocation();let r=t.latestLocation,i=t.buildLocation({to:r.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});if(te(r.publicHref)!==te(i.publicHref))return t.commitLocation({...i,replace:!0,ignoreBlocker:!0}),e;let a=t.stores.resolvedLocation.get();return a?.href===r.href&&a.state.__TSR_key===r.state.__TSR_key?n.push(t.stores.matches.get(),e=>{e&&t.emit({type:`onRendered`,...Gt(a,a)})}):t._tx||t.load({sync:!0}).catch(console.error),e},[t,t.history]),null}function Ec(){let e=w(),t=e.routesById[Tt],n=_c(e,t),r=(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(Tc,{t:I.useState()[1]}),e.ssr?(0,L.jsx)(Dc,{}):(0,L.jsx)(I.Suspense,{fallback:n,children:(0,L.jsx)(Dc,{})})]});return e.options.InnerWrap?(0,L.jsx)(e.options.InnerWrap,{children:r}):r}function Dc(){let e=w(),t=e._rendered,n=C(e.stores.matches,e=>t[0]??e),r=n[0],i=r?.routeId;Os(()=>{t[0]===n&&wc(t,!0)},[t,n]);let a=i?(0,L.jsx)(bc,{routeId:i}):null;return e.options.disableGlobalCatchBoundary?a:(0,L.jsx)(Ms,{getResetKey:()=>r,onCatch:void 0,children:a})}var Oc=e=>({createMutableStore:Qs,createReadonlyStore:Qs,batch:Ys}),kc=e=>new Ac(e),Ac=class extends Yt{constructor(e){super(e,Oc)}};function jc({router:e,children:t,...n}
13){a(n)&&e.update({...e.options,...n,context:{...e.options.context,...n.context}});let r=(0,L.jsx)(y.Provider,{value:e,children:t});return e.options.Wrap?(0,L.jsx)(e.options.Wrap,{children:r}):r}function Mc({router:e,...t}){return(0,L.jsx)(jc,{router:e,...t,children:(0,L.jsx)(Ec,{})})}function Nc(e){let t=w({warn:e?.router===void 0}),n=e?.router||t;return C(n.stores.__store,tc(e,n))}function Pc(e,t){if(t)for(let[n,r]of Object.entries(t))n!==`suppressHydrationWarning`&&r!==void 0&&r!==!1&&e.setAttribute(n,typeof r==`boolean`?``:String(r))}function Fc(e){let{attrs:t,children:n,nonce:r,preventScriptHoist:i}=e,a=I.useMemo(()=>n===void 0?void 0:{__html:n},[n]);switch(e.tag){case`title`:return(0,L.jsx)(`title`,{...t,suppressHydrationWarning:!0,children:n});case`meta`:return(0,L.jsx)(`meta`,{...t,suppressHydrationWarning:!0});case`link`:return(0,L.jsx)(`link`,{...t,precedence:t?.precedence??(t?.rel===`stylesheet`?`default`:void 0),nonce:r,suppressHydrationWarning:!0});case`style`:return e.inlineCss,(0,L.jsx)(`style`,{...t,dangerouslySetInnerHTML:a,nonce:r});case`script`:return(0,L.jsx)(Ic,{attrs:t,preventScriptHoist:i,children:n});default:return null}}function Ic({attrs:e,children:t,preventScriptHoist:n}){w();let r=ee(),i=I.useMemo(()=>t===void 0?void 0:{__html:t},[t]),a=typeof e?.type==`string`&&e.type!==``&&e.type!==`text/javascript`&&e.type!==`module`;if(I.useEffect(()=>{if(!a){if(e?.src){let t=document.createElement(`a`);t.href=e.src;let n=t.href;for(let e of document.scripts)if(e.src===n)return;let r=document.createElement(`script`);return Pc(r,e),document.head.appendChild(r),()=>r.remove()}if(typeof t==`string`){let n=typeof e?.type==`string`?e.type:`text/javascript`,r=typeof e?.nonce==`string`?e.nonce:void 0;for(let e of document.scripts){if(e.hasAttribute(`src`))continue;let i=e.getAttribute(`type`)??`text/javascript`,a=e.getAttribute(`nonce`)??void 0;if(e.textContent===t&&i===n&&a===r)return}let i=document.createElement(`script`);return i.textContent=t,Pc(i,e),document.head.appendChild(i),()=>i.remove()}}},[e,t,a]),a&&typeof t==`string`)return(0,L.jsx)(`script`,{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:i});if(!r){if(e?.src)return(0,L.jsx)(`script`,{...e,suppressHydrationWarning:!0});if(typeof t==`string`)return(0,L.jsx)(`script`,{...e,dangerouslySetInnerHTML:i,suppressHydrationWarning:!0})}return null}function Lc(e,t,n,r){n=fn(n);let i=n.map(e=>e.meta).filter(e=>e!==void 0),a=[],o={},s;for(let e=i.length-1;e>=0;e--){let n=i[e];for(let e=n.length-1;e>=0;e--){let r=n[e];if(r)if(r.title)s||={tag:`title`,children:r.title};else if(`script:ld+json`in r)try{let e=JSON.stringify(r[`script:ld+json`]);a.push({tag:`script`,attrs:{type:`application/ld+json`},children:p(e)})}catch{}else{let e=r.name??r.property;if(e){if(o[e])continue;o[e]=!0}a.push({tag:`meta`,attrs:{...r,nonce:t}})}}}s&&a.push(s),t&&a.push({tag:`meta`,attrs:{property:`csp-nonce`,content:t}}),a.reverse();let c=n.flatMap(e=>e.links??[]).filter(e=>e!==void 0).map(e=>({tag:`link`,attrs:{...e,nonce:t}})),l=e.ssr?.manifest,u=[];l&&(n.forEach(e=>{(l.routes[e.routeId]?.css)?.forEach(e=>{let n=ss(e);u.push({tag:`link`,attrs:{rel:`stylesheet`,...n,crossOrigin:ns(r,`stylesheet`)??n.crossOrigin,suppressHydrationWarning:!0,nonce:t}})})}),l.inlineStyle&&u.push({tag:`style`,attrs:{...l.inlineStyle.attrs,nonce:t},children:l.inlineStyle.children,inlineCss:!0}));let d=[];l&&n.forEach(e=>{l.routes[e.routeId]?.preloads?.forEach(e=>{d.push({tag:`link`,attrs:{...is(l,e,r),nonce:t}})})});let f=n.flatMap(e=>e.styles??[]).filter(e=>e!==void 0).map(({children:e,...n})=>({tag:`style`,attrs:{...n,nonce:t},children:e})),m=n.flatMap(e=>e.headScripts??[]).filter(e=>e!==void 0).map(({children:e,...n})=>({tag:`script`,attrs:{...n,nonce:t},children:e})),h=[];return os(h,a),h.push(...d),os(h,c),h.push(...u),os(h,f),os(h,m),h}var Rc=e=>{let t=w(),n=t.options.ssr?.nonce,r=I.useCallback(r=>Lc(t,n,r,e),[e,n,t]);return C(t.stores.matches,r,{compare:ae})};function zc(e){let t=Rc(e.assetCrossOrigin),n=w().options.ssr?.nonce;return(0,L.jsx)(L.Fragment,{children:t.map(e=>(0,I.createElement)(Fc,{...e,key:`tsr-meta-${JSON.stringify(e)}`,nonce:n}))})}var Bc={suppressHydrationWarning:!0},Vc=()=>{let e=w(),t=e.options.ssr?.nonce,n=n=>{let r=cs(n,e.ssr?.manifest,t,Bc);for(let e of r[1])if(typeof e.attrs?.src==`string`){let t=e;t.preventScriptHoist=!0}return r};return B(C(e.stores.matches,e=>ls(n(e)),{compare:ae}))};function B(e){return(0,L.jsx)(L.Fragment,{children:e.map((e,t)=>(0,I.createElement)(Fc,{...e,key:`tsr-scripts-${e.tag}-${t}`}))})}var Hc=(e,t)=>{let n={type:`request`,...t||e},r=e=>Hc({},Object.assign(n,{validator:e,inputValidator:e}));return{options:n,middleware:e=>Hc({},Object.assign(n,{middleware:e})),validator:r,inputValidator:r,client:e=>Hc({},Object.assign(n,{client:e})),server:e=>Hc({},Object.assign(n,{server:e}))}};function Uc(e,t){for(let n=0,r=t.length;n<r;n++){let r=t[n];e.has(r)||(e.add(r),r.extends&&Uc(e,r.extends))}}var Wc=e=>({getOptions:async()=>{let t=await e();if(t.serializationAdapters){let e=new Set;Uc(e,t.serializationAdapters),t.serializationAdapters=Array.from(e)}return t},createMiddleware:Hc}),Gc=Hc({type:`function`}).client(async({next:e})=>{let{data:t}=await T.auth.getSession(),n=t.session?.access_token;return e({headers:n?{Authorization:`Bearer ${n}`}:{}})}),Kc=Hc({type:`request`}),qc=Hc(),Jc=Wc(()=>({functionMiddleware:[Gc],requestMiddleware:[Kc,qc]})),Yc=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Xc=new class extends Yc{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();
13this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e==`boolean`?this.#e:globalThis.document?.visibilityState!==`hidden`}},Zc={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},Qc=new class{#e=Zc;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function $c(e){setTimeout(e,0)}var el=typeof window>`u`||`Deno`in globalThis;function tl(){}function nl(e,t){return typeof e==`function`?e(t):e}function rl(e){return typeof e==`number`&&e>=0&&e!==1/0}function il(e,t){return Math.max(e+(t||0)-Date.now(),0)}function V(e,t){return typeof e==`function`?e(t):e}function al(e,t){return typeof e==`function`?e(t):e}function ol(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==cl(o,t.options))return!1}else if(!ul(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function sl(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(ll(t.options.mutationKey)!==ll(a))return!1}else if(!ul(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function cl(e,t){return(t?.queryKeyHashFn||ll)(e)}function ll(e){return JSON.stringify(e,(e,t)=>pl(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function ul(e,t){return e===t?!0:typeof e==typeof t&&e&&t&&typeof e==`object`&&typeof t==`object`?Object.keys(t).every(n=>ul(e[n],t[n])):!1}var H=Object.prototype.hasOwnProperty;function dl(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=fl(e)&&fl(t);if(!r&&!(pl(e)&&pl(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l<o;l++){let o=r?l:a[l],u=e[o],d=t[o];if(u===d){s[o]=u,(r?l<i:H.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=dl(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function fl(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function pl(e){if(!ml(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!ml(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function ml(e){return Object.prototype.toString.call(e)===`[object Object]`}function hl(e){return new Promise(t=>{Qc.setTimeout(t,e)})}function gl(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:dl(e,t)}function _l(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function vl(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var yl=Symbol();function bl(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===yl?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function xl(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??=t(),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var Sl=(()=>{let e=()=>el;return{isServer(){return e()},setIsServer(t){e=t}}})();function Cl(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}var wl=$c;function Tl(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=wl,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var El=Tl(),Dl=new class extends Yc{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}
13setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}};function Ol(e){return Math.min(1e3*2**e,3e4)}function kl(e){return(e??`online`)===`online`?Dl.isOnline():!0}var Al=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function jl(e){let t=!1,n=0,r,i=Cl(),a=()=>i.status!==`pending`,o=t=>{if(!a()){let n=new Al(t);f(n),e.onCancel?.(n)}},s=()=>{t=!0},c=()=>{t=!1},l=()=>Xc.isFocused()&&(e.networkMode===`always`||Dl.isOnline())&&e.canRun(),u=()=>kl(e.networkMode)&&e.canRun(),d=e=>{a()||(r?.(),i.resolve(e))},f=e=>{a()||(r?.(),i.reject(e))},p=()=>new Promise(t=>{r=e=>{(a()||l())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,a()||e.onContinue?.()}),m=()=>{if(a())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(d).catch(r=>{if(a())return;let i=e.retry??(Sl.isServer()?0:3),o=e.retryDelay??Ol,s=typeof o==`function`?o(n,r):o,c=i===!0||typeof i==`number`&&n<i||typeof i==`function`&&i(n,r);if(t||!c){f(r);return}n++,e.onFail?.(n,r),hl(s).then(()=>l()?void 0:p()).then(()=>{t?f(r):m()})})};return{promise:i,status:()=>i.status,cancel:o,continue:()=>(r?.(),i),cancelRetry:s,continueRetry:c,canStart:u,start:()=>(u()?m():p().then(m),i)}}var Ml=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),rl(this.gcTime)&&(this.#e=Qc.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Sl.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(Qc.clearTimeout(this.#e),this.#e=void 0)}},Nl=class extends Ml{#e;#t;#n;#r;#i;#a;#o;constructor(e){super(),this.#o=!1,this.#a=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#r=e.client,this.#n=this.#r.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=Il(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#i?.promise}setOptions(e){if(this.options={...this.#a,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=Il(this.options);e.data!==void 0&&(this.setState(Fl(e.data,e.dataUpdatedAt)),this.#e=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#n.remove(this)}setData(e,t){let n=gl(this.state.data,e,this.options);return this.#c({data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#c({type:`setState`,state:e,setStateOptions:t})}cancel(e){let t=this.#i?.promise;return this.#i?.cancel(e),t?t.then(tl).catch(tl):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#e}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>al(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===yl||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>V(e.options.staleTime,this)===`static`):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!il(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#i&&(this.#o||this.#s()?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#n.notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}#s(){return this.state.fetchStatus===`paused`&&this.state.status===`pen
13ding`}invalidate(){this.state.isInvalidated||this.#c({type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&this.#i?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#o=!0,n.signal)})},i=()=>{let e=bl(this.options,t),n=(()=>{let e={client:this.#r,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#o=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:i};return r(e),e})();this.options.behavior?.onFetch(a,this),this.#t=this.state,(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#c({type:`fetch`,meta:a.fetchOptions?.meta}),this.#i=jl({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof Al&&e.revert&&this.setState({...this.#t,fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{this.#c({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#c({type:`pause`})},onContinue:()=>{this.#c({type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await this.#i.start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#n.config.onSuccess?.(e,this),this.#n.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof Al){if(e.silent)return this.#i.promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw this.#c({type:`error`,error:e}),this.#n.config.onError?.(e,this),this.#n.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#c(e){let t=t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...Pl(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...Fl(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return this.#t=e.manual?n:void 0,n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),El.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#n.notify({query:this,type:`updated`,action:e})})}};function Pl(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:kl(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function Fl(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function Il(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}function Ll(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=>{xl(e,()=>t.signal,()=>n=!0)},u=bl(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?vl:_l;return{pages:s(e.pages,a,o),pageParams:s(e.pageParams,r,o)}};if(i&&a.length){let e=i===`backward`,t=e?zl:Rl,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:Rl(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 Rl(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 zl(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var Bl=class extends Ml{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||Vl(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}
13optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=jl({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});let r=this.state.status===`pending`,i=!this.#r.canStart();try{if(r)t();else{this.#i({type:`pending`,variables:e,isPaused:i}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:i})}let a=await this.#r.start();return await this.#n.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#i({type:`success`,data:a}),a}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),El.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function Vl(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var U=class extends Yc{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 Bl({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=W(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=W(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=W(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}else return!0}runNext(e){let t=W(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>
vendor: 5,814 bytes, line 13
13t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){El.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=>sl(t,e))}findAll(e={}){return this.getAll().filter(t=>sl(e,t))}notify(e){El.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return El.batch(()=>Promise.all(e.map(e=>e.continue().catch(tl))))}};function W(e){return e.options.scope?.id}var G=class extends Yc{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let r=t.queryKey,i=t.queryHash??cl(r,t),a=this.get(i);return a||(a=new Nl({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(){El.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=>ol(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>ol(e,t)):t}notify(e){El.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){El.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){El.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},K=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new G,this.#t=e.mutationCache||new U,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=Xc.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=Dl.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(V(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=nl(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return El.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;El.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return El.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=El.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(tl).catch(tl)}invalidateQueries(e,t={}){return El.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=El.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(tl)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(tl)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(V(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(tl).catch(tl)}fetchInfiniteQuery(e){return e.behavior=Ll(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(tl).catch(tl)}ensureInfiniteQueryData(e){return e.behavior=Ll(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Dl.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(ll(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{ul(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(ll(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{ul(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||=cl(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===yl&&(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()}},q=I.createContext(void 0),Hl=({client:e,children:t})=>(I.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,L.jsx)(q.Provider,{value:e,children:t})),Ul=`/assets/styles-BeHUoO_E.css`;
13function Wl(e,t={}){typeof window>`u`||window.__lovableEvents?.captureException?.(e,{source:`react_error_boundary`,route:window.location.pathname,...t},{mechanism:`react_error_boundary`,handled:!1,severity:`error`})}var Gl=D(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),Kl=D(`dumbbell`,[[`path`,{d:`M17.596 12.768a2 2 0 1 0 2.829-2.829l-1.768-1.767a2 2 0 0 0 2.828-2.829l-2.828-2.828a2 2 0 0 0-2.829 2.828l-1.767-1.768a2 2 0 1 0-2.829 2.829z`,key:`9m4mmf`}],[`path`,{d:`m2.5 21.5 1.4-1.4`,key:`17g3f0`}],[`path`,{d:`m20.1 3.9 1.4-1.4`,key:`1qn309`}],[`path`,{d:`M5.343 21.485a2 2 0 1 0 2.829-2.828l1.767 1.768a2 2 0 1 0 2.829-2.829l-6.364-6.364a2 2 0 1 0-2.829 2.829l1.768 1.767a2 2 0 0 0-2.828 2.829z`,key:`1t2c92`}],[`path`,{d:`m9.6 14.4 4.8-4.8`,key:`6umqxw`}]]),J=D(`house`,[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`,key:`5wwlr5`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`r6nss1`}]]),ql=D(`monitor-play`,[[`path`,{d:`M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z`,key:`vbtd3f`}],[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`M8 21h8`,key:`1ev6f3`}],[`rect`,{x:`2`,y:`3`,width:`20`,height:`14`,rx:`2`,key:`x3v2xh`}]]),Jl=D(`shopping-cart`,[[`circle`,{cx:`8`,cy:`21`,r:`1`,key:`jimo8o`}],[`circle`,{cx:`19`,cy:`21`,r:`1`,key:`13723u`}],[`path`,{d:`M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12`,key:`9zh506`}]]),Yl=D(`trending-up`,[[`path`,{d:`M16 7h6v6`,key:`box55l`}],[`path`,{d:`m22 7-8.5 8.5-5-5L2 17`,key:`1t1m79`}]]),Xl=D(`video`,[[`path`,{d:`m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5`,key:`ftymec`}],[`rect`,{x:`2`,y:`6`,width:`14`,height:`12`,rx:`2`,key:`158x01`}]]),Zl=D(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),Ql=`#0B6EA8`,$l=`#095E90`,eu=`#1CA0D6`,tu=`#1F7A4D`,nu=`#0E1A24`,ru=`#3A4A57`,iu=`#D8D3C8`,au=`#8A6A3E`,Y=`'IBM Plex Mono', ui-monospace, monospace`,ou=`'Fraunces', Georgia, serif`,su=`'Inter', system-ui, sans-serif`,cu=`lbp_proof_seen`,lu=`lbp_proof_dismissed`,uu=30,du=5,fu=8e3,pu=12e3,mu={Plumbing:`plumbing`,HVAC:`HVAC`,Legal:`law`,Moving:`moving`,Contracting:`contracting`,Roofing:`roofing`,Electrical:`electrical`,Hospitality:`hospitality`,Restaurant:`restaurant`,Landscaping:`landscaping`,Automotive:`auto repair`,Restoration:`restoration`,Dealership:`auto dealership`,"Home Services":`home services`},hu=e=>`${e.vertical}|${e.market}|${e.timestampISO}`;function gu(){try{let e=localStorage.getItem(cu),t=e?JSON.parse(e):[];return Array.isArray(t)?t.filter(e=>typeof e==`string`):[]}catch{return[]}}function _u(){try{let e=localStorage.getItem(lu);if(!e)return!1;let t=Number(JSON.parse(e)?.until);return Number.isFinite(t)?Date.now()>t?(localStorage.removeItem(lu),!1):!0:!1}catch{return!1}}function vu(e){let t=[...e];for(let e=t.length-1;e>0;e--){let n=Math.floor(Math.random()*(e+1));[t[e],t[n]]=[t[n],t[e]]}return t}function yu(e){let t=e.match(/([+-])(\d{2}):?(\d{2})$/),n=new Date(e),r=-n.getTimezoneOffset();/Z$/.test(e)&&(r=0),t&&(r=(t[1]===`-`?-1:1)*(Number(t[2])*60+Number(t[3])));let i=new Date(n.getTime()+r*6e4);return{date:n,hour:i.getUTCHours(),minute:i.getUTCMinutes(),dayIndex:Math.floor(i.getTime()/864e5),offsetMin:r}}function bu(e){let{hour:t,minute:n}=yu(e);return`${t%12==0?12:t%12}:${String(n).padStart(2,`0`)} ${t<12?`AM`:`PM`}`}var xu=[`THURSDAY`,`FRIDAY`,`SATURDAY`,`SUNDAY`,`MONDAY`,`TUESDAY`,`WEDNESDAY`];function Su(e){let t=yu(e);return{daysAgo:Math.floor((Date.now()+t.offsetMin*6e4)/864e5)-t.dayIndex,hour:t.hour,dayIndex:t.dayIndex}}function Cu(e){let{daysAgo:t,hour:n,dayIndex:r}=Su(e);if(t<0||t>=7)return null;if(t===0)return n>=5&&n<12?`THIS MORNING`:`EARLIER TODAY`;if(t===1)return n>=20?`LAST NIGHT`:n<5?`OVERNIGHT`:`YESTERDAY`;let i=xu[(r%7+7)%7];return n>=20?`${i} NIGHT`:i}function wu({event:e}){let t=mu[e.vertical];if(!t)return(0,L.jsx)(L.Fragment,{children:e.body});let n=e.body.toLowerCase().indexOf(t.toLowerCase());return n<0?(0,L.jsx)(L.Fragment,{children:e.body}):(0,L.jsxs)(L.Fragment,{children:[e.body.slice(0,n),(0,L.jsx)(`span`,{style:{fontWeight:600,color:Ql},children:e.body.slice(n,n+t.length)}),e.body.slice(n+t.length)]})}var Tu=e=>e.startsWith(`/diagnostic`)||e.startsWith(`/case-studies`)||e.startsWith(`/checkout`)||e.includes(`stripe`);function Eu(){let e=Nc({select:e=>e.location.pathname}),[t,n]=(0,I.useState)(null),[r,i]=(0,I.useState)(!1),[a,o]=(0,I.useState)(!1),s=(0,I.useRef)(!1),c=(0,I.useRef)([]),l=Tu(e),u=(0,I.useMemo)(()=>me.filter(e=>{let t=new Date(e.timestampISO).getTime();return Number.isFinite(t)&&Cu(e.timestampISO)!==null}),[]);return(0,I.useEffect)(()=>
13{if(typeof window>`u`||l||_u())return;o(window.matchMedia(`(prefers-reduced-motion: reduce)`).matches);let e=u.length>=du,t=(e,t)=>{c.current.push(setTimeout(e,t))},r=()=>{c.current.forEach(clearTimeout),c.current=[]},a=(e,r,a)=>{s.current||(n(e),i(!1),t(()=>i(!0),30),t(()=>{i(!1),t(()=>{n(null),a?.()},440)},r))},d=()=>{s.current||a({kind:`demo`,withCallback:e},pu)},f=[],p=()=>{let e=!1,n=()=>{e||s.current||(e=!0,d())};t(n,9e4);let r=e=>{e.clientY<=0&&n()};document.addEventListener(`mouseleave`,r),f.push(()=>document.removeEventListener(`mouseleave`,r));let i=window.scrollY,a=0,o=()=>{let e=window.scrollY,t=e/Math.max(1,document.documentElement.scrollHeight-window.innerHeight);e<i-24&&t>.6&&(a+=1,a>=2&&n()),i=e};window.addEventListener(`scroll`,o,{passive:!0}),f.push(()=>window.removeEventListener(`scroll`,o))};if(!e)return t(d,45e3),()=>{r(),f.forEach(e=>e())};let m=gu(),h=vu(u.filter(e=>!m.includes(hu(e))));h.length<2&&(h=vu(u));let[g,_]=h,v=e=>{try{let t=gu();t.push(hu(e)),localStorage.setItem(cu,JSON.stringify(t.slice(-200)))}catch{}},y=!1,b=()=>{y||s.current||(y=!0,v(g),a({kind:`event`,event:g},fu,()=>{t(()=>{v(_),a({kind:`event`,event:_},fu,p)},12e3)}))};t(b,25e3);let x=()=>{window.scrollY/Math.max(1,document.documentElement.scrollHeight-window.innerHeight)>=.35&&b()};return window.addEventListener(`scroll`,x,{passive:!0}),f.push(()=>window.removeEventListener(`scroll`,x)),()=>{r(),f.forEach(e=>e())}},[u,l]),l||!t?null:(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(`style`,{children:`
14        @media (max-width: 560px) {
15          .lbp-proof-corner { left: 12px !important; right: 12px; bottom: 12px !important; width: auto !important; }
16        }
17        @keyframes lbp-proof-drain { from { transform: scaleX(1); } to { transform: scaleX(0); } }
18        .lbp-proof-drain { transform-origin: left center; animation: lbp-proof-drain ${fu}ms linear forwards; }
19        @media (prefers-reduced-motion: reduce) {
20          .lbp-proof-drain { animation: none; transform: scaleX(1); }
21        }
22      `}),(0,L.jsxs)(`div`,{className:`lbp-proof-corner`,style:{position:`fixed`,left:22,bottom:22,width:360,zIndex:60,background:`#FFFFFF`,border:`1px solid ${iu}`,borderRadius:12,boxShadow:`0 10px 34px rgba(14,26,36,.13), 0 2px 6px rgba(14,26,36,.06)`,padding:`14px 15px 13px`,fontFamily:su,opacity:a?1:+!!r,transform:a?`none`:r?`translateY(0)`:`translateY(14px)`,transition:a?`none`:`opacity 420ms cubic-bezier(.2,.8,.25,1), transform 420ms cubic-bezier(.2,.8,.25,1)`},role:`status`,"aria-live":`polite`,children:[(0,L.jsx)(`button`,{type:`button`,onClick:()=>{s.current=!0,c.current.forEach(clearTimeout),c.current=[],i(!1),setTimeout(()=>n(null),a?0:440);try{localStorage.setItem(lu,JSON.stringify({until:Date.now()+uu*864e5}))}catch{}},"aria-label":`Dismiss`,style:{position:`absolute`,top:8,right:8,background:`none`,border:`none`,padding:2,cursor:`pointer`,color:`#9AA5AD`,lineHeight:0},onMouseEnter:e=>e.currentTarget.style.color=nu,onMouseLeave:e=>e.currentTarget.style.color=`#9AA5AD`,children:(0,L.jsx)(Zl,{size:13,strokeWidth:1.5})}),t.kind===`event`?(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,paddingRight:18},children:[(0,L.jsx)(`span`,{style:{width:7,height:7,borderRadius:999,background:tu,flexShrink:0}}),(0,L.jsx)(`span`,{style:{fontFamily:Y,fontSize:9.5,letterSpacing:`0.15em`,color:ru},children:`LEGACY BUILDER · ANSWERED CALLS`}),(0,L.jsx)(`span`,{style:{marginLeft:`auto`,fontFamily:Y,fontSize:9.5,color:au,whiteSpace:`nowrap`},children:Cu(t.event.timestampISO)})]}),(0,L.jsx)(`div`,{style:{marginTop:10,fontSize:14.5,fontWeight:500,color:nu,lineHeight:1.35},children:(0,L.jsx)(wu,{event:t.event})}),(0,L.jsxs)(`div`,{style:{marginTop:9,display:`flex`,alignItems:`center`,gap:8},children:[(0,L.jsxs)(`span`,{style:{fontFamily:Y,fontSize:11,color:nu},children:[t.event.market,` · `,bu(t.event.timestampISO)]}),(0,L.jsxs)(`span`,{style:{fontFamily:Y,fontSize:11,color:ru},children:[`/ `,t.event.outcome]}),(0,L.jsx)(`a`,{href:`/ai-receptionist`,style:{marginLeft:`auto`,fontSize:12,fontWeight:600,color:eu,textDecoration:`none`,whiteSpace:`nowrap`},children:`See how ›`})]}),(0,L.jsx)(`div`,{style:{marginTop:11,height:2,background:`#EDEAE3`,borderRadius:2,overflow:`hidden`},children:(0,L.jsx)(`div`,{className:`lbp-proof-drain`,style:{height:`100%`,background:eu}})})]}):(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:9,paddingRight:18},children:[(0,L.jsx)(`span`,{style:{width:26,height:26,borderRadius:999,border:`1.5px solid ${eu}`,display:`inline-flex`,alignItems:`center`,justifyContent:`center`,flexShrink:0},children:(0,L.jsx)(de,{size:13,strokeWidth:1.5,color:Ql})}),(0,L.jsx)(`span`,{style:{fontFamily:Y,fontSize:9.5,letterSpacing:`0.15em`,color:ru},children:`DEMO LINE · ANSWERING NOW`})]}),t.withCallback&&(0,L.jsxs)(`div`,{style:{marginTop:11,borderLeft:`2px solid ${iu}`,paddingLeft:10,fontSize:12.5,color:ru,lineHeight:1.45},children:[`You just read `,(0,L.jsx)(`span`,{style:{fontWeight:600,color:nu},children:`two of those`}),` from the last day of call logs.`]}),(0,L.jsx)(`div`,{style:{marginTop:11,fontFamily:ou,fontSize:17,fontWeight:600,color:nu},children:`Don't take our word for it. Call it.`}),(0,L.jsx)(`a`,{href:`${he}?source=proof_corner`,onClick:()=>{try{window.dataLayer?.push({event:`demo_line_click`,source:`proof_corner`})}catch{}},style:{display:`block`,marginTop:11,textAlign:`center`,background:Ql,color:`#fff`,fontFamily:Y,fontSize:19,fontWeight:600,padding:11,borderRadius:7,textDecoration:`none`},onMouseEnter:e=>e.currentTarget.style.background=$l,onMouseLeave:e=>e.currentTarget.style.background=Ql,children:pe}),(0,L.jsx)(`div`,{style:{marginTop:8,fontSize:11.5,color:ru,textAlign:`center`},children:`Answers in under two rings. No signup.`})]})]})]})}var Du={"@context":`https://schema.org`,"@type":`Organization`,"@id":`https://legacybusinesspartners.ai/#organization`,name:`Legacy Business Partners`,url:`https://legacybusinesspartners.ai`,email:`[email protected]`,logo:`https://legacybusinesspartners.ai/logo-cropped.png`,telephone:_e.display,sameAs:le.map(e=>e.href),founder:{"@id":`https://legacybusinesspartners.ai/about#james-robinson`}};function Ou(){return(0,L.jsx)(`div`,{className:`flex min-h-screen items-center justify-center bg-background px-4`,children:(0,L.jsxs)(`div`,{className:`max-w-md text-center`,children:[(0,L.jsx)(`h1`,{className:`text-7xl font-bold text-foreground`,children:`404`}),(0,L.jsx)(`h2`,{className:`mt-4 text-xl font-semibold text-foreground`,children:`Page not found`}),(0,L.jsx)(`p`,{className:`mt-2 text-sm text-muted-foreground`,children:`The page you're looking for doesn't exist or has been moved.`}),(0,L.jsx)(`div`,{className:`mt-6`,children:(0,L.jsx)(re,{to:`/`,className:`inline-flex items-center justify-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground transition-colors hover:bg-primary/90`,children:`Go home`})})]})})}function ku({error:e,reset:t}){console.error(e);let n=w();return(0,I.useEffect)(()=>{Wl(e,{boundary:`tanstack_root_error_component`})},[e]),(0,L.jsx)(`div`,{className:`flex min-h-screen items-center justify-center bg-background px-4`,children:(0,L.jsxs)(`div`,{className:`max-w-md text-center`,children:[(0,L.jsx)(`h1`,{className:`text-xl font-semibold tracking-tight text-foreground`,children:`This page didn't load`}),(0,L.jsx)(`p`,{className:`mt-2 text-sm text-muted-foreground`,children:`Something went wrong on our end. You can try refreshing or head back home.`}),(0,L.jsxs)(`div`,{className:`mt-6 flex flex-wrap justify-center gap-2`,children:[(0,L.jsx)(`button`,{onClick:()=>{n.invalidate(),t()},className:`inline-flex items-center justify-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground transition-colors hover:bg-primary/90`,children:`Try again`}),(0,L.jsx)(`a`,{href:`/`,className:`inline-flex items-center justify-center rounded-md border border-input bg-background px-4 py-2 text-sm font-medium text-foreground transition-colors hover:bg-accent`,children:`Go home`})]})]})})}var X=dc()({head:()=>({meta:[{charSet:`utf-8`},{name:`viewport`,content:`width=device-width, initial-scale=1`},{name:`theme-color`,content:`#0B6EA8`},{title:`AI Employees & Marketing Systems | Legacy Business Partners`},{name:`description`,content:`We install proven AI marketing systems into your business, then train your team to run them. Automated, scalable, built to last. Free audit inside.`},{property:`og:type`,content:`website`},{property:`og:site_name`,content:`Legacy Business Partners`},{name:`twitter:card`,content:`summary_large_image`},{property:`og:title`,content:`AI Employees & Marketing Systems | Legacy Business Partners`},{name:`twitter:title`,content:`AI Employees & Marketing Systems | Legacy Business Partners`},{property:`og:description`,content:`We install proven AI marketing systems into your business, then train your team to run them. Automated, scalable, built to last. Free audit inside.`},{name:`twitter:description`,content:`We install proven AI marketing systems into your business, then train your team to run them. Automated, scalable, built to last. Free audit inside.`},{property:`og:image`,content:`https://legacybusinesspartners.ai/logo-cropped.png`},{name:`twitter:image`,content:`https://legacybusinesspartners.ai/logo-cropped.png`}],links:[{rel:`stylesheet`,href:Ul}
22,{rel:`icon`,type:`image/x-icon`,href:`/favicon.ico`},{rel:`icon`,type:`image/png`,sizes:`32x32`,href:`/favicon-32x32.png`},{rel:`icon`,type:`image/png`,sizes:`16x16`,href:`/favicon-16x16.png`},{rel:`apple-touch-icon`,sizes:`180x180`,href:`/apple-touch-icon.png`},{rel:`icon`,type:`image/png`,sizes:`192x192`,href:`/favicon-192x192.png`},{rel:`icon`,type:`image/png`,sizes:`512x512`,href:`/favicon-512x512.png`},{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=Inter:wght@400;500;600&display=swap`}],scripts:[{type:`application/ld+json`,children:JSON.stringify(Du)},{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`WebSite`,name:`Legacy Business Partners`,url:`https://legacybusinesspartners.ai`})}]}),shellComponent:Au,component:ju,notFoundComponent:Ou,errorComponent:ku});function Au({children:e}){return(0,L.jsxs)(`html`,{lang:`en`,children:[(0,L.jsx)(`head`,{children:(0,L.jsx)(zc,{})}),(0,L.jsxs)(`body`,{children:[e,(0,L.jsx)(Vc,{})]})]})}function ju(){let{queryClient:e}=X.useRouteContext();return(0,L.jsxs)(Hl,{client:e,children:[(0,L.jsx)(Cc,{}),(0,L.jsx)(Eu,{})]})}var Mu=R(`/`)({head:()=>({meta:[{title:`AI Receptionist & Marketing Systems | Legacy Business Partners`},{name:`description`,content:`Legacy Business Partners installs an AI receptionist and marketing systems for businesses — answering every call, qualifying every lead, and booking every appointment, 24/7.`},{property:`og:title`,content:`AI Receptionist & Marketing Systems | Legacy Business Partners`},{property:`og:description`,content:`Legacy Business Partners installs an AI receptionist and marketing systems for businesses — answering every call, qualifying every lead, and booking every appointment, 24/7.`},{name:`twitter:title`,content:`AI Receptionist & Marketing Systems | Legacy Business Partners`},{name:`twitter:description`,content:`Legacy Business Partners installs an AI receptionist and marketing systems for businesses — answering every call, qualifying every lead, and booking every appointment, 24/7.`},{property:`og:url`,content:`/`}],links:[{rel:`canonical`,href:`/`},{rel:`stylesheet`,href:`https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500&display=swap`}]}),component:z(()=>E(()=>import(`./routes-Bx0zgE8t.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17])),`component`)}),Nu=()=>E(()=>import(`./about-CF-VveUR.js`),__vite__mapDeps([18,1,4,2,3,5,6])),Pu=`https://legacybusinesspartners.ai/about`,Fu=`About Legacy Business Partners | AI Receptionist & Marketing Systems`,Iu=`Meet founder James Marques Robinson and learn how Legacy Business Partners builds installed AI systems for service businesses.`,Lu={"@context":`https://schema.org`,"@type":`Person`,"@id":`https://legacybusinesspartners.ai/about#james-robinson`,name:`James Robinson`,alternateName:`James Marques Robinson`,jobTitle:`Founder`,worksFor:{"@type":`Organization`,name:`Legacy Business Partners`,url:`https://legacybusinesspartners.ai`},url:`https://legacybusinesspartners.ai/about`,sameAs:[`https://jrobinsonportfolio.com`,`https://www.linkedin.com/in/thesocialmediaguru`]},Ru=R(`/about`)({head:()=>({meta:[{title:Fu},{name:`description`,content:Iu},{name:`robots`,content:`index,follow`},{property:`og:title`,content:Fu},{property:`og:description`,content:Iu},{property:`og:type`,content:`profile`},{property:`og:url`,content:Pu},{name:`twitter:card`,content:`summary`},{name:`twitter:title`,content:Fu},{name:`twitter:description`,content:Iu}],links:[{rel:`canonical`,href:Pu},{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=Fraunces:opsz,[email protected],600&family=IBM+Plex+Mono:wght@500;600&display=swap`}],scripts:[{type:`application/ld+json`,children:JSON.stringify(Lu)}]}),component:z(Nu,`component`)}),zu=`'IBM Plex Mono', monospace`,Bu=`#0E1A24`,Vu=`#3A4A57`,Hu=`#0B6EA8`,Uu=`#D8D3C8`,Wu=`#1F7A4D`,Z=[{q:`How accurate is the estimate?`,a:`It's built from the numbers you enter, so it's only as accurate as those inputs. Use it as a starting point for a real conversation, not a quote.`}
22,{q:`Do I need to give my email to see results?`,a:`No. Your results appear on screen as soon as you finish.`},{q:`What does an AI receptionist actually do?`,a:`It answers your calls, responds to common questions using your business information, captures caller details, and books appointments when it's connected to your calendar. It can also be set up to transfer urgent calls to your team. Call ${_e.display} to hear one.`},{q:`Will it replace my staff?`,a:`It's designed to cover what your staff can't: after-hours calls, overflow during busy stretches, and the same questions asked all day. Your team keeps its time for the people in front of them.`},{q:`What does it cost?`,a:`Legacy Builder AI Receptionist plans start at $497/month plus a one-time setup fee.`},{q:`Who is this built for?`,a:`Healthcare practices, law firms, and hospitality businesses.`}],Gu=[{title:`Healthcare practices`,to:`/healthcare`,items:[`New patient intake calls`,`Appointment scheduling and rescheduling`,`Reminder and confirmation calls`,`After-hours calls that go to voicemail`]},{title:`Law firms`,to:`/legal`,items:[`New client intake calls`,`Consultation scheduling`,`Case status check-in calls`,`After-hours and weekend inquiries`]},{title:`Hospitality`,to:`/hospitality`,items:[`Reservation calls`,`Hours, menu, and directions questions`,`Catering and private event inquiries`,`Calls during the dinner rush`]}],Ku=[[`Available after hours`,`Only with added shifts`,`Typically yes`,`Yes, 24/7`],[`Answers using your business details`,`Yes`,`Usually from a script`,`Yes, trained on your information`],[`Books appointments`,`Yes`,`Varies by service`,`Yes, when connected to your calendar`],[`Affected by sick days and turnover`,`Yes`,`No`,`No`],[`How you pay`,`Salary, taxes, and benefits`,`Typically per minute or per call`,`Fixed monthly`]],qu=[{label:`Missed Call Calculator`,to:O.missedCallCalculator},{label:`Marketing Spend Diagnostic`,to:O.marketingSpendDiagnostic},{label:`The Missed-Call Report`,to:`/research/missed-call-report`},{label:`Case study: Vitality Home Healthcare`,to:`/case-studies/$slug`,params:{slug:`vitality-home-healthcare`}},{label:`AI Receptionist`,to:`/ai-receptionist`}];function Ju({children:e}){return(0,L.jsx)(`span`,{style:{fontFamily:zu,fontVariantNumeric:`tabular-nums`},children:e})}function Yu(e){return e.split(/(\(\d{3}\) \d{3}-\d{4}|24\/7)/).map((e,t)=>t%2==1?(0,L.jsx)(Ju,{children:e},t):e)}function Xu({children:e}){return(0,L.jsx)(`h2`,{className:`clc-h2`,children:e})}function Zu({onStart:e}){return(0,L.jsxs)(`div`,{className:`clc`,children:[(0,L.jsxs)(`section`,{className:`clc-sec`,children:[(0,L.jsx)(Xu,{children:`Where the hours go`}),(0,L.jsx)(`p`,{className:`clc-p`,children:`The calls and front-office tasks that eat your team's hours look different in every business. Common examples:`}),(0,L.jsx)(`div`,{className:`clc-cols`,children:Gu.map(e=>(0,L.jsxs)(`div`,{className:`clc-card`,children:[(0,L.jsx)(`h3`,{className:`clc-h3`,children:(0,L.jsx)(re,{to:e.to,className:`clc-link`,children:e.title})}),(0,L.jsx)(`ul`,{className:`clc-ul`,children:e.items.map(e=>(0,L.jsx)(`li`,{children:e},e))})]},e.title))})]}),(0,L.jsxs)(`section`,{className:`clc-sec`,children:[(0,L.jsx)(Xu,{children:`How the math works`}),(0,L.jsxs)(`ol`,{className:`clc-steps`,children:[(0,L.jsxs)(`li`,{children:[(0,L.jsx)(`span`,{className:`clc-num`,children:(0,L.jsx)(Ju,{children:`1`})}),(0,L.jsxs)(`div`,{children:[(0,L.jsx)(`h3`,{className:`clc-h3`,children:`What you enter`}),(0,L.jsx)(`p`,{className:`clc-p`,children:`Your company name, industry, company size, annual revenue, and business challenges. Then the roles you want to look at, and for each one: how many employees, the hours per week spent on tasks AI could handle, and their hourly rate or annual salary.`})]})]}),(0,L.jsxs)(`li`,{children:[(0,L.jsx)(`span`,{className:`clc-num`,children:(0,L.jsx)(Ju,{children:`2`})}),(0,L.jsxs)(`div`,{children:[(0,L.jsx)(`h3`,{className:`clc-h3`,children:`What it costs you today`}),(0,L.jsx)(`p`,{className:`clc-p`,children:`For each role, those weekly hours are multiplied across a full year, by the hourly rate (salaries are converted to an hourly rate), and by the number of employees. Each role comes with a default share of that work AI could take on, which gives its estimated savings.`})]})]}),(0,L.jsxs)(`li`,{children:[(0,L.jsx)(`span`,{className:`clc-num`,children:(0,L.jsx)(Ju,{children:`3`})}),(0,L.jsxs)(`div`,{children:[(0,L.jsx)(`h3`,{className:`clc-h3`,children:`What AI would cost instead`}),(0,L.jsx)(`p`,{className:`clc-p`,children:`Each role you select adds a fixed monthly AI cost, plus a one-time setup cost in the first year. That first-year total is compared with your savings to show your net savings and payback period.`})]})]})]}),(0,L.jsx)(`p`,{className:`clc-p`,style:{marginTop:16},children:`Every figure is an estimate based on the numbers you enter. Treat it as a starting point, not a quote.`})]}),(0,L.jsxs)(`section`,{className:`clc-sec`,children:[(0,L.jsx)(Xu,{children:`What a hire really costs`}),(0,L.jsx)(`p`,{className:`clc-p`,children:`Salary is the number most owners compare. It's rarely the whole cost.`}),(0,L.jsxs)(`ul`,{className:`clc-ul`,style:{marginTop:12},children:[(0,L.jsx)(`li`,{children:`Wages and overtime`}),(0,L.jsx)(`li`,{children:`Payroll taxes and benefits`}),(0,L.jsx)(`li`,{children:`Recruiting and training time`}),(0,L.jsx)(`li`,{children:`Turnover, and starting over when someone leaves`}),(0,L.jsx)(`li`,{children:`Coverage gaps: lunch breaks, sick days, vacations, and after hours`})]}),(0,L.jsx)(`p`,{className:`clc-p`,style:{marginTop:12},children:`Keep these in mind when you enter your numbers.`})]}),(0,L.jsxs)(`section`,{className:`clc-sec`,children:[(0,L.jsx)(Xu,{children:`Three ways to handle your calls`}),(0,L.jsx)(`div`,{className:`clc-table-wrap`,children:(0,L.jsxs)(`table`,{className:`clc-table`,children:[(0,L.jsx)(`thead`,{children:(0,L.jsxs)(`tr`,{children:[(0,L.jsx)(`td`,{"aria-hidden":`true`}),(0,L.jsx)(`th`,{scope:`col`,children:`Hiring staff`}),(0,L.jsx)(`th`,{scope:`col`,children:`Answering service`}),(0,L.jsx)(`th`,{scope:`col`,children:`AI receptionist`})]})}),(0,L.jsx)(`tbody`,{children:Ku.map(([e,...t])=>(0,L.jsxs)(`tr`,{children:[(0,L.jsx)(`th`,{scope:`row`,children:e}),t.map((e,t)=>(0,L.jsx)(`td`,{children:Yu(e)},t))]},e))})]})}),(0,L.jsxs)(`a`,{href:_e.href,className:`clc-link`,style:{display:`inline-block`,marginTop:14},children:[`Hear an AI receptionist answer a call: `,(0,L.jsx)(Ju,{children:_e.display})]})]}),(0,L.jsxs)(`section`,{className:`clc-sec`,children:[(0,L.jsx)(Xu,{children:`Questions owners ask`}),(0,L.jsx)(`div`,{className:`clc-faq`,children:Z.map(e=>(0,L.jsxs)(`details`,{children:[(0,L.jsx)(`summary`,{children:e.q}),(0,L.jsx)(`p`,{className:`clc-p`,children:e.q===`What does it cost?`?(0,L.jsxs)(L.Fragment,{children:[`Legacy Builder AI Receptionist plans start at`,` `,(0,L.jsxs)(`span`,{style:{fontFamily:zu,color:Wu},children:[`$`,497,`/month`]}),` plus a one-time setup fee.`,` `,(0,L.jsx)(re,{to:`/ai-receptionist`,className:`clc-link`,children:`See plans`})]}):Yu(e.a)})]},e.q))})]}),(0,L.jsxs)(`section`,{className:`clc-sec`,children:[(0,L.jsx)(Xu,{children:`Related tools and research`}),(0,L.jsx)(`ul`,{className:`clc-related`,children:qu.map(e=>(0,L.jsx)(`li`,{children:(0,L.jsxs)(re,{to:e.to,params:`params`in e?e.params:void 0,className:`clc-card clc-related-card`,children:[(0,L.jsx)(`span`,{children:e.label}),(0,L.jsx)(Gl,{size:16,strokeWidth:1.5})]})},e.label))})]}),(0,L.jsxs)(`section`,{className:`clc-sec`,style:{textAlign:`center`},children:[(0,L.jsx)(Xu,{children:`Run your numbers before you make the hire.`}),(0,L.jsxs)(`button`,{className:`lbp-btn lbp-btn-primary`,onClick:()=>{window.scrollTo({top:0,behavior:`smooth`}),e()},style:{height:52,padding:`0 26px`,fontSize:16,borderRadius:12,marginTop:8},children:[`Run My Numbers `,(0,L.jsx)(Gl,{size:18,strokeWidth:1.5})]})]}),(0,L.jsx)(`style`,{children:`
23        .clc { max-width: 920px; margin: 0 auto; padding: 0 16px 72px; font-family: Inter, sans-serif; font-weight: 500; color: ${Vu}; }
24        .clc-sec { padding: 36px 0; border-top: 1px solid ${Uu}; }
25        .clc-sec:first-child { border-top: 0; padding-top: 8px; }
26        .clc-h2 { font-family: Fraunces, serif; font-weight: 600; font-size: 28px; line-height: 1.2; color: ${Bu}; margin-bottom: 12px; }
27        .clc-h3 { font-family: Inter, sans-serif; font-weight: 600; font-size: 16px; color: ${Bu}; margin-bottom: 6px; }
28        .clc-p { font-size: 15px; line-height: 1.6; color: ${Vu}; }
29        .clc-link { color: ${Hu}; font-weight: 600; }
30        .clc-link:hover { text-decoration: underline; }
31        .clc-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
32        .clc-card { background: #FFFFFF; border: 1px solid ${Uu}; border-radius: 16px; padding: 20px; }
33        .clc-ul { list-style: disc; padding-left: 18px; font-size: 14.5px; line-height: 1.6; }
34        .clc-ul li { margin-top: 4px; }
35        .clc-steps { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 16px; }
36        .clc-steps li { display: flex; gap: 14px; align-items: flex-start; }
37        .clc-num { flex: 0 0 32px; height: 32px; border-radius: 50%; border: 1px solid ${Uu}; background: #FFFFFF; color: ${Hu}; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
38        .clc-table-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid ${Uu}; border-radius: 16px; background: #FFFFFF; }
39        .clc-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; }
40        .clc-table th, .clc-table td { text-align: left; padding: 12px 14px; border-top: 1px solid ${Uu}; vertical-align: top; }
41        .clc-table thead th, .clc-table thead td { border-top: 0; color: ${Bu}; font-weight: 600; background: #F5F4F0; }
42        .clc-table tbody th { color: ${Bu}; font-weight: 600; }
43        .clc-faq details { border: 1px solid ${Uu}; border-radius: 12px; background: #FFFFFF; padding: 14px 18px; margin-top: 10px; }
44        .clc-faq summary { cursor: pointer; font-weight: 600; color: ${Bu}; font-size: 15.5px; }
45        .clc-faq details .clc-p { margin-top: 10px; }
46        .clc-related { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 12px; }
47        .clc-related-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: ${Hu}; font-weight: 600; font-size: 15px; padding: 16px 18px; }
48        .clc-related-card:hover { border-color: ${Hu}; }
49        @media (max-width: 767px) { .clc-cols { grid-template-columns: 1fr; } .clc-h2 { font-size: 24px; } }
50      `})]})}var Qu=R(`/ai-employee-calculator`)({head:()=>({meta:[{title:`AI Employee Cost Calculator | Front Desk & Intake Savings`},{name:`description`,content:`Before you hire another front desk or intake person, see what those calls cost today and what AI would cost instead. Free 3-minute, role-by-role assessment.`},{property:`og:title`,content:`Before You Hire Another Front Desk Person, Run This Number.`},{property:`og:description`,content:`Before you hire another front desk or intake person, see what those calls cost today and what AI would cost instead. Free 3-minute, role-by-role assessment.`},{name:`twitter:title`,content:`Before You Hire Another Front Desk Person, Run This Number.`},{name:`twitter:description`,content:`Before you hire another front desk or intake person, see what those calls cost today and what AI would cost instead. Free 3-minute, role-by-role assessment.`},{property:`og:url`,content:`https://legacybusinesspartners.ai/ai-employee-calculator`}],links:[{rel:`canonical`,href:`https://legacybusinesspartners.ai/ai-employee-calculator`}],scripts:[{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`FAQPage`,mainEntity:Z.map(e=>
50({"@type":`Question`,name:e.q,acceptedAnswer:{"@type":`Answer`,text:e.a}}))})},{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`WebApplication`,name:`AI Employee Calculator`,url:`https://legacybusinesspartners.ai/ai-employee-calculator`,applicationCategory:`BusinessApplication`,operatingSystem:`Web`,offers:{"@type":`Offer`,price:`0`,priceCurrency:`USD`},publisher:{"@type":`Organization`,name:`Legacy Business Partners`,url:`https://legacybusinesspartners.ai`}})},{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`BreadcrumbList`,itemListElement:[{"@type":`ListItem`,position:1,name:`Home`,item:`https://legacybusinesspartners.ai/`},{"@type":`ListItem`,position:2,name:`Tools`,item:`https://legacybusinesspartners.ai/tools`},{"@type":`ListItem`,position:3,name:`AI Employee Calculator`,item:`https://legacybusinesspartners.ai/ai-employee-calculator`}]})}]}),component:z(()=>E(()=>import(`./ai-employee-calculator-C_vX2ey2.js`),__vite__mapDeps([19,1,2,3,4,5,7,20,21,16])),`component`)});new Intl.NumberFormat(`en-US`,{style:`currency`,currency:`USD`,maximumFractionDigits:0,minimumFractionDigits:0});var $u=R(`/ai-marketing`)({head:()=>({meta:[{title:`AI Marketing Systems & Advertising | Legacy Partners`},{name:`description`,content:`We build AI marketing systems into your business — paid ads, automation, SEO, and lead generation. 20+ years, $150M+ in client revenue.`},{property:`og:title`,content:`AI Marketing Systems & Advertising | Legacy Partners`},{property:`og:description`,content:`Real marketing infrastructure built into your business. Not an agency. Not a tool. A system that produces leads, sales, and momentum on command.`},{property:`og:url`,content:`/ai-marketing`}],links:[{rel:`canonical`,href:`/ai-marketing`}],scripts:[{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`FAQPage`,mainEntity:[{"@type":`Question`,name:`What is the Legacy Builder Blueprint?`,acceptedAnswer:{"@type":`Answer`,text:`The Legacy Builder Blueprint is our full-system engagement model. We build your AI marketing infrastructure — paid ads, automation, lead generation, and content — all connected and installed directly into your business. Then we train your team to run it internally.`}},{"@type":`Question`,name:`How is this different from hiring a regular marketing agency?`,acceptedA
50nswer:{"@type":`Answer`,text:`Most agencies run campaigns and send you a report. We build systems. When we're done, your business owns the infrastructure — the ad frameworks, the automation workflows, the lead capture, the reporting.`}},{"@type":`Question`,name:`What industries do you work with?`,acceptedAnswer:{"@type":`Answer`,text:`We've built successful systems for hospitality, moving & storage, legal, education, healthcare, real estate, retail, entertainment, and financial services.`}},{"@type":`Question`,name:`How fast can I see results?`,acceptedAnswer:{"@type":`Answer`,text:`Most clients see measurable improvement within the first 30–60 days.`}},{"@type":`Question`,name:`Will my team need to be technically skilled to run the system?`,acceptedAnswer:{"@type":`Answer`,text:`No. Part of our process is training your team at whatever level they're at. We document everything and provide training sessions.`}}]})}]}),component:z(()=>E(()=>import(`./ai-marketing-fpnHgD2z.js`),__vite__mapDeps([22,1,2,3,4,5,7,23,9,24,13])),`component`)}),ed=R(`/ai-receptionist`)({head:()=>({meta:[{title:`AI Receptionist | Never Miss a Call | Legacy Partners`},{name:`description`,content:`AI Receptionist answers calls 24/7, qualifies leads, books appointments, and sends follow-up texts. Live in 7–14 days. From $497/mo.`},{property:`og:title`,content:`AI Receptionist for Small Business | Legacy Business Partners`},{property:`og:description`,content:`Never miss another business call. AI-powered phone answering, lead qualification, and appointment booking — live in 14 days.`},{property:`og:url`,content:`/ai-receptionist`}],links:[{rel:`canonical`,href:`/ai-receptionist`}],scripts:[{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`Product`,name:`AI Receptionist`,brand:{"@type":`Brand`,name:`Legacy Business Partners`},description:`AI-powered receptionist that answers calls, books appointments, and captures leads 24/7 for healthcare, hospitality, and legal businesses.`,aggregateRating:{"@type":`AggregateRating`,ratingValue:`5`,reviewCount:`2`},review:[{"@type":`Review`,reviewRating:{"@type":`Rating`,ratingValue:`5`,bestRating:`5`},author:{"@type":`Person`,name:`Jhoan`},reviewBody:`We launched Legacy Partners last month to handle our after-hours and overflow calls. I didn't think people would talk to an AI, but it's seamless, it answers in under five seconds, books emergency callouts right into our calendar, and forwards high-priority alerts straight to my cell.`},{"@type":`Review`,reviewRating:{"@type":`Rating`,ratingValue:`5`,bestRating:`5`},author:{"@type":`Organization`,name:`Wall Street Law Firm`},reviewBody:`In the first month our case volume tripled — from 6 to 21 — and our AI intake never missed an after-hours call. Attorneys stopped burning billable time on unqualified prospects.`}],offers:[{"@type":`Offer`,name:`Legacy Builder Essentials`,price:`497`,priceCurrency:`USD`,description:`Legacy Builder Essentials — $497/mo + $1,500 setup — 500 minutes included`,priceSpecification:{"@type":`UnitPriceSpecification`,billingPeriod:`Month`}},{"@type":`Offer`,name:`Legacy Builder Pro`,price:`797`,priceCurrency:`USD`,description:`Legacy Builder Pro — $797/mo + $2,000 setup — 1,000 minutes included`,priceSpecification:{"@type":`UnitPriceSpecification`,billingPeriod:`Month`}},{"@type":`Offer`,name:`Legacy Builder Enterprise`,price:`0`,priceCurrency:`USD`,description:`Legacy Builder Enterprise — custom pricing — unlimited minutes, multi-location, custom integrations`,priceSpecification:{"@type":`UnitPriceSpecification`,billingPeriod:`Month`}}]})},{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`FAQPage`,mainEntity:[{"@type":`Question`,name:`What exactly is an AI Receptionist?`,acceptedAnswer:{"@type":`Answer`,text:`An AI Receptionist is a virtual phone agent that answers every incoming call 24/7. It qualifies leads, books appointments directly into your calendar, and sends automated SMS follow-ups. Callers experience a professional, human-sounding agent.`}},{"@type":`Question`,name:`Will it sound like a robot / will callers know it's AI?`,acceptedA
50nswer:{"@type":`Answer`,text:`No. We use natural, conversational voice technology — the same caliber used by Fortune 500 IVRs, tuned to your brand. You pick the voice, tone, name, and personality. Most callers can't tell they're talking to AI, and the ones who can usually don't care because the conversation feels human.`}},{"@type":`Question`,name:`What happens if a caller asks something the AI can't handle?`,acceptedAnswer:{"@type":`Answer`,text:`The AI is trained on your business — services, pricing, hours, FAQs, edge cases. When something falls outside its scope, it gracefully offers to text a team member, transfer the call live, or schedule a callback.`}},{"@type":`Question`,name:`How is this different from an answering service?`,acceptedAnswer:{"@type":`Answer`,text:`Answering services take messages. The Legacy Builder qualifies the lead, books the appointment directly into your calendar, sends the confirmation text, and logs everything to your CRM — in one call.`}},{"@type":`Question`,name:`We already have a receptionist — why would we need this?`,acceptedA
50nswer:{"@type":`Answer`,text:`Your receptionist sleeps, takes lunch, gets sick, and can only handle one call at a time. The AI works 24/7/365, handles unlimited simultaneous calls, and costs a fraction of a single full-time hire.`}},{"@type":`Question`,name:`What's the difference between the plans?`,acceptedAnswer:{"@type":`Answer`,text:`Legacy Builder Essentials is $497/mo + $1,500 setup with 500 minutes. Legacy Builder Pro is $797/mo + $2,000 setup with 1,000 minutes. Legacy Builder Enterprise is custom-priced with unlimited minutes and multi-location support.`}},{"@type":`Question`,name:`What happens if I go over my included minutes?`,acceptedAnswer:{"@type":`Answer`,text:ge.overageAnswer}},{"@type":`Question`,name:`What does setup actually involve / how long does it take?`,acceptedAnswer:{"@type":`Answer`,text:`One 20-minute onboarding call, one shared document with your business details, and one calendar/CRM connection. Our team builds, tests, and tunes everything. You're live in 7–14 days.`}},{"@type":`Question`,name:`What if I'm not tech savvy?`,acceptedA
50nswer:{"@type":`Answer`,text:`You don't have to be. Our team handles the entire build — voice, script, calendar integration, CRM connection, testing. You fill out one onboarding form.`}},{"@type":`Question`,name:`Is there a contract?`,acceptedAnswer:{"@type":`Answer`,text:ge.contractLong}},{"@type":`Question`,name:`What happens if the AI makes a mistake?`,acceptedAnswer:{"@type":`Answer`,text:`Every call is recorded, transcribed, and reviewable. If something goes wrong, we tune the agent within 24 hours — at no charge.`}}]})}]}),component:z(()=>E(()=>import(`./ai-receptionist-DY0tJBqr.js`),__vite__mapDeps([25,1,2,3,4,5,26,7,8,11,24,27,15])),`component`)}),td=R(`/ai-receptionist-for-contractors`)({beforeLoad:()=>{throw je({href:`https://keystoneapp.io/ai-receptionist/contractors`,statusCode:301})}}),nd=R(`/ai-receptionist-for-home-services`)({beforeLoad:()=>{throw je({href:`https://keystoneapp.io/ai-receptionist/home-services`,statusCode:301})}}),rd=R(`/ai-receptionist-for-lawyers`)({beforeLoad:()=>{throw je({to:`/legal`,statusCode:301})}}),id=R(`/ai-receptionist-for-moving-companies`)({beforeLoad:()=>{throw je({href:`https://keystoneapp.io/ai-receptionist/moving`,statusCode:301})}}),ad=R(`/ai-receptionist-for-plumbing`)({beforeLoad:()=>{throw je({href:`https://keystoneapp.io/ai-receptionist/plumbing`,statusCode:301})}}),od=()=>E(()=>import(`./auth-C1tdQrVF.js`),__vite__mapDeps([28,1,29,30,3]));function sd(e){if(!(typeof e!=`string`||e.length===0)&&!(!e.startsWith(`/`)||e.startsWith(`//`)))return e}var cd=R(`/auth`)({validateSearch:e=>({next:sd(e.next)}),beforeLoad:async({search:e})=>{let{data:t}=await T.auth.getSession();if(t.session)throw je({href:e.next??`/`})},component:z(od,`component`)}),ld=R(`/book`)({head:()=>({meta:[{title:`Redirecting to booking`},{name:`robots`,content:`noindex, nofollow`}]}),component:z(()=>E(()=>import(`./book-M8GtbMuK.js`),__vite__mapDeps([31,1,3,5])),`component`)}),ud=R(`/cpa-leak-audit`)({head:()=>({meta:[{title:`The CPA Leak Audit — Legacy Business Partners`},{name:`description`,content:`Your ads aren't the problem. The leak after the click is. Find your biggest CPA leak for $99, or unlock the full 7-zone audit for $1,500.`},{property:`og:title`,content:`The CPA Leak Audit — Legacy Business Partners`},{property:`og:description`,content:`Find where every ad dollar leaks after the click. $99 Snapshot or $1,500 full audit.`},{property:`og:type`,content:`website`},{name:`twitter:card`,content:`summary_large_image`},{name:`robots`,content:`noindex,follow`}],links:[{rel:`canonical`,href:`/cpa-leak-audit`}]}),component:z(()=>E(()=>import(`./cpa-leak-audit-DEB5sfXc.js`),__vite__mapDeps([32,1,3,5])),`component`)}),dd=[{name:`CineListing GPT`,tag:`REAL ESTATE`,desc:`Turns ordinary property details into cinematic, scroll-stopping real-estate listings that make homes feel unmissable.`,url:`https://chatgpt.com/g/g-68c452c943a4819196a3fcda905c66a3-cinelisting-gpt`,Icon:J},{name:`GEO/AEO/SEO Legacy Builder Pro`,tag:`AI SEARCH & SEO`,desc:`Optimizes your content to get found and cited across Google, AI Overviews, and answer engines like ChatGPT.`,url:`https://chatgpt.com/g/g-68c88a1db2348191bf23a98ca8df800b-geo-aeo-seo-legacy-builder-pro`,Icon:ue},{name:`AI Video Ads Legacy Builder`,tag:`ADVERTISING`,desc:`Generates high-converting video ad scripts and concepts built for AI video tools, ready to shoot or generate.`,url:`https://chatgpt.com/g/g-68c89b458fdc819192ec6f9d26eb4073-ai-video-ads-legacy-builder`,Icon:Xl},{name:`Event Marketing Pro GPT`,tag:`EVENTS`,desc:`Builds full promotional campaigns that fill seats — from pre-event buzz to last-call urgency.`,url:`https://chatgpt.com/g/g-68d47fb5e3288191a79fa222ce4b0611-event-marketing-pro-gpt`,Icon:fe},{name:`The Financial Marketing Guru`,tag:`FINANCE`,desc:`Compliant, trust-building marketing copy for advisors, planners, and financial services.`,url:`https://chatgpt.com/g/g-68d47edef344819195ccc01fb40acd1d-the-financial-marketing-guru`,Icon:Yl},{name:`Fitness Marketing Consultant GPT`,tag:`FITNESS`,desc:`Member-getting campaigns for gyms, trainers, and studios that turn interest into sign-ups.`,url:`https://chatgpt.com/g/g-68d47df230d0819180aeac00a6cc32fd-fitness-marketing-consultant-gpt`,Icon:Kl},{name:`Digital Streaming Platform Ad Architect`,tag:`STREAMING & CTV`,desc:`Designs ad strategy and creative for streaming and connected-TV placements.`,url:`https://chatgpt.com/g/g-68cc737a131c8191b6a2e7164f9c3dd6-digital-streaming-platform-ad-architect`,Icon:ql},{name:`The Ecommerce Revenue Booster GPT`,tag:`ECOMMERCE`,desc:`Diagnoses leaks and writes the copy that lifts store conversion and average order value.`,url:`https://chatgpt.com/g/g-68c97d1cba7881919af2a7a18d9da376-the-ecommerce-revenue-booster-gpt`,Icon:Jl}],fd=()=>E(()=>import(`./free-gpts-DURxDG0o.js`),__vite__mapDeps([33,1,4,2,3,5,34,35,21])),pd=`https://legacybusinesspartners.ai/free-gpts`,md=`Free Custom GPTs for Marketers & Business Owners | Legacy Business Partners`,hd=`A free library of 8 specialized custom GPTs for real estate, SEO, video ads, events, finance, fitness, streaming, and ecommerce marketing. Unlock all free.`,gd=R(`/free-gpts`)({head:()=>({meta:[{title:md},{name:`description`,content:hd},{property:`og:title`,content:md},{property:`og:description`,content:hd},{property:`og:url`,content:pd},{property:`og:type`,content:`website`},{name:`twitter:card`,content:`summary_large_image`}],links:[{rel:`canonical`,href:pd}],scripts:[{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`CollectionPage`,name:`Free Custom GPTs Library`,url:pd,description:hd,mainEntity:{"@type":`ItemList`,itemListElement:dd.map((e,t)=>({"@type":`ListItem`,position:t+1,item:{"@type":`SoftwareApplication`,name:e.name,applicationCategory:e.tag,description:e.desc,url:e.url,offers:{"@type":`Offer`,price:`0`,priceCurrency:`USD`}}}))}})}]}),component:z(fd,`component`)}),_d=[{question:`Will patients know it is AI?`,answer:`They may. A responsible greeting should identify the agent clearly enough that a patient is not misled, and the practice should decide how disclosure fits its policy and local requirements. The goal is a clear, useful conversation, not pretending the caller reached a person.`},{question:`What happens when the agent does not know the answer?`,answer:`It should not improvise. The workflow would acknowledge the limit, collect only the information needed for follow-up, and route the question to an approved person or callback queue.`},{question:`What about an actual emergency?`,answer:`The agent is not a substitute for emergency services or clinical judgment. The practice would define clear escalation language and routing rules so urgent calls are directed to the on-call line or emergency services as appropriate.`},{question:`Does this replace my front desk staff?`,answer:`No. It would handle the repetitive phone workflow the practice chooses to delegate, while staff retain the conversations, judgment, and patient support that require a person.`},{question:`What if a patient starts describing symptoms?`,answer:`The workflow would avoid diagnosis and follow the practice's approved escalation protocol. Because volunteered symptoms may be protected health information, recording, transcription, retention, and access would need to match the deployment's documented compliance scope.`}],vd=()=>E(()=>import(`./healthcare-5feV5h3L.js`),__vite__mapDeps([36,1,4,2,3,5,12])),yd=`https://legacybusinesspartners.ai/healthcare`,Q=`AI Receptionist for Medical Practices & Home Health | Legacy Business Partners`,bd=`AI receptionist call handling for medical, dental, home health, behavioral health, and clinic teams, with careful compliance scoping.`,xd=_d.map(e=>
50({"@type":`Question`,name:e.question,acceptedAnswer:{"@type":`Answer`,text:e.answer}})),Sd=R(`/healthcare`)({head:()=>({meta:[{title:Q},{name:`description`,content:bd},{property:`og:title`,content:Q},{property:`og:description`,content:bd},{property:`og:type`,content:`website`},{property:`og:url`,content:yd},{name:`twitter:card`,content:`summary`},{name:`twitter:title`,content:Q},{name:`twitter:description`,content:bd}],links:[{rel:`canonical`,href:yd},{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=Fraunces:opsz,[email protected],600&family=IBM+Plex+Mono:wght@500;600&display=swap`}],scripts:[{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`Service`,name:`AI Receptionist for Medical Practices and Home Health`,serviceType:`Healthcare call handling and appointment scheduling`,description:bd,url:yd,areaServed:`United States`,audience:{"@type":`Audience`,audienceType:`Medical practices, dental practices, home health agencies, behavioral health practices, and clinics`},provider:{"@type":`Organization`,name:`Legacy Business Partners`}})},{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`FAQPage`,mainEntity:xd})}]}),component:z(vd,`component`)}),Cd=`September 2026`,wd=[{question:`Is an AI receptionist HIPAA compliant?`,answer:`An AI receptionist is not compliant merely because a product page says so. A compliant deployment would require appropriate safeguards, documented operating procedures, and signed Business Associate Agreements with every service that handles protected health information.`},{question:`What is a BAA and who needs to sign one?`,answer:`A Business Associate Agreement is a contract that defines how a service provider may handle protected health information for a covered entity or another business associate. Each service in the call path that creates, receives, maintains, or transmits that information may need to be covered, including relevant subprocessors.`},{question:`Is a HIPAA compliant virtual receptionist the same as an AI receptionist?`,answer:`Not necessarily. A virtual receptionist may be a person, a managed answering service, or software, while an AI receptionist uses automated speech and language systems; either model requires its own review of people, technology, contracts, and data handling.`},{question:`Can an AI receptionist handle patient information?`,answer:`It can be designed to handle patient information when the deployment has the required agreements, safeguards, access controls, and documented workflows. The information collected should be limited to what the approved workflow genuinely needs.`},{question:`Is an AI receptionist HIPAA compliant for a dental practice?`,answer:`The same analysis applies to a dental practice when calls involve protected health information. The practice would need to verify the full vendor chain, sign the necessary agreements, configure retention and access controls, and train staff on the approved workflow.`},{question:`What happens to call recordings?`,answer:`That depends on configuration and contract terms. Before launch, a practice should know whether recordings are created, where every copy is stored, who can access them, how long they remain, and how deletion is confirmed.`},{question:`Does HIPAA apply if the agent only books appointments?`,answer:`It can. A name, callback number, appointment request, or volunteered clinical detail may become protected health information when connected to care, so a booking-only workflow does not automatically remove HIPAA obligations.`},{question:`What is the difference between HIPAA eligible and HIPAA compliant?`,answer:`HIPAA eligible usually means a service can support a qualifying configuration or agreement. Compliance describes the complete deployment and its ongoing operation, including contracts, settings, access, training, policies, and actual use.`}],Td=()=>E(()=>import(`./hipaa-compliant-ai-receptionist-BGBXtjWG.js`),__vite__mapDeps([37,1,4,2,3,5,34,38,12])),Ed=`https://legacybusinesspartners.ai/hipaa-compliant-ai-receptionist`,Dd=`HIPAA Compliant AI Receptionist: What It Actually Requires | Legacy Business Partners`,Od=`A precise guide to BAAs, vendor chains, recordings, retention, and deployment scope for a HIPAA compliant AI receptionist.`,kd=`2026-09-17`,Ad=new Date(`1 ${Cd} UTC`).toISOString().slice(0,10),jd=wd.map(e=>
50({"@type":`Question`,name:e.question,acceptedAnswer:{"@type":`Answer`,text:e.answer}})),Md=R(`/hipaa-compliant-ai-receptionist`)({head:()=>({meta:[{title:Dd},{name:`description`,content:Od},{name:`robots`,content:`index,follow`},{property:`og:title`,content:Dd},{property:`og:description`,content:Od},{property:`og:type`,content:`article`},{property:`og:url`,content:Ed},{name:`twitter:card`,content:`summary`},{name:`twitter:title`,content:Dd},{name:`twitter:description`,content:Od}],links:[{rel:`canonical`,href:Ed},{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=Fraunces:opsz,[email protected],600&family=IBM+Plex+Mono:wght@500;600&display=swap`}],scripts:[{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`Article`,headline:`Is an AI receptionist actually HIPAA compliant?`,description:Od,mainEntityOfPage:Ed,author:{"@type":`Organization`,name:`Legacy Business Partners`},publisher:{"@type":`Organization`,name:`Legacy Business Partners`},datePublished:kd,dateModified:Ad})},{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`FAQPage`,mainEntity:jd})}]}),component:z(Td,`component`)}),$=()=>E(()=>import(`./hospitality-DWgdaH4x.js`),__vite__mapDeps([39,1,4,2,3,5,26,7,20,8,40,16])),Nd=`Legacy Business Partners`,Pd=`AI Receptionist for Restaurants & Hotels | Legacy Business Partners`,Fd=`AI receptionist for restaurants, hotels, and venues. Answers every call, captures reservations and inquiries, and books guests 24/7 — so a ringing phone during the rush never becomes a lost table or empty room.`,Id=[{q:`Can it take reservations?`,a:`Yes — it captures reservation details and books or routes them into your system.`},{q:`Does it work during peak hours and after close?`,a:`Yes — 24/7, especially valuable during rushes and after hours when calls would otherwise be missed.`},{q:`Can it handle special requests?`,a:`Yes — it captures party size, dates, and special requests and routes them to your team.`},{q:`Is it just for restaurants?`,a:`No — restaurants, hotels, venues, and other hospitality businesses use it to capture every booking.`},{q:`How quickly does it launch?`,a:`Most venues are live within days.`}],Ld=R(`/hospitality`)({head:()=>({meta:[{title:Pd},{name:`description`,content:Fd},{property:`og:title`,content:Pd},{property:`og:description`,content:Fd},{property:`og:url`,content:`https://legacybusinesspartners.ai/hospitality`}],links:[{rel:`canonical`,href:`https://legacybusinesspartners.ai/hospitality`}],scripts:[{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`Service`,serviceType:`AI Receptionist`,name:`AI Receptionist for Restaurants & Hotels`,description:`AI receptionist for restaurants, hotels, and venues — answers every call, captures reservations and inquiries, and books guests 24/7.`,areaServed:`United States`,audience:{"@type":`Audience`,audienceType:`Hospitality`},provider:{"@type":`Organization`,name:Nd}})},{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`FAQPage`,mainEntity:Id.map(({q:e,a:t})=>({"@type":`Question`,name:e,acceptedAnswer:{"@type":`Answer`,text:t}}))})}]}),component:z($,`component`)}),Rd=()=>E(()=>import(`./legal-BHGi129J.js`),__vite__mapDeps([41,1,4,2,3,5,26,7,20,8,40,16])),zd=`Legacy Business Partners`,Bd=`AI Receptionist & Client Intake for Law Firms | Legacy Business Partners`,Vd=`AI receptionist and client intake for law firms and solo/small practices. Answers every prospective-client call, qualifies the matter, and books the consultation — 24/7.`,Hd=[{q:`Does it handle client intake?`,a:`Yes — it captures a structured intake (matter type, urgency, and key details) and books qualified consultations.`},{q:`Can it screen for conflicts or practice areas?`,a:`It routes and qualifies per rules you set (e.g., practice areas you do/don't take), flagging for your team's review — it supplements, not replaces, your conflict-check process.`},{q:`Does it work after hours?`,a:`Yes, 24/7 — often when the most urgent legal calls come in.`},{q:`Is it just for solo firms?`,a:`No — solo, small, and mid-size firms use it to make sure no prospective client reaches voicemail.`},{q:`How fast is setup?`,a:`Most firms are live within days.`}],Ud=R(`/legal`)({head:()=>({meta:[{title:Bd},{name:`description`,content:Vd},{property:`og:title`,content:Bd},{property:`og:description`,content:Vd},{property:`og:url`,content:`https://legacybusinesspartners.ai/legal`}],links:[{rel:`canonical`,href:`https://legacybusinesspartners.ai/legal`}],scripts:[{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`Service`,serviceType:`AI Receptionist`,name:`AI Receptionist & Client Intake for Law Firms`,description:`AI receptionist and client intake for law firms — answers prospective-client calls, captures structured matter details, qualifies the case, and books consultations 24/7.`,areaServed:`United States`,audience:{"@type":`Audience`,audienceType:`Legal`},provider:{"@type":`Organization`,name:zd}})},{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`FAQPage`,mainEntity:Hd.map(({q:e,a:t})=>
50({"@type":`Question`,name:e,acceptedAnswer:{"@type":`Answer`,text:t}}))})}]}),component:z(Rd,`component`)}),Wd=R(`/marketing-spend-diagnostic`)({head:()=>({meta:[{title:`Marketing Spend Diagnostic — Legacy Business Partners`},{name:`description`,content:`Self-serve diagnostic that shows where your marketing dollars are leaking, what to cut, and where to reallocate. $47, instant PDF report.`},{property:`og:title`,content:`Marketing Spend Diagnostic — Legacy Business Partners`},{property:`og:description`,content:`Self-serve diagnostic that shows where your marketing dollars are leaking, what to cut, and where to reallocate.`}],links:[{rel:`canonical`,href:`/marketing-spend-diagnostic`}]}),component:z(()=>E(()=>import(`./marketing-spend-diagnostic-Dc8cikec.js`),__vite__mapDeps([42,1,4,2,3,5,43,34,44,35,27])),`component`)}),Gd=()=>E(()=>import(`./partner-engine-BhzJOAF_.js`),__vite__mapDeps([45,1,3,5])),Kd=`PartnerEngine — Legacy Business Partners`,qd=`Find out the most you can profitably spend to win a customer, and what a referral partner can be paid inside that number. Free, no signup to see your result.`,Jd=`https://legacybusinesspartners.ai/partner-engine`,Yd=R(`/partner-engine`)({head:()=>({meta:[{title:Kd},{name:`description`,content:qd},{property:`og:title`,content:Kd},{property:`og:description`,content:qd},{property:`og:url`,content:Jd},{property:`og:type`,content:`website`},{name:`twitter:card`,content:`summary_large_image`},{name:`twitter:title`,content:Kd},{name:`twitter:description`,content:qd}],links:[{rel:`canonical`,href:Jd},{rel:`stylesheet`,href:`https://fonts.googleapis.com/css2?family=Fraunces:opsz,[email protected],500;9..144,600&family=IBM+Plex+Mono:wght@400;500&family=Inter:wght@400;500;600&display=swap`}]}),component:z(Gd,`component`)}),Xd=R(`/partners`)({head:()=>({meta:[{title:`Legacy Builder Partner Program | Earn 25% Recurring`},{name:`description`,content:`Sell the AI Employee. Keep 25% of recurring revenue, for life. You bring the relationships — we build, onboard, and service every client.`},{property:`og:title`,content:`Legacy Builder Partner Program — 25% Recurring, for Life`},{property:`og:description`,content:`You close. We build & service. You keep 25% of MRR every month, for the life of every account.`},{property:`og:url`,content:`/partners`}],links:[{rel:`canonical`,href:`/partners`}],scripts:[{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`FAQPage`,mainEntity:[{"@type":`Question`,name:`When and how do I get paid?`,acceptedA
50nswer:{"@type":`Answer`,text:`25% of recurring revenue, paid monthly for the life of every active account. Setup-fee commission (25%) is paid up front. Referral fees ($500 flat) pay out when the referred client signs.`}},{"@type":`Question`,name:`Do I have to handle support or tech?`,acceptedAnswer:{"@type":`Answer`,text:`No. You close the relationship — we build, onboard, and service everything. That's the whole model.`}},{"@type":`Question`,name:`What if my client cancels?`,acceptedAnswer:{"@type":`Answer`,text:`Your recurring share continues as long as they stay active. No clawbacks on commission already paid.`}},{"@type":`Question`,name:`Can I white-label it?`,acceptedAnswer:{"@type":`Answer`,text:`Co-branded and white-glove handoff options available. You decide how visible Legacy Business Partners is.`}}]})}]}),component:z(()=>E(()=>import(`./partners-BrksUIyM.js`),__vite__mapDeps([46,1,4,2,3,5,7,12,47,16])),`component`)}),Zd={name:`Legacy Business Partners`,legalEntity:`Legacy Business Partners`,email:`[email protected]`,site:`legacybusinesspartners.ai`,effectiveDate:`January 1, 2026`},Qd=()=>E(()=>import(`./privacy-uNej-hPA.js`),__vite__mapDeps([48,1,2,3,4,5,21,49])),$d=`https://${Zd.site}/privacy`,ef=`Privacy Policy | Legacy Business Partners`,tf=`How Legacy Business Partners collects, uses, and protects your personal information.`,nf=R(`/privacy`)({head:()=>({meta:[{title:ef},{name:`description`,content:tf},{property:`og:title`,content:ef},{property:`og:description`,content:tf},{property:`og:url`,content:$d},{property:`og:type`,content:`website`},{name:`twitter:title`,content:ef},{name:`twitter:description`,content:tf}],links:[{rel:`canonical`,href:$d}]}),component:z(Qd,`component`)}),rf=R(`/resources`)({head:()=>({meta:[{title:`Free Marketing Resources | Legacy Business Partners`},{name:`description`,content:`13 free AI marketing guides, checklists, workbooks, and toolkits built from 20+ years of campaign experience. No credit card required.`},{property:`og:title`,content:`Free Marketing Resources | Legacy Business Partners`},{property:`og:description`,content:`13 free AI marketing resources — books, checklists, workbooks, assessments, and more. Built by James Marques Robinson from 20+ years of real client work.`},{property:`og:url`,content:`/resources`}],links:[{rel:`canonical`,href:`/resources`}],scripts:[{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`CollectionPage`,name:`Free Marketing Resources`,description:`13 free AI marketing guides, checklists, workbooks, and toolkits.`,url:`https://legacybusinesspartners.ai/resources`})}]}),component:z(()=>E(()=>import(`./resources-gV-x-47p.js`),__vite__mapDeps([50,1,2,3,4,5,51,38,44,23,35,47,14,16])),`component`)}),af=R(`/results`)({head:()=>({meta:[{title:`Client Results & Case Studies | Legacy Business Partners`},{name:`description`,content:`Real campaign dashboards. Real numbers. $150M+ in client revenue, $935K in a single month, $142K concert gross sales, 28 leads in one day. See the proof.`},{property:`og:title`,content:`Real Results | Legacy Business Partners`},{property:`og:description`,content:`Every screenshot, every stat, every number on this page is from an actual client campaign. No mockups. No projections. Just proof.`},{property:`og:url`,content:`/results`}],links:[{rel:`canonical`,href:`/results`}],scripts:[{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`CollectionPage`,name:`Client Results & Case Studies`,description:`Real campaign dashboards and case studies from Legacy Business Partners clients.`,url:`https://legacybusinesspartners.ai/results`})}]}),component:z(()=>E(()=>import(`./results-GCM1cVCR.js`),__vite__mapDeps([52,1,2,3,4,5])),`component`)}),of=()=>E(()=>import(`./survey-BrVY1IjP.js`),__vite__mapDeps([53,1,4,2,3,5])),sf=`https://legacybusinesspartners.ai/survey`,cf=`2-Minute Homeowner Phone Habits Survey | Legacy Business Partners`,lf=`A short, anonymous 2-minute survey on how homeowners react when service businesses don't answer the phone.`,uf=R(`/survey`)({head:()=>({meta:[{title:cf},{name:`description`,content:lf},{name:`robots`,content:`noindex, follow`},{property:`og:title`,content:cf},{property:`og:description`,content:lf},{property:`og:url`,content:sf},{property:`og:type`,content:`website`},{name:`twitter:card`,content:`summary`},{name:`twitter:title`,content:cf},{name:`twitter:description`,content:lf}],links:[{rel:`canonical`,href:sf}]}),component:z(of,`component`)}),df={name:`Legacy Business Partners`,legalEntity:`Legacy Business Partners`,email:`[email protected]`,site:`legacybusinesspartners.ai`,effectiveDate:`January 1, 2026`,governingLaw:`State of New Jersey`},ff=()=>E(()=>import(`./terms-DeDjmiwz.js`),__vite__mapDeps([54,1,2,3,4,5,51,21,10,49])),pf=`https://${df.site}/terms`,mf=`Terms of Service | Legacy Business Partners`,hf=`Terms of Service for Legacy Business Partners websites, AI receptionist services, and marketing systems.`,gf=R(`/terms`)({head:()=>({meta:[{title:mf},{name:`description`,content:hf},{property:`og:title`,content:mf},{property:`og:description`,content:hf},{property:`og:url`,content:pf},{property:`og:type`,content:`website`},{name:`twitter:title`,content:mf},{name:`twitter:description`,content:hf}],links:[{rel:`canonical`,href:pf}]}
50),component:z(ff,`component`)}),_f=R(`/tools`)({head:()=>({meta:[{title:`AI Marketing Tools — Legacy Business Partners`},{name:`description`,content:`Practical AI marketing tools that use your real numbers — not generic benchmarks. AI Employee Calculator, Marketing Spend Diagnostic, and CPA Leak Audit.`},{property:`og:title`,content:`AI Marketing Tools — Legacy Business Partners`},{property:`og:description`,content:`Practical AI marketing tools that use your real numbers — not generic benchmarks.`}],links:[{rel:`canonical`,href:`/tools`}]}),component:z(()=>E(()=>import(`./tools-7QdrKNId.js`),__vite__mapDeps([55,1,2,3,4,5])),`component`)}),vf=[{slug:`is-a-live-answering-service-worth-it`,title:`Is a Live Answering Service Worth It? Cost, ROI & Better Alternatives`,excerpt:`The real costs, pros, cons, and ROI of live answering services — plus a side-by-side comparison with AI receptionists for contractors, home services, legal, and medical businesses.`,category:`Buyer's Guide`,readTime:`18 min read`,date:`June 2026`},{slug:`ai-receptionist-vs-virtual-assistant`,title:`AI Receptionist vs Virtual Assistant: Which One Is Right for Your Business?`,excerpt:`Side-by-side comparison of AI receptionists and virtual assistants — cost, availability, scalability, ROI, and which solution wins for healthcare, hospitality, and legal businesses.`,category:`Buyer's Guide`,readTime:`16 min read`,date:`June 2026`}],yf=()=>E(()=>import(`./blog.index-CcTbn8rl.js`),__vite__mapDeps([56,1,2,3,4,5,16])),bf=`https://legacybusinesspartners.ai/blog`,xf=`Blog | Legacy Business Partners`,Sf=`Growth playbooks, AI receptionist strategy, and lead-recovery guides for healthcare, hospitality, and legal businesses.`,Cf=R(`/blog/`)({head:()=>({meta:[{title:xf},{name:`description`,content:Sf},{property:`og:title`,content:xf},{property:`og:description`,content:Sf},{property:`og:url`,content:bf}],links:[{rel:`canonical`,href:bf}],scripts:[{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`Blog`,name:`Legacy Business Partners Blog`,description:Sf,url:bf,blogPost:vf.map(e=>({"@type":`BlogPosting`,headline:e.title,url:`${bf}/${e.slug}`}))})}]}),component:z(yf,`component`)}),wf=[{q:`Is an AI receptionist cheaper than a virtual assistant?`,a:`Yes. A typical virtual assistant costs $2,400–$4,800 per month at 30–40 hours per week, while a modern AI receptionist starts around $497/month for unlimited calls and 24/7 coverage. Cost per answered call is usually 80–95% lower with an AI receptionist.`},{q:`Can an AI receptionist answer calls 24/7?`,a:`Yes. AI receptionists answer every call instantly — including evenings, weekends, holidays, and during call spikes — without overtime, sick days, or shift coverage gaps. Virtual assistants only w
50ork scheduled hours.`},{q:`Can an AI receptionist book appointments?`,a:`Yes. AI receptionists integrate with calendars and field-service software (Google Calendar, ServiceTitan, Housecall Pro, Jobber, HubSpot) and book qualified appointments live during the call, then send SMS confirmations.`},{q:`Can an AI receptionist transfer calls?`,a:`Yes. AI receptionists route calls to the right person or department, escalate emergencies to an on-call tech, and warm-transfer with caller context already captured.`},{q:`Do customers know they're speaking with an AI receptionist?`,a:`Most modern voice AI sounds natural enough that callers focus on getting their problem solved. Best practice is to disclose when asked and to use a friendly, branded greeting.`},{q:`Can an AI receptionist qualify leads?`,a:`Yes. AI receptionists capture service type, urgency, budget signals, address, and timeline — then push qualified leads to your CRM and disqualify spam or solicitor calls automatically.`},{q:`Does an AI receptionist integrate with CRMs?`,a:`Yes. Leading AI receptionists integrate with HubSpot, Salesforce, ServiceTitan, Housecall Pro, Jobber, Pipedrive, Zoho, and most major CRMs via native connectors or Zapier/webhooks.`},{q:`What industries benefit most from AI receptionists?`,a:`Inbound-call-driven businesses: contractors, HVAC, plumbing, roofing, electrical, dentists, medical practices, law firms, med spas, real estate offices, and home-service businesses — anywhere a missed call equals lost revenue.`},{q:`Can an AI receptionist replace office staff?`,a:`It replaces the call-answering portion of the job, not the human relationships. Most growing businesses pair an AI receptionist for inbound calls with a virtual assistant or in-house admin for executive support and complex tasks.`},{q:`What is the ROI of an AI receptionist?`,a:`For most service businesses, recovering even 5–10 missed jobs per month at an average ticket of $400–$1,500 returns 5–20x the monthly cost. Inbound-heavy contractors often see 50–150x ROI.`},{q:`Can a virtual assistant do everything an AI receptionist does?`,a:`No. Virtual assistants don't scale to handle simultaneous calls, don't work 24/7, and have human response delays. They excel at admin work, email, and relationship management — not high-volume call answering.`},{q:`What's the difference between an AI receptionist and an AI answering service?`,a:`An AI answering service typically just takes a message. A modern AI receptionist holds a real conversation, qualifies the caller, books the appointment in your calendar, and pushes the lead into your CRM — replacing both voicemail and a human receptionist.`},{q:`Is an AI receptionist secure and HIPAA-friendly?`,a:`Leading AI receptionist platforms offer HIPAA-aligned configurations for medical, dental, and legal use, including encrypted call recording, audit logs, and BAA agreements where required.`},{q:`Can I use an AI receptionist alongside my existing team?`,a:`Yes. Most businesses deploy AI as the first responder — catching after-hours calls, overflow, and spikes — while routing complex calls to humans during business hours. This hybrid model is the highest-ROI configuration.`},{q:`How fast can an AI receptionist be set up?`,a:`Most modern AI receptionists can be live in 24–72 hours. Setup includes script configuration, calendar/CRM integration, call forwarding from your existing number, and a short training round to match your brand voice.`}],Tf=()=>E(()=>import(`./blog.ai-receptionist-vs-virtual-assistant-CHcDHuSu.js`),__vite__mapDeps([57,1,2,3,4,5,34,58,13,16])),Ef=`https://legacybusinesspartners.ai/blog/ai-receptionist-vs-virtual-assistant`,Df=`AI Receptionist vs Virtual Assistant: Which Is Better for Your Business?`,Of=`Compare AI receptionists and virtual assistants side-by-side. Learn costs, benefits, limitations, and which solution delivers the best ROI.`,kf=R(`/blog/ai-receptionist-vs-virtual-assistant`)({head:()=>({meta:[{title:`AI Receptionist vs Virtual Assistant: Which Is Better for Your Business? | LBP`},{name:`description`,content:Of},{property:`og:title`,content:Df},{property:`og:description`,content:Of},{property:`og:type`,content:`article`},{property:`og:url`,content:Ef},{name:`twitter:card`,content:`summary_large_image`}],links:[{rel:`canonical`,href:Ef}],scripts:[{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`Article`,headline:Df,description:Of,author:{"@type":`Organization`,name:`Legacy Business Partners`},publisher:{"@type":`Organization`,name:`Legacy Business Partners`},datePublished:`2026-06-20`,dateModified:`2026-06-20`,mainEntityOfPage:Ef})},{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`FAQPage`,mainEntity:wf.map(e=>
50({"@type":`Question`,name:e.q,acceptedAnswer:{"@type":`Answer`,text:e.a}}))})}]}),component:z(Tf,`component`)}),Af=[{q:`What is a live answering service?`,a:`A live answering service is a third-party company whose human operators answer your business calls when you can't — taking messages, transferring calls, scheduling appointments, and handling after-hours and overflow coverage.`},{q:`How much does a live answering service cost?`,a:`Most live answering services charge $1.00–$1.85 per minute or $30–$300+ per month for small packages. Mid-volume businesses typically spend $300–$1,200/month, and high-volume businesses often exceed $2,000–$5,000/month once overage fees are included.`},{q:`Are answering services worth it for contractors?`,a:`They can be worth it for contractors who consistently miss after-hours calls and don't have in-house coverage. However, contractors with high call volume often find AI receptionists deliver better ROI by answering every call instantly at a flat monthly cost.`},{q:`Can answering services book appointments?`,a:`Yes, most live answering services offer appointment booking, though they typically require access to your calendar and may charge extra for scheduling features or longer call times.`},{q:`Do customers prefer live agents?`,a:`Customers prefer fast, helpful responses over voicemail. A well-designed AI receptionist that answers on the first ring and books appointments live often outperforms a human operator who places callers on hold or takes a message.`},{q:`How many leads are lost through voicemail?`,a:`Industry research consistently shows 70–80% of callers will not leave a voicemail when calling a service business. Most simply hang up and call the next company on Google.`},{q:`What industries benefit most from live answering services?`,a:`Law firms, medical practices, luxury services, and high-touch B2B companies benefit most when human nuance and discretion are required. High-volume service businesses typically benefit more from AI receptionists.`},{q:`What is the difference between an answering service and a receptionist?`,a:`A receptionist (in-house or AI) acts as the front door of your business, holds full conversations, books appointments, and qualifies leads. An answering service typically focuses on message taking and basic call routing.`},{q:`Can AI replace an answering service?`,a:`Yes. Modern AI receptionists can answer calls 24/7, qualify leads, book appointments live, send SMS confirmations, and integrate with your CRM — replacing the core functions of a traditional answering service at a fraction of the cost.`},{q:`What is the ROI of a live answering service?`,a:`ROI depends on missed-call volume and average job value. Capturing even 5–10 extra jobs per month at a $500–$1,500 ticket usually covers the service. However, ROI shrinks as call volume rises because answering services charge per minute.`},{q:`Can an answering service handle emergency calls?`,a:`Yes, most can escalate emergencies to an on-call technician, though response time depends on operator availability and current queue length.`},{q:`Is an AI receptionist cheaper?`,a:`Almost always. AI receptionists typically charge a flat monthly fee (around $497/month) for unlimited calls, while answering services scale linearly with minutes used — making AI receptionists 50–90% cheaper at moderate to high call volumes.`},{q:`How quickly should leads be contacted?`,a:`Studies from Harvard Business Review and InsideSales show that responding to a lead within 5 minutes makes you 100x more likely to qualify the lead than responding within 30 minutes. Speed to lead is the single biggest conversion lever.`},{q:`Can answering services integrate with CRMs?`,a:`Some can, but integrations are often limited and require manual setup. AI receptionists generally offer deeper, native integrations with HubSpot, Salesforce, ServiceTitan, Housecall Pro, Jobber, and others.`},{q:`What is the best alternative to a live answering service?`,a:`For most service-based businesses, an AI receptionist is the strongest alternative — providing 24/7 instant answering, lead qualification, live appointment booking, S
50MS follow-up, and CRM integration at a predictable flat monthly cost.`}],jf=()=>E(()=>import(`./blog.is-a-live-answering-service-worth-it-BpQ3qxmL.js`),__vite__mapDeps([59,1,2,3,4,5,34,58,20,16])),Mf=`https://legacybusinesspartners.ai/blog/is-a-live-answering-service-worth-it`,Nf=`Is a Live Answering Service Worth It? Cost, ROI & Better Alternatives`,Pf=`Thinking about a live answering service? Learn the real costs, benefits, drawbacks, ROI, and whether an AI receptionist is a smarter option.`,Ff=R(`/blog/is-a-live-answering-service-worth-it`)({head:()=>({meta:[{title:`Is a Live Answering Service Worth It? Cost, ROI & Better Alternatives | LBP`},{name:`description`,content:Pf},{property:`og:title`,content:Nf},{property:`og:description`,content:Pf},{property:`og:type`,content:`article`},{property:`og:url`,content:Mf},{name:`twitter:card`,content:`summary_large_image`}],links:[{rel:`canonical`,href:Mf}],scripts:[{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`Article`,headline:Nf,description:Pf,author:{"@type":`Organization`,name:`Legacy Business Partners`},publisher:{"@type":`Organization`,name:`Legacy Business Partners`},datePublished:`2026-06-25`,dateModified:`2026-06-25`,mainEntityOfPage:Mf})},{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`FAQPage`,mainEntity:Af.map(e=>({"@type":`Question`,name:e.q,acceptedAnswer:{"@type":`Answer`,text:e.a}}))})}]}),component:z(jf,`component`)}),If=R(`/case-studies/`)({beforeLoad:()=>{throw je({to:`/`,statusCode:301})}}),Lf=R(`/case-studies/$slug`)({loader:({params:e})=>{let t=ve(e.slug);if(!t)throw ke();return t},head:({loaderData:e})=>{if(!e)return{meta:[]};let t=`https://legacybusinesspartners.ai/case-studies/${e.slug}`,n=`${e.client} — ${e.vertical} Case Study | Legacy Business Partners`,r=e.dek;return{meta:[{title:n},{name:`description`,content:r},{property:`og:title`,content:n},{property:`og:description`,content:r},{property:`og:url`,content:t},{property:`og:type`,content:`article`}],links:[{rel:`canonical`,href:t}],scripts:[{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`Review`,itemReviewed:{"@type":`Service`,name:`AI Receptionist`,provider:{"@type":`Organization`,name:`Legacy Business Partners`}},author:{"@type":`Person`,name:e.testimonial.author},reviewBody:e.testimonial.quote})}]}},notFoundComponent:z(()=>E(()=>import(`./case-studies._slug-CvxZu22F.js`),__vite__mapDeps([60,1,2,3,4,5,61])),`notFoundComponent`),errorComponent:z(()=>E(()=>import(`./case-studies._slug-DE3uMOeB.js`),__vite__mapDeps([62,1])),`errorComponent`),component:z(()=>E(()=>import(`./case-studies._slug-CSa1DcMl.js`),__vite__mapDeps([63,1,2,3,4,5,43,11,61])),`component`)}),Rf=[{slug:`missed-call-report`,title:`The Missed-Call Money Leak`,dek:`How much revenue home-service businesses lose to unanswered calls — merged public-study and proprietary deployment data.`,stat:`$X,XXX`,statLabel:`avg. annual leak per shop`,icon:`PhoneMissed`,published:`2026-XX-XX`,readMins:6},{slug:`answering-services`,title:`The Answering-Service Graveyard`,dek:`Why traditional answering services fail home-service businesses — and what the data says replaces them.`,stat:`XX%`,statLabel:`of calls mishandled`,icon:`Headphones`,published:`2026-XX-XX`,readMins:5}],zf=()=>E(()=>import(`./research.index-CJiihJqX.js`),__vite__mapDeps([64,1,2,3,4,5,12,16])),Bf=`https://legacybusinesspartners.ai/research`,Vf=`Research | Legacy Business Partners`,Hf=`Independent research and first-party call-log analysis on how home-services businesses handle inbound calls, leads, and answering-service coverage. Ungated and citable.`,Uf=R(`/research/`)({head:()=>({meta:[{title:Vf},{name:`description`,content:Hf},{property:`og:title`,content:Vf},{property:`og:description`,content:Hf},{property:`og:url`,content:Bf},{property:`og:type`,content:`website`},{name:`twitter:title`,content:Vf},{name:`twitter:description`,content:Hf}],links:[{rel:`canonical`,href:Bf}],scripts:[{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`CollectionPage`,name:`Legacy Business Partners Research`,description:Hf,url:Bf,publisher:{"@type":`Organization`,name:`Legacy Business Partners`,url:`https://legacybusinesspartners.ai`},hasPart:Rf.map(e=>({"@type":`Article`,headline:e.title,url:`https://legacybusinesspartners.ai/research/${e.slug}`,datePublished:e.published}))})}]}),component:z(zf,`component`)}),Wf=()=>E(()=>import(`./research.missed-call-report-IRtGqeg0.js`),__vite__mapDeps([65,1,2,3,4,5,43,44,66,16])),Gf=`https://legacybusinesspartners.ai/research/missed-call-report`,Kf=`The Missed-Call Money Leak: What Research and Call Logs Say It Costs a Home-Services Business | Legacy Business Partners`,qf=`Independent research shows home-services businesses answer under 40% of calls live. First-party call-log data and a conservative cost model of what the missed-call leak actually costs, fully sourced.`,Jf=`2026-06-30`,Yf=`2026-07-01`,Xf=R(`/research/missed-call-report`)({head:()=>({meta:[{title:Kf},{name:`description`,content:qf},{property:`og:title`,content:Kf},{property:`og:description`,content:qf},{property:`og:url`,content:Gf},{property:`og:type`,content:`article`},{name:`twitter:title`,content:Kf},{name:`twitter:description`,content:qf}],links:[{rel:`canonical`,href:Gf}],scripts:[{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`Article`,headline:`The Missed-Call Money Leak: What Research and Call Logs Say It Costs a Home-Services Business`,description:qf,datePublished:Jf,dateModified:Yf,author:{"@type":`Organization`,name:`Legacy Business Partners`,url:`https://legacybusinesspartners.ai`},publisher:{"@type":`Organization`,name:`Legacy Business Partners`,url:`https://legacybusinesspartners.ai`},mainEntityOfPage:Gf})}]}),component:z(Wf,`component`)}),Zf=()=>E(()=>import(`./research_.answering-services-BzcanKGP.js`),__vite__mapDeps([67,1,2,3,4,5,43,20,66])),Qf=`https://legacybusinesspartners.ai/research/answering-services`,$f=`The Answering-Service Graveyard: What Contractors Really Say About Answering Services | Legacy Business Partners`,ep=`A qualitative analysis of public contractor reviews reveals the core problem with traditional answering services: a message isn't a booking. Full themes and methodology.`,tp=`202
506-06-30`,np=`2026-07-01`,rp=R(`/research_/answering-services`)({head:()=>({meta:[{title:$f},{name:`description`,content:ep},{property:`og:title`,content:$f},{property:`og:description`,content:ep},{property:`og:url`,content:Qf},{property:`og:type`,content:`article`},{name:`twitter:title`,content:$f},{name:`twitter:description`,content:ep}],links:[{rel:`canonical`,href:Qf}],scripts:[{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`Article`,headline:`The Answering-Service Graveyard: What Contractors Really Say About Answering Services`,description:ep,datePublished:tp,dateModified:np,author:{"@type":`Organization`,name:`Legacy Business Partners`,url:`https://legacybusinesspartners.ai`},publisher:{"@type":`Organization`,name:`Legacy Business Partners`,url:`https://legacybusinesspartners.ai`},mainEntityOfPage:Qf})}]}),component:z(Zf,`component`)}),ip=[{text:`Gartner, "Gartner 2026 CMO Spend Survey Finds CMOs Allocate 15.3% of Marketing Budgets to AI," press release, May 11, 2026.`,href:`https://www.gartner.com/en/newsroom/press-releases/2026-05-11-gartner-2026-cmo-spend-survey-finds-cmos-allocate-15-point-3-percent-of-marketing-budgets-to-ai-but-only-30-percent-are-ready-to-scale-ai-capabilities`},{text:`Gartner, "CMO Spend in 2026: Redefining Marketing Investment Under Constraint."`,href:`https://www.gartner.com/en/articles/cmo-spend`},{text:`Marketing Week, "Coke to increase investment in production," November 28, 2013.`,href:`https://www.marketingweek.com/coke-to-increase-investment-in-production/`},{text:`David Skok, "SaaS Metrics 2.0: A Guide to Measuring and Improving What Matters," For Entrepreneurs.`,href:`https://www.forentrepreneurs.com/saas-metrics-2/`}],ap=[{q:`What percentage of revenue should a small business spend on marketing?`,a:`There is no single right percentage. Gartner's 2026 average is 7.8% of revenue, drawn mostly from very large companies. A better way to set a small-business budget is to work backward from what a customer is worth: set a maximum cost per customer, then fund enough spend to hit your new-customer goal at or below that cost.`},{q:`Is 7.8% of revenue right for my business?`,a:`Use it as a reference point. If your budget is far above or below it, check your cost per customer before you change anything. A business that wins customers cheaply can grow on less. A business entering a new market may need more.`},{q:`What is the 70-20-10 rule in marketing?`,a:`It is a budget split popularized by Coca-Cola: 70% to proven channels, 20% to growing promising ones, and 10% to higher-risk tests.`},{q:`What is a good LTV to CAC ratio?`,a:`The common benchmark is 3:1, meaning a customer's lifetime gross profit is at least three times what it cost to acquire them. It comes from subscription software, where David Skok notes the best companies exceed 3 and sometimes reach 7 or 8.`}],op=()=>E(()=>import(`./tools_.marketing-budget-planner-D2vt4QlV.js`),__vite__mapDeps([68,1,2,3,4,5])),sp=`https://legacybusinesspartners.ai/tools/marketing-budget-planner`,cp=`How Much Should You Spend on Marketing in 2027? Free Planner`,lp=`Set your 2027 marketing budget from your own numbers. Sourced benchmarks, a 70-20-10 split, and a customer acquisition cost ceiling in one planner.`,up={"@context":`https://schema.org`,"@graph":[{"@type":`Article`,headline:`2027 Marketing Budget Planner`,description:lp,author:{"@id":`https://legacybusinesspartners.ai/about#james-robinson`},publisher:{"@type":`Organization`,name:`Legacy Business Partners`,url:`https://legacybusinesspartners.ai`},datePublished:`2026-09-28`,dateModified:`2026-09-28`,mainEntityOfPage:sp,citation:ip.map(e=>e.href)},{"@type":`FAQPage`,mainEntity:ap.map(e=>({"@type":`Question`,name:e.q,acceptedAnswer:{"@type":`Answer`,text:e.a}}))}]},dp=R(`/tools_/marketing-budget-planner`)({head:()=>({meta:[{title:cp},{name:`description`,content:lp},{property:`og:title`,content:cp},{property:`og:description`,content:lp},{property:`og:url`,content:sp},{property:`og:type`,content:`article`},{name:`twitter:card`,content:`summary`}],links:[{rel:`canonical`,href:sp}],scripts:[{type:`application/ld+json`,children:JSON.stringify(up)}]}),component:z(op,`component`)}),fp=R(`/tools_/missed-call-calculator`)({head:()=>({meta:[{title:`Missed Call Calculator | What Unanswered Calls Cost Your Practice`},{name:`description`,content:`Calculate what missed calls cost your business using your own numbers. Six inputs, no industry averages, ten minutes.`},{property:`og:title`,content:`Missed Call Calculator | What Unanswered Calls Cost Your Practice`},{property:`og:description`,content:`Calculate what missed calls cost your business using your own numbers. Six inputs, no industry averages, ten minutes.`},{property:`og:url`,content:`https://legacybusinesspartners.ai/tools/missed-call-calculator`},{property:`og:type`,content:`website`}],links:[{rel:`canonical`,href:`https://legacybusinesspartners.ai/tools/missed-call-calculator`}]}),component:z(()=>E(()=>import(`./tools_.missed-call-calculator-CeRznNMB.js`),__vite__mapDeps([69,1,2,3,4,5])),`component`)});function pp(){return T.auth.oauth}
50var mp={minHeight:`100vh`,background:`#F5F4F0`,display:`flex`,alignItems:`center`,justifyContent:`center`,padding:24,fontFamily:`Inter, sans-serif`,fontWeight:500},hp={width:`100%`,maxWidth:420,background:`white`,border:`0.5px solid var(--lbp-border, #D8D3C8)`,borderRadius:14,padding:28,boxShadow:`0 4px 18px rgba(0,0,0,0.04)`},gp={fontSize:20,fontWeight:500,letterSpacing:`-0.02em`,marginBottom:12},_p={fontSize:13,color:`var(--lbp-text2, #3A4A57)`,lineHeight:1.55,marginBottom:8},vp=R(`/.lovable/oauth/consent`)({validateSearch:e=>({authorization_id:typeof e.authorization_id==`string`?e.authorization_id:``}),beforeLoad:async({search:e,location:t})=>{if(!e.authorization_id)throw Error(`Missing authorization_id`);let{data:n}=await T.auth.getSession();if(!n.session)throw je({to:`/auth`,search:{next:t.pathname+t.searchStr}})},loader:async({location:e})=>{let t=new URLSearchParams(e.search).get(`authorization_id`),{data:n,error:r}=await pp().getAuthorizationDetails(t);if(r)throw Error(r.message);let i=n?.redirect_url??n?.redirect_to;if(i&&!n?.client)throw je({href:i});return n},component:z(()=>E(()=>import(`./_._lovable.oauth.consent-DDhOsTLS.js`),__vite__mapDeps([70,1,3])),`component`),errorComponent:z(()=>E(()=>import(`./_._lovable.oauth.consent-PH506BX3.js`),__vite__mapDeps([71,1])),`errorComponent`)}),yp=Mu.update({id:`/`,path:`/`,getParentRoute:()=>X}),bp=Ru.update({id:`/about`,path:`/about`,getParentRoute:()=>X}),xp=Qu.update({id:`/ai-employee-calculator`,path:`/ai-employee-calculator`,getParentRoute:()=>X}),Sp=$u.update({id:`/ai-marketing`,path:`/ai-marketing`,getParentRoute:()=>X}),Cp=ed.update({id:`/ai-receptionist`,path:`/ai-receptionist`,getParentRoute:()=>X}),wp=td.update({id:`/ai-receptionist-for-contractors`,path:`/ai-receptionist-for-contractors`,getParentRoute:()=>X}),Tp=nd.update({id:`/ai-receptionist-for-home-services`,path:`/ai-receptionist-for-home-services`,getParentRoute:()=>X}),Ep=rd.update({id:`/ai-receptionist-for-lawyers`,path:`/ai-receptionist-for-lawyers`,getParentRoute:()=>X}),Dp=id.update({id:`/ai-receptionist-for-moving-companies`,path:`/ai-receptionist-for-moving-companies`,getParentRoute:()=>X}),Op=ad.update({id:`/ai-receptionist-for-plumbing`,path:`/ai-receptionist-for-plumbing`,getParentRoute:()=>X}),kp=cd.update({id:`/auth`,path:`/auth`,getParentRoute:()=>X}),Ap=ld.update({id:`/book`,path:`/book`,getParentRoute:()=>X}),jp=ud.update({id:`/cpa-leak-audit`,path:`/cpa-leak-audit`,getParentRoute:()=>X}),Mp=gd.update({id:`/free-gpts`,path:`/free-gpts`,getParentRoute:()=>X}),Np=Sd.update({id:`/healthcare`,path:`/healthcare`,getParentRoute:()=>X}),Pp=Md.update({id:`/hipaa-compliant-ai-receptionist`,path:`/hipaa-compliant-ai-receptionist`,getParentRoute:()=>X}),Fp=Ld.update({id:`/hospitality`,path:`/hospitality`,getParentRoute:()=>X}),Ip=Ud.update({id:`/legal`,path:`/legal`,getParentRoute:()=>X}),Lp=Wd.update({id:`/marketing-spend-diagnostic`,path:`/marketing-spend-diagnostic`,getParentRoute:()=>X}),Rp=Yd.update({id:`/partner-engine`,path:`/partner-engine`,getParentRoute:()=>X}),zp=Xd.update({id:`/partners`,path:`/partners`,getParentRoute:()=>X}),Bp=nf.update({id:`/privacy`,path:`/privacy`,getParentRoute:()=>X}),Vp=rf.update({id:`/resources`,path:`/resources`,getParentRoute:()=>X}),Hp=af.update({id:`/results`,path:`/results`,getParentRoute:()=>X}),Up=uf.update({id:`/survey`,path:`/survey`,getParentRoute:()=>X}),Wp=gf.update({id:`/terms`,path:`/terms`,getParentRoute:()=>X}),Gp=_f.update({id:`/tools`,path:`/tools`,getParentRoute:()=>X}),Kp=Cf.update({id:`/blog/`,path:`/blog/`,getParentRoute:()=>X}),qp=kf.update({id:`/blog/ai-receptionist-vs-virtual-assistant`,path:`/blog/ai-receptionist-vs-virtual-assistant`,getParentRoute:()=>X}),Jp=Ff.update({id:`/blog/is-a-live-answering-service-worth-it`,path:`/blog/is-a-live-answering-service-worth-it`,getParentRoute:()=>X}),Yp=If.update({id:`/case-studies/`,path:`/case-studies/`,getParentRoute:()=>X}),Xp=Lf.update({id:`/case-studies/$slug`,path:`/case-studies/$slug`,getParentRoute:()=>X}),Zp=Uf.update({id:`/research/`,path:`/research/`,getParentRoute:()=>X}),Qp={IndexRoute:yp,AboutRoute:bp,AiEmployeeCalculatorRoute:xp,AiMarketingRoute:Sp,AiReceptionistRoute:Cp,AiReceptionistForContractorsRoute:wp,AiReceptionistForHomeServicesRoute:Tp,AiReceptionistForLawyersRoute:Ep,AiReceptionistForMovingCompaniesRoute:Dp,AiReceptionistForPlumbingRoute:Op,AuthRoute:kp,BookRoute:Ap,CpaLeakAuditRoute:jp,FreeGptsRoute:Mp,HealthcareRoute:Np,HipaaCompliantAiReceptionistRoute:Pp,Hospital
50ityRoute:Fp,LegalRoute:Ip,MarketingSpendDiagnosticRoute:Lp,PartnerEngineRoute:Rp,PartnersRoute:zp,PrivacyRoute:Bp,ResourcesRoute:Vp,ResultsRoute:Hp,SurveyRoute:Up,TermsRoute:Wp,ToolsRoute:Gp,BlogAiReceptionistVsVirtualAssistantRoute:qp,BlogIsALiveAnsweringServiceWorthItRoute:Jp,CaseStudiesSlugRoute:Xp,ResearchMissedCallReportRoute:Xf.update({id:`/research/missed-call-report`,path:`/research/missed-call-report`,getParentRoute:()=>X}),ResearchAnsweringServicesRoute:rp.update({id:`/research_/answering-services`,path:`/research/answering-services`,getParentRoute:()=>X}),ToolsMarketingBudgetPlannerRoute:dp.update({id:`/tools_/marketing-budget-planner`,path:`/tools/marketing-budget-planner`,getParentRoute:()=>X}),ToolsMissedCallCalculatorRoute:fp.update({id:`/tools_/missed-call-calculator`,path:`/tools/missed-call-calculator`,getParentRoute:()=>X}),BlogIndexRoute:Kp,CaseStudiesIndexRoute:Yp,ResearchIndexRoute:Zp,DotlovableOauthConsentRoute:vp.update({id:`/.lovable/oauth/consent`,path:`/.lovable/oauth/consent`,getParentRoute:()=>X})},$p=X._addFileChildren(Qp),em=()=>kc({routeTree:$p,context:{queryClient:new K},scrollRestoration:!0,defaultPreloadStaleTime:0});async function tm(){let e=await em(),t;if(Jc){let n=await Jc.getOptions();n.serializationAdapters=n.serializationAdapters??[],window.__TSS_START_OPTIONS__=n,t=n.serializationAdapters,e.options.defaultSsr=n.defaultSsr}else t=[],window.__TSS_START_OPTIONS__={serializationAdapters:t};return t.push(Es),e.options.serializationAdapters&&t.push(...e.options.serializationAdapters),e.update({basepath:``,serializationAdapters:t}),e.stores.ids.get().length||await er(e),e}var nm=tm;function rm(){return nm().finally(()=>window.$_TSR?.h())}var im;function am(){return im||=rm(),(0,L.jsx)(As,{promise:im,children:e=>(0,L.jsx)(Mc,{router:e})})}var om=we();(0,I.startTransition)(()=>{(0,om.hydrateRoot)(document,(0,L.jsx)(I.StrictMode,{children:(0,L.jsx)(am,{})}))});export{Xl as C,Nc as D,Gl as E,sc as O,Zl as S,J as T,wd as _,_p as a,cd as b,ip as c,Af as d,wf as f,Cd as g,Zd as h,pp as i,Rf as l,df as m,hp as n,mp as o,vf as p,gp as r,ap as s,vp as t,Lf as u,_d as v,Yl as w,Zu as x,dd as y};

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.