PageSourceSearch

https://autovideoai.manus.space/assets/index-CpmSDWcr.js

js autovideoai.manus.space collected 2026-10-03 05:00:05 UTC 497,980 bytes, 262 lines download raw bytes

vendor: 28,100 bytes, lines 1-9
1function kb(n,s){for(var i=0;i<s.length;i++){const l=s[i];if(typeof l!="string"&&!Array.isArray(l)){for(const c in l)if(c!=="default"&&!(c in n)){const f=Object.getOwnPropertyDescriptor(l,c);f&&Object.defineProperty(n,c,f.get?f:{enumerable:!0,get:()=>l[c]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))l(c);new MutationObserver(c=>{for(const f of c)if(f.type==="childList")for(const d of f.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&l(d)}).observe(document,{childList:!0,subtree:!0});function i(c){const f={};return c.integrity&&(f.integrity=c.integrity),c.referrerPolicy&&(f.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?f.credentials="include":c.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function l(c){if(c.ep)return;c.ep=!0;const f=i(c);fetch(c.href,f)}})();function fg(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Fu={exports:{}},gi={};/**
2 * @license React
3 * react-jsx-runtime.production.js
4 *
5 * Copyright (c) Meta Platforms, Inc. and affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var e0;function Ub(){if(e0)return gi;e0=1;var n=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function i(l,c,f){var d=null;if(f!==void 0&&(d=""+f),c.key!==void 0&&(d=""+c.key),"key"in c){f={};for(var h in c)h!=="key"&&(f[h]=c[h])}else f=c;return c=f.ref,{$$typeof:n,type:l,key:d,ref:c!==void 0?c:null,props:f}}return gi.Fragment=s,gi.jsx=i,gi.jsxs=i,gi}var t0;function qb(){return t0||(t0=1,Fu.exports=Ub()),Fu.exports}var g=qb(),ms=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(n){return this.listeners.add(n),this.onSubscribe(),()=>{this.listeners.delete(n),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Lb={setTimeout:(n,s)=>setTimeout(n,s),clearTimeout:n=>clearTimeout(n),setInterval:(n,s)=>setInterval(n,s),clearInterval:n=>clearInterval(n)},Bb=class{#t=Lb;#e=!1;setTimeoutProvider(n){this.#t=n}setTimeout(n,s){return this.#t.setTimeout(n,s)}clearTimeout(n){this.#t.clearTimeout(n)}setInterval(n,s){return this.#t.setInterval(n,s)}clearInterval(n){this.#t.clearInterval(n)}},us=new Bb;function Qb(n){setTimeout(n,0)}var fs=typeof window>"u"||"Deno"in globalThis;function xt(){}function Yb(n,s){return typeof n=="function"?n(s):n}function mf(n){return typeof n=="number"&&n>=0&&n!==1/0}function dg(n,s){return Math.max(n+(s||0)-Date.now(),0)}function Ma(n,s){return typeof n=="function"?n(s):n}function sn(n,s){return typeof n=="function"?n(s):n}function n0(n,s){const{type:i="all",exact:l,fetchStatus:c,predicate:f,queryKey:d,stale:h}=n;if(d){if(l){if(s.queryHash!==Yf(d,s.options))return!1}else if(!Si(s.queryKey,d))return!1}if(i!=="all"){const m=s.isActive();if(i==="active"&&!m||i==="inactive"&&m)return!1}return!(typeof h=="boolean"&&s.isStale()!==h||c&&c!==s.state.fetchStatus||f&&!f(s))}function a0(n,s){const{exact:i,status:l,predicate:c,mutationKey:f}=n;if(f){if(!s.options.mutationKey)return!1;if(i){if(Ra(s.options.mutationKey)!==Ra(f))return!1}else if(!Si(s.options.mutationKey,f))return!1}return!(l&&s.state.status!==l||c&&!c(s))}function Yf(n,s){return(s?.queryKeyHashFn||Ra)(n)}function Ra(n){return JSON.stringify(n,(s,i)=>pf(i)?Object.keys(i).sort().reduce((l,c)=>(l[c]=i[c],l),{}):i)}function Si(n,s){return n===s?!0:typeof n!=typeof s?!1:n&&s&&typeof n=="object"&&typeof s=="object"?Object.keys(s).every(i=>Si(n[i],s[i])):!1}var Gb=Object.prototype.hasOwnProperty;function Gf(n,s){if(n===s)return n;const i=s0(n)&&s0(s);if(!i&&!(pf(n)&&pf(s)))return s;const c=(i?n:Object.keys(n)).length,f=i?s:Object.keys(s),d=f.length,h=i?new Array(d):{};let m=0;for(let y=0;y<d;y++){const b=i?y:f[y],v=n[b],w=s[b];if(v===w){h[b]=v,(i?y<c:Gb.call(n,b))&&m++;continue}if(v===null||w===null||typeof v!="object"||typeof w!="object"){h[b]=w;continue}const O=Gf(v,w);h[b]=O,O===v&&m++}return c===d&&m===c?n:h}function Ei(n,s){if(!s||Object.keys(n).length!==Object.keys(s).length)return!1;for(const i in n)if(n[i]!==s[i])return!1;return!0}function s0(n){return Array.isArray(n)&&n.length===Object.keys(n).length}function pf(n){if(!r0(n))return!1;const s=n.constructor;if(s===void 0)return!0;const i=s.prototype;return!(!r0(i)||!i.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(n)!==Object.prototype)}function r0(n){return Object.prototype.toString.call(n)==="[object Object]"}function Vb(n){return new Promise(s=>{us.setTimeout(s,n)})}function gf(n,s,i){return typeof i.structuralSharing=="function"?i.structuralSharing(n,s):i.structuralSharing!==!1?Gf(n,s):s}function Pb(n,s,i=0){const l=[...n,s];return i&&l.length>i?l.slice(1):l}function Xb(n,s,i=0){const l=[s,...n];return i&&l.length>i?l.slice(0,-1):l}var Xt=Symbol();function hg(n,s){return!n.queryFn&&s?.initialPromise?()=>s.initialPromise:!n.queryFn||n.queryFn===Xt?()=>Promise.reject(new Error(`Missing queryFn: '${n.queryHash}'`)):n.queryFn}function mg(n,s){return typeof n=="function"?n(...s):!!n}var Kb=class extends ms{#t;#e;#n;constructor(){super(),this.#n=n=>{if(!fs&&window.addEventListener){const s=()=>n();return window.addEventListener("visibilitychange",s,!1),()=>{window.removeEventListener("visibilitychange",s)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(n){this.#n=n,this.#e?.(),this.#e=n(s=>{typeof s=="boolean"?this.setFocused(s):this.onFocus()})}setFocused(n){this.#t!==n&&(this.#t=n,this.onFocus())}onFocus(){const n=this.isFocused();this.listeners.forEach(s=>{s(n)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},Vf=new Kb;function yf(){let n,s;const i=new Promise((c,f)=>{n=c,s=f});i.status="pending",i.catch(()=>{});function l(c){Object.assign(i,c),delete i.resolve,delete i.reject}return i.resolve=c=>{l({status:"fulfilled",value:c}),n(c)},i.reject=c=>{l({status:"rejected",reason:c}),s(c)},i}var Zb=Qb;function Fb(){let n=[],s=0,i=h=>{h()},l=h=>{h()},c=Zb;const f=h=>{s?n.push(h):c(()=>{i(h)})},d=()=>{const h=n;n=[],h.length&&c(()=>{l(()=>{h.forEach(m=>{i(m)})})})};return{batch:h=>{let m;s++;try{m=h()}finally{s--,s||d()}return m},batchCalls:h=>(...m)=>{f(()=>{h(...m)})},schedule:f,setNotifyFunction:h=>{i=h},setBatchNotifyFunction:h=>{l=h},setScheduler:h=>{c=h}}}var Ze=Fb(),Jb=class extends ms{#t=!0;#e;#n;constructor(){super(),this.#n=n=>{if(!fs&&window.addEventListener){const s=()=>n(!0),i=()=>n(!1);return window.addEventListener("online",s,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",s),window.removeEventListener("offline",i)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(n){this.#n=n,this.#e?.(),this.#e=n(this.setOnline.bind(this))}setOnline(n){this.#t!==n&&(this.#t=n,this.listeners.forEach(i=>{i(n)}))}isOnline(){return this.#t}},fo=new Jb;function $b(n){return Math.min(1e3*2**n,3e4)}function pg(n){return(n??"online")==="online"?fo.isOnline():!0}var vf=class extends Error{constructor(n){super("CancelledError"),this.revert=n?.revert,this.silent=n?.silent}};function gg(n){let s=!1,i=0,l;const c=yf(),f=()=>c.status!=="pending",d=j=>{if(!f()){const H=new vf(j);w(H),n.onCancel?.(H)}},h=()=>{s=!0},m=()=>{s=!1},y=()=>Vf.isFocused()&&(n.networkMode==="always"||fo.isOnline())&&n.canRun(),b=()=>pg(n.networkMode)&&n.canRun(),v=j=>{f()||(l?.(),c.resolve(j))},w=j=>{f()||(l?.(),c.reject(j))},O=()=>new Promise(j=>{l=H=>{(f()||y())&&j(H)},n.onPause?.()}).then(()=>{l=void 0,f()||n.onContinue?.()}),_=()=>{if(f())return;let j;const H=i===0?n.initialPromise:void 0;try{j=H??n.fn()}catch(L){j=Promise.reject(L)}Promise.resolve(j).then(v).catch(L=>{if(f())return;const J=n.retry??(fs?0:3),ee=n.retryDelay??$b,ae=typeof ee=="function"?ee(i,L):ee,P=J===!0||typeof J=="number"&&i<J||typeof J=="function"&&J(i,L);if(s||!P){w(L);return}i++,n.onFail?.(i,L),Vb(ae).then(()=>y()?void 0:O()).then(()=>{s?w(L):_()})})};return{promise:c,status:()=>c.status,cancel:d,continue:()=>(l?.(),c),cancelRetry:h,continueRetry:m,canStart:b,start:()=>(b()?_():O().then(_),c)}}var yg=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),mf(this.gcTime)&&(this.#t=us.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(n){this.gcTime=Math.max(this.gcTime||0,n??(fs?1/0:300*1e3))}clearGcTimeout(){this.#t&&(us.clearTimeout(this.#t),this.#t=void 0)}},Ib=class extends yg{#t;#e;#n;#s;#a;#r;#l;constructor(n){super(),this.#l=!1,this.#r=n.defaultOptions,this.setOptions(n.options),this.observers=[],this.#s=n.client,this.#n=this.#s.getQueryCache(),this.queryKey=n.queryKey,this.queryHash=n.queryHash,this.#t=i0(this.options),this.state=n.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#a?.promise}setOptions(n){if(this.options={...this.#r,...n},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const s=i0(this.options);s.data!==void 0&&(this.setData(s.data,{updatedAt:s.dataUpdatedAt,manual:!0}),this.#t=s)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(n,s){const i=gf(this.state.data,n,this.options);return this.#i({data:i,type:"success",dataUpdatedAt:s?.updatedAt,manual:s?.manual}),i}setState(n,s){this.#i({type:"setState",state:n,setStateOptions:s})}cancel(n){const s=this.#a?.promise;return this.#a?.cancel(n),s?s.then(xt).catch(xt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#t)}isActive(){return this.observers.some(n=>sn(n.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Xt||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(n=>Ma(n.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(n=>n.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(n=0){return this.state.data===void 0?!0:n==="static"?!1:this.state.isInvalidated?!0:!dg(this.state.dataUpdatedAt,n)}onFocus(){this.observers.find(s=>s.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(s=>s.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(n){this.observers.includes(n)||(this.observers.push(n),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:n}))}removeObserver(n){this.observers.includes(n)&&(this.observers=this.observers.filter(s=>s!==n),this.observers.length||(this.#a&&(this.#l?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:n}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#i({type:"invalidate"})}async fetch(n,s){if(this.state.fetchStatus!=="idle"&&this.#a?.status()!=="rejected"){if(this.state.data!==void 0&&s?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(n&&this.setOptions(n),!this.options.queryFn){const h=this.observers.find(m=>m.options.queryFn);h&&this.setOptions(h.options)}const i=new AbortController,l=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(this.#l=!0,i.signal)})},c=()=>{const h=hg(this.options,s),y=(()=>{const b={client:this.#s,queryKey:this.queryKey,meta:this.meta};return l(b),b})();return this.#l=!1,this.options.persister?this.options.persister(h,y,this):h(y)},d=(()=>{const h={fetchOptions:s,options:this.options,queryKey:this.queryKey,client:this.#s,state:this.state,fetchFn:c};return l(h),h})();this.options.behavior?.onFetch(d,this),this.#e=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==d.fetchOptions?.meta)&&this.#i({type:"fetch",meta:d.fetchOptions?.meta}),this.#a=gg({initialPromise:s?.initialPromise,fn:d.fetchFn,onCancel:h=>{h instanceof vf&&h.revert&&this.setState({...this.#e,fetchStatus:"idle"}),i.abort()},onFail:(h,m)=>{this.#i({type:"failed",failureCount:h,error:m})},onPause:()=>{this.#i({type:"pause"})},onContinue:()=>{this.#i({type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode,canRun:()=>!0});try{const h=await this.#a.start();if(h===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(h),this.#n.config.onSuccess?.(h,this),this.#n.config.onSettled?.(h,this.state.error,this),h}catch(h){if(h instanceof vf){if(h.silent)return this.#a.promise;if(h.revert){if(this.state.data===void 0)throw h;return this.state.data}}throw this.#i({type:"error",error:h}),this.#n.config.onError?.(h,this),this.#n.config.onSettled?.(this.state.data,h,this),h}finally{this.scheduleGc()}}#i(n){const s=i=>{switch(n.type){case"failed":return{...i,fetchFailureCount:n.failureCount,fetchFailureReason:n.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...vg(i.data,this.options),fetchMeta:n.meta??null};case"success":const l={...i,data:n.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:n.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!n.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#e=n.manual?l:void 0,l;case"error":const c=n.error;return{...i,error:c,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:c,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...n.state}}};this.state=s(this.state),Ze.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:n})})}};function vg(n,s){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:pg(s.networkMode)?"fetching":"paused",...n===void 0&&{error:null,status:"pending"}}}function i0(n){const s=typeof n.initialData=="function"?n.initialData():n.initialData,i=s!==void 0,l=i?typeof n.initialDataUpdatedAt=="function"?n.initialDataUpdatedAt():n.initialDataUpdatedAt:0;return{data:s,dataUpdateCount:0,dataUpdatedAt:i?l??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}var Ci=class extends ms{constructor(n,s){super(),this.options=s,this.#t=n,this.#i=null,this.#l=yf(),this.bindMethods(),this.setOptions(s)}#t;#e=void 0;#n=void 0;#s=void 0;#a;#r;#l;#i;#h;#f;#d;#c;#u;#o;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),l0(this.#e,this.options)?this.#m():this.updateResult(),this.#x())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return xf(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return xf(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#w(),this.#e.removeObserver(this)}setOptions(n){const s=this.options,i=this.#e;if(this.options=this.#t.defaultQueryOptions(n),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof sn(this.options.enabled,this.#e)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#S(),this.#e.setOptions(this.options),s._defaulted&&!Ei(this.options,s)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const l=this.hasListeners();l&&o0(this.#e,i,this.options,s)&&this.#m(),this.updateResult(),l&&(this.#e!==i||sn(this.options.enabled,this.#e)!==sn(s.enabled,this.#e)||Ma(this.options.staleTime,this.#e)!==Ma(s.staleTime,this.#e))&&this.#g();const c=this.#y();l&&(this.#e!==i||sn(this.options.enabled,this.#e)!==sn(s.enabled,this.#e)||c!==this.#o)&&this.#v(c)}getOptimisticResult(n){const s=this.#t.getQueryCache().build(this.#t,n),i=this.createResult(s,n);return e1(this,i)&&(this.#s=i,this.#r=this.options,this.#a=this.#e.state),i}getCurrentResult(){return this.#s}trackResult(n,s){return new Proxy(n,{get:(i,l)=>(this.trackProp(l),s?.(l),l==="promise"&&!this.options.experimental_prefetchInRender&&this.#l.status==="pending"&&this.#l.reject(new Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(i,l))})}trackProp(n){this.#p.add(n)}getCurrentQuery(){return this.#e}refetch({...n}={}){return this.fetch({...n})}fetchOptimistic(n){const s=this.#t.defaultQueryOptions(n),i=this.#t.getQueryCache().build(this.#t,s);return i.fetch().then(()=>this.createResult(i,s))}fetch(n){return this.#m({...n,cancelRefetch:n.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#s))}#m(n){this.#S();let s=this.#e.fetch(this.options,n);return n?.throwOnError||(s=s.catch(xt)),s}#g(){this.#b();const n=Ma(this.options.staleTime,this.#e);if(fs||this.#s.isStale||!mf(n))return;const i=dg(this.#s.dataUpdatedAt,n)+1;this.#c=us.setTimeout(()=>{this.#s.isStale||this.updateResult()},i)}#y(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#v(n){this.#w(),this.#o=n,!(fs||sn(this.options.enabled,this.#e)===!1||!mf(this.#o)||this.#o===0)&&(this.#u=us.setInterval(()=>{(this.options.refetchIntervalInBackground||Vf.isFocused())&&this.#m()},this.#o))}#x(){this.#g(),this.#v(this.#y())}#b(){this.#c&&(us.clearTimeout(this.#c),this.#c=void 0)}#w(){this.#u&&(us.clearInterval(this.#u),this.#u=void 0)}createResult(n,s){const i=this.#e,l=this.options,c=this.#s,f=this.#a,d=this.#r,m=n!==i?n.state:this.#n,{state:y}=n;let b={...y},v=!1,w;if(s._optimisticResults){const U=this.hasListeners(),W=!U&&l0(n,s),ne=U&&o0(n,i,s,l);(W||ne)&&(b={...b,...vg(y.data,n.options)}),s._optimisticResults==="isRestoring"&&(b.fetchStatus="idle")}let{error:O,errorUpdatedAt:_,status:j}=b;w=b.data;let H=!1;if(s.placeholderData!==void 0&&w===void 0&&j==="pending"){let U;c?.isPlaceholderData&&s.placeholderData===d?.placeholderData?(U=c.data,H=!0):U=typeof s.placeholderData=="function"?s.placeholderData(this.#d?.state.data,this.#d):s.placeholderData,U!==void 0&&(j="success",w=gf(c?.data,U,s),v=!0)}if(s.select&&w!==void 0&&!H)if(c&&w===f?.data&&s.select===this.#h)w=this.#f;else try{this.#h=s.select,w=s.select(w),w=gf(c?.data,w,s),this.#f=w,this.#i=null}catch(U){this.#i=U}this.#i&&(O=this.#i,w=this.#f,_=Date.now(),j="error");const L=b.fetchStatus==="fetching",J=j==="pending",ee=j==="error",ae=J&&L,P=w!==void 0,C={status:j,fetchStatus:b.fetchStatus,isPending:J,isSuccess:j==="success",isError:ee,isInitialLoading:ae,isLoading:ae,data:w,dataUpdatedAt:b.dataUpdatedAt,error:O,errorUpdatedAt:_,failureCount:b.fetchFailureCount,failureReason:b.fetchFailureReason,errorUpdateCount:b.errorUpdateCount,isFetched:b.dataUpdateCount>0||b.errorUpdateCount>0,isFetchedAfterMount:b.dataUpdateCount>m.dataUpdateCount||b.errorUpdateCount>m.errorUpdateCount,isFetching:L,isRefetching:L&&!J,isLoadingError:ee&&!P,isPaused:b.fetchStatus==="paused",isPlaceholderData:v,isRefetchError:ee&&P,isStale:Pf(n,s),refetch:this.refetch,promise:this.#l,isEnabled:sn(s.enabled,n)!==!1};if(this.options.experimental_prefetchInRender){const U=se=>{C.status==="error"?se.reject(C.error):C.data!==void 0&&se.resolve(C.data)},W=()=>{const se=this.#l=C.promise=yf();U(se)},ne=this.#l;switch(ne.status){case"pending":n.queryHash===i.queryHash&&U(ne);break;case"fulfilled":(C.status==="error"||C.data!==ne.value)&&W();break;case"rejected":(C.status!=="error"||C.error!==ne.reason)&&W();break}}return C}updateResult(){const n=this.#s,s=this.createResult(this.#e,this.options);if(this.#a=this.#e.state,this.#r=this.options,this.#a.data!==void 0&&(this.#d=this.#e),Ei(s,n))return;this.#s=s;const i=()=>{if(!n)return!0;const{notifyOnChangeProps:l}=this.options,c=typeof l=="function"?l():l;if(c==="all"||!c&&!this.#p.size)return!0;const f=new Set(c??this.#p);return this.options.throwOnError&&f.add("error"),Object.keys(this.#s).some(d=>{const h=d;return this.#s[h]!==n[h]&&f.has(h)})};this.#E({listeners:i()})}#S(){const n=this.#t.getQueryCache().build(this.#t,this.options);if(n===this.#e)return;const s=this.#e;this.#e=n,this.#n=n.state,this.hasListeners()&&(s?.removeObserver(this),n.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#x()}#E(n){Ze.batch(()=>{n.listeners&&this.listeners.forEach(s=>{s(this.#s)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}};function Wb(n,s){return sn(s.enabled,n)!==!1&&n.state.data===void 0&&!(n.state.status==="error"&&s.retryOnMount===!1)}function l0(n,s){return Wb(n,s)||n.state.data!==void 0&&xf(n,s,s.refetchOnMount)}function xf(n,s,i){if(sn(s.enabled,n)!==!1&&Ma(s.staleTime,n)!=="static"){const l=typeof i=="function"?i(n):i;return l==="always"||l!==!1&&Pf(n,s)}return!1}function o0(n,s,i,l){return(n!==s||sn(l.enabled,n)===!1)&&(!i.suspense||n.state.status!=="error")&&Pf(n,i)}function Pf(n,s){return sn(s.enabled,n)!==!1&&n.isStaleByTime(Ma(s.staleTime,n))}function e1(n,s){return!Ei(n.getCurrentResult(),s)}function ho(n){return{onFetch:(s,i)=>{const l=s.options,c=s.fetchOptions?.meta?.fetchMore?.direction,f=s.state.data?.pages||[],d=s.state.data?.pageParams||[];let h={pages:[],pageParams:[]},m=0;const y=async()=>{let b=!1;const v=_=>{Object.defineProperty(_,"signal",{enumerable:!0,get:()=>(s.signal.aborted?b=!0:s.signal.addEventListener("abort",()=>{b=!0}),s.signal)})},w=hg(s.options,s.fetchOptions),O=async(_,j,H)=>{if(b)return Promise.reject();if(j==null&&_.pages.length)return Promise.resolve(_);const J=(()=>{const X={client:s.client,queryKey:s.queryKey,pageParam:j,direction:H?"backward":"forward",meta:s.options.meta};return v(X),X})(),ee=await w(J),{maxPages:ae}=s.options,P=H?Xb:Pb;return{pages:P(_.pages,ee,ae),pageParams:P(_.pageParams,j,ae)}};if(c&&f.length){const _=c==="backward",j=_?xg:bf,H={pages:f,pageParams:d},L=j(l,H);h=await O(H,L,_)}else{const _=n??f.length;do{const j=m===0?d[0]??l.initialPageParam:bf(l,h);if(m>0&&j==null)break;h=await O(h,j),m++}while(m<_)}return h};s.options.persister?s.fetchFn=()=>s.options.persister?.(y,{client:s.client,queryKey:s.queryKey,meta:s.options.meta,signal:s.signal},i):s.fetchFn=y}}}function bf(n,{pages:s,pageParams:i}){const l=s.length-1;return s.length>0?n.getNextPageParam(s[l],s,i[l],i):void 0}function xg(n,{pages:s,pageParams:i}){return s.length>0?n.getPreviousPageParam?.(s[0],s,i[0],i):void 0}function t1(n,s){return s?bf(n,s)!=null:!1}function n1(n,s){return!s||!n.getPreviousPageParam?!1:xg(n,s)!=null}var bg=class extends Ci{constructor(n,s){super(n,s)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(n){super.setOptions({...n,behavior:ho()})}getOptimisticResult(n){return n.behavior=ho(),super.getOptimisticResult(n)}fetchNextPage(n){return this.fetch({...n,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(n){return this.fetch({...n,meta:{fetchMore:{direction:"backward"}}})}createResult(n,s){const{state:i}=n,l=super.createResult(n,s),{isFetching:c,isRefetching:f,isError:d,isRefetchError:h}=l,m=i.fetchMeta?.fetchMore?.direction,y=d&&m==="forward",b=c&&m==="forward",v=d&&m==="backward",w=c&&m==="backward";return{...l,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:t1(s,i.data),hasPreviousPage:n1(s,i.data),isFetchNextPageError:y,isFetchingNextPage:b,isFetchPreviousPageError:v,isFetchingPreviousPage:w,isRefetchError:h&&!y&&!v,isRefetching:f&&!b&&!w}}},a1=class extends yg{#t;#e;#n;#s;constructor(n){super(),this.#t=n.client,this.mutationId=n.mutationId,this.#n=n.mutationCache,this.#e=[],this.state=n.state||wg(),this.setOptions(n.options),this.scheduleGc()}setOptions(n){this.options=n,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(n){this.#e.includes(n)||(this.#e.push(n),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:n}))}removeObserver(n){this.#e=this.#e.filter(s=>s!==n),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:n})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#s?.continue()??this.execute(this.state.variables)}async execute(n){const s=()=>{this.#a({type:"continue"})},i={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#s=gg({fn:()=>this.options.mutationFn?this.options.mutationFn(n,i):Promise.reject(new Error("No mutationFn found")),onFail:(f,d)=>{this.#a({type:"failed",failureCount:f,error:d})},onPause:()=>{this.#a({type:"pause"})},onContinue:s,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const l=this.state.status==="pending",c=!this.#s.canStart();try{if(l)s();else{this.#a({type:"pending",variables:n,isPaused:c}),await this.#n.config.onMutate?.(n,this,i);const d=await this.options.onMutate?.(n,i);d!==this.state.context&&this.#a({type:"pending",context:d,variables:n,isPaused:c})}const f=await this.#s.start();return await this.#n.config.onSuccess?.(f,n,this.state.context,this,i),await this.options.onSuccess?.(f,n,this.state.context,i),await this.#n.config.onSettled?.(f,null,this.state.variables,this.state.context,this,i),await this.options.onSettled?.(f,null,n,this.state.context,i),this.#a({type:"success",data:f}),f}catch(f){try{throw await this.#n.config.onError?.(f,n,this.state.context,this,i),await this.options.onError?.(f,n,this.state.context,i),await this.#n.config.onSettled?.(void 0,f,this.state.variables,this.state.context,this,i),await this.options.onSettled?.(void 0,f,n,this.state.context,i),f}finally{this.#a({type:"error",error:f})}}finally{this.#n.runNext(this)}}#a(n){const s=i=>{switch(n.type){case"failed":return{...i,failureCount:n.failureCount,failureReason:n.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:n.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:n.isPaused,status:"pending",variables:n.variables,submittedAt:Date.now()};case"success":return{...i,data:n.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:n.error,failureCount:i.failureCount+1,failureReason:n.error,isPaused:!1,status:"error"}}};this.state=s(this.state),Ze.batch(()=>{this.#e.forEach(i=>{i.onMutationUpdate(n)}),this.#n.notify({mutation:this,type:"updated",action:n})})}};function wg(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var s1=class extends ms{constructor(n={}){super(),this.config=n,this.#t=new Set,this.#e=new Map,this.#n=0}#t;#e;#n;build(n,s,i){const l=new a1({client:n,mutationCache:this,mutationId:++this.#n,options:n.defaultMutationOptions(s),state:i});return this.add(l),l}add(n){this.#t.add(n);const s=$l(n);if(typeof s=="string"){const i=this.#e.get(s);i?i.push(n):this.#e.set(s,[n])}this.notify({type:"added",mutation:n})}remove(n){if(this.#t.delete(n)){const s=$l(n);if(typeof s=="string"){const i=this.#e.get(s);if(i)if(i.length>1){const l=i.indexOf(n);l!==-1&&i.splice(l,1)}else i[0]===n&&this.#e.delete(s)}}this.notify({type:"removed",mutation:n})}canRun(n){const s=$l(n);if(typeof s=="string"){const l=this.#e.get(s)?.find(c=>c.state.status==="pending");return!l||l===n}else return!0}runNext(n){const s=$l(n);return typeof s=="string"?this.#e.get(s)?.find(l=>
9l!==n&&l.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Ze.batch(()=>{this.#t.forEach(n=>{this.notify({type:"removed",mutation:n})}),this.#t.clear(),this.#e.clear()})}getAll(){return Array.from(this.#t)}find(n){const s={exact:!0,...n};return this.getAll().find(i=>a0(s,i))}findAll(n={}){return this.getAll().filter(s=>a0(n,s))}notify(n){Ze.batch(()=>{this.listeners.forEach(s=>{s(n)})})}resumePausedMutations(){const n=this.getAll().filter(s=>s.state.isPaused);return Ze.batch(()=>Promise.all(n.map(s=>s.continue().catch(xt))))}};function $l(n){return n.options.scope?.id}var r1=class extends ms{#t;#e=void 0;#n;#s;constructor(s,i){super(),this.#t=s,this.setOptions(i),this.bindMethods(),this.#a()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(s){const i=this.options;this.options=this.#t.defaultMutationOptions(s),Ei(this.options,i)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),i?.mutationKey&&this.options.mutationKey&&Ra(i.mutationKey)!==Ra(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(s){this.#a(),this.#r(s)}getCurrentResult(){return this.#e}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#a(),this.#r()}mutate(s,i){return this.#s=i,this.#n?.removeObserver(this),this.#n=this.#t.getMutationCache().build(this.#t,this.options),this.#n.addObserver(this),this.#n.execute(s)}#a(){const s=this.#n?.state??wg();this.#e={...s,isPending:s.status==="pending",isSuccess:s.status==="success",isError:s.status==="error",isIdle:s.status==="idle",mutate:this.mutate,reset:this.reset}}#r(s){Ze.batch(()=>{if(this.#s&&this.hasListeners()){const i=this.#e.variables,l=this.#e.context,c={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};s?.type==="success"?(this.#s.onSuccess?.(s.data,i,l,c),this.#s.onSettled?.(s.data,null,i,l,c)):s?.type==="error"&&(this.#s.onError?.(s.error,i,l,c),this.#s.onSettled?.(void 0,s.error,i,l,c))}this.listeners.forEach(i=>{i(this.#e)})})}};function c0(n,s){const i=new Set(s);return n.filter(l=>!i.has(l))}function i1(n,s,i){const l=n.slice(0);return l[s]=i,l}var l1=class extends ms{#t;#e;#n;#s;#a;#r;#l;#i;#h=[];constructor(n,s,i){super(),this.#t=n,this.#s=i,this.#n=[],this.#a=[],this.#e=[],this.setQueries(s)}onSubscribe(){this.listeners.size===1&&this.#a.forEach(n=>{n.subscribe(s=>{this.#u(n,s)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#a.forEach(n=>{n.destroy()})}setQueries(n,s){this.#n=n,this.#s=s,Ze.batch(()=>{const i=this.#a,l=this.#c(this.#n);this.#h=l,l.forEach(b=>b.observer.setOptions(b.defaultedQueryOptions));const c=l.map(b=>b.observer),f=c.map(b=>b.getCurrentResult()),d=i.length!==c.length,h=c.some((b,v)=>b!==i[v]),m=d||h,y=m?!0:f.some((b,v)=>{const w=this.#e[v];return!w||!Ei(b,w)});!m&&!y||(m&&(this.#a=c),this.#e=f,this.hasListeners()&&(m&&(c0(i,c).forEach(b=>{b.destroy()}),c0(c,i).forEach(b=>{b.subscribe(v=>{this.#u(b,v)})})),this.#o()))})}getCurrentResult(){return this.#e}getQueries(){return this.#a.map(n=>n.getCurrentQuery())}getObservers(){return this.#a}getOptimisticResult(n,s){const i=this.#c(n),l=i.map(c=>c.observer.getOptimisticResult(c.defaultedQueryOptions));return[l,c=>this.#d(c??l,s),()=>this.#f(l,i)]}#f(n,s){return s.map((i,l)=>{const c=n[l];return i.defaultedQueryOptions.notifyOnChangeProps?c:i.observer.trackResult(c,f=>{s.forEach(d=>{d.observer.trackProp(f)})})})}#d(n,s){return s?((!this.#r||this.#e!==this.#i||s!==this.#l)&&(this.#l=s,this.#i=this.#e,this.#r=Gf(this.#r,s(n))),this.#r):n}#c(n){const s=new Map(this.#a.map(l=>[l.options.queryHash,l])),i=[];return n.forEach(l=>{const c=this.#t.defaultQueryOptions(l),f=s.get(c.queryHash);f?i.push({defaultedQueryOptions:c,observer:f}):i.push({defaultedQueryOptions:c,observer:new Ci(this.#t,c)})}),i}#u(n,s){const i=this.#a.indexOf(n);i!==-1&&(this.#e=i1(this.#e,i,s),this.#o())}#o(){if(this.hasListeners()){const n=this.#r,s=this.#f(this.#e,this.#h),i=this.#d(s,this.#s?.combine);n!==i&&Ze.batch(()=>
vendor: 8,747 bytes, lines 9-17
9{this.listeners.forEach(l=>{l(this.#e)})})}}},o1=class extends ms{constructor(n={}){super(),this.config=n,this.#t=new Map}#t;build(n,s,i){const l=s.queryKey,c=s.queryHash??Yf(l,s);let f=this.get(c);return f||(f=new Ib({client:n,queryKey:l,queryHash:c,options:n.defaultQueryOptions(s),state:i,defaultOptions:n.getQueryDefaults(l)}),this.add(f)),f}add(n){this.#t.has(n.queryHash)||(this.#t.set(n.queryHash,n),this.notify({type:"added",query:n}))}remove(n){const s=this.#t.get(n.queryHash);s&&(n.destroy(),s===n&&this.#t.delete(n.queryHash),this.notify({type:"removed",query:n}))}clear(){Ze.batch(()=>{this.getAll().forEach(n=>{this.remove(n)})})}get(n){return this.#t.get(n)}getAll(){return[...this.#t.values()]}find(n){const s={exact:!0,...n};return this.getAll().find(i=>n0(s,i))}findAll(n={}){const s=this.getAll();return Object.keys(n).length>0?s.filter(i=>n0(n,i)):s}notify(n){Ze.batch(()=>{this.listeners.forEach(s=>{s(n)})})}onFocus(){Ze.batch(()=>{this.getAll().forEach(n=>{n.onFocus()})})}onOnline(){Ze.batch(()=>{this.getAll().forEach(n=>{n.onOnline()})})}},c1=class{#t;#e;#n;#s;#a;#r;#l;#i;constructor(n={}){this.#t=n.queryCache||new o1,this.#e=n.mutationCache||new s1,this.#n=n.defaultOptions||{},this.#s=new Map,this.#a=new Map,this.#r=0}mount(){this.#r++,this.#r===1&&(this.#l=Vf.subscribe(async n=>{n&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#i=fo.subscribe(async n=>{n&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#r--,this.#r===0&&(this.#l?.(),this.#l=void 0,this.#i?.(),this.#i=void 0)}isFetching(n){return this.#t.findAll({...n,fetchStatus:"fetching"}).length}isMutating(n){return this.#e.findAll({...n,status:"pending"}).length}getQueryData(n){const s=this.defaultQueryOptions({queryKey:n});return this.#t.get(s.queryHash)?.state.data}ensureQueryData(n){const s=this.defaultQueryOptions(n),i=this.#t.build(this,s),l=i.state.data;return l===void 0?this.fetchQuery(n):(n.revalidateIfStale&&i.isStaleByTime(Ma(s.staleTime,i))&&this.prefetchQuery(s),Promise.resolve(l))}getQueriesData(n){return this.#t.findAll(n).map(({queryKey:s,state:i})=>{const l=i.data;return[s,l]})}setQueryData(n,s,i){const l=this.defaultQueryOptions({queryKey:n}),f=this.#t.get(l.queryHash)?.state.data,d=Yb(s,f);if(d!==void 0)return this.#t.build(this,l).setData(d,{...i,manual:!0})}setQueriesData(n,s,i){return Ze.batch(()=>this.#t.findAll(n).map(({queryKey:l})=>[l,this.setQueryData(l,s,i)]))}getQueryState(n){const s=this.defaultQueryOptions({queryKey:n});return this.#t.get(s.queryHash)?.state}removeQueries(n){const s=this.#t;Ze.batch(()=>{s.findAll(n).forEach(i=>{s.remove(i)})})}resetQueries(n,s){const i=this.#t;return Ze.batch(()=>(i.findAll(n).forEach(l=>{l.reset()}),this.refetchQueries({type:"active",...n},s)))}cancelQueries(n,s={}){const i={revert:!0,...s},l=Ze.batch(()=>this.#t.findAll(n).map(c=>c.cancel(i)));return Promise.all(l).then(xt).catch(xt)}invalidateQueries(n,s={}){return Ze.batch(()=>(this.#t.findAll(n).forEach(i=>{i.invalidate()}),n?.refetchType==="none"?Promise.resolve():this.refetchQueries({...n,type:n?.refetchType??n?.type??"active"},s)))}refetchQueries(n,s={}){const i={...s,cancelRefetch:s.cancelRefetch??!0},l=Ze.batch(()=>this.#t.findAll(n).filter(c=>!c.isDisabled()&&!c.isStatic()).map(c=>{let f=c.fetch(void 0,i);return i.throwOnError||(f=f.catch(xt)),c.state.fetchStatus==="paused"?Promise.resolve():f}));return Promise.all(l).then(xt)}fetchQuery(n){const s=this.defaultQueryOptions(n);s.retry===void 0&&(s.retry=!1);const i=this.#t.build(this,s);return i.isStaleByTime(Ma(s.staleTime,i))?i.fetch(s):Promise.resolve(i.state.data)}prefetchQuery(n){return this.fetchQuery(n).then(xt).catch(xt)}fetchInfiniteQuery(n){return n.behavior=ho(n.pages),this.fetchQuery(n)}prefetchInfiniteQuery(n){return this.fetchInfiniteQuery(n).then(xt).catch(xt)}ensureInfiniteQueryData(n){return n.behavior=ho(n.pages),this.ensureQueryData(n)}resumePausedMutations(){return fo.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#n}setDefaultOptions(n){this.#n=n}setQueryDefaults(n,s){this.#s.set(Ra(n),{queryKey:n,defaultOptions:s})}getQueryDefaults(n){const s=[...this.#s.values()],i={};return s.forEach(l=>{Si(n,l.queryKey)&&Object.assign(i,l.defaultOptions)}),i}setMutationDefaults(n,s){this.#a.set(Ra(n),{mutationKey:n,defaultOptions:s})}getMutationDefaults(n){const s=[...this.#a.values()],i={};return s.forEach(l=>{Si(n,l.mutationKey)&&Object.assign(i,l.defaultOptions)}),i}defaultQueryOptions(n){if(n._defaulted)return n;const s={...this.#n.queries,...this.getQueryDefaults(n.queryKey),...n,_defaulted:!0};return s.queryHash||(s.queryHash=Yf(s.queryKey,s)),s.refetchOnReconnect===void 0&&(s.refetchOnReconnect=s.networkMode!=="always"),s.throwOnError===void 0&&(s.throwOnError=!!s.suspense),!s.networkMode&&s.persister&&(s.networkMode="offlineFirst"),s.queryFn===Xt&&(s.enabled=!1),s}defaultMutationOptions(n){return n?._defaulted?n:{...this.#n.mutations,...n?.mutationKey&&this.getMutationDefaults(n.mutationKey),...n,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}},Ju={exports:{}},be={};/**
10 * @license React
11 * react.production.js
12 *
13 * Copyright (c) Meta Platforms, Inc. and affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var u0;function u1(){if(u0)return be;u0=1;var n=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),d=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),w=Symbol.iterator;function O(S){return S===null||typeof S!="object"?null:(S=w&&S[w]||S["@@iterator"],typeof S=="function"?S:null)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j=Object.assign,H={};function L(S,Y,k){this.props=S,this.context=Y,this.refs=H,this.updater=k||_}L.prototype.isReactComponent={},L.prototype.setState=function(S,Y){if(typeof S!="object"&&typeof S!="function"&&S!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,S,Y,"setState")},L.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function J(){}J.prototype=L.prototype;function ee(S,Y,k){this.props=S,this.context=Y,this.refs=H,this.updater=k||_}var ae=ee.prototype=new J;ae.constructor=ee,j(ae,L.prototype),ae.isPureReactComponent=!0;var P=Array.isArray;function X(){}var C={H:null,A:null,T:null,S:null},U=Object.prototype.hasOwnProperty;function W(S,Y,k){var G=k.ref;return{$$typeof:n,type:S,key:Y,ref:G!==void 0?G:null,props:k}}function ne(S,Y){return W(S.type,Y,S.props)}function se(S){return typeof S=="object"&&S!==null&&S.$$typeof===n}function te(S){var Y={"=":"=0",":":"=2"};return"$"+S.replace(/[=:]/g,function(k){return Y[k]})}var $=/\/+/g;function re(S,Y){return typeof S=="object"&&S!==null&&S.key!=null?te(""+S.key):Y.toString(36)}function ue(S){switch(S.status){case"fulfilled":return S.value;case"rejected":throw S.reason;default:switch(typeof S.status=="string"?S.then(X,X):(S.status="pending",S.then(function(Y){S.status==="pending"&&(S.status="fulfilled",S.value=Y)},function(Y){S.status==="pending"&&(S.status="rejected",S.reason=Y)})),S.status){case"fulfilled":return S.value;case"rejected":throw S.reason}}throw S}function T(S,Y,k,G,I){var Z=typeof S;(Z==="undefined"||Z==="boolean")&&(S=null);var oe=!1;if(S===null)oe=!0;else switch(Z){case"bigint":case"string":case"number":oe=!0;break;case"object":switch(S.$$typeof){case n:case s:oe=!0;break;case b:return oe=S._init,T(oe(S._payload),Y,k,G,I)}}if(oe)return I=I(S),oe=G===""?"."+re(S,0):G,P(I)?(k="",oe!=null&&(k=oe.replace($,"$&/")+"/"),T(I,Y,k,"",function(at){return at})):I!=null&&(se(I)&&(I=ne(I,k+(I.key==null||S&&S.key===I.key?"":(""+I.key).replace($,"$&/")+"/")+oe)),Y.push(I)),1;oe=0;var ve=G===""?".":G+":";if(P(S))for(var Oe=0;Oe<S.length;Oe++)G=S[Oe],Z=ve+re(G,Oe),oe+=T(G,Y,k,Z,I);else if(Oe=O(S),typeof Oe=="function")for(S=Oe.call(S),Oe=0;!(G=S.next()).done;)G=G.value,Z=ve+re(G,Oe++),oe+=T(G,Y,k,Z,I);else if(Z==="object"){if(typeof S.then=="function")return T(ue(S),Y,k,G,I);throw Y=String(S),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return oe}
17function B(S,Y,k){if(S==null)return S;var G=[],I=0;return T(S,G,"","",function(Z){return Y.call(k,Z,I++)}),G}function R(S){if(S._status===-1){var Y=S._result;Y=Y(),Y.then(function(k){(S._status===0||S._status===-1)&&(S._status=1,S._result=k)},function(k){(S._status===0||S._status===-1)&&(S._status=2,S._result=k)}),S._status===-1&&(S._status=0,S._result=Y)}if(S._status===1)return S._result.default;throw S._result}var le=typeof reportError=="function"?reportError:function(S){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof S=="object"&&S!==null&&typeof S.message=="string"?String(S.message):String(S),error:S});if(!window.dispatchEvent(Y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",S);return}console.error(S)},fe={map:B,forEach:function(S,Y,k){B(S,function(){Y.apply(this,arguments)},k)},count:function(S){var Y=0;return B(S,function(){Y++}),Y},toArray:function(S){return B(S,function(Y){return Y})||[]},only:function(S){if(!se(S))throw Error("React.Children.only expected to receive a single React element child.");return S}};return be.Activity=v,be.Children=fe,be.Component=L,be.Fragment=i,be.Profiler=c,be.PureComponent=ee,be.StrictMode=l,be.Suspense=m,be.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=C,be.__COMPILER_RUNTIME={__proto__:null,c:function(S){return C.H.useMemoCache(S)}},be.cache=function(S){return function(){return S.apply(null,arguments)}},be.cacheSignal=function(){return null},be.cloneElement=function(S,Y,k){if(S==null)throw Error("The argument must be a React element, but you passed "+S+".");var G=j({},S.props),I=S.key;if(Y!=null)for(Z in Y.key!==void 0&&(I=""+Y.key),Y)!U.call(Y,Z)||Z==="key"||Z==="__self"||Z==="__source"||Z==="ref"&&Y.ref===void 0||(G[Z]=Y[Z]);var Z=arguments.length-2;if(Z===1)G.children=k;else if(1<Z){for(var oe=Array(Z),ve=0;ve<Z;ve++)oe[ve]=arguments[ve+2];G.children=oe}return W(S.type,I,G)},be.createContext=function(S){return S={$$typeof:d,_currentValue:S,_currentValue2:S,_threadCount:0,Provider:null,Consumer:null},S.Provider=S,S.Consumer={$$typeof:f,_context:S},S},be.createElement=function(S,Y,k){var G,I={},Z=null;if(Y!=null)for(G in Y.key!==void 0&&(Z=""+Y.key),Y)U.call(Y,G)&&G!=="key"&&G!=="__self"&&G!=="__source"&&(I[G]=Y[G]);var oe=arguments.length-2;if(oe===1)I.children=k;else if(1<oe){for(var ve=Array(oe),Oe=0;Oe<oe;Oe++)ve[Oe]=arguments[Oe+2];I.children=ve}if(S&&S.defaultProps)for(G in oe=S.defaultProps,oe)I[G]===void 0&&(I[G]=oe[G]);return W(S,Z,I)},be.createRef=function(){return{current:null}},be.forwardRef=function(S){return{$$typeof:h,render:S}},be.isValidElement=se,be.lazy=function(S){return{$$typeof:b,_payload:{_status:-1,_result:S},_init:R}},be.memo=function(S,Y){return{$$typeof:y,type:S,compare:Y===void 0?null:Y}},be.startTransition=function(S){var Y=C.T,k={};C.T=k;try{var G=S(),I=C.S;I!==null&&I(k,G),typeof G=="object"&&G!==null&&typeof G.then=="function"&&G.then(X,le)}catch(Z){le(Z)}finally{Y!==null&&k.types!==null&&(Y.types=k.types),C.T=Y}},be.unstable_useCacheRefresh=function(){return C.H.useCacheRefresh()},be.use=function(S){return C.H.use(S)},be.useActionState=function(S,Y,k){return C.H.useActionState(S,Y,k)},be.useCallback=function(S,Y){return C.H.useCallback(S,Y)},be.useContext=function(S){return C.H.useContext(S)},be.useDebugValue=function(){},be.useDeferredValue=function(S,Y){return C.H.useDeferredValue(S,Y)},be.useEffect=function(S,Y){return C.H.useEffect(S,Y)},be.useEffectEvent=function(S){return C.H.useEffectEvent(S)},be.useId=function(){return C.H.useId()},be.useImperativeHandle=function(S,Y,k){return C.H.useImperativeHandle(S,Y,k)},be.useInsertionEffect=function(S,Y){return C.H.useInsertionEffect(S,Y)},be.useLayoutEffect=function(S,Y){return C.H.useLayoutEffect(S,Y)},be.useMemo=function(S,Y){return C.H.useMemo(S,Y)},be.useOptimistic=function(S,Y){return C.H.useOptimistic(S,Y)},be.useReducer=function(S,Y,k){return C.H.useReducer(S,Y,k)},be.useRef=function(S){return C.H.useRef(S)},be.useState=function(S){return C.H.useState(S)},be.useSyncExternalStore=function(S,Y,k){return C.H.useSyncExternalStore(S,Y,k)},be.useTransition=function(){return C.H.useTransition()},be.version="19.2.1",be}var f0;function bo(){return f0||(f0=1,Ju.exports=u1()),Ju.exports}var A=bo();const ie=fg(A),Sg=kb({__proto__:null,default:ie},[A]);var Eg=A.createContext(void 0),Mi=n=>{const s=A.useContext(Eg);if(n)return n;if(!s)throw new Error("No QueryClient set, use QueryClientProvider to set one");return s},f1=({client:n,children:s})=>(A.useEffect(()=>(n.mount(),()=>{n.unmount()}),[n]),g.jsx(Eg.Provider,{value:n,children:s})),Og=A.createContext(!1),jg=()=>A.useContext(Og);Og.Provider;function d1(){let n=!1;return{clearReset:()=>{n=!1},reset:()=>{n=!0},isReset:()=>n}}var h1=A.createContext(d1()),Ag=()=>A.useContext(h1),Tg=(n,s)=>{(n.suspense||n.throwOnError||n.experimental_prefetchInRender)&&(s.isReset()||(n.retryOnMount=!1))},_g=n=>{A.useEffect(()=>{n.clearReset()},[n])},Ng=({result:n,errorResetBoundary:s,throwOnError:i,query:l,suspense:c})=>n.isError&&!s.isReset()&&!n.isFetching&&l&&(c&&n.data===void 0||mg(i,[n.error,l])),Xf=(n,s)=>s.state.data===void 0,Cg=n=>{if(n.suspense){const i=c=>c==="static"?c:Math.max(c??1e3,1e3),l=n.staleTime;n.staleTime=typeof l=="function"?(...c)=>i(l(...c)):i(l),typeof n.gcTime=="number"&&(n.gcTime=Math.max(n.gcTime,1e3))}},Mg=(n,s)=>n.isLoading&&n.isFetching&&!s,wf=(n,s)=>n?.suspense&&s.isPending,mo=(n,s,i)=>s.fetchOptimistic(n).catch(()=>{i.clearReset()});function Rg({queries:n,...s},i){const l=Mi(i),c=jg(),f=Ag(),d=A.useMemo(()=>n.map(j=>{const H=l.defaultQueryOptions(j);return H._optimisticResults=c?"isRestoring":"optimistic",H}),[n,l,c]);d.forEach(j=>{Cg(j),Tg(j,f)}),_g(f);const[h]=A.useState(()=>new l1(l,d,s)),[m,y,b]=h.getOptimisticResult(d,s.combine),v=!c&&s.subscribed!==!1;A.useSyncExternalStore(A.useCallback(j=>v?h.subscribe(Ze.batchCalls(j)):xt,[h,v]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),A.useEffect(()=>{h.setQueries(d,s)},[d,s,h]);const O=m.some((j,H)=>wf(d[H],j))?m.flatMap((j,H)=>{const L=d[H];if(L){const J=new Ci(l,L);if(wf(L,j))return mo(L,J,f);Mg(j,c)&&mo(L,J,f)}return[]}):[];if(O.length>0)throw Promise.all(O);const _=m.find((j,H)=>{const L=d[H];return L&&Ng({result:j,errorResetBoundary:f,throwOnError:L.throwOnError,query:l.getQueryCache().get(L.queryHash),suspense:L.suspense})});if(_?.error)throw _.error;return y(b())}
17function wo(n,s,i){const l=jg(),c=Ag(),f=Mi(i),d=f.defaultQueryOptions(n);f.getDefaultOptions().queries?._experimental_beforeQuery?.(d),d._optimisticResults=l?"isRestoring":"optimistic",Cg(d),Tg(d,c),_g(c);const h=!f.getQueryCache().get(d.queryHash),[m]=A.useState(()=>new s(f,d)),y=m.getOptimisticResult(d),b=!l&&n.subscribed!==!1;if(A.useSyncExternalStore(A.useCallback(v=>{const w=b?m.subscribe(Ze.batchCalls(v)):xt;return m.updateResult(),w},[m,b]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),A.useEffect(()=>{m.setOptions(d)},[d,m]),wf(d,y))throw mo(d,m,c);if(Ng({result:y,errorResetBoundary:c,throwOnError:d.throwOnError,query:f.getQueryCache().get(d.queryHash),suspense:d.suspense}))throw y.error;return f.getDefaultOptions().queries?._experimental_afterQuery?.(d,y),d.experimental_prefetchInRender&&!fs&&Mg(y,l)&&(h?mo(d,m,c):f.getQueryCache().get(d.queryHash)?.promise)?.catch(xt).finally(()=>{m.updateResult()}),d.notifyOnChangeProps?y:m.trackResult(y)}function m1(n,s){return wo(n,Ci,s)}function p1(n,s){return wo({...n,enabled:!0,suspense:!0,throwOnError:Xf,placeholderData:void 0},Ci,s)}function g1(n,s){return wo({...n,enabled:!0,suspense:!0,throwOnError:Xf},bg,s)}function y1(n,s){return Rg({...n,queries:n.queries.map(i=>({...i,suspense:!0,throwOnError:Xf,enabled:!0,placeholderData:void 0}))},s)}function v1(n,s){const i=Mi(s);i.getQueryState(n.queryKey)||i.prefetchQuery(n)}function x1(n,s){const i=Mi(s);i.getQueryState(n.queryKey)||i.prefetchInfiniteQuery(n)}function b1(n,s){const i=Mi(s),[l]=A.useState(()=>new r1(i,n));A.useEffect(()=>{l.setOptions(n)},[l,n]);const c=A.useSyncExternalStore(A.useCallback(d=>l.subscribe(Ze.batchCalls(d)),[l]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),f=A.useCallback((d,h)=>{l.mutate(d,h).catch(xt)},[l]);if(c.error&&mg(l.options.throwOnError,[c.error]))throw c.error;return{...c,mutate:f,mutateAsync:c.mutate}}function w1(n,s){return wo(n,bg,s)}function ds(n){return!!n&&!Array.isArray(n)&&typeof n=="object"}const S1=typeof Symbol=="function"&&!!Symbol.asyncIterator;function zg(n){return S1&&ds(n)&&Symbol.asyncIterator in n}var E1=Object.create,Hg=Object.defineProperty,O1=Object.getOwnPropertyDescriptor,Dg=Object.getOwnPropertyNames,j1=Object.getPrototypeOf,A1=Object.prototype.hasOwnProperty,Ri=(n,s)=>function(){return s||(0,n[Dg(n)[0]])((s={exports:{}}).exports,s),s.exports},T1=(n,s,i,l)=>{if(s&&typeof s=="object"||typeof s=="function")for(var c=Dg(s),f=0,d=c.length,h;f<d;f++)h=c[f],!A1.call(n,h)&&h!==i&&Hg(n,h,{get:(m=>s[m]).bind(null,h),enumerable:!(l=O1(s,h))||l.enumerable});return n},So=(n,s,i)=>(i=n!=null?E1(j1(n)):{},T1(Hg(i,"default",{value:n,enumerable:!0}),n));const kg=()=>{},d0=n=>{Object.freeze&&Object.freeze(n)};function Ug(n,s,i){var l;const c=s.join(".");return(l=i[c])!==null&&l!==void 0||(i[c]=new Proxy(kg,{get(f,d){if(!(typeof d!="string"||d==="then"))return Ug(n,[...s,d],i)},apply(f,d,h){const m=s[s.length-1];let y={args:h,path:s};return m==="call"?y={args:h.length>=2?[h[1]]:[],path:s.slice(0,-1)}:m==="apply"&&(y={args:h.length>=2?h[1]:[],path:s.slice(0,-1)}),d0(y.args),d0(y.path),n(y)}})),i[c]}const Eo=n=>Ug(n,[],Object.create(null)),Kf=n=>new Proxy(kg,{get(s,i){if(i!=="then")return n(i)}});var qg=Ri({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(n,s){function i(l){"@babel/helpers - typeof";return s.exports=i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},s.exports.__esModule=!0,s.exports.default=s.exports,i(l)}s.exports=i,s.exports.__esModule=!0,s.exports.default=s.exports}}),_1=Ri({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(n,s){var i=qg().default;function l(c,f){if(i(c)!="object"||!c)return c;var d=c[Symbol.toPrimitive];if(d!==void 0){var h=d.call(c,f||"default");if(i(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(c)}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),N1=Ri({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(n,s){var i=qg().default,l=_1();function c(f){var d=l(f,"string");return i(d)=="symbol"?d:d+""}s.exports=c,s.exports.__esModule=!0,s.exports.default=s.exports}}),Lg=Ri({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/
17defineProperty.js"(n,s){var i=N1();function l(c,f,d){return(f=i(f))in c?Object.defineProperty(c,f,{value:d,enumerable:!0,configurable:!0,writable:!0}):c[f]=d,c}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),Zf=Ri({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(n,s){var i=Lg();function l(f,d){var h=Object.keys(f);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(f);d&&(m=m.filter(function(y){return Object.getOwnPropertyDescriptor(f,y).enumerable})),h.push.apply(h,m)}return h}function c(f){for(var d=1;d<arguments.length;d++){var h=arguments[d]!=null?arguments[d]:{};d%2?l(Object(h),!0).forEach(function(m){i(f,m,h[m])}):Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(h)):l(Object(h)).forEach(function(m){Object.defineProperty(f,m,Object.getOwnPropertyDescriptor(h,m))})}return f}s.exports=c,s.exports.__esModule=!0,s.exports.default=s.exports}});So(Zf());So(Lg());var Il=So(Zf());function C1(n,s){if("error"in n){const l=s.deserialize(n.error);return{ok:!1,error:(0,Il.default)((0,Il.default)({},n),{},{error:l})}}return{ok:!0,result:(0,Il.default)((0,Il.default)({},n.result),(!n.result.type||n.result.type==="data")&&{type:"data",data:s.deserialize(n.result.data)})}}var $u=class extends Error{constructor(){super("Unable to transform response from server")}};function M1(n,s){let i;try{i=C1(n,s)}catch{throw new $u}if(!i.ok&&(!ds(i.error.error)||typeof i.error.error.code!="number"))throw new $u;if(i.ok&&!ds(i.result))throw new $u;return i}So(Zf());function Oo(n){const s={subscribe(i){let l=null,c=!1,f=!1,d=!1;function h(){if(l===null){d=!0;return}f||(f=!0,typeof l=="function"?l():l&&l.unsubscribe())}return l=n({next(m){var y;c||(y=i.next)===null||y===void 0||y.call(i,m)},error(m){var y;c||(c=!0,(y=i.error)===null||y===void 0||y.call(i,m),h())},complete(){var m;c||(c=!0,(m=i.complete)===null||m===void 0||m.call(i),h())}}),d&&h(),{unsubscribe:h}},pipe(...i){return i.reduce(R1,s)}};return s}function R1(n,s){return s(n)}function z1(n){const s=new AbortController;return new Promise((l,c)=>{let f=!1;function d(){f||(f=!0,h.unsubscribe())}s.signal.addEventListener("abort",()=>{c(s.signal.reason)});const h=n.subscribe({next(m){f=!0,l(m),d()},error(m){c(m)},complete(){s.abort(),d()}})})}var H1=Object.create,Bg=Object.defineProperty,D1=Object.getOwnPropertyDescriptor,Qg=Object.getOwnPropertyNames,k1=Object.getPrototypeOf,U1=Object.prototype.hasOwnProperty,ka=(n,s)=>function(){return s||(0,n[Qg(n)[0]])((s={exports:{}}).exports,s),s.exports},q1=(n,s,i,l)=>{if(s&&typeof s=="object"||typeof s=="function")for(var c=Qg(s),f=0,d=c.length,h;f<d;f++)h=c[f],!U1.call(n,h)&&h!==i&&Bg(n,h,{get:(m=>s[m]).bind(null,h),enumerable:!(l=D1(s,h))||l.enumerable});return n},ps=(n,s,i)=>(i=n!=null?H1(k1(n)):{},q1(s||!n||!n.__esModule?Bg(i,"default",{value:n,enumerable:!0}):i,n)),L1=ka({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutPropertiesLoose.js"(n,s){function i(l,c){if(l==null)return{};var f={};for(var d in l)if({}.hasOwnProperty.call(l,d)){if(c.includes(d))continue;f[d]=l[d]}return f}s.exports=i,s.exports.__esModule=!0,s.exports.default=s.exports}}),B1=ka({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutProperties.js"(n,s){var i=L1();function l(c,f){if(c==null)return{};var d,h,m=i(c,f);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(c);for(h=0;h<y.length;h++)d=y[h],f.includes(d)||{}.propertyIsEnumerable.call(c,d)&&(m[d]=c[d])}return m}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),Yg=ka({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(n,s){function i(l){"@babel/helpers - typeof";return s.exports=i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},s.exports.__esModule=!0,s.exports.default=s.exports,i(l)}s.exports=i,s.exports.__esModule=!0,s.exports.default=s.exports}}),Q1=ka({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(n,s){var i=Yg().default;function l(c,f){if(i(c)!="object"||!c)return c;var d=c[Symbol.toPrimitive];if(d!==void 0){var h=d.call(c,f||"default");if(i(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(c)}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),Y1=ka({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(n,s){var i=Yg().default,l=Q1();function c(f){var d=l(f,"string");return i(d)=="symbol"?d:d+""}s.exports=c,s.exports.__esModule=!0,s.exports.default=s.exports}}),G1=ka({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/
17defineProperty.js"(n,s){var i=Y1();function l(c,f,d){return(f=i(f))in c?Object.defineProperty(c,f,{value:d,enumerable:!0,configurable:!0,writable:!0}):c[f]=d,c}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),zi=ka({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(n,s){var i=G1();function l(f,d){var h=Object.keys(f);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(f);d&&(m=m.filter(function(y){return Object.getOwnPropertyDescriptor(f,y).enumerable})),h.push.apply(h,m)}return h}function c(f){for(var d=1;d<arguments.length;d++){var h=arguments[d]!=null?arguments[d]:{};d%2?l(Object(h),!0).forEach(function(m){i(f,m,h[m])}):Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(h)):l(Object(h)).forEach(function(m){Object.defineProperty(f,m,Object.getOwnPropertyDescriptor(h,m))})}return f}s.exports=c,s.exports.__esModule=!0,s.exports.default=s.exports}}),V1=ps(B1(),1),h0=ps(zi(),1);const P1=["cursor","direction"];function En(n,s,i){const l=n.flatMap(c=>c.split("."));if(!s&&(!i||i==="any"))return l.length?[l]:[];if(i==="infinite"&&ds(s)&&("direction"in s||"cursor"in s)){const{cursor:c,direction:f}=s,d=(0,V1.default)(s,P1);return[l,{input:d,type:"infinite"}]}return[l,(0,h0.default)((0,h0.default)({},typeof s<"u"&&s!==Xt&&{input:s}),i&&i!=="any"&&{type:i})]}function lo(n){return En(n,void 0,"any")}var X1=Object.create,Gg=Object.defineProperty,K1=Object.getOwnPropertyDescriptor,Vg=Object.getOwnPropertyNames,Z1=Object.getPrototypeOf,F1=Object.prototype.hasOwnProperty,Tn=(n,s)=>function(){return s||(0,n[Vg(n)[0]])((s={exports:{}}).exports,s),s.exports},J1=(n,s,i,l)=>{if(s&&typeof s=="object"||typeof s=="function")for(var c=Vg(s),f=0,d=c.length,h;f<d;f++)h=c[f],!F1.call(n,h)&&h!==i&&Gg(n,h,{get:(m=>s[m]).bind(null,h),enumerable:!(l=K1(s,h))||l.enumerable});return n},$e=(n,s,i)=>(i=n!=null?X1(Z1(n)):{},J1(s||!n||!n.__esModule?Gg(i,"default",{value:n,enumerable:!0}):i,n)),Pg=Tn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(n,s){function i(l){"@babel/helpers - typeof";return s.exports=i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},s.exports.__esModule=!0,s.exports.default=s.exports,i(l)}s.exports=i,s.exports.__esModule=!0,s.exports.default=s.exports}}),$1=Tn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(n,s){var i=Pg().default;function l(c,f){if(i(c)!="object"||!c)return c;var d=c[Symbol.toPrimitive];if(d!==void 0){var h=d.call(c,f||"default");if(i(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(c)}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),I1=Tn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(n,s){var i=Pg().default,l=$1();function c(f){var d=l(f,"string");return i(d)=="symbol"?d:d+""}s.exports=c,s.exports.__esModule=!0,s.exports.default=s.exports}}),gs=Tn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(n,s){var i=I1();function l(c,f,d){return(f=i(f))in c?Object.defineProperty(c,f,{value:d,enumerable:!0,configurable:!0,writable:!0}):c[f]=d,c}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),mn=Tn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(n,s){var i=gs();function l(f,d){var h=Object.keys(f);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(f);d&&(m=m.filter(function(y){return Object.getOwnPropertyDescriptor(f,y).enumerable})),h.push.apply(h,m)}return h}function c(f){for(var d=1;d<arguments.length;d++){var h=arguments[d]!=null?arguments[d]:{};
17d%2?l(Object(h),!0).forEach(function(m){i(f,m,h[m])}):Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(h)):l(Object(h)).forEach(function(m){Object.defineProperty(f,m,Object.getOwnPropertyDescriptor(h,m))})}return f}s.exports=c,s.exports.__esModule=!0,s.exports.default=s.exports}});function W1(n){return s=>{let i=0,l=null;const c=[];function f(){l||(l=s.subscribe({next(h){for(const y of c){var m;(m=y.next)===null||m===void 0||m.call(y,h)}},error(h){for(const y of c){var m;(m=y.error)===null||m===void 0||m.call(y,h)}},complete(){for(const m of c){var h;(h=m.complete)===null||h===void 0||h.call(m)}}}))}function d(){if(i===0&&l){const h=l;l=null,h.unsubscribe()}}return Oo(h=>(i++,c.push(h),f(),{unsubscribe(){i--,d();const m=c.findIndex(y=>y===h);m>-1&&c.splice(m,1)}}))}}function e2(n){let s=n;const i=[],l=d=>{s!==void 0&&d.next(s),i.push(d)},c=d=>{i.splice(i.indexOf(d),1)},f=Oo(d=>(l(d),()=>{c(d)}));return f.next=d=>{if(s!==d){s=d;for(const h of i)h.next(d)}},f.get=()=>s,f}function t2(n){return Oo(s=>{function i(c=0,f=n.op){const d=n.links[c];if(!d)throw new Error("No more links to execute - did you forget to add an ending link?");return d({op:f,next(m){return i(c+1,m)}})}return i().subscribe(s)})}var Wl=$e(gs(),1),lr=$e(mn(),1);function n2(n){return n instanceof hr}function a2(n){return ds(n)&&ds(n.error)&&typeof n.error.code=="number"&&typeof n.error.message=="string"}function s2(n,s){return typeof n=="string"?n:ds(n)&&typeof n.message=="string"?n.message:s}var hr=class oo extends Error{constructor(s,i){var l,c;const f=i?.cause;super(s,{cause:f}),(0,Wl.default)(this,"cause",void 0),(0,Wl.default)(this,"shape",void 0),(0,Wl.default)(this,"data",void 0),(0,Wl.default)(this,"meta",void 0),this.meta=i?.meta,this.cause=f,this.shape=i==null||(l=i.result)===null||l===void 0?void 0:l.error,this.data=i==null||(c=i.result)===null||c===void 0?void 0:c.error.data,this.name="TRPCClientError",Object.setPrototypeOf(this,oo.prototype)}static from(s,i={}){const l=s;return n2(l)?(i.meta&&(l.meta=(0,lr.default)((0,lr.default)({},l.meta),i.meta)),l):a2(l)?new oo(l.error.message,(0,lr.default)((0,lr.default)({},i),{},{result:l})):new oo(s2(l,"Unknown error"),(0,lr.default)((0,lr.default)({},i),{},{cause:l}))}};function r2(n){const s=n;return s?"input"in s?s:{input:s,output:s}:{input:{serialize:i=>i,deserialize:i=>i},output:{serialize:i=>i,deserialize:i=>i}}}const m0=n=>typeof n=="function";function i2(n){if(n)return n;if(typeof window<"u"&&m0(window.fetch))return window.fetch;if(typeof globalThis<"u"&&m0(globalThis.fetch))return globalThis.fetch;throw new Error("No fetch implementation found")}var bi=$e(mn());function l2(n){return{url:n.url.toString(),fetch:n.fetch,transformer:r2(n.transformer),methodOverride:n.methodOverride}}function o2(n){const s={};for(let i=0;i<n.length;i++){const l=n[i];s[i]=l}return s}const c2={query:"GET",mutation:"POST",subscription:"PATCH"};function Xg(n){return"input"in n?n.transformer.input.serialize(n.input):o2(n.inputs.map(s=>n.transformer.input.serialize(s)))}const Kg=n=>{const s=n.url.split("?");let l=s[0].replace(/\/$/,"")+"/"+n.path;const c=[];if(s[1]&&c.push(s[1]),"inputs"in n&&c.push("batch=1"),n.type==="query"||n.type==="subscription"){const f=Xg(n);f!==void 0&&n.methodOverride!=="POST"&&c.push(`input=${encodeURIComponent(JSON.stringify(f))}`)}return c.length&&(l+="?"+c.join("&")),l},u2=n=>{if(n.type==="query"&&n.methodOverride!=="POST")return;const s=Xg(n);return s!==void 0?JSON.stringify(s):void 0},f2=n=>p2((0,bi.default)((0,bi.default)({},n),{},{contentTypeHeader:"application/json",getUrl:Kg,getBody:u2}));var d2=class extends Error{constructor(){const n="AbortError";super(n),this.name=n,this.message=n}};const h2=n=>{var s;if(n?.aborted)throw(s=n.throwIfAborted)===null||s===void 0||s.call(n),typeof DOMException<"u"?new DOMException("AbortError","AbortError"):new d2};async function m2(n){var s;h2(n.signal);const i=n.getUrl(n),l=n.getBody(n),c=(s=n.methodOverride)!==null&&s!==void 0?s:c2[n.type],f=await(async()=>{const h=await n.headers();return Symbol.iterator in h?Object.fromEntries(h):h})(),d=(0,bi.default)((0,bi.default)((0,bi.default)({},n.contentTypeHeader&&c!=="GET"?{"content-type":n.contentTypeHeader}:{}),n.trpcAcceptHeader?{"trpc-accept":n.trpcAcceptHeader}:void 0),f);return i2(n.fetch)(i,{method:c,signal:n.signal,body:l,headers:d})}async function p2(n){const s={},i=await m2(n);s.response=i;const l=await i.json();return s.responseJSON=l,{json:l,meta:s}}$e(mn(),1);const p0=()=>{throw new Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new")};function g0(n){let s=null,i=null;const l=()=>{clearTimeout(i),i=null,s=null};function c(h){const m=[[]];let y=0;for(;;){const w=h[y];if(!w)break;const O=m[m.length-1];if(w.aborted){var b;(b=w.reject)===null||b===void 0||b.call(w,new Error("Aborted")),y++;continue}if(n.validate(O.concat(w).map(j=>j.key))){O.push(w),y++;continue}if(O.length===0){var v;(v=w.reject)===null||v===void 0||v.call(w,new Error("Input is too big for a single dispatch")),y++;continue}m.push([])}return m}function f(){const h=c(s);l();for(const m of h){if(!m.length)continue;const y={items:m};for(const v of m)v.batch=y;
17n.fetch(y.items.map(v=>v.key)).then(async v=>{await Promise.all(v.map(async(O,_)=>{const j=y.items[_];try{var H;const J=await Promise.resolve(O);(H=j.resolve)===null||H===void 0||H.call(j,J)}catch(J){var L;(L=j.reject)===null||L===void 0||L.call(j,J)}j.batch=null,j.reject=null,j.resolve=null}));for(const O of y.items){var w;(w=O.reject)===null||w===void 0||w.call(O,new Error("Missing result")),O.batch=null}}).catch(v=>{for(const O of y.items){var w;(w=O.reject)===null||w===void 0||w.call(O,v),O.batch=null}})}}function d(h){var m;const y={aborted:!1,key:h,batch:null,resolve:p0,reject:p0},b=new Promise((v,w)=>{var O;y.reject=w,y.resolve=v,(O=s)!==null&&O!==void 0||(s=[]),s.push(y)});return(m=i)!==null&&m!==void 0||(i=setTimeout(f)),b}return{load:d}}function g2(...n){const s=new AbortController,i=n.length;let l=0;const c=()=>{++l===i&&s.abort()};for(const f of n)f?.aborted?c():f?.addEventListener("abort",c,{once:!0});return s.signal}var eo=$e(mn(),1);function y2(n){var s,i;const l=l2(n),c=(s=n.maxURLLength)!==null&&s!==void 0?s:1/0,f=(i=n.maxItems)!==null&&i!==void 0?i:1/0;return()=>{const d=b=>({validate(v){if(c===1/0&&f===1/0)return!0;if(v.length>f)return!1;const w=v.map(j=>j.path).join(","),O=v.map(j=>j.input);return Kg((0,eo.default)((0,eo.default)({},l),{},{type:b,path:w,inputs:O,signal:null})).length<=c},async fetch(v){const w=v.map(J=>J.path).join(","),O=v.map(J=>J.input),_=g2(...v.map(J=>J.signal)),j=await f2((0,eo.default)((0,eo.default)({},l),{},{path:w,inputs:O,type:b,headers(){return n.headers?typeof n.headers=="function"?n.headers({opList:v}):n.headers:{}},signal:_}));return(Array.isArray(j.json)?j.json:v.map(()=>j.json)).map(J=>({meta:j.meta,json:J}))}}),h=g0(d("query")),m=g0(d("mutation")),y={query:h,mutation:m};return({op:b})=>Oo(v=>{/* istanbul ignore if -- @preserve */if(b.type==="subscription")throw new Error("Subscriptions are unsupported by `httpLink` - use `httpSubscriptionLink` or `wsLink`");const O=y[b.type].load(b);let _;return O.then(j=>{_=j;const H=M1(j.json,l.transformer.output);if(!H.ok){v.error(hr.from(H.error,{meta:j.meta}));return}v.next({context:j.meta,result:H.result}),v.complete()}).catch(j=>{v.error(hr.from(j,{meta:_?.meta}))}),()=>{}})}}$e(mn(),1);const Zg=(n,...s)=>typeof n=="function"?n(...s):n;$e(gs(),1);function v2(){let n,s;return{promise:new Promise((l,c)=>{n=l,s=c}),resolve:n,reject:s}}async function x2(n){const s=await Zg(n.url);if(!n.connectionParams)return s;const l=`${s.includes("?")?"&":"?"}connectionParams=1`;return s+l}async function b2(n){const s={method:"connectionParams",data:await Zg(n)};return JSON.stringify(s)}$e(gs(),1);var ls=$e(gs(),1);function w2(n){const{promise:s,resolve:i,reject:l}=v2();return n.addEventListener("open",()=>{n.removeEventListener("error",l),i()}),n.addEventListener("error",l),s}function S2(n,{intervalMs:s,pongTimeoutMs:i}){let l,c;function f(){l=setTimeout(()=>{n.send("PING"),c=setTimeout(()=>{n.close()},i)},s)}function d(){clearTimeout(l),f()}function h(){clearTimeout(c),d()}n.addEventListener("open",f),n.addEventListener("message",({data:m})=>{clearTimeout(l),f(),m==="PONG"&&h()}),n.addEventListener("close",()=>{clearTimeout(l),clearTimeout(c)})}var E2=class Sf{constructor(s){var i;if((0,ls.default)(this,"id",++Sf.connectCount),(0,ls.default)(this,"WebSocketPonyfill",void 0),(0,ls.default)(this,"urlOptions",void 0),(0,ls.default)(this,"keepAliveOpts",void 0),(0,ls.default)(this,"wsObservable",e2(null)),(0,ls.default)(this,"openPromise",null),this.WebSocketPonyfill=(i=s.WebSocketPonyfill)!==null&&i!==void 0?i:WebSocket,!this.WebSocketPonyfill)throw new Error("No WebSocket implementation found - you probably don't want to use this on the server, but if you do you need to pass a `WebSocket`-ponyfill");this.urlOptions=s.urlOptions,this.keepAliveOpts=s.keepAlive}get ws(){return this.wsObservable.get()}set ws(s){this.wsObservable.next(s)}isOpen(){return!!this.ws&&this.ws.readyState===this.WebSocketPonyfill.OPEN&&!this.openPromise}isClosed(){return!!this.ws&&(this.ws.readyState===this.WebSocketPonyfill.CLOSING||this.ws.readyState===this.WebSocketPonyfill.CLOSED)}async open(){var s=this;if(s.openPromise)return s.openPromise;s.id=++Sf.connectCount;const i=x2(s.urlOptions).then(l=>new s.WebSocketPonyfill(l));s.openPromise=i.then(async l=>{s.ws=l,l.addEventListener("message",function({data:c}){c==="PING"&&this.send("PONG")}),s.keepAliveOpts.enabled&&S2(l,s.keepAliveOpts),l.addEventListener("close",()=>{s.ws===l&&(s.ws=null)}),await w2(l),s.urlOptions.connectionParams&&l.send(await b2(s.urlOptions.connectionParams))});try{await s.openPromise}finally{s.openPromise=null}}async close(){var s=this;try{await s.openPromise}finally{var i;(i=s.ws)===null||i===void 0||i.close()}}};(0,ls.default)(E2,"connectCount",0);$e(gs(),1);$e(mn(),1);var Iu=$e(gs(),1),y0=$e(mn(),1),jo=class{constructor(n){(0,Iu.default)(this,"links",void 0),(0,Iu.default)(this,"runtime",void 0),(0,Iu.default)(this,"requestId",void 0),this.requestId=0,this.runtime={},this.links=n.links.map(s=>s(this.runtime))}$request(n){var s;return t2({links:this.links,op:(0,y0.default)((0,y0.default)({},n),{},{context:(s=n.context)!==null&&s!==void 0?s:{},id:++this.requestId})}).pipe(W1())}async requestAsPromise(n){var s=this;try{const i=s.$request(n);return(await z1(i)).result.data}catch(i){throw hr.from(i)}}query(n,s,i){return this.requestAsPromise({type:"query",path:n,input:s,context:i?.context,signal:i?.signal})}mutation(n,s,i){return this.requestAsPromise({type:"mutation",path:n,input:s,context:i?.context,signal:i?.signal})}subscription(n,s,i){return this.$request({type:"subscription",path:n,input:s,context:i.context,signal:i.signal}).subscribe({next(c){switch(c.result.type){case"state":{var f;(f=i.onConnectionStateChange)===null||f===void 0||f.call(i,c.result);break}case"started":{var d;(d=i.onStarted)===null||d===void 0||d.call(i,{context:c.context});break}case"stopped":{var h;(h=i.onStopped)===null||h===void 0||h.call(i);break}case"data":case void 0:{var m;(m=i.onData)===null||m===void 0||m.call(i,c.result.data);break}}},error(c){var f;(f=i.onError)===null||f===void 0||f.call(i,c)},complete(){var c;
17(c=i.onComplete)===null||c===void 0||c.call(i)}})}};const Fg=Symbol.for("trpc_untypedClient"),O2={query:"query",mutate:"mutation",subscribe:"subscription"},j2=n=>O2[n];function Jg(n){const s=Eo(({path:i,args:l})=>{const c=[...i],f=j2(c.pop()),d=c.join(".");return n[f](d,...l)});return Kf(i=>i===Fg?n:s[i])}function A2(n){const s=new jo(n);return Jg(s)}function Ff(n){return n[Fg]}$e(mn(),1);$e(mn(),1);var T2=Tn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(n,s){function i(c){var f,d,h,m=2;for(typeof Symbol<"u"&&(d=Symbol.asyncIterator,h=Symbol.iterator);m--;){if(d&&(f=c[d])!=null)return f.call(c);if(h&&(f=c[h])!=null)return new l(f.call(c));d="@@asyncIterator",h="@@iterator"}throw new TypeError("Object is not async iterable")}function l(c){function f(d){if(Object(d)!==d)return Promise.reject(new TypeError(d+" is not an object."));var h=d.done;return Promise.resolve(d.value).then(function(m){return{value:m,done:h}})}return l=function(h){this.s=h,this.n=h.next},l.prototype={s:null,n:null,next:function(){return f(this.n.apply(this.s,arguments))},return:function(h){var m=this.s.return;return m===void 0?Promise.resolve({value:h,done:!0}):f(m.apply(this.s,arguments))},throw:function(h){var m=this.s.return;return m===void 0?Promise.reject(h):f(m.apply(this.s,arguments))}},new l(c)}s.exports=i,s.exports.__esModule=!0,s.exports.default=s.exports}});$e(T2(),1);$e(mn(),1);var _2=Tn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(n,s){function i(){var l=typeof SuppressedError=="function"?SuppressedError:function(h,m){var y=Error();return y.name="SuppressedError",y.error=h,y.suppressed=m,y},c={},f=[];function d(h,m){if(m!=null){if(Object(m)!==m)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(h)var y=m[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(y===void 0&&(y=m[Symbol.dispose||Symbol.for("Symbol.dispose")],h))var b=y;if(typeof y!="function")throw new TypeError("Object is not disposable.");b&&(y=function(){try{b.call(m)}catch(w){return Promise.reject(w)}}),f.push({v:m,d:y,a:h})}else h&&f.push({d:m,a:h});return m}return{e:c,u:d.bind(null,!1),a:d.bind(null,!0),d:function(){var m,y=this.e,b=0;function v(){for(;m=f.pop();)try{if(!m.a&&b===1)return b=0,f.push(m),Promise.resolve().then(v);if(m.d){var O=m.d.call(m.v);if(m.a)return b|=2,Promise.resolve(O).then(v,w)}else b|=1}catch(_){return w(_)}if(b===1)return y!==c?Promise.reject(y):Promise.resolve();if(y!==c)throw y}function w(O){return y=y!==c?new l(O,y):O,v()}return v()}}}s.exports=i,s.exports.__esModule=!0,s.exports.default=s.exports}}),$g=Tn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/OverloadYield.js"(n,s){function i(l,c){this.v=l,this.k=c}s.exports=i,s.exports.__esModule=!0,s.exports.default=s.exports}}),N2=Tn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/awaitAsyncGenerator.js"(n,s){var i=$g();function l(c){return new i(c,0)}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),C2=Tn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/wrapAsyncGenerator.js"(n,s){var i=$g();function l(f){return function(){return new c(f.apply(this,arguments))}}function c(f){var d,h;function m(b,v){try{var w=f[b](v),O=w.value,_=O instanceof i;Promise.resolve(_?O.v:O).then(function(j){if(_){var H=b==="return"?"return":"next";if(!O.k||j.done)return m(H,j);j=f[H](j).value}y(w.done?"return":"normal",j)},function(j){m("throw",j)})}catch(j){y("throw",j)}}function y(b,v){switch(b){case"return":d.resolve({value:v,done:!0});break;case"throw":d.reject(v);break;default:d.resolve({value:v,done:!1})}(d=d.next)?m(d.key,d.arg):h=null}this._invoke=function(b,v){return new Promise(function(w,O){var _={key:b,arg:v,resolve:w,reject:O,next:null};h?h=h.next=_:(d=h=_,m(b,v))})},typeof f.return!="function"&&(this.return=void 0)}c.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},c.prototype.next=function(f){return this._invoke("next",f)},c.prototype.throw=function(f){return this._invoke("throw",f)},c.prototype.return=function(f){return this._invoke("return",f)},s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}});$e(_2(),1);$e(N2(),1);$e(C2(),1);$e(mn(),1);function M2(n){return Eo(({path:s,args:i})=>{var l;const c=[...s],f=c.pop();if(f==="useMutation")return n[f](c,...i);if(f==="_def")return{path:c};const[d,...h]=i,m=(l=h[0])!==null&&l!==void 0?l:{};return n[f](c,d,m)})}var Wu;const R2=["client","ssrContext","ssrState","abortOnUnmount"],z2=(Wu=A.createContext)===null||Wu===void 0?void 0:Wu.call(Sg,null),H2=n=>{switch(n){case"queryOptions":case"fetch":case"ensureData":case"prefetch":case"getData":case"setData":case"setQueriesData":return"query";case"infiniteQueryOptions":case"fetchInfinite":case"prefetchInfinite":case"getInfiniteData":case"setInfiniteData":return"infinite";case"setMutationDefaults":case"getMutationDefaults":case"isMutating":case"cancel":case"invali
17date":case"refetch":case"reset":return"any"}};function D2(n){return Eo(s=>{const i=[...s.path],l=i.pop(),c=[...s.args],f=c.shift(),d=H2(l),h=En(i,f,d);return{infiniteQueryOptions:()=>n.infiniteQueryOptions(i,h,c[0]),queryOptions:()=>n.queryOptions(i,h,...c),fetch:()=>n.fetchQuery(h,...c),fetchInfinite:()=>n.fetchInfiniteQuery(h,c[0]),prefetch:()=>n.prefetchQuery(h,...c),prefetchInfinite:()=>n.prefetchInfiniteQuery(h,c[0]),ensureData:()=>n.ensureQueryData(h,...c),invalidate:()=>n.invalidateQueries(h,...c),reset:()=>n.resetQueries(h,...c),refetch:()=>n.refetchQueries(h,...c),cancel:()=>n.cancelQuery(h,...c),setData:()=>{n.setQueryData(h,c[0],c[1])},setQueriesData:()=>n.setQueriesData(h,c[0],c[1],c[2]),setInfiniteData:()=>{n.setInfiniteQueryData(h,c[0],c[1])},getData:()=>n.getQueryData(h),getInfiniteData:()=>n.getInfiniteQueryData(h),setMutationDefaults:()=>n.setMutationDefaults(lo(i),f),getMutationDefaults:()=>n.getMutationDefaults(lo(i)),isMutating:()=>n.isMutating({mutationKey:lo(i)})}[l]()})}function k2(n){const s=Jg(n.client),i=D2(n);return Kf(l=>{const c=l;return c==="client"?s:R2.includes(c)?n[c]:i[l]})}var U2=ps(zi(),1);function v0(n){const s=n instanceof jo?n:Ff(n);return Eo(i=>
17{const l=i.path,c=l.join("."),[f,d]=i.args;return(0,U2.default)({queryKey:En(l,f,"query"),queryFn:()=>s.query(c,f,d?.trpc)},d)})}var ef=ps(zi(),1);function Ot(n,s,i){var l;const c=n[0];let f=(l=n[1])===null||l===void 0?void 0:l.input;if(i){var d;f=(0,ef.default)((0,ef.default)((0,ef.default)({},(d=f)!==null&&d!==void 0?d:{}),i.pageParam?{cursor:i.pageParam}:{}),{},{direction:i.direction})}return[c.join("."),f,s?.trpc]}var q2=ka({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(n,s){function i(c){var f,d,h,m=2;for(typeof Symbol<"u"&&(d=Symbol.asyncIterator,h=Symbol.iterator);m--;){if(d&&(f=c[d])!=null)return f.call(c);if(h&&(f=c[h])!=null)return new l(f.call(c));d="@@asyncIterator",h="@@iterator"}throw new TypeError("Object is not async iterable")}function l(c){function f(d){if(Object(d)!==d)return Promise.reject(new TypeError(d+" is not an object."));var h=d.done;return Promise.resolve(d.value).then(function(m){return{value:m,done:h}})}return l=function(h){this.s=h,this.n=h.next},l.prototype={s:null,n:null,next:function(){return f(this.n.apply(this.s,arguments))},return:function(h){var m=this.s.return;return m===void 0?Promise.resolve({value:h,done:!0}):f(m.apply(this.s,arguments))},throw:function(h){var m=this.s.return;return m===void 0?Promise.reject(h):f(m.apply(this.s,arguments))}},new l(c)}s.exports=i,s.exports.__esModule=!0,s.exports.default=s.exports}}),L2=ps(q2(),1);function Ef(n){return{path:n.path.join(".")}}function yi(n){const s=Ef(n);return A.useMemo(()=>s,[s])}async function Ig(n,s,i){const c=s.getQueryCache().build(s,{queryKey:i});c.setState({data:[],status:"success"});const f=[];var d=!1,h=!1,m;try{for(var y=(0,L2.default)(n),b;d=!(b=await y.next()).done;d=!1){const v=b.value;f.push(v),c.setState({data:[...f]})}}catch(v){h=!0,m=v}finally{try{d&&y.return!=null&&await y.return()}finally{if(h)throw m}}return f}var ze=ps(zi(),1);function B2(n){const{client:s,queryClient:i}=n,l=s instanceof jo?s:Ff(s);return{infiniteQueryOptions:(c,f,d)=>{var h,m;const y=((h=f[1])===null||h===void 0?void 0:h.input)===Xt,b=async v=>{var w;const O=(0,ze.default)((0,ze.default)({},d),{},{trpc:(0,ze.default)((0,ze.default)({},d?.trpc),!(d==null||(w=d.trpc)===null||w===void 0)&&w.abortOnUnmount?{signal:v.signal}:{signal:null})});return await l.query(...Ot(f,O,{direction:v.direction,pageParam:v.pageParam}))};return Object.assign((0,ze.default)((0,ze.default)({},d),{},{initialData:d?.initialData,queryKey:f,queryFn:y?Xt:b,initialPageParam:(m=d?.initialCursor)!==null&&m!==void 0?m:null}),{trpc:Ef({path:c})})},queryOptions:(c,f,d)=>{var h;const m=((h=f[1])===null||h===void 0?void 0:h.input)===Xt,y=async b=>{var v;const w=(0,ze.default)((0,ze.default)({},d),{},{trpc:(0,ze.default)((0,ze.default)({},d?.trpc),!(d==null||(v=d.trpc)===null||v===void 0)&&v.abortOnUnmount?{signal:b.signal}:{signal:null})}),O=await l.query(...Ot(f,w));return zg(O)?Ig(O,i,f):O};return Object.assign((0,ze.default)((0,ze.default)({},d),{},{initialData:d?.initialData,queryKey:f,queryFn:m?Xt:y}),{trpc:Ef({path:c})})},fetchQuery:(c,f)=>i.fetchQuery((0,ze.default)((0,ze.default)({},f),{},{queryKey:c,queryFn:()=>l.query(...Ot(c,f))})),fetchInfiniteQuery:(c,f)=>{var d;return i.fetchInfiniteQuery((0,ze.default)((0,ze.default)({},f),{},{queryKey:c,queryFn:({pageParam:h,direction:m})=>l.query(...Ot(c,f,{pageParam:h,direction:m})),initialPageParam:(d=f?.initialCursor)!==null&&d!==void 0?d:null}))},prefetchQuery:(c,f)=>i.prefetchQuery((0,ze.default)((0,ze.default)({},f),{},{queryKey:c,queryFn:()=>l.query(...Ot(c,f))})),prefetchInfiniteQuery:(c,f)=>{var d;return i.prefetchInfiniteQuery((0,ze.default)((0,ze.default)({},f),{},{queryKey:c,queryFn:({pageParam:h,direction:m})=>l.query(...Ot(c,f,{pageParam:h,direction:m})),initialPageParam:(d=f?.initialCursor)!==null&&d!==void 0?d:null}))},ensureQueryData:(c,f)=>i.ensureQueryData((0,ze.default)((0,ze.default)({},f),{},{queryKey:c,queryFn:()=>l.query(...Ot(c,f))})),invalidateQueries:(c,f,d)=>i.invalidateQueries((0,ze.default)((0,ze.default)({},f),{},{queryKey:c}),d),resetQueries:(c,f,d)=>i.resetQueries((0,ze.default)((0,ze.default)({},f),{},{queryKey:c}),d),refetchQueries:(c,f,d)=>i.refetchQueries((0,ze.default)((0,ze.default)({},f),{},{queryKey:c}),d),cancelQuery:(c,f)=>i.cancelQueries({queryKey:c},f),setQueryData:(c,f,d)=>i.setQueryData(c,f,d),setQueriesData:(c,f,d,h)=>i.setQueriesData((0,ze.default)((0,ze.default)({},f),{},{queryKey:c}),d,h),getQueryData:c=>i.getQueryData(c),setInfiniteQueryData:(c,f,d)=>i.setQueryData(c,f,d),getInfiniteQueryData:c=>i.getQueryData(c),setMutationDefaults:(c,f)=>{const d=c[0],h=m=>l.mutation(...Ot([d,{input:m}],n));return i.setMutationDefaults(c,typeof f=="function"?f({canonicalMutationFn:h}):f)},getMutationDefaults:c=>i.getMutationDefaults(c),isMutating:c=>i.isMutating((0,ze.default)((0,ze.default)({},c),{},{exact:!0}))}}var ce=ps(zi());const x0=(n,s)=>new Proxy(n,{get(l,c){return s(c),l[c]}});function Q2(n){var s,i;const l=(s=void 0)!==null&&s!==void 0?s:P=>P.originalFn(),c=(i=void 0)!==null&&i!==void 0?i:z2,f=A2,d=P=>{var X;const{abortOnUnmount:C=!1,queryClient:U,ssrContext:W}=P,[ne,se]=A.useState((X=P.ssrState)!==null&&X!==void 0?X:!1),te=P.client instanceof jo?P.client:Ff(P.client),$=A.useMemo(()=>B2({client:te,queryClient:U}
17),[te,U]),re=A.useMemo(()=>(0,ce.default)({abortOnUnmount:C,queryClient:U,client:te,ssrContext:W??null,ssrState:ne},$),[C,te,$,U,W,ne]);return A.useEffect(()=>{se(ue=>ue?"mounted":!1)},[]),g.jsx(c.Provider,{value:re,children:P.children})};function h(){const P=A.useContext(c);if(!P)throw new Error("Unable to find tRPC Context. Did you forget to wrap your App inside `withTRPC` HoC?");return P}function m(P,X){var C;const{queryClient:U,ssrState:W}=h();return W&&W!=="mounted"&&((C=U.getQueryCache().find({queryKey:P}))===null||C===void 0?void 0:C.state.status)==="error"?(0,ce.default)({retryOnMount:!1},X):X}function y(P,X,C){var U,W,ne,se,te;const $=h(),{abortOnUnmount:re,client:ue,ssrState:T,queryClient:B,prefetchQuery:R}=$,le=En(P,X,"query"),fe=B.getQueryDefaults(le),S=X===Xt;typeof window>"u"&&T==="prepass"&&(C==null||(U=C.trpc)===null||U===void 0?void 0:U.ssr)!==!1&&((W=C?.enabled)!==null&&W!==void 0?W:fe?.enabled)!==!1&&!S&&!B.getQueryCache().find({queryKey:le})&&R(le,C);const Y=m(le,(0,ce.default)((0,ce.default)({},fe),C)),k=(ne=(se=C==null||(te=C.trpc)===null||te===void 0?void 0:te.abortOnUnmount)!==null&&se!==void 0?se:void 0)!==null&&ne!==void 0?ne:re,G=m1((0,ce.default)((0,ce.default)({},Y),{},{queryKey:le,queryFn:S?X:async I=>{const Z=(0,ce.default)((0,ce.default)({},Y),{},{trpc:(0,ce.default)((0,ce.default)({},Y?.trpc),k?{signal:I.signal}:{signal:null})}),oe=await ue.query(...Ot(le,Z));return zg(oe)?Ig(oe,B,le):oe}}),B);return G.trpc=yi({path:P}),G}function b(P,X,C){var U,W,ne;const se=h(),te=En(P,X,"query"),$=X===Xt,re=(U=(W=C==null||(ne=C.trpc)===null||ne===void 0?void 0:ne.abortOnUnmount)!==null&&W!==void 0?W:void 0)!==null&&U!==void 0?U:se.abortOnUnmount;v1((0,ce.default)((0,ce.default)({},C),{},{queryKey:te,queryFn:$?X:ue=>{const T={trpc:(0,ce.default)((0,ce.default)({},C?.trpc),re?{signal:ue.signal}:{})};return se.client.query(...Ot(te,T))}}))}function v(P,X,C){var U,W,ne;const se=h(),te=En(P,X,"query"),$=(U=(W=C==null||(ne=C.trpc)===null||ne===void 0?void 0:ne.abortOnUnmount)!==null&&W!==void 0?W:void 0)!==null&&U!==void 0?U:se.abortOnUnmount,re=p1((0,ce.default)((0,ce.default)({},C),{},{queryKey:te,queryFn:ue=>{const T=(0,ce.default)((0,ce.default)({},C),{},{trpc:(0,ce.default)((0,ce.default)({},C?.trpc),$?{signal:ue.signal}:{signal:null})});return se.client.query(...Ot(te,T))}}),se.queryClient);return re.trpc=yi({path:P}),[re.data,re]}function w(P,X){const{client:C,queryClient:U}=h(),W=lo(P),ne=U.defaultMutationOptions(U.getMutationDefaults(W)),se=b1((0,ce.default)((0,ce.default)({},X),{},{mutationKey:W,mutationFn:te=>C.mutation(...Ot([P,{input:te}],X)),onSuccess(...te){var $,re;return l({originalFn:()=>{var T,B,R;return(T=X==null||(B=X.onSuccess)===null||B===void 0?void 0:B.call(X,...te))!==null&&T!==void 0?T:ne==null||(R=ne.onSuccess)===null||R===void 0?void 0:R.call(ne,...te)},queryClient:U,meta:($=(re=X?.meta)!==null&&re!==void 0?re:ne?.meta)!==null&&$!==void 0?$:{}})}}),U);return se.trpc=yi({path:P}),se}const O={data:void 0,error:null,status:"idle"},_={data:void 0,error:null,status:"connecting"};/* istanbul ignore next -- @preserve */function j(P,X,C){var U;const W=(U=C?.enabled)!==null&&U!==void 0?U:X!==Xt,ne=Ra(En(P,X,"any")),{client:se}=h(),te=A.useRef(C);A.useEffect(()=>{te.current=C});const[$]=A.useState(new Set([])),re=A.useCallback(S=>{$.add(S)},[$]),ue=A.useRef(null),T=A.useCallback(S=>{const Y=R.current,k=R.current=S(Y);let G=!1;for(const I of $)if(Y[I]!==k[I]){G=!0;break}G&&fe(x0(k,re))},[re,$]),B=A.useCallback(()=>{var S;if((S=ue.current)===null||S===void 0||S.unsubscribe(),!W){T(()=>(0,ce.default)((0,ce.default)({},O),{},{reset:B}));return}T(()=>(0,ce.default)((0,ce.default)({},_),{},{reset:B}));const Y=se.subscription(P.join("."),X??void 0,{onStarted:()=>{var k,G;(k=(G=te.current).onStarted)===null||k===void 0||k.call(G),T(I=>(0,ce.default)((0,ce.default)({},I),{},{status:"pending",error:null}))},onData:k=>{var G,I;(G=(I=te.current).onData)===null||G===void 0||G.call(I,k),T(Z=>(0,ce.default)((0,ce.default)({},Z),{},{status:"pending",data:k,error:null}))},onError:k=>{var G,I;(G=(I=te.current).onError)===null||G===void 0||G.call(I,k),T(Z=>(0,ce.default)((0,ce.default)({},Z),{},{status:"error",error:k}))},onConnectionStateChange:k=>{T(G=>{switch(k.state){case"idle":return(0,ce.default)((0,ce.default)({},G),{},{status:k.state,error:null,data:void 0});case"connecting":return(0,ce.default)((0,ce.default)({},G),{},{error:k.error,status:k.state});
17case"pending":return G}})},onComplete:()=>{var k,G;(k=(G=te.current).onComplete)===null||k===void 0||k.call(G),T(I=>(0,ce.default)((0,ce.default)({},I),{},{status:"idle",error:null,data:void 0}))}});ue.current=Y},[se,ne,W,T]);A.useEffect(()=>(B(),()=>{var S;(S=ue.current)===null||S===void 0||S.unsubscribe()}),[B]);const R=A.useRef(W?(0,ce.default)((0,ce.default)({},_),{},{reset:B}):(0,ce.default)((0,ce.default)({},O),{},{reset:B})),[le,fe]=A.useState(x0(R.current,re));return le}function H(P,X,C){var U,W,ne,se,te;const{client:$,ssrState:re,prefetchInfiniteQuery:ue,queryClient:T,abortOnUnmount:B}=h(),R=En(P,X,"infinite"),le=T.getQueryDefaults(R),fe=X===Xt;typeof window>"u"&&re==="prepass"&&(C==null||(U=C.trpc)===null||U===void 0?void 0:U.ssr)!==!1&&((W=C?.enabled)!==null&&W!==void 0?W:le?.enabled)!==!1&&!fe&&!T.getQueryCache().find({queryKey:R})&&ue(R,(0,ce.default)((0,ce.default)({},le),C));const S=m(R,(0,ce.default)((0,ce.default)({},le),C)),Y=(ne=C==null||(se=C.trpc)===null||se===void 0?void 0:se.abortOnUnmount)!==null&&ne!==void 0?ne:B,k=w1((0,ce.default)((0,ce.default)({},S),{},{initialPageParam:(te=C.initialCursor)!==null&&te!==void 0?te:null,persister:C.persister,queryKey:R,queryFn:fe?X:G=>{var I;const Z=(0,ce.default)((0,ce.default)({},S),{},{trpc:(0,ce.default)((0,ce.default)({},S?.trpc),Y?{signal:G.signal}:{signal:null})});return $.query(...Ot(R,Z,{pageParam:(I=G.pageParam)!==null&&I!==void 0?I:C.initialCursor,direction:G.direction}))}}),T);return k.trpc=yi({path:P}),k}function L(P,X,C){var U,W,ne;const se=h(),te=En(P,X,"infinite"),$=se.queryClient.getQueryDefaults(te),re=X===Xt,ue=m(te,(0,ce.default)((0,ce.default)({},$),C)),T=(U=C==null||(W=C.trpc)===null||W===void 0?void 0:W.abortOnUnmount)!==null&&U!==void 0?U:se.abortOnUnmount;x1((0,ce.default)((0,ce.default)({},C),{},{initialPageParam:(ne=C.initialCursor)!==null&&ne!==void 0?ne:null,queryKey:te,queryFn:re?X:B=>{var R;const le=(0,ce.default)((0,ce.default)({},ue),{},{trpc:(0,ce.default)((0,ce.default)({},ue?.trpc),T?{signal:B.signal}:{})});return se.client.query(...Ot(te,le,{pageParam:(R=B.pageParam)!==null&&R!==void 0?R:C.initialCursor,direction:B.direction}))}}))}function J(P,X,C){var U,W,ne;const se=h(),te=En(P,X,"infinite"),$=se.queryClient.getQueryDefaults(te),re=m(te,(0,ce.default)((0,ce.default)({},$),C)),ue=(U=C==null||(W=C.trpc)===null||W===void 0?void 0:W.abortOnUnmount)!==null&&U!==void 0?U:se.abortOnUnmount,T=g1((0,ce.default)((0,ce.default)({},C),{},{initialPageParam:(ne=C.initialCursor)!==null&&ne!==void 0?ne:null,queryKey:te,queryFn:B=>{var R;const le=(0,ce.default)((0,ce.default)({},re),{},{trpc:(0,ce.default)((0,ce.default)({},re?.trpc),ue?{signal:B.signal}:{})});return se.client.query(...Ot(te,le,{pageParam:(R=B.pageParam)!==null&&R!==void 0?R:C.initialCursor,direction:B.direction}))}}),se.queryClient);return T.trpc=yi({path:P}),[T.data,T]}return{Provider:d,createClient:f,useContext:h,useUtils:h,useQuery:y,usePrefetchQuery:b,useSuspenseQuery:v,useQueries:(P,X)=>{const{ssrState:C,queryClient:U,prefetchQuery:W,client:ne}=h(),se=v0(ne),te=P(se);if(typeof window>"u"&&C==="prepass")for(const re of te){var $;const ue=re;(($=ue.trpc)===null||$===void 0?void 0:$.ssr)!==!1&&!U.getQueryCache().find({queryKey:ue.queryKey})&&W(ue.queryKey,ue)}return Rg({queries:te.map(re=>(0,ce.default)((0,ce.default)({},re),{},{queryKey:re.queryKey})),combine:X?.combine},U)},useSuspenseQueries:P=>{const{queryClient:X,client:C}=h(),U=v0(C),W=P(U),ne=y1({queries:W.map(se=>(0,ce.default)((0,ce.default)({},se),{},{queryFn:se.queryFn,queryKey:se.queryKey}))},X);return[ne.map(se=>se.data),ne]},useMutation:w,useSubscription:j,useInfiniteQuery:H,usePrefetchInfiniteQuery:L,useSuspenseInfiniteQuery:J}}function Y2(n){const s=M2(n);return Kf(i=>i==="useContext"||i==="useUtils"?()=>{const l=n.useUtils();return A.useMemo(()=>k2(l),[l])}:n.hasOwnProperty(i)?n[i]:s[i])}function G2(n){const s=Q2();return Y2(s)}const jt=G2(),V2="app_session_id",P2="Please login (10001)",X2="__Host-oauth_state",K2=n=>btoa(JSON.stringify(n));var tf={exports:{}},vi={},nf={exports:{}},af={};/**
18 * @license React
19 * scheduler.production.js
20 *
21 * Copyright (c) Meta Platforms, Inc. and affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */var b0;function Z2(){return b0||(b0=1,(function(n){function s(T,B){var R=T.length;T.push(B);e:for(;0<R;){var le=R-1>>>1,fe=T[le];if(0<c(fe,B))T[le]=B,T[R]=fe,R=le;else break e}}function i(T){return T.length===0?null:T[0]}function l(T){if(T.length===0)return null;var B=T[0],R=T.pop();if(R!==B){T[0]=R;e:for(var le=0,fe=T.length,S=fe>>
vendor: 8,653 bytes, lines 25-41
25>1;le<S;){var Y=2*(le+1)-1,k=T[Y],G=Y+1,I=T[G];if(0>c(k,R))G<fe&&0>c(I,k)?(T[le]=I,T[G]=R,le=G):(T[le]=k,T[Y]=R,le=Y);else if(G<fe&&0>c(I,R))T[le]=I,T[G]=R,le=G;else break e}}return B}function c(T,B){var R=T.sortIndex-B.sortIndex;return R!==0?R:T.id-B.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;n.unstable_now=function(){return f.now()}}else{var d=Date,h=d.now();n.unstable_now=function(){return d.now()-h}}var m=[],y=[],b=1,v=null,w=3,O=!1,_=!1,j=!1,H=!1,L=typeof setTimeout=="function"?setTimeout:null,J=typeof clearTimeout=="function"?clearTimeout:null,ee=typeof setImmediate<"u"?setImmediate:null;function ae(T){for(var B=i(y);B!==null;){if(B.callback===null)l(y);else if(B.startTime<=T)l(y),B.sortIndex=B.expirationTime,s(m,B);else break;B=i(y)}}function P(T){if(j=!1,ae(T),!_)if(i(m)!==null)_=!0,X||(X=!0,te());else{var B=i(y);B!==null&&ue(P,B.startTime-T)}}var X=!1,C=-1,U=5,W=-1;function ne(){return H?!0:!(n.unstable_now()-W<U)}function se(){if(H=!1,X){var T=n.unstable_now();W=T;var B=!0;try{e:{_=!1,j&&(j=!1,J(C),C=-1),O=!0;var R=w;try{t:{for(ae(T),v=i(m);v!==null&&!(v.expirationTime>T&&ne());){var le=v.callback;if(typeof le=="function"){v.callback=null,w=v.priorityLevel;var fe=le(v.expirationTime<=T);if(T=n.unstable_now(),typeof fe=="function"){v.callback=fe,ae(T),B=!0;break t}v===i(m)&&l(m),ae(T)}else l(m);v=i(m)}if(v!==null)B=!0;else{var S=i(y);S!==null&&ue(P,S.startTime-T),B=!1}}break e}finally{v=null,w=R,O=!1}B=void 0}}finally{B?te():X=!1}}}var te;if(typeof ee=="function")te=function(){ee(se)};else if(typeof MessageChannel<"u"){var $=new MessageChannel,re=$.port2;$.port1.onmessage=se,te=function(){re.postMessage(null)}}else te=function(){L(se,0)};function ue(T,B){C=L(function(){T(n.unstable_now())},B)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(T){T.callback=null},n.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):U=0<T?Math.floor(1e3/T):5},n.unstable_getCurrentPriorityLevel=function(){return w},n.unstable_next=function(T){switch(w){case 1:case 2:case 3:var B=3;break;default:B=w}var R=w;w=B;try{return T()}finally{w=R}},n.unstable_requestPaint=function(){H=!0},n.unstable_runWithPriority=function(T,B){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var R=w;w=T;try{return B()}finally{w=R}},n.unstable_scheduleCallback=function(T,B,R){var le=n.unstable_now();switch(typeof R=="object"&&R!==null?(R=R.delay,R=typeof R=="number"&&0<R?le+R:le):R=le,T){case 1:var fe=-1;break;case 2:fe=250;break;case 5:fe=1073741823;break;case 4:fe=1e4;break;default:fe=5e3}return fe=R+fe,T={id:b++,callback:B,priorityLevel:T,startTime:R,expirationTime:fe,sortIndex:-1},R>le?(T.sortIndex=R,s(y,T),i(m)===null&&T===i(y)&&(j?(J(C),C=-1):j=!0,ue(P,R-le))):(T.sortIndex=fe,s(m,T),_||O||(_=!0,X||(X=!0,te()))),T},n.unstable_shouldYield=ne,n.unstable_wrapCallback=function(T){var B=w;return function(){var R=w;w=B;try{return T.apply(this,arguments)}finally{w=R}}}})(af)),af}var w0;function F2(){return w0||(w0=1,nf.exports=Z2()),nf.exports}var sf={exports:{}},vt={};/**
26 * @license React
27 * react-dom.production.js
28 *
29 * Copyright (c) Meta Platforms, Inc. and affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var S0;function J2(){if(S0)return vt;S0=1;var n=bo();function s(m){var y="https://react.dev/errors/"+m;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var b=2;b<arguments.length;b++)y+="&args[]="+encodeURIComponent(arguments[b])}return"Minified React error #"+m+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var l={d:{f:i,r:function(){throw Error(s(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},c=Symbol.for("react.portal");function f(m,y,b){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:v==null?null:""+v,children:m,containerInfo:y,implementation:b}}var d=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(m,y){if(m==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return vt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=l,vt.createPortal=function(m,y){var b=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(s(299));return f(m,y,null,b)},vt.flushSync=function(m){var y=d.T,b=l.p;try{if(d.T=null,l.p=2,m)return m()}finally{d.T=y,l.p=b,l.d.f()}},vt.preconnect=function(m,y){typeof m=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,l.d.C(m,y))},vt.prefetchDNS=function(m){typeof m=="string"&&l.d.D(m)},vt.preinit=function(m,y){if(typeof m=="string"&&y&&typeof y.as=="string"){var b=y.as,v=h(b,y.crossOrigin),w=typeof y.integrity=="string"?y.integrity:void 0,O=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;b==="style"?l.d.S(m,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:v,integrity:w,fetchPriority:O}):b==="script"&&l.d.X(m,{crossOrigin:v,integrity:w,fetchPriority:O,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},vt.preinitModule=function(m,y){if(typeof m=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var b=h(y.as,y.crossOrigin);l.d.M(m,{crossOrigin:b,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&l.d.M(m)},vt.preload=function(m,y){if(typeof m=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var b=y.as,v=h(b,y.crossOrigin);l.d.L(m,b,{crossOrigin:v,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},vt.preloadModule=function(m,y){if(typeof m=="string")if(y){var b=h(y.as,y.crossOrigin);l.d.m(m,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:b,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else l.d.m(m)},vt.requestFormReset=function(m){l.d.r(m)},vt.unstable_batchedUpdates=function(m,y){return m(y)},vt.useFormState=function(m,y,b){return d.H.useFormState(m,y,b)},vt.useFormStatus=function(){return d.H.useHostTransitionStatus()},vt.version="19.2.1",vt}var E0;function Wg(){if(E0)return sf.exports;E0=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(s){console.error(s)}}return n(),sf.exports=J2(),sf.exports}/**
34 * @license React
35 * react-dom-client.production.js
36 *
37 * Copyright (c) Meta Platforms, Inc. and affiliates.
38 *
39 * This source code is licensed under the MIT license found in the
40 * LICENSE file in the root directory of this source tree.
41 */var O0;function $2(){if(O0)return vi;O0=1;var n=F2(),s=bo(),i=Wg();function l(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function d(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function h(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function m(e){if(f(e)!==e)throw Error(l(188))}function y(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(l(188));return t!==e?null:e}for(var a=e,r=t;;){var o=a.return;if(o===null)break;var u=o.alternate;if(u===null){if(r=o.return,r!==null){a=r;
vendor: 12,771 bytes, lines 41-48
41continue}break}if(o.child===u.child){for(u=o.child;u;){if(u===a)return m(o),e;if(u===r)return m(o),t;u=u.sibling}throw Error(l(188))}if(a.return!==r.return)a=o,r=u;else{for(var p=!1,x=o.child;x;){if(x===a){p=!0,a=o,r=u;break}if(x===r){p=!0,r=o,a=u;break}x=x.sibling}if(!p){for(x=u.child;x;){if(x===a){p=!0,a=u,r=o;break}if(x===r){p=!0,r=u,a=o;break}x=x.sibling}if(!p)throw Error(l(189))}}if(a.alternate!==r)throw Error(l(190))}if(a.tag!==3)throw Error(l(188));return a.stateNode.current===a?e:t}function b(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=b(e),t!==null)return t;e=e.sibling}return null}var v=Object.assign,w=Symbol.for("react.element"),O=Symbol.for("react.transitional.element"),_=Symbol.for("react.portal"),j=Symbol.for("react.fragment"),H=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),J=Symbol.for("react.consumer"),ee=Symbol.for("react.context"),ae=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),X=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),ne=Symbol.for("react.memo_cache_sentinel"),se=Symbol.iterator;function te(e){return e===null||typeof e!="object"?null:(e=se&&e[se]||e["@@iterator"],typeof e=="function"?e:null)}var $=Symbol.for("react.client.reference");function re(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===$?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case j:return"Fragment";case L:return"Profiler";case H:return"StrictMode";case P:return"Suspense";case X:return"SuspenseList";case W:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case _:return"Portal";case ee:return e.displayName||"Context";case J:return(e._context.displayName||"Context")+".Consumer";case ae:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case C:return t=e.displayName||null,t!==null?t:re(e.type)||"Memo";case U:t=e._payload,e=e._init;try{return re(e(t))}catch{}}return null}var ue=Array.isArray,T=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R={pending:!1,data:null,method:null,action:null},le=[],fe=-1;function S(e){return{current:e}}function Y(e){0>fe||(e.current=le[fe],le[fe]=null,fe--)}function k(e,t){fe++,le[fe]=e.current,e.current=t}var G=S(null),I=S(null),Z=S(null),oe=S(null);function ve(e,t){switch(k(Z,t),k(I,e),k(G,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Ep(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Ep(t),e=Op(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Y(G),k(G,e)}function Oe(){Y(G),Y(I),Y(Z)}function at(e){e.memoizedState!==null&&k(oe,e);var t=G.current,a=Op(t,e.type);t!==a&&(k(I,e),k(G,a))}function Ie(e){I.current===e&&(Y(G),Y(I)),oe.current===e&&(Y(oe),di._currentValue=R)}var ut,Nn;function rn(e){if(ut===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);ut=t&&t[1]||"",Nn=-1<a.stack.indexOf(`
42    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
43`+ut+e+Nn}var wr=!1;function xs(e,t){if(!e||wr)return"";wr=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var F=function(){throw Error()};if(Object.defineProperty(F.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(F,[])}catch(Q){var q=Q}Reflect.construct(e,[],F)}else{try{F.call()}catch(Q){q=Q}e.call(F.prototype)}}else{try{throw Error()}catch(Q){q=Q}(F=e())&&typeof F.catch=="function"&&F.catch(function(){})}}catch(Q){if(Q&&q&&typeof Q.stack=="string")return[Q.stack,q.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=r.DetermineComponentFrameRoot(),p=u[0],x=u[1];if(p&&x){var E=p.split(`
44`),D=x.split(`
45`);for(o=r=0;r<E.length&&!E[r].includes("DetermineComponentFrameRoot");)r++;for(;o<D.length&&!D[o].includes("DetermineComponentFrameRoot");)o++;if(r===E.length||o===D.length)for(r=E.length-1,o=D.length-1;1<=r&&0<=o&&E[r]!==D[o];)o--;for(;1<=r&&0<=o;r--,o--)if(E[r]!==D[o]){if(r!==1||o!==1)do if(r--,o--,0>o||E[r]!==D[o]){var V=`
46`+E[r].replace(" at new "," at ");return e.displayName&&V.includes("<anonymous>")&&(V=V.replace("<anonymous>",e.displayName)),V}while(1<=r&&0<=o);break}}}finally{wr=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?rn(a):""}function Ua(e,t){switch(e.tag){case 26:case 27:case 5:return rn(e.type);case 16:return rn("Lazy");case 13:return e.child!==t&&t!==null?rn("Suspense Fallback"):rn("Suspense");case 19:return rn("SuspenseList");case 0:case 15:return xs(e.type,!1);case 11:return xs(e.type.render,!1);case 1:return xs(e.type,!0);case 31:return rn("Activity");default:return""}}function Sr(e){try{var t="",a=null;do t+=Ua(e,a),a=e,e=e.return;while(e);return t}catch(r){return`
47Error generating stack: `+r.message+`
48`+r.stack}}var Ut=Object.prototype.hasOwnProperty,Er=n.unstable_scheduleCallback,Or=n.unstable_cancelCallback,bt=n.unstable_shouldYield,na=n.unstable_requestPaint,wt=n.unstable_now,Uo=n.unstable_getCurrentPriorityLevel,qa=n.unstable_ImmediatePriority,Ui=n.unstable_UserBlockingPriority,La=n.unstable_NormalPriority,jr=n.unstable_LowPriority,Cn=n.unstable_IdlePriority,qi=n.log,aa=n.unstable_setDisableYieldValue,Ba=null,St=null;function ln(e){if(typeof qi=="function"&&aa(e),St&&typeof St.setStrictMode=="function")try{St.setStrictMode(Ba,e)}catch{}}var gt=Math.clz32?Math.clz32:pn,qo=Math.log,Ar=Math.LN2;function pn(e){return e>>>=0,e===0?32:31-(qo(e)/Ar|0)|0}var bs=256,ws=262144,Qa=4194304;function gn(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function xe(e,t,a){var r=e.pendingLanes;if(r===0)return 0;var o=0,u=e.suspendedLanes,p=e.pingedLanes;e=e.warmLanes;var x=r&134217727;return x!==0?(r=x&~u,r!==0?o=gn(r):(p&=x,p!==0?o=gn(p):a||(a=x&~e,a!==0&&(o=gn(a))))):(x=r&~u,x!==0?o=gn(x):p!==0?o=gn(p):a||(a=r&~e,a!==0&&(o=gn(a)))),o===0?0:t!==0&&t!==o&&(t&u)===0&&(u=o&-o,a=t&-t,u>=a||u===32&&(a&4194048)!==0)?t:o}function Ge(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function lt(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function yt(){var e=Qa;return Qa<<=1,(Qa&62914560)===0&&(Qa=4194304),e}function sa(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function Pe(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function At(e,t,a,r,o,u){var p=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var x=e.entanglements,E=e.expirationTimes,D=e.hiddenUpdates;for(a=p&~a;0<a;){var V=31-gt(a),F=1<<V;x[V]=0,E[V]=-1;var q=D[V];if(q!==null)for(D[V]=null,V=0;V<q.length;V++){var Q=q[V];Q!==null&&(Q.lane&=-536870913)}a&=~F}r!==0&&Ya(e,r,0),u!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=u&~(p&~t))}function Ya(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-gt(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|a&261930}function Tt(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var r=31-gt(a),o=1<<r;o&t|e[r]&t&&(e[r]|=t),a&=~o}}function _t(e,t){var a=t&-t;return a=(a&42)!==0?1:Ss(a),(a&(e.suspendedLanes|t))!==0?0:a}function Ss(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function on(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Lo(){var e=B.p;return e!==0?e:(e=window.event,e===void 0?32:Kp(e.type))}function cd(e,t){var a=B.p;try{return B.p=e,t()}finally{B.p=a}}var ra=Math.random().toString(36).slice(2),ft="__reactFiber$"+ra,Nt="__reactProps$"+ra,Es="__reactContainer$"+ra,Bo="__reactEvents$"+ra,jv="__reactListeners$"+ra,Av="__reactHandles$"+ra,ud="__reactResources$"+ra,Tr="__reactMarker$"+ra;function Qo(e){delete e[ft],delete e[Nt],delete e[Bo],delete e[jv],delete e[Av]}function Os(e){var t=e[ft];if(t)return t;for(var a=e.parentNode;a;){if(t=a[Es]||a[ft]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=Mp(e);e!==null;){if(a=e[ft])return a;e=Mp(e)}return t}e=a,a=e.parentNode}return null}function js(e){if(e=e[ft]||e[Es]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function _r(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(l(33))}function As(e){var t=e[ud];return t||(t=e[ud]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ot(e){e[Tr]=!0}var fd=new Set,dd={};function Ga(e,t){Ts(e,t),Ts(e+"Capture",t)}function Ts(e,t){for(dd[e]=t,e=0;e<t.length;e++)fd.add(t[e])}var Tv=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),hd={},md={};function _v(e){return Ut.call(md,e)?!0:Ut.call(hd,e)?!1:Tv.test(e)?md[e]=!0:(hd[e]=!0,!1)}function Li(e,t,a){if(_v(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if(r!=="data-"&&r!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function Bi(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function Mn(e,t,a,r){if(r===null)e.removeAttribute(a);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+r)}}function Zt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function pd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Nv(e,t,a){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,u=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(p){a=""+p,u.call(this,p)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return a},setValue:function(p){a=""+p},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Yo(e){if(!e._valueTracker){var t=pd(e)?"checked":"value";e._valueTracker=Nv(e,t,""+e[t])}}function gd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),r="";return e&&(r=pd(e)?e.checked?"true":"false":e.value),e=r,e!==a?(t.setValue(e),!0):!1}function Qi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Cv=/[\n"\\]/g;function Ft(e){return e.replace(Cv,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Go(e,t,a,r,o,u,p,x){e.name="",p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"?e.type=p:e.removeAttribute("type"),t!=null?p==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Zt
vendor: 4,176 bytes, line 48
48(t)):e.value!==""+Zt(t)&&(e.value=""+Zt(t)):p!=="submit"&&p!=="reset"||e.removeAttribute("value"),t!=null?Vo(e,p,Zt(t)):a!=null?Vo(e,p,Zt(a)):r!=null&&e.removeAttribute("value"),o==null&&u!=null&&(e.defaultChecked=!!u),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?e.name=""+Zt(x):e.removeAttribute("name")}function yd(e,t,a,r,o,u,p,x){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||a!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){Yo(e);return}a=a!=null?""+Zt(a):"",t=t!=null?""+Zt(t):a,x||t===e.value||(e.value=t),e.defaultValue=t}r=r??o,r=typeof r!="function"&&typeof r!="symbol"&&!!r,e.checked=x?e.checked:!!r,e.defaultChecked=!!r,p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(e.name=p),Yo(e)}function Vo(e,t,a){t==="number"&&Qi(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function _s(e,t,a,r){if(e=e.options,t){t={};for(var o=0;o<a.length;o++)t["$"+a[o]]=!0;for(a=0;a<e.length;a++)o=t.hasOwnProperty("$"+e[a].value),e[a].selected!==o&&(e[a].selected=o),o&&r&&(e[a].defaultSelected=!0)}else{for(a=""+Zt(a),t=null,o=0;o<e.length;o++){if(e[o].value===a){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function vd(e,t,a){if(t!=null&&(t=""+Zt(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+Zt(a):""}function xd(e,t,a,r){if(t==null){if(r!=null){if(a!=null)throw Error(l(92));if(ue(r)){if(1<r.length)throw Error(l(93));r=r[0]}a=r}a==null&&(a=""),t=a}a=Zt(t),e.defaultValue=a,r=e.textContent,r===a&&r!==""&&r!==null&&(e.value=r),Yo(e)}function Ns(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var Mv=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function bd(e,t,a){var r=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?r?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":r?e.setProperty(t,a):typeof a!="number"||a===0||Mv.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function wd(e,t,a){if(t!=null&&typeof t!="object")throw Error(l(62));if(e=e.style,a!=null){for(var r in a)!a.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf("--")===0?e.setProperty(r,""):r==="float"?e.cssFloat="":e[r]="");for(var o in t)r=t[o],t.hasOwnProperty(o)&&a[o]!==r&&bd(e,o,r)}else for(var u in t)t.hasOwnProperty(u)&&bd(e,u,t[u])}function Po(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Rv=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRen
48dering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),zv=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Yi(e){return zv.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Rn(){}var Xo=null;function Ko(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Cs=null,Ms=null;function Sd(e){var t=js(e);if(t&&(e=t.stateNode)){var a=e[Nt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Go(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+Ft(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var r=a[t];if(r!==e&&r.form===e.form){var o=r[Nt]||null;if(!o)throw Error(l(90));Go(r,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<a.length;t++)r=a[t],r.form===e.form&&gd(r)}break e;case"textarea":vd(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&_s(e,!!a.multiple,t,!1)}}}var Zo=!1;function Ed(e,t,a){if(Zo)return e(t,a);Zo=!0;try{var r=e(t);return r}finally{if(Zo=!1,(Cs!==null||Ms!==null)&&(Nl(),Cs&&(t=Cs,e=Ms,Ms=Cs=null,Sd(t),e)))for(t=0;t<e.length;t++)Sd(e[t])}}function Nr(e,t){var a=e.stateNode;if(a===null)return null;var r=a[Nt]||null;if(r===null)return null;a=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(l(231,t,typeof a));return a}var zn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fo=!1;if(zn)try{var Cr={};Object.defineProperty(Cr,"passive",{get:function(){Fo=!0}}),window.addEventListener("test",Cr,Cr),window.removeEventListener("test",Cr,Cr)}catch{Fo=!1}var ia=null,Jo=null,Gi=null;function Od(){if(Gi)return Gi;var e,t=Jo,a=t.length,r,o="value"in ia?ia.value:ia.textContent,u=o.length;for(e=0;e<a&&t[e]===o[e];e++);var p=a-e;for(r=1;r<=p&&t[a-r]===o[u-r];r++);return Gi=o.slice(e,1<r?1-r:void 0)}function Vi(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Pi(){return!0}
vendor: 2,951 bytes, line 48
48function jd(){return!1}function Ct(e){function t(a,r,o,u,p){this._reactName=a,this._targetInst=o,this.type=r,this.nativeEvent=u,this.target=p,this.currentTarget=null;for(var x in e)e.hasOwnProperty(x)&&(a=e[x],this[x]=a?a(u):u[x]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Pi:jd,this.isPropagationStopped=jd,this}return v(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Pi)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Pi)},persist:function(){},isPersistent:Pi}),t}var Va={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Xi=Ct(Va),Mr=v({},Va,{view:0,detail:0}),Hv=Ct(Mr),$o,Io,Rr,Ki=v({},Mr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ec,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Rr&&(Rr&&e.type==="mousemove"?($o=e.screenX-Rr.screenX,Io=e.screenY-Rr.screenY):Io=$o=0,Rr=e),$o)},movementY:function(e){return"movementY"in e?e.movementY:Io}}),Ad=Ct(Ki),Dv=v({},Ki,{dataTransfer:0}),kv=Ct(Dv),Uv=v({},Mr,{relatedTarget:0}),Wo=Ct(Uv),qv=v({},Va,{animationName:0,elapsedTime:0,pseudoElement:0}),Lv=Ct(qv),Bv=v({},Va,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Qv=Ct(Bv),Yv=v({},Va,{data:0}),Td=Ct(Yv),Gv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Vv={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Pv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Xv(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Pv[e])?!!t[e]:!1}function ec(){return Xv}var Kv=v({},Mr,{key:function(e){if(e.key){var t=Gv[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Vi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Vv[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ec,charCo
vendor: 4,938 bytes, line 48
48de:function(e){return e.type==="keypress"?Vi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Vi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Zv=Ct(Kv),Fv=v({},Ki,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),_d=Ct(Fv),Jv=v({},Mr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ec}),$v=Ct(Jv),Iv=v({},Va,{propertyName:0,elapsedTime:0,pseudoElement:0}),Wv=Ct(Iv),ex=v({},Ki,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),tx=Ct(ex),nx=v({},Va,{newState:0,oldState:0}),ax=Ct(nx),sx=[9,13,27,32],tc=zn&&"CompositionEvent"in window,zr=null;zn&&"documentMode"in document&&(zr=document.documentMode);var rx=zn&&"TextEvent"in window&&!zr,Nd=zn&&(!tc||zr&&8<zr&&11>=zr),Cd=" ",Md=!1;function Rd(e,t){switch(e){case"keyup":return sx.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Rs=!1;function ix(e,t){switch(e){case"compositionend":return zd(t);case"keypress":return t.which!==32?null:(Md=!0,Cd);case"textInput":return e=t.data,e===Cd&&Md?null:e;default:return null}}function lx(e,t){if(Rs)return e==="compositionend"||!tc&&Rd(e,t)?(e=Od(),Gi=Jo=ia=null,Rs=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Nd&&t.locale!=="ko"?null:t.data;default:return null}}var ox={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ox[e.type]:t==="textarea"}function Dd(e,t,a,r){Cs?Ms?Ms.push(r):Ms=[r]:Cs=r,t=kl(t,"onChange"),0<t.length&&(a=new Xi("onChange","change",null,a,r),e.push({event:a,listeners:t}))}var Hr=null,Dr=null;function cx(e){yp(e,0)}function Zi(e){var t=_r(e);if(gd(t))return e}function kd(e,t){if(e==="change")return t}var Ud=!1;if(zn){var nc;if(zn){var ac="oninput"in document;if(!ac){var qd=document.createElement("div");qd.setAttribute("oninput","return;"),ac=typeof qd.oninput=="function"}nc=ac}else nc=!1;Ud=nc&&(!document.documentMode||9<document.documentMode)}function Ld(){Hr&&(Hr.detachEvent("onpropertychange",Bd),Dr=Hr=null)}function Bd(e){if(e.propertyName==="value"&&Zi(Dr)){var t=[];Dd(t,Dr,e,Ko(e)),Ed(cx,t)}}function ux(e,t,a){e==="focusin"?(Ld(),Hr=t,Dr=a,Hr.attachEvent("onpropertychange",Bd)):e==="focusout"&&Ld()}function fx(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Zi(Dr)}function dx(e,t){if(e==="click")return Zi(t)}function hx(e,t){if(e==="input"||e==="change")return Zi(t)}function mx(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var qt=typeof Object.is=="function"?Object.is:mx;function kr(e,t){if(qt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),r=Object.keys(t);if(a.length!==r.length)return!1;for(r=0;r<a.length;r++){var o=a[r];if(!Ut.call(t,o)||!qt(e[o],t[o]))return!1}return!0}function Qd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Yd(e,t){var a=Qd(e);e=0;for(var r;a;){if(a.nodeType===3){if(r=e+a.textContent.length,e<=t&&r>=t)return{node:a,offset:t-e};e=r}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Qd(a)}}function Gd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Gd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Vd(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Qi(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=Qi(e.document)}return t}function sc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var px=zn&&"documentMode"in document&&11>=document.documentMode,zs=null,rc=null,Ur=null,ic=!1;function Pd(e,t,a){var r=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;ic||zs==null||zs!==Qi(r)||(r=zs,"selectionStart"in r&&sc(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 22,188 bytes, line 48
48sNode:r.focusNode,focusOffset:r.focusOffset}),Ur&&kr(Ur,r)||(Ur=r,r=kl(rc,"onSelect"),0<r.length&&(t=new Xi("onSelect","select",null,t,a),e.push({event:t,listeners:r}),t.target=zs)))}function Pa(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var Hs={animationend:Pa("Animation","AnimationEnd"),animationiteration:Pa("Animation","AnimationIteration"),animationstart:Pa("Animation","AnimationStart"),transitionrun:Pa("Transition","TransitionRun"),transitionstart:Pa("Transition","TransitionStart"),transitioncancel:Pa("Transition","TransitionCancel"),transitionend:Pa("Transition","TransitionEnd")},lc={},Xd={};zn&&(Xd=document.createElement("div").style,"AnimationEvent"in window||(delete Hs.animationend.animation,delete Hs.animationiteration.animation,delete Hs.animationstart.animation),"TransitionEvent"in window||delete Hs.transitionend.transition);function Xa(e){if(lc[e])return lc[e];if(!Hs[e])return e;var t=Hs[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in Xd)return lc[e]=t[a];return e}var Kd=Xa("animationend"),Zd=Xa("animationiteration"),Fd=Xa("animationstart"),gx=Xa("transitionrun"),yx=Xa("transitionstart"),vx=Xa("transitioncancel"),Jd=Xa("transitionend"),$d=new Map,oc="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");oc.push("scrollEnd");function cn(e,t){$d.set(e,t),Ga(t,[e])}var Fi=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Jt=[],Ds=0,cc=0;function Ji(){for(var e=Ds,t=cc=Ds=0;t<e;){var a=Jt[t];Jt[t++]=null;var r=Jt[t];Jt[t++]=null;var o=Jt[t];Jt[t++]=null;var u=Jt[t];if(Jt[t++]=null,r!==null&&o!==null){var p=r.pending;p===null?o.next=o:(o.next=p.next,p.next=o),r.pending=o}u!==0&&Id(a,o,u)}}function $i(e,t,a,r){Jt[Ds++]=e,Jt[Ds++]=t,Jt[Ds++]=a,Jt[Ds++]=r,cc|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function uc(e,t,a,r){return $i(e,t,a,r),Ii(e)}function Ka(e,t){return $i(e,null,null,t),Ii(e)}function Id(e,t,a){e.lanes|=a;var r=e.alternate;r!==null&&(r.lanes|=a);for(var o=!1,u=e.return;u!==null;)u.childLanes|=a,r=u.alternate,r!==null&&(r.childLanes|=a),u.tag===22&&(e=u.stateNode,e===null||e._visibility&1||(o=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,o&&t!==null&&(o=31-gt(a),e=u.hiddenUpdates,r=e[o],r===null?e[o]=[t]:r.push(t),t.lane=a|536870912),u):null}function Ii(e){if(50<ri)throw ri=0,xu=null,Error(l(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ks={};function xx(e,t,a,r){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Lt(e,t,a,r){return new xx(e,t,a,r)}function fc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Hn(e,t){var a=e.alternate;return a===null?(a=Lt(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function Wd(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Wi(e,t,a,r,o,u){var p=0;if(r=e,typeof e=="function")fc(e)&&(p=1);else if(typeof e=="string")p=Ob(e,a,G.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case W:return e=Lt(31,a,t,o),e.elementType=W,e.lanes=u,e;case j:return Za(a.children,o,u,t);case H:p=8,o|=24;break;case L:return e=Lt(12,a,t,o|2),e.elementType=L,e.lanes=u,e;case P:return e=Lt(13,a,t,o),e.elementType=P,e.lanes=u,e;case X:return e=Lt(19,a,t,o),e.elementType=X,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ee:p=10;break e;case J:p=9;break e;case ae:p=11;break e;case C:p=14;break e;case U:p=16,r=null;break e}p=29,a=Error(l(130,e===null?"null":typeof e,"")),r=null}return t=Lt(p,a,t,o),t.elementType=e,t.type=r,t.lanes=u,t}function Za(e,t,a,r){return e=Lt(7,e,r,t),e.lanes=a,e}function dc(e,t,a){return e=Lt(6,e,null,t),e.lanes=a,e}function eh(e){var t=Lt(18,null,null,0);return t.stateNode=e,t}function hc(e,t,a){return t=Lt(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var th=new WeakMap;function $t(e,t){if(typeof e=="object"&&e!==null){var a=th.get(e);return a!==void 0?a:(t={value:e,source:t,stack:Sr(t)},th.set(e,t),t)}return{value:e,source:t,stack:Sr(t)}}var Us=[],qs=0,el=null,qr=0,It=[],Wt=0,la=null,yn=1,vn="";function Dn(e,t){Us[qs++]=qr,Us[qs++]=el,el=e,qr=t}function nh(e,t,a){It[Wt++]=yn,It[Wt++]=vn,It[Wt++]=la,la=e;var r=yn;e=vn;var o=32-gt(r)-1;r&=~(1<<o),a+=1;var u=32-gt(t)+o;if(30<u){var p=o-o%5;u=(r&(1<<p)-1).toString(32),r>>=p,o-=p,yn=1<<32-gt(t)+o|a<<o|r,vn=u+e}else yn=1<<u|a<<o|r,vn=e}function mc(e){e.return!==null&&(Dn(e,1),nh(e,1,0))}function pc(e){for(;e===el;)el=Us[--qs],Us[qs]=null,qr=Us[--qs],Us[qs]=null;for(;e===la;)la=It[--Wt],It[Wt]=null,vn=It[--Wt],It[Wt]=null,yn=It[--Wt],It[Wt]=null}function ah(e,t){It[Wt++]=yn,It[Wt++]=vn,It[Wt++]=la,yn=t.id,vn=t.overflow,la=e}var dt=null,Qe=null,Ce=!1,oa=null,en=!1,gc=Error(l(519));function ca(e){var t=Error(l(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Lr($t(t,e)),gc}function sh(e){var t=e.stateNode,a=e.type,r=e.memoizedProps;switch(t[ft]=e,t[Nt]=r,a){case"dialog":Ae("cancel",t),Ae("close",t);break;case"iframe":case"object":case"embed":Ae("load",t);break;case"video":case"audio":for(a=0;a<li.length;a++)Ae(li[a],t);break;case"source":Ae("error",t);break;case"img":case"image":case"link":Ae("error",t),Ae("load",t);break;case"details":Ae("toggle",t);break;case"input":Ae("invalid",t),yd(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":Ae("invalid",t);break;case"textarea":Ae("invalid",t),xd(t,r.value,r.defaultValue,r.children)}a=r.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||r.suppressHydrationWarning===!0||wp(t.textContent,a)?(r.popover!=null&&(Ae("beforetoggle",t),Ae("toggle",t)),r.onScroll!=null&&Ae("scroll",t),r.onScrollEnd!=null&&Ae("scrollend",t),r.onClick!=null&&(t.onclick=Rn),t=!0):t=!1,t||ca(e,!0)}function rh(e){for(dt=e.return;dt;)switch(dt.tag){case 5:case 31:case 13:en=!1;return;case 27:case 3:en=!0;return;default:dt=dt.return}}function Ls(e){if(e!==dt)return!1;if(!Ce)return rh(e),Ce=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||Hu(e.type,e.memoizedProps)),a=!a),a&&Qe&&ca(e),rh(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(l(317));Qe=Cp(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(l(317));Qe=Cp(e)}else t===27?(t=Qe,Ea(e.type)?(e=Lu,Lu=null,Qe=e):Qe=t):Qe=dt?nn(e.stateNode.nextSibling):null;return!0}function Fa(){Qe=dt=null,Ce=!1}function yc(){var e=oa;return e!==null&&(Ht===null?Ht=e:Ht.push.apply(Ht,e),oa=null),e}function Lr(e){oa===null?oa=[e]:oa.push(e)}var vc=S(null),Ja=null,kn=null;function ua(e,t,a){k(vc,t._currentValue),t._currentValue=a}function Un(e){e._currentValue=vc.current,Y(vc)}function xc(e,t,a){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===a)break;e=e.return}}function bc(e,t,a,r){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var u=o.dependencies;if(u!==null){var p=o.child;u=u.firstContext;e:for(;u!==null;){var x=u;u=o;for(var E=0;E<t.length;E++)if(x.context===t[E]){u.lanes|=a,x=u.alternate,x!==null&&(x.lanes|=a),xc(u.return,a,e),r||(p=null);break e}u=x.next}}else if(o.tag===18){if(p=o.return,p===null)throw Error(l(341));p.lanes|=a,u=p.alternate,u!==null&&(u.lanes|=a),xc(p,a,e),p=null}else p=o.child;if(p!==null)p.return=o;else for(p=o;p!==null;){if(p===e){p=null;break}if(o=p.sibling,o!==null){o.return=p.return,p=o;break}p=p.return}o=p}}function Bs(e,t,a,r){e=null;for(var o=t,u=!1;o!==null;){if(!u){if((o.flags&524288)!==0)u=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var p=o.alternate;if(p===null)throw Error(l(387));if(p=p.memoizedProps,p!==null){var x=o.type;qt(o.pendingProps.value,p.value)||(e!==null?e.push(x):e=[x])}}else if(o===oe.current){if(p=o.alternate,p===null)throw Error(l(387));p.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(di):e=[di])}o=o.return}e!==null&&bc(t,e,a,r),t.flags|=262144}function tl(e){for(e=e.firstContext;e!==null;){if(!qt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function $a(e){Ja=e,kn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ht(e){return ih(Ja,e)}function nl(e,t){return Ja===null&&$a(e),ih(e,t)}function ih(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},kn===null){if(e===null)throw Error(l(308));kn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else kn=kn.next=t;return a}var bx=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,r){e.push(r)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},wx=n.unstable_scheduleCallback,Sx=n.unstable_NormalPriority,We={$$typeof:ee,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function wc(){return{controller:new bx,data:new Map,refCount:0}}function Br(e){e.refCount--,e.refCount===0&&wx(Sx,function(){e.controller.abort()})}var Qr=null,Sc=0,Qs=0,Ys=null;function Ex(e,t){if(Qr===null){var a=Qr=[];Sc=0,Qs=ju(),Ys={status:"pending",value:void 0,then:function(r){a.push(r)}}}return Sc++,t.then(lh,lh),t}function lh(){if(--Sc===0&&Qr!==null){Ys!==null&&(Ys.status="fulfilled");var e=Qr;Qr=null,Qs=0,Ys=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Ox(e,t){var a=[],r={status:"pending",value:null,reason:null,then:function(o){a.push(o)}};return e.then(function(){r.status="fulfilled",r.value=t;for(var o=0;o<a.length;o++)(0,a[o])(t)},function(o){for(r.status="rejected",r.reason=o,o=0;o<a.length;o++)(0,a[o])(void 0)}),r}var oh=T.S;T.S=function(e,t){Pm=wt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Ex(e,t),oh!==null&&oh(e,t)};var Ia=S(null);function Ec(){var e=Ia.current;return e!==null?e:Be.pooledCache}function al(e,t){t===null?k(Ia,Ia.current):k(Ia,t.pool)}function ch(){var e=Ec();return e===null?null:{parent:We._currentValue,pool:e}}var Gs=Error(l(460)),Oc=Error(l(474)),sl=Error(l(542)),rl={then:function(){}};function uh(e){return e=e.status,e==="fulfilled"||e==="rejected"}function fh(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(Rn,Rn),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,hh(e),e;default:if(typeof t.status=="string")t.then(Rn,Rn);else{if(e=Be,e!==null&&100<e.shellSuspendCounter)throw Error(l(482));e=t,e.status="pending",e.then(function(r){if(t.status==="pending"){var o=t;o.status="fulfilled",o.value=r}},function(r){if(t.status==="pending"){var o=t;o.status="rejected",o.reason=r}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,hh(e),e}throw es=t,Gs}}function Wa(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(es=a,Gs):a}}var es=null;function dh(){if(es===null)throw Error(l(459));var e=es;return es=null,e}function hh(e){if(e===Gs||e===sl)throw Error(l(483))}var Vs=null,Yr=0;function il(e){var t=Yr;return Yr+=1,Vs===null&&(Vs=[]),fh(Vs,e,t)}function Gr(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function ll(e,t){throw t.$$typeof===w?Error(l(525)):(e=Object.prototype.toString.call(t),Error(l(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function mh(e){function t(M,N){if(e){var z=M.deletions;z===null?(M.deletions=[N],M.flags|=16):z.push(N)}}function a(M,N){if(!e)return null;for(;N!==null;)t(M,N),N=N.sibling;return null}function r(M){for(var N=new Map;M!==null;)M.key!==null?N.set(M.key,M):N.set(M.index,M),M=M.sibling;return N}function o(M,N){return M=Hn(M,N),M.index=0,M.sibling=null,M}function u(M,N,z){return M.index=z,e?(z=M.alternate,z!==null?(z=z.index,z<N?(M.flags|=67108866,N):z):(M.flags|=67108866,N)):(M.flags|=1048576,N)}function p(M){return e&&M.alternate===null&&(M.flags|=67108866),M}function x(M,N,z,K){return N===null||N.tag!==6?(N=dc(z,M.mode,K),N.return=M,N):(N=o(N,z),N.return=M,N)}function E(M,N,z,K){var ge=z.type;return ge===j?V(M,N,z.props.children,K,z.key):N!==null&&(N.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===U&&Wa(ge)===N.type)?(N=o(N,z.props),Gr(N,z),N.return=M,N):(N=Wi(z.type,z.key,z.props,null,M.mode,K),Gr(N,z),N.return=M,N)}function D(M,N,z,K){return N===null||N.tag!==4||N.stateNode.containerInfo!==z.containerInfo||N.stateNode.implementation!==z.implementation?(N=hc(z,M.mode,K),N.return=M,N):(N=o(N,z.children||[]),N.return=M,N)}function V(M,N,z,K,ge){return N===null||N.tag!==7?(N=Za(z,M.mode,K,ge),N.return=M,N):(N=o(N,z),N.return=M,N)}function F(M,N,z){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return N=dc(""+N,M.mode,z),N.return=M,N;if(typeof N=="object"&&N!==null){switch(N.$$typeof){case O:return z=Wi(N.type,N.key,N.props,null,M.mode,z),Gr(z,N),z.return=M,z;case _:return N=hc(N,M.mode,z),N.return=M,N;case U:return N=Wa(N),F(M,N,z)}if(ue(N)||te(N))return N=Za(N,M.mode,z,null),N.return=M,N;if(typeof N.then=="function")return F(M,il(N),z);if(N.$$typeof===ee)return F(M,nl(M,N),z);ll(M,N)}return null}function q(M,N,z,K){var ge=N!==null?N.key:null;if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return ge!==null?null:x(M,N,""+z,K);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case O:return z.key===ge?E(M,N,z,K):null;case _:return z.key===ge?D(M,N,z,K):null;case U:return z=Wa(z),q(M,N,z,K)}if(ue(z)||te(z))return ge!==null?null:V(M,N,z,K,null);if(typeof z.then=="function")return q(M,N,il(z),K);if(z.$$typeof===ee)return q(M,N,nl(M,z),K);ll(M,z)}return null}function Q(M,N,z,K,ge){if(typeof K=="string"&&K!==""||typeof K=="number"||typeof K=="bigint")return M=M.get(z)||null,x(N,M,""+K,ge);if(typeof K=="object"&&K!==null){switch(K.$$typeof){case O:return M=M.get(K.key===null?z:K.key)||null,E(N,M,K,ge);case _:return M=M.get(K.key===null?z:K.key)||null,D(N,M,K,ge);case U:return K=Wa(K),Q(M,N,z,K,ge)}if(ue(K)||te(K))return M=M.get(z)||null,V(N,M,K,ge,null);if(typeof K.then=="function")return Q(M,N,z,il(K),ge);if(K.$$typeof===ee)return Q(M,N,z,nl(N,K),ge);ll(N,K)}return null}function de(M,N,z,K){for(var ge=null,Me=null,pe=N,Se=N=0,Ne=null;pe!==null&&Se<z.length;Se++){pe.index>Se?(Ne=pe,pe=null):Ne=pe.sibling;var Re=q(M,pe,z[Se],K);if(Re===null){pe===null&&(pe=Ne);break}e&&pe&&Re.alternate===null&&t(M,pe),N=u(Re,N,Se),Me===null?ge=Re:Me.sibling=Re,Me=Re,pe=Ne}if(Se===z.length)return a(M,pe),Ce&&Dn(M,Se),ge;if(pe===null){for(;Se<z.length;Se++)pe=F(M,z[Se],K),pe!==null&&(N=u(pe,N,Se),Me===null?ge=pe:Me.sibling=pe,Me=pe);return Ce&&Dn(M,Se),ge}for(pe=r(pe);Se<z.length;Se++)Ne=Q(pe,M,Se,z[Se],K),Ne!==null&&(e&&Ne.alternate!==null&&pe.delete(Ne.key===null?Se:Ne.key),N=u(Ne,N,Se),Me===null?ge=Ne:Me.sibling=Ne,Me=Ne);return e&&pe.forEach(function(_a){return t(M,_a)}),Ce&&Dn(M,Se),ge}function ye(M,N,z,K){if(z==null)throw Error(l(151));for(var ge=null,Me=null,pe=N,Se=N=0,Ne=null,Re=z.next();pe!==null&&!Re.done;Se++,Re=z.next()){pe.index>Se?(Ne=pe,pe=null):Ne=pe.sibling;var _a=q(M,pe,Re.value,K);if(_a===null){pe===null&&(pe=Ne);break}e&&pe&&_a.alternate===null&&t(M,pe),N=u(_a,N,Se),Me===null?ge=_a:Me.sibling=_a,Me=_a,pe=Ne}if(Re.done)return a(M,pe),Ce&&Dn(M,Se),ge;if(pe===null){for(;!Re.done;Se++,Re=z.next())Re=F(M,Re.value,K),Re!==null&&(N=u(Re,N,Se),Me===null?ge=Re:Me.sibling=Re,Me=Re);return Ce&&Dn(M,Se),ge}for(pe=r(pe);!Re.done;Se++,Re=z.next())Re=Q(pe,M,Se,Re.value,K),Re!==null&&(e&&Re.alternate!==null&&pe.delete(Re.key===null?Se:Re.key),N=u(Re,N,Se),Me===null?ge=Re:Me.sibling=Re,Me=Re);return e&&pe.forEach(function(Db){return t(M,Db)}),Ce&&Dn(M,Se),ge}function Le(M,N,z,K){if(typeof z=="object"&&z!==null&&z.type===j&&z.key===null&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case O:e:{for(var ge=z.key;N!==null;){if(N.key===ge){if(ge=z.type,ge===j){if(N.tag===7){a(M,N.sibling),K=o(N,z.props.children),K.return=M,M=K;break e}}else if(N.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===U&&Wa(ge)===N.type){a(M,N.sibling),K=o(N,z.props),Gr(K,z),K.return=M,M=K;break e}a(M,N);break}else t(M,N);N=N.sibling}z.type===j?(K=Za(z.props.children,M.mode,K,z.key),K.return=M,M=K):(K=Wi(z.type,z.key,z.props,null,M.mode,K),Gr(K,z),K.return=M,M=K)}return p(M);case _:e:{for(ge=z.key;N!==null;){if(N.key===ge)if(N.tag===4&&N.stateNode.containerInfo===z.containerInfo&&N.stateNode.implementation===z.implementation){a(M,N.sibling),K=o(N,z.children||[]),K.return=M,M=K;break e}else{a(M,N);break}else t(M,N);N=N.sibling}K=hc(z,M.mode,K),K.return=M,M=K}return p(M);case U:return z=Wa(z),Le(M,N,z,K)}if(ue(z))return de(M,N,z,K);if(te(z)){if(ge=te(z),typeof ge!="function")throw Error(l(150));return z=ge.call(z),ye(M,N,z,K)}if(typeof z.then=="function")return Le(M,N,il(z),K);if(z.$$typeof===ee)return Le(M,N,nl(M,z),K);ll(M,z)}return typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint"?(z=""+z,N!==null&&N.tag===6?(a(M,N.sibling),K=o(N,z),K.return=M,M=K):(a(M,N),K=dc(z,M.mode,K),K.return=M,M=K),p(M)):a(M,N)}return function(M,N,z,K){try{Yr=0;var ge=Le(M,N,z,K);return Vs=null,ge}catch(pe){if(pe===Gs||pe===sl)throw pe;var Me=Lt(29,pe,null,M.mode);return Me.lanes=K,Me.return=M,Me}finally{}}}var ts=mh(!0),ph=mh(!1),fa=!1;function jc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ac(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function da(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ha(e,t,a){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(He&2)!==0){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,t=Ii(e),Id(e,null,a),t}return $i(e,r,t,a),Ii(e)}function Vr(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var r=t.lanes;r&=e.pendingLanes,a|=r,t.lanes=a,Tt(e,a)}}function Tc(e,t){var a=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,a===r)){var o=null,u=null;if(a=a.firstBaseUpdate,a!==null){do{var p={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};u===null?o=u=p:u=u.next=p,a=a.next}while(a!==null);u===null?o=u=t:u=u.next=t}else o=u=t;a={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:u,shared:r.shared,callbacks:r.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var _c=!1;function Pr(){if(_c){var e=Ys;if(e!==null)throw e}}function Xr(e,t,a,r){_c=!1;var o=e.updateQueue;fa=!1;var u=o.firstBaseUpdate,p=o.lastBaseUpdate,x=o.shared.pending;if(x!==null){o.shared.pending=null;var E=x,D=E.next;E.next=null,p===null?u=D:p.next=D,p=E;var V=e.alternate;V!==null&&(V=V.updateQueue,x=V.lastBaseUpdate,x!==p&&(x===null?V.firstBaseUpdate=D:x.next=D,V.lastBaseUpdate=E))}if(u!==null){var F=o.baseState;p=0,V=D=E=null,x=u;do{var q=x.lane&-536870913,Q=q!==x.lane;if(Q?(_e&q)===q:(r&q)===q){q!==0&&q===Qs&&(_c=!0),V!==null&&(V=V.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});e:{var de=e,ye=x;q=t;var Le=a;switch(ye.tag){case 1:if(de=ye.payload,typeof de=="function"){F=de.call(Le,F,q);break e}F=de;break e;case 3:de.flags=de.flags&-65537|128;case 0:if(de=ye.payload,q=typeof de=="function"?de.call(Le,F,q):de,q==null)break e;F=v({},F,q);break e;case 2:fa=!0}}q=x.callback,q!==null&&(e.flags|=64,Q&&(e.flags|=8192),Q=o.callbacks,Q===null?o.callbacks=[q]:Q.push(q))}else Q={lane:q,tag:x.tag,payload:x.payload,callback:x.callback,next:null},V===null?(D=V=Q,E=F):V=V.next=Q,p|=q;if(x=x.next,x===null){if(x=o.shared.pending,x===null)break;Q=x,x=Q.next,Q.next=null,o.lastBaseUpdate=Q,o.shared.pending=null}}while(!0);V===null&&(E=F),o.baseState=E,o.firstBaseUpdate=D,o.lastBaseUpdate=V,u===null&&(o.shared.lanes=0),va|=p,e.lanes=p,e.memoizedState=F}}function gh(e,t){if(typeof e!="function")throw Error(l(191,e));e.call(t)}function yh(e,t){var a=e.callbacks;
vendor: 5,139 bytes, line 48
48if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)gh(a[e],t)}var Ps=S(null),ol=S(0);function vh(e,t){e=Xn,k(ol,e),k(Ps,t),Xn=e|t.baseLanes}function Nc(){k(ol,Xn),k(Ps,Ps.current)}function Cc(){Xn=ol.current,Y(Ps),Y(ol)}var Bt=S(null),tn=null;function ma(e){var t=e.alternate;k(Fe,Fe.current&1),k(Bt,e),tn===null&&(t===null||Ps.current!==null||t.memoizedState!==null)&&(tn=e)}function Mc(e){k(Fe,Fe.current),k(Bt,e),tn===null&&(tn=e)}function xh(e){e.tag===22?(k(Fe,Fe.current),k(Bt,e),tn===null&&(tn=e)):pa()}function pa(){k(Fe,Fe.current),k(Bt,Bt.current)}function Qt(e){Y(Bt),tn===e&&(tn=null),Y(Fe)}var Fe=S(0);function cl(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Uu(a)||qu(a)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var qn=0,we=null,Ue=null,et=null,ul=!1,Xs=!1,ns=!1,fl=0,Kr=0,Ks=null,jx=0;function Xe(){throw Error(l(321))}function Rc(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!qt(e[a],t[a]))return!1;return!0}function zc(e,t,a,r,o,u){return qn=u,we=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,T.H=e===null||e.memoizedState===null?nm:Zc,ns=!1,u=a(r,o),ns=!1,Xs&&(u=wh(t,a,r,o)),bh(e),u}function bh(e){T.H=Jr;var t=Ue!==null&&Ue.next!==null;if(qn=0,et=Ue=we=null,ul=!1,Kr=0,Ks=null,t)throw Error(l(300));e===null||tt||(e=e.dependencies,e!==null&&tl(e)&&(tt=!0))}function wh(e,t,a,r){we=e;var o=0;do{if(Xs&&(Ks=null),Kr=0,Xs=!1,25<=o)throw Error(l(301));if(o+=1,et=Ue=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}T.H=am,u=t(a,r)}while(Xs);return u}function Ax(){var e=T.H,t=e.useState()[0];return t=typeof t.then=="function"?Zr(t):t,e=e.useState()[0],(Ue!==null?Ue.memoizedState:null)!==e&&(we.flags|=1024),t}function Hc(){var e=fl!==0;return fl=0,e}function Dc(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function kc(e){if(ul){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}ul=!1}qn=0,et=Ue=we=null,Xs=!1,Kr=fl=0,Ks=null}function Et(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return et===null?we.memoizedState=et=e:et=et.next=e,et}function Je(){if(Ue===null){var e=we.alternate;e=e!==null?e.memoizedState:null}else e=Ue.next;var t=et===null?we.memoizedState:et.next;if(t!==null)et=t,Ue=e;else{if(e===null)throw we.alternate===null?Error(l(467)):Error(l(310));Ue=e,e={memoizedState:Ue.memoizedState,baseState:Ue.baseState,baseQueue:Ue.baseQueue,queue:Ue.queue,next:null},et===null?we.memoizedState=et=e:et=et.next=e}return et}function dl(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Zr(e){var t=Kr;return Kr+=1,Ks===null&&(Ks=[]),e=fh(Ks,e,t),t=we,(et===null?t.memoizedState:et.next)===null&&(t=t.alternate,T.H=t===null||t.memoizedState===null?nm:Zc),e}function hl(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Zr(e);if(e.$$typeof===ee)return ht(e)}throw Error(l(438,String(e)))}function Uc(e){var t=null,a=we.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var r=we.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=dl(),we.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),r=0;r<e;r++)a[r]=ne;return t.index++,a}function Ln(e,t){return typeof t=="function"?t(e):t}function ml(e){var t=Je();return qc(t,Ue,e)}function qc(e,t,a){var r=e.queue;if(r===null)throw Error(l(311));r.lastRenderedReducer=a;var o=e.baseQueue,u=r.pending;if(u!==null){if(o!==null){var p=o.next;o.next=u.next,u.next=p}t.baseQueue=o=u,r.pending=null}if(u=e.baseState,o===null)e.memoizedState=u;else{t=o.next;var x=p=null,E=null,D=t,V=!1;do{var F=D.lane&-536870913;if(F!==D.lane?(_e&F)===F:(qn&F)===F){var q=D.revertLane;if(q===0)E!==null&&(E=E.next={lane:0,revertLane:0,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),F===Qs&&(V=!0);else if((qn&q)===q){D=D.next,q===Qs&&(V=!0);continue}else F={lane:0,revertLane:D.revertLane,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},E===null?(x=E=F,p=u):E=E.next=F,we.lanes|=q,va|=q;F=D.action,ns&&a(u,F),u=D.hasEagerState?D.eagerState:a(u,F)}else q={lane:F,revertLane:D.revertLane,gesture:D.gesture,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},E===null?(x=E=q,p=u):E=E.next=q,we.lanes|=F,va|=F;D=D.next}while(D!==null&&D!==t);if(E===null?p=u:E.next=x,!qt(u,e.memoizedState)&&(tt=!0,V&&(a=Ys,a!==null)))throw a;e.memoizedState=u,e.baseState=p,e.baseQueue=E,r.lastRenderedState=u}
vendor: 9,338 bytes, line 48
48return o===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Lc(e){var t=Je(),a=t.queue;if(a===null)throw Error(l(311));a.lastRenderedReducer=e;var r=a.dispatch,o=a.pending,u=t.memoizedState;if(o!==null){a.pending=null;var p=o=o.next;do u=e(u,p.action),p=p.next;while(p!==o);qt(u,t.memoizedState)||(tt=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),a.lastRenderedState=u}return[u,r]}function Sh(e,t,a){var r=we,o=Je(),u=Ce;if(u){if(a===void 0)throw Error(l(407));a=a()}else a=t();var p=!qt((Ue||o).memoizedState,a);if(p&&(o.memoizedState=a,tt=!0),o=o.queue,Yc(jh.bind(null,r,o,e),[e]),o.getSnapshot!==t||p||et!==null&&et.memoizedState.tag&1){if(r.flags|=2048,Zs(9,{destroy:void 0},Oh.bind(null,r,o,a,t),null),Be===null)throw Error(l(349));u||(qn&127)!==0||Eh(r,t,a)}return a}function Eh(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=we.updateQueue,t===null?(t=dl(),we.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function Oh(e,t,a,r){t.value=a,t.getSnapshot=r,Ah(t)&&Th(e)}function jh(e,t,a){return a(function(){Ah(t)&&Th(e)})}function Ah(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!qt(e,a)}catch{return!0}}function Th(e){var t=Ka(e,2);t!==null&&Dt(t,e,2)}function Bc(e){var t=Et();if(typeof e=="function"){var a=e;if(e=a(),ns){ln(!0);try{a()}finally{ln(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ln,lastRenderedState:e},t}function _h(e,t,a,r){return e.baseState=a,qc(e,Ue,typeof r=="function"?r:Ln)}function Tx(e,t,a,r,o){if(yl(e))throw Error(l(485));if(e=t.action,e!==null){var u={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(p){u.listeners.push(p)}};T.T!==null?a(!0):u.isTransition=!1,r(u),a=t.pending,a===null?(u.next=t.pending=u,Nh(t,u)):(u.next=a.next,t.pending=a.next=u)}}function Nh(e,t){var a=t.action,r=t.payload,o=e.state;if(t.isTransition){var u=T.T,p={};T.T=p;try{var x=a(o,r),E=T.S;E!==null&&E(p,x),Ch(e,t,x)}catch(D){Qc(e,t,D)}finally{u!==null&&p.types!==null&&(u.types=p.types),T.T=u}}else try{u=a(o,r),Ch(e,t,u)}catch(D){Qc(e,t,D)}}function Ch(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(r){Mh(e,t,r)},function(r){return Qc(e,t,r)}):Mh(e,t,a)}function Mh(e,t,a){t.status="fulfilled",t.value=a,Rh(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,Nh(e,a)))}function Qc(e,t,a){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status="rejected",t.reason=a,Rh(t),t=t.next;while(t!==r)}e.action=null}function Rh(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function zh(e,t){return t}function Hh(e,t){if(Ce){var a=Be.formState;if(a!==null){e:{var r=we;if(Ce){if(Qe){t:{for(var o=Qe,u=en;o.nodeType!==8;){if(!u){o=null;break t}if(o=nn(o.nextSibling),o===null){o=null;break t}}u=o.data,o=u==="F!"||u==="F"?o:null}if(o){Qe=nn(o.nextSibling),r=o.data==="F!";break e}}ca(r)}r=!1}r&&(t=a[0])}}return a=Et(),a.memoizedState=a.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zh,lastRenderedState:t},a.queue=r,a=Wh.bind(null,we,r),r.dispatch=a,r=Bc(!1),u=Kc.bind(null,we,!1,r.queue),r=Et(),o={state:t,dispatch:null,action:e,pending:null},r.queue=o,a=Tx.bind(null,we,o,u,a),o.dispatch=a,r.memoizedState=e,[t,a,!1]}function Dh(e){var t=Je();return kh(t,Ue,e)}function kh(e,t,a){if(t=qc(e,t,zh)[0],e=ml(Ln)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var r=Zr(t)}catch(p){throw p===Gs?sl:p}else r=t;t=Je();var o=t.queue,u=o.dispatch;return a!==t.memoizedState&&(we.flags|=2048,Zs(9,{destroy:void 0},_x.bind(null,o,a),null)),[r,u,e]}function _x(e,t){e.action=t}function Uh(e){var t=Je(),a=Ue;if(a!==null)return kh(t,a,e);Je(),t=t.memoizedState,a=Je();var r=a.queue.dispatch;return a.memoizedState=e,[t,r,!1]}function Zs(e,t,a,r){return e={tag:e,create:a,deps:r,inst:t,next:null},t=we.updateQueue,t===null&&(t=dl(),we.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(r=a.next,a.next=e,e.next=r,t.lastEffect=e),e}function qh(){return Je().memoizedState}function pl(e,t,a,r){var o=Et();we.flags|=e,o.memoizedState=Zs(1|t,{destroy:void 0},a,r===void 0?null:r)}function gl(e,t,a,r){var o=Je();r=r===void 0?null:r;var u=o.memoizedState.inst;Ue!==null&&r!==null&&Rc(r,Ue.memoizedState.deps)?o.memoizedState=Zs(t,u,a,r):(we.flags|=e,o.memoizedState=Zs(1|t,u,a,r))}function Lh(e,t){pl(8390656,8,e,t)}function Yc(e,t){gl(2048,8,e,t)}function Nx(e){we.flags|=4;var t=we.updateQueue;if(t===null)t=dl(),we.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function Bh(e){var t=Je().memoizedState;return Nx({ref:t,nextImpl:e}),function(){if((He&2)!==0)throw Error(l(440));return t.impl.apply(void 0,arguments)}}function Qh(e,t){return gl(4,2,e,t)}function Yh(e,t){return gl(4,4,e,t)}function Gh(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Vh(e,t,a){a=a!=null?a.concat([e]):null,gl(4,4,Gh.bind(null,t,e),a)}function Gc(){}function Ph(e,t){var a=Je();t=t===void 0?null:t;var r=a.memoizedState;return t!==null&&Rc(t,r[1])?r[0]:(a.memoizedState=[e,t],e)}function Xh(e,t){var a=Je();t=t===void 0?null:t;var r=a.memoizedState;if(t!==null&&Rc(t,r[1]))return r[0];if(r=e(),ns){ln(!0);try{e()}finally{ln(!1)}}return a.memoizedState=[r,t],r}function Vc(e,t,a){return a===void 0||(qn&1073741824)!==0&&(_e&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=Km(),we.lanes|=e,va|=e,a)}function Kh(e,t,a,r){return qt(a,t)?a:Ps.current!==null?(e=Vc(e,a,r),qt(e,t)||(tt=!0),e):(qn&42)===0||(qn&1073741824)!==0&&(_e&261930)===0?(tt=!0,e.memoizedState=a):(e=Km(),we.lanes|=e,va|=e,t)}function Zh(e,t,a,r,o){var u=B.p;B.p=u!==0&&8>u?u:8;var p=T.T,x={};T.T=x,Kc(e,!1,t,a);try{var E=o(),D=T.S;if(D!==null&&D(x,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){var V=Ox(E,r);Fr(e,t,V,Vt(e))}else Fr(e,t,r,Vt(e))}catch(F){Fr(e,t,{then:function(){},status:"rejected",reason:F},Vt())}finally{B.p=u,p!==null&&x.types!==null&&(p.types=x.types),T.T=p}}function Cx(){}function Pc(e,t,a,r){if(e.tag!==5)throw Error(l(476));var o=Fh(e).queue;Zh(e,o,t,R,a===null?Cx:function(){return Jh(e),a(r)})}function Fh(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:R,baseState:R,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ln,lastRenderedState:R},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ln,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Jh(e){var t=Fh(e);t.next===null&&(t=e.alternate.memoizedState),Fr(e,t.next.queue,{},Vt())}function Xc(){return ht(di)}function $h(){return Je().memoizedState}function Ih(){return Je().memoizedState}function Mx(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=Vt();e=da(a);var r=ha(t,e,a);r!==null&&(Dt(r,t,a),Vr(r,t,a)),t={cache:wc()},e.payload=t;return}t=t.return}}function Rx(e,t,a){var r=Vt();a={lane:r,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},yl(e)?em(t,a):(a=uc(e,t,a,r),a!==null&&(Dt(a,e,r),tm(a,t,r)))}function Wh(e,t,a){var r=Vt();Fr(e,t,a,r)}function Fr(e,t,a,r){var o={lane:r,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(yl(e))em(t,o);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var p=t.lastRenderedState,x=u(p,a);if(o.hasEagerState=!0,o.eagerState=x,qt(x,p))return $i(e,t,o,0),Be===null&&Ji(),!1}catch{}finally{}if(a=uc(e,t,o,r),a!==null)return Dt(a,e,r),tm(a,t,r),!0}return!1}function Kc(e,t,a,r){if(r={lane:2,revertLane:ju(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},yl(e)){if(t)throw Error(l(479))}else t=uc(e,a,r,2),t!==null&&Dt(t,e,2)}function yl(e){var t=e.alternate;return e===we||t!==null&&t===we}function em(e,t){Xs=ul=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function tm(e,t,a){if((a&4194048)!==0){var r=t.lanes;r&=e.pendingLanes,a|=r,t.lanes=a,Tt(e,a)}}var Jr={readContext:ht,use:hl,useCallback:Xe,useContext:Xe,useEffect:Xe,useImperativeHandle:Xe,useLayoutEffect:Xe,useInsertionEffect:Xe,useMemo:Xe,useReducer:Xe,useRef:Xe,useState:Xe,useDebugValue:Xe,useDeferredValue:Xe,useTransition:Xe,useSyncExternalStore:Xe,useId:Xe,useHostTransitionStatus:Xe,useFormState:Xe,useActionState:Xe,useOptimistic:Xe,useMemoCache:Xe,useCacheRefresh:Xe};Jr.useEffectEvent=Xe;var nm={readContext:ht,use:hl,useCallback:function(e,t){return Et().memoizedState=[e,t===void 0?null:t],e},useContext:ht,useEffect:Lh,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,pl(4194308,4,Gh.bind(null,t,e),a)},useLayoutEffect:function(e,t){return pl(4194308,4,e,t)},useInsertionEffect:function(e,t){pl(4,2,e,t)},useMemo:function(e,t){var a=Et();t=t===void 0?null:t;var r=e();if(ns){ln(!0);try{e()}finally{ln(!1)}}return a.memoizedState=[r,t],r},useReducer:function(e,t,a){var r=Et();if(a!==void 0){var o=a(t);if(ns){ln(!0);try{a(t)}finally{ln(!1)}}}else o=t;return r.memoizedState=r.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},r.queue=e,e=e.dispatch=Rx.bind(null,we,e),[r.memoizedState,e]}
vendor: 16,260 bytes, line 48
48,useRef:function(e){var t=Et();return e={current:e},t.memoizedState=e},useState:function(e){e=Bc(e);var t=e.queue,a=Wh.bind(null,we,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:Gc,useDeferredValue:function(e,t){var a=Et();return Vc(a,e,t)},useTransition:function(){var e=Bc(!1);return e=Zh.bind(null,we,e.queue,!0,!1),Et().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var r=we,o=Et();if(Ce){if(a===void 0)throw Error(l(407));a=a()}else{if(a=t(),Be===null)throw Error(l(349));(_e&127)!==0||Eh(r,t,a)}o.memoizedState=a;var u={value:a,getSnapshot:t};return o.queue=u,Lh(jh.bind(null,r,u,e),[e]),r.flags|=2048,Zs(9,{destroy:void 0},Oh.bind(null,r,u,a,t),null),a},useId:function(){var e=Et(),t=Be.identifierPrefix;if(Ce){var a=vn,r=yn;a=(r&~(1<<32-gt(r)-1)).toString(32)+a,t="_"+t+"R_"+a,a=fl++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=jx++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Xc,useFormState:Hh,useActionState:Hh,useOptimistic:function(e){var t=Et();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=Kc.bind(null,we,!0,a),a.dispatch=t,[e,t]},useMemoCache:Uc,useCacheRefresh:function(){return Et().memoizedState=Mx.bind(null,we)},useEffectEvent:function(e){var t=Et(),a={impl:e};return t.memoizedState=a,function(){if((He&2)!==0)throw Error(l(440));return a.impl.apply(void 0,arguments)}}},Zc={readContext:ht,use:hl,useCallback:Ph,useContext:ht,useEffect:Yc,useImperativeHandle:Vh,useInsertionEffect:Qh,useLayoutEffect:Yh,useMemo:Xh,useReducer:ml,useRef:qh,useState:function(){return ml(Ln)},useDebugValue:Gc,useDeferredValue:function(e,t){var a=Je();return Kh(a,Ue.memoizedState,e,t)},useTransition:function(){var e=ml(Ln)[0],t=Je().memoizedState;return[typeof e=="boolean"?e:Zr(e),t]},useSyncExternalStore:Sh,useId:$h,useHostTransitionStatus:Xc,useFormState:Dh,useActionState:Dh,useOptimistic:function(e,t){var a=Je();return _h(a,Ue,e,t)},useMemoCache:Uc,useCacheRefresh:Ih};Zc.useEffectEvent=Bh;var am={readContext:ht,use:hl,useCallback:Ph,useContext:ht,useEffect:Yc,useImperativeHandle:Vh,useInsertionEffect:Qh,useLayoutEffect:Yh,useMemo:Xh,useReducer:Lc,useRef:qh,useState:function(){return Lc(Ln)},useDebugValue:Gc,useDeferredValue:function(e,t){var a=Je();return Ue===null?Vc(a,e,t):Kh(a,Ue.memoizedState,e,t)},useTransition:function(){var e=Lc(Ln)[0],t=Je().memoizedState;return[typeof e=="boolean"?e:Zr(e),t]},useSyncExternalStore:Sh,useId:$h,useHostTransitionStatus:Xc,useFormState:Uh,useActionState:Uh,useOptimistic:function(e,t){var a=Je();return Ue!==null?_h(a,Ue,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:Uc,useCacheRefresh:Ih};am.useEffectEvent=Bh;function Fc(e,t,a,r){t=e.memoizedState,a=a(r,t),a=a==null?t:v({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var Jc={enqueueSetState:function(e,t,a){e=e._reactInternals;var r=Vt(),o=da(r);o.payload=t,a!=null&&(o.callback=a),t=ha(e,o,r),t!==null&&(Dt(t,e,r),Vr(t,e,r))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var r=Vt(),o=da(r);o.tag=1,o.payload=t,a!=null&&(o.callback=a),t=ha(e,o,r),t!==null&&(Dt(t,e,r),Vr(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Vt(),r=da(a);r.tag=2,t!=null&&(r.callback=t),t=ha(e,r,a),t!==null&&(Dt(t,e,a),Vr(t,e,a))}};function sm(e,t,a,r,o,u,p){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,u,p):t.prototype&&t.prototype.isPureReactComponent?!kr(a,r)||!kr(o,u):!0}function rm(e,t,a,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,r),t.state!==e&&Jc.enqueueReplaceState(t,t.state,null)}function as(e,t){var a=t;if("ref"in t){a={};for(var r in t)r!=="ref"&&(a[r]=t[r])}if(e=e.defaultProps){a===t&&(a=v({},a));for(var o in e)a[o]===void 0&&(a[o]=e[o])}return a}function im(e){Fi(e)}function lm(e){console.error(e)}function om(e){Fi(e)}function vl(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(r){setTimeout(function(){throw r})}}function cm(e,t,a){try{var r=e.onCaughtError;r(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function $c(e,t,a){return a=da(a),a.tag=3,a.payload={element:null},a.callback=function(){vl(e,t)},a}function um(e){return e=da(e),e.tag=3,e}function fm(e,t,a,r){var o=a.type.getDerivedStateFromError;if(typeof o=="function"){var u=r.value;e.payload=function(){return o(u)},e.callback=function(){cm(t,a,r)}}var p=a.stateNode;p!==null&&typeof p.componentDidCatch=="function"&&(e.callback=function(){cm(t,a,r),typeof o!="function"&&(xa===null?xa=new Set([this]):xa.add(this));var x=r.stack;this.componentDidCatch(r.value,{componentStack:x!==null?x:""})})}function zx(e,t,a,r,o){if(a.flags|=32768,r!==null&&typeof r=="object"&&typeof r.then=="function"){if(t=a.alternate,t!==null&&Bs(t,a,o,!0),a=Bt.current,a!==null){switch(a.tag){case 31:case 13:return tn===null?Cl():a.alternate===null&&Ke===0&&(Ke=3),a.flags&=-257,a.flags|=65536,a.lanes=o,r===rl?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([r]):t.add(r),Su(e,r,o)),!1;case 22:return a.flags|=65536,r===rl?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([r]):a.add(r)),Su(e,r,o)),!1}throw Error(l(435,a.tag))}return Su(e,r,o),Cl(),!1}if(Ce)return t=Bt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,r!==gc&&(e=Error(l(422),{cause:r}),Lr($t(e,a)))):(r!==gc&&(t=Error(l(423),{cause:r}),Lr($t(t,a))),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,r=$t(r,a),o=$c(e.stateNode,r,o),Tc(e,o),Ke!==4&&(Ke=2)),!1;var u=Error(l(520),{cause:r});if(u=$t(u,a),si===null?si=[u]:si.push(u),Ke!==4&&(Ke=2),t===null)return!0;r=$t(r,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=o&-o,a.lanes|=e,e=$c(a.stateNode,r,e),Tc(a,e),!1;case 1:if(t=a.type,u=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(xa===null||!xa.has(u))))return a.flags|=65536,o&=-o,a.lanes|=o,o=um(o),fm(o,e,a,r),Tc(a,o),!1}a=a.return}while(a!==null);return!1}var Ic=Error(l(461)),tt=!1;function mt(e,t,a,r){t.child=e===null?ph(t,null,a,r):ts(t,e.child,a,r)}function dm(e,t,a,r,o){a=a.render;var u=t.ref;if("ref"in r){var p={};for(var x in r)x!=="ref"&&(p[x]=r[x])}else p=r;return $a(t),r=zc(e,t,a,p,u,o),x=Hc(),e!==null&&!tt?(Dc(e,t,o),Bn(e,t,o)):(Ce&&x&&mc(t),t.flags|=1,mt(e,t,r,o),t.child)}function hm(e,t,a,r,o){if(e===null){var u=a.type;return typeof u=="function"&&!fc(u)&&u.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=u,mm(e,t,u,r,o)):(e=Wi(a.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!iu(e,o)){var p=u.memoizedProps;if(a=a.compare,a=a!==null?a:kr,a(p,r)&&e.ref===t.ref)return Bn(e,t,o)}return t.flags|=1,e=Hn(u,r),e.ref=t.ref,e.return=t,t.child=e}function mm(e,t,a,r,o){if(e!==null){var u=e.memoizedProps;if(kr(u,r)&&e.ref===t.ref)if(tt=!1,t.pendingProps=r=u,iu(e,o))(e.flags&131072)!==0&&(tt=!0);else return t.lanes=e.lanes,Bn(e,t,o)}return Wc(e,t,a,r,o)}function pm(e,t,a,r){var o=r.children,u=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode==="hidden"){if((t.flags&128)!==0){if(u=u!==null?u.baseLanes|a:a,e!==null){for(r=t.child=e.child,o=0;r!==null;)o=o|r.lanes|r.childLanes,r=r.sibling;r=o&~u}else r=0,t.child=null;return gm(e,t,u,a,r)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&al(t,u!==null?u.cachePool:null),u!==null?vh(t,u):Nc(),xh(t);else return r=t.lanes=536870912,gm(e,t,u!==null?u.baseLanes|a:a,a,r)}else u!==null?(al(t,u.cachePool),vh(t,u),pa(),t.memoizedState=null):(e!==null&&al(t,null),Nc(),pa());return mt(e,t,o,a),t.child}function $r(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function gm(e,t,a,r,o){var u=Ec();return u=u===null?null:{parent:We._currentValue,pool:u},t.memoizedState={baseLanes:a,cachePool:u},e!==null&&al(t,null),Nc(),xh(t),e!==null&&Bs(e,t,r,!0),t.childLanes=o,null}function xl(e,t){return t=wl({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function ym(e,t,a){return ts(t,e.child,null,a),e=xl(t,t.pendingProps),e.flags|=2,Qt(t),t.memoizedState=null,e}function Hx(e,t,a){var r=t.pendingProps,o=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Ce){if(r.mode==="hidden")return e=xl(t,r),t.lanes=536870912,$r(null,e);if(Mc(t),(e=Qe)?(e=Np(e,en),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:la!==null?{id:yn,overflow:vn}:null,retryLane:536870912,hydrationErrors:null},a=eh(e),a.return=t,t.child=a,dt=t,Qe=null)):e=null,e===null)throw ca(t);return t.lanes=536870912,null}return xl(t,r)}var u=e.memoizedState;if(u!==null){var p=u.dehydrated;if(Mc(t),o)if(t.flags&256)t.flags&=-257,t=ym(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(l(558));else if(tt||Bs(e,t,a,!1),o=(a&e.childLanes)!==0,tt||o){if(r=Be,r!==null&&(p=_t(r,a),p!==0&&p!==u.retryLane))throw u.retryLane=p,Ka(e,p),Dt(r,e,p),Ic;Cl(),t=ym(e,t,a)}else e=u.treeContext,Qe=nn(p.nextSibling),dt=t,Ce=!0,oa=null,en=!1,e!==null&&ah(t,e),t=xl(t,r),t.flags|=4096;return t}return e=Hn(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function bl(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(l(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function Wc(e,t,a,r,o){return $a(t),a=zc(e,t,a,r,void 0,o),r=Hc(),e!==null&&!tt?(Dc(e,t,o),Bn(e,t,o)):(Ce&&r&&mc(t),t.flags|=1,mt(e,t,a,o),t.child)}function vm(e,t,a,r,o,u){return $a(t),t.updateQueue=null,a=wh(t,r,a,o),bh(e),r=Hc(),e!==null&&!tt?(Dc(e,t,u),Bn(e,t,u)):(Ce&&r&&mc(t),t.flags|=1,mt(e,t,a,u),t.child)}function xm(e,t,a,r,o){if($a(t),t.stateNode===null){var u=ks,p=a.contextType;typeof p=="object"&&p!==null&&(u=ht(p)),u=new a(r,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Jc,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=r,u.state=t.memoizedState,u.refs={},jc(t),p=a.contextType,u.context=typeof p=="object"&&p!==null?ht(p):ks,u.state=t.memoizedState,p=a.getDerivedStateFromProps,typeof p=="function"&&(Fc(t,a,p,r),u.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(p=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),p!==u.state&&Jc.enqueueReplaceState(u,u.state,null),Xr(t,r,u,o),Pr(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),r=!0}else if(e===null){u=t.stateNode;var x=t.memoizedProps,E=as(a,x);u.props=E;var D=u.context,V=a.contextType;p=ks,typeof V=="object"&&V!==null&&(p=ht(V));var F=a.getDerivedStateFromProps;V=typeof F=="function"||typeof u.getSnapshotBeforeUpdate=="function",x=t.pendingProps!==x,V||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(x||D!==p)&&rm(t,u,r,p),fa=!1;var q=t.memoizedState;u.state=q,Xr(t,r,u,o),Pr(),D=t.memoizedState,x||q!==D||fa?(typeof F=="function"&&(Fc(t,a,F,r),D=t.memoizedState),(E=fa||sm(t,a,E,r,q,D,p))?(V||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=D),u.props=r,u.state=D,u.context=p,r=E):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{u=t.stateNode,Ac(e,t),p=t.memoizedProps,V=as(a,p),u.props=V,F=t.pendingProps,q=u.context,D=a.contextType,E=ks,typeof D=="object"&&D!==null&&(E=ht(D)),x=a.getDerivedStateFromProps,(D=typeof x=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(p!==F||q!==E)&&rm(t,u,r,E),fa=!1,q=t.memoizedState,u.state=q,Xr(t,r,u,o),Pr();var Q=t.memoizedState;p!==F||q!==Q||fa||e!==null&&e.dependencies!==null&&tl(e.dependencies)?(typeof x=="function"&&(Fc(t,a,x,r),Q=t.memoizedState),(V=fa||sm(t,a,V,r,q,Q,E)||e!==null&&e.dependencies!==null&&tl(e.dependencies))?(D||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(r,Q,E),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(r,Q,E)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||p===e.memoizedProps&&q===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||p===e.memoizedProps&&q===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=Q),u.props=r,u.state=Q,u.context=E,r=V):(typeof u.componentDidUpdate!="function"||p===e.memoizedProps&&q===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||p===e.memoizedProps&&q===e.memoizedState||(t.flags|=1024),r=!1)}return u=r,bl(e,t),r=(t.flags&128)!==0,u||r?(u=t.stateNode,a=r&&typeof a.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,e!==null&&r?(t.child=ts(t,e.child,null,o),t.child=ts(t,null,a,o)):mt(e,t,a,o),t.memoizedState=u.state,e=t.child):e=Bn(e,t,o),e}function bm(e,t,a,r){return Fa(),t.flags|=256,mt(e,t,a,r),t.child}var eu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function tu(e){return{baseLanes:e,cachePool:ch()}}function nu(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=Gt),e}function wm(e,t,a){var r=t.pendingProps,o=!1,u=(t.flags&128)!==0,p;if((p=u)||(p=e!==null&&e.memoizedState===null?!1:(Fe.current&2)!==0),p&&(o=!0,t.flags&=-129),p=(t.flags&32)!==0,t.flags&=-33,e===null){if(Ce){if(o?ma(t):pa(),(e=Qe)?(e=Np(e,en),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:la!==null?{id:yn,overflow:vn}:null,retryLane:536870912,hydrationErrors:null},a=eh(e),a.return=t,t.child=a,dt=t,Qe=null)):e=null,e===null)throw ca(t);return qu(e)?t.lanes=32:t.lanes=536870912,null}var x=r.children;return r=r.fallback,o?(pa(),o=t.mode,x=wl({mode:"hidden",children:x},o),r=Za(r,o,a,null),x.return=t,r.return=t,x.sibling=r,t.child=x,r=t.child,r.memoizedState=tu(a),r.childLanes=nu(e,p,a),t.memoizedState=eu,$r(null,r)):(ma(t),au(t,x))}var E=e.memoizedState;if(E!==null&&(x=E.dehydrated,x!==null)){if(u)t.flags&256?(ma(t),t.flags&=-257,t=su(e,t,a)):t.memoizedState!==null?(pa(),t.child=e.child,t.flags|=128,t=null):(pa(),x=r.fallback,o=t.mode,r=wl({mode:"visible",children:r.children},o),x=Za(x,o,a,null),x.flags|=2,r.return=t,x.return=t,r.sibling=x,t.child=r,ts(t,e.child,null,a),r=t.child,r.memoizedState=tu(a),r.childLanes=nu(e,p,a),t.memoizedState=eu,t=$r(null,r));else if(ma(t),qu(x)){if(p=x.nextSibling&&x.nextSibling.dataset,p)var D=p.dgst;p=D,r=Error(l(419)),r.stack="",r.digest=p,Lr({value:r,source:null,stack:null}),t=su(e,t,a)}else if(tt||Bs(e,t,a,!1),p=(a&e.childLanes)!==0,tt||p){if(p=Be,p!==null&&(r=_t(p,a),r!==0&&r!==E.retryLane))throw E.retryLane=r,Ka(e,r),Dt(p,e,r),Ic;Uu(x)||Cl(),t=su(e,t,a)}else Uu(x)?(t.flags|=192,t.child=e.child,t=null):(e=E.treeContext,Qe=nn(x.nextSibling),dt=t,Ce=!0,oa=null,en=!1,e!==null&&ah(t,e),t=au(t,r.children),t.flags|=4096);return t}return o?(pa(),x=r.fallback,o=t.mode,E=e.child,D=E.sibling,r=Hn(E,{mode:"hidden",children:r.children}),r.subtreeFlags=E.subtreeFlags&65011712,D!==null?x=Hn(D,x):(x=Za(x,o,a,null),x.flags|=2),x.return=t,r.return=t,r.sibling=x,t.child=r,$r(null,r),r=t.child,x=e.child.memoizedState,x===null?x=tu(
vendor: 4,124 bytes, line 48
48a):(o=x.cachePool,o!==null?(E=We._currentValue,o=o.parent!==E?{parent:E,pool:E}:o):o=ch(),x={baseLanes:x.baseLanes|a,cachePool:o}),r.memoizedState=x,r.childLanes=nu(e,p,a),t.memoizedState=eu,$r(e.child,r)):(ma(t),a=e.child,e=a.sibling,a=Hn(a,{mode:"visible",children:r.children}),a.return=t,a.sibling=null,e!==null&&(p=t.deletions,p===null?(t.deletions=[e],t.flags|=16):p.push(e)),t.child=a,t.memoizedState=null,a)}function au(e,t){return t=wl({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function wl(e,t){return e=Lt(22,e,null,t),e.lanes=0,e}function su(e,t,a){return ts(t,e.child,null,a),e=au(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Sm(e,t,a){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),xc(e.return,t,a)}function ru(e,t,a,r,o,u){var p=e.memoizedState;p===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:a,tailMode:o,treeForkCount:u}:(p.isBackwards=t,p.rendering=null,p.renderingStartTime=0,p.last=r,p.tail=a,p.tailMode=o,p.treeForkCount=u)}function Em(e,t,a){var r=t.pendingProps,o=r.revealOrder,u=r.tail;r=r.children;var p=Fe.current,x=(p&2)!==0;if(x?(p=p&1|2,t.flags|=128):p&=1,k(Fe,p),mt(e,t,r,a),r=Ce?qr:0,!x&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Sm(e,a,t);else if(e.tag===19)Sm(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"forwards":for(a=t.child,o=null;a!==null;)e=a.alternate,e!==null&&cl(e)===null&&(o=a),a=a.sibling;a=o,a===null?(o=t.child,t.child=null):(o=a.sibling,a.sibling=null),ru(t,!1,o,a,u,r);break;case"backwards":case"unstable_legacy-backwards":for(a=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&cl(e)===null){t.child=o;break}e=o.sibling,o.sibling=a,a=o,o=e}ru(t,!0,a,null,u,r);break;case"together":ru(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Bn(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),va|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(Bs(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(l(153));if(t.child!==null){for(e=t.child,a=Hn(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=Hn(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function iu(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&tl(e)))}function Dx(e,t,a){switch(t.tag){case 3:ve(t,t.stateNode.containerInfo),ua(t,We,e.memoizedState.cache),Fa();break;case 27:case 5:at(t);break;case 4:ve(t,t.stateNode.containerInfo);break;case 10:ua(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Mc(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated!==null?(ma(t),t.flags|=128,null):(a&t.child.childLanes)!==0?wm(e,t,a):(ma(t),e=Bn(e,t,a),e!==null?e.sibling:null);ma(t);break;case 19:var o=(e.flags&128)!==0;if(r=(a&t.childLanes)!==0,r||(Bs(e,t,a,!1),r=(a&t.childLanes)!==0),o){if(r)return Em(e,t,a);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),k(Fe,Fe.current),r)break;return null;case 22:return t.lanes=0,pm(e,t,a,t.pendingProps);case 24:ua(t,We,e.memoizedState.cache)}return Bn(e,t,a)}function Om(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)tt=!0;else{if(!iu(e,a)&&(t.flags&128)===0)return tt=!1,Dx(e,t,a);tt=(e.flags&131072)!==0}else tt=!1,Ce&&(t.flags&1048576)!==0&&nh(t,qr,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=Wa(t.elementType),t.type=e,typeof e=="function")fc(e)?(r=as(e,r),t.tag=1,t=xm(null,t,e,r,a)):(t.tag=0,t=Wc(null,t,e,r,a));else{if(e!=null){var o=e.$$typeof;if(o===ae){t.tag=11,t=dm(null,t,e,r,a);break e}else if(o===C){t.tag=14,t=hm(null,t,e,r,a);break e}}throw t=re(e)||e,Error(l(306,t,""))}}return t;case 0:return Wc(e,t,t.type,t.pendingProps,a);case 1:return r=t.type,o=as(r,t.pendingProps),xm(e,t,r,o,a);case 3:e:{if(ve(t,t.stateNode.containerInfo),e===null)throw Error(l(387));
vendor: 5,747 bytes, line 48
48r=t.pendingProps;var u=t.memoizedState;o=u.element,Ac(e,t),Xr(t,r,null,a);var p=t.memoizedState;if(r=p.cache,ua(t,We,r),r!==u.cache&&bc(t,[We],a,!0),Pr(),r=p.element,u.isDehydrated)if(u={element:r,isDehydrated:!1,cache:p.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=bm(e,t,r,a);break e}else if(r!==o){o=$t(Error(l(424)),t),Lr(o),t=bm(e,t,r,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Qe=nn(e.firstChild),dt=t,Ce=!0,oa=null,en=!0,a=ph(t,null,r,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(Fa(),r===o){t=Bn(e,t,a);break e}mt(e,t,r,a)}t=t.child}return t;case 26:return bl(e,t),e===null?(a=Dp(t.type,null,t.pendingProps,null))?t.memoizedState=a:Ce||(a=t.type,e=t.pendingProps,r=Ul(Z.current).createElement(a),r[ft]=t,r[Nt]=e,pt(r,a,e),ot(r),t.stateNode=r):t.memoizedState=Dp(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return at(t),e===null&&Ce&&(r=t.stateNode=Rp(t.type,t.pendingProps,Z.current),dt=t,en=!0,o=Qe,Ea(t.type)?(Lu=o,Qe=nn(r.firstChild)):Qe=o),mt(e,t,t.pendingProps.children,a),bl(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Ce&&((o=r=Qe)&&(r=fb(r,t.type,t.pendingProps,en),r!==null?(t.stateNode=r,dt=t,Qe=nn(r.firstChild),en=!1,o=!0):o=!1),o||ca(t)),at(t),o=t.type,u=t.pendingProps,p=e!==null?e.memoizedProps:null,r=u.children,Hu(o,u)?r=null:p!==null&&Hu(o,p)&&(t.flags|=32),t.memoizedState!==null&&(o=zc(e,t,Ax,null,null,a),di._currentValue=o),bl(e,t),mt(e,t,r,a),t.child;case 6:return e===null&&Ce&&((e=a=Qe)&&(a=db(a,t.pendingProps,en),a!==null?(t.stateNode=a,dt=t,Qe=null,e=!0):e=!1),e||ca(t)),null;case 13:return wm(e,t,a);case 4:return ve(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ts(t,null,r,a):mt(e,t,r,a),t.child;case 11:return dm(e,t,t.type,t.pendingProps,a);case 7:return mt(e,t,t.pendingProps,a),t.child;case 8:return mt(e,t,t.pendingProps.children,a),t.child;case 12:return mt(e,t,t.pendingProps.children,a),t.child;case 10:return r=t.pendingProps,ua(t,t.type,r.value),mt(e,t,r.children,a),t.child;case 9:return o=t.type._context,r=t.pendingProps.children,$a(t),o=ht(o),r=r(o),t.flags|=1,mt(e,t,r,a),t.child;case 14:return hm(e,t,t.type,t.pendingProps,a);case 15:return mm(e,t,t.type,t.pendingProps,a);case 19:return Em(e,t,a);case 31:return Hx(e,t,a);case 22:return pm(e,t,a,t.pendingProps);case 24:return $a(t),r=ht(We),e===null?(o=Ec(),o===null&&(o=Be,u=wc(),o.pooledCache=u,u.refCount++,u!==null&&(o.pooledCacheLanes|=a),o=u),t.memoizedState={parent:r,cache:o},jc(t),ua(t,We,o)):((e.lanes&a)!==0&&(Ac(e,t),Xr(t,null,null,a),Pr()),o=e.memoizedState,u=t.memoizedState,o.parent!==r?(o={parent:r,cache:r},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),ua(t,We,r)):(r=u.cache,ua(t,We,r),r!==o.cache&&bc(t,[We],a,!0))),mt(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(l(156,t.tag))}function Qn(e){e.flags|=4}function lu(e,t,a,r,o){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if($m())e.flags|=8192;else throw es=rl,Oc}else e.flags&=-16777217}function jm(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Bp(t))if($m())e.flags|=8192;else throw es=rl,Oc}function Sl(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?yt():536870912,e.lanes|=t,Is|=t)}function Ir(e,t){if(!Ce)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var r=null;a!==null;)a.alternate!==null&&(r=a),a=a.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ye(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,r=0;if(t)for(var o=e.child;o!==null;)a|=o.lanes|o.childLanes,r|=o.subtreeFlags&65011712,r|=o.flags&65011712,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)a|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=a,t}function kx(e,t,a){var r=t.pendingProps;switch(pc(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ye(t),null;case 1:return Ye(t),null;case 3:return a=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Un(We),Oe(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Ls(t)?Qn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,yc())),Ye(t),null;case 26:var o=t.type,u=t.memoizedState;return e===null?(Qn(t),u!==null?(Ye(t),jm(t,u)):(Ye(t),lu(t,o,null,r,a))):u?u!==e.memoizedState?(Qn(t),Ye(t),jm(t,u)):(Ye(t),t.flags&=-16777217):(e=e.memoizedProps,e!==r&&Qn(t),Ye(t),lu(t,o,e,r,a)),null;case 27:if(Ie(t),a=Z.current,o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Qn(t);else{if(!r){if(t.stateNode===null)throw Error(l(166));return Ye(t),null}e=G.current,Ls(t)?sh(t):(e=Rp(o,r,a),t.stateNode=e,Qn(t))}return Ye(t),null;case 5:if(Ie(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Qn(t);else{if(!r){if(t.stateNode===null)throw Error(l(166));return Ye(t),null}if(u=G.current,Ls(t))sh(t);else{var p=Ul(Z.current);switch(u){case 1:u=p.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:u=p.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":u=p.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":u=p.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":u=p.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;
vendor: 24,695 bytes, line 48
48case"select":u=typeof r.is=="string"?p.createElement("select",{is:r.is}):p.createElement("select"),r.multiple?u.multiple=!0:r.size&&(u.size=r.size);break;default:u=typeof r.is=="string"?p.createElement(o,{is:r.is}):p.createElement(o)}}u[ft]=t,u[Nt]=r;e:for(p=t.child;p!==null;){if(p.tag===5||p.tag===6)u.appendChild(p.stateNode);else if(p.tag!==4&&p.tag!==27&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===t)break e;for(;p.sibling===null;){if(p.return===null||p.return===t)break e;p=p.return}p.sibling.return=p.return,p=p.sibling}t.stateNode=u;e:switch(pt(u,o,r),o){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&Qn(t)}}return Ye(t),lu(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Qn(t);else{if(typeof r!="string"&&t.stateNode===null)throw Error(l(166));if(e=Z.current,Ls(t)){if(e=t.stateNode,a=t.memoizedProps,r=null,o=dt,o!==null)switch(o.tag){case 27:case 5:r=o.memoizedProps}e[ft]=t,e=!!(e.nodeValue===a||r!==null&&r.suppressHydrationWarning===!0||wp(e.nodeValue,a)),e||ca(t,!0)}else e=Ul(e).createTextNode(r),e[ft]=t,t.stateNode=e}return Ye(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(r=Ls(t),a!==null){if(e===null){if(!r)throw Error(l(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(l(557));e[ft]=t}else Fa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ye(t),e=!1}else a=yc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(Qt(t),t):(Qt(t),null);if((t.flags&128)!==0)throw Error(l(558))}return Ye(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=Ls(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(l(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(l(317));o[ft]=t}else Fa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ye(t),o=!1}else o=yc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(Qt(t),t):(Qt(t),null)}return Qt(t),(t.flags&128)!==0?(t.lanes=a,t):(a=r!==null,e=e!==null&&e.memoizedState!==null,a&&(r=t.child,o=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(o=r.alternate.memoizedState.cachePool.pool),u=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(u=r.memoizedState.cachePool.pool),u!==o&&(r.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),Sl(t,t.updateQueue),Ye(t),null);case 4:return Oe(),e===null&&Nu(t.stateNode.containerInfo),Ye(t),null;case 10:return Un(t.type),Ye(t),null;case 19:if(Y(Fe),r=t.memoizedState,r===null)return Ye(t),null;if(o=(t.flags&128)!==0,u=r.rendering,u===null)if(o)Ir(r,!1);else{if(Ke!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=cl(e),u!==null){for(t.flags|=128,Ir(r,!1),e=u.updateQueue,t.updateQueue=e,Sl(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)Wd(a,e),a=a.sibling;return k(Fe,Fe.current&1|2),Ce&&Dn(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&wt()>Tl&&(t.flags|=128,o=!0,Ir(r,!1),t.lanes=4194304)}else{if(!o)if(e=cl(u),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,Sl(t,e),Ir(r,!0),r.tail===null&&r.tailMode==="hidden"&&!u.alternate&&!Ce)return Ye(t),null}else 2*wt()-r.renderingStartTime>Tl&&a!==536870912&&(t.flags|=128,o=!0,Ir(r,!1),t.lanes=4194304);r.isBackwards?(u.sibling=t.child,t.child=u):(e=r.last,e!==null?e.sibling=u:t.child=u,r.last=u)}return r.tail!==null?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=wt(),e.sibling=null,a=Fe.current,k(Fe,o?a&1|2:a&1),Ce&&Dn(t,r.treeForkCount),e):(Ye(t),null);case 22:case 23:return Qt(t),Cc(),r=t.memoizedState!==null,e!==null?e.memoizedState!==null!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?(a&536870912)!==0&&(t.flags&128)===0&&(Ye(t),t.subtreeFlags&6&&(t.flags|=8192)):Ye(t),a=t.updateQueue,a!==null&&Sl(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==a&&(t.flags|=2048),e!==null&&Y(Ia),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Un(We),Ye(t),null;case 25:return null;case 30:return null}throw Error(l(156,t.tag))}function Ux(e,t){switch(pc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Un(We),Oe(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ie(t),null;case 31:if(t.memoizedState!==null){if(Qt(t),t.alternate===null)throw Error(l(340));Fa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Qt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(l(340));Fa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Y(Fe),null;case 4:return Oe(),null;case 10:return Un(t.type),null;case 22:case 23:return Qt(t),Cc(),e!==null&&Y(Ia),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Un(We),null;case 25:return null;default:return null}}function Am(e,t){switch(pc(t),t.tag){case 3:Un(We),Oe();break;case 26:case 27:case 5:Ie(t);break;case 4:Oe();break;case 31:t.memoizedState!==null&&Qt(t);break;case 13:Qt(t);break;case 19:Y(Fe);break;case 10:Un(t.type);break;case 22:case 23:Qt(t),Cc(),e!==null&&Y(Ia);break;case 24:Un(We)}}function Wr(e,t){try{var a=t.updateQueue,r=a!==null?a.lastEffect:null;if(r!==null){var o=r.next;a=o;do{if((a.tag&e)===e){r=void 0;var u=a.create,p=a.inst;r=u(),p.destroy=r}a=a.next}while(a!==o)}}catch(x){ke(t,t.return,x)}}function ga(e,t,a){try{var r=t.updateQueue,o=r!==null?r.lastEffect:null;if(o!==null){var u=o.next;r=u;do{if((r.tag&e)===e){var p=r.inst,x=p.destroy;if(x!==void 0){p.destroy=void 0,o=t;var E=a,D=x;try{D()}catch(V){ke(o,E,V)}}}r=r.next}while(r!==u)}}catch(V){ke(t,t.return,V)}}function Tm(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{yh(t,a)}catch(r){ke(e,e.return,r)}}}function _m(e,t,a){a.props=as(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(r){ke(e,t,r)}}function ei(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof a=="function"?e.refCleanup=a(r):a.current=r}}catch(o){ke(e,t,o)}}function xn(e,t){var a=e.ref,r=e.refCleanup;if(a!==null)if(typeof r=="function")try{r()}catch(o){ke(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(o){ke(e,t,o)}else a.current=null}function Nm(e){var t=e.type,a=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&r.focus();break e;case"img":a.src?r.src=a.src:a.srcSet&&(r.srcset=a.srcSet)}}catch(o){ke(e,e.return,o)}}function ou(e,t,a){try{var r=e.stateNode;rb(r,e.type,a,t),r[Nt]=t}catch(o){ke(e,e.return,o)}}function Cm(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ea(e.type)||e.tag===4}function cu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Cm(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Ea(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function uu(e,t,a){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=Rn));else if(r!==4&&(r===27&&Ea(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(uu(e,t,a),e=e.sibling;e!==null;)uu(e,t,a),e=e.sibling}function El(e,t,a){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(r!==4&&(r===27&&Ea(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(El(e,t,a),e=e.sibling;e!==null;)El(e,t,a),e=e.sibling}function Mm(e){var t=e.stateNode,a=e.memoizedProps;try{for(var r=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);pt(t,r,a),t[ft]=e,t[Nt]=a}catch(u){ke(e,e.return,u)}}var Yn=!1,nt=!1,fu=!1,Rm=typeof WeakSet=="function"?WeakSet:Set,ct=null;function qx(e,t){if(e=e.containerInfo,Ru=Vl,e=Vd(e),sc(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var r=a.getSelection&&a.getSelection();if(r&&r.rangeCount!==0){a=r.anchorNode;var o=r.anchorOffset,u=r.focusNode;r=r.focusOffset;try{a.nodeType,u.nodeType}catch{a=null;break e}var p=0,x=-1,E=-1,D=0,V=0,F=e,q=null;t:for(;;){for(var Q;F!==a||o!==0&&F.nodeType!==3||(x=p+o),F!==u||r!==0&&F.nodeType!==3||(E=p+r),F.nodeType===3&&(p+=F.nodeValue.length),(Q=F.firstChild)!==null;)q=F,F=Q;for(;;){if(F===e)break t;if(q===a&&++D===o&&(x=p),q===u&&++V===r&&(E=p),(Q=F.nextSibling)!==null)break;F=q,q=F.parentNode}F=Q}a=x===-1||E===-1?null:{start:x,end:E}}else a=null}a=a||{start:0,end:0}}else a=null;for(zu={focusedElem:e,selectionRange:a},Vl=!1,ct=t;ct!==null;)if(t=ct,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ct=e;else for(;ct!==null;){switch(t=ct,u=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)o=e[a],o.ref.impl=o.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,a=t,o=u.memoizedProps,u=u.memoizedState,r=a.stateNode;try{var de=as(a.type,o);e=r.getSnapshotBeforeUpdate(de,u),r.__reactInternalSnapshotBeforeUpdate=e}catch(ye){ke(a,a.return,ye)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)ku(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":ku(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(l(163))}if(e=t.sibling,e!==null){e.return=t.return,ct=e;break}ct=t.return}}function zm(e,t,a){var r=a.flags;switch(a.tag){case 0:case 11:case 15:Vn(e,a),r&4&&Wr(5,a);break;case 1:if(Vn(e,a),r&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(p){ke(a,a.return,p)}else{var o=as(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(p){ke(a,a.return,p)}}r&64&&Tm(a),r&512&&ei(a,a.return);break;case 3:if(Vn(e,a),r&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{yh(e,t)}catch(p){ke(a,a.return,p)}}break;case 27:t===null&&r&4&&Mm(a);case 26:case 5:Vn(e,a),t===null&&r&4&&Nm(a),r&512&&ei(a,a.return);break;case 12:Vn(e,a);break;case 31:Vn(e,a),r&4&&km(e,a);break;case 13:Vn(e,a),r&4&&Um(e,a),r&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=Kx.bind(null,a),hb(e,a))));break;case 22:if(r=a.memoizedState!==null||Yn,!r){t=t!==null&&t.memoizedState!==null||nt,o=Yn;var u=nt;Yn=r,(nt=t)&&!u?Pn(e,a,(a.subtreeFlags&8772)!==0):Vn(e,a),Yn=o,nt=u}break;case 30:break;default:Vn(e,a)}}function Hm(e){var t=e.alternate;t!==null&&(e.alternate=null,Hm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Qo(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ve=null,Mt=!1;function Gn(e,t,a){for(a=a.child;a!==null;)Dm(e,t,a),a=a.sibling}function Dm(e,t,a){if(St&&typeof St.onCommitFiberUnmount=="function")try{St.onCommitFiberUnmount(Ba,a)}catch{}switch(a.tag){case 26:nt||xn(a,t),Gn(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:nt||xn(a,t);var r=Ve,o=Mt;Ea(a.type)&&(Ve=a.stateNode,Mt=!1),Gn(e,t,a),ci(a.stateNode),Ve=r,Mt=o;break;case 5:nt||xn(a,t);case 6:if(r=Ve,o=Mt,Ve=null,Gn(e,t,a),Ve=r,Mt=o,Ve!==null)if(Mt)try{(Ve.nodeType===9?Ve.body:Ve.nodeName==="HTML"?Ve.ownerDocument.body:Ve).removeChild(a.stateNode)}catch(u){ke(a,t,u)}else try{Ve.removeChild(a.stateNode)}catch(u){ke(a,t,u)}break;case 18:Ve!==null&&(Mt?(e=Ve,Tp(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),ir(e)):Tp(Ve,a.stateNode));break;case 4:r=Ve,o=Mt,Ve=a.stateNode.containerInfo,Mt=!0,Gn(e,t,a),Ve=r,Mt=o;break;case 0:case 11:case 14:case 15:ga(2,a,t),nt||ga(4,a,t),Gn(e,t,a);break;case 1:nt||(xn(a,t),r=a.stateNode,typeof r.componentWillUnmount=="function"&&_m(a,t,r)),Gn(e,t,a);break;case 21:Gn(e,t,a);break;case 22:nt=(r=nt)||a.memoizedState!==null,Gn(e,t,a),nt=r;break;default:Gn(e,t,a)}}function km(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ir(e)}catch(a){ke(t,t.return,a)}}}function Um(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ir(e)}catch(a){ke(t,t.return,a)}}function Lx(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Rm),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Rm),t;default:throw Error(l(435,e.tag))}}function Ol(e,t){var a=Lx(e);t.forEach(function(r){if(!a.has(r)){a.add(r);var o=Zx.bind(null,e,r);r.then(o,o)}})}function Rt(e,t){var a=t.deletions;if(a!==null)for(var r=0;r<a.length;r++){var o=a[r],u=e,p=t,x=p;e:for(;x!==null;){switch(x.tag){case 27:if(Ea(x.type)){Ve=x.stateNode,Mt=!1;break e}break;case 5:Ve=x.stateNode,Mt=!1;break e;case 3:case 4:Ve=x.stateNode.containerInfo,Mt=!0;break e}x=x.return}if(Ve===null)throw Error(l(160));Dm(u,p,o),Ve=null,Mt=!1,u=o.alternate,u!==null&&(u.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)qm(t,e),t=t.sibling}var un=null;function qm(e,t){var a=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Rt(t,e),zt(e),r&4&&(ga(3,e,e.return),Wr(3,e),ga(5,e,e.return));break;case 1:Rt(t,e),zt(e),r&512&&(nt||a===null||xn(a,a.return)),r&64&&Yn&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?r:a.concat(r))));break;case 26:var o=un;if(Rt(t,e),zt(e),r&512&&(nt||a===null||xn(a,a.return)),r&4){var u=a!==null?a.memoizedState:null;if(r=e.memoizedState,a===null)if(r===null)if(e.stateNode===null){e:{r=e.type,a=e.memoizedProps,o=o.ownerDocument||o;t:switch(r){case"title":u=o.getElementsByTagName("title")[0],(!u||u[Tr]||u[ft]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=o.createElement(r),o.head.insertBefore(u,o.querySelector("head > title"))),pt(u,r,a),u[ft]=e,ot(u),r=u;break e;case"link":var p=qp("link","href",o).get(r+(a.href||""));if(p){for(var x=0;x<p.length;x++)if(u=p[x],u.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&u.getAttribute("rel")===(a.rel==null?null:a.rel)&&u.getAttribute("title")===(a.title==null?null:a.title)&&u.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){p.splice(x,1);break t}}u=o.createElement(r),pt(u,r,a),o.head.appendChild(u);break;case"meta":if(p=qp("meta","content",o).get(r+(a.content||""))){for(x=0;x<p.length;x++)if(u=p[x],u.getAttribute("content")===(a.content==null?null:""+a.content)&&u.getAttribute("name")===(a.name==null?null:a.name)&&u.getAttribute("property")===(a.property==null?null:a.property)&&u.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&u.getAttribute("charset")===(a.charSet==null?null:a.charSet)){p.splice(x,1);break t}}u=o.createElement(r),pt(u,r,a),o.head.appendChild(u);break;default:throw Error(l(468,r))}u[ft]=e,ot(u),r=u}e.stateNode=r}else Lp(o,e.type,e.stateNode);else e.stateNode=Up(o,r,e.memoizedProps);else u!==r?(u===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):u.count--,r===null?Lp(o,e.type,e.stateNode):Up(o,r,e.memoizedProps)):r===null&&e.stateNode!==null&&ou(e,e.memoizedProps,a.memoizedProps)}break;case 27:Rt(t,e),zt(e),r&512&&(nt||a===null||xn(a,a.return)),a!==null&&r&4&&ou(e,e.memoizedProps,a.memoizedProps);break;case 5:if(Rt(t,e),zt(e),r&512&&(nt||a===null||xn(a,a.return)),e.flags&32){o=e.stateNode;try{Ns(o,"")}catch(de){ke(e,e.return,de)}}r&4&&e.stateNode!=null&&(o=e.memoizedProps,ou(e,o,a!==null?a.memoizedProps:o)),r&1024&&(fu=!0);break;case 6:if(Rt(t,e),zt(e),r&4){if(e.stateNode===null)throw Error(l(162));r=e.memoizedProps,a=e.stateNode;try{a.nodeValue=r}catch(de){ke(e,e.return,de)}}break;case 3:if(Bl=null,o=un,un=ql(t.containerInfo),Rt(t,e),un=o,zt(e),r&4&&a!==null&&a.memoizedState.isDehydrated)try{ir(t.containerInfo)}catch(de){ke(e,e.return,de)}fu&&(fu=!1,Lm(e));break;case 4:r=un,un=ql(e.stateNode.containerInfo),Rt(t,e),zt(e),un=r;break;case 12:Rt(t,e),zt(e);break;case 31:Rt(t,e),zt(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Ol(e,r)));break;case 13:Rt(t,e),zt(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Al=wt()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Ol(e,r)));break;case 22:o=e.memoizedState!==null;var E=a!==null&&a.memoizedState!==null,D=Yn,V=nt;if(Yn=D||o,nt=V||E,Rt(t,e),nt=V,Yn=D,zt(e),r&8192)e:for(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,o&&(a===null||E||Yn||nt||ss(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){E=a=t;try{if(u=E.stateNode,o)p=u.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none";else{x=E.stateNode;var F=E.memoizedProps.style,q=F!=null&&F.hasOwnProperty("display")?F.display:null;x.style.display=q==null||typeof q=="boolean"?"":(""+q).trim()}}catch(de){ke(E,E.return,de)}}}else if(t.tag===6){if(a===null){E=t;try{E.stateNode.nodeValue=o?"":E.memoizedProps}catch(de){ke(E,E.return,de)}}}else if(t.tag===18){if(a===null){E=t;try{var Q=E.stateNode;o?_p(Q,!0):_p(E.stateNode,!1)}catch(de){ke(E,E.return,de)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(a=r.retryQueue,a!==null&&(r.retryQueue=null,Ol(e,a))));break;case 19:Rt(t,e),zt(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Ol(e,r)));break;case 30:break;case 21:break;default:Rt(t,e),zt(e)}}function zt(e){var t=e.flags;if(t&2){try{for(var a,r=e.return;r!==null;){if(Cm(r)){a=r;break}r=r.return}if(a==null)throw Error(l(160));switch(a.tag){case 27:var o=a.stateNode,u=cu(e);El(e,u,o);break;case 5:var p=a.stateNode;a.flags&32&&(Ns(p,""),a.flags&=-33);var x=cu(e);El(e,x,p);break;case 3:case 4:var E=a.stateNode.containerInfo,D=cu(e);uu(e,D,E);break;default:throw Error(l(161))}}catch(V){ke(e,e.return,V)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Lm(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Lm(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Vn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)zm(e,t.alternate,t),t=t.sibling}function ss(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:ga(4,t,t.return),ss(t);break;case 1:xn(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&_m(t,t.return,a),ss(t);break;case 27:ci(t.stateNode);case 26:case 5:xn(t,t.return),ss(t);break;case 22:t.memoizedState===null&&ss(t);break;case 30:ss(t);break;default:ss(t)}e=e.sibling}}function Pn(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var r=t.alternate,o=e,u=t,p=u.flags;switch(u.tag){case 0:case 11:case 15:Pn(o,u,a),Wr(4,u);break;case 1:if(Pn(o,u,a),r=u,o=r.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(D){ke(r,r.return,D)}if(r=u,o=r.updateQueue,o!==null){var x=r.stateNode;try{var E=o.shared.hiddenCallbacks;if(E!==null)for(o.shared.hiddenCallbacks=null,o=0;o<E.length;o++)gh(E[o],x)}catch(D){ke(r,r.return,D)}}a&&p&64&&Tm(u),ei(u,u.return);break;case 27:Mm(u);case 26:case 5:Pn(o,u,a),a&&r===null&&p&4&&Nm(u),ei(u,u.return);break;case 12:Pn(o,u,a);break;case 31:Pn(o,u,a),a&&p&4&&km(o,u);break;case 13:Pn(o,u,a),a&&p&4&&Um(o,u);break;case 22:u.memoizedState===null&&Pn(o,u,a),ei(u,u.return);break;case 30:break;default:Pn(o,u,a)}t=t.sibling}}function du(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&Br(a))}function hu(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Br(e))}function fn(e,t,a,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Bm(e,t,a,r),t=t.sibling}function Bm(e,t,a,r){var o=t.flags;switch(t.tag){case 0:case 11:case 15:fn(e,t,a,r),o&2048&&Wr(9,t);break;case 1:fn(e,t,a,r);break;case 3:fn(e,t,a,r),o&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Br(e)));break;case 12:if(o&2048){fn(e,t,a,r),e=t.stateNode;try{var u=t.memoizedProps,p=u.id,x=u.onPostCommit;typeof x=="function"&&x(p,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(E){ke(t,t.return,E)}}else fn(e,t,a,r);break;case 31:fn(e,t,a,r);break;case 13:fn(e,t,a,r);break;case 23:break;case 22:u=t.stateNode,p=t.alternate,t.memoizedState!==null?u._visibility&2?fn(e,t,a,r):ti(e,t):u._visibility&2?fn(e,t,a,r):(u._visibility|=2,Fs(e,t,a,r,(t.subtreeFlags&10256)!==0||!1)),o&2048&&du(p,t);break;case 24:fn(e,t,a,r),o&2048&&hu(t.alternate,t);break;default:fn(e,t,a,r)}}function Fs(e,t,a,r,o){for(o=o&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=e,p=t,x=a,E=r,D=p.flags;switch(p.tag){case 0:case 11:case 15:Fs(u,p,x,E,o),Wr(8,p);break;case 23:break;case 22:var V=p.stateNode;p.memoizedState!==null?V._visibility&2?Fs(u,p,x,E,o):ti(u,p):(V._visibility|=2,Fs(u,p,x,E,o)),o&&D&2048&&du(p.alternate,p);break;case 24:Fs(u,p,x,E,o),o&&D&2048&&hu(p.alternate,p);break;default:Fs(u,p,x,E,o)}t=t.sibling}}function ti(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,r=t,o=r.flags;switch(r.tag){case 22:ti(a,r),o&2048&&du(r.alternate,r);break;case 24:ti(a,r),o&2048&&hu(r.alternate,r);break;default:ti(a,r)}t=t.sibling}}var ni=8192;function Js(e,t,a){if(e.subtreeFlags&ni)for(e=e.child;e!==null;)Qm(e,t,a),e=e.sibling}function Qm(e,t,a){switch(e.tag){case 26:Js(e,t,a),e.flags&ni&&e.memoizedState!==null&&jb(a,un,e.memoizedState,e.memoizedProps);break;case 5:Js(e,t,a);break;case 3:case 4:var r=un;un=ql(e.stateNode.containerInfo),Js(e,t,a),un=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=ni,ni=16777216,Js(e,t,a),ni=r):Js(e,t,a));break;default:Js(e,t,a)}}function Ym(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function ai(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var r=t[a];ct=r,Vm(r,e)}Ym(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Gm(e),e=e.sibling}function Gm(e){switch(e.tag){case 0:case 11:case 15:ai(e),e.flags&2048&&ga(9,e,e.return);break;case 3:ai(e);break;case 12:ai(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,jl(e)):ai(e);break;default:ai(e)}}function jl(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var r=t[a];ct=r,Vm(r,e)}Ym(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:ga(8,t,t.return),jl(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,jl(t));break;default:jl(t)}e=e.sibling}}function Vm(e,t){for(;ct!==null;){var a=ct;switch(a.tag){case 0:case 11:case 15:ga(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var r=a.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:Br(a.memoizedState.cache)}if(r=a.child,r!==null)r.return=a,ct=r;else e:for(a=e;ct!==null;){r=ct;var o=r.sibling,u=r.return;if(Hm(r),r===a){ct=null;break e}if(o!==null){o.return=u,ct=o;break e}ct=u}}}var Bx={getCacheForType:function(e){var t=ht(We),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return ht(We).controller.signal}},Qx=typeof WeakMap=="function"?WeakMap:Map,He=0,Be=null,je=null,_e=0,De=0,Yt=null,ya=!1,$s=!1,mu=!1,Xn=0,Ke=0,va=0,rs=0,pu=0,Gt=0,Is=0,si=null,Ht=null,gu=!1,Al=0,Pm=0,Tl=1/0,_l=null,xa=null,st=0,ba=null,Ws=null,Kn=0,yu=0,vu=null,Xm=null,ri=0,xu=null;function Vt(){return(He&2)!==0&&_e!==0?_e&-_e:T.T!==null?ju():Lo()}
vendor: 24,559 bytes, lines 48-49
48function Km(){if(Gt===0)if((_e&536870912)===0||Ce){var e=ws;ws<<=1,(ws&3932160)===0&&(ws=262144),Gt=e}else Gt=536870912;return e=Bt.current,e!==null&&(e.flags|=32),Gt}function Dt(e,t,a){(e===Be&&(De===2||De===9)||e.cancelPendingCommit!==null)&&(er(e,0),wa(e,_e,Gt,!1)),Pe(e,a),((He&2)===0||e!==Be)&&(e===Be&&((He&2)===0&&(rs|=a),Ke===4&&wa(e,_e,Gt,!1)),bn(e))}function Zm(e,t,a){if((He&6)!==0)throw Error(l(327));var r=!a&&(t&127)===0&&(t&e.expiredLanes)===0||Ge(e,t),o=r?Vx(e,t):wu(e,t,!0),u=r;do{if(o===0){$s&&!r&&wa(e,t,0,!1);break}else{if(a=e.current.alternate,u&&!Yx(a)){o=wu(e,t,!1),u=!1;continue}if(o===2){if(u=t,e.errorRecoveryDisabledLanes&u)var p=0;else p=e.pendingLanes&-536870913,p=p!==0?p:p&536870912?536870912:0;if(p!==0){t=p;e:{var x=e;o=si;var E=x.current.memoizedState.isDehydrated;if(E&&(er(x,p).flags|=256),p=wu(x,p,!1),p!==2){if(mu&&!E){x.errorRecoveryDisabledLanes|=u,rs|=u,o=4;break e}u=Ht,Ht=o,u!==null&&(Ht===null?Ht=u:Ht.push.apply(Ht,u))}o=p}if(u=!1,o!==2)continue}}if(o===1){er(e,0),wa(e,t,0,!0);break}e:{switch(r=e,u=o,u){case 0:case 1:throw Error(l(345));case 4:if((t&4194048)!==t)break;case 6:wa(r,t,Gt,!ya);break e;case 2:Ht=null;break;case 3:case 5:break;default:throw Error(l(329))}if((t&62914560)===t&&(o=Al+300-wt(),10<o)){if(wa(r,t,Gt,!ya),xe(r,0,!0)!==0)break e;Kn=t,r.timeoutHandle=jp(Fm.bind(null,r,a,Ht,_l,gu,t,Gt,rs,Is,ya,u,"Throttled",-0,0),o);break e}Fm(r,a,Ht,_l,gu,t,Gt,rs,Is,ya,u,null,-0,0)}}break}while(!0);bn(e)}function Fm(e,t,a,r,o,u,p,x,E,D,V,F,q,Q){if(e.timeoutHandle=-1,F=t.subtreeFlags,F&8192||(F&16785408)===16785408){F={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Rn},Qm(t,u,F);var de=(u&62914560)===u?Al-wt():(u&4194048)===u?Pm-wt():0;if(de=Ab(F,de),de!==null){Kn=u,e.cancelPendingCommit=de(ap.bind(null,e,t,u,a,r,o,p,x,E,V,F,null,q,Q)),wa(e,u,p,!D);return}}ap(e,t,u,a,r,o,p,x,E)}function Yx(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var r=0;r<a.length;r++){var o=a[r],u=o.getSnapshot;o=o.value;try{if(!qt(u(),o))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function wa(e,t,a,r){t&=~pu,t&=~rs,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var o=t;0<o;){var u=31-gt(o),p=1<<u;r[u]=-1,o&=~p}a!==0&&Ya(e,a,t)}function Nl(){return(He&6)===0?(ii(0),!1):!0}function bu(){if(je!==null){if(De===0)var e=je.return;else e=je,kn=Ja=null,kc(e),Vs=null,Yr=0,e=je;for(;e!==null;)Am(e.alternate,e),e=e.return;je=null}}function er(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,ob(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),Kn=0,bu(),Be=e,je=a=Hn(e.current,null),_e=t,De=0,Yt=null,ya=!1,$s=Ge(e,t),mu=!1,Is=Gt=pu=rs=va=Ke=0,Ht=si=null,gu=!1,(t&8)!==0&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var o=31-gt(r),u=1<<o;t|=e[o],r&=~u}return Xn=t,Ji(),a}function Jm(e,t){we=null,T.H=Jr,t===Gs||t===sl?(t=dh(),De=3):t===Oc?(t=dh(),De=4):De=t===Ic?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Yt=t,je===null&&(Ke=1,vl(e,$t(t,e.current)))}function $m(){var e=Bt.current;return e===null?!0:(_e&4194048)===_e?tn===null:(_e&62914560)===_e||(_e&536870912)!==0?e===tn:!1}function Im(){var e=T.H;return T.H=Jr,e===null?Jr:e}function Wm(){var e=T.A;return T.A=Bx,e}function Cl(){Ke=4,ya||(_e&4194048)!==_e&&Bt.current!==null||($s=!0),(va&134217727)===0&&(rs&134217727)===0||Be===null||wa(Be,_e,Gt,!1)}function wu(e,t,a){var r=He;He|=2;var o=Im(),u=Wm();(Be!==e||_e!==t)&&(_l=null,er(e,t)),t=!1;var p=Ke;e:do try{if(De!==0&&je!==null){var x=je,E=Yt;switch(De){case 8:bu(),p=6;break e;case 3:case 2:case 9:case 6:Bt.current===null&&(t=!0);var D=De;if(De=0,Yt=null,tr(e,x,E,D),a&&$s){p=0;break e}break;default:D=De,De=0,Yt=null,tr(e,x,E,D)}}Gx(),p=Ke;break}catch(V){Jm(e,V)}while(!0);return t&&e.shellSuspendCounter++,kn=Ja=null,He=r,T.H=o,T.A=u,je===null&&(Be=null,_e=0,Ji()),p}function Gx(){for(;je!==null;)ep(je)}function Vx(e,t){var a=He;He|=2;var r=Im(),o=Wm();Be!==e||_e!==t?(_l=null,Tl=wt()+500,er(e,t)):$s=Ge(e,t);e:do try{if(De!==0&&je!==null){t=je;var u=Yt;t:switch(De){case 1:De=0,Yt=null,tr(e,t,u,1);break;case 2:case 9:if(uh(u)){De=0,Yt=null,tp(t);break}t=function(){De!==2&&De!==9||Be!==e||(De=7),bn(e)},u.then(t,t);break e;case 3:De=7;break e;case 4:De=5;break e;case 7:uh(u)?(De=0,Yt=null,tp(t)):(De=0,Yt=null,tr(e,t,u,7));break;case 5:var p=null;switch(je.tag){case 26:p=je.memoizedState;case 5:case 27:var x=je;if(p?Bp(p):x.stateNode.complete){De=0,Yt=null;var E=x.sibling;if(E!==null)je=E;else{var D=x.return;D!==null?(je=D,Ml(D)):je=null}break t}}De=0,Yt=null,tr(e,t,u,5);break;case 6:De=0,Yt=null,tr(e,t,u,6);break;case 8:bu(),Ke=6;break e;default:throw Error(l(462))}}Px();break}catch(V){Jm(e,V)}while(!0);return kn=Ja=null,T.H=r,T.A=o,He=a,je!==null?0:(Be=null,_e=0,Ji(),Ke)}function Px(){for(;je!==null&&!bt();)ep(je)}function ep(e){var t=Om(e.alternate,e,Xn);e.memoizedProps=e.pendingProps,t===null?Ml(e):je=t}function tp(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=vm(a,t,t.pendingProps,t.type,void 0,_e);break;case 11:t=vm(a,t,t.pendingProps,t.type.render,t.ref,_e);break;case 5:kc(t);default:Am(a,t),t=je=Wd(t,Xn),t=Om(a,t,Xn)}e.memoizedProps=e.pendingProps,t===null?Ml(e):je=t}function tr(e,t,a,r){kn=Ja=null,kc(t),Vs=null,Yr=0;var o=t.return;try{if(zx(e,o,t,a,_e)){Ke=1,vl(e,$t(a,e.current)),je=null;return}}catch(u){if(o!==null)throw je=o,u;Ke=1,vl(e,$t(a,e.current)),je=null;return}t.flags&32768?(Ce||r===1?e=!0:$s||(_e&536870912)!==0?e=!1:(ya=e=!0,(r===2||r===9||r===3||r===6)&&(r=Bt.current,r!==null&&r.tag===13&&(r.flags|=16384))),np(t,e)):Ml(t)}function Ml(e){var t=e;do{if((t.flags&32768)!==0){np(t,ya);return}e=t.return;var a=kx(t.alternate,t,Xn);if(a!==null){je=a;return}if(t=t.sibling,t!==null){je=t;return}je=t=e}while(t!==null);Ke===0&&(Ke=5)}function np(e,t){do{var a=Ux(e.alternate,e);if(a!==null){a.flags&=32767,je=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){je=e;return}je=e=a}while(e!==null);Ke=6,je=null}function ap(e,t,a,r,o,u,p,x,E){e.cancelPendingCommit=null;do Rl();while(st!==0);if((He&6)!==0)throw Error(l(327));if(t!==null){if(t===e.current)throw Error(l(177));if(u=t.lanes|t.childLanes,u|=cc,At(e,a,u,p,x,E),e===Be&&(je=Be=null,_e=0),Ws=t,ba=e,Kn=a,yu=u,vu=o,Xm=r,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Fx(La,function(){return op(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||r){r=T.T,T.T=null,o=B.p,B.p=2,p=He,He|=4;try{qx(e,t,a)}finally{He=p,B.p=o,T.T=r}}st=1,sp(),rp(),ip()}}function sp(){if(st===1){st=0;var e=ba,t=Ws,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=T.T,T.T=null;var r=B.p;B.p=2;var o=He;He|=4;try{qm(t,e);var u=zu,p=Vd(e.containerInfo),x=u.focusedElem,E=u.selectionRange;if(p!==x&&x&&x.ownerDocument&&Gd(x.ownerDocument.documentElement,x)){if(E!==null&&sc(x)){var D=E.start,V=E.end;if(V===void 0&&(V=D),"selectionStart"in x)x.selectionStart=D,x.selectionEnd=Math.min(V,x.value.length);else{var F=x.ownerDocument||document,q=F&&F.defaultView||window;if(q.getSelection){var Q=q.getSelection(),de=x.textContent.length,ye=Math.min(E.start,de),Le=E.end===void 0?ye:Math.min(E.end,de);!Q.extend&&ye>Le&&(p=Le,Le=ye,ye=p);var M=Yd(x,ye),N=Yd(x,Le);if(M&&N&&(Q.rangeCount!==1||Q.anchorNode!==M.node||Q.anchorOffset!==M.offset||Q.focusNode!==N.node||Q.focusOffset!==N.offset)){var z=F.createRange();z.setStart(M.node,M.offset),Q.removeAllRanges(),ye>Le?(Q.addRange(z),Q.extend(N.node,N.offset)):(z.setEnd(N.node,N.offset),Q.addRange(z))}}}}for(F=[],Q=x;Q=Q.parentNode;)Q.nodeType===1&&F.push({element:Q,left:Q.scrollLeft,top:Q.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x<F.length;x++){var K=F[x];K.element.scrollLeft=K.left,K.element.scrollTop=K.top}}Vl=!!Ru,zu=Ru=null}finally{He=o,B.p=r,T.T=a}}e.current=t,st=2}}function rp(){if(st===2){st=0;var e=ba,t=Ws,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=T.T,T.T=null;var r=B.p;B.p=2;var o=He;He|=4;try{zm(e,t.alternate,t)}finally{He=o,B.p=r,T.T=a}}st=3}}function ip(){if(st===4||st===3){st=0,na();var e=ba,t=Ws,a=Kn,r=Xm;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?st=5:(st=0,Ws=ba=null,lp(e,e.pendingLanes));var o=e.pendingLanes;if(o===0&&(xa=null),on(a),t=t.stateNode,St&&typeof St.onCommitFiberRoot=="function")try{St.onCommitFiberRoot(Ba,t,void 0,(t.current.flags&128)===128)}catch{}if(r!==null){t=T.T,o=B.p,B.p=2,T.T=null;try{for(var u=e.onRecoverableError,p=0;p<r.length;p++){var x=r[p];u(x.value,{componentStack:x.stack})}}finally{T.T=t,B.p=o}}(Kn&3)!==0&&Rl(),bn(e),o=e.pendingLanes,(a&261930)!==0&&(o&42)!==0?e===xu?ri++:(ri=0,xu=e):ri=0,ii(0)}}function lp(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Br(t)))}function Rl(){return sp(),rp(),ip(),op()}function op(){if(st!==5)return!1;var e=ba,t=yu;yu=0;var a=on(Kn),r=T.T,o=B.p;try{B.p=32>a?32:a,T.T=null,a=vu,vu=null;var u=ba,p=Kn;if(st=0,Ws=ba=null,Kn=0,(He&6)!==0)throw Error(l(331));var x=He;if(He|=4,Gm(u.current),Bm(u,u.current,p,a),He=x,ii(0,!1),St&&typeof St.onPostCommitFiberRoot=="function")try{St.onPostCommitFiberRoot(Ba,u)}catch{}return!0}finally{B.p=o,T.T=r,lp(e,t)}}function cp(e,t,a){t=$t(a,t),t=$c(e.stateNode,t,2),e=ha(e,t,2),e!==null&&(Pe(e,2),bn(e))}function ke(e,t,a){if(e.tag===3)cp(e,e,a);else for(;t!==null;){if(t.tag===3){cp(t,e,a);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(xa===null||!xa.has(r))){e=$t(a,e),a=um(2),r=ha(t,a,2),r!==null&&(fm(a,r,t,e),Pe(r,2),bn(r));break}}t=t.return}}function Su(e,t,a){var r=e.pingCache;if(r===null){r=e.pingCache=new Qx;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(a)||(mu=!0,o.add(a),e=Xx.bind(null,e,t,a),t.then(e,e))}function Xx(e,t,a){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Be===e&&(_e&a)===a&&(Ke===4||Ke===3&&(_e&62914560)===_e&&300>wt()-Al?(He&2)===0&&er(e,0):pu|=a,Is===_e&&(Is=0)),bn(e)}function up(e,t){t===0&&(t=yt()),e=Ka(e,t),e!==null&&(Pe(e,t),bn(e))}function Kx(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),up(e,a)}function Zx(e,t){var a=0;switch(e.tag){case 31:case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(a=o.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(l(314))}r!==null&&r.delete(t),up(e,a)}function Fx(e,t){return Er(e,t)}var zl=null,nr=null,Eu=!1,Hl=!1,Ou=!1,Sa=0;function bn(e){e!==nr&&e.next===null&&(nr===null?zl=nr=e:nr=nr.next=e),Hl=!0,Eu||(Eu=!0,$x())}function ii(e,t){if(!Ou&&Hl){Ou=!0;do for(var a=!1,r=zl;r!==null;){if(e!==0){var o=r.pendingLanes;if(o===0)var u=0;else{var p=r.suspendedLanes,x=r.pingedLanes;u=(1<<31-gt(42|e)+1)-1,u&=o&~(p&~x),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(a=!0,mp(r,u))}else u=_e,u=xe(r,r===Be?u:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(u&3)===0||Ge(r,u)||(a=!0,mp(r,u));r=r.next}while(a);Ou=!1}}function Jx(){fp()}function fp(){Hl=Eu=!1;var e=0;Sa!==0&&lb()&&(e=Sa);for(var t=wt(),a=null,r=zl;r!==null;){var o=r.next,u=dp(r,t);u===0?(r.next=null,a===null?zl=o:a.next=o,o===null&&(nr=a)):(a=r,(e!==0||(u&3)!==0)&&(Hl=!0)),r=o}st!==0&&st!==5||ii(e),Sa!==0&&(Sa=0)}function dp(e,t){for(var a=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var p=31-gt(u),x=1<<p,E=o[p];E===-1?((x&a)===0||(x&r)!==0)&&(o[p]=lt(x,t)):E<=t&&(e.expiredLanes|=x),u&=~x}if(t=Be,a=_e,a=xe(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,a===0||e===t&&(De===2||De===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&Or(r),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Ge(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(r!==null&&Or(r),on(a)){case 2:case 8:a=Ui;break;case 32:a=La;break;case 268435456:a=Cn;break;default:a=La}return r=hp.bind(null,e),a=Er(a,r),e.callbackPriority=t,e.callbackNode=a,t}return r!==null&&r!==null&&Or(r),e.callbackPriority=2,e.callbackNode=null,2}function hp(e,t){if(st!==0&&st!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(Rl()&&e.callbackNode!==a)return null;var r=_e;return r=xe(e,e===Be?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(Zm(e,r,t),dp(e,wt()),e.callbackNode!=null&&e.callbackNode===a?hp.bind(null,e):null)}function mp(e,t){if(Rl())return null;Zm(e,t,!0)}function $x(){cb(function(){(He&6)!==0?Er(qa,Jx):fp()})}function ju(){if(Sa===0){var e=Qs;e===0&&(e=bs,bs<<=1,(bs&261888)===0&&(bs=256)),Sa=e}return Sa}function pp(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Yi(""+e)}function gp(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function Ix(e,t,a,r,o){if(t==="submit"&&a&&a.stateNode===o){var u=pp((o[Nt]||null).action),p=r.submitter;p&&(t=(t=p[Nt]||null)?pp(t.formAction):p.getAttribute("formAction"),t!==null&&(u=t,p=null));var x=new Xi("action","action",null,r,o);e.push({event:x,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(Sa!==0){var E=p?gp(o,p):new FormData(o);Pc(a,{pending:!0,data:E,method:o.method,action:u},null,E)}}else typeof u=="function"&&(x.preventDefault(),E=p?gp(o,p):new FormData(o),Pc(a,{pending:!0,data:E,method:o.method,action:u},u,E))},currentTarget:o}]})}}for(var Au=0;Au<oc.length;Au++){var Tu=oc[Au],Wx=Tu.toLowerCase(),eb=Tu[0].toUpperCase()+Tu.slice(1);cn(Wx,"on"+eb)}cn(Kd,"onAnimationEnd"),cn(Zd,"onAnimationIteration"),cn(Fd,"onAnimationStart"),cn("dblclick","onDoubleClick"),cn("focusin","onFocus"),cn("focusout","onBlur"),cn(gx,"onTransitionRun"),cn(yx,"onTransitionStart"),cn(vx,"onTransitionCancel"),cn(Jd,"onTransitionEnd"),Ts("onMouseEnter",["mouseout","mouseover"]),Ts("onMouseLeave",["mouseout","mouseover"]),Ts("onPointerEnter",["pointerout","pointerover"]),Ts("onPointerLeave",["pointerout","pointerover"]),Ga("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ga("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ga("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ga("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ga("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ga("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var li="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),tb=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(li));function yp(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var r=e[a],o=r.event;r=r.listeners;e:{var u=void 0;if(t)for(var p=r.length-1;0<=p;p--){var x=r[p],E=x.instance,D=x.currentTarget;if(x=x.listener,E!==u&&o.isPropagationStopped())break e;u=x,o.currentTarget=D;try{u(o)}catch(V){Fi(V)}o.currentTarget=null,u=E}else for(p=0;p<r.length;p++){if(x=r[p],E=x.instance,D=x.currentTarget,x=x.listener,E!==u&&o.isPropagationStopped())break e;u=x,o.currentTarget=D;try{u(o)}catch(V){Fi(V)}o.currentTarget=null,u=E}}}}function Ae(e,t){var a=t[Bo];a===void 0&&(a=t[Bo]=new Set);var r=e+"__bubble";a.has(r)||(vp(t,e,2,!1),a.add(r))}function _u(e,t,a){var r=0;t&&(r|=4),vp(a,e,r,t)}var Dl="_reactListening"+Math.random().toString(36).slice(2);function Nu(e){if(!e[Dl]){e[Dl]=!0,fd.forEach(function(a){a!=="selectionchange"&&(tb.has(a)||_u(a,!1,e),_u(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Dl]||(t[Dl]=!0,_u("selectionchange",!1,t))}}function vp(e,t,a,r){switch(Kp(t)){case 2:var o=Nb;break;case 8:o=Cb;break;default:o=Vu}a=o.bind(null,t,a,e),o=void 0,!Fo||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,a,{capture:!0,passive:o}):e.addEventListener(t,a,!0):o!==void 0?e.addEventListener(t,a,{passive:o}):e.addEventListener(t,a,!1)}function Cu(e,t,a,r,o){var u=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var p=r.tag;if(p===3||p===4){var x=r.stateNode.containerInfo;if(x===o)break;if(p===4)for(p=r.return;p!==null;){var E=p.tag;if((E===3||E===4)&&p.stateNode.containerInfo===o)return;p=p.return}for(;x!==null;){if(p=Os(x),p===null)return;if(E=p.tag,E===5||E===6||E===26||E===27){r=u=p;continue e}x=x.parentNode}}r=r.return}Ed(function(){var D=u,V=Ko(a),F=[];e:{var q=$d.get(e);if(q!==void 0){var Q=Xi,de=e;switch(e){case"keypress":if(Vi(a)===0)break e;case"keydown":case"keyup":Q=Zv;break;case"focusin":de="focus",Q=Wo;break;case"focusout":de="blur",Q=Wo;break;case"beforeblur":case"afterblur":Q=Wo;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Q=Ad;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Q=kv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Q=$v;break;case Kd:case Zd:case Fd:Q=Lv;break;case Jd:Q=Wv;break;case"scroll":case"scrollend":Q=Hv;break;case"wheel":Q=tx;break;case"copy":case"cut":case"paste":Q=Qv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Q=_d;break;case"toggle":case"beforetoggle":Q=ax}var ye=(t&4)!==0,Le=!ye&&(e==="scroll"||e==="scrollend"),M=ye?q!==null?q+"Capture":null:q;ye=[];for(var N=D,z;N!==null;){var K=N;if(z=K.stateNode,K=K.tag,K!==5&&K!==26&&K!==27||z===null||M===null||(K=Nr(N,M),K!=null&&ye.push(oi(N,K,z))),Le)break;N=N.return}0<ye.length&&(q=new Q(q,de,null,a,V),F.push({event:q,listeners:ye}))}}if((t&7)===0){e:{if(q=e==="mouseover"||e==="pointerover",Q=e==="mouseout"||e==="pointerout",q&&a!==Xo&&(de=a.relatedTarget||a.fromElement)&&(Os(de)||de[Es]))break e;if((Q||q)&&(q=V.window===V?V:(q=V.ownerDocument)?q.defaultView||q.parentWindow:window,Q?(de=a.relatedTarget||a.toElement,Q=D,de=de?Os(de):null,de!==null&&(Le=f(de),ye=de.tag,de!==Le||ye!==5&&ye!==27&&ye!==6)&&(de=null)):(Q=null,de=D),Q!==de)){if(ye=Ad,K="onMouseLeave",M="onMouseEnter",N="mouse",(e==="pointerout"||e==="pointerover")&&(ye=_d,K="onPointerLeave",M="onPointerEnter",N="pointer"),Le=Q==null?q:_r(Q),z=de==null?q:_r(de),q=new ye(K,N+"leave",Q,a,V),q.target=Le,q.relatedTarget=z,K=null,Os(V)===D&&(ye=new ye(M,N+"enter",de,a,V),ye.target=z,ye.relatedTarget=Le,K=ye),Le=K,Q&&de)t:{for(ye=nb,M=Q,N=de,z=0,K=M;K;K=ye(K))z++;K=0;for(var ge=N;ge;ge=ye(ge))K++;for(;0<z-K;)M=ye(M),z--;for(;0<K-z;)N=ye(N),K--;for(;z--;){if(M===N||N!==null&&M===N.alternate){ye=M;break t}M=ye(M),N=ye(N)}ye=null}else ye=null;Q!==null&&xp(F,q,Q,ye,!1),de!==null&&Le!==null&&xp(F,Le,de,ye,!0)}}e:{if(q=D?_r(D):window,Q=q.nodeName&&q.nodeName.toLowerCase(),Q==="select"||Q==="input"&&q.type==="file")var Me=kd;else if(Hd(q))if(Ud)Me=hx;else{Me=fx;var pe=ux}else Q=q.nodeName,!Q||Q.toLowerCase()!=="input"||q.type!=="checkbox"&&q.type!=="radio"?D&&Po(D.elementType)&&(Me=kd):Me=dx;if(Me&&(Me=Me(e,D))){Dd(F,Me,a,V);break e}pe&&pe(e,q,D),e==="focusout"&&D&&q.type==="number"&&D.memoizedProps.value!=null&&Vo(q,"number",q.value)}switch(pe=D?_r(D):window,e){case"focusin":(Hd(pe)||pe.contentEditable==="true")&&(zs=pe,rc=D,Ur=null);break;case"focusout":Ur=rc=zs=null;break;case"mousedown":ic=!0;break;case"contextmenu":case"mouseup":case"dragend":ic=!1,Pd(F,a,V);break;case"selectionchange":if(px)break;case"keydown":case"keyup":Pd(F,a,V)}var Se;if(tc)e:{switch(e){case"compositionstart":var Ne="onCompositionStart";break e;case"compositionend":Ne="onCompositionEnd";break e;case"compositionupdate":Ne="onCompositionUpdate";break e}Ne=void 0}else Rs?Rd(e,a)&&(Ne="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(Ne="onCompositionStart");Ne&&(Nd&&a.locale!=="ko"&&(Rs||Ne!=="onCompositionStart"?Ne==="onCompositionEnd"&&Rs&&(Se=Od()):(ia=V,Jo="value"in ia?ia.value:ia.textContent,Rs=!0)),pe=kl(D,Ne),0<pe.length&&(Ne=new Td(Ne,e,null,a,V),F.push({event:Ne,listeners:pe}),Se?Ne.data=Se:(Se=zd(a),Se!==null&&(Ne.data=Se)))),(Se=rx?ix(e,a):lx(e,a))&&(Ne=kl(D,"onBeforeInput"),0<Ne.length&&(pe=new Td("onBeforeInput","beforeinput",null,a,V),F.push({event:pe,listeners:Ne}),pe.data=Se)),Ix(F,e,D,a,V)}yp(F,t)})}function oi(e,t,a){return{instance:e,listener:t,currentTarget:a}}function kl(e,t){for(var a=t+"Capture",r=[];e!==null;){var o=e,u=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||u===null||(o=Nr(e,a),o!=null&&r.unshift(oi(e,o,u)),o=Nr(e,t),o!=null&&r.push(oi(e,o,u))),e.tag===3)return r;e=e.return}return[]}function nb(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function xp(e,t,a,r,o){for(var u=t._reactName,p=[];a!==null&&a!==r;){var x=a,E=x.alternate,D=x.stateNode;if(x=x.tag,E!==null&&E===r)break;x!==5&&x!==26&&x!==27||D===null||(E=D,o?(D=Nr(a,u),D!=null&&p.unshift(oi(a,D,E))):o||(D=Nr(a,u),D!=null&&p.push(oi(a,D,E)))),a=a.return}p.length!==0&&e.push({event:t,listeners:p})}var ab=/\r\n?/g,sb=/\u0000|\uFFFD/g;function bp(e){return(typeof e=="string"?e:""+e).replace(ab,`
49`).replace(sb,"")}function wp(e,t){return t=bp(t),bp(e)===t}function qe(e,t,a,r,o,u){switch(a){case"children":typeof r=="string"?t==="body"||t==="textarea"&&r===""||Ns(e,r):(typeof r=="number"||typeof r=="bigint")&&t!=="body"&&Ns(e,""+r);break;case"className":Bi(e,"class",r);break;case"tabIndex":Bi(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":Bi(e,a,r);break;case"style":wd(e,r,u);break;case"data":if(t!=="object"){Bi(e,"data",r);break}case"src":case"href":if(r===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(a);break}r=Yi(""+r),e.setAttribute(a,r);break;case"action":case"formAction":if(typeof r=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(a==="formAction"?(t!=="input"&&qe(e,t,"name",o.name,o,null),qe(e,t,"formEncType",o.formEncType,o,null),qe(e,t,"formMethod",o.formMethod,o,null),qe(e,t,"formTarget",o.formTarget,o,null)):(qe(e,t,"encType",o.encType,o,null),qe(e,t,"method",o.method,o,null),qe(e,t,"target",o.target,o,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(a);break}r=Yi(""+r),e.setAttribute(a,r);break;case"onClick":r!=null&&(e.onclick=Rn);break;case"onScroll":r!=null&&Ae("scroll",e);break;case"onScrollEnd":r!=null&&Ae("scrollend",e);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(l(61));if(a=r.__html,a!=null){if(o.children!=null)throw Error(l(60));e.innerHTML=a}}break;case"multiple":e.multiple=r&&typeof r!="function"&&typeof r!="symbol";break;case"muted":e.muted=r&&typeof r!="function"&&typeof r!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(r==null||typeof r=="function"||typeof r=="boolean"||typeof r=="symbol"){e.removeAttribute("xlink:href");break}a=Yi(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(a,""+r):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
49ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":r===!0?e.setAttribute(a,""):r!==!1&&r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(a,r):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":r!=null&&typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r?e.setAttribute(a,r):e.removeAttribute(a);break;case"rowSpan":case"start":r==null||typeof r=="function"||typeof r=="symbol"||isNaN(r)?e.removeAttribute(a):e.setAttribute(a,r);break;case"popover":Ae("beforetoggle",e),Ae("toggle",e),Li(e,"popover",r);break;case"xlinkActuate":Mn(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":Mn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":Mn(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":Mn(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":Mn(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":Mn(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":Mn(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":Mn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":Mn(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":Li(e,"is",r);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=Rv.get(a)||a,Li(e,a,r))}}function Mu(e,t,a,r,o,u){switch(a){case"style":wd(e,r,u);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(l(61));if(a=r.__html,a!=null){if(o.children!=null)throw Error(l(60));e.innerHTML=a}}break;case"children":typeof r=="string"?Ns(e,r):(typeof r=="number"||typeof r=="bigint")&&Ns(e,""+r);break;case"onScroll":r!=null&&Ae("scroll",e);break;case"onScrollEnd":r!=null&&Ae("scrollend",e);break;case"onClick":r!=null&&(e.onclick=Rn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!dd.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(o=a.endsWith("Capture"),t=a.slice(2,o?a.length-7:void 0),u=e[Nt]||null,u=u!=null?u[a]:null,typeof u=="function"&&e.removeEventListener(t,u,o),typeof r=="function")){typeof u!="function"&&u!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,r,o);break e}a in e?e[a]=r:r===!0?e.setAttribute(a,""):Li(e,a,r)}}}function pt(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ae("error",e),Ae("load",e);var r=!1,o=!1,u;for(u in a)if(a.hasOwnProperty(u)){var p=a[u];if(p!=null)switch(u){case"src":r=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:qe(e,t,u,p,a,null)}}o&&qe(e,t,"srcSet",a.srcSet,a,null),r&&qe(e,t,"src",a.src,a,null);return;case"input":Ae("invalid",e);var x=u=p=o=null,E=null,D=null;for(r in a)if(a.hasOwnProperty(r)){var V=a[r];if(V!=null)switch(r){case"name":o=V;break;case"type":p=V;break;case"checked":E=V;break;case"defaultChecked":D=V;break;case"value":u=V;break;case"defaultValue":x=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(l(137,t));break;default:qe(e,t,r,V,a,null)}}yd(e,u,x,E,D,p,o,!1);return;case"select":Ae("invalid",e),r=p=u=null;for(o in a)if(a.hasOwnProperty(o)&&(x=a[o],x!=null))switch(o){case"value":u=x;break;case"defaultValue":p=x;break;case"multiple":r=x;default:qe(e,t,o,x,a,null)}t=u,a=p,e.multiple=!!r,t!=null?_s(e,!!r,t,!1):a!=null&&_s(e,!!r,a,!0);return;case"textarea":Ae("invalid",e),u=o=r=null;for(p in a)if(a.hasOwnProperty(p)&&(x=a[p],x!=null))switch(p){case"value":r=x;break;case"defaultValue":o=x;break;case"children":u=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(l(91));break;default:qe(e,t,p,x,a,null)}xd(e,r,o,u);return;case"option":for(E in a)if(a.hasOwnProperty(E)&&(r=a[E],r!=null))switch(E){case"selected":e.selected=r&&typeof r!="function"&&typeof r!="symbol";break;default:qe(e,t,E,r,a,null)}return;case"dialog":Ae("beforetoggle",e),Ae("toggle",e),Ae("cancel",e),Ae("close",e);break;case"iframe":case"object":Ae("load",e);break;case"video":case"audio":for(r=0;r<li.length;r++)Ae(li[r],e);break;case"image":Ae("error",e),Ae("load",e);break;case"details":Ae("toggle",e);break;case"embed":case"source":case"link":Ae("error",e),Ae("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(D in a)if(a.hasOwnProperty(D)&&(r=a[D],r!=null))switch(D){case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:qe(e,t,D,r,a,null)}return;default:if(Po(t)){for(V in a)a.hasOwnProperty(V)&&(r=a[V],r!==void 0&&Mu(e,t,V,r,a,void 0));return}}for(x in a)a.hasOwnProperty(x)&&(r=a[x],r!=null&&qe(e,t,x,r,a,null))}function rb(e,t,a,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,u=null,p=null,x=null,E=null,D=null,V=null;for(Q in a){var F=a[Q];if(a.hasOwnProperty(Q)&&F!=null)switch(Q){case"checked":break;case"value":break;case"defaultValue":E=F;default:r.hasOwnProperty(Q)||qe(e,t,Q,null,r,F)}}for(var q in r){var Q=r[q];if(F=a[q],r.hasOwnProperty(q)&&(Q!=null||F!=null))switch(q){case"type":u=Q;break;case"name":o=Q;break;case"checked":D=Q;break;case"defaultChecked":V=Q;break;case"value":p=Q;break;case"defaultValue":x=Q;break;case"children":case"dangerouslySetInnerHTML":if(Q!=null)throw Error(l(137,t));break;default:Q!==F&&qe(e,t,q,Q,r,F)}}Go(e,p,x,E,D,V,u,o);return;case"select":Q=p=x=q=null;for(u in a)if(E=a[u],a.hasOwnProperty(u)&&E!=null)switch(u){case"value":break;case"multiple":Q=E;default:r.hasOwnProperty(u)||qe(e,t,u,null,r,E)}for(o in r)if(u=r[o],E=a[o],r.hasOwnProperty(o)&&(u!=null||E!=null))switch(o){case"value":q=u;break;case"defaultValue":x=u;break;case"multiple":p=u;default:u!==E&&qe(e,t,o,u,r,E)}t=x,a=p,r=Q,q!=null?_s(e,!!a,q,!1):!!r!=!!a&&(t!=null?_s(e,!!a,t,!0):_s(e,!!a,a?[]:"",!1));return;case"textarea":Q=q=null;for(x in a)if(o=a[x],a.hasOwnProperty(x)&&o!=null&&!r.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:qe(e,t,x,null,r,o)}
vendor: 4,129 bytes, line 49
49for(p in r)if(o=r[p],u=a[p],r.hasOwnProperty(p)&&(o!=null||u!=null))switch(p){case"value":q=o;break;case"defaultValue":Q=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(l(91));break;default:o!==u&&qe(e,t,p,o,r,u)}vd(e,q,Q);return;case"option":for(var de in a)if(q=a[de],a.hasOwnProperty(de)&&q!=null&&!r.hasOwnProperty(de))switch(de){case"selected":e.selected=!1;break;default:qe(e,t,de,null,r,q)}for(E in r)if(q=r[E],Q=a[E],r.hasOwnProperty(E)&&q!==Q&&(q!=null||Q!=null))switch(E){case"selected":e.selected=q&&typeof q!="function"&&typeof q!="symbol";break;default:qe(e,t,E,q,r,Q)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var ye in a)q=a[ye],a.hasOwnProperty(ye)&&q!=null&&!r.hasOwnProperty(ye)&&qe(e,t,ye,null,r,q);for(D in r)if(q=r[D],Q=a[D],r.hasOwnProperty(D)&&q!==Q&&(q!=null||Q!=null))switch(D){case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(l(137,t));break;default:qe(e,t,D,q,r,Q)}return;default:if(Po(t)){for(var Le in a)q=a[Le],a.hasOwnProperty(Le)&&q!==void 0&&!r.hasOwnProperty(Le)&&Mu(e,t,Le,void 0,r,q);for(V in r)q=r[V],Q=a[V],!r.hasOwnProperty(V)||q===Q||q===void 0&&Q===void 0||Mu(e,t,V,q,r,Q);return}}for(var M in a)q=a[M],a.hasOwnProperty(M)&&q!=null&&!r.hasOwnProperty(M)&&qe(e,t,M,null,r,q);for(F in r)q=r[F],Q=a[F],!r.hasOwnProperty(F)||q===Q||q==null&&Q==null||qe(e,t,F,q,r,Q)}function Sp(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function ib(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),r=0;r<a.length;r++){var o=a[r],u=o.transferSize,p=o.initiatorType,x=o.duration;if(u&&x&&Sp(p)){for(p=0,x=o.responseEnd,r+=1;r<a.length;r++){var E=a[r],D=E.startTime;if(D>x)break;var V=E.transferSize,F=E.initiatorType;V&&Sp(F)&&(E=E.responseEnd,p+=V*(E<x?1:(x-D)/(E-D)))}if(--r,t+=8*(u+p)/(o.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Ru=null,zu=null;function Ul(e){return e.nodeType===9?e:e.ownerDocument}function Ep(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Op(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Hu(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Du=null;function lb(){var e=window.event;return e&&e.type==="popstate"?e===Du?!1:(Du=e,!0):(Du=null,!1)}var jp=typeof setTimeout=="function"?setTimeout:void 0,ob=typeof clearTimeout=="function"?clearTimeout:void 0,Ap=typeof Promise=="function"?Promise:void 0,cb=typeof queueMicrotask=="function"?queueMicrotask:typeof Ap<"u"?function(e){return Ap.resolve(null).then(e).catch(ub)}:jp;function ub(e){setTimeout(function(){throw e})}function Ea(e){return e==="head"}function Tp(e,t){var a=t,r=0;do{var o=a.nextSibling;if(e.removeChild(a),o&&o.nodeType===8)if(a=o.data,a==="/$"||a==="/&"){if(r===0){e.removeChild(o),ir(t);return}r--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")r++;else if(a==="html")ci(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,ci(a);for(var u=a.firstChild;u;){var p=u.nextSibling,x=u.nodeName;u[Tr]||x==="SCRIPT"||x==="STYLE"||x==="LINK"&&u.rel.toLowerCase()==="stylesheet"||a.removeChild(u),u=p}}else a==="body"&&ci(e.ownerDocument.body);a=o}while(a);ir(t)}function _p(e,t){var a=e;e=0;do{var r=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),r&&r.n
vendor: 11,236 bytes, line 49
49odeType===8)if(a=r.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=r}while(a)}function ku(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":ku(a),Qo(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function fb(e,t,a,r){for(;e.nodeType===1;){var o=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(r){if(!e[Tr])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(u=e.getAttribute("rel"),u==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(u!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var u=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=nn(e.nextSibling),e===null)break}return null}function db(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=nn(e.nextSibling),e===null))return null;return e}function Np(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=nn(e.nextSibling),e===null))return null;return e}function Uu(e){return e.data==="$?"||e.data==="$~"}function qu(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function hb(e,t){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||a.readyState!=="loading")t();else{var r=function(){t(),a.removeEventListener("DOMContentLoaded",r)};a.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}function nn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Lu=null;function Cp(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(t===0)return nn(e.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}e=e.nextSibling}return null}function Mp(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(t===0)return e;t--}else a!=="/$"&&a!=="/&"||t++}e=e.previousSibling}return null}function Rp(e,t,a){switch(t=Ul(a),e){case"html":if(e=t.documentElement,!e)throw Error(l(452));return e;case"head":if(e=t.head,!e)throw Error(l(453));return e;case"body":if(e=t.body,!e)throw Error(l(454));return e;default:throw Error(l(451))}}function ci(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Qo(e)}var an=new Map,zp=new Set;function ql(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Zn=B.d;B.d={f:mb,r:pb,D:gb,C:yb,L:vb,m:xb,X:wb,S:bb,M:Sb};function mb(){var e=Zn.f(),t=Nl();return e||t}function pb(e){var t=js(e);t!==null&&t.tag===5&&t.type==="form"?Jh(t):Zn.r(e)}var ar=typeof document>"u"?null:document;function Hp(e,t,a){var r=ar;if(r&&typeof t=="string"&&t){var o=Ft(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof a=="string"&&(o+='[crossorigin="'+a+'"]'),zp.has(o)||(zp.add(o),e={rel:e,crossOrigin:a,href:t},r.querySelector(o)===null&&(t=r.createElement("link"),pt(t,"link",e),ot(t),r.head.appendChild(t)))}}function gb(e){Zn.D(e),Hp("dns-prefetch",e,null)}function yb(e,t){Zn.C(e,t),Hp("preconnect",e,t)}function vb(e,t,a){Zn.L(e,t,a);var r=ar;if(r&&e&&t){var o='link[rel="preload"][as="'+Ft(t)+'"]';t==="image"&&a&&a.imageSrcSet?(o+='[imagesrcset="'+Ft(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(o+='[imagesizes="'+Ft(a.imageSizes)+'"]')):o+='[href="'+Ft(e)+'"]';var u=o;switch(t){case"style":u=sr(e);break;case"script":u=rr(e)}an.has(u)||(e=v({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),an.set(u,e),r.querySelector(o)!==null||t==="style"&&r.querySelector(ui(u))||t==="script"&&r.querySelector(fi(u))||(t=r.createElement("link"),pt(t,"link",e),ot(t),r.head.appendChild(t)))}}function xb(e,t){Zn.m(e,t);var a=ar;if(a&&e){var r=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+Ft(r)+'"][href="'+Ft(e)+'"]',u=o;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=rr(e)}if(!an.has(u)&&(e=v({rel:"modulepreload",href:e},t),an.set(u,e),a.querySelector(o)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(fi(u)))return}r=a.createElement("link"),pt(r,"link",e),ot(r),a.head.appendChild(r)}}}function bb(e,t,a){Zn.S(e,t,a);var r=ar;if(r&&e){var o=As(r).hoistableStyles,u=sr(e);t=t||"default";var p=o.get(u);if(!p){var x={loading:0,preload:null};if(p=r.querySelector(ui(u)))x.loading=5;else{e=v({rel:"stylesheet",href:e,"data-precedence":t},a),(a=an.get(u))&&Bu(e,a);var E=p=r.createElement("link");ot(E),pt(E,"link",e),E._p=new Promise(function(D,V){E.onload=D,E.onerror=V}),E.addEventListener("load",function(){x.loading|=1}),E.addEventListener("error",function(){x.loading|=2}),x.loading|=4,Ll(p,t,r)}p={type:"stylesheet",instance:p,count:1,state:x},o.set(u,p)}}}function wb(e,t){Zn.X(e,t);var a=ar;if(a&&e){var r=As(a).hoistableScripts,o=rr(e),u=r.get(o);u||(u=a.querySelector(fi(o)),u||(e=v({src:e,async:!0},t),(t=an.get(o))&&Qu(e,t),u=a.createElement("script"),ot(u),pt(u,"link",e),a.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},r.set(o,u))}}function Sb(e,t){Zn.M(e,t);var a=ar;if(a&&e){var r=As(a).hoistableScripts,o=rr(e),u=r.get(o);u||(u=a.querySelector(fi(o)),u||(e=v({src:e,async:!0,type:"module"},t),(t=an.get(o))&&Qu(e,t),u=a.createElement("script"),ot(u),pt(u,"link",e),a.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},r.set(o,u))}}function Dp(e,t,a,r){var o=(o=Z.current)?ql(o):null;if(!o)throw Error(l(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=sr(a.href),a=As(o).hoistableStyles,r=a.get(t),r||(r={type:"style",instance:null,count:0,state:null},a.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=sr(a.href);var u=As(o).hoistableStyles,p=u.get(e);if(p||(o=o.ownerDocument||o,p={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,p),(u=o.querySelector(ui(e)))&&!u._p&&(p.instance=u,p.state.loading=5),an.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},an.set(e,a),u||Eb(o,e,a,p.state))),t&&r===null)throw Error(l(528,""));return p}if(t&&r!==null)throw Error(l(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=rr(a),a=As(o).hoistableScripts,r=a.get(t),r||(r={type:"script",instance:null,count:0,state:null},a.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,e))}}function sr(e){return'href="'+Ft(e)+'"'}function ui(e){return'link[rel="stylesheet"]['+e+"]"}function kp(e){return v({},e,{"data-precedence":e.precedence,precedence:null})}function Eb(e,t,a,r){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?r.loading=1:(t=e.createElement("link"),r.preload=t,t.addEventListener("load",function(){return r.loading|=1}),t.addEventListener("error",function(){return r.loading|=2}),pt(t,"link",a),ot(t),e.head.appendChild(t))}function rr(e){return'[src="'+Ft(e)+'"]'}function fi(e){return"script[async]"+e}function Up(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+Ft(a.href)+'"]');if(r)return t.instance=r,ot(r),r;var o=v({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement("style"),ot(r),pt(r,"style",o),Ll(r,a.precedence,e),t.instance=r;case"stylesheet":o=sr(a.href);var u=e.querySelector(ui(o));if(u)return t.state.loading|=4,t.instance=u,ot(u),u;r=kp(a),(o=an.get(o))&&Bu(r,o),u=(e.ownerDocument||e).createElement("link"),ot(u);var p=u;return p._p=new Promise(function(x,E){p.onload=x,p.onerror=E}),pt(u,"link",r),t.state.loading|=4,Ll(u,a.precedence,e),t.instance=u;case"script":return u=rr(a.src),(o=e.querySelector(fi(u)))?(t.instance=o,ot(o),o):(r=a,(o=an.get(u))&&(r=v({},a),Qu(r,o)),e=e.ownerDocument||e,o=e.createElement("script"),ot(o),pt(o,"link",r),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(l(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(r=t.instance,t.state.loading|=4,Ll(r,a.precedence,e));return t.instance}function Ll(e,t,a){for(var r=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=r.length?r[r.length-1]:null,u=o,p=0;p<r.length;p++){var x=r[p];if(x.dataset.precedence===t)u=x;else if(u!==o)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function Bu(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Qu(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Bl=null;function qp(e,t,a){if(Bl===null){var r=new Map,o=Bl=new Map;o.set(a,r)}else o=Bl,r=o.get(a),r||(r=new Map,o.set(a,r));if(r.has(e))return r;for(r.set(e,null),a=a.getElementsByTagName(e),o=0;o<a.length;o++){var u=a[o];if(!(u[Tr]||u[ft]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var p=u.getAttribute(t)||"";p=e+p;var x=r.get(p);x?x.push(u):r.set(p,[u])}}return r}function Lp(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function Ob(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Bp(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function jb(e,t,a,r){if(a.type==="stylesheet"&&(typeof r.media!="str
49ing"||matchMedia(r.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var o=sr(r.href),u=t.querySelector(ui(o));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Ql.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=u,ot(u);return}u=t.ownerDocument||t,r=kp(r),(o=an.get(o))&&Bu(r,o),u=u.createElement("link"),ot(u);var p=u;p._p=new Promise(function(x,E){p.onload=x,p.onerror=E}),pt(u,"link",r),a.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=Ql.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var Yu=0;function Ab(e,t){return e.stylesheets&&e.count===0&&Gl(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var r=setTimeout(function(){if(e.stylesheets&&Gl(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+t);0<e.imgBytes&&Yu===0&&(Yu=62500*ib());var o=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Gl(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>Yu?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(o)}}:null}function Ql(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Gl(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Yl=null;function Gl(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Yl=new Map,t.forEach(Tb,e),Yl=null,Ql.call(e))}function Tb(e,t){if(!(t.state.loading&4)){var a=Yl.get(e);if(a)var r=a.get(null);else{a=new Map,Yl.set(e,a);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<o.length;u++){var p=o[u];(p.nodeName==="LINK"||p.getAttribute("media")!=="not all")&&(a.set(p.dataset.precedence,p),r=p)}r&&a.set(null,r)}o=t.instance,p=o.getAttribute("data-precedence"),u=a.get(p)||r,u===r&&a.set(null,o),a.set(p,o),this.count++,r=Ql.bind(this),o.addEventListener("load",r),o.addEventListener("error",r),u?u.parentNode.insertBefore(o,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=4}}var di={$$typeof:ee,Provider:null,Consumer:null,_currentValue:R,_currentValue2:R,_threadCount:0};function _b(e,t,a,r,o,u,p,x,E){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=sa(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=sa(0),this.hiddenUpdates=sa(null),this.identifierPrefix=r,this.onUncaughtError=o,this.onCaughtError=u,this.onRecoverableError=p,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=E,this.incompleteTransitions=new Map}function Qp(e,t,a,r,o,u,p,x,E,D,V,F){return e=new _b(e,t,a,p,E,D,V,F,x),t=1,u===!0&&(t|=24),u=Lt(3,null,null,t),e.current=u,u.stateNode=e,t=wc(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:r,isDehydrated:a,cache:t},jc(u),e}function Yp(e){return e?(e=ks,e):ks}function Gp(e,t,a,r,o,u){o=Yp(o),r.context===null?r.context=o:r.pendingContext=o,r=da(t),r.payload={element:a},u=u===void 0?null:u,u!==null&&(r.callback=u),a=ha(e,r,t),a!==null&&(Dt(a,e,t),Vr(a,e,t))}function Vp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function Gu(e,t){Vp(e,t),(e=e.alternate)&&Vp(e,t)}function Pp(e){if(e.tag===13||e.tag===31){var t=Ka(e,67108864);t!==null&&Dt(t,e,67108864),Gu(e,67108864)}}function Xp(e){if(e.tag===13||e.tag===31){var t=Vt();t=Ss(t);var a=Ka(e,t);a!==null&&Dt(a,e,t),Gu(e,t)}}var Vl=!0;function Nb(e,t,a,r){var o=T.T;T.T=null;var u=B.p;try{B.p=2,Vu(e,t,a,r)}finally{B.p=u,T.T=o}}function Cb(e,t,a,r){var o=T.T;T.T=null;var u=B.p;try{B.p=8,Vu(e,t,a,r)}finally{B.p=u,T.T=o}}function Vu(e,t,a,r){if(Vl){var o=Pu(r);if(o===null)Cu(e,t,r,Pl,a),Zp(e,r);else if(Rb(o,e,t,a,r))r.stopPropagation();else if(Zp(e,r),t&4&&-1<Mb.indexOf(e)){for(;o!==null;){var u=js(o);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var p=gn(u.pendingLanes);if(p!==0){var x=u;for(x.pendingLanes|=2,x.entangledLanes|=2;p;){var E=1<<31-gt(p);x.entanglements[1]|=E,p&=~E}bn(u),(He&6)===0&&(Tl=wt()+500,ii(0))}}break;case 31:case 13:x=Ka(u,2),x!==null&&Dt(x,u,2),Nl(),Gu(u,2)}if(u=Pu(r),u===null&&Cu(e,t,r,Pl,a),u===o)break;o=u}o!==null&&r.stopPropagation()}else Cu(e,t,r,null,a)}}function Pu(e){return e=Ko(e),Xu(e)}var Pl=null;function Xu(e){if(Pl=null,e=Os(e),e!==null){var t=f(e);
vendor: 4,275 bytes, line 49
49if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=d(t),e!==null)return e;e=null}else if(a===31){if(e=h(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Pl=e,null}function Kp(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Uo()){case qa:return 2;case Ui:return 8;case La:case jr:return 32;case Cn:return 268435456;default:return 32}default:return 32}}var Ku=!1,Oa=null,ja=null,Aa=null,hi=new Map,mi=new Map,Ta=[],Mb="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Zp(e,t){switch(e){case"focusin":case"focusout":Oa=null;break;case"dragenter":case"dragleave":ja=null;break;case"mouseover":case"mouseout":Aa=null;break;case"pointerover":case"pointerout":hi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":mi.delete(t.pointerId)}}function pi(e,t,a,r,o,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:a,eventSystemFlags:r,nativeEvent:u,targetContainers:[o]},t!==null&&(t=js(t),t!==null&&Pp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function Rb(e,t,a,r,o){switch(t){case"focusin":return Oa=pi(Oa,e,t,a,r,o),!0;case"dragenter":return ja=pi(ja,e,t,a,r,o),!0;case"mouseover":return Aa=pi(Aa,e,t,a,r,o),!0;case"pointerover":var u=o.pointerId;return hi.set(u,pi(hi.get(u)||null,e,t,a,r,o)),!0;case"gotpointercapture":return u=o.pointerId,mi.set(u,pi(mi.get(u)||null,e,t,a,r,o)),!0}return!1}function Fp(e){var t=Os(e.target);if(t!==null){var a=f(t);if(a!==null){if(t=a.tag,t===13){if(t=d(a),t!==null){e.blockedOn=t,cd(e.priority,function(){Xp(a)});return}}else if(t===31){if(t=h(a),t!==null){e.blockedOn=t,cd(e.priority,function(){Xp(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Xl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=Pu(e.nativeEvent);if(a===null){a=e.nativeEvent;var r=new a.constructor(a.type,a);Xo=r,a.target.dispatchEvent(r),Xo=null}else return t=js(a),t!==null&&Pp(t),e.blockedOn=a,!1;t.shift()}return!0}function Jp(e,t,a){Xl(e)&&a.delete(t)}function zb(){Ku=!1,Oa!==null&&Xl(Oa)&&(Oa=null),ja!==null&&Xl(ja)&&(ja=null),Aa!==null&&Xl(Aa)&&(Aa=null),hi.forEach(Jp),mi.forEach(Jp)}function Kl(e,t){e.blockedOn===t&&(e.blockedOn=null,Ku||(Ku=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,zb)))}var Zl=null;function $p(e){Zl!==e&&(Zl=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Zl===e&&(Zl=null);for(var t=0;t<e.length;t+=3){var a=e[t],r=e[t+1],o=e[t+2];if(typeof r!="function"){if(Xu(r||a)===null)continue;break}var u=js(a);u!==null&&(e.splice(t,3),t-=3,Pc(u,{pending:!0,data:o,method:a.method,action:r},r,o))}}))}function ir(e){function t(E){return Kl(E,e)}Oa!==null&&Kl(Oa,e),ja!==null&&Kl(ja,e),Aa!==null&&Kl(Aa,e),hi.forEach(t),mi.forEac
vendor: 4,572 bytes, line 49
49h(t);for(var a=0;a<Ta.length;a++){var r=Ta[a];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Ta.length&&(a=Ta[0],a.blockedOn===null);)Fp(a),a.blockedOn===null&&Ta.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(r=0;r<a.length;r+=3){var o=a[r],u=a[r+1],p=o[Nt]||null;if(typeof u=="function")p||$p(a);else if(p){var x=null;if(u&&u.hasAttribute("formAction")){if(o=u,p=u[Nt]||null)x=p.formAction;else if(Xu(o)!==null)continue}else x=p.action;typeof x=="function"?a[r+1]=x:(a.splice(r,3),r-=3),$p(a)}}}function Ip(){function e(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(p){return o=p})},focusReset:"manual",scroll:"manual"})}function t(){o!==null&&(o(),o=null),r||setTimeout(a,20)}function a(){if(!r&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var r=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),o!==null&&(o(),o=null)}}}function Zu(e){this._internalRoot=e}Fl.prototype.render=Zu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(l(409));var a=t.current,r=Vt();Gp(a,r,e,t,null,null)},Fl.prototype.unmount=Zu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Gp(e.current,2,null,e,null,null),Nl(),t[Es]=null}};function Fl(e){this._internalRoot=e}Fl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Lo();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Ta.length&&t!==0&&t<Ta[a].priority;a++);Ta.splice(a,0,e),a===0&&Fp(e)}};var Wp=s.version;if(Wp!=="19.2.1")throw Error(l(527,Wp,"19.2.1"));B.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(l(188)):(e=Object.keys(e).join(","),Error(l(268,e)));return e=y(t),e=e!==null?b(e):null,e=e===null?null:e.stateNode,e};var Hb={bundleType:0,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:T,reconcilerVersion:"19.2.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Jl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Jl.isDisabled&&Jl.supportsFiber)try{Ba=Jl.inject(Hb),St=Jl}catch{}}return vi.createRoot=function(e,t){if(!c(e))throw Error(l(299));var a=!1,r="",o=im,u=lm,p=om;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(p=t.onRecoverableError)),t=Qp(e,1,!1,null,null,a,r,null,o,u,p,Ip),e[Es]=t.current,Nu(e),new Zu(t)},vi.hydrateRoot=function(e,t,a){if(!c(e))throw Error(l(299));var r=!1,o="",u=im,p=lm,x=om,E=null;return a!=null&&(a.unstable_strictMode===!0&&(r=!0),a.identifierPrefix!==void 0&&(o=a.identifierPrefix),a.onUncaughtError!==void 0&&(u=a.onUncaughtError),a.onCaughtError!==void 0&&(p=a.onCaughtError),a.onRecoverableError!==void 0&&(x=a.onRecoverableError),a.formState!==void 0&&(E=a.formState)),t=Qp(e,1,!0,t,a??null,r,o,E,u,p,x,Ip),t.context=Yp(null),a=t.current,r=Vt(),r=Ss(r),o=da(r),o.callback=null,ha(a,o,r),a=r,t.current.lanes=a,Pe(t,a),bn(t),e[Es]=t.current,Nu(e),new Fl(t)},vi.version="19.2.1",vi}var j0;function I2(){if(j0)return tf.exports;j0=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(s){console.error(s)}}return n(),tf.exports=$2(),tf.exports}var W2=I2(),ew=(function(){function n(){this.keyToValue=new Map,this.valueToKey=new Map}return n.prototype.set=function(s,i){this.keyToValue.set(s,i),this.valueToKey.set(i,s)},n.prototype.getByKey=function(s){return this.keyToValue.get(s)},n.prototype.getByValue=function(s){return this.valueToKey.get(s)},n.prototype.clear=function(){this.keyToValue.clear(),this.valueToKey.clear()},n})(),ey=(function(){function n(s){this.generateIdentifier=s,this.kv=new ew}return n.prototype.register=function(s,i){this.kv.getByValue(s)||(i||(i=this.generateIdentifier(s)),this.kv.set(i,s))},n.prototype.clear=function(){this.kv.clear()},n.prototype.getIdentifier=function(s){return this.kv.getByValue(s)},n.prototype.getValue=function(s){return this.kv.getByKey(s)},n}
49)(),tw=(function(){var n=function(s,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,c){l.__proto__=c}||function(l,c){for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(l[f]=c[f])},n(s,i)};return function(s,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");n(s,i);function l(){this.constructor=s}s.prototype=i===null?Object.create(i):(l.prototype=i.prototype,new l)}})(),nw=(function(n){tw(s,n);function s(){var i=n.call(this,function(l){return l.name})||this;return i.classToAllowedProps=new Map,i}return s.prototype.register=function(i,l){typeof l=="object"?(l.allowProps&&this.classToAllowedProps.set(i,l.allowProps),n.prototype.register.call(this,i,l.identifier)):n.prototype.register.call(this,i,l)},s.prototype.getAllowedProps=function(i){return this.classToAllowedProps.get(i)},s})(ey),aw=function(n,s){var i=typeof Symbol=="function"&&n[Symbol.iterator];if(!i)return n;var l=i.call(n),c,f=[],d;try{for(;(s===void 0||s-- >0)&&!(c=l.next()).done;)f.push(c.value)}catch(h){d={error:h}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(d)throw d.error}}return f};function sw(n){if("values"in Object)return Object.values(n);var s=[];for(var i in n)n.hasOwnProperty(i)&&s.push(n[i]);return s}function rw(n,s){var i=sw(n);if("find"in i)return i.find(s);for(var l=i,c=0;c<l.length;c++){var f=l[c];if(s(f))return f}}function mr(n,s){Object.entries(n).forEach(function(i){var l=aw(i,2),c=l[0],f=l[1];return s(f,c)})}function co(n,s){return n.indexOf(s)!==-1}function A0(n,s){for(var i=0;i<n.length;i++){var l=n[i];if(s(l))return l}}var iw=(function(){function n(){this.transfomers={}}return n.prototype.register=function(s){this.transfomers[s.name]=s},n.prototype.findApplicable=function(s){return rw(this.transfomers,function(i){return i.isApplicable(s)})},n.prototype.findByName=function(s){return this.transfomers[s]},n})(),lw=function(n){return Object.prototype.toString.call(n).slice(8,-1)},ty=function(n){return typeof n>"u"},ow=function(n){return n===null},Oi=function(n){return typeof n!="object"||n===null||n===Object.prototype?!1:Object.getPrototypeOf(n)===null?!0:Object.getPrototypeOf(n)===Object.prototype},Of=function(n){return Oi(n)&&Object.keys(n).length===0},za=function(n){return Array.isArray(n)},cw=function(n){return typeof n=="string"},uw=function(n){return typeof n=="number"&&!isNaN(n)},fw=function(n){return typeof n=="boolean"},dw=function(n){return n instanceof RegExp},ji=function(n){return n instanceof Map},Ai=function(n){return n instanceof Set},ny=function(n){return lw(n)==="Symbol"},hw=function(n){return n instanceof Date&&!isNaN(n.valueOf())},mw=function(n){return n instanceof Error},T0=function(n){return typeof n=="number"&&isNaN(n)},pw=function(n){return fw(n)||ow(n)||ty(n)||uw(n)||cw(n)||ny(n)},gw=function(n){return typeof n=="bigint"},yw=function(n){return n===1/0||n===-1/0},vw=function(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)},xw=function(n){return n instanceof URL},ay=function(n){return n.replace(/\./g,"\\.")},rf=function(n){return n.map(String).map(ay).join(".")},wi=function(n){for(var s=[],i="",l=0;l<n.length;l++){var c=n.charAt(l),f=c==="\\"&&n.charAt(l+1)===".";if(f){i+=".",l++;continue}var d=c===".";if(d){s.push(i),i="";continue}i+=c}var h=i;return s.push(h),s},jf=function(){return jf=Object.assign||function(n){for(var s,i=1,l=arguments.length;i<l;i++){s=arguments[i];for(var c in s)Object.prototype.hasOwnProperty.call(s,c)&&(n[c]=s[c])}return n},jf.apply(this,arguments)},Af=function(n,s){var i=typeof Symbol=="function"&&n[Symbol.iterator];if(!i)return n;var l=i.call(n),c,f=[],d;try{for(;(s===void 0||s-- >0)&&!(c=l.next()).done;)f.push(c.value)}catch(h){d={error:h}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(d)throw d.error}}return f},Tf=function(n,s){for(var i=0,l=s.length,c=n.length;i<l;i++,c++)n[c]=s[i];return n};function wn(n,s,i,l){return{isApplicable:n,annotation:s,transform:i,untransform:l}}var sy=[wn(ty,"undefined",function(){return null},function(){}),wn(gw,"bigint",function(n){return n.toString()},function(n){return typeof BigInt<"u"?BigInt(n):(console.error("Please add a BigInt polyfill."),n)}),wn(hw,"Date",function(n){return n.toISOString()},function(n){return new Date(n)}),wn(mw,"Error",function(n,s){var i={name:n.name,message:n.message};return s.allowedErrorProps.forEach(function(l){i[l]=n[l]}),i},function(n,s){var i=new Error(n.message);return i.name=n.name,i.stack=n.stack,s.allowedErrorProps.forEach(function(l){i[l]=n[l]}),i}),wn(dw,"regexp",function(n){return""+n},function(n){var s=n.slice(1,n.lastIndexOf("/")),i=n.slice(n.lastIndexOf("/")+1);return new RegExp(s,i)}
49),wn(Ai,"set",function(n){return Tf([],Af(n.values()))},function(n){return new Set(n)}),wn(ji,"map",function(n){return Tf([],Af(n.entries()))},function(n){return new Map(n)}),wn(function(n){return T0(n)||yw(n)},"number",function(n){return T0(n)?"NaN":n>0?"Infinity":"-Infinity"},Number),wn(function(n){return n===0&&1/n===-1/0},"number",function(){return"-0"},Number),wn(xw,"URL",function(n){return n.toString()},function(n){return new URL(n)})];function Ao(n,s,i,l){return{isApplicable:n,annotation:s,transform:i,untransform:l}}var ry=Ao(function(n,s){if(ny(n)){var i=!!s.symbolRegistry.getIdentifier(n);return i}return!1},function(n,s){var i=s.symbolRegistry.getIdentifier(n);return["symbol",i]},function(n){return n.description},function(n,s,i){var l=i.symbolRegistry.getValue(s[1]);if(!l)throw new Error("Trying to deserialize unknown symbol");return l}),bw=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce(function(n,s){return n[s.name]=s,n},{}),iy=Ao(vw,function(n){return["typed-array",n.constructor.name]},function(n){return Tf([],Af(n))},function(n,s){var i=bw[s[1]];if(!i)throw new Error("Trying to deserialize unknown typed array");return new i(n)});function ly(n,s){if(n?.constructor){var i=!!s.classRegistry.getIdentifier(n.constructor);return i}return!1}var oy=Ao(ly,function(n,s){var i=s.classRegistry.getIdentifier(n.constructor);return["class",i]},function(n,s){var i=s.classRegistry.getAllowedProps(n.constructor);if(!i)return jf({},n);var l={};return i.forEach(function(c){l[c]=n[c]}),l},function(n,s,i){var l=i.classRegistry.getValue(s[1]);if(!l)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(l.prototype),n)}),cy=Ao(function(n,s){return!!s.customTransformerRegistry.findApplicable(n)},function(n,s){var i=s.customTransformerRegistry.findApplicable(n);return["custom",i.name]},function(n,s){var i=s.customTransformerRegistry.findApplicable(n);return i.serialize(n)},function(n,s,i){var l=i.customTransformerRegistry.findByName(s[1]);if(!l)throw new Error("Trying to deserialize unknown custom value");return l.deserialize(n)}),ww=[oy,ry,cy,iy],_0=function(n,s){var i=A0(ww,function(c){return c.isApplicable(n,s)});if(i)return{value:i.transform(n,s),type:i.annotation(n,s)};var l=A0(sy,function(c){return c.isApplicable(n,s)});if(l)return{value:l.transform(n,s),type:l.annotation}},uy={};sy.forEach(function(n){uy[n.annotation]=n});var Sw=function(n,s,i){if(za(s))switch(s[0]){case"symbol":return ry.untransform(n,s,i);case"class":return oy.untransform(n,s,i);case"custom":return cy.untransform(n,s,i);case"typed-array":return iy.untransform(n,s,i);default:throw new Error("Unknown transformation: "+s)}else{var l=uy[s];if(!l)throw new Error("Unknown transformation: "+s);return l.untransform(n,i)}},fr=function(n,s){for(var i=n.keys();s>0;)i.next(),s--;return i.next().value};function fy(n){if(co(n,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(co(n,"prototype"))throw new Error("prototype is not allowed as a property");if(co(n,"constructor"))throw new Error("constructor is not allowed as a property")}var Ew=function(n,s){fy(s);for(var i=0;i<s.length;i++){var l=s[i];if(Ai(n))n=fr(n,+l);else if(ji(n)){var c=+l,f=+s[++i]==0?"key":"value",d=fr(n,c);switch(f){case"key":n=d;break;case"value":n=n.get(d);break}}else n=n[l]}return n},_f=function(n,s,i){if(fy(s),s.length===0)return i(n);for(var l=n,c=0;c<s.length-1;c++){var f=s[c];if(za(l)){var d=+f;l=l[d]}else if(Oi(l))l=l[f];else if(Ai(l)){var h=+f;l=fr(l,h)}else if(ji(l)){var m=c===s.length-2;if(m)break;var h=+f,y=+s[++c]==0?"key":"value",b=fr(l,h);switch(y){case"key":l=b;break;case"value":l=l.get(b);break}}}var v=s[s.length-1];if(za(l)?l[+v]=i(l[+v]):Oi(l)&&(l[v]=i(l[v])),Ai(l)){var w=fr(l,+v),O=i(w);w!==O&&(l.delete(w),l.add(O))}if(ji(l)){var h=+s[s.length-2],_=fr(l,h),y=+v==0?"key":"value";switch(y){case"key":{var j=i(_);l.set(j,l.get(_)),j!==_&&l.delete(_);break}case"value":{l.set(_,i(l.get(_)));break}}}return n},$n=function(n,s){var i=typeof Symbol=="function"&&n[Symbol.iterator];if(!i)return n;var l=i.call(n),c,f=[],d;try{for(;(s===void 0||s-- >0)&&!(c=l.next()).done;)f.push(c.value)}catch(h){d={error:h}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(d)throw d.error}}return f},Ca=function(n,s){for(var i=0,l=s.length,c=n.length;i<l;i++,c++)n[c]=s[i];return n};function Nf(n,s,i){if(i===void 0&&(i=[]),!!n){if(!za(n)){mr(n,function(d,h){return Nf(d,s,Ca(Ca([],$n(i)),$n(wi(h))))});return}var l=$n(n,2),c=l[0],f=l[1];f&&mr(f,function(d,h){Nf(d,s,Ca(Ca([],$n(i)),$n(wi(h))))}),s(c,i)}}function Ow(n,s,i){return Nf(s,function(l,c){n=_f(n,c,function(f){return Sw(f,l,i)})}),n}function jw(n,s){function i(d,h){var m=Ew(n,wi(h));
49d.map(wi).forEach(function(y){n=_f(n,y,function(){return m})})}if(za(s)){var l=$n(s,2),c=l[0],f=l[1];c.forEach(function(d){n=_f(n,wi(d),function(){return n})}),f&&mr(f,i)}else mr(s,i);return n}var Aw=function(n,s){return Oi(n)||za(n)||ji(n)||Ai(n)||ly(n,s)};function Tw(n,s,i){var l=i.get(n);l?l.push(s):i.set(n,[s])}function _w(n,s){var i={},l=void 0;return n.forEach(function(c){if(!(c.length<=1)){s||(c=c.map(function(m){return m.map(String)}).sort(function(m,y){return m.length-y.length}));var f=$n(c),d=f[0],h=f.slice(1);d.length===0?l=h.map(rf):i[rf(d)]=h.map(rf)}}),l?Of(i)?[l]:[l,i]:Of(i)?void 0:i}var dy=function(n,s,i,l,c,f,d){var h;c===void 0&&(c=[]),f===void 0&&(f=[]),d===void 0&&(d=new Map);var m=pw(n);if(!m){Tw(n,c,s);var y=d.get(n);if(y)return l?{transformedValue:null}:y}if(!Aw(n,i)){var b=_0(n,i),v=b?{transformedValue:b.value,annotations:[b.type]}:{transformedValue:n};return m||d.set(n,v),v}if(co(f,n))return{transformedValue:null};var w=_0(n,i),O=(h=w?.value)!==null&&h!==void 0?h:n,_=za(O)?[]:{},j={};mr(O,function(L,J){var ee=dy(L,s,i,l,Ca(Ca([],$n(c)),[J]),Ca(Ca([],$n(f)),[n]),d);_[J]=ee.transformedValue,za(ee.annotations)?j[J]=ee.annotations:Oi(ee.annotations)&&mr(ee.annotations,function(ae,P){j[ay(J)+"."+P]=ae})});var H=Of(j)?{transformedValue:_,annotations:w?[w.type]:void 0}:{transformedValue:_,annotations:w?[w.type,j]:j};return m||d.set(n,H),H};function hy(n){return Object.prototype.toString.call(n).slice(8,-1)}function N0(n){return hy(n)==="Array"}function Nw(n){if(hy(n)!=="Object")return!1;const s=Object.getPrototypeOf(n);return!!s&&s.constructor===Object&&s===Object.prototype}function Cw(n,s,i,l,c){const f={}.propertyIsEnumerable.call(l,s)?"enumerable":"nonenumerable";f==="enumerable"&&(n[s]=i),c&&f==="nonenumerable"&&Object.defineProperty(n,s,{value:i,enumerable:!1,writable:!0,configurable:!0})}function Cf(n,s={}){if(N0(n))return n.map(c=>Cf(c,s));if(!Nw(n))return n;const i=Object.getOwnPropertyNames(n),l=Object.getOwnPropertySymbols(n);return[...i,...l].reduce((c,f)=>{if(N0(s.props)&&!s.props.includes(f))return c;const d=n[f],h=Cf(d,s);return Cw(c,f,h,n,s.nonenumerable),c},{})}var cs=function(){return cs=Object.assign||function(n){for(var s,i=1,l=arguments.length;i<l;i++){s=arguments[i];for(var c in s)Object.prototype.hasOwnProperty.call(s,c)&&(n[c]=s[c])}return n},cs.apply(this,arguments)},Mw=function(n,s){var i=typeof Symbol=="function"&&n[Symbol.iterator];if(!i)return n;var l=i.call(n),c,f=[],d;try{for(;(s===void 0||s-- >0)&&!(c=l.next()).done;)f.push(c.value)}catch(h){d={error:h}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(d)throw d.error}}return f},Rw=function(n,s){for(var i=0,l=s.length,c=n.length;i<l;i++,c++)n[c]=s[i];return n},ta=(function(){function n(s){var i=s===void 0?{}:s,l=i.dedupe,c=l===void 0?!1:l;this.classRegistry=new nw,this.symbolRegistry=new ey(function(f){var d;return(d=f.description)!==null&&d!==void 0?d:""}),this.customTransformerRegistry=new iw,this.allowedErrorProps=[],this.dedupe=c}return n.prototype.serialize=function(s){var i=new Map,l=dy(s,i,this,this.dedupe),c={json:l.transformedValue};l.annotations&&(c.meta=cs(cs({},c.meta),{values:l.annotations}));var f=_w(i,this.dedupe);return f&&(c.meta=cs(cs({},c.meta),{referentialEqualities:f})),c},n.prototype.deserialize=function(s){var i=s.json,l=s.meta,c=Cf(i);return l?.values&&(c=Ow(c,l.values,this)),l?.referentialEqualities&&(c=jw(c,l.referentialEqualities)),c},n.prototype.stringify=function(s){return JSON.stringify(this.serialize(s))},n.prototype.parse=function(s){return this.deserialize(JSON.parse(s))},n.prototype.registerClass=function(s,i){this.classRegistry.register(s,i)},n.prototype.registerSymbol=function(s,i){this.symbolRegistry.register(s,i)},n.prototype.registerCustom=function(s,i){this.customTransformerRegistry.register(cs({name:i},s))},n.prototype.allowErrorProps=function(){for(var s,i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];(s=this.allowedErrorProps).push.apply(s,Rw([],Mw(i)))},n.defaultInstance=new n,n.serialize=n.defaultInstance.serialize.bind(n.defaultInstance),n.deserialize=n.defaultInstance.deserialize.bind(n.defaultInstance),n.stringify=n.defaultInstance.stringify.bind(n.defaultInstance),n.parse=n.defaultInstance.parse.bind(n.defaultInstance),n.registerClass=n.defaultInstance.registerClass.bind(n.defaultInstance),n.registerSymbol=n.defaultInstance.registerSymbol.bind(n.defaultInstance),n.registerCustom=n.defaultInstance.registerCustom.bind(n.defaultInstance),n.allowErrorProps=n.defaultInstance.allowErrorProps.bind(n.defaultInstance),n})();ta.serialize;ta.deserialize;ta.stringify;ta.parse;ta.registerClass;ta.registerCustom;ta.registerSymbol;ta.allowErrorProps;var zw=(n,s,i,l,c,f,d,h)=>{let m=document.documentElement,y=["light","dark"];
vendor: 7,461 bytes, line 49
49function b(O){(Array.isArray(n)?n:[n]).forEach(_=>{let j=_==="class",H=j&&f?c.map(L=>f[L]||L):c;j?(m.classList.remove(...H),m.classList.add(f&&f[O]?f[O]:O)):m.setAttribute(_,O)}),v(O)}function v(O){h&&y.includes(O)&&(m.style.colorScheme=O)}function w(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(l)b(l);else try{let O=localStorage.getItem(s)||i,_=d&&O==="system"?w():O;b(_)}catch{}},Hw=A.createContext(void 0),Dw={setTheme:n=>{},themes:[]},kw=()=>{var n;return(n=A.useContext(Hw))!=null?n:Dw};A.memo(({forcedTheme:n,storageKey:s,attribute:i,enableSystem:l,enableColorScheme:c,defaultTheme:f,value:d,themes:h,nonce:m,scriptProps:y})=>{let b=JSON.stringify([i,s,f,n,h,d,l,c]).slice(1,-1);return A.createElement("script",{...y,suppressHydrationWarning:!0,nonce:typeof window>"u"?m:"",dangerouslySetInnerHTML:{__html:`(${zw.toString()})(${b})`}})});var Jf=Wg();const Uw=fg(Jf);function qw(n){if(typeof document>"u")return;let s=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",s.appendChild(i),i.styleSheet?i.styleSheet.cssText=n:i.appendChild(document.createTextNode(n))}const Lw=n=>{switch(n){case"success":return Yw;case"info":return Vw;case"warning":return Gw;case"error":return Pw;default:return null}},Bw=Array(12).fill(0),Qw=({visible:n,className:s})=>ie.createElement("div",{className:["sonner-loading-wrapper",s].filter(Boolean).join(" "),"data-visible":n},ie.createElement("div",{className:"sonner-spinner"},Bw.map((i,l)=>ie.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${l}`})))),Yw=ie.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ie.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),Gw=ie.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},ie.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),Vw=ie.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ie.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),Pw=ie.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ie.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),Xw=ie.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},ie.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),ie.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Kw=()=>{const[n,s]=ie.useState(document.hidden);return ie.useEffect(()=>{const i=()=>{s(document.hidden)};return document.addEventListener("visibilitychange",i),()=>window.removeEventListener("visibilitychange",i)},[]),n};let Mf=1;class Zw{constructor(){this.subscribe=s=>(this.subscribers.push(s),()=>{const i=this.subscribers.indexOf(s);this.subscribers.splice(i,1)}),this.publish=s=>{this.subscribers.forEach(i=>i(s))},this.addToast=s=>{this.publish(s),this.toasts=[...this.toasts,s]},this.create=s=>{var i;const{message:l,...c}=s,f=typeof s?.id=="number"||((i=s.id)==null?void 0:i.length)>0?s.id:Mf++,d=this.toasts.find(m=>m.id===f),h=s.dismissible===void 0?!0:s.dismissible;return this.dismissedToasts.has(f)&&this.dismissedToasts.delete(f),d?this.toasts=this.toasts.map(m=>m.id===f?(this.publish({...m,...s,id:f,title:l}),{...m,...s,id:f,dismissible:h,title:l}):m):this.addToast({title:l,...c,dismissible:h,id:f}),f},this.dismiss=s=>(s?(this.dismissedToasts.add(s),requestAnimationFrame(()=>this.subscribers.forEach(i=>i({id:s,dismiss:!0})))):this.toasts.forEach(i=>{this.subscribers.forEach(l=>l({id:i.id,dismiss:!0}))}),s),this.message=(s,i)=>this.create({...i,message:s}),this.error=(s,i)=>this.create({...i,message:s,type:"error"}),this.success=(s,i)=>this.create({...i,type:"success",message:s}),this.info=(s,i)=>this.create({...i,type:"info",message:s}),this.warning=(s,i)=>this.create({...i,type:"warning",message:s}),this.loading=(s,i)=>this.create({...i,type:"loading",message:s}),this.promise=(s,i)=>{if(!i)return;let l;i.loading!==void 0&&(l=this.create({...i,promise:s,type:"loading",message:i.loading,description:typeof i.description!="function"?i.description:void 0}));const c=Promise.resolve(s instanceof Function?s():s);let f=l!==void 0,d;const h=c.then(async y=>{if(d=["resolve",y],ie.isValidElement(y))f=!1,this.create({id:l,type:"default",message:y});else if(Jw(y)&&!y.ok){f=!1;const v=typeof i.error=="function"?await i.error(`HTTP error! status: ${y.status}`):i.error,w=typeof i.description=="function"?await i.description(`HTTP error! status: ${y.status}`):i.description,_=typeof v=="object"&&!ie.isValidElement(v)?v:{message:v};this.create({id:l,type:"error",description:w,..._})}else if(y instanceof Error){f=!1;const v=typeof i.error=="function"?await i.error(y):i.error,w=typeof i.description=="function"?await i.description(y):i.description,_=typeof v=="object"&&!ie.isValidElement(v)?v:{message:v};this.create({id:l,type:"error",description:w,..._})}else if(i.success!==void 0){f=!1;const v=typeof i.success=="function"?await i.success(y):i.success,w=typeof i.description=="function"?await i.description(y):i.description,_=typeof v=="object"&&!ie.isValidElement(v)?v:{message:v};this.create({id:l,type:"success",description:w,..._})}}).catch(async y=>{if(d=["reject",y],i.error!==void 0){f=!1;const b=typeof i.error=="function"?await i.error(y):i.error,v=typeof i.description=="function"?await i.description(y):i.description,O=typeof b=="object"&&!ie.isValidElement(b)?b:{message:b};this.create({id:l,type:"error",description:v,...O})}}).finally(()=>{f&&(this.dismiss(l),l=void 0),i.finally==null||i.finally.call(i)}),m=()=>new Promise((y,b)=>h.then(()=>d[0]==="reject"?b(d[1]):y(d[1])).catch(b));return typeof l!="string"&&typeof l!="number"?{unwrap:m}:Object.assign(l,{unwrap:m})},this.custom=(s,i)=>{const l=i?.id||Mf++;return this.create({jsx:s(l),id:l,...i}),l},this.getActiveToasts=()=>this.toasts.filter(s=>!this.dismissedToasts.has(s.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const kt=new Zw,Fw=(n,s)=>{const i=s?.id||Mf++;return kt.addToast({title:n,...s,id:i}),i},Jw=n=>n&&typeof n=="object"&&"ok"in n&&typeof n.ok=="boolean"&&"status"in n&&typeof n.status=="number",$w=Fw,Iw=()=>kt.toasts,Ww=()=>kt.getActiveToasts();Object.assign($w,{success:kt.success,info:kt.info,warning:kt.warning,error:kt.error,custom:kt.custom,message:kt.message,promise:kt.promise,dismiss:kt.dismiss,loading:kt.loading},{getHistory:Iw,getToasts:Ww});qw
vendor: 14,873 bytes, line 49
49("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function 
vendor: 2,458 bytes, line 49
49to(n){return n.label!==void 0}const eS=3,tS="24px",nS="16px",C0=4e3,aS=356,sS=14,rS=45,iS=200;function Sn(...n){return n.filter(Boolean).join(" ")}function lS(n){const[s,i]=n.split("-"),l=[];return s&&l.push(s),i&&l.push(i),l}const oS=n=>{var s,i,l,c,f,d,h,m,y;const{invert:b,toast:v,unstyled:w,interacting:O,setHeights:_,visibleToasts:j,heights:H,index:L,toasts:J,expanded:ee,removeToast:ae,defaultRichColors:P,closeButton:X,style:C,cancelButtonStyle:U,actionButtonStyle:W,className:ne="",descriptionClassName:se="",duration:te,position:$,gap:re,expandByDefault:ue,classNames:T,icons:B,closeButtonAriaLabel:R="Close toast"}=n,[le,fe]=ie.useState(null),[S,Y]=ie.useState(null),[k,G]=ie.useState(!1),[I,Z]=ie.useState(!1),[oe,ve]=ie.useState(!1),[Oe,at]=ie.useState(!1),[Ie,ut]=ie.useState(!1),[Nn,rn]=ie.useState(0),[wr,xs]=ie.useState(0),Ua=ie.useRef(v.duration||te||C0),Sr=ie.useRef(null),Ut=ie.useRef(null),Er=L===0,Or=L+1<=j,bt=v.type,na=v.dismissible!==!1,wt=v.className||"",Uo=v.descriptionClassName||"",qa=ie.useMemo(()=>H.findIndex(xe=>xe.toastId===v.id)||0,[H,v.id]),Ui=ie.useMemo(()=>{var xe;return(xe=v.closeButton)!=null?xe:X},[v.closeButton,X]),La=ie.useMemo(()=>v.duration||te||C0,[v.duration,te]),jr=ie.useRef(0),Cn=ie.useRef(0),qi=ie.useRef(0),aa=ie.useRef(null),[Ba,St]=$.split("-"),ln=ie.useMemo(()=>H.reduce((xe,Ge,lt)=>lt>=qa?xe:xe+Ge.height,0),[H,qa]),gt=Kw(),qo=v.invert||b,Ar=bt==="loading";Cn.current=ie.useMemo(()=>qa*re+ln,[qa,ln]),ie.useEffect(()=>{Ua.current=La},[La]),ie.useEffect(()=>{G(!0)},[]),ie.useEffect(()=>{const xe=Ut.current;if(xe){const Ge=xe.getBoundingClientRect().height;return xs(Ge),_(lt=>[{toastId:v.id,height:Ge,position:v.position},...lt]),()=>_(lt=>lt.filter(yt=>yt.toastId!==v.id))}},[_,v.id]),ie.useLayoutEffect(()=>{if(!k)return;const xe=Ut.current,Ge=xe.style.height;xe.style.height="auto";const lt=xe.getBoundingClientRect().height;xe.style.height=Ge,xs(lt),_(yt=>yt.find(Pe=>Pe.toastId===v.id)?yt.map(Pe=>Pe.toastId===v.id?{...Pe,height:lt}:Pe):[{toastId:v.id,height:lt,position:v.position},...yt])},[k,v.title,v.description,_,v.id,v.jsx,v.action,v.cancel]);const pn=ie.useCallback(()=>{Z(!0),rn(Cn.current),_(xe=>xe.filter(Ge=>Ge.toastId!==v.id)),setTimeout(()=>{ae(v)},iS)},[v,ae,_,Cn]);ie.useEffect(()=>{if(v.promise&&bt==="loading"||v.duration===1/0||v.type==="loading")return;let xe;return ee||O||gt?(()=>{if(qi.current<jr.current){const yt=new Date().getTime()-jr.current;Ua.current=Ua.current-yt}
vendor: 20,244 bytes, line 49
49qi.current=new Date().getTime()})():(()=>{Ua.current!==1/0&&(jr.current=new Date().getTime(),xe=setTimeout(()=>{v.onAutoClose==null||v.onAutoClose.call(v,v),pn()},Ua.current))})(),()=>clearTimeout(xe)},[ee,O,v,bt,gt,pn]),ie.useEffect(()=>{v.delete&&(pn(),v.onDismiss==null||v.onDismiss.call(v,v))},[pn,v.delete]);function bs(){var xe;if(B?.loading){var Ge;return ie.createElement("div",{className:Sn(T?.loader,v==null||(Ge=v.classNames)==null?void 0:Ge.loader,"sonner-loader"),"data-visible":bt==="loading"},B.loading)}return ie.createElement(Qw,{className:Sn(T?.loader,v==null||(xe=v.classNames)==null?void 0:xe.loader),visible:bt==="loading"})}const ws=v.icon||B?.[bt]||Lw(bt);var Qa,gn;return ie.createElement("li",{tabIndex:0,ref:Ut,className:Sn(ne,wt,T?.toast,v==null||(s=v.classNames)==null?void 0:s.toast,T?.default,T?.[bt],v==null||(i=v.classNames)==null?void 0:i[bt]),"data-sonner-toast":"","data-rich-colors":(Qa=v.richColors)!=null?Qa:P,"data-styled":!(v.jsx||v.unstyled||w),"data-mounted":k,"data-promise":!!v.promise,"data-swiped":Ie,"data-removed":I,"data-visible":Or,"data-y-position":Ba,"data-x-position":St,"data-index":L,"data-front":Er,"data-swiping":oe,"data-dismissible":na,"data-type":bt,"data-invert":qo,"data-swipe-out":Oe,"data-swipe-direction":S,"data-expanded":!!(ee||ue&&k),"data-testid":v.testId,style:{"--index":L,"--toasts-before":L,"--z-index":J.length-L,"--offset":`${I?Nn:Cn.current}px`,"--initial-height":ue?"auto":`${wr}px`,...C,...v.style},onDragEnd:()=>{ve(!1),fe(null),aa.current=null},onPointerDown:xe=>{xe.button!==2&&(Ar||!na||(Sr.current=new Date,rn(Cn.current),xe.target.setPointerCapture(xe.pointerId),xe.target.tagName!=="BUTTON"&&(ve(!0),aa.current={x:xe.clientX,y:xe.clientY})))},onPointerUp:()=>{var xe,Ge,lt;if(Oe||!na)return;aa.current=null;const yt=Number(((xe=Ut.current)==null?void 0:xe.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),sa=Number(((Ge=Ut.current)==null?void 0:Ge.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Pe=new Date().getTime()-((lt=Sr.current)==null?void 0:lt.getTime()),At=le==="x"?yt:sa,Ya=Math.abs(At)/Pe;if(Math.abs(At)>=rS||Ya>.11){rn(Cn.current),v.onDismiss==null||v.onDismiss.call(v,v),Y(le==="x"?yt>0?"right":"left":sa>0?"down":"up"),pn(),at(!0);return}else{var Tt,_t;(Tt=Ut.current)==null||Tt.style.setProperty("--swipe-amount-x","0px"),(_t=Ut.current)==null||_t.style.setProperty("--swipe-amount-y","0px")}ut(!1),ve(!1),fe(null)},onPointerMove:xe=>{var Ge,lt,yt;if(!aa.current||!na||((Ge=window.getSelection())==null?void 0:Ge.toString().length)>0)return;const Pe=xe.clientY-aa.current.y,At=xe.clientX-aa.current.x;var Ya;const Tt=(Ya=n.swipeDirections)!=null?Ya:lS($);!le&&(Math.abs(At)>1||Math.abs(Pe)>1)&&fe(Math.abs(At)>Math.abs(Pe)?"x":"y");let _t={x:0,y:0};const Ss=on=>1/(1.5+Math.abs(on)/20);if(le==="y"){if(Tt.includes("top")||Tt.includes("bottom"))if(Tt.includes("top")&&Pe<0||Tt.includes("bottom")&&Pe>0)_t.y=Pe;else{const on=Pe*Ss(Pe);_t.y=Math.abs(on)<Math.abs(Pe)?on:Pe}}else if(le==="x"&&(Tt.includes("left")||Tt.includes("right")))if(Tt.includes("left")&&At<0||Tt.includes("right")&&At>0)_t.x=At;else{const on=At*Ss(At);_t.x=Math.abs(on)<Math.abs(At)?on:At}(Math.abs(_t.x)>0||Math.abs(_t.y)>0)&&ut(!0),(lt=Ut.current)==null||lt.style.setProperty("--swipe-amount-x",`${_t.x}px`),(yt=Ut.current)==null||yt.style.setProperty("--swipe-amount-y",`${_t.y}px`)}},Ui&&!v.jsx&&bt!=="loading"?ie.createElement("button",{"aria-label":R,"data-disabled":Ar,"data-close-button":!0,onClick:Ar||!na?()=>{}:()=>{pn(),v.onDismiss==null||v.onDismiss.call(v,v)},className:Sn(T?.closeButton,v==null||(l=v.classNames)==null?void 0:l.closeButton)},(gn=B?.close)!=null?gn:Xw):null,(bt||v.icon||v.promise)&&v.icon!==null&&(B?.[bt]!==null||v.icon)?ie.createElement("div",{"data-icon":"",className:Sn(T?.icon,v==null||(c=v.classNames)==null?void 0:c.icon)},v.promise||v.type==="loading"&&!v.icon?v.icon||bs():null,v.type!=="loading"?ws:null):null,ie.createElement("div",{"data-content":"",className:Sn(T?.content,v==null||(f=v.classNames)==null?void 0:f.content)},ie.createElement("div",{"data-title":"",className:Sn(T?.title,v==null||(d=v.classNames)==null?void 0:d.title)},v.jsx?v.jsx:typeof v.title=="function"?v.title():v.title),v.description?ie.createElement("div",{"data-description":"",className:Sn(se,Uo,T?.description,v==null||(h=v.classNames)==null?void 0:h.description)},typeof v.description=="function"?v.description():v.description):null),ie.isValidElement(v.cancel)?v.cancel:v.cancel&&to(v.cancel)?ie.createElement("button",{"data-button":!0,"data-cancel":!0,style:v.cancelButtonStyle||U,onClick:xe=>{to(v.cancel)&&na&&(v.cancel.onClick==null||v.cancel.onClick.call(v.cancel,xe),pn())},className:Sn(T?.cancelButton,v==null||(m=v.classNames)==null?void 0:m.cancelButton)},v.cancel.label):null,ie.isValidElement(v.action)?v.action:v.action&&to(v.action)?ie.createElement("button",{"data-button":!0,"data-action":!0,style:v.actionButtonStyle||W,onClick:xe=>{to(v.action)&&(v.action.onClick==null||v.action.onClick.call(v.action,xe),!xe.defaultPrevented&&pn())},className:Sn(T?.actionButton,v==null||(y=v.classNames)==null?void 0:y.actionButton)},v.action.label):null)};function M0(){if(typeof window>"u"||typeof document>"u")return"ltr";const n=document.documentElement.getAttribute("dir");return n==="auto"||!n?window.getComputedStyle(document.documentElement).direction:n}function cS(n,s){const i={};return[n,s].forEach((l,c)=>{const f=c===1,d=f?"--mobile-offset":"--offset",h=f?nS:tS;function m(y){["top","right","bottom","left"].forEach(b=>{i[`${d}-${b}`]=typeof y=="number"?`${y}px`:y})}typeof l=="number"||typeof l=="string"?m(l):typeof l=="object"?["top","right","bottom","left"].forEach(y=>{l[y]===void 0?i[`${d}-${y}`]=h:i[`${d}-${y}`]=typeof l[y]=="number"?`${l[y]}px`:l[y]}):m(h)}),i}const uS=ie.forwardRef(function(s,i){const{id:l,invert:c,position:f="bottom-right",hotkey:d=["altKey","KeyT"],expand:h,closeButton:m,className:y,offset:b,mobileOffset:v,theme:w="light",richColors:O,duration:_,style:j,visibleToasts:H=eS,toastOptions:L,dir:J=M0(),gap:ee=sS,icons:ae,containerAriaLabel:P="Notifications"}=s,[X,C]=ie.useState([]),U=ie.useMemo(()=>l?X.filter(k=>k.toasterId===l):X.filter(k=>!k.toasterId),[X,l]),W=ie.useMemo(()=>Array.from(new Set([f].concat(U.filter(k=>k.position).map(k=>k.position)))),[U,f]),[ne,se]=ie.useState([]),[te,$]=ie.useState(!1),[re,ue]=ie.useState(!1),[T,B]=ie.useState(w!=="system"?w:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),R=ie.useRef(null),le=d.join("+").replace(/Key/g,"").replace(/Digit/g,""),fe=ie.useRef(null),S=ie.useRef(!1),Y=ie.useCallback(k=>{C(G=>{var I;return(I=G.find(Z=>Z.id===k.id))!=null&&I.delete||kt.dismiss(k.id),G.filter(({id:Z})=>Z!==k.id)})},[]);return ie.useEffect(()=>kt.subscribe(k=>{if(k.dismiss){requestAnimationFrame(()=>{C(G=>G.map(I=>I.id===k.id?{...I,delete:!0}:I))});return}setTimeout(()=>{Uw.flushSync(()=>{C(G=>{const I=G.findIndex(Z=>Z.id===k.id);return I!==-1?[...G.slice(0,I),{...G[I],...k},...G.slice(I+1)]:[k,...G]})})})}),[X]),ie.useEffect(()=>{if(w!=="system"){B(w);return}if(w==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?B("dark"):B("light")),typeof window>"u")return;const k=window.matchMedia("(prefers-color-scheme: dark)");try{k.addEventListener("change",({matches:G})=>{B(G?"dark":"light")})}catch{k.addListener(({matches:I})=>{try{B(I?"dark":"light")}catch(Z){console.error(Z)}})}},[w]),ie.useEffect(()=>{X.length<=1&&$(!1)},[X]),ie.useEffect(()=>{const k=G=>{var I;if(d.every(ve=>G[ve]||G.code===ve)){var oe;$(!0),(oe=R.current)==null||oe.focus()}G.code==="Escape"&&(document.activeElement===R.current||(I=R.current)!=null&&I.contains(document.activeElement))&&$(!1)};return document.addEventListener("keydown",k),()=>document.removeEventListener("keydown",k)},[d]),ie.useEffect(()=>{if(R.current)return()=>{fe.current&&(fe.current.focus({preventScroll:!0}),fe.current=null,S.current=!1)}},[R.current]),ie.createElement("section",{ref:i,"aria-label":`${P} ${le}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},W.map((k,G)=>{var I;const[Z,oe]=k.split("-");return U.length?ie.createElement("ol",{key:k,dir:J==="auto"?M0():J,tabIndex:-1,ref:R,className:y,"data-sonner-toaster":!0,"data-sonner-theme":T,"data-y-position":Z,"data-x-position":oe,style:{"--front-toast-height":`${((I=ne[0])==null?void 0:I.height)||0}px`,"--width":`${aS}px`,"--gap":`${ee}px`,...j,...cS(b,v)},onBlur:ve=>{S.current&&!ve.currentTarget.contains(ve.relatedTarget)&&(S.current=!1,fe.current&&(fe.current.focus({preventScroll:!0}),fe.current=null))},onFocus:ve=>{ve.target instanceof HTMLElement&&ve.target.dataset.dismissible==="false"||S.current||(S.current=!0,fe.current=ve.relatedTarget)},onMouseEnter:()=>$(!0),onMouseMove:()=>$(!0),onMouseLeave:()=>{re||$(!1)},onDragEnd:()=>$(!1),onPointerDown:ve=>{ve.target instanceof HTMLElement&&ve.target.dataset.dismissible==="false"||ue(!0)},onPointerUp:()=>ue(!1)},U.filter(ve=>!ve.position&&G===0||ve.position===k).map((ve,Oe)=>{var at,Ie;return ie.createElement(oS,{key:ve.id,icons:ae,index:Oe,toast:ve,defaultRichColors:O,duration:(at=L?.duration)!=null?at:_,className:L?.className,descriptionClassName:L?.descriptionClassName,invert:c,visibleToasts:H,closeButton:(Ie=L?.closeButton)!=null?Ie:m,interacting:re,position:k,style:L?.style,unstyled:L?.unstyled,classNames:L?.classNames,cancelButtonStyle:L?.cancelButtonStyle,actionButtonStyle:L?.actionButtonStyle,closeButtonAriaLabel:L?.closeButtonAriaLabel,removeToast:Y,toasts:U.filter(ut=>ut.position==ve.position),heights:ne.filter(ut=>ut.position==ve.position),setHeights:se,expandByDefault:h,gap:ee,expanded:te,swipeDirections:s.swipeDirections})})):null}))}),fS=({...n})=>{const{theme:s="system"}=kw();return g.jsx(uS,{"data-loc":"client/src/components/ui/sonner.tsx:8",theme:s,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...n})};function Jn(n,s,{checkForDefaultPrevented:i=!0}={}){return function(c){if(n?.(c),i===!1||!c.defaultPrevented)return s?.(c)}}function R0(n,s){if(typeof n=="function")return n(s);n!=null&&(n.current=s)}function my(...n){return s=>{let i=!1;const l=n.map(c=>{const f=R0(c,s);return!i&&typeof f=="function"&&(i=!0),f});if(i)return()=>{for(let c=0;c<l.length;c++){const f=l[c];typeof f=="function"?f():R0(n[c],null)}}}}function ys(...n){return A.useCallback(my(...n),n)}function py(n,s=[]){let i=[];function l(f,d){const h=A.createContext(d),m=i.length;i=[...i,d];const y=v=>{const{scope:w,children:O,..._}=v,j=w?.[n]?.[m]||h,H=A.useMemo(()=>_,Object.values(_));return g.jsx(j.Provider,{value:H,children:O})};y.displayName=f+"Provider";function b(v,w){const O=w?.[n]?.[m]||h,_=A.useContext(O);if(_)return _;if(d!==void 0)return d;throw new Error(`\`${v}\` must be used within \`${f}\``)}return[y,b]}const c=()=>{const f=i.map(d=>A.createContext(d));return function(h){const m=h?.[n]||f;return A.useMemo(()=>({[`__scope${n}`]:{...h,[n]:m}}),[h,m])}};return c.scopeName=n,[l,dS(c,...s)]}function dS(...n){const s=n[0];if(n.length===1)return s;const i=()=>{const l=n.map(c=>({useScope:c(),scopeName:c.scopeName}));return function(f){const d=l.reduce((h,{useScope:m,scopeName:y})=>{const v=m(f)[`__scope${y}`];return{...h,...v}},{});return A.useMemo(()=>({[`__scope${s.scopeName}`]:d}),[d])}};return i.scopeName=s.scopeName,i}function gy(n){const s=mS(n),i=A.forwardRef((l,c)=>{const{children:f,...d}=l,h=A.Children.toArray(f),m=h.find(gS);if(m){const y=m.props.children,b=h.map(v=>v===m?A.Children.count(y)>1?A.Children.only(null):A.isValidElement(y)?y.props.children:null:v);return g.jsx(s,{...d,ref:c,children:A.isValidElement(y)?A.cloneElement(y,void 0,b):null})}return g.jsx(s,{...d,ref:c,children:f})});return i.displayName=`${n}.Slot`,i}var hS=gy("Slot");function mS(n){const s=A.forwardRef((i,l)=>{const{children:c,...f}=i;if(A.isValidElement(c)){const d=vS(c),h=yS(f,c.props);return c.type!==A.Fragment&&(h.ref=l?my(l,d):d),A.cloneElement(c,h)}return A.Children.count(c)>1?A.Children.only(null):null});return s.displayName=`${n}.SlotClone`,s}var yy=Symbol("radix.slottable");function pS(n){const s=({children:i})=>g.jsx(g.Fragment,{children:i});return s.displayName=`${n}.Slottable`,s.__radixId=yy,s}function gS(n){return A.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===yy}function yS(n,s){const i={...s};for(const l in s){const c=n[l],f=s[l];/^on[A-Z]/.test(l)?c&&f?i[l]=(...h)=>{const m=f(...h);return c(...h),m}:c&&(i[l]=c):l==="style"?i[l]={...c,...f}:l==="className"&&(i[l]=[c,f].filter(Boolean).join(" "))}return{...n,...i}}function vS(n){let s=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,i=s&&"isReactWarning"in s&&s.isReactWarning;return i?n.ref:(s=Object.getOwnPropertyDescriptor(n,"ref")?.get,i=s&&"isReactWarning"in s&&s.isReactWarning,i?n.props.ref:n.props.ref||n.ref)}var xS=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],vs=xS.reduce((n,s)=>{const i=gy(`Primitive.${s}`),l=A.forwardRef((c,f)=>{const{asChild:d,...h}=c,m=d?i:s;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),g.jsx(m,{...h,ref:f})});return l.displayName=`Primitive.${s}`,{...n,[s]:l}},{});function bS(n,s){n&&Jf.flushSync(()=>n.dispatchEvent(s))}function To(n){const s=A.useRef(n);return A.useEffect(()=>{s.current=n}),A.useMemo(()=>(...i)=>s.current?.(...i),[])}function wS(n,s=globalThis?.document){const i=To(n);A.useEffect(()=>{const l=c=>{c.key==="Escape"&&i(c)};return s.addEventListener("keydown",l,{capture:!0}),()=>s.removeEventListener("keydown",l,{capture:!0})},[i,s])}var SS="DismissableLayer",Rf="dismissableLayer.update",ES="dismissableLayer.pointerDownOutside",OS="dismissableLayer.focusOutside",z0,vy=A.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),xy=A.forwardRef((n,s)=>{const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:f,onInteractOutside:d,onDismiss:h,...m}=n,y=A.useContext(vy),[b,v]=A.useState(null),w=b?.ownerDocument??globalThis?.document,[,O]=A.useState({}),_=ys(s,C=>v(C)),j=Array.from(y.layers),[H]=[...y.layersWithOutsidePointerEventsDisabled].slice(-1),L=j.indexOf(H),J=b?j.indexOf(b):-1,ee=y.layersWithOutsidePointerEventsDisabled.size>0,ae=J>=L,P=TS(C=>{const U=C.target,W=[...y.branches].some(ne=>ne.contains(U));!ae||W||(c?.(C),d?.(C),C.defaultPrevented||h?.())},w),X=_S(C=>{const U=C.target;[...y.branches].some(ne=>ne.contains(U))||(f?.(C),d?.(C),C.defaultPrevented||h?.())},w);return wS(C=>{J===y.layers.size-1&&(l?.(C),!C.defaultPrevented&&h&&(C.preventDefault(),h()))},w),A.useEffect(()=>{if(b)return i&&(y.layersWithOutsidePointerEventsDisabled.size===0&&(z0=w.body.style.pointerEvents,w.body.style.pointerEvents="none"),y.layersWithOutsidePointerEventsDisabled.add(b)),y.layers.add(b),H0(),()=>{i&&y.layersWithOutsidePointerEventsDisabled.size===1&&(w.body.style.pointerEvents=z0)}},[b,w,i,y]),A.useEffect(()=>()=>{b&&(y.layers.delete(b),y.layersWithOutsidePointerEventsDisabled.delete(b),H0())},[b,y]),A.useEffect(()=>{const C=()=>O({});return document.addEventListener(Rf,C),()=>document.removeEventListener(Rf,C)},[]),g.jsx(vs.div,{...m,ref:_,style:{pointerEvents:ee?ae?"auto":"none":void 0,...n.style},onFocusCapture:Jn(n.onFocusCapture,X.onFocusCapture),onBlurCapture:Jn(n.onBlurCapture,X.onBlurCapture),onPointerDownCapture:Jn(n.onPointerDownCapture,P.onPointerDownCapture)})});xy.displayName=SS;var jS="DismissableLayerBranch",AS=A.forwardRef((n,s)=>{const i=A.useContext(vy),l=A.useRef(null),c=ys(s,l);return A.useEffect(()=>{const f=l.current;if(f)return i.branches.add(f),()=>{i.branches.delete(f)}},[i.branches]),g.jsx(vs.div,{...n,ref:c})});AS.displayName=jS;function TS(n,s=globalThis?.document){const i=To(n),l=A.useRef(!1),c=A.useRef(()=>{});return A.useEffect(()=>{const f=h=>{if(h.target&&!l.current){let m=function(){by(ES,i,y,{discrete:!0})};const y={originalEvent:h};h.pointerType==="touch"?(s.removeEventListener("click",c.current),c.current=m,s.addEventListener("click",c.current,{once:!0})):m()}else s.removeEventListener("click",c.current);l.current=!1},d=window.setTimeout(()=>{s.addEventListener("pointerdown",f)},0);return()=>{window.clearTimeout(d),s.removeEventListener("pointerdown",f),s.removeEventListener("click",c.current)}},[s,i]),{onPointerDownCapture:()=>l.current=!0}}function _S(n,s=globalThis?.document){const i=To(n),l=A.useRef(!1);return A.useEffect(()=>{const c=f=>{f.target&&!l.current&&by(OS,i,{originalEvent:f},{discrete:!1})};return s.addEventListener("focusin",c),()=>s.removeEventListener("focusin",c)},[s,i]),{onFocusCapture:()=>l.current=!0,onBlurCapture:()=>l.current=!1}}function H0(){const n=new CustomEvent(Rf);document.dispatchEvent(n)}function by(n,s,i,{discrete:l}){const c=i.originalEvent.target,f=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:i});s&&c.addEventListener(n,s,{once:!0}),l?bS(c,f):c.dispatchEvent(f)}var Ti=globalThis?.document?A.useLayoutEffect:()=>{};const NS=["top","right","bottom","left"],Ha=Math.min,Pt=Math.max,po=Math.round,no=Math.floor,jn=n=>({x:n,y:n}),CS={left:"right",right:"left",bottom:"top",top:"bottom"},MS={start:"end",end:"start"};function zf(n,s,i){return Pt(n,Ha(s,i))}function Wn(n,s){return typeof n=="function"?n(s):n}function ea(n){return n.split("-")[0]}function yr(n){return n.split("-")[1]}function $f(n){return n==="x"?"y":"x"}function If(n){return n==="y"?"height":"width"}const RS=new Set(["top","bottom"]);function On(n){return RS.has(ea(n))?"y":"x"}function Wf(n){return $f(On(n))}function zS(n,s,i){i===void 0&&(i=!1);const l=yr(n),c=Wf(n),f=If(c);let d=c==="x"?l===(i?"end":"start")?"right":"left":l==="start"?"bottom":"top";return s.reference[f]>s.floating[f]&&(d=go(d)),[d,go(d)]}function HS(n){const s=go(n);return[Hf(n),s,Hf(s)]}function Hf(n){return n.replace(/start|end/g,s=>MS[s])}const D0=["left","right"],k0=["right","left"],DS=["top","bottom"],kS=["bottom","top"];function US(n,s,i){switch(n){case"top":case"bottom":return i?s?k0:D0:s?D0:k0;case"left":case"right":return s?DS:kS;default:return[]}}function qS(n,s,i,l){const c=yr(n);let f=US(ea(n),i==="start",l);return c&&(f=f.map(d=>d+"-"+c),s&&(f=f.concat(f.map(Hf)))),f}function go(n){return n.replace(/left|right|bottom|top/g,s=>CS[s])}function LS(n){return{top:0,right:0,bottom:0,left:0,...n}}function wy(n){return typeof n!="number"?LS(n):{top:n,right:n,bottom:n,left:n}}function yo(n){const{x:s,y:i,width:l,height:c}=n;return{width:l,height:c,top:i,left:s,right:s+l,bottom:i+c,x:s,y:i}}function U0(n,s,i){let{reference:l,floating:c}=n;const f=On(s),d=Wf(s),h=If(d),m=ea(s),y=f==="y",b=l.x+l.width/2-c.width/2,v=l.y+l.height/2-c.height/2,w=l[h]/2-c[h]/2;let O;switch(m){case"top":O={x:b,y:l.y-c.height};break;case"bottom":O={x:b,y:l.y+l.height};break;case"right":O={x:l.x+l.width,y:v};break;case"left":O={x:l.x-c.width,y:v};break;default:O={x:l.x,y:l.y}}switch(yr(s)){case"start":O[d]-=w*(i&&y?-1:1);break;case"end":O[d]+=w*(i&&y?-1:1);break}return O}const BS=async(n,s,i)=>{const{placement:l="bottom",strategy:c="absolute",middleware:f=[],platform:d}=i,h=f.filter(Boolean),m=await(d.isRTL==null?void 0:d.isRTL(s));let y=await d.getElementRects({reference:n,floating:s,strategy:c}),{x:b,y:v}=U0(y,l,m),w=l,O={},_=0;for(let j=0;j<h.length;j++){const{name:H,fn:L}=h[j],{x:J,y:ee,data:ae,reset:P}=await L({x:b,y:v,initialPlacement:l,placement:w,strategy:c,middlewareData:O,rects:y,platform:d,elements:{reference:n,floating:s}});b=J??b,v=ee??v,O={...O,[H]:{...O[H],...ae}},P&&_<=50&&(_++,typeof P=="object"&&(P.placement&&(w=P.placement),P.rects&&(y=P.rects===!0?await d.getElementRects({reference:n,floating:s,strategy:c}):P.rects),{x:b,y:v}=U0(y,w,m)),j=-1)}return{x:b,y:v,placement:w,strategy:c,middlewareData:O}};async function _i(n,s){var i;s===void 0&&(s={});const{x:l,y:c,platform:f,rects:d,elements:h,strategy:m}=n,{boundary:y="clippingAncestors",rootBoundary:b="viewport",elementContext:v="floating",altBoundary:w=!1,padding:O=0}=Wn(s,n),_=wy(O),H=h[w?v==="floating"?"reference":"floating":v],L=yo(await f.getClippingRect
vendor: 14,110 bytes, line 49
49({element:(i=await(f.isElement==null?void 0:f.isElement(H)))==null||i?H:H.contextElement||await(f.getDocumentElement==null?void 0:f.getDocumentElement(h.floating)),boundary:y,rootBoundary:b,strategy:m})),J=v==="floating"?{x:l,y:c,width:d.floating.width,height:d.floating.height}:d.reference,ee=await(f.getOffsetParent==null?void 0:f.getOffsetParent(h.floating)),ae=await(f.isElement==null?void 0:f.isElement(ee))?await(f.getScale==null?void 0:f.getScale(ee))||{x:1,y:1}:{x:1,y:1},P=yo(f.convertOffsetParentRelativeRectToViewportRelativeRect?await f.convertOffsetParentRelativeRectToViewportRelativeRect({elements:h,rect:J,offsetParent:ee,strategy:m}):J);return{top:(L.top-P.top+_.top)/ae.y,bottom:(P.bottom-L.bottom+_.bottom)/ae.y,left:(L.left-P.left+_.left)/ae.x,right:(P.right-L.right+_.right)/ae.x}}const QS=n=>({name:"arrow",options:n,async fn(s){const{x:i,y:l,placement:c,rects:f,platform:d,elements:h,middlewareData:m}=s,{element:y,padding:b=0}=Wn(n,s)||{};if(y==null)return{};const v=wy(b),w={x:i,y:l},O=Wf(c),_=If(O),j=await d.getDimensions(y),H=O==="y",L=H?"top":"left",J=H?"bottom":"right",ee=H?"clientHeight":"clientWidth",ae=f.reference[_]+f.reference[O]-w[O]-f.floating[_],P=w[O]-f.reference[O],X=await(d.getOffsetParent==null?void 0:d.getOffsetParent(y));let C=X?X[ee]:0;(!C||!await(d.isElement==null?void 0:d.isElement(X)))&&(C=h.floating[ee]||f.floating[_]);const U=ae/2-P/2,W=C/2-j[_]/2-1,ne=Ha(v[L],W),se=Ha(v[J],W),te=ne,$=C-j[_]-se,re=C/2-j[_]/2+U,ue=zf(te,re,$),T=!m.arrow&&yr(c)!=null&&re!==ue&&f.reference[_]/2-(re<te?ne:se)-j[_]/2<0,B=T?re<te?re-te:re-$:0;return{[O]:w[O]+B,data:{[O]:ue,centerOffset:re-ue-B,...T&&{alignmentOffset:B}},reset:T}}}),YS=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(s){var i,l;const{placement:c,middlewareData:f,rects:d,initialPlacement:h,platform:m,elements:y}=s,{mainAxis:b=!0,crossAxis:v=!0,fallbackPlacements:w,fallbackStrategy:O="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:j=!0,...H}=Wn(n,s);if((i=f.arrow)!=null&&i.alignmentOffset)return{};const L=ea(c),J=On(h),ee=ea(h)===h,ae=await(m.isRTL==null?void 0:m.isRTL(y.floating)),P=w||(ee||!j?[go(h)]:HS(h)),X=_!=="none";!w&&X&&P.push(...qS(h,j,_,ae));const C=[h,...P],U=await _i(s,H),W=[];let ne=((l=f.flip)==null?void 0:l.overflows)||[];if(b&&W.push(U[L]),v){const re=zS(c,d,ae);W.push(U[re[0]],U[re[1]])}if(ne=[...ne,{placement:c,overflows:W}],!W.every(re=>re<=0)){var se,te;const re=(((se=f.flip)==null?void 0:se.index)||0)+1,ue=C[re];if(ue&&(!(v==="alignment"?J!==On(ue):!1)||ne.every(R=>On(R.placement)===J?R.overflows[0]>0:!0)))return{data:{index:re,overflows:ne},reset:{placement:ue}};let T=(te=ne.filter(B=>B.overflows[0]<=0).sort((B,R)=>B.overflows[1]-R.overflows[1])[0])==null?void 0:te.placement;if(!T)switch(O){case"bestFit":{var $;const B=($=ne.filter(R=>{if(X){const le=On(R.placement);return le===J||le==="y"}return!0}).map(R=>[R.placement,R.overflows.filter(le=>le>0).reduce((le,fe)=>le+fe,0)]).sort((R,le)=>R[1]-le[1])[0])==null?void 0:$[0];B&&(T=B);break}case"initialPlacement":T=h;break}if(c!==T)return{reset:{placement:T}}}return{}}}};function q0(n,s){return{top:n.top-s.height,right:n.right-s.width,bottom:n.bottom-s.height,left:n.left-s.width}}function L0(n){return NS.some(s=>n[s]>=0)}const GS=function(n){return n===void 0&&(n={}),{name:"hide",options:n,async fn(s){const{rects:i}=s,{strategy:l="referenceHidden",...c}=Wn(n,s);switch(l){case"referenceHidden":{const f=await _i(s,{...c,elementContext:"reference"}),d=q0(f,i.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:L0(d)}}}case"escaped":{const f=await _i(s,{...c,altBoundary:!0}),d=q0(f,i.floating);return{data:{escapedOffsets:d,escaped:L0(d)}}}default:return{}}}}},Sy=new Set(["left","top"]);async function VS(n,s){const{placement:i,platform:l,elements:c}=n,f=await(l.isRTL==null?void 0:l.isRTL(c.floating)),d=ea(i),h=yr(i),m=On(i)==="y",y=Sy.has(d)?-1:1,b=f&&m?-1:1,v=Wn(s,n);let{mainAxis:w,crossAxis:O,alignmentAxis:_}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};return h&&typeof _=="number"&&(O=h==="end"?_*-1:_),m?{x:O*b,y:w*y}:{x:w*y,y:O*b}}const PS=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(s){var i,l;const{x:c,y:f,placement:d,middlewareData:h}=s,m=await VS(s,n);return d===((i=h.offset)==null?void 0:i.placement)&&(l=h.arrow)!=null&&l.alignmentOffset?{}:{x:c+m.x,y:f+m.y,data:{...m,placement:d}}}}},XS=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(s){const{x:i,y:l,placement:c}=s,{mainAxis:f=!0,crossAxis:d=!1,limiter:h={fn:H=>{let{x:L,y:J}=H;return{x:L,y:J}}},...m}=Wn(n,s),y={x:i,y:l},b=await _i(s,m),v=On(ea(c)),w=$f(v);let O=y[w],_=y[v];if(f){const H=w==="y"?"top":"left",L=w==="y"?"bottom":"right",J=O+b[H],ee=O-b[L];O=zf(J,O,ee)}if(d){const H=v==="y"?"top":"left",L=v==="y"?"bottom":"right",J=_+b[H],ee=_-b[L];_=zf(J,_,ee)}const j=h.fn({...s,[w]:O,[v]:_});return{...j,data:{x:j.x-i,y:j.y-l,enabled:{[w]:f,[v]:d}}}}}},KS=function(n){return n===void 0&&(n={}),{options:n,fn(s){const{x:i,y:l,placement:c,rects:f,middlewareData:d}=s,{offset:h=0,mainAxis:m=!0,crossAxis:y=!0}=Wn(n,s),b={x:i,y:l},v=On(c),w=$f(v);let O=b[w],_=b[v];const j=Wn(h,s),H=typeof j=="number"?{mainAxis:j,crossAxis:0}:{mainAxis:0,crossAxis:0,...j};if(m){const ee=w==="y"?"height":"width",ae=f.reference[w]-f.floating[ee]+H.mainAxis,P=f.reference[w]+f.reference[ee]-H.mainAxis;O<ae?O=ae:O>P&&(O=P)}if(y){var L,J;const ee=w==="y"?"width":"height",ae=Sy.has(ea(c)),P=f.reference[v]-f.floating[ee]+(ae&&((L=d.offset)==null?void 0:L[v])||0)+(ae?0:H.crossAxis),X=f.reference[v]+f.reference[ee]+(ae?0:((J=d.offset)==null?void 0:J[v])||0)-(ae?H.crossAxis:0);_<P?_=P:_>X&&(_=X)}return{[w]:O,[v]:_}}}},ZS=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(s){var i,l;const{placement:c,rects:f,platform:d,elements:h}=s,{apply:m=()=>{},...y}=Wn(n,s),b=await _i(s,y),v=ea(c),w=yr(c),O=On(c)==="y",{width:_,height:j}=f.floating;let H,L;v==="top"||v==="bottom"?(H=v,L=w===(await(d.isRTL==null?void 0:d.isRTL(h.floating))?"start":"end")?"left":"right"):(L=v,H=w==="end"?"top":"bottom");const J=j-b.top-b.bottom,ee=_-b.left-b.right,ae=Ha(j-b[H],J),P=Ha(_-b[L],ee),X=!s.middlewareData.shift;let C=ae,U=P;if((i=s.middlewareData.shift)!=null&&i.enabled.x&&(U=ee),(l=s.middlewareData.shift)!=null&&l.enabled.y&&(C=J),X&&!w){const ne=Pt(b.left,0),se=Pt(b.right,0),te=Pt(b.top,0),$=Pt(b.bottom,0);O?U=_-2*(ne!==0||se!==0?ne+se:Pt(b.left,b.right)):C=j-2*(te!==0||$!==0?te+$:Pt(b.top,b.bottom))}await m({...s,availableWidth:U,availableHeight:C});const W=await d.getDimensions(h.floating);return _!==W.width||j!==W.height?{reset:{rects:!0}}:{}}}};function _o(){return typeof window<"u"}function vr(n){return Ey(n)?(n.nodeName||"").toLowerCase():"#document"}function Kt(n){var s;return(n==null||(s=n.ownerDocument)==null?void 0:s.defaultView)||window}function _n(n){var s;return(s=(Ey(n)?n.ownerDocument:n.document)||window.document)==null?void 0:s.documentElement}function Ey(n){return _o()?n instanceof Node||n instanceof Kt(n).Node:!1}function dn(n){return _o()?n instanceof Element||n instanceof Kt(n).Element:!1}function An(n){return _o()?n instanceof HTMLElement||n instanceof Kt(n).HTMLElement:!1}function B0(n){return!_o()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof Kt(n).ShadowRoot}const FS=new Set(["inline","contents"]);function Hi(n){const{overflow:s,overflowX:i,overflowY:l,display:c}=hn(n);return/auto|scroll|overlay|hidden|clip/.test(s+l+i)&&!FS.has(c)}const JS=new Set(["table","td","th"]);function $S(n){return JS.has(vr(n))}const IS=[":popover-open",":modal"];function No(n){return IS.some(s=>{try{return n.matches(s)}catch{return!1}})}const WS=["transform","translate","scale","rotate","perspective"],e3=["transform","translate","scale","rotate","perspective","filter"],t3=["paint","layout","strict","content"];function ed(n){const s=td(),i=dn(n)?hn(n):n;return WS.some(l=>i[l]?i[l]!=="none":!1)||(i.containerType?i.containerType!=="normal":!1)||!s&&(i.backdropFilter?i.backdropFilter!=="none":!1)||!s&&(i.filter?i.filter!=="none":!1)||e3.some(l=>(i.willChange||"").includes(l))||t3.some(l=>(i.contain||"").includes(l))}function n3(n){let s=Da(n);for(;An(s)&&!pr(s);){if(ed(s))return s;if(No(s))return null;s=Da(s)}return null}function td(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const a3=new Set(["html","body","#document"]);function pr(n){return a3.has(vr(n))}function hn(n){return Kt(n).getComputedStyle(n)}function Co(n){return dn(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function Da(n){if(vr(n)==="html")return n;const s=n.assignedSlot||n.parentNode||B0(n)&&n.host||_n(n);return B0(s)?s.host:s}function Oy(n){const s=Da(n);return pr(s)?n.ownerDocument?n.ownerDocument.body:n.body:An(s)&&Hi(s)?s:Oy(s)}function Ni(n,s,i){var l;s===void 0&&(s=[]),i===void 0&&(i=!0);const c=Oy(n),f=c===((l=n.ownerDocument)==null?void 0:l.body),d=Kt(c);if(f){const h=Df(d);return s.concat(d,d.visualViewport||[],Hi(c)?c:[],h&&i?Ni(h):[])}return s.concat(c,Ni(c,[],i))}function Df(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function jy(n){const s=hn(n);let i=parseFloat(s.width)||0,l=parseFloat(s.height)||0;const c=An(n),f=c?n.offsetWidth:i,d=c?n.offsetHeight:l,h=po(i)!==f||po(l)!==d;return h&&(i=f,l=d),{width:i,height:l,$:h}}function nd(n){return dn(n)?n:n.contextElement}function dr(n){const s=nd(n);if(!An(s))return jn(1);const i=s.getBoundingClientRect(),{width:l,height:c,$:f}=jy(s);let d=(f?po(i.width):i.width)/l,h=(f?po(i.height):i.height)/c;return(!d||!Number.isFinite(d))&&(d=1),(!h||!Number.isFinite(h))&&(h=1),{x:d,y:h}}const s3=jn(0);function Ay(n){const s=Kt(n);return!td()||!s.visualViewport?s3:{x:s.visualViewport.offsetLeft,y:s.visualViewport.offsetTop}}function r3(n,s,i){return s===void 0&&(s=!1),!i||s&&i!==Kt(n)?!1:s}function hs(n,s,i,l){s===void 0&&(s=!1),i===void 0&&(i=!1);const c=n.getBoundingClientRect(),f=nd(n);let d=jn(1);s&&(l?dn(l)&&(d=dr(l)):d=dr(n));const h=r3(f,i,l)?Ay(f):jn(0);let m=(c.left+h.x)/d.x,y=(c.top+h.y)/d.y,b=c.width/d.x,v=c.height/d.y;if(f){const w=Kt(f),O=l&&dn(l)?Kt(l):l;let _=w,j=Df(_);for(;j&&l&&O!==_;){const H=dr(j),L=j.getBoundingClientRect(),J=hn(j),ee=L.left+(j.clientLeft+parseFloat(J.paddingLeft))*H.x,ae=L.top+(j.clientTop+parseFloat(J.paddingTop))*H.y;m*=H.x,y*=H.y,b*=H.x,v*=H.y,m+=ee,y+=ae,_=Kt(j),j=Df(_)}}return yo({width:b,height:v,x:m,y})}function Mo(n,s){const i=Co(n).scrollLeft;return s?s.left+i:hs(_n(n)).left+i}function Ty(n,s){const i=n.getBoundingClientRect(),l=i.left+s.scrollLeft-Mo(n,i),c=i.top+s.scrollTop;return{x:l,y:c}}function i3(n){let{elements:s,rect:i,offsetParent:l,strategy:c}=n;const f=c==="fixed",d=_n(l),h=s?No(s.floating):!1;if(l===d||h&&f)return i;let m={scrollLeft:0,scrollTop:0},y=jn(1);const b=jn(0),v=An(l);if((v||!v&&!f)&&((vr(l)!=="body"||Hi(d))&&(m=Co(l)),An(l))){const O=hs(l);y=dr(l),b.x=O.x+l.clientLeft,b.y=O.y+l.clientTop}const w=d&&!v&&!f?Ty(d,m):jn(0);return{width:i.width*y.x,height:i.height*y.y,x:i.x*y.x-m.scrollLeft*y.x+b.x+w.x,y:i.y*y.y-m.scrollTop*y.y+b.y+w.y}}function l3(n){return Array.from(n.getClientRects())}function o3(n){const s=_n(n),i=Co(n),l=n.ownerDocument.body,c=Pt(s.scrollWidth,s.clientWidth,l.scrollWidth,l.clientWidth),f=Pt(s.scrollHeight,s.clientHeight,l.scrollHeight,l.clientHeight);let d=-i.scrollLeft+Mo(n);const h=-i.scrollTop;return hn(l).direction==="rtl"&&(d+=Pt(s.clientWidth,l.clientWidth)-c),{width:c,height:f,x:d,y:h}}const Q0=25;function c3(n,s){const i=Kt(n),l=_n(n),c=i.visualViewport;let f=l.clientWidth,d=l.clientHeight,h=0,m=0;if(c){f=c.width,d=c.height;const b=td();(!b||b&&s==="fixed")&&(h=c.offsetLeft,m=c.offsetTop)}const y=Mo(l);if(y<=0){const b=l.ownerDocument,v=b.body,w=getComputedStyle(v),O=b.compatMode==="CSS1Compat"&&parseFloat(w.marginLeft)+parseFloat(w.marginRight)||0,_=Math.abs(l.clientWidth-v.clientWidth-O);_<=Q0&&(f-=_)}else y<=Q0&&(f+=y);return{width:f,height:d,x:h,y:m}}const u3=new Set(["absolute","fixed"]);function f3(n,s){const i=hs(n,!0,s==="fixed"),l=i.top+n.clientTop,c=i.left+n.clientLeft,f=An(n)?dr(n):jn(1),d=n.clientWidth*f.x,h=n.clientHeight*f.y,m=c*f.x,y=l*f.y;return{width:d,height:h,x:m,y}}function Y0(n,s,i){let l;if(s==="viewport")l=c3(n,i);else if(s==="document")l=o3(_n(n));else if(dn(s))l=f3(s,i);else{const c=Ay(n);l={x:s.x-c.x,y:s.y-c.y,width:s.width,height:s.height}}return yo(l)}function _y(n,s){const i=Da(n);return i===s||!dn(i)||pr(i)?!1:hn(i).position==="fixed"||_y(i,s)}function d3(n,s){const i=s.get(n);if(i)return i;let l=Ni(n,[],!1).filter(h=>dn(h)&&vr(h)!=="body"),c=null;const f=hn(n).position==="fixed";let d=f?Da(n):n;for(;dn(d)&&!pr(d);){const h=hn(d),m=ed(d);!m&&h.position==="fixed"&&(c=null),(f?!m&&!c:!m&&h.position==="static"&&!!c&&u3.has(c.position)||Hi(d)&&!m&&_y(n,d))?l=l.filter(b=>b!==d):c=h,d=Da(d)}return s.set(n,l),l}function h3(n){let{element:s,boundary:i,rootBoundary:l,strategy:c}=n;const d=[...i==="clippingAncestors"?No(s)?[]:d3(s,this._c):[].concat(i),l],h=d[0],m=d.reduce((y,b)=>{const v=Y0(s,b,c);return y.top=Pt(v.top,y.top),y.right=Ha(v.right,y.right),y.bottom=Ha(v.bottom,y.bottom),y.left=Pt(v.left,y.left),y},Y0(s,h,c));return{width:m.right-m.left,height:m.bottom-m.top,x:m.left,y:m.top}}function m3(n){const{width:s,height:i}=jy(n);return{width:s,height:i}}function p3(n,s,i){const l=An(s),c=_n(s),f=i==="fixed",d=hs(n,!0,f,s);let h={scrollLeft:0,scrollTop:0};const m=jn(0);function y(){m.x=Mo(c)}if(l||!l&&!f)if((vr(s)!=="body"||Hi(c))&&(h=Co(s)),l){const O=hs(s,!0,f,s);m.x=O.x+s.clientLeft,m.y=O.y+s.clientTop}else c&&y();f&&!l&&c&&y();const b=c&&!l&&!f?Ty(c,h):jn(0),v=d.left+h.scrollLeft-m.x-b.x,w=d.top+h.scrollTop-m.y-b.y;return{x:v,y:w,width:d.width,height:d.height}}function lf(n){return hn(n).position==="static"}function G0(n,s){if(!An(n)||hn(n).position==="fixed")return null;if(s)return s(n);let i=n.offsetParent;return _n(n)===i&&(i=i.ownerDocument.body),i}function Ny(n,s){const i=Kt(n);if(No(n))return i;if(!An(n)){let c=Da(n);for(;
vendor: 4,360 bytes, line 49
49c&&!pr(c);){if(dn(c)&&!lf(c))return c;c=Da(c)}return i}let l=G0(n,s);for(;l&&$S(l)&&lf(l);)l=G0(l,s);return l&&pr(l)&&lf(l)&&!ed(l)?i:l||n3(n)||i}const g3=async function(n){const s=this.getOffsetParent||Ny,i=this.getDimensions,l=await i(n.floating);return{reference:p3(n.reference,await s(n.floating),n.strategy),floating:{x:0,y:0,width:l.width,height:l.height}}};function y3(n){return hn(n).direction==="rtl"}const v3={convertOffsetParentRelativeRectToViewportRelativeRect:i3,getDocumentElement:_n,getClippingRect:h3,getOffsetParent:Ny,getElementRects:g3,getClientRects:l3,getDimensions:m3,getScale:dr,isElement:dn,isRTL:y3};function Cy(n,s){return n.x===s.x&&n.y===s.y&&n.width===s.width&&n.height===s.height}function x3(n,s){let i=null,l;const c=_n(n);function f(){var h;clearTimeout(l),(h=i)==null||h.disconnect(),i=null}function d(h,m){h===void 0&&(h=!1),m===void 0&&(m=1),f();const y=n.getBoundingClientRect(),{left:b,top:v,width:w,height:O}=y;if(h||s(),!w||!O)return;const _=no(v),j=no(c.clientWidth-(b+w)),H=no(c.clientHeight-(v+O)),L=no(b),ee={rootMargin:-_+"px "+-j+"px "+-H+"px "+-L+"px",threshold:Pt(0,Ha(1,m))||1};let ae=!0;function P(X){const C=X[0].intersectionRatio;if(C!==m){if(!ae)return d();C?d(!1,C):l=setTimeout(()=>{d(!1,1e-7)},1e3)}C===1&&!Cy(y,n.getBoundingClientRect())&&d(),ae=!1}try{i=new IntersectionObserver(P,{...ee,root:c.ownerDocument})}catch{i=new IntersectionObserver(P,ee)}i.observe(n)}return d(!0),f}function b3(n,s,i,l){l===void 0&&(l={});const{ancestorScroll:c=!0,ancestorResize:f=!0,elementResize:d=typeof ResizeObserver=="function",layoutShift:h=typeof IntersectionObserver=="function",animationFrame:m=!1}=l,y=nd(n),b=c||f?[...y?Ni(y):[],...Ni(s)]:[];b.forEach(L=>{c&&L.addEventListener("scroll",i,{passive:!0}),f&&L.addEventListener("resize",i)});const v=y&&h?x3(y,i):null;let w=-1,O=null;d&&(O=new ResizeObserver(L=>{let[J]=L;J&&J.target===y&&O&&(O.unobserve(s),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var ee;(ee=O)==null||ee.observe(s)})),i()}),y&&!m&&O.observe(y),O.observe(s));let _,j=m?hs(n):null;m&&H();function H(){const L=hs(n);j&&!Cy(j,L)&&i(),j=L,_=requestAnimationFrame(H)}return i(),()=>{var L;b.forEach(J=>{c&&J.removeEventListener("scroll",i),f&&J.removeEventListener("resize",i)}),v?.(),(L=O)==null||L.disconnect(),O=null,m&&cancelAnimationFrame(_)}}const w3=PS,S3=XS,E3=YS,O3=ZS,j3=GS,V0=QS,A3=KS,T3=(n,s,i)=>{const l=new Map,c={platform:v3,...i},f={...c.platform,_c:l};return BS(n,s,{...c,platform:f})};var _3=typeof document<"u",N3=function(){},uo=_3?A.useLayoutEffect:N3;function vo(n,s){if(n===s)return!0;if(typeof n!=typeof s)return!1;if(typeof n=="function"&&n.toString()===s.toString())return!0;let i,l,c;if(n&&s&&typeof n=="object"){if(Array.isArray(n)){if(i=n.length,i!==s.length)return!1;for(l=i;l--!==0;)if(!vo(n[l],s[l]))return!1;return!0}if(c=Object.keys(n),i=c.length,i!==Object.keys(s).length)return!1;for(l=i;l--!==0;)if(!{}.hasOwnProperty.call(s,c[l]))return!1;for(l=i;l--!==0;){const f=c[l];if(!(f==="_owner"&&n.$$typeof)&&!vo(n[f],s[f]))return!1}return!0}return n!==n&&s!==s}function My(n){return typeof window>"u"?1:(n.ownerDocument.defaultView||window).devicePixelRatio||1}function P0(n,s){const i=My(n);return Math.round(s*i)/i}function of(n){const s=A.useRef(n);return uo(()=>{s.current=n}),s}function C3(n){n===void 0&&(n={});const{placement:s="bottom",strategy:i="absolute",middleware:l=[],platform:c,elements:{reference:f,floating:d}={},transform:h=!0,whileElementsMounted:m,open:y}=n,[b,v]=A.useState({x:0,y:0,strategy:i,placement:s,middlewareData:{},isPositioned:!1}),[w,O]=A.useState(l);vo(w,l)||O(l);const[_,j]=A.useState(null),[H,L]=A.useState(null),J=A.useCallback(R=>{R!==X.current&&(X.current=R,j(R))},[]),ee=A.useCallback(R=>{R!==C.current&&(C.current=R,L(R))},[]),ae=f||_,P=d||H,X=A.useRef(null),C=A.useRef(null),U=A.useRef(b),W=m!=null,ne=of(m),se=of(c),te=of(y),$=A.useCallback(()=>{if(!X.current||!C.current)return;const R={placement:s,strategy:i,middleware:w};se.current&&(R.platform=se.current),T3(X.current,C.current,R).then(le=>{const fe={...le,isPositioned:te.current!==!1};re.current&&!vo(U.current,fe)&&(U.current=fe,Jf.flushSync(()=>{v(fe)}))})},[w,s,i,se,te]);uo(()=>{y===!1&&U.current.isPositioned&&(U.current.isPositioned=!1,v(R=>({...R,isPositioned:!1})))},[y]);const re=A.useRef(!1);uo(()=>(re.current=!0,()=>{re.current=!1}),[]),uo(()=>
vendor: 4,511 bytes, line 49
49{if(ae&&(X.current=ae),P&&(C.current=P),ae&&P){if(ne.current)return ne.current(ae,P,$);$()}},[ae,P,$,ne,W]);const ue=A.useMemo(()=>({reference:X,floating:C,setReference:J,setFloating:ee}),[J,ee]),T=A.useMemo(()=>({reference:ae,floating:P}),[ae,P]),B=A.useMemo(()=>{const R={position:i,left:0,top:0};if(!T.floating)return R;const le=P0(T.floating,b.x),fe=P0(T.floating,b.y);return h?{...R,transform:"translate("+le+"px, "+fe+"px)",...My(T.floating)>=1.5&&{willChange:"transform"}}:{position:i,left:le,top:fe}},[i,h,T.floating,b.x,b.y]);return A.useMemo(()=>({...b,update:$,refs:ue,elements:T,floatingStyles:B}),[b,$,ue,T,B])}const M3=n=>{function s(i){return{}.hasOwnProperty.call(i,"current")}return{name:"arrow",options:n,fn(i){const{element:l,padding:c}=typeof n=="function"?n(i):n;return l&&s(l)?l.current!=null?V0({element:l.current,padding:c}).fn(i):{}:l?V0({element:l,padding:c}).fn(i):{}}}},R3=(n,s)=>({...w3(n),options:[n,s]}),z3=(n,s)=>({...S3(n),options:[n,s]}),H3=(n,s)=>({...A3(n),options:[n,s]}),D3=(n,s)=>({...E3(n),options:[n,s]}),k3=(n,s)=>({...O3(n),options:[n,s]}),U3=(n,s)=>({...j3(n),options:[n,s]}),q3=(n,s)=>({...M3(n),options:[n,s]});var L3="Arrow",Ry=A.forwardRef((n,s)=>{const{children:i,width:l=10,height:c=5,...f}=n;return g.jsx(vs.svg,{...f,ref:s,width:l,height:c,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:n.asChild?i:g.jsx("polygon",{points:"0,0 30,0 15,10"})})});Ry.displayName=L3;var B3=Ry;function Q3(n){const[s,i]=A.useState(void 0);return Ti(()=>{if(n){i({width:n.offsetWidth,height:n.offsetHeight});const l=new ResizeObserver(c=>{if(!Array.isArray(c)||!c.length)return;const f=c[0];let d,h;if("borderBoxSize"in f){const m=f.borderBoxSize,y=Array.isArray(m)?m[0]:m;d=y.inlineSize,h=y.blockSize}else d=n.offsetWidth,h=n.offsetHeight;i({width:d,height:h})});return l.observe(n,{box:"border-box"}),()=>l.unobserve(n)}else i(void 0)},[n]),s}var zy="Popper",[Hy,Dy]=py(zy),[bO,ky]=Hy(zy),Uy="PopperAnchor",qy=A.forwardRef((n,s)=>{const{__scopePopper:i,virtualRef:l,...c}=n,f=ky(Uy,i),d=A.useRef(null),h=ys(s,d),m=A.useRef(null);return A.useEffect(()=>{const y=m.current;m.current=l?.current||d.current,y!==m.current&&f.onAnchorChange(m.current)}),l?null:g.jsx(vs.div,{...c,ref:h})});qy.displayName=Uy;var ad="PopperContent",[Y3,G3]=Hy(ad),Ly=A.forwardRef((n,s)=>{const{__scopePopper:i,side:l="bottom",sideOffset:c=0,align:f="center",alignOffset:d=0,arrowPadding:h=0,avoidCollisions:m=!0,collisionBoundary:y=[],collisionPadding:b=0,sticky:v="partial",hideWhenDetached:w=!1,updatePositionStrategy:O="optimized",onPlaced:_,...j}=n,H=ky(ad,i),[L,J]=A.useState(null),ee=ys(s,oe=>J(oe)),[ae,P]=A.useState(null),X=Q3(ae),C=X?.width??0,U=X?.height??0,W=l+(f!=="center"?"-"+f:""),ne=typeof b=="number"?b:{top:0,right:0,bottom:0,left:0,...b},se=Array.isArray(y)?y:[y],te=se.length>0,$={padding:ne,boundary:se.filter(P3),altBoundary:te},{refs:re,floatingStyles:ue,placement:T,isPositioned:B,middlewareData:R}=C3({strategy:"fixed",placement:W,whileElementsMounted:(...oe)=>b3(...oe,{animationFrame:O==="always"}),elements:{reference:H.anchor},middleware:[R3({mainAxis:c+U,alignmentAxis:d}),m&&z3({mainAxis:!0,crossAxis:!1,limiter:v==="partial"?H3():void 0,...$}),m&&D3({...$}),k3({...$,apply:({elements:oe,rects:ve,availableWidth:Oe,availableHeight:at})=>{const{width:Ie,height:ut}=ve.reference,Nn=oe.floating.style;Nn.setProperty("--radix-popper-available-width",`${Oe}px`),Nn.setProperty("--radix-popper-available-height",`${at}px`),Nn.setProperty("--radix-popper-anchor-width",`${Ie}px`),Nn.setProperty("--radix-popper-anchor-height",`${ut}px`)}}),ae&&q3({element:ae,padding:h}),X3({arrowWidth:C,arrowHeight:U}),w&&U3({strategy:"referenceHidden",...$})]}),[le,fe]=Yy(T),S=To(_);Ti(()=>{B&&S?.()},[B,S]);const Y=R.arrow?.x,k=R.arrow?.y,G=R.arrow?.centerOffset!==0,[I,Z]=A.useState();return Ti(()=>{L&&Z(window.getComputedStyle(L).zIndex)},[L]),g.jsx("div",{ref:re.setFloating,"data-radix-popper-content-wrapper":"",style:{...ue,transform:B?ue.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:I,"--radix-popper-transform-origin":[R.transformOrigin?.x,R.transformOrigin?.y].join(" "),...R.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:n.dir,children:g.jsx(Y3,{scope:i,placedSide:le,onArrowChange:P,arrowX:Y,arrowY:k,shouldHideArrow:G,children:g.jsx(vs.div,{"data-side":le,"data-align":fe,...j,ref:ee,style:{...j.style,animation:B?void 0:"none"}})})})});Ly.displayName=ad;var By="PopperArrow",V3={top:"bottom",right:"left",bottom:"top",left:"r
49ight"},Qy=A.forwardRef(function(s,i){const{__scopePopper:l,...c}=s,f=G3(By,l),d=V3[f.placedSide];return g.jsx("span",{ref:f.onArrowChange,style:{position:"absolute",left:f.arrowX,top:f.arrowY,[d]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[f.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[f.placedSide],visibility:f.shouldHideArrow?"hidden":void 0},children:g.jsx(B3,{...c,ref:i,style:{...c.style,display:"block"}})})});Qy.displayName=By;function P3(n){return n!==null}var X3=n=>({name:"transformOrigin",options:n,fn(s){const{placement:i,rects:l,middlewareData:c}=s,d=c.arrow?.centerOffset!==0,h=d?0:n.arrowWidth,m=d?0:n.arrowHeight,[y,b]=Yy(i),v={start:"0%",center:"50%",end:"100%"}[b],w=(c.arrow?.x??0)+h/2,O=(c.arrow?.y??0)+m/2;let _="",j="";return y==="bottom"?(_=d?v:`${w}px`,j=`${-m}px`):y==="top"?(_=d?v:`${w}px`,j=`${l.floating.height+m}px`):y==="right"?(_=`${-m}px`,j=d?v:`${O}px`):y==="left"&&(_=`${l.floating.width+m}px`,j=d?v:`${O}px`),{data:{x:_,y:j}}}});function Yy(n){const[s,i="center"]=n.split("-");return[s,i]}var K3=qy,Z3=Ly,F3=Qy;function J3(n,s){return A.useReducer((i,l)=>s[i][l]??i,n)}var Gy=n=>{const{present:s,children:i}=n,l=$3(s),c=typeof i=="function"?i({present:l.isPresent}):A.Children.only(i),f=ys(l.ref,I3(c));return typeof i=="function"||l.isPresent?A.cloneElement(c,{ref:f}):null};Gy.displayName="Presence";function $3(n){const[s,i]=A.useState(),l=A.useRef(null),c=A.useRef(n),f=A.useRef("none"),d=n?"mounted":"unmounted",[h,m]=J3(d,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return A.useEffect(()=>{const y=ao(l.current);f.current=h==="mounted"?y:"none"},[h]),Ti(()=>{const y=l.current,b=c.current;if(b!==n){const w=f.current,O=ao(y);n?m("MOUNT"):O==="none"||y?.display==="none"?m("UNMOUNT"):m(b&&w!==O?"ANIMATION_OUT":"UNMOUNT"),c.current=n}},[n,m]),Ti(()=>{if(s){let y;const b=s.ownerDocument.defaultView??window,v=O=>{const j=ao(l.current).includes(CSS.escape(O.animationName));if(O.target===s&&j&&(m("ANIMATION_END"),!c.current)){const H=s.style.animationFillMode;s.style.animationFillMode="forwards",y=b.setTimeout(()=>{s.style.animationFillMode==="forwards"&&(s.style.animationFillMode=H)})}},w=O=>{O.target===s&&(f.current=ao(l.current))};return s.addEventListener("animationstart",w),s.addEventListener("animationcancel",v),s.addEventListener("animationend",v),()=>{b.clearTimeout(y),s.removeEventListener("animationstart",w),s.removeEventListener("animationcancel",v),s.removeEventListener("animationend",v)}}else m("ANIMATION_END")},[s,m]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:A.useCallback(y=>{l.current=y?getComputedStyle(y):null,i(y)},[])}}function ao(n){return n?.animationName||"none"}function I3(n){let s=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,i=s&&"isReactWarning"in s&&s.isReactWarning;return i?n.ref:(s=Object.getOwnPropertyDescriptor(n,"ref")?.get,i=s&&"isReactWarning"in s&&s.isReactWarning,i?n.props.ref:n.props.ref||n.ref)}var W3=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),e5="VisuallyHidden",Vy=A.forwardRef((n,s)=>g.jsx(vs.span,{...n,ref:s,style:{...W3,...n.style}}));Vy.displayName=e5;var t5=Vy,[Ro]=py("Tooltip",[Dy]),sd=Dy(),Py="TooltipProvider",n5=700,X0="tooltip.open",[a5,Xy]=Ro(Py),Ky=n=>{const{__scopeTooltip:s,delayDuration:i=n5,skipDelayDuration:l=300,disableHoverableContent:c=!1,children:f}=n,d=A.useRef(!0),h=A.useRef(!1),m=A.useRef(0);return A.useEffect(()=>{const y=m.current;return()=>window.clearTimeout(y)},[]),g.jsx(a5,{scope:s,isOpenDelayedRef:d,delayDuration:i,onOpen:A.useCallback(()=>{window.clearTimeout(m.current),d.current=!1},[]),onClose:A.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>d.current=!0,l)},[l]),isPointerInTransitRef:h,onPointerInTransitChange:A.useCallback(y=>{h.current=y},[]),disableHoverableContent:c,children:f})};Ky.displayName=Py;var Zy="Tooltip",[wO,zo]=Ro(Zy),kf="TooltipTrigger",s5=A.forwardRef((n,s)=>{const{__scopeTooltip:i,...l}=n,c=zo(kf,i),f=Xy(kf,i),d=sd(i),h=A.useRef(null),m=ys(s,h,c.onTriggerChange),y=A.useRef(!1),b=A.useRef(!1),v=A.useCallback(()=>y.current=!1,[]);return A.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),g.jsx(K3,{asChild:!0,...d,children:g.jsx(vs.button,{"aria-describedby":c.open?c.c
vendor: 12,593 bytes, line 49
49ontentId:void 0,"data-state":c.stateAttribute,...l,ref:m,onPointerMove:Jn(n.onPointerMove,w=>{w.pointerType!=="touch"&&!b.current&&!f.isPointerInTransitRef.current&&(c.onTriggerEnter(),b.current=!0)}),onPointerLeave:Jn(n.onPointerLeave,()=>{c.onTriggerLeave(),b.current=!1}),onPointerDown:Jn(n.onPointerDown,()=>{c.open&&c.onClose(),y.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:Jn(n.onFocus,()=>{y.current||c.onOpen()}),onBlur:Jn(n.onBlur,c.onClose),onClick:Jn(n.onClick,c.onClose)})})});s5.displayName=kf;var r5="TooltipPortal",[SO,i5]=Ro(r5,{forceMount:void 0}),gr="TooltipContent",l5=A.forwardRef((n,s)=>{const i=i5(gr,n.__scopeTooltip),{forceMount:l=i.forceMount,side:c="top",...f}=n,d=zo(gr,n.__scopeTooltip);return g.jsx(Gy,{present:l||d.open,children:d.disableHoverableContent?g.jsx(Fy,{side:c,...f,ref:s}):g.jsx(o5,{side:c,...f,ref:s})})}),o5=A.forwardRef((n,s)=>{const i=zo(gr,n.__scopeTooltip),l=Xy(gr,n.__scopeTooltip),c=A.useRef(null),f=ys(s,c),[d,h]=A.useState(null),{trigger:m,onClose:y}=i,b=c.current,{onPointerInTransitChange:v}=l,w=A.useCallback(()=>{h(null),v(!1)},[v]),O=A.useCallback((_,j)=>{const H=_.currentTarget,L={x:_.clientX,y:_.clientY},J=h5(L,H.getBoundingClientRect()),ee=m5(L,J),ae=p5(j.getBoundingClientRect()),P=y5([...ee,...ae]);h(P),v(!0)},[v]);return A.useEffect(()=>()=>w(),[w]),A.useEffect(()=>{if(m&&b){const _=H=>O(H,b),j=H=>O(H,m);return m.addEventListener("pointerleave",_),b.addEventListener("pointerleave",j),()=>{m.removeEventListener("pointerleave",_),b.removeEventListener("pointerleave",j)}}},[m,b,O,w]),A.useEffect(()=>{if(d){const _=j=>{const H=j.target,L={x:j.clientX,y:j.clientY},J=m?.contains(H)||b?.contains(H),ee=!g5(L,d);J?w():ee&&(w(),y())};return document.addEventListener("pointermove",_),()=>document.removeEventListener("pointermove",_)}},[m,b,d,y,w]),g.jsx(Fy,{...n,ref:f})}),[c5,u5]=Ro(Zy,{isInside:!1}),f5=pS("TooltipContent"),Fy=A.forwardRef((n,s)=>{const{__scopeTooltip:i,children:l,"aria-label":c,onEscapeKeyDown:f,onPointerDownOutside:d,...h}=n,m=zo(gr,i),y=sd(i),{onClose:b}=m;return A.useEffect(()=>(document.addEventListener(X0,b),()=>document.removeEventListener(X0,b)),[b]),A.useEffect(()=>{if(m.trigger){const v=w=>{w.target?.contains(m.trigger)&&b()};return window.addEventListener("scroll",v,{capture:!0}),()=>window.removeEventListener("scroll",v,{capture:!0})}},[m.trigger,b]),g.jsx(xy,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:f,onPointerDownOutside:d,onFocusOutside:v=>v.preventDefault(),onDismiss:b,children:g.jsxs(Z3,{"data-state":m.stateAttribute,...y,...h,ref:s,style:{...h.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[g.jsx(f5,{children:l}),g.jsx(c5,{scope:i,isInside:!0,children:g.jsx(t5,{id:m.contentId,role:"tooltip",children:c||l})})]})})});l5.displayName=gr;var Jy="TooltipArrow",d5=A.forwardRef((n,s)=>{const{__scopeTooltip:i,...l}=n,c=sd(i);return u5(Jy,i).isInside?null:g.jsx(F3,{...c,...l,ref:s})});d5.displayName=Jy;function h5(n,s){const i=Math.abs(s.top-n.y),l=Math.abs(s.bottom-n.y),c=Math.abs(s.right-n.x),f=Math.abs(s.left-n.x);switch(Math.min(i,l,c,f)){case f:return"left";case c:return"right";case i:return"top";case l:return"bottom";default:throw new Error("unreachable")}}function m5(n,s,i=5){const l=[];switch(s){case"top":l.push({x:n.x-i,y:n.y+i},{x:n.x+i,y:n.y+i});break;case"bottom":l.push({x:n.x-i,y:n.y-i},{x:n.x+i,y:n.y-i});break;case"left":l.push({x:n.x+i,y:n.y-i},{x:n.x+i,y:n.y+i});break;case"right":l.push({x:n.x-i,y:n.y-i},{x:n.x-i,y:n.y+i});break}return l}function p5(n){const{top:s,right:i,bottom:l,left:c}=n;return[{x:c,y:s},{x:i,y:s},{x:i,y:l},{x:c,y:l}]}function g5(n,s){const{x:i,y:l}=n;let c=!1;for(let f=0,d=s.length-1;f<s.length;d=f++){const h=s[f],m=s[d],y=h.x,b=h.y,v=m.x,w=m.y;b>l!=w>l&&i<(v-y)*(l-b)/(w-b)+y&&(c=!c)}return c}function y5(n){const s=n.slice();return s.sort((i,l)=>i.x<l.x?-1:i.x>l.x?1:i.y<l.y?-1:i.y>l.y?1:0),v5(s)}function v5(n){if(n.length<=1)return n.slice();const s=[];for(let l=0;l<n.length;l++){const c=n[l];for(;s.length>=2;){const f=s[s.length-1],d=s[s.length-2];if((f.x-d.x)*(c.y-d.y)>=(f.y-d.y)*(c.x-d.x))s.pop();else break}s.push(c)}s.pop();const i=[];for(let l=n.length-1;l>=0;l--){const c=n[l];for(;i.length>=2;){const f=i[i.length-1],d=i[i.length-2];if((f.x-d.x)*(c.y-d.y)>=(f.y-d.y)*(c.x-d.x))i.pop();else break}i.push(c)}return i.pop(),s.length===1&&i.length===1&&s[0].x===i[0].x&&s[0].y===i[0].y?s:s.concat(i)}var x5=Ky;function $y(n){var s,i,l="";if(typeof n=="string"||typeof n=="number")l+=n;else if(typeof n=="object")if(Array.isArray(n)){var c=n.length;for(s=0;s<c;s++)n[s]&&(i=$y(n[s]))&&(l&&(l+=" "),l+=i)}else for(i in n)n[i]&&(l&&(l+=" "),l+=i);return l}function Iy(){for(var n,s,i=0,l="",c=arguments.length;i<c;i++)(n=arguments[i])&&(s=$y(n))&&(l&&(l+=" "),l+=s);return l}const rd="-",b5=n=>{const s=S5(n),{conflictingClassGroups:i,conflictingClassGroupModifiers:l}=n;return{getClassGroupId:d=>{const h=d.split(rd);return h[0]===""&&h.length!==1&&h.shift(),Wy(h,s)||w5(d)},getConflictingClassGroupIds:(d,h)=>{const m=i[d]||[];return h&&l[d]?[...m,...l[d]]:m}}},Wy=(n,s)=>{if(n.length===0)return s.classGroupId;const i=n[0],l=s.nextPart.get(i),c=l?Wy(n.slice(1),l):void 0;if(c)return c;if(s.validators.length===0)return;const f=n.join(rd);return s.validators.find(({validator:d})=>d(f))?.classGroupId},K0=/^\[(.+)\]$/,w5=n=>{if(K0.test(n)){const s=K0.exec(n)[1],i=s?.substring(0,s.indexOf(":"));if(i)return"arbitrary.."+i}},S5=n=>{const{theme:s,classGroups:i}=n,l={nextPart:new Map,validators:[]};for(const c in i)Uf(i[c],l,c,s);return l},Uf=(n,s,i,l)=>{n.forEach(c=>{if(typeof c=="string"){const f=c===""?s:Z0(s,c);f.classGroupId=i;return}if(typeof c=="function"){if(E5(c)){Uf(c(l),s,i,l);return}s.validators.push({validator:c,classGroupId:i});return}Object.entries(c).forEach(([f,d])=>{Uf(d,Z0(s,f),i,l)})})},Z0=(n,s)=>{let i=n;return s.split(rd).forEach(l=>{i.nextPart.has(l)||i.nextPart.set(l,{nextPart:new Map,validators:[]}),i=i.nextPart.get(l)}),i},E5=n=>n.isThemeGetter,O5=n=>{if(n<1)return{get:()=>{},set:()=>{}};let s=0,i=new Map,l=new Map;const c=(f,d)=>{i.set(f,d),s++,s>n&&(s=0,l=i,i=new Map)};return{get(f){let d=i.get(f);if(d!==void 0)return d;if((d=l.get(f))!==void 0)return c(f,d),d},set(f,d){i.has(f)?i.set(f,d):c(f,d)}}},qf="!",Lf=":",j5=Lf.length,A5=n=>{const{prefix:s,experimentalParseClassName:i}=n;let l=c=>{const f=[];let d=0,h=0,m=0,y;for(let _=0;_<c.length;_++){let j=c[_];if(d===0&&h===0){if(j===Lf){f.push(c.slice(m,_)),m=_+j5;continue}if(j==="/"){y=_;continue}}j==="["?d++:j==="]"?d--:j==="("?h++:j===")"&&h--}const b=f.length===0?c:c.substring(m),v=T5(b),w=v!==b,O=y&&y>m?y-m:void 0;return{modifiers:f,hasImportantModifier:w,baseClassName:v,maybePostfixModifierPosition:O}};if(s){const c=s+Lf,f=l;l=d=>d.startsWith(c)?f(d.substring(c.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:d,maybePostfixModifierPosition:void 0}}if(i){const c=l;l=f=>i({className:f,parseClassName:c})}return l},T5=n=>n.endsWith(qf)?n.substring(0,n.length-1):n.startsWith(qf)?n.substring(1):n,_5=n=>{const s=Object.fromEntries(n.orderSensitiveModifiers.map(l=>[l,!0]));return l=>{if(l.length<=1)return l;const c=[];let f=[];return l.forEach(d=>{d[0]==="["||s[d]?(c.push(...f.sort(),d),f=[]):f.push(d)}),c.push(...f.sort()),c}},N5=n=>({cache:O5(n.cacheSize),parseClassName:A5(n),sortModifiers:_5(n),...b5(n)}),C5=/\s+/,M5=(n,s)=>{const{parseClassName:i,getClassGroupId:l,getConflictingClassGroupIds:c,sortModifiers:f}=s,d=[],h=n.trim().split(C5);let m="";for(let y=h.length-1;y>=0;y-=1){const b=h[y],{isExternal:v,modifiers:w,hasImportantModifier:O,baseClassName:_,maybePostfixModifierPosition:j}=i(b);if(v){m=b+(m.length>0?" "+m:m);continue}let H=!!j,L=l(H?_.substring(0,j):_);if(!L){if(!H){m=b+(m.length>0?" "+m:m);continue}if(L=l(_),!L){m=b+(m.length>0?" "+m:m);continue}H=!1}const J=f(w).join(":"),ee=O?J+qf:J,ae=ee+L;if(d.includes(ae))continue;d.push(ae);const P=c(L,H);for(let X=0;X<P.length;++X){const C=P[X];d.push(ee+C)}m=b+(m.length>0?" "+m:m)}return m};function R5(){let n=0,s,i,l="";for(;n<arguments.length;)(s=arguments[n++])&&(i=ev(s))&&(l&&(l+=" "),l+=i);return l}const ev=n=>{if(typeof n=="string")return n;let s,i="";for(let l=0;l<n.length;l++)n[l]&&(s=ev(n[l]))&&(i&&(i+=" "),i+=s);return i};function z5(n,...s){let i,l,c,f=d;function d(m){const y=s.reduce((b,v)=>v(b),n());return i=N5(y),l=i.cache.get,c=i.cache.set,f=h,h(m)}function h(m){const y=l(m);if(y)return y;const b=M5(m,i);return c(m,b),b}return function(){return f(R5.apply(null,arguments))}}const rt=n=>{const s=i=>i[n]||[];return s.isThemeGetter=!0,s},tv=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,nv=/^\((?:(\w[\w-]*):)?(.+)\)$/i,H5=/^\d+\/\d+$/,D5=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,k5=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,U5=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,q5=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,L5=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,or=n=>H5.test(n),Ee=n=>!!n&&!Number.isNaN(Number(n)),Na=n=>!!n&&Number.isInteger(Number(n)),cf=n=>n.endsWith("%")&&Ee(n.slice(0,-1)),Fn=n=>D5.test(n),B5=()=>!0,Q5=n=>k5.test(n)&&!U5.test(n),av=()=>!1,Y5=n=>q5.test(n),G5=n=>L5.test(n),V5=n=>!he(n)&&!me(n),P5=n=>xr(n,iv,av),he=n=>tv.test(n),is=n=>xr(n,lv,Q5),uf=n=>xr(n,J5,Ee),F0=n=>xr(n,sv,av),X5=n=>xr(n,rv,G5),so=n=>xr(n,ov,Y5),me=n=>nv.test(n),xi=n=>br(n,lv),K5=n=>br(n,$5),J0=n=>br(n,sv),Z5=n=>br(n,iv),F5=n=>br(n,rv),ro=n=>br(n,ov,!0),xr=(n,s,i)=>{const l=tv.exec(n);return l?l[1]?s(l[1]):i(l[2]):!1},br=(n,s,i=!1)=>{const l=nv.exec(n);return l?l[1]?s(l[1]):i:!1},sv=n=>n==="position"||n==="percentage",rv=n=>n==="image"||n==="url",iv=n=>n==="length"||n==="size"||n==="bg-size",lv=n=>n==="length",J5=n=>n==="number",$5=n=>n==="family-name",ov=n=>n==="shadow",I5=()=>{const n=rt("color"),s=rt("font"),i=rt("text"),l=rt("font-weight"),c=rt("tracking"),f=rt("leading"),d=rt("breakpoint"),h=rt("container"),m=rt("spacing"),y=rt("radius"),b=rt("shadow"),v=rt("inset-shadow"),w=rt("text-shadow"),O=rt("drop-shadow"),_=rt("blur"),j=rt("perspective"),H=rt("aspect"),L=rt("ease"),J=rt("animate"),ee=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ae=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],P=()=>[...ae(),me,he],X=()=>["auto","hidden","clip","visible","scroll"],C=()=>["auto","contain","none"],U=()=>[me,he,m],W=()=>[or,"full","auto",...U()],ne=()=>[Na,"none","subgrid",me,he],se=()=>["auto",{span:["full",Na,me,he]},Na,me,he],te=()=>[Na,"auto",me,he],$=()=>["auto","min","max","fr",me,he],re=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ue=()=>["start","end","center","stretch","center-safe","end-safe"],T=()=>["auto",...U()],B=()=>[or,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...U()],R=()=>[n,me,he],le=()=>[...ae(),J0,F0,{position:[me,he]}],fe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],S=()=>["auto","cover","contain",Z5,P5,{size:[me,he]}],Y=()=>[cf,xi,is],k=()=>["","none","full",y,me,he],G=()=>["",Ee,xi,is],I=()=>["solid","dashed","dotted","double"],Z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],oe=()=>[Ee,cf,J0,F0],ve=()=>["","none",_,me,he],Oe=()=>["none",Ee,me,he],at=()=>["none",Ee,me,he],Ie=()=>[Ee,me,he],ut=()=>[or,"full",...U()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Fn],breakpoint:[Fn],color:[B5],container:[Fn],"drop-shadow":[Fn],ease:["in","out","in-out"],font:[V5],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Fn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Fn],shadow:[Fn],spacing:["px",Ee],text:[Fn],"text-shadow":[Fn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",or,he,me,H]}
vendor: 12,008 bytes, line 49
49],container:["container"],columns:[{columns:[Ee,he,me,h]}],"break-after":[{"break-after":ee()}],"break-before":[{"break-before":ee()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:P()}],overflow:[{overflow:X()}],"overflow-x":[{"overflow-x":X()}],"overflow-y":[{"overflow-y":X()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:W()}],"inset-x":[{"inset-x":W()}],"inset-y":[{"inset-y":W()}],start:[{start:W()}],end:[{end:W()}],top:[{top:W()}],right:[{right:W()}],bottom:[{bottom:W()}],left:[{left:W()}],visibility:["visible","invisible","collapse"],z:[{z:[Na,"auto",me,he]}],basis:[{basis:[or,"full","auto",h,...U()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ee,or,"auto","initial","none",he]}],grow:[{grow:["",Ee,me,he]}],shrink:[{shrink:["",Ee,me,he]}],order:[{order:[Na,"first","last","none",me,he]}],"grid-cols":[{"grid-cols":ne()}],"col-start-end":[{col:se()}],"col-start":[{"col-start":te()}],"col-end":[{"col-end":te()}],"grid-rows":[{"grid-rows":ne()}],"row-start-end":[{row:se()}],"row-start":[{"row-start":te()}],"row-end":[{"row-end":te()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":$()}],"auto-rows":[{"auto-rows":$()}],gap:[{gap:U()}],"gap-x":[{"gap-x":U()}],"gap-y":[{"gap-y":U()}],"justify-content":[{justify:[...re(),"normal"]}],"justify-items":[{"justify-items":[...ue(),"normal"]}],"justify-self":[{"justify-self":["auto",...ue()]}],"align-content":[{content:["normal",...re()]}],"align-items":[{items:[...ue(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ue(),{baseline:["","last"]}]}],"place-content":[{"place-content":re()}],"place-items":[{"place-items":[...ue(),"baseline"]}],"place-self":[{"place-self":["auto",...ue()]}],p:[{p:U()}],px:[{px:U()}],py:[{py:U()}],ps:[{ps:U()}],pe:[{pe:U()}],pt:[{pt:U()}],pr:[{pr:U()}],pb:[{pb:U()}],pl:[{pl:U()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":U()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":U()}],"space-y-reverse":["space-y-reverse"],size:[{size:B()}],w:[{w:[h,"screen",...B()]}],"min-w":[{"min-w":[h,"screen","none",...B()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[d]},...B()]}],h:[{h:["screen","lh",...B()]}],"min-h":[{"min-h":["screen","lh","none",...B()]}],"max-h":[{"max-h":["screen","lh",...B()]}],"font-size":[{text:["base",i,xi,is]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[l,me,uf]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",cf,he]}],"font-family":[{font:[K5,he,s]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[c,me,he]}],"line-clamp":[{"line-clamp":[Ee,"none",me,uf]}],leading:[{leading:[f,...U()]}],"list-image":[{"list-image":["none",me,he]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",me,he]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:R()}],"text-color":[{text:R()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...I(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ee,"from-font","auto",me,is]}],"text-decoration-color":[{decoration:R()}],"underline-offset":[{"underline-offset":[Ee,"auto",me,he]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:U()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",me,he]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",me,he]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:le()}],"bg-repeat":[{bg:fe()}],"bg-size":[{bg:S()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Na,me,he],radial:["",me,he],conic:[Na,me,he]},F5,X5]}],"bg-color":[{bg:R()}],"gradient-from-pos":[{from:Y()}],"gradient-via-pos":[{via:Y()}],"gradient-to-pos":[{to:Y()}],"gradient-from":[{from:R()}],"gradient-via":[{via:R()}],"gradient-to":[{to:R()}],rounded:[{rounded:k()}],"rounded-s":[{"rounded-s":k()}],"rounded-e":[{"rounded-e":k()}],"rounded-t":[{"rounded-t":k()}],"rounded-r":[{"rounded-r":k()}],"rounded-b":[{"rounded-b":k()}],"rounded-l":[{"rounded-l":k()}],"rounded-ss":[{"rounded-ss":k()}],"rounded-se":[{"rounded-se":k()}],"rounded-ee":[{"rounded-ee":k()}],"rounded-es":[{"rounded-es":k()}],"rounded-tl":[{"rounded-tl":k()}],"rounded-tr":[{"rounded-tr":k()}],"rounded-br":[{"rounded-br":k()}],"rounded-bl":[{"rounded-bl":k()}],"border-w":[{border:G()}],"border-w-x":[{"border-x":G()}],"border-w-y":[{"border-y":G()}],"border-w-s":[{"border-s":G()}],"border-w-e":[{"border-e":G()}],"border-w-t":[{"border-t":G()}],"border-w-r":[{"border-r":G()}],"border-w-b":[{"border-b":G()}],"border-w-l":[{"border-l":G()}],"divide-x":[{"divide-x":G()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":G()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...I(),"hidden","none"]}],"divide-style":[{divide:[...I(),"hidden","none"]}],"border-color":[{border:R()}],"border-color-x":[{"border-x":R()}],"border-color-y":[{"border-y":R()}],"border-color-s":[{"border-s":R()}],"border-color-e":[{"border-e":R()}],"border-color-t":[{"border-t":R()}],"border-color-r":[{"border-r":R()}],"border-color-b":[{"border-b":R()}],"border-color-l":[{"border-l":R()}],"divide-color":[{divide:R()}],"outline-style":[{outline:[...I(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ee,me,he]}],"outline-w":[{outline:["",Ee,xi,is]}],"outline-color":[{outline:R()}],shadow:[{shadow:["","none",b,ro,so]}],"shadow-color":[{shadow:R()}],"inset-shadow":[{"inset-shadow":["none",v,ro,so]}],"inset-shadow-color":[{"inset-shadow":R()}],"ring-w":[{ring:G()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:R()}],"ring-offset-w":[{"ring-offset":[Ee,is]}],"ring-offset-color":[{"ring-offset":R()}],"inset-ring-w":[{"inset-ring":G()}],"inset-ring-color":[{"inset-ring":R()}],"text-shadow":[{"text-shadow":["none",w,ro,so]}],"text-shadow-color":[{"text-shadow":R()}],opacity:[{opacity:[Ee,me,he]}],"mix-blend":[{"mix-blend":[...Z(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Z()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ee]}],"mask-image-linear-from-pos":[{"mask-linear-from":oe()}],"mask-image-linear-to-pos":[{"mask-linear-to":oe()}],"mask-image-linear-from-color":[{"mask-linear-from":R()}],"mask-image-linear-to-color":[{"mask-linear-to":R()}],"mask-image-t-from-pos":[{"mask-t-from":oe()}],"mask-image-t-to-pos":[{"mask-t-to":oe()}],"mask-image-t-from-color":[{"mask-t-from":R()}],"mask-image-t-to-color":[{"mask-t-to":R()}],"mask-image-r-from-pos":[{"mask-r-from":oe()}],"mask-image-r-to-pos":[{"mask-r-to":oe()}],"mask-image-r-from-color":[{"mask-r-from":R()}],"mask-image-r-to-color":[{"mask-r-to":R()}],"mask-image-b-from-pos":[{"mask-b-from":oe()}],"mask-image-b-to-pos":[{"mask-b-to":oe()}],"mask-image-b-from-color":[{"mask-b-from":R()}],"mask-image-b-to-color":[{"mask-b-to":R()}],"mask-image-l-from-pos":[{"mask-l-from":oe()}],"mask-image-l-to-pos":[{"mask-l-to":oe()}],"mask-image-l-from-color":[{"mask-l-from":R()}],"mask-image-l-to-color":[{"mask-l-to":R()}],"mask-image-x-from-pos":[{"mask-x-from":oe()}],"mask-image-x-to-pos":[{"mask-x-to":oe()}],"mask-image-x-from-color":[{"mask-x-from":R()}],"mask-image-x-to-color":[{"mask-x-to":R()}],"mask-image-y-from-pos":[{"mask-y-from":oe()}],"mask-image-y-to-pos":[{"mask-y-to":oe()}],"mask-image-y-from-color":[{"mask-y-from":R()}],"mask-image-y-to-color":[{"mask-y-to":R()}],"mask-image-radial":[{"mask-radial":[me,he]}],"mask-image-radial-from-pos":[{"mask-radial-from":oe()}],"mask-image-radial-to-pos":[{"mask-radial-to":oe()}],"mask-image-radial-from-color":[{"mask-radial-from":R()}],"mask-image-radial-to-color":[{"mask-radial-to":R()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":ae()}],"mask-image-conic-pos":[{"mask-conic":[Ee]}],"mask-image-conic-from-pos":[{"mask-conic-from":oe()}],"mask-image-conic-to-pos":[{"mask-conic-to":oe()}],"mask-image-conic-from-color":[{"mask-conic-from":R()}],"mask-image-conic-to-color":[{"mask-conic-to":R()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:le()}],"mask-repeat":[{mask:fe()}],"mask-size":[{mask:S()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",me,he]}],filter:[{filter:["","none",me,he]}],blur:[{blur:ve()}],brightness:[{brightness:[Ee,me,he]}],contrast:[{contrast:[Ee,me,he]}],"drop-shadow":[{"drop-shadow":["","none",O,ro,so]}],"drop-shadow-color":[{"drop-shadow":R()}],grayscale:[{grayscale:["",Ee,me,he]}],"hue-rotate":[{"hue-rotate":[Ee,me,he]}],invert:[{invert:["",Ee,me,he]}],saturate:[{saturate:[Ee,me,he]}],sepia:[{sepia:["",Ee,me,he]}],"backdrop-filter":[{"backdrop-filter":["","none",me,he]}],"backdrop-blur":[{"backdrop-blur":ve()}],"backdrop-brightness":[{"backdrop-brightness":[Ee,me,he]}],"backdrop-contrast":[{"backdrop-contrast":[Ee,me,he]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ee,me,he]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ee,me,he]}],"backdrop-invert":[{"backdrop-invert":["",Ee,me,he]}],"backdrop-opacity":[{"backdrop-opacity":[Ee,me,he]}],"backdrop-saturate":[{"backdrop-saturate":[Ee,me,he]}],"backdrop-sepia":[{"backdrop-sepia":["",Ee,me,he]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":U()}],"border-spacing-x":[{"border-spacing-x":U()}],"border-spacing-y":[{"border-spacing-y":U()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",me,he]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ee,"initial",me,he]}],ease:[{ease:["linear","initial",L,me,he]}],delay:[{delay:[Ee,me,he]}],animate:[{animate:["none",J,me,he]}
vendor: 7,824 bytes, line 49
49],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[j,me,he]}],"perspective-origin":[{"perspective-origin":P()}],rotate:[{rotate:Oe()}],"rotate-x":[{"rotate-x":Oe()}],"rotate-y":[{"rotate-y":Oe()}],"rotate-z":[{"rotate-z":Oe()}],scale:[{scale:at()}],"scale-x":[{"scale-x":at()}],"scale-y":[{"scale-y":at()}],"scale-z":[{"scale-z":at()}],"scale-3d":["scale-3d"],skew:[{skew:Ie()}],"skew-x":[{"skew-x":Ie()}],"skew-y":[{"skew-y":Ie()}],transform:[{transform:[me,he,"","none","gpu","cpu"]}],"transform-origin":[{origin:P()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ut()}],"translate-x":[{"translate-x":ut()}],"translate-y":[{"translate-y":ut()}],"translate-z":[{"translate-z":ut()}],"translate-none":["translate-none"],accent:[{accent:R()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:R()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",me,he]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":U()}],"scroll-mx":[{"scroll-mx":U()}],"scroll-my":[{"scroll-my":U()}],"scroll-ms":[{"scroll-ms":U()}],"scroll-me":[{"scroll-me":U()}],"scroll-mt":[{"scroll-mt":U()}],"scroll-mr":[{"scroll-mr":U()}],"scroll-mb":[{"scroll-mb":U()}],"scroll-ml":[{"scroll-ml":U()}],"scroll-p":[{"scroll-p":U()}],"scroll-px":[{"scroll-px":U()}],"scroll-py":[{"scroll-py":U()}],"scroll-ps":[{"scroll-ps":U()}],"scroll-pe":[{"scroll-pe":U()}],"scroll-pt":[{"scroll-pt":U()}],"scroll-pr":[{"scroll-pr":U()}],"scroll-pb":[{"scroll-pb":U()}],"scroll-pl":[{"scroll-pl":U()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",me,he]}],fill:[{fill:["none",...R()]}],"stroke-w":[{stroke:[Ee,xi,is,uf]}],stroke:[{stroke:["none",...R()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},W5=z5(I5);function Ho(...n){return W5(Iy(n))}function eE({delayDuration:n=0,...s}){return g.jsx(x5,{"data-loc":"client/src/components/ui/tooltip.tsx:11","data-slot":"tooltip-provider",delayDuration:n,...s})}const $0=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,I0=Iy,tE=(n,s)=>i=>{var l;if(s?.variants==null)return I0(n,i?.class,i?.className);const{variants:c,defaultVariants:f}=s,d=Object.keys(c).map(y=>{const b=i?.[y],v=f?.[y];if(b===null)return null;const w=$0(b)||$0(v);return c[y][w]}),h=i&&Object.entries(i).reduce((y,b)=>{let[v,w]=b;return w===void 0||(y[v]=w),y},{}),m=s==null||(l=s.compoundVariants)===null||l===void 0?void 0:l.reduce((y,b)=>{let{class:v,className:w,...O}=b;return Object.entries(O).every(_=>{let[j,H]=_;return Array.isArray(H)?H.includes({...f,...h}[j]):{...f,...h}[j]===H})?[...y,v,w]:y},[]);return I0(n,d,m,i?.class,i?.className)},nE=tE("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-transparent shadow-xs hover:bg-accent dark:bg-transparent dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function it({className:n,variant:s,size:i,asChild:l=!1,...c}){const f=l?hS:"button";return g.jsx(f,{"data-loc":"client/src/components/ui/button.tsx:52","data-slot":"button",className:Ho(nE({variant:s,size:i,className:n})),...c})}function aE({className:n,...s}){return g.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:7","data-slot":"card",className:Ho("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",n
vendor: 6,524 bytes, lines 49-134
49),...s})}function sE({className:n,...s}){return g.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:66","data-slot":"card-content",className:Ho("px-6",n),...s})}/**
50 * @license lucide-react v0.453.0 - ISC
51 *
52 * This source code is licensed under the ISC license.
53 * See the LICENSE file in the root directory of this source tree.
54 */const rE=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),cv=(...n)=>n.filter((s,i,l)=>!!s&&l.indexOf(s)===i).join(" ");/**
55 * @license lucide-react v0.453.0 - ISC
56 *
57 * This source code is licensed under the ISC license.
58 * See the LICENSE file in the root directory of this source tree.
59 */var iE={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
60 * @license lucide-react v0.453.0 - ISC
61 *
62 * This source code is licensed under the ISC license.
63 * See the LICENSE file in the root directory of this source tree.
64 */const lE=A.forwardRef(({color:n="currentColor",size:s=24,strokeWidth:i=2,absoluteStrokeWidth:l,className:c="",children:f,iconNode:d,...h},m)=>A.createElement("svg",{ref:m,...iE,width:s,height:s,stroke:n,strokeWidth:l?Number(i)*24/Number(s):i,className:cv("lucide",c),...h},[...d.map(([y,b])=>A.createElement(y,b)),...Array.isArray(f)?f:[f]]));/**
65 * @license lucide-react v0.453.0 - ISC
66 *
67 * This source code is licensed under the ISC license.
68 * See the LICENSE file in the root directory of this source tree.
69 */const Te=(n,s)=>{const i=A.forwardRef(({className:l,...c},f)=>A.createElement(lE,{ref:f,iconNode:s,className:cv(`lucide-${rE(n)}`,l),...c}));return i.displayName=`${n}`,i};/**
70 * @license lucide-react v0.453.0 - ISC
71 *
72 * This source code is licensed under the ISC license.
73 * See the LICENSE file in the root directory of this source tree.
74 */const uv=Te("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
75 * @license lucide-react v0.453.0 - ISC
76 *
77 * This source code is licensed under the ISC license.
78 * See the LICENSE file in the root directory of this source tree.
79 */const oE=Te("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
80 * @license lucide-react v0.453.0 - ISC
81 *
82 * This source code is licensed under the ISC license.
83 * See the LICENSE file in the root directory of this source tree.
84 */const W0=Te("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);/**
85 * @license lucide-react v0.453.0 - ISC
86 *
87 * This source code is licensed under the ISC license.
88 * See the LICENSE file in the root directory of this source tree.
89 */const cE=Te("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
90 * @license lucide-react v0.453.0 - ISC
91 *
92 * This source code is licensed under the ISC license.
93 * See the LICENSE file in the root directory of this source tree.
94 */const uE=Te("Bug",[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]]);/**
95 * @license lucide-react v0.453.0 - ISC
96 *
97 * This source code is licensed under the ISC license.
98 * See the LICENSE file in the root directory of this source tree.
99 */const io=Te("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
100 * @license lucide-react v0.453.0 - ISC
101 *
102 * This source code is licensed under the ISC license.
103 * See the LICENSE file in the root directory of this source tree.
104 */const fE=Te("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
105 * @license lucide-react v0.453.0 - ISC
106 *
107 * This source code is licensed under the ISC license.
108 * See the LICENSE file in the root directory of this source tree.
109 */const dE=Te("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
110 * @license lucide-react v0.453.0 - ISC
111 *
112 * This source code is licensed under the ISC license.
113 * See the LICENSE file in the root directory of this source tree.
114 */const hE=Te("CircleUser",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]]);/**
115 * @license lucide-react v0.453.0 - ISC
116 *
117 * This source code is licensed under the ISC license.
118 * See the LICENSE file in the root directory of this source tree.
119 */const mE=Te("Clapperboard",[["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z",key:"1tn4o7"}],["path",{d:"m6.2 5.3 3.1 3.9",key:"iuk76l"}],["path",{d:"m12.4 3.4 3.1 4",key:"6hsd6n"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z",key:"ltgou9"}]]);/**
120 * @license lucide-react v0.453.0 - ISC
121 *
122 * This source code is licensed under the ISC license.
123 * See the LICENSE file in the root directory of this source tree.
124 */const pE=Te("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
125 * @license lucide-react v0.453.0 - ISC
126 *
127 * This source code is licensed under the ISC license.
128 * See the LICENSE file in the root directory of this source tree.
129 */const Bf=Te("Cloud",[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]]);/**
130 * @license lucide-react v0.453.0 - ISC
131 *
132 * This source code is licensed under the ISC license.
133 * See the LICENSE file in the root directory of this source tree.
134 */const eg=Te("Fingerprint",[["path",{d:"M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4",key:"1nerag"}],["path",{d:"M14 13.12c0 2.38 0 6.38-1 8.88",key:"o46ks0"}],["path",{d:"M17.29 21.02c.12-.6.43-2.3.5-3.02",key:"ptglia"}],["path",{d:"M2 12a10 10 0 0 1 18-6",key:"ydlgp0"}],["path",{d:"M2 16h.01",key:"1gqxmh"}],["path",{d:"M21.8 16c.2-2 .131-5.354 0-6",key:"drycrb"}
134],["path",{d:"M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2",key:"1tidbn"}],["path",{d:"M8.65 22c.21-.66.45-1.32.57-2",key:"13wd9y"}],["path",{d:"M9 6.8a6 6 0 0 1 9 5.2v2",key:"1fr1j5"}]]);/**
135 * @license lucide-react v0.453.0 - ISC
136 *
137 * This source code is licensed under the ISC license.
138 * See the LICENSE file in the root directory of this source tree.
139 */const tg=Te("Gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);/**
140 * @license lucide-react v0.453.0 - ISC
141 *
142 * This source code is licensed under the ISC license.
143 * See the LICENSE file in the root directory of this source tree.
144 */const fv=Te("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/**
145 * @license lucide-react v0.453.0 - ISC
146 *
147 * This source code is licensed under the ISC license.
148 * See the LICENSE file in the root directory of this source tree.
149 */const dv=Te("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
150 * @license lucide-react v0.453.0 - ISC
151 *
152 * This source code is licensed under the ISC license.
153 * See the LICENSE file in the root directory of this source tree.
154 */const hv=Te("KeyRound",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);/**
155 * @license lucide-react v0.453.0 - ISC
156 *
157 * This source code is licensed under the ISC license.
158 * See the LICENSE file in the root directory of this source tree.
159 */const gE=Te("Layers3",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m6.08 9.5-3.5 1.6a1 1 0 0 0 0 1.81l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9a1 1 0 0 0 0-1.83l-3.5-1.59",key:"1e5n1m"}],["path",{d:"m6.08 14.5-3.5 1.6a1 1 0 0 0 0 1.81l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9a1 1 0 0 0 0-1.83l-3.5-1.59",key:"1iwflc"}]]);/**
160 * @license lucide-react v0.453.0 - ISC
161 *
162 * This source code is licensed under the ISC license.
163 * See the LICENSE file in the root directory of this source tree.
164 */const yE=Te("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/**
165 * @license lucide-react v0.453.0 - ISC
166 *
167 * This source code is licensed under the ISC license.
168 * See the LICENSE file in the root directory of this source tree.
169 */const vE=Te("LockKeyhole",[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]]);/**
170 * @license lucide-react v0.453.0 - ISC
171 *
172 * This source code is licensed under the ISC license.
173 * See the LICENSE file in the root directory of this source tree.
174 */const xE=Te("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
175 * @license lucide-react v0.453.0 - ISC
176 *
177 * This source code is licensed under the ISC license.
178 * See the LICENSE file in the root directory of this source tree.
179 */const bE=Te("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
180 * @license lucide-react v0.453.0 - ISC
181 *
182 * This source code is licensed under the ISC license.
183 * See the LICENSE file in the root directory of this source tree.
184 */const wE=Te("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
185 * @license lucide-react v0.453.0 - ISC
186 *
187 * This source code is licensed under the ISC license.
188 * See the LICENSE file in the root directory of this source tree.
189 */const id=Te("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
190 * @license lucide-react v0.453.0 - ISC
191 *
192 * This source code is licensed under the ISC license.
193 * See the LICENSE file in the root directory of this source tree.
194 */const SE=Te("Radar",[["path",{d:"M19.07 4.93A10 10 0 0 0 6.99 3.34",key:"z3du51"}
194],["path",{d:"M4 6h.01",key:"oypzma"}],["path",{d:"M2.29 9.62A10 10 0 1 0 21.31 8.35",key:"qzzz0"}],["path",{d:"M16.24 7.76A6 6 0 1 0 8.23 16.67",key:"1yjesh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M17.99 11.66A6 6 0 0 1 15.77 16.67",key:"1u2y91"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"m13.41 10.59 5.66-5.66",key:"mhq4k0"}]]);/**
195 * @license lucide-react v0.453.0 - ISC
196 *
197 * This source code is licensed under the ISC license.
198 * See the LICENSE file in the root directory of this source tree.
199 */const EE=Te("Radio",[["path",{d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9",key:"1vaf9d"}],["path",{d:"M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5",key:"u1ii0m"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5",key:"1j5fej"}],["path",{d:"M19.1 4.9C23 8.8 23 15.1 19.1 19",key:"10b0cb"}]]);/**
200 * @license lucide-react v0.453.0 - ISC
201 *
202 * This source code is licensed under the ISC license.
203 * See the LICENSE file in the root directory of this source tree.
204 */const OE=Te("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
205 * @license lucide-react v0.453.0 - ISC
206 *
207 * This source code is licensed under the ISC license.
208 * See the LICENSE file in the root directory of this source tree.
209 */const jE=Te("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
210 * @license lucide-react v0.453.0 - ISC
211 *
212 * This source code is licensed under the ISC license.
213 * See the LICENSE file in the root directory of this source tree.
214 */const AE=Te("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
215 * @license lucide-react v0.453.0 - ISC
216 *
217 * This source code is licensed under the ISC license.
218 * See the LICENSE file in the root directory of this source tree.
219 */const TE=Te("Settings2",[["path",{d:"M20 7h-9",key:"3s1dr2"}],["path",{d:"M14 17H5",key:"gfn3mx"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);/**
220 * @license lucide-react v0.453.0 - ISC
221 *
222 * This source code is licensed under the ISC license.
223 * See the LICENSE file in the root directory of this source tree.
224 */const os=Te("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
225 * @license lucide-react v0.453.0 - ISC
226 *
227 * This source code is licensed under the ISC license.
228 * See the LICENSE file in the root directory of this source tree.
229 */const _E=Te("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
230 * @license lucide-react v0.453.0 - ISC
231 *
232 * This source code is licensed under the ISC license.
233 * See the LICENSE file in the root directory of this source tree.
234 */const In=Te("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
235 * @license lucide-react v0.453.0 - ISC
236 *
237 * This source code is licensed under the ISC license.
238 * See the LICENSE file in the root directory of this source tree.
239 */const mv=Te("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
240 * @license lucide-react v0.453.0 - ISC
241 *
242 * This source code is licensed under the ISC license.
243 * See the LICENSE file in the root directory of this source tree.
244 */const NE=Te("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
245 * @license lucide-react v0.453.0 - ISC
246 *
247 * This source code is licensed under the ISC license.
248 * See the LICENSE file in the root directory of this source tree.
249 */const ng=Te("WandSparkles",[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]]);/**
250 * @license lucide-react v0.453.0 - ISC
251 *
252 * This source code is licensed under the ISC license.
253 * See the LICENSE file in the root directory of this source tree.
254 */const Do=Te("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);function CE(n,s){if(n instanceof RegExp)return{keys:!1,pattern:n};var i,l,c,f,d=[],h="",m=n.split("/");for(m[0]||m.shift();c=m.shift();)i=c[0],i==="*"?(d.push(i),h+=c[1]==="?"?"(?:/(.*))?":"/(.*)"):i===":"?(l=c.indexOf("?",1),f=c.indexOf(".",1),d.push(c.substring(1,~l?l:~f?f:c.length)),h+=~l&&!~f?"(?:/([^/]+?))?":"/([^/]+?)",~f&&(h+=(~l?"?":"")+"\\"+c.substring(f))):h+="/"+c;return{keys:d,pattern:new RegExp("^"+h+(s?"(?=$|/)":"/?$"),"i")}}var ff={exports:{}},df={};/**
255 * @license React
256 * use-sync-external-store-shim.production.js
257 *
258 * Copyright (c) Meta Platforms, Inc. and affiliates.
259 *
260 * This source code is licensed under the MIT license found in the
261 * LICENSE file in the root directory of this source tree.
262 */var ag;function ME(){if(ag)return df;ag=1;var n=bo();function s(v,w){return v===w&&(v!==0||1/v===1/w)||v!==v&&w!==w}var i=typeof Object.is=="function"?Object.is:s,l=n.useState,c=n.useEffect,f=n.useLayoutEffect,d=n.useDebugValue;function h(v,w){var O=w(),_=l({inst:{value:O,getSnapshot:w}}),j=_[0].inst,H=_[1];return f(function(){j.value=O,j.getSnapshot=w,m(j)&&H({inst:j})},[v,O,w]),c(function(){return m(j)&&H({inst:j}),v(function(){m(j)&&H({inst:j})})},[v]),d(O),O}function m(v){var w=v.getSnapshot;v=v.value;try{var O=w();return!i(v,O)}catch{return!0}}function y(v,w){return w()}var b=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?y:h;return df.useSyncExternalStore=n.useSyncExternalStore!==void 0?n.useSyncExternalStore:b,df}var sg;function RE(){return sg||(sg=1,ff.exports=ME()),ff.exports}var zE=RE();const HE=Sg.useInsertionEffect,DE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",kE=DE?A.useLayoutEffect:A.useEffect,UE=HE||kE,pv=n=>{const s=A.useRef([n,(...i)=>s[0](...i)]).current;return UE(()=>{s[0]=n}
262),s[1]},qE="popstate",ld="pushState",od="replaceState",LE="hashchange",rg=[qE,ld,od,LE],BE=n=>{for(const s of rg)addEventListener(s,n);return()=>{for(const s of rg)removeEventListener(s,n)}},gv=(n,s)=>zE.useSyncExternalStore(BE,n,s),QE=()=>location.search,YE=({ssrSearch:n=""}={})=>gv(QE,()=>n),ig=()=>location.pathname,GE=({ssrPath:n}={})=>gv(ig,n?()=>n:ig),VE=(n,{replace:s=!1,state:i=null}={})=>history[s?od:ld](i,"",n),PE=(n={})=>[GE(n),VE],lg=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[lg]>"u"){for(const n of[ld,od]){const s=history[n];history[n]=function(){const i=s.apply(this,arguments),l=new Event(n);return l.arguments=arguments,dispatchEvent(l),i}}Object.defineProperty(window,lg,{value:!0})}const XE=(n,s)=>s.toLowerCase().indexOf(n.toLowerCase())?"~"+s:s.slice(n.length)||"/",yv=(n="")=>n==="/"?"":n,KE=(n,s)=>n[0]==="~"?n.slice(1):yv(s)+n,ZE=(n="",s)=>XE(og(yv(n)),og(s)),og=n=>{try{return decodeURI(n)}catch{return n}},vv={hook:PE,searchHook:YE,parser:CE,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:n=>n},xv=A.createContext(vv),Di=()=>A.useContext(xv),bv={},wv=A.createContext(bv),FE=()=>A.useContext(wv),ko=n=>{const[s,i]=n.hook(n);return[ZE(n.base,s),pv((l,c)=>i(KE(l,n.base),c))]},ki=()=>ko(Di()),Sv=(n,s,i,l)=>{const{pattern:c,keys:f}=s instanceof RegExp?{keys:!1,pattern:s}:n(s||"*",l),d=c.exec(i)||[],[h,...m]=d;return h!==void 0?[!0,(()=>{const y=f!==!1?Object.fromEntries(f.map((v,w)=>[v,m[w]])):d.groups;let b={...m};return y&&Object.assign(b,y),b})(),...l?[h]:[]]:[!1,null]},JE=({children:n,...s})=>{const i=Di(),l=s.hook?vv:i;let c=l;const[f,d]=s.ssrPath?.split("?")??[];d&&(s.ssrSearch=d,s.ssrPath=f),s.hrefs=s.hrefs??s.hook?.hrefs;let h=A.useRef({}),m=h.current,y=m;for(let b in l){const v=b==="base"?l[b]+(s[b]||""):s[b]||l[b];m===y&&v!==y[b]&&(h.current=y={...y}),y[b]=v,(v!==l[b]||v!==c[b])&&(c=y)}return A.createElement(xv.Provider,{value:c,children:n})},cg=({children:n,component:s},i)=>s?A.createElement(s,{params:i}):typeof n=="function"?n(i):n,$E=n=>{let s=A.useRef(bv);const i=s.current;return s.current=Object.keys(n).length!==Object.keys(i).length||Object.entries(n).some(([l,c])=>c!==i[l])?n:i},cr=({path:n,nest:s,match:i,...l})=>{const c=Di(),[f]=ko(c),[d,h,m]=i??Sv(c.parser,n,f,s),y=$E({...FE(),...h});if(!d)return null;const b=m?A.createElement(JE,{base:m},cg(l,y)):cg(l,y);return A.createElement(wv.Provider,{value:y,children:b})};A.forwardRef((n,s)=>{const i=Di(),[l,c]=ko(i),{to:f="",href:d=f,onClick:h,asChild:m,children:y,className:b,replace:v,state:w,...O}=n,_=pv(H=>{H.ctrlKey||H.metaKey||H.altKey||H.shiftKey||H.button!==0||(h?.(H),H.defaultPrevented||(H.preventDefault(),c(d,n)))}),j=i.hrefs(d[0]==="~"?d.slice(1):i.base+d,i);return m&&A.isValidElement(y)?A.cloneElement(y,{onClick:_,href:j}):A.createElement("a",{...O,onClick:_,href:j,className:b?.call?b(l===d):b,children:y,ref:s})});const Qf=n=>Array.isArray(n)?n.flatMap(s=>Qf(s&&s.type===A.Fragment?s.props.children:s)):[n],IE=({children:n,location:s})=>{const i=Di(),[l]=ko(i);typeof window<"u"&&(window.__WOUTER_ROUTES__||(window.__WOUTER_ROUTES__=[]),Qf(n).forEach(f=>{if(A.isValidElement(f)&&f.props.path){const d=f.props.path;window.__WOUTER_ROUTES__.includes(d)||window.__WOUTER_ROUTES__.push(d)}}));for(const c of Qf(n)){let f=0;if(A.isValidElement(c)&&(f=Sv(i.parser,c.props.path,s||l,c.props.nest))[0])return A.cloneElement(c,{match:f})}return null};function ug(){const[,n]=ki(),s=()=>{n("/")};return g.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:14",className:"min-h-screen w-full flex items-center justify-center bg-gradient-to-br from-slate-50 to-slate-100",children:g.jsx(aE,{"data-loc":"client/src/pages/NotFound.tsx:15",className:"w-full max-w-lg mx-4 shadow-lg border-0 bg-white/80 backdrop-blur-sm",children:g.jsxs(sE,{"data-loc":"client/src/pages/NotFound.tsx:16",className:"pt-8 pb-8 text-center",children:[g.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:17",className:"flex justify-center mb-6",children:g.jsxs("div",{"data-loc":"client/src/pages/NotFound.tsx:18",className:"relative",children:[g.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:19",className:"absolute inset-0 bg-red-100 rounded-full animate-pulse"}),g.jsx(dE,{"data-loc":"client/src/pages/NotFound.tsx:20",className:"relative h-16 w-16 text-red-500"})]})}),g.jsx("h1",{"data-loc":"client/src/pages/NotFound.tsx:24",className:"text-4xl font-bold text-slate-900 mb-2",children:"404"}),g.jsx("h2",{"data-loc":"client/src/pages/NotFound.tsx:26",className:"text-xl font-semibold text-slate-700 mb-4",children:"Page Not Found"}),g.jsxs("p",{"data-loc":"client/src/pages/NotFound.tsx:30",className:"text-slate-600 mb-8 leading-relaxed",children:["Sorry, the page you are looking for doesn't exist.",g.jsx("br",{"data-loc":"client/src/pages/NotFound.tsx:32"}),"It may have been moved or deleted."]}),g.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:36",id:"not-found-button-group",className:"flex flex-col sm:flex-row gap-3 justify-center",children:g.jsxs(it,{"data-loc":"client/src/pages/NotFound.tsx:40",onClick:s,className:"bg-blue-600 hover:bg-blue-700 text-white px-6 py-2.5 rounded-lg transition-all duration-200 shadow-md hover:shadow-lg",children:[g.jsx(dv,{"data-loc":"client/src/pages/NotFound.tsx:44",className:"w-4 h-4 mr-2"}),"Go Home"]})})]})})})}class WE extends A.Component{constructor(s){super(s),this.state={hasError:!1,error:null}}static getDerivedStateFromError(s){return{hasError:!0,error:s}}render(){return this.state.hasError?g.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:27",className:"flex items-center justify-center min-h-screen p-8 bg-background",children:g.jsxs("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:28",className:"flex flex-col items-center w-full max-w-2xl p-8",children:[g.jsx(mv,{"data-loc":"client/src/components/ErrorBoundary.tsx:29",size:48,className:"text-destructive mb-6 flex-shrink-0"}),g.jsx("h2",{"data-loc":"client/src/components/ErrorBoundary.tsx:34",className:"text-xl mb-4",children:"An unexpected error occurred."}),g.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:36",className:"p-4 w-full rounded bg-muted overflow-auto mb-6",children:g.jsx("pre",{"data-loc":"client/src/components/ErrorBoundary.tsx:37",className:"text-sm text-muted-foreground whitespace-break-spaces",children:this.state.error?.stack})}),g.jsxs("button",{"data-loc":"client/src/components/ErrorBoundary.tsx:42",onClick:()=>window.location.reload(),className:Ho("flex items-center gap-2 px-4 py-2 rounded-lg","bg-primary text-primary-foreground","hover:opacity-90 cursor-pointer"),children:[g.jsx(jE,{"data-loc":"client/src/components/ErrorBoundary.tsx:50",size:16}),"Reload Page"]})]})}):this.props.children}}const eO=A.createContext(void 0);function tO({children:n,defaultTheme:s="light",switchable:i=!1}){const[l,c]=A.useState(()=>i&&localStorage.getItem("theme")||s);A.useEffect(()=>{const d=document.documentElement;l==="dark"?d.classList.add("dark"):d.classList.remove("dark"),i&&localStorage.setItem("theme",l)},[l,i]);const f=i?()=>{c(d=>d==="light"?"dark":"light")}:void 0;return g.jsx(eO.Provider,{"data-loc":"client/src/contexts/ThemeContext.tsx:52",value:{theme:l,toggleTheme:f,switchable:i},children:n})}const nO="Free until January 02, 2027 at 12:00 AM EST",aO=[{icon:id,label:"Autonomous production"},{icon:_E,label:"Consent-gated identity"},{icon:Bf,label:"Cloud computer"},{icon:Do,label:"Sentinel reliability"}],sO=[{line:"CapCut edits. Nexus creates.",accent:"text-fuchsia-300"},{line:"Why trim clips when AI directs?",accent:"text-cyan-300"},{line:"Your editor just got replaced by an agent.",accent:"text-fuchsia-300"},{line:"Zero timeline. All cinematic.",accent:"text-cyan-300"},{line:"Brief in. Blockbuster out.",accent:"text-fuchsia-300"},{line:"The last video tool you'll ever learn.",accent:"text-cyan-300"}];function rO(){const[,n]=ki(),[s,i]=A.useState(!1),l=()=>{i(!0),setTimeout(()=>n("/studio"),600)};return g.jsxs("div",{"data-loc":"client/src/pages/Welcome.tsx:34",className:`min-h-screen bg-[#050609] transition-opacity duration-500 ${s?"opacity-0":"opacity-100"}`,children:[g.jsxs("div",{"data-loc":"client/src/pages/Welcome.tsx:40",className:"sticky top-0 z-20 flex items-center justify-center gap-2 border-b border-cyan-300/20 bg-[#050609]/95 px-4 py-2.5 backdrop-blur-sm",children:[g.jsx(In,{"data-loc":"client/src/pages/Welcome.tsx:41",size:14,className:"shrink-0 text-cyan-300"}),g.jsx("span",{"data-loc":"client/src/pages/Welcome.tsx:42",className:"text-center font-mono text-[10px] uppercase tracking-[0.15em] text-cyan-200 sm:text-[11px]",children:nO}),g.jsx(In,{"data-loc":"client/src/pages/Welcome.tsx:45",size:14,className:"shrink-0 text-cyan-300"})]}),g.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:49",className:"pointer-events-none fixed inset-0 opacity-[0.03]",style:{backgroundImage:"linear-gradient(rgba(0,231,255,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(0,231,255,.3) 1px, transparent 1px)",backgroundSize:"60px 60px"}}),g.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:57",className:"pointer-events-none fixed left-1/4 top-1/3 h-64 w-64 roun
262ded-full bg-fuchsia-500/10 blur-[100px]"}),g.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:58",className:"pointer-events-none fixed bottom-1/4 right-1/4 h-48 w-48 rounded-full bg-cyan-400/10 blur-[80px]"}),g.jsxs("main",{"data-loc":"client/src/pages/Welcome.tsx:61",className:"relative z-10 mx-auto flex w-full max-w-4xl flex-col items-center px-5 py-10 sm:py-14",children:[g.jsxs("div",{"data-loc":"client/src/pages/Welcome.tsx:63",className:"mb-6 flex items-center gap-3",children:[g.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:64",className:"grid h-11 w-11 shrink-0 place-items-center border border-cyan-300/40 bg-cyan-300/10 sm:h-12 sm:w-12",children:g.jsx(Do,{"data-loc":"client/src/pages/Welcome.tsx:65",size:22,className:"text-cyan-300"})}),g.jsxs("div",{"data-loc":"client/src/pages/Welcome.tsx:67",children:[g.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:68",className:"font-mono text-[9px] uppercase tracking-[0.3em] text-white/35 sm:text-[10px]",children:"Nexus / Studio"}),g.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:71",className:"text-base font-bold tracking-tight text-white sm:text-lg",children:"Autonomous Video Editor"})]})]}),g.jsxs("h1",{"data-loc":"client/src/pages/Welcome.tsx:78",className:"text-center text-2xl font-black leading-tight tracking-tight text-white sm:text-3xl md:text-4xl",children:["Welcome to"," ",g.jsx("span",{"data-loc":"client/src/pages/Welcome.tsx:80",className:"bg-gradient-to-r from-fuchsia-400 to-cyan-300 bg-clip-text text-transparent",children:"Results that Compete"})," ","with the best of the best"]}),g.jsx("p",{"data-loc":"client/src/pages/Welcome.tsx:86",className:"mx-auto mt-4 max-w-2xl text-center text-sm leading-relaxed text-white/50 sm:text-base md:text-lg",children:"Fully AI autonomous video creation results for any major platform you choose — using CapCut-quality tools that do the job so you no longer need to."}),g.jsx("h2",{"data-loc":"client/src/pages/Welcome.tsx:93",className:"mt-8 text-center text-lg font-semibold tracking-tight text-white/70 sm:text-xl",children:"Autonomous AI Video Production, Simplified"}),g.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:98",className:"mt-6 flex flex-wrap items-center justify-center gap-2.5 sm:gap-3",children:aO.map(({icon:c,label:f})=>g.jsxs("div",{"data-loc":"client/src/pages/Welcome.tsx:100",className:"flex items-center gap-2 border border-white/10 bg-white/[0.03] px-3 py-2 sm:px-4",children:[g.jsx(c,{"data-loc":"client/src/pages/Welcome.tsx:104",size:13,className:"shrink-0 text-cyan-300"}),g.jsx("span",{"data-loc":"client/src/pages/Welcome.tsx:105",className:"text-[11px] text-white/60 sm:text-xs",children:f})]},f))}),g.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:111",className:"mt-6 grid w-full grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",children:sO.map(({line:c,accent:f})=>g.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:113",className:"border border-white/10 bg-white/[0.02] px-4 py-3 text-center",children:g.jsx("span",{"data-loc":"client/src/pages/Welcome.tsx:117",className:`text-sm font-semibold ${f}`,children:c})},c))}),g.jsxs(it,{"data-loc":"client/src/pages/Welcome.tsx:123",onClick:l,className:"mt-8 h-12 bg-gradient-to-r from-fuchsia-500 to-fuchsia-400 px-8 text-base font-bold text-white shadow-[0_0_40px_rgba(255,46,196,0.3)] hover:from-fuchsia-400 hover:to-fuchsia-300 sm:h-14 sm:px-10",children:["Enter Studio ",g.jsx(oE,{"data-loc":"client/src/pages/Welcome.tsx:127",size:18,className:"ml-2"})]}),g.jsx("div",{"data-loc":"client/src/pages/Welcome.tsx:131",className:"mt-8 text-center font-mono text-[9px] uppercase tracking-[0.2em] text-white/20 sm:text-[10px]",children:"TikTok · Reels · Shorts · Cinematic quality"})]})]})}const iO="Free until January 02, 2027 at 12:00 AM EST";function lO(){const[,n]=ki(),[s,i]=A.useState("register"),[l,c]=A.useState("credentials"),[f,d]=A.useState(""),[h,m]=A.useState(""),[y,b]=A.useState(""),[v,w]=A.useState(""),[O,_]=A.useState(""),[j,H]=A.useState(""),[L,J]=A.useState(""),[ee,ae]=A.useState(null),P=jt.twoFactor.sendCode.useMutation({onSuccess:$=>{$.devCode&&_($.devCode),J("Verification code sent to your email"),H("")},onError:$=>H($.message)}),X=jt.twoFactor.verifyCode.useMutation({onSuccess:()=>{J("Email verified!"),H(""),s==="register"?c("passkey-setup"):(J("Signed in successfully!"),setTimeout(()=>n("/studio"),800))},onError:$=>H($.message)}
262),C=jt.localAuth.register.useMutation({onSuccess:$=>{ae($.userId),J(""),H(""),P.mutate({email:f,purpose:"register"}),c("verify-email")},onError:$=>{H($.message),J("")}}),U=jt.localAuth.login.useMutation({onSuccess:$=>{ae($.userId),J(""),H(""),P.mutate({email:f,purpose:"login"}),c("verify-email")},onError:$=>{H($.message),J("")}}),W=jt.twoFactor.passkeyRegister.useMutation({onSuccess:()=>{J("Passkey registered! You can use it for future sign-ins."),setTimeout(()=>n("/studio"),800)},onError:$=>H($.message)}),ne=$=>{$.preventDefault(),H(""),J(""),s==="register"?C.mutate({email:f,displayName:h,password:y}):U.mutate({email:f,password:y})},se=$=>{$.preventDefault(),X.mutate({email:f,code:v,purpose:s==="register"?"register":"login"})},te=async()=>{try{const $=`pk-${Date.now()}-${Math.random().toString(36).slice(2)}`,re=`pub-${Math.random().toString(36).slice(2)}`;W.mutate({credentialId:$,publicKey:re,deviceName:navigator.userAgent.slice(0,80)})}catch{H("Passkey registration failed. You can skip this and set it up later.")}};return g.jsxs("div",{"data-loc":"client/src/pages/Auth.tsx:106",className:"flex min-h-screen flex-col bg-[#050609] pb-20 md:pb-0",children:[g.jsxs("div",{"data-loc":"client/src/pages/Auth.tsx:108",className:"flex items-center justify-center gap-2 border-b border-cyan-300/20 bg-cyan-300/5 px-4 py-2.5",children:[g.jsx(In,{"data-loc":"client/src/pages/Auth.tsx:109",size:14,className:"text-cyan-300"}),g.jsx("span",{"data-loc":"client/src/pages/Auth.tsx:110",className:"font-mono text-[11px] uppercase tracking-[0.15em] text-cyan-200",children:iO}),g.jsx(In,{"data-loc":"client/src/pages/Auth.tsx:111",size:14,className:"text-cyan-300"})]}),g.jsx("div",{"data-loc":"client/src/pages/Auth.tsx:114",className:"flex flex-1 items-center justify-center px-4",children:g.jsxs("div",{"data-loc":"client/src/pages/Auth.tsx:115",className:"w-full max-w-md",children:[g.jsxs("div",{"data-loc":"client/src/pages/Auth.tsx:117",className:"mb-8 text-center",children:[g.jsx("div",{"data-loc":"client/src/pages/Auth.tsx:118",className:"mx-auto mb-4 grid h-12 w-12 place-items-center border border-cyan-300/40 bg-cyan-300/10",children:g.jsx(Do,{"data-loc":"client/src/pages/Auth.tsx:119",size:24,className:"text-cyan-300"})}),g.jsxs("h1",{"data-loc":"client/src/pages/Auth.tsx:121",className:"text-2xl font-bold text-white",children:[l==="credentials"&&(s==="register"?"Create your account":"Welcome back"),l==="verify-email"&&"Check your email",l==="passkey-setup"&&"Set up a passkey"]}),g.jsxs("p",{"data-loc":"client/src/pages/Auth.tsx:126",className:"mt-2 text-sm text-white/40",children:[l==="credentials"&&(s==="register"?"Set up your Nexus Studio profile":"Sign in to your studio"),l==="verify-email"&&`We sent a 6-digit code to ${f}`,l==="passkey-setup"&&"Optional: add a passkey for faster, more secure sign-ins"]})]}),l==="credentials"&&g.jsxs("form",{"data-loc":"client/src/pages/Auth.tsx:135",onSubmit:ne,className:"space-y-4 border border-white/10 bg-[#0b0c12] p-6",children:[s==="register"&&g.jsxs("div",{"data-loc":"client/src/pages/Auth.tsx:137",children:[g.jsx("label",{"data-loc":"client/src/pages/Auth.tsx:138",className:"mb-1.5 block text-xs font-semibold text-white/60",children:"Display name"}),g.jsxs("div",{"data-loc":"client/src/pages/Auth.tsx:139",className:"flex items-center gap-2 border border-white/10 bg-black/30 px-3",children:[g.jsx(NE,{"data-loc":"client/src/pages/Auth.tsx:140",size:14,className:"text-white/25"}),g.jsx("input",{"data-loc":"client/src/pages/Auth.tsx:141",type:"text",value:h,onChange:$=>m($.target.value),placeholder:"Your name",className:"h-10 flex-1 bg-transparent text-sm text-white outline-none placeholder:text-white/20",required:!0})]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Auth.tsx:145",children:[g.jsx("label",{"data-loc":"client/src/pages/Auth.tsx:146",className:"mb-1.5 block text-xs font-semibold text-white/60",children:"Email"}),g.jsxs("div",{"data-loc":"client/src/pages/Auth.tsx:147",className:"flex items-center gap-2 border border-white/10 bg-black/30 px-3",children:[g.jsx(bE,{"data-loc":"client/src/pages/Auth.tsx:148",size:14,className:"text-white/25"}),g.jsx("input",{"data-loc":"client/src/pages/Auth.tsx:149",type:"email",value:f,onChange:$=>d($.target.value),placeholder:"[email protected]",className:"h-10 flex-1 bg-transparent text-sm text-white outline-none placeholder:text-white/20",required:!0})]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Auth.tsx:152",children:[g.jsx("label",{"data-loc":"client/src/pages/Auth.tsx:153",className:"mb-1.5 block text-xs font-semibold text-white/60",children:"Password"}),g.jsxs("div",{"data-loc":"client/src/pages/Auth.tsx:154",className:"flex items-center gap-2 border border-white/10 bg-black/30 px-3",children:[g.jsx(xE,{"data-loc":"client/src/pages/Auth.tsx:155",size:14,className:"text-white/25"}),g.jsx("input",{"data-loc":"client/src/pages/Auth.tsx:156",type:"password",value:y,onChange:$=>b($.target.value),placeholder:s==="register"?"Min 8 chars, 1 uppercase, 1 number":"Your password",className:"h-10 flex-1 bg-transparent text-sm text-white outline-none placeholder:text-white/20",required:!0})]})]}),j&&g.jsx("div",{"data-loc":"client/src/pages/Auth.tsx:159",className:"border border-red-400/20 bg-red-400/5 p-3 text-xs text-red-300",children:j}),L&&g.jsx("div",{"data-loc":"client/src/pages/Auth.tsx:160",className:"border border-cyan-300/20 bg-cyan-300/5 p-3 text-xs text-cyan-200",children:L}),g.jsx(it,{"data-loc":"client/src/pages/Auth.tsx:161",type:"submit",disabled:C.isPending||U.isPending,className:"h-11 w-full bg-gradient-to-r from-fuchsia-500 to-fuchsia-400 font-bold text-white hover:from-fuchsia-400 hover:to-fuchsia-300",children:C.isPending||U.isPending?"Processing…":s==="register"?"Create account":"Sign in"}),g.jsx("div",{"data-loc":"client/src/pages/Auth.tsx:164",className:"text-center",children:g.jsx("button",{"data-loc":"client/src/pages/Auth.tsx:165",type:"button",onClick:()=>{i(s==="register"?"login":"register"),H(""),J("")},className:"text-xs text-cyan-300 hover:text-cyan-200",children:s==="register"?"Already have an account? Sign in":"Need an account? Create one"})})]}),l==="verify-email"&&g.jsxs("form",{"data-loc":"client/src/pages/Auth.tsx:174",onSubmit:se,className:"space-y-4 border border-white/10 bg-[#0b0c12] p-6",children:[g.jsxs("div",{"data-loc":"client/src/pages/Auth.tsx:175",className:"text-center",children:[g.jsx(os,{"data-loc":"client/src/pages/Auth.tsx:176",size:32,className:"mx-auto mb-3 text-cyan-300"}),g.jsx("p",{"data-loc":"client/src/pages/Auth.tsx:177",className:"text-sm text-white/50",children:"Enter the 6-digit verification code"}),O&&g.jsx("p",{"data-loc":"client/src/pages/Auth.tsx:178",className:"mt-2 font-mono text-lg font-bold tracking-[0.3em] text-cyan-300",children:O})]}),g.jsxs("div",{"data-loc":"client/src/pages/Auth.tsx:180",className:"flex items-center gap-2 border border-white/10 bg-black/30 px-3",children:[g.jsx(hv,{"data-loc":"client/src/pages/Auth.tsx:181",size:14,className:"text-white/25"}),g.jsx("input",{"data-loc":"client/src/pages/Auth.tsx:182",type:"text",value:v,onCh
262ange:$=>w($.target.value.replace(/\D/g,"").slice(0,6)),placeholder:"000000",className:"h-12 flex-1 bg-transparent text-center text-lg font-mono tracking-[0.3em] text-white outline-none placeholder:text-white/20",maxLength:6,required:!0})]}),j&&g.jsx("div",{"data-loc":"client/src/pages/Auth.tsx:184",className:"border border-red-400/20 bg-red-400/5 p-3 text-xs text-red-300",children:j}),L&&g.jsx("div",{"data-loc":"client/src/pages/Auth.tsx:185",className:"border border-cyan-300/20 bg-cyan-300/5 p-3 text-xs text-cyan-200",children:L}),g.jsx(it,{"data-loc":"client/src/pages/Auth.tsx:186",type:"submit",disabled:X.isPending||v.length!==6,className:"h-11 w-full bg-gradient-to-r from-cyan-400 to-cyan-300 font-bold text-black hover:from-cyan-300 hover:to-cyan-200",children:X.isPending?"Verifying…":"Verify email"}),g.jsx("div",{"data-loc":"client/src/pages/Auth.tsx:189",className:"text-center",children:g.jsx("button",{"data-loc":"client/src/pages/Auth.tsx:190",type:"button",onClick:()=>P.mutate({email:f,purpose:s==="register"?"register":"login"}),className:"text-xs text-cyan-300 hover:text-cyan-200",children:"Resend code"})})]}),l==="passkey-setup"&&g.jsxs("div",{"data-loc":"client/src/pages/Auth.tsx:199",className:"space-y-4 border border-white/10 bg-[#0b0c12] p-6",children:[g.jsxs("div",{"data-loc":"client/src/pages/Auth.tsx:200",className:"text-center",children:[g.jsx(eg,{"data-loc":"client/src/pages/Auth.tsx:201",size:32,className:"mx-auto mb-3 text-fuchsia-400"}),g.jsx("p",{"data-loc":"client/src/pages/Auth.tsx:202",className:"text-sm text-white/50",children:"Passkeys use your device's biometric or PIN for secure, passwordless sign-ins"})]}),j&&g.jsx("div",{"data-loc":"client/src/pages/Auth.tsx:204",className:"border border-red-400/20 bg-red-400/5 p-3 text-xs text-red-300",children:j}),L&&g.jsx("div",{"data-loc":"client/src/pages/Auth.tsx:205",className:"border border-cyan-300/20 bg-cyan-300/5 p-3 text-xs text-cyan-200",children:L}),g.jsxs(it,{"data-loc":"client/src/pages/Auth.tsx:206",onClick:te,disabled:W.isPending,className:"h-11 w-full bg-gradient-to-r from-fuchsia-500 to-fuchsia-400 font-bold text-white hover:from-fuchsia-400 hover:to-fuchsia-300",children:[g.jsx(eg,{"data-loc":"client/src/pages/Auth.tsx:207",size:16,className:"mr-2"}),W.isPending?"Registering…":"Set up passkey"]}),g.jsx(it,{"data-loc":"client/src/pages/Auth.tsx:210",onClick:()=>n("/studio"),variant:"outline",className:"h-11 w-full border-white/15 bg-transparent text-white/60 hover:bg-white/10",children:"Skip for now"})]}),g.jsx("div",{"data-loc":"client/src/pages/Auth.tsx:217",className:"mt-4 text-center",children:g.jsxs("button",{"data-loc":"client/src/pages/Auth.tsx:218",onClick:()=>n("/"),className:"inline-flex items-center gap-1 text-xs text-white/30 hover:text-white/50",children:[g.jsx(uv,{"data-loc":"client/src/pages/Auth.tsx:219",size:12})," Back to welcome"]})})]})})]})}const oO="Free until January 02, 2027 at 12:00 AM EST",cO=[{id:"console-tour",title:"How to navigate the console",category:"Getting started",duration:"0:37",videoUrl:"/manus-storage/console-tour_580d9dec.mp4",thumbUrl:"/manus-storage/console-tour_32e4d22e.jpg",description:"A full walkthrough of the provider intelligence console — workspace, provider map, run center, and stat cards."},{id:"run-center",title:"How to use the autonomous run center",category:"Feature",duration:"0:37",videoUrl:"/manus-storage/run-center_720b4160.mp4",thumbUrl:"/manus-storage/run-center_815ea809.jpg",description:"Brief to storyboard to proxy scenes to final render — with your approval gates at every step."},{id:"identity-gate",title:"How to authorize the identity gate",category:"Help topic",duration:"0:38",videoUrl:"/manus-storage/identity-gate_75b6b0b0.mp4",thumbUrl:"/manus-storage/identity-gate_7bcd0347.jpg",description:"Why the identity adapter says 'awaiting gate' and how to unlock it with the consent vault disclaimer."},{id:"api-keys",title:"How to set up your API keys",category:"Help topic",duration:"0:42",videoUrl:"/manus-storage/api-keys_bf97f6b6.mp4",thumbUrl:"/manus-storage/api-keys_6137859d.jpg",description:"Which API keys you need (Veo, Runway, ElevenLabs, HeyGen, AssemblyAI) and where to paste them."},{id:"cloud-connector",title:"How to use the cloud computer connector",category:"Feature",duration:"0:29",videoUrl:"/manus-storage/cloud-connector_d94be9dc.mp4",thumbUrl:"/manus-storage/cloud-connector_d61d84a4.jpg",description:"Browser connector scopes, read-only defaults, and how to grant or revoke upload/publishing authority."},{id:"sentinel",title:"How Sentinel protects your studio",category:"Feature",duration:"0:38",videoUrl:"/manus-storage/sentinel_93f3ccff.mp4",thumbUrl:"/manus-storage/sentinel_615621ec.jpg",description:"The autonomous reliability layer that hunts glitches, bugs, and suspicious artifacts before they reach you."},{id:"editor-suite",title:"How to use the editor suite",category:"Feature",duration:"0:33",videoUrl:"/manus-storage/editor-suite_192255bb.mp4",thumbUrl:"/manus-storage/editor-suite_5a1d0547.jpg",description:"Multi-track timeline, captions, audio tools, visual effects, templates, and export presets."},{id:"benchmarks",title:"How to read provider benchmarks",category:"Feature",duration:"0:30",videoUrl:"/manus-storage/benchmarks_39c879d7.mp4",thumbUrl:"/manus-storage/benchmarks_4e9141e4.jpg",description:"Quality, latency, cost, and failure-rate scoring — and how the router picks the best model for each job."}];function uO(){const[,n]=ki(),[s,i]=A.useState(null);return g.jsxs("div",{"data-loc":"client/src/pages/Tutorial.tsx:98",className:"min-h-screen bg-[#050609] pb-20 md:pb-0",children:[g.jsxs("div",{"data-loc":"client/src/pages/Tutorial.tsx:100",className:"flex items-center justify-center gap-2 border-b border-cyan-300/20 bg-cyan-300/5 px-4 py-2.5",children:[g.jsx(In,{"data-loc":"client/src/pages/Tutorial.tsx:101",size:14,className:"text-cyan-300"}),g.jsx("span",{"data-loc":"client/src/pages/Tutorial.tsx:102",className:"font-mono text-[11px] uppercase tracking-[0.15em] text-cyan-200",children:oO}),g.jsx(In,{"data-loc":"client/src/pages/Tutorial.tsx:103",size:14,className:"text-cyan-300"})]}),g.jsx("div",{"data-loc":"client/src/pages/Tutorial.tsx:107",className:"border-b border-white/10 bg-[#0b0c12]/80 px-6 py-5",children:g.jsxs("div",{"data-loc":"client/src/pages/Tutorial.tsx:108",className:"mx-auto flex max-w-6xl items-center justify-between",children:[g.jsxs("div",{"data-loc":"client/src/pages/Tutorial.tsx:109",className:"flex items-center gap-4",children:[g.jsx("button",{"data-loc":"client/src/pages/Tutorial.tsx:110",onClick:()=>n("/studio"),className:"text-white/30 hover:text-white/60",children:g.jsx(uv,{"data-loc":"client/src/pages/Tutorial.tsx:111",size:20})}),g.jsxs("div",{"data-loc":"client/src/pages/Tutorial.tsx:113",children:[g.jsxs("div",{"data-loc":"client/src/pages/Tutorial.tsx:114",className:"flex items-center gap-2",children:[g.jsx(fv,{"data-loc":"client/src/pages/Tutorial.tsx:115",size:20,className:"text-fuchsia-400"}),g.jsx("h1",{"data-loc":"client/src/pages/Tutorial.tsx:116",className:"text-xl font-bold text-white",children:"Tutorials"})]}),g.jsx("p",{"data-loc":"client/src/pages/Tutorial.tsx:118",className:"mt-1 text-xs text-white/35",children:"Screen-share walkthroughs with voiceover for every feature"})]})]}),g.jsx(it,{"data-loc":"client/src/pages/Tutorial.tsx:121",onClick:()=>n("/studio"),variant:"outline",className:"border-white/15 bg-transparent text-white/60 hover:bg-white/10",children:"Back to studio"})]})}),g.jsx("div",{"data-loc":"client/src/pages/Tutorial.tsx:128",className:"mx-auto max-w-6xl px-6 py-8",children:g.jsx("div",{"data-loc":"client/src/pages/Tutorial.tsx:129",className:"grid gap-6 sm:grid-cols-2 lg:grid-cols-3",children:cO.map(l=>g.jsxs("div",{"data-loc":"client/src/pages/Tutorial.tsx:131",className:"group border border-white/10 bg-[#0b0c12] transition hover:border-cyan-300/30",children:[g.jsx("div",{"data-loc":"client/src/pages/Tutorial.tsx:133",className:"relative aspect-video overflow-hidden bg-black",children:s===l.id?g.jsx("video",{"data-loc":"client/src/pages/Tutorial.tsx:135",src:l.videoUrl,controls:!0,autoPlay:!0,className:"h-full w-full",onEnded:()=>i(null)}):g.jsxs("button",{"data-loc":"client/src/pages/Tutorial.tsx:143",onClick:()=>i(l.id),className:"relative h-full w-full","aria-label":`Play ${l.title}`,children:[g.jsx("img",{"data-loc":"client/src/pages/Tutorial.tsx:148",src:l.thumbUrl,alt:l.title,className:"h-full w-full object-cover transition group-hover:scale-[1.02]"}),g.jsx("div",{"data-loc":"client/src/pages/Tutorial.tsx:149",className:"absolute inset-0 flex items-center justify-center bg-black/30 opacity-0 transition group-hover:opacity-100",children:g.jsx("div",{"data-loc":"client/src/pages/Tutorial.tsx:150",className:"grid h-14 w-14 place-items-center rounded-full bg-fuchsia-500/90",children:g.jsx(id,{"data-loc":"client/src/pages/Tutorial.tsx:151",size:24,className:"ml-1 text-white"})})})]})}),g.jsxs("div",{"data-loc":"client/src/pages/Tutorial.tsx:158",className:"p-4",children:[g.jsxs("div",{"data-loc":"client/src/pages/Tutorial.tsx:159",className:"mb-2 flex items-center gap-2",children:[g.jsx("span",{"data-loc":"client/src/pages/Tutorial.tsx:160",className:"font-mono text-[9px] uppercase tracking-[0.12em] text-cyan-300",children:l.category}),g.jsxs("span",{"data-loc":"client/src/pages/Tutorial.tsx:161",className:"flex items-center gap-1 font-mono text-[9px] text-white/25",children:[g.jsx(pE,{"data-loc":"client/src/pages/Tutorial.tsx:162",size:10})," ",l.duration]})]}),g.jsx("h3",{"data-loc":"client/src/pages/Tutorial.tsx:165",className:"text-sm font-semibold text-white/85",children:l.title}),g.jsx("p",{"data-loc":"client/src/pages/Tutorial.tsx:166",className:"mt-1.5 text-[11px] leading-relaxed text-white/35",children:l.description})]})]},l.id))})})]})}const Ev=()=>{const n="https://manus.im",s="FxkCgQj7axnMns25iCfXWH",i=`${window.location.origin}/api/oauth/callback`,l=crypto.randomUUID();document.cookie=`${X2}=${l}; Path=/; Max-Age=600; SameSite=None; Secure`;const c=K2({redirectUri:i,nonce:l}),f=new URL(`${n}/app-auth`);f.searchParams.set("appId",s),f.searchParams.set("redirectUri",i),f.searchParams.set("state",c),f.searchParams.set("type","signIn"),window.location.href=f.toString()};function fO(n){const{redirectOnUnauthenticated:s=!1,redirectPath:i}={},l=jt.useUtils(),c=jt.auth.me.useQuery(void 0,{retry:!1,refetchOnWindowFocus:!1}),f=jt.auth.logout.useMutation({onSuccess:()=>{l.auth.me.setData(void 0,null)}}),d=A.useCallback(async()=>{try{await f.mutateAsync()}catch(m){if(m instanceof hr&&m.data?.code==="UNAUTHORIZED")return;throw m}finally{try{sessionStorage.removeItem("manus-cookie")}catch{}
262l.auth.me.setData(void 0,null),await l.auth.me.invalidate()}},[f,l]),h=A.useMemo(()=>(localStorage.setItem("manus-runtime-user-info",JSON.stringify(c.data)),{user:c.data??null,loading:c.isLoading||f.isPending,error:c.error??f.error??null,isAuthenticated:!!c.data}),[c.data,c.error,c.isLoading,f.error,f.isPending]);return A.useEffect(()=>{s&&(c.isLoading||f.isPending||h.user||typeof window>"u"||i&&window.location.pathname===i||(i?window.location.href=i:Ev()))},[s,i,f.isPending,c.isLoading,h.user]),{...h,refresh:()=>c.refetch(),logout:d}}const hf=[{capability:"video",label:"Final cinematic video",primary:"Veo 3.1",fallback:"Runway Gen-4.5",score:"98.4",latency:"3–6 min",description:"High-fidelity scene generation with strong reference adherence and native-audio potential.",accent:"pink",docs:"https://ai.google.dev/gemini-api/docs/video"},{capability:"proxy",label:"Fast proxy video",primary:"Gemini Omni Flash",fallback:"Seedance 2.5",score:"94.1",latency:"18–42 sec",description:"Rapid 720p exploration for parallel scene tests and early approval reviews.",accent:"cyan",docs:"https://ai.google.dev/gemini-api/docs/video"},{capability:"voice",label:"Voice cloning / TTS",primary:"ElevenLabs",fallback:"HeyGen Voices",score:"97.8",latency:"8–22 sec",description:"Dedicated voice identity adapter with instant cloning and a professional-quality path.",accent:"pink",docs:"https://elevenlabs.io/docs/eleven-api/guides/how-to/voices/instant-voice-cloning"},{capability:"lipsync",label:"Lip-sync / dubbing",primary:"HeyGen Precision",fallback:"HeyGen Speed",score:"96.7",latency:"45–90 sec",description:"Final-pass synchronization for new dialogue, dubbing, and multilingual delivery.",accent:"cyan",docs:"https://developers.heygen.com/"},{capability:"identity",label:"Permitted identity",primary:"HeyGen Digital Twin",fallback:"Manual review",score:"Consent-gated",latency:"Approval",description:"Verified identity workflow only. No silent fallback to an unreviewed generic face-swap model.",accent:"amber",docs:"https://developers.heygen.com/"},{capability:"transcription",label:"Transcription / captions",primary:"AssemblyAI STT",fallback:"Gemini transcription",score:"98.4",latency:"12–35 sec",description:"Timestamped transcript foundation for editable captions, search, and transcript-driven edits.",accent:"cyan",docs:"https://www.assemblyai.com/docs"},{capability:"thumbnails",label:"Thumbnail automation",primary:"Gemini image generation",fallback:"Runway GPT Image 2",score:"95.2",latency:"6–18 sec",description:"Generate text-safe thumbnail variants from approved frames and visual style presets.",accent:"pink",docs:"https://ai.google.dev/gemini-api/docs"}],dO=[{key:"all",label:"All routes"},{key:"video",label:"Video"},{key:"voice",label:"Voice"},{key:"lipsync",label:"Lip-sync"},{key:"identity",label:"Identity"},{key:"transcription",label:"Transcription"},{key:"thumbnails",label:"Thumbnails"}];function ur({children:n,tone:s="cyan"}){const i={cyan:"border-cyan-300/25 bg-cyan-300/10 text-cyan-200",pink:"border-fuchsia-400/25 bg-fuchsia-400/10 text-fuchsia-200",amber:"border-amber-300/25 bg-amber-300/10 text-amber-100",muted:"border-white/10 bg-white/[0.04] text-white/45"};return g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:74",className:`inline-flex items-center gap-1.5 rounded-full border px-2 py-1 font-mono text-[9px] uppercase tracking-[0.15em] ${i[s]}`,children:n})}function hO(){const{user:n}=fO(),[s,i]=A.useState("quality-first"),[l,c]=A.useState("all"),[f,d]=A.useState(""),[h,m]=A.useState("video"),[y,b]=A.useState(!1),[v,w]=A.useState(!1),[O,_]=A.useState(!1),[j,H]=A.useState("Split"),[L,J]=A.useState("Kinetic captions"),[ee,ae]=A.useState("Beat sync"),[P,X]=A.useState("Auto reframe"),[C,U]=A.useState("Launch film"),[W,ne]=A.useState("TikTok / 9:16 / 4K"),se=jt.sentinel.status.useQuery(void 0,{retry:!1,refetchInterval:3e4}),te=jt.sentinel.runSweep.useMutation({onSettled:()=>se.refetch()}),$=jt.sentinel.resolve.useMutation({onSettled:()=>se.refetch()}),re=se.data,ue=jt.consent.status.useQuery(void 0,{retry:!1}),T=jt.consent.submitDisclaimer.useMutation({onSuccess:()=>{ue.refetch(),b(!1)}}),[B,R]=A.useState(!1),[le,fe]=A.useState(!1),[S,Y]=A.useState(""),k=ue.data?.verified===!0,G=A.useMemo(()=>hf.filter(Z=>{const oe=l==="all"||Z.capability===l,ve=`${Z.label} ${Z.primary} ${Z.fallback}`.toLowerCase();return oe&&ve.includes(f.toLowerCase())}),[l,f]),I=hf.find(Z=>Z.capability===h)??hf[0];return g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:116",className:"min-h-screen overflow-x-hidden bg-[#050609] pb-20 text-white selection:bg-fuchsia-400/30 md:pb-0",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:117",className:"pointer-events-none fixed inset-0 opacity-35 [background-image:linear-gradient(rgba(0,231,255,.035)_1px,transparent_1px),linear-gradient(90deg,rgba(0,231,255,.035)_1px,transparent_1px)] [background-size:64px_64px]"}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:118",className:"pointer-events-none fixed left-[48%] top-[-18rem] h-[36rem] w-[46rem] -translate-x-1/2 roun
262ded-full bg-fuchsia-500/10 blur-[140px]"}),g.jsxs("header",{"data-loc":"client/src/pages/Home.tsx:120",className:"relative z-10 flex min-h-16 flex-wrap items-center justify-between gap-2 border-b border-white/10 bg-black/55 px-4 py-2 backdrop-blur-xl md:h-16 md:flex-nowrap md:px-7",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:121",className:"flex items-center gap-3",children:[g.jsx(it,{"data-loc":"client/src/pages/Home.tsx:122",variant:"ghost",size:"icon",className:"text-white/55 hover:bg-white/10 hover:text-white lg:hidden",children:g.jsx(wE,{"data-loc":"client/src/pages/Home.tsx:122",size:17})}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:123",className:"relative grid h-8 w-8 place-items-center border border-cyan-300/60 bg-cyan-300/10 text-cyan-300 shadow-[0_0_22px_rgba(0,231,255,.24)]",children:[g.jsx(mE,{"data-loc":"client/src/pages/Home.tsx:123",size:16}),g.jsx("i",{"data-loc":"client/src/pages/Home.tsx:123",className:"absolute -right-1 -top-1 h-1.5 w-1.5 bg-fuchsia-400"})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:124",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:124",className:"font-mono text-[11px] font-bold uppercase tracking-[0.28em]",children:"NEXUS / STUDIO"}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:124",className:"font-mono text-[9px] uppercase tracking-[0.18em] text-white/30",children:"provider intelligence console"})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:125",className:"hidden items-center gap-2 border-l border-white/10 pl-4 text-xs text-white/40 md:flex",children:[g.jsx(gE,{"data-loc":"client/src/pages/Home.tsx:125",size:14})," Signal / launch film ",g.jsx(fE,{"data-loc":"client/src/pages/Home.tsx:125",size:12})]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:127",className:"flex items-center gap-2",children:[g.jsxs(ur,{"data-loc":"client/src/pages/Home.tsx:127",children:[g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:127",className:"h-1.5 w-1.5 animate-pulse rounded-full bg-cyan-300"})," Cloud connected"]}),g.jsx(it,{"data-loc":"client/src/pages/Home.tsx:127",variant:"ghost",size:"icon",className:"text-white/45 hover:bg-white/10 hover:text-white",children:g.jsx(TE,{"data-loc":"client/src/pages/Home.tsx:127",size:16})}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:127",className:"grid h-8 w-8 place-items-center rounded-full border border-white/15 bg-white/10 text-xs text-white/75",children:n?.name?.slice(0,1)??"A"})]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:130",className:"relative z-10 grid min-h-[calc(100vh-4rem)] grid-cols-1 lg:grid-cols-[218px_minmax(0,1fr)_320px]",children:[g.jsxs("aside",{"data-loc":"client/src/pages/Home.tsx:131",className:"hidden border-r border-white/10 bg-black/20 p-4 lg:block",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:132",className:"mb-8 px-3",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:132",className:"font-mono text-[9px] uppercase tracking-[0.22em] text-white/30",children:"Workspace"}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:132",className:"mt-2 flex items-center gap-2 text-sm",children:[g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:132",className:"h-2 w-2 rounded-full bg-fuchsia-400 shadow-[0_0_10px_#f0f]"})," Signal / launch film"]})]}),g.jsxs("nav",{"data-loc":"client/src/pages/Home.tsx:133",className:"space-y-1 text-sm",children:[g.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:133",className:"flex items-center gap-3 border-l-2 border-cyan-300 bg-cyan-300/10 px-3 py-2.5 text-cyan-200",href:"#routes",children:[g.jsx(EE,{"data-loc":"client/src/pages/Home.tsx:133",size:15})," Routes ",g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:133",className:"ml-auto font-mono text-[9px] text-cyan-300/60",children:"07"})]}),g.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:133",className:"flex items-center gap-3 border-l-2 border-transparent px-3 py-2.5 text-white/45 hover:bg-white/5 hover:text-white",href:"#readiness",children:[g.jsx(tg,{"data-loc":"client/src/pages/Home.tsx:133",size:15})," Benchmarks ",g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:133",className:"ml-auto font-mono text-[9px]",children:"24"})]}),g.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:133",className:"flex items-center gap-3 border-l-2 border-transparent px-3 py-2.5 text-white/45 hover:bg-white/5 hover:text-white",href:"#launch",children:[g.jsx(cE,{"data-loc":"client/src/pages/Home.tsx:133",size:15})," Launch plan ",g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:133",className:"ml-auto font-mono text-[9px]",children:"01"})]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:134",className:"mt-10 border-t border-white/10 pt-5",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:134",className:"mb-3 px-3 font-mono text-[9px] uppercase tracking-[0.22em] text-white/30",children:"Controls"}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:134",className:"space-y-1 text-sm text-white/45",children:[g.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:134",onClick:()=>b(!0),className:"flex w-full items-center gap-3 px-3 py-2.5 text-left hover:bg-white/5 hover:text-white",children:[g.jsx(os,{"data-loc":"client/src/pages/Home.tsx:134",size:15})," Consent vault"]}),g.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:134",onClick:()=>_(!O),className:"flex w-full items-center gap-3 px-3 py-2.5 text-left hover:bg-white/5 hover:text-white",children:[g.jsx(Bf,{"data-loc":"client/src/pages/Home.tsx:134",size:15})," Cloud computer"]})]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:135",className:"absolute bottom-5 left-5 right-5 border border-white/10 bg-white/[0.03] p-3",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:135",className:"flex items-center justify-between font-mono text-[9px] uppercase tracking-[0.16em] text-white/40",children:[g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:135",children:"Route readiness"}),g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:135",className:"text-cyan-300",children:"86%"})]}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:135",className:"mt-2 h-1 bg-white/10",children:g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:135",className:"h-full w-[86%] bg-gradient-to-r from-cyan-400 to-fuchsia-400"})}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:135",className:"mt-2 text-[10px] text-white/30",children:"7 adapters mapped · 2 approvals"})]})]}),g.jsxs("main",{"data-loc":"client/src/pages/Home.tsx:138",className:"min-w-0 p-4 md:p-6 lg:p-8",children:[g.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:139",className:"mb-7 flex flex-col justify-between gap-5 xl:flex-row xl:items-end",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:139",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:139",className:"mb-2 flex items-center gap-2 font-mono text-[10px] uppercase tracking-[0.25em] text-cyan-300",children:[g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:139",className:"h-px w-6 bg-cyan-300"})," Autonomous routing / 001"]}),g.jsxs("h1",{"data-loc":"client/src/pages/Home.tsx:139",className:"max-w-3xl text-3xl font-black uppercase leading-none tracking-[-0.05em] md:text-5xl",children:["The right model",g.jsx("br",{"data-loc":"client/src/pages/Home.tsx:139"}),g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:139",className:"text-fuchsia-400 [text-shadow:0_0_24px_rgba(244,114,182,.45)]",children:"for every frame."})]}),g.jsx("p",{"data-loc":"client/src/pages/Home.tsx:139",className:"mt-3 max-w-2xl text-sm leading-relaxed text-white/45",children:"A quality-first provider control layer for cinematic short-form production. Explore the recommended route, compare fallbacks, and keep every sensitive action behind your approval gate."})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:139",className:"flex gap-2",children:[g.jsxs(it,{"data-loc":"client/src/pages/Home.tsx:139",variant:"outline",className:"border-white/15 bg-white/[0.03] text-white/65 hover:bg-white/10 hover:text-white",onClick:()=>b(!0),children:[g.jsx(vE,{"data-loc":"client/src/pages/Home.tsx:139",size:14,className:"mr-2"})," Consent vault"]}),g.jsxs(it,{"data-loc":"client/src/pages/Home.tsx:139",className:"bg-fuchsia-400 text-black shadow-[0_0_24px_rgba(244,114,182,.24)] hover:bg-fuchsia-300",onClick:()=>w(!0),children:[g.jsx(In,{"data-loc":"client/src/pages/Home.tsx:139",size:15,className:"mr-2"})," ",v?"Plan ready":"Build launch plan"]})]})]}
262),g.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:141",id:"readiness",className:"mb-5 grid grid-cols-1 gap-3 sm:grid-cols-3",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:141",className:"border border-cyan-300/20 bg-cyan-300/5 p-4",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:141",className:"flex items-center justify-between",children:[g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:141",className:"font-mono text-[9px] uppercase tracking-[0.16em] text-cyan-300/70",children:"Quality index"}),g.jsx(Do,{"data-loc":"client/src/pages/Home.tsx:141",size:15,className:"text-cyan-300"})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:141",className:"mt-2 text-2xl font-bold",children:["96.8",g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:141",className:"text-sm text-white/30",children:" / 100"})]}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:141",className:"mt-1 text-[10px] text-white/35",children:"weighted against cinematic brief"})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:141",className:"border border-fuchsia-400/20 bg-fuchsia-400/5 p-4",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:141",className:"flex items-center justify-between",children:[g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:141",className:"font-mono text-[9px] uppercase tracking-[0.16em] text-fuchsia-300/70",children:"Fastest proxy"}),g.jsx(tg,{"data-loc":"client/src/pages/Home.tsx:141",size:15,className:"text-fuchsia-300"})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:141",className:"mt-2 text-2xl font-bold",children:["18",g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:141",className:"text-sm text-white/30",children:" sec"})]}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:141",className:"mt-1 text-[10px] text-white/35",children:"parallel scene exploration"})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:141",className:"border border-amber-300/20 bg-amber-300/5 p-4",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:141",className:"flex items-center justify-between",children:[g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:141",className:"font-mono text-[9px] uppercase tracking-[0.16em] text-amber-200/70",children:"Approval gates"}),g.jsx(os,{"data-loc":"client/src/pages/Home.tsx:141",size:15,className:"text-amber-200"})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:141",className:"mt-2 text-2xl font-bold",children:["2",g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:141",className:"text-sm text-white/30",children:" pending"})]}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:141",className:"mt-1 text-[10px] text-white/35",children:"identity + publishing authority"})]})]}),g.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:143",id:"routes",className:"border border-white/10 bg-[#0b0c12]/90 shadow-2xl shadow-black/20",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:143",className:"flex flex-col gap-4 border-b border-white/10 p-4 md:flex-row md:items-center md:justify-between",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:143",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:143",className:"font-mono text-[10px] uppercase tracking-[0.2em] text-cyan-300",children:"Provider map / live recommendation"}),g.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:143",className:"mt-1 text-lg font-bold",children:"Seven routes. One production system."})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:143",className:"flex flex-wrap items-center gap-2",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:143",className:"relative",children:[g.jsx(AE,{"data-loc":"client/src/pages/Home.tsx:143",size:14,className:"absolute left-2.5 top-2.5 text-white/30"}),g.jsx("input",{"data-loc":"client/src/pages/Home.tsx:143",value:f,onChange:Z=>d(Z.target.value),placeholder:"Filter providers",className:"h-9 w-40 border border-white/10 bg-black/30 pl-8 pr-2 text-xs text-white/75 outline-none placeholder:text-white/25 focus:border-cyan-300/50"})]}),g.jsxs("select",{"data-loc":"client/src/pages/Home.tsx:143",value:s,onChange:Z=>i(Z.target.value),className:"h-9 border border-white/10 bg-black/30 px-2 text-[10px] uppercase tracking-[0.1em] text-white/60 outline-none focus:border-cyan-300/50",children:[g.jsx("option",{"data-loc":"client/src/pages/Home.tsx:143",value:"qual
262ity-first",children:"Quality-first"}),g.jsx("option",{"data-loc":"client/src/pages/Home.tsx:143",value:"balanced",children:"Balanced"}),g.jsx("option",{"data-loc":"client/src/pages/Home.tsx:143",value:"speed-first",children:"Speed-first"})]})]})]}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:143",className:"flex gap-1 overflow-x-auto border-b border-white/10 px-4 py-3",children:dO.map(Z=>g.jsx("button",{"data-loc":"client/src/pages/Home.tsx:143",onClick:()=>c(Z.key),className:`whitespace-nowrap px-3 py-1.5 font-mono text-[9px] uppercase tracking-[0.12em] transition ${l===Z.key?"bg-cyan-300 text-black":"text-white/35 hover:bg-white/5 hover:text-white/70"}`,children:Z.label},Z.key))}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:143",className:"grid grid-cols-1 gap-px bg-white/10 sm:grid-cols-2 xl:grid-cols-3",children:G.map(Z=>g.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:143",onClick:()=>m(Z.capability),className:`group bg-[#0b0c12] p-4 text-left transition hover:bg-[#11131c] ${h===Z.capability?"ring-1 ring-inset ring-cyan-300/70":""}`,children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:143",className:"mb-4 flex items-start justify-between",children:[g.jsx(ur,{"data-loc":"client/src/pages/Home.tsx:143",tone:Z.accent,children:Z.capability}),g.jsx(W0,{"data-loc":"client/src/pages/Home.tsx:143",size:15,className:"text-white/25 transition group-hover:text-cyan-300"})]}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:143",className:"text-sm font-semibold text-white/85",children:Z.label}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:143",className:"mt-3 flex items-end justify-between",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:143",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:143",className:"font-mono text-[9px] uppercase tracking-[0.12em] text-white/30",children:"Primary route"}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:143",className:"mt-1 text-base font-bold text-cyan-200",children:Z.primary})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:143",className:"text-right",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:143",className:"font-mono text-[9px] uppercase tracking-[0.12em] text-white/30",children:"Signal"}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:143",className:"mt-1 text-sm font-bold text-fuchsia-300",children:Z.score})]})]}),g.jsx("p",{"data-loc":"client/src/pages/Home.tsx:143",className:"mt-3 text-[11px] leading-relaxed text-white/38",children:Z.description}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:143",className:"mt-4 flex items-center justify-between border-t border-white/10 pt-3 font-mono text-[9px] uppercase tracking-[0.1em] text-white/30",children:[g.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:143",children:["Fallback: ",g.jsx("b",{"data-loc":"client/src/pages/Home.tsx:143",className:"font-normal text-white/55",children:Z.fallback})]}),g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:143",children:Z.latency})]})]},Z.capability))})]}),g.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:146",id:"editor",className:"mt-5 border border-white/10 bg-[#0b0c12]/90",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:146",className:"flex flex-col gap-3 border-b border-white/10 p-4 md:flex-row md:items-center md:justify-between",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:146",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:146",className:"font-mono text-[10px] uppercase tracking-[0.2em] text-cyan-300",children:"Autonomous editor / CapCut-class surface"}),g.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:146",className:"mt-1 text-lg font-bold",children:"Timeline, captions, audio, effects, templates, and exports."})]}),g.jsxs(ur,{"data-loc":"client/src/pages/Home.tsx:146",tone:"pink",children:[g.jsx(In,{"data-loc":"client/src/pages/Home.tsx:146",size:11})," copilot assisted"]})]}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:146",className:"grid grid-cols-1 gap-px bg-white/10 sm:grid-cols-2 xl:grid-cols-3",children:[["Timeline operations",["Split","Ripple delete","Speed ramp","Freeze frame","Keyframes","Transitions"],j,H,"cyan"],["Text + captions",["Kinetic captions","Auto captions","Transcript cut","Text-to-speech","Caption templates","Search dialogue"],L,J,"pink"],["Audio suite",["Beat sync","Ducking","Noise reduction","
262Loudness match","Voice isolation","Waveform edit"],ee,ae,"cyan"],["Visual tools",["Auto reframe","Background removal","Chroma key","Stabilization","Color match","Motion tracking"],P,X,"pink"],["Templates + brand",["Launch film","Creator vlog","Product demo","Tutorial","Cinematic teaser","Brand kit"],C,U,"cyan"],["Export pipeline",["TikTok / 9:16 / 4K","Reels / 9:16 / 1080p","Shorts / 9:16 / HDR","Square / 1:1","Landscape / 16:9","Batch all"],W,ne,"pink"]].map(([Z,oe,ve,Oe,at])=>g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:153",className:"bg-[#0b0c12] p-4",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:153",className:"mb-3 flex items-center justify-between",children:[g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:153",className:"font-mono text-[9px] uppercase tracking-[0.16em] text-white/35",children:Z}),g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:153",className:at==="pink"?"text-fuchsia-300":"text-cyan-300",children:g.jsx(ng,{"data-loc":"client/src/pages/Home.tsx:153",size:13})})]}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:153",className:"flex flex-wrap gap-2",children:oe.map(Ie=>g.jsx("button",{"data-loc":"client/src/pages/Home.tsx:153",onClick:()=>Oe(Ie),className:`border px-2.5 py-1.5 text-[10px] transition ${ve===Ie?"border-cyan-300/60 bg-cyan-300/10 text-cyan-200":"border-white/10 bg-white/[0.02] text-white/40 hover:bg-white/5 hover:text-white/70"}`,children:Ie},Ie))})]},Z))}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:153",className:"border-t border-white/10 p-4",children:g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:153",className:"flex flex-wrap items-center gap-3 text-[10px] text-white/40",children:[g.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:153",children:["Active edit: ",g.jsx("b",{"data-loc":"client/src/pages/Home.tsx:153",className:"font-normal text-cyan-200",children:j})]}),g.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:153",children:["Caption mode: ",g.jsx("b",{"data-loc":"client/src/pages/Home.tsx:153",className:"font-normal text-fuchsia-200",children:L})]}),g.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:153",children:["Audio: ",g.jsx("b",{"data-loc":"client/src/pages/Home.tsx:153",className:"font-normal text-cyan-200",children:ee})]}),g.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:153",children:["Visual: ",g.jsx("b",{"data-loc":"client/src/pages/Home.tsx:153",className:"font-normal text-fuchsia-200",children:P})]}),g.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:153",children:["Template: ",g.jsx("b",{"data-loc":"client/src/pages/Home.tsx:153",className:"font-normal text-cyan-200",children:C})]}),g.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:153",children:["Export: ",g.jsx("b",{"data-loc":"client/src/pages/Home.tsx:153",className:"font-normal text-amber-100",children:W})]})]})})]}),g.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:155",id:"launch",className:"mt-5 grid grid-cols-1 gap-5 xl:grid-cols-[minmax(0,1fr)_300px]",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:155",className:"border border-white/10 bg-[#0b0c12]/90 p-5",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:155",className:"flex items-start justify-between",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:155",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:155",className:"font-mono text-[10px] uppercase tracking-[0.2em] text-fuchsia-300",children:["Selected route / ",s]}),g.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:155",className:"mt-1 text-2xl font-bold",children:I.label}),g.jsx("p",{"data-loc":"client/src/pages/Home.tsx:155",className:"mt-2 max-w-xl text-sm leading-relaxed text-white/45",children:I.description})]}),g.jsxs(ur,{"data-loc":"client/src/pages/Home.tsx:155",tone:I.accent,children:[g.jsx(io,{"data-loc":"client/src/pages/Home.tsx:155",size:11})," recommended"]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:155",className:"mt-5 grid gap-3 sm:grid-cols-3",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:155",className:"border border-white/10 bg-black/25 p-3",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:155",className:"font-mono text-[9px] uppercase tracking-[0.12em] text-white/30",children:"Primary"}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:155",className:"mt-2 text-sm font-semibold text-cyan-200",children:I.primary})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:155",className:"border border-white/10 bg-black/25 p-3",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:155",className:"font-mono text-[9px] uppercase tracking-[0.12em] text-white/30",children:"Fallback"}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:155",className:"mt-2 text-sm font-semibold text-fuchsia-200",children:I.fallback})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:155",className:"border border-white/10 bg-black/25 p-3",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:155",className:"font-mono text-[9px] uppercase tracking-[0.12em] text-white/30",children:"Route mode"}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:155",className:"mt-2 text-sm font-semibold text-amber-100",children:s})]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:155",className:"mt-5 flex flex-wrap gap-2",children:[g.jsxs(it,{"data-loc":"client/src/pages/Home.tsx:155",className:"bg-cyan-300 text-black hover:bg-cyan-200",onClick:()=>w(!0),children:[g.jsx(ng,{"data-loc":"client/src/pages/Home.tsx:155",size:14,className:"mr-2"})," ",v?"Launch plan staged":"Stage this route"]}),g.jsx("a",{"data-loc":"client/src/pages/Home.tsx:155",href:I.docs,target:"_blank",rel:"noreferrer",children:g.jsxs(it,{"data-loc":"client/src/pages/Home.tsx:155",variant:"outline",className:"border-white/15 bg-transparent text-white/60 hover:bg-white/10 hover:text-white",children:[g.jsx(W0,{"data-loc":"client/src/pages/Home.tsx:155",size:14,className:"mr-2"})," Provider docs"]})})]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:155",className:"border border-amber-300/20 bg-amber-300/5 p-5",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:155",className:"flex items-center gap-2 font-mono text-[10px] uppercase tracking-[0.16em] text-amber-200",children:[g.jsx(mv,{"data-loc":"client/src/pages/Home.tsx:155",size:14})," Guardrail"]}),g.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:155",className:"mt-3 text-base font-semibold",children:"Identity route is consent-gated"}),g.jsx("p",{"data-loc":"client/src/pages/Home.tsx:155",className:"mt-2 text-[11px] leading-relaxed text-white/45",children:"The studio will pause before any permitted likeness or cloned voice submission without a verified authorization record."}),g.jsxs(it,{"data-loc":"client/src/pages/Home.tsx:155",variant:"outline",className:"mt-4 w-full border-amber-300/25 bg-transparent text-[10px] uppercase tracking-[0.12em] text-amber-100 hover:bg-amber-300/10",onClick:()=>b(!0),children:[g.jsx(os,{"data-loc":"client/src/pages/Home.tsx:155",size:13,className:"mr-2"})," Review authorization"]})]})]})]}),g.jsxs("aside",{"data-loc":"client/src/pages/Home.tsx:158",className:"border-t border-white/10 bg-black/20 p-4 md:p-6 lg:border-l lg:border-t-0 lg:p-5",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"mb-6",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"font-mono text-[10px] uppercase tracking-[0.2em] text-white/35",children:"Operations"}),g.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:158",className:"mt-1 text-lg font-bold",children:"Autonomous run center"})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"border border-cyan-300/20 bg-cyan-300/5 p-4",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"flex items-center gap-2 text-xs font-semibold",children:[g.jsx(id,{"data-loc":"client/src/pages/Home.tsx:158",size:14,className:"text-cyan-300"})," Brief → production plan"]}),g.jsx("p",{"data-loc":"client/src/pages/Home.tsx:158",className:"mt-3 text-[11px] leading-relaxed text-white/45",children:"Map the brief to providers, generate proxy scenes in parallel, then wait for your review before final render."}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"mt-4 space-y-2",children:["Storyboard + asset plan","Proxy scene generation","Quality checks","Final render approval"].map((Z,oe)=>g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"flex items-center gap-3 text-[11px] text-white/55",children:[g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:158",className:`grid h-5 w-5 place-items-center rounded-full border ${oe<(v?3:2)?"border-cyan-300/40 bg-cyan-300/10 text-cyan-300":"border-white/15 text-white/25"}`,children:oe<(v?3:2)?g.jsx(io,{"data-loc":"client/src/pages/Home.tsx:158",size:11}):oe+1}),Z]},Z))}),g.jsxs(it,{"data-loc":"client/src/pages/Home.tsx:158",className:"mt-5 w-full bg-fuchsia-400 text-black hover:bg-fuchsia-300",onClick:()=>w(!0),children:[g.jsx(In,{"data-loc":"client/src/pages/Home.tsx:158",size:14,className:"mr-2"})," ",v?"Plan active":"Generate plan"]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"mt-4 border border-white/10 bg-[#0b0c12]/90 p-4",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"mb-3 flex items-center justify-between",children:[g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:158",className:"font-mono text-[10px] uppercase tracking-[0.16em] text-white/35",children:"Cloud computer"}),g.jsx(ur,{"data-loc":"client/src/pages/Home.tsx:158",tone:O?"cyan":"muted",children:O?"scoped":"restricted"})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"flex items-start gap-3",children:[g.jsx(Bf,{"data-loc":"client/src/pages/Home.tsx:158",size:16,className:"mt-0.5 text-cyan-300"}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:158",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"text-xs text-white/75",children:"Browser connector"}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"mt-1 text-[10px] leading-relaxed text-white/35",children:"Read-only by default. Upload and publishing scopes require separate approval."})]})]}),g.jsxs(it,{"data-loc":"client/src/pages/Home.tsx:158",variant:"outline",className:"mt-4 h-8 w-full border-white/15 bg-transparent text-[10px] text-white/55 hover:bg-white/10 hover:text-white",onClick:()=>_(!O),children:[g.jsx(hv,{"data-loc":"client/src/pages/Home.tsx:158",size:12,className:"mr-2"})," ",O?"Revoke scopes":"Manage scopes"]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"mt-4 border border-white/10 bg-[#0b0c12]/90 p-4",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"mb-3 flex items-center justify-between",children:[g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:158",className:"font-mono text-[10px] uppercase tracking-[0.16em] text-white/35",children:"Sentinel / autonomous reliability"}),g.jsxs(ur,{"data-loc":"client/src/pages/Home.tsx:158",tone:re?.missionStatus==="clear"?"cyan":re?.missionStatus==="escalations-pending"?"amber":"pink",children:[g.jsx(SE,{"data-loc":"client/src/pages/Home.tsx:158",size:10})," ",re?.missionStatus??"standby"]})]}),g.jsx("p",{"data-loc":"client/src/pages/Home.tsx:158",className:"text-[10px] leading-relaxed text-white/35",children:"Mission: seek glitches, bugs, and malicious artifacts; auto-remediate safe classes; escalate the rest to your approval gate."}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"mt-3 grid grid-cols-3 gap-2 text-center",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"border border-white/10 bg-black/25 p-2",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"text-sm font-bold text-cyan-200",children:re?.openFindings??0}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"font-mono text-[8px] uppercase tracking-[0.1em] text-white/30",children:"open"})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"border border-white/10 bg-black/25 p-2",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"text-sm font-bold text-amber-200",children:re?.criticalOpen??0}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"font-mono text-[8px] uppercase tracking-[0.1em] text-white/30",children:"critical"})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"border border-white/10 bg-black/25 p-2",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"text-sm font-bold text-fuchsia-200",children:re?.updateRuns?.[0]?.status??"—"}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"font-mono text-[8px] uppercase tracking-[0.1em] text-white/30",children:"updates"})]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"mt-3 max-h-36 space-y-2 overflow-y-auto",children:[(re?.findings??[]).slice(0,5).map(Z=>g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"flex items-start gap-2 border border-white/10 bg-black/25 p-2",children:[g.jsx(uE,{"data-loc":"client/src/pages/Home.tsx:158",size:12,className:`mt-0.5 shrink-0 ${Z.severity==="critical"?"text-amber-300":"text-cyan-300"}`}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"min-w-0 flex-1",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"truncate text-[10px] text-white/65",children:Z.summary}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"mt-0.5 font-mono text-[8px] uppercase tracking-[0.1em] text-white/25",children:[Z.kind," · ",Z.status]})]}),(Z.status==="open"||Z.status==="escalated")&&g.jsx("button",{"data-loc":"client/src/pages/Home.tsx:158",onClick:()=>$.mutate({findingId:Z.id}),className:"shrink-0 text-white/25 hover:text-cyan-300","aria-label":"Resolve finding",children:g.jsx(io,{"data-loc":"client/src/pages/Home.tsx:158",size:12})})]}
262,Z.id)),re&&(re.findings??[]).length===0&&g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"border border-cyan-300/15 bg-cyan-300/5 p-2 text-center text-[10px] text-cyan-200/60",children:"No findings — system clear"})]}),g.jsxs(it,{"data-loc":"client/src/pages/Home.tsx:158",variant:"outline",className:"mt-3 h-8 w-full border-white/15 bg-transparent text-[10px] text-white/55 hover:bg-white/10 hover:text-white",disabled:te.isPending,onClick:()=>te.mutate(),children:[g.jsx(OE,{"data-loc":"client/src/pages/Home.tsx:158",size:12,className:`mr-2 ${te.isPending?"animate-spin":""}`})," ",te.isPending?"Sweeping…":"Run sweep now"]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"mt-4 border border-white/10 bg-[#0b0c12]/90 p-4",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"font-mono text-[10px] uppercase tracking-[0.16em] text-white/35",children:"Adapter health"}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"mt-3 space-y-3",children:[["Video","healthy"],["Audio","healthy"],["Identity",k?"healthy":"approval"],["STT","healthy"]].map(([Z,oe])=>g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:158",className:"flex items-center justify-between text-[11px]",children:[g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:158",className:"text-white/55",children:Z}),g.jsx("span",{"data-loc":"client/src/pages/Home.tsx:158",className:oe==="approval"?"text-amber-200":"text-cyan-300",children:oe==="approval"?"awaiting gate":"● online"})]},Z))})]})]})]}),y&&g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:161",className:"fixed inset-0 z-50 grid place-items-center bg-black/75 p-4 backdrop-blur-sm",children:g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:161",className:"max-h-[90vh] w-full max-w-2xl overflow-y-auto border border-cyan-300/30 bg-[#0b0c12] p-6 shadow-[0_0_80px_rgba(0,231,255,.15)]",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:161",className:"flex items-start justify-between",children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:161",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:161",className:"font-mono text-[10px] uppercase tracking-[0.2em] text-cyan-300",children:"Consent vault / identity authorization"}),g.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:161",className:"mt-2 text-xl font-bold",children:"User disclaimer & liability acknowledgment"})]}),g.jsx("button",{"data-loc":"client/src/pages/Home.tsx:161",onClick:()=>b(!1),className:"text-white/40 hover:text-white",children:"×"})]}),k?g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:164",className:"mt-5 border border-cyan-300/20 bg-cyan-300/5 p-4",children:g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:164",className:"flex items-center gap-3",children:[g.jsx(os,{"data-loc":"client/src/pages/Home.tsx:164",size:20,className:"text-cyan-300"}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:164",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:164",className:"text-sm font-semibold text-cyan-200",children:"Identity adapter unlocked"}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:164",className:"mt-1 text-[11px] text-white/45",children:"Your disclaimer is verified. Face replacement, voice cloning, and lip-sync are available for this project."})]}),g.jsx(io,{"data-loc":"client/src/pages/Home.tsx:164",className:"ml-auto text-cyan-300",size:18})]})}):g.jsxs(g.Fragment,{children:[g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:167",className:"mt-5 max-h-48 overflow-y-auto border border-white/10 bg-black/30 p-4 text-[11px] leading-relaxed text-white/55",children:[g.jsx("p",{"data-loc":"client/src/pages/Home.tsx:168",className:"mb-3 font-semibold text-white/75",children:"By checking the boxes below and completing verification, you acknowledge and agree:"}),g.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:169",className:"mb-2",children:[g.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:169",className:"text-white/70",children:"1. CONSENT AND AUTHORIZATION."})," You confirm that you are the person depicted in any uploaded likeness or the owner of any uploaded voice sample, OR that you have obtained explicit written authorization from each person whose likeness or voice you upload."]}),g.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:170",className:"mb-2",children:[g.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:170",className:"text-white/70",children:"2. ASSUMPTION OF LIABILITY."}
262)," You assume full and sole responsibility for all content generated using identity-related features, including but not limited to face replacement, voice cloning, and lip-sync. You agree that Nexus Studio and its operators bear no liability for misuse, misrepresentation, or unauthorized use of any person's likeness or voice."]}),g.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:171",className:"mb-2",children:[g.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:171",className:"text-white/70",children:"3. SYNTHETIC MEDIA DISCLOSURE."})," You understand that AI-generated or AI-altered media may require disclosure labeling under applicable law and platform policies (TikTok, YouTube, Instagram). You agree to comply with all such requirements."]}),g.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:172",className:"mb-2",children:[g.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:172",className:"text-white/70",children:"4. PROHIBITED USES."})," You will not use identity features to impersonate any person without their consent, create misleading or defamatory content, engage in fraud, or violate any applicable law."]}),g.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:173",className:"mb-2",children:[g.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:173",className:"text-white/70",children:"5. COOKIE CONSENT."})," You consent to the use of essential cookies for session management, security, and consent record keeping."]}),g.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:174",className:"mb-2",children:[g.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:174",className:"text-white/70",children:"6. AUDIT TRAIL."})," You understand that all consent records, identity operations, and generated outputs are logged in an immutable audit trail for compliance and safety purposes."]}),g.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:175",children:[g.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:175",className:"text-white/70",children:"7. REVOCATION."})," You may revoke consent at any time. Revocation immediately disables the Identity adapter for the affected subject."]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:178",className:"mt-4 space-y-3",children:[g.jsxs("label",{"data-loc":"client/src/pages/Home.tsx:179",className:"flex cursor-pointer items-start gap-3 border border-white/10 bg-white/[0.02] p-3 transition hover:bg-white/[0.04]",children:[g.jsx("input",{"data-loc":"client/src/pages/Home.tsx:180",type:"checkbox",checked:B,onChange:Z=>R(Z.target.checked),className:"mt-0.5 accent-fuchsia-400"}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:181",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:181",className:"text-xs font-semibold text-white/80",children:"I agree and assume all liability"}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:181",className:"mt-0.5 text-[10px] text-white/40",children:"I have read and agree to the full disclaimer above, including the assumption of liability for all identity-generated content."})]})]}),g.jsxs("label",{"data-loc":"client/src/pages/Home.tsx:183",className:"flex cursor-pointer items-start gap-3 border border-white/10 bg-white/[0.02] p-3 transition hover:bg-white/[0.04]",children:[g.jsx("input",{"data-loc":"client/src/pages/Home.tsx:184",type:"checkbox",checked:le,onChange:Z=>fe(Z.target.checked),className:"mt-0.5 accent-cyan-300"}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:185",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:185",className:"text-xs font-semibold text-white/80",children:"I consent to essential cookies"}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:185",className:"mt-0.5 text-[10px] text-white/40",children:"Required for session management, security, and consent record keeping."})]})]}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:187",className:"border border-white/10 bg-white/[0.02] p-3",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:188",className:"mb-2 text-xs font-semibold text-white/80",children:"Verification"}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:189",className:"flex items-center gap-3",children:[g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:190",className:"grid h-10 w-10 place-items-center border border-cyan-300/30 bg-cyan-300/10",children:g.jsx(os,{"data-loc":"client/src/pages/Home.tsx:190",size:18,className:"text-cyan-300"})}),g.jsx("input",{"data-loc":"client/src/pages/Home.tsx:191",type:"text",value:S,onChange:Z=>Y(Z.target.value),placeholder:"Type NEXUS-VERIFY to confirm",className:"h-10 flex-1 border border-white/10 bg-black/30 px-3 text-xs text-white/75 outline-none placeholder:text-white/25 focus:border-cyan-300/50"})]}),g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:199",className:"mt-1.5 text-[9px] text-white/25",children:"Human verification required. Type the code exactly as shown."})]})]}),T.error&&g.jsx("div",{"data-loc":"client/src/pages/Home.tsx:203",className:"mt-3 border border-red-400/20 bg-red-400/5 p-3 text-[11px] text-red-300",children:T.error.message}),g.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:205",className:"mt-5 flex justify-end gap-2",children:[g.jsx(it,{"data-loc":"client/src/pages/Home.tsx:206",variant:"outline",onClick:()=>b(!1),className:"border-white/15 bg-transparent text-white/60",children:"Cancel"}),g.jsxs(it,{"data-loc":"client/src/pages/Home.tsx:207",disabled:!B||!le||S!=="NEXUS-VERIFY"||T.isPending,onClick:()=>T.mutate({liabilityAccepted:B,cookieConsent:le,captchaToken:S+"-"+Date.now()}),className:"bg-cyan-300 text-black hover:bg-cyan-200 disabled:opacity-30",children:[g.jsx(os,{"data-loc":"client/src/pages/Home.tsx:212",size:14,className:"mr-2"})," ",T.isPending?"Verifying…":"Submit & unlock identity"]})]})]})]})})]})}const mO=[{path:"/",label:"Home",icon:dv},{path:"/studio",label:"Studio",icon:yE},{path:"/tutorial",label:"Tutorials",icon:fv},{path:"/auth",label:"Account",icon:hE}];function pO(){const[n,s]=ki();return g.jsx("nav",{"data-loc":"client/src/components/MobileBottomNav.tsx:15",className:"fixed bottom-0 left-0 right-0 z-50 border-t border-white/10 bg-[#050609]/95 backdrop-blur-xl bottom-nav-safe md:hidden",children:g.jsx("div",{"data-loc":"client/src/components/MobileBottomNav.tsx:16",className:"flex items-center justify-around",children:mO.map(({path:i,label:l,icon:c})=>{const f=n===i;return g.jsxs("button",{"data-loc":"client/src/components/MobileBottomNav.tsx:20",onClick:()=>s(i),className:`flex flex-col items-center gap-1 px-3 py-2.5 transition-colors ${f?"text-cyan-300":"text-white/35 hover:text-white/60"}`,"aria-label":l,children:[g.jsx(c,{"data-loc":"client/src/components/MobileBottomNav.tsx:28",size:20,strokeWidth:f?2.2:1.5}),g.jsx("span",{"data-loc":"client/src/components/MobileBottomNav.tsx:29",className:"text-[9px] font-medium",children:l}),f&&g.jsx("div",{"data-loc":"client/src/components/MobileBottomNav.tsx:30",className:"h-0.5 w-6 rounded-full bg-cyan-300"})]},i)})})})}function gO(){return g.jsxs(IE,{"data-loc":"client/src/App.tsx:15",children:[g.jsx(cr,{"data-loc":"client/src/App.tsx:16",path:"/",component:rO}),g.jsx(cr,{"data-loc":"client/src/App.tsx:17",path:"/auth",component:lO}),g.jsx(cr,{"data-loc":"client/src/App.tsx:18",path:"/tutorial",component:uO}),g.jsx(cr,{"data-loc":"client/src/App.tsx:19",path:"/studio",component:hO}),g.jsx(cr,{"data-loc":"client/src/App.tsx:20",path:"/404",component:ug}),g.jsx(cr,{"data-loc":"client/src/App.tsx:21",component:ug})]})}function yO(){return g.jsx(WE,{"data-loc":"client/src/App.tsx:28",children:g.jsx(tO,{"data-loc":"client/src/App.tsx:29",defaultTheme:"dark",children:g.jsxs(eE,{"data-loc":"client/src/App.tsx:30",children:[g.jsx(fS,{"data-loc":"client/src/App.tsx:31"}),g.jsx(gO,{"data-loc":"client/src/App.tsx:32"}),g.jsx(pO,{"data-loc":"client/src/App.tsx:33"})]})})})}const xo=new c1,Ov=n=>{!(n instanceof hr)||typeof window>"u"||!(n.message===P2)||Ev()};xo.getQueryCache().subscribe(n=>{if(n.type==="updated"&&n.action.type==="error"){const s=n.query.state.error;Ov(s),console.error("[API Query Error]",s)}});xo.getMutationCache().subscribe(n=>{if(n.type==="updated"&&n.action.type==="error"){const s=n.mutation.state.error;Ov(s),console.error("[API Mutation Error]",s)}});const vO=jt.createClient({links:[y2({url:"/api/trpc",transformer:ta,headers(){try{const n=sessionStorage.getItem("manus-cookie");if(n){const s=`${V2}=`,l=n.split(";").find(c=>c.trim().startsWith(s))?.trim().slice(s.length);if(l)return{Authorization:`Bearer ${l}`}}}catch{}return{}},fetch(n,s){return globalThis.fetch(n,{...s??{},credentials:"include"})}})]});W2.createRoot(document.getElementById("root")).render(g.jsx(jt.Provider,{"data-loc":"client/src/main.tsx:76",client:vO,queryClient:xo,children:g.jsx(f1,{"data-loc":"client/src/main.tsx:77",client:xo,children:g.jsx(yO,{"data-loc":"client/src/main.tsx:78"})})}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.