@perses-dev/tracing-gantt-chart-plugin 0.7.0 → 0.9.0
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.
- package/__mf/css/async/263.6c6463ea.css +1 -0
- package/__mf/js/TracingGanttChart.6861c573.js +5 -0
- package/__mf/js/async/109.1225b97d.js +73 -0
- package/__mf/js/async/109.1225b97d.js.LICENSE.txt +35 -0
- package/__mf/js/async/118.c1138755.js +1 -0
- package/__mf/js/async/173.66fc423e.js +2 -0
- package/__mf/js/async/214.8bf3e03e.js +1 -0
- package/__mf/js/async/224.670da1e3.js +1 -0
- package/__mf/js/async/238.5c460cb2.js +1 -0
- package/__mf/js/async/292.4821b1b1.js +1 -0
- package/__mf/js/async/387.23da505f.js +1 -0
- package/__mf/js/async/409.12b6365d.js +1 -0
- package/__mf/js/async/488.2d364feb.js +1 -0
- package/__mf/js/async/533.f20b93c0.js +110 -0
- package/__mf/js/async/558.3b93d5ec.js +39 -0
- package/__mf/js/async/558.3b93d5ec.js.LICENSE.txt +21 -0
- package/__mf/js/async/62.1a6f8c05.js +1 -0
- package/__mf/js/async/651.bcb43163.js +1 -0
- package/__mf/js/async/{770.5431adef.js → 694.fe491393.js} +1 -1
- package/__mf/js/async/738.7d9e5092.js +1 -0
- package/__mf/js/async/740.fa3debdf.js +1 -0
- package/__mf/js/async/75.a3a29681.js +1 -0
- package/__mf/js/async/770.65ae427e.js +1 -0
- package/__mf/js/async/814.c33b5f31.js +2 -0
- package/__mf/js/async/814.c33b5f31.js.LICENSE.txt +24 -0
- package/__mf/js/async/832.0e397220.js +7 -0
- package/__mf/js/async/832.0e397220.js.LICENSE.txt +21 -0
- package/__mf/js/async/863.0e6501cd.js +2 -0
- package/__mf/js/async/897.f1628ec5.js +1 -0
- package/__mf/js/async/960.89291786.js +2 -0
- package/__mf/js/async/964.3f12c3f5.js +2 -0
- package/__mf/js/async/981.1c640ffc.js +2 -0
- package/__mf/js/async/__federation_expose_TracingGanttChart.3c44e08a.js +1 -0
- package/__mf/js/async/lib-router.ab6beae3.js +2 -0
- package/__mf/js/main.fb8fb582.js +5 -0
- package/lib/PanelActions.d.ts +9 -0
- package/lib/PanelActions.d.ts.map +1 -0
- package/lib/PanelActions.js +70 -0
- package/lib/PanelActions.js.map +1 -0
- package/lib/TracingGanttChart/DetailPane/Attributes.d.ts +21 -2
- package/lib/TracingGanttChart/DetailPane/Attributes.d.ts.map +1 -1
- package/lib/TracingGanttChart/DetailPane/Attributes.js +103 -31
- package/lib/TracingGanttChart/DetailPane/Attributes.js.map +1 -1
- package/lib/TracingGanttChart/DetailPane/DetailPane.d.ts +2 -2
- package/lib/TracingGanttChart/DetailPane/DetailPane.d.ts.map +1 -1
- package/lib/TracingGanttChart/DetailPane/DetailPane.js +22 -16
- package/lib/TracingGanttChart/DetailPane/DetailPane.js.map +1 -1
- package/lib/TracingGanttChart/DetailPane/SpanEvents.d.ts +2 -0
- package/lib/TracingGanttChart/DetailPane/SpanEvents.d.ts.map +1 -1
- package/lib/TracingGanttChart/DetailPane/SpanEvents.js +69 -23
- package/lib/TracingGanttChart/DetailPane/SpanEvents.js.map +1 -1
- package/lib/TracingGanttChart/DetailPane/SpanLinks.d.ts +9 -0
- package/lib/TracingGanttChart/DetailPane/SpanLinks.d.ts.map +1 -0
- package/lib/TracingGanttChart/DetailPane/SpanLinks.js +64 -0
- package/lib/TracingGanttChart/DetailPane/SpanLinks.js.map +1 -0
- package/lib/TracingGanttChart/GanttTable/GanttTable.d.ts +2 -1
- package/lib/TracingGanttChart/GanttTable/GanttTable.d.ts.map +1 -1
- package/lib/TracingGanttChart/GanttTable/GanttTable.js +15 -1
- package/lib/TracingGanttChart/GanttTable/GanttTable.js.map +1 -1
- package/lib/TracingGanttChart/GanttTable/GanttTableRow.d.ts +2 -1
- package/lib/TracingGanttChart/GanttTable/GanttTableRow.d.ts.map +1 -1
- package/lib/TracingGanttChart/GanttTable/GanttTableRow.js +2 -1
- package/lib/TracingGanttChart/GanttTable/GanttTableRow.js.map +1 -1
- package/lib/TracingGanttChart/GanttTable/SpanLinksButton.d.ts +8 -0
- package/lib/TracingGanttChart/GanttTable/SpanLinksButton.d.ts.map +1 -0
- package/lib/TracingGanttChart/GanttTable/SpanLinksButton.js +95 -0
- package/lib/TracingGanttChart/GanttTable/SpanLinksButton.js.map +1 -0
- package/lib/TracingGanttChart/GanttTable/SpanName.d.ts +2 -0
- package/lib/TracingGanttChart/GanttTable/SpanName.d.ts.map +1 -1
- package/lib/TracingGanttChart/GanttTable/SpanName.js +12 -1
- package/lib/TracingGanttChart/GanttTable/SpanName.js.map +1 -1
- package/lib/TracingGanttChart/MiniGanttChart/draw.d.ts.map +1 -1
- package/lib/TracingGanttChart/MiniGanttChart/draw.js +1 -8
- package/lib/TracingGanttChart/MiniGanttChart/draw.js.map +1 -1
- package/lib/TracingGanttChart/TraceDetails.d.ts +7 -0
- package/lib/TracingGanttChart/TraceDetails.d.ts.map +1 -0
- package/lib/TracingGanttChart/TraceDetails.js +90 -0
- package/lib/TracingGanttChart/TraceDetails.js.map +1 -0
- package/lib/TracingGanttChart/TracingGanttChart.d.ts +2 -3
- package/lib/TracingGanttChart/TracingGanttChart.d.ts.map +1 -1
- package/lib/TracingGanttChart/TracingGanttChart.js +8 -3
- package/lib/TracingGanttChart/TracingGanttChart.js.map +1 -1
- package/lib/TracingGanttChart/trace.d.ts +7 -0
- package/lib/TracingGanttChart/trace.d.ts.map +1 -1
- package/lib/TracingGanttChart/trace.js +13 -4
- package/lib/TracingGanttChart/trace.js.map +1 -1
- package/lib/TracingGanttChart.d.ts.map +1 -1
- package/lib/TracingGanttChart.js +7 -1
- package/lib/TracingGanttChart.js.map +1 -1
- package/lib/TracingGanttChartPanel.d.ts +1 -11
- package/lib/TracingGanttChartPanel.d.ts.map +1 -1
- package/lib/TracingGanttChartPanel.js +10 -2
- package/lib/TracingGanttChartPanel.js.map +1 -1
- package/lib/cjs/PanelActions.js +88 -0
- package/lib/cjs/TracingGanttChart/DetailPane/Attributes.js +117 -31
- package/lib/cjs/TracingGanttChart/DetailPane/DetailPane.js +19 -13
- package/lib/cjs/TracingGanttChart/DetailPane/SpanEvents.js +66 -20
- package/lib/cjs/TracingGanttChart/DetailPane/SpanLinks.js +72 -0
- package/lib/cjs/TracingGanttChart/GanttTable/GanttTable.js +15 -1
- package/lib/cjs/TracingGanttChart/GanttTable/GanttTableRow.js +2 -1
- package/lib/cjs/TracingGanttChart/GanttTable/SpanLinksButton.js +108 -0
- package/lib/cjs/TracingGanttChart/GanttTable/SpanName.js +12 -1
- package/lib/cjs/TracingGanttChart/MiniGanttChart/draw.js +1 -8
- package/lib/cjs/TracingGanttChart/TraceDetails.js +98 -0
- package/lib/cjs/TracingGanttChart/TracingGanttChart.js +8 -3
- package/lib/cjs/TracingGanttChart/trace.js +13 -4
- package/lib/cjs/TracingGanttChart.js +7 -1
- package/lib/cjs/TracingGanttChartPanel.js +10 -2
- package/lib/cjs/gantt-chart-model.js +1 -1
- package/lib/gantt-chart-model.d.ts +31 -0
- package/lib/gantt-chart-model.d.ts.map +1 -1
- package/lib/gantt-chart-model.js +1 -1
- package/lib/gantt-chart-model.js.map +1 -1
- package/mf-manifest.json +86 -66
- package/mf-stats.json +100 -74
- package/package.json +15 -5
- package/__mf/js/788.d9986a69.js +0 -5
- package/__mf/js/TracingGanttChart.906bee00.js +0 -5
- package/__mf/js/async/156.5a401ecb.js +0 -1
- package/__mf/js/async/173.6314a363.js +0 -2
- package/__mf/js/async/193.12ce9ab1.js +0 -44
- package/__mf/js/async/193.12ce9ab1.js.LICENSE.txt +0 -68
- package/__mf/js/async/377.59c252c4.js +0 -2
- package/__mf/js/async/511.b81ea373.js +0 -1
- package/__mf/js/async/620.1d1ce390.js +0 -2
- package/__mf/js/async/651.3ea371e5.js +0 -1
- package/__mf/js/async/694.4580ad20.js +0 -1
- package/__mf/js/async/740.babbb403.js +0 -1
- package/__mf/js/async/75.d81e6bbf.js +0 -1
- package/__mf/js/async/783.3c2c57f6.js +0 -110
- package/__mf/js/async/960.478a8f11.js +0 -2
- package/__mf/js/async/964.a98cab40.js +0 -2
- package/__mf/js/async/981.bc5132f8.js +0 -2
- package/__mf/js/async/__federation_expose_TracingGanttChart.cfa547a5.js +0 -1
- package/__mf/js/main.2f3ef69f.js +0 -1
- /package/__mf/js/async/{173.6314a363.js.LICENSE.txt → 173.66fc423e.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{783.3c2c57f6.js.LICENSE.txt → 533.f20b93c0.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{620.1d1ce390.js.LICENSE.txt → 863.0e6501cd.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{960.478a8f11.js.LICENSE.txt → 960.89291786.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{964.a98cab40.js.LICENSE.txt → 964.3f12c3f5.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{981.bc5132f8.js.LICENSE.txt → 981.1c640ffc.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{377.59c252c4.js.LICENSE.txt → lib-router.ab6beae3.js.LICENSE.txt} +0 -0
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
|
|
3
|
-
*
|
|
4
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
6
|
-
* in the Software without restriction, including without limitation the rights
|
|
7
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
9
|
-
* furnished to do so, subject to the following conditions:
|
|
10
|
-
*
|
|
11
|
-
* The above copyright notice and this permission notice shall be included in
|
|
12
|
-
* all copies or substantial portions of the Software.
|
|
13
|
-
*
|
|
14
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
20
|
-
* SOFTWARE.
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
/*!
|
|
24
|
-
* ZRender, a high performance 2d drawing library.
|
|
25
|
-
*
|
|
26
|
-
* Copyright (c) 2013, Baidu Inc.
|
|
27
|
-
* All rights reserved.
|
|
28
|
-
*
|
|
29
|
-
* LICENSE
|
|
30
|
-
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
|
|
31
|
-
*/
|
|
32
|
-
|
|
33
|
-
/*! *****************************************************************************
|
|
34
|
-
Copyright (c) Microsoft Corporation.
|
|
35
|
-
|
|
36
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
37
|
-
purpose with or without fee is hereby granted.
|
|
38
|
-
|
|
39
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
40
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
41
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
42
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
43
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
44
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
45
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
46
|
-
***************************************************************************** */
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* react-table
|
|
50
|
-
*
|
|
51
|
-
* Copyright (c) TanStack
|
|
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
|
-
/**
|
|
60
|
-
* table-core
|
|
61
|
-
*
|
|
62
|
-
* Copyright (c) TanStack
|
|
63
|
-
*
|
|
64
|
-
* This source code is licensed under the MIT license found in the
|
|
65
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
66
|
-
*
|
|
67
|
-
* @license MIT
|
|
68
|
-
*/
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 377.59c252c4.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunkTracingGanttChart=self.webpackChunkTracingGanttChart||[]).push([["377"],{5895:function(e,t,r){r.r(t),r.d(t,{useSearchParams:()=>rx,matchPath:()=>O,createHashRouter:()=>rt,useViewTransitionState:()=>rO,useRoutes:()=>td,UNSAFE_NavigationContext:()=>e2,UNSAFE_useRouteId:()=>tS,unstable_HistoryRouter:()=>rp,useNavigationType:()=>tr,redirect:()=>Q,isRouteErrorResponse:()=>er,NavigationType:()=>c,useMatches:()=>tC,Router:()=>tH,useRouteError:()=>tk,Link:()=>ry,createPath:()=>C,resolvePath:()=>B,useBeforeUnload:()=>rj,createRoutesFromChildren:()=>tq,NavLink:()=>rg,useSubmit:()=>rD,renderMatches:()=>tX,createBrowserRouter:()=>re,ScrollRestoration:()=>rb,useFetcher:()=>rk,generatePath:()=>M,AbortedDeferredError:()=>q,Outlet:()=>tI,useFormAction:()=>rL,MemoryRouter:()=>tN,Form:()=>rw,HashRouter:()=>rf,Navigate:()=>tB,RouterProvider:()=>rc,createMemoryRouter:()=>tQ,UNSAFE_DataRouterStateContext:()=>e4,useHref:()=>e9,useBlocker:()=>tU,useLinkClickHandler:()=>rR,Await:()=>t$,createSearchParams:()=>t4,replace:()=>ee,parsePath:()=>P,defer:()=>G,json:()=>Y,BrowserRouter:()=>rh,matchRoutes:()=>_,useAsyncValue:()=>t_,useAsyncError:()=>tA,useLocation:()=>tt,UNSAFE_RouteContext:()=>e6,UNSAFE_FetchersContext:()=>ra,useNavigate:()=>to,useParams:()=>tu,useResolvedPath:()=>tc,Routes:()=>tW,UNSAFE_ViewTransitionContext:()=>rn,useActionData:()=>tL,useOutlet:()=>ts,useRevalidator:()=>tx,UNSAFE_ErrorResponseImpl:()=>et,UNSAFE_LocationContext:()=>e3,UNSAFE_useScrollRestoration:()=>rU,createRoutesFromElements:()=>tq,redirectDocument:()=>Z,unstable_usePrompt:()=>rM,useMatch:()=>tn,useRouteLoaderData:()=>tD,useFetchers:()=>r_,UNSAFE_DataRouterContext:()=>e7,useLoaderData:()=>tP,Route:()=>tz,useInRouterContext:()=>te,useNavigation:()=>tR,useOutletContext:()=>tl});var n,a,o,i,l,s,u,c,d,h,f,p=r(4538),m=r(6085);function v(){return(v=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}).apply(this,arguments)}(n=c||(c={})).Pop="POP",n.Push="PUSH",n.Replace="REPLACE";let y="popstate";function g(e){let t;void 0===e&&(e={});let{initialEntries:r=["/"],initialIndex:n,v5Compat:a=!1}=e;t=r.map((e,t)=>u(e,"string"==typeof e?null:e.state,0===t?"default":void 0));let o=s(null==n?t.length-1:n),i=c.Pop,l=null;function s(e){return Math.min(Math.max(e,0),t.length-1)}function u(e,r,n){void 0===r&&(r=null);let a=x(t?t[o].pathname:"/",e,r,n);return S("/"===a.pathname.charAt(0),"relative pathnames are not supported in memory history: "+JSON.stringify(e)),a}function d(e){return"string"==typeof e?e:C(e)}return{get index(){return o},get action(){return i},get location(){return t[o]},createHref:d,createURL:e=>new URL(d(e),"http://localhost"),encodeLocation(e){let t="string"==typeof e?P(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push(e,r){i=c.Push;let n=u(e,r);o+=1,t.splice(o,t.length,n),a&&l&&l({action:i,location:n,delta:1})},replace(e,r){i=c.Replace;let n=u(e,r);t[o]=n,a&&l&&l({action:i,location:n,delta:0})},go(e){i=c.Pop;let r=s(o+e),n=t[r];o=r,l&&l({action:i,location:n,delta:e})},listen:e=>(l=e,()=>{l=null})}}function w(e){return void 0===e&&(e={}),D(function(e,t){let{pathname:r,search:n,hash:a}=e.location;return x("",{pathname:r,search:n,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"==typeof t?t:C(t)},null,e)}function b(e){return void 0===e&&(e={}),D(function(e,t){let{pathname:r="/",search:n="",hash:a=""}=P(e.location.hash.substr(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),x("",{pathname:r,search:n,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){let r=e.document.querySelector("base"),n="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");n=-1===r?t:t.slice(0,r)}return n+"#"+("string"==typeof t?t:C(t))},function(e,t){S("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")},e)}function E(e,t){if(!1===e||null==e)throw Error(t)}function S(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw Error(t)}catch(e){}}}function R(e,t){return{usr:e.state,key:e.key,idx:t}}function x(e,t,r,n){return void 0===r&&(r=null),v({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?P(t):t,{state:r,key:t&&t.key||n||Math.random().toString(36).substr(2,8)})}function C(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 P(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 D(e,t,r,n){void 0===n&&(n={});let{window:a=document.defaultView,v5Compat:o=!1}=n,i=a.history,l=c.Pop,s=null,u=d();function d(){return(i.state||{idx:null}).idx}function h(){l=c.Pop;let e=d(),t=null==e?null:e-u;u=e,s&&s({action:l,location:p.location,delta:t})}function f(e){let t="null"!==a.location.origin?a.location.origin:a.location.href,r="string"==typeof e?e:C(e);return E(t,"No window.location.(origin|href) available to create URL for href: "+(r=r.replace(/ $/,"%20"))),new URL(r,t)}null==u&&(u=0,i.replaceState(v({},i.state,{idx:u}),""));let p={get action(){return l},get location(){return e(a,i)},listen(e){if(s)throw Error("A history only accepts one active listener");return a.addEventListener(y,h),s=e,()=>{a.removeEventListener(y,h),s=null}},createHref:e=>t(a,e),createURL:f,encodeLocation(e){let t=f(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){l=c.Push;let n=x(p.location,e,t);r&&r(n,e);let h=R(n,u=d()+1),f=p.createHref(n);try{i.pushState(h,"",f)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;a.location.assign(f)}o&&s&&s({action:l,location:p.location,delta:1})},replace:function(e,t){l=c.Replace;let n=x(p.location,e,t);r&&r(n,e);let a=R(n,u=d()),h=p.createHref(n);i.replaceState(a,"",h),o&&s&&s({action:l,location:p.location,delta:0})},go:e=>i.go(e)};return p}(a=d||(d={})).data="data",a.deferred="deferred",a.redirect="redirect",a.error="error";let L=new Set(["lazy","caseSensitive","path","id","index","children"]);function k(e,t,r,n){return void 0===r&&(r=[]),void 0===n&&(n={}),e.map((e,a)=>{let o=[...r,String(a)],i="string"==typeof e.id?e.id:o.join("-");if(E(!0!==e.index||!e.children,"Cannot specify children on an index route"),E(!n[i],'Found a route id collision on id "'+i+"\". Route id's must be globally unique within Data Router usages"),!0===e.index){let r=v({},e,t(e),{id:i});return n[i]=r,r}{let r=v({},e,t(e),{id:i,children:void 0});return n[i]=r,e.children&&(r.children=k(e.children,t,o,n)),r}})}function _(e,t,r){return void 0===r&&(r="/"),A(e,t,r,!1)}function A(e,t,r,n){let a=N(("string"==typeof t?P(t):t).pathname||"/",r);if(null==a)return null;let o=function e(t,r,n,a){void 0===r&&(r=[]),void 0===n&&(n=[]),void 0===a&&(a="");let o=(t,o,i)=>{let l={relativePath:void 0===i?t.path||"":i,caseSensitive:!0===t.caseSensitive,childrenIndex:o,route:t};l.relativePath.startsWith("/")&&(E(l.relativePath.startsWith(a),'Absolute route path "'+l.relativePath+'" nested under path "'+a+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),l.relativePath=l.relativePath.slice(a.length));let s=$([a,l.relativePath]),u=n.concat(l);if(t.children&&t.children.length>0&&(E(!0!==t.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),e(t.children,r,u,s)),null!=t.path||t.index){var c,d;let e,n;r.push({path:s,score:(c=s,d=t.index,n=(e=c.split("/")).length,e.some(j)&&(n+=-2),d&&(n+=2),e.filter(e=>!j(e)).reduce((e,t)=>e+(U.test(t)?3:""===t?1:10),n)),routesMeta:u})}};return t.forEach((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of function e(t){let r=t.split("/");if(0===r.length)return[];let[n,...a]=r,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(0===a.length)return o?[i,""]:[i];let l=e(a.join("/")),s=[];return s.push(...l.map(e=>""===e?i:[i,e].join("/"))),o&&s.push(...l),s.map(e=>t.startsWith("/")&&""===e?"/":e)}(e.path))o(e,t,r);else o(e,t)}),r}(e);!function(e){e.sort((e,t)=>{var r,n;return e.score!==t.score?t.score-e.score:(r=e.routesMeta.map(e=>e.childrenIndex),n=t.routesMeta.map(e=>e.childrenIndex),r.length===n.length&&r.slice(0,-1).every((e,t)=>e===n[t])?r[r.length-1]-n[n.length-1]:0)})}(o);let i=null;for(let e=0;null==i&&e<o.length;++e){let t=F(a);i=function(e,t,r){void 0===r&&(r=!1);let{routesMeta:n}=e,a={},o="/",i=[];for(let e=0;e<n.length;++e){let l=n[e],s=e===n.length-1,u="/"===o?t:t.slice(o.length)||"/",c=O({path:l.relativePath,caseSensitive:l.caseSensitive,end:s},u),d=l.route;if(!c&&s&&r&&!n[n.length-1].route.index&&(c=O({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},u)),!c)return null;Object.assign(a,c.params),i.push({params:a,pathname:$([o,c.pathname]),pathnameBase:V($([o,c.pathnameBase])),route:d}),"/"!==c.pathnameBase&&(o=$([o,c.pathnameBase]))}return i}(o[e],t,n)}return i}function T(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}}let U=/^:[\w-]+$/,j=e=>"*"===e;function M(e,t){void 0===t&&(t={});let r=e;r.endsWith("*")&&"*"!==r&&!r.endsWith("/*")&&(S(!1,'Route path "'+r+'" will be treated as if it were "'+r.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+r.replace(/\*$/,"/*")+'".'),r=r.replace(/\*$/,"/*"));let n=r.startsWith("/")?"/":"",a=e=>null==e?"":"string"==typeof e?e:String(e);return n+r.split(/\/+/).map((e,r,n)=>{if(r===n.length-1&&"*"===e)return a(t["*"]);let o=e.match(/^:([\w-]+)(\??)$/);if(o){let[,e,r]=o,n=t[e];return E("?"===r||null!=n,'Missing ":'+e+'" param'),a(n)}return e.replace(/\?$/g,"")}).filter(e=>!!e).join("/")}function O(e,t){var r,n,a;let o,i;"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[l,s]=(r=e.path,n=e.caseSensitive,a=e.end,void 0===n&&(n=!1),void 0===a&&(a=!0),S("*"===r||!r.endsWith("*")||r.endsWith("/*"),'Route path "'+r+'" will be treated as if it were "'+r.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+r.replace(/\*$/,"/*")+'".'),o=[],i="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,r)=>(o.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")),r.endsWith("*")?(o.push({paramName:"*"}),i+="*"===r||"/*"===r?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?i+="\\/*$":""!==r&&"/"!==r&&(i+="(?:(?=\\/|$))"),[new RegExp(i,n?void 0:"i"),o]),u=t.match(l);if(!u)return null;let c=u[0],d=c.replace(/(.)\/+$/,"$1"),h=u.slice(1);return{params:s.reduce((e,t,r)=>{let{paramName:n,isOptional:a}=t;if("*"===n){let e=h[r]||"";d=c.slice(0,c.length-e.length).replace(/(.)\/+$/,"$1")}let o=h[r];return a&&!o?e[n]=void 0:e[n]=(o||"").replace(/%2F/g,"/"),e},{}),pathname:c,pathnameBase:d,pattern:e}}function F(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return S(!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 N(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 B(e,t){var r;let n;void 0===t&&(t="/");let{pathname:a,search:o="",hash:i=""}="string"==typeof e?P(e):e;return{pathname:a?a.startsWith("/")?a:(r=a,n=t.replace(/\/+$/,"").split("/"),r.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"):t,search:J(o),hash:K(i)}}function I(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 z(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}function H(e,t){let r=z(e);return t?r.map((e,t)=>t===r.length-1?e.pathname:e.pathnameBase):r.map(e=>e.pathnameBase)}function W(e,t,r,n){let a,o;void 0===n&&(n=!1),"string"==typeof e?a=P(e):(E(!(a=v({},e)).pathname||!a.pathname.includes("?"),I("?","pathname","search",a)),E(!a.pathname||!a.pathname.includes("#"),I("#","pathname","hash",a)),E(!a.search||!a.search.includes("#"),I("#","search","hash",a)));let i=""===e||""===a.pathname,l=i?"/":a.pathname;if(null==l)o=r;else{let e=t.length-1;if(!n&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}o=e>=0?t[e]:"/"}let s=B(a,o),u=l&&"/"!==l&&l.endsWith("/"),c=(i||"."===l)&&r.endsWith("/");return!s.pathname.endsWith("/")&&(u||c)&&(s.pathname+="/"),s}let $=e=>e.join("/").replace(/\/\/+/g,"/"),V=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),J=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",K=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",Y=function(e,t){void 0===t&&(t={});let r="number"==typeof t?{status:t}:t,n=new Headers(r.headers);return n.has("Content-Type")||n.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(e),v({},r,{headers:n}))};class q extends Error{}class X{constructor(e,t){let r;this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],E(e&&"object"==typeof e&&!Array.isArray(e),"defer() only accepts plain objects"),this.abortPromise=new Promise((e,t)=>r=t),this.controller=new AbortController;let n=()=>r(new q("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",n),this.controller.signal.addEventListener("abort",n),this.data=Object.entries(e).reduce((e,t)=>{let[r,n]=t;return Object.assign(e,{[r]:this.trackPromise(r,n)})},{}),this.done&&this.unlistenAbortSignal(),this.init=t}trackPromise(e,t){if(!(t instanceof Promise))return t;this.deferredKeys.push(e),this.pendingKeysSet.add(e);let r=Promise.race([t,this.abortPromise]).then(t=>this.onSettle(r,e,void 0,t),t=>this.onSettle(r,e,t));return r.catch(()=>{}),Object.defineProperty(r,"_tracked",{get:()=>!0}),r}onSettle(e,t,r,n){if(this.controller.signal.aborted&&r instanceof q)return this.unlistenAbortSignal(),Object.defineProperty(e,"_error",{get:()=>r}),Promise.reject(r);if(this.pendingKeysSet.delete(t),this.done&&this.unlistenAbortSignal(),void 0===r&&void 0===n){let r=Error('Deferred data for key "'+t+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(e,"_error",{get:()=>r}),this.emit(!1,t),Promise.reject(r)}return void 0===n?(Object.defineProperty(e,"_error",{get:()=>r}),this.emit(!1,t),Promise.reject(r)):(Object.defineProperty(e,"_data",{get:()=>n}),this.emit(!1,t),n)}emit(e,t){this.subscribers.forEach(r=>r(e,t))}subscribe(e){return this.subscribers.add(e),()=>this.subscribers.delete(e)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((e,t)=>this.pendingKeysSet.delete(t)),this.emit(!0)}async resolveData(e){let t=!1;if(!this.done){let r=()=>this.cancel();e.addEventListener("abort",r),t=await new Promise(t=>{this.subscribe(n=>{e.removeEventListener("abort",r),(n||this.done)&&t(n)})})}return t}get done(){return 0===this.pendingKeysSet.size}get unwrappedData(){return E(null!==this.data&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((e,t)=>{let[r,n]=t;return Object.assign(e,{[r]:function(e){if(!(e instanceof Promise&&!0===e._tracked))return e;if(e._error)throw e._error;return e._data}(n)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}let G=function(e,t){return void 0===t&&(t={}),new X(e,"number"==typeof t?{status:t}:t)},Q=function(e,t){void 0===t&&(t=302);let r=t;"number"==typeof r?r={status:r}:void 0===r.status&&(r.status=302);let n=new Headers(r.headers);return n.set("Location",e),new Response(null,v({},r,{headers:n}))},Z=(e,t)=>{let r=Q(e,t);return r.headers.set("X-Remix-Reload-Document","true"),r},ee=(e,t)=>{let r=Q(e,t);return r.headers.set("X-Remix-Replace","true"),r};class et{constructor(e,t,r,n){void 0===n&&(n=!1),this.status=e,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function er(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}let en=["post","put","patch","delete"],ea=new Set(en),eo=new Set(["get",...en]),ei=new Set([301,302,303,307,308]),el=new Set([307,308]),es={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},eu={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ec={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},ed=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,eh=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),ef="remix-router-transitions";function ep(e){let t,r,n,a,o,i;let l=e.window?e.window:"undefined"!=typeof window?window:void 0,s=void 0!==l&&void 0!==l.document&&void 0!==l.document.createElement,u=!s;if(E(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)t=e.mapRouteProperties;else if(e.detectErrorBoundary){let r=e.detectErrorBoundary;t=e=>({hasErrorBoundary:r(e)})}else t=eh;let h={},f=k(e.routes,t,void 0,h),p=e.basename||"/",m=e.dataStrategy||ex,y=e.patchRoutesOnNavigation,g=v({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),w=null,b=new Set,R=null,C=null,P=null,D=null!=e.hydrationData,L=_(f,e.history.location,p),U=!1,j=null;if(null==L&&!y){let t=eF(404,{pathname:e.history.location.pathname}),{matches:r,route:n}=eO(f);L=r,j={[n.id]:t}}if(L&&!e.hydrationData&&to(L,f,e.history.location.pathname).active&&(L=null),L){if(L.some(e=>e.route.lazy))n=!1;else if(L.some(e=>e.route.loader)){if(g.v7_partialHydration){let t=e.hydrationData?e.hydrationData.loaderData:null,r=e.hydrationData?e.hydrationData.errors:null;if(r){let e=L.findIndex(e=>void 0!==r[e.route.id]);n=L.slice(0,e+1).every(e=>!ew(e.route,t,r))}else n=L.every(e=>!ew(e.route,t,r))}else n=null!=e.hydrationData}else n=!0}else if(n=!1,L=[],g.v7_partialHydration){let t=to(null,f,e.history.location.pathname);t.active&&t.matches&&(U=!0,L=t.matches)}let M={historyAction:e.history.action,location:e.history.location,matches:L,initialized:n,navigation:es,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||j,fetchers:new Map,blockers:new Map},O=c.Pop,F=!1,B=!1,I=new Map,z=null,H=!1,W=!1,$=[],V=new Set,J=new Map,K=0,Y=-1,q=new Map,X=new Set,G=new Map,Q=new Map,Z=new Set,ee=new Map,et=new Map;function en(e,t){void 0===t&&(t={}),M=v({},M,e);let r=[],n=[];g.v7_fetcherPersist&&M.fetchers.forEach((e,t)=>{"idle"===e.state&&(Z.has(t)?n.push(t):r.push(t))}),Z.forEach(e=>{M.fetchers.has(e)||J.has(e)||n.push(e)}),[...b].forEach(e=>e(M,{deletedFetchers:n,viewTransitionOpts:t.viewTransitionOpts,flushSync:!0===t.flushSync})),g.v7_fetcherPersist?(r.forEach(e=>M.fetchers.delete(e)),n.forEach(e=>e4(e))):n.forEach(e=>Z.delete(e))}function ea(t,n,a){var o,i;let l,s;let{flushSync:u}=void 0===a?{}:a,d=null!=M.actionData&&null!=M.navigation.formMethod&&eV(M.navigation.formMethod)&&"loading"===M.navigation.state&&(null==(o=t.state)?void 0:o._isRedirect)!==!0;l=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:d?M.actionData:null;let h=n.loaderData?eU(M.loaderData,n.loaderData,n.matches||[],n.errors):M.loaderData,p=M.blockers;p.size>0&&(p=new Map(p)).forEach((e,t)=>p.set(t,ec));let m=!0===F||null!=M.navigation.formMethod&&eV(M.navigation.formMethod)&&(null==(i=t.state)?void 0:i._isRedirect)!==!0;if(r&&(f=r,r=void 0),H||O===c.Pop||(O===c.Push?e.history.push(t,t.state):O===c.Replace&&e.history.replace(t,t.state)),O===c.Pop){let e=I.get(M.location.pathname);e&&e.has(t.pathname)?s={currentLocation:M.location,nextLocation:t}:I.has(t.pathname)&&(s={currentLocation:t,nextLocation:M.location})}else if(B){let e=I.get(M.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),I.set(M.location.pathname,e)),s={currentLocation:M.location,nextLocation:t}}en(v({},n,{actionData:l,loaderData:h,historyAction:O,location:t,initialized:!0,navigation:es,revalidation:"idle",restoreScrollPosition:ta(t,n.matches||M.matches),preventScrollReset:m,blockers:p}),{viewTransitionOpts:s,flushSync:!0===u}),O=c.Pop,F=!1,B=!1,H=!1,W=!1,$=[]}async function eo(t,r){if("number"==typeof t){e.history.go(t);return}let n=em(M.location,M.matches,p,g.v7_prependBasename,t,g.v7_relativeSplatPath,null==r?void 0:r.fromRouteId,null==r?void 0:r.relative),{path:a,submission:o,error:i}=ev(g.v7_normalizeFormMethod,!1,n,r),l=M.location,s=x(M.location,a,r&&r.state);s=v({},s,e.history.encodeLocation(s));let u=r&&null!=r.replace?r.replace:void 0,d=c.Push;!0===u?d=c.Replace:!1===u||null!=o&&eV(o.formMethod)&&o.formAction===M.location.pathname+M.location.search&&(d=c.Replace);let h=r&&"preventScrollReset"in r?!0===r.preventScrollReset:void 0,f=!0===(r&&r.flushSync),m=te({currentLocation:l,nextLocation:s,historyAction:d});if(m){e9(m,{state:"blocked",location:s,proceed(){e9(m,{state:"proceeding",proceed:void 0,reset:void 0,location:s}),eo(t,r)},reset(){let e=new Map(M.blockers);e.set(m,ec),en({blockers:e})}});return}return await ep(d,s,{submission:o,pendingError:i,preventScrollReset:h,replace:r&&r.replace,enableViewTransition:r&&r.viewTransition,flushSync:f})}async function ep(t,n,a){var i,l,s,u;let c;o&&o.abort(),o=null,O=t,H=!0===(a&&a.startUninterruptedRevalidation),i=M.location,l=M.matches,R&&P&&(R[tn(i,l)]=P()),F=!0===(a&&a.preventScrollReset),B=!0===(a&&a.enableViewTransition);let h=r||f,m=a&&a.overrideNavigation,y=null!=a&&a.initialHydration&&M.matches&&M.matches.length>0&&!U?M.matches:_(h,n,p),g=!0===(a&&a.flushSync);if(y&&M.initialized&&!W&&(s=M.location,u=n,s.pathname===u.pathname&&s.search===u.search&&(""===s.hash?""!==u.hash:s.hash===u.hash||""!==u.hash))&&!(a&&a.submission&&eV(a.submission.formMethod))){ea(n,{matches:y},{flushSync:g});return}let w=to(y,h,n.pathname);if(w.active&&w.matches&&(y=w.matches),!y){let{error:e,notFoundMatches:t,route:r}=tt(n.pathname);ea(n,{matches:t,loaderData:{},errors:{[r.id]:e}},{flushSync:g});return}o=new AbortController;let b=ek(e.history,n,o.signal,a&&a.submission);if(a&&a.pendingError)c=[eM(y).route.id,{type:d.error,error:a.pendingError}];else if(a&&a.submission&&eV(a.submission.formMethod)){let t=await ey(b,n,a.submission,y,w.active,{replace:a.replace,flushSync:g});if(t.shortCircuited)return;if(t.pendingActionResult){let[e,r]=t.pendingActionResult;if(ez(r)&&er(r.error)&&404===r.error.status){o=null,ea(n,{matches:t.matches,loaderData:{},errors:{[e]:r.error}});return}}y=t.matches||y,c=t.pendingActionResult,m=eQ(n,a.submission),g=!1,w.active=!1,b=ek(e.history,b.url,b.signal)}let{shortCircuited:E,matches:S,loaderData:x,errors:C}=await eb(b,n,y,w.active,m,a&&a.submission,a&&a.fetcherSubmission,a&&a.replace,a&&!0===a.initialHydration,g,c);!E&&(o=null,ea(n,v({matches:S||y},ej(c),{loaderData:x,errors:C})))}async function ey(e,t,r,n,a,o){var i;let l;if(void 0===o&&(o={}),eW(),en({navigation:{state:"submitting",location:t,formMethod:(i=r).formMethod,formAction:i.formAction,formEncType:i.formEncType,formData:i.formData,json:i.json,text:i.text}},{flushSync:!0===o.flushSync}),a){let r=await ti(n,t.pathname,e.signal);if("aborted"===r.type)return{shortCircuited:!0};if("error"===r.type){let e=eM(r.partialMatches).route.id;return{matches:r.partialMatches,pendingActionResult:[e,{type:d.error,error:r.error}]}}if(r.matches)n=r.matches;else{let{notFoundMatches:e,error:r,route:n}=tt(t.pathname);return{matches:e,pendingActionResult:[n.id,{type:d.error,error:r}]}}}let s=eX(n,t);if(s.route.action||s.route.lazy){if(l=(await eA("action",M,e,[s],n,null))[s.route.id],e.signal.aborted)return{shortCircuited:!0}}else l={type:d.error,error:eF(405,{method:e.method,pathname:t.pathname,routeId:s.route.id})};if(eH(l)){let t;return t=o&&null!=o.replace?o.replace:eL(l.response.headers.get("Location"),new URL(e.url),p)===M.location.pathname+M.location.search,await e_(e,l,!0,{submission:r,replace:t}),{shortCircuited:!0}}if(eI(l))throw eF(400,{type:"defer-action"});if(ez(l)){let e=eM(n,s.route.id);return!0!==(o&&o.replace)&&(O=c.Push),{matches:n,pendingActionResult:[e.route.id,l]}}return{matches:n,pendingActionResult:[s.route.id,l]}}async function eb(t,n,a,i,l,s,u,c,d,h,m){let y=l||eQ(n,s),w=s||u||eG(y),b=!H&&(!g.v7_partialHydration||!d);if(i){if(b){let e=eE(m);en(v({navigation:y},void 0!==e?{actionData:e}:{}),{flushSync:h})}let e=await ti(a,n.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let t=eM(e.partialMatches).route.id;return{matches:e.partialMatches,loaderData:{},errors:{[t]:e.error}}}if(e.matches)a=e.matches;else{let{error:e,notFoundMatches:t,route:r}=tt(n.pathname);return{matches:t,loaderData:{},errors:{[r.id]:e}}}}let E=r||f,[S,R]=eg(e.history,M,a,w,n,g.v7_partialHydration&&!0===d,g.v7_skipActionErrorRevalidation,W,$,V,Z,G,X,E,p,m);if(tr(e=>!(a&&a.some(t=>t.route.id===e))||S&&S.some(t=>t.route.id===e)),Y=++K,0===S.length&&0===R.length){let e=e3();return ea(n,v({matches:a,loaderData:{},errors:m&&ez(m[1])?{[m[0]]:m[1].error}:null},ej(m),e?{fetchers:new Map(M.fetchers)}:{}),{flushSync:h}),{shortCircuited:!0}}if(b){let e={};if(!i){e.navigation=y;let t=eE(m);void 0!==t&&(e.actionData=t)}R.length>0&&(e.fetchers=(R.forEach(e=>{let t=M.fetchers.get(e.key),r=eZ(void 0,t?t.data:void 0);M.fetchers.set(e.key,r)}),new Map(M.fetchers))),en(e,{flushSync:h})}R.forEach(e=>{e5(e.key),e.controller&&J.set(e.key,e.controller)});let x=()=>R.forEach(e=>e5(e.key));o&&o.signal.addEventListener("abort",x);let{loaderResults:C,fetcherResults:P}=await eB(M,a,S,R,t);if(t.signal.aborted)return{shortCircuited:!0};o&&o.signal.removeEventListener("abort",x),R.forEach(e=>J.delete(e.key));let D=eN(C);if(D)return await e_(t,D.result,!0,{replace:c}),{shortCircuited:!0};if(D=eN(P))return X.add(D.key),await e_(t,D.result,!0,{replace:c}),{shortCircuited:!0};let{loaderData:L,errors:k}=eT(M,a,C,m,R,P,ee);ee.forEach((e,t)=>{e.subscribe(r=>{(r||e.done)&&ee.delete(t)})}),g.v7_partialHydration&&d&&M.errors&&(k=v({},M.errors,k));let _=e3(),A=e6(Y),T=_||A||R.length>0;return v({matches:a,loaderData:L,errors:k},T?{fetchers:new Map(M.fetchers)}:{})}function eE(e){return e&&!ez(e[1])?{[e[0]]:e[1].data}:M.actionData?0===Object.keys(M.actionData).length?null:M.actionData:void 0}async function eR(t,n,a,i,l,s,u,c,d){var h,m;function v(e){if(!e.route.action&&!e.route.lazy){let e=eF(405,{method:d.formMethod,pathname:a,routeId:n});return e1(t,n,e,{flushSync:u}),!0}return!1}if(eW(),G.delete(t),!s&&v(i))return;let y=M.fetchers.get(t);eq(t,(h=d,m=y,{state:"submitting",formMethod:h.formMethod,formAction:h.formAction,formEncType:h.formEncType,formData:h.formData,json:h.json,text:h.text,data:m?m.data:void 0}),{flushSync:u});let w=new AbortController,b=ek(e.history,a,w.signal,d);if(s){let e=await ti(l,new URL(b.url).pathname,b.signal,t);if("aborted"===e.type)return;if("error"===e.type){e1(t,n,e.error,{flushSync:u});return}if(e.matches){if(v(i=eX(l=e.matches,a)))return}else{e1(t,n,eF(404,{pathname:a}),{flushSync:u});return}}J.set(t,w);let S=K,R=(await eA("action",M,b,[i],l,t))[i.route.id];if(b.signal.aborted){J.get(t)===w&&J.delete(t);return}if(g.v7_fetcherPersist&&Z.has(t)){if(eH(R)||ez(R)){eq(t,e0(void 0));return}}else{if(eH(R))return(J.delete(t),Y>S)?(eq(t,e0(void 0)),void 0):(X.add(t),eq(t,eZ(d)),e_(b,R,!1,{fetcherSubmission:d,preventScrollReset:c}));if(ez(R)){e1(t,n,R.error);return}}if(eI(R))throw eF(400,{type:"defer-action"});let x=M.navigation.location||M.location,C=ek(e.history,x,w.signal),P=r||f,D="idle"!==M.navigation.state?_(P,M.navigation.location,p):M.matches;E(D,"Didn't find any matches after fetcher action");let L=++K;q.set(t,L);let k=eZ(d,R.data);M.fetchers.set(t,k);let[A,T]=eg(e.history,M,D,d,x,!1,g.v7_skipActionErrorRevalidation,W,$,V,Z,G,X,P,p,[i.route.id,R]);T.filter(e=>e.key!==t).forEach(e=>{let t=e.key,r=M.fetchers.get(t),n=eZ(void 0,r?r.data:void 0);M.fetchers.set(t,n),e5(t),e.controller&&J.set(t,e.controller)}),en({fetchers:new Map(M.fetchers)});let U=()=>T.forEach(e=>e5(e.key));w.signal.addEventListener("abort",U);let{loaderResults:j,fetcherResults:F}=await eB(M,D,A,T,C);if(w.signal.aborted)return;w.signal.removeEventListener("abort",U),q.delete(t),J.delete(t),T.forEach(e=>J.delete(e.key));let N=eN(j);if(N)return e_(C,N.result,!1,{preventScrollReset:c});if(N=eN(F))return X.add(N.key),e_(C,N.result,!1,{preventScrollReset:c});let{loaderData:B,errors:I}=eT(M,D,j,void 0,T,F,ee);if(M.fetchers.has(t)){let e=e0(R.data);M.fetchers.set(t,e)}e6(L),"loading"===M.navigation.state&&L>Y?(E(O,"Expected pending action"),o&&o.abort(),ea(M.navigation.location,{matches:D,loaderData:B,errors:I,fetchers:new Map(M.fetchers)})):(en({errors:I,loaderData:eU(M.loaderData,B,D,I),fetchers:new Map(M.fetchers)}),W=!1)}async function eP(t,r,n,a,o,i,l,s,u){let c=M.fetchers.get(t);eq(t,eZ(u,c?c.data:void 0),{flushSync:l});let d=new AbortController,h=ek(e.history,n,d.signal);if(i){let e=await ti(o,new URL(h.url).pathname,h.signal,t);if("aborted"===e.type)return;if("error"===e.type){e1(t,r,e.error,{flushSync:l});return}if(e.matches)a=eX(o=e.matches,n);else{e1(t,r,eF(404,{pathname:n}),{flushSync:l});return}}J.set(t,d);let f=K,p=(await eA("loader",M,h,[a],o,t))[a.route.id];if(eI(p)&&(p=await eY(p,h.signal,!0)||p),J.get(t)===d&&J.delete(t),!h.signal.aborted){if(Z.has(t)){eq(t,e0(void 0));return}if(eH(p)){if(Y>f){eq(t,e0(void 0));return}X.add(t),await e_(h,p,!1,{preventScrollReset:s});return}if(ez(p)){e1(t,r,p.error);return}E(!eI(p),"Unhandled fetcher deferred data"),eq(t,e0(p.data))}}async function e_(t,r,n,a){let{submission:i,fetcherSubmission:u,preventScrollReset:d,replace:h}=void 0===a?{}:a;r.response.headers.has("X-Remix-Revalidate")&&(W=!0);let f=r.response.headers.get("Location");E(f,"Expected a Location header on the redirect Response"),f=eL(f,new URL(t.url),p);let m=x(M.location,f,{_isRedirect:!0});if(s){let t=!1;if(r.response.headers.has("X-Remix-Reload-Document"))t=!0;else if(ed.test(f)){let r=e.history.createURL(f);t=r.origin!==l.location.origin||null==N(r.pathname,p)}if(t){h?l.location.replace(f):l.location.assign(f);return}}o=null;let y=!0===h||r.response.headers.has("X-Remix-Replace")?c.Replace:c.Push,{formMethod:g,formAction:w,formEncType:b}=M.navigation;!i&&!u&&g&&w&&b&&(i=eG(M.navigation));let S=i||u;if(el.has(r.response.status)&&S&&eV(S.formMethod))await ep(y,m,{submission:v({},S,{formAction:f}),preventScrollReset:d||F,enableViewTransition:n?B:void 0});else{let e=eQ(m,i);await ep(y,m,{overrideNavigation:e,fetcherSubmission:u,preventScrollReset:d||F,enableViewTransition:n?B:void 0})}}async function eA(e,r,n,a,o,i){let l;let s={};try{l=await eC(m,e,r,n,a,o,i,h,t)}catch(e){return a.forEach(t=>{s[t.route.id]={type:d.error,error:e}}),s}for(let[e,t]of Object.entries(l)){var u;if(e$((u=t).result)&&ei.has(u.result.status)){let r=t.result;s[e]={type:d.redirect,response:function(e,t,r,n,a,o){let i=e.headers.get("Location");if(E(i,"Redirects returned/thrown from loaders/actions must have a Location header"),!ed.test(i)){let l=n.slice(0,n.findIndex(e=>e.route.id===r)+1);i=em(new URL(t.url),l,a,!0,i,o),e.headers.set("Location",i)}return e}(r,n,e,o,p,g.v7_relativeSplatPath)}}else s[e]=await eD(t)}return s}async function eB(t,r,n,a,o){let i=t.matches,l=eA("loader",t,o,n,r,null),s=Promise.all(a.map(async r=>{if(!r.matches||!r.match||!r.controller)return Promise.resolve({[r.key]:{type:d.error,error:eF(404,{pathname:r.path})}});{let n=(await eA("loader",t,ek(e.history,r.path,r.controller.signal),[r.match],r.matches,r.key))[r.match.route.id];return{[r.key]:n}}})),u=await l,c=(await s).reduce((e,t)=>Object.assign(e,t),{});return await Promise.all([eJ(r,u,o.signal,i,t.loaderData),eK(r,c,a)]),{loaderResults:u,fetcherResults:c}}function eW(){W=!0,$.push(...tr()),G.forEach((e,t)=>{J.has(t)&&V.add(t),e5(t)})}function eq(e,t,r){void 0===r&&(r={}),M.fetchers.set(e,t),en({fetchers:new Map(M.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function e1(e,t,r,n){void 0===n&&(n={});let a=eM(M.matches,t);e4(e),en({errors:{[a.route.id]:r},fetchers:new Map(M.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function e7(e){return Q.set(e,(Q.get(e)||0)+1),Z.has(e)&&Z.delete(e),M.fetchers.get(e)||eu}function e4(e){let t=M.fetchers.get(e);J.has(e)&&!(t&&"loading"===t.state&&q.has(e))&&e5(e),G.delete(e),q.delete(e),X.delete(e),g.v7_fetcherPersist&&Z.delete(e),V.delete(e),M.fetchers.delete(e)}function e5(e){let t=J.get(e);t&&(t.abort(),J.delete(e))}function e2(e){for(let t of e){let e=e0(e7(t).data);M.fetchers.set(t,e)}}function e3(){let e=[],t=!1;for(let r of X){let n=M.fetchers.get(r);E(n,"Expected fetcher: "+r),"loading"===n.state&&(X.delete(r),e.push(r),t=!0)}return e2(e),t}function e6(e){let t=[];for(let[r,n]of q)if(n<e){let e=M.fetchers.get(r);E(e,"Expected fetcher: "+r),"loading"===e.state&&(e5(r),q.delete(r),t.push(r))}return e2(t),t.length>0}function e8(e){M.blockers.delete(e),et.delete(e)}function e9(e,t){let r=M.blockers.get(e)||ec;E("unblocked"===r.state&&"blocked"===t.state||"blocked"===r.state&&"blocked"===t.state||"blocked"===r.state&&"proceeding"===t.state||"blocked"===r.state&&"unblocked"===t.state||"proceeding"===r.state&&"unblocked"===t.state,"Invalid blocker state transition: "+r.state+" -> "+t.state);let n=new Map(M.blockers);n.set(e,t),en({blockers:n})}function te(e){let{currentLocation:t,nextLocation:r,historyAction:n}=e;if(0===et.size)return;et.size>1&&S(!1,"A router only supports one blocker at a time");let a=Array.from(et.entries()),[o,i]=a[a.length-1],l=M.blockers.get(o);if((!l||"proceeding"!==l.state)&&i({currentLocation:t,nextLocation:r,historyAction:n}))return o}function tt(e){let t=eF(404,{pathname:e}),{matches:n,route:a}=eO(r||f);return tr(),{notFoundMatches:n,route:a,error:t}}function tr(e){let t=[];return ee.forEach((r,n)=>{(!e||e(n))&&(r.cancel(),t.push(n),ee.delete(n))}),t}function tn(e,t){return C&&C(e,t.map(e=>T(e,M.loaderData)))||e.key}function ta(e,t){if(R){let r=R[tn(e,t)];if("number"==typeof r)return r}return null}function to(e,t,r){if(y){if(!e)return{active:!0,matches:A(t,r,p,!0)||[]};if(Object.keys(e[0].params).length>0)return{active:!0,matches:A(t,r,p,!0)}}return{active:!1,matches:null}}async function ti(e,n,a,o){if(!y)return{type:"success",matches:e};let i=e;for(;;){let e=null==r,l=r||f,s=h;try{await y({signal:a,path:n,matches:i,fetcherKey:o,patch:(e,r)=>{a.aborted||eS(e,r,l,s,t)}})}catch(e){return{type:"error",error:e,partialMatches:i}}finally{e&&!a.aborted&&(f=[...f])}if(a.aborted)return{type:"aborted"};let u=_(l,n,p);if(u)return{type:"success",matches:u};let c=A(l,n,p,!0);if(!c||i.length===c.length&&i.every((e,t)=>e.route.id===c[t].route.id))return{type:"success",matches:null};i=c}}return a={get basename(){return p},get future(){return g},get state(){return M},get routes(){return f},get window(){return l},initialize:function(){if(w=e.history.listen(t=>{let{action:r,location:n,delta:a}=t;if(i){i(),i=void 0;return}S(0===et.size||null!=a,"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 o=te({currentLocation:M.location,nextLocation:n,historyAction:r});if(o&&null!=a){let t=new Promise(e=>{i=e});e.history.go(-1*a),e9(o,{state:"blocked",location:n,proceed(){e9(o,{state:"proceeding",proceed:void 0,reset:void 0,location:n}),t.then(()=>e.history.go(a))},reset(){let e=new Map(M.blockers);e.set(o,ec),en({blockers:e})}});return}return ep(r,n)}),s){!function(e,t){try{let r=e.sessionStorage.getItem(ef);if(r){let e=JSON.parse(r);for(let[r,n]of Object.entries(e||{}))n&&Array.isArray(n)&&t.set(r,new Set(n||[]))}}catch(e){}}(l,I);let e=()=>(function(e,t){if(t.size>0){let r={};for(let[e,n]of t)r[e]=[...n];try{e.sessionStorage.setItem(ef,JSON.stringify(r))}catch(e){S(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}})(l,I);l.addEventListener("pagehide",e),z=()=>l.removeEventListener("pagehide",e)}return M.initialized||ep(c.Pop,M.location,{initialHydration:!0}),a},subscribe:function(e){return b.add(e),()=>b.delete(e)},enableScrollRestoration:function(e,t,r){if(R=e,P=t,C=r||null,!D&&M.navigation===es){D=!0;let e=ta(M.location,M.matches);null!=e&&en({restoreScrollPosition:e})}return()=>{R=null,P=null,C=null}},navigate:eo,fetch:function(e,t,n,a){if(u)throw 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.");e5(e);let o=!0===(a&&a.flushSync),i=r||f,l=em(M.location,M.matches,p,g.v7_prependBasename,n,g.v7_relativeSplatPath,t,null==a?void 0:a.relative),s=_(i,l,p),c=to(s,i,l);if(c.active&&c.matches&&(s=c.matches),!s){e1(e,t,eF(404,{pathname:l}),{flushSync:o});return}let{path:d,submission:h,error:m}=ev(g.v7_normalizeFormMethod,!0,l,a);if(m){e1(e,t,m,{flushSync:o});return}let v=eX(s,d),y=!0===(a&&a.preventScrollReset);if(h&&eV(h.formMethod)){eR(e,t,d,v,s,c.active,o,y,h);return}G.set(e,{routeId:t,path:d}),eP(e,t,d,v,s,c.active,o,y,h)},revalidate:function(){if(eW(),en({revalidation:"loading"}),"submitting"!==M.navigation.state){if("idle"===M.navigation.state){ep(M.historyAction,M.location,{startUninterruptedRevalidation:!0});return}ep(O||M.historyAction,M.navigation.location,{overrideNavigation:M.navigation,enableViewTransition:!0===B})}},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:e7,deleteFetcher:function(e){let t=(Q.get(e)||0)-1;t<=0?(Q.delete(e),Z.add(e),g.v7_fetcherPersist||e4(e)):Q.set(e,t),en({fetchers:new Map(M.fetchers)})},dispose:function(){w&&w(),z&&z(),b.clear(),o&&o.abort(),M.fetchers.forEach((e,t)=>e4(t)),M.blockers.forEach((e,t)=>e8(t))},getBlocker:function(e,t){let r=M.blockers.get(e)||ec;return et.get(e)!==t&&et.set(e,t),r},deleteBlocker:e8,patchRoutes:function(e,n){let a=null==r;eS(e,n,r||f,h,t),a&&(f=[...f],en({}))},_internalFetchControllers:J,_internalActiveDeferreds:ee,_internalSetRoutes:function(e){r=k(e,t,void 0,h={})}}}function em(e,t,r,n,a,o,i,l){let s,u;if(i){for(let e of(s=[],t))if(s.push(e),e.route.id===i){u=e;break}}else s=t,u=t[t.length-1];let c=W(a||".",H(s,o),N(e.pathname,r)||e.pathname,"path"===l);if(null==a&&(c.search=e.search,c.hash=e.hash),(null==a||""===a||"."===a)&&u){let e=eq(c.search);if(u.route.index&&!e)c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index";else if(!u.route.index&&e){let e=new URLSearchParams(c.search),t=e.getAll("index");e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let r=e.toString();c.search=r?"?"+r:""}}return n&&"/"!==r&&(c.pathname="/"===c.pathname?r:$([r,c.pathname])),C(c)}function ev(e,t,r,n){var a;let o,i;if(!n||!(null!=n&&("formData"in n&&null!=n.formData||"body"in n&&void 0!==n.body)))return{path:r};if(n.formMethod&&(a=n.formMethod,!eo.has(a.toLowerCase())))return{path:r,error:eF(405,{method:n.formMethod})};let l=()=>({path:r,error:eF(400,{type:"invalid-body"})}),s=n.formMethod||"get",u=e?s.toUpperCase():s.toLowerCase(),c=eB(r);if(void 0!==n.body){if("text/plain"===n.formEncType){if(!eV(u))return l();let e="string"==typeof n.body?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((e,t)=>{let[r,n]=t;return""+e+r+"="+n+"\n"},""):String(n.body);return{path:r,submission:{formMethod:u,formAction:c,formEncType:n.formEncType,formData:void 0,json:void 0,text:e}}}if("application/json"===n.formEncType){if(!eV(u))return l();try{let e="string"==typeof n.body?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:u,formAction:c,formEncType:n.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return l()}}}if(E("function"==typeof FormData,"FormData is not available in this environment"),n.formData)o=e_(n.formData),i=n.formData;else if(n.body instanceof FormData)o=e_(n.body),i=n.body;else if(n.body instanceof URLSearchParams)i=eA(o=n.body);else if(null==n.body)o=new URLSearchParams,i=new FormData;else try{o=new URLSearchParams(n.body),i=eA(o)}catch(e){return l()}let d={formMethod:u,formAction:c,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:i,json:void 0,text:void 0};if(eV(d.formMethod))return{path:r,submission:d};let h=P(r);return t&&h.search&&eq(h.search)&&o.append("index",""),h.search="?"+o,{path:C(h),submission:d}}function ey(e,t,r){void 0===r&&(r=!1);let n=e.findIndex(e=>e.route.id===t);return n>=0?e.slice(0,r?n+1:n):e}function eg(e,t,r,n,a,o,i,l,s,u,c,d,h,f,p,m){let y=m?ez(m[1])?m[1].error:m[1].data:void 0,g=e.createURL(t.location),w=e.createURL(a),b=r;o&&t.errors?b=ey(r,Object.keys(t.errors)[0],!0):m&&ez(m[1])&&(b=ey(r,m[0]));let E=m?m[1].statusCode:void 0,S=i&&E&&E>=400,R=b.filter((e,r)=>{var a,i,u;let c,d,{route:h}=e;if(h.lazy)return!0;if(null==h.loader)return!1;if(o)return ew(h,t.loaderData,t.errors);if(a=t.loaderData,i=t.matches[r],u=e,c=!i||u.route.id!==i.route.id,d=void 0===a[u.route.id],c||d||s.some(t=>t===e.route.id))return!0;let f=t.matches[r];return eE(e,v({currentUrl:g,currentParams:f.params,nextUrl:w,nextParams:e.params},n,{actionResult:y,actionStatus:E,defaultShouldRevalidate:!S&&(l||g.pathname+g.search===w.pathname+w.search||g.search!==w.search||eb(f,e))}))}),x=[];return d.forEach((e,a)=>{if(o||!r.some(t=>t.route.id===e.routeId)||c.has(a))return;let i=_(f,e.path,p);if(!i){x.push({key:a,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});return}let s=t.fetchers.get(a),d=eX(i,e.path),m=!1;h.has(a)?m=!1:u.has(a)?(u.delete(a),m=!0):m=s&&"idle"!==s.state&&void 0===s.data?l:eE(d,v({currentUrl:g,currentParams:t.matches[t.matches.length-1].params,nextUrl:w,nextParams:r[r.length-1].params},n,{actionResult:y,actionStatus:E,defaultShouldRevalidate:!S&&l})),m&&x.push({key:a,routeId:e.routeId,path:e.path,matches:i,match:d,controller:new AbortController})}),[R,x]}function ew(e,t,r){if(e.lazy)return!0;if(!e.loader)return!1;let n=null!=t&&void 0!==t[e.id],a=null!=r&&void 0!==r[e.id];return(!!n||!a)&&("function"==typeof e.loader&&!0===e.loader.hydrate||!n&&!a)}function eb(e,t){let r=e.route.path;return e.pathname!==t.pathname||null!=r&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function eE(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if("boolean"==typeof r)return r}return t.defaultShouldRevalidate}function eS(e,t,r,n,a){var o;let i;if(e){let t=n[e];E(t,"No route found to patch children into: routeId = "+e),t.children||(t.children=[]),i=t.children}else i=r;let l=k(t.filter(e=>!i.some(t=>(function e(t,r){return"id"in t&&"id"in r&&t.id===r.id||t.index===r.index&&t.path===r.path&&t.caseSensitive===r.caseSensitive&&((!t.children||0===t.children.length)&&(!r.children||0===r.children.length)||t.children.every((t,n)=>{var a;return null==(a=r.children)?void 0:a.some(r=>e(t,r))}))})(e,t))),a,[e||"_","patch",String((null==(o=i)?void 0:o.length)||"0")],n);i.push(...l)}async function eR(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let a=r[e.id];E(a,"No route found in manifest");let o={};for(let e in n){let t=void 0!==a[e]&&"hasErrorBoundary"!==e;S(!t,'Route "'+a.id+'" has a static property "'+e+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+e+'" will be ignored.'),t||L.has(e)||(o[e]=n[e])}Object.assign(a,o),Object.assign(a,v({},t(a),{lazy:void 0}))}async function ex(e){let{matches:t}=e,r=t.filter(e=>e.shouldLoad);return(await Promise.all(r.map(e=>e.resolve()))).reduce((e,t,n)=>Object.assign(e,{[r[n].route.id]:t}),{})}async function eC(e,t,r,n,a,o,i,l,s,u){let c=o.map(e=>e.route.lazy?eR(e.route,s,l):void 0),h=o.map((e,r)=>{let o=c[r],i=a.some(t=>t.route.id===e.route.id),l=async r=>(r&&"GET"===n.method&&(e.route.lazy||e.route.loader)&&(i=!0),i?eP(t,n,e,o,r,u):Promise.resolve({type:d.data,result:void 0}));return v({},e,{shouldLoad:i,resolve:l})}),f=await e({matches:h,request:n,params:o[0].params,fetcherKey:i,context:u});try{await Promise.all(c)}catch(e){}return f}async function eP(e,t,r,n,a,o){let i,l;let s=n=>{let i;let s=new Promise((e,t)=>i=t);l=()=>i(),t.signal.addEventListener("abort",l);let u=a=>"function"!=typeof n?Promise.reject(Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: ')+r.route.id+"]")):n({request:t,params:r.params,context:o},...void 0!==a?[a]:[]);return Promise.race([(async()=>{try{let e=await (a?a(e=>u(e)):u());return{type:"data",result:e}}catch(e){return{type:"error",result:e}}})(),s])};try{let a=r.route[e];if(n){if(a){let e;let[t]=await Promise.all([s(a).catch(t=>{e=t}),n]);if(void 0!==e)throw e;i=t}else if(await n,a=r.route[e])i=await s(a);else{if("action"!==e)return{type:d.data,result:void 0};let n=new URL(t.url),a=n.pathname+n.search;throw eF(405,{method:t.method,pathname:a,routeId:r.route.id})}}else if(a)i=await s(a);else{let e=new URL(t.url),r=e.pathname+e.search;throw eF(404,{pathname:r})}E(void 0!==i.result,"You defined "+("action"===e?"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(e){return{type:d.error,result:e}}finally{l&&t.signal.removeEventListener("abort",l)}return i}async function eD(e){var t,r,n,a,o,i,l,s,u;let{result:c,type:h}=e;if(e$(c)){let e;try{let t=c.headers.get("Content-Type");e=t&&/\bapplication\/json\b/.test(t)?null==c.body?null:await c.json():await c.text()}catch(e){return{type:d.error,error:e}}return h===d.error?{type:d.error,error:new et(c.status,c.statusText,e),statusCode:c.status,headers:c.headers}:{type:d.data,data:e,statusCode:c.status,headers:c.headers}}if(h===d.error)return eW(c)?c.data instanceof Error?{type:d.error,error:c.data,statusCode:null==(n=c.init)?void 0:n.status,headers:null!=(a=c.init)&&a.headers?new Headers(c.init.headers):void 0}:{type:d.error,error:new et((null==(t=c.init)?void 0:t.status)||500,void 0,c.data),statusCode:er(c)?c.status:void 0,headers:null!=(r=c.init)&&r.headers?new Headers(c.init.headers):void 0}:{type:d.error,error:c,statusCode:er(c)?c.status:void 0};return(u=c)&&"object"==typeof u&&"object"==typeof u.data&&"function"==typeof u.subscribe&&"function"==typeof u.cancel&&"function"==typeof u.resolveData?{type:d.deferred,deferredData:c,statusCode:null==(o=c.init)?void 0:o.status,headers:(null==(i=c.init)?void 0:i.headers)&&new Headers(c.init.headers)}:eW(c)?{type:d.data,data:c.data,statusCode:null==(l=c.init)?void 0:l.status,headers:null!=(s=c.init)&&s.headers?new Headers(c.init.headers):void 0}:{type:d.data,data:c}}function eL(e,t,r){if(ed.test(e)){let n=new URL(e.startsWith("//")?t.protocol+e:e),a=null!=N(n.pathname,r);if(n.origin===t.origin&&a)return n.pathname+n.search+n.hash}return e}function ek(e,t,r,n){let a=e.createURL(eB(t)).toString(),o={signal:r};if(n&&eV(n.formMethod)){let{formMethod:e,formEncType:t}=n;o.method=e.toUpperCase(),"application/json"===t?(o.headers=new Headers({"Content-Type":t}),o.body=JSON.stringify(n.json)):"text/plain"===t?o.body=n.text:"application/x-www-form-urlencoded"===t&&n.formData?o.body=e_(n.formData):o.body=n.formData}return new Request(a,o)}function e_(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,"string"==typeof n?n:n.name);return t}function eA(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function eT(e,t,r,n,a,o,i){let l,s,u,c,d,h;let{loaderData:f,errors:p}=(s={},u=null,c=!1,d={},h=n&&ez(n[1])?n[1].error:void 0,t.forEach(e=>{if(!(e.route.id in r))return;let n=e.route.id,a=r[n];if(E(!eH(a),"Cannot handle redirect results in processLoaderData"),ez(a)){let e=a.error;void 0!==h&&(e=h,h=void 0),u=u||{};{let r=eM(t,n);null==u[r.route.id]&&(u[r.route.id]=e)}s[n]=void 0,c||(c=!0,l=er(a.error)?a.error.status:500),a.headers&&(d[n]=a.headers)}else eI(a)?(i.set(n,a.deferredData),s[n]=a.deferredData.data,null==a.statusCode||200===a.statusCode||c||(l=a.statusCode)):(s[n]=a.data,a.statusCode&&200!==a.statusCode&&!c&&(l=a.statusCode)),a.headers&&(d[n]=a.headers)}),void 0!==h&&n&&(u={[n[0]]:h},s[n[0]]=void 0),{loaderData:s,errors:u,statusCode:l||200,loaderHeaders:d});return a.forEach(t=>{let{key:r,match:n,controller:a}=t,i=o[r];if(E(i,"Did not find corresponding fetcher result"),!a||!a.signal.aborted){if(ez(i)){let t=eM(e.matches,null==n?void 0:n.route.id);p&&p[t.route.id]||(p=v({},p,{[t.route.id]:i.error})),e.fetchers.delete(r)}else if(eH(i))E(!1,"Unhandled fetcher revalidation redirect");else if(eI(i))E(!1,"Unhandled fetcher deferred data");else{let t=e0(i.data);e.fetchers.set(r,t)}}}),{loaderData:f,errors:p}}function eU(e,t,r,n){let a=v({},t);for(let o of r){let r=o.route.id;if(t.hasOwnProperty(r)?void 0!==t[r]&&(a[r]=t[r]):void 0!==e[r]&&o.route.loader&&(a[r]=e[r]),n&&n.hasOwnProperty(r))break}return a}function ej(e){return e?ez(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function eM(e,t){return(t?e.slice(0,e.findIndex(e=>e.route.id===t)+1):[...e]).reverse().find(e=>!0===e.route.hasErrorBoundary)||e[0]}function eO(e){let t=1===e.length?e[0]:e.find(e=>e.index||!e.path||"/"===e.path)||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function eF(e,t){let{pathname:r,routeId:n,method:a,type:o,message:i}=void 0===t?{}:t,l="Unknown Server Error",s="Unknown @remix-run/router error";return 400===e?(l="Bad Request",a&&r&&n?s="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.':"defer-action"===o?s="defer() is not supported in actions":"invalid-body"===o&&(s="Unable to encode submission body")):403===e?(l="Forbidden",s='Route "'+n+'" does not match URL "'+r+'"'):404===e?(l="Not Found",s='No route matches URL "'+r+'"'):405===e&&(l="Method Not Allowed",a&&r&&n?s="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&&(s='Invalid request method "'+a.toUpperCase()+'"')),new et(e||500,l,Error(s),!0)}function eN(e){let t=Object.entries(e);for(let e=t.length-1;e>=0;e--){let[r,n]=t[e];if(eH(n))return{key:r,result:n}}}function eB(e){let t="string"==typeof e?P(e):e;return C(v({},t,{hash:""}))}function eI(e){return e.type===d.deferred}function ez(e){return e.type===d.error}function eH(e){return(e&&e.type)===d.redirect}function eW(e){return"object"==typeof e&&null!=e&&"type"in e&&"data"in e&&"init"in e&&"DataWithResponseInit"===e.type}function e$(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function eV(e){return ea.has(e.toLowerCase())}async function eJ(e,t,r,n,a){let o=Object.entries(t);for(let i=0;i<o.length;i++){let[l,s]=o[i],u=e.find(e=>(null==e?void 0:e.route.id)===l);if(!u)continue;let c=n.find(e=>e.route.id===u.route.id),d=null!=c&&!eb(c,u)&&(a&&a[u.route.id])!==void 0;eI(s)&&d&&await eY(s,r,!1).then(e=>{e&&(t[l]=e)})}}async function eK(e,t,r){for(let n=0;n<r.length;n++){let{key:a,routeId:o,controller:i}=r[n],l=t[a];e.find(e=>(null==e?void 0:e.route.id)===o)&&eI(l)&&(E(i,"Expected an AbortController for revalidating fetcher deferred result"),await eY(l,i.signal,!0).then(e=>{e&&(t[a]=e)}))}}async function eY(e,t,r){if(void 0===r&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:d.data,data:e.deferredData.unwrappedData}}catch(e){return{type:d.error,error:e}}return{type:d.data,data:e.deferredData.data}}}function eq(e){return new URLSearchParams(e).getAll("index").some(e=>""===e)}function eX(e,t){let r="string"==typeof t?P(t).search:t.search;if(e[e.length-1].route.index&&eq(r||""))return e[e.length-1];let n=z(e);return n[n.length-1]}function eG(e){let{formMethod:t,formAction:r,formEncType:n,text:a,formData:o,json:i}=e;if(t&&r&&n){if(null!=a)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:a};if(null!=o)return{formMethod:t,formAction:r,formEncType:n,formData:o,json:void 0,text:void 0};if(void 0!==i)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:i,text:void 0}}}function eQ(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 eZ(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}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function e0(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function e1(){return(e1=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}).apply(this,arguments)}Symbol("deferred");let e7=p.createContext(null),e4=p.createContext(null),e5=p.createContext(null),e2=p.createContext(null),e3=p.createContext(null),e6=p.createContext({outlet:null,matches:[],isDataRoute:!1}),e8=p.createContext(null);function e9(e,t){let{relative:r}=void 0===t?{}:t;te()||E(!1);let{basename:n,navigator:a}=p.useContext(e2),{hash:o,pathname:i,search:l}=tc(e,{relative:r}),s=i;return"/"!==n&&(s="/"===i?n:$([n,i])),a.createHref({pathname:s,search:l,hash:o})}function te(){return null!=p.useContext(e3)}function tt(){return te()||E(!1),p.useContext(e3).location}function tr(){return p.useContext(e3).navigationType}function tn(e){te()||E(!1);let{pathname:t}=tt();return p.useMemo(()=>O(e,F(t)),[t,e])}function ta(e){p.useContext(e2).static||p.useLayoutEffect(e)}function to(){let{isDataRoute:e}=p.useContext(e6);return e?function(){let{router:e}=tw(ty.UseNavigateStable),t=tE(tg.UseNavigateStable),r=p.useRef(!1);return ta(()=>{r.current=!0}),p.useCallback(function(n,a){void 0===a&&(a={}),r.current&&("number"==typeof n?e.navigate(n):e.navigate(n,e1({fromRouteId:t},a)))},[e,t])}():function(){te()||E(!1);let e=p.useContext(e7),{basename:t,future:r,navigator:n}=p.useContext(e2),{matches:a}=p.useContext(e6),{pathname:o}=tt(),i=JSON.stringify(H(a,r.v7_relativeSplatPath)),l=p.useRef(!1);return ta(()=>{l.current=!0}),p.useCallback(function(r,a){if(void 0===a&&(a={}),!l.current)return;if("number"==typeof r){n.go(r);return}let s=W(r,JSON.parse(i),o,"path"===a.relative);null==e&&"/"!==t&&(s.pathname="/"===s.pathname?t:$([t,s.pathname])),(a.replace?n.replace:n.push)(s,a.state,a)},[t,n,i,o,e])}()}let ti=p.createContext(null);function tl(){return p.useContext(ti)}function ts(e){let t=p.useContext(e6).outlet;return t?p.createElement(ti.Provider,{value:e},t):t}function tu(){let{matches:e}=p.useContext(e6),t=e[e.length-1];return t?t.params:{}}function tc(e,t){let{relative:r}=void 0===t?{}:t,{future:n}=p.useContext(e2),{matches:a}=p.useContext(e6),{pathname:o}=tt(),i=JSON.stringify(H(a,n.v7_relativeSplatPath));return p.useMemo(()=>W(e,JSON.parse(i),o,"path"===r),[e,i,o,r])}function td(e,t){return th(e,t)}function th(e,t,r,n){let a;te()||E(!1);let{navigator:o,static:i}=p.useContext(e2),{matches:l}=p.useContext(e6),s=l[l.length-1],u=s?s.params:{};s&&s.pathname;let d=s?s.pathnameBase:"/";s&&s.route;let h=tt();if(t){var f;let e="string"==typeof t?P(t):t;"/"===d||(null==(f=e.pathname)?void 0:f.startsWith(d))||E(!1),a=e}else a=h;let m=a.pathname||"/",v=m;if("/"!==d){let e=d.replace(/^\//,"").split("/");v="/"+m.replace(/^\//,"").split("/").slice(e.length).join("/")}let y=!i&&r&&r.matches&&r.matches.length>0?r.matches:_(e,{pathname:v}),g=tv(y&&y.map(e=>Object.assign({},e,{params:Object.assign({},u,e.params),pathname:$([d,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?d:$([d,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),l,r,n);return t&&g?p.createElement(e3.Provider,{value:{location:e1({pathname:"/",search:"",hash:"",state:null,key:"default"},a),navigationType:c.Pop}},g):g}let tf=p.createElement(function(){let e=tk(),t=er(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null;return p.createElement(p.Fragment,null,p.createElement("h2",null,"Unexpected Application Error!"),p.createElement("h3",{style:{fontStyle:"italic"}},t),r?p.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},r):null,null)},null);class tp extends p.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||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?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 void 0!==this.state.error?p.createElement(e6.Provider,{value:this.props.routeContext},p.createElement(e8.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function tm(e){let{routeContext:t,match:r,children:n}=e,a=p.useContext(e7);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),p.createElement(e6.Provider,{value:t},n)}function tv(e,t,r,n){var a,o;if(void 0===t&&(t=[]),void 0===r&&(r=null),void 0===n&&(n=null),null==e){if(!r)return null;if(r.errors)e=r.matches;else{if(null==(o=n)||!o.v7_partialHydration||0!==t.length||r.initialized||!(r.matches.length>0))return null;e=r.matches}}let i=e,l=null==(a=r)?void 0:a.errors;if(null!=l){let e=i.findIndex(e=>e.route.id&&(null==l?void 0:l[e.route.id])!==void 0);e>=0||E(!1),i=i.slice(0,Math.min(i.length,e+1))}let s=!1,u=-1;if(r&&n&&n.v7_partialHydration)for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(u=e),t.route.id){let{loaderData:e,errors:n}=r,a=t.route.loader&&void 0===e[t.route.id]&&(!n||void 0===n[t.route.id]);if(t.route.lazy||a){s=!0,i=u>=0?i.slice(0,u+1):[i[0]];break}}}return i.reduceRight((e,n,a)=>{var o,c;let d;let h=!1,f=null,m=null;r&&(d=l&&n.route.id?l[n.route.id]:void 0,f=n.route.errorElement||tf,s&&(u<0&&0===a?(o="route-fallback",c=0,tj[o]||(tj[o]=!0),h=!0,m=null):u===a&&(h=!0,m=n.route.hydrateFallbackElement||null)));let v=t.concat(i.slice(0,a+1)),y=()=>{let t;return t=d?f:h?m:n.route.Component?p.createElement(n.route.Component,null):n.route.element?n.route.element:e,p.createElement(tm,{match:n,routeContext:{outlet:e,matches:v,isDataRoute:null!=r},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||0===a)?p.createElement(tp,{location:r.location,revalidation:r.revalidation,component:f,error:d,children:y(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):y()},null)}var ty=((o=ty||{}).UseBlocker="useBlocker",o.UseRevalidator="useRevalidator",o.UseNavigateStable="useNavigate",o),tg=((i=tg||{}).UseBlocker="useBlocker",i.UseLoaderData="useLoaderData",i.UseActionData="useActionData",i.UseRouteError="useRouteError",i.UseNavigation="useNavigation",i.UseRouteLoaderData="useRouteLoaderData",i.UseMatches="useMatches",i.UseRevalidator="useRevalidator",i.UseNavigateStable="useNavigate",i.UseRouteId="useRouteId",i);function tw(e){let t=p.useContext(e7);return t||E(!1),t}function tb(e){let t=p.useContext(e4);return t||E(!1),t}function tE(e){let t;let r=((t=p.useContext(e6))||E(!1),t),n=r.matches[r.matches.length-1];return n.route.id||E(!1),n.route.id}function tS(){return tE(tg.UseRouteId)}function tR(){return tb(tg.UseNavigation).navigation}function tx(){let e=tw(ty.UseRevalidator),t=tb(tg.UseRevalidator);return p.useMemo(()=>({revalidate:e.router.revalidate,state:t.revalidation}),[e.router.revalidate,t.revalidation])}function tC(){let{matches:e,loaderData:t}=tb(tg.UseMatches);return p.useMemo(()=>e.map(e=>T(e,t)),[e,t])}function tP(){let e=tb(tg.UseLoaderData),t=tE(tg.UseLoaderData);if(e.errors&&null!=e.errors[t]){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")");return}return e.loaderData[t]}function tD(e){return tb(tg.UseRouteLoaderData).loaderData[e]}function tL(){let e=tb(tg.UseActionData),t=tE(tg.UseLoaderData);return e.actionData?e.actionData[t]:void 0}function tk(){var e;let t=p.useContext(e8),r=tb(tg.UseRouteError),n=tE(tg.UseRouteError);return void 0!==t?t:null==(e=r.errors)?void 0:e[n]}function t_(){let e=p.useContext(e5);return null==e?void 0:e._data}function tA(){let e=p.useContext(e5);return null==e?void 0:e._error}let tT=0;function tU(e){let{router:t,basename:r}=tw(ty.UseBlocker),n=tb(tg.UseBlocker),[a,o]=p.useState(""),i=p.useCallback(t=>{if("function"!=typeof e)return!!e;if("/"===r)return e(t);let{currentLocation:n,nextLocation:a,historyAction:o}=t;return e({currentLocation:e1({},n,{pathname:N(n.pathname,r)||n.pathname}),nextLocation:e1({},a,{pathname:N(a.pathname,r)||a.pathname}),historyAction:o})},[r,e]);return p.useEffect(()=>{let e=String(++tT);return o(e),()=>t.deleteBlocker(e)},[t]),p.useEffect(()=>{""!==a&&t.getBlocker(a,i)},[t,a,i]),a&&n.blockers.has(a)?n.blockers.get(a):ec}let tj={},tM=(e,t,r)=>{};function tO(e,t){(null==e?void 0:e.v7_startTransition)===void 0&&tM("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),(null==e?void 0:e.v7_relativeSplatPath)!==void 0||t&&t.v7_relativeSplatPath||tM("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"),t&&(void 0===t.v7_fetcherPersist&&tM("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),void 0===t.v7_normalizeFormMethod&&tM("v7_normalizeFormMethod","Casing of `formMethod` fields is being normalized to uppercase in v7","https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"),void 0===t.v7_partialHydration&&tM("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),void 0===t.v7_skipActionErrorRevalidation&&tM("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}let tF=p.startTransition;function tN(e){let{basename:t,children:r,initialEntries:n,initialIndex:a,future:o}=e,i=p.useRef();null==i.current&&(i.current=g({initialEntries:n,initialIndex:a,v5Compat:!0}));let l=i.current,[s,u]=p.useState({action:l.action,location:l.location}),{v7_startTransition:c}=o||{},d=p.useCallback(e=>{c&&tF?tF(()=>u(e)):u(e)},[u,c]);return p.useLayoutEffect(()=>l.listen(d),[l,d]),p.useEffect(()=>tO(o),[o]),p.createElement(tH,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:l,future:o})}function tB(e){let{to:t,replace:r,state:n,relative:a}=e;te()||E(!1);let{future:o,static:i}=p.useContext(e2),{matches:l}=p.useContext(e6),{pathname:s}=tt(),u=to(),c=JSON.stringify(W(t,H(l,o.v7_relativeSplatPath),s,"path"===a));return p.useEffect(()=>u(JSON.parse(c),{replace:r,state:n,relative:a}),[u,c,a,r,n]),null}function tI(e){return ts(e.context)}function tz(e){E(!1)}function tH(e){let{basename:t="/",children:r=null,location:n,navigationType:a=c.Pop,navigator:o,static:i=!1,future:l}=e;te()&&E(!1);let s=t.replace(/^\/*/,"/"),u=p.useMemo(()=>({basename:s,navigator:o,static:i,future:e1({v7_relativeSplatPath:!1},l)}),[s,l,o,i]);"string"==typeof n&&(n=P(n));let{pathname:d="/",search:h="",hash:f="",state:m=null,key:v="default"}=n,y=p.useMemo(()=>{let e=N(d,s);return null==e?null:{location:{pathname:e,search:h,hash:f,state:m,key:v},navigationType:a}},[s,d,h,f,m,v,a]);return null==y?null:p.createElement(e2.Provider,{value:u},p.createElement(e3.Provider,{children:r,value:y}))}function tW(e){let{children:t,location:r}=e;return th(tq(t),r)}function t$(e){let{children:t,errorElement:r,resolve:n}=e;return p.createElement(tK,{resolve:n,errorElement:r},p.createElement(tY,null,t))}var tV=((l=tV||{})[l.pending=0]="pending",l[l.success=1]="success",l[l.error=2]="error",l);let tJ=new Promise(()=>{});class tK extends p.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error("<Await> caught the following error during render",e,t)}render(){let{children:e,errorElement:t,resolve:r}=this.props,n=null,a=tV.pending;if(r instanceof Promise){if(this.state.error){a=tV.error;let e=this.state.error;Object.defineProperty(n=Promise.reject().catch(()=>{}),"_tracked",{get:()=>!0}),Object.defineProperty(n,"_error",{get:()=>e})}else r._tracked?a="_error"in(n=r)?tV.error:"_data"in n?tV.success:tV.pending:(a=tV.pending,Object.defineProperty(r,"_tracked",{get:()=>!0}),n=r.then(e=>Object.defineProperty(r,"_data",{get:()=>e}),e=>Object.defineProperty(r,"_error",{get:()=>e})))}else a=tV.success,Object.defineProperty(n=Promise.resolve(),"_tracked",{get:()=>!0}),Object.defineProperty(n,"_data",{get:()=>r});if(a===tV.error&&n._error instanceof q)throw tJ;if(a===tV.error&&!t)throw n._error;if(a===tV.error)return p.createElement(e5.Provider,{value:n,children:t});if(a===tV.success)return p.createElement(e5.Provider,{value:n,children:e});throw n}}function tY(e){let{children:t}=e,r=t_(),n="function"==typeof t?t(r):t;return p.createElement(p.Fragment,null,n)}function tq(e,t){void 0===t&&(t=[]);let r=[];return p.Children.forEach(e,(e,n)=>{if(!p.isValidElement(e))return;let a=[...t,n];if(e.type===p.Fragment){r.push.apply(r,tq(e.props.children,a));return}e.type!==tz&&E(!1),e.props.index&&e.props.children&&E(!1);let o={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(o.children=tq(e.props.children,a)),r.push(o)}),r}function tX(e){return tv(e)}function tG(e){let t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:p.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:p.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:p.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}function tQ(e,t){return ep({basename:null==t?void 0:t.basename,future:e1({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:g({initialEntries:null==t?void 0:t.initialEntries,initialIndex:null==t?void 0:t.initialIndex}),hydrationData:null==t?void 0:t.hydrationData,routes:e,mapRouteProperties:tG,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation}).initialize()}function tZ(){return(tZ=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}).apply(this,arguments)}function t0(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}let t1="application/x-www-form-urlencoded";function t7(e){return null!=e&&"string"==typeof e.tagName}function t4(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map(e=>[r,e]):[[r,n]])},[]))}let t5=null,t2=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function t3(e){return null==e||t2.has(e)?e:null}let t6=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],t8=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],t9=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"];try{window.__reactRouterVersion="6"}catch(e){}function re(e,t){return ep({basename:null==t?void 0:t.basename,future:tZ({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:w({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||rr(),routes:e,mapRouteProperties:tG,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function rt(e,t){return ep({basename:null==t?void 0:t.basename,future:tZ({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:b({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||rr(),routes:e,mapRouteProperties:tG,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function rr(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=tZ({},t,{errors:function(e){if(!e)return null;let t=Object.entries(e),r={};for(let[e,n]of t)if(n&&"RouteErrorResponse"===n.__type)r[e]=new et(n.status,n.statusText,n.data,!0===n.internal);else if(n&&"Error"===n.__type){if(n.__subType){let t=window[n.__subType];if("function"==typeof t)try{let a=new t(n.message);a.stack="",r[e]=a}catch(e){}}if(null==r[e]){let t=Error(n.message);t.stack="",r[e]=t}}else r[e]=n;return r}(t.errors)})),t}let rn=p.createContext({isTransitioning:!1}),ra=p.createContext(new Map),ro=p.startTransition,ri=m.flushSync,rl=p.useId;function rs(e){ri?ri(e):e()}class ru{constructor(){this.status="pending",this.promise=new Promise((e,t)=>{this.resolve=t=>{"pending"===this.status&&(this.status="resolved",e(t))},this.reject=e=>{"pending"===this.status&&(this.status="rejected",t(e))}})}}function rc(e){let{fallbackElement:t,router:r,future:n}=e,[a,o]=p.useState(r.state),[i,l]=p.useState(),[s,u]=p.useState({isTransitioning:!1}),[c,d]=p.useState(),[h,f]=p.useState(),[m,v]=p.useState(),y=p.useRef(new Map),{v7_startTransition:g}=n||{},w=p.useCallback(e=>{if(g)ro?ro(e):e();else e()},[g]),b=p.useCallback((e,t)=>{let{deletedFetchers:n,flushSync:a,viewTransitionOpts:i}=t;e.fetchers.forEach((e,t)=>{void 0!==e.data&&y.current.set(t,e.data)}),n.forEach(e=>y.current.delete(e));let s=null==r.window||null==r.window.document||"function"!=typeof r.window.document.startViewTransition;if(!i||s){a?rs(()=>o(e)):w(()=>o(e));return}if(a){rs(()=>{h&&(c&&c.resolve(),h.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:i.currentLocation,nextLocation:i.nextLocation})});let t=r.window.document.startViewTransition(()=>{rs(()=>o(e))});t.finished.finally(()=>{rs(()=>{d(void 0),f(void 0),l(void 0),u({isTransitioning:!1})})}),rs(()=>f(t));return}h?(c&&c.resolve(),h.skipTransition(),v({state:e,currentLocation:i.currentLocation,nextLocation:i.nextLocation})):(l(e),u({isTransitioning:!0,flushSync:!1,currentLocation:i.currentLocation,nextLocation:i.nextLocation}))},[r.window,h,c,y,w]);p.useLayoutEffect(()=>r.subscribe(b),[r,b]),p.useEffect(()=>{s.isTransitioning&&!s.flushSync&&d(new ru)},[s]),p.useEffect(()=>{if(c&&i&&r.window){let e=c.promise,t=r.window.document.startViewTransition(async()=>{w(()=>o(i)),await e});t.finished.finally(()=>{d(void 0),f(void 0),l(void 0),u({isTransitioning:!1})}),f(t)}},[w,i,c,r.window]),p.useEffect(()=>{c&&i&&a.location.key===i.location.key&&c.resolve()},[c,h,a.location,i]),p.useEffect(()=>{!s.isTransitioning&&m&&(l(m.state),u({isTransitioning:!0,flushSync:!1,currentLocation:m.currentLocation,nextLocation:m.nextLocation}),v(void 0))},[s.isTransitioning,m]),p.useEffect(()=>{},[]);let E=p.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:e=>r.navigate(e),push:(e,t,n)=>r.navigate(e,{state:t,preventScrollReset:null==n?void 0:n.preventScrollReset}),replace:(e,t,n)=>r.navigate(e,{replace:!0,state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})}),[r]),S=r.basename||"/",R=p.useMemo(()=>({router:r,navigator:E,static:!1,basename:S}),[r,E,S]),x=p.useMemo(()=>({v7_relativeSplatPath:r.future.v7_relativeSplatPath}),[r.future.v7_relativeSplatPath]);return p.useEffect(()=>tO(n,r.future),[n,r.future]),p.createElement(p.Fragment,null,p.createElement(e7.Provider,{value:R},p.createElement(e4.Provider,{value:a},p.createElement(ra.Provider,{value:y.current},p.createElement(rn.Provider,{value:s},p.createElement(tH,{basename:S,location:a.location,navigationType:a.historyAction,navigator:E,future:x},a.initialized||r.future.v7_partialHydration?p.createElement(rd,{routes:r.routes,future:r.future,state:a}):t))))),null)}let rd=p.memo(function(e){let{routes:t,future:r,state:n}=e;return th(t,void 0,n,r)});function rh(e){let{basename:t,children:r,future:n,window:a}=e,o=p.useRef();null==o.current&&(o.current=w({window:a,v5Compat:!0}));let i=o.current,[l,s]=p.useState({action:i.action,location:i.location}),{v7_startTransition:u}=n||{},c=p.useCallback(e=>{u&&ro?ro(()=>s(e)):s(e)},[s,u]);return p.useLayoutEffect(()=>i.listen(c),[i,c]),p.useEffect(()=>tO(n),[n]),p.createElement(tH,{basename:t,children:r,location:l.location,navigationType:l.action,navigator:i,future:n})}function rf(e){let{basename:t,children:r,future:n,window:a}=e,o=p.useRef();null==o.current&&(o.current=b({window:a,v5Compat:!0}));let i=o.current,[l,s]=p.useState({action:i.action,location:i.location}),{v7_startTransition:u}=n||{},c=p.useCallback(e=>{u&&ro?ro(()=>s(e)):s(e)},[s,u]);return p.useLayoutEffect(()=>i.listen(c),[i,c]),p.useEffect(()=>tO(n),[n]),p.createElement(tH,{basename:t,children:r,location:l.location,navigationType:l.action,navigator:i,future:n})}function rp(e){let{basename:t,children:r,future:n,history:a}=e,[o,i]=p.useState({action:a.action,location:a.location}),{v7_startTransition:l}=n||{},s=p.useCallback(e=>{l&&ro?ro(()=>i(e)):i(e)},[i,l]);return p.useLayoutEffect(()=>a.listen(s),[a,s]),p.useEffect(()=>tO(n),[n]),p.createElement(tH,{basename:t,children:r,location:o.location,navigationType:o.action,navigator:a,future:n})}let rm="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,rv=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ry=p.forwardRef(function(e,t){let r,{onClick:n,relative:a,reloadDocument:o,replace:i,state:l,target:s,to:u,preventScrollReset:c,viewTransition:d}=e,h=t0(e,t6),{basename:f}=p.useContext(e2),m=!1;if("string"==typeof u&&rv.test(u)&&(r=u,rm))try{let e=new URL(window.location.href),t=new URL(u.startsWith("//")?e.protocol+u:u),r=N(t.pathname,f);t.origin===e.origin&&null!=r?u=r+t.search+t.hash:m=!0}catch(e){}let v=e9(u,{relative:a}),y=rR(u,{replace:i,state:l,target:s,preventScrollReset:c,relative:a,viewTransition:d});return p.createElement("a",tZ({},h,{href:r||v,onClick:m||o?n:function(e){n&&n(e),e.defaultPrevented||y(e)},ref:t,target:s}))}),rg=p.forwardRef(function(e,t){let r,{"aria-current":n="page",caseSensitive:a=!1,className:o="",end:i=!1,style:l,to:s,viewTransition:u,children:c}=e,d=t0(e,t8),h=tc(s,{relative:d.relative}),f=tt(),m=p.useContext(e4),{navigator:v,basename:y}=p.useContext(e2),g=null!=m&&rO(h)&&!0===u,w=v.encodeLocation?v.encodeLocation(h).pathname:h.pathname,b=f.pathname,E=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;a||(b=b.toLowerCase(),E=E?E.toLowerCase():null,w=w.toLowerCase()),E&&y&&(E=N(E,y)||E);let S="/"!==w&&w.endsWith("/")?w.length-1:w.length,R=b===w||!i&&b.startsWith(w)&&"/"===b.charAt(S),x=null!=E&&(E===w||!i&&E.startsWith(w)&&"/"===E.charAt(w.length)),C={isActive:R,isPending:x,isTransitioning:g},P=R?n:void 0;r="function"==typeof o?o(C):[o,R?"active":null,x?"pending":null,g?"transitioning":null].filter(Boolean).join(" ");let D="function"==typeof l?l(C):l;return p.createElement(ry,tZ({},d,{"aria-current":P,className:r,ref:t,style:D,to:s,viewTransition:u}),"function"==typeof c?c(C):c)}),rw=p.forwardRef((e,t)=>{let{fetcherKey:r,navigate:n,reloadDocument:a,replace:o,state:i,method:l="get",action:s,onSubmit:u,relative:c,preventScrollReset:d,viewTransition:h}=e,f=t0(e,t9),m=rD(),v=rL(s,{relative:c}),y="get"===l.toLowerCase()?"get":"post";return p.createElement("form",tZ({ref:t,method:y,action:v,onSubmit:a?u:e=>{if(u&&u(e),e.defaultPrevented)return;e.preventDefault();let t=e.nativeEvent.submitter,a=(null==t?void 0:t.getAttribute("formmethod"))||l;m(t||e.currentTarget,{fetcherKey:r,method:a,navigate:n,replace:o,state:i,relative:c,preventScrollReset:d,viewTransition:h})}},f))});function rb(e){let{getKey:t,storageKey:r}=e;return rU({getKey:t,storageKey:r}),null}function rE(e){let t=p.useContext(e7);return t||E(!1),t}function rS(e){let t=p.useContext(e4);return t||E(!1),t}function rR(e,t){let{target:r,replace:n,state:a,preventScrollReset:o,relative:i,viewTransition:l}=void 0===t?{}:t,s=to(),u=tt(),c=tc(e,{relative:i});return p.useCallback(t=>{0===t.button&&(!r||"_self"===r)&&!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&(t.preventDefault(),s(e,{replace:void 0!==n?n:C(u)===C(c),state:a,preventScrollReset:o,relative:i,viewTransition:l}))},[u,s,c,n,a,r,e,o,i,l])}function rx(e){let t=p.useRef(t4(e)),r=p.useRef(!1),n=tt(),a=p.useMemo(()=>{var e,a;let o;return e=n.search,a=r.current?null:t.current,o=t4(e),a&&a.forEach((e,t)=>{o.has(t)||a.getAll(t).forEach(e=>{o.append(t,e)})}),o},[n.search]),o=to(),i=p.useCallback((e,t)=>{let n=t4("function"==typeof e?e(a):e);r.current=!0,o("?"+n,t)},[o,a]);return[a,i]}(s=h||(h={})).UseScrollRestoration="useScrollRestoration",s.UseSubmit="useSubmit",s.UseSubmitFetcher="useSubmitFetcher",s.UseFetcher="useFetcher",s.useViewTransitionState="useViewTransitionState",(u=f||(f={})).UseFetcher="useFetcher",u.UseFetchers="useFetchers",u.UseScrollRestoration="useScrollRestoration";let rC=0,rP=()=>"__"+String(++rC)+"__";function rD(){let{router:e}=rE(h.UseSubmit),{basename:t}=p.useContext(e2),r=tS();return p.useCallback(function(n,a){void 0===a&&(a={}),function(){if("undefined"==typeof document)throw Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}();let{action:o,method:i,encType:l,formData:s,body:u}=function(e,t){let r,n,a,o,i;if(t7(e)&&"form"===e.tagName.toLowerCase()){let i=e.getAttribute("action");n=i?N(i,t):null,r=e.getAttribute("method")||"get",a=t3(e.getAttribute("enctype"))||t1,o=new FormData(e)}else if(t7(e)&&"button"===e.tagName.toLowerCase()||t7(e)&&"input"===e.tagName.toLowerCase()&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||i.getAttribute("action");if(n=l?N(l,t):null,r=e.getAttribute("formmethod")||i.getAttribute("method")||"get",a=t3(e.getAttribute("formenctype"))||t3(i.getAttribute("enctype"))||t1,o=new FormData(i,e),!function(){if(null===t5)try{new FormData(document.createElement("form"),0),t5=!1}catch(e){t5=!0}return t5}()){let{name:t,type:r,value:n}=e;if("image"===r){let e=t?t+".":"";o.append(e+"x","0"),o.append(e+"y","0")}else t&&o.append(t,n)}}else if(t7(e))throw Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');else r="get",n=null,a=t1,i=e;return o&&"text/plain"===a&&(i=o,o=void 0),{action:n,method:r.toLowerCase(),encType:a,formData:o,body:i}}(n,t);if(!1===a.navigate){let t=a.fetcherKey||rP();e.fetch(t,r,a.action||o,{preventScrollReset:a.preventScrollReset,formData:s,body:u,formMethod:a.method||i,formEncType:a.encType||l,flushSync:a.flushSync})}else e.navigate(a.action||o,{preventScrollReset:a.preventScrollReset,formData:s,body:u,formMethod:a.method||i,formEncType:a.encType||l,replace:a.replace,state:a.state,fromRouteId:r,flushSync:a.flushSync,viewTransition:a.viewTransition})},[e,t,r])}function rL(e,t){let{relative:r}=void 0===t?{}:t,{basename:n}=p.useContext(e2),a=p.useContext(e6);a||E(!1);let[o]=a.matches.slice(-1),i=tZ({},tc(e||".",{relative:r})),l=tt();if(null==e){i.search=l.search;let e=new URLSearchParams(i.search),t=e.getAll("index");if(t.some(e=>""===e)){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let r=e.toString();i.search=r?"?"+r:""}}return(!e||"."===e)&&o.route.index&&(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index"),"/"!==n&&(i.pathname="/"===i.pathname?n:$([n,i.pathname])),C(i)}function rk(e){var t;let{key:r}=void 0===e?{}:e,{router:n}=rE(h.UseFetcher),a=rS(f.UseFetcher),o=p.useContext(ra),i=p.useContext(e6),l=null==(t=i.matches[i.matches.length-1])?void 0:t.route.id;o||E(!1),i||E(!1),null==l&&E(!1);let s=rl?rl():"",[u,c]=p.useState(r||s);r&&r!==u?c(r):u||c(rP()),p.useEffect(()=>(n.getFetcher(u),()=>{n.deleteFetcher(u)}),[n,u]);let d=p.useCallback((e,t)=>{l||E(!1),n.fetch(u,l,e,t)},[u,l,n]),m=rD(),v=p.useCallback((e,t)=>{m(e,tZ({},t,{navigate:!1,fetcherKey:u}))},[u,m]),y=p.useMemo(()=>p.forwardRef((e,t)=>p.createElement(rw,tZ({},e,{navigate:!1,fetcherKey:u,ref:t}))),[u]),g=a.fetchers.get(u)||eu,w=o.get(u);return p.useMemo(()=>tZ({Form:y,submit:v,load:d},g,{data:w}),[y,v,d,g,w])}function r_(){return Array.from(rS(f.UseFetchers).fetchers.entries()).map(e=>{let[t,r]=e;return tZ({},r,{key:t})})}let rA="react-router-scroll-positions",rT={};function rU(e){let{getKey:t,storageKey:r}=void 0===e?{}:e,{router:n}=rE(h.UseScrollRestoration),{restoreScrollPosition:a,preventScrollReset:o}=rS(f.UseScrollRestoration),{basename:i}=p.useContext(e2),l=tt(),s=tC(),u=tR();p.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),function(e,t){let{capture:r}={};p.useEffect(()=>{let t=null!=r?{capture:r}:void 0;return window.addEventListener("pagehide",e,t),()=>{window.removeEventListener("pagehide",e,t)}},[e,r])}(p.useCallback(()=>{"idle"===u.state&&(rT[(t?t(l,s):null)||l.key]=window.scrollY);try{sessionStorage.setItem(r||rA,JSON.stringify(rT))}catch(e){}window.history.scrollRestoration="auto"},[r,t,u.state,l,s])),"undefined"!=typeof document&&(p.useLayoutEffect(()=>{try{let e=sessionStorage.getItem(r||rA);e&&(rT=JSON.parse(e))}catch(e){}},[r]),p.useLayoutEffect(()=>{let e=t&&"/"!==i?(e,r)=>t(tZ({},e,{pathname:N(e.pathname,i)||e.pathname}),r):t,r=null==n?void 0:n.enableScrollRestoration(rT,()=>window.scrollY,e);return()=>r&&r()},[n,i,t]),p.useLayoutEffect(()=>{if(!1!==a){if("number"==typeof a){window.scrollTo(0,a);return}if(l.hash){let e=document.getElementById(decodeURIComponent(l.hash.slice(1)));if(e){e.scrollIntoView();return}}!0!==o&&window.scrollTo(0,0)}},[l,a,o]))}function rj(e,t){let{capture:r}=t||{};p.useEffect(()=>{let t=null!=r?{capture:r}:void 0;return window.addEventListener("beforeunload",e,t),()=>{window.removeEventListener("beforeunload",e,t)}},[e,r])}function rM(e){let{when:t,message:r}=e,n=tU(t);p.useEffect(()=>{"blocked"===n.state&&(window.confirm(r)?setTimeout(n.proceed,0):n.reset())},[n,r]),p.useEffect(()=>{"blocked"!==n.state||t||n.reset()},[n,t])}function rO(e,t){void 0===t&&(t={});let r=p.useContext(rn);null==r&&E(!1);let{basename:n}=rE(h.useViewTransitionState),a=tc(e,{relative:t.relative});if(!r.isTransitioning)return!1;let o=N(r.currentLocation.pathname,n)||r.currentLocation.pathname,i=N(r.nextLocation.pathname,n)||r.nextLocation.pathname;return null!=O(a.pathname,i)||null!=O(a.pathname,o)}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkTracingGanttChart=self.webpackChunkTracingGanttChart||[]).push([["511"],{1357:function(e,t,i){i.d(t,{Z:()=>T});var r=i(4538),n=i(496),o=i(2267),s=i(2709),a=i(2319),l=i(1751),d=i(1825),h=i(7126),u=i(4776),c=i(9508),p=i(2777),f=i(1183),x=i(4124),b=i(6749);function m(e){return(0,b.ZP)("MuiCollapse",e)}(0,x.Z)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var v=i(4246);let g=e=>{let{orientation:t,classes:i}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return(0,o.Z)(r,m,i)},y=(0,s.ZP)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:i}=e;return[t.root,t[i.orientation],"entered"===i.state&&t.entered,"exited"===i.state&&!i.in&&"0px"===i.collapsedSize&&t.hidden]}})((0,a.Z)(({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:e})=>"exited"===e.state&&!e.in&&"0px"===e.collapsedSize,style:{visibility:"hidden"}}]}))),w=(0,s.ZP)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Z=(0,s.ZP)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),M=r.forwardRef(function(e,t){let i=(0,l.i)({props:e,name:"MuiCollapse"}),{addEndListener:o,children:s,className:a,collapsedSize:x="0px",component:b,easing:m,in:M,onEnter:R,onEntered:C,onEntering:A,onExit:k,onExited:W,onExiting:S,orientation:$="vertical",style:P,timeout:D=c.x9.standard,TransitionComponent:T=d.ZP,...z}=i,j={...i,orientation:$,collapsedSize:x},L=g(j),E=(0,u.Z)(),I=(0,h.Z)(),V=r.useRef(null),H=r.useRef(),N="number"==typeof x?`${x}px`:x,F="horizontal"===$,B=F?"width":"height",U=r.useRef(null),G=(0,f.Z)(t,U),q=e=>t=>{if(e){let i=U.current;void 0===t?e(i):e(i,t)}},O=()=>V.current?V.current[F?"clientWidth":"clientHeight"]:0,_=q((e,t)=>{V.current&&F&&(V.current.style.position="absolute"),e.style[B]=N,R&&R(e,t)}),J=q((e,t)=>{let i=O();V.current&&F&&(V.current.style.position="");let{duration:r,easing:n}=(0,p.C)({style:P,timeout:D,easing:m},{mode:"enter"});if("auto"===D){let t=E.transitions.getAutoHeightDuration(i);e.style.transitionDuration=`${t}ms`,H.current=t}else e.style.transitionDuration="string"==typeof r?r:`${r}ms`;e.style[B]=`${i}px`,e.style.transitionTimingFunction=n,A&&A(e,t)}),K=q((e,t)=>{e.style[B]="auto",C&&C(e,t)}),Q=q(e=>{e.style[B]=`${O()}px`,k&&k(e)}),X=q(W),Y=q(e=>{let t=O(),{duration:i,easing:r}=(0,p.C)({style:P,timeout:D,easing:m},{mode:"exit"});if("auto"===D){let i=E.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${i}ms`,H.current=i}else e.style.transitionDuration="string"==typeof i?i:`${i}ms`;e.style[B]=N,e.style.transitionTimingFunction=r,S&&S(e)});return(0,v.jsx)(T,{in:M,onEnter:_,onEntered:K,onEntering:J,onExit:Q,onExited:X,onExiting:Y,addEndListener:e=>{"auto"===D&&I.start(H.current||0,e),o&&o(U.current,e)},nodeRef:U,timeout:"auto"===D?null:D,...z,children:(e,{ownerState:t,...i})=>(0,v.jsx)(y,{as:b,className:(0,n.Z)(L.root,a,{entered:L.entered,exited:!M&&"0px"===N&&L.hidden}[e]),style:{[F?"minWidth":"minHeight"]:N,...P},ref:G,ownerState:{...j,state:e},...i,children:(0,v.jsx)(w,{ownerState:{...j,state:e},className:L.wrapper,ref:V,children:(0,v.jsx)(Z,{ownerState:{...j,state:e},className:L.wrapperInner,children:s})})})})});M&&(M.muiSupportAuto=!0);var R=i(8866),C=i(8810),A=i(8817),k=i(6351);function W(e){return(0,b.ZP)("MuiAccordion",e)}let S=(0,x.Z)("MuiAccordion",["root","heading","rounded","expanded","disabled","gutters","region"]),$=e=>{let{classes:t,square:i,expanded:r,disabled:n,disableGutters:s}=e;return(0,o.Z)({root:["root",!i&&"rounded",r&&"expanded",n&&"disabled",!s&&"gutters"],heading:["heading"],region:["region"]},W,t)},P=(0,s.ZP)(R.Z,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:i}=e;return[{[`& .${S.region}`]:t.region},t.root,!i.square&&t.rounded,!i.disableGutters&&t.gutters]}})((0,a.Z)(({theme:e})=>{let t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${S.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${S.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}}),(0,a.Z)(({theme:e})=>({variants:[{props:e=>!e.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:e=>!e.disableGutters,style:{[`&.${S.expanded}`]:{margin:"16px 0"}}}]}))),D=(0,s.ZP)("h3",{name:"MuiAccordion",slot:"Heading",overridesResolver:(e,t)=>t.heading})({all:"unset"}),T=r.forwardRef(function(e,t){let i=(0,l.i)({props:e,name:"MuiAccordion"}),{children:o,className:s,defaultExpanded:a=!1,disabled:d=!1,disableGutters:h=!1,expanded:u,onChange:c,square:p=!1,slots:f={},slotProps:x={},TransitionComponent:b,TransitionProps:m,...g}=i,[y,w]=(0,A.Z)({controlled:u,default:a,name:"Accordion",state:"expanded"}),Z=r.useCallback(e=>{w(!y),c&&c(e,!y)},[y,c,w]),[R,...W]=r.Children.toArray(o),S=r.useMemo(()=>({expanded:y,disabled:d,disableGutters:h,toggle:Z}),[y,d,h,Z]),T={...i,square:p,disabled:d,disableGutters:h,expanded:y},z=$(T),j={slots:{transition:b,...f},slotProps:{transition:m,...x}},[L,E]=(0,k.Z)("root",{elementType:P,externalForwardedProps:{...j,...g},className:(0,n.Z)(z.root,s),shouldForwardComponentProp:!0,ownerState:T,ref:t,additionalProps:{square:p}}),[I,V]=(0,k.Z)("heading",{elementType:D,externalForwardedProps:j,className:z.heading,ownerState:T}),[H,N]=(0,k.Z)("transition",{elementType:M,externalForwardedProps:j,ownerState:T});return(0,v.jsxs)(L,{...E,children:[(0,v.jsx)(I,{...V,children:(0,v.jsx)(C.Z.Provider,{value:S,children:R})}),(0,v.jsx)(H,{in:y,timeout:"auto",...N,children:(0,v.jsx)("div",{"aria-labelledby":R.props.id,id:R.props["aria-controls"],role:"region",className:z.region,children:W})})]})})},8810:function(e,t,i){i.d(t,{Z:()=>r});let r=i(4538).createContext({})},5474:function(e,t,i){i.d(t,{Z:()=>x});var r=i(4538),n=i(496),o=i(2267),s=i(2709),a=i(2319),l=i(1751),d=i(4124),h=i(6749);function u(e){return(0,h.ZP)("MuiAccordionDetails",e)}(0,d.Z)("MuiAccordionDetails",["root"]);var c=i(4246);let p=e=>{let{classes:t}=e;return(0,o.Z)({root:["root"]},u,t)},f=(0,s.ZP)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})((0,a.Z)(({theme:e})=>({padding:e.spacing(1,2,2)}))),x=r.forwardRef(function(e,t){let i=(0,l.i)({props:e,name:"MuiAccordionDetails"}),{className:r,...o}=i,s=p(i);return(0,c.jsx)(f,{className:(0,n.Z)(s.root,r),ref:t,ownerState:i,...o})})},6656:function(e,t,i){i.d(t,{Z:()=>w});var r=i(4538),n=i(496),o=i(2267),s=i(2709),a=i(2319),l=i(1751),d=i(4544),h=i(8810),u=i(4124),c=i(6749);function p(e){return(0,c.ZP)("MuiAccordionSummary",e)}let f=(0,u.Z)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]);var x=i(6351),b=i(4246);let m=e=>{let{classes:t,expanded:i,disabled:r,disableGutters:n}=e;return(0,o.Z)({root:["root",i&&"expanded",r&&"disabled",!n&&"gutters"],focusVisible:["focusVisible"],content:["content",i&&"expanded",!n&&"contentGutters"],expandIconWrapper:["expandIconWrapper",i&&"expanded"]},p,t)},v=(0,s.ZP)(d.Z,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})((0,a.Z)(({theme:e})=>{let t={duration:e.transitions.duration.shortest};return{display:"flex",width:"100%",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],t),[`&.${f.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${f.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${f.disabled})`]:{cursor:"pointer"},variants:[{props:e=>!e.disableGutters,style:{[`&.${f.expanded}`]:{minHeight:64}}}]}})),g=(0,s.ZP)("span",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})((0,a.Z)(({theme:e})=>({display:"flex",textAlign:"start",flexGrow:1,margin:"12px 0",variants:[{props:e=>!e.disableGutters,style:{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${f.expanded}`]:{margin:"20px 0"}}}]}))),y=(0,s.ZP)("span",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})((0,a.Z)(({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${f.expanded}`]:{transform:"rotate(180deg)"}}))),w=r.forwardRef(function(e,t){let i=(0,l.i)({props:e,name:"MuiAccordionSummary"}),{children:o,className:s,expandIcon:a,focusVisibleClassName:d,onClick:u,slots:c,slotProps:p,...f}=i,{disabled:w=!1,disableGutters:Z,expanded:M,toggle:R}=r.useContext(h.Z),C=e=>{R&&R(e),u&&u(e)},A={...i,expanded:M,disabled:w,disableGutters:Z},k=m(A),W={slots:c,slotProps:p},[S,$]=(0,x.Z)("root",{ref:t,shouldForwardComponentProp:!0,className:(0,n.Z)(k.root,s),elementType:v,externalForwardedProps:{...W,...f},ownerState:A,additionalProps:{focusRipple:!1,disableRipple:!0,disabled:w,"aria-expanded":M,focusVisibleClassName:(0,n.Z)(k.focusVisible,d)},getSlotProps:e=>({...e,onClick:t=>{e.onClick?.(t),C(t)}})}),[P,D]=(0,x.Z)("content",{className:k.content,elementType:g,externalForwardedProps:W,ownerState:A}),[T,z]=(0,x.Z)("expandIconWrapper",{className:k.expandIconWrapper,elementType:y,externalForwardedProps:W,ownerState:A});return(0,b.jsxs)(S,{...$,children:[(0,b.jsx)(P,{...D,children:o}),a&&(0,b.jsx)(T,{...z,children:a})]})})},886:function(e,t,i){i.d(t,{Z:()=>Z});var r=i(4538),n=i(496),o=i(6838),s=i(2267),a=i(4111),l=i(1640),d=i(2709),h=i(4776),u=i(2319),c=i(433),p=i(1751),f=i(2054),x=i(757),b=i(3160);let m=({theme:e,ownerState:t})=>{let i=t.color,r=(0,b.DW)(e,`palette.${i}.main`,!1)||(0,b.DW)(e,`palette.${i}`,!1)||t.color,n=(0,b.DW)(e,`palette.${i}.mainChannel`)||(0,b.DW)(e,`palette.${i}Channel`);return"vars"in e&&n?`rgba(${n} / 0.4)`:(0,o.Fq)(r,.4)};var v=i(4246);let g={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},y=e=>{let{classes:t,component:i,focusVisible:r,underline:n}=e,o={root:["root",`underline${(0,l.Z)(n)}`,"button"===i&&"button",r&&"focusVisible"]};return(0,s.Z)(o,x.w,t)},w=(0,d.ZP)(f.Z,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:i}=e;return[t.root,t[`underline${(0,l.Z)(i.underline)}`],"button"===i.component&&t.button]}})((0,u.Z)(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:e,ownerState:t})=>"always"===e&&"inherit"!==t.color,style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(e.palette).filter((0,c.Z)()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.4)`:(0,o.Fq)(e.palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:(0,o.Fq)(e.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.secondaryChannel} / 0.4)`:(0,o.Fq)(e.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${x.Z.focusVisible}`]:{outline:"auto"}}}]}))),Z=r.forwardRef(function(e,t){let i=(0,p.i)({props:e,name:"MuiLink"}),o=(0,h.Z)(),{className:s,color:l="primary",component:d="a",onBlur:u,onFocus:c,TypographyClasses:f,underline:x="always",variant:b="inherit",sx:Z,...M}=i,[R,C]=r.useState(!1),A={...i,color:l,component:d,focusVisible:R,underline:x,variant:b},k=y(A);return(0,v.jsx)(w,{color:l,className:(0,n.Z)(k.root,s),classes:f,component:d,onBlur:e=>{(0,a.Z)(e.target)||C(!1),u&&u(e)},onFocus:e=>{(0,a.Z)(e.target)&&C(!0),c&&c(e)},ref:t,ownerState:A,variant:b,...M,sx:[...void 0===g[l]?[{color:l}]:[],...Array.isArray(Z)?Z:[Z]],style:{...M.style,..."always"===x&&"inherit"!==l&&!g[l]&&{"--Link-underlineColor":m({theme:o,ownerState:A})}}})})},9581:function(e,t,i){i.d(t,{np:()=>r});let r="STATUS_CODE_ERROR"},7469:function(e,t,i){i.d(t,{z:()=>n});var r=i(4538);function n(e){let t=(0,r.useRef)(e);return(0,r.useLayoutEffect)(()=>{t.current=e}),(0,r.useCallback)((...e)=>t.current(...e),[])}},3915:function(e,t,i){i.d(t,{Z:()=>T});var r,n,o,s,a,l,d,h,u,c,p,f,x,b,m,v,g,y,w=function(e,t,i){if(!t.has(e))throw TypeError("attempted to set private field on non-instance");return t.set(e,i),i},Z=function(e,t){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return t.get(e)};let M=function(e){var t=0;e+="x";var i=Math.floor(65745979961613.07);for(let r=0;r<e.length;r++)t>i&&(t=Math.floor(t/137)),t=131*t+e.charCodeAt(r);return t},R="0123456789abcdef".split(""),C=[-0x80000000,8388608,32768,128],A=[24,16,8,0],k=[0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2],W=[];class S{constructor(e=!1,t=!1){r.set(this,void 0),n.set(this,void 0),o.set(this,void 0),s.set(this,void 0),a.set(this,void 0),l.set(this,void 0),d.set(this,void 0),h.set(this,void 0),u.set(this,void 0),c.set(this,void 0),p.set(this,void 0),f.set(this,void 0),x.set(this,void 0),b.set(this,void 0),m.set(this,void 0),v.set(this,void 0),g.set(this,0),y.set(this,void 0),this.init(e,t)}init(e,t){t?(W[0]=W[16]=W[1]=W[2]=W[3]=W[4]=W[5]=W[6]=W[7]=W[8]=W[9]=W[10]=W[11]=W[12]=W[13]=W[14]=W[15]=0,w(this,n,W)):w(this,n,[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),e?(w(this,l,0xc1059ed8),w(this,d,0x367cd507),w(this,h,0x3070dd17),w(this,u,0xf70e5939),w(this,c,0xffc00b31),w(this,p,0x68581511),w(this,f,0x64f98fa7),w(this,x,0xbefa4fa4)):(w(this,l,0x6a09e667),w(this,d,0xbb67ae85),w(this,h,0x3c6ef372),w(this,u,0xa54ff53a),w(this,c,0x510e527f),w(this,p,0x9b05688c),w(this,f,0x1f83d9ab),w(this,x,0x5be0cd19)),w(this,r,w(this,y,w(this,o,w(this,m,0)))),w(this,s,w(this,b,!1)),w(this,a,!0),w(this,v,e)}update(e){let t;if(Z(this,s))return this;t=e instanceof ArrayBuffer?new Uint8Array(e):e;let i=0,a=t.length,l=Z(this,n);for(;i<a;){let e;if(Z(this,b)&&(w(this,b,!1),l[0]=Z(this,r),l[16]=l[1]=l[2]=l[3]=l[4]=l[5]=l[6]=l[7]=l[8]=l[9]=l[10]=l[11]=l[12]=l[13]=l[14]=l[15]=0),"string"!=typeof t)for(e=Z(this,y);i<a&&e<64;++i)l[e>>2]|=t[i]<<A[3&e++];else for(e=Z(this,y);i<a&&e<64;++i){let r=t.charCodeAt(i);r<128?l[e>>2]|=r<<A[3&e++]:(r<2048?l[e>>2]|=(192|r>>6)<<A[3&e++]:(r<55296||r>=57344?l[e>>2]|=(224|r>>12)<<A[3&e++]:(r=65536+((1023&r)<<10|1023&t.charCodeAt(++i)),l[e>>2]|=(240|r>>18)<<A[3&e++],l[e>>2]|=(128|r>>12&63)<<A[3&e++]),l[e>>2]|=(128|r>>6&63)<<A[3&e++]),l[e>>2]|=(128|63&r)<<A[3&e++])}w(this,g,e),w(this,o,Z(this,o)+(e-Z(this,y))),e>=64?(w(this,r,l[16]),w(this,y,e-64),this.hash(),w(this,b,!0)):w(this,y,e)}return Z(this,o)>0xffffffff&&(w(this,m,Z(this,m)+(Z(this,o)/0x100000000<<0)),w(this,o,Z(this,o)%0x100000000)),this}finalize(){if(Z(this,s))return;w(this,s,!0);let e=Z(this,n),t=Z(this,g);e[16]=Z(this,r),e[t>>2]|=C[3&t],w(this,r,e[16]),t>=56&&(Z(this,b)||this.hash(),e[0]=Z(this,r),e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=Z(this,m)<<3|Z(this,o)>>>29,e[15]=Z(this,o)<<3,this.hash()}hash(){let e,t,i,r,o,s,b,m,g,y,M=Z(this,l),R=Z(this,d),C=Z(this,h),A=Z(this,u),W=Z(this,c),S=Z(this,p),$=Z(this,f),P=Z(this,x),D=Z(this,n);for(let i=16;i<64;++i)e=((r=D[i-15])>>>7|r<<25)^(r>>>18|r<<14)^r>>>3,t=((r=D[i-2])>>>17|r<<15)^(r>>>19|r<<13)^r>>>10,D[i]=D[i-16]+e+D[i-7]+t<<0;y=R&C;for(let n=0;n<64;n+=4)Z(this,a)?(Z(this,v)?(b=300032,P=(r=D[0]-0x543c9a5b)-0x8f1a6c7<<0,A=r+0x170e9b5<<0):(b=0x2a01a605,P=(r=D[0]-0xc881298)-0x5ab00ac6<<0,A=r+0x8909ae5<<0),w(this,a,!1)):(e=(M>>>2|M<<30)^(M>>>13|M<<19)^(M>>>22|M<<10),t=(W>>>6|W<<26)^(W>>>11|W<<21)^(W>>>25|W<<7),i=(b=M&R)^M&C^y,r=P+t+(W&S^~W&$)+k[n]+D[n],o=e+i,P=A+r<<0,A=r+o<<0),e=(A>>>2|A<<30)^(A>>>13|A<<19)^(A>>>22|A<<10),t=(P>>>6|P<<26)^(P>>>11|P<<21)^(P>>>25|P<<7),i=(m=A&M)^A&R^b,r=$+t+(P&W^~P&S)+k[n+1]+D[n+1],o=e+i,$=C+r<<0,e=((C=r+o<<0)>>>2|C<<30)^(C>>>13|C<<19)^(C>>>22|C<<10),t=($>>>6|$<<26)^($>>>11|$<<21)^($>>>25|$<<7),i=(g=C&A)^C&M^m,r=S+t+($&P^~$&W)+k[n+2]+D[n+2],o=e+i,S=R+r<<0,e=((R=r+o<<0)>>>2|R<<30)^(R>>>13|R<<19)^(R>>>22|R<<10),t=(S>>>6|S<<26)^(S>>>11|S<<21)^(S>>>25|S<<7),i=(y=R&C)^R&A^g,r=W+t+(S&$^~S&P)+k[n+3]+D[n+3],o=e+i,W=M+r<<0,M=r+o<<0;w(this,l,Z(this,l)+M<<0),w(this,d,Z(this,d)+R<<0),w(this,h,Z(this,h)+C<<0),w(this,u,Z(this,u)+A<<0),w(this,c,Z(this,c)+W<<0),w(this,p,Z(this,p)+S<<0),w(this,f,Z(this,f)+$<<0),w(this,x,Z(this,x)+P<<0)}hex(){this.finalize();let e=Z(this,l),t=Z(this,d),i=Z(this,h),r=Z(this,u),n=Z(this,c),o=Z(this,p),s=Z(this,f),a=Z(this,x),b=R[e>>28&15]+R[e>>24&15]+R[e>>20&15]+R[e>>16&15]+R[e>>12&15]+R[e>>8&15]+R[e>>4&15]+R[15&e]+R[t>>28&15]+R[t>>24&15]+R[t>>20&15]+R[t>>16&15]+R[t>>12&15]+R[t>>8&15]+R[t>>4&15]+R[15&t]+R[i>>28&15]+R[i>>24&15]+R[i>>20&15]+R[i>>16&15]+R[i>>12&15]+R[i>>8&15]+R[i>>4&15]+R[15&i]+R[r>>28&15]+R[r>>24&15]+R[r>>20&15]+R[r>>16&15]+R[r>>12&15]+R[r>>8&15]+R[r>>4&15]+R[15&r]+R[n>>28&15]+R[n>>24&15]+R[n>>20&15]+R[n>>16&15]+R[n>>12&15]+R[n>>8&15]+R[n>>4&15]+R[15&n]+R[o>>28&15]+R[o>>24&15]+R[o>>20&15]+R[o>>16&15]+R[o>>12&15]+R[o>>8&15]+R[o>>4&15]+R[15&o]+R[s>>28&15]+R[s>>24&15]+R[s>>20&15]+R[s>>16&15]+R[s>>12&15]+R[s>>8&15]+R[s>>4&15]+R[15&s];return Z(this,v)||(b+=R[a>>28&15]+R[a>>24&15]+R[a>>20&15]+R[a>>16&15]+R[a>>12&15]+R[a>>8&15]+R[a>>4&15]+R[15&a]),b}toString(){return this.hex()}digest(){this.finalize();let e=Z(this,l),t=Z(this,d),i=Z(this,h),r=Z(this,u),n=Z(this,c),o=Z(this,p),s=Z(this,f),a=Z(this,x),b=[e>>24&255,e>>16&255,e>>8&255,255&e,t>>24&255,t>>16&255,t>>8&255,255&t,i>>24&255,i>>16&255,i>>8&255,255&i,r>>24&255,r>>16&255,r>>8&255,255&r,n>>24&255,n>>16&255,n>>8&255,255&n,o>>24&255,o>>16&255,o>>8&255,255&o,s>>24&255,s>>16&255,s>>8&255,255&s];return Z(this,v)||b.push(a>>24&255,a>>16&255,a>>8&255,255&a),b}array(){return this.digest()}arrayBuffer(){this.finalize();let e=new ArrayBuffer(Z(this,v)?28:32),t=new DataView(e);return t.setUint32(0,Z(this,l)),t.setUint32(4,Z(this,d)),t.setUint32(8,Z(this,h)),t.setUint32(12,Z(this,u)),t.setUint32(16,Z(this,c)),t.setUint32(20,Z(this,p)),t.setUint32(24,Z(this,f)),Z(this,v)||t.setUint32(28,Z(this,x)),e}}function $(e){let t=new S;return t.update(e),parseInt(t.hex().substring(0,8),16)}r=new WeakMap,n=new WeakMap,o=new WeakMap,s=new WeakMap,a=new WeakMap,l=new WeakMap,d=new WeakMap,h=new WeakMap,u=new WeakMap,c=new WeakMap,p=new WeakMap,f=new WeakMap,x=new WeakMap,b=new WeakMap,m=new WeakMap,v=new WeakMap,g=new WeakMap,y=new WeakMap;let P=function(e){var t="#";return e.forEach(function(e){e<16&&(t+=0),t+=e.toString(16)}),t},D=function(e,t,i){var r=i<.5?i*(1+t):i+t-i*t,n=2*i-r;return[(e/=360)+1/3,e,e-1/3].map(function(e){return e<0&&e++,e>1&&e--,Math.round(255*(e=e<1/6?n+(r-n)*6*e:e<.5?r:e<2/3?n+(r-n)*6*(2/3-e):n))})};class T{constructor(e={}){let[t,i]=[e.lightness,e.saturation].map(function(e){return Array.isArray(e=void 0!==e?e:[.35,.5,.65])?e.concat():[e]});this.L=t,this.S=i,"number"==typeof e.hue&&(e.hue={min:e.hue,max:e.hue}),"object"!=typeof e.hue||Array.isArray(e.hue)||(e.hue=[e.hue]),void 0===e.hue&&(e.hue=[]),this.hueRanges=e.hue.map(function(e){return{min:void 0===e.min?0:e.min,max:void 0===e.max?360:e.max}}),this.hash=$,"function"==typeof e.hash&&(this.hash=e.hash),"bkdr"===e.hash&&(this.hash=M)}hsl(e){var t,i,r=this.hash(e);if(this.hueRanges.length){let e=this.hueRanges[r%this.hueRanges.length];t=r/this.hueRanges.length%727*(e.max-e.min)/727+e.min}else t=r%359;return r=Math.ceil(r/360),i=this.S[r%this.S.length],r=Math.ceil(r/this.S.length),[t,i,this.L[r%this.L.length]]}rgb(e){var t=this.hsl(e);return D.apply(this,t)}hex(e){return P(this.rgb(e))}}},4944:function(e,t,i){t.default=void 0;var r,n=(r=i(265))&&r.__esModule?r:{default:r};t.default=(0,n.default)("M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z","AlertCircleOutline")}}]);
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 620.1d1ce390.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunkTracingGanttChart=self.webpackChunkTracingGanttChart||[]).push([["620"],{7634:function(e,r,t){var o=t(6085);r.createRoot=o.createRoot,r.hydrateRoot=o.hydrateRoot},1426:function(e,r,t){var o=t(4538),n=Symbol.for("react.element"),a=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,f=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function s(e,r,t){var o,a={},s=null,i=null;for(o in void 0!==t&&(s=""+t),void 0!==r.key&&(s=""+r.key),void 0!==r.ref&&(i=r.ref),r)c.call(r,o)&&!u.hasOwnProperty(o)&&(a[o]=r[o]);if(e&&e.defaultProps)for(o in r=e.defaultProps)void 0===a[o]&&(a[o]=r[o]);return{$$typeof:n,type:e,key:s,ref:i,props:a,_owner:f.current}}r.Fragment=a,r.jsx=s,r.jsxs=s},4246:function(e,r,t){e.exports=t(1426)},9161:function(e,r,t){t.r(r);var o=t(4246),n=t(4538),a=t.n(n);t(7634).createRoot(document.getElementById("root")).render((0,o.jsx)(a().StrictMode,{}))}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkTracingGanttChart=self.webpackChunkTracingGanttChart||[]).push([["651"],{7960:function(e,r,t){t.d(r,{Z:()=>n});function n(e){var r=Object.create(null);return function(t){return void 0===r[t]&&(r[t]=e(t)),r[t]}}},2747:function(e,r,t){t.d(r,{O:()=>v});var n,o={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},a=t(7960),i=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},u=function(e){return null!=e&&"boolean"!=typeof e},c=(0,a.Z)(function(e){return s(e)?e:e.replace(i,"-$&").toLowerCase()}),f=function(e,r){switch(e){case"animation":case"animationName":if("string"==typeof r)return r.replace(l,function(e,r,t){return n={name:r,styles:t,next:n},r})}return 1===o[e]||s(e)||"number"!=typeof r||0===r?r:r+"px"};function d(e,r,t){if(null==t)return"";if(void 0!==t.__emotion_styles)return t;switch(typeof t){case"boolean":return"";case"object":if(1===t.anim)return n={name:t.name,styles:t.styles,next:n},t.name;if(void 0!==t.styles){var o=t.next;if(void 0!==o)for(;void 0!==o;)n={name:o.name,styles:o.styles,next:n},o=o.next;return t.styles+";"}return function(e,r,t){var n="";if(Array.isArray(t))for(var o=0;o<t.length;o++)n+=d(e,r,t[o])+";";else for(var a in t){var i=t[a];if("object"!=typeof i)null!=r&&void 0!==r[i]?n+=a+"{"+r[i]+"}":u(i)&&(n+=c(a)+":"+f(a,i)+";");else if(Array.isArray(i)&&"string"==typeof i[0]&&(null==r||void 0===r[i[0]]))for(var l=0;l<i.length;l++)u(i[l])&&(n+=c(a)+":"+f(a,i[l])+";");else{var s=d(e,r,i);switch(a){case"animation":case"animationName":n+=c(a)+":"+s+";";break;default:n+=a+"{"+s+"}"}}}return n}(e,r,t);case"function":if(void 0!==e){var a=n,i=t(e);return n=a,d(e,r,i)}}if(null==r)return t;var l=r[t];return void 0!==l?l:t}var m=/label:\s*([^\s;{]+)\s*(;|$)/g;function v(e,r,t){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o,a=!0,i="";n=void 0;var l=e[0];null==l||void 0===l.raw?(a=!1,i+=d(t,r,l)):i+=l[0];for(var s=1;s<e.length;s++)i+=d(t,r,e[s]),a&&(i+=l[s]);m.lastIndex=0;for(var u="";null!==(o=m.exec(i));)u+="-"+o[1];return{name:function(e){for(var r,t=0,n=0,o=e.length;o>=4;++n,o-=4)r=(65535&(r=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*0x5bd1e995+((r>>>16)*59797<<16),r^=r>>>24,t=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16)^(65535&t)*0x5bd1e995+((t>>>16)*59797<<16);switch(o){case 3:t^=(255&e.charCodeAt(n+2))<<16;case 2:t^=(255&e.charCodeAt(n+1))<<8;case 1:t^=255&e.charCodeAt(n),t=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)}return t^=t>>>13,(((t=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16))^t>>>15)>>>0).toString(36)}(i)+u,styles:i,next:n}}},252:function(e,r,t){t.d(r,{Z:()=>n});function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(null,arguments)}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkTracingGanttChart=self.webpackChunkTracingGanttChart||[]).push([["694"],{1958:function(e,t,r){r.r(t),r.d(t,{default:()=>g});var i=r(252),n=r(2116),a=r(2747),o=r(7164),s=r(3211),l=r(4538),c=r(7960),d=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,p=(0,c.Z)(function(e){return d.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),u=function(e){return"theme"!==e},m=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?p:u},f=function(e,t,r){var i;if(t){var n=t.shouldForwardProp;i=e.__emotion_forwardProp&&n?function(t){return e.__emotion_forwardProp(t)&&n(t)}:n}return"function"!=typeof i&&r&&(i=e.__emotion_forwardProp),i},h=function(e){var t=e.cache,r=e.serialized,i=e.isStringTag;return(0,s.hC)(t,r,i),(0,o.L)(function(){return(0,s.My)(t,r,i)}),null},g=(function e(t,r){var o,c,d=t.__emotion_real===t,p=d&&t.__emotion_base||t;void 0!==r&&(o=r.label,c=r.target);var u=f(t,r,d),g=u||m(p),y=!g("as");return function(){var v=arguments,k=d&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&k.push("label:"+o+";"),null==v[0]||void 0===v[0].raw)k.push.apply(k,v);else{var b=v[0];k.push(b[0]);for(var x=v.length,w=1;w<x;w++)k.push(v[w],b[w])}var C=(0,n.withEmotionCache)(function(e,t,r){var i=y&&e.as||p,o="",d=[],f=e;if(null==e.theme){for(var v in f={},e)f[v]=e[v];f.theme=l.useContext(n.ThemeContext)}"string"==typeof e.className?o=(0,s.fp)(t.registered,d,e.className):null!=e.className&&(o=e.className+" ");var b=(0,a.O)(k.concat(d),t.registered,f);o+=t.key+"-"+b.name,void 0!==c&&(o+=" "+c);var x=y&&void 0===u?m(i):g,w={};for(var C in e)(!y||"as"!==C)&&x(C)&&(w[C]=e[C]);return w.className=o,r&&(w.ref=r),l.createElement(l.Fragment,null,l.createElement(h,{cache:t,serialized:b,isStringTag:"string"==typeof i}),l.createElement(i,w))});return C.displayName=void 0!==o?o:"Styled("+("string"==typeof p?p:p.displayName||p.name||"Component")+")",C.defaultProps=t.defaultProps,C.__emotion_real=C,C.__emotion_base=p,C.__emotion_styles=k,C.__emotion_forwardProp=u,Object.defineProperty(C,"toString",{value:function(){return"."+c}}),C.withComponent=function(t,n){return e(t,(0,i.Z)({},r,n,{shouldForwardProp:f(C,n,!0)})).apply(void 0,k)},C}}).bind(null);["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){g[e]=g(e)})},7164:function(e,t,r){r.d(t,{L:()=>a,j:()=>o});var i=r(4538),n=!!i.useInsertionEffect&&i.useInsertionEffect,a=n||function(e){return e()},o=n||i.useLayoutEffect},3211:function(e,t,r){function i(e,t,r){var i="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(i+=r+" ")}),i}r.d(t,{My:()=>a,fp:()=>i,hC:()=>n});var n=function(e,t,r){var i=e.key+"-"+t.name;!1===r&&void 0===e.registered[i]&&(e.registered[i]=t.styles)},a=function(e,t,r){n(e,t,r);var i=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do e.insert(t===a?"."+i:"",a,e.sheet,!0),a=a.next;while(void 0!==a)}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkTracingGanttChart=self.webpackChunkTracingGanttChart||[]).push([["740"],{8872:function(e,t,n){n.r(t),n.d(t,{getTimezoneOffset:()=>P,toDate:()=>y,toZonedTime:()=>v,format:()=>z,formatInTimeZone:()=>W,fromZonedTime:()=>X});var r=n(6332),a=n(7871);function i(e,t,n){var r,i,u;let l=(0,a.getDefaultOptions)(),o=(r=e,i=n.timeZone,u=n.locale??l.locale,new Intl.DateTimeFormat(u?[u.code,"en-US"]:void 0,{timeZone:i,timeZoneName:r}));return"formatToParts"in o?function(e,t){let n=e.formatToParts(t);for(let e=n.length-1;e>=0;--e)if("timeZoneName"===n[e].type)return n[e].value}(o,t):function(e,t){let n=e.format(t).replace(/\u200E/g,""),r=/ [\w-+ ]+$/.exec(n);return r?r[0].substr(1):""}(o,t)}let u={year:0,month:1,day:2,hour:3,minute:4,second:5},l={},o=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),c="06/25/2014, 00:00:00"===o||"06/25/2014 00:00:00"===o;function s(e,t,n,r,a,i,u){let l=new Date(0);return l.setUTCFullYear(e,t,n),l.setUTCHours(r,a,i,u),l}let f=/^(Z)$/,d=/^([+-]\d{2})$/,g=/^([+-])(\d{2}):?(\d{2})$/;function m(e,t,n){let r,a;if(!e)return 0;let i=f.exec(e);if(i)return 0;if(i=d.exec(e))return w(r=parseInt(i[1],10))?-(36e5*r):NaN;if(i=g.exec(e)){r=parseInt(i[2],10);let e=parseInt(i[3],10);return w(r,e)?(a=36e5*Math.abs(r)+6e4*e,"+"===i[1]?-a:a):NaN}if(function(e){if(h[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),h[e]=!0,!0}catch(e){return!1}}(e)){var u;t=new Date(t||Date.now());let r=D(n?t:s((u=t).getFullYear(),u.getMonth(),u.getDate(),u.getHours(),u.getMinutes(),u.getSeconds(),u.getMilliseconds()),e);return-(n?r:function(e,t,n){let r=e.getTime()-t,a=D(new Date(r),n);if(t===a)return t;let i=D(new Date(r-=a-t),n);return a===i?a:Math.max(a,i)}(t,r,e))}return NaN}function D(e,t){let n=function(e,t){var n;let r=(l[n=t]||(l[n]=c?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:n,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),l[n]);return"formatToParts"in r?function(e,t){try{let n=e.formatToParts(t),r=[];for(let e=0;e<n.length;e++){let t=u[n[e].type];void 0!==t&&(r[t]=parseInt(n[e].value,10))}return r}catch(e){if(e instanceof RangeError)return[NaN];throw e}}(r,e):function(e,t){let n=e.format(t),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[parseInt(r[3],10),parseInt(r[1],10),parseInt(r[2],10),parseInt(r[4],10),parseInt(r[5],10),parseInt(r[6],10)]}(r,e)}(e,t),r=s(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),a=e.getTime(),i=a%1e3;return r-(a-=i>=0?i:1e3+i)}function w(e,t){return -23<=e&&e<=23&&(null==t||0<=t&&t<=59)}let h={},T={X:function(e,t,n){let r=p(n.timeZone,e);if(0===r)return"Z";switch(t){case"X":return M(r);case"XXXX":case"XX":return Y(r);default:return Y(r,":")}},x:function(e,t,n){let r=p(n.timeZone,e);switch(t){case"x":return M(r);case"xxxx":case"xx":return Y(r);default:return Y(r,":")}},O:function(e,t,n){let r=p(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+function(e,t=""){let n=e>0?"-":"+",r=Math.abs(e),a=Math.floor(r/60),i=r%60;return 0===i?n+String(a):n+String(a)+t+N(i,2)}(r,":");default:return"GMT"+Y(r,":")}},z:function(e,t,n){switch(t){case"z":case"zz":case"zzz":return i("short",e,n);default:return i("long",e,n)}}};function p(e,t){let n=e?m(e,t,!0)/6e4:t?.getTimezoneOffset()??0;if(Number.isNaN(n))throw RangeError("Invalid time zone specified: "+e);return n}function N(e,t){let n=Math.abs(e).toString();for(;n.length<t;)n="0"+n;return(e<0?"-":"")+n}function Y(e,t=""){let n=Math.abs(e);return(e>0?"-":"+")+N(Math.floor(n/60),2)+t+N(Math.floor(n%60),2)}function M(e,t){return e%60==0?(e>0?"-":"+")+N(Math.abs(e)/60,2):Y(e,t)}function x(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+e-+t}let Z=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,I={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:Z};function y(e,t={}){if(arguments.length<1)throw TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);let n=null==t.additionalDigits?2:Number(t.additionalDigits);if(2!==n&&1!==n&&0!==n)throw RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);let r=function(e){let t;let n={},r=I.dateTimePattern.exec(e);if(r?(n.date=r[1],t=r[3]):(r=I.datePattern.exec(e))?(n.date=r[1],t=r[2]):(n.date=null,t=e),t){let e=I.timeZone.exec(t);e?(n.time=t.replace(e[1],""),n.timeZone=e[1].trim()):n.time=t}return n}(e),{year:a,restDateString:i}=function(e,t){if(e){let n=I.YYY[t],r=I.YYYYY[t],a=I.YYYY.exec(e)||r.exec(e);if(a){let t=a[1];return{year:parseInt(t,10),restDateString:e.slice(t.length)}}if(a=I.YY.exec(e)||n.exec(e)){let t=a[1];return{year:100*parseInt(t,10),restDateString:e.slice(t.length)}}}return{year:null}}(r.date,n),u=function(e,t){let n,r,a;if(null===t)return null;if(!e||!e.length)return(n=new Date(0)).setUTCFullYear(t),n;let i=I.MM.exec(e);if(i)return(n=new Date(0),F(t,r=parseInt(i[1],10)-1))?(n.setUTCFullYear(t,r),n):new Date(NaN);if(i=I.DDD.exec(e)){n=new Date(0);let e=parseInt(i[1],10);return!function(e,t){if(t<1)return!1;let n=S(e);return(!n||!(t>366))&&(!!n||!(t>365))}(t,e)?new Date(NaN):(n.setUTCFullYear(t,0,e),n)}if(i=I.MMDD.exec(e)){n=new Date(0),r=parseInt(i[1],10)-1;let e=parseInt(i[2],10);return F(t,r,e)?(n.setUTCFullYear(t,r,e),n):new Date(NaN)}if(i=I.Www.exec(e))return H(a=parseInt(i[1],10)-1)?C(t,a):new Date(NaN);if(i=I.WwwD.exec(e)){a=parseInt(i[1],10)-1;let e=parseInt(i[2],10)-1;return H(a,e)?C(t,a,e):new Date(NaN)}return null}(i,a);if(null===u||isNaN(u.getTime())||!u)return new Date(NaN);{let e;let n=u.getTime(),a=0;if(r.time&&(null===(a=function(e){let t,n;let r=I.HH.exec(e);if(r)return $(t=parseFloat(r[1].replace(",",".")))?t%24*36e5:NaN;if(r=I.HHMM.exec(e))return $(t=parseInt(r[1],10),n=parseFloat(r[2].replace(",",".")))?t%24*36e5+6e4*n:NaN;if(r=I.HHMMSS.exec(e)){t=parseInt(r[1],10),n=parseInt(r[2],10);let e=parseFloat(r[3].replace(",","."));return $(t,n,e)?t%24*36e5+6e4*n+1e3*e:NaN}return null}(r.time))||isNaN(a)))return new Date(NaN);if(r.timeZone||t.timeZone){if(isNaN(e=m(r.timeZone||t.timeZone,new Date(n+a))))return new Date(NaN)}else e=x(new Date(n+a)),e=x(new Date(n+a+e));return new Date(n+a+e)}}function C(e,t,n){t=t||0,n=n||0;let r=new Date(0);r.setUTCFullYear(e,0,4);let a=7*t+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+a),r}let U=[31,28,31,30,31,30,31,31,30,31,30,31],b=[31,29,31,30,31,30,31,31,30,31,30,31];function S(e){return e%400==0||e%4==0&&e%100!=0}function F(e,t,n){if(t<0||t>11)return!1;if(null!=n){if(n<1)return!1;let r=S(e);if(r&&n>b[t]||!r&&n>U[t])return!1}return!0}function H(e,t){return!(e<0)&&!(e>52)&&(null==t||!(t<0)&&!(t>6))}function $(e,t,n){return!(e<0)&&!(e>=25)&&(null==t||!(t<0)&&!(t>=60))&&(null==n||!(n<0)&&!(n>=60))}let O=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function z(e,t,n={}){let a=(t=String(t)).match(O);if(a){let r=y(n.originalDate||e,n);t=a.reduce(function(e,t){if("'"===t[0])return e;let a=e.indexOf(t),i="'"===e[a-1],u=e.replace(t,"'"+T[t[0]](r,t,n)+"'");return i?u.substring(0,a-1)+u.substring(a+1):u},t)}return(0,r.WU)(e,t,n)}function v(e,t,n){let r=m(t,e=y(e,n),!0),a=new Date(e.getTime()-r),i=new Date(0);return i.setFullYear(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()),i.setHours(a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds(),a.getUTCMilliseconds()),i}function W(e,t,n,r){return r={...r,timeZone:t,originalDate:e},z(v(e,t,{timeZone:r.timeZone}),n,r)}function X(e,t,n){if("string"==typeof e&&!e.match(Z))return y(e,{...n,timeZone:t});let r=s((e=y(e,n)).getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()).getTime(),a=m(t,new Date(r));return new Date(r+a)}function P(e,t){return-m(e,t)}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkTracingGanttChart=self.webpackChunkTracingGanttChart||[]).push([["75"],{9657:function(e,t,n){n.r(t),n.d(t,{endOfWeek:()=>ek.v,formatRFC7231:()=>eV,getISOWeekYear:()=>h.L,isFirstDayOfMonth:()=>tw,roundToNearestHours:()=>nB,intlFormat:()=>tS,subHours:()=>rM,differenceInMinutes:()=>en,eachHourOfInterval:()=>eh,isThisWeek:()=>tV,getMilliseconds:()=>ta.p,nextDay:()=>nT,formatDate:()=>eC.p6,isEqual:()=>tI.X,startOfQuarter:()=>eD,startOfHour:()=>ro.o,lastDayOfISOWeek:()=>nt,isBefore:()=>tp.R,eachWeekOfInterval:()=>ey,isMatch:()=>tb,compareAsc:()=>F,isThisHour:()=>tZ,lightFormat:()=>nf,parse:()=>t$.Qc,isSameMinute:()=>tz,addSeconds:()=>O.v,differenceInHours:()=>K,quartersToYears:()=>nZ,addDays:()=>r.E,getSeconds:()=>to.C,lastDayOfMonth:()=>tg,formatters:()=>eC.$0,quartersToMonths:()=>nq,previousTuesday:()=>n_,subYears:()=>rO,endOfISOWeek:()=>ew,getISODay:()=>tt.t,differenceInCalendarMonths:()=>J,milliseconds:()=>nc,getHours:()=>te.p,isSameHour:()=>tL.f,endOfDecade:()=>eY,addMinutes:()=>v.m,isSameISOWeek:()=>tE,hoursToMilliseconds:()=>tm,formatDistanceStrict:()=>ez,eachDayOfInterval:()=>ed,addQuarters:()=>T,isLastDayOfMonth:()=>ei,isTuesday:()=>t5,setMonth:()=>nV.q,getDay:()=>e3,compareDesc:()=>$,getQuarter:()=>_,isSameWeek:()=>tC,addYears:()=>N.B,subWeeks:()=>rT,setDate:()=>n1.G,startOfISOWeekYear:()=>M.E,endOfYesterday:()=>eL,add:()=>s,startOfDay:()=>ru.b,isSameISOWeekYear:()=>tU,endOfISOWeekYear:()=>eH,daysToWeeks:()=>x,endOfMonth:()=>ea.V,isThursday:()=>t1,format:()=>eC.WU,isFriday:()=>tH,isPast:()=>tx,setWeek:()=>rn.$,yearsToDays:()=>rQ,areIntervalsOverlapping:()=>Q,isSameMonth:()=>tR.x,setDay:()=>n2.v,constructFrom:()=>i.L,isSameDay:()=>L.K,closestIndexTo:()=>w,eachMinuteOfInterval:()=>eg,nextSunday:()=>nQ,formatDistanceToNow:()=>eR,previousDay:()=>nE,setQuarter:()=>re,startOfMonth:()=>eT.N,transpose:()=>rS.p,fromUnixTime:()=>e1,differenceInMonths:()=>eu,eachWeekendOfMonth:()=>eO,hoursToMinutes:()=>ty,lastDayOfWeek:()=>ne,setHours:()=>n9.B,endOfHour:()=>eI,startOfYesterday:()=>rc,setISOWeekYear:()=>D,minutesToSeconds:()=>nm,subBusinessDays:()=>rg,nextWednesday:()=>nI,endOfTomorrow:()=>ex,startOfSecond:()=>t_,previousWednesday:()=>nX,max:()=>Y,startOfToday:()=>rl,subDays:()=>t4,differenceInISOWeekYears:()=>ee,hoursToSeconds:()=>tv,addHours:()=>d.T,subSeconds:()=>rv,getWeeksInMonth:()=>tM,isSameYear:()=>tq.F,previousSaturday:()=>nz,setISOWeek:()=>n4.M,isExists:()=>tk,getOverlappingDaysInIntervals:()=>ts,min:()=>I,previousThursday:()=>nJ,millisecondsToSeconds:()=>ng,secondsToMilliseconds:()=>nG,nextThursday:()=>np,lastDayOfQuarter:()=>nr,addISOWeekYears:()=>m,setYear:()=>ri.M,differenceInCalendarQuarters:()=>X,getDate:()=>e2._,roundToNearestMinutes:()=>nA,isThisISOWeek:()=>tB,longFormatters:()=>eC.Gw,parseJSON:()=>nC,intlFormatDistance:()=>tN,secondsToHours:()=>nP,parsers:()=>t$.fQ,endOfSecond:()=>eb,formatISO9075:()=>eB,interval:()=>tT,nextSaturday:()=>nN,addMonths:()=>a.z,getDaysInMonth:()=>e9.N,lightFormatters:()=>ni.o,startOfTomorrow:()=>rf,isWithinInterval:()=>t6._,isValid:()=>C.J,setISODay:()=>n6.v,getISOWeeksInYear:()=>tr,setDayOfYear:()=>n3,isSameQuarter:()=>tJ,differenceInDays:()=>A,isWednesday:()=>t9,monthsToYears:()=>nv,endOfQuarter:()=>e$,getWeek:()=>tc.Q,nextMonday:()=>nS,nextFriday:()=>nO,startOfDecade:()=>rs,subISOWeekYears:()=>V,getDefaultOptions:()=>e8.j,formatRFC3339:()=>eP,lastDayOfISOWeekYear:()=>nn,getWeekYear:()=>th.c,formatRelative:()=>e0,formatDistanceToNowStrict:()=>eJ,isSameSecond:()=>tX,isThisQuarter:()=>tG,monthsToQuarters:()=>ny,differenceInBusinessDays:()=>E,endOfToday:()=>eW,addMilliseconds:()=>y.n,isMonday:()=>tW,subMonths:()=>rd,getISOWeek:()=>tn.l,eachMonthOfInterval:()=>eM,subQuarters:()=>ry,secondsToMinutes:()=>nK,formatISODuration:()=>eA,yearsToQuarters:()=>rY,differenceInMilliseconds:()=>et,millisecondsToMinutes:()=>nh,differenceInCalendarDays:()=>g.w,getUnixTime:()=>tf,setMinutes:()=>n8.H,previousFriday:()=>nU,setSeconds:()=>rt.O,minutesToMilliseconds:()=>nD,formatDuration:()=>eX,differenceInCalendarYears:()=>B,isThisSecond:()=>tK,yearsToMonths:()=>rp,subMinutes:()=>rm,lastDayOfYear:()=>na,weeksToDays:()=>rN,subMilliseconds:()=>rD,previousSunday:()=>nR,eachWeekendOfYear:()=>eQ,startOfMinute:()=>tj,startOfWeekYear:()=>rr.v,minutesToHours:()=>nM,isFuture:()=>tF,differenceInWeeks:()=>el,getDecade:()=>e7,previousMonday:()=>nj,getYear:()=>tD.S,getMonth:()=>tu.j,differenceInCalendarISOWeeks:()=>R,differenceInSeconds:()=>eo,eachYearOfInterval:()=>ep,endOfMinute:()=>eF,isThisMonth:()=>tP,isToday:()=>t2,nextTuesday:()=>nY,getTime:()=>tl,intervalToDuration:()=>tO,millisecondsToHours:()=>nd,getWeekOfMonth:()=>td,differenceInYears:()=>ef,eachWeekendOfInterval:()=>ev,startOfWeek:()=>q.z,toDate:()=>u.Q,formatDistance:()=>ej,getDayOfYear:()=>e5.B,addBusinessDays:()=>c,isSaturday:()=>o,addWeeks:()=>S.j,isDate:()=>tY.J,isLeapYear:()=>e6,startOfISOWeek:()=>z.T,clamp:()=>k,differenceInCalendarISOWeekYears:()=>U,setDefaultOptions:()=>n5,constructNow:()=>b,endOfYear:()=>eS.w,set:()=>n0,sub:()=>rh,formatISO:()=>eZ,eachQuarterOfInterval:()=>em,isAfter:()=>tQ.A,isWeekend:()=>f,isTomorrow:()=>t3,getMinutes:()=>ti.q,endOfDay:()=>er.i,getDaysInYear:()=>e4,isSunday:()=>l,differenceInCalendarWeeks:()=>Z,differenceInQuarters:()=>es,isThisYear:()=>t0,lastDayOfDecade:()=>t8,closestTo:()=>H,isThisMinute:()=>tA,isYesterday:()=>t7,setWeekYear:()=>ra,parseISO:()=>nk,setMilliseconds:()=>n7.I,startOfYear:()=>eN.e});var r=n(9435),a=n(9489),i=n(3879),u=n(5753);function s(e,t,n){let{years:s=0,months:o=0,weeks:l=0,days:f=0,hours:c=0,minutes:d=0,seconds:h=0}=t,g=(0,u.Q)(e,n?.in),M=o||s?(0,a.z)(g,o+12*s):g,D=f||l?(0,r.E)(M,f+7*l):M;return(0,i.L)(n?.in||e,+D+1e3*(h+60*(d+60*c)))}function o(e,t){return 6===(0,u.Q)(e,t?.in).getDay()}function l(e,t){return 0===(0,u.Q)(e,t?.in).getDay()}function f(e,t){let n=(0,u.Q)(e,t?.in).getDay();return 0===n||6===n}function c(e,t,n){let r=(0,u.Q)(e,n?.in),a=f(r,n);if(isNaN(t))return(0,i.L)(n?.in,NaN);let s=r.getHours(),c=t<0?-1:1,d=Math.trunc(t/5);r.setDate(r.getDate()+7*d);let h=Math.abs(t%5);for(;h>0;)r.setDate(r.getDate()+c),f(r,n)||(h-=1);return a&&f(r,n)&&0!==t&&(o(r,n)&&r.setDate(r.getDate()+(c<0?2:-1)),l(r,n)&&r.setDate(r.getDate()+(c<0?1:-2))),r.setHours(s),r}var d=n(2694),h=n(5795),g=n(6512),M=n(6024);function D(e,t,n){let r=(0,u.Q)(e,n?.in),a=(0,g.w)(r,(0,M.E)(r,n)),s=(0,i.L)(n?.in||e,0);return s.setFullYear(t,0,4),s.setHours(0,0,0,0),(r=(0,M.E)(s)).setDate(r.getDate()+a),r}function m(e,t,n){return D(e,(0,h.L)(e,n)+t,n)}var y=n(2450),v=n(4336);function T(e,t,n){return(0,a.z)(e,3*t,n)}var O=n(2791),S=n(5154),N=n(6341);function Q(e,t,n){let[r,a]=[+(0,u.Q)(e.start,n?.in),+(0,u.Q)(e.end,n?.in)].sort((e,t)=>e-t),[i,s]=[+(0,u.Q)(t.start,n?.in),+(0,u.Q)(t.end,n?.in)].sort((e,t)=>e-t);return n?.inclusive?r<=s&&i<=a:r<s&&i<a}var p=n(5643);function Y(e,t){let n;let r=t?.in;return e.forEach(e=>{r||"object"!=typeof e||(r=i.L.bind(null,e));let t=(0,u.Q)(e,r);(!n||n<t||isNaN(+t))&&(n=t)}),(0,i.L)(r,n||NaN)}function I(e,t){let n;let r=t?.in;return e.forEach(e=>{r||"object"!=typeof e||(r=i.L.bind(null,e));let t=(0,u.Q)(e,r);(!n||n>t||isNaN(+t))&&(n=t)}),(0,i.L)(r,n||NaN)}function k(e,t,n){let[r,a,i]=(0,p.d)(n?.in,e,t.start,t.end);return I([Y([r,a],n),i],n)}function w(e,t){let n,r;let a=+(0,u.Q)(e);return isNaN(a)?NaN:(t.forEach((e,t)=>{let i=(0,u.Q)(e);if(isNaN(+i)){n=NaN,r=NaN;return}let s=Math.abs(a-+i);(null==n||s<r)&&(n=t,r=s)}),n)}function H(e,t,n){let[r,...a]=(0,p.d)(n?.in,e,...t),u=w(r,a);return"number"==typeof u&&isNaN(u)?(0,i.L)(r,NaN):void 0!==u?a[u]:void 0}function F(e,t){let n=+(0,u.Q)(e)-+(0,u.Q)(t);return n<0?-1:n>0?1:n}function $(e,t){let n=+(0,u.Q)(e)-+(0,u.Q)(t);return n>0?-1:n<0?1:n}function b(e){return(0,i.L)(e,Date.now())}var W=n(5274);function x(e){let t=Math.trunc(e/W.ju);return 0===t?0:t}var L=n(7912),C=n(3743);function E(e,t,n){let[a,i]=(0,p.d)(n?.in,e,t);if(!(0,C.J)(a)||!(0,C.J)(i))return NaN;let u=(0,g.w)(a,i),s=u<0?-1:1,o=Math.trunc(u/7),l=5*o,c=(0,r.E)(i,7*o);for(;!(0,L.K)(a,c);)l+=f(c,n)?0:s,c=(0,r.E)(c,s);return 0===l?0:l}function U(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t);return(0,h.L)(r,n)-(0,h.L)(a,n)}var j=n(7337),z=n(5889);function R(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t),i=(0,z.T)(r),u=(0,z.T)(a);return Math.round((+i-(0,j.D)(i)-(+u-(0,j.D)(u)))/W.jE)}function J(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t);return 12*(r.getFullYear()-a.getFullYear())+(r.getMonth()-a.getMonth())}function _(e,t){return Math.trunc((0,u.Q)(e,t?.in).getMonth()/3)+1}function X(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t);return 4*(r.getFullYear()-a.getFullYear())+(_(r)-_(a))}var q=n(5149);function Z(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t),i=(0,q.z)(r,n),u=(0,q.z)(a,n);return Math.round((+i-(0,j.D)(i)-(+u-(0,j.D)(u)))/W.jE)}function B(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t);return r.getFullYear()-a.getFullYear()}function A(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t),i=P(r,a),u=Math.abs((0,g.w)(r,a));r.setDate(r.getDate()-i*u);let s=Number(P(r,a)===-i),o=i*(u-s);return 0===o?0:o}function P(e,t){let n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function G(e){return t=>{let n=(e?Math[e]:Math.trunc)(t);return 0===n?0:n}}function K(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t),i=(+r-+a)/W.vh;return G(n?.roundingMethod)(i)}function V(e,t,n){return m(e,-t,n)}function ee(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t),i=F(r,a),u=Math.abs(U(r,a,n)),s=Number(F(V(r,i*u,n),a)===-i),o=i*(u-s);return 0===o?0:o}function et(e,t){return+(0,u.Q)(e)-+(0,u.Q)(t)}function en(e,t,n){let r=et(e,t)/W.yJ;return G(n?.roundingMethod)(r)}var er=n(3189),ea=n(4575);function ei(e,t){let n=(0,u.Q)(e,t?.in);return+(0,er.i)(n,t)==+(0,ea.V)(n,t)}function eu(e,t,n){let[r,a,i]=(0,p.d)(n?.in,e,e,t),u=F(a,i),s=Math.abs(J(a,i));if(s<1)return 0;1===a.getMonth()&&a.getDate()>27&&a.setDate(30),a.setMonth(a.getMonth()-u*s);let o=F(a,i)===-u;ei(r)&&1===s&&1===F(r,i)&&(o=!1);let l=u*(s-+o);return 0===l?0:l}function es(e,t,n){let r=eu(e,t,n)/3;return G(n?.roundingMethod)(r)}function eo(e,t,n){let r=et(e,t)/1e3;return G(n?.roundingMethod)(r)}function el(e,t,n){let r=A(e,t,n)/7;return G(n?.roundingMethod)(r)}function ef(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t),i=F(r,a),u=Math.abs(B(r,a));r.setFullYear(1584),a.setFullYear(1584);let s=F(r,a)===-i,o=i*(u-+s);return 0===o?0:o}function ec(e,t){let[n,r]=(0,p.d)(e,t.start,t.end);return{start:n,end:r}}function ed(e,t){let{start:n,end:r}=ec(t?.in,e),a=+n>+r,u=a?+n:+r,s=a?r:n;s.setHours(0,0,0,0);let o=t?.step??1;if(!o)return[];o<0&&(o=-o,a=!a);let l=[];for(;+s<=u;)l.push((0,i.L)(n,s)),s.setDate(s.getDate()+o),s.setHours(0,0,0,0);return a?l.reverse():l}function eh(e,t){let{start:n,end:r}=ec(t?.in,e),a=+n>+r,u=a?+n:+r,s=a?r:n;s.setMinutes(0,0,0);let o=t?.step??1;if(!o)return[];o<0&&(o=-o,a=!a);let l=[];for(;+s<=u;)l.push((0,i.L)(n,s)),s.setHours(s.getHours()+o);return a?l.reverse():l}function eg(e,t){let{start:n,end:r}=ec(t?.in,e);n.setSeconds(0,0);let a=+n>+r,u=a?+n:+r,s=a?r:n,o=t?.step??1;if(!o)return[];o<0&&(o=-o,a=!a);let l=[];for(;+s<=u;)l.push((0,i.L)(n,s)),s=(0,v.m)(s,o);return a?l.reverse():l}function eM(e,t){let{start:n,end:r}=ec(t?.in,e),a=+n>+r,u=a?+n:+r,s=a?r:n;s.setHours(0,0,0,0),s.setDate(1);let o=t?.step??1;if(!o)return[];o<0&&(o=-o,a=!a);let l=[];for(;+s<=u;)l.push((0,i.L)(n,s)),s.setMonth(s.getMonth()+o);return a?l.reverse():l}function eD(e,t){let n=(0,u.Q)(e,t?.in),r=n.getMonth();return n.setMonth(r-r%3,1),n.setHours(0,0,0,0),n}function em(e,t){let{start:n,end:r}=ec(t?.in,e),a=+n>+r,u=a?+eD(n):+eD(r),s=a?eD(r):eD(n),o=t?.step??1;if(!o)return[];o<0&&(o=-o,a=!a);let l=[];for(;+s<=u;)l.push((0,i.L)(n,s)),s=T(s,o);return a?l.reverse():l}function ey(e,t){let{start:n,end:r}=ec(t?.in,e),a=+n>+r,u=a?(0,q.z)(r,t):(0,q.z)(n,t),s=a?(0,q.z)(n,t):(0,q.z)(r,t);u.setHours(15),s.setHours(15);let o=+s.getTime(),l=u,f=t?.step??1;if(!f)return[];f<0&&(f=-f,a=!a);let c=[];for(;+l<=o;)l.setHours(0),c.push((0,i.L)(n,l)),(l=(0,S.j)(l,f)).setHours(15);return a?c.reverse():c}function ev(e,t){let{start:n,end:r}=ec(t?.in,e),a=ed({start:n,end:r},t),u=[],s=0;for(;s<a.length;){let e=a[s++];f(e)&&u.push((0,i.L)(n,e))}return u}var eT=n(7);function eO(e,t){return ev({start:(0,eT.N)(e,t),end:(0,ea.V)(e,t)},t)}var eS=n(9880),eN=n(8874);function eQ(e,t){return ev({start:(0,eN.e)(e,t),end:(0,eS.w)(e,t)},t)}function ep(e,t){let{start:n,end:r}=ec(t?.in,e),a=+n>+r,u=a?+n:+r,s=a?r:n;s.setHours(0,0,0,0),s.setMonth(0,1);let o=t?.step??1;if(!o)return[];o<0&&(o=-o,a=!a);let l=[];for(;+s<=u;)l.push((0,i.L)(n,s)),s.setFullYear(s.getFullYear()+o);return a?l.reverse():l}function eY(e,t){let n=(0,u.Q)(e,t?.in),r=9+10*Math.floor(n.getFullYear()/10);return n.setFullYear(r,11,31),n.setHours(23,59,59,999),n}function eI(e,t){let n=(0,u.Q)(e,t?.in);return n.setMinutes(59,59,999),n}var ek=n(5918);function ew(e,t){return(0,ek.v)(e,{...t,weekStartsOn:1})}function eH(e,t){let n=(0,h.L)(e,t),r=(0,i.L)(t?.in||e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);let a=(0,z.T)(r,t);return a.setMilliseconds(a.getMilliseconds()-1),a}function eF(e,t){let n=(0,u.Q)(e,t?.in);return n.setSeconds(59,999),n}function e$(e,t){let n=(0,u.Q)(e,t?.in),r=n.getMonth();return n.setMonth(r-r%3+3,0),n.setHours(23,59,59,999),n}function eb(e,t){let n=(0,u.Q)(e,t?.in);return n.setMilliseconds(999),n}function eW(e){return(0,er.i)(Date.now(),e)}function ex(e){let t=b(e?.in),n=t.getFullYear(),r=t.getMonth(),a=t.getDate(),i=b(e?.in);return i.setFullYear(n,r,a+1),i.setHours(23,59,59,999),e?.in?e.in(i):i}function eL(e){let t=b(e?.in),n=(0,i.L)(e?.in,0);return n.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()-1),n.setHours(23,59,59,999),n}var eC=n(6332),eE=n(4257),eU=n(5095);function ej(e,t,n){let r;let a=(0,eU.j)(),i=n?.locale??a.locale??eE._,u=F(e,t);if(isNaN(u))throw RangeError("Invalid time value");let s=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:u}),[o,l]=(0,p.d)(n?.in,...u>0?[t,e]:[e,t]),f=eo(l,o),c=Math.round((f-((0,j.D)(l)-(0,j.D)(o))/1e3)/60);if(c<2){if(n?.includeSeconds){if(f<5)return i.formatDistance("lessThanXSeconds",5,s);if(f<10)return i.formatDistance("lessThanXSeconds",10,s);if(f<20)return i.formatDistance("lessThanXSeconds",20,s);else if(f<40)return i.formatDistance("halfAMinute",0,s);else if(f<60)return i.formatDistance("lessThanXMinutes",1,s);else return i.formatDistance("xMinutes",1,s)}return 0===c?i.formatDistance("lessThanXMinutes",1,s):i.formatDistance("xMinutes",c,s)}if(c<45)return i.formatDistance("xMinutes",c,s);if(c<90)return i.formatDistance("aboutXHours",1,s);if(c<W.H_){let e=Math.round(c/60);return i.formatDistance("aboutXHours",e,s)}if(c<2520)return i.formatDistance("xDays",1,s);else if(c<W.fH){let e=Math.round(c/W.H_);return i.formatDistance("xDays",e,s)}else if(c<2*W.fH)return r=Math.round(c/W.fH),i.formatDistance("aboutXMonths",r,s);if((r=eu(l,o))<12){let e=Math.round(c/W.fH);return i.formatDistance("xMonths",e,s)}{let e=r%12,t=Math.trunc(r/12);return e<3?i.formatDistance("aboutXYears",t,s):e<9?i.formatDistance("overXYears",t,s):i.formatDistance("almostXYears",t+1,s)}}function ez(e,t,n){let r;let a=(0,eU.j)(),i=n?.locale??a.locale??eE._,u=F(e,t);if(isNaN(u))throw RangeError("Invalid time value");let s=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:u}),[o,l]=(0,p.d)(n?.in,...u>0?[t,e]:[e,t]),f=G(n?.roundingMethod??"round"),c=l.getTime()-o.getTime(),d=c/W.yJ,h=(c-((0,j.D)(l)-(0,j.D)(o)))/W.yJ,g=n?.unit;if("second"===(r=g||(d<1?"second":d<60?"minute":d<W.H_?"hour":h<W.fH?"day":h<W.UU?"month":"year"))){let e=f(c/1e3);return i.formatDistance("xSeconds",e,s)}if("minute"===r){let e=f(d);return i.formatDistance("xMinutes",e,s)}if("hour"===r){let e=f(d/60);return i.formatDistance("xHours",e,s)}if("day"===r){let e=f(h/W.H_);return i.formatDistance("xDays",e,s)}if("month"===r){let e=f(h/W.fH);return 12===e&&"month"!==g?i.formatDistance("xYears",1,s):i.formatDistance("xMonths",e,s)}else{let e=f(h/W.UU);return i.formatDistance("xYears",e,s)}}function eR(e,t){return ej(e,b(e),t)}function eJ(e,t){return ez(e,b(e),t)}let e_=["years","months","weeks","days","hours","minutes","seconds"];function eX(e,t){let n=(0,eU.j)(),r=t?.locale??n.locale??eE._,a=t?.format??e_,i=t?.zero??!1,u=t?.delimiter??" ";return r.formatDistance?a.reduce((t,n)=>{let a=`x${n.replace(/(^.)/,e=>e.toUpperCase())}`,u=e[n];return void 0!==u&&(i||e[n])?t.concat(r.formatDistance(a,u)):t},[]).join(u):""}var eq=n(3577);function eZ(e,t){let n=(0,u.Q)(e,t?.in);if(isNaN(+n))throw RangeError("Invalid time value");let r=t?.format??"extended",a=t?.representation??"complete",i="",s="",o="extended"===r?"-":"";if("time"!==a){let e=(0,eq.r)(n.getDate(),2),t=(0,eq.r)(n.getMonth()+1,2),r=(0,eq.r)(n.getFullYear(),4);i=`${r}${o}${t}${o}${e}`}if("date"!==a){let e=n.getTimezoneOffset();if(0!==e){let t=Math.abs(e),n=(0,eq.r)(Math.trunc(t/60),2),r=(0,eq.r)(t%60,2);s=`${e<0?"+":"-"}${n}:${r}`}else s="Z";let t=(0,eq.r)(n.getHours(),2),a=(0,eq.r)(n.getMinutes(),2),u=(0,eq.r)(n.getSeconds(),2),o=""===i?"":"T",l=[t,a,u].join("extended"===r?":":"");i=`${i}${o}${l}${s}`}return i}function eB(e,t){let n=(0,u.Q)(e,t?.in);if(!(0,C.J)(n))throw RangeError("Invalid time value");let r=t?.format??"extended",a=t?.representation??"complete",i="",s="extended"===r?"-":"",o="extended"===r?":":"";if("time"!==a){let e=(0,eq.r)(n.getDate(),2),t=(0,eq.r)(n.getMonth()+1,2),r=(0,eq.r)(n.getFullYear(),4);i=`${r}${s}${t}${s}${e}`}if("date"!==a){let e=(0,eq.r)(n.getHours(),2),t=(0,eq.r)(n.getMinutes(),2),r=(0,eq.r)(n.getSeconds(),2),a=""===i?"":" ";i=`${i}${a}${e}${o}${t}${o}${r}`}return i}function eA(e){let{years:t=0,months:n=0,days:r=0,hours:a=0,minutes:i=0,seconds:u=0}=e;return`P${t}Y${n}M${r}DT${a}H${i}M${u}S`}function eP(e,t){let n=(0,u.Q)(e,t?.in);if(!(0,C.J)(n))throw RangeError("Invalid time value");let r=t?.fractionDigits??0,a=(0,eq.r)(n.getDate(),2),i=(0,eq.r)(n.getMonth()+1,2),s=n.getFullYear(),o=(0,eq.r)(n.getHours(),2),l=(0,eq.r)(n.getMinutes(),2),f=(0,eq.r)(n.getSeconds(),2),c="";if(r>0){let e=Math.trunc(n.getMilliseconds()*Math.pow(10,r-3));c="."+(0,eq.r)(e,r)}let d="",h=n.getTimezoneOffset();if(0!==h){let e=Math.abs(h),t=(0,eq.r)(Math.trunc(e/60),2),n=(0,eq.r)(e%60,2);d=`${h<0?"+":"-"}${t}:${n}`}else d="Z";return`${s}-${i}-${a}T${o}:${l}:${f}${c}${d}`}let eG=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],eK=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function eV(e){let t=(0,u.Q)(e);if(!(0,C.J)(t))throw RangeError("Invalid time value");let n=eG[t.getUTCDay()],r=(0,eq.r)(t.getUTCDate(),2),a=eK[t.getUTCMonth()],i=t.getUTCFullYear(),s=(0,eq.r)(t.getUTCHours(),2),o=(0,eq.r)(t.getUTCMinutes(),2),l=(0,eq.r)(t.getUTCSeconds(),2);return`${n}, ${r} ${a} ${i} ${s}:${o}:${l} GMT`}function e0(e,t,n){let r;let[a,i]=(0,p.d)(n?.in,e,t),u=(0,eU.j)(),s=n?.locale??u.locale??eE._,o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??u.weekStartsOn??u.locale?.options?.weekStartsOn??0,l=(0,g.w)(a,i);if(isNaN(l))throw RangeError("Invalid time value");r=l<-6?"other":l<-1?"lastWeek":l<0?"yesterday":l<1?"today":l<2?"tomorrow":l<7?"nextWeek":"other";let f=s.formatRelative(r,a,i,{locale:s,weekStartsOn:o});return(0,eC.WU)(a,f,{locale:s,weekStartsOn:o})}function e1(e,t){return(0,u.Q)(1e3*e,t?.in)}var e2=n(1721);function e3(e,t){return(0,u.Q)(e,t?.in).getDay()}var e5=n(2529),e9=n(1267);function e6(e,t){let n=(0,u.Q)(e,t?.in).getFullYear();return n%400==0||n%4==0&&n%100!=0}function e4(e,t){let n=(0,u.Q)(e,t?.in);return Number.isNaN(+n)?NaN:e6(n)?366:365}function e7(e,t){return 10*Math.floor((0,u.Q)(e,t?.in).getFullYear()/10)}var e8=n(658),te=n(8904),tt=n(9105),tn=n(5345);function tr(e,t){let n=(0,M.E)(e,t);return Math.round((+(0,M.E)((0,S.j)(n,60))-+n)/W.jE)}var ta=n(506),ti=n(7785),tu=n(8364);function ts(e,t){let[n,r]=[+(0,u.Q)(e.start),+(0,u.Q)(e.end)].sort((e,t)=>e-t),[a,i]=[+(0,u.Q)(t.start),+(0,u.Q)(t.end)].sort((e,t)=>e-t);if(!(n<i&&a<r))return 0;let s=a<n?n:a,o=s-(0,j.D)(s),l=i>r?r:i;return Math.ceil((l-(0,j.D)(l)-o)/W.dP)}var to=n(8340);function tl(e){return+(0,u.Q)(e)}function tf(e){return Math.trunc(+(0,u.Q)(e)/1e3)}var tc=n(4265);function td(e,t){let n=(0,eU.j)(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=(0,e2._)((0,u.Q)(e,t?.in));if(isNaN(a))return NaN;let i=r-e3((0,eT.N)(e,t));return i<=0&&(i+=7),Math.ceil((a-i)/7)+1}var th=n(904);function tg(e,t){let n=(0,u.Q)(e,t?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(0,0,0,0),(0,u.Q)(n,t?.in)}function tM(e,t){let n=(0,u.Q)(e,t?.in);return Z(tg(n,t),(0,eT.N)(n,t),t)+1}var tD=n(6635);function tm(e){return Math.trunc(e*W.vh)}function ty(e){return Math.trunc(e*W.fR)}function tv(e){return Math.trunc(e*W.R3)}function tT(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t);if(isNaN(+r))throw TypeError("Start date is invalid");if(isNaN(+a))throw TypeError("End date is invalid");if(n?.assertPositive&&+r>+a)throw TypeError("End date must be after start date");return{start:r,end:a}}function tO(e,t){let{start:n,end:r}=ec(t?.in,e),a={},i=ef(r,n);i&&(a.years=i);let u=s(n,{years:a.years}),o=eu(r,u);o&&(a.months=o);let l=s(u,{months:a.months}),f=A(r,l);f&&(a.days=f);let c=s(l,{days:a.days}),d=K(r,c);d&&(a.hours=d);let h=s(c,{hours:a.hours}),g=en(r,h);g&&(a.minutes=g);let M=eo(r,s(h,{minutes:a.minutes}));return M&&(a.seconds=M),a}function tS(e,t,n){var r;let a;return void 0===(r=t)||"locale"in r?n=t:a=t,new Intl.DateTimeFormat(n?.locale,a).format((0,u.Q)(e))}function tN(e,t,n){let r,a=0,[i,u]=(0,p.d)(n?.in,e,t);if(n?.unit)"second"===(r=n?.unit)?a=eo(i,u):"minute"===r?a=en(i,u):"hour"===r?a=K(i,u):"day"===r?a=(0,g.w)(i,u):"week"===r?a=Z(i,u):"month"===r?a=J(i,u):"quarter"===r?a=X(i,u):"year"===r&&(a=B(i,u));else{let e=eo(i,u);Math.abs(e)<W.xx?(a=eo(i,u),r="second"):Math.abs(e)<W.R3?(a=en(i,u),r="minute"):Math.abs(e)<W.gM&&1>Math.abs((0,g.w)(i,u))?(a=K(i,u),r="hour"):Math.abs(e)<W.vr&&(a=(0,g.w)(i,u))&&7>Math.abs(a)?r="day":Math.abs(e)<W.nZ?(a=Z(i,u),r="week"):Math.abs(e)<W.Y2?(a=J(i,u),r="month"):Math.abs(e)<W.rz&&4>X(i,u)?(a=X(i,u),r="quarter"):(a=B(i,u),r="year")}return new Intl.RelativeTimeFormat(n?.locale,{numeric:"auto",...n}).format(a,r)}var tQ=n(1275),tp=n(4107),tY=n(5090),tI=n(436);function tk(e,t,n){let r=new Date(e,t,n);return r.getFullYear()===e&&r.getMonth()===t&&r.getDate()===n}function tw(e,t){return 1===(0,u.Q)(e,t?.in).getDate()}function tH(e,t){return 5===(0,u.Q)(e,t?.in).getDay()}function tF(e){return+(0,u.Q)(e)>Date.now()}var t$=n(8070);function tb(e,t,n){return(0,C.J)((0,t$.Qc)(e,t,new Date,n))}function tW(e,t){return 1===(0,u.Q)(e,t?.in).getDay()}function tx(e){return+(0,u.Q)(e)<Date.now()}var tL=n(8374);function tC(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t);return+(0,q.z)(r,n)==+(0,q.z)(a,n)}function tE(e,t,n){return tC(e,t,{...n,weekStartsOn:1})}function tU(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t);return+(0,M.E)(r)==+(0,M.E)(a)}function tj(e,t){let n=(0,u.Q)(e,t?.in);return n.setSeconds(0,0),n}function tz(e,t){return+tj(e)==+tj(t)}var tR=n(3303);function tJ(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t);return+eD(r)==+eD(a)}function t_(e,t){let n=(0,u.Q)(e,t?.in);return n.setMilliseconds(0),n}function tX(e,t){return+t_(e)==+t_(t)}var tq=n(9250);function tZ(e,t){return(0,tL.f)((0,u.Q)(e,t?.in),b(t?.in||e))}function tB(e,t){return tE((0,i.L)(t?.in||e,e),b(t?.in||e))}function tA(e){return tz(e,b(e))}function tP(e,t){return(0,tR.x)((0,i.L)(t?.in||e,e),b(t?.in||e))}function tG(e,t){return tJ((0,i.L)(t?.in||e,e),b(t?.in||e))}function tK(e){return tX(e,b(e))}function tV(e,t){return tC((0,i.L)(t?.in||e,e),b(t?.in||e),t)}function t0(e,t){return(0,tq.F)((0,i.L)(t?.in||e,e),b(t?.in||e))}function t1(e,t){return 4===(0,u.Q)(e,t?.in).getDay()}function t2(e,t){return(0,L.K)((0,i.L)(t?.in||e,e),b(t?.in||e))}function t3(e,t){return(0,L.K)(e,(0,r.E)(b(t?.in||e),1),t)}function t5(e,t){return 2===(0,u.Q)(e,t?.in).getDay()}function t9(e,t){return 3===(0,u.Q)(e,t?.in).getDay()}var t6=n(2511);function t4(e,t,n){return(0,r.E)(e,-t,n)}function t7(e,t){return(0,L.K)((0,i.L)(t?.in||e,e),t4(b(t?.in||e),1))}function t8(e,t){let n=(0,u.Q)(e,t?.in),r=9+10*Math.floor(n.getFullYear()/10);return n.setFullYear(r+1,0,0),n.setHours(0,0,0,0),(0,u.Q)(n,t?.in)}function ne(e,t){let n=(0,eU.j)(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=(0,u.Q)(e,t?.in),i=a.getDay();return a.setHours(0,0,0,0),a.setDate(a.getDate()+((i<r?-7:0)+6-(i-r))),a}function nt(e,t){return ne(e,{...t,weekStartsOn:1})}function nn(e,t){let n=(0,h.L)(e,t),r=(0,i.L)(t?.in||e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);let a=(0,z.T)(r,t);return a.setDate(a.getDate()-1),a}function nr(e,t){let n=(0,u.Q)(e,t?.in),r=n.getMonth();return n.setMonth(r-r%3+3,0),n.setHours(0,0,0,0),n}function na(e,t){let n=(0,u.Q)(e,t?.in),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(0,0,0,0),n}var ni=n(7175);let nu=/(\w)\1*|''|'(''|[^'])+('|$)|./g,ns=/^'([^]*?)'?$/,no=/''/g,nl=/[a-zA-Z]/;function nf(e,t){let n=(0,u.Q)(e);if(!(0,C.J)(n))throw RangeError("Invalid time value");let r=t.match(nu);return r?r.map(e=>{if("''"===e)return"'";let t=e[0];if("'"===t)return function(e){let t=e.match(ns);return t?t[1].replace(no,"'"):e}(e);let r=ni.o[t];if(r)return r(n,e);if(t.match(nl))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return e}).join(""):""}function nc({years:e,months:t,weeks:n,days:r,hours:a,minutes:i,seconds:u}){let s=0;e&&(s+=e*W.dT),t&&(s+=t*(W.dT/12)),n&&(s+=7*n),r&&(s+=r);let o=86400*s;return a&&(o+=3600*a),i&&(o+=60*i),u&&(o+=u),Math.trunc(1e3*o)}function nd(e){return Math.trunc(e/W.vh)}function nh(e){return Math.trunc(e/W.yJ)}function ng(e){return Math.trunc(e/W.qk)}function nM(e){return Math.trunc(e/W.fR)}function nD(e){return Math.trunc(e*W.yJ)}function nm(e){return Math.trunc(e*W.xx)}function ny(e){return Math.trunc(e/W.Ob)}function nv(e){return Math.trunc(e/W.CU)}function nT(e,t,n){let a=t-e3(e,n);return a<=0&&(a+=7),(0,r.E)(e,a,n)}function nO(e,t){return nT(e,5,t)}function nS(e,t){return nT(e,1,t)}function nN(e,t){return nT(e,6,t)}function nQ(e,t){return nT(e,0,t)}function np(e,t){return nT(e,4,t)}function nY(e,t){return nT(e,2,t)}function nI(e,t){return nT(e,3,t)}function nk(e,t){let n,r;let a=()=>(0,i.L)(t?.in,NaN),s=t?.additionalDigits??2,o=function(e){let t;let n={},r=e.split(nw.dateTimeDelimiter);if(r.length>2)return n;if(/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],nw.timeZoneDelimiter.test(n.date)&&(n.date=e.split(nw.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){let e=nw.timezone.exec(t);e?(n.time=t.replace(e[1],""),n.timezone=e[1]):n.time=t}return n}(e);if(o.date){let e=function(e,t){let n=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};let a=r[1]?parseInt(r[1]):null,i=r[2]?parseInt(r[2]):null;return{year:null===i?a:100*i,restDateString:e.slice((r[1]||r[2]).length)}}(o.date,s);n=function(e,t){var n,r,a,i,u,s,o,l;if(null===t)return new Date(NaN);let f=e.match(nH);if(!f)return new Date(NaN);let c=!!f[4],d=nb(f[1]),h=nb(f[2])-1,g=nb(f[3]),M=nb(f[4]),D=nb(f[5])-1;if(c){return(n=0,r=M,a=D,r>=1&&r<=53&&a>=0&&a<=6)?function(e,t,n){let r=new Date(0);r.setUTCFullYear(e,0,4);let a=r.getUTCDay()||7;return r.setUTCDate(r.getUTCDate()+((t-1)*7+n+1-a)),r}(t,M,D):new Date(NaN)}{let e=new Date(0);return(i=t,u=h,s=g,u>=0&&u<=11&&s>=1&&s<=(nx[u]||(nL(i)?29:28))&&(o=t,(l=d)>=1&&l<=(nL(o)?366:365)))?(e.setUTCFullYear(t,h,Math.max(d,g)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!n||isNaN(+n))return a();let l=+n,f=0;if(o.time&&isNaN(f=function(e){var t,n,r;let a=e.match(nF);if(!a)return NaN;let i=nW(a[1]),u=nW(a[2]),s=nW(a[3]);return(t=i,n=u,r=s,24===t?0===n&&0===r:r>=0&&r<60&&n>=0&&n<60&&t>=0&&t<25)?i*W.vh+u*W.yJ+1e3*s:NaN}(o.time)))return a();if(o.timezone){if(isNaN(r=function(e){var t,n;if("Z"===e)return 0;let r=e.match(n$);if(!r)return 0;let a="+"===r[1]?-1:1,i=parseInt(r[2]),u=r[3]&&parseInt(r[3])||0;return(t=0,(n=u)>=0&&n<=59)?a*(i*W.vh+u*W.yJ):NaN}(o.timezone)))return a()}else{let e=new Date(l+f),n=(0,u.Q)(0,t?.in);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}return(0,u.Q)(l+f+r,t?.in)}let nw={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},nH=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,nF=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,n$=/^([+-])(\d{2})(?::?(\d{2}))?$/;function nb(e){return e?parseInt(e):1}function nW(e){return e&&parseFloat(e.replace(",","."))||0}let nx=[31,null,31,30,31,30,31,31,30,31,30,31];function nL(e){return e%400==0||e%4==0&&e%100!=0}function nC(e,t){let n=e.match(/(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(?:\.(\d{0,7}))?(?:Z|(.)(\d{2}):?(\d{2})?)?/);return n?(0,u.Q)(Date.UTC(+n[1],+n[2]-1,+n[3],+n[4]-(+n[9]||0)*("-"==n[8]?-1:1),+n[5]-(+n[10]||0)*("-"==n[8]?-1:1),+n[6],+((n[7]||"0")+"00").substring(0,3)),t?.in):(0,u.Q)(NaN,t?.in)}function nE(e,t,n){let r=e3(e,n)-t;return r<=0&&(r+=7),t4(e,r,n)}function nU(e,t){return nE(e,5,t)}function nj(e,t){return nE(e,1,t)}function nz(e,t){return nE(e,6,t)}function nR(e,t){return nE(e,0,t)}function nJ(e,t){return nE(e,4,t)}function n_(e,t){return nE(e,2,t)}function nX(e,t){return nE(e,3,t)}function nq(e){return Math.trunc(e*W.Ob)}function nZ(e){return Math.trunc(e/W._j)}function nB(e,t){let n=t?.nearestTo??1;if(n<1||n>12)return(0,i.L)(t?.in||e,NaN);let r=(0,u.Q)(e,t?.in),a=r.getMinutes()/60,s=r.getSeconds()/60/60,o=r.getMilliseconds()/1e3/60/60,l=r.getHours()+a+s+o,f=G(t?.roundingMethod??"round")(l/n)*n;return r.setHours(f,0,0,0),r}function nA(e,t){let n=t?.nearestTo??1;if(n<1||n>30)return(0,i.L)(e,NaN);let r=(0,u.Q)(e,t?.in),a=r.getSeconds()/60,s=r.getMilliseconds()/1e3/60,o=r.getMinutes()+a+s,l=G(t?.roundingMethod??"round")(o/n)*n;return r.setMinutes(l,0,0),r}function nP(e){return Math.trunc(e/W.R3)}function nG(e){return e*W.qk}function nK(e){return Math.trunc(e/W.xx)}var nV=n(1136);function n0(e,t,n){let r=(0,u.Q)(e,n?.in);return isNaN(+r)?(0,i.L)(n?.in||e,NaN):(null!=t.year&&r.setFullYear(t.year),null!=t.month&&(r=(0,nV.q)(r,t.month)),null!=t.date&&r.setDate(t.date),null!=t.hours&&r.setHours(t.hours),null!=t.minutes&&r.setMinutes(t.minutes),null!=t.seconds&&r.setSeconds(t.seconds),null!=t.milliseconds&&r.setMilliseconds(t.milliseconds),r)}var n1=n(3709),n2=n(2063);function n3(e,t,n){let r=(0,u.Q)(e,n?.in);return r.setMonth(0),r.setDate(t),r}function n5(e){let t={},n=(0,eU.j)();for(let e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e]);for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(void 0===e[n]?delete t[n]:t[n]=e[n]);(0,eU.b)(t)}var n9=n(3200),n6=n(1542),n4=n(5738),n7=n(4138),n8=n(6292);function re(e,t,n){let r=(0,u.Q)(e,n?.in),a=Math.trunc(r.getMonth()/3)+1;return(0,nV.q)(r,r.getMonth()+3*(t-a))}var rt=n(3518),rn=n(616),rr=n(937);function ra(e,t,n){let r=(0,eU.j)(),a=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,s=(0,g.w)((0,u.Q)(e,n?.in),(0,rr.v)(e,n),n),o=(0,i.L)(n?.in||e,0);o.setFullYear(t,0,a),o.setHours(0,0,0,0);let l=(0,rr.v)(o,n);return l.setDate(l.getDate()+s),l}var ri=n(8140),ru=n(3033);function rs(e,t){let n=(0,u.Q)(e,t?.in),r=10*Math.floor(n.getFullYear()/10);return n.setFullYear(r,0,1),n.setHours(0,0,0,0),n}var ro=n(2806);function rl(e){return(0,ru.b)(Date.now(),e)}function rf(e){let t=b(e?.in),n=t.getFullYear(),r=t.getMonth(),a=t.getDate(),u=(0,i.L)(e?.in,0);return u.setFullYear(n,r,a+1),u.setHours(0,0,0,0),u}function rc(e){let t=b(e?.in),n=t.getFullYear(),r=t.getMonth(),a=t.getDate(),i=b(e?.in);return i.setFullYear(n,r,a-1),i.setHours(0,0,0,0),i}function rd(e,t,n){return(0,a.z)(e,-t,n)}function rh(e,t,n){let{years:r=0,months:a=0,weeks:u=0,days:s=0,hours:o=0,minutes:l=0,seconds:f=0}=t,c=t4(rd(e,a+12*r,n),s+7*u,n);return(0,i.L)(n?.in||e,+c-1e3*(f+60*(l+60*o)))}function rg(e,t,n){return c(e,-t,n)}function rM(e,t,n){return(0,d.T)(e,-t,n)}function rD(e,t,n){return(0,y.n)(e,-t,n)}function rm(e,t,n){return(0,v.m)(e,-t,n)}function ry(e,t,n){return T(e,-t,n)}function rv(e,t,n){return(0,O.v)(e,-t,n)}function rT(e,t,n){return(0,S.j)(e,-t,n)}function rO(e,t,n){return(0,N.B)(e,-t,n)}var rS=n(469);function rN(e){return Math.trunc(e*W.ju)}function rQ(e){return Math.trunc(e*W.dT)}function rp(e){return Math.trunc(e*W.CU)}function rY(e){return Math.trunc(e*W._j)}}}]);
|