@terrestris/shogun-admin 16.1.0-next.1 → 17.0.0-next.10
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/README.md +4 -0
- package/package.json +116 -107
- package/dist/build/assets/App-BP74CNP_.js +0 -1258
- package/dist/build/assets/__federation_shared_react-CvClEUjg.js +0 -9
- package/dist/build/assets/__federation_shared_react-dom-BxqGBSTk.js +0 -24
- package/dist/build/assets/__federation_shared_react-i18next-MD_bYxcL.js +0 -1
- package/dist/build/assets/__federation_shared_react-router-dom-Vy7O6TNk.js +0 -2
- package/dist/build/assets/_commonjsHelpers-BosuxZz1.js +0 -1
- package/dist/build/assets/_virtual___federation_fn_import-PJHfB1tr.js +0 -1
- package/dist/build/assets/abap-DRC6TkPh.js +0 -6
- package/dist/build/assets/apex-BuapDI9Y.js +0 -6
- package/dist/build/assets/azcli-BypH-vXm.js +0 -6
- package/dist/build/assets/bat-BY6pwuIY.js +0 -6
- package/dist/build/assets/bicep-gRuQeaLk.js +0 -7
- package/dist/build/assets/cameligo-ul-Lp4lw.js +0 -6
- package/dist/build/assets/clojure-DeYg-96x.js +0 -6
- package/dist/build/assets/codicon-DCmgc-ay.ttf +0 -0
- package/dist/build/assets/coffee-CfnpWUYo.js +0 -6
- package/dist/build/assets/cpp-C9L3yaDO.js +0 -6
- package/dist/build/assets/csharp-DWGz5Zuj.js +0 -6
- package/dist/build/assets/csp-DrRCxMg5.js +0 -6
- package/dist/build/assets/css-BfLuTCmN.js +0 -8
- package/dist/build/assets/css.worker-BAJD-bzR.js +0 -83
- package/dist/build/assets/cssMode-Btzqpc23.js +0 -4
- package/dist/build/assets/cypher-DoFvH58O.js +0 -6
- package/dist/build/assets/dart-DIovg4uR.js +0 -6
- package/dist/build/assets/dockerfile-D2PfwrvU.js +0 -6
- package/dist/build/assets/ecl-C_scCXcs.js +0 -6
- package/dist/build/assets/editor.worker-MnaSPjGA.js +0 -11
- package/dist/build/assets/elixir-BRk-K-rg.js +0 -6
- package/dist/build/assets/favicon-CwZoocDV.ico +0 -0
- package/dist/build/assets/flow9-DLs3tTet.js +0 -6
- package/dist/build/assets/freemarker2-CoZuEXJi.js +0 -3
- package/dist/build/assets/fsharp-D0UiDa5C.js +0 -6
- package/dist/build/assets/go-CyVeKkvQ.js +0 -6
- package/dist/build/assets/graphql-BygKL3ZF.js +0 -6
- package/dist/build/assets/handlebars-BQ2vXFqT.js +0 -1
- package/dist/build/assets/hcl-D_OY6ada.js +0 -6
- package/dist/build/assets/html-S9BExIX4.js +0 -1
- package/dist/build/assets/html.worker-Bp7pNElH.js +0 -460
- package/dist/build/assets/htmlMode-D6oh_W-n.js +0 -4
- package/dist/build/assets/index-D5X_Cuhy.js +0 -139
- package/dist/build/assets/ini-BTpWsGps.js +0 -6
- package/dist/build/assets/java-3TATJI7h.js +0 -6
- package/dist/build/assets/javascript-C_BsKwTq.js +0 -1
- package/dist/build/assets/json.worker-BfIkrIax.js +0 -48
- package/dist/build/assets/jsonMode-CFQnTUoH.js +0 -10
- package/dist/build/assets/julia-DDpSJMW6.js +0 -6
- package/dist/build/assets/kotlin-DVYH6Lj_.js +0 -6
- package/dist/build/assets/less-CuFlys0T.js +0 -7
- package/dist/build/assets/lexon-m09vb5r-.js +0 -6
- package/dist/build/assets/liquid-CsJvQ-Gd.js +0 -1
- package/dist/build/assets/lua-D2Z7JJdl.js +0 -6
- package/dist/build/assets/m3-B2Cf9XSq.js +0 -6
- package/dist/build/assets/markdown-BXYnMxBe.js +0 -6
- package/dist/build/assets/mdx-CcsV6KQM.js +0 -1
- package/dist/build/assets/mips-Ckkbw-AO.js +0 -6
- package/dist/build/assets/msdax-B5uW3Zvf.js +0 -6
- package/dist/build/assets/mysql-B8ssZoUh.js +0 -6
- package/dist/build/assets/objective-c-CrrKwR0a.js +0 -6
- package/dist/build/assets/pascal-BWBTHuhh.js +0 -6
- package/dist/build/assets/pascaligo-BGLI1Hdo.js +0 -6
- package/dist/build/assets/perl-DDrv2Hr-.js +0 -6
- package/dist/build/assets/pgsql-DLPipH_Q.js +0 -6
- package/dist/build/assets/php-CTNlIIiR.js +0 -6
- package/dist/build/assets/pla-2oJWbEOo.js +0 -6
- package/dist/build/assets/postiats-DOk3G3cc.js +0 -6
- package/dist/build/assets/powerquery-Dgyr3wWZ.js +0 -6
- package/dist/build/assets/powershell-B_i9asfM.js +0 -6
- package/dist/build/assets/protobuf-CV9EbfTh.js +0 -7
- package/dist/build/assets/pug-CCBS_C5_.js +0 -6
- package/dist/build/assets/python-BNsLUA-F.js +0 -1
- package/dist/build/assets/qsharp-BLuZWbUW.js +0 -6
- package/dist/build/assets/r-CzF1MCbP.js +0 -6
- package/dist/build/assets/razor-CwLyy1uA.js +0 -1
- package/dist/build/assets/redis-C75U4IDy.js +0 -6
- package/dist/build/assets/redshift-Bc5xkKR1.js +0 -6
- package/dist/build/assets/restructuredtext-DmdQbaLT.js +0 -6
- package/dist/build/assets/ruby-DB0RB20n.js +0 -6
- package/dist/build/assets/rust-UMmp-gVE.js +0 -6
- package/dist/build/assets/sb-DVG02705.js +0 -6
- package/dist/build/assets/scala-DvSxYeG4.js +0 -6
- package/dist/build/assets/scheme-yf5bffbF.js +0 -6
- package/dist/build/assets/scss-Bzb7OGdO.js +0 -8
- package/dist/build/assets/shell-FNqbgIOG.js +0 -6
- package/dist/build/assets/shogun-spinner-BmOUi9Ar.gif +0 -0
- package/dist/build/assets/shogun_logo-B9ohJOpL.png +0 -0
- package/dist/build/assets/solidity-DyKutqhl.js +0 -6
- package/dist/build/assets/sophia-B4VqtPa2.js +0 -6
- package/dist/build/assets/sparql-B7alP455.js +0 -6
- package/dist/build/assets/sql-D7lU1fdU.js +0 -6
- package/dist/build/assets/st-VuadG5SK.js +0 -6
- package/dist/build/assets/style-CJpWC7V3.css +0 -1
- package/dist/build/assets/swift-BYtUz8ZP.js +0 -8
- package/dist/build/assets/systemverilog-DOAuugfS.js +0 -6
- package/dist/build/assets/tcl-CXKOl_mN.js +0 -6
- package/dist/build/assets/ts.worker-BBBnYv8q.js +0 -51333
- package/dist/build/assets/tsMode-meseu6bK.js +0 -11
- package/dist/build/assets/twig-D9yiNO04.js +0 -6
- package/dist/build/assets/typescript-BuOvk1sq.js +0 -1
- package/dist/build/assets/typespec-BupSXVCO.js +0 -6
- package/dist/build/assets/vb-ZlaFEk-P.js +0 -6
- package/dist/build/assets/wgsl-DrbANKle.js +0 -303
- package/dist/build/assets/xml-BXx9C-xA.js +0 -1
- package/dist/build/assets/yaml-CuMedh6B.js +0 -1
- package/dist/build/index.html +0 -24
- package/dist/lib/App.d.ts +0 -4
- package/dist/lib/App.js +0 -122
- package/dist/lib/Component/Dashboard/Dashboard.d.ts +0 -12
- package/dist/lib/Component/Dashboard/Dashboard.js +0 -10
- package/dist/lib/Component/Dashboard/DashboardCard/DashboardCard.d.ts +0 -13
- package/dist/lib/Component/Dashboard/DashboardCard/DashboardCard.js +0 -7
- package/dist/lib/Component/Dashboard/DashboardStatistics/DashboardStatistics.d.ts +0 -15
- package/dist/lib/Component/Dashboard/DashboardStatistics/DashboardStatistics.js +0 -30
- package/dist/lib/Component/EvictCache/EvictCache.d.ts +0 -6
- package/dist/lib/Component/EvictCache/EvictCache.js +0 -28
- package/dist/lib/Component/FormField/DisplayField/DisplayField.d.ts +0 -13
- package/dist/lib/Component/FormField/DisplayField/DisplayField.js +0 -32
- package/dist/lib/Component/FormField/JSONEditor/JSONEditor.d.ts +0 -13
- package/dist/lib/Component/FormField/JSONEditor/JSONEditor.js +0 -90
- package/dist/lib/Component/FormField/JSONEditor/UserWorker.d.ts +0 -1
- package/dist/lib/Component/FormField/JSONEditor/UserWorker.js +0 -26
- package/dist/lib/Component/FormField/LinkField/LinkField.d.ts +0 -11
- package/dist/lib/Component/FormField/LinkField/LinkField.js +0 -15
- package/dist/lib/Component/FormField/MarkdownEditor/MarkdownEditor.d.ts +0 -10
- package/dist/lib/Component/FormField/MarkdownEditor/MarkdownEditor.js +0 -23
- package/dist/lib/Component/FormField/Permission/GroupPermissionGrid/GroupPermissionGrid.d.ts +0 -7
- package/dist/lib/Component/FormField/Permission/GroupPermissionGrid/GroupPermissionGrid.js +0 -73
- package/dist/lib/Component/FormField/Permission/InstancePermissionGrid/InstancePermissionGrid.d.ts +0 -30
- package/dist/lib/Component/FormField/Permission/InstancePermissionGrid/InstancePermissionGrid.js +0 -151
- package/dist/lib/Component/FormField/Permission/PermissionModal/PermissionModal.d.ts +0 -28
- package/dist/lib/Component/FormField/Permission/PermissionModal/PermissionModal.js +0 -103
- package/dist/lib/Component/FormField/Permission/PermissionSelect/PermissionSelect.d.ts +0 -6
- package/dist/lib/Component/FormField/Permission/PermissionSelect/PermissionSelect.js +0 -21
- package/dist/lib/Component/FormField/Permission/RolePermissionGrid/RolePermissionGrid.d.ts +0 -7
- package/dist/lib/Component/FormField/Permission/RolePermissionGrid/RolePermissionGrid.js +0 -81
- package/dist/lib/Component/FormField/Permission/UserPermissionGrid/UserPermissionGrid.d.ts +0 -8
- package/dist/lib/Component/FormField/Permission/UserPermissionGrid/UserPermissionGrid.js +0 -87
- package/dist/lib/Component/FormField/VerifyProviderDetailsField/VerifyProviderDetailsField.d.ts +0 -13
- package/dist/lib/Component/FormField/VerifyProviderDetailsField/VerifyProviderDetailsField.js +0 -14
- package/dist/lib/Component/FormField/YesOrNoField/YesOrNoField.d.ts +0 -8
- package/dist/lib/Component/FormField/YesOrNoField/YesOrNoField.js +0 -10
- package/dist/lib/Component/FullscreenWrapper/FullscreenWrapper.d.ts +0 -4
- package/dist/lib/Component/FullscreenWrapper/FullscreenWrapper.js +0 -48
- package/dist/lib/Component/GeneralEntity/GeneralEntityForm/GeneralEntityForm.d.ts +0 -43
- package/dist/lib/Component/GeneralEntity/GeneralEntityForm/GeneralEntityForm.js +0 -145
- package/dist/lib/Component/GeneralEntity/GeneralEntityRoot/GeneralEntityRoot.d.ts +0 -22
- package/dist/lib/Component/GeneralEntity/GeneralEntityRoot/GeneralEntityRoot.js +0 -527
- package/dist/lib/Component/GeneralEntity/GeneralEntityTable/GeneralEntityTable.d.ts +0 -46
- package/dist/lib/Component/GeneralEntity/GeneralEntityTable/GeneralEntityTable.js +0 -179
- package/dist/lib/Component/GlobalSettings/GlobalSettingsRoot/GlobalSettingsRoot.d.ts +0 -5
- package/dist/lib/Component/GlobalSettings/GlobalSettingsRoot/GlobalSettingsRoot.js +0 -15
- package/dist/lib/Component/Header/Header.d.ts +0 -8
- package/dist/lib/Component/Header/Header.js +0 -16
- package/dist/lib/Component/ImageFile/ImageFileForm/ImageFileForm.d.ts +0 -7
- package/dist/lib/Component/ImageFile/ImageFileForm/ImageFileForm.js +0 -94
- package/dist/lib/Component/ImageFile/ImageFileRoot/ImageFileRoot.d.ts +0 -7
- package/dist/lib/Component/ImageFile/ImageFileRoot/ImageFileRoot.js +0 -44
- package/dist/lib/Component/ImageFile/ImageFileTable/ImageFileTable.d.ts +0 -9
- package/dist/lib/Component/ImageFile/ImageFileTable/ImageFileTable.js +0 -157
- package/dist/lib/Component/LanguageSelector/index.d.ts +0 -4
- package/dist/lib/Component/LanguageSelector/index.js +0 -15
- package/dist/lib/Component/Layer/LayerTypeSelect/LayerTypeSelect.d.ts +0 -11
- package/dist/lib/Component/Layer/LayerTypeSelect/LayerTypeSelect.js +0 -33
- package/dist/lib/Component/LayerPreview/LayerPreview.d.ts +0 -9
- package/dist/lib/Component/LayerPreview/LayerPreview.js +0 -159
- package/dist/lib/Component/LayerPreview/MapComponent/MapComponent.d.ts +0 -10
- package/dist/lib/Component/LayerPreview/MapComponent/MapComponent.js +0 -22
- package/dist/lib/Component/LogSettings/LogLevelSelect/LogLevelSelect.d.ts +0 -7
- package/dist/lib/Component/LogSettings/LogLevelSelect/LogLevelSelect.js +0 -20
- package/dist/lib/Component/LogSettings/LogLevelTable/LogLevelTable.d.ts +0 -12
- package/dist/lib/Component/LogSettings/LogLevelTable/LogLevelTable.js +0 -73
- package/dist/lib/Component/LogSettings/LogSettingsRoot/LogSettingsRoot.d.ts +0 -4
- package/dist/lib/Component/LogSettings/LogSettingsRoot/LogSettingsRoot.js +0 -11
- package/dist/lib/Component/Logs/Logs.d.ts +0 -5
- package/dist/lib/Component/Logs/Logs.js +0 -58
- package/dist/lib/Component/Menu/Navigation/Navigation.d.ts +0 -10
- package/dist/lib/Component/Menu/Navigation/Navigation.js +0 -96
- package/dist/lib/Component/Menu/User/User.d.ts +0 -7
- package/dist/lib/Component/Menu/User/User.js +0 -91
- package/dist/lib/Component/Metrics/JdbcConnectionsActive/JdbcConnectionsActive.d.ts +0 -6
- package/dist/lib/Component/Metrics/JdbcConnectionsActive/JdbcConnectionsActive.js +0 -7
- package/dist/lib/Component/Metrics/JvmMemoryUsed/JvmMemoryUsed.d.ts +0 -6
- package/dist/lib/Component/Metrics/JvmMemoryUsed/JvmMemoryUsed.js +0 -13
- package/dist/lib/Component/Metrics/JvmThreadsLive/JvmThreadsLive.d.ts +0 -6
- package/dist/lib/Component/Metrics/JvmThreadsLive/JvmThreadsLive.js +0 -7
- package/dist/lib/Component/Metrics/MetricEntry/MetricEntry.d.ts +0 -13
- package/dist/lib/Component/Metrics/MetricEntry/MetricEntry.js +0 -54
- package/dist/lib/Component/Metrics/MetricsRoot/MetricsRoot.d.ts +0 -12
- package/dist/lib/Component/Metrics/MetricsRoot/MetricsRoot.js +0 -28
- package/dist/lib/Component/Metrics/ProcessCpuUsage/ProcessCpuUsage.d.ts +0 -6
- package/dist/lib/Component/Metrics/ProcessCpuUsage/ProcessCpuUsage.js +0 -7
- package/dist/lib/Component/Metrics/ProcessStartTime/ProcessStartTime.d.ts +0 -6
- package/dist/lib/Component/Metrics/ProcessStartTime/ProcessStartTime.js +0 -12
- package/dist/lib/Component/Metrics/ProcessUptime/ProcessUptime.d.ts +0 -6
- package/dist/lib/Component/Metrics/ProcessUptime/ProcessUptime.js +0 -15
- package/dist/lib/Component/Metrics/SystemCpuCount/SystemCpuCount.d.ts +0 -6
- package/dist/lib/Component/Metrics/SystemCpuCount/SystemCpuCount.js +0 -7
- package/dist/lib/Component/Metrics/SystemCpuUsage/SystemCpuUsage.d.ts +0 -6
- package/dist/lib/Component/Metrics/SystemCpuUsage/SystemCpuUsage.js +0 -7
- package/dist/lib/Component/Metrics/SystemLoadAverage/SystemLoadAverage.d.ts +0 -6
- package/dist/lib/Component/Metrics/SystemLoadAverage/SystemLoadAverage.js +0 -7
- package/dist/lib/Component/Modal/ApplicationInfo/ApplicationInfo.d.ts +0 -7
- package/dist/lib/Component/Modal/ApplicationInfo/ApplicationInfo.js +0 -18
- package/dist/lib/Component/ShogunSpinner/ShogunSpinner.d.ts +0 -5
- package/dist/lib/Component/ShogunSpinner/ShogunSpinner.js +0 -7
- package/dist/lib/Component/UserAvatar/UserAvatar.d.ts +0 -9
- package/dist/lib/Component/UserAvatar/UserAvatar.js +0 -13
- package/dist/lib/Component/WelcomeDashboard/WelcomeDashboard.d.ts +0 -5
- package/dist/lib/Component/WelcomeDashboard/WelcomeDashboard.js +0 -35
- package/dist/lib/Context/PluginContext.d.ts +0 -9
- package/dist/lib/Context/PluginContext.js +0 -7
- package/dist/lib/Context/SHOGunAPIClientContext.d.ts +0 -9
- package/dist/lib/Context/SHOGunAPIClientContext.js +0 -7
- package/dist/lib/Controller/ControllerUtil.d.ts +0 -27
- package/dist/lib/Controller/ControllerUtil.js +0 -60
- package/dist/lib/Controller/GenericEntityController.d.ts +0 -169
- package/dist/lib/Controller/GenericEntityController.js +0 -368
- package/dist/lib/Hooks/useClientVersion.d.ts +0 -1
- package/dist/lib/Hooks/useClientVersion.js +0 -3
- package/dist/lib/Hooks/usePlugins.d.ts +0 -3
- package/dist/lib/Hooks/usePlugins.js +0 -6
- package/dist/lib/Hooks/useSHOGunAPIClient.d.ts +0 -3
- package/dist/lib/Hooks/useSHOGunAPIClient.js +0 -6
- package/dist/lib/Logger.d.ts +0 -2
- package/dist/lib/Logger.js +0 -23
- package/dist/lib/Page/Portal/Portal.d.ts +0 -7
- package/dist/lib/Page/Portal/Portal.js +0 -74
- package/dist/lib/Service/GenericServiceImpl/GenericServiceImpl.d.ts +0 -5
- package/dist/lib/Service/GenericServiceImpl/GenericServiceImpl.js +0 -7
- package/dist/lib/Service/LogService/LogService.d.ts +0 -18
- package/dist/lib/Service/LogService/LogService.js +0 -79
- package/dist/lib/Service/MetricService/MetricService.d.ts +0 -26
- package/dist/lib/Service/MetricService/MetricService.js +0 -25
- package/dist/lib/State/atoms.d.ts +0 -7
- package/dist/lib/State/atoms.js +0 -25
- package/dist/lib/State/static.d.ts +0 -3
- package/dist/lib/State/static.js +0 -10
- package/dist/lib/Util/FileUtil.d.ts +0 -3
- package/dist/lib/Util/FileUtil.js +0 -10
- package/dist/lib/Util/JsonUtil.d.ts +0 -11
- package/dist/lib/Util/JsonUtil.js +0 -22
- package/dist/lib/Util/OpenAPIUtil.d.ts +0 -25
- package/dist/lib/Util/OpenAPIUtil.js +0 -230
- package/dist/lib/Util/TableUtil.d.ts +0 -14
- package/dist/lib/Util/TableUtil.js +0 -71
- package/dist/lib/Util/TranslationUtil.d.ts +0 -3
- package/dist/lib/Util/TranslationUtil.js +0 -23
- package/dist/lib/Util/UserUtil.d.ts +0 -22
- package/dist/lib/Util/UserUtil.js +0 -32
- package/dist/lib/i18n/index.d.ts +0 -2
- package/dist/lib/i18n/index.js +0 -17
- package/dist/lib/i18n/translations.d.ts +0 -508
- package/dist/lib/i18n/translations.js +0 -512
- package/dist/lib/index.d.ts +0 -1
- package/dist/lib/index.js +0 -172
- package/dist/lib/plugin/index.d.ts +0 -58
- package/dist/lib/plugin/index.js +0 -3
- package/dist/lib/test-util.d.ts +0 -6
- package/dist/lib/test-util.js +0 -16
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{i as Yt,__tla as __tla_0}from"./_virtual___federation_fn_import-PJHfB1tr.js";let Kt,Ko,Go,go,Xo,vo,ko,Zo,Bo,V,zo,Ha,ft,Yo,Ho,qo,st,Mt,Gt,sn,ut,fe,he,ln,Fa,So,Vo,Jo,$o,ye,Vt,Jt,Do,Co,_t,Lo,it,Ae,pe,Qn,_o,Wo,Kn,Qo,ai,xo,No,jo,Ia,ni,ja,ti,ri,Eo,Ra,ke,yo,Ao,be,To,Oa,qt,Ua,Mo,Pa,Fo,Uo,ct,Oo,Aa,Io,Ca,ei,cn;let __tla=Promise.all([(()=>{try{return __tla_0}catch{}})()]).then(async()=>{function J(){return J=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},J.apply(this,arguments)}(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(V||(V={}));const gr="popstate";function jr(e){e===void 0&&(e={});let{initialEntries:t=["/"],initialIndex:r,v5Compat:n=!1}=e,a;a=t.map((E,y)=>h(E,typeof E=="string"?null:E.state,y===0?"default":void 0));let i=s(r??a.length-1),o=V.Pop,l=null;function s(E){return Math.min(Math.max(E,0),a.length-1)}function d(){return a[i]}function h(E,y,S){y===void 0&&(y=null);let R=je(a?d().pathname:"/",E,y,S);return xe(R.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(E)),R}function f(E){return typeof E=="string"?E:ye(E)}return{get index(){return i},get action(){return o},get location(){return d()},createHref:f,createURL(E){return new URL(f(E),"http://localhost")},encodeLocation(E){let y=typeof E=="string"?pe(E):E;return{pathname:y.pathname||"",search:y.search||"",hash:y.hash||""}},push(E,y){o=V.Push;let S=h(E,y);i+=1,a.splice(i,a.length,S),n&&l&&l({action:o,location:S,delta:1})},replace(E,y){o=V.Replace;let S=h(E,y);a[i]=S,n&&l&&l({action:o,location:S,delta:0})},go(E){o=V.Pop;let y=s(i+E),S=a[y];i=y,l&&l({action:o,location:S,delta:E})},listen(E){return l=E,()=>{l=null}}}}function kr(e){e===void 0&&(e={});function t(n,a){let{pathname:i,search:o,hash:l}=n.location;return je("",{pathname:i,search:o,hash:l},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function r(n,a){return typeof a=="string"?a:ye(a)}return zr(t,r,null,e)}function Br(e){e===void 0&&(e={});function t(a,i){let{pathname:o="/",search:l="",hash:s=""}=pe(a.location.hash.substr(1));return!o.startsWith("/")&&!o.startsWith(".")&&(o="/"+o),je("",{pathname:o,search:l,hash:s},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function r(a,i){let o=a.document.querySelector("base"),l="";if(o&&o.getAttribute("href")){let s=a.location.href,d=s.indexOf("#");l=d===-1?s:s.slice(0,d)}return l+"#"+(typeof i=="string"?i:ye(i))}function n(a,i){xe(a.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(i)+")")}return zr(t,r,n,e)}function _(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function xe(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Dn(){return Math.random().toString(36).substr(2,8)}function yr(e,t){return{usr:e.state,key:e.key,idx:t}}function je(e,t,r,n){return r===void 0&&(r=null),J({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?pe(t):t,{state:r,key:t&&t.key||n||Dn()})}ye=function(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};pe=function(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 zr(e,t,r,n){n===void 0&&(n={});let{window:a=document.defaultView,v5Compat:i=!1}=n,o=a.history,l=V.Pop,s=null,d=h();d==null&&(d=0,o.replaceState(J({},o.state,{idx:d}),""));function h(){return(o.state||{idx:null}).idx}function f(){l=V.Pop;let R=h(),N=R==null?null:R-d;d=R,s&&s({action:l,location:S.location,delta:N})}function g(R,N){l=V.Push;let C=je(S.location,R,N);r&&r(C,R),d=h()+1;let T=yr(C,d),A=S.createHref(C);try{o.pushState(T,"",A)}catch(X){if(X instanceof DOMException&&X.name==="DataCloneError")throw X;a.location.assign(A)}i&&s&&s({action:l,location:S.location,delta:1})}function E(R,N){l=V.Replace;let C=je(S.location,R,N);r&&r(C,R),d=h();let T=yr(C,d),A=S.createHref(C);o.replaceState(T,"",A),i&&s&&s({action:l,location:S.location,delta:0})}function y(R){let N=a.location.origin!=="null"?a.location.origin:a.location.href,C=typeof R=="string"?R:ye(R);return C=C.replace(/ $/,"%20"),_(N,"No window.location.(origin|href) available to create URL for href: "+C),new URL(C,N)}let S={get action(){return l},get location(){return e(a,o)},listen(R){if(s)throw new Error("A history only accepts one active listener");return a.addEventListener(gr,f),s=R,()=>{a.removeEventListener(gr,f),s=null}},createHref(R){return t(a,R)},createURL:y,encodeLocation(R){let N=y(R);return{pathname:N.pathname,search:N.search,hash:N.hash}},push:g,replace:E,go(R){return o.go(R)}};return S}var $;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})($||($={}));const _n=new Set(["lazy","caseSensitive","path","id","index","children"]);function Mn(e){return e.index===!0}function ot(e,t,r,n){return r===void 0&&(r=[]),n===void 0&&(n={}),e.map((a,i)=>{let o=[...r,String(i)],l=typeof a.id=="string"?a.id:o.join("-");if(_(a.index!==!0||!a.children,"Cannot specify children on an index route"),_(!n[l],'Found a route id collision on id "'+l+`". Route id's must be globally unique within Data Router usages`),Mn(a)){let s=J({},a,t(a),{id:l});return n[l]=s,s}else{let s=J({},a,t(a),{id:l,children:void 0});return n[l]=s,a.children&&(s.children=ot(a.children,t,o,n)),s}})}Ae=function(e,t,r){return r===void 0&&(r="/"),xt(e,t,r,!1)};function xt(e,t,r,n){let a=typeof t=="string"?pe(t):t,i=ie(a.pathname||"/",r);if(i==null)return null;let o=Kr(e);Tn(o);let l=null;for(let s=0;l==null&&s<o.length;++s){let d=Hn(i);l=Bn(o[s],d,n)}return l}function Hr(e,t){let{route:r,pathname:n,params:a}=e;return{id:r.id,pathname:n,params:a,data:t[r.id],handle:r.handle}}function Kr(e,t,r,n){t===void 0&&(t=[]),r===void 0&&(r=[]),n===void 0&&(n="");let a=(i,o,l)=>{let s={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};s.relativePath.startsWith("/")&&(_(s.relativePath.startsWith(n),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(n.length));let d=ge([n,s.relativePath]),h=r.concat(s);i.children&&i.children.length>0&&(_(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+d+'".')),Kr(i.children,t,h,d)),!(i.path==null&&!i.index)&&t.push({path:d,score:jn(d,i.index),routesMeta:h})};return e.forEach((i,o)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))a(i,o);else for(let s of Wr(i.path))a(i,o,s)}),t}function Wr(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,a=r.endsWith("?"),i=r.replace(/\?$/,"");if(n.length===0)return a?[i,""]:[i];let o=Wr(n.join("/")),l=[];return l.push(...o.map(s=>s===""?i:[i,s].join("/"))),a&&l.push(...o),l.map(s=>e.startsWith("/")&&s===""?"/":s)}function Tn(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:kn(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const Fn=/^:[\w-]+$/,Un=3,On=2,An=1,In=10,Nn=-2,br=e=>e==="*";function jn(e,t){let r=e.split("/"),n=r.length;return r.some(br)&&(n+=Nn),t&&(n+=On),r.filter(a=>!br(a)).reduce((a,i)=>a+(Fn.test(i)?Un:i===""?An:In),n)}function kn(e,t){return e.length===t.length&&e.slice(0,-1).every((n,a)=>n===t[a])?e[e.length-1]-t[t.length-1]:0}function Bn(e,t,r){r===void 0&&(r=!1);let{routesMeta:n}=e,a={},i="/",o=[];for(let l=0;l<n.length;++l){let s=n[l],d=l===n.length-1,h=i==="/"?t:t.slice(i.length)||"/",f=it({path:s.relativePath,caseSensitive:s.caseSensitive,end:d},h),g=s.route;if(!f&&d&&r&&!n[n.length-1].route.index&&(f=it({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},h)),!f)return null;Object.assign(a,f.params),o.push({params:a,pathname:ge([i,f.pathname]),pathnameBase:$n(ge([i,f.pathnameBase])),route:g}),f.pathnameBase!=="/"&&(i=ge([i,f.pathnameBase]))}return o}Co=function(e,t){t===void 0&&(t={});let r=e;r.endsWith("*")&&r!=="*"&&!r.endsWith("/*")&&(xe(!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(/\*$/,"/*"));const n=r.startsWith("/")?"/":"",a=o=>o==null?"":typeof o=="string"?o:String(o),i=r.split(/\/+/).map((o,l,s)=>{if(l===s.length-1&&o==="*")return a(t["*"]);const h=o.match(/^:([\w-]+)(\??)$/);if(h){const[,f,g]=h;let E=t[f];return _(g==="?"||E!=null,'Missing ":'+f+'" param'),a(E)}return o.replace(/\?$/g,"")}).filter(o=>!!o);return n+i.join("/")};it=function(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=zn(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let i=a[0],o=i.replace(/(.)\/+$/,"$1"),l=a.slice(1);return{params:n.reduce((d,h,f)=>{let{paramName:g,isOptional:E}=h;if(g==="*"){let S=l[f]||"";o=i.slice(0,i.length-S.length).replace(/(.)\/+$/,"$1")}const y=l[f];return E&&!y?d[g]=void 0:d[g]=(y||"").replace(/%2F/g,"/"),d},{}),pathname:i,pathnameBase:o,pattern:e}};function zn(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),xe(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,l,s)=>(n.push({paramName:l,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),n]}function Hn(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return xe(!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 ie(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)||"/"}Kn=function(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:a=""}=typeof e=="string"?pe(e):e;return{pathname:r?r.startsWith("/")?r:Wn(r,t):t,search:Vn(n),hash:Jn(a)}};function Wn(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?r.length>1&&r.pop():a!=="."&&r.push(a)}),r.length>1?r.join("/"):"/"}function jt(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 $r(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function Lt(e,t){let r=$r(e);return t?r.map((n,a)=>a===e.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function Dt(e,t,r,n){n===void 0&&(n=!1);let a;typeof e=="string"?a=pe(e):(a=J({},e),_(!a.pathname||!a.pathname.includes("?"),jt("?","pathname","search",a)),_(!a.pathname||!a.pathname.includes("#"),jt("#","pathname","hash",a)),_(!a.search||!a.search.includes("#"),jt("#","search","hash",a)));let i=e===""||a.pathname==="",o=i?"/":a.pathname,l;if(o==null)l=r;else{let f=t.length-1;if(!n&&o.startsWith("..")){let g=o.split("/");for(;g[0]==="..";)g.shift(),f-=1;a.pathname=g.join("/")}l=f>=0?t[f]:"/"}let s=Kn(a,l),d=o&&o!=="/"&&o.endsWith("/"),h=(i||o===".")&&r.endsWith("/");return!s.pathname.endsWith("/")&&(d||h)&&(s.pathname+="/"),s}let ge,$n,Vn,Jn;ge=e=>e.join("/").replace(/\/\/+/g,"/");$n=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");Vn=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e;Jn=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;Lo=function(t,r){r===void 0&&(r={});let n=typeof r=="number"?{status:r}:r,a=new Headers(n.headers);return a.has("Content-Type")||a.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(t),J({},n,{headers:a}))};Kt=class extends Error{};class Yn{constructor(t,r){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],_(t&&typeof t=="object"&&!Array.isArray(t),"defer() only accepts plain objects");let n;this.abortPromise=new Promise((i,o)=>n=o),this.controller=new AbortController;let a=()=>n(new Kt("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",a),this.controller.signal.addEventListener("abort",a),this.data=Object.entries(t).reduce((i,o)=>{let[l,s]=o;return Object.assign(i,{[l]:this.trackPromise(l,s)})},{}),this.done&&this.unlistenAbortSignal(),this.init=r}trackPromise(t,r){if(!(r instanceof Promise))return r;this.deferredKeys.push(t),this.pendingKeysSet.add(t);let n=Promise.race([r,this.abortPromise]).then(a=>this.onSettle(n,t,void 0,a),a=>this.onSettle(n,t,a));return n.catch(()=>{}),Object.defineProperty(n,"_tracked",{get:()=>!0}),n}onSettle(t,r,n,a){if(this.controller.signal.aborted&&n instanceof Kt)return this.unlistenAbortSignal(),Object.defineProperty(t,"_error",{get:()=>n}),Promise.reject(n);if(this.pendingKeysSet.delete(r),this.done&&this.unlistenAbortSignal(),n===void 0&&a===void 0){let i=new Error('Deferred data for key "'+r+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(t,"_error",{get:()=>i}),this.emit(!1,r),Promise.reject(i)}return a===void 0?(Object.defineProperty(t,"_error",{get:()=>n}),this.emit(!1,r),Promise.reject(n)):(Object.defineProperty(t,"_data",{get:()=>a}),this.emit(!1,r),a)}emit(t,r){this.subscribers.forEach(n=>n(t,r))}subscribe(t){return this.subscribers.add(t),()=>this.subscribers.delete(t)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((t,r)=>this.pendingKeysSet.delete(r)),this.emit(!0)}async resolveData(t){let r=!1;if(!this.done){let n=()=>this.cancel();t.addEventListener("abort",n),r=await new Promise(a=>{this.subscribe(i=>{t.removeEventListener("abort",n),(i||this.done)&&a(i)})})}return r}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return _(this.data!==null&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((t,r)=>{let[n,a]=r;return Object.assign(t,{[n]:Xn(a)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}function Gn(e){return e instanceof Promise&&e._tracked===!0}function Xn(e){if(!Gn(e))return e;if(e._error)throw e._error;return e._data}Do=function(t,r){r===void 0&&(r={});let n=typeof r=="number"?{status:r}:r;return new Yn(t,n)};Qn=function(t,r){r===void 0&&(r=302);let n=r;typeof n=="number"?n={status:n}:typeof n.status>"u"&&(n.status=302);let a=new Headers(n.headers);return a.set("Location",t),new Response(null,J({},n,{headers:a}))};_o=(e,t)=>{let r=Qn(e,t);return r.headers.set("X-Remix-Reload-Document","true"),r};Gt=class{constructor(t,r,n,a){a===void 0&&(a=!1),this.status=t,this.statusText=r||"",this.internal=a,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};_t=function(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e};const Vr=["post","put","patch","delete"],Zn=new Set(Vr),qn=["get",...Vr],ea=new Set(qn),ta=new Set([301,302,303,307,308]),ra=new Set([307,308]),kt={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Jr={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ye={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Xt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,na=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Yr="remix-router-transitions";function Qt(e){const t=e.window?e.window:typeof window<"u"?window:void 0,r=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",n=!r;_(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let a;if(e.mapRouteProperties)a=e.mapRouteProperties;else if(e.detectErrorBoundary){let u=e.detectErrorBoundary;a=c=>({hasErrorBoundary:u(c)})}else a=na;let i={},o=ot(e.routes,a,void 0,i),l,s=e.basename||"/",d=e.unstable_dataStrategy||sa,h=e.unstable_patchRoutesOnMiss,f=J({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,unstable_skipActionErrorRevalidation:!1},e.future),g=null,E=new Set,y=null,S=null,R=null,N=e.hydrationData!=null,C=Ae(o,e.history.location,s),T=null;if(C==null&&!h){let u=ne(404,{pathname:e.history.location.pathname}),{matches:c,route:m}=_r(o);C=c,T={[m.id]:u}}let A;if(!C)A=!1,C=[];else if(C.some(u=>u.route.lazy))A=!1;else if(!C.some(u=>u.route.loader))A=!0;else if(f.v7_partialHydration){let u=e.hydrationData?e.hydrationData.loaderData:null,c=e.hydrationData?e.hydrationData.errors:null,m=v=>v.route.loader?typeof v.route.loader=="function"&&v.route.loader.hydrate===!0?!1:u&&u[v.route.id]!==void 0||c&&c[v.route.id]!==void 0:!0;if(c){let v=C.findIndex(P=>c[P.route.id]!==void 0);A=C.slice(0,v+1).every(m)}else A=C.every(m)}else A=e.hydrationData!=null;let X,p={historyAction:e.history.action,location:e.history.location,matches:C,initialized:A,navigation:kt,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||T,fetchers:new Map,blockers:new Map},j=V.Pop,Y=!1,F,Q=!1,H=new Map,ce=null,ee=!1,te=!1,Be=[],ht=[],Z=new Map,mt=0,Xe=-1,ze=new Map,we=new Set,He=new Map,Qe=new Map,Ee=new Set,Fe=new Map,Ue=new Map,dn=new Map,Ot=!1;function fn(){if(g=e.history.listen(u=>{let{action:c,location:m,delta:v}=u;if(Ot){Ot=!1;return}xe(Ue.size===0||v!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let P=fr({currentLocation:p.location,nextLocation:m,historyAction:c});if(P&&v!=null){Ot=!0,e.history.go(v*-1),vt(P,{state:"blocked",location:m,proceed(){vt(P,{state:"proceeding",proceed:void 0,reset:void 0,location:m}),e.history.go(v)},reset(){let D=new Map(p.blockers);D.set(P,Ye),ae({blockers:D})}});return}return Oe(c,m)}),r){Ea(t,H);let u=()=>Sa(t,H);t.addEventListener("pagehide",u),ce=()=>t.removeEventListener("pagehide",u)}return p.initialized||Oe(V.Pop,p.location,{initialHydration:!0}),X}function hn(){g&&g(),ce&&ce(),E.clear(),F&&F.abort(),p.fetchers.forEach((u,c)=>pt(c)),p.blockers.forEach((u,c)=>dr(c))}function mn(u){return E.add(u),()=>E.delete(u)}function ae(u,c){c===void 0&&(c={}),p=J({},p,u);let m=[],v=[];f.v7_fetcherPersist&&p.fetchers.forEach((P,D)=>{P.state==="idle"&&(Ee.has(D)?v.push(D):m.push(D))}),[...E].forEach(P=>P(p,{deletedFetchers:v,unstable_viewTransitionOpts:c.viewTransitionOpts,unstable_flushSync:c.flushSync===!0})),f.v7_fetcherPersist&&(m.forEach(P=>p.fetchers.delete(P)),v.forEach(P=>pt(P)))}function Ke(u,c,m){var v,P;let{flushSync:D}=m===void 0?{}:m,M=p.actionData!=null&&p.navigation.formMethod!=null&&me(p.navigation.formMethod)&&p.navigation.state==="loading"&&((v=u.state)==null?void 0:v._isRedirect)!==!0,x;c.actionData?Object.keys(c.actionData).length>0?x=c.actionData:x=null:M?x=p.actionData:x=null;let U=c.loaderData?Lr(p.loaderData,c.loaderData,c.matches||[],c.errors):p.loaderData,L=p.blockers;L.size>0&&(L=new Map(L),L.forEach((k,K)=>L.set(K,Ye)));let O=Y===!0||p.navigation.formMethod!=null&&me(p.navigation.formMethod)&&((P=u.state)==null?void 0:P._isRedirect)!==!0;l&&(o=l,l=void 0),ee||j===V.Pop||(j===V.Push?e.history.push(u,u.state):j===V.Replace&&e.history.replace(u,u.state));let z;if(j===V.Pop){let k=H.get(p.location.pathname);k&&k.has(u.pathname)?z={currentLocation:p.location,nextLocation:u}:H.has(u.pathname)&&(z={currentLocation:u,nextLocation:p.location})}else if(Q){let k=H.get(p.location.pathname);k?k.add(u.pathname):(k=new Set([u.pathname]),H.set(p.location.pathname,k)),z={currentLocation:p.location,nextLocation:u}}ae(J({},c,{actionData:x,loaderData:U,historyAction:j,location:u,initialized:!0,navigation:kt,revalidation:"idle",restoreScrollPosition:mr(u,c.matches||p.matches),preventScrollReset:O,blockers:L}),{viewTransitionOpts:z,flushSync:D===!0}),j=V.Pop,Y=!1,Q=!1,ee=!1,te=!1,Be=[],ht=[]}async function ar(u,c){if(typeof u=="number"){e.history.go(u);return}let m=Wt(p.location,p.matches,s,f.v7_prependBasename,u,f.v7_relativeSplatPath,c?.fromRouteId,c?.relative),{path:v,submission:P,error:D}=wr(f.v7_normalizeFormMethod,!1,m,c),M=p.location,x=je(p.location,v,c&&c.state);x=J({},x,e.history.encodeLocation(x));let U=c&&c.replace!=null?c.replace:void 0,L=V.Push;U===!0?L=V.Replace:U===!1||P!=null&&me(P.formMethod)&&P.formAction===p.location.pathname+p.location.search&&(L=V.Replace);let O=c&&"preventScrollReset"in c?c.preventScrollReset===!0:void 0,z=(c&&c.unstable_flushSync)===!0,k=fr({currentLocation:M,nextLocation:x,historyAction:L});if(k){vt(k,{state:"blocked",location:x,proceed(){vt(k,{state:"proceeding",proceed:void 0,reset:void 0,location:x}),ar(u,c)},reset(){let K=new Map(p.blockers);K.set(k,Ye),ae({blockers:K})}});return}return await Oe(L,x,{submission:P,pendingError:D,preventScrollReset:O,replace:c&&c.replace,enableViewTransition:c&&c.unstable_viewTransition,flushSync:z})}function pn(){if(At(),ae({revalidation:"loading"}),p.navigation.state!=="submitting"){if(p.navigation.state==="idle"){Oe(p.historyAction,p.location,{startUninterruptedRevalidation:!0});return}Oe(j||p.historyAction,p.navigation.location,{overrideNavigation:p.navigation})}}async function Oe(u,c,m){F&&F.abort(),F=null,j=u,ee=(m&&m.startUninterruptedRevalidation)===!0,Pn(p.location,p.matches),Y=(m&&m.preventScrollReset)===!0,Q=(m&&m.enableViewTransition)===!0;let v=l||o,P=m&&m.overrideNavigation,D=Ae(v,c,s),M=(m&&m.flushSync)===!0,x=pr(D,v,c.pathname);if(x.active&&x.matches&&(D=x.matches),!D){let{error:B,notFoundMatches:re,route:q}=It(c.pathname);Ke(c,{matches:re,loaderData:{},errors:{[q.id]:B}},{flushSync:M});return}if(p.initialized&&!te&&ma(p.location,c)&&!(m&&m.submission&&me(m.submission.formMethod))){Ke(c,{matches:D},{flushSync:M});return}F=new AbortController;let U=Je(e.history,c,F.signal,m&&m.submission),L;if(m&&m.pendingError)L=[at(D).route.id,{type:$.error,error:m.pendingError}];else if(m&&m.submission&&me(m.submission.formMethod)){let B=await vn(U,c,m.submission,D,x.active,{replace:m.replace,flushSync:M});if(B.shortCircuited)return;if(B.pendingActionResult){let[re,q]=B.pendingActionResult;if(ue(q)&&_t(q.error)&&q.error.status===404){F=null,Ke(c,{matches:B.matches,loaderData:{},errors:{[re]:q.error}});return}}D=B.matches||D,L=B.pendingActionResult,P=Bt(c,m.submission),M=!1,x.active=!1,U=Je(e.history,U.url,U.signal)}let{shortCircuited:O,matches:z,loaderData:k,errors:K}=await gn(U,c,D,x.active,P,m&&m.submission,m&&m.fetcherSubmission,m&&m.replace,m&&m.initialHydration===!0,M,L);O||(F=null,Ke(c,J({matches:z||D},Dr(L),{loaderData:k,errors:K})))}async function vn(u,c,m,v,P,D){D===void 0&&(D={}),At();let M=ba(c,m);if(ae({navigation:M},{flushSync:D.flushSync===!0}),P){let L=await yt(v,c.pathname,u.signal);if(L.type==="aborted")return{shortCircuited:!0};if(L.type==="error"){let{error:O,notFoundMatches:z,route:k}=gt(c.pathname,L);return{matches:z,pendingActionResult:[k.id,{type:$.error,error:O}]}}else if(L.matches)v=L.matches;else{let{notFoundMatches:O,error:z,route:k}=It(c.pathname);return{matches:O,pendingActionResult:[k.id,{type:$.error,error:z}]}}}let x,U=nt(v,c);if(!U.route.action&&!U.route.lazy)x={type:$.error,error:ne(405,{method:u.method,pathname:c.pathname,routeId:U.route.id})};else if(x=(await qe("action",u,[U],v))[0],u.signal.aborted)return{shortCircuited:!0};if(Ne(x)){let L;return D&&D.replace!=null?L=D.replace:L=xr(x.response.headers.get("Location"),new URL(u.url),s)===p.location.pathname+p.location.search,await Ze(u,x,{submission:m,replace:L}),{shortCircuited:!0}}if(Ie(x))throw ne(400,{type:"defer-action"});if(ue(x)){let L=at(v,U.route.id);return(D&&D.replace)!==!0&&(j=V.Push),{matches:v,pendingActionResult:[L.route.id,x]}}return{matches:v,pendingActionResult:[U.route.id,x]}}async function gn(u,c,m,v,P,D,M,x,U,L,O){let z=P||Bt(c,D),k=D||M||Fr(z),K=!ee&&(!f.v7_partialHydration||!U);if(v){if(K){let G=or(O);ae(J({navigation:z},G!==void 0?{actionData:G}:{}),{flushSync:L})}let I=await yt(m,c.pathname,u.signal);if(I.type==="aborted")return{shortCircuited:!0};if(I.type==="error"){let{error:G,notFoundMatches:se,route:W}=gt(c.pathname,I);return{matches:se,loaderData:{},errors:{[W.id]:G}}}else if(I.matches)m=I.matches;else{let{error:G,notFoundMatches:se,route:W}=It(c.pathname);return{matches:se,loaderData:{},errors:{[W.id]:G}}}}let B=l||o,[re,q]=Er(e.history,p,m,k,c,f.v7_partialHydration&&U===!0,f.unstable_skipActionErrorRevalidation,te,Be,ht,Ee,He,we,B,s,O);if(Nt(I=>!(m&&m.some(G=>G.route.id===I))||re&&re.some(G=>G.route.id===I)),Xe=++mt,re.length===0&&q.length===0){let I=ur();return Ke(c,J({matches:m,loaderData:{},errors:O&&ue(O[1])?{[O[0]]:O[1].error}:null},Dr(O),I?{fetchers:new Map(p.fetchers)}:{}),{flushSync:L}),{shortCircuited:!0}}if(K){let I={};if(!v){I.navigation=z;let G=or(O);G!==void 0&&(I.actionData=G)}q.length>0&&(I.fetchers=yn(q)),ae(I,{flushSync:L})}q.forEach(I=>{Z.has(I.key)&&Ce(I.key),I.controller&&Z.set(I.key,I.controller)});let et=()=>q.forEach(I=>Ce(I.key));F&&F.signal.addEventListener("abort",et);let{loaderResults:Le,fetcherResults:We}=await ir(p.matches,m,re,q,u);if(u.signal.aborted)return{shortCircuited:!0};F&&F.signal.removeEventListener("abort",et),q.forEach(I=>Z.delete(I.key));let $e=Mr([...Le,...We]);if($e){if($e.idx>=re.length){let I=q[$e.idx-re.length].key;we.add(I)}return await Ze(u,$e.result,{replace:x}),{shortCircuited:!0}}let{loaderData:Ve,errors:ve}=Cr(p,m,re,Le,O,q,We,Fe);Fe.forEach((I,G)=>{I.subscribe(se=>{(se||I.done)&&Fe.delete(G)})}),f.v7_partialHydration&&U&&p.errors&&Object.entries(p.errors).filter(I=>{let[G]=I;return!re.some(se=>se.route.id===G)}).forEach(I=>{let[G,se]=I;ve=Object.assign(ve||{},{[G]:se})});let bt=ur(),wt=cr(Xe),Et=bt||wt||q.length>0;return J({matches:m,loaderData:Ve,errors:ve},Et?{fetchers:new Map(p.fetchers)}:{})}function or(u){if(u&&!ue(u[1]))return{[u[0]]:u[1].data};if(p.actionData)return Object.keys(p.actionData).length===0?null:p.actionData}function yn(u){return u.forEach(c=>{let m=p.fetchers.get(c.key),v=tt(void 0,m?m.data:void 0);p.fetchers.set(c.key,v)}),new Map(p.fetchers)}function bn(u,c,m,v){if(n)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");Z.has(u)&&Ce(u);let P=(v&&v.unstable_flushSync)===!0,D=l||o,M=Wt(p.location,p.matches,s,f.v7_prependBasename,m,f.v7_relativeSplatPath,c,v?.relative),x=Ae(D,M,s),U=pr(x,D,M);if(U.active&&U.matches&&(x=U.matches),!x){Se(u,c,ne(404,{pathname:M}),{flushSync:P});return}let{path:L,submission:O,error:z}=wr(f.v7_normalizeFormMethod,!0,M,v);if(z){Se(u,c,z,{flushSync:P});return}let k=nt(x,L);if(Y=(v&&v.preventScrollReset)===!0,O&&me(O.formMethod)){wn(u,c,L,k,x,U.active,P,O);return}He.set(u,{routeId:c,path:L}),En(u,c,L,k,x,U.active,P,O)}async function wn(u,c,m,v,P,D,M,x){At(),He.delete(u);function U(W){if(!W.route.action&&!W.route.lazy){let Re=ne(405,{method:x.formMethod,pathname:m,routeId:c});return Se(u,c,Re,{flushSync:M}),!0}return!1}if(!D&&U(v))return;let L=p.fetchers.get(u);Pe(u,wa(x,L),{flushSync:M});let O=new AbortController,z=Je(e.history,m,O.signal,x);if(D){let W=await yt(P,m,z.signal);if(W.type==="aborted")return;if(W.type==="error"){let{error:Re}=gt(m,W);Se(u,c,Re,{flushSync:M});return}else if(W.matches){if(P=W.matches,v=nt(P,m),U(v))return}else{Se(u,c,ne(404,{pathname:m}),{flushSync:M});return}}Z.set(u,O);let k=mt,B=(await qe("action",z,[v],P))[0];if(z.signal.aborted){Z.get(u)===O&&Z.delete(u);return}if(f.v7_fetcherPersist&&Ee.has(u)){if(Ne(B)||ue(B)){Pe(u,De(void 0));return}}else{if(Ne(B))if(Z.delete(u),Xe>k){Pe(u,De(void 0));return}else return we.add(u),Pe(u,tt(x)),Ze(z,B,{fetcherSubmission:x});if(ue(B)){Se(u,c,B.error);return}}if(Ie(B))throw ne(400,{type:"defer-action"});let re=p.navigation.location||p.location,q=Je(e.history,re,O.signal),et=l||o,Le=p.navigation.state!=="idle"?Ae(et,p.navigation.location,s):p.matches;_(Le,"Didn't find any matches after fetcher action");let We=++mt;ze.set(u,We);let $e=tt(x,B.data);p.fetchers.set(u,$e);let[Ve,ve]=Er(e.history,p,Le,x,re,!1,f.unstable_skipActionErrorRevalidation,te,Be,ht,Ee,He,we,et,s,[v.route.id,B]);ve.filter(W=>W.key!==u).forEach(W=>{let Re=W.key,vr=p.fetchers.get(Re),Ln=tt(void 0,vr?vr.data:void 0);p.fetchers.set(Re,Ln),Z.has(Re)&&Ce(Re),W.controller&&Z.set(Re,W.controller)}),ae({fetchers:new Map(p.fetchers)});let bt=()=>ve.forEach(W=>Ce(W.key));O.signal.addEventListener("abort",bt);let{loaderResults:wt,fetcherResults:Et}=await ir(p.matches,Le,Ve,ve,q);if(O.signal.aborted)return;O.signal.removeEventListener("abort",bt),ze.delete(u),Z.delete(u),ve.forEach(W=>Z.delete(W.key));let I=Mr([...wt,...Et]);if(I){if(I.idx>=Ve.length){let W=ve[I.idx-Ve.length].key;we.add(W)}return Ze(q,I.result)}let{loaderData:G,errors:se}=Cr(p,p.matches,Ve,wt,void 0,ve,Et,Fe);if(p.fetchers.has(u)){let W=De(B.data);p.fetchers.set(u,W)}cr(We),p.navigation.state==="loading"&&We>Xe?(_(j,"Expected pending action"),F&&F.abort(),Ke(p.navigation.location,{matches:Le,loaderData:G,errors:se,fetchers:new Map(p.fetchers)})):(ae({errors:se,loaderData:Lr(p.loaderData,G,Le,se),fetchers:new Map(p.fetchers)}),te=!1)}async function En(u,c,m,v,P,D,M,x){let U=p.fetchers.get(u);Pe(u,tt(x,U?U.data:void 0),{flushSync:M});let L=new AbortController,O=Je(e.history,m,L.signal);if(D){let B=await yt(P,m,O.signal);if(B.type==="aborted")return;if(B.type==="error"){let{error:re}=gt(m,B);Se(u,c,re,{flushSync:M});return}else if(B.matches)P=B.matches,v=nt(P,m);else{Se(u,c,ne(404,{pathname:m}),{flushSync:M});return}}Z.set(u,L);let z=mt,K=(await qe("loader",O,[v],P))[0];if(Ie(K)&&(K=await qr(K,O.signal,!0)||K),Z.get(u)===L&&Z.delete(u),!O.signal.aborted){if(Ee.has(u)){Pe(u,De(void 0));return}if(Ne(K))if(Xe>z){Pe(u,De(void 0));return}else{we.add(u),await Ze(O,K);return}if(ue(K)){Se(u,c,K.error);return}_(!Ie(K),"Unhandled fetcher deferred data"),Pe(u,De(K.data))}}async function Ze(u,c,m){let{submission:v,fetcherSubmission:P,replace:D}=m===void 0?{}:m;c.response.headers.has("X-Remix-Revalidate")&&(te=!0);let M=c.response.headers.get("Location");_(M,"Expected a Location header on the redirect Response"),M=xr(M,new URL(u.url),s);let x=je(p.location,M,{_isRedirect:!0});if(r){let K=!1;if(c.response.headers.has("X-Remix-Reload-Document"))K=!0;else if(Xt.test(M)){const B=e.history.createURL(M);K=B.origin!==t.location.origin||ie(B.pathname,s)==null}if(K){D?t.location.replace(M):t.location.assign(M);return}}F=null;let U=D===!0?V.Replace:V.Push,{formMethod:L,formAction:O,formEncType:z}=p.navigation;!v&&!P&&L&&O&&z&&(v=Fr(p.navigation));let k=v||P;if(ra.has(c.response.status)&&k&&me(k.formMethod))await Oe(U,x,{submission:J({},k,{formAction:M}),preventScrollReset:Y});else{let K=Bt(x,v);await Oe(U,x,{overrideNavigation:K,fetcherSubmission:P,preventScrollReset:Y})}}async function qe(u,c,m,v){try{let P=await ua(d,u,c,m,v,i,a);return await Promise.all(P.map((D,M)=>{if(va(D)){let x=D.result;return{type:$.redirect,response:fa(x,c,m[M].route.id,v,s,f.v7_relativeSplatPath)}}return da(D)}))}catch(P){return m.map(()=>({type:$.error,error:P}))}}async function ir(u,c,m,v,P){let[D,...M]=await Promise.all([m.length?qe("loader",P,m,c):[],...v.map(x=>{if(x.matches&&x.match&&x.controller){let U=Je(e.history,x.path,x.controller.signal);return qe("loader",U,[x.match],x.matches).then(L=>L[0])}else return Promise.resolve({type:$.error,error:ne(404,{pathname:x.path})})})]);return await Promise.all([Tr(u,m,D,D.map(()=>P.signal),!1,p.loaderData),Tr(u,v.map(x=>x.match),M,v.map(x=>x.controller?x.controller.signal:null),!0)]),{loaderResults:D,fetcherResults:M}}function At(){te=!0,Be.push(...Nt()),He.forEach((u,c)=>{Z.has(c)&&(ht.push(c),Ce(c))})}function Pe(u,c,m){m===void 0&&(m={}),p.fetchers.set(u,c),ae({fetchers:new Map(p.fetchers)},{flushSync:(m&&m.flushSync)===!0})}function Se(u,c,m,v){v===void 0&&(v={});let P=at(p.matches,c);pt(u),ae({errors:{[P.route.id]:m},fetchers:new Map(p.fetchers)},{flushSync:(v&&v.flushSync)===!0})}function lr(u){return f.v7_fetcherPersist&&(Qe.set(u,(Qe.get(u)||0)+1),Ee.has(u)&&Ee.delete(u)),p.fetchers.get(u)||Jr}function pt(u){let c=p.fetchers.get(u);Z.has(u)&&!(c&&c.state==="loading"&&ze.has(u))&&Ce(u),He.delete(u),ze.delete(u),we.delete(u),Ee.delete(u),p.fetchers.delete(u)}function Sn(u){if(f.v7_fetcherPersist){let c=(Qe.get(u)||0)-1;c<=0?(Qe.delete(u),Ee.add(u)):Qe.set(u,c)}else pt(u);ae({fetchers:new Map(p.fetchers)})}function Ce(u){let c=Z.get(u);_(c,"Expected fetch controller: "+u),c.abort(),Z.delete(u)}function sr(u){for(let c of u){let m=lr(c),v=De(m.data);p.fetchers.set(c,v)}}function ur(){let u=[],c=!1;for(let m of we){let v=p.fetchers.get(m);_(v,"Expected fetcher: "+m),v.state==="loading"&&(we.delete(m),u.push(m),c=!0)}return sr(u),c}function cr(u){let c=[];for(let[m,v]of ze)if(v<u){let P=p.fetchers.get(m);_(P,"Expected fetcher: "+m),P.state==="loading"&&(Ce(m),ze.delete(m),c.push(m))}return sr(c),c.length>0}function Rn(u,c){let m=p.blockers.get(u)||Ye;return Ue.get(u)!==c&&Ue.set(u,c),m}function dr(u){p.blockers.delete(u),Ue.delete(u)}function vt(u,c){let m=p.blockers.get(u)||Ye;_(m.state==="unblocked"&&c.state==="blocked"||m.state==="blocked"&&c.state==="blocked"||m.state==="blocked"&&c.state==="proceeding"||m.state==="blocked"&&c.state==="unblocked"||m.state==="proceeding"&&c.state==="unblocked","Invalid blocker state transition: "+m.state+" -> "+c.state);let v=new Map(p.blockers);v.set(u,c),ae({blockers:v})}function fr(u){let{currentLocation:c,nextLocation:m,historyAction:v}=u;if(Ue.size===0)return;Ue.size>1&&xe(!1,"A router only supports one blocker at a time");let P=Array.from(Ue.entries()),[D,M]=P[P.length-1],x=p.blockers.get(D);if(!(x&&x.state==="proceeding")&&M({currentLocation:c,nextLocation:m,historyAction:v}))return D}function It(u){let c=ne(404,{pathname:u}),m=l||o,{matches:v,route:P}=_r(m);return Nt(),{notFoundMatches:v,route:P,error:c}}function gt(u,c){let m=c.partialMatches,v=m[m.length-1].route,P=ne(400,{type:"route-discovery",routeId:v.id,pathname:u,message:c.error!=null&&"message"in c.error?c.error:String(c.error)});return{notFoundMatches:m,route:v,error:P}}function Nt(u){let c=[];return Fe.forEach((m,v)=>{(!u||u(v))&&(m.cancel(),c.push(v),Fe.delete(v))}),c}function xn(u,c,m){if(y=u,R=c,S=m||null,!N&&p.navigation===kt){N=!0;let v=mr(p.location,p.matches);v!=null&&ae({restoreScrollPosition:v})}return()=>{y=null,R=null,S=null}}function hr(u,c){return S&&S(u,c.map(v=>Hr(v,p.loaderData)))||u.key}function Pn(u,c){if(y&&R){let m=hr(u,c);y[m]=R()}}function mr(u,c){if(y){let m=hr(u,c),v=y[m];if(typeof v=="number")return v}return null}function pr(u,c,m){if(h)if(u){if(u[u.length-1].route.path==="*")return{active:!0,matches:xt(c,m,s,!0)}}else return{active:!0,matches:xt(c,m,s,!0)||[]};return{active:!1,matches:null}}async function yt(u,c,m){let v=u,P=v.length>0?v[v.length-1].route:null;for(;;){try{await la(h,c,v,o||l,i,a,dn,m)}catch(L){return{type:"error",error:L,partialMatches:v}}if(m.aborted)return{type:"aborted"};let D=l||o,M=Ae(D,c,s),x=!1;if(M){let L=M[M.length-1].route;if(L.index)return{type:"success",matches:M};if(L.path&&L.path.length>0)if(L.path==="*")x=!0;else return{type:"success",matches:M}}let U=xt(D,c,s,!0);if(!U||v.map(L=>L.route.id).join("-")===U.map(L=>L.route.id).join("-"))return{type:"success",matches:x?M:null};if(v=U,P=v[v.length-1].route,P.path==="*")return{type:"success",matches:v}}}function Cn(u){i={},l=ot(u,a,void 0,i)}return X={get basename(){return s},get future(){return f},get state(){return p},get routes(){return o},get window(){return t},initialize:fn,subscribe:mn,enableScrollRestoration:xn,navigate:ar,fetch:bn,revalidate:pn,createHref:u=>e.history.createHref(u),encodeLocation:u=>e.history.encodeLocation(u),getFetcher:lr,deleteFetcher:Sn,dispose:hn,getBlocker:Rn,deleteBlocker:dr,patchRoutes(u,c){return Xr(u,c,o||l,i,a)},_internalFetchControllers:Z,_internalActiveDeferreds:Fe,_internalSetRoutes:Cn},X}function aa(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function Wt(e,t,r,n,a,i,o,l){let s,d;if(o){s=[];for(let f of t)if(s.push(f),f.route.id===o){d=f;break}}else s=t,d=t[t.length-1];let h=Dt(a||".",Lt(s,i),ie(e.pathname,r)||e.pathname,l==="path");return a==null&&(h.search=e.search,h.hash=e.hash),(a==null||a===""||a===".")&&d&&d.route.index&&!Zt(h.search)&&(h.search=h.search?h.search.replace(/^\?/,"?index&"):"?index"),n&&r!=="/"&&(h.pathname=h.pathname==="/"?r:ge([r,h.pathname])),ye(h)}function wr(e,t,r,n){if(!n||!aa(n))return{path:r};if(n.formMethod&&!ya(n.formMethod))return{path:r,error:ne(405,{method:n.formMethod})};let a=()=>({path:r,error:ne(400,{type:"invalid-body"})}),i=n.formMethod||"get",o=e?i.toUpperCase():i.toLowerCase(),l=Qr(r);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!me(o))return a();let g=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((E,y)=>{let[S,R]=y;return""+E+S+"="+R+`
|
|
2
|
-
`},""):String(n.body);return{path:r,submission:{formMethod:o,formAction:l,formEncType:n.formEncType,formData:void 0,json:void 0,text:g}}}else if(n.formEncType==="application/json"){if(!me(o))return a();try{let g=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:o,formAction:l,formEncType:n.formEncType,formData:void 0,json:g,text:void 0}}}catch{return a()}}}_(typeof FormData=="function","FormData is not available in this environment");let s,d;if(n.formData)s=$t(n.formData),d=n.formData;else if(n.body instanceof FormData)s=$t(n.body),d=n.body;else if(n.body instanceof URLSearchParams)s=n.body,d=Pr(s);else if(n.body==null)s=new URLSearchParams,d=new FormData;else try{s=new URLSearchParams(n.body),d=Pr(s)}catch{return a()}let h={formMethod:o,formAction:l,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:d,json:void 0,text:void 0};if(me(h.formMethod))return{path:r,submission:h};let f=pe(r);return t&&f.search&&Zt(f.search)&&s.append("index",""),f.search="?"+s,{path:ye(f),submission:h}}function oa(e,t){let r=e;if(t){let n=e.findIndex(a=>a.route.id===t);n>=0&&(r=e.slice(0,n))}return r}function Er(e,t,r,n,a,i,o,l,s,d,h,f,g,E,y,S){let R=S?ue(S[1])?S[1].error:S[1].data:void 0,N=e.createURL(t.location),C=e.createURL(a),T=S&&ue(S[1])?S[0]:void 0,A=T?oa(r,T):r,X=S?S[1].statusCode:void 0,p=o&&X&&X>=400,j=A.filter((F,Q)=>{let{route:H}=F;if(H.lazy)return!0;if(H.loader==null)return!1;if(i)return typeof H.loader!="function"||H.loader.hydrate?!0:t.loaderData[H.id]===void 0&&(!t.errors||t.errors[H.id]===void 0);if(ia(t.loaderData,t.matches[Q],F)||s.some(te=>te===F.route.id))return!0;let ce=t.matches[Q],ee=F;return Sr(F,J({currentUrl:N,currentParams:ce.params,nextUrl:C,nextParams:ee.params},n,{actionResult:R,unstable_actionStatus:X,defaultShouldRevalidate:p?!1:l||N.pathname+N.search===C.pathname+C.search||N.search!==C.search||Gr(ce,ee)}))}),Y=[];return f.forEach((F,Q)=>{if(i||!r.some(Be=>Be.route.id===F.routeId)||h.has(Q))return;let H=Ae(E,F.path,y);if(!H){Y.push({key:Q,routeId:F.routeId,path:F.path,matches:null,match:null,controller:null});return}let ce=t.fetchers.get(Q),ee=nt(H,F.path),te=!1;g.has(Q)?te=!1:d.includes(Q)?te=!0:ce&&ce.state!=="idle"&&ce.data===void 0?te=l:te=Sr(ee,J({currentUrl:N,currentParams:t.matches[t.matches.length-1].params,nextUrl:C,nextParams:r[r.length-1].params},n,{actionResult:R,unstable_actionStatus:X,defaultShouldRevalidate:p?!1:l})),te&&Y.push({key:Q,routeId:F.routeId,path:F.path,matches:H,match:ee,controller:new AbortController})}),[j,Y]}function ia(e,t,r){let n=!t||r.route.id!==t.route.id,a=e[r.route.id]===void 0;return n||a}function Gr(e,t){let r=e.route.path;return e.pathname!==t.pathname||r!=null&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function Sr(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if(typeof r=="boolean")return r}return t.defaultShouldRevalidate}async function la(e,t,r,n,a,i,o,l){let s=[t,...r.map(d=>d.route.id)].join("-");try{let d=o.get(s);d||(d=e({path:t,matches:r,patch:(h,f)=>{l.aborted||Xr(h,f,n,a,i)}}),o.set(s,d)),d&&pa(d)&&await d}finally{o.delete(s)}}function Xr(e,t,r,n,a){if(e){var i;let o=n[e];_(o,"No route found to patch children into: routeId = "+e);let l=ot(t,a,[e,"patch",String(((i=o.children)==null?void 0:i.length)||"0")],n);o.children?o.children.push(...l):o.children=l}else{let o=ot(t,a,["patch",String(r.length||"0")],n);r.push(...o)}}async function Rr(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let a=r[e.id];_(a,"No route found in manifest");let i={};for(let o in n){let s=a[o]!==void 0&&o!=="hasErrorBoundary";xe(!s,'Route "'+a.id+'" has a static property "'+o+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+o+'" will be ignored.')),!s&&!_n.has(o)&&(i[o]=n[o])}Object.assign(a,i),Object.assign(a,J({},t(a),{lazy:void 0}))}function sa(e){return Promise.all(e.matches.map(t=>t.resolve()))}async function ua(e,t,r,n,a,i,o,l){let s=n.reduce((f,g)=>f.add(g.route.id),new Set),d=new Set,h=await e({matches:a.map(f=>{let g=s.has(f.route.id);return J({},f,{shouldLoad:g,resolve:y=>(d.add(f.route.id),g?ca(t,r,f,i,o,y,l):Promise.resolve({type:$.data,result:void 0}))})}),request:r,params:a[0].params,context:l});return a.forEach(f=>_(d.has(f.route.id),'`match.resolve()` was not called for route id "'+f.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),h.filter((f,g)=>s.has(a[g].route.id))}async function ca(e,t,r,n,a,i,o){let l,s,d=h=>{let f,g=new Promise((S,R)=>f=R);s=()=>f(),t.signal.addEventListener("abort",s);let E=S=>typeof h!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+r.route.id+"]"))):h({request:t,params:r.params,context:o},...S!==void 0?[S]:[]),y;return i?y=i(S=>E(S)):y=(async()=>{try{return{type:"data",result:await E()}}catch(S){return{type:"error",result:S}}})(),Promise.race([y,g])};try{let h=r.route[e];if(r.route.lazy)if(h){let f,[g]=await Promise.all([d(h).catch(E=>{f=E}),Rr(r.route,a,n)]);if(f!==void 0)throw f;l=g}else if(await Rr(r.route,a,n),h=r.route[e],h)l=await d(h);else if(e==="action"){let f=new URL(t.url),g=f.pathname+f.search;throw ne(405,{method:t.method,pathname:g,routeId:r.route.id})}else return{type:$.data,result:void 0};else if(h)l=await d(h);else{let f=new URL(t.url),g=f.pathname+f.search;throw ne(404,{pathname:g})}_(l.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+r.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(h){return{type:$.error,result:h}}finally{s&&t.signal.removeEventListener("abort",s)}return l}async function da(e){let{result:t,type:r,status:n}=e;if(Zr(t)){let o;try{let l=t.headers.get("Content-Type");l&&/\bapplication\/json\b/.test(l)?t.body==null?o=null:o=await t.json():o=await t.text()}catch(l){return{type:$.error,error:l}}return r===$.error?{type:$.error,error:new Gt(t.status,t.statusText,o),statusCode:t.status,headers:t.headers}:{type:$.data,data:o,statusCode:t.status,headers:t.headers}}if(r===$.error)return{type:$.error,error:t,statusCode:_t(t)?t.status:n};if(ga(t)){var a,i;return{type:$.deferred,deferredData:t,statusCode:(a=t.init)==null?void 0:a.status,headers:((i=t.init)==null?void 0:i.headers)&&new Headers(t.init.headers)}}return{type:$.data,data:t,statusCode:n}}function fa(e,t,r,n,a,i){let o=e.headers.get("Location");if(_(o,"Redirects returned/thrown from loaders/actions must have a Location header"),!Xt.test(o)){let l=n.slice(0,n.findIndex(s=>s.route.id===r)+1);o=Wt(new URL(t.url),l,a,!0,o,i),e.headers.set("Location",o)}return e}function xr(e,t,r){if(Xt.test(e)){let n=e,a=n.startsWith("//")?new URL(t.protocol+n):new URL(n),i=ie(a.pathname,r)!=null;if(a.origin===t.origin&&i)return a.pathname+a.search+a.hash}return e}function Je(e,t,r,n){let a=e.createURL(Qr(t)).toString(),i={signal:r};if(n&&me(n.formMethod)){let{formMethod:o,formEncType:l}=n;i.method=o.toUpperCase(),l==="application/json"?(i.headers=new Headers({"Content-Type":l}),i.body=JSON.stringify(n.json)):l==="text/plain"?i.body=n.text:l==="application/x-www-form-urlencoded"&&n.formData?i.body=$t(n.formData):i.body=n.formData}return new Request(a,i)}function $t(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,typeof n=="string"?n:n.name);return t}function Pr(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function ha(e,t,r,n,a,i){let o={},l=null,s,d=!1,h={},f=n&&ue(n[1])?n[1].error:void 0;return r.forEach((g,E)=>{let y=t[E].route.id;if(_(!Ne(g),"Cannot handle redirect results in processLoaderData"),ue(g)){let S=g.error;f!==void 0&&(S=f,f=void 0),l=l||{};{let R=at(e,y);l[R.route.id]==null&&(l[R.route.id]=S)}o[y]=void 0,d||(d=!0,s=_t(g.error)?g.error.status:500),g.headers&&(h[y]=g.headers)}else Ie(g)?(a.set(y,g.deferredData),o[y]=g.deferredData.data,g.statusCode!=null&&g.statusCode!==200&&!d&&(s=g.statusCode),g.headers&&(h[y]=g.headers)):(o[y]=g.data,g.statusCode&&g.statusCode!==200&&!d&&(s=g.statusCode),g.headers&&(h[y]=g.headers))}),f!==void 0&&n&&(l={[n[0]]:f},o[n[0]]=void 0),{loaderData:o,errors:l,statusCode:s||200,loaderHeaders:h}}function Cr(e,t,r,n,a,i,o,l){let{loaderData:s,errors:d}=ha(t,r,n,a,l);for(let h=0;h<i.length;h++){let{key:f,match:g,controller:E}=i[h];_(o!==void 0&&o[h]!==void 0,"Did not find corresponding fetcher result");let y=o[h];if(!(E&&E.signal.aborted))if(ue(y)){let S=at(e.matches,g?.route.id);d&&d[S.route.id]||(d=J({},d,{[S.route.id]:y.error})),e.fetchers.delete(f)}else if(Ne(y))_(!1,"Unhandled fetcher revalidation redirect");else if(Ie(y))_(!1,"Unhandled fetcher deferred data");else{let S=De(y.data);e.fetchers.set(f,S)}}return{loaderData:s,errors:d}}function Lr(e,t,r,n){let a=J({},t);for(let i of r){let o=i.route.id;if(t.hasOwnProperty(o)?t[o]!==void 0&&(a[o]=t[o]):e[o]!==void 0&&i.route.loader&&(a[o]=e[o]),n&&n.hasOwnProperty(o))break}return a}function Dr(e){return e?ue(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function at(e,t){return(t?e.slice(0,e.findIndex(n=>n.route.id===t)+1):[...e]).reverse().find(n=>n.route.hasErrorBoundary===!0)||e[0]}function _r(e){let t=e.length===1?e[0]:e.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function ne(e,t){let{pathname:r,routeId:n,method:a,type:i,message:o}=t===void 0?{}:t,l="Unknown Server Error",s="Unknown @remix-run/router error";return e===400?(l="Bad Request",i==="route-discovery"?s='Unable to match URL "'+r+'" - the `children()` function for '+("route `"+n+"` threw the following error:\n"+o):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.":i==="defer-action"?s="defer() is not supported in actions":i==="invalid-body"&&(s="Unable to encode submission body")):e===403?(l="Forbidden",s='Route "'+n+'" does not match URL "'+r+'"'):e===404?(l="Not Found",s='No route matches URL "'+r+'"'):e===405&&(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 Gt(e||500,l,new Error(s),!0)}function Mr(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(Ne(r))return{result:r,idx:t}}}function Qr(e){let t=typeof e=="string"?pe(e):e;return ye(J({},t,{hash:""}))}function ma(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function pa(e){return typeof e=="object"&&e!=null&&"then"in e}function va(e){return Zr(e.result)&&ta.has(e.result.status)}function Ie(e){return e.type===$.deferred}function ue(e){return e.type===$.error}function Ne(e){return(e&&e.type)===$.redirect}function ga(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function Zr(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function ya(e){return ea.has(e.toLowerCase())}function me(e){return Zn.has(e.toLowerCase())}async function Tr(e,t,r,n,a,i){for(let o=0;o<r.length;o++){let l=r[o],s=t[o];if(!s)continue;let d=e.find(f=>f.route.id===s.route.id),h=d!=null&&!Gr(d,s)&&(i&&i[s.route.id])!==void 0;if(Ie(l)&&(a||h)){let f=n[o];_(f,"Expected an AbortSignal for revalidating fetcher deferred result"),await qr(l,f,a).then(g=>{g&&(r[o]=g||r[o])})}}}async function qr(e,t,r){if(r===void 0&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:$.data,data:e.deferredData.unwrappedData}}catch(a){return{type:$.error,error:a}}return{type:$.data,data:e.deferredData.data}}}function Zt(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function nt(e,t){let r=typeof t=="string"?pe(t).search:t.search;if(e[e.length-1].route.index&&Zt(r||""))return e[e.length-1];let n=$r(e);return n[n.length-1]}function Fr(e){let{formMethod:t,formAction:r,formEncType:n,text:a,formData:i,json:o}=e;if(!(!t||!r||!n)){if(a!=null)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:a};if(i!=null)return{formMethod:t,formAction:r,formEncType:n,formData:i,json:void 0,text:void 0};if(o!==void 0)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:o,text:void 0}}}function Bt(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 ba(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function tt(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 wa(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function De(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 Ea(e,t){try{let r=e.sessionStorage.getItem(Yr);if(r){let n=JSON.parse(r);for(let[a,i]of Object.entries(n||{}))i&&Array.isArray(i)&&t.set(a,new Set(i||[]))}}catch{}}function Sa(e,t){if(t.size>0){let r={};for(let[n,a]of t)r[n]=[...a];try{e.sessionStorage.setItem(Yr,JSON.stringify(r))}catch(n){xe(!1,"Failed to save applied view transitions in sessionStorage ("+n+").")}}}const b=await Yt("react");function _e(){return _e=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},_e.apply(this,arguments)}let Ct,en;st=b.createContext(null);Mt=b.createContext(null);Ct=b.createContext(null);fe=b.createContext(null);ut=b.createContext(null);he=b.createContext({outlet:null,matches:[],isDataRoute:!1});en=b.createContext(null);Ra=function(e,t){let{relative:r}=t===void 0?{}:t;ke()||_(!1);let{basename:n,navigator:a}=b.useContext(fe),{hash:i,pathname:o,search:l}=ct(e,{relative:r}),s=o;return n!=="/"&&(s=o==="/"?n:ge([n,o])),a.createHref({pathname:s,search:l,hash:i})};ke=function(){return b.useContext(ut)!=null};be=function(){return ke()||_(!1),b.useContext(ut).location};Mo=function(){return b.useContext(ut).navigationType};To=function(e){ke()||_(!1);let{pathname:t}=be();return b.useMemo(()=>it(e,t),[t,e])};function tn(e){b.useContext(fe).static||b.useLayoutEffect(e)}qt=function(){let{isDataRoute:e}=b.useContext(he);return e?ka():xa()};function xa(){ke()||_(!1);let e=b.useContext(st),{basename:t,future:r,navigator:n}=b.useContext(fe),{matches:a}=b.useContext(he),{pathname:i}=be(),o=JSON.stringify(Lt(a,r.v7_relativeSplatPath)),l=b.useRef(!1);return tn(()=>{l.current=!0}),b.useCallback(function(d,h){if(h===void 0&&(h={}),!l.current)return;if(typeof d=="number"){n.go(d);return}let f=Dt(d,JSON.parse(o),i,h.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:ge([t,f.pathname])),(h.replace?n.replace:n.push)(f,h.state,h)},[t,n,o,i,e])}const rn=b.createContext(null);Fo=function(){return b.useContext(rn)};Pa=function(e){let t=b.useContext(he).outlet;return t&&b.createElement(rn.Provider,{value:e},t)};Uo=function(){let{matches:e}=b.useContext(he),t=e[e.length-1];return t?t.params:{}};ct=function(e,t){let{relative:r}=t===void 0?{}:t,{future:n}=b.useContext(fe),{matches:a}=b.useContext(he),{pathname:i}=be(),o=JSON.stringify(Lt(a,n.v7_relativeSplatPath));return b.useMemo(()=>Dt(e,JSON.parse(o),i,r==="path"),[e,o,i,r])};Ca=function(e,t){return nn(e,t)};function nn(e,t,r,n){ke()||_(!1);let{navigator:a}=b.useContext(fe),{matches:i}=b.useContext(he),o=i[i.length-1],l=o?o.params:{};o&&o.pathname;let s=o?o.pathnameBase:"/";o&&o.route;let d=be(),h;if(t){var f;let R=typeof t=="string"?pe(t):t;s==="/"||(f=R.pathname)!=null&&f.startsWith(s)||_(!1),h=R}else h=d;let g=h.pathname||"/",E=g;if(s!=="/"){let R=s.replace(/^\//,"").split("/");E="/"+g.replace(/^\//,"").split("/").slice(R.length).join("/")}let y=Ae(e,{pathname:E}),S=an(y&&y.map(R=>Object.assign({},R,{params:Object.assign({},l,R.params),pathname:ge([s,a.encodeLocation?a.encodeLocation(R.pathname).pathname:R.pathname]),pathnameBase:R.pathnameBase==="/"?s:ge([s,a.encodeLocation?a.encodeLocation(R.pathnameBase).pathname:R.pathnameBase])})),i,r,n);return t&&S?b.createElement(ut.Provider,{value:{location:_e({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:V.Pop}},S):S}function La(){let e=Aa(),t=_t(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),r?b.createElement("pre",{style:a},r):null,null)}const Da=b.createElement(La,null);class _a extends b.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?b.createElement(he.Provider,{value:this.props.routeContext},b.createElement(en.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Ma(e){let{routeContext:t,match:r,children:n}=e,a=b.useContext(st);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),b.createElement(he.Provider,{value:t},n)}function an(e,t,r,n){var a;if(t===void 0&&(t=[]),r===void 0&&(r=null),n===void 0&&(n=null),e==null){var i;if((i=r)!=null&&i.errors)e=r.matches;else return null}let o=e,l=(a=r)==null?void 0:a.errors;if(l!=null){let h=o.findIndex(f=>f.route.id&&l?.[f.route.id]!==void 0);h>=0||_(!1),o=o.slice(0,Math.min(o.length,h+1))}let s=!1,d=-1;if(r&&n&&n.v7_partialHydration)for(let h=0;h<o.length;h++){let f=o[h];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(d=h),f.route.id){let{loaderData:g,errors:E}=r,y=f.route.loader&&g[f.route.id]===void 0&&(!E||E[f.route.id]===void 0);if(f.route.lazy||y){s=!0,d>=0?o=o.slice(0,d+1):o=[o[0]];break}}}return o.reduceRight((h,f,g)=>{let E,y=!1,S=null,R=null;r&&(E=l&&f.route.id?l[f.route.id]:void 0,S=f.route.errorElement||Da,s&&(d<0&&g===0?(Ba("route-fallback"),y=!0,R=null):d===g&&(y=!0,R=f.route.hydrateFallbackElement||null)));let N=t.concat(o.slice(0,g+1)),C=()=>{let T;return E?T=S:y?T=R:f.route.Component?T=b.createElement(f.route.Component,null):f.route.element?T=f.route.element:T=h,b.createElement(Ma,{match:f,routeContext:{outlet:h,matches:N,isDataRoute:r!=null},children:T})};return r&&(f.route.ErrorBoundary||f.route.errorElement||g===0)?b.createElement(_a,{location:r.location,revalidation:r.revalidation,component:S,error:E,children:C(),routeContext:{outlet:null,matches:N,isDataRoute:!0}}):C()},null)}var Tt=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Tt||{}),le=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(le||{});function er(e){let t=b.useContext(st);return t||_(!1),t}function Te(e){let t=b.useContext(Mt);return t||_(!1),t}function Ta(e){let t=b.useContext(he);return t||_(!1),t}function dt(e){let t=Ta(),r=t.matches[t.matches.length-1];return r.route.id||_(!1),r.route.id}Fa=function(){return dt(le.UseRouteId)};Ua=function(){return Te(le.UseNavigation).navigation};Oo=function(){let e=er(Tt.UseRevalidator),t=Te(le.UseRevalidator);return b.useMemo(()=>({revalidate:e.router.revalidate,state:t.revalidation}),[e.router.revalidate,t.revalidation])};Oa=function(){let{matches:e,loaderData:t}=Te(le.UseMatches);return b.useMemo(()=>e.map(r=>Hr(r,t)),[e,t])};Ao=function(){let e=Te(le.UseLoaderData),t=dt(le.UseLoaderData);if(e.errors&&e.errors[t]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")");return}return e.loaderData[t]};Io=function(e){return Te(le.UseRouteLoaderData).loaderData[e]};No=function(){let e=Te(le.UseActionData),t=dt(le.UseLoaderData);return e.actionData?e.actionData[t]:void 0};Aa=function(){var e;let t=b.useContext(en),r=Te(le.UseRouteError),n=dt(le.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[n]};Ia=function(){let e=b.useContext(Ct);return e?._data};jo=function(){let e=b.useContext(Ct);return e?._error};let Na=0;ja=function(e){let{router:t,basename:r}=er(Tt.UseBlocker),n=Te(le.UseBlocker),[a,i]=b.useState(""),o=b.useCallback(l=>{if(typeof e!="function")return!!e;if(r==="/")return e(l);let{currentLocation:s,nextLocation:d,historyAction:h}=l;return e({currentLocation:_e({},s,{pathname:ie(s.pathname,r)||s.pathname}),nextLocation:_e({},d,{pathname:ie(d.pathname,r)||d.pathname}),historyAction:h})},[r,e]);return b.useEffect(()=>{let l=String(++Na);return i(l),()=>t.deleteBlocker(l)},[t]),b.useEffect(()=>{a!==""&&t.getBlocker(a,o)},[t,a,o]),a&&n.blockers.has(a)?n.blockers.get(a):Ye};function ka(){let{router:e}=er(Tt.UseNavigateStable),t=dt(le.UseNavigateStable),r=b.useRef(!1);return tn(()=>{r.current=!0}),b.useCallback(function(a,i){i===void 0&&(i={}),r.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,_e({fromRouteId:t},i)))},[e,t])}const Ur={};function Ba(e,t,r){Ur[e]||(Ur[e]=!0)}const za="startTransition",Or=b[za];ko=function(e){let{basename:t,children:r,initialEntries:n,initialIndex:a,future:i}=e,o=b.useRef();o.current==null&&(o.current=jr({initialEntries:n,initialIndex:a,v5Compat:!0}));let l=o.current,[s,d]=b.useState({action:l.action,location:l.location}),{v7_startTransition:h}=i||{},f=b.useCallback(g=>{h&&Or?Or(()=>d(g)):d(g)},[d,h]);return b.useLayoutEffect(()=>l.listen(f),[l,f]),b.createElement(ft,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:l,future:i})};Bo=function(e){let{to:t,replace:r,state:n,relative:a}=e;ke()||_(!1);let{future:i,static:o}=b.useContext(fe),{matches:l}=b.useContext(he),{pathname:s}=be(),d=qt(),h=Dt(t,Lt(l,i.v7_relativeSplatPath),s,a==="path"),f=JSON.stringify(h);return b.useEffect(()=>d(JSON.parse(f),{replace:r,state:n,relative:a}),[d,f,a,r,n]),null};zo=function(e){return Pa(e.context)};Ha=function(e){_(!1)};ft=function(e){let{basename:t="/",children:r=null,location:n,navigationType:a=V.Pop,navigator:i,static:o=!1,future:l}=e;ke()&&_(!1);let s=t.replace(/^\/*/,"/"),d=b.useMemo(()=>({basename:s,navigator:i,static:o,future:_e({v7_relativeSplatPath:!1},l)}),[s,l,i,o]);typeof n=="string"&&(n=pe(n));let{pathname:h="/",search:f="",hash:g="",state:E=null,key:y="default"}=n,S=b.useMemo(()=>{let R=ie(h,s);return R==null?null:{location:{pathname:R,search:f,hash:g,state:E,key:y},navigationType:a}},[s,h,f,g,E,y,a]);return S==null?null:b.createElement(fe.Provider,{value:d},b.createElement(ut.Provider,{children:r,value:S}))};Ho=function(e){let{children:t,location:r}=e;return Ca(Vt(t),r)};Ko=function(e){let{children:t,errorElement:r,resolve:n}=e;return b.createElement(Wa,{resolve:n,errorElement:r},b.createElement($a,null,t))};var de=function(e){return e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error",e}(de||{});const Ka=new Promise(()=>{});class Wa extends b.Component{constructor(t){super(t),this.state={error:null}}static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t,r){console.error("<Await> caught the following error during render",t,r)}render(){let{children:t,errorElement:r,resolve:n}=this.props,a=null,i=de.pending;if(!(n instanceof Promise))i=de.success,a=Promise.resolve(),Object.defineProperty(a,"_tracked",{get:()=>!0}),Object.defineProperty(a,"_data",{get:()=>n});else if(this.state.error){i=de.error;let o=this.state.error;a=Promise.reject().catch(()=>{}),Object.defineProperty(a,"_tracked",{get:()=>!0}),Object.defineProperty(a,"_error",{get:()=>o})}else n._tracked?(a=n,i="_error"in a?de.error:"_data"in a?de.success:de.pending):(i=de.pending,Object.defineProperty(n,"_tracked",{get:()=>!0}),a=n.then(o=>Object.defineProperty(n,"_data",{get:()=>o}),o=>Object.defineProperty(n,"_error",{get:()=>o})));if(i===de.error&&a._error instanceof Kt)throw Ka;if(i===de.error&&!r)throw a._error;if(i===de.error)return b.createElement(Ct.Provider,{value:a,children:r});if(i===de.success)return b.createElement(Ct.Provider,{value:a,children:t});throw a}}function $a(e){let{children:t}=e,r=Ia(),n=typeof t=="function"?t(r):t;return b.createElement(b.Fragment,null,n)}Vt=function(e,t){t===void 0&&(t=[]);let r=[];return b.Children.forEach(e,(n,a)=>{if(!b.isValidElement(n))return;let i=[...t,a];if(n.type===b.Fragment){r.push.apply(r,Vt(n.props.children,i));return}n.type!==Ha&&_(!1),!n.props.index||!n.props.children||_(!1);let o={id:n.props.id||i.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(o.children=Vt(n.props.children,i)),r.push(o)}),r};Wo=function(e){return an(e)};function tr(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:b.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:b.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:b.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}$o=function(e,t){return Qt({basename:t?.basename,future:_e({},t?.future,{v7_prependBasename:!0}),history:jr({initialEntries:t?.initialEntries,initialIndex:t?.initialIndex}),hydrationData:t?.hydrationData,routes:e,mapRouteProperties:tr,unstable_dataStrategy:t?.unstable_dataStrategy,unstable_patchRoutesOnMiss:t?.unstable_patchRoutesOnMiss}).initialize()};const w=await Yt("react"),Va=await Yt("react-dom");function oe(){return oe=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},oe.apply(this,arguments)}function rr(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,i;for(i=0;i<n.length;i++)a=n[i],!(t.indexOf(a)>=0)&&(r[a]=e[a]);return r}const Pt="get",zt="application/x-www-form-urlencoded";function Ft(e){return e!=null&&typeof e.tagName=="string"}function Ja(e){return Ft(e)&&e.tagName.toLowerCase()==="button"}function Ya(e){return Ft(e)&&e.tagName.toLowerCase()==="form"}function Ga(e){return Ft(e)&&e.tagName.toLowerCase()==="input"}function Xa(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Qa(e,t){return e.button===0&&(!t||t==="_self")&&!Xa(e)}Jt=function(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||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(a=>[r,a]):[[r,n]])},[]))};function Za(e,t){let r=Jt(e);return t&&t.forEach((n,a)=>{r.has(a)||t.getAll(a).forEach(i=>{r.append(a,i)})}),r}let St=null;function qa(){if(St===null)try{new FormData(document.createElement("form"),0),St=!1}catch{St=!0}return St}const eo=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Ht(e){return e!=null&&!eo.has(e)?null:e}function to(e,t){let r,n,a,i,o;if(Ya(e)){let l=e.getAttribute("action");n=l?ie(l,t):null,r=e.getAttribute("method")||Pt,a=Ht(e.getAttribute("enctype"))||zt,i=new FormData(e)}else if(Ja(e)||Ga(e)&&(e.type==="submit"||e.type==="image")){let l=e.form;if(l==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let s=e.getAttribute("formaction")||l.getAttribute("action");if(n=s?ie(s,t):null,r=e.getAttribute("formmethod")||l.getAttribute("method")||Pt,a=Ht(e.getAttribute("formenctype"))||Ht(l.getAttribute("enctype"))||zt,i=new FormData(l,e),!qa()){let{name:d,type:h,value:f}=e;if(h==="image"){let g=d?d+".":"";i.append(g+"x","0"),i.append(g+"y","0")}else d&&i.append(d,f)}}else{if(Ft(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=Pt,n=null,a=zt,o=e}return i&&a==="text/plain"&&(o=i,i=void 0),{action:n,method:r.toLowerCase(),encType:a,formData:i,body:o}}const ro=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],no=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],ao=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","unstable_viewTransition"],oo="6";try{window.__reactRouterVersion=oo}catch{}Vo=function(e,t){return Qt({basename:t?.basename,future:oe({},t?.future,{v7_prependBasename:!0}),history:kr({window:t?.window}),hydrationData:t?.hydrationData||on(),routes:e,mapRouteProperties:tr,unstable_dataStrategy:t?.unstable_dataStrategy,unstable_patchRoutesOnMiss:t?.unstable_patchRoutesOnMiss,window:t?.window}).initialize()};Jo=function(e,t){return Qt({basename:t?.basename,future:oe({},t?.future,{v7_prependBasename:!0}),history:Br({window:t?.window}),hydrationData:t?.hydrationData||on(),routes:e,mapRouteProperties:tr,unstable_dataStrategy:t?.unstable_dataStrategy,unstable_patchRoutesOnMiss:t?.unstable_patchRoutesOnMiss,window:t?.window}).initialize()};function on(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=oe({},t,{errors:io(t.errors)})),t}function io(e){if(!e)return null;let t=Object.entries(e),r={};for(let[n,a]of t)if(a&&a.__type==="RouteErrorResponse")r[n]=new Gt(a.status,a.statusText,a.data,a.internal===!0);else if(a&&a.__type==="Error"){if(a.__subType){let i=window[a.__subType];if(typeof i=="function")try{let o=new i(a.message);o.stack="",r[n]=o}catch{}}if(r[n]==null){let i=new Error(a.message);i.stack="",r[n]=i}}else r[n]=a;return r}let lo,Me,so,Ar,uo,Ir;ln=w.createContext({isTransitioning:!1});sn=w.createContext(new Map);lo="startTransition";Me=w[lo];so="flushSync";Ar=Va[so];uo="useId";Ir=w[uo];function co(e){Me?Me(e):e()}function rt(e){Ar?Ar(e):e()}class fo{constructor(){this.status="pending",this.promise=new Promise((t,r)=>{this.resolve=n=>{this.status==="pending"&&(this.status="resolved",t(n))},this.reject=n=>{this.status==="pending"&&(this.status="rejected",r(n))}})}}Yo=function(e){let{fallbackElement:t,router:r,future:n}=e,[a,i]=w.useState(r.state),[o,l]=w.useState(),[s,d]=w.useState({isTransitioning:!1}),[h,f]=w.useState(),[g,E]=w.useState(),[y,S]=w.useState(),R=w.useRef(new Map),{v7_startTransition:N}=n||{},C=w.useCallback(j=>{N?co(j):j()},[N]),T=w.useCallback((j,Y)=>{let{deletedFetchers:F,unstable_flushSync:Q,unstable_viewTransitionOpts:H}=Y;F.forEach(ee=>R.current.delete(ee)),j.fetchers.forEach((ee,te)=>{ee.data!==void 0&&R.current.set(te,ee.data)});let ce=r.window==null||r.window.document==null||typeof r.window.document.startViewTransition!="function";if(!H||ce){Q?rt(()=>i(j)):C(()=>i(j));return}if(Q){rt(()=>{g&&(h&&h.resolve(),g.skipTransition()),d({isTransitioning:!0,flushSync:!0,currentLocation:H.currentLocation,nextLocation:H.nextLocation})});let ee=r.window.document.startViewTransition(()=>{rt(()=>i(j))});ee.finished.finally(()=>{rt(()=>{f(void 0),E(void 0),l(void 0),d({isTransitioning:!1})})}),rt(()=>E(ee));return}g?(h&&h.resolve(),g.skipTransition(),S({state:j,currentLocation:H.currentLocation,nextLocation:H.nextLocation})):(l(j),d({isTransitioning:!0,flushSync:!1,currentLocation:H.currentLocation,nextLocation:H.nextLocation}))},[r.window,g,h,R,C]);w.useLayoutEffect(()=>r.subscribe(T),[r,T]),w.useEffect(()=>{s.isTransitioning&&!s.flushSync&&f(new fo)},[s]),w.useEffect(()=>{if(h&&o&&r.window){let j=o,Y=h.promise,F=r.window.document.startViewTransition(async()=>{C(()=>i(j)),await Y});F.finished.finally(()=>{f(void 0),E(void 0),l(void 0),d({isTransitioning:!1})}),E(F)}},[C,o,h,r.window]),w.useEffect(()=>{h&&o&&a.location.key===o.location.key&&h.resolve()},[h,g,a.location,o]),w.useEffect(()=>{!s.isTransitioning&&y&&(l(y.state),d({isTransitioning:!0,flushSync:!1,currentLocation:y.currentLocation,nextLocation:y.nextLocation}),S(void 0))},[s.isTransitioning,y]),w.useEffect(()=>{},[]);let A=w.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:j=>r.navigate(j),push:(j,Y,F)=>r.navigate(j,{state:Y,preventScrollReset:F?.preventScrollReset}),replace:(j,Y,F)=>r.navigate(j,{replace:!0,state:Y,preventScrollReset:F?.preventScrollReset})}),[r]),X=r.basename||"/",p=w.useMemo(()=>({router:r,navigator:A,static:!1,basename:X}),[r,A,X]);return w.createElement(w.Fragment,null,w.createElement(st.Provider,{value:p},w.createElement(Mt.Provider,{value:a},w.createElement(sn.Provider,{value:R.current},w.createElement(ln.Provider,{value:s},w.createElement(ft,{basename:X,location:a.location,navigationType:a.historyAction,navigator:A,future:{v7_relativeSplatPath:r.future.v7_relativeSplatPath}},a.initialized||r.future.v7_partialHydration?w.createElement(ho,{routes:r.routes,future:r.future,state:a}):t))))),null)};function ho(e){let{routes:t,future:r,state:n}=e;return nn(t,void 0,n,r)}Go=function(e){let{basename:t,children:r,future:n,window:a}=e,i=w.useRef();i.current==null&&(i.current=kr({window:a,v5Compat:!0}));let o=i.current,[l,s]=w.useState({action:o.action,location:o.location}),{v7_startTransition:d}=n||{},h=w.useCallback(f=>{d&&Me?Me(()=>s(f)):s(f)},[s,d]);return w.useLayoutEffect(()=>o.listen(h),[o,h]),w.createElement(ft,{basename:t,children:r,location:l.location,navigationType:l.action,navigator:o,future:n})};Xo=function(e){let{basename:t,children:r,future:n,window:a}=e,i=w.useRef();i.current==null&&(i.current=Br({window:a,v5Compat:!0}));let o=i.current,[l,s]=w.useState({action:o.action,location:o.location}),{v7_startTransition:d}=n||{},h=w.useCallback(f=>{d&&Me?Me(()=>s(f)):s(f)},[s,d]);return w.useLayoutEffect(()=>o.listen(h),[o,h]),w.createElement(ft,{basename:t,children:r,location:l.location,navigationType:l.action,navigator:o,future:n})};Qo=function(e){let{basename:t,children:r,future:n,history:a}=e,[i,o]=w.useState({action:a.action,location:a.location}),{v7_startTransition:l}=n||{},s=w.useCallback(d=>{l&&Me?Me(()=>o(d)):o(d)},[o,l]);return w.useLayoutEffect(()=>a.listen(s),[a,s]),w.createElement(ft,{basename:t,children:r,location:i.location,navigationType:i.action,navigator:a,future:n})};let mo,po;mo=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";po=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;vo=w.forwardRef(function(t,r){let{onClick:n,relative:a,reloadDocument:i,replace:o,state:l,target:s,to:d,preventScrollReset:h,unstable_viewTransition:f}=t,g=rr(t,ro),{basename:E}=w.useContext(fe),y,S=!1;if(typeof d=="string"&&po.test(d)&&(y=d,mo))try{let T=new URL(window.location.href),A=d.startsWith("//")?new URL(T.protocol+d):new URL(d),X=ie(A.pathname,E);A.origin===T.origin&&X!=null?d=X+A.search+A.hash:S=!0}catch{}let R=Ra(d,{relative:a}),N=yo(d,{replace:o,state:l,target:s,preventScrollReset:h,relative:a,unstable_viewTransition:f});function C(T){n&&n(T),T.defaultPrevented||N(T)}return w.createElement("a",oe({},g,{href:y||R,onClick:S||i?n:C,ref:r,target:s}))});Zo=w.forwardRef(function(t,r){let{"aria-current":n="page",caseSensitive:a=!1,className:i="",end:o=!1,style:l,to:s,unstable_viewTransition:d,children:h}=t,f=rr(t,no),g=ct(s,{relative:f.relative}),E=be(),y=w.useContext(Mt),{navigator:S,basename:R}=w.useContext(fe),N=y!=null&&xo(g)&&d===!0,C=S.encodeLocation?S.encodeLocation(g).pathname:g.pathname,T=E.pathname,A=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;a||(T=T.toLowerCase(),A=A?A.toLowerCase():null,C=C.toLowerCase()),A&&R&&(A=ie(A,R)||A);const X=C!=="/"&&C.endsWith("/")?C.length-1:C.length;let p=T===C||!o&&T.startsWith(C)&&T.charAt(X)==="/",j=A!=null&&(A===C||!o&&A.startsWith(C)&&A.charAt(C.length)==="/"),Y={isActive:p,isPending:j,isTransitioning:N},F=p?n:void 0,Q;typeof i=="function"?Q=i(Y):Q=[i,p?"active":null,j?"pending":null,N?"transitioning":null].filter(Boolean).join(" ");let H=typeof l=="function"?l(Y):l;return w.createElement(vo,oe({},f,{"aria-current":F,className:Q,ref:r,style:H,to:s,unstable_viewTransition:d}),typeof h=="function"?h(Y):h)});go=w.forwardRef((e,t)=>{let{fetcherKey:r,navigate:n,reloadDocument:a,replace:i,state:o,method:l=Pt,action:s,onSubmit:d,relative:h,preventScrollReset:f,unstable_viewTransition:g}=e,E=rr(e,ao),y=cn(),S=Eo(s,{relative:h}),R=l.toLowerCase()==="get"?"get":"post",N=C=>{if(d&&d(C),C.defaultPrevented)return;C.preventDefault();let T=C.nativeEvent.submitter,A=T?.getAttribute("formmethod")||l;y(T||C.currentTarget,{fetcherKey:r,method:A,navigate:n,replace:i,state:o,relative:h,preventScrollReset:f,unstable_viewTransition:g})};return w.createElement("form",oe({ref:t,method:R,action:S,onSubmit:a?d:N},E))});qo=function(e){let{getKey:t,storageKey:r}=e;return So({getKey:t,storageKey:r}),null};var Ge;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ge||(Ge={}));var lt;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(lt||(lt={}));function Ut(e){let t=w.useContext(st);return t||_(!1),t}function nr(e){let t=w.useContext(Mt);return t||_(!1),t}yo=function(e,t){let{target:r,replace:n,state:a,preventScrollReset:i,relative:o,unstable_viewTransition:l}=t===void 0?{}:t,s=qt(),d=be(),h=ct(e,{relative:o});return w.useCallback(f=>{if(Qa(f,r)){f.preventDefault();let g=n!==void 0?n:ye(d)===ye(h);s(e,{replace:g,state:a,preventScrollReset:i,relative:o,unstable_viewTransition:l})}},[d,s,h,n,a,r,e,i,o,l])};ei=function(e){let t=w.useRef(Jt(e)),r=w.useRef(!1),n=be(),a=w.useMemo(()=>Za(n.search,r.current?null:t.current),[n.search]),i=qt(),o=w.useCallback((l,s)=>{const d=Jt(typeof l=="function"?l(a):l);r.current=!0,i("?"+d,s)},[i,a]);return[a,o]};function bo(){if(typeof document>"u")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}let wo=0,un=()=>"__"+String(++wo)+"__";cn=function(){let{router:e}=Ut(Ge.UseSubmit),{basename:t}=w.useContext(fe),r=Fa();return w.useCallback(function(n,a){a===void 0&&(a={}),bo();let{action:i,method:o,encType:l,formData:s,body:d}=to(n,t);if(a.navigate===!1){let h=a.fetcherKey||un();e.fetch(h,r,a.action||i,{preventScrollReset:a.preventScrollReset,formData:s,body:d,formMethod:a.method||o,formEncType:a.encType||l,unstable_flushSync:a.unstable_flushSync})}else e.navigate(a.action||i,{preventScrollReset:a.preventScrollReset,formData:s,body:d,formMethod:a.method||o,formEncType:a.encType||l,replace:a.replace,state:a.state,fromRouteId:r,unstable_flushSync:a.unstable_flushSync,unstable_viewTransition:a.unstable_viewTransition})},[e,t,r])};Eo=function(e,t){let{relative:r}=t===void 0?{}:t,{basename:n}=w.useContext(fe),a=w.useContext(he);a||_(!1);let[i]=a.matches.slice(-1),o=oe({},ct(e||".",{relative:r})),l=be();if(e==null){o.search=l.search;let s=new URLSearchParams(o.search);s.has("index")&&s.get("index")===""&&(s.delete("index"),o.search=s.toString()?"?"+s.toString():"")}return(!e||e===".")&&i.route.index&&(o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(o.pathname=o.pathname==="/"?n:ge([n,o.pathname])),ye(o)};ti=function(e){var t;let{key:r}=e===void 0?{}:e,{router:n}=Ut(Ge.UseFetcher),a=nr(lt.UseFetcher),i=w.useContext(sn),o=w.useContext(he),l=(t=o.matches[o.matches.length-1])==null?void 0:t.route.id;i||_(!1),o||_(!1),l==null&&_(!1);let s=Ir?Ir():"",[d,h]=w.useState(r||s);r&&r!==d?h(r):d||h(un()),w.useEffect(()=>(n.getFetcher(d),()=>{n.deleteFetcher(d)}),[n,d]);let f=w.useCallback((C,T)=>{l||_(!1),n.fetch(d,l,C,T)},[d,l,n]),g=cn(),E=w.useCallback((C,T)=>{g(C,oe({},T,{navigate:!1,fetcherKey:d}))},[d,g]),y=w.useMemo(()=>w.forwardRef((T,A)=>w.createElement(go,oe({},T,{navigate:!1,fetcherKey:d,ref:A}))),[d]),S=a.fetchers.get(d)||Jr,R=i.get(d);return w.useMemo(()=>oe({Form:y,submit:E,load:f},S,{data:R}),[y,E,f,S,R])};ri=function(){let e=nr(lt.UseFetchers);return Array.from(e.fetchers.entries()).map(t=>{let[r,n]=t;return oe({},n,{key:r})})};const Nr="react-router-scroll-positions";let Rt={};So=function(e){let{getKey:t,storageKey:r}=e===void 0?{}:e,{router:n}=Ut(Ge.UseScrollRestoration),{restoreScrollPosition:a,preventScrollReset:i}=nr(lt.UseScrollRestoration),{basename:o}=w.useContext(fe),l=be(),s=Oa(),d=Ua();w.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),Ro(w.useCallback(()=>{if(d.state==="idle"){let h=(t?t(l,s):null)||l.key;Rt[h]=window.scrollY}try{sessionStorage.setItem(r||Nr,JSON.stringify(Rt))}catch{}window.history.scrollRestoration="auto"},[r,t,d.state,l,s])),typeof document<"u"&&(w.useLayoutEffect(()=>{try{let h=sessionStorage.getItem(r||Nr);h&&(Rt=JSON.parse(h))}catch{}},[r]),w.useLayoutEffect(()=>{let h=t&&o!=="/"?(g,E)=>t(oe({},g,{pathname:ie(g.pathname,o)||g.pathname}),E):t,f=n?.enableScrollRestoration(Rt,()=>window.scrollY,h);return()=>f&&f()},[n,o,t]),w.useLayoutEffect(()=>{if(a!==!1){if(typeof a=="number"){window.scrollTo(0,a);return}if(l.hash){let h=document.getElementById(decodeURIComponent(l.hash.slice(1)));if(h){h.scrollIntoView();return}}i!==!0&&window.scrollTo(0,0)}},[l,a,i]))};ni=function(e,t){let{capture:r}=t||{};w.useEffect(()=>{let n=r!=null?{capture:r}:void 0;return window.addEventListener("beforeunload",e,n),()=>{window.removeEventListener("beforeunload",e,n)}},[e,r])};function Ro(e,t){let{capture:r}={};w.useEffect(()=>{let n=r!=null?{capture:r}:void 0;return window.addEventListener("pagehide",e,n),()=>{window.removeEventListener("pagehide",e,n)}},[e,r])}ai=function(e){let{when:t,message:r}=e,n=ja(t);w.useEffect(()=>{n.state==="blocked"&&(window.confirm(r)?setTimeout(n.proceed,0):n.reset())},[n,r]),w.useEffect(()=>{n.state==="blocked"&&!t&&n.reset()},[n,t])};xo=function(e,t){t===void 0&&(t={});let r=w.useContext(ln);r==null&&_(!1);let{basename:n}=Ut(Ge.useViewTransitionState),a=ct(e,{relative:t.relative});if(!r.isTransitioning)return!1;let i=ie(r.currentLocation.pathname,n)||r.currentLocation.pathname,o=ie(r.nextLocation.pathname,n)||r.nextLocation.pathname;return it(a.pathname,o)!=null||it(a.pathname,i)!=null}});export{Kt as AbortedDeferredError,Ko as Await,Go as BrowserRouter,go as Form,Xo as HashRouter,vo as Link,ko as MemoryRouter,Zo as NavLink,Bo as Navigate,V as NavigationType,zo as Outlet,Ha as Route,ft as Router,Yo as RouterProvider,Ho as Routes,qo as ScrollRestoration,st as UNSAFE_DataRouterContext,Mt as UNSAFE_DataRouterStateContext,Gt as UNSAFE_ErrorResponseImpl,sn as UNSAFE_FetchersContext,ut as UNSAFE_LocationContext,fe as UNSAFE_NavigationContext,he as UNSAFE_RouteContext,ln as UNSAFE_ViewTransitionContext,Fa as UNSAFE_useRouteId,So as UNSAFE_useScrollRestoration,Vo as createBrowserRouter,Jo as createHashRouter,$o as createMemoryRouter,ye as createPath,Vt as createRoutesFromChildren,Vt as createRoutesFromElements,Jt as createSearchParams,Do as defer,Co as generatePath,_t as isRouteErrorResponse,Lo as json,it as matchPath,Ae as matchRoutes,pe as parsePath,Qn as redirect,_o as redirectDocument,Wo as renderMatches,Kn as resolvePath,Qo as unstable_HistoryRouter,ai as unstable_usePrompt,xo as unstable_useViewTransitionState,No as useActionData,jo as useAsyncError,Ia as useAsyncValue,ni as useBeforeUnload,ja as useBlocker,ti as useFetcher,ri as useFetchers,Eo as useFormAction,Ra as useHref,ke as useInRouterContext,yo as useLinkClickHandler,Ao as useLoaderData,be as useLocation,To as useMatch,Oa as useMatches,qt as useNavigate,Ua as useNavigation,Mo as useNavigationType,Pa as useOutlet,Fo as useOutletContext,Uo as useParams,ct as useResolvedPath,Oo as useRevalidator,Aa as useRouteError,Io as useRouteLoaderData,Ca as useRoutes,ei as useSearchParams,cn as useSubmit,__tla};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var u=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function f(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function l(e){if(e.__esModule)return e;var r=e.default;if(typeof r=="function"){var t=function o(){return this instanceof o?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};t.prototype=r.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,n.get?n:{enumerable:!0,get:function(){return e[o]}})}),t}export{l as a,u as c,f as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
let xe;let __tla=(async()=>{const X="[0-9A-Za-z-]+",P=`(?:\\+(${X}(?:\\.${X})*))`,_="0|[1-9]\\d*",w="[0-9]+",Z="\\d*[a-zA-Z-][a-zA-Z0-9-]*",E=`(?:${w}|${Z})`,N=`(?:-?(${E}(?:\\.${E})*))`,S=`(?:${_}|${Z})`,F=`(?:-(${S}(?:\\.${S})*))`,T=`${_}|x|X|\\*`,d=`[v=\\s]*(${T})(?:\\.(${T})(?:\\.(${T})(?:${F})?${P}?)?)?`,D=`^\\s*(${d})\\s+-\\s+(${d})\\s*$`,J=`(${w})\\.(${w})\\.(${w})`,Q=`[v=\\s]*${J}${N}?${P}?`,q="((?:<|>)?=?)",W=`(\\s*)${q}\\s*(${Q}|${d})`,k="(?:~>?)",Y=`(\\s*)${k}\\s+`,B="(?:\\^)",j=`(\\s*)${B}\\s+`,A="(<|>)?=?\\s*\\*",m=`^${B}${d}$`,ee=`(${_})\\.(${_})\\.(${_})`,re=`v?${ee}${F}?${P}?`,te=`^${k}${d}$`,ne=`^${q}\\s*${d}$`,se=`^${q}\\s*(${re})$|^$`,ie="^\\s*>=\\s*0.0.0\\s*$";function o(e){return new RegExp(e)}function u(e){return!e||e.toLowerCase()==="x"||e==="*"}function G(...e){return n=>e.reduce((i,r)=>r(i),n)}function U(e){return e.match(o(se))}function z(e,n,i,r){const t=`${e}.${n}.${i}`;return r?`${t}-${r}`:t}function $e(e){return e.replace(o(D),(n,i,r,t,s,$,c,a,f,l,R,p)=>(u(r)?i="":u(t)?i=`>=${r}.0.0`:u(s)?i=`>=${r}.${t}.0`:i=`>=${i}`,u(f)?a="":u(l)?a=`<${+f+1}.0.0-0`:u(R)?a=`<${f}.${+l+1}.0-0`:p?a=`<=${f}.${l}.${R}-${p}`:a=`<=${a}`,`${i} ${a}`.trim()))}function ue(e){return e.replace(o(W),"$1$2$3")}function ce(e){return e.replace(o(Y),"$1~")}function ae(e){return e.replace(o(j),"$1^")}function fe(e){return e.trim().split(/\s+/).map(n=>n.replace(o(m),(i,r,t,s,$)=>u(r)?"":u(t)?`>=${r}.0.0 <${+r+1}.0.0-0`:u(s)?r==="0"?`>=${r}.${t}.0 <${r}.${+t+1}.0-0`:`>=${r}.${t}.0 <${+r+1}.0.0-0`:$?r==="0"?t==="0"?`>=${r}.${t}.${s}-${$} <${r}.${t}.${+s+1}-0`:`>=${r}.${t}.${s}-${$} <${r}.${+t+1}.0-0`:`>=${r}.${t}.${s}-${$} <${+r+1}.0.0-0`:r==="0"?t==="0"?`>=${r}.${t}.${s} <${r}.${t}.${+s+1}-0`:`>=${r}.${t}.${s} <${r}.${+t+1}.0-0`:`>=${r}.${t}.${s} <${+r+1}.0.0-0`)).join(" ")}function le(e){return e.trim().split(/\s+/).map(n=>n.replace(o(te),(i,r,t,s,$)=>u(r)?"":u(t)?`>=${r}.0.0 <${+r+1}.0.0-0`:u(s)?`>=${r}.${t}.0 <${r}.${+t+1}.0-0`:$?`>=${r}.${t}.${s}-${$} <${r}.${+t+1}.0-0`:`>=${r}.${t}.${s} <${r}.${+t+1}.0-0`)).join(" ")}function oe(e){return e.split(/\s+/).map(n=>n.trim().replace(o(ne),(i,r,t,s,$,c)=>{const a=u(t),f=a||u(s),l=f||u($);return r==="="&&l&&(r=""),c="",a?r===">"||r==="<"?"<0.0.0-0":"*":r&&l?(f&&(s=0),$=0,r===">"?(r=">=",f?(t=+t+1,s=0,$=0):(s=+s+1,$=0)):r==="<="&&(r="<",f?t=+t+1:s=+s+1),r==="<"&&(c="-0"),`${r+t}.${s}.${$}${c}`):f?`>=${t}.0.0${c} <${+t+1}.0.0-0`:l?`>=${t}.${s}.0${c} <${t}.${+s+1}.0-0`:i})).join(" ")}function pe(e){return e.trim().replace(o(A),"")}function de(e){return e.trim().replace(o(ie),"")}function g(e,n){return e=+e||e,n=+n||n,e>n?1:e===n?0:-1}function _e(e,n){const{preRelease:i}=e,{preRelease:r}=n;if(i===void 0&&r)return 1;if(i&&r===void 0)return-1;if(i===void 0&&r===void 0)return 0;for(let t=0,s=i.length;t<=s;t++){const $=i[t],c=r[t];if($!==c)return $===void 0&&c===void 0?0:$?c?g($,c):-1:1}return 0}function V(e,n){return g(e.major,n.major)||g(e.minor,n.minor)||g(e.patch,n.patch)||_e(e,n)}function C(e,n){return e.version===n.version}function Re(e,n){switch(e.operator){case"":case"=":return C(e,n);case">":return V(e,n)<0;case">=":return C(e,n)||V(e,n)<0;case"<":return V(e,n)>0;case"<=":return C(e,n)||V(e,n)>0;case void 0:return!0;default:return!1}}function Ve(e){return G(fe,le,oe,pe)(e)}function he(e){return G($e,ue,ce,ae)(e.trim()).split(/\s+/).join(" ")}function we(e,n){if(!e)return!1;const t=he(n).split(" ").map(p=>Ve(p)).join(" ").split(/\s+/).map(p=>de(p)),s=U(e);if(!s)return!1;const[,$,,c,a,f,l]=s,R={operator:$,version:z(c,a,f,l),major:c,minor:a,patch:f,preRelease:l?.split(".")};for(const p of t){const L=U(p);if(!L)return!1;const[,K,,y,O,I,b]=L,M={operator:K,version:z(y,O,I,b),major:y,minor:O,patch:I,preRelease:b?.split(".")};if(!Re(M,R))return!1}return!0}const v={react:{get:()=>()=>h(new URL("__federation_shared_react-CvClEUjg.js",import.meta.url).href),import:!0,requiredVersion:"^18.3.1"},"react-dom":{get:()=>()=>h(new URL("__federation_shared_react-dom-BxqGBSTk.js",import.meta.url).href),import:!0,requiredVersion:"^18.3.1"},"react-router-dom":{get:()=>()=>h(new URL("__federation_shared_react-router-dom-Vy7O6TNk.js",import.meta.url).href),import:!0,requiredVersion:"^6.24.0"},"react-i18next":{get:()=>()=>h(new URL("__federation_shared_react-i18next-MD_bYxcL.js",import.meta.url).href),import:!0,requiredVersion:"^14.1.2"}},x=Object.create(null);xe=async function(e,n="default"){return x[e]?new Promise(i=>i(x[e])):await ge(e,n)||ve(e)};async function h(e){return import(e).then(async m=>{await m.__tla;return m})}async function ge(e,n){let i=null;if(globalThis?.__federation_shared__?.[n]?.[e]){const r=globalThis.__federation_shared__[n][e],t=Object.keys(r)[0],s=Object.values(r)[0];v[e]?.requiredVersion?we(t,v[e].requiredVersion)?i=await (await s.get())():console.log(`provider support ${e}(${t}) is not satisfied requiredVersion(\${moduleMap[name].requiredVersion})`):i=await (await s.get())()}if(i)return H(i,e)}async function ve(e){if(v[e]?.import){let n=await (await v[e].get())();return H(n,e)}else console.error("consumer config import=false,so cant use callback shared module")}function H(e,n){return typeof e.default=="function"?(Object.keys(e).forEach(i=>{i!=="default"&&(e.default[i]=e[i])}),x[n]=e.default,e.default):(e.default&&(e=Object.assign({},e.default,e)),x[n]=e,e)}})();export{xe as i,__tla};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/var e={comments:{lineComment:"*"},brackets:[["[","]"],["(",")"]]},t={defaultToken:"invalid",ignoreCase:!0,tokenPostfix:".abap",keywords:["abap-source","abbreviated","abstract","accept","accepting","according","activation","actual","add","add-corresponding","adjacent","after","alias","aliases","align","all","allocate","alpha","analysis","analyzer","and","append","appendage","appending","application","archive","area","arithmetic","as","ascending","aspect","assert","assign","assigned","assigning","association","asynchronous","at","attributes","authority","authority-check","avg","back","background","backup","backward","badi","base","before","begin","between","big","binary","bintohex","bit","black","blank","blanks","blob","block","blocks","blue","bound","boundaries","bounds","boxed","break-point","buffer","by","bypassing","byte","byte-order","call","calling","case","cast","casting","catch","center","centered","chain","chain-input","chain-request","change","changing","channels","character","char-to-hex","check","checkbox","ci_","circular","class","class-coding","class-data","class-events","class-methods","class-pool","cleanup","clear","client","clob","clock","close","coalesce","code","coding","col_background","col_group","col_heading","col_key","col_negative","col_normal","col_positive","col_total","collect","color","column","columns","comment","comments","commit","common","communication","comparing","component","components","compression","compute","concat","concat_with_space","concatenate","cond","condense","condition","connect","connection","constants","context","contexts","continue","control","controls","conv","conversion","convert","copies","copy","corresponding","country","cover","cpi","create","creating","critical","currency","currency_conversion","current","cursor","cursor-selection","customer","customer-function","dangerous","data","database","datainfo","dataset","date","dats_add_days","dats_add_months","dats_days_between","dats_is_valid","daylight","dd/mm/yy","dd/mm/yyyy","ddmmyy","deallocate","decimal_shift","decimals","declarations","deep","default","deferred","define","defining","definition","delete","deleting","demand","department","descending","describe","destination","detail","dialog","directory","disconnect","display","display-mode","distinct","divide","divide-corresponding","division","do","dummy","duplicate","duplicates","duration","during","dynamic","dynpro","edit","editor-call","else","elseif","empty","enabled","enabling","encoding","end","endat","endcase","endcatch","endchain","endclass","enddo","endenhancement","end-enhancement-section","endexec","endform","endfunction","endian","endif","ending","endinterface","end-lines","endloop","endmethod","endmodule","end-of-definition","end-of-editing","end-of-file","end-of-page","end-of-selection","endon","endprovide","endselect","end-test-injection","end-test-seam","endtry","endwhile","endwith","engineering","enhancement","enhancement-point","enhancements","enhancement-section","entries","entry","enum","environment","equiv","errormessage","errors","escaping","event","events","exact","except","exception","exceptions","exception-table","exclude","excluding","exec","execute","exists","exit","exit-command","expand","expanding","expiration","explicit","exponent","export","exporting","extend","extended","extension","extract","fail","fetch","field","field-groups","fields","field-symbol","field-symbols","file","filter","filters","filter-table","final","find","first","first-line","fixed-point","fkeq","fkge","flush","font","for","form","format","forward","found","frame","frames","free","friends","from","function","functionality","function-pool","further","gaps","generate","get","giving","gkeq","gkge","global","grant","green","group","groups","handle","handler","harmless","hashed","having","hdb","header","headers","heading","head-lines","help-id","help-request","hextobin","hide","high","hint","hold","hotspot","icon","id","identification","identifier","ids","if","ignore","ignoring","immediately","implementation","implementations","implemented","implicit","import","importing","in","inactive","incl","include","includes","including","increment","index","index-line","infotypes","inheriting","init","initial","initialization","inner","inout","input","insert","instance","instances","instr","intensified","interface","interface-pool","interfaces","internal","intervals","into","inverse","inverted-date","is","iso","job","join","keep","keeping","kernel","key","keys","keywords","kind","language","last","late","layout","leading","leave","left","left-justified","leftplus","leftspace","legacy","length","let","level","levels","like","line","lines","line-count","linefeed","line-selection","line-size","list","listbox","list-processing","little","llang","load","load-of-program","lob","local","locale","locator","logfile","logical","log-point","long","loop","low","lower","lpad","lpi","ltrim","mail","main","major-id","mapping","margin","mark","mask","match","matchcode","max","maximum","medium","members","memory","mesh","message","message-id","messages","messaging","method","methods","min","minimum","minor-id","mm/dd/yy","mm/dd/yyyy","mmddyy","mode","modif","modifier","modify","module","move","move-corresponding","multiply","multiply-corresponding","name","nametab","native","nested","nesting","new","new-line","new-page","new-section","next","no","no-display","no-extension","no-gap","no-gaps","no-grouping","no-heading","no-scrolling","no-sign","no-title","no-topofpage","no-zero","node","nodes","non-unicode","non-unique","not","null","number","object","objects","obligatory","occurrence","occurrences","occurs","of","off","offset","ole","on","only","open","option","optional","options","or","order","other","others","out","outer","output","output-length","overflow","overlay","pack","package","pad","padding","page","pages","parameter","parameters","parameter-table","part","partially","pattern","percentage","perform","performing","person","pf1","pf10","pf11","pf12","pf13","pf14","pf15","pf2","pf3","pf4","pf5","pf6","pf7","pf8","pf9","pf-status","pink","places","pool","pos_high","pos_low","position","pragmas","precompiled","preferred","preserving","primary","print","print-control","priority","private","procedure","process","program","property","protected","provide","public","push","pushbutton","put","queue-only","quickinfo","radiobutton","raise","raising","range","ranges","read","reader","read-only","receive","received","receiver","receiving","red","redefinition","reduce","reduced","ref","reference","refresh","regex","reject","remote","renaming","replace","replacement","replacing","report","request","requested","reserve","reset","resolution","respecting","responsible","result","results","resumable","resume","retry","return","returncode","returning","returns","right","right-justified","rightplus","rightspace","risk","rmc_communication_failure","rmc_invalid_status","rmc_system_failure","role","rollback","rows","rpad","rtrim","run","sap","sap-spool","saving","scale_preserving","scale_preserving_scientific","scan","scientific","scientific_with_leading_zero","scroll","scroll-boundary","scrolling","search","secondary","seconds","section","select","selection","selections","selection-screen","selection-set","selection-sets","selection-table","select-options","send","separate","separated","set","shared","shift","short","shortdump-id","sign_as_postfix","single","size","skip","skipping","smart","some","sort","sortable","sorted","source","specified","split","spool","spots","sql","sqlscript","stable","stamp","standard","starting","start-of-editing","start-of-selection","state","statement","statements","static","statics","statusinfo","step-loop","stop","structure","structures","style","subkey","submatches","submit","subroutine","subscreen","subtract","subtract-corresponding","suffix","sum","summary","summing","supplied","supply","suppress","switch","switchstates","symbol","syncpoints","syntax","syntax-check","syntax-trace","system-call","system-exceptions","system-exit","tab","tabbed","table","tables","tableview","tabstrip","target","task","tasks","test","testing","test-injection","test-seam","text","textpool","then","throw","time","times","timestamp","timezone","tims_is_valid","title","titlebar","title-lines","to","tokenization","tokens","top-lines","top-of-page","trace-file","trace-table","trailing","transaction","transfer","transformation","translate","transporting","trmac","truncate","truncation","try","tstmp_add_seconds","tstmp_current_utctimestamp","tstmp_is_valid","tstmp_seconds_between","type","type-pool","type-pools","types","uline","unassign","under","unicode","union","unique","unit_conversion","unix","unpack","until","unwind","up","update","upper","user","user-command","using","utf-8","valid","value","value-request","values","vary","varying","verification-message","version","via","view","visible","wait","warning","when","whenever","where","while","width","window","windows","with","with-heading","without","with-title","word","work","write","writer","xml","xsd","yellow","yes","yymmdd","zero","zone","abap_system_timezone","abap_user_timezone","access","action","adabas","adjust_numbers","allow_precision_loss","allowed","amdp","applicationuser","as_geo_json","as400","associations","balance","behavior","breakup","bulk","cds","cds_client","check_before_save","child","clients","corr","corr_spearman","cross","cycles","datn_add_days","datn_add_months","datn_days_between","dats_from_datn","dats_tims_to_tstmp","dats_to_datn","db2","db6","ddl","dense_rank","depth","deterministic","discarding","entities","entity","error","failed","finalize","first_value","fltp_to_dec","following","fractional","full","graph","grouping","hierarchy","hierarchy_ancestors","hierarchy_ancestors_aggregate","hierarchy_descendants","hierarchy_descendants_aggregate","hierarchy_siblings","incremental","indicators","lag","last_value","lead","leaves","like_regexpr","link","locale_sap","lock","locks","many","mapped","matched","measures","median","mssqlnt","multiple","nodetype","ntile","nulls","occurrences_regexpr","one","operations","oracle","orphans","over","parent","parents","partition","pcre","period","pfcg_mapping","preceding","privileged","product","projection","rank","redirected","replace_regexpr","reported","response","responses","root","row","row_number","sap_system_date","save","schema","session","sets","shortdump","siblings","spantree","start","stddev","string_agg","subtotal","sybase","tims_from_timn","tims_to_timn","to_blob","to_clob","total","trace-entry","tstmp_to_dats","tstmp_to_dst","tstmp_to_tims","tstmpl_from_utcl","tstmpl_to_utcl","unbounded","utcl_add_seconds","utcl_current","utcl_seconds_between","uuid","var","verbatim"],builtinFunctions:["abs","acos","asin","atan","bit-set","boolc","boolx","ceil","char_off","charlen","cmax","cmin","concat_lines_of","contains","contains_any_not_of","contains_any_of","cos","cosh","count","count_any_not_of","count_any_of","dbmaxlen","distance","escape","exp","find_any_not_of","find_any_of","find_end","floor","frac","from_mixed","ipow","line_exists","line_index","log","log10","matches","nmax","nmin","numofchar","repeat","rescale","reverse","round","segment","shift_left","shift_right","sign","sin","sinh","sqrt","strlen","substring","substring_after","substring_before","substring_from","substring_to","tan","tanh","to_lower","to_mixed","to_upper","trunc","utclong_add","utclong_current","utclong_diff","xsdbool","xstrlen"],typeKeywords:["b","c","d","decfloat16","decfloat34","f","i","int8","n","p","s","string","t","utclong","x","xstring","any","clike","csequence","decfloat","numeric","simple","xsequence","accp","char","clnt","cuky","curr","datn","dats","d16d","d16n","d16r","d34d","d34n","d34r","dec","df16_dec","df16_raw","df34_dec","df34_raw","fltp","geom_ewkb","int1","int2","int4","lang","lchr","lraw","numc","quan","raw","rawstring","sstring","timn","tims","unit","utcl","df16_scl","df34_scl","prec","varc","abap_bool","abap_false","abap_true","abap_undefined","me","screen","space","super","sy","syst","table_line","*sys*"],builtinMethods:["class_constructor","constructor"],derivedTypes:["%CID","%CID_REF","%CONTROL","%DATA","%ELEMENT","%FAIL","%KEY","%MSG","%PARAM","%PID","%PID_ASSOC","%PID_PARENT","%_HINTS"],cdsLanguage:["@AbapAnnotation","@AbapCatalog","@AccessControl","@API","@ClientDependent","@ClientHandling","@CompatibilityContract","@DataAging","@EndUserText","@Environment","@LanguageDependency","@MappingRole","@Metadata","@MetadataExtension","@ObjectModel","@Scope","@Semantics","$EXTENSION","$SELF"],selectors:["->","->*","=>","~","~*"],operators:[" +"," -","/","*","**","div","mod","=","#","@","+=","-=","*=","/=","**=","&&=","?=","&","&&","bit-and","bit-not","bit-or","bit-xor","m","o","z","<"," >","<=",">=","<>","><","=<","=>","bt","byte-ca","byte-cn","byte-co","byte-cs","byte-na","byte-ns","ca","cn","co","cp","cs","eq","ge","gt","le","lt","na","nb","ne","np","ns","*/","*:","--","/*","//"],symbols:/[=><!~?&+\-*\/\^%#@]+/,tokenizer:{root:[[/[a-z_\/$%@]([\w\/$%]|-(?!>))*/,{cases:{"@typeKeywords":"type","@keywords":"keyword","@cdsLanguage":"annotation","@derivedTypes":"type","@builtinFunctions":"type","@builtinMethods":"type","@operators":"key","@default":"identifier"}}],[/<[\w]+>/,"identifier"],[/##[\w|_]+/,"comment"],{include:"@whitespace"},[/[:,.]/,"delimiter"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@selectors":"tag","@operators":"key","@default":""}}],[/'/,{token:"string",bracket:"@open",next:"@stringquote"}],[/`/,{token:"string",bracket:"@open",next:"@stringping"}],[/\|/,{token:"string",bracket:"@open",next:"@stringtemplate"}],[/\d+/,"number"]],stringtemplate:[[/[^\\\|]+/,"string"],[/\\\|/,"string"],[/\|/,{token:"string",bracket:"@close",next:"@pop"}]],stringping:[[/[^\\`]+/,"string"],[/`/,{token:"string",bracket:"@close",next:"@pop"}]],stringquote:[[/[^\\']+/,"string"],[/'/,{token:"string",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/^\*.*$/,"comment"],[/\".*$/,"comment"]]}};export{e as conf,t as language};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/var n={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},s=["abstract","activate","and","any","array","as","asc","assert","autonomous","begin","bigdecimal","blob","boolean","break","bulk","by","case","cast","catch","char","class","collect","commit","const","continue","convertcurrency","decimal","default","delete","desc","do","double","else","end","enum","exception","exit","export","extends","false","final","finally","float","for","from","future","get","global","goto","group","having","hint","if","implements","import","in","inner","insert","instanceof","int","interface","into","join","last_90_days","last_month","last_n_days","last_week","like","limit","list","long","loop","map","merge","native","new","next_90_days","next_month","next_n_days","next_week","not","null","nulls","number","object","of","on","or","outer","override","package","parallel","pragma","private","protected","public","retrieve","return","returning","rollback","savepoint","search","select","set","short","sort","stat","static","strictfp","super","switch","synchronized","system","testmethod","then","this","this_month","this_week","throw","throws","today","tolabel","tomorrow","transaction","transient","trigger","true","try","type","undelete","update","upsert","using","virtual","void","volatile","webservice","when","where","while","yesterday"],o=e=>e.charAt(0).toUpperCase()+e.substr(1),t=[];s.forEach(e=>{t.push(e),t.push(e.toUpperCase()),t.push(o(e))});var i={defaultToken:"",tokenPostfix:".apex",keywords:t,operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[a-z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@apexdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],apexdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}};export{n as conf,i as language};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/var e={comments:{lineComment:"#"}},t={defaultToken:"keyword",ignoreCase:!0,tokenPostfix:".azcli",str:/[^#\s]/,tokenizer:{root:[{include:"@comment"},[/\s-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}],[/^-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}]],type:[{include:"@comment"},[/-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":"key.identifier"}}],[/@str+\s*/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}]],comment:[[/#.*$/,{cases:{"@eos":{token:"comment",next:"@popall"}}}]]}};export{e as conf,t as language};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/var e={comments:{lineComment:"REM"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|REM\\s+)#region"),end:new RegExp("^\\s*(::\\s*|REM\\s+)#endregion")}}},s={defaultToken:"",ignoreCase:!0,tokenPostfix:".bat",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:/call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,symbols:/[=><!~?&|+\-*\/\^;\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)(rem(?:\s.*|))$/,["","comment"]],[/(\@?)(@keywords)(?!\w)/,[{token:"keyword"},{token:"keyword.$2"}]],[/[ \t\r\n]+/,""],[/setlocal(?!\w)/,"keyword.tag-setlocal"],[/endlocal(?!\w)/,"keyword.tag-setlocal"],[/[a-zA-Z_]\w*/,""],[/:\w*/,"metatag"],[/%[^%]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],string:[[/[^\\"'%]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/%[\w ]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/$/,"string","@popall"]]}};export{e as conf,s as language};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/var n=e=>`\\b${e}\\b`,t="[_a-zA-Z]",o="[_a-zA-Z0-9]",r=n(`${t}${o}*`),i=["targetScope","resource","module","param","var","output","for","in","if","existing"],a=["true","false","null"],s="[ \\t\\r\\n]",c="[0-9]+",g={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'"},{open:"'''",close:"'''"}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:"'''",close:"'''",notIn:["string","comment"]}],autoCloseBefore:`:.,=}])'
|
|
7
|
-
`,indentationRules:{increaseIndentPattern:new RegExp("^((?!\\/\\/).)*(\\{[^}\"'`]*|\\([^)\"'`]*|\\[[^\\]\"'`]*)$"),decreaseIndentPattern:new RegExp("^((?!.*?\\/\\*).*\\*/)?\\s*[\\}\\]].*$")}},l={defaultToken:"",tokenPostfix:".bicep",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],symbols:/[=><!~?:&|+\-*/^%]+/,keywords:i,namedLiterals:a,escapes:"\\\\(u{[0-9A-Fa-f]+}|n|r|t|\\\\|'|\\${)",tokenizer:{root:[{include:"@expression"},{include:"@whitespace"}],stringVerbatim:[{regex:"(|'|'')[^']",action:{token:"string"}},{regex:"'''",action:{token:"string.quote",next:"@pop"}}],stringLiteral:[{regex:"\\${",action:{token:"delimiter.bracket",next:"@bracketCounting"}},{regex:"[^\\\\'$]+",action:{token:"string"}},{regex:"@escapes",action:{token:"string.escape"}},{regex:"\\\\.",action:{token:"string.escape.invalid"}},{regex:"'",action:{token:"string",next:"@pop"}}],bracketCounting:[{regex:"{",action:{token:"delimiter.bracket",next:"@bracketCounting"}},{regex:"}",action:{token:"delimiter.bracket",next:"@pop"}},{include:"expression"}],comment:[{regex:"[^\\*]+",action:{token:"comment"}},{regex:"\\*\\/",action:{token:"comment",next:"@pop"}},{regex:"[\\/*]",action:{token:"comment"}}],whitespace:[{regex:s},{regex:"\\/\\*",action:{token:"comment",next:"@comment"}},{regex:"\\/\\/.*$",action:{token:"comment"}}],expression:[{regex:"'''",action:{token:"string.quote",next:"@stringVerbatim"}},{regex:"'",action:{token:"string.quote",next:"@stringLiteral"}},{regex:c,action:{token:"number"}},{regex:r,action:{cases:{"@keywords":{token:"keyword"},"@namedLiterals":{token:"keyword"},"@default":{token:"identifier"}}}}]}};export{g as conf,l as language};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/var e={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'},{open:"(*",close:"*)"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'},{open:"(*",close:"*)"}]},o={defaultToken:"",tokenPostfix:".cameligo",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["abs","assert","block","Bytes","case","Crypto","Current","else","failwith","false","for","fun","if","in","let","let%entry","let%init","List","list","Map","map","match","match%nat","mod","not","operation","Operation","of","record","Set","set","sender","skip","source","String","then","to","true","type","with"],typeKeywords:["int","unit","string","tz","nat","bool"],operators:["=",">","<","<=",">=","<>",":",":=","and","mod","or","+","-","*","/","@","&","^","%","->","<-","&&","||"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\(\*]+/,"comment"],[/\*\)/,"comment","@pop"],[/\(\*/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}};export{e as conf,o as language};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/var e={comments:{lineComment:";;"},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}],surroundingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}]},t={defaultToken:"",ignoreCase:!0,tokenPostfix:".clj",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"}],constants:["true","false","nil"],numbers:/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,characters:/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,escapes:/^\\(?:["'\\bfnrt]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,qualifiedSymbols:/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/,specialForms:[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],coreSymbols:["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],tokenizer:{root:[{include:"@whitespace"},[/@numbers/,"number"],[/@characters/,"string"],{include:"@string"},[/[()\[\]{}]/,"@brackets"],[/\/#"(?:\.|(?:")|[^"\n])*"\/g/,"regexp"],[/[#'@^`~]/,"meta"],[/@qualifiedSymbols/,{cases:{"^:.+$":"constant","@specialForms":"keyword","@coreSymbols":"keyword","@constants":"constant","@default":"identifier"}}]],whitespace:[[/[\s,]+/,"white"],[/;.*$/,"comment"],[/\(comment\b/,"comment","@comment"]],comment:[[/\(/,"comment","@push"],[/\)/,"comment","@pop"],[/[^()]/,"comment"]],string:[[/"/,"string","@multiLineString"]],multiLineString:[[/"/,"string","@popall"],[/@escapes/,"string.escape"],[/./,"string"]]}};export{e as conf,t as language};
|
|
Binary file
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/var e={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},r={defaultToken:"",ignoreCase:!0,tokenPostfix:".coffee",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:["and","or","is","isnt","not","on","yes","@","no","off","true","false","null","this","new","delete","typeof","in","instanceof","return","throw","break","continue","debugger","if","else","switch","for","while","do","try","catch","finally","class","extends","super","undefined","then","unless","until","loop","of","by","when"],symbols:/[=><!~?&%|+\-*\/\^\.,\:]+/,escapes:/\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\@[a-zA-Z_]\w*/,"variable.predefined"],[/[a-zA-Z_]\w*/,{cases:{this:"variable.predefined","@keywords":{token:"keyword.$0"},"@default":""}}],[/[ \t\r\n]+/,""],[/###/,"comment","@comment"],[/#.*$/,"comment"],["///",{token:"regexp",next:"@hereregexp"}],[/^(\s*)(@regEx)/,["","regexp"]],[/(\()(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\,)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\=)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\:)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\[)(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\!)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\&)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\|)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\?)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\{)(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\;)(\s*)(@regEx)/,["","","regexp"]],[/}/,{cases:{"$S2==interpolatedstring":{token:"string",next:"@pop"},"@default":"@brackets"}}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/0[0-7]+(?!\d)/,"number.octal"],[/\d+/,"number"],[/[,.]/,"delimiter"],[/"""/,"string",'@herestring."""'],[/'''/,"string","@herestring.'''"],[/"/,{cases:{"@eos":"string","@default":{token:"string",next:'@string."'}}}],[/'/,{cases:{"@eos":"string","@default":{token:"string",next:"@string.'"}}}]],string:[[/[^"'\#\\]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/\./,"string.escape.invalid"],[/#{/,{cases:{'$S2=="':{token:"string",next:"root.interpolatedstring"},"@default":"string"}}],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/#/,"string"]],herestring:[[/("""|''')/,{cases:{"$1==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/[^#\\'"]+/,"string"],[/['"]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/#{/,{token:"string.quote",next:"root.interpolatedstring"}],[/#/,"string"]],comment:[[/[^#]+/,"comment"],[/###/,"comment","@pop"],[/#/,"comment"]],hereregexp:[[/[^\\\/#]+/,"regexp"],[/\\./,"regexp"],[/#.*$/,"comment"],["///[igm]*",{token:"regexp",next:"@pop"}],[/\//,"regexp"]]}};export{e as conf,r as language};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/var e={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},n={defaultToken:"",tokenPostfix:".cpp",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","for","friend","gcnew","generic","goto","if","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m512","__m512d","__m512i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[0abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/([uU](ll|LL|l|L)|(ll|LL|l|L)?[uU]?)/,floatsuffix:/[fFlL]?/,encoding:/u|u8|U|L/,tokenizer:{root:[[/@encoding?R\"(?:([^ ()\\\t]*))\(/,{token:"string.raw.begin",next:"@raw.$1"}],[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/^\s*#\s*include/,{token:"keyword.directive.include",next:"@include"}],[/^\s*#\s*\w+/,"keyword.directive"],{include:"@whitespace"},[/\[\s*\[/,{token:"annotation",next:"@annotation"}],[/[{}()<>\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*\\$/,"comment","@linecomment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],linecomment:[[/.*[^\\]$/,"comment","@pop"],[/[^]+/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],raw:[[/[^)]+/,"string.raw"],[/\)$S2\"/,{token:"string.raw.end",next:"@pop"}],[/\)/,"string.raw"]],annotation:[{include:"@whitespace"},[/using|alignas/,"keyword"],[/[a-zA-Z0-9_]+/,"annotation"],[/[,:]/,"delimiter"],[/[()]/,"@brackets"],[/\]\s*\]/,{token:"annotation",next:"@pop"}]],include:[[/(\s*)(<)([^<>]*)(>)/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]],[/(\s*)(")([^"]*)(")/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]]]}};export{e as conf,n as language};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/var e={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\$\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},t={defaultToken:"",tokenPostfix:".cs",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["extern","alias","using","bool","decimal","sbyte","byte","short","ushort","int","uint","long","ulong","char","float","double","object","dynamic","string","assembly","is","as","ref","out","this","base","new","typeof","void","checked","unchecked","default","delegate","var","const","if","else","switch","case","while","do","for","foreach","in","break","continue","goto","return","throw","try","catch","finally","lock","yield","from","let","where","join","on","equals","into","orderby","ascending","descending","select","group","by","namespace","partial","class","field","event","method","param","public","protected","internal","private","abstract","sealed","static","struct","readonly","volatile","virtual","override","params","get","set","add","remove","operator","true","false","implicit","explicit","interface","enum","null","async","await","fixed","sizeof","stackalloc","unsafe","nameof","when"],namespaceFollows:["namespace","using"],parenFollows:["if","for","while","switch","foreach","using","catch","when"],operators:["=","??","||","&&","|","^","&","==","!=","<=",">=","<<","+","-","*","/","%","!","~","++","--","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=",">>","=>"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\@?[a-zA-Z_]\w*/,{cases:{"@namespaceFollows":{token:"keyword.$0",next:"@namespace"},"@keywords":{token:"keyword.$0",next:"@qualified"},"@default":{token:"identifier",next:"@qualified"}}}],{include:"@whitespace"},[/}/,{cases:{"$S2==interpolatedstring":{token:"string.quote",next:"@pop"},"$S2==litinterpstring":{token:"string.quote",next:"@pop"},"@default":"@brackets"}}],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01_]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",next:"@string"}],[/\$\@"/,{token:"string.quote",next:"@litinterpstring"}],[/\@"/,{token:"string.quote",next:"@litstring"}],[/\$"/,{token:"string.quote",next:"@interpolatedstring"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],qualified:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/\./,"delimiter"],["","","@pop"]],namespace:[{include:"@whitespace"},[/[A-Z]\w*/,"namespace"],[/[\.=]/,"delimiter"],["","","@pop"]],comment:[[/[^\/*]+/,"comment"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]],litinterpstring:[[/[^"{]+/,"string"],[/""/,"string.escape"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.litinterpstring"}],[/"/,{token:"string.quote",next:"@pop"}]],interpolatedstring:[[/[^\\"{]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.interpolatedstring"}],[/"/,{token:"string.quote",next:"@pop"}]],whitespace:[[/^[ \t\v\f]*#((r)|(load))(?=\s)/,"directive.csx"],[/^[ \t\v\f]*#\w.*$/,"namespace.cpp"],[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}};export{e as conf,t as language};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/var t={brackets:[],autoClosingPairs:[],surroundingPairs:[]},r={keywords:[],typeKeywords:[],tokenPostfix:".csp",operators:[],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/child-src/,"string.quote"],[/connect-src/,"string.quote"],[/default-src/,"string.quote"],[/font-src/,"string.quote"],[/frame-src/,"string.quote"],[/img-src/,"string.quote"],[/manifest-src/,"string.quote"],[/media-src/,"string.quote"],[/object-src/,"string.quote"],[/script-src/,"string.quote"],[/style-src/,"string.quote"],[/worker-src/,"string.quote"],[/base-uri/,"string.quote"],[/plugin-types/,"string.quote"],[/sandbox/,"string.quote"],[/disown-opener/,"string.quote"],[/form-action/,"string.quote"],[/frame-ancestors/,"string.quote"],[/report-uri/,"string.quote"],[/report-to/,"string.quote"],[/upgrade-insecure-requests/,"string.quote"],[/block-all-mixed-content/,"string.quote"],[/require-sri-for/,"string.quote"],[/reflected-xss/,"string.quote"],[/referrer/,"string.quote"],[/policy-uri/,"string.quote"],[/'self'/,"string.quote"],[/'unsafe-inline'/,"string.quote"],[/'unsafe-eval'/,"string.quote"],[/'strict-dynamic'/,"string.quote"],[/'unsafe-hashed-attributes'/,"string.quote"]]}};export{t as conf,r as language};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/var e={wordPattern:/(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,comments:{blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},t={defaultToken:"",tokenPostfix:".css",ws:`[
|
|
7
|
-
\r\f]*`,identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.bracket"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@strings"},["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@selectorname"},["[\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.bracket",next:"@selectorbody"}]],selectorbody:[{include:"@comments"},["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],["}",{token:"delimiter.bracket",next:"@pop"}]],selectorname:[["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@functioninvocation"},{include:"@numbers"},{include:"@name"},{include:"@strings"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","delimiter"],[",","delimiter"]],rulevalue:[{include:"@comments"},{include:"@strings"},{include:"@term"},["!important","keyword"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],urldeclaration:[{include:"@strings"},[`[^)\r
|
|
8
|
-
]+`,"string"],["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[/[^*/]+/,"comment"],[/./,"comment"]],name:[["@identifier","attribute.value"]],numbers:[["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],keyframedeclaration:[["@identifier","attribute.value"],["{",{token:"delimiter.bracket",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.bracket",next:"@selectorbody"}],["}",{token:"delimiter.bracket",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"attribute.value",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"attribute.value",next:"@pop"}]],strings:[['~?"',{token:"string",next:"@stringenddoublequote"}],["~?'",{token:"string",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string",next:"@pop"}],[/[^\\"]+/,"string"],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string",next:"@pop"}],[/[^\\']+/,"string"],[".","string"]]}};export{e as conf,t as language};
|