monoverse 0.0.1

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,249 @@
1
+ import{a as G,b as bt,d as Ue}from"/build/_shared/chunk-G5WX4PPA.js";var dn=bt(A=>{"use strict";var nt=Symbol.for("react.element"),Wa=Symbol.for("react.portal"),Ja=Symbol.for("react.fragment"),Ka=Symbol.for("react.strict_mode"),Ya=Symbol.for("react.profiler"),Xa=Symbol.for("react.provider"),Ga=Symbol.for("react.context"),qa=Symbol.for("react.forward_ref"),Qa=Symbol.for("react.suspense"),Za=Symbol.for("react.memo"),eo=Symbol.for("react.lazy"),en=Symbol.iterator;function to(e){return e===null||typeof e!="object"?null:(e=en&&e[en]||e["@@iterator"],typeof e=="function"?e:null)}var nn={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},an=Object.assign,on={};function $e(e,t,r){this.props=e,this.context=t,this.refs=on,this.updater=r||nn}$e.prototype.isReactComponent={};$e.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};$e.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ln(){}ln.prototype=$e.prototype;function nr(e,t,r){this.props=e,this.context=t,this.refs=on,this.updater=r||nn}var ar=nr.prototype=new ln;ar.constructor=nr;an(ar,$e.prototype);ar.isPureReactComponent=!0;var tn=Array.isArray,sn=Object.prototype.hasOwnProperty,or={current:null},un={key:!0,ref:!0,__self:!0,__source:!0};function cn(e,t,r){var n,a={},o=null,i=null;if(t!=null)for(n in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)sn.call(t,n)&&!un.hasOwnProperty(n)&&(a[n]=t[n]);var l=arguments.length-2;if(l===1)a.children=r;else if(1<l){for(var s=Array(l),u=0;u<l;u++)s[u]=arguments[u+2];a.children=s}if(e&&e.defaultProps)for(n in l=e.defaultProps,l)a[n]===void 0&&(a[n]=l[n]);return{$$typeof:nt,type:e,key:o,ref:i,props:a,_owner:or.current}}function ro(e,t){return{$$typeof:nt,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function ir(e){return typeof e=="object"&&e!==null&&e.$$typeof===nt}function no(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var rn=/\/+/g;function rr(e,t){return typeof e=="object"&&e!==null&&e.key!=null?no(""+e.key):t.toString(36)}function xt(e,t,r,n,a){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case nt:case Wa:i=!0}}if(i)return i=e,a=a(i),e=n===""?"."+rr(i,0):n,tn(a)?(r="",e!=null&&(r=e.replace(rn,"$&/")+"/"),xt(a,t,r,"",function(u){return u})):a!=null&&(ir(a)&&(a=ro(a,r+(!a.key||i&&i.key===a.key?"":(""+a.key).replace(rn,"$&/")+"/")+e)),t.push(a)),1;if(i=0,n=n===""?".":n+":",tn(e))for(var l=0;l<e.length;l++){o=e[l];var s=n+rr(o,l);i+=xt(o,t,r,s,a)}else if(s=to(e),typeof s=="function")for(e=s.call(e),l=0;!(o=e.next()).done;)o=o.value,s=n+rr(o,l++),i+=xt(o,t,r,s,a);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function St(e,t,r){if(e==null)return e;var n=[],a=0;return xt(e,n,"","",function(o){return t.call(r,o,a++)}),n}function ao(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var q={current:null},_t={transition:null},oo={ReactCurrentDispatcher:q,ReactCurrentBatchConfig:_t,ReactCurrentOwner:or};A.Children={map:St,forEach:function(e,t,r){St(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return St(e,function(){t++}),t},toArray:function(e){return St(e,function(t){return t})||[]},only:function(e){if(!ir(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};A.Component=$e;A.Fragment=Ja;A.Profiler=Ya;A.PureComponent=nr;A.StrictMode=Ka;A.Suspense=Qa;A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oo;A.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=an({},e.props),a=e.key,o=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,i=or.current),t.key!==void 0&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)sn.call(t,s)&&!un.hasOwnProperty(s)&&(n[s]=t[s]===void 0&&l!==void 0?l[s]:t[s])}var s=arguments.length-2;if(s===1)n.children=r;else if(1<s){l=Array(s);for(var u=0;u<s;u++)l[u]=arguments[u+2];n.children=l}return{$$typeof:nt,type:e.type,key:a,ref:o,props:n,_owner:i}};A.createContext=function(e){return e={$$typeof:Ga,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Xa,_context:e},e.Consumer=e};A.createElement=cn;A.createFactory=function(e){var t=cn.bind(null,e);return t.type=e,t};A.createRef=function(){return{current:null}};A.forwardRef=function(e){return{$$typeof:qa,render:e}};A.isValidElement=ir;A.lazy=function(e){return{$$typeof:eo,_payload:{_status:-1,_result:e},_init:ao}};A.memo=function(e,t){return{$$typeof:Za,type:e,compare:t===void 0?null:t}};A.startTransition=function(e){var t=_t.transition;_t.transition={};try{e()}finally{_t.transition=t}};A.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};A.useCallback=function(e,t){return q.current.useCallback(e,t)};A.useContext=function(e){return q.current.useContext(e)};A.useDebugValue=function(){};A.useDeferredValue=function(e){return q.current.useDeferredValue(e)};A.useEffect=function(e,t){return q.current.useEffect(e,t)};A.useId=function(){return q.current.useId()};A.useImperativeHandle=function(e,t,r){return q.current.useImperativeHandle(e,t,r)};A.useInsertionEffect=function(e,t){return q.current.useInsertionEffect(e,t)};A.useLayoutEffect=function(e,t){return q.current.useLayoutEffect(e,t)};A.useMemo=function(e,t){return q.current.useMemo(e,t)};A.useReducer=function(e,t,r){return q.current.useReducer(e,t,r)};A.useRef=function(e){return q.current.useRef(e)};A.useState=function(e){return q.current.useState(e)};A.useSyncExternalStore=function(e,t,r){return q.current.useSyncExternalStore(e,t,r)};A.useTransition=function(){return q.current.useTransition()};A.version="18.2.0"});var Re=bt((yl,fn)=>{"use strict";fn.exports=dn()});function H(){return H=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},H.apply(this,arguments)}function Cn(e){e===void 0&&(e={});function t(n,a){let{pathname:o,search:i,hash:l}=n.location;return st("",{pathname:o,search:i,hash:l},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function r(n,a){return typeof a=="string"?a:he(a)}return lo(t,r,null,e)}function L(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Je(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function io(){return Math.random().toString(36).substr(2,8)}function mn(e,t){return{usr:e.state,key:e.key,idx:t}}function st(e,t,r,n){return r===void 0&&(r=null),H({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ee(t):t,{state:r,key:t&&t.key||n||io()})}function he(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function ee(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function lo(e,t,r,n){n===void 0&&(n={});let{window:a=document.defaultView,v5Compat:o=!1}=n,i=a.history,l=V.Pop,s=null,u=c();u==null&&(u=0,i.replaceState(H({},i.state,{idx:u}),""));function c(){return(i.state||{idx:null}).idx}function h(){l=V.Pop;let b=c(),_=b==null?null:b-u;u=b,s&&s({action:l,location:E.location,delta:_})}function p(b,_){l=V.Push;let O=st(E.location,b,_);r&&r(O,b),u=c()+1;let F=mn(O,u),m=E.createHref(O);try{i.pushState(F,"",m)}catch(U){if(U instanceof DOMException&&U.name==="DataCloneError")throw U;a.location.assign(m)}o&&s&&s({action:l,location:E.location,delta:1})}function w(b,_){l=V.Replace;let O=st(E.location,b,_);r&&r(O,b),u=c();let F=mn(O,u),m=E.createHref(O);i.replaceState(F,"",m),o&&s&&s({action:l,location:E.location,delta:0})}function g(b){let _=a.location.origin!=="null"?a.location.origin:a.location.href,O=typeof b=="string"?b:he(b);return L(_,"No window.location.(origin|href) available to create URL for href: "+O),new URL(O,_)}let E={get action(){return l},get location(){return e(a,i)},listen(b){if(s)throw new Error("A history only accepts one active listener");return a.addEventListener(hn,h),s=b,()=>{a.removeEventListener(hn,h),s=null}},createHref(b){return t(a,b)},createURL:g,encodeLocation(b){let _=g(b);return{pathname:_.pathname,search:_.search,hash:_.hash}},push:p,replace:w,go(b){return i.go(b)}};return E}function uo(e){return e.index===!0}function ur(e,t,r,n){return r===void 0&&(r=[]),n===void 0&&(n={}),e.map((a,o)=>{let i=[...r,o],l=typeof a.id=="string"?a.id:i.join("-");if(L(a.index!==!0||!a.children,"Cannot specify children on an index route"),L(!n[l],'Found a route id collision on id "'+l+`". Route id's must be globally unique within Data Router usages`),uo(a)){let s=H({},a,t(a),{id:l});return n[l]=s,s}else{let s=H({},a,t(a),{id:l,children:void 0});return n[l]=s,a.children&&(s.children=ur(a.children,t,i,n)),s}})}function ie(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?ee(t):t,a=Ee(n.pathname||"/",r);if(a==null)return null;let o=Dn(e);co(o);let i=null;for(let l=0;i==null&&l<o.length;++l)i=Eo(o[l],bo(a));return i}function Dn(e,t,r,n){t===void 0&&(t=[]),r===void 0&&(r=[]),n===void 0&&(n="");let a=(o,i,l)=>{let s={relativePath:l===void 0?o.path||"":l,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};s.relativePath.startsWith("/")&&(L(s.relativePath.startsWith(n),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(n.length));let u=ue([n,s.relativePath]),c=r.concat(s);o.children&&o.children.length>0&&(L(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Dn(o.children,t,c,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:go(u,o.index),routesMeta:c})};return e.forEach((o,i)=>{var l;if(o.path===""||!((l=o.path)!=null&&l.includes("?")))a(o,i);else for(let s of Pn(o.path))a(o,i,s)}),t}function Pn(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,a=r.endsWith("?"),o=r.replace(/\?$/,"");if(n.length===0)return a?[o,""]:[o];let i=Pn(n.join("/")),l=[];return l.push(...i.map(s=>s===""?o:[o,s].join("/"))),a&&l.push(...i),l.map(s=>e.startsWith("/")&&s===""?"/":s)}function co(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:Ro(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}function go(e,t){let r=e.split("/"),n=r.length;return r.some(pn)&&(n+=vo),t&&(n+=mo),r.filter(a=>!pn(a)).reduce((a,o)=>a+(fo.test(o)?ho:o===""?po:yo),n)}function Ro(e,t){return e.length===t.length&&e.slice(0,-1).every((n,a)=>n===t[a])?e[e.length-1]-t[t.length-1]:0}function Eo(e,t){let{routesMeta:r}=e,n={},a="/",o=[];for(let i=0;i<r.length;++i){let l=r[i],s=i===r.length-1,u=a==="/"?t:t.slice(a.length)||"/",c=Pt({path:l.relativePath,caseSensitive:l.caseSensitive,end:s},u);if(!c)return null;Object.assign(n,c.params);let h=l.route;o.push({params:n,pathname:ue([a,c.pathname]),pathnameBase:_o(ue([a,c.pathnameBase])),route:h}),c.pathnameBase!=="/"&&(a=ue([a,c.pathnameBase]))}return o}function Pt(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=wo(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let o=a[0],i=o.replace(/(.)\/+$/,"$1"),l=a.slice(1);return{params:n.reduce((u,c,h)=>{if(c==="*"){let p=l[h]||"";i=o.slice(0,o.length-p.length).replace(/(.)\/+$/,"$1")}return u[c]=So(l[h]||"",c),u},{}),pathname:o,pathnameBase:i,pattern:e}}function wo(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),Je(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(i,l)=>(n.push(l),"/([^\\/]+)"));return e.endsWith("*")?(n.push("*"),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),n]}function bo(e){try{return decodeURI(e)}catch(t){return Je(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function So(e,t){try{return decodeURIComponent(e)}catch(r){return Je(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+r+").")),e}}function Ee(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function hr(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:a=""}=typeof e=="string"?ee(e):e;return{pathname:r?r.startsWith("/")?r:xo(r,t):t,search:No(n),hash:Co(a)}}function xo(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?r.length>1&&r.pop():a!=="."&&r.push(a)}),r.length>1?r.join("/"):"/"}function lr(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function ut(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function Lt(e,t,r,n){n===void 0&&(n=!1);let a;typeof e=="string"?a=ee(e):(a=H({},e),L(!a.pathname||!a.pathname.includes("?"),lr("?","pathname","search",a)),L(!a.pathname||!a.pathname.includes("#"),lr("#","pathname","hash",a)),L(!a.search||!a.search.includes("#"),lr("#","search","hash",a)));let o=e===""||a.pathname==="",i=o?"/":a.pathname,l;if(n||i==null)l=r;else{let h=t.length-1;if(i.startsWith("..")){let p=i.split("/");for(;p[0]==="..";)p.shift(),h-=1;a.pathname=p.join("/")}l=h>=0?t[h]:"/"}let s=hr(a,l),u=i&&i!=="/"&&i.endsWith("/"),c=(o||i===".")&&r.endsWith("/");return!s.pathname.endsWith("/")&&(u||c)&&(s.pathname+="/"),s}function Do(e){return e instanceof Promise&&e._tracked===!0}function Po(e){if(!Do(e))return e;if(e._error)throw e._error;return e._data}function me(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function mr(e){let t=e.window?e.window:typeof window<"u"?window:void 0,r=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",n=!r;L(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let a;if(e.mapRouteProperties)a=e.mapRouteProperties;else if(e.detectErrorBoundary){let d=e.detectErrorBoundary;a=f=>({hasErrorBoundary:d(f)})}else a=ko;let o={},i=ur(e.routes,a,void 0,o),l,s=e.basename||"/",u=H({v7_normalizeFormMethod:!1,v7_prependBasename:!1},e.future),c=null,h=new Set,p=null,w=null,g=null,E=e.hydrationData!=null,b=ie(i,e.history.location,s),_=null;if(b==null){let d=oe(404,{pathname:e.history.location.pathname}),{matches:f,route:y}=Sn(i);b=f,_={[y.id]:d}}let O=!b.some(d=>d.route.lazy)&&(!b.some(d=>d.route.loader)||e.hydrationData!=null),F,m={historyAction:e.history.action,location:e.history.location,matches:b,initialized:O,navigation:sr,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||_,fetchers:new Map,blockers:new Map},U=V.Pop,T=!1,I,te=!1,le=!1,Le=[],Qe=[],z=new Map,$r=0,Kt=-1,Ie=new Map,Oe=new Set,Be=new Map,Ae=new Map,Fe=new Map,Yt=!1;function Oa(){return c=e.history.listen(d=>{let{action:f,location:y,delta:S}=d;if(Yt){Yt=!1;return}Je(Fe.size===0||S!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let P=Gr({currentLocation:m.location,nextLocation:y,historyAction:f});if(P&&S!=null){Yt=!0,e.history.go(S*-1),gt(P,{state:"blocked",location:y,proceed(){gt(P,{state:"proceeding",proceed:void 0,reset:void 0,location:y}),e.history.go(S)},reset(){let C=new Map(m.blockers);C.set(P,Ve),X({blockers:C})}});return}return xe(f,y)}),m.initialized||xe(V.Pop,m.location),F}function Aa(){c&&c(),h.clear(),I&&I.abort(),m.fetchers.forEach((d,f)=>Gt(f)),m.blockers.forEach((d,f)=>Xr(f))}function Fa(d){return h.add(d),()=>h.delete(d)}function X(d){m=H({},m,d),h.forEach(f=>f(m))}function Ze(d,f){var y,S;let P=m.actionData!=null&&m.navigation.formMethod!=null&&se(m.navigation.formMethod)&&m.navigation.state==="loading"&&((y=d.state)==null?void 0:y._isRedirect)!==!0,C;f.actionData?Object.keys(f.actionData).length>0?C=f.actionData:C=null:P?C=m.actionData:C=null;let D=f.loaderData?bn(m.loaderData,f.loaderData,f.matches||[],f.errors):m.loaderData,N=m.blockers;N.size>0&&(N=new Map(N),N.forEach((B,k)=>N.set(k,Ve)));let x=T===!0||m.navigation.formMethod!=null&&se(m.navigation.formMethod)&&((S=d.state)==null?void 0:S._isRedirect)!==!0;l&&(i=l,l=void 0),te||U===V.Pop||(U===V.Push?e.history.push(d,d.state):U===V.Replace&&e.history.replace(d,d.state)),X(H({},f,{actionData:C,loaderData:D,historyAction:U,location:d,initialized:!0,navigation:sr,revalidation:"idle",restoreScrollPosition:Qr(d,f.matches||m.matches),preventScrollReset:x,blockers:N})),U=V.Pop,T=!1,te=!1,le=!1,Le=[],Qe=[]}async function Vr(d,f){if(typeof d=="number"){e.history.go(d);return}let y=cr(m.location,m.matches,s,u.v7_prependBasename,d,f?.fromRouteId,f?.relative),{path:S,submission:P,error:C}=yn(u.v7_normalizeFormMethod,!1,y,f),D=m.location,N=st(m.location,S,f&&f.state);N=H({},N,e.history.encodeLocation(N));let x=f&&f.replace!=null?f.replace:void 0,B=V.Push;x===!0?B=V.Replace:x===!1||P!=null&&se(P.formMethod)&&P.formAction===m.location.pathname+m.location.search&&(B=V.Replace);let k=f&&"preventScrollReset"in f?f.preventScrollReset===!0:void 0,re=Gr({currentLocation:D,nextLocation:N,historyAction:B});if(re){gt(re,{state:"blocked",location:N,proceed(){gt(re,{state:"proceeding",proceed:void 0,reset:void 0,location:N}),Vr(d,f)},reset(){let K=new Map(m.blockers);K.set(re,Ve),X({blockers:K})}});return}return await xe(B,N,{submission:P,pendingError:C,preventScrollReset:k,replace:f&&f.replace})}function Ua(){if(Xt(),X({revalidation:"loading"}),m.navigation.state!=="submitting"){if(m.navigation.state==="idle"){xe(m.historyAction,m.location,{startUninterruptedRevalidation:!0});return}xe(U||m.historyAction,m.navigation.location,{overrideNavigation:m.navigation})}}async function xe(d,f,y){I&&I.abort(),I=null,U=d,te=(y&&y.startUninterruptedRevalidation)===!0,$a(m.location,m.matches),T=(y&&y.preventScrollReset)===!0;let S=l||i,P=y&&y.overrideNavigation,C=ie(S,f,s);if(!C){let K=oe(404,{pathname:f.pathname}),{matches:Z,route:de}=Sn(S);qt(),Ze(f,{matches:Z,loaderData:{},errors:{[de.id]:K}});return}if(m.initialized&&!le&&Ho(m.location,f)&&!(y&&y.submission&&se(y.submission.formMethod))){Ze(f,{matches:C});return}I=new AbortController;let D=ot(e.history,f,I.signal,y&&y.submission),N,x;if(y&&y.pendingError)x={[ze(C).route.id]:y.pendingError};else if(y&&y.submission&&se(y.submission.formMethod)){let K=await Ma(D,f,y.submission,C,{replace:y.replace});if(K.shortCircuited)return;N=K.pendingActionData,x=K.pendingActionError,P=Nt(f,y.submission),D=new Request(D.url,{signal:D.signal})}let{shortCircuited:B,loaderData:k,errors:re}=await ka(D,f,C,P,y&&y.submission,y&&y.fetcherSubmission,y&&y.replace,N,x);B||(I=null,Ze(f,H({matches:C},N?{actionData:N}:{},{loaderData:k,errors:re})))}async function Ma(d,f,y,S,P){P===void 0&&(P={}),Xt();let C=Jo(f,y);X({navigation:C});let D,N=fr(S,f);if(!N.route.action&&!N.route.lazy)D={type:J.error,error:oe(405,{method:d.method,pathname:f.pathname,routeId:N.route.id})};else if(D=await at("action",d,N,S,o,a,s),d.signal.aborted)return{shortCircuited:!0};if(We(D)){let x;return P&&P.replace!=null?x=P.replace:x=D.location===m.location.pathname+m.location.search,await et(m,D,{submission:y,replace:x}),{shortCircuited:!0}}if(lt(D)){let x=ze(S,N.route.id);return(P&&P.replace)!==!0&&(U=V.Push),{pendingActionData:{},pendingActionError:{[x.route.id]:D.error}}}if(Me(D))throw oe(400,{type:"defer-action"});return{pendingActionData:{[N.route.id]:D.data}}}async function ka(d,f,y,S,P,C,D,N,x){let B=S||Nt(f,P),k=P||C||Nn(B),re=l||i,[K,Z]=vn(e.history,m,y,k,f,le,Le,Qe,Be,Oe,re,s,N,x);if(qt($=>!(y&&y.some(ae=>ae.route.id===$))||K&&K.some(ae=>ae.route.id===$)),K.length===0&&Z.length===0){let $=Kr();return Ze(f,H({matches:y,loaderData:{},errors:x||null},N?{actionData:N}:{},$?{fetchers:new Map(m.fetchers)}:{})),{shortCircuited:!0}}if(!te){Z.forEach(ae=>{let He=m.fetchers.get(ae.key),Y=it(void 0,He?He.data:void 0);m.fetchers.set(ae.key,Y)});let $=N||m.actionData;X(H({navigation:B},$?Object.keys($).length===0?{actionData:null}:{actionData:$}:{},Z.length>0?{fetchers:new Map(m.fetchers)}:{}))}Kt=++$r,Z.forEach($=>{z.has($.key)&&_e($.key),$.controller&&z.set($.key,$.controller)});let de=()=>Z.forEach($=>_e($.key));I&&I.signal.addEventListener("abort",de);let{results:tt,loaderResults:Qt,fetcherResults:Rt}=await Wr(m.matches,y,K,Z,d);if(d.signal.aborted)return{shortCircuited:!0};I&&I.signal.removeEventListener("abort",de),Z.forEach($=>z.delete($.key));let ge=xn(tt);if(ge)return await et(m,ge,{replace:D}),{shortCircuited:!0};let{loaderData:Et,errors:Zt}=wn(m,y,K,Qt,x,Z,Rt,Ae);Ae.forEach(($,ae)=>{$.subscribe(He=>{(He||$.done)&&Ae.delete(ae)})});let er=Kr(),tr=Yr(Kt),wt=er||tr||Z.length>0;return H({loaderData:Et,errors:Zt},wt?{fetchers:new Map(m.fetchers)}:{})}function zr(d){return m.fetchers.get(d)||Mo}function Ta(d,f,y,S){if(n)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");z.has(d)&&_e(d);let P=l||i,C=cr(m.location,m.matches,s,u.v7_prependBasename,y,f,S?.relative),D=ie(P,C,s);if(!D){vt(d,f,oe(404,{pathname:C}));return}let{path:N,submission:x,error:B}=yn(u.v7_normalizeFormMethod,!0,C,S);if(B){vt(d,f,B);return}let k=fr(D,N);if(T=(S&&S.preventScrollReset)===!0,x&&se(x.formMethod)){ja(d,f,N,k,D,x);return}Be.set(d,{routeId:f,path:N}),Ia(d,f,N,k,D,x)}async function ja(d,f,y,S,P,C){if(Xt(),Be.delete(d),!S.route.action&&!S.route.lazy){let Y=oe(405,{method:C.formMethod,pathname:y,routeId:f});vt(d,f,Y);return}let D=m.fetchers.get(d),N=Ko(C,D);m.fetchers.set(d,N),X({fetchers:new Map(m.fetchers)});let x=new AbortController,B=ot(e.history,y,x.signal,C);z.set(d,x);let k=await at("action",B,S,P,o,a,s);if(B.signal.aborted){z.get(d)===x&&z.delete(d);return}if(We(k)){z.delete(d),Oe.add(d);let Y=it(C);return m.fetchers.set(d,Y),X({fetchers:new Map(m.fetchers)}),et(m,k,{submission:C,isFetchActionRedirect:!0})}if(lt(k)){vt(d,f,k.error);return}if(Me(k))throw oe(400,{type:"defer-action"});let re=m.navigation.location||m.location,K=ot(e.history,re,x.signal),Z=l||i,de=m.navigation.state!=="idle"?ie(Z,m.navigation.location,s):m.matches;L(de,"Didn't find any matches after fetcher action");let tt=++$r;Ie.set(d,tt);let Qt=it(C,k.data);m.fetchers.set(d,Qt);let[Rt,ge]=vn(e.history,m,de,C,re,le,Le,Qe,Be,Oe,Z,s,{[S.route.id]:k.data},void 0);ge.filter(Y=>Y.key!==d).forEach(Y=>{let rt=Y.key,Zr=m.fetchers.get(rt),za=it(void 0,Zr?Zr.data:void 0);m.fetchers.set(rt,za),z.has(rt)&&_e(rt),Y.controller&&z.set(rt,Y.controller)}),X({fetchers:new Map(m.fetchers)});let Et=()=>ge.forEach(Y=>_e(Y.key));x.signal.addEventListener("abort",Et);let{results:Zt,loaderResults:er,fetcherResults:tr}=await Wr(m.matches,de,Rt,ge,K);if(x.signal.aborted)return;x.signal.removeEventListener("abort",Et),Ie.delete(d),z.delete(d),ge.forEach(Y=>z.delete(Y.key));let wt=xn(Zt);if(wt)return et(m,wt);let{loaderData:$,errors:ae}=wn(m,m.matches,Rt,er,void 0,ge,tr,Ae);if(m.fetchers.has(d)){let Y=Ct(k.data);m.fetchers.set(d,Y)}let He=Yr(tt);m.navigation.state==="loading"&&tt>Kt?(L(U,"Expected pending action"),I&&I.abort(),Ze(m.navigation.location,{matches:de,loaderData:$,errors:ae,fetchers:new Map(m.fetchers)})):(X(H({errors:ae,loaderData:bn(m.loaderData,$,de,ae)},He||ge.length>0?{fetchers:new Map(m.fetchers)}:{})),le=!1)}async function Ia(d,f,y,S,P,C){let D=m.fetchers.get(d),N=it(C,D?D.data:void 0);m.fetchers.set(d,N),X({fetchers:new Map(m.fetchers)});let x=new AbortController,B=ot(e.history,y,x.signal);z.set(d,x);let k=await at("loader",B,S,P,o,a,s);if(Me(k)&&(k=await Un(k,B.signal,!0)||k),z.get(d)===x&&z.delete(d),B.signal.aborted)return;if(We(k)){Oe.add(d),await et(m,k);return}if(lt(k)){let K=ze(m.matches,f);m.fetchers.delete(d),X({fetchers:new Map(m.fetchers),errors:{[K.route.id]:k.error}});return}L(!Me(k),"Unhandled fetcher deferred data");let re=Ct(k.data);m.fetchers.set(d,re),X({fetchers:new Map(m.fetchers)})}async function et(d,f,y){let{submission:S,replace:P,isFetchActionRedirect:C}=y===void 0?{}:y;f.revalidate&&(le=!0);let D=st(d.location,f.location,H({_isRedirect:!0},C?{_isFetchActionRedirect:!0}:{}));if(L(D,"Expected a location on the redirect navigation"),On.test(f.location)&&r){let B=e.history.createURL(f.location),k=Ee(B.pathname,s)==null;if(t.location.origin!==B.origin||k){P?t.location.replace(f.location):t.location.assign(f.location);return}}I=null;let N=P===!0?V.Replace:V.Push,x=S||Nn(d.navigation);if(Uo.has(f.status)&&x&&se(x.formMethod))await xe(N,D,{submission:H({},x,{formAction:f.location}),preventScrollReset:T});else if(C)await xe(N,D,{overrideNavigation:Nt(D),fetcherSubmission:x,preventScrollReset:T});else{let B=Nt(D,x);await xe(N,D,{overrideNavigation:B,preventScrollReset:T})}}async function Wr(d,f,y,S,P){let C=await Promise.all([...y.map(x=>at("loader",P,x,f,o,a,s)),...S.map(x=>x.matches&&x.match&&x.controller?at("loader",ot(e.history,x.path,x.controller.signal),x.match,x.matches,o,a,s):{type:J.error,error:oe(404,{pathname:x.path})})]),D=C.slice(0,y.length),N=C.slice(y.length);return await Promise.all([_n(d,y,D,D.map(()=>P.signal),!1,m.loaderData),_n(d,S.map(x=>x.match),N,S.map(x=>x.controller?x.controller.signal:null),!0)]),{results:C,loaderResults:D,fetcherResults:N}}function Xt(){le=!0,Le.push(...qt()),Be.forEach((d,f)=>{z.has(f)&&(Qe.push(f),_e(f))})}function vt(d,f,y){let S=ze(m.matches,f);Gt(d),X({errors:{[S.route.id]:y},fetchers:new Map(m.fetchers)})}function Gt(d){let f=m.fetchers.get(d);z.has(d)&&!(f&&f.state==="loading"&&Ie.has(d))&&_e(d),Be.delete(d),Ie.delete(d),Oe.delete(d),m.fetchers.delete(d)}function _e(d){let f=z.get(d);L(f,"Expected fetch controller: "+d),f.abort(),z.delete(d)}function Jr(d){for(let f of d){let y=zr(f),S=Ct(y.data);m.fetchers.set(f,S)}}function Kr(){let d=[],f=!1;for(let y of Oe){let S=m.fetchers.get(y);L(S,"Expected fetcher: "+y),S.state==="loading"&&(Oe.delete(y),d.push(y),f=!0)}return Jr(d),f}function Yr(d){let f=[];for(let[y,S]of Ie)if(S<d){let P=m.fetchers.get(y);L(P,"Expected fetcher: "+y),P.state==="loading"&&(_e(y),Ie.delete(y),f.push(y))}return Jr(f),f.length>0}function Ba(d,f){let y=m.blockers.get(d)||Ve;return Fe.get(d)!==f&&Fe.set(d,f),y}function Xr(d){m.blockers.delete(d),Fe.delete(d)}function gt(d,f){let y=m.blockers.get(d)||Ve;L(y.state==="unblocked"&&f.state==="blocked"||y.state==="blocked"&&f.state==="blocked"||y.state==="blocked"&&f.state==="proceeding"||y.state==="blocked"&&f.state==="unblocked"||y.state==="proceeding"&&f.state==="unblocked","Invalid blocker state transition: "+y.state+" -> "+f.state);let S=new Map(m.blockers);S.set(d,f),X({blockers:S})}function Gr(d){let{currentLocation:f,nextLocation:y,historyAction:S}=d;if(Fe.size===0)return;Fe.size>1&&Je(!1,"A router only supports one blocker at a time");let P=Array.from(Fe.entries()),[C,D]=P[P.length-1],N=m.blockers.get(C);if(!(N&&N.state==="proceeding")&&D({currentLocation:f,nextLocation:y,historyAction:S}))return C}function qt(d){let f=[];return Ae.forEach((y,S)=>{(!d||d(S))&&(y.cancel(),f.push(S),Ae.delete(S))}),f}function Ha(d,f,y){if(p=d,g=f,w=y||null,!E&&m.navigation===sr){E=!0;let S=Qr(m.location,m.matches);S!=null&&X({restoreScrollPosition:S})}return()=>{p=null,g=null,w=null}}function qr(d,f){return w&&w(d,f.map(S=>Wo(S,m.loaderData)))||d.key}function $a(d,f){if(p&&g){let y=qr(d,f);p[y]=g()}}function Qr(d,f){if(p){let y=qr(d,f),S=p[y];if(typeof S=="number")return S}return null}function Va(d){o={},l=ur(d,a,void 0,o)}return F={get basename(){return s},get state(){return m},get routes(){return i},initialize:Oa,subscribe:Fa,enableScrollRestoration:Ha,navigate:Vr,fetch:Ta,revalidate:Ua,createHref:d=>e.history.createHref(d),encodeLocation:d=>e.history.encodeLocation(d),getFetcher:zr,deleteFetcher:Gt,dispose:Aa,getBlocker:Ba,deleteBlocker:Xr,_internalFetchControllers:z,_internalActiveDeferreds:Ae,_internalSetRoutes:Va},F}function To(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function cr(e,t,r,n,a,o,i){let l,s;if(o!=null&&i!=="path"){l=[];for(let c of t)if(l.push(c),c.route.id===o){s=c;break}}else l=t,s=t[t.length-1];let u=Lt(a||".",ut(l).map(c=>c.pathnameBase),Ee(e.pathname,r)||e.pathname,i==="path");return a==null&&(u.search=e.search,u.hash=e.hash),(a==null||a===""||a===".")&&s&&s.route.index&&!pr(u.search)&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),n&&r!=="/"&&(u.pathname=u.pathname==="/"?r:ue([r,u.pathname])),he(u)}function yn(e,t,r,n){if(!n||!To(n))return{path:r};if(n.formMethod&&!zo(n.formMethod))return{path:r,error:oe(405,{method:n.formMethod})};let a=()=>({path:r,error:oe(400,{type:"invalid-body"})}),o=n.formMethod||"get",i=e?o.toUpperCase():o.toLowerCase(),l=Fn(r);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!se(i))return a();let p=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((w,g)=>{let[E,b]=g;return""+w+E+"="+b+`
2
+ `},""):String(n.body);return{path:r,submission:{formMethod:i,formAction:l,formEncType:n.formEncType,formData:void 0,json:void 0,text:p}}}else if(n.formEncType==="application/json"){if(!se(i))return a();try{let p=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:i,formAction:l,formEncType:n.formEncType,formData:void 0,json:p,text:void 0}}}catch{return a()}}}L(typeof FormData=="function","FormData is not available in this environment");let s,u;if(n.formData)s=dr(n.formData),u=n.formData;else if(n.body instanceof FormData)s=dr(n.body),u=n.body;else if(n.body instanceof URLSearchParams)s=n.body,u=En(s);else if(n.body==null)s=new URLSearchParams,u=new FormData;else try{s=new URLSearchParams(n.body),u=En(s)}catch{return a()}let c={formMethod:i,formAction:l,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(se(c.formMethod))return{path:r,submission:c};let h=ee(r);return t&&h.search&&pr(h.search)&&s.append("index",""),h.search="?"+s,{path:he(h),submission:c}}function jo(e,t){let r=e;if(t){let n=e.findIndex(a=>a.route.id===t);n>=0&&(r=e.slice(0,n))}return r}function vn(e,t,r,n,a,o,i,l,s,u,c,h,p,w){let g=w?Object.values(w)[0]:p?Object.values(p)[0]:void 0,E=e.createURL(t.location),b=e.createURL(a),_=w?Object.keys(w)[0]:void 0,F=jo(r,_).filter((U,T)=>{if(U.route.lazy)return!0;if(U.route.loader==null)return!1;if(Io(t.loaderData,t.matches[T],U)||i.some(le=>le===U.route.id))return!0;let I=t.matches[T],te=U;return gn(U,H({currentUrl:E,currentParams:I.params,nextUrl:b,nextParams:te.params},n,{actionResult:g,defaultShouldRevalidate:o||E.pathname+E.search===b.pathname+b.search||E.search!==b.search||An(I,te)}))}),m=[];return s.forEach((U,T)=>{if(!r.some(z=>z.route.id===U.routeId))return;let I=ie(c,U.path,h);if(!I){m.push({key:T,routeId:U.routeId,path:U.path,matches:null,match:null,controller:null});return}let te=t.fetchers.get(T),le=te&&te.state!=="idle"&&te.data===void 0&&!u.has(T),Le=fr(I,U.path);(l.includes(T)||le||gn(Le,H({currentUrl:E,currentParams:t.matches[t.matches.length-1].params,nextUrl:b,nextParams:r[r.length-1].params},n,{actionResult:g,defaultShouldRevalidate:o})))&&m.push({key:T,routeId:U.routeId,path:U.path,matches:I,match:Le,controller:new AbortController})}),[F,m]}function Io(e,t,r){let n=!t||r.route.id!==t.route.id,a=e[r.route.id]===void 0;return n||a}function An(e,t){let r=e.route.path;return e.pathname!==t.pathname||r!=null&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function gn(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if(typeof r=="boolean")return r}return t.defaultShouldRevalidate}async function Rn(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let a=r[e.id];L(a,"No route found in manifest");let o={};for(let i in n){let s=a[i]!==void 0&&i!=="hasErrorBoundary";Je(!s,'Route "'+a.id+'" has a static property "'+i+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+i+'" will be ignored.')),!s&&!so.has(i)&&(o[i]=n[i])}Object.assign(a,o),Object.assign(a,H({},t(a),{lazy:void 0}))}async function at(e,t,r,n,a,o,i,l){l===void 0&&(l={});let s,u,c,h=g=>{let E,b=new Promise((_,O)=>E=O);return c=()=>E(),t.signal.addEventListener("abort",c),Promise.race([g({request:t,params:r.params,context:l.requestContext}),b])};try{let g=r.route[e];if(r.route.lazy)if(g)u=(await Promise.all([h(g),Rn(r.route,o,a)]))[0];else if(await Rn(r.route,o,a),g=r.route[e],g)u=await h(g);else if(e==="action"){let E=new URL(t.url),b=E.pathname+E.search;throw oe(405,{method:t.method,pathname:b,routeId:r.route.id})}else return{type:J.data,data:void 0};else if(g)u=await h(g);else{let E=new URL(t.url),b=E.pathname+E.search;throw oe(404,{pathname:b})}L(u!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+r.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(g){s=J.error,u=g}finally{c&&t.signal.removeEventListener("abort",c)}if(Vo(u)){let g=u.status;if(Fo.has(g)){let _=u.headers.get("Location");if(L(_,"Redirects returned/thrown from loaders/actions must have a Location header"),!On.test(_))_=cr(new URL(t.url),n.slice(0,n.indexOf(r)+1),i,!0,_);else if(!l.isStaticRequest){let O=new URL(t.url),F=_.startsWith("//")?new URL(O.protocol+_):new URL(_),m=Ee(F.pathname,i)!=null;F.origin===O.origin&&m&&(_=F.pathname+F.search+F.hash)}if(l.isStaticRequest)throw u.headers.set("Location",_),u;return{type:J.redirect,status:g,location:_,revalidate:u.headers.get("X-Remix-Revalidate")!==null}}if(l.isRouteRequest)throw{type:s||J.data,response:u};let E,b=u.headers.get("Content-Type");return b&&/\bapplication\/json\b/.test(b)?E=await u.json():E=await u.text(),s===J.error?{type:s,error:new Ne(g,u.statusText,E),headers:u.headers}:{type:J.data,data:E,statusCode:u.status,headers:u.headers}}if(s===J.error)return{type:s,error:u};if($o(u)){var p,w;return{type:J.deferred,deferredData:u,statusCode:(p=u.init)==null?void 0:p.status,headers:((w=u.init)==null?void 0:w.headers)&&new Headers(u.init.headers)}}return{type:J.data,data:u}}function ot(e,t,r,n){let a=e.createURL(Fn(t)).toString(),o={signal:r};if(n&&se(n.formMethod)){let{formMethod:i,formEncType:l}=n;o.method=i.toUpperCase(),l==="application/json"?(o.headers=new Headers({"Content-Type":l}),o.body=JSON.stringify(n.json)):l==="text/plain"?o.body=n.text:l==="application/x-www-form-urlencoded"&&n.formData?o.body=dr(n.formData):o.body=n.formData}return new Request(a,o)}function dr(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,typeof n=="string"?n:n.name);return t}function En(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function Bo(e,t,r,n,a){let o={},i=null,l,s=!1,u={};return r.forEach((c,h)=>{let p=t[h].route.id;if(L(!We(c),"Cannot handle redirect results in processLoaderData"),lt(c)){let w=ze(e,p),g=c.error;n&&(g=Object.values(n)[0],n=void 0),i=i||{},i[w.route.id]==null&&(i[w.route.id]=g),o[p]=void 0,s||(s=!0,l=me(c.error)?c.error.status:500),c.headers&&(u[p]=c.headers)}else Me(c)?(a.set(p,c.deferredData),o[p]=c.deferredData.data):o[p]=c.data,c.statusCode!=null&&c.statusCode!==200&&!s&&(l=c.statusCode),c.headers&&(u[p]=c.headers)}),n&&(i=n,o[Object.keys(n)[0]]=void 0),{loaderData:o,errors:i,statusCode:l||200,loaderHeaders:u}}function wn(e,t,r,n,a,o,i,l){let{loaderData:s,errors:u}=Bo(t,r,n,a,l);for(let c=0;c<o.length;c++){let{key:h,match:p,controller:w}=o[c];L(i!==void 0&&i[c]!==void 0,"Did not find corresponding fetcher result");let g=i[c];if(!(w&&w.signal.aborted))if(lt(g)){let E=ze(e.matches,p?.route.id);u&&u[E.route.id]||(u=H({},u,{[E.route.id]:g.error})),e.fetchers.delete(h)}else if(We(g))L(!1,"Unhandled fetcher revalidation redirect");else if(Me(g))L(!1,"Unhandled fetcher deferred data");else{let E=Ct(g.data);e.fetchers.set(h,E)}}return{loaderData:s,errors:u}}function bn(e,t,r,n){let a=H({},t);for(let o of r){let i=o.route.id;if(t.hasOwnProperty(i)?t[i]!==void 0&&(a[i]=t[i]):e[i]!==void 0&&o.route.loader&&(a[i]=e[i]),n&&n.hasOwnProperty(i))break}return a}function ze(e,t){return(t?e.slice(0,e.findIndex(n=>n.route.id===t)+1):[...e]).reverse().find(n=>n.route.hasErrorBoundary===!0)||e[0]}function Sn(e){let t=e.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function oe(e,t){let{pathname:r,routeId:n,method:a,type:o}=t===void 0?{}:t,i="Unknown Server Error",l="Unknown @remix-run/router error";return e===400?(i="Bad Request",a&&r&&n?l="You made a "+a+' request to "'+r+'" but '+('did not provide a `loader` for route "'+n+'", ')+"so there is no way to handle the request.":o==="defer-action"?l="defer() is not supported in actions":o==="invalid-body"&&(l="Unable to encode submission body")):e===403?(i="Forbidden",l='Route "'+n+'" does not match URL "'+r+'"'):e===404?(i="Not Found",l='No route matches URL "'+r+'"'):e===405&&(i="Method Not Allowed",a&&r&&n?l="You made a "+a.toUpperCase()+' request to "'+r+'" but '+('did not provide an `action` for route "'+n+'", ')+"so there is no way to handle the request.":a&&(l='Invalid request method "'+a.toUpperCase()+'"')),new Ne(e||500,i,new Error(l),!0)}function xn(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(We(r))return r}}function Fn(e){let t=typeof e=="string"?ee(e):e;return he(H({},t,{hash:""}))}function Ho(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function Me(e){return e.type===J.deferred}function lt(e){return e.type===J.error}function We(e){return(e&&e.type)===J.redirect}function $o(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function Vo(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function zo(e){return Ao.has(e.toLowerCase())}function se(e){return Lo.has(e.toLowerCase())}async function _n(e,t,r,n,a,o){for(let i=0;i<r.length;i++){let l=r[i],s=t[i];if(!s)continue;let u=e.find(h=>h.route.id===s.route.id),c=u!=null&&!An(u,s)&&(o&&o[s.route.id])!==void 0;if(Me(l)&&(a||c)){let h=n[i];L(h,"Expected an AbortSignal for revalidating fetcher deferred result"),await Un(l,h,a).then(p=>{p&&(r[i]=p||r[i])})}}}async function Un(e,t,r){if(r===void 0&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:J.data,data:e.deferredData.unwrappedData}}catch(a){return{type:J.error,error:a}}return{type:J.data,data:e.deferredData.data}}}function pr(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Wo(e,t){let{route:r,pathname:n,params:a}=e;return{id:r.id,pathname:n,params:a,data:t[r.id],handle:r.handle}}function fr(e,t){let r=typeof t=="string"?ee(t).search:t.search;if(e[e.length-1].route.index&&pr(r||""))return e[e.length-1];let n=ut(e);return n[n.length-1]}function Nn(e){let{formMethod:t,formAction:r,formEncType:n,text:a,formData:o,json:i}=e;if(!(!t||!r||!n)){if(a!=null)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:a};if(o!=null)return{formMethod:t,formAction:r,formEncType:n,formData:o,json:void 0,text:void 0};if(i!==void 0)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:i,text:void 0}}}function Nt(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Jo(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function it(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t," _hasFetcherDoneAnything ":!0}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t," _hasFetcherDoneAnything ":!0}}function Ko(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0," _hasFetcherDoneAnything ":!0}}function Ct(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e," _hasFetcherDoneAnything ":!0}}var V,hn,J,so,fo,ho,mo,po,yo,vo,pn,ue,_o,No,Co,fe,Dt,Ot,Ne,Ln,Lo,Oo,Ao,Fo,Uo,sr,Mo,Ve,On,ko,vl,Ke=G(()=>{(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(V||(V={}));hn="popstate";(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(J||(J={}));so=new Set(["lazy","caseSensitive","path","id","index","children"]);fo=/^:\w+$/,ho=3,mo=2,po=1,yo=10,vo=-2,pn=e=>e==="*";ue=e=>e.join("/").replace(/\/\/+/g,"/"),_o=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),No=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Co=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,fe=class extends Error{},Dt=class{constructor(t,r){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],L(t&&typeof t=="object"&&!Array.isArray(t),"defer() only accepts plain objects");let n;this.abortPromise=new Promise((o,i)=>n=i),this.controller=new AbortController;let a=()=>n(new fe("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",a),this.controller.signal.addEventListener("abort",a),this.data=Object.entries(t).reduce((o,i)=>{let[l,s]=i;return Object.assign(o,{[l]:this.trackPromise(l,s)})},{}),this.done&&this.unlistenAbortSignal(),this.init=r}trackPromise(t,r){if(!(r instanceof Promise))return r;this.deferredKeys.push(t),this.pendingKeysSet.add(t);let n=Promise.race([r,this.abortPromise]).then(a=>this.onSettle(n,t,null,a),a=>this.onSettle(n,t,a));return n.catch(()=>{}),Object.defineProperty(n,"_tracked",{get:()=>!0}),n}onSettle(t,r,n,a){return this.controller.signal.aborted&&n instanceof fe?(this.unlistenAbortSignal(),Object.defineProperty(t,"_error",{get:()=>n}),Promise.reject(n)):(this.pendingKeysSet.delete(r),this.done&&this.unlistenAbortSignal(),n?(Object.defineProperty(t,"_error",{get:()=>n}),this.emit(!1,r),Promise.reject(n)):(Object.defineProperty(t,"_data",{get:()=>a}),this.emit(!1,r),a))}emit(t,r){this.subscribers.forEach(n=>n(t,r))}subscribe(t){return this.subscribers.add(t),()=>this.subscribers.delete(t)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((t,r)=>this.pendingKeysSet.delete(r)),this.emit(!0)}async resolveData(t){let r=!1;if(!this.done){let n=()=>this.cancel();t.addEventListener("abort",n),r=await new Promise(a=>{this.subscribe(o=>{t.removeEventListener("abort",n),(o||this.done)&&a(o)})})}return r}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return L(this.data!==null&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((t,r)=>{let[n,a]=r;return Object.assign(t,{[n]:Po(a)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}};Ot=function(t,r){r===void 0&&(r=302);let n=r;typeof n=="number"?n={status:n}:typeof n.status>"u"&&(n.status=302);let a=new Headers(n.headers);return a.set("Location",t),new Response(null,H({},n,{headers:a}))},Ne=class{constructor(t,r,n,a){a===void 0&&(a=!1),this.status=t,this.statusText=r||"",this.internal=a,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};Ln=["post","put","patch","delete"],Lo=new Set(Ln),Oo=["get",...Ln],Ao=new Set(Oo),Fo=new Set([301,302,303,307,308]),Uo=new Set([307,308]),sr={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Mo={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ve={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},On=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ko=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)});vl=Symbol("deferred")});function At(){return At=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},At.apply(this,arguments)}function ke(e,t){let{relative:r}=t===void 0?{}:t;Ye()||L(!1);let{basename:n,navigator:a}=R.useContext(pe),{hash:o,pathname:i,search:l}=Xe(e,{relative:r}),s=i;return n!=="/"&&(s=i==="/"?n:ue([n,i])),a.createHref({pathname:s,search:l,hash:o})}function Ye(){return R.useContext(ct)!=null}function Q(){return Ye()||L(!1),R.useContext(ct).location}function Tn(e){R.useContext(pe).static||R.useLayoutEffect(e)}function Ut(){let{isDataRoute:e}=R.useContext(ye);return e?ii():qo()}function qo(){Ye()||L(!1);let e=R.useContext(be),{basename:t,navigator:r}=R.useContext(pe),{matches:n}=R.useContext(ye),{pathname:a}=Q(),o=JSON.stringify(ut(n).map(s=>s.pathnameBase)),i=R.useRef(!1);return Tn(()=>{i.current=!0}),R.useCallback(function(s,u){if(u===void 0&&(u={}),!i.current)return;if(typeof s=="number"){r.go(s);return}let c=Lt(s,JSON.parse(o),a,u.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:ue([t,c.pathname])),(u.replace?r.replace:r.push)(c,u.state,u)},[t,r,o,a,e])}function Rr(e){let t=R.useContext(ye).outlet;return t&&R.createElement(Qo.Provider,{value:e},t)}function Xe(e,t){let{relative:r}=t===void 0?{}:t,{matches:n}=R.useContext(ye),{pathname:a}=Q(),o=JSON.stringify(ut(n).map(i=>i.pathnameBase));return R.useMemo(()=>Lt(e,JSON.parse(o),a,r==="path"),[e,o,a,r])}function Zo(e,t,r){Ye()||L(!1);let{navigator:n}=R.useContext(pe),{matches:a}=R.useContext(ye),o=a[a.length-1],i=o?o.params:{},l=o?o.pathname:"/",s=o?o.pathnameBase:"/",u=o&&o.route,c=Q(),h;if(t){var p;let _=typeof t=="string"?ee(t):t;s==="/"||(p=_.pathname)!=null&&p.startsWith(s)||L(!1),h=_}else h=c;let w=h.pathname||"/",g=s==="/"?w:w.slice(s.length)||"/",E=ie(e,{pathname:g}),b=ni(E&&E.map(_=>Object.assign({},_,{params:Object.assign({},i,_.params),pathname:ue([s,n.encodeLocation?n.encodeLocation(_.pathname).pathname:_.pathname]),pathnameBase:_.pathnameBase==="/"?s:ue([s,n.encodeLocation?n.encodeLocation(_.pathnameBase).pathname:_.pathnameBase])})),a,r);return t&&b?R.createElement(ct.Provider,{value:{location:At({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:V.Pop}},b):b}function ei(){let e=Te(),t=me(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:n},o={padding:"2px 4px",backgroundColor:n};return R.createElement(R.Fragment,null,R.createElement("h2",null,"Unexpected Application Error!"),R.createElement("h3",{style:{fontStyle:"italic"}},t),r?R.createElement("pre",{style:a},r):null,null)}function ri(e){let{routeContext:t,match:r,children:n}=e,a=R.useContext(be);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),R.createElement(ye.Provider,{value:t},n)}function ni(e,t,r){var n;if(t===void 0&&(t=[]),r===void 0&&(r=null),e==null){var a;if((a=r)!=null&&a.errors)e=r.matches;else return null}let o=e,i=(n=r)==null?void 0:n.errors;if(i!=null){let l=o.findIndex(s=>s.route.id&&i?.[s.route.id]);l>=0||L(!1),o=o.slice(0,Math.min(o.length,l+1))}return o.reduceRight((l,s,u)=>{let c=s.route.id?i?.[s.route.id]:null,h=null;r&&(h=s.route.errorElement||ti);let p=t.concat(o.slice(0,u+1)),w=()=>{let g;return c?g=h:s.route.Component?g=R.createElement(s.route.Component,null):s.route.element?g=s.route.element:g=l,R.createElement(ri,{match:s,routeContext:{outlet:l,matches:p,isDataRoute:r!=null},children:g})};return r&&(s.route.ErrorBoundary||s.route.errorElement||u===0)?R.createElement(yr,{location:r.location,revalidation:r.revalidation,component:h,error:c,children:w(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):w()},null)}function ai(e){let t=R.useContext(be);return t||L(!1),t}function Mt(e){let t=R.useContext(Ce);return t||L(!1),t}function oi(e){let t=R.useContext(ye);return t||L(!1),t}function Er(e){let t=oi(e),r=t.matches[t.matches.length-1];return r.route.id||L(!1),r.route.id}function Ge(){return Mt(we.UseNavigation).navigation}function dt(){let{matches:e,loaderData:t}=Mt(we.UseMatches);return R.useMemo(()=>e.map(r=>{let{pathname:n,params:a}=r;return{id:r.route.id,pathname:n,params:a,data:t[r.route.id],handle:r.route.handle}}),[e,t])}function wr(){let e=Mt(we.UseLoaderData),t=Er(we.UseLoaderData);if(e.errors&&e.errors[t]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")");return}return e.loaderData[t]}function Te(){var e;let t=R.useContext(kn),r=Mt(we.UseRouteError),n=Er(we.UseRouteError);return t||((e=r.errors)==null?void 0:e[n])}function br(){let e=R.useContext(Ft);return e?._data}function kt(){let e=R.useContext(Ft);return e?._error}function ii(){let{router:e}=ai(vr.UseNavigateStable),t=Er(we.UseNavigateStable),r=R.useRef(!1);return Tn(()=>{r.current=!0}),R.useCallback(function(a,o){o===void 0&&(o={}),r.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,At({fromRouteId:t},o)))},[e,t])}function Sr(e){let{fallbackElement:t,router:r,future:n}=e,[a,o]=R.useState(r.state),{v7_startTransition:i}=n||{},l=R.useCallback(h=>{i&&Mn?Mn(()=>o(h)):o(h)},[o,i]);R.useLayoutEffect(()=>r.subscribe(l),[r,l]);let s=R.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:h=>r.navigate(h),push:(h,p,w)=>r.navigate(h,{state:p,preventScrollReset:w?.preventScrollReset}),replace:(h,p,w)=>r.navigate(h,{replace:!0,state:p,preventScrollReset:w?.preventScrollReset})}),[r]),u=r.basename||"/",c=R.useMemo(()=>({router:r,navigator:s,static:!1,basename:u}),[r,s,u]);return R.createElement(R.Fragment,null,R.createElement(be.Provider,{value:c},R.createElement(Ce.Provider,{value:a},R.createElement(xr,{basename:u,location:a.location,navigationType:a.historyAction,navigator:s},a.initialized?R.createElement(si,{routes:r.routes,state:a}):t))),null)}function si(e){let{routes:t,state:r}=e;return Zo(t,void 0,r)}function Tt(e){return Rr(e.context)}function xr(e){let{basename:t="/",children:r=null,location:n,navigationType:a=V.Pop,navigator:o,static:i=!1}=e;Ye()&&L(!1);let l=t.replace(/^\/*/,"/"),s=R.useMemo(()=>({basename:l,navigator:o,static:i}),[l,o,i]);typeof n=="string"&&(n=ee(n));let{pathname:u="/",search:c="",hash:h="",state:p=null,key:w="default"}=n,g=R.useMemo(()=>{let E=Ee(u,l);return E==null?null:{location:{pathname:E,search:c,hash:h,state:p,key:w},navigationType:a}},[l,u,c,h,p,w,a]);return g==null?null:R.createElement(pe.Provider,{value:s},R.createElement(ct.Provider,{children:r,value:g}))}function _r(e){let{children:t,errorElement:r,resolve:n}=e;return R.createElement(gr,{resolve:n,errorElement:r},R.createElement(ci,null,t))}function ci(e){let{children:t}=e,r=br(),n=typeof t=="function"?t(r):t;return R.createElement(R.Fragment,null,n)}function jn(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:R.createElement(e.Component),Component:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:R.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}var R,be,Ce,Ft,pe,ct,ye,kn,Qo,ti,yr,vr,we,li,Mn,ne,ui,gr,Nr=G(()=>{R=Ue(Re());Ke();Ke();be=R.createContext(null),Ce=R.createContext(null),Ft=R.createContext(null),pe=R.createContext(null),ct=R.createContext(null),ye=R.createContext({outlet:null,matches:[],isDataRoute:!1}),kn=R.createContext(null);Qo=R.createContext(null);ti=R.createElement(ei,null),yr=class extends R.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error?R.createElement(ye.Provider,{value:this.props.routeContext},R.createElement(kn.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"})(vr||(vr={}));(function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"})(we||(we={}));li="startTransition",Mn=R[li];(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(ne||(ne={}));ui=new Promise(()=>{}),gr=class extends R.Component{constructor(t){super(t),this.state={error:null}}static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t,r){console.error("<Await> caught the following error during render",t,r)}render(){let{children:t,errorElement:r,resolve:n}=this.props,a=null,o=ne.pending;if(!(n instanceof Promise))o=ne.success,a=Promise.resolve(),Object.defineProperty(a,"_tracked",{get:()=>!0}),Object.defineProperty(a,"_data",{get:()=>n});else if(this.state.error){o=ne.error;let i=this.state.error;a=Promise.reject().catch(()=>{}),Object.defineProperty(a,"_tracked",{get:()=>!0}),Object.defineProperty(a,"_error",{get:()=>i})}else n._tracked?(a=n,o=a._error!==void 0?ne.error:a._data!==void 0?ne.success:ne.pending):(o=ne.pending,Object.defineProperty(n,"_tracked",{get:()=>!0}),a=n.then(i=>Object.defineProperty(n,"_data",{get:()=>i}),i=>Object.defineProperty(n,"_error",{get:()=>i})));if(o===ne.error&&a._error instanceof fe)throw ui;if(o===ne.error&&!r)throw a._error;if(o===ne.error)return R.createElement(Ft.Provider,{value:a,children:r});if(o===ne.success)return R.createElement(Ft.Provider,{value:a,children:t});throw a}}});function je(){return je=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},je.apply(this,arguments)}function Hn(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o<n.length;o++)a=n[o],!(t.indexOf(a)>=0)&&(r[a]=e[a]);return r}function Ei(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function wi(e,t){return e.button===0&&(!t||t==="_self")&&!Ei(e)}function $n(e,t){return mr({basename:t?.basename,future:je({},t?.future,{v7_prependBasename:!0}),history:Cn({window:t?.window}),hydrationData:t?.hydrationData||xi(),routes:e,mapRouteProperties:jn}).initialize()}function xi(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=je({},t,{errors:_i(t.errors)})),t}function _i(e){if(!e)return null;let t=Object.entries(e),r={};for(let[n,a]of t)if(a&&a.__type==="RouteErrorResponse")r[n]=new Ne(a.status,a.statusText,a.data,a.internal===!0);else if(a&&a.__type==="Error"){let o=new Error(a.message);o.stack="",r[n]=o}else r[n]=a;return r}function Pi(e){let t=j.useContext(be);return t||L(!1),t}function Li(e){let t=j.useContext(Ce);return t||L(!1),t}function Oi(e,t){let{target:r,replace:n,state:a,preventScrollReset:o,relative:i}=t===void 0?{}:t,l=Ut(),s=Q(),u=Xe(e,{relative:i});return j.useCallback(c=>{if(wi(c,r)){c.preventDefault();let h=n!==void 0?n:he(s)===he(u);l(e,{replace:h,state:a,preventScrollReset:o,relative:i})}},[s,l,u,n,a,r,e,o,i])}function zn(e){let{getKey:t,storageKey:r}=e===void 0?{}:e,{router:n}=Pi(Cr.UseScrollRestoration),{restoreScrollPosition:a,preventScrollReset:o}=Li(Dr.UseScrollRestoration),{basename:i}=j.useContext(pe),l=Q(),s=dt(),u=Ge();j.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),Ai(j.useCallback(()=>{if(u.state==="idle"){let c=(t?t(l,s):null)||l.key;jt[c]=window.scrollY}sessionStorage.setItem(r||In,JSON.stringify(jt)),window.history.scrollRestoration="auto"},[r,t,u.state,l,s])),typeof document<"u"&&(j.useLayoutEffect(()=>{try{let c=sessionStorage.getItem(r||In);c&&(jt=JSON.parse(c))}catch{}},[r]),j.useLayoutEffect(()=>{let c=t&&i!=="/"?(p,w)=>t(je({},p,{pathname:Ee(p.pathname,i)||p.pathname}),w):t,h=n?.enableScrollRestoration(jt,()=>window.scrollY,c);return()=>h&&h()},[n,i,t]),j.useLayoutEffect(()=>{if(a!==!1){if(typeof a=="number"){window.scrollTo(0,a);return}if(l.hash){let c=document.getElementById(l.hash.slice(1));if(c){c.scrollIntoView();return}}o!==!0&&window.scrollTo(0,0)}},[l,a,o]))}function Ai(e,t){let{capture:r}=t||{};j.useEffect(()=>{let n=r!=null?{capture:r}:void 0;return window.addEventListener("pagehide",e,n),()=>{window.removeEventListener("pagehide",e,n)}},[e,r])}var j,bi,Si,Ni,Ml,Ci,Di,Pr,Vn,Cr,Dr,In,jt,De=G(()=>{j=Ue(Re());Nr();Nr();Ke();bi=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],Si=["aria-current","caseSensitive","className","end","style","to","children"];Ni="startTransition",Ml=j[Ni],Ci=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Di=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Pr=j.forwardRef(function(t,r){let{onClick:n,relative:a,reloadDocument:o,replace:i,state:l,target:s,to:u,preventScrollReset:c}=t,h=Hn(t,bi),{basename:p}=j.useContext(pe),w,g=!1;if(typeof u=="string"&&Di.test(u)&&(w=u,Ci))try{let O=new URL(window.location.href),F=u.startsWith("//")?new URL(O.protocol+u):new URL(u),m=Ee(F.pathname,p);F.origin===O.origin&&m!=null?u=m+F.search+F.hash:g=!0}catch{}let E=ke(u,{relative:a}),b=Oi(u,{replace:i,state:l,target:s,preventScrollReset:c,relative:a});function _(O){n&&n(O),O.defaultPrevented||b(O)}return j.createElement("a",je({},h,{href:w||E,onClick:g||o?n:_,ref:r,target:s}))}),Vn=j.forwardRef(function(t,r){let{"aria-current":n="page",caseSensitive:a=!1,className:o="",end:i=!1,style:l,to:s,children:u}=t,c=Hn(t,Si),h=Xe(s,{relative:c.relative}),p=Q(),w=j.useContext(Ce),{navigator:g}=j.useContext(pe),E=g.encodeLocation?g.encodeLocation(h).pathname:h.pathname,b=p.pathname,_=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;a||(b=b.toLowerCase(),_=_?_.toLowerCase():null,E=E.toLowerCase());let O=b===E||!i&&b.startsWith(E)&&b.charAt(E.length)==="/",F=_!=null&&(_===E||!i&&_.startsWith(E)&&_.charAt(E.length)==="/"),m=O?n:void 0,U;typeof o=="function"?U=o({isActive:O,isPending:F}):U=[o,O?"active":null,F?"pending":null].filter(Boolean).join(" ");let T=typeof l=="function"?l({isActive:O,isPending:F}):l;return j.createElement(Pr,je({},c,{"aria-current":m,className:U,ref:r,style:T,to:s}),typeof u=="function"?u({isActive:O,isPending:F}):u)});(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(Cr||(Cr={}));(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Dr||(Dr={}));In="react-router-scroll-positions",jt={}});function W(){return W=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},W.apply(this,arguments)}var Lr=G(()=>{});function qe({error:e}){return M.default.useEffect(()=>{console.error(e)},[e]),M.default.createElement("html",{lang:"en"},M.default.createElement("head",null,M.default.createElement("meta",{charSet:"utf-8"}),M.default.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1, viewport-fit=cover"}),M.default.createElement("title",null,"Application Error!")),M.default.createElement("body",null,M.default.createElement("main",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem"}},M.default.createElement("h1",{style:{fontSize:"24px"}},"Application Error"),e.stack?M.default.createElement("pre",{style:{padding:"2rem",background:"hsla(10, 50%, 50%, 0.1)",color:"red",overflow:"auto"}},e.stack):null),M.default.createElement("script",{dangerouslySetInnerHTML:{__html:`
3
+ console.log(
4
+ "\u{1F4BF} Hey developer\u{1F44B}. You can provide a way better UX than this when your app throws errors. Check out https://remix.run/guides/errors for more information."
5
+ );
6
+ `}})))}function Wn(){let e=Te();if(me(e))return M.default.createElement(Xn,{caught:e});if(e instanceof Error)return M.default.createElement(qe,{error:e});{let t=e==null?"Unknown Error":typeof e=="object"&&"toString"in e?e.toString():JSON.stringify(e);return M.default.createElement(qe,{error:new Error(t)})}}function Fi(){return(0,M.useContext)(Jn)}function Kn({catch:e,component:t,children:r}){return e?M.default.createElement(Jn.Provider,{value:e},M.default.createElement(t,null)):M.default.createElement(M.default.Fragment,null,r)}function Yn(){let e=Fi();return M.default.createElement(Xn,{caught:e})}function Xn({caught:e}){return M.default.createElement("html",{lang:"en"},M.default.createElement("head",null,M.default.createElement("meta",{charSet:"utf-8"}),M.default.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1, viewport-fit=cover"}),M.default.createElement("title",null,"Unhandled Thrown Response!")),M.default.createElement("body",null,M.default.createElement("h1",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem"}},e.status," ",e.statusText),M.default.createElement("script",{dangerouslySetInnerHTML:{__html:`
7
+ console.log(
8
+ "\u{1F4BF} Hey developer\u{1F44B}. You can provide a way better UX than this when your app throws 404s (and other responses). Check out https://remix.run/guides/not-found for more information."
9
+ );
10
+ `}})))}var M,It,Jn,Or=G(()=>{M=Ue(Re());De();It=class extends M.default.Component{constructor(t){super(t),this.state={error:t.error||null,location:t.location}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location?{error:t.error||null,location:t.location}:{error:t.error||r.error,location:r.location}}render(){return this.state.error?M.default.createElement(this.props.component,{error:this.state.error}):this.props.children}};Jn=M.default.createContext(void 0)});function ce(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}var Ar=G(()=>{});async function Bt(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch{return window.location.reload(),new Promise(()=>{})}}var Fr=G(()=>{});function Gn(e,t,r){let n=e.map(o=>{var i;let l=t[o.route.id];return((i=l.links)===null||i===void 0?void 0:i.call(l))||[]}).flat(1),a=ki(e,r);return Ti(n,a)}async function qn(e){if(!e.links)return;let t=e.links();if(!t)return;let r=[];for(let a of t)!Ht(a)&&a.rel==="stylesheet"&&r.push({...a,rel:"preload",as:"style"});let n=r.filter(a=>!a.media||window.matchMedia(a.media).matches);await Promise.all(n.map(Ui))}async function Ui(e){return new Promise(t=>{let r=document.createElement("link");Object.assign(r,e);function n(){document.head.contains(r)&&document.head.removeChild(r)}r.onload=()=>{n(),t()},r.onerror=()=>{n(),t()},document.head.appendChild(r)})}function Ht(e){return e!=null&&typeof e.page=="string"}function Mi(e){return e==null?!1:e.href==null?e.rel==="preload"&&(typeof e.imageSrcSet=="string"||typeof e.imagesrcset=="string")&&(typeof e.imageSizes=="string"||typeof e.imagesizes=="string"):typeof e.rel=="string"&&typeof e.href=="string"}async function Qn(e,t,r){return(await Promise.all(e.map(async a=>{let o=await Bt(t.routes[a.route.id],r);return o.links?o.links():[]}))).flat(1).filter(Mi).filter(a=>a.rel==="stylesheet"||a.rel==="preload").map(a=>a.rel==="preload"?{...a,rel:"prefetch"}:{...a,rel:"prefetch",as:"style"})}function Ur(e,t,r,n,a,o){let i=ta(e),l=(c,h)=>r[h]?c.route.id!==r[h].route.id:!0,s=(c,h)=>{var p;return r[h].pathname!==c.pathname||((p=r[h].route.path)===null||p===void 0?void 0:p.endsWith("*"))&&r[h].params["*"]!==c.params["*"]};return o==="data"&&a.search!==i.search?t.filter((c,h)=>{if(!n.routes[c.route.id].hasLoader)return!1;if(l(c,h)||s(c,h))return!0;if(c.route.shouldRevalidate){var w;let g=c.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:((w=r[0])===null||w===void 0?void 0:w.params)||{},nextUrl:new URL(e,window.origin),nextParams:c.params,defaultShouldRevalidate:!0});if(typeof g=="boolean")return g}return!0}):t.filter((c,h)=>{let p=n.routes[c.route.id];return(o==="assets"||p.hasLoader)&&(l(c,h)||s(c,h))})}function Zn(e,t,r){let n=ta(e);return Mr(t.filter(a=>r.routes[a.route.id].hasLoader).map(a=>{let{pathname:o,search:i}=n,l=new URLSearchParams(i);return l.set("_data",a.route.id),`${o}?${l}`}))}function ea(e,t){return Mr(e.map(r=>{let n=t.routes[r.route.id],a=[n.module];return n.imports&&(a=a.concat(n.imports)),a}).flat(1))}function ki(e,t){return Mr(e.map(r=>{let n=t.routes[r.route.id],a=[n.module];return n.imports&&(a=a.concat(n.imports)),a}).flat(1))}function Mr(e){return[...new Set(e)]}function Ti(e,t){let r=new Set,n=new Set(t);return e.reduce((a,o)=>{if(!Ht(o)&&o.as==="script"&&o.href&&n.has(o.href))return a;let l=JSON.stringify(o);return r.has(l)||(r.add(l),a.push(o)),a},[])}function ta(e){let t=ee(e);return t.search===void 0&&(t.search=""),t}var kr=G(()=>{De();Fr();});function ft(e){return e.replace(Ii,t=>ji[t])}function Tr(e){return{__html:e}}var ji,Ii,ra=G(()=>{ji={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},Ii=/[&><\u2028\u2029]/g});function aa(){let e=v.useContext(be);return ce(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function mt(){let e=v.useContext(Ce);return ce(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}function ve(){let e=v.useContext(pt);return ce(e,"You must render this element inside a <Remix> element"),e}function oa({id:e}){let{routeModules:t,future:r}=ve();ce(t,`Cannot initialize 'routeModules'. This normally occurs when you have server code in your client modules.
11
+ Check this link for more details:
12
+ https://remix.run/pages/gotchas#server-code-in-client-bundles`);let{default:n,ErrorBoundary:a,CatchBoundary:o}=t[e];return!n&&(a||!r.v2_errorBoundary&&o)&&(n=Tt),ce(n,`Route "${e}" has no component! Please go add a \`default\` export in the route module file.
13
+ If you were trying to navigate or submit to a resource route, use \`<a>\` instead of \`<Link>\` or \`<Form reloadDocument>\`.`),v.createElement(n,null)}function ia({id:e}){let{future:t,routeModules:r}=ve();ce(r,`Cannot initialize 'routeModules'. This normally occurs when you have server code in your client modules.
14
+ Check this link for more details:
15
+ https://remix.run/pages/gotchas#server-code-in-client-bundles`);let n=Te(),{CatchBoundary:a,ErrorBoundary:o}=r[e];if(t.v2_errorBoundary){if(e==="root"&&(o||(o=Wn)),o)return v.createElement(o,null);throw n}if(e==="root"&&(a||(a=Yn),o||(o=qe)),me(n)){let i=n;if(i!=null&&i.error&&i.status!==404&&o)return v.createElement(o,{error:i.error});if(a)return v.createElement(Kn,{catch:n,component:a})}if(n instanceof Error&&o)return v.createElement(o,{error:n});throw n}function la(e,t){let[r,n]=v.useState(!1),[a,o]=v.useState(!1),{onFocus:i,onBlur:l,onMouseEnter:s,onMouseLeave:u,onTouchStart:c}=t,h=v.useRef(null);v.useEffect(()=>{if(e==="render"&&o(!0),e==="viewport"){let g=b=>{b.forEach(_=>{o(_.isIntersecting)})},E=new IntersectionObserver(g,{threshold:.5});return h.current&&E.observe(h.current),()=>{E.disconnect()}}},[e]);let p=()=>{e==="intent"&&n(!0)},w=()=>{e==="intent"&&(n(!1),o(!1))};return v.useEffect(()=>{if(r){let g=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(g)}}},[r]),[a,h,{onFocus:ht(i,p),onBlur:ht(l,w),onMouseEnter:ht(s,p),onMouseLeave:ht(u,w),onTouchStart:ht(c,p)}]}function ht(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function Hi(){let{manifest:e,routeModules:t}=ve(),{errors:r,matches:n}=mt(),a=r?n.slice(0,n.findIndex(i=>r[i.route.id])+1):n,o=v.useMemo(()=>Gn(a,t,e),[a,t,e]);return v.useEffect(()=>{o.some(i=>"imagesizes"in i||"imagesrcset"in i)&&void 0},[o]),v.createElement(v.Fragment,null,o.map(i=>{if(Ht(i))return v.createElement($t,W({key:i.page},i));let l=null;return"useId"in v?(i.imagesrcset&&(i.imageSrcSet=l=i.imagesrcset,delete i.imagesrcset),i.imagesizes&&(i.imageSizes=i.imagesizes,delete i.imagesizes)):(i.imageSrcSet&&(i.imagesrcset=l=i.imageSrcSet,delete i.imageSrcSet),i.imageSizes&&(i.imagesizes=i.imageSizes,delete i.imageSizes)),v.createElement("link",W({key:i.rel+(i.href||"")+(l||"")},i))}))}function $t({page:e,...t}){let{router:r}=aa(),n=v.useMemo(()=>ie(r.routes,e),[r.routes,e]);return n?v.createElement(Vi,W({page:e,matches:n},t)):(console.warn(`Tried to prefetch ${e} but no routes matched.`),null)}function $i(e){let{manifest:t,routeModules:r}=ve(),[n,a]=v.useState([]);return v.useEffect(()=>{let o=!1;return Qn(e,t,r).then(i=>{o||a(i)}),()=>{o=!0}},[e,t,r]),n}function Vi({page:e,matches:t,...r}){let n=Q(),{manifest:a}=ve(),{matches:o}=mt(),i=v.useMemo(()=>Ur(e,t,o,a,n,"data"),[e,t,o,a,n]),l=v.useMemo(()=>Ur(e,t,o,a,n,"assets"),[e,t,o,a,n]),s=v.useMemo(()=>Zn(e,i,a),[i,e,a]),u=v.useMemo(()=>ea(l,a),[l,a]),c=$i(l);return v.createElement(v.Fragment,null,s.map(h=>v.createElement("link",W({key:h,rel:"prefetch",as:"fetch",href:h},r))),u.map(h=>v.createElement("link",W({key:h,rel:"modulepreload",href:h},r))),c.map(h=>v.createElement("link",W({key:h.href},h))))}function zi(){let{routeModules:e}=ve(),{errors:t,matches:r,loaderData:n}=mt(),a=Q(),o=t?r.slice(0,r.findIndex(s=>t[s.route.id])+1):r,i={},l={};for(let s of o){let u=s.route.id,c=n[u],h=s.params,p=e[u];if(p.meta){let w=typeof p.meta=="function"?p.meta({data:c,parentsData:l,params:h,location:a}):p.meta;if(w&&Array.isArray(w))throw new Error("The route at "+s.route.path+" returns an array. This is only supported with the `v2_meta` future flag in the Remix config. Either set the flag to `true` or update the route's meta function to return an object.\n\nTo reference the v1 meta function API, see https://remix.run/route/meta");Object.assign(i,w)}l[u]=c}return v.createElement(v.Fragment,null,Object.entries(i).map(([s,u])=>{if(!u)return null;if(["charset","charSet"].includes(s))return v.createElement("meta",{key:"charSet",charSet:u});if(s==="title")return v.createElement("title",{key:"title"},String(u));let c=/^(og|music|video|article|book|profile|fb):.+$/.test(s);return[u].flat().map(h=>c?v.createElement("meta",{property:s,content:h,key:s+h}):typeof h=="string"?v.createElement("meta",{name:s,content:h,key:s+h}):v.createElement("meta",W({key:s+JSON.stringify(h)},h)))}))}function Wi(){let{routeModules:e}=ve(),{errors:t,matches:r,loaderData:n}=mt(),a=Q(),o=t?r.slice(0,r.findIndex(u=>t[u.route.id])+1):r,i=[],l=null,s=[];for(let u=0;u<o.length;u++){let c=o[u],h=c.route.id,p=n[h],w=c.params,g=e[h],E=[],b={id:h,data:p,meta:[],params:c.params,pathname:c.pathname,handle:c.route.handle,get route(){return console.warn("The meta function in "+c.route.path+" accesses the `route` property on `matches`. This is deprecated and will be removed in Remix version 2. See"),c.route}};if(s[u]=b,g!=null&&g.meta?E=typeof g.meta=="function"?g.meta({data:p,params:w,location:a,matches:s}):Array.isArray(g.meta)?[...g.meta]:g.meta:l&&(E=[...l]),E=E||[],!Array.isArray(E))throw new Error("The `v2_meta` API is enabled in the Remix config, but the route at "+c.route.path+` returns an invalid value. In v2, all route meta functions must return an array of meta objects.
16
+
17
+ To reference the v1 meta function API, see https://remix.run/route/meta`);b.meta=E,s[u]=b,i=[...E],l=i}return v.createElement(v.Fragment,null,i.flat().map(u=>{if(!u)return null;if("tagName"in u){let c=u.tagName;return delete u.tagName,Ji(c)?v.createElement(c,W({key:JSON.stringify(u)},u)):(console.warn(`A meta object uses an invalid tagName: ${c}. Expected either 'link' or 'meta'`),null)}if("title"in u)return v.createElement("title",{key:"title"},String(u.title));if("charset"in u&&(u.charSet??(u.charSet=u.charset),delete u.charset),"charSet"in u&&u.charSet!=null)return typeof u.charSet=="string"?v.createElement("meta",{key:"charSet",charSet:u.charSet}):null;if("script:ld+json"in u){let c=null;try{c=JSON.stringify(u["script:ld+json"])}catch{}return c!=null&&v.createElement("script",{key:"script:ld+json",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(u["script:ld+json"])}})}return v.createElement("meta",W({key:JSON.stringify(u)},u))}))}function Ji(e){return typeof e=="string"&&/^(meta|link)$/.test(e)}function Ki(){let{future:e}=ve();return e!=null&&e.v2_meta?v.createElement(Wi,null):v.createElement(zi,null)}function da(e){return v.createElement(_r,e)}function Yi(e){let{manifest:t,serverHandoffString:r,abortDelay:n}=ve(),{router:a,static:o,staticContext:i}=aa(),{matches:l}=mt(),s=Ge();v.useEffect(()=>{jr=!0},[]);let u=[],c=v.useMemo(()=>{var g;let E=i?`window.__remixContext = ${r};`:" ",b=i?.activeDeferreds;E+=b?["__remixContext.p = function(v,e,p,x) {"," if (typeof e !== 'undefined') {",` x=new Error("Unexpected Server Error");
18
+ x.stack=undefined;`," p=Promise.reject(x);"," } else {"," p=Promise.resolve(v);"," }"," return p;","};","__remixContext.n = function(i,k) {"," __remixContext.t = __remixContext.t || {};"," __remixContext.t[i] = __remixContext.t[i] || {};"," let p = new Promise((r, e) => {__remixContext.t[i][k] = {r:(v)=>{r(v);},e:(v)=>{e(v);}};});",typeof n=="number"?`setTimeout(() => {if(typeof p._error !== "undefined" || typeof p._data !== "undefined"){return;} __remixContext.t[i][k].e(new Error("Server timeout."))}, ${n});`:""," return p;","};","__remixContext.r = function(i,k,v,e,p,x) {"," p = __remixContext.t[i][k];"," if (typeof e !== 'undefined') {",` x=new Error("Unexpected Server Error");
19
+ x.stack=undefined;`," p.e(x);"," } else {"," p.r(v);"," }","};"].join(`
20
+ `)+Object.entries(b).map(([O,F])=>{let m=new Set(F.pendingKeys),U=F.deferredKeys.map(T=>{if(m.has(T))return u.push(v.createElement(na,{key:`${O} | ${T}`,deferredData:F,routeId:O,dataKey:T,scriptProps:e})),`${JSON.stringify(T)}:__remixContext.n(${JSON.stringify(O)}, ${JSON.stringify(T)})`;{let I=F.data[T];if(typeof I._error<"u"){let te={message:"Unexpected Server Error",stack:void 0};return`${JSON.stringify(T)}:__remixContext.p(!1, ${ft(JSON.stringify(te))})`}else{if(typeof I._data>"u")throw new Error(`The deferred data for ${T} was not resolved, did you forget to return data from a deferred promise?`);return`${JSON.stringify(T)}:__remixContext.p(${ft(JSON.stringify(I._data))})`}}}).join(`,
21
+ `);return`Object.assign(__remixContext.state.loaderData[${JSON.stringify(O)}], {${U}});`}).join(`
22
+ `)+(u.length>0?`__remixContext.a=${u.length};`:""):"";let _=o?`${(g=t.hmr)!==null&&g!==void 0&&g.runtime?`import ${JSON.stringify(t.hmr.runtime)};`:""}import ${JSON.stringify(t.url)};
23
+ ${l.map((O,F)=>`import * as route${F} from ${JSON.stringify(t.routes[O.route.id].module)};`).join(`
24
+ `)}
25
+ window.__remixRouteModules = {${l.map((O,F)=>`${JSON.stringify(O.route.id)}:route${F}`).join(",")}};
26
+
27
+ import(${JSON.stringify(t.entry.module)});`:" ";return v.createElement(v.Fragment,null,v.createElement("script",W({},e,{suppressHydrationWarning:!0,dangerouslySetInnerHTML:Tr(E),type:void 0})),v.createElement("script",W({},e,{suppressHydrationWarning:!0,dangerouslySetInnerHTML:Tr(_),type:"module",async:!0})))},[]);if(!o&&typeof __remixContext=="object"&&__remixContext.a)for(let g=0;g<__remixContext.a;g++)u.push(v.createElement(na,{key:g,scriptProps:e}));let h=v.useMemo(()=>{if(s.location){let g=ie(a.routes,s.location);return ce(g,`No routes match path "${s.location.pathname}"`),g}return[]},[s.location,a.routes]),p=l.concat(h).map(g=>{let E=t.routes[g.route.id];return(E.imports||[]).concat([E.module])}).flat(1),w=jr?[]:t.entry.imports.concat(p);return jr?null:v.createElement(v.Fragment,null,v.createElement("link",{rel:"modulepreload",href:t.entry.module,crossOrigin:e.crossOrigin}),Gi(w).map(g=>v.createElement("link",{key:g,rel:"modulepreload",href:g,crossOrigin:e.crossOrigin})),c,u)}function na({dataKey:e,deferredData:t,routeId:r,scriptProps:n}){return typeof document>"u"&&t&&e&&r&&ce(t.pendingKeys.includes(e),`Deferred data for route ${r} with key ${e} was not pending but tried to render a script for it.`),v.createElement(v.Suspense,{fallback:typeof document>"u"&&t&&e&&r?null:v.createElement("script",W({},n,{async:!0,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:" "}}))},typeof document>"u"&&t&&e&&r?v.createElement(da,{resolve:t.data[e],errorElement:v.createElement(Xi,{dataKey:e,routeId:r,scriptProps:n}),children:a=>v.createElement("script",W({},n,{async:!0,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`__remixContext.r(${JSON.stringify(r)}, ${JSON.stringify(e)}, ${ft(JSON.stringify(a))});`}}))}):v.createElement("script",W({},n,{async:!0,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:" "}})))}function Xi({dataKey:e,routeId:t,scriptProps:r}){let n=kt(),a={message:"Unexpected Server Error",stack:void 0};return v.createElement("script",W({},r,{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`__remixContext.r(${JSON.stringify(t)}, ${JSON.stringify(e)}, !1, ${ft(JSON.stringify(a))});`}}))}function Gi(e){return[...new Set(e)]}function Ir(){let{routeModules:e}=ve(),t=dt();return v.useMemo(()=>t.map(r=>({id:r.id,pathname:r.pathname,params:r.params,data:r.data,handle:e[r.id].handle})),[t,e])}function qi(){return wr()}function fa(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var v,pt,sa,ua,ca,Bi,jr,Qi,yt=G(()=>{Lr();v=Ue(Re());De();Or();Ar();kr();ra();pt=v.createContext(void 0);pt.displayName="Remix";sa=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ua=v.forwardRef(({to:e,prefetch:t="none",...r},n)=>{let a=typeof e=="string"&&sa.test(e),o=ke(e),[i,l,s]=la(t,r);return v.createElement(v.Fragment,null,v.createElement(Vn,W({},r,s,{ref:fa(n,l),to:e})),i&&!a?v.createElement($t,{page:o}):null)});ua.displayName="NavLink";ca=v.forwardRef(({to:e,prefetch:t="none",...r},n)=>{let a=typeof e=="string"&&sa.test(e),o=ke(e),[i,l,s]=la(t,r);return v.createElement(v.Fragment,null,v.createElement(Pr,W({},r,s,{ref:fa(n,l),to:e})),i&&!a?v.createElement($t,{page:o}):null)});ca.displayName="Link";Bi="\u26A0\uFE0F REMIX FUTURE CHANGE: The behavior of links `imagesizes` and `imagesrcset` will be changing in v2. Only the React camel case versions will be valid. Please change to `imageSizes` and `imageSrcSet`. For instructions on making this change see https://remix.run/docs/en/v1.15.0/pages/v2#links-imagesizes-and-imagesrcset";jr=!1;Qi=()=>null});function ha(e){if(!e)return null;let t=Object.entries(e),r={};for(let[n,a]of t)if(a&&a.__type==="RouteErrorResponse")r[n]=new Ne(a.status,a.statusText,a.data,a.internal===!0);else if(a&&a.__type==="Error"){let o=new Error(a.message);o.stack=a.stack,r[n]=o}else r[n]=a;return r}var ma=G(()=>{Ke();});function ya(e){return e.headers.get("X-Remix-Catch")!=null}function Zi(e){return e.headers.get("X-Remix-Error")!=null}function va(e){return e.headers.get("X-Remix-Redirect")!=null}function ga(e){var t;return!!((t=e.headers.get("Content-Type"))!==null&&t!==void 0&&t.match(/text\/remix-deferred/))}async function Br(e,t,r=0){let n=new URL(e.url);n.searchParams.set("_data",t);let a={signal:e.signal};if(e.method!=="GET"){a.method=e.method;let l=e.headers.get("Content-Type");l&&/\bapplication\/json\b/.test(l)?(a.headers={"Content-Type":l},a.body=JSON.stringify(await e.json())):l&&/\btext\/plain\b/.test(l)?(a.headers={"Content-Type":l},a.body=await e.text()):l&&/\bapplication\/x-www-form-urlencoded\b/.test(l)?a.body=new URLSearchParams(await e.text()):a.body=await e.formData()}r>0&&await new Promise(l=>setTimeout(l,5**r*10));let o=window.__remixRevalidation,i=await fetch(n.href,a).catch(l=>{if(typeof o=="number"&&o===window.__remixRevalidation&&l?.name==="TypeError"&&r<3)return Br(e,t,r+1);throw l});if(Zi(i)){let l=await i.json(),s=new Error(l.message);return s.stack=l.stack,s}return i}async function Ra(e){if(!e)throw new Error("parseDeferredReadableStream requires stream argument");let t,r={};try{let n=tl(e),o=(await n.next()).value;if(!o)throw new Error("no critical data");let i=JSON.parse(o);if(typeof i=="object"&&i!==null)for(let[l,s]of Object.entries(i))typeof s!="string"||!s.startsWith(el)||(t=t||{},t[l]=new Promise((u,c)=>{r[l]={resolve:h=>{u(h),delete r[l]},reject:h=>{c(h),delete r[l]}}}));return(async()=>{try{for await(let l of n){let[s,...u]=l.split(":"),c=u.join(":"),h=JSON.parse(c);if(s==="data")for(let[p,w]of Object.entries(h))r[p]&&r[p].resolve(w);else if(s==="error")for(let[p,w]of Object.entries(h)){let g=new Error(w.message);g.stack=w.stack,r[p]&&r[p].reject(g)}}for(let[l,s]of Object.entries(r))s.reject(new fe(`Deferred ${l} will never be resolved`))}catch(l){for(let s of Object.values(r))s.reject(l)}})(),new Dt({...i,...t})}catch(n){for(let a of Object.values(r))a.reject(n);throw n}}async function*tl(e){let t=e.getReader(),r=[],n=[],a=!1,o=new TextEncoder,i=new TextDecoder,l=async()=>{if(n.length>0)return n.shift();for(;!a&&n.length===0;){let u=await t.read();if(u.done){a=!0;break}r.push(u.value);try{let h=i.decode(pa(...r)).split(`
28
+
29
+ `);if(h.length>=2&&(n.push(...h.slice(0,-1)),r=[o.encode(h.slice(-1).join(`
30
+
31
+ `))]),n.length>0)break}catch{continue}}return n.length>0||r.length>0&&(n=i.decode(pa(...r)).split(`
32
+
33
+ `).filter(c=>c),r=[]),n.shift()},s=await l();for(;s;)yield s,s=await l()}function pa(...e){let t=new Uint8Array(e.reduce((n,a)=>n+a.length,0)),r=0;for(let n of e)t.set(n,r),r+=n.length;return t}var el,Ea=G(()=>{Ke();el="__deferred_promise:"});function ba(e){let t={};return Object.values(e).forEach(r=>{let n=r.parentId||"";t[n]||(t[n]=[]),t[n].push(r)}),t}function Sa(e,t,r,n){return Vt(t,r,n,"",ba(t),e)}function Vt(e,t,r,n="",a=ba(e),o){return(a[n]||[]).map(i=>{let l=r.v2_errorBoundary===!0?i.id==="root"||i.hasErrorBoundary:i.id==="root"||i.hasCatchBoundary||i.hasErrorBoundary,s={caseSensitive:i.caseSensitive,element:Hr.createElement(oa,{id:i.id}),errorElement:l?Hr.createElement(ia,{id:i.id}):void 0,id:i.id,index:i.index,path:i.path,handle:void 0,loader:wa(i,t,!1),action:wa(i,t,!0),shouldRevalidate:rl(i,t,o)},u=Vt(e,t,r,i.id,a,o);return u.length>0&&(s.children=u),s})}function rl(e,t,r){let n=!1;return function(a){let o=t[e.id];return ce(o,`Expected route module to be loaded for ${e.id}`),r!==void 0&&!n?(n=!0,r.has(e.id)):o.shouldRevalidate?o.shouldRevalidate(a):a.defaultShouldRevalidate}}async function nl(e,t){let r=await Bt(e,t);return await qn(r),r}function wa(e,t,r){return async({request:n})=>{let a=nl(e,t);try{if(r&&!e.hasAction){let i=`Route "${e.id}" does not have an action, but you are trying to submit to it. To fix this, please add an \`action\` function to the route`;throw console.error(i),new Error(i)}else if(!r&&!e.hasLoader)return null;let o=await Br(n,e.id);if(o instanceof Error)throw o;if(va(o))throw al(o);if(ya(o))throw o;return ga(o)&&o.body?await Ra(o.body):o}finally{await a}}}function al(e){let t=parseInt(e.headers.get("X-Remix-Status"),10)||302,r=e.headers.get("X-Remix-Redirect"),n={},a=e.headers.get("X-Remix-Revalidate");return a&&(n["X-Remix-Revalidate"]=a),Ot(r,{status:t,headers:n})}var Hr,xa=G(()=>{Hr=Ue(Re());De();Fr();Ea();kr();Ar();yt();});function ol(e){if(!Se){let n=Vt(window.__remixManifest.routes,window.__remixRouteModules,window.__remixContext.future),a=window.__remixContext.state;a&&a.errors&&(a={...a,errors:ha(a.errors)}),Se=$n(n,{hydrationData:a,future:{v7_normalizeFormMethod:window.__remixContext.future.v2_normalizeFormMethod}});let o=window.__remixContext.url,i=window.location.pathname;if(o!==i){let l=`Initial URL (${o}) does not match URL at time of hydration (${i}), reloading page...`;console.error(l),window.location.reload()}}let[t,r]=Pe.useState(Se.state.location);return Pe.useLayoutEffect(()=>Se.subscribe(n=>{n.location!==t&&r(n.location)}),[t]),Pe.createElement(pt.Provider,{value:{manifest:window.__remixManifest,routeModules:window.__remixRouteModules,future:window.__remixContext.future}},Pe.createElement(It,{location:t,component:qe},Pe.createElement(Sr,{router:Se,fallbackElement:null,future:{v7_startTransition:!0}})))}var Pe,Se,zt,_a=G(()=>{Pe=Ue(Re());De();yt();Or();ma();xa();import.meta&&import.meta.hot&&import.meta.hot.accept("remix:manifest",async({assetsManifest:e,needsRevalidation:t})=>{let r=[...new Set(Se.state.matches.map(l=>l.route.id).concat(Object.keys(window.__remixRouteModules)))];zt&&zt.abort(),zt=new AbortController;let n=zt.signal,a=Object.assign({},window.__remixRouteModules,Object.fromEntries((await Promise.all(r.map(async l=>{var s,u,c,h;if(!e.routes[l])return null;let p=await import(e.routes[l].module+`?t=${(s=e.hmr)===null||s===void 0?void 0:s.timestamp}`);return[l,{...p,default:p.default?((u=window.__remixRouteModules[l])===null||u===void 0?void 0:u.default)??p.default:p.default,CatchBoundary:p.CatchBoundary?((c=window.__remixRouteModules[l])===null||c===void 0?void 0:c.CatchBoundary)??p.CatchBoundary:p.CatchBoundary,ErrorBoundary:p.ErrorBoundary?((h=window.__remixRouteModules[l])===null||h===void 0?void 0:h.ErrorBoundary)??p.ErrorBoundary:p.ErrorBoundary}]}))).filter(Boolean)));Object.assign(window.__remixRouteModules,a);let o=Sa(t,e.routes,window.__remixRouteModules,window.__remixContext.future);Se._internalSetRoutes(o);let i=Se.subscribe(l=>{if(l.revalidation==="idle"){if(i(),n.aborted)return;setTimeout(()=>{Object.assign(window.__remixManifest,e),window.$RefreshRuntime$.performReactRefresh()},1)}});window.__remixRevalidation=(window.__remixRevalidation||0)+1,Se.revalidate()})});function il({getKey:e,...t}){let r=Q(),n=Ir();zn({getKey:e,storageKey:Na});let a=Wt.useMemo(()=>{if(!e)return null;let i=e(r,n);return i!==r.key?i:null},[]),o=((i,l)=>{if(!window.history.state||!window.history.state.key){let s=Math.random().toString(32).slice(2);window.history.replaceState({key:s},"")}try{let u=JSON.parse(sessionStorage.getItem(i)||"{}")[l||window.history.state.key];typeof u=="number"&&window.scrollTo(0,u)}catch(s){console.error(s),sessionStorage.removeItem(i)}}).toString();return Wt.createElement("script",W({},t,{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${o})(${JSON.stringify(Na)}, ${JSON.stringify(a)})`}}))}var Wt,Na,Ca=G(()=>{Lr();Wt=Ue(Re());De();yt();Na="positions"});var ll=G(()=>{_a();De();yt();Ca();});var Pa=bt(Jt=>{"use strict";var sl=Re(),ul=Symbol.for("react.element"),cl=Symbol.for("react.fragment"),dl=Object.prototype.hasOwnProperty,fl=sl.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,hl={key:!0,ref:!0,__self:!0,__source:!0};function Da(e,t,r){var n,a={},o=null,i=null;r!==void 0&&(o=""+r),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(i=t.ref);for(n in t)dl.call(t,n)&&!hl.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)a[n]===void 0&&(a[n]=t[n]);return{$$typeof:ul,type:e,key:o,ref:i,props:a,_owner:fl.current}}Jt.Fragment=cl;Jt.jsx=Da;Jt.jsxs=Da});var ml=bt((Is,La)=>{"use strict";La.exports=Pa()});export{Re as a,Q as b,Ut as c,Tt as d,ua as e,ca as f,Hi as g,Ki as h,Yi as i,qi as j,Qi as k,ol as l,il as m,ll as n,ml as o};
34
+ /*! Bundled license information:
35
+
36
+ react/cjs/react.production.min.js:
37
+ (**
38
+ * @license React
39
+ * react.production.min.js
40
+ *
41
+ * Copyright (c) Facebook, Inc. and its affiliates.
42
+ *
43
+ * This source code is licensed under the MIT license found in the
44
+ * LICENSE file in the root directory of this source tree.
45
+ *)
46
+
47
+ @remix-run/router/dist/router.js:
48
+ (**
49
+ * @remix-run/router v1.7.1
50
+ *
51
+ * Copyright (c) Remix Software Inc.
52
+ *
53
+ * This source code is licensed under the MIT license found in the
54
+ * LICENSE.md file in the root directory of this source tree.
55
+ *
56
+ * @license MIT
57
+ *)
58
+
59
+ react-router/dist/index.js:
60
+ (**
61
+ * React Router v6.14.1
62
+ *
63
+ * Copyright (c) Remix Software Inc.
64
+ *
65
+ * This source code is licensed under the MIT license found in the
66
+ * LICENSE.md file in the root directory of this source tree.
67
+ *
68
+ * @license MIT
69
+ *)
70
+
71
+ react-router-dom/dist/index.js:
72
+ (**
73
+ * React Router DOM v6.14.1
74
+ *
75
+ * Copyright (c) Remix Software Inc.
76
+ *
77
+ * This source code is licensed under the MIT license found in the
78
+ * LICENSE.md file in the root directory of this source tree.
79
+ *
80
+ * @license MIT
81
+ *)
82
+
83
+ @remix-run/react/dist/esm/_virtual/_rollupPluginBabelHelpers.js:
84
+ (**
85
+ * @remix-run/react v1.18.1
86
+ *
87
+ * Copyright (c) Remix Software Inc.
88
+ *
89
+ * This source code is licensed under the MIT license found in the
90
+ * LICENSE.md file in the root directory of this source tree.
91
+ *
92
+ * @license MIT
93
+ *)
94
+
95
+ @remix-run/react/dist/esm/errorBoundaries.js:
96
+ (**
97
+ * @remix-run/react v1.18.1
98
+ *
99
+ * Copyright (c) Remix Software Inc.
100
+ *
101
+ * This source code is licensed under the MIT license found in the
102
+ * LICENSE.md file in the root directory of this source tree.
103
+ *
104
+ * @license MIT
105
+ *)
106
+
107
+ @remix-run/react/dist/esm/invariant.js:
108
+ (**
109
+ * @remix-run/react v1.18.1
110
+ *
111
+ * Copyright (c) Remix Software Inc.
112
+ *
113
+ * This source code is licensed under the MIT license found in the
114
+ * LICENSE.md file in the root directory of this source tree.
115
+ *
116
+ * @license MIT
117
+ *)
118
+
119
+ @remix-run/react/dist/esm/routeModules.js:
120
+ (**
121
+ * @remix-run/react v1.18.1
122
+ *
123
+ * Copyright (c) Remix Software Inc.
124
+ *
125
+ * This source code is licensed under the MIT license found in the
126
+ * LICENSE.md file in the root directory of this source tree.
127
+ *
128
+ * @license MIT
129
+ *)
130
+
131
+ @remix-run/react/dist/esm/links.js:
132
+ (**
133
+ * @remix-run/react v1.18.1
134
+ *
135
+ * Copyright (c) Remix Software Inc.
136
+ *
137
+ * This source code is licensed under the MIT license found in the
138
+ * LICENSE.md file in the root directory of this source tree.
139
+ *
140
+ * @license MIT
141
+ *)
142
+
143
+ @remix-run/react/dist/esm/markup.js:
144
+ (**
145
+ * @remix-run/react v1.18.1
146
+ *
147
+ * Copyright (c) Remix Software Inc.
148
+ *
149
+ * This source code is licensed under the MIT license found in the
150
+ * LICENSE.md file in the root directory of this source tree.
151
+ *
152
+ * @license MIT
153
+ *)
154
+
155
+ @remix-run/react/dist/esm/components.js:
156
+ (**
157
+ * @remix-run/react v1.18.1
158
+ *
159
+ * Copyright (c) Remix Software Inc.
160
+ *
161
+ * This source code is licensed under the MIT license found in the
162
+ * LICENSE.md file in the root directory of this source tree.
163
+ *
164
+ * @license MIT
165
+ *)
166
+
167
+ @remix-run/react/dist/esm/errors.js:
168
+ (**
169
+ * @remix-run/react v1.18.1
170
+ *
171
+ * Copyright (c) Remix Software Inc.
172
+ *
173
+ * This source code is licensed under the MIT license found in the
174
+ * LICENSE.md file in the root directory of this source tree.
175
+ *
176
+ * @license MIT
177
+ *)
178
+
179
+ @remix-run/react/dist/esm/data.js:
180
+ (**
181
+ * @remix-run/react v1.18.1
182
+ *
183
+ * Copyright (c) Remix Software Inc.
184
+ *
185
+ * This source code is licensed under the MIT license found in the
186
+ * LICENSE.md file in the root directory of this source tree.
187
+ *
188
+ * @license MIT
189
+ *)
190
+
191
+ @remix-run/react/dist/esm/routes.js:
192
+ (**
193
+ * @remix-run/react v1.18.1
194
+ *
195
+ * Copyright (c) Remix Software Inc.
196
+ *
197
+ * This source code is licensed under the MIT license found in the
198
+ * LICENSE.md file in the root directory of this source tree.
199
+ *
200
+ * @license MIT
201
+ *)
202
+
203
+ @remix-run/react/dist/esm/browser.js:
204
+ (**
205
+ * @remix-run/react v1.18.1
206
+ *
207
+ * Copyright (c) Remix Software Inc.
208
+ *
209
+ * This source code is licensed under the MIT license found in the
210
+ * LICENSE.md file in the root directory of this source tree.
211
+ *
212
+ * @license MIT
213
+ *)
214
+
215
+ @remix-run/react/dist/esm/scroll-restoration.js:
216
+ (**
217
+ * @remix-run/react v1.18.1
218
+ *
219
+ * Copyright (c) Remix Software Inc.
220
+ *
221
+ * This source code is licensed under the MIT license found in the
222
+ * LICENSE.md file in the root directory of this source tree.
223
+ *
224
+ * @license MIT
225
+ *)
226
+
227
+ @remix-run/react/dist/esm/index.js:
228
+ (**
229
+ * @remix-run/react v1.18.1
230
+ *
231
+ * Copyright (c) Remix Software Inc.
232
+ *
233
+ * This source code is licensed under the MIT license found in the
234
+ * LICENSE.md file in the root directory of this source tree.
235
+ *
236
+ * @license MIT
237
+ *)
238
+
239
+ react/cjs/react-jsx-runtime.production.min.js:
240
+ (**
241
+ * @license React
242
+ * react-jsx-runtime.production.min.js
243
+ *
244
+ * Copyright (c) Facebook, Inc. and its affiliates.
245
+ *
246
+ * This source code is licensed under the MIT license found in the
247
+ * LICENSE file in the root directory of this source tree.
248
+ *)
249
+ */
@@ -0,0 +1 @@
1
+ import{a as E}from"/build/_shared/chunk-TXYGHBXU.js";import{l as e,n as y,o as i}from"/build/_shared/chunk-V6X5C2NK.js";import{b as r,d as t}from"/build/_shared/chunk-G5WX4PPA.js";var a=r(o=>{"use strict";var n=E();o.createRoot=n.createRoot,o.hydrateRoot=n.hydrateRoot;var f});var _=r(()=>{y();var R=t(a()),c=t(i());(0,R.hydrateRoot)(document,(0,c.jsx)(e,{}))});export default _();
@@ -0,0 +1 @@
1
+ window.__remixManifest={"entry":{"module":"/build/entry.client-AWWPRTQT.js","imports":["/build/_shared/chunk-TXYGHBXU.js","/build/_shared/chunk-V6X5C2NK.js","/build/_shared/chunk-G5WX4PPA.js"]},"routes":{"root":{"id":"root","path":"","module":"/build/root-PL2IURVO.js","imports":["/build/_shared/chunk-HPSR2AHZ.js"],"hasAction":false,"hasLoader":false,"hasCatchBoundary":false,"hasErrorBoundary":false},"routes/_index":{"id":"routes/_index","parentId":"root","index":true,"module":"/build/routes/_index-IU7UKDFR.js","hasAction":false,"hasLoader":true,"hasCatchBoundary":false,"hasErrorBoundary":false},"routes/api._index":{"id":"routes/api._index","parentId":"root","path":"api","index":true,"module":"/build/routes/api._index-EY2TJEVA.js","hasAction":true,"hasLoader":false,"hasCatchBoundary":false,"hasErrorBoundary":false}},"version":"0ee514d5","url":"/build/manifest-0EE514D5.js"};
@@ -0,0 +1 @@
1
+ import{b as d}from"/build/_shared/chunk-HPSR2AHZ.js";import{d as o,g as a,h as s,i,k as n,m as p,n as w,o as l}from"/build/_shared/chunk-V6X5C2NK.js";import{d as t}from"/build/_shared/chunk-G5WX4PPA.js";w();var r="/build/_assets/app-SFFX2L34.css";var e=t(l()),m=()=>[{rel:"preconnect",href:r},{rel:"stylesheet",href:r}];function c(){return(0,e.jsxs)("html",{lang:"en",className:"text-[14px] tablet:text-[16px]",children:[(0,e.jsxs)("head",{children:[(0,e.jsx)("meta",{charSet:"utf-8"}),(0,e.jsx)("meta",{name:"viewport",content:"height=device-height, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"}),(0,e.jsx)(s,{}),(0,e.jsx)(a,{})]}),(0,e.jsxs)("body",{className:d("font-roboto bg-background text-foreground"),"data-theme":"light",children:[(0,e.jsx)(o,{}),(0,e.jsx)(p,{}),(0,e.jsx)(i,{}),(0,e.jsx)(n,{})]})]})}export{c as default,m as links};