h?(v=h,h=3,p++):(v=0,h=3);continue;case 2:44===(P=d[p++])?h=4:g=g<<4|(96d.length&&(P=-1)}var S=d.byteOffset+p;if(-1
e.length)&&(t=e.length);for(var n=0,r=Array(t);n0||!u(t.scriptURL,n.sn.toString())||performance.now()>n.un+6e4?(n.vn=t,e.removeEventListener("updatefound",n.cn)):(n.hn=t,n.an.add(t),n.rn.resolve(t)),++n.tn,t.addEventListener("statechange",n.ln)},n.ln=function(e){var t=n.fn,r=e.target,o=r.state,u=r===n.vn,a={sw:r,isExternal:u,originalEvent:e};!u&&n.mn&&(a.isUpdate=!0),n.dispatchEvent(new l(o,a)),"installed"===o?n.wn=self.setTimeout(function(){"installed"===o&&t.waiting===r&&n.dispatchEvent(new l("waiting",a))},200):"activating"===o&&(clearTimeout(n.wn),u||n.en.resolve(r))},n.yn=function(e){var t=n.hn,r=t!==navigator.serviceWorker.controller;n.dispatchEvent(new l("controlling",{isExternal:r,originalEvent:e,sw:t,isUpdate:n.mn})),r||n.on.resolve(t)},n.gn=(i=function(e){var t=e.data,r=e.ports,o=e.source;return a(n.getSW(),function(){n.an.has(o)&&n.dispatchEvent(new l("message",{data:t,originalEvent:e,ports:r,sw:o}))})},function(){for(var e=[],t=0;t=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(this.jn(e.type));!(t=n()).done;)(0,t.value)(e)},t.jn=function(e){return this.Pn.has(e)||this.Pn.set(e,new Set),this.Pn.get(e)},e}());if("undefined"!=typeof window&&"serviceWorker"in navigator&&"undefined"!=typeof caches){let e;window.workbox=new f(window.location.origin+"/sw.js",{scope:"/"}),window.workbox.register();{let t=async t=>{if(!window.navigator.onLine||!t)return;let n=t instanceof URL?t.toString():"string"==typeof t?t:void 0;if("string"==typeof n&&"/"===n){if(e)e.postMessage({type:"__START_URL_CACHE__",url:n});else{let e=await fetch(t);if(!e.redirected)return(await caches.open("start-url")).put(t,e)}}},n=history.pushState;history.pushState=(...e)=>{n.apply(history,e),t(e[2])};let r=history.replaceState;history.replaceState=(...e)=>{r.apply(history,e),t(e[2])},window.addEventListener("online",()=>{t(window.location.pathname)})}window.addEventListener("online",()=>location.reload())}},3449:function(e,t,n){"use strict";function r(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}n.r(t),n.d(t,{_:function(){return r},_class_private_field_loose_base:function(){return r}})},7614:function(e,t,n){"use strict";n.r(t),n.d(t,{_:function(){return o},_class_private_field_loose_key:function(){return o}});var r=0;function o(e){return"__private_"+r+++"_"+e}},9920:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.r(t),n.d(t,{_:function(){return r},_interop_require_default:function(){return r}})},1452:function(e,t,n){"use strict";function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}function o(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var a=u?Object.getOwnPropertyDescriptor(e,l):null;a&&(a.get||a.set)?Object.defineProperty(o,l,a):o[l]=e[l]}return o.default=e,n&&n.set(e,o),o}n.r(t),n.d(t,{_:function(){return o},_interop_require_wildcard:function(){return o}})}}]);
\ No newline at end of file
diff --git a/_next/static/chunks/190-fbd7e2ae978b3f7a.js b/_next/static/chunks/190-fbd7e2ae978b3f7a.js
deleted file mode 100644
index b8efa779c1297fff67e0eda1c678474d8334933a..0000000000000000000000000000000000000000
--- a/_next/static/chunks/190-fbd7e2ae978b3f7a.js
+++ /dev/null
@@ -1,10 +0,0 @@
-(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[190],{9492:function(e,t){"use strict";function n(){return""}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDeploymentIdQueryOrEmptyString",{enumerable:!0,get:function(){return n}})},7108:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){throw n})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]}),Object.hasOwn||(Object.hasOwn=function(e,t){if(null==e)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)})},4897:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return u}});let r=n(2707),o=n(8157);function u(e,t){return(0,o.normalizePathTrailingSlash)((0,r.addPathPrefix)(e,""))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5684:function(e,t){"use strict";function n(e){var t,n;t=self.__next_s,n=()=>{e()},t&&t.length?t.reduce((e,t)=>{let[n,r]=t;return e.then(()=>new Promise((e,t)=>{let o=document.createElement("script");if(r)for(let e in r)"children"!==e&&o.setAttribute(e,r[e]);n?(o.src=n,o.onload=()=>e(),o.onerror=t):r&&(o.innerHTML=r.children,setTimeout(e)),document.head.appendChild(o)}))},Promise.resolve()).catch(e=>{console.error(e)}).then(()=>{n()}):n()}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"appBootstrap",{enumerable:!0,get:function(){return n}}),window.next={version:"14.2.3",appDir:!0},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4590:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"callServer",{enumerable:!0,get:function(){return o}});let r=n(5751);async function o(e,t){let n=(0,r.getServerActionDispatcher)();if(!n)throw Error("Invariant: missing action dispatcher.");return new Promise((r,o)=>{n({actionId:e,actionArgs:t,resolve:r,reject:o})})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},353:function(e,t,n){"use strict";let r,o;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hydrate",{enumerable:!0,get:function(){return C}});let u=n(1609),l=n(6720),a=n(2281);n(7108);let i=u._(n(4040)),c=l._(n(2265)),s=n(6671),f=n(6590),d=u._(n(6124)),p=n(4590),h=n(2128),y=n(1427);n(3243);let v=window.console.error;window.console.error=function(){for(var e=arguments.length,t=Array(e),n=0;n{if((0,h.isNextRouterError)(e.error)){e.preventDefault();return}});let g=document,b=new TextEncoder,m=!1,P=!1,R=null;function j(e){if(0===e[0])r=[];else if(1===e[0]){if(!r)throw Error("Unexpected server data: missing bootstrap script.");o?o.enqueue(b.encode(e[1])):r.push(e[1])}else 2===e[0]&&(R=e[1])}let O=function(){o&&!P&&(o.close(),P=!0,r=void 0),m=!0};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",O,!1):O();let S=self.__next_f=self.__next_f||[];S.forEach(j),S.push=j;let E=new ReadableStream({start(e){r&&(r.forEach(t=>{e.enqueue(b.encode(t))}),m&&!P&&(e.close(),P=!0,r=void 0)),o=e}}),w=(0,s.createFromReadableStream)(E,{callServer:p.callServer});function T(){return(0,c.use)(w)}let M=c.default.StrictMode;function x(e){let{children:t}=e;return t}function C(){let e=(0,y.createMutableActionQueue)(),t=(0,a.jsx)(M,{children:(0,a.jsx)(f.HeadManagerContext.Provider,{value:{appDir:!0},children:(0,a.jsx)(y.ActionQueueContext.Provider,{value:e,children:(0,a.jsx)(x,{children:(0,a.jsx)(T,{})})})})}),n=window.__next_root_layout_missing_tags,r=!!(null==n?void 0:n.length),o={onRecoverableError:d.default};"__next_error__"===document.documentElement.id||r?i.default.createRoot(g,o).render(t):c.default.startTransition(()=>i.default.hydrateRoot(g,t,{...o,formState:R}))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1028:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(5820),(0,n(5684).appBootstrap)(()=>{let{hydrate:e}=n(353);n(5751),n(9275),e()}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5820:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(9492);{let e=n.u;n.u=function(){for(var t=arguments.length,n=Array(t),r=0;r(l(function(){var e;let t=document.getElementsByName(u)[0];if(null==t?void 0:null==(e=t.shadowRoot)?void 0:e.childNodes[0])return t.shadowRoot.childNodes[0];{let e=document.createElement(u);e.style.cssText="position:absolute";let t=document.createElement("div");return t.ariaLive="assertive",t.id="__next-route-announcer__",t.role="alert",t.style.cssText="position:absolute;border:0;height:1px;margin:-1px;padding:0;width:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;word-wrap:normal",e.attachShadow({mode:"open"}).appendChild(t),document.body.appendChild(e),t}}()),()=>{let e=document.getElementsByTagName(u)[0];(null==e?void 0:e.isConnected)&&document.body.removeChild(e)}),[]);let[a,i]=(0,r.useState)(""),c=(0,r.useRef)();return(0,r.useEffect)(()=>{let e="";if(document.title)e=document.title;else{let t=document.querySelector("h1");t&&(e=t.innerText||t.textContent||"")}void 0!==c.current&&c.current!==e&&i(e),c.current=e},[t]),n?(0,o.createPortal)(a,n):null}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7325:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION:function(){return r},FLIGHT_PARAMETERS:function(){return i},NEXT_DID_POSTPONE_HEADER:function(){return s},NEXT_ROUTER_PREFETCH_HEADER:function(){return u},NEXT_ROUTER_STATE_TREE:function(){return o},NEXT_RSC_UNION_QUERY:function(){return c},NEXT_URL:function(){return l},RSC_CONTENT_TYPE_HEADER:function(){return a},RSC_HEADER:function(){return n}});let n="RSC",r="Next-Action",o="Next-Router-State-Tree",u="Next-Router-Prefetch",l="Next-Url",a="text/x-component",i=[[n],[o],[u]],c="_rsc",s="x-nextjs-postponed";("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5751:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{createEmptyCacheNode:function(){return A},default:function(){return k},getServerActionDispatcher:function(){return w},urlToUrlWithoutFlightMarker:function(){return M}});let r=n(6720),o=n(2281),u=r._(n(2265)),l=n(4467),a=n(1507),i=n(3174),c=n(8056),s=n(2114),f=n(6130),d=n(322),p=n(4092),h=n(4897),y=n(1012),v=n(6585),g=n(315),b=n(1108),m=n(7325),P=n(7599),R=n(9404),j=n(0),O="undefined"==typeof window,S=O?null:new Map,E=null;function w(){return E}let T={};function M(e){let t=new URL(e,location.origin);if(t.searchParams.delete(m.NEXT_RSC_UNION_QUERY),t.pathname.endsWith(".txt")){let{pathname:e}=t,n=e.endsWith("/index.txt")?10:4;t.pathname=e.slice(0,-n)}return t}function x(e){return e.origin!==window.location.origin}function C(e){let{appRouterState:t,sync:n}=e;return(0,u.useInsertionEffect)(()=>{let{tree:e,pushRef:r,canonicalUrl:o}=t,u={...r.preserveCustomHistoryState?window.history.state:{},__NA:!0,__PRIVATE_NEXTJS_INTERNALS_TREE:e};r.pendingPush&&(0,i.createHrefFromUrl)(new URL(window.location.href))!==o?(r.pendingPush=!1,window.history.pushState(u,"",o)):window.history.replaceState(u,"",o),n(t)},[t,n]),null}function A(){return{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null}}function N(e){null==e&&(e={});let t=window.history.state,n=null==t?void 0:t.__NA;n&&(e.__NA=n);let r=null==t?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE;return r&&(e.__PRIVATE_NEXTJS_INTERNALS_TREE=r),e}function I(e){let{headCacheNode:t}=e,n=null!==t?t.head:null,r=null!==t?t.prefetchHead:null,o=null!==r?r:n;return(0,u.useDeferredValue)(n,o)}function D(e){let t,{buildId:n,initialHead:r,initialTree:i,initialCanonicalUrl:f,initialSeedData:m,couldBeIntercepted:w,assetPrefix:M,missingSlots:A}=e,D=(0,u.useMemo)(()=>(0,d.createInitialRouterState)({buildId:n,initialSeedData:m,initialCanonicalUrl:f,initialTree:i,initialParallelRoutes:S,location:O?null:window.location,initialHead:r,couldBeIntercepted:w}),[n,m,f,i,r,w]),[k,U,L]=(0,s.useReducerWithReduxDevtools)(D);(0,u.useEffect)(()=>{S=null},[]);let{canonicalUrl:F}=(0,s.useUnwrapState)(k),{searchParams:H,pathname:$}=(0,u.useMemo)(()=>{let e=new URL(F,"undefined"==typeof window?"http://n":window.location.href);return{searchParams:e.searchParams,pathname:(0,R.hasBasePath)(e.pathname)?(0,P.removeBasePath)(e.pathname):e.pathname}},[F]),G=(0,u.useCallback)(e=>{let{previousTree:t,serverResponse:n}=e;(0,u.startTransition)(()=>{U({type:a.ACTION_SERVER_PATCH,previousTree:t,serverResponse:n})})},[U]),z=(0,u.useCallback)((e,t,n)=>{let r=new URL((0,h.addBasePath)(e),location.href);return U({type:a.ACTION_NAVIGATE,url:r,isExternalUrl:x(r),locationSearch:location.search,shouldScroll:null==n||n,navigateType:t})},[U]);E=(0,u.useCallback)(e=>{(0,u.startTransition)(()=>{U({...e,type:a.ACTION_SERVER_ACTION})})},[U]);let W=(0,u.useMemo)(()=>({back:()=>window.history.back(),forward:()=>window.history.forward(),prefetch:(e,t)=>{if((0,p.isBot)(window.navigator.userAgent))return;let n=new URL((0,h.addBasePath)(e),window.location.href);x(n)||(0,u.startTransition)(()=>{var e;U({type:a.ACTION_PREFETCH,url:n,kind:null!=(e=null==t?void 0:t.kind)?e:a.PrefetchKind.FULL})})},replace:(e,t)=>{void 0===t&&(t={}),(0,u.startTransition)(()=>{var n;z(e,"replace",null==(n=t.scroll)||n)})},push:(e,t)=>{void 0===t&&(t={}),(0,u.startTransition)(()=>{var n;z(e,"push",null==(n=t.scroll)||n)})},refresh:()=>{(0,u.startTransition)(()=>{U({type:a.ACTION_REFRESH,origin:window.location.origin})})},fastRefresh:()=>{throw Error("fastRefresh can only be used in development mode. Please use refresh instead.")}}),[U,z]);(0,u.useEffect)(()=>{window.next&&(window.next.router=W)},[W]),(0,u.useEffect)(()=>{function e(e){var t;e.persisted&&(null==(t=window.history.state)?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE)&&(T.pendingMpaPath=void 0,U({type:a.ACTION_RESTORE,url:new URL(window.location.href),tree:window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE}))}return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}},[U]);let{pushRef:B}=(0,s.useUnwrapState)(k);if(B.mpaNavigation){if(T.pendingMpaPath!==F){let e=window.location;B.pendingPush?e.assign(F):e.replace(F),T.pendingMpaPath=F}(0,u.use)(b.unresolvedThenable)}(0,u.useEffect)(()=>{let e=window.history.pushState.bind(window.history),t=window.history.replaceState.bind(window.history),n=e=>{var t;let n=window.location.href,r=null==(t=window.history.state)?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE;(0,u.startTransition)(()=>{U({type:a.ACTION_RESTORE,url:new URL(null!=e?e:n,n),tree:r})})};window.history.pushState=function(t,r,o){return(null==t?void 0:t.__NA)||(null==t?void 0:t._N)||(t=N(t),o&&n(o)),e(t,r,o)},window.history.replaceState=function(e,r,o){return(null==e?void 0:e.__NA)||(null==e?void 0:e._N)||(e=N(e),o&&n(o)),t(e,r,o)};let r=e=>{let{state:t}=e;if(t){if(!t.__NA){window.location.reload();return}(0,u.startTransition)(()=>{U({type:a.ACTION_RESTORE,url:new URL(window.location.href),tree:t.__PRIVATE_NEXTJS_INTERNALS_TREE})})}};return window.addEventListener("popstate",r),()=>{window.history.pushState=e,window.history.replaceState=t,window.removeEventListener("popstate",r)}},[U]);let{cache:K,tree:V,nextUrl:Y,focusAndScrollRef:X}=(0,s.useUnwrapState)(k),q=(0,u.useMemo)(()=>(0,g.findHeadInCache)(K,V[1]),[K,V]),J=(0,u.useMemo)(()=>(function e(t,n){for(let r of(void 0===n&&(n={}),Object.values(t[1]))){let t=r[0],o=Array.isArray(t),u=o?t[1]:t;!u||u.startsWith(j.PAGE_SEGMENT_KEY)||(o&&("c"===t[2]||"oc"===t[2])?n[t[0]]=t[1].split("/"):o&&(n[t[0]]=t[1]),n=e(r,n))}return n})(V),[V]);if(null!==q){let[e,n]=q;t=(0,o.jsx)(I,{headCacheNode:e},n)}else t=null;let Q=(0,o.jsxs)(v.RedirectBoundary,{children:[t,K.rsc,(0,o.jsx)(y.AppRouterAnnouncer,{tree:V})]});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(C,{appRouterState:(0,s.useUnwrapState)(k),sync:L}),(0,o.jsx)(c.PathParamsContext.Provider,{value:J,children:(0,o.jsx)(c.PathnameContext.Provider,{value:$,children:(0,o.jsx)(c.SearchParamsContext.Provider,{value:H,children:(0,o.jsx)(l.GlobalLayoutRouterContext.Provider,{value:{buildId:n,changeByServerResponse:G,tree:V,focusAndScrollRef:X,nextUrl:Y},children:(0,o.jsx)(l.AppRouterContext.Provider,{value:W,children:(0,o.jsx)(l.LayoutRouterContext.Provider,{value:{childNodes:K.parallelRoutes,tree:V,url:F,loading:K.loading},children:Q})})})})})})]})}function k(e){let{globalErrorComponent:t,...n}=e;return(0,o.jsx)(f.ErrorBoundary,{errorComponent:t,children:(0,o.jsx)(D,{...n})})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4804:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"bailoutToClientRendering",{enumerable:!0,get:function(){return u}});let r=n(5592),o=n(4936);function u(e){let t=o.staticGenerationAsyncStorage.getStore();if((null==t||!t.forceStatic)&&(null==t?void 0:t.isStaticGeneration))throw new r.BailoutToCSRError(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6513:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ClientPageRoot",{enumerable:!0,get:function(){return u}});let r=n(2281),o=n(8897);function u(e){let{Component:t,props:n}=e;return n.searchParams=(0,o.createDynamicallyTrackedSearchParams)(n.searchParams||{}),(0,r.jsx)(t,{...n})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6130:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ErrorBoundary:function(){return h},ErrorBoundaryHandler:function(){return f},GlobalError:function(){return d},default:function(){return p}});let r=n(1609),o=n(2281),u=r._(n(2265)),l=n(1169),a=n(2128),i=n(4936),c={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},text:{fontSize:"14px",fontWeight:400,lineHeight:"28px",margin:"0 8px"}};function s(e){let{error:t}=e,n=i.staticGenerationAsyncStorage.getStore();if((null==n?void 0:n.isRevalidate)||(null==n?void 0:n.isStaticGeneration))throw console.error(t),t;return null}class f extends u.default.Component{static getDerivedStateFromError(e){if((0,a.isNextRouterError)(e))throw e;return{error:e}}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.error?{error:null,previousPathname:e.pathname}:{error:t.error,previousPathname:e.pathname}}render(){return this.state.error?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s,{error:this.state.error}),this.props.errorStyles,this.props.errorScripts,(0,o.jsx)(this.props.errorComponent,{error:this.state.error,reset:this.reset})]}):this.props.children}constructor(e){super(e),this.reset=()=>{this.setState({error:null})},this.state={error:null,previousPathname:this.props.pathname}}}function d(e){let{error:t}=e,n=null==t?void 0:t.digest;return(0,o.jsxs)("html",{id:"__next_error__",children:[(0,o.jsx)("head",{}),(0,o.jsxs)("body",{children:[(0,o.jsx)(s,{error:t}),(0,o.jsx)("div",{style:c.error,children:(0,o.jsxs)("div",{children:[(0,o.jsx)("h2",{style:c.text,children:"Application error: a "+(n?"server":"client")+"-side exception has occurred (see the "+(n?"server logs":"browser console")+" for more information)."}),n?(0,o.jsx)("p",{style:c.text,children:"Digest: "+n}):null]})})]})]})}let p=d;function h(e){let{errorComponent:t,errorStyles:n,errorScripts:r,children:u}=e,a=(0,l.usePathname)();return t?(0,o.jsx)(f,{pathname:a,errorComponent:t,errorStyles:n,errorScripts:r,children:u}):(0,o.jsx)(o.Fragment,{children:u})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7910:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DynamicServerError:function(){return r},isDynamicServerError:function(){return o}});let n="DYNAMIC_SERVER_USAGE";class r extends Error{constructor(e){super("Dynamic server usage: "+e),this.description=e,this.digest=n}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&"string"==typeof e.digest&&e.digest===n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2128:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNextRouterError",{enumerable:!0,get:function(){return u}});let r=n(2496),o=n(7909);function u(e){return e&&e.digest&&((0,o.isRedirectError)(e)||(0,r.isNotFoundError)(e))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9275:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return E}});let r=n(1609),o=n(6720),u=n(2281),l=o._(n(2265)),a=r._(n(4887)),i=n(4467),c=n(1283),s=n(1108),f=n(6130),d=n(6237),p=n(6180),h=n(6585),y=n(5324),v=n(4640),g=n(1784),b=n(5914),m=["bottom","height","left","right","top","width","x","y"];function P(e,t){let n=e.getBoundingClientRect();return n.top>=0&&n.top<=t}class R extends l.default.Component{componentDidMount(){this.handlePotentialScroll()}componentDidUpdate(){this.props.focusAndScrollRef.apply&&this.handlePotentialScroll()}render(){return this.props.children}constructor(...e){super(...e),this.handlePotentialScroll=()=>{let{focusAndScrollRef:e,segmentPath:t}=this.props;if(e.apply){var n;if(0!==e.segmentPaths.length&&!e.segmentPaths.some(e=>t.every((t,n)=>(0,d.matchSegment)(t,e[n]))))return;let r=null,o=e.hashFragment;if(o&&(r="top"===o?document.body:null!=(n=document.getElementById(o))?n:document.getElementsByName(o)[0]),r||(r="undefined"==typeof window?null:a.default.findDOMNode(this)),!(r instanceof Element))return;for(;!(r instanceof HTMLElement)||function(e){if(["sticky","fixed"].includes(getComputedStyle(e).position))return!0;let t=e.getBoundingClientRect();return m.every(e=>0===t[e])}(r);){if(null===r.nextElementSibling)return;r=r.nextElementSibling}e.apply=!1,e.hashFragment=null,e.segmentPaths=[],(0,p.handleSmoothScroll)(()=>{if(o){r.scrollIntoView();return}let e=document.documentElement,t=e.clientHeight;!P(r,t)&&(e.scrollTop=0,P(r,t)||r.scrollIntoView())},{dontForceLayout:!0,onlyHashChange:e.onlyHashChange}),e.onlyHashChange=!1,r.focus()}}}}function j(e){let{segmentPath:t,children:n}=e,r=(0,l.useContext)(i.GlobalLayoutRouterContext);if(!r)throw Error("invariant global layout router not mounted");return(0,u.jsx)(R,{segmentPath:t,focusAndScrollRef:r.focusAndScrollRef,children:n})}function O(e){let{parallelRouterKey:t,url:n,childNodes:r,segmentPath:o,tree:a,cacheKey:f}=e,p=(0,l.useContext)(i.GlobalLayoutRouterContext);if(!p)throw Error("invariant global layout router not mounted");let{buildId:h,changeByServerResponse:y,tree:v}=p,g=r.get(f);if(void 0===g){let e={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null};g=e,r.set(f,e)}let m=null!==g.prefetchRsc?g.prefetchRsc:g.rsc,P=(0,l.useDeferredValue)(g.rsc,m),R="object"==typeof P&&null!==P&&"function"==typeof P.then?(0,l.use)(P):P;if(!R){let e=g.lazyData;if(null===e){let t=function e(t,n){if(t){let[r,o]=t,u=2===t.length;if((0,d.matchSegment)(n[0],r)&&n[1].hasOwnProperty(o)){if(u){let t=e(void 0,n[1][o]);return[n[0],{...n[1],[o]:[t[0],t[1],t[2],"refetch"]}]}return[n[0],{...n[1],[o]:e(t.slice(2),n[1][o])}]}}return n}(["",...o],v),r=(0,b.hasInterceptionRouteInCurrentTree)(v);g.lazyData=e=(0,c.fetchServerResponse)(new URL(n,location.origin),t,r?p.nextUrl:null,h),g.lazyDataResolved=!1}let t=(0,l.use)(e);g.lazyDataResolved||(setTimeout(()=>{(0,l.startTransition)(()=>{y({previousTree:v,serverResponse:t})})}),g.lazyDataResolved=!0,(0,l.use)(s.unresolvedThenable))}return(0,u.jsx)(i.LayoutRouterContext.Provider,{value:{tree:a[1][t],childNodes:g.parallelRoutes,url:n,loading:g.loading},children:R})}function S(e){let{children:t,hasLoading:n,loading:r,loadingStyles:o,loadingScripts:a}=e;return n?(0,u.jsx)(l.Suspense,{fallback:(0,u.jsxs)(u.Fragment,{children:[o,a,r]}),children:t}):(0,u.jsx)(u.Fragment,{children:t})}function E(e){let{parallelRouterKey:t,segmentPath:n,error:r,errorStyles:o,errorScripts:a,templateStyles:c,templateScripts:s,template:d,notFound:p,notFoundStyles:b,styles:m}=e,P=(0,l.useContext)(i.LayoutRouterContext);if(!P)throw Error("invariant expected layout router to be mounted");let{childNodes:R,tree:E,url:w,loading:T}=P,M=R.get(t);M||(M=new Map,R.set(t,M));let x=E[1][t][0],C=(0,v.getSegmentValue)(x),A=[x];return(0,u.jsxs)(u.Fragment,{children:[m,A.map(e=>{let l=(0,v.getSegmentValue)(e),m=(0,g.createRouterCacheKey)(e);return(0,u.jsxs)(i.TemplateContext.Provider,{value:(0,u.jsx)(j,{segmentPath:n,children:(0,u.jsx)(f.ErrorBoundary,{errorComponent:r,errorStyles:o,errorScripts:a,children:(0,u.jsx)(S,{hasLoading:!!T,loading:null==T?void 0:T[0],loadingStyles:null==T?void 0:T[1],loadingScripts:null==T?void 0:T[2],children:(0,u.jsx)(y.NotFoundBoundary,{notFound:p,notFoundStyles:b,children:(0,u.jsx)(h.RedirectBoundary,{children:(0,u.jsx)(O,{parallelRouterKey:t,url:w,tree:E,childNodes:M,segmentPath:n,cacheKey:m,isActive:C===l})})})})})}),children:[c,s,d]},(0,g.createRouterCacheKey)(e,!0))})]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6237:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{canSegmentBeOverridden:function(){return u},matchSegment:function(){return o}});let r=n(4286),o=(e,t)=>"string"==typeof e?"string"==typeof t&&e===t:"string"!=typeof t&&e[0]===t[0]&&e[1]===t[1],u=(e,t)=>{var n;return!Array.isArray(e)&&!!Array.isArray(t)&&(null==(n=(0,r.getSegmentParam)(e))?void 0:n.param)===t[0]};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1169:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return i.ReadonlyURLSearchParams},RedirectType:function(){return i.RedirectType},ServerInsertedHTMLContext:function(){return c.ServerInsertedHTMLContext},notFound:function(){return i.notFound},permanentRedirect:function(){return i.permanentRedirect},redirect:function(){return i.redirect},useParams:function(){return p},usePathname:function(){return f},useRouter:function(){return d},useSearchParams:function(){return s},useSelectedLayoutSegment:function(){return y},useSelectedLayoutSegments:function(){return h},useServerInsertedHTML:function(){return c.useServerInsertedHTML}});let r=n(2265),o=n(4467),u=n(8056),l=n(4640),a=n(0),i=n(2152),c=n(8005);function s(){let e=(0,r.useContext)(u.SearchParamsContext),t=(0,r.useMemo)(()=>e?new i.ReadonlyURLSearchParams(e):null,[e]);if("undefined"==typeof window){let{bailoutToClientRendering:e}=n(4804);e("useSearchParams()")}return t}function f(){return(0,r.useContext)(u.PathnameContext)}function d(){let e=(0,r.useContext)(o.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function p(){return(0,r.useContext)(u.PathParamsContext)}function h(e){void 0===e&&(e="children");let t=(0,r.useContext)(o.LayoutRouterContext);return t?function e(t,n,r,o){let u;if(void 0===r&&(r=!0),void 0===o&&(o=[]),r)u=t[1][n];else{var i;let e=t[1];u=null!=(i=e.children)?i:Object.values(e)[0]}if(!u)return o;let c=u[0],s=(0,l.getSegmentValue)(c);return!s||s.startsWith(a.PAGE_SEGMENT_KEY)?o:(o.push(s),e(u,n,!1,o))}(t.tree,e):null}function y(e){void 0===e&&(e="children");let t=h(e);if(!t||0===t.length)return null;let n="children"===e?t[0]:t[t.length-1];return n===a.DEFAULT_SEGMENT_KEY?null:n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2152:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return l},RedirectType:function(){return r.RedirectType},notFound:function(){return o.notFound},permanentRedirect:function(){return r.permanentRedirect},redirect:function(){return r.redirect}});let r=n(7909),o=n(2496);class u extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class l extends URLSearchParams{append(){throw new u}delete(){throw new u}set(){throw new u}sort(){throw new u}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5324:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NotFoundBoundary",{enumerable:!0,get:function(){return s}});let r=n(6720),o=n(2281),u=r._(n(2265)),l=n(1169),a=n(2496);n(2301);let i=n(4467);class c extends u.default.Component{componentDidCatch(){}static getDerivedStateFromError(e){if((0,a.isNotFoundError)(e))return{notFoundTriggered:!0};throw e}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.notFoundTriggered?{notFoundTriggered:!1,previousPathname:e.pathname}:{notFoundTriggered:t.notFoundTriggered,previousPathname:e.pathname}}render(){return this.state.notFoundTriggered?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("meta",{name:"robots",content:"noindex"}),!1,this.props.notFoundStyles,this.props.notFound]}):this.props.children}constructor(e){super(e),this.state={notFoundTriggered:!!e.asNotFound,previousPathname:e.pathname}}}function s(e){let{notFound:t,notFoundStyles:n,asNotFound:r,children:a}=e,s=(0,l.usePathname)(),f=(0,u.useContext)(i.MissingSlotContext);return t?(0,o.jsx)(c,{pathname:s,notFound:t,notFoundStyles:n,asNotFound:r,missingSlots:f,children:a}):(0,o.jsx)(o.Fragment,{children:a})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2496:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{isNotFoundError:function(){return o},notFound:function(){return r}});let n="NEXT_NOT_FOUND";function r(){let e=Error(n);throw e.digest=n,e}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3858:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PromiseQueue",{enumerable:!0,get:function(){return c}});let r=n(8123),o=n(2365);var u=o._("_maxConcurrency"),l=o._("_runningCount"),a=o._("_queue"),i=o._("_processNext");class c{enqueue(e){let t,n;let o=new Promise((e,r)=>{t=e,n=r}),u=async()=>{try{r._(this,l)[l]++;let n=await e();t(n)}catch(e){n(e)}finally{r._(this,l)[l]--,r._(this,i)[i]()}};return r._(this,a)[a].push({promiseFn:o,task:u}),r._(this,i)[i](),o}bump(e){let t=r._(this,a)[a].findIndex(t=>t.promiseFn===e);if(t>-1){let e=r._(this,a)[a].splice(t,1)[0];r._(this,a)[a].unshift(e),r._(this,i)[i](!0)}}constructor(e=5){Object.defineProperty(this,i,{value:s}),Object.defineProperty(this,u,{writable:!0,value:void 0}),Object.defineProperty(this,l,{writable:!0,value:void 0}),Object.defineProperty(this,a,{writable:!0,value:void 0}),r._(this,u)[u]=e,r._(this,l)[l]=0,r._(this,a)[a]=[]}}function s(e){if(void 0===e&&(e=!1),(r._(this,l)[l]0){var t;null==(t=r._(this,a)[a].shift())||t.task()}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6585:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{RedirectBoundary:function(){return s},RedirectErrorBoundary:function(){return c}});let r=n(6720),o=n(2281),u=r._(n(2265)),l=n(1169),a=n(7909);function i(e){let{redirect:t,reset:n,redirectType:r}=e,o=(0,l.useRouter)();return(0,u.useEffect)(()=>{u.default.startTransition(()=>{r===a.RedirectType.push?o.push(t,{}):o.replace(t,{}),n()})},[t,r,n,o]),null}class c extends u.default.Component{static getDerivedStateFromError(e){if((0,a.isRedirectError)(e))return{redirect:(0,a.getURLFromRedirectError)(e),redirectType:(0,a.getRedirectTypeFromError)(e)};throw e}render(){let{redirect:e,redirectType:t}=this.state;return null!==e&&null!==t?(0,o.jsx)(i,{redirect:e,redirectType:t,reset:()=>this.setState({redirect:null})}):this.props.children}constructor(e){super(e),this.state={redirect:null,redirectType:null}}}function s(e){let{children:t}=e,n=(0,l.useRouter)();return(0,o.jsx)(c,{router:n,children:t})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4785:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return n}}),(r=n||(n={}))[r.SeeOther=303]="SeeOther",r[r.TemporaryRedirect=307]="TemporaryRedirect",r[r.PermanentRedirect=308]="PermanentRedirect",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7909:function(e,t,n){"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{RedirectType:function(){return r},getRedirectError:function(){return c},getRedirectStatusCodeFromError:function(){return y},getRedirectTypeFromError:function(){return h},getURLFromRedirectError:function(){return p},isRedirectError:function(){return d},permanentRedirect:function(){return f},redirect:function(){return s}});let u=n(8512),l=n(9440),a=n(4785),i="NEXT_REDIRECT";function c(e,t,n){void 0===n&&(n=a.RedirectStatusCode.TemporaryRedirect);let r=Error(i);r.digest=i+";"+t+";"+e+";"+n+";";let o=u.requestAsyncStorage.getStore();return o&&(r.mutableCookies=o.mutableCookies),r}function s(e,t){void 0===t&&(t="replace");let n=l.actionAsyncStorage.getStore();throw c(e,t,(null==n?void 0:n.isAction)?a.RedirectStatusCode.SeeOther:a.RedirectStatusCode.TemporaryRedirect)}function f(e,t){void 0===t&&(t="replace");let n=l.actionAsyncStorage.getStore();throw c(e,t,(null==n?void 0:n.isAction)?a.RedirectStatusCode.SeeOther:a.RedirectStatusCode.PermanentRedirect)}function d(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,n,r,o]=e.digest.split(";",4),u=Number(o);return t===i&&("replace"===n||"push"===n)&&"string"==typeof r&&!isNaN(u)&&u in a.RedirectStatusCode}function p(e){return d(e)?e.digest.split(";",3)[2]:null}function h(e){if(!d(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function y(e){if(!d(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}(o=r||(r={})).push="push",o.replace="replace",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1343:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let r=n(6720),o=n(2281),u=r._(n(2265)),l=n(4467);function a(){let e=(0,u.useContext)(l.TemplateContext);return(0,o.jsx)(o.Fragment,{children:e})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8512:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getExpectedRequestStore:function(){return o},requestAsyncStorage:function(){return r.requestAsyncStorage}});let r=n(38);function o(e){let t=r.requestAsyncStorage.getStore();if(t)return t;throw Error("`"+e+"` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9607:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"applyFlightData",{enumerable:!0,get:function(){return u}});let r=n(3821),o=n(1133);function u(e,t,n,u){let[l,a,i]=n.slice(-3);if(null===a)return!1;if(3===n.length){let n=a[2],o=a[3];t.loading=o,t.rsc=n,t.prefetchRsc=null,(0,r.fillLazyItemsTillLeafWithHead)(t,e,l,a,i,u)}else t.rsc=e.rsc,t.prefetchRsc=e.prefetchRsc,t.parallelRoutes=new Map(e.parallelRoutes),t.loading=e.loading,(0,o.fillCacheWithNewSubTreeData)(t,e,n,u);return!0}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9684:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"applyRouterStatePatchToTree",{enumerable:!0,get:function(){return function e(t,n,r,a){let i;let[c,s,f,d,p]=n;if(1===t.length){let e=l(n,r,t);return(0,u.addRefreshMarkerToActiveParallelSegments)(e,a),e}let[h,y]=t;if(!(0,o.matchSegment)(h,c))return null;if(2===t.length)i=l(s[y],r,t);else if(null===(i=e(t.slice(2),s[y],r,a)))return null;let v=[t[0],{...s,[y]:i},f,d];return p&&(v[4]=!0),(0,u.addRefreshMarkerToActiveParallelSegments)(v,a),v}}});let r=n(0),o=n(6237),u=n(4922);function l(e,t,n){let[u,a]=e,[i,c]=t;if(i===r.DEFAULT_SEGMENT_KEY&&u!==r.DEFAULT_SEGMENT_KEY)return e;if((0,o.matchSegment)(u,i)){let t={};for(let e in a)void 0!==c[e]?t[e]=l(a[e],c[e],n):t[e]=a[e];for(let e in c)t[e]||(t[e]=c[e]);let r=[u,t];return e[2]&&(r[2]=e[2]),e[3]&&(r[3]=e[3]),e[4]&&(r[4]=e[4]),r}return t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9559:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"clearCacheNodeDataForSegmentPath",{enumerable:!0,get:function(){return function e(t,n,o){let u=o.length<=2,[l,a]=o,i=(0,r.createRouterCacheKey)(a),c=n.parallelRoutes.get(l),s=t.parallelRoutes.get(l);s&&s!==c||(s=new Map(c),t.parallelRoutes.set(l,s));let f=null==c?void 0:c.get(i),d=s.get(i);if(u){d&&d.lazyData&&d!==f||s.set(i,{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null});return}if(!d||!f){d||s.set(i,{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null});return}return d===f&&(d={lazyData:d.lazyData,rsc:d.rsc,prefetchRsc:d.prefetchRsc,head:d.head,prefetchHead:d.prefetchHead,parallelRoutes:new Map(d.parallelRoutes),lazyDataResolved:d.lazyDataResolved,loading:d.loading},s.set(i,d)),e(d,f,o.slice(2))}}});let r=n(1784);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6626:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{computeChangedPath:function(){return s},extractPathFromFlightRouterState:function(){return c}});let r=n(2269),o=n(0),u=n(6237),l=e=>"/"===e[0]?e.slice(1):e,a=e=>"string"==typeof e?"children"===e?"":e:e[1];function i(e){return e.reduce((e,t)=>""===(t=l(t))||(0,o.isGroupSegment)(t)?e:e+"/"+t,"")||"/"}function c(e){var t;let n=Array.isArray(e[0])?e[0][1]:e[0];if(n===o.DEFAULT_SEGMENT_KEY||r.INTERCEPTION_ROUTE_MARKERS.some(e=>n.startsWith(e)))return;if(n.startsWith(o.PAGE_SEGMENT_KEY))return"";let u=[a(n)],l=null!=(t=e[1])?t:{},s=l.children?c(l.children):void 0;if(void 0!==s)u.push(s);else for(let[e,t]of Object.entries(l)){if("children"===e)continue;let n=c(t);void 0!==n&&u.push(n)}return i(u)}function s(e,t){let n=function e(t,n){let[o,l]=t,[i,s]=n,f=a(o),d=a(i);if(r.INTERCEPTION_ROUTE_MARKERS.some(e=>f.startsWith(e)||d.startsWith(e)))return"";if(!(0,u.matchSegment)(o,i)){var p;return null!=(p=c(n))?p:""}for(let t in l)if(s[t]){let n=e(l[t],s[t]);if(null!==n)return a(i)+"/"+n}return null}(e,t);return null==n||"/"===n?n:i(n.split("/"))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3174:function(e,t){"use strict";function n(e,t){return void 0===t&&(t=!0),e.pathname+e.search+(t?e.hash:"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createHrefFromUrl",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},322:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createInitialRouterState",{enumerable:!0,get:function(){return c}});let r=n(3174),o=n(3821),u=n(6626),l=n(6004),a=n(1507),i=n(4922);function c(e){var t;let{buildId:n,initialTree:c,initialSeedData:s,initialCanonicalUrl:f,initialParallelRoutes:d,location:p,initialHead:h,couldBeIntercepted:y}=e,v=!p,g={lazyData:null,rsc:s[2],prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:v?new Map:d,lazyDataResolved:!1,loading:s[3]},b=p?(0,r.createHrefFromUrl)(p):f;(0,i.addRefreshMarkerToActiveParallelSegments)(c,b);let m=new Map;(null===d||0===d.size)&&(0,o.fillLazyItemsTillLeafWithHead)(g,void 0,c,s,h);let P={buildId:n,tree:c,cache:g,prefetchCache:m,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:{apply:!1,onlyHashChange:!1,hashFragment:null,segmentPaths:[]},canonicalUrl:b,nextUrl:null!=(t=(0,u.extractPathFromFlightRouterState)(c)||(null==p?void 0:p.pathname))?t:null};if(p){let e=new URL(p.pathname,p.origin),t=[["",c,null,null]];(0,l.createPrefetchCacheEntryForInitialLoad)({url:e,kind:a.PrefetchKind.AUTO,data:[t,void 0,!1,y],tree:P.tree,prefetchCache:P.prefetchCache,nextUrl:P.nextUrl})}return P}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1784:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createRouterCacheKey",{enumerable:!0,get:function(){return o}});let r=n(0);function o(e,t){return(void 0===t&&(t=!1),Array.isArray(e))?e[0]+"|"+e[1]+"|"+e[2]:t&&e.startsWith(r.PAGE_SEGMENT_KEY)?r.PAGE_SEGMENT_KEY:e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1283:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fetchServerResponse",{enumerable:!0,get:function(){return s}});let r=n(7325),o=n(5751),u=n(4590),l=n(1507),a=n(4736),{createFromFetch:i}=n(6671);function c(e){return[(0,o.urlToUrlWithoutFlightMarker)(e).toString(),void 0,!1,!1]}async function s(e,t,n,s,f){let d={[r.RSC_HEADER]:"1",[r.NEXT_ROUTER_STATE_TREE]:encodeURIComponent(JSON.stringify(t))};f===l.PrefetchKind.AUTO&&(d[r.NEXT_ROUTER_PREFETCH_HEADER]="1"),n&&(d[r.NEXT_URL]=n);let p=(0,a.hexHash)([d[r.NEXT_ROUTER_PREFETCH_HEADER]||"0",d[r.NEXT_ROUTER_STATE_TREE],d[r.NEXT_URL]].join(","));try{var h;let t=new URL(e);t.pathname.endsWith("/")?t.pathname+="index.txt":t.pathname+=".txt",t.searchParams.set(r.NEXT_RSC_UNION_QUERY,p);let n=await fetch(t,{credentials:"same-origin",headers:d}),l=(0,o.urlToUrlWithoutFlightMarker)(n.url),a=n.redirected?l:void 0,f=n.headers.get("content-type")||"",y=!!n.headers.get(r.NEXT_DID_POSTPONE_HEADER),v=!!(null==(h=n.headers.get("vary"))?void 0:h.includes(r.NEXT_URL)),g=f===r.RSC_CONTENT_TYPE_HEADER;if(g||(g=f.startsWith("text/plain")),!g||!n.ok)return e.hash&&(l.hash=e.hash),c(l.toString());let[b,m]=await i(Promise.resolve(n),{callServer:u.callServer});if(s!==b)return c(n.url);return[m,a,y,v]}catch(t){return console.error("Failed to fetch RSC payload for "+e+". Falling back to browser navigation.",t),[e.toString(),void 0,!1,!1]}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1133:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillCacheWithNewSubTreeData",{enumerable:!0,get:function(){return function e(t,n,l,a){let i=l.length<=5,[c,s]=l,f=(0,u.createRouterCacheKey)(s),d=n.parallelRoutes.get(c);if(!d)return;let p=t.parallelRoutes.get(c);p&&p!==d||(p=new Map(d),t.parallelRoutes.set(c,p));let h=d.get(f),y=p.get(f);if(i){if(!y||!y.lazyData||y===h){let e=l[3];y={lazyData:null,rsc:e[2],prefetchRsc:null,head:null,prefetchHead:null,loading:e[3],parallelRoutes:h?new Map(h.parallelRoutes):new Map,lazyDataResolved:!1},h&&(0,r.invalidateCacheByRouterState)(y,h,l[2]),(0,o.fillLazyItemsTillLeafWithHead)(y,h,l[2],e,l[4],a),p.set(f,y)}return}y&&h&&(y===h&&(y={lazyData:y.lazyData,rsc:y.rsc,prefetchRsc:y.prefetchRsc,head:y.head,prefetchHead:y.prefetchHead,parallelRoutes:new Map(y.parallelRoutes),lazyDataResolved:!1,loading:y.loading},p.set(f,y)),e(y,h,l.slice(2),a))}}});let r=n(4213),o=n(3821),u=n(1784);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3821:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillLazyItemsTillLeafWithHead",{enumerable:!0,get:function(){return function e(t,n,u,l,a,i){if(0===Object.keys(u[1]).length){t.head=a;return}for(let c in u[1]){let s;let f=u[1][c],d=f[0],p=(0,r.createRouterCacheKey)(d),h=null!==l&&void 0!==l[1][c]?l[1][c]:null;if(n){let r=n.parallelRoutes.get(c);if(r){let n;let u=(null==i?void 0:i.kind)==="auto"&&i.status===o.PrefetchCacheEntryStatus.reusable,l=new Map(r),s=l.get(p);n=null!==h?{lazyData:null,rsc:h[2],prefetchRsc:null,head:null,prefetchHead:null,loading:h[3],parallelRoutes:new Map(null==s?void 0:s.parallelRoutes),lazyDataResolved:!1}:u&&s?{lazyData:s.lazyData,rsc:s.rsc,prefetchRsc:s.prefetchRsc,head:s.head,prefetchHead:s.prefetchHead,parallelRoutes:new Map(s.parallelRoutes),lazyDataResolved:s.lazyDataResolved,loading:s.loading}:{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map(null==s?void 0:s.parallelRoutes),lazyDataResolved:!1,loading:null},l.set(p,n),e(n,s,f,h||null,a,i),t.parallelRoutes.set(c,l);continue}}if(null!==h){let e=h[2],t=h[3];s={lazyData:null,rsc:e,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:t}}else s={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null};let y=t.parallelRoutes.get(c);y?y.set(p,s):t.parallelRoutes.set(c,new Map([[p,s]])),e(s,void 0,f,h,a,i)}}}});let r=n(1784),o=n(1507);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6416:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleMutable",{enumerable:!0,get:function(){return u}});let r=n(6626);function o(e){return void 0!==e}function u(e,t){var n,u,l;let a=null==(u=t.shouldScroll)||u,i=e.nextUrl;if(o(t.patchedTree)){let n=(0,r.computeChangedPath)(e.tree,t.patchedTree);n?i=n:i||(i=e.canonicalUrl)}return{buildId:e.buildId,canonicalUrl:o(t.canonicalUrl)?t.canonicalUrl===e.canonicalUrl?e.canonicalUrl:t.canonicalUrl:e.canonicalUrl,pushRef:{pendingPush:o(t.pendingPush)?t.pendingPush:e.pushRef.pendingPush,mpaNavigation:o(t.mpaNavigation)?t.mpaNavigation:e.pushRef.mpaNavigation,preserveCustomHistoryState:o(t.preserveCustomHistoryState)?t.preserveCustomHistoryState:e.pushRef.preserveCustomHistoryState},focusAndScrollRef:{apply:!!a&&(!!o(null==t?void 0:t.scrollableSegments)||e.focusAndScrollRef.apply),onlyHashChange:!!t.hashFragment&&e.canonicalUrl.split("#",1)[0]===(null==(n=t.canonicalUrl)?void 0:n.split("#",1)[0]),hashFragment:a?t.hashFragment&&""!==t.hashFragment?decodeURIComponent(t.hashFragment.slice(1)):e.focusAndScrollRef.hashFragment:null,segmentPaths:a?null!=(l=null==t?void 0:t.scrollableSegments)?l:e.focusAndScrollRef.segmentPaths:[]},cache:t.cache?t.cache:e.cache,prefetchCache:t.prefetchCache?t.prefetchCache:e.prefetchCache,tree:o(t.patchedTree)?t.patchedTree:e.tree,nextUrl:i}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},774:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSegmentMismatch",{enumerable:!0,get:function(){return o}});let r=n(1294);function o(e,t,n){return(0,r.handleExternalUrl)(e,{},e.canonicalUrl,!0)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9863:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"invalidateCacheBelowFlightSegmentPath",{enumerable:!0,get:function(){return function e(t,n,o){let u=o.length<=2,[l,a]=o,i=(0,r.createRouterCacheKey)(a),c=n.parallelRoutes.get(l);if(!c)return;let s=t.parallelRoutes.get(l);if(s&&s!==c||(s=new Map(c),t.parallelRoutes.set(l,s)),u){s.delete(i);return}let f=c.get(i),d=s.get(i);d&&f&&(d===f&&(d={lazyData:d.lazyData,rsc:d.rsc,prefetchRsc:d.prefetchRsc,head:d.head,prefetchHead:d.prefetchHead,parallelRoutes:new Map(d.parallelRoutes),lazyDataResolved:d.lazyDataResolved},s.set(i,d)),e(d,f,o.slice(2)))}}});let r=n(1784);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4213:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"invalidateCacheByRouterState",{enumerable:!0,get:function(){return o}});let r=n(1784);function o(e,t,n){for(let o in n[1]){let u=n[1][o][0],l=(0,r.createRouterCacheKey)(u),a=t.parallelRoutes.get(o);if(a){let t=new Map(a);t.delete(l),e.parallelRoutes.set(o,t)}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},139:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNavigatingToNewRootLayout",{enumerable:!0,get:function(){return function e(t,n){let r=t[0],o=n[0];if(Array.isArray(r)&&Array.isArray(o)){if(r[0]!==o[0]||r[2]!==o[2])return!0}else if(r!==o)return!0;if(t[4])return!n[4];if(n[4])return!0;let u=Object.values(t[1])[0],l=Object.values(n[1])[0];return!u||!l||e(u,l)}}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3060:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{abortTask:function(){return c},listenForDynamicRequest:function(){return a},updateCacheNodeOnNavigation:function(){return function e(t,n,a,c,s){let f=n[1],d=a[1],p=c[1],h=t.parallelRoutes,y=new Map(h),v={},g=null;for(let t in d){let n;let a=d[t],c=f[t],b=h.get(t),m=p[t],P=a[0],R=(0,u.createRouterCacheKey)(P),j=void 0!==c?c[0]:void 0,O=void 0!==b?b.get(R):void 0;if(null!==(n=P===r.PAGE_SEGMENT_KEY?l(a,void 0!==m?m:null,s):P===r.DEFAULT_SEGMENT_KEY?void 0!==c?{route:c,node:null,children:null}:l(a,void 0!==m?m:null,s):void 0!==j&&(0,o.matchSegment)(P,j)&&void 0!==O&&void 0!==c?null!=m?e(O,c,a,m,s):function(e){let t=i(e,null,null);return{route:e,node:t,children:null}}(a):l(a,void 0!==m?m:null,s))){null===g&&(g=new Map),g.set(t,n);let e=n.node;if(null!==e){let n=new Map(b);n.set(R,e),y.set(t,n)}v[t]=n.route}else v[t]=a}if(null===g)return null;let b={lazyData:null,rsc:t.rsc,prefetchRsc:t.prefetchRsc,head:t.head,prefetchHead:t.prefetchHead,loading:t.loading,parallelRoutes:y,lazyDataResolved:!1};return{route:function(e,t){let n=[e[0],t];return 2 in e&&(n[2]=e[2]),3 in e&&(n[3]=e[3]),4 in e&&(n[4]=e[4]),n}(a,v),node:b,children:g}}},updateCacheNodeOnPopstateRestoration:function(){return function e(t,n){let r=n[1],o=t.parallelRoutes,l=new Map(o);for(let t in r){let n=r[t],a=n[0],i=(0,u.createRouterCacheKey)(a),c=o.get(t);if(void 0!==c){let r=c.get(i);if(void 0!==r){let o=e(r,n),u=new Map(c);u.set(i,o),l.set(t,u)}}}let a=t.rsc,i=d(a)&&"pending"===a.status;return{lazyData:null,rsc:a,head:t.head,prefetchHead:i?t.prefetchHead:null,prefetchRsc:i?t.prefetchRsc:null,loading:i?t.loading:null,parallelRoutes:l,lazyDataResolved:!1}}}});let r=n(0),o=n(6237),u=n(1784);function l(e,t,n){let r=i(e,t,n);return{route:e,node:r,children:null}}function a(e,t){t.then(t=>{for(let n of t[0]){let t=n.slice(0,-3),r=n[n.length-3],l=n[n.length-2],a=n[n.length-1];"string"!=typeof t&&function(e,t,n,r,l){let a=e;for(let e=0;e{c(e,t)})}function i(e,t,n){let r=e[1],o=null!==t?t[1]:null,l=new Map;for(let e in r){let t=r[e],a=null!==o?o[e]:null,c=t[0],s=(0,u.createRouterCacheKey)(c),f=i(t,void 0===a?null:a,n),d=new Map;d.set(s,f),l.set(e,d)}let a=0===l.size,c=null!==t?t[2]:null,s=null!==t?t[3]:null;return{lazyData:null,parallelRoutes:l,prefetchRsc:void 0!==c?c:null,prefetchHead:a?n:null,loading:void 0!==s?s:null,rsc:p(),head:a?p():null,lazyDataResolved:!1}}function c(e,t){let n=e.node;if(null===n)return;let r=e.children;if(null===r)s(e.route,n,t);else for(let e of r.values())c(e,t);e.node=null}function s(e,t,n){let r=e[1],o=t.parallelRoutes;for(let e in r){let t=r[e],l=o.get(e);if(void 0===l)continue;let a=t[0],i=(0,u.createRouterCacheKey)(a),c=l.get(i);void 0!==c&&s(t,c,n)}let l=t.rsc;d(l)&&(null===n?l.resolve(null):l.reject(n));let a=t.head;d(a)&&a.resolve(null)}let f=Symbol();function d(e){return e&&e.tag===f}function p(){let e,t;let n=new Promise((n,r)=>{e=n,t=r});return n.status="pending",n.resolve=t=>{"pending"===n.status&&(n.status="fulfilled",n.value=t,e(t))},n.reject=e=>{"pending"===n.status&&(n.status="rejected",n.reason=e,t(e))},n.tag=f,n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6004:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{createPrefetchCacheEntryForInitialLoad:function(){return c},getOrCreatePrefetchCacheEntry:function(){return i},prunePrefetchCache:function(){return f}});let r=n(3174),o=n(1283),u=n(1507),l=n(9218);function a(e,t){let n=(0,r.createHrefFromUrl)(e,!1);return t?t+"%"+n:n}function i(e){let t,{url:n,nextUrl:r,tree:o,buildId:l,prefetchCache:i,kind:c}=e,f=a(n,r),d=i.get(f);if(d)t=d;else{let e=a(n),r=i.get(e);r&&(t=r)}return t?(t.status=h(t),t.kind!==u.PrefetchKind.FULL&&c===u.PrefetchKind.FULL)?s({tree:o,url:n,buildId:l,nextUrl:r,prefetchCache:i,kind:null!=c?c:u.PrefetchKind.TEMPORARY}):(c&&t.kind===u.PrefetchKind.TEMPORARY&&(t.kind=c),t):s({tree:o,url:n,buildId:l,nextUrl:r,prefetchCache:i,kind:c||u.PrefetchKind.TEMPORARY})}function c(e){let{nextUrl:t,tree:n,prefetchCache:r,url:o,kind:l,data:i}=e,[,,,c]=i,s=c?a(o,t):a(o),f={treeAtTimeOfPrefetch:n,data:Promise.resolve(i),kind:l,prefetchTime:Date.now(),lastUsedTime:Date.now(),key:s,status:u.PrefetchCacheEntryStatus.fresh};return r.set(s,f),f}function s(e){let{url:t,kind:n,tree:r,nextUrl:i,buildId:c,prefetchCache:s}=e,f=a(t),d=l.prefetchQueue.enqueue(()=>(0,o.fetchServerResponse)(t,r,i,c,n).then(e=>{let[,,,n]=e;return n&&function(e){let{url:t,nextUrl:n,prefetchCache:r}=e,o=a(t),u=r.get(o);if(!u)return;let l=a(t,n);r.set(l,u),r.delete(o)}({url:t,nextUrl:i,prefetchCache:s}),e})),p={treeAtTimeOfPrefetch:r,data:d,kind:n,prefetchTime:Date.now(),lastUsedTime:null,key:f,status:u.PrefetchCacheEntryStatus.fresh};return s.set(f,p),p}function f(e){for(let[t,n]of e)h(n)===u.PrefetchCacheEntryStatus.expired&&e.delete(t)}let d=1e3*Number("30"),p=1e3*Number("300");function h(e){let{kind:t,prefetchTime:n,lastUsedTime:r}=e;return Date.now()<(null!=r?r:n)+d?r?u.PrefetchCacheEntryStatus.reusable:u.PrefetchCacheEntryStatus.fresh:"auto"===t&&Date.now(){let[n,f]=t,h=!1;if(E.lastUsedTime||(E.lastUsedTime=Date.now(),h=!0),"string"==typeof n)return v(e,R,n,S);if(document.getElementById("__next-page-redirect"))return v(e,R,O,S);let b=e.tree,m=e.cache,T=[];for(let t of n){let n=t.slice(0,-4),r=t.slice(-3)[0],c=["",...n],f=(0,u.applyRouterStatePatchToTree)(c,b,r,O);if(null===f&&(f=(0,u.applyRouterStatePatchToTree)(c,w,r,O)),null!==f){if((0,a.isNavigatingToNewRootLayout)(b,f))return v(e,R,O,S);let u=(0,d.createEmptyCacheNode)(),P=!1;for(let e of(E.status!==i.PrefetchCacheEntryStatus.stale||h?P=(0,s.applyFlightData)(m,u,t,E):(P=function(e,t,n,r){let o=!1;for(let u of(e.rsc=t.rsc,e.prefetchRsc=t.prefetchRsc,e.loading=t.loading,e.parallelRoutes=new Map(t.parallelRoutes),g(r).map(e=>[...n,...e])))(0,y.clearCacheNodeDataForSegmentPath)(e,t,u),o=!0;return o}(u,m,n,r),E.lastUsedTime=Date.now()),(0,l.shouldHardNavigate)(c,b)?(u.rsc=m.rsc,u.prefetchRsc=m.prefetchRsc,(0,o.invalidateCacheBelowFlightSegmentPath)(u,m,n),R.cache=u):P&&(R.cache=u),b=f,g(r))){let t=[...n,...e];t[t.length-1]!==p.DEFAULT_SEGMENT_KEY&&T.push(t)}}}return R.patchedTree=b,R.canonicalUrl=f?(0,r.createHrefFromUrl)(f):O,R.pendingPush=S,R.scrollableSegments=T,R.hashFragment=j,R.shouldScroll=P,(0,c.handleMutable)(e,R)},()=>e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9218:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{prefetchQueue:function(){return l},prefetchReducer:function(){return a}});let r=n(7325),o=n(3858),u=n(6004),l=new o.PromiseQueue(5);function a(e,t){(0,u.prunePrefetchCache)(e.prefetchCache);let{url:n}=t;return n.searchParams.delete(r.NEXT_RSC_UNION_QUERY),(0,u.getOrCreatePrefetchCacheEntry)({url:n,nextUrl:e.nextUrl,prefetchCache:e.prefetchCache,kind:t.kind,tree:e.tree,buildId:e.buildId}),e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5239:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"refreshReducer",{enumerable:!0,get:function(){return h}});let r=n(1283),o=n(3174),u=n(9684),l=n(139),a=n(1294),i=n(6416),c=n(3821),s=n(5751),f=n(774),d=n(5914),p=n(4922);function h(e,t){let{origin:n}=t,h={},y=e.canonicalUrl,v=e.tree;h.preserveCustomHistoryState=!1;let g=(0,s.createEmptyCacheNode)(),b=(0,d.hasInterceptionRouteInCurrentTree)(e.tree);return g.lazyData=(0,r.fetchServerResponse)(new URL(y,n),[v[0],v[1],v[2],"refetch"],b?e.nextUrl:null,e.buildId),g.lazyData.then(async n=>{let[r,s]=n;if("string"==typeof r)return(0,a.handleExternalUrl)(e,h,r,e.pushRef.pendingPush);for(let n of(g.lazyData=null,r)){if(3!==n.length)return console.log("REFRESH FAILED"),e;let[r]=n,i=(0,u.applyRouterStatePatchToTree)([""],v,r,e.canonicalUrl);if(null===i)return(0,f.handleSegmentMismatch)(e,t,r);if((0,l.isNavigatingToNewRootLayout)(v,i))return(0,a.handleExternalUrl)(e,h,y,e.pushRef.pendingPush);let d=s?(0,o.createHrefFromUrl)(s):void 0;s&&(h.canonicalUrl=d);let[m,P]=n.slice(-2);if(null!==m){let e=m[2];g.rsc=e,g.prefetchRsc=null,(0,c.fillLazyItemsTillLeafWithHead)(g,void 0,r,m,P),h.prefetchCache=new Map}await (0,p.refreshInactiveParallelSegments)({state:e,updatedTree:i,updatedCache:g,includeNextUrl:b}),h.cache=g,h.patchedTree=i,h.canonicalUrl=y,v=i}return(0,i.handleMutable)(e,h)},()=>e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6131:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"restoreReducer",{enumerable:!0,get:function(){return u}});let r=n(3174),o=n(6626);function u(e,t){var n;let{url:u,tree:l}=t,a=(0,r.createHrefFromUrl)(u),i=l||e.tree,c=e.cache;return{buildId:e.buildId,canonicalUrl:a,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:e.focusAndScrollRef,cache:c,prefetchCache:e.prefetchCache,tree:i,nextUrl:null!=(n=(0,o.extractPathFromFlightRouterState)(i))?n:u.pathname}}n(3060),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4549:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverActionReducer",{enumerable:!0,get:function(){return m}});let r=n(4590),o=n(7325),u=n(4897),l=n(3174),a=n(1294),i=n(9684),c=n(139),s=n(6416),f=n(3821),d=n(5751),p=n(5914),h=n(774),y=n(4922),{createFromFetch:v,encodeReply:g}=n(6671);async function b(e,t,n){let l,{actionId:a,actionArgs:i}=n,c=await g(i),s=await fetch("",{method:"POST",headers:{Accept:o.RSC_CONTENT_TYPE_HEADER,[o.ACTION]:a,[o.NEXT_ROUTER_STATE_TREE]:encodeURIComponent(JSON.stringify(e.tree)),...t?{[o.NEXT_URL]:t}:{}},body:c}),f=s.headers.get("x-action-redirect");try{let e=JSON.parse(s.headers.get("x-action-revalidated")||"[[],0,0]");l={paths:e[0]||[],tag:!!e[1],cookie:e[2]}}catch(e){l={paths:[],tag:!1,cookie:!1}}let d=f?new URL((0,u.addBasePath)(f),new URL(e.canonicalUrl,window.location.href)):void 0;if(s.headers.get("content-type")===o.RSC_CONTENT_TYPE_HEADER){let e=await v(Promise.resolve(s),{callServer:r.callServer});if(f){let[,t]=null!=e?e:[];return{actionFlightData:t,redirectLocation:d,revalidatedParts:l}}let[t,[,n]]=null!=e?e:[];return{actionResult:t,actionFlightData:n,redirectLocation:d,revalidatedParts:l}}return{redirectLocation:d,revalidatedParts:l}}function m(e,t){let{resolve:n,reject:r}=t,o={},u=e.canonicalUrl,v=e.tree;o.preserveCustomHistoryState=!1;let g=e.nextUrl&&(0,p.hasInterceptionRouteInCurrentTree)(e.tree)?e.nextUrl:null;return o.inFlightServerAction=b(e,g,t),o.inFlightServerAction.then(async r=>{let{actionResult:p,actionFlightData:b,redirectLocation:m}=r;if(m&&(e.pushRef.pendingPush=!0,o.pendingPush=!0),!b)return(n(p),m)?(0,a.handleExternalUrl)(e,o,m.href,e.pushRef.pendingPush):e;if("string"==typeof b)return(0,a.handleExternalUrl)(e,o,b,e.pushRef.pendingPush);for(let n of(o.inFlightServerAction=null,b)){if(3!==n.length)return console.log("SERVER ACTION APPLY FAILED"),e;let[r]=n,s=(0,i.applyRouterStatePatchToTree)([""],v,r,m?(0,l.createHrefFromUrl)(m):e.canonicalUrl);if(null===s)return(0,h.handleSegmentMismatch)(e,t,r);if((0,c.isNavigatingToNewRootLayout)(v,s))return(0,a.handleExternalUrl)(e,o,u,e.pushRef.pendingPush);let[p,b]=n.slice(-2),P=null!==p?p[2]:null;if(null!==P){let t=(0,d.createEmptyCacheNode)();t.rsc=P,t.prefetchRsc=null,(0,f.fillLazyItemsTillLeafWithHead)(t,void 0,r,p,b),await (0,y.refreshInactiveParallelSegments)({state:e,updatedTree:s,updatedCache:t,includeNextUrl:!!g}),o.cache=t,o.prefetchCache=new Map}o.patchedTree=s,o.canonicalUrl=u,v=s}if(m){let e=(0,l.createHrefFromUrl)(m,!1);o.canonicalUrl=e}return n(p),(0,s.handleMutable)(e,o)},t=>(r(t),e))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8289:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverPatchReducer",{enumerable:!0,get:function(){return f}});let r=n(3174),o=n(9684),u=n(139),l=n(1294),a=n(9607),i=n(6416),c=n(5751),s=n(774);function f(e,t){let{serverResponse:n}=t,[f,d]=n,p={};if(p.preserveCustomHistoryState=!1,"string"==typeof f)return(0,l.handleExternalUrl)(e,p,f,e.pushRef.pendingPush);let h=e.tree,y=e.cache;for(let n of f){let i=n.slice(0,-4),[f]=n.slice(-3,-2),v=(0,o.applyRouterStatePatchToTree)(["",...i],h,f,e.canonicalUrl);if(null===v)return(0,s.handleSegmentMismatch)(e,t,f);if((0,u.isNavigatingToNewRootLayout)(h,v))return(0,l.handleExternalUrl)(e,p,e.canonicalUrl,e.pushRef.pendingPush);let g=d?(0,r.createHrefFromUrl)(d):void 0;g&&(p.canonicalUrl=g);let b=(0,c.createEmptyCacheNode)();(0,a.applyFlightData)(y,b,n),p.patchedTree=v,p.cache=b,y=b,h=v}return(0,i.handleMutable)(e,p)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4922:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{addRefreshMarkerToActiveParallelSegments:function(){return function e(t,n){let[r,o,,l]=t;for(let a in r.includes(u.PAGE_SEGMENT_KEY)&&"refresh"!==l&&(t[2]=n,t[3]="refresh"),o)e(o[a],n)}},refreshInactiveParallelSegments:function(){return l}});let r=n(9607),o=n(1283),u=n(0);async function l(e){let t=new Set;await a({...e,rootTree:e.updatedTree,fetchedSegments:t})}async function a(e){let{state:t,updatedTree:n,updatedCache:u,includeNextUrl:l,fetchedSegments:i,rootTree:c=n}=e,[,s,f,d]=n,p=[];if(f&&f!==location.pathname+location.search&&"refresh"===d&&!i.has(f)){i.add(f);let e=(0,o.fetchServerResponse)(new URL(f,location.origin),[c[0],c[1],c[2],"refetch"],l?t.nextUrl:null,t.buildId).then(e=>{let t=e[0];if("string"!=typeof t)for(let e of t)(0,r.applyFlightData)(u,u,e)});p.push(e)}for(let e in s){let n=a({state:t,updatedTree:s[e],updatedCache:u,includeNextUrl:l,fetchedSegments:i,rootTree:c});p.push(n)}await Promise.all(p)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1507:function(e,t){"use strict";var n,r,o,u;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION_FAST_REFRESH:function(){return f},ACTION_NAVIGATE:function(){return a},ACTION_PREFETCH:function(){return s},ACTION_REFRESH:function(){return l},ACTION_RESTORE:function(){return i},ACTION_SERVER_ACTION:function(){return d},ACTION_SERVER_PATCH:function(){return c},PrefetchCacheEntryStatus:function(){return r},PrefetchKind:function(){return n},isThenable:function(){return p}});let l="refresh",a="navigate",i="restore",c="server-patch",s="prefetch",f="fast-refresh",d="server-action";function p(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(o=n||(n={})).AUTO="auto",o.FULL="full",o.TEMPORARY="temporary",(u=r||(r={})).fresh="fresh",u.reusable="reusable",u.expired="expired",u.stale="stale",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},643:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"reducer",{enumerable:!0,get:function(){return f}});let r=n(1507),o=n(1294),u=n(8289),l=n(6131),a=n(5239),i=n(9218),c=n(1129),s=n(4549),f="undefined"==typeof window?function(e,t){return e}:function(e,t){switch(t.type){case r.ACTION_NAVIGATE:return(0,o.navigateReducer)(e,t);case r.ACTION_SERVER_PATCH:return(0,u.serverPatchReducer)(e,t);case r.ACTION_RESTORE:return(0,l.restoreReducer)(e,t);case r.ACTION_REFRESH:return(0,a.refreshReducer)(e,t);case r.ACTION_FAST_REFRESH:return(0,c.fastRefreshReducer)(e,t);case r.ACTION_PREFETCH:return(0,i.prefetchReducer)(e,t);case r.ACTION_SERVER_ACTION:return(0,s.serverActionReducer)(e,t);default:throw Error("Unknown action")}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4740:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"shouldHardNavigate",{enumerable:!0,get:function(){return function e(t,n){let[o,u]=n,[l,a]=t;return(0,r.matchSegment)(l,o)?!(t.length<=2)&&e(t.slice(2),u[a]):!!Array.isArray(l)}}});let r=n(6237);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8897:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{createDynamicallyTrackedSearchParams:function(){return a},createUntrackedSearchParams:function(){return l}});let r=n(4936),o=n(2441),u=n(7991);function l(e){let t=r.staticGenerationAsyncStorage.getStore();return t&&t.forceStatic?{}:e}function a(e){let t=r.staticGenerationAsyncStorage.getStore();return t?t.forceStatic?{}:t.isStaticGeneration||t.dynamicShouldError?new Proxy({},{get:(e,n,r)=>("string"==typeof n&&(0,o.trackDynamicDataAccessed)(t,"searchParams."+n),u.ReflectAdapter.get(e,n,r)),has:(e,n)=>("string"==typeof n&&(0,o.trackDynamicDataAccessed)(t,"searchParams."+n),Reflect.has(e,n)),ownKeys:e=>((0,o.trackDynamicDataAccessed)(t,"searchParams"),Reflect.ownKeys(e))}):e:e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4936:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"staticGenerationAsyncStorage",{enumerable:!0,get:function(){return r.staticGenerationAsyncStorage}});let r=n(7685);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5108:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{StaticGenBailoutError:function(){return r},isStaticGenBailoutError:function(){return o}});let n="NEXT_STATIC_GEN_BAILOUT";class r extends Error{constructor(...e){super(...e),this.code=n}}function o(e){return"object"==typeof e&&null!==e&&"code"in e&&e.code===n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1108:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unresolvedThenable",{enumerable:!0,get:function(){return n}});let n={then:()=>{}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2114:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{useReducerWithReduxDevtools:function(){return i},useUnwrapState:function(){return a}});let r=n(6720)._(n(2265)),o=n(1507),u=n(1427);function l(e){if(e instanceof Map){let t={};for(let[n,r]of e.entries()){if("function"==typeof r){t[n]="fn()";continue}if("object"==typeof r&&null!==r){if(r.$$typeof){t[n]=r.$$typeof.toString();continue}if(r._bundlerConfig){t[n]="FlightData";continue}}t[n]=l(r)}return t}if("object"==typeof e&&null!==e){let t={};for(let n in e){let r=e[n];if("function"==typeof r){t[n]="fn()";continue}if("object"==typeof r&&null!==r){if(r.$$typeof){t[n]=r.$$typeof.toString();continue}if(r.hasOwnProperty("_bundlerConfig")){t[n]="FlightData";continue}}t[n]=l(r)}return t}return Array.isArray(e)?e.map(l):e}function a(e){return(0,o.isThenable)(e)?(0,r.use)(e):e}let i="undefined"!=typeof window?function(e){let[t,n]=r.default.useState(e),o=(0,r.useContext)(u.ActionQueueContext);if(!o)throw Error("Invariant: Missing ActionQueueContext");let a=(0,r.useRef)(),i=(0,r.useRef)();return(0,r.useEffect)(()=>{if(!a.current&&!1!==i.current){if(void 0===i.current&&void 0===window.__REDUX_DEVTOOLS_EXTENSION__){i.current=!1;return}return a.current=window.__REDUX_DEVTOOLS_EXTENSION__.connect({instanceId:8e3,name:"next-router"}),a.current&&(a.current.init(l(e)),o&&(o.devToolsInstance=a.current)),()=>{a.current=void 0}}},[e,o]),[t,(0,r.useCallback)(t=>{o.state||(o.state=e),o.dispatch(t,n)},[o,e]),(0,r.useCallback)(e=>{a.current&&a.current.send({type:"RENDER_SYNC"},l(e))},[])]}:function(e){return[e,()=>{},()=>{}]};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9404:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return o}});let r=n(5121);function o(e){return(0,r.pathHasPrefix)(e,"")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8157:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return u}});let r=n(7741),o=n(1465),u=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:n,hash:u}=(0,o.parsePath)(e);return""+(0,r.removeTrailingSlash)(t)+n+u};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6124:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=n(5592);function o(e){let t="function"==typeof reportError?reportError:e=>{window.console.error(e)};(0,r.isBailoutToCSRError)(e)||t(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7599:function(e,t,n){"use strict";function r(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return r}}),n(9404),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9176:function(e,t){"use strict";function n(e,t){var n=e.length;for(e.push(t);0>>1,o=e[r];if(0>>1;ru(i,n))cu(s,i)?(e[r]=s,e[c]=n,r=c):(e[r]=i,e[a]=n,r=a);else if(cu(s,n))e[r]=s,e[c]=n,r=c;else break}}return t}function u(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var l,a=performance;t.unstable_now=function(){return a.now()}}else{var i=Date,c=i.now();t.unstable_now=function(){return i.now()-c}}var s=[],f=[],d=1,p=null,h=3,y=!1,v=!1,g=!1,b="function"==typeof setTimeout?setTimeout:null,m="function"==typeof clearTimeout?clearTimeout:null,P="undefined"!=typeof setImmediate?setImmediate:null;function R(e){for(var t=r(f);null!==t;){if(null===t.callback)o(f);else if(t.startTime<=e)o(f),t.sortIndex=t.expirationTime,n(s,t);else break;t=r(f)}}function j(e){if(g=!1,R(e),!v){if(null!==r(s))v=!0,A();else{var t=r(f);null!==t&&N(j,t.startTime-e)}}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var O=!1,S=-1,E=5,w=-1;function T(){return!(t.unstable_now()-we&&T());){var a=p.callback;if("function"==typeof a){p.callback=null,h=p.priorityLevel;var i=a(p.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof i){p.callback=i,R(e),n=!0;break t}p===r(s)&&o(s),R(e)}else o(s);p=r(s)}if(null!==p)n=!0;else{var c=r(f);null!==c&&N(j,c.startTime-e),n=!1}}break e}finally{p=null,h=u,y=!1}n=void 0}}finally{n?l():O=!1}}}if("function"==typeof P)l=function(){P(M)};else if("undefined"!=typeof MessageChannel){var x=new MessageChannel,C=x.port2;x.port1.onmessage=M,l=function(){C.postMessage(null)}}else l=function(){b(M,0)};function A(){O||(O=!0,l())}function N(e,n){S=b(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){v||y||(v=!0,A())},t.unstable_forceFrameRate=function(e){0>e||125l?(e.sortIndex=u,n(f,e),null===r(s)&&e===r(f)&&(g?(m(S),S=-1):g=!0,N(j,u-l))):(e.sortIndex=a,n(s,e),v||y||(v=!0,A())),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},5689:function(e,t,n){"use strict";e.exports=n(9176)},1358:function(e,t){"use strict";function n(e){return new URL(e,"http://n").pathname}function r(e){return/https?:\/\//.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getPathname:function(){return n},isFullStringUrl:function(){return r}})},2441:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{Postpone:function(){return d},createPostponedAbortSignal:function(){return b},createPrerenderState:function(){return c},formatDynamicAPIAccesses:function(){return v},markCurrentScopeAsDynamic:function(){return s},trackDynamicDataAccessed:function(){return f},trackDynamicFetch:function(){return p},usedDynamicAPIs:function(){return y}});let o=(r=n(2265))&&r.__esModule?r:{default:r},u=n(7910),l=n(5108),a=n(1358),i="function"==typeof o.default.unstable_postpone;function c(e){return{isDebugSkeleton:e,dynamicAccesses:[]}}function s(e,t){let n=(0,a.getPathname)(e.urlPathname);if(!e.isUnstableCacheCallback){if(e.dynamicShouldError)throw new l.StaticGenBailoutError(`Route ${n} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${t}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`);if(e.prerenderState)h(e.prerenderState,t,n);else if(e.revalidate=0,e.isStaticGeneration){let r=new u.DynamicServerError(`Route ${n} couldn't be rendered statically because it used ${t}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`);throw e.dynamicUsageDescription=t,e.dynamicUsageStack=r.stack,r}}}function f(e,t){let n=(0,a.getPathname)(e.urlPathname);if(e.isUnstableCacheCallback)throw Error(`Route ${n} used "${t}" inside a function cached with "unstable_cache(...)". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use "${t}" outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`);if(e.dynamicShouldError)throw new l.StaticGenBailoutError(`Route ${n} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${t}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`);if(e.prerenderState)h(e.prerenderState,t,n);else if(e.revalidate=0,e.isStaticGeneration){let r=new u.DynamicServerError(`Route ${n} couldn't be rendered statically because it used ${t}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`);throw e.dynamicUsageDescription=t,e.dynamicUsageStack=r.stack,r}}function d({reason:e,prerenderState:t,pathname:n}){h(t,e,n)}function p(e,t){e.prerenderState&&h(e.prerenderState,t,e.urlPathname)}function h(e,t,n){g();let r=`Route ${n} needs to bail out of prerendering at this point because it used ${t}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`;e.dynamicAccesses.push({stack:e.isDebugSkeleton?Error().stack:void 0,expression:t}),o.default.unstable_postpone(r)}function y(e){return e.dynamicAccesses.length>0}function v(e){return e.dynamicAccesses.filter(e=>"string"==typeof e.stack&&e.stack.length>0).map(({expression:e,stack:t})=>(t=t.split("\n").slice(4).filter(e=>!(e.includes("node_modules/next/")||e.includes(" ()")||e.includes(" (node:"))).join("\n"),`Dynamic API Usage Debug - ${e}:
-${t}`))}function g(){if(!i)throw Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js")}function b(e){g();let t=new AbortController;try{o.default.unstable_postpone(e)}catch(e){t.abort(e)}return t.signal}},4286:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentParam",{enumerable:!0,get:function(){return o}});let r=n(2269);function o(e){let t=r.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t));return(t&&(e=e.slice(t.length)),e.startsWith("[[...")&&e.endsWith("]]"))?{type:"optional-catchall",param:e.slice(5,-2)}:e.startsWith("[...")&&e.endsWith("]")?{type:t?"catchall-intercepted":"catchall",param:e.slice(4,-1)}:e.startsWith("[")&&e.endsWith("]")?{type:t?"dynamic-intercepted":"dynamic",param:e.slice(1,-1)}:null}},3243:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HMR_ACTIONS_SENT_TO_BROWSER",{enumerable:!0,get:function(){return n}}),(r=n||(n={})).ADDED_PAGE="addedPage",r.REMOVED_PAGE="removedPage",r.RELOAD_PAGE="reloadPage",r.SERVER_COMPONENT_CHANGES="serverComponentChanges",r.MIDDLEWARE_CHANGES="middlewareChanges",r.CLIENT_CHANGES="clientChanges",r.SERVER_ONLY_CHANGES="serverOnlyChanges",r.SYNC="sync",r.BUILT="built",r.BUILDING="building",r.DEV_PAGES_MANIFEST_UPDATE="devPagesManifestUpdate",r.TURBOPACK_MESSAGE="turbopack-message",r.SERVER_ERROR="serverError",r.TURBOPACK_CONNECTED="turbopack-connected"},2269:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return o},extractInterceptionRouteInformation:function(){return l},isInterceptionRouteAppPath:function(){return u}});let r=n(3330),o=["(..)(..)","(.)","(..)","(...)"];function u(e){return void 0!==e.split("/").find(e=>o.find(t=>e.startsWith(t)))}function l(e){let t,n,u;for(let r of e.split("/"))if(n=o.find(e=>r.startsWith(e))){[t,u]=e.split(n,2);break}if(!t||!n||!u)throw Error(`Invalid interception route: ${e}. Must be in the format //(..|...|..)(..)/`);switch(t=(0,r.normalizeAppPath)(t),n){case"(.)":u="/"===t?`/${u}`:t+"/"+u;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);u=t.split("/").slice(0,-1).concat(u).join("/");break;case"(...)":u="/"+u;break;case"(..)(..)":let l=t.split("/");if(l.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);u=l.slice(0,-2).concat(u).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:u}}},7991:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReflectAdapter",{enumerable:!0,get:function(){return n}});class n{static get(e,t,n){let r=Reflect.get(e,t,n);return"function"==typeof r?r.bind(e):r}static set(e,t,n,r){return Reflect.set(e,t,n,r)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}},4467:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{AppRouterContext:function(){return o},GlobalLayoutRouterContext:function(){return l},LayoutRouterContext:function(){return u},MissingSlotContext:function(){return i},TemplateContext:function(){return a}});let r=n(1609)._(n(2265)),o=r.default.createContext(null),u=r.default.createContext(null),l=r.default.createContext(null),a=r.default.createContext(null),i=r.default.createContext(new Set)},4736:function(e,t){"use strict";function n(e){let t=5381;for(let n=0;n>>0}function r(e){return n(e).toString(36).slice(0,5)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{djb2Hash:function(){return n},hexHash:function(){return r}})},6590:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return r}});let r=n(1609)._(n(2265)).default.createContext({})},8056:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{PathParamsContext:function(){return l},PathnameContext:function(){return u},SearchParamsContext:function(){return o}});let r=n(2265),o=(0,r.createContext)(null),u=(0,r.createContext)(null),l=(0,r.createContext)(null)},5592:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{BailoutToCSRError:function(){return r},isBailoutToCSRError:function(){return o}});let n="BAILOUT_TO_CLIENT_SIDE_RENDERING";class r extends Error{constructor(e){super("Bail out to client-side rendering: "+e),this.reason=e,this.digest=n}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===n}},8558:function(e,t){"use strict";function n(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return n}})},1427:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ActionQueueContext:function(){return a},createMutableActionQueue:function(){return s}});let r=n(6720),o=n(1507),u=n(643),l=r._(n(2265)),a=l.default.createContext(null);function i(e,t){null!==e.pending&&(e.pending=e.pending.next,null!==e.pending?c({actionQueue:e,action:e.pending,setState:t}):e.needsRefresh&&(e.needsRefresh=!1,e.dispatch({type:o.ACTION_REFRESH,origin:window.location.origin},t)))}async function c(e){let{actionQueue:t,action:n,setState:r}=e,u=t.state;if(!u)throw Error("Invariant: Router state not initialized");t.pending=n;let l=n.payload,a=t.action(u,l);function c(e){n.discarded||(t.state=e,t.devToolsInstance&&t.devToolsInstance.send(l,e),i(t,r),n.resolve(e))}(0,o.isThenable)(a)?a.then(c,e=>{i(t,r),n.reject(e)}):c(a)}function s(){let e={state:null,dispatch:(t,n)=>(function(e,t,n){let r={resolve:n,reject:()=>{}};if(t.type!==o.ACTION_RESTORE){let e=new Promise((e,t)=>{r={resolve:e,reject:t}});(0,l.startTransition)(()=>{n(e)})}let u={payload:t,next:null,resolve:r.resolve,reject:r.reject};null===e.pending?(e.last=u,c({actionQueue:e,action:u,setState:n})):t.type===o.ACTION_NAVIGATE||t.type===o.ACTION_RESTORE?(e.pending.discarded=!0,e.last=u,e.pending.payload.type===o.ACTION_SERVER_ACTION&&(e.needsRefresh=!0),c({actionQueue:e,action:u,setState:n})):(null!==e.last&&(e.last.next=u),e.last=u)})(e,t,n),action:async(e,t)=>{if(null===e)throw Error("Invariant: Router state not initialized");return(0,u.reducer)(e,t)},pending:null,last:null};return e}},2707:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return o}});let r=n(1465);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:n,query:o,hash:u}=(0,r.parsePath)(e);return""+t+n+o+u}},3330:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{normalizeAppPath:function(){return u},normalizeRscURL:function(){return l}});let r=n(8558),o=n(0);function u(e){return(0,r.ensureLeadingSlash)(e.split("/").reduce((e,t,n,r)=>!t||(0,o.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&n===r.length-1?e:e+"/"+t,""))}function l(e){return e.replace(/\.rsc($|\?)/,"$1")}},6180:function(e,t){"use strict";function n(e,t){if(void 0===t&&(t={}),t.onlyHashChange){e();return}let n=document.documentElement,r=n.style.scrollBehavior;n.style.scrollBehavior="auto",t.dontForceLayout||n.getClientRects(),e(),n.style.scrollBehavior=r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return n}})},4092:function(e,t){"use strict";function n(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return n}})},1465:function(e,t){"use strict";function n(e){let t=e.indexOf("#"),n=e.indexOf("?"),r=n>-1&&(t<0||n-1?{pathname:e.substring(0,r?n:t),query:r?e.substring(n,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return n}})},5121:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return o}});let r=n(1465);function o(e,t){if("string"!=typeof e)return!1;let{pathname:n}=(0,r.parsePath)(e);return n===t||n.startsWith(t+"/")}},7741:function(e,t){"use strict";function n(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return n}})},0:function(e,t){"use strict";function n(e){return"("===e[0]&&e.endsWith(")")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DEFAULT_SEGMENT_KEY:function(){return o},PAGE_SEGMENT_KEY:function(){return r},isGroupSegment:function(){return n}});let r="__PAGE__",o="__DEFAULT__"},8005:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ServerInsertedHTMLContext:function(){return o},useServerInsertedHTML:function(){return u}});let r=n(6720)._(n(2265)),o=r.default.createContext(null);function u(e){let t=(0,r.useContext)(o);t&&t(e)}},2301:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},1493:function(e,t,n){"use strict";/**
- * @license React
- * react-jsx-runtime.production.min.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */var r=n(2265),o=Symbol.for("react.element"),u=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,u={},c=null,s=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(s=t.ref),t)l.call(t,r)&&!i.hasOwnProperty(r)&&(u[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===u[r]&&(u[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:s,props:u,_owner:a.current}}t.Fragment=u,t.jsx=c,t.jsxs=c},2281:function(e,t,n){"use strict";e.exports=n(1493)},8293:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return r}});let r=(0,n(6713).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6713:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return u}});let n=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class r{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}}let o=globalThis.AsyncLocalStorage;function u(){return o?new o:new r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},38:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"requestAsyncStorage",{enumerable:!0,get:function(){return r}});let r=(0,n(6713).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7685:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"staticGenerationAsyncStorage",{enumerable:!0,get:function(){return r}});let r=(0,n(6713).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4040:function(e,t,n){"use strict";var r=n(4887);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},4887:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(4417)},7950:function(e,t,n){"use strict";var r=n(4887),o={stream:!0},u=new Map;function l(e){var t=n(e);return"function"!=typeof t.then||"fulfilled"===t.status?null:(t.then(function(e){t.status="fulfilled",t.value=e},function(e){t.status="rejected",t.reason=e}),t)}function a(){}var i=new Map,c=n.u;n.u=function(e){var t=i.get(e);return void 0!==t?t:c(e)};var s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,f=Symbol.for("react.element"),d=Symbol.for("react.lazy"),p=Symbol.iterator,h=Array.isArray,y=Object.getPrototypeOf,v=Object.prototype,g=new WeakMap;function b(e,t,n,r){this.status=e,this.value=t,this.reason=n,this._response=r}function m(e){switch(e.status){case"resolved_model":w(e);break;case"resolved_module":T(e)}switch(e.status){case"fulfilled":return e.value;case"pending":case"blocked":case"cyclic":throw e;default:throw e.reason}}function P(e,t){for(var n=0;nh?(v=h,h=3,p++):(v=0,h=3);continue;case 2:44===(P=d[p++])?h=4:g=g<<4|(96d.length&&(P=-1)}var S=d.byteOffset+p;if(-1
e.length)&&(t=e.length);for(var n=0,r=Array(t);n0||!o(t.scriptURL,a.sn.toString())||performance.now()>a.un+6e4?(a.vn=t,e.removeEventListener("updatefound",a.cn)):(a.hn=t,a.an.add(t),a.rn.resolve(t)),++a.tn,t.addEventListener("statechange",a.ln)},a.ln=function(e){var t=a.fn,n=e.target,r=n.state,o=n===a.vn,l={sw:n,isExternal:o,originalEvent:e};!o&&a.mn&&(l.isUpdate=!0),a.dispatchEvent(new u(r,l)),"installed"===r?a.wn=self.setTimeout(function(){"installed"===r&&t.waiting===n&&a.dispatchEvent(new u("waiting",l))},200):"activating"===r&&(clearTimeout(a.wn),o||a.en.resolve(n))},a.dn=function(e){var t=a.hn,n=t!==navigator.serviceWorker.controller;a.dispatchEvent(new u("controlling",{isExternal:n,originalEvent:e,sw:t,isUpdate:a.mn})),n||a.on.resolve(t)},a.gn=(i=function(e){var t=e.data,n=e.ports,r=e.source;return l(a.getSW(),function(){a.an.has(r)&&a.dispatchEvent(new u("message",{data:t,originalEvent:e,ports:n,sw:r}))})},function(){for(var e=[],t=0;t=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=e[Symbol.iterator]()).next.bind(r)}(this.Sn(e.type));!(t=r()).done;)(0,t.value)(e)},t.Sn=function(e){return this.Pn.has(e)||this.Pn.set(e,new Set),this.Pn.get(e)},e}());if("undefined"!=typeof window&&"serviceWorker"in navigator&&"undefined"!=typeof caches){let e;window.workbox=new s(window.location.origin+"/sw.js",{scope:"/"}),window.workbox.register();{let t=async t=>{if(!window.navigator.onLine||!t)return;let n=t instanceof URL?t.toString():"string"==typeof t?t:void 0;if("string"==typeof n&&"/"===n){if(e)e.postMessage({type:"__START_URL_CACHE__",url:n});else{let e=await fetch(t);if(!e.redirected)return(await caches.open("start-url")).put(t,e)}}},n=history.pushState;history.pushState=(...e)=>{n.apply(history,e),t(e[2])};let r=history.replaceState;history.replaceState=(...e)=>{r.apply(history,e),t(e[2])},window.addEventListener("online",()=>{t(window.location.pathname)})}window.addEventListener("online",()=>location.reload())}},8123:function(e,t,n){"use strict";function r(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}n.r(t),n.d(t,{_:function(){return r},_class_private_field_loose_base:function(){return r}})},2365:function(e,t,n){"use strict";n.r(t),n.d(t,{_:function(){return o},_class_private_field_loose_key:function(){return o}});var r=0;function o(e){return"__private_"+r+++"_"+e}},1609:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.r(t),n.d(t,{_:function(){return r},_interop_require_default:function(){return r}})},6720:function(e,t,n){"use strict";function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}function o(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var a=u?Object.getOwnPropertyDescriptor(e,l):null;a&&(a.get||a.set)?Object.defineProperty(o,l,a):o[l]=e[l]}return o.default=e,n&&n.set(e,o),o}n.r(t),n.d(t,{_:function(){return o},_interop_require_wildcard:function(){return o}})}}]);
\ No newline at end of file
diff --git a/_next/static/chunks/466-8cc490905f2721ca.js b/_next/static/chunks/466-8cc490905f2721ca.js
deleted file mode 100644
index dec41c4df778e1ec82472662467a0f2872af08a3..0000000000000000000000000000000000000000
--- a/_next/static/chunks/466-8cc490905f2721ca.js
+++ /dev/null
@@ -1 +0,0 @@
-(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[466],{7470:function(e,t,n){"use strict";n.d(t,{H:function(){return c}});var r=n(1386),o=n(2166),i=n(2202),l=n(5986),a=n(2265),u=n(2281),s=n(357);function c(e,t={defaultThemeColor:s.env.DEFAULT_ICON_THEME_COLOR||"$color",defaultStrokeWidth:2,fallbackColor:"#000"}){return n=>{let[a,s,c]=(0,r.Lb)(n,{...t,forComponent:o.xv,resolveValues:"web"}),d=s.color??t.defaultThemeColor,f=(0,i.E0)((d?c[d]:void 0)||s.color||(a.disableTheme?null:c.color)||t.fallbackColor),p="string"==typeof a.size?(0,l.Wi)(a.size,"size"):a.size,h="string"==typeof a.strokeWidth?(0,l.Wi)(a.strokeWidth,"size"):a.strokeWidth??`${t.defaultStrokeWidth}`;return(0,u.jsx)(e,{...a,color:f,size:p,strokeWidth:h,style:s})}}a.keep},3085:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n2?o-2:0),l=2;l0&&(a[u]=c)}else{var h=(0,o.default)(n,u,s,a,t);h&&(a[u]=h),a=(0,r.default)(t,u,a)}}return a}};var r=a(n(9886)),o=a(n(6054)),i=a(n(2065)),l=a(n(22));function a(e){return e&&e.__esModule?e:{default:e}}},1677:function(e,t){"use strict";t.Z=function(){return null}},9699:function(e,t,n){"use strict";t.Z=function(e,t){if("string"==typeof t&&!(0,r.isPrefixedValue)(t)&&-1!==t.indexOf("cross-fade("))return i.map(function(e){return t.replace(o,e+"cross-fade(")})};var r=n(3085),o=/cross-fade\(/g,i=["-webkit-",""]},5019:function(e,t){"use strict";t.Z=function(e,t){if("cursor"===e&&r.hasOwnProperty(t))return n.map(function(e){return e+t})};var n=["-webkit-","-moz-",""],r={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0}},8527:function(e,t,n){"use strict";t.Z=function(e,t){if("string"==typeof t&&!(0,r.isPrefixedValue)(t)&&-1!==t.indexOf("filter("))return i.map(function(e){return t.replace(o,e+"filter(")})};var r=n(3085),o=/filter\(/g,i=["-webkit-",""]},9779:function(e,t,n){"use strict";t.Z=function(e,t){if("string"==typeof t&&!(0,o.default)(t)&&t.indexOf("image-set(")>-1)return i.map(function(e){return t.replace(/image-set\(/g,e+"image-set(")})};var r,o=(r=n(2702))&&r.__esModule?r:{default:r},i=["-webkit-",""]},2316:function(e,t){"use strict";t.Z=function(e,t,r){if(Object.prototype.hasOwnProperty.call(n,e))for(var o=n[e],i=0,l=o.length;i-1&&"order"!==d)for(var f=t[c],p=0,h=f.length;p-1)return c;var d=s.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(e){return!/-webkit-|-ms-/.test(e)}).join(",");return e.indexOf("Moz")>-1?d:(n["Webkit"+(0,i.default)(e)]=c,n["Moz"+(0,i.default)(e)]=d,s)}};var r=l(n(1442)),o=l(n(2702)),i=l(n(8937));function l(e){return e&&e.__esModule?e:{default:e}}var a={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},u={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"}},2065:function(e,t){"use strict";function n(e,t){-1===e.indexOf(t)&&e.push(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(Array.isArray(t))for(var r=0,o=t.length;rv[e]),y=g.length;var S=e=>{for(let t=0;te.onPress||e.onPressIn||e.onPressOut||e.onLongPress,R=e=>e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase());function E(e){let t=[];return null!=e.translate&&t.push(`translate(${e.translate})`),(null!=e.translateX||null!=e.translateY)&&t.push(`translate(${e.translateX||0}, ${e.translateY||0})`),null!=e.scale&&t.push(`scale(${e.scale})`),(null!=e.scaleX||null!=e.scaleY)&&t.push(`scale(${e.scaleX||1}, ${e.scaleY||1})`),null!=e.rotation&&t.push(`rotate(${e.rotation})`),null!=e.skewX&&t.push(`skewX(${e.skewX})`),null!=e.skewY&&t.push(`skewY(${e.skewY})`),t}function k(e,t){let n=[];if(t&&n.push(...E(t)),Array.isArray(e)){if("number"==typeof e[0])n.push(`matrix(${e.join(" ")})`);else{let t=function(e){let t={};return null==e||e.forEach(e=>{let n=Object.keys(e);1!==n.length&&console.error("You must specify exactly one property per transform object.");let r=n[0],o=e[r];t[r]=o}),t}(e);n.push(...E(t))}}else"string"==typeof e&&n.push(e);return n.length?n.join(" "):void 0}let C=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.props,{transform:n,origin:r,originX:o,originY:i,fontFamily:l,fontSize:a,fontWeight:u,fontStyle:s,style:c,forwardedRef:d,gradientTransform:f,patternTransform:p,...h}=t,m={...x(t)?{onStartShouldSetResponder:e.touchableHandleStartShouldSetResponder,onResponderTerminationRequest:e.touchableHandleResponderTerminationRequest,onResponderGrant:e.touchableHandleResponderGrant,onResponderMove:e.touchableHandleResponderMove,onResponderRelease:e.touchableHandleResponderRelease,onResponderTerminate:e.touchableHandleResponderTerminate}:null,...h};null!=r?m["transform-origin"]=r.toString().replace(","," "):(null!=o||null!=i)&&(m["transform-origin"]=`${o||0} ${i||0}`);let v=k(n,t);v&&(m.transform=v);let g=k(f);g&&(m.gradientTransform=g);let b=k(p);b&&(m.patternTransform=b),m.ref=t=>{e.elementRef.current=t,"function"==typeof d?d(t):d&&(d.current=t)};let y={};return null!=l&&(y.fontFamily=l),null!=a&&(y.fontSize=a),null!=u&&(y.fontWeight=u),null!=s&&(y.fontStyle=s),m.style=c?w.Z?[c,y]:c[Symbol.iterator]?Object.assign({},...c,y):Object.assign({},c,y):y,m},T=e=>{if(e&&1===e.nodeType&&"function"==typeof e.getBoundingClientRect)return e.getBoundingClientRect();throw Error("Can not get boundingClientRect of "+e)},O=(e,t)=>{let n=null==e?void 0:e.parentNode;n&&setTimeout(()=>{let r=T(n),{height:o,left:i,top:l,width:a}=T(e);t(i-r.left,l-r.top,a,o,i,l)},0)};function M(){let e=this.state.touchable.responderID;null!==e&&O(e,this._handleQueryLayout)}class A extends r.Component{prepareProps(e){return e}elementRef=r.createRef();lastMergedProps={};setNativeProps(e){let t=Object.assign({},this.props,this.lastMergedProps,e.style);this.lastMergedProps=t;let n=C(this,this.prepareProps(t)),r=this.elementRef.current;if(r)for(let e of Object.keys(n)){let t=n[e];switch(e){case"ref":case"children":break;case"style":for(let e of[].concat(n.style??[]))Object.assign(r.style,e);break;default:r.setAttribute(R(e),t)}}}constructor(e){super(e),x(e)&&S(this),this._remeasureMetricsOnActivation=M.bind(this)}render(){if(!this.tag)throw Error("When extending `WebShape` you need to overwrite either `tag` or `render`!");return this.lastMergedProps={},(0,o.Z)(this.tag,C(this,this.prepareProps(this.props)))}}class P extends A{tag="circle"}class I extends A{tag="line"}class L extends A{tag="path"}class D extends A{tag="rect"}class B extends A{tag="svg";toDataURL(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.elementRef.current;if(null===r)return;let o=T(r),i=Number(n.width)||o.width,l=Number(n.height)||o.height,a=document.createElementNS("http://www.w3.org/2000/svg","svg");a.setAttribute("viewBox",`0 0 ${o.width} ${o.height}`),a.setAttribute("width",String(i)),a.setAttribute("height",String(l)),a.appendChild(r.cloneNode(!0));let u=new window.Image;u.onload=()=>{let t=document.createElement("canvas");t.width=i,t.height=l;let n=t.getContext("2d");null==n||n.drawImage(u,0,0),e(t.toDataURL().replace("data:image/png;base64,",""))},u.src=`data:image/svg+xml;utf8,${(t=new window.XMLSerializer().serializeToString(a)).replace("/g,"%3E").replace(/\s+/g," ")}`}}},7873:function(e){"use strict";function t(e,n,r,o){this.message=e,this.expected=n,this.found=r,this.location=o,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,t)}!function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(t,Error),t.buildMessage=function(e,t){var n={literal:function(e){return'"'+o(e.text)+'"'},class:function(e){var t,n="";for(t=0;t0){for(r=1,o=1;rZ&&(Z=F,V=[]),V.push(e))}function q(){var e,t,n,r,o;for(e=F,t=[],n=el();n!==d;)t.push(n),n=el();if(t!==d){if((n=function e(){var t,n,r,o,i,l,a,u,s,c,f,p,h,m,v,g,b,y;if(t=F,(n=G())!==d){for(r=[],o=ee();o!==d;)r.push(o),o=ee();r!==d&&(o=e())!==d?(i=n,l=o,a=i[0],u=i[1],s=i[2],c=i[3],f=i[4],p=i[5],h=l[0],m=l[1],v=l[2],g=l[3],t=n=[a*h+u*g,a*m+u*(b=l[4]),a*v+u*(y=l[5])+s,c*h+f*g,c*m+f*b,c*v+f*y+p]):(F=t,t=d)}else F=t,t=d;return t===d&&(t=G()),t}())===d&&(n=null),n!==d){for(r=[],o=el();o!==d;)r.push(o),o=el();r!==d?e=t=n:(F=e,e=d)}else F=e,e=d}else F=e,e=d;return e}function G(){var t;return(t=function(){var t,n,r,o,i,l,a,u,s,c,f,p,b;if(t=F,e.substr(F,6)===h?(n=h,F+=6):(n=d,0===$&&X(m)),n!==d){for(r=[],o=el();o!==d;)r.push(o),o=el();if(r!==d){if(40===e.charCodeAt(F)?(o="(",F++):(o=d,0===$&&X(v)),o!==d){for(i=[],l=el();l!==d;)i.push(l),l=el();if(i!==d){if((l=J())!==d){if(ee()!==d){if((a=J())!==d){if(ee()!==d){if((u=J())!==d){if(ee()!==d){if((s=J())!==d){if(ee()!==d){if((c=J())!==d){if(ee()!==d){if((f=J())!==d){for(p=[],b=el();b!==d;)p.push(b),b=el();p!==d&&(41===e.charCodeAt(F)?(b=")",F++):(b=d,0===$&&X(g)),b!==d)?t=n=[l,u,c,a,s,f]:(F=t,t=d)}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d;return t}())===d&&(t=function(){var t,n,r,o,i,l,a,u,s;if(t=F,e.substr(F,9)===b?(n=b,F+=9):(n=d,0===$&&X(y)),n!==d){for(r=[],o=el();o!==d;)r.push(o),o=el();if(r!==d){if(40===e.charCodeAt(F)?(o="(",F++):(o=d,0===$&&X(v)),o!==d){for(i=[],l=el();l!==d;)i.push(l),l=el();if(i!==d){if((l=J())!==d){if((a=Q())===d&&(a=null),a!==d){for(u=[],s=el();s!==d;)u.push(s),s=el();u!==d&&(41===e.charCodeAt(F)?(s=")",F++):(s=d,0===$&&X(g)),s!==d)?t=n=[1,0,l,0,1,a||0]:(F=t,t=d)}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d;return t}())===d&&(t=function(){var t,n,r,o,i,l,a,u,s,c,f;if(t=F,e.substr(F,5)===S?(n=S,F+=5):(n=d,0===$&&X(w)),n!==d){for(r=[],o=el();o!==d;)r.push(o),o=el();if(r!==d){if(40===e.charCodeAt(F)?(o="(",F++):(o=d,0===$&&X(v)),o!==d){for(i=[],l=el();l!==d;)i.push(l),l=el();if(i!==d){if((l=J())!==d){if((a=Q())===d&&(a=null),a!==d){for(u=[],s=el();s!==d;)u.push(s),s=el();u!==d&&(41===e.charCodeAt(F)?(s=")",F++):(s=d,0===$&&X(g)),s!==d)?t=n=[c=l,0,0,0,null===(f=a)?c:f,0]:(F=t,t=d)}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d;return t}())===d&&(t=function(){var t,n,r,o,i,l,a,u,s,c,f,p;if(t=F,e.substr(F,6)===x?(n=x,F+=6):(n=d,0===$&&X(R)),n!==d){for(r=[],o=el();o!==d;)r.push(o),o=el();if(r!==d){if(40===e.charCodeAt(F)?(o="(",F++):(o=d,0===$&&X(v)),o!==d){for(i=[],l=el();l!==d;)i.push(l),l=el();if(i!==d){if((l=J())!==d){if((c=F,ee()!==d&&(f=J())!==d&&ee()!==d&&(p=J())!==d)?c=[f,p]:(F=c,c=d),(a=c)===d&&(a=null),a!==d){for(u=[],s=el();s!==d;)u.push(s),s=el();u!==d?(41===e.charCodeAt(F)?(s=")",F++):(s=d,0===$&&X(g)),s!==d?t=n=E(l,a):(F=t,t=d)):(F=t,t=d)}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d;return t}())===d&&(t=function(){var t,n,r,o,i,l,a,u;if(t=F,e.substr(F,5)===k?(n=k,F+=5):(n=d,0===$&&X(C)),n!==d){for(r=[],o=el();o!==d;)r.push(o),o=el();if(r!==d){if(40===e.charCodeAt(F)?(o="(",F++):(o=d,0===$&&X(v)),o!==d){for(i=[],l=el();l!==d;)i.push(l),l=el();if(i!==d){if((l=J())!==d){for(a=[],u=el();u!==d;)a.push(u),u=el();a!==d&&(41===e.charCodeAt(F)?(u=")",F++):(u=d,0===$&&X(g)),u!==d)?t=n=[1,Math.tan(ea*l),0,0,1,0]:(F=t,t=d)}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d;return t}())===d&&(t=function(){var t,n,r,o,i,l,a,u;if(t=F,e.substr(F,5)===T?(n=T,F+=5):(n=d,0===$&&X(O)),n!==d){for(r=[],o=el();o!==d;)r.push(o),o=el();if(r!==d){if(40===e.charCodeAt(F)?(o="(",F++):(o=d,0===$&&X(v)),o!==d){for(i=[],l=el();l!==d;)i.push(l),l=el();if(i!==d){if((l=J())!==d){for(a=[],u=el();u!==d;)a.push(u),u=el();a!==d&&(41===e.charCodeAt(F)?(u=")",F++):(u=d,0===$&&X(g)),u!==d)?t=n=[1,0,0,Math.tan(ea*l),1,0]:(F=t,t=d)}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d;return t}()),t}function J(){var t,n,r,o,i,l,a,u,s,c,f,p,h,m;if(t=F,n=F,(r=er())===d&&(r=null),r!==d&&(i=F,l=F,(($++,c=F,(f=eo())===d&&(f=null),f!==d&&(46===e.charCodeAt(F)?(p=".",F++):(p=d,0===$&&X(I)),p!==d&&(h=eo())!==d))?c=f=[(m=f)?m.join(""):null,".",h.join("")].join(""):(F=c,c=d),c===d&&(c=F,(f=eo())!==d?(46===e.charCodeAt(F)?(p=".",F++):(p=d,0===$&&X(I)),p!==d?c=f=A(f):(F=c,c=d)):(F=c,c=d)),$--,c===d&&(f=d,0===$&&X(P)),(a=c)!==d)?((u=en())===d&&(u=null),u!==d?l=a=[a,u]:(F=l,l=d)):(F=l,l=d),l!==d&&(l=l.join("")),(i=l)===d&&(i=F,l=F,(a=eo())!==d&&(u=en())!==d?l=a=[a,u]:(F=l,l=d),l!==d&&(l=A(l)),i=l),(o=i)!==d)?n=r=[r,o]:(F=n,n=d),n!==d)n=parseFloat(n.join(""));return(t=n)===d&&(t=F,n=F,(r=er())===d&&(r=null),r!==d&&((s=eo())!==d&&(s=s.join("")),(o=s)!==d)?n=r=[r,o]:(F=n,n=d),n!==d&&(n=parseInt(n.join(""))),t=n),t}function Q(){var e,t;return(e=F,ee()!==d&&(t=J())!==d)?e=t:(F=e,e=d),e}function ee(){var e,t,n,r,o;if(e=F,t=[],(n=el())!==d)for(;n!==d;)t.push(n),n=el();else t=d;if(t!==d){if((n=et())===d&&(n=null),n!==d){for(r=[],o=el();o!==d;)r.push(o),o=el();r!==d?e=t=[t,n,r]:(F=e,e=d)}else F=e,e=d}else F=e,e=d;if(e===d){if(e=F,(t=et())!==d){for(n=[],r=el();r!==d;)n.push(r),r=el();n!==d?e=t=[t,n]:(F=e,e=d)}else F=e,e=d}return e}function et(){var t;return 44===e.charCodeAt(F)?(t=",",F++):(t=d,0===$&&X(M)),t}function en(){var t,n,r,o,i;return t=F,L.test(e.charAt(F))?(n=e.charAt(F),F++):(n=d,0===$&&X(D)),n!==d?((r=er())===d&&(r=null),r!==d&&(o=eo())!==d?t=n=[n,r,o]:(F=t,t=d)):(F=t,t=d),t!==d&&(t=[(i=t)[0],i[1],i[2].join("")].join("")),t}function er(){var t;return B.test(e.charAt(F))?(t=e.charAt(F),F++):(t=d,0===$&&X(W)),t}function eo(){var e,t;if(e=[],(t=ei())!==d)for(;t!==d;)e.push(t),t=ei();else e=d;return e}function ei(){var t;return N.test(e.charAt(F))?(t=e.charAt(F),F++):(t=d,0===$&&X(z)),t}function el(){var t;return j.test(e.charAt(F))?(t=e.charAt(F),F++):(t=d,0===$&&X(H)),t}var ea=Math.PI/180;if((c=p())!==d&&F===e.length)return c;throw c!==d&&Fe(l))}class d{static get(e){return u&&(u=!1,s()),o()(l[e],"No dimension set for key "+e),l[e]}static set(e){e&&(i.Z?o()(!1,"Dimensions cannot be set in the browser"):(null!=e.screen&&(l.screen=e.screen),null!=e.window&&(l.window=e.window)))}static addEventListener(e,t){return a[e]=a[e]||[],a[e].push(t),{remove:()=>{this.removeEventListener(e,t)}}}static removeEventListener(e,t){Array.isArray(a[e])&&(a[e]=a[e].filter(e=>e!==t))}}i.Z&&(window.visualViewport?window.visualViewport.addEventListener("resize",c,!1):window.addEventListener("resize",c,!1))},1775:function(e,t,n){"use strict";var r=n(5832);t.Z={isVisible:()=>!1,addListener:()=>({remove:()=>{}}),dismiss(){(0,r.Z)()},removeAllListeners(){},removeListener(){}}},1840:function(e,t){"use strict";t.Z={OS:"web",select:e=>"web"in e?e.web:e.default,get isTesting(){return!1}}},5589:function(e,t,n){"use strict";n.d(t,{Z:function(){return A}});var r=n(7998),o=n(2988),i=n(3950),l=n(1090),a=n(5832),u=n(7445),s=n.n(u),c=n(2050),d=n(1840),f=n(2265),p=n(929),h=n(5275),m=n(9926),v=["onScroll","onTouchMove","onWheel","scrollEnabled","scrollEventThrottle","showsHorizontalScrollIndicator","showsVerticalScrollIndicator","style"];function g(e){return{nativeEvent:{contentOffset:{get x(){return e.target.scrollLeft},get y(){return e.target.scrollTop}},contentSize:{get height(){return e.target.scrollHeight},get width(){return e.target.scrollWidth}},layoutMeasurement:{get height(){return e.target.offsetHeight},get width(){return e.target.offsetWidth}}},timeStamp:Date.now()}}var b=f.forwardRef((e,t)=>{var n=e.onScroll,r=e.onTouchMove,l=e.onWheel,a=e.scrollEnabled,u=void 0===a||a,s=e.scrollEventThrottle,c=void 0===s?0:s,d=e.showsHorizontalScrollIndicator,p=e.showsVerticalScrollIndicator,b=e.style,S=(0,i.Z)(e,v),w=f.useRef({isScrolling:!1,scrollLastTick:0}),x=f.useRef(null),R=f.useRef(null);function E(e){return t=>{u&&e&&e(t)}}function k(e){w.current.scrollLastTick=Date.now(),n&&n(g(e))}return f.createElement(h.Z,(0,o.Z)({},S,{onScroll:function(e){if(e.stopPropagation(),e.target===R.current){var t,r;(e.persist(),null!=x.current&&clearTimeout(x.current),x.current=setTimeout(()=>{w.current.isScrolling=!1,n&&n(g(e))},100),w.current.isScrolling)?(t=w.current.scrollLastTick,r=Date.now()-t,c>0&&r>=c&&k(e)):(w.current.isScrolling=!0,k(e))}},onTouchMove:E(r),onWheel:E(l),ref:(0,m.Z)(R,t),style:[b,!u&&y.scrollDisabled,(!1===d||!1===p)&&y.hideScrollbar]}))}),y=p.Z.create({scrollDisabled:{overflowX:"hidden",overflowY:"hidden",touchAction:"none"},hideScrollbar:{scrollbarWidth:"none"}}),S=n(3013),w=n(2319),x=n(9895),R=n.n(x),E=["contentContainerStyle","horizontal","onContentSizeChange","refreshControl","stickyHeaderIndices","pagingEnabled","forwardedRef","keyboardDismissMode","onScroll","centerContent"],k={};class C extends f.Component{constructor(){super(...arguments),this._scrollNodeRef=null,this._innerViewRef=null,this.isTouching=!1,this.lastMomentumScrollBeginTime=0,this.lastMomentumScrollEndTime=0,this.observedScrollSinceBecomingResponder=!1,this.becameResponderWhileAnimating=!1,this.scrollResponderHandleScrollShouldSetResponder=()=>this.isTouching,this.scrollResponderHandleStartShouldSetResponderCapture=e=>this.scrollResponderIsAnimating(),this.scrollResponderHandleTerminationRequest=()=>!this.observedScrollSinceBecomingResponder,this.scrollResponderHandleTouchEnd=e=>{var t=e.nativeEvent;this.isTouching=0!==t.touches.length,this.props.onTouchEnd&&this.props.onTouchEnd(e)},this.scrollResponderHandleResponderRelease=e=>{this.props.onResponderRelease&&this.props.onResponderRelease(e);var t=S.Z.currentlyFocusedField();this.props.keyboardShouldPersistTaps||null==t||e.target===t||this.observedScrollSinceBecomingResponder||this.becameResponderWhileAnimating||(this.props.onScrollResponderKeyboardDismissed&&this.props.onScrollResponderKeyboardDismissed(e),S.Z.blurTextInput(t))},this.scrollResponderHandleScroll=e=>{this.observedScrollSinceBecomingResponder=!0,this.props.onScroll&&this.props.onScroll(e)},this.scrollResponderHandleResponderGrant=e=>{this.observedScrollSinceBecomingResponder=!1,this.props.onResponderGrant&&this.props.onResponderGrant(e),this.becameResponderWhileAnimating=this.scrollResponderIsAnimating()},this.scrollResponderHandleScrollBeginDrag=e=>{this.props.onScrollBeginDrag&&this.props.onScrollBeginDrag(e)},this.scrollResponderHandleScrollEndDrag=e=>{this.props.onScrollEndDrag&&this.props.onScrollEndDrag(e)},this.scrollResponderHandleMomentumScrollBegin=e=>{this.lastMomentumScrollBeginTime=Date.now(),this.props.onMomentumScrollBegin&&this.props.onMomentumScrollBegin(e)},this.scrollResponderHandleMomentumScrollEnd=e=>{this.lastMomentumScrollEndTime=Date.now(),this.props.onMomentumScrollEnd&&this.props.onMomentumScrollEnd(e)},this.scrollResponderHandleTouchStart=e=>{this.isTouching=!0,this.props.onTouchStart&&this.props.onTouchStart(e)},this.scrollResponderHandleTouchMove=e=>{this.props.onTouchMove&&this.props.onTouchMove(e)},this.scrollResponderIsAnimating=()=>Date.now()-this.lastMomentumScrollEndTime<16||this.lastMomentumScrollEndTime{if("number"==typeof e)console.warn("`scrollResponderScrollTo(x, y, animated)` is deprecated. Use `scrollResponderScrollTo({x: 5, y: 5, animated: true})` instead.");else{var r=e||k;e=r.x,t=r.y,n=r.animated}var o=this.getScrollableNode(),i=e||0,l=t||0;null!=o&&("function"==typeof o.scroll?o.scroll({top:l,left:i,behavior:n?"smooth":"auto"}):(o.scrollLeft=i,o.scrollTop=l))},this.scrollResponderZoomTo=(e,t)=>{"ios"!==d.Z.OS&&s()("zoomToRect is not implemented")},this.scrollResponderScrollNativeHandleToKeyboard=(e,t,n)=>{this.additionalScrollOffset=t||0,this.preventNegativeScrollOffset=!!n,w.Z.measureLayout(e,this.getInnerViewNode(),this.scrollResponderTextInputFocusError,this.scrollResponderInputMeasureAndScrollToKeyboard)},this.scrollResponderInputMeasureAndScrollToKeyboard=(e,t,n,r)=>{var o=l.Z.get("window").height;this.keyboardWillOpenTo&&(o=this.keyboardWillOpenTo.endCoordinates.screenY);var i=t-o+r+this.additionalScrollOffset;this.preventNegativeScrollOffset&&(i=Math.max(0,i)),this.scrollResponderScrollTo({x:0,y:i,animated:!0}),this.additionalOffset=0,this.preventNegativeScrollOffset=!1},this.scrollResponderKeyboardWillShow=e=>{this.keyboardWillOpenTo=e,this.props.onKeyboardWillShow&&this.props.onKeyboardWillShow(e)},this.scrollResponderKeyboardWillHide=e=>{this.keyboardWillOpenTo=null,this.props.onKeyboardWillHide&&this.props.onKeyboardWillHide(e)},this.scrollResponderKeyboardDidShow=e=>{e&&(this.keyboardWillOpenTo=e),this.props.onKeyboardDidShow&&this.props.onKeyboardDidShow(e)},this.scrollResponderKeyboardDidHide=e=>{this.keyboardWillOpenTo=null,this.props.onKeyboardDidHide&&this.props.onKeyboardDidHide(e)},this.flashScrollIndicators=()=>{this.scrollResponderFlashScrollIndicators()},this.getScrollResponder=()=>this,this.getScrollableNode=()=>this._scrollNodeRef,this.getInnerViewRef=()=>this._innerViewRef,this.getInnerViewNode=()=>this._innerViewRef,this.getNativeScrollRef=()=>this._scrollNodeRef,this.scrollTo=(e,t,n)=>{if("number"==typeof e)console.warn("`scrollTo(y, x, animated)` is deprecated. Use `scrollTo({x: 5, y: 5, animated: true})` instead.");else{var r=e||k;t=r.x,e=r.y,n=r.animated}this.scrollResponderScrollTo({x:t||0,y:e||0,animated:!1!==n})},this.scrollToEnd=e=>{var t=!1!==(e&&e.animated),n=this.props.horizontal,r=this.getScrollableNode(),o=n?r.scrollWidth:0,i=n?0:r.scrollHeight;this.scrollResponderScrollTo({x:o,y:i,animated:t})},this._handleContentOnLayout=e=>{var t=e.nativeEvent.layout,n=t.width,r=t.height;this.props.onContentSizeChange(n,r)},this._handleScroll=e=>{"on-drag"===this.props.keyboardDismissMode&&(0,a.Z)(),this.scrollResponderHandleScroll(e)},this._setInnerViewRef=e=>{this._innerViewRef=e},this._setScrollNodeRef=e=>{this._scrollNodeRef=e,null!=e&&(e.getScrollResponder=this.getScrollResponder,e.getInnerViewNode=this.getInnerViewNode,e.getInnerViewRef=this.getInnerViewRef,e.getNativeScrollRef=this.getNativeScrollRef,e.getScrollableNode=this.getScrollableNode,e.scrollTo=this.scrollTo,e.scrollToEnd=this.scrollToEnd,e.flashScrollIndicators=this.flashScrollIndicators,e.scrollResponderZoomTo=this.scrollResponderZoomTo,e.scrollResponderScrollNativeHandleToKeyboard=this.scrollResponderScrollNativeHandleToKeyboard),(0,c.Z)(this.props.forwardedRef)(e)}}scrollResponderHandleStartShouldSetResponder(){return!1}scrollResponderHandleResponderReject(){R()(!1,"ScrollView doesn't take rejection well - scrolls anyway")}scrollResponderFlashScrollIndicators(){}scrollResponderTextInputFocusError(e){console.error("Error measuring text field: ",e)}render(){var e=this.props,t=e.contentContainerStyle,n=e.horizontal,l=e.onContentSizeChange,a=e.refreshControl,u=e.stickyHeaderIndices,c=e.pagingEnabled,d=(e.forwardedRef,e.keyboardDismissMode,e.onScroll,e.centerContent),p=(0,i.Z)(e,E),m={};l&&(m={onLayout:this._handleContentOnLayout});var v=!n&&Array.isArray(u),g=v||c?f.Children.map(this.props.children,(e,t)=>{var n=v&&u.indexOf(t)>-1;return null!=e&&(n||c)?f.createElement(h.Z,{style:[n&&O.stickyHeader,c&&O.pagingEnabledChild]},e):e}):this.props.children,y=f.createElement(h.Z,(0,o.Z)({},m,{children:g,collapsable:!1,ref:this._setInnerViewRef,style:[n&&O.contentContainerHorizontal,d&&O.contentContainerCenterContent,t]})),S=n?O.baseHorizontal:O.baseVertical,w=n?O.pagingEnabledHorizontal:O.pagingEnabledVertical,x=(0,r.Z)((0,r.Z)({},p),{},{style:[S,c&&w,this.props.style],onTouchStart:this.scrollResponderHandleTouchStart,onTouchMove:this.scrollResponderHandleTouchMove,onTouchEnd:this.scrollResponderHandleTouchEnd,onScrollBeginDrag:this.scrollResponderHandleScrollBeginDrag,onScrollEndDrag:this.scrollResponderHandleScrollEndDrag,onMomentumScrollBegin:this.scrollResponderHandleMomentumScrollBegin,onMomentumScrollEnd:this.scrollResponderHandleMomentumScrollEnd,onStartShouldSetResponder:this.scrollResponderHandleStartShouldSetResponder,onStartShouldSetResponderCapture:this.scrollResponderHandleStartShouldSetResponderCapture,onScrollShouldSetResponder:this.scrollResponderHandleScrollShouldSetResponder,onScroll:this._handleScroll,onResponderGrant:this.scrollResponderHandleResponderGrant,onResponderTerminationRequest:this.scrollResponderHandleTerminationRequest,onResponderTerminate:this.scrollResponderHandleTerminate,onResponderRelease:this.scrollResponderHandleResponderRelease,onResponderReject:this.scrollResponderHandleResponderReject});s()(void 0!==b,"ScrollViewClass must not be undefined");var R=f.createElement(b,(0,o.Z)({},x,{ref:this._setScrollNodeRef}),y);return a?f.cloneElement(a,{style:x.style},R):R}}var T={flexGrow:1,flexShrink:1,transform:"translateZ(0)",WebkitOverflowScrolling:"touch"},O=p.Z.create({baseVertical:(0,r.Z)((0,r.Z)({},T),{},{flexDirection:"column",overflowX:"hidden",overflowY:"auto"}),baseHorizontal:(0,r.Z)((0,r.Z)({},T),{},{flexDirection:"row",overflowX:"auto",overflowY:"hidden"}),contentContainerHorizontal:{flexDirection:"row"},contentContainerCenterContent:{justifyContent:"center",flexGrow:1},stickyHeader:{position:"sticky",top:0,zIndex:10},pagingEnabledHorizontal:{scrollSnapType:"x mandatory"},pagingEnabledVertical:{scrollSnapType:"y mandatory"},pagingEnabledChild:{scrollSnapAlign:"start"}}),M=f.forwardRef((e,t)=>f.createElement(C,(0,o.Z)({},e,{forwardedRef:t})));M.displayName="ScrollView";var A=M},929:function(e,t,n){"use strict";n.d(t,{Z:function(){return eZ}});var r=n(7998),o=n(3950),i={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexOrder:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,gridRow:!0,gridRowEnd:!0,gridRowGap:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnGap:!0,gridColumnStart:!0,lineClamp:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0,scale:!0,scaleX:!0,scaleY:!0,scaleZ:!0,shadowOpacity:!0},l=["ms","Moz","O","Webkit"],a=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1);Object.keys(i).forEach(e=>{l.forEach(t=>{i[a(t,e)]=i[e]})});var u=e=>"currentcolor"===e||"currentColor"===e||"inherit"===e||0===e.indexOf("var("),s=n(7340),c=n.n(s),d=e=>{if(null==e)return e;var t=c()(e);if(null!=t)return(t<<24|t>>>8)>>>0},f=function(e,t){if(void 0===t&&(t=1),null!=e){if("string"==typeof e&&u(e))return e;var n=d(e);if(null!=n){var r=((n>>24&255)/255*t).toFixed(2);return"rgba("+(n>>16&255)+","+(n>>8&255)+","+(255&n)+","+r+")"}}},p={backgroundColor:!0,borderColor:!0,borderTopColor:!0,borderRightColor:!0,borderBottomColor:!0,borderLeftColor:!0,color:!0,shadowColor:!0,textDecorationColor:!0,textShadowColor:!0};function h(e,t){var n=e;return null!=t&&i[t]||"number"!=typeof e?null!=t&&p[t]&&(n=f(e)):n=e+"px",n}var m=n(1213),v={},g=!m.Z||null!=window.CSS&&null!=window.CSS.supports&&(window.CSS.supports("text-decoration-line","none")||window.CSS.supports("-webkit-text-decoration-line","none")),b='-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif',y={borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderBlockColor:["borderTopColor","borderBottomColor"],borderInlineColor:["borderRightColor","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderStyle:["borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderInlineStyle:["borderRightStyle","borderLeftStyle"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderInlineWidth:["borderRightWidth","borderLeftWidth"],insetBlock:["top","bottom"],insetInline:["left","right"],marginBlock:["marginTop","marginBottom"],marginInline:["marginRight","marginLeft"],paddingBlock:["paddingTop","paddingBottom"],paddingInline:["paddingRight","paddingLeft"],overflow:["overflowX","overflowY"],overscrollBehavior:["overscrollBehaviorX","overscrollBehaviorY"],borderBlockStartColor:["borderTopColor"],borderBlockStartStyle:["borderTopStyle"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndColor:["borderBottomColor"],borderBlockEndStyle:["borderBottomStyle"],borderBlockEndWidth:["borderBottomWidth"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],insetBlockEnd:["bottom"],insetBlockStart:["top"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"]},S=(e,t)=>{if(!e)return v;var n={};for(var r in e)if("continue"===function(){var o=e[r];if(null==o)return"continue";if("backgroundClip"===r)"text"===o&&(n.backgroundClip=o,n.WebkitBackgroundClip=o);else if("flex"===r)-1===o?(n.flexGrow=0,n.flexShrink=1,n.flexBasis="auto"):n.flex=o;else if("font"===r)n[r]=o.replace("System",b);else if("fontFamily"===r){if(o.indexOf("System")>-1){var i=o.split(/,\s*/);i[i.indexOf("System")]=b,n[r]=i.join(",")}else"monospace"===o?n[r]="monospace,monospace":n[r]=o}else if("textDecorationLine"===r)g?n.textDecorationLine=o:n.textDecoration=o;else if("writingDirection"===r)n.direction=o;else{var l=h(e[r],r),a=y[r];t&&"inset"===r?(null==e.insetInline&&(n.left=l,n.right=l),null==e.insetBlock&&(n.top=l,n.bottom=l)):t&&"margin"===r?(null==e.marginInline&&(n.marginLeft=l,n.marginRight=l),null==e.marginBlock&&(n.marginTop=l,n.marginBottom=l)):t&&"padding"===r?(null==e.paddingInline&&(n.paddingLeft=l,n.paddingRight=l),null==e.paddingBlock&&(n.paddingTop=l,n.paddingBottom=l)):a?a.forEach((t,r)=>{null==e[t]&&(n[t]=l)}):n[r]=l}}())continue;return n},w=e=>(function(e,t){for(var n,r=e.length,o=1^r,i=0;r>=4;)n=(65535&(n=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))*1540483477+(((n>>>16)*1540483477&65535)<<16),n^=n>>>24,o=(65535&o)*1540483477+(((o>>>16)*1540483477&65535)<<16)^(n=(65535&n)*1540483477+(((n>>>16)*1540483477&65535)<<16)),r-=4,++i;switch(r){case 3:o^=(255&e.charCodeAt(i+2))<<16;case 2:o^=(255&e.charCodeAt(i+1))<<8;case 1:o^=255&e.charCodeAt(i),o=(65535&o)*1540483477+(((o>>>16)*1540483477&65535)<<16)}return o^=o>>>13,o=(65535&o)*1540483477+(((o>>>16)*1540483477&65535)<<16),(o^=o>>>15)>>>0})(e,0).toString(36),x=/[A-Z]/g,R=/^ms-/,E={};function k(e){return"-"+e.toLowerCase()}var C=function(e){if(e in E)return E[e];var t=e.replace(x,k);return E[e]=R.test(t)?"-"+t:t},T=n(2933),O=n(1677),M=n(9699),A=n(5019),P=n(8527),I=n(9779),L=n(2316),D=n(9832),B=n(8579),W=n(4633),N=["Webkit"],z=["Webkit","ms"],j={plugins:[O.Z,M.Z,A.Z,P.Z,I.Z,L.Z,D.Z,B.Z,W.Z],prefixMap:{appearance:["Webkit","Moz","ms"],userSelect:["Webkit","Moz"],textEmphasisPosition:z,textEmphasis:z,textEmphasisStyle:z,textEmphasisColor:z,boxDecorationBreak:z,clipPath:N,maskImage:z,maskMode:z,maskRepeat:z,maskPosition:z,maskClip:z,maskOrigin:z,maskSize:z,maskComposite:z,mask:z,maskBorderSource:z,maskBorderMode:z,maskBorderSlice:z,maskBorderWidth:z,maskBorderOutset:z,maskBorderRepeat:z,maskBorder:z,maskType:z,textDecorationStyle:N,textDecorationSkip:N,textDecorationLine:N,textDecorationColor:N,filter:N,breakAfter:N,breakBefore:N,breakInside:N,columnCount:N,columnFill:N,columnGap:N,columnRule:N,columnRuleColor:N,columnRuleStyle:N,columnRuleWidth:N,columns:N,columnSpan:N,columnWidth:N,backdropFilter:N,hyphens:N,flowInto:N,flowFrom:N,regionFragment:N,textOrientation:N,tabSize:["Moz"],fontKerning:N,textSizeAdjust:N}},H=(0,T.Z)(j),F=["animationKeyframes"],_=new Map,Z={},V={borderColor:2,borderRadius:2,borderStyle:2,borderWidth:2,display:2,flex:2,inset:2,margin:2,overflow:2,overscrollBehavior:2,padding:2,insetBlock:2.1,insetInline:2.1,marginInline:2.1,marginBlock:2.1,paddingInline:2.1,paddingBlock:2.1,borderBlockStartColor:2.2,borderBlockStartStyle:2.2,borderBlockStartWidth:2.2,borderBlockEndColor:2.2,borderBlockEndStyle:2.2,borderBlockEndWidth:2.2,borderInlineStartColor:2.2,borderInlineStartStyle:2.2,borderInlineStartWidth:2.2,borderInlineEndColor:2.2,borderInlineEndStyle:2.2,borderInlineEndWidth:2.2,borderEndStartRadius:2.2,borderEndEndRadius:2.2,borderStartStartRadius:2.2,borderStartEndRadius:2.2,insetBlockEnd:2.2,insetBlockStart:2.2,insetInlineEnd:2.2,insetInlineStart:2.2,marginBlockStart:2.2,marginBlockEnd:2.2,marginInlineStart:2.2,marginInlineEnd:2.2,paddingBlockStart:2.2,paddingBlockEnd:2.2,paddingInlineStart:2.2,paddingInlineEnd:2.2},$="borderTopLeftRadius",K="borderTopRightRadius",U="borderBottomLeftRadius",Y="borderBottomRightRadius",X="borderLeftColor",q="borderLeftStyle",G="borderLeftWidth",J="borderRightColor",Q="borderRightStyle",ee="borderRightWidth",et="right",en="marginLeft",er="marginRight",eo="paddingLeft",ei="paddingRight",el="left",ea={[$]:K,[K]:$,[U]:Y,[Y]:U,[X]:J,[q]:Q,[G]:ee,[J]:X,[Q]:q,[ee]:G,[el]:et,[en]:er,[er]:en,[eo]:ei,[ei]:eo,[et]:el},eu={borderStartStartRadius:$,borderStartEndRadius:K,borderEndStartRadius:U,borderEndEndRadius:Y,borderInlineStartColor:X,borderInlineStartStyle:q,borderInlineStartWidth:G,borderInlineEndColor:J,borderInlineEndStyle:Q,borderInlineEndWidth:ee,insetInlineEnd:et,insetInlineStart:el,marginInlineStart:en,marginInlineEnd:er,paddingInlineStart:eo,paddingInlineEnd:ei},es=["clear","float","textAlign"];function ec(e){var t=H(S(e));return"{"+Object.keys(t).map(e=>{var n=t[e],r=C(e);return Array.isArray(n)?n.map(e=>r+":"+e).join(";"):r+":"+n}).sort().join(";")+";}"}function ed(e){if("number"==typeof e)throw Error("Invalid CSS keyframes type: "+typeof e);var t=[],n=[];return(Array.isArray(e)?e:[e]).forEach(e=>{if("string"==typeof e)t.push(e);else{var r,o,i,l=(r="r-"+w("animation"+JSON.stringify(e)),o="{"+Object.keys(e).map(t=>{var n=ec(e[t]);return""+t+n}).join("")+"}",i=["-webkit-",""].map(e=>"@"+e+"keyframes "+r+o),[r,i]),a=l[0],u=l[1];t.push(a),n.push(...u)}}),[t,n]}function ef(e,t,n){if(!m.Z)return null;var r=null!=t?t:document,o=r.getElementById(e);if(null==o){if((o=document.createElement("style")).setAttribute("id",e),"string"==typeof n&&o.appendChild(document.createTextNode(n)),r instanceof ShadowRoot)r.insertBefore(o,r.firstChild);else{var i=r.head;i&&i.insertBefore(o,i.firstChild)}}return o.sheet}var ep=Array.prototype.slice;function eh(e){var t,n={},r={};function o(e,t,r){var o=ev(n),i=o.indexOf(t)+1,l=o[i],a=null!=l&&null!=n[l].start?n[l].start:e.cssRules.length,u=function(e,t,n){try{return e.insertRule(t,n),!0}catch(e){return!1}}(e,r,a);if(u){null==n[t].start&&(n[t].start=a);for(var s=i;s{var i=e.cssText;if(i.indexOf("stylesheet-group")>-1)n[t=Number(e.selectorText.split(em)[1])]={start:o,rules:[i]};else{var l=eb(i);null!=l&&(r[l]=!0,n[t].rules.push(i))}}),{getTextContent:()=>ev(n).map(e=>{var t=n[e].rules,r=t.shift();return t.sort(),t.unshift(r),t.join("\n")}).join("\n"),insert(t,i){var l=Number(i);if(null==n[l]){var a='[stylesheet-group="'+l+'"]{}';n[l]={start:null,rules:[a]},null!=e&&o(e,l,a)}var u=eb(t);null==u||null!=r[u]||(r[u]=!0,n[l].rules.push(t),null==e||o(e,l,t)||n[l].rules.pop())}}}var em=/["']/g;function ev(e){return Object.keys(e).map(Number).sort((e,t)=>e>t?1:-1)}var eg=/\s*([,])\s*/g;function eb(e){var t=e.split("{")[0].trim();return""!==t?t.replace(eg,"$1"):null}var ey=new WeakMap,eS=[],ew=["html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);}","body{margin:0;}","button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}","input::-webkit-search-cancel-button,input::-webkit-search-decoration,input::-webkit-search-results-button,input::-webkit-search-results-decoration{display:none;}"],ex=n(7106),eR=n(131),eE={},ek={height:0,width:0},eC=e=>{var t=e.shadowColor,n=e.shadowOffset,r=e.shadowOpacity,o=e.shadowRadius,i=n||ek,l=i.height,a=h(i.width),u=h(l),s=h(o||0),c=f(t||"black",r);if(null!=c&&null!=a&&null!=u&&null!=s)return a+" "+u+" "+s+" "+c},eT=e=>{var t=e.textShadowColor,n=e.textShadowOffset,r=e.textShadowRadius,o=n||ek,i=o.height,l=o.width,a=r||0,u=h(l),s=h(i),c=h(a),d=h(t,"textShadowColor");if(d&&(0!==i||0!==l||0!==a)&&null!=u&&null!=s&&null!=c)return u+" "+s+" "+c+" "+d},eO=e=>{var t=Object.keys(e)[0],n=e[t];if("matrix"===t||"matrix3d"===t)return t+"("+n.join(",")+")";var r=h(n,t);return t+"("+r+")"},eM=e=>e.map(eO).join(" "),eA={borderBottomEndRadius:"borderEndEndRadius",borderBottomStartRadius:"borderEndStartRadius",borderTopEndRadius:"borderStartEndRadius",borderTopStartRadius:"borderStartStartRadius",borderEndColor:"borderInlineEndColor",borderEndStyle:"borderInlineEndStyle",borderEndWidth:"borderInlineEndWidth",borderStartColor:"borderInlineStartColor",borderStartStyle:"borderInlineStartStyle",borderStartWidth:"borderInlineStartWidth",end:"insetInlineEnd",marginEnd:"marginInlineEnd",marginHorizontal:"marginInline",marginStart:"marginInlineStart",marginVertical:"marginBlock",paddingEnd:"paddingInlineEnd",paddingHorizontal:"paddingInline",paddingStart:"paddingInlineStart",paddingVertical:"paddingBlock",start:"insetInlineStart"},eP={elevation:!0,overlayColor:!0,resizeMode:!0,tintColor:!0},eI=function(e,t){void 0===t&&(t={});var n=e||eE,r={};if(t.shadow,null!=n.shadowColor||null!=n.shadowOffset||null!=n.shadowOpacity||null!=n.shadowRadius){(0,eR.O)("shadowStyles",'"shadow*" style props are deprecated. Use "boxShadow".');var o=eC(n);if(null!=o&&null==r.boxShadow){var i=n.boxShadow;r.boxShadow=i?i+", "+o:o}}if(t.textShadow,null!=n.textShadowColor||null!=n.textShadowOffset||null!=n.textShadowRadius){(0,eR.O)("textShadowStyles",'"textShadow*" style props are deprecated. Use "textShadow".');var l=eT(n);if(null!=l&&null==r.textShadow){var a=n.textShadow;r.textShadow=a?a+", "+l:l}}for(var u in n)if(null==eP[u]&&"shadowColor"!==u&&"shadowOffset"!==u&&"shadowOpacity"!==u&&"shadowRadius"!==u&&"textShadowColor"!==u&&"textShadowOffset"!==u&&"textShadowRadius"!==u){var s=n[u],c=eA[u]||u,d=s;Object.prototype.hasOwnProperty.call(n,u)&&(c===u||null==n[c])&&("aspectRatio"===c&&"number"==typeof d?r[c]=d.toString():"fontVariant"===c?(Array.isArray(d)&&d.length>0&&((0,eR.O)("fontVariant",'"fontVariant" style array value is deprecated. Use space-separated values.'),d=d.join(" ")),r[c]=d):"textAlignVertical"===c?((0,eR.O)("textAlignVertical",'"textAlignVertical" style is deprecated. Use "verticalAlign".'),null==n.verticalAlign&&(r.verticalAlign="center"===d?"middle":d)):"transform"===c?(Array.isArray(d)&&(d=eM(d)),r.transform=d):r[c]=d)}return r},eL=n(8650),eD=["writingDirection"],eB=new WeakMap,eW=function(e,t){if(void 0===t&&(t="react-native-stylesheet"),m.Z){var n,r=document;if(0===eS.length)n=eh(ef(t)),ew.forEach(e=>{n.insert(e,0)}),ey.set(r,eS.length),eS.push(n);else{var o=ey.get(r);if(null==o){var i=eS[0];n=eh(ef(t,r,null!=i?i.getTextContent():"")),ey.set(r,eS.length),eS.push(n)}else n=eS[o]}}else 0===eS.length?(n=eh(ef(t)),ew.forEach(e=>{n.insert(e,0)}),eS.push(n)):n=eS[0];return{getTextContent:()=>n.getTextContent(),id:t,insert(e,t){eS.forEach(n=>{n.insert(e,t)})}}}(),eN={shadow:!0,textShadow:!0};function ez(e){e.forEach(e=>{var t=e[0],n=e[1];null!=eW&&t.forEach(e=>{eW.insert(e,n)})})}var ej={position:"absolute",left:0,right:0,top:0,bottom:0},eH=eF({x:(0,r.Z)({},ej)}).x;function eF(e){return Object.keys(e).forEach(t=>{var n,i,l,a,u,s=e[t];null!=s&&!0!==s.$$css&&(t.indexOf("$raw")>-1?(i=(n=function(e,t){var n,i={$$css:!0},l=[],a=e.animationKeyframes,u=(0,o.Z)(e,F),s="css-"+w(t+JSON.stringify(e));if(null!=a){var c=ed(a),d=c[0],f=c[1];n=d.join(","),l.push(...f)}var p=ec((0,r.Z)((0,r.Z)({},u),{},{animationName:n}));return l.push("."+s+p),i[s]=s,[i,[[l,1]]]}(s,t.split("$raw")[0]))[0],ez(n[1]),u=i):(a=(l=function(e){var t={$$css:!0},n=[];function r(e,t,r){var o,i,l="string"!=typeof(o=h(r,t))?JSON.stringify(o||""):o,a=t+l,u=_.get(a);if(null!=u)i=u[0],n.push(u[1]);else{i="r-"+w(e+(e!==t?a:l));var s=V[e]||3,c=[function(e,t,n){var r=[],o="."+e;switch(t){case"animationKeyframes":var i=ed(n),l=i[0],a=i[1],u=ec({animationName:l.join(",")});r.push(""+o+u,...a);break;case"placeholderTextColor":var s=ec({color:n,opacity:1});r.push(o+"::-webkit-input-placeholder"+s,o+"::-moz-placeholder"+s,o+":-ms-input-placeholder"+s,o+"::placeholder"+s);break;case"pointerEvents":var c=n;if("auto"===n||"box-only"===n){if(c="auto!important","box-only"===n){var d=ec({pointerEvents:"none"});r.push(o+">*"+d)}}else if(("none"===n||"box-none"===n)&&(c="none!important","box-none"===n)){var f=ec({pointerEvents:"auto"});r.push(o+">*"+f)}var p=ec({pointerEvents:c});r.push(""+o+p);break;case"scrollbarWidth":"none"===n&&r.push(o+"::-webkit-scrollbar{display:none}");var h=ec({scrollbarWidth:n});r.push(""+o+h);break;default:var m=ec({[t]:n});r.push(""+o+m)}return r}(i,t,r),s];n.push(c),_.set(a,[i,c])}return i}return Object.keys(e).sort().forEach(n=>{var o=e[n];if(null!=o){if(es.indexOf(n)>-1){var i,l=r(n,n,"left"),a=r(n,n,"right");"start"===o?i=[l,a]:"end"===o&&(i=[a,l])}var u=eu[n];if(null!=u&&(i=[r(n,u,o),r(n,ea[u],o)]),"transitionProperty"===n){for(var s=Array.isArray(o)?o:[o],c=[],d=0;d0){var p=[...s],h=[...s];c.forEach(e=>{var t=p[e];if("string"==typeof t){var o=eu[t],l=ea[o];p[e]=o,h[e]=l,i=[r(n,n,p),r(n,n,h)]}})}}null==i?i=r(n,n,o):t.$$css$localize=!0,t[n]=i}}),[t,n]}(eI(s,eN)))[0],ez(l[1]),u=a),eB.set(s,u))}),e}function e_(e,t){void 0===t&&(t={});var n,i,l,a,u,s="rtl"===t.writingDirection,c=(void 0===(n=t)&&(n={}),l=(i=n).writingDirection,a=(0,o.Z)(i,eD),u="rtl"===l,eL.D.factory({transform(e){var t=eB.get(e);return null!=t?(0,ex.j)(t,u):eI(e,(0,r.Z)((0,r.Z)({},eN),a))}})(e));return Array.isArray(c)&&null!=c[1]&&(c[1]=function(e,t){var n=e||Z,r={},o={};for(var i in n)if("continue"===function(){var e=n[i],l=i,a=e;if(!Object.prototype.hasOwnProperty.call(n,i)||null==e)return"continue";es.indexOf(i)>-1&&("start"===e?a=t?"right":"left":"end"===e&&(a=t?"left":"right"));var u=eu[i];if(null!=u&&(l=t?ea[u]:u),"transitionProperty"===i){var s=Array.isArray(e)?e:[e];s.forEach((e,n)=>{if("string"==typeof e){var r=eu[e];null!=r&&(s[n]=t?ea[r]:r,a=s.join(" "))}})}r[l]||(o[l]=a),l===i&&(r[l]=!0)}())continue;return S(o,!0)}(c[1],s)),c}e_.absoluteFill=eH,e_.absoluteFillObject=ej,e_.create=eF,e_.compose=function(e,t){return[e,t]},e_.flatten=function(){for(var e=arguments.length,t=Array(e),n=0;nReflect.has(n,r)?Reflect.get(n,r):e(),apply:()=>e()})}(!0)},2319:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(2141),o={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexOrder:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,gridRow:!0,gridRowEnd:!0,gridRowGap:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnGap:!0,gridColumnStart:!0,lineClamp:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0,scale:!0,scaleX:!0,scaleY:!0,scaleZ:!0,shadowOpacity:!0},i=["ms","Moz","O","Webkit"],l=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1);Object.keys(o).forEach(e=>{i.forEach(t=>{o[l(t,e)]=o[e]})});var a=function(e,t){var n=e.style;for(var r in t)if(t.hasOwnProperty(r)){var i,l,a=0===r.indexOf("--"),u=(i=r,null==(l=t[r])||"boolean"==typeof l||""===l?"":a||"number"!=typeof l||0===l||o.hasOwnProperty(i)&&o[i]?(""+l).trim():l+"px");"float"===r&&(r="cssFloat"),a?n.setProperty(r,u):n[r]=u}},u=e=>{var t=e.offsetHeight,n=e.offsetWidth,r=e.offsetLeft,o=e.offsetTop;for(e=e.offsetParent;e&&1===e.nodeType;)r+=e.offsetLeft+e.clientLeft-e.scrollLeft,o+=e.offsetTop+e.clientTop-e.scrollTop,e=e.offsetParent;return{width:n,height:t,top:o-=window.scrollY,left:r-=window.scrollX}},s=(e,t,n)=>{var r=t||e&&e.parentNode;e&&r&&setTimeout(()=>{if(e.isConnected&&r.isConnected){var t=u(r),o=u(e),i=o.height,l=o.left,a=o.top,s=o.width;n(l-t.left,a-t.top,s,i,l,a)}},0)},c={A:!0,BODY:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0},d={blur(e){try{e.blur()}catch(e){}},focus(e){try{var t=e.nodeName;null==e.getAttribute("tabIndex")&&!0!==e.isContentEditable&&null==c[t]&&e.setAttribute("tabIndex","-1"),e.focus()}catch(e){}},measure(e,t){s(e,null,t)},measureInWindow(e,t){e&&setTimeout(()=>{var n=(0,r.Z)(e),o=n.height;t(n.left,n.top,n.width,o)},0)},measureLayout(e,t,n,r){s(e,t,r)},updateView(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=t[n];switch(n){case"style":a(e,r);break;case"class":case"className":e.setAttribute("class",r);break;case"text":case"value":e.value=r;break;default:e.setAttribute(n,r)}}},configureNextLayoutAnimation(e,t){t()},setLayoutAnimationEnabledExperimental(){}}},5275:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(3950),o=n(2265),i=n(5803),l=n(7792),a=n(2675),u=n(9647),s=n(9926),c=n(5158),d=n(4886),f=n(929),p=(0,o.createContext)(!1),h=n(3201),m=["hrefAttrs","onLayout","onMoveShouldSetResponder","onMoveShouldSetResponderCapture","onResponderEnd","onResponderGrant","onResponderMove","onResponderReject","onResponderRelease","onResponderStart","onResponderTerminate","onResponderTerminationRequest","onScrollShouldSetResponder","onScrollShouldSetResponderCapture","onSelectionChangeShouldSetResponder","onSelectionChangeShouldSetResponderCapture","onStartShouldSetResponder","onStartShouldSetResponderCapture"],v=Object.assign({},l.lG,l.LO,l._T,l.YB,l.Uy,l.hJ,l.E5,l.vr,{href:!0,lang:!0,onScroll:!0,onWheel:!0,pointerEvents:!0}),g=e=>(0,a.Z)(e,v),b=o.forwardRef((e,t)=>{var n=e.hrefAttrs,l=e.onLayout,a=e.onMoveShouldSetResponder,f=e.onMoveShouldSetResponderCapture,v=e.onResponderEnd,b=e.onResponderGrant,S=e.onResponderMove,w=e.onResponderReject,x=e.onResponderRelease,R=e.onResponderStart,E=e.onResponderTerminate,k=e.onResponderTerminationRequest,C=e.onScrollShouldSetResponder,T=e.onScrollShouldSetResponderCapture,O=e.onSelectionChangeShouldSetResponder,M=e.onSelectionChangeShouldSetResponderCapture,A=e.onStartShouldSetResponder,P=e.onStartShouldSetResponderCapture,I=(0,r.Z)(e,m),L=o.useContext(p),D=o.useRef(null),B=(0,h.PE)().direction;(0,u.Z)(D,l),(0,d.Z)(D,{onMoveShouldSetResponder:a,onMoveShouldSetResponderCapture:f,onResponderEnd:v,onResponderGrant:b,onResponderMove:S,onResponderReject:w,onResponderRelease:x,onResponderStart:R,onResponderTerminate:E,onResponderTerminationRequest:k,onScrollShouldSetResponder:C,onScrollShouldSetResponderCapture:T,onSelectionChangeShouldSetResponder:O,onSelectionChangeShouldSetResponderCapture:M,onStartShouldSetResponder:A,onStartShouldSetResponderCapture:P});var W="div",N=null!=e.lang?(0,h.w1)(e.lang):null,z=e.dir||N,j=z||B,H=g(I);if(H.dir=z,H.style=[y.view$raw,L&&y.inline,e.style],null!=e.href&&(W="a",null!=n)){var F=n.download,_=n.rel,Z=n.target;null!=F&&(H.download=F),null!=_&&(H.rel=_),"string"==typeof Z&&(H.target="_"!==Z.charAt(0)?"_"+Z:Z)}var V=(0,c.Z)(H),$=(0,s.Z)(D,V,t);return H.ref=$,(0,i.Z)(W,H,{writingDirection:j})});b.displayName="View";var y=f.Z.create({view$raw:{alignItems:"stretch",backgroundColor:"transparent",border:"0 solid black",boxSizing:"border-box",display:"flex",flexBasis:"auto",flexDirection:"column",flexShrink:0,listStyle:"none",margin:0,minHeight:0,minWidth:0,padding:0,position:"relative",textDecoration:"none",zIndex:0},inline:{display:"inline-flex"}}),S=b},5803:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r={adjustable:"slider",button:"button",header:"heading",image:"img",imagebutton:null,keyboardkey:null,label:null,link:"link",none:"presentation",search:"search",summary:"region",text:null},o=e=>{var t=e.accessibilityRole,n=e.role||t;if(n){var o=r[n];if(null!==o)return o||n}},i={article:"article",banner:"header",blockquote:"blockquote",button:"button",code:"code",complementary:"aside",contentinfo:"footer",deletion:"del",emphasis:"em",figure:"figure",insertion:"ins",form:"form",list:"ul",listitem:"li",main:"main",navigation:"nav",paragraph:"p",region:"section",strong:"strong"},l={},a={propsToAccessibilityComponent:function(e){if(void 0===e&&(e=l),"label"===e.accessibilityRole)return"label";var t=o(e);if(t){if("heading"===t){var n=e.accessibilityLevel||e["aria-level"];return null!=n?"h"+n:"h1"}return i[t]}},propsToAriaRole:o},u=n(7998),s=n(3950),c=n(929),d=n(131),f=["aria-activedescendant","accessibilityActiveDescendant","aria-atomic","accessibilityAtomic","aria-autocomplete","accessibilityAutoComplete","aria-busy","accessibilityBusy","aria-checked","accessibilityChecked","aria-colcount","accessibilityColumnCount","aria-colindex","accessibilityColumnIndex","aria-colspan","accessibilityColumnSpan","aria-controls","accessibilityControls","aria-current","accessibilityCurrent","aria-describedby","accessibilityDescribedBy","aria-details","accessibilityDetails","aria-disabled","accessibilityDisabled","aria-errormessage","accessibilityErrorMessage","aria-expanded","accessibilityExpanded","aria-flowto","accessibilityFlowTo","aria-haspopup","accessibilityHasPopup","aria-hidden","accessibilityHidden","aria-invalid","accessibilityInvalid","aria-keyshortcuts","accessibilityKeyShortcuts","aria-label","accessibilityLabel","aria-labelledby","accessibilityLabelledBy","aria-level","accessibilityLevel","aria-live","accessibilityLiveRegion","aria-modal","accessibilityModal","aria-multiline","accessibilityMultiline","aria-multiselectable","accessibilityMultiSelectable","aria-orientation","accessibilityOrientation","aria-owns","accessibilityOwns","aria-placeholder","accessibilityPlaceholder","aria-posinset","accessibilityPosInSet","aria-pressed","accessibilityPressed","aria-readonly","accessibilityReadOnly","aria-required","accessibilityRequired","role","accessibilityRole","aria-roledescription","accessibilityRoleDescription","aria-rowcount","accessibilityRowCount","aria-rowindex","accessibilityRowIndex","aria-rowspan","accessibilityRowSpan","aria-selected","accessibilitySelected","aria-setsize","accessibilitySetSize","aria-sort","accessibilitySort","aria-valuemax","accessibilityValueMax","aria-valuemin","accessibilityValueMin","aria-valuenow","accessibilityValueNow","aria-valuetext","accessibilityValueText","dataSet","focusable","id","nativeID","pointerEvents","style","tabIndex","testID"],p={},h=Object.prototype.hasOwnProperty,m=Array.isArray,v=/[A-Z]/g;function g(e){return"-"+e.toLowerCase()}function b(e){return m(e)?e.join(" "):e}var y=c.Z.create({auto:{pointerEvents:"auto"},"box-none":{pointerEvents:"box-none"},"box-only":{pointerEvents:"box-only"},none:{pointerEvents:"none"}}),S=(e,t,n)=>{t||(t=p);var r=t,o=r["aria-activedescendant"],i=r.accessibilityActiveDescendant,l=r["aria-atomic"],m=r.accessibilityAtomic,S=r["aria-autocomplete"],w=r.accessibilityAutoComplete,x=r["aria-busy"],R=r.accessibilityBusy,E=r["aria-checked"],k=r.accessibilityChecked,C=r["aria-colcount"],T=r.accessibilityColumnCount,O=r["aria-colindex"],M=r.accessibilityColumnIndex,A=r["aria-colspan"],P=r.accessibilityColumnSpan,I=r["aria-controls"],L=r.accessibilityControls,D=r["aria-current"],B=r.accessibilityCurrent,W=r["aria-describedby"],N=r.accessibilityDescribedBy,z=r["aria-details"],j=r.accessibilityDetails,H=r["aria-disabled"],F=r.accessibilityDisabled,_=r["aria-errormessage"],Z=r.accessibilityErrorMessage,V=r["aria-expanded"],$=r.accessibilityExpanded,K=r["aria-flowto"],U=r.accessibilityFlowTo,Y=r["aria-haspopup"],X=r.accessibilityHasPopup,q=r["aria-hidden"],G=r.accessibilityHidden,J=r["aria-invalid"],Q=r.accessibilityInvalid,ee=r["aria-keyshortcuts"],et=r.accessibilityKeyShortcuts,en=r["aria-label"],er=r.accessibilityLabel,eo=r["aria-labelledby"],ei=r.accessibilityLabelledBy,el=r["aria-level"],ea=r.accessibilityLevel,eu=r["aria-live"],es=r.accessibilityLiveRegion,ec=r["aria-modal"],ed=r.accessibilityModal,ef=r["aria-multiline"],ep=r.accessibilityMultiline,eh=r["aria-multiselectable"],em=r.accessibilityMultiSelectable,ev=r["aria-orientation"],eg=r.accessibilityOrientation,eb=r["aria-owns"],ey=r.accessibilityOwns,eS=r["aria-placeholder"],ew=r.accessibilityPlaceholder,ex=r["aria-posinset"],eR=r.accessibilityPosInSet,eE=r["aria-pressed"],ek=r.accessibilityPressed,eC=r["aria-readonly"],eT=r.accessibilityReadOnly,eO=r["aria-required"],eM=r.accessibilityRequired,eA=(r.role,r.accessibilityRole),eP=r["aria-roledescription"],eI=r.accessibilityRoleDescription,eL=r["aria-rowcount"],eD=r.accessibilityRowCount,eB=r["aria-rowindex"],eW=r.accessibilityRowIndex,eN=r["aria-rowspan"],ez=r.accessibilityRowSpan,ej=r["aria-selected"],eH=r.accessibilitySelected,eF=r["aria-setsize"],e_=r.accessibilitySetSize,eZ=r["aria-sort"],eV=r.accessibilitySort,e$=r["aria-valuemax"],eK=r.accessibilityValueMax,eU=r["aria-valuemin"],eY=r.accessibilityValueMin,eX=r["aria-valuenow"],eq=r.accessibilityValueNow,eG=r["aria-valuetext"],eJ=r.accessibilityValueText,eQ=r.dataSet,e0=r.focusable,e1=r.id,e2=r.nativeID,e5=r.pointerEvents,e3=r.style,e4=r.tabIndex,e7=r.testID,e9=(0,s.Z)(r,f);null!=F&&(0,d.O)("accessibilityDisabled","accessibilityDisabled is deprecated.");var e8=a.propsToAriaRole(t);null!=i&&(0,d.O)("accessibilityActiveDescendant","accessibilityActiveDescendant is deprecated. Use aria-activedescendant.");var e6=null!=o?o:i;null!=e6&&(e9["aria-activedescendant"]=e6),null!=m&&(0,d.O)("accessibilityAtomic","accessibilityAtomic is deprecated. Use aria-atomic.");var te=null!=l?o:m;null!=te&&(e9["aria-atomic"]=te),null!=w&&(0,d.O)("accessibilityAutoComplete","accessibilityAutoComplete is deprecated. Use aria-autocomplete.");var tt=null!=S?S:w;null!=tt&&(e9["aria-autocomplete"]=tt),null!=R&&(0,d.O)("accessibilityBusy","accessibilityBusy is deprecated. Use aria-busy.");var tn=null!=x?x:R;null!=tn&&(e9["aria-busy"]=tn),null!=k&&(0,d.O)("accessibilityChecked","accessibilityChecked is deprecated. Use aria-checked.");var tr=null!=E?E:k;null!=tr&&(e9["aria-checked"]=tr),null!=T&&(0,d.O)("accessibilityColumnCount","accessibilityColumnCount is deprecated. Use aria-colcount.");var to=null!=C?C:T;null!=to&&(e9["aria-colcount"]=to),null!=M&&(0,d.O)("accessibilityColumnIndex","accessibilityColumnIndex is deprecated. Use aria-colindex.");var ti=null!=O?O:M;null!=ti&&(e9["aria-colindex"]=ti),null!=P&&(0,d.O)("accessibilityColumnSpan","accessibilityColumnSpan is deprecated. Use aria-colspan.");var tl=null!=A?A:P;null!=tl&&(e9["aria-colspan"]=tl),null!=L&&(0,d.O)("accessibilityControls","accessibilityControls is deprecated. Use aria-controls.");var ta=null!=I?I:L;null!=ta&&(e9["aria-controls"]=b(ta)),null!=B&&(0,d.O)("accessibilityCurrent","accessibilityCurrent is deprecated. Use aria-current.");var tu=null!=D?D:B;null!=tu&&(e9["aria-current"]=tu),null!=N&&(0,d.O)("accessibilityDescribedBy","accessibilityDescribedBy is deprecated. Use aria-describedby.");var ts=null!=W?W:N;null!=ts&&(e9["aria-describedby"]=b(ts)),null!=j&&(0,d.O)("accessibilityDetails","accessibilityDetails is deprecated. Use aria-details.");var tc=null!=z?z:j;null!=tc&&(e9["aria-details"]=tc),!0===(H||F)&&(e9["aria-disabled"]=!0,("button"===e||"form"===e||"input"===e||"select"===e||"textarea"===e)&&(e9.disabled=!0)),null!=Z&&(0,d.O)("accessibilityErrorMessage","accessibilityErrorMessage is deprecated. Use aria-errormessage.");var td=null!=_?_:Z;null!=td&&(e9["aria-errormessage"]=td),null!=$&&(0,d.O)("accessibilityExpanded","accessibilityExpanded is deprecated. Use aria-expanded.");var tf=null!=V?V:$;null!=tf&&(e9["aria-expanded"]=tf),null!=U&&(0,d.O)("accessibilityFlowTo","accessibilityFlowTo is deprecated. Use aria-flowto.");var tp=null!=K?K:U;null!=tp&&(e9["aria-flowto"]=b(tp)),null!=X&&(0,d.O)("accessibilityHasPopup","accessibilityHasPopup is deprecated. Use aria-haspopup.");var th=null!=Y?Y:X;null!=th&&(e9["aria-haspopup"]=th),null!=G&&(0,d.O)("accessibilityHidden","accessibilityHidden is deprecated. Use aria-hidden.");var tm=null!=q?q:G;!0===tm&&(e9["aria-hidden"]=tm),null!=Q&&(0,d.O)("accessibilityInvalid","accessibilityInvalid is deprecated. Use aria-invalid.");var tv=null!=J?J:Q;null!=tv&&(e9["aria-invalid"]=tv),null!=et&&(0,d.O)("accessibilityKeyShortcuts","accessibilityKeyShortcuts is deprecated. Use aria-keyshortcuts.");var tg=null!=ee?ee:et;null!=tg&&(e9["aria-keyshortcuts"]=b(tg)),null!=er&&(0,d.O)("accessibilityLabel","accessibilityLabel is deprecated. Use aria-label.");var tb=null!=en?en:er;null!=tb&&(e9["aria-label"]=tb),null!=ei&&(0,d.O)("accessibilityLabelledBy","accessibilityLabelledBy is deprecated. Use aria-labelledby.");var ty=null!=eo?eo:ei;null!=ty&&(e9["aria-labelledby"]=b(ty)),null!=ea&&(0,d.O)("accessibilityLevel","accessibilityLevel is deprecated. Use aria-level.");var tS=null!=el?el:ea;null!=tS&&(e9["aria-level"]=tS),null!=es&&(0,d.O)("accessibilityLiveRegion","accessibilityLiveRegion is deprecated. Use aria-live.");var tw=null!=eu?eu:es;null!=tw&&(e9["aria-live"]="none"===tw?"off":tw),null!=ed&&(0,d.O)("accessibilityModal","accessibilityModal is deprecated. Use aria-modal.");var tx=null!=ec?ec:ed;null!=tx&&(e9["aria-modal"]=tx),null!=ep&&(0,d.O)("accessibilityMultiline","accessibilityMultiline is deprecated. Use aria-multiline.");var tR=null!=ef?ef:ep;null!=tR&&(e9["aria-multiline"]=tR),null!=em&&(0,d.O)("accessibilityMultiSelectable","accessibilityMultiSelectable is deprecated. Use aria-multiselectable.");var tE=null!=eh?eh:em;null!=tE&&(e9["aria-multiselectable"]=tE),null!=eg&&(0,d.O)("accessibilityOrientation","accessibilityOrientation is deprecated. Use aria-orientation.");var tk=null!=ev?ev:eg;null!=tk&&(e9["aria-orientation"]=tk),null!=ey&&(0,d.O)("accessibilityOwns","accessibilityOwns is deprecated. Use aria-owns.");var tC=null!=eb?eb:ey;null!=tC&&(e9["aria-owns"]=b(tC)),null!=ew&&(0,d.O)("accessibilityPlaceholder","accessibilityPlaceholder is deprecated. Use aria-placeholder.");var tT=null!=eS?eS:ew;null!=tT&&(e9["aria-placeholder"]=tT),null!=eR&&(0,d.O)("accessibilityPosInSet","accessibilityPosInSet is deprecated. Use aria-posinset.");var tO=null!=ex?ex:eR;null!=tO&&(e9["aria-posinset"]=tO),null!=ek&&(0,d.O)("accessibilityPressed","accessibilityPressed is deprecated. Use aria-pressed.");var tM=null!=eE?eE:ek;null!=tM&&(e9["aria-pressed"]=tM),null!=eT&&(0,d.O)("accessibilityReadOnly","accessibilityReadOnly is deprecated. Use aria-readonly.");var tA=null!=eC?eC:eT;null!=tA&&(e9["aria-readonly"]=tA,("input"===e||"select"===e||"textarea"===e)&&(e9.readOnly=!0)),null!=eM&&(0,d.O)("accessibilityRequired","accessibilityRequired is deprecated. Use aria-required.");var tP=null!=eO?eO:eM;null!=tP&&(e9["aria-required"]=tP,("input"===e||"select"===e||"textarea"===e)&&(e9.required=eM)),null!=eA&&(0,d.O)("accessibilityRole","accessibilityRole is deprecated. Use role."),null!=e8&&(e9.role="none"===e8?"presentation":e8),null!=eI&&(0,d.O)("accessibilityRoleDescription","accessibilityRoleDescription is deprecated. Use aria-roledescription.");var tI=null!=eP?eP:eI;null!=tI&&(e9["aria-roledescription"]=tI),null!=eD&&(0,d.O)("accessibilityRowCount","accessibilityRowCount is deprecated. Use aria-rowcount.");var tL=null!=eL?eL:eD;null!=tL&&(e9["aria-rowcount"]=tL),null!=eW&&(0,d.O)("accessibilityRowIndex","accessibilityRowIndex is deprecated. Use aria-rowindex.");var tD=null!=eB?eB:eW;null!=tD&&(e9["aria-rowindex"]=tD),null!=ez&&(0,d.O)("accessibilityRowSpan","accessibilityRowSpan is deprecated. Use aria-rowspan.");var tB=null!=eN?eN:ez;null!=tB&&(e9["aria-rowspan"]=tB),null!=eH&&(0,d.O)("accessibilitySelected","accessibilitySelected is deprecated. Use aria-selected.");var tW=null!=ej?ej:eH;null!=tW&&(e9["aria-selected"]=tW),null!=e_&&(0,d.O)("accessibilitySetSize","accessibilitySetSize is deprecated. Use aria-setsize.");var tN=null!=eF?eF:e_;null!=tN&&(e9["aria-setsize"]=tN),null!=eV&&(0,d.O)("accessibilitySort","accessibilitySort is deprecated. Use aria-sort.");var tz=null!=eZ?eZ:eV;null!=tz&&(e9["aria-sort"]=tz),null!=eK&&(0,d.O)("accessibilityValueMax","accessibilityValueMax is deprecated. Use aria-valuemax.");var tj=null!=e$?e$:eK;null!=tj&&(e9["aria-valuemax"]=tj),null!=eY&&(0,d.O)("accessibilityValueMin","accessibilityValueMin is deprecated. Use aria-valuemin.");var tH=null!=eU?eU:eY;null!=tH&&(e9["aria-valuemin"]=tH),null!=eq&&(0,d.O)("accessibilityValueNow","accessibilityValueNow is deprecated. Use aria-valuenow.");var tF=null!=eX?eX:eq;null!=tF&&(e9["aria-valuenow"]=tF),null!=eJ&&(0,d.O)("accessibilityValueText","accessibilityValueText is deprecated. Use aria-valuetext.");var t_=null!=eG?eG:eJ;if(null!=t_&&(e9["aria-valuetext"]=t_),null!=eQ){for(var tZ in eQ)if(h.call(eQ,tZ)){var tV=tZ.replace(v,g),t$=eQ[tZ];null!=t$&&(e9["data-"+tV]=t$)}}0===e4||"0"===e4||-1===e4||"-1"===e4?e9.tabIndex=e4:(null!=e0&&(0,d.O)("focusable","focusable is deprecated."),!1===e0&&(e9.tabIndex="-1"),"a"===e||"button"===e||"input"===e||"select"===e||"textarea"===e?(!1===e0||!0===F)&&(e9.tabIndex="-1"):"button"===e8||"checkbox"===e8||"link"===e8||"radio"===e8||"textbox"===e8||"switch"===e8?!1!==e0&&(e9.tabIndex="0"):!0===e0&&(e9.tabIndex="0")),null!=e5&&(0,d.O)("pointerEvents","props.pointerEvents is deprecated. Use style.pointerEvents");var tK=(0,c.Z)([e3,e5&&y[e5]],(0,u.Z)({writingDirection:"ltr"},n)),tU=tK[0],tY=tK[1];tU&&(e9.className=tU),tY&&(e9.style=tY),null!=e2&&(0,d.O)("nativeID","nativeID is deprecated. Use id.");var tX=null!=e1?e1:e2;return null!=tX&&(e9.id=tX),null!=e7&&(e9["data-testid"]=e7),null==e9.type&&"button"===e&&(e9.type="button"),e9},w=n(2265),x=n(3201),R=(e,t,n)=>{e&&e.constructor===String&&(r=a.propsToAccessibilityComponent(t));var r,o=r||e,i=S(o,t,n),l=w.createElement(o,i);return i.dir?w.createElement(x.Iw,{children:l,direction:i.dir,locale:i.lang}):l}},3013:function(e,t,n){"use strict";var r=n(2319);t.Z={_currentlyFocusedNode:null,currentlyFocusedField(){return document.activeElement!==this._currentlyFocusedNode&&(this._currentlyFocusedNode=null),this._currentlyFocusedNode},focusTextInput(e){null!==e&&(this._currentlyFocusedNode=e,document.activeElement!==e&&r.Z.focus(e))},blurTextInput(e){null!==e&&(this._currentlyFocusedNode=null,document.activeElement===e&&r.Z.blur(e))}}},1213:function(e,t){"use strict";var n=!!("undefined"!=typeof window&&window.document&&window.document.createElement);t.Z=n},5832:function(e,t,n){"use strict";var r=n(3013);t.Z=()=>{r.Z.blurTextInput(r.Z.currentlyFocusedField())}},7792:function(e,t,n){"use strict";n.d(t,{E5:function(){return s},LO:function(){return o},Uy:function(){return a},YB:function(){return l},_T:function(){return i},hJ:function(){return u},lG:function(){return r},vr:function(){return c}});var r={children:!0,dataSet:!0,dir:!0,id:!0,ref:!0,suppressHydrationWarning:!0,tabIndex:!0,testID:!0,focusable:!0,nativeID:!0},o={"aria-activedescendant":!0,"aria-atomic":!0,"aria-autocomplete":!0,"aria-busy":!0,"aria-checked":!0,"aria-colcount":!0,"aria-colindex":!0,"aria-colspan":!0,"aria-controls":!0,"aria-current":!0,"aria-describedby":!0,"aria-details":!0,"aria-disabled":!0,"aria-errormessage":!0,"aria-expanded":!0,"aria-flowto":!0,"aria-haspopup":!0,"aria-hidden":!0,"aria-invalid":!0,"aria-keyshortcuts":!0,"aria-label":!0,"aria-labelledby":!0,"aria-level":!0,"aria-live":!0,"aria-modal":!0,"aria-multiline":!0,"aria-multiselectable":!0,"aria-orientation":!0,"aria-owns":!0,"aria-placeholder":!0,"aria-posinset":!0,"aria-pressed":!0,"aria-readonly":!0,"aria-required":!0,role:!0,"aria-roledescription":!0,"aria-rowcount":!0,"aria-rowindex":!0,"aria-rowspan":!0,"aria-selected":!0,"aria-setsize":!0,"aria-sort":!0,"aria-valuemax":!0,"aria-valuemin":!0,"aria-valuenow":!0,"aria-valuetext":!0,accessibilityActiveDescendant:!0,accessibilityAtomic:!0,accessibilityAutoComplete:!0,accessibilityBusy:!0,accessibilityChecked:!0,accessibilityColumnCount:!0,accessibilityColumnIndex:!0,accessibilityColumnSpan:!0,accessibilityControls:!0,accessibilityCurrent:!0,accessibilityDescribedBy:!0,accessibilityDetails:!0,accessibilityDisabled:!0,accessibilityErrorMessage:!0,accessibilityExpanded:!0,accessibilityFlowTo:!0,accessibilityHasPopup:!0,accessibilityHidden:!0,accessibilityInvalid:!0,accessibilityKeyShortcuts:!0,accessibilityLabel:!0,accessibilityLabelledBy:!0,accessibilityLevel:!0,accessibilityLiveRegion:!0,accessibilityModal:!0,accessibilityMultiline:!0,accessibilityMultiSelectable:!0,accessibilityOrientation:!0,accessibilityOwns:!0,accessibilityPlaceholder:!0,accessibilityPosInSet:!0,accessibilityPressed:!0,accessibilityReadOnly:!0,accessibilityRequired:!0,accessibilityRole:!0,accessibilityRoleDescription:!0,accessibilityRowCount:!0,accessibilityRowIndex:!0,accessibilityRowSpan:!0,accessibilitySelected:!0,accessibilitySetSize:!0,accessibilitySort:!0,accessibilityValueMax:!0,accessibilityValueMin:!0,accessibilityValueNow:!0,accessibilityValueText:!0},i={onClick:!0,onAuxClick:!0,onContextMenu:!0,onGotPointerCapture:!0,onLostPointerCapture:!0,onPointerCancel:!0,onPointerDown:!0,onPointerEnter:!0,onPointerMove:!0,onPointerLeave:!0,onPointerOut:!0,onPointerOver:!0,onPointerUp:!0},l={onBlur:!0,onFocus:!0},a={onKeyDown:!0,onKeyDownCapture:!0,onKeyUp:!0,onKeyUpCapture:!0},u={onMouseDown:!0,onMouseEnter:!0,onMouseLeave:!0,onMouseMove:!0,onMouseOver:!0,onMouseOut:!0,onMouseUp:!0},s={onTouchCancel:!0,onTouchCancelCapture:!0,onTouchEnd:!0,onTouchEndCapture:!0,onTouchMove:!0,onTouchMoveCapture:!0,onTouchStart:!0,onTouchStartCapture:!0},c={style:!0}},2141:function(e,t){"use strict";t.Z=e=>{if(null!=e&&1===e.nodeType&&"function"==typeof e.getBoundingClientRect)return e.getBoundingClientRect()}},2050:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n{if(null!=t){if("function"==typeof t){t(e);return}if("object"==typeof t){t.current=e;return}console.error("mergeRefs cannot handle Refs of type boolean, number or string, received ref "+String(t))}})}}n.d(t,{Z:function(){return r}}),n(2265)},2675:function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)e.hasOwnProperty(r)&&!0===t[r]&&(n[r]=e[r]);return n}n.d(t,{Z:function(){return r}})},9647:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1435),o=n(2319),i=n(1213),l="__reactLayoutHandler",a=(i.Z,null);function u(e,t){var n=(i.Z&&void 0!==window.ResizeObserver&&null==a&&(a=new window.ResizeObserver(function(e){e.forEach(e=>{var t=e.target,n=t[l];"function"==typeof n&&o.Z.measure(t,(t,r,o,i,l,a)=>{var u={nativeEvent:{layout:{x:t,y:r,width:o,height:i,left:l,top:a}},timeStamp:Date.now()};Object.defineProperty(u.nativeEvent,"target",{enumerable:!0,get:()=>e.target}),n(u)})})})),a);(0,r.Z)(()=>{var n=e.current;null!=n&&(n[l]=t)},[e,t]),(0,r.Z)(()=>{var t=e.current;return null!=t&&null!=n&&("function"==typeof t[l]?n.observe(t):n.unobserve(t)),()=>{null!=t&&null!=n&&n.unobserve(t)}},[e,n])}},1435:function(e,t,n){"use strict";var r=n(2265),o=n(1213).Z?r.useLayoutEffect:r.useEffect;t.Z=o},3201:function(e,t,n){"use strict";n.d(t,{Iw:function(){return s},w1:function(){return u},PE:function(){return c}});var r=n(2265),o=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),i=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","far","glk","he","iw","khw","ks","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]),l=new Map,a=(0,r.createContext)({direction:"ltr",locale:"en-US"});function u(e){return!function(e){var t=l.get(e);if(t)return t;var n=!1;if(Intl.Locale){var r=new Intl.Locale(e).maximize().script;n=o.has(r)}else{var a=e.split("-")[0];n=i.has(a)}return l.set(e,n),n}(e)?"ltr":"rtl"}function s(e){var t=e.direction,n=e.locale,o=e.children;return t||n?r.createElement(a.Provider,{children:o,value:{direction:n?u(n):t,locale:n}}):o}function c(){return(0,r.useContext)(a)}},9926:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2265),o=n(2050);function i(){for(var e=arguments.length,t=Array(e),n=0;n(0,o.Z)(...t),[...t])}},5158:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(2319),o=n(2265),i="function"==typeof Symbol&&"symbol"==typeof Symbol()?Symbol():Object.freeze({});function l(e){var t,n;return e.pointerEvents,e.style,t=()=>e=>{null!=e&&(e.measure=t=>r.Z.measure(e,t),e.measureLayout=(t,n,o)=>r.Z.measureLayout(e,t,o,n),e.measureInWindow=t=>r.Z.measureInWindow(e,t))},(n=o.useRef(i)).current===i&&(n.current=t()),n.current}},4886:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var r=n(2265),o=n(2141),i=()=>{},l={},a=[];function u(e){return e>20?e%20:e}function s(e,t){var n,r,s,c=!1,d=e.changedTouches,f=e.type,p=!0===e.metaKey,h=!0===e.shiftKey,m=d&&d[0].force||0,v=u(d&&d[0].identifier||0),g=d&&d[0].clientX||e.clientX,b=d&&d[0].clientY||e.clientY,y=d&&d[0].pageX||e.pageX,S=d&&d[0].pageY||e.pageY,w="function"==typeof e.preventDefault?e.preventDefault.bind(e):i,x=e.timeStamp;function R(e){return Array.prototype.slice.call(e).map(e=>({force:e.force,identifier:u(e.identifier),get locationX(){return C(e.clientX)},get locationY(){return T(e.clientY)},pageX:e.pageX,pageY:e.pageY,target:e.target,timestamp:x}))}if(null!=d)r=R(d),s=R(e.touches);else{var E=[{force:m,identifier:v,get locationX(){return C(g)},get locationY(){return T(b)},pageX:y,pageY:S,target:e.target,timestamp:x}];r=E,s="mouseup"===f||"dragstart"===f?a:E}var k={bubbles:!0,cancelable:!0,currentTarget:null,defaultPrevented:e.defaultPrevented,dispatchConfig:l,eventPhase:e.eventPhase,isDefaultPrevented:()=>e.defaultPrevented,isPropagationStopped:()=>c,isTrusted:e.isTrusted,nativeEvent:{altKey:!1,ctrlKey:!1,metaKey:p,shiftKey:h,changedTouches:r,force:m,identifier:v,get locationX(){return C(g)},get locationY(){return T(b)},pageX:y,pageY:S,target:e.target,timestamp:x,touches:s,type:f},persist:i,preventDefault:w,stopPropagation(){c=!0},target:e.target,timeStamp:x,touchHistory:t.touchHistory};function C(e){if(n=n||(0,o.Z)(k.currentTarget))return e-n.left}function T(e){if(n=n||(0,o.Z)(k.currentTarget))return e-n.top}return k}function c(e){return"touchstart"===e||"mousedown"===e}function d(e){return"touchmove"===e||"mousemove"===e}function f(e){return"touchend"===e||"mouseup"===e||p(e)}function p(e){return"touchcancel"===e||"dragstart"===e}var h="__reactResponderId";function m(e){for(var t=[];null!=e&&e!==document.body;)t.push(e),e=e.parentNode;return t}function v(e){return e.timeStamp||e.timestamp}function g(e){var t=e.identifier;return null==t&&console.error("Touch object is missing identifier."),t}function b(e){return JSON.stringify({identifier:e.identifier,pageX:e.pageX,pageY:e.pageY,timestamp:v(e)})}function y(e){var t=e.touchBank,n=JSON.stringify(t.slice(0,20));return t.length>20&&(n+=" (original size: "+t.length+")"),n}class S{constructor(){this._touchHistory={touchBank:[],numberActiveTouches:0,indexOfSingleActiveTouch:-1,mostRecentTimeStamp:0}}recordTouchTrack(e,t){var n=this._touchHistory;if(d(e))t.changedTouches.forEach(e=>{var t;(t=n.touchBank[g(e)])?(t.touchActive=!0,t.previousPageX=t.currentPageX,t.previousPageY=t.currentPageY,t.previousTimeStamp=t.currentTimeStamp,t.currentPageX=e.pageX,t.currentPageY=e.pageY,t.currentTimeStamp=v(e),n.mostRecentTimeStamp=v(e)):console.warn("Cannot record touch move without a touch start.\n","Touch Move: "+b(e)+"\n","Touch Bank: "+y(n))});else if(c(e))t.changedTouches.forEach(e=>{var t,r,o,i;return t=e,r=n,o=g(t),void((i=r.touchBank[o])?(i.touchActive=!0,i.startPageX=t.pageX,i.startPageY=t.pageY,i.startTimeStamp=v(t),i.currentPageX=t.pageX,i.currentPageY=t.pageY,i.currentTimeStamp=v(t),i.previousPageX=t.pageX,i.previousPageY=t.pageY,i.previousTimeStamp=v(t)):r.touchBank[o]={touchActive:!0,startPageX:t.pageX,startPageY:t.pageY,startTimeStamp:v(t),currentPageX:t.pageX,currentPageY:t.pageY,currentTimeStamp:v(t),previousPageX:t.pageX,previousPageY:t.pageY,previousTimeStamp:v(t)},r.mostRecentTimeStamp=v(t))}),n.numberActiveTouches=t.touches.length,1===n.numberActiveTouches&&(n.indexOfSingleActiveTouch=t.touches[0].identifier);else if(f(e)&&(t.changedTouches.forEach(e=>{var t;(t=n.touchBank[g(e)])?(t.touchActive=!1,t.previousPageX=t.currentPageX,t.previousPageY=t.currentPageY,t.previousTimeStamp=t.currentTimeStamp,t.currentPageX=e.pageX,t.currentPageY=e.pageY,t.currentTimeStamp=v(e),n.mostRecentTimeStamp=v(e)):console.warn("Cannot record touch end without a touch start.\n","Touch End: "+b(e)+"\n","Touch Bank: "+y(n))}),n.numberActiveTouches=t.touches.length,1===n.numberActiveTouches))for(var r=n.touchBank,o=0;o1)&&(O=!1),("mousedown"!==u||!O)&&("mousemove"!==u||!O)&&("mousemove"!==u||!(M<1))){if(O&&"mouseup"===u){0===M&&(O=!1);return}var g=c(u)&&(t=e.altKey,n=e.button,r=e.buttons,o=e.ctrlKey,i=e.type,l=!1===t&&!1===o,"touchstart"===i||"touchmove"===i||"mousedown"===i&&(0===n||1===r)&&!!l||"mousemove"===i&&1===r&&!!l),b=d(u),y=f(u),S="scroll"===u,w="select"===u||"selectionchange"===u,x=s(e,P);(g||b||y)&&(e.touches?M=e.touches.length:g?M=1:y&&(M=0),P.recordTouchTrack(u,x.nativeEvent));var R=function(e){for(var t=[],n=[],r="selectionchange"===e.type?m(window.getSelection().anchorNode):null!=e.composedPath?e.composedPath():m(e.target),o=0;o0){var T=A.idPath,L=R.idPath;if(null!=T&&null!=L){var D=function(e,t){var n=e.length,r=t.length;if(0===n||0===r||e[n-1]!==t[r-1])return null;var o=e[0],i=0,l=t[0],a=0;n-r>0&&(o=e[i=n-r],n=r),r-n>0&&(l=t[a=r-n],r=n);for(var u=n;u--;){if(o===l)return o;o=e[i++],l=t[a++]}return null}(T,L);if(null!=D){var B=L.indexOf(D)+(D===A.id?1:0);R={idPath:L.slice(B),nodePath:R.nodePath.slice(B)}}else R=null}null!=R&&null!=(a=function(e,t,n){var r=k[t.type];if(null!=r){for(var o=e.idPath,i=e.nodePath,l=r[0],a=r[1],u=r[2].bubbles,s=function(e,t,r){var i=I(e)[r];if(null!=i&&(n.currentTarget=t,!0===i(n))){var l=o.slice(o.indexOf(e));return{id:e,node:t,idPath:l}}},c=o.length-1;c>=0;c--){var d=s(o[c],i[c],l);if(null!=d)return d;if(!0===n.isPropagationStopped())return}if(u)for(var f=0;f=1&&"\n"!==n&&i}return"select"===e.type}(e),U=y&&!K&&!function(e,t){if(!t||0===t.length)return!1;for(var n=0;nz++,null==(o=r.useRef(null)).current&&(o.current=n()),o.current),l=r.useRef(!1);r.useEffect(()=>(w.Z&&null==window.__reactResponderSystemActive&&(window.addEventListener("blur",L),B.forEach(e=>{document.addEventListener(e,L)}),D.forEach(e=>{document.addEventListener(e,L,!0)}),window.__reactResponderSystemActive=!0),()=>{W(i)}),[i]),r.useEffect(()=>{var n,r=t,o=r.onMoveShouldSetResponder,a=r.onMoveShouldSetResponderCapture,u=r.onScrollShouldSetResponder,s=r.onScrollShouldSetResponderCapture,c=r.onSelectionChangeShouldSetResponder,d=r.onSelectionChangeShouldSetResponderCapture,f=r.onStartShouldSetResponder,p=r.onStartShouldSetResponderCapture,m=e.current;null!=o||null!=a||null!=u||null!=s||null!=c||null!=d||null!=f||null!=p?(n=t,null!=m&&(m[h]=i),T.set(i,n),l.current=!0):l.current&&(W(i),l.current=!1)},[t,e,i]),r.useDebugValue({isResponder:e.current===A.node}),r.useDebugValue(t)}},131:function(e,t,n){"use strict";function r(e,t){}n.d(t,{O:function(){return r}})},7340:function(e){"use strict";let t;function n(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function r(e,t,r){let o=r<.5?r*(1+t):r+t-r*t,i=2*r-o;return Math.round(255*n(i,o,e+1/3))<<24|Math.round(255*n(i,o,e))<<16|Math.round(255*n(i,o,e-1/3))<<8}let o="[-+]?\\d*\\.?\\d+",i=o+"%";function l(...e){return"\\(\\s*("+e.join(")\\s*,?\\s*(")+")\\s*\\)"}function a(...e){return"\\(\\s*("+e.slice(0,e.length-1).join(")\\s*,?\\s*(")+")\\s*/\\s*("+e[e.length-1]+")\\s*\\)"}function u(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}function s(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function c(e){return(parseFloat(e)%360+360)%360/360}function d(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function f(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}e.exports=function(e){let p;if("number"==typeof e)return e>>>0===e&&e>=0&&e<=4294967295?e:null;if("string"!=typeof e)return null;let h=(void 0===t&&(t={rgb:RegExp("rgb"+l(o,o,o)),rgba:RegExp("rgba("+u(o,o,o,o)+"|"+a(o,o,o,o)+")"),hsl:RegExp("hsl"+l(o,i,i)),hsla:RegExp("hsla("+u(o,i,i,o)+"|"+a(o,i,i,o)+")"),hwb:RegExp("hwb"+l(o,i,i)),hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex4:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/}),t);if(p=h.hex6.exec(e))return parseInt(p[1]+"ff",16)>>>0;let m=function(e){switch(e){case"transparent":return 0;case"aliceblue":return 4042850303;case"antiquewhite":return 4209760255;case"aqua":case"cyan":return 16777215;case"aquamarine":return 2147472639;case"azure":return 4043309055;case"beige":return 4126530815;case"bisque":return 4293182719;case"black":return 255;case"blanchedalmond":return 4293643775;case"blue":return 65535;case"blueviolet":return 2318131967;case"brown":return 2771004159;case"burlywood":return 3736635391;case"burntsienna":return 3934150143;case"cadetblue":return 1604231423;case"chartreuse":return 2147418367;case"chocolate":return 3530104575;case"coral":return 4286533887;case"cornflowerblue":return 1687547391;case"cornsilk":return 4294499583;case"crimson":return 3692313855;case"darkblue":return 35839;case"darkcyan":return 9145343;case"darkgoldenrod":return 3095792639;case"darkgray":case"darkgrey":return 2846468607;case"darkgreen":return 6553855;case"darkkhaki":return 3182914559;case"darkmagenta":return 2332068863;case"darkolivegreen":return 1433087999;case"darkorange":return 4287365375;case"darkorchid":return 2570243327;case"darkred":return 2332033279;case"darksalmon":return 3918953215;case"darkseagreen":return 2411499519;case"darkslateblue":return 1211993087;case"darkslategray":case"darkslategrey":return 793726975;case"darkturquoise":return 13554175;case"darkviolet":return 2483082239;case"deeppink":return 4279538687;case"deepskyblue":return 12582911;case"dimgray":case"dimgrey":return 1768516095;case"dodgerblue":return 512819199;case"firebrick":return 2988581631;case"floralwhite":return 4294635775;case"forestgreen":return 579543807;case"fuchsia":case"magenta":return 4278255615;case"gainsboro":return 3705462015;case"ghostwhite":return 4177068031;case"gold":return 4292280575;case"goldenrod":return 3668254975;case"gray":case"grey":return 2155905279;case"green":return 8388863;case"greenyellow":return 2919182335;case"honeydew":return 4043305215;case"hotpink":return 4285117695;case"indianred":return 3445382399;case"indigo":return 1258324735;case"ivory":return 4294963455;case"khaki":return 4041641215;case"lavender":return 3873897215;case"lavenderblush":return 4293981695;case"lawngreen":return 2096890111;case"lemonchiffon":return 4294626815;case"lightblue":return 2916673279;case"lightcoral":return 4034953471;case"lightcyan":return 3774873599;case"lightgoldenrodyellow":return 4210742015;case"lightgray":case"lightgrey":return 3553874943;case"lightgreen":return 2431553791;case"lightpink":return 4290167295;case"lightsalmon":return 4288707327;case"lightseagreen":return 548580095;case"lightskyblue":return 2278488831;case"lightslategray":case"lightslategrey":return 2005441023;case"lightsteelblue":return 2965692159;case"lightyellow":return 4294959359;case"lime":return 16711935;case"limegreen":return 852308735;case"linen":return 4210091775;case"maroon":return 2147483903;case"mediumaquamarine":return 1724754687;case"mediumblue":return 52735;case"mediumorchid":return 3126187007;case"mediumpurple":return 2473647103;case"mediumseagreen":return 1018393087;case"mediumslateblue":return 2070474495;case"mediumspringgreen":return 16423679;case"mediumturquoise":return 1221709055;case"mediumvioletred":return 3340076543;case"midnightblue":return 421097727;case"mintcream":return 4127193855;case"mistyrose":return 4293190143;case"moccasin":return 4293178879;case"navajowhite":return 4292783615;case"navy":return 33023;case"oldlace":return 4260751103;case"olive":return 2155872511;case"olivedrab":return 1804477439;case"orange":return 4289003775;case"orangered":return 4282712319;case"orchid":return 3664828159;case"palegoldenrod":return 4008225535;case"palegreen":return 2566625535;case"paleturquoise":return 2951671551;case"palevioletred":return 3681588223;case"papayawhip":return 4293907967;case"peachpuff":return 4292524543;case"peru":return 3448061951;case"pink":return 4290825215;case"plum":return 3718307327;case"powderblue":return 2967529215;case"purple":return 2147516671;case"rebeccapurple":return 1714657791;case"red":return 4278190335;case"rosybrown":return 3163525119;case"royalblue":return 1097458175;case"saddlebrown":return 2336560127;case"salmon":return 4202722047;case"sandybrown":return 4104413439;case"seagreen":return 780883967;case"seashell":return 4294307583;case"sienna":return 2689740287;case"silver":return 3233857791;case"skyblue":return 2278484991;case"slateblue":return 1784335871;case"slategray":case"slategrey":return 1887473919;case"snow":return 4294638335;case"springgreen":return 16744447;case"steelblue":return 1182971135;case"tan":return 3535047935;case"teal":return 8421631;case"thistle":return 3636451583;case"tomato":return 4284696575;case"turquoise":return 1088475391;case"violet":return 4001558271;case"wheat":return 4125012991;case"white":return 4294967295;case"whitesmoke":return 4126537215;case"yellow":return 4294902015;case"yellowgreen":return 2597139199}return null}(e);return null!=m?m:(p=h.rgb.exec(e))?(s(p[1])<<24|s(p[2])<<16|s(p[3])<<8|255)>>>0:(p=h.rgba.exec(e))?void 0!==p[6]?(s(p[6])<<24|s(p[7])<<16|s(p[8])<<8|d(p[9]))>>>0:(s(p[2])<<24|s(p[3])<<16|s(p[4])<<8|d(p[5]))>>>0:(p=h.hex3.exec(e))?parseInt(p[1]+p[1]+p[2]+p[2]+p[3]+p[3]+"ff",16)>>>0:(p=h.hex8.exec(e))?parseInt(p[1],16)>>>0:(p=h.hex4.exec(e))?parseInt(p[1]+p[1]+p[2]+p[2]+p[3]+p[3]+p[4]+p[4],16)>>>0:(p=h.hsl.exec(e))?(255|r(c(p[1]),f(p[2]),f(p[3])))>>>0:(p=h.hsla.exec(e))?void 0!==p[6]?(r(c(p[6]),f(p[7]),f(p[8]))|d(p[9]))>>>0:(r(c(p[2]),f(p[3]),f(p[4]))|d(p[5]))>>>0:(p=h.hwb.exec(e))?(255|function(e,t,r){if(t+r>=1){let e=Math.round(255*t/(t+r));return e<<24|e<<16|e<<8}return Math.round(255*(n(0,1,e+1/3)*(1-t-r)+t))<<24|Math.round(255*(n(0,1,e)*(1-t-r)+t))<<16|Math.round(255*(n(0,1,e-1/3)*(1-t-r)+t))<<8}(c(p[1]),f(p[2]),f(p[3])))>>>0:null}},8650:function(e,t){"use strict";t.D=void 0;var n=new WeakMap;function r(e){var t,r,o;return null!=e&&(t=!0===e.disableCache,r=!0===e.disableMix,o=e.transform),function(){for(var e=[],i="",l=null,a=t?null:n,u=Array(arguments.length),s=0;s0;){var c=u.pop();if(null!=c&&!1!==c){if(Array.isArray(c)){for(var d=0;d=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},151:function(e,t,n){"use strict";n.d(t,{RR:function(){return u},US:function(){return l},cv:function(){return c},dp:function(){return f},oo:function(){return i},uY:function(){return d},x7:function(){return a}});var r=n(7848);function o(e,t,n){let o,{reference:i,floating:l}=e,a=(0,r.Qq)(t),u=(0,r.Wh)(t),s=(0,r.I4)(u),c=(0,r.k3)(t),d="y"===a,f=i.x+i.width/2-l.width/2,p=i.y+i.height/2-l.height/2,h=i[s]/2-l[s]/2;switch(c){case"top":o={x:f,y:i.y-l.height};break;case"bottom":o={x:f,y:i.y+i.height};break;case"right":o={x:i.x+i.width,y:p};break;case"left":o={x:i.x-l.width,y:p};break;default:o={x:i.x,y:i.y}}switch((0,r.hp)(t)){case"start":o[u]-=h*(n&&d?-1:1);break;case"end":o[u]+=h*(n&&d?-1:1)}return o}let i=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:l=[],platform:a}=n,u=l.filter(Boolean),s=await (null==a.isRTL?void 0:a.isRTL(t)),c=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:f}=o(c,r,s),p=r,h={},m=0;for(let n=0;n({name:"arrow",options:e,async fn(t){let{x:n,y:o,placement:i,rects:l,platform:a,elements:u,middlewareData:s}=t,{element:c,padding:d=0}=(0,r.ku)(e,t)||{};if(null==c)return{};let f=(0,r.yd)(d),p={x:n,y:o},h=(0,r.Wh)(i),m=(0,r.I4)(h),v=await a.getDimensions(c),g="y"===h,b=g?"clientHeight":"clientWidth",y=l.reference[m]+l.reference[h]-p[h]-l.floating[m],S=p[h]-l.reference[h],w=await (null==a.getOffsetParent?void 0:a.getOffsetParent(c)),x=w?w[b]:0;x&&await (null==a.isElement?void 0:a.isElement(w))||(x=u.floating[b]||l.floating[m]);let R=x/2-v[m]/2-1,E=(0,r.VV)(f[g?"top":"left"],R),k=(0,r.VV)(f[g?"bottom":"right"],R),C=x-v[m]-k,T=x/2-v[m]/2+(y/2-S/2),O=(0,r.uZ)(E,T,C),M=!s.arrow&&null!=(0,r.hp)(i)&&T!==O&&l.reference[m]/2-(Te<=0)){let e=((null==(i=c.flip)?void 0:i.index)||0)+1,t=C[e];if(t)return{data:{index:e,overflows:M},reset:{placement:t}};let n=null==(a=M.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:a.placement;if(!n)switch(b){case"bestFit":{let e=null==(u=M.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:u[0];e&&(n=e);break}case"initialPlacement":n=f}if(s!==n)return{reset:{placement:n}}}return{}}}};async function s(e,t){let{placement:n,platform:o,elements:i}=e,l=await (null==o.isRTL?void 0:o.isRTL(i.floating)),a=(0,r.k3)(n),u=(0,r.hp)(n),s="y"===(0,r.Qq)(n),c=["left","top"].includes(a)?-1:1,d=l&&s?-1:1,f=(0,r.ku)(t,e),{mainAxis:p,crossAxis:h,alignmentAxis:m}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return u&&"number"==typeof m&&(h="end"===u?-1*m:m),s?{x:h*d,y:p*c}:{x:p*c,y:h*d}}let c=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:o,y:i,placement:l,middlewareData:a}=t,u=await s(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:l}}}}},d=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:o,placement:i}=t,{mainAxis:a=!0,crossAxis:u=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=(0,r.ku)(e,t),d={x:n,y:o},f=await l(t,c),p=(0,r.Qq)((0,r.k3)(i)),h=(0,r.Rn)(p),m=d[h],v=d[p];if(a){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=m+f[e],o=m-f[t];m=(0,r.uZ)(n,m,o)}if(u){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=v+f[e],o=v-f[t];v=(0,r.uZ)(n,v,o)}let g=s.fn({...t,[h]:m,[p]:v});return{...g,data:{x:g.x-n,y:g.y-o}}}}},f=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,o;let{placement:i,rects:a,platform:u,elements:s}=t,{apply:c=()=>{},...d}=(0,r.ku)(e,t),f=await l(t,d),p=(0,r.k3)(i),h=(0,r.hp)(i),m="y"===(0,r.Qq)(i),{width:v,height:g}=a.floating;"top"===p||"bottom"===p?(n=p,o=h===(await (null==u.isRTL?void 0:u.isRTL(s.floating))?"start":"end")?"left":"right"):(o=p,n="end"===h?"top":"bottom");let b=g-f[n],y=v-f[o],S=!t.middlewareData.shift,w=b,x=y;if(m){let e=v-f.left-f.right;x=h||S?(0,r.VV)(y,e):e}else{let e=g-f.top-f.bottom;w=h||S?(0,r.VV)(b,e):e}if(S&&!h){let e=(0,r.Fp)(f.left,0),t=(0,r.Fp)(f.right,0),n=(0,r.Fp)(f.top,0),o=(0,r.Fp)(f.bottom,0);m?x=v-2*(0!==e||0!==t?e+t:(0,r.Fp)(f.left,f.right)):w=g-2*(0!==n||0!==o?n+o:(0,r.Fp)(f.top,f.bottom))}await c({...t,availableWidth:x,availableHeight:w});let R=await u.getDimensions(s.floating);return v!==R.width||g!==R.height?{reset:{rects:!0}}:{}}}}},4016:function(e,t,n){"use strict";n.d(t,{Me:function(){return S},RR:function(){return x},dp:function(){return R},oo:function(){return k},uY:function(){return w},x7:function(){return E}});var r=n(7848),o=n(151),i=n(5224);function l(e){let t=(0,i.Dx)(e),n=parseFloat(t.width)||0,o=parseFloat(t.height)||0,l=(0,i.Re)(e),a=l?e.offsetWidth:n,u=l?e.offsetHeight:o,s=(0,r.NM)(n)!==a||(0,r.NM)(o)!==u;return s&&(n=a,o=u),{width:n,height:o,$:s}}function a(e){return(0,i.kK)(e)?e:e.contextElement}function u(e){let t=a(e);if(!(0,i.Re)(t))return(0,r.ze)(1);let n=t.getBoundingClientRect(),{width:o,height:u,$:s}=l(t),c=(s?(0,r.NM)(n.width):n.width)/o,d=(s?(0,r.NM)(n.height):n.height)/u;return c&&Number.isFinite(c)||(c=1),d&&Number.isFinite(d)||(d=1),{x:c,y:d}}let s=(0,r.ze)(0);function c(e){let t=(0,i.Jj)(e);return(0,i.Pf)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:s}function d(e,t,n,o){var l;void 0===t&&(t=!1),void 0===n&&(n=!1);let s=e.getBoundingClientRect(),d=a(e),f=(0,r.ze)(1);t&&(o?(0,i.kK)(o)&&(f=u(o)):f=u(e));let p=(void 0===(l=n)&&(l=!1),o&&(!l||o===(0,i.Jj)(d))&&l)?c(d):(0,r.ze)(0),h=(s.left+p.x)/f.x,m=(s.top+p.y)/f.y,v=s.width/f.x,g=s.height/f.y;if(d){let e=(0,i.Jj)(d),t=o&&(0,i.kK)(o)?(0,i.Jj)(o):o,n=e,r=n.frameElement;for(;r&&o&&t!==n;){let e=u(r),t=r.getBoundingClientRect(),o=(0,i.Dx)(r),l=t.left+(r.clientLeft+parseFloat(o.paddingLeft))*e.x,a=t.top+(r.clientTop+parseFloat(o.paddingTop))*e.y;h*=e.x,m*=e.y,v*=e.x,g*=e.y,h+=l,m+=a,r=(n=(0,i.Jj)(r)).frameElement}}return(0,r.JB)({width:v,height:g,x:h,y:m})}let f=[":popover-open",":modal"];function p(e){return f.some(t=>{try{return e.matches(t)}catch(e){return!1}})}function h(e){return d((0,i.tF)(e)).left+(0,i.Lw)(e).scrollLeft}function m(e,t,n){let o;if("viewport"===t)o=function(e,t){let n=(0,i.Jj)(e),r=(0,i.tF)(e),o=n.visualViewport,l=r.clientWidth,a=r.clientHeight,u=0,s=0;if(o){l=o.width,a=o.height;let e=(0,i.Pf)();(!e||e&&"fixed"===t)&&(u=o.offsetLeft,s=o.offsetTop)}return{width:l,height:a,x:u,y:s}}(e,n);else if("document"===t)o=function(e){let t=(0,i.tF)(e),n=(0,i.Lw)(e),o=e.ownerDocument.body,l=(0,r.Fp)(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),a=(0,r.Fp)(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),u=-n.scrollLeft+h(e),s=-n.scrollTop;return"rtl"===(0,i.Dx)(o).direction&&(u+=(0,r.Fp)(t.clientWidth,o.clientWidth)-l),{width:l,height:a,x:u,y:s}}((0,i.tF)(e));else if((0,i.kK)(t))o=function(e,t){let n=d(e,!0,"fixed"===t),o=n.top+e.clientTop,l=n.left+e.clientLeft,a=(0,i.Re)(e)?u(e):(0,r.ze)(1),s=e.clientWidth*a.x;return{width:s,height:e.clientHeight*a.y,x:l*a.x,y:o*a.y}}(t,n);else{let n=c(e);o={...t,x:t.x-n.x,y:t.y-n.y}}return(0,r.JB)(o)}function v(e,t){return(0,i.Re)(e)&&"fixed"!==(0,i.Dx)(e).position?t?t(e):e.offsetParent:null}function g(e,t){let n=(0,i.Jj)(e);if(!(0,i.Re)(e)||p(e))return n;let r=v(e,t);for(;r&&(0,i.Ze)(r)&&"static"===(0,i.Dx)(r).position;)r=v(r,t);return r&&("html"===(0,i.wk)(r)||"body"===(0,i.wk)(r)&&"static"===(0,i.Dx)(r).position&&!(0,i.hT)(r))?n:r||(0,i.gQ)(e)||n}let b=async function(e){let t=this.getOffsetParent||g,n=this.getDimensions;return{reference:function(e,t,n){let o=(0,i.Re)(t),l=(0,i.tF)(t),a="fixed"===n,u=d(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=(0,r.ze)(0);if(o||!o&&!a){if(("body"!==(0,i.wk)(t)||(0,i.ao)(l))&&(s=(0,i.Lw)(t)),o){let e=d(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else l&&(c.x=h(l))}return{x:u.left+s.scrollLeft-c.x,y:u.top+s.scrollTop-c.y,width:u.width,height:u.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await n(e.floating)}}},y={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:o,strategy:l}=e,a="fixed"===l,s=(0,i.tF)(o),c=!!t&&p(t.floating);if(o===s||c&&a)return n;let f={scrollLeft:0,scrollTop:0},h=(0,r.ze)(1),m=(0,r.ze)(0),v=(0,i.Re)(o);if((v||!v&&!a)&&(("body"!==(0,i.wk)(o)||(0,i.ao)(s))&&(f=(0,i.Lw)(o)),(0,i.Re)(o))){let e=d(o);h=u(o),m.x=e.x+o.clientLeft,m.y=e.y+o.clientTop}return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-f.scrollLeft*h.x+m.x,y:n.y*h.y-f.scrollTop*h.y+m.y}},getDocumentElement:i.tF,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:l}=e,a=[..."clippingAncestors"===n?function(e,t){let n=t.get(e);if(n)return n;let r=(0,i.Kx)(e,[],!1).filter(e=>(0,i.kK)(e)&&"body"!==(0,i.wk)(e)),o=null,l="fixed"===(0,i.Dx)(e).position,a=l?(0,i.Ow)(e):e;for(;(0,i.kK)(a)&&!(0,i.Py)(a);){let t=(0,i.Dx)(a),n=(0,i.hT)(a);n||"fixed"!==t.position||(o=null),(l?!n&&!o:!n&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||(0,i.ao)(a)&&!n&&function e(t,n){let r=(0,i.Ow)(t);return!(r===n||!(0,i.kK)(r)||(0,i.Py)(r))&&("fixed"===(0,i.Dx)(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):o=t,a=(0,i.Ow)(a)}return t.set(e,r),r}(t,this._c):[].concat(n),o],u=a[0],s=a.reduce((e,n)=>{let o=m(t,n,l);return e.top=(0,r.Fp)(o.top,e.top),e.right=(0,r.VV)(o.right,e.right),e.bottom=(0,r.VV)(o.bottom,e.bottom),e.left=(0,r.Fp)(o.left,e.left),e},m(t,u,l));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:g,getElementRects:b,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=l(e);return{width:t,height:n}},getScale:u,isElement:i.kK,isRTL:function(e){return"rtl"===(0,i.Dx)(e).direction}};function S(e,t,n,o){let l;void 0===o&&(o={});let{ancestorScroll:u=!0,ancestorResize:s=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:p=!1}=o,h=a(e),m=u||s?[...h?(0,i.Kx)(h):[],...(0,i.Kx)(t)]:[];m.forEach(e=>{u&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});let v=h&&f?function(e,t){let n,o=null,l=(0,i.tF)(e);function a(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return!function i(u,s){void 0===u&&(u=!1),void 0===s&&(s=1),a();let{left:c,top:d,width:f,height:p}=e.getBoundingClientRect();if(u||t(),!f||!p)return;let h=(0,r.GW)(d),m=(0,r.GW)(l.clientWidth-(c+f)),v={rootMargin:-h+"px "+-m+"px "+-(0,r.GW)(l.clientHeight-(d+p))+"px "+-(0,r.GW)(c)+"px",threshold:(0,r.Fp)(0,(0,r.VV)(1,s))||1},g=!0;function b(e){let t=e[0].intersectionRatio;if(t!==s){if(!g)return i();t?i(!1,t):n=setTimeout(()=>{i(!1,1e-7)},100)}g=!1}try{o=new IntersectionObserver(b,{...v,root:l.ownerDocument})}catch(e){o=new IntersectionObserver(b,v)}o.observe(e)}(!0),a}(h,n):null,g=-1,b=null;c&&(b=new ResizeObserver(e=>{let[r]=e;r&&r.target===h&&b&&(b.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=b)||e.observe(t)})),n()}),h&&!p&&b.observe(h),b.observe(t));let y=p?d(e):null;return p&&function t(){let r=d(e);y&&(r.x!==y.x||r.y!==y.y||r.width!==y.width||r.height!==y.height)&&n(),y=r,l=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach(e=>{u&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==v||v(),null==(e=b)||e.disconnect(),b=null,p&&cancelAnimationFrame(l)}}let w=o.uY,x=o.RR,R=o.dp,E=o.x7,k=(e,t,n)=>{let r=new Map,i={platform:y,...n},l={...i.platform,_c:r};return(0,o.oo)(e,t,{...i,platform:l})}},4674:function(e,t,n){"use strict";n.d(t,{Me:function(){return r.Me},RR:function(){return r.RR},YF:function(){return p},cv:function(){return o.cv},uY:function(){return r.uY},x7:function(){return a}});var r=n(4016),o=n(151),i=n(2265),l=n(4887);let a=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:o}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.x7)({element:n.current,padding:o}).fn(t):{}:n?(0,r.x7)({element:n,padding:o}).fn(t):{}}});var u="undefined"!=typeof document?i.useLayoutEffect:i.useEffect;function s(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!s(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!s(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function c(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function d(e,t){let n=c(e);return Math.round(t*n)/n}function f(e){let t=i.useRef(e);return u(()=>{t.current=e}),t}function p(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:a,elements:{reference:p,floating:h}={},transform:m=!0,whileElementsMounted:v,open:g}=e,[b,y]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[S,w]=i.useState(o);s(S,o)||w(o);let[x,R]=i.useState(null),[E,k]=i.useState(null),C=i.useCallback(e=>{e!==A.current&&(A.current=e,R(e))},[]),T=i.useCallback(e=>{e!==P.current&&(P.current=e,k(e))},[]),O=p||x,M=h||E,A=i.useRef(null),P=i.useRef(null),I=i.useRef(b),L=null!=v,D=f(v),B=f(a),W=i.useCallback(()=>{if(!A.current||!P.current)return;let e={placement:t,strategy:n,middleware:S};B.current&&(e.platform=B.current),(0,r.oo)(A.current,P.current,e).then(e=>{let t={...e,isPositioned:!0};N.current&&!s(I.current,t)&&(I.current=t,l.flushSync(()=>{y(t)}))})},[S,t,n,B]);u(()=>{!1===g&&I.current.isPositioned&&(I.current.isPositioned=!1,y(e=>({...e,isPositioned:!1})))},[g]);let N=i.useRef(!1);u(()=>(N.current=!0,()=>{N.current=!1}),[]),u(()=>{if(O&&(A.current=O),M&&(P.current=M),O&&M){if(D.current)return D.current(O,M,W);W()}},[O,M,W,D,L]);let z=i.useMemo(()=>({reference:A,floating:P,setReference:C,setFloating:T}),[C,T]),j=i.useMemo(()=>({reference:O,floating:M}),[O,M]),H=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!j.floating)return e;let t=d(j.floating,b.x),r=d(j.floating,b.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...c(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,m,j.floating,b.x,b.y]);return i.useMemo(()=>({...b,update:W,refs:z,elements:j,floatingStyles:H}),[b,W,z,j,H])}},4243:function(e,t,n){"use strict";let r;n.d(t,{wD:function(){return e1},y0:function(){return e5},ll:function(){return eX},aN:function(){return tv},xp:function(){return ty},eS:function(){return e4},Qu:function(){return eM},tj:function(){return eO},bQ:function(){return e6},YF:function(){return te},KK:function(){return tt},XI:function(){return ek},Rz:function(){return tg},NI:function(){return ti},c0:function(){return td},qs:function(){return tp},ox:function(){return th}});var o=n(2265),i=n.t(o,2),l=n(5224);function a(e){let t=e.activeElement;for(;(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement)!=null;){var n;t=t.shadowRoot.activeElement}return t}function u(e,t){if(!e||!t)return!1;let n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&(0,l.Zq)(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function s(){let e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function c(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent}function d(e){return 0===e.mozInputSource&&!!e.isTrusted||(h()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function f(e){return!c().includes("jsdom/")&&(!h()&&0===e.width&&0===e.height||h()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function p(){return/apple/i.test(navigator.vendor)}function h(){let e=/android/i;return e.test(s())||e.test(c())}function m(){return s().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function v(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function g(e){return(null==e?void 0:e.ownerDocument)||document}function b(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function y(e){return"composedPath"in e?e.composedPath()[0]:e.target}function S(e){return(0,l.Re)(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}function w(e){e.preventDefault(),e.stopPropagation()}function x(e){return!!e&&"combobox"===e.getAttribute("role")&&S(e)}var R=n(7848),E=n(4674),k=n(151),C='input:not([inert]),select:not([inert]),textarea:not([inert]),a[href]:not([inert]),button:not([inert]),[tabindex]:not(slot):not([inert]),audio[controls]:not([inert]),video[controls]:not([inert]),[contenteditable]:not([contenteditable="false"]):not([inert]),details>summary:first-of-type:not([inert]),details:not([inert])',T="undefined"==typeof Element,O=T?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,M=!T&&Element.prototype.getRootNode?function(e){var t;return null==e?void 0:null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},A=function e(t,n){void 0===n&&(n=!0);var r,o=null==t?void 0:null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");return""===o||"true"===o||n&&t&&e(t.parentNode)},P=function(e){var t,n=null==e?void 0:null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n},I=function(e,t,n){if(A(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(C));return t&&O.call(e,C)&&r.unshift(e),r=r.filter(n)},L=function e(t,n,r){for(var o=[],i=Array.from(t);i.length;){var l=i.shift();if(!A(l,!1)){if("SLOT"===l.tagName){var a=l.assignedElements(),u=e(a.length?a:l.children,!0,r);r.flatten?o.push.apply(o,u):o.push({scopeParent:l,candidates:u})}else{O.call(l,C)&&r.filter(l)&&(n||!t.includes(l))&&o.push(l);var s=l.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(l),c=!A(s,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(l));if(s&&c){var d=e(!0===s?l.children:s.children,!0,r);r.flatten?o.push.apply(o,d):o.push({scopeParent:l,candidates:d})}else i.unshift.apply(i,l.children)}}}return o},D=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},B=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||P(e))&&!D(e)?0:e.tabIndex},W=function(e,t){var n=B(e);return n<0&&t&&!D(e)?0:n},N=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},z=function(e){return"INPUT"===e.tagName},j=function(e,t){for(var n=0;nsummary:first-of-type")?e.parentElement:e;if(O.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return _(e)}else{if("function"==typeof r){for(var i=e;e;){var l=e.parentElement,a=M(e);if(l&&!l.shadowRoot&&!0===r(l))return _(e);e=e.assignedSlot?e.assignedSlot:l||a===e.ownerDocument?l:a.host}e=i}if(F(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},V=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;nB(t))&&(r=e,!((o=t).disabled||A(o)||z(o)&&"hidden"===o.type||Z(o,r)||"DETAILS"===o.tagName&&Array.prototype.slice.apply(o.children).some(function(e){return"SUMMARY"===e.tagName})||V(o)))},K=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||t>=0},U=function e(t){var n=[],r=[];return t.forEach(function(t,o){var i=!!t.scopeParent,l=i?t.scopeParent:t,a=W(l,i),u=i?e(t.candidates):l;0===a?i?n.push.apply(n,u):n.push(l):r.push({documentOrder:o,tabIndex:a,item:t,isScope:i,content:u})}),r.sort(N).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)},Y=function(e,t){return U((t=t||{}).getShadowRoot?L([e],t.includeContainer,{filter:$.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:K}):I(e,t.includeContainer,$.bind(null,t)))},X=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==O.call(e,C)&&$(t,e)},q=n(4887);let G={...i},J=G.useInsertionEffect||(e=>e());function Q(e){let t=o.useRef(()=>{});return J(()=>{t.current=e}),o.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r=e.current.length}function el(e,t){return eu(e,{disabledIndices:t})}function ea(e,t){return eu(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function eu(e,t){let{startingIndex:n=-1,decrement:r=!1,disabledIndices:o,amount:i=1}=void 0===t?{}:t,l=e.current,a=o?e=>o.includes(e):e=>{let t=l[e];return null==t||t.hasAttribute("disabled")||"true"===t.getAttribute("aria-disabled")},u=n;do u+=r?-i:i;while(u>=0&&u<=l.length-1&&a(u));return u}let es=0;function ec(e,t){void 0===t&&(t={});let{preventScroll:n=!1,cancelPrevious:r=!0,sync:o=!1}=t;r&&cancelAnimationFrame(es);let i=()=>null==e?void 0:e.focus({preventScroll:n});o?i():es=requestAnimationFrame(i)}var ed="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function ef(){return(ef=Object.assign?Object.assign.bind():function(e){for(var t=1;t"floating-ui-"+Math.random().toString(36).slice(2,6)+eh++,ev=G.useId||function(){let[e,t]=o.useState(()=>ep?em():void 0);return ed(()=>{null==e&&t(em())},[]),o.useEffect(()=>{ep=!0},[]),e},eg=o.createContext(null),eb=o.createContext(null),ey=()=>{var e;return(null==(e=o.useContext(eg))?void 0:e.id)||null},eS=()=>o.useContext(eb);function ew(e){return"data-floating-ui-"+e}function ex(e){let t=(0,o.useRef)(e);return ed(()=>{t.current=e}),t}let eR=ew("safe-polygon");function eE(e,t,n){return n&&!v(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function ek(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,dataRef:i,events:a,elements:{domReference:s,floating:c},refs:d}=e,{enabled:f=!0,delay:p=0,handleClose:h=null,mouseOnly:m=!1,restMs:b=0,move:y=!0}=t,S=eS(),w=ey(),x=ex(h),R=ex(p),E=o.useRef(),k=o.useRef(),C=o.useRef(),T=o.useRef(),O=o.useRef(!0),M=o.useRef(!1),A=o.useRef(()=>{}),P=o.useCallback(()=>{var e;let t=null==(e=i.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t},[i]);o.useEffect(()=>{if(f)return a.on("openchange",e),()=>{a.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(k.current),clearTimeout(T.current),O.current=!0)}},[f,a]),o.useEffect(()=>{if(!f||!x.current||!n)return;function e(e){P()&&r(!1,e,"hover")}let t=g(c).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}},[c,n,r,f,x,P]);let I=o.useCallback(function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");let o=eE(R.current,"close",E.current);o&&!C.current?(clearTimeout(k.current),k.current=setTimeout(()=>r(!1,e,n),o)):t&&(clearTimeout(k.current),r(!1,e,n))},[R,r]),L=o.useCallback(()=>{A.current(),C.current=void 0},[]),D=o.useCallback(()=>{if(M.current){let e=g(d.floating.current).body;e.style.pointerEvents="",e.removeAttribute(eR),M.current=!1}},[d]);return o.useEffect(()=>{if(f&&(0,l.kK)(s))return n&&s.addEventListener("mouseleave",d),null==c||c.addEventListener("mouseleave",d),y&&s.addEventListener("mousemove",o,{once:!0}),s.addEventListener("mouseenter",o),s.addEventListener("mouseleave",a),()=>{n&&s.removeEventListener("mouseleave",d),null==c||c.removeEventListener("mouseleave",d),y&&s.removeEventListener("mousemove",o),s.removeEventListener("mouseenter",o),s.removeEventListener("mouseleave",a)};function t(){return!!i.current.openEvent&&["click","mousedown"].includes(i.current.openEvent.type)}function o(e){if(clearTimeout(k.current),O.current=!1,m&&!v(E.current)||b>0&&0===eE(R.current,"open"))return;let t=eE(R.current,"open",E.current);t?k.current=setTimeout(()=>{r(!0,e,"hover")},t):r(!0,e,"hover")}function a(r){if(t())return;A.current();let o=g(c);if(clearTimeout(T.current),x.current){n||clearTimeout(k.current),C.current=x.current({...e,tree:S,x:r.clientX,y:r.clientY,onClose(){D(),L(),I(r,!0,"safe-polygon")}});let t=C.current;o.addEventListener("mousemove",t),A.current=()=>{o.removeEventListener("mousemove",t)};return}"touch"===E.current&&u(c,r.relatedTarget)||I(r)}function d(n){t()||null==x.current||x.current({...e,tree:S,x:n.clientX,y:n.clientY,onClose(){D(),L(),I(n)}})(n)}},[s,c,f,e,m,b,y,I,L,D,r,n,S,R,x,i]),ed(()=>{var e,t;if(f&&n&&null!=(e=x.current)&&e.__options.blockPointerEvents&&P()){let e=g(c).body;if(e.setAttribute(eR,""),e.style.pointerEvents="none",M.current=!0,(0,l.kK)(s)&&c){let e=null==S||null==(t=S.nodesRef.current.find(e=>e.id===w))||null==(t=t.context)?void 0:t.elements.floating;return e&&(e.style.pointerEvents=""),s.style.pointerEvents="auto",c.style.pointerEvents="auto",()=>{s.style.pointerEvents="",c.style.pointerEvents=""}}}},[f,n,w,c,s,S,x,P]),ed(()=>{n||(E.current=void 0,L(),D())},[n,L,D]),o.useEffect(()=>()=>{L(),clearTimeout(k.current),clearTimeout(T.current),D()},[f,s,L,D]),o.useMemo(()=>{if(!f)return{};function e(e){E.current=e.pointerType}return{reference:{onPointerDown:e,onPointerEnter:e,onMouseMove(e){function t(){O.current||r(!0,e.nativeEvent,"hover")}(!m||v(E.current))&&!n&&0!==b&&(clearTimeout(T.current),"touch"===E.current?t():T.current=setTimeout(t,b))}},floating:{onMouseEnter(){clearTimeout(k.current)},onMouseLeave(e){I(e.nativeEvent,!1)}}}},[f,m,n,b,r,I])}let eC=()=>{},eT=o.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:eC,setState:eC,isInstantPhase:!1}),eO=()=>o.useContext(eT);function eM(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,floatingId:o}=e,{id:i}=t,l=null!=i?i:o,a=eO(),{currentId:u,setCurrentId:s,initialDelay:c,setState:d,timeoutMs:f}=a;return ed(()=>{u&&(d({delay:{open:1,close:eE(c,"close")}}),u!==l&&r(!1))},[l,r,d,u,c]),ed(()=>{function e(){r(!1),d({delay:c,currentId:null})}if(u&&!n&&u===l){if(f){let t=window.setTimeout(e,f);return()=>{clearTimeout(t)}}e()}},[n,d,u,l,r,c,f]),ed(()=>{s!==eC&&n&&s(l)},[n,s,l]),a}function eA(e,t){let n=e.filter(e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)}),r=n;for(;r.length;)r=e.filter(e=>{var t;return null==(t=r)?void 0:t.some(t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)})}),n=n.concat(r);return n}let eP=new WeakMap,eI=new WeakSet,eL={},eD=0,eB=()=>"undefined"!=typeof HTMLElement&&"inert"in HTMLElement.prototype,eW=e=>e&&(e.host||eW(e.parentNode)),eN=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=eW(t);return e.contains(n)?n:null}).filter(e=>null!=e);function ez(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);let r=g(e[0]).body;return function(e,t,n,r){let o="data-floating-ui-inert",i=r?"inert":n?"aria-hidden":null,l=eN(t,e),a=new Set,u=new Set(l),s=[];eL[o]||(eL[o]=new WeakMap);let c=eL[o];return l.forEach(function e(t){!(!t||a.has(t))&&(a.add(t),t.parentNode&&e(t.parentNode))}),function e(t){!t||u.has(t)||Array.prototype.forEach.call(t.children,t=>{if(a.has(t))e(t);else{let e=i?t.getAttribute(i):null,n=null!==e&&"false"!==e,r=(eP.get(t)||0)+1,l=(c.get(t)||0)+1;eP.set(t,r),c.set(t,l),s.push(t),1===r&&n&&eI.add(t),1===l&&t.setAttribute(o,""),!n&&i&&t.setAttribute(i,"true")}})}(t),a.clear(),eD++,()=>{s.forEach(e=>{let t=(eP.get(e)||0)-1,n=(c.get(e)||0)-1;eP.set(e,t),c.set(e,n),t||(!eI.has(e)&&i&&e.removeAttribute(i),eI.delete(e)),n||e.removeAttribute(o)}),--eD||(eP=new WeakMap,eP=new WeakMap,eI=new WeakSet,eL={})}}(e.concat(Array.from(r.querySelectorAll("[aria-live]"))),r,t,n)}let ej=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function eH(e,t){let n=Y(e,ej());"prev"===t&&n.reverse();let r=n.indexOf(a(g(e)));return n.slice(r+1)[0]}function eF(){return eH(document.body,"next")}function e_(){return eH(document.body,"prev")}function eZ(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!u(n,r)}let eV={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};function e$(e){"Tab"===e.key&&(e.target,clearTimeout(r))}let eK=o.forwardRef(function(e,t){let[n,r]=o.useState();ed(()=>(p()&&r("button"),document.addEventListener("keydown",e$),()=>{document.removeEventListener("keydown",e$)}),[]);let i={ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,[ew("focus-guard")]:"",style:eV};return o.createElement("span",ef({},e,i))}),eU=o.createContext(null),eY=ew("portal");function eX(e){let{children:t,id:n,root:r=null,preserveTabOrder:i=!0}=e,a=function(e){void 0===e&&(e={});let{id:t,root:n}=e,r=ev(),i=eq(),[a,u]=o.useState(null),s=o.useRef(null);return ed(()=>()=>{null==a||a.remove(),queueMicrotask(()=>{s.current=null})},[a]),ed(()=>{if(s.current)return;let e=t?document.getElementById(t):null;if(!e)return;let n=document.createElement("div");n.id=r,n.setAttribute(eY,""),e.appendChild(n),s.current=n,u(n)},[t,r]),ed(()=>{if(s.current)return;let e=n||(null==i?void 0:i.portalNode);e&&!(0,l.kK)(e)&&(e=e.current),e=e||document.body;let o=null;t&&((o=document.createElement("div")).id=t,e.appendChild(o));let a=document.createElement("div");a.id=r,a.setAttribute(eY,""),(e=o||e).appendChild(a),s.current=a,u(a)},[t,n,r,i]),a}({id:n,root:r}),[u,s]=o.useState(null),c=o.useRef(null),d=o.useRef(null),f=o.useRef(null),p=o.useRef(null),h=!!u&&!u.modal&&u.open&&i&&!!(r||a);return o.useEffect(()=>{if(a&&i&&(null==u||!u.modal))return a.addEventListener("focusin",e,!0),a.addEventListener("focusout",e,!0),()=>{a.removeEventListener("focusin",e,!0),a.removeEventListener("focusout",e,!0)};function e(e){a&&eZ(e)&&("focusin"===e.type?function(e){e.querySelectorAll("[data-tabindex]").forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})}:function(e){Y(e,ej()).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})})(a)}},[a,i,null==u?void 0:u.modal]),o.createElement(eU.Provider,{value:o.useMemo(()=>({preserveTabOrder:i,beforeOutsideRef:c,afterOutsideRef:d,beforeInsideRef:f,afterInsideRef:p,portalNode:a,setFocusManagerState:s}),[i,a])},h&&a&&o.createElement(eK,{"data-type":"outside",ref:c,onFocus:e=>{if(eZ(e,a)){var t;null==(t=f.current)||t.focus()}else{let e=e_()||(null==u?void 0:u.refs.domReference.current);null==e||e.focus()}}}),h&&a&&o.createElement("span",{"aria-owns":a.id,style:eV}),a&&(0,q.createPortal)(t,a),h&&a&&o.createElement(eK,{"data-type":"outside",ref:d,onFocus:e=>{if(eZ(e,a)){var t;null==(t=p.current)||t.focus()}else{let t=eF()||(null==u?void 0:u.refs.domReference.current);null==t||t.focus(),(null==u?void 0:u.closeOnFocusOut)&&(null==u||u.onOpenChange(!1,e.nativeEvent))}}}))}let eq=()=>o.useContext(eU),eG=[];function eJ(e){eG=eG.filter(e=>e.isConnected);let t=e;if(t&&"body"!==(0,l.wk)(t)){if(!X(t,ej())){let e=Y(t,ej())[0];if(!e)return;t=e}eG.push(t),eG.length>20&&(eG=eG.slice(-20))}}function eQ(){return eG.slice().reverse().find(e=>e.isConnected)}let e0=o.forwardRef(function(e,t){return o.createElement("button",ef({},e,{type:"button",ref:t,tabIndex:-1,style:eV}))});function e1(e){let{context:t,children:n,disabled:r=!1,order:i=["content"],guards:s=!0,initialFocus:c=0,returnFocus:p=!0,modal:h=!0,visuallyHiddenDismiss:m=!1,closeOnFocusOut:v=!0}=e,{open:b,refs:S,nodeId:R,onOpenChange:E,events:k,dataRef:C,elements:{domReference:T,floating:O}}=t,M="number"==typeof c&&c<0,A=x(T)&&M,P=!eB()||s,I=ex(i),L=ex(c),D=ex(p),B=eS(),W=eq(),N=o.useRef(null),z=o.useRef(null),j=o.useRef(!1),H=o.useRef(!1),F=null!=W,_=o.useCallback(function(e){return void 0===e&&(e=O),e?Y(e,ej()):[]},[O]),Z=o.useCallback(e=>{let t=_(e);return I.current.map(e=>T&&"reference"===e?T:O&&"floating"===e?O:t).filter(Boolean).flat()},[T,O,I,_]);function V(e){return!r&&m&&h?o.createElement(e0,{ref:"start"===e?N:z,onClick:e=>E(!1,e.nativeEvent)},"string"==typeof m?m:"Dismiss"):null}o.useEffect(()=>{if(r||!h)return;function e(e){if("Tab"===e.key){u(O,a(g(O)))&&0===_().length&&!A&&w(e);let t=Z(),n=y(e);"reference"===I.current[0]&&n===T&&(w(e),e.shiftKey?ec(t[t.length-1]):ec(t[1])),"floating"===I.current[1]&&n===O&&e.shiftKey&&(w(e),ec(t[0]))}}let t=g(O);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}},[r,T,O,h,I,A,_,Z]),o.useEffect(()=>{if(!r&&v&&O&&(0,l.Re)(T))return T.addEventListener("focusout",t),T.addEventListener("pointerdown",e),h||O.addEventListener("focusout",t),()=>{T.removeEventListener("focusout",t),T.removeEventListener("pointerdown",e),h||O.removeEventListener("focusout",t)};function e(){H.current=!0,setTimeout(()=>{H.current=!1})}function t(e){let t=e.relatedTarget;queueMicrotask(()=>{let n=!(u(T,t)||u(O,t)||u(t,O)||u(null==W?void 0:W.portalNode,t)||null!=t&&t.hasAttribute(ew("focus-guard"))||B&&(eA(B.nodesRef.current,R).find(e=>{var n,r;return u(null==(n=e.context)?void 0:n.elements.floating,t)||u(null==(r=e.context)?void 0:r.elements.domReference,t)})||(function(e,t){var n;let r=[],o=null==(n=e.find(e=>e.id===t))?void 0:n.parentId;for(;o;){let t=e.find(e=>e.id===o);o=null==t?void 0:t.parentId,t&&(r=r.concat(t))}return r})(B.nodesRef.current,R).find(e=>{var n,r;return(null==(n=e.context)?void 0:n.elements.floating)===t||(null==(r=e.context)?void 0:r.elements.domReference)===t})));t&&n&&!H.current&&t!==eQ()&&(j.current=!0,E(!1,e))})}},[r,T,O,h,R,B,W,E,v]),o.useEffect(()=>{var e;if(r)return;let t=Array.from((null==W||null==(e=W.portalNode)?void 0:e.querySelectorAll("["+ew("portal")+"]"))||[]);if(O){let e=[O,...t,N.current,z.current,I.current.includes("reference")||A?T:null].filter(e=>null!=e),n=h||A?ez(e,P,!P):ez(e);return()=>{n()}}},[r,T,O,h,I,W,A,P]),ed(()=>{if(r||!O)return;let e=a(g(O));queueMicrotask(()=>{let t=Z(O),n=L.current,r=("number"==typeof n?t[n]:n.current)||O,o=u(O,e);M||o||!b||ec(r,{preventScroll:r===O})})},[r,b,O,M,Z,L]),ed(()=>{if(r||!O)return;let e=!1,t=g(O),n=a(t),o=C.current;function i(t){let{reason:n,event:r,nested:o}=t;"escape-key"===n&&S.domReference.current&&eJ(S.domReference.current),"hover"===n&&"mouseleave"===r.type&&(j.current=!0),"outside-press"===n&&(o?(j.current=!1,e=!0):j.current=!(d(r)||f(r)))}return eJ(n),k.on("openchange",i),()=>{k.off("openchange",i);let n=a(t),r=u(O,n)||B&&eA(B.nodesRef.current,R).some(e=>{var t;return u(null==(t=e.context)?void 0:t.elements.floating,n)});(r||o.openEvent&&["click","mousedown"].includes(o.openEvent.type))&&S.domReference.current&&eJ(S.domReference.current);let s=eQ();D.current&&!j.current&&(0,l.Re)(s)&&(s===n||n===t.body||r)&&ec(s,{cancelPrevious:!1,preventScroll:e})}},[r,O,D,C,S,k,B,R]),ed(()=>{if(!r&&W)return W.setFocusManagerState({modal:h,closeOnFocusOut:v,open:b,onOpenChange:E,refs:S}),()=>{W.setFocusManagerState(null)}},[r,W,h,b,E,S,v]),ed(()=>{if(r||!O||"function"!=typeof MutationObserver||M)return;let e=()=>{let e=O.getAttribute("tabindex");I.current.includes("floating")||a(g(O))!==S.domReference.current&&0===_().length?"0"!==e&&O.setAttribute("tabindex","0"):"-1"!==e&&O.setAttribute("tabindex","-1")};e();let t=new MutationObserver(e);return t.observe(O,{childList:!0,subtree:!0,attributes:!0}),()=>{t.disconnect()}},[r,O,S,I,_,M]);let $=!r&&P&&(F||h);return o.createElement(o.Fragment,null,$&&o.createElement(eK,{"data-type":"inside",ref:null==W?void 0:W.beforeInsideRef,onFocus:e=>{if(h){let e=Z();ec("reference"===i[0]?e[0]:e[e.length-1])}else if(null!=W&&W.preserveTabOrder&&W.portalNode){if(j.current=!1,eZ(e,W.portalNode)){let e=eF()||T;null==e||e.focus()}else{var t;null==(t=W.beforeOutsideRef.current)||t.focus()}}}}),!A&&V("start"),n,V("end"),$&&o.createElement(eK,{"data-type":"inside",ref:null==W?void 0:W.afterInsideRef,onFocus:e=>{if(h)ec(Z()[0]);else if(null!=W&&W.preserveTabOrder&&W.portalNode){if(v&&(j.current=!0),eZ(e,W.portalNode)){let e=e_()||T;null==e||e.focus()}else{var t;null==(t=W.afterOutsideRef.current)||t.focus()}}}}))}let e2=new Set,e5=o.forwardRef(function(e,t){let{lockScroll:n=!1,...r}=e,i=ev();return ed(()=>{if(!n)return;e2.add(i);let e=/iP(hone|ad|od)|iOS/.test(s()),t=document.body.style,r=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",o=window.innerWidth-document.documentElement.clientWidth,l=t.left?parseFloat(t.left):window.pageXOffset,a=t.top?parseFloat(t.top):window.pageYOffset;if(t.overflow="hidden",o&&(t[r]=o+"px"),e){var u,c;let e=(null==(u=window.visualViewport)?void 0:u.offsetLeft)||0;Object.assign(t,{position:"fixed",top:-(a-Math.floor((null==(c=window.visualViewport)?void 0:c.offsetTop)||0))+"px",left:-(l-Math.floor(e))+"px",right:"0"})}return()=>{e2.delete(i),0===e2.size&&(Object.assign(t,{overflow:"",[r]:""}),e&&(Object.assign(t,{position:"",top:"",left:"",right:""}),window.scrollTo(l,a)))}},[i,n]),o.createElement("div",ef({ref:t},r,{style:{position:"fixed",overflow:"auto",top:0,right:0,bottom:0,left:0,...r.style}}))});function e3(e){return(0,l.Re)(e.target)&&"BUTTON"===e.target.tagName}function e4(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,dataRef:i,elements:{domReference:l}}=e,{enabled:a=!0,event:u="click",toggle:s=!0,ignoreMouse:c=!1,keyboardHandlers:d=!0}=t,f=o.useRef(),p=o.useRef(!1);return o.useMemo(()=>a?{reference:{onPointerDown(e){f.current=e.pointerType},onMouseDown(e){0!==e.button||v(f.current,!0)&&c||"click"===u||(n&&s&&(!i.current.openEvent||"mousedown"===i.current.openEvent.type)?r(!1,e.nativeEvent,"click"):(e.preventDefault(),r(!0,e.nativeEvent,"click")))},onClick(e){if("mousedown"===u&&f.current){f.current=void 0;return}v(f.current,!0)&&c||(n&&s&&(!i.current.openEvent||"click"===i.current.openEvent.type)?r(!1,e.nativeEvent,"click"):r(!0,e.nativeEvent,"click"))},onKeyDown(e){f.current=void 0,e.defaultPrevented||!d||e3(e)||(" "!==e.key||S(l)||(e.preventDefault(),p.current=!0),"Enter"===e.key&&(n&&s?r(!1,e.nativeEvent,"click"):r(!0,e.nativeEvent,"click")))},onKeyUp(e){!(e.defaultPrevented||!d||e3(e)||S(l))&&" "===e.key&&p.current&&(p.current=!1,n&&s?r(!1,e.nativeEvent,"click"):r(!0,e.nativeEvent,"click"))}}}:{},[a,i,u,c,d,l,s,n,r])}let e7={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},e9={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},e8=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function e6(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,nodeId:i,elements:{reference:a,domReference:s,floating:c},dataRef:d}=e,{enabled:f=!0,escapeKey:p=!0,outsidePress:h=!0,outsidePressEvent:m="pointerdown",referencePress:v=!1,referencePressEvent:S="pointerdown",ancestorScroll:w=!1,bubbles:x,capture:R}=t,E=eS(),k=Q("function"==typeof h?h:()=>!1),C="function"==typeof h?k:h,T=o.useRef(!1),O=o.useRef(!1),{escapeKey:M,outsidePress:A}=e8(x),{escapeKey:P,outsidePress:I}=e8(R),L=Q(e=>{if(!n||!f||!p||"Escape"!==e.key)return;let t=E?eA(E.nodesRef.current,i):[];if(!M&&(e.stopPropagation(),t.length>0)){let e=!0;if(t.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__escapeKeyBubbles){e=!1;return}}),!e)return}r(!1,"nativeEvent"in e?e.nativeEvent:e,"escape-key")}),D=Q(e=>{var t;let n=()=>{var t;L(e),null==(t=y(e))||t.removeEventListener("keydown",n)};null==(t=y(e))||t.addEventListener("keydown",n)}),B=Q(e=>{let t=T.current;T.current=!1;let n=O.current;if(O.current=!1,"click"===m&&n||t||"function"==typeof C&&!C(e))return;let o=y(e),a="["+ew("inert")+"]",d=g(c).querySelectorAll(a),f=(0,l.kK)(o)?o:null;for(;f&&!(0,l.Py)(f);){let e=(0,l.Ow)(f);if((0,l.Py)(e)||!(0,l.kK)(e))break;f=e}if(d.length&&(0,l.kK)(o)&&!o.matches("html,body")&&!u(o,c)&&Array.from(d).every(e=>!u(f,e)))return;if((0,l.Re)(o)&&c){let t=o.clientWidth>0&&o.scrollWidth>o.clientWidth,n=o.clientHeight>0&&o.scrollHeight>o.clientHeight,r=n&&e.offsetX>o.clientWidth;if(n&&"rtl"===(0,l.Dx)(o).direction&&(r=e.offsetX<=o.offsetWidth-o.clientWidth),r||t&&e.offsetY>o.clientHeight)return}let p=E&&eA(E.nodesRef.current,i).some(t=>{var n;return b(e,null==(n=t.context)?void 0:n.elements.floating)});if(b(e,c)||b(e,s)||p)return;let h=E?eA(E.nodesRef.current,i):[];if(h.length>0){let e=!0;if(h.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__outsidePressBubbles){e=!1;return}}),!e)return}r(!1,e,"outside-press")}),W=Q(e=>{var t;let n=()=>{var t;B(e),null==(t=y(e))||t.removeEventListener(m,n)};null==(t=y(e))||t.addEventListener(m,n)});return o.useEffect(()=>{if(!n||!f)return;function e(e){r(!1,e,"ancestor-scroll")}d.current.__escapeKeyBubbles=M,d.current.__outsidePressBubbles=A;let t=g(c);p&&t.addEventListener("keydown",P?D:L,P),C&&t.addEventListener(m,I?W:B,I);let o=[];return w&&((0,l.kK)(s)&&(o=(0,l.Kx)(s)),(0,l.kK)(c)&&(o=o.concat((0,l.Kx)(c))),!(0,l.kK)(a)&&a&&a.contextElement&&(o=o.concat((0,l.Kx)(a.contextElement)))),(o=o.filter(e=>{var n;return e!==(null==(n=t.defaultView)?void 0:n.visualViewport)})).forEach(t=>{t.addEventListener("scroll",e,{passive:!0})}),()=>{p&&t.removeEventListener("keydown",P?D:L,P),C&&t.removeEventListener(m,I?W:B,I),o.forEach(t=>{t.removeEventListener("scroll",e)})}},[d,c,s,a,p,C,m,n,r,w,f,M,A,L,P,D,B,I,W]),o.useEffect(()=>{T.current=!1},[C,m]),o.useMemo(()=>f?{reference:{onKeyDown:L,[e7[S]]:e=>{v&&r(!1,e.nativeEvent,"reference-press")}},floating:{onKeyDown:L,onMouseDown(){O.current=!0},onMouseUp(){O.current=!0},[e9[m]]:()=>{T.current=!0}}}:{},[f,v,m,S,r,L])}function te(e){var t;void 0===e&&(e={});let{open:n=!1,onOpenChange:r,nodeId:i}=e,[a,u]=o.useState(null),[s,c]=o.useState(null),d=(null==(t=e.elements)?void 0:t.reference)||a;ed(()=>{d&&(v.current=d)},[d]);let f=(0,E.YF)({...e,elements:{...e.elements,...s&&{reference:s}}}),p=eS(),h=null!=ey(),m=Q((e,t,n)=>{g.current.openEvent=e?t:void 0,b.emit("openchange",{open:e,event:t,reason:n,nested:h}),null==r||r(e,t,n)}),v=o.useRef(null),g=o.useRef({}),b=o.useState(()=>(function(){let e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter(e=>e!==n))||[])}}})())[0],y=ev(),S=o.useCallback(e=>{let t=(0,l.kK)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;c(t),f.refs.setReference(t)},[f.refs]),w=o.useCallback(e=>{((0,l.kK)(e)||null===e)&&(v.current=e,u(e)),((0,l.kK)(f.refs.reference.current)||null===f.refs.reference.current||null!==e&&!(0,l.kK)(e))&&f.refs.setReference(e)},[f.refs]),x=o.useMemo(()=>({...f.refs,setReference:w,setPositionReference:S,domReference:v}),[f.refs,w,S]),R=o.useMemo(()=>({...f.elements,domReference:d}),[f.elements,d]),k=o.useMemo(()=>({...f,refs:x,elements:R,dataRef:g,nodeId:i,floatingId:y,events:b,open:n,onOpenChange:m}),[f,i,y,b,n,m,x,R]);return ed(()=>{let e=null==p?void 0:p.nodesRef.current.find(e=>e.id===i);e&&(e.context=k)}),o.useMemo(()=>({...f,context:k,refs:x,elements:R}),[f,x,R,k])}function tt(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,events:i,refs:s,elements:{domReference:c}}=e,{enabled:d=!0,visibleOnly:h=!0}=t,v=o.useRef(!1),b=o.useRef(),w=o.useRef(!0);return o.useEffect(()=>{if(!d)return;let e=(0,l.Jj)(c);function t(){!n&&(0,l.Re)(c)&&c===a(g(c))&&(v.current=!0)}function r(){w.current=!0}return e.addEventListener("blur",t),e.addEventListener("keydown",r,!0),()=>{e.removeEventListener("blur",t),e.removeEventListener("keydown",r,!0)}},[c,n,d]),o.useEffect(()=>{if(d)return i.on("openchange",e),()=>{i.off("openchange",e)};function e(e){let{reason:t}=e;("reference-press"===t||"escape-key"===t)&&(v.current=!0)}},[i,d]),o.useEffect(()=>()=>{clearTimeout(b.current)},[]),o.useMemo(()=>d?{reference:{onPointerDown(e){f(e.nativeEvent)||(w.current=!1)},onMouseLeave(){v.current=!1},onFocus(e){if(v.current)return;let t=y(e.nativeEvent);if(h&&(0,l.kK)(t))try{if(p()&&m())throw Error();if(!t.matches(":focus-visible"))return}catch(e){if(!w.current&&!S(t))return}r(!0,e.nativeEvent,"focus")},onBlur(e){v.current=!1;let t=e.relatedTarget,n=(0,l.kK)(t)&&t.hasAttribute(ew("focus-guard"))&&"outside"===t.getAttribute("data-type");b.current=window.setTimeout(()=>{let o=a(c?c.ownerDocument:document);if(t||o!==c){if(u(s.floating.current,o)||u(c,o)||n)return;r(!1,e.nativeEvent,"focus")}})}}}:{},[d,h,c,s,r])}let tn="active",tr="selected";function to(e,t,n){let r=new Map,o="item"===n,i=e;if(o&&e){let{[tn]:t,[tr]:n,...r}=e;i=r}return{..."floating"===n&&{tabIndex:-1},...i,...t.map(t=>{let r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,t)=>(t&&Object.entries(t).forEach(t=>{let[n,i]=t;if(!(o&&[tn,tr].includes(n))){if(0===n.indexOf("on")){if(r.has(n)||r.set(n,[]),"function"==typeof i){var l;null==(l=r.get(n))||l.push(i),e[n]=function(){for(var e,t=arguments.length,o=Array(t),i=0;ie(...o)).find(e=>void 0!==e)}}}else e[n]=i}}),e),{})}}function ti(e){void 0===e&&(e=[]);let t=e,n=o.useCallback(t=>to(t,e,"reference"),t),r=o.useCallback(t=>to(t,e,"floating"),t),i=o.useCallback(t=>to(t,e,"item"),e.map(e=>null==e?void 0:e.item));return o.useMemo(()=>({getReferenceProps:n,getFloatingProps:r,getItemProps:i}),[n,r,i])}let tl=!1;function ta(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function tu(e,t){return ta(t,e===ee||e===et,e===en||e===er)}function ts(e,t,n){return ta(t,e===et,n?e===en:e===er)||"Enter"===e||" "===e||""===e}function tc(e,t,n){return ta(t,n?e===er:e===en,e===ee)}function td(e,t){let{open:n,onOpenChange:r,refs:i,elements:{domReference:s,floating:c}}=e,{listRef:h,activeIndex:v,onNavigate:b=()=>{},enabled:y=!0,selectedIndex:S=null,allowEscape:E=!1,loop:k=!1,nested:C=!1,rtl:T=!1,virtual:O=!1,focusItemOnOpen:M="auto",focusItemOnHover:A=!0,openOnArrowKeyDown:P=!0,disabledIndices:I,orientation:L="vertical",cols:D=1,scrollItemIntoView:B=!0,virtualItemRef:W,itemSizes:N,dense:z=!1}=t,j=ey(),H=eS(),F=Q(b),_=o.useRef(M),Z=o.useRef(null!=S?S:-1),V=o.useRef(null),$=o.useRef(!0),K=o.useRef(F),U=o.useRef(!!c),Y=o.useRef(!1),X=o.useRef(!1),q=ex(I),G=ex(n),J=ex(B),[es,ef]=o.useState(),[ep,eh]=o.useState(),em=Q(function(e,t,n){void 0===n&&(n=!1);let r=e.current[t.current];r&&(O?(ef(r.id),null==H||H.events.emit("virtualfocus",r),W&&(W.current=r)):ec(r,{preventScroll:!0,sync:!!(m()&&p())&&(tl||Y.current)}),requestAnimationFrame(()=>{let e=J.current;e&&r&&(n||!$.current)&&(null==r.scrollIntoView||r.scrollIntoView("boolean"==typeof e?{block:"nearest",inline:"nearest"}:e))}))});ed(()=>{document.createElement("div").focus({get preventScroll(){return tl=!0,!1}})},[]),ed(()=>{y&&(n&&c?_.current&&null!=S&&(X.current=!0,Z.current=S,F(S)):U.current&&(Z.current=-1,K.current(null)))},[y,n,c,S,F]),ed(()=>{if(y&&n&&c){if(null==v){if(Y.current=!1,null==S&&(U.current&&(Z.current=-1,em(h,Z)),!U.current&&_.current&&(null!=V.current||!0===_.current&&null==V.current))){let e=0,t=()=>{null==h.current[0]?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e++):(Z.current=null==V.current||ts(V.current,L,T)||C?el(h,q.current):ea(h,q.current),V.current=null,F(Z.current))};t()}}else ei(h,v)||(Z.current=v,em(h,Z,X.current),X.current=!1)}},[y,n,c,v,S,C,h,L,T,F,em,q]),ed(()=>{var e;if(!y||c||!H||O||!U.current)return;let t=H.nodesRef.current,n=null==(e=t.find(e=>e.id===j))||null==(e=e.context)?void 0:e.elements.floating,r=a(g(c)),o=t.some(e=>e.context&&u(e.context.elements.floating,r));n&&!o&&$.current&&n.focus({preventScroll:!0})},[y,c,H,j,O]),ed(()=>{if(y&&H&&O&&!j)return H.events.on("virtualfocus",e),()=>{H.events.off("virtualfocus",e)};function e(e){eh(e.id),W&&(W.current=e)}},[y,H,O,j,W]),ed(()=>{K.current=F,U.current=!!c}),ed(()=>{n||(V.current=null)},[n]);let ev=null!=v,eg=o.useMemo(()=>{function e(e){if(!n)return;let t=h.current.indexOf(e);-1!==t&&F(t)}return{onFocus(t){let{currentTarget:n}=t;e(n)},onClick:e=>{let{currentTarget:t}=e;return t.focus({preventScroll:!0})},...A&&{onMouseMove(t){let{currentTarget:n}=t;e(n)},onPointerLeave(e){let{pointerType:t}=e;$.current&&"touch"!==t&&(Z.current=-1,em(h,Z),F(null),O||ec(i.floating.current,{preventScroll:!0}))}}}},[n,i,em,A,h,F,O]);return o.useMemo(()=>{if(!y)return{};let e=q.current;function t(t){if($.current=!1,Y.current=!0,!G.current&&t.currentTarget===i.floating.current)return;if(C&&tc(t.key,L,T)){w(t),r(!1,t.nativeEvent,"list-navigation"),(0,l.Re)(s)&&!O&&s.focus();return}let o=Z.current,u=el(h,e),c=ea(h,e);if("Home"===t.key&&(w(t),Z.current=u,F(Z.current)),"End"===t.key&&(w(t),Z.current=c,F(Z.current)),D>1){var d;let n=N||Array.from({length:h.current.length},()=>({width:1,height:1})),r=function(e,t,n){let r=[],o=0;return e.forEach((e,i)=>{let{width:l,height:a}=e,u=!1;for(n&&(o=0);!u;){let e=[];for(let n=0;nnull==r[e])?(e.forEach(e=>{r[e]=i}),u=!0):o++}}),[...r]}(n,D,z),o=r.findIndex(t=>null!=t&&!(null!=e&&e.includes(t))),i=r.reduce((t,n,r)=>null==n||null!=e&&e.includes(n)?t:r,-1);if(Z.current=r[function(e,t){let{event:n,orientation:r,loop:o,cols:i,disabledIndices:l,minIndex:a,maxIndex:u,prevIndex:s,stopEvent:c=!1}=t,d=s;if(n.key===ee){if(c&&w(n),-1===s)d=u;else if(d=eu(e,{startingIndex:d,amount:i,decrement:!0,disabledIndices:l}),o&&(s-ie?n:n-i}ei(e,d)&&(d=s)}if(n.key===et&&(c&&w(n),-1===s?d=a:(d=eu(e,{startingIndex:s,amount:i,disabledIndices:l}),o&&s+i>u&&(d=eu(e,{startingIndex:s%i-i,amount:i,disabledIndices:l}))),ei(e,d)&&(d=s)),"both"===r){let t=(0,R.GW)(s/i);n.key===er&&(c&&w(n),s%i!=i-1?(d=eu(e,{startingIndex:s,disabledIndices:l}),o&&eo(d,i,t)&&(d=eu(e,{startingIndex:s-s%i-1,disabledIndices:l}))):o&&(d=eu(e,{startingIndex:s-s%i-1,disabledIndices:l})),eo(d,i,t)&&(d=s)),n.key===en&&(c&&w(n),s%i!=0?(d=eu(e,{startingIndex:s,disabledIndices:l,decrement:!0}),o&&eo(d,i,t)&&(d=eu(e,{startingIndex:s+(i-s%i),decrement:!0,disabledIndices:l}))):o&&(d=eu(e,{startingIndex:s+(i-s%i),decrement:!0,disabledIndices:l})),eo(d,i,t)&&(d=s));let r=(0,R.GW)(u/i)===t;ei(e,d)&&(d=o&&r?n.key===en?u:eu(e,{startingIndex:s-s%i-1,disabledIndices:l}):s)}return d}({current:r.map(e=>null!=e?h.current[e]:null)},{event:t,orientation:L,loop:k,cols:D,disabledIndices:(d=[...e||[],void 0],r.flatMap((e,t)=>d.includes(e)?[t]:[])),minIndex:o,maxIndex:i,prevIndex:function(e,t,n,r,o){if(-1===e)return -1;let i=n.indexOf(e);switch(o){case"tl":return i;case"tr":return i+t[e].width-1;case"bl":return i+(t[e].height-1)*r;case"br":return n.lastIndexOf(e)}}(Z.current,n,r,D,t.key===et?"bl":t.key===er?"tr":"tl"),stopEvent:!0})],F(Z.current),"both"===L)return}if(tu(t.key,L)){if(w(t),n&&!O&&a(t.currentTarget.ownerDocument)===t.currentTarget){Z.current=ts(t.key,L,T)?u:c,F(Z.current);return}ts(t.key,L,T)?k?Z.current=o>=c?E&&o!==h.current.length?-1:u:eu(h,{startingIndex:o,disabledIndices:e}):Z.current=Math.min(c,eu(h,{startingIndex:o,disabledIndices:e})):k?Z.current=o<=u?E&&-1!==o?h.current.length:c:eu(h,{startingIndex:o,decrement:!0,disabledIndices:e}):Z.current=Math.max(u,eu(h,{startingIndex:o,decrement:!0,disabledIndices:e})),ei(h,Z.current)?F(null):F(Z.current)}}function o(e){"auto"===M&&d(e.nativeEvent)&&(_.current=!0)}let u=O&&n&&ev&&{"aria-activedescendant":ep||es},c=h.current.find(e=>(null==e?void 0:e.id)===es);return{reference:{...u,onKeyDown(o){var i,l,a,u,s,d;$.current=!1;let f=0===o.key.indexOf("Arrow"),p=(i=o.key,ta(L,T?i===en:i===er,i===et)),m=tc(o.key,L,T),v=tu(o.key,L),g=(C?p:v)||"Enter"===o.key||""===o.key.trim();if(O&&n){let e,n;let r=null==H?void 0:H.nodesRef.current.find(e=>null==e.parentId),i=H&&r?(l=H.nodesRef.current,a=r.id,n=-1,!function t(r,o){o>n&&(e=r,n=o),eA(l,r).forEach(e=>{t(e.id,o+1)})}(a,0),l.find(t=>t.id===e)):null;if(f&&i&&W){let e=new KeyboardEvent("keydown",{key:o.key,bubbles:!0});if(p||m){let t=(null==(u=i.context)?void 0:u.elements.domReference)===o.currentTarget,n=m&&!t?null==(s=i.context)?void 0:s.elements.domReference:p?c:null;n&&(w(o),n.dispatchEvent(e),eh(void 0))}if(v&&i.context&&i.context.open&&i.parentId&&o.currentTarget!==i.context.elements.domReference){w(o),null==(d=i.context.elements.domReference)||d.dispatchEvent(e);return}}return t(o)}if(n||P||!f){if(g&&(V.current=C&&v?null:o.key),C){p&&(w(o),n?(Z.current=el(h,e),F(Z.current)):r(!0,o.nativeEvent,"list-navigation"));return}v&&(null!=S&&(Z.current=S),w(o),!n&&P?r(!0,o.nativeEvent,"list-navigation"):t(o),n&&F(Z.current))}},onFocus(){n&&F(null)},onPointerDown:function(e){_.current=M,"auto"===M&&f(e.nativeEvent)&&(_.current=!0)},onMouseDown:o,onClick:o},floating:{"aria-orientation":"both"===L?void 0:L,...!x(s)&&u,onKeyDown:t,onPointerMove(){$.current=!0}},item:eg}},[s,i,es,ep,q,G,h,y,L,T,O,n,ev,C,S,P,E,D,k,M,F,r,eg,H,W,N,z])}let tf=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function tp(e,t){var n;void 0===t&&(t={});let{open:r,floatingId:i}=e,{enabled:l=!0,role:a="dialog"}=t,u=null!=(n=tf.get(a))?n:a,s=ev(),c=null!=ey();return o.useMemo(()=>{if(!l)return{};let e={id:i,...u&&{role:u}};return"tooltip"===u||"label"===a?{reference:{["aria-"+("label"===a?"labelledby":"describedby")]:r?i:void 0},floating:e}:{reference:{"aria-expanded":r?"true":"false","aria-haspopup":"alertdialog"===u?"dialog":u,"aria-controls":r?i:void 0,..."listbox"===u&&{role:"combobox"},..."menu"===u&&{id:s},..."menu"===u&&c&&{role:"menuitem"},..."select"===a&&{"aria-autocomplete":"none"},..."combobox"===a&&{"aria-autocomplete":"list"}},floating:{...e,..."menu"===u&&{"aria-labelledby":s}},item(e){let{active:t,selected:n}=e,r={role:"option",...t&&{id:i+"-option"}};switch(a){case"select":return{...r,"aria-selected":t&&n};case"combobox":return{...r,...t&&{"aria-selected":!0}}}return{}}}},[l,a,u,r,i,s,c])}function th(e,t){var n;let{open:r,dataRef:i}=e,{listRef:l,activeIndex:a,onMatch:u,onTypingChange:s,enabled:c=!0,findMatch:d=null,resetMs:f=750,ignoreKeys:p=[],selectedIndex:h=null}=t,m=o.useRef(),v=o.useRef(""),g=o.useRef(null!=(n=null!=h?h:a)?n:-1),b=o.useRef(null),y=Q(u),S=Q(s),x=ex(d),R=ex(p);return ed(()=>{r&&(clearTimeout(m.current),b.current=null,v.current="")},[r]),ed(()=>{if(r&&""===v.current){var e;g.current=null!=(e=null!=h?h:a)?e:-1}},[r,h,a]),o.useMemo(()=>{if(!c)return{};function e(e){e?i.current.typing||(i.current.typing=e,S(e)):i.current.typing&&(i.current.typing=e,S(e))}function t(e,t,n){let r=x.current?x.current(t,n):t.find(e=>(null==e?void 0:e.toLocaleLowerCase().indexOf(n.toLocaleLowerCase()))===0);return r?e.indexOf(r):-1}function n(n){let o=l.current;if(v.current.length>0&&" "!==v.current[0]&&(-1===t(o,o,v.current)?e(!1):" "===n.key&&w(n)),null==o||R.current.includes(n.key)||1!==n.key.length||n.ctrlKey||n.metaKey||n.altKey)return;r&&" "!==n.key&&(w(n),e(!0)),o.every(e=>{var t,n;return!e||(null==(t=e[0])?void 0:t.toLocaleLowerCase())!==(null==(n=e[1])?void 0:n.toLocaleLowerCase())})&&v.current===n.key&&(v.current="",g.current=b.current),v.current+=n.key,clearTimeout(m.current),m.current=setTimeout(()=>{v.current="",g.current=b.current,e(!1)},f);let i=g.current,a=t(o,[...o.slice((i||0)+1),...o.slice(0,(i||0)+1)],v.current);-1!==a?(y(a),b.current=a):" "!==n.key&&(v.current="",e(!1))}return{reference:{onKeyDown:n},floating:{onKeyDown:n,onKeyUp(t){" "===t.key&&e(!1)}}}},[c,r,i,l,f,R,x,y,S])}function tm(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}let tv=e=>({name:"inner",options:e,async fn(t){let{listRef:n,overflowRef:r,onFallbackChange:o,offset:i=0,index:l=0,minItemsVisible:a=4,referenceOverflowThreshold:u=0,scrollRef:s,...c}=e,{rects:d,elements:{floating:f}}=t,p=n.current[l];if(!p)return{};let h={...t,...await (0,k.cv)(-p.offsetTop-f.clientTop-d.reference.height/2-p.offsetHeight/2-i).fn(t)},m=(null==s?void 0:s.current)||f,v=await (0,k.US)(tm(h,m.scrollHeight),c),g=await (0,k.US)(h,{...c,elementContext:"reference"}),b=Math.max(0,v.top),y=h.y+b,S=Math.max(0,m.scrollHeight-b-Math.max(0,v.bottom));return m.style.maxHeight=S+"px",m.scrollTop=b,o&&(m.offsetHeight=-u||g.bottom>=-u?(0,q.flushSync)(()=>o(!0)):(0,q.flushSync)(()=>o(!1))),r&&(r.current=await (0,k.US)(tm({...h,y:y},m.offsetHeight),c)),{y:y}}});function tg(e,t){let{open:n,elements:r}=e,{enabled:i=!0,overflowRef:l,scrollRef:a,onChange:u}=t,s=Q(u),d=o.useRef(!1),f=o.useRef(null),p=o.useRef(null);return o.useEffect(()=>{if(!i)return;function e(e){if(e.ctrlKey||!t||null==l.current)return;let n=e.deltaY,r=l.current.top>=-.5,o=l.current.bottom>=-.5,i=t.scrollHeight-t.clientHeight,a=n<0?-1:1,u=n<0?"max":"min";!(t.scrollHeight<=t.clientHeight)&&(!r&&n>0||!o&&n<0?(e.preventDefault(),(0,q.flushSync)(()=>{s(e=>e+Math[u](n,i*a))})):/firefox/i.test(c())&&(t.scrollTop+=n))}let t=(null==a?void 0:a.current)||r.floating;if(n&&t)return t.addEventListener("wheel",e),requestAnimationFrame(()=>{f.current=t.scrollTop,null!=l.current&&(p.current={...l.current})}),()=>{f.current=null,p.current=null,t.removeEventListener("wheel",e)}},[i,n,r.floating,l,a,s]),o.useMemo(()=>i?{floating:{onKeyDown(){d.current=!0},onWheel(){d.current=!1},onPointerMove(){d.current=!1},onScroll(){let e=(null==a?void 0:a.current)||r.floating;if(l.current&&e&&d.current){if(null!==f.current){let t=e.scrollTop-f.current;(l.current.bottom<-.5&&t<-1||l.current.top<-.5&&t>1)&&(0,q.flushSync)(()=>s(e=>e+t))}requestAnimationFrame(()=>{f.current=e.scrollTop})}}}}:{},[i,l,r.floating,a,s])}function tb(e,t){let[n,r]=e,o=!1,i=t.length;for(let e=0,l=i-1;e=r!=s>=r&&n<=(u-i)*(r-a)/(s-a)+i&&(o=!o)}return o}function ty(e){let t;void 0===e&&(e={});let{buffer:n=.5,blockPointerEvents:r=!1,requireIntent:o=!0}=e,i=!1,a=null,s=null,c=performance.now(),d=e=>{let{x:r,y:d,placement:f,elements:p,onClose:h,nodeId:m,tree:v}=e;return function(e){function g(){clearTimeout(t),h()}if(clearTimeout(t),!p.domReference||!p.floating||null==f||null==r||null==d)return;let{clientX:b,clientY:S}=e,w=[b,S],x=y(e),R="mouseleave"===e.type,E=u(p.floating,x),k=u(p.domReference,x),C=p.domReference.getBoundingClientRect(),T=p.floating.getBoundingClientRect(),O=f.split("-")[0],M=r>T.right-T.width/2,A=d>T.bottom-T.height/2,P=w[0]>=C.x&&w[0]<=C.x+C.width&&w[1]>=C.y&&w[1]<=C.y+C.height,I=T.width>C.width,L=T.height>C.height,D=(I?C:T).left,B=(I?C:T).right,W=(L?C:T).top,N=(L?C:T).bottom;if(E&&(i=!0,!R))return;if(k&&(i=!1),k&&!R){i=!0;return}if(R&&(0,l.kK)(e.relatedTarget)&&u(p.floating,e.relatedTarget)||v&&eA(v.nodesRef.current,m).some(e=>{let{context:t}=e;return null==t?void 0:t.open}))return;if("top"===O&&d>=C.bottom-1||"bottom"===O&&d<=C.top+1||"left"===O&&r>=C.right-1||"right"===O&&r<=C.left+1)return g();let z=[];switch(O){case"top":z=[[D,C.top+1],[D,T.bottom-1],[B,T.bottom-1],[B,C.top+1]];break;case"bottom":z=[[D,T.top+1],[D,C.bottom-1],[B,C.bottom-1],[B,T.top+1]];break;case"left":z=[[T.right-1,N],[T.right-1,W],[C.left+1,W],[C.left+1,N]];break;case"right":z=[[C.right-1,N],[C.right-1,W],[T.left+1,W],[T.left+1,N]]}if(!tb([b,S],z)){if(i&&!P)return g();if(!R&&o){let t=function(e,t){let n=performance.now(),r=n-c;if(null===a||null===s||0===r)return a=e,s=t,c=n,null;let o=e-a,i=t-s;return a=e,s=t,c=n,Math.sqrt(o*o+i*i)/r}(e.clientX,e.clientY);if(null!==t&&t<.1)return g()}tb([b,S],function(e){let[t,r]=e;switch(O){case"top":{let e=[[T.left,M?T.bottom-n:I?T.bottom-n:T.top],[T.right,M?I?T.bottom-n:T.top:T.bottom-n]];return[[I?t+n/2:M?t+4*n:t-4*n,r+n+1],[I?t-n/2:M?t+4*n:t-4*n,r+n+1],...e]}case"bottom":{let e=[[T.left,M?T.top+n:I?T.top+n:T.bottom],[T.right,M?I?T.top+n:T.bottom:T.top+n]];return[[I?t+n/2:M?t+4*n:t-4*n,r-n],[I?t-n/2:M?t+4*n:t-4*n,r-n],...e]}case"left":return[[A?T.right-n:L?T.right-n:T.left,T.top],[A?L?T.right-n:T.left:T.right-n,T.bottom],[t+n+1,L?r+n/2:A?r+4*n:r-4*n],[t+n+1,L?r-n/2:A?r+4*n:r-4*n]];case"right":{let e=[[A?T.left+n:L?T.left+n:T.right,T.top],[A?L?T.left+n:T.right:T.left+n,T.bottom]];return[[t-n,L?r+n/2:A?r+4*n:r-4*n],[t-n,L?r-n/2:A?r+4*n:r-4*n],...e]}}}([r,d]))?!i&&o&&(t=window.setTimeout(g,40)):g()}}};return d.__options={blockPointerEvents:r},d}},5224:function(e,t,n){"use strict";function r(e){return l(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function i(e){var t;return null==(t=(l(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function l(e){return e instanceof Node||e instanceof o(e).Node}function a(e){return e instanceof Element||e instanceof o(e).Element}function u(e){return e instanceof HTMLElement||e instanceof o(e).HTMLElement}function s(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof o(e).ShadowRoot)}function c(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=v(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function d(e){return["table","td","th"].includes(r(e))}function f(e){let t=h(),n=v(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function p(e){let t=b(e);for(;u(t)&&!m(t);){if(f(t))return t;t=b(t)}return null}function h(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function m(e){return["html","body","#document"].includes(r(e))}function v(e){return o(e).getComputedStyle(e)}function g(e){return a(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function b(e){if("html"===r(e))return e;let t=e.assignedSlot||e.parentNode||s(e)&&e.host||i(e);return s(t)?t.host:t}n.d(t,{Dx:function(){return v},Jj:function(){return o},Kx:function(){return function e(t,n,r){var i;void 0===n&&(n=[]),void 0===r&&(r=!0);let l=function e(t){let n=b(t);return m(n)?t.ownerDocument?t.ownerDocument.body:t.body:u(n)&&c(n)?n:e(n)}(t),a=l===(null==(i=t.ownerDocument)?void 0:i.body),s=o(l);return a?n.concat(s,s.visualViewport||[],c(l)?l:[],s.frameElement&&r?e(s.frameElement):[]):n.concat(l,e(l,[],r))}},Lw:function(){return g},Ow:function(){return b},Pf:function(){return h},Py:function(){return m},Re:function(){return u},Ze:function(){return d},Zq:function(){return s},ao:function(){return c},gQ:function(){return p},hT:function(){return f},kK:function(){return a},tF:function(){return i},wk:function(){return r}})},7848:function(e,t,n){"use strict";n.d(t,{Fp:function(){return o},GW:function(){return l},I4:function(){return m},JB:function(){return E},KX:function(){return w},NM:function(){return i},Qq:function(){return v},Rn:function(){return h},VV:function(){return r},Wh:function(){return g},gy:function(){return y},hp:function(){return p},i8:function(){return b},k3:function(){return f},ku:function(){return d},pw:function(){return x},uZ:function(){return c},yd:function(){return R},ze:function(){return a}});let r=Math.min,o=Math.max,i=Math.round,l=Math.floor,a=e=>({x:e,y:e}),u={left:"right",right:"left",bottom:"top",top:"bottom"},s={start:"end",end:"start"};function c(e,t,n){return o(e,r(t,n))}function d(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function v(e){return["top","bottom"].includes(f(e))?"y":"x"}function g(e){return h(v(e))}function b(e,t,n){void 0===n&&(n=!1);let r=p(e),o=g(e),i=m(o),l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=x(l)),[l,x(l)]}function y(e){let t=x(e);return[S(e),t,S(t)]}function S(e){return e.replace(/start|end/g,e=>s[e])}function w(e,t,n,r){let o=p(e),i=function(e,t,n){let r=["left","right"],o=["right","left"];switch(e){case"top":case"bottom":if(n)return t?o:r;return t?r:o;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(f(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(S)))),i}function x(e){return e.replace(/left|right|bottom|top/g,e=>u[e])}function R(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function E(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}},3370:function(e,t,n){"use strict";n.d(t,{Tr:function(){return d},fG:function(){return u},pV:function(){return c}});var r=n(281),o=n(9097),i=n(8338),l=n(2265),a=n(2281);let u=(0,l.createContext)(null),s=e=>{let t=(0,l.useContext)(u);if(!t?.Contents)throw Error("tamagui.dev/docs/intro/errors#warning-002");return(0,l.createElement)(t.Contents,e)};s.shouldForwardSpace=!0;let c=({Contents:e})=>{let[t,n]=(0,l.useState)(null);return{AdaptProvider:(0,l.useMemo)(()=>{let t={Contents:e,setWhen:n};return function(e){return(0,a.jsx)(u.Provider,{value:t,children:e.children})}},[e]),when:t}},d=(0,i.$e)(function({platform:e,when:t,children:n}){let i=(0,l.useContext)(u),a=(0,o.GS)(),s=!e;return"touch"===e&&(s=r.wT),"native"===e&&(s=!r.$L),"web"===e&&(s=r.$L),"ios"===e&&(s=r.s),"android"===e&&(s=r.Dt),t&&!a[t]&&(s=!1),(0,r.LI)(()=>{s&&i?.setWhen(t||s)},[t,i,s]),s?n:null},{Contents:s})},126:function(e,t,n){"use strict";n.d(t,{M:function(){return c}});var r=n(2265);let o=typeof window>"u",i=()=>{},l=(0,r.createContext)({});var a=n(5794),u=n(2281);let s=e=>e.key||"",c=({children:e,enterVariant:t,exitVariant:n,enterExitVariant:c,initial:d=!0,onExitComplete:f,exitBeforeEnter:p,presenceAffectsLayout:h=!0,custom:m})=>{let v=(0,r.useContext)(l).forceRender??(o?i:(0,r.useReducer)(e=>Math.random(),0)[1]),g=function(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}(e),b=(0,r.useRef)(g),y=(0,r.useRef)(new Map).current,S=(0,r.useRef)(new Set).current;!function(e,t){e.forEach(e=>{let n=s(e);t.set(n,e)})}(g,y);let w=(0,r.useRef)(!0);if(w.current)return w.current=!1,(0,u.jsx)(u.Fragment,{children:g.map(e=>(0,u.jsx)(a.g,{isPresent:!0,enterExitVariant:c,exitVariant:n,enterVariant:t,initial:!!d&&void 0,presenceAffectsLayout:h,custom:m,children:e},s(e)))});let x=[...g],R=b.current.map(s),E=g.map(s),k=R.length;for(let e=0;e{if(-1!==E.indexOf(e))return;let r=y.get(e);if(!r)return;let o=R.indexOf(e),i=(0,u.jsx)(a.g,{isPresent:!1,onExitComplete:()=>{y.delete(e),S.delete(e);let t=b.current.findIndex(t=>t.key===e);b.current.splice(t,1),S.size||(b.current=g,v(),f?.())},presenceAffectsLayout:h,enterExitVariant:c,enterVariant:t,exitVariant:n,custom:m,children:r},s(r));x.splice(o,0,i)}),x=x.map(e=>{let r=e.key;return S.has(r)?e:(0,u.jsx)(a.g,{isPresent:!0,exitVariant:n,enterVariant:t,enterExitVariant:c,presenceAffectsLayout:h,custom:m,children:e},s(e))}),b.current=x,(0,u.jsx)(u.Fragment,{children:S.size?x:x.map(e=>(0,r.cloneElement)(e))})};c.displayName="AnimatePresence"},5794:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var r=n(3020),o=n(5390),i=n(2265),l=n(2281);let a=i.memo(({children:e,initial:t,isPresent:n,onExitComplete:a,exitVariant:s,enterVariant:c,enterExitVariant:d,presenceAffectsLayout:f,custom:p})=>{let h=(0,r.h)(u),m=(0,i.useId)()||"",v=i.useMemo(()=>({id:m,initial:t,isPresent:n,custom:p,exitVariant:s,enterVariant:c,enterExitVariant:d,onExitComplete:()=>{for(let e of(h.set(m,!0),h.values()))if(!e)return;a?.()},register:()=>(h.set(m,!1),()=>h.delete(m))}),f?void 0:[n,s,c]);return i.useMemo(()=>{h.forEach((e,t)=>h.set(t,!1))},[n]),i.useEffect(()=>{n||h.size||a?.()},[n]),(0,l.jsx)(o.Oy.Provider,{value:v,children:e})});function u(){return new Map}},3187:function(e,t,n){"use strict";n.d(t,{zx:function(){return R}});var r=n(3924),o=n(8306),i=n(8338),l=n(1676),a=n(1092),u=n(2265);let s=(0,u.createContext)(!1);var c=n(2026),d=n(2875),f=n(925),p=n(4975),h=n(1386),m=n(2202),v=n(9100),g=n(2281),b=n(357);let y=(0,f.i)({color:void 0,ellipse:void 0,fontFamily:void 0,fontSize:void 0,fontStyle:void 0,fontWeight:void 0,letterSpacing:void 0,maxFontSizeMultiplier:void 0,size:void 0,textAlign:void 0,variant:void 0}),S=(0,p.z)(a.K,{name:"Button",tag:"button",context:y,role:"button",focusable:!0,variants:{unstyled:{false:{size:"$true",justifyContent:"center",alignItems:"center",flexWrap:"nowrap",flexDirection:"row",cursor:"pointer",hoverTheme:!0,pressTheme:!0,backgrounded:!0,borderWidth:1,borderColor:"transparent",focusVisibleStyle:{outlineColor:"$outlineColor",outlineStyle:"solid",outlineWidth:2}}},variant:{outlined:{backgroundColor:"transparent",borderWidth:2,borderColor:"$borderColor",hoverStyle:{backgroundColor:"transparent",borderColor:"$borderColorHover"},pressStyle:{backgroundColor:"transparent",borderColor:"$borderColorPress"},focusVisibleStyle:{backgroundColor:"transparent",borderColor:"$borderColorFocus"}}},size:{"...size":o.f,":number":o.f},disabled:{true:{pointerEvents:"none"}}},defaultVariants:{unstyled:"1"===b.env.TAMAGUI_HEADLESS}}),w=(0,p.z)(c.J,{name:"Button",context:y,variants:{unstyled:{false:{userSelect:"none",cursor:"pointer",flexGrow:0,flexShrink:1,ellipse:!0,color:"$color"}}},defaultVariants:{unstyled:"1"===b.env.TAMAGUI_HEADLESS}}),x=S.styleable(function(e,t){let{props:n}=function({textProps:e,...t},{Text:n=R.Text}={Text:R.Text}){let o=(0,u.useContext)(s),i=(0,h.wN)(t,{noNormalize:!0,noExpand:!0}),{icon:a,iconAfter:c,space:f,spaceFlex:p,scaleIcon:y=1,scaleSpace:S=.66,separator:x,noTextWrap:E,fontFamily:k,fontSize:C,fontWeight:T,fontStyle:O,letterSpacing:M,tag:A,ellipse:P,maxFontSizeMultiplier:I,...L}=i,D=i.size||(i.unstyled?void 0:"$true"),B=i.color,W=("number"==typeof D?.5*D:(0,r.yv)(D,{font:k?.[0]==="$"?k:void 0}))*y,[N,z]=[a,c].map((0,l.Zw)({size:W,color:B})),j=f??(0,m.Ve)(W)*S,H=E?[t.children]:(0,d.k)(n,{children:t.children,fontFamily:k,fontSize:C,textProps:e,fontWeight:T,fontStyle:O,letterSpacing:M,ellipse:P,maxFontSizeMultiplier:I},n===w&&!0!==i.unstyled?{unstyled:"1"===b.env.TAMAGUI_HEADLESS,size:D}:void 0),F=(0,v.P9)({space:j,spaceFlex:p,separator:x,direction:"column"===i.flexDirection||"column-reverse"===i.flexDirection?"vertical":"horizontal",children:[N,...H,z]}),_={size:D,...t.disabled&&{focusable:void 0,focusVisibleStyle:{borderColor:"$background"}},tag:A??(o?"span":"link"===i.accessibilityRole||"link"===i.role?"a":"button"),...L,children:(0,g.jsx)(s.Provider,{value:!0,children:F}),disableClassName:!0};return{spaceSize:j,isNested:o,props:_}}(e);return(0,g.jsx)(S,{...n,ref:t})}),R=(0,i.$e)(x,{Text:w,Icon:e=>{let{children:t,scaleIcon:n=1}=e,{size:o,color:i}=(0,u.useContext)(y),a=("number"==typeof o?.5*o:(0,r.yv)(o))*n;return(0,l.Zw)({size:a,color:i})(t)}})},301:function(e,t,n){"use strict";n.d(t,{b:function(){return i}});var r=n(2265),o=n(2281);function i(e,t=[]){let n=[],i=()=>{let t=n.map(e=>r.createContext(e));return function(n){let o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return i.scopeName=e,[function(t,i){let l=r.createContext(i),a=n.length;function u(t){let{scope:n,children:i,...u}=t,s=n?.[e]?.[a]||l,c=r.useMemo(()=>u,Object.values(u));return(0,o.jsx)(s.Provider,{value:c,children:i})}return n=[...n,i],u.displayName=`${t}Provider`,[u,function(n,o,u){let s=o?.[e]?.[a]||l,c=r.useContext(s);if(c)return c;if(void 0!==i)return i;let d=`\`${n}\` must be used within \`${t}\``;if(u?.fallback)return u?.warn!==!1&&console.warn(d),u.fallback;throw Error(d)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}(i,...t)]}},9018:function(e,t,n){"use strict";let r;n.d(t,{M:function(){return d}});var o=n(9046),i=n(9087),l=n(2265),a=n(2281);let u="focusScope.autoFocusOnMount",s="focusScope.autoFocusOnUnmount",c={bubbles:!1,cancelable:!0},d=l.forwardRef(function(e,t){let n=function(e,t){let{loop:n=!1,enabled:r=!0,trapped:a=!1,onMountAutoFocus:d,onUnmountAutoFocus:v,forceUnmount:g,children:b,...y}=e,[S,w]=l.useState(null),x=(0,i.z)(d),R=(0,i.z)(v),E=l.useRef(null),k=(0,o.ex)(t,e=>w(e)),C=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(!r||!a)return;let e=new AbortController;function t(t){if(C.paused||!S)return;let n=t.target;S.contains(n)?(n?.addEventListener("blur",o,{signal:e.signal}),E.current=n):h(E.current,{select:!0})}function n(t){e.abort(),!(C.paused||!S)&&(S.contains(t.relatedTarget)||h(E.current,{select:!0}))}function o(){E.current=S}return document.addEventListener("focusin",t),document.addEventListener("focusout",n),()=>{e.abort(),document.removeEventListener("focusin",t),document.removeEventListener("focusout",n)}},[a,g,S,C.paused]),l.useEffect(()=>{if(!r||!S||g)return;m.add(C);let e=document.activeElement;if(!S.contains(e)){let t=new CustomEvent(u,c);S.addEventListener(u,x),S.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(h(r,{select:t}),document.activeElement!==n)return}(f(S).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&h(S))}return()=>{S.removeEventListener(u,x);let t=new CustomEvent(s,c);S.addEventListener(s,R),S.dispatchEvent(t),t.defaultPrevented||h(e??document.body,{select:!0}),S.removeEventListener(s,R),m.remove(C)}},[r,S,g,x,R,C]);let T=l.useCallback(e=>{if(!a||!n||C.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){let t=e.currentTarget,[o,i]=function(e){let t=f(e);return[p(t,e),p(t.reverse(),e)]}(t);o&&i?e.shiftKey||r!==i?e.shiftKey&&r===o&&(e.preventDefault(),n&&h(i,{select:!0})):(e.preventDefault(),n&&h(o,{select:!0})):r===t&&e.preventDefault()}},[n,a,C.paused]);return{tabIndex:-1,...y,ref:k,onKeyDown:T}}(e,t);return"function"==typeof e.children?(0,a.jsx)(a.Fragment,{children:e.children(n)}):l.cloneElement(l.Children.only(e.children),n)});function f(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function p(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function h(e,{select:t=!1}={}){if(e?.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}let m=(r=[],{add(e){let t=r[0];e!==t&&t?.pause(),(r=v(r,e)).unshift(e)},remove(e){r=v(r,e),r[0]?.resume()}});function v(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},3924:function(e,t,n){"use strict";n.d(t,{yv:function(){return i}});var r=n(2202),o=n(5986);let i=(e,t)=>{let n=l(e,t);return(0,r.cG)(n)?+n.val:n?+n:16},l=(e,t)=>{let n=a(e,t);return n?(0,o.iE)().fontsParsed[t?.font||"$body"].size[n]:e},a=(e,t)=>{if("number"==typeof e)return null;let n=t?.relativeSize||0,r=(0,o.iE)().fontsParsed[t?.font||"$body"].size,i=("$true"!==e||"$true"in r?e:"$4")??("$true"in r?"$true":"$4"),l=Object.keys(r),a=l.indexOf(i);-1===a&&i.endsWith(".5")&&(a=l.indexOf(i.replace(".5","")));let u=Math.min(Math.max(0,a+n),l.length-1);return l[u]??i}},8306:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var r=n(6748);let o=(e,{tokens:t,props:n})=>{if(!e||n.circular)return;if("number"==typeof e)return{paddingHorizontal:.25*e,height:e,borderRadius:n.circular?1e5:.2*e};let o=(0,r.Pj)(e),i=t.radius[e]??t.radius.$true;return{paddingHorizontal:o,height:e,borderRadius:n.circular?1e5:i}}},8970:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});var r=n(5986);let o=(e="$true",{font:t,fontFamily:n,props:o})=>{if(!t)return;let l="$true"===e?function(e){if("object"==typeof e&&i.has(e))return i.get(e);let t="$true"in e.size?e.size:(0,r.lz)().size,n=t.$true,o=n?Object.keys(t).find(e=>"$true"!==e&&t[e].val===n.val):null;return n&&o?(i.set(e,o),o):Object.keys(e.size)[3]}(t):e,a=t.size[l],u=t.lineHeight?.[l],s=t.weight?.[l],c=t.letterSpacing?.[l],d=t.transform?.[l],f=o.fontStyle??t.style?.[l];return{color:o.color??t.color?.[l],fontStyle:f,textTransform:d,fontFamily:n,fontWeight:s,letterSpacing:c,fontSize:a,lineHeight:u}},i=new WeakMap},6748:function(e,t,n){"use strict";n.d(t,{Pj:function(){return a},ap:function(){return l}});var r=n(5986),o=n(2202);let i={shift:0,bounds:[0]},l=(e,t)=>f("size",e,t),a=(e,t)=>f("space",e,t),u={},s={},c={},d={},f=(e,t,n=i)=>{let l=(0,r.lz)({prefixed:!0})[e];if(!(e in u)){c[e]=[],u[e]=[],d[e]=[],s[e]=[];let t=Object.keys(l).map(e=>l[e]).sort((e,t)=>e.val-t.val);for(let n of t)c[e].push(n.key),u[e].push(n);for(let n of t.filter(e=>!e.key.endsWith(".5")))d[e].push(n.key),s[e].push(n)}let a="string"==typeof t,f=(n.excludeHalfSteps?a?d:s:a?c:u)[e],p=n.bounds?.[0]??0,h=n.bounds?.[1]??f.length-1,m=f.indexOf(t),v=n.shift||0;v&&("$true"===t||(0,o.cG)(t)&&"true"===t.name)&&(v+=v>0?1:-1);let g=f[Math.min(h,Math.max(p,m+v))];return("string"==typeof g?l[g]:g)||l.$true}},1676:function(e,t,n){"use strict";n.d(t,{Zw:function(){return a}}),n(8338);var r=n(2265),o=n(8411),i=n(2202);let l=e=>{let t=(0,o.Fg)();return(0,i.E0)(e||t[e]?.get("web")||t.color?.get("web"))},a=e=>{let t=l(e.color);return n=>n&&((0,r.isValidElement)(n)?(0,r.cloneElement)(n,{...e,color:t,...n.props}):(0,r.createElement)(n,e))}},2583:function(e,t,n){"use strict";n.d(t,{f:function(){return G}});var r,o,i,l,a,u,s,c=n(2265),d=function(){return(d=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}"function"==typeof SuppressedError&&SuppressedError;var p="right-scroll-bar-position",h="width-before-scroll-bar";function m(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var v="undefined"!=typeof window?c.useLayoutEffect:c.useEffect,g=new WeakMap,b=(void 0===r&&(r={}),(void 0===o&&(o=function(e){return e}),i=[],l=!1,a={read:function(){if(l)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:null},useMedium:function(e){var t=o(e,l);return i.push(t),function(){i=i.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(l=!0;i.length;){var t=i;i=[],t.forEach(e)}i={push:function(t){return e(t)},filter:function(){return i}}},assignMedium:function(e){l=!0;var t=[];if(i.length){var n=i;i=[],n.forEach(e),t=i}var r=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(r)};o(),i={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),i}}}}).options=d({async:!0,ssr:!1},r),a),y=function(){},S=c.forwardRef(function(e,t){var n,r,o,i,l=c.useRef(null),a=c.useState({onScrollCapture:y,onWheelCapture:y,onTouchMoveCapture:y}),u=a[0],s=a[1],p=e.forwardProps,h=e.children,S=e.className,w=e.removeScrollBar,x=e.enabled,R=e.shards,E=e.sideCar,k=e.noIsolation,C=e.inert,T=e.allowPinchZoom,O=e.as,M=f(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),A=(n=[l,t],r=function(e){return n.forEach(function(t){return m(t,e)})},(o=(0,c.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,i=o.facade,v(function(){var e=g.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||m(e,null)}),r.forEach(function(e){t.has(e)||m(e,o)})}g.set(i,n)},[n]),i),P=d(d({},M),u);return c.createElement(c.Fragment,null,x&&c.createElement(E,{sideCar:b,removeScrollBar:w,shards:R,noIsolation:k,inert:C,setCallbacks:s,allowPinchZoom:!!T,lockRef:l}),p?c.cloneElement(c.Children.only(h),d(d({},P),{ref:A})):c.createElement(void 0===O?"div":O,d({},P,{className:S,ref:A}),h))});S.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},S.classNames={fullWidth:h,zeroRight:p};var w=function(e){var t=e.sideCar,n=f(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return c.createElement(r,d({},n))};w.isSideCarExport=!0;var x=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=s||n.nc;return t&&e.setAttribute("nonce",t),e}())){var o,i;(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},R=function(){var e=x();return function(t,n){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},E=function(){var e=R();return function(t){return e(t.styles,t.dynamic),null}},k={left:0,top:0,right:0,gap:0},C=function(e){return parseInt(e||"",10)||0},T=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[C(n),C(r),C(o)]},O=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return k;var t=T(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},M=E(),A="data-scroll-locked",P=function(e,t,n,r){var o=e.left,i=e.top,l=e.right,a=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(a,"px ").concat(r,";\n }\n body[").concat(A,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(l,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(p," {\n right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(h," {\n margin-right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(p," .").concat(p," {\n right: 0 ").concat(r,";\n }\n \n .").concat(h," .").concat(h," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(A,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},I=function(){var e=parseInt(document.body.getAttribute(A)||"0",10);return isFinite(e)?e:0},L=function(){c.useEffect(function(){return document.body.setAttribute(A,(I()+1).toString()),function(){var e=I()-1;e<=0?document.body.removeAttribute(A):document.body.setAttribute(A,e.toString())}},[])},D=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;L();var i=c.useMemo(function(){return O(o)},[o]);return c.createElement(M,{styles:P(i,!t,o,n?"":"!important")})},B=!1;if("undefined"!=typeof window)try{var W=Object.defineProperty({},"passive",{get:function(){return B=!0,!0}});window.addEventListener("test",W,W),window.removeEventListener("test",W,W)}catch(e){B=!1}var N=!!B&&{passive:!1},z=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},j=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),H(e,n)){var r=F(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},H=function(e,t){return"v"===e?z(t,"overflowY"):z(t,"overflowX")},F=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},_=function(e,t,n,r,o){var i,l=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),a=l*r,u=n.target,s=t.contains(u),c=!1,d=a>0,f=0,p=0;do{var h=F(e,u),m=h[0],v=h[1]-h[2]-l*m;(m||v)&&H(e,u)&&(f+=v,p+=m),u=u.parentNode}while(!s&&u!==document.body||s&&(t.contains(u)||t===u));return d&&(o&&0===f||!o&&a>f)?c=!0:!d&&(o&&0===p||!o&&-a>p)&&(c=!0),c},Z=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},V=function(e){return[e.deltaX,e.deltaY]},$=function(e){return e&&"current"in e?e.current:e},K=0,U=[],Y=(u=function(e){var t=c.useRef([]),n=c.useRef([0,0]),r=c.useRef(),o=c.useState(K++)[0],i=c.useState(function(){return E()})[0],l=c.useRef(e);c.useEffect(function(){l.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;oMath.abs(s)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=j(d,c);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=j(d,c)),!f)return!1;if(!r.current&&"changedTouches"in e&&(u||s)&&(r.current=o),!o)return!0;var p=r.current||o;return _(p,t,e,"h"===p?u:s,!0)},[]),u=c.useCallback(function(e){if(U.length&&U[U.length-1]===i){var n="deltaY"in e?V(e):Z(e),r=t.current.filter(function(t){var r;return t.name===e.type&&t.target===e.target&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(l.current.shards||[]).map($).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?a(e,o[0]):!l.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=c.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=c.useCallback(function(e){n.current=Z(e),r.current=void 0},[]),f=c.useCallback(function(t){s(t.type,V(t),t.target,a(t,e.lockRef.current))},[]),p=c.useCallback(function(t){s(t.type,Z(t),t.target,a(t,e.lockRef.current))},[]);c.useEffect(function(){return U.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",u,N),document.addEventListener("touchmove",u,N),document.addEventListener("touchstart",d,N),function(){U=U.filter(function(e){return e!==i}),document.removeEventListener("wheel",u,N),document.removeEventListener("touchmove",u,N),document.removeEventListener("touchstart",d,N)}},[]);var h=e.removeScrollBar,m=e.inert;return c.createElement(c.Fragment,null,m?c.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,h?c.createElement(D,{gapMode:"margin"}):null)},b.useMedium(u),w),X=c.forwardRef(function(e,t){return c.createElement(S,d({},e,{ref:t,sideCar:Y}))});X.classNames=S.classNames;var q=n(2281);let G=(0,c.memo)(e=>e.children?(0,q.jsx)(X,{...e}):null);X.classNames},5295:function(e,t,n){"use strict";n.d(t,{p:function(){return l}});var r=n(5377),o=n(4975),i=n(5589);let l=(0,o.z)(i.Z,{name:"ScrollView",scrollEnabled:!0,variants:{fullscreen:{true:r.Xu}}},{accept:{contentContainerStyle:"style"}})},6505:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(281),o=n(4975),i=n(2166);let l=(0,o.z)(i.Kq,{name:"Separator",borderColor:"$borderColor",flexShrink:0,borderWidth:0,flex:1,height:0,maxHeight:0,borderBottomWidth:1,y:-.5,variants:{vertical:{true:{y:0,x:-.5,height:r.$L?"initial":"auto",maxHeight:r.$L?"initial":"auto",width:0,maxWidth:0,borderBottomWidth:0,borderRightWidth:1}}}})},1510:function(e,t,n){"use strict";n.d(t,{yo:function(){return ek}});var r=n(4975),o=n(5377),i=n(1092),l=n(281);let a="Sheet",u="SheetHandle",s="SheetOverlay",c=l.C5?document.createElement("style"):null;c&&"u">typeof document.head&&document.head.appendChild(c);var d=n(9046),f=n(2166),p=n(8338),h=n(2583),m=n(6616),v=n(2265),g=n(1840);let[b,y]=(0,n(301).b)(a),[S,w]=b(a,{});var x=n(3370),R=n(126),E=n(9235),k=n(5986),C=n(7562);let T=()=>{let{groups:e,animationDriver:t,...n}=(0,v.useContext)(C.s),{animations:r,...o}=(0,k.iE)();return{...o,...n,animationDriver:t??(0,k.iE)().animations}};var O=n(9087),M=n(4582),A=n(1130),P=n(4624),I=n(1775);let L=()=>{let[e,t]=(0,v.useState)(!1);return(0,v.useEffect)(()=>{let e=I.Z.addListener("keyboardDidShow",()=>{t(!0)}),n=I.Z.addListener("keyboardDidHide",()=>{t(!1)});return()=>{n.remove(),e.remove()}},[]),e};var D=n(7445),B=n.n(D),W=n(7998);class N{constructor(e){var t=e.onMoreTasks;this._onMoreTasks=t,this._queueStack=[{tasks:[],popable:!0}]}enqueue(e){this._getCurrentQueue().push(e)}enqueueTasks(e){e.forEach(e=>this.enqueue(e))}cancelTasks(e){this._queueStack=this._queueStack.map(t=>(0,W.Z)((0,W.Z)({},t),{},{tasks:t.tasks.filter(t=>-1===e.indexOf(t))})).filter((e,t)=>e.tasks.length>0||0===t)}hasTasksToProcess(){return this._getCurrentQueue().length>0}processNext(){var e=this._getCurrentQueue();if(e.length){var t=e.shift();try{"object"==typeof t&&t.gen?this._genPromise(t):"object"==typeof t&&t.run?t.run():(B()("function"==typeof t,"Expected Function, SimpleTask, or PromiseTask, but got:\n"+JSON.stringify(t,null,2)),t())}catch(e){throw e.message="TaskQueue: Error with task "+(t.name||"")+": "+e.message,e}}}_getCurrentQueue(){var e=this._queueStack.length-1,t=this._queueStack[e];return t.popable&&0===t.tasks.length&&e>0?(this._queueStack.pop(),this._getCurrentQueue()):t.tasks}_genPromise(e){var t=this._queueStack.push({tasks:[],popable:!1}),n=this._queueStack[t-1];e.gen().then(()=>{n.popable=!0,this.hasTasksToProcess()&&this._onMoreTasks()}).catch(t=>{setTimeout(()=>{throw t.message="TaskQueue: Error resolving Promise in task "+e.name+": "+t.message,t},0)})}}class z{constructor(){this._registry={}}addListener(e,t,n){var r,o,i=(null==(o=(r=this._registry)[e])&&(o=new Set,r[e]=o),o),l={context:n,listener:t,remove(){i.delete(l)}};return i.add(l),l}emit(e){var t=this._registry[e];if(null!=t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o{var t=Date.now();e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))})},1)};j&&window.cancelIdleCallback;var F=new z,_={Events:{interactionStart:"interactionStart",interactionComplete:"interactionComplete"},runAfterInteractions(e){var t=[],n=new Promise(n=>{q(),e&&t.push(e),t.push({run:n,name:"resolve "+(e&&e.name||"?")}),K.enqueueTasks(t)});return{then:n.then.bind(n),done:n.then.bind(n),cancel:()=>{K.cancelTasks(t)}}},createInteractionHandle(){q();var e=++Y;return V.add(e),e},clearInteractionHandle(e){B()(!!e,"Must provide a handle to clear."),q(),V.delete(e),$.add(e)},addListener:F.addListener.bind(F),setDeadline(e){X=e}},Z=new Set,V=new Set,$=new Set,K=new N({onMoreTasks:q}),U=0,Y=0,X=-1;function q(){U||(U=X>0?setTimeout(G):H(G))}function G(){U=0;var e=Z.size;V.forEach(e=>Z.add(e)),$.forEach(e=>Z.delete(e));var t=Z.size;if(0!==e&&0===t?F.emit(_.Events.interactionComplete):0===e&&0!==t&&F.emit(_.Events.interactionStart),0===t){for(var n=Date.now();K.hasTasksToProcess();)if(K.processNext(),X>0&&Date.now()-n>=X){q();break}}V.clear(),$.clear()}var J={centroidDimension:function(e,t,n,r){var o=e.touchBank,i=0,l=0,a=1===e.numberActiveTouches?e.touchBank[e.indexOfSingleActiveTouch]:null;if(null!==a)a.touchActive&&a.currentTimeStamp>t&&(i+=r&&n?a.currentPageX:r&&!n?a.currentPageY:!r&&n?a.previousPageX:a.previousPageY,l=1);else for(var u=0;u=t&&(i+=r&&n?s.currentPageX:r&&!n?s.currentPageY:!r&&n?s.previousPageX:s.previousPageY,l++)}return l>0?i/l:J.noCentroid},currentCentroidXOfTouchesChangedAfter:function(e,t){return J.centroidDimension(e,t,!0,!0)},currentCentroidYOfTouchesChangedAfter:function(e,t){return J.centroidDimension(e,t,!1,!0)},previousCentroidXOfTouchesChangedAfter:function(e,t){return J.centroidDimension(e,t,!0,!1)},previousCentroidYOfTouchesChangedAfter:function(e,t){return J.centroidDimension(e,t,!1,!1)},currentCentroidX:function(e){return J.centroidDimension(e,0,!0,!0)},currentCentroidY:function(e){return J.centroidDimension(e,0,!1,!0)},noCentroid:-1},Q=J.currentCentroidXOfTouchesChangedAfter,ee=J.currentCentroidYOfTouchesChangedAfter,et=J.previousCentroidXOfTouchesChangedAfter,en=J.previousCentroidYOfTouchesChangedAfter,er=J.currentCentroidX,eo=J.currentCentroidY,ei={_initializeGestureState(e){e.moveX=0,e.moveY=0,e.x0=0,e.y0=0,e.dx=0,e.dy=0,e.vx=0,e.vy=0,e.numberActiveTouches=0,e._accountsForMovesUpTo=0},_updateGestureStateOnMove(e,t){e.numberActiveTouches=t.numberActiveTouches,e.moveX=Q(t,e._accountsForMovesUpTo),e.moveY=ee(t,e._accountsForMovesUpTo);var n=e._accountsForMovesUpTo,r=et(t,n),o=Q(t,n),i=en(t,n),l=ee(t,n),a=e.dx+(o-r),u=e.dy+(l-i),s=t.mostRecentTimeStamp-e._accountsForMovesUpTo;e.vx=(a-e.dx)/s,e.vy=(u-e.dy)/s,e.dx=a,e.dy=u,e._accountsForMovesUpTo=t.mostRecentTimeStamp},create(e){var t={handle:null,shouldCancelClick:!1,timeout:null},n={stateID:Math.random(),moveX:0,moveY:0,x0:0,y0:0,dx:0,dy:0,vx:0,vy:0,numberActiveTouches:0,_accountsForMovesUpTo:0};return{panHandlers:{onStartShouldSetResponder:t=>null!=e.onStartShouldSetPanResponder&&e.onStartShouldSetPanResponder(t,n),onMoveShouldSetResponder:t=>null!=e.onMoveShouldSetPanResponder&&e.onMoveShouldSetPanResponder(t,n),onStartShouldSetResponderCapture:t=>(1===t.nativeEvent.touches.length&&ei._initializeGestureState(n),n.numberActiveTouches=t.touchHistory.numberActiveTouches,null!=e.onStartShouldSetPanResponderCapture&&e.onStartShouldSetPanResponderCapture(t,n)),onMoveShouldSetResponderCapture(t){var r=t.touchHistory;return n._accountsForMovesUpTo!==r.mostRecentTimeStamp&&(ei._updateGestureStateOnMove(n,r),!!e.onMoveShouldSetPanResponderCapture&&e.onMoveShouldSetPanResponderCapture(t,n))},onResponderGrant:r=>(t.handle||(t.handle=_.createInteractionHandle()),t.timeout&&clearTimeout(t.timeout),t.shouldCancelClick=!0,n.x0=er(r.touchHistory),n.y0=eo(r.touchHistory),n.dx=0,n.dy=0,e.onPanResponderGrant&&e.onPanResponderGrant(r,n),null==e.onShouldBlockNativeResponder||e.onShouldBlockNativeResponder(r,n)),onResponderReject(r){el(t,e.onPanResponderReject,r,n)},onResponderRelease(r){el(t,e.onPanResponderRelease,r,n),ea(t),ei._initializeGestureState(n)},onResponderStart(t){var r=t.touchHistory;n.numberActiveTouches=r.numberActiveTouches,e.onPanResponderStart&&e.onPanResponderStart(t,n)},onResponderMove(t){var r=t.touchHistory;n._accountsForMovesUpTo!==r.mostRecentTimeStamp&&(ei._updateGestureStateOnMove(n,r),e.onPanResponderMove&&e.onPanResponderMove(t,n))},onResponderEnd(r){var o=r.touchHistory;n.numberActiveTouches=o.numberActiveTouches,el(t,e.onPanResponderEnd,r,n)},onResponderTerminate(r){el(t,e.onPanResponderTerminate,r,n),ea(t),ei._initializeGestureState(n)},onResponderTerminationRequest:t=>null==e.onPanResponderTerminationRequest||e.onPanResponderTerminationRequest(t,n),onClickCapture:e=>{!0===t.shouldCancelClick&&(e.stopPropagation(),e.preventDefault())}},getInteractionHandle:()=>t.handle}}};function el(e,t,n,r){e.handle&&(_.clearInteractionHandle(e.handle),e.handle=null),t&&t(n,r)}function ea(e){e.timeout=setTimeout(()=>{e.shouldCancelClick=!1},250)}var eu=n(1090),es=n(5275);let ec=(0,v.createContext)({zIndex:1e5}),ed=(0,v.createContext)(null);function ef(e,t,n=25){return e{let{isHidden:t,controller:n}=(0,eh.$)(),[r,o]=(0,ep.T)({prop:n?.open??e.open,defaultProp:e.defaultOpen??!1,onChange:t=>{n?.onOpenChange?.(t),e.onOpenChange?.(t)},strategy:"most-recent-wins",transition:!0});return{open:r,setOpen:o,isHidden:t,controller:n}};var ev=n(3020),eg=n(2281);let eb=(0,E.Y)((0,v.forwardRef)(function(e,t){let n=(0,v.useContext)(ec),{animation:r,animationConfig:o,modal:i=!1,zIndex:a=n.zIndex+1,moveOnKeyboardChange:u=!1,unmountChildrenWhenHidden:s=!1,portalProps:p,containerComponent:h=v.Fragment}=e,m=L(),g=em(e),[b,y]=(0,v.useState)(null),w=function(e,t,n={}){let r=v.useRef(null),o=v.useRef(null),[i,l]=(0,v.useState)(0),[a,u]=(0,v.useState)(0),s=e.snapPointsMode??"percent",c=e.snapPoints??("percent"===s?[80]:"constant"===s?[256]:["fit"]),d="fit"===c[0],f=(0,v.useMemo)(()=>e.dismissOnSnapToBottom?[...c,0]:c,[JSON.stringify(c),e.dismissOnSnapToBottom]),[p,h]=(0,ep.T)({prop:e.position,defaultProp:e.defaultPosition||(t.open?0:-1),onChange:e.onPositionChange,strategy:"most-recent-wins",transition:!0}),m=!1===t.open?-1:p,{open:g}=t,b=(0,v.useCallback)(n=>{e.dismissOnSnapToBottom&&n===f.length-1?t.setOpen(!1):h(n)},[e.dismissOnSnapToBottom,f.length,h,t.setOpen]);g&&e.dismissOnSnapToBottom&&m===f.length-1&&h(0);let y=g&&m<0;(0,v.useEffect)(()=>{y&&b(0)},[b,y]);let{animationDriver:S}=T();if(!S)throw Error("Must set animations in tamagui.config.ts");let w=(0,ev.h)(()=>({enabled:!1,y:0,paneY:0,paneMinY:0,scrollStartY:-1,drag:()=>{},release:()=>{},scrollLock:!1})),x=e.forceRemoveScrollEnabled??(g&&e.modal),R=f[0];return{screenSize:"percent"===s?i/(("number"==typeof R?R:100)/100):a,maxSnapPoint:R,removeScrollEnabled:x,scrollBridge:w,modal:!!e.modal,open:t.open,setOpen:t.setOpen,hidden:!!t.isHidden,contentRef:o,handleRef:r,frameSize:i,setFrameSize:l,dismissOnOverlayPress:e.dismissOnOverlayPress??!0,dismissOnSnapToBottom:e.dismissOnSnapToBottom??!1,onOverlayComponent:n.onOverlayComponent,scope:e.__scopeSheet,hasFit:d,position:m,snapPoints:f,snapPointsMode:s,setMaxContentSize:u,setPosition:b,setPositionImmediate:h,onlyShowFrame:!1}}(e,g,{onOverlayComponent:y}),{frameSize:E,setFrameSize:C,snapPoints:D,snapPointsMode:B,hasFit:W,position:N,setPosition:z,scrollBridge:j,screenSize:H,setMaxContentSize:F,maxSnapPoint:_}=w,{open:Z,controller:V,isHidden:$}=g,K=(0,v.useRef)(null),U=(0,d.ex)(t,K),Y=(()=>{let[e,t]=r?Array.isArray(r)?r:[r]:[];return o??(e?{...(0,k.iE)().animations.animations[e],...t}:null)})(),[X,q]=(0,v.useState)(!1),G=!l.$L&&i&&X,J=(0,v.useContext)(ed),Q=(0,v.useCallback)(e=>{q(e)},[]),ee=(0,v.useMemo)(()=>D.map(e=>(function(e,t,n,r){if(!n||!r)return 0;if("mixed"===e){if("number"==typeof t)return n-Math.min(n,Math.max(0,t));if("fit"===t)return n-Math.min(n,r);if(t.endsWith("%")){let e=Math.min(100,Math.max(0,Number(t.slice(0,-1))))/100;return Number.isNaN(e)?(console.warn("Invalid snapPoint percentage string"),0):Math.round(n-e*n)}return console.warn("Invalid snapPoint unknown value"),0}if("fit"===e)return 0===t?n:n-Math.min(n,r);if("constant"===e&&"number"==typeof t)return n-Math.min(n,Math.max(0,t));let o=Math.min(100,Math.max(0,Number(t)))/100;return Number.isNaN(o)?(console.warn("Invalid snapPoint percentage"),0):Math.round(n-o*n)})(B,e,H,E)),[H,E,D,B]),{animationDriver:et}=T(),{useAnimatedNumber:en,useAnimatedNumberStyle:er,useAnimatedNumberReaction:eo}=et,el=et.View??f.Kq;(0,l.LI)(()=>{if(J&&Z)return J(!0),()=>{J(!1)}},[J,Z]);let ea=(0,v.useMemo)(()=>({zIndex:a}),[a]),eh=en(10000.1),eb=(0,v.useRef)(10000.1);function ey(){eh.stop(),j.onFinishAnimate&&(j.onFinishAnimate(),j.onFinishAnimate=void 0)}eo({value:eh,hostRef:K},(0,v.useCallback)(e=>{eb.current=e,j.paneY=e},[et]));let eS=10000.1===eb.current,ew=(0,O.z)(e=>{if(0===E)return;let t=$||-1===e?H:ee[e];if(eb.current!==t){if(eb.current=t,ey(),eS||$){eh.setValue(H,{type:"timing",duration:0},()=>{$||(t=ee[e],eb.current=t,eh.setValue(t,{type:"spring",...Y}))});return}eh.setValue(t,{type:"spring",...Y})}});(0,l.LI)(()=>{H&&eS&&eh.setValue(H,{type:"timing",duration:0})},[eS,H]),(0,l.LI)(()=>{E&&H&&!$&&(!eS||Z)&&ew(N)},[$,E,H,Z,N]);let ex=e.disableDrag??V?.disableDrag,eR=(0,M.C)(),[eE,ek]=(0,v.useState)(!1),eC=(0,v.useMemo)(()=>{if(ex||!E||X)return;let e=ee[0];j.paneMinY=e;let t=eb.current;function n(e){ek(e),c&&(e?c.innerText=":root * { user-select: none !important; -webkit-user-select: none !important; }":c.innerText="")}let r=({vy:e,dragAt:r})=>{a=!1,n(!1);let o=r+t+E*e*.2,i=0,l=1/0;for(let e=0;et?o-t:t-o;n{r({vy:t.vy,dragAt:t.dy})},i=()=>{n(!0),ey(),t=eb.current},a=!1;return j.drag=n=>{a||(a=!0,i());let r=n+t;eh.setValue(ef(r,e),{type:"direct"})},j.release=r,ei.create({onMoveShouldSetPanResponder:(e,{dy:t})=>{if(e.target===w.handleRef.current)return!0;let n=0!==j.y,r=j.paneY-5<=j.paneMinY;return!n&&(!r||!!n||!(t<0)||!!l.$L)&&Math.abs(t)>5},onPanResponderGrant:i,onPanResponderMove:(n,{dy:r})=>{let o=ef(r+t,e);eh.setValue(o,{type:"direct"})},onPanResponderEnd:o,onPanResponderTerminate:o,onPanResponderRelease:o})},[ex,X,ew,E,ee,z]),eT=(0,v.useCallback)(e=>{let t=Math.min(e.nativeEvent?.layout.height,eu.Z.get("window").height);t&&C(t)},[m]),eO=(0,v.useCallback)(e=>{let t=Math.min(e.nativeEvent?.layout.height,eu.Z.get("window").height);t&&F(t)},[m]),eM=er(eh,e=>({transform:[{translateY:0===E?10000.1:e}]})),eA=(0,v.useRef)(null);(0,v.useEffect)(()=>{if(l.$L||!u)return;let e=I.Z.addListener("keyboardDidShow",e=>{null===eA.current&&(eA.current=eh.getValue(),eh.setValue(Math.max(eh.getValue()-e.endCoordinates.height,0)))}),t=I.Z.addListener("keyboardDidHide",()=>{null!==eA.current&&(eh.setValue(eA.current),eA.current=null)});return()=>{t.remove(),e.remove()}},[u]);let[eP,eI]=(0,v.useState)(Z?1:0);Z&&0===eP&&eI(1),(0,v.useEffect)(()=>{if(!Z){let e=setTimeout(()=>{eI(0)},400);return()=>{clearTimeout(e)}}},[Z]);let eL=W?void 0:"percent"===B?`${_}${l.$L?"dvh":"%"}`:_,eD=(0,eg.jsx)(ec.Provider,{value:ea,children:(0,eg.jsxs)(S,{...w,children:[(0,eg.jsx)(R.M,{custom:{open:Z},children:G||!Z?null:b}),"percent"!==B&&(0,eg.jsx)(es.Z,{style:{opacity:0,position:"absolute",top:0,left:0,right:0,bottom:0,pointerEvents:"none"},onLayout:eO}),(0,eg.jsx)(el,{ref:U,...eC?.panHandlers,onLayout:eT,...!eE&&{animation:r},disableClassName:!0,style:[{position:"absolute",zIndex:a,width:"100%",height:eL,minHeight:eL,opacity:eP,...(G||!Z)&&{pointerEvents:"none"}},eM],children:e.children})]})}),eB=(0,v.useContext)(x.fG);if(i){let e=(0,eg.jsx)(P.h_,{zIndex:a,...p,children:!!(eP||!s)&&(0,eg.jsx)(h,{children:(0,eg.jsx)(A.Q,{forceClassName:!0,name:eR,children:(0,eg.jsx)(x.fG.Provider,{value:eB,children:eD})})})});return l.$L?e:(0,eg.jsx)(ed.Provider,{value:Q,children:e})}return eD}));var ey=n(5295);let eS=(0,v.forwardRef)(({__scopeSheet:e,children:t,onScroll:n,...r},o)=>{let{scrollBridge:i}=w("SheetScrollView",e),l=(0,v.useRef)(null),a=(0,v.useRef)({lastPageY:0,dragAt:0,dys:[],isScrolling:!1,isDragging:!1});return(0,eg.jsx)(ey.p,{ref:(0,d.FE)(l,o),flex:1,scrollEventThrottle:8,onScroll:e=>{let{y:t}=e.nativeEvent.contentOffset;i.y=t,t>0&&(i.scrollStartY=-1),n?.(e)},onStartShouldSetResponder:()=>(i.scrollStartY=-1,a.current.isDragging=!0,!0),onMoveShouldSetResponder:()=>!1,onResponderRelease:()=>{if(!a.current.isDragging)return;a.current.isDragging=!1,i.scrollStartY=-1,a.current.isScrolling=!1;let e=0;if(a.current.dys.length){let t=a.current.dys.slice(-10);e=(t.length?t.reduce((e,t)=>e+t,0):0)/t.length*.04}a.current.dys=[],i.release({dragAt:a.current.dragAt,vy:e})},className:"_ovs-contain",...r,children:(0,v.useMemo)(()=>t,[t])})}),ew=({snapPoints:e,position:t,screenSize:n,frameSize:r,snapPointsMode:o})=>{if("fit"===o)return 0;if("constant"===o)return Number(e[0])-Number(e[t]??0);if("percent"===o)return(Number(e[0])/100-Number(e[t]??0)/100)*n;let i=e[0];if("fit"===i)return 0;let l="string"==typeof i?Number(i.slice(0,-1))/100*n:i,a=e[t]??0,u=l-("string"==typeof a?Number(a.slice(0,-1))/100*n:a);return Number.isNaN(u)?0:u};var ex=n(357);let eR=(0,r.z)(o.sL,{name:u,variants:{open:{true:{pointerEvents:"auto"},false:{opacity:0,pointerEvents:"none"}},unstyled:{false:{height:10,borderRadius:100,backgroundColor:"$background",zIndex:10,marginHorizontal:"35%",marginBottom:"$2",opacity:.5,hoverStyle:{opacity:.7}}}},defaultVariants:{unstyled:"1"===ex.env.TAMAGUI_HEADLESS}}),eE=(0,r.z)(i.K,{name:s,variants:{open:{true:{opacity:1,pointerEvents:"auto"},false:{opacity:0,pointerEvents:"none"}},unstyled:{false:{fullscreen:!0,position:"absolute",backgrounded:!0,zIndex:99999,pointerEvents:"auto"}}},defaultVariants:{unstyled:"1"===ex.env.TAMAGUI_HEADLESS}}),ek=function({Handle:e,Frame:t,Overlay:n}){let r=e.styleable(({__scopeSheet:t,...n},r)=>{let o=w(u,t),i=(0,d.ex)(o.handleRef,r);return o.onlyShowFrame?null:(0,eg.jsx)(e,{ref:i,onPress:()=>{let e=o.snapPoints.length+(o.dismissOnSnapToBottom?-1:0),t=(o.position+1)%e;o.setPosition(t)},open:o.open,...n})}),o=n.extractable((0,v.memo)(e=>{let{__scopeSheet:t,...r}=e,o=w(s,t),i=(0,v.useMemo)(()=>(0,eg.jsx)(n,{...r,onPress:(0,p.Mj)(r.onPress,o.dismissOnOverlayPress?()=>{o.setOpen(!1)}:void 0)}),[r.onPress,o.dismissOnOverlayPress]);return(0,l.LI)(()=>{o.onOverlayComponent?.(i)},[i]),o.onlyShowFrame,null})),i=t.extractable((0,v.forwardRef)(({__scopeSheet:e,adjustPaddingForOffscreenContent:n,disableHideBottomOverflow:r,children:o,...i},l)=>{let u=w(a,e),{hasFit:s,removeScrollEnabled:c,frameSize:p,contentRef:m,open:g}=u,b=(0,d.ex)(l,m),y=ew(u),S=(0,v.useMemo)(()=>(0,eg.jsxs)(t,{ref:b,flex:s?0:1,height:s?void 0:p,pointerEvents:g?"auto":"none",...i,children:[o,n&&(0,eg.jsx)(f.Kq,{"data-sheet-offscreen-pad":!0,height:y,width:"100%"})]}),[g,i,p,y,n,s]);return(0,eg.jsxs)(eg.Fragment,{children:[(0,eg.jsx)(h.f,{forwardProps:!0,enabled:c,allowPinchZoom:!0,shards:[m],removeScrollBar:!1,children:S}),!r&&(0,eg.jsx)(t,{...i,componentName:"SheetCover",children:null,position:"absolute",bottom:"-100%",zIndex:-1,height:u.frameSize,left:0,right:0,borderWidth:0,borderRadius:0,shadowOpacity:0})]})})),c=(0,v.forwardRef)(function(e,t){let n=(0,m.S)(),{isShowingNonSheet:r}=(0,eh.$)();return e.native&&g.Z.OS,r||!n?null:(0,eg.jsx)(eb,{ref:t,...e})}),b={Frame:i,Overlay:o,Handle:r,ScrollView:eS},y=(0,p.$e)(c,b);return(0,p.$e)(c,{...b,Controlled:y})}({Frame:(0,r.z)(o.FA,{name:a,variants:{unstyled:{false:{flex:1,backgroundColor:"$background",borderTopLeftRadius:"$true",borderTopRightRadius:"$true",width:"100%",maxHeight:"100%",overflow:"hidden"}}},defaultVariants:{unstyled:"1"===ex.env.TAMAGUI_HEADLESS}}),Handle:eR,Overlay:eE})},4077:function(e,t,n){"use strict";n.d(t,{f:function(){return a}});var r=n(9087),o=n(2265),i=n(7657),l=n(2281);let a=({children:e,onOpenChange:t,...n})=>{let a=(0,r.z)(t),u=(0,o.useMemo)(()=>({open:n.open,hidden:n.hidden,disableDrag:n.disableDrag,onOpenChange:a}),[a,n.open,n.hidden,n.disableDrag]);return(0,l.jsx)(i.W.Provider,{value:u,children:e})}},7657:function(e,t,n){"use strict";n.d(t,{$:function(){return o},W:function(){return i}});var r=n(2265);let o=()=>{let e=(0,r.useContext)(i),t=e?.hidden,n=t&&e?.open;return{controller:e,isHidden:t,isShowingNonSheet:n,disableDrag:e?.disableDrag}},i=(0,r.createContext)(null)},1092:function(e,t,n){"use strict";n.d(t,{K:function(){return s}});var r=n(4975),o=n(5377),i=n(8587);let l={borderRadius:1e5,padding:0},a={backgroundColor:"transparent",borderColor:"transparent",shadowColor:"transparent",hoverStyle:{borderColor:"transparent"}},u={backgrounded:{true:{backgroundColor:"$background"}},radiused:{true:(e,t)=>{let{tokens:n,props:r}=t;return{borderRadius:n.radius[r.size]||n.radius.$true}}},hoverTheme:{true:{hoverStyle:{backgroundColor:"$backgroundHover",borderColor:"$borderColorHover"}},false:{}},pressTheme:{true:{cursor:"pointer",pressStyle:{backgroundColor:"$backgroundPress",borderColor:"$borderColorPress"}},false:{}},focusTheme:{true:{focusStyle:{backgroundColor:"$backgroundFocus",borderColor:"$borderColorFocus"}},false:{}},circular:{true:(e,{props:t,tokens:n})=>{if(!("size"in t))return l;let r="number"==typeof t.size?t.size:n.size[t.size];return{...l,width:r,height:r,maxWidth:r,maxHeight:r,minWidth:r,minHeight:r}}},padded:{true:(e,t)=>{let{tokens:n,props:r}=t;return{padding:n.space[r.size]||n.space.$true}}},elevate:{true:(e,t)=>(0,i.y)(t.props.size,t)},bordered:(e,{props:t})=>({borderWidth:"number"==typeof e?e:1,borderColor:"$borderColor",...t.hoverTheme&&{hoverStyle:{borderColor:"$borderColorHover"}},...t.pressTheme&&{pressStyle:{borderColor:"$borderColorPress"}},...t.focusTheme&&{focusStyle:{borderColor:"$borderColorFocus"}}}),transparent:{true:{backgroundColor:"transparent"}},chromeless:{true:a,all:{...a,hoverStyle:a,pressStyle:a,focusStyle:a}}},s=(0,r.z)(o.FA,{variants:u})},1217:function(e,t,n){"use strict";n.d(t,{n:function(){return i}});var r=n(4975),o=n(2026);let i=(0,r.z)(o.J,{name:"Paragraph",tag:"p",userSelect:"auto",color:"$color",size:"$true",whiteSpace:"normal"})},2026:function(e,t,n){"use strict";n.d(t,{J:function(){return a}});var r=n(8970),o=n(4975),i=n(8475),l=n(357);let a=(0,o.z)(i.x,{name:"SizableText",fontFamily:"$body",variants:{unstyled:{false:{size:"$true",color:"$color"}},size:r.H},defaultVariants:{unstyled:"1"===l.env.TAMAGUI_HEADLESS}});a.staticConfig.variants.fontFamily={"...":(e,t)=>{let n=t.props.size||"$true";return(0,r.H)(n,t)}}},2875:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var r=n(2265),o=n(2281);function i(e,t,n){let{children:i,textProps:l,size:a,noTextWrap:u,color:s,fontFamily:c,fontSize:d,fontWeight:f,letterSpacing:p,textAlign:h,fontStyle:m,maxFontSizeMultiplier:v}=t;if(u||!i)return[i];let g={...n};return s&&(g.color=s),c&&(g.fontFamily=c),d&&(g.fontSize=d),f&&(g.fontWeight=f),p&&(g.letterSpacing=p),h&&(g.textAlign=h),a&&(g.size=a),m&&(g.fontStyle=m),v&&(g.maxFontSizeMultiplier=v),r.Children.toArray(i).map((t,n)=>"string"==typeof t?(0,o.jsx)(e,{...g,...l,children:t},n):t)}},3020:function(e,t,n){"use strict";n.d(t,{h:function(){return o}});var r=n(2265);function o(e){if(typeof document>"u")return(0,r.useMemo)(()=>e(),[]);let t=(0,r.useRef)();return t.current||(t.current={v:e()}),t.current.v}},3277:function(e,t,n){"use strict";n.d(t,{T:function(){return l}});var r=n(9087),o=n(2265);let i=e=>e();function l({prop:e,defaultProp:t,onChange:n,strategy:l="prop-wins",preventUpdate:u,transition:s}){let[c,d]=(0,o.useState)(e??t),f=(0,o.useRef)(c),p="prop-wins"===l&&void 0!==e,h=p?e:c,m=(0,r.z)(n||a),v=s?o.startTransition:i;return(0,o.useEffect)(()=>{void 0!==e&&(f.current=e,v(()=>{d(e)}))},[e]),(0,o.useEffect)(()=>{p||c!==f.current&&(f.current=c,m(c))},[m,c,p]),[h,(0,r.z)(e=>{u||(p?m("function"==typeof e?e(f.current):e):v(()=>{d(e)}))})]}let a=()=>{}},1386:function(e,t,n){"use strict";n.d(t,{Lb:function(){return f},wN:function(){return d}});var r=n(2265),o=n(5986),i=n(7562),l=n(9100),a=n(8075),u=n(5566),s=n(9097),c=n(8411);function d(e,t){let[n,r]=f(e,{...t,noExpand:!0,noNormalize:!0,resolveValues:"none"});return{...n,...r}}function f(e,t){let n=t?.forComponent?.staticConfig??u.K.staticConfig,[d,f]=(0,c.WU)({componentName:n.componentName}),p=(0,r.useContext)(i.s),{state:h,disabled:m,setStateShallow:v}=(0,l.Ee)(e,p,n,(0,o.iE)()),g=(0,s.GS)(),b=(0,a.DP)(e,n,f,d.state?.name||"",h,{isAnimated:!1,mediaState:g,noSkip:!0,noMergeStyle:!0,noClassNames:!0,resolveValues:"auto",...t},null,p),{mediaGroups:y,pseudoGroups:S}=b;return(0,r.useEffect)(()=>{if(!m){if(h.unmounted){v({unmounted:!1});return}return(0,l.En)({disabled:m,componentContext:p,setStateShallow:v,state:h,mediaGroups:y,pseudoGroups:S})}},[m,S?Object.keys([...S]).join(""):0,y?Object.keys([...y]).join(""):0]),[b.viewProps,b.style||{},f,g]}},4582:function(e,t,n){"use strict";n.d(t,{C:function(){return a}});var r=n(281),o=n(2265),i=n(9033),l=n(8411);function a(e){let t=(0,l.q4)((0,o.useContext)(i.s)),[n,a]=(0,o.useState)(t?.state.name||"");return(0,r.LI)(()=>{if(t)return a(t.state.name),t.onChangeTheme((t,n)=>{let r=e?.parent&&n.state.parentName||t;r&&a(r)})},[t?.state.name]),n}}}]);
\ No newline at end of file
diff --git a/_next/static/chunks/466-f54fd63f687cc06e.js b/_next/static/chunks/466-f54fd63f687cc06e.js
new file mode 100644
index 0000000000000000000000000000000000000000..b514609c4836ad690bbcc88581f1806cef26a9c6
--- /dev/null
+++ b/_next/static/chunks/466-f54fd63f687cc06e.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[466],{5554:function(e){"use strict";let t;function n(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function r(e,t,r){let o=r<.5?r*(1+t):r+t-r*t,i=2*r-o;return Math.round(255*n(i,o,e+1/3))<<24|Math.round(255*n(i,o,e))<<16|Math.round(255*n(i,o,e-1/3))<<8}let o="[-+]?\\d*\\.?\\d+",i=o+"%";function l(...e){return"\\(\\s*("+e.join(")\\s*,?\\s*(")+")\\s*\\)"}function a(...e){return"\\(\\s*("+e.slice(0,e.length-1).join(")\\s*,?\\s*(")+")\\s*/\\s*("+e[e.length-1]+")\\s*\\)"}function u(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}function s(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function c(e){return(parseFloat(e)%360+360)%360/360}function d(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function f(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}e.exports=function(e){let p;if("number"==typeof e)return e>>>0===e&&e>=0&&e<=4294967295?e:null;if("string"!=typeof e)return null;let h=(void 0===t&&(t={rgb:RegExp("rgb"+l(o,o,o)),rgba:RegExp("rgba("+u(o,o,o,o)+"|"+a(o,o,o,o)+")"),hsl:RegExp("hsl"+l(o,i,i)),hsla:RegExp("hsla("+u(o,i,i,o)+"|"+a(o,i,i,o)+")"),hwb:RegExp("hwb"+l(o,i,i)),hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex4:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/}),t);if(p=h.hex6.exec(e))return parseInt(p[1]+"ff",16)>>>0;let m=function(e){switch(e){case"transparent":return 0;case"aliceblue":return 4042850303;case"antiquewhite":return 4209760255;case"aqua":case"cyan":return 16777215;case"aquamarine":return 2147472639;case"azure":return 4043309055;case"beige":return 4126530815;case"bisque":return 4293182719;case"black":return 255;case"blanchedalmond":return 4293643775;case"blue":return 65535;case"blueviolet":return 2318131967;case"brown":return 2771004159;case"burlywood":return 3736635391;case"burntsienna":return 3934150143;case"cadetblue":return 1604231423;case"chartreuse":return 2147418367;case"chocolate":return 3530104575;case"coral":return 4286533887;case"cornflowerblue":return 1687547391;case"cornsilk":return 4294499583;case"crimson":return 3692313855;case"darkblue":return 35839;case"darkcyan":return 9145343;case"darkgoldenrod":return 3095792639;case"darkgray":case"darkgrey":return 2846468607;case"darkgreen":return 6553855;case"darkkhaki":return 3182914559;case"darkmagenta":return 2332068863;case"darkolivegreen":return 1433087999;case"darkorange":return 4287365375;case"darkorchid":return 2570243327;case"darkred":return 2332033279;case"darksalmon":return 3918953215;case"darkseagreen":return 2411499519;case"darkslateblue":return 1211993087;case"darkslategray":case"darkslategrey":return 793726975;case"darkturquoise":return 13554175;case"darkviolet":return 2483082239;case"deeppink":return 4279538687;case"deepskyblue":return 12582911;case"dimgray":case"dimgrey":return 1768516095;case"dodgerblue":return 512819199;case"firebrick":return 2988581631;case"floralwhite":return 4294635775;case"forestgreen":return 579543807;case"fuchsia":case"magenta":return 4278255615;case"gainsboro":return 3705462015;case"ghostwhite":return 4177068031;case"gold":return 4292280575;case"goldenrod":return 3668254975;case"gray":case"grey":return 2155905279;case"green":return 8388863;case"greenyellow":return 2919182335;case"honeydew":return 4043305215;case"hotpink":return 4285117695;case"indianred":return 3445382399;case"indigo":return 1258324735;case"ivory":return 4294963455;case"khaki":return 4041641215;case"lavender":return 3873897215;case"lavenderblush":return 4293981695;case"lawngreen":return 2096890111;case"lemonchiffon":return 4294626815;case"lightblue":return 2916673279;case"lightcoral":return 4034953471;case"lightcyan":return 3774873599;case"lightgoldenrodyellow":return 4210742015;case"lightgray":case"lightgrey":return 3553874943;case"lightgreen":return 2431553791;case"lightpink":return 4290167295;case"lightsalmon":return 4288707327;case"lightseagreen":return 548580095;case"lightskyblue":return 2278488831;case"lightslategray":case"lightslategrey":return 2005441023;case"lightsteelblue":return 2965692159;case"lightyellow":return 4294959359;case"lime":return 16711935;case"limegreen":return 852308735;case"linen":return 4210091775;case"maroon":return 2147483903;case"mediumaquamarine":return 1724754687;case"mediumblue":return 52735;case"mediumorchid":return 3126187007;case"mediumpurple":return 2473647103;case"mediumseagreen":return 1018393087;case"mediumslateblue":return 2070474495;case"mediumspringgreen":return 16423679;case"mediumturquoise":return 1221709055;case"mediumvioletred":return 3340076543;case"midnightblue":return 421097727;case"mintcream":return 4127193855;case"mistyrose":return 4293190143;case"moccasin":return 4293178879;case"navajowhite":return 4292783615;case"navy":return 33023;case"oldlace":return 4260751103;case"olive":return 2155872511;case"olivedrab":return 1804477439;case"orange":return 4289003775;case"orangered":return 4282712319;case"orchid":return 3664828159;case"palegoldenrod":return 4008225535;case"palegreen":return 2566625535;case"paleturquoise":return 2951671551;case"palevioletred":return 3681588223;case"papayawhip":return 4293907967;case"peachpuff":return 4292524543;case"peru":return 3448061951;case"pink":return 4290825215;case"plum":return 3718307327;case"powderblue":return 2967529215;case"purple":return 2147516671;case"rebeccapurple":return 1714657791;case"red":return 4278190335;case"rosybrown":return 3163525119;case"royalblue":return 1097458175;case"saddlebrown":return 2336560127;case"salmon":return 4202722047;case"sandybrown":return 4104413439;case"seagreen":return 780883967;case"seashell":return 4294307583;case"sienna":return 2689740287;case"silver":return 3233857791;case"skyblue":return 2278484991;case"slateblue":return 1784335871;case"slategray":case"slategrey":return 1887473919;case"snow":return 4294638335;case"springgreen":return 16744447;case"steelblue":return 1182971135;case"tan":return 3535047935;case"teal":return 8421631;case"thistle":return 3636451583;case"tomato":return 4284696575;case"turquoise":return 1088475391;case"violet":return 4001558271;case"wheat":return 4125012991;case"white":return 4294967295;case"whitesmoke":return 4126537215;case"yellow":return 4294902015;case"yellowgreen":return 2597139199}return null}(e);return null!=m?m:(p=h.rgb.exec(e))?(s(p[1])<<24|s(p[2])<<16|s(p[3])<<8|255)>>>0:(p=h.rgba.exec(e))?void 0!==p[6]?(s(p[6])<<24|s(p[7])<<16|s(p[8])<<8|d(p[9]))>>>0:(s(p[2])<<24|s(p[3])<<16|s(p[4])<<8|d(p[5]))>>>0:(p=h.hex3.exec(e))?parseInt(p[1]+p[1]+p[2]+p[2]+p[3]+p[3]+"ff",16)>>>0:(p=h.hex8.exec(e))?parseInt(p[1],16)>>>0:(p=h.hex4.exec(e))?parseInt(p[1]+p[1]+p[2]+p[2]+p[3]+p[3]+p[4]+p[4],16)>>>0:(p=h.hsl.exec(e))?(255|r(c(p[1]),f(p[2]),f(p[3])))>>>0:(p=h.hsla.exec(e))?void 0!==p[6]?(r(c(p[6]),f(p[7]),f(p[8]))|d(p[9]))>>>0:(r(c(p[2]),f(p[3]),f(p[4]))|d(p[5]))>>>0:(p=h.hwb.exec(e))?(255|function(e,t,r){if(t+r>=1){let e=Math.round(255*t/(t+r));return e<<24|e<<16|e<<8}return Math.round(255*(n(0,1,e+1/3)*(1-t-r)+t))<<24|Math.round(255*(n(0,1,e)*(1-t-r)+t))<<16|Math.round(255*(n(0,1,e-1/3)*(1-t-r)+t))<<8}(c(p[1]),f(p[2]),f(p[3])))>>>0:null}},7470:function(e,t,n){"use strict";n.d(t,{H:function(){return c}});var r=n(1386),o=n(2166),i=n(2202),l=n(5986),a=n(2265),u=n(2281),s=n(357);function c(e,t={defaultThemeColor:s.env.DEFAULT_ICON_THEME_COLOR||"$color",defaultStrokeWidth:2,fallbackColor:"#000"}){return n=>{let[a,s,c]=(0,r.Lb)(n,{...t,forComponent:o.xv,resolveValues:"web"}),d=s.color??t.defaultThemeColor,f=(0,i.E0)((d?c[d]:void 0)||s.color||(a.disableTheme?null:c.color)||t.fallbackColor),p="string"==typeof a.size?(0,l.Wi)(a.size,"size"):a.size,h="string"==typeof a.strokeWidth?(0,l.Wi)(a.strokeWidth,"size"):a.strokeWidth??`${t.defaultStrokeWidth}`;return(0,u.jsx)(e,{...a,color:f,size:p,strokeWidth:h,style:s})}}a.keep},3085:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n2?o-2:0),l=2;l0&&(a[u]=c)}else{var h=(0,o.default)(n,u,s,a,t);h&&(a[u]=h),a=(0,r.default)(t,u,a)}}return a}};var r=a(n(9886)),o=a(n(6054)),i=a(n(2065)),l=a(n(22));function a(e){return e&&e.__esModule?e:{default:e}}},1677:function(e,t){"use strict";t.Z=function(){return null}},9699:function(e,t,n){"use strict";t.Z=function(e,t){if("string"==typeof t&&!(0,r.isPrefixedValue)(t)&&-1!==t.indexOf("cross-fade("))return i.map(function(e){return t.replace(o,e+"cross-fade(")})};var r=n(3085),o=/cross-fade\(/g,i=["-webkit-",""]},5019:function(e,t){"use strict";t.Z=function(e,t){if("cursor"===e&&r.hasOwnProperty(t))return n.map(function(e){return e+t})};var n=["-webkit-","-moz-",""],r={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0}},8527:function(e,t,n){"use strict";t.Z=function(e,t){if("string"==typeof t&&!(0,r.isPrefixedValue)(t)&&-1!==t.indexOf("filter("))return i.map(function(e){return t.replace(o,e+"filter(")})};var r=n(3085),o=/filter\(/g,i=["-webkit-",""]},9779:function(e,t,n){"use strict";t.Z=function(e,t){if("string"==typeof t&&!(0,o.default)(t)&&t.indexOf("image-set(")>-1)return i.map(function(e){return t.replace(/image-set\(/g,e+"image-set(")})};var r,o=(r=n(2702))&&r.__esModule?r:{default:r},i=["-webkit-",""]},2316:function(e,t){"use strict";t.Z=function(e,t,r){if(Object.prototype.hasOwnProperty.call(n,e))for(var o=n[e],i=0,l=o.length;i-1&&"order"!==d)for(var f=t[c],p=0,h=f.length;p-1)return c;var d=s.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(e){return!/-webkit-|-ms-/.test(e)}).join(",");return e.indexOf("Moz")>-1?d:(n["Webkit"+(0,i.default)(e)]=c,n["Moz"+(0,i.default)(e)]=d,s)}};var r=l(n(1442)),o=l(n(2702)),i=l(n(8937));function l(e){return e&&e.__esModule?e:{default:e}}var a={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},u={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"}},2065:function(e,t){"use strict";function n(e,t){-1===e.indexOf(t)&&e.push(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(Array.isArray(t))for(var r=0,o=t.length;rv[e]),y=g.length;var S=e=>{for(let t=0;te.onPress||e.onPressIn||e.onPressOut||e.onLongPress,R=e=>e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase());function E(e){let t=[];return null!=e.translate&&t.push(`translate(${e.translate})`),(null!=e.translateX||null!=e.translateY)&&t.push(`translate(${e.translateX||0}, ${e.translateY||0})`),null!=e.scale&&t.push(`scale(${e.scale})`),(null!=e.scaleX||null!=e.scaleY)&&t.push(`scale(${e.scaleX||1}, ${e.scaleY||1})`),null!=e.rotation&&t.push(`rotate(${e.rotation})`),null!=e.skewX&&t.push(`skewX(${e.skewX})`),null!=e.skewY&&t.push(`skewY(${e.skewY})`),t}function k(e,t){let n=[];if(t&&n.push(...E(t)),Array.isArray(e)){if("number"==typeof e[0])n.push(`matrix(${e.join(" ")})`);else{let t=function(e){let t={};return null==e||e.forEach(e=>{let n=Object.keys(e);1!==n.length&&console.error("You must specify exactly one property per transform object.");let r=n[0],o=e[r];t[r]=o}),t}(e);n.push(...E(t))}}else"string"==typeof e&&n.push(e);return n.length?n.join(" "):void 0}let C=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.props,{transform:n,origin:r,originX:o,originY:i,fontFamily:l,fontSize:a,fontWeight:u,fontStyle:s,style:c,forwardedRef:d,gradientTransform:f,patternTransform:p,...h}=t,m={...x(t)?{onStartShouldSetResponder:e.touchableHandleStartShouldSetResponder,onResponderTerminationRequest:e.touchableHandleResponderTerminationRequest,onResponderGrant:e.touchableHandleResponderGrant,onResponderMove:e.touchableHandleResponderMove,onResponderRelease:e.touchableHandleResponderRelease,onResponderTerminate:e.touchableHandleResponderTerminate}:null,...h};null!=r?m["transform-origin"]=r.toString().replace(","," "):(null!=o||null!=i)&&(m["transform-origin"]=`${o||0} ${i||0}`);let v=k(n,t);v&&(m.transform=v);let g=k(f);g&&(m.gradientTransform=g);let b=k(p);b&&(m.patternTransform=b),m.ref=t=>{e.elementRef.current=t,"function"==typeof d?d(t):d&&(d.current=t)};let y={};return null!=l&&(y.fontFamily=l),null!=a&&(y.fontSize=a),null!=u&&(y.fontWeight=u),null!=s&&(y.fontStyle=s),m.style=c?w.Z?[c,y]:c[Symbol.iterator]?Object.assign({},...c,y):Object.assign({},c,y):y,m},T=e=>{if(e&&1===e.nodeType&&"function"==typeof e.getBoundingClientRect)return e.getBoundingClientRect();throw Error("Can not get boundingClientRect of "+e)},O=(e,t)=>{let n=null==e?void 0:e.parentNode;n&&setTimeout(()=>{let r=T(n),{height:o,left:i,top:l,width:a}=T(e);t(i-r.left,l-r.top,a,o,i,l)},0)};function M(){let e=this.state.touchable.responderID;null!==e&&O(e,this._handleQueryLayout)}class A extends r.Component{prepareProps(e){return e}elementRef=r.createRef();lastMergedProps={};setNativeProps(e){let t=Object.assign({},this.props,this.lastMergedProps,e.style);this.lastMergedProps=t;let n=C(this,this.prepareProps(t)),r=this.elementRef.current;if(r)for(let e of Object.keys(n)){let t=n[e];switch(e){case"ref":case"children":break;case"style":for(let e of[].concat(n.style??[]))Object.assign(r.style,e);break;default:r.setAttribute(R(e),t)}}}constructor(e){super(e),x(e)&&S(this),this._remeasureMetricsOnActivation=M.bind(this)}render(){if(!this.tag)throw Error("When extending `WebShape` you need to overwrite either `tag` or `render`!");return this.lastMergedProps={},(0,o.Z)(this.tag,C(this,this.prepareProps(this.props)))}}class P extends A{tag="circle"}class I extends A{tag="line"}class L extends A{tag="path"}class D extends A{tag="rect"}class B extends A{tag="svg";toDataURL(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.elementRef.current;if(null===r)return;let o=T(r),i=Number(n.width)||o.width,l=Number(n.height)||o.height,a=document.createElementNS("http://www.w3.org/2000/svg","svg");a.setAttribute("viewBox",`0 0 ${o.width} ${o.height}`),a.setAttribute("width",String(i)),a.setAttribute("height",String(l)),a.appendChild(r.cloneNode(!0));let u=new window.Image;u.onload=()=>{let t=document.createElement("canvas");t.width=i,t.height=l;let n=t.getContext("2d");null==n||n.drawImage(u,0,0),e(t.toDataURL().replace("data:image/png;base64,",""))},u.src=`data:image/svg+xml;utf8,${(t=new window.XMLSerializer().serializeToString(a)).replace("/g,"%3E").replace(/\s+/g," ")}`}}},7873:function(e){"use strict";function t(e,n,r,o){this.message=e,this.expected=n,this.found=r,this.location=o,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,t)}!function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(t,Error),t.buildMessage=function(e,t){var n={literal:function(e){return'"'+o(e.text)+'"'},class:function(e){var t,n="";for(t=0;t0){for(r=1,o=1;rZ&&(Z=F,V=[]),V.push(e))}function q(){var e,t,n,r,o;for(e=F,t=[],n=el();n!==d;)t.push(n),n=el();if(t!==d){if((n=function e(){var t,n,r,o,i,l,a,u,s,c,f,p,h,m,v,g,b,y;if(t=F,(n=G())!==d){for(r=[],o=ee();o!==d;)r.push(o),o=ee();r!==d&&(o=e())!==d?(i=n,l=o,a=i[0],u=i[1],s=i[2],c=i[3],f=i[4],p=i[5],h=l[0],m=l[1],v=l[2],g=l[3],t=n=[a*h+u*g,a*m+u*(b=l[4]),a*v+u*(y=l[5])+s,c*h+f*g,c*m+f*b,c*v+f*y+p]):(F=t,t=d)}else F=t,t=d;return t===d&&(t=G()),t}())===d&&(n=null),n!==d){for(r=[],o=el();o!==d;)r.push(o),o=el();r!==d?e=t=n:(F=e,e=d)}else F=e,e=d}else F=e,e=d;return e}function G(){var t;return(t=function(){var t,n,r,o,i,l,a,u,s,c,f,p,b;if(t=F,e.substr(F,6)===h?(n=h,F+=6):(n=d,0===$&&X(m)),n!==d){for(r=[],o=el();o!==d;)r.push(o),o=el();if(r!==d){if(40===e.charCodeAt(F)?(o="(",F++):(o=d,0===$&&X(v)),o!==d){for(i=[],l=el();l!==d;)i.push(l),l=el();if(i!==d){if((l=J())!==d){if(ee()!==d){if((a=J())!==d){if(ee()!==d){if((u=J())!==d){if(ee()!==d){if((s=J())!==d){if(ee()!==d){if((c=J())!==d){if(ee()!==d){if((f=J())!==d){for(p=[],b=el();b!==d;)p.push(b),b=el();p!==d&&(41===e.charCodeAt(F)?(b=")",F++):(b=d,0===$&&X(g)),b!==d)?t=n=[l,u,c,a,s,f]:(F=t,t=d)}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d;return t}())===d&&(t=function(){var t,n,r,o,i,l,a,u,s;if(t=F,e.substr(F,9)===b?(n=b,F+=9):(n=d,0===$&&X(y)),n!==d){for(r=[],o=el();o!==d;)r.push(o),o=el();if(r!==d){if(40===e.charCodeAt(F)?(o="(",F++):(o=d,0===$&&X(v)),o!==d){for(i=[],l=el();l!==d;)i.push(l),l=el();if(i!==d){if((l=J())!==d){if((a=Q())===d&&(a=null),a!==d){for(u=[],s=el();s!==d;)u.push(s),s=el();u!==d&&(41===e.charCodeAt(F)?(s=")",F++):(s=d,0===$&&X(g)),s!==d)?t=n=[1,0,l,0,1,a||0]:(F=t,t=d)}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d;return t}())===d&&(t=function(){var t,n,r,o,i,l,a,u,s,c,f;if(t=F,e.substr(F,5)===S?(n=S,F+=5):(n=d,0===$&&X(w)),n!==d){for(r=[],o=el();o!==d;)r.push(o),o=el();if(r!==d){if(40===e.charCodeAt(F)?(o="(",F++):(o=d,0===$&&X(v)),o!==d){for(i=[],l=el();l!==d;)i.push(l),l=el();if(i!==d){if((l=J())!==d){if((a=Q())===d&&(a=null),a!==d){for(u=[],s=el();s!==d;)u.push(s),s=el();u!==d&&(41===e.charCodeAt(F)?(s=")",F++):(s=d,0===$&&X(g)),s!==d)?t=n=[c=l,0,0,0,null===(f=a)?c:f,0]:(F=t,t=d)}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d;return t}())===d&&(t=function(){var t,n,r,o,i,l,a,u,s,c,f,p;if(t=F,e.substr(F,6)===x?(n=x,F+=6):(n=d,0===$&&X(R)),n!==d){for(r=[],o=el();o!==d;)r.push(o),o=el();if(r!==d){if(40===e.charCodeAt(F)?(o="(",F++):(o=d,0===$&&X(v)),o!==d){for(i=[],l=el();l!==d;)i.push(l),l=el();if(i!==d){if((l=J())!==d){if((c=F,ee()!==d&&(f=J())!==d&&ee()!==d&&(p=J())!==d)?c=[f,p]:(F=c,c=d),(a=c)===d&&(a=null),a!==d){for(u=[],s=el();s!==d;)u.push(s),s=el();u!==d?(41===e.charCodeAt(F)?(s=")",F++):(s=d,0===$&&X(g)),s!==d?t=n=E(l,a):(F=t,t=d)):(F=t,t=d)}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d;return t}())===d&&(t=function(){var t,n,r,o,i,l,a,u;if(t=F,e.substr(F,5)===k?(n=k,F+=5):(n=d,0===$&&X(C)),n!==d){for(r=[],o=el();o!==d;)r.push(o),o=el();if(r!==d){if(40===e.charCodeAt(F)?(o="(",F++):(o=d,0===$&&X(v)),o!==d){for(i=[],l=el();l!==d;)i.push(l),l=el();if(i!==d){if((l=J())!==d){for(a=[],u=el();u!==d;)a.push(u),u=el();a!==d&&(41===e.charCodeAt(F)?(u=")",F++):(u=d,0===$&&X(g)),u!==d)?t=n=[1,Math.tan(ea*l),0,0,1,0]:(F=t,t=d)}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d;return t}())===d&&(t=function(){var t,n,r,o,i,l,a,u;if(t=F,e.substr(F,5)===T?(n=T,F+=5):(n=d,0===$&&X(O)),n!==d){for(r=[],o=el();o!==d;)r.push(o),o=el();if(r!==d){if(40===e.charCodeAt(F)?(o="(",F++):(o=d,0===$&&X(v)),o!==d){for(i=[],l=el();l!==d;)i.push(l),l=el();if(i!==d){if((l=J())!==d){for(a=[],u=el();u!==d;)a.push(u),u=el();a!==d&&(41===e.charCodeAt(F)?(u=")",F++):(u=d,0===$&&X(g)),u!==d)?t=n=[1,0,0,Math.tan(ea*l),1,0]:(F=t,t=d)}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d}else F=t,t=d;return t}()),t}function J(){var t,n,r,o,i,l,a,u,s,c,f,p,h,m;if(t=F,n=F,(r=er())===d&&(r=null),r!==d&&(i=F,l=F,(($++,c=F,(f=eo())===d&&(f=null),f!==d&&(46===e.charCodeAt(F)?(p=".",F++):(p=d,0===$&&X(I)),p!==d&&(h=eo())!==d))?c=f=[(m=f)?m.join(""):null,".",h.join("")].join(""):(F=c,c=d),c===d&&(c=F,(f=eo())!==d?(46===e.charCodeAt(F)?(p=".",F++):(p=d,0===$&&X(I)),p!==d?c=f=A(f):(F=c,c=d)):(F=c,c=d)),$--,c===d&&(f=d,0===$&&X(P)),(a=c)!==d)?((u=en())===d&&(u=null),u!==d?l=a=[a,u]:(F=l,l=d)):(F=l,l=d),l!==d&&(l=l.join("")),(i=l)===d&&(i=F,l=F,(a=eo())!==d&&(u=en())!==d?l=a=[a,u]:(F=l,l=d),l!==d&&(l=A(l)),i=l),(o=i)!==d)?n=r=[r,o]:(F=n,n=d),n!==d)n=parseFloat(n.join(""));return(t=n)===d&&(t=F,n=F,(r=er())===d&&(r=null),r!==d&&((s=eo())!==d&&(s=s.join("")),(o=s)!==d)?n=r=[r,o]:(F=n,n=d),n!==d&&(n=parseInt(n.join(""))),t=n),t}function Q(){var e,t;return(e=F,ee()!==d&&(t=J())!==d)?e=t:(F=e,e=d),e}function ee(){var e,t,n,r,o;if(e=F,t=[],(n=el())!==d)for(;n!==d;)t.push(n),n=el();else t=d;if(t!==d){if((n=et())===d&&(n=null),n!==d){for(r=[],o=el();o!==d;)r.push(o),o=el();r!==d?e=t=[t,n,r]:(F=e,e=d)}else F=e,e=d}else F=e,e=d;if(e===d){if(e=F,(t=et())!==d){for(n=[],r=el();r!==d;)n.push(r),r=el();n!==d?e=t=[t,n]:(F=e,e=d)}else F=e,e=d}return e}function et(){var t;return 44===e.charCodeAt(F)?(t=",",F++):(t=d,0===$&&X(M)),t}function en(){var t,n,r,o,i;return t=F,L.test(e.charAt(F))?(n=e.charAt(F),F++):(n=d,0===$&&X(D)),n!==d?((r=er())===d&&(r=null),r!==d&&(o=eo())!==d?t=n=[n,r,o]:(F=t,t=d)):(F=t,t=d),t!==d&&(t=[(i=t)[0],i[1],i[2].join("")].join("")),t}function er(){var t;return B.test(e.charAt(F))?(t=e.charAt(F),F++):(t=d,0===$&&X(W)),t}function eo(){var e,t;if(e=[],(t=ei())!==d)for(;t!==d;)e.push(t),t=ei();else e=d;return e}function ei(){var t;return N.test(e.charAt(F))?(t=e.charAt(F),F++):(t=d,0===$&&X(z)),t}function el(){var t;return j.test(e.charAt(F))?(t=e.charAt(F),F++):(t=d,0===$&&X(H)),t}var ea=Math.PI/180;if((c=p())!==d&&F===e.length)return c;throw c!==d&&Fe(l))}class d{static get(e){return u&&(u=!1,s()),o()(l[e],"No dimension set for key "+e),l[e]}static set(e){e&&(i.Z?o()(!1,"Dimensions cannot be set in the browser"):(null!=e.screen&&(l.screen=e.screen),null!=e.window&&(l.window=e.window)))}static addEventListener(e,t){return a[e]=a[e]||[],a[e].push(t),{remove:()=>{this.removeEventListener(e,t)}}}static removeEventListener(e,t){Array.isArray(a[e])&&(a[e]=a[e].filter(e=>e!==t))}}i.Z&&(window.visualViewport?window.visualViewport.addEventListener("resize",c,!1):window.addEventListener("resize",c,!1))},1775:function(e,t,n){"use strict";var r=n(5832);t.Z={isVisible:()=>!1,addListener:()=>({remove:()=>{}}),dismiss(){(0,r.Z)()},removeAllListeners(){},removeListener(){}}},1840:function(e,t){"use strict";t.Z={OS:"web",select:e=>"web"in e?e.web:e.default,get isTesting(){return!1}}},5589:function(e,t,n){"use strict";n.d(t,{Z:function(){return A}});var r=n(7998),o=n(2988),i=n(3950),l=n(1090),a=n(5832),u=n(7445),s=n.n(u),c=n(2050),d=n(1840),f=n(2265),p=n(929),h=n(5275),m=n(9926),v=["onScroll","onTouchMove","onWheel","scrollEnabled","scrollEventThrottle","showsHorizontalScrollIndicator","showsVerticalScrollIndicator","style"];function g(e){return{nativeEvent:{contentOffset:{get x(){return e.target.scrollLeft},get y(){return e.target.scrollTop}},contentSize:{get height(){return e.target.scrollHeight},get width(){return e.target.scrollWidth}},layoutMeasurement:{get height(){return e.target.offsetHeight},get width(){return e.target.offsetWidth}}},timeStamp:Date.now()}}var b=f.forwardRef((e,t)=>{var n=e.onScroll,r=e.onTouchMove,l=e.onWheel,a=e.scrollEnabled,u=void 0===a||a,s=e.scrollEventThrottle,c=void 0===s?0:s,d=e.showsHorizontalScrollIndicator,p=e.showsVerticalScrollIndicator,b=e.style,S=(0,i.Z)(e,v),w=f.useRef({isScrolling:!1,scrollLastTick:0}),x=f.useRef(null),R=f.useRef(null);function E(e){return t=>{u&&e&&e(t)}}function k(e){w.current.scrollLastTick=Date.now(),n&&n(g(e))}return f.createElement(h.Z,(0,o.Z)({},S,{onScroll:function(e){if(e.stopPropagation(),e.target===R.current){var t,r;(e.persist(),null!=x.current&&clearTimeout(x.current),x.current=setTimeout(()=>{w.current.isScrolling=!1,n&&n(g(e))},100),w.current.isScrolling)?(t=w.current.scrollLastTick,r=Date.now()-t,c>0&&r>=c&&k(e)):(w.current.isScrolling=!0,k(e))}},onTouchMove:E(r),onWheel:E(l),ref:(0,m.Z)(R,t),style:[b,!u&&y.scrollDisabled,(!1===d||!1===p)&&y.hideScrollbar]}))}),y=p.Z.create({scrollDisabled:{overflowX:"hidden",overflowY:"hidden",touchAction:"none"},hideScrollbar:{scrollbarWidth:"none"}}),S=n(3013),w=n(2319),x=n(9895),R=n.n(x),E=["contentContainerStyle","horizontal","onContentSizeChange","refreshControl","stickyHeaderIndices","pagingEnabled","forwardedRef","keyboardDismissMode","onScroll","centerContent"],k={};class C extends f.Component{constructor(){super(...arguments),this._scrollNodeRef=null,this._innerViewRef=null,this.isTouching=!1,this.lastMomentumScrollBeginTime=0,this.lastMomentumScrollEndTime=0,this.observedScrollSinceBecomingResponder=!1,this.becameResponderWhileAnimating=!1,this.scrollResponderHandleScrollShouldSetResponder=()=>this.isTouching,this.scrollResponderHandleStartShouldSetResponderCapture=e=>this.scrollResponderIsAnimating(),this.scrollResponderHandleTerminationRequest=()=>!this.observedScrollSinceBecomingResponder,this.scrollResponderHandleTouchEnd=e=>{var t=e.nativeEvent;this.isTouching=0!==t.touches.length,this.props.onTouchEnd&&this.props.onTouchEnd(e)},this.scrollResponderHandleResponderRelease=e=>{this.props.onResponderRelease&&this.props.onResponderRelease(e);var t=S.Z.currentlyFocusedField();this.props.keyboardShouldPersistTaps||null==t||e.target===t||this.observedScrollSinceBecomingResponder||this.becameResponderWhileAnimating||(this.props.onScrollResponderKeyboardDismissed&&this.props.onScrollResponderKeyboardDismissed(e),S.Z.blurTextInput(t))},this.scrollResponderHandleScroll=e=>{this.observedScrollSinceBecomingResponder=!0,this.props.onScroll&&this.props.onScroll(e)},this.scrollResponderHandleResponderGrant=e=>{this.observedScrollSinceBecomingResponder=!1,this.props.onResponderGrant&&this.props.onResponderGrant(e),this.becameResponderWhileAnimating=this.scrollResponderIsAnimating()},this.scrollResponderHandleScrollBeginDrag=e=>{this.props.onScrollBeginDrag&&this.props.onScrollBeginDrag(e)},this.scrollResponderHandleScrollEndDrag=e=>{this.props.onScrollEndDrag&&this.props.onScrollEndDrag(e)},this.scrollResponderHandleMomentumScrollBegin=e=>{this.lastMomentumScrollBeginTime=Date.now(),this.props.onMomentumScrollBegin&&this.props.onMomentumScrollBegin(e)},this.scrollResponderHandleMomentumScrollEnd=e=>{this.lastMomentumScrollEndTime=Date.now(),this.props.onMomentumScrollEnd&&this.props.onMomentumScrollEnd(e)},this.scrollResponderHandleTouchStart=e=>{this.isTouching=!0,this.props.onTouchStart&&this.props.onTouchStart(e)},this.scrollResponderHandleTouchMove=e=>{this.props.onTouchMove&&this.props.onTouchMove(e)},this.scrollResponderIsAnimating=()=>Date.now()-this.lastMomentumScrollEndTime<16||this.lastMomentumScrollEndTime{if("number"==typeof e)console.warn("`scrollResponderScrollTo(x, y, animated)` is deprecated. Use `scrollResponderScrollTo({x: 5, y: 5, animated: true})` instead.");else{var r=e||k;e=r.x,t=r.y,n=r.animated}var o=this.getScrollableNode(),i=e||0,l=t||0;null!=o&&("function"==typeof o.scroll?o.scroll({top:l,left:i,behavior:n?"smooth":"auto"}):(o.scrollLeft=i,o.scrollTop=l))},this.scrollResponderZoomTo=(e,t)=>{"ios"!==d.Z.OS&&s()("zoomToRect is not implemented")},this.scrollResponderScrollNativeHandleToKeyboard=(e,t,n)=>{this.additionalScrollOffset=t||0,this.preventNegativeScrollOffset=!!n,w.Z.measureLayout(e,this.getInnerViewNode(),this.scrollResponderTextInputFocusError,this.scrollResponderInputMeasureAndScrollToKeyboard)},this.scrollResponderInputMeasureAndScrollToKeyboard=(e,t,n,r)=>{var o=l.Z.get("window").height;this.keyboardWillOpenTo&&(o=this.keyboardWillOpenTo.endCoordinates.screenY);var i=t-o+r+this.additionalScrollOffset;this.preventNegativeScrollOffset&&(i=Math.max(0,i)),this.scrollResponderScrollTo({x:0,y:i,animated:!0}),this.additionalOffset=0,this.preventNegativeScrollOffset=!1},this.scrollResponderKeyboardWillShow=e=>{this.keyboardWillOpenTo=e,this.props.onKeyboardWillShow&&this.props.onKeyboardWillShow(e)},this.scrollResponderKeyboardWillHide=e=>{this.keyboardWillOpenTo=null,this.props.onKeyboardWillHide&&this.props.onKeyboardWillHide(e)},this.scrollResponderKeyboardDidShow=e=>{e&&(this.keyboardWillOpenTo=e),this.props.onKeyboardDidShow&&this.props.onKeyboardDidShow(e)},this.scrollResponderKeyboardDidHide=e=>{this.keyboardWillOpenTo=null,this.props.onKeyboardDidHide&&this.props.onKeyboardDidHide(e)},this.flashScrollIndicators=()=>{this.scrollResponderFlashScrollIndicators()},this.getScrollResponder=()=>this,this.getScrollableNode=()=>this._scrollNodeRef,this.getInnerViewRef=()=>this._innerViewRef,this.getInnerViewNode=()=>this._innerViewRef,this.getNativeScrollRef=()=>this._scrollNodeRef,this.scrollTo=(e,t,n)=>{if("number"==typeof e)console.warn("`scrollTo(y, x, animated)` is deprecated. Use `scrollTo({x: 5, y: 5, animated: true})` instead.");else{var r=e||k;t=r.x,e=r.y,n=r.animated}this.scrollResponderScrollTo({x:t||0,y:e||0,animated:!1!==n})},this.scrollToEnd=e=>{var t=!1!==(e&&e.animated),n=this.props.horizontal,r=this.getScrollableNode(),o=n?r.scrollWidth:0,i=n?0:r.scrollHeight;this.scrollResponderScrollTo({x:o,y:i,animated:t})},this._handleContentOnLayout=e=>{var t=e.nativeEvent.layout,n=t.width,r=t.height;this.props.onContentSizeChange(n,r)},this._handleScroll=e=>{"on-drag"===this.props.keyboardDismissMode&&(0,a.Z)(),this.scrollResponderHandleScroll(e)},this._setInnerViewRef=e=>{this._innerViewRef=e},this._setScrollNodeRef=e=>{this._scrollNodeRef=e,null!=e&&(e.getScrollResponder=this.getScrollResponder,e.getInnerViewNode=this.getInnerViewNode,e.getInnerViewRef=this.getInnerViewRef,e.getNativeScrollRef=this.getNativeScrollRef,e.getScrollableNode=this.getScrollableNode,e.scrollTo=this.scrollTo,e.scrollToEnd=this.scrollToEnd,e.flashScrollIndicators=this.flashScrollIndicators,e.scrollResponderZoomTo=this.scrollResponderZoomTo,e.scrollResponderScrollNativeHandleToKeyboard=this.scrollResponderScrollNativeHandleToKeyboard),(0,c.Z)(this.props.forwardedRef)(e)}}scrollResponderHandleStartShouldSetResponder(){return!1}scrollResponderHandleResponderReject(){R()(!1,"ScrollView doesn't take rejection well - scrolls anyway")}scrollResponderFlashScrollIndicators(){}scrollResponderTextInputFocusError(e){console.error("Error measuring text field: ",e)}render(){var e=this.props,t=e.contentContainerStyle,n=e.horizontal,l=e.onContentSizeChange,a=e.refreshControl,u=e.stickyHeaderIndices,c=e.pagingEnabled,d=(e.forwardedRef,e.keyboardDismissMode,e.onScroll,e.centerContent),p=(0,i.Z)(e,E),m={};l&&(m={onLayout:this._handleContentOnLayout});var v=!n&&Array.isArray(u),g=v||c?f.Children.map(this.props.children,(e,t)=>{var n=v&&u.indexOf(t)>-1;return null!=e&&(n||c)?f.createElement(h.Z,{style:[n&&O.stickyHeader,c&&O.pagingEnabledChild]},e):e}):this.props.children,y=f.createElement(h.Z,(0,o.Z)({},m,{children:g,collapsable:!1,ref:this._setInnerViewRef,style:[n&&O.contentContainerHorizontal,d&&O.contentContainerCenterContent,t]})),S=n?O.baseHorizontal:O.baseVertical,w=n?O.pagingEnabledHorizontal:O.pagingEnabledVertical,x=(0,r.Z)((0,r.Z)({},p),{},{style:[S,c&&w,this.props.style],onTouchStart:this.scrollResponderHandleTouchStart,onTouchMove:this.scrollResponderHandleTouchMove,onTouchEnd:this.scrollResponderHandleTouchEnd,onScrollBeginDrag:this.scrollResponderHandleScrollBeginDrag,onScrollEndDrag:this.scrollResponderHandleScrollEndDrag,onMomentumScrollBegin:this.scrollResponderHandleMomentumScrollBegin,onMomentumScrollEnd:this.scrollResponderHandleMomentumScrollEnd,onStartShouldSetResponder:this.scrollResponderHandleStartShouldSetResponder,onStartShouldSetResponderCapture:this.scrollResponderHandleStartShouldSetResponderCapture,onScrollShouldSetResponder:this.scrollResponderHandleScrollShouldSetResponder,onScroll:this._handleScroll,onResponderGrant:this.scrollResponderHandleResponderGrant,onResponderTerminationRequest:this.scrollResponderHandleTerminationRequest,onResponderTerminate:this.scrollResponderHandleTerminate,onResponderRelease:this.scrollResponderHandleResponderRelease,onResponderReject:this.scrollResponderHandleResponderReject});s()(void 0!==b,"ScrollViewClass must not be undefined");var R=f.createElement(b,(0,o.Z)({},x,{ref:this._setScrollNodeRef}),y);return a?f.cloneElement(a,{style:x.style},R):R}}var T={flexGrow:1,flexShrink:1,transform:"translateZ(0)",WebkitOverflowScrolling:"touch"},O=p.Z.create({baseVertical:(0,r.Z)((0,r.Z)({},T),{},{flexDirection:"column",overflowX:"hidden",overflowY:"auto"}),baseHorizontal:(0,r.Z)((0,r.Z)({},T),{},{flexDirection:"row",overflowX:"auto",overflowY:"hidden"}),contentContainerHorizontal:{flexDirection:"row"},contentContainerCenterContent:{justifyContent:"center",flexGrow:1},stickyHeader:{position:"sticky",top:0,zIndex:10},pagingEnabledHorizontal:{scrollSnapType:"x mandatory"},pagingEnabledVertical:{scrollSnapType:"y mandatory"},pagingEnabledChild:{scrollSnapAlign:"start"}}),M=f.forwardRef((e,t)=>f.createElement(C,(0,o.Z)({},e,{forwardedRef:t})));M.displayName="ScrollView";var A=M},929:function(e,t,n){"use strict";n.d(t,{Z:function(){return eZ}});var r=n(7998),o=n(3950),i={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexOrder:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,gridRow:!0,gridRowEnd:!0,gridRowGap:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnGap:!0,gridColumnStart:!0,lineClamp:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0,scale:!0,scaleX:!0,scaleY:!0,scaleZ:!0,shadowOpacity:!0},l=["ms","Moz","O","Webkit"],a=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1);Object.keys(i).forEach(e=>{l.forEach(t=>{i[a(t,e)]=i[e]})});var u=e=>"currentcolor"===e||"currentColor"===e||"inherit"===e||0===e.indexOf("var("),s=n(5554),c=n.n(s),d=e=>{if(null==e)return e;var t=c()(e);if(null!=t)return(t<<24|t>>>8)>>>0},f=function(e,t){if(void 0===t&&(t=1),null!=e){if("string"==typeof e&&u(e))return e;var n=d(e);if(null!=n){var r=((n>>24&255)/255*t).toFixed(2);return"rgba("+(n>>16&255)+","+(n>>8&255)+","+(255&n)+","+r+")"}}},p={backgroundColor:!0,borderColor:!0,borderTopColor:!0,borderRightColor:!0,borderBottomColor:!0,borderLeftColor:!0,color:!0,shadowColor:!0,textDecorationColor:!0,textShadowColor:!0};function h(e,t){var n=e;return null!=t&&i[t]||"number"!=typeof e?null!=t&&p[t]&&(n=f(e)):n=e+"px",n}var m=n(1213),v={},g=!m.Z||null!=window.CSS&&null!=window.CSS.supports&&(window.CSS.supports("text-decoration-line","none")||window.CSS.supports("-webkit-text-decoration-line","none")),b='-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif',y={borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderBlockColor:["borderTopColor","borderBottomColor"],borderInlineColor:["borderRightColor","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderStyle:["borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderInlineStyle:["borderRightStyle","borderLeftStyle"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderInlineWidth:["borderRightWidth","borderLeftWidth"],insetBlock:["top","bottom"],insetInline:["left","right"],marginBlock:["marginTop","marginBottom"],marginInline:["marginRight","marginLeft"],paddingBlock:["paddingTop","paddingBottom"],paddingInline:["paddingRight","paddingLeft"],overflow:["overflowX","overflowY"],overscrollBehavior:["overscrollBehaviorX","overscrollBehaviorY"],borderBlockStartColor:["borderTopColor"],borderBlockStartStyle:["borderTopStyle"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndColor:["borderBottomColor"],borderBlockEndStyle:["borderBottomStyle"],borderBlockEndWidth:["borderBottomWidth"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],insetBlockEnd:["bottom"],insetBlockStart:["top"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"]},S=(e,t)=>{if(!e)return v;var n={};for(var r in e)if("continue"===function(){var o=e[r];if(null==o)return"continue";if("backgroundClip"===r)"text"===o&&(n.backgroundClip=o,n.WebkitBackgroundClip=o);else if("flex"===r)-1===o?(n.flexGrow=0,n.flexShrink=1,n.flexBasis="auto"):n.flex=o;else if("font"===r)n[r]=o.replace("System",b);else if("fontFamily"===r){if(o.indexOf("System")>-1){var i=o.split(/,\s*/);i[i.indexOf("System")]=b,n[r]=i.join(",")}else"monospace"===o?n[r]="monospace,monospace":n[r]=o}else if("textDecorationLine"===r)g?n.textDecorationLine=o:n.textDecoration=o;else if("writingDirection"===r)n.direction=o;else{var l=h(e[r],r),a=y[r];t&&"inset"===r?(null==e.insetInline&&(n.left=l,n.right=l),null==e.insetBlock&&(n.top=l,n.bottom=l)):t&&"margin"===r?(null==e.marginInline&&(n.marginLeft=l,n.marginRight=l),null==e.marginBlock&&(n.marginTop=l,n.marginBottom=l)):t&&"padding"===r?(null==e.paddingInline&&(n.paddingLeft=l,n.paddingRight=l),null==e.paddingBlock&&(n.paddingTop=l,n.paddingBottom=l)):a?a.forEach((t,r)=>{null==e[t]&&(n[t]=l)}):n[r]=l}}())continue;return n},w=e=>(function(e,t){for(var n,r=e.length,o=1^r,i=0;r>=4;)n=(65535&(n=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))*1540483477+(((n>>>16)*1540483477&65535)<<16),n^=n>>>24,o=(65535&o)*1540483477+(((o>>>16)*1540483477&65535)<<16)^(n=(65535&n)*1540483477+(((n>>>16)*1540483477&65535)<<16)),r-=4,++i;switch(r){case 3:o^=(255&e.charCodeAt(i+2))<<16;case 2:o^=(255&e.charCodeAt(i+1))<<8;case 1:o^=255&e.charCodeAt(i),o=(65535&o)*1540483477+(((o>>>16)*1540483477&65535)<<16)}return o^=o>>>13,o=(65535&o)*1540483477+(((o>>>16)*1540483477&65535)<<16),(o^=o>>>15)>>>0})(e,0).toString(36),x=/[A-Z]/g,R=/^ms-/,E={};function k(e){return"-"+e.toLowerCase()}var C=function(e){if(e in E)return E[e];var t=e.replace(x,k);return E[e]=R.test(t)?"-"+t:t},T=n(2933),O=n(1677),M=n(9699),A=n(5019),P=n(8527),I=n(9779),L=n(2316),D=n(9832),B=n(8579),W=n(4633),N=["Webkit"],z=["Webkit","ms"],j={plugins:[O.Z,M.Z,A.Z,P.Z,I.Z,L.Z,D.Z,B.Z,W.Z],prefixMap:{appearance:["Webkit","Moz","ms"],userSelect:["Webkit","Moz"],textEmphasisPosition:z,textEmphasis:z,textEmphasisStyle:z,textEmphasisColor:z,boxDecorationBreak:z,clipPath:N,maskImage:z,maskMode:z,maskRepeat:z,maskPosition:z,maskClip:z,maskOrigin:z,maskSize:z,maskComposite:z,mask:z,maskBorderSource:z,maskBorderMode:z,maskBorderSlice:z,maskBorderWidth:z,maskBorderOutset:z,maskBorderRepeat:z,maskBorder:z,maskType:z,textDecorationStyle:N,textDecorationSkip:N,textDecorationLine:N,textDecorationColor:N,filter:N,breakAfter:N,breakBefore:N,breakInside:N,columnCount:N,columnFill:N,columnGap:N,columnRule:N,columnRuleColor:N,columnRuleStyle:N,columnRuleWidth:N,columns:N,columnSpan:N,columnWidth:N,backdropFilter:N,hyphens:N,flowInto:N,flowFrom:N,regionFragment:N,textOrientation:N,tabSize:["Moz"],fontKerning:N,textSizeAdjust:N}},H=(0,T.Z)(j),F=["animationKeyframes"],_=new Map,Z={},V={borderColor:2,borderRadius:2,borderStyle:2,borderWidth:2,display:2,flex:2,inset:2,margin:2,overflow:2,overscrollBehavior:2,padding:2,insetBlock:2.1,insetInline:2.1,marginInline:2.1,marginBlock:2.1,paddingInline:2.1,paddingBlock:2.1,borderBlockStartColor:2.2,borderBlockStartStyle:2.2,borderBlockStartWidth:2.2,borderBlockEndColor:2.2,borderBlockEndStyle:2.2,borderBlockEndWidth:2.2,borderInlineStartColor:2.2,borderInlineStartStyle:2.2,borderInlineStartWidth:2.2,borderInlineEndColor:2.2,borderInlineEndStyle:2.2,borderInlineEndWidth:2.2,borderEndStartRadius:2.2,borderEndEndRadius:2.2,borderStartStartRadius:2.2,borderStartEndRadius:2.2,insetBlockEnd:2.2,insetBlockStart:2.2,insetInlineEnd:2.2,insetInlineStart:2.2,marginBlockStart:2.2,marginBlockEnd:2.2,marginInlineStart:2.2,marginInlineEnd:2.2,paddingBlockStart:2.2,paddingBlockEnd:2.2,paddingInlineStart:2.2,paddingInlineEnd:2.2},$="borderTopLeftRadius",K="borderTopRightRadius",U="borderBottomLeftRadius",Y="borderBottomRightRadius",X="borderLeftColor",q="borderLeftStyle",G="borderLeftWidth",J="borderRightColor",Q="borderRightStyle",ee="borderRightWidth",et="right",en="marginLeft",er="marginRight",eo="paddingLeft",ei="paddingRight",el="left",ea={[$]:K,[K]:$,[U]:Y,[Y]:U,[X]:J,[q]:Q,[G]:ee,[J]:X,[Q]:q,[ee]:G,[el]:et,[en]:er,[er]:en,[eo]:ei,[ei]:eo,[et]:el},eu={borderStartStartRadius:$,borderStartEndRadius:K,borderEndStartRadius:U,borderEndEndRadius:Y,borderInlineStartColor:X,borderInlineStartStyle:q,borderInlineStartWidth:G,borderInlineEndColor:J,borderInlineEndStyle:Q,borderInlineEndWidth:ee,insetInlineEnd:et,insetInlineStart:el,marginInlineStart:en,marginInlineEnd:er,paddingInlineStart:eo,paddingInlineEnd:ei},es=["clear","float","textAlign"];function ec(e){var t=H(S(e));return"{"+Object.keys(t).map(e=>{var n=t[e],r=C(e);return Array.isArray(n)?n.map(e=>r+":"+e).join(";"):r+":"+n}).sort().join(";")+";}"}function ed(e){if("number"==typeof e)throw Error("Invalid CSS keyframes type: "+typeof e);var t=[],n=[];return(Array.isArray(e)?e:[e]).forEach(e=>{if("string"==typeof e)t.push(e);else{var r,o,i,l=(r="r-"+w("animation"+JSON.stringify(e)),o="{"+Object.keys(e).map(t=>{var n=ec(e[t]);return""+t+n}).join("")+"}",i=["-webkit-",""].map(e=>"@"+e+"keyframes "+r+o),[r,i]),a=l[0],u=l[1];t.push(a),n.push(...u)}}),[t,n]}function ef(e,t,n){if(!m.Z)return null;var r=null!=t?t:document,o=r.getElementById(e);if(null==o){if((o=document.createElement("style")).setAttribute("id",e),"string"==typeof n&&o.appendChild(document.createTextNode(n)),r instanceof ShadowRoot)r.insertBefore(o,r.firstChild);else{var i=r.head;i&&i.insertBefore(o,i.firstChild)}}return o.sheet}var ep=Array.prototype.slice;function eh(e){var t,n={},r={};function o(e,t,r){var o=ev(n),i=o.indexOf(t)+1,l=o[i],a=null!=l&&null!=n[l].start?n[l].start:e.cssRules.length,u=function(e,t,n){try{return e.insertRule(t,n),!0}catch(e){return!1}}(e,r,a);if(u){null==n[t].start&&(n[t].start=a);for(var s=i;s{var i=e.cssText;if(i.indexOf("stylesheet-group")>-1)n[t=Number(e.selectorText.split(em)[1])]={start:o,rules:[i]};else{var l=eb(i);null!=l&&(r[l]=!0,n[t].rules.push(i))}}),{getTextContent:()=>ev(n).map(e=>{var t=n[e].rules,r=t.shift();return t.sort(),t.unshift(r),t.join("\n")}).join("\n"),insert(t,i){var l=Number(i);if(null==n[l]){var a='[stylesheet-group="'+l+'"]{}';n[l]={start:null,rules:[a]},null!=e&&o(e,l,a)}var u=eb(t);null==u||null!=r[u]||(r[u]=!0,n[l].rules.push(t),null==e||o(e,l,t)||n[l].rules.pop())}}}var em=/["']/g;function ev(e){return Object.keys(e).map(Number).sort((e,t)=>e>t?1:-1)}var eg=/\s*([,])\s*/g;function eb(e){var t=e.split("{")[0].trim();return""!==t?t.replace(eg,"$1"):null}var ey=new WeakMap,eS=[],ew=["html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);}","body{margin:0;}","button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}","input::-webkit-search-cancel-button,input::-webkit-search-decoration,input::-webkit-search-results-button,input::-webkit-search-results-decoration{display:none;}"],ex=n(7106),eR=n(131),eE={},ek={height:0,width:0},eC=e=>{var t=e.shadowColor,n=e.shadowOffset,r=e.shadowOpacity,o=e.shadowRadius,i=n||ek,l=i.height,a=h(i.width),u=h(l),s=h(o||0),c=f(t||"black",r);if(null!=c&&null!=a&&null!=u&&null!=s)return a+" "+u+" "+s+" "+c},eT=e=>{var t=e.textShadowColor,n=e.textShadowOffset,r=e.textShadowRadius,o=n||ek,i=o.height,l=o.width,a=r||0,u=h(l),s=h(i),c=h(a),d=h(t,"textShadowColor");if(d&&(0!==i||0!==l||0!==a)&&null!=u&&null!=s&&null!=c)return u+" "+s+" "+c+" "+d},eO=e=>{var t=Object.keys(e)[0],n=e[t];if("matrix"===t||"matrix3d"===t)return t+"("+n.join(",")+")";var r=h(n,t);return t+"("+r+")"},eM=e=>e.map(eO).join(" "),eA={borderBottomEndRadius:"borderEndEndRadius",borderBottomStartRadius:"borderEndStartRadius",borderTopEndRadius:"borderStartEndRadius",borderTopStartRadius:"borderStartStartRadius",borderEndColor:"borderInlineEndColor",borderEndStyle:"borderInlineEndStyle",borderEndWidth:"borderInlineEndWidth",borderStartColor:"borderInlineStartColor",borderStartStyle:"borderInlineStartStyle",borderStartWidth:"borderInlineStartWidth",end:"insetInlineEnd",marginEnd:"marginInlineEnd",marginHorizontal:"marginInline",marginStart:"marginInlineStart",marginVertical:"marginBlock",paddingEnd:"paddingInlineEnd",paddingHorizontal:"paddingInline",paddingStart:"paddingInlineStart",paddingVertical:"paddingBlock",start:"insetInlineStart"},eP={elevation:!0,overlayColor:!0,resizeMode:!0,tintColor:!0},eI=function(e,t){void 0===t&&(t={});var n=e||eE,r={};if(t.shadow,null!=n.shadowColor||null!=n.shadowOffset||null!=n.shadowOpacity||null!=n.shadowRadius){(0,eR.O)("shadowStyles",'"shadow*" style props are deprecated. Use "boxShadow".');var o=eC(n);if(null!=o&&null==r.boxShadow){var i=n.boxShadow;r.boxShadow=i?i+", "+o:o}}if(t.textShadow,null!=n.textShadowColor||null!=n.textShadowOffset||null!=n.textShadowRadius){(0,eR.O)("textShadowStyles",'"textShadow*" style props are deprecated. Use "textShadow".');var l=eT(n);if(null!=l&&null==r.textShadow){var a=n.textShadow;r.textShadow=a?a+", "+l:l}}for(var u in n)if(null==eP[u]&&"shadowColor"!==u&&"shadowOffset"!==u&&"shadowOpacity"!==u&&"shadowRadius"!==u&&"textShadowColor"!==u&&"textShadowOffset"!==u&&"textShadowRadius"!==u){var s=n[u],c=eA[u]||u,d=s;Object.prototype.hasOwnProperty.call(n,u)&&(c===u||null==n[c])&&("aspectRatio"===c&&"number"==typeof d?r[c]=d.toString():"fontVariant"===c?(Array.isArray(d)&&d.length>0&&((0,eR.O)("fontVariant",'"fontVariant" style array value is deprecated. Use space-separated values.'),d=d.join(" ")),r[c]=d):"textAlignVertical"===c?((0,eR.O)("textAlignVertical",'"textAlignVertical" style is deprecated. Use "verticalAlign".'),null==n.verticalAlign&&(r.verticalAlign="center"===d?"middle":d)):"transform"===c?(Array.isArray(d)&&(d=eM(d)),r.transform=d):r[c]=d)}return r},eL=n(8650),eD=["writingDirection"],eB=new WeakMap,eW=function(e,t){if(void 0===t&&(t="react-native-stylesheet"),m.Z){var n,r=document;if(0===eS.length)n=eh(ef(t)),ew.forEach(e=>{n.insert(e,0)}),ey.set(r,eS.length),eS.push(n);else{var o=ey.get(r);if(null==o){var i=eS[0];n=eh(ef(t,r,null!=i?i.getTextContent():"")),ey.set(r,eS.length),eS.push(n)}else n=eS[o]}}else 0===eS.length?(n=eh(ef(t)),ew.forEach(e=>{n.insert(e,0)}),eS.push(n)):n=eS[0];return{getTextContent:()=>n.getTextContent(),id:t,insert(e,t){eS.forEach(n=>{n.insert(e,t)})}}}(),eN={shadow:!0,textShadow:!0};function ez(e){e.forEach(e=>{var t=e[0],n=e[1];null!=eW&&t.forEach(e=>{eW.insert(e,n)})})}var ej={position:"absolute",left:0,right:0,top:0,bottom:0},eH=eF({x:(0,r.Z)({},ej)}).x;function eF(e){return Object.keys(e).forEach(t=>{var n,i,l,a,u,s=e[t];null!=s&&!0!==s.$$css&&(t.indexOf("$raw")>-1?(i=(n=function(e,t){var n,i={$$css:!0},l=[],a=e.animationKeyframes,u=(0,o.Z)(e,F),s="css-"+w(t+JSON.stringify(e));if(null!=a){var c=ed(a),d=c[0],f=c[1];n=d.join(","),l.push(...f)}var p=ec((0,r.Z)((0,r.Z)({},u),{},{animationName:n}));return l.push("."+s+p),i[s]=s,[i,[[l,1]]]}(s,t.split("$raw")[0]))[0],ez(n[1]),u=i):(a=(l=function(e){var t={$$css:!0},n=[];function r(e,t,r){var o,i,l="string"!=typeof(o=h(r,t))?JSON.stringify(o||""):o,a=t+l,u=_.get(a);if(null!=u)i=u[0],n.push(u[1]);else{i="r-"+w(e+(e!==t?a:l));var s=V[e]||3,c=[function(e,t,n){var r=[],o="."+e;switch(t){case"animationKeyframes":var i=ed(n),l=i[0],a=i[1],u=ec({animationName:l.join(",")});r.push(""+o+u,...a);break;case"placeholderTextColor":var s=ec({color:n,opacity:1});r.push(o+"::-webkit-input-placeholder"+s,o+"::-moz-placeholder"+s,o+":-ms-input-placeholder"+s,o+"::placeholder"+s);break;case"pointerEvents":var c=n;if("auto"===n||"box-only"===n){if(c="auto!important","box-only"===n){var d=ec({pointerEvents:"none"});r.push(o+">*"+d)}}else if(("none"===n||"box-none"===n)&&(c="none!important","box-none"===n)){var f=ec({pointerEvents:"auto"});r.push(o+">*"+f)}var p=ec({pointerEvents:c});r.push(""+o+p);break;case"scrollbarWidth":"none"===n&&r.push(o+"::-webkit-scrollbar{display:none}");var h=ec({scrollbarWidth:n});r.push(""+o+h);break;default:var m=ec({[t]:n});r.push(""+o+m)}return r}(i,t,r),s];n.push(c),_.set(a,[i,c])}return i}return Object.keys(e).sort().forEach(n=>{var o=e[n];if(null!=o){if(es.indexOf(n)>-1){var i,l=r(n,n,"left"),a=r(n,n,"right");"start"===o?i=[l,a]:"end"===o&&(i=[a,l])}var u=eu[n];if(null!=u&&(i=[r(n,u,o),r(n,ea[u],o)]),"transitionProperty"===n){for(var s=Array.isArray(o)?o:[o],c=[],d=0;d0){var p=[...s],h=[...s];c.forEach(e=>{var t=p[e];if("string"==typeof t){var o=eu[t],l=ea[o];p[e]=o,h[e]=l,i=[r(n,n,p),r(n,n,h)]}})}}null==i?i=r(n,n,o):t.$$css$localize=!0,t[n]=i}}),[t,n]}(eI(s,eN)))[0],ez(l[1]),u=a),eB.set(s,u))}),e}function e_(e,t){void 0===t&&(t={});var n,i,l,a,u,s="rtl"===t.writingDirection,c=(void 0===(n=t)&&(n={}),l=(i=n).writingDirection,a=(0,o.Z)(i,eD),u="rtl"===l,eL.D.factory({transform(e){var t=eB.get(e);return null!=t?(0,ex.j)(t,u):eI(e,(0,r.Z)((0,r.Z)({},eN),a))}})(e));return Array.isArray(c)&&null!=c[1]&&(c[1]=function(e,t){var n=e||Z,r={},o={};for(var i in n)if("continue"===function(){var e=n[i],l=i,a=e;if(!Object.prototype.hasOwnProperty.call(n,i)||null==e)return"continue";es.indexOf(i)>-1&&("start"===e?a=t?"right":"left":"end"===e&&(a=t?"left":"right"));var u=eu[i];if(null!=u&&(l=t?ea[u]:u),"transitionProperty"===i){var s=Array.isArray(e)?e:[e];s.forEach((e,n)=>{if("string"==typeof e){var r=eu[e];null!=r&&(s[n]=t?ea[r]:r,a=s.join(" "))}})}r[l]||(o[l]=a),l===i&&(r[l]=!0)}())continue;return S(o,!0)}(c[1],s)),c}e_.absoluteFill=eH,e_.absoluteFillObject=ej,e_.create=eF,e_.compose=function(e,t){return[e,t]},e_.flatten=function(){for(var e=arguments.length,t=Array(e),n=0;nReflect.has(n,r)?Reflect.get(n,r):e(),apply:()=>e()})}(!0)},2319:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(2141),o={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexOrder:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,gridRow:!0,gridRowEnd:!0,gridRowGap:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnGap:!0,gridColumnStart:!0,lineClamp:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0,scale:!0,scaleX:!0,scaleY:!0,scaleZ:!0,shadowOpacity:!0},i=["ms","Moz","O","Webkit"],l=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1);Object.keys(o).forEach(e=>{i.forEach(t=>{o[l(t,e)]=o[e]})});var a=function(e,t){var n=e.style;for(var r in t)if(t.hasOwnProperty(r)){var i,l,a=0===r.indexOf("--"),u=(i=r,null==(l=t[r])||"boolean"==typeof l||""===l?"":a||"number"!=typeof l||0===l||o.hasOwnProperty(i)&&o[i]?(""+l).trim():l+"px");"float"===r&&(r="cssFloat"),a?n.setProperty(r,u):n[r]=u}},u=e=>{var t=e.offsetHeight,n=e.offsetWidth,r=e.offsetLeft,o=e.offsetTop;for(e=e.offsetParent;e&&1===e.nodeType;)r+=e.offsetLeft+e.clientLeft-e.scrollLeft,o+=e.offsetTop+e.clientTop-e.scrollTop,e=e.offsetParent;return{width:n,height:t,top:o-=window.scrollY,left:r-=window.scrollX}},s=(e,t,n)=>{var r=t||e&&e.parentNode;e&&r&&setTimeout(()=>{if(e.isConnected&&r.isConnected){var t=u(r),o=u(e),i=o.height,l=o.left,a=o.top,s=o.width;n(l-t.left,a-t.top,s,i,l,a)}},0)},c={A:!0,BODY:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0},d={blur(e){try{e.blur()}catch(e){}},focus(e){try{var t=e.nodeName;null==e.getAttribute("tabIndex")&&!0!==e.isContentEditable&&null==c[t]&&e.setAttribute("tabIndex","-1"),e.focus()}catch(e){}},measure(e,t){s(e,null,t)},measureInWindow(e,t){e&&setTimeout(()=>{var n=(0,r.Z)(e),o=n.height;t(n.left,n.top,n.width,o)},0)},measureLayout(e,t,n,r){s(e,t,r)},updateView(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=t[n];switch(n){case"style":a(e,r);break;case"class":case"className":e.setAttribute("class",r);break;case"text":case"value":e.value=r;break;default:e.setAttribute(n,r)}}},configureNextLayoutAnimation(e,t){t()},setLayoutAnimationEnabledExperimental(){}}},5275:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(3950),o=n(2265),i=n(5803),l=n(7792),a=n(2675),u=n(9647),s=n(9926),c=n(5158),d=n(4886),f=n(929),p=(0,o.createContext)(!1),h=n(3201),m=["hrefAttrs","onLayout","onMoveShouldSetResponder","onMoveShouldSetResponderCapture","onResponderEnd","onResponderGrant","onResponderMove","onResponderReject","onResponderRelease","onResponderStart","onResponderTerminate","onResponderTerminationRequest","onScrollShouldSetResponder","onScrollShouldSetResponderCapture","onSelectionChangeShouldSetResponder","onSelectionChangeShouldSetResponderCapture","onStartShouldSetResponder","onStartShouldSetResponderCapture"],v=Object.assign({},l.lG,l.LO,l._T,l.YB,l.Uy,l.hJ,l.E5,l.vr,{href:!0,lang:!0,onScroll:!0,onWheel:!0,pointerEvents:!0}),g=e=>(0,a.Z)(e,v),b=o.forwardRef((e,t)=>{var n=e.hrefAttrs,l=e.onLayout,a=e.onMoveShouldSetResponder,f=e.onMoveShouldSetResponderCapture,v=e.onResponderEnd,b=e.onResponderGrant,S=e.onResponderMove,w=e.onResponderReject,x=e.onResponderRelease,R=e.onResponderStart,E=e.onResponderTerminate,k=e.onResponderTerminationRequest,C=e.onScrollShouldSetResponder,T=e.onScrollShouldSetResponderCapture,O=e.onSelectionChangeShouldSetResponder,M=e.onSelectionChangeShouldSetResponderCapture,A=e.onStartShouldSetResponder,P=e.onStartShouldSetResponderCapture,I=(0,r.Z)(e,m),L=o.useContext(p),D=o.useRef(null),B=(0,h.PE)().direction;(0,u.Z)(D,l),(0,d.Z)(D,{onMoveShouldSetResponder:a,onMoveShouldSetResponderCapture:f,onResponderEnd:v,onResponderGrant:b,onResponderMove:S,onResponderReject:w,onResponderRelease:x,onResponderStart:R,onResponderTerminate:E,onResponderTerminationRequest:k,onScrollShouldSetResponder:C,onScrollShouldSetResponderCapture:T,onSelectionChangeShouldSetResponder:O,onSelectionChangeShouldSetResponderCapture:M,onStartShouldSetResponder:A,onStartShouldSetResponderCapture:P});var W="div",N=null!=e.lang?(0,h.w1)(e.lang):null,z=e.dir||N,j=z||B,H=g(I);if(H.dir=z,H.style=[y.view$raw,L&&y.inline,e.style],null!=e.href&&(W="a",null!=n)){var F=n.download,_=n.rel,Z=n.target;null!=F&&(H.download=F),null!=_&&(H.rel=_),"string"==typeof Z&&(H.target="_"!==Z.charAt(0)?"_"+Z:Z)}var V=(0,c.Z)(H),$=(0,s.Z)(D,V,t);return H.ref=$,(0,i.Z)(W,H,{writingDirection:j})});b.displayName="View";var y=f.Z.create({view$raw:{alignItems:"stretch",backgroundColor:"transparent",border:"0 solid black",boxSizing:"border-box",display:"flex",flexBasis:"auto",flexDirection:"column",flexShrink:0,listStyle:"none",margin:0,minHeight:0,minWidth:0,padding:0,position:"relative",textDecoration:"none",zIndex:0},inline:{display:"inline-flex"}}),S=b},5803:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r={adjustable:"slider",button:"button",header:"heading",image:"img",imagebutton:null,keyboardkey:null,label:null,link:"link",none:"presentation",search:"search",summary:"region",text:null},o=e=>{var t=e.accessibilityRole,n=e.role||t;if(n){var o=r[n];if(null!==o)return o||n}},i={article:"article",banner:"header",blockquote:"blockquote",button:"button",code:"code",complementary:"aside",contentinfo:"footer",deletion:"del",emphasis:"em",figure:"figure",insertion:"ins",form:"form",list:"ul",listitem:"li",main:"main",navigation:"nav",paragraph:"p",region:"section",strong:"strong"},l={},a={propsToAccessibilityComponent:function(e){if(void 0===e&&(e=l),"label"===(e.role||e.accessibilityRole))return"label";var t=o(e);if(t){if("heading"===t){var n=e.accessibilityLevel||e["aria-level"];return null!=n?"h"+n:"h1"}return i[t]}},propsToAriaRole:o},u=n(7998),s=n(3950),c=n(929),d=n(131),f=["aria-activedescendant","accessibilityActiveDescendant","aria-atomic","accessibilityAtomic","aria-autocomplete","accessibilityAutoComplete","aria-busy","accessibilityBusy","aria-checked","accessibilityChecked","aria-colcount","accessibilityColumnCount","aria-colindex","accessibilityColumnIndex","aria-colspan","accessibilityColumnSpan","aria-controls","accessibilityControls","aria-current","accessibilityCurrent","aria-describedby","accessibilityDescribedBy","aria-details","accessibilityDetails","aria-disabled","accessibilityDisabled","aria-errormessage","accessibilityErrorMessage","aria-expanded","accessibilityExpanded","aria-flowto","accessibilityFlowTo","aria-haspopup","accessibilityHasPopup","aria-hidden","accessibilityHidden","aria-invalid","accessibilityInvalid","aria-keyshortcuts","accessibilityKeyShortcuts","aria-label","accessibilityLabel","aria-labelledby","accessibilityLabelledBy","aria-level","accessibilityLevel","aria-live","accessibilityLiveRegion","aria-modal","accessibilityModal","aria-multiline","accessibilityMultiline","aria-multiselectable","accessibilityMultiSelectable","aria-orientation","accessibilityOrientation","aria-owns","accessibilityOwns","aria-placeholder","accessibilityPlaceholder","aria-posinset","accessibilityPosInSet","aria-pressed","accessibilityPressed","aria-readonly","accessibilityReadOnly","aria-required","accessibilityRequired","role","accessibilityRole","aria-roledescription","accessibilityRoleDescription","aria-rowcount","accessibilityRowCount","aria-rowindex","accessibilityRowIndex","aria-rowspan","accessibilityRowSpan","aria-selected","accessibilitySelected","aria-setsize","accessibilitySetSize","aria-sort","accessibilitySort","aria-valuemax","accessibilityValueMax","aria-valuemin","accessibilityValueMin","aria-valuenow","accessibilityValueNow","aria-valuetext","accessibilityValueText","dataSet","focusable","id","nativeID","pointerEvents","style","tabIndex","testID"],p={},h=Object.prototype.hasOwnProperty,m=Array.isArray,v=/[A-Z]/g;function g(e){return"-"+e.toLowerCase()}function b(e){return m(e)?e.join(" "):e}var y=c.Z.create({auto:{pointerEvents:"auto"},"box-none":{pointerEvents:"box-none"},"box-only":{pointerEvents:"box-only"},none:{pointerEvents:"none"}}),S=(e,t,n)=>{t||(t=p);var r=t,o=r["aria-activedescendant"],i=r.accessibilityActiveDescendant,l=r["aria-atomic"],m=r.accessibilityAtomic,S=r["aria-autocomplete"],w=r.accessibilityAutoComplete,x=r["aria-busy"],R=r.accessibilityBusy,E=r["aria-checked"],k=r.accessibilityChecked,C=r["aria-colcount"],T=r.accessibilityColumnCount,O=r["aria-colindex"],M=r.accessibilityColumnIndex,A=r["aria-colspan"],P=r.accessibilityColumnSpan,I=r["aria-controls"],L=r.accessibilityControls,D=r["aria-current"],B=r.accessibilityCurrent,W=r["aria-describedby"],N=r.accessibilityDescribedBy,z=r["aria-details"],j=r.accessibilityDetails,H=r["aria-disabled"],F=r.accessibilityDisabled,_=r["aria-errormessage"],Z=r.accessibilityErrorMessage,V=r["aria-expanded"],$=r.accessibilityExpanded,K=r["aria-flowto"],U=r.accessibilityFlowTo,Y=r["aria-haspopup"],X=r.accessibilityHasPopup,q=r["aria-hidden"],G=r.accessibilityHidden,J=r["aria-invalid"],Q=r.accessibilityInvalid,ee=r["aria-keyshortcuts"],et=r.accessibilityKeyShortcuts,en=r["aria-label"],er=r.accessibilityLabel,eo=r["aria-labelledby"],ei=r.accessibilityLabelledBy,el=r["aria-level"],ea=r.accessibilityLevel,eu=r["aria-live"],es=r.accessibilityLiveRegion,ec=r["aria-modal"],ed=r.accessibilityModal,ef=r["aria-multiline"],ep=r.accessibilityMultiline,eh=r["aria-multiselectable"],em=r.accessibilityMultiSelectable,ev=r["aria-orientation"],eg=r.accessibilityOrientation,eb=r["aria-owns"],ey=r.accessibilityOwns,eS=r["aria-placeholder"],ew=r.accessibilityPlaceholder,ex=r["aria-posinset"],eR=r.accessibilityPosInSet,eE=r["aria-pressed"],ek=r.accessibilityPressed,eC=r["aria-readonly"],eT=r.accessibilityReadOnly,eO=r["aria-required"],eM=r.accessibilityRequired,eA=(r.role,r.accessibilityRole),eP=r["aria-roledescription"],eI=r.accessibilityRoleDescription,eL=r["aria-rowcount"],eD=r.accessibilityRowCount,eB=r["aria-rowindex"],eW=r.accessibilityRowIndex,eN=r["aria-rowspan"],ez=r.accessibilityRowSpan,ej=r["aria-selected"],eH=r.accessibilitySelected,eF=r["aria-setsize"],e_=r.accessibilitySetSize,eZ=r["aria-sort"],eV=r.accessibilitySort,e$=r["aria-valuemax"],eK=r.accessibilityValueMax,eU=r["aria-valuemin"],eY=r.accessibilityValueMin,eX=r["aria-valuenow"],eq=r.accessibilityValueNow,eG=r["aria-valuetext"],eJ=r.accessibilityValueText,eQ=r.dataSet,e0=r.focusable,e1=r.id,e2=r.nativeID,e5=r.pointerEvents,e3=r.style,e4=r.tabIndex,e7=r.testID,e9=(0,s.Z)(r,f);null!=F&&(0,d.O)("accessibilityDisabled","accessibilityDisabled is deprecated.");var e8=a.propsToAriaRole(t);null!=i&&(0,d.O)("accessibilityActiveDescendant","accessibilityActiveDescendant is deprecated. Use aria-activedescendant.");var e6=null!=o?o:i;null!=e6&&(e9["aria-activedescendant"]=e6),null!=m&&(0,d.O)("accessibilityAtomic","accessibilityAtomic is deprecated. Use aria-atomic.");var te=null!=l?o:m;null!=te&&(e9["aria-atomic"]=te),null!=w&&(0,d.O)("accessibilityAutoComplete","accessibilityAutoComplete is deprecated. Use aria-autocomplete.");var tt=null!=S?S:w;null!=tt&&(e9["aria-autocomplete"]=tt),null!=R&&(0,d.O)("accessibilityBusy","accessibilityBusy is deprecated. Use aria-busy.");var tn=null!=x?x:R;null!=tn&&(e9["aria-busy"]=tn),null!=k&&(0,d.O)("accessibilityChecked","accessibilityChecked is deprecated. Use aria-checked.");var tr=null!=E?E:k;null!=tr&&(e9["aria-checked"]=tr),null!=T&&(0,d.O)("accessibilityColumnCount","accessibilityColumnCount is deprecated. Use aria-colcount.");var to=null!=C?C:T;null!=to&&(e9["aria-colcount"]=to),null!=M&&(0,d.O)("accessibilityColumnIndex","accessibilityColumnIndex is deprecated. Use aria-colindex.");var ti=null!=O?O:M;null!=ti&&(e9["aria-colindex"]=ti),null!=P&&(0,d.O)("accessibilityColumnSpan","accessibilityColumnSpan is deprecated. Use aria-colspan.");var tl=null!=A?A:P;null!=tl&&(e9["aria-colspan"]=tl),null!=L&&(0,d.O)("accessibilityControls","accessibilityControls is deprecated. Use aria-controls.");var ta=null!=I?I:L;null!=ta&&(e9["aria-controls"]=b(ta)),null!=B&&(0,d.O)("accessibilityCurrent","accessibilityCurrent is deprecated. Use aria-current.");var tu=null!=D?D:B;null!=tu&&(e9["aria-current"]=tu),null!=N&&(0,d.O)("accessibilityDescribedBy","accessibilityDescribedBy is deprecated. Use aria-describedby.");var ts=null!=W?W:N;null!=ts&&(e9["aria-describedby"]=b(ts)),null!=j&&(0,d.O)("accessibilityDetails","accessibilityDetails is deprecated. Use aria-details.");var tc=null!=z?z:j;null!=tc&&(e9["aria-details"]=tc),!0===(H||F)&&(e9["aria-disabled"]=!0,("button"===e||"form"===e||"input"===e||"select"===e||"textarea"===e)&&(e9.disabled=!0)),null!=Z&&(0,d.O)("accessibilityErrorMessage","accessibilityErrorMessage is deprecated. Use aria-errormessage.");var td=null!=_?_:Z;null!=td&&(e9["aria-errormessage"]=td),null!=$&&(0,d.O)("accessibilityExpanded","accessibilityExpanded is deprecated. Use aria-expanded.");var tf=null!=V?V:$;null!=tf&&(e9["aria-expanded"]=tf),null!=U&&(0,d.O)("accessibilityFlowTo","accessibilityFlowTo is deprecated. Use aria-flowto.");var tp=null!=K?K:U;null!=tp&&(e9["aria-flowto"]=b(tp)),null!=X&&(0,d.O)("accessibilityHasPopup","accessibilityHasPopup is deprecated. Use aria-haspopup.");var th=null!=Y?Y:X;null!=th&&(e9["aria-haspopup"]=th),null!=G&&(0,d.O)("accessibilityHidden","accessibilityHidden is deprecated. Use aria-hidden.");var tm=null!=q?q:G;!0===tm&&(e9["aria-hidden"]=tm),null!=Q&&(0,d.O)("accessibilityInvalid","accessibilityInvalid is deprecated. Use aria-invalid.");var tv=null!=J?J:Q;null!=tv&&(e9["aria-invalid"]=tv),null!=et&&(0,d.O)("accessibilityKeyShortcuts","accessibilityKeyShortcuts is deprecated. Use aria-keyshortcuts.");var tg=null!=ee?ee:et;null!=tg&&(e9["aria-keyshortcuts"]=b(tg)),null!=er&&(0,d.O)("accessibilityLabel","accessibilityLabel is deprecated. Use aria-label.");var tb=null!=en?en:er;null!=tb&&(e9["aria-label"]=tb),null!=ei&&(0,d.O)("accessibilityLabelledBy","accessibilityLabelledBy is deprecated. Use aria-labelledby.");var ty=null!=eo?eo:ei;null!=ty&&(e9["aria-labelledby"]=b(ty)),null!=ea&&(0,d.O)("accessibilityLevel","accessibilityLevel is deprecated. Use aria-level.");var tS=null!=el?el:ea;null!=tS&&(e9["aria-level"]=tS),null!=es&&(0,d.O)("accessibilityLiveRegion","accessibilityLiveRegion is deprecated. Use aria-live.");var tw=null!=eu?eu:es;null!=tw&&(e9["aria-live"]="none"===tw?"off":tw),null!=ed&&(0,d.O)("accessibilityModal","accessibilityModal is deprecated. Use aria-modal.");var tx=null!=ec?ec:ed;null!=tx&&(e9["aria-modal"]=tx),null!=ep&&(0,d.O)("accessibilityMultiline","accessibilityMultiline is deprecated. Use aria-multiline.");var tR=null!=ef?ef:ep;null!=tR&&(e9["aria-multiline"]=tR),null!=em&&(0,d.O)("accessibilityMultiSelectable","accessibilityMultiSelectable is deprecated. Use aria-multiselectable.");var tE=null!=eh?eh:em;null!=tE&&(e9["aria-multiselectable"]=tE),null!=eg&&(0,d.O)("accessibilityOrientation","accessibilityOrientation is deprecated. Use aria-orientation.");var tk=null!=ev?ev:eg;null!=tk&&(e9["aria-orientation"]=tk),null!=ey&&(0,d.O)("accessibilityOwns","accessibilityOwns is deprecated. Use aria-owns.");var tC=null!=eb?eb:ey;null!=tC&&(e9["aria-owns"]=b(tC)),null!=ew&&(0,d.O)("accessibilityPlaceholder","accessibilityPlaceholder is deprecated. Use aria-placeholder.");var tT=null!=eS?eS:ew;null!=tT&&(e9["aria-placeholder"]=tT),null!=eR&&(0,d.O)("accessibilityPosInSet","accessibilityPosInSet is deprecated. Use aria-posinset.");var tO=null!=ex?ex:eR;null!=tO&&(e9["aria-posinset"]=tO),null!=ek&&(0,d.O)("accessibilityPressed","accessibilityPressed is deprecated. Use aria-pressed.");var tM=null!=eE?eE:ek;null!=tM&&(e9["aria-pressed"]=tM),null!=eT&&(0,d.O)("accessibilityReadOnly","accessibilityReadOnly is deprecated. Use aria-readonly.");var tA=null!=eC?eC:eT;null!=tA&&(e9["aria-readonly"]=tA,("input"===e||"select"===e||"textarea"===e)&&(e9.readOnly=!0)),null!=eM&&(0,d.O)("accessibilityRequired","accessibilityRequired is deprecated. Use aria-required.");var tP=null!=eO?eO:eM;null!=tP&&(e9["aria-required"]=tP,("input"===e||"select"===e||"textarea"===e)&&(e9.required=eM)),null!=eA&&(0,d.O)("accessibilityRole","accessibilityRole is deprecated. Use role."),null!=e8&&(e9.role="none"===e8?"presentation":e8),null!=eI&&(0,d.O)("accessibilityRoleDescription","accessibilityRoleDescription is deprecated. Use aria-roledescription.");var tI=null!=eP?eP:eI;null!=tI&&(e9["aria-roledescription"]=tI),null!=eD&&(0,d.O)("accessibilityRowCount","accessibilityRowCount is deprecated. Use aria-rowcount.");var tL=null!=eL?eL:eD;null!=tL&&(e9["aria-rowcount"]=tL),null!=eW&&(0,d.O)("accessibilityRowIndex","accessibilityRowIndex is deprecated. Use aria-rowindex.");var tD=null!=eB?eB:eW;null!=tD&&(e9["aria-rowindex"]=tD),null!=ez&&(0,d.O)("accessibilityRowSpan","accessibilityRowSpan is deprecated. Use aria-rowspan.");var tB=null!=eN?eN:ez;null!=tB&&(e9["aria-rowspan"]=tB),null!=eH&&(0,d.O)("accessibilitySelected","accessibilitySelected is deprecated. Use aria-selected.");var tW=null!=ej?ej:eH;null!=tW&&(e9["aria-selected"]=tW),null!=e_&&(0,d.O)("accessibilitySetSize","accessibilitySetSize is deprecated. Use aria-setsize.");var tN=null!=eF?eF:e_;null!=tN&&(e9["aria-setsize"]=tN),null!=eV&&(0,d.O)("accessibilitySort","accessibilitySort is deprecated. Use aria-sort.");var tz=null!=eZ?eZ:eV;null!=tz&&(e9["aria-sort"]=tz),null!=eK&&(0,d.O)("accessibilityValueMax","accessibilityValueMax is deprecated. Use aria-valuemax.");var tj=null!=e$?e$:eK;null!=tj&&(e9["aria-valuemax"]=tj),null!=eY&&(0,d.O)("accessibilityValueMin","accessibilityValueMin is deprecated. Use aria-valuemin.");var tH=null!=eU?eU:eY;null!=tH&&(e9["aria-valuemin"]=tH),null!=eq&&(0,d.O)("accessibilityValueNow","accessibilityValueNow is deprecated. Use aria-valuenow.");var tF=null!=eX?eX:eq;null!=tF&&(e9["aria-valuenow"]=tF),null!=eJ&&(0,d.O)("accessibilityValueText","accessibilityValueText is deprecated. Use aria-valuetext.");var t_=null!=eG?eG:eJ;if(null!=t_&&(e9["aria-valuetext"]=t_),null!=eQ){for(var tZ in eQ)if(h.call(eQ,tZ)){var tV=tZ.replace(v,g),t$=eQ[tZ];null!=t$&&(e9["data-"+tV]=t$)}}0===e4||"0"===e4||-1===e4||"-1"===e4?e9.tabIndex=e4:(null!=e0&&(0,d.O)("focusable","focusable is deprecated."),!1===e0&&(e9.tabIndex="-1"),"a"===e||"button"===e||"input"===e||"select"===e||"textarea"===e?(!1===e0||!0===F)&&(e9.tabIndex="-1"):"button"===e8||"checkbox"===e8||"link"===e8||"radio"===e8||"textbox"===e8||"switch"===e8?!1!==e0&&(e9.tabIndex="0"):!0===e0&&(e9.tabIndex="0")),null!=e5&&(0,d.O)("pointerEvents","props.pointerEvents is deprecated. Use style.pointerEvents");var tK=(0,c.Z)([e3,e5&&y[e5]],(0,u.Z)({writingDirection:"ltr"},n)),tU=tK[0],tY=tK[1];tU&&(e9.className=tU),tY&&(e9.style=tY),null!=e2&&(0,d.O)("nativeID","nativeID is deprecated. Use id.");var tX=null!=e1?e1:e2;return null!=tX&&(e9.id=tX),null!=e7&&(e9["data-testid"]=e7),null==e9.type&&"button"===e&&(e9.type="button"),e9},w=n(2265),x=n(3201),R=(e,t,n)=>{e&&e.constructor===String&&(r=a.propsToAccessibilityComponent(t));var r,o=r||e,i=S(o,t,n),l=w.createElement(o,i);return i.dir?w.createElement(x.Iw,{children:l,direction:i.dir,locale:i.lang}):l}},3013:function(e,t,n){"use strict";var r=n(2319);t.Z={_currentlyFocusedNode:null,currentlyFocusedField(){return document.activeElement!==this._currentlyFocusedNode&&(this._currentlyFocusedNode=null),this._currentlyFocusedNode},focusTextInput(e){null!==e&&(this._currentlyFocusedNode=e,document.activeElement!==e&&r.Z.focus(e))},blurTextInput(e){null!==e&&(this._currentlyFocusedNode=null,document.activeElement===e&&r.Z.blur(e))}}},1213:function(e,t){"use strict";var n=!!("undefined"!=typeof window&&window.document&&window.document.createElement);t.Z=n},5832:function(e,t,n){"use strict";var r=n(3013);t.Z=()=>{r.Z.blurTextInput(r.Z.currentlyFocusedField())}},7792:function(e,t,n){"use strict";n.d(t,{E5:function(){return s},LO:function(){return o},Uy:function(){return a},YB:function(){return l},_T:function(){return i},hJ:function(){return u},lG:function(){return r},vr:function(){return c}});var r={children:!0,dataSet:!0,dir:!0,id:!0,ref:!0,suppressHydrationWarning:!0,tabIndex:!0,testID:!0,focusable:!0,nativeID:!0},o={"aria-activedescendant":!0,"aria-atomic":!0,"aria-autocomplete":!0,"aria-busy":!0,"aria-checked":!0,"aria-colcount":!0,"aria-colindex":!0,"aria-colspan":!0,"aria-controls":!0,"aria-current":!0,"aria-describedby":!0,"aria-details":!0,"aria-disabled":!0,"aria-errormessage":!0,"aria-expanded":!0,"aria-flowto":!0,"aria-haspopup":!0,"aria-hidden":!0,"aria-invalid":!0,"aria-keyshortcuts":!0,"aria-label":!0,"aria-labelledby":!0,"aria-level":!0,"aria-live":!0,"aria-modal":!0,"aria-multiline":!0,"aria-multiselectable":!0,"aria-orientation":!0,"aria-owns":!0,"aria-placeholder":!0,"aria-posinset":!0,"aria-pressed":!0,"aria-readonly":!0,"aria-required":!0,role:!0,"aria-roledescription":!0,"aria-rowcount":!0,"aria-rowindex":!0,"aria-rowspan":!0,"aria-selected":!0,"aria-setsize":!0,"aria-sort":!0,"aria-valuemax":!0,"aria-valuemin":!0,"aria-valuenow":!0,"aria-valuetext":!0,accessibilityActiveDescendant:!0,accessibilityAtomic:!0,accessibilityAutoComplete:!0,accessibilityBusy:!0,accessibilityChecked:!0,accessibilityColumnCount:!0,accessibilityColumnIndex:!0,accessibilityColumnSpan:!0,accessibilityControls:!0,accessibilityCurrent:!0,accessibilityDescribedBy:!0,accessibilityDetails:!0,accessibilityDisabled:!0,accessibilityErrorMessage:!0,accessibilityExpanded:!0,accessibilityFlowTo:!0,accessibilityHasPopup:!0,accessibilityHidden:!0,accessibilityInvalid:!0,accessibilityKeyShortcuts:!0,accessibilityLabel:!0,accessibilityLabelledBy:!0,accessibilityLevel:!0,accessibilityLiveRegion:!0,accessibilityModal:!0,accessibilityMultiline:!0,accessibilityMultiSelectable:!0,accessibilityOrientation:!0,accessibilityOwns:!0,accessibilityPlaceholder:!0,accessibilityPosInSet:!0,accessibilityPressed:!0,accessibilityReadOnly:!0,accessibilityRequired:!0,accessibilityRole:!0,accessibilityRoleDescription:!0,accessibilityRowCount:!0,accessibilityRowIndex:!0,accessibilityRowSpan:!0,accessibilitySelected:!0,accessibilitySetSize:!0,accessibilitySort:!0,accessibilityValueMax:!0,accessibilityValueMin:!0,accessibilityValueNow:!0,accessibilityValueText:!0},i={onClick:!0,onAuxClick:!0,onContextMenu:!0,onGotPointerCapture:!0,onLostPointerCapture:!0,onPointerCancel:!0,onPointerDown:!0,onPointerEnter:!0,onPointerMove:!0,onPointerLeave:!0,onPointerOut:!0,onPointerOver:!0,onPointerUp:!0},l={onBlur:!0,onFocus:!0},a={onKeyDown:!0,onKeyDownCapture:!0,onKeyUp:!0,onKeyUpCapture:!0},u={onMouseDown:!0,onMouseEnter:!0,onMouseLeave:!0,onMouseMove:!0,onMouseOver:!0,onMouseOut:!0,onMouseUp:!0},s={onTouchCancel:!0,onTouchCancelCapture:!0,onTouchEnd:!0,onTouchEndCapture:!0,onTouchMove:!0,onTouchMoveCapture:!0,onTouchStart:!0,onTouchStartCapture:!0},c={style:!0}},2141:function(e,t){"use strict";t.Z=e=>{if(null!=e&&1===e.nodeType&&"function"==typeof e.getBoundingClientRect)return e.getBoundingClientRect()}},2050:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n{if(null!=t){if("function"==typeof t){t(e);return}if("object"==typeof t){t.current=e;return}console.error("mergeRefs cannot handle Refs of type boolean, number or string, received ref "+String(t))}})}}n.d(t,{Z:function(){return r}}),n(2265)},2675:function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)e.hasOwnProperty(r)&&!0===t[r]&&(n[r]=e[r]);return n}n.d(t,{Z:function(){return r}})},9647:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1435),o=n(2319),i=n(1213),l="__reactLayoutHandler",a=(i.Z,null);function u(e,t){var n=(i.Z&&void 0!==window.ResizeObserver&&null==a&&(a=new window.ResizeObserver(function(e){e.forEach(e=>{var t=e.target,n=t[l];"function"==typeof n&&o.Z.measure(t,(t,r,o,i,l,a)=>{var u={nativeEvent:{layout:{x:t,y:r,width:o,height:i,left:l,top:a}},timeStamp:Date.now()};Object.defineProperty(u.nativeEvent,"target",{enumerable:!0,get:()=>e.target}),n(u)})})})),a);(0,r.Z)(()=>{var n=e.current;null!=n&&(n[l]=t)},[e,t]),(0,r.Z)(()=>{var t=e.current;return null!=t&&null!=n&&("function"==typeof t[l]?n.observe(t):n.unobserve(t)),()=>{null!=t&&null!=n&&n.unobserve(t)}},[e,n])}},1435:function(e,t,n){"use strict";var r=n(2265),o=n(1213).Z?r.useLayoutEffect:r.useEffect;t.Z=o},3201:function(e,t,n){"use strict";n.d(t,{Iw:function(){return s},w1:function(){return u},PE:function(){return c}});var r=n(2265),o=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),i=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","far","glk","he","iw","khw","ks","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]),l=new Map,a=(0,r.createContext)({direction:"ltr",locale:"en-US"});function u(e){return!function(e){var t=l.get(e);if(t)return t;var n=!1;if(Intl.Locale){var r=new Intl.Locale(e).maximize().script;n=o.has(r)}else{var a=e.split("-")[0];n=i.has(a)}return l.set(e,n),n}(e)?"ltr":"rtl"}function s(e){var t=e.direction,n=e.locale,o=e.children;return t||n?r.createElement(a.Provider,{children:o,value:{direction:n?u(n):t,locale:n}}):o}function c(){return(0,r.useContext)(a)}},9926:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2265),o=n(2050);function i(){for(var e=arguments.length,t=Array(e),n=0;n(0,o.Z)(...t),[...t])}},5158:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(2319),o=n(2265),i="function"==typeof Symbol&&"symbol"==typeof Symbol()?Symbol():Object.freeze({});function l(e){var t,n;return e.pointerEvents,e.style,t=()=>e=>{null!=e&&(e.measure=t=>r.Z.measure(e,t),e.measureLayout=(t,n,o)=>r.Z.measureLayout(e,t,o,n),e.measureInWindow=t=>r.Z.measureInWindow(e,t))},(n=o.useRef(i)).current===i&&(n.current=t()),n.current}},4886:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var r=n(2265),o=n(2141),i=()=>{},l={},a=[];function u(e){return e>20?e%20:e}function s(e,t){var n,r,s,c=!1,d=e.changedTouches,f=e.type,p=!0===e.metaKey,h=!0===e.shiftKey,m=d&&d[0].force||0,v=u(d&&d[0].identifier||0),g=d&&d[0].clientX||e.clientX,b=d&&d[0].clientY||e.clientY,y=d&&d[0].pageX||e.pageX,S=d&&d[0].pageY||e.pageY,w="function"==typeof e.preventDefault?e.preventDefault.bind(e):i,x=e.timeStamp;function R(e){return Array.prototype.slice.call(e).map(e=>({force:e.force,identifier:u(e.identifier),get locationX(){return C(e.clientX)},get locationY(){return T(e.clientY)},pageX:e.pageX,pageY:e.pageY,target:e.target,timestamp:x}))}if(null!=d)r=R(d),s=R(e.touches);else{var E=[{force:m,identifier:v,get locationX(){return C(g)},get locationY(){return T(b)},pageX:y,pageY:S,target:e.target,timestamp:x}];r=E,s="mouseup"===f||"dragstart"===f?a:E}var k={bubbles:!0,cancelable:!0,currentTarget:null,defaultPrevented:e.defaultPrevented,dispatchConfig:l,eventPhase:e.eventPhase,isDefaultPrevented:()=>e.defaultPrevented,isPropagationStopped:()=>c,isTrusted:e.isTrusted,nativeEvent:{altKey:!1,ctrlKey:!1,metaKey:p,shiftKey:h,changedTouches:r,force:m,identifier:v,get locationX(){return C(g)},get locationY(){return T(b)},pageX:y,pageY:S,target:e.target,timestamp:x,touches:s,type:f},persist:i,preventDefault:w,stopPropagation(){c=!0},target:e.target,timeStamp:x,touchHistory:t.touchHistory};function C(e){if(n=n||(0,o.Z)(k.currentTarget))return e-n.left}function T(e){if(n=n||(0,o.Z)(k.currentTarget))return e-n.top}return k}function c(e){return"touchstart"===e||"mousedown"===e}function d(e){return"touchmove"===e||"mousemove"===e}function f(e){return"touchend"===e||"mouseup"===e||p(e)}function p(e){return"touchcancel"===e||"dragstart"===e}var h="__reactResponderId";function m(e){for(var t=[];null!=e&&e!==document.body;)t.push(e),e=e.parentNode;return t}function v(e){return e.timeStamp||e.timestamp}function g(e){var t=e.identifier;return null==t&&console.error("Touch object is missing identifier."),t}function b(e){return JSON.stringify({identifier:e.identifier,pageX:e.pageX,pageY:e.pageY,timestamp:v(e)})}function y(e){var t=e.touchBank,n=JSON.stringify(t.slice(0,20));return t.length>20&&(n+=" (original size: "+t.length+")"),n}class S{constructor(){this._touchHistory={touchBank:[],numberActiveTouches:0,indexOfSingleActiveTouch:-1,mostRecentTimeStamp:0}}recordTouchTrack(e,t){var n=this._touchHistory;if(d(e))t.changedTouches.forEach(e=>{var t;(t=n.touchBank[g(e)])?(t.touchActive=!0,t.previousPageX=t.currentPageX,t.previousPageY=t.currentPageY,t.previousTimeStamp=t.currentTimeStamp,t.currentPageX=e.pageX,t.currentPageY=e.pageY,t.currentTimeStamp=v(e),n.mostRecentTimeStamp=v(e)):console.warn("Cannot record touch move without a touch start.\n","Touch Move: "+b(e)+"\n","Touch Bank: "+y(n))});else if(c(e))t.changedTouches.forEach(e=>{var t,r,o,i;return t=e,r=n,o=g(t),void((i=r.touchBank[o])?(i.touchActive=!0,i.startPageX=t.pageX,i.startPageY=t.pageY,i.startTimeStamp=v(t),i.currentPageX=t.pageX,i.currentPageY=t.pageY,i.currentTimeStamp=v(t),i.previousPageX=t.pageX,i.previousPageY=t.pageY,i.previousTimeStamp=v(t)):r.touchBank[o]={touchActive:!0,startPageX:t.pageX,startPageY:t.pageY,startTimeStamp:v(t),currentPageX:t.pageX,currentPageY:t.pageY,currentTimeStamp:v(t),previousPageX:t.pageX,previousPageY:t.pageY,previousTimeStamp:v(t)},r.mostRecentTimeStamp=v(t))}),n.numberActiveTouches=t.touches.length,1===n.numberActiveTouches&&(n.indexOfSingleActiveTouch=t.touches[0].identifier);else if(f(e)&&(t.changedTouches.forEach(e=>{var t;(t=n.touchBank[g(e)])?(t.touchActive=!1,t.previousPageX=t.currentPageX,t.previousPageY=t.currentPageY,t.previousTimeStamp=t.currentTimeStamp,t.currentPageX=e.pageX,t.currentPageY=e.pageY,t.currentTimeStamp=v(e),n.mostRecentTimeStamp=v(e)):console.warn("Cannot record touch end without a touch start.\n","Touch End: "+b(e)+"\n","Touch Bank: "+y(n))}),n.numberActiveTouches=t.touches.length,1===n.numberActiveTouches))for(var r=n.touchBank,o=0;o1)&&(O=!1),("mousedown"!==u||!O)&&("mousemove"!==u||!O)&&("mousemove"!==u||!(M<1))){if(O&&"mouseup"===u){0===M&&(O=!1);return}var g=c(u)&&(t=e.altKey,n=e.button,r=e.buttons,o=e.ctrlKey,i=e.type,l=!1===t&&!1===o,"touchstart"===i||"touchmove"===i||"mousedown"===i&&(0===n||1===r)&&!!l||"mousemove"===i&&1===r&&!!l),b=d(u),y=f(u),S="scroll"===u,w="select"===u||"selectionchange"===u,x=s(e,P);(g||b||y)&&(e.touches?M=e.touches.length:g?M=1:y&&(M=0),P.recordTouchTrack(u,x.nativeEvent));var R=function(e){for(var t=[],n=[],r="selectionchange"===e.type?m(window.getSelection().anchorNode):null!=e.composedPath?e.composedPath():m(e.target),o=0;o0){var T=A.idPath,L=R.idPath;if(null!=T&&null!=L){var D=function(e,t){var n=e.length,r=t.length;if(0===n||0===r||e[n-1]!==t[r-1])return null;var o=e[0],i=0,l=t[0],a=0;n-r>0&&(o=e[i=n-r],n=r),r-n>0&&(l=t[a=r-n],r=n);for(var u=n;u--;){if(o===l)return o;o=e[i++],l=t[a++]}return null}(T,L);if(null!=D){var B=L.indexOf(D)+(D===A.id?1:0);R={idPath:L.slice(B),nodePath:R.nodePath.slice(B)}}else R=null}null!=R&&null!=(a=function(e,t,n){var r=k[t.type];if(null!=r){for(var o=e.idPath,i=e.nodePath,l=r[0],a=r[1],u=r[2].bubbles,s=function(e,t,r){var i=I(e)[r];if(null!=i&&(n.currentTarget=t,!0===i(n))){var l=o.slice(o.indexOf(e));return{id:e,node:t,idPath:l}}},c=o.length-1;c>=0;c--){var d=s(o[c],i[c],l);if(null!=d)return d;if(!0===n.isPropagationStopped())return}if(u)for(var f=0;f=1&&"\n"!==n&&i}return"select"===e.type}(e),U=y&&!K&&!function(e,t){if(!t||0===t.length)return!1;for(var n=0;nz++,null==(o=r.useRef(null)).current&&(o.current=n()),o.current),l=r.useRef(!1);r.useEffect(()=>(w.Z&&null==window.__reactResponderSystemActive&&(window.addEventListener("blur",L),B.forEach(e=>{document.addEventListener(e,L)}),D.forEach(e=>{document.addEventListener(e,L,!0)}),window.__reactResponderSystemActive=!0),()=>{W(i)}),[i]),r.useEffect(()=>{var n,r=t,o=r.onMoveShouldSetResponder,a=r.onMoveShouldSetResponderCapture,u=r.onScrollShouldSetResponder,s=r.onScrollShouldSetResponderCapture,c=r.onSelectionChangeShouldSetResponder,d=r.onSelectionChangeShouldSetResponderCapture,f=r.onStartShouldSetResponder,p=r.onStartShouldSetResponderCapture,m=e.current;null!=o||null!=a||null!=u||null!=s||null!=c||null!=d||null!=f||null!=p?(n=t,null!=m&&(m[h]=i),T.set(i,n),l.current=!0):l.current&&(W(i),l.current=!1)},[t,e,i]),r.useDebugValue({isResponder:e.current===A.node}),r.useDebugValue(t)}},131:function(e,t,n){"use strict";function r(e,t){}n.d(t,{O:function(){return r}})},8650:function(e,t){"use strict";t.D=void 0;var n=new WeakMap;function r(e){var t,r,o;return null!=e&&(t=!0===e.disableCache,r=!0===e.disableMix,o=e.transform),function(){for(var e=[],i="",l=null,a=t?null:n,u=Array(arguments.length),s=0;s0;){var c=u.pop();if(null!=c&&!1!==c){if(Array.isArray(c)){for(var d=0;d=0)continue;n[r]=e[r]}return n}n.d(t,{Z:function(){return r}})},8143:function(e,t,n){"use strict";n.d(t,{x7:function(){return A},Me:function(){return E},oo:function(){return P},US:function(){return k},RR:function(){return O},cv:function(){return C},Jv:function(){return R},uY:function(){return T},dp:function(){return M}});var r=n(7848);function o(e,t,n){let o,{reference:i,floating:l}=e,a=(0,r.Qq)(t),u=(0,r.Wh)(t),s=(0,r.I4)(u),c=(0,r.k3)(t),d="y"===a,f=i.x+i.width/2-l.width/2,p=i.y+i.height/2-l.height/2,h=i[s]/2-l[s]/2;switch(c){case"top":o={x:f,y:i.y-l.height};break;case"bottom":o={x:f,y:i.y+i.height};break;case"right":o={x:i.x+i.width,y:p};break;case"left":o={x:i.x-l.width,y:p};break;default:o={x:i.x,y:i.y}}switch((0,r.hp)(t)){case"start":o[u]-=h*(n&&d?-1:1);break;case"end":o[u]+=h*(n&&d?-1:1)}return o}let i=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:l=[],platform:a}=n,u=l.filter(Boolean),s=await (null==a.isRTL?void 0:a.isRTL(t)),c=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:f}=o(c,r,s),p=r,h={},m=0;for(let n=0;n{try{return e.matches(t)}catch(e){return!1}})}function g(e){return h((0,u.tF)(e)).left+(0,u.Lw)(e).scrollLeft}function b(e,t,n){let o;if("viewport"===t)o=function(e,t){let n=(0,u.Jj)(e),r=(0,u.tF)(e),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,a=0,s=0;if(o){i=o.width,l=o.height;let e=(0,u.Pf)();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,s=o.offsetTop)}return{width:i,height:l,x:a,y:s}}(e,n);else if("document"===t)o=function(e){let t=(0,u.tF)(e),n=(0,u.Lw)(e),o=e.ownerDocument.body,i=(0,r.Fp)(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),l=(0,r.Fp)(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),a=-n.scrollLeft+g(e),s=-n.scrollTop;return"rtl"===(0,u.Dx)(o).direction&&(a+=(0,r.Fp)(t.clientWidth,o.clientWidth)-i),{width:i,height:l,x:a,y:s}}((0,u.tF)(e));else if((0,u.kK)(t))o=function(e,t){let n=h(e,!0,"fixed"===t),o=n.top+e.clientTop,i=n.left+e.clientLeft,l=(0,u.Re)(e)?d(e):(0,r.ze)(1),a=e.clientWidth*l.x;return{width:a,height:e.clientHeight*l.y,x:i*l.x,y:o*l.y}}(t,n);else{let n=p(e);o={...t,x:t.x-n.x,y:t.y-n.y}}return(0,r.JB)(o)}function y(e){return"static"===(0,u.Dx)(e).position}function S(e,t){return(0,u.Re)(e)&&"fixed"!==(0,u.Dx)(e).position?t?t(e):e.offsetParent:null}function w(e,t){let n=(0,u.Jj)(e);if(v(e))return n;if(!(0,u.Re)(e)){let t=(0,u.Ow)(e);for(;t&&!(0,u.Py)(t);){if((0,u.kK)(t)&&!y(t))return t;t=(0,u.Ow)(t)}return n}let r=S(e,t);for(;r&&(0,u.Ze)(r)&&y(r);)r=S(r,t);return r&&(0,u.Py)(r)&&y(r)&&!(0,u.hT)(r)?n:r||(0,u.gQ)(e)||n}let x=async function(e){let t=this.getOffsetParent||w,n=this.getDimensions,o=await n(e.floating);return{reference:function(e,t,n){let o=(0,u.Re)(t),i=(0,u.tF)(t),l="fixed"===n,a=h(e,!0,l,t),s={scrollLeft:0,scrollTop:0},c=(0,r.ze)(0);if(o||!o&&!l){if(("body"!==(0,u.wk)(t)||(0,u.ao)(i))&&(s=(0,u.Lw)(t)),o){let e=h(t,!0,l,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&(c.x=g(i))}return{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},R={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:o,strategy:i}=e,l="fixed"===i,a=(0,u.tF)(o),s=!!t&&v(t.floating);if(o===a||s&&l)return n;let c={scrollLeft:0,scrollTop:0},f=(0,r.ze)(1),p=(0,r.ze)(0),m=(0,u.Re)(o);if((m||!m&&!l)&&(("body"!==(0,u.wk)(o)||(0,u.ao)(a))&&(c=(0,u.Lw)(o)),(0,u.Re)(o))){let e=h(o);f=d(o),p.x=e.x+o.clientLeft,p.y=e.y+o.clientTop}return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-c.scrollLeft*f.x+p.x,y:n.y*f.y-c.scrollTop*f.y+p.y}},getDocumentElement:u.tF,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:i}=e,l=[..."clippingAncestors"===n?v(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=(0,u.Kx)(e,[],!1).filter(e=>(0,u.kK)(e)&&"body"!==(0,u.wk)(e)),o=null,i="fixed"===(0,u.Dx)(e).position,l=i?(0,u.Ow)(e):e;for(;(0,u.kK)(l)&&!(0,u.Py)(l);){let t=(0,u.Dx)(l),n=(0,u.hT)(l);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||(0,u.ao)(l)&&!n&&function e(t,n){let r=(0,u.Ow)(t);return!(r===n||!(0,u.kK)(r)||(0,u.Py)(r))&&("fixed"===(0,u.Dx)(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):o=t,l=(0,u.Ow)(l)}return t.set(e,r),r}(t,this._c):[].concat(n),o],a=l[0],s=l.reduce((e,n)=>{let o=b(t,n,i);return e.top=(0,r.Fp)(o.top,e.top),e.right=(0,r.VV)(o.right,e.right),e.bottom=(0,r.VV)(o.bottom,e.bottom),e.left=(0,r.Fp)(o.left,e.left),e},b(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:w,getElementRects:x,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=s(e);return{width:t,height:n}},getScale:d,isElement:u.kK,isRTL:function(e){return"rtl"===(0,u.Dx)(e).direction}};function E(e,t,n,o){let i;void 0===o&&(o={});let{ancestorScroll:l=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:f=!1}=o,p=c(e),m=l||a?[...p?(0,u.Kx)(p):[],...(0,u.Kx)(t)]:[];m.forEach(e=>{l&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let v=p&&d?function(e,t){let n,o=null,i=(0,u.tF)(e);function l(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return!function a(u,s){void 0===u&&(u=!1),void 0===s&&(s=1),l();let{left:c,top:d,width:f,height:p}=e.getBoundingClientRect();if(u||t(),!f||!p)return;let h=(0,r.GW)(d),m=(0,r.GW)(i.clientWidth-(c+f)),v={rootMargin:-h+"px "+-m+"px "+-(0,r.GW)(i.clientHeight-(d+p))+"px "+-(0,r.GW)(c)+"px",threshold:(0,r.Fp)(0,(0,r.VV)(1,s))||1},g=!0;function b(e){let t=e[0].intersectionRatio;if(t!==s){if(!g)return a();t?a(!1,t):n=setTimeout(()=>{a(!1,1e-7)},1e3)}g=!1}try{o=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch(e){o=new IntersectionObserver(b,v)}o.observe(e)}(!0),l}(p,n):null,g=-1,b=null;s&&(b=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&b&&(b.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=b)||e.observe(t)})),n()}),p&&!f&&b.observe(p),b.observe(t));let y=f?h(e):null;return f&&function t(){let r=h(e);y&&(r.x!==y.x||r.y!==y.y||r.width!==y.width||r.height!==y.height)&&n(),y=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach(e=>{l&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==v||v(),null==(e=b)||e.disconnect(),b=null,f&&cancelAnimationFrame(i)}}let k=l,C=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:o,y:i,placement:l,middlewareData:u}=t,s=await a(t,e);return l===(null==(n=u.offset)?void 0:n.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:l}}}}},T=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:o,placement:i}=t,{mainAxis:a=!0,crossAxis:u=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=(0,r.ku)(e,t),d={x:n,y:o},f=await l(t,c),p=(0,r.Qq)((0,r.k3)(i)),h=(0,r.Rn)(p),m=d[h],v=d[p];if(a){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=m+f[e],o=m-f[t];m=(0,r.uZ)(n,m,o)}if(u){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=v+f[e],o=v-f[t];v=(0,r.uZ)(n,v,o)}let g=s.fn({...t,[h]:m,[p]:v});return{...g,data:{x:g.x-n,y:g.y-o}}}}},O=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o,i,a,u;let{placement:s,middlewareData:c,rects:d,initialPlacement:f,platform:p,elements:h}=t,{mainAxis:m=!0,crossAxis:v=!0,fallbackPlacements:g,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:S=!0,...w}=(0,r.ku)(e,t);if(null!=(n=c.arrow)&&n.alignmentOffset)return{};let x=(0,r.k3)(s),R=(0,r.k3)(f)===f,E=await (null==p.isRTL?void 0:p.isRTL(h.floating)),k=g||(R||!S?[(0,r.pw)(f)]:(0,r.gy)(f));g||"none"===y||k.push(...(0,r.KX)(f,S,y,E));let C=[f,...k],T=await l(t,w),O=[],M=(null==(o=c.flip)?void 0:o.overflows)||[];if(m&&O.push(T[x]),v){let e=(0,r.i8)(s,d,E);O.push(T[e[0]],T[e[1]])}if(M=[...M,{placement:s,overflows:O}],!O.every(e=>e<=0)){let e=((null==(i=c.flip)?void 0:i.index)||0)+1,t=C[e];if(t)return{data:{index:e,overflows:M},reset:{placement:t}};let n=null==(a=M.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:a.placement;if(!n)switch(b){case"bestFit":{let e=null==(u=M.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:u[0];e&&(n=e);break}case"initialPlacement":n=f}if(s!==n)return{reset:{placement:n}}}return{}}}},M=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,o;let{placement:i,rects:a,platform:u,elements:s}=t,{apply:c=()=>{},...d}=(0,r.ku)(e,t),f=await l(t,d),p=(0,r.k3)(i),h=(0,r.hp)(i),m="y"===(0,r.Qq)(i),{width:v,height:g}=a.floating;"top"===p||"bottom"===p?(n=p,o=h===(await (null==u.isRTL?void 0:u.isRTL(s.floating))?"start":"end")?"left":"right"):(o=p,n="end"===h?"top":"bottom");let b=g-f.top-f.bottom,y=v-f.left-f.right,S=(0,r.VV)(g-f[n],b),w=(0,r.VV)(v-f[o],y),x=!t.middlewareData.shift,R=S,E=w;if(m?E=h||x?(0,r.VV)(w,y):y:R=h||x?(0,r.VV)(S,b):b,x&&!h){let e=(0,r.Fp)(f.left,0),t=(0,r.Fp)(f.right,0),n=(0,r.Fp)(f.top,0),o=(0,r.Fp)(f.bottom,0);m?E=v-2*(0!==e||0!==t?e+t:(0,r.Fp)(f.left,f.right)):R=g-2*(0!==n||0!==o?n+o:(0,r.Fp)(f.top,f.bottom))}await c({...t,availableWidth:E,availableHeight:R});let k=await u.getDimensions(s.floating);return v!==k.width||g!==k.height?{reset:{rects:!0}}:{}}}},A=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:o,placement:i,rects:l,platform:a,elements:u,middlewareData:s}=t,{element:c,padding:d=0}=(0,r.ku)(e,t)||{};if(null==c)return{};let f=(0,r.yd)(d),p={x:n,y:o},h=(0,r.Wh)(i),m=(0,r.I4)(h),v=await a.getDimensions(c),g="y"===h,b=g?"clientHeight":"clientWidth",y=l.reference[m]+l.reference[h]-p[h]-l.floating[m],S=p[h]-l.reference[h],w=await (null==a.getOffsetParent?void 0:a.getOffsetParent(c)),x=w?w[b]:0;x&&await (null==a.isElement?void 0:a.isElement(w))||(x=u.floating[b]||l.floating[m]);let R=x/2-v[m]/2-1,E=(0,r.VV)(f[g?"top":"left"],R),k=(0,r.VV)(f[g?"bottom":"right"],R),C=x-v[m]-k,T=x/2-v[m]/2+(y/2-S/2),O=(0,r.uZ)(E,T,C),M=!s.arrow&&null!=(0,r.hp)(i)&&T!==O&&l.reference[m]/2-(T{let r=new Map,o={platform:R,...n},l={...o.platform,_c:r};return i(e,t,{...o,platform:l})}},4674:function(e,t,n){"use strict";n.d(t,{Jv:function(){return r.Jv},Me:function(){return r.Me},RR:function(){return m},YF:function(){return d},cv:function(){return p},dp:function(){return v},uY:function(){return h},x7:function(){return g}});var r=n(8143),o=n(2265),i=n(4887),l="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function a(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!a(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!a(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function u(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function s(e,t){let n=u(e);return Math.round(t*n)/n}function c(e){let t=o.useRef(e);return l(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:d=[],platform:f,elements:{reference:p,floating:h}={},transform:m=!0,whileElementsMounted:v,open:g}=e,[b,y]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[S,w]=o.useState(d);a(S,d)||w(d);let[x,R]=o.useState(null),[E,k]=o.useState(null),C=o.useCallback(e=>{e!==A.current&&(A.current=e,R(e))},[]),T=o.useCallback(e=>{e!==P.current&&(P.current=e,k(e))},[]),O=p||x,M=h||E,A=o.useRef(null),P=o.useRef(null),I=o.useRef(b),L=null!=v,D=c(v),B=c(f),W=o.useCallback(()=>{if(!A.current||!P.current)return;let e={placement:t,strategy:n,middleware:S};B.current&&(e.platform=B.current),(0,r.oo)(A.current,P.current,e).then(e=>{let t={...e,isPositioned:!0};N.current&&!a(I.current,t)&&(I.current=t,i.flushSync(()=>{y(t)}))})},[S,t,n,B]);l(()=>{!1===g&&I.current.isPositioned&&(I.current.isPositioned=!1,y(e=>({...e,isPositioned:!1})))},[g]);let N=o.useRef(!1);l(()=>(N.current=!0,()=>{N.current=!1}),[]),l(()=>{if(O&&(A.current=O),M&&(P.current=M),O&&M){if(D.current)return D.current(O,M,W);W()}},[O,M,W,D,L]);let z=o.useMemo(()=>({reference:A,floating:P,setReference:C,setFloating:T}),[C,T]),j=o.useMemo(()=>({reference:O,floating:M}),[O,M]),H=o.useMemo(()=>{let e={position:n,left:0,top:0};if(!j.floating)return e;let t=s(j.floating,b.x),r=s(j.floating,b.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...u(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,m,j.floating,b.x,b.y]);return o.useMemo(()=>({...b,update:W,refs:z,elements:j,floatingStyles:H}),[b,W,z,j,H])}let f=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:o}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.x7)({element:n.current,padding:o}).fn(t):{}:n?(0,r.x7)({element:n,padding:o}).fn(t):{}}}),p=(e,t)=>({...(0,r.cv)(e),options:[e,t]}),h=(e,t)=>({...(0,r.uY)(e),options:[e,t]}),m=(e,t)=>({...(0,r.RR)(e),options:[e,t]}),v=(e,t)=>({...(0,r.dp)(e),options:[e,t]}),g=(e,t)=>({...f(e),options:[e,t]})},4243:function(e,t,n){"use strict";let r;n.d(t,{wD:function(){return e2},y0:function(){return e3},ll:function(){return eq},aN:function(){return tg},xp:function(){return tS},eS:function(){return e7},Qu:function(){return eA},tj:function(){return eM},bQ:function(){return te},YF:function(){return tt},KK:function(){return tn},XI:function(){return eC},Rz:function(){return tb},NI:function(){return tl},c0:function(){return tf},qs:function(){return th},ox:function(){return tm}});var o=n(2265),i=n.t(o,2),l=n(5224);function a(e){let t=e.activeElement;for(;(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement)!=null;){var n;t=t.shadowRoot.activeElement}return t}function u(e,t){if(!e||!t)return!1;let n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&(0,l.Zq)(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function s(){let e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function c(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent}function d(e){return 0===e.mozInputSource&&!!e.isTrusted||(h()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function f(e){return!c().includes("jsdom/")&&(!h()&&0===e.width&&0===e.height||h()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function p(){return/apple/i.test(navigator.vendor)}function h(){let e=/android/i;return e.test(s())||e.test(c())}function m(){return s().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function v(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function g(e){return(null==e?void 0:e.ownerDocument)||document}function b(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function y(e){return"composedPath"in e?e.composedPath()[0]:e.target}function S(e){return(0,l.Re)(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}function w(e){e.preventDefault(),e.stopPropagation()}function x(e){return!!e&&"combobox"===e.getAttribute("role")&&S(e)}var R=n(7848),E=n(4674),k=n(8143),C='input:not([inert]),select:not([inert]),textarea:not([inert]),a[href]:not([inert]),button:not([inert]),[tabindex]:not(slot):not([inert]),audio[controls]:not([inert]),video[controls]:not([inert]),[contenteditable]:not([contenteditable="false"]):not([inert]),details>summary:first-of-type:not([inert]),details:not([inert])',T="undefined"==typeof Element,O=T?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,M=!T&&Element.prototype.getRootNode?function(e){var t;return null==e?void 0:null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},A=function e(t,n){void 0===n&&(n=!0);var r,o=null==t?void 0:null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");return""===o||"true"===o||n&&t&&e(t.parentNode)},P=function(e){var t,n=null==e?void 0:null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n},I=function(e,t,n){if(A(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(C));return t&&O.call(e,C)&&r.unshift(e),r=r.filter(n)},L=function e(t,n,r){for(var o=[],i=Array.from(t);i.length;){var l=i.shift();if(!A(l,!1)){if("SLOT"===l.tagName){var a=l.assignedElements(),u=e(a.length?a:l.children,!0,r);r.flatten?o.push.apply(o,u):o.push({scopeParent:l,candidates:u})}else{O.call(l,C)&&r.filter(l)&&(n||!t.includes(l))&&o.push(l);var s=l.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(l),c=!A(s,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(l));if(s&&c){var d=e(!0===s?l.children:s.children,!0,r);r.flatten?o.push.apply(o,d):o.push({scopeParent:l,candidates:d})}else i.unshift.apply(i,l.children)}}}return o},D=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},B=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||P(e))&&!D(e)?0:e.tabIndex},W=function(e,t){var n=B(e);return n<0&&t&&!D(e)?0:n},N=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},z=function(e){return"INPUT"===e.tagName},j=function(e,t){for(var n=0;nsummary:first-of-type")?e.parentElement:e;if(O.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return _(e)}else{if("function"==typeof r){for(var i=e;e;){var l=e.parentElement,a=M(e);if(l&&!l.shadowRoot&&!0===r(l))return _(e);e=e.assignedSlot?e.assignedSlot:l||a===e.ownerDocument?l:a.host}e=i}if(F(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},V=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;nB(t))&&(r=e,!((o=t).disabled||A(o)||z(o)&&"hidden"===o.type||Z(o,r)||"DETAILS"===o.tagName&&Array.prototype.slice.apply(o.children).some(function(e){return"SUMMARY"===e.tagName})||V(o)))},K=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||t>=0},U=function e(t){var n=[],r=[];return t.forEach(function(t,o){var i=!!t.scopeParent,l=i?t.scopeParent:t,a=W(l,i),u=i?e(t.candidates):l;0===a?i?n.push.apply(n,u):n.push(l):r.push({documentOrder:o,tabIndex:a,item:t,isScope:i,content:u})}),r.sort(N).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)},Y=function(e,t){return U((t=t||{}).getShadowRoot?L([e],t.includeContainer,{filter:$.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:K}):I(e,t.includeContainer,$.bind(null,t)))},X=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==O.call(e,C)&&$(t,e)},q=n(4887);let G={...i},J=G.useInsertionEffect||(e=>e());function Q(e){let t=o.useRef(()=>{});return J(()=>{t.current=e}),o.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r=e.current.length}function el(e,t){return eu(e,{disabledIndices:t})}function ea(e,t){return eu(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function eu(e,t){let{startingIndex:n=-1,decrement:r=!1,disabledIndices:o,amount:i=1}=void 0===t?{}:t,l=e.current,a=n;do a+=r?-i:i;while(a>=0&&a<=l.length-1&&es(l,a,o));return a}function es(e,t,n){if(n)return n.includes(t);let r=e[t];return null==r||r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")}let ec=0;function ed(e,t){void 0===t&&(t={});let{preventScroll:n=!1,cancelPrevious:r=!0,sync:o=!1}=t;r&&cancelAnimationFrame(ec);let i=()=>null==e?void 0:e.focus({preventScroll:n});o?i():ec=requestAnimationFrame(i)}var ef="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function ep(){return(ep=Object.assign?Object.assign.bind():function(e){for(var t=1;t"floating-ui-"+Math.random().toString(36).slice(2,6)+em++,eg=G.useId||function(){let[e,t]=o.useState(()=>eh?ev():void 0);return ef(()=>{null==e&&t(ev())},[]),o.useEffect(()=>{eh=!0},[]),e},eb=o.createContext(null),ey=o.createContext(null),eS=()=>{var e;return(null==(e=o.useContext(eb))?void 0:e.id)||null},ew=()=>o.useContext(ey);function ex(e){return"data-floating-ui-"+e}function eR(e){let t=(0,o.useRef)(e);return ef(()=>{t.current=e}),t}let eE=ex("safe-polygon");function ek(e,t,n){return n&&!v(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function eC(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,dataRef:i,events:a,elements:{domReference:s,floating:c}}=e,{enabled:d=!0,delay:f=0,handleClose:p=null,mouseOnly:h=!1,restMs:m=0,move:b=!0}=t,y=ew(),S=eS(),w=eR(p),x=eR(f),R=o.useRef(),E=o.useRef(-1),k=o.useRef(),C=o.useRef(-1),T=o.useRef(!0),O=o.useRef(!1),M=o.useRef(()=>{}),A=o.useCallback(()=>{var e;let t=null==(e=i.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t},[i]);o.useEffect(()=>{if(d)return a.on("openchange",e),()=>{a.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(E.current),clearTimeout(C.current),T.current=!0)}},[d,a]),o.useEffect(()=>{if(!d||!w.current||!n)return;function e(e){A()&&r(!1,e,"hover")}let t=g(c).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}},[c,n,r,d,w,A]);let P=o.useCallback(function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");let o=ek(x.current,"close",R.current);o&&!k.current?(clearTimeout(E.current),E.current=window.setTimeout(()=>r(!1,e,n),o)):t&&(clearTimeout(E.current),r(!1,e,n))},[x,r]),I=Q(()=>{M.current(),k.current=void 0}),L=Q(()=>{if(O.current){let e=g(c).body;e.style.pointerEvents="",e.removeAttribute(eE),O.current=!1}});return o.useEffect(()=>{if(d&&(0,l.kK)(s))return n&&s.addEventListener("mouseleave",a),null==c||c.addEventListener("mouseleave",a),b&&s.addEventListener("mousemove",t,{once:!0}),s.addEventListener("mouseenter",t),s.addEventListener("mouseleave",o),()=>{n&&s.removeEventListener("mouseleave",a),null==c||c.removeEventListener("mouseleave",a),b&&s.removeEventListener("mousemove",t),s.removeEventListener("mouseenter",t),s.removeEventListener("mouseleave",o)};function e(){return!!i.current.openEvent&&["click","mousedown"].includes(i.current.openEvent.type)}function t(e){if(clearTimeout(E.current),T.current=!1,h&&!v(R.current)||m>0&&!ek(x.current,"open"))return;let t=ek(x.current,"open",R.current);t?E.current=window.setTimeout(()=>{r(!0,e,"hover")},t):r(!0,e,"hover")}function o(t){if(e())return;M.current();let r=g(c);if(clearTimeout(C.current),w.current&&i.current.floatingContext){n||clearTimeout(E.current),k.current=w.current({...i.current.floatingContext,tree:y,x:t.clientX,y:t.clientY,onClose(){L(),I(),P(t,!0,"safe-polygon")}});let e=k.current;r.addEventListener("mousemove",e),M.current=()=>{r.removeEventListener("mousemove",e)};return}"touch"===R.current&&u(c,t.relatedTarget)||P(t)}function a(t){!e()&&i.current.floatingContext&&(null==w.current||w.current({...i.current.floatingContext,tree:y,x:t.clientX,y:t.clientY,onClose(){L(),I(),P(t)}})(t))}},[s,c,d,e,h,m,b,P,I,L,r,n,y,x,w,i]),ef(()=>{var e,t;if(d&&n&&null!=(e=w.current)&&e.__options.blockPointerEvents&&A()){let e=g(c).body;if(e.setAttribute(eE,""),e.style.pointerEvents="none",O.current=!0,(0,l.kK)(s)&&c){let e=null==y||null==(t=y.nodesRef.current.find(e=>e.id===S))||null==(t=t.context)?void 0:t.elements.floating;return e&&(e.style.pointerEvents=""),s.style.pointerEvents="auto",c.style.pointerEvents="auto",()=>{s.style.pointerEvents="",c.style.pointerEvents=""}}}},[d,n,S,c,s,y,w,A]),ef(()=>{n||(R.current=void 0,I(),L())},[n,I,L]),o.useEffect(()=>()=>{I(),clearTimeout(E.current),clearTimeout(C.current),L()},[d,s,I,L]),o.useMemo(()=>{if(!d)return{};function e(e){R.current=e.pointerType}return{reference:{onPointerDown:e,onPointerEnter:e,onMouseMove(e){function t(){T.current||r(!0,e.nativeEvent,"hover")}(!h||v(R.current))&&!n&&0!==m&&(clearTimeout(C.current),"touch"===R.current?t():C.current=window.setTimeout(t,m))}},floating:{onMouseEnter(){clearTimeout(E.current)},onMouseLeave(e){P(e.nativeEvent,!1)}}}},[d,h,n,m,r,P])}let eT=()=>{},eO=o.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:eT,setState:eT,isInstantPhase:!1}),eM=()=>o.useContext(eO);function eA(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,floatingId:o}=e,{id:i}=t,l=null!=i?i:o,a=eM(),{currentId:u,setCurrentId:s,initialDelay:c,setState:d,timeoutMs:f}=a;return ef(()=>{u&&(d({delay:{open:1,close:ek(c,"close")}}),u!==l&&r(!1))},[l,r,d,u,c]),ef(()=>{function e(){r(!1),d({delay:c,currentId:null})}if(u&&!n&&u===l){if(f){let t=window.setTimeout(e,f);return()=>{clearTimeout(t)}}e()}},[n,d,u,l,r,c,f]),ef(()=>{s!==eT&&n&&s(l)},[n,s,l]),a}function eP(e,t){let n=e.filter(e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)}),r=n;for(;r.length;)r=e.filter(e=>{var t;return null==(t=r)?void 0:t.some(t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)})}),n=n.concat(r);return n}let eI=new WeakMap,eL=new WeakSet,eD={},eB=0,eW=()=>"undefined"!=typeof HTMLElement&&"inert"in HTMLElement.prototype,eN=e=>e&&(e.host||eN(e.parentNode)),ez=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=eN(t);return e.contains(n)?n:null}).filter(e=>null!=e);function ej(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);let r=g(e[0]).body;return function(e,t,n,r){let o="data-floating-ui-inert",i=r?"inert":n?"aria-hidden":null,a=ez(t,e),u=new Set,s=new Set(a),c=[];eD[o]||(eD[o]=new WeakMap);let d=eD[o];return a.forEach(function e(t){!(!t||u.has(t))&&(u.add(t),t.parentNode&&e(t.parentNode))}),function e(t){!t||s.has(t)||[].forEach.call(t.children,t=>{if("script"!==(0,l.wk)(t)){if(u.has(t))e(t);else{let e=i?t.getAttribute(i):null,n=null!==e&&"false"!==e,r=(eI.get(t)||0)+1,l=(d.get(t)||0)+1;eI.set(t,r),d.set(t,l),c.push(t),1===r&&n&&eL.add(t),1===l&&t.setAttribute(o,""),!n&&i&&t.setAttribute(i,"true")}}})}(t),u.clear(),eB++,()=>{c.forEach(e=>{let t=(eI.get(e)||0)-1,n=(d.get(e)||0)-1;eI.set(e,t),d.set(e,n),t||(!eL.has(e)&&i&&e.removeAttribute(i),eL.delete(e)),n||e.removeAttribute(o)}),--eB||(eI=new WeakMap,eI=new WeakMap,eL=new WeakSet,eD={})}}(e.concat(Array.from(r.querySelectorAll("[aria-live]"))),r,t,n)}let eH=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function eF(e,t){let n=Y(e,eH());"prev"===t&&n.reverse();let r=n.indexOf(a(g(e)));return n.slice(r+1)[0]}function e_(){return eF(document.body,"next")}function eZ(){return eF(document.body,"prev")}function eV(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!u(n,r)}let e$={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};function eK(e){"Tab"===e.key&&(e.target,clearTimeout(r))}let eU=o.forwardRef(function(e,t){let[n,r]=o.useState();ef(()=>(p()&&r("button"),document.addEventListener("keydown",eK),()=>{document.removeEventListener("keydown",eK)}),[]);let i={ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,[ex("focus-guard")]:"",style:e$};return o.createElement("span",ep({},e,i))}),eY=o.createContext(null),eX=ex("portal");function eq(e){let{children:t,id:n,root:r=null,preserveTabOrder:i=!0}=e,a=function(e){void 0===e&&(e={});let{id:t,root:n}=e,r=eg(),i=eG(),[a,u]=o.useState(null),s=o.useRef(null);return ef(()=>()=>{null==a||a.remove(),queueMicrotask(()=>{s.current=null})},[a]),ef(()=>{if(!r||s.current)return;let e=t?document.getElementById(t):null;if(!e)return;let n=document.createElement("div");n.id=r,n.setAttribute(eX,""),e.appendChild(n),s.current=n,u(n)},[t,r]),ef(()=>{if(!r||s.current)return;let e=n||(null==i?void 0:i.portalNode);e&&!(0,l.kK)(e)&&(e=e.current),e=e||document.body;let o=null;t&&((o=document.createElement("div")).id=t,e.appendChild(o));let a=document.createElement("div");a.id=r,a.setAttribute(eX,""),(e=o||e).appendChild(a),s.current=a,u(a)},[t,n,r,i]),a}({id:n,root:r}),[u,s]=o.useState(null),c=o.useRef(null),d=o.useRef(null),f=o.useRef(null),p=o.useRef(null),h=!!u&&!u.modal&&u.open&&i&&!!(r||a);return o.useEffect(()=>{if(a&&i&&(null==u||!u.modal))return a.addEventListener("focusin",e,!0),a.addEventListener("focusout",e,!0),()=>{a.removeEventListener("focusin",e,!0),a.removeEventListener("focusout",e,!0)};function e(e){a&&eV(e)&&("focusin"===e.type?function(e){e.querySelectorAll("[data-tabindex]").forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})}:function(e){Y(e,eH()).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})})(a)}},[a,i,null==u?void 0:u.modal]),o.createElement(eY.Provider,{value:o.useMemo(()=>({preserveTabOrder:i,beforeOutsideRef:c,afterOutsideRef:d,beforeInsideRef:f,afterInsideRef:p,portalNode:a,setFocusManagerState:s}),[i,a])},h&&a&&o.createElement(eU,{"data-type":"outside",ref:c,onFocus:e=>{if(eV(e,a)){var t;null==(t=f.current)||t.focus()}else{let e=eZ()||(null==u?void 0:u.refs.domReference.current);null==e||e.focus()}}}),h&&a&&o.createElement("span",{"aria-owns":a.id,style:e$}),a&&(0,q.createPortal)(t,a),h&&a&&o.createElement(eU,{"data-type":"outside",ref:d,onFocus:e=>{if(eV(e,a)){var t;null==(t=p.current)||t.focus()}else{let t=e_()||(null==u?void 0:u.refs.domReference.current);null==t||t.focus(),(null==u?void 0:u.closeOnFocusOut)&&(null==u||u.onOpenChange(!1,e.nativeEvent))}}}))}let eG=()=>o.useContext(eY),eJ=[];function eQ(e){eJ=eJ.filter(e=>e.isConnected);let t=e;if(t&&"body"!==(0,l.wk)(t)){if(!X(t,eH())){let e=Y(t,eH())[0];e&&(t=e)}eJ.push(t),eJ.length>20&&(eJ=eJ.slice(-20))}}function e0(){return eJ.slice().reverse().find(e=>e.isConnected)}let e1=o.forwardRef(function(e,t){return o.createElement("button",ep({},e,{type:"button",ref:t,tabIndex:-1,style:e$}))});function e2(e){let{context:t,children:n,disabled:r=!1,order:i=["content"],guards:s=!0,initialFocus:c=0,returnFocus:p=!0,modal:h=!0,visuallyHiddenDismiss:m=!1,closeOnFocusOut:v=!0}=e,{open:b,refs:S,nodeId:R,onOpenChange:E,events:k,dataRef:C,elements:{domReference:T,floating:O}}=t,M="number"==typeof c&&c<0,A=x(T)&&M,P=!eW()||s,I=eR(i),L=eR(c),D=eR(p),B=ew(),W=eG(),N=o.useRef(null),z=o.useRef(null),j=o.useRef(!1),H=o.useRef(!1),F=null!=W,_=o.useCallback(function(e){return void 0===e&&(e=O),e?Y(e,eH()):[]},[O]),Z=o.useCallback(e=>{let t=_(e);return I.current.map(e=>T&&"reference"===e?T:O&&"floating"===e?O:t).filter(Boolean).flat()},[T,O,I,_]);function V(e){return!r&&m&&h?o.createElement(e1,{ref:"start"===e?N:z,onClick:e=>E(!1,e.nativeEvent)},"string"==typeof m?m:"Dismiss"):null}o.useEffect(()=>{if(r||!h)return;function e(e){if("Tab"===e.key){u(O,a(g(O)))&&0===_().length&&!A&&w(e);let t=Z(),n=y(e);"reference"===I.current[0]&&n===T&&(w(e),e.shiftKey?ed(t[t.length-1]):ed(t[1])),"floating"===I.current[1]&&n===O&&e.shiftKey&&(w(e),ed(t[0]))}}let t=g(O);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}},[r,T,O,h,I,A,_,Z]),o.useEffect(()=>{if(!r&&v&&O&&(0,l.Re)(T))return T.addEventListener("focusout",t),T.addEventListener("pointerdown",e),h||O.addEventListener("focusout",t),()=>{T.removeEventListener("focusout",t),T.removeEventListener("pointerdown",e),h||O.removeEventListener("focusout",t)};function e(){H.current=!0,setTimeout(()=>{H.current=!1})}function t(e){let t=e.relatedTarget;queueMicrotask(()=>{let n=!(u(T,t)||u(O,t)||u(t,O)||u(null==W?void 0:W.portalNode,t)||null!=t&&t.hasAttribute(ex("focus-guard"))||B&&(eP(B.nodesRef.current,R).find(e=>{var n,r;return u(null==(n=e.context)?void 0:n.elements.floating,t)||u(null==(r=e.context)?void 0:r.elements.domReference,t)})||(function(e,t){var n;let r=[],o=null==(n=e.find(e=>e.id===t))?void 0:n.parentId;for(;o;){let t=e.find(e=>e.id===o);o=null==t?void 0:t.parentId,t&&(r=r.concat(t))}return r})(B.nodesRef.current,R).find(e=>{var n,r;return(null==(n=e.context)?void 0:n.elements.floating)===t||(null==(r=e.context)?void 0:r.elements.domReference)===t})));t&&n&&!H.current&&t!==e0()&&(j.current=!0,E(!1,e))})}},[r,T,O,h,R,B,W,E,v]),o.useEffect(()=>{var e;if(r)return;let t=Array.from((null==W||null==(e=W.portalNode)?void 0:e.querySelectorAll("["+ex("portal")+"]"))||[]);if(O){let e=[O,...t,N.current,z.current,I.current.includes("reference")||A?T:null].filter(e=>null!=e),n=h||A?ej(e,P,!P):ej(e);return()=>{n()}}},[r,T,O,h,I,W,A,P]),ef(()=>{if(r||!O)return;let e=a(g(O));queueMicrotask(()=>{let t=Z(O),n=L.current,r=("number"==typeof n?t[n]:n.current)||O,o=u(O,e);M||o||!b||ed(r,{preventScroll:r===O})})},[r,b,O,M,Z,L]),ef(()=>{if(r||!O)return;let e=!1,t=g(O),n=a(t),o=C.current.openEvent;function i(t){let{open:n,reason:r,event:i,nested:l}=t;n&&(o=i),"escape-key"===r&&S.domReference.current&&eQ(S.domReference.current),"hover"===r&&"mouseleave"===i.type&&(j.current=!0),"outside-press"===r&&(l?(j.current=!1,e=!0):j.current=!(d(i)||f(i)))}return eQ(n),k.on("openchange",i),()=>{k.off("openchange",i);let n=a(t),r=u(O,n)||B&&eP(B.nodesRef.current,R).some(e=>{var t;return u(null==(t=e.context)?void 0:t.elements.floating,n)});(r||o&&["click","mousedown"].includes(o.type))&&S.domReference.current&&eQ(S.domReference.current);let s=e0();D.current&&!j.current&&(0,l.Re)(s)&&(s===n||n===t.body||r)&&ed(s,{cancelPrevious:!1,preventScroll:e})}},[r,O,D,C,S,k,B,R]),ef(()=>{if(!r&&W)return W.setFocusManagerState({modal:h,closeOnFocusOut:v,open:b,onOpenChange:E,refs:S}),()=>{W.setFocusManagerState(null)}},[r,W,h,b,E,S,v]),ef(()=>{if(r||!O||"function"!=typeof MutationObserver||M)return;let e=()=>{let e=O.getAttribute("tabindex");I.current.includes("floating")||a(g(O))!==S.domReference.current&&0===_().length?"0"!==e&&O.setAttribute("tabindex","0"):"-1"!==e&&O.setAttribute("tabindex","-1")};e();let t=new MutationObserver(e);return t.observe(O,{childList:!0,subtree:!0,attributes:!0}),()=>{t.disconnect()}},[r,O,S,I,_,M]);let $=!r&&P&&(F||h);return o.createElement(o.Fragment,null,$&&o.createElement(eU,{"data-type":"inside",ref:null==W?void 0:W.beforeInsideRef,onFocus:e=>{if(h){let e=Z();ed("reference"===i[0]?e[0]:e[e.length-1])}else if(null!=W&&W.preserveTabOrder&&W.portalNode){if(j.current=!1,eV(e,W.portalNode)){let e=e_()||T;null==e||e.focus()}else{var t;null==(t=W.beforeOutsideRef.current)||t.focus()}}}}),!A&&V("start"),n,V("end"),$&&o.createElement(eU,{"data-type":"inside",ref:null==W?void 0:W.afterInsideRef,onFocus:e=>{if(h)ed(Z()[0]);else if(null!=W&&W.preserveTabOrder&&W.portalNode){if(v&&(j.current=!0),eV(e,W.portalNode)){let e=eZ()||T;null==e||e.focus()}else{var t;null==(t=W.afterOutsideRef.current)||t.focus()}}}}))}let e5=new Set,e3=o.forwardRef(function(e,t){let{lockScroll:n=!1,...r}=e,i=eg();return ef(()=>{if(!n)return;e5.add(i);let e=/iP(hone|ad|od)|iOS/.test(s()),t=document.body.style,r=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",o=window.innerWidth-document.documentElement.clientWidth,l=t.left?parseFloat(t.left):window.pageXOffset,a=t.top?parseFloat(t.top):window.pageYOffset;if(t.overflow="hidden",o&&(t[r]=o+"px"),e){var u,c;let e=(null==(u=window.visualViewport)?void 0:u.offsetLeft)||0;Object.assign(t,{position:"fixed",top:-(a-Math.floor((null==(c=window.visualViewport)?void 0:c.offsetTop)||0))+"px",left:-(l-Math.floor(e))+"px",right:"0"})}return()=>{e5.delete(i),0===e5.size&&(Object.assign(t,{overflow:"",[r]:""}),e&&(Object.assign(t,{position:"",top:"",left:"",right:""}),window.scrollTo(l,a)))}},[i,n]),o.createElement("div",ep({ref:t},r,{style:{position:"fixed",overflow:"auto",top:0,right:0,bottom:0,left:0,...r.style}}))});function e4(e){return(0,l.Re)(e.target)&&"BUTTON"===e.target.tagName}function e7(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,dataRef:i,elements:{domReference:l}}=e,{enabled:a=!0,event:u="click",toggle:s=!0,ignoreMouse:c=!1,keyboardHandlers:d=!0}=t,f=o.useRef(),p=o.useRef(!1);return o.useMemo(()=>a?{reference:{onPointerDown(e){f.current=e.pointerType},onMouseDown(e){0!==e.button||v(f.current,!0)&&c||"click"===u||(n&&s&&(!i.current.openEvent||"mousedown"===i.current.openEvent.type)?r(!1,e.nativeEvent,"click"):(e.preventDefault(),r(!0,e.nativeEvent,"click")))},onClick(e){if("mousedown"===u&&f.current){f.current=void 0;return}v(f.current,!0)&&c||(n&&s&&(!i.current.openEvent||"click"===i.current.openEvent.type)?r(!1,e.nativeEvent,"click"):r(!0,e.nativeEvent,"click"))},onKeyDown(e){f.current=void 0,e.defaultPrevented||!d||e4(e)||(" "!==e.key||S(l)||(e.preventDefault(),p.current=!0),"Enter"===e.key&&(n&&s?r(!1,e.nativeEvent,"click"):r(!0,e.nativeEvent,"click")))},onKeyUp(e){!(e.defaultPrevented||!d||e4(e)||S(l))&&" "===e.key&&p.current&&(p.current=!1,n&&s?r(!1,e.nativeEvent,"click"):r(!0,e.nativeEvent,"click"))}}}:{},[a,i,u,c,d,l,s,n,r])}let e9={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},e8={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},e6=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function te(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,elements:{reference:i,domReference:a,floating:s},dataRef:c}=e,{enabled:d=!0,escapeKey:f=!0,outsidePress:p=!0,outsidePressEvent:h="pointerdown",referencePress:m=!1,referencePressEvent:v="pointerdown",ancestorScroll:S=!1,bubbles:w,capture:x}=t,R=ew(),E=Q("function"==typeof p?p:()=>!1),k="function"==typeof p?E:p,C=o.useRef(!1),T=o.useRef(!1),{escapeKey:O,outsidePress:M}=e6(w),{escapeKey:A,outsidePress:P}=e6(x),I=Q(e=>{var t;if(!n||!d||!f||"Escape"!==e.key)return;let o=null==(t=c.current.floatingContext)?void 0:t.nodeId,i=R?eP(R.nodesRef.current,o):[];if(!O&&(e.stopPropagation(),i.length>0)){let e=!0;if(i.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__escapeKeyBubbles){e=!1;return}}),!e)return}r(!1,"nativeEvent"in e?e.nativeEvent:e,"escape-key")}),L=Q(e=>{var t;let n=()=>{var t;I(e),null==(t=y(e))||t.removeEventListener("keydown",n)};null==(t=y(e))||t.addEventListener("keydown",n)}),D=Q(e=>{var t;let n=C.current;C.current=!1;let o=T.current;if(T.current=!1,"click"===h&&o||n||"function"==typeof k&&!k(e))return;let i=y(e),d="["+ex("inert")+"]",f=g(s).querySelectorAll(d),p=(0,l.kK)(i)?i:null;for(;p&&!(0,l.Py)(p);){let e=(0,l.Ow)(p);if((0,l.Py)(e)||!(0,l.kK)(e))break;p=e}if(f.length&&(0,l.kK)(i)&&!i.matches("html,body")&&!u(i,s)&&Array.from(f).every(e=>!u(p,e)))return;if((0,l.Re)(i)&&s){let t=i.clientWidth>0&&i.scrollWidth>i.clientWidth,n=i.clientHeight>0&&i.scrollHeight>i.clientHeight,r=n&&e.offsetX>i.clientWidth;if(n&&"rtl"===(0,l.Dx)(i).direction&&(r=e.offsetX<=i.offsetWidth-i.clientWidth),r||t&&e.offsetY>i.clientHeight)return}let m=null==(t=c.current.floatingContext)?void 0:t.nodeId,v=R&&eP(R.nodesRef.current,m).some(t=>{var n;return b(e,null==(n=t.context)?void 0:n.elements.floating)});if(b(e,s)||b(e,a)||v)return;let S=R?eP(R.nodesRef.current,m):[];if(S.length>0){let e=!0;if(S.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__outsidePressBubbles){e=!1;return}}),!e)return}r(!1,e,"outside-press")}),B=Q(e=>{var t;let n=()=>{var t;D(e),null==(t=y(e))||t.removeEventListener(h,n)};null==(t=y(e))||t.addEventListener(h,n)});return o.useEffect(()=>{if(!n||!d)return;function e(e){r(!1,e,"ancestor-scroll")}c.current.__escapeKeyBubbles=O,c.current.__outsidePressBubbles=M;let t=g(s);f&&t.addEventListener("keydown",A?L:I,A),k&&t.addEventListener(h,P?B:D,P);let o=[];return S&&((0,l.kK)(a)&&(o=(0,l.Kx)(a)),(0,l.kK)(s)&&(o=o.concat((0,l.Kx)(s))),!(0,l.kK)(i)&&i&&i.contextElement&&(o=o.concat((0,l.Kx)(i.contextElement)))),(o=o.filter(e=>{var n;return e!==(null==(n=t.defaultView)?void 0:n.visualViewport)})).forEach(t=>{t.addEventListener("scroll",e,{passive:!0})}),()=>{f&&t.removeEventListener("keydown",A?L:I,A),k&&t.removeEventListener(h,P?B:D,P),o.forEach(t=>{t.removeEventListener("scroll",e)})}},[c,s,a,i,f,k,h,n,r,S,d,O,M,I,A,L,D,P,B]),o.useEffect(()=>{C.current=!1},[k,h]),o.useMemo(()=>d?{reference:{onKeyDown:I,[e9[v]]:e=>{m&&r(!1,e.nativeEvent,"reference-press")}},floating:{onKeyDown:I,onMouseDown(){T.current=!0},onMouseUp(){T.current=!0},[e8[h]]:()=>{C.current=!0}}}:{},[d,m,h,v,r,I])}function tt(e){void 0===e&&(e={});let{nodeId:t}=e,n=function(e){let{open:t=!1,onOpenChange:n,elements:r}=e,i=eg(),l=o.useRef({}),[a]=o.useState(()=>(function(){let e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter(e=>e!==n))||[])}}})()),u=null!=eS(),[s,c]=o.useState(r.reference),d=Q((e,t,r)=>{l.current.openEvent=e?t:void 0,a.emit("openchange",{open:e,event:t,reason:r,nested:u}),null==n||n(e,t,r)}),f=o.useMemo(()=>({setPositionReference:c}),[]),p=o.useMemo(()=>({reference:s||r.reference||null,floating:r.floating||null,domReference:r.reference}),[s,r.reference,r.floating]);return o.useMemo(()=>({dataRef:l,open:t,onOpenChange:d,elements:p,events:a,floatingId:i,refs:f}),[t,d,p,a,i,f])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,i=r.elements,[a,u]=o.useState(null),[s,c]=o.useState(null),d=(null==i?void 0:i.reference)||a,f=o.useRef(null),p=ew();ef(()=>{d&&(f.current=d)},[d]);let h=(0,E.YF)({...e,elements:{...i,...s&&{reference:s}}}),m=o.useCallback(e=>{let t=(0,l.kK)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;c(t),h.refs.setReference(t)},[h.refs]),v=o.useCallback(e=>{((0,l.kK)(e)||null===e)&&(f.current=e,u(e)),((0,l.kK)(h.refs.reference.current)||null===h.refs.reference.current||null!==e&&!(0,l.kK)(e))&&h.refs.setReference(e)},[h.refs]),g=o.useMemo(()=>({...h.refs,setReference:v,setPositionReference:m,domReference:f}),[h.refs,v,m]),b=o.useMemo(()=>({...h.elements,domReference:d}),[h.elements,d]),y=o.useMemo(()=>({...h,...r,refs:g,elements:b,nodeId:t}),[h,g,b,t,r]);return ef(()=>{r.dataRef.current.floatingContext=y;let e=null==p?void 0:p.nodesRef.current.find(e=>e.id===t);e&&(e.context=y)}),o.useMemo(()=>({...h,context:y,refs:g,elements:b}),[h,g,b,y])}function tn(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,events:i,dataRef:s,elements:{domReference:c}}=e,{enabled:d=!0,visibleOnly:h=!0}=t,v=o.useRef(!1),b=o.useRef(),w=o.useRef(!0);return o.useEffect(()=>{if(!d)return;let e=(0,l.Jj)(c);function t(){!n&&(0,l.Re)(c)&&c===a(g(c))&&(v.current=!0)}function r(){w.current=!0}return e.addEventListener("blur",t),e.addEventListener("keydown",r,!0),()=>{e.removeEventListener("blur",t),e.removeEventListener("keydown",r,!0)}},[c,n,d]),o.useEffect(()=>{if(d)return i.on("openchange",e),()=>{i.off("openchange",e)};function e(e){let{reason:t}=e;("reference-press"===t||"escape-key"===t)&&(v.current=!0)}},[i,d]),o.useEffect(()=>()=>{clearTimeout(b.current)},[]),o.useMemo(()=>d?{reference:{onPointerDown(e){f(e.nativeEvent)||(w.current=!1)},onMouseLeave(){v.current=!1},onFocus(e){if(v.current)return;let t=y(e.nativeEvent);if(h&&(0,l.kK)(t))try{if(p()&&m())throw Error();if(!t.matches(":focus-visible"))return}catch(e){if(!w.current&&!S(t))return}r(!0,e.nativeEvent,"focus")},onBlur(e){v.current=!1;let t=e.relatedTarget,n=(0,l.kK)(t)&&t.hasAttribute(ex("focus-guard"))&&"outside"===t.getAttribute("data-type");b.current=window.setTimeout(()=>{var o;let i=a(c?c.ownerDocument:document);if(t||i!==c){if(u(null==(o=s.current.floatingContext)?void 0:o.refs.floating.current,i)||u(c,i)||n)return;r(!1,e.nativeEvent,"focus")}})}}}:{},[d,h,s,c,r])}let tr="active",to="selected";function ti(e,t,n){let r=new Map,o="item"===n,i=e;if(o&&e){let{[tr]:t,[to]:n,...r}=e;i=r}return{..."floating"===n&&{tabIndex:-1},...i,...t.map(t=>{let r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,t)=>(t&&Object.entries(t).forEach(t=>{let[n,i]=t;if(!(o&&[tr,to].includes(n))){if(0===n.indexOf("on")){if(r.has(n)||r.set(n,[]),"function"==typeof i){var l;null==(l=r.get(n))||l.push(i),e[n]=function(){for(var e,t=arguments.length,o=Array(t),i=0;ie(...o)).find(e=>void 0!==e)}}}else e[n]=i}}),e),{})}}function tl(e){void 0===e&&(e=[]);let t=e,n=o.useCallback(t=>ti(t,e,"reference"),t),r=o.useCallback(t=>ti(t,e,"floating"),t),i=o.useCallback(t=>ti(t,e,"item"),e.map(e=>null==e?void 0:e.item));return o.useMemo(()=>({getReferenceProps:n,getFloatingProps:r,getItemProps:i}),[n,r,i])}let ta=!1;function tu(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function ts(e,t){return tu(t,e===ee||e===et,e===en||e===er)}function tc(e,t,n){return tu(t,e===et,n?e===en:e===er)||"Enter"===e||" "===e||""===e}function td(e,t,n){return tu(t,n?e===er:e===en,e===ee)}function tf(e,t){let{open:n,onOpenChange:r,elements:{domReference:i,floating:s}}=e,{listRef:c,activeIndex:h,onNavigate:v=()=>{},enabled:b=!0,selectedIndex:y=null,allowEscape:S=!1,loop:E=!1,nested:k=!1,rtl:C=!1,virtual:T=!1,focusItemOnOpen:O="auto",focusItemOnHover:M=!0,openOnArrowKeyDown:A=!0,disabledIndices:P,orientation:I="vertical",cols:L=1,scrollItemIntoView:D=!0,virtualItemRef:B,itemSizes:W,dense:N=!1}=t,z=eS(),j=ew(),H=Q(v),F=o.useRef(O),_=o.useRef(null!=y?y:-1),Z=o.useRef(null),V=o.useRef(!0),$=o.useRef(H),K=o.useRef(!!s),U=o.useRef(!1),Y=o.useRef(!1),X=eR(P),q=eR(n),G=eR(D),J=eR(s),ec=eR(y),[ep,eh]=o.useState(),[em,ev]=o.useState(),eg=Q(function(e,t,n){function r(e){T?(eh(e.id),null==j||j.events.emit("virtualfocus",e),B&&(B.current=e)):ed(e,{preventScroll:!0,sync:!!(m()&&p())&&(ta||U.current)})}void 0===n&&(n=!1);let o=e.current[t.current];o&&r(o),requestAnimationFrame(()=>{let i=e.current[t.current]||o;if(!i)return;o||r(i);let l=G.current;l&&ey&&(n||!V.current)&&(null==i.scrollIntoView||i.scrollIntoView("boolean"==typeof l?{block:"nearest",inline:"nearest"}:l))})});ef(()=>{document.createElement("div").focus({get preventScroll(){return ta=!0,!1}})},[]),ef(()=>{b&&(n&&s?F.current&&null!=y&&(Y.current=!0,_.current=y,H(y)):K.current&&(_.current=-1,$.current(null)))},[b,n,s,y,H]),ef(()=>{if(b&&n&&s){if(null==h){if(U.current=!1,null==ec.current&&(K.current&&(_.current=-1,eg(c,_)),!K.current&&F.current&&(null!=Z.current||!0===F.current&&null==Z.current))){let e=0,t=()=>{null==c.current[0]?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e++):(_.current=null==Z.current||tc(Z.current,I,C)||k?el(c,X.current):ea(c,X.current),Z.current=null,H(_.current))};t()}}else ei(c,h)||(_.current=h,eg(c,_,Y.current),Y.current=!1)}},[b,n,s,h,ec,k,c,I,C,H,eg,X]),ef(()=>{var e;if(!b||s||!j||T||!K.current)return;let t=j.nodesRef.current,n=null==(e=t.find(e=>e.id===z))||null==(e=e.context)?void 0:e.elements.floating,r=a(g(s)),o=t.some(e=>e.context&&u(e.context.elements.floating,r));n&&!o&&V.current&&n.focus({preventScroll:!0})},[b,s,j,z,T]),ef(()=>{if(b&&j&&T&&!z)return j.events.on("virtualfocus",e),()=>{j.events.off("virtualfocus",e)};function e(e){ev(e.id),B&&(B.current=e)}},[b,j,T,z,B]),ef(()=>{$.current=H,K.current=!!s}),ef(()=>{n||(Z.current=null)},[n]);let eb=null!=h,ey=o.useMemo(()=>{function e(e){if(!n)return;let t=c.current.indexOf(e);-1!==t&&H(t)}return{onFocus(t){let{currentTarget:n}=t;e(n)},onClick:e=>{let{currentTarget:t}=e;return t.focus({preventScroll:!0})},...M&&{onMouseMove(t){let{currentTarget:n}=t;e(n)},onPointerLeave(e){let{pointerType:t}=e;V.current&&"touch"!==t&&(_.current=-1,eg(c,_),H(null),T||ed(J.current,{preventScroll:!0}))}}}},[n,J,eg,M,c,H,T]);return o.useMemo(()=>{if(!b)return{};let e=X.current;function t(t){if(V.current=!1,U.current=!0,!q.current&&t.currentTarget===J.current)return;if(k&&td(t.key,I,C)){w(t),r(!1,t.nativeEvent,"list-navigation"),(0,l.Re)(i)&&!T&&i.focus();return}let o=_.current,u=el(c,e),s=ea(c,e);if("Home"===t.key&&(w(t),_.current=u,H(_.current)),"End"===t.key&&(w(t),_.current=s,H(_.current)),L>1){var d;let n=W||Array.from({length:c.current.length},()=>({width:1,height:1})),r=function(e,t,n){let r=[],o=0;return e.forEach((e,i)=>{let{width:l,height:a}=e,u=!1;for(n&&(o=0);!u;){let e=[];for(let n=0;nnull==r[e])?(e.forEach(e=>{r[e]=i}),u=!0):o++}}),[...r]}(n,L,N),o=r.findIndex(t=>null!=t&&!es(c.current,t,e)),i=r.reduce((t,n,r)=>null==n||es(c.current,n,e)?t:r,-1);if(_.current=r[function(e,t){let{event:n,orientation:r,loop:o,cols:i,disabledIndices:l,minIndex:a,maxIndex:u,prevIndex:s,stopEvent:c=!1}=t,d=s;if(n.key===ee){if(c&&w(n),-1===s)d=u;else if(d=eu(e,{startingIndex:d,amount:i,decrement:!0,disabledIndices:l}),o&&(s-ie?n:n-i}ei(e,d)&&(d=s)}if(n.key===et&&(c&&w(n),-1===s?d=a:(d=eu(e,{startingIndex:s,amount:i,disabledIndices:l}),o&&s+i>u&&(d=eu(e,{startingIndex:s%i-i,amount:i,disabledIndices:l}))),ei(e,d)&&(d=s)),"both"===r){let t=(0,R.GW)(s/i);n.key===er&&(c&&w(n),s%i!=i-1?(d=eu(e,{startingIndex:s,disabledIndices:l}),o&&eo(d,i,t)&&(d=eu(e,{startingIndex:s-s%i-1,disabledIndices:l}))):o&&(d=eu(e,{startingIndex:s-s%i-1,disabledIndices:l})),eo(d,i,t)&&(d=s)),n.key===en&&(c&&w(n),s%i!=0?(d=eu(e,{startingIndex:s,decrement:!0,disabledIndices:l}),o&&eo(d,i,t)&&(d=eu(e,{startingIndex:s+(i-s%i),decrement:!0,disabledIndices:l}))):o&&(d=eu(e,{startingIndex:s+(i-s%i),decrement:!0,disabledIndices:l})),eo(d,i,t)&&(d=s));let r=(0,R.GW)(u/i)===t;ei(e,d)&&(d=o&&r?n.key===en?u:eu(e,{startingIndex:s-s%i-1,disabledIndices:l}):s)}return d}({current:r.map(e=>null!=e?c.current[e]:null)},{event:t,orientation:I,loop:E,cols:L,disabledIndices:(d=[...e||c.current.map((e,t)=>es(c.current,t)?t:void 0),void 0],r.flatMap((e,t)=>d.includes(e)?[t]:[])),minIndex:o,maxIndex:i,prevIndex:function(e,t,n,r,o){if(-1===e)return -1;let i=n.indexOf(e),l=t[e];switch(o){case"tl":return i;case"tr":if(!l)return i;return i+l.width-1;case"bl":if(!l)return i;return i+(l.height-1)*r;case"br":return n.lastIndexOf(e)}}(_.current>s?u:_.current,n,r,L,t.key===et?"bl":t.key===er?"tr":"tl"),stopEvent:!0})],H(_.current),"both"===I)return}if(ts(t.key,I)){if(w(t),n&&!T&&a(t.currentTarget.ownerDocument)===t.currentTarget){_.current=tc(t.key,I,C)?u:s,H(_.current);return}tc(t.key,I,C)?E?_.current=o>=s?S&&o!==c.current.length?-1:u:eu(c,{startingIndex:o,disabledIndices:e}):_.current=Math.min(s,eu(c,{startingIndex:o,disabledIndices:e})):E?_.current=o<=u?S&&-1!==o?c.current.length:s:eu(c,{startingIndex:o,decrement:!0,disabledIndices:e}):_.current=Math.max(u,eu(c,{startingIndex:o,decrement:!0,disabledIndices:e})),ei(c,_.current)?H(null):H(_.current)}}function o(e){"auto"===O&&d(e.nativeEvent)&&(F.current=!0)}let u=T&&n&&eb&&{"aria-activedescendant":em||ep},s=c.current.find(e=>(null==e?void 0:e.id)===ep);return{reference:{...u,onKeyDown(o){var i,l,a,u,d,f;V.current=!1;let p=0===o.key.indexOf("Arrow"),h=(i=o.key,tu(I,C?i===en:i===er,i===et)),m=td(o.key,I,C),v=ts(o.key,I),g=(k?h:v)||"Enter"===o.key||""===o.key.trim();if(T&&n){let e,n;let r=null==j?void 0:j.nodesRef.current.find(e=>null==e.parentId),i=j&&r?(l=j.nodesRef.current,a=r.id,n=-1,!function t(r,o){o>n&&(e=r,n=o),eP(l,r).forEach(e=>{t(e.id,o+1)})}(a,0),l.find(t=>t.id===e)):null;if(p&&i&&B){let e=new KeyboardEvent("keydown",{key:o.key,bubbles:!0});if(h||m){let t=(null==(u=i.context)?void 0:u.elements.domReference)===o.currentTarget,n=m&&!t?null==(d=i.context)?void 0:d.elements.domReference:h?s:null;n&&(w(o),n.dispatchEvent(e),ev(void 0))}if(v&&i.context&&i.context.open&&i.parentId&&o.currentTarget!==i.context.elements.domReference){w(o),null==(f=i.context.elements.domReference)||f.dispatchEvent(e);return}}return t(o)}if(n||A||!p){if(g&&(Z.current=k&&v?null:o.key),k){h&&(w(o),n?(_.current=el(c,e),H(_.current)):r(!0,o.nativeEvent,"list-navigation"));return}v&&(null!=y&&(_.current=y),w(o),!n&&A?r(!0,o.nativeEvent,"list-navigation"):t(o),n&&H(_.current))}},onFocus(){n&&!T&&H(null)},onPointerDown:function(e){F.current=O,"auto"===O&&f(e.nativeEvent)&&(F.current=!0)},onMouseDown:o,onClick:o},floating:{"aria-orientation":"both"===I?void 0:I,...!x(i)&&u,onKeyDown:t,onPointerMove(){V.current=!0}},item:ey}},[i,J,ep,em,X,q,c,b,I,C,T,n,eb,k,y,A,S,L,E,O,H,r,ey,j,B,W,N])}let tp=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function th(e,t){var n;void 0===t&&(t={});let{open:r,floatingId:i}=e,{enabled:l=!0,role:a="dialog"}=t,u=null!=(n=tp.get(a))?n:a,s=eg(),c=null!=eS();return o.useMemo(()=>{if(!l)return{};let e={id:i,...u&&{role:u}};return"tooltip"===u||"label"===a?{reference:{["aria-"+("label"===a?"labelledby":"describedby")]:r?i:void 0},floating:e}:{reference:{"aria-expanded":r?"true":"false","aria-haspopup":"alertdialog"===u?"dialog":u,"aria-controls":r?i:void 0,..."listbox"===u&&{role:"combobox"},..."menu"===u&&{id:s},..."menu"===u&&c&&{role:"menuitem"},..."select"===a&&{"aria-autocomplete":"none"},..."combobox"===a&&{"aria-autocomplete":"list"}},floating:{...e,..."menu"===u&&{"aria-labelledby":s}},item(e){let{active:t,selected:n}=e,r={role:"option",...t&&{id:i+"-option"}};switch(a){case"select":return{...r,"aria-selected":t&&n};case"combobox":return{...r,...t&&{"aria-selected":!0}}}return{}}}},[l,a,u,r,i,s,c])}function tm(e,t){var n;let{open:r,dataRef:i}=e,{listRef:l,activeIndex:a,onMatch:u,onTypingChange:s,enabled:c=!0,findMatch:d=null,resetMs:f=750,ignoreKeys:p=[],selectedIndex:h=null}=t,m=o.useRef(),v=o.useRef(""),g=o.useRef(null!=(n=null!=h?h:a)?n:-1),b=o.useRef(null),y=Q(u),S=Q(s),x=eR(d),R=eR(p);return ef(()=>{r&&(clearTimeout(m.current),b.current=null,v.current="")},[r]),ef(()=>{if(r&&""===v.current){var e;g.current=null!=(e=null!=h?h:a)?e:-1}},[r,h,a]),o.useMemo(()=>{if(!c)return{};function e(e){e?i.current.typing||(i.current.typing=e,S(e)):i.current.typing&&(i.current.typing=e,S(e))}function t(e,t,n){let r=x.current?x.current(t,n):t.find(e=>(null==e?void 0:e.toLocaleLowerCase().indexOf(n.toLocaleLowerCase()))===0);return r?e.indexOf(r):-1}function n(n){let o=l.current;if(v.current.length>0&&" "!==v.current[0]&&(-1===t(o,o,v.current)?e(!1):" "===n.key&&w(n)),null==o||R.current.includes(n.key)||1!==n.key.length||n.ctrlKey||n.metaKey||n.altKey)return;r&&" "!==n.key&&(w(n),e(!0)),o.every(e=>{var t,n;return!e||(null==(t=e[0])?void 0:t.toLocaleLowerCase())!==(null==(n=e[1])?void 0:n.toLocaleLowerCase())})&&v.current===n.key&&(v.current="",g.current=b.current),v.current+=n.key,clearTimeout(m.current),m.current=setTimeout(()=>{v.current="",g.current=b.current,e(!1)},f);let i=g.current,a=t(o,[...o.slice((i||0)+1),...o.slice(0,(i||0)+1)],v.current);-1!==a?(y(a),b.current=a):" "!==n.key&&(v.current="",e(!1))}return{reference:{onKeyDown:n},floating:{onKeyDown:n,onKeyUp(t){" "===t.key&&e(!1)}}}},[c,r,i,l,f,R,x,y,S])}function tv(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}let tg=e=>({name:"inner",options:e,async fn(t){let{listRef:n,overflowRef:r,onFallbackChange:o,offset:i=0,index:l=0,minItemsVisible:a=4,referenceOverflowThreshold:u=0,scrollRef:s,...c}=e,{rects:d,elements:{floating:f}}=t,p=n.current[l];if(!p)return{};let h={...t,...await (0,E.cv)(-p.offsetTop-f.clientTop-d.reference.height/2-p.offsetHeight/2-i).fn(t)},m=(null==s?void 0:s.current)||f,v=await (0,k.US)(tv(h,m.scrollHeight),c),g=await (0,k.US)(h,{...c,elementContext:"reference"}),b=Math.max(0,v.top),y=h.y+b,S=Math.max(0,m.scrollHeight-b-Math.max(0,v.bottom));return m.style.maxHeight=S+"px",m.scrollTop=b,o&&(m.offsetHeight=-u||g.bottom>=-u?(0,q.flushSync)(()=>o(!0)):(0,q.flushSync)(()=>o(!1))),r&&(r.current=await (0,k.US)(tv({...h,y:y},m.offsetHeight),c)),{y:y}}});function tb(e,t){let{open:n,elements:r}=e,{enabled:i=!0,overflowRef:l,scrollRef:a,onChange:u}=t,s=Q(u),d=o.useRef(!1),f=o.useRef(null),p=o.useRef(null);return o.useEffect(()=>{if(!i)return;function e(e){if(e.ctrlKey||!t||null==l.current)return;let n=e.deltaY,r=l.current.top>=-.5,o=l.current.bottom>=-.5,i=t.scrollHeight-t.clientHeight,a=n<0?-1:1,u=n<0?"max":"min";!(t.scrollHeight<=t.clientHeight)&&(!r&&n>0||!o&&n<0?(e.preventDefault(),(0,q.flushSync)(()=>{s(e=>e+Math[u](n,i*a))})):/firefox/i.test(c())&&(t.scrollTop+=n))}let t=(null==a?void 0:a.current)||r.floating;if(n&&t)return t.addEventListener("wheel",e),requestAnimationFrame(()=>{f.current=t.scrollTop,null!=l.current&&(p.current={...l.current})}),()=>{f.current=null,p.current=null,t.removeEventListener("wheel",e)}},[i,n,r.floating,l,a,s]),o.useMemo(()=>i?{floating:{onKeyDown(){d.current=!0},onWheel(){d.current=!1},onPointerMove(){d.current=!1},onScroll(){let e=(null==a?void 0:a.current)||r.floating;if(l.current&&e&&d.current){if(null!==f.current){let t=e.scrollTop-f.current;(l.current.bottom<-.5&&t<-1||l.current.top<-.5&&t>1)&&(0,q.flushSync)(()=>s(e=>e+t))}requestAnimationFrame(()=>{f.current=e.scrollTop})}}}}:{},[i,l,r.floating,a,s])}function ty(e,t){let[n,r]=e,o=!1,i=t.length;for(let e=0,l=i-1;e=r!=s>=r&&n<=(u-i)*(r-a)/(s-a)+i&&(o=!o)}return o}function tS(e){let t;void 0===e&&(e={});let{buffer:n=.5,blockPointerEvents:r=!1,requireIntent:o=!0}=e,i=!1,a=null,s=null,c=performance.now(),d=e=>{let{x:r,y:d,placement:f,elements:p,onClose:h,nodeId:m,tree:v}=e;return function(e){function g(){clearTimeout(t),h()}if(clearTimeout(t),!p.domReference||!p.floating||null==f||null==r||null==d)return;let{clientX:b,clientY:S}=e,w=[b,S],x=y(e),R="mouseleave"===e.type,E=u(p.floating,x),k=u(p.domReference,x),C=p.domReference.getBoundingClientRect(),T=p.floating.getBoundingClientRect(),O=f.split("-")[0],M=r>T.right-T.width/2,A=d>T.bottom-T.height/2,P=w[0]>=C.x&&w[0]<=C.x+C.width&&w[1]>=C.y&&w[1]<=C.y+C.height,I=T.width>C.width,L=T.height>C.height,D=(I?C:T).left,B=(I?C:T).right,W=(L?C:T).top,N=(L?C:T).bottom;if(E&&(i=!0,!R))return;if(k&&(i=!1),k&&!R){i=!0;return}if(R&&(0,l.kK)(e.relatedTarget)&&u(p.floating,e.relatedTarget)||v&&eP(v.nodesRef.current,m).some(e=>{let{context:t}=e;return null==t?void 0:t.open}))return;if("top"===O&&d>=C.bottom-1||"bottom"===O&&d<=C.top+1||"left"===O&&r>=C.right-1||"right"===O&&r<=C.left+1)return g();let z=[];switch(O){case"top":z=[[D,C.top+1],[D,T.bottom-1],[B,T.bottom-1],[B,C.top+1]];break;case"bottom":z=[[D,T.top+1],[D,C.bottom-1],[B,C.bottom-1],[B,T.top+1]];break;case"left":z=[[T.right-1,N],[T.right-1,W],[C.left+1,W],[C.left+1,N]];break;case"right":z=[[C.right-1,N],[C.right-1,W],[T.left+1,W],[T.left+1,N]]}if(!ty([b,S],z)){if(i&&!P)return g();if(!R&&o){let t=function(e,t){let n=performance.now(),r=n-c;if(null===a||null===s||0===r)return a=e,s=t,c=n,null;let o=e-a,i=t-s;return a=e,s=t,c=n,Math.sqrt(o*o+i*i)/r}(e.clientX,e.clientY);if(null!==t&&t<.1)return g()}ty([b,S],function(e){let[t,r]=e;switch(O){case"top":{let e=[[T.left,M?T.bottom-n:I?T.bottom-n:T.top],[T.right,M?I?T.bottom-n:T.top:T.bottom-n]];return[[I?t+n/2:M?t+4*n:t-4*n,r+n+1],[I?t-n/2:M?t+4*n:t-4*n,r+n+1],...e]}case"bottom":{let e=[[T.left,M?T.top+n:I?T.top+n:T.bottom],[T.right,M?I?T.top+n:T.bottom:T.top+n]];return[[I?t+n/2:M?t+4*n:t-4*n,r-n],[I?t-n/2:M?t+4*n:t-4*n,r-n],...e]}case"left":return[[A?T.right-n:L?T.right-n:T.left,T.top],[A?L?T.right-n:T.left:T.right-n,T.bottom],[t+n+1,L?r+n/2:A?r+4*n:r-4*n],[t+n+1,L?r-n/2:A?r+4*n:r-4*n]];case"right":{let e=[[A?T.left+n:L?T.left+n:T.right,T.top],[A?L?T.left+n:T.right:T.left+n,T.bottom]];return[[t-n,L?r+n/2:A?r+4*n:r-4*n],[t-n,L?r-n/2:A?r+4*n:r-4*n],...e]}}}([r,d]))?!i&&o&&(t=window.setTimeout(g,40)):g()}}};return d.__options={blockPointerEvents:r},d}},5224:function(e,t,n){"use strict";function r(e){return l(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function i(e){var t;return null==(t=(l(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function l(e){return e instanceof Node||e instanceof o(e).Node}function a(e){return e instanceof Element||e instanceof o(e).Element}function u(e){return e instanceof HTMLElement||e instanceof o(e).HTMLElement}function s(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof o(e).ShadowRoot)}function c(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=v(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function d(e){return["table","td","th"].includes(r(e))}function f(e){let t=h(),n=v(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function p(e){let t=b(e);for(;u(t)&&!m(t);){if(f(t))return t;t=b(t)}return null}function h(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function m(e){return["html","body","#document"].includes(r(e))}function v(e){return o(e).getComputedStyle(e)}function g(e){return a(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function b(e){if("html"===r(e))return e;let t=e.assignedSlot||e.parentNode||s(e)&&e.host||i(e);return s(t)?t.host:t}n.d(t,{Dx:function(){return v},Jj:function(){return o},Kx:function(){return function e(t,n,r){var i;void 0===n&&(n=[]),void 0===r&&(r=!0);let l=function e(t){let n=b(t);return m(n)?t.ownerDocument?t.ownerDocument.body:t.body:u(n)&&c(n)?n:e(n)}(t),a=l===(null==(i=t.ownerDocument)?void 0:i.body),s=o(l);return a?n.concat(s,s.visualViewport||[],c(l)?l:[],s.frameElement&&r?e(s.frameElement):[]):n.concat(l,e(l,[],r))}},Lw:function(){return g},Ow:function(){return b},Pf:function(){return h},Py:function(){return m},Re:function(){return u},Ze:function(){return d},Zq:function(){return s},ao:function(){return c},gQ:function(){return p},hT:function(){return f},kK:function(){return a},tF:function(){return i},wk:function(){return r}})},7848:function(e,t,n){"use strict";n.d(t,{Fp:function(){return o},GW:function(){return l},I4:function(){return m},JB:function(){return E},KX:function(){return w},NM:function(){return i},Qq:function(){return v},Rn:function(){return h},VV:function(){return r},Wh:function(){return g},gy:function(){return y},hp:function(){return p},i8:function(){return b},k3:function(){return f},ku:function(){return d},pw:function(){return x},uZ:function(){return c},yd:function(){return R},ze:function(){return a}});let r=Math.min,o=Math.max,i=Math.round,l=Math.floor,a=e=>({x:e,y:e}),u={left:"right",right:"left",bottom:"top",top:"bottom"},s={start:"end",end:"start"};function c(e,t,n){return o(e,r(t,n))}function d(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function v(e){return["top","bottom"].includes(f(e))?"y":"x"}function g(e){return h(v(e))}function b(e,t,n){void 0===n&&(n=!1);let r=p(e),o=g(e),i=m(o),l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=x(l)),[l,x(l)]}function y(e){let t=x(e);return[S(e),t,S(t)]}function S(e){return e.replace(/start|end/g,e=>s[e])}function w(e,t,n,r){let o=p(e),i=function(e,t,n){let r=["left","right"],o=["right","left"];switch(e){case"top":case"bottom":if(n)return t?o:r;return t?r:o;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(f(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(S)))),i}function x(e){return e.replace(/left|right|bottom|top/g,e=>u[e])}function R(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function E(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}},3370:function(e,t,n){"use strict";n.d(t,{Tr:function(){return d},fG:function(){return u},pV:function(){return c}});var r=n(281),o=n(9097),i=n(8338),l=n(2265),a=n(2281);let u=(0,l.createContext)(null),s=e=>{let t=(0,l.useContext)(u);if(!t?.Contents)throw Error("tamagui.dev/docs/intro/errors#warning-002");return(0,l.createElement)(t.Contents,e)};s.shouldForwardSpace=!0;let c=({Contents:e})=>{let[t,n]=(0,l.useState)(null);return{AdaptProvider:(0,l.useMemo)(()=>{let t={Contents:e,setWhen:n};return function(e){return(0,a.jsx)(u.Provider,{value:t,children:e.children})}},[e]),when:t}},d=(0,i.$e)(function({platform:e,when:t,children:n}){let i=(0,l.useContext)(u),a=(0,o.GS)(),s=!e;return"touch"===e&&(s=r.wT),"native"===e&&(s=!r.$L),"web"===e&&(s=r.$L),"ios"===e&&(s=r.s),"android"===e&&(s=r.Dt),t&&!a[t]&&(s=!1),(0,r.LI)(()=>{s&&i?.setWhen(t||s)},[t,i,s]),s?n:null},{Contents:s})},126:function(e,t,n){"use strict";n.d(t,{M:function(){return c}});var r=n(2265);let o=typeof window>"u",i=()=>{},l=(0,r.createContext)({});var a=n(5794),u=n(2281);let s=e=>e.key||"",c=({children:e,enterVariant:t,exitVariant:n,enterExitVariant:c,initial:d=!0,onExitComplete:f,exitBeforeEnter:p,presenceAffectsLayout:h=!0,custom:m})=>{let v=(0,r.useContext)(l).forceRender??(o?i:(0,r.useReducer)(e=>Math.random(),0)[1]),g=function(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}(e),b=(0,r.useRef)(g),y=(0,r.useRef)(new Map).current,S=(0,r.useRef)(new Set).current;!function(e,t){e.forEach(e=>{let n=s(e);t.set(n,e)})}(g,y);let w=(0,r.useRef)(!0);if(w.current)return w.current=!1,(0,u.jsx)(u.Fragment,{children:g.map(e=>(0,u.jsx)(a.g,{isPresent:!0,enterExitVariant:c,exitVariant:n,enterVariant:t,initial:!!d&&void 0,presenceAffectsLayout:h,custom:m,children:e},s(e)))});let x=[...g],R=b.current.map(s),E=g.map(s),k=R.length;for(let e=0;e{if(-1!==E.indexOf(e))return;let r=y.get(e);if(!r)return;let o=R.indexOf(e),i=(0,u.jsx)(a.g,{isPresent:!1,onExitComplete:()=>{y.delete(e),S.delete(e);let t=b.current.findIndex(t=>t.key===e);b.current.splice(t,1),S.size||(b.current=g,v(),f?.())},presenceAffectsLayout:h,enterExitVariant:c,enterVariant:t,exitVariant:n,custom:m,children:r},s(r));x.splice(o,0,i)}),x=x.map(e=>{let r=e.key;return S.has(r)?e:(0,u.jsx)(a.g,{isPresent:!0,exitVariant:n,enterVariant:t,enterExitVariant:c,presenceAffectsLayout:h,custom:m,children:e},s(e))}),b.current=x,(0,u.jsx)(u.Fragment,{children:S.size?x:x.map(e=>(0,r.cloneElement)(e))})};c.displayName="AnimatePresence"},5794:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var r=n(3020),o=n(5390),i=n(2265),l=n(2281);let a=i.memo(({children:e,initial:t,isPresent:n,onExitComplete:a,exitVariant:s,enterVariant:c,enterExitVariant:d,presenceAffectsLayout:f,custom:p})=>{let h=(0,r.h)(u),m=(0,i.useId)()||"",v=i.useMemo(()=>({id:m,initial:t,isPresent:n,custom:p,exitVariant:s,enterVariant:c,enterExitVariant:d,onExitComplete:()=>{for(let e of(h.set(m,!0),h.values()))if(!e)return;a?.()},register:()=>(h.set(m,!1),()=>h.delete(m))}),f?void 0:[n,s,c]);return i.useMemo(()=>{h.forEach((e,t)=>h.set(t,!1))},[n]),i.useEffect(()=>{n||h.size||a?.()},[n]),(0,l.jsx)(o.Oy.Provider,{value:v,children:e})});function u(){return new Map}},3187:function(e,t,n){"use strict";n.d(t,{zx:function(){return R}});var r=n(3924),o=n(8306),i=n(8338),l=n(1676),a=n(1092),u=n(2265);let s=(0,u.createContext)(!1);var c=n(2026),d=n(2875),f=n(925),p=n(4975),h=n(1386),m=n(2202),v=n(5902),g=n(2281),b=n(357);let y=(0,f.i)({color:void 0,ellipse:void 0,fontFamily:void 0,fontSize:void 0,fontStyle:void 0,fontWeight:void 0,letterSpacing:void 0,maxFontSizeMultiplier:void 0,size:void 0,textAlign:void 0,variant:void 0}),S=(0,p.z)(a.K,{name:"Button",tag:"button",context:y,role:"button",focusable:!0,variants:{unstyled:{false:{size:"$true",justifyContent:"center",alignItems:"center",flexWrap:"nowrap",flexDirection:"row",cursor:"pointer",hoverTheme:!0,pressTheme:!0,backgrounded:!0,borderWidth:1,borderColor:"transparent",focusVisibleStyle:{outlineColor:"$outlineColor",outlineStyle:"solid",outlineWidth:2}}},variant:{outlined:{backgroundColor:"transparent",borderWidth:2,borderColor:"$borderColor",hoverStyle:{backgroundColor:"transparent",borderColor:"$borderColorHover"},pressStyle:{backgroundColor:"transparent",borderColor:"$borderColorPress"},focusVisibleStyle:{backgroundColor:"transparent",borderColor:"$borderColorFocus"}}},size:{"...size":o.f,":number":o.f},disabled:{true:{pointerEvents:"none"}}},defaultVariants:{unstyled:"1"===b.env.TAMAGUI_HEADLESS}}),w=(0,p.z)(c.J,{name:"Button",context:y,variants:{unstyled:{false:{userSelect:"none",cursor:"pointer",flexGrow:0,flexShrink:1,ellipse:!0,color:"$color"}}},defaultVariants:{unstyled:"1"===b.env.TAMAGUI_HEADLESS}}),x=S.styleable(function(e,t){let{props:n}=function({textProps:e,...t},{Text:n=R.Text}={Text:R.Text}){let o=(0,u.useContext)(s),i=(0,h.wN)(t,{noNormalize:!0,noExpand:!0}),{icon:a,iconAfter:c,space:f,spaceFlex:p,scaleIcon:y=1,scaleSpace:S=.66,separator:x,noTextWrap:E,fontFamily:k,fontSize:C,fontWeight:T,fontStyle:O,letterSpacing:M,tag:A,ellipse:P,maxFontSizeMultiplier:I,...L}=i,D=i.size||(i.unstyled?void 0:"$true"),B=i.color,W=("number"==typeof D?.5*D:(0,r.yv)(D,{font:k?.[0]==="$"?k:void 0}))*y,[N,z]=[a,c].map((0,l.Zw)({size:W,color:B})),j=f??(0,m.Ve)(W)*S,H=E?[t.children]:(0,d.k)(n,{children:t.children,fontFamily:k,fontSize:C,textProps:e,fontWeight:T,fontStyle:O,letterSpacing:M,ellipse:P,maxFontSizeMultiplier:I},n===w&&!0!==i.unstyled?{unstyled:"1"===b.env.TAMAGUI_HEADLESS,size:D}:void 0),F=(0,v.P9)({space:j,spaceFlex:p,separator:x,direction:"column"===i.flexDirection||"column-reverse"===i.flexDirection?"vertical":"horizontal",children:[N,...H,z]}),_={size:D,...t.disabled&&{focusable:void 0,focusVisibleStyle:{borderColor:"$background"}},tag:A??(o?"span":"link"===i.accessibilityRole||"link"===i.role?"a":"button"),...L,children:(0,g.jsx)(s.Provider,{value:!0,children:F}),disableClassName:!0};return{spaceSize:j,isNested:o,props:_}}(e);return(0,g.jsx)(S,{...n,ref:t})}),R=(0,i.$e)(x,{Text:w,Icon:e=>{let{children:t,scaleIcon:n=1}=e,{size:o,color:i}=(0,u.useContext)(y),a=("number"==typeof o?.5*o:(0,r.yv)(o))*n;return(0,l.Zw)({size:a,color:i})(t)}})},301:function(e,t,n){"use strict";n.d(t,{b:function(){return i}});var r=n(2265),o=n(2281);function i(e,t=[]){let n=[],i=()=>{let t=n.map(e=>r.createContext(e));return function(n){let o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return i.scopeName=e,[function(t,i){let l=r.createContext(i),a=n.length;function u(t){let{scope:n,children:i,...u}=t,s=n?.[e]?.[a]||l,c=r.useMemo(()=>u,Object.values(u));return(0,o.jsx)(s.Provider,{value:c,children:i})}return n=[...n,i],u.displayName=`${t}Provider`,[u,function(n,o,u){let s=o?.[e]?.[a]||l,c=r.useContext(s);if(c)return c;if(void 0!==i)return i;let d=`\`${n}\` must be used within \`${t}\``;if(u?.fallback)return u?.warn!==!1&&console.warn(d),u.fallback;throw Error(d)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}(i,...t)]}},9018:function(e,t,n){"use strict";let r;n.d(t,{M:function(){return d}});var o=n(9046),i=n(9087),l=n(2265),a=n(2281);let u="focusScope.autoFocusOnMount",s="focusScope.autoFocusOnUnmount",c={bubbles:!1,cancelable:!0},d=l.forwardRef(function(e,t){let n=function(e,t){let{loop:n=!1,enabled:r=!0,trapped:a=!1,onMountAutoFocus:d,onUnmountAutoFocus:v,forceUnmount:g,children:b,...y}=e,[S,w]=l.useState(null),x=(0,i.z)(d),R=(0,i.z)(v),E=l.useRef(null),k=(0,o.ex)(t,e=>{l.startTransition(()=>{w(e)})}),C=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(!r||!a)return;let e=new AbortController;function t(t){if(C.paused||!S)return;let n=t.target;S.contains(n)?(n?.addEventListener("blur",o,{signal:e.signal}),E.current=n):h(E.current,{select:!0})}function n(t){e.abort(),!(C.paused||!S)&&(S.contains(t.relatedTarget)||h(E.current,{select:!0}))}function o(){E.current=S}return document.addEventListener("focusin",t),document.addEventListener("focusout",n),()=>{e.abort(),document.removeEventListener("focusin",t),document.removeEventListener("focusout",n)}},[a,g,S,C.paused]),l.useEffect(()=>{if(!r||!S||g)return;m.add(C);let e=document.activeElement;if(!S.contains(e)){let t=new CustomEvent(u,c);S.addEventListener(u,x),S.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(h(r,{select:t}),document.activeElement!==n)return}(f(S).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&h(S))}return()=>{S.removeEventListener(u,x);let t=new CustomEvent(s,c);S.addEventListener(s,R),S.dispatchEvent(t),t.defaultPrevented||h(e??document.body,{select:!0}),S.removeEventListener(s,R),m.remove(C)}},[r,S,g,x,R,C]);let T=l.useCallback(e=>{if(!a||!n||C.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){let t=e.currentTarget,[o,i]=function(e){let t=f(e);return[p(t,e),p(t.reverse(),e)]}(t);o&&i?e.shiftKey||r!==i?e.shiftKey&&r===o&&(e.preventDefault(),n&&h(i,{select:!0})):(e.preventDefault(),n&&h(o,{select:!0})):r===t&&e.preventDefault()}},[n,a,C.paused]);return{tabIndex:-1,...y,ref:k,onKeyDown:T}}(e,t);return"function"==typeof e.children?(0,a.jsx)(a.Fragment,{children:e.children(n)}):l.cloneElement(l.Children.only(e.children),n)});function f(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function p(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function h(e,{select:t=!1}={}){if(e?.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}let m=(r=[],{add(e){let t=r[0];e!==t&&t?.pause(),(r=v(r,e)).unshift(e)},remove(e){r=v(r,e),r[0]?.resume()}});function v(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},3924:function(e,t,n){"use strict";n.d(t,{yv:function(){return i}});var r=n(2202),o=n(5986);let i=(e,t)=>{let n=l(e,t);return(0,r.cG)(n)?+n.val:n?+n:16},l=(e,t)=>{let n=a(e,t);return n?(0,o.iE)().fontsParsed[t?.font||"$body"].size[n]:e},a=(e,t)=>{if("number"==typeof e)return null;let n=t?.relativeSize||0,r=(0,o.iE)().fontsParsed[t?.font||"$body"].size,i=("$true"!==e||"$true"in r?e:"$4")??("$true"in r?"$true":"$4"),l=Object.keys(r),a=l.indexOf(i);-1===a&&i.endsWith(".5")&&(a=l.indexOf(i.replace(".5","")));let u=Math.min(Math.max(0,a+n),l.length-1);return l[u]??i}},8306:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var r=n(6748);let o=(e,{tokens:t,props:n})=>{if(!e||n.circular)return;if("number"==typeof e)return{paddingHorizontal:.25*e,height:e,borderRadius:n.circular?1e5:.2*e};let o=(0,r.Pj)(e),i=t.radius[e]??t.radius.$true;return{paddingHorizontal:o,height:e,borderRadius:n.circular?1e5:i}}},8970:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});var r=n(5986);let o=(e="$true",{font:t,fontFamily:n,props:o})=>{if(!t)return;let l="$true"===e?function(e){if("object"==typeof e&&i.has(e))return i.get(e);let t="$true"in e.size?e.size:(0,r.lz)().size,n=t.$true,o=n?Object.keys(t).find(e=>"$true"!==e&&t[e].val===n.val):null;return n&&o?(i.set(e,o),o):Object.keys(e.size)[3]}(t):e,a=t.size[l],u=t.lineHeight?.[l],s=t.weight?.[l],c=t.letterSpacing?.[l],d=t.transform?.[l],f=o.fontStyle??t.style?.[l];return{color:o.color??t.color?.[l],fontStyle:f,textTransform:d,fontFamily:n,fontWeight:s,letterSpacing:c,fontSize:a,lineHeight:u}},i=new WeakMap},6748:function(e,t,n){"use strict";n.d(t,{Pj:function(){return a},ap:function(){return l}});var r=n(5986),o=n(2202);let i={shift:0,bounds:[0]},l=(e,t)=>f("size",e,t),a=(e,t)=>f("space",e,t),u={},s={},c={},d={},f=(e,t,n=i)=>{let l=(0,r.lz)({prefixed:!0})[e];if(!(e in u)){c[e]=[],u[e]=[],d[e]=[],s[e]=[];let t=Object.keys(l).map(e=>l[e]).sort((e,t)=>e.val-t.val);for(let n of t)c[e].push(n.key),u[e].push(n);for(let n of t.filter(e=>!e.key.endsWith(".5")))d[e].push(n.key),s[e].push(n)}let a="string"==typeof t,f=(n.excludeHalfSteps?a?d:s:a?c:u)[e],p=n.bounds?.[0]??0,h=n.bounds?.[1]??f.length-1,m=f.indexOf(t),v=n.shift||0;v&&("$true"===t||(0,o.cG)(t)&&"true"===t.name)&&(v+=v>0?1:-1);let g=f[Math.min(h,Math.max(p,m+v))];return("string"==typeof g?l[g]:g)||l.$true}},1676:function(e,t,n){"use strict";n.d(t,{Zw:function(){return a}}),n(8338);var r=n(2265),o=n(8411),i=n(2202);let l=e=>{let t=(0,o.Fg)();return(0,i.E0)(e||t[e]?.get("web")||t.color?.get("web"))},a=e=>{let t=l(e.color);return n=>n&&((0,r.isValidElement)(n)?(0,r.cloneElement)(n,{...e,color:t,...n.props}):(0,r.createElement)(n,e))}},2583:function(e,t,n){"use strict";n.d(t,{f:function(){return G}});var r,o,i,l,a,u,s,c=n(2265),d=function(){return(d=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}"function"==typeof SuppressedError&&SuppressedError;var p="right-scroll-bar-position",h="width-before-scroll-bar";function m(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var v="undefined"!=typeof window?c.useLayoutEffect:c.useEffect,g=new WeakMap,b=(void 0===r&&(r={}),(void 0===o&&(o=function(e){return e}),i=[],l=!1,a={read:function(){if(l)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:null},useMedium:function(e){var t=o(e,l);return i.push(t),function(){i=i.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(l=!0;i.length;){var t=i;i=[],t.forEach(e)}i={push:function(t){return e(t)},filter:function(){return i}}},assignMedium:function(e){l=!0;var t=[];if(i.length){var n=i;i=[],n.forEach(e),t=i}var r=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(r)};o(),i={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),i}}}}).options=d({async:!0,ssr:!1},r),a),y=function(){},S=c.forwardRef(function(e,t){var n,r,o,i,l=c.useRef(null),a=c.useState({onScrollCapture:y,onWheelCapture:y,onTouchMoveCapture:y}),u=a[0],s=a[1],p=e.forwardProps,h=e.children,S=e.className,w=e.removeScrollBar,x=e.enabled,R=e.shards,E=e.sideCar,k=e.noIsolation,C=e.inert,T=e.allowPinchZoom,O=e.as,M=f(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),A=(n=[l,t],r=function(e){return n.forEach(function(t){return m(t,e)})},(o=(0,c.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,i=o.facade,v(function(){var e=g.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||m(e,null)}),r.forEach(function(e){t.has(e)||m(e,o)})}g.set(i,n)},[n]),i),P=d(d({},M),u);return c.createElement(c.Fragment,null,x&&c.createElement(E,{sideCar:b,removeScrollBar:w,shards:R,noIsolation:k,inert:C,setCallbacks:s,allowPinchZoom:!!T,lockRef:l}),p?c.cloneElement(c.Children.only(h),d(d({},P),{ref:A})):c.createElement(void 0===O?"div":O,d({},P,{className:S,ref:A}),h))});S.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},S.classNames={fullWidth:h,zeroRight:p};var w=function(e){var t=e.sideCar,n=f(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return c.createElement(r,d({},n))};w.isSideCarExport=!0;var x=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=s||n.nc;return t&&e.setAttribute("nonce",t),e}())){var o,i;(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},R=function(){var e=x();return function(t,n){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},E=function(){var e=R();return function(t){return e(t.styles,t.dynamic),null}},k={left:0,top:0,right:0,gap:0},C=function(e){return parseInt(e||"",10)||0},T=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[C(n),C(r),C(o)]},O=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return k;var t=T(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},M=E(),A="data-scroll-locked",P=function(e,t,n,r){var o=e.left,i=e.top,l=e.right,a=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(a,"px ").concat(r,";\n }\n body[").concat(A,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(l,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(p," {\n right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(h," {\n margin-right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(p," .").concat(p," {\n right: 0 ").concat(r,";\n }\n \n .").concat(h," .").concat(h," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(A,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},I=function(){var e=parseInt(document.body.getAttribute(A)||"0",10);return isFinite(e)?e:0},L=function(){c.useEffect(function(){return document.body.setAttribute(A,(I()+1).toString()),function(){var e=I()-1;e<=0?document.body.removeAttribute(A):document.body.setAttribute(A,e.toString())}},[])},D=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;L();var i=c.useMemo(function(){return O(o)},[o]);return c.createElement(M,{styles:P(i,!t,o,n?"":"!important")})},B=!1;if("undefined"!=typeof window)try{var W=Object.defineProperty({},"passive",{get:function(){return B=!0,!0}});window.addEventListener("test",W,W),window.removeEventListener("test",W,W)}catch(e){B=!1}var N=!!B&&{passive:!1},z=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},j=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),H(e,n)){var r=F(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},H=function(e,t){return"v"===e?z(t,"overflowY"):z(t,"overflowX")},F=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},_=function(e,t,n,r,o){var i,l=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),a=l*r,u=n.target,s=t.contains(u),c=!1,d=a>0,f=0,p=0;do{var h=F(e,u),m=h[0],v=h[1]-h[2]-l*m;(m||v)&&H(e,u)&&(f+=v,p+=m),u=u.parentNode}while(!s&&u!==document.body||s&&(t.contains(u)||t===u));return d&&(o&&0===f||!o&&a>f)?c=!0:!d&&(o&&0===p||!o&&-a>p)&&(c=!0),c},Z=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},V=function(e){return[e.deltaX,e.deltaY]},$=function(e){return e&&"current"in e?e.current:e},K=0,U=[],Y=(u=function(e){var t=c.useRef([]),n=c.useRef([0,0]),r=c.useRef(),o=c.useState(K++)[0],i=c.useState(function(){return E()})[0],l=c.useRef(e);c.useEffect(function(){l.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;oMath.abs(s)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=j(d,c);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=j(d,c)),!f)return!1;if(!r.current&&"changedTouches"in e&&(u||s)&&(r.current=o),!o)return!0;var p=r.current||o;return _(p,t,e,"h"===p?u:s,!0)},[]),u=c.useCallback(function(e){if(U.length&&U[U.length-1]===i){var n="deltaY"in e?V(e):Z(e),r=t.current.filter(function(t){var r;return t.name===e.type&&t.target===e.target&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(l.current.shards||[]).map($).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?a(e,o[0]):!l.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=c.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=c.useCallback(function(e){n.current=Z(e),r.current=void 0},[]),f=c.useCallback(function(t){s(t.type,V(t),t.target,a(t,e.lockRef.current))},[]),p=c.useCallback(function(t){s(t.type,Z(t),t.target,a(t,e.lockRef.current))},[]);c.useEffect(function(){return U.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",u,N),document.addEventListener("touchmove",u,N),document.addEventListener("touchstart",d,N),function(){U=U.filter(function(e){return e!==i}),document.removeEventListener("wheel",u,N),document.removeEventListener("touchmove",u,N),document.removeEventListener("touchstart",d,N)}},[]);var h=e.removeScrollBar,m=e.inert;return c.createElement(c.Fragment,null,m?c.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,h?c.createElement(D,{gapMode:"margin"}):null)},b.useMedium(u),w),X=c.forwardRef(function(e,t){return c.createElement(S,d({},e,{ref:t,sideCar:Y}))});X.classNames=S.classNames;var q=n(2281);let G=(0,c.memo)(e=>e.children?(0,q.jsx)(X,{...e}):null);X.classNames},5295:function(e,t,n){"use strict";n.d(t,{p:function(){return l}});var r=n(5377),o=n(4975),i=n(5589);let l=(0,o.z)(i.Z,{name:"ScrollView",scrollEnabled:!0,variants:{fullscreen:{true:r.Xu}}},{accept:{contentContainerStyle:"style"}})},6505:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(281),o=n(4975),i=n(2166);let l=(0,o.z)(i.Kq,{name:"Separator",borderColor:"$borderColor",flexShrink:0,borderWidth:0,flex:1,height:0,maxHeight:0,borderBottomWidth:1,y:-.5,variants:{vertical:{true:{y:0,x:-.5,height:r.$L?"initial":"auto",maxHeight:r.$L?"initial":"auto",width:0,maxWidth:0,borderBottomWidth:0,borderRightWidth:1}}}})},1510:function(e,t,n){"use strict";n.d(t,{yo:function(){return ek}});var r=n(4975),o=n(5377),i=n(1092),l=n(281);let a="Sheet",u="SheetHandle",s="SheetOverlay",c=l.C5?document.createElement("style"):null;c&&"u">typeof document.head&&document.head.appendChild(c);var d=n(9046),f=n(2166),p=n(8338),h=n(2583),m=n(6616),v=n(2265),g=n(1840);let[b,y]=(0,n(301).b)(a),[S,w]=b(a,{});var x=n(3370),R=n(126),E=n(9235),k=n(5986),C=n(7562);let T=()=>{let{groups:e,animationDriver:t,...n}=(0,v.useContext)(C.s),{animations:r,...o}=(0,k.iE)();return{...o,...n,animationDriver:t??(0,k.iE)().animations}};var O=n(9087),M=n(4582),A=n(1130),P=n(4624),I=n(1775);let L=()=>{let[e,t]=(0,v.useState)(!1);return(0,v.useEffect)(()=>{let e=I.Z.addListener("keyboardDidShow",()=>{t(!0)}),n=I.Z.addListener("keyboardDidHide",()=>{t(!1)});return()=>{n.remove(),e.remove()}},[]),e};var D=n(7445),B=n.n(D),W=n(7998);class N{constructor(e){var t=e.onMoreTasks;this._onMoreTasks=t,this._queueStack=[{tasks:[],popable:!0}]}enqueue(e){this._getCurrentQueue().push(e)}enqueueTasks(e){e.forEach(e=>this.enqueue(e))}cancelTasks(e){this._queueStack=this._queueStack.map(t=>(0,W.Z)((0,W.Z)({},t),{},{tasks:t.tasks.filter(t=>-1===e.indexOf(t))})).filter((e,t)=>e.tasks.length>0||0===t)}hasTasksToProcess(){return this._getCurrentQueue().length>0}processNext(){var e=this._getCurrentQueue();if(e.length){var t=e.shift();try{"object"==typeof t&&t.gen?this._genPromise(t):"object"==typeof t&&t.run?t.run():(B()("function"==typeof t,"Expected Function, SimpleTask, or PromiseTask, but got:\n"+JSON.stringify(t,null,2)),t())}catch(e){throw e.message="TaskQueue: Error with task "+(t.name||"")+": "+e.message,e}}}_getCurrentQueue(){var e=this._queueStack.length-1,t=this._queueStack[e];return t.popable&&0===t.tasks.length&&e>0?(this._queueStack.pop(),this._getCurrentQueue()):t.tasks}_genPromise(e){var t=this._queueStack.push({tasks:[],popable:!1}),n=this._queueStack[t-1];e.gen().then(()=>{n.popable=!0,this.hasTasksToProcess()&&this._onMoreTasks()}).catch(t=>{setTimeout(()=>{throw t.message="TaskQueue: Error resolving Promise in task "+e.name+": "+t.message,t},0)})}}class z{constructor(){this._registry={}}addListener(e,t,n){var r,o,i=(null==(o=(r=this._registry)[e])&&(o=new Set,r[e]=o),o),l={context:n,listener:t,remove(){i.delete(l)}};return i.add(l),l}emit(e){var t=this._registry[e];if(null!=t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o{var t=Date.now();e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))})},1)};j&&window.cancelIdleCallback;var F=new z,_={Events:{interactionStart:"interactionStart",interactionComplete:"interactionComplete"},runAfterInteractions(e){var t=[],n=new Promise(n=>{q(),e&&t.push(e),t.push({run:n,name:"resolve "+(e&&e.name||"?")}),K.enqueueTasks(t)});return{then:n.then.bind(n),done:n.then.bind(n),cancel:()=>{K.cancelTasks(t)}}},createInteractionHandle(){q();var e=++Y;return V.add(e),e},clearInteractionHandle(e){B()(!!e,"Must provide a handle to clear."),q(),V.delete(e),$.add(e)},addListener:F.addListener.bind(F),setDeadline(e){X=e}},Z=new Set,V=new Set,$=new Set,K=new N({onMoreTasks:q}),U=0,Y=0,X=-1;function q(){U||(U=X>0?setTimeout(G):H(G))}function G(){U=0;var e=Z.size;V.forEach(e=>Z.add(e)),$.forEach(e=>Z.delete(e));var t=Z.size;if(0!==e&&0===t?F.emit(_.Events.interactionComplete):0===e&&0!==t&&F.emit(_.Events.interactionStart),0===t){for(var n=Date.now();K.hasTasksToProcess();)if(K.processNext(),X>0&&Date.now()-n>=X){q();break}}V.clear(),$.clear()}var J={centroidDimension:function(e,t,n,r){var o=e.touchBank,i=0,l=0,a=1===e.numberActiveTouches?e.touchBank[e.indexOfSingleActiveTouch]:null;if(null!==a)a.touchActive&&a.currentTimeStamp>t&&(i+=r&&n?a.currentPageX:r&&!n?a.currentPageY:!r&&n?a.previousPageX:a.previousPageY,l=1);else for(var u=0;u=t&&(i+=r&&n?s.currentPageX:r&&!n?s.currentPageY:!r&&n?s.previousPageX:s.previousPageY,l++)}return l>0?i/l:J.noCentroid},currentCentroidXOfTouchesChangedAfter:function(e,t){return J.centroidDimension(e,t,!0,!0)},currentCentroidYOfTouchesChangedAfter:function(e,t){return J.centroidDimension(e,t,!1,!0)},previousCentroidXOfTouchesChangedAfter:function(e,t){return J.centroidDimension(e,t,!0,!1)},previousCentroidYOfTouchesChangedAfter:function(e,t){return J.centroidDimension(e,t,!1,!1)},currentCentroidX:function(e){return J.centroidDimension(e,0,!0,!0)},currentCentroidY:function(e){return J.centroidDimension(e,0,!1,!0)},noCentroid:-1},Q=J.currentCentroidXOfTouchesChangedAfter,ee=J.currentCentroidYOfTouchesChangedAfter,et=J.previousCentroidXOfTouchesChangedAfter,en=J.previousCentroidYOfTouchesChangedAfter,er=J.currentCentroidX,eo=J.currentCentroidY,ei={_initializeGestureState(e){e.moveX=0,e.moveY=0,e.x0=0,e.y0=0,e.dx=0,e.dy=0,e.vx=0,e.vy=0,e.numberActiveTouches=0,e._accountsForMovesUpTo=0},_updateGestureStateOnMove(e,t){e.numberActiveTouches=t.numberActiveTouches,e.moveX=Q(t,e._accountsForMovesUpTo),e.moveY=ee(t,e._accountsForMovesUpTo);var n=e._accountsForMovesUpTo,r=et(t,n),o=Q(t,n),i=en(t,n),l=ee(t,n),a=e.dx+(o-r),u=e.dy+(l-i),s=t.mostRecentTimeStamp-e._accountsForMovesUpTo;e.vx=(a-e.dx)/s,e.vy=(u-e.dy)/s,e.dx=a,e.dy=u,e._accountsForMovesUpTo=t.mostRecentTimeStamp},create(e){var t={handle:null,shouldCancelClick:!1,timeout:null},n={stateID:Math.random(),moveX:0,moveY:0,x0:0,y0:0,dx:0,dy:0,vx:0,vy:0,numberActiveTouches:0,_accountsForMovesUpTo:0};return{panHandlers:{onStartShouldSetResponder:t=>null!=e.onStartShouldSetPanResponder&&e.onStartShouldSetPanResponder(t,n),onMoveShouldSetResponder:t=>null!=e.onMoveShouldSetPanResponder&&e.onMoveShouldSetPanResponder(t,n),onStartShouldSetResponderCapture:t=>(1===t.nativeEvent.touches.length&&ei._initializeGestureState(n),n.numberActiveTouches=t.touchHistory.numberActiveTouches,null!=e.onStartShouldSetPanResponderCapture&&e.onStartShouldSetPanResponderCapture(t,n)),onMoveShouldSetResponderCapture(t){var r=t.touchHistory;return n._accountsForMovesUpTo!==r.mostRecentTimeStamp&&(ei._updateGestureStateOnMove(n,r),!!e.onMoveShouldSetPanResponderCapture&&e.onMoveShouldSetPanResponderCapture(t,n))},onResponderGrant:r=>(t.handle||(t.handle=_.createInteractionHandle()),t.timeout&&clearTimeout(t.timeout),t.shouldCancelClick=!0,n.x0=er(r.touchHistory),n.y0=eo(r.touchHistory),n.dx=0,n.dy=0,e.onPanResponderGrant&&e.onPanResponderGrant(r,n),null==e.onShouldBlockNativeResponder||e.onShouldBlockNativeResponder(r,n)),onResponderReject(r){el(t,e.onPanResponderReject,r,n)},onResponderRelease(r){el(t,e.onPanResponderRelease,r,n),ea(t),ei._initializeGestureState(n)},onResponderStart(t){var r=t.touchHistory;n.numberActiveTouches=r.numberActiveTouches,e.onPanResponderStart&&e.onPanResponderStart(t,n)},onResponderMove(t){var r=t.touchHistory;n._accountsForMovesUpTo!==r.mostRecentTimeStamp&&(ei._updateGestureStateOnMove(n,r),e.onPanResponderMove&&e.onPanResponderMove(t,n))},onResponderEnd(r){var o=r.touchHistory;n.numberActiveTouches=o.numberActiveTouches,el(t,e.onPanResponderEnd,r,n)},onResponderTerminate(r){el(t,e.onPanResponderTerminate,r,n),ea(t),ei._initializeGestureState(n)},onResponderTerminationRequest:t=>null==e.onPanResponderTerminationRequest||e.onPanResponderTerminationRequest(t,n),onClickCapture:e=>{!0===t.shouldCancelClick&&(e.stopPropagation(),e.preventDefault())}},getInteractionHandle:()=>t.handle}}};function el(e,t,n,r){e.handle&&(_.clearInteractionHandle(e.handle),e.handle=null),t&&t(n,r)}function ea(e){e.timeout=setTimeout(()=>{e.shouldCancelClick=!1},250)}var eu=n(1090),es=n(5275);let ec=(0,v.createContext)({zIndex:1e5}),ed=(0,v.createContext)(null);function ef(e,t,n=25){return e{let{isHidden:t,controller:n}=(0,eh.$)(),[r,o]=(0,ep.T)({prop:n?.open??e.open,defaultProp:e.defaultOpen??!1,onChange:t=>{n?.onOpenChange?.(t),e.onOpenChange?.(t)},strategy:"most-recent-wins",transition:!0});return{open:r,setOpen:o,isHidden:t,controller:n}};var ev=n(3020),eg=n(2281);let eb=(0,E.Y)((0,v.forwardRef)(function(e,t){let n=(0,v.useContext)(ec),{animation:r,animationConfig:o,modal:i=!1,zIndex:a=n.zIndex+1,moveOnKeyboardChange:u=!1,unmountChildrenWhenHidden:s=!1,portalProps:p,containerComponent:h=v.Fragment}=e,m=L(),g=em(e),[b,y]=(0,v.useState)(null),w=function(e,t,n={}){let r=v.useRef(null),o=v.useRef(null),[i,l]=(0,v.useState)(0),[a,u]=(0,v.useState)(0),s=e.snapPointsMode??"percent",c=e.snapPoints??("percent"===s?[80]:"constant"===s?[256]:["fit"]),d="fit"===c[0],f=(0,v.useMemo)(()=>e.dismissOnSnapToBottom?[...c,0]:c,[JSON.stringify(c),e.dismissOnSnapToBottom]),[p,h]=(0,ep.T)({prop:e.position,defaultProp:e.defaultPosition||(t.open?0:-1),onChange:e.onPositionChange,strategy:"most-recent-wins",transition:!0}),m=!1===t.open?-1:p,{open:g}=t,b=(0,v.useCallback)(n=>{e.dismissOnSnapToBottom&&n===f.length-1?t.setOpen(!1):h(n)},[e.dismissOnSnapToBottom,f.length,h,t.setOpen]);g&&e.dismissOnSnapToBottom&&m===f.length-1&&h(0);let y=g&&m<0;(0,v.useEffect)(()=>{y&&b(0)},[b,y]);let{animationDriver:S}=T();if(!S)throw Error("Must set animations in tamagui.config.ts");let w=(0,ev.h)(()=>({enabled:!1,y:0,paneY:0,paneMinY:0,scrollStartY:-1,drag:()=>{},release:()=>{},scrollLock:!1})),x=e.forceRemoveScrollEnabled??(g&&e.modal),R=f[0];return{screenSize:"percent"===s?i/(("number"==typeof R?R:100)/100):a,maxSnapPoint:R,removeScrollEnabled:x,scrollBridge:w,modal:!!e.modal,open:t.open,setOpen:t.setOpen,hidden:!!t.isHidden,contentRef:o,handleRef:r,frameSize:i,setFrameSize:l,dismissOnOverlayPress:e.dismissOnOverlayPress??!0,dismissOnSnapToBottom:e.dismissOnSnapToBottom??!1,onOverlayComponent:n.onOverlayComponent,scope:e.__scopeSheet,hasFit:d,position:m,snapPoints:f,snapPointsMode:s,setMaxContentSize:u,setPosition:b,setPositionImmediate:h,onlyShowFrame:!1}}(e,g,{onOverlayComponent:y}),{frameSize:E,setFrameSize:C,snapPoints:D,snapPointsMode:B,hasFit:W,position:N,setPosition:z,scrollBridge:j,screenSize:H,setMaxContentSize:F,maxSnapPoint:_}=w,{open:Z,controller:V,isHidden:$}=g,K=(0,v.useRef)(null),U=(0,d.ex)(t,K),Y=(()=>{let[e,t]=r?Array.isArray(r)?r:[r]:[];return o??(e?{...(0,k.iE)().animations.animations[e],...t}:null)})(),[X,q]=(0,v.useState)(!1),G=!l.$L&&i&&X,J=(0,v.useContext)(ed),Q=(0,v.useCallback)(e=>{q(e)},[]),ee=(0,v.useMemo)(()=>D.map(e=>(function(e,t,n,r){if(!n||!r)return 0;if("mixed"===e){if("number"==typeof t)return n-Math.min(n,Math.max(0,t));if("fit"===t)return n-Math.min(n,r);if(t.endsWith("%")){let e=Math.min(100,Math.max(0,Number(t.slice(0,-1))))/100;return Number.isNaN(e)?(console.warn("Invalid snapPoint percentage string"),0):Math.round(n-e*n)}return console.warn("Invalid snapPoint unknown value"),0}if("fit"===e)return 0===t?n:n-Math.min(n,r);if("constant"===e&&"number"==typeof t)return n-Math.min(n,Math.max(0,t));let o=Math.min(100,Math.max(0,Number(t)))/100;return Number.isNaN(o)?(console.warn("Invalid snapPoint percentage"),0):Math.round(n-o*n)})(B,e,H,E)),[H,E,D,B]),{animationDriver:et}=T(),{useAnimatedNumber:en,useAnimatedNumberStyle:er,useAnimatedNumberReaction:eo}=et,el=et.View??f.Kq;(0,l.LI)(()=>{if(J&&Z)return J(!0),()=>{J(!1)}},[J,Z]);let ea=(0,v.useMemo)(()=>({zIndex:a}),[a]),eh=en(10000.1),eb=(0,v.useRef)(10000.1);function ey(){eh.stop(),j.onFinishAnimate&&(j.onFinishAnimate(),j.onFinishAnimate=void 0)}eo({value:eh,hostRef:K},(0,v.useCallback)(e=>{eb.current=e,j.paneY=e},[et]));let eS=10000.1===eb.current,ew=(0,O.z)(e=>{if(0===E)return;let t=$||-1===e?H:ee[e];if(eb.current!==t){if(eb.current=t,ey(),eS||$){eh.setValue(H,{type:"timing",duration:0},()=>{$||(t=ee[e],eb.current=t,eh.setValue(t,{type:"spring",...Y}))});return}eh.setValue(t,{type:"spring",...Y})}});(0,l.LI)(()=>{H&&eS&&eh.setValue(H,{type:"timing",duration:0})},[eS,H]),(0,l.LI)(()=>{E&&H&&!$&&(!eS||Z)&&ew(N)},[$,E,H,Z,N]);let ex=e.disableDrag??V?.disableDrag,eR=(0,M.C)(),[eE,ek]=(0,v.useState)(!1),eC=(0,v.useMemo)(()=>{if(ex||!E||X)return;let e=ee[0];j.paneMinY=e;let t=eb.current;function n(e){ek(e),c&&(e?c.innerText=":root * { user-select: none !important; -webkit-user-select: none !important; }":c.innerText="")}let r=({vy:e,dragAt:r})=>{a=!1,n(!1);let o=r+t+E*e*.2,i=0,l=Number.POSITIVE_INFINITY;for(let e=0;et?o-t:t-o;n{r({vy:t.vy,dragAt:t.dy})},i=()=>{n(!0),ey(),t=eb.current},a=!1;return j.drag=n=>{a||(a=!0,i());let r=n+t;eh.setValue(ef(r,e),{type:"direct"})},j.release=r,ei.create({onMoveShouldSetPanResponder:(e,{dy:t})=>{if(e.target===w.handleRef.current)return!0;let n=0!==j.y,r=j.paneY-5<=j.paneMinY;return!n&&(!r||!!n||!(t<0)||!!l.$L)&&Math.abs(t)>5},onPanResponderGrant:i,onPanResponderMove:(n,{dy:r})=>{let o=ef(r+t,e);eh.setValue(o,{type:"direct"})},onPanResponderEnd:o,onPanResponderTerminate:o,onPanResponderRelease:o})},[ex,X,ew,E,ee,z]),eT=(0,v.useCallback)(e=>{let t=Math.min(e.nativeEvent?.layout.height,eu.Z.get("window").height);t&&C(t)},[m]),eO=(0,v.useCallback)(e=>{let t=Math.min(e.nativeEvent?.layout.height,eu.Z.get("window").height);t&&F(t)},[m]),eM=er(eh,e=>({transform:[{translateY:0===E?10000.1:e}]})),eA=(0,v.useRef)(null);(0,v.useEffect)(()=>{if(l.$L||!u)return;let e=I.Z.addListener("keyboardDidShow",e=>{null===eA.current&&(eA.current=eh.getValue(),eh.setValue(Math.max(eh.getValue()-e.endCoordinates.height,0)))}),t=I.Z.addListener("keyboardDidHide",()=>{null!==eA.current&&(eh.setValue(eA.current),eA.current=null)});return()=>{t.remove(),e.remove()}},[u]);let[eP,eI]=(0,v.useState)(Z?1:0);Z&&0===eP&&eI(1),(0,v.useEffect)(()=>{if(!Z){let e=setTimeout(()=>{eI(0)},400);return()=>{clearTimeout(e)}}},[Z]);let eL=W?void 0:"percent"===B?`${_}${l.$L?"dvh":"%"}`:_,eD=(0,eg.jsx)(ec.Provider,{value:ea,children:(0,eg.jsxs)(S,{...w,children:[(0,eg.jsx)(R.M,{custom:{open:Z},children:G||!Z?null:b}),"percent"!==B&&(0,eg.jsx)(es.Z,{style:{opacity:0,position:"absolute",top:0,left:0,right:0,bottom:0,pointerEvents:"none"},onLayout:eO}),(0,eg.jsx)(el,{ref:U,...eC?.panHandlers,onLayout:eT,...!eE&&{animation:r},disableClassName:!0,style:[{position:"absolute",zIndex:a,width:"100%",height:eL,minHeight:eL,opacity:eP,...(G||!Z)&&{pointerEvents:"none"}},eM],children:e.children})]})}),eB=(0,v.useContext)(x.fG);if(i){let e=(0,eg.jsx)(P.h_,{zIndex:a,...p,children:!!(eP||!s)&&(0,eg.jsx)(h,{children:(0,eg.jsx)(A.Q,{forceClassName:!0,name:eR,children:(0,eg.jsx)(x.fG.Provider,{value:eB,children:eD})})})});return l.$L?e:(0,eg.jsx)(ed.Provider,{value:Q,children:e})}return eD}));var ey=n(5295);let eS=(0,v.forwardRef)(({__scopeSheet:e,children:t,onScroll:n,...r},o)=>{let{scrollBridge:i}=w("SheetScrollView",e),l=(0,v.useRef)(null),a=(0,v.useRef)({lastPageY:0,dragAt:0,dys:[],isScrolling:!1,isDragging:!1});return(0,eg.jsx)(ey.p,{ref:(0,d.FE)(l,o),flex:1,scrollEventThrottle:8,onScroll:e=>{let{y:t}=e.nativeEvent.contentOffset;i.y=t,t>0&&(i.scrollStartY=-1),n?.(e)},onStartShouldSetResponder:()=>(i.scrollStartY=-1,a.current.isDragging=!0,!0),onMoveShouldSetResponder:()=>!1,onResponderRelease:()=>{if(!a.current.isDragging)return;a.current.isDragging=!1,i.scrollStartY=-1,a.current.isScrolling=!1;let e=0;if(a.current.dys.length){let t=a.current.dys.slice(-10);e=(t.length?t.reduce((e,t)=>e+t,0):0)/t.length*.04}a.current.dys=[],i.release({dragAt:a.current.dragAt,vy:e})},className:"_ovs-contain",...r,children:(0,v.useMemo)(()=>t,[t])})}),ew=({snapPoints:e,position:t,screenSize:n,frameSize:r,snapPointsMode:o})=>{if("fit"===o)return 0;if("constant"===o)return Number(e[0])-Number(e[t]??0);if("percent"===o)return(Number(e[0])/100-Number(e[t]??0)/100)*n;let i=e[0];if("fit"===i)return 0;let l="string"==typeof i?Number(i.slice(0,-1))/100*n:i,a=e[t]??0,u=l-("string"==typeof a?Number(a.slice(0,-1))/100*n:a);return Number.isNaN(u)?0:u};var ex=n(357);let eR=(0,r.z)(o.sL,{name:u,variants:{open:{true:{pointerEvents:"auto"},false:{opacity:0,pointerEvents:"none"}},unstyled:{false:{height:10,borderRadius:100,backgroundColor:"$background",zIndex:10,marginHorizontal:"35%",marginBottom:"$2",opacity:.5,hoverStyle:{opacity:.7}}}},defaultVariants:{unstyled:"1"===ex.env.TAMAGUI_HEADLESS}}),eE=(0,r.z)(i.K,{name:s,variants:{open:{true:{opacity:1,pointerEvents:"auto"},false:{opacity:0,pointerEvents:"none"}},unstyled:{false:{fullscreen:!0,position:"absolute",backgrounded:!0,zIndex:99999,pointerEvents:"auto"}}},defaultVariants:{unstyled:"1"===ex.env.TAMAGUI_HEADLESS}}),ek=function({Handle:e,Frame:t,Overlay:n}){let r=e.styleable(({__scopeSheet:t,...n},r)=>{let o=w(u,t),i=(0,d.ex)(o.handleRef,r);return o.onlyShowFrame?null:(0,eg.jsx)(e,{ref:i,onPress:()=>{let e=o.snapPoints.length+(o.dismissOnSnapToBottom?-1:0),t=(o.position+1)%e;o.setPosition(t)},open:o.open,...n})}),o=n.extractable((0,v.memo)(e=>{let{__scopeSheet:t,...r}=e,o=w(s,t),i=(0,v.useMemo)(()=>(0,eg.jsx)(n,{...r,onPress:(0,p.Mj)(r.onPress,o.dismissOnOverlayPress?()=>{o.setOpen(!1)}:void 0)}),[r.onPress,o.dismissOnOverlayPress]);return(0,l.LI)(()=>{o.onOverlayComponent?.(i)},[i]),o.onlyShowFrame,null})),i=t.extractable((0,v.forwardRef)(({__scopeSheet:e,adjustPaddingForOffscreenContent:n,disableHideBottomOverflow:r,children:o,...i},l)=>{let u=w(a,e),{hasFit:s,removeScrollEnabled:c,frameSize:p,contentRef:m,open:g}=u,b=(0,d.ex)(l,m),y=ew(u),S=(0,v.useMemo)(()=>(0,eg.jsxs)(t,{ref:b,flex:s?0:1,height:s?void 0:p,pointerEvents:g?"auto":"none",...i,children:[o,n&&(0,eg.jsx)(f.Kq,{"data-sheet-offscreen-pad":!0,height:y,width:"100%"})]}),[g,i,p,y,n,s]);return(0,eg.jsxs)(eg.Fragment,{children:[(0,eg.jsx)(h.f,{forwardProps:!0,enabled:c,allowPinchZoom:!0,shards:[m],removeScrollBar:!1,children:S}),!r&&(0,eg.jsx)(t,{...i,componentName:"SheetCover",children:null,position:"absolute",bottom:"-100%",zIndex:-1,height:u.frameSize,left:0,right:0,borderWidth:0,borderRadius:0,shadowOpacity:0})]})})),c=(0,v.forwardRef)(function(e,t){let n=(0,m.SZ)(),{isShowingNonSheet:r}=(0,eh.$)();return e.native&&g.Z.OS,r||!n?null:(0,eg.jsx)(eb,{ref:t,...e})}),b={Frame:i,Overlay:o,Handle:r,ScrollView:eS},y=(0,p.$e)(c,b);return(0,p.$e)(c,{...b,Controlled:y})}({Frame:(0,r.z)(o.FA,{name:a,variants:{unstyled:{false:{flex:1,backgroundColor:"$background",borderTopLeftRadius:"$true",borderTopRightRadius:"$true",width:"100%",maxHeight:"100%",overflow:"hidden"}}},defaultVariants:{unstyled:"1"===ex.env.TAMAGUI_HEADLESS}}),Handle:eR,Overlay:eE})},4077:function(e,t,n){"use strict";n.d(t,{f:function(){return a}});var r=n(9087),o=n(2265),i=n(7657),l=n(2281);let a=({children:e,onOpenChange:t,...n})=>{let a=(0,r.z)(t),u=(0,o.useMemo)(()=>({open:n.open,hidden:n.hidden,disableDrag:n.disableDrag,onOpenChange:a}),[a,n.open,n.hidden,n.disableDrag]);return(0,l.jsx)(i.W.Provider,{value:u,children:e})}},7657:function(e,t,n){"use strict";n.d(t,{$:function(){return o},W:function(){return i}});var r=n(2265);let o=()=>{let e=(0,r.useContext)(i),t=e?.hidden,n=t&&e?.open;return{controller:e,isHidden:t,isShowingNonSheet:n,disableDrag:e?.disableDrag}},i=(0,r.createContext)(null)},1092:function(e,t,n){"use strict";n.d(t,{K:function(){return s}});var r=n(4975),o=n(5377),i=n(8587);let l={borderRadius:1e5,padding:0},a={backgroundColor:"transparent",borderColor:"transparent",shadowColor:"transparent",hoverStyle:{borderColor:"transparent"}},u={backgrounded:{true:{backgroundColor:"$background"}},radiused:{true:(e,t)=>{let{tokens:n,props:r}=t;return{borderRadius:n.radius[r.size]||n.radius.$true}}},hoverTheme:{true:{hoverStyle:{backgroundColor:"$backgroundHover",borderColor:"$borderColorHover"}},false:{}},pressTheme:{true:{cursor:"pointer",pressStyle:{backgroundColor:"$backgroundPress",borderColor:"$borderColorPress"}},false:{}},focusTheme:{true:{focusStyle:{backgroundColor:"$backgroundFocus",borderColor:"$borderColorFocus"}},false:{}},circular:{true:(e,{props:t,tokens:n})=>{if(!("size"in t))return l;let r="number"==typeof t.size?t.size:n.size[t.size];return{...l,width:r,height:r,maxWidth:r,maxHeight:r,minWidth:r,minHeight:r}}},padded:{true:(e,t)=>{let{tokens:n,props:r}=t;return{padding:n.space[r.size]||n.space.$true}}},elevate:{true:(e,t)=>(0,i.y)(t.props.size,t)},bordered:(e,{props:t})=>({borderWidth:"number"==typeof e?e:1,borderColor:"$borderColor",...t.hoverTheme&&{hoverStyle:{borderColor:"$borderColorHover"}},...t.pressTheme&&{pressStyle:{borderColor:"$borderColorPress"}},...t.focusTheme&&{focusStyle:{borderColor:"$borderColorFocus"}}}),transparent:{true:{backgroundColor:"transparent"}},chromeless:{true:a,all:{...a,hoverStyle:a,pressStyle:a,focusStyle:a}}},s=(0,r.z)(o.FA,{variants:u})},1217:function(e,t,n){"use strict";n.d(t,{n:function(){return i}});var r=n(4975),o=n(2026);let i=(0,r.z)(o.J,{name:"Paragraph",tag:"p",userSelect:"auto",color:"$color",size:"$true",whiteSpace:"normal"})},2026:function(e,t,n){"use strict";n.d(t,{J:function(){return a}});var r=n(8970),o=n(4975),i=n(8475),l=n(357);let a=(0,o.z)(i.x,{name:"SizableText",fontFamily:"$body",variants:{unstyled:{false:{size:"$true",color:"$color"}},size:r.H},defaultVariants:{unstyled:"1"===l.env.TAMAGUI_HEADLESS}});a.staticConfig.variants.fontFamily={"...":(e,t)=>{let n=t.props.size||"$true";return(0,r.H)(n,t)}}},2875:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var r=n(2265),o=n(2281);function i(e,t,n){let{children:i,textProps:l,size:a,noTextWrap:u,color:s,fontFamily:c,fontSize:d,fontWeight:f,letterSpacing:p,textAlign:h,fontStyle:m,maxFontSizeMultiplier:v}=t;if(u||!i)return[i];let g={...n};return s&&(g.color=s),c&&(g.fontFamily=c),d&&(g.fontSize=d),f&&(g.fontWeight=f),p&&(g.letterSpacing=p),h&&(g.textAlign=h),a&&(g.size=a),m&&(g.fontStyle=m),v&&(g.maxFontSizeMultiplier=v),r.Children.toArray(i).map((t,n)=>"string"==typeof t?(0,o.jsx)(e,{...g,...l,children:t},n):t)}},3020:function(e,t,n){"use strict";n.d(t,{h:function(){return o}});var r=n(2265);function o(e){if(typeof document>"u")return(0,r.useMemo)(()=>e(),[]);let t=(0,r.useRef)();return t.current||(t.current={v:e()}),t.current.v}},3277:function(e,t,n){"use strict";n.d(t,{T:function(){return l}});var r=n(9087),o=n(2265);let i=e=>e();function l({prop:e,defaultProp:t,onChange:n,strategy:l="prop-wins",preventUpdate:u,transition:s}){let[c,d]=(0,o.useState)(e??t),f=(0,o.useRef)(c),p="prop-wins"===l&&void 0!==e,h=p?e:c,m=(0,r.z)(n||a),v=s?o.startTransition:i;return(0,o.useEffect)(()=>{void 0!==e&&(f.current=e,v(()=>{d(e)}))},[e]),(0,o.useEffect)(()=>{p||c!==f.current&&(f.current=c,m(c))},[m,c,p]),[h,(0,r.z)(e=>{u||(p?m("function"==typeof e?e(f.current):e):v(()=>{d(e)}))})]}let a=()=>{}},6616:function(e,t,n){"use strict";n.d(t,{SZ:function(){return l}});var r=n(2265);let o=()=>{},i=()=>o;function l(e,t){if(t?.sync)return(0,r.useSyncExternalStore)(i,()=>e??!0,()=>!1);let[n,o]=(0,r.useState)(e);return(0,r.useEffect)(()=>{o(e??!0)},[]),n??!1}},1386:function(e,t,n){"use strict";n.d(t,{Lb:function(){return f},wN:function(){return d}});var r=n(2265),o=n(5986),i=n(7562),l=n(5902),a=n(2622),u=n(5566),s=n(9097),c=n(8411);function d(e,t){let[n,r]=f(e,{...t,noExpand:!0,noNormalize:!0,resolveValues:"none"});return{...n,...r}}function f(e,t){let n=t?.forComponent?.staticConfig??u.K.staticConfig,[d,f]=(0,c.WU)({componentName:n.componentName}),p=(0,r.useContext)(i.s),{state:h,disabled:m,setStateShallow:v}=(0,l.Ee)(e,p,n,(0,o.iE)()),g=(0,s.GS)(),b=(0,a.DP)(e,n,f,d.state?.name||"",h,{isAnimated:!1,mediaState:g,noSkip:!0,noMergeStyle:!0,noClassNames:!0,resolveValues:"auto",...t},null,p),{mediaGroups:y,pseudoGroups:S}=b;return(0,r.useEffect)(()=>{if(!m){if(h.unmounted){v({unmounted:!1});return}return(0,l.En)({disabled:m,componentContext:p,setStateShallow:v,state:h,mediaGroups:y,pseudoGroups:S})}},[m,S?Object.keys([...S]).join(""):0,y?Object.keys([...y]).join(""):0]),[b.viewProps,b.style||{},f,g]}},4582:function(e,t,n){"use strict";n.d(t,{C:function(){return a}});var r=n(281),o=n(2265),i=n(9033),l=n(8411);function a(e){let t=(0,l.q4)((0,o.useContext)(i.s)),[n,a]=(0,o.useState)(t?.state.name||"");return(0,r.LI)(()=>{if(t)return a(t.state.name),t.onChangeTheme((t,n)=>{let r=e?.parent&&n.state.parentName||t;r&&a(r)})},[t?.state.name]),n}}}]);
\ No newline at end of file
diff --git a/_next/static/chunks/50bd76a3-3480b2f334cc5792.js b/_next/static/chunks/50bd76a3-7f4929e6d77cc44d.js
similarity index 99%
rename from _next/static/chunks/50bd76a3-3480b2f334cc5792.js
rename to _next/static/chunks/50bd76a3-7f4929e6d77cc44d.js
index 34aca35121c4272901069d1dece1b241aa6a6b58..5e76cc54bfbcba973490a4ef4654ff1d769d3724 100644
--- a/_next/static/chunks/50bd76a3-3480b2f334cc5792.js
+++ b/_next/static/chunks/50bd76a3-7f4929e6d77cc44d.js
@@ -2,7 +2,7 @@
* ONNX Runtime Web v1.14.0
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
-*/!function(t,e){module.exports=e(__webpack_require__(3426))}(self,__WEBPACK_EXTERNAL_MODULE__1670__=>(()=>{var __webpack_modules__={3474:(t,e,r)=>{var n,i=(n=(n="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0)||"/index.js",function(t){function e(){return k.buffer!=F&&W(k.buffer),N}function i(){return k.buffer!=F&&W(k.buffer),L}function o(){return k.buffer!=F&&W(k.buffer),R}function a(){return k.buffer!=F&&W(k.buffer),j}function s(){return k.buffer!=F&&W(k.buffer),M}t=t||{},u||(u=void 0!==t?t:{}),u.ready=new Promise(function(t,e){l=t,c=e});var u,l,c,p,f,d,h,g,b,m=Object.assign({},u),y="./this.program",_=(t,e)=>{throw e},v="object"==typeof window,x="function"==typeof importScripts,w="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,T=u.ENVIRONMENT_IS_PTHREAD||!1,S="";function O(t){return u.locateFile?u.locateFile(t,S):S+t}if(w){let t;S=x?r(908).dirname(S)+"/":"//",b=()=>{g||(h=r(1384),g=r(908))},p=function(t,e){return b(),t=g.normalize(t),h.readFileSync(t,e?void 0:"utf8")},d=t=>((t=p(t,!0)).buffer||(t=new Uint8Array(t)),t),f=(t,e,r)=>{b(),t=g.normalize(t),h.readFile(t,function(t,n){t?r(t):e(n.buffer)})},1{if(Q())throw process.exitCode=t,e;e instanceof tl||D("exiting due to exception: "+e),process.exit(t)},u.inspect=function(){return"[Emscripten Module object]"};try{t=r(9925)}catch(t){throw console.error('The "worker_threads" module is not supported in this node.js build - perhaps a newer version is needed?'),t}r.g.Worker=t.Worker}else(v||x)&&(x?S=self.location.href:"undefined"!=typeof document&&document.currentScript&&(S=document.currentScript.src),n&&(S=n),S=0!==S.indexOf("blob:")?S.substr(0,S.replace(/[?#].*/,"").lastIndexOf("/")+1):"",w||(p=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},x&&(d=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),f=(t,e,r)=>{var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=()=>{200==n.status||0==n.status&&n.response?e(n.response):r()},n.onerror=r,n.send(null)}));w&&"undefined"==typeof performance&&(r.g.performance=r(6953).performance);var A=console.log.bind(console),E=console.warn.bind(console);w&&(b(),A=t=>h.writeSync(1,t+"\n"),E=t=>h.writeSync(2,t+"\n"));var I,P=u.print||A,D=u.printErr||E;Object.assign(u,m),m=null,u.thisProgram&&(y=u.thisProgram),u.quit&&(_=u.quit),u.wasmBinary&&(I=u.wasmBinary);var $=u.noExitRuntime||!1;"object"!=typeof WebAssembly&&to("no native wasm support detected");var k,C,F,N,L,R,j,M,U=!1,V="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function B(t,e,r){var n=(e>>>=0)+r;for(r=e;t[r]&&!(r>=n);)++r;if(16(i=224==(240&i)?(15&i)<<12|o<<6|a:(7&i)<<18|o<<12|a<<6|63&t[e++])?n+=String.fromCharCode(i):(i-=65536,n+=String.fromCharCode(55296|i>>10,56320|1023&i))}}else n+=String.fromCharCode(i)}return n}function z(t,e){return(t>>>=0)?B(i(),t,e):""}function G(t,e,r,n){if(!(0>>=0;n=r+n-1;for(var o=0;o=a&&(a=65536+((1023&a)<<10)|1023&t.charCodeAt(++o)),127>=a){if(r>=n)break;e[r++>>>0]=a}else{if(2047>=a){if(r+1>=n)break;e[r++>>>0]=192|a>>6}else{if(65535>=a){if(r+2>=n)break;e[r++>>>0]=224|a>>12}else{if(r+3>=n)break;e[r++>>>0]=240|a>>18,e[r++>>>0]=128|a>>12&63}e[r++>>>0]=128|a>>6&63}e[r++>>>0]=128|63&a}}return e[r>>>0]=0,r-i}function H(t){for(var e=0,r=0;r=n?e++:2047>=n?e+=2:55296<=n&&57343>=n?(e+=4,++r):e+=3}return e}function W(t){F=t,u.HEAP8=N=new Int8Array(t),u.HEAP16=new Int16Array(t),u.HEAP32=R=new Int32Array(t),u.HEAPU8=L=new Uint8Array(t),u.HEAPU16=new Uint16Array(t),u.HEAPU32=j=new Uint32Array(t),u.HEAPF32=new Float32Array(t),u.HEAPF64=M=new Float64Array(t)}T&&(F=u.buffer);var q=u.INITIAL_MEMORY||16777216;if(T)k=u.wasmMemory,F=u.buffer;else if(u.wasmMemory)k=u.wasmMemory;else if(!((k=new WebAssembly.Memory({initial:q/65536,maximum:65536,shared:!0})).buffer instanceof SharedArrayBuffer))throw D("requested a shared WebAssembly.Memory but the returned buffer is not a SharedArrayBuffer, indicating that while the browser has SharedArrayBuffer it does not have WebAssembly threads support - you may need to set a flag"),w&&console.log("(on node you may need: --experimental-wasm-threads --experimental-wasm-bulk-memory and also use a recent version)"),Error("bad memory");k&&(F=k.buffer),q=F.byteLength,W(F);var X,Y=[],K=[],Z=[],J=[];function Q(){return $||!1}function tt(){var t=u.preRun.shift();Y.unshift(t)}var te,tr=0,tn=null,ti=null;function to(t){throw T?postMessage({cmd:"onAbort",arg:t}):u.onAbort&&u.onAbort(t),D(t="Aborted("+t+")"),U=!0,t=new WebAssembly.RuntimeError(t+". Build with -sASSERTIONS for more info."),c(t),t}function ta(){return te.startsWith("data:application/octet-stream;base64,")}function ts(){var t=te;try{if(t==te&&I)return new Uint8Array(I);if(d)return d(t);throw"both async and sync fetching of the wasm failed"}catch(t){to(t)}}te="ort-wasm-threaded.wasm",ta()||(te=O(te));var tu={};function tl(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}function tc(t){(t=th.Vb[t])||to(),th.mc(t)}function tp(t){var e=th.Cc();if(!e)return 6;th.ac.push(e),th.Vb[t.Ub]=e,e.Ub=t.Ub;var r={cmd:"run",start_routine:t.Ic,arg:t.zc,pthread_ptr:t.Ub};return e.$b=()=>{r.time=performance.now(),e.postMessage(r,t.Nc)},e.loaded&&(e.$b(),delete e.$b),0}function tf(t){if(T)return tX(1,1,t);Q()||(th.oc(),u.onExit&&u.onExit(t),U=!0),_(t,new tl(t))}function td(t,e){if(!e&&T)throw tm(t),"unwind";Q()||T||(eu(),tg(Z),es(0),t4[1].length&&t6(1,10),t4[2].length&&t6(2,10),th.oc()),tf(t)}var th={Yb:[],ac:[],qc:[],Vb:{},fc:function(){T&&th.Ec()},Pc:function(){},Ec:function(){th.receiveObjectTransfer=th.Gc,th.threadInitTLS=th.pc,th.setExitStatus=th.nc,$=!1},nc:function(){},oc:function(){for(var t of Object.values(th.Vb))th.mc(t);for(t of th.Yb)t.terminate();th.Yb=[]},mc:function(t){var e=t.Ub;delete th.Vb[e],th.Yb.push(t),th.ac.splice(th.ac.indexOf(t),1),t.Ub=0,ed(e)},Gc:function(){},pc:function(){th.qc.forEach(t=>t())},Fc:function(t,e){t.onmessage=r=>{var n=(r=r.data).cmd;if(t.Ub&&(th.Bc=t.Ub),r.targetThread&&r.targetThread!=ei()){var i=th.Vb[r.Qc];i?i.postMessage(r,r.transferList):D('Internal error! Worker sent a message "'+n+'" to target pthread '+r.targetThread+", but that thread no longer exists!")}else"processProxyingQueue"===n?tB(r.queue):"spawnThread"===n?tp(r):"cleanupThread"===n?tc(r.thread):"killThread"===n?(r=r.thread,n=th.Vb[r],delete th.Vb[r],n.terminate(),ed(r),th.ac.splice(th.ac.indexOf(n),1),n.Ub=0):"cancelThread"===n?th.Vb[r.thread].postMessage({cmd:"cancel"}):"loaded"===n?(t.loaded=!0,e&&e(t),t.$b&&(t.$b(),delete t.$b)):"print"===n?P("Thread "+r.threadId+": "+r.text):"printErr"===n?D("Thread "+r.threadId+": "+r.text):"alert"===n?alert("Thread "+r.threadId+": "+r.text):"setimmediate"===r.target?t.postMessage(r):"onAbort"===n?u.onAbort&&u.onAbort(r.arg):n&&D("worker sent an unknown command "+n);th.Bc=void 0},t.onerror=t=>{throw D("worker sent an error! "+t.filename+":"+t.lineno+": "+t.message),t},w&&(t.on("message",function(e){t.onmessage({data:e})}),t.on("error",function(e){t.onerror(e)}),t.on("detachedExit",function(){})),t.postMessage({cmd:"load",urlOrBlob:u.mainScriptUrlOrBlob||n,wasmMemory:k,wasmModule:C})},yc:function(){var t=O("ort-wasm-threaded.worker.js");th.Yb.push(new Worker(t))},Cc:function(){return 0==th.Yb.length&&(th.yc(),th.Fc(th.Yb[0])),th.Yb.pop()}};function tg(t){for(;0>2>>>0];t=o()[t+48>>2>>>0],eb(e,e-t),ey(e)};var ty=[];function t_(t){var e=ty[t];return e||(t>=ty.length&&(ty.length=t+1),ty[t]=e=X.get(t)),e}u.invokeEntryPoint=function(t,e){t=t_(t)(e),Q()?th.nc(t):eh(t)};var tv,tx,tw=[],tT=0,tS=0;function tO(t){this.Zb=t,this.Sb=t-24,this.xc=function(t){a()[this.Sb+4>>2>>>0]=t},this.bc=function(){return a()[this.Sb+4>>2>>>0]},this.wc=function(t){a()[this.Sb+8>>2>>>0]=t},this.Dc=function(){return a()[this.Sb+8>>2>>>0]},this.rc=function(){o()[this.Sb>>2>>>0]=0},this.hc=function(t){t=t?1:0,e()[this.Sb+12>>0>>>0]=t},this.uc=function(){return 0!=e()[this.Sb+12>>0>>>0]},this.ic=function(t){t=t?1:0,e()[this.Sb+13>>0>>>0]=t},this.kc=function(){return 0!=e()[this.Sb+13>>0>>>0]},this.fc=function(t,e){this.cc(0),this.xc(t),this.wc(e),this.rc(),this.hc(!1),this.ic(!1)},this.sc=function(){Atomics.add(o(),this.Sb>>2,1)},this.Hc=function(){return 1===Atomics.sub(o(),this.Sb>>2,1)},this.cc=function(t){a()[this.Sb+16>>2>>>0]=t},this.tc=function(){return a()[this.Sb+16>>2>>>0]},this.vc=function(){if(ex(this.bc()))return a()[this.Zb>>2>>>0];var t=this.tc();return 0!==t?t:this.Zb}}function tA(t){return ea(new tO(t).Sb)}function tE(t,e,r,n){return T?tX(3,1,t,e,r,n):tI(t,e,r,n)}function tI(t,e,r,n){if("undefined"==typeof SharedArrayBuffer)return D("Current environment does not support SharedArrayBuffer, pthreads are not available!"),6;var i=[];return T&&0===i.length?tE(t,e,r,n):(t={Ic:r,Ub:t,zc:n,Nc:i},T?(t.Oc="spawnThread",postMessage(t,i),0):tp(t))}function tP(t,e,r){return T?tX(4,1,t,e,r):0}function tD(t,e){if(T)return tX(5,1,t,e)}function t$(t,e){if(T)return tX(6,1,t,e)}function tk(t,e,r){if(T)return tX(7,1,t,e,r)}function tC(t,e,r){return T?tX(8,1,t,e,r):0}function tF(t,e){if(T)return tX(9,1,t,e)}function tN(t,e,r){if(T)return tX(10,1,t,e,r)}function tL(t,e,r,n){if(T)return tX(11,1,t,e,r,n)}function tR(t,e,r,n){if(T)return tX(12,1,t,e,r,n)}function tj(t,e,r,n){if(T)return tX(13,1,t,e,r,n)}function tM(t){if(T)return tX(14,1,t)}function tU(t,e){if(T)return tX(15,1,t,e)}function tV(t,e,r){if(T)return tX(16,1,t,e,r)}function tB(t){Atomics.store(o(),t>>2,1),ei()&&ef(t),Atomics.compareExchange(o(),t>>2,1,0)}function tz(t){return a()[t>>>2]+4294967296*o()[t+4>>>2]}function tG(t,e,r,n,i,o){return T?tX(17,1,t,e,r,n,i,o):-52}function tH(t,e,r,n,i,o){if(T)return tX(18,1,t,e,r,n,i,o)}function tW(t){var r=H(t)+1,n=eo(r);return n&&G(t,e(),n,r),n}function tq(t,e,r){function n(t){return(t=t.toTimeString().match(/\(([A-Za-z ]+)\)$/))?t[1]:"GMT"}if(T)return tX(19,1,t,e,r);var i=(new Date).getFullYear(),s=new Date(i,0,1),u=new Date(i,6,1);i=s.getTimezoneOffset();var l=u.getTimezoneOffset(),c=Math.max(i,l);o()[t>>2>>>0]=60*c,o()[e>>2>>>0]=Number(i!=l),t=n(s),e=n(u),t=tW(t),e=tW(e),l>2>>>0]=t,a()[r+4>>2>>>0]=e):(a()[r>>2>>>0]=e,a()[r+4>>2>>>0]=t)}function tX(t,e){var r=arguments.length-2,n=arguments;return tb(()=>{for(var i=e_(8*r),o=i>>3,a=0;a>>0]=u}return ep(t,r,i,e)})}u.executeNotifiedProxyingQueue=tB,tx=w?()=>{var t=process.hrtime();return 1e3*t[0]+t[1]/1e6}:T?()=>performance.now()-u.__performance_now_clock_drift:()=>performance.now();var tY,tK=[],tZ={};function tJ(){if(!tY){var t,e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:y||"./this.program"};for(t in tZ)void 0===tZ[t]?delete e[t]:e[t]=tZ[t];var r=[];for(t in e)r.push(t+"="+e[t]);tY=r}return tY}function tQ(t,r){if(T)return tX(20,1,t,r);var n=0;return tJ().forEach(function(i,o){var s=r+n;for(o=a()[t+4*o>>2>>>0]=s,s=0;s>0>>>0]=i.charCodeAt(s);e()[o>>0>>>0]=0,n+=i.length+1}),0}function t0(t,e){if(T)return tX(21,1,t,e);var r=tJ();a()[t>>2>>>0]=r.length;var n=0;return r.forEach(function(t){n+=t.length+1}),a()[e>>2>>>0]=n,0}function t1(t){return T?tX(22,1,t):52}function t2(t,e,r,n){return T?tX(23,1,t,e,r,n):52}function t3(t,e,r,n,i){return T?tX(24,1,t,e,r,n,i):70}var t4=[null,[],[]];function t6(t,e){var r=t4[t];0===e||10===e?((1===t?P:D)(B(r,0)),r.length=0):r.push(e)}function t8(t,e,r,n){if(T)return tX(25,1,t,e,r,n);for(var o=0,s=0;s>2>>>0],l=a()[e+4>>2>>>0];e+=8;for(var c=0;c>>0]);o+=l}return a()[n>>2>>>0]=o,0}var t5=0;function t7(t){return 0==t%4&&(0!=t%100||0==t%400)}var t9=[31,29,31,30,31,30,31,31,30,31,30,31],et=[31,28,31,30,31,30,31,31,30,31,30,31];function ee(t,r,n,i){function a(t,e,r){for(t="number"==typeof t?t.toString():t||"";t.lengtht?-1:0n-t.getDate())){t.setDate(t.getDate()+e);break}e-=n-t.getDate()+1,t.setDate(1),11>r?t.setMonth(r+1):(t.setMonth(0),t.setFullYear(t.getFullYear()+1))}return r=new Date(t.getFullYear()+1,0,4),e=l(new Date(t.getFullYear(),0,4)),r=l(r),0>=u(e,t)?0>=u(r,t)?t.getFullYear()+1:t.getFullYear():t.getFullYear()-1}var p=o()[i+40>>2>>>0];for(var f in i={Lc:o()[i>>2>>>0],Kc:o()[i+4>>2>>>0],dc:o()[i+8>>2>>>0],jc:o()[i+12>>2>>>0],ec:o()[i+16>>2>>>0],Xb:o()[i+20>>2>>>0],Tb:o()[i+24>>2>>>0],Wb:o()[i+28>>2>>>0],Rc:o()[i+32>>2>>>0],Jc:o()[i+36>>2>>>0],Mc:p?z(p):""},n=z(n),p={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"})n=n.replace(RegExp(f,"g"),p[f]);var d="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),h="January February March April May June July August September October November December".split(" ");for(f in p={"%a":function(t){return d[t.Tb].substring(0,3)},"%A":function(t){return d[t.Tb]},"%b":function(t){return h[t.ec].substring(0,3)},"%B":function(t){return h[t.ec]},"%C":function(t){return s((t.Xb+1900)/100|0,2)},"%d":function(t){return s(t.jc,2)},"%e":function(t){return a(t.jc,2," ")},"%g":function(t){return c(t).toString().substring(2)},"%G":function(t){return c(t)},"%H":function(t){return s(t.dc,2)},"%I":function(t){return 0==(t=t.dc)?t=12:12t.dc?"AM":"PM"},"%S":function(t){return s(t.Lc,2)},"%t":function(){return" "},"%u":function(t){return t.Tb||7},"%U":function(t){return s(Math.floor((t.Wb+7-t.Tb)/7),2)},"%V":function(t){var e=Math.floor((t.Wb+7-(t.Tb+6)%7)/7);if(2>=(t.Tb+371-t.Wb-2)%7&&e++,e)53==e&&(4==(r=(t.Tb+371-t.Wb)%7)||3==r&&t7(t.Xb)||(e=1));else{e=52;var r=(t.Tb+7-t.Wb-1)%7;(4==r||5==r&&t7(t.Xb%400-1))&&e++}return s(e,2)},"%w":function(t){return t.Tb},"%W":function(t){return s(Math.floor((t.Wb+7-(t.Tb+6)%7)/7),2)},"%y":function(t){return(t.Xb+1900).toString().substring(2)},"%Y":function(t){return t.Xb+1900},"%z":function(t){var e=0<=(t=t.Jc);return(e?"+":"-")+String("0000"+((t=Math.abs(t)/60)/60*100+t%60)).slice(-4)},"%Z":function(t){return t.Mc},"%%":function(){return"%"}},n=n.replace(/%%/g,"\0\0"),p)n.includes(f)&&(n=n.replace(RegExp(f,"g"),p[f](i)));return(f=function(t){var e=Array(H(t)+1);return G(t,e,0,e.length),e}(n=n.replace(/\0\0/g,"%"))).length>r?0:(function(t,r){e().set(t,r>>>0)}(f,t),f.length-1)}th.fc();var er=[null,tf,tm,tE,tP,tD,t$,tk,tC,tF,tN,tL,tR,tj,tM,tU,tV,tG,tH,tq,tQ,t0,t1,t2,t3,t8],en={b:function(t){return eo(t+24)+24},n:function(t){return(t=new tO(t)).uc()||(t.hc(!0),tT--),t.ic(!1),tw.push(t),t.sc(),t.vc()},ma:function(t){throw D("Unexpected exception thrown, this is not properly supported - aborting"),U=!0,t},x:function(){eg(0);var t=tw.pop();if(t.Hc()&&!t.kc()){var e=t.Dc();e&&t_(e)(t.Zb),tA(t.Zb)}tS=0},e:function(){var t=tS;if(!t)return t5=0;var e=new tO(t);e.cc(t);var r=e.bc();if(!r)return t5=0,t;for(var n=Array.prototype.slice.call(arguments),i=0;itB(n));else if(T)postMessage({targetThread:t,cmd:"processProxyingQueue",queue:n});else{if(!(t=th.Vb[t]))return;t.postMessage({cmd:"processProxyingQueue",queue:n})}return 1},Ea:function(){return -1},Pa:function(t,e){t=new Date(1e3*tz(t)),o()[e>>2>>>0]=t.getUTCSeconds(),o()[e+4>>2>>>0]=t.getUTCMinutes(),o()[e+8>>2>>>0]=t.getUTCHours(),o()[e+12>>2>>>0]=t.getUTCDate(),o()[e+16>>2>>>0]=t.getUTCMonth(),o()[e+20>>2>>>0]=t.getUTCFullYear()-1900,o()[e+24>>2>>>0]=t.getUTCDay(),t=(t.getTime()-Date.UTC(t.getUTCFullYear(),0,1,0,0,0,0))/864e5|0,o()[e+28>>2>>>0]=t},Qa:function(t,e){t=new Date(1e3*tz(t)),o()[e>>2>>>0]=t.getSeconds(),o()[e+4>>2>>>0]=t.getMinutes(),o()[e+8>>2>>>0]=t.getHours(),o()[e+12>>2>>>0]=t.getDate(),o()[e+16>>2>>>0]=t.getMonth(),o()[e+20>>2>>>0]=t.getFullYear()-1900,o()[e+24>>2>>>0]=t.getDay();var r=new Date(t.getFullYear(),0,1),n=(t.getTime()-r.getTime())/864e5|0;o()[e+28>>2>>>0]=n,o()[e+36>>2>>>0]=-60*t.getTimezoneOffset(),t=0|((n=new Date(t.getFullYear(),6,1).getTimezoneOffset())!=(r=r.getTimezoneOffset())&&t.getTimezoneOffset()==Math.min(r,n)),o()[e+32>>2>>>0]=t},Ra:function(t){var e=new Date(o()[t+20>>2>>>0]+1900,o()[t+16>>2>>>0],o()[t+12>>2>>>0],o()[t+8>>2>>>0],o()[t+4>>2>>>0],o()[t>>2>>>0],0),r=o()[t+32>>2>>>0],n=e.getTimezoneOffset(),i=new Date(e.getFullYear(),0,1),a=new Date(e.getFullYear(),6,1).getTimezoneOffset(),s=i.getTimezoneOffset(),u=Math.min(s,a);return 0>r?o()[t+32>>2>>>0]=Number(a!=s&&u==n):0>2>>>0]=e.getDay(),r=(e.getTime()-i.getTime())/864e5|0,o()[t+28>>2>>>0]=r,o()[t>>2>>>0]=e.getSeconds(),o()[t+4>>2>>>0]=e.getMinutes(),o()[t+8>>2>>>0]=e.getHours(),o()[t+12>>2>>>0]=e.getDate(),o()[t+16>>2>>>0]=e.getMonth(),e.getTime()/1e3|0},Aa:tG,Ba:tH,Sa:function t(e,r,n){t.Ac||(t.Ac=!0,tq(e,r,n))},y:function(){to("")},U:function(){if(!w&&!x){var t="Blocking on the main thread is very dangerous, see https://emscripten.org/docs/porting/pthreads.html#blocking-on-the-main-browser-thread";tv||(tv={}),tv[t]||(tv[t]=1,w&&(t="warning: "+t),D(t))}},ra:function(){return 4294901760},B:tx,Ia:function(t,e,r){i().copyWithin(t>>>0,e>>>0,e+r>>>0)},F:function(){return w?r(3993).cpus().length:navigator.hardwareConcurrency},Da:function(t,e,r){tK.length=e,r>>=3;for(var n=0;n>>0];return(0>t?tu[-t-1]:er[t]).apply(null,tK)},qa:function(t){var e=i().length;if((t>>>=0)<=e||4294901760=r;r*=2){var n=e*(1+.2/r);n=Math.min(n,t+100663296);var o=Math;n=Math.max(t,n),o=o.min.call(o,4294901760,n+(65536-n%65536)%65536);t:{try{k.grow(o-F.byteLength+65535>>>16),W(k.buffer);var a=1;break t}catch(t){}a=void 0}if(a)return!0}return!1},Na:function(){throw"unwind"},Ga:tQ,Ha:t0,J:td,I:t1,S:t2,ga:t3,R:t8,d:function(){return t5},na:function t(n,i){t.lc||(t.lc=function(){if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues){var t=new Uint8Array(1);return()=>(crypto.getRandomValues(t),t[0])}if(w)try{var e=r(Object(function(){var t=Error("Cannot find module 'crypto'");throw t.code="MODULE_NOT_FOUND",t}()));return()=>e.randomBytes(1)[0]}catch(t){}return()=>to("randomDevice")}());for(var o=0;o>0>>>0]=t.lc();return 0},ia:function(t,e,r){var n=em();try{return t_(t)(e,r)}catch(t){if(ey(n),t!==t+0)throw t;eg(1,0)}},ja:function(t,e,r){var n=em();try{return t_(t)(e,r)}catch(t){if(ey(n),t!==t+0)throw t;eg(1,0)}},K:function(t){var e=em();try{return t_(t)()}catch(t){if(ey(e),t!==t+0)throw t;eg(1,0)}},f:function(t,e){var r=em();try{return t_(t)(e)}catch(t){if(ey(r),t!==t+0)throw t;eg(1,0)}},P:function(t,e,r){var n=em();try{return t_(t)(e,r)}catch(t){if(ey(n),t!==t+0)throw t;eg(1,0)}},Q:function(t,e,r){var n=em();try{return t_(t)(e,r)}catch(t){if(ey(n),t!==t+0)throw t;eg(1,0)}},k:function(t,e,r){var n=em();try{return t_(t)(e,r)}catch(t){if(ey(n),t!==t+0)throw t;eg(1,0)}},p:function(t,e,r,n){var i=em();try{return t_(t)(e,r,n)}catch(t){if(ey(i),t!==t+0)throw t;eg(1,0)}},q:function(t,e,r,n,i){var o=em();try{return t_(t)(e,r,n,i)}catch(t){if(ey(o),t!==t+0)throw t;eg(1,0)}},N:function(t,e,r,n,i,o){var a=em();try{return t_(t)(e,r,n,i,o)}catch(t){if(ey(a),t!==t+0)throw t;eg(1,0)}},s:function(t,e,r,n,i,o){var a=em();try{return t_(t)(e,r,n,i,o)}catch(t){if(ey(a),t!==t+0)throw t;eg(1,0)}},w:function(t,e,r,n,i,o,a){var s=em();try{return t_(t)(e,r,n,i,o,a)}catch(t){if(ey(s),t!==t+0)throw t;eg(1,0)}},L:function(t,e,r,n,i,o,a,s){var u=em();try{return t_(t)(e,r,n,i,o,a,s)}catch(t){if(ey(u),t!==t+0)throw t;eg(1,0)}},E:function(t,e,r,n,i,o,a,s,u,l,c,p){var f=em();try{return t_(t)(e,r,n,i,o,a,s,u,l,c,p)}catch(t){if(ey(f),t!==t+0)throw t;eg(1,0)}},aa:function(t,e,r,n,i,o,a,s){var u=em();try{return eD(t,e,r,n,i,o,a,s)}catch(t){if(ey(u),t!==t+0)throw t;eg(1,0)}},_:function(t,e,r,n,i,o,a){var s=em();try{return eT(t,e,r,n,i,o,a)}catch(t){if(ey(s),t!==t+0)throw t;eg(1,0)}},Z:function(t,e,r,n,i){var o=em();try{return e$(t,e,r,n,i)}catch(t){if(ey(o),t!==t+0)throw t;eg(1,0)}},ca:function(t,e,r,n){var i=em();try{return eI(t,e,r,n)}catch(t){if(ey(i),t!==t+0)throw t;eg(1,0)}},$:function(t){var e=em();try{return ew(t)}catch(t){if(ey(e),t!==t+0)throw t;eg(1,0)}},ba:function(t,e){var r=em();try{return eP(t,e)}catch(t){if(ey(r),t!==t+0)throw t;eg(1,0)}},Y:function(t,e,r){var n=em();try{return eS(t,e,r)}catch(t){if(ey(n),t!==t+0)throw t;eg(1,0)}},g:function(t){var e=em();try{t_(t)()}catch(t){if(ey(e),t!==t+0)throw t;eg(1,0)}},r:function(t,e){var r=em();try{t_(t)(e)}catch(t){if(ey(r),t!==t+0)throw t;eg(1,0)}},i:function(t,e,r){var n=em();try{t_(t)(e,r)}catch(t){if(ey(n),t!==t+0)throw t;eg(1,0)}},ha:function(t,e,r,n){var i=em();try{t_(t)(e,r,n)}catch(t){if(ey(i),t!==t+0)throw t;eg(1,0)}},m:function(t,e,r,n){var i=em();try{t_(t)(e,r,n)}catch(t){if(ey(i),t!==t+0)throw t;eg(1,0)}},v:function(t,e,r,n,i){var o=em();try{t_(t)(e,r,n,i)}catch(t){if(ey(o),t!==t+0)throw t;eg(1,0)}},u:function(t,e,r,n,i,o){var a=em();try{t_(t)(e,r,n,i,o)}catch(t){if(ey(a),t!==t+0)throw t;eg(1,0)}},O:function(t,e,r,n,i,o,a){var s=em();try{t_(t)(e,r,n,i,o,a)}catch(t){if(ey(s),t!==t+0)throw t;eg(1,0)}},A:function(t,e,r,n,i,o,a,s){var u=em();try{t_(t)(e,r,n,i,o,a,s)}catch(t){if(ey(u),t!==t+0)throw t;eg(1,0)}},ka:function(t,e,r,n,i,o,a,s,u){var l=em();try{t_(t)(e,r,n,i,o,a,s,u)}catch(t){if(ey(l),t!==t+0)throw t;eg(1,0)}},C:function(t,e,r,n,i,o,a,s,u,l,c){var p=em();try{t_(t)(e,r,n,i,o,a,s,u,l,c)}catch(t){if(ey(p),t!==t+0)throw t;eg(1,0)}},D:function(t,e,r,n,i,o,a,s,u,l,c,p,f,d,h,g){var b=em();try{t_(t)(e,r,n,i,o,a,s,u,l,c,p,f,d,h,g)}catch(t){if(ey(b),t!==t+0)throw t;eg(1,0)}},fa:function(t,e,r,n,i,o,a,s){var u=em();try{eO(t,e,r,n,i,o,a,s)}catch(t){if(ey(u),t!==t+0)throw t;eg(1,0)}},da:function(t,e,r,n,i,o,a,s,u,l,c,p){var f=em();try{eE(t,e,r,n,i,o,a,s,u,l,c,p)}catch(t){if(ey(f),t!==t+0)throw t;eg(1,0)}},ea:function(t,e,r,n,i,o){var a=em();try{eA(t,e,r,n,i,o)}catch(t){if(ey(a),t!==t+0)throw t;eg(1,0)}},o:function(t){return t},a:k||u.wasmMemory,G:function(t){t5=t},la:ee,z:function(t,e,r,n){return ee(t,e,r,n)}};(function(){function t(t,e){u.asm=t.exports,th.qc.push(u.asm.sb),X=u.asm.ub,K.unshift(u.asm.Va),C=e,T||(tr--,u.monitorRunDependencies&&u.monitorRunDependencies(tr),0==tr&&(null!==tn&&(clearInterval(tn),tn=null),ti&&(t=ti,ti=null,t())))}function e(e){t(e.instance,e.module)}function r(t){return(function(){if(!I&&(v||x)){if("function"==typeof fetch&&!te.startsWith("file://"))return fetch(te,{credentials:"same-origin"}).then(function(t){if(!t.ok)throw"failed to load wasm binary file at '"+te+"'";return t.arrayBuffer()}).catch(function(){return ts()});if(f)return new Promise(function(t,e){f(te,function(e){t(new Uint8Array(e))},e)})}return Promise.resolve().then(function(){return ts()})})().then(function(t){return WebAssembly.instantiate(t,n)}).then(function(t){return t}).then(t,function(t){D("failed to asynchronously prepare wasm: "+t),to(t)})}var n={a:en};if(T||(tr++,u.monitorRunDependencies&&u.monitorRunDependencies(tr)),u.instantiateWasm)try{return u.instantiateWasm(n,t)}catch(t){return D("Module.instantiateWasm callback failed with error: "+t),!1}(I||"function"!=typeof WebAssembly.instantiateStreaming||ta()||te.startsWith("file://")||w||"function"!=typeof fetch?r(e):fetch(te,{credentials:"same-origin"}).then(function(t){return WebAssembly.instantiateStreaming(t,n).then(e,function(t){return D("wasm streaming compile failed: "+t),D("falling back to ArrayBuffer instantiation"),r(e)})})).catch(c)})(),u.___wasm_call_ctors=function(){return(u.___wasm_call_ctors=u.asm.Va).apply(null,arguments)},u._OrtInit=function(){return(u._OrtInit=u.asm.Wa).apply(null,arguments)},u._OrtCreateSessionOptions=function(){return(u._OrtCreateSessionOptions=u.asm.Xa).apply(null,arguments)},u._OrtAppendExecutionProvider=function(){return(u._OrtAppendExecutionProvider=u.asm.Ya).apply(null,arguments)},u._OrtAddSessionConfigEntry=function(){return(u._OrtAddSessionConfigEntry=u.asm.Za).apply(null,arguments)},u._OrtReleaseSessionOptions=function(){return(u._OrtReleaseSessionOptions=u.asm._a).apply(null,arguments)},u._OrtCreateSession=function(){return(u._OrtCreateSession=u.asm.$a).apply(null,arguments)},u._OrtReleaseSession=function(){return(u._OrtReleaseSession=u.asm.ab).apply(null,arguments)},u._OrtGetInputCount=function(){return(u._OrtGetInputCount=u.asm.bb).apply(null,arguments)},u._OrtGetOutputCount=function(){return(u._OrtGetOutputCount=u.asm.cb).apply(null,arguments)},u._OrtGetInputName=function(){return(u._OrtGetInputName=u.asm.db).apply(null,arguments)},u._OrtGetOutputName=function(){return(u._OrtGetOutputName=u.asm.eb).apply(null,arguments)},u._OrtFree=function(){return(u._OrtFree=u.asm.fb).apply(null,arguments)},u._OrtCreateTensor=function(){return(u._OrtCreateTensor=u.asm.gb).apply(null,arguments)},u._OrtGetTensorData=function(){return(u._OrtGetTensorData=u.asm.hb).apply(null,arguments)},u._OrtReleaseTensor=function(){return(u._OrtReleaseTensor=u.asm.ib).apply(null,arguments)},u._OrtCreateRunOptions=function(){return(u._OrtCreateRunOptions=u.asm.jb).apply(null,arguments)},u._OrtAddRunConfigEntry=function(){return(u._OrtAddRunConfigEntry=u.asm.kb).apply(null,arguments)},u._OrtReleaseRunOptions=function(){return(u._OrtReleaseRunOptions=u.asm.lb).apply(null,arguments)},u._OrtRun=function(){return(u._OrtRun=u.asm.mb).apply(null,arguments)},u._OrtEndProfiling=function(){return(u._OrtEndProfiling=u.asm.nb).apply(null,arguments)};var ei=u._pthread_self=function(){return(ei=u._pthread_self=u.asm.ob).apply(null,arguments)},eo=u._malloc=function(){return(eo=u._malloc=u.asm.pb).apply(null,arguments)},ea=u._free=function(){return(ea=u._free=u.asm.qb).apply(null,arguments)},es=u._fflush=function(){return(es=u._fflush=u.asm.rb).apply(null,arguments)};u.__emscripten_tls_init=function(){return(u.__emscripten_tls_init=u.asm.sb).apply(null,arguments)};var eu=u.___funcs_on_exit=function(){return(eu=u.___funcs_on_exit=u.asm.tb).apply(null,arguments)},el=u.__emscripten_thread_init=function(){return(el=u.__emscripten_thread_init=u.asm.vb).apply(null,arguments)};u.__emscripten_thread_crashed=function(){return(u.__emscripten_thread_crashed=u.asm.wb).apply(null,arguments)};var ec,ep=u._emscripten_run_in_main_runtime_thread_js=function(){return(ep=u._emscripten_run_in_main_runtime_thread_js=u.asm.xb).apply(null,arguments)},ef=u.__emscripten_proxy_execute_task_queue=function(){return(ef=u.__emscripten_proxy_execute_task_queue=u.asm.yb).apply(null,arguments)},ed=u.__emscripten_thread_free_data=function(){return(ed=u.__emscripten_thread_free_data=u.asm.zb).apply(null,arguments)},eh=u.__emscripten_thread_exit=function(){return(eh=u.__emscripten_thread_exit=u.asm.Ab).apply(null,arguments)},eg=u._setThrew=function(){return(eg=u._setThrew=u.asm.Bb).apply(null,arguments)},eb=u._emscripten_stack_set_limits=function(){return(eb=u._emscripten_stack_set_limits=u.asm.Cb).apply(null,arguments)},em=u.stackSave=function(){return(em=u.stackSave=u.asm.Db).apply(null,arguments)},ey=u.stackRestore=function(){return(ey=u.stackRestore=u.asm.Eb).apply(null,arguments)},e_=u.stackAlloc=function(){return(e_=u.stackAlloc=u.asm.Fb).apply(null,arguments)},ev=u.___cxa_can_catch=function(){return(ev=u.___cxa_can_catch=u.asm.Gb).apply(null,arguments)},ex=u.___cxa_is_pointer_type=function(){return(ex=u.___cxa_is_pointer_type=u.asm.Hb).apply(null,arguments)},ew=u.dynCall_j=function(){return(ew=u.dynCall_j=u.asm.Ib).apply(null,arguments)},eT=u.dynCall_iiiiij=function(){return(eT=u.dynCall_iiiiij=u.asm.Jb).apply(null,arguments)},eS=u.dynCall_jii=function(){return(eS=u.dynCall_jii=u.asm.Kb).apply(null,arguments)},eO=u.dynCall_viiiiij=function(){return(eO=u.dynCall_viiiiij=u.asm.Lb).apply(null,arguments)},eA=u.dynCall_vjji=function(){return(eA=u.dynCall_vjji=u.asm.Mb).apply(null,arguments)},eE=u.dynCall_viiijjjii=function(){return(eE=u.dynCall_viiijjjii=u.asm.Nb).apply(null,arguments)},eI=u.dynCall_iij=function(){return(eI=u.dynCall_iij=u.asm.Ob).apply(null,arguments)},eP=u.dynCall_ji=function(){return(eP=u.dynCall_ji=u.asm.Pb).apply(null,arguments)},eD=u.dynCall_iiiiiij=function(){return(eD=u.dynCall_iiiiiij=u.asm.Qb).apply(null,arguments)},e$=u.dynCall_iiij=function(){return(e$=u.dynCall_iiij=u.asm.Rb).apply(null,arguments)};function ek(){function t(){if(!ec&&(ec=!0,u.calledRun=!0,!U)&&(T||tg(K),l(u),u.onRuntimeInitialized&&u.onRuntimeInitialized(),!T)){if(u.postRun)for("function"==typeof u.postRun&&(u.postRun=[u.postRun]);u.postRun.length;){var t=u.postRun.shift();J.unshift(t)}tg(J)}}if(!(0{var n,i=(n=(n="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0)||"/index.js",function(t){t=t||{},e||(e=void 0!==t?t:{}),e.ready=new Promise(function(t,e){i=t,o=e});var e,i,o,a,s,u,l,c,p,f=Object.assign({},e),d="./this.program",h=(t,e)=>{throw e},g="object"==typeof window,b="function"==typeof importScripts,m="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,y="";m?(y=b?r(908).dirname(y)+"/":"//",p=()=>{c||(l=r(1384),c=r(908))},a=function(t,e){return p(),t=c.normalize(t),l.readFileSync(t,e?void 0:"utf8")},u=t=>((t=a(t,!0)).buffer||(t=new Uint8Array(t)),t),s=(t,e,r)=>{p(),t=c.normalize(t),l.readFile(t,function(t,n){t?r(t):e(n.buffer)})},1{if(w||0{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},b&&(u=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),s=(t,e,r)=>{var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=()=>{200==n.status||0==n.status&&n.response?e(n.response):r()},n.onerror=r,n.send(null)});var _,v=e.print||console.log.bind(console),x=e.printErr||console.warn.bind(console);Object.assign(e,f),f=null,e.thisProgram&&(d=e.thisProgram),e.quit&&(h=e.quit),e.wasmBinary&&(_=e.wasmBinary);var w=e.noExitRuntime||!1;"object"!=typeof WebAssembly&&q("no native wasm support detected");var T,S,O,A,E,I,P=!1,D="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function $(t,e,r){var n=(e>>>=0)+r;for(r=e;t[r]&&!(r>=n);)++r;if(16(i=224==(240&i)?(15&i)<<12|o<<6|a:(7&i)<<18|o<<12|a<<6|63&t[e++])?n+=String.fromCharCode(i):(i-=65536,n+=String.fromCharCode(55296|i>>10,56320|1023&i))}}else n+=String.fromCharCode(i)}return n}function k(t,e){return(t>>>=0)?$(A,t,e):""}function C(t,e,r,n){if(!(0>>=0;n=r+n-1;for(var o=0;o=a&&(a=65536+((1023&a)<<10)|1023&t.charCodeAt(++o)),127>=a){if(r>=n)break;e[r++>>>0]=a}else{if(2047>=a){if(r+1>=n)break;e[r++>>>0]=192|a>>6}else{if(65535>=a){if(r+2>=n)break;e[r++>>>0]=224|a>>12}else{if(r+3>=n)break;e[r++>>>0]=240|a>>18,e[r++>>>0]=128|a>>12&63}e[r++>>>0]=128|a>>6&63}e[r++>>>0]=128|63&a}}return e[r>>>0]=0,r-i}function F(t){for(var e=0,r=0;r=n?e++:2047>=n?e+=2:55296<=n&&57343>=n?(e+=4,++r):e+=3}return e}function N(){var t=T.buffer;S=t,e.HEAP8=O=new Int8Array(t),e.HEAP16=new Int16Array(t),e.HEAP32=E=new Int32Array(t),e.HEAPU8=A=new Uint8Array(t),e.HEAPU16=new Uint16Array(t),e.HEAPU32=I=new Uint32Array(t),e.HEAPF32=new Float32Array(t),e.HEAPF64=new Float64Array(t)}var L,R=[],j=[],M=[],U=[],V=0;function B(){var t=e.preRun.shift();R.unshift(t)}var z,G=0,H=null,W=null;function q(t){throw e.onAbort&&e.onAbort(t),x(t="Aborted("+t+")"),P=!0,t=new WebAssembly.RuntimeError(t+". Build with -sASSERTIONS for more info."),o(t),t}function X(){return z.startsWith("data:application/octet-stream;base64,")}if(z="ort-wasm.wasm",!X()){var Y=z;z=e.locateFile?e.locateFile(Y,y):y+Y}function K(){var t=z;try{if(t==z&&_)return new Uint8Array(_);if(u)return u(t);throw"both async and sync fetching of the wasm failed"}catch(t){q(t)}}function Z(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}function J(t){for(;0>2>>>0]=t},this.Eb=function(){return I[this.zb+4>>2>>>0]},this.Sb=function(t){I[this.zb+8>>2>>>0]=t},this.Wb=function(){return I[this.zb+8>>2>>>0]},this.Tb=function(){E[this.zb>>2>>>0]=0},this.Ib=function(t){O[this.zb+12>>0>>>0]=t?1:0},this.Pb=function(){return 0!=O[this.zb+12>>0>>>0]},this.Jb=function(t){O[this.zb+13>>0>>>0]=t?1:0},this.Lb=function(){return 0!=O[this.zb+13>>0>>>0]},this.Rb=function(t,e){this.Fb(0),this.Ub(t),this.Sb(e),this.Tb(),this.Ib(!1),this.Jb(!1)},this.Nb=function(){E[this.zb>>2>>>0]+=1},this.Xb=function(){var t=E[this.zb>>2>>>0];return E[this.zb>>2>>>0]=t-1,1===t},this.Fb=function(t){I[this.zb+16>>2>>>0]=t},this.Ob=function(){return I[this.zb+16>>2>>>0]},this.Qb=function(){if(tI(this.Eb()))return I[this.Db>>2>>>0];var t=this.Ob();return 0!==t?t:this.Db}}function tn(t){return tv(new tr(t).zb)}var ti=[];function to(t){var e=ti[t];return e||(t>=ti.length&&(ti.length=t+1),ti[t]=e=L.get(t)),e}function ta(t){var e=F(t)+1,r=t_(e);return r&&C(t,O,r,e),r}var ts={};function tu(){if(!tl){var t,e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:d||"./this.program"};for(t in ts)void 0===ts[t]?delete e[t]:e[t]=ts[t];var r=[];for(t in e)r.push(t+"="+e[t]);tl=r}return tl}var tl,tc=[null,[],[]];function tp(t,e){var r=tc[t];0===e||10===e?((1===t?v:x)($(r,0)),r.length=0):r.push(e)}var tf=0;function td(t){return 0==t%4&&(0!=t%100||0==t%400)}var th=[31,29,31,30,31,30,31,31,30,31,30,31],tg=[31,28,31,30,31,30,31,31,30,31,30,31];function tb(t,e,r,n){function i(t,e,r){for(t="number"==typeof t?t.toString():t||"";t.lengtht?-1:0n-t.getDate())){t.setDate(t.getDate()+e);break}e-=n-t.getDate()+1,t.setDate(1),11>r?t.setMonth(r+1):(t.setMonth(0),t.setFullYear(t.getFullYear()+1))}return r=new Date(t.getFullYear()+1,0,4),e=s(new Date(t.getFullYear(),0,4)),r=s(r),0>=a(e,t)?0>=a(r,t)?t.getFullYear()+1:t.getFullYear():t.getFullYear()-1}var l=E[n+40>>2>>>0];for(var c in n={$b:E[n>>2>>>0],Zb:E[n+4>>2>>>0],Gb:E[n+8>>2>>>0],Kb:E[n+12>>2>>>0],Hb:E[n+16>>2>>>0],Cb:E[n+20>>2>>>0],Ab:E[n+24>>2>>>0],Bb:E[n+28>>2>>>0],bc:E[n+32>>2>>>0],Yb:E[n+36>>2>>>0],ac:l?k(l):""},r=k(r),l={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"})r=r.replace(RegExp(c,"g"),l[c]);var p="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),f="January February March April May June July August September October November December".split(" ");for(c in l={"%a":function(t){return p[t.Ab].substring(0,3)},"%A":function(t){return p[t.Ab]},"%b":function(t){return f[t.Hb].substring(0,3)},"%B":function(t){return f[t.Hb]},"%C":function(t){return o((t.Cb+1900)/100|0,2)},"%d":function(t){return o(t.Kb,2)},"%e":function(t){return i(t.Kb,2," ")},"%g":function(t){return u(t).toString().substring(2)},"%G":function(t){return u(t)},"%H":function(t){return o(t.Gb,2)},"%I":function(t){return 0==(t=t.Gb)?t=12:12t.Gb?"AM":"PM"},"%S":function(t){return o(t.$b,2)},"%t":function(){return" "},"%u":function(t){return t.Ab||7},"%U":function(t){return o(Math.floor((t.Bb+7-t.Ab)/7),2)},"%V":function(t){var e=Math.floor((t.Bb+7-(t.Ab+6)%7)/7);if(2>=(t.Ab+371-t.Bb-2)%7&&e++,e)53==e&&(4==(r=(t.Ab+371-t.Bb)%7)||3==r&&td(t.Cb)||(e=1));else{e=52;var r=(t.Ab+7-t.Bb-1)%7;(4==r||5==r&&td(t.Cb%400-1))&&e++}return o(e,2)},"%w":function(t){return t.Ab},"%W":function(t){return o(Math.floor((t.Bb+7-(t.Ab+6)%7)/7),2)},"%y":function(t){return(t.Cb+1900).toString().substring(2)},"%Y":function(t){return t.Cb+1900},"%z":function(t){var e=0<=(t=t.Yb);return(e?"+":"-")+String("0000"+((t=Math.abs(t)/60)/60*100+t%60)).slice(-4)},"%Z":function(t){return t.ac},"%%":function(){return"%"}},r=r.replace(/%%/g,"\0\0"),l)r.includes(c)&&(r=r.replace(RegExp(c,"g"),l[c](n)));return(c=function(t){var e=Array(F(t)+1);return C(t,e,0,e.length),e}(r=r.replace(/\0\0/g,"%"))).length>e?0:(O.set(c,t>>>0),c.length-1)}var tm={a:function(t){return t_(t+24)+24},m:function(t){return(t=new tr(t)).Pb()||(t.Ib(!0),tt--),t.Jb(!1),Q.push(t),t.Nb(),t.Qb()},ia:function(t){throw x("Unexpected exception thrown, this is not properly supported - aborting"),P=!0,t},w:function(){tT(0);var t=Q.pop();if(t.Xb()&&!t.Lb()){var e=t.Wb();e&&to(e)(t.Db),tn(t.Db)}te=0},d:function(){var t=te;if(!t)return tf=0;var e=new tr(t);e.Fb(t);var r=e.Eb();if(!r)return tf=0,t;for(var n=Array.prototype.slice.call(arguments),i=0;i>>2]+4294967296*E[t+4>>>2])),E[e>>2>>>0]=t.getUTCSeconds(),E[e+4>>2>>>0]=t.getUTCMinutes(),E[e+8>>2>>>0]=t.getUTCHours(),E[e+12>>2>>>0]=t.getUTCDate(),E[e+16>>2>>>0]=t.getUTCMonth(),E[e+20>>2>>>0]=t.getUTCFullYear()-1900,E[e+24>>2>>>0]=t.getUTCDay(),E[e+28>>2>>>0]=(t.getTime()-Date.UTC(t.getUTCFullYear(),0,1,0,0,0,0))/864e5|0},Ea:function(t,e){t=new Date(1e3*(I[t>>>2]+4294967296*E[t+4>>>2])),E[e>>2>>>0]=t.getSeconds(),E[e+4>>2>>>0]=t.getMinutes(),E[e+8>>2>>>0]=t.getHours(),E[e+12>>2>>>0]=t.getDate(),E[e+16>>2>>>0]=t.getMonth(),E[e+20>>2>>>0]=t.getFullYear()-1900,E[e+24>>2>>>0]=t.getDay();var r=new Date(t.getFullYear(),0,1);E[e+28>>2>>>0]=(t.getTime()-r.getTime())/864e5|0,E[e+36>>2>>>0]=-60*t.getTimezoneOffset();var n=new Date(t.getFullYear(),6,1).getTimezoneOffset();r=r.getTimezoneOffset(),E[e+32>>2>>>0]=0|(n!=r&&t.getTimezoneOffset()==Math.min(r,n))},Fa:function(t){var e=new Date(E[t+20>>2>>>0]+1900,E[t+16>>2>>>0],E[t+12>>2>>>0],E[t+8>>2>>>0],E[t+4>>2>>>0],E[t>>2>>>0],0),r=E[t+32>>2>>>0],n=e.getTimezoneOffset(),i=new Date(e.getFullYear(),0,1),o=new Date(e.getFullYear(),6,1).getTimezoneOffset(),a=i.getTimezoneOffset(),s=Math.min(a,o);return 0>r?E[t+32>>2>>>0]=Number(o!=a&&s==n):0>2>>>0]=e.getDay(),E[t+28>>2>>>0]=(e.getTime()-i.getTime())/864e5|0,E[t>>2>>>0]=e.getSeconds(),E[t+4>>2>>>0]=e.getMinutes(),E[t+8>>2>>>0]=e.getHours(),E[t+12>>2>>>0]=e.getDate(),E[t+16>>2>>>0]=e.getMonth(),e.getTime()/1e3|0},sa:function(){return -52},ta:function(){},Ga:function t(e,r,n){t.Vb||(t.Vb=!0,function(t,e,r){function n(t){return(t=t.toTimeString().match(/\(([A-Za-z ]+)\)$/))?t[1]:"GMT"}var i=(new Date).getFullYear(),o=new Date(i,0,1),a=new Date(i,6,1);i=o.getTimezoneOffset();var s=a.getTimezoneOffset();E[t>>2>>>0]=60*Math.max(i,s),E[e>>2>>>0]=Number(i!=s),t=n(o),e=n(a),t=ta(t),e=ta(e),s>2>>>0]=t,I[r+4>>2>>>0]=e):(I[r>>2>>>0]=e,I[r+4>>2>>>0]=t)}(e,r,n))},B:function(){q("")},ma:function(){return 4294901760},I:m?()=>{var t=process.hrtime();return 1e3*t[0]+t[1]/1e6}:()=>performance.now(),xa:function(t,e,r){A.copyWithin(t>>>0,e>>>0,e+r>>>0)},G:function(t){var e=A.length;if(4294901760<(t>>>=0))return!1;for(var r=1;4>=r;r*=2){var n=e*(1+.2/r);n=Math.min(n,t+100663296);var i=Math;n=Math.max(t,n),i=i.min.call(i,4294901760,n+(65536-n%65536)%65536);t:{try{T.grow(i-S.byteLength+65535>>>16),N();var o=1;break t}catch(t){}o=void 0}if(o)return!0}return!1},va:function(t,e){var r=0;return tu().forEach(function(n,i){var o=e+r;for(i=I[t+4*i>>2>>>0]=o,o=0;o>0>>>0]=n.charCodeAt(o);O[i>>0>>>0]=0,r+=n.length+1}),0},wa:function(t,e){var r=tu();I[t>>2>>>0]=r.length;var n=0;return r.forEach(function(t){n+=t.length+1}),I[e>>2>>>0]=n,0},ba:function(t){w||0>2>>>0],s=I[e+4>>2>>>0];e+=8;for(var u=0;u>>0]);i+=s}return I[n>>2>>>0]=i,0},c:function(){return tf},ja:function t(e,n){t.Mb||(t.Mb=function(){if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues){var t=new Uint8Array(1);return()=>(crypto.getRandomValues(t),t[0])}if(m)try{var e=r(Object(function(){var t=Error("Cannot find module 'crypto'");throw t.code="MODULE_NOT_FOUND",t}()));return()=>e.randomBytes(1)[0]}catch(t){}return()=>q("randomDevice")}());for(var i=0;i>0>>>0]=t.Mb();return 0},ea:function(t,e,r){var n=tS();try{return to(t)(e,r)}catch(t){if(tO(n),t!==t+0)throw t;tT(1,0)}},fa:function(t,e,r){var n=tS();try{return to(t)(e,r)}catch(t){if(tO(n),t!==t+0)throw t;tT(1,0)}},J:function(t){var e=tS();try{return to(t)()}catch(t){if(tO(e),t!==t+0)throw t;tT(1,0)}},e:function(t,e){var r=tS();try{return to(t)(e)}catch(t){if(tO(r),t!==t+0)throw t;tT(1,0)}},N:function(t,e,r){var n=tS();try{return to(t)(e,r)}catch(t){if(tO(n),t!==t+0)throw t;tT(1,0)}},O:function(t,e,r){var n=tS();try{return to(t)(e,r)}catch(t){if(tO(n),t!==t+0)throw t;tT(1,0)}},j:function(t,e,r){var n=tS();try{return to(t)(e,r)}catch(t){if(tO(n),t!==t+0)throw t;tT(1,0)}},o:function(t,e,r,n){var i=tS();try{return to(t)(e,r,n)}catch(t){if(tO(i),t!==t+0)throw t;tT(1,0)}},p:function(t,e,r,n,i){var o=tS();try{return to(t)(e,r,n,i)}catch(t){if(tO(o),t!==t+0)throw t;tT(1,0)}},M:function(t,e,r,n,i,o){var a=tS();try{return to(t)(e,r,n,i,o)}catch(t){if(tO(a),t!==t+0)throw t;tT(1,0)}},r:function(t,e,r,n,i,o){var a=tS();try{return to(t)(e,r,n,i,o)}catch(t){if(tO(a),t!==t+0)throw t;tT(1,0)}},v:function(t,e,r,n,i,o,a){var s=tS();try{return to(t)(e,r,n,i,o,a)}catch(t){if(tO(s),t!==t+0)throw t;tT(1,0)}},K:function(t,e,r,n,i,o,a,s){var u=tS();try{return to(t)(e,r,n,i,o,a,s)}catch(t){if(tO(u),t!==t+0)throw t;tT(1,0)}},D:function(t,e,r,n,i,o,a,s,u,l,c,p){var f=tS();try{return to(t)(e,r,n,i,o,a,s,u,l,c,p)}catch(t){if(tO(f),t!==t+0)throw t;tT(1,0)}},X:function(t,e,r,n,i,o,a,s){var u=tS();try{return tR(t,e,r,n,i,o,a,s)}catch(t){if(tO(u),t!==t+0)throw t;tT(1,0)}},V:function(t,e,r,n,i,o,a){var s=tS();try{return tD(t,e,r,n,i,o,a)}catch(t){if(tO(s),t!==t+0)throw t;tT(1,0)}},U:function(t,e,r,n,i){var o=tS();try{return tj(t,e,r,n,i)}catch(t){if(tO(o),t!==t+0)throw t;tT(1,0)}},Z:function(t,e,r,n){var i=tS();try{return tN(t,e,r,n)}catch(t){if(tO(i),t!==t+0)throw t;tT(1,0)}},W:function(t){var e=tS();try{return tP(t)}catch(t){if(tO(e),t!==t+0)throw t;tT(1,0)}},Y:function(t,e){var r=tS();try{return tL(t,e)}catch(t){if(tO(r),t!==t+0)throw t;tT(1,0)}},T:function(t,e,r){var n=tS();try{return t$(t,e,r)}catch(t){if(tO(n),t!==t+0)throw t;tT(1,0)}},f:function(t){var e=tS();try{to(t)()}catch(t){if(tO(e),t!==t+0)throw t;tT(1,0)}},q:function(t,e){var r=tS();try{to(t)(e)}catch(t){if(tO(r),t!==t+0)throw t;tT(1,0)}},h:function(t,e,r){var n=tS();try{to(t)(e,r)}catch(t){if(tO(n),t!==t+0)throw t;tT(1,0)}},da:function(t,e,r,n){var i=tS();try{to(t)(e,r,n)}catch(t){if(tO(i),t!==t+0)throw t;tT(1,0)}},l:function(t,e,r,n){var i=tS();try{to(t)(e,r,n)}catch(t){if(tO(i),t!==t+0)throw t;tT(1,0)}},t:function(t,e,r,n,i){var o=tS();try{to(t)(e,r,n,i)}catch(t){if(tO(o),t!==t+0)throw t;tT(1,0)}},u:function(t,e,r,n,i,o){var a=tS();try{to(t)(e,r,n,i,o)}catch(t){if(tO(a),t!==t+0)throw t;tT(1,0)}},x:function(t,e,r,n,i,o,a){var s=tS();try{to(t)(e,r,n,i,o,a)}catch(t){if(tO(s),t!==t+0)throw t;tT(1,0)}},z:function(t,e,r,n,i,o,a,s){var u=tS();try{to(t)(e,r,n,i,o,a,s)}catch(t){if(tO(u),t!==t+0)throw t;tT(1,0)}},ga:function(t,e,r,n,i,o,a,s,u){var l=tS();try{to(t)(e,r,n,i,o,a,s,u)}catch(t){if(tO(l),t!==t+0)throw t;tT(1,0)}},A:function(t,e,r,n,i,o,a,s,u,l,c){var p=tS();try{to(t)(e,r,n,i,o,a,s,u,l,c)}catch(t){if(tO(p),t!==t+0)throw t;tT(1,0)}},C:function(t,e,r,n,i,o,a,s,u,l,c,p,f,d,h,g){var b=tS();try{to(t)(e,r,n,i,o,a,s,u,l,c,p,f,d,h,g)}catch(t){if(tO(b),t!==t+0)throw t;tT(1,0)}},aa:function(t,e,r,n,i,o,a,s){var u=tS();try{tk(t,e,r,n,i,o,a,s)}catch(t){if(tO(u),t!==t+0)throw t;tT(1,0)}},_:function(t,e,r,n,i,o,a,s,u,l,c,p){var f=tS();try{tF(t,e,r,n,i,o,a,s,u,l,c,p)}catch(t){if(tO(f),t!==t+0)throw t;tT(1,0)}},$:function(t,e,r,n,i,o){var a=tS();try{tC(t,e,r,n,i,o)}catch(t){if(tO(a),t!==t+0)throw t;tT(1,0)}},n:function(t){return t},F:function(t){tf=t},ha:tb,y:function(t,e,r,n){return tb(t,e,r,n)}};(function(){function t(t){e.asm=t.exports,T=e.asm.Ka,N(),L=e.asm.ib,j.unshift(e.asm.La),G--,e.monitorRunDependencies&&e.monitorRunDependencies(G),0==G&&(null!==H&&(clearInterval(H),H=null),W&&(t=W,W=null,t()))}function r(e){t(e.instance)}function n(t){return(function(){if(!_&&(g||b)){if("function"==typeof fetch&&!z.startsWith("file://"))return fetch(z,{credentials:"same-origin"}).then(function(t){if(!t.ok)throw"failed to load wasm binary file at '"+z+"'";return t.arrayBuffer()}).catch(function(){return K()});if(s)return new Promise(function(t,e){s(z,function(e){t(new Uint8Array(e))},e)})}return Promise.resolve().then(function(){return K()})})().then(function(t){return WebAssembly.instantiate(t,i)}).then(function(t){return t}).then(t,function(t){x("failed to asynchronously prepare wasm: "+t),q(t)})}var i={a:tm};if(G++,e.monitorRunDependencies&&e.monitorRunDependencies(G),e.instantiateWasm)try{return e.instantiateWasm(i,t)}catch(t){return x("Module.instantiateWasm callback failed with error: "+t),!1}(_||"function"!=typeof WebAssembly.instantiateStreaming||X()||z.startsWith("file://")||m||"function"!=typeof fetch?n(r):fetch(z,{credentials:"same-origin"}).then(function(t){return WebAssembly.instantiateStreaming(t,i).then(r,function(t){return x("wasm streaming compile failed: "+t),x("falling back to ArrayBuffer instantiation"),n(r)})})).catch(o)})(),e.___wasm_call_ctors=function(){return(e.___wasm_call_ctors=e.asm.La).apply(null,arguments)},e._OrtInit=function(){return(e._OrtInit=e.asm.Ma).apply(null,arguments)},e._OrtCreateSessionOptions=function(){return(e._OrtCreateSessionOptions=e.asm.Na).apply(null,arguments)},e._OrtAppendExecutionProvider=function(){return(e._OrtAppendExecutionProvider=e.asm.Oa).apply(null,arguments)},e._OrtAddSessionConfigEntry=function(){return(e._OrtAddSessionConfigEntry=e.asm.Pa).apply(null,arguments)},e._OrtReleaseSessionOptions=function(){return(e._OrtReleaseSessionOptions=e.asm.Qa).apply(null,arguments)},e._OrtCreateSession=function(){return(e._OrtCreateSession=e.asm.Ra).apply(null,arguments)},e._OrtReleaseSession=function(){return(e._OrtReleaseSession=e.asm.Sa).apply(null,arguments)},e._OrtGetInputCount=function(){return(e._OrtGetInputCount=e.asm.Ta).apply(null,arguments)},e._OrtGetOutputCount=function(){return(e._OrtGetOutputCount=e.asm.Ua).apply(null,arguments)},e._OrtGetInputName=function(){return(e._OrtGetInputName=e.asm.Va).apply(null,arguments)},e._OrtGetOutputName=function(){return(e._OrtGetOutputName=e.asm.Wa).apply(null,arguments)},e._OrtFree=function(){return(e._OrtFree=e.asm.Xa).apply(null,arguments)},e._OrtCreateTensor=function(){return(e._OrtCreateTensor=e.asm.Ya).apply(null,arguments)},e._OrtGetTensorData=function(){return(e._OrtGetTensorData=e.asm.Za).apply(null,arguments)},e._OrtReleaseTensor=function(){return(e._OrtReleaseTensor=e.asm._a).apply(null,arguments)},e._OrtCreateRunOptions=function(){return(e._OrtCreateRunOptions=e.asm.$a).apply(null,arguments)},e._OrtAddRunConfigEntry=function(){return(e._OrtAddRunConfigEntry=e.asm.ab).apply(null,arguments)},e._OrtReleaseRunOptions=function(){return(e._OrtReleaseRunOptions=e.asm.bb).apply(null,arguments)},e._OrtRun=function(){return(e._OrtRun=e.asm.cb).apply(null,arguments)},e._OrtEndProfiling=function(){return(e._OrtEndProfiling=e.asm.db).apply(null,arguments)};var ty,t_=e._malloc=function(){return(t_=e._malloc=e.asm.eb).apply(null,arguments)},tv=e._free=function(){return(tv=e._free=e.asm.fb).apply(null,arguments)},tx=e._fflush=function(){return(tx=e._fflush=e.asm.gb).apply(null,arguments)},tw=e.___funcs_on_exit=function(){return(tw=e.___funcs_on_exit=e.asm.hb).apply(null,arguments)},tT=e._setThrew=function(){return(tT=e._setThrew=e.asm.jb).apply(null,arguments)},tS=e.stackSave=function(){return(tS=e.stackSave=e.asm.kb).apply(null,arguments)},tO=e.stackRestore=function(){return(tO=e.stackRestore=e.asm.lb).apply(null,arguments)},tA=e.stackAlloc=function(){return(tA=e.stackAlloc=e.asm.mb).apply(null,arguments)},tE=e.___cxa_can_catch=function(){return(tE=e.___cxa_can_catch=e.asm.nb).apply(null,arguments)},tI=e.___cxa_is_pointer_type=function(){return(tI=e.___cxa_is_pointer_type=e.asm.ob).apply(null,arguments)},tP=e.dynCall_j=function(){return(tP=e.dynCall_j=e.asm.pb).apply(null,arguments)},tD=e.dynCall_iiiiij=function(){return(tD=e.dynCall_iiiiij=e.asm.qb).apply(null,arguments)},t$=e.dynCall_jii=function(){return(t$=e.dynCall_jii=e.asm.rb).apply(null,arguments)},tk=e.dynCall_viiiiij=function(){return(tk=e.dynCall_viiiiij=e.asm.sb).apply(null,arguments)},tC=e.dynCall_vjji=function(){return(tC=e.dynCall_vjji=e.asm.tb).apply(null,arguments)},tF=e.dynCall_viiijjjii=function(){return(tF=e.dynCall_viiijjjii=e.asm.ub).apply(null,arguments)},tN=e.dynCall_iij=function(){return(tN=e.dynCall_iij=e.asm.vb).apply(null,arguments)},tL=e.dynCall_ji=function(){return(tL=e.dynCall_ji=e.asm.wb).apply(null,arguments)},tR=e.dynCall_iiiiiij=function(){return(tR=e.dynCall_iiiiiij=e.asm.xb).apply(null,arguments)},tj=e.dynCall_iiij=function(){return(tj=e.dynCall_iiij=e.asm.yb).apply(null,arguments)};function tM(){function t(){if(!ty&&(ty=!0,e.calledRun=!0,!P)){if(J(j),i(e),e.onRuntimeInitialized&&e.onRuntimeInitialized(),e.postRun)for("function"==typeof e.postRun&&(e.postRun=[e.postRun]);e.postRun.length;){var t=e.postRun.shift();U.unshift(t)}J(U)}}if(!(0{"use strict";t.exports=function(t,e){for(var r=Array(arguments.length-1),n=0,i=2,o=!0;i{"use strict";var r=e;r.length=function(t){var e=t.length;if(!e)return 0;for(var r=0;--e%4>1&&"="===t.charAt(e);)++r;return Math.ceil(3*t.length)/4-r};for(var n=Array(64),i=Array(123),o=0;o<64;)i[n[o]=o<26?o+65:o<52?o+71:o<62?o-4:o-59|43]=o++;r.encode=function(t,e,r){for(var i,o=null,a=[],s=0,u=0;e>2],i=(3&l)<<4,u=1;break;case 1:a[s++]=n[i|l>>4],i=(15&l)<<2,u=2;break;case 2:a[s++]=n[i|l>>6],a[s++]=n[63&l],u=0}s>8191&&((o||(o=[])).push(String.fromCharCode.apply(String,a)),s=0)}return u&&(a[s++]=n[i],a[s++]=61,1===u&&(a[s++]=61)),o?(s&&o.push(String.fromCharCode.apply(String,a.slice(0,s))),o.join("")):String.fromCharCode.apply(String,a.slice(0,s))};var a="invalid encoding";r.decode=function(t,e,r){for(var n,o=r,s=0,u=0;u1)break;if(void 0===(l=i[l]))throw Error(a);switch(s){case 0:n=l,s=1;break;case 1:e[r++]=n<<2|(48&l)>>4,n=l,s=2;break;case 2:e[r++]=(15&n)<<4|(60&l)>>2,n=l,s=3;break;case 3:e[r++]=(3&n)<<6|l,s=0}}if(1===s)throw Error(a);return r-o},r.test=function(t){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t)}},9211:t=>{"use strict";function e(){this._listeners={}}t.exports=e,e.prototype.on=function(t,e,r){return(this._listeners[t]||(this._listeners[t]=[])).push({fn:e,ctx:r||this}),this},e.prototype.off=function(t,e){if(void 0===t)this._listeners={};else if(void 0===e)this._listeners[t]=[];else for(var r=this._listeners[t],n=0;n{"use strict";function e(t){return"undefined"!=typeof Float32Array?function(){var e=new Float32Array([-0]),r=new Uint8Array(e.buffer),n=128===r[3];function i(t,n,i){e[0]=t,n[i]=r[0],n[i+1]=r[1],n[i+2]=r[2],n[i+3]=r[3]}function o(t,n,i){e[0]=t,n[i]=r[3],n[i+1]=r[2],n[i+2]=r[1],n[i+3]=r[0]}function a(t,n){return r[0]=t[n],r[1]=t[n+1],r[2]=t[n+2],r[3]=t[n+3],e[0]}function s(t,n){return r[3]=t[n],r[2]=t[n+1],r[1]=t[n+2],r[0]=t[n+3],e[0]}t.writeFloatLE=n?i:o,t.writeFloatBE=n?o:i,t.readFloatLE=n?a:s,t.readFloatBE=n?s:a}():function(){function e(t,e,r,n){var i=e<0?1:0;if(i&&(e=-e),0===e)t(1/e>0?0:2147483648,r,n);else if(isNaN(e))t(2143289344,r,n);else if(e>34028234663852886e22)t((i<<31|2139095040)>>>0,r,n);else if(e<11754943508222875e-54)t((i<<31|Math.round(e/1401298464324817e-60))>>>0,r,n);else{var o=Math.floor(Math.log(e)/Math.LN2);t((i<<31|o+127<<23|8388607&Math.round(e*Math.pow(2,-o)*8388608))>>>0,r,n)}}function a(t,e,r){var n=t(e,r),i=2*(n>>31)+1,o=n>>>23&255,a=8388607&n;return 255===o?a?NaN:1/0*i:0===o?1401298464324817e-60*i*a:i*Math.pow(2,o-150)*(a+8388608)}t.writeFloatLE=e.bind(null,r),t.writeFloatBE=e.bind(null,n),t.readFloatLE=a.bind(null,i),t.readFloatBE=a.bind(null,o)}(),"undefined"!=typeof Float64Array?function(){var e=new Float64Array([-0]),r=new Uint8Array(e.buffer),n=128===r[7];function i(t,n,i){e[0]=t,n[i]=r[0],n[i+1]=r[1],n[i+2]=r[2],n[i+3]=r[3],n[i+4]=r[4],n[i+5]=r[5],n[i+6]=r[6],n[i+7]=r[7]}function o(t,n,i){e[0]=t,n[i]=r[7],n[i+1]=r[6],n[i+2]=r[5],n[i+3]=r[4],n[i+4]=r[3],n[i+5]=r[2],n[i+6]=r[1],n[i+7]=r[0]}function a(t,n){return r[0]=t[n],r[1]=t[n+1],r[2]=t[n+2],r[3]=t[n+3],r[4]=t[n+4],r[5]=t[n+5],r[6]=t[n+6],r[7]=t[n+7],e[0]}function s(t,n){return r[7]=t[n],r[6]=t[n+1],r[5]=t[n+2],r[4]=t[n+3],r[3]=t[n+4],r[2]=t[n+5],r[1]=t[n+6],r[0]=t[n+7],e[0]}t.writeDoubleLE=n?i:o,t.writeDoubleBE=n?o:i,t.readDoubleLE=n?a:s,t.readDoubleBE=n?s:a}():function(){function e(t,e,r,n,i,o){var a,s=n<0?1:0;if(s&&(n=-n),0===n)t(0,i,o+e),t(1/n>0?0:2147483648,i,o+r);else if(isNaN(n))t(0,i,o+e),t(2146959360,i,o+r);else if(n>17976931348623157e292)t(0,i,o+e),t((s<<31|2146435072)>>>0,i,o+r);else if(n<22250738585072014e-324)t((a=n/5e-324)>>>0,i,o+e),t((s<<31|a/4294967296)>>>0,i,o+r);else{var u=Math.floor(Math.log(n)/Math.LN2);1024===u&&(u=1023),t(4503599627370496*(a=n*Math.pow(2,-u))>>>0,i,o+e),t((s<<31|u+1023<<20|1048576*a&1048575)>>>0,i,o+r)}}function a(t,e,r,n,i){var o=t(n,i+e),a=t(n,i+r),s=2*(a>>31)+1,u=a>>>20&2047,l=4294967296*(1048575&a)+o;return 2047===u?l?NaN:1/0*s:0===u?5e-324*s*l:s*Math.pow(2,u-1075)*(l+4503599627370496)}t.writeDoubleLE=e.bind(null,r,0,4),t.writeDoubleBE=e.bind(null,n,4,0),t.readDoubleLE=a.bind(null,i,0,4),t.readDoubleBE=a.bind(null,o,4,0)}(),t}function r(t,e,r){e[r]=255&t,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24}function n(t,e,r){e[r]=t>>>24,e[r+1]=t>>>16&255,e[r+2]=t>>>8&255,e[r+3]=255&t}function i(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0}function o(t,e){return(t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3])>>>0}t.exports=e(e)},7199:module=>{"use strict";function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(t){}return null}module.exports=inquire},6662:t=>{"use strict";t.exports=function(t,e,r){var n=r||8192,i=n>>>1,o=null,a=n;return function(r){if(r<1||r>i)return t(r);a+r>n&&(o=t(n),a=0);var s=e.call(o,a,a+=r);return 7&a&&(a=1+(7|a)),s}}},4997:(t,e)=>{"use strict";var r=e;r.length=function(t){for(var e=0,r=0,n=0;n191&&n<224?o[a++]=(31&n)<<6|63&t[e++]:n>239&&n<365?(n=((7&n)<<18|(63&t[e++])<<12|(63&t[e++])<<6|63&t[e++])-65536,o[a++]=55296+(n>>10),o[a++]=56320+(1023&n)):o[a++]=(15&n)<<12|(63&t[e++])<<6|63&t[e++],a>8191&&((i||(i=[])).push(String.fromCharCode.apply(String,o)),a=0);return i?(a&&i.push(String.fromCharCode.apply(String,o.slice(0,a))),i.join("")):String.fromCharCode.apply(String,o.slice(0,a))},r.write=function(t,e,r){for(var n,i,o=r,a=0;a>6|192:(55296==(64512&n)&&56320==(64512&(i=t.charCodeAt(a+1)))?(n=65536+((1023&n)<<10)+(1023&i),++a,e[r++]=n>>18|240,e[r++]=n>>12&63|128):e[r++]=n>>12|224,e[r++]=n>>6&63|128),e[r++]=63&n|128);return r-o}},3442:(t,e)=>{"use strict";e.__esModule=!0;var r=function(){function t(e){if(!e)throw TypeError("Invalid argument; `value` has no value.");this.value=t.EMPTY,e&&t.isGuid(e)&&(this.value=e)}return t.isGuid=function(e){var r=e.toString();return e&&(e instanceof t||t.validator.test(r))},t.create=function(){return new t([t.gen(2),t.gen(1),t.gen(1),t.gen(1),t.gen(3)].join("-"))},t.createEmpty=function(){return new t("emptyguid")},t.parse=function(e){return new t(e)},t.raw=function(){return[t.gen(2),t.gen(1),t.gen(1),t.gen(1),t.gen(3)].join("-")},t.gen=function(t){for(var e="",r=0;r{t.exports=r;var e=null;try{e=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(t){}function r(t,e,r){this.low=0|t,this.high=0|e,this.unsigned=!!r}function n(t){return!0===(t&&t.__isLong__)}r.prototype.__isLong__,Object.defineProperty(r.prototype,"__isLong__",{value:!0}),r.isLong=n;var i={},o={};function a(t,e){var r,n,a;return e?(a=0<=(t>>>=0)&&t<256)&&(n=o[t])?n:(r=u(t,(0|t)<0?-1:0,!0),a&&(o[t]=r),r):(a=-128<=(t|=0)&&t<128)&&(n=i[t])?n:(r=u(t,t<0?-1:0,!1),a&&(i[t]=r),r)}function s(t,e){if(isNaN(t))return e?m:b;if(e){if(t<0)return m;if(t>=d)return w}else{if(t<=-h)return T;if(t+1>=h)return x}return t<0?s(-t,e).neg():u(t%f|0,t/f|0,e)}function u(t,e,n){return new r(t,e,n)}r.fromInt=a,r.fromNumber=s,r.fromBits=u;var l=Math.pow;function c(t,e,r){if(0===t.length)throw Error("empty string");if("NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return b;if("number"==typeof e?(r=e,e=!1):e=!!e,(r=r||10)<2||360)throw Error("interior hyphen");if(0===n)return c(t.substring(1),e,r).neg();for(var n,i=s(l(r,8)),o=b,a=0;a>>0:this.low},S.toNumber=function(){return this.unsigned?(this.high>>>0)*f+(this.low>>>0):this.high*f+(this.low>>>0)},S.toString=function(t){if((t=t||10)<2||36>>0).toString(t);if((o=u).isZero())return c+a;for(;c.length<6;)c="0"+c;a=""+c+a}},S.getHighBits=function(){return this.high},S.getHighBitsUnsigned=function(){return this.high>>>0},S.getLowBits=function(){return this.low},S.getLowBitsUnsigned=function(){return this.low>>>0},S.getNumBitsAbs=function(){if(this.isNegative())return this.eq(T)?64:this.neg().getNumBitsAbs();for(var t=0!=this.high?this.high:this.low,e=31;e>0&&0==(t&1<=0},S.isOdd=function(){return 1==(1&this.low)},S.isEven=function(){return 0==(1&this.low)},S.equals=function(t){return n(t)||(t=p(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&this.high===t.high&&this.low===t.low},S.eq=S.equals,S.notEquals=function(t){return!this.eq(t)},S.neq=S.notEquals,S.ne=S.notEquals,S.lessThan=function(t){return 0>this.comp(t)},S.lt=S.lessThan,S.lessThanOrEqual=function(t){return 0>=this.comp(t)},S.lte=S.lessThanOrEqual,S.le=S.lessThanOrEqual,S.greaterThan=function(t){return this.comp(t)>0},S.gt=S.greaterThan,S.greaterThanOrEqual=function(t){return this.comp(t)>=0},S.gte=S.greaterThanOrEqual,S.ge=S.greaterThanOrEqual,S.compare=function(t){if(n(t)||(t=p(t)),this.eq(t))return 0;var e=this.isNegative(),r=t.isNegative();return e&&!r?-1:!e&&r?1:this.unsigned?t.high>>>0>this.high>>>0||t.high===this.high&&t.low>>>0>this.low>>>0?-1:1:this.sub(t).isNegative()?-1:1},S.comp=S.compare,S.negate=function(){return!this.unsigned&&this.eq(T)?T:this.not().add(y)},S.neg=S.negate,S.add=function(t){n(t)||(t=p(t));var e,r,i,o,a=this.high>>>16,s=65535&this.high,l=this.low>>>16,c=65535&this.low,f=t.high>>>16,d=65535&t.high,h=t.low>>>16;return o=0+(((i=0+((e=0+((r=0+(c+(65535&t.low)))>>>16)+(l+h))>>>16)+(s+d))>>>16)+(a+f)),u((e&=65535)<<16|(r&=65535),(o&=65535)<<16|(i&=65535),this.unsigned)},S.subtract=function(t){return n(t)||(t=p(t)),this.add(t.neg())},S.sub=S.subtract,S.multiply=function(t){if(this.isZero())return b;if(n(t)||(t=p(t)),e)return u(e.mul(this.low,this.high,t.low,t.high),e.get_high(),this.unsigned);if(t.isZero())return b;if(this.eq(T))return t.isOdd()?T:b;if(t.eq(T))return this.isOdd()?T:b;if(this.isNegative())return t.isNegative()?this.neg().mul(t.neg()):this.neg().mul(t).neg();if(t.isNegative())return this.mul(t.neg()).neg();if(this.lt(g)&&t.lt(g))return s(this.toNumber()*t.toNumber(),this.unsigned);var r,i,o,a=this.high>>>16,l=65535&this.high,c=this.low>>>16,f=65535&this.low,d=t.high>>>16,h=65535&t.high,m=t.low>>>16,y=65535&t.low,_=0;return o=0+((r=0+((i=0+f*y)>>>16)+c*y)>>>16),r&=65535,o+=(r+=f*m)>>>16,_+=(o+=l*y)>>>16,o&=65535,_+=(o+=c*m)>>>16,o&=65535,_+=((o+=f*h)>>>16)+(a*y+l*m+c*h+f*d),u((r&=65535)<<16|(i&=65535),(_&=65535)<<16|(o&=65535),this.unsigned)},S.mul=S.multiply,S.divide=function(t){if(n(t)||(t=p(t)),t.isZero())throw Error("division by zero");if(e)return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?u((this.unsigned?e.div_u:e.div_s)(this.low,this.high,t.low,t.high),e.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?m:b;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return m;if(t.gt(this.shru(1)))return _;o=m}else{if(this.eq(T))return t.eq(y)||t.eq(v)?T:t.eq(T)?y:(r=this.shr(1).div(t).shl(1)).eq(b)?t.isNegative()?y:v:(i=this.sub(t.mul(r)),o=r.add(i.div(t)));if(t.eq(T))return this.unsigned?m:b;if(this.isNegative())return t.isNegative()?this.neg().div(t.neg()):this.neg().div(t).neg();if(t.isNegative())return this.div(t.neg()).neg();o=b}for(i=this;i.gte(t);){r=Math.max(1,Math.floor(i.toNumber()/t.toNumber()));for(var r,i,o,a=Math.ceil(Math.log(r)/Math.LN2),c=a<=48?1:l(2,a-48),f=s(r),d=f.mul(t);d.isNegative()||d.gt(i);)d=(f=s(r-=c,this.unsigned)).mul(t);f.isZero()&&(f=y),o=o.add(f),i=i.sub(d)}return o},S.div=S.divide,S.modulo=function(t){return n(t)||(t=p(t)),e?u((this.unsigned?e.rem_u:e.rem_s)(this.low,this.high,t.low,t.high),e.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},S.mod=S.modulo,S.rem=S.modulo,S.not=function(){return u(~this.low,~this.high,this.unsigned)},S.and=function(t){return n(t)||(t=p(t)),u(this.low&t.low,this.high&t.high,this.unsigned)},S.or=function(t){return n(t)||(t=p(t)),u(this.low|t.low,this.high|t.high,this.unsigned)},S.xor=function(t){return n(t)||(t=p(t)),u(this.low^t.low,this.high^t.high,this.unsigned)},S.shiftLeft=function(t){return n(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?u(this.low<>>32-t,this.unsigned):u(0,this.low<>>t|this.high<<32-t,this.high>>t,this.unsigned):u(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},S.shr=S.shiftRight,S.shiftRightUnsigned=function(t){if(n(t)&&(t=t.toInt()),0==(t&=63))return this;var e=this.high;return t<32?u(this.low>>>t|e<<32-t,e>>>t,this.unsigned):u(32===t?e:e>>>t-32,0,this.unsigned)},S.shru=S.shiftRightUnsigned,S.shr_u=S.shiftRightUnsigned,S.toSigned=function(){return this.unsigned?u(this.low,this.high,!1):this},S.toUnsigned=function(){return this.unsigned?this:u(this.low,this.high,!0)},S.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},S.toBytesLE=function(){var t=this.high,e=this.low;return[255&e,e>>>8&255,e>>>16&255,e>>>24,255&t,t>>>8&255,t>>>16&255,t>>>24]},S.toBytesBE=function(){var t=this.high,e=this.low;return[t>>>24,t>>>16&255,t>>>8&255,255&t,e>>>24,e>>>16&255,e>>>8&255,255&e]},r.fromBytes=function(t,e,n){return n?r.fromBytesLE(t,e):r.fromBytesBE(t,e)},r.fromBytesLE=function(t,e){return new r(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,e)},r.fromBytesBE=function(t,e){return new r(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],e)}},1446:(t,e,r)=>{"use strict";var n,i,o,a=r(2100),s=a.Reader,u=a.Writer,l=a.util,c=a.roots.default||(a.roots.default={});c.onnx=((o={}).Version=((i=Object.create(n={}))[n[0]="_START_VERSION"]=0,i[n[1]="IR_VERSION_2017_10_10"]=1,i[n[2]="IR_VERSION_2017_10_30"]=2,i[n[3]="IR_VERSION_2017_11_3"]=3,i[n[4]="IR_VERSION_2019_1_22"]=4,i[n[5]="IR_VERSION"]=5,i),o.AttributeProto=function(){function t(t){if(this.floats=[],this.ints=[],this.strings=[],this.tensors=[],this.graphs=[],t)for(var e=Object.keys(t),r=0;r>>3){case 1:n.name=t.string();break;case 21:n.refAttrName=t.string();break;case 13:n.docString=t.string();break;case 20:n.type=t.int32();break;case 2:n.f=t.float();break;case 3:n.i=t.int64();break;case 4:n.s=t.bytes();break;case 5:n.t=c.onnx.TensorProto.decode(t,t.uint32());break;case 6:n.g=c.onnx.GraphProto.decode(t,t.uint32());break;case 7:if(n.floats&&n.floats.length||(n.floats=[]),2==(7&i))for(var o=t.uint32()+t.pos;t.pos>>0,t.i.high>>>0).toNumber())),null!=t.s&&("string"==typeof t.s?l.base64.decode(t.s,e.s=l.newBuffer(l.base64.length(t.s)),0):t.s.length&&(e.s=t.s)),null!=t.t){if("object"!=typeof t.t)throw TypeError(".onnx.AttributeProto.t: object expected");e.t=c.onnx.TensorProto.fromObject(t.t)}if(null!=t.g){if("object"!=typeof t.g)throw TypeError(".onnx.AttributeProto.g: object expected");e.g=c.onnx.GraphProto.fromObject(t.g)}if(t.floats){if(!Array.isArray(t.floats))throw TypeError(".onnx.AttributeProto.floats: array expected");e.floats=[];for(var r=0;r>>0,t.ints[r].high>>>0).toNumber())}if(t.strings){if(!Array.isArray(t.strings))throw TypeError(".onnx.AttributeProto.strings: array expected");for(e.strings=[],r=0;r>>0,t.i.high>>>0).toNumber():t.i),null!=t.s&&t.hasOwnProperty("s")&&(r.s=e.bytes===String?l.base64.encode(t.s,0,t.s.length):e.bytes===Array?Array.prototype.slice.call(t.s):t.s),null!=t.t&&t.hasOwnProperty("t")&&(r.t=c.onnx.TensorProto.toObject(t.t,e)),null!=t.g&&t.hasOwnProperty("g")&&(r.g=c.onnx.GraphProto.toObject(t.g,e)),t.floats&&t.floats.length){r.floats=[];for(var i=0;i>>0,t.ints[i].high>>>0).toNumber():t.ints[i];if(t.strings&&t.strings.length)for(r.strings=[],i=0;i>>3){case 1:n.name=t.string();break;case 2:n.type=c.onnx.TypeProto.decode(t,t.uint32());break;case 3:n.docString=t.string();break;default:t.skipType(7&i)}}return n},t.decodeDelimited=function(t){return t instanceof s||(t=new s(t)),this.decode(t,t.uint32())},t.verify=function(t){if("object"!=typeof t||null===t)return"object expected";if(null!=t.name&&t.hasOwnProperty("name")&&!l.isString(t.name))return"name: string expected";if(null!=t.type&&t.hasOwnProperty("type")){var e=c.onnx.TypeProto.verify(t.type);if(e)return"type."+e}return null!=t.docString&&t.hasOwnProperty("docString")&&!l.isString(t.docString)?"docString: string expected":null},t.fromObject=function(t){if(t instanceof c.onnx.ValueInfoProto)return t;var e=new c.onnx.ValueInfoProto;if(null!=t.name&&(e.name=String(t.name)),null!=t.type){if("object"!=typeof t.type)throw TypeError(".onnx.ValueInfoProto.type: object expected");e.type=c.onnx.TypeProto.fromObject(t.type)}return null!=t.docString&&(e.docString=String(t.docString)),e},t.toObject=function(t,e){e||(e={});var r={};return e.defaults&&(r.name="",r.type=null,r.docString=""),null!=t.name&&t.hasOwnProperty("name")&&(r.name=t.name),null!=t.type&&t.hasOwnProperty("type")&&(r.type=c.onnx.TypeProto.toObject(t.type,e)),null!=t.docString&&t.hasOwnProperty("docString")&&(r.docString=t.docString),r},t.prototype.toJSON=function(){return this.constructor.toObject(this,a.util.toJSONOptions)},t}(),o.NodeProto=function(){function t(t){if(this.input=[],this.output=[],this.attribute=[],t)for(var e=Object.keys(t),r=0;r>>3){case 1:n.input&&n.input.length||(n.input=[]),n.input.push(t.string());break;case 2:n.output&&n.output.length||(n.output=[]),n.output.push(t.string());break;case 3:n.name=t.string();break;case 4:n.opType=t.string();break;case 7:n.domain=t.string();break;case 5:n.attribute&&n.attribute.length||(n.attribute=[]),n.attribute.push(c.onnx.AttributeProto.decode(t,t.uint32()));break;case 6:n.docString=t.string();break;default:t.skipType(7&i)}}return n},t.decodeDelimited=function(t){return t instanceof s||(t=new s(t)),this.decode(t,t.uint32())},t.verify=function(t){if("object"!=typeof t||null===t)return"object expected";if(null!=t.input&&t.hasOwnProperty("input")){if(!Array.isArray(t.input))return"input: array expected";for(var e=0;e>>3){case 1:n.irVersion=t.int64();break;case 8:n.opsetImport&&n.opsetImport.length||(n.opsetImport=[]),n.opsetImport.push(c.onnx.OperatorSetIdProto.decode(t,t.uint32()));break;case 2:n.producerName=t.string();break;case 3:n.producerVersion=t.string();break;case 4:n.domain=t.string();break;case 5:n.modelVersion=t.int64();break;case 6:n.docString=t.string();break;case 7:n.graph=c.onnx.GraphProto.decode(t,t.uint32());break;case 14:n.metadataProps&&n.metadataProps.length||(n.metadataProps=[]),n.metadataProps.push(c.onnx.StringStringEntryProto.decode(t,t.uint32()));break;default:t.skipType(7&i)}}return n},t.decodeDelimited=function(t){return t instanceof s||(t=new s(t)),this.decode(t,t.uint32())},t.verify=function(t){if("object"!=typeof t||null===t)return"object expected";if(null!=t.irVersion&&t.hasOwnProperty("irVersion")&&!(l.isInteger(t.irVersion)||t.irVersion&&l.isInteger(t.irVersion.low)&&l.isInteger(t.irVersion.high)))return"irVersion: integer|Long expected";if(null!=t.opsetImport&&t.hasOwnProperty("opsetImport")){if(!Array.isArray(t.opsetImport))return"opsetImport: array expected";for(var e,r=0;r>>0,t.irVersion.high>>>0).toNumber())),t.opsetImport){if(!Array.isArray(t.opsetImport))throw TypeError(".onnx.ModelProto.opsetImport: array expected");e.opsetImport=[];for(var r=0;r>>0,t.modelVersion.high>>>0).toNumber())),null!=t.docString&&(e.docString=String(t.docString)),null!=t.graph){if("object"!=typeof t.graph)throw TypeError(".onnx.ModelProto.graph: object expected");e.graph=c.onnx.GraphProto.fromObject(t.graph)}if(t.metadataProps){if(!Array.isArray(t.metadataProps))throw TypeError(".onnx.ModelProto.metadataProps: array expected");for(e.metadataProps=[],r=0;r>>0,t.irVersion.high>>>0).toNumber():t.irVersion),null!=t.producerName&&t.hasOwnProperty("producerName")&&(r.producerName=t.producerName),null!=t.producerVersion&&t.hasOwnProperty("producerVersion")&&(r.producerVersion=t.producerVersion),null!=t.domain&&t.hasOwnProperty("domain")&&(r.domain=t.domain),null!=t.modelVersion&&t.hasOwnProperty("modelVersion")&&("number"==typeof t.modelVersion?r.modelVersion=e.longs===String?String(t.modelVersion):t.modelVersion:r.modelVersion=e.longs===String?l.Long.prototype.toString.call(t.modelVersion):e.longs===Number?new l.LongBits(t.modelVersion.low>>>0,t.modelVersion.high>>>0).toNumber():t.modelVersion),null!=t.docString&&t.hasOwnProperty("docString")&&(r.docString=t.docString),null!=t.graph&&t.hasOwnProperty("graph")&&(r.graph=c.onnx.GraphProto.toObject(t.graph,e)),t.opsetImport&&t.opsetImport.length){r.opsetImport=[];for(var i=0;i>>3){case 1:n.key=t.string();break;case 2:n.value=t.string();break;default:t.skipType(7&i)}}return n},t.decodeDelimited=function(t){return t instanceof s||(t=new s(t)),this.decode(t,t.uint32())},t.verify=function(t){return"object"!=typeof t||null===t?"object expected":null!=t.key&&t.hasOwnProperty("key")&&!l.isString(t.key)?"key: string expected":null!=t.value&&t.hasOwnProperty("value")&&!l.isString(t.value)?"value: string expected":null},t.fromObject=function(t){if(t instanceof c.onnx.StringStringEntryProto)return t;var e=new c.onnx.StringStringEntryProto;return null!=t.key&&(e.key=String(t.key)),null!=t.value&&(e.value=String(t.value)),e},t.toObject=function(t,e){e||(e={});var r={};return e.defaults&&(r.key="",r.value=""),null!=t.key&&t.hasOwnProperty("key")&&(r.key=t.key),null!=t.value&&t.hasOwnProperty("value")&&(r.value=t.value),r},t.prototype.toJSON=function(){return this.constructor.toObject(this,a.util.toJSONOptions)},t}(),o.TensorAnnotation=function(){function t(t){if(this.quantParameterTensorNames=[],t)for(var e=Object.keys(t),r=0;r>>3){case 1:n.tensorName=t.string();break;case 2:n.quantParameterTensorNames&&n.quantParameterTensorNames.length||(n.quantParameterTensorNames=[]),n.quantParameterTensorNames.push(c.onnx.StringStringEntryProto.decode(t,t.uint32()));break;default:t.skipType(7&i)}}return n},t.decodeDelimited=function(t){return t instanceof s||(t=new s(t)),this.decode(t,t.uint32())},t.verify=function(t){if("object"!=typeof t||null===t)return"object expected";if(null!=t.tensorName&&t.hasOwnProperty("tensorName")&&!l.isString(t.tensorName))return"tensorName: string expected";if(null!=t.quantParameterTensorNames&&t.hasOwnProperty("quantParameterTensorNames")){if(!Array.isArray(t.quantParameterTensorNames))return"quantParameterTensorNames: array expected";for(var e=0;e>>3){case 1:n.node&&n.node.length||(n.node=[]),n.node.push(c.onnx.NodeProto.decode(t,t.uint32()));break;case 2:n.name=t.string();break;case 5:n.initializer&&n.initializer.length||(n.initializer=[]),n.initializer.push(c.onnx.TensorProto.decode(t,t.uint32()));break;case 10:n.docString=t.string();break;case 11:n.input&&n.input.length||(n.input=[]),n.input.push(c.onnx.ValueInfoProto.decode(t,t.uint32()));break;case 12:n.output&&n.output.length||(n.output=[]),n.output.push(c.onnx.ValueInfoProto.decode(t,t.uint32()));break;case 13:n.valueInfo&&n.valueInfo.length||(n.valueInfo=[]),n.valueInfo.push(c.onnx.ValueInfoProto.decode(t,t.uint32()));break;case 14:n.quantizationAnnotation&&n.quantizationAnnotation.length||(n.quantizationAnnotation=[]),n.quantizationAnnotation.push(c.onnx.TensorAnnotation.decode(t,t.uint32()));break;default:t.skipType(7&i)}}return n},t.decodeDelimited=function(t){return t instanceof s||(t=new s(t)),this.decode(t,t.uint32())},t.verify=function(t){if("object"!=typeof t||null===t)return"object expected";if(null!=t.node&&t.hasOwnProperty("node")){if(!Array.isArray(t.node))return"node: array expected";for(var e,r=0;r>>3){case 1:if(n.dims&&n.dims.length||(n.dims=[]),2==(7&i))for(var o=t.uint32()+t.pos;t.pos>>0,t.dims[r].high>>>0).toNumber())}if(null!=t.dataType&&(e.dataType=0|t.dataType),null!=t.segment){if("object"!=typeof t.segment)throw TypeError(".onnx.TensorProto.segment: object expected");e.segment=c.onnx.TensorProto.Segment.fromObject(t.segment)}if(t.floatData){if(!Array.isArray(t.floatData))throw TypeError(".onnx.TensorProto.floatData: array expected");for(e.floatData=[],r=0;r>>0,t.int64Data[r].high>>>0).toNumber())}if(null!=t.name&&(e.name=String(t.name)),null!=t.docString&&(e.docString=String(t.docString)),null!=t.rawData&&("string"==typeof t.rawData?l.base64.decode(t.rawData,e.rawData=l.newBuffer(l.base64.length(t.rawData)),0):t.rawData.length&&(e.rawData=t.rawData)),t.externalData){if(!Array.isArray(t.externalData))throw TypeError(".onnx.TensorProto.externalData: array expected");for(e.externalData=[],r=0;r>>0,t.uint64Data[r].high>>>0).toNumber(!0))}return e},t.toObject=function(t,e){e||(e={});var r={};if((e.arrays||e.defaults)&&(r.dims=[],r.floatData=[],r.int32Data=[],r.stringData=[],r.int64Data=[],r.doubleData=[],r.uint64Data=[],r.externalData=[]),e.defaults&&(r.dataType=0,r.segment=null,r.name="",e.bytes===String?r.rawData="":(r.rawData=[],e.bytes!==Array&&(r.rawData=l.newBuffer(r.rawData))),r.docString="",r.dataLocation=e.enums===String?"DEFAULT":0),t.dims&&t.dims.length){r.dims=[];for(var n=0;n>>0,t.dims[n].high>>>0).toNumber():t.dims[n]}if(null!=t.dataType&&t.hasOwnProperty("dataType")&&(r.dataType=t.dataType),null!=t.segment&&t.hasOwnProperty("segment")&&(r.segment=c.onnx.TensorProto.Segment.toObject(t.segment,e)),t.floatData&&t.floatData.length)for(r.floatData=[],n=0;n>>0,t.int64Data[n].high>>>0).toNumber():t.int64Data[n];if(null!=t.name&&t.hasOwnProperty("name")&&(r.name=t.name),null!=t.rawData&&t.hasOwnProperty("rawData")&&(r.rawData=e.bytes===String?l.base64.encode(t.rawData,0,t.rawData.length):e.bytes===Array?Array.prototype.slice.call(t.rawData):t.rawData),t.doubleData&&t.doubleData.length)for(r.doubleData=[],n=0;n>>0,t.uint64Data[n].high>>>0).toNumber(!0):t.uint64Data[n];if(null!=t.docString&&t.hasOwnProperty("docString")&&(r.docString=t.docString),t.externalData&&t.externalData.length)for(r.externalData=[],n=0;n>>3){case 1:n.begin=t.int64();break;case 2:n.end=t.int64();break;default:t.skipType(7&i)}}return n},t.decodeDelimited=function(t){return t instanceof s||(t=new s(t)),this.decode(t,t.uint32())},t.verify=function(t){return"object"!=typeof t||null===t?"object expected":null!=t.begin&&t.hasOwnProperty("begin")&&!(l.isInteger(t.begin)||t.begin&&l.isInteger(t.begin.low)&&l.isInteger(t.begin.high))?"begin: integer|Long expected":null!=t.end&&t.hasOwnProperty("end")&&!(l.isInteger(t.end)||t.end&&l.isInteger(t.end.low)&&l.isInteger(t.end.high))?"end: integer|Long expected":null},t.fromObject=function(t){if(t instanceof c.onnx.TensorProto.Segment)return t;var e=new c.onnx.TensorProto.Segment;return null!=t.begin&&(l.Long?(e.begin=l.Long.fromValue(t.begin)).unsigned=!1:"string"==typeof t.begin?e.begin=parseInt(t.begin,10):"number"==typeof t.begin?e.begin=t.begin:"object"==typeof t.begin&&(e.begin=new l.LongBits(t.begin.low>>>0,t.begin.high>>>0).toNumber())),null!=t.end&&(l.Long?(e.end=l.Long.fromValue(t.end)).unsigned=!1:"string"==typeof t.end?e.end=parseInt(t.end,10):"number"==typeof t.end?e.end=t.end:"object"==typeof t.end&&(e.end=new l.LongBits(t.end.low>>>0,t.end.high>>>0).toNumber())),e},t.toObject=function(t,e){e||(e={});var r={};if(e.defaults){if(l.Long){var n=new l.Long(0,0,!1);r.begin=e.longs===String?n.toString():e.longs===Number?n.toNumber():n}else r.begin=e.longs===String?"0":0;l.Long?(n=new l.Long(0,0,!1),r.end=e.longs===String?n.toString():e.longs===Number?n.toNumber():n):r.end=e.longs===String?"0":0}return null!=t.begin&&t.hasOwnProperty("begin")&&("number"==typeof t.begin?r.begin=e.longs===String?String(t.begin):t.begin:r.begin=e.longs===String?l.Long.prototype.toString.call(t.begin):e.longs===Number?new l.LongBits(t.begin.low>>>0,t.begin.high>>>0).toNumber():t.begin),null!=t.end&&t.hasOwnProperty("end")&&("number"==typeof t.end?r.end=e.longs===String?String(t.end):t.end:r.end=e.longs===String?l.Long.prototype.toString.call(t.end):e.longs===Number?new l.LongBits(t.end.low>>>0,t.end.high>>>0).toNumber():t.end),r},t.prototype.toJSON=function(){return this.constructor.toObject(this,a.util.toJSONOptions)},t}(),t.DataLocation=function(){var t={},e=Object.create(t);return e[t[0]="DEFAULT"]=0,e[t[1]="EXTERNAL"]=1,e}(),t}(),o.TensorShapeProto=function(){function t(t){if(this.dim=[],t)for(var e=Object.keys(t),r=0;r>>3==1?(n.dim&&n.dim.length||(n.dim=[]),n.dim.push(c.onnx.TensorShapeProto.Dimension.decode(t,t.uint32()))):t.skipType(7&i)}return n},t.decodeDelimited=function(t){return t instanceof s||(t=new s(t)),this.decode(t,t.uint32())},t.verify=function(t){if("object"!=typeof t||null===t)return"object expected";if(null!=t.dim&&t.hasOwnProperty("dim")){if(!Array.isArray(t.dim))return"dim: array expected";for(var e=0;e>>3){case 1:n.dimValue=t.int64();break;case 2:n.dimParam=t.string();break;case 3:n.denotation=t.string();break;default:t.skipType(7&i)}}return n},e.decodeDelimited=function(t){return t instanceof s||(t=new s(t)),this.decode(t,t.uint32())},e.verify=function(t){if("object"!=typeof t||null===t)return"object expected";var e={};if(null!=t.dimValue&&t.hasOwnProperty("dimValue")&&(e.value=1,!(l.isInteger(t.dimValue)||t.dimValue&&l.isInteger(t.dimValue.low)&&l.isInteger(t.dimValue.high))))return"dimValue: integer|Long expected";if(null!=t.dimParam&&t.hasOwnProperty("dimParam")){if(1===e.value)return"value: multiple values";if(e.value=1,!l.isString(t.dimParam))return"dimParam: string expected"}return null!=t.denotation&&t.hasOwnProperty("denotation")&&!l.isString(t.denotation)?"denotation: string expected":null},e.fromObject=function(t){if(t instanceof c.onnx.TensorShapeProto.Dimension)return t;var e=new c.onnx.TensorShapeProto.Dimension;return null!=t.dimValue&&(l.Long?(e.dimValue=l.Long.fromValue(t.dimValue)).unsigned=!1:"string"==typeof t.dimValue?e.dimValue=parseInt(t.dimValue,10):"number"==typeof t.dimValue?e.dimValue=t.dimValue:"object"==typeof t.dimValue&&(e.dimValue=new l.LongBits(t.dimValue.low>>>0,t.dimValue.high>>>0).toNumber())),null!=t.dimParam&&(e.dimParam=String(t.dimParam)),null!=t.denotation&&(e.denotation=String(t.denotation)),e},e.toObject=function(t,e){e||(e={});var r={};return e.defaults&&(r.denotation=""),null!=t.dimValue&&t.hasOwnProperty("dimValue")&&("number"==typeof t.dimValue?r.dimValue=e.longs===String?String(t.dimValue):t.dimValue:r.dimValue=e.longs===String?l.Long.prototype.toString.call(t.dimValue):e.longs===Number?new l.LongBits(t.dimValue.low>>>0,t.dimValue.high>>>0).toNumber():t.dimValue,e.oneofs&&(r.value="dimValue")),null!=t.dimParam&&t.hasOwnProperty("dimParam")&&(r.dimParam=t.dimParam,e.oneofs&&(r.value="dimParam")),null!=t.denotation&&t.hasOwnProperty("denotation")&&(r.denotation=t.denotation),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,a.util.toJSONOptions)},e}(),t}(),o.TypeProto=function(){var t;function e(t){if(t)for(var e=Object.keys(t),r=0;r>>3){case 1:n.tensorType=c.onnx.TypeProto.Tensor.decode(t,t.uint32());break;case 6:n.denotation=t.string();break;default:t.skipType(7&i)}}return n},e.decodeDelimited=function(t){return t instanceof s||(t=new s(t)),this.decode(t,t.uint32())},e.verify=function(t){if("object"!=typeof t||null===t)return"object expected";if(null!=t.tensorType&&t.hasOwnProperty("tensorType")){var e=c.onnx.TypeProto.Tensor.verify(t.tensorType);if(e)return"tensorType."+e}return null!=t.denotation&&t.hasOwnProperty("denotation")&&!l.isString(t.denotation)?"denotation: string expected":null},e.fromObject=function(t){if(t instanceof c.onnx.TypeProto)return t;var e=new c.onnx.TypeProto;if(null!=t.tensorType){if("object"!=typeof t.tensorType)throw TypeError(".onnx.TypeProto.tensorType: object expected");e.tensorType=c.onnx.TypeProto.Tensor.fromObject(t.tensorType)}return null!=t.denotation&&(e.denotation=String(t.denotation)),e},e.toObject=function(t,e){e||(e={});var r={};return e.defaults&&(r.denotation=""),null!=t.tensorType&&t.hasOwnProperty("tensorType")&&(r.tensorType=c.onnx.TypeProto.Tensor.toObject(t.tensorType,e),e.oneofs&&(r.value="tensorType")),null!=t.denotation&&t.hasOwnProperty("denotation")&&(r.denotation=t.denotation),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,a.util.toJSONOptions)},e.Tensor=function(){function t(t){if(t)for(var e=Object.keys(t),r=0;r>>3){case 1:n.elemType=t.int32();break;case 2:n.shape=c.onnx.TensorShapeProto.decode(t,t.uint32());break;default:t.skipType(7&i)}}return n},t.decodeDelimited=function(t){return t instanceof s||(t=new s(t)),this.decode(t,t.uint32())},t.verify=function(t){if("object"!=typeof t||null===t)return"object expected";if(null!=t.elemType&&t.hasOwnProperty("elemType")&&!l.isInteger(t.elemType))return"elemType: integer expected";if(null!=t.shape&&t.hasOwnProperty("shape")){var e=c.onnx.TensorShapeProto.verify(t.shape);if(e)return"shape."+e}return null},t.fromObject=function(t){if(t instanceof c.onnx.TypeProto.Tensor)return t;var e=new c.onnx.TypeProto.Tensor;if(null!=t.elemType&&(e.elemType=0|t.elemType),null!=t.shape){if("object"!=typeof t.shape)throw TypeError(".onnx.TypeProto.Tensor.shape: object expected");e.shape=c.onnx.TensorShapeProto.fromObject(t.shape)}return e},t.toObject=function(t,e){e||(e={});var r={};return e.defaults&&(r.elemType=0,r.shape=null),null!=t.elemType&&t.hasOwnProperty("elemType")&&(r.elemType=t.elemType),null!=t.shape&&t.hasOwnProperty("shape")&&(r.shape=c.onnx.TensorShapeProto.toObject(t.shape,e)),r},t.prototype.toJSON=function(){return this.constructor.toObject(this,a.util.toJSONOptions)},t}(),e}(),o.OperatorSetIdProto=function(){function t(t){if(t)for(var e=Object.keys(t),r=0;r>>3){case 1:n.domain=t.string();break;case 2:n.version=t.int64();break;default:t.skipType(7&i)}}return n},t.decodeDelimited=function(t){return t instanceof s||(t=new s(t)),this.decode(t,t.uint32())},t.verify=function(t){return"object"!=typeof t||null===t?"object expected":null!=t.domain&&t.hasOwnProperty("domain")&&!l.isString(t.domain)?"domain: string expected":null!=t.version&&t.hasOwnProperty("version")&&!(l.isInteger(t.version)||t.version&&l.isInteger(t.version.low)&&l.isInteger(t.version.high))?"version: integer|Long expected":null},t.fromObject=function(t){if(t instanceof c.onnx.OperatorSetIdProto)return t;var e=new c.onnx.OperatorSetIdProto;return null!=t.domain&&(e.domain=String(t.domain)),null!=t.version&&(l.Long?(e.version=l.Long.fromValue(t.version)).unsigned=!1:"string"==typeof t.version?e.version=parseInt(t.version,10):"number"==typeof t.version?e.version=t.version:"object"==typeof t.version&&(e.version=new l.LongBits(t.version.low>>>0,t.version.high>>>0).toNumber())),e},t.toObject=function(t,e){e||(e={});var r={};if(e.defaults){if(r.domain="",l.Long){var n=new l.Long(0,0,!1);r.version=e.longs===String?n.toString():e.longs===Number?n.toNumber():n}else r.version=e.longs===String?"0":0}return null!=t.domain&&t.hasOwnProperty("domain")&&(r.domain=t.domain),null!=t.version&&t.hasOwnProperty("version")&&("number"==typeof t.version?r.version=e.longs===String?String(t.version):t.version:r.version=e.longs===String?l.Long.prototype.toString.call(t.version):e.longs===Number?new l.LongBits(t.version.low>>>0,t.version.high>>>0).toNumber():t.version),r},t.prototype.toJSON=function(){return this.constructor.toObject(this,a.util.toJSONOptions)},t}(),o),t.exports=c},2100:(t,e,r)=>{"use strict";t.exports=r(9482)},9482:(t,e,r)=>{"use strict";var n=e;function i(){n.util._configure(),n.Writer._configure(n.BufferWriter),n.Reader._configure(n.BufferReader)}n.build="minimal",n.Writer=r(1173),n.BufferWriter=r(3155),n.Reader=r(1408),n.BufferReader=r(593),n.util=r(9693),n.rpc=r(5994),n.roots=r(5054),n.configure=i,i()},1408:(t,e,r)=>{"use strict";t.exports=u;var n,i=r(9693),o=i.LongBits,a=i.utf8;function s(t,e){return RangeError("index out of range: "+t.pos+" + "+(e||1)+" > "+t.len)}function u(t){this.buf=t,this.pos=0,this.len=t.length}var l,c="undefined"!=typeof Uint8Array?function(t){if(t instanceof Uint8Array||Array.isArray(t))return new u(t);throw Error("illegal buffer")}:function(t){if(Array.isArray(t))return new u(t);throw Error("illegal buffer")},p=function(){return i.Buffer?function(t){return(u.create=function(t){return i.Buffer.isBuffer(t)?new n(t):c(t)})(t)}:c};function f(){var t=new o(0,0),e=0;if(!(this.len-this.pos>4)){for(;e<3;++e){if(this.pos>=this.len)throw s(this);if(t.lo=(t.lo|(127&this.buf[this.pos])<<7*e)>>>0,this.buf[this.pos++]<128)return t}return t.lo=(t.lo|(127&this.buf[this.pos++])<<7*e)>>>0,t}for(;e<4;++e)if(t.lo=(t.lo|(127&this.buf[this.pos])<<7*e)>>>0,this.buf[this.pos++]<128)return t;if(t.lo=(t.lo|(127&this.buf[this.pos])<<28)>>>0,t.hi=(t.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return t;if(e=0,this.len-this.pos>4){for(;e<5;++e)if(t.hi=(t.hi|(127&this.buf[this.pos])<<7*e+3)>>>0,this.buf[this.pos++]<128)return t}else for(;e<5;++e){if(this.pos>=this.len)throw s(this);if(t.hi=(t.hi|(127&this.buf[this.pos])<<7*e+3)>>>0,this.buf[this.pos++]<128)return t}throw Error("invalid varint encoding")}function d(t,e){return(t[e-4]|t[e-3]<<8|t[e-2]<<16|t[e-1]<<24)>>>0}function h(){if(this.pos+8>this.len)throw s(this,8);return new o(d(this.buf,this.pos+=4),d(this.buf,this.pos+=4))}u.create=p(),u.prototype._slice=i.Array.prototype.subarray||i.Array.prototype.slice,u.prototype.uint32=(l=4294967295,function(){if(l=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128||(l=(l|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)||(l=(l|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)||(l=(l|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)||(l=(l|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128))return l;if((this.pos+=5)>this.len)throw this.pos=this.len,s(this,10);return l}),u.prototype.int32=function(){return 0|this.uint32()},u.prototype.sint32=function(){var t=this.uint32();return t>>>1^-(1&t)|0},u.prototype.bool=function(){return 0!==this.uint32()},u.prototype.fixed32=function(){if(this.pos+4>this.len)throw s(this,4);return d(this.buf,this.pos+=4)},u.prototype.sfixed32=function(){if(this.pos+4>this.len)throw s(this,4);return 0|d(this.buf,this.pos+=4)},u.prototype.float=function(){if(this.pos+4>this.len)throw s(this,4);var t=i.float.readFloatLE(this.buf,this.pos);return this.pos+=4,t},u.prototype.double=function(){if(this.pos+8>this.len)throw s(this,4);var t=i.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,t},u.prototype.bytes=function(){var t=this.uint32(),e=this.pos,r=this.pos+t;if(r>this.len)throw s(this,t);return this.pos+=t,Array.isArray(this.buf)?this.buf.slice(e,r):e===r?new this.buf.constructor(0):this._slice.call(this.buf,e,r)},u.prototype.string=function(){var t=this.bytes();return a.read(t,0,t.length)},u.prototype.skip=function(t){if("number"==typeof t){if(this.pos+t>this.len)throw s(this,t);this.pos+=t}else do if(this.pos>=this.len)throw s(this);while(128&this.buf[this.pos++]);return this},u.prototype.skipType=function(t){switch(t){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(t=7&this.uint32());)this.skipType(t);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+t+" at offset "+this.pos)}return this},u._configure=function(t){n=t,u.create=p(),n._configure();var e=i.Long?"toLong":"toNumber";i.merge(u.prototype,{int64:function(){return f.call(this)[e](!1)},uint64:function(){return f.call(this)[e](!0)},sint64:function(){return f.call(this).zzDecode()[e](!1)},fixed64:function(){return h.call(this)[e](!0)},sfixed64:function(){return h.call(this)[e](!1)}})}},593:(t,e,r)=>{"use strict";t.exports=o;var n=r(1408);(o.prototype=Object.create(n.prototype)).constructor=o;var i=r(9693);function o(t){n.call(this,t)}o._configure=function(){i.Buffer&&(o.prototype._slice=i.Buffer.prototype.slice)},o.prototype.string=function(){var t=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+t,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+t,this.len))},o._configure()},5054:t=>{"use strict";t.exports={}},5994:(t,e,r)=>{"use strict";e.Service=r(7948)},7948:(t,e,r)=>{"use strict";t.exports=i;var n=r(9693);function i(t,e,r){if("function"!=typeof t)throw TypeError("rpcImpl must be a function");n.EventEmitter.call(this),this.rpcImpl=t,this.requestDelimited=!!e,this.responseDelimited=!!r}(i.prototype=Object.create(n.EventEmitter.prototype)).constructor=i,i.prototype.rpcCall=function t(e,r,i,o,a){if(!o)throw TypeError("request must be specified");var s=this;if(!a)return n.asPromise(t,s,e,r,i,o);if(s.rpcImpl)try{return s.rpcImpl(e,r[s.requestDelimited?"encodeDelimited":"encode"](o).finish(),function(t,r){if(t)return s.emit("error",t,e),a(t);if(null!==r){if(!(r instanceof i))try{r=i[s.responseDelimited?"decodeDelimited":"decode"](r)}catch(t){return s.emit("error",t,e),a(t)}return s.emit("data",r,e),a(null,r)}s.end(!0)})}catch(t){return s.emit("error",t,e),void setTimeout(function(){a(t)},0)}else setTimeout(function(){a(Error("already ended"))},0)},i.prototype.end=function(t){return this.rpcImpl&&(t||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},1945:(t,e,r)=>{"use strict";t.exports=i;var n=r(9693);function i(t,e){this.lo=t>>>0,this.hi=e>>>0}var o=i.zero=new i(0,0);o.toNumber=function(){return 0},o.zzEncode=o.zzDecode=function(){return this},o.length=function(){return 1};var a=i.zeroHash="\0\0\0\0\0\0\0\0";i.fromNumber=function(t){if(0===t)return o;var e=t<0;e&&(t=-t);var r=t>>>0,n=(t-r)/4294967296>>>0;return e&&(n=~n>>>0,r=~r>>>0,++r>4294967295&&(r=0,++n>4294967295&&(n=0))),new i(r,n)},i.from=function(t){if("number"==typeof t)return i.fromNumber(t);if(n.isString(t)){if(!n.Long)return i.fromNumber(parseInt(t,10));t=n.Long.fromString(t)}return t.low||t.high?new i(t.low>>>0,t.high>>>0):o},i.prototype.toNumber=function(t){if(!t&&this.hi>>>31){var e=1+~this.lo>>>0,r=~this.hi>>>0;return e||(r=r+1>>>0),-(e+4294967296*r)}return this.lo+4294967296*this.hi},i.prototype.toLong=function(t){return n.Long?new n.Long(0|this.lo,0|this.hi,!!t):{low:0|this.lo,high:0|this.hi,unsigned:!!t}};var s=String.prototype.charCodeAt;i.fromHash=function(t){return t===a?o:new i((s.call(t,0)|s.call(t,1)<<8|s.call(t,2)<<16|s.call(t,3)<<24)>>>0,(s.call(t,4)|s.call(t,5)<<8|s.call(t,6)<<16|s.call(t,7)<<24)>>>0)},i.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},i.prototype.zzEncode=function(){var t=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^t)>>>0,this.lo=(this.lo<<1^t)>>>0,this},i.prototype.zzDecode=function(){var t=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^t)>>>0,this.hi=(this.hi>>>1^t)>>>0,this},i.prototype.length=function(){var t=this.lo,e=(this.lo>>>28|this.hi<<4)>>>0,r=this.hi>>>24;return 0===r?0===e?t<16384?t<128?1:2:t<2097152?3:4:e<16384?e<128?5:6:e<2097152?7:8:r<128?9:10}},9693:function(t,e,r){"use strict";var n=e;function i(t,e,r){for(var n=Object.keys(e),i=0;i0)},n.Buffer=function(){try{var t=n.inquire("buffer").Buffer;return t.prototype.utf8Write?t:null}catch(t){return null}}(),n._Buffer_from=null,n._Buffer_allocUnsafe=null,n.newBuffer=function(t){return"number"==typeof t?n.Buffer?n._Buffer_allocUnsafe(t):new n.Array(t):n.Buffer?n._Buffer_from(t):"undefined"==typeof Uint8Array?t:new Uint8Array(t)},n.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,n.Long=n.global.dcodeIO&&n.global.dcodeIO.Long||n.global.Long||n.inquire("long"),n.key2Re=/^true|false|0|1$/,n.key32Re=/^-?(?:0|[1-9][0-9]*)$/,n.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,n.longToHash=function(t){return t?n.LongBits.from(t).toHash():n.LongBits.zeroHash},n.longFromHash=function(t,e){var r=n.LongBits.fromHash(t);return n.Long?n.Long.fromBits(r.lo,r.hi,e):r.toNumber(!!e)},n.merge=i,n.lcFirst=function(t){return t.charAt(0).toLowerCase()+t.substring(1)},n.newError=o,n.ProtocolError=o("ProtocolError"),n.oneOfGetter=function(t){for(var e={},r=0;r-1;--r)if(1===e[t[r]]&&void 0!==this[t[r]]&&null!==this[t[r]])return t[r]}},n.oneOfSetter=function(t){return function(e){for(var r=0;r{"use strict";t.exports=p;var n,i=r(9693),o=i.LongBits,a=i.base64,s=i.utf8;function u(t,e,r){this.fn=t,this.len=e,this.next=void 0,this.val=r}function l(){}function c(t){this.head=t.head,this.tail=t.tail,this.len=t.len,this.next=t.states}function p(){this.len=0,this.head=new u(l,0,0),this.tail=this.head,this.states=null}var f=function(){return i.Buffer?function(){return(p.create=function(){return new n})()}:function(){return new p}};function d(t,e,r){e[r]=255&t}function h(t,e){this.len=t,this.next=void 0,this.val=e}function g(t,e,r){for(;t.hi;)e[r++]=127&t.lo|128,t.lo=(t.lo>>>7|t.hi<<25)>>>0,t.hi>>>=7;for(;t.lo>127;)e[r++]=127&t.lo|128,t.lo=t.lo>>>7;e[r++]=t.lo}function b(t,e,r){e[r]=255&t,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24}p.create=f(),p.alloc=function(t){return new i.Array(t)},i.Array!==Array&&(p.alloc=i.pool(p.alloc,i.Array.prototype.subarray)),p.prototype._push=function(t,e,r){return this.tail=this.tail.next=new u(t,e,r),this.len+=e,this},h.prototype=Object.create(u.prototype),h.prototype.fn=function(t,e,r){for(;t>127;)e[r++]=127&t|128,t>>>=7;e[r]=t},p.prototype.uint32=function(t){return this.len+=(this.tail=this.tail.next=new h((t>>>=0)<128?1:t<16384?2:t<2097152?3:t<268435456?4:5,t)).len,this},p.prototype.int32=function(t){return t<0?this._push(g,10,o.fromNumber(t)):this.uint32(t)},p.prototype.sint32=function(t){return this.uint32((t<<1^t>>31)>>>0)},p.prototype.uint64=function(t){var e=o.from(t);return this._push(g,e.length(),e)},p.prototype.int64=p.prototype.uint64,p.prototype.sint64=function(t){var e=o.from(t).zzEncode();return this._push(g,e.length(),e)},p.prototype.bool=function(t){return this._push(d,1,t?1:0)},p.prototype.fixed32=function(t){return this._push(b,4,t>>>0)},p.prototype.sfixed32=p.prototype.fixed32,p.prototype.fixed64=function(t){var e=o.from(t);return this._push(b,4,e.lo)._push(b,4,e.hi)},p.prototype.sfixed64=p.prototype.fixed64,p.prototype.float=function(t){return this._push(i.float.writeFloatLE,4,t)},p.prototype.double=function(t){return this._push(i.float.writeDoubleLE,8,t)};var m=i.Array.prototype.set?function(t,e,r){e.set(t,r)}:function(t,e,r){for(var n=0;n>>0;if(!e)return this._push(d,1,0);if(i.isString(t)){var r=p.alloc(e=a.length(t));a.decode(t,r,0),t=r}return this.uint32(e)._push(m,e,t)},p.prototype.string=function(t){var e=s.length(t);return e?this.uint32(e)._push(s.write,e,t):this._push(d,1,0)},p.prototype.fork=function(){return this.states=new c(this),this.head=this.tail=new u(l,0,0),this.len=0,this},p.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new u(l,0,0),this.len=0),this},p.prototype.ldelim=function(){var t=this.head,e=this.tail,r=this.len;return this.reset().uint32(r),r&&(this.tail.next=t.next,this.tail=e,this.len+=r),this},p.prototype.finish=function(){for(var t=this.head.next,e=this.constructor.alloc(this.len),r=0;t;)t.fn(t.val,e,r),r+=t.len,t=t.next;return e},p._configure=function(t){n=t,p.create=f(),n._configure()}},3155:(t,e,r)=>{"use strict";t.exports=o;var n=r(1173);(o.prototype=Object.create(n.prototype)).constructor=o;var i=r(9693);function o(){n.call(this)}function a(t,e,r){t.length<40?i.utf8.write(t,e,r):e.utf8Write?e.utf8Write(t,r):e.write(t,r)}o._configure=function(){o.alloc=i._Buffer_allocUnsafe,o.writeBytesBuffer=i.Buffer&&i.Buffer.prototype instanceof Uint8Array&&"set"===i.Buffer.prototype.set.name?function(t,e,r){e.set(t,r)}:function(t,e,r){if(t.copy)t.copy(e,r,0,t.length);else for(var n=0;n>>0;return this.uint32(e),e&&this._push(o.writeBytesBuffer,e,t),this},o.prototype.string=function(t){var e=i.Buffer.byteLength(t);return this.uint32(e),e&&this._push(a,e,t),this},o._configure()},7714:(t,e,r)=>{"use strict";e.R=void 0;let n=r(6919),i=r(7448);e.R=new class{async init(){}async createSessionHandler(t,e){let r=new n.Session(e);return await r.loadModel(t),new i.OnnxjsSessionHandler(r)}}},4200:(t,e,r)=>{"use strict";e.c8=e.rX=void 0;let n=r(1670),i=r(5381),o=r(2157),a=r(2306);e.rX=()=>{if(("number"!=typeof n.env.wasm.initTimeout||n.env.wasm.initTimeout<0)&&(n.env.wasm.initTimeout=0),"boolean"!=typeof n.env.wasm.simd&&(n.env.wasm.simd=!0),"boolean"!=typeof n.env.wasm.proxy&&(n.env.wasm.proxy=!1),"number"!=typeof n.env.wasm.numThreads||!Number.isInteger(n.env.wasm.numThreads)||n.env.wasm.numThreads<=0){let t="undefined"==typeof navigator?(0,i.cpus)().length:navigator.hardwareConcurrency;n.env.wasm.numThreads=Math.min(4,Math.ceil((t||1)/2))}},e.c8=new class{async init(){(0,e.rX)(),await (0,o.initWasm)()}async createSessionHandler(t,e){let r=new a.OnnxruntimeWebAssemblySessionHandler;return await r.loadModel(t,e),Promise.resolve(r)}}},6018:function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),i=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),i(r(1670),e);let o=r(1670);{let t=r(7714).R;(0,o.registerBackend)("webgl",t,-10)}{let t=r(4200).c8;(0,o.registerBackend)("cpu",t,10),(0,o.registerBackend)("wasm",t,10),(0,o.registerBackend)("xnnpack",t,9)}},246:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createAttributeWithCacheKey=void 0;class r{constructor(t){Object.assign(this,t)}get cacheKey(){return this._cacheKey||(this._cacheKey=Object.getOwnPropertyNames(this).sort().map(t=>`${this[t]}`).join(";")),this._cacheKey}}e.createAttributeWithCacheKey=t=>new r(t)},7778:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Attribute=void 0;let n=r(1446),i=r(9395),o=r(9162),a=r(2517);var s=i.onnxruntime.experimental.fbs;class u{constructor(t){if(this._attributes=new Map,null!=t){for(let e of t)e instanceof n.onnx.AttributeProto?this._attributes.set(e.name,[u.getValue(e),u.getType(e)]):e instanceof s.Attribute&&this._attributes.set(e.name(),[u.getValue(e),u.getType(e)]);if(this._attributes.sizeo.Tensor.fromProto(t));if(t instanceof s.Attribute)return r.map(t=>o.Tensor.fromOrtTensor(t))}if(e===n.onnx.AttributeProto.AttributeType.STRING&&t instanceof n.onnx.AttributeProto){let t=r;return(0,a.decodeUtf8String)(t)}return e===n.onnx.AttributeProto.AttributeType.STRINGS&&t instanceof n.onnx.AttributeProto?r.map(a.decodeUtf8String):r}static getValueNoCheck(t){return t instanceof n.onnx.AttributeProto?this.getValueNoCheckFromOnnxFormat(t):this.getValueNoCheckFromOrtFormat(t)}static getValueNoCheckFromOnnxFormat(t){switch(t.type){case n.onnx.AttributeProto.AttributeType.FLOAT:return t.f;case n.onnx.AttributeProto.AttributeType.INT:return t.i;case n.onnx.AttributeProto.AttributeType.STRING:return t.s;case n.onnx.AttributeProto.AttributeType.TENSOR:return t.t;case n.onnx.AttributeProto.AttributeType.GRAPH:return t.g;case n.onnx.AttributeProto.AttributeType.FLOATS:return t.floats;case n.onnx.AttributeProto.AttributeType.INTS:return t.ints;case n.onnx.AttributeProto.AttributeType.STRINGS:return t.strings;case n.onnx.AttributeProto.AttributeType.TENSORS:return t.tensors;case n.onnx.AttributeProto.AttributeType.GRAPHS:return t.graphs;default:throw Error(`unsupported attribute type: ${n.onnx.AttributeProto.AttributeType[t.type]}`)}}static getValueNoCheckFromOrtFormat(t){switch(t.type()){case s.AttributeType.FLOAT:return t.f();case s.AttributeType.INT:return t.i();case s.AttributeType.STRING:return t.s();case s.AttributeType.TENSOR:return t.t();case s.AttributeType.GRAPH:return t.g();case s.AttributeType.FLOATS:return t.floatsArray();case s.AttributeType.INTS:{let e=[];for(let r=0;r{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resolveBackend=e.backend=void 0;let n=r(5038),i=new Map;async function o(t){let r=e.backend;if(void 0!==r[t]&&function(t){let e=t;return"initialize"in e&&"function"==typeof e.initialize&&"createSessionHandler"in e&&"function"==typeof e.createSessionHandler&&"dispose"in e&&"function"==typeof e.dispose}(r[t])){let e=r[t],n=e.initialize();if("object"==typeof n&&"then"in n&&(n=await n),n)return i.set(t,e),e}}e.backend={webgl:new n.WebGLBackend},e.resolveBackend=async function t(e){if(!e)return t(["webgl"]);for(let t of"string"==typeof e?[e]:e){let e=i.get(t);if(e)return e;let r=await o(t);if(r)return r}throw Error("no available backend to use")}},5038:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WebGLBackend=void 0;let n=r(1670),i=r(6231),o=r(6416),a=r(7305);e.WebGLBackend=class{get contextId(){return n.env.webgl.contextId}set contextId(t){n.env.webgl.contextId=t}get matmulMaxBatchSize(){return n.env.webgl.matmulMaxBatchSize}set matmulMaxBatchSize(t){n.env.webgl.matmulMaxBatchSize=t}get textureCacheMode(){return n.env.webgl.textureCacheMode}set textureCacheMode(t){n.env.webgl.textureCacheMode=t}get pack(){return n.env.webgl.pack}set pack(t){n.env.webgl.pack=t}get async(){return n.env.webgl.async}set async(t){n.env.webgl.async=t}initialize(){try{return this.glContext=(0,a.createWebGLContext)(this.contextId),"number"!=typeof this.matmulMaxBatchSize&&(this.matmulMaxBatchSize=16),"string"!=typeof this.textureCacheMode&&(this.textureCacheMode="full"),"boolean"!=typeof this.pack&&(this.pack=!1),"boolean"!=typeof this.async&&(this.async=!1),i.Logger.setWithEnv(n.env),i.Logger.verbose("WebGLBackend",`Created WebGLContext: ${typeof this.glContext} with matmulMaxBatchSize: ${this.matmulMaxBatchSize}; textureCacheMode: ${this.textureCacheMode}; pack: ${this.pack}; async: ${this.async}.`),!0}catch(t){return i.Logger.warning("WebGLBackend",`Unable to initialize WebGLBackend. ${t}`),!1}}createSessionHandler(t){return new o.WebGLSessionHandler(this,t)}dispose(){this.glContext.dispose()}}},5107:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CoordsGlslLib=void 0;let n=r(2517),i=r(8520),o=r(5060),a=r(7859),s=r(9390);class u extends i.GlslLib{constructor(t){super(t)}getFunctions(){return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.offsetToCoords()),this.coordsToOffset()),this.toVec()),this.valueFrom()),this.getCommonUtilFuncs()),this.getInputsSamplingSnippets()),this.getOutputSamplingSnippet())}getCustomTypes(){return{}}offsetToCoords(){return{offsetToCoords:new i.GlslLibRoutine("\n vec2 offsetToCoords(int offset, int width, int height) {\n int t = offset / width;\n int s = offset - t*width;\n vec2 coords = (vec2(s,t) + vec2(0.5,0.5)) / vec2(width, height);\n return coords;\n }\n ")}}coordsToOffset(){return{coordsToOffset:new i.GlslLibRoutine("\n int coordsToOffset(vec2 coords, int width, int height) {\n float s = coords.s * float(width);\n float t = coords.t * float(height);\n int offset = int(t) * width + int(s);\n return offset;\n }\n ")}}getOutputSamplingSnippet(){let t=this.context.outputTextureLayout;return t.isPacked?this.getPackedOutputSamplingSnippet(t):this.getUnpackedOutputSamplingSnippet(t)}getPackedOutputSamplingSnippet(t){let e=t.unpackedShape,r=[t.width,t.height],n={},a="getOutputCoords";switch(e.length){case 0:n[a]=this.getOutputScalarCoords();break;case 1:n[a]=this.getOutputPacked1DCoords(e,r);break;case 2:n[a]=this.getOutputPacked2DCoords(e,r);break;case 3:n[a]=this.getOutputPacked3DCoords(e,r);break;default:n[a]=this.getOutputPackedNDCoords(e,r)}let s=`
+*/!function(t,e){module.exports=e(__webpack_require__(7746))}(self,__WEBPACK_EXTERNAL_MODULE__1670__=>(()=>{var __webpack_modules__={3474:(t,e,r)=>{var n,i=(n=(n="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0)||"/index.js",function(t){function e(){return k.buffer!=F&&W(k.buffer),N}function i(){return k.buffer!=F&&W(k.buffer),L}function o(){return k.buffer!=F&&W(k.buffer),R}function a(){return k.buffer!=F&&W(k.buffer),j}function s(){return k.buffer!=F&&W(k.buffer),M}t=t||{},u||(u=void 0!==t?t:{}),u.ready=new Promise(function(t,e){l=t,c=e});var u,l,c,p,f,d,h,g,b,m=Object.assign({},u),y="./this.program",_=(t,e)=>{throw e},v="object"==typeof window,x="function"==typeof importScripts,w="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,T=u.ENVIRONMENT_IS_PTHREAD||!1,S="";function O(t){return u.locateFile?u.locateFile(t,S):S+t}if(w){let t;S=x?r(908).dirname(S)+"/":"//",b=()=>{g||(h=r(1384),g=r(908))},p=function(t,e){return b(),t=g.normalize(t),h.readFileSync(t,e?void 0:"utf8")},d=t=>((t=p(t,!0)).buffer||(t=new Uint8Array(t)),t),f=(t,e,r)=>{b(),t=g.normalize(t),h.readFile(t,function(t,n){t?r(t):e(n.buffer)})},1{if(Q())throw process.exitCode=t,e;e instanceof tl||D("exiting due to exception: "+e),process.exit(t)},u.inspect=function(){return"[Emscripten Module object]"};try{t=r(9925)}catch(t){throw console.error('The "worker_threads" module is not supported in this node.js build - perhaps a newer version is needed?'),t}r.g.Worker=t.Worker}else(v||x)&&(x?S=self.location.href:"undefined"!=typeof document&&document.currentScript&&(S=document.currentScript.src),n&&(S=n),S=0!==S.indexOf("blob:")?S.substr(0,S.replace(/[?#].*/,"").lastIndexOf("/")+1):"",w||(p=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},x&&(d=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),f=(t,e,r)=>{var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=()=>{200==n.status||0==n.status&&n.response?e(n.response):r()},n.onerror=r,n.send(null)}));w&&"undefined"==typeof performance&&(r.g.performance=r(6953).performance);var A=console.log.bind(console),E=console.warn.bind(console);w&&(b(),A=t=>h.writeSync(1,t+"\n"),E=t=>h.writeSync(2,t+"\n"));var I,P=u.print||A,D=u.printErr||E;Object.assign(u,m),m=null,u.thisProgram&&(y=u.thisProgram),u.quit&&(_=u.quit),u.wasmBinary&&(I=u.wasmBinary);var $=u.noExitRuntime||!1;"object"!=typeof WebAssembly&&to("no native wasm support detected");var k,C,F,N,L,R,j,M,U=!1,V="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function B(t,e,r){var n=(e>>>=0)+r;for(r=e;t[r]&&!(r>=n);)++r;if(16(i=224==(240&i)?(15&i)<<12|o<<6|a:(7&i)<<18|o<<12|a<<6|63&t[e++])?n+=String.fromCharCode(i):(i-=65536,n+=String.fromCharCode(55296|i>>10,56320|1023&i))}}else n+=String.fromCharCode(i)}return n}function z(t,e){return(t>>>=0)?B(i(),t,e):""}function G(t,e,r,n){if(!(0>>=0;n=r+n-1;for(var o=0;o=a&&(a=65536+((1023&a)<<10)|1023&t.charCodeAt(++o)),127>=a){if(r>=n)break;e[r++>>>0]=a}else{if(2047>=a){if(r+1>=n)break;e[r++>>>0]=192|a>>6}else{if(65535>=a){if(r+2>=n)break;e[r++>>>0]=224|a>>12}else{if(r+3>=n)break;e[r++>>>0]=240|a>>18,e[r++>>>0]=128|a>>12&63}e[r++>>>0]=128|a>>6&63}e[r++>>>0]=128|63&a}}return e[r>>>0]=0,r-i}function H(t){for(var e=0,r=0;r=n?e++:2047>=n?e+=2:55296<=n&&57343>=n?(e+=4,++r):e+=3}return e}function W(t){F=t,u.HEAP8=N=new Int8Array(t),u.HEAP16=new Int16Array(t),u.HEAP32=R=new Int32Array(t),u.HEAPU8=L=new Uint8Array(t),u.HEAPU16=new Uint16Array(t),u.HEAPU32=j=new Uint32Array(t),u.HEAPF32=new Float32Array(t),u.HEAPF64=M=new Float64Array(t)}T&&(F=u.buffer);var q=u.INITIAL_MEMORY||16777216;if(T)k=u.wasmMemory,F=u.buffer;else if(u.wasmMemory)k=u.wasmMemory;else if(!((k=new WebAssembly.Memory({initial:q/65536,maximum:65536,shared:!0})).buffer instanceof SharedArrayBuffer))throw D("requested a shared WebAssembly.Memory but the returned buffer is not a SharedArrayBuffer, indicating that while the browser has SharedArrayBuffer it does not have WebAssembly threads support - you may need to set a flag"),w&&console.log("(on node you may need: --experimental-wasm-threads --experimental-wasm-bulk-memory and also use a recent version)"),Error("bad memory");k&&(F=k.buffer),q=F.byteLength,W(F);var X,Y=[],K=[],Z=[],J=[];function Q(){return $||!1}function tt(){var t=u.preRun.shift();Y.unshift(t)}var te,tr=0,tn=null,ti=null;function to(t){throw T?postMessage({cmd:"onAbort",arg:t}):u.onAbort&&u.onAbort(t),D(t="Aborted("+t+")"),U=!0,t=new WebAssembly.RuntimeError(t+". Build with -sASSERTIONS for more info."),c(t),t}function ta(){return te.startsWith("data:application/octet-stream;base64,")}function ts(){var t=te;try{if(t==te&&I)return new Uint8Array(I);if(d)return d(t);throw"both async and sync fetching of the wasm failed"}catch(t){to(t)}}te="ort-wasm-threaded.wasm",ta()||(te=O(te));var tu={};function tl(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}function tc(t){(t=th.Vb[t])||to(),th.mc(t)}function tp(t){var e=th.Cc();if(!e)return 6;th.ac.push(e),th.Vb[t.Ub]=e,e.Ub=t.Ub;var r={cmd:"run",start_routine:t.Ic,arg:t.zc,pthread_ptr:t.Ub};return e.$b=()=>{r.time=performance.now(),e.postMessage(r,t.Nc)},e.loaded&&(e.$b(),delete e.$b),0}function tf(t){if(T)return tX(1,1,t);Q()||(th.oc(),u.onExit&&u.onExit(t),U=!0),_(t,new tl(t))}function td(t,e){if(!e&&T)throw tm(t),"unwind";Q()||T||(eu(),tg(Z),es(0),t4[1].length&&t6(1,10),t4[2].length&&t6(2,10),th.oc()),tf(t)}var th={Yb:[],ac:[],qc:[],Vb:{},fc:function(){T&&th.Ec()},Pc:function(){},Ec:function(){th.receiveObjectTransfer=th.Gc,th.threadInitTLS=th.pc,th.setExitStatus=th.nc,$=!1},nc:function(){},oc:function(){for(var t of Object.values(th.Vb))th.mc(t);for(t of th.Yb)t.terminate();th.Yb=[]},mc:function(t){var e=t.Ub;delete th.Vb[e],th.Yb.push(t),th.ac.splice(th.ac.indexOf(t),1),t.Ub=0,ed(e)},Gc:function(){},pc:function(){th.qc.forEach(t=>t())},Fc:function(t,e){t.onmessage=r=>{var n=(r=r.data).cmd;if(t.Ub&&(th.Bc=t.Ub),r.targetThread&&r.targetThread!=ei()){var i=th.Vb[r.Qc];i?i.postMessage(r,r.transferList):D('Internal error! Worker sent a message "'+n+'" to target pthread '+r.targetThread+", but that thread no longer exists!")}else"processProxyingQueue"===n?tB(r.queue):"spawnThread"===n?tp(r):"cleanupThread"===n?tc(r.thread):"killThread"===n?(r=r.thread,n=th.Vb[r],delete th.Vb[r],n.terminate(),ed(r),th.ac.splice(th.ac.indexOf(n),1),n.Ub=0):"cancelThread"===n?th.Vb[r.thread].postMessage({cmd:"cancel"}):"loaded"===n?(t.loaded=!0,e&&e(t),t.$b&&(t.$b(),delete t.$b)):"print"===n?P("Thread "+r.threadId+": "+r.text):"printErr"===n?D("Thread "+r.threadId+": "+r.text):"alert"===n?alert("Thread "+r.threadId+": "+r.text):"setimmediate"===r.target?t.postMessage(r):"onAbort"===n?u.onAbort&&u.onAbort(r.arg):n&&D("worker sent an unknown command "+n);th.Bc=void 0},t.onerror=t=>{throw D("worker sent an error! "+t.filename+":"+t.lineno+": "+t.message),t},w&&(t.on("message",function(e){t.onmessage({data:e})}),t.on("error",function(e){t.onerror(e)}),t.on("detachedExit",function(){})),t.postMessage({cmd:"load",urlOrBlob:u.mainScriptUrlOrBlob||n,wasmMemory:k,wasmModule:C})},yc:function(){var t=O("ort-wasm-threaded.worker.js");th.Yb.push(new Worker(t))},Cc:function(){return 0==th.Yb.length&&(th.yc(),th.Fc(th.Yb[0])),th.Yb.pop()}};function tg(t){for(;0>2>>>0];t=o()[t+48>>2>>>0],eb(e,e-t),ey(e)};var ty=[];function t_(t){var e=ty[t];return e||(t>=ty.length&&(ty.length=t+1),ty[t]=e=X.get(t)),e}u.invokeEntryPoint=function(t,e){t=t_(t)(e),Q()?th.nc(t):eh(t)};var tv,tx,tw=[],tT=0,tS=0;function tO(t){this.Zb=t,this.Sb=t-24,this.xc=function(t){a()[this.Sb+4>>2>>>0]=t},this.bc=function(){return a()[this.Sb+4>>2>>>0]},this.wc=function(t){a()[this.Sb+8>>2>>>0]=t},this.Dc=function(){return a()[this.Sb+8>>2>>>0]},this.rc=function(){o()[this.Sb>>2>>>0]=0},this.hc=function(t){t=t?1:0,e()[this.Sb+12>>0>>>0]=t},this.uc=function(){return 0!=e()[this.Sb+12>>0>>>0]},this.ic=function(t){t=t?1:0,e()[this.Sb+13>>0>>>0]=t},this.kc=function(){return 0!=e()[this.Sb+13>>0>>>0]},this.fc=function(t,e){this.cc(0),this.xc(t),this.wc(e),this.rc(),this.hc(!1),this.ic(!1)},this.sc=function(){Atomics.add(o(),this.Sb>>2,1)},this.Hc=function(){return 1===Atomics.sub(o(),this.Sb>>2,1)},this.cc=function(t){a()[this.Sb+16>>2>>>0]=t},this.tc=function(){return a()[this.Sb+16>>2>>>0]},this.vc=function(){if(ex(this.bc()))return a()[this.Zb>>2>>>0];var t=this.tc();return 0!==t?t:this.Zb}}function tA(t){return ea(new tO(t).Sb)}function tE(t,e,r,n){return T?tX(3,1,t,e,r,n):tI(t,e,r,n)}function tI(t,e,r,n){if("undefined"==typeof SharedArrayBuffer)return D("Current environment does not support SharedArrayBuffer, pthreads are not available!"),6;var i=[];return T&&0===i.length?tE(t,e,r,n):(t={Ic:r,Ub:t,zc:n,Nc:i},T?(t.Oc="spawnThread",postMessage(t,i),0):tp(t))}function tP(t,e,r){return T?tX(4,1,t,e,r):0}function tD(t,e){if(T)return tX(5,1,t,e)}function t$(t,e){if(T)return tX(6,1,t,e)}function tk(t,e,r){if(T)return tX(7,1,t,e,r)}function tC(t,e,r){return T?tX(8,1,t,e,r):0}function tF(t,e){if(T)return tX(9,1,t,e)}function tN(t,e,r){if(T)return tX(10,1,t,e,r)}function tL(t,e,r,n){if(T)return tX(11,1,t,e,r,n)}function tR(t,e,r,n){if(T)return tX(12,1,t,e,r,n)}function tj(t,e,r,n){if(T)return tX(13,1,t,e,r,n)}function tM(t){if(T)return tX(14,1,t)}function tU(t,e){if(T)return tX(15,1,t,e)}function tV(t,e,r){if(T)return tX(16,1,t,e,r)}function tB(t){Atomics.store(o(),t>>2,1),ei()&&ef(t),Atomics.compareExchange(o(),t>>2,1,0)}function tz(t){return a()[t>>>2]+4294967296*o()[t+4>>>2]}function tG(t,e,r,n,i,o){return T?tX(17,1,t,e,r,n,i,o):-52}function tH(t,e,r,n,i,o){if(T)return tX(18,1,t,e,r,n,i,o)}function tW(t){var r=H(t)+1,n=eo(r);return n&&G(t,e(),n,r),n}function tq(t,e,r){function n(t){return(t=t.toTimeString().match(/\(([A-Za-z ]+)\)$/))?t[1]:"GMT"}if(T)return tX(19,1,t,e,r);var i=(new Date).getFullYear(),s=new Date(i,0,1),u=new Date(i,6,1);i=s.getTimezoneOffset();var l=u.getTimezoneOffset(),c=Math.max(i,l);o()[t>>2>>>0]=60*c,o()[e>>2>>>0]=Number(i!=l),t=n(s),e=n(u),t=tW(t),e=tW(e),l>2>>>0]=t,a()[r+4>>2>>>0]=e):(a()[r>>2>>>0]=e,a()[r+4>>2>>>0]=t)}function tX(t,e){var r=arguments.length-2,n=arguments;return tb(()=>{for(var i=e_(8*r),o=i>>3,a=0;a>>0]=u}return ep(t,r,i,e)})}u.executeNotifiedProxyingQueue=tB,tx=w?()=>{var t=process.hrtime();return 1e3*t[0]+t[1]/1e6}:T?()=>performance.now()-u.__performance_now_clock_drift:()=>performance.now();var tY,tK=[],tZ={};function tJ(){if(!tY){var t,e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:y||"./this.program"};for(t in tZ)void 0===tZ[t]?delete e[t]:e[t]=tZ[t];var r=[];for(t in e)r.push(t+"="+e[t]);tY=r}return tY}function tQ(t,r){if(T)return tX(20,1,t,r);var n=0;return tJ().forEach(function(i,o){var s=r+n;for(o=a()[t+4*o>>2>>>0]=s,s=0;s>0>>>0]=i.charCodeAt(s);e()[o>>0>>>0]=0,n+=i.length+1}),0}function t0(t,e){if(T)return tX(21,1,t,e);var r=tJ();a()[t>>2>>>0]=r.length;var n=0;return r.forEach(function(t){n+=t.length+1}),a()[e>>2>>>0]=n,0}function t1(t){return T?tX(22,1,t):52}function t2(t,e,r,n){return T?tX(23,1,t,e,r,n):52}function t3(t,e,r,n,i){return T?tX(24,1,t,e,r,n,i):70}var t4=[null,[],[]];function t6(t,e){var r=t4[t];0===e||10===e?((1===t?P:D)(B(r,0)),r.length=0):r.push(e)}function t8(t,e,r,n){if(T)return tX(25,1,t,e,r,n);for(var o=0,s=0;s>2>>>0],l=a()[e+4>>2>>>0];e+=8;for(var c=0;c>>0]);o+=l}return a()[n>>2>>>0]=o,0}var t5=0;function t7(t){return 0==t%4&&(0!=t%100||0==t%400)}var t9=[31,29,31,30,31,30,31,31,30,31,30,31],et=[31,28,31,30,31,30,31,31,30,31,30,31];function ee(t,r,n,i){function a(t,e,r){for(t="number"==typeof t?t.toString():t||"";t.lengtht?-1:0n-t.getDate())){t.setDate(t.getDate()+e);break}e-=n-t.getDate()+1,t.setDate(1),11>r?t.setMonth(r+1):(t.setMonth(0),t.setFullYear(t.getFullYear()+1))}return r=new Date(t.getFullYear()+1,0,4),e=l(new Date(t.getFullYear(),0,4)),r=l(r),0>=u(e,t)?0>=u(r,t)?t.getFullYear()+1:t.getFullYear():t.getFullYear()-1}var p=o()[i+40>>2>>>0];for(var f in i={Lc:o()[i>>2>>>0],Kc:o()[i+4>>2>>>0],dc:o()[i+8>>2>>>0],jc:o()[i+12>>2>>>0],ec:o()[i+16>>2>>>0],Xb:o()[i+20>>2>>>0],Tb:o()[i+24>>2>>>0],Wb:o()[i+28>>2>>>0],Rc:o()[i+32>>2>>>0],Jc:o()[i+36>>2>>>0],Mc:p?z(p):""},n=z(n),p={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"})n=n.replace(RegExp(f,"g"),p[f]);var d="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),h="January February March April May June July August September October November December".split(" ");for(f in p={"%a":function(t){return d[t.Tb].substring(0,3)},"%A":function(t){return d[t.Tb]},"%b":function(t){return h[t.ec].substring(0,3)},"%B":function(t){return h[t.ec]},"%C":function(t){return s((t.Xb+1900)/100|0,2)},"%d":function(t){return s(t.jc,2)},"%e":function(t){return a(t.jc,2," ")},"%g":function(t){return c(t).toString().substring(2)},"%G":function(t){return c(t)},"%H":function(t){return s(t.dc,2)},"%I":function(t){return 0==(t=t.dc)?t=12:12t.dc?"AM":"PM"},"%S":function(t){return s(t.Lc,2)},"%t":function(){return" "},"%u":function(t){return t.Tb||7},"%U":function(t){return s(Math.floor((t.Wb+7-t.Tb)/7),2)},"%V":function(t){var e=Math.floor((t.Wb+7-(t.Tb+6)%7)/7);if(2>=(t.Tb+371-t.Wb-2)%7&&e++,e)53==e&&(4==(r=(t.Tb+371-t.Wb)%7)||3==r&&t7(t.Xb)||(e=1));else{e=52;var r=(t.Tb+7-t.Wb-1)%7;(4==r||5==r&&t7(t.Xb%400-1))&&e++}return s(e,2)},"%w":function(t){return t.Tb},"%W":function(t){return s(Math.floor((t.Wb+7-(t.Tb+6)%7)/7),2)},"%y":function(t){return(t.Xb+1900).toString().substring(2)},"%Y":function(t){return t.Xb+1900},"%z":function(t){var e=0<=(t=t.Jc);return(e?"+":"-")+String("0000"+((t=Math.abs(t)/60)/60*100+t%60)).slice(-4)},"%Z":function(t){return t.Mc},"%%":function(){return"%"}},n=n.replace(/%%/g,"\0\0"),p)n.includes(f)&&(n=n.replace(RegExp(f,"g"),p[f](i)));return(f=function(t){var e=Array(H(t)+1);return G(t,e,0,e.length),e}(n=n.replace(/\0\0/g,"%"))).length>r?0:(function(t,r){e().set(t,r>>>0)}(f,t),f.length-1)}th.fc();var er=[null,tf,tm,tE,tP,tD,t$,tk,tC,tF,tN,tL,tR,tj,tM,tU,tV,tG,tH,tq,tQ,t0,t1,t2,t3,t8],en={b:function(t){return eo(t+24)+24},n:function(t){return(t=new tO(t)).uc()||(t.hc(!0),tT--),t.ic(!1),tw.push(t),t.sc(),t.vc()},ma:function(t){throw D("Unexpected exception thrown, this is not properly supported - aborting"),U=!0,t},x:function(){eg(0);var t=tw.pop();if(t.Hc()&&!t.kc()){var e=t.Dc();e&&t_(e)(t.Zb),tA(t.Zb)}tS=0},e:function(){var t=tS;if(!t)return t5=0;var e=new tO(t);e.cc(t);var r=e.bc();if(!r)return t5=0,t;for(var n=Array.prototype.slice.call(arguments),i=0;itB(n));else if(T)postMessage({targetThread:t,cmd:"processProxyingQueue",queue:n});else{if(!(t=th.Vb[t]))return;t.postMessage({cmd:"processProxyingQueue",queue:n})}return 1},Ea:function(){return -1},Pa:function(t,e){t=new Date(1e3*tz(t)),o()[e>>2>>>0]=t.getUTCSeconds(),o()[e+4>>2>>>0]=t.getUTCMinutes(),o()[e+8>>2>>>0]=t.getUTCHours(),o()[e+12>>2>>>0]=t.getUTCDate(),o()[e+16>>2>>>0]=t.getUTCMonth(),o()[e+20>>2>>>0]=t.getUTCFullYear()-1900,o()[e+24>>2>>>0]=t.getUTCDay(),t=(t.getTime()-Date.UTC(t.getUTCFullYear(),0,1,0,0,0,0))/864e5|0,o()[e+28>>2>>>0]=t},Qa:function(t,e){t=new Date(1e3*tz(t)),o()[e>>2>>>0]=t.getSeconds(),o()[e+4>>2>>>0]=t.getMinutes(),o()[e+8>>2>>>0]=t.getHours(),o()[e+12>>2>>>0]=t.getDate(),o()[e+16>>2>>>0]=t.getMonth(),o()[e+20>>2>>>0]=t.getFullYear()-1900,o()[e+24>>2>>>0]=t.getDay();var r=new Date(t.getFullYear(),0,1),n=(t.getTime()-r.getTime())/864e5|0;o()[e+28>>2>>>0]=n,o()[e+36>>2>>>0]=-60*t.getTimezoneOffset(),t=0|((n=new Date(t.getFullYear(),6,1).getTimezoneOffset())!=(r=r.getTimezoneOffset())&&t.getTimezoneOffset()==Math.min(r,n)),o()[e+32>>2>>>0]=t},Ra:function(t){var e=new Date(o()[t+20>>2>>>0]+1900,o()[t+16>>2>>>0],o()[t+12>>2>>>0],o()[t+8>>2>>>0],o()[t+4>>2>>>0],o()[t>>2>>>0],0),r=o()[t+32>>2>>>0],n=e.getTimezoneOffset(),i=new Date(e.getFullYear(),0,1),a=new Date(e.getFullYear(),6,1).getTimezoneOffset(),s=i.getTimezoneOffset(),u=Math.min(s,a);return 0>r?o()[t+32>>2>>>0]=Number(a!=s&&u==n):0>2>>>0]=e.getDay(),r=(e.getTime()-i.getTime())/864e5|0,o()[t+28>>2>>>0]=r,o()[t>>2>>>0]=e.getSeconds(),o()[t+4>>2>>>0]=e.getMinutes(),o()[t+8>>2>>>0]=e.getHours(),o()[t+12>>2>>>0]=e.getDate(),o()[t+16>>2>>>0]=e.getMonth(),e.getTime()/1e3|0},Aa:tG,Ba:tH,Sa:function t(e,r,n){t.Ac||(t.Ac=!0,tq(e,r,n))},y:function(){to("")},U:function(){if(!w&&!x){var t="Blocking on the main thread is very dangerous, see https://emscripten.org/docs/porting/pthreads.html#blocking-on-the-main-browser-thread";tv||(tv={}),tv[t]||(tv[t]=1,w&&(t="warning: "+t),D(t))}},ra:function(){return 4294901760},B:tx,Ia:function(t,e,r){i().copyWithin(t>>>0,e>>>0,e+r>>>0)},F:function(){return w?r(3993).cpus().length:navigator.hardwareConcurrency},Da:function(t,e,r){tK.length=e,r>>=3;for(var n=0;n>>0];return(0>t?tu[-t-1]:er[t]).apply(null,tK)},qa:function(t){var e=i().length;if((t>>>=0)<=e||4294901760=r;r*=2){var n=e*(1+.2/r);n=Math.min(n,t+100663296);var o=Math;n=Math.max(t,n),o=o.min.call(o,4294901760,n+(65536-n%65536)%65536);t:{try{k.grow(o-F.byteLength+65535>>>16),W(k.buffer);var a=1;break t}catch(t){}a=void 0}if(a)return!0}return!1},Na:function(){throw"unwind"},Ga:tQ,Ha:t0,J:td,I:t1,S:t2,ga:t3,R:t8,d:function(){return t5},na:function t(n,i){t.lc||(t.lc=function(){if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues){var t=new Uint8Array(1);return()=>(crypto.getRandomValues(t),t[0])}if(w)try{var e=r(Object(function(){var t=Error("Cannot find module 'crypto'");throw t.code="MODULE_NOT_FOUND",t}()));return()=>e.randomBytes(1)[0]}catch(t){}return()=>to("randomDevice")}());for(var o=0;o>0>>>0]=t.lc();return 0},ia:function(t,e,r){var n=em();try{return t_(t)(e,r)}catch(t){if(ey(n),t!==t+0)throw t;eg(1,0)}},ja:function(t,e,r){var n=em();try{return t_(t)(e,r)}catch(t){if(ey(n),t!==t+0)throw t;eg(1,0)}},K:function(t){var e=em();try{return t_(t)()}catch(t){if(ey(e),t!==t+0)throw t;eg(1,0)}},f:function(t,e){var r=em();try{return t_(t)(e)}catch(t){if(ey(r),t!==t+0)throw t;eg(1,0)}},P:function(t,e,r){var n=em();try{return t_(t)(e,r)}catch(t){if(ey(n),t!==t+0)throw t;eg(1,0)}},Q:function(t,e,r){var n=em();try{return t_(t)(e,r)}catch(t){if(ey(n),t!==t+0)throw t;eg(1,0)}},k:function(t,e,r){var n=em();try{return t_(t)(e,r)}catch(t){if(ey(n),t!==t+0)throw t;eg(1,0)}},p:function(t,e,r,n){var i=em();try{return t_(t)(e,r,n)}catch(t){if(ey(i),t!==t+0)throw t;eg(1,0)}},q:function(t,e,r,n,i){var o=em();try{return t_(t)(e,r,n,i)}catch(t){if(ey(o),t!==t+0)throw t;eg(1,0)}},N:function(t,e,r,n,i,o){var a=em();try{return t_(t)(e,r,n,i,o)}catch(t){if(ey(a),t!==t+0)throw t;eg(1,0)}},s:function(t,e,r,n,i,o){var a=em();try{return t_(t)(e,r,n,i,o)}catch(t){if(ey(a),t!==t+0)throw t;eg(1,0)}},w:function(t,e,r,n,i,o,a){var s=em();try{return t_(t)(e,r,n,i,o,a)}catch(t){if(ey(s),t!==t+0)throw t;eg(1,0)}},L:function(t,e,r,n,i,o,a,s){var u=em();try{return t_(t)(e,r,n,i,o,a,s)}catch(t){if(ey(u),t!==t+0)throw t;eg(1,0)}},E:function(t,e,r,n,i,o,a,s,u,l,c,p){var f=em();try{return t_(t)(e,r,n,i,o,a,s,u,l,c,p)}catch(t){if(ey(f),t!==t+0)throw t;eg(1,0)}},aa:function(t,e,r,n,i,o,a,s){var u=em();try{return eD(t,e,r,n,i,o,a,s)}catch(t){if(ey(u),t!==t+0)throw t;eg(1,0)}},_:function(t,e,r,n,i,o,a){var s=em();try{return eT(t,e,r,n,i,o,a)}catch(t){if(ey(s),t!==t+0)throw t;eg(1,0)}},Z:function(t,e,r,n,i){var o=em();try{return e$(t,e,r,n,i)}catch(t){if(ey(o),t!==t+0)throw t;eg(1,0)}},ca:function(t,e,r,n){var i=em();try{return eI(t,e,r,n)}catch(t){if(ey(i),t!==t+0)throw t;eg(1,0)}},$:function(t){var e=em();try{return ew(t)}catch(t){if(ey(e),t!==t+0)throw t;eg(1,0)}},ba:function(t,e){var r=em();try{return eP(t,e)}catch(t){if(ey(r),t!==t+0)throw t;eg(1,0)}},Y:function(t,e,r){var n=em();try{return eS(t,e,r)}catch(t){if(ey(n),t!==t+0)throw t;eg(1,0)}},g:function(t){var e=em();try{t_(t)()}catch(t){if(ey(e),t!==t+0)throw t;eg(1,0)}},r:function(t,e){var r=em();try{t_(t)(e)}catch(t){if(ey(r),t!==t+0)throw t;eg(1,0)}},i:function(t,e,r){var n=em();try{t_(t)(e,r)}catch(t){if(ey(n),t!==t+0)throw t;eg(1,0)}},ha:function(t,e,r,n){var i=em();try{t_(t)(e,r,n)}catch(t){if(ey(i),t!==t+0)throw t;eg(1,0)}},m:function(t,e,r,n){var i=em();try{t_(t)(e,r,n)}catch(t){if(ey(i),t!==t+0)throw t;eg(1,0)}},v:function(t,e,r,n,i){var o=em();try{t_(t)(e,r,n,i)}catch(t){if(ey(o),t!==t+0)throw t;eg(1,0)}},u:function(t,e,r,n,i,o){var a=em();try{t_(t)(e,r,n,i,o)}catch(t){if(ey(a),t!==t+0)throw t;eg(1,0)}},O:function(t,e,r,n,i,o,a){var s=em();try{t_(t)(e,r,n,i,o,a)}catch(t){if(ey(s),t!==t+0)throw t;eg(1,0)}},A:function(t,e,r,n,i,o,a,s){var u=em();try{t_(t)(e,r,n,i,o,a,s)}catch(t){if(ey(u),t!==t+0)throw t;eg(1,0)}},ka:function(t,e,r,n,i,o,a,s,u){var l=em();try{t_(t)(e,r,n,i,o,a,s,u)}catch(t){if(ey(l),t!==t+0)throw t;eg(1,0)}},C:function(t,e,r,n,i,o,a,s,u,l,c){var p=em();try{t_(t)(e,r,n,i,o,a,s,u,l,c)}catch(t){if(ey(p),t!==t+0)throw t;eg(1,0)}},D:function(t,e,r,n,i,o,a,s,u,l,c,p,f,d,h,g){var b=em();try{t_(t)(e,r,n,i,o,a,s,u,l,c,p,f,d,h,g)}catch(t){if(ey(b),t!==t+0)throw t;eg(1,0)}},fa:function(t,e,r,n,i,o,a,s){var u=em();try{eO(t,e,r,n,i,o,a,s)}catch(t){if(ey(u),t!==t+0)throw t;eg(1,0)}},da:function(t,e,r,n,i,o,a,s,u,l,c,p){var f=em();try{eE(t,e,r,n,i,o,a,s,u,l,c,p)}catch(t){if(ey(f),t!==t+0)throw t;eg(1,0)}},ea:function(t,e,r,n,i,o){var a=em();try{eA(t,e,r,n,i,o)}catch(t){if(ey(a),t!==t+0)throw t;eg(1,0)}},o:function(t){return t},a:k||u.wasmMemory,G:function(t){t5=t},la:ee,z:function(t,e,r,n){return ee(t,e,r,n)}};(function(){function t(t,e){u.asm=t.exports,th.qc.push(u.asm.sb),X=u.asm.ub,K.unshift(u.asm.Va),C=e,T||(tr--,u.monitorRunDependencies&&u.monitorRunDependencies(tr),0==tr&&(null!==tn&&(clearInterval(tn),tn=null),ti&&(t=ti,ti=null,t())))}function e(e){t(e.instance,e.module)}function r(t){return(function(){if(!I&&(v||x)){if("function"==typeof fetch&&!te.startsWith("file://"))return fetch(te,{credentials:"same-origin"}).then(function(t){if(!t.ok)throw"failed to load wasm binary file at '"+te+"'";return t.arrayBuffer()}).catch(function(){return ts()});if(f)return new Promise(function(t,e){f(te,function(e){t(new Uint8Array(e))},e)})}return Promise.resolve().then(function(){return ts()})})().then(function(t){return WebAssembly.instantiate(t,n)}).then(function(t){return t}).then(t,function(t){D("failed to asynchronously prepare wasm: "+t),to(t)})}var n={a:en};if(T||(tr++,u.monitorRunDependencies&&u.monitorRunDependencies(tr)),u.instantiateWasm)try{return u.instantiateWasm(n,t)}catch(t){return D("Module.instantiateWasm callback failed with error: "+t),!1}(I||"function"!=typeof WebAssembly.instantiateStreaming||ta()||te.startsWith("file://")||w||"function"!=typeof fetch?r(e):fetch(te,{credentials:"same-origin"}).then(function(t){return WebAssembly.instantiateStreaming(t,n).then(e,function(t){return D("wasm streaming compile failed: "+t),D("falling back to ArrayBuffer instantiation"),r(e)})})).catch(c)})(),u.___wasm_call_ctors=function(){return(u.___wasm_call_ctors=u.asm.Va).apply(null,arguments)},u._OrtInit=function(){return(u._OrtInit=u.asm.Wa).apply(null,arguments)},u._OrtCreateSessionOptions=function(){return(u._OrtCreateSessionOptions=u.asm.Xa).apply(null,arguments)},u._OrtAppendExecutionProvider=function(){return(u._OrtAppendExecutionProvider=u.asm.Ya).apply(null,arguments)},u._OrtAddSessionConfigEntry=function(){return(u._OrtAddSessionConfigEntry=u.asm.Za).apply(null,arguments)},u._OrtReleaseSessionOptions=function(){return(u._OrtReleaseSessionOptions=u.asm._a).apply(null,arguments)},u._OrtCreateSession=function(){return(u._OrtCreateSession=u.asm.$a).apply(null,arguments)},u._OrtReleaseSession=function(){return(u._OrtReleaseSession=u.asm.ab).apply(null,arguments)},u._OrtGetInputCount=function(){return(u._OrtGetInputCount=u.asm.bb).apply(null,arguments)},u._OrtGetOutputCount=function(){return(u._OrtGetOutputCount=u.asm.cb).apply(null,arguments)},u._OrtGetInputName=function(){return(u._OrtGetInputName=u.asm.db).apply(null,arguments)},u._OrtGetOutputName=function(){return(u._OrtGetOutputName=u.asm.eb).apply(null,arguments)},u._OrtFree=function(){return(u._OrtFree=u.asm.fb).apply(null,arguments)},u._OrtCreateTensor=function(){return(u._OrtCreateTensor=u.asm.gb).apply(null,arguments)},u._OrtGetTensorData=function(){return(u._OrtGetTensorData=u.asm.hb).apply(null,arguments)},u._OrtReleaseTensor=function(){return(u._OrtReleaseTensor=u.asm.ib).apply(null,arguments)},u._OrtCreateRunOptions=function(){return(u._OrtCreateRunOptions=u.asm.jb).apply(null,arguments)},u._OrtAddRunConfigEntry=function(){return(u._OrtAddRunConfigEntry=u.asm.kb).apply(null,arguments)},u._OrtReleaseRunOptions=function(){return(u._OrtReleaseRunOptions=u.asm.lb).apply(null,arguments)},u._OrtRun=function(){return(u._OrtRun=u.asm.mb).apply(null,arguments)},u._OrtEndProfiling=function(){return(u._OrtEndProfiling=u.asm.nb).apply(null,arguments)};var ei=u._pthread_self=function(){return(ei=u._pthread_self=u.asm.ob).apply(null,arguments)},eo=u._malloc=function(){return(eo=u._malloc=u.asm.pb).apply(null,arguments)},ea=u._free=function(){return(ea=u._free=u.asm.qb).apply(null,arguments)},es=u._fflush=function(){return(es=u._fflush=u.asm.rb).apply(null,arguments)};u.__emscripten_tls_init=function(){return(u.__emscripten_tls_init=u.asm.sb).apply(null,arguments)};var eu=u.___funcs_on_exit=function(){return(eu=u.___funcs_on_exit=u.asm.tb).apply(null,arguments)},el=u.__emscripten_thread_init=function(){return(el=u.__emscripten_thread_init=u.asm.vb).apply(null,arguments)};u.__emscripten_thread_crashed=function(){return(u.__emscripten_thread_crashed=u.asm.wb).apply(null,arguments)};var ec,ep=u._emscripten_run_in_main_runtime_thread_js=function(){return(ep=u._emscripten_run_in_main_runtime_thread_js=u.asm.xb).apply(null,arguments)},ef=u.__emscripten_proxy_execute_task_queue=function(){return(ef=u.__emscripten_proxy_execute_task_queue=u.asm.yb).apply(null,arguments)},ed=u.__emscripten_thread_free_data=function(){return(ed=u.__emscripten_thread_free_data=u.asm.zb).apply(null,arguments)},eh=u.__emscripten_thread_exit=function(){return(eh=u.__emscripten_thread_exit=u.asm.Ab).apply(null,arguments)},eg=u._setThrew=function(){return(eg=u._setThrew=u.asm.Bb).apply(null,arguments)},eb=u._emscripten_stack_set_limits=function(){return(eb=u._emscripten_stack_set_limits=u.asm.Cb).apply(null,arguments)},em=u.stackSave=function(){return(em=u.stackSave=u.asm.Db).apply(null,arguments)},ey=u.stackRestore=function(){return(ey=u.stackRestore=u.asm.Eb).apply(null,arguments)},e_=u.stackAlloc=function(){return(e_=u.stackAlloc=u.asm.Fb).apply(null,arguments)},ev=u.___cxa_can_catch=function(){return(ev=u.___cxa_can_catch=u.asm.Gb).apply(null,arguments)},ex=u.___cxa_is_pointer_type=function(){return(ex=u.___cxa_is_pointer_type=u.asm.Hb).apply(null,arguments)},ew=u.dynCall_j=function(){return(ew=u.dynCall_j=u.asm.Ib).apply(null,arguments)},eT=u.dynCall_iiiiij=function(){return(eT=u.dynCall_iiiiij=u.asm.Jb).apply(null,arguments)},eS=u.dynCall_jii=function(){return(eS=u.dynCall_jii=u.asm.Kb).apply(null,arguments)},eO=u.dynCall_viiiiij=function(){return(eO=u.dynCall_viiiiij=u.asm.Lb).apply(null,arguments)},eA=u.dynCall_vjji=function(){return(eA=u.dynCall_vjji=u.asm.Mb).apply(null,arguments)},eE=u.dynCall_viiijjjii=function(){return(eE=u.dynCall_viiijjjii=u.asm.Nb).apply(null,arguments)},eI=u.dynCall_iij=function(){return(eI=u.dynCall_iij=u.asm.Ob).apply(null,arguments)},eP=u.dynCall_ji=function(){return(eP=u.dynCall_ji=u.asm.Pb).apply(null,arguments)},eD=u.dynCall_iiiiiij=function(){return(eD=u.dynCall_iiiiiij=u.asm.Qb).apply(null,arguments)},e$=u.dynCall_iiij=function(){return(e$=u.dynCall_iiij=u.asm.Rb).apply(null,arguments)};function ek(){function t(){if(!ec&&(ec=!0,u.calledRun=!0,!U)&&(T||tg(K),l(u),u.onRuntimeInitialized&&u.onRuntimeInitialized(),!T)){if(u.postRun)for("function"==typeof u.postRun&&(u.postRun=[u.postRun]);u.postRun.length;){var t=u.postRun.shift();J.unshift(t)}tg(J)}}if(!(0{var n,i=(n=(n="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0)||"/index.js",function(t){t=t||{},e||(e=void 0!==t?t:{}),e.ready=new Promise(function(t,e){i=t,o=e});var e,i,o,a,s,u,l,c,p,f=Object.assign({},e),d="./this.program",h=(t,e)=>{throw e},g="object"==typeof window,b="function"==typeof importScripts,m="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,y="";m?(y=b?r(908).dirname(y)+"/":"//",p=()=>{c||(l=r(1384),c=r(908))},a=function(t,e){return p(),t=c.normalize(t),l.readFileSync(t,e?void 0:"utf8")},u=t=>((t=a(t,!0)).buffer||(t=new Uint8Array(t)),t),s=(t,e,r)=>{p(),t=c.normalize(t),l.readFile(t,function(t,n){t?r(t):e(n.buffer)})},1