@ottocode/web-ui 0.1.206 → 0.1.208

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ import{r as b,j as _,_ as Sn,a as ne,b as re,c as wn,R as Ot,d as Ts,e as Rn}from"./react-B4JKld8U.js";var vt=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},bn={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},xn=class{#t=bn;#e=!1;setTimeoutProvider(t){this.#t=t}setTimeout(t,e){return this.#t.setTimeout(t,e)}clearTimeout(t){this.#t.clearTimeout(t)}setInterval(t,e){return this.#t.setInterval(t,e)}clearInterval(t){this.#t.clearInterval(t)}},nt=new xn;function _n(t){setTimeout(t,0)}var ct=typeof window>"u"||"Deno"in globalThis;function D(){}function Cn(t,e){return typeof t=="function"?t(e):t}function ve(t){return typeof t=="number"&&t>=0&&t!==1/0}function Fs(t,e){return Math.max(t+(e||0)-Date.now(),0)}function tt(t,e){return typeof t=="function"?t(e):t}function N(t,e){return typeof t=="function"?t(e):t}function es(t,e){const{type:s="all",exact:n,fetchStatus:r,predicate:i,queryKey:a,stale:o}=t;if(a){if(n){if(e.queryHash!==Oe(a,e.options))return!1}else if(!Mt(e.queryKey,a))return!1}if(s!=="all"){const c=e.isActive();if(s==="active"&&!c||s==="inactive"&&c)return!1}return!(typeof o=="boolean"&&e.isStale()!==o||r&&r!==e.state.fetchStatus||i&&!i(e))}function ss(t,e){const{exact:s,status:n,predicate:r,mutationKey:i}=t;if(i){if(!e.options.mutationKey)return!1;if(s){if(ut(e.options.mutationKey)!==ut(i))return!1}else if(!Mt(e.options.mutationKey,i))return!1}return!(n&&e.state.status!==n||r&&!r(e))}function Oe(t,e){return(e?.queryKeyHashFn||ut)(t)}function ut(t){return JSON.stringify(t,(e,s)=>Pe(s)?Object.keys(s).sort().reduce((n,r)=>(n[r]=s[r],n),{}):s)}function Mt(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(e).every(s=>Mt(t[s],e[s])):!1}var Ln=Object.prototype.hasOwnProperty;function Ds(t,e,s=0){if(t===e)return t;if(s>500)return e;const n=ns(t)&&ns(e);if(!n&&!(Pe(t)&&Pe(e)))return e;const i=(n?t:Object.keys(t)).length,a=n?e:Object.keys(e),o=a.length,c=n?new Array(o):{};let u=0;for(let l=0;l<o;l++){const d=n?l:a[l],h=t[d],f=e[d];if(h===f){c[d]=h,(n?l<i:Ln.call(t,d))&&u++;continue}if(h===null||f===null||typeof h!="object"||typeof f!="object"){c[d]=f;continue}const p=Ds(h,f,s+1);c[d]=p,p===h&&u++}return i===o&&u===i?t:c}function Kt(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const s in t)if(t[s]!==e[s])return!1;return!0}function ns(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function Pe(t){if(!rs(t))return!1;const e=t.constructor;if(e===void 0)return!0;const s=e.prototype;return!(!rs(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function rs(t){return Object.prototype.toString.call(t)==="[object Object]"}function On(t){return new Promise(e=>{nt.setTimeout(e,t)})}function Se(t,e,s){return typeof s.structuralSharing=="function"?s.structuralSharing(t,e):s.structuralSharing!==!1?Ds(t,e):e}function Mn(t,e,s=0){const n=[...t,e];return s&&n.length>s?n.slice(1):n}function En(t,e,s=0){const n=[e,...t];return s&&n.length>s?n.slice(0,-1):n}var Me=Symbol();function As(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:!t.queryFn||t.queryFn===Me?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function Ee(t,e){return typeof t=="function"?t(...e):!!t}function kn(t,e,s){let n=!1,r;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(r??=e(),n||(n=!0,r.aborted?s():r.addEventListener("abort",s,{once:!0})),r)}),t}var In=class extends vt{#t;#e;#s;constructor(){super(),this.#s=t=>{if(!ct&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#e||this.setEventListener(this.#s)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#s=t,this.#e?.(),this.#e=t(e=>{typeof e=="boolean"?this.setFocused(e):this.onFocus()})}setFocused(t){this.#t!==t&&(this.#t=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},ke=new In;function we(){let t,e;const s=new Promise((r,i)=>{t=r,e=i});s.status="pending",s.catch(()=>{});function n(r){Object.assign(s,r),delete s.resolve,delete s.reject}return s.resolve=r=>{n({status:"fulfilled",value:r}),t(r)},s.reject=r=>{n({status:"rejected",reason:r}),e(r)},s}var Tn=_n;function Fn(){let t=[],e=0,s=o=>{o()},n=o=>{o()},r=Tn;const i=o=>{e?t.push(o):r(()=>{s(o)})},a=()=>{const o=t;t=[],o.length&&r(()=>{n(()=>{o.forEach(c=>{s(c)})})})};return{batch:o=>{let c;e++;try{c=o()}finally{e--,e||a()}return c},batchCalls:o=>(...c)=>{i(()=>{o(...c)})},schedule:i,setNotifyFunction:o=>{s=o},setBatchNotifyFunction:o=>{n=o},setScheduler:o=>{r=o}}}var F=Fn(),Dn=class extends vt{#t=!0;#e;#s;constructor(){super(),this.#s=t=>{if(!ct&&window.addEventListener){const e=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",s)}}}}onSubscribe(){this.#e||this.setEventListener(this.#s)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#s=t,this.#e?.(),this.#e=t(this.setOnline.bind(this))}setOnline(t){this.#t!==t&&(this.#t=t,this.listeners.forEach(s=>{s(t)}))}isOnline(){return this.#t}},Vt=new Dn;function An(t){return Math.min(1e3*2**t,3e4)}function js(t){return(t??"online")==="online"?Vt.isOnline():!0}var Re=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function Us(t){let e=!1,s=0,n;const r=we(),i=()=>r.status!=="pending",a=m=>{if(!i()){const g=new Re(m);h(g),t.onCancel?.(g)}},o=()=>{e=!0},c=()=>{e=!1},u=()=>ke.isFocused()&&(t.networkMode==="always"||Vt.isOnline())&&t.canRun(),l=()=>js(t.networkMode)&&t.canRun(),d=m=>{i()||(n?.(),r.resolve(m))},h=m=>{i()||(n?.(),r.reject(m))},f=()=>new Promise(m=>{n=g=>{(i()||u())&&m(g)},t.onPause?.()}).then(()=>{n=void 0,i()||t.onContinue?.()}),p=()=>{if(i())return;let m;const g=s===0?t.initialPromise:void 0;try{m=g??t.fn()}catch(P){m=Promise.reject(P)}Promise.resolve(m).then(d).catch(P=>{if(i())return;const S=t.retry??(ct?0:3),w=t.retryDelay??An,v=typeof w=="function"?w(s,P):w,C=S===!0||typeof S=="number"&&s<S||typeof S=="function"&&S(s,P);if(e||!C){h(P);return}s++,t.onFail?.(s,P),On(v).then(()=>u()?void 0:f()).then(()=>{e?h(P):p()})})};return{promise:r,status:()=>r.status,cancel:a,continue:()=>(n?.(),r),cancelRetry:o,continueRetry:c,canStart:l,start:()=>(l()?p():f().then(p),r)}}var Ns=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ve(this.gcTime)&&(this.#t=nt.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(ct?1/0:300*1e3))}clearGcTimeout(){this.#t&&(nt.clearTimeout(this.#t),this.#t=void 0)}},jn=class extends Ns{#t;#e;#s;#r;#n;#o;#a;constructor(t){super(),this.#a=!1,this.#o=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#r=t.client,this.#s=this.#r.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#t=os(this.options),this.state=t.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#n?.promise}setOptions(t){if(this.options={...this.#o,...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const e=os(this.options);e.data!==void 0&&(this.setState(is(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#s.remove(this)}setData(t,e){const s=Se(this.state.data,t,this.options);return this.#i({data:s,type:"success",dataUpdatedAt:e?.updatedAt,manual:e?.manual}),s}setState(t,e){this.#i({type:"setState",state:t,setStateOptions:e})}cancel(t){const e=this.#n?.promise;return this.#n?.cancel(t),e?e.then(D).catch(D):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#t)}isActive(){return this.observers.some(t=>N(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Me||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>tt(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!Fs(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#n?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#n?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(this.#n&&(this.#a?this.#n.cancel({revert:!0}):this.#n.cancelRetry()),this.scheduleGc()),this.#s.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#i({type:"invalidate"})}async fetch(t,e){if(this.state.fetchStatus!=="idle"&&this.#n?.status()!=="rejected"){if(this.state.data!==void 0&&e?.cancelRefetch)this.cancel({silent:!0});else if(this.#n)return this.#n.continueRetry(),this.#n.promise}if(t&&this.setOptions(t),!this.options.queryFn){const o=this.observers.find(c=>c.options.queryFn);o&&this.setOptions(o.options)}const s=new AbortController,n=o=>{Object.defineProperty(o,"signal",{enumerable:!0,get:()=>(this.#a=!0,s.signal)})},r=()=>{const o=As(this.options,e),u=(()=>{const l={client:this.#r,queryKey:this.queryKey,meta:this.meta};return n(l),l})();return this.#a=!1,this.options.persister?this.options.persister(o,u,this):o(u)},a=(()=>{const o={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:r};return n(o),o})();this.options.behavior?.onFetch(a,this),this.#e=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#i({type:"fetch",meta:a.fetchOptions?.meta}),this.#n=Us({initialPromise:e?.initialPromise,fn:a.fetchFn,onCancel:o=>{o instanceof Re&&o.revert&&this.setState({...this.#e,fetchStatus:"idle"}),s.abort()},onFail:(o,c)=>{this.#i({type:"failed",failureCount:o,error:c})},onPause:()=>{this.#i({type:"pause"})},onContinue:()=>{this.#i({type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{const o=await this.#n.start();if(o===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(o),this.#s.config.onSuccess?.(o,this),this.#s.config.onSettled?.(o,this.state.error,this),o}catch(o){if(o instanceof Re){if(o.silent)return this.#n.promise;if(o.revert){if(this.state.data===void 0)throw o;return this.state.data}}throw this.#i({type:"error",error:o}),this.#s.config.onError?.(o,this),this.#s.config.onSettled?.(this.state.data,o,this),o}finally{this.scheduleGc()}}#i(t){const e=s=>{switch(t.type){case"failed":return{...s,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...Bs(s.data,this.options),fetchMeta:t.meta??null};case"success":const n={...s,...is(t.data,t.dataUpdatedAt),dataUpdateCount:s.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#e=t.manual?n:void 0,n;case"error":const r=t.error;return{...s,error:r,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...t.state}}};this.state=e(this.state),F.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),this.#s.notify({query:this,type:"updated",action:t})})}};function Bs(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:js(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function is(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function os(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,s=e!==void 0,n=s?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:s?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var Qs=class extends vt{constructor(t,e){super(),this.options=e,this.#t=t,this.#i=null,this.#a=we(),this.bindMethods(),this.setOptions(e)}#t;#e=void 0;#s=void 0;#r=void 0;#n;#o;#a;#i;#m;#d;#f;#u;#l;#c;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),as(this.#e,this.options)?this.#h():this.updateResult(),this.#P())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return be(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return be(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#S(),this.#w(),this.#e.removeObserver(this)}setOptions(t){const e=this.options,s=this.#e;if(this.options=this.#t.defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof N(this.options.enabled,this.#e)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#R(),this.#e.setOptions(this.options),e._defaulted&&!Kt(this.options,e)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const n=this.hasListeners();n&&cs(this.#e,s,this.options,e)&&this.#h(),this.updateResult(),n&&(this.#e!==s||N(this.options.enabled,this.#e)!==N(e.enabled,this.#e)||tt(this.options.staleTime,this.#e)!==tt(e.staleTime,this.#e))&&this.#g();const r=this.#y();n&&(this.#e!==s||N(this.options.enabled,this.#e)!==N(e.enabled,this.#e)||r!==this.#c)&&this.#v(r)}getOptimisticResult(t){const e=this.#t.getQueryCache().build(this.#t,t),s=this.createResult(e,t);return Nn(this,s)&&(this.#r=s,this.#o=this.options,this.#n=this.#e.state),s}getCurrentResult(){return this.#r}trackResult(t,e){return new Proxy(t,{get:(s,n)=>(this.trackProp(n),e?.(n),n==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#a.status==="pending"&&this.#a.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(s,n))})}trackProp(t){this.#p.add(t)}getCurrentQuery(){return this.#e}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=this.#t.defaultQueryOptions(t),s=this.#t.getQueryCache().build(this.#t,e);return s.fetch().then(()=>this.createResult(s,e))}fetch(t){return this.#h({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#h(t){this.#R();let e=this.#e.fetch(this.options,t);return t?.throwOnError||(e=e.catch(D)),e}#g(){this.#S();const t=tt(this.options.staleTime,this.#e);if(ct||this.#r.isStale||!ve(t))return;const s=Fs(this.#r.dataUpdatedAt,t)+1;this.#u=nt.setTimeout(()=>{this.#r.isStale||this.updateResult()},s)}#y(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#v(t){this.#w(),this.#c=t,!(ct||N(this.options.enabled,this.#e)===!1||!ve(this.#c)||this.#c===0)&&(this.#l=nt.setInterval(()=>{(this.options.refetchIntervalInBackground||ke.isFocused())&&this.#h()},this.#c))}#P(){this.#g(),this.#v(this.#y())}#S(){this.#u&&(nt.clearTimeout(this.#u),this.#u=void 0)}#w(){this.#l&&(nt.clearInterval(this.#l),this.#l=void 0)}createResult(t,e){const s=this.#e,n=this.options,r=this.#r,i=this.#n,a=this.#o,c=t!==s?t.state:this.#s,{state:u}=t;let l={...u},d=!1,h;if(e._optimisticResults){const y=this.hasListeners(),R=!y&&as(t,e),O=y&&cs(t,s,e,n);(R||O)&&(l={...l,...Bs(u.data,t.options)}),e._optimisticResults==="isRestoring"&&(l.fetchStatus="idle")}let{error:f,errorUpdatedAt:p,status:m}=l;h=l.data;let g=!1;if(e.placeholderData!==void 0&&h===void 0&&m==="pending"){let y;r?.isPlaceholderData&&e.placeholderData===a?.placeholderData?(y=r.data,g=!0):y=typeof e.placeholderData=="function"?e.placeholderData(this.#f?.state.data,this.#f):e.placeholderData,y!==void 0&&(m="success",h=Se(r?.data,y,e),d=!0)}if(e.select&&h!==void 0&&!g)if(r&&h===i?.data&&e.select===this.#m)h=this.#d;else try{this.#m=e.select,h=e.select(h),h=Se(r?.data,h,e),this.#d=h,this.#i=null}catch(y){this.#i=y}this.#i&&(f=this.#i,h=this.#d,p=Date.now(),m="error");const P=l.fetchStatus==="fetching",S=m==="pending",w=m==="error",v=S&&P,C=h!==void 0,x={status:m,fetchStatus:l.fetchStatus,isPending:S,isSuccess:m==="success",isError:w,isInitialLoading:v,isLoading:v,data:h,dataUpdatedAt:l.dataUpdatedAt,error:f,errorUpdatedAt:p,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdateCount:l.errorUpdateCount,isFetched:l.dataUpdateCount>0||l.errorUpdateCount>0,isFetchedAfterMount:l.dataUpdateCount>c.dataUpdateCount||l.errorUpdateCount>c.errorUpdateCount,isFetching:P,isRefetching:P&&!S,isLoadingError:w&&!C,isPaused:l.fetchStatus==="paused",isPlaceholderData:d,isRefetchError:w&&C,isStale:Ie(t,e),refetch:this.refetch,promise:this.#a,isEnabled:N(e.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const y=x.data!==void 0,R=x.status==="error"&&!y,O=k=>{R?k.reject(x.error):y&&k.resolve(x.data)},M=()=>{const k=this.#a=x.promise=we();O(k)},E=this.#a;switch(E.status){case"pending":t.queryHash===s.queryHash&&O(E);break;case"fulfilled":(R||x.data!==E.value)&&M();break;case"rejected":(!R||x.error!==E.reason)&&M();break}}return x}updateResult(){const t=this.#r,e=this.createResult(this.#e,this.options);if(this.#n=this.#e.state,this.#o=this.options,this.#n.data!==void 0&&(this.#f=this.#e),Kt(e,t))return;this.#r=e;const s=()=>{if(!t)return!0;const{notifyOnChangeProps:n}=this.options,r=typeof n=="function"?n():n;if(r==="all"||!r&&!this.#p.size)return!0;const i=new Set(r??this.#p);return this.options.throwOnError&&i.add("error"),Object.keys(this.#r).some(a=>{const o=a;return this.#r[o]!==t[o]&&i.has(o)})};this.#b({listeners:s()})}#R(){const t=this.#t.getQueryCache().build(this.#t,this.options);if(t===this.#e)return;const e=this.#e;this.#e=t,this.#s=t.state,this.hasListeners()&&(e?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#P()}#b(t){F.batch(()=>{t.listeners&&this.listeners.forEach(e=>{e(this.#r)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}};function Un(t,e){return N(e.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&e.retryOnMount===!1)}function as(t,e){return Un(t,e)||t.state.data!==void 0&&be(t,e,e.refetchOnMount)}function be(t,e,s){if(N(e.enabled,t)!==!1&&tt(e.staleTime,t)!=="static"){const n=typeof s=="function"?s(t):s;return n==="always"||n!==!1&&Ie(t,e)}return!1}function cs(t,e,s,n){return(t!==e||N(n.enabled,t)===!1)&&(!s.suspense||t.state.status!=="error")&&Ie(t,s)}function Ie(t,e){return N(e.enabled,t)!==!1&&t.isStaleByTime(tt(e.staleTime,t))}function Nn(t,e){return!Kt(t.getCurrentResult(),e)}function $t(t){return{onFetch:(e,s)=>{const n=e.options,r=e.fetchOptions?.meta?.fetchMore?.direction,i=e.state.data?.pages||[],a=e.state.data?.pageParams||[];let o={pages:[],pageParams:[]},c=0;const u=async()=>{let l=!1;const d=p=>{kn(p,()=>e.signal,()=>l=!0)},h=As(e.options,e.fetchOptions),f=async(p,m,g)=>{if(l)return Promise.reject();if(m==null&&p.pages.length)return Promise.resolve(p);const S=(()=>{const L={client:e.client,queryKey:e.queryKey,pageParam:m,direction:g?"backward":"forward",meta:e.options.meta};return d(L),L})(),w=await h(S),{maxPages:v}=e.options,C=g?En:Mn;return{pages:C(p.pages,w,v),pageParams:C(p.pageParams,m,v)}};if(r&&i.length){const p=r==="backward",m=p?Ks:xe,g={pages:i,pageParams:a},P=m(n,g);o=await f(g,P,p)}else{const p=t??i.length;do{const m=c===0?a[0]??n.initialPageParam:xe(n,o);if(c>0&&m==null)break;o=await f(o,m),c++}while(c<p)}return o};e.options.persister?e.fetchFn=()=>e.options.persister?.(u,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},s):e.fetchFn=u}}}function xe(t,{pages:e,pageParams:s}){const n=e.length-1;return e.length>0?t.getNextPageParam(e[n],e,s[n],s):void 0}function Ks(t,{pages:e,pageParams:s}){return e.length>0?t.getPreviousPageParam?.(e[0],e,s[0],s):void 0}function Bn(t,e){return e?xe(t,e)!=null:!1}function Qn(t,e){return!e||!t.getPreviousPageParam?!1:Ks(t,e)!=null}var Kn=class extends Qs{constructor(t,e){super(t,e)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(t){super.setOptions({...t,behavior:$t()})}getOptimisticResult(t){return t.behavior=$t(),super.getOptimisticResult(t)}fetchNextPage(t){return this.fetch({...t,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(t){return this.fetch({...t,meta:{fetchMore:{direction:"backward"}}})}createResult(t,e){const{state:s}=t,n=super.createResult(t,e),{isFetching:r,isRefetching:i,isError:a,isRefetchError:o}=n,c=s.fetchMeta?.fetchMore?.direction,u=a&&c==="forward",l=r&&c==="forward",d=a&&c==="backward",h=r&&c==="backward";return{...n,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:Bn(e,s.data),hasPreviousPage:Qn(e,s.data),isFetchNextPageError:u,isFetchingNextPage:l,isFetchPreviousPageError:d,isFetchingPreviousPage:h,isRefetchError:o&&!u&&!d,isRefetching:i&&!l&&!h}}},Vn=class extends Ns{#t;#e;#s;#r;constructor(t){super(),this.#t=t.client,this.mutationId=t.mutationId,this.#s=t.mutationCache,this.#e=[],this.state=t.state||Vs(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#e.includes(t)||(this.#e.push(t),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#e=this.#e.filter(e=>e!==t),this.scheduleGc(),this.#s.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#s.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(t){const e=()=>{this.#n({type:"continue"})},s={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=Us({fn:()=>this.options.mutationFn?this.options.mutationFn(t,s):Promise.reject(new Error("No mutationFn found")),onFail:(i,a)=>{this.#n({type:"failed",failureCount:i,error:a})},onPause:()=>{this.#n({type:"pause"})},onContinue:e,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#s.canRun(this)});const n=this.state.status==="pending",r=!this.#r.canStart();try{if(n)e();else{this.#n({type:"pending",variables:t,isPaused:r}),this.#s.config.onMutate&&await this.#s.config.onMutate(t,this,s);const a=await this.options.onMutate?.(t,s);a!==this.state.context&&this.#n({type:"pending",context:a,variables:t,isPaused:r})}const i=await this.#r.start();return await this.#s.config.onSuccess?.(i,t,this.state.context,this,s),await this.options.onSuccess?.(i,t,this.state.context,s),await this.#s.config.onSettled?.(i,null,this.state.variables,this.state.context,this,s),await this.options.onSettled?.(i,null,t,this.state.context,s),this.#n({type:"success",data:i}),i}catch(i){try{await this.#s.config.onError?.(i,t,this.state.context,this,s)}catch(a){Promise.reject(a)}try{await this.options.onError?.(i,t,this.state.context,s)}catch(a){Promise.reject(a)}try{await this.#s.config.onSettled?.(void 0,i,this.state.variables,this.state.context,this,s)}catch(a){Promise.reject(a)}try{await this.options.onSettled?.(void 0,i,t,this.state.context,s)}catch(a){Promise.reject(a)}throw this.#n({type:"error",error:i}),i}finally{this.#s.runNext(this)}}#n(t){const e=s=>{switch(t.type){case"failed":return{...s,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...s,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:t.error,failureCount:s.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=e(this.state),F.batch(()=>{this.#e.forEach(s=>{s.onMutationUpdate(t)}),this.#s.notify({mutation:this,type:"updated",action:t})})}};function Vs(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var $n=class extends vt{constructor(t={}){super(),this.config=t,this.#t=new Set,this.#e=new Map,this.#s=0}#t;#e;#s;build(t,e,s){const n=new Vn({client:t,mutationCache:this,mutationId:++this.#s,options:t.defaultMutationOptions(e),state:s});return this.add(n),n}add(t){this.#t.add(t);const e=Dt(t);if(typeof e=="string"){const s=this.#e.get(e);s?s.push(t):this.#e.set(e,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#t.delete(t)){const e=Dt(t);if(typeof e=="string"){const s=this.#e.get(e);if(s)if(s.length>1){const n=s.indexOf(t);n!==-1&&s.splice(n,1)}else s[0]===t&&this.#e.delete(e)}}this.notify({type:"removed",mutation:t})}canRun(t){const e=Dt(t);if(typeof e=="string"){const n=this.#e.get(e)?.find(r=>r.state.status==="pending");return!n||n===t}else return!0}runNext(t){const e=Dt(t);return typeof e=="string"?this.#e.get(e)?.find(n=>n!==t&&n.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){F.batch(()=>{this.#t.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#t.clear(),this.#e.clear()})}getAll(){return Array.from(this.#t)}find(t){const e={exact:!0,...t};return this.getAll().find(s=>ss(e,s))}findAll(t={}){return this.getAll().filter(e=>ss(t,e))}notify(t){F.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){const t=this.getAll().filter(e=>e.state.isPaused);return F.batch(()=>Promise.all(t.map(e=>e.continue().catch(D))))}};function Dt(t){return t.options.scope?.id}var qn=class extends vt{#t;#e=void 0;#s;#r;constructor(t,e){super(),this.#t=t,this.setOptions(e),this.bindMethods(),this.#n()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const e=this.options;this.options=this.#t.defaultMutationOptions(t),Kt(this.options,e)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#s,observer:this}),e?.mutationKey&&this.options.mutationKey&&ut(e.mutationKey)!==ut(this.options.mutationKey)?this.reset():this.#s?.state.status==="pending"&&this.#s.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#s?.removeObserver(this)}onMutationUpdate(t){this.#n(),this.#o(t)}getCurrentResult(){return this.#e}reset(){this.#s?.removeObserver(this),this.#s=void 0,this.#n(),this.#o()}mutate(t,e){return this.#r=e,this.#s?.removeObserver(this),this.#s=this.#t.getMutationCache().build(this.#t,this.options),this.#s.addObserver(this),this.#s.execute(t)}#n(){const t=this.#s?.state??Vs();this.#e={...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset}}#o(t){F.batch(()=>{if(this.#r&&this.hasListeners()){const e=this.#e.variables,s=this.#e.context,n={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};if(t?.type==="success"){try{this.#r.onSuccess?.(t.data,e,s,n)}catch(r){Promise.reject(r)}try{this.#r.onSettled?.(t.data,null,e,s,n)}catch(r){Promise.reject(r)}}else if(t?.type==="error"){try{this.#r.onError?.(t.error,e,s,n)}catch(r){Promise.reject(r)}try{this.#r.onSettled?.(void 0,t.error,e,s,n)}catch(r){Promise.reject(r)}}}this.listeners.forEach(e=>{e(this.#e)})})}},Hn=class extends vt{constructor(t={}){super(),this.config=t,this.#t=new Map}#t;build(t,e,s){const n=e.queryKey,r=e.queryHash??Oe(n,e);let i=this.get(r);return i||(i=new jn({client:t,queryKey:n,queryHash:r,options:t.defaultQueryOptions(e),state:s,defaultOptions:t.getQueryDefaults(n)}),this.add(i)),i}add(t){this.#t.has(t.queryHash)||(this.#t.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const e=this.#t.get(t.queryHash);e&&(t.destroy(),e===t&&this.#t.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){F.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#t.get(t)}getAll(){return[...this.#t.values()]}find(t){const e={exact:!0,...t};return this.getAll().find(s=>es(e,s))}findAll(t={}){const e=this.getAll();return Object.keys(t).length>0?e.filter(s=>es(t,s)):e}notify(t){F.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){F.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){F.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Vi=class{#t;#e;#s;#r;#n;#o;#a;#i;constructor(t={}){this.#t=t.queryCache||new Hn,this.#e=t.mutationCache||new $n,this.#s=t.defaultOptions||{},this.#r=new Map,this.#n=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#a=ke.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#i=Vt.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#o--,this.#o===0&&(this.#a?.(),this.#a=void 0,this.#i?.(),this.#i=void 0)}isFetching(t){return this.#t.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#e.findAll({...t,status:"pending"}).length}getQueryData(t){const e=this.defaultQueryOptions({queryKey:t});return this.#t.get(e.queryHash)?.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),s=this.#t.build(this,e),n=s.state.data;return n===void 0?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(tt(e.staleTime,s))&&this.prefetchQuery(e),Promise.resolve(n))}getQueriesData(t){return this.#t.findAll(t).map(({queryKey:e,state:s})=>{const n=s.data;return[e,n]})}setQueryData(t,e,s){const n=this.defaultQueryOptions({queryKey:t}),i=this.#t.get(n.queryHash)?.state.data,a=Cn(e,i);if(a!==void 0)return this.#t.build(this,n).setData(a,{...s,manual:!0})}setQueriesData(t,e,s){return F.batch(()=>this.#t.findAll(t).map(({queryKey:n})=>[n,this.setQueryData(n,e,s)]))}getQueryState(t){const e=this.defaultQueryOptions({queryKey:t});return this.#t.get(e.queryHash)?.state}removeQueries(t){const e=this.#t;F.batch(()=>{e.findAll(t).forEach(s=>{e.remove(s)})})}resetQueries(t,e){const s=this.#t;return F.batch(()=>(s.findAll(t).forEach(n=>{n.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const s={revert:!0,...e},n=F.batch(()=>this.#t.findAll(t).map(r=>r.cancel(s)));return Promise.all(n).then(D).catch(D)}invalidateQueries(t,e={}){return F.batch(()=>(this.#t.findAll(t).forEach(s=>{s.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},e)))}refetchQueries(t,e={}){const s={...e,cancelRefetch:e.cancelRefetch??!0},n=F.batch(()=>this.#t.findAll(t).filter(r=>!r.isDisabled()&&!r.isStatic()).map(r=>{let i=r.fetch(void 0,s);return s.throwOnError||(i=i.catch(D)),r.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(n).then(D)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const s=this.#t.build(this,e);return s.isStaleByTime(tt(e.staleTime,s))?s.fetch(e):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(D).catch(D)}fetchInfiniteQuery(t){return t.behavior=$t(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(D).catch(D)}ensureInfiniteQueryData(t){return t.behavior=$t(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Vt.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#s}setDefaultOptions(t){this.#s=t}setQueryDefaults(t,e){this.#r.set(ut(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...this.#r.values()],s={};return e.forEach(n=>{Mt(t,n.queryKey)&&Object.assign(s,n.defaultOptions)}),s}setMutationDefaults(t,e){this.#n.set(ut(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...this.#n.values()],s={};return e.forEach(n=>{Mt(t,n.mutationKey)&&Object.assign(s,n.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;const e={...this.#s.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=Oe(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===Me&&(e.enabled=!1),e}defaultMutationOptions(t){return t?._defaulted?t:{...this.#s.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}},$s=b.createContext(void 0),qs=t=>{const e=b.useContext($s);if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},$i=({client:t,children:e})=>(b.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),_.jsx($s.Provider,{value:t,children:e})),Hs=b.createContext(!1),Wn=()=>b.useContext(Hs);Hs.Provider;function zn(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var Gn=b.createContext(zn()),Jn=()=>b.useContext(Gn),Yn=(t,e,s)=>{const n=s?.state.error&&typeof t.throwOnError=="function"?Ee(t.throwOnError,[s.state.error,s]):t.throwOnError;(t.suspense||t.experimental_prefetchInRender||n)&&(e.isReset()||(t.retryOnMount=!1))},Xn=t=>{b.useEffect(()=>{t.clearReset()},[t])},Zn=({result:t,errorResetBoundary:e,throwOnError:s,query:n,suspense:r})=>t.isError&&!e.isReset()&&!t.isFetching&&n&&(r&&t.data===void 0||Ee(s,[t.error,n])),tr=t=>{if(t.suspense){const s=r=>r==="static"?r:Math.max(r??1e3,1e3),n=t.staleTime;t.staleTime=typeof n=="function"?(...r)=>s(n(...r)):s(n),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3))}},er=(t,e)=>t.isLoading&&t.isFetching&&!e,sr=(t,e)=>t?.suspense&&e.isPending,us=(t,e,s)=>e.fetchOptimistic(t).catch(()=>{s.clearReset()});function Ws(t,e,s){const n=Wn(),r=Jn(),i=qs(),a=i.defaultQueryOptions(t);i.getDefaultOptions().queries?._experimental_beforeQuery?.(a);const o=i.getQueryCache().get(a.queryHash);a._optimisticResults=n?"isRestoring":"optimistic",tr(a),Yn(a,r,o),Xn(r);const c=!i.getQueryCache().get(a.queryHash),[u]=b.useState(()=>new e(i,a)),l=u.getOptimisticResult(a),d=!n&&t.subscribed!==!1;if(b.useSyncExternalStore(b.useCallback(h=>{const f=d?u.subscribe(F.batchCalls(h)):D;return u.updateResult(),f},[u,d]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),b.useEffect(()=>{u.setOptions(a)},[a,u]),sr(a,l))throw us(a,u,r);if(Zn({result:l,errorResetBoundary:r,throwOnError:a.throwOnError,query:o,suspense:a.suspense}))throw l.error;return i.getDefaultOptions().queries?._experimental_afterQuery?.(a,l),a.experimental_prefetchInRender&&!ct&&er(l,n)&&(c?us(a,u,r):o?.promise)?.catch(D).finally(()=>{u.updateResult()}),a.notifyOnChangeProps?l:u.trackResult(l)}function qi(t,e){return Ws(t,Qs)}function Hi(t,e){const s=qs(),[n]=b.useState(()=>new qn(s,t));b.useEffect(()=>{n.setOptions(t)},[n,t]);const r=b.useSyncExternalStore(b.useCallback(a=>n.subscribe(F.batchCalls(a)),[n]),()=>n.getCurrentResult(),()=>n.getCurrentResult()),i=b.useCallback((a,o)=>{n.mutate(a,o).catch(D)},[n]);if(r.error&&Ee(n.options.throwOnError,[r.error]))throw r.error;return{...r,mutate:i,mutateAsync:r.mutate}}function Wi(t,e){return Ws(t,Kn)}function nr(t){return typeof t=="function"}class _e{constructor(e,s){this.listeners=new Set,this.subscribe=n=>{var r,i;this.listeners.add(n);const a=(i=(r=this.options)==null?void 0:r.onSubscribe)==null?void 0:i.call(r,n,this);return()=>{this.listeners.delete(n),a?.()}},this.prevState=e,this.state=e,this.options=s}setState(e){var s,n,r;this.prevState=this.state,(s=this.options)!=null&&s.updateFn?this.state=this.options.updateFn(this.prevState)(e):nr(e)?this.state=e(this.prevState):this.state=e,(r=(n=this.options)==null?void 0:n.onUpdate)==null||r.call(n),Sn(this)}}class Ut{constructor(e){this.listeners=new Set,this._subscriptions=[],this.lastSeenDepValues=[],this.getDepVals=()=>{const s=this.options.deps.length,n=new Array(s),r=new Array(s);for(let i=0;i<s;i++){const a=this.options.deps[i];n[i]=a.prevState,r[i]=a.state}return this.lastSeenDepValues=r,{prevDepVals:n,currDepVals:r,prevVal:this.prevState??void 0}},this.recompute=()=>{var s,n;this.prevState=this.state;const r=this.getDepVals();this.state=this.options.fn(r),(n=(s=this.options).onUpdate)==null||n.call(s)},this.checkIfRecalculationNeededDeeply=()=>{for(const i of this.options.deps)i instanceof Ut&&i.checkIfRecalculationNeededDeeply();let s=!1;const n=this.lastSeenDepValues,{currDepVals:r}=this.getDepVals();for(let i=0;i<r.length;i++)if(r[i]!==n[i]){s=!0;break}s&&this.recompute()},this.mount=()=>(this.registerOnGraph(),this.checkIfRecalculationNeededDeeply(),()=>{this.unregisterFromGraph();for(const s of this._subscriptions)s()}),this.subscribe=s=>{var n,r;this.listeners.add(s);const i=(r=(n=this.options).onSubscribe)==null?void 0:r.call(n,s,this);return()=>{this.listeners.delete(s),i?.()}},this.options=e,this.state=e.fn({prevDepVals:void 0,prevVal:void 0,currDepVals:this.getDepVals().currDepVals})}registerOnGraph(e=this.options.deps){for(const s of e)if(s instanceof Ut)s.registerOnGraph(),this.registerOnGraph(s.options.deps);else if(s instanceof _e){let n=ne.get(s);n||(n=new Set,ne.set(s,n)),n.add(this);let r=re.get(this);r||(r=new Set,re.set(this,r)),r.add(s)}}unregisterFromGraph(e=this.options.deps){for(const s of e)if(s instanceof Ut)this.unregisterFromGraph(s.options.deps);else if(s instanceof _e){const n=ne.get(s);n&&n.delete(this);const r=re.get(this);r&&r.delete(s)}}}const et="__TSR_index",ls="popstate",hs="beforeunload";function rr(t){let e=t.getLocation();const s=new Set,n=a=>{e=t.getLocation(),s.forEach(o=>o({location:e,action:a}))},r=a=>{t.notifyOnIndexChange??!0?n(a):e=t.getLocation()},i=async({task:a,navigateOpts:o,...c})=>{if(o?.ignoreBlocker??!1){a();return}const l=t.getBlockers?.()??[],d=c.type==="PUSH"||c.type==="REPLACE";if(typeof document<"u"&&l.length&&d)for(const h of l){const f=qt(c.path,c.state);if(await h.blockerFn({currentLocation:e,nextLocation:f,action:c.type})){t.onBlocked?.();return}}a()};return{get location(){return e},get length(){return t.getLength()},subscribers:s,subscribe:a=>(s.add(a),()=>{s.delete(a)}),push:(a,o,c)=>{const u=e.state[et];o=ds(u+1,o),i({task:()=>{t.pushState(a,o),n({type:"PUSH"})},navigateOpts:c,type:"PUSH",path:a,state:o})},replace:(a,o,c)=>{const u=e.state[et];o=ds(u,o),i({task:()=>{t.replaceState(a,o),n({type:"REPLACE"})},navigateOpts:c,type:"REPLACE",path:a,state:o})},go:(a,o)=>{i({task:()=>{t.go(a),r({type:"GO",index:a})},navigateOpts:o,type:"GO"})},back:a=>{i({task:()=>{t.back(a?.ignoreBlocker??!1),r({type:"BACK"})},navigateOpts:a,type:"BACK"})},forward:a=>{i({task:()=>{t.forward(a?.ignoreBlocker??!1),r({type:"FORWARD"})},navigateOpts:a,type:"FORWARD"})},canGoBack:()=>e.state[et]!==0,createHref:a=>t.createHref(a),block:a=>{if(!t.setBlockers)return()=>{};const o=t.getBlockers?.()??[];return t.setBlockers([...o,a]),()=>{const c=t.getBlockers?.()??[];t.setBlockers?.(c.filter(u=>u!==a))}},flush:()=>t.flush?.(),destroy:()=>t.destroy?.(),notify:n}}function ds(t,e){e||(e={});const s=Te();return{...e,key:s,__TSR_key:s,[et]:t}}function ir(t){const e=typeof document<"u"?window:void 0,s=e.history.pushState,n=e.history.replaceState;let r=[];const i=()=>r,a=y=>r=y,o=(y=>y),c=(()=>qt(`${e.location.pathname}${e.location.search}${e.location.hash}`,e.history.state));if(!e.history.state?.__TSR_key&&!e.history.state?.key){const y=Te();e.history.replaceState({[et]:0,key:y,__TSR_key:y},"")}let u=c(),l,d=!1,h=!1,f=!1,p=!1;const m=()=>u;let g,P;const S=()=>{g&&(x._ignoreSubscribers=!0,(g.isPush?e.history.pushState:e.history.replaceState)(g.state,"",g.href),x._ignoreSubscribers=!1,g=void 0,P=void 0,l=void 0)},w=(y,R,O)=>{const M=o(R);P||(l=u),u=qt(R,O),g={href:M,state:O,isPush:g?.isPush||y==="push"},P||(P=Promise.resolve().then(()=>S()))},v=y=>{u=c(),x.notify({type:y})},C=async()=>{if(h){h=!1;return}const y=c(),R=y.state[et]-u.state[et],O=R===1,M=R===-1,E=!O&&!M||d;d=!1;const k=E?"GO":M?"BACK":"FORWARD",I=E?{type:"GO",index:R}:{type:M?"BACK":"FORWARD"};if(f)f=!1;else{const J=i();if(typeof document<"u"&&J.length){for(const q of J)if(await q.blockerFn({currentLocation:u,nextLocation:y,action:k})){h=!0,e.history.go(1),x.notify(I);return}}}u=c(),x.notify(I)},L=y=>{if(p){p=!1;return}let R=!1;const O=i();if(typeof document<"u"&&O.length)for(const M of O){const E=M.enableBeforeUnload??!0;if(E===!0){R=!0;break}if(typeof E=="function"&&E()===!0){R=!0;break}}if(R)return y.preventDefault(),y.returnValue=""},x=rr({getLocation:m,getLength:()=>e.history.length,pushState:(y,R)=>w("push",y,R),replaceState:(y,R)=>w("replace",y,R),back:y=>(y&&(f=!0),p=!0,e.history.back()),forward:y=>{y&&(f=!0),p=!0,e.history.forward()},go:y=>{d=!0,e.history.go(y)},createHref:y=>o(y),flush:S,destroy:()=>{e.history.pushState=s,e.history.replaceState=n,e.removeEventListener(hs,L,{capture:!0}),e.removeEventListener(ls,C)},onBlocked:()=>{l&&u!==l&&(u=l)},getBlockers:i,setBlockers:a,notifyOnIndexChange:!1});return e.addEventListener(hs,L,{capture:!0}),e.addEventListener(ls,C),e.history.pushState=function(...y){const R=s.apply(e.history,y);return x._ignoreSubscribers||v("PUSH"),R},e.history.replaceState=function(...y){const R=n.apply(e.history,y);return x._ignoreSubscribers||v("REPLACE"),R},x}function or(t){let e=t.replace(/[\x00-\x1f\x7f]/g,"");return e.startsWith("//")&&(e="/"+e.replace(/^\/+/,"")),e}function qt(t,e){const s=or(t),n=s.indexOf("#"),r=s.indexOf("?"),i=Te();return{href:s,pathname:s.substring(0,n>0?r>0?Math.min(n,r):n:r>0?r:s.length),hash:n>-1?s.substring(n):"",search:r>-1?s.slice(r,n===-1?void 0:n):"",state:e||{[et]:0,key:i,__TSR_key:i}}}function Te(){return(Math.random()+1).toString(36).substring(7)}const ar=!1;function Lt(t){let e;return wn(()=>{e=t()}),e}function Et(t){return t[t.length-1]}function cr(t){return typeof t=="function"}function X(t,e){return cr(t)?t(e):t}const ur=Object.prototype.hasOwnProperty,fs=Object.prototype.propertyIsEnumerable;function j(t,e,s=0){if(t===e)return t;if(s>500)return e;const n=e,r=gs(t)&&gs(n);if(!r&&!(Ht(t)&&Ht(n)))return n;const i=r?t:ps(t);if(!i)return n;const a=r?n:ps(n);if(!a)return n;const o=i.length,c=a.length,u=r?new Array(c):{};let l=0;for(let d=0;d<c;d++){const h=r?d:a[d],f=t[h],p=n[h];if(f===p){u[h]=f,(r?d<o:ur.call(t,h))&&l++;continue}if(f===null||p===null||typeof f!="object"||typeof p!="object"){u[h]=p;continue}const m=j(f,p,s+1);u[h]=m,m===f&&l++}return o===c&&l===o?t:u}function ps(t){const e=Object.getOwnPropertyNames(t);for(const r of e)if(!fs.call(t,r))return!1;const s=Object.getOwnPropertySymbols(t);if(s.length===0)return e;const n=e;for(const r of s){if(!fs.call(t,r))return!1;n.push(r)}return n}function Ht(t){if(!ms(t))return!1;const e=t.constructor;if(typeof e>"u")return!0;const s=e.prototype;return!(!ms(s)||!s.hasOwnProperty("isPrototypeOf"))}function ms(t){return Object.prototype.toString.call(t)==="[object Object]"}function gs(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function ot(t,e,s){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;for(let n=0,r=t.length;n<r;n++)if(!ot(t[n],e[n],s))return!1;return!0}if(Ht(t)&&Ht(e)){const n=s?.ignoreUndefined??!0;if(s?.partial){for(const a in e)if((!n||e[a]!==void 0)&&!ot(t[a],e[a],s))return!1;return!0}let r=0;if(!n)r=Object.keys(t).length;else for(const a in t)t[a]!==void 0&&r++;let i=0;for(const a in e)if((!n||e[a]!==void 0)&&(i++,i>r||!ot(t[a],e[a],s)))return!1;return r===i}return!1}function gt(t){let e,s;const n=new Promise((r,i)=>{e=r,s=i});return n.status="pending",n.resolve=r=>{n.status="resolved",n.value=r,e(r),t?.(r)},n.reject=r=>{n.status="rejected",s(r)},n}function pt(t){return!!(t&&typeof t=="object"&&typeof t.then=="function")}function lr(t){return t.replace(/[\x00-\x1f\x7f]/g,"")}function ys(t){let e;try{e=decodeURI(t)}catch{e=t.replaceAll(/%[0-9A-F]{2}/gi,s=>{try{return decodeURI(s)}catch{return s}})}return lr(e)}const hr=["http:","https:","mailto:","tel:"];function Wt(t,e){if(!t)return!1;try{const s=new URL(t);return!e.has(s.protocol)}catch{return!1}}function Rt(t){if(!t)return{path:t,handledProtocolRelativeURL:!1};if(!/[%\\\x00-\x1f\x7f]/.test(t)&&!t.startsWith("//"))return{path:t,handledProtocolRelativeURL:!1};const e=/%25|%5C/gi;let s=0,n="",r;for(;(r=e.exec(t))!==null;)n+=ys(t.slice(s,r.index))+r[0],s=e.lastIndex;n=n+ys(s?t.slice(s):t);let i=!1;return n.startsWith("//")&&(i=!0,n="/"+n.replace(/^\/+/,"")),{path:n,handledProtocolRelativeURL:i}}function dr(t){return/\s|[^\u0000-\u007F]/.test(t)?t.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):t}var fr="Invariant failed";function G(t,e){if(!t)throw new Error(fr)}function zt(t){const e=new Map;let s,n;const r=i=>{i.next&&(i.prev?(i.prev.next=i.next,i.next.prev=i.prev,i.next=void 0,n&&(n.next=i,i.prev=n)):(i.next.prev=void 0,s=i.next,i.next=void 0,n&&(i.prev=n,n.next=i)),n=i)};return{get(i){const a=e.get(i);if(a)return r(a),a.value},set(i,a){if(e.size>=t&&s){const c=s;e.delete(c.key),c.next&&(s=c.next,c.next.prev=void 0),c===n&&(n=void 0)}const o=e.get(i);if(o)o.value=a,r(o);else{const c={key:i,value:a,prev:n};n&&(n.next=c),n=c,s||(s=c),e.set(i,c)}},clear(){e.clear(),s=void 0,n=void 0}}}const yt=0,lt=1,ht=2,kt=3,rt=4,zs=5;function pr(t){const e=t.indexOf("{");if(e===-1)return null;const s=t.indexOf("}",e);return s===-1||e+1>=t.length?null:[e,s]}function Fe(t,e,s=new Uint16Array(6)){const n=t.indexOf("/",e),r=n===-1?t.length:n,i=t.substring(e,r);if(!i||!i.includes("$"))return s[0]=yt,s[1]=e,s[2]=e,s[3]=r,s[4]=r,s[5]=r,s;if(i==="$"){const o=t.length;return s[0]=ht,s[1]=e,s[2]=e,s[3]=o,s[4]=o,s[5]=o,s}if(i.charCodeAt(0)===36)return s[0]=lt,s[1]=e,s[2]=e+1,s[3]=r,s[4]=r,s[5]=r,s;const a=pr(i);if(a){const[o,c]=a,u=i.charCodeAt(o+1);if(u===45){if(o+2<i.length&&i.charCodeAt(o+2)===36){const l=o+3,d=c;if(l<d)return s[0]=kt,s[1]=e+o,s[2]=e+l,s[3]=e+d,s[4]=e+c+1,s[5]=r,s}}else if(u===36){const l=o+1,d=o+2;return d===c?(s[0]=ht,s[1]=e+o,s[2]=e+l,s[3]=e+d,s[4]=e+c+1,s[5]=t.length,s):(s[0]=lt,s[1]=e+o,s[2]=e+d,s[3]=e+c,s[4]=e+c+1,s[5]=r,s)}}return s[0]=yt,s[1]=e,s[2]=e,s[3]=r,s[4]=r,s[5]=r,s}function Xt(t,e,s,n,r,i,a){a?.(s);let o=n;{const c=s.fullPath??s.from,u=c.length,l=s.options?.caseSensitive??t,d=!!(s.options?.params?.parse&&s.options?.skipRouteOnParseError?.params);for(;o<u;){const f=Fe(c,o,e);let p;const m=o,g=f[5];switch(o=g+1,i++,f[0]){case yt:{const S=c.substring(f[2],f[3]);if(l){const w=r.static?.get(S);if(w)p=w;else{r.static??=new Map;const v=it(s.fullPath??s.from);v.parent=r,v.depth=i,p=v,r.static.set(S,v)}}else{const w=S.toLowerCase(),v=r.staticInsensitive?.get(w);if(v)p=v;else{r.staticInsensitive??=new Map;const C=it(s.fullPath??s.from);C.parent=r,C.depth=i,p=C,r.staticInsensitive.set(w,C)}}break}case lt:{const S=c.substring(m,f[1]),w=c.substring(f[4],g),v=l&&!!(S||w),C=S?v?S:S.toLowerCase():void 0,L=w?v?w:w.toLowerCase():void 0,x=!d&&r.dynamic?.find(y=>!y.skipOnParamError&&y.caseSensitive===v&&y.prefix===C&&y.suffix===L);if(x)p=x;else{const y=oe(lt,s.fullPath??s.from,v,C,L);p=y,y.depth=i,y.parent=r,r.dynamic??=[],r.dynamic.push(y)}break}case kt:{const S=c.substring(m,f[1]),w=c.substring(f[4],g),v=l&&!!(S||w),C=S?v?S:S.toLowerCase():void 0,L=w?v?w:w.toLowerCase():void 0,x=!d&&r.optional?.find(y=>!y.skipOnParamError&&y.caseSensitive===v&&y.prefix===C&&y.suffix===L);if(x)p=x;else{const y=oe(kt,s.fullPath??s.from,v,C,L);p=y,y.parent=r,y.depth=i,r.optional??=[],r.optional.push(y)}break}case ht:{const S=c.substring(m,f[1]),w=c.substring(f[4],g),v=l&&!!(S||w),C=S?v?S:S.toLowerCase():void 0,L=w?v?w:w.toLowerCase():void 0,x=oe(ht,s.fullPath??s.from,v,C,L);p=x,x.parent=r,x.depth=i,r.wildcard??=[],r.wildcard.push(x)}}r=p}if(d&&s.children&&!s.isRoot&&s.id&&s.id.charCodeAt(s.id.lastIndexOf("/")+1)===95){const f=it(s.fullPath??s.from);f.kind=zs,f.parent=r,i++,f.depth=i,r.pathless??=[],r.pathless.push(f),r=f}const h=(s.path||!s.children)&&!s.isRoot;if(h&&c.endsWith("/")){const f=it(s.fullPath??s.from);f.kind=rt,f.parent=r,i++,f.depth=i,r.index=f,r=f}r.parse=s.options?.params?.parse??null,r.skipOnParamError=d,r.parsingPriority=s.options?.skipRouteOnParseError?.priority??0,h&&!r.route&&(r.route=s,r.fullPath=s.fullPath??s.from)}if(s.children)for(const c of s.children)Xt(t,e,c,o,r,i,a)}function ie(t,e){if(t.skipOnParamError&&!e.skipOnParamError)return-1;if(!t.skipOnParamError&&e.skipOnParamError)return 1;if(t.skipOnParamError&&e.skipOnParamError&&(t.parsingPriority||e.parsingPriority))return e.parsingPriority-t.parsingPriority;if(t.prefix&&e.prefix&&t.prefix!==e.prefix){if(t.prefix.startsWith(e.prefix))return-1;if(e.prefix.startsWith(t.prefix))return 1}if(t.suffix&&e.suffix&&t.suffix!==e.suffix){if(t.suffix.endsWith(e.suffix))return-1;if(e.suffix.endsWith(t.suffix))return 1}return t.prefix&&!e.prefix?-1:!t.prefix&&e.prefix?1:t.suffix&&!e.suffix?-1:!t.suffix&&e.suffix?1:t.caseSensitive&&!e.caseSensitive?-1:!t.caseSensitive&&e.caseSensitive?1:0}function Y(t){if(t.pathless)for(const e of t.pathless)Y(e);if(t.static)for(const e of t.static.values())Y(e);if(t.staticInsensitive)for(const e of t.staticInsensitive.values())Y(e);if(t.dynamic?.length){t.dynamic.sort(ie);for(const e of t.dynamic)Y(e)}if(t.optional?.length){t.optional.sort(ie);for(const e of t.optional)Y(e)}if(t.wildcard?.length){t.wildcard.sort(ie);for(const e of t.wildcard)Y(e)}}function it(t){return{kind:yt,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:t,parent:null,parse:null,skipOnParamError:!1,parsingPriority:0}}function oe(t,e,s,n,r){return{kind:t,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:e,parent:null,parse:null,skipOnParamError:!1,parsingPriority:0,caseSensitive:s,prefix:n,suffix:r}}function mr(t,e){const s=it("/"),n=new Uint16Array(6);for(const r of t)Xt(!1,n,r,1,s,0);Y(s),e.masksTree=s,e.flatCache=zt(1e3)}function gr(t,e){t||="/";const s=e.flatCache.get(t);if(s)return s;const n=De(t,e.masksTree);return e.flatCache.set(t,n),n}function yr(t,e,s,n,r){t||="/",n||="/";const i=e?`case\0${t}`:t;let a=r.singleCache.get(i);if(!a){a=it("/");const o=new Uint16Array(6);Xt(e,o,{from:t},1,a,0),r.singleCache.set(i,a)}return De(n,a,s)}function vr(t,e,s=!1){const n=s?t:`nofuzz\0${t}`,r=e.matchCache.get(n);if(r!==void 0)return r;t||="/";let i;try{i=De(t,e.segmentTree,s)}catch(a){if(a instanceof URIError)i=null;else throw a}return i&&(i.branch=wr(i.route)),e.matchCache.set(n,i),i}function Pr(t){return t==="/"?t:t.replace(/\/{1,}$/,"")}function Sr(t,e=!1,s){const n=it(t.fullPath),r=new Uint16Array(6),i={},a={};let o=0;return Xt(e,r,t,1,n,0,u=>{if(s?.(u,o),G(!(u.id in i),`Duplicate routes found with id: ${String(u.id)}`),i[u.id]=u,o!==0&&u.path){const l=Pr(u.fullPath);(!a[l]||u.fullPath.endsWith("/"))&&(a[l]=u)}o++}),Y(n),{processedTree:{segmentTree:n,singleCache:zt(1e3),matchCache:zt(1e3),flatCache:null,masksTree:null},routesById:i,routesByPath:a}}function De(t,e,s=!1){const n=t.split("/"),r=br(t,n,e,s);if(!r)return null;const[i]=Gs(t,n,r);return{route:r.node.route,rawParams:i,parsedParams:r.parsedParams}}function Gs(t,e,s){const n=Rr(s.node);let r=null;const i={};let a=s.extract?.part??0,o=s.extract?.node??0,c=s.extract?.path??0,u=s.extract?.segment??0;for(;o<n.length;a++,o++,c++,u++){const l=n[o];if(l.kind===rt)break;if(l.kind===zs){u--,a--,c--;continue}const d=e[a],h=c;if(d&&(c+=d.length),l.kind===lt){r??=s.node.fullPath.split("/");const f=r[u],p=l.prefix?.length??0;if(f.charCodeAt(p)===123){const g=l.suffix?.length??0,P=f.substring(p+2,f.length-g-1),S=d.substring(p,d.length-g);i[P]=decodeURIComponent(S)}else{const g=f.substring(1);i[g]=decodeURIComponent(d)}}else if(l.kind===kt){if(s.skipped&1<<o){a--,c=h-1;continue}r??=s.node.fullPath.split("/");const f=r[u],p=l.prefix?.length??0,m=l.suffix?.length??0,g=f.substring(p+3,f.length-m-1),P=l.suffix||l.prefix?d.substring(p,d.length-m):d;P&&(i[g]=decodeURIComponent(P))}else if(l.kind===ht){const f=l,p=t.substring(h+(f.prefix?.length??0),t.length-(f.suffix?.length??0)),m=decodeURIComponent(p);i["*"]=m,i._splat=m;break}}return s.rawParams&&Object.assign(i,s.rawParams),[i,{part:a,node:o,path:c,segment:u}]}function wr(t){const e=[t];for(;t.parentRoute;)t=t.parentRoute,e.push(t);return e.reverse(),e}function Rr(t){const e=Array(t.depth+1);do e[t.depth]=t,t=t.parent;while(t);return e}function br(t,e,s,n){if(t==="/"&&s.index)return{node:s.index,skipped:0};const r=!Et(e),i=r&&t!=="/",a=e.length-(r?1:0),o=[{node:s,index:1,skipped:0,depth:1,statics:1,dynamics:0,optionals:0}];let c=null,u=null,l=null;for(;o.length;){const d=o.pop(),{node:h,index:f,skipped:p,depth:m,statics:g,dynamics:P,optionals:S}=d;let{extract:w,rawParams:v,parsedParams:C}=d;if(h.skipOnParamError){if(!ae(t,e,d))continue;v=d.rawParams,w=d.extract,C=d.parsedParams}n&&h.route&&h.kind!==rt&&bt(u,d)&&(u=d);const L=f===a;if(L&&(h.route&&!i&&bt(l,d)&&(l=d),!h.optional&&!h.wildcard&&!h.index&&!h.pathless))continue;const x=L?void 0:e[f];let y;if(L&&h.index){const R={node:h.index,index:f,skipped:p,depth:m+1,statics:g,dynamics:P,optionals:S,extract:w,rawParams:v,parsedParams:C};let O=!0;if(h.index.skipOnParamError&&(ae(t,e,R)||(O=!1)),O){if(g===a&&!P&&!S&&!p)return R;bt(l,R)&&(l=R)}}if(h.wildcard&&bt(c,d))for(const R of h.wildcard){const{prefix:O,suffix:M}=R;if(O&&(L||!(R.caseSensitive?x:y??=x.toLowerCase()).startsWith(O)))continue;if(M){if(L)continue;const k=e.slice(f).join("/").slice(-M.length);if((R.caseSensitive?k:k.toLowerCase())!==M)continue}const E={node:R,index:a,skipped:p,depth:m,statics:g,dynamics:P,optionals:S,extract:w,rawParams:v,parsedParams:C};if(!(R.skipOnParamError&&!ae(t,e,E))){c=E;break}}if(h.optional){const R=p|1<<m,O=m+1;for(let M=h.optional.length-1;M>=0;M--){const E=h.optional[M];o.push({node:E,index:f,skipped:R,depth:O,statics:g,dynamics:P,optionals:S,extract:w,rawParams:v,parsedParams:C})}if(!L)for(let M=h.optional.length-1;M>=0;M--){const E=h.optional[M],{prefix:k,suffix:I}=E;if(k||I){const J=E.caseSensitive?x:y??=x.toLowerCase();if(k&&!J.startsWith(k)||I&&!J.endsWith(I))continue}o.push({node:E,index:f+1,skipped:p,depth:O,statics:g,dynamics:P,optionals:S+1,extract:w,rawParams:v,parsedParams:C})}}if(!L&&h.dynamic&&x)for(let R=h.dynamic.length-1;R>=0;R--){const O=h.dynamic[R],{prefix:M,suffix:E}=O;if(M||E){const k=O.caseSensitive?x:y??=x.toLowerCase();if(M&&!k.startsWith(M)||E&&!k.endsWith(E))continue}o.push({node:O,index:f+1,skipped:p,depth:m+1,statics:g,dynamics:P+1,optionals:S,extract:w,rawParams:v,parsedParams:C})}if(!L&&h.staticInsensitive){const R=h.staticInsensitive.get(y??=x.toLowerCase());R&&o.push({node:R,index:f+1,skipped:p,depth:m+1,statics:g+1,dynamics:P,optionals:S,extract:w,rawParams:v,parsedParams:C})}if(!L&&h.static){const R=h.static.get(x);R&&o.push({node:R,index:f+1,skipped:p,depth:m+1,statics:g+1,dynamics:P,optionals:S,extract:w,rawParams:v,parsedParams:C})}if(h.pathless){const R=m+1;for(let O=h.pathless.length-1;O>=0;O--){const M=h.pathless[O];o.push({node:M,index:f,skipped:p,depth:R,statics:g,dynamics:P,optionals:S,extract:w,rawParams:v,parsedParams:C})}}}if(l&&c)return bt(c,l)?l:c;if(l)return l;if(c)return c;if(n&&u){let d=u.index;for(let f=0;f<u.index;f++)d+=e[f].length;const h=d===t.length?"/":t.slice(d);return u.rawParams??={},u.rawParams["**"]=decodeURIComponent(h),u}return null}function ae(t,e,s){try{const[n,r]=Gs(t,e,s);s.rawParams=n,s.extract=r;const i=s.node.parse(n);return s.parsedParams=Object.assign({},s.parsedParams,i),!0}catch{return null}}function bt(t,e){return t?e.statics>t.statics||e.statics===t.statics&&(e.dynamics>t.dynamics||e.dynamics===t.dynamics&&(e.optionals>t.optionals||e.optionals===t.optionals&&((e.node.kind===rt)>(t.node.kind===rt)||e.node.kind===rt==(t.node.kind===rt)&&e.depth>t.depth))):!0}function Nt(t){return Ae(t.filter(e=>e!==void 0).join("/"))}function Ae(t){return t.replace(/\/{2,}/g,"/")}function Js(t){return t==="/"?t:t.replace(/^\/{1,}/,"")}function z(t){const e=t.length;return e>1&&t[e-1]==="/"?t.replace(/\/{1,}$/,""):t}function Ys(t){return z(Js(t))}function Gt(t,e){return t?.endsWith("/")&&t!=="/"&&t!==`${e}/`?t.slice(0,-1):t}function xr(t,e,s){return Gt(t,s)===Gt(e,s)}function _r({base:t,to:e,trailingSlash:s="never",cache:n}){const r=e.startsWith("/"),i=!r&&e===".";let a;if(n){a=r?e:i?t:t+"\0"+e;const d=n.get(a);if(d)return d}let o;if(i)o=t.split("/");else if(r)o=e.split("/");else{for(o=t.split("/");o.length>1&&Et(o)==="";)o.pop();const d=e.split("/");for(let h=0,f=d.length;h<f;h++){const p=d[h];p===""?h?h===f-1&&o.push(p):o=[p]:p===".."?o.pop():p==="."||o.push(p)}}o.length>1&&(Et(o)===""?s==="never"&&o.pop():s==="always"&&o.push(""));let c,u="";for(let d=0;d<o.length;d++){d>0&&(u+="/");const h=o[d];if(!h)continue;c=Fe(h,0,c);const f=c[0];if(f===yt){u+=h;continue}const p=c[5],m=h.substring(0,c[1]),g=h.substring(c[4],p),P=h.substring(c[2],c[3]);f===lt?u+=m||g?`${m}{$${P}}${g}`:`$${P}`:f===ht?u+=m||g?`${m}{$}${g}`:"$":u+=`${m}{-$${P}}${g}`}u=Ae(u);const l=u||"/";return a&&n&&n.set(a,l),l}function Cr(t){const e=new Map(t.map(r=>[encodeURIComponent(r),r])),s=Array.from(e.keys()).map(r=>r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),n=new RegExp(s,"g");return r=>r.replace(n,i=>e.get(i)??i)}function ce(t,e,s){const n=e[t];return typeof n!="string"?n:t==="_splat"?/^[a-zA-Z0-9\-._~!/]*$/.test(n)?n:n.split("/").map(r=>vs(r,s)).join("/"):vs(n,s)}function ue({path:t,params:e,decoder:s,...n}){let r=!1;const i={};if(!t||t==="/")return{interpolatedPath:"/",usedParams:i,isMissingParams:r};if(!t.includes("$"))return{interpolatedPath:t,usedParams:i,isMissingParams:r};const a=t.length;let o=0,c,u="";for(;o<a;){const d=o;c=Fe(t,d,c);const h=c[5];if(o=h+1,d===h)continue;const f=c[0];if(f===yt){u+="/"+t.substring(d,h);continue}if(f===ht){const p=e._splat;i._splat=p,i["*"]=p;const m=t.substring(d,c[1]),g=t.substring(c[4],h);if(!p){r=!0,(m||g)&&(u+="/"+m+g);continue}const P=ce("_splat",e,s);u+="/"+m+P+g;continue}if(f===lt){const p=t.substring(c[2],c[3]);!r&&!(p in e)&&(r=!0),i[p]=e[p];const m=t.substring(d,c[1]),g=t.substring(c[4],h),P=ce(p,e,s)??"undefined";u+="/"+m+P+g;continue}if(f===kt){const p=t.substring(c[2],c[3]),m=e[p];if(m==null)continue;i[p]=m;const g=t.substring(d,c[1]),P=t.substring(c[4],h),S=ce(p,e,s)??"";u+="/"+g+S+P;continue}}return t.endsWith("/")&&(u+="/"),{usedParams:i,interpolatedPath:u||"/",isMissingParams:r}}function vs(t,e){const s=encodeURIComponent(t);return e?.(s)??s}function U(t){return!!t?.isNotFound}function Lr(){try{if(typeof window<"u"&&typeof window.sessionStorage=="object")return window.sessionStorage}catch{}}const Ce="tsr-scroll-restoration-v1_3",Or=(t,e)=>{let s;return(...n)=>{s||(s=setTimeout(()=>{t(...n),s=null},e))}};function Mr(){const t=Lr();if(!t)return null;const e=t.getItem(Ce);let s=e?JSON.parse(e):{};return{state:s,set:n=>{s=X(n,s)||s;try{t.setItem(Ce,JSON.stringify(s))}catch{console.warn("[ts-router] Could not persist scroll restoration state to sessionStorage.")}}}}const At=Mr(),Er=t=>t.state.__TSR_key||t.href;function kr(t){const e=[];let s;for(;s=t.parentNode;)e.push(`${t.tagName}:nth-child(${Array.prototype.indexOf.call(s.children,t)+1})`),t=s;return`${e.reverse().join(" > ")}`.toLowerCase()}let Jt=!1;function Ir({storageKey:t,key:e,behavior:s,shouldScrollRestoration:n,scrollToTopSelectors:r,location:i}){let a;try{a=JSON.parse(sessionStorage.getItem(t)||"{}")}catch(u){console.error(u);return}const o=e||window.history.state?.__TSR_key,c=a[o];Jt=!0;t:{if(n&&c&&Object.keys(c).length>0){for(const d in c){const h=c[d];if(d==="window")window.scrollTo({top:h.scrollY,left:h.scrollX,behavior:s});else if(d){const f=document.querySelector(d);f&&(f.scrollLeft=h.scrollX,f.scrollTop=h.scrollY)}}break t}const u=(i??window.location).hash.split("#",2)[1];if(u){const d=window.history.state?.__hashScrollIntoViewOptions??!0;if(d){const h=document.getElementById(u);h&&h.scrollIntoView(d)}break t}const l={top:0,left:0,behavior:s};if(window.scrollTo(l),r)for(const d of r){if(d==="window")continue;const h=typeof d=="function"?d():document.querySelector(d);h&&h.scrollTo(l)}}Jt=!1}function Tr(t,e){if(!At||((t.options.scrollRestoration??!1)&&(t.isScrollRestoring=!0),t.isScrollRestorationSetup||!At))return;t.isScrollRestorationSetup=!0,Jt=!1;const n=t.options.getScrollRestorationKey||Er;window.history.scrollRestoration="manual";const r=i=>{if(Jt||!t.isScrollRestoring)return;let a="";if(i.target===document||i.target===window)a="window";else{const c=i.target.getAttribute("data-scroll-restoration-id");c?a=`[data-scroll-restoration-id="${c}"]`:a=kr(i.target)}const o=n(t.state.location);At.set(c=>{const u=c[o]||={},l=u[a]||={};if(a==="window")l.scrollX=window.scrollX||0,l.scrollY=window.scrollY||0;else if(a){const d=document.querySelector(a);d&&(l.scrollX=d.scrollLeft||0,l.scrollY=d.scrollTop||0)}return c})};typeof document<"u"&&document.addEventListener("scroll",Or(r,100),!0),t.subscribe("onRendered",i=>{const a=n(i.toLocation);if(!t.resetNextScroll){t.resetNextScroll=!0;return}typeof t.options.scrollRestoration=="function"&&!t.options.scrollRestoration({location:t.latestLocation})||(Ir({storageKey:Ce,key:a,behavior:t.options.scrollRestorationBehavior,shouldScrollRestoration:t.isScrollRestoring,scrollToTopSelectors:t.options.scrollToTopSelectors,location:t.history.location}),t.isScrollRestoring&&At.set(o=>(o[a]||={},o)))})}function Fr(t){if(typeof document<"u"&&document.querySelector){const e=t.state.location.state.__hashScrollIntoViewOptions??!0;if(e&&t.state.location.hash!==""){const s=document.getElementById(t.state.location.hash);s&&s.scrollIntoView(e)}}}function Dr(t,e=String){const s=new URLSearchParams;for(const n in t){const r=t[n];r!==void 0&&s.set(n,e(r))}return s.toString()}function le(t){return t?t==="false"?!1:t==="true"?!0:+t*0===0&&+t+""===t?+t:t:""}function Ar(t){const e=new URLSearchParams(t),s={};for(const[n,r]of e.entries()){const i=s[n];i==null?s[n]=le(r):Array.isArray(i)?i.push(le(r)):s[n]=[i,le(r)]}return s}const jr=Nr(JSON.parse),Ur=Br(JSON.stringify,JSON.parse);function Nr(t){return e=>{e[0]==="?"&&(e=e.substring(1));const s=Ar(e);for(const n in s){const r=s[n];if(typeof r=="string")try{s[n]=t(r)}catch{}}return s}}function Br(t,e){const s=typeof e=="function";function n(r){if(typeof r=="object"&&r!==null)try{return t(r)}catch{}else if(s&&typeof r=="string")try{return e(r),t(r)}catch{}return r}return r=>{const i=Dr(r,n);return i?`?${i}`:""}}const B="__root__";function Qr(t){if(t.statusCode=t.statusCode||t.code||307,!t._builtLocation&&!t.reloadDocument&&typeof t.href=="string")try{new URL(t.href),t.reloadDocument=!0}catch{}const e=new Headers(t.headers);t.href&&e.get("Location")===null&&e.set("Location",t.href);const s=new Response(null,{status:t.statusCode,headers:e});if(s.options=t,t.throw)throw s;return s}function Q(t){return t instanceof Response&&!!t.options}const Bt=t=>{if(!t.rendered)return t.rendered=!0,t.onReady?.()},Zt=(t,e)=>!!(t.preload&&!t.router.state.matches.some(s=>s.id===e)),mt=(t,e,s=!0)=>{const n={...t.router.options.context??{}},r=s?e:e-1;for(let i=0;i<=r;i++){const a=t.matches[i];if(!a)continue;const o=t.router.getMatch(a.id);o&&Object.assign(n,o.__routeContext,o.__beforeLoadContext)}return n},Xs=(t,e,s)=>{const n=t.router.routesById[e.routeId??""]??t.router.routeTree;!n.options.notFoundComponent&&t.router.options?.defaultNotFoundComponent&&(n.options.notFoundComponent=t.router.options.defaultNotFoundComponent);const r=s==="BEFORE_LOAD"&&n.parentRoute;r||G(n.options.notFoundComponent);const i=t.matches.find(a=>a.routeId===n.id);G(i,"Could not find match for route: "+n.id),t.updateMatch(i.id,a=>({...a,status:"notFound",error:e,isFetching:!1})),r&&(e.routeId=n.parentRoute.id,Xs(t,e,s))},Z=(t,e,s,n)=>{if(!(!Q(s)&&!U(s))){if(Q(s)&&s.redirectHandled&&!s.options.reloadDocument)throw s;if(e){e._nonReactive.beforeLoadPromise?.resolve(),e._nonReactive.loaderPromise?.resolve(),e._nonReactive.beforeLoadPromise=void 0,e._nonReactive.loaderPromise=void 0;const r=Q(s)?"redirected":"notFound";e._nonReactive.error=s,t.updateMatch(e.id,i=>({...i,status:r,context:mt(t,e.index),isFetching:!1,error:s})),U(s)&&!s.routeId&&(s.routeId=e.routeId),e._nonReactive.loadPromise?.resolve()}throw Q(s)?(t.rendered=!0,s.options._fromLocation=t.location,s.redirectHandled=!0,s=t.router.resolveRedirect(s),s):(Xs(t,s,n),s)}},Zs=(t,e)=>!!t.router.getMatch(e)._nonReactive.dehydrated,xt=(t,e,s,n)=>{const{id:r,routeId:i}=t.matches[e],a=t.router.looseRoutesById[i];if(s instanceof Promise)throw s;s.routerCode=n,t.firstBadMatchIndex??=e,Z(t,t.router.getMatch(r),s,n);try{a.options.onError?.(s)}catch(o){s=o,Z(t,t.router.getMatch(r),s,n)}t.updateMatch(r,o=>(o._nonReactive.beforeLoadPromise?.resolve(),o._nonReactive.beforeLoadPromise=void 0,o._nonReactive.loadPromise?.resolve(),{...o,error:s,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController}))},tn=(t,e,s,n)=>{if(n._nonReactive.pendingTimeout!==void 0)return;const r=s.options.pendingMs??t.router.options.defaultPendingMs;if(!!(t.onReady&&!Zt(t,e)&&(s.options.loader||s.options.beforeLoad||nn(s))&&typeof r=="number"&&r!==1/0&&(s.options.pendingComponent??t.router.options?.defaultPendingComponent))){const a=setTimeout(()=>{Bt(t)},r);n._nonReactive.pendingTimeout=a}},Kr=(t,e,s)=>{const n=t.router.getMatch(e);if(!n._nonReactive.beforeLoadPromise&&!n._nonReactive.loaderPromise)return;tn(t,e,s,n);const r=()=>{const i=t.router.getMatch(e);i.preload&&(i.status==="redirected"||i.status==="notFound")&&Z(t,i,i.error)};return n._nonReactive.beforeLoadPromise?n._nonReactive.beforeLoadPromise.then(r):r()},Vr=(t,e,s,n)=>{const r=t.router.getMatch(e),i=r._nonReactive.loadPromise;r._nonReactive.loadPromise=gt(()=>{i?.resolve()});const{paramsError:a,searchError:o}=r;a&&xt(t,s,a,"PARSE_PARAMS"),o&&xt(t,s,o,"VALIDATE_SEARCH"),tn(t,e,n,r);const c=new AbortController;let u=!1;const l=()=>{u||(u=!0,t.updateMatch(e,v=>({...v,isFetching:"beforeLoad",fetchCount:v.fetchCount+1,abortController:c})))},d=()=>{r._nonReactive.beforeLoadPromise?.resolve(),r._nonReactive.beforeLoadPromise=void 0,t.updateMatch(e,v=>({...v,isFetching:!1}))};if(!n.options.beforeLoad){Lt(()=>{l(),d()});return}r._nonReactive.beforeLoadPromise=gt();const h={...mt(t,s,!1),...r.__routeContext},{search:f,params:p,cause:m}=r,g=Zt(t,e),P={search:f,abortController:c,params:p,preload:g,context:h,location:t.location,navigate:v=>t.router.navigate({...v,_fromLocation:t.location}),buildLocation:t.router.buildLocation,cause:g?"preload":m,matches:t.matches,routeId:n.id,...t.router.options.additionalContext},S=v=>{if(v===void 0){Lt(()=>{l(),d()});return}(Q(v)||U(v))&&(l(),xt(t,s,v,"BEFORE_LOAD")),Lt(()=>{l(),t.updateMatch(e,C=>({...C,__beforeLoadContext:v})),d()})};let w;try{if(w=n.options.beforeLoad(P),pt(w))return l(),w.catch(v=>{xt(t,s,v,"BEFORE_LOAD")}).then(S)}catch(v){l(),xt(t,s,v,"BEFORE_LOAD")}S(w)},$r=(t,e)=>{const{id:s,routeId:n}=t.matches[e],r=t.router.looseRoutesById[n],i=()=>o(),a=()=>Vr(t,s,e,r),o=()=>{if(Zs(t,s))return;const c=Kr(t,s,r);return pt(c)?c.then(a):a()};return i()},qr=(t,e,s)=>{const n=t.router.getMatch(e);if(!n||!s.options.head&&!s.options.scripts&&!s.options.headers)return;const r={ssr:t.router.options.ssr,matches:t.matches,match:n,params:n.params,loaderData:n.loaderData};return Promise.all([s.options.head?.(r),s.options.scripts?.(r),s.options.headers?.(r)]).then(([i,a,o])=>{const c=i?.meta,u=i?.links,l=i?.scripts,d=i?.styles;return{meta:c,links:u,headScripts:l,headers:o,scripts:a,styles:d}})},en=(t,e,s,n)=>{const r=t.matchPromises[s-1],{params:i,loaderDeps:a,abortController:o,cause:c}=t.router.getMatch(e),u=mt(t,s),l=Zt(t,e);return{params:i,deps:a,preload:!!l,parentMatchPromise:r,abortController:o,context:u,location:t.location,navigate:d=>t.router.navigate({...d,_fromLocation:t.location}),cause:l?"preload":c,route:n,...t.router.options.additionalContext}},Ps=async(t,e,s,n)=>{try{const r=t.router.getMatch(e);try{(!(ar??t.router.isServer)||r.ssr===!0)&&sn(n);const i=n.options.loader?.(en(t,e,s,n)),a=n.options.loader&&pt(i);if((a||n._lazyPromise||n._componentsPromise||n.options.head||n.options.scripts||n.options.headers||r._nonReactive.minPendingPromise)&&t.updateMatch(e,u=>({...u,isFetching:"loader"})),n.options.loader){const u=a?await i:i;Z(t,t.router.getMatch(e),u),u!==void 0&&t.updateMatch(e,l=>({...l,loaderData:u}))}n._lazyPromise&&await n._lazyPromise;const c=r._nonReactive.minPendingPromise;c&&await c,n._componentsPromise&&await n._componentsPromise,t.updateMatch(e,u=>({...u,error:void 0,context:mt(t,s),status:"success",isFetching:!1,updatedAt:Date.now()}))}catch(i){let a=i;if(a?.name==="AbortError"){if(r.abortController.signal.aborted){r._nonReactive.loaderPromise?.resolve(),r._nonReactive.loaderPromise=void 0;return}t.updateMatch(e,c=>({...c,status:c.status==="pending"?"success":c.status,isFetching:!1,context:mt(t,s)}));return}const o=r._nonReactive.minPendingPromise;o&&await o,U(i)&&await n.options.notFoundComponent?.preload?.(),Z(t,t.router.getMatch(e),i);try{n.options.onError?.(i)}catch(c){a=c,Z(t,t.router.getMatch(e),c)}t.updateMatch(e,c=>({...c,error:a,context:mt(t,s),status:"error",isFetching:!1}))}}catch(r){const i=t.router.getMatch(e);i&&(i._nonReactive.loaderPromise=void 0),Z(t,i,r)}},Hr=async(t,e)=>{async function s(l,d,h,f){const p=Date.now()-d.updatedAt,m=l?f.options.preloadStaleTime??t.router.options.defaultPreloadStaleTime??3e4:f.options.staleTime??t.router.options.defaultStaleTime??0,g=f.options.shouldReload,P=typeof g=="function"?g(en(t,n,e,f)):g,{status:S,invalid:w}=h;i=S==="success"&&(w||(P??p>m)),l&&f.options.preload===!1||(i&&!t.sync?(a=!0,(async()=>{try{await Ps(t,n,e,f);const v=t.router.getMatch(n);v._nonReactive.loaderPromise?.resolve(),v._nonReactive.loadPromise?.resolve(),v._nonReactive.loaderPromise=void 0}catch(v){Q(v)&&await t.router.navigate(v.options)}})()):(S!=="success"||i&&t.sync)&&await Ps(t,n,e,f))}const{id:n,routeId:r}=t.matches[e];let i=!1,a=!1;const o=t.router.looseRoutesById[r];if(!Zs(t,n)){const l=t.router.getMatch(n),d=Zt(t,n);if(l._nonReactive.loaderPromise){if(l.status==="success"&&!t.sync&&!l.preload)return l;await l._nonReactive.loaderPromise;const h=t.router.getMatch(n),f=h._nonReactive.error||h.error;f&&Z(t,h,f),h.status==="pending"&&await s(d,l,h,o)}else{const h=d&&!t.router.state.matches.some(p=>p.id===n),f=t.router.getMatch(n);f._nonReactive.loaderPromise=gt(),h!==f.preload&&t.updateMatch(n,p=>({...p,preload:h})),await s(d,l,f,o)}}const c=t.router.getMatch(n);a||(c._nonReactive.loaderPromise?.resolve(),c._nonReactive.loadPromise?.resolve()),clearTimeout(c._nonReactive.pendingTimeout),c._nonReactive.pendingTimeout=void 0,a||(c._nonReactive.loaderPromise=void 0),c._nonReactive.dehydrated=void 0;const u=a?c.isFetching:!1;return u!==c.isFetching||c.invalid!==!1?(t.updateMatch(n,l=>({...l,isFetching:u,invalid:!1})),t.router.getMatch(n)):c};async function Ss(t){const e=Object.assign(t,{matchPromises:[]});e.router.state.matches.some(s=>s._forcePending)&&Bt(e);try{for(let o=0;o<e.matches.length;o++){const c=$r(e,o);pt(c)&&await c}const s=e.firstBadMatchIndex??e.matches.length;for(let o=0;o<s;o++)e.matchPromises.push(Hr(e,o));const r=(await Promise.allSettled(e.matchPromises)).filter(o=>o.status==="rejected").map(o=>o.reason);let i;for(const o of r){if(Q(o))throw o;!i&&U(o)&&(i=o)}for(const o of e.matches){const{id:c,routeId:u}=o,l=e.router.looseRoutesById[u];try{const d=qr(e,c,l);if(d){const h=await d;e.updateMatch(c,f=>({...f,...h}))}}catch(d){console.error(`Error executing head for route ${u}:`,d)}}if(i)throw i;const a=Bt(e);pt(a)&&await a}catch(s){if(U(s)&&!e.preload){const n=Bt(e);throw pt(n)&&await n,s}if(Q(s))throw s}return e.matches}async function sn(t){if(!t._lazyLoaded&&t._lazyPromise===void 0&&(t.lazyFn?t._lazyPromise=t.lazyFn().then(e=>{const{id:s,...n}=e.options;Object.assign(t.options,n),t._lazyLoaded=!0,t._lazyPromise=void 0}):t._lazyLoaded=!0),!t._componentsLoaded&&t._componentsPromise===void 0){const e=()=>{const s=[];for(const n of rn){const r=t.options[n]?.preload;r&&s.push(r())}if(s.length)return Promise.all(s).then(()=>{t._componentsLoaded=!0,t._componentsPromise=void 0});t._componentsLoaded=!0,t._componentsPromise=void 0};t._componentsPromise=t._lazyPromise?t._lazyPromise.then(e):e()}return t._componentsPromise}function nn(t){for(const e of rn)if(t.options[e]?.preload)return!0;return!1}const rn=["component","errorComponent","pendingComponent","notFoundComponent"];function Wr(t){return{input:({url:e})=>{for(const s of t)e=Le(s,e);return e},output:({url:e})=>{for(let s=t.length-1;s>=0;s--)e=on(t[s],e);return e}}}function zr(t){const e=Ys(t.basepath),s=`/${e}`,n=`${s}/`,r=t.caseSensitive?s:s.toLowerCase(),i=t.caseSensitive?n:n.toLowerCase();return{input:({url:a})=>{const o=t.caseSensitive?a.pathname:a.pathname.toLowerCase();return o===r?a.pathname="/":o.startsWith(i)&&(a.pathname=a.pathname.slice(s.length)),a},output:({url:a})=>(a.pathname=Nt(["/",e,a.pathname]),a)}}function Le(t,e){const s=t?.input?.({url:e});if(s){if(typeof s=="string")return new URL(s);if(s instanceof URL)return s}return e}function on(t,e){const s=t?.output?.({url:e});if(s){if(typeof s=="string")return new URL(s);if(s instanceof URL)return s}return e}function at(t){const e=t.resolvedLocation,s=t.location,n=e?.pathname!==s.pathname,r=e?.href!==s.href,i=e?.hash!==s.hash;return{fromLocation:e,toLocation:s,pathChanged:n,hrefChanged:r,hashChanged:i}}class Gr{constructor(e){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this.resetNextScroll=!0,this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.isScrollRestoring=!1,this.isScrollRestorationSetup=!1,this.startTransition=s=>s(),this.update=s=>{s.notFoundRoute&&console.warn("The notFoundRoute API is deprecated and will be removed in the next major version. See https://tanstack.com/router/v1/docs/framework/react/guide/not-found-errors#migrating-from-notfoundroute for more info.");const n=this.options,r=this.basepath??n?.basepath??"/",i=this.basepath===void 0,a=n?.rewrite;if(this.options={...n,...s},this.isServer=this.options.isServer??typeof document>"u",this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=Cr(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=ir()),this.origin=this.options.origin,this.origin||(window?.origin&&window.origin!=="null"?this.origin=window.origin:this.origin="http://localhost"),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let h;this.resolvePathCache=zt(1e3),h=this.buildRouteTree(),this.setRoutes(h)}!this.__store&&this.latestLocation&&(this.__store=new _e(Yr(this.latestLocation),{onUpdate:()=>{this.__store.state={...this.state,cachedMatches:this.state.cachedMatches.filter(h=>!["redirected"].includes(h.status))}}}),Tr(this));let o=!1;const c=this.options.basepath??"/",u=this.options.rewrite;if(i||r!==c||a!==u){this.basepath=c;const h=[],f=Ys(c);f&&f!=="/"&&h.push(zr({basepath:c})),u&&h.push(u),this.rewrite=h.length===0?void 0:h.length===1?h[0]:Wr(h),this.history&&this.updateLatestLocation(),o=!0}o&&this.__store&&(this.__store.state={...this.state,location:this.latestLocation}),typeof window<"u"&&"CSS"in window&&typeof window.CSS?.supports=="function"&&(this.isViewTransitionTypesSupported=window.CSS.supports("selector(:active-view-transition-type(a)"))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{const s=Sr(this.routeTree,this.options.caseSensitive,(n,r)=>{n.init({originalIndex:r})});return this.options.routeMasks&&mr(this.options.routeMasks,s.processedTree),s},this.subscribe=(s,n)=>{const r={eventType:s,fn:n};return this.subscribers.add(r),()=>{this.subscribers.delete(r)}},this.emit=s=>{this.subscribers.forEach(n=>{n.eventType===s.type&&n.fn(s)})},this.parseLocation=(s,n)=>{const r=({pathname:c,search:u,hash:l,href:d,state:h})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(c)){const S=this.options.parseSearch(u),w=this.options.stringifySearch(S);return{href:c+w+l,publicHref:d,pathname:Rt(c).path,external:!1,searchStr:w,search:j(n?.search,S),hash:Rt(l.slice(1)).path,state:j(n?.state,h)}}const f=new URL(d,this.origin),p=Le(this.rewrite,f),m=this.options.parseSearch(p.search),g=this.options.stringifySearch(m);return p.search=g,{href:p.href.replace(p.origin,""),publicHref:d,pathname:Rt(p.pathname).path,external:!!this.rewrite&&p.origin!==this.origin,searchStr:g,search:j(n?.search,m),hash:Rt(p.hash.slice(1)).path,state:j(n?.state,h)}},i=r(s),{__tempLocation:a,__tempKey:o}=i.state;if(a&&(!o||o===this.tempLocationKey)){const c=r(a);return c.state.key=i.state.key,c.state.__TSR_key=i.state.__TSR_key,delete c.state.__tempLocation,{...c,maskedLocation:i}}return i},this.resolvePathWithBase=(s,n)=>_r({base:s,to:Ae(n),trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(s,n,r)=>typeof s=="string"?this.matchRoutesInternal({pathname:s,search:n},r):this.matchRoutesInternal(s,n),this.getMatchedRoutes=s=>Xr({pathname:s,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=s=>{const n=this.getMatch(s);n&&(n.abortController.abort(),clearTimeout(n._nonReactive.pendingTimeout),n._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{const s=this.state.matches.filter(i=>i.status==="pending"),n=this.state.matches.filter(i=>i.isFetching==="loader");new Set([...this.state.pendingMatches??[],...s,...n]).forEach(i=>{this.cancelMatch(i.id)})},this.buildLocation=s=>{const n=(i={})=>{const a=i._fromLocation||this.pendingBuiltLocation||this.latestLocation,o=this.matchRoutesLightweight(a);i.from;const c=i.unsafeRelative==="path"?a.pathname:i.from??o.fullPath,u=this.resolvePathWithBase(c,"."),l=o.search,d={...o.params},h=i.to?this.resolvePathWithBase(u,`${i.to}`):this.resolvePathWithBase(u,"."),f=i.params===!1||i.params===null?{}:(i.params??!0)===!0?d:Object.assign(d,X(i.params,d)),p=ue({path:h,params:f,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath,m=this.getMatchedRoutes(p);let g=m.matchedRoutes;(m.foundRoute?m.foundRoute.path!=="/"&&m.routeParams["**"]:z(p))&&this.options.notFoundRoute&&(g=[...g,this.options.notFoundRoute]);let S=!1;if(Object.keys(f).length>0)for(const k of g){const I=k.options.params?.stringify??k.options.stringifyParams;I&&(S=!0,Object.assign(f,I(f)))}const w=s.leaveParams?h:Rt(S?ue({path:h,params:f,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath:p).path;let v=l;if(s._includeValidateSearch&&this.options.search?.strict){const k={};g.forEach(I=>{if(I.options.validateSearch)try{Object.assign(k,Qt(I.options.validateSearch,{...k,...v}))}catch{}}),v=k}v=Zr({search:v,dest:i,destRoutes:g,_includeValidateSearch:s._includeValidateSearch}),v=j(l,v);const C=this.options.stringifySearch(v),L=i.hash===!0?a.hash:i.hash?X(i.hash,a.hash):void 0,x=L?`#${L}`:"";let y=i.state===!0?a.state:i.state?X(i.state,a.state):{};y=j(a.state,y);const R=`${w}${C}${x}`;let O,M,E=!1;if(this.rewrite){const k=new URL(R,this.origin),I=on(this.rewrite,k);O=k.href.replace(k.origin,""),I.origin!==this.origin?(M=I.href,E=!0):M=I.pathname+I.search+I.hash}else O=dr(R),M=O;return{publicHref:M,href:O,pathname:w,search:v,searchStr:C,state:y,hash:L??"",external:E,unmaskOnReload:i.unmaskOnReload}},r=(i={},a)=>{const o=n(i);let c=a?n(a):void 0;if(!c){const u={};if(this.options.routeMasks){const l=gr(o.pathname,this.processedTree);if(l){Object.assign(u,l.rawParams);const{from:d,params:h,...f}=l.route,p=h===!1||h===null?{}:(h??!0)===!0?u:Object.assign(u,X(h,u));a={from:s.from,...f,params:p},c=n(a)}}}return c&&(o.maskedLocation=c),o};return s.mask?r(s,{from:s.from,...s.mask}):r(s)},this.commitLocation=async({viewTransition:s,ignoreBlocker:n,...r})=>{const i=()=>{const c=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];c.forEach(l=>{r.state[l]=this.latestLocation.state[l]});const u=ot(r.state,this.latestLocation.state);return c.forEach(l=>{delete r.state[l]}),u},a=z(this.latestLocation.href)===z(r.href),o=this.commitLocationPromise;if(this.commitLocationPromise=gt(()=>{o?.resolve()}),a&&i())this.load();else{let{maskedLocation:c,hashScrollIntoView:u,...l}=r;c&&(l={...c,state:{...c.state,__tempKey:void 0,__tempLocation:{...l,search:l.searchStr,state:{...l.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(l.unmaskOnReload??this.options.unmaskOnReload??!1)&&(l.state.__tempKey=this.tempLocationKey)),l.state.__hashScrollIntoViewOptions=u??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=s,this.history[r.replace?"replace":"push"](l.publicHref,l.state,{ignoreBlocker:n})}return this.resetNextScroll=r.resetScroll??!0,this.history.subscribers.size||this.load(),this.commitLocationPromise},this.buildAndCommitLocation=({replace:s,resetScroll:n,hashScrollIntoView:r,viewTransition:i,ignoreBlocker:a,href:o,...c}={})=>{if(o){const d=this.history.location.state.__TSR_index,h=qt(o,{__TSR_index:s?d:d+1}),f=new URL(h.pathname,this.origin),p=Le(this.rewrite,f);c.to=p.pathname,c.search=this.options.parseSearch(h.search),c.hash=h.hash.slice(1)}const u=this.buildLocation({...c,_includeValidateSearch:!0});this.pendingBuiltLocation=u;const l=this.commitLocation({...u,viewTransition:i,replace:s,resetScroll:n,hashScrollIntoView:r,ignoreBlocker:a});return Promise.resolve().then(()=>{this.pendingBuiltLocation===u&&(this.pendingBuiltLocation=void 0)}),l},this.navigate=async({to:s,reloadDocument:n,href:r,publicHref:i,...a})=>{let o=!1;if(r)try{new URL(`${r}`),o=!0}catch{}if(o&&!n&&(n=!0),n){if(s!==void 0||!r){const u=this.buildLocation({to:s,...a});r=r??u.publicHref,i=i??u.publicHref}const c=!o&&i?i:r;if(Wt(c,this.protocolAllowlist))return Promise.resolve();if(!a.ignoreBlocker){const l=this.history.getBlockers?.()??[];for(const d of l)if(d?.blockerFn&&await d.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return Promise.resolve()}return a.replace?window.location.replace(c):window.location.href=c,Promise.resolve()}return this.buildAndCommitLocation({...a,href:r,to:s,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();const s=this.matchRoutes(this.latestLocation);this.__store.setState(n=>({...n,status:"pending",statusCode:200,isLoading:!0,location:this.latestLocation,pendingMatches:s,cachedMatches:n.cachedMatches.filter(r=>!s.some(i=>i.id===r.id))}))},this.load=async s=>{let n,r,i;for(i=new Promise(o=>{this.startTransition(async()=>{try{this.beforeLoad();const c=this.latestLocation,u=this.state.resolvedLocation;this.state.redirect||this.emit({type:"onBeforeNavigate",...at({resolvedLocation:u,location:c})}),this.emit({type:"onBeforeLoad",...at({resolvedLocation:u,location:c})}),await Ss({router:this,sync:s?.sync,matches:this.state.pendingMatches,location:c,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let l=[],d=[],h=[];Lt(()=>{this.__store.setState(f=>{const p=f.matches,m=f.pendingMatches||f.matches;return l=p.filter(g=>!m.some(P=>P.id===g.id)),d=m.filter(g=>!p.some(P=>P.id===g.id)),h=m.filter(g=>p.some(P=>P.id===g.id)),{...f,isLoading:!1,loadedAt:Date.now(),matches:m,pendingMatches:void 0,cachedMatches:[...f.cachedMatches,...l.filter(g=>g.status!=="error"&&g.status!=="notFound")]}}),this.clearExpiredCache()}),[[l,"onLeave"],[d,"onEnter"],[h,"onStay"]].forEach(([f,p])=>{f.forEach(m=>{this.looseRoutesById[m.routeId].options[p]?.(m)})})})})}})}catch(c){Q(c)?(n=c,this.navigate({...n.options,replace:!0,ignoreBlocker:!0})):U(c)&&(r=c),this.__store.setState(u=>({...u,statusCode:n?n.status:r?404:u.matches.some(l=>l.status==="error")?500:200,redirect:n}))}this.latestLoadPromise===i&&(this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),o()})}),this.latestLoadPromise=i,await i;this.latestLoadPromise&&i!==this.latestLoadPromise;)await this.latestLoadPromise;let a;this.hasNotFoundMatch()?a=404:this.__store.state.matches.some(o=>o.status==="error")&&(a=500),a!==void 0&&this.__store.setState(o=>({...o,statusCode:a}))},this.startViewTransition=s=>{const n=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,n&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition=="function"){let r;if(typeof n=="object"&&this.isViewTransitionTypesSupported){const i=this.latestLocation,a=this.state.resolvedLocation,o=typeof n.types=="function"?n.types(at({resolvedLocation:a,location:i})):n.types;if(o===!1){s();return}r={update:s,types:o}}else r=s;document.startViewTransition(r)}else s()},this.updateMatch=(s,n)=>{this.startTransition(()=>{const r=this.state.pendingMatches?.some(i=>i.id===s)?"pendingMatches":this.state.matches.some(i=>i.id===s)?"matches":this.state.cachedMatches.some(i=>i.id===s)?"cachedMatches":"";r&&this.__store.setState(i=>({...i,[r]:i[r]?.map(a=>a.id===s?n(a):a)}))})},this.getMatch=s=>{const n=r=>r.id===s;return this.state.cachedMatches.find(n)??this.state.pendingMatches?.find(n)??this.state.matches.find(n)},this.invalidate=s=>{const n=r=>s?.filter?.(r)??!0?{...r,invalid:!0,...s?.forcePending||r.status==="error"||r.status==="notFound"?{status:"pending",error:void 0}:void 0}:r;return this.__store.setState(r=>({...r,matches:r.matches.map(n),cachedMatches:r.cachedMatches.map(n),pendingMatches:r.pendingMatches?.map(n)})),this.shouldViewTransition=!1,this.load({sync:s?.sync})},this.getParsedLocationHref=s=>s.publicHref||"/",this.resolveRedirect=s=>{const n=s.headers.get("Location");if(!s.options.href||s.options._builtLocation){const r=s.options._builtLocation??this.buildLocation(s.options),i=this.getParsedLocationHref(r);s.options.href=i,s.headers.set("Location",i)}else if(n)try{const r=new URL(n);if(this.origin&&r.origin===this.origin){const i=r.pathname+r.search+r.hash;s.options.href=i,s.headers.set("Location",i)}}catch{}if(s.options.href&&!s.options._builtLocation&&Wt(s.options.href,this.protocolAllowlist))throw new Error(`Redirect blocked: unsafe protocol in href "${s.options.href}". Allowed protocols: ${Array.from(this.protocolAllowlist).join(", ")}.`);return s.headers.get("Location")||s.headers.set("Location",s.options.href),s},this.clearCache=s=>{const n=s?.filter;n!==void 0?this.__store.setState(r=>({...r,cachedMatches:r.cachedMatches.filter(i=>!n(i))})):this.__store.setState(r=>({...r,cachedMatches:[]}))},this.clearExpiredCache=()=>{const s=n=>{const r=this.looseRoutesById[n.routeId];if(!r.options.loader)return!0;const i=(n.preload?r.options.preloadGcTime??this.options.defaultPreloadGcTime:r.options.gcTime??this.options.defaultGcTime)??300*1e3;return n.status==="error"?!0:Date.now()-n.updatedAt>=i};this.clearCache({filter:s})},this.loadRouteChunk=sn,this.preloadRoute=async s=>{const n=this.buildLocation(s);let r=this.matchRoutes(n,{throwOnError:!0,preload:!0,dest:s});const i=new Set([...this.state.matches,...this.state.pendingMatches??[]].map(o=>o.id)),a=new Set([...i,...this.state.cachedMatches.map(o=>o.id)]);Lt(()=>{r.forEach(o=>{a.has(o.id)||this.__store.setState(c=>({...c,cachedMatches:[...c.cachedMatches,o]}))})});try{return r=await Ss({router:this,matches:r,location:n,preload:!0,updateMatch:(o,c)=>{i.has(o)?r=r.map(u=>u.id===o?c(u):u):this.updateMatch(o,c)}}),r}catch(o){if(Q(o))return o.options.reloadDocument?void 0:await this.preloadRoute({...o.options,_fromLocation:n});U(o)||console.error(o);return}},this.matchRoute=(s,n)=>{const r={...s,to:s.to?this.resolvePathWithBase(s.from||"",s.to):void 0,params:s.params||{},leaveParams:!0},i=this.buildLocation(r);if(n?.pending&&this.state.status!=="pending")return!1;const o=(n?.pending===void 0?!this.state.isLoading:n.pending)?this.latestLocation:this.state.resolvedLocation||this.state.location,c=yr(i.pathname,n?.caseSensitive??!1,n?.fuzzy??!1,o.pathname,this.processedTree);return!c||s.params&&!ot(c.rawParams,s.params,{partial:!0})?!1:n?.includeSearch??!0?ot(o.search,i.search,{partial:!0})?c.rawParams:!1:c.rawParams},this.hasNotFoundMatch=()=>this.__store.state.matches.some(s=>s.status==="notFound"||s.globalNotFound),this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??"fuzzy",stringifySearch:e.stringifySearch??Ur,parseSearch:e.parseSearch??jr,protocolAllowlist:e.protocolAllowlist??hr}),typeof document<"u"&&(self.__TSR_ROUTER__=this)}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.__store.state}setRoutes({routesById:e,routesByPath:s,processedTree:n}){this.routesById=e,this.routesByPath=s,this.processedTree=n;const r=this.options.notFoundRoute;r&&(r.init({originalIndex:99999999999}),this.routesById[r.id]=r)}get looseRoutesById(){return this.routesById}getParentContext(e){return e?.id?e.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(e,s){const n=this.getMatchedRoutes(e.pathname),{foundRoute:r,routeParams:i,parsedParams:a}=n;let{matchedRoutes:o}=n,c=!1;(r?r.path!=="/"&&i["**"]:z(e.pathname))&&(this.options.notFoundRoute?o=[...o,this.options.notFoundRoute]:c=!0);const u=c?ei(this.options.notFoundMode,o):void 0,l=new Array(o.length),d=new Map(this.state.matches.map(h=>[h.routeId,h]));for(let h=0;h<o.length;h++){const f=o[h],p=l[h-1];let m,g,P;{const I=p?.search??e.search,J=p?._strictSearch??void 0;try{const q=Qt(f.options.validateSearch,{...I})??void 0;m={...I,...q},g={...J,...q},P=void 0}catch(q){let Pt=q;if(q instanceof Yt||(Pt=new Yt(q.message,{cause:q})),s?.throwOnError)throw Pt;m=I,g={},P=Pt}}const S=f.options.loaderDeps?.({search:m})??"",w=S?JSON.stringify(S):"",{interpolatedPath:v,usedParams:C}=ue({path:f.fullPath,params:i,decoder:this.pathParamsDecoder,server:this.isServer}),L=f.id+v+w,x=this.getMatch(L),y=d.get(f.id),R=x?._strictParams??C;let O;if(!x)try{ws(f,C,a,R)}catch(I){if(U(I)||Q(I)?O=I:O=new Jr(I.message,{cause:I}),s?.throwOnError)throw O}Object.assign(i,R);const M=y?"stay":"enter";let E;if(x)E={...x,cause:M,params:y?.params??i,_strictParams:R,search:j(y?y.search:x.search,m),_strictSearch:g};else{const I=f.options.loader||f.options.beforeLoad||f.lazyFn||nn(f)?"pending":"success";E={id:L,ssr:f.options.ssr,index:h,routeId:f.id,params:y?.params??i,_strictParams:R,pathname:v,updatedAt:Date.now(),search:y?j(y.search,m):m,_strictSearch:g,searchError:void 0,status:I,isFetching:!1,error:void 0,paramsError:O,__routeContext:void 0,_nonReactive:{loadPromise:gt()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:M,loaderDeps:y?j(y.loaderDeps,S):S,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:f.options.staticData||{},fullPath:f.fullPath}}s?.preload||(E.globalNotFound=u===f.id),E.searchError=P;const k=this.getParentContext(p);E.context={...k,...E.__routeContext,...E.__beforeLoadContext},l[h]=E}for(let h=0;h<l.length;h++){const f=l[h],p=this.looseRoutesById[f.routeId],m=this.getMatch(f.id),g=d.get(f.routeId);if(f.params=g?j(g.params,i):i,!m){const P=l[h-1],S=this.getParentContext(P);if(p.options.context){const w={deps:f.loaderDeps,params:f.params,context:S??{},location:e,navigate:v=>this.navigate({...v,_fromLocation:e}),buildLocation:this.buildLocation,cause:f.cause,abortController:f.abortController,preload:!!f.preload,matches:l,routeId:p.id};f.__routeContext=p.options.context(w)??void 0}f.context={...S,...f.__routeContext,...f.__beforeLoadContext}}}return l}matchRoutesLightweight(e){const{matchedRoutes:s,routeParams:n,parsedParams:r}=this.getMatchedRoutes(e.pathname),i=Et(s),a={...e.search};for(const l of s)try{Object.assign(a,Qt(l.options.validateSearch,a))}catch{}const o=Et(this.state.matches),c=o&&o.routeId===i.id&&e.pathname===this.state.location.pathname;let u;if(c)u=o.params;else{const l={...n};for(const d of s)try{ws(d,n,r??{},l)}catch{}u=l}return{matchedRoutes:s,fullPath:i.fullPath,search:a,params:u}}}class Yt extends Error{}class Jr extends Error{}function Yr(t){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:t,matches:[],pendingMatches:[],cachedMatches:[],statusCode:200}}function Qt(t,e){if(t==null)return{};if("~standard"in t){const s=t["~standard"].validate(e);if(s instanceof Promise)throw new Yt("Async validation not supported");if(s.issues)throw new Yt(JSON.stringify(s.issues,void 0,2),{cause:s});return s.value}return"parse"in t?t.parse(e):typeof t=="function"?t(e):{}}function Xr({pathname:t,routesById:e,processedTree:s}){const n={},r=z(t);let i,a;const o=vr(r,s,!0);return o&&(i=o.route,Object.assign(n,o.rawParams),a=Object.assign({},o.parsedParams)),{matchedRoutes:o?.branch||[e[B]],routeParams:n,foundRoute:i,parsedParams:a}}function Zr({search:t,dest:e,destRoutes:s,_includeValidateSearch:n}){return ti(s)(t,e,n??!1)}function ti(t){const e={dest:null,_includeValidateSearch:!1,middlewares:[]};for(const r of t){if("search"in r.options)r.options.search?.middlewares&&e.middlewares.push(...r.options.search.middlewares);else if(r.options.preSearchFilters||r.options.postSearchFilters){const i=({search:a,next:o})=>{let c=a;"preSearchFilters"in r.options&&r.options.preSearchFilters&&(c=r.options.preSearchFilters.reduce((l,d)=>d(l),a));const u=o(c);return"postSearchFilters"in r.options&&r.options.postSearchFilters?r.options.postSearchFilters.reduce((l,d)=>d(l),u):u};e.middlewares.push(i)}if(r.options.validateSearch){const i=({search:a,next:o})=>{const c=o(a);if(!e._includeValidateSearch)return c;try{return{...c,...Qt(r.options.validateSearch,c)??void 0}}catch{return c}};e.middlewares.push(i)}}const s=({search:r})=>{const i=e.dest;return i.search?i.search===!0?r:X(i.search,r):{}};e.middlewares.push(s);const n=(r,i,a)=>{if(r>=a.length)return i;const o=a[r];return o({search:i,next:u=>n(r+1,u,a)})};return function(i,a,o){return e.dest=a,e._includeValidateSearch=o,n(0,i,e.middlewares)}}function ei(t,e){if(t!=="root")for(let s=e.length-1;s>=0;s--){const n=e[s];if(n.children)return n.id}return B}function ws(t,e,s,n){const r=t.options.params?.parse??t.options.parseParams;if(r)if(t.options.skipRouteOnParseError)for(const i in e)i in s&&(n[i]=s[i]);else{const i=r(n);Object.assign(n,i)}}const si="Error preloading route! ☝️";class an{constructor(e){if(this.init=s=>{this.originalIndex=s.originalIndex;const n=this.options,r=!n?.path&&!n?.id;this.parentRoute=this.options.getParentRoute?.(),r?this._path=B:this.parentRoute||G(!1);let i=r?B:n?.path;i&&i!=="/"&&(i=Js(i));const a=n?.id||i;let o=r?B:Nt([this.parentRoute.id===B?"":this.parentRoute.id,a]);i===B&&(i="/"),o!==B&&(o=Nt(["/",o]));const c=o===B?"/":Nt([this.parentRoute.fullPath,i]);this._path=i,this._id=o,this._fullPath=c,this._to=z(c)},this.addChildren=s=>this._addFileChildren(s),this._addFileChildren=s=>(Array.isArray(s)&&(this.children=s),typeof s=="object"&&s!==null&&(this.children=Object.values(s)),this),this._addFileTypes=()=>this,this.updateLoader=s=>(Object.assign(this.options,s),this),this.update=s=>(Object.assign(this.options,s),this),this.lazy=s=>(this.lazyFn=s,this),this.redirect=s=>Qr({from:this.fullPath,...s}),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw new Error("Route cannot have both an 'id' and a 'path' option.")}get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}}class ni extends an{constructor(e){super(e)}}const jt=typeof window<"u"?b.useLayoutEffect:b.useEffect;function he(t){const e=b.useRef({value:t,prev:null}),s=e.current.value;return t!==s&&(e.current={value:t,prev:s}),e.current.prev}function ri(t,e,s={},n={}){b.useEffect(()=>{if(!t.current||n.disabled||typeof IntersectionObserver!="function")return;const r=new IntersectionObserver(([i])=>{e(i)},s);return r.observe(t.current),()=>{r.disconnect()}},[e,s,n.disabled,t])}function ii(t){const e=b.useRef(null);return b.useImperativeHandle(t,()=>e.current,[]),e}function je(t){const e=t.errorComponent??Ue;return _.jsx(oi,{getResetKey:t.getResetKey,onCatch:t.onCatch,children:({error:s,reset:n})=>s?b.createElement(e,{error:s,reset:n}):t.children})}class oi extends b.Component{constructor(){super(...arguments),this.state={error:null}}static getDerivedStateFromProps(e){return{resetKey:e.getResetKey()}}static getDerivedStateFromError(e){return{error:e}}reset(){this.setState({error:null})}componentDidUpdate(e,s){s.error&&s.resetKey!==this.state.resetKey&&this.reset()}componentDidCatch(e,s){this.props.onCatch&&this.props.onCatch(e,s)}render(){return this.props.children({error:this.state.resetKey!==this.props.getResetKey()?null:this.state.error,reset:()=>{this.reset()}})}}function Ue({error:t}){const[e,s]=b.useState(!1);return _.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[_.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[_.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),_.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>s(n=>!n),children:e?"Hide Error":"Show Error"})]}),_.jsx("div",{style:{height:".25rem"}}),e?_.jsx("div",{children:_.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:t.message?_.jsx("code",{children:t.message}):null})}):null]})}function ai({children:t,fallback:e=null}){return cn()?_.jsx(Ot.Fragment,{children:t}):_.jsx(Ot.Fragment,{children:e})}function cn(){return Ot.useSyncExternalStore(ci,()=>!0,()=>!1)}function ci(){return()=>{}}var de={exports:{}},fe={},pe={exports:{}},me={};var Rs;function ui(){if(Rs)return me;Rs=1;var t=Ts();function e(d,h){return d===h&&(d!==0||1/d===1/h)||d!==d&&h!==h}var s=typeof Object.is=="function"?Object.is:e,n=t.useState,r=t.useEffect,i=t.useLayoutEffect,a=t.useDebugValue;function o(d,h){var f=h(),p=n({inst:{value:f,getSnapshot:h}}),m=p[0].inst,g=p[1];return i(function(){m.value=f,m.getSnapshot=h,c(m)&&g({inst:m})},[d,f,h]),r(function(){return c(m)&&g({inst:m}),d(function(){c(m)&&g({inst:m})})},[d]),a(f),f}function c(d){var h=d.getSnapshot;d=d.value;try{var f=h();return!s(d,f)}catch{return!0}}function u(d,h){return h()}var l=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:o;return me.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:l,me}var bs;function li(){return bs||(bs=1,pe.exports=ui()),pe.exports}var xs;function hi(){if(xs)return fe;xs=1;var t=Ts(),e=li();function s(u,l){return u===l&&(u!==0||1/u===1/l)||u!==u&&l!==l}var n=typeof Object.is=="function"?Object.is:s,r=e.useSyncExternalStore,i=t.useRef,a=t.useEffect,o=t.useMemo,c=t.useDebugValue;return fe.useSyncExternalStoreWithSelector=function(u,l,d,h,f){var p=i(null);if(p.current===null){var m={hasValue:!1,value:null};p.current=m}else m=p.current;p=o(function(){function P(L){if(!S){if(S=!0,w=L,L=h(L),f!==void 0&&m.hasValue){var x=m.value;if(f(x,L))return v=x}return v=L}if(x=v,n(w,L))return x;var y=h(L);return f!==void 0&&f(x,y)?(w=L,x):(w=L,v=y)}var S=!1,w,v,C=d===void 0?null:d;return[function(){return P(l())},C===null?void 0:function(){return P(C())}]},[l,d,h,f]);var g=r(u,p[0],p[1]);return a(function(){m.hasValue=!0,m.value=g},[g]),c(g),g},fe}var _s;function di(){return _s||(_s=1,de.exports=hi()),de.exports}var fi=di();function pi(t,e=n=>n,s={}){const n=s.equal??mi;return fi.useSyncExternalStoreWithSelector(t.subscribe,()=>t.state,()=>t.state,e,n)}function mi(t,e){if(Object.is(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(const[n,r]of t)if(!e.has(n)||!Object.is(r,e.get(n)))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0}if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();const s=Cs(t);if(s.length!==Cs(e).length)return!1;for(let n=0;n<s.length;n++)if(!Object.prototype.hasOwnProperty.call(e,s[n])||!Object.is(t[s[n]],e[s[n]]))return!1;return!0}function Cs(t){return Object.keys(t).concat(Object.getOwnPropertySymbols(t))}const ge=b.createContext(null);function un(){return typeof document>"u"?ge:window.__TSR_ROUTER_CONTEXT__?window.__TSR_ROUTER_CONTEXT__:(window.__TSR_ROUTER_CONTEXT__=ge,ge)}function V(t){const e=b.useContext(un());return t?.warn,e}function K(t){const e=V({warn:t?.router===void 0}),s=t?.router||e,n=b.useRef(void 0);return pi(s.__store,r=>{if(t?.select){if(t.structuralSharing??s.options.defaultStructuralSharing){const i=j(n.current,t.select(r));return n.current=i,i}return t.select(r)}return r})}const te=b.createContext(void 0),gi=b.createContext(void 0);function W(t){const e=b.useContext(t.from?gi:te);return K({select:n=>{const r=n.matches.find(i=>t.from?t.from===i.routeId:i.id===e);if(G(!((t.shouldThrow??!0)&&!r),`Could not find ${t.from?`an active match from "${t.from}"`:"a nearest match!"}`),r!==void 0)return t.select?t.select(r):r},structuralSharing:t.structuralSharing})}function Ne(t){return W({from:t.from,strict:t.strict,structuralSharing:t.structuralSharing,select:e=>t.select?t.select(e.loaderData):e.loaderData})}function Be(t){const{select:e,...s}=t;return W({...s,select:n=>e?e(n.loaderDeps):n.loaderDeps})}function Qe(t){return W({from:t.from,shouldThrow:t.shouldThrow,structuralSharing:t.structuralSharing,strict:t.strict,select:e=>{const s=t.strict===!1?e.params:e._strictParams;return t.select?t.select(s):s}})}function Ke(t){return W({from:t.from,strict:t.strict,shouldThrow:t.shouldThrow,structuralSharing:t.structuralSharing,select:e=>t.select?t.select(e.search):e.search})}function Ve(t){const e=V();return b.useCallback(s=>e.navigate({...s,from:s.from??t?.from}),[t?.from,e])}function yi(t,e){const s=V(),n=ii(e),{activeProps:r,inactiveProps:i,activeOptions:a,to:o,preload:c,preloadDelay:u,hashScrollIntoView:l,replace:d,startTransition:h,resetScroll:f,viewTransition:p,children:m,target:g,disabled:P,style:S,className:w,onClick:v,onFocus:C,onMouseEnter:L,onMouseLeave:x,onTouchStart:y,ignoreBlocker:R,params:O,search:M,hash:E,state:k,mask:I,reloadDocument:J,unsafeRelative:q,from:Pt,_fromLocation:Qi,...$e}=t,qe=cn(),fn=K({select:T=>T.location.search,structuralSharing:!0}),He=t.from,St=b.useMemo(()=>({...t,from:He}),[s,fn,He,t._fromLocation,t.hash,t.to,t.search,t.params,t.state,t.mask,t.unsafeRelative]),H=b.useMemo(()=>s.buildLocation({...St}),[s,St]),We=H.maskedLocation?H.maskedLocation.publicHref:H.publicHref,ze=H.maskedLocation?H.maskedLocation.external:H.external,wt=b.useMemo(()=>bi(We,ze,s.history,P),[P,ze,We,s.history]),It=b.useMemo(()=>{if(wt?.external)return Wt(wt.href,s.protocolAllowlist)?void 0:wt.href;if(!xi(o)&&!(typeof o!="string"||o.indexOf(":")===-1))try{return new URL(o),Wt(o,s.protocolAllowlist)?void 0:o}catch{}},[o,wt,s.protocolAllowlist]),ee=K({select:T=>{if(It)return!1;if(a?.exact){if(!xr(T.location.pathname,H.pathname,s.basepath))return!1}else{const A=Gt(T.location.pathname,s.basepath),$=Gt(H.pathname,s.basepath);if(!(A.startsWith($)&&(A.length===$.length||A[$.length]==="/")))return!1}return(a?.includeSearch??!0)&&!ot(T.location.search,H.search,{partial:!a?.exact,ignoreUndefined:!a?.explicitUndefined})?!1:a?.includeHash?qe&&T.location.hash===H.hash:!0}}),Tt=ee?X(r,{})??vi:ye,Ft=ee?ye:X(i,{})??ye,Ge=[w,Tt.className,Ft.className].filter(Boolean).join(" "),Je=(S||Tt.style||Ft.style)&&{...S,...Tt.style,...Ft.style},[pn,Ye]=b.useState(!1),Xe=b.useRef(!1),dt=t.reloadDocument||It?!1:c??s.options.defaultPreload,se=u??s.options.defaultPreloadDelay??0,st=b.useCallback(()=>{s.preloadRoute({...St}).catch(T=>{console.warn(T),console.warn(si)})},[s,St]),mn=b.useCallback(T=>{T?.isIntersecting&&st()},[st]);ri(n,mn,Ri,{disabled:!!P||dt!=="viewport"}),b.useEffect(()=>{Xe.current||!P&&dt==="render"&&(st(),Xe.current=!0)},[P,st,dt]);const gn=T=>{const A=T.currentTarget.getAttribute("target"),$=g!==void 0?g:A;if(!P&&!_i(T)&&!T.defaultPrevented&&(!$||$==="_self")&&T.button===0){T.preventDefault(),Rn.flushSync(()=>{Ye(!0)});const ts=s.subscribe("onResolved",()=>{ts(),Ye(!1)});s.navigate({...St,replace:d,resetScroll:f,hashScrollIntoView:l,startTransition:h,viewTransition:p,ignoreBlocker:R})}};if(It)return{...$e,ref:n,href:It,...m&&{children:m},...g&&{target:g},...P&&{disabled:P},...S&&{style:S},...w&&{className:w},...v&&{onClick:v},...C&&{onFocus:C},...L&&{onMouseEnter:L},...x&&{onMouseLeave:x},...y&&{onTouchStart:y}};const Ze=T=>{P||dt&&st()},yn=Ze,vn=T=>{if(!(P||!dt))if(!se)st();else{const A=T.target;if(_t.has(A))return;const $=setTimeout(()=>{_t.delete(A),st()},se);_t.set(A,$)}},Pn=T=>{if(P||!dt||!se)return;const A=T.target,$=_t.get(A);$&&(clearTimeout($),_t.delete(A))};return{...$e,...Tt,...Ft,href:wt?.href,ref:n,onClick:Ct([v,gn]),onFocus:Ct([C,Ze]),onMouseEnter:Ct([L,vn]),onMouseLeave:Ct([x,Pn]),onTouchStart:Ct([y,yn]),disabled:!!P,target:g,...Je&&{style:Je},...Ge&&{className:Ge},...P&&Pi,...ee&&Si,...qe&&pn&&wi}}const ye={},vi={className:"active"},Pi={role:"link","aria-disabled":!0},Si={"data-status":"active","aria-current":"page"},wi={"data-transitioning":"transitioning"},_t=new WeakMap,Ri={rootMargin:"100px"},Ct=t=>e=>{for(const s of t)if(s){if(e.defaultPrevented)return;s(e)}};function bi(t,e,s,n){if(!n)return e?{href:t,external:!0}:{href:s.createHref(t)||"/",external:!1}}function xi(t){if(typeof t!="string")return!1;const e=t.charCodeAt(0);return e===47?t.charCodeAt(1)!==47:e===46}const ln=b.forwardRef((t,e)=>{const{_asChild:s,...n}=t,{type:r,...i}=yi(n,e),a=typeof n.children=="function"?n.children({isActive:i["data-status"]==="active"}):n.children;if(!s){const{disabled:o,...c}=i;return b.createElement("a",c,a)}return b.createElement(s,i,a)});function _i(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}class Ci extends an{constructor(e){super(e),this.useMatch=s=>W({select:s?.select,from:this.id,structuralSharing:s?.structuralSharing}),this.useRouteContext=s=>W({...s,from:this.id,select:n=>s?.select?s.select(n.context):n.context}),this.useSearch=s=>Ke({select:s?.select,structuralSharing:s?.structuralSharing,from:this.id}),this.useParams=s=>Qe({select:s?.select,structuralSharing:s?.structuralSharing,from:this.id}),this.useLoaderDeps=s=>Be({...s,from:this.id}),this.useLoaderData=s=>Ne({...s,from:this.id}),this.useNavigate=()=>Ve({from:this.fullPath}),this.Link=Ot.forwardRef((s,n)=>_.jsx(ln,{ref:n,from:this.fullPath,...s})),this.$$typeof=Symbol.for("react.memo")}}function Li(t){return new Ci(t)}class Oi extends ni{constructor(e){super(e),this.useMatch=s=>W({select:s?.select,from:this.id,structuralSharing:s?.structuralSharing}),this.useRouteContext=s=>W({...s,from:this.id,select:n=>s?.select?s.select(n.context):n.context}),this.useSearch=s=>Ke({select:s?.select,structuralSharing:s?.structuralSharing,from:this.id}),this.useParams=s=>Qe({select:s?.select,structuralSharing:s?.structuralSharing,from:this.id}),this.useLoaderDeps=s=>Be({...s,from:this.id}),this.useLoaderData=s=>Ne({...s,from:this.id}),this.useNavigate=()=>Ve({from:this.fullPath}),this.Link=Ot.forwardRef((s,n)=>_.jsx(ln,{ref:n,from:this.fullPath,...s})),this.$$typeof=Symbol.for("react.memo")}}function zi(t){return new Oi(t)}function Ls(t){return typeof t=="object"?new Os(t,{silent:!0}).createRoute(t):new Os(t,{silent:!0}).createRoute}class Os{constructor(e,s){this.path=e,this.createRoute=n=>{this.silent;const r=Li(n);return r.isRoot=!1,r},this.silent=s?.silent}}class Ms{constructor(e){this.useMatch=s=>W({select:s?.select,from:this.options.id,structuralSharing:s?.structuralSharing}),this.useRouteContext=s=>W({from:this.options.id,select:n=>s?.select?s.select(n.context):n.context}),this.useSearch=s=>Ke({select:s?.select,structuralSharing:s?.structuralSharing,from:this.options.id}),this.useParams=s=>Qe({select:s?.select,structuralSharing:s?.structuralSharing,from:this.options.id}),this.useLoaderDeps=s=>Be({...s,from:this.options.id}),this.useLoaderData=s=>Ne({...s,from:this.options.id}),this.useNavigate=()=>{const s=V();return Ve({from:s.routesById[this.options.id].fullPath})},this.options=e,this.$$typeof=Symbol.for("react.memo")}}function Es(t){return typeof t=="object"?new Ms(t):e=>new Ms({id:t,...e})}function Mi(){const t=V(),e=b.useRef({router:t,mounted:!1}),[s,n]=b.useState(!1),{hasPendingMatches:r,isLoading:i}=K({select:d=>({isLoading:d.isLoading,hasPendingMatches:d.matches.some(h=>h.status==="pending")}),structuralSharing:!0}),a=he(i),o=i||s||r,c=he(o),u=i||r,l=he(u);return t.startTransition=d=>{n(!0),b.startTransition(()=>{d(),n(!1)})},b.useEffect(()=>{const d=t.history.subscribe(t.load),h=t.buildLocation({to:t.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return z(t.latestLocation.publicHref)!==z(h.publicHref)&&t.commitLocation({...h,replace:!0}),()=>{d()}},[t,t.history]),jt(()=>{if(typeof window<"u"&&t.ssr||e.current.router===t&&e.current.mounted)return;e.current={router:t,mounted:!0},(async()=>{try{await t.load()}catch(h){console.error(h)}})()},[t]),jt(()=>{a&&!i&&t.emit({type:"onLoad",...at(t.state)})},[a,t,i]),jt(()=>{l&&!u&&t.emit({type:"onBeforeRouteMount",...at(t.state)})},[u,l,t]),jt(()=>{if(c&&!o){const d=at(t.state);t.emit({type:"onResolved",...d}),t.__store.setState(h=>({...h,status:"idle",resolvedLocation:h.location})),d.hrefChanged&&Fr(t)}},[o,c,t]),null}function Ei(t){const e=K({select:s=>`not-found-${s.location.pathname}-${s.status}`});return _.jsx(je,{getResetKey:()=>e,onCatch:(s,n)=>{if(U(s))t.onCatch?.(s,n);else throw s},errorComponent:({error:s})=>{if(U(s))return t.fallback?.(s);throw s},children:t.children})}function ki(){return _.jsx("p",{children:"Not Found"})}function ft(t){return _.jsx(_.Fragment,{children:t.children})}function hn(t,e,s){return e.options.notFoundComponent?_.jsx(e.options.notFoundComponent,{...s}):t.options.defaultNotFoundComponent?_.jsx(t.options.defaultNotFoundComponent,{...s}):_.jsx(ki,{})}function Ii(){return V().isScrollRestoring,null}const dn=b.memo(function({matchId:e}){const s=V(),n=K({select:m=>{const g=m.matches.findIndex(S=>S.id===e),P=m.matches[g];return G(P),{routeId:P.routeId,ssr:P.ssr,_displayPending:P._displayPending,resetKey:m.loadedAt,parentRouteId:m.matches[g-1]?.routeId}},structuralSharing:!0}),r=s.routesById[n.routeId],i=r.options.pendingComponent??s.options.defaultPendingComponent,a=i?_.jsx(i,{}):null,o=r.options.errorComponent??s.options.defaultErrorComponent,c=r.options.onCatch??s.options.defaultOnCatch,u=r.isRoot?r.options.notFoundComponent??s.options.notFoundRoute?.options.component:r.options.notFoundComponent,l=n.ssr===!1||n.ssr==="data-only",d=(!r.isRoot||r.options.wrapInSuspense||l)&&(r.options.wrapInSuspense??i??(r.options.errorComponent?.preload||l))?b.Suspense:ft,h=o?je:ft,f=u?Ei:ft,p=r.isRoot?r.options.shellComponent??ft:ft;return _.jsxs(p,{children:[_.jsx(te.Provider,{value:e,children:_.jsx(d,{fallback:a,children:_.jsx(h,{getResetKey:()=>n.resetKey,errorComponent:o||Ue,onCatch:(m,g)=>{if(U(m))throw m;c?.(m,g)},children:_.jsx(f,{fallback:m=>{if(!u||m.routeId&&m.routeId!==n.routeId||!m.routeId&&!r.isRoot)throw m;return b.createElement(u,m)},children:l||n._displayPending?_.jsx(ai,{fallback:a,children:_.jsx(ks,{matchId:e})}):_.jsx(ks,{matchId:e})})})})}),n.parentRouteId===B&&s.options.scrollRestoration?_.jsxs(_.Fragment,{children:[_.jsx(Ti,{}),_.jsx(Ii,{})]}):null]})});function Ti(){const t=V(),e=b.useRef(void 0);return _.jsx("script",{suppressHydrationWarning:!0,ref:s=>{s&&(e.current===void 0||e.current.href!==t.latestLocation.href)&&(t.emit({type:"onRendered",...at(t.state)}),e.current=t.latestLocation)}},t.latestLocation.state.__TSR_key)}const ks=b.memo(function({matchId:e}){const s=V(),{match:n,key:r,routeId:i}=K({select:c=>{const u=c.matches.find(p=>p.id===e),l=u.routeId,h=(s.routesById[l].options.remountDeps??s.options.defaultRemountDeps)?.({routeId:l,loaderDeps:u.loaderDeps,params:u._strictParams,search:u._strictSearch});return{key:h?JSON.stringify(h):void 0,routeId:l,match:{id:u.id,status:u.status,error:u.error,invalid:u.invalid,_forcePending:u._forcePending,_displayPending:u._displayPending}}},structuralSharing:!0}),a=s.routesById[i],o=b.useMemo(()=>{const c=a.options.component??s.options.defaultComponent;return c?_.jsx(c,{},r):_.jsx(Fi,{})},[r,a.options.component,s.options.defaultComponent]);if(n._displayPending)throw s.getMatch(n.id)?._nonReactive.displayPendingPromise;if(n._forcePending)throw s.getMatch(n.id)?._nonReactive.minPendingPromise;if(n.status==="pending"){const c=a.options.pendingMinMs??s.options.defaultPendingMinMs;if(c){const u=s.getMatch(n.id);if(u&&!u._nonReactive.minPendingPromise){const l=gt();u._nonReactive.minPendingPromise=l,setTimeout(()=>{l.resolve(),u._nonReactive.minPendingPromise=void 0},c)}}throw s.getMatch(n.id)?._nonReactive.loadPromise}if(n.status==="notFound")return G(U(n.error)),hn(s,a,n.error);if(n.status==="redirected")throw G(Q(n.error)),s.getMatch(n.id)?._nonReactive.loadPromise;if(n.status==="error")throw n.error;return o}),Fi=b.memo(function(){const e=V(),s=b.useContext(te),n=K({select:u=>u.matches.find(l=>l.id===s)?.routeId}),r=e.routesById[n],i=K({select:u=>{const d=u.matches.find(h=>h.id===s);return G(d),d.globalNotFound}}),a=K({select:u=>{const l=u.matches,d=l.findIndex(h=>h.id===s);return l[d+1]?.id}}),o=e.options.defaultPendingComponent?_.jsx(e.options.defaultPendingComponent,{}):null;if(i)return hn(e,r,void 0);if(!a)return null;const c=_.jsx(dn,{matchId:a});return n===B?_.jsx(b.Suspense,{fallback:o,children:c}):c});function Di(){const t=V(),s=t.routesById[B].options.pendingComponent??t.options.defaultPendingComponent,n=s?_.jsx(s,{}):null,r=typeof document<"u"&&t.ssr?ft:b.Suspense,i=_.jsxs(r,{fallback:n,children:[_.jsx(Mi,{}),_.jsx(Ai,{})]});return t.options.InnerWrap?_.jsx(t.options.InnerWrap,{children:i}):i}function Ai(){const t=V(),e=K({select:r=>r.matches[0]?.id}),s=K({select:r=>r.loadedAt}),n=e?_.jsx(dn,{matchId:e}):null;return _.jsx(te.Provider,{value:e,children:t.options.disableGlobalCatchBoundary?n:_.jsx(je,{getResetKey:()=>s,errorComponent:Ue,onCatch:r=>{r.message||r.toString()},children:n})})}const Gi=t=>new ji(t);class ji extends Gr{constructor(e){super(e)}}typeof globalThis<"u"?(globalThis.createFileRoute=Ls,globalThis.createLazyFileRoute=Es):typeof window<"u"&&(window.createFileRoute=Ls,window.createLazyFileRoute=Es);function Ui({router:t,children:e,...s}){Object.keys(s).length>0&&t.update({...t.options,...s,context:{...t.options.context,...s.context}});const n=un(),r=_.jsx(n.Provider,{value:t,children:e});return t.options.Wrap?_.jsx(t.options.Wrap,{children:r}):r}function Ji({router:t,...e}){return _.jsx(Ui,{router:t,...e,children:_.jsx(Di,{})})}const Ni="modulepreload",Bi=function(t){return"/"+t},Is={},Yi=function(e,s,n){let r=Promise.resolve();if(s&&s.length>0){let c=function(u){return Promise.all(u.map(l=>Promise.resolve(l).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),o=a?.nonce||a?.getAttribute("nonce");r=c(s.map(u=>{if(u=Bi(u),u in Is)return;Is[u]=!0;const l=u.endsWith(".css"),d=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${d}`))return;const h=document.createElement("link");if(h.rel=l?"stylesheet":Ni,l||(h.as="script"),h.crossOrigin="",h.href=u,o&&h.setAttribute("nonce",o),document.head.appendChild(h),l)return new Promise((f,p)=>{h.addEventListener("load",f),h.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(a){const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=a,window.dispatchEvent(o),!o.defaultPrevented)throw a}return r.then(a=>{for(const o of a||[])o.status==="rejected"&&i(o.reason);return e().catch(i)})};export{Ut as D,Fi as O,Vi as Q,Ji as R,Yi as _,qs as a,Hi as b,Wi as c,zi as d,Ls as e,Ve as f,Gi as g,$i as h,Qr as r,qi as u};
@@ -1,4 +1,4 @@
1
- import{R as ae,d as ve,g as Zd}from"./react-C7bPzU82.js";import{r as Xd}from"./markdown-DZTI3WvM.js";function Qd(e,t){if(e==null)return{};var a={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;a[r]=e[r]}return a}function Jd(e,t){if(e==null)return{};var a,r,n=Qd(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)a=i[r],t.indexOf(a)===-1&&{}.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}function Xi(e,t){(t==null||t>e.length)&&(t=e.length);for(var a=0,r=Array(t);a<t;a++)r[a]=e[a];return r}function ep(e){if(Array.isArray(e))return Xi(e)}function tp(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ap(e,t){if(e){if(typeof e=="string")return Xi(e,t);var a={}.toString.call(e).slice(8,-1);return a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set"?Array.from(e):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Xi(e,t):void 0}}function rp(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1
+ import{R as ae,f as ve,g as Zd}from"./react-B4JKld8U.js";import{r as Xd}from"./markdown-BK94rdVT.js";function Qd(e,t){if(e==null)return{};var a={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;a[r]=e[r]}return a}function Jd(e,t){if(e==null)return{};var a,r,n=Qd(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)a=i[r],t.indexOf(a)===-1&&{}.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}function Xi(e,t){(t==null||t>e.length)&&(t=e.length);for(var a=0,r=Array(t);a<t;a++)r[a]=e[a];return r}function ep(e){if(Array.isArray(e))return Xi(e)}function tp(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ap(e,t){if(e){if(typeof e=="string")return Xi(e,t);var a={}.toString.call(e).slice(8,-1);return a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set"?Array.from(e):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Xi(e,t):void 0}}function rp(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qi(e){return ep(e)||tp(e)||ap(e)||rp()}function he(e){"@babel/helpers - typeof";return he=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},he(e)}function np(e,t){if(he(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var r=a.call(e,t);if(he(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ip(e){var t=np(e,"string");return he(t)=="symbol"?t:t+""}function xd(e,t,a){return(t=ip(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Ji(){return Ji=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)({}).hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},Ji.apply(null,arguments)}function mo(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),a.push.apply(a,r)}return a}function be(e){for(var t=1;t<arguments.length;t++){var a=arguments[t]!=null?arguments[t]:{};t%2?mo(Object(a),!0).forEach(function(r){xd(e,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):mo(Object(a)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(a,r))})}return e}function op(e){var t=e.length;if(t===0||t===1)return e;if(t===2)return[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])];if(t===3)return[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])];if(t>=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}var De={};function sp(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return De[t]||(De[t]=op(e)),De[t]}function lp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,r=e.filter(function(i){return i!=="token"}),n=sp(r);return n.reduce(function(i,o){return be(be({},i),a[o])},t)}function fo(e){return e.join(" ")}function up(e,t){var a=0;return function(r){return a+=1,r.map(function(n,i){return Md({node:n,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(a,"-").concat(i)})})}}function Md(e){var t=e.node,a=e.stylesheet,r=e.style,n=r===void 0?{}:r,i=e.useInlineStyles,o=e.key,s=t.properties,l=t.type,c=t.tagName,u=t.value;if(l==="text")return u;if(c){var g=up(a,i),f;if(!i)f=be(be({},s),{},{className:fo(s.className)});else{var h=Object.keys(a).reduce(function(A,b){return b.split(".").forEach(function(p){A.includes(p)||A.push(p)}),A},[]),v=s.className&&s.className.includes("token")?["token"]:[],T=s.className&&v.concat(s.className.filter(function(A){return!h.includes(A)}));f=be(be({},s),{},{className:fo(T)||void 0,style:lp(s.className,Object.assign({},s.style,n),a)})}var R=g(t.children);return ae.createElement(c,Ji({key:o},f),R)}}const cp=(function(e,t){var a=e.listLanguages();return a.indexOf(t)!==-1});var dp=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function Eo(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),a.push.apply(a,r)}return a}function re(e){for(var t=1;t<arguments.length;t++){var a=arguments[t]!=null?arguments[t]:{};t%2?Eo(Object(a),!0).forEach(function(r){xd(e,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Eo(Object(a)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(a,r))})}return e}var pp=/\n/g;function gp(e){return e.match(pp)}function bp(e){var t=e.lines,a=e.startingLineNumber,r=e.style;return t.map(function(n,i){var o=i+a;return ae.createElement("span",{key:"line-".concat(i),className:"react-syntax-highlighter-line-number",style:typeof r=="function"?r(o):r},"".concat(o,`
3
3
  `))})}function mp(e){var t=e.codeString,a=e.codeStyle,r=e.containerStyle,n=r===void 0?{float:"left",paddingRight:"10px"}:r,i=e.numberStyle,o=i===void 0?{}:i,s=e.startingLineNumber;return ae.createElement("code",{style:Object.assign({},a,n)},bp({lines:t.replace(/\n$/,"").split(`
4
4
  `),style:o,startingLineNumber:s}))}function fp(e){return"".concat(e.toString().length,".25em")}function Fd(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function Ud(e,t,a){var r={display:"inline-block",minWidth:fp(a),paddingRight:"1em",textAlign:"right",userSelect:"none"},n=typeof e=="function"?e(t):e,i=re(re({},r),n);return i}function Te(e){var t=e.children,a=e.lineNumber,r=e.lineNumberStyle,n=e.largestLineNumber,i=e.showInlineLineNumbers,o=e.lineProps,s=o===void 0?{}:o,l=e.className,c=l===void 0?[]:l,u=e.showLineNumbers,g=e.wrapLongLines,f=e.wrapLines,h=f===void 0?!1:f,v=h?re({},typeof s=="function"?s(a):s):{};if(v.className=v.className?[].concat(Qi(v.className.trim().split(/\s+/)),Qi(c)):c,a&&i){var T=Ud(r,a,n);t.unshift(Fd(a,T))}return g&u&&(v.style=re({display:"flex"},v.style)),{type:"element",tagName:"span",properties:v,children:t}}function Pd(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=0;r<e.length;r++){var n=e[r];if(n.type==="text")a.push(Te({children:[n],className:Qi(new Set(t))}));else if(n.children){var i=t.concat(n.properties.className);Pd(n.children,i).forEach(function(o){return a.push(o)})}}return a}function Ep(e,t,a,r,n,i,o,s,l){var c,u=Pd(e.value),g=[],f=-1,h=0;function v(E,d){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return Te({children:E,lineNumber:d,lineNumberStyle:s,largestLineNumber:o,showInlineLineNumbers:n,lineProps:a,className:S,showLineNumbers:r,wrapLongLines:l,wrapLines:t})}function T(E,d){if(r&&d&&n){var S=Ud(s,d,o);E.unshift(Fd(d,S))}return E}function R(E,d){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||S.length>0?v(E,d,S):T(E,d)}for(var A=function(){var d=u[h],S=d.children[0].value,_=gp(S);if(_){var y=S.split(`
@@ -18,13 +18,13 @@
18
18
  .app-loader-spinner{width:24px;height:24px;border:2px solid hsl(240,5%,25%);border-top-color:hsl(240,5%,65%);border-radius:50%;animation:spin .6s linear infinite}
19
19
  @keyframes spin{to{transform:rotate(360deg)}}
20
20
  </style>
21
- <script type="module" crossorigin src="/assets/index-wFIZF5Sn.js"></script>
22
- <link rel="modulepreload" crossorigin href="/assets/react-C7bPzU82.js">
23
- <link rel="modulepreload" crossorigin href="/assets/router-CJBNIDUr.js">
24
- <link rel="modulepreload" crossorigin href="/assets/icons-DTzLOVWM.js">
25
- <link rel="modulepreload" crossorigin href="/assets/markdown-DZTI3WvM.js">
26
- <link rel="modulepreload" crossorigin href="/assets/syntax-COWumqTl.js">
27
- <link rel="stylesheet" crossorigin href="/assets/index-DHVhZ4mn.css">
21
+ <script type="module" crossorigin src="/assets/index-DZoHhLz7.js"></script>
22
+ <link rel="modulepreload" crossorigin href="/assets/router-1labGj4Y.js">
23
+ <link rel="modulepreload" crossorigin href="/assets/react-B4JKld8U.js">
24
+ <link rel="modulepreload" crossorigin href="/assets/icons-DRLoLJcX.js">
25
+ <link rel="modulepreload" crossorigin href="/assets/markdown-BK94rdVT.js">
26
+ <link rel="modulepreload" crossorigin href="/assets/syntax-nAXv8AQL.js">
27
+ <link rel="stylesheet" crossorigin href="/assets/index-D6E8_S33.css">
28
28
  </head>
29
29
  <body>
30
30
  <div id="root"><div class="app-loader"><div class="app-loader-spinner"></div></div></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ottocode/web-ui",
3
- "version": "0.1.206",
3
+ "version": "0.1.208",
4
4
  "description": "Embeddable web UI for ottocode - pre-built static assets",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1 +0,0 @@
1
- import{r as h}from"./react-C7bPzU82.js";const v=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),x=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,o,c)=>c?c.toUpperCase():o.toLowerCase()),l=t=>{const a=x(t);return a.charAt(0).toUpperCase()+a.slice(1)},M=(...t)=>t.filter((a,o,c)=>!!a&&a.trim()!==""&&c.indexOf(a)===o).join(" ").trim(),$=t=>{for(const a in t)if(a.startsWith("aria-")||a==="role"||a==="title")return!0};var g={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"};const f=h.forwardRef(({color:t="currentColor",size:a=24,strokeWidth:o=2,absoluteStrokeWidth:c,className:s="",children:n,iconNode:r,...d},i)=>h.createElement("svg",{ref:i,...g,width:a,height:a,stroke:t,strokeWidth:c?Number(o)*24/Number(a):o,className:M("lucide",s),...!n&&!$(d)&&{"aria-hidden":"true"},...d},[...r.map(([k,p])=>h.createElement(k,p)),...Array.isArray(n)?n:[n]]));const e=(t,a)=>{const o=h.forwardRef(({className:c,...s},n)=>h.createElement(f,{ref:n,iconNode:a,className:M(`lucide-${v(l(t))}`,`lucide-${t}`,c),...s}));return o.displayName=l(t),o};const w=[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]],p2=e("arrow-down-to-line",w);const u=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],l2=e("arrow-down",u);const N=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],_2=e("arrow-left",N);const q=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],M2=e("arrow-right",q);const b=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],m2=e("arrow-up-right",b);const C=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],v2=e("arrow-up",C);const z=[["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"}]],x2=e("bot",z);const A=[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]],$2=e("braces",A);const H=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],g2=e("brain",H);const j=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],f2=e("check-check",j);const V=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],w2=e("check",V);const L=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],u2=e("chevron-down",L);const Z=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],N2=e("chevron-left",Z);const F=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],q2=e("chevron-right",F);const S=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],b2=e("chevron-up",S);const B=[["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"}]],C2=e("circle-alert",B);const P=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],z2=e("circle-check",P);const R=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],A2=e("circle-check-big",R);const E=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]],H2=e("circle-stop",E);const U=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],j2=e("circle-x",U);const D=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],V2=e("circle",D);const T=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],L2=e("clock",T);const W=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],Z2=e("code",W);const I=[["path",{d:"M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",key:"11bfej"}]],F2=e("command",I);const X=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],S2=e("copy",X);const G=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],B2=e("credit-card",G);const K=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],P2=e("cpu",K);const O=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],R2=e("database",O);const J=[["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 10h14",key:"elsbfy"}],["path",{d:"M5 21h14",key:"11awu3"}]],E2=e("diff",J);const Q=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],U2=e("dollar-sign",Q);const Y=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],D2=e("download",Y);const e1=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]],T2=e("ellipsis-vertical",e1);const a1=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],W2=e("external-link",a1);const t1=[["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z",key:"1mlx9k"}]],I2=e("file-code",t1);const o1=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]],X2=e("file-json",o1);const c1=[["path",{d:"M12.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v9.5",key:"1couwa"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M13.378 15.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1y4qbx"}]],G2=e("file-pen",c1);const n1=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M9 15h6",key:"cctwl0"}],["path",{d:"M12 18v-6",key:"17g6i2"}]],K2=e("file-plus",n1);const h1=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],O2=e("file-text",h1);const s1=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M9 13v-1h6v1",key:"1bb014"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"M11 18h2",key:"12mj7e"}]],J2=e("file-type",s1);const d1=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m14.5 12.5-5 5",key:"b62r18"}],["path",{d:"m9.5 12.5 5 5",key:"1rk7el"}]],Q2=e("file-x",d1);const y1=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]],Y2=e("file",y1);const r1=[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],e0=e("flask-conical",r1);const i1=[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["circle",{cx:"12",cy:"13",r:"1",key:"49l61u"}]],a0=e("folder-dot",i1);const k1=[["path",{d:"M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5",key:"1w6njk"}],["circle",{cx:"13",cy:"12",r:"2",key:"1j92g6"}],["path",{d:"M18 19c-2.8 0-5-2.2-5-5v8",key:"pkpw2h"}],["circle",{cx:"20",cy:"19",r:"2",key:"1obnsp"}]],t0=e("folder-git-2",k1);const p1=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],o0=e("folder-open",p1);const l1=[["path",{d:"M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"hod4my"}],["path",{d:"M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"w4yl2u"}],["path",{d:"M3 5a2 2 0 0 0 2 2h3",key:"f2jnh7"}],["path",{d:"M3 3v13a2 2 0 0 0 2 2h3",key:"k8epm1"}]],c0=e("folder-tree",l1);const _1=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],n0=e("folder",_1);const M1=[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],h0=e("funnel",M1);const m1=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],s0=e("git-branch",m1);const v1=[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]],d0=e("git-commit-horizontal",v1);const x1=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],y0=e("globe",x1);const $1=[["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"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]],r0=e("history",$1);const g1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],i0=e("image",g1);const f1=[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]],k0=e("key",f1);const w1=[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]],p0=e("keyboard",w1);const u1=[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]],l0=e("laptop",u1);const N1=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],_0=e("link-2",N1);const q1=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],M0=e("link",q1);const b1=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],m0=e("list",b1);const C1=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],v0=e("loader-circle",C1);const z1=[["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"}]],x0=e("lock",z1);const A1=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]],$0=e("maximize-2",A1);const H1=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],g0=e("message-square",H1);const j1=[["path",{d:"m14 10 7-7",key:"oa77jy"}],["path",{d:"M20 10h-6V4",key:"mjg0md"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M4 14h6v6",key:"rmj7iw"}]],f0=e("minimize-2",j1);const V1=[["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],w0=e("octagon-x",V1);const L1=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],u0=e("pencil",L1);const Z1=[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]],N0=e("plug",Z1);const F1=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],q0=e("plus",F1);const S1=[["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"}]],b0=e("refresh-cw",S1);const B1=[["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"}]],C0=e("rotate-ccw",B1);const P1=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],z0=e("scissors",P1);const R1=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],A0=e("search",R1);const E1=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],H0=e("settings",E1);const U1=[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]],j0=e("share-2",U1);const D1=[["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"}]],V0=e("shield",D1);const T1=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],L0=e("sparkles",T1);const W1=[["path",{d:"M16 3h5v5",key:"1806ms"}],["path",{d:"M8 3H3v5",key:"15dfkv"}],["path",{d:"M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3",key:"1qrqzj"}],["path",{d:"m15 9 6-6",key:"ko1vev"}]],Z0=e("split",W1);const I1=[["path",{d:"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",key:"2acyp4"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],F0=e("square-check-big",I1);const X1=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],S0=e("terminal",X1);const G1=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],B0=e("trash-2",G1);const K1=[["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"}]],P0=e("triangle-alert",K1);const O1=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],R0=e("upload",O1);const J1=[["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"}]],E0=e("user",J1);const Q1=[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]],U0=e("wallet",Q1);const Y1=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],D0=e("wrench",Y1);const e2=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],T0=e("x",e2);const a2=[["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"}]],W0=e("zap",a2);const t2=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o2=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,o,c)=>c?c.toUpperCase():o.toLowerCase()),_=t=>{const a=o2(t);return a.charAt(0).toUpperCase()+a.slice(1)},m=(...t)=>t.filter((a,o,c)=>!!a&&a.trim()!==""&&c.indexOf(a)===o).join(" ").trim(),c2=t=>{for(const a in t)if(a.startsWith("aria-")||a==="role"||a==="title")return!0};var n2={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"};const h2=h.forwardRef(({color:t="currentColor",size:a=24,strokeWidth:o=2,absoluteStrokeWidth:c,className:s="",children:n,iconNode:r,...d},i)=>h.createElement("svg",{ref:i,...n2,width:a,height:a,stroke:t,strokeWidth:c?Number(o)*24/Number(a):o,className:m("lucide",s),...!n&&!c2(d)&&{"aria-hidden":"true"},...d},[...r.map(([k,p])=>h.createElement(k,p)),...Array.isArray(n)?n:[n]]));const y=(t,a)=>{const o=h.forwardRef(({className:c,...s},n)=>h.createElement(h2,{ref:n,iconNode:a,className:m(`lucide-${t2(_(t))}`,`lucide-${t}`,c),...s}));return o.displayName=_(t),o};const s2=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],I0=y("chevron-right",s2);const d2=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],X0=y("moon",d2);const y2=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],G0=y("plus",y2);const r2=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],K0=y("sun",r2);const i2=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],O0=y("x",i2);export{N0 as $,v2 as A,x2 as B,u2 as C,o0 as D,W2 as E,Y2 as F,s0 as G,n0 as H,i0 as I,c0 as J,p0 as K,v0 as L,f0 as M,z2 as N,M2 as O,q0 as P,V2 as Q,b0 as R,L0 as S,S0 as T,E0 as U,y0 as V,M0 as W,T0 as X,z0 as Y,_0 as Z,h0 as _,$0 as a,w0 as a0,G2 as a1,m0 as a2,E2 as a3,d0 as a4,R2 as a5,f2 as a6,L2 as a7,C0 as a8,m2 as a9,K0 as aA,X0 as aB,U2 as aa,g0 as ab,U0 as ac,l2 as ad,P0 as ae,Q2 as af,K2 as ag,F0 as ah,t0 as ai,D2 as aj,R0 as ak,N2 as al,r0 as am,p2 as an,H0 as ao,P2 as ap,W0 as aq,k0 as ar,l0 as as,a0 as at,x0 as au,D0 as av,_2 as aw,G0 as ax,I0 as ay,O0 as az,C2 as b,j2 as c,A2 as d,B2 as e,J2 as f,$2 as g,O2 as h,X2 as i,I2 as j,u0 as k,H2 as l,Z2 as m,g2 as n,w2 as o,Z0 as p,B0 as q,j0 as r,F2 as s,e0 as t,T2 as u,b2 as v,A0 as w,V0 as x,q2 as y,S2 as z};
@@ -1 +0,0 @@
1
- @import"https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&display=swap";*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:IBM Plex Mono,monospace;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:IBM Plex Mono,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--background: 220 25% 95%;--foreground: 220 10% 15%;--card: 220 25% 98%;--card-foreground: 220 10% 15%;--popover: 220 25% 98%;--popover-foreground: 220 10% 15%;--primary: 222.2 47.4% 11.2%;--primary-foreground: 210 40% 98%;--secondary: 220 18% 88%;--secondary-foreground: 222.2 35% 25%;--muted: 220 18% 88%;--muted-foreground: 220 15% 40%;--accent: 220 20% 86%;--accent-foreground: 222.2 35% 25%;--destructive: 0 90% 65%;--destructive-foreground: 210 40% 98%;--border: 220 15% 89%;--input: 220 15% 89%;--ring: 222.2 84% 4.9%;--chart-1: 222.2 47.4% 41.2%;--chart-2: 173 58% 39%;--chart-3: 197 37% 24%;--chart-4: 43 74% 66%;--chart-5: 27 87% 67%;--radius: .5rem;--sidebar-background: 220 25% 91%;--sidebar-foreground: 220 10% 15%;--sidebar-primary: 222.2 47.4% 11.2%;--sidebar-primary-foreground: 210 40% 98%;--sidebar-accent: 220 20% 86%;--sidebar-accent-foreground: 222.2 35% 25%;--sidebar-border: 220 15% 89%;--sidebar-ring: 222.2 84% 4.9%;--code-background: hsl(220 25% 93%);--code-foreground: hsl(220 10% 10%);--code-keyword: hsl(300 85% 42%);--code-class: hsl(120 60% 35%);--code-function: hsl(220 95% 45%);--code-string: hsl(120 60% 35%);--code-comment: hsl(220 15% 35%);--code-operator: hsl(180 85% 30%);--code-punctuation: hsl(220 15% 20%);color-scheme:light}.dark{--background: 240 10% 8%;--foreground: 0 0% 98%;--card: 240 10% 10%;--card-foreground: 0 0% 98%;--popover: 240 10% 10%;--popover-foreground: 0 0% 98%;--primary: 0 0% 98%;--primary-foreground: 240 5.9% 10%;--secondary: 240 3.7% 15.9%;--secondary-foreground: 0 0% 98%;--muted: 240 3.7% 15.9%;--muted-foreground: 240 5% 64.9%;--accent: 240 3.7% 15.9%;--accent-foreground: 0 0% 98%;--destructive: 0 75% 45%;--destructive-foreground: 0 0% 98%;--border: 240 3.7% 15.9%;--input: 240 3.7% 15.9%;--ring: 240 4.9% 83.9%;--chart-1: 220 70% 50%;--chart-2: 160 60% 45%;--chart-3: 30 80% 55%;--chart-4: 280 65% 60%;--chart-5: 340 75% 55%;--radius: .5rem;--sidebar-background: 240 10% 10%;--sidebar-foreground: 0 0% 98%;--sidebar-primary: 217.2 91.2% 59.8%;--sidebar-primary-foreground: 240 5.9% 10%;--sidebar-accent: 240 3.7% 15.9%;--sidebar-accent-foreground: 0 0% 98%;--sidebar-border: 240 3.7% 15.9%;--sidebar-ring: 217.2 91.2% 59.8%;--code-background: hsl(240 10% 10%);--code-foreground: hsl(0 0% 98%);--code-keyword: #c678dd;--code-class: #98c379;--code-function: #61afef;--code-string: #98c379;--code-comment: hsl(240 5% 64.9%);--code-operator: #56b6c2;--code-punctuation: hsl(240 5% 64.9%);color-scheme:dark}.\!container{width:100%!important}.container{width:100%}@media(min-width:640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media(min-width:768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media(min-width:1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media(min-width:1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media(min-width:1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{left:0;right:0}.-bottom-1{bottom:-.25rem}.-top-1{top:-.25rem}.-top-6{top:-1.5rem}.bottom-0{bottom:0}.bottom-0\.5{bottom:.125rem}.bottom-1{bottom:.25rem}.bottom-24{bottom:6rem}.bottom-36{bottom:9rem}.bottom-4{bottom:1rem}.bottom-full{bottom:100%}.left-0{left:0}.left-1\/2{left:50%}.left-3{left:.75rem}.left-4{left:1rem}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.top-0\.5{top:.125rem}.top-1{top:.25rem}.top-1\/2{top:50%}.top-2{top:.5rem}.top-4{top:1rem}.top-full{top:100%}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.z-\[9999\]{z-index:9999}.mx-4{margin-left:1rem;margin-right:1rem}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.-mt-0\.5{margin-top:-.125rem}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.ml-6{margin-left:1.5rem}.ml-7{margin-left:1.75rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[136px\]{height:136px}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-24{max-height:6rem}.max-h-48{max-height:12rem}.max-h-60{max-height:15rem}.max-h-80{max-height:20rem}.max-h-96{max-height:24rem}.max-h-\[120px\]{max-height:120px}.max-h-\[200px\]{max-height:200px}.max-h-\[300px\]{max-height:300px}.max-h-\[30rem\]{max-height:30rem}.max-h-\[32rem\]{max-height:32rem}.max-h-\[60vh\]{max-height:60vh}.max-h-\[70vh\]{max-height:70vh}.max-h-full{max-height:100%}.min-h-0{min-height:0px}.min-h-10{min-height:2.5rem}.min-h-\[110px\]{min-height:110px}.min-h-screen{min-height:100vh}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-24{width:6rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-4{width:1rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-\[136px\]{width:136px}.w-\[2px\]{width:2px}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-\[100px\]{min-width:100px}.min-w-\[120px\]{min-width:120px}.min-w-\[160px\]{min-width:160px}.min-w-\[60px\]{min-width:60px}.min-w-max{min-width:-moz-max-content;min-width:max-content}.max-w-2xl{max-width:42rem}.max-w-32{max-width:8rem}.max-w-3xl{max-width:48rem}.max-w-40{max-width:10rem}.max-w-48{max-width:12rem}.max-w-7xl{max-width:80rem}.max-w-\[100px\]{max-width:100px}.max-w-\[120px\]{max-width:120px}.max-w-\[150px\]{max-width:150px}.max-w-\[200px\]{max-width:200px}.max-w-\[220px\]{max-width:220px}.max-w-\[calc\(100\%-3rem\)\]{max-width:calc(100% - 3rem)}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink{flex-shrink:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-6{--tw-translate-x: 1.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\[18px\]{--tw-translate-x: 18px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\[3px\]{--tw-translate-x: 3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-2{--tw-translate-y: .5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-90{--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-0{--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-col-resize{cursor:col-resize}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.cursor-row-resize{cursor:row-resize}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.resize-none{resize:none}.resize-y{resize:vertical}.resize{resize:both}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-rows-\[0fr\]{grid-template-rows:0fr}.grid-rows-\[1fr\]{grid-template-rows:1fr}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0px}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-x-1\.5{-moz-column-gap:.375rem;column-gap:.375rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-x-5{-moz-column-gap:1.25rem;column-gap:1.25rem}.gap-y-1{row-gap:.25rem}.gap-y-2{row-gap:.5rem}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-border>:not([hidden])~:not([hidden]){border-color:hsl(var(--border))}.divide-border\/50>:not([hidden])~:not([hidden]){border-color:hsl(var(--border) / .5)}.justify-self-start{justify-self:start}.justify-self-end{justify-self:end}.justify-self-center{justify-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-xl{border-radius:.75rem}.rounded-bl-md{border-bottom-left-radius:calc(var(--radius) - 2px)}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-r-2{border-right-width:2px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-\[hsl\(var\(--border\)\)\]{border-color:hsl(var(--border))}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1))}.border-blue-500\/30{border-color:#3b82f64d}.border-border{border-color:hsl(var(--border))}.border-border\/50{border-color:hsl(var(--border) / .5)}.border-destructive\/30{border-color:hsl(var(--destructive) / .3)}.border-emerald-500\/20{border-color:#10b98133}.border-emerald-500\/30{border-color:#10b9814d}.border-emerald-500\/50{border-color:#10b98180}.border-foreground{border-color:hsl(var(--foreground))}.border-green-500\/20{border-color:#22c55e33}.border-green-500\/30{border-color:#22c55e4d}.border-muted-foreground\/30{border-color:hsl(var(--muted-foreground) / .3)}.border-primary{border-color:hsl(var(--primary))}.border-primary\/50{border-color:hsl(var(--primary) / .5)}.border-red-200{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity, 1))}.border-red-500\/20{border-color:#ef444433}.border-red-500\/30{border-color:#ef44444d}.border-red-500\/50{border-color:#ef444480}.border-ring{border-color:hsl(var(--ring))}.border-slate-300{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1))}.border-teal-500\/30{border-color:#14b8a64d}.border-transparent{border-color:transparent}.border-violet-500{--tw-border-opacity: 1;border-color:rgb(139 92 246 / var(--tw-border-opacity, 1))}.border-violet-500\/30{border-color:#8b5cf64d}.border-violet-500\/50{border-color:#8b5cf680}.border-yellow-500\/30{border-color:#eab3084d}.bg-\[hsl\(var\(--accent\)\)\]{background-color:hsl(var(--accent))}.bg-\[hsl\(var\(--muted\)\)\]{background-color:hsl(var(--muted))}.bg-\[hsl\(var\(--popover\)\)\]{background-color:hsl(var(--popover))}.bg-\[hsl\(var\(--secondary\)\)\]{background-color:hsl(var(--secondary))}.bg-accent{background-color:hsl(var(--accent))}.bg-accent\/50{background-color:hsl(var(--accent) / .5)}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.bg-amber-500\/90{background-color:#f59e0be6}.bg-amber-600{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity, 1))}.bg-background{background-color:hsl(var(--background))}.bg-background\/50{background-color:hsl(var(--background) / .5)}.bg-background\/80{background-color:hsl(var(--background) / .8)}.bg-background\/95{background-color:hsl(var(--background) / .95)}.bg-black\/0{background-color:#0000}.bg-black\/50{background-color:#00000080}.bg-black\/60{background-color:#0009}.bg-black\/80{background-color:#000c}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-blue-500\/10{background-color:#3b82f61a}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-card\/60{background-color:hsl(var(--card) / .6)}.bg-destructive{background-color:hsl(var(--destructive))}.bg-destructive\/10{background-color:hsl(var(--destructive) / .1)}.bg-emerald-500{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity, 1))}.bg-emerald-500\/10{background-color:#10b9811a}.bg-emerald-500\/20{background-color:#10b98133}.bg-emerald-500\/5{background-color:#10b9810d}.bg-foreground{background-color:hsl(var(--foreground))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-green-500\/10{background-color:#22c55e1a}.bg-green-500\/20{background-color:#22c55e33}.bg-green-500\/5{background-color:#22c55e0d}.bg-green-500\/90{background-color:#22c55ee6}.bg-green-600\/20{background-color:#16a34a33}.bg-muted{background-color:hsl(var(--muted))}.bg-muted-foreground\/20{background-color:hsl(var(--muted-foreground) / .2)}.bg-muted-foreground\/30{background-color:hsl(var(--muted-foreground) / .3)}.bg-muted-foreground\/40{background-color:hsl(var(--muted-foreground) / .4)}.bg-muted\/10{background-color:hsl(var(--muted) / .1)}.bg-muted\/20{background-color:hsl(var(--muted) / .2)}.bg-muted\/30{background-color:hsl(var(--muted) / .3)}.bg-muted\/40{background-color:hsl(var(--muted) / .4)}.bg-muted\/50{background-color:hsl(var(--muted) / .5)}.bg-muted\/60{background-color:hsl(var(--muted) / .6)}.bg-orange-50{--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity, 1))}.bg-orange-500{--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity, 1))}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-primary-foreground{background-color:hsl(var(--primary-foreground))}.bg-primary\/10{background-color:hsl(var(--primary) / .1)}.bg-purple-600\/20{background-color:#9333ea33}.bg-red-100\/50{background-color:#fee2e280}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-red-500\/10{background-color:#ef44441a}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1))}.bg-teal-500{--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity, 1))}.bg-teal-500\/10{background-color:#14b8a61a}.bg-teal-500\/5{background-color:#14b8a60d}.bg-transparent{background-color:transparent}.bg-violet-500\/10{background-color:#8b5cf61a}.bg-violet-500\/20{background-color:#8b5cf633}.bg-violet-600{--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\/10{background-color:#ffffff1a}.bg-yellow-500\/5{background-color:#eab3080d}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-background{--tw-gradient-from: hsl(var(--background)) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--background) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-background{--tw-gradient-to: hsl(var(--background) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), hsl(var(--background)) var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-2\.5{padding-bottom:.625rem}.pb-3{padding-bottom:.75rem}.pb-32{padding-bottom:8rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pb-64{padding-bottom:16rem}.pb-8{padding-bottom:2rem}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.pl-9{padding-left:2.25rem}.pr-1{padding-right:.25rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-0\.5{padding-top:.125rem}.pt-1{padding-top:.25rem}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:IBM Plex Mono,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-\[0\.65rem\]{font-size:.65rem}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[13px\]{font-size:13px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-normal{line-height:1.5}.leading-relaxed{line-height:1.625}.leading-tight{line-height:1.25}.tracking-wider{letter-spacing:.05em}.tracking-widest{letter-spacing:.1em}.text-\[hsl\(var\(--accent-foreground\)\)\]{color:hsl(var(--accent-foreground))}.text-\[hsl\(var\(--foreground\)\)\]{color:hsl(var(--foreground))}.text-\[hsl\(var\(--muted-foreground\)\)\]{color:hsl(var(--muted-foreground))}.text-\[hsl\(var\(--muted-foreground\)\)\]\/50{color:hsl(var(--muted-foreground) / .5)}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.text-amber-600{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity, 1))}.text-amber-700{--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity, 1))}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity, 1))}.text-background{color:hsl(var(--background))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-cyan-600{--tw-text-opacity: 1;color:rgb(8 145 178 / var(--tw-text-opacity, 1))}.text-cyan-700{--tw-text-opacity: 1;color:rgb(14 116 144 / var(--tw-text-opacity, 1))}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-destructive\/80{color:hsl(var(--destructive) / .8)}.text-emerald-500{--tw-text-opacity: 1;color:rgb(16 185 129 / var(--tw-text-opacity, 1))}.text-emerald-600{--tw-text-opacity: 1;color:rgb(5 150 105 / var(--tw-text-opacity, 1))}.text-emerald-700{--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity, 1))}.text-foreground{color:hsl(var(--foreground))}.text-foreground\/40{color:hsl(var(--foreground) / .4)}.text-foreground\/60{color:hsl(var(--foreground) / .6)}.text-foreground\/70{color:hsl(var(--foreground) / .7)}.text-foreground\/80{color:hsl(var(--foreground) / .8)}.text-foreground\/85{color:hsl(var(--foreground) / .85)}.text-foreground\/90{color:hsl(var(--foreground) / .9)}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity, 1))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-green-600\/40{color:#16a34a66}.text-green-600\/60{color:#16a34a99}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity, 1))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-muted-foreground\/30{color:hsl(var(--muted-foreground) / .3)}.text-muted-foreground\/40{color:hsl(var(--muted-foreground) / .4)}.text-muted-foreground\/50{color:hsl(var(--muted-foreground) / .5)}.text-muted-foreground\/60{color:hsl(var(--muted-foreground) / .6)}.text-muted-foreground\/65{color:hsl(var(--muted-foreground) / .65)}.text-muted-foreground\/70{color:hsl(var(--muted-foreground) / .7)}.text-muted-foreground\/75{color:hsl(var(--muted-foreground) / .75)}.text-muted-foreground\/80{color:hsl(var(--muted-foreground) / .8)}.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity, 1))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-purple-400{--tw-text-opacity: 1;color:rgb(192 132 252 / var(--tw-text-opacity, 1))}.text-purple-500{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity, 1))}.text-purple-600{--tw-text-opacity: 1;color:rgb(147 51 234 / var(--tw-text-opacity, 1))}.text-purple-700{--tw-text-opacity: 1;color:rgb(126 34 206 / var(--tw-text-opacity, 1))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.text-red-900{--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity, 1))}.text-teal-500{--tw-text-opacity: 1;color:rgb(20 184 166 / var(--tw-text-opacity, 1))}.text-teal-600{--tw-text-opacity: 1;color:rgb(13 148 136 / var(--tw-text-opacity, 1))}.text-violet-500{--tw-text-opacity: 1;color:rgb(139 92 246 / var(--tw-text-opacity, 1))}.text-violet-600{--tw-text-opacity: 1;color:rgb(124 58 237 / var(--tw-text-opacity, 1))}.text-violet-700{--tw-text-opacity: 1;color:rgb(109 40 217 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity, 1))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity, 1))}.text-yellow-500\/80{color:#eab308cc}.underline{text-decoration-line:underline}.line-through{text-decoration-line:line-through}.underline-offset-2{text-underline-offset:2px}.placeholder-\[hsl\(var\(--muted-foreground\)\)\]::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder-\[hsl\(var\(--muted-foreground\)\)\]::placeholder{color:hsl(var(--muted-foreground))}.placeholder-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.caret-\[6px\]{caret-color:6px}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-25{opacity:.25}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-primary\/40{--tw-ring-color: hsl(var(--primary) / .4)}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-lg{--tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / .04)) drop-shadow(0 4px 3px rgb(0 0 0 / .1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition-\[grid-template-rows\]{transition-property:grid-template-rows;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[height\]{transition-property:height;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.touch-manipulation{touch-action:manipulation}.safe-area-inset-bottom{padding-bottom:env(safe-area-inset-bottom)}.\[word-break\:break-word\]{word-break:break-word}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.animate-shimmer{animation:shimmer 2s ease-in-out infinite}body{margin:0;font-family:IBM Plex Mono,monospace;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:hsl(var(--background));color:hsl(var(--foreground));overflow:hidden;position:fixed;width:100%;height:100%;-webkit-overflow-scrolling:touch}html{overflow:hidden;position:fixed;width:100%;height:100%}code{font-family:IBM Plex Mono,monospace;color:var(--code-foreground)}button:focus,button:focus-visible{outline:none;box-shadow:none}.scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}.scrollbar-hide::-webkit-scrollbar{display:none}.markdown-content{max-width:100%;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word}.markdown-content h1{font-size:1.875rem;font-weight:700;margin-top:1.5rem;margin-bottom:1rem;line-height:1.2}.markdown-content h2{font-size:1.5rem;font-weight:600;margin-top:1.5rem;margin-bottom:.75rem;line-height:1.3}.markdown-content h3{font-size:1.25rem;font-weight:600;margin-top:1.25rem;margin-bottom:.5rem;line-height:1.4}.markdown-content h4{font-size:1.125rem;font-weight:600;margin-top:1rem;margin-bottom:.5rem;line-height:1.4}.markdown-content p{margin-top:.75rem;margin-bottom:.75rem}.markdown-content ul,.markdown-content ol{margin-top:.75rem;margin-bottom:.75rem;padding-left:1.5rem}.markdown-content li{margin-top:.25rem;margin-bottom:.25rem}.markdown-content pre{background-color:var(--code-background);border:1px solid hsl(var(--border));border-radius:.5rem;padding:1rem;margin-top:.75rem;margin-bottom:.75rem;overflow-x:auto;color:var(--code-foreground);max-width:100%}.markdown-content code{background-color:var(--code-background);border:1px solid hsl(var(--border));border-radius:.25rem;padding:.125rem .375rem;font-size:.875rem;color:var(--code-foreground);word-break:break-all}.markdown-content pre code{background-color:transparent;border:none;padding:0;font-size:.875rem;color:inherit;word-break:normal;overflow-wrap:normal}.markdown-content blockquote{border-left:4px solid hsl(var(--border));padding-left:1rem;margin-top:.75rem;margin-bottom:.75rem;color:hsl(var(--muted-foreground));font-style:italic}.markdown-content a{color:hsl(var(--primary));text-decoration:underline;word-break:break-word}.markdown-content a:hover{color:hsl(var(--primary) / .85)}.markdown-content strong,.markdown-content b{font-weight:600}.markdown-content em,.markdown-content i{font-style:italic}.markdown-content hr{border:none;border-top:1px solid hsl(var(--border));margin-top:1.5rem;margin-bottom:1.5rem}.markdown-content table{border-collapse:collapse;margin-top:.75rem;margin-bottom:.75rem}.markdown-content th,.markdown-content td{border:1px solid hsl(var(--border));padding:.5rem;text-align:left;word-break:break-word}.markdown-content th{background-color:hsl(var(--muted));font-weight:600}.markdown-content>*:first-child{margin-top:0}.markdown-content>*:last-child{margin-bottom:0}.markdown-content>p:first-child,.markdown-content>ul:first-child,.markdown-content>ol:first-child,.markdown-content>pre:first-child,.markdown-content>blockquote:first-child{margin-top:0}.markdown-content>p:last-child,.markdown-content>ul:last-child,.markdown-content>ol:last-child,.markdown-content>pre:last-child,.markdown-content>blockquote:last-child{margin-bottom:0}.research-messages .markdown-content{font-size:.8125rem;line-height:1.5}.research-messages .markdown-content h1{font-size:1.25rem;margin-top:1rem;margin-bottom:.5rem}.research-messages .markdown-content h2{font-size:1.125rem;margin-top:.875rem;margin-bottom:.375rem}.research-messages .markdown-content h3{font-size:1rem;margin-top:.75rem;margin-bottom:.25rem}.research-messages .markdown-content pre{padding:.625rem;font-size:.75rem}.research-messages .markdown-content code{font-size:.75rem;padding:.0625rem .25rem}.code-with-line-numbers{counter-reset:line-number}.code-with-line-numbers .code-line{counter-increment:line-number;display:flex!important;align-items:flex-start}.code-with-line-numbers .code-line:before{content:counter(line-number);min-width:3em;padding-right:1em;text-align:right;color:hsl(var(--muted-foreground) / .5);font-size:.7rem;flex-shrink:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.last\:border-0:last-child{border-width:0px}.last\:border-b-0:last-child{border-bottom-width:0px}.focus-within\:border-primary\/60:focus-within{border-color:hsl(var(--primary) / .6)}.focus-within\:border-slate-400:focus-within{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity, 1))}.focus-within\:border-teal-500\/60:focus-within{border-color:#14b8a699}.focus-within\:ring-1:focus-within{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-within\:ring-primary\/40:focus-within{--tw-ring-color: hsl(var(--primary) / .4)}.focus-within\:ring-slate-300:focus-within{--tw-ring-opacity: 1;--tw-ring-color: rgb(203 213 225 / var(--tw-ring-opacity, 1))}.focus-within\:ring-teal-500\/40:focus-within{--tw-ring-color: rgb(20 184 166 / .4)}.hover\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-border\/80:hover{border-color:hsl(var(--border) / .8)}.hover\:border-foreground\/30:hover{border-color:hsl(var(--foreground) / .3)}.hover\:border-foreground\/40:hover{border-color:hsl(var(--foreground) / .4)}.hover\:bg-\[hsl\(var\(--accent\)\)\]:hover,.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-accent\/50:hover{background-color:hsl(var(--accent) / .5)}.hover\:bg-amber-700:hover{--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity, 1))}.hover\:bg-background\/50:hover{background-color:hsl(var(--background) / .5)}.hover\:bg-black\/80:hover{background-color:#000c}.hover\:bg-destructive\/10:hover{background-color:hsl(var(--destructive) / .1)}.hover\:bg-destructive\/20:hover{background-color:hsl(var(--destructive) / .2)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-emerald-500\/20:hover{background-color:#10b98133}.hover\:bg-foreground\/90:hover{background-color:hsl(var(--foreground) / .9)}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-muted\/20:hover{background-color:hsl(var(--muted) / .2)}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted) / .5)}.hover\:bg-muted\/60:hover{background-color:hsl(var(--muted) / .6)}.hover\:bg-muted\/80:hover{background-color:hsl(var(--muted) / .8)}.hover\:bg-primary\/20:hover{background-color:hsl(var(--primary) / .2)}.hover\:bg-primary\/30:hover{background-color:hsl(var(--primary) / .3)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.hover\:bg-teal-500\/10:hover{background-color:#14b8a61a}.hover\:bg-teal-600:hover{--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity, 1))}.hover\:bg-violet-500\/10:hover{background-color:#8b5cf61a}.hover\:bg-violet-700:hover{--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity, 1))}.hover\:bg-white\/20:hover{background-color:#fff3}.hover\:text-amber-600:hover{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity, 1))}.hover\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.hover\:text-cyan-600:hover{--tw-text-opacity: 1;color:rgb(8 145 178 / var(--tw-text-opacity, 1))}.hover\:text-destructive\/80:hover{color:hsl(var(--destructive) / .8)}.hover\:text-emerald-600:hover{--tw-text-opacity: 1;color:rgb(5 150 105 / var(--tw-text-opacity, 1))}.hover\:text-foreground:hover{color:hsl(var(--foreground))}.hover\:text-foreground\/80:hover{color:hsl(var(--foreground) / .8)}.hover\:text-green-600\/80:hover{color:#16a34acc}.hover\:text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\:text-primary:hover{color:hsl(var(--primary))}.hover\:text-purple-600:hover{--tw-text-opacity: 1;color:rgb(147 51 234 / var(--tw-text-opacity, 1))}.hover\:text-red-400:hover{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.hover\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.hover\:text-teal-500:hover{--tw-text-opacity: 1;color:rgb(20 184 166 / var(--tw-text-opacity, 1))}.hover\:text-yellow-300:hover{--tw-text-opacity: 1;color:rgb(253 224 71 / var(--tw-text-opacity, 1))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-80:hover{opacity:.8}.hover\:ring-2:hover{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.hover\:ring-primary\/50:hover{--tw-ring-color: hsl(var(--primary) / .5)}.focus\:border-foreground\/30:focus{border-color:hsl(var(--foreground) / .3)}.focus\:border-foreground\/40:focus{border-color:hsl(var(--foreground) / .4)}.focus\:border-ring:focus{border-color:hsl(var(--ring))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-0:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-1:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-\[hsl\(var\(--ring\)\)\]:focus{--tw-ring-color: hsl(var(--ring))}.focus\:ring-primary:focus{--tw-ring-color: hsl(var(--primary))}.focus\:ring-primary\/50:focus{--tw-ring-color: hsl(var(--primary) / .5)}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.active\:bg-background\/70:active{background-color:hsl(var(--background) / .7)}.active\:bg-primary\/50:active{background-color:hsl(var(--primary) / .5)}.active\:bg-primary\/80:active{background-color:hsl(var(--primary) / .8)}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:bg-black\/10{background-color:#0000001a}.group\/code:hover .group-hover\/code\:opacity-100,.group:hover .group-hover\:opacity-100{opacity:1}.group:hover .group-hover\:opacity-80{opacity:.8}.dark\:border-amber-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(146 64 14 / var(--tw-border-opacity, 1))}.dark\:border-blue-500\/20:is(.dark *){border-color:#3b82f633}.dark\:border-red-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity, 1))}.dark\:border-slate-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity, 1))}.dark\:border-violet-500\/20:is(.dark *){border-color:#8b5cf633}.dark\:bg-amber-950\/30:is(.dark *){background-color:#451a034d}.dark\:bg-background:is(.dark *){background-color:hsl(var(--background))}.dark\:bg-blue-500\/5:is(.dark *){background-color:#3b82f60d}.dark\:bg-emerald-500\/10:is(.dark *){background-color:#10b9811a}.dark\:bg-orange-950\/20:is(.dark *){background-color:#43140733}.dark\:bg-red-900\/20:is(.dark *){background-color:#7f1d1d33}.dark\:bg-red-950\/20:is(.dark *){background-color:#450a0a33}.dark\:bg-slate-900\/40:is(.dark *){background-color:#0f172a66}.dark\:bg-violet-500\/10:is(.dark *){background-color:#8b5cf61a}.dark\:bg-violet-500\/5:is(.dark *){background-color:#8b5cf60d}.dark\:text-amber-200:is(.dark *){--tw-text-opacity: 1;color:rgb(253 230 138 / var(--tw-text-opacity, 1))}.dark\:text-amber-300:is(.dark *){--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity, 1))}.dark\:text-amber-400:is(.dark *){--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.dark\:text-blue-300:is(.dark *){--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity, 1))}.dark\:text-blue-400:is(.dark *){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.dark\:text-cyan-300:is(.dark *){--tw-text-opacity: 1;color:rgb(103 232 249 / var(--tw-text-opacity, 1))}.dark\:text-emerald-300:is(.dark *){--tw-text-opacity: 1;color:rgb(110 231 183 / var(--tw-text-opacity, 1))}.dark\:text-emerald-400:is(.dark *){--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity, 1))}.dark\:text-foreground\/80:is(.dark *){color:hsl(var(--foreground) / .8)}.dark\:text-green-400:is(.dark *){--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity, 1))}.dark\:text-green-500:is(.dark *){--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.dark\:text-green-500\/40:is(.dark *){color:#22c55e66}.dark\:text-green-500\/60:is(.dark *){color:#22c55e99}.dark\:text-indigo-300:is(.dark *){--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity, 1))}.dark\:text-purple-300:is(.dark *){--tw-text-opacity: 1;color:rgb(216 180 254 / var(--tw-text-opacity, 1))}.dark\:text-red-200:is(.dark *){--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity, 1))}.dark\:text-red-300:is(.dark *){--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity, 1))}.dark\:text-red-400:is(.dark *){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.dark\:text-red-500:is(.dark *){--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.dark\:text-teal-300:is(.dark *){--tw-text-opacity: 1;color:rgb(94 234 212 / var(--tw-text-opacity, 1))}.dark\:text-teal-400:is(.dark *){--tw-text-opacity: 1;color:rgb(45 212 191 / var(--tw-text-opacity, 1))}.dark\:text-violet-300:is(.dark *){--tw-text-opacity: 1;color:rgb(196 181 253 / var(--tw-text-opacity, 1))}.dark\:text-violet-400:is(.dark *){--tw-text-opacity: 1;color:rgb(167 139 250 / var(--tw-text-opacity, 1))}.dark\:focus-within\:border-slate-600:focus-within:is(.dark *){--tw-border-opacity: 1;border-color:rgb(71 85 105 / var(--tw-border-opacity, 1))}.dark\:focus-within\:ring-slate-700:focus-within:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(51 65 85 / var(--tw-ring-opacity, 1))}.dark\:hover\:text-amber-200:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(253 230 138 / var(--tw-text-opacity, 1))}.dark\:hover\:text-blue-200:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(191 219 254 / var(--tw-text-opacity, 1))}.dark\:hover\:text-cyan-200:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(165 243 252 / var(--tw-text-opacity, 1))}.dark\:hover\:text-emerald-200:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(167 243 208 / var(--tw-text-opacity, 1))}.dark\:hover\:text-green-500\/80:hover:is(.dark *){color:#22c55ecc}.dark\:hover\:text-purple-200:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(233 213 255 / var(--tw-text-opacity, 1))}.dark\:hover\:text-red-200:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity, 1))}@media(min-width:640px){.sm\:col-span-2{grid-column:span 2 / span 2}.sm\:block{display:block}.sm\:inline{display:inline}.sm\:flex{display:flex}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:gap-8{gap:2rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:pt-10{padding-top:2.5rem}.sm\:pt-8{padding-top:2rem}.sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}}@media(min-width:768px){.md\:relative{position:relative}.md\:col-span-2{grid-column:span 2 / span 2}.md\:block{display:block}.md\:inline{display:inline}.md\:flex{display:flex}.md\:hidden{display:none}.md\:h-auto{height:auto}.md\:w-12{width:3rem}.md\:w-auto{width:auto}.md\:max-w-2xl{max-width:42rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:gap-4{gap:1rem}.md\:gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.md\:px-4{padding-left:1rem;padding-right:1rem}.md\:pb-6{padding-bottom:1.5rem}.md\:pl-3{padding-left:.75rem}.md\:pr-4{padding-right:1rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}}@media(min-width:1024px){.lg\:px-12{padding-left:3rem;padding-right:3rem}.lg\:pt-12{padding-top:3rem}.lg\:pt-14{padding-top:3.5rem}.lg\:text-4xl{font-size:2.25rem;line-height:2.5rem}}.\[\&\>\*\:first-child\]\:mt-0>*:first-child{margin-top:0}.\[\&\>\*\:last-child\]\:mb-0>*:last-child{margin-bottom:0}.\[\&_\*\]\:\[word-break\:break-word\] *{word-break:break-word}