diff --git a/app/assets/interface/index-DnzbIh12.js b/app/assets/interface/index-CuY65P9N.js similarity index 99% rename from app/assets/interface/index-DnzbIh12.js rename to app/assets/interface/index-CuY65P9N.js index b9c5fe4..6a03e17 100644 --- a/app/assets/interface/index-DnzbIh12.js +++ b/app/assets/interface/index-CuY65P9N.js @@ -61,7 +61,7 @@ Error generating stack: `+i.message+` */var a2="popstate";function mv(e={}){function t(r,o){let{pathname:i,search:s,hash:a}=r.location;return cf("",{pathname:i,search:s,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:da(o)}return vv(t,n,null,e)}function Ue(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function er(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function xv(){return Math.random().toString(36).substring(2,10)}function l2(e,t){return{usr:e.state,key:e.key,idx:t}}function cf(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?zi(t):t,state:n,key:t&&t.key||r||xv()}}function da({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function zi(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function vv(e,t,n,r={}){let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a="POP",c=null,d=u();d==null&&(d=0,s.replaceState({...s.state,idx:d},""));function u(){return(s.state||{idx:null}).idx}function f(){a="POP";let w=u(),v=w==null?null:w-d;d=w,c&&c({action:a,location:g.location,delta:v})}function h(w,v){a="PUSH";let x=cf(g.location,w,v);d=u()+1;let P=l2(x,d),b=g.createHref(x);try{s.pushState(P,"",b)}catch(y){if(y instanceof DOMException&&y.name==="DataCloneError")throw y;o.location.assign(b)}i&&c&&c({action:a,location:g.location,delta:1})}function p(w,v){a="REPLACE";let x=cf(g.location,w,v);d=u();let P=l2(x,d),b=g.createHref(x);s.replaceState(P,"",b),i&&c&&c({action:a,location:g.location,delta:0})}function m(w){let v=o.location.origin!=="null"?o.location.origin:o.location.href,x=typeof w=="string"?w:da(w);return x=x.replace(/ $/,"%20"),Ue(v,`No window.location.(origin|href) available to create URL for href: ${x}`),new URL(x,v)}let g={get action(){return a},get location(){return e(o,s)},listen(w){if(c)throw new Error("A history only accepts one active listener");return o.addEventListener(a2,f),c=w,()=>{o.removeEventListener(a2,f),c=null}},createHref(w){return t(o,w)},createURL:m,encodeLocation(w){let v=m(w);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:h,replace:p,go(w){return s.go(w)}};return g}function Jm(e,t,n="/"){return wv(e,t,n,!1)}function wv(e,t,n,r){let o=typeof t=="string"?zi(t):t,i=Ir(o.pathname||"/",n);if(i==null)return null;let s=Wm(e);Pv(s);let a=null;for(let c=0;a==null&&c{let c={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};c.relativePath.startsWith("/")&&(Ue(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length));let d=Jn([r,c.relativePath]),u=n.concat(c);i.children&&i.children.length>0&&(Ue(i.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${d}".`),Wm(i.children,t,u,d)),!(i.path==null&&!i.index)&&t.push({path:d,score:Dv(d,i.index),routesMeta:u})};return e.forEach((i,s)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,s);else for(let c of qm(i.path))o(i,s,c)}),t}function qm(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=qm(r.join("/")),a=[];return a.push(...s.map(c=>c===""?i:[i,c].join("/"))),o&&a.push(...s),a.map(c=>e.startsWith("/")&&c===""?"/":c)}function Pv(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Rv(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var yv=/^:[\w-]+$/,bv=3,jv=2,kv=1,Hv=10,Uv=-2,c2=e=>e==="*";function Dv(e,t){let n=e.split("/"),r=n.length;return n.some(c2)&&(r+=Uv),t&&(r+=jv),n.filter(o=>!c2(o)).reduce((o,i)=>o+(yv.test(i)?bv:i===""?kv:Hv),r)}function Rv(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function Cv(e,t,n=!1){let{routesMeta:r}=e,o={},i="/",s=[];for(let a=0;a{if(u==="*"){let m=a[h]||"";s=i.slice(0,i.length-m.length).replace(/(.)\/+$/,"$1")}const p=a[h];return f&&!p?d[u]=void 0:d[u]=(p||"").replace(/%2F/g,"/"),d},{}),pathname:i,pathnameBase:s,pattern:e}}function Ov(e,t=!1,n=!0){er(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 r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,c)=>(r.push({paramName:a,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function Fv(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return er(!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 Ir(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Sv(e,t="/"){let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?zi(e):e;return{pathname:n?n.startsWith("/")?n:Bv(n,t):t,search:Mv(r),hash:zv(o)}}function Bv(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Kd(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function Kv(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Zm(e){let t=Kv(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function _m(e,t,n,r=!1){let o;typeof e=="string"?o=zi(e):(o={...e},Ue(!o.pathname||!o.pathname.includes("?"),Kd("?","pathname","search",o)),Ue(!o.pathname||!o.pathname.includes("#"),Kd("#","pathname","hash",o)),Ue(!o.search||!o.search.includes("#"),Kd("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,a;if(s==null)a=n;else{let f=t.length-1;if(!r&&s.startsWith("..")){let h=s.split("/");for(;h[0]==="..";)h.shift(),f-=1;o.pathname=h.join("/")}a=f>=0?t[f]:"/"}let c=Sv(o,a),d=s&&s!=="/"&&s.endsWith("/"),u=(i||s===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(d||u)&&(c.pathname+="/"),c}var Jn=e=>e.join("/").replace(/\/\/+/g,"/"),Tv=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Mv=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,zv=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Nv(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var $m=["POST","PUT","PATCH","DELETE"];new Set($m);var Ev=["GET",...$m];new Set(Ev);var Ni=A.createContext(null);Ni.displayName="DataRouter";var b0=A.createContext(null);b0.displayName="DataRouterState";var e5=A.createContext({isTransitioning:!1});e5.displayName="ViewTransition";var Iv=A.createContext(new Map);Iv.displayName="Fetchers";var Qv=A.createContext(null);Qv.displayName="Await";var Dn=A.createContext(null);Dn.displayName="Navigation";var Ka=A.createContext(null);Ka.displayName="Location";var Rn=A.createContext({outlet:null,matches:[],isDataRoute:!1});Rn.displayName="Route";var N1=A.createContext(null);N1.displayName="RouteError";function Gv(e,{relative:t}={}){Ue(Ta(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=A.useContext(Dn),{hash:o,pathname:i,search:s}=Ma(e,{relative:t}),a=i;return n!=="/"&&(a=i==="/"?n:Jn([n,i])),r.createHref({pathname:a,search:s,hash:o})}function Ta(){return A.useContext(Ka)!=null}function Cn(){return Ue(Ta(),"useLocation() may be used only in the context of a component."),A.useContext(Ka).location}var t5="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function n5(e){A.useContext(Dn).static||A.useLayoutEffect(e)}function fn(){let{isDataRoute:e}=A.useContext(Rn);return e?n7():Xv()}function Xv(){Ue(Ta(),"useNavigate() may be used only in the context of a component.");let e=A.useContext(Ni),{basename:t,navigator:n}=A.useContext(Dn),{matches:r}=A.useContext(Rn),{pathname:o}=Cn(),i=JSON.stringify(Zm(r)),s=A.useRef(!1);return n5(()=>{s.current=!0}),A.useCallback((c,d={})=>{if(er(s.current,t5),!s.current)return;if(typeof c=="number"){n.go(c);return}let u=_m(c,JSON.parse(i),o,d.relative==="path");e==null&&t!=="/"&&(u.pathname=u.pathname==="/"?t:Jn([t,u.pathname])),(d.replace?n.replace:n.push)(u,d.state,d)},[t,n,i,o,e])}A.createContext(null);function j0(){let{matches:e}=A.useContext(Rn),t=e[e.length-1];return t?t.params:{}}function Ma(e,{relative:t}={}){let{matches:n}=A.useContext(Rn),{pathname:r}=Cn(),o=JSON.stringify(Zm(n));return A.useMemo(()=>_m(e,JSON.parse(o),r,t==="path"),[e,o,r,t])}function Lv(e,t){return r5(e,t)}function r5(e,t,n,r){var g;Ue(Ta(),"useRoutes() may be used only in the context of a component.");let{navigator:o}=A.useContext(Dn),{matches:i}=A.useContext(Rn),s=i[i.length-1],a=s?s.params:{};s&&s.pathname;let c=s?s.pathnameBase:"/";s&&s.route;let d=Cn(),u;if(t){let w=typeof t=="string"?zi(t):t;Ue(c==="/"||((g=w.pathname)==null?void 0:g.startsWith(c)),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${c}" but pathname "${w.pathname}" was given in the \`location\` prop.`),u=w}else u=d;let f=u.pathname||"/",h=f;if(c!=="/"){let w=c.replace(/^\//,"").split("/");h="/"+f.replace(/^\//,"").split("/").slice(w.length).join("/")}let p=Jm(e,{pathname:h}),m=qv(p&&p.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:Jn([c,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?c:Jn([c,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),i,n,r);return t&&m?A.createElement(Ka.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...u},navigationType:"POP"}},m):m}function Yv(){let e=t7(),t=Nv(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return A.createElement(A.Fragment,null,A.createElement("h2",null,"Unexpected Application Error!"),A.createElement("h3",{style:{fontStyle:"italic"}},t),n?A.createElement("pre",{style:o},n):null,null)}var Vv=A.createElement(Yv,null),Jv=class extends A.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?A.createElement(Rn.Provider,{value:this.props.routeContext},A.createElement(N1.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Wv({routeContext:e,match:t,children:n}){let r=A.useContext(Ni);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),A.createElement(Rn.Provider,{value:e},n)}function qv(e,t=[],n=null,r=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,i=n==null?void 0:n.errors;if(i!=null){let c=o.findIndex(d=>d.route.id&&(i==null?void 0:i[d.route.id])!==void 0);Ue(c>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),o=o.slice(0,Math.min(o.length,c+1))}let s=!1,a=-1;if(n)for(let c=0;c=0?o=o.slice(0,a+1):o=[o[0]];break}}}return o.reduceRight((c,d,u)=>{let f,h=!1,p=null,m=null;n&&(f=i&&d.route.id?i[d.route.id]:void 0,p=d.route.errorElement||Vv,s&&(a<0&&u===0?(r7("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),h=!0,m=null):a===u&&(h=!0,m=d.route.hydrateFallbackElement||null)));let g=t.concat(o.slice(0,u+1)),w=()=>{let v;return f?v=p:h?v=m:d.route.Component?v=A.createElement(d.route.Component,null):d.route.element?v=d.route.element:v=c,A.createElement(Wv,{match:d,routeContext:{outlet:c,matches:g,isDataRoute:n!=null},children:v})};return n&&(d.route.ErrorBoundary||d.route.errorElement||u===0)?A.createElement(Jv,{location:n.location,revalidation:n.revalidation,component:p,error:f,children:w(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):w()},null)}function E1(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Zv(e){let t=A.useContext(Ni);return Ue(t,E1(e)),t}function _v(e){let t=A.useContext(b0);return Ue(t,E1(e)),t}function $v(e){let t=A.useContext(Rn);return Ue(t,E1(e)),t}function I1(e){let t=$v(e),n=t.matches[t.matches.length-1];return Ue(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function e7(){return I1("useRouteId")}function t7(){var r;let e=A.useContext(N1),t=_v("useRouteError"),n=I1("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function n7(){let{router:e}=Zv("useNavigate"),t=I1("useNavigate"),n=A.useRef(!1);return n5(()=>{n.current=!0}),A.useCallback(async(o,i={})=>{er(n.current,t5),n.current&&(typeof o=="number"?e.navigate(o):await e.navigate(o,{fromRouteId:t,...i}))},[e,t])}var d2={};function r7(e,t,n){d2[e]||(d2[e]=!0,er(!1,n))}A.memo(o7);function o7({routes:e,future:t,state:n}){return r5(e,void 0,n,t)}function ye(e){Ue(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function i7({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:o,static:i=!1}){Ue(!Ta(),"You cannot render a inside another . You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),a=A.useMemo(()=>({basename:s,navigator:o,static:i,future:{}}),[s,o,i]);typeof n=="string"&&(n=zi(n));let{pathname:c="/",search:d="",hash:u="",state:f=null,key:h="default"}=n,p=A.useMemo(()=>{let m=Ir(c,s);return m==null?null:{location:{pathname:m,search:d,hash:u,state:f,key:h},navigationType:r}},[s,c,d,u,f,h,r]);return er(p!=null,` is not able to match the URL "${c}${d}${u}" because it does not start with the basename, so the won't render anything.`),p==null?null:A.createElement(Dn.Provider,{value:a},A.createElement(Ka.Provider,{children:t,value:p}))}function s7({children:e,location:t}){return Lv(df(e),t)}function df(e,t=[]){let n=[];return A.Children.forEach(e,(r,o)=>{if(!A.isValidElement(r))return;let i=[...t,o];if(r.type===A.Fragment){n.push.apply(n,df(r.props.children,i));return}Ue(r.type===ye,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),Ue(!r.props.index||!r.props.children,"An index route cannot have child routes.");let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=df(r.props.children,i)),n.push(s)}),n}var nc="get",rc="application/x-www-form-urlencoded";function k0(e){return e!=null&&typeof e.tagName=="string"}function a7(e){return k0(e)&&e.tagName.toLowerCase()==="button"}function l7(e){return k0(e)&&e.tagName.toLowerCase()==="form"}function c7(e){return k0(e)&&e.tagName.toLowerCase()==="input"}function d7(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function u7(e,t){return e.button===0&&(!t||t==="_self")&&!d7(e)}function uf(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(o=>[n,o]):[[n,r]])},[]))}function f7(e,t){let n=uf(e);return t&&t.forEach((r,o)=>{n.has(o)||t.getAll(o).forEach(i=>{n.append(o,i)})}),n}var vl=null;function A7(){if(vl===null)try{new FormData(document.createElement("form"),0),vl=!1}catch{vl=!0}return vl}var h7=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Td(e){return e!=null&&!h7.has(e)?(er(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${rc}"`),null):e}function p7(e,t){let n,r,o,i,s;if(l7(e)){let a=e.getAttribute("action");r=a?Ir(a,t):null,n=e.getAttribute("method")||nc,o=Td(e.getAttribute("enctype"))||rc,i=new FormData(e)}else if(a7(e)||c7(e)&&(e.type==="submit"||e.type==="image")){let a=e.form;if(a==null)throw new Error('Cannot submit a