@arcgis/coding-components 4.33.0-next.40 → 4.33.0-next.41
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/dist/arcgis-coding-components/{YNGD3IS2.js → 5UIPFLTN.js} +1 -1
- package/dist/arcgis-coding-components/{GV2RAP5S.js → 6EPXOEGU.js} +2 -2
- package/dist/arcgis-coding-components/{C5PO3VCR.js.LEGAL.txt → 6EPXOEGU.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{VC2DYYND.js → 6FQH2CID.js} +2 -2
- package/dist/arcgis-coding-components/{KJVQ72RI.js → 6NP3V7WI.js} +2 -2
- package/dist/arcgis-coding-components/{QNIRQOOK.js → 7ZYEPJFQ.js} +2 -2
- package/dist/arcgis-coding-components/{3D5RYIB4.js.LEGAL.txt → 7ZYEPJFQ.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{LCCWB2NV.js → AXLIQDQI.js} +2 -2
- package/dist/arcgis-coding-components/{4MF377PG.js.LEGAL.txt → AXLIQDQI.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{3UNISB37.js → CU3L4B66.js} +2 -2
- package/dist/arcgis-coding-components/{LI2JL6TI.js → DNDU4ILL.js} +2 -2
- package/dist/arcgis-coding-components/{C5PO3VCR.js → DOWPHTMZ.js} +2 -2
- package/dist/arcgis-coding-components/{65MNMKYJ.js.LEGAL.txt → DOWPHTMZ.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{C63MVTSR.js → F54PK6WI.js} +2 -2
- package/dist/arcgis-coding-components/{PMWG56AD.js → FTSSCMKX.js} +2 -2
- package/dist/arcgis-coding-components/{PMWG56AD.js.LEGAL.txt → FTSSCMKX.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{4MF377PG.js → HTZ5UKK7.js} +2 -2
- package/dist/arcgis-coding-components/HTZ5UKK7.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/ICBW76TY.js +4 -0
- package/dist/arcgis-coding-components/{AIBAY57F.js → JKFBDHVI.js} +2 -2
- package/dist/arcgis-coding-components/{CT5ZVFNV.js → KGKZSMLJ.js} +2 -2
- package/dist/arcgis-coding-components/KGKZSMLJ.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{XYV7VQEO.js → KLYUNUFI.js} +2 -2
- package/dist/arcgis-coding-components/KLYUNUFI.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{4O3M7DDB.js → M6PIWKT5.js} +2 -2
- package/dist/arcgis-coding-components/{4O3M7DDB.js.LEGAL.txt → M6PIWKT5.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{RJJI5AHV.js → ML5PDLMO.js} +1 -1
- package/dist/arcgis-coding-components/ML5PDLMO.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{ZCFBORKX.js → MW2QMVKF.js} +2 -2
- package/dist/arcgis-coding-components/{J62KVLJ5.js → N3OIDLAV.js} +2 -2
- package/dist/arcgis-coding-components/N3OIDLAV.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{3D5RYIB4.js → OWFQAT2G.js} +2 -2
- package/dist/arcgis-coding-components/OWFQAT2G.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{UZHAFJP3.js → PCURYDQ6.js} +2 -2
- package/dist/arcgis-coding-components/{POGASQCU.js → RAFJRBAD.js} +2 -2
- package/dist/arcgis-coding-components/{PHCISO3U.js → RCTYY6AF.js} +2 -2
- package/dist/arcgis-coding-components/{HJXGQDYE.js → RXAWKWDC.js} +2 -2
- package/dist/arcgis-coding-components/RXAWKWDC.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{JHGQNVSF.js → RZLJBQX2.js} +2 -2
- package/dist/arcgis-coding-components/{B4RQKCDR.js → T2E623IX.js} +1 -1
- package/dist/arcgis-coding-components/{HAGRPZPZ.js → TXALKBR5.js} +3 -3
- package/dist/arcgis-coding-components/{HAGRPZPZ.js.LEGAL.txt → TXALKBR5.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{CTHTCQL7.js → UQGWL6SW.js} +2 -2
- package/dist/arcgis-coding-components/UQGWL6SW.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{WFXKTQ2E.js → VFSY6KAI.js} +2 -2
- package/dist/arcgis-coding-components/{MIYCG4QG.js → VMZWD2K5.js} +2 -2
- package/dist/arcgis-coding-components/VMZWD2K5.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{65MNMKYJ.js → WO42DSXS.js} +2 -2
- package/dist/arcgis-coding-components/WO42DSXS.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{Q2TFTFVN.js → WOAFRCIU.js} +1 -1
- package/dist/arcgis-coding-components/{F77UW7OK.js → YOUQW2HM.js} +2 -2
- package/dist/arcgis-coding-components/YOUQW2HM.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{KPMU24CX.js → Z22FMPAD.js} +2 -2
- package/dist/arcgis-coding-components/Z22FMPAD.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js.LEGAL.txt +1 -1
- package/dist/arcgis-coding-components/assets/code-editor/sql-expr.worker.js +1 -1
- package/dist/chunks/arcade-defaults.js +1 -1
- package/dist/chunks/arcade-executor.js +1 -1
- package/dist/chunks/arcade-mode.js +1 -1
- package/dist/chunks/arcade-service-accessors.js +1 -1
- package/dist/chunks/fields.js +1 -1
- package/dist/chunks/language-defaults-base.js +1 -1
- package/dist/chunks/markdown.js +1 -1
- package/dist/chunks/monaco-importer.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/sql-expr-defaults.js +1 -1
- package/dist/chunks/sql-expr-mode.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-arcade-editor/customElement.js +1 -1
- package/dist/components/arcgis-arcade-results/customElement.js +1 -1
- package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
- package/dist/components/arcgis-code-editor/customElement.js +1 -1
- package/dist/components/arcgis-editor-variables/customElement.js +1 -1
- package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
- package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
- package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +7 -7
- package/dist/arcgis-coding-components/CT5ZVFNV.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/CTHTCQL7.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/F77UW7OK.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/GV2RAP5S.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/HJXGQDYE.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/J62KVLJ5.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/KPMU24CX.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/LCCWB2NV.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/MIYCG4QG.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/QNIRQOOK.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/R5GMY23P.js +0 -4
- package/dist/arcgis-coding-components/RJJI5AHV.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/XYV7VQEO.js.LEGAL.txt +0 -3
- /package/dist/arcgis-coding-components/{B4RQKCDR.js.LEGAL.txt → 5UIPFLTN.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{VC2DYYND.js.LEGAL.txt → 6FQH2CID.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{KJVQ72RI.js.LEGAL.txt → 6NP3V7WI.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{3UNISB37.js.LEGAL.txt → CU3L4B66.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{LI2JL6TI.js.LEGAL.txt → DNDU4ILL.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{C63MVTSR.js.LEGAL.txt → F54PK6WI.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{POGASQCU.js.LEGAL.txt → ICBW76TY.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{AIBAY57F.js.LEGAL.txt → JKFBDHVI.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{ZCFBORKX.js.LEGAL.txt → MW2QMVKF.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{UZHAFJP3.js.LEGAL.txt → PCURYDQ6.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{Q2TFTFVN.js.LEGAL.txt → RAFJRBAD.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{PHCISO3U.js.LEGAL.txt → RCTYY6AF.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{JHGQNVSF.js.LEGAL.txt → RZLJBQX2.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{R5GMY23P.js.LEGAL.txt → T2E623IX.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{WFXKTQ2E.js.LEGAL.txt → VFSY6KAI.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{YNGD3IS2.js.LEGAL.txt → WOAFRCIU.js.LEGAL.txt} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(()=>{var CU=Object.defineProperty;var pC=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var N=(t,e)=>()=>(t&&(e=t(t=0)),e);var fC=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Fo=(t,e)=>{for(var r in e)CU(t,r,{get:e[r],enumerable:!0})};function xz(t,e){let r=t;for(;r;){if(r===e)return!0;if(!r.parentNode)return!1;r.parentNode instanceof ShadowRoot?r=r.parentNode.host:r=r.parentNode}return!1}function Ez(t,e,r){let{subscribe:n}=Cz(e);return n(i=>{i.some(s=>xz(t,s.target))&&r()})}function Cz(t){let e=t.join(","),r=X2[e];if(r!==void 0)return r;let n=new Set,i=new MutationObserver(s=>n.forEach(c=>c(s)));globalThis.document&&i.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0});let o={subscribe(s){return n.add(s),()=>{n.delete(s),n.size===0&&(i.disconnect(),X2[e]=void 0)}}};return X2[e]=o,o}function Tz(t,e){let r=t;for(;r;){let n=r.closest?.(e);if(n)return n;let i=r.getRootNode?.();if(i===globalThis.document)return null;r=i.host}return null}function Pz(t,e,r){return Tz(t,`[${e}]`)?.getAttribute(e)??r}function _t(t,e,...r){try{return t?.call(e,...r)}catch(n){console.error(n,t)}}async function Um(t,e,...r){try{let n=t?.call(e,...r);return n instanceof Promise?await n:n}catch(n){console.error(n,t)}}async function Lz(t,e,r=""){let n=`${e}/${r}`,i=`${n}${t}.json`;return J2[i]??(J2[i]=n6(t,n)),await J2[i]}async function n6(t,e){let r=`${e}${t}.json`;try{let n=await fetch(r);if(n.ok)return await n.json()}catch(n){return console.error(n),{}}return t===V0?{}:await n6(V0,e)}function Q2(t){let e=Pz(t,"lang",globalThis.navigator?.language||V0);return{lang:e,t9nLocale:i6(e)}}function i6(t){let[e,r]=t.split("-"),n=e.toLowerCase(),i=n;return r&&(i=`${n}-${r.toUpperCase()}`),i=Iz[i]??i,Az.has(i)?i:r?i6(n):V0}function o6(t,e,r,n){let i,o=()=>void kz(t,e(),n).then(s=>{(i?.lang!==s.lang||i.t9nLocale!==s.t9nLocale||i.t9nStrings!==s.t9nStrings)&&r(s),i=s}).catch(console.error);return queueMicrotask(o),Ez(t,["lang"],o)}async function kz(t,e,r=t.tagName.toLowerCase().split("-").slice(1).join("-")){let{lang:n,t9nLocale:i}=Q2(t),o=`${e}/${r}/t9n`,c=r===null?{}:await Lz(i,o,"messages.");return{lang:n,t9nLocale:i,t9nStrings:c}}function s6(t,e){let r=e>Nz?Rz:e/Dz,n=0,i=setInterval(()=>{n+=r,n>=e&&(clearInterval(i),t())},r);return i}function a6(t){return t!==void 0}var Qi,X2,Mz,Az,V0,Iz,J2,z0,Oz,Nz,Rz,Dz,Ki=N(()=>{"use strict";Qi=class{resolve(t){}reject(t){}constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}};X2={};Mz=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","no","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],Az=new Set(Mz),V0="en",Iz={pt:"pt-PT",nb:"no",zh:"zh-CN"};J2={};z0=t=>t.replace(Oz,(e,r)=>`${r===0?"":"-"}${e.toLowerCase()}`),Oz=/[A-Z]+(?![a-z])|[A-Z]/gu;Nz=4e3,Rz=2e3,Dz=4});function pe(t){return typeof La[t]=="function"?La[t]=La[t](globalThis):La[t]}var La,$t=N(()=>{La=globalThis.dojoConfig?.has||globalThis.esriConfig?.has?{...globalThis.dojoConfig?.has,...globalThis.esriConfig?.has}:{},pe.add=(t,e,r,n)=>{(n||La[t]===void 0)&&(La[t]=e),r&&pe(t)},pe.cache=La,pe.add("big-integer-warning-enabled",!0),pe.add("esri-deprecation-warnings",!0),pe.add("esri-tests-disable-screenshots",!1),pe.add("esri-tests-use-full-window",!1),pe.add("esri-tests-post-to-influx",!0),pe.add("esri-cim-animations-enable-status","enabled"),pe.add("esri-cim-animations-spotlight",!1),pe.add("esri-cim-animations-freeze-time",!1),pe.add("enable-feature:multiple-highlights",!0),(()=>{pe.add("host-webworker",globalThis.WorkerGlobalScope!==void 0&&self instanceof globalThis.WorkerGlobalScope);let t=typeof window<"u"&&typeof location<"u"&&typeof document<"u"&&window.location===location&&window.document===document;if(pe.add("host-browser",t),pe.add("host-node",typeof globalThis.process=="object"&&globalThis.process.versions?.node&&globalThis.process.versions.v8),pe.add("dom",t),pe("host-browser")){let e=navigator,r=e.userAgent,n=e.appVersion,i=parseFloat(n);if(pe.add("wp",parseFloat(r.split("Windows Phone")[1])||void 0),pe.add("msapp",parseFloat(r.split("MSAppHost/")[1])||void 0),pe.add("khtml",n.includes("Konqueror")?i:void 0),pe.add("edge",parseFloat(r.split("Edge/")[1])||void 0),pe.add("opr",parseFloat(r.split("OPR/")[1])||void 0),pe.add("webkit",!pe("wp")&&!pe("edge")&&parseFloat(r.split("WebKit/")[1])||void 0),pe.add("chrome",!pe("edge")&&!pe("opr")&&parseFloat(r.split("Chrome/")[1])||void 0),pe.add("android",!pe("wp")&&parseFloat(r.split("Android ")[1])||void 0),pe.add("safari",!n.includes("Safari")||pe("wp")||pe("chrome")||pe("android")||pe("edge")||pe("opr")?void 0:parseFloat(n.split("Version/")[1])),pe.add("mac",n.includes("Macintosh")),!pe("wp")&&/(iPhone|iPod|iPad)/.test(r)){let o=RegExp.$1.replace(/P/,"p"),s=/OS ([\d_]+)/.test(r)?RegExp.$1:"1",c=parseFloat(s.replace(/_/,".").replaceAll("_",""));pe.add(o,c),pe.add("ios",c)}pe("webkit")||(!r.includes("Gecko")||pe("wp")||pe("khtml")||pe("edge")||pe.add("mozilla",i),pe("mozilla")&&pe.add("ff",parseFloat(r.split("Firefox/")[1]||r.split("Minefield/")[1])||void 0))}})(),(()=>{if(globalThis.navigator){let t=navigator.userAgent,e=/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini|IEMobile/i.test(t),r=/iPhone/i.test(t);e&&pe.add("esri-mobile",e),r&&pe.add("esri-iPhone",r),pe.add("esri-geolocation",!!navigator.geolocation)}pe.add("esri-wasm","WebAssembly"in globalThis),pe.add("esri-performance-mode-frames-between-render",20),pe.add("esri-force-performance-mode",!1),pe.add("esri-shared-array-buffer",()=>{let t="SharedArrayBuffer"in globalThis,e=globalThis.crossOriginIsolated===!1;return t&&!e}),pe.add("wasm-simd",()=>{let t=[0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11];return WebAssembly.validate(new Uint8Array(t))}),pe.add("esri-atomics","Atomics"in globalThis),pe.add("esri-workers","Worker"in globalThis),pe.add("web-feat:cache","caches"in globalThis),pe.add("esri-workers-arraybuffer-transfer",!pe("safari")||Number(pe("safari"))>=12),pe.add("workers-pool-size",8),pe.add("featurelayer-simplify-thresholds",[.5,.5,.5,.5]),pe.add("featurelayer-simplify-payload-size-factors",[1,1,4]),pe.add("featurelayer-fast-triangulation-enabled",!0),pe.add("featurelayer-animation-enabled",!0),pe.add("featurelayer-snapshot-enabled",!0),pe.add("featurelayer-snapshot-point-min-threshold",8e4),pe.add("featurelayer-snapshot-point-max-threshold",4e5),pe.add("featurelayer-snapshot-point-coverage",.1),pe.add("featurelayer-query-max-depth",4),pe.add("featurelayer-query-pausing-enabled",!1),pe.add("featurelayer-advanced-symbols",!1),pe.add("featurelayer-pbf",!0),pe.add("featurelayer-pbf-statistics",!1),pe.add("feature-layers-workers",!0),pe.add("feature-polyline-generalization-factor",1),pe.add("mapview-transitions-duration",200),pe.add("mapview-essential-goto-duration",200),pe.add("mapview-srswitch-adjust-rotation-scale-threshold",24e6),pe.add("mapserver-pbf-version-support",10.81),pe.add("mapservice-popup-identify-max-tolerance",20),pe.add("request-queue-concurrency-hosted",16),pe.add("request-queue-concurrency-non-hosted",4),pe.add("curve-densification-coarse-segments",128),pe.add("curve-densification-max-segments",2e3),pe.add("curve-densification-min-segments",3),pe.add("curve-densification-pixels-per-segment",16),pe.add("view-readyState-waiting-delay",1e3),pe.add("gradient-depth-bias",.01),pe.add("gradient-depth-epsilon",1e-8),pe("host-webworker")||pe("host-browser")&&(pe.add("esri-csp-restrictions",()=>{try{new Function}catch{return!0}return!1}),pe.add("esri-image-decode",()=>{if("decode"in new Image){let t=new Image;return t.src='data:image/svg+xml;charset=UTF-8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg"></svg>',void t.decode().then(()=>{pe.add("esri-image-decode",!0,!0,!0)}).catch(()=>{pe.add("esri-image-decode",!1,!0,!0)})}return!1}),pe.add("esri-url-encodes-apostrophe",()=>{let t=window.document.createElement("a");return t.href="?'",t.href.includes("?%27")}))})()});var K2=N(()=>{$t()});var eo,B0,ka=N(()=>{eo=class eo{constructor(e=1){this._seed=e}set seed(e){this._seed=e??Math.random()*eo._m}getInt(){return this._seed=(eo._a*this._seed+eo._c)%eo._m,this._seed}getFloat(){return this.getInt()/(eo._m-1)}getIntRange(e,r){return Math.round(this.getFloatRange(e,r))}getFloatRange(e,r){let n=r-e;return e+this.getInt()/eo._m*n}};eo._m=2147483647,eo._a=48271,eo._c=0;B0=eo});function G0(t,e,r){if(t==null&&e==null)return!0;if(t==null||e==null||t.length!==e.length)return!1;if(r){for(let n=0;n<t.length;n++)if(!r(t[n],e[n]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}function eS(t,e,r,n){n=n||c6;let i=Math.max(0,n.last-10);for(let s=i;s<r;++s)if(t[s]===e)return n.last=s,s;let o=Math.min(i,r);for(let s=0;s<o;++s)if(t[s]===e)return n.last=s,s;return-1}function l6(t,e,r=t.length,n=e.length,i,o){if(n===0||r===0)return r;to.clear();for(let c=0;c<n;++c)to.add(e[c]);i=i||c6;let s=Math.max(0,i.last-10);for(let c=s;c<r;++c)if(to.has(t[c])&&(o?.push(t[c]),to.delete(t[c]),t[c]=t[r-1],--r,--c,to.size===0||r===0))return to.clear(),r;for(let c=0;c<s;++c)if(to.has(t[c])&&(o?.push(t[c]),to.delete(t[c]),t[c]=t[r-1],--r,--c,to.size===0||r===0))return to.clear(),r;return to.clear(),r}function u6(t,e){let r=t.indexOf(e);return r!==-1?(t.splice(r,1),e):null}function d6(t,e){return t!=null}var Fz,Sse,Vm,c6,to,xse,_p=N(()=>{K2();ka();Fz=1.5,Sse=1/Fz;Vm=class{constructor(){this.last=0}},c6=new Vm;to=new Set;xse=new B0});var tS,rS,p6=N(()=>{(function(t){let e=(o,s,c,a)=>{let d=s,h=s,g=c>>>1,v=o[d-1];for(;h<=g;){h=d<<1,h<c&&a(o[h-1],o[h])<0&&++h;let E=o[h-1];if(a(E,v)<=0)break;o[d-1]=E,d=h}o[d-1]=v},r=(o,s)=>o<s?-1:o>s?1:0;function n(o,s,c,a){s===void 0&&(s=0),c===void 0&&(c=o.length),a===void 0&&(a=r);for(let h=c>>>1;h>s;h--)e(o,h,c,a);let d=s+1;for(let h=c-1;h>s;h--){let g=o[s];o[s]=o[h],o[h]=g,e(o,d,h,a)}}function*i(o,s,c,a){s===void 0&&(s=0),c===void 0&&(c=o.length),a===void 0&&(a=r);for(let h=c>>>1;h>s;h--)e(o,h,c,a),yield;let d=s+1;for(let h=c-1;h>s;h--){let g=o[s];o[s]=o[h],o[h]=g,e(o,d,h,a),yield}}t.sort=n,t.iterableSort=i})(tS||(tS={}));rS=tS});function f6(t){t.data.length>Uz*t.length&&(t.data.length=Math.floor(t.length*Vz))}var Uz,Vz,Oa,nS=N(()=>{_p();K2();p6();Uz=1.5,Vz=1.1,Oa=class{constructor(e){this.data=[],this._length=0,this._allocator=void 0,this._deallocator=()=>null,this._shrink=()=>{},this._hint=new Vm,e&&(e.initialSize&&(this.data=new Array(e.initialSize)),e.allocator&&(this._allocator=e.allocator),e.deallocator!==void 0&&(this._deallocator=e.deallocator),e.shrink&&(this._shrink=()=>f6(this)))}toArray(){return this.data.slice(0,this.length)}filter(e){let r=new Array;for(let n=0;n<this._length;n++){let i=this.data[n];e(i)&&r.push(i)}return r}at(e){if((e=Math.trunc(e)||0)<0&&(e+=this._length),!(e<0||e>=this._length))return this.data[e]}includes(e,r){let n=this.data.indexOf(e,r);return n!==-1&&n<this.length}get length(){return this._length}set length(e){if(e>this._length){if(this._allocator){for(;this._length<e;)this.data[this._length++]=this._allocator(this.data[this._length]);return}this._length=e}else{if(this._deallocator)for(let r=e;r<this._length;++r)this.data[r]=this._deallocator(this.data[r]);this._length=e,this._shrink()}}clear(){this.length=0}prune(){this.clear(),this.data=[]}push(e){this.data[this._length++]=e}pushArray(e,r=e.length){for(let n=0;n<r;n++)this.data[this._length++]=e[n]}fill(e,r){for(let n=0;n<r;n++)this.data[this._length++]=e}pushNew(){this._allocator&&(this.data[this.length]=this._allocator(this.data[this.length]));let e=this.data[this._length];return++this._length,e}unshift(e){this.data.unshift(e),this._length++,f6(this)}pop(){if(this.length===0)return;let e=this.data[this.length-1];return this.length=this.length-1,this._shrink(),e}remove(e){let r=eS(this.data,e,this.length,this._hint);if(r!==-1)return this.data.splice(r,1),this.length=this.length-1,e}removeUnordered(e){return this.removeUnorderedIndex(eS(this.data,e,this.length,this._hint))}removeUnorderedIndex(e){if(!(e>=this.length||e<0))return this.swapElements(e,this.length-1),this.pop()}removeUnorderedMany(e,r=e.length,n){this.length=l6(this.data,e,this.length,r,this._hint,n),this._shrink()}front(){if(this.length!==0)return this.data[0]}back(){if(this.length!==0)return this.data[this.length-1]}swapElements(e,r){if(e>=this.length||r>=this.length||e===r)return;let n=this.data[e];this.data[e]=this.data[r],this.data[r]=n}sort(e){rS.sort(this.data,0,this.length,e)}iterableSort(e){return rS.iterableSort(this.data,0,this.length,e)}some(e,r){for(let n=0;n<this.length;++n)if(e.call(r,this.data[n],n,this.data))return!0;return!1}find(e,r){let{data:n,length:i}=this;for(let o=0;o<i;++o)if(e.call(r,n[o]))return n[o]}filterInPlace(e,r){let n=0;for(let i=0;i<this._length;++i){let o=this.data[i];e.call(r,o,i,this.data)&&(this.data[i]=this.data[n],this.data[n]=o,n++)}if(this._deallocator)for(let i=n;i<this._length;i++)this.data[i]=this._deallocator(this.data[i]);return this._length=n,this._shrink(),this}forAll(e,r){let{data:n,length:i}=this;for(let o=0;o<i;++o)e.call(r,n[o],o,n)}forEach(e,r){this.data.slice(0,this.length).forEach(e,r)}map(e,r){let n=new Array(this.length);for(let i=0;i<this.length;++i)n[i]=e.call(r,this.data[i],i,this.data);return n}reduce(e,r){let n=r;for(let i=0;i<this.length;++i)n=e(n,this.data[i],i,this.data);return n}has(e){let r=this.length,n=this.data;for(let i=0;i<r;++i)if(n[i]===e)return!0;return!1}*[Symbol.iterator](){for(let e=0;e<this.length;e++)yield this.data[e]}}});var iS,zz,Ps,j0,oS,m6=N(()=>{nS();iS=-3,zz=iS-1;(function(t){t[t.ALL=0]="ALL",t[t.SOME=1]="SOME"})(Ps||(Ps={}));j0=class{get size(){return this._size}constructor(e=10485760){this._maxSize=e,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._removeFuncs=new Oa,this._users=new Oa}destroy(){this.clearAll(),this._removeFuncs.clear(),this._users.clear()}register(e){this._users.push(e)}deregister(e){this._users.removeUnordered(e)}registerRemoveFunc(e,r){this._removeFuncs.push([e,r])}deregisterRemoveFunc(e){this._removeFuncs.filterInPlace(r=>r[0]!==e)}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}getSize(e,r){return this._db.get(e.id+r)?.size??0}put(e,r,n,i,o){r=e.id+r;let s=this._db.get(r);if(s&&(this._size-=s.size,e.size-=s.size,this._db.delete(r),s.entry!==n&&this._notifyRemove(r,s.entry,s.size,Ps.ALL)),i>this._maxSize)return void this._notifyRemove(r,n,i,Ps.ALL);if(n===void 0)return void console.warn("Refusing to cache undefined entry ");if(!i||i<0)return console.warn(`Refusing to cache entry with size ${i} for key ${r}`),void this._notifyRemove(r,n,0,Ps.ALL);let c=1+Math.max(o,zz)-iS;this._db.set(r,new oS(n,i,c)),this._size+=i,e.size+=i,this._checkSize()}updateSize(e,r,n,i){r=e.id+r;let o=this._db.get(r);if(o&&o.entry===n){for(this._size-=o.size,e.size-=o.size;i>this._maxSize;){let s=this._notifyRemove(r,n,i,Ps.SOME);if(!(s!=null&&s>0))return void this._db.delete(r);i=s}o.size=i,this._size+=i,e.size+=i,this._checkSize()}}pop(e,r){r=e.id+r;let n=this._db.get(r);if(n)return this._size-=n.size,e.size-=n.size,this._db.delete(r),++this._hit,n.entry;++this._miss}get(e,r){r=e.id+r;let n=this._db.get(r);if(n!==void 0)return this._db.delete(r),n.lives=n.lifetime,this._db.set(r,n),++this._hit,n.entry;++this._miss}peek(e,r){let n=this._db.get(e.id+r);return n?++this._hit:++this._miss,n?.entry}get performanceInfo(){let e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},r={},n=new Array;this._db.forEach((s,c)=>{let a=s.lifetime;n[a]=(n[a]||0)+s.size,this._users.forAll(d=>{let{id:h,name:g}=d;if(c.startsWith(h)){let v=r[g]||0;r[g]=v+s.size}})});let i={};this._users.forAll(s=>{let c=s.name;if("hitRate"in s&&typeof s.hitRate=="number"&&!isNaN(s.hitRate)&&s.hitRate>0){let a=r[c]||0;r[c]=a,i[c]=Math.round(100*s.hitRate)+"%"}else i[c]="0%"});let o=Object.keys(r);o.sort((s,c)=>r[c]-r[s]),o.forEach(s=>e[s]=Math.round(r[s]/2**20)+"MB / "+i[s]);for(let s=n.length-1;s>=0;--s){let c=n[s];c&&(e["Priority "+(s+iS-1)]=Math.round(c/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._users.forAll(e=>e.resetHitRate())}clear(e){let r=e.id;this._db.forEach((n,i)=>{i.startsWith(r)&&(this._size-=n.size,this._db.delete(i),this._notifyRemove(i,n.entry,n.size,Ps.ALL))}),e.size=0}clearAll(){this._db.forEach((e,r)=>this._notifyRemove(r,e.entry,e.size,Ps.ALL)),this._users.forAll(e=>e.size=0),this._size=0,this._db.clear()}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,r,n,i){let o;return this._removeFuncs.some(s=>{if(e.startsWith(s[0])){let c=s[1](r,i,n);return typeof c=="number"&&(o=c),!0}return!1}),o}_checkSize(){this._users.forAll(e=>this._checkSizeLimits(e)),this._checkSizeLimits()}_checkSizeLimits(e){let r=e??this;if(r.maxSize<0||r.size<=r.maxSize)return;let n=e?.id,i=!0;for(;i;){i=!1;for(let[o,s]of this._db)if(s.lifetime===0&&(!n||o.startsWith(n))){if(this._purgeItem(o,s,e),r.size<=.9*r.maxSize)return;i||(i=this._db.has(o))}}for(let[o,s]of this._db)if((!n||o.startsWith(n))&&(this._purgeItem(o,s,e),r.size<=.9*r.maxSize))return}_purgeItem(e,r,n=this._users.find(i=>e.startsWith(i.id))){if(this._db.delete(e),r.lives<=1){this._size-=r.size,n&&(n.size-=r.size);let i=this._notifyRemove(e,r.entry,r.size,Ps.SOME);i!=null&&i>0&&(this._size+=i,n&&(n.size+=i),r.lives=r.lifetime,r.size=i,this._db.set(e,r))}else--r.lives,this._db.set(e,r)}},oS=class{constructor(e,r,n){this.entry=e,this.size=r,this.lifetime=n,this.lives=n}}});var zm,h6=N(()=>{m6();zm=class{constructor(e,r){this._storage=new j0,this.id="",this.name="",this.size=0,this._storage.maxSize=e,this._storage.register(this),r&&this._storage.registerRemoveFunc("",r)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,r,n=1){this._storage.put(this,e,r,n,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}});function g6(t){return t?.constructor?.name==="Int8Array"}function w6(t){return t?.constructor?.name==="Uint8Array"}function y6(t){return t?.constructor?.name==="Uint8ClampedArray"}function b6(t){return t?.constructor?.name==="Int16Array"}function v6(t){return t?.constructor?.name==="Uint16Array"}function _6(t){return t?.constructor?.name==="Int32Array"}function S6(t){return t?.constructor?.name==="Uint32Array"}function x6(t){return t?.constructor?.name==="Float32Array"}function E6(t){return t?.constructor?.name==="Float64Array"}var C6=N(()=>{$t()});function q0(t,e){let r;if(e)for(r in t)t.hasOwnProperty(r)&&(t[r]===void 0?delete t[r]:t[r]instanceof Object&&q0(t[r],!0));else for(r in t)t.hasOwnProperty(r)&&t[r]===void 0&&delete t[r];return t}function Zt(t){if(!t||typeof t!="object"||typeof t=="function")return t;let e=jz(t);if(e!=null)return e;if(Wz(t))return t.clone();if(Bz(t))return t.map(Zt);if(Gz(t))throw new Error("Trying to clone an unclonable Accessor instance");let r={};for(let n of Object.getOwnPropertyNames(t))r[n]=Zt(t[n]);return r}function Wz(t){return typeof t.clone=="function"}function Bz(t){return typeof t.map=="function"&&typeof t.forEach=="function"}function Gz(t){return typeof t.notifyChange=="function"&&typeof t.watch=="function"}function T6(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}function jz(t){if(g6(t)||w6(t)||y6(t)||b6(t)||v6(t)||_6(t)||S6(t)||x6(t)||E6(t))return t.slice();if(t instanceof Date)return new Date(t.getTime());if(t instanceof ArrayBuffer)return t.slice(0,t.byteLength);if(t instanceof Map){let e=new Map;for(let[r,n]of t)e.set(r,Zt(n));return e}if(t instanceof Set){let e=new Set;for(let r of t)e.add(Zt(r));return e}return null}function Wm(t,e){return t===e||typeof t=="number"&&isNaN(t)&&typeof e=="number"&&isNaN(e)||typeof t?.getTime=="function"&&typeof e?.getTime=="function"&&t.getTime()===e.getTime()||!1}function H0(t,e){return t===e||(t==null||typeof t=="string"?t===e:typeof t=="number"?t===e||typeof e=="number"&&isNaN(t)&&isNaN(e):t instanceof Date?e instanceof Date&&t.getTime()===e.getTime():Array.isArray(t)?Array.isArray(e)&&G0(t,e):t instanceof Set?e instanceof Set&&Hz(t,e):t instanceof Map?e instanceof Map&&Yz(t,e):!!T6(t)&&T6(e)&&qz(t,e))}function qz(t,e){if(t===null||e===null)return!1;let r=Object.keys(t);if(e===null||Object.keys(e).length!==r.length)return!1;for(let n of r)if(t[n]!==e[n]||!Object.prototype.hasOwnProperty.call(e,n))return!1;return!0}function Hz(t,e){if(t.size!==e.size)return!1;for(let r of t)if(!e.has(r))return!1;return!0}function Yz(t,e){if(t.size!==e.size)return!1;for(let[r,n]of t){let i=e.get(r);if(i!==n||i===void 0&&!e.has(r))return!1}return!0}var kn=N(()=>{_p();C6()});function P6(t,e,r=!1){return A6(t,e,r)}function Mi(t,e){if(e!=null)return e[t]||M6(t.split("."),!1,e)}function Ms(t,e,r){let n=t.split("."),i=n.pop(),o=M6(n,!0,r);o&&i&&(o[i]=e)}function M6(t,e,r){let n=r;for(let i of t){if(n==null)return;if(!(i in n)){if(!e)return;n[i]={}}n=n[i]}return n}function A6(t,e,r){return e?Object.keys(e).reduce((n,i)=>{let o=n[i],s=e[i];return o===s?n:o===void 0?(n[i]=Zt(s),n):(Array.isArray(s)||Array.isArray(n)?(o=o?Array.isArray(o)?n[i]=o.slice():n[i]=[o]:n[i]=[],s&&(Array.isArray(s)||(s=[s]),r?s.forEach(c=>{o.includes(c)||o.push(c)}):n[i]=s.slice())):s&&typeof s=="object"?n[i]=A6(o,s,r):n.hasOwnProperty(i)&&!e.hasOwnProperty(i)||(n[i]=s),n)},t||{}):t}var jo=N(()=>{kn()});function I6(t){return t??""}function qo(t,e){return e?t.replaceAll(Zz,typeof e=="object"?(r,n)=>I6(Mi(n,e)):(r,n)=>I6(e(n))):t}function L6(t,e){return t.replaceAll(/([.$?*|{}()[\]\\/+\-^])/g,r=>e?.includes(r)?r:`\\${r}`)}function k6(t){let e=0;for(let r=0;r<t.length;r++)e=(e<<5)-e+t.charCodeAt(r),e|=0;return e}var Zz,Na=N(()=>{jo();Zz=/\{([^}]+)\}/g});var As,Y0,Z0,X0,ro,Sp,lr,no,Ra=N(()=>{As=class extends Error{},Y0=class extends As{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}},Z0=class extends As{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}},X0=class extends As{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}},ro=class extends As{},Sp=class extends As{constructor(e){super(`Invalid unit ${e}`)}},lr=class extends As{},no=class extends As{constructor(){super("Zone is an abstract class")}}});var Ie,io,si,Da,Bm,sS,Gm,jm,qm,Hm,Ym,Zm,Xm,Jm,Qm,Km,eh,th,rh,nh,aS,ih,oh,sh,ah,ch=N(()=>{Ie="numeric",io="short",si="long",Da={year:Ie,month:Ie,day:Ie},Bm={year:Ie,month:io,day:Ie},sS={year:Ie,month:io,day:Ie,weekday:io},Gm={year:Ie,month:si,day:Ie},jm={year:Ie,month:si,day:Ie,weekday:si},qm={hour:Ie,minute:Ie},Hm={hour:Ie,minute:Ie,second:Ie},Ym={hour:Ie,minute:Ie,second:Ie,timeZoneName:io},Zm={hour:Ie,minute:Ie,second:Ie,timeZoneName:si},Xm={hour:Ie,minute:Ie,hourCycle:"h23"},Jm={hour:Ie,minute:Ie,second:Ie,hourCycle:"h23"},Qm={hour:Ie,minute:Ie,second:Ie,hourCycle:"h23",timeZoneName:io},Km={hour:Ie,minute:Ie,second:Ie,hourCycle:"h23",timeZoneName:si},eh={year:Ie,month:Ie,day:Ie,hour:Ie,minute:Ie},th={year:Ie,month:Ie,day:Ie,hour:Ie,minute:Ie,second:Ie},rh={year:Ie,month:io,day:Ie,hour:Ie,minute:Ie},nh={year:Ie,month:io,day:Ie,hour:Ie,minute:Ie,second:Ie},aS={year:Ie,month:io,day:Ie,weekday:io,hour:Ie,minute:Ie},ih={year:Ie,month:si,day:Ie,hour:Ie,minute:Ie,timeZoneName:io},oh={year:Ie,month:si,day:Ie,hour:Ie,minute:Ie,second:Ie,timeZoneName:io},sh={year:Ie,month:si,day:Ie,weekday:si,hour:Ie,minute:Ie,timeZoneName:si},ah={year:Ie,month:si,day:Ie,weekday:si,hour:Ie,minute:Ie,second:Ie,timeZoneName:si}});var xr,Rl=N(()=>{Ra();xr=class{get type(){throw new no}get name(){throw new no}get ianaName(){return this.name}get isUniversal(){throw new no}offsetName(e,r){throw new no}formatOffset(e,r){throw new no}offset(e){throw new no}equals(e){throw new no}get isValid(){throw new no}}});var cS,$a,Q0=N(()=>{On();Rl();cS=null,$a=class t extends xr{static get instance(){return cS===null&&(cS=new t),cS}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return K0(e,r,n)}formatOffset(e,r){return Fa(this.offset(e),r)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}});function Xz(t){return tw[t]||(tw[t]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),tw[t]}function Qz(t,e){let r=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,i,o,s,c,a,d,h]=n;return[s,i,o,c,a,d,h]}function Kz(t,e){let r=t.formatToParts(e),n=[];for(let i=0;i<r.length;i++){let{type:o,value:s}=r[i],c=Jz[o];o==="era"?n[c]=s:Ge(c)||(n[c]=parseInt(s,10))}return n}var tw,Jz,ew,ur,Ua=N(()=>{On();Rl();tw={};Jz={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};ew={},ur=class t extends xr{static create(e){return ew[e]||(ew[e]=new t(e)),ew[e]}static resetCache(){ew={},tw={}}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=t.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return K0(e,r,n,this.name)}formatOffset(e,r){return Fa(this.offset(e),r)}offset(e){let r=new Date(e);if(isNaN(r))return NaN;let n=Xz(this.name),[i,o,s,c,a,d,h]=n.formatToParts?Kz(n,r):Qz(n,r);c==="BC"&&(i=-Math.abs(i)+1);let v=xp({year:i,month:o,day:s,hour:a===24?0:a,minute:d,second:h,millisecond:0}),E=+r,M=E%1e3;return E-=M>=0?M:1e3+M,(v-E)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}});function eW(t,e={}){let r=JSON.stringify([t,e]),n=O6[r];return n||(n=new Intl.ListFormat(t,e),O6[r]=n),n}function uS(t,e={}){let r=JSON.stringify([t,e]),n=lS[r];return n||(n=new Intl.DateTimeFormat(t,e),lS[r]=n),n}function tW(t,e={}){let r=JSON.stringify([t,e]),n=dS[r];return n||(n=new Intl.NumberFormat(t,e),dS[r]=n),n}function rW(t,e={}){let{base:r,...n}=e,i=JSON.stringify([t,n]),o=pS[i];return o||(o=new Intl.RelativeTimeFormat(t,e),pS[i]=o),o}function nW(){return lh||(lh=new Intl.DateTimeFormat().resolvedOptions().locale,lh)}function iW(t){let e=N6[t];if(!e){let r=new Intl.Locale(t);e="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,N6[t]=e}return e}function oW(t){let e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));let r=t.indexOf("-u-");if(r===-1)return[t];{let n,i;try{n=uS(t).resolvedOptions(),i=t}catch{let a=t.substring(0,r);n=uS(a).resolvedOptions(),i=a}let{numberingSystem:o,calendar:s}=n;return[i,o,s]}}function sW(t,e,r){return(r||e)&&(t.includes("-u-")||(t+="-u"),r&&(t+=`-ca-${r}`),e&&(t+=`-nu-${e}`)),t}function aW(t){let e=[];for(let r=1;r<=12;r++){let n=Te.utc(2009,r,1);e.push(t(n))}return e}function cW(t){let e=[];for(let r=1;r<=7;r++){let n=Te.utc(2016,11,13+r);e.push(t(n))}return e}function rw(t,e,r,n){let i=t.listingMode();return i==="error"?null:i==="en"?r(e):n(e)}function lW(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem==="latn"}var O6,lS,dS,pS,lh,N6,fS,mS,hS,uW,pt,dh=N(()=>{On();ow();Va();za();Ua();O6={};lS={};dS={};pS={};lh=null;N6={};fS=class{constructor(e,r,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;let{padTo:i,floor:o,...s}=n;if(!r||Object.keys(s).length>0){let c={useGrouping:!1,...n};n.padTo>0&&(c.minimumIntegerDigits=n.padTo),this.inf=tW(e,c)}}format(e){if(this.inf){let r=this.floor?Math.floor(e):e;return this.inf.format(r)}else{let r=this.floor?Math.floor(e):Ep(e,3);return ir(r,this.padTo)}}},mS=class{constructor(e,r,n){this.opts=n,this.originalZone=void 0;let i;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){let s=-1*(e.offset/60),c=s>=0?`Etc/GMT+${s}`:`Etc/GMT${s}`;e.offset!==0&&ur.create(c).valid?(i=c,this.dt=e):(i="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,i=e.zone.name):(i="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);let o={...this.opts};o.timeZone=o.timeZone||i,this.dtf=uS(r,o)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){let e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(r=>{if(r.type==="timeZoneName"){let n=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...r,value:n}}else return r}):e}resolvedOptions(){return this.dtf.resolvedOptions()}},hS=class{constructor(e,r,n){this.opts={style:"long",...n},!r&&nw()&&(this.rtf=rW(e,n))}format(e,r){return this.rtf?this.rtf.format(e,r):R6(r,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,r){return this.rtf?this.rtf.formatToParts(e,r):[]}},uW={firstDay:1,minimalDays:4,weekend:[6,7]},pt=class t{static fromOpts(e){return t.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,r,n,i,o=!1){let s=e||dt.defaultLocale,c=s||(o?"en-US":nW()),a=r||dt.defaultNumberingSystem,d=n||dt.defaultOutputCalendar,h=uh(i)||dt.defaultWeekSettings;return new t(c,a,d,h,s)}static resetCache(){lh=null,lS={},dS={},pS={}}static fromObject({locale:e,numberingSystem:r,outputCalendar:n,weekSettings:i}={}){return t.create(e,r,n,i)}constructor(e,r,n,i,o){let[s,c,a]=oW(e);this.locale=s,this.numberingSystem=r||c||null,this.outputCalendar=n||a||null,this.weekSettings=i,this.intl=sW(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=lW(this)),this.fastNumbersCached}listingMode(){let e=this.isEnglish(),r=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&r?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:t.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,uh(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,r=!1){return rw(this,e,gS,()=>{let n=r?{month:e,day:"numeric"}:{month:e},i=r?"format":"standalone";return this.monthsCache[i][e]||(this.monthsCache[i][e]=aW(o=>this.extract(o,n,"month"))),this.monthsCache[i][e]})}weekdays(e,r=!1){return rw(this,e,wS,()=>{let n=r?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=r?"format":"standalone";return this.weekdaysCache[i][e]||(this.weekdaysCache[i][e]=cW(o=>this.extract(o,n,"weekday"))),this.weekdaysCache[i][e]})}meridiems(){return rw(this,void 0,()=>yS,()=>{if(!this.meridiemCache){let e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Te.utc(2016,11,13,9),Te.utc(2016,11,13,19)].map(r=>this.extract(r,e,"dayperiod"))}return this.meridiemCache})}eras(e){return rw(this,e,bS,()=>{let r={era:e};return this.eraCache[e]||(this.eraCache[e]=[Te.utc(-40,1,1),Te.utc(2017,1,1)].map(n=>this.extract(n,r,"era"))),this.eraCache[e]})}extract(e,r,n){let i=this.dtFormatter(e,r),o=i.formatToParts(),s=o.find(c=>c.type.toLowerCase()===n);return s?s.value:null}numberFormatter(e={}){return new fS(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,r={}){return new mS(e,this.intl,r)}relFormatter(e={}){return new hS(this.intl,this.isEnglish(),e)}listFormatter(e={}){return eW(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:iw()?iW(this.locale):uW}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}});var _S,St,Cp=N(()=>{On();Rl();_S=null,St=class t extends xr{static get utcInstance(){return _S===null&&(_S=new t(0)),_S}static instance(e){return e===0?t.utcInstance:new t(e)}static parseSpecifier(e){if(e){let r=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new t(Dl(r[1],r[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Fa(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Fa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,r){return Fa(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}});var Tp,SS=N(()=>{Rl();Tp=class extends xr{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}});function oo(t,e){let r;if(Ge(t)||t===null)return e;if(t instanceof xr)return t;if(D6(t)){let n=t.toLowerCase();return n==="default"?e:n==="local"||n==="system"?$a.instance:n==="utc"||n==="gmt"?St.utcInstance:St.parseSpecifier(n)||ur.create(t)}else return so(t)?St.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new Tp(t)}var sw=N(()=>{Rl();Ua();Cp();SS();On();Q0()});function F6(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let r=0;r<t.length;r++){let n=t.charCodeAt(r);if(t[r].search(xS.hanidec)!==-1)e+=dW.indexOf(t[r]);else for(let i in $6){let[o,s]=$6[i];n>=o&&n<=s&&(e+=n-o)}}return parseInt(e,10)}else return e}function U6(){Pp={}}function Ai({numberingSystem:t},e=""){let r=t||"latn";return Pp[r]||(Pp[r]={}),Pp[r][e]||(Pp[r][e]=new RegExp(`${xS[r]}${e}`)),Pp[r][e]}var xS,$6,dW,Pp,ES=N(()=>{xS={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},$6={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},dW=xS.hanidec.replace(/[\[|\]]/g,"").split("");Pp={}});var V6,z6,W6,B6,G6,j6,q6,H6,dt,Va=N(()=>{Q0();Ua();dh();za();sw();On();ES();V6=()=>Date.now(),z6="system",W6=null,B6=null,G6=null,j6=60,H6=null,dt=class{static get now(){return V6}static set now(e){V6=e}static set defaultZone(e){z6=e}static get defaultZone(){return oo(z6,$a.instance)}static get defaultLocale(){return W6}static set defaultLocale(e){W6=e}static get defaultNumberingSystem(){return B6}static set defaultNumberingSystem(e){B6=e}static get defaultOutputCalendar(){return G6}static set defaultOutputCalendar(e){G6=e}static get defaultWeekSettings(){return H6}static set defaultWeekSettings(e){H6=uh(e)}static get twoDigitCutoffYear(){return j6}static set twoDigitCutoffYear(e){j6=e%100}static get throwOnInvalid(){return q6}static set throwOnInvalid(e){q6=e}static resetCaches(){pt.resetCache(),ur.resetCache(),Te.resetCache(),U6()}}});var qr,ph=N(()=>{qr=class{constructor(e,r){this.reason=e,this.explanation=r}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}});function Ii(t,e){return new qr("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function aw(t,e,r){let n=new Date(Date.UTC(t,e-1,r));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);let i=n.getUTCDay();return i===0?7:i}function X6(t,e,r){return r+(Fl(t)?Z6:Y6)[e-1]}function J6(t,e){let r=Fl(t)?Z6:Y6,n=r.findIndex(o=>o<e),i=e-r[n];return{month:n+1,day:i}}function cw(t,e){return(t-e+7)%7+1}function fh(t,e=4,r=1){let{year:n,month:i,day:o}=t,s=X6(n,i,o),c=cw(aw(n,i,o),r),a=Math.floor((s-c+14-e)/7),d;return a<1?(d=n-1,a=$l(d,e,r)):a>$l(n,e,r)?(d=n+1,a=1):d=n,{weekYear:d,weekNumber:a,weekday:c,...hh(t)}}function CS(t,e=4,r=1){let{weekYear:n,weekNumber:i,weekday:o}=t,s=cw(aw(n,1,e),r),c=Wa(n),a=i*7+o-s-7+e,d;a<1?(d=n-1,a+=Wa(d)):a>c?(d=n+1,a-=Wa(n)):d=n;let{month:h,day:g}=J6(d,a);return{year:d,month:h,day:g,...hh(t)}}function lw(t){let{year:e,month:r,day:n}=t,i=X6(e,r,n);return{year:e,ordinal:i,...hh(t)}}function TS(t){let{year:e,ordinal:r}=t,{month:n,day:i}=J6(e,r);return{year:e,month:n,day:i,...hh(t)}}function PS(t,e){if(!Ge(t.localWeekday)||!Ge(t.localWeekNumber)||!Ge(t.localWeekYear)){if(!Ge(t.weekday)||!Ge(t.weekNumber)||!Ge(t.weekYear))throw new ro("Cannot mix locale-based week fields with ISO-based week fields");return Ge(t.localWeekday)||(t.weekday=t.localWeekday),Ge(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Ge(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function Q6(t,e=4,r=1){let n=mh(t.weekYear),i=ai(t.weekNumber,1,$l(t.weekYear,e,r)),o=ai(t.weekday,1,7);return n?i?o?!1:Ii("weekday",t.weekday):Ii("week",t.weekNumber):Ii("weekYear",t.weekYear)}function K6(t){let e=mh(t.year),r=ai(t.ordinal,1,Wa(t.year));return e?r?!1:Ii("ordinal",t.ordinal):Ii("year",t.year)}function MS(t){let e=mh(t.year),r=ai(t.month,1,12),n=ai(t.day,1,Mp(t.year,t.month));return e?r?n?!1:Ii("day",t.day):Ii("month",t.month):Ii("year",t.year)}function AS(t){let{hour:e,minute:r,second:n,millisecond:i}=t,o=ai(e,0,23)||e===24&&r===0&&n===0&&i===0,s=ai(r,0,59),c=ai(n,0,59),a=ai(i,0,999);return o?s?c?a?!1:Ii("millisecond",i):Ii("second",n):Ii("minute",r):Ii("hour",e)}var Y6,Z6,IS=N(()=>{On();ph();Ra();Y6=[0,31,59,90,120,151,181,212,243,273,304,334],Z6=[0,31,60,91,121,152,182,213,244,274,305,335]});function Ge(t){return typeof t>"u"}function so(t){return typeof t=="number"}function mh(t){return typeof t=="number"&&t%1===0}function D6(t){return typeof t=="string"}function t8(t){return Object.prototype.toString.call(t)==="[object Date]"}function nw(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function iw(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function r8(t){return Array.isArray(t)?t:[t]}function LS(t,e,r){if(t.length!==0)return t.reduce((n,i)=>{let o=[e(i),i];return n&&r(n[0],o[0])===n[0]?n:o},null)[1]}function n8(t,e){return e.reduce((r,n)=>(r[n]=t[n],r),{})}function Ba(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function uh(t){if(t==null)return null;if(typeof t!="object")throw new lr("Week settings must be an object");if(!ai(t.firstDay,1,7)||!ai(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!ai(e,1,7)))throw new lr("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function ai(t,e,r){return mh(t)&&t>=e&&t<=r}function pW(t,e){return t-e*Math.floor(t/e)}function ir(t,e=2){let r=t<0,n;return r?n="-"+(""+-t).padStart(e,"0"):n=(""+t).padStart(e,"0"),n}function Is(t){if(!(Ge(t)||t===null||t===""))return parseInt(t,10)}function Ga(t){if(!(Ge(t)||t===null||t===""))return parseFloat(t)}function gh(t){if(!(Ge(t)||t===null||t==="")){let e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function Ep(t,e,r=!1){let n=10**e;return(r?Math.trunc:Math.round)(t*n)/n}function Fl(t){return t%4===0&&(t%100!==0||t%400===0)}function Wa(t){return Fl(t)?366:365}function Mp(t,e){let r=pW(e-1,12)+1,n=t+(e-r)/12;return r===2?Fl(n)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function xp(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function e8(t,e,r){return-cw(aw(t,1,e),r)+e-1}function $l(t,e=4,r=1){let n=e8(t,e,r),i=e8(t+1,e,r);return(Wa(t)-n+i)/7}function wh(t){return t>99?t:t>dt.twoDigitCutoffYear?1900+t:2e3+t}function K0(t,e,r,n=null){let i=new Date(t),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(o.timeZone=n);let s={timeZoneName:e,...o},c=new Intl.DateTimeFormat(r,s).formatToParts(i).find(a=>a.type.toLowerCase()==="timezonename");return c?c.value:null}function Dl(t,e){let r=parseInt(t,10);Number.isNaN(r)&&(r=0);let n=parseInt(e,10)||0,i=r<0||Object.is(r,-0)?-n:n;return r*60+i}function kS(t){let e=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(e))throw new lr(`Invalid unit value ${t}`);return e}function Ap(t,e){let r={};for(let n in t)if(Ba(t,n)){let i=t[n];if(i==null)continue;r[e(n)]=kS(i)}return r}function Fa(t,e){let r=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),i=t>=0?"+":"-";switch(e){case"short":return`${i}${ir(r,2)}:${ir(n,2)}`;case"narrow":return`${i}${r}${n>0?`:${n}`:""}`;case"techie":return`${i}${ir(r,2)}${ir(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function hh(t){return n8(t,["hour","minute","second","millisecond"])}var On=N(()=>{Ra();Va();IS()});function gS(t){switch(t){case"narrow":return[...mW];case"short":return[...OS];case"long":return[...fW];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}function wS(t){switch(t){case"narrow":return[...hW];case"short":return[...RS];case"long":return[...NS];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}function bS(t){switch(t){case"narrow":return[...yW];case"short":return[...wW];case"long":return[...gW];default:return null}}function i8(t){return yS[t.hour<12?0:1]}function o8(t,e){return wS(e)[t.weekday-1]}function s8(t,e){return gS(e)[t.month-1]}function a8(t,e){return bS(e)[t.year<0?0:1]}function R6(t,e,r="always",n=!1){let i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},o=["hours","minutes","seconds"].indexOf(t)===-1;if(r==="auto"&&o){let g=t==="days";switch(e){case 1:return g?"tomorrow":`next ${i[t][0]}`;case-1:return g?"yesterday":`last ${i[t][0]}`;case 0:return g?"today":`this ${i[t][0]}`;default:}}let s=Object.is(e,-0)||e<0,c=Math.abs(e),a=c===1,d=i[t],h=n?a?d[1]:d[2]||d[1]:a?i[t][0]:t;return s?`${c} ${h} ago`:`in ${c} ${h}`}var fW,OS,mW,NS,RS,hW,yS,gW,wW,yW,ow=N(()=>{ch();On();fW=["January","February","March","April","May","June","July","August","September","October","November","December"],OS=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],mW=["J","F","M","A","M","J","J","A","S","O","N","D"];NS=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],RS=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],hW=["M","T","W","T","F","S","S"];yS=["AM","PM"],gW=["Before Christ","Anno Domini"],wW=["BC","AD"],yW=["B","A"]});function c8(t,e){let r="";for(let n of t)n.literal?r+=n.val:r+=e(n.val);return r}var bW,Hr,yh=N(()=>{ow();ch();On();bW={D:Da,DD:Bm,DDD:Gm,DDDD:jm,t:qm,tt:Hm,ttt:Ym,tttt:Zm,T:Xm,TT:Jm,TTT:Qm,TTTT:Km,f:eh,ff:rh,fff:ih,ffff:sh,F:th,FF:nh,FFF:oh,FFFF:ah},Hr=class t{static create(e,r={}){return new t(e,r)}static parseFormat(e){let r=null,n="",i=!1,o=[];for(let s=0;s<e.length;s++){let c=e.charAt(s);c==="'"?(n.length>0&&o.push({literal:i||/^\s+$/.test(n),val:n}),r=null,n="",i=!i):i||c===r?n+=c:(n.length>0&&o.push({literal:/^\s+$/.test(n),val:n}),n=c,r=c)}return n.length>0&&o.push({literal:i||/^\s+$/.test(n),val:n}),o}static macroTokenToFormatOpts(e){return bW[e]}constructor(e,r){this.opts=r,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,r){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...r}).format()}dtFormatter(e,r={}){return this.loc.dtFormatter(e,{...this.opts,...r})}formatDateTime(e,r){return this.dtFormatter(e,r).format()}formatDateTimeParts(e,r){return this.dtFormatter(e,r).formatToParts()}formatInterval(e,r){return this.dtFormatter(e.start,r).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,r){return this.dtFormatter(e,r).resolvedOptions()}num(e,r=0){if(this.opts.forceSimple)return ir(e,r);let n={...this.opts};return r>0&&(n.padTo=r),this.loc.numberFormatter(n).format(e)}formatDateTimeFromString(e,r){let n=this.loc.listingMode()==="en",i=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",o=(E,M)=>this.loc.extract(e,E,M),s=E=>e.isOffsetFixed&&e.offset===0&&E.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,E.format):"",c=()=>n?i8(e):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(E,M)=>n?s8(e,E):o(M?{month:E}:{month:E,day:"numeric"},"month"),d=(E,M)=>n?o8(e,E):o(M?{weekday:E}:{weekday:E,month:"long",day:"numeric"},"weekday"),h=E=>{let M=t.macroTokenToFormatOpts(E);return M?this.formatWithSystemDefault(e,M):E},g=E=>n?a8(e,E):o({era:E},"era"),v=E=>{switch(E){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return c();case"d":return i?o({day:"numeric"},"day"):this.num(e.day);case"dd":return i?o({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return d("short",!0);case"cccc":return d("long",!0);case"ccccc":return d("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return d("short",!1);case"EEEE":return d("long",!1);case"EEEEE":return d("narrow",!1);case"L":return i?o({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return i?o({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return i?o({month:"numeric"},"month"):this.num(e.month);case"MM":return i?o({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return i?o({year:"numeric"},"year"):this.num(e.year);case"yy":return i?o({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return i?o({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return i?o({year:"numeric"},"year"):this.num(e.year,6);case"G":return g("short");case"GG":return g("long");case"GGGGG":return g("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return h(E)}};return c8(t.parseFormat(r),v)}formatDurationFromString(e,r){let n=a=>{switch(a[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},i=a=>d=>{let h=n(d);return h?this.num(a.get(h),d.length):d},o=t.parseFormat(r),s=o.reduce((a,{literal:d,val:h})=>d?a:a.concat(h),[]),c=e.shiftTo(...s.map(n).filter(a=>a));return c8(o,i(c))}}});function Lp(...t){let e=t.reduce((r,n)=>r+n.source,"");return RegExp(`^${e}$`)}function kp(...t){return e=>t.reduce(([r,n,i],o)=>{let[s,c,a]=o(e,i);return[{...r,...s},c||n,a]},[{},null,1]).slice(0,2)}function Op(t,...e){if(t==null)return[null,null];for(let[r,n]of e){let i=r.exec(t);if(i)return n(i)}return[null,null]}function d8(...t){return(e,r)=>{let n={},i;for(i=0;i<t.length;i++)n[t[i]]=Is(e[r+i]);return[n,null,r+i]}}function Ip(t,e,r){let n=t[e];return Ge(n)?r:Is(n)}function MW(t,e){return[{year:Ip(t,e),month:Ip(t,e+1,1),day:Ip(t,e+2,1)},null,e+3]}function Np(t,e){return[{hours:Ip(t,e,0),minutes:Ip(t,e+1,0),seconds:Ip(t,e+2,0),milliseconds:gh(t[e+3])},null,e+4]}function bh(t,e){let r=!t[e]&&!t[e+1],n=Dl(t[e+1],t[e+2]),i=r?null:St.instance(n);return[{},i,e+3]}function vh(t,e){let r=t[e]?ur.create(t[e]):null;return[{},r,e+1]}function LW(t){let[e,r,n,i,o,s,c,a,d]=t,h=e[0]==="-",g=a&&a[0]==="-",v=(E,M=!1)=>E!==void 0&&(M||E&&h)?-E:E;return[{years:v(Ga(r)),months:v(Ga(n)),weeks:v(Ga(i)),days:v(Ga(o)),hours:v(Ga(s)),minutes:v(Ga(c)),seconds:v(Ga(a),a==="-0"),milliseconds:v(gh(d),g)}]}function FS(t,e,r,n,i,o,s){let c={year:e.length===2?wh(Is(e)):Is(e),month:OS.indexOf(r)+1,day:Is(n),hour:Is(i),minute:Is(o)};return s&&(c.second=Is(s)),t&&(c.weekday=t.length>3?NS.indexOf(t)+1:RS.indexOf(t)+1),c}function NW(t){let[,e,r,n,i,o,s,c,a,d,h,g]=t,v=FS(e,i,n,r,o,s,c),E;return a?E=kW[a]:d?E=0:E=Dl(h,g),[v,new St(E)]}function RW(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function l8(t){let[,e,r,n,i,o,s,c]=t;return[FS(e,i,n,r,o,s,c),St.utcInstance]}function UW(t){let[,e,r,n,i,o,s,c]=t;return[FS(e,c,r,n,i,o,s),St.utcInstance]}function g8(t){return Op(t,[VW,h8],[zW,GW],[WW,jW],[BW,qW])}function w8(t){return Op(RW(t),[OW,NW])}function y8(t){return Op(t,[DW,l8],[$W,l8],[FW,UW])}function b8(t){return Op(t,[IW,LW])}function v8(t){return Op(t,[AW,HW])}function _8(t){return Op(t,[YW,h8],[ZW,XW])}var u8,p8,vW,DS,f8,$S,_W,SW,xW,EW,CW,TW,m8,PW,AW,IW,kW,OW,DW,$W,FW,VW,zW,WW,BW,h8,GW,jW,qW,HW,YW,ZW,XW,US=N(()=>{On();ow();Cp();Ua();u8=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;p8=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,vW=`(?:${p8.source}?(?:\\[(${u8.source})\\])?)?`,DS=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,f8=RegExp(`${DS.source}${vW}`),$S=RegExp(`(?:T${f8.source})?`),_W=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,SW=/(\d{4})-?W(\d\d)(?:-?(\d))?/,xW=/(\d{4})-?(\d{3})/,EW=d8("weekYear","weekNumber","weekDay"),CW=d8("year","ordinal"),TW=/(\d{4})-(\d\d)-(\d\d)/,m8=RegExp(`${DS.source} ?(?:${p8.source}|(${u8.source}))?`),PW=RegExp(`(?: ${m8.source})?`);AW=RegExp(`^T?${DS.source}$`),IW=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;kW={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};OW=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;DW=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,$W=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,FW=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;VW=Lp(_W,$S),zW=Lp(SW,$S),WW=Lp(xW,$S),BW=Lp(f8),h8=kp(MW,Np,bh,vh),GW=kp(EW,Np,bh,vh),jW=kp(CW,Np,bh,vh),qW=kp(Np,bh,vh);HW=kp(Np);YW=Lp(TW,PW),ZW=Lp(m8),XW=kp(Np,bh,vh)});function ja(t,e,r=!1){let n={values:r?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new or(n)}function C8(t,e){let r=e.milliseconds??0;for(let n of KW.slice(1))e[n]&&(r+=e[n]*t[n].milliseconds);return r}function x8(t,e){let r=C8(t,e)<0?-1:1;Ul.reduceRight((n,i)=>{if(Ge(e[i]))return n;if(n){let o=e[n]*r,s=t[i][n],c=Math.floor(o/s);e[i]+=c*r,e[n]-=c*s*r}return i},null),Ul.reduce((n,i)=>{if(Ge(e[i]))return n;if(n){let o=e[n]%1;e[n]-=o,e[i]+=o*t[n][i]}return i},null)}function eB(t){let e={};for(let[r,n]of Object.entries(t))n!==0&&(e[r]=n);return e}var S8,E8,JW,Li,Rp,QW,Ul,KW,or,_h=N(()=>{Ra();yh();ph();dh();US();On();Va();za();S8="Invalid Duration",E8={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},JW={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...E8},Li=146097/400,Rp=146097/4800,QW={years:{quarters:4,months:12,weeks:Li/7,days:Li,hours:Li*24,minutes:Li*24*60,seconds:Li*24*60*60,milliseconds:Li*24*60*60*1e3},quarters:{months:3,weeks:Li/28,days:Li/4,hours:Li*24/4,minutes:Li*24*60/4,seconds:Li*24*60*60/4,milliseconds:Li*24*60*60*1e3/4},months:{weeks:Rp/7,days:Rp,hours:Rp*24,minutes:Rp*24*60,seconds:Rp*24*60*60,milliseconds:Rp*24*60*60*1e3},...E8},Ul=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],KW=Ul.slice(0).reverse();or=class t{constructor(e){let r=e.conversionAccuracy==="longterm"||!1,n=r?QW:JW;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||pt.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(e,r){return t.fromObject({milliseconds:e},r)}static fromObject(e,r={}){if(e==null||typeof e!="object")throw new lr(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new t({values:Ap(e,t.normalizeUnit),loc:pt.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})}static fromDurationLike(e){if(so(e))return t.fromMillis(e);if(t.isDuration(e))return e;if(typeof e=="object")return t.fromObject(e);throw new lr(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,r){let[n]=b8(e);return n?t.fromObject(n,r):t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,r){let[n]=v8(e);return n?t.fromObject(n,r):t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,r=null){if(!e)throw new lr("need to specify a reason the Duration is invalid");let n=e instanceof qr?e:new qr(e,r);if(dt.throwOnInvalid)throw new X0(n);return new t({invalid:n})}static normalizeUnit(e){let r={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!r)throw new Sp(e);return r}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,r={}){let n={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?Hr.create(this.loc,n).formatDurationFromString(this,e):S8}toHuman(e={}){if(!this.isValid)return S8;let r=Ul.map(n=>{let i=this.values[n];return Ge(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:n.slice(0,-1)}).format(i)}).filter(n=>n);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(r)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=Ep(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;let r=this.toMillis();return r<0||r>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},Te.fromMillis(r,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?C8(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;let r=t.fromDurationLike(e),n={};for(let i of Ul)(Ba(r.values,i)||Ba(this.values,i))&&(n[i]=r.get(i)+this.get(i));return ja(this,{values:n},!0)}minus(e){if(!this.isValid)return this;let r=t.fromDurationLike(e);return this.plus(r.negate())}mapUnits(e){if(!this.isValid)return this;let r={};for(let n of Object.keys(this.values))r[n]=kS(e(this.values[n],n));return ja(this,{values:r},!0)}get(e){return this[t.normalizeUnit(e)]}set(e){if(!this.isValid)return this;let r={...this.values,...Ap(e,t.normalizeUnit)};return ja(this,{values:r})}reconfigure({locale:e,numberingSystem:r,conversionAccuracy:n,matrix:i}={}){let s={loc:this.loc.clone({locale:e,numberingSystem:r}),matrix:i,conversionAccuracy:n};return ja(this,s)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return x8(this.matrix,e),ja(this,{values:e},!0)}rescale(){if(!this.isValid)return this;let e=eB(this.normalize().shiftToAll().toObject());return ja(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(s=>t.normalizeUnit(s));let r={},n={},i=this.toObject(),o;for(let s of Ul)if(e.indexOf(s)>=0){o=s;let c=0;for(let d in n)c+=this.matrix[d][s]*n[d],n[d]=0;so(i[s])&&(c+=i[s]);let a=Math.trunc(c);r[s]=a,n[s]=(c*1e3-a*1e3)/1e3}else so(i[s])&&(n[s]=i[s]);for(let s in n)n[s]!==0&&(r[o]+=s===o?n[s]:n[s]/this.matrix[o][s]);return x8(this.matrix,r),ja(this,{values:r},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;let e={};for(let r of Object.keys(this.values))e[r]=this.values[r]===0?0:-this.values[r];return ja(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function r(n,i){return n===void 0||n===0?i===void 0||i===0:n===i}for(let n of Ul)if(!r(this.values[n],e.values[n]))return!1;return!0}}});function tB(t,e){return!t||!t.isValid?Ls.invalid("missing or invalid start"):!e||!e.isValid?Ls.invalid("missing or invalid end"):e<t?Ls.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null}var Dp,Ls,VS=N(()=>{za();_h();Va();Ra();ph();yh();ch();Dp="Invalid Interval";Ls=class t{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,r=null){if(!e)throw new lr("need to specify a reason the Interval is invalid");let n=e instanceof qr?e:new qr(e,r);if(dt.throwOnInvalid)throw new Z0(n);return new t({invalid:n})}static fromDateTimes(e,r){let n=$p(e),i=$p(r),o=tB(n,i);return o??new t({start:n,end:i})}static after(e,r){let n=or.fromDurationLike(r),i=$p(e);return t.fromDateTimes(i,i.plus(n))}static before(e,r){let n=or.fromDurationLike(r),i=$p(e);return t.fromDateTimes(i.minus(n),i)}static fromISO(e,r){let[n,i]=(e||"").split("/",2);if(n&&i){let o,s;try{o=Te.fromISO(n,r),s=o.isValid}catch{s=!1}let c,a;try{c=Te.fromISO(i,r),a=c.isValid}catch{a=!1}if(s&&a)return t.fromDateTimes(o,c);if(s){let d=or.fromISO(i,r);if(d.isValid)return t.after(o,d)}else if(a){let d=or.fromISO(n,r);if(d.isValid)return t.before(c,d)}}return t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",r){if(!this.isValid)return NaN;let n=this.start.startOf(e,r),i;return r?.useLocaleWeeks?i=this.end.reconfigure({locale:n.locale}):i=this.end,i=i.startOf(e,r),Math.floor(i.diff(n,e).get(e))+(i.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:r}={}){return this.isValid?t.fromDateTimes(e||this.s,r||this.e):this}splitAt(...e){if(!this.isValid)return[];let r=e.map($p).filter(s=>this.contains(s)).sort((s,c)=>s.toMillis()-c.toMillis()),n=[],{s:i}=this,o=0;for(;i<this.e;){let s=r[o]||this.e,c=+s>+this.e?this.e:s;n.push(t.fromDateTimes(i,c)),i=c,o+=1}return n}splitBy(e){let r=or.fromDurationLike(e);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:n}=this,i=1,o,s=[];for(;n<this.e;){let c=this.start.plus(r.mapUnits(a=>a*i));o=+c>+this.e?this.e:c,s.push(t.fromDateTimes(n,o)),n=o,i+=1}return s}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;let r=this.s>e.s?this.s:e.s,n=this.e<e.e?this.e:e.e;return r>=n?null:t.fromDateTimes(r,n)}union(e){if(!this.isValid)return this;let r=this.s<e.s?this.s:e.s,n=this.e>e.e?this.e:e.e;return t.fromDateTimes(r,n)}static merge(e){let[r,n]=e.sort((i,o)=>i.s-o.s).reduce(([i,o],s)=>o?o.overlaps(s)||o.abutsStart(s)?[i,o.union(s)]:[i.concat([o]),s]:[i,s],[[],null]);return n&&r.push(n),r}static xor(e){let r=null,n=0,i=[],o=e.map(a=>[{time:a.s,type:"s"},{time:a.e,type:"e"}]),s=Array.prototype.concat(...o),c=s.sort((a,d)=>a.time-d.time);for(let a of c)n+=a.type==="s"?1:-1,n===1?r=a.time:(r&&+r!=+a.time&&i.push(t.fromDateTimes(r,a.time)),r=null);return t.merge(i)}difference(...e){return t.xor([this].concat(e)).map(r=>this.intersection(r)).filter(r=>r&&!r.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:Dp}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=Da,r={}){return this.isValid?Hr.create(this.s.loc.clone(r),e).formatInterval(this):Dp}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Dp}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Dp}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Dp}toFormat(e,{separator:r=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(e)}${r}${this.e.toFormat(e)}`:Dp}toDuration(e,r){return this.isValid?this.e.diff(this.s,e,r):or.invalid(this.invalidReason)}mapEndpoints(e){return t.fromDateTimes(e(this.s),e(this.e))}}});var ks,zS=N(()=>{za();Va();dh();Ua();sw();On();ks=class{static hasDST(e=dt.defaultZone){let r=Te.now().setZone(e).set({month:12});return!e.isUniversal&&r.offset!==r.set({month:6}).offset}static isValidIANAZone(e){return ur.isValidZone(e)}static normalizeZone(e){return oo(e,dt.defaultZone)}static getStartOfWeek({locale:e=null,locObj:r=null}={}){return(r||pt.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:r=null}={}){return(r||pt.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:r=null}={}){return(r||pt.create(e)).getWeekendDays().slice()}static months(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null,outputCalendar:o="gregory"}={}){return(i||pt.create(r,n,o)).months(e)}static monthsFormat(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null,outputCalendar:o="gregory"}={}){return(i||pt.create(r,n,o)).months(e,!0)}static weekdays(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null}={}){return(i||pt.create(r,n,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null}={}){return(i||pt.create(r,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return pt.create(e).meridiems()}static eras(e="short",{locale:r=null}={}){return pt.create(r,null,"gregory").eras(e)}static features(){return{relative:nw(),localeWeek:iw()}}}});function T8(t,e){let r=i=>i.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=r(e)-r(t);return Math.floor(or.fromMillis(n).as("days"))}function rB(t,e,r){let n=[["years",(a,d)=>d.year-a.year],["quarters",(a,d)=>d.quarter-a.quarter+(d.year-a.year)*4],["months",(a,d)=>d.month-a.month+(d.year-a.year)*12],["weeks",(a,d)=>{let h=T8(a,d);return(h-h%7)/7}],["days",T8]],i={},o=t,s,c;for(let[a,d]of n)r.indexOf(a)>=0&&(s=a,i[a]=d(t,e),c=o.plus(i),c>e?(i[a]--,t=o.plus(i),t>e&&(c=t,i[a]--,t=o.plus(i))):t=c);return[t,i,c,s]}function P8(t,e,r,n){let[i,o,s,c]=rB(t,e,r),a=e-i,d=r.filter(g=>["hours","minutes","seconds","milliseconds"].indexOf(g)>=0);d.length===0&&(s<e&&(s=i.plus({[c]:1})),s!==i&&(o[c]=(o[c]||0)+a/(s-i)));let h=or.fromObject(o,n);return d.length>0?or.fromMillis(a,n).shiftTo(...d).plus(h):h}var M8=N(()=>{_h()});function ht(t,e=r=>r){return{regex:t,deser:([r])=>e(F6(r))}}function oB(t){return t.replace(/\./g,"\\.?").replace(k8,L8)}function A8(t){return t.replace(/\./g,"").replace(k8," ").toLowerCase()}function ao(t,e){return t===null?null:{regex:RegExp(t.map(oB).join("|")),deser:([r])=>t.findIndex(n=>A8(r)===A8(n))+e}}function I8(t,e){return{regex:t,deser:([,r,n])=>Dl(r,n),groups:e}}function uw(t){return{regex:t,deser:([e])=>e}}function sB(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function aB(t,e){let r=Ai(e),n=Ai(e,"{2}"),i=Ai(e,"{3}"),o=Ai(e,"{4}"),s=Ai(e,"{6}"),c=Ai(e,"{1,2}"),a=Ai(e,"{1,3}"),d=Ai(e,"{1,6}"),h=Ai(e,"{1,9}"),g=Ai(e,"{2,4}"),v=Ai(e,"{4,6}"),E=$=>({regex:RegExp(sB($.val)),deser:([z])=>z,literal:!0}),L=($=>{if(t.literal)return E($);switch($.val){case"G":return ao(e.eras("short"),0);case"GG":return ao(e.eras("long"),0);case"y":return ht(d);case"yy":return ht(g,wh);case"yyyy":return ht(o);case"yyyyy":return ht(v);case"yyyyyy":return ht(s);case"M":return ht(c);case"MM":return ht(n);case"MMM":return ao(e.months("short",!0),1);case"MMMM":return ao(e.months("long",!0),1);case"L":return ht(c);case"LL":return ht(n);case"LLL":return ao(e.months("short",!1),1);case"LLLL":return ao(e.months("long",!1),1);case"d":return ht(c);case"dd":return ht(n);case"o":return ht(a);case"ooo":return ht(i);case"HH":return ht(n);case"H":return ht(c);case"hh":return ht(n);case"h":return ht(c);case"mm":return ht(n);case"m":return ht(c);case"q":return ht(c);case"qq":return ht(n);case"s":return ht(c);case"ss":return ht(n);case"S":return ht(a);case"SSS":return ht(i);case"u":return uw(h);case"uu":return uw(c);case"uuu":return ht(r);case"a":return ao(e.meridiems(),0);case"kkkk":return ht(o);case"kk":return ht(g,wh);case"W":return ht(c);case"WW":return ht(n);case"E":case"c":return ht(r);case"EEE":return ao(e.weekdays("short",!1),1);case"EEEE":return ao(e.weekdays("long",!1),1);case"ccc":return ao(e.weekdays("short",!0),1);case"cccc":return ao(e.weekdays("long",!0),1);case"Z":case"ZZ":return I8(new RegExp(`([+-]${c.source})(?::(${n.source}))?`),2);case"ZZZ":return I8(new RegExp(`([+-]${c.source})(${n.source})?`),2);case"z":return uw(/[a-z_+-/]{1,256}?/i);case" ":return uw(/[^\S\n\r]/);default:return E($)}})(t)||{invalidReason:nB};return L.token=t,L}function lB(t,e,r){let{type:n,value:i}=t;if(n==="literal"){let a=/^\s+$/.test(i);return{literal:!a,val:a?" ":i}}let o=e[n],s=n;n==="hour"&&(e.hour12!=null?s=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?s="hour12":s="hour24":s=r.hour12?"hour12":"hour24");let c=cB[s];if(typeof c=="object"&&(c=c[o]),c)return{literal:!1,val:c}}function uB(t){return[`^${t.map(r=>r.regex).reduce((r,n)=>`${r}(${n.source})`,"")}$`,t]}function dB(t,e,r){let n=t.match(e);if(n){let i={},o=1;for(let s in r)if(Ba(r,s)){let c=r[s],a=c.groups?c.groups+1:1;!c.literal&&c.token&&(i[c.token.val[0]]=c.deser(n.slice(o,o+a))),o+=a}return[n,i]}else return[n,{}]}function pB(t){let e=o=>{switch(o){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}},r=null,n;return Ge(t.z)||(r=ur.create(t.z)),Ge(t.Z)||(r||(r=new St(t.Z)),n=t.Z),Ge(t.q)||(t.M=(t.q-1)*3+1),Ge(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),Ge(t.u)||(t.S=gh(t.u)),[Object.keys(t).reduce((o,s)=>{let c=e(s);return c&&(o[c]=t[s]),o},{}),r,n]}function fB(){return WS||(WS=Te.fromMillis(1555555555555)),WS}function mB(t,e){if(t.literal)return t;let r=Hr.macroTokenToFormatOpts(t.val),n=jS(r,e);return n==null||n.includes(void 0)?t:n}function BS(t,e){return Array.prototype.concat(...t.map(r=>mB(r,e)))}function GS(t,e,r){return new Sh(t,r).explainFromTokens(e)}function O8(t,e,r){let{result:n,zone:i,specificOffset:o,invalidReason:s}=GS(t,e,r);return[n,i,o,s]}function jS(t,e){if(!t)return null;let n=Hr.create(e,t).dtFormatter(fB()),i=n.formatToParts(),o=n.resolvedOptions();return i.map(s=>lB(s,t,o))}var nB,iB,L8,k8,cB,WS,Sh,N8=N(()=>{On();yh();Cp();Ua();za();ES();Ra();nB="missing Intl.DateTimeFormat.formatToParts support";iB="\xA0",L8=`[ ${iB}]`,k8=new RegExp(L8,"g");cB={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};WS=null;Sh=class{constructor(e,r){if(this.locale=e,this.format=r,this.tokens=BS(Hr.parseFormat(r),e),this.units=this.tokens.map(n=>aB(n,e)),this.disqualifyingUnit=this.units.find(n=>n.invalidReason),!this.disqualifyingUnit){let[n,i]=uB(this.units);this.regex=RegExp(n,"i"),this.handlers=i}}explainFromTokens(e){if(this.isValid){let[r,n]=dB(e,this.regex,this.handlers),[i,o,s]=n?pB(n):[null,null,void 0];if(Ba(n,"a")&&Ba(n,"H"))throw new ro("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:r,matches:n,result:i,zone:o,specificOffset:s}}else return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}});function xh(t){return new qr("unsupported zone",`the zone "${t.name}" is not supported`)}function HS(t){return t.weekData===null&&(t.weekData=fh(t.c)),t.weekData}function YS(t){return t.localWeekData===null&&(t.localWeekData=fh(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Vl(t,e){let r={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new Te({...r,...e,old:r})}function W8(t,e,r){let n=t-e*60*1e3,i=r.offset(n);if(e===i)return[n,e];n-=(i-e)*60*1e3;let o=r.offset(n);return i===o?[n,i]:[t-Math.min(i,o)*60*1e3,Math.max(i,o)]}function dw(t,e){t+=e*60*1e3;let r=new Date(t);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function fw(t,e,r){return W8(xp(t),e,r)}function D8(t,e){let r=t.o,n=t.c.year+Math.trunc(e.years),i=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,o={...t.c,year:n,month:i,day:Math.min(t.c.day,Mp(n,i))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},s=or.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),c=xp(o),[a,d]=W8(c,r,t.zone);return s!==0&&(a+=s,d=t.zone.offset(a)),{ts:a,o:d}}function Fp(t,e,r,n,i,o){let{setZone:s,zone:c}=r;if(t&&Object.keys(t).length!==0||e){let a=e||c,d=Te.fromObject(t,{...r,zone:a,specificOffset:o});return s?d:d.setZone(c)}else return Te.invalid(new qr("unparsable",`the input "${i}" can't be parsed as ${n}`))}function pw(t,e,r=!0){return t.isValid?Hr.create(pt.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(t,e):null}function ZS(t,e){let r=t.c.year>9999||t.c.year<0,n="";return r&&t.c.year>=0&&(n+="+"),n+=ir(t.c.year,r?6:4),e?(n+="-",n+=ir(t.c.month),n+="-",n+=ir(t.c.day)):(n+=ir(t.c.month),n+=ir(t.c.day)),n}function $8(t,e,r,n,i,o){let s=ir(t.c.hour);return e?(s+=":",s+=ir(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!r)&&(s+=":")):s+=ir(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!r)&&(s+=ir(t.c.second),(t.c.millisecond!==0||!n)&&(s+=".",s+=ir(t.c.millisecond,3))),i&&(t.isOffsetFixed&&t.offset===0&&!o?s+="Z":t.o<0?(s+="-",s+=ir(Math.trunc(-t.o/60)),s+=":",s+=ir(Math.trunc(-t.o%60))):(s+="+",s+=ir(Math.trunc(t.o/60)),s+=":",s+=ir(Math.trunc(t.o%60)))),o&&(s+="["+t.zone.ianaName+"]"),s}function bB(t){let e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Sp(t);return e}function F8(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return bB(t)}}function vB(t){return hw[t]||(mw===void 0&&(mw=dt.now()),hw[t]=t.offset(mw)),hw[t]}function U8(t,e){let r=oo(e.zone,dt.defaultZone);if(!r.isValid)return Te.invalid(xh(r));let n=pt.fromObject(e),i,o;if(Ge(t.year))i=dt.now();else{for(let a of G8)Ge(t[a])&&(t[a]=B8[a]);let s=MS(t)||AS(t);if(s)return Te.invalid(s);let c=vB(r);[i,o]=fw(t,c,r)}return new Te({ts:i,zone:r,loc:n,o})}function V8(t,e,r){let n=Ge(r.round)?!0:r.round,i=(s,c)=>(s=Ep(s,n||r.calendary?0:2,!0),e.loc.clone(r).relFormatter(r).format(s,c)),o=s=>r.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(r.unit)return i(o(r.unit),r.unit);for(let s of r.units){let c=o(s);if(Math.abs(c)>=1)return i(c,s)}return i(t>e?-0:0,r.units[r.units.length-1])}function z8(t){let e={},r;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],r=Array.from(t).slice(0,t.length-1)):r=Array.from(t),[e,r]}function $p(t){if(Te.isDateTime(t))return t;if(t&&t.valueOf&&so(t.valueOf()))return Te.fromJSDate(t);if(t&&typeof t=="object")return Te.fromObject(t);throw new lr(`Unknown datetime argument: ${t}, of type ${typeof t}`)}var qS,R8,B8,hB,gB,G8,wB,yB,mw,hw,Te,za=N(()=>{_h();VS();Va();zS();yh();Cp();dh();On();sw();M8();US();N8();IS();ch();Ra();ph();qS="Invalid DateTime",R8=864e13;B8={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},hB={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},gB={ordinal:1,hour:0,minute:0,second:0,millisecond:0},G8=["year","month","day","hour","minute","second","millisecond"],wB=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],yB=["year","ordinal","hour","minute","second","millisecond"];hw={},Te=class t{constructor(e){let r=e.zone||dt.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new qr("invalid input"):null)||(r.isValid?null:xh(r));this.ts=Ge(e.ts)?dt.now():e.ts;let i=null,o=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(r))[i,o]=[e.old.c,e.old.o];else{let c=so(e.o)&&!e.old?e.o:r.offset(this.ts);i=dw(this.ts,c),n=Number.isNaN(i.year)?new qr("invalid input"):null,i=n?null:i,o=n?null:c}this._zone=r,this.loc=e.loc||pt.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=i,this.o=o,this.isLuxonDateTime=!0}static now(){return new t({})}static local(){let[e,r]=z8(arguments),[n,i,o,s,c,a,d]=r;return U8({year:n,month:i,day:o,hour:s,minute:c,second:a,millisecond:d},e)}static utc(){let[e,r]=z8(arguments),[n,i,o,s,c,a,d]=r;return e.zone=St.utcInstance,U8({year:n,month:i,day:o,hour:s,minute:c,second:a,millisecond:d},e)}static fromJSDate(e,r={}){let n=t8(e)?e.valueOf():NaN;if(Number.isNaN(n))return t.invalid("invalid input");let i=oo(r.zone,dt.defaultZone);return i.isValid?new t({ts:n,zone:i,loc:pt.fromObject(r)}):t.invalid(xh(i))}static fromMillis(e,r={}){if(so(e))return e<-R8||e>R8?t.invalid("Timestamp out of range"):new t({ts:e,zone:oo(r.zone,dt.defaultZone),loc:pt.fromObject(r)});throw new lr(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,r={}){if(so(e))return new t({ts:e*1e3,zone:oo(r.zone,dt.defaultZone),loc:pt.fromObject(r)});throw new lr("fromSeconds requires a numerical input")}static fromObject(e,r={}){e=e||{};let n=oo(r.zone,dt.defaultZone);if(!n.isValid)return t.invalid(xh(n));let i=pt.fromObject(r),o=Ap(e,F8),{minDaysInFirstWeek:s,startOfWeek:c}=PS(o,i),a=dt.now(),d=Ge(r.specificOffset)?n.offset(a):r.specificOffset,h=!Ge(o.ordinal),g=!Ge(o.year),v=!Ge(o.month)||!Ge(o.day),E=g||v,M=o.weekYear||o.weekNumber;if((E||h)&&M)throw new ro("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(v&&h)throw new ro("Can't mix ordinal dates with month/day");let L=M||o.weekday&&!E,$,z,V=dw(a,d);L?($=wB,z=hB,V=fh(V,s,c)):h?($=yB,z=gB,V=lw(V)):($=G8,z=B8);let q=!1;for(let Ce of $){let Ne=o[Ce];Ge(Ne)?q?o[Ce]=z[Ce]:o[Ce]=V[Ce]:q=!0}let B=L?Q6(o,s,c):h?K6(o):MS(o),Z=B||AS(o);if(Z)return t.invalid(Z);let re=L?CS(o,s,c):h?TS(o):o,[F,me]=fw(re,d,n),Le=new t({ts:F,zone:n,o:me,loc:i});return o.weekday&&E&&e.weekday!==Le.weekday?t.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${Le.toISO()}`):Le.isValid?Le:t.invalid(Le.invalid)}static fromISO(e,r={}){let[n,i]=g8(e);return Fp(n,i,r,"ISO 8601",e)}static fromRFC2822(e,r={}){let[n,i]=w8(e);return Fp(n,i,r,"RFC 2822",e)}static fromHTTP(e,r={}){let[n,i]=y8(e);return Fp(n,i,r,"HTTP",r)}static fromFormat(e,r,n={}){if(Ge(e)||Ge(r))throw new lr("fromFormat requires an input string and a format");let{locale:i=null,numberingSystem:o=null}=n,s=pt.fromOpts({locale:i,numberingSystem:o,defaultToEN:!0}),[c,a,d,h]=O8(s,e,r);return h?t.invalid(h):Fp(c,a,n,`format ${r}`,e,d)}static fromString(e,r,n={}){return t.fromFormat(e,r,n)}static fromSQL(e,r={}){let[n,i]=_8(e);return Fp(n,i,r,"SQL",e)}static invalid(e,r=null){if(!e)throw new lr("need to specify a reason the DateTime is invalid");let n=e instanceof qr?e:new qr(e,r);if(dt.throwOnInvalid)throw new Y0(n);return new t({invalid:n})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,r={}){let n=jS(e,pt.fromObject(r));return n?n.map(i=>i?i.val:null).join(""):null}static expandFormat(e,r={}){return BS(Hr.parseFormat(e),pt.fromObject(r)).map(i=>i.val).join("")}static resetCache(){mw=void 0,hw={}}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?HS(this).weekYear:NaN}get weekNumber(){return this.isValid?HS(this).weekNumber:NaN}get weekday(){return this.isValid?HS(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?YS(this).weekday:NaN}get localWeekNumber(){return this.isValid?YS(this).weekNumber:NaN}get localWeekYear(){return this.isValid?YS(this).weekYear:NaN}get ordinal(){return this.isValid?lw(this.c).ordinal:NaN}get monthShort(){return this.isValid?ks.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?ks.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?ks.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?ks.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let e=864e5,r=6e4,n=xp(this.c),i=this.zone.offset(n-e),o=this.zone.offset(n+e),s=this.zone.offset(n-i*r),c=this.zone.offset(n-o*r);if(s===c)return[this];let a=n-s*r,d=n-c*r,h=dw(a,s),g=dw(d,c);return h.hour===g.hour&&h.minute===g.minute&&h.second===g.second&&h.millisecond===g.millisecond?[Vl(this,{ts:a}),Vl(this,{ts:d})]:[this]}get isInLeapYear(){return Fl(this.year)}get daysInMonth(){return Mp(this.year,this.month)}get daysInYear(){return this.isValid?Wa(this.year):NaN}get weeksInWeekYear(){return this.isValid?$l(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?$l(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:r,numberingSystem:n,calendar:i}=Hr.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:r,numberingSystem:n,outputCalendar:i}}toUTC(e=0,r={}){return this.setZone(St.instance(e),r)}toLocal(){return this.setZone(dt.defaultZone)}setZone(e,{keepLocalTime:r=!1,keepCalendarTime:n=!1}={}){if(e=oo(e,dt.defaultZone),e.equals(this.zone))return this;if(e.isValid){let i=this.ts;if(r||n){let o=e.offset(this.ts),s=this.toObject();[i]=fw(s,o,e)}return Vl(this,{ts:i,zone:e})}else return t.invalid(xh(e))}reconfigure({locale:e,numberingSystem:r,outputCalendar:n}={}){let i=this.loc.clone({locale:e,numberingSystem:r,outputCalendar:n});return Vl(this,{loc:i})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;let r=Ap(e,F8),{minDaysInFirstWeek:n,startOfWeek:i}=PS(r,this.loc),o=!Ge(r.weekYear)||!Ge(r.weekNumber)||!Ge(r.weekday),s=!Ge(r.ordinal),c=!Ge(r.year),a=!Ge(r.month)||!Ge(r.day),d=c||a,h=r.weekYear||r.weekNumber;if((d||s)&&h)throw new ro("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new ro("Can't mix ordinal dates with month/day");let g;o?g=CS({...fh(this.c,n,i),...r},n,i):Ge(r.ordinal)?(g={...this.toObject(),...r},Ge(r.day)&&(g.day=Math.min(Mp(g.year,g.month),g.day))):g=TS({...lw(this.c),...r});let[v,E]=fw(g,this.o,this.zone);return Vl(this,{ts:v,o:E})}plus(e){if(!this.isValid)return this;let r=or.fromDurationLike(e);return Vl(this,D8(this,r))}minus(e){if(!this.isValid)return this;let r=or.fromDurationLike(e).negate();return Vl(this,D8(this,r))}startOf(e,{useLocaleWeeks:r=!1}={}){if(!this.isValid)return this;let n={},i=or.normalizeUnit(e);switch(i){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break;case"milliseconds":break}if(i==="weeks")if(r){let o=this.loc.getStartOfWeek(),{weekday:s}=this;s<o&&(n.weekNumber=this.weekNumber-1),n.weekday=o}else n.weekday=1;if(i==="quarters"){let o=Math.ceil(this.month/3);n.month=(o-1)*3+1}return this.set(n)}endOf(e,r){return this.isValid?this.plus({[e]:1}).startOf(e,r).minus(1):this}toFormat(e,r={}){return this.isValid?Hr.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this,e):qS}toLocaleString(e=Da,r={}){return this.isValid?Hr.create(this.loc.clone(r),e).formatDateTime(this):qS}toLocaleParts(e={}){return this.isValid?Hr.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:r=!1,suppressMilliseconds:n=!1,includeOffset:i=!0,extendedZone:o=!1}={}){if(!this.isValid)return null;let s=e==="extended",c=ZS(this,s);return c+="T",c+=$8(this,s,r,n,i,o),c}toISODate({format:e="extended"}={}){return this.isValid?ZS(this,e==="extended"):null}toISOWeekDate(){return pw(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:r=!1,includeOffset:n=!0,includePrefix:i=!1,extendedZone:o=!1,format:s="extended"}={}){return this.isValid?(i?"T":"")+$8(this,s==="extended",r,e,n,o):null}toRFC2822(){return pw(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return pw(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?ZS(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:r=!1,includeOffsetSpace:n=!0}={}){let i="HH:mm:ss.SSS";return(r||e)&&(n&&(i+=" "),r?i+="z":e&&(i+="ZZ")),pw(this,i,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():qS}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};let r={...this.c};return e.includeConfig&&(r.outputCalendar=this.outputCalendar,r.numberingSystem=this.loc.numberingSystem,r.locale=this.loc.locale),r}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,r="milliseconds",n={}){if(!this.isValid||!e.isValid)return or.invalid("created by diffing an invalid DateTime");let i={locale:this.locale,numberingSystem:this.numberingSystem,...n},o=r8(r).map(or.normalizeUnit),s=e.valueOf()>this.valueOf(),c=s?this:e,a=s?e:this,d=P8(c,a,o,i);return s?d.negate():d}diffNow(e="milliseconds",r={}){return this.diff(t.now(),e,r)}until(e){return this.isValid?Ls.fromDateTimes(this,e):this}hasSame(e,r,n){if(!this.isValid)return!1;let i=e.valueOf(),o=this.setZone(e.zone,{keepLocalTime:!0});return o.startOf(r,n)<=i&&i<=o.endOf(r,n)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;let r=e.base||t.fromObject({},{zone:this.zone}),n=e.padding?this<r?-e.padding:e.padding:0,i=["years","months","days","hours","minutes","seconds"],o=e.unit;return Array.isArray(e.unit)&&(i=e.unit,o=void 0),V8(r,this.plus(n),{...e,numeric:"always",units:i,unit:o})}toRelativeCalendar(e={}){return this.isValid?V8(e.base||t.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(t.isDateTime))throw new lr("min requires all arguments be DateTimes");return LS(e,r=>r.valueOf(),Math.min)}static max(...e){if(!e.every(t.isDateTime))throw new lr("max requires all arguments be DateTimes");return LS(e,r=>r.valueOf(),Math.max)}static fromFormatExplain(e,r,n={}){let{locale:i=null,numberingSystem:o=null}=n,s=pt.fromOpts({locale:i,numberingSystem:o,defaultToEN:!0});return GS(s,e,r)}static fromStringExplain(e,r,n={}){return t.fromFormatExplain(e,r,n)}static buildFormatParser(e,r={}){let{locale:n=null,numberingSystem:i=null}=r,o=pt.fromOpts({locale:n,numberingSystem:i,defaultToEN:!0});return new Sh(o,e)}static fromFormatParser(e,r,n={}){if(Ge(e)||Ge(r))throw new lr("fromFormatParser requires an input string and a format parser");let{locale:i=null,numberingSystem:o=null}=n,s=pt.fromOpts({locale:i,numberingSystem:o,defaultToEN:!0});if(!s.equals(r.locale))throw new lr(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${r.locale}`);let{result:c,zone:a,specificOffset:d,invalidReason:h}=r.explainFromTokens(e);return h?t.invalid(h):Fp(c,a,n,`format ${r.format}`,e,d)}static get DATE_SHORT(){return Da}static get DATE_MED(){return Bm}static get DATE_MED_WITH_WEEKDAY(){return sS}static get DATE_FULL(){return Gm}static get DATE_HUGE(){return jm}static get TIME_SIMPLE(){return qm}static get TIME_WITH_SECONDS(){return Hm}static get TIME_WITH_SHORT_OFFSET(){return Ym}static get TIME_WITH_LONG_OFFSET(){return Zm}static get TIME_24_SIMPLE(){return Xm}static get TIME_24_WITH_SECONDS(){return Jm}static get TIME_24_WITH_SHORT_OFFSET(){return Qm}static get TIME_24_WITH_LONG_OFFSET(){return Km}static get DATETIME_SHORT(){return eh}static get DATETIME_SHORT_WITH_SECONDS(){return th}static get DATETIME_MED(){return rh}static get DATETIME_MED_WITH_SECONDS(){return nh}static get DATETIME_MED_WITH_WEEKDAY(){return aS}static get DATETIME_FULL(){return ih}static get DATETIME_FULL_WITH_SECONDS(){return oh}static get DATETIME_HUGE(){return sh}static get DATETIME_HUGE_WITH_SECONDS(){return ah}}});var Nn=N(()=>{za();_h();VS();zS();Rl();Cp();Ua();SS();Q0();Va()});function zl(t){return t instanceof xr?t===Yr.instance:t?.toString().toLowerCase()==="unknown"}function gw(t){return zl(t)?Yr.instance:t}var XS,Yr,Eh=N(()=>{Nn();XS=class XS{};XS.instance=new ur("Etc/UTC");Yr=XS});function Up(t,e,r){return t<e?t-e:t>r?t-r:0}function Vp(t,e,r){return t<e?e:t>r?r:t}function co(t,e=!0){if(t instanceof xr)return t;if(t.toLowerCase()==="system")return"system";if(t.toLowerCase()==="utc")return"UTC";if(t.toLowerCase()==="unknown")return Yr.instance;if(/^[+-]?[0-9]{1,2}([:][0-9]{2})?$/.test(t)){let n=St.parseSpecifier("UTC"+(t.startsWith("+")||t.startsWith("-")?"":"+")+t);if(n)return n}let r=ur.create(t);if(!r.isValid){if(e)throw new JS(ww.TimeZoneNotRecognized);return null}return r}var ww,_B,JS,Ch,j8=N(()=>{Na();Eh();Nn();(function(t){t.TimeZoneNotRecognized="TimeZoneNotRecognized"})(ww||(ww={}));_B={[ww.TimeZoneNotRecognized]:"Timezone identifier has not been recognized."},JS=class t extends Error{constructor(e,r){super(qo(_B[e],r)),this.declaredRootClass="esri.arcade.arcadedate.dateerror",Error.captureStackTrace&&Error.captureStackTrace(this,t)}};Ch=class t{constructor(e){this._date=e,this.declaredRootClass="esri.arcade.arcadedate"}static fromParts(e=0,r=1,n=1,i=0,o=0,s=0,c=0,a){if(isNaN(e)||isNaN(r)||isNaN(n)||isNaN(i)||isNaN(o)||isNaN(s)||isNaN(c))return null;let d=Te.local(e,r).daysInMonth,h=Te.fromObject({day:Vp(n,1,d),year:e,month:Vp(r,1,12),hour:Vp(i,0,23),minute:Vp(o,0,59),second:Vp(s,0,59),millisecond:Vp(c,0,999)},{zone:co(a)});return h=h.plus({months:Up(r,1,12),days:Up(n,1,d),hours:Up(i,0,23),minutes:Up(o,0,59),seconds:Up(s,0,59),milliseconds:Up(c,0,999)}),new t(h)}static get systemTimeZoneCanonicalName(){return Intl.DateTimeFormat().resolvedOptions().timeZone??"system"}static arcadeDateAndZoneToArcadeDate(e,r){let n=co(r);return e.isUnknownTimeZone||n===Yr.instance?t.fromParts(e.year,e.monthJS+1,e.day,e.hour,e.minute,e.second,e.millisecond,n):new t(e._date.setZone(n))}static dateJSToArcadeDate(e){return new t(Te.fromJSDate(e,{zone:"system"}))}static dateJSAndZoneToArcadeDate(e,r="system"){let n=co(r);return new t(Te.fromJSDate(e,{zone:n}))}static unknownEpochToArcadeDate(e){return new t(Te.fromMillis(e,{zone:Yr.instance}))}static unknownDateJSToArcadeDate(e){return new t(Te.fromMillis(e.getTime(),{zone:Yr.instance}))}static epochToArcadeDate(e,r="system"){let n=co(r);return new t(Te.fromMillis(e,{zone:n}))}static dateTimeToArcadeDate(e){return new t(e)}clone(){return new t(this._date)}changeTimeZone(e){let r=co(e);return t.dateTimeToArcadeDate(this._date.setZone(r))}static dateTimeAndZoneToArcadeDate(e,r){let n=co(r);return e.zone===Yr.instance||n===Yr.instance?t.fromParts(e.year,e.month,e.day,e.hour,e.minute,e.second,e.millisecond,n):new t(e.setZone(n))}static nowToArcadeDate(e){let r=co(e);return new t(Te.fromJSDate(new Date,{zone:r}))}static nowUTCToArcadeDate(){return new t(Te.utc())}get isSystem(){return this.timeZone==="system"||this.timeZone===t.systemTimeZoneCanonicalName}equals(e){return this.isSystem&&e.isSystem?this.toNumber()===e.toNumber():this.isUnknownTimeZone===e.isUnknownTimeZone&&this._date.equals(e._date)}get isUnknownTimeZone(){return this._date.zone===Yr.instance}get isValid(){return this._date.isValid}get hour(){return this._date.hour}get second(){return this._date.second}get day(){return this._date.day}get dayOfWeekISO(){return this._date.weekday}get dayOfWeekJS(){let e=this._date.weekday;return e>6&&(e=0),e}get millisecond(){return this._date.millisecond}get monthISO(){return this._date.month}get weekISO(){return this._date.weekNumber}get yearISO(){return this._date.weekYear}get monthJS(){return this._date.month-1}get year(){return this._date.year}get minute(){return this._date.minute}get zone(){return this._date.zone}get timeZoneOffset(){return this.isUnknownTimeZone?0:this._date.offset}get timeZone(){if(this.isUnknownTimeZone)return"unknown";if(this._date.zone.type==="system")return"system";let e=this.zone;return e.type==="fixed"?e.fixed===0?"UTC":e.formatOffset(0,"short"):e.name}stringify(){return JSON.stringify(this.toJSDate())}plus(e){return new t(this._date.plus(e))}diff(e,r="milliseconds"){return this._date.diff(e._date,r)[r]}toISODate(){return this._date.toISODate()}toISOString(e){return e?this._date.toISO({suppressMilliseconds:!0,includeOffset:!this.isUnknownTimeZone}):this._date.toISO({includeOffset:!this.isUnknownTimeZone})}toISOTime(e,r){return this._date.toISOTime({suppressMilliseconds:e,includeOffset:r&&!this.isUnknownTimeZone})}toFormat(e,r){return this.isUnknownTimeZone&&(e=e.replaceAll("Z","")),this._date.toFormat(e,r)}toJSDate(){return this._date.toJSDate()}toSQLValue(){return this._date.toFormat("yyyy-LL-dd HH:mm:ss")}toSQLWithKeyword(){return`timestamp '${this.toSQLValue()}'`}toDateTime(){return this._date}toNumber(){return this._date.toMillis()}getTime(){return this._date.toMillis()}toUTC(){return new t(this._date.toUTC())}toLocal(){return new t(this._date.toLocal())}toString(){return this.toISOString(!0)}static fromReaderAsTimeStampOffset(e){if(!e)return null;let r=Te.fromISO(e,{setZone:!0});return new t(r)}}});function kt(t){return t?{remove(){t&&(t(),t=void 0)}}:SB}function xB(t){t.forEach(e=>e?.remove())}function Wl(t){return kt(()=>xB(t))}var SB,ci=N(()=>{SB={remove:()=>{}}});function H8(){let t=QS?.getAttribute("lang"),e=globalThis.navigator?.language;return CB??t??e??"en"}function li(){return Th===void 0&&(Th=H8()),Th}function Y8(t=li()){return TB.exec(t)?.groups}function KS(t){return yw.push(t),kt(()=>yw.splice(yw.indexOf(t),1))}function zp(t){return bw.push(t),kt(()=>bw.splice(bw.indexOf(t),1))}function q8(){let t=EB??H8();Th!==t&&([...bw].forEach(e=>e(t)),Th=t,[...yw].forEach(e=>e(t)))}var EB,Th,CB,QS,TB,yw,bw,qa=N(()=>{ci();CB=globalThis.esriConfig?.locale??globalThis.dojoConfig?.locale,QS=globalThis.document?.documentElement;TB=/^(?<language>[a-z]{2,3})(?:-[a-z]{3})?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;yw=[];bw=[];globalThis.addEventListener?.("languagechange",q8),QS&&new MutationObserver(()=>{q8()}).observe(QS,{attributeFilter:["lang"]})});function Z8(t){t=t.replaceAll(/LTS|LT|L{1,4}|l{1,4}/g,"[$&]");let e="",r=/(\[[^[]*\])|(\\)?([Hh]mm(ss)?|Mo|M{1,4}|Do|DDDo|D{1,4}|d{2,4}|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g;for(let n of t.match(r)||[])switch(n){case"D":e+="d";break;case"DD":e+="dd";break;case"DDD":e+="o";break;case"d":e+="c";break;case"ddd":e+="ccc";break;case"dddd":e+="cccc";break;case"M":e+="L";break;case"MM":e+="LL";break;case"MMM":e+="LLL";break;case"MMMM":e+="LLLL";break;case"YY":e+="yy";break;case"Y":case"YYYY":e+="yyyy";break;case"Q":e+="q";break;case"X":case"x":e+=n;break;default:n.length>=2&&n.slice(0,1)==="["&&n.slice(-1)==="]"?e+=`'${n.slice(1,-1)}'`:e+=`'${n}'`}return e}var X8,Zr,Ph=N(()=>{j8();qa();Nn();X8="esri.core.sql.dateonly",Zr=class t{constructor(e,r,n){this._year=e,this._month=r,this._day=n,this.declaredRootClass=X8}static isDateOnly(e){return typeof e=="object"&&e!=null&&"declaredRootClass"in e&&e.declaredRootClass===X8}get month(){return this._month}get monthJS(){return this._month-1}get year(){return this._year}get day(){return this._day}get isValid(){return this.toDateTime("unknown").isValid}equals(e){return t.isDateOnly(e)&&e.day===this.day&&e.month===this.month&&e.year===this.year}clone(){return new t(this._year,this._month,this._day)}toDateTime(e){return Te.fromObject({day:this.day,month:this.month,year:this.year},{zone:co(e)})}toDateTimeLuxon(e){return Te.fromObject({day:this.day,month:this.month,year:this.year},{zone:co(e)})}toString(){return`${this.year.toString().padStart(4,"0")}-${this.month.toString().padStart(2,"0")}-${this.day.toString().padStart(2,"0")}`}toFormat(e=null,r=!0){if(e===null||e==="")return this.toString();if(r&&(e=Z8(e)),!e)return"";let n=this.toDateTime("unknown");return Ch.dateTimeToArcadeDate(n).toFormat(e,{locale:li(),numberingSystem:"latn"})}toArcadeDate(){let e=this.toDateTime("unknown");return Ch.dateTimeToArcadeDate(e)}toNumber(){return this.toDateTime("unknown").toMillis()}toJSDate(){return this.toDateTime("unknown").toJSDate()}toStorageFormat(){return this.toFormat("yyyy-LL-dd",!1)}toSQLValue(){return this.toFormat("yyyy-LL-dd",!1)}toSQLWithKeyword(){return"date '"+this.toFormat("yyyy-LL-dd",!1)+"'"}plus(e,r){return t.fromDateTime(this.toUTCDateTime().plus({[e]:r}))}toUTCDateTime(){return Te.utc(this.year,this.month,this.day,0,0,0,0)}difference(e,r){switch(r.toLowerCase()){case"days":case"day":case"d":return this.toUTCDateTime().diff(e.toUTCDateTime(),"days").days;case"months":case"month":return this.toUTCDateTime().diff(e.toUTCDateTime(),"months").months;case"minutes":case"minute":case"m":return r==="M"?this.toUTCDateTime().diff(e.toUTCDateTime(),"months").months:this.toUTCDateTime().diff(e.toUTCDateTime(),"minutes").minutes;case"seconds":case"second":case"s":return this.toUTCDateTime().diff(e.toUTCDateTime(),"seconds").seconds;case"milliseconds":case"millisecond":case"ms":default:return this.toUTCDateTime().diff(e.toUTCDateTime(),"milliseconds").milliseconds;case"hours":case"hour":case"h":return this.toUTCDateTime().diff(e.toUTCDateTime(),"hours").hours;case"years":case"year":case"y":return this.toUTCDateTime().diff(e.toUTCDateTime(),"years").years}}static fromMilliseconds(e){let r=Te.fromMillis(e,{zone:St.utcInstance});return r.isValid?t.fromParts(r.year,r.month,r.day):null}static fromSeconds(e){let r=Te.fromSeconds(e,{zone:St.utcInstance});return r.isValid?t.fromParts(r.year,r.month,r.day):null}static fromReader(e){if(!e)return null;let r=e.split("-");return r.length!==3?null:new t(parseInt(r[0],10),parseInt(r[1],10),parseInt(r[2],10))}static fromParts(e,r,n){let i=new t(e,r,n);return i.isValid===!1?null:i}static fromDateJS(e){return t.fromParts(e.getFullYear(),e.getMonth()+1,e.getDay())}static fromDateTime(e){return t.fromParts(e.year,e.month,e.day)}static fromSqlTimeStampOffset(e){return this.fromDateTime(e.toDateTime())}static fromString(e,r=null){if(e===""||e===null)return null;let n=[];if(r)(r=Z8(r))&&n.push(r);else if(r===null||r===""){let i=Te.fromISO(e,{setZone:!0});return i.isValid?t.fromParts(i.year,i.month,i.day):null}for(let i of n){let o=Te.fromFormat(e,r??i);if(o.isValid)return new t(o.year,o.month,o.day)}return null}static fromNow(e="system"){let r=Te.fromJSDate(new Date).setZone(co(e));return new t(r.year,r.month,r.day)}}});var J,PB,ne,Ha=N(()=>{Na();(function(t){t.InvalidFunctionParameters="InvalidFunctionParameters",t.InvalidValueForAggregateFunction="InvalidValueForAggregateFunction",t.UnsupportedSqlFunction="UnsupportedSqlFunction",t.UnsupportedOperator="UnsupportedOperator",t.UnsupportedSyntax="UnsupportedSyntax",t.UnsupportedIsRhs="UnsupportedIsRhs",t.UnsupportedIsLhs="UnsupportedIsLhs",t.InvalidDataType="InvalidDataType",t.CannotCastValue="CannotCastValue",t.FunctionNotRecognized="FunctionNotRecognized",t.InvalidTime="InvalidTime",t.InvalidParameterCount="InvalidParameterCount",t.InvalidTimeStamp="InvalidTimeStamp",t.InvalidDate="InvalidDate",t.InvalidOperator="InvalidOperator",t.IllegalInterval="IllegalInterval",t.YearMonthIntervals="YearMonthIntervals",t.PrimarySecondaryQualifiers="PrimarySecondaryQualifiers",t.MissingStatisticParameters="MissingStatisticParameters"})(J||(J={}));PB={[J.InvalidValueForAggregateFunction]:"Invalid value used in aggregate function",[J.MissingStatisticParameters]:"Statistic does not have 1 or 0 Parameters",[J.InvalidFunctionParameters]:"Invalid parameters for call to {function}",[J.UnsupportedIsLhs]:"Unsupported left hand expression in is statement",[J.UnsupportedIsRhs]:"Unsupported right hand expression in is statement",[J.UnsupportedOperator]:"Unsupported operator - {operator}",[J.UnsupportedSyntax]:"Unsupported syntax - {node}",[J.UnsupportedSqlFunction]:"Sql function not found = {function}",[J.InvalidDataType]:"Invalid sql data type",[J.InvalidDate]:"Invalid date encountered",[J.InvalidOperator]:"Invalid operator encountered",[J.InvalidTime]:"Invalid time encountered",[J.IllegalInterval]:"Illegal interval",[J.FunctionNotRecognized]:"Function not recognized",[J.InvalidTimeStamp]:"Invalid timestamp encountered",[J.InvalidParameterCount]:"Invalid parameter count for call to {name}",[J.PrimarySecondaryQualifiers]:"Primary and Secondary SqlInterval qualifiers not supported",[J.YearMonthIntervals]:"Year-Month Intervals not supported",[J.CannotCastValue]:"Cannot cast value to the required data type"},ne=class t extends Error{constructor(e,r){super(qo(PB[e],r)),this.declaredRootClass="esri.arcade.featureset.support.sqlerror",Error.captureStackTrace&&Error.captureStackTrace(this,t)}}});function J8(t){return Number.isNaN(t)||t===0?t:Math.trunc(t)}var Q8,cn,Mh=N(()=>{Nn();Q8="esri.core.sql.SqlTimeStampOffset",cn=class t{constructor(e){this._timeStampOffset=e,this.declaredRootClass=Q8,this._date=null}static isTimestampOffset(e){return typeof e=="object"&&e!=null&&"declaredRootClass"in e&&e.declaredRootClass===Q8}toDateTime(){return this._date??(this._date=Te.fromISO(this._timeStampOffset,{setZone:!0})),this._date}get isValid(){return this.toDateTime().isValid}get timezoneOffsetHour(){return J8(this.toDateTime().offset/60)}get timezoneOffsetMinutes(){return J8(this.toDateTime().offset%60)}toMilliseconds(){return this.toDateTime().toMillis()}get hour(){return this.toDateTime().hour}get minute(){return this.toDateTime().minute}get second(){return this.toDateTime().second}get day(){return this.toDateTime().day}get month(){return this.toDateTime().month}get year(){return this.toDateTime().year}startOfDay(){return t.fromDateTime(this.toDateTime().startOf("day"))}static fromJSDate(e){return new t(Te.fromJSDate(e).toISO({includeOffset:!0}))}static fromDateTime(e){return new t(e.toISO({includeOffset:!0}))}static fromParts(e,r,n=0,i=0,o=0,s=0,c=0,a=!1,d=0,h=0){let g=`${e.toString().padStart(4,"0")}-${r.toString().padStart(2,"0")}-${n.toString().padStart(2,"0")}`,v="";s<10&&(v="0");let E=`${i.toString().padStart(2,"0")}:${o.toString().padStart(2,"0")}:${v+s.toString()}`;c!==0&&(E+="."+c.toString().padStart(3,"0"));let M=`${a?"-":"+"}${d.toString().padStart(2,"0")}:${h.toString().padStart(2,"0")}`;return new t(g+"T"+E+M)}toStorageFormat(){return this._timeStampOffset}toString(){return this._timeStampOffset}toSQLValue(){let e=this.toDateTime().toSQL({includeOffset:!0,includeOffsetSpace:!0});return e&&(e=e.replace(".000","")),e}toSQLWithKeyword(){return`timestamp '${this.toSQLValue()}'`}addMilliseconds(e){let r=this.toDateTime().plus(e);return t.fromDateTime(r)}}});function ae(t,e,r,n){var i,o=arguments.length,s=o<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(s=(o<3?i(s):o>3?i(e,r,s):i(e,r))||s);return o>3&&s&&Object.defineProperty(e,r,s),s}var ui=N(()=>{});var vw,_w=N(()=>{vw="20250310"});var wt,Ya=N(()=>{$t();jo();_w();wt={apiKey:void 0,applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&(P6(wt,globalThis.esriConfig,!0),delete wt.has),!wt.assetsPath){{let t="4.33.0";wt.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${t}-next.${vw}/assets`}wt.defaultAssetsPath=wt.assetsPath}});function MB(t,e,...r){console[t](`[${e}]`,...r)}function AB(...t){return k6(JSON.stringify(t,(r,n)=>typeof n!="object"||Array.isArray(n)?n:"[Object]"))}var K8,Xr,nt,Wt=N(()=>{Ya();$t();Na();K8={info:0,warn:1,error:2,none:3},Xr=class Xr{constructor(e){this.level=null,this._module="",this._parent=null,this.writer=null,this._loggedMessages={error:new Map,warn:new Map,info:new Map},e.level!=null&&(this.level=e.level),e.writer!=null&&(this.writer=e.writer),this._module=e.module,Xr._loggers.set(this.module,this);let r=this.module.lastIndexOf(".");r!==-1&&(this._parent=Xr.getLogger(this.module.slice(0,r)))}get module(){return this._module}get parent(){return this._parent}error(...e){this._log("error","always",...e)}warn(...e){this._log("warn","always",...e)}info(...e){this._log("info","always",...e)}errorOnce(...e){this._log("error","once",...e)}warnOnce(...e){this._log("warn","once",...e)}infoOnce(...e){this._log("info","once",...e)}errorOncePerTick(...e){this._log("error","oncePerTick",...e)}warnOncePerTick(...e){this._log("warn","oncePerTick",...e)}infoOncePerTick(...e){this._log("info","oncePerTick",...e)}get test(){}static get test(){}static getLogger(e){return e=typeof e!="string"?e.declaredClass:e,Xr._loggers.get(e)||new Xr({module:e})}_log(e,r,...n){if(this._matchLevel(e)){if(r!=="always"&&!Xr._throttlingDisabled){let i=AB(n),o=this._loggedMessages[e].get(i);if(r==="once"&&o!=null||r==="oncePerTick"&&o&&o>=Xr._tickCounter)return;this._loggedMessages[e].set(i,Xr._tickCounter),Xr._scheduleTickCounterIncrement()}for(let i of wt.log.interceptors)if(i(e,this.module,...n))return;this._inheritedWriter()(e,this.module,...n)}}_parentWithMember(e,r){let n=this;for(;n!=null;){let i=n[e];if(i!=null)return i;n=n.parent}return r}_inheritedWriter(){return this._parentWithMember("writer",MB)}_matchLevel(e){let r=wt.log.level||"warn";return K8[this._parentWithMember("level",r)]<=K8[e]}static _scheduleTickCounterIncrement(){Xr._tickCounterScheduled||(Xr._tickCounterScheduled=!0,Promise.resolve().then(()=>{Xr._tickCounter++,Xr._tickCounterScheduled=!1}))}};Xr._loggers=new Map,Xr._tickCounter=0,Xr._tickCounterScheduled=!1,Xr._throttlingDisabled=!1;nt=Xr});function Wp(t,e,r){let n=t.get(e);if(n!==void 0)return n;let i=r();return t.set(e,i),i}var Sw=N(()=>{});function IB(t){return t==null?t:new Date(t)}function LB(t){return t==null?t:!!t}function kB(t){return t==null?t:t.toString()}function nx(t,e=0){return t==null?t:(t=parseFloat(t),isNaN(t)?e:t)}function OB(t){return t==null?t:Math.round(parseFloat(t))}function NB(t){return null}function tP(t,e){return r=>{let n=t(r);return e.step!=null&&(n=Math.round(n/e.step)*e.step),e.min!=null&&(n=Math.max(e.min,n)),e.max!=null&&(n=Math.min(e.max,n)),n}}function rP(t){return t?.constructor&&t.constructor.__accessorMetadata__!==void 0}function xw(t,e){return e!=null&&t&&!(e instanceof t)}function nP(t){return t&&"isCollection"in t}function eP(t){return t?.Type?typeof t.Type=="function"?t.Type:t.Type.base:null}function RB(t,e){if(!e?.constructor||!nP(e.constructor))return ex(t,e)?e:new t(e);let r=eP(t.prototype.itemType),n=eP(e.constructor.prototype.itemType);return r?n?r===n?e:r.prototype.isPrototypeOf(n.prototype)?new t(e):(ex(t,e),e):new t(e):e}function ex(t,e){return!!rP(e)&&(Bp().error("Accessor#set","Assigning an instance of '"+(e.declaredClass||"unknown")+"' which is not a subclass of '"+Ew(t)+"'"),!0)}function DB(t,e){return e==null?e:nP(t)?RB(t,e):xw(t,e)?ex(t,e)?e:new t(e):e}function Ew(t){return t?.prototype?.declaredClass||"unknown"}function FB(t){switch(t){case Number:return e=>nx(e);case Yo:return OB;case Boolean:return LB;case String:return kB;case Date:return IB;case Ih:return NB;default:return Wp($B,t,()=>DB.bind(null,t))}}function Ho(t,e){let r=FB(t);return arguments.length===1?r:r(e)}function Gp(t,e,r){return arguments.length===1?Gp.bind(null,t):e&&(Array.isArray(e)?e.map(n=>t(n,r)):[t(e,r)])}function iP(t,e){return arguments.length===1?Gp(r=>Ho(t,r)):Gp(r=>Ho(t,r),e)}function oP(t,e,r){return e!==0&&Array.isArray(r)?r.map(n=>oP(t,e-1,n)):t(r)}function Ah(t,e,r){if(arguments.length===2)return o=>Ah(t,e,o);if(!r)return r;r=oP(t,e,r);let n=e,i=r;for(;n>0&&Array.isArray(i);)n--,i=i[0];if(i!==void 0)for(let o=0;o<n;o++)r=[r];return r}function sP(t,e,r){return arguments.length===2?Ah(n=>Ho(t,n),e):Ah(n=>Ho(t,n),e,r)}function Cw(t){return!!Array.isArray(t)&&!t.some(e=>{let r=typeof e;return!(r==="string"||r==="number"||r==="function"&&t.length>1)})}function Tw(t,e){if(arguments.length===2)return Tw(t).call(null,e);let r=new Set,n=t.filter(c=>typeof c!="function"),i=t.filter(c=>typeof c=="function");for(let c of t)typeof c!="string"&&typeof c!="number"||r.add(c);let o=null,s=null;return(c,a)=>{if(c==null)return c;let d=typeof c,h=d==="string"||d==="number";return h&&(r.has(c)||i.some(g=>d==="string"&&g===String||d==="number"&&g===Number))||d==="object"&&i.some(g=>!xw(c,g))?c:(h&&n.length?(o||(o=n.map(g=>typeof g=="string"?`'${g}'`:`${g}`).join(", ")),Bp().error("Accessor#set",`'${c}' is not a valid value for this property, only the following values are valid: ${o}`)):typeof c=="object"&&i.length?(s||(s=i.map(g=>Ew(g)).join(", ")),Bp().error("Accessor#set",`'${c}' is not a valid value for this property, value must be one of ${s}`)):Bp().error("Accessor#set",`'${c}' is not a valid value for this property`),a&&(a.valid=!1),null)}}function Pw(t,e){if(arguments.length===2)return Pw(t).call(null,e);let r={},n=[],i=[];for(let a in t.typeMap){let d=t.typeMap[a];r[a]=Ho(d),n.push(Ew(d)),i.push(a)}let o=()=>`'${n.join("', '")}'`,s=()=>`'${i.join("', '")}'`,c=typeof t.key=="string"?a=>a[t.key]:t.key;return a=>{if(t.base&&!xw(t.base,a)||a==null)return a;let d=c(a)||t.defaultKeyValue,h=r[d];if(!h)return Bp().error("Accessor#set",`Invalid property value, value needs to be one of ${o()}, or a plain object that can autocast (having .type = ${s()})`),null;if(!xw(t.typeMap[d],a))return a;if(typeof t.key=="string"&&!rP(a)){let g={};for(let v in a)v!==t.key&&(g[v]=a[v]);return h(g)}return h(a)}}function aP(t){if(!t||!("type"in t))return!1;switch(t.type){case"native":case"array":case"one-of":return!0}return!1}function ix(t){switch(t.type){case"native":return Ho(t.value);case"array":return Gp(ix(t.value));case"one-of":return UB(t);default:return null}}function UB(t){let e=null;return(r,n)=>rx(r,t)?r:(e==null&&(e=tx(t)),Bp().error("Accessor#set",`Invalid property value, value needs to be of type ${e}`),n&&(n.valid=!1),null)}function tx(t){switch(t.type){case"native":switch(t.value){case Number:return"number";case String:return"string";case Boolean:return"boolean";case Yo:return"integer";case Date:return"date";case Ih:return"null";default:return Ew(t.value)}case"array":return`array of ${tx(t.value)}`;case"one-of":{let e=t.values.map(r=>tx(r));return`one of ${e.slice(0,-1)} or ${e[e.length-1]}`}}return"unknown"}function rx(t,e){if(t==null)return!0;switch(e.type){case"native":switch(e.value){case Number:case Yo:return typeof t=="number";case Boolean:return typeof t=="boolean";case String:return typeof t=="string";case Ih:return t===null}return t instanceof e.value;case"array":return!!Array.isArray(t)&&!t.some(r=>!rx(r,e.value));case"one-of":return e.values.some(r=>rx(t,r))}}var Bp,$B,Yo,Ih,jp=N(()=>{$t();Wt();Sw();Bp=()=>nt.getLogger("esri.core.accessorSupport.ensureTypes");$B=new WeakMap;Yo=class{},Ih=class{}});function Zo(t){return t.__accessor__??null}function lP(t,e){return t?.metadata?.[e]!=null}function qp(t,e,r){return r?Mw(t,e,{policy:r,path:""}):Mw(t,e,null)}function Mw(t,e,r){return e?Object.keys(e).reduce((n,i)=>{let o=i,s=null,c="merge";if(r&&(s=r.path?`${r.path}.${i}`:i,c=r.policy(s)),c==="replace"||c==="replace-arrays"&&Array.isArray(n[o]))return n[o]=e[o],n;if(n[o]===void 0)return n[o]=Zt(e[o]),n;let a=n[o],d=e[o];if(a===d)return n;if(Array.isArray(d)||Array.isArray(n))a=a?Array.isArray(a)?n[o]=a.slice():n[o]=[a]:n[o]=[],d&&(Array.isArray(d)||(d=[d]),d.forEach(h=>{a.includes(h)||a.push(h)}));else if(d&&typeof d=="object")if(r){let h=r.path;r.path=s,n[o]=Mw(a,d,r),r.path=h}else n[o]=Mw(a,d,null);else n.hasOwnProperty(i)&&!e.hasOwnProperty(i)||(n[o]=d);return n},t||{}):t}function Aw(t){return Array.isArray(t)?t:t.split(".")}function cP(t){return t.includes(",")?t.split(",").map(e=>e.trim()):[t.trim()]}function VB(t){if(Array.isArray(t)){let e=[];for(let r of t)e.push(...cP(r));return e}return cP(t)}function ox(t,e,r,n){let i=VB(e);if(i.length!==1){let o=i.map(s=>n(t,s,r));return Wl(o)}return n(t,i[0],r)}var Za=N(()=>{ci();kn()});function uP(t,e){let r=t[t.length-1]==="?"?t.slice(0,-1):t;if(e.getItemAt!=null||Array.isArray(e)){let i=parseInt(r,10);if(!isNaN(i))return Array.isArray(e)?e[i]:e.at(i)}let n=Zo(e);return lP(n,r)?n.get(r):e[r]}function dP(t,e,r){if(t==null)return t;let n=uP(e[r],t);return!n&&r<e.length-1?void 0:r===e.length-1?n:dP(n,e,r+1)}function Bl(t,e,r=0){return typeof e!="string"||e.includes(".")?dP(t,Aw(e),r):uP(e,t)}function Xo(t,e){return Bl(t,e)}function sx(t,e){return Bl(e,t)!==void 0}var Gl=N(()=>{Za()});function Xa(t){let e=t.constructor.__accessorMetadata__,r=Object.prototype.hasOwnProperty.call(t.constructor,"__accessorMetadata__");if(e){if(!r){e=Object.create(e);for(let n in e)e[n]=Zt(e[n]);Object.defineProperty(t.constructor,"__accessorMetadata__",{value:e,enumerable:!1,configurable:!0,writable:!0})}}else e={},Object.defineProperty(t.constructor,"__accessorMetadata__",{value:e,enumerable:!1,configurable:!0,writable:!0});return t.constructor.__accessorMetadata__}function Hp(t,e){let r=Xa(t),n=r[e];return n||(n=r[e]={}),n}function pP(t,e){return qp(t,e,WB)}function WB(t){return zB.test(t)?"replace":"merge"}var zB,Yp=N(()=>{kn();Za();zB=/^(?:[^.]+\.)?(?:value|type|(?:json\.type|json\.origins\.[^.]\.type))$/});function BB(t,e){return t.replaceAll(/\$\{([^\s:}]*)(?::([^\s:}]+))?\}/g,(r,n)=>n===""?"$":(Mi(n,e)??"").toString())}var Zp,ax=N(()=>{jo();Zp=class{constructor(e,r,n=void 0){this.name=e,this.details=n,this.message=(r&&BB(r,n))??""}toString(){return"["+this.name+"]: "+this.message}}});var We,Rn=N(()=>{kn();Wt();ax();We=class t extends Zp{constructor(e,r,n){super(e,r,n)}toJSON(){if(this.details!=null)try{return{name:this.name,message:this.message,details:JSON.parse(JSON.stringify(this.details,(e,r)=>{if(r&&typeof r=="object"&&typeof r.toJSON=="function")return r;try{return Zt(r)}catch{return"[object]"}}))}}catch(e){throw nt.getLogger("esri.core.Error").error(e),e}return{name:this.name,message:this.message,details:this.details}}static fromJSON(e){return new t(e.name,e.message,e.details)}};We.prototype.type="error"});function Xp(t,e,r){if(t&&e)if(typeof e=="object")for(let n of Object.getOwnPropertyNames(e))Xp(t,n,e[n]);else{if(e.includes(".")){let i=e.split("."),o=i.splice(-1,1)[0];return void Xp(Xo(t,i),o,r)}let n=t.__accessor__;n!=null&&GB(e,n),t[e]=r}}function GB(t,e){if(pe("esri-unknown-property-errors")&&!jB(t,e))throw new We("set:unknown-property",qB(t,e))}function jB(t,e){return e.metadata[t]!=null}function qB(t,e){return"setting unknown property '"+t+"' on instance of "+e.host.declaredClass}var cx=N(()=>{Rn();$t();Wt();Gl()});function fe(t={}){return(e,r)=>{if(e===Function.prototype)throw new Error(`Inappropriate use of @property() on a static field: ${e.name}.${r}. Accessor does not support static properties.`);let n=Object.getOwnPropertyDescriptor(e,r),i=Hp(e,r);n&&(n.get||n.set?(i.get=n.get||i.get,i.set=n.set||i.set):"value"in n&&("value"in t&&nt.getLogger("esri.core.accessorSupport.decorators.property").warn(`@property() will redefine the value of "${r}" on "${e.constructor.name}" already defined in the metadata`,t),i.value=t.value=n.value)),t.readOnly!=null&&(i.readOnly=t.readOnly);let o=t.aliasOf;if(o){let a=typeof o=="string"?o:o.source,d=typeof o=="string"?null:o.overridable===!0,h;i.dependsOn=[a],i.get=function(){let g=Xo(this,a);if(typeof g=="function"){h||(h=a.split(".").slice(0,-1).join("."));let v=Xo(this,h);v&&(g=g.bind(v))}return g},i.readOnly||(i.set=d?function(g){this._override(r,g)}:function(g){Xp(this,a,g)})}let s=t.type,c=t.types;if(!i.cast){let a;s?a=HB(s):c&&(a=Array.isArray(c)?Gp(Pw(c[0])):Pw(c)),t.cast=YB(t.cast,a)}pP(i,t),t.range&&(i.cast=tP(i.cast,t.range))}}function Iw(t,e,r){let n=Hp(t,r);n.json||(n.json={});let i=n.json;return e!==void 0&&(i.origins||(i.origins={}),i.origins[e]||(i.origins[e]={}),i=i.origins[e]),i}function HB(t){let e=0,r=t;if(aP(t))return ix(t);for(;Array.isArray(r)&&r.length===1&&typeof r[0]!="string"&&typeof r[0]!="number";)r=r[0],e++;let n=r;if(Cw(n))return e===0?Tw(n):Ah(Tw(n),e);if(e===1)return iP(n);if(e>1)return sP(n,e);let i=t;return i.from?i.from:Ho(i)}function YB(t,e){if(t||e)return t?e?(r,n)=>e(t(r,n),n):t:e}var di=N(()=>{Wt();jp();Gl();Yp();cx()});var Lw,lx=N(()=>{Lw=Symbol("Accessor-beforeDestroy")});var Er,Lh=N(()=>{(function(t){t[t.INITIALIZING=0]="INITIALIZING",t[t.CONSTRUCTING=1]="CONSTRUCTING",t[t.CONSTRUCTED=2]="CONSTRUCTED",t[t.DESTROYING=3]="DESTROYING",t[t.DESTROYED=4]="DESTROYED"})(Er||(Er={}))});var ct,kw=N(()=>{(function(t){t[t.Dirty=1]="Dirty",t[t.Overridden=2]="Overridden",t[t.Computing=4]="Computing",t[t.NonNullable=8]="NonNullable",t[t.HasDefaultValue=16]="HasDefaultValue",t[t.DepTrackingInitialized=32]="DepTrackingInitialized",t[t.AutoTracked=64]="AutoTracked",t[t.ExplicitlyTracking=128]="ExplicitlyTracking"})(ct||(ct={}))});var Jo,kh=N(()=>{Jo=class{constructor(e){this.accessed=void 0,this._handles=void 0,this._observer=e}destroy(){this.accessed?.clear(),this.clear()}onAccessed(e){this._observer!=null&&e!==this._observer&&(this.accessed==null&&(this.accessed=new Set),this.accessed.add(e))}onTrackingEnd(){this._observer!=null&&(this.clear(),this.accessed!=null&&(this._handles==null&&(this._handles=[]),this.accessed.forEach(e=>{this._handles.push(e.observe(this._observer))}),this.accessed.clear()))}clear(){if(this._handles!=null){for(let e=0;e<this._handles.length;++e)this._handles[e].remove();this._handles.length=0}}}});function dr(t){Nh.onAccessed(t)}function lo(t,e,r){if(Ow)return ux(t,e,r);let n=null;return hP(t),n=e.call(r),gP(),n}function mP(t,e){return lo(Rw,t,e)}function ux(t,e,r){let n=Ow;Ow=!0,hP(t);let i=null;try{i=e.call(r)}catch(o){Nw&&nt.getLogger("esri.core.accessorSupport.tracking").error(o)}return gP(),Ow=n,i}function hP(t){Nh=t,Oh.push(t)}function gP(){let t=Oh.length;if(t>1){let e=Oh.pop();Nh=Oh[t-2],e.onTrackingEnd()}else if(t===1){let e=Oh.pop();Nh=Rw,e.onTrackingEnd()}else Nh=Rw}function dx(t,e){if(e.flags&ct.DepTrackingInitialized)return;e.flags|=ct.DepTrackingInitialized;let r=Nw;Nw=!1,e.flags&ct.AutoTracked?ux(e.trackingTarget,e.metadata.get,t):px(t,e),Nw=r}function px(t,e){e.flags&ct.ExplicitlyTracking||(e.flags|=ct.ExplicitlyTracking,ux(e.trackingTarget,()=>{let r=e.metadata.dependsOn||ZB;for(let n of r)if(typeof n!="string"||n.includes(".")){let i=Aw(n);for(let o=0,s=t;o<i.length&&s!=null&&typeof s=="object";++o)s=fP(s,i[o],o!==i.length-1)}else fP(t,n,!1)}),e.flags&=~ct.ExplicitlyTracking)}function fP(t,e,r){let n=e[e.length-1]==="?"?e.slice(0,-1):e;if(t.getItemAt!=null||Array.isArray(t)){let o=parseInt(n,10);if(!isNaN(o))return Array.isArray(t)?t[o]:t.at(o)}let i=Zo(t);if(i){let o=i.propertiesByName.get(n);o&&(dr(o),dx(t,o))}return r?t[n]:void 0}var Rw,Oh,Nh,Ow,Nw,ZB,Os=N(()=>{$t();Wt();Za();kw();kh();Rw=new Jo,Oh=[],Nh=Rw;Ow=!1,Nw=!1;ZB=[]});function wP(t){if(t.json&&t.json.origins){let e=t.json.origins,r={"web-document":["web-scene","web-map"]};for(let n in r)if(e[n]){let i=e[n];r[n].forEach(o=>{e[o]=i}),delete e[n]}}}var yP=N(()=>{});var Rh,bP=N(()=>{ax();Rh=class extends Zp{constructor(e,r,n){super(e,r,n)}};Rh.prototype.type="warning"});function Dw(t){return!!t&&t.prototype?.declaredClass&&t.prototype.declaredClass.indexOf("esri.core.Collection")===0}var fx=N(()=>{});function hx(t,e,r){t&&(!r&&!e.read||e.read?.reader||e.read?.enabled===!1||KB(t)&&Ms("read.reader",XB(t),e))}function XB(t){let e=t.ndimArray??0;if(e>1)return QB(t);if(e===1)return vP(t);if("type"in t&&SP(t.type)){let r=t.type.prototype?.itemType?.Type,n=vP(typeof r=="function"?{type:r}:{types:r});return(i,o,s)=>{let c=n(i,o,s);return c&&new t.type(c)}}return gx(t)}function gx(t){return"type"in t?JB(t.type):eG(t.types)}function JB(t){return t.prototype.read?(e,r,n)=>{if(e==null)return e;let i=typeof e;if(i!=="object")return void mx().error(`Expected JSON value of type 'object' to deserialize type '${t.prototype.declaredClass}', but got '${i}'`);let o=new t;return o.read(e,n),o}:t.fromJSON}function _P(t,e,r,n){return n!==0&&Array.isArray(e)?e.map(i=>_P(t,i,r,n-1)):t(e,void 0,r)}function QB(t){let e=gx(t),r=_P.bind(null,e),n=t.ndimArray??0;return(i,o,s)=>{if(i==null)return i;i=r(i,s,n);let c=n,a=i;for(;c>0&&Array.isArray(a);)c--,a=a[0];if(a!==void 0)for(let d=0;d<c;d++)i=[i];return i}}function vP(t){let e=gx(t);return(r,n,i)=>{if(r==null)return r;if(Array.isArray(r)){let s=[];for(let c of r){let a=e(c,void 0,i);a!==void 0&&s.push(a)}return s}let o=e(r,void 0,i);return o!==void 0?[o]:void 0}}function SP(t){if(!Dw(t))return!1;let e=t.prototype.itemType;return!(!e||!e.Type)&&(typeof e.Type=="function"?wx(e.Type):xP(e.Type))}function KB(t){return"types"in t?xP(t.types):wx(t.type)}function wx(t){return!Array.isArray(t)&&!!t&&t.prototype&&("read"in t.prototype||"fromJSON"in t||SP(t))}function xP(t){for(let e in t.typeMap)if(!wx(t.typeMap[e]))return!1;return!0}function eG(t){let e=null,r=t.errorContext??"type",n=t.validate;return(i,o,s)=>{if(i==null)return i;let c=typeof i;if(c!=="object")return void mx().error(`Expected JSON value of type 'object' to deserialize, but got '${c}'`);e||(e=tG(t));let a=t.key;if(typeof a!="string")return;let d=i[a],h=d?e[d]:t.defaultKeyValue?t.typeMap[t.defaultKeyValue]:void 0;if(!h){let v=`Type '${d||"unknown"}' is not supported`;return s?.messages&&i&&s.messages.push(new Rh(`${r}:unsupported`,v,{definition:i,context:s})),void mx().error(v)}let g=new h;return g.read(i,s),n?n(g):g}}function tG(t){let e={};for(let r in t.typeMap){let n=t.typeMap[r],i=Xa(n.prototype);if(typeof t.key=="function")continue;let o=i[t.key];if(!o)continue;if(o.json?.type&&Array.isArray(o.json.type)&&o.json.type.length===1&&typeof o.json.type[0]=="string"){e[o.json.type[0]]=n;continue}let s=o.json?.write;if(!s?.writer){e[r]=n;continue}let c=s.target,a=typeof c=="string"?c:t.key,d={};s.writer(r,d,a),d[a]&&(e[d[a]]=n)}return e}var mx,EP=N(()=>{Wt();jo();bP();Yp();fx();mx=()=>nt.getLogger("esri.core.accessorSupport.extensions.serializableProperty.reader")});function MP(t){if(t.json||(t.json={}),TP(t.json),PP(t.json),CP(t.json),t.json.origins)for(let e in t.json.origins)TP(t.json.origins[e]),PP(t.json.origins[e]),CP(t.json.origins[e]);return!0}function CP(t){t.name&&(t.read&&typeof t.read=="object"?t.read.source===void 0&&(t.read.source=t.name):t.read={source:t.name},t.write&&typeof t.write=="object"?t.write.target===void 0&&(t.write.target=t.name):t.write={target:t.name})}function TP(t){typeof t.read=="boolean"?t.read={enabled:t.read}:typeof t.read=="function"?t.read={enabled:!0,reader:t.read}:t.read&&typeof t.read=="object"&&t.read.enabled===void 0&&(t.read.enabled=!0)}function PP(t){typeof t.write=="boolean"?t.write={enabled:t.write}:typeof t.write=="function"?t.write={enabled:!0,writer:t.write}:t.write&&typeof t.write=="object"&&t.write.enabled===void 0&&(t.write.enabled=!0)}var AP=N(()=>{});function yx(t,e){if(!e.write||e.write.writer||e.write.enabled===!1&&!e.write.overridePolicy)return;let r=t?.ndimArray??0;t&&(r===1||"type"in t&&Dw(t.type))?e.write.writer=oG:r>1?e.write.writer=sG(r):e.types?Array.isArray(e.types)?e.write.writer=nG(e.types[0]):e.write.writer=rG(e.types):e.write.writer=Dh}function rG(t){return(e,r,n,i)=>e?IP(e,t,i)?Dh(e,r,n,i):void 0:Dh(e,r,n,i)}function IP(t,e,r){for(let n in e.typeMap)if(t instanceof e.typeMap[n])return!0;if(r?.messages){let n=e.errorContext??"type",i=`Values of type '${(typeof e.key!="function"?t[e.key]:t.declaredClass)??"Unknown"}' cannot be written`;r&&r.messages&&t&&r.messages.push(new We(`${n}:unsupported`,i,{definition:t,context:r})),nt.getLogger("esri.core.accessorSupport.extensions.serializableProperty.writer").error(i)}return!1}function nG(t){return(e,r,n,i)=>!e||!Array.isArray(e)?Dh(e,r,n,i):Dh(e.filter(o=>IP(o,t,i)),r,n,i)}function Dh(t,e,r,n){Ms(r,$w(t,n),e)}function $w(t,e){return t&&typeof t.write=="function"?t.write({},e):t&&typeof t.toJSON=="function"?t.toJSON():typeof t=="number"?iG(t):t}function iG(t){return t===-1/0?-Number.MAX_VALUE:t===1/0?Number.MAX_VALUE:isNaN(t)?null:t}function oG(t,e,r,n){let i;t===null?i=null:t&&typeof t.map=="function"?(i=t.map(o=>$w(o,n)),typeof i.toArray=="function"&&(i=i.toArray())):i=[$w(t,n)],Ms(r,i,e)}function LP(t,e,r){return r!==0&&Array.isArray(t)?t.map(n=>LP(n,e,r-1)):$w(t,e)}function sG(t){return(e,r,n,i)=>{let o;if(e===null)o=null;else{o=LP(e,i,t);let s=t,c=o;for(;s>0&&Array.isArray(c);)s--,c=c[0];if(c!==void 0)for(let a=0;a<s;a++)o=[o]}Ms(n,o,r)}}var kP=N(()=>{Rn();Wt();jo();fx()});function OP(t,e){return vx(t,"any",e?.origin)}function Fw(t,e){return vx(t,"read",e?.origin)}function NP(t,e){return vx(t,"write",e?.origin)}function vx(t,e,r){let n=t?.json;if(n?.origins&&r){let i;i=r==="link-chart"?n.origins[r]&&(e==="any"||e in n.origins[r])?n.origins[r]:n.origins["web-map"]:n.origins[r],i&&(e==="any"||e in i)&&(n=i)}return n}function aG(t){let e=cG(t);if(t.json.origins)for(let r in t.json.origins){let n=t.json.origins[r],i=n.types?lG(n):e;hx(i,n,!1),n.types&&!n.write&&t.json.write?.enabled&&(n.write={...t.json.write}),yx(i,n)}hx(e,t.json,!0),yx(e,t.json)}function cG(t){return t.json.types?bx(t.json):t.type?RP(t):bx(t)}function lG(t){return t.type?RP(t):bx(t)}function RP(t){if(!t.type)return;let e=0,r=t.type;for(;Array.isArray(r)&&!Cw(r);)r=r[0],e++;return{type:r,ndimArray:e}}function bx(t){if(!t.types)return;let e=0,r=t.types;for(;Array.isArray(r);)r=r[0],e++;return{types:r,ndimArray:e}}function DP(t){MP(t)&&(wP(t),aG(t))}var Uw=N(()=>{jp();yP();EP();AP();kP()});function xt(t){return e=>{t??(t="esri.core.Accessor"),e.prototype.declaredClass=t,dG(e);let r=[],n=[],i=e.prototype;for(;i;)i.hasOwnProperty("initialize")&&!_x.has(i.initialize)&&(_x.add(i.initialize),r.push(i.initialize)),i.hasOwnProperty("destroy")&&!Sx.has(i.destroy)&&(Sx.add(i.destroy),n.push(i.destroy)),i=Object.getPrototypeOf(i);_x.clear(),Sx.clear();let o=class extends e{constructor(...c){if(super(...c),this.constructor===o&&typeof this.postscript=="function"){if(r.length&&Object.defineProperty(this,"initialize",{enumerable:!1,configurable:!0,value(){for(let a=r.length-1;a>=0;a--)r[a].call(this)}}),n.length){let a=!1,d=this[Lw];Object.defineProperty(this,"destroy",{enumerable:!1,configurable:!0,value(){if(!a){this.__accessor__.lifecycle=Er.DESTROYING,a=!0,d.call(this);for(let h=0;h<n.length;h++)n[h].call(this)}}})}Object.defineProperty(this,Symbol.dispose,{enumerable:!1,configurable:!0,value(){this.destroy()}}),this.postscript()}}};o.__accessorMetadata__=Xa(e.prototype),o.prototype.declaredClass=t;let s=(t||"AccessorSubclass").split(".").slice(-1)[0];return Object.defineProperty(o,"name",{value:s,configurable:!0}),o}}function uG(t,e){return e.get==null?function(){let r=this.__accessor__,n=r.propertiesByName.get(t);if(n===void 0)return;r.mutable&&dr(n);let i=r.store;return i.has(t)?i.get(t):n.metadata.value}:function(){let r=this.__accessor__,n=r.propertiesByName.get(t);if(n!==void 0)return n.getComputed(r)}}function dG(t){let e=t.prototype,r=Xa(e),n={};for(let i of Object.getOwnPropertyNames(r)){let o=r[i];DP(o),n[i]={enumerable:!0,configurable:!0,get:uG(i,o),set(s){let c=this.__accessor__;if(c!==void 0){if(c.mutable)return c.initialized&&o.readOnly?$P("read-only",i):c.lifecycle===Er.CONSTRUCTED&&o.constructOnly?$P("construct-only",i):void c.set(i,s)}else Object.defineProperty(this,i,{enumerable:!0,configurable:!0,writable:!0,value:s})}}}Object.defineProperties(t.prototype,n)}var _x,Sx,$P,Zn=N(()=>{$t();Wt();lx();Lh();Yp();Os();Uw();_x=new Set,Sx=new Set;$P=(t,e)=>{nt.getLogger("esri.core.Accessor").error(`cannot assign to ${t} property '${e}'`)}});function pG(t,e,r=!1){let n=`\u{1F6D1} DEPRECATED - ${e}`;if(!r)return void t.warn(n);let i=FP.get(t);i||(i=new Set,FP.set(t,i)),i.has(e)||(i.add(e),t.warn(n))}function UP(t,e,r={}){if(pe("esri-deprecation-warnings")){let{moduleName:n}=r;fG(t,`Function: ${(n?n+"::":"")+e+"()"}`,r)}}function fG(t,e,r={}){if(pe("esri-deprecation-warnings")){let{replacement:n,version:i,see:o,warnOnce:s}=r,c=e;if(n&&(c+=`
|
|
1
|
+
"use strict";(()=>{var CU=Object.defineProperty;var pC=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var N=(t,e)=>()=>(t&&(e=t(t=0)),e);var fC=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Fo=(t,e)=>{for(var r in e)CU(t,r,{get:e[r],enumerable:!0})};function xz(t,e){let r=t;for(;r;){if(r===e)return!0;if(!r.parentNode)return!1;r.parentNode instanceof ShadowRoot?r=r.parentNode.host:r=r.parentNode}return!1}function Ez(t,e,r){let{subscribe:n}=Cz(e);return n(i=>{i.some(s=>xz(t,s.target))&&r()})}function Cz(t){let e=t.join(","),r=X2[e];if(r!==void 0)return r;let n=new Set,i=new MutationObserver(s=>n.forEach(c=>c(s)));globalThis.document&&i.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0});let o={subscribe(s){return n.add(s),()=>{n.delete(s),n.size===0&&(i.disconnect(),X2[e]=void 0)}}};return X2[e]=o,o}function Tz(t,e){let r=t;for(;r;){let n=r.closest?.(e);if(n)return n;let i=r.getRootNode?.();if(i===globalThis.document)return null;r=i.host}return null}function Pz(t,e,r){return Tz(t,`[${e}]`)?.getAttribute(e)??r}function _t(t,e,...r){try{return t?.call(e,...r)}catch(n){console.error(n,t)}}async function Um(t,e,...r){try{let n=t?.call(e,...r);return n instanceof Promise?await n:n}catch(n){console.error(n,t)}}async function Lz(t,e,r=""){let n=`${e}/${r}`,i=`${n}${t}.json`;return J2[i]??(J2[i]=n6(t,n)),await J2[i]}async function n6(t,e){let r=`${e}${t}.json`;try{let n=await fetch(r);if(n.ok)return await n.json()}catch(n){return console.error(n),{}}return t===V0?{}:await n6(V0,e)}function Q2(t){let e=Pz(t,"lang",globalThis.navigator?.language||V0);return{lang:e,t9nLocale:i6(e)}}function i6(t){let[e,r]=t.split("-"),n=e.toLowerCase(),i=n;return r&&(i=`${n}-${r.toUpperCase()}`),i=Iz[i]??i,Az.has(i)?i:r?i6(n):V0}function o6(t,e,r,n){let i,o=()=>void kz(t,e(),n).then(s=>{(i?.lang!==s.lang||i.t9nLocale!==s.t9nLocale||i.t9nStrings!==s.t9nStrings)&&r(s),i=s}).catch(console.error);return queueMicrotask(o),Ez(t,["lang"],o)}async function kz(t,e,r=t.tagName.toLowerCase().split("-").slice(1).join("-")){let{lang:n,t9nLocale:i}=Q2(t),o=`${e}/${r}/t9n`,c=r===null?{}:await Lz(i,o,"messages.");return{lang:n,t9nLocale:i,t9nStrings:c}}function s6(t,e){let r=e>Nz?Rz:e/Dz,n=0,i=setInterval(()=>{n+=r,n>=e&&(clearInterval(i),t())},r);return i}function a6(t){return t!==void 0}var Qi,X2,Mz,Az,V0,Iz,J2,z0,Oz,Nz,Rz,Dz,Ki=N(()=>{"use strict";Qi=class{resolve(t){}reject(t){}constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}};X2={};Mz=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","no","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],Az=new Set(Mz),V0="en",Iz={pt:"pt-PT",nb:"no",zh:"zh-CN"};J2={};z0=t=>t.replace(Oz,(e,r)=>`${r===0?"":"-"}${e.toLowerCase()}`),Oz=/[A-Z]+(?![a-z])|[A-Z]/gu;Nz=4e3,Rz=2e3,Dz=4});function pe(t){return typeof La[t]=="function"?La[t]=La[t](globalThis):La[t]}var La,$t=N(()=>{La=globalThis.dojoConfig?.has||globalThis.esriConfig?.has?{...globalThis.dojoConfig?.has,...globalThis.esriConfig?.has}:{},pe.add=(t,e,r,n)=>{(n||La[t]===void 0)&&(La[t]=e),r&&pe(t)},pe.cache=La,pe.add("big-integer-warning-enabled",!0),pe.add("esri-deprecation-warnings",!0),pe.add("esri-tests-disable-screenshots",!1),pe.add("esri-tests-use-full-window",!1),pe.add("esri-tests-post-to-influx",!0),pe.add("esri-cim-animations-enable-status","enabled"),pe.add("esri-cim-animations-spotlight",!1),pe.add("esri-cim-animations-freeze-time",!1),pe.add("enable-feature:multiple-highlights",!0),(()=>{pe.add("host-webworker",globalThis.WorkerGlobalScope!==void 0&&self instanceof globalThis.WorkerGlobalScope);let t=typeof window<"u"&&typeof location<"u"&&typeof document<"u"&&window.location===location&&window.document===document;if(pe.add("host-browser",t),pe.add("host-node",typeof globalThis.process=="object"&&globalThis.process.versions?.node&&globalThis.process.versions.v8),pe.add("dom",t),pe("host-browser")){let e=navigator,r=e.userAgent,n=e.appVersion,i=parseFloat(n);if(pe.add("wp",parseFloat(r.split("Windows Phone")[1])||void 0),pe.add("msapp",parseFloat(r.split("MSAppHost/")[1])||void 0),pe.add("khtml",n.includes("Konqueror")?i:void 0),pe.add("edge",parseFloat(r.split("Edge/")[1])||void 0),pe.add("opr",parseFloat(r.split("OPR/")[1])||void 0),pe.add("webkit",!pe("wp")&&!pe("edge")&&parseFloat(r.split("WebKit/")[1])||void 0),pe.add("chrome",!pe("edge")&&!pe("opr")&&parseFloat(r.split("Chrome/")[1])||void 0),pe.add("android",!pe("wp")&&parseFloat(r.split("Android ")[1])||void 0),pe.add("safari",!n.includes("Safari")||pe("wp")||pe("chrome")||pe("android")||pe("edge")||pe("opr")?void 0:parseFloat(n.split("Version/")[1])),pe.add("mac",n.includes("Macintosh")),!pe("wp")&&/(iPhone|iPod|iPad)/.test(r)){let o=RegExp.$1.replace(/P/,"p"),s=/OS ([\d_]+)/.test(r)?RegExp.$1:"1",c=parseFloat(s.replace(/_/,".").replaceAll("_",""));pe.add(o,c),pe.add("ios",c)}pe("webkit")||(!r.includes("Gecko")||pe("wp")||pe("khtml")||pe("edge")||pe.add("mozilla",i),pe("mozilla")&&pe.add("ff",parseFloat(r.split("Firefox/")[1]||r.split("Minefield/")[1])||void 0))}})(),(()=>{if(globalThis.navigator){let t=navigator.userAgent,e=/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini|IEMobile/i.test(t),r=/iPhone/i.test(t);e&&pe.add("esri-mobile",e),r&&pe.add("esri-iPhone",r),pe.add("esri-geolocation",!!navigator.geolocation)}pe.add("esri-wasm","WebAssembly"in globalThis),pe.add("esri-performance-mode-frames-between-render",20),pe.add("esri-force-performance-mode",!1),pe.add("esri-shared-array-buffer",()=>{let t="SharedArrayBuffer"in globalThis,e=globalThis.crossOriginIsolated===!1;return t&&!e}),pe.add("wasm-simd",()=>{let t=[0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11];return WebAssembly.validate(new Uint8Array(t))}),pe.add("esri-atomics","Atomics"in globalThis),pe.add("esri-workers","Worker"in globalThis),pe.add("web-feat:cache","caches"in globalThis),pe.add("esri-workers-arraybuffer-transfer",!pe("safari")||Number(pe("safari"))>=12),pe.add("workers-pool-size",8),pe.add("featurelayer-simplify-thresholds",[.5,.5,.5,.5]),pe.add("featurelayer-simplify-payload-size-factors",[1,1,4]),pe.add("featurelayer-fast-triangulation-enabled",!0),pe.add("featurelayer-animation-enabled",!0),pe.add("featurelayer-snapshot-enabled",!0),pe.add("featurelayer-snapshot-point-min-threshold",8e4),pe.add("featurelayer-snapshot-point-max-threshold",4e5),pe.add("featurelayer-snapshot-point-coverage",.1),pe.add("featurelayer-query-max-depth",4),pe.add("featurelayer-query-pausing-enabled",!1),pe.add("featurelayer-advanced-symbols",!1),pe.add("featurelayer-pbf",!0),pe.add("featurelayer-pbf-statistics",!1),pe.add("feature-layers-workers",!0),pe.add("feature-polyline-generalization-factor",1),pe.add("mapview-transitions-duration",200),pe.add("mapview-essential-goto-duration",200),pe.add("mapview-srswitch-adjust-rotation-scale-threshold",24e6),pe.add("mapserver-pbf-version-support",10.81),pe.add("mapservice-popup-identify-max-tolerance",20),pe.add("request-queue-concurrency-hosted",16),pe.add("request-queue-concurrency-non-hosted",4),pe.add("curve-densification-coarse-segments",128),pe.add("curve-densification-max-segments",2e3),pe.add("curve-densification-min-segments",3),pe.add("curve-densification-pixels-per-segment",16),pe.add("view-readyState-waiting-delay",1e3),pe.add("gradient-depth-bias",.01),pe.add("gradient-depth-epsilon",1e-8),pe("host-webworker")||pe("host-browser")&&(pe.add("esri-csp-restrictions",()=>{try{new Function}catch{return!0}return!1}),pe.add("esri-image-decode",()=>{if("decode"in new Image){let t=new Image;return t.src='data:image/svg+xml;charset=UTF-8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg"></svg>',void t.decode().then(()=>{pe.add("esri-image-decode",!0,!0,!0)}).catch(()=>{pe.add("esri-image-decode",!1,!0,!0)})}return!1}),pe.add("esri-url-encodes-apostrophe",()=>{let t=window.document.createElement("a");return t.href="?'",t.href.includes("?%27")}))})()});var K2=N(()=>{$t()});var eo,B0,ka=N(()=>{eo=class eo{constructor(e=1){this._seed=e}set seed(e){this._seed=e??Math.random()*eo._m}getInt(){return this._seed=(eo._a*this._seed+eo._c)%eo._m,this._seed}getFloat(){return this.getInt()/(eo._m-1)}getIntRange(e,r){return Math.round(this.getFloatRange(e,r))}getFloatRange(e,r){let n=r-e;return e+this.getInt()/eo._m*n}};eo._m=2147483647,eo._a=48271,eo._c=0;B0=eo});function G0(t,e,r){if(t==null&&e==null)return!0;if(t==null||e==null||t.length!==e.length)return!1;if(r){for(let n=0;n<t.length;n++)if(!r(t[n],e[n]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}function eS(t,e,r,n){n=n||c6;let i=Math.max(0,n.last-10);for(let s=i;s<r;++s)if(t[s]===e)return n.last=s,s;let o=Math.min(i,r);for(let s=0;s<o;++s)if(t[s]===e)return n.last=s,s;return-1}function l6(t,e,r=t.length,n=e.length,i,o){if(n===0||r===0)return r;to.clear();for(let c=0;c<n;++c)to.add(e[c]);i=i||c6;let s=Math.max(0,i.last-10);for(let c=s;c<r;++c)if(to.has(t[c])&&(o?.push(t[c]),to.delete(t[c]),t[c]=t[r-1],--r,--c,to.size===0||r===0))return to.clear(),r;for(let c=0;c<s;++c)if(to.has(t[c])&&(o?.push(t[c]),to.delete(t[c]),t[c]=t[r-1],--r,--c,to.size===0||r===0))return to.clear(),r;return to.clear(),r}function u6(t,e){let r=t.indexOf(e);return r!==-1?(t.splice(r,1),e):null}function d6(t,e){return t!=null}var Fz,Sse,Vm,c6,to,xse,_p=N(()=>{K2();ka();Fz=1.5,Sse=1/Fz;Vm=class{constructor(){this.last=0}},c6=new Vm;to=new Set;xse=new B0});var tS,rS,p6=N(()=>{(function(t){let e=(o,s,c,a)=>{let d=s,h=s,g=c>>>1,v=o[d-1];for(;h<=g;){h=d<<1,h<c&&a(o[h-1],o[h])<0&&++h;let E=o[h-1];if(a(E,v)<=0)break;o[d-1]=E,d=h}o[d-1]=v},r=(o,s)=>o<s?-1:o>s?1:0;function n(o,s,c,a){s===void 0&&(s=0),c===void 0&&(c=o.length),a===void 0&&(a=r);for(let h=c>>>1;h>s;h--)e(o,h,c,a);let d=s+1;for(let h=c-1;h>s;h--){let g=o[s];o[s]=o[h],o[h]=g,e(o,d,h,a)}}function*i(o,s,c,a){s===void 0&&(s=0),c===void 0&&(c=o.length),a===void 0&&(a=r);for(let h=c>>>1;h>s;h--)e(o,h,c,a),yield;let d=s+1;for(let h=c-1;h>s;h--){let g=o[s];o[s]=o[h],o[h]=g,e(o,d,h,a),yield}}t.sort=n,t.iterableSort=i})(tS||(tS={}));rS=tS});function f6(t){t.data.length>Uz*t.length&&(t.data.length=Math.floor(t.length*Vz))}var Uz,Vz,Oa,nS=N(()=>{_p();K2();p6();Uz=1.5,Vz=1.1,Oa=class{constructor(e){this.data=[],this._length=0,this._allocator=void 0,this._deallocator=()=>null,this._shrink=()=>{},this._hint=new Vm,e&&(e.initialSize&&(this.data=new Array(e.initialSize)),e.allocator&&(this._allocator=e.allocator),e.deallocator!==void 0&&(this._deallocator=e.deallocator),e.shrink&&(this._shrink=()=>f6(this)))}toArray(){return this.data.slice(0,this.length)}filter(e){let r=new Array;for(let n=0;n<this._length;n++){let i=this.data[n];e(i)&&r.push(i)}return r}at(e){if((e=Math.trunc(e)||0)<0&&(e+=this._length),!(e<0||e>=this._length))return this.data[e]}includes(e,r){let n=this.data.indexOf(e,r);return n!==-1&&n<this.length}get length(){return this._length}set length(e){if(e>this._length){if(this._allocator){for(;this._length<e;)this.data[this._length++]=this._allocator(this.data[this._length]);return}this._length=e}else{if(this._deallocator)for(let r=e;r<this._length;++r)this.data[r]=this._deallocator(this.data[r]);this._length=e,this._shrink()}}clear(){this.length=0}prune(){this.clear(),this.data=[]}push(e){this.data[this._length++]=e}pushArray(e,r=e.length){for(let n=0;n<r;n++)this.data[this._length++]=e[n]}fill(e,r){for(let n=0;n<r;n++)this.data[this._length++]=e}pushNew(){this._allocator&&(this.data[this.length]=this._allocator(this.data[this.length]));let e=this.data[this._length];return++this._length,e}unshift(e){this.data.unshift(e),this._length++,f6(this)}pop(){if(this.length===0)return;let e=this.data[this.length-1];return this.length=this.length-1,this._shrink(),e}remove(e){let r=eS(this.data,e,this.length,this._hint);if(r!==-1)return this.data.splice(r,1),this.length=this.length-1,e}removeUnordered(e){return this.removeUnorderedIndex(eS(this.data,e,this.length,this._hint))}removeUnorderedIndex(e){if(!(e>=this.length||e<0))return this.swapElements(e,this.length-1),this.pop()}removeUnorderedMany(e,r=e.length,n){this.length=l6(this.data,e,this.length,r,this._hint,n),this._shrink()}front(){if(this.length!==0)return this.data[0]}back(){if(this.length!==0)return this.data[this.length-1]}swapElements(e,r){if(e>=this.length||r>=this.length||e===r)return;let n=this.data[e];this.data[e]=this.data[r],this.data[r]=n}sort(e){rS.sort(this.data,0,this.length,e)}iterableSort(e){return rS.iterableSort(this.data,0,this.length,e)}some(e,r){for(let n=0;n<this.length;++n)if(e.call(r,this.data[n],n,this.data))return!0;return!1}find(e,r){let{data:n,length:i}=this;for(let o=0;o<i;++o)if(e.call(r,n[o]))return n[o]}filterInPlace(e,r){let n=0;for(let i=0;i<this._length;++i){let o=this.data[i];e.call(r,o,i,this.data)&&(this.data[i]=this.data[n],this.data[n]=o,n++)}if(this._deallocator)for(let i=n;i<this._length;i++)this.data[i]=this._deallocator(this.data[i]);return this._length=n,this._shrink(),this}forAll(e,r){let{data:n,length:i}=this;for(let o=0;o<i;++o)e.call(r,n[o],o,n)}forEach(e,r){this.data.slice(0,this.length).forEach(e,r)}map(e,r){let n=new Array(this.length);for(let i=0;i<this.length;++i)n[i]=e.call(r,this.data[i],i,this.data);return n}reduce(e,r){let n=r;for(let i=0;i<this.length;++i)n=e(n,this.data[i],i,this.data);return n}has(e){let r=this.length,n=this.data;for(let i=0;i<r;++i)if(n[i]===e)return!0;return!1}*[Symbol.iterator](){for(let e=0;e<this.length;e++)yield this.data[e]}}});var iS,zz,Ps,j0,oS,m6=N(()=>{nS();iS=-3,zz=iS-1;(function(t){t[t.ALL=0]="ALL",t[t.SOME=1]="SOME"})(Ps||(Ps={}));j0=class{get size(){return this._size}constructor(e=10485760){this._maxSize=e,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._removeFuncs=new Oa,this._users=new Oa,this._sizeLimits=new Map}destroy(){this.clearAll(),this._removeFuncs.clear(),this._sizeLimits.clear(),this._users.clear()}register(e){this._users.push(e)}deregister(e){this._sizeLimits.delete(e),this._users.removeUnordered(e)}registerRemoveFunc(e,r){this._removeFuncs.push([e,r])}deregisterRemoveFunc(e){this._removeFuncs.filterInPlace(r=>r[0]!==e)}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}getSize(e,r){return this._db.get(e.id+r)?.size??0}put(e,r,n,i,o){r=e.id+r;let s=this._db.get(r);if(s&&(this._size-=s.size,e.size-=s.size,this._db.delete(r),s.entry!==n&&this._notifyRemove(r,s.entry,s.size,Ps.ALL)),i>this._maxSize)return void this._notifyRemove(r,n,i,Ps.ALL);if(n===void 0)return void console.warn("Refusing to cache undefined entry ");if(!i||i<0)return console.warn(`Refusing to cache entry with size ${i} for key ${r}`),void this._notifyRemove(r,n,0,Ps.ALL);let c=1+Math.max(o,zz)-iS;this._db.set(r,new oS(n,i,c)),this._size+=i,e.size+=i,this._checkSize()}updateSize(e,r,n,i){r=e.id+r;let o=this._db.get(r);if(o&&o.entry===n){for(this._size-=o.size,e.size-=o.size;i>this._maxSize;){let s=this._notifyRemove(r,n,i,Ps.SOME);if(!(s!=null&&s>0))return void this._db.delete(r);i=s}o.size=i,this._size+=i,e.size+=i,this._checkSize()}}pop(e,r){r=e.id+r;let n=this._db.get(r);if(n)return this._size-=n.size,e.size-=n.size,this._db.delete(r),++this._hit,n.entry;++this._miss}get(e,r){r=e.id+r;let n=this._db.get(r);if(n!==void 0)return this._db.delete(r),n.lives=n.lifetime,this._db.set(r,n),++this._hit,n.entry;++this._miss}peek(e,r){let n=this._db.get(e.id+r);return n?++this._hit:++this._miss,n?.entry}get performanceInfo(){let e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},r={},n=new Array;this._db.forEach((s,c)=>{let a=s.lifetime;n[a]=(n[a]||0)+s.size,this._users.forAll(d=>{let{id:h,name:g}=d;if(c.startsWith(h)){let v=r[g]||0;r[g]=v+s.size}})});let i={};this._users.forAll(s=>{let c=s.name;if("hitRate"in s&&typeof s.hitRate=="number"&&!isNaN(s.hitRate)&&s.hitRate>0){let a=r[c]||0;r[c]=a,i[c]=Math.round(100*s.hitRate)+"%"}else i[c]="0%"});let o=Object.keys(r);o.sort((s,c)=>r[c]-r[s]),o.forEach(s=>e[s]=Math.round(r[s]/2**20)+"MB / "+i[s]);for(let s=n.length-1;s>=0;--s){let c=n[s];c&&(e["Priority "+(s+iS-1)]=Math.round(c/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._users.forAll(e=>e.resetHitRate())}clear(e){let r=e.id;this._db.forEach((n,i)=>{i.startsWith(r)&&(this._size-=n.size,this._db.delete(i),this._notifyRemove(i,n.entry,n.size,Ps.ALL))}),e.size=0}clearAll(){this._db.forEach((e,r)=>this._notifyRemove(r,e.entry,e.size,Ps.ALL)),this._users.forAll(e=>e.size=0),this._size=0,this._db.clear()}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,r,n,i){let o;return this._removeFuncs.some(s=>{if(e.startsWith(s[0])){let c=s[1](r,i,n);return typeof c=="number"&&(o=c),!0}return!1}),o}_checkSize(){this._sizeLimits.forEach((e,r)=>this._checkSizeLimits(e,r)),this._checkSizeLimits(this.maxSize)}setMaxSize(e,r){r==null||r<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,r)}_checkSizeLimits(e,r){let n=r??this;if(n.size<=e)return;let i=r?.id,o=!0;for(;o;){o=!1;for(let[s,c]of this._db)if(c.lifetime===0&&(!i||s.startsWith(i))){if(this._purgeItem(s,c,r),n.size<=.9*e)return;o||(o=this._db.has(s))}}for(let[s,c]of this._db)if((!i||s.startsWith(i))&&(this._purgeItem(s,c,r),n.size<=.9*e))return}_purgeItem(e,r,n=this._users.find(i=>e.startsWith(i.id))){if(this._db.delete(e),r.lives<=1){this._size-=r.size,n&&(n.size-=r.size);let i=this._notifyRemove(e,r.entry,r.size,Ps.SOME);i!=null&&i>0&&(this._size+=i,n&&(n.size+=i),r.lives=r.lifetime,r.size=i,this._db.set(e,r))}else--r.lives,this._db.set(e,r)}},oS=class{constructor(e,r,n){this.entry=e,this.size=r,this.lifetime=n,this.lives=n}}});var zm,h6=N(()=>{m6();zm=class{constructor(e,r){this._storage=new j0,this.id="",this.name="",this.size=0,this._storage.maxSize=e,this._storage.register(this),r&&this._storage.registerRemoveFunc("",r)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,r,n=1){this._storage.put(this,e,r,n,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}});function g6(t){return t?.constructor?.name==="Int8Array"}function w6(t){return t?.constructor?.name==="Uint8Array"}function y6(t){return t?.constructor?.name==="Uint8ClampedArray"}function b6(t){return t?.constructor?.name==="Int16Array"}function v6(t){return t?.constructor?.name==="Uint16Array"}function _6(t){return t?.constructor?.name==="Int32Array"}function S6(t){return t?.constructor?.name==="Uint32Array"}function x6(t){return t?.constructor?.name==="Float32Array"}function E6(t){return t?.constructor?.name==="Float64Array"}var C6=N(()=>{$t()});function q0(t,e){let r;if(e)for(r in t)t.hasOwnProperty(r)&&(t[r]===void 0?delete t[r]:t[r]instanceof Object&&q0(t[r],!0));else for(r in t)t.hasOwnProperty(r)&&t[r]===void 0&&delete t[r];return t}function Zt(t){if(!t||typeof t!="object"||typeof t=="function")return t;let e=jz(t);if(e!=null)return e;if(Wz(t))return t.clone();if(Bz(t))return t.map(Zt);if(Gz(t))throw new Error("Trying to clone an unclonable Accessor instance");let r={};for(let n of Object.getOwnPropertyNames(t))r[n]=Zt(t[n]);return r}function Wz(t){return typeof t.clone=="function"}function Bz(t){return typeof t.map=="function"&&typeof t.forEach=="function"}function Gz(t){return typeof t.notifyChange=="function"&&typeof t.watch=="function"}function T6(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}function jz(t){if(g6(t)||w6(t)||y6(t)||b6(t)||v6(t)||_6(t)||S6(t)||x6(t)||E6(t))return t.slice();if(t instanceof Date)return new Date(t.getTime());if(t instanceof ArrayBuffer)return t.slice(0,t.byteLength);if(t instanceof Map){let e=new Map;for(let[r,n]of t)e.set(r,Zt(n));return e}if(t instanceof Set){let e=new Set;for(let r of t)e.add(Zt(r));return e}return null}function Wm(t,e){return t===e||typeof t=="number"&&isNaN(t)&&typeof e=="number"&&isNaN(e)||typeof t?.getTime=="function"&&typeof e?.getTime=="function"&&t.getTime()===e.getTime()||!1}function H0(t,e){return t===e||(t==null||typeof t=="string"?t===e:typeof t=="number"?t===e||typeof e=="number"&&isNaN(t)&&isNaN(e):t instanceof Date?e instanceof Date&&t.getTime()===e.getTime():Array.isArray(t)?Array.isArray(e)&&G0(t,e):t instanceof Set?e instanceof Set&&Hz(t,e):t instanceof Map?e instanceof Map&&Yz(t,e):!!T6(t)&&T6(e)&&qz(t,e))}function qz(t,e){if(t===null||e===null)return!1;let r=Object.keys(t);if(e===null||Object.keys(e).length!==r.length)return!1;for(let n of r)if(t[n]!==e[n]||!Object.prototype.hasOwnProperty.call(e,n))return!1;return!0}function Hz(t,e){if(t.size!==e.size)return!1;for(let r of t)if(!e.has(r))return!1;return!0}function Yz(t,e){if(t.size!==e.size)return!1;for(let[r,n]of t){let i=e.get(r);if(i!==n||i===void 0&&!e.has(r))return!1}return!0}var kn=N(()=>{_p();C6()});function P6(t,e,r=!1){return A6(t,e,r)}function Mi(t,e){if(e!=null)return e[t]||M6(t.split("."),!1,e)}function Ms(t,e,r){let n=t.split("."),i=n.pop(),o=M6(n,!0,r);o&&i&&(o[i]=e)}function M6(t,e,r){let n=r;for(let i of t){if(n==null)return;if(!(i in n)){if(!e)return;n[i]={}}n=n[i]}return n}function A6(t,e,r){return e?Object.keys(e).reduce((n,i)=>{let o=n[i],s=e[i];return o===s?n:o===void 0?(n[i]=Zt(s),n):(Array.isArray(s)||Array.isArray(n)?(o=o?Array.isArray(o)?n[i]=o.slice():n[i]=[o]:n[i]=[],s&&(Array.isArray(s)||(s=[s]),r?s.forEach(c=>{o.includes(c)||o.push(c)}):n[i]=s.slice())):s&&typeof s=="object"?n[i]=A6(o,s,r):n.hasOwnProperty(i)&&!e.hasOwnProperty(i)||(n[i]=s),n)},t||{}):t}var jo=N(()=>{kn()});function I6(t){return t??""}function qo(t,e){return e?t.replaceAll(Zz,typeof e=="object"?(r,n)=>I6(Mi(n,e)):(r,n)=>I6(e(n))):t}function L6(t,e){return t.replaceAll(/([.$?*|{}()[\]\\/+\-^])/g,r=>e?.includes(r)?r:`\\${r}`)}function k6(t){let e=0;for(let r=0;r<t.length;r++)e=(e<<5)-e+t.charCodeAt(r),e|=0;return e}var Zz,Na=N(()=>{jo();Zz=/\{([^}]+)\}/g});var As,Y0,Z0,X0,ro,Sp,lr,no,Ra=N(()=>{As=class extends Error{},Y0=class extends As{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}},Z0=class extends As{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}},X0=class extends As{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}},ro=class extends As{},Sp=class extends As{constructor(e){super(`Invalid unit ${e}`)}},lr=class extends As{},no=class extends As{constructor(){super("Zone is an abstract class")}}});var Ie,io,si,Da,Bm,sS,Gm,jm,qm,Hm,Ym,Zm,Xm,Jm,Qm,Km,eh,th,rh,nh,aS,ih,oh,sh,ah,ch=N(()=>{Ie="numeric",io="short",si="long",Da={year:Ie,month:Ie,day:Ie},Bm={year:Ie,month:io,day:Ie},sS={year:Ie,month:io,day:Ie,weekday:io},Gm={year:Ie,month:si,day:Ie},jm={year:Ie,month:si,day:Ie,weekday:si},qm={hour:Ie,minute:Ie},Hm={hour:Ie,minute:Ie,second:Ie},Ym={hour:Ie,minute:Ie,second:Ie,timeZoneName:io},Zm={hour:Ie,minute:Ie,second:Ie,timeZoneName:si},Xm={hour:Ie,minute:Ie,hourCycle:"h23"},Jm={hour:Ie,minute:Ie,second:Ie,hourCycle:"h23"},Qm={hour:Ie,minute:Ie,second:Ie,hourCycle:"h23",timeZoneName:io},Km={hour:Ie,minute:Ie,second:Ie,hourCycle:"h23",timeZoneName:si},eh={year:Ie,month:Ie,day:Ie,hour:Ie,minute:Ie},th={year:Ie,month:Ie,day:Ie,hour:Ie,minute:Ie,second:Ie},rh={year:Ie,month:io,day:Ie,hour:Ie,minute:Ie},nh={year:Ie,month:io,day:Ie,hour:Ie,minute:Ie,second:Ie},aS={year:Ie,month:io,day:Ie,weekday:io,hour:Ie,minute:Ie},ih={year:Ie,month:si,day:Ie,hour:Ie,minute:Ie,timeZoneName:io},oh={year:Ie,month:si,day:Ie,hour:Ie,minute:Ie,second:Ie,timeZoneName:io},sh={year:Ie,month:si,day:Ie,weekday:si,hour:Ie,minute:Ie,timeZoneName:si},ah={year:Ie,month:si,day:Ie,weekday:si,hour:Ie,minute:Ie,second:Ie,timeZoneName:si}});var xr,Rl=N(()=>{Ra();xr=class{get type(){throw new no}get name(){throw new no}get ianaName(){return this.name}get isUniversal(){throw new no}offsetName(e,r){throw new no}formatOffset(e,r){throw new no}offset(e){throw new no}equals(e){throw new no}get isValid(){throw new no}}});var cS,$a,Q0=N(()=>{On();Rl();cS=null,$a=class t extends xr{static get instance(){return cS===null&&(cS=new t),cS}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return K0(e,r,n)}formatOffset(e,r){return Fa(this.offset(e),r)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}});function Xz(t){return tw[t]||(tw[t]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),tw[t]}function Qz(t,e){let r=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,i,o,s,c,a,d,h]=n;return[s,i,o,c,a,d,h]}function Kz(t,e){let r=t.formatToParts(e),n=[];for(let i=0;i<r.length;i++){let{type:o,value:s}=r[i],c=Jz[o];o==="era"?n[c]=s:Ge(c)||(n[c]=parseInt(s,10))}return n}var tw,Jz,ew,ur,Ua=N(()=>{On();Rl();tw={};Jz={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};ew={},ur=class t extends xr{static create(e){return ew[e]||(ew[e]=new t(e)),ew[e]}static resetCache(){ew={},tw={}}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=t.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return K0(e,r,n,this.name)}formatOffset(e,r){return Fa(this.offset(e),r)}offset(e){let r=new Date(e);if(isNaN(r))return NaN;let n=Xz(this.name),[i,o,s,c,a,d,h]=n.formatToParts?Kz(n,r):Qz(n,r);c==="BC"&&(i=-Math.abs(i)+1);let v=xp({year:i,month:o,day:s,hour:a===24?0:a,minute:d,second:h,millisecond:0}),E=+r,M=E%1e3;return E-=M>=0?M:1e3+M,(v-E)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}});function eW(t,e={}){let r=JSON.stringify([t,e]),n=O6[r];return n||(n=new Intl.ListFormat(t,e),O6[r]=n),n}function uS(t,e={}){let r=JSON.stringify([t,e]),n=lS[r];return n||(n=new Intl.DateTimeFormat(t,e),lS[r]=n),n}function tW(t,e={}){let r=JSON.stringify([t,e]),n=dS[r];return n||(n=new Intl.NumberFormat(t,e),dS[r]=n),n}function rW(t,e={}){let{base:r,...n}=e,i=JSON.stringify([t,n]),o=pS[i];return o||(o=new Intl.RelativeTimeFormat(t,e),pS[i]=o),o}function nW(){return lh||(lh=new Intl.DateTimeFormat().resolvedOptions().locale,lh)}function iW(t){let e=N6[t];if(!e){let r=new Intl.Locale(t);e="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,N6[t]=e}return e}function oW(t){let e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));let r=t.indexOf("-u-");if(r===-1)return[t];{let n,i;try{n=uS(t).resolvedOptions(),i=t}catch{let a=t.substring(0,r);n=uS(a).resolvedOptions(),i=a}let{numberingSystem:o,calendar:s}=n;return[i,o,s]}}function sW(t,e,r){return(r||e)&&(t.includes("-u-")||(t+="-u"),r&&(t+=`-ca-${r}`),e&&(t+=`-nu-${e}`)),t}function aW(t){let e=[];for(let r=1;r<=12;r++){let n=Te.utc(2009,r,1);e.push(t(n))}return e}function cW(t){let e=[];for(let r=1;r<=7;r++){let n=Te.utc(2016,11,13+r);e.push(t(n))}return e}function rw(t,e,r,n){let i=t.listingMode();return i==="error"?null:i==="en"?r(e):n(e)}function lW(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem==="latn"}var O6,lS,dS,pS,lh,N6,fS,mS,hS,uW,pt,dh=N(()=>{On();ow();Va();za();Ua();O6={};lS={};dS={};pS={};lh=null;N6={};fS=class{constructor(e,r,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;let{padTo:i,floor:o,...s}=n;if(!r||Object.keys(s).length>0){let c={useGrouping:!1,...n};n.padTo>0&&(c.minimumIntegerDigits=n.padTo),this.inf=tW(e,c)}}format(e){if(this.inf){let r=this.floor?Math.floor(e):e;return this.inf.format(r)}else{let r=this.floor?Math.floor(e):Ep(e,3);return ir(r,this.padTo)}}},mS=class{constructor(e,r,n){this.opts=n,this.originalZone=void 0;let i;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){let s=-1*(e.offset/60),c=s>=0?`Etc/GMT+${s}`:`Etc/GMT${s}`;e.offset!==0&&ur.create(c).valid?(i=c,this.dt=e):(i="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,i=e.zone.name):(i="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);let o={...this.opts};o.timeZone=o.timeZone||i,this.dtf=uS(r,o)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){let e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(r=>{if(r.type==="timeZoneName"){let n=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...r,value:n}}else return r}):e}resolvedOptions(){return this.dtf.resolvedOptions()}},hS=class{constructor(e,r,n){this.opts={style:"long",...n},!r&&nw()&&(this.rtf=rW(e,n))}format(e,r){return this.rtf?this.rtf.format(e,r):R6(r,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,r){return this.rtf?this.rtf.formatToParts(e,r):[]}},uW={firstDay:1,minimalDays:4,weekend:[6,7]},pt=class t{static fromOpts(e){return t.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,r,n,i,o=!1){let s=e||dt.defaultLocale,c=s||(o?"en-US":nW()),a=r||dt.defaultNumberingSystem,d=n||dt.defaultOutputCalendar,h=uh(i)||dt.defaultWeekSettings;return new t(c,a,d,h,s)}static resetCache(){lh=null,lS={},dS={},pS={}}static fromObject({locale:e,numberingSystem:r,outputCalendar:n,weekSettings:i}={}){return t.create(e,r,n,i)}constructor(e,r,n,i,o){let[s,c,a]=oW(e);this.locale=s,this.numberingSystem=r||c||null,this.outputCalendar=n||a||null,this.weekSettings=i,this.intl=sW(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=lW(this)),this.fastNumbersCached}listingMode(){let e=this.isEnglish(),r=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&r?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:t.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,uh(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,r=!1){return rw(this,e,gS,()=>{let n=r?{month:e,day:"numeric"}:{month:e},i=r?"format":"standalone";return this.monthsCache[i][e]||(this.monthsCache[i][e]=aW(o=>this.extract(o,n,"month"))),this.monthsCache[i][e]})}weekdays(e,r=!1){return rw(this,e,wS,()=>{let n=r?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=r?"format":"standalone";return this.weekdaysCache[i][e]||(this.weekdaysCache[i][e]=cW(o=>this.extract(o,n,"weekday"))),this.weekdaysCache[i][e]})}meridiems(){return rw(this,void 0,()=>yS,()=>{if(!this.meridiemCache){let e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Te.utc(2016,11,13,9),Te.utc(2016,11,13,19)].map(r=>this.extract(r,e,"dayperiod"))}return this.meridiemCache})}eras(e){return rw(this,e,bS,()=>{let r={era:e};return this.eraCache[e]||(this.eraCache[e]=[Te.utc(-40,1,1),Te.utc(2017,1,1)].map(n=>this.extract(n,r,"era"))),this.eraCache[e]})}extract(e,r,n){let i=this.dtFormatter(e,r),o=i.formatToParts(),s=o.find(c=>c.type.toLowerCase()===n);return s?s.value:null}numberFormatter(e={}){return new fS(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,r={}){return new mS(e,this.intl,r)}relFormatter(e={}){return new hS(this.intl,this.isEnglish(),e)}listFormatter(e={}){return eW(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:iw()?iW(this.locale):uW}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}});var _S,St,Cp=N(()=>{On();Rl();_S=null,St=class t extends xr{static get utcInstance(){return _S===null&&(_S=new t(0)),_S}static instance(e){return e===0?t.utcInstance:new t(e)}static parseSpecifier(e){if(e){let r=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new t(Dl(r[1],r[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Fa(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Fa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,r){return Fa(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}});var Tp,SS=N(()=>{Rl();Tp=class extends xr{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}});function oo(t,e){let r;if(Ge(t)||t===null)return e;if(t instanceof xr)return t;if(D6(t)){let n=t.toLowerCase();return n==="default"?e:n==="local"||n==="system"?$a.instance:n==="utc"||n==="gmt"?St.utcInstance:St.parseSpecifier(n)||ur.create(t)}else return so(t)?St.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new Tp(t)}var sw=N(()=>{Rl();Ua();Cp();SS();On();Q0()});function F6(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let r=0;r<t.length;r++){let n=t.charCodeAt(r);if(t[r].search(xS.hanidec)!==-1)e+=dW.indexOf(t[r]);else for(let i in $6){let[o,s]=$6[i];n>=o&&n<=s&&(e+=n-o)}}return parseInt(e,10)}else return e}function U6(){Pp={}}function Ai({numberingSystem:t},e=""){let r=t||"latn";return Pp[r]||(Pp[r]={}),Pp[r][e]||(Pp[r][e]=new RegExp(`${xS[r]}${e}`)),Pp[r][e]}var xS,$6,dW,Pp,ES=N(()=>{xS={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},$6={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},dW=xS.hanidec.replace(/[\[|\]]/g,"").split("");Pp={}});var V6,z6,W6,B6,G6,j6,q6,H6,dt,Va=N(()=>{Q0();Ua();dh();za();sw();On();ES();V6=()=>Date.now(),z6="system",W6=null,B6=null,G6=null,j6=60,H6=null,dt=class{static get now(){return V6}static set now(e){V6=e}static set defaultZone(e){z6=e}static get defaultZone(){return oo(z6,$a.instance)}static get defaultLocale(){return W6}static set defaultLocale(e){W6=e}static get defaultNumberingSystem(){return B6}static set defaultNumberingSystem(e){B6=e}static get defaultOutputCalendar(){return G6}static set defaultOutputCalendar(e){G6=e}static get defaultWeekSettings(){return H6}static set defaultWeekSettings(e){H6=uh(e)}static get twoDigitCutoffYear(){return j6}static set twoDigitCutoffYear(e){j6=e%100}static get throwOnInvalid(){return q6}static set throwOnInvalid(e){q6=e}static resetCaches(){pt.resetCache(),ur.resetCache(),Te.resetCache(),U6()}}});var qr,ph=N(()=>{qr=class{constructor(e,r){this.reason=e,this.explanation=r}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}});function Ii(t,e){return new qr("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function aw(t,e,r){let n=new Date(Date.UTC(t,e-1,r));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);let i=n.getUTCDay();return i===0?7:i}function X6(t,e,r){return r+(Fl(t)?Z6:Y6)[e-1]}function J6(t,e){let r=Fl(t)?Z6:Y6,n=r.findIndex(o=>o<e),i=e-r[n];return{month:n+1,day:i}}function cw(t,e){return(t-e+7)%7+1}function fh(t,e=4,r=1){let{year:n,month:i,day:o}=t,s=X6(n,i,o),c=cw(aw(n,i,o),r),a=Math.floor((s-c+14-e)/7),d;return a<1?(d=n-1,a=$l(d,e,r)):a>$l(n,e,r)?(d=n+1,a=1):d=n,{weekYear:d,weekNumber:a,weekday:c,...hh(t)}}function CS(t,e=4,r=1){let{weekYear:n,weekNumber:i,weekday:o}=t,s=cw(aw(n,1,e),r),c=Wa(n),a=i*7+o-s-7+e,d;a<1?(d=n-1,a+=Wa(d)):a>c?(d=n+1,a-=Wa(n)):d=n;let{month:h,day:g}=J6(d,a);return{year:d,month:h,day:g,...hh(t)}}function lw(t){let{year:e,month:r,day:n}=t,i=X6(e,r,n);return{year:e,ordinal:i,...hh(t)}}function TS(t){let{year:e,ordinal:r}=t,{month:n,day:i}=J6(e,r);return{year:e,month:n,day:i,...hh(t)}}function PS(t,e){if(!Ge(t.localWeekday)||!Ge(t.localWeekNumber)||!Ge(t.localWeekYear)){if(!Ge(t.weekday)||!Ge(t.weekNumber)||!Ge(t.weekYear))throw new ro("Cannot mix locale-based week fields with ISO-based week fields");return Ge(t.localWeekday)||(t.weekday=t.localWeekday),Ge(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Ge(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function Q6(t,e=4,r=1){let n=mh(t.weekYear),i=ai(t.weekNumber,1,$l(t.weekYear,e,r)),o=ai(t.weekday,1,7);return n?i?o?!1:Ii("weekday",t.weekday):Ii("week",t.weekNumber):Ii("weekYear",t.weekYear)}function K6(t){let e=mh(t.year),r=ai(t.ordinal,1,Wa(t.year));return e?r?!1:Ii("ordinal",t.ordinal):Ii("year",t.year)}function MS(t){let e=mh(t.year),r=ai(t.month,1,12),n=ai(t.day,1,Mp(t.year,t.month));return e?r?n?!1:Ii("day",t.day):Ii("month",t.month):Ii("year",t.year)}function AS(t){let{hour:e,minute:r,second:n,millisecond:i}=t,o=ai(e,0,23)||e===24&&r===0&&n===0&&i===0,s=ai(r,0,59),c=ai(n,0,59),a=ai(i,0,999);return o?s?c?a?!1:Ii("millisecond",i):Ii("second",n):Ii("minute",r):Ii("hour",e)}var Y6,Z6,IS=N(()=>{On();ph();Ra();Y6=[0,31,59,90,120,151,181,212,243,273,304,334],Z6=[0,31,60,91,121,152,182,213,244,274,305,335]});function Ge(t){return typeof t>"u"}function so(t){return typeof t=="number"}function mh(t){return typeof t=="number"&&t%1===0}function D6(t){return typeof t=="string"}function t8(t){return Object.prototype.toString.call(t)==="[object Date]"}function nw(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function iw(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function r8(t){return Array.isArray(t)?t:[t]}function LS(t,e,r){if(t.length!==0)return t.reduce((n,i)=>{let o=[e(i),i];return n&&r(n[0],o[0])===n[0]?n:o},null)[1]}function n8(t,e){return e.reduce((r,n)=>(r[n]=t[n],r),{})}function Ba(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function uh(t){if(t==null)return null;if(typeof t!="object")throw new lr("Week settings must be an object");if(!ai(t.firstDay,1,7)||!ai(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!ai(e,1,7)))throw new lr("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function ai(t,e,r){return mh(t)&&t>=e&&t<=r}function pW(t,e){return t-e*Math.floor(t/e)}function ir(t,e=2){let r=t<0,n;return r?n="-"+(""+-t).padStart(e,"0"):n=(""+t).padStart(e,"0"),n}function Is(t){if(!(Ge(t)||t===null||t===""))return parseInt(t,10)}function Ga(t){if(!(Ge(t)||t===null||t===""))return parseFloat(t)}function gh(t){if(!(Ge(t)||t===null||t==="")){let e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function Ep(t,e,r=!1){let n=10**e;return(r?Math.trunc:Math.round)(t*n)/n}function Fl(t){return t%4===0&&(t%100!==0||t%400===0)}function Wa(t){return Fl(t)?366:365}function Mp(t,e){let r=pW(e-1,12)+1,n=t+(e-r)/12;return r===2?Fl(n)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function xp(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function e8(t,e,r){return-cw(aw(t,1,e),r)+e-1}function $l(t,e=4,r=1){let n=e8(t,e,r),i=e8(t+1,e,r);return(Wa(t)-n+i)/7}function wh(t){return t>99?t:t>dt.twoDigitCutoffYear?1900+t:2e3+t}function K0(t,e,r,n=null){let i=new Date(t),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(o.timeZone=n);let s={timeZoneName:e,...o},c=new Intl.DateTimeFormat(r,s).formatToParts(i).find(a=>a.type.toLowerCase()==="timezonename");return c?c.value:null}function Dl(t,e){let r=parseInt(t,10);Number.isNaN(r)&&(r=0);let n=parseInt(e,10)||0,i=r<0||Object.is(r,-0)?-n:n;return r*60+i}function kS(t){let e=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(e))throw new lr(`Invalid unit value ${t}`);return e}function Ap(t,e){let r={};for(let n in t)if(Ba(t,n)){let i=t[n];if(i==null)continue;r[e(n)]=kS(i)}return r}function Fa(t,e){let r=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),i=t>=0?"+":"-";switch(e){case"short":return`${i}${ir(r,2)}:${ir(n,2)}`;case"narrow":return`${i}${r}${n>0?`:${n}`:""}`;case"techie":return`${i}${ir(r,2)}${ir(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function hh(t){return n8(t,["hour","minute","second","millisecond"])}var On=N(()=>{Ra();Va();IS()});function gS(t){switch(t){case"narrow":return[...mW];case"short":return[...OS];case"long":return[...fW];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}function wS(t){switch(t){case"narrow":return[...hW];case"short":return[...RS];case"long":return[...NS];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}function bS(t){switch(t){case"narrow":return[...yW];case"short":return[...wW];case"long":return[...gW];default:return null}}function i8(t){return yS[t.hour<12?0:1]}function o8(t,e){return wS(e)[t.weekday-1]}function s8(t,e){return gS(e)[t.month-1]}function a8(t,e){return bS(e)[t.year<0?0:1]}function R6(t,e,r="always",n=!1){let i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},o=["hours","minutes","seconds"].indexOf(t)===-1;if(r==="auto"&&o){let g=t==="days";switch(e){case 1:return g?"tomorrow":`next ${i[t][0]}`;case-1:return g?"yesterday":`last ${i[t][0]}`;case 0:return g?"today":`this ${i[t][0]}`;default:}}let s=Object.is(e,-0)||e<0,c=Math.abs(e),a=c===1,d=i[t],h=n?a?d[1]:d[2]||d[1]:a?i[t][0]:t;return s?`${c} ${h} ago`:`in ${c} ${h}`}var fW,OS,mW,NS,RS,hW,yS,gW,wW,yW,ow=N(()=>{ch();On();fW=["January","February","March","April","May","June","July","August","September","October","November","December"],OS=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],mW=["J","F","M","A","M","J","J","A","S","O","N","D"];NS=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],RS=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],hW=["M","T","W","T","F","S","S"];yS=["AM","PM"],gW=["Before Christ","Anno Domini"],wW=["BC","AD"],yW=["B","A"]});function c8(t,e){let r="";for(let n of t)n.literal?r+=n.val:r+=e(n.val);return r}var bW,Hr,yh=N(()=>{ow();ch();On();bW={D:Da,DD:Bm,DDD:Gm,DDDD:jm,t:qm,tt:Hm,ttt:Ym,tttt:Zm,T:Xm,TT:Jm,TTT:Qm,TTTT:Km,f:eh,ff:rh,fff:ih,ffff:sh,F:th,FF:nh,FFF:oh,FFFF:ah},Hr=class t{static create(e,r={}){return new t(e,r)}static parseFormat(e){let r=null,n="",i=!1,o=[];for(let s=0;s<e.length;s++){let c=e.charAt(s);c==="'"?(n.length>0&&o.push({literal:i||/^\s+$/.test(n),val:n}),r=null,n="",i=!i):i||c===r?n+=c:(n.length>0&&o.push({literal:/^\s+$/.test(n),val:n}),n=c,r=c)}return n.length>0&&o.push({literal:i||/^\s+$/.test(n),val:n}),o}static macroTokenToFormatOpts(e){return bW[e]}constructor(e,r){this.opts=r,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,r){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...r}).format()}dtFormatter(e,r={}){return this.loc.dtFormatter(e,{...this.opts,...r})}formatDateTime(e,r){return this.dtFormatter(e,r).format()}formatDateTimeParts(e,r){return this.dtFormatter(e,r).formatToParts()}formatInterval(e,r){return this.dtFormatter(e.start,r).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,r){return this.dtFormatter(e,r).resolvedOptions()}num(e,r=0){if(this.opts.forceSimple)return ir(e,r);let n={...this.opts};return r>0&&(n.padTo=r),this.loc.numberFormatter(n).format(e)}formatDateTimeFromString(e,r){let n=this.loc.listingMode()==="en",i=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",o=(E,M)=>this.loc.extract(e,E,M),s=E=>e.isOffsetFixed&&e.offset===0&&E.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,E.format):"",c=()=>n?i8(e):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(E,M)=>n?s8(e,E):o(M?{month:E}:{month:E,day:"numeric"},"month"),d=(E,M)=>n?o8(e,E):o(M?{weekday:E}:{weekday:E,month:"long",day:"numeric"},"weekday"),h=E=>{let M=t.macroTokenToFormatOpts(E);return M?this.formatWithSystemDefault(e,M):E},g=E=>n?a8(e,E):o({era:E},"era"),v=E=>{switch(E){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return c();case"d":return i?o({day:"numeric"},"day"):this.num(e.day);case"dd":return i?o({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return d("short",!0);case"cccc":return d("long",!0);case"ccccc":return d("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return d("short",!1);case"EEEE":return d("long",!1);case"EEEEE":return d("narrow",!1);case"L":return i?o({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return i?o({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return i?o({month:"numeric"},"month"):this.num(e.month);case"MM":return i?o({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return i?o({year:"numeric"},"year"):this.num(e.year);case"yy":return i?o({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return i?o({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return i?o({year:"numeric"},"year"):this.num(e.year,6);case"G":return g("short");case"GG":return g("long");case"GGGGG":return g("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return h(E)}};return c8(t.parseFormat(r),v)}formatDurationFromString(e,r){let n=a=>{switch(a[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},i=a=>d=>{let h=n(d);return h?this.num(a.get(h),d.length):d},o=t.parseFormat(r),s=o.reduce((a,{literal:d,val:h})=>d?a:a.concat(h),[]),c=e.shiftTo(...s.map(n).filter(a=>a));return c8(o,i(c))}}});function Lp(...t){let e=t.reduce((r,n)=>r+n.source,"");return RegExp(`^${e}$`)}function kp(...t){return e=>t.reduce(([r,n,i],o)=>{let[s,c,a]=o(e,i);return[{...r,...s},c||n,a]},[{},null,1]).slice(0,2)}function Op(t,...e){if(t==null)return[null,null];for(let[r,n]of e){let i=r.exec(t);if(i)return n(i)}return[null,null]}function d8(...t){return(e,r)=>{let n={},i;for(i=0;i<t.length;i++)n[t[i]]=Is(e[r+i]);return[n,null,r+i]}}function Ip(t,e,r){let n=t[e];return Ge(n)?r:Is(n)}function MW(t,e){return[{year:Ip(t,e),month:Ip(t,e+1,1),day:Ip(t,e+2,1)},null,e+3]}function Np(t,e){return[{hours:Ip(t,e,0),minutes:Ip(t,e+1,0),seconds:Ip(t,e+2,0),milliseconds:gh(t[e+3])},null,e+4]}function bh(t,e){let r=!t[e]&&!t[e+1],n=Dl(t[e+1],t[e+2]),i=r?null:St.instance(n);return[{},i,e+3]}function vh(t,e){let r=t[e]?ur.create(t[e]):null;return[{},r,e+1]}function LW(t){let[e,r,n,i,o,s,c,a,d]=t,h=e[0]==="-",g=a&&a[0]==="-",v=(E,M=!1)=>E!==void 0&&(M||E&&h)?-E:E;return[{years:v(Ga(r)),months:v(Ga(n)),weeks:v(Ga(i)),days:v(Ga(o)),hours:v(Ga(s)),minutes:v(Ga(c)),seconds:v(Ga(a),a==="-0"),milliseconds:v(gh(d),g)}]}function FS(t,e,r,n,i,o,s){let c={year:e.length===2?wh(Is(e)):Is(e),month:OS.indexOf(r)+1,day:Is(n),hour:Is(i),minute:Is(o)};return s&&(c.second=Is(s)),t&&(c.weekday=t.length>3?NS.indexOf(t)+1:RS.indexOf(t)+1),c}function NW(t){let[,e,r,n,i,o,s,c,a,d,h,g]=t,v=FS(e,i,n,r,o,s,c),E;return a?E=kW[a]:d?E=0:E=Dl(h,g),[v,new St(E)]}function RW(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function l8(t){let[,e,r,n,i,o,s,c]=t;return[FS(e,i,n,r,o,s,c),St.utcInstance]}function UW(t){let[,e,r,n,i,o,s,c]=t;return[FS(e,c,r,n,i,o,s),St.utcInstance]}function g8(t){return Op(t,[VW,h8],[zW,GW],[WW,jW],[BW,qW])}function w8(t){return Op(RW(t),[OW,NW])}function y8(t){return Op(t,[DW,l8],[$W,l8],[FW,UW])}function b8(t){return Op(t,[IW,LW])}function v8(t){return Op(t,[AW,HW])}function _8(t){return Op(t,[YW,h8],[ZW,XW])}var u8,p8,vW,DS,f8,$S,_W,SW,xW,EW,CW,TW,m8,PW,AW,IW,kW,OW,DW,$W,FW,VW,zW,WW,BW,h8,GW,jW,qW,HW,YW,ZW,XW,US=N(()=>{On();ow();Cp();Ua();u8=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;p8=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,vW=`(?:${p8.source}?(?:\\[(${u8.source})\\])?)?`,DS=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,f8=RegExp(`${DS.source}${vW}`),$S=RegExp(`(?:T${f8.source})?`),_W=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,SW=/(\d{4})-?W(\d\d)(?:-?(\d))?/,xW=/(\d{4})-?(\d{3})/,EW=d8("weekYear","weekNumber","weekDay"),CW=d8("year","ordinal"),TW=/(\d{4})-(\d\d)-(\d\d)/,m8=RegExp(`${DS.source} ?(?:${p8.source}|(${u8.source}))?`),PW=RegExp(`(?: ${m8.source})?`);AW=RegExp(`^T?${DS.source}$`),IW=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;kW={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};OW=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;DW=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,$W=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,FW=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;VW=Lp(_W,$S),zW=Lp(SW,$S),WW=Lp(xW,$S),BW=Lp(f8),h8=kp(MW,Np,bh,vh),GW=kp(EW,Np,bh,vh),jW=kp(CW,Np,bh,vh),qW=kp(Np,bh,vh);HW=kp(Np);YW=Lp(TW,PW),ZW=Lp(m8),XW=kp(Np,bh,vh)});function ja(t,e,r=!1){let n={values:r?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new or(n)}function C8(t,e){let r=e.milliseconds??0;for(let n of KW.slice(1))e[n]&&(r+=e[n]*t[n].milliseconds);return r}function x8(t,e){let r=C8(t,e)<0?-1:1;Ul.reduceRight((n,i)=>{if(Ge(e[i]))return n;if(n){let o=e[n]*r,s=t[i][n],c=Math.floor(o/s);e[i]+=c*r,e[n]-=c*s*r}return i},null),Ul.reduce((n,i)=>{if(Ge(e[i]))return n;if(n){let o=e[n]%1;e[n]-=o,e[i]+=o*t[n][i]}return i},null)}function eB(t){let e={};for(let[r,n]of Object.entries(t))n!==0&&(e[r]=n);return e}var S8,E8,JW,Li,Rp,QW,Ul,KW,or,_h=N(()=>{Ra();yh();ph();dh();US();On();Va();za();S8="Invalid Duration",E8={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},JW={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...E8},Li=146097/400,Rp=146097/4800,QW={years:{quarters:4,months:12,weeks:Li/7,days:Li,hours:Li*24,minutes:Li*24*60,seconds:Li*24*60*60,milliseconds:Li*24*60*60*1e3},quarters:{months:3,weeks:Li/28,days:Li/4,hours:Li*24/4,minutes:Li*24*60/4,seconds:Li*24*60*60/4,milliseconds:Li*24*60*60*1e3/4},months:{weeks:Rp/7,days:Rp,hours:Rp*24,minutes:Rp*24*60,seconds:Rp*24*60*60,milliseconds:Rp*24*60*60*1e3},...E8},Ul=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],KW=Ul.slice(0).reverse();or=class t{constructor(e){let r=e.conversionAccuracy==="longterm"||!1,n=r?QW:JW;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||pt.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(e,r){return t.fromObject({milliseconds:e},r)}static fromObject(e,r={}){if(e==null||typeof e!="object")throw new lr(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new t({values:Ap(e,t.normalizeUnit),loc:pt.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})}static fromDurationLike(e){if(so(e))return t.fromMillis(e);if(t.isDuration(e))return e;if(typeof e=="object")return t.fromObject(e);throw new lr(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,r){let[n]=b8(e);return n?t.fromObject(n,r):t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,r){let[n]=v8(e);return n?t.fromObject(n,r):t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,r=null){if(!e)throw new lr("need to specify a reason the Duration is invalid");let n=e instanceof qr?e:new qr(e,r);if(dt.throwOnInvalid)throw new X0(n);return new t({invalid:n})}static normalizeUnit(e){let r={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!r)throw new Sp(e);return r}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,r={}){let n={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?Hr.create(this.loc,n).formatDurationFromString(this,e):S8}toHuman(e={}){if(!this.isValid)return S8;let r=Ul.map(n=>{let i=this.values[n];return Ge(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:n.slice(0,-1)}).format(i)}).filter(n=>n);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(r)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=Ep(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;let r=this.toMillis();return r<0||r>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},Te.fromMillis(r,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?C8(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;let r=t.fromDurationLike(e),n={};for(let i of Ul)(Ba(r.values,i)||Ba(this.values,i))&&(n[i]=r.get(i)+this.get(i));return ja(this,{values:n},!0)}minus(e){if(!this.isValid)return this;let r=t.fromDurationLike(e);return this.plus(r.negate())}mapUnits(e){if(!this.isValid)return this;let r={};for(let n of Object.keys(this.values))r[n]=kS(e(this.values[n],n));return ja(this,{values:r},!0)}get(e){return this[t.normalizeUnit(e)]}set(e){if(!this.isValid)return this;let r={...this.values,...Ap(e,t.normalizeUnit)};return ja(this,{values:r})}reconfigure({locale:e,numberingSystem:r,conversionAccuracy:n,matrix:i}={}){let s={loc:this.loc.clone({locale:e,numberingSystem:r}),matrix:i,conversionAccuracy:n};return ja(this,s)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return x8(this.matrix,e),ja(this,{values:e},!0)}rescale(){if(!this.isValid)return this;let e=eB(this.normalize().shiftToAll().toObject());return ja(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(s=>t.normalizeUnit(s));let r={},n={},i=this.toObject(),o;for(let s of Ul)if(e.indexOf(s)>=0){o=s;let c=0;for(let d in n)c+=this.matrix[d][s]*n[d],n[d]=0;so(i[s])&&(c+=i[s]);let a=Math.trunc(c);r[s]=a,n[s]=(c*1e3-a*1e3)/1e3}else so(i[s])&&(n[s]=i[s]);for(let s in n)n[s]!==0&&(r[o]+=s===o?n[s]:n[s]/this.matrix[o][s]);return x8(this.matrix,r),ja(this,{values:r},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;let e={};for(let r of Object.keys(this.values))e[r]=this.values[r]===0?0:-this.values[r];return ja(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function r(n,i){return n===void 0||n===0?i===void 0||i===0:n===i}for(let n of Ul)if(!r(this.values[n],e.values[n]))return!1;return!0}}});function tB(t,e){return!t||!t.isValid?Ls.invalid("missing or invalid start"):!e||!e.isValid?Ls.invalid("missing or invalid end"):e<t?Ls.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null}var Dp,Ls,VS=N(()=>{za();_h();Va();Ra();ph();yh();ch();Dp="Invalid Interval";Ls=class t{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,r=null){if(!e)throw new lr("need to specify a reason the Interval is invalid");let n=e instanceof qr?e:new qr(e,r);if(dt.throwOnInvalid)throw new Z0(n);return new t({invalid:n})}static fromDateTimes(e,r){let n=$p(e),i=$p(r),o=tB(n,i);return o??new t({start:n,end:i})}static after(e,r){let n=or.fromDurationLike(r),i=$p(e);return t.fromDateTimes(i,i.plus(n))}static before(e,r){let n=or.fromDurationLike(r),i=$p(e);return t.fromDateTimes(i.minus(n),i)}static fromISO(e,r){let[n,i]=(e||"").split("/",2);if(n&&i){let o,s;try{o=Te.fromISO(n,r),s=o.isValid}catch{s=!1}let c,a;try{c=Te.fromISO(i,r),a=c.isValid}catch{a=!1}if(s&&a)return t.fromDateTimes(o,c);if(s){let d=or.fromISO(i,r);if(d.isValid)return t.after(o,d)}else if(a){let d=or.fromISO(n,r);if(d.isValid)return t.before(c,d)}}return t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",r){if(!this.isValid)return NaN;let n=this.start.startOf(e,r),i;return r?.useLocaleWeeks?i=this.end.reconfigure({locale:n.locale}):i=this.end,i=i.startOf(e,r),Math.floor(i.diff(n,e).get(e))+(i.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:r}={}){return this.isValid?t.fromDateTimes(e||this.s,r||this.e):this}splitAt(...e){if(!this.isValid)return[];let r=e.map($p).filter(s=>this.contains(s)).sort((s,c)=>s.toMillis()-c.toMillis()),n=[],{s:i}=this,o=0;for(;i<this.e;){let s=r[o]||this.e,c=+s>+this.e?this.e:s;n.push(t.fromDateTimes(i,c)),i=c,o+=1}return n}splitBy(e){let r=or.fromDurationLike(e);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:n}=this,i=1,o,s=[];for(;n<this.e;){let c=this.start.plus(r.mapUnits(a=>a*i));o=+c>+this.e?this.e:c,s.push(t.fromDateTimes(n,o)),n=o,i+=1}return s}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;let r=this.s>e.s?this.s:e.s,n=this.e<e.e?this.e:e.e;return r>=n?null:t.fromDateTimes(r,n)}union(e){if(!this.isValid)return this;let r=this.s<e.s?this.s:e.s,n=this.e>e.e?this.e:e.e;return t.fromDateTimes(r,n)}static merge(e){let[r,n]=e.sort((i,o)=>i.s-o.s).reduce(([i,o],s)=>o?o.overlaps(s)||o.abutsStart(s)?[i,o.union(s)]:[i.concat([o]),s]:[i,s],[[],null]);return n&&r.push(n),r}static xor(e){let r=null,n=0,i=[],o=e.map(a=>[{time:a.s,type:"s"},{time:a.e,type:"e"}]),s=Array.prototype.concat(...o),c=s.sort((a,d)=>a.time-d.time);for(let a of c)n+=a.type==="s"?1:-1,n===1?r=a.time:(r&&+r!=+a.time&&i.push(t.fromDateTimes(r,a.time)),r=null);return t.merge(i)}difference(...e){return t.xor([this].concat(e)).map(r=>this.intersection(r)).filter(r=>r&&!r.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:Dp}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=Da,r={}){return this.isValid?Hr.create(this.s.loc.clone(r),e).formatInterval(this):Dp}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Dp}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Dp}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Dp}toFormat(e,{separator:r=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(e)}${r}${this.e.toFormat(e)}`:Dp}toDuration(e,r){return this.isValid?this.e.diff(this.s,e,r):or.invalid(this.invalidReason)}mapEndpoints(e){return t.fromDateTimes(e(this.s),e(this.e))}}});var ks,zS=N(()=>{za();Va();dh();Ua();sw();On();ks=class{static hasDST(e=dt.defaultZone){let r=Te.now().setZone(e).set({month:12});return!e.isUniversal&&r.offset!==r.set({month:6}).offset}static isValidIANAZone(e){return ur.isValidZone(e)}static normalizeZone(e){return oo(e,dt.defaultZone)}static getStartOfWeek({locale:e=null,locObj:r=null}={}){return(r||pt.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:r=null}={}){return(r||pt.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:r=null}={}){return(r||pt.create(e)).getWeekendDays().slice()}static months(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null,outputCalendar:o="gregory"}={}){return(i||pt.create(r,n,o)).months(e)}static monthsFormat(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null,outputCalendar:o="gregory"}={}){return(i||pt.create(r,n,o)).months(e,!0)}static weekdays(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null}={}){return(i||pt.create(r,n,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null}={}){return(i||pt.create(r,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return pt.create(e).meridiems()}static eras(e="short",{locale:r=null}={}){return pt.create(r,null,"gregory").eras(e)}static features(){return{relative:nw(),localeWeek:iw()}}}});function T8(t,e){let r=i=>i.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=r(e)-r(t);return Math.floor(or.fromMillis(n).as("days"))}function rB(t,e,r){let n=[["years",(a,d)=>d.year-a.year],["quarters",(a,d)=>d.quarter-a.quarter+(d.year-a.year)*4],["months",(a,d)=>d.month-a.month+(d.year-a.year)*12],["weeks",(a,d)=>{let h=T8(a,d);return(h-h%7)/7}],["days",T8]],i={},o=t,s,c;for(let[a,d]of n)r.indexOf(a)>=0&&(s=a,i[a]=d(t,e),c=o.plus(i),c>e?(i[a]--,t=o.plus(i),t>e&&(c=t,i[a]--,t=o.plus(i))):t=c);return[t,i,c,s]}function P8(t,e,r,n){let[i,o,s,c]=rB(t,e,r),a=e-i,d=r.filter(g=>["hours","minutes","seconds","milliseconds"].indexOf(g)>=0);d.length===0&&(s<e&&(s=i.plus({[c]:1})),s!==i&&(o[c]=(o[c]||0)+a/(s-i)));let h=or.fromObject(o,n);return d.length>0?or.fromMillis(a,n).shiftTo(...d).plus(h):h}var M8=N(()=>{_h()});function ht(t,e=r=>r){return{regex:t,deser:([r])=>e(F6(r))}}function oB(t){return t.replace(/\./g,"\\.?").replace(k8,L8)}function A8(t){return t.replace(/\./g,"").replace(k8," ").toLowerCase()}function ao(t,e){return t===null?null:{regex:RegExp(t.map(oB).join("|")),deser:([r])=>t.findIndex(n=>A8(r)===A8(n))+e}}function I8(t,e){return{regex:t,deser:([,r,n])=>Dl(r,n),groups:e}}function uw(t){return{regex:t,deser:([e])=>e}}function sB(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function aB(t,e){let r=Ai(e),n=Ai(e,"{2}"),i=Ai(e,"{3}"),o=Ai(e,"{4}"),s=Ai(e,"{6}"),c=Ai(e,"{1,2}"),a=Ai(e,"{1,3}"),d=Ai(e,"{1,6}"),h=Ai(e,"{1,9}"),g=Ai(e,"{2,4}"),v=Ai(e,"{4,6}"),E=$=>({regex:RegExp(sB($.val)),deser:([z])=>z,literal:!0}),L=($=>{if(t.literal)return E($);switch($.val){case"G":return ao(e.eras("short"),0);case"GG":return ao(e.eras("long"),0);case"y":return ht(d);case"yy":return ht(g,wh);case"yyyy":return ht(o);case"yyyyy":return ht(v);case"yyyyyy":return ht(s);case"M":return ht(c);case"MM":return ht(n);case"MMM":return ao(e.months("short",!0),1);case"MMMM":return ao(e.months("long",!0),1);case"L":return ht(c);case"LL":return ht(n);case"LLL":return ao(e.months("short",!1),1);case"LLLL":return ao(e.months("long",!1),1);case"d":return ht(c);case"dd":return ht(n);case"o":return ht(a);case"ooo":return ht(i);case"HH":return ht(n);case"H":return ht(c);case"hh":return ht(n);case"h":return ht(c);case"mm":return ht(n);case"m":return ht(c);case"q":return ht(c);case"qq":return ht(n);case"s":return ht(c);case"ss":return ht(n);case"S":return ht(a);case"SSS":return ht(i);case"u":return uw(h);case"uu":return uw(c);case"uuu":return ht(r);case"a":return ao(e.meridiems(),0);case"kkkk":return ht(o);case"kk":return ht(g,wh);case"W":return ht(c);case"WW":return ht(n);case"E":case"c":return ht(r);case"EEE":return ao(e.weekdays("short",!1),1);case"EEEE":return ao(e.weekdays("long",!1),1);case"ccc":return ao(e.weekdays("short",!0),1);case"cccc":return ao(e.weekdays("long",!0),1);case"Z":case"ZZ":return I8(new RegExp(`([+-]${c.source})(?::(${n.source}))?`),2);case"ZZZ":return I8(new RegExp(`([+-]${c.source})(${n.source})?`),2);case"z":return uw(/[a-z_+-/]{1,256}?/i);case" ":return uw(/[^\S\n\r]/);default:return E($)}})(t)||{invalidReason:nB};return L.token=t,L}function lB(t,e,r){let{type:n,value:i}=t;if(n==="literal"){let a=/^\s+$/.test(i);return{literal:!a,val:a?" ":i}}let o=e[n],s=n;n==="hour"&&(e.hour12!=null?s=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?s="hour12":s="hour24":s=r.hour12?"hour12":"hour24");let c=cB[s];if(typeof c=="object"&&(c=c[o]),c)return{literal:!1,val:c}}function uB(t){return[`^${t.map(r=>r.regex).reduce((r,n)=>`${r}(${n.source})`,"")}$`,t]}function dB(t,e,r){let n=t.match(e);if(n){let i={},o=1;for(let s in r)if(Ba(r,s)){let c=r[s],a=c.groups?c.groups+1:1;!c.literal&&c.token&&(i[c.token.val[0]]=c.deser(n.slice(o,o+a))),o+=a}return[n,i]}else return[n,{}]}function pB(t){let e=o=>{switch(o){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}},r=null,n;return Ge(t.z)||(r=ur.create(t.z)),Ge(t.Z)||(r||(r=new St(t.Z)),n=t.Z),Ge(t.q)||(t.M=(t.q-1)*3+1),Ge(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),Ge(t.u)||(t.S=gh(t.u)),[Object.keys(t).reduce((o,s)=>{let c=e(s);return c&&(o[c]=t[s]),o},{}),r,n]}function fB(){return WS||(WS=Te.fromMillis(1555555555555)),WS}function mB(t,e){if(t.literal)return t;let r=Hr.macroTokenToFormatOpts(t.val),n=jS(r,e);return n==null||n.includes(void 0)?t:n}function BS(t,e){return Array.prototype.concat(...t.map(r=>mB(r,e)))}function GS(t,e,r){return new Sh(t,r).explainFromTokens(e)}function O8(t,e,r){let{result:n,zone:i,specificOffset:o,invalidReason:s}=GS(t,e,r);return[n,i,o,s]}function jS(t,e){if(!t)return null;let n=Hr.create(e,t).dtFormatter(fB()),i=n.formatToParts(),o=n.resolvedOptions();return i.map(s=>lB(s,t,o))}var nB,iB,L8,k8,cB,WS,Sh,N8=N(()=>{On();yh();Cp();Ua();za();ES();Ra();nB="missing Intl.DateTimeFormat.formatToParts support";iB="\xA0",L8=`[ ${iB}]`,k8=new RegExp(L8,"g");cB={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};WS=null;Sh=class{constructor(e,r){if(this.locale=e,this.format=r,this.tokens=BS(Hr.parseFormat(r),e),this.units=this.tokens.map(n=>aB(n,e)),this.disqualifyingUnit=this.units.find(n=>n.invalidReason),!this.disqualifyingUnit){let[n,i]=uB(this.units);this.regex=RegExp(n,"i"),this.handlers=i}}explainFromTokens(e){if(this.isValid){let[r,n]=dB(e,this.regex,this.handlers),[i,o,s]=n?pB(n):[null,null,void 0];if(Ba(n,"a")&&Ba(n,"H"))throw new ro("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:r,matches:n,result:i,zone:o,specificOffset:s}}else return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}});function xh(t){return new qr("unsupported zone",`the zone "${t.name}" is not supported`)}function HS(t){return t.weekData===null&&(t.weekData=fh(t.c)),t.weekData}function YS(t){return t.localWeekData===null&&(t.localWeekData=fh(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Vl(t,e){let r={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new Te({...r,...e,old:r})}function W8(t,e,r){let n=t-e*60*1e3,i=r.offset(n);if(e===i)return[n,e];n-=(i-e)*60*1e3;let o=r.offset(n);return i===o?[n,i]:[t-Math.min(i,o)*60*1e3,Math.max(i,o)]}function dw(t,e){t+=e*60*1e3;let r=new Date(t);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function fw(t,e,r){return W8(xp(t),e,r)}function D8(t,e){let r=t.o,n=t.c.year+Math.trunc(e.years),i=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,o={...t.c,year:n,month:i,day:Math.min(t.c.day,Mp(n,i))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},s=or.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),c=xp(o),[a,d]=W8(c,r,t.zone);return s!==0&&(a+=s,d=t.zone.offset(a)),{ts:a,o:d}}function Fp(t,e,r,n,i,o){let{setZone:s,zone:c}=r;if(t&&Object.keys(t).length!==0||e){let a=e||c,d=Te.fromObject(t,{...r,zone:a,specificOffset:o});return s?d:d.setZone(c)}else return Te.invalid(new qr("unparsable",`the input "${i}" can't be parsed as ${n}`))}function pw(t,e,r=!0){return t.isValid?Hr.create(pt.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(t,e):null}function ZS(t,e){let r=t.c.year>9999||t.c.year<0,n="";return r&&t.c.year>=0&&(n+="+"),n+=ir(t.c.year,r?6:4),e?(n+="-",n+=ir(t.c.month),n+="-",n+=ir(t.c.day)):(n+=ir(t.c.month),n+=ir(t.c.day)),n}function $8(t,e,r,n,i,o){let s=ir(t.c.hour);return e?(s+=":",s+=ir(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!r)&&(s+=":")):s+=ir(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!r)&&(s+=ir(t.c.second),(t.c.millisecond!==0||!n)&&(s+=".",s+=ir(t.c.millisecond,3))),i&&(t.isOffsetFixed&&t.offset===0&&!o?s+="Z":t.o<0?(s+="-",s+=ir(Math.trunc(-t.o/60)),s+=":",s+=ir(Math.trunc(-t.o%60))):(s+="+",s+=ir(Math.trunc(t.o/60)),s+=":",s+=ir(Math.trunc(t.o%60)))),o&&(s+="["+t.zone.ianaName+"]"),s}function bB(t){let e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Sp(t);return e}function F8(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return bB(t)}}function vB(t){return hw[t]||(mw===void 0&&(mw=dt.now()),hw[t]=t.offset(mw)),hw[t]}function U8(t,e){let r=oo(e.zone,dt.defaultZone);if(!r.isValid)return Te.invalid(xh(r));let n=pt.fromObject(e),i,o;if(Ge(t.year))i=dt.now();else{for(let a of G8)Ge(t[a])&&(t[a]=B8[a]);let s=MS(t)||AS(t);if(s)return Te.invalid(s);let c=vB(r);[i,o]=fw(t,c,r)}return new Te({ts:i,zone:r,loc:n,o})}function V8(t,e,r){let n=Ge(r.round)?!0:r.round,i=(s,c)=>(s=Ep(s,n||r.calendary?0:2,!0),e.loc.clone(r).relFormatter(r).format(s,c)),o=s=>r.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(r.unit)return i(o(r.unit),r.unit);for(let s of r.units){let c=o(s);if(Math.abs(c)>=1)return i(c,s)}return i(t>e?-0:0,r.units[r.units.length-1])}function z8(t){let e={},r;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],r=Array.from(t).slice(0,t.length-1)):r=Array.from(t),[e,r]}function $p(t){if(Te.isDateTime(t))return t;if(t&&t.valueOf&&so(t.valueOf()))return Te.fromJSDate(t);if(t&&typeof t=="object")return Te.fromObject(t);throw new lr(`Unknown datetime argument: ${t}, of type ${typeof t}`)}var qS,R8,B8,hB,gB,G8,wB,yB,mw,hw,Te,za=N(()=>{_h();VS();Va();zS();yh();Cp();dh();On();sw();M8();US();N8();IS();ch();Ra();ph();qS="Invalid DateTime",R8=864e13;B8={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},hB={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},gB={ordinal:1,hour:0,minute:0,second:0,millisecond:0},G8=["year","month","day","hour","minute","second","millisecond"],wB=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],yB=["year","ordinal","hour","minute","second","millisecond"];hw={},Te=class t{constructor(e){let r=e.zone||dt.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new qr("invalid input"):null)||(r.isValid?null:xh(r));this.ts=Ge(e.ts)?dt.now():e.ts;let i=null,o=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(r))[i,o]=[e.old.c,e.old.o];else{let c=so(e.o)&&!e.old?e.o:r.offset(this.ts);i=dw(this.ts,c),n=Number.isNaN(i.year)?new qr("invalid input"):null,i=n?null:i,o=n?null:c}this._zone=r,this.loc=e.loc||pt.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=i,this.o=o,this.isLuxonDateTime=!0}static now(){return new t({})}static local(){let[e,r]=z8(arguments),[n,i,o,s,c,a,d]=r;return U8({year:n,month:i,day:o,hour:s,minute:c,second:a,millisecond:d},e)}static utc(){let[e,r]=z8(arguments),[n,i,o,s,c,a,d]=r;return e.zone=St.utcInstance,U8({year:n,month:i,day:o,hour:s,minute:c,second:a,millisecond:d},e)}static fromJSDate(e,r={}){let n=t8(e)?e.valueOf():NaN;if(Number.isNaN(n))return t.invalid("invalid input");let i=oo(r.zone,dt.defaultZone);return i.isValid?new t({ts:n,zone:i,loc:pt.fromObject(r)}):t.invalid(xh(i))}static fromMillis(e,r={}){if(so(e))return e<-R8||e>R8?t.invalid("Timestamp out of range"):new t({ts:e,zone:oo(r.zone,dt.defaultZone),loc:pt.fromObject(r)});throw new lr(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,r={}){if(so(e))return new t({ts:e*1e3,zone:oo(r.zone,dt.defaultZone),loc:pt.fromObject(r)});throw new lr("fromSeconds requires a numerical input")}static fromObject(e,r={}){e=e||{};let n=oo(r.zone,dt.defaultZone);if(!n.isValid)return t.invalid(xh(n));let i=pt.fromObject(r),o=Ap(e,F8),{minDaysInFirstWeek:s,startOfWeek:c}=PS(o,i),a=dt.now(),d=Ge(r.specificOffset)?n.offset(a):r.specificOffset,h=!Ge(o.ordinal),g=!Ge(o.year),v=!Ge(o.month)||!Ge(o.day),E=g||v,M=o.weekYear||o.weekNumber;if((E||h)&&M)throw new ro("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(v&&h)throw new ro("Can't mix ordinal dates with month/day");let L=M||o.weekday&&!E,$,z,V=dw(a,d);L?($=wB,z=hB,V=fh(V,s,c)):h?($=yB,z=gB,V=lw(V)):($=G8,z=B8);let q=!1;for(let Ce of $){let Ne=o[Ce];Ge(Ne)?q?o[Ce]=z[Ce]:o[Ce]=V[Ce]:q=!0}let B=L?Q6(o,s,c):h?K6(o):MS(o),Z=B||AS(o);if(Z)return t.invalid(Z);let re=L?CS(o,s,c):h?TS(o):o,[F,me]=fw(re,d,n),Le=new t({ts:F,zone:n,o:me,loc:i});return o.weekday&&E&&e.weekday!==Le.weekday?t.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${Le.toISO()}`):Le.isValid?Le:t.invalid(Le.invalid)}static fromISO(e,r={}){let[n,i]=g8(e);return Fp(n,i,r,"ISO 8601",e)}static fromRFC2822(e,r={}){let[n,i]=w8(e);return Fp(n,i,r,"RFC 2822",e)}static fromHTTP(e,r={}){let[n,i]=y8(e);return Fp(n,i,r,"HTTP",r)}static fromFormat(e,r,n={}){if(Ge(e)||Ge(r))throw new lr("fromFormat requires an input string and a format");let{locale:i=null,numberingSystem:o=null}=n,s=pt.fromOpts({locale:i,numberingSystem:o,defaultToEN:!0}),[c,a,d,h]=O8(s,e,r);return h?t.invalid(h):Fp(c,a,n,`format ${r}`,e,d)}static fromString(e,r,n={}){return t.fromFormat(e,r,n)}static fromSQL(e,r={}){let[n,i]=_8(e);return Fp(n,i,r,"SQL",e)}static invalid(e,r=null){if(!e)throw new lr("need to specify a reason the DateTime is invalid");let n=e instanceof qr?e:new qr(e,r);if(dt.throwOnInvalid)throw new Y0(n);return new t({invalid:n})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,r={}){let n=jS(e,pt.fromObject(r));return n?n.map(i=>i?i.val:null).join(""):null}static expandFormat(e,r={}){return BS(Hr.parseFormat(e),pt.fromObject(r)).map(i=>i.val).join("")}static resetCache(){mw=void 0,hw={}}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?HS(this).weekYear:NaN}get weekNumber(){return this.isValid?HS(this).weekNumber:NaN}get weekday(){return this.isValid?HS(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?YS(this).weekday:NaN}get localWeekNumber(){return this.isValid?YS(this).weekNumber:NaN}get localWeekYear(){return this.isValid?YS(this).weekYear:NaN}get ordinal(){return this.isValid?lw(this.c).ordinal:NaN}get monthShort(){return this.isValid?ks.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?ks.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?ks.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?ks.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let e=864e5,r=6e4,n=xp(this.c),i=this.zone.offset(n-e),o=this.zone.offset(n+e),s=this.zone.offset(n-i*r),c=this.zone.offset(n-o*r);if(s===c)return[this];let a=n-s*r,d=n-c*r,h=dw(a,s),g=dw(d,c);return h.hour===g.hour&&h.minute===g.minute&&h.second===g.second&&h.millisecond===g.millisecond?[Vl(this,{ts:a}),Vl(this,{ts:d})]:[this]}get isInLeapYear(){return Fl(this.year)}get daysInMonth(){return Mp(this.year,this.month)}get daysInYear(){return this.isValid?Wa(this.year):NaN}get weeksInWeekYear(){return this.isValid?$l(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?$l(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:r,numberingSystem:n,calendar:i}=Hr.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:r,numberingSystem:n,outputCalendar:i}}toUTC(e=0,r={}){return this.setZone(St.instance(e),r)}toLocal(){return this.setZone(dt.defaultZone)}setZone(e,{keepLocalTime:r=!1,keepCalendarTime:n=!1}={}){if(e=oo(e,dt.defaultZone),e.equals(this.zone))return this;if(e.isValid){let i=this.ts;if(r||n){let o=e.offset(this.ts),s=this.toObject();[i]=fw(s,o,e)}return Vl(this,{ts:i,zone:e})}else return t.invalid(xh(e))}reconfigure({locale:e,numberingSystem:r,outputCalendar:n}={}){let i=this.loc.clone({locale:e,numberingSystem:r,outputCalendar:n});return Vl(this,{loc:i})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;let r=Ap(e,F8),{minDaysInFirstWeek:n,startOfWeek:i}=PS(r,this.loc),o=!Ge(r.weekYear)||!Ge(r.weekNumber)||!Ge(r.weekday),s=!Ge(r.ordinal),c=!Ge(r.year),a=!Ge(r.month)||!Ge(r.day),d=c||a,h=r.weekYear||r.weekNumber;if((d||s)&&h)throw new ro("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new ro("Can't mix ordinal dates with month/day");let g;o?g=CS({...fh(this.c,n,i),...r},n,i):Ge(r.ordinal)?(g={...this.toObject(),...r},Ge(r.day)&&(g.day=Math.min(Mp(g.year,g.month),g.day))):g=TS({...lw(this.c),...r});let[v,E]=fw(g,this.o,this.zone);return Vl(this,{ts:v,o:E})}plus(e){if(!this.isValid)return this;let r=or.fromDurationLike(e);return Vl(this,D8(this,r))}minus(e){if(!this.isValid)return this;let r=or.fromDurationLike(e).negate();return Vl(this,D8(this,r))}startOf(e,{useLocaleWeeks:r=!1}={}){if(!this.isValid)return this;let n={},i=or.normalizeUnit(e);switch(i){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break;case"milliseconds":break}if(i==="weeks")if(r){let o=this.loc.getStartOfWeek(),{weekday:s}=this;s<o&&(n.weekNumber=this.weekNumber-1),n.weekday=o}else n.weekday=1;if(i==="quarters"){let o=Math.ceil(this.month/3);n.month=(o-1)*3+1}return this.set(n)}endOf(e,r){return this.isValid?this.plus({[e]:1}).startOf(e,r).minus(1):this}toFormat(e,r={}){return this.isValid?Hr.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this,e):qS}toLocaleString(e=Da,r={}){return this.isValid?Hr.create(this.loc.clone(r),e).formatDateTime(this):qS}toLocaleParts(e={}){return this.isValid?Hr.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:r=!1,suppressMilliseconds:n=!1,includeOffset:i=!0,extendedZone:o=!1}={}){if(!this.isValid)return null;let s=e==="extended",c=ZS(this,s);return c+="T",c+=$8(this,s,r,n,i,o),c}toISODate({format:e="extended"}={}){return this.isValid?ZS(this,e==="extended"):null}toISOWeekDate(){return pw(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:r=!1,includeOffset:n=!0,includePrefix:i=!1,extendedZone:o=!1,format:s="extended"}={}){return this.isValid?(i?"T":"")+$8(this,s==="extended",r,e,n,o):null}toRFC2822(){return pw(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return pw(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?ZS(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:r=!1,includeOffsetSpace:n=!0}={}){let i="HH:mm:ss.SSS";return(r||e)&&(n&&(i+=" "),r?i+="z":e&&(i+="ZZ")),pw(this,i,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():qS}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};let r={...this.c};return e.includeConfig&&(r.outputCalendar=this.outputCalendar,r.numberingSystem=this.loc.numberingSystem,r.locale=this.loc.locale),r}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,r="milliseconds",n={}){if(!this.isValid||!e.isValid)return or.invalid("created by diffing an invalid DateTime");let i={locale:this.locale,numberingSystem:this.numberingSystem,...n},o=r8(r).map(or.normalizeUnit),s=e.valueOf()>this.valueOf(),c=s?this:e,a=s?e:this,d=P8(c,a,o,i);return s?d.negate():d}diffNow(e="milliseconds",r={}){return this.diff(t.now(),e,r)}until(e){return this.isValid?Ls.fromDateTimes(this,e):this}hasSame(e,r,n){if(!this.isValid)return!1;let i=e.valueOf(),o=this.setZone(e.zone,{keepLocalTime:!0});return o.startOf(r,n)<=i&&i<=o.endOf(r,n)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;let r=e.base||t.fromObject({},{zone:this.zone}),n=e.padding?this<r?-e.padding:e.padding:0,i=["years","months","days","hours","minutes","seconds"],o=e.unit;return Array.isArray(e.unit)&&(i=e.unit,o=void 0),V8(r,this.plus(n),{...e,numeric:"always",units:i,unit:o})}toRelativeCalendar(e={}){return this.isValid?V8(e.base||t.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(t.isDateTime))throw new lr("min requires all arguments be DateTimes");return LS(e,r=>r.valueOf(),Math.min)}static max(...e){if(!e.every(t.isDateTime))throw new lr("max requires all arguments be DateTimes");return LS(e,r=>r.valueOf(),Math.max)}static fromFormatExplain(e,r,n={}){let{locale:i=null,numberingSystem:o=null}=n,s=pt.fromOpts({locale:i,numberingSystem:o,defaultToEN:!0});return GS(s,e,r)}static fromStringExplain(e,r,n={}){return t.fromFormatExplain(e,r,n)}static buildFormatParser(e,r={}){let{locale:n=null,numberingSystem:i=null}=r,o=pt.fromOpts({locale:n,numberingSystem:i,defaultToEN:!0});return new Sh(o,e)}static fromFormatParser(e,r,n={}){if(Ge(e)||Ge(r))throw new lr("fromFormatParser requires an input string and a format parser");let{locale:i=null,numberingSystem:o=null}=n,s=pt.fromOpts({locale:i,numberingSystem:o,defaultToEN:!0});if(!s.equals(r.locale))throw new lr(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${r.locale}`);let{result:c,zone:a,specificOffset:d,invalidReason:h}=r.explainFromTokens(e);return h?t.invalid(h):Fp(c,a,n,`format ${r.format}`,e,d)}static get DATE_SHORT(){return Da}static get DATE_MED(){return Bm}static get DATE_MED_WITH_WEEKDAY(){return sS}static get DATE_FULL(){return Gm}static get DATE_HUGE(){return jm}static get TIME_SIMPLE(){return qm}static get TIME_WITH_SECONDS(){return Hm}static get TIME_WITH_SHORT_OFFSET(){return Ym}static get TIME_WITH_LONG_OFFSET(){return Zm}static get TIME_24_SIMPLE(){return Xm}static get TIME_24_WITH_SECONDS(){return Jm}static get TIME_24_WITH_SHORT_OFFSET(){return Qm}static get TIME_24_WITH_LONG_OFFSET(){return Km}static get DATETIME_SHORT(){return eh}static get DATETIME_SHORT_WITH_SECONDS(){return th}static get DATETIME_MED(){return rh}static get DATETIME_MED_WITH_SECONDS(){return nh}static get DATETIME_MED_WITH_WEEKDAY(){return aS}static get DATETIME_FULL(){return ih}static get DATETIME_FULL_WITH_SECONDS(){return oh}static get DATETIME_HUGE(){return sh}static get DATETIME_HUGE_WITH_SECONDS(){return ah}}});var Nn=N(()=>{za();_h();VS();zS();Rl();Cp();Ua();SS();Q0();Va()});function zl(t){return t instanceof xr?t===Yr.instance:t?.toString().toLowerCase()==="unknown"}function gw(t){return zl(t)?Yr.instance:t}var XS,Yr,Eh=N(()=>{Nn();XS=class XS{};XS.instance=new ur("Etc/UTC");Yr=XS});function Up(t,e,r){return t<e?t-e:t>r?t-r:0}function Vp(t,e,r){return t<e?e:t>r?r:t}function co(t,e=!0){if(t instanceof xr)return t;if(t.toLowerCase()==="system")return"system";if(t.toLowerCase()==="utc")return"UTC";if(t.toLowerCase()==="unknown")return Yr.instance;if(/^[+-]?[0-9]{1,2}([:][0-9]{2})?$/.test(t)){let n=St.parseSpecifier("UTC"+(t.startsWith("+")||t.startsWith("-")?"":"+")+t);if(n)return n}let r=ur.create(t);if(!r.isValid){if(e)throw new JS(ww.TimeZoneNotRecognized);return null}return r}var ww,_B,JS,Ch,j8=N(()=>{Na();Eh();Nn();(function(t){t.TimeZoneNotRecognized="TimeZoneNotRecognized"})(ww||(ww={}));_B={[ww.TimeZoneNotRecognized]:"Timezone identifier has not been recognized."},JS=class t extends Error{constructor(e,r){super(qo(_B[e],r)),this.declaredRootClass="esri.arcade.arcadedate.dateerror",Error.captureStackTrace&&Error.captureStackTrace(this,t)}};Ch=class t{constructor(e){this._date=e,this.declaredRootClass="esri.arcade.arcadedate"}static fromParts(e=0,r=1,n=1,i=0,o=0,s=0,c=0,a){if(isNaN(e)||isNaN(r)||isNaN(n)||isNaN(i)||isNaN(o)||isNaN(s)||isNaN(c))return null;let d=Te.local(e,r).daysInMonth,h=Te.fromObject({day:Vp(n,1,d),year:e,month:Vp(r,1,12),hour:Vp(i,0,23),minute:Vp(o,0,59),second:Vp(s,0,59),millisecond:Vp(c,0,999)},{zone:co(a)});return h=h.plus({months:Up(r,1,12),days:Up(n,1,d),hours:Up(i,0,23),minutes:Up(o,0,59),seconds:Up(s,0,59),milliseconds:Up(c,0,999)}),new t(h)}static get systemTimeZoneCanonicalName(){return Intl.DateTimeFormat().resolvedOptions().timeZone??"system"}static arcadeDateAndZoneToArcadeDate(e,r){let n=co(r);return e.isUnknownTimeZone||n===Yr.instance?t.fromParts(e.year,e.monthJS+1,e.day,e.hour,e.minute,e.second,e.millisecond,n):new t(e._date.setZone(n))}static dateJSToArcadeDate(e){return new t(Te.fromJSDate(e,{zone:"system"}))}static dateJSAndZoneToArcadeDate(e,r="system"){let n=co(r);return new t(Te.fromJSDate(e,{zone:n}))}static unknownEpochToArcadeDate(e){return new t(Te.fromMillis(e,{zone:Yr.instance}))}static unknownDateJSToArcadeDate(e){return new t(Te.fromMillis(e.getTime(),{zone:Yr.instance}))}static epochToArcadeDate(e,r="system"){let n=co(r);return new t(Te.fromMillis(e,{zone:n}))}static dateTimeToArcadeDate(e){return new t(e)}clone(){return new t(this._date)}changeTimeZone(e){let r=co(e);return t.dateTimeToArcadeDate(this._date.setZone(r))}static dateTimeAndZoneToArcadeDate(e,r){let n=co(r);return e.zone===Yr.instance||n===Yr.instance?t.fromParts(e.year,e.month,e.day,e.hour,e.minute,e.second,e.millisecond,n):new t(e.setZone(n))}static nowToArcadeDate(e){let r=co(e);return new t(Te.fromJSDate(new Date,{zone:r}))}static nowUTCToArcadeDate(){return new t(Te.utc())}get isSystem(){return this.timeZone==="system"||this.timeZone===t.systemTimeZoneCanonicalName}equals(e){return this.isSystem&&e.isSystem?this.toNumber()===e.toNumber():this.isUnknownTimeZone===e.isUnknownTimeZone&&this._date.equals(e._date)}get isUnknownTimeZone(){return this._date.zone===Yr.instance}get isValid(){return this._date.isValid}get hour(){return this._date.hour}get second(){return this._date.second}get day(){return this._date.day}get dayOfWeekISO(){return this._date.weekday}get dayOfWeekJS(){let e=this._date.weekday;return e>6&&(e=0),e}get millisecond(){return this._date.millisecond}get monthISO(){return this._date.month}get weekISO(){return this._date.weekNumber}get yearISO(){return this._date.weekYear}get monthJS(){return this._date.month-1}get year(){return this._date.year}get minute(){return this._date.minute}get zone(){return this._date.zone}get timeZoneOffset(){return this.isUnknownTimeZone?0:this._date.offset}get timeZone(){if(this.isUnknownTimeZone)return"unknown";if(this._date.zone.type==="system")return"system";let e=this.zone;return e.type==="fixed"?e.fixed===0?"UTC":e.formatOffset(0,"short"):e.name}stringify(){return JSON.stringify(this.toJSDate())}plus(e){return new t(this._date.plus(e))}diff(e,r="milliseconds"){return this._date.diff(e._date,r)[r]}toISODate(){return this._date.toISODate()}toISOString(e){return e?this._date.toISO({suppressMilliseconds:!0,includeOffset:!this.isUnknownTimeZone}):this._date.toISO({includeOffset:!this.isUnknownTimeZone})}toISOTime(e,r){return this._date.toISOTime({suppressMilliseconds:e,includeOffset:r&&!this.isUnknownTimeZone})}toFormat(e,r){return this.isUnknownTimeZone&&(e=e.replaceAll("Z","")),this._date.toFormat(e,r)}toJSDate(){return this._date.toJSDate()}toSQLValue(){return this._date.toFormat("yyyy-LL-dd HH:mm:ss")}toSQLWithKeyword(){return`timestamp '${this.toSQLValue()}'`}toDateTime(){return this._date}toNumber(){return this._date.toMillis()}getTime(){return this._date.toMillis()}toUTC(){return new t(this._date.toUTC())}toLocal(){return new t(this._date.toLocal())}toString(){return this.toISOString(!0)}static fromReaderAsTimeStampOffset(e){if(!e)return null;let r=Te.fromISO(e,{setZone:!0});return new t(r)}}});function kt(t){return t?{remove(){t&&(t(),t=void 0)}}:SB}function xB(t){t.forEach(e=>e?.remove())}function Wl(t){return kt(()=>xB(t))}var SB,ci=N(()=>{SB={remove:()=>{}}});function H8(){let t=QS?.getAttribute("lang"),e=globalThis.navigator?.language;return CB??t??e??"en"}function li(){return Th===void 0&&(Th=H8()),Th}function Y8(t=li()){return TB.exec(t)?.groups}function KS(t){return yw.push(t),kt(()=>yw.splice(yw.indexOf(t),1))}function zp(t){return bw.push(t),kt(()=>bw.splice(bw.indexOf(t),1))}function q8(){let t=EB??H8();Th!==t&&([...bw].forEach(e=>e(t)),Th=t,[...yw].forEach(e=>e(t)))}var EB,Th,CB,QS,TB,yw,bw,qa=N(()=>{ci();CB=globalThis.esriConfig?.locale??globalThis.dojoConfig?.locale,QS=globalThis.document?.documentElement;TB=/^(?<language>[a-z]{2,3})(?:-[a-z]{3})?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;yw=[];bw=[];globalThis.addEventListener?.("languagechange",q8),QS&&new MutationObserver(()=>{q8()}).observe(QS,{attributeFilter:["lang"]})});function Z8(t){t=t.replaceAll(/LTS|LT|L{1,4}|l{1,4}/g,"[$&]");let e="",r=/(\[[^[]*\])|(\\)?([Hh]mm(ss)?|Mo|M{1,4}|Do|DDDo|D{1,4}|d{2,4}|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g;for(let n of t.match(r)||[])switch(n){case"D":e+="d";break;case"DD":e+="dd";break;case"DDD":e+="o";break;case"d":e+="c";break;case"ddd":e+="ccc";break;case"dddd":e+="cccc";break;case"M":e+="L";break;case"MM":e+="LL";break;case"MMM":e+="LLL";break;case"MMMM":e+="LLLL";break;case"YY":e+="yy";break;case"Y":case"YYYY":e+="yyyy";break;case"Q":e+="q";break;case"X":case"x":e+=n;break;default:n.length>=2&&n.slice(0,1)==="["&&n.slice(-1)==="]"?e+=`'${n.slice(1,-1)}'`:e+=`'${n}'`}return e}var X8,Zr,Ph=N(()=>{j8();qa();Nn();X8="esri.core.sql.dateonly",Zr=class t{constructor(e,r,n){this._year=e,this._month=r,this._day=n,this.declaredRootClass=X8}static isDateOnly(e){return typeof e=="object"&&e!=null&&"declaredRootClass"in e&&e.declaredRootClass===X8}get month(){return this._month}get monthJS(){return this._month-1}get year(){return this._year}get day(){return this._day}get isValid(){return this.toDateTime("unknown").isValid}equals(e){return t.isDateOnly(e)&&e.day===this.day&&e.month===this.month&&e.year===this.year}clone(){return new t(this._year,this._month,this._day)}toDateTime(e){return Te.fromObject({day:this.day,month:this.month,year:this.year},{zone:co(e)})}toDateTimeLuxon(e){return Te.fromObject({day:this.day,month:this.month,year:this.year},{zone:co(e)})}toString(){return`${this.year.toString().padStart(4,"0")}-${this.month.toString().padStart(2,"0")}-${this.day.toString().padStart(2,"0")}`}toFormat(e=null,r=!0){if(e===null||e==="")return this.toString();if(r&&(e=Z8(e)),!e)return"";let n=this.toDateTime("unknown");return Ch.dateTimeToArcadeDate(n).toFormat(e,{locale:li(),numberingSystem:"latn"})}toArcadeDate(){let e=this.toDateTime("unknown");return Ch.dateTimeToArcadeDate(e)}toNumber(){return this.toDateTime("unknown").toMillis()}toJSDate(){return this.toDateTime("unknown").toJSDate()}toStorageFormat(){return this.toFormat("yyyy-LL-dd",!1)}toSQLValue(){return this.toFormat("yyyy-LL-dd",!1)}toSQLWithKeyword(){return"date '"+this.toFormat("yyyy-LL-dd",!1)+"'"}plus(e,r){return t.fromDateTime(this.toUTCDateTime().plus({[e]:r}))}toUTCDateTime(){return Te.utc(this.year,this.month,this.day,0,0,0,0)}difference(e,r){switch(r.toLowerCase()){case"days":case"day":case"d":return this.toUTCDateTime().diff(e.toUTCDateTime(),"days").days;case"months":case"month":return this.toUTCDateTime().diff(e.toUTCDateTime(),"months").months;case"minutes":case"minute":case"m":return r==="M"?this.toUTCDateTime().diff(e.toUTCDateTime(),"months").months:this.toUTCDateTime().diff(e.toUTCDateTime(),"minutes").minutes;case"seconds":case"second":case"s":return this.toUTCDateTime().diff(e.toUTCDateTime(),"seconds").seconds;case"milliseconds":case"millisecond":case"ms":default:return this.toUTCDateTime().diff(e.toUTCDateTime(),"milliseconds").milliseconds;case"hours":case"hour":case"h":return this.toUTCDateTime().diff(e.toUTCDateTime(),"hours").hours;case"years":case"year":case"y":return this.toUTCDateTime().diff(e.toUTCDateTime(),"years").years}}static fromMilliseconds(e){let r=Te.fromMillis(e,{zone:St.utcInstance});return r.isValid?t.fromParts(r.year,r.month,r.day):null}static fromSeconds(e){let r=Te.fromSeconds(e,{zone:St.utcInstance});return r.isValid?t.fromParts(r.year,r.month,r.day):null}static fromReader(e){if(!e)return null;let r=e.split("-");return r.length!==3?null:new t(parseInt(r[0],10),parseInt(r[1],10),parseInt(r[2],10))}static fromParts(e,r,n){let i=new t(e,r,n);return i.isValid===!1?null:i}static fromDateJS(e){return t.fromParts(e.getFullYear(),e.getMonth()+1,e.getDay())}static fromDateTime(e){return t.fromParts(e.year,e.month,e.day)}static fromSqlTimeStampOffset(e){return this.fromDateTime(e.toDateTime())}static fromString(e,r=null){if(e===""||e===null)return null;let n=[];if(r)(r=Z8(r))&&n.push(r);else if(r===null||r===""){let i=Te.fromISO(e,{setZone:!0});return i.isValid?t.fromParts(i.year,i.month,i.day):null}for(let i of n){let o=Te.fromFormat(e,r??i);if(o.isValid)return new t(o.year,o.month,o.day)}return null}static fromNow(e="system"){let r=Te.fromJSDate(new Date).setZone(co(e));return new t(r.year,r.month,r.day)}}});var J,PB,ne,Ha=N(()=>{Na();(function(t){t.InvalidFunctionParameters="InvalidFunctionParameters",t.InvalidValueForAggregateFunction="InvalidValueForAggregateFunction",t.UnsupportedSqlFunction="UnsupportedSqlFunction",t.UnsupportedOperator="UnsupportedOperator",t.UnsupportedSyntax="UnsupportedSyntax",t.UnsupportedIsRhs="UnsupportedIsRhs",t.UnsupportedIsLhs="UnsupportedIsLhs",t.InvalidDataType="InvalidDataType",t.CannotCastValue="CannotCastValue",t.FunctionNotRecognized="FunctionNotRecognized",t.InvalidTime="InvalidTime",t.InvalidParameterCount="InvalidParameterCount",t.InvalidTimeStamp="InvalidTimeStamp",t.InvalidDate="InvalidDate",t.InvalidOperator="InvalidOperator",t.IllegalInterval="IllegalInterval",t.YearMonthIntervals="YearMonthIntervals",t.PrimarySecondaryQualifiers="PrimarySecondaryQualifiers",t.MissingStatisticParameters="MissingStatisticParameters"})(J||(J={}));PB={[J.InvalidValueForAggregateFunction]:"Invalid value used in aggregate function",[J.MissingStatisticParameters]:"Statistic does not have 1 or 0 Parameters",[J.InvalidFunctionParameters]:"Invalid parameters for call to {function}",[J.UnsupportedIsLhs]:"Unsupported left hand expression in is statement",[J.UnsupportedIsRhs]:"Unsupported right hand expression in is statement",[J.UnsupportedOperator]:"Unsupported operator - {operator}",[J.UnsupportedSyntax]:"Unsupported syntax - {node}",[J.UnsupportedSqlFunction]:"Sql function not found = {function}",[J.InvalidDataType]:"Invalid sql data type",[J.InvalidDate]:"Invalid date encountered",[J.InvalidOperator]:"Invalid operator encountered",[J.InvalidTime]:"Invalid time encountered",[J.IllegalInterval]:"Illegal interval",[J.FunctionNotRecognized]:"Function not recognized",[J.InvalidTimeStamp]:"Invalid timestamp encountered",[J.InvalidParameterCount]:"Invalid parameter count for call to {name}",[J.PrimarySecondaryQualifiers]:"Primary and Secondary SqlInterval qualifiers not supported",[J.YearMonthIntervals]:"Year-Month Intervals not supported",[J.CannotCastValue]:"Cannot cast value to the required data type"},ne=class t extends Error{constructor(e,r){super(qo(PB[e],r)),this.declaredRootClass="esri.arcade.featureset.support.sqlerror",Error.captureStackTrace&&Error.captureStackTrace(this,t)}}});function J8(t){return Number.isNaN(t)||t===0?t:Math.trunc(t)}var Q8,cn,Mh=N(()=>{Nn();Q8="esri.core.sql.SqlTimeStampOffset",cn=class t{constructor(e){this._timeStampOffset=e,this.declaredRootClass=Q8,this._date=null}static isTimestampOffset(e){return typeof e=="object"&&e!=null&&"declaredRootClass"in e&&e.declaredRootClass===Q8}toDateTime(){return this._date??(this._date=Te.fromISO(this._timeStampOffset,{setZone:!0})),this._date}get isValid(){return this.toDateTime().isValid}get timezoneOffsetHour(){return J8(this.toDateTime().offset/60)}get timezoneOffsetMinutes(){return J8(this.toDateTime().offset%60)}toMilliseconds(){return this.toDateTime().toMillis()}get hour(){return this.toDateTime().hour}get minute(){return this.toDateTime().minute}get second(){return this.toDateTime().second}get day(){return this.toDateTime().day}get month(){return this.toDateTime().month}get year(){return this.toDateTime().year}startOfDay(){return t.fromDateTime(this.toDateTime().startOf("day"))}static fromJSDate(e){return new t(Te.fromJSDate(e).toISO({includeOffset:!0}))}static fromDateTime(e){return new t(e.toISO({includeOffset:!0}))}static fromParts(e,r,n=0,i=0,o=0,s=0,c=0,a=!1,d=0,h=0){let g=`${e.toString().padStart(4,"0")}-${r.toString().padStart(2,"0")}-${n.toString().padStart(2,"0")}`,v="";s<10&&(v="0");let E=`${i.toString().padStart(2,"0")}:${o.toString().padStart(2,"0")}:${v+s.toString()}`;c!==0&&(E+="."+c.toString().padStart(3,"0"));let M=`${a?"-":"+"}${d.toString().padStart(2,"0")}:${h.toString().padStart(2,"0")}`;return new t(g+"T"+E+M)}toStorageFormat(){return this._timeStampOffset}toString(){return this._timeStampOffset}toSQLValue(){let e=this.toDateTime().toSQL({includeOffset:!0,includeOffsetSpace:!0});return e&&(e=e.replace(".000","")),e}toSQLWithKeyword(){return`timestamp '${this.toSQLValue()}'`}addMilliseconds(e){let r=this.toDateTime().plus(e);return t.fromDateTime(r)}}});function ae(t,e,r,n){var i,o=arguments.length,s=o<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(s=(o<3?i(s):o>3?i(e,r,s):i(e,r))||s);return o>3&&s&&Object.defineProperty(e,r,s),s}var ui=N(()=>{});var vw,_w=N(()=>{vw="20250311"});var wt,Ya=N(()=>{$t();jo();_w();wt={apiKey:void 0,applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&(P6(wt,globalThis.esriConfig,!0),delete wt.has),!wt.assetsPath){{let t="4.33.0";wt.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${t}-next.${vw}/assets`}wt.defaultAssetsPath=wt.assetsPath}});function MB(t,e,...r){console[t](`[${e}]`,...r)}function AB(...t){return k6(JSON.stringify(t,(r,n)=>typeof n!="object"||Array.isArray(n)?n:"[Object]"))}var K8,Xr,nt,Wt=N(()=>{Ya();$t();Na();K8={info:0,warn:1,error:2,none:3},Xr=class Xr{constructor(e){this.level=null,this._module="",this._parent=null,this.writer=null,this._loggedMessages={error:new Map,warn:new Map,info:new Map},e.level!=null&&(this.level=e.level),e.writer!=null&&(this.writer=e.writer),this._module=e.module,Xr._loggers.set(this.module,this);let r=this.module.lastIndexOf(".");r!==-1&&(this._parent=Xr.getLogger(this.module.slice(0,r)))}get module(){return this._module}get parent(){return this._parent}error(...e){this._log("error","always",...e)}warn(...e){this._log("warn","always",...e)}info(...e){this._log("info","always",...e)}errorOnce(...e){this._log("error","once",...e)}warnOnce(...e){this._log("warn","once",...e)}infoOnce(...e){this._log("info","once",...e)}errorOncePerTick(...e){this._log("error","oncePerTick",...e)}warnOncePerTick(...e){this._log("warn","oncePerTick",...e)}infoOncePerTick(...e){this._log("info","oncePerTick",...e)}get test(){}static get test(){}static getLogger(e){return e=typeof e!="string"?e.declaredClass:e,Xr._loggers.get(e)||new Xr({module:e})}_log(e,r,...n){if(this._matchLevel(e)){if(r!=="always"&&!Xr._throttlingDisabled){let i=AB(n),o=this._loggedMessages[e].get(i);if(r==="once"&&o!=null||r==="oncePerTick"&&o&&o>=Xr._tickCounter)return;this._loggedMessages[e].set(i,Xr._tickCounter),Xr._scheduleTickCounterIncrement()}for(let i of wt.log.interceptors)if(i(e,this.module,...n))return;this._inheritedWriter()(e,this.module,...n)}}_parentWithMember(e,r){let n=this;for(;n!=null;){let i=n[e];if(i!=null)return i;n=n.parent}return r}_inheritedWriter(){return this._parentWithMember("writer",MB)}_matchLevel(e){let r=wt.log.level||"warn";return K8[this._parentWithMember("level",r)]<=K8[e]}static _scheduleTickCounterIncrement(){Xr._tickCounterScheduled||(Xr._tickCounterScheduled=!0,Promise.resolve().then(()=>{Xr._tickCounter++,Xr._tickCounterScheduled=!1}))}};Xr._loggers=new Map,Xr._tickCounter=0,Xr._tickCounterScheduled=!1,Xr._throttlingDisabled=!1;nt=Xr});function Wp(t,e,r){let n=t.get(e);if(n!==void 0)return n;let i=r();return t.set(e,i),i}var Sw=N(()=>{});function IB(t){return t==null?t:new Date(t)}function LB(t){return t==null?t:!!t}function kB(t){return t==null?t:t.toString()}function nx(t,e=0){return t==null?t:(t=parseFloat(t),isNaN(t)?e:t)}function OB(t){return t==null?t:Math.round(parseFloat(t))}function NB(t){return null}function tP(t,e){return r=>{let n=t(r);return e.step!=null&&(n=Math.round(n/e.step)*e.step),e.min!=null&&(n=Math.max(e.min,n)),e.max!=null&&(n=Math.min(e.max,n)),n}}function rP(t){return t?.constructor&&t.constructor.__accessorMetadata__!==void 0}function xw(t,e){return e!=null&&t&&!(e instanceof t)}function nP(t){return t&&"isCollection"in t}function eP(t){return t?.Type?typeof t.Type=="function"?t.Type:t.Type.base:null}function RB(t,e){if(!e?.constructor||!nP(e.constructor))return ex(t,e)?e:new t(e);let r=eP(t.prototype.itemType),n=eP(e.constructor.prototype.itemType);return r?n?r===n?e:r.prototype.isPrototypeOf(n.prototype)?new t(e):(ex(t,e),e):new t(e):e}function ex(t,e){return!!rP(e)&&(Bp().error("Accessor#set","Assigning an instance of '"+(e.declaredClass||"unknown")+"' which is not a subclass of '"+Ew(t)+"'"),!0)}function DB(t,e){return e==null?e:nP(t)?RB(t,e):xw(t,e)?ex(t,e)?e:new t(e):e}function Ew(t){return t?.prototype?.declaredClass||"unknown"}function FB(t){switch(t){case Number:return e=>nx(e);case Yo:return OB;case Boolean:return LB;case String:return kB;case Date:return IB;case Ih:return NB;default:return Wp($B,t,()=>DB.bind(null,t))}}function Ho(t,e){let r=FB(t);return arguments.length===1?r:r(e)}function Gp(t,e,r){return arguments.length===1?Gp.bind(null,t):e&&(Array.isArray(e)?e.map(n=>t(n,r)):[t(e,r)])}function iP(t,e){return arguments.length===1?Gp(r=>Ho(t,r)):Gp(r=>Ho(t,r),e)}function oP(t,e,r){return e!==0&&Array.isArray(r)?r.map(n=>oP(t,e-1,n)):t(r)}function Ah(t,e,r){if(arguments.length===2)return o=>Ah(t,e,o);if(!r)return r;r=oP(t,e,r);let n=e,i=r;for(;n>0&&Array.isArray(i);)n--,i=i[0];if(i!==void 0)for(let o=0;o<n;o++)r=[r];return r}function sP(t,e,r){return arguments.length===2?Ah(n=>Ho(t,n),e):Ah(n=>Ho(t,n),e,r)}function Cw(t){return!!Array.isArray(t)&&!t.some(e=>{let r=typeof e;return!(r==="string"||r==="number"||r==="function"&&t.length>1)})}function Tw(t,e){if(arguments.length===2)return Tw(t).call(null,e);let r=new Set,n=t.filter(c=>typeof c!="function"),i=t.filter(c=>typeof c=="function");for(let c of t)typeof c!="string"&&typeof c!="number"||r.add(c);let o=null,s=null;return(c,a)=>{if(c==null)return c;let d=typeof c,h=d==="string"||d==="number";return h&&(r.has(c)||i.some(g=>d==="string"&&g===String||d==="number"&&g===Number))||d==="object"&&i.some(g=>!xw(c,g))?c:(h&&n.length?(o||(o=n.map(g=>typeof g=="string"?`'${g}'`:`${g}`).join(", ")),Bp().error("Accessor#set",`'${c}' is not a valid value for this property, only the following values are valid: ${o}`)):typeof c=="object"&&i.length?(s||(s=i.map(g=>Ew(g)).join(", ")),Bp().error("Accessor#set",`'${c}' is not a valid value for this property, value must be one of ${s}`)):Bp().error("Accessor#set",`'${c}' is not a valid value for this property`),a&&(a.valid=!1),null)}}function Pw(t,e){if(arguments.length===2)return Pw(t).call(null,e);let r={},n=[],i=[];for(let a in t.typeMap){let d=t.typeMap[a];r[a]=Ho(d),n.push(Ew(d)),i.push(a)}let o=()=>`'${n.join("', '")}'`,s=()=>`'${i.join("', '")}'`,c=typeof t.key=="string"?a=>a[t.key]:t.key;return a=>{if(t.base&&!xw(t.base,a)||a==null)return a;let d=c(a)||t.defaultKeyValue,h=r[d];if(!h)return Bp().error("Accessor#set",`Invalid property value, value needs to be one of ${o()}, or a plain object that can autocast (having .type = ${s()})`),null;if(!xw(t.typeMap[d],a))return a;if(typeof t.key=="string"&&!rP(a)){let g={};for(let v in a)v!==t.key&&(g[v]=a[v]);return h(g)}return h(a)}}function aP(t){if(!t||!("type"in t))return!1;switch(t.type){case"native":case"array":case"one-of":return!0}return!1}function ix(t){switch(t.type){case"native":return Ho(t.value);case"array":return Gp(ix(t.value));case"one-of":return UB(t);default:return null}}function UB(t){let e=null;return(r,n)=>rx(r,t)?r:(e==null&&(e=tx(t)),Bp().error("Accessor#set",`Invalid property value, value needs to be of type ${e}`),n&&(n.valid=!1),null)}function tx(t){switch(t.type){case"native":switch(t.value){case Number:return"number";case String:return"string";case Boolean:return"boolean";case Yo:return"integer";case Date:return"date";case Ih:return"null";default:return Ew(t.value)}case"array":return`array of ${tx(t.value)}`;case"one-of":{let e=t.values.map(r=>tx(r));return`one of ${e.slice(0,-1)} or ${e[e.length-1]}`}}return"unknown"}function rx(t,e){if(t==null)return!0;switch(e.type){case"native":switch(e.value){case Number:case Yo:return typeof t=="number";case Boolean:return typeof t=="boolean";case String:return typeof t=="string";case Ih:return t===null}return t instanceof e.value;case"array":return!!Array.isArray(t)&&!t.some(r=>!rx(r,e.value));case"one-of":return e.values.some(r=>rx(t,r))}}var Bp,$B,Yo,Ih,jp=N(()=>{$t();Wt();Sw();Bp=()=>nt.getLogger("esri.core.accessorSupport.ensureTypes");$B=new WeakMap;Yo=class{},Ih=class{}});function Zo(t){return t.__accessor__??null}function lP(t,e){return t?.metadata?.[e]!=null}function qp(t,e,r){return r?Mw(t,e,{policy:r,path:""}):Mw(t,e,null)}function Mw(t,e,r){return e?Object.keys(e).reduce((n,i)=>{let o=i,s=null,c="merge";if(r&&(s=r.path?`${r.path}.${i}`:i,c=r.policy(s)),c==="replace"||c==="replace-arrays"&&Array.isArray(n[o]))return n[o]=e[o],n;if(n[o]===void 0)return n[o]=Zt(e[o]),n;let a=n[o],d=e[o];if(a===d)return n;if(Array.isArray(d)||Array.isArray(n))a=a?Array.isArray(a)?n[o]=a.slice():n[o]=[a]:n[o]=[],d&&(Array.isArray(d)||(d=[d]),d.forEach(h=>{a.includes(h)||a.push(h)}));else if(d&&typeof d=="object")if(r){let h=r.path;r.path=s,n[o]=Mw(a,d,r),r.path=h}else n[o]=Mw(a,d,null);else n.hasOwnProperty(i)&&!e.hasOwnProperty(i)||(n[o]=d);return n},t||{}):t}function Aw(t){return Array.isArray(t)?t:t.split(".")}function cP(t){return t.includes(",")?t.split(",").map(e=>e.trim()):[t.trim()]}function VB(t){if(Array.isArray(t)){let e=[];for(let r of t)e.push(...cP(r));return e}return cP(t)}function ox(t,e,r,n){let i=VB(e);if(i.length!==1){let o=i.map(s=>n(t,s,r));return Wl(o)}return n(t,i[0],r)}var Za=N(()=>{ci();kn()});function uP(t,e){let r=t[t.length-1]==="?"?t.slice(0,-1):t;if(e.getItemAt!=null||Array.isArray(e)){let i=parseInt(r,10);if(!isNaN(i))return Array.isArray(e)?e[i]:e.at(i)}let n=Zo(e);return lP(n,r)?n.get(r):e[r]}function dP(t,e,r){if(t==null)return t;let n=uP(e[r],t);return!n&&r<e.length-1?void 0:r===e.length-1?n:dP(n,e,r+1)}function Bl(t,e,r=0){return typeof e!="string"||e.includes(".")?dP(t,Aw(e),r):uP(e,t)}function Xo(t,e){return Bl(t,e)}function sx(t,e){return Bl(e,t)!==void 0}var Gl=N(()=>{Za()});function Xa(t){let e=t.constructor.__accessorMetadata__,r=Object.prototype.hasOwnProperty.call(t.constructor,"__accessorMetadata__");if(e){if(!r){e=Object.create(e);for(let n in e)e[n]=Zt(e[n]);Object.defineProperty(t.constructor,"__accessorMetadata__",{value:e,enumerable:!1,configurable:!0,writable:!0})}}else e={},Object.defineProperty(t.constructor,"__accessorMetadata__",{value:e,enumerable:!1,configurable:!0,writable:!0});return t.constructor.__accessorMetadata__}function Hp(t,e){let r=Xa(t),n=r[e];return n||(n=r[e]={}),n}function pP(t,e){return qp(t,e,WB)}function WB(t){return zB.test(t)?"replace":"merge"}var zB,Yp=N(()=>{kn();Za();zB=/^(?:[^.]+\.)?(?:value|type|(?:json\.type|json\.origins\.[^.]\.type))$/});function BB(t,e){return t.replaceAll(/\$\{([^\s:}]*)(?::([^\s:}]+))?\}/g,(r,n)=>n===""?"$":(Mi(n,e)??"").toString())}var Zp,ax=N(()=>{jo();Zp=class{constructor(e,r,n=void 0){this.name=e,this.details=n,this.message=(r&&BB(r,n))??""}toString(){return"["+this.name+"]: "+this.message}}});var We,Rn=N(()=>{kn();Wt();ax();We=class t extends Zp{constructor(e,r,n){super(e,r,n)}toJSON(){if(this.details!=null)try{return{name:this.name,message:this.message,details:JSON.parse(JSON.stringify(this.details,(e,r)=>{if(r&&typeof r=="object"&&typeof r.toJSON=="function")return r;try{return Zt(r)}catch{return"[object]"}}))}}catch(e){throw nt.getLogger("esri.core.Error").error(e),e}return{name:this.name,message:this.message,details:this.details}}static fromJSON(e){return new t(e.name,e.message,e.details)}};We.prototype.type="error"});function Xp(t,e,r){if(t&&e)if(typeof e=="object")for(let n of Object.getOwnPropertyNames(e))Xp(t,n,e[n]);else{if(e.includes(".")){let i=e.split("."),o=i.splice(-1,1)[0];return void Xp(Xo(t,i),o,r)}let n=t.__accessor__;n!=null&&GB(e,n),t[e]=r}}function GB(t,e){if(pe("esri-unknown-property-errors")&&!jB(t,e))throw new We("set:unknown-property",qB(t,e))}function jB(t,e){return e.metadata[t]!=null}function qB(t,e){return"setting unknown property '"+t+"' on instance of "+e.host.declaredClass}var cx=N(()=>{Rn();$t();Wt();Gl()});function fe(t={}){return(e,r)=>{if(e===Function.prototype)throw new Error(`Inappropriate use of @property() on a static field: ${e.name}.${r}. Accessor does not support static properties.`);let n=Object.getOwnPropertyDescriptor(e,r),i=Hp(e,r);n&&(n.get||n.set?(i.get=n.get||i.get,i.set=n.set||i.set):"value"in n&&("value"in t&&nt.getLogger("esri.core.accessorSupport.decorators.property").warn(`@property() will redefine the value of "${r}" on "${e.constructor.name}" already defined in the metadata`,t),i.value=t.value=n.value)),t.readOnly!=null&&(i.readOnly=t.readOnly);let o=t.aliasOf;if(o){let a=typeof o=="string"?o:o.source,d=typeof o=="string"?null:o.overridable===!0,h;i.dependsOn=[a],i.get=function(){let g=Xo(this,a);if(typeof g=="function"){h||(h=a.split(".").slice(0,-1).join("."));let v=Xo(this,h);v&&(g=g.bind(v))}return g},i.readOnly||(i.set=d?function(g){this._override(r,g)}:function(g){Xp(this,a,g)})}let s=t.type,c=t.types;if(!i.cast){let a;s?a=HB(s):c&&(a=Array.isArray(c)?Gp(Pw(c[0])):Pw(c)),t.cast=YB(t.cast,a)}pP(i,t),t.range&&(i.cast=tP(i.cast,t.range))}}function Iw(t,e,r){let n=Hp(t,r);n.json||(n.json={});let i=n.json;return e!==void 0&&(i.origins||(i.origins={}),i.origins[e]||(i.origins[e]={}),i=i.origins[e]),i}function HB(t){let e=0,r=t;if(aP(t))return ix(t);for(;Array.isArray(r)&&r.length===1&&typeof r[0]!="string"&&typeof r[0]!="number";)r=r[0],e++;let n=r;if(Cw(n))return e===0?Tw(n):Ah(Tw(n),e);if(e===1)return iP(n);if(e>1)return sP(n,e);let i=t;return i.from?i.from:Ho(i)}function YB(t,e){if(t||e)return t?e?(r,n)=>e(t(r,n),n):t:e}var di=N(()=>{Wt();jp();Gl();Yp();cx()});var Lw,lx=N(()=>{Lw=Symbol("Accessor-beforeDestroy")});var Er,Lh=N(()=>{(function(t){t[t.INITIALIZING=0]="INITIALIZING",t[t.CONSTRUCTING=1]="CONSTRUCTING",t[t.CONSTRUCTED=2]="CONSTRUCTED",t[t.DESTROYING=3]="DESTROYING",t[t.DESTROYED=4]="DESTROYED"})(Er||(Er={}))});var ct,kw=N(()=>{(function(t){t[t.Dirty=1]="Dirty",t[t.Overridden=2]="Overridden",t[t.Computing=4]="Computing",t[t.NonNullable=8]="NonNullable",t[t.HasDefaultValue=16]="HasDefaultValue",t[t.DepTrackingInitialized=32]="DepTrackingInitialized",t[t.AutoTracked=64]="AutoTracked",t[t.ExplicitlyTracking=128]="ExplicitlyTracking"})(ct||(ct={}))});var Jo,kh=N(()=>{Jo=class{constructor(e){this.accessed=void 0,this._handles=void 0,this._observer=e}destroy(){this.accessed?.clear(),this.clear()}onAccessed(e){this._observer!=null&&e!==this._observer&&(this.accessed==null&&(this.accessed=new Set),this.accessed.add(e))}onTrackingEnd(){this._observer!=null&&(this.clear(),this.accessed!=null&&(this._handles==null&&(this._handles=[]),this.accessed.forEach(e=>{this._handles.push(e.observe(this._observer))}),this.accessed.clear()))}clear(){if(this._handles!=null){for(let e=0;e<this._handles.length;++e)this._handles[e].remove();this._handles.length=0}}}});function dr(t){Nh.onAccessed(t)}function lo(t,e,r){if(Ow)return ux(t,e,r);let n=null;return hP(t),n=e.call(r),gP(),n}function mP(t,e){return lo(Rw,t,e)}function ux(t,e,r){let n=Ow;Ow=!0,hP(t);let i=null;try{i=e.call(r)}catch(o){Nw&&nt.getLogger("esri.core.accessorSupport.tracking").error(o)}return gP(),Ow=n,i}function hP(t){Nh=t,Oh.push(t)}function gP(){let t=Oh.length;if(t>1){let e=Oh.pop();Nh=Oh[t-2],e.onTrackingEnd()}else if(t===1){let e=Oh.pop();Nh=Rw,e.onTrackingEnd()}else Nh=Rw}function dx(t,e){if(e.flags&ct.DepTrackingInitialized)return;e.flags|=ct.DepTrackingInitialized;let r=Nw;Nw=!1,e.flags&ct.AutoTracked?ux(e.trackingTarget,e.metadata.get,t):px(t,e),Nw=r}function px(t,e){e.flags&ct.ExplicitlyTracking||(e.flags|=ct.ExplicitlyTracking,ux(e.trackingTarget,()=>{let r=e.metadata.dependsOn||ZB;for(let n of r)if(typeof n!="string"||n.includes(".")){let i=Aw(n);for(let o=0,s=t;o<i.length&&s!=null&&typeof s=="object";++o)s=fP(s,i[o],o!==i.length-1)}else fP(t,n,!1)}),e.flags&=~ct.ExplicitlyTracking)}function fP(t,e,r){let n=e[e.length-1]==="?"?e.slice(0,-1):e;if(t.getItemAt!=null||Array.isArray(t)){let o=parseInt(n,10);if(!isNaN(o))return Array.isArray(t)?t[o]:t.at(o)}let i=Zo(t);if(i){let o=i.propertiesByName.get(n);o&&(dr(o),dx(t,o))}return r?t[n]:void 0}var Rw,Oh,Nh,Ow,Nw,ZB,Os=N(()=>{$t();Wt();Za();kw();kh();Rw=new Jo,Oh=[],Nh=Rw;Ow=!1,Nw=!1;ZB=[]});function wP(t){if(t.json&&t.json.origins){let e=t.json.origins,r={"web-document":["web-scene","web-map"]};for(let n in r)if(e[n]){let i=e[n];r[n].forEach(o=>{e[o]=i}),delete e[n]}}}var yP=N(()=>{});var Rh,bP=N(()=>{ax();Rh=class extends Zp{constructor(e,r,n){super(e,r,n)}};Rh.prototype.type="warning"});function Dw(t){return!!t&&t.prototype?.declaredClass&&t.prototype.declaredClass.indexOf("esri.core.Collection")===0}var fx=N(()=>{});function hx(t,e,r){t&&(!r&&!e.read||e.read?.reader||e.read?.enabled===!1||KB(t)&&Ms("read.reader",XB(t),e))}function XB(t){let e=t.ndimArray??0;if(e>1)return QB(t);if(e===1)return vP(t);if("type"in t&&SP(t.type)){let r=t.type.prototype?.itemType?.Type,n=vP(typeof r=="function"?{type:r}:{types:r});return(i,o,s)=>{let c=n(i,o,s);return c&&new t.type(c)}}return gx(t)}function gx(t){return"type"in t?JB(t.type):eG(t.types)}function JB(t){return t.prototype.read?(e,r,n)=>{if(e==null)return e;let i=typeof e;if(i!=="object")return void mx().error(`Expected JSON value of type 'object' to deserialize type '${t.prototype.declaredClass}', but got '${i}'`);let o=new t;return o.read(e,n),o}:t.fromJSON}function _P(t,e,r,n){return n!==0&&Array.isArray(e)?e.map(i=>_P(t,i,r,n-1)):t(e,void 0,r)}function QB(t){let e=gx(t),r=_P.bind(null,e),n=t.ndimArray??0;return(i,o,s)=>{if(i==null)return i;i=r(i,s,n);let c=n,a=i;for(;c>0&&Array.isArray(a);)c--,a=a[0];if(a!==void 0)for(let d=0;d<c;d++)i=[i];return i}}function vP(t){let e=gx(t);return(r,n,i)=>{if(r==null)return r;if(Array.isArray(r)){let s=[];for(let c of r){let a=e(c,void 0,i);a!==void 0&&s.push(a)}return s}let o=e(r,void 0,i);return o!==void 0?[o]:void 0}}function SP(t){if(!Dw(t))return!1;let e=t.prototype.itemType;return!(!e||!e.Type)&&(typeof e.Type=="function"?wx(e.Type):xP(e.Type))}function KB(t){return"types"in t?xP(t.types):wx(t.type)}function wx(t){return!Array.isArray(t)&&!!t&&t.prototype&&("read"in t.prototype||"fromJSON"in t||SP(t))}function xP(t){for(let e in t.typeMap)if(!wx(t.typeMap[e]))return!1;return!0}function eG(t){let e=null,r=t.errorContext??"type",n=t.validate;return(i,o,s)=>{if(i==null)return i;let c=typeof i;if(c!=="object")return void mx().error(`Expected JSON value of type 'object' to deserialize, but got '${c}'`);e||(e=tG(t));let a=t.key;if(typeof a!="string")return;let d=i[a],h=d?e[d]:t.defaultKeyValue?t.typeMap[t.defaultKeyValue]:void 0;if(!h){let v=`Type '${d||"unknown"}' is not supported`;return s?.messages&&i&&s.messages.push(new Rh(`${r}:unsupported`,v,{definition:i,context:s})),void mx().error(v)}let g=new h;return g.read(i,s),n?n(g):g}}function tG(t){let e={};for(let r in t.typeMap){let n=t.typeMap[r],i=Xa(n.prototype);if(typeof t.key=="function")continue;let o=i[t.key];if(!o)continue;if(o.json?.type&&Array.isArray(o.json.type)&&o.json.type.length===1&&typeof o.json.type[0]=="string"){e[o.json.type[0]]=n;continue}let s=o.json?.write;if(!s?.writer){e[r]=n;continue}let c=s.target,a=typeof c=="string"?c:t.key,d={};s.writer(r,d,a),d[a]&&(e[d[a]]=n)}return e}var mx,EP=N(()=>{Wt();jo();bP();Yp();fx();mx=()=>nt.getLogger("esri.core.accessorSupport.extensions.serializableProperty.reader")});function MP(t){if(t.json||(t.json={}),TP(t.json),PP(t.json),CP(t.json),t.json.origins)for(let e in t.json.origins)TP(t.json.origins[e]),PP(t.json.origins[e]),CP(t.json.origins[e]);return!0}function CP(t){t.name&&(t.read&&typeof t.read=="object"?t.read.source===void 0&&(t.read.source=t.name):t.read={source:t.name},t.write&&typeof t.write=="object"?t.write.target===void 0&&(t.write.target=t.name):t.write={target:t.name})}function TP(t){typeof t.read=="boolean"?t.read={enabled:t.read}:typeof t.read=="function"?t.read={enabled:!0,reader:t.read}:t.read&&typeof t.read=="object"&&t.read.enabled===void 0&&(t.read.enabled=!0)}function PP(t){typeof t.write=="boolean"?t.write={enabled:t.write}:typeof t.write=="function"?t.write={enabled:!0,writer:t.write}:t.write&&typeof t.write=="object"&&t.write.enabled===void 0&&(t.write.enabled=!0)}var AP=N(()=>{});function yx(t,e){if(!e.write||e.write.writer||e.write.enabled===!1&&!e.write.overridePolicy)return;let r=t?.ndimArray??0;t&&(r===1||"type"in t&&Dw(t.type))?e.write.writer=oG:r>1?e.write.writer=sG(r):e.types?Array.isArray(e.types)?e.write.writer=nG(e.types[0]):e.write.writer=rG(e.types):e.write.writer=Dh}function rG(t){return(e,r,n,i)=>e?IP(e,t,i)?Dh(e,r,n,i):void 0:Dh(e,r,n,i)}function IP(t,e,r){for(let n in e.typeMap)if(t instanceof e.typeMap[n])return!0;if(r?.messages){let n=e.errorContext??"type",i=`Values of type '${(typeof e.key!="function"?t[e.key]:t.declaredClass)??"Unknown"}' cannot be written`;r&&r.messages&&t&&r.messages.push(new We(`${n}:unsupported`,i,{definition:t,context:r})),nt.getLogger("esri.core.accessorSupport.extensions.serializableProperty.writer").error(i)}return!1}function nG(t){return(e,r,n,i)=>!e||!Array.isArray(e)?Dh(e,r,n,i):Dh(e.filter(o=>IP(o,t,i)),r,n,i)}function Dh(t,e,r,n){Ms(r,$w(t,n),e)}function $w(t,e){return t&&typeof t.write=="function"?t.write({},e):t&&typeof t.toJSON=="function"?t.toJSON():typeof t=="number"?iG(t):t}function iG(t){return t===-1/0?-Number.MAX_VALUE:t===1/0?Number.MAX_VALUE:isNaN(t)?null:t}function oG(t,e,r,n){let i;t===null?i=null:t&&typeof t.map=="function"?(i=t.map(o=>$w(o,n)),typeof i.toArray=="function"&&(i=i.toArray())):i=[$w(t,n)],Ms(r,i,e)}function LP(t,e,r){return r!==0&&Array.isArray(t)?t.map(n=>LP(n,e,r-1)):$w(t,e)}function sG(t){return(e,r,n,i)=>{let o;if(e===null)o=null;else{o=LP(e,i,t);let s=t,c=o;for(;s>0&&Array.isArray(c);)s--,c=c[0];if(c!==void 0)for(let a=0;a<s;a++)o=[o]}Ms(n,o,r)}}var kP=N(()=>{Rn();Wt();jo();fx()});function OP(t,e){return vx(t,"any",e?.origin)}function Fw(t,e){return vx(t,"read",e?.origin)}function NP(t,e){return vx(t,"write",e?.origin)}function vx(t,e,r){let n=t?.json;if(n?.origins&&r){let i;i=r==="link-chart"?n.origins[r]&&(e==="any"||e in n.origins[r])?n.origins[r]:n.origins["web-map"]:n.origins[r],i&&(e==="any"||e in i)&&(n=i)}return n}function aG(t){let e=cG(t);if(t.json.origins)for(let r in t.json.origins){let n=t.json.origins[r],i=n.types?lG(n):e;hx(i,n,!1),n.types&&!n.write&&t.json.write?.enabled&&(n.write={...t.json.write}),yx(i,n)}hx(e,t.json,!0),yx(e,t.json)}function cG(t){return t.json.types?bx(t.json):t.type?RP(t):bx(t)}function lG(t){return t.type?RP(t):bx(t)}function RP(t){if(!t.type)return;let e=0,r=t.type;for(;Array.isArray(r)&&!Cw(r);)r=r[0],e++;return{type:r,ndimArray:e}}function bx(t){if(!t.types)return;let e=0,r=t.types;for(;Array.isArray(r);)r=r[0],e++;return{types:r,ndimArray:e}}function DP(t){MP(t)&&(wP(t),aG(t))}var Uw=N(()=>{jp();yP();EP();AP();kP()});function xt(t){return e=>{t??(t="esri.core.Accessor"),e.prototype.declaredClass=t,dG(e);let r=[],n=[],i=e.prototype;for(;i;)i.hasOwnProperty("initialize")&&!_x.has(i.initialize)&&(_x.add(i.initialize),r.push(i.initialize)),i.hasOwnProperty("destroy")&&!Sx.has(i.destroy)&&(Sx.add(i.destroy),n.push(i.destroy)),i=Object.getPrototypeOf(i);_x.clear(),Sx.clear();let o=class extends e{constructor(...c){if(super(...c),this.constructor===o&&typeof this.postscript=="function"){if(r.length&&Object.defineProperty(this,"initialize",{enumerable:!1,configurable:!0,value(){for(let a=r.length-1;a>=0;a--)r[a].call(this)}}),n.length){let a=!1,d=this[Lw];Object.defineProperty(this,"destroy",{enumerable:!1,configurable:!0,value(){if(!a){this.__accessor__.lifecycle=Er.DESTROYING,a=!0,d.call(this);for(let h=0;h<n.length;h++)n[h].call(this)}}})}Object.defineProperty(this,Symbol.dispose,{enumerable:!1,configurable:!0,value(){this.destroy()}}),this.postscript()}}};o.__accessorMetadata__=Xa(e.prototype),o.prototype.declaredClass=t;let s=(t||"AccessorSubclass").split(".").slice(-1)[0];return Object.defineProperty(o,"name",{value:s,configurable:!0}),o}}function uG(t,e){return e.get==null?function(){let r=this.__accessor__,n=r.propertiesByName.get(t);if(n===void 0)return;r.mutable&&dr(n);let i=r.store;return i.has(t)?i.get(t):n.metadata.value}:function(){let r=this.__accessor__,n=r.propertiesByName.get(t);if(n!==void 0)return n.getComputed(r)}}function dG(t){let e=t.prototype,r=Xa(e),n={};for(let i of Object.getOwnPropertyNames(r)){let o=r[i];DP(o),n[i]={enumerable:!0,configurable:!0,get:uG(i,o),set(s){let c=this.__accessor__;if(c!==void 0){if(c.mutable)return c.initialized&&o.readOnly?$P("read-only",i):c.lifecycle===Er.CONSTRUCTED&&o.constructOnly?$P("construct-only",i):void c.set(i,s)}else Object.defineProperty(this,i,{enumerable:!0,configurable:!0,writable:!0,value:s})}}}Object.defineProperties(t.prototype,n)}var _x,Sx,$P,Zn=N(()=>{$t();Wt();lx();Lh();Yp();Os();Uw();_x=new Set,Sx=new Set;$P=(t,e)=>{nt.getLogger("esri.core.Accessor").error(`cannot assign to ${t} property '${e}'`)}});function pG(t,e,r=!1){let n=`\u{1F6D1} DEPRECATED - ${e}`;if(!r)return void t.warn(n);let i=FP.get(t);i||(i=new Set,FP.set(t,i)),i.has(e)||(i.add(e),t.warn(n))}function UP(t,e,r={}){if(pe("esri-deprecation-warnings")){let{moduleName:n}=r;fG(t,`Function: ${(n?n+"::":"")+e+"()"}`,r)}}function fG(t,e,r={}){if(pe("esri-deprecation-warnings")){let{replacement:n,version:i,see:o,warnOnce:s}=r,c=e;if(n&&(c+=`
|
|
2
2
|
\u{1F6E0}\uFE0F Replacement: ${n}`),i&&(c+=`
|
|
3
3
|
\u2699\uFE0F Version: ${i}`),o)if(Array.isArray(o)){c+=`
|
|
4
4
|
\u{1F517} See for more details:`;for(let a of o)c+=`
|