@arcgis/coding-components 4.33.0-next.10 → 4.33.0-next.11
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/{VX2BQW23.js → 2LC2NWFF.js} +2 -2
- package/dist/arcgis-coding-components/{QHDFKL5R.js → 4WOBE5ZK.js} +2 -2
- package/dist/arcgis-coding-components/{INFFQUWV.js → 5NWYNMGV.js} +2 -2
- package/dist/arcgis-coding-components/{Q7J5IQZP.js → 5YKJQICE.js} +2 -2
- package/dist/arcgis-coding-components/{XKMLGKFZ.js → 6CVOASOA.js} +2 -2
- package/dist/arcgis-coding-components/{BDKRYZN4.js → A4L4NAMT.js} +2 -2
- package/dist/arcgis-coding-components/{FXZET6XT.js → AEYY3UTJ.js} +2 -2
- package/dist/arcgis-coding-components/{LJ2QRCKI.js → AVYU3BML.js} +2 -2
- package/dist/arcgis-coding-components/{T7SIAQJO.js → BEJNHYX3.js} +2 -2
- package/dist/arcgis-coding-components/{SWAVY7S2.js → CJIBE7Y5.js} +3 -3
- package/dist/arcgis-coding-components/{6Y253DGL.js → EAOUARJZ.js} +2 -2
- package/dist/arcgis-coding-components/{F4RN4QUJ.js → EILDKXLU.js} +2 -2
- package/dist/arcgis-coding-components/{ILYGPKEK.js → EVAWJNRO.js} +2 -2
- package/dist/arcgis-coding-components/{43SJGHTL.js → FGZYWPSK.js} +2 -2
- package/dist/arcgis-coding-components/{EWOJUNKV.js → HJ4RN6XX.js} +2 -2
- package/dist/arcgis-coding-components/{M2KGQS3M.js → HZWRDPOD.js} +2 -2
- package/dist/arcgis-coding-components/{YCKHIUQU.js → IO5WL3JH.js} +2 -2
- package/dist/arcgis-coding-components/{NHEXKJJC.js → J7S7JXBA.js} +1 -1
- package/dist/arcgis-coding-components/{DECC5ZFT.js → KPL4F3SI.js} +2 -2
- package/dist/arcgis-coding-components/{3GB6KC5X.js → KV6GVZ2R.js} +2 -2
- package/dist/arcgis-coding-components/{4G3XBFF4.js → KXLLPU25.js} +2 -2
- package/dist/arcgis-coding-components/{HGHHQPBU.js → LGLTCQ45.js} +2 -2
- package/dist/arcgis-coding-components/{RVT3LM6H.js → LSBCWOPF.js} +2 -2
- package/dist/arcgis-coding-components/{63WK5HXR.js → N7NEZMQI.js} +1 -1
- package/dist/arcgis-coding-components/{HTXBOE7C.js → ODDVBKZZ.js} +2 -2
- package/dist/arcgis-coding-components/{HZ3NUT7U.js → PCAQ345P.js} +2 -2
- package/dist/arcgis-coding-components/{2QNM2LXL.js → RGGUWH7Z.js} +1 -1
- package/dist/arcgis-coding-components/{MNWPRCWM.js → RJOE2TDV.js} +2 -2
- package/dist/arcgis-coding-components/{KFBAWJVV.js → RK3HSBM4.js} +2 -2
- package/dist/arcgis-coding-components/{XAEH45QA.js → SNJ7ESL6.js} +2 -2
- package/dist/arcgis-coding-components/{5XHSNWUP.js → UQNBKHZU.js} +1 -1
- package/dist/arcgis-coding-components/{IK62474L.js → UX2MEXPK.js} +1 -1
- package/dist/arcgis-coding-components/{AH2LIL2Z.js → WMUN4LHF.js} +2 -2
- package/dist/arcgis-coding-components/{SOGMCCFG.js → WWNJ7UEC.js} +2 -2
- package/dist/arcgis-coding-components/{6HZQPAGM.js → YCVGCGPZ.js} +2 -2
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
- 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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";(()=>{var Jjt=Object.defineProperty;var fdi=(t,e,r)=>e in t?Jjt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var Zjt=(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 U=(t,e)=>()=>(t&&(e=t(t=0)),e);var Kjt=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Qr=(t,e)=>{for(var r in e)Jjt(t,r,{get:e[r],enumerable:!0})};var Xg=(t,e,r)=>fdi(t,typeof e!="symbol"?e+"":e,r);function d(t,e,r,i){var s,n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(n<3?s(o):n>3?s(e,r,o):s(e,r))||o);return n>3&&o&&Object.defineProperty(e,r,o),o}function ed(t,e){return function(r,i){e(r,i,t)}}function zo(t,e,r){if(e!=null){if(typeof e!="object"&&typeof e!="function")throw new TypeError("Object expected.");var i,s;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");i=e[Symbol.asyncDispose]}if(i===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");i=e[Symbol.dispose],r&&(s=i)}if(typeof i!="function")throw new TypeError("Object not disposable.");s&&(i=function(){try{s.call(this)}catch(n){return Promise.reject(n)}}),t.stack.push({value:e,dispose:i,async:r})}else r&&t.stack.push({async:!0});return e}function mh(t){function e(n){t.error=t.hasError?new hgi(n,t.error,"An error was suppressed during disposal."):n,t.hasError=!0}var r,i=0;function s(){for(;r=t.stack.pop();)try{if(!r.async&&i===1)return i=0,t.stack.push(r),Promise.resolve().then(s);if(r.dispose){var n=r.dispose.call(r.value);if(r.async)return i|=2,Promise.resolve(n).then(s,function(o){return e(o),s()})}else i|=1}catch(o){e(o)}if(i===1)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}return s()}var hgi,Re=U(()=>{hgi=typeof SuppressedError=="function"?SuppressedError:function(t,e,r){var i=new Error(r);return i.name="SuppressedError",i.error=t,i.suppressed=e,i}});function yr(t){return typeof l7[t]=="function"?l7[t]=l7[t](globalThis):l7[t]}var l7,De=U(()=>{l7=globalThis.dojoConfig?.has||globalThis.esriConfig?.has?{...globalThis.dojoConfig?.has,...globalThis.esriConfig?.has}:{},yr.add=(t,e,r,i)=>{(i||l7[t]===void 0)&&(l7[t]=e),r&&yr(t)},yr.cache=l7,yr.add("big-integer-warning-enabled",!0),yr.add("esri-deprecation-warnings",!0),yr.add("esri-tests-disable-screenshots",!1),yr.add("esri-tests-use-full-window",!1),yr.add("esri-tests-post-to-influx",!0),yr.add("esri-cim-animations-enable-status","enabled"),yr.add("esri-cim-animations-spotlight",!1),yr.add("esri-cim-animations-freeze-time",!1),yr.add("enable-feature:multiple-highlights",!0),(()=>{yr.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(yr.add("host-browser",t),yr.add("host-node",typeof globalThis.process=="object"&&globalThis.process.versions?.node&&globalThis.process.versions.v8),yr.add("dom",t),yr("host-browser")){let e=navigator,r=e.userAgent,i=e.appVersion,s=parseFloat(i);if(yr.add("wp",parseFloat(r.split("Windows Phone")[1])||void 0),yr.add("msapp",parseFloat(r.split("MSAppHost/")[1])||void 0),yr.add("khtml",i.includes("Konqueror")?s:void 0),yr.add("edge",parseFloat(r.split("Edge/")[1])||void 0),yr.add("opr",parseFloat(r.split("OPR/")[1])||void 0),yr.add("webkit",!yr("wp")&&!yr("edge")&&parseFloat(r.split("WebKit/")[1])||void 0),yr.add("chrome",!yr("edge")&&!yr("opr")&&parseFloat(r.split("Chrome/")[1])||void 0),yr.add("android",!yr("wp")&&parseFloat(r.split("Android ")[1])||void 0),yr.add("safari",!i.includes("Safari")||yr("wp")||yr("chrome")||yr("android")||yr("edge")||yr("opr")?void 0:parseFloat(i.split("Version/")[1])),yr.add("mac",i.includes("Macintosh")),!yr("wp")&&/(iPhone|iPod|iPad)/.test(r)){let n=RegExp.$1.replace(/P/,"p"),o=/OS ([\d_]+)/.test(r)?RegExp.$1:"1",a=parseFloat(o.replace(/_/,".").replaceAll("_",""));yr.add(n,a),yr.add("ios",a)}yr("webkit")||(!r.includes("Gecko")||yr("wp")||yr("khtml")||yr("edge")||yr.add("mozilla",s),yr("mozilla")&&yr.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&&yr.add("esri-mobile",e),r&&yr.add("esri-iPhone",r),yr.add("esri-geolocation",!!navigator.geolocation)}yr.add("esri-wasm","WebAssembly"in globalThis),yr.add("esri-performance-mode-frames-between-render",20),yr.add("esri-force-performance-mode",!1),yr.add("esri-shared-array-buffer",()=>{let t="SharedArrayBuffer"in globalThis,e=globalThis.crossOriginIsolated===!1;return t&&!e}),yr.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))}),yr.add("esri-atomics","Atomics"in globalThis),yr.add("esri-workers","Worker"in globalThis),yr.add("web-feat:cache","caches"in globalThis),yr.add("esri-workers-arraybuffer-transfer",!yr("safari")||Number(yr("safari"))>=12),yr.add("workers-pool-size",8),yr.add("featurelayer-simplify-thresholds",[.5,.5,.5,.5]),yr.add("featurelayer-simplify-payload-size-factors",[1,1,4]),yr.add("featurelayer-fast-triangulation-enabled",!0),yr.add("featurelayer-animation-enabled",!0),yr.add("featurelayer-snapshot-enabled",!0),yr.add("featurelayer-snapshot-point-min-threshold",8e4),yr.add("featurelayer-snapshot-point-max-threshold",4e5),yr.add("featurelayer-snapshot-point-coverage",.1),yr.add("featurelayer-query-max-depth",4),yr.add("featurelayer-query-pausing-enabled",!1),yr.add("featurelayer-advanced-symbols",!1),yr.add("featurelayer-pbf",!0),yr.add("featurelayer-pbf-statistics",!1),yr.add("feature-layers-workers",!0),yr.add("feature-polyline-generalization-factor",1),yr.add("mapview-transitions-duration",200),yr.add("mapview-essential-goto-duration",200),yr.add("mapview-srswitch-adjust-rotation-scale-threshold",24e6),yr.add("mapserver-pbf-version-support",10.81),yr.add("mapservice-popup-identify-max-tolerance",20),yr.add("request-queue-concurrency-hosted",16),yr.add("request-queue-concurrency-non-hosted",4),yr.add("curve-densification-coarse-segments",128),yr.add("curve-densification-max-segments",2e3),yr.add("curve-densification-min-segments",3),yr.add("curve-densification-pixels-per-segment",16),yr.add("view-readyState-waiting-delay",1e3),yr.add("gradient-depth-bias",.01),yr.add("gradient-depth-epsilon",1e-8),yr("host-webworker")||yr("host-browser")&&(yr.add("esri-csp-restrictions",()=>{try{new Function}catch{return!0}return!1}),yr.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(()=>{yr.add("esri-image-decode",!0,!0,!0)}).catch(()=>{yr.add("esri-image-decode",!1,!0,!0)})}return!1}),yr.add("esri-url-encodes-apostrophe",()=>{let t=window.document.createElement("a");return t.href="?'",t.href.includes("?%27")}))})()});function pgi(t,e,r=!1){let i=`\u{1F6D1} DEPRECATED - ${e}`;if(!r)return void t.warn(i);let s=Vqt.get(t);s||(s=new Set,Vqt.set(t,s)),s.has(e)||(s.add(e),t.warn(i))}function Gqt(t,e,r={}){if(yr("esri-deprecation-warnings")){let{moduleName:i}=r;u7(t,`Function: ${(i?i+"::":"")+e+"()"}`,r)}}function zPe(t,e,r={}){if(yr("esri-deprecation-warnings")){let{moduleName:i}=r;u7(t,`Property: ${(i?i+"::":"")+e}`,r)}}function zqt(t,e,r={}){yr("esri-deprecation-warnings")&&u7(t,`Multiple argument constructor: ${e}`,{warnOnce:!0,replacement:`new ${e}({ <your properties here> })`,...r})}function u7(t,e,r={}){if(yr("esri-deprecation-warnings")){let{replacement:i,version:s,see:n,warnOnce:o}=r,a=e;i&&(a+=`
|
|
2
2
|
\u{1F6E0}\uFE0F Replacement: ${i}`),s&&(a+=`
|
|
3
3
|
\u2699\uFE0F Version: ${s}`),n&&(a+=`
|
|
4
|
-
\u{1F517} See ${n} for more details.`),pgi(t,a,o)}}var Vqt,Mq=U(()=>{De();Vqt=new WeakMap});function qqt(t){let e=[];return function*(){yield*e;for(let r of t)e.push(r),yield r}}function hme(t,e){for(let r of t)if(r!=null&&e(r))return r}function Lit(t){return t!=null&&typeof t[Symbol.iterator]=="function"}var Bit=U(()=>{});function qPe(t){return t||"_default_"}function Hqt(t){for(let e of t)e instanceof c7?e.removeAll():e.remove()}function Wqt(t){return t!=null&&(!!t.remove||t instanceof c7)}var c7,Uit=U(()=>{Bit();c7=class{constructor(){this._groups=new Map}destroy(){this.removeAll()}get size(){let e=0;return this._groups.forEach(r=>{e+=r.length}),e}add(e,r){if(Lit(e)){let i=this._getOrCreateGroup(r);for(let s of e)Wqt(s)&&i.push(s)}else Wqt(e)&&this._getOrCreateGroup(r).push(e);return this}forEach(e,r){if(typeof e=="function")this._groups.forEach(i=>i.forEach(e));else{let i=this._getGroup(e);i&&r&&i.forEach(r)}}has(e){return this._groups.has(qPe(e))}remove(e){if(typeof e!="string"&&Lit(e)){for(let r of e)this.remove(r);return this}return this.has(e)?(Hqt(this._getGroup(e)),this._groups.delete(qPe(e)),this):this}removeAll(){return this._groups.forEach(Hqt),this._groups.clear(),this}removeReference(e){return this._groups.delete(e),this}_getOrCreateGroup(e){if(this.has(e))return this._getGroup(e);let r=[];return this._groups.set(qPe(e),r),r}_getGroup(e){return this._groups.get(qPe(e))}}});function $qt(t){return()=>t}var Ix=U(()=>{De()});var K1,ht=U(()=>{K1=class t{constructor(e=1){this._seed=e}set seed(e){this._seed=e??Math.random()*t._m}getInt(){return this._seed=(t._a*this._seed+t._c)%t._m,this._seed}getFloat(){return this.getInt()/(t._m-1)}getIntRange(e,r){return Math.round(this.getFloatRange(e,r))}getFloatRange(e,r){let i=r-e;return e+this.getInt()/t._m*i}};K1._m=2147483647,K1._a=48271,K1._c=0});function mme(t,e){return e?t.filter((r,i,s)=>s.findIndex(e.bind(null,r))===i):Array.from(new Set(t))}function Q1(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 i=0;i<t.length;i++)if(!r(t[i],e[i]))return!1}else for(let i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}function Zqt(t,e,r){let i,s;return r?(i=e.filter(n=>!t.some(o=>r(o,n))),s=t.filter(n=>!e.some(o=>r(o,n)))):(i=e.filter(n=>!t.includes(n)),s=t.filter(n=>!e.includes(n))),{added:i,removed:s}}function Kqt(t){return t&&typeof t.length=="number"}function Gk(t,e,r,i){i=i||Qqt;let s=Math.max(0,i.last-10);for(let o=s;o<r;++o)if(t[o]===e)return i.last=o,o;let n=Math.min(s,r);for(let o=0;o<n;++o)if(t[o]===e)return i.last=o,o;return-1}function eHt(t,e,r,i){let s=r??t.length,n=Gk(t,e,s,i);if(n!==-1)return t[n]=t[s-1],r==null&&t.pop(),e}function tHt(t,e,r=t.length,i=e.length,s,n){if(i===0||r===0)return r;HA.clear();for(let a=0;a<i;++a)HA.add(e[a]);s=s||Qqt;let o=Math.max(0,s.last-10);for(let a=o;a<r;++a)if(HA.has(t[a])&&(n?.push(t[a]),HA.delete(t[a]),t[a]=t[r-1],--r,--a,HA.size===0||r===0))return HA.clear(),r;for(let a=0;a<o;++a)if(HA.has(t[a])&&(n?.push(t[a]),HA.delete(t[a]),t[a]=t[r-1],--r,--a,HA.size===0||r===0))return HA.clear(),r;return HA.clear(),r}function jit(t){return t?(Yqt.seed=t,()=>Yqt.getFloat()):Math.random}function Vit(t,e){let r=jit(e);for(let i=t.length-1;i>0;i--){let s=Math.floor(r()*(i+1)),n=t[i];t[i]=t[s],t[s]=n}return t}function TD(t,e){let r=t.indexOf(e);return r!==-1?(t.splice(r,1),e):null}function qn(t,e){return t!=null}var pme,Xqt,Jqt,Vk,Qqt,HA,Yqt,oa=U(()=>{Ix();ht();pme=1.5,Xqt=1/pme,Jqt=.5;Vk=class{constructor(){this.last=0}},Qqt=new Vk;HA=new Set;Yqt=new K1});function ED(t){return t instanceof ArrayBuffer}function WPe(t){return t?.constructor?.name==="Int8Array"}function _E(t){return t?.constructor?.name==="Uint8Array"}function dme(t){return t?.constructor?.name==="Uint8ClampedArray"}function OK(t){return t?.constructor?.name==="Int16Array"}function Dq(t){return t?.constructor?.name==="Uint16Array"}function LK(t){return t?.constructor?.name==="Int32Array"}function fme(t){return t?.constructor?.name==="Uint32Array"}function BK(t){return t?.constructor?.name==="Float32Array"}function UK(t){return t?.constructor?.name==="Float64Array"}function zk(t){return"buffer"in t}function rHt(t){return UK(t)||BK(t)||LK(t)||OK(t)||WPe(t)}function iHt(t){return UK(t)||BK(t)}function sHt(t){return UK(t)?179769e303:BK(t)?3402823e32:fme(t)?4294967295:Dq(t)?65535:_E(t)||dme(t)?255:LK(t)?2147483647:OK(t)?32767:WPe(t)?127:256}var jw,Cx=U(()=>{De();jw=1024});function jK(t,e){let r;if(e)for(r in t)t.hasOwnProperty(r)&&(t[r]===void 0?delete t[r]:t[r]instanceof Object&&jK(t[r],!0));else for(r in t)t.hasOwnProperty(r)&&t[r]===void 0&&delete t[r];return t}function ct(t){if(!t||typeof t!="object"||typeof t=="function")return t;let e=lHt(t);if(e!=null)return e;if(gme(t))return t.clone();if(oHt(t))return t.map(ct);if(aHt(t))throw new Error("Trying to clone an unclonable Accessor instance");let r={};for(let i of Object.getOwnPropertyNames(t))r[i]=ct(t[i]);return r}function $Pe(t){if(!t||typeof t!="object"||typeof t=="function"||"HTMLElement"in globalThis&&t instanceof HTMLElement)return t;let e=lHt(t);if(e!=null)return e;if(oHt(t)){let i=!0,s=t.map(n=>{let o=$Pe(n);return n!=null&&o==null&&(i=!1),o});return i?s:null}if(gme(t))return t.clone();if(t instanceof File||t instanceof Blob)return t;if(aHt(t))return null;let r=new(Object.getPrototypeOf(t)).constructor;for(let i of Object.getOwnPropertyNames(t)){let s=t[i],n=$Pe(s);if(s!=null&&n==null)return null;r[i]=n}return r}function gme(t){return typeof t.clone=="function"}function oHt(t){return typeof t.map=="function"&&typeof t.forEach=="function"}function aHt(t){return typeof t.notifyChange=="function"&&typeof t.watch=="function"}function nHt(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}function lHt(t){if(WPe(t)||_E(t)||dme(t)||OK(t)||Dq(t)||LK(t)||fme(t)||BK(t)||UK(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,i]of t)e.set(r,ct(i));return e}if(t instanceof Set){let e=new Set;for(let r of t)e.add(ct(r));return e}return null}function yme(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 YPe(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)&&Q1(t,e):t instanceof Set?e instanceof Set&&dgi(t,e):t instanceof Map?e instanceof Map&&fgi(t,e):!!nHt(t)&&nHt(e)&&mgi(t,e))}function mgi(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 i of r)if(t[i]!==e[i]||!Object.prototype.hasOwnProperty.call(e,i))return!1;return!0}function dgi(t,e){if(t.size!==e.size)return!1;for(let r of t)if(!e.has(r))return!1;return!0}function fgi(t,e){if(t.size!==e.size)return!1;for(let[r,i]of t){let s=e.get(r);if(s!==i||s===void 0&&!e.has(r))return!1}return!0}var pi=U(()=>{oa();Cx()});function VK(t,e,r=!1){return cHt(t,e,r)}function sy(t,e){if(e!=null)return e[t]||uHt(t.split("."),!1,e)}function nl(t,e,r){let i=t.split("."),s=i.pop(),n=uHt(i,!0,r);n&&s&&(n[s]=e)}function Nq(t,e){if(t==null&&e==null)return!1;if(t==null||e==null)return!0;if(typeof t=="object"){if(Array.isArray(t)){let r=e;if(t.length!==r.length)return!0;for(let i=0;i<t.length;i++)if(Nq(t[i],r[i]))return!0;return!1}if(Object.keys(t).length!==Object.keys(e).length)return!0;for(let r in t)if(Nq(t[r],e[r]))return!0;return!1}return t!==e}function uHt(t,e,r){let i=r;for(let s of t){if(i==null)return;if(!(s in i)){if(!e)return;i[s]={}}i=i[s]}return i}function cHt(t,e,r){return e?Object.keys(e).reduce((i,s)=>{let n=i[s],o=e[s];return n===o?i:n===void 0?(i[s]=ct(o),i):(Array.isArray(o)||Array.isArray(i)?(n=n?Array.isArray(n)?i[s]=n.slice():i[s]=[n]:i[s]=[],o&&(Array.isArray(o)||(o=[o]),r?o.forEach(a=>{n.includes(a)||n.push(a)}):i[s]=o.slice())):o&&typeof o=="object"?i[s]=cHt(n,o,r):i.hasOwnProperty(s)&&!e.hasOwnProperty(s)||(i[s]=o),i)},t||{}):t}var Kc=U(()=>{pi()});var h7,_me,GK=U(()=>{h7="20250208",_me="767787968faf905ed8e0971344f4dc5e51a3ea31"});var qo,Mf=U(()=>{De();Kc();GK();qo={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&&(VK(qo,globalThis.esriConfig,!0),delete qo.has),!qo.assetsPath){{let t="4.32.0";qo.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${t}-next.${h7}/assets`}qo.defaultAssetsPath=qo.assetsPath}});function hHt(t){return t??""}function Ky(t,e){return e?t.replaceAll(ggi,typeof e=="object"?(r,i)=>hHt(sy(i,e)):(r,i)=>hHt(e(i))):t}function p7(t,e){return t.replaceAll(/([.$?*|{}()[\]\\/+\-^])/g,r=>e?.includes(r)?r:`\\${r}`)}function Qy(t){let e=0;for(let r=0;r<t.length;r++)e=(e<<5)-e+t.charCodeAt(r),e|=0;return e}function mHt(t){return pHt??(pHt=new DOMParser),pHt.parseFromString(t||"","text/html").body.innerText||""}var ggi,pHt,Jg=U(()=>{Kc();ggi=/\{([^}]+)\}/g});function ygi(t,e,...r){console[t](`[${e}]`,...r)}function _gi(...t){return Qy(JSON.stringify(t,(r,i)=>typeof i!="object"||Array.isArray(i)?i:"[Object]"))}var dHt,At,Be=U(()=>{Mf();De();Jg();dHt={info:0,warn:1,error:2,none:3},At=class t{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,t._loggers.set(this.module,this);let r=this.module.lastIndexOf(".");r!==-1&&(this._parent=t.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,t._loggers.get(e)||new t({module:e})}_log(e,r,...i){if(this._matchLevel(e)){if(r!=="always"&&!t._throttlingDisabled){let s=_gi(i),n=this._loggedMessages[e].get(s);if(r==="once"&&n!=null||r==="oncePerTick"&&n&&n>=t._tickCounter)return;this._loggedMessages[e].set(s,t._tickCounter),t._scheduleTickCounterIncrement()}for(let s of qo.log.interceptors)if(s(e,this.module,...i))return;this._inheritedWriter()(e,this.module,...i)}}_parentWithMember(e,r){let i=this;for(;i!=null;){let s=i[e];if(s!=null)return s;i=i.parent}return r}_inheritedWriter(){return this._parentWithMember("writer",ygi)}_matchLevel(e){let r=qo.log.level||"warn";return dHt[this._parentWithMember("level",r)]<=dHt[e]}static _scheduleTickCounterIncrement(){t._tickCounterScheduled||(t._tickCounterScheduled=!0,Promise.resolve().then(()=>{t._tickCounter++,t._tickCounterScheduled=!1}))}};At._loggers=new Map,At._tickCounter=0,At._tickCounterScheduled=!1,At._throttlingDisabled=!1});function zp(t,e){if(t==null)throw new Error(e??"value is None")}function oc(t){return t?.destroy(),null}function kC(t){return t?.dispose(),null}function qp(t){return t?.remove(),null}function zK(t){return t?.abort(),null}function OC(t){return t?.release(),null}function ID(t,e,r){return t!=null&&e!=null?r!=null?r(t,e):t.equals(e):t===e}function Git(t,e){let r;return t.some((i,s)=>(r=e(i,s),r!=null)),r??void 0}var Za=U(()=>{});var XPe,zit=U(()=>{XPe=Symbol("Accessor-beforeDestroy")});function xl(t){return t?{remove(){t&&(t(),t=void 0)}}:bgi}function vgi(t){t.forEach(e=>e?.remove())}function e1(t){return xl(()=>vgi(t))}var bgi,Am=U(()=>{bgi={remove:()=>{}}});function Gh(t){return t.__accessor__??null}function gHt(t,e){return t?.metadata?.[e]!=null}function qK(t,e,r){return r?JPe(t,e,{policy:r,path:""}):JPe(t,e,null)}function JPe(t,e,r){return e?Object.keys(e).reduce((i,s)=>{let n=s,o=null,a="merge";if(r&&(o=r.path?`${r.path}.${s}`:s,a=r.policy(o)),a==="replace"||a==="replace-arrays"&&Array.isArray(i[n]))return i[n]=e[n],i;if(i[n]===void 0)return i[n]=ct(e[n]),i;let l=i[n],u=e[n];if(l===u)return i;if(Array.isArray(u)||Array.isArray(i))l=l?Array.isArray(l)?i[n]=l.slice():i[n]=[l]:i[n]=[],u&&(Array.isArray(u)||(u=[u]),u.forEach(c=>{l.includes(c)||l.push(c)}));else if(u&&typeof u=="object")if(r){let c=r.path;r.path=o,i[n]=JPe(l,u,r),r.path=c}else i[n]=JPe(l,u,null);else i.hasOwnProperty(s)&&!e.hasOwnProperty(s)||(i[n]=u);return i},t||{}):t}function ZPe(t){return Array.isArray(t)?t:t.split(".")}function fHt(t){return t.includes(",")?t.split(",").map(e=>e.trim()):[t.trim()]}function xgi(t){if(Array.isArray(t)){let e=[];for(let r of t)e.push(...fHt(r));return e}return fHt(t)}function qit(t,e,r,i){let s=xgi(e);if(s.length!==1){let n=s.map(o=>i(t,o,r));return e1(n)}return i(t,s[0],r)}var Px=U(()=>{Am();pi()});function yHt(t,e){let r=t[t.length-1]==="?"?t.slice(0,-1):t;if(e.getItemAt!=null||Array.isArray(e)){let s=parseInt(r,10);if(!isNaN(s))return Array.isArray(e)?e[s]:e.at(s)}let i=Gh(e);return gHt(i,r)?i.get(r):e[r]}function _Ht(t,e,r){if(t==null)return t;let i=yHt(e[r],t);return!i&&r<e.length-1?void 0:r===e.length-1?i:_Ht(i,e,r+1)}function Rq(t,e,r=0){return typeof e!="string"||e.includes(".")?_Ht(t,ZPe(e),r):yHt(e,t)}function CS(t,e){return Rq(t,e)}function Hit(t,e){return Rq(e,t)!==void 0}var qk=U(()=>{Px()});var nb,bme=U(()=>{(function(t){t[t.INITIALIZING=0]="INITIALIZING",t[t.CONSTRUCTING=1]="CONSTRUCTING",t[t.CONSTRUCTED=2]="CONSTRUCTED",t[t.DESTROYED=3]="DESTROYED"})(nb||(nb={}))});function m7(t){let e=t.constructor.__accessorMetadata__,r=Object.prototype.hasOwnProperty.call(t.constructor,"__accessorMetadata__");if(e){if(!r){e=Object.create(e);for(let i in e)e[i]=ct(e[i]);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 d7(t,e){let r=m7(t),i=r[e];return i||(i=r[e]={}),i}function bHt(t,e){return qK(t,e,Sgi)}function Sgi(t){return wgi.test(t)?"replace":"merge"}var wgi,Fq=U(()=>{pi();Px();wgi=/^(?:[^.]+\.)?(?:value|type|(?:json\.type|json\.origins\.[^.]\.type))$/});function Tgi(t){return t?.release&&typeof t.release=="function"}function Egi(t){return t?.acquire&&typeof t.acquire=="function"}var t1,CD=U(()=>{t1=class t{constructor(e,r,i,s=1,n=0){this._ctor=e,this._acquireFunction=r,this._releaseFunction=i,this.allocationSize=s,this._pool=new Array(n),this._initialSize=n;for(let o=0;o<n;o++)this._pool[o]=new this._ctor;this.allocationSize=Math.max(s,1)}destroy(){this.prune(0)}acquire(...e){let r;if(t.test.disabled)r=new this._ctor;else{if(this._pool.length===0){let i=this.allocationSize;for(let s=0;s<i;s++)this._pool[s]=new this._ctor}r=this._pool.pop()}return this._acquireFunction?this._acquireFunction(r,...e):Egi(r)&&r.acquire(...e),r}release(e){e&&!t.test.disabled&&(this._releaseFunction?this._releaseFunction(e):Tgi(e)&&e.release(),this._pool.push(e))}prune(e=this._initialSize){if(!(e>=this._pool.length)){for(let r=e;r<this._pool.length;++r){let i=this._pool[r];this._dispose(i)}this._pool.length=e}}_dispose(e){e.dispose&&typeof e.dispose=="function"&&e.dispose()}};t1.test={disabled:!1}});var KPe,vHt=U(()=>{oa();KPe=class{constructor(e,r){this._observers=e,this._observer=r}remove(){TD(this._observers,this._observer)}}});var HK,Igi,Wit=U(()=>{Am();vHt();HK=class{constructor(){this._observers=null,this.destroyed=!1}observe(e){if(this.destroyed||e.destroyed)return Igi;this._observers==null&&(this._observers=[]);let r=this._observers,i=!1,s=!1,n=r.length;for(let o=0;o<n;++o){let a=r[o];if(a.destroyed)s=!0;else if(a===e){i=!0;break}}return i||(r.push(e),s&&this._removeDestroyedObservers()),new KPe(r,e)}_removeDestroyedObservers(){let e=this._observers;if(!e||e.length===0)return;let r=e.length,i=0;for(let s=0;s<r;++s){for(;s+i<r&&e[s+i].destroyed;)++i;if(i>0){if(!(s+i<r))break;e[s]=e[s+i]}}e.length=r-i}destroy(){if(this.destroyed)return;this.destroyed=!0;let e=this._observers;if(e!=null){for(let r of e)r.onCommitted();this._observers=null}}},Igi=xl()});function td(t){switch(t){case"defaults":return ps.DEFAULTS;case"service":return ps.SERVICE;case"portal-item":return ps.PORTAL_ITEM;case"web-scene":return ps.WEB_SCENE;case"web-map":return ps.WEB_MAP;case"link-chart":return ps.LINK_CHART;case"user":return ps.USER;default:return null}}function LC(t){switch(t){case ps.DEFAULTS:return"defaults";case ps.SERVICE:return"service";case ps.PORTAL_ITEM:return"portal-item";case ps.WEB_SCENE:return"web-scene";case ps.WEB_MAP:return"web-map";case ps.LINK_CHART:return"link-chart";case ps.USER:return"user"}}function xHt(t){return LC(t)}var ps,vme,Df=U(()=>{(function(t){t[t.DEFAULTS=0]="DEFAULTS",t[t.COMPUTED=1]="COMPUTED",t[t.SERVICE=2]="SERVICE",t[t.PORTAL_ITEM=3]="PORTAL_ITEM",t[t.WEB_SCENE=4]="WEB_SCENE",t[t.WEB_MAP=5]="WEB_MAP",t[t.LINK_CHART=6]="LINK_CHART",t[t.USER=7]="USER"})(ps||(ps={}));vme=ps.USER+1});var zh,QPe=U(()=>{(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"})(zh||(zh={}))});var PD,xme=U(()=>{PD=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 ta(t){Sme.onAccessed(t)}function bE(t,e,r){if(eAe)return $it(t,e,r);let i=null;return THt(t),i=e.call(r),EHt(),i}function SHt(t,e){return bE(rAe,t,e)}function $it(t,e,r){let i=eAe;eAe=!0,THt(t);let s=null;try{s=e.call(r)}catch(n){tAe&&At.getLogger("esri.core.accessorSupport.tracking").error(n)}return EHt(),eAe=i,s}function THt(t){Sme=t,wme.push(t)}function EHt(){let t=wme.length;if(t>1){let e=wme.pop();Sme=wme[t-2],e.onTrackingEnd()}else if(t===1){let e=wme.pop();Sme=rAe,e.onTrackingEnd()}else Sme=rAe}function Yit(t,e){if(e.flags&zh.DepTrackingInitialized)return;e.flags|=zh.DepTrackingInitialized;let r=tAe;tAe=!1,e.flags&zh.AutoTracked?$it(e.trackingTarget,e.metadata.get,t):Xit(t,e),tAe=r}function Xit(t,e){e.flags&zh.ExplicitlyTracking||(e.flags|=zh.ExplicitlyTracking,$it(e.trackingTarget,()=>{let r=e.metadata.dependsOn||Cgi;for(let i of r)if(typeof i!="string"||i.includes(".")){let s=ZPe(i);for(let n=0,o=t;n<s.length&&o!=null&&typeof o=="object";++n)o=wHt(o,s[n],n!==s.length-1)}else wHt(t,i,!1)}),e.flags&=~zh.ExplicitlyTracking)}function wHt(t,e,r){let i=e[e.length-1]==="?"?e.slice(0,-1):e;if(t.getItemAt!=null||Array.isArray(t)){let n=parseInt(i,10);if(!isNaN(n))return Array.isArray(t)?t[n]:t.at(n)}let s=Gh(t);if(s){let n=s.propertiesByName.get(i);n&&(ta(n),Yit(t,n))}return r?t[i]:void 0}var rAe,wme,Sme,eAe,tAe,Cgi,WA=U(()=>{De();Be();Px();QPe();xme();rAe=new PD,wme=[],Sme=rAe;eAe=!1,tAe=!1;Cgi=[]});var Tme,IHt=U(()=>{Wit();Df();WA();QPe();xme();Tme=class extends HK{constructor(e,r){super(),this.propertyName=e,this.metadata=r,this.trackingTarget=new PD(this),this.flags=0,this.flags=zh.Dirty|(r.nonNullable?zh.NonNullable:0)|(r.hasOwnProperty("value")?zh.HasDefaultValue:0)|(r.get===void 0?zh.DepTrackingInitialized:0)|(r.dependsOn===void 0?zh.AutoTracked:0)}destroy(){this.flags&zh.Dirty&&this.onCommitted(),super.destroy(),this.trackingTarget.destroy()}getComputed(e){e.mutable&&ta(this);let r=e.store,i=this.propertyName,s=this.flags,n=r.get(i);if(s&zh.Computing||~s&zh.Dirty&&r.has(i))return n;this.flags|=zh.Computing;let o=e.host,a;s&zh.AutoTracked?a=bE(this.trackingTarget,this.metadata.get,o):(Xit(o,this),a=this.metadata.get.call(o)),this.flags|=zh.DepTrackingInitialized,r.set(i,a,ps.COMPUTED);let l=r.get(i);return l===n?this.flags&=~zh.Dirty:SHt(this.commit,this),this.flags&=~zh.Computing,l}notifyChange(){this.onInvalidated(),this.onCommitted()}invalidate(){this.onInvalidated()}commit(){this.flags&=~zh.Dirty,this.onCommitted()}onInvalidated(){~this.flags&zh.Overridden&&(this.flags|=zh.Dirty);let e=this._observers;if(e&&e.length>0)for(let r of e)r.onInvalidated()}onCommitted(){let e=this._observers;if(e&&e.length>0){let r=e.slice();for(let i of r)i.onCommitted()}}}});var iAe,CHt=U(()=>{pi();Df();iAe=class t{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(e){let r=new t;return this._values.forEach((i,s)=>{e&&e.has(s)||r.set(s,ct(i))}),r}get(e){return this._values.get(e)}originOf(){return ps.USER}keys(){return[...this._values.keys()]}set(e,r){this._values.set(e,r)}delete(e){this._values.delete(e)}has(e){return this._values.has(e)}forEach(e){this._values.forEach(e)}}});function sAe(t,e,r){return t!==void 0}function PHt(t,e,r,i){return t!==void 0&&(!(r==null&&t.flags&zh.NonNullable)||(i.lifecycle,nb.INITIALIZING,!1))}var nAe,Zit,Jit,AHt=U(()=>{De();pi();Be();CD();bme();IHt();Df();CHt();WA();QPe();xme();nAe=class{constructor(e){this.host=e,this.propertiesByName=new Map,this.ctorArgs=null,this.lifecycle=nb.INITIALIZING,this.store=new iAe,this.mutable=!0,this._origin=ps.USER;let r=this.host.constructor.__accessorMetadata__;for(let i in r){let s=new Tme(i,r[i]);this.propertiesByName.set(i,s)}this.metadata=r}initialize(){this.lifecycle=nb.CONSTRUCTING}constructed(){this.lifecycle=nb.CONSTRUCTED}destroy(){this.lifecycle=nb.DESTROYED,this.propertiesByName.forEach(e=>e.destroy())}get initialized(){return this.lifecycle!==nb.INITIALIZING}get(e){let r=this.propertiesByName.get(e);if(r.metadata.get)return r.getComputed(this);this.mutable&&ta(r);let i=this.store;return i.has(e)?i.get(e):r.metadata.value}originOf(e){let r=this.store.originOf(e);if(r===void 0){let i=this.propertiesByName.get(e);if(i!==void 0&&i.flags&zh.HasDefaultValue)return"defaults"}return LC(r)}has(e){return this.propertiesByName.has(e)&&this.store.has(e)}keys(){return[...this.propertiesByName.keys()]}internalGet(e){let r=this.propertiesByName.get(e);if(sAe(r))return this.store.has(e)?this.store.get(e):r.metadata.value}internalSet(e,r){let i=this.propertiesByName.get(e);sAe(i)&&this._internalSet(i,r)}getDependsInfo(e,r,i){let s=this.propertiesByName.get(r);if(!sAe(s))return"";let n=new PD,o=bE(n,()=>s.metadata.get?.call(e)),a=`${i}${e.declaredClass.split(".").pop()}.${r}: ${o}
|
|
4
|
+
\u{1F517} See ${n} for more details.`),pgi(t,a,o)}}var Vqt,Mq=U(()=>{De();Vqt=new WeakMap});function qqt(t){let e=[];return function*(){yield*e;for(let r of t)e.push(r),yield r}}function hme(t,e){for(let r of t)if(r!=null&&e(r))return r}function Lit(t){return t!=null&&typeof t[Symbol.iterator]=="function"}var Bit=U(()=>{});function qPe(t){return t||"_default_"}function Hqt(t){for(let e of t)e instanceof c7?e.removeAll():e.remove()}function Wqt(t){return t!=null&&(!!t.remove||t instanceof c7)}var c7,Uit=U(()=>{Bit();c7=class{constructor(){this._groups=new Map}destroy(){this.removeAll()}get size(){let e=0;return this._groups.forEach(r=>{e+=r.length}),e}add(e,r){if(Lit(e)){let i=this._getOrCreateGroup(r);for(let s of e)Wqt(s)&&i.push(s)}else Wqt(e)&&this._getOrCreateGroup(r).push(e);return this}forEach(e,r){if(typeof e=="function")this._groups.forEach(i=>i.forEach(e));else{let i=this._getGroup(e);i&&r&&i.forEach(r)}}has(e){return this._groups.has(qPe(e))}remove(e){if(typeof e!="string"&&Lit(e)){for(let r of e)this.remove(r);return this}return this.has(e)?(Hqt(this._getGroup(e)),this._groups.delete(qPe(e)),this):this}removeAll(){return this._groups.forEach(Hqt),this._groups.clear(),this}removeReference(e){return this._groups.delete(e),this}_getOrCreateGroup(e){if(this.has(e))return this._getGroup(e);let r=[];return this._groups.set(qPe(e),r),r}_getGroup(e){return this._groups.get(qPe(e))}}});function $qt(t){return()=>t}var Ix=U(()=>{De()});var K1,ht=U(()=>{K1=class t{constructor(e=1){this._seed=e}set seed(e){this._seed=e??Math.random()*t._m}getInt(){return this._seed=(t._a*this._seed+t._c)%t._m,this._seed}getFloat(){return this.getInt()/(t._m-1)}getIntRange(e,r){return Math.round(this.getFloatRange(e,r))}getFloatRange(e,r){let i=r-e;return e+this.getInt()/t._m*i}};K1._m=2147483647,K1._a=48271,K1._c=0});function mme(t,e){return e?t.filter((r,i,s)=>s.findIndex(e.bind(null,r))===i):Array.from(new Set(t))}function Q1(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 i=0;i<t.length;i++)if(!r(t[i],e[i]))return!1}else for(let i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}function Zqt(t,e,r){let i,s;return r?(i=e.filter(n=>!t.some(o=>r(o,n))),s=t.filter(n=>!e.some(o=>r(o,n)))):(i=e.filter(n=>!t.includes(n)),s=t.filter(n=>!e.includes(n))),{added:i,removed:s}}function Kqt(t){return t&&typeof t.length=="number"}function Gk(t,e,r,i){i=i||Qqt;let s=Math.max(0,i.last-10);for(let o=s;o<r;++o)if(t[o]===e)return i.last=o,o;let n=Math.min(s,r);for(let o=0;o<n;++o)if(t[o]===e)return i.last=o,o;return-1}function eHt(t,e,r,i){let s=r??t.length,n=Gk(t,e,s,i);if(n!==-1)return t[n]=t[s-1],r==null&&t.pop(),e}function tHt(t,e,r=t.length,i=e.length,s,n){if(i===0||r===0)return r;HA.clear();for(let a=0;a<i;++a)HA.add(e[a]);s=s||Qqt;let o=Math.max(0,s.last-10);for(let a=o;a<r;++a)if(HA.has(t[a])&&(n?.push(t[a]),HA.delete(t[a]),t[a]=t[r-1],--r,--a,HA.size===0||r===0))return HA.clear(),r;for(let a=0;a<o;++a)if(HA.has(t[a])&&(n?.push(t[a]),HA.delete(t[a]),t[a]=t[r-1],--r,--a,HA.size===0||r===0))return HA.clear(),r;return HA.clear(),r}function jit(t){return t?(Yqt.seed=t,()=>Yqt.getFloat()):Math.random}function Vit(t,e){let r=jit(e);for(let i=t.length-1;i>0;i--){let s=Math.floor(r()*(i+1)),n=t[i];t[i]=t[s],t[s]=n}return t}function TD(t,e){let r=t.indexOf(e);return r!==-1?(t.splice(r,1),e):null}function qn(t,e){return t!=null}var pme,Xqt,Jqt,Vk,Qqt,HA,Yqt,oa=U(()=>{Ix();ht();pme=1.5,Xqt=1/pme,Jqt=.5;Vk=class{constructor(){this.last=0}},Qqt=new Vk;HA=new Set;Yqt=new K1});function ED(t){return t instanceof ArrayBuffer}function WPe(t){return t?.constructor?.name==="Int8Array"}function _E(t){return t?.constructor?.name==="Uint8Array"}function dme(t){return t?.constructor?.name==="Uint8ClampedArray"}function OK(t){return t?.constructor?.name==="Int16Array"}function Dq(t){return t?.constructor?.name==="Uint16Array"}function LK(t){return t?.constructor?.name==="Int32Array"}function fme(t){return t?.constructor?.name==="Uint32Array"}function BK(t){return t?.constructor?.name==="Float32Array"}function UK(t){return t?.constructor?.name==="Float64Array"}function zk(t){return"buffer"in t}function rHt(t){return UK(t)||BK(t)||LK(t)||OK(t)||WPe(t)}function iHt(t){return UK(t)||BK(t)}function sHt(t){return UK(t)?179769e303:BK(t)?3402823e32:fme(t)?4294967295:Dq(t)?65535:_E(t)||dme(t)?255:LK(t)?2147483647:OK(t)?32767:WPe(t)?127:256}var jw,Cx=U(()=>{De();jw=1024});function jK(t,e){let r;if(e)for(r in t)t.hasOwnProperty(r)&&(t[r]===void 0?delete t[r]:t[r]instanceof Object&&jK(t[r],!0));else for(r in t)t.hasOwnProperty(r)&&t[r]===void 0&&delete t[r];return t}function ct(t){if(!t||typeof t!="object"||typeof t=="function")return t;let e=lHt(t);if(e!=null)return e;if(gme(t))return t.clone();if(oHt(t))return t.map(ct);if(aHt(t))throw new Error("Trying to clone an unclonable Accessor instance");let r={};for(let i of Object.getOwnPropertyNames(t))r[i]=ct(t[i]);return r}function $Pe(t){if(!t||typeof t!="object"||typeof t=="function"||"HTMLElement"in globalThis&&t instanceof HTMLElement)return t;let e=lHt(t);if(e!=null)return e;if(oHt(t)){let i=!0,s=t.map(n=>{let o=$Pe(n);return n!=null&&o==null&&(i=!1),o});return i?s:null}if(gme(t))return t.clone();if(t instanceof File||t instanceof Blob)return t;if(aHt(t))return null;let r=new(Object.getPrototypeOf(t)).constructor;for(let i of Object.getOwnPropertyNames(t)){let s=t[i],n=$Pe(s);if(s!=null&&n==null)return null;r[i]=n}return r}function gme(t){return typeof t.clone=="function"}function oHt(t){return typeof t.map=="function"&&typeof t.forEach=="function"}function aHt(t){return typeof t.notifyChange=="function"&&typeof t.watch=="function"}function nHt(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}function lHt(t){if(WPe(t)||_E(t)||dme(t)||OK(t)||Dq(t)||LK(t)||fme(t)||BK(t)||UK(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,i]of t)e.set(r,ct(i));return e}if(t instanceof Set){let e=new Set;for(let r of t)e.add(ct(r));return e}return null}function yme(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 YPe(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)&&Q1(t,e):t instanceof Set?e instanceof Set&&dgi(t,e):t instanceof Map?e instanceof Map&&fgi(t,e):!!nHt(t)&&nHt(e)&&mgi(t,e))}function mgi(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 i of r)if(t[i]!==e[i]||!Object.prototype.hasOwnProperty.call(e,i))return!1;return!0}function dgi(t,e){if(t.size!==e.size)return!1;for(let r of t)if(!e.has(r))return!1;return!0}function fgi(t,e){if(t.size!==e.size)return!1;for(let[r,i]of t){let s=e.get(r);if(s!==i||s===void 0&&!e.has(r))return!1}return!0}var pi=U(()=>{oa();Cx()});function VK(t,e,r=!1){return cHt(t,e,r)}function sy(t,e){if(e!=null)return e[t]||uHt(t.split("."),!1,e)}function nl(t,e,r){let i=t.split("."),s=i.pop(),n=uHt(i,!0,r);n&&s&&(n[s]=e)}function Nq(t,e){if(t==null&&e==null)return!1;if(t==null||e==null)return!0;if(typeof t=="object"){if(Array.isArray(t)){let r=e;if(t.length!==r.length)return!0;for(let i=0;i<t.length;i++)if(Nq(t[i],r[i]))return!0;return!1}if(Object.keys(t).length!==Object.keys(e).length)return!0;for(let r in t)if(Nq(t[r],e[r]))return!0;return!1}return t!==e}function uHt(t,e,r){let i=r;for(let s of t){if(i==null)return;if(!(s in i)){if(!e)return;i[s]={}}i=i[s]}return i}function cHt(t,e,r){return e?Object.keys(e).reduce((i,s)=>{let n=i[s],o=e[s];return n===o?i:n===void 0?(i[s]=ct(o),i):(Array.isArray(o)||Array.isArray(i)?(n=n?Array.isArray(n)?i[s]=n.slice():i[s]=[n]:i[s]=[],o&&(Array.isArray(o)||(o=[o]),r?o.forEach(a=>{n.includes(a)||n.push(a)}):i[s]=o.slice())):o&&typeof o=="object"?i[s]=cHt(n,o,r):i.hasOwnProperty(s)&&!e.hasOwnProperty(s)||(i[s]=o),i)},t||{}):t}var Kc=U(()=>{pi()});var h7,_me,GK=U(()=>{h7="20250210",_me="767787968faf905ed8e0971344f4dc5e51a3ea31"});var qo,Mf=U(()=>{De();Kc();GK();qo={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&&(VK(qo,globalThis.esriConfig,!0),delete qo.has),!qo.assetsPath){{let t="4.32.0";qo.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${t}-next.${h7}/assets`}qo.defaultAssetsPath=qo.assetsPath}});function hHt(t){return t??""}function Ky(t,e){return e?t.replaceAll(ggi,typeof e=="object"?(r,i)=>hHt(sy(i,e)):(r,i)=>hHt(e(i))):t}function p7(t,e){return t.replaceAll(/([.$?*|{}()[\]\\/+\-^])/g,r=>e?.includes(r)?r:`\\${r}`)}function Qy(t){let e=0;for(let r=0;r<t.length;r++)e=(e<<5)-e+t.charCodeAt(r),e|=0;return e}function mHt(t){return pHt??(pHt=new DOMParser),pHt.parseFromString(t||"","text/html").body.innerText||""}var ggi,pHt,Jg=U(()=>{Kc();ggi=/\{([^}]+)\}/g});function ygi(t,e,...r){console[t](`[${e}]`,...r)}function _gi(...t){return Qy(JSON.stringify(t,(r,i)=>typeof i!="object"||Array.isArray(i)?i:"[Object]"))}var dHt,At,Be=U(()=>{Mf();De();Jg();dHt={info:0,warn:1,error:2,none:3},At=class t{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,t._loggers.set(this.module,this);let r=this.module.lastIndexOf(".");r!==-1&&(this._parent=t.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,t._loggers.get(e)||new t({module:e})}_log(e,r,...i){if(this._matchLevel(e)){if(r!=="always"&&!t._throttlingDisabled){let s=_gi(i),n=this._loggedMessages[e].get(s);if(r==="once"&&n!=null||r==="oncePerTick"&&n&&n>=t._tickCounter)return;this._loggedMessages[e].set(s,t._tickCounter),t._scheduleTickCounterIncrement()}for(let s of qo.log.interceptors)if(s(e,this.module,...i))return;this._inheritedWriter()(e,this.module,...i)}}_parentWithMember(e,r){let i=this;for(;i!=null;){let s=i[e];if(s!=null)return s;i=i.parent}return r}_inheritedWriter(){return this._parentWithMember("writer",ygi)}_matchLevel(e){let r=qo.log.level||"warn";return dHt[this._parentWithMember("level",r)]<=dHt[e]}static _scheduleTickCounterIncrement(){t._tickCounterScheduled||(t._tickCounterScheduled=!0,Promise.resolve().then(()=>{t._tickCounter++,t._tickCounterScheduled=!1}))}};At._loggers=new Map,At._tickCounter=0,At._tickCounterScheduled=!1,At._throttlingDisabled=!1});function zp(t,e){if(t==null)throw new Error(e??"value is None")}function oc(t){return t?.destroy(),null}function kC(t){return t?.dispose(),null}function qp(t){return t?.remove(),null}function zK(t){return t?.abort(),null}function OC(t){return t?.release(),null}function ID(t,e,r){return t!=null&&e!=null?r!=null?r(t,e):t.equals(e):t===e}function Git(t,e){let r;return t.some((i,s)=>(r=e(i,s),r!=null)),r??void 0}var Za=U(()=>{});var XPe,zit=U(()=>{XPe=Symbol("Accessor-beforeDestroy")});function xl(t){return t?{remove(){t&&(t(),t=void 0)}}:bgi}function vgi(t){t.forEach(e=>e?.remove())}function e1(t){return xl(()=>vgi(t))}var bgi,Am=U(()=>{bgi={remove:()=>{}}});function Gh(t){return t.__accessor__??null}function gHt(t,e){return t?.metadata?.[e]!=null}function qK(t,e,r){return r?JPe(t,e,{policy:r,path:""}):JPe(t,e,null)}function JPe(t,e,r){return e?Object.keys(e).reduce((i,s)=>{let n=s,o=null,a="merge";if(r&&(o=r.path?`${r.path}.${s}`:s,a=r.policy(o)),a==="replace"||a==="replace-arrays"&&Array.isArray(i[n]))return i[n]=e[n],i;if(i[n]===void 0)return i[n]=ct(e[n]),i;let l=i[n],u=e[n];if(l===u)return i;if(Array.isArray(u)||Array.isArray(i))l=l?Array.isArray(l)?i[n]=l.slice():i[n]=[l]:i[n]=[],u&&(Array.isArray(u)||(u=[u]),u.forEach(c=>{l.includes(c)||l.push(c)}));else if(u&&typeof u=="object")if(r){let c=r.path;r.path=o,i[n]=JPe(l,u,r),r.path=c}else i[n]=JPe(l,u,null);else i.hasOwnProperty(s)&&!e.hasOwnProperty(s)||(i[n]=u);return i},t||{}):t}function ZPe(t){return Array.isArray(t)?t:t.split(".")}function fHt(t){return t.includes(",")?t.split(",").map(e=>e.trim()):[t.trim()]}function xgi(t){if(Array.isArray(t)){let e=[];for(let r of t)e.push(...fHt(r));return e}return fHt(t)}function qit(t,e,r,i){let s=xgi(e);if(s.length!==1){let n=s.map(o=>i(t,o,r));return e1(n)}return i(t,s[0],r)}var Px=U(()=>{Am();pi()});function yHt(t,e){let r=t[t.length-1]==="?"?t.slice(0,-1):t;if(e.getItemAt!=null||Array.isArray(e)){let s=parseInt(r,10);if(!isNaN(s))return Array.isArray(e)?e[s]:e.at(s)}let i=Gh(e);return gHt(i,r)?i.get(r):e[r]}function _Ht(t,e,r){if(t==null)return t;let i=yHt(e[r],t);return!i&&r<e.length-1?void 0:r===e.length-1?i:_Ht(i,e,r+1)}function Rq(t,e,r=0){return typeof e!="string"||e.includes(".")?_Ht(t,ZPe(e),r):yHt(e,t)}function CS(t,e){return Rq(t,e)}function Hit(t,e){return Rq(e,t)!==void 0}var qk=U(()=>{Px()});var nb,bme=U(()=>{(function(t){t[t.INITIALIZING=0]="INITIALIZING",t[t.CONSTRUCTING=1]="CONSTRUCTING",t[t.CONSTRUCTED=2]="CONSTRUCTED",t[t.DESTROYED=3]="DESTROYED"})(nb||(nb={}))});function m7(t){let e=t.constructor.__accessorMetadata__,r=Object.prototype.hasOwnProperty.call(t.constructor,"__accessorMetadata__");if(e){if(!r){e=Object.create(e);for(let i in e)e[i]=ct(e[i]);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 d7(t,e){let r=m7(t),i=r[e];return i||(i=r[e]={}),i}function bHt(t,e){return qK(t,e,Sgi)}function Sgi(t){return wgi.test(t)?"replace":"merge"}var wgi,Fq=U(()=>{pi();Px();wgi=/^(?:[^.]+\.)?(?:value|type|(?:json\.type|json\.origins\.[^.]\.type))$/});function Tgi(t){return t?.release&&typeof t.release=="function"}function Egi(t){return t?.acquire&&typeof t.acquire=="function"}var t1,CD=U(()=>{t1=class t{constructor(e,r,i,s=1,n=0){this._ctor=e,this._acquireFunction=r,this._releaseFunction=i,this.allocationSize=s,this._pool=new Array(n),this._initialSize=n;for(let o=0;o<n;o++)this._pool[o]=new this._ctor;this.allocationSize=Math.max(s,1)}destroy(){this.prune(0)}acquire(...e){let r;if(t.test.disabled)r=new this._ctor;else{if(this._pool.length===0){let i=this.allocationSize;for(let s=0;s<i;s++)this._pool[s]=new this._ctor}r=this._pool.pop()}return this._acquireFunction?this._acquireFunction(r,...e):Egi(r)&&r.acquire(...e),r}release(e){e&&!t.test.disabled&&(this._releaseFunction?this._releaseFunction(e):Tgi(e)&&e.release(),this._pool.push(e))}prune(e=this._initialSize){if(!(e>=this._pool.length)){for(let r=e;r<this._pool.length;++r){let i=this._pool[r];this._dispose(i)}this._pool.length=e}}_dispose(e){e.dispose&&typeof e.dispose=="function"&&e.dispose()}};t1.test={disabled:!1}});var KPe,vHt=U(()=>{oa();KPe=class{constructor(e,r){this._observers=e,this._observer=r}remove(){TD(this._observers,this._observer)}}});var HK,Igi,Wit=U(()=>{Am();vHt();HK=class{constructor(){this._observers=null,this.destroyed=!1}observe(e){if(this.destroyed||e.destroyed)return Igi;this._observers==null&&(this._observers=[]);let r=this._observers,i=!1,s=!1,n=r.length;for(let o=0;o<n;++o){let a=r[o];if(a.destroyed)s=!0;else if(a===e){i=!0;break}}return i||(r.push(e),s&&this._removeDestroyedObservers()),new KPe(r,e)}_removeDestroyedObservers(){let e=this._observers;if(!e||e.length===0)return;let r=e.length,i=0;for(let s=0;s<r;++s){for(;s+i<r&&e[s+i].destroyed;)++i;if(i>0){if(!(s+i<r))break;e[s]=e[s+i]}}e.length=r-i}destroy(){if(this.destroyed)return;this.destroyed=!0;let e=this._observers;if(e!=null){for(let r of e)r.onCommitted();this._observers=null}}},Igi=xl()});function td(t){switch(t){case"defaults":return ps.DEFAULTS;case"service":return ps.SERVICE;case"portal-item":return ps.PORTAL_ITEM;case"web-scene":return ps.WEB_SCENE;case"web-map":return ps.WEB_MAP;case"link-chart":return ps.LINK_CHART;case"user":return ps.USER;default:return null}}function LC(t){switch(t){case ps.DEFAULTS:return"defaults";case ps.SERVICE:return"service";case ps.PORTAL_ITEM:return"portal-item";case ps.WEB_SCENE:return"web-scene";case ps.WEB_MAP:return"web-map";case ps.LINK_CHART:return"link-chart";case ps.USER:return"user"}}function xHt(t){return LC(t)}var ps,vme,Df=U(()=>{(function(t){t[t.DEFAULTS=0]="DEFAULTS",t[t.COMPUTED=1]="COMPUTED",t[t.SERVICE=2]="SERVICE",t[t.PORTAL_ITEM=3]="PORTAL_ITEM",t[t.WEB_SCENE=4]="WEB_SCENE",t[t.WEB_MAP=5]="WEB_MAP",t[t.LINK_CHART=6]="LINK_CHART",t[t.USER=7]="USER"})(ps||(ps={}));vme=ps.USER+1});var zh,QPe=U(()=>{(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"})(zh||(zh={}))});var PD,xme=U(()=>{PD=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 ta(t){Sme.onAccessed(t)}function bE(t,e,r){if(eAe)return $it(t,e,r);let i=null;return THt(t),i=e.call(r),EHt(),i}function SHt(t,e){return bE(rAe,t,e)}function $it(t,e,r){let i=eAe;eAe=!0,THt(t);let s=null;try{s=e.call(r)}catch(n){tAe&&At.getLogger("esri.core.accessorSupport.tracking").error(n)}return EHt(),eAe=i,s}function THt(t){Sme=t,wme.push(t)}function EHt(){let t=wme.length;if(t>1){let e=wme.pop();Sme=wme[t-2],e.onTrackingEnd()}else if(t===1){let e=wme.pop();Sme=rAe,e.onTrackingEnd()}else Sme=rAe}function Yit(t,e){if(e.flags&zh.DepTrackingInitialized)return;e.flags|=zh.DepTrackingInitialized;let r=tAe;tAe=!1,e.flags&zh.AutoTracked?$it(e.trackingTarget,e.metadata.get,t):Xit(t,e),tAe=r}function Xit(t,e){e.flags&zh.ExplicitlyTracking||(e.flags|=zh.ExplicitlyTracking,$it(e.trackingTarget,()=>{let r=e.metadata.dependsOn||Cgi;for(let i of r)if(typeof i!="string"||i.includes(".")){let s=ZPe(i);for(let n=0,o=t;n<s.length&&o!=null&&typeof o=="object";++n)o=wHt(o,s[n],n!==s.length-1)}else wHt(t,i,!1)}),e.flags&=~zh.ExplicitlyTracking)}function wHt(t,e,r){let i=e[e.length-1]==="?"?e.slice(0,-1):e;if(t.getItemAt!=null||Array.isArray(t)){let n=parseInt(i,10);if(!isNaN(n))return Array.isArray(t)?t[n]:t.at(n)}let s=Gh(t);if(s){let n=s.propertiesByName.get(i);n&&(ta(n),Yit(t,n))}return r?t[i]:void 0}var rAe,wme,Sme,eAe,tAe,Cgi,WA=U(()=>{De();Be();Px();QPe();xme();rAe=new PD,wme=[],Sme=rAe;eAe=!1,tAe=!1;Cgi=[]});var Tme,IHt=U(()=>{Wit();Df();WA();QPe();xme();Tme=class extends HK{constructor(e,r){super(),this.propertyName=e,this.metadata=r,this.trackingTarget=new PD(this),this.flags=0,this.flags=zh.Dirty|(r.nonNullable?zh.NonNullable:0)|(r.hasOwnProperty("value")?zh.HasDefaultValue:0)|(r.get===void 0?zh.DepTrackingInitialized:0)|(r.dependsOn===void 0?zh.AutoTracked:0)}destroy(){this.flags&zh.Dirty&&this.onCommitted(),super.destroy(),this.trackingTarget.destroy()}getComputed(e){e.mutable&&ta(this);let r=e.store,i=this.propertyName,s=this.flags,n=r.get(i);if(s&zh.Computing||~s&zh.Dirty&&r.has(i))return n;this.flags|=zh.Computing;let o=e.host,a;s&zh.AutoTracked?a=bE(this.trackingTarget,this.metadata.get,o):(Xit(o,this),a=this.metadata.get.call(o)),this.flags|=zh.DepTrackingInitialized,r.set(i,a,ps.COMPUTED);let l=r.get(i);return l===n?this.flags&=~zh.Dirty:SHt(this.commit,this),this.flags&=~zh.Computing,l}notifyChange(){this.onInvalidated(),this.onCommitted()}invalidate(){this.onInvalidated()}commit(){this.flags&=~zh.Dirty,this.onCommitted()}onInvalidated(){~this.flags&zh.Overridden&&(this.flags|=zh.Dirty);let e=this._observers;if(e&&e.length>0)for(let r of e)r.onInvalidated()}onCommitted(){let e=this._observers;if(e&&e.length>0){let r=e.slice();for(let i of r)i.onCommitted()}}}});var iAe,CHt=U(()=>{pi();Df();iAe=class t{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(e){let r=new t;return this._values.forEach((i,s)=>{e&&e.has(s)||r.set(s,ct(i))}),r}get(e){return this._values.get(e)}originOf(){return ps.USER}keys(){return[...this._values.keys()]}set(e,r){this._values.set(e,r)}delete(e){this._values.delete(e)}has(e){return this._values.has(e)}forEach(e){this._values.forEach(e)}}});function sAe(t,e,r){return t!==void 0}function PHt(t,e,r,i){return t!==void 0&&(!(r==null&&t.flags&zh.NonNullable)||(i.lifecycle,nb.INITIALIZING,!1))}var nAe,Zit,Jit,AHt=U(()=>{De();pi();Be();CD();bme();IHt();Df();CHt();WA();QPe();xme();nAe=class{constructor(e){this.host=e,this.propertiesByName=new Map,this.ctorArgs=null,this.lifecycle=nb.INITIALIZING,this.store=new iAe,this.mutable=!0,this._origin=ps.USER;let r=this.host.constructor.__accessorMetadata__;for(let i in r){let s=new Tme(i,r[i]);this.propertiesByName.set(i,s)}this.metadata=r}initialize(){this.lifecycle=nb.CONSTRUCTING}constructed(){this.lifecycle=nb.CONSTRUCTED}destroy(){this.lifecycle=nb.DESTROYED,this.propertiesByName.forEach(e=>e.destroy())}get initialized(){return this.lifecycle!==nb.INITIALIZING}get(e){let r=this.propertiesByName.get(e);if(r.metadata.get)return r.getComputed(this);this.mutable&&ta(r);let i=this.store;return i.has(e)?i.get(e):r.metadata.value}originOf(e){let r=this.store.originOf(e);if(r===void 0){let i=this.propertiesByName.get(e);if(i!==void 0&&i.flags&zh.HasDefaultValue)return"defaults"}return LC(r)}has(e){return this.propertiesByName.has(e)&&this.store.has(e)}keys(){return[...this.propertiesByName.keys()]}internalGet(e){let r=this.propertiesByName.get(e);if(sAe(r))return this.store.has(e)?this.store.get(e):r.metadata.value}internalSet(e,r){let i=this.propertiesByName.get(e);sAe(i)&&this._internalSet(i,r)}getDependsInfo(e,r,i){let s=this.propertiesByName.get(r);if(!sAe(s))return"";let n=new PD,o=bE(n,()=>s.metadata.get?.call(e)),a=`${i}${e.declaredClass.split(".").pop()}.${r}: ${o}
|
|
5
5
|
`,l=n.accessed??new Set;if(l.size===0)return a;i+=" ";for(let u of l)u instanceof Tme&&(a+=`${i}${u.propertyName}: undefined
|
|
6
6
|
`);return a}setAtOrigin(e,r,i){let s=this.propertiesByName.get(e);if(sAe(s))return this._setAtOrigin(s,r,i)}isOverridden(e){let r=this.propertiesByName.get(e);return r!==void 0&&!!(r.flags&zh.Overridden)}clearOverride(e){let r=this.propertiesByName.get(e);r&&r.flags&zh.Overridden&&(r.flags&=~zh.Overridden,r.notifyChange())}override(e,r){let i=this.propertiesByName.get(e);if(!PHt(i,e,r,this))return;let s=i.metadata.cast;if(s){let n=this._cast(s,r),{valid:o,value:a}=n;if(Jit.release(n),!o)return;r=a}i.flags|=zh.Overridden,this._internalSet(i,r)}set(e,r){let i=this.propertiesByName.get(e);if(!PHt(i,e,r,this))return;let s=i.metadata.cast;if(s){let o=this._cast(s,r),{valid:a,value:l}=o;if(Jit.release(o),!a)return;r=l}let n=i.metadata.set;n?n.call(this.host,r):this._internalSet(i,r)}setDefaultOrigin(e){this._origin=td(e)}getDefaultOrigin(){return LC(this._origin)}notifyChange(e){let r=this.propertiesByName.get(e);r!==void 0&&r.notifyChange()}invalidate(e){let r=this.propertiesByName.get(e);r!==void 0&&r.invalidate()}commit(e){let r=this.propertiesByName.get(e);r!==void 0&&r.commit()}_internalSet(e,r){let i=this.lifecycle!==nb.INITIALIZING?this._origin:ps.DEFAULTS;this._setAtOrigin(e,r,i)}_setAtOrigin(e,r,i){let s=this.store,n=e.propertyName;s.has(n,i)&&yme(r,s.get(n))&&~e.flags&zh.Overridden&&i===s.originOf(n)||(e.invalidate(),s.set(n,r,i),e.commit(),Yit(this.host,e))}_cast(e,r){let i=Jit.acquire();return i.valid=!0,i.value=r,e&&(i.value=e.call(this.host,r,i)),i}},Zit=class{constructor(){this.value=null,this.valid=!0}acquire(){this.valid=!0}release(){this.value=null}},Jit=new t1(Zit)});function Pgi(t,e){return t.replaceAll(/\$\{([^\s:}]*)(?::([^\s:}]+))?\}/g,(r,i)=>i===""?"$":(sy(i,e)??"").toString())}var WK,Kit=U(()=>{Kc();WK=class{constructor(e,r,i=void 0){this.name=e,this.details=i,this.message=(r&&Pgi(r,i))??""}toString(){return"["+this.name+"]: "+this.message}}});var ge,Dr=U(()=>{pi();Be();Kit();ge=class t extends WK{constructor(e,r,i){super(e,r,i)}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 ct(r)}catch{return"[object]"}}))}}catch(e){throw At.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)}};ge.prototype.type="error"});function $K(t,e,r){if(t&&e)if(typeof e=="object")for(let i of Object.getOwnPropertyNames(e))$K(t,i,e[i]);else{if(e.includes(".")){let s=e.split("."),n=s.splice(-1,1)[0];return void $K(CS(t,s),n,r)}let i=t.__accessor__;i!=null&&Agi(e,i),t[e]=r}}function Agi(t,e){if(yr("esri-unknown-property-errors")&&!Mgi(t,e))throw new ge("set:unknown-property",Dgi(t,e))}function Mgi(t,e){return e.metadata[t]!=null}function Dgi(t,e){return"setting unknown property '"+t+"' on instance of "+e.host.declaredClass}var Qit=U(()=>{Dr();De();Be();qk()});function est(){return Ngi}var Ngi,MHt,DHt=U(()=>{(function(t){t[t.Ignore=0]="Ignore",t[t.Destroy=1]="Destroy",t[t.ThrowError=2]="ThrowError"})(MHt||(MHt={}))});function Rgi(t){t.length=0}var r1,tst,YK=U(()=>{CD();r1=class{constructor(e=50,r=50){this._pool=new t1(Array,void 0,Rgi,r,e)}acquire(){return this._pool.acquire()}release(e){this._pool.release(e)}prune(){this._pool.prune(0)}static acquire(){return tst.acquire()}static release(e){return tst.release(e)}static prune(){tst.prune()}},tst=new r1(100)});var oAe,NHt=U(()=>{CD();oAe=class extends t1{constructor(){super(...arguments),this._set=new Set}destroy(){super.destroy(),this._set=null}acquire(...e){let r=super.acquire(...e);return this._set.delete(r),r}release(e){e&&!this._set.has(e)&&(super.release(e),this._set.add(e))}_dispose(e){this._set.delete(e),super._dispose(e)}}});function BC(t){aAe.push(t),aAe.length===1&&queueMicrotask(()=>{let e=aAe.slice();aAe.length=0;for(let r of e)r()})}var aAe,XK=U(()=>{aAe=[]});var Hk,rst=U(()=>{Hk=class{constructor(e,r=30){this.name=e,this._counter=0,this._samples=new Array(r)}push(e){e!=null&&(this._samples[++this._counter%this._samples.length]=e)}set(e){e!=null&&(this._samples[this._counter%this._samples.length]=e)}get median(){return this._samples.slice().sort((e,r)=>e-r)[Math.floor(this._samples.length/2)]}get average(){return this._samples.reduce((e,r)=>e+r,0)/this._samples.length}get last(){return this._samples[this._counter%this._samples.length]}}});var ist,sst,RHt=U(()=>{(function(t){let e=(n,o,a,l)=>{let u=o,c=o,h=a>>>1,m=n[u-1];for(;c<=h;){c=u<<1,c<a&&l(n[c-1],n[c])<0&&++c;let f=n[c-1];if(l(f,m)<=0)break;n[u-1]=f,u=c}n[u-1]=m},r=(n,o)=>n<o?-1:n>o?1:0;function i(n,o,a,l){o===void 0&&(o=0),a===void 0&&(a=n.length),l===void 0&&(l=r);for(let c=a>>>1;c>o;c--)e(n,c,a,l);let u=o+1;for(let c=a-1;c>o;c--){let h=n[o];n[o]=n[c],n[c]=h,e(n,u,c,l)}}function*s(n,o,a,l){o===void 0&&(o=0),a===void 0&&(a=n.length),l===void 0&&(l=r);for(let c=a>>>1;c>o;c--)e(n,c,a,l),yield;let u=o+1;for(let c=a-1;c>o;c--){let h=n[o];n[o]=n[c],n[c]=h,e(n,u,c,l),yield}}t.sort=i,t.iterableSort=s})(ist||(ist={}));sst=ist});function FHt(t){t.data.length>Fgi*t.length&&(t.data.length=Math.floor(t.length*kgi))}var Fgi,kgi,dh,UC=U(()=>{oa();Ix();RHt();Fgi=1.5,kgi=1.1,dh=class{constructor(e){this.data=[],this._length=0,this._allocator=void 0,this._deallocator=()=>null,this._shrink=()=>{},this._hint=new Vk,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=()=>FHt(this)))}toArray(){return this.data.slice(0,this.length)}filter(e){let r=new Array;for(let i=0;i<this._length;i++){let s=this.data[i];e(s)&&r.push(s)}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 i=this.data.indexOf(e,r);return i!==-1&&i<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 i=0;i<r;i++)this.data[this._length++]=e[i]}fill(e,r){for(let i=0;i<r;i++)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++,FHt(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=Gk(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(Gk(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,i){this.length=tHt(this.data,e,this.length,r,this._hint,i),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 i=this.data[e];this.data[e]=this.data[r],this.data[r]=i}sort(e){sst.sort(this.data,0,this.length,e)}iterableSort(e){return sst.iterableSort(this.data,0,this.length,e)}some(e,r){for(let i=0;i<this.length;++i)if(e.call(r,this.data[i],i,this.data))return!0;return!1}find(e,r){let{data:i,length:s}=this;for(let n=0;n<s;++n)if(e.call(r,i[n]))return i[n]}filterInPlace(e,r){let i=0;for(let s=0;s<this._length;++s){let n=this.data[s];e.call(r,n,s,this.data)&&(this.data[s]=this.data[i],this.data[i]=n,i++)}if(this._deallocator)for(let s=i;s<this._length;s++)this.data[s]=this._deallocator(this.data[s]);return this._length=i,this._shrink(),this}forAll(e,r){let{data:i,length:s}=this;for(let n=0;n<s;++n)e.call(r,i[n],n,i)}forEach(e,r){this.data.slice(0,this.length).forEach(e,r)}map(e,r){let i=new Array(this.length);for(let s=0;s<this.length;++s)i[s]=e.call(r,this.data[s],s,this.data);return i}reduce(e,r){let i=r;for(let s=0;s<this.length;++s)i=e(i,this.data[s],s,this.data);return i}has(e){let r=this.length,i=this.data;for(let s=0;s<r;++s)if(i[s]===e)return!0;return!1}*[Symbol.iterator](){for(let e=0;e<this.length;e++)yield this.data[e]}}});function Ogi(t){return{setTimeout:(e,r)=>{let i=t.setTimeout(e,r);return xl(()=>t.clearTimeout(i))}}}var kHt,OHt=U(()=>{Am();kHt=Ogi(globalThis)});function JK(t){return Lgi(t)||LHt(t)}function Lgi(t){return t!=null&&typeof t=="object"&&"on"in t&&typeof t.on=="function"}function LHt(t){return t!=null&&typeof t=="object"&&"addEventListener"in t&&typeof t.addEventListener=="function"}function $A(t,e,r){if(!JK(t))throw new TypeError("target is not a Evented or EventTarget object");return LHt(t)?Bgi(t,e,r):t.on(e,r)}function Bgi(t,e,r,i){if(Array.isArray(e)){let s=e.slice();for(let n of s)t.addEventListener(n,r,i);return xl(()=>{for(let n of s)t.removeEventListener(n,r,i)})}return t.addEventListener(e,r,i),xl(()=>t.removeEventListener(e,r,i))}function Eme(t,e,r){if(!JK(t))throw new TypeError("target is not a Evented or EventTarget object");if("once"in t)return t.once(e,r);let i=$A(t,e,s=>{i.remove(),r.call(t,s)});return i}var kq=U(()=>{Am()});function aa(t="Aborted"){return new ge("AbortError",t)}function Bi(t,e="Aborted"){if(Dc(t))throw aa(e)}function i1(t){return t instanceof AbortSignal?t:t?.signal??void 0}function Dc(t){let e=i1(t);return e!=null&&e.aborted}function Fn(t){if(ua(t))throw t}function Wk(t){if(!ua(t))throw t}function Mc(t,e){let r=i1(t);if(r!=null){if(!r.aborted)return Eme(r,"abort",()=>e());e()}}function AD(t,e){let r=i1(t);if(r!=null)return Bi(r),Eme(r,"abort",()=>e(aa()))}function T0(t,e){return i1(e)==null?t:new Promise((r,i)=>{let s=Mc(e,()=>i(aa())),n=()=>{s=qp(s)};t.then(n,n),t.then(r,i)})}function ua(t){return t?.name==="AbortError"}async function Oq(t){try{return await t}catch(e){if(!ua(e))throw e;return}}async function jC(t){if(!t)return;if(typeof t.forEach!="function"){let r=Object.keys(t),i=r.map(o=>t[o]),s=await jC(i),n={};return r.map((o,a)=>n[o]=s[a]),n}let e=t;return Promise.allSettled(e).then(r=>Array.from(e,(i,s)=>{let n=r[s];return n.status==="fulfilled"?{promise:i,value:n.value}:{promise:i,error:n.reason}}))}async function Ime(t){return(await Promise.allSettled(t)).filter(e=>e.status==="fulfilled").map(e=>e.value)}async function BHt(t){return(await Promise.allSettled(t)).filter(e=>e.status==="rejected").map(e=>e.reason)}function Lq(t,e=void 0,r){let i=new AbortController;return Mc(r,()=>i.abort()),new Promise((s,n)=>{let o=setTimeout(()=>{o=0,s(e)},t);Mc(i,()=>{o&&(clearTimeout(o),n(aa()))})})}function Qc(t){return t&&typeof t.then=="function"}function lAe(t){return Qc(t)?t:Promise.resolve(t)}function Hh(t,e=-1){let r,i,s,n,o=null,a=(...l)=>{if(r){i=l,n&&n.reject(aa()),n=qh();let m=n.promise;if(o){let f=o;o=null,f.abort()}return m}if(s=n||qh(),n=null,e>0){let m=new AbortController;r=lAe(t(...l,m.signal));let f=r;Lq(e).then(()=>{r===f&&(n?m.abort():o=m)})}else r=1,r=lAe(t(...l));let u=()=>{let m=i;i=s=r=o=null,m!=null&&a(...m)},c=r,h=s;return c.then(u,u),c.then(h.resolve,h.reject),h.promise};return a}function qh(){let t,e,r=new Promise((s,n)=>{t=s,e=n}),i=s=>{t(s)};return i.resolve=s=>t(s),i.reject=s=>e(s),i.timeout=(s,n)=>kHt.setTimeout(()=>i.reject(n),s),i.promise=r,i}async function ZK(t){await Promise.resolve(),Bi(t)}var Vi=U(()=>{OHt();Dr();kq();Be();Za()});function nst(t){return 1e3*t}var f7=U(()=>{});function Ugi(){Pme!=null&&(cancelAnimationFrame(Pme),Pme=requestAnimationFrame(VHt))}function PS(t){let e=new ost(t);return lst.push(e),cAe.willDispatch||(cAe.willDispatch=!0,BC(zHt)),e}function jgi(t=!1){KK.forAll(e=>{e.removed=!0}),t&&GHt()}function VHt(){let t=performance.now();Pme=null,Pme=KK.some(r=>!r.paused&&!r.removed)?requestAnimationFrame(VHt):null,cAe.executeFrameTasks(t)}function Vgi(t){let e=t-UHt;UHt=t;let r=jHt>0?jHt:1e3/60,i=Math.max(0,e-r);Cme.time=t,Cme.frameDuration=r-i;for(let s=0;s<ast.length;s++){let n=performance.now(),o=ast[s];KK.forAll(a=>{a.paused||a.removed||(s===0&&a.ticks++,a.phases[o]&&(Cme.elapsedFrameTime=performance.now()-t,Cme.deltaTime=a.ticks===0?0:e,a.phases[o]?.call(a,Cme)))}),zgi[s].push(performance.now()-n)}GHt(),qgi.push(performance.now()-t)}function GHt(){KK.forAll(t=>{t.removed&&uAe.push(t)}),KK.removeUnorderedMany(uAe.data,uAe.length),uAe.clear()}function zHt(){for(;lst.length;){let t=lst.shift();t.isActive&&t.callback()}cAe.willDispatch=!1}function ust(t=1,e){let r=qh(),i=()=>{Dc(e)?r.reject(aa()):t===0?r():(--t,BC(()=>i()))};return i(),r.promise}function Ggi(t){return ust(1,t)}async function qHt(t){await Ggi(t),await new Promise(e=>requestAnimationFrame(()=>{t?.aborted||e()}))}var ost,UHt,jHt,Cme,ast,lst,KK,cAe,Pme,uAe,zgi,qgi,MD=U(()=>{XK();rst();UC();Vi();f7();ost=class{constructor(e){this.callback=e,this.isActive=!0}remove(){this.isActive=!1}},UHt=0,jHt=0,Cme={time:0,deltaTime:0,elapsedFrameTime:0,frameDuration:0},ast=["prepare","preRender","render","postRender","update","finish"],lst=[],KK=new dh;cAe={frameTasks:KK,willDispatch:!1,clearFrameTasks:jgi,dispatch:zHt,executeFrameTasks:Vgi,reschedule:Ugi};Pme=null;uAe=new dh;zgi=ast.map(t=>new Hk(t)),qgi=new Hk("total")});function cst(t,e){for(let r of t.values())if(e(r))return!0;return!1}function Ame(t,e){if(!e)return t;for(let r of e)r!=null&&t.add(r);return t}function hst(t,e){return e!=null&&t.add(e),t}function $k(t,e){let r=new Set;return Ame(r,t),Ame(r,e),r}function pst(t,e){let r=new Set;for(let i of e)t.has(i)&&r.add(i);return r}function Mme(t,e){if(!t||!e)return!1;if(t===e)return!0;for(let r of t)if(!e.has(r))return!1;return!0}function HHt(t,e){if(t==null&&e==null)return!0;if(t==null||e==null||t.size!==e.size)return!1;for(let r of t)if(!e.has(r))return!1;return!0}function hAe(t,e){let r=new Set(t);for(let i of e)r.delete(i);return r}var Yk=U(()=>{});function vE(){return++Hgi}var Hgi,Bq=U(()=>{Hgi=0});function Wgi(){}var g7,mst,WHt,dst=U(()=>{xme();g7=class extends PD{constructor(e){super(new mst(e)),this._observer&&WHt.register(this,new WeakRef(this._observer),this)}destroy(){this._observer&&WHt.unregister(this._observer),this.accessed?.clear(),this.clear(),this._observer?.destroy()}},mst=class{constructor(e){this._notify=e,this._invalidCount=0,this.destroyed=!1}onInvalidated(){this._invalidCount++}onCommitted(){if(this.destroyed)return;let e=this._invalidCount;if(e===1)return this._invalidCount=0,void this._notify();this._invalidCount=e>0?e-1:0}destroy(){this.destroyed=!0,this._notify=Wgi}},WHt=new FinalizationRegistry(t=>{t.deref()?.destroy()})});function fst(t,e){let r=new g7(n),i=null,s=!1;function n(){if(!r||s)return;if(eQ)return void $Ht(n);let a=i;r.clear(),eQ=!0,s=!0,i=bE(r,t),s=!1,eQ=!1,e(i,a),YHt()}function o(){r&&(r.destroy(),r=null,i=null)}return s=!0,i=bE(r,t),s=!1,xl(o)}function gst(t,e){let r=new g7(s),i=null;function s(){e(i,o)}function n(){r&&(r.destroy(),r=null),i=null}function o(){return r?(r.clear(),i=bE(r,t),i):null}return o(),xl(n)}function Dme(t,e){let r=!1,i=!1,s=!!e?.sync,n=new g7(()=>{r||i||(i=!0,s?o():queueMicrotask(o))});function o(){i=!1,n&&!r&&(eQ?$Ht(o):(n.clear(),eQ=!0,r=!0,bE(n,t),r=!1,eQ=!1,YHt()))}function a(){n&&(n.destroy(),n=null)}return r=!0,bE(n,t),r=!1,xl(a)}function $Ht(t){pAe.includes(t)||pAe.unshift(t)}function YHt(){for(;pAe.length;)pAe.pop()()}var eQ,pAe,Nme=U(()=>{Am();WA();dst();eQ=!1,pAe=[]});function fAe(t){y7.delete(t),y7.add(t),dAe||(dAe=PS(Ygi))}function $gi(t){if(t.removed)return;let e=t.oldValue,r=t.getValue();t.equals(e,r)||(t.oldValue=r,t.notify(r,e))}function XHt(t){for(let e of y7.values())e.target===t&&(e.removed=!0)}function Ygi(){let t=10;for(;dAe&&t--;){dAe=null;let e=Xgi(),r=mAe.acquire();for(let i of e){let s=i.uid;$gi(i),s===i.uid&&i.removed&&r.push(i)}for(let i of y7)i.removed&&(r.push(i),y7.delete(i));for(let i of r)Uq.pool.release(i);mAe.release(r),mAe.release(e),Jgi.forEach(i=>i())}}function Xgi(){let t=mAe.acquire();t.length=y7.size;let e=0;for(let r of y7)t[e]=r,++e;return y7.clear(),t}function Zgi(t,e,r){let i=qit(t,e,r,(s,n,o)=>{let a,l,u=gst(()=>Rq(s,n),(c,h)=>{s.__accessor__?.lifecycle===nb.DESTROYED||a&&a.uid!==l?i.remove():(a||(a=Uq.acquireUntracked(c,o,h,s,n),l=a.uid),fAe(a))});return xl(()=>{u.remove(),a&&(a.uid!==l||a.removed||(a.removed=!0,fAe(a)),a=null),i=u=null})});return i}function Kgi(t,e,r){let i=qit(t,e,r,(s,n,o)=>{let a=!1;return fst(()=>Rq(s,n),(l,u)=>{s.__accessor__.lifecycle!==nb.DESTROYED?a||(a=!0,yme(u,l)||o.call(s,l,u,n,s),a=!1):i.remove()})});return i}function JHt(t,e,r,i=!1){return t.__accessor__&&t.__accessor__.lifecycle!==nb.DESTROYED?i?Kgi(t,e,r):Zgi(t,e,r):xl()}function Qgi(t,e,r){let i,s,n=gst(t,(o,a)=>{i&&i.uid!==s?n.remove():(i||(i=Uq.acquireTracked(o,e,a,r),s=i.uid),fAe(i))});return xl(()=>{n.remove(),i&&(i.uid!==s||i.removed||(i.removed=!0,fAe(i)),i=null),n=null})}function e0i(t,e,r){let i=!1;return fst(t,(s,n)=>{i||(i=!0,r(n,s)||e(s,n),i=!1)})}function ZHt(t,e,r=!1,i=YPe){return r?e0i(t,e,i):Qgi(t,e,i)}var Rme,Uq,mAe,y7,dAe,Jgi,yst=U(()=>{YK();Am();pi();NHt();MD();Yk();Bq();qk();bme();Nme();Px();(function(t){t[t.Untracked=0]="Untracked",t[t.Tracked=1]="Tracked"})(Rme||(Rme={}));Uq=class{constructor(){this.uid=vE(),this.removed=!1,this.type=null,this.oldValue=null,this.callback=null,this.getValue=null,this.target=null,this.path=null,this.equals=null}static acquireUntracked(e,r,i,s,n){return this.pool.acquire(Rme.Untracked,e,r,i,s,n,yme)}static acquireTracked(e,r,i,s){return this.pool.acquire(Rme.Tracked,e,r,i,null,null,s)}notify(e,r){this.type===Rme.Untracked?this.callback.call(this.target,e,r,this.path,this.target):this.callback.call(null,e,r,void 0,void 0)}acquire(e,r,i,s,n,o,a){this.uid=vE(),this.removed=!1,this.type=e,this.oldValue=r,this.callback=i,this.getValue=s,this.target=n,this.path=o,this.equals=a}release(){this.target=this.path=this.oldValue=this.callback=this.getValue=null,this.uid=vE(),this.removed=!0}};Uq.pool=new oAe(Uq);mAe=new r1,y7=new Set;Jgi=new Set});function gAe(t,e){for(let r of t.values())if(e(r))return!0;return!1}function Pl(t,e,r){let i=t.get(e);if(i!==void 0)return i;let s=r();return t.set(e,s),s}function KHt(t){let e=new Map;return r=>(e.has(r)||e.set(r,t(r)),e.get(r))}var ny=U(()=>{});function t0i(t){return t==null?t:new Date(t)}function r0i(t){return t==null?t:!!t}function Xk(t){return t==null?t:t.toString()}function Lu(t,e=0){return t==null?t:(t=parseFloat(t),isNaN(t)?e:t)}function jq(t){return t==null?t:Math.round(parseFloat(t))}function i0i(t){return null}function _Ae(t,e){return r=>{let i=t(r);return e.step!=null&&(i=Math.round(i/e.step)*e.step),e.min!=null&&(i=Math.max(e.min,i)),e.max!=null&&(i=Math.min(e.max,i)),i}}function eWt(t){return t?.constructor&&t.constructor.__accessorMetadata__!==void 0}function yAe(t,e){return e!=null&&t&&!(e instanceof t)}function tWt(t){return t&&"isCollection"in t}function QHt(t){return t?.Type?typeof t.Type=="function"?t.Type:t.Type.base:null}function s0i(t,e){if(!e?.constructor||!tWt(e.constructor))return _st(t,e)?e:new t(e);let r=QHt(t.prototype.itemType),i=QHt(e.constructor.prototype.itemType);return r?i?r===i?e:r.prototype.isPrototypeOf(i.prototype)?new t(e):(_st(t,e),e):new t(e):e}function _st(t,e){return!!eWt(e)&&(tQ().error("Accessor#set","Assigning an instance of '"+(e.declaredClass||"unknown")+"' which is not a subclass of '"+bAe(t)+"'"),!0)}function Ea(t,e){return e==null?e:tWt(t)?s0i(t,e):yAe(t,e)?_st(t,e)?e:new t(e):e}function bAe(t){return t?.prototype?.declaredClass||"unknown"}function o0i(t){switch(t){case Number:return e=>Lu(e);case Gi:return jq;case Boolean:return r0i;case String:return Xk;case Date:return t0i;case YA:return i0i;default:return Pl(n0i,t,()=>Ea.bind(null,t))}}function ca(t,e){let r=o0i(t);return arguments.length===1?r:r(e)}function rQ(t,e,r){return arguments.length===1?rQ.bind(null,t):e&&(Array.isArray(e)?e.map(i=>t(i,r)):[t(e,r)])}function rWt(t,e){return arguments.length===1?rQ(r=>ca(t,r)):rQ(r=>ca(t,r),e)}function iWt(t,e,r){return e!==0&&Array.isArray(r)?r.map(i=>iWt(t,e-1,i)):t(r)}function Fme(t,e,r){if(arguments.length===2)return n=>Fme(t,e,n);if(!r)return r;r=iWt(t,e,r);let i=e,s=r;for(;i>0&&Array.isArray(s);)i--,s=s[0];if(s!==void 0)for(let n=0;n<i;n++)r=[r];return r}function sWt(t,e,r){return arguments.length===2?Fme(i=>ca(t,i),e):Fme(i=>ca(t,i),e,r)}function vAe(t){return!!Array.isArray(t)&&!t.some(e=>{let r=typeof e;return!(r==="string"||r==="number"||r==="function"&&t.length>1)})}function xAe(t,e){if(arguments.length===2)return xAe(t).call(null,e);let r=new Set,i=t.filter(a=>typeof a!="function"),s=t.filter(a=>typeof a=="function");for(let a of t)typeof a!="string"&&typeof a!="number"||r.add(a);let n=null,o=null;return(a,l)=>{if(a==null)return a;let u=typeof a,c=u==="string"||u==="number";return c&&(r.has(a)||s.some(h=>u==="string"&&h===String||u==="number"&&h===Number))||u==="object"&&s.some(h=>!yAe(a,h))?a:(c&&i.length?(n||(n=i.map(h=>typeof h=="string"?`'${h}'`:`${h}`).join(", ")),tQ().error("Accessor#set",`'${a}' is not a valid value for this property, only the following values are valid: ${n}`)):typeof a=="object"&&s.length?(o||(o=s.map(h=>bAe(h)).join(", ")),tQ().error("Accessor#set",`'${a}' is not a valid value for this property, value must be one of ${o}`)):tQ().error("Accessor#set",`'${a}' is not a valid value for this property`),l&&(l.valid=!1),null)}}function e_(t,e){if(arguments.length===2)return e_(t).call(null,e);let r={},i=[],s=[];for(let l in t.typeMap){let u=t.typeMap[l];r[l]=ca(u),i.push(bAe(u)),s.push(l)}let n=()=>`'${i.join("', '")}'`,o=()=>`'${s.join("', '")}'`,a=typeof t.key=="string"?l=>l[t.key]:t.key;return l=>{if(t.base&&!yAe(t.base,l)||l==null)return l;let u=a(l)||t.defaultKeyValue,c=r[u];if(!c)return tQ().error("Accessor#set",`Invalid property value, value needs to be one of ${n()}, or a plain object that can autocast (having .type = ${o()})`),null;if(!yAe(t.typeMap[u],l))return l;if(typeof t.key=="string"&&!eWt(l)){let h={};for(let m in l)m!==t.key&&(h[m]=l[m]);return c(h)}return c(l)}}function nWt(t){if(!t||!("type"in t))return!1;switch(t.type){case"native":case"array":case"one-of":return!0}return!1}function xst(t){switch(t.type){case"native":return ca(t.value);case"array":return rQ(xst(t.value));case"one-of":return a0i(t);default:return null}}function a0i(t){let e=null;return(r,i)=>vst(r,t)?r:(e==null&&(e=bst(t)),tQ().error("Accessor#set",`Invalid property value, value needs to be of type ${e}`),i&&(i.valid=!1),null)}function bst(t){switch(t.type){case"native":switch(t.value){case Number:return"number";case String:return"string";case Boolean:return"boolean";case Gi:return"integer";case Date:return"date";case YA:return"null";default:return bAe(t.value)}case"array":return`array of ${bst(t.value)}`;case"one-of":{let e=t.values.map(r=>bst(r));return`one of ${e.slice(0,-1)} or ${e[e.length-1]}`}}return"unknown"}function vst(t,e){if(t==null)return!0;switch(e.type){case"native":switch(e.value){case Number:case Gi:return typeof t=="number";case Boolean:return typeof t=="boolean";case String:return typeof t=="string";case YA:return t===null}return t instanceof e.value;case"array":return!!Array.isArray(t)&&!t.some(r=>!vst(r,e.value));case"one-of":return e.values.some(r=>vst(t,r))}}var tQ,n0i,Gi,YA,iQ,ws=U(()=>{De();Be();ny();tQ=()=>At.getLogger("esri.core.accessorSupport.ensureTypes");n0i=new WeakMap;Gi=class{},YA=class{},iQ={native:t=>({type:"native",value:t}),array:t=>({type:"array",value:t}),oneOf:t=>({type:"one-of",values:t})}});function x(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 i=Object.getOwnPropertyDescriptor(e,r),s=d7(e,r);i&&(i.get||i.set?(s.get=i.get||s.get,s.set=i.set||s.set):"value"in i&&("value"in t&&At.getLogger("esri.core.accessorSupport.decorators.property").warn(`@property() will redefine the value of "${r}" on "${e.constructor.name}" already defined in the metadata`,t),s.value=t.value=i.value)),t.readOnly!=null&&(s.readOnly=t.readOnly);let n=t.aliasOf;if(n){let l=typeof n=="string"?n:n.source,u=typeof n=="string"?null:n.overridable===!0,c;s.dependsOn=[l],s.get=function(){let h=CS(this,l);if(typeof h=="function"){c||(c=l.split(".").slice(0,-1).join("."));let m=CS(this,c);m&&(h=h.bind(m))}return h},s.readOnly||(s.set=u?function(h){this._override(r,h)}:function(h){$K(this,l,h)})}let o=t.type,a=t.types;if(!s.cast){let l;o?l=l0i(o):a&&(l=Array.isArray(a)?rQ(e_(a[0])):e_(a)),t.cast=u0i(t.cast,l)}bHt(s,t),t.range&&(s.cast=_Ae(s.cast,t.range))}}function sQ(t,e,r){let i=d7(t,r);i.json||(i.json={});let s=i.json;return e!==void 0&&(s.origins||(s.origins={}),s.origins[e]||(s.origins[e]={}),s=s.origins[e]),s}function l0i(t){let e=0,r=t;if(nWt(t))return xst(t);for(;Array.isArray(r)&&r.length===1&&typeof r[0]!="string"&&typeof r[0]!="number";)r=r[0],e++;let i=r;if(vAe(i))return e===0?xAe(i):Fme(xAe(i),e);if(e===1)return rWt(i);if(e>1)return sWt(i,e);let s=t;return s.from?s.from:ca(s)}function u0i(t,e){if(t||e)return t?e?(r,i)=>e(t(r,i),i):t:e}var Ue=U(()=>{Be();ws();qk();Fq();Qit()});function oWt(t){if(t.json&&t.json.origins){let e=t.json.origins,r={"web-document":["web-scene","web-map"]};for(let i in r)if(e[i]){let s=e[i];r[i].forEach(n=>{e[n]=s}),delete e[i]}}}var aWt=U(()=>{});var fh,Vw=U(()=>{Kit();fh=class extends WK{constructor(e,r,i){super(e,r,i)}};fh.prototype.type="warning"});function wAe(t){return!!t&&t.prototype?.declaredClass&&t.prototype.declaredClass.indexOf("esri.core.Collection")===0}var wst=U(()=>{});function Tst(t,e,r){t&&(!r&&!e.read||e.read?.reader||e.read?.enabled===!1||p0i(t)&&nl("read.reader",xE(t),e))}function xE(t){let e=t.ndimArray??0;if(e>1)return h0i(t);if(e===1)return lWt(t);if("type"in t&&cWt(t.type)){let r=t.type.prototype?.itemType?.Type,i=lWt(typeof r=="function"?{type:r}:{types:r});return(s,n,o)=>{let a=i(s,n,o);return a&&new t.type(a)}}return Est(t)}function Est(t){return"type"in t?c0i(t.type):m0i(t.types)}function c0i(t){return t.prototype.read?(e,r,i)=>{if(e==null)return e;let s=typeof e;if(s!=="object")return void Sst().error(`Expected JSON value of type 'object' to deserialize type '${t.prototype.declaredClass}', but got '${s}'`);let n=new t;return n.read(e,i),n}:t.fromJSON}function uWt(t,e,r,i){return i!==0&&Array.isArray(e)?e.map(s=>uWt(t,s,r,i-1)):t(e,void 0,r)}function h0i(t){let e=Est(t),r=uWt.bind(null,e),i=t.ndimArray??0;return(s,n,o)=>{if(s==null)return s;s=r(s,o,i);let a=i,l=s;for(;a>0&&Array.isArray(l);)a--,l=l[0];if(l!==void 0)for(let u=0;u<a;u++)s=[s];return s}}function lWt(t){let e=Est(t);return(r,i,s)=>{if(r==null)return r;if(Array.isArray(r)){let o=[];for(let a of r){let l=e(a,void 0,s);l!==void 0&&o.push(l)}return o}let n=e(r,void 0,s);return n!==void 0?[n]:void 0}}function cWt(t){if(!wAe(t))return!1;let e=t.prototype.itemType;return!(!e||!e.Type)&&(typeof e.Type=="function"?Ist(e.Type):hWt(e.Type))}function p0i(t){return"types"in t?hWt(t.types):Ist(t.type)}function Ist(t){return!Array.isArray(t)&&!!t&&t.prototype&&("read"in t.prototype||"fromJSON"in t||cWt(t))}function hWt(t){for(let e in t.typeMap)if(!Ist(t.typeMap[e]))return!1;return!0}function m0i(t){let e=null,r=t.errorContext??"type",i=t.validate;return(s,n,o)=>{if(s==null)return s;let a=typeof s;if(a!=="object")return void Sst().error(`Expected JSON value of type 'object' to deserialize, but got '${a}'`);e||(e=d0i(t));let l=t.key;if(typeof l!="string")return;let u=s[l],c=u?e[u]:t.defaultKeyValue?t.typeMap[t.defaultKeyValue]:void 0;if(!c){let m=`Type '${u||"unknown"}' is not supported`;return o?.messages&&s&&o.messages.push(new fh(`${r}:unsupported`,m,{definition:s,context:o})),void Sst().error(m)}let h=new c;return h.read(s,o),i?i(h):h}}function d0i(t){let e={};for(let r in t.typeMap){let i=t.typeMap[r],s=m7(i.prototype);if(typeof t.key=="function")continue;let n=s[t.key];if(!n)continue;if(n.json?.type&&Array.isArray(n.json.type)&&n.json.type.length===1&&typeof n.json.type[0]=="string"){e[n.json.type[0]]=i;continue}let o=n.json?.write;if(!o?.writer){e[r]=i;continue}let a=o.target,l=typeof a=="string"?a:t.key,u={};o.writer(r,u,l),u[l]&&(e[u[l]]=i)}return e}var Sst,_7=U(()=>{Be();Kc();Vw();Fq();wst();Sst=()=>At.getLogger("esri.core.accessorSupport.extensions.serializableProperty.reader")});function fWt(t){if(t.json||(t.json={}),mWt(t.json),dWt(t.json),pWt(t.json),t.json.origins)for(let e in t.json.origins)mWt(t.json.origins[e]),dWt(t.json.origins[e]),pWt(t.json.origins[e]);return!0}function pWt(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 mWt(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 dWt(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 gWt=U(()=>{});function Cst(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&&wAe(t.type))?e.write.writer=y0i:r>1?e.write.writer=_0i(r):e.types?Array.isArray(e.types)?e.write.writer=g0i(e.types[0]):e.write.writer=f0i(e.types):e.write.writer=kme}function f0i(t){return(e,r,i,s)=>e?yWt(e,t,s)?kme(e,r,i,s):void 0:kme(e,r,i,s)}function yWt(t,e,r){for(let i in e.typeMap)if(t instanceof e.typeMap[i])return!0;if(r?.messages){let i=e.errorContext??"type",s=`Values of type '${(typeof e.key!="function"?t[e.key]:t.declaredClass)??"Unknown"}' cannot be written`;r&&r.messages&&t&&r.messages.push(new ge(`${i}:unsupported`,s,{definition:t,context:r})),At.getLogger("esri.core.accessorSupport.extensions.serializableProperty.writer").error(s)}return!1}function g0i(t){return(e,r,i,s)=>!e||!Array.isArray(e)?kme(e,r,i,s):kme(e.filter(n=>yWt(n,t,s)),r,i,s)}function kme(t,e,r,i){nl(r,SAe(t,i),e)}function SAe(t,e){return t&&typeof t.write=="function"?t.write({},e):t&&typeof t.toJSON=="function"?t.toJSON():typeof t=="number"?Ome(t):t}function Ome(t){return t===-1/0?-Number.MAX_VALUE:t===1/0?Number.MAX_VALUE:isNaN(t)?null:t}function y0i(t,e,r,i){let s;t===null?s=null:t&&typeof t.map=="function"?(s=t.map(n=>SAe(n,i)),typeof s.toArray=="function"&&(s=s.toArray())):s=[SAe(t,i)],nl(r,s,e)}function _Wt(t,e,r){return r!==0&&Array.isArray(t)?t.map(i=>_Wt(i,e,r-1)):SAe(t,e)}function _0i(t){return(e,r,i,s)=>{let n;if(e===null)n=null;else{n=_Wt(e,s,t);let o=t,a=n;for(;o>0&&Array.isArray(a);)o--,a=a[0];if(a!==void 0)for(let l=0;l<o;l++)n=[n]}nl(i,n,r)}}var Pst=U(()=>{Dr();Be();Kc();wst()});function bWt(t,e){return Dst(t,"any",e?.origin)}function TAe(t,e){return Dst(t,"read",e?.origin)}function Mst(t,e){return Dst(t,"write",e?.origin)}function Dst(t,e,r){let i=t?.json;if(i?.origins&&r){let s;s=r==="link-chart"?i.origins[r]&&(e==="any"||e in i.origins[r])?i.origins[r]:i.origins["web-map"]:i.origins[r],s&&(e==="any"||e in s)&&(i=s)}return i}function b0i(t){let e=v0i(t);if(t.json.origins)for(let r in t.json.origins){let i=t.json.origins[r],s=i.types?x0i(i):e;Tst(s,i,!1),i.types&&!i.write&&t.json.write?.enabled&&(i.write={...t.json.write}),Cst(s,i)}Tst(e,t.json,!0),Cst(e,t.json)}function v0i(t){return t.json.types?Ast(t.json):t.type?vWt(t):Ast(t)}function x0i(t){return t.type?vWt(t):Ast(t)}function vWt(t){if(!t.type)return;let e=0,r=t.type;for(;Array.isArray(r)&&!vAe(r);)r=r[0],e++;return{type:r,ndimArray:e}}function Ast(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 xWt(t){fWt(t)&&(oWt(t),b0i(t))}var EAe=U(()=>{ws();aWt();_7();gWt();Pst()});function Y(t){return e=>{t??(t="esri.core.Accessor"),e.prototype.declaredClass=t,S0i(e);let r=[],i=[],s=e.prototype;for(;s;)s.hasOwnProperty("initialize")&&!Nst.has(s.initialize)&&(Nst.add(s.initialize),r.push(s.initialize)),s.hasOwnProperty("destroy")&&!Rst.has(s.destroy)&&(Rst.add(s.destroy),i.push(s.destroy)),s=Object.getPrototypeOf(s);Nst.clear(),Rst.clear();let n=class extends e{constructor(...a){if(super(...a),this.constructor===n&&typeof this.postscript=="function"){if(r.length&&Object.defineProperty(this,"initialize",{enumerable:!1,configurable:!0,value(){for(let l=r.length-1;l>=0;l--)r[l].call(this)}}),i.length){let l=!1,u=this[XPe];Object.defineProperty(this,"destroy",{enumerable:!1,configurable:!0,value(){if(!l){l=!0,u.call(this);for(let c=0;c<i.length;c++)i[c].call(this)}}})}Object.defineProperty(this,Symbol.dispose,{enumerable:!1,configurable:!0,value(){this.destroy()}}),this.postscript()}}};n.__accessorMetadata__=m7(e.prototype),n.prototype.declaredClass=t;let o=(t||"AccessorSubclass").split(".").slice(-1)[0];return Object.defineProperty(n,"name",{value:o,configurable:!0}),n}}function w0i(t,e){return e.get==null?function(){let r=this.__accessor__,i=r.propertiesByName.get(t);if(i===void 0)return;r.mutable&&ta(i);let s=r.store;return s.has(t)?s.get(t):i.metadata.value}:function(){let r=this.__accessor__,i=r.propertiesByName.get(t);if(i!==void 0)return i.getComputed(r)}}function S0i(t){let e=t.prototype,r=m7(e),i={};for(let s of Object.getOwnPropertyNames(r)){let n=r[s];xWt(n),i[s]={enumerable:!0,configurable:!0,get:w0i(s,n),set(o){let a=this.__accessor__;if(a!==void 0){if(a.mutable)return a.initialized&&n.readOnly?wWt("read-only",s):a.lifecycle===nb.CONSTRUCTED&&n.constructOnly?wWt("construct-only",s):void a.set(s,o)}else Object.defineProperty(this,s,{enumerable:!0,configurable:!0,writable:!0,value:o})}}}Object.defineProperties(t.prototype,i)}var Nst,Rst,wWt,Le=U(()=>{De();Be();zit();bme();Fq();WA();EAe();Nst=new Set,Rst=new Set;wWt=(t,e)=>{At.getLogger("esri.core.Accessor").error(`cannot assign to ${t} property '${e}'`)}});function T0i(t){if(t==null)return{value:t};if(Array.isArray(t))return{type:[t[0]],value:null};switch(typeof t){case"object":return t.constructor?.__accessorMetadata__||t instanceof Date?{type:t.constructor,value:t}:t;case"boolean":return{type:Boolean,value:t};case"string":return{type:String,value:t};case"number":return{type:Number,value:t};case"function":return{type:t,value:null};default:return}}var SWt,TWt,DD,Fst,ys,va=U(()=>{Mq();Uit();Be();Za();zit();qk();bme();Fq();AHt();Qit();DHt();yst();Ue();Le();DD=Symbol("Accessor-Handles"),Fst=Symbol("Accessor-Initialized"),ys=class t{static createSubclass(e={}){if(Array.isArray(e))throw new Error("Multi-inheritance unsupported since 4.16");let{properties:r,declaredClass:i,constructor:s}=e;delete e.declaredClass,delete e.properties,delete e.constructor;let n=this;class o extends n{constructor(...l){super(...l),this.inherited=null,s&&s.apply(this,l)}}m7(o.prototype);for(let a in e){let l=e[a];o.prototype[a]=typeof l=="function"?function(...u){let c=this.inherited,h;this.inherited=function(...m){if(n.prototype[a])return n.prototype[a].apply(this,m)};try{h=l.apply(this,u)}catch(m){throw this.inherited=c,m}return this.inherited=c,h}:e[a]}for(let a in r){let l=T0i(r[a]);x(l)(o.prototype,a)}return Y(i)(o)}static freeze(e){return e instanceof t?e.__accessor__.mutable=!1:Object.freeze(e),e}static isFrozen(e){return e instanceof t?!e.__accessor__.mutable:Object.isFrozen(e)}constructor(...e){if(this[SWt]=null,this[TWt]=!1,this.constructor===t)throw new Error("[accessor] cannot instantiate Accessor. This can be fixed by creating a subclass of Accessor");let r=new nAe(this);Object.defineProperty(this,"__accessor__",{enumerable:!1,value:r}),e.length>0&&(r.ctorArgs=this.normalizeCtorArgs?.apply(this,e)??e[0]),est()?.onInstanceConstruct(this)}postscript(){let e=this.__accessor__,r=e.ctorArgs;e.initialize(),r&&(this.set(r),e.ctorArgs=null),e.constructed(),this.initialize(),this[Fst]=!0}initialize(){}[XPe](){this[DD]=oc(this[DD])}destroy(){this.destroyed||(XHt(this),this.__accessor__.destroy(),est()?.onInstanceDestroy(this))}[Symbol.dispose](){this.destroy()}get constructed(){return this.__accessor__&&this.__accessor__.initialized||!1}get initialized(){return this[Fst]}get destroyed(){return this.__accessor__?.lifecycle===nb.DESTROYED||!1}commitProperty(e){CS(this,e)}hasOwnProperty(e){return this.__accessor__?this.__accessor__.has(e):Object.prototype.hasOwnProperty.call(this,e)}keys(){return this.__accessor__?this.__accessor__.keys():[]}set(e,r){return $K(this,e,r),this}watch(e,r,i){return Gqt(At.getLogger(this),"`watch` is deprecated in favor of reactiveUtils.watch",{replacement:"reactiveUtils.watch",version:"4.32",see:"https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html#watch",warnOnce:!0}),JHt(this,e,r,i)}addHandles(e,r){if(this.destroyed){let i=Array.isArray(e)?e:[e];for(let s of i)s.remove();return}(this[DD]??(this[DD]=new c7)).add(e,r)}removeHandles(e){this[DD]?.remove(e)}removeAllHandles(){this[DD]?.removeAll()}removeHandlesReference(e){this[DD]?.removeReference(e)}hasHandles(e){return this[DD]?.has(e)===!0}_override(e,r){r===void 0?this.__accessor__.clearOverride(e):this.__accessor__.override(e,r)}_clearOverride(e){return this.__accessor__.clearOverride(e)}_overrideIfSome(e,r){r==null?this.__accessor__.clearOverride(e):this.__accessor__.override(e,r)}_isOverridden(e){return this.__accessor__.isOverridden(e)}notifyChange(e){this.__accessor__.notifyChange(e)}_get(e){return this.__accessor__.internalGet(e)}_set(e,r){return this.__accessor__.internalSet(e,r),this}};SWt=DD,TWt=Fst});var EWt,Lme,Or,Rs=U(()=>{Re();va();De();pi();Be();Za();Df();Px();Le();EWt=t=>{let e=class extends t{clone(){let r=Gh(this);zp(r,"unable to clone instance of non-accessor class");let i=r.metadata,s=r.store,n={},o=new Map;for(let l in i){let u=i[l],c=s?.originOf(l),h=u.clonable;if(u.readOnly||h===!1||c!==ps.USER&&c!==ps.DEFAULTS&&c!==ps.WEB_MAP&&c!==ps.WEB_SCENE)continue;let m=this[l],f=null;f=typeof h=="function"?h(m):h==="reference"?m:$Pe(m),m!=null&&f==null||(c===ps.DEFAULTS?o.set(l,f):n[l]=f)}let a=new(Object.getPrototypeOf(this)).constructor(n);if(o.size){let l=Gh(a)?.store;if(l)for(let[u,c]of o)l.set(u,c,ps.DEFAULTS)}return a}};return e=d([Y("esri.core.Clonable")],e),e},Lme=class extends EWt(ys){};Lme=d([Y("esri.core.Clonable")],Lme),function(t){t.ClonableMixin=EWt}(Lme||(Lme={}));Or=Lme});var ac,t_=U(()=>{Re();va();Am();Le();ac=class t{constructor(){this._emitter=new t.EventEmitter(this)}emit(e,r){return this._emitter.emit(e,r)}on(e,r){return this._emitter.on(e,r)}once(e,r){return this._emitter.once(e,r)}hasEventListener(e){return this._emitter.hasEventListener(e)}};(function(t){class e{constructor(s=null){this._target=s,this._listenersMap=null}clear(){this._listenersMap?.clear(),this._listenersMap=null}destroy(){this.clear()}emit(s,n){let o=this._listenersMap?.get(s);if(!o)return!1;let a=this._target||this,l=!1;for(let u of o.slice()){let c="deref"in u?u.deref():u;c?c?.call(a,n):l=!0}return l&&(o=o.filter(u=>!("deref"in u)||u.deref()!=null),this._listenersMap.set(s,o)),o.length>0}on(s,n){if(Array.isArray(s)){let a=s.map(l=>this.on(l,n));return e1(a)}if(s.includes(","))throw new TypeError("Evented.on() with a comma delimited string of event types is not supported");this._listenersMap??(this._listenersMap=new Map);let o=this._listenersMap.get(s)||[];return o.push(n),this._listenersMap.set(s,o),xl(()=>{let a=this._listenersMap?.get(s),l=a?.indexOf(n)??-1;l>=0&&a.splice(l,1)})}once(s,n){let o=this.on(s,a=>{o.remove(),("deref"in n?n.deref():n)?.call(null,a)});return o}hasEventListener(s){let n=this._listenersMap?.get(s);return n!=null&&n.length>0}}t.EventEmitter=e,t.EventedMixin=i=>{let s=class extends i{constructor(){super(...arguments),this._emitter=new e}destroy(){this._emitter.clear()}emit(n,o){return this._emitter.emit(n,o)}on(n,o){return this._emitter.on(n,o)}once(n,o){return this._emitter.once(n,o)}hasEventListener(n){return this._emitter.hasEventListener(n)}};return s=d([Y("esri.core.Evented")],s),s};let r=class extends ys{constructor(){super(...arguments),this._emitter=new ac.EventEmitter(this)}destroy(){this._emitter.clear()}emit(i,s){return this._emitter.emit(i,s)}on(i,s){return this._emitter.on(i,s)}once(i,s){return this._emitter.once(i,s)}hasEventListener(i){return this._emitter.hasEventListener(i)}};r=d([Y("esri.core.Evented.EventedAccessor")],r),t.EventedAccessor=r})(ac)});var ap,IWt=U(()=>{(function(t){t[t.ADD=1]="ADD",t[t.REMOVE=2]="REMOVE",t[t.MOVE=4]="MOVE"})(ap||(ap={}))});function nQ(t){return(e,r)=>{e[r]=t}}var IAe=U(()=>{});var VC,oQ=U(()=>{Wit();VC=class extends HK{notify(){let e=this._observers;if(e&&e.length>0){let r=e.slice();for(let i of r)i.onInvalidated(),i.onCommitted()}}}});function CWt(t){t&&typeof t=="object"&&"destroy"in t&&typeof t.destroy=="function"&&t.destroy()}function kst(t){return t?t instanceof Jk?t.toArray():t.length?Array.prototype.slice.apply(t):[]:[]}function Ost(t){if(t?.length)return t[0]}function E0i(t,e,r,i){let s=Math.min(t.length-r,e.length-i),n=0;for(;n<s&&t[r+n]===e[i+n];)n++;return n}function PWt(t,e,r,i){e&&e.forEach((s,n,o)=>{t.push(s),PWt(t,r.call(i,s,n,o),r,i)})}var Zk,Bst,Ust,GC,b7,v7,x7,Lst,I0i,Jk,Vr,Mo=U(()=>{Re();YK();t_();Am();pi();CD();IWt();MD();ws();WA();Ue();IAe();Le();oQ();Bst=class{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(e){this.defaultPrevented=!1,this.item=e}},Ust=class{constructor(e,r,i,s,n){this.target=e,this.added=r,this.removed=i,this.start=s,this.deleteCount=n}},GC=new t1(Bst,void 0,t=>{t.item=null,t.target=null,t.defaultPrevented=!1,t.cancellable=!1});b7=new Set,v7=new Set,x7=new Set,Lst=new Map,I0i=0,Jk=Zk=class extends ac.EventedAccessor{static isCollection(t){return t!=null&&t instanceof Zk}constructor(t){super(t),this._chgListeners=[],this._notifications=null,this._updating=!1,this._timer=null,this._observable=new VC,this.length=0,this._items=[],Object.defineProperty(this,"uid",{value:I0i++})}normalizeCtorArgs(t){return t?Array.isArray(t)||t instanceof Zk?{items:t}:t:{}}destroy(){this._removeAllRaw(),this._timer&&this._timer.remove(),this._emitter.destroy(),this._notifications=null}*[Symbol.iterator](){yield*this.items}get items(){return ta(this._observable),this._items}set items(t){this._emitBeforeChanges(ap.ADD)||(this._splice(0,this.length,kst(t)),this._emitAfterChanges(ap.ADD))}hasEventListener(t){return!this.destroyed&&(t==="change"?this._chgListeners.length>0:this._emitter.hasEventListener(t))}on(t,e){if(this.destroyed)return xl();if(t==="change"){let r=this._chgListeners,i={removed:!1,callback:e};return r.push(i),this._notifications&&this._notifications.push({listeners:r.slice(),items:this._items.slice(),changes:[]}),xl(()=>{i.removed=!0,r.splice(r.indexOf(i),1)})}return this._emitter.on(t,e)}once(t,e){let r="deref"in e?()=>e.deref():()=>e,i=this.on(t,s=>{r()?.call(null,s),i.remove()});return i}add(t,e){if(ta(this._observable),this._emitBeforeChanges(ap.ADD))return this;let r=this.getNextIndex(e??null);return this._splice(r,0,[t]),this._emitAfterChanges(ap.ADD),this}addMany(t,e=this._items.length){if(ta(this._observable),!t?.length)return this;if(this._emitBeforeChanges(ap.ADD))return this;let r=this.getNextIndex(e);return this._splice(r,0,kst(t)),this._emitAfterChanges(ap.ADD),this}at(t){if(ta(this._observable),(t=Math.trunc(t)||0)<0&&(t+=this.length),!(t<0||t>=this.length))return this._items[t]}removeAll(){if(ta(this._observable),!this.length||this._emitBeforeChanges(ap.REMOVE))return[];let t=this._removeAllRaw();return this._emitAfterChanges(ap.REMOVE),t}_removeAllRaw(){return this.length===0?[]:this._splice(0,this.length)||[]}clone(){return ta(this._observable),this._createNewInstance({items:this._items.map(ct)})}concat(...t){ta(this._observable);let e=t.map(kst);return this._createNewInstance({items:this._items.concat(...e)})}drain(t,e){if(ta(this._observable),!this.length||this._emitBeforeChanges(ap.REMOVE))return;let r=this._splice(0,this.length),i=r.length;for(let s=0;s<i;s++)t.call(e,r[s],s,r);this._emitAfterChanges(ap.REMOVE)}destroyAll(){this.drain(CWt)}destroyMany(t){let e=this.removeMany(t);return e.forEach(CWt),e}every(t,e){return ta(this._observable),this._items.every(t,e)}filter(t,e){ta(this._observable);let r=arguments.length===2?this._items.filter(t,e):this._items.filter(t);return this._createNewInstance({items:r})}find(t,e){return ta(this._observable),this._items.find(t,e)}findIndex(t,e){return ta(this._observable),this._items.findIndex(t,e)}flatten(t,e){ta(this._observable);let r=[];return PWt(r,this,t,e),new Zk(r)}forEach(t,e){return ta(this._observable),this._items.forEach(t,e)}getItemAt(t){return ta(this._observable),this._items[t]}getNextIndex(t){ta(this._observable);let e=this.length;return(t=t??e)<0?t=0:t>e&&(t=e),t}includes(t,e=0){return ta(this._observable),this._items.includes(t,e)}indexOf(t,e=0){return ta(this._observable),this._items.indexOf(t,e)}join(t=","){return ta(this._observable),this._items.join(t)}lastIndexOf(t,e=this.length-1){return ta(this._observable),this._items.lastIndexOf(t,e)}map(t,e){ta(this._observable);let r=this._items.map(t,e);return new Zk({items:r})}reorder(t,e=this.length-1){ta(this._observable);let r=this.indexOf(t);if(r!==-1){if(e<0?e=0:e>=this.length&&(e=this.length-1),r!==e){if(this._emitBeforeChanges(ap.MOVE))return t;this._splice(r,1),this._splice(e,0,[t]),this._emitAfterChanges(ap.MOVE)}return t}}pop(){if(ta(this._observable),!this.length||this._emitBeforeChanges(ap.REMOVE))return;let t=Ost(this._splice(this.length-1,1));return this._emitAfterChanges(ap.REMOVE),t}push(...t){return ta(this._observable),this._emitBeforeChanges(ap.ADD)||(this._splice(this.length,0,t),this._emitAfterChanges(ap.ADD)),this.length}reduce(t,e){ta(this._observable);let r=this._items;return arguments.length===2?r.reduce(t,e):r.reduce(t)}reduceRight(t,e){ta(this._observable);let r=this._items;return arguments.length===2?r.reduceRight(t,e):r.reduceRight(t)}remove(t){return ta(this._observable),this.removeAt(this.indexOf(t))}removeAt(t){if(ta(this._observable),t<0||t>=this.length||this._emitBeforeChanges(ap.REMOVE))return;let e=Ost(this._splice(t,1));return this._emitAfterChanges(ap.REMOVE),e}removeMany(t){if(ta(this._observable),!t?.length||this._emitBeforeChanges(ap.REMOVE))return[];let e=t instanceof Zk?t.toArray():t,r=this._items,i=[],s=e.length;for(let n=0;n<s;n++){let o=e[n],a=r.indexOf(o);if(a>-1){let l=1+E0i(e,r,n+1,a+1),u=this._splice(a,l);u&&u.length>0&&i.push.apply(i,u),n+=l-1}}return this._emitAfterChanges(ap.REMOVE),i}reverse(){if(ta(this._observable),this._emitBeforeChanges(ap.MOVE))return this;let t=this._splice(0,this.length);return t&&(t.reverse(),this._splice(0,0,t)),this._emitAfterChanges(ap.MOVE),this}shift(){if(ta(this._observable),!this.length||this._emitBeforeChanges(ap.REMOVE))return;let t=Ost(this._splice(0,1));return this._emitAfterChanges(ap.REMOVE),t}slice(t=0,e=this.length){return ta(this._observable),this._createNewInstance({items:this._items.slice(t,e)})}some(t,e){return ta(this._observable),this._items.some(t,e)}sort(t){if(ta(this._observable),!this.length||this._emitBeforeChanges(ap.MOVE)||!this._requiresSort(t))return this;let e=this._splice(0,this.length);return arguments.length?e.sort(t):e.sort(),this._splice(0,0,e),this._emitAfterChanges(ap.MOVE),this}_requiresSort(t=(e,r)=>e===r?0:e<r?-1:1){let e=this.length-1;for(let r=0;r<e;r++)if(t(this.items[r],this.items[r+1])>0)return!0;return!1}splice(t,e,...r){ta(this._observable);let i=(e?ap.REMOVE:0)|(r.length?ap.ADD:0);if(this._emitBeforeChanges(i))return[];let s=this._splice(t,e,r)||[];return this._emitAfterChanges(i),s}toArray(){return ta(this._observable),this._items.slice()}toJSON(){return ta(this._observable),this.toArray()}toLocaleString(){return ta(this._observable),this._items.toLocaleString()}toString(){return ta(this._observable),this._items.toString()}unshift(...t){return ta(this._observable),!t.length||this._emitBeforeChanges(ap.ADD)||(this._splice(0,0,t),this._emitAfterChanges(ap.ADD)),this.length}_createNewInstance(t){return new this.constructor(t)}_splice(t,e,r){let i=this._items,s=this.itemType,n,o;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._updating=!0,this._timer=PS(()=>this._dispatchChange())),t<0&&(t+=this.length),e){if(o=i.splice(t,e),this.hasEventListener("before-remove")){let a=GC.acquire();a.target=this,a.cancellable=!0;for(let l=0,u=o.length;l<u;l++)n=o[l],a.reset(n),this.emit("before-remove",a),a.defaultPrevented&&(o.splice(l,1),i.splice(t,0,n),t+=1,l-=1,u-=1);GC.release(a)}if(this.length=this._items.length,this.hasEventListener("after-remove")){let a=GC.acquire();a.target=this,a.cancellable=!1;let l=o.length;for(let u=0;u<l;u++)a.reset(o[u]),this.emit("after-remove",a);GC.release(a)}}if(r?.length){if(s){let c=[];for(let h of r){let m=s.ensureType(h);m==null&&h!=null||c.push(m)}r=c}let a=this.hasEventListener("before-add"),l=this.hasEventListener("after-add"),u=t===this.length;if(a||l){let c=GC.acquire();c.target=this,c.cancellable=!0;let h=GC.acquire();h.target=this,h.cancellable=!1;for(let m of r)a?(c.reset(m),this.emit("before-add",c),c.defaultPrevented||(u?i.push(m):i.splice(t++,0,m),this._set("length",i.length),l&&(h.reset(m),this.emit("after-add",h)))):(u?i.push(m):i.splice(t++,0,m),this._set("length",i.length),h.reset(m),this.emit("after-add",h));GC.release(h),GC.release(c)}else{if(u)for(let c of r)i.push(c);else i.splice(t,0,...r);this._set("length",i.length)}}if((r?.length||o?.length)&&this._notifyChangeEvent(r,o),this.hasEventListener("after-splice")){let a=new Ust(this,r,o,t,e);this.emit("after-splice",a)}return o}_emitBeforeChanges(t){let e=!1;if(this.hasEventListener("before-changes")){let r=GC.acquire();r.target=this,r.cancellable=!0,r.type=t,this.emit("before-changes",r),e=r.defaultPrevented,GC.release(r)}return e}_emitAfterChanges(t){if(this.hasEventListener("after-changes")){let e=GC.acquire();e.target=this,e.cancellable=!1,e.type=t,this.emit("after-changes",e),GC.release(e)}this._observable.notify()}_notifyChangeEvent(t,e){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:t,removed:e})}get updating(){return this._updating}_dispatchChange(){if(this._timer&&(this._timer.remove(),this._timer=null),this._updating=!1,!this._notifications)return;let t=this._notifications;this._notifications=null;for(let e of t){let r=e.changes;b7.clear(),v7.clear(),x7.clear();for(let{added:l,removed:u}of r){if(l)if(x7.size===0&&v7.size===0)for(let c of l)b7.add(c);else for(let c of l)v7.has(c)?(x7.add(c),v7.delete(c)):x7.has(c)||b7.add(c);if(u)if(x7.size===0&&b7.size===0)for(let c of u)v7.add(c);else for(let c of u)b7.has(c)?b7.delete(c):(x7.delete(c),v7.add(c))}let i=r1.acquire();b7.forEach(l=>{i.push(l)});let s=r1.acquire();v7.forEach(l=>{s.push(l)});let n=this._items,o=e.items,a=r1.acquire();if(x7.forEach(l=>{o.indexOf(l)!==n.indexOf(l)&&a.push(l)}),e.listeners&&(i.length||s.length||a.length)){let l={target:this,added:i,removed:s,moved:a},u=e.listeners.length;for(let c=0;c<u;c++){let h=e.listeners[c];h.removed||h.callback.call(this,l)}}r1.release(i),r1.release(s),r1.release(a)}b7.clear(),v7.clear(),x7.clear()}};Jk.ofType=t=>{if(!t)return Zk;if(Lst.has(t))return Lst.get(t);let e=null;if(typeof t=="function")e=t.prototype.declaredClass;else if(t.base)e=t.base.prototype.declaredClass;else for(let i in t.typeMap){let s=t.typeMap[i].prototype.declaredClass;e?e+=` | ${s}`:e=s}let r=class extends Zk{};return d([nQ({Type:t,ensureType:typeof t=="function"?ca(t):e_(t)})],r.prototype,"itemType",void 0),r=d([Y(`esri.core.Collection<${e}>`)],r),Lst.set(t,r),r},d([x()],Jk.prototype,"_updating",void 0),d([x()],Jk.prototype,"length",void 0),d([x()],Jk.prototype,"items",null),d([x({readOnly:!0})],Jk.prototype,"updating",null),Jk=Zk=d([Y("esri.core.Collection")],Jk);Vr=Jk});var CAe,jst,AWt=U(()=>{pi();Df();CAe=class t{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(e){let r=new t;return this._values.forEach((i,s)=>{e&&e.has(s)||r.set(s,ct(i.value),i.origin)}),r}get(e,r){r=this._normalizeOrigin(r);let i=this._values.get(e);return r==null||i?.origin===r?i?.value:void 0}originOf(e){return this._values.get(e)?.origin??ps.USER}keys(e){e=this._normalizeOrigin(e);let r=[...this._values.keys()];return e==null?r:r.filter(i=>this._values.get(i)?.origin===e)}set(e,r,i){if((i=this._normalizeOrigin(i))===ps.DEFAULTS){let s=this._values.get(e);if(s?.origin!=null&&s.origin>i)return}this._values.set(e,new jst(r,i))}delete(e,r){(r=this._normalizeOrigin(r))!=null&&this._values.get(e)?.origin!==r||this._values.delete(e)}has(e,r){return(r=this._normalizeOrigin(r))!=null?this._values.get(e)?.origin===r:this._values.has(e)}forEach(e){this._values.forEach(({value:r},i)=>e(r,i))}_normalizeOrigin(e){if(e!=null)return e===ps.DEFAULTS?e:ps.USER}},jst=class{constructor(e,r){this.value=e,this.origin=r}}});function PAe(t,e,r){e.keys().forEach(s=>{r.set(s,e.get(s),ps.DEFAULTS)});let i=t.metadata;Object.keys(i).forEach(s=>{t.internalGet(s)&&r.set(s,t.internalGet(s),ps.DEFAULTS)})}var Vst=U(()=>{Df()});function C0i(t,e,r){if(!t?.read||t.read.enabled===!1||!t.read.source)return!1;let i=t.read.source;if(typeof i=="string"){if(i===e||i.includes(".")&&i.indexOf(e)===0&&Hit(i,r))return!0}else for(let s of i)if(s===e||s.includes(".")&&s.indexOf(e)===0&&Hit(s,r))return!0;return!1}function P0i(t){return t&&(!t.read||t.read.enabled!==!1&&!t.read.source)}function A0i(t,e,r,i,s){let n=TAe(e[r],s);P0i(n)&&(t[r]=!0);for(let o of Object.getOwnPropertyNames(e))n=TAe(e[o],s),C0i(n,r,i)&&(t[o]=!0)}function M0i(t,e,r,i){let s=r.metadata,n=bWt(s[e],i),o=n?.default;if(o===void 0)return;let a=typeof o=="function"?o.call(t,e,i):o;a!==void 0&&r.set(e,a)}function AAe(t,e,r=MWt){if(!e||typeof e!="object")return;let i=Gh(t),s=i.metadata,n={};for(let o of Object.getOwnPropertyNames(e))A0i(n,s,o,e,r);i.setDefaultOrigin(r.origin);for(let o of Object.getOwnPropertyNames(n)){let a=TAe(s[o],r).read,l=a?.source,u;u=l&&typeof l=="string"?Rq(e,l):e[o],a?.reader&&(u=a.reader.call(t,u,e,r)),u!==void 0&&i.set(o,u)}if(!r||!r.ignoreDefaults){i.setDefaultOrigin("defaults");for(let o of Object.getOwnPropertyNames(s))n[o]||M0i(t,o,i,r)}i.setDefaultOrigin("user")}function aQ(t,e,r,i=MWt){let s={...i,messages:[]};r(s),s.messages?.forEach(n=>{n.type!=="warning"||t.loaded?i?.messages&&i.messages.push(n):t.loadWarnings.push(n)})}var MWt,lQ=U(()=>{qk();Px();EAe();MWt={origin:"service"}});function D0i(t,e,r,i,s){let n={};return e.write?.writer?.call(t,i,n,r,s),n}function DWt(t,e,r,i,s,n){if(!i?.write)return!1;let o=CS(t,r);if(!s&&i.write.overridePolicy){let a=i.write.overridePolicy.call(t,o,r,n??void 0);a!==void 0&&(s=a)}if(s||(s=i.write),!s||s.enabled===!1||s.layerContainerTypes&&n?.layerContainerType&&!s.layerContainerTypes.includes(n.layerContainerType))return!1;if((o===null&&!s.allowNull&&!s.writerEnsuresNonNull||o===void 0)&&s.isRequired){let a=new ge("web-document-write:property-required",`Missing value for required property '${r}' on '${t.declaredClass}'`,{propertyName:r,target:t});return a&&n?.messages?n.messages.push(a):a&&!n&&At.getLogger("esri.core.accessorSupport.write").error(a.name,a.message),!1}return!(o===void 0||o===null&&!s.allowNull&&!s.writerEnsuresNonNull||!s.alwaysWriteDefaults&&(!e.store.multipleOriginsSupported||e.store.originOf(r)===ps.DEFAULTS)&&N0i(t,r,n,i,o)||!s.ignoreOrigin&&n?.origin&&e.store.multipleOriginsSupported&&e.store.originOf(r)<td(n.origin))}function N0i(t,e,r,i,s){let n=i.default;if(n===void 0)return!1;if(i.defaultEquals!=null)return i.defaultEquals(s);if(typeof n=="function"){if(Array.isArray(s)){let o=n.call(t,e,r??void 0);return Q1(o,s)}return!1}return n===s}function MAe(t,e,r,i){let s=Gh(t),n=s.metadata,o=Mst(n[e],i);return!!o&&DWt(t,s,e,o,r,i)}function DAe(t,e,r){if(t&&typeof t.toJSON=="function"&&(!t.toJSON.isDefaultToJSON||!t.write))return qK(e,t.toJSON(r));let i=Gh(t),s=i.metadata;for(let n in s){let o=Mst(s[n],r);if(!DWt(t,i,n,o,void 0,r))continue;let a=CS(t,n),l=D0i(t,o,o.write&&typeof o.write.target=="string"?o.write.target:n,a,r);Object.keys(l).length>0&&(e=qK(e,l),r?.resources?.pendingOperations?.length&&r.resources.pendingOperations.push(Promise.all(r.resources.pendingOperations).then(()=>qK(e,l,()=>"replace-arrays"))),r?.writtenProperties&&r.writtenProperties.push({target:t,propName:n,oldOrigin:xHt(i.store.originOf(n)),newOrigin:r.origin}))}return e}var Bme=U(()=>{oa();Dr();Be();qk();Df();Px();EAe()});function R0i(t,e){if(!t)return null;if(t.declaredClass)throw new Error("JSON object is already hydrated");let r=new this;return r.read(t,e),r}var NWt,Ume,Oe,Wt=U(()=>{Re();va();AWt();Vst();lQ();Px();Bme();Le();NWt=t=>{let e=class extends t{constructor(...r){super(...r);let i=Gh(this),s=i.store,n=new CAe;i.store=n,PAe(i,s,n)}read(r,i){AAe(this,r,i)}write(r,i){return DAe(this,r??{},i)}toJSON(r){return this.write({},r)}static fromJSON(r,i){return R0i.call(this,r,i)}};return e=d([Y("esri.core.JSONSupport")],e),e.prototype.toJSON.isDefaultToJSON=!0,e};Ume=class extends NWt(ys){};Ume=d([Y("esri.core.JSONSupport")],Ume),function(t){function e(r){return r&&typeof r=="object"&&"toJSON"in r&&typeof r.toJSON=="function"}t.JSONSupportMixin=NWt,t.isSerializable=e}(Ume||(Ume={}));Oe=Ume});function k0i(t){let e="__accessorMetadata__"in t?ca(t):t;return function(...r){if(r.push(e),typeof r[2]=="number")throw new Error("Using @cast has parameter decorator is not supported since 4.16");return O0i.apply(this,r)}}function O0i(t,e,r,i){d7(t,e).cast=i}function L0i(t){return(e,r)=>{d7(e,t).cast=e[r]}}function Ys(...t){if(t.length!==3||typeof t[1]!="string")return t.length===1&&F0i.call(t[0])==="[object Function]"?k0i(t[0]):t.length===1&&typeof t[0]=="string"?L0i(t[0]):void 0}var F0i,Au=U(()=>{ws();Fq();F0i=Object.prototype.toString});function Ft(t,e,r){let i,s;return e===void 0||Array.isArray(e)?(s=t,r=e,i=[void 0]):(s=e,i=Array.isArray(t)?t:[t]),(n,o)=>{let a=n.constructor.prototype;i.forEach(l=>{let u=sQ(n,l,s);u.read&&typeof u.read=="object"||(u.read={}),u.read.reader=a[o],r&&(u.read.source=(u.read.source||[]).concat(r))})}}var gs=U(()=>{Ue()});function Kt(t,e,r){let i,s;return e===void 0?(s=t,i=[void 0]):typeof e!="string"?(s=t,i=[void 0],r=e):(s=e,i=Array.isArray(t)?t:[t]),(n,o)=>{let a=n.constructor.prototype;for(let l of i){let u=sQ(n,l,s);u.write&&typeof u.write=="object"||(u.write={}),r&&(u.write.target=r),u.write.writer=a[o]}}}var as=U(()=>{Ue()});var Gst,B0i,Kk,NAe,zst,RWt=U(()=>{UC();Gst=-3,B0i=Gst-1;(function(t){t[t.ALL=0]="ALL",t[t.SOME=1]="SOME"})(Kk||(Kk={}));NAe=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 dh,this._users=new dh}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,i,s,n){r=e.id+r;let o=this._db.get(r);if(o&&(this._size-=o.size,e.size-=o.size,this._db.delete(r),o.entry!==i&&this._notifyRemove(r,o.entry,o.size,Kk.ALL)),s>this._maxSize)return void this._notifyRemove(r,i,s,Kk.ALL);if(i===void 0)return void console.warn("Refusing to cache undefined entry ");if(!s||s<0)return console.warn(`Refusing to cache entry with size ${s} for key ${r}`),void this._notifyRemove(r,i,0,Kk.ALL);let a=1+Math.max(n,B0i)-Gst;this._db.set(r,new zst(i,s,a)),this._size+=s,e.size+=s,this._checkSize()}updateSize(e,r,i,s){r=e.id+r;let n=this._db.get(r);if(n&&n.entry===i){for(this._size-=n.size,e.size-=n.size;s>this._maxSize;){let o=this._notifyRemove(r,i,s,Kk.SOME);if(!(o!=null&&o>0))return void this._db.delete(r);s=o}n.size=s,this._size+=s,e.size+=s,this._checkSize()}}pop(e,r){r=e.id+r;let i=this._db.get(r);if(i)return this._size-=i.size,e.size-=i.size,this._db.delete(r),++this._hit,i.entry;++this._miss}get(e,r){r=e.id+r;let i=this._db.get(r);if(i!==void 0)return this._db.delete(r),i.lives=i.lifetime,this._db.set(r,i),++this._hit,i.entry;++this._miss}peek(e,r){let i=this._db.get(e.id+r);return i?++this._hit:++this._miss,i?.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={},i=new Array;this._db.forEach((o,a)=>{let l=o.lifetime;i[l]=(i[l]||0)+o.size,this._users.forAll(u=>{let{id:c,name:h}=u;if(a.startsWith(c)){let m=r[h]||0;r[h]=m+o.size}})});let s={};this._users.forAll(o=>{let a=o.name;if("hitRate"in o&&typeof o.hitRate=="number"&&!isNaN(o.hitRate)&&o.hitRate>0){let l=r[a]||0;r[a]=l,s[a]=Math.round(100*o.hitRate)+"%"}else s[a]="0%"});let n=Object.keys(r);n.sort((o,a)=>r[a]-r[o]),n.forEach(o=>e[o]=Math.round(r[o]/2**20)+"MB / "+s[o]);for(let o=i.length-1;o>=0;--o){let a=i[o];a&&(e["Priority "+(o+Gst-1)]=Math.round(a/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((i,s)=>{s.startsWith(r)&&(this._size-=i.size,this._db.delete(s),this._notifyRemove(s,i.entry,i.size,Kk.ALL))}),e.size=0}clearAll(){this._db.forEach((e,r)=>this._notifyRemove(r,e.entry,e.size,Kk.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,i,s){let n;return this._removeFuncs.some(o=>{if(e.startsWith(o[0])){let a=o[1](r,s,i);return typeof a=="number"&&(n=a),!0}return!1}),n}_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 i=e?.id,s=!0;for(;s;){s=!1;for(let[n,o]of this._db)if(o.lifetime===0&&(!i||n.startsWith(i))){if(this._purgeItem(n,o,e),r.size<=.9*r.maxSize)return;s||(s=this._db.has(n))}}for(let[n,o]of this._db)if((!i||n.startsWith(i))&&(this._purgeItem(n,o,e),r.size<=.9*r.maxSize))return}_purgeItem(e,r,i=this._users.find(s=>e.startsWith(s.id))){if(this._db.delete(e),r.lives<=1){this._size-=r.size,i&&(i.size-=r.size);let s=this._notifyRemove(e,r.entry,r.size,Kk.SOME);s!=null&&s>0&&(this._size+=s,i&&(i.size+=s),r.lives=r.lifetime,r.size=s,this._db.set(e,r))}else--r.lives,this._db.set(e,r)}},zst=class{constructor(e,r,i){this.entry=e,this.size=r,this.lifetime=i,this.lives=i}}});var r_,Qk=U(()=>{RWt();r_=class{constructor(e,r){this._storage=new NAe,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,i=1){this._storage.put(this,e,r,i,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(){}}});var eO,RAe,FAe,kAe,XA,uQ,E0,JA,w7=U(()=>{eO=class extends Error{},RAe=class extends eO{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}},FAe=class extends eO{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}},kAe=class extends eO{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}},XA=class extends eO{},uQ=class extends eO{constructor(e){super(`Invalid unit ${e}`)}},E0=class extends eO{},JA=class extends eO{constructor(){super("Zone is an abstract class")}}});var bo,ZA,wE,S7,jme,qst,Vme,Gme,zme,qme,Hme,Wme,$me,Yme,Xme,Jme,Zme,Kme,Qme,ede,Hst,tde,rde,ide,sde,nde=U(()=>{bo="numeric",ZA="short",wE="long",S7={year:bo,month:bo,day:bo},jme={year:bo,month:ZA,day:bo},qst={year:bo,month:ZA,day:bo,weekday:ZA},Vme={year:bo,month:wE,day:bo},Gme={year:bo,month:wE,day:bo,weekday:wE},zme={hour:bo,minute:bo},qme={hour:bo,minute:bo,second:bo},Hme={hour:bo,minute:bo,second:bo,timeZoneName:ZA},Wme={hour:bo,minute:bo,second:bo,timeZoneName:wE},$me={hour:bo,minute:bo,hourCycle:"h23"},Yme={hour:bo,minute:bo,second:bo,hourCycle:"h23"},Xme={hour:bo,minute:bo,second:bo,hourCycle:"h23",timeZoneName:ZA},Jme={hour:bo,minute:bo,second:bo,hourCycle:"h23",timeZoneName:wE},Zme={year:bo,month:bo,day:bo,hour:bo,minute:bo},Kme={year:bo,month:bo,day:bo,hour:bo,minute:bo,second:bo},Qme={year:bo,month:ZA,day:bo,hour:bo,minute:bo},ede={year:bo,month:ZA,day:bo,hour:bo,minute:bo,second:bo},Hst={year:bo,month:ZA,day:bo,weekday:ZA,hour:bo,minute:bo},tde={year:bo,month:wE,day:bo,hour:bo,minute:bo,timeZoneName:ZA},rde={year:bo,month:wE,day:bo,hour:bo,minute:bo,second:bo,timeZoneName:ZA},ide={year:bo,month:wE,day:bo,weekday:wE,hour:bo,minute:bo,timeZoneName:wE},sde={year:bo,month:wE,day:bo,weekday:wE,hour:bo,minute:bo,second:bo,timeZoneName:wE}});var s1,Vq=U(()=>{w7();s1=class{get type(){throw new JA}get name(){throw new JA}get ianaName(){return this.name}get isUniversal(){throw new JA}offsetName(e,r){throw new JA}formatOffset(e,r){throw new JA}offset(e){throw new JA}equals(e){throw new JA}get isValid(){throw new JA}}});var Wst,T7,LAe=U(()=>{Gw();Vq();Wst=null,T7=class t extends s1{static get instance(){return Wst===null&&(Wst=new t),Wst}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:r,locale:i}){return BAe(e,r,i)}formatOffset(e,r){return E7(this.offset(e),r)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}});function U0i(t){return jAe[t]||(jAe[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"})),jAe[t]}function V0i(t,e){let r=t.format(e).replace(/\u200E/g,""),i=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,s,n,o,a,l,u,c]=i;return[o,s,n,a,l,u,c]}function G0i(t,e){let r=t.formatToParts(e),i=[];for(let s=0;s<r.length;s++){let{type:n,value:o}=r[s],a=j0i[n];n==="era"?i[a]=o:Sl(a)||(i[a]=parseInt(o,10))}return i}var jAe,j0i,UAe,Nf,I7=U(()=>{Gw();Vq();jAe={};j0i={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};UAe={},Nf=class t extends s1{static create(e){return UAe[e]||(UAe[e]=new t(e)),UAe[e]}static resetCache(){UAe={},jAe={}}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:i}){return BAe(e,r,i,this.name)}formatOffset(e,r){return E7(this.offset(e),r)}offset(e){let r=new Date(e);if(isNaN(r))return NaN;let i=U0i(this.name),[s,n,o,a,l,u,c]=i.formatToParts?G0i(i,r):V0i(i,r);a==="BC"&&(s=-Math.abs(s)+1);let m=cQ({year:s,month:n,day:o,hour:l===24?0:l,minute:u,second:c,millisecond:0}),f=+r,_=f%1e3;return f-=_>=0?_:1e3+_,(m-f)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}});function z0i(t,e={}){let r=JSON.stringify([t,e]),i=FWt[r];return i||(i=new Intl.ListFormat(t,e),FWt[r]=i),i}function Yst(t,e={}){let r=JSON.stringify([t,e]),i=$st[r];return i||(i=new Intl.DateTimeFormat(t,e),$st[r]=i),i}function q0i(t,e={}){let r=JSON.stringify([t,e]),i=Xst[r];return i||(i=new Intl.NumberFormat(t,e),Xst[r]=i),i}function H0i(t,e={}){let{base:r,...i}=e,s=JSON.stringify([t,i]),n=Jst[s];return n||(n=new Intl.RelativeTimeFormat(t,e),Jst[s]=n),n}function W0i(){return ode||(ode=new Intl.DateTimeFormat().resolvedOptions().locale,ode)}function $0i(t){let e=kWt[t];if(!e){let r=new Intl.Locale(t);e="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,kWt[t]=e}return e}function Y0i(t){let e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));let r=t.indexOf("-u-");if(r===-1)return[t];{let i,s;try{i=Yst(t).resolvedOptions(),s=t}catch{let l=t.substring(0,r);i=Yst(l).resolvedOptions(),s=l}let{numberingSystem:n,calendar:o}=i;return[s,n,o]}}function X0i(t,e,r){return(r||e)&&(t.includes("-u-")||(t+="-u"),r&&(t+=`-ca-${r}`),e&&(t+=`-nu-${e}`)),t}function J0i(t){let e=[];for(let r=1;r<=12;r++){let i=$s.utc(2009,r,1);e.push(t(i))}return e}function Z0i(t){let e=[];for(let r=1;r<=7;r++){let i=$s.utc(2016,11,13+r);e.push(t(i))}return e}function VAe(t,e,r,i){let s=t.listingMode();return s==="error"?null:s==="en"?r(e):i(e)}function K0i(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 FWt,$st,Xst,Jst,ode,kWt,Zst,Kst,Qst,Q0i,Sp,lde=U(()=>{Gw();qAe();C7();P7();I7();FWt={};$st={};Xst={};Jst={};ode=null;kWt={};Zst=class{constructor(e,r,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;let{padTo:s,floor:n,...o}=i;if(!r||Object.keys(o).length>0){let a={useGrouping:!1,...i};i.padTo>0&&(a.minimumIntegerDigits=i.padTo),this.inf=q0i(e,a)}}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):hQ(e,3);return Zg(r,this.padTo)}}},Kst=class{constructor(e,r,i){this.opts=i,this.originalZone=void 0;let s;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){let o=-1*(e.offset/60),a=o>=0?`Etc/GMT+${o}`:`Etc/GMT${o}`;e.offset!==0&&Nf.create(a).valid?(s=a,this.dt=e):(s="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,s=e.zone.name):(s="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);let n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Yst(r,n)}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 i=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...r,value:i}}else return r}):e}resolvedOptions(){return this.dtf.resolvedOptions()}},Qst=class{constructor(e,r,i){this.opts={style:"long",...i},!r&&GAe()&&(this.rtf=H0i(e,i))}format(e,r){return this.rtf?this.rtf.format(e,r):OWt(r,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,r){return this.rtf?this.rtf.formatToParts(e,r):[]}},Q0i={firstDay:1,minimalDays:4,weekend:[6,7]},Sp=class t{static fromOpts(e){return t.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,r,i,s,n=!1){let o=e||wp.defaultLocale,a=o||(n?"en-US":W0i()),l=r||wp.defaultNumberingSystem,u=i||wp.defaultOutputCalendar,c=ade(s)||wp.defaultWeekSettings;return new t(a,l,u,c,o)}static resetCache(){ode=null,$st={},Xst={},Jst={}}static fromObject({locale:e,numberingSystem:r,outputCalendar:i,weekSettings:s}={}){return t.create(e,r,i,s)}constructor(e,r,i,s,n){let[o,a,l]=Y0i(e);this.locale=o,this.numberingSystem=r||a||null,this.outputCalendar=i||l||null,this.weekSettings=s,this.intl=X0i(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=K0i(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,ade(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 VAe(this,e,ent,()=>{let i=r?{month:e,day:"numeric"}:{month:e},s=r?"format":"standalone";return this.monthsCache[s][e]||(this.monthsCache[s][e]=J0i(n=>this.extract(n,i,"month"))),this.monthsCache[s][e]})}weekdays(e,r=!1){return VAe(this,e,tnt,()=>{let i=r?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},s=r?"format":"standalone";return this.weekdaysCache[s][e]||(this.weekdaysCache[s][e]=Z0i(n=>this.extract(n,i,"weekday"))),this.weekdaysCache[s][e]})}meridiems(){return VAe(this,void 0,()=>rnt,()=>{if(!this.meridiemCache){let e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[$s.utc(2016,11,13,9),$s.utc(2016,11,13,19)].map(r=>this.extract(r,e,"dayperiod"))}return this.meridiemCache})}eras(e){return VAe(this,e,int,()=>{let r={era:e};return this.eraCache[e]||(this.eraCache[e]=[$s.utc(-40,1,1),$s.utc(2017,1,1)].map(i=>this.extract(i,r,"era"))),this.eraCache[e]})}extract(e,r,i){let s=this.dtFormatter(e,r),n=s.formatToParts(),o=n.find(a=>a.type.toLowerCase()===i);return o?o.value:null}numberFormatter(e={}){return new Zst(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,r={}){return new Kst(e,this.intl,r)}relFormatter(e={}){return new Qst(this.intl,this.isEnglish(),e)}listFormatter(e={}){return z0i(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:zAe()?$0i(this.locale):Q0i}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 nnt,Hp,pQ=U(()=>{Gw();Vq();nnt=null,Hp=class t extends s1{static get utcInstance(){return nnt===null&&(nnt=new t(0)),nnt}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(Gq(r[1],r[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${E7(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${E7(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,r){return E7(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 mQ,ont=U(()=>{Vq();mQ=class extends s1{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 KA(t,e){let r;if(Sl(t)||t===null)return e;if(t instanceof s1)return t;if(LWt(t)){let i=t.toLowerCase();return i==="default"?e:i==="local"||i==="system"?T7.instance:i==="utc"||i==="gmt"?Hp.utcInstance:Hp.parseSpecifier(i)||Nf.create(t)}else return QA(t)?Hp.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new mQ(t)}var HAe=U(()=>{Vq();I7();pQ();ont();Gw();LAe()});function UWt(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let r=0;r<t.length;r++){let i=t.charCodeAt(r);if(t[r].search(ant.hanidec)!==-1)e+=eyi.indexOf(t[r]);else for(let s in BWt){let[n,o]=BWt[s];i>=n&&i<=o&&(e+=i-n)}}return parseInt(e,10)}else return e}function jWt(){dQ={}}function zC({numberingSystem:t},e=""){let r=t||"latn";return dQ[r]||(dQ[r]={}),dQ[r][e]||(dQ[r][e]=new RegExp(`${ant[r]}${e}`)),dQ[r][e]}var ant,BWt,eyi,dQ,lnt=U(()=>{ant={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"},BWt={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]},eyi=ant.hanidec.replace(/[\[|\]]/g,"").split("");dQ={}});var VWt,GWt,zWt,qWt,HWt,WWt,$Wt,YWt,wp,C7=U(()=>{LAe();I7();lde();P7();HAe();Gw();lnt();VWt=()=>Date.now(),GWt="system",zWt=null,qWt=null,HWt=null,WWt=60,YWt=null,wp=class{static get now(){return VWt}static set now(e){VWt=e}static set defaultZone(e){GWt=e}static get defaultZone(){return KA(GWt,T7.instance)}static get defaultLocale(){return zWt}static set defaultLocale(e){zWt=e}static get defaultNumberingSystem(){return qWt}static set defaultNumberingSystem(e){qWt=e}static get defaultOutputCalendar(){return HWt}static set defaultOutputCalendar(e){HWt=e}static get defaultWeekSettings(){return YWt}static set defaultWeekSettings(e){YWt=ade(e)}static get twoDigitCutoffYear(){return WWt}static set twoDigitCutoffYear(e){WWt=e%100}static get throwOnInvalid(){return $Wt}static set throwOnInvalid(e){$Wt=e}static resetCaches(){Sp.resetCache(),Nf.resetCache(),$s.resetCache(),jWt()}}});var ob,ude=U(()=>{ob=class{constructor(e,r){this.reason=e,this.explanation=r}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}});function qC(t,e){return new ob("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function WAe(t,e,r){let i=new Date(Date.UTC(t,e-1,r));t<100&&t>=0&&i.setUTCFullYear(i.getUTCFullYear()-1900);let s=i.getUTCDay();return s===0?7:s}function ZWt(t,e,r){return r+(qq(t)?JWt:XWt)[e-1]}function KWt(t,e){let r=qq(t)?JWt:XWt,i=r.findIndex(n=>n<e),s=e-r[i];return{month:i+1,day:s}}function $Ae(t,e){return(t-e+7)%7+1}function cde(t,e=4,r=1){let{year:i,month:s,day:n}=t,o=ZWt(i,s,n),a=$Ae(WAe(i,s,n),r),l=Math.floor((o-a+14-e)/7),u;return l<1?(u=i-1,l=zq(u,e,r)):l>zq(i,e,r)?(u=i+1,l=1):u=i,{weekYear:u,weekNumber:l,weekday:a,...pde(t)}}function unt(t,e=4,r=1){let{weekYear:i,weekNumber:s,weekday:n}=t,o=$Ae(WAe(i,1,e),r),a=A7(i),l=s*7+n-o-7+e,u;l<1?(u=i-1,l+=A7(u)):l>a?(u=i+1,l-=A7(i)):u=i;let{month:c,day:h}=KWt(u,l);return{year:u,month:c,day:h,...pde(t)}}function YAe(t){let{year:e,month:r,day:i}=t,s=ZWt(e,r,i);return{year:e,ordinal:s,...pde(t)}}function cnt(t){let{year:e,ordinal:r}=t,{month:i,day:s}=KWt(e,r);return{year:e,month:i,day:s,...pde(t)}}function hnt(t,e){if(!Sl(t.localWeekday)||!Sl(t.localWeekNumber)||!Sl(t.localWeekYear)){if(!Sl(t.weekday)||!Sl(t.weekNumber)||!Sl(t.weekYear))throw new XA("Cannot mix locale-based week fields with ISO-based week fields");return Sl(t.localWeekday)||(t.weekday=t.localWeekday),Sl(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Sl(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 QWt(t,e=4,r=1){let i=hde(t.weekYear),s=SE(t.weekNumber,1,zq(t.weekYear,e,r)),n=SE(t.weekday,1,7);return i?s?n?!1:qC("weekday",t.weekday):qC("week",t.weekNumber):qC("weekYear",t.weekYear)}function e$t(t){let e=hde(t.year),r=SE(t.ordinal,1,A7(t.year));return e?r?!1:qC("ordinal",t.ordinal):qC("year",t.year)}function pnt(t){let e=hde(t.year),r=SE(t.month,1,12),i=SE(t.day,1,fQ(t.year,t.month));return e?r?i?!1:qC("day",t.day):qC("month",t.month):qC("year",t.year)}function mnt(t){let{hour:e,minute:r,second:i,millisecond:s}=t,n=SE(e,0,23)||e===24&&r===0&&i===0&&s===0,o=SE(r,0,59),a=SE(i,0,59),l=SE(s,0,999);return n?o?a?l?!1:qC("millisecond",s):qC("second",i):qC("minute",r):qC("hour",e)}var XWt,JWt,dnt=U(()=>{Gw();ude();w7();XWt=[0,31,59,90,120,151,181,212,243,273,304,334],JWt=[0,31,60,91,121,152,182,213,244,274,305,335]});function Sl(t){return typeof t>"u"}function QA(t){return typeof t=="number"}function hde(t){return typeof t=="number"&&t%1===0}function LWt(t){return typeof t=="string"}function r$t(t){return Object.prototype.toString.call(t)==="[object Date]"}function GAe(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function zAe(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function i$t(t){return Array.isArray(t)?t:[t]}function fnt(t,e,r){if(t.length!==0)return t.reduce((i,s)=>{let n=[e(s),s];return i&&r(i[0],n[0])===i[0]?i:n},null)[1]}function s$t(t,e){return e.reduce((r,i)=>(r[i]=t[i],r),{})}function M7(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function ade(t){if(t==null)return null;if(typeof t!="object")throw new E0("Week settings must be an object");if(!SE(t.firstDay,1,7)||!SE(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!SE(e,1,7)))throw new E0("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function SE(t,e,r){return hde(t)&&t>=e&&t<=r}function tyi(t,e){return t-e*Math.floor(t/e)}function Zg(t,e=2){let r=t<0,i;return r?i="-"+(""+-t).padStart(e,"0"):i=(""+t).padStart(e,"0"),i}function tO(t){if(!(Sl(t)||t===null||t===""))return parseInt(t,10)}function D7(t){if(!(Sl(t)||t===null||t===""))return parseFloat(t)}function mde(t){if(!(Sl(t)||t===null||t==="")){let e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function hQ(t,e,r=!1){let i=10**e;return(r?Math.trunc:Math.round)(t*i)/i}function qq(t){return t%4===0&&(t%100!==0||t%400===0)}function A7(t){return qq(t)?366:365}function fQ(t,e){let r=tyi(e-1,12)+1,i=t+(e-r)/12;return r===2?qq(i)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function cQ(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 t$t(t,e,r){return-$Ae(WAe(t,1,e),r)+e-1}function zq(t,e=4,r=1){let i=t$t(t,e,r),s=t$t(t+1,e,r);return(A7(t)-i+s)/7}function dde(t){return t>99?t:t>wp.twoDigitCutoffYear?1900+t:2e3+t}function BAe(t,e,r,i=null){let s=new Date(t),n={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};i&&(n.timeZone=i);let o={timeZoneName:e,...n},a=new Intl.DateTimeFormat(r,o).formatToParts(s).find(l=>l.type.toLowerCase()==="timezonename");return a?a.value:null}function Gq(t,e){let r=parseInt(t,10);Number.isNaN(r)&&(r=0);let i=parseInt(e,10)||0,s=r<0||Object.is(r,-0)?-i:i;return r*60+s}function gnt(t){let e=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(e))throw new E0(`Invalid unit value ${t}`);return e}function gQ(t,e){let r={};for(let i in t)if(M7(t,i)){let s=t[i];if(s==null)continue;r[e(i)]=gnt(s)}return r}function E7(t,e){let r=Math.trunc(Math.abs(t/60)),i=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Zg(r,2)}:${Zg(i,2)}`;case"narrow":return`${s}${r}${i>0?`:${i}`:""}`;case"techie":return`${s}${Zg(r,2)}${Zg(i,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function pde(t){return s$t(t,["hour","minute","second","millisecond"])}var Gw=U(()=>{w7();C7();dnt()});function ent(t){switch(t){case"narrow":return[...iyi];case"short":return[...ynt];case"long":return[...ryi];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 tnt(t){switch(t){case"narrow":return[...syi];case"short":return[...bnt];case"long":return[..._nt];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}function int(t){switch(t){case"narrow":return[...ayi];case"short":return[...oyi];case"long":return[...nyi];default:return null}}function n$t(t){return rnt[t.hour<12?0:1]}function o$t(t,e){return tnt(e)[t.weekday-1]}function a$t(t,e){return ent(e)[t.month-1]}function l$t(t,e){return int(e)[t.year<0?0:1]}function OWt(t,e,r="always",i=!1){let s={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."]},n=["hours","minutes","seconds"].indexOf(t)===-1;if(r==="auto"&&n){let h=t==="days";switch(e){case 1:return h?"tomorrow":`next ${s[t][0]}`;case-1:return h?"yesterday":`last ${s[t][0]}`;case 0:return h?"today":`this ${s[t][0]}`;default:}}let o=Object.is(e,-0)||e<0,a=Math.abs(e),l=a===1,u=s[t],c=i?l?u[1]:u[2]||u[1]:l?s[t][0]:t;return o?`${a} ${c} ago`:`in ${a} ${c}`}var ryi,ynt,iyi,_nt,bnt,syi,rnt,nyi,oyi,ayi,qAe=U(()=>{nde();Gw();ryi=["January","February","March","April","May","June","July","August","September","October","November","December"],ynt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],iyi=["J","F","M","A","M","J","J","A","S","O","N","D"];_nt=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],bnt=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],syi=["M","T","W","T","F","S","S"];rnt=["AM","PM"],nyi=["Before Christ","Anno Domini"],oyi=["BC","AD"],ayi=["B","A"]});function u$t(t,e){let r="";for(let i of t)i.literal?r+=i.val:r+=e(i.val);return r}var lyi,ab,fde=U(()=>{qAe();nde();Gw();lyi={D:S7,DD:jme,DDD:Vme,DDDD:Gme,t:zme,tt:qme,ttt:Hme,tttt:Wme,T:$me,TT:Yme,TTT:Xme,TTTT:Jme,f:Zme,ff:Qme,fff:tde,ffff:ide,F:Kme,FF:ede,FFF:rde,FFFF:sde},ab=class t{static create(e,r={}){return new t(e,r)}static parseFormat(e){let r=null,i="",s=!1,n=[];for(let o=0;o<e.length;o++){let a=e.charAt(o);a==="'"?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),r=null,i="",s=!s):s||a===r?i+=a:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=a,r=a)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(e){return lyi[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 Zg(e,r);let i={...this.opts};return r>0&&(i.padTo=r),this.loc.numberFormatter(i).format(e)}formatDateTimeFromString(e,r){let i=this.loc.listingMode()==="en",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",n=(f,_)=>this.loc.extract(e,f,_),o=f=>e.isOffsetFixed&&e.offset===0&&f.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,f.format):"",a=()=>i?n$t(e):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(f,_)=>i?a$t(e,f):n(_?{month:f}:{month:f,day:"numeric"},"month"),u=(f,_)=>i?o$t(e,f):n(_?{weekday:f}:{weekday:f,month:"long",day:"numeric"},"weekday"),c=f=>{let _=t.macroTokenToFormatOpts(f);return _?this.formatWithSystemDefault(e,_):f},h=f=>i?l$t(e,f):n({era:f},"era"),m=f=>{switch(f){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 o({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return o({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return o({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 a();case"d":return s?n({day:"numeric"},"day"):this.num(e.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return u("short",!0);case"cccc":return u("long",!0);case"ccccc":return u("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return u("short",!1);case"EEEE":return u("long",!1);case"EEEEE":return u("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(e.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(e.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(e.year,6);case"G":return h("short");case"GG":return h("long");case"GGGGG":return h("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 c(f)}};return u$t(t.parseFormat(r),m)}formatDurationFromString(e,r){let i=l=>{switch(l[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}},s=l=>u=>{let c=i(u);return c?this.num(l.get(c),u.length):u},n=t.parseFormat(r),o=n.reduce((l,{literal:u,val:c})=>u?l:l.concat(c),[]),a=e.shiftTo(...o.map(i).filter(l=>l));return u$t(n,s(a))}}});function _Q(...t){let e=t.reduce((r,i)=>r+i.source,"");return RegExp(`^${e}$`)}function bQ(...t){return e=>t.reduce(([r,i,s],n)=>{let[o,a,l]=n(e,s);return[{...r,...o},a||i,l]},[{},null,1]).slice(0,2)}function vQ(t,...e){if(t==null)return[null,null];for(let[r,i]of e){let s=r.exec(t);if(s)return i(s)}return[null,null]}function p$t(...t){return(e,r)=>{let i={},s;for(s=0;s<t.length;s++)i[t[s]]=tO(e[r+s]);return[i,null,r+s]}}function yQ(t,e,r){let i=t[e];return Sl(i)?r:tO(i)}function yyi(t,e){return[{year:yQ(t,e),month:yQ(t,e+1,1),day:yQ(t,e+2,1)},null,e+3]}function xQ(t,e){return[{hours:yQ(t,e,0),minutes:yQ(t,e+1,0),seconds:yQ(t,e+2,0),milliseconds:mde(t[e+3])},null,e+4]}function gde(t,e){let r=!t[e]&&!t[e+1],i=Gq(t[e+1],t[e+2]),s=r?null:Hp.instance(i);return[{},s,e+3]}function yde(t,e){let r=t[e]?Nf.create(t[e]):null;return[{},r,e+1]}function vyi(t){let[e,r,i,s,n,o,a,l,u]=t,c=e[0]==="-",h=l&&l[0]==="-",m=(f,_=!1)=>f!==void 0&&(_||f&&c)?-f:f;return[{years:m(D7(r)),months:m(D7(i)),weeks:m(D7(s)),days:m(D7(n)),hours:m(D7(o)),minutes:m(D7(a)),seconds:m(D7(l),l==="-0"),milliseconds:m(mde(u),h)}]}function wnt(t,e,r,i,s,n,o){let a={year:e.length===2?dde(tO(e)):tO(e),month:ynt.indexOf(r)+1,day:tO(i),hour:tO(s),minute:tO(n)};return o&&(a.second=tO(o)),t&&(a.weekday=t.length>3?_nt.indexOf(t)+1:bnt.indexOf(t)+1),a}function Syi(t){let[,e,r,i,s,n,o,a,l,u,c,h]=t,m=wnt(e,s,i,r,n,o,a),f;return l?f=xyi[l]:u?f=0:f=Gq(c,h),[m,new Hp(f)]}function Tyi(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function c$t(t){let[,e,r,i,s,n,o,a]=t;return[wnt(e,s,i,r,n,o,a),Hp.utcInstance]}function Pyi(t){let[,e,r,i,s,n,o,a]=t;return[wnt(e,a,r,i,s,n,o),Hp.utcInstance]}function y$t(t){return vQ(t,[Ayi,g$t],[Myi,Ryi],[Dyi,Fyi],[Nyi,kyi])}function _$t(t){return vQ(Tyi(t),[wyi,Syi])}function b$t(t){return vQ(t,[Eyi,c$t],[Iyi,c$t],[Cyi,Pyi])}function v$t(t){return vQ(t,[byi,vyi])}function x$t(t){return vQ(t,[_yi,Oyi])}function w$t(t){return vQ(t,[Lyi,g$t],[Byi,Uyi])}var h$t,m$t,uyi,vnt,d$t,xnt,cyi,hyi,pyi,myi,dyi,fyi,f$t,gyi,_yi,byi,xyi,wyi,Eyi,Iyi,Cyi,Ayi,Myi,Dyi,Nyi,g$t,Ryi,Fyi,kyi,Oyi,Lyi,Byi,Uyi,Snt=U(()=>{Gw();qAe();pQ();I7();h$t=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;m$t=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,uyi=`(?:${m$t.source}?(?:\\[(${h$t.source})\\])?)?`,vnt=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,d$t=RegExp(`${vnt.source}${uyi}`),xnt=RegExp(`(?:T${d$t.source})?`),cyi=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,hyi=/(\d{4})-?W(\d\d)(?:-?(\d))?/,pyi=/(\d{4})-?(\d{3})/,myi=p$t("weekYear","weekNumber","weekDay"),dyi=p$t("year","ordinal"),fyi=/(\d{4})-(\d\d)-(\d\d)/,f$t=RegExp(`${vnt.source} ?(?:${m$t.source}|(${h$t.source}))?`),gyi=RegExp(`(?: ${f$t.source})?`);_yi=RegExp(`^T?${vnt.source}$`),byi=/^-?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)?)?)$/;xyi={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};wyi=/^(?:(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)))$/;Eyi=/^(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$/,Iyi=/^(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$/,Cyi=/^(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})$/;Ayi=_Q(cyi,xnt),Myi=_Q(hyi,xnt),Dyi=_Q(pyi,xnt),Nyi=_Q(d$t),g$t=bQ(yyi,xQ,gde,yde),Ryi=bQ(myi,xQ,gde,yde),Fyi=bQ(dyi,xQ,gde,yde),kyi=bQ(xQ,gde,yde);Oyi=bQ(xQ);Lyi=_Q(fyi,gyi),Byi=_Q(f$t),Uyi=bQ(xQ,gde,yde)});function N7(t,e,r=!1){let i={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 Kg(i)}function I$t(t,e){let r=e.milliseconds??0;for(let i of Gyi.slice(1))e[i]&&(r+=e[i]*t[i].milliseconds);return r}function T$t(t,e){let r=I$t(t,e)<0?-1:1;Hq.reduceRight((i,s)=>{if(Sl(e[s]))return i;if(i){let n=e[i]*r,o=t[s][i],a=Math.floor(n/o);e[s]+=a*r,e[i]-=a*o*r}return s},null),Hq.reduce((i,s)=>{if(Sl(e[s]))return i;if(i){let n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}function zyi(t){let e={};for(let[r,i]of Object.entries(t))i!==0&&(e[r]=i);return e}var S$t,E$t,jyi,HC,wQ,Vyi,Hq,Gyi,Kg,_de=U(()=>{w7();fde();ude();lde();Snt();Gw();C7();P7();S$t="Invalid Duration",E$t={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}},jyi={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},...E$t},HC=146097/400,wQ=146097/4800,Vyi={years:{quarters:4,months:12,weeks:HC/7,days:HC,hours:HC*24,minutes:HC*24*60,seconds:HC*24*60*60,milliseconds:HC*24*60*60*1e3},quarters:{months:3,weeks:HC/28,days:HC/4,hours:HC*24/4,minutes:HC*24*60/4,seconds:HC*24*60*60/4,milliseconds:HC*24*60*60*1e3/4},months:{weeks:wQ/7,days:wQ,hours:wQ*24,minutes:wQ*24*60,seconds:wQ*24*60*60,milliseconds:wQ*24*60*60*1e3},...E$t},Hq=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Gyi=Hq.slice(0).reverse();Kg=class t{constructor(e){let r=e.conversionAccuracy==="longterm"||!1,i=r?Vyi:jyi;e.matrix&&(i=e.matrix),this.values=e.values,this.loc=e.loc||Sp.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=i,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 E0(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new t({values:gQ(e,t.normalizeUnit),loc:Sp.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})}static fromDurationLike(e){if(QA(e))return t.fromMillis(e);if(t.isDuration(e))return e;if(typeof e=="object")return t.fromObject(e);throw new E0(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,r){let[i]=v$t(e);return i?t.fromObject(i,r):t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,r){let[i]=x$t(e);return i?t.fromObject(i,r):t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,r=null){if(!e)throw new E0("need to specify a reason the Duration is invalid");let i=e instanceof ob?e:new ob(e,r);if(wp.throwOnInvalid)throw new kAe(i);return new t({invalid:i})}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 uQ(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 i={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?ab.create(this.loc,i).formatDurationFromString(this,e):S$t}toHuman(e={}){if(!this.isValid)return S$t;let r=Hq.map(i=>{let s=this.values[i];return Sl(s)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:i.slice(0,-1)}).format(s)}).filter(i=>i);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+=hQ(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},$s.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?I$t(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;let r=t.fromDurationLike(e),i={};for(let s of Hq)(M7(r.values,s)||M7(this.values,s))&&(i[s]=r.get(s)+this.get(s));return N7(this,{values:i},!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 i of Object.keys(this.values))r[i]=gnt(e(this.values[i],i));return N7(this,{values:r},!0)}get(e){return this[t.normalizeUnit(e)]}set(e){if(!this.isValid)return this;let r={...this.values,...gQ(e,t.normalizeUnit)};return N7(this,{values:r})}reconfigure({locale:e,numberingSystem:r,conversionAccuracy:i,matrix:s}={}){let o={loc:this.loc.clone({locale:e,numberingSystem:r}),matrix:s,conversionAccuracy:i};return N7(this,o)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return T$t(this.matrix,e),N7(this,{values:e},!0)}rescale(){if(!this.isValid)return this;let e=zyi(this.normalize().shiftToAll().toObject());return N7(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(o=>t.normalizeUnit(o));let r={},i={},s=this.toObject(),n;for(let o of Hq)if(e.indexOf(o)>=0){n=o;let a=0;for(let u in i)a+=this.matrix[u][o]*i[u],i[u]=0;QA(s[o])&&(a+=s[o]);let l=Math.trunc(a);r[o]=l,i[o]=(a*1e3-l*1e3)/1e3}else QA(s[o])&&(i[o]=s[o]);for(let o in i)i[o]!==0&&(r[n]+=o===n?i[o]:i[o]/this.matrix[n][o]);return T$t(this.matrix,r),N7(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 N7(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(i,s){return i===void 0||i===0?s===void 0||s===0:i===s}for(let i of Hq)if(!r(this.values[i],e.values[i]))return!1;return!0}}});function qyi(t,e){return!t||!t.isValid?rO.invalid("missing or invalid start"):!e||!e.isValid?rO.invalid("missing or invalid end"):e<t?rO.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 SQ,rO,Tnt=U(()=>{P7();_de();C7();w7();ude();fde();nde();SQ="Invalid Interval";rO=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 E0("need to specify a reason the Interval is invalid");let i=e instanceof ob?e:new ob(e,r);if(wp.throwOnInvalid)throw new FAe(i);return new t({invalid:i})}static fromDateTimes(e,r){let i=TQ(e),s=TQ(r),n=qyi(i,s);return n??new t({start:i,end:s})}static after(e,r){let i=Kg.fromDurationLike(r),s=TQ(e);return t.fromDateTimes(s,s.plus(i))}static before(e,r){let i=Kg.fromDurationLike(r),s=TQ(e);return t.fromDateTimes(s.minus(i),s)}static fromISO(e,r){let[i,s]=(e||"").split("/",2);if(i&&s){let n,o;try{n=$s.fromISO(i,r),o=n.isValid}catch{o=!1}let a,l;try{a=$s.fromISO(s,r),l=a.isValid}catch{l=!1}if(o&&l)return t.fromDateTimes(n,a);if(o){let u=Kg.fromISO(s,r);if(u.isValid)return t.after(n,u)}else if(l){let u=Kg.fromISO(i,r);if(u.isValid)return t.before(a,u)}}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 i=this.start.startOf(e,r),s;return r?.useLocaleWeeks?s=this.end.reconfigure({locale:i.locale}):s=this.end,s=s.startOf(e,r),Math.floor(s.diff(i,e).get(e))+(s.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(TQ).filter(o=>this.contains(o)).sort((o,a)=>o.toMillis()-a.toMillis()),i=[],{s}=this,n=0;for(;s<this.e;){let o=r[n]||this.e,a=+o>+this.e?this.e:o;i.push(t.fromDateTimes(s,a)),s=a,n+=1}return i}splitBy(e){let r=Kg.fromDurationLike(e);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:i}=this,s=1,n,o=[];for(;i<this.e;){let a=this.start.plus(r.mapUnits(l=>l*s));n=+a>+this.e?this.e:a,o.push(t.fromDateTimes(i,n)),i=n,s+=1}return o}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,i=this.e<e.e?this.e:e.e;return r>=i?null:t.fromDateTimes(r,i)}union(e){if(!this.isValid)return this;let r=this.s<e.s?this.s:e.s,i=this.e>e.e?this.e:e.e;return t.fromDateTimes(r,i)}static merge(e){let[r,i]=e.sort((s,n)=>s.s-n.s).reduce(([s,n],o)=>n?n.overlaps(o)||n.abutsStart(o)?[s,n.union(o)]:[s.concat([n]),o]:[s,o],[[],null]);return i&&r.push(i),r}static xor(e){let r=null,i=0,s=[],n=e.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),o=Array.prototype.concat(...n),a=o.sort((l,u)=>l.time-u.time);for(let l of a)i+=l.type==="s"?1:-1,i===1?r=l.time:(r&&+r!=+l.time&&s.push(t.fromDateTimes(r,l.time)),r=null);return t.merge(s)}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()})`:SQ}[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=S7,r={}){return this.isValid?ab.create(this.s.loc.clone(r),e).formatInterval(this):SQ}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:SQ}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:SQ}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:SQ}toFormat(e,{separator:r=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(e)}${r}${this.e.toFormat(e)}`:SQ}toDuration(e,r){return this.isValid?this.e.diff(this.s,e,r):Kg.invalid(this.invalidReason)}mapEndpoints(e){return t.fromDateTimes(e(this.s),e(this.e))}}});var iO,Ent=U(()=>{P7();C7();lde();I7();HAe();Gw();iO=class{static hasDST(e=wp.defaultZone){let r=$s.now().setZone(e).set({month:12});return!e.isUniversal&&r.offset!==r.set({month:6}).offset}static isValidIANAZone(e){return Nf.isValidZone(e)}static normalizeZone(e){return KA(e,wp.defaultZone)}static getStartOfWeek({locale:e=null,locObj:r=null}={}){return(r||Sp.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:r=null}={}){return(r||Sp.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:r=null}={}){return(r||Sp.create(e)).getWeekendDays().slice()}static months(e="long",{locale:r=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Sp.create(r,i,n)).months(e)}static monthsFormat(e="long",{locale:r=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Sp.create(r,i,n)).months(e,!0)}static weekdays(e="long",{locale:r=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Sp.create(r,i,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:r=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Sp.create(r,i,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return Sp.create(e).meridiems()}static eras(e="short",{locale:r=null}={}){return Sp.create(r,null,"gregory").eras(e)}static features(){return{relative:GAe(),localeWeek:zAe()}}}});function C$t(t,e){let r=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),i=r(e)-r(t);return Math.floor(Kg.fromMillis(i).as("days"))}function Hyi(t,e,r){let i=[["years",(l,u)=>u.year-l.year],["quarters",(l,u)=>u.quarter-l.quarter+(u.year-l.year)*4],["months",(l,u)=>u.month-l.month+(u.year-l.year)*12],["weeks",(l,u)=>{let c=C$t(l,u);return(c-c%7)/7}],["days",C$t]],s={},n=t,o,a;for(let[l,u]of i)r.indexOf(l)>=0&&(o=l,s[l]=u(t,e),a=n.plus(s),a>e?(s[l]--,t=n.plus(s),t>e&&(a=t,s[l]--,t=n.plus(s))):t=a);return[t,s,a,o]}function P$t(t,e,r,i){let[s,n,o,a]=Hyi(t,e,r),l=e-s,u=r.filter(h=>["hours","minutes","seconds","milliseconds"].indexOf(h)>=0);u.length===0&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(n[a]=(n[a]||0)+l/(o-s)));let c=Kg.fromObject(n,i);return u.length>0?Kg.fromMillis(l,i).shiftTo(...u).plus(c):c}var A$t=U(()=>{_de()});function Wp(t,e=r=>r){return{regex:t,deser:([r])=>e(UWt(r))}}function Yyi(t){return t.replace(/\./g,"\\.?").replace(R$t,N$t)}function M$t(t){return t.replace(/\./g,"").replace(R$t," ").toLowerCase()}function e4(t,e){return t===null?null:{regex:RegExp(t.map(Yyi).join("|")),deser:([r])=>t.findIndex(i=>M$t(r)===M$t(i))+e}}function D$t(t,e){return{regex:t,deser:([,r,i])=>Gq(r,i),groups:e}}function XAe(t){return{regex:t,deser:([e])=>e}}function Xyi(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function Jyi(t,e){let r=zC(e),i=zC(e,"{2}"),s=zC(e,"{3}"),n=zC(e,"{4}"),o=zC(e,"{6}"),a=zC(e,"{1,2}"),l=zC(e,"{1,3}"),u=zC(e,"{1,6}"),c=zC(e,"{1,9}"),h=zC(e,"{2,4}"),m=zC(e,"{4,6}"),f=E=>({regex:RegExp(Xyi(E.val)),deser:([C])=>C,literal:!0}),v=(E=>{if(t.literal)return f(E);switch(E.val){case"G":return e4(e.eras("short"),0);case"GG":return e4(e.eras("long"),0);case"y":return Wp(u);case"yy":return Wp(h,dde);case"yyyy":return Wp(n);case"yyyyy":return Wp(m);case"yyyyyy":return Wp(o);case"M":return Wp(a);case"MM":return Wp(i);case"MMM":return e4(e.months("short",!0),1);case"MMMM":return e4(e.months("long",!0),1);case"L":return Wp(a);case"LL":return Wp(i);case"LLL":return e4(e.months("short",!1),1);case"LLLL":return e4(e.months("long",!1),1);case"d":return Wp(a);case"dd":return Wp(i);case"o":return Wp(l);case"ooo":return Wp(s);case"HH":return Wp(i);case"H":return Wp(a);case"hh":return Wp(i);case"h":return Wp(a);case"mm":return Wp(i);case"m":return Wp(a);case"q":return Wp(a);case"qq":return Wp(i);case"s":return Wp(a);case"ss":return Wp(i);case"S":return Wp(l);case"SSS":return Wp(s);case"u":return XAe(c);case"uu":return XAe(a);case"uuu":return Wp(r);case"a":return e4(e.meridiems(),0);case"kkkk":return Wp(n);case"kk":return Wp(h,dde);case"W":return Wp(a);case"WW":return Wp(i);case"E":case"c":return Wp(r);case"EEE":return e4(e.weekdays("short",!1),1);case"EEEE":return e4(e.weekdays("long",!1),1);case"ccc":return e4(e.weekdays("short",!0),1);case"cccc":return e4(e.weekdays("long",!0),1);case"Z":case"ZZ":return D$t(new RegExp(`([+-]${a.source})(?::(${i.source}))?`),2);case"ZZZ":return D$t(new RegExp(`([+-]${a.source})(${i.source})?`),2);case"z":return XAe(/[a-z_+-/]{1,256}?/i);case" ":return XAe(/[^\S\n\r]/);default:return f(E)}})(t)||{invalidReason:Wyi};return v.token=t,v}function Kyi(t,e,r){let{type:i,value:s}=t;if(i==="literal"){let l=/^\s+$/.test(s);return{literal:!l,val:l?" ":s}}let n=e[i],o=i;i==="hour"&&(e.hour12!=null?o=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?o="hour12":o="hour24":o=r.hour12?"hour12":"hour24");let a=Zyi[o];if(typeof a=="object"&&(a=a[n]),a)return{literal:!1,val:a}}function Qyi(t){return[`^${t.map(r=>r.regex).reduce((r,i)=>`${r}(${i.source})`,"")}$`,t]}function e1i(t,e,r){let i=t.match(e);if(i){let s={},n=1;for(let o in r)if(M7(r,o)){let a=r[o],l=a.groups?a.groups+1:1;!a.literal&&a.token&&(s[a.token.val[0]]=a.deser(i.slice(n,n+l))),n+=l}return[i,s]}else return[i,{}]}function t1i(t){let e=n=>{switch(n){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,i;return Sl(t.z)||(r=Nf.create(t.z)),Sl(t.Z)||(r||(r=new Hp(t.Z)),i=t.Z),Sl(t.q)||(t.M=(t.q-1)*3+1),Sl(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),Sl(t.u)||(t.S=mde(t.u)),[Object.keys(t).reduce((n,o)=>{let a=e(o);return a&&(n[a]=t[o]),n},{}),r,i]}function r1i(){return Int||(Int=$s.fromMillis(1555555555555)),Int}function i1i(t,e){if(t.literal)return t;let r=ab.macroTokenToFormatOpts(t.val),i=Ant(r,e);return i==null||i.includes(void 0)?t:i}function Cnt(t,e){return Array.prototype.concat(...t.map(r=>i1i(r,e)))}function Pnt(t,e,r){return new bde(t,r).explainFromTokens(e)}function F$t(t,e,r){let{result:i,zone:s,specificOffset:n,invalidReason:o}=Pnt(t,e,r);return[i,s,n,o]}function Ant(t,e){if(!t)return null;let i=ab.create(e,t).dtFormatter(r1i()),s=i.formatToParts(),n=i.resolvedOptions();return s.map(o=>Kyi(o,t,n))}var Wyi,$yi,N$t,R$t,Zyi,Int,bde,k$t=U(()=>{Gw();fde();pQ();I7();P7();lnt();w7();Wyi="missing Intl.DateTimeFormat.formatToParts support";$yi="\xA0",N$t=`[ ${$yi}]`,R$t=new RegExp(N$t,"g");Zyi={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"}};Int=null;bde=class{constructor(e,r){if(this.locale=e,this.format=r,this.tokens=Cnt(ab.parseFormat(r),e),this.units=this.tokens.map(i=>Jyi(i,e)),this.disqualifyingUnit=this.units.find(i=>i.invalidReason),!this.disqualifyingUnit){let[i,s]=Qyi(this.units);this.regex=RegExp(i,"i"),this.handlers=s}}explainFromTokens(e){if(this.isValid){let[r,i]=e1i(e,this.regex,this.handlers),[s,n,o]=i?t1i(i):[null,null,void 0];if(M7(i,"a")&&M7(i,"H"))throw new XA("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:r,matches:i,result:s,zone:n,specificOffset:o}}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 vde(t){return new ob("unsupported zone",`the zone "${t.name}" is not supported`)}function Dnt(t){return t.weekData===null&&(t.weekData=cde(t.c)),t.weekData}function Nnt(t){return t.localWeekData===null&&(t.localWeekData=cde(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Wq(t,e){let r={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new $s({...r,...e,old:r})}function z$t(t,e,r){let i=t-e*60*1e3,s=r.offset(i);if(e===s)return[i,e];i-=(s-e)*60*1e3;let n=r.offset(i);return s===n?[i,s]:[t-Math.min(s,n)*60*1e3,Math.max(s,n)]}function JAe(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 KAe(t,e,r){return z$t(cQ(t),e,r)}function L$t(t,e){let r=t.o,i=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,n={...t.c,year:i,month:s,day:Math.min(t.c.day,fQ(i,s))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},o=Kg.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"),a=cQ(n),[l,u]=z$t(a,r,t.zone);return o!==0&&(l+=o,u=t.zone.offset(l)),{ts:l,o:u}}function EQ(t,e,r,i,s,n){let{setZone:o,zone:a}=r;if(t&&Object.keys(t).length!==0||e){let l=e||a,u=$s.fromObject(t,{...r,zone:l,specificOffset:n});return o?u:u.setZone(a)}else return $s.invalid(new ob("unparsable",`the input "${s}" can't be parsed as ${i}`))}function ZAe(t,e,r=!0){return t.isValid?ab.create(Sp.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Rnt(t,e){let r=t.c.year>9999||t.c.year<0,i="";return r&&t.c.year>=0&&(i+="+"),i+=Zg(t.c.year,r?6:4),e?(i+="-",i+=Zg(t.c.month),i+="-",i+=Zg(t.c.day)):(i+=Zg(t.c.month),i+=Zg(t.c.day)),i}function B$t(t,e,r,i,s,n){let o=Zg(t.c.hour);return e?(o+=":",o+=Zg(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!r)&&(o+=":")):o+=Zg(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!r)&&(o+=Zg(t.c.second),(t.c.millisecond!==0||!i)&&(o+=".",o+=Zg(t.c.millisecond,3))),s&&(t.isOffsetFixed&&t.offset===0&&!n?o+="Z":t.o<0?(o+="-",o+=Zg(Math.trunc(-t.o/60)),o+=":",o+=Zg(Math.trunc(-t.o%60))):(o+="+",o+=Zg(Math.trunc(t.o/60)),o+=":",o+=Zg(Math.trunc(t.o%60)))),n&&(o+="["+t.zone.ianaName+"]"),o}function l1i(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 uQ(t);return e}function U$t(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return l1i(t)}}function u1i(t){return e4e[t]||(QAe===void 0&&(QAe=wp.now()),e4e[t]=t.offset(QAe)),e4e[t]}function j$t(t,e){let r=KA(e.zone,wp.defaultZone);if(!r.isValid)return $s.invalid(vde(r));let i=Sp.fromObject(e),s,n;if(Sl(t.year))s=wp.now();else{for(let l of H$t)Sl(t[l])&&(t[l]=q$t[l]);let o=pnt(t)||mnt(t);if(o)return $s.invalid(o);let a=u1i(r);[s,n]=KAe(t,a,r)}return new $s({ts:s,zone:r,loc:i,o:n})}function V$t(t,e,r){let i=Sl(r.round)?!0:r.round,s=(o,a)=>(o=hQ(o,i||r.calendary?0:2,!0),e.loc.clone(r).relFormatter(r).format(o,a)),n=o=>r.calendary?e.hasSame(t,o)?0:e.startOf(o).diff(t.startOf(o),o).get(o):e.diff(t,o).get(o);if(r.unit)return s(n(r.unit),r.unit);for(let o of r.units){let a=n(o);if(Math.abs(a)>=1)return s(a,o)}return s(t>e?-0:0,r.units[r.units.length-1])}function G$t(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 TQ(t){if($s.isDateTime(t))return t;if(t&&t.valueOf&&QA(t.valueOf()))return $s.fromJSDate(t);if(t&&typeof t=="object")return $s.fromObject(t);throw new E0(`Unknown datetime argument: ${t}, of type ${typeof t}`)}var Mnt,O$t,q$t,s1i,n1i,H$t,o1i,a1i,QAe,e4e,$s,P7=U(()=>{_de();Tnt();C7();Ent();fde();pQ();lde();Gw();HAe();A$t();Snt();k$t();dnt();nde();w7();ude();Mnt="Invalid DateTime",O$t=864e13;q$t={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},s1i={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},n1i={ordinal:1,hour:0,minute:0,second:0,millisecond:0},H$t=["year","month","day","hour","minute","second","millisecond"],o1i=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],a1i=["year","ordinal","hour","minute","second","millisecond"];e4e={},$s=class t{constructor(e){let r=e.zone||wp.defaultZone,i=e.invalid||(Number.isNaN(e.ts)?new ob("invalid input"):null)||(r.isValid?null:vde(r));this.ts=Sl(e.ts)?wp.now():e.ts;let s=null,n=null;if(!i)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(r))[s,n]=[e.old.c,e.old.o];else{let a=QA(e.o)&&!e.old?e.o:r.offset(this.ts);s=JAe(this.ts,a),i=Number.isNaN(s.year)?new ob("invalid input"):null,s=i?null:s,n=i?null:a}this._zone=r,this.loc=e.loc||Sp.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new t({})}static local(){let[e,r]=G$t(arguments),[i,s,n,o,a,l,u]=r;return j$t({year:i,month:s,day:n,hour:o,minute:a,second:l,millisecond:u},e)}static utc(){let[e,r]=G$t(arguments),[i,s,n,o,a,l,u]=r;return e.zone=Hp.utcInstance,j$t({year:i,month:s,day:n,hour:o,minute:a,second:l,millisecond:u},e)}static fromJSDate(e,r={}){let i=r$t(e)?e.valueOf():NaN;if(Number.isNaN(i))return t.invalid("invalid input");let s=KA(r.zone,wp.defaultZone);return s.isValid?new t({ts:i,zone:s,loc:Sp.fromObject(r)}):t.invalid(vde(s))}static fromMillis(e,r={}){if(QA(e))return e<-O$t||e>O$t?t.invalid("Timestamp out of range"):new t({ts:e,zone:KA(r.zone,wp.defaultZone),loc:Sp.fromObject(r)});throw new E0(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,r={}){if(QA(e))return new t({ts:e*1e3,zone:KA(r.zone,wp.defaultZone),loc:Sp.fromObject(r)});throw new E0("fromSeconds requires a numerical input")}static fromObject(e,r={}){e=e||{};let i=KA(r.zone,wp.defaultZone);if(!i.isValid)return t.invalid(vde(i));let s=Sp.fromObject(r),n=gQ(e,U$t),{minDaysInFirstWeek:o,startOfWeek:a}=hnt(n,s),l=wp.now(),u=Sl(r.specificOffset)?i.offset(l):r.specificOffset,c=!Sl(n.ordinal),h=!Sl(n.year),m=!Sl(n.month)||!Sl(n.day),f=h||m,_=n.weekYear||n.weekNumber;if((f||c)&&_)throw new XA("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(m&&c)throw new XA("Can't mix ordinal dates with month/day");let v=_||n.weekday&&!f,E,C,A=JAe(l,u);v?(E=o1i,C=s1i,A=cde(A,o,a)):c?(E=a1i,C=n1i,A=YAe(A)):(E=H$t,C=q$t);let M=!1;for(let H of E){let K=n[H];Sl(K)?M?n[H]=C[H]:n[H]=A[H]:M=!0}let N=v?QWt(n,o,a):c?e$t(n):pnt(n),F=N||mnt(n);if(F)return t.invalid(F);let O=v?unt(n,o,a):c?cnt(n):n,[B,z]=KAe(O,u,i),G=new t({ts:B,zone:i,o:z,loc:s});return n.weekday&&f&&e.weekday!==G.weekday?t.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${G.toISO()}`):G.isValid?G:t.invalid(G.invalid)}static fromISO(e,r={}){let[i,s]=y$t(e);return EQ(i,s,r,"ISO 8601",e)}static fromRFC2822(e,r={}){let[i,s]=_$t(e);return EQ(i,s,r,"RFC 2822",e)}static fromHTTP(e,r={}){let[i,s]=b$t(e);return EQ(i,s,r,"HTTP",r)}static fromFormat(e,r,i={}){if(Sl(e)||Sl(r))throw new E0("fromFormat requires an input string and a format");let{locale:s=null,numberingSystem:n=null}=i,o=Sp.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[a,l,u,c]=F$t(o,e,r);return c?t.invalid(c):EQ(a,l,i,`format ${r}`,e,u)}static fromString(e,r,i={}){return t.fromFormat(e,r,i)}static fromSQL(e,r={}){let[i,s]=w$t(e);return EQ(i,s,r,"SQL",e)}static invalid(e,r=null){if(!e)throw new E0("need to specify a reason the DateTime is invalid");let i=e instanceof ob?e:new ob(e,r);if(wp.throwOnInvalid)throw new RAe(i);return new t({invalid:i})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,r={}){let i=Ant(e,Sp.fromObject(r));return i?i.map(s=>s?s.val:null).join(""):null}static expandFormat(e,r={}){return Cnt(ab.parseFormat(e),Sp.fromObject(r)).map(s=>s.val).join("")}static resetCache(){QAe=void 0,e4e={}}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?Dnt(this).weekYear:NaN}get weekNumber(){return this.isValid?Dnt(this).weekNumber:NaN}get weekday(){return this.isValid?Dnt(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Nnt(this).weekday:NaN}get localWeekNumber(){return this.isValid?Nnt(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Nnt(this).weekYear:NaN}get ordinal(){return this.isValid?YAe(this.c).ordinal:NaN}get monthShort(){return this.isValid?iO.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?iO.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?iO.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?iO.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,i=cQ(this.c),s=this.zone.offset(i-e),n=this.zone.offset(i+e),o=this.zone.offset(i-s*r),a=this.zone.offset(i-n*r);if(o===a)return[this];let l=i-o*r,u=i-a*r,c=JAe(l,o),h=JAe(u,a);return c.hour===h.hour&&c.minute===h.minute&&c.second===h.second&&c.millisecond===h.millisecond?[Wq(this,{ts:l}),Wq(this,{ts:u})]:[this]}get isInLeapYear(){return qq(this.year)}get daysInMonth(){return fQ(this.year,this.month)}get daysInYear(){return this.isValid?A7(this.year):NaN}get weeksInWeekYear(){return this.isValid?zq(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?zq(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:r,numberingSystem:i,calendar:s}=ab.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:r,numberingSystem:i,outputCalendar:s}}toUTC(e=0,r={}){return this.setZone(Hp.instance(e),r)}toLocal(){return this.setZone(wp.defaultZone)}setZone(e,{keepLocalTime:r=!1,keepCalendarTime:i=!1}={}){if(e=KA(e,wp.defaultZone),e.equals(this.zone))return this;if(e.isValid){let s=this.ts;if(r||i){let n=e.offset(this.ts),o=this.toObject();[s]=KAe(o,n,e)}return Wq(this,{ts:s,zone:e})}else return t.invalid(vde(e))}reconfigure({locale:e,numberingSystem:r,outputCalendar:i}={}){let s=this.loc.clone({locale:e,numberingSystem:r,outputCalendar:i});return Wq(this,{loc:s})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;let r=gQ(e,U$t),{minDaysInFirstWeek:i,startOfWeek:s}=hnt(r,this.loc),n=!Sl(r.weekYear)||!Sl(r.weekNumber)||!Sl(r.weekday),o=!Sl(r.ordinal),a=!Sl(r.year),l=!Sl(r.month)||!Sl(r.day),u=a||l,c=r.weekYear||r.weekNumber;if((u||o)&&c)throw new XA("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&o)throw new XA("Can't mix ordinal dates with month/day");let h;n?h=unt({...cde(this.c,i,s),...r},i,s):Sl(r.ordinal)?(h={...this.toObject(),...r},Sl(r.day)&&(h.day=Math.min(fQ(h.year,h.month),h.day))):h=cnt({...YAe(this.c),...r});let[m,f]=KAe(h,this.o,this.zone);return Wq(this,{ts:m,o:f})}plus(e){if(!this.isValid)return this;let r=Kg.fromDurationLike(e);return Wq(this,L$t(this,r))}minus(e){if(!this.isValid)return this;let r=Kg.fromDurationLike(e).negate();return Wq(this,L$t(this,r))}startOf(e,{useLocaleWeeks:r=!1}={}){if(!this.isValid)return this;let i={},s=Kg.normalizeUnit(e);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0;break;case"milliseconds":break}if(s==="weeks")if(r){let n=this.loc.getStartOfWeek(),{weekday:o}=this;o<n&&(i.weekNumber=this.weekNumber-1),i.weekday=n}else i.weekday=1;if(s==="quarters"){let n=Math.ceil(this.month/3);i.month=(n-1)*3+1}return this.set(i)}endOf(e,r){return this.isValid?this.plus({[e]:1}).startOf(e,r).minus(1):this}toFormat(e,r={}){return this.isValid?ab.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this,e):Mnt}toLocaleString(e=S7,r={}){return this.isValid?ab.create(this.loc.clone(r),e).formatDateTime(this):Mnt}toLocaleParts(e={}){return this.isValid?ab.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:r=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;let o=e==="extended",a=Rnt(this,o);return a+="T",a+=B$t(this,o,r,i,s,n),a}toISODate({format:e="extended"}={}){return this.isValid?Rnt(this,e==="extended"):null}toISOWeekDate(){return ZAe(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:r=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:o="extended"}={}){return this.isValid?(s?"T":"")+B$t(this,o==="extended",r,e,i,n):null}toRFC2822(){return ZAe(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ZAe(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Rnt(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:r=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(r||e)&&(i&&(s+=" "),r?s+="z":e&&(s+="ZZ")),ZAe(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():Mnt}[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",i={}){if(!this.isValid||!e.isValid)return Kg.invalid("created by diffing an invalid DateTime");let s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=i$t(r).map(Kg.normalizeUnit),o=e.valueOf()>this.valueOf(),a=o?this:e,l=o?e:this,u=P$t(a,l,n,s);return o?u.negate():u}diffNow(e="milliseconds",r={}){return this.diff(t.now(),e,r)}until(e){return this.isValid?rO.fromDateTimes(this,e):this}hasSame(e,r,i){if(!this.isValid)return!1;let s=e.valueOf(),n=this.setZone(e.zone,{keepLocalTime:!0});return n.startOf(r,i)<=s&&s<=n.endOf(r,i)}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}),i=e.padding?this<r?-e.padding:e.padding:0,s=["years","months","days","hours","minutes","seconds"],n=e.unit;return Array.isArray(e.unit)&&(s=e.unit,n=void 0),V$t(r,this.plus(i),{...e,numeric:"always",units:s,unit:n})}toRelativeCalendar(e={}){return this.isValid?V$t(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 E0("min requires all arguments be DateTimes");return fnt(e,r=>r.valueOf(),Math.min)}static max(...e){if(!e.every(t.isDateTime))throw new E0("max requires all arguments be DateTimes");return fnt(e,r=>r.valueOf(),Math.max)}static fromFormatExplain(e,r,i={}){let{locale:s=null,numberingSystem:n=null}=i,o=Sp.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});return Pnt(o,e,r)}static fromStringExplain(e,r,i={}){return t.fromFormatExplain(e,r,i)}static buildFormatParser(e,r={}){let{locale:i=null,numberingSystem:s=null}=r,n=Sp.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new bde(n,e)}static fromFormatParser(e,r,i={}){if(Sl(e)||Sl(r))throw new E0("fromFormatParser requires an input string and a format parser");let{locale:s=null,numberingSystem:n=null}=i,o=Sp.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!o.equals(r.locale))throw new E0(`fromFormatParser called with a locale of ${o}, but the format parser was created for ${r.locale}`);let{result:a,zone:l,specificOffset:u,invalidReason:c}=r.explainFromTokens(e);return c?t.invalid(c):EQ(a,l,i,`format ${r.format}`,e,u)}static get DATE_SHORT(){return S7}static get DATE_MED(){return jme}static get DATE_MED_WITH_WEEKDAY(){return qst}static get DATE_FULL(){return Vme}static get DATE_HUGE(){return Gme}static get TIME_SIMPLE(){return zme}static get TIME_WITH_SECONDS(){return qme}static get TIME_WITH_SHORT_OFFSET(){return Hme}static get TIME_WITH_LONG_OFFSET(){return Wme}static get TIME_24_SIMPLE(){return $me}static get TIME_24_WITH_SECONDS(){return Yme}static get TIME_24_WITH_SHORT_OFFSET(){return Xme}static get TIME_24_WITH_LONG_OFFSET(){return Jme}static get DATETIME_SHORT(){return Zme}static get DATETIME_SHORT_WITH_SECONDS(){return Kme}static get DATETIME_MED(){return Qme}static get DATETIME_MED_WITH_SECONDS(){return ede}static get DATETIME_MED_WITH_WEEKDAY(){return Hst}static get DATETIME_FULL(){return tde}static get DATETIME_FULL_WITH_SECONDS(){return rde}static get DATETIME_HUGE(){return ide}static get DATETIME_HUGE_WITH_SECONDS(){return sde}}});var oy=U(()=>{P7();_de();Tnt();Ent();Vq();pQ();I7();ont();LAe();C7()});function $q(t){return t instanceof s1?t===i_.instance:t?.toString().toLowerCase()==="unknown"}function t4e(t){return $q(t)?i_.instance:t}var i_,xde=U(()=>{oy();i_=class{};i_.instance=new Nf("Etc/UTC")});function IQ(t,e,r){return t<e?t-e:t>r?t-r:0}function CQ(t,e,r){return t<e?e:t>r?r:t}function lb(t,e=!0){if(t instanceof s1)return t;if(t.toLowerCase()==="system")return"system";if(t.toLowerCase()==="utc")return"UTC";if(t.toLowerCase()==="unknown")return i_.instance;if(/^[+-]?[0-9]{1,2}([:][0-9]{2})?$/.test(t)){let i=Hp.parseSpecifier("UTC"+(t.startsWith("+")||t.startsWith("-")?"":"+")+t);if(i)return i}let r=Nf.create(t);if(!r.isValid){if(e)throw new Fnt(r4e.TimeZoneNotRecognized);return null}return r}var r4e,c1i,Fnt,co,AS=U(()=>{Jg();xde();oy();(function(t){t.TimeZoneNotRecognized="TimeZoneNotRecognized"})(r4e||(r4e={}));c1i={[r4e.TimeZoneNotRecognized]:"Timezone identifier has not been recognized."},Fnt=class t extends Error{constructor(e,r){super(Ky(c1i[e],r)),this.declaredRootClass="esri.arcade.arcadedate.dateerror",Error.captureStackTrace&&Error.captureStackTrace(this,t)}};co=class t{constructor(e){this._date=e,this.declaredRootClass="esri.arcade.arcadedate"}static fromParts(e=0,r=1,i=1,s=0,n=0,o=0,a=0,l){if(isNaN(e)||isNaN(r)||isNaN(i)||isNaN(s)||isNaN(n)||isNaN(o)||isNaN(a))return null;let u=$s.local(e,r).daysInMonth,c=$s.fromObject({day:CQ(i,1,u),year:e,month:CQ(r,1,12),hour:CQ(s,0,23),minute:CQ(n,0,59),second:CQ(o,0,59),millisecond:CQ(a,0,999)},{zone:lb(l)});return c=c.plus({months:IQ(r,1,12),days:IQ(i,1,u),hours:IQ(s,0,23),minutes:IQ(n,0,59),seconds:IQ(o,0,59),milliseconds:IQ(a,0,999)}),new t(c)}static get systemTimeZoneCanonicalName(){return Intl.DateTimeFormat().resolvedOptions().timeZone??"system"}static arcadeDateAndZoneToArcadeDate(e,r){let i=lb(r);return e.isUnknownTimeZone||i===i_.instance?t.fromParts(e.year,e.monthJS+1,e.day,e.hour,e.minute,e.second,e.millisecond,i):new t(e._date.setZone(i))}static dateJSToArcadeDate(e){return new t($s.fromJSDate(e,{zone:"system"}))}static dateJSAndZoneToArcadeDate(e,r="system"){let i=lb(r);return new t($s.fromJSDate(e,{zone:i}))}static unknownEpochToArcadeDate(e){return new t($s.fromMillis(e,{zone:i_.instance}))}static unknownDateJSToArcadeDate(e){return new t($s.fromMillis(e.getTime(),{zone:i_.instance}))}static epochToArcadeDate(e,r="system"){let i=lb(r);return new t($s.fromMillis(e,{zone:i}))}static dateTimeToArcadeDate(e){return new t(e)}clone(){return new t(this._date)}changeTimeZone(e){let r=lb(e);return t.dateTimeToArcadeDate(this._date.setZone(r))}static dateTimeAndZoneToArcadeDate(e,r){let i=lb(r);return e.zone===i_.instance||i===i_.instance?t.fromParts(e.year,e.month,e.day,e.hour,e.minute,e.second,e.millisecond,i):new t(e.setZone(i))}static nowToArcadeDate(e){let r=lb(e);return new t($s.fromJSDate(new Date,{zone:r}))}static nowUTCToArcadeDate(){return new t($s.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===i_.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=$s.fromISO(e,{setZone:!0});return new t(r)}}});function $$t(){let t=knt?.getAttribute("lang"),e=globalThis.navigator?.language;return p1i??t??e??"en"}function Mm(){return wde===void 0&&(wde=$$t()),wde}function Y$t(t=Mm()){return/^([a-zA-Z]{2,3})(?:[_-][a-zA-Z0-9]+)*$/.exec(t)?.[1].toLowerCase()}function Ont(t){return i4e.push(t),xl(()=>i4e.splice(i4e.indexOf(t),1))}function PQ(t){return s4e.push(t),xl(()=>s4e.splice(s4e.indexOf(t),1))}function W$t(){let t=h1i??$$t();wde!==t&&([...s4e].forEach(e=>e(t)),wde=t,[...i4e].forEach(e=>e(t)))}var h1i,wde,p1i,knt,i4e,s4e,zw=U(()=>{Am();p1i=globalThis.esriConfig?.locale??globalThis.dojoConfig?.locale,knt=globalThis.document?.documentElement;i4e=[];s4e=[];globalThis.addEventListener?.("languagechange",W$t),knt&&new MutationObserver(()=>{W$t()}).observe(knt,{attributeFilter:["lang"]})});function X$t(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 i of t.match(r)||[])switch(i){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+=i;break;default:i.length>=2&&i.slice(0,1)==="["&&i.slice(-1)==="]"?e+=`'${i.slice(1,-1)}'`:e+=`'${i}'`}return e}var Eu,TE=U(()=>{AS();zw();oy();Eu=class t{constructor(e,r,i){this._year=e,this._month=r,this._day=i,this.declaredRootClass="esri.core.sql.dateonly"}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 e instanceof t&&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 $s.fromObject({day:this.day,month:this.month,year:this.year},{zone:lb(e)})}toDateTimeLuxon(e){return $s.fromObject({day:this.day,month:this.month,year:this.year},{zone:lb(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=X$t(e)),!e)return"";let i=this.toDateTime("unknown");return co.dateTimeToArcadeDate(i).toFormat(e,{locale:Mm(),numberingSystem:"latn"})}toArcadeDate(){let e=this.toDateTime("unknown");return co.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 $s.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=$s.fromMillis(e,{zone:Hp.utcInstance});return r.isValid?t.fromParts(r.year,r.month,r.day):null}static fromSeconds(e){let r=$s.fromSeconds(e,{zone:Hp.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,i){let s=new t(e,r,i);return s.isValid===!1?null:s}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 i=[];if(r)(r=X$t(r))&&i.push(r);else if(r===null||r===""){let s=$s.fromISO(e,{setZone:!0});return s.isValid?t.fromParts(s.year,s.month,s.day):null}for(let s of i){let n=$s.fromFormat(e,r??s);if(n.isValid)return new t(n.year,n.month,n.day)}return null}static fromNow(e="system"){let r=$s.fromJSDate(new Date).setZone(lb(e));return new t(r.year,r.month,r.day)}}});var ni,m1i,gi,t4=U(()=>{Jg();(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"})(ni||(ni={}));m1i={[ni.InvalidValueForAggregateFunction]:"Invalid value used in aggregate function",[ni.MissingStatisticParameters]:"Statistic does not have 1 or 0 Parameters",[ni.InvalidFunctionParameters]:"Invalid parameters for call to {function}",[ni.UnsupportedIsLhs]:"Unsupported left hand expression in is statement",[ni.UnsupportedIsRhs]:"Unsupported right hand expression in is statement",[ni.UnsupportedOperator]:"Unsupported operator - {operator}",[ni.UnsupportedSyntax]:"Unsupported syntax - {node}",[ni.UnsupportedSqlFunction]:"Sql function not found = {function}",[ni.InvalidDataType]:"Invalid sql data type",[ni.InvalidDate]:"Invalid date encountered",[ni.InvalidOperator]:"Invalid operator encountered",[ni.InvalidTime]:"Invalid time encountered",[ni.IllegalInterval]:"Illegal interval",[ni.FunctionNotRecognized]:"Function not recognized",[ni.InvalidTimeStamp]:"Invalid timestamp encountered",[ni.InvalidParameterCount]:"Invalid parameter count for call to {name}",[ni.PrimarySecondaryQualifiers]:"Primary and Secondary SqlInterval qualifiers not supported",[ni.YearMonthIntervals]:"Year-Month Intervals not supported",[ni.CannotCastValue]:"Cannot cast value to the required data type"},gi=class t extends Error{constructor(e,r){super(Ky(m1i[e],r)),this.declaredRootClass="esri.arcade.featureset.support.sqlerror",Error.captureStackTrace&&Error.captureStackTrace(this,t)}}});function J$t(t){return Number.isNaN(t)||t===0?t:Math.trunc(t)}var Yd,sO=U(()=>{oy();Yd=class t{constructor(e){this._timeStampOffset=e,this._date=null}toDateTime(){return this._date??(this._date=$s.fromISO(this._timeStampOffset,{setZone:!0})),this._date}get isValid(){return this.toDateTime().isValid}get timezoneOffsetHour(){return J$t(this.toDateTime().offset/60)}get timezoneOffsetMinutes(){return J$t(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($s.fromJSDate(e).toISO({includeOffset:!0}))}static fromDateTime(e){return new t(e.toISO({includeOffset:!0}))}static fromParts(e,r,i=0,s=0,n=0,o=0,a=0,l=!1,u=0,c=0){let h=`${e.toString().padStart(4,"0")}-${r.toString().padStart(2,"0")}-${i.toString().padStart(2,"0")}`,m="";o<10&&(m="0");let f=`${s.toString().padStart(2,"0")}:${n.toString().padStart(2,"0")}:${m+o.toString()}`;a!==0&&(f+="."+a.toString().padStart(3,"0"));let _=`${l?"-":"+"}${u.toString().padStart(2,"0")}:${c.toString().padStart(2,"0")}`;return new t(h+"T"+f+_)}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 d1i(t){let e={};for(let r in t)e[t[r]]=r;return e}function Z$t(t){let e=[];for(let r in t)e.push(r);return e.sort(),e}function to(){return function(t,e){return new Ri(t,{ignoreUnknown:!0,...e})}}var Ri,xn=U(()=>{Kc();Ri=class{constructor(e,r={ignoreUnknown:!1,useNumericKeys:!1}){this._jsonToAPI=e,this._options=r,this.apiValues=[],this.jsonValues=[],this._apiToJSON=d1i(e),this.apiValues=Z$t(this._apiToJSON),this.jsonValues=Z$t(this._jsonToAPI),this.read=i=>this.fromJSON(i),this.write=(i,s,n)=>{let o=this.toJSON(i);o!==void 0&&nl(n,o,s)},this.write.isJSONMapWriter=!0}toJSON(e){if(e==null)return null;if(this._apiToJSON.hasOwnProperty(e)){let r=this._apiToJSON[e];return this._options.useNumericKeys?+r:r}return this._options.ignoreUnknown?null:e}fromJSON(e){return e!=null&&this._jsonToAPI.hasOwnProperty(e)?this._jsonToAPI[e]:this._options.ignoreUnknown?void 0:e}}});var Sde,Nc,MS,WC,$C=U(()=>{Sde=class{constructor(e,r,i,s,n,o){this.semiMajorAxis=e,this.flattening=r,this.outerAtmosphereRimWidth=i,this.atmosphereHeight=s,this.scaleHeight=n;let a=1-this.flattening;this.semiMinorAxis=this.semiMajorAxis*a,this.halfSemiMajorAxis=this.semiMajorAxis/2,this.halfCircumference=Math.PI*this.semiMajorAxis,this.metersPerDegree=this.halfCircumference/180,this.inverseFlattening=1/(1-this.flattening)-1,this.eccentricitySquared=o||2*this.flattening-this.flattening*this.flattening,this.meanRadiusSemiAxes=(2*this.semiMajorAxis+this.semiMinorAxis)/3}get radius(){return this.semiMajorAxis}},Nc=new Sde(6378137,1/298.257223563,3e5,1e5,.085,.006694379990137799),MS=new Sde(3396190,1/169.8944472236118,23e4,6e4,.111),WC=new Sde(1737400,0,0,0,0)});function Tde(t){let e=t?.match(f1i);if(!e)return null;let[,r,i,s]=e;if(!r)return null;let n=null,o=null,a=null,{devext:l,qaext:u,www:c}=g1i;if(i)if(n=r,s)switch(s.toLowerCase()){case"devext":({customBaseUrl:o,portalHostname:a}=l);break;case"qa":({customBaseUrl:o,portalHostname:a}=u);break;default:return null}else({customBaseUrl:o,portalHostname:a}=c);else switch(r.toLowerCase()){case"devext":({customBaseUrl:o,portalHostname:a}=l);break;case"qaext":({customBaseUrl:o,portalHostname:a}=u);break;case"www":({customBaseUrl:o,portalHostname:a}=c);break;default:return null}return{customBaseUrl:o,isPortal:!1,portalHostname:a,urlKey:n}}function n4e(t){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(t)}function R7(t){let e=/^https?:\/\/(?:cdn|[a-z\d-]+\.maps)\.arcgis\.com/i,r=/^https?:\/\/(?:cdndev|[a-z\d-]+\.mapsdevext)\.arcgis\.com/i,i=/^https?:\/\/(?:cdnqa|[a-z\d-]+\.mapsqa)\.arcgis\.com/i;return e.test(t)?t=t.replace(e,"https://www.arcgis.com"):r.test(t)?t=t.replace(r,"https://devext.arcgis.com"):i.test(t)&&(t=t.replace(i,"https://qaext.arcgis.com")),t}var f1i,g1i,Yq=U(()=>{f1i=/^https:\/\/([a-z\d-]+)(\.maps([^.]*))?\.arcgis\.com/i,g1i={devext:{customBaseUrl:"mapsdevext.arcgis.com",portalHostname:"devext.arcgis.com"},qaext:{customBaseUrl:"mapsqa.arcgis.com",portalHostname:"qaext.arcgis.com"},www:{customBaseUrl:"maps.arcgis.com",portalHostname:"www.arcgis.com"}}});function o4e(t){let e=atob(t),r=new Uint8Array(e.length);for(let i=0;i<e.length;i++)r[i]=e.charCodeAt(i);return r.buffer}function K$t(t){let e=new Uint8Array(t),r="";for(let i=0;i<e.length;i++)r+=String.fromCharCode(e[i]);return btoa(r)}var Lnt=U(()=>{});function I1i(){let t=Ax.path,e=t.slice(0,t.lastIndexOf("/")+1);return`${`${Ax.scheme}://${Ax.host}${Ax.port!=null?`:${Ax.port}`:""}`}${e}`}function tn(t){if(!t)return null;let e={path:null,query:null},r=new Xd(t),i=t.indexOf("?");return r.query===null?e.path=t:(e.path=t.slice(0,i),e.query=nO(r.query)),r.fragment&&(e.hash=r.fragment,r.query===null&&(e.path=e.path.slice(0,e.path.length-(r.fragment.length+1)))),e}function nO(t){let e=t.split("&"),r={};for(let i of e){if(!i)continue;let s=i.indexOf("="),n,o;s<0?(n=decodeURIComponent(i),o=""):(n=decodeURIComponent(i.slice(0,s)),o=decodeURIComponent(i.slice(s+1)));let a=r[n];typeof a=="string"&&(a=r[n]=[a]),Array.isArray(a)?a.push(o):r[n]=o}return r}function ly(t,e){return t?e&&typeof e=="function"?Object.keys(t).map(r=>encodeURIComponent(r)+"="+encodeURIComponent(e(r,t[r]))).join("&"):Object.keys(t).map(r=>{let i=t[r];if(i==null)return"";let s=encodeURIComponent(r)+"=",n=e?.[r];return n?s+encodeURIComponent(n(i)):Array.isArray(i)?i.map(o=>Oe.isSerializable(o)?s+encodeURIComponent(JSON.stringify(o)):s+encodeURIComponent(o)).join("&"):Oe.isSerializable(i)?s+encodeURIComponent(JSON.stringify(i)):s+encodeURIComponent(i)}).filter(r=>r).join("&"):""}function Gnt(t=!1){let e,r=AQ.proxyUrl;if(typeof t=="string"){e=Pde(t);let i=oO(t);i&&(r=i.proxyUrl)}else e=!!t;if(!r)throw y1i().warn(Q$t),new ge("urlUtils:proxy-not-set",Q$t);return e&&Bnt()&&(r=Zq(r)),tn(r)}function Xq(t,e=!1){let r=oO(t),i,s;if(r){let n=znt(r.proxyUrl);i=n.path,s=n.query?nO(n.query):null}else if(e){let n=Gnt(t);i=n.path,s=n.query}if(i){let n=tn(t);t=i+"?"+n.path;let o=ly({...s,...n.query});o&&(t=`${t}?${o}`)}return t}function znt(t){let e=t.indexOf("?");return e!==-1?(Ede.path=t.slice(0,e),Ede.query=t.slice(e+1)):(Ede.path=t,Ede.query=null),Ede}function rYt(t){return t=(t=u4e(t=Hnt(t=znt(t).path),!0)).toLowerCase()}function iYt(t){let e={proxyUrl:t.proxyUrl,urlPrefix:rYt(t.urlPrefix)},r=AQ.proxyRules,i=e.urlPrefix,s=r.length;for(let n=0;n<r.length;n++){let o=r[n].urlPrefix;if(i.indexOf(o)===0){if(i.length===o.length)return-1;s=n;break}o.indexOf(i)===0&&(s=n+1)}return r.splice(s,0,e),s}function oO(t){let e=AQ.proxyRules,r=rYt(t);for(let i=0;i<e.length;i++)if(r.indexOf(e[i].urlPrefix)===0)return e[i]}function c4e(t,e){if(!t||!e)return!1;t=l4e(t),e=l4e(e);let r=Tde(t),i=Tde(e);return r!=null&&i!=null?r.portalHostname===i.portalHostname:r==null&&i==null&&ay(t,e,!0)}function aO(t,e){return t=l4e(t),e=l4e(e),u4e(t)===u4e(e)}function l4e(t){let e=(t=xd(t)).indexOf("/sharing");return e>0?t.slice(0,e):t.replace(/\/+$/,"")}function Ide(t,e=AQ.interceptors){let r=i=>i==null||i instanceof RegExp&&i.test(t)||typeof i=="string"&&t.startsWith(i);if(e){for(let i of e)if(Array.isArray(i.urls)){if(i.urls.some(r))return i}else if(r(i.urls))return i}return null}function ay(t,e,r=!1){if(!t||!e)return!1;let i=Unt(t),s=Unt(e);return!(!r&&i.scheme!==s.scheme)&&i.host!=null&&s.host!=null&&i.host.toLowerCase()===s.host.toLowerCase()&&i.port===s.port}function h4e(t){if(typeof t=="string"){if(!lm(t))return!0;t=Unt(t)}if(ay(t,Ax))return!0;let e=AQ.trustedServers||[];for(let r=0;r<e.length;r++){let i=C1i(e[r]);for(let s=0;s<i.length;s++)if(ay(t,i[s]))return!0}return!1}function C1i(t){return a4e[t]||(qnt(t)||lv(t)?a4e[t]=[new Xd(Dh(t))]:a4e[t]=[new Xd(`http://${t}`),new Xd(`https://${t}`)]),a4e[t]}function Dh(t,e=jnt,r){return lv(t)?r?.preserveProtocolRelative?t:Ax.scheme==="http"&&Ax.authority===ov(t).slice(2)?`http:${t}`:`https:${t}`:qnt(t)?t:xa(t[0]==="/"?N1i(e):e,t)}function Jq(t,e=jnt,r){if(t==null||!lm(t))return t;let i=xd(t),s=i.toLowerCase(),n=xd(e).toLowerCase().replace(/\/+$/,""),o=r?xd(r).toLowerCase().replace(/\/+$/,""):null;if(o&&n.indexOf(o)!==0)return t;let a=(h,m,f)=>(f=h.indexOf(m,f))===-1?h.length:f,l=a(s,"/",s.indexOf("//")+2),u=-1;for(;s.slice(0,l+1)===n.slice(0,l)+"/"&&(u=l+1,l!==s.length);)l=a(s,"/",l+1);if(u===-1||o&&u<o.length)return t;t=i.slice(u);let c=n.slice(u-1).replaceAll(/[^/]+/g,"").length;if(c>0)for(let h=0;h<c;h++)t=`../${t}`;else t=`./${t}`;return t}function xd(t){return t=k1i(t=F1i(t=R1i(t=Dh(t=t.trim()))))}function xa(...t){let e=t.filter(qn);if(!e?.length)return;let r=[];if(lm(e[0])){let s=e[0],n=s.indexOf("//");n!==-1&&(r.push(s.slice(0,n+1)),M1i(e[0])&&(r[0]+="/"),e[0]=s.slice(n+2))}else e[0][0]==="/"&&r.push("");let i=e.reduce((s,n)=>n?s.concat(n.split("/")):s,[]);for(let s=0;s<i.length;s++){let n=i[s];n===".."&&r.length>0&&r[r.length-1]!==".."?r.pop():(!n&&s===i.length-1||n&&(n!=="."||r.length===0))&&r.push(n)}return r.join("/")}function ov(t,e=!1){if(t==null||av(t)||Dm(t))return null;let r=t.indexOf("://");if(r===-1&&lv(t))r=2;else{if(r===-1)return null;r+=3}let i=t.indexOf("/",r);return i!==-1&&(t=t.slice(0,i)),e&&(t=u4e(t,!0)),t}function lm(t){return lv(t)||qnt(t)}function av(t){return t!=null&&t.slice(0,5)==="blob:"}function Dm(t){return t!=null&&t.slice(0,5)==="data:"}function Cde(t){let e=Mx(t);return e?.isBase64?o4e(e.data):null}function p4e(t){return K$t(t).replaceAll("+","-").replaceAll("/","_").replace(/=+$/,"")}function Mx(t){let e=t.match(P1i);if(!e)return null;let[,r,i,s]=e;return{mediaType:r,isBase64:!!i,data:s}}function m4e(t){return t.isBase64?`data:${t.mediaType};base64,${t.data}`:`data:${t.mediaType},${t.data}`}async function sYt(t){return(await fetch(t)).blob()}function nYt(t){let e=Cde(t);if(!e)return null;let r=Mx(t);return new Blob([e],{type:r.mediaType})}function lv(t){return t!=null&&t[0]==="/"&&t[1]==="/"}function qnt(t){return t!=null&&eYt.test(t)}function Pde(t){return t!=null&&_1i.test(t)||Ax.scheme==="https"&&lv(t)}function A1i(t){return t!=null&&tYt.test(t)||Ax.scheme==="http"&&lv(t)}function M1i(t){return t!=null&&b1i.test(t)}function Zq(t){return lv(t)?`https:${t}`:t.replace(tYt,"https:")}function D1i(){return Ax.scheme==="http"}function Bnt(){return Ax.scheme==="https"}function u4e(t,e=!1){return lv(t)?t.slice(2):(t=t.replace(eYt,""),e&&t.length>1&&t[0]==="/"&&t[1]==="/"&&(t=t.slice(2)),t)}function N1i(t){let e=t.indexOf("//"),r=t.indexOf("/",e+2);return r===-1?t:t.slice(0,r)}function lO(t){let e=0;if(lm(t)){let i=t.indexOf("//");i!==-1&&(e=i+2)}let r=t.lastIndexOf("/");return r<e?t:t.slice(0,r+1)}function F7(t,e){if(!t)return"";let r=tn(t).path.replace(/\/+$/,""),i=r.slice(r.lastIndexOf("/")+1);if(!e?.length)return i;let s=new RegExp(`\\.(${e.join("|")})$`,"i");return i.replace(s,"")}function Hnt(t){return t.endsWith("/")?t:`${t}/`}function ND(t){return t.replace(/\/+$/,"")}function R1i(t){if(/^https?:\/\//i.test(t)){let e=znt(t);t=(t=e.path.replaceAll(/\/{2,}/g,"/")).replace("/","//"),e.query&&(t+=`?${e.query}`)}return t}function F1i(t){return t.replace(/^(https?:\/\/)(arcgis\.com)/i,"$1www.$2")}function k1i(t){let e=AQ.httpsDomains;if(!A1i(t))return t;let r=t.indexOf("/",7),i;if(i=r===-1?t:t.slice(0,r),i=i.toLowerCase().slice(7),v1i.test(i)){if(!i.endsWith(":80"))return t;i=i.slice(0,-3),t=t.replace(":80","")}return D1i()&&i===Ax.authority&&!x1i.test(t)||(Bnt()&&i===Ax.authority||e&&e.some(s=>i===s||i.endsWith(`.${s}`))||Bnt()&&!oO(t))&&(t=Zq(t)),t}function d4e(t,e,r){if(!(e&&r&&t&&lm(t)))return t;let i=t.indexOf("//"),s=t.indexOf("/",i+2),n=t.indexOf(":",i+2),o=Math.min(s<0?t.length:s,n<0?t.length:n);return t.slice(i+2,o).toLowerCase()!==e.toLowerCase()?t:`${t.slice(0,i+2)}${r}${t.slice(o)}`}function Unt(t){return typeof t=="string"?new Xd(Dh(t)):(t.scheme||(t.scheme=Ax.scheme),t)}function Wnt(t,e){let r=tn(t),i=Object.keys(r.query||{});return i.length>0&&e&&e.warn("removeQueryParameters()",`Url query parameters are not supported, the following parameters have been removed: ${i.join(", ")}.`),r.path}function DQ(t,e,r){let i=tn(t),s=i.query||{};return s[e]=String(r),`${i.path}?${ly(s)}`}function rd(t,e){if(!e)return t;let r=tn(t),i=r.query||{};for(let[n,o]of Object.entries(e))o!=null&&(i[n]=o);let s=ly(i);return s?`${r.path}?${s}`:r.path}function NQ(t){if(t==null)return null;let e=t.match(oYt);return e?e[2]:null}function $nt(t){if(t==null)return null;let e=t.match(oYt);return e?{path:e[1],extension:e[2]}:{path:t,extension:null}}async function f4e(t){return typeof t=="string"?Mx(t)??{data:t}:new Promise((e,r)=>{let i=new FileReader;i.readAsDataURL(t),i.onload=()=>e(Mx(i.result)),i.onerror=s=>r(s)})}var y1i,AQ,Q$t,eYt,tYt,_1i,b1i,v1i,x1i,w1i,S1i,Xd,a4e,T1i,Ax,E1i,jnt,MQ,Vnt,Ede,P1i,oYt,an=U(()=>{Mf();oa();Dr();Wt();Be();Yq();Lnt();y1i=()=>At.getLogger("esri.core.urlUtils"),AQ=qo.request,Q$t="esri/config: esriConfig.request.proxyUrl is not set.",eYt=/^\s*[a-z][a-z0-9-+.]*:(?![0-9])/i,tYt=/^\s*http:/i,_1i=/^\s*https:/i,b1i=/^\s*file:/i,v1i=/:\d+$/,x1i=/^https?:\/\/[^/]+\.arcgis.com\/sharing(\/|$)/i,w1i=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),S1i=new RegExp("^((([^[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^[:]*))(:([0-9]+))?$"),Xd=class{constructor(e=""){this.uri=e,this.scheme=null,this.authority=null,this.path=null,this.query=null,this.fragment=null,this.user=null,this.password=null,this.host=null,this.port=null;let r=this.uri.match(w1i);this.scheme=r[2]||(r[1]?"":null),this.authority=r[4]||(r[3]?"":null),this.path=r[5],this.query=r[7]||(r[6]?"":null),this.fragment=r[9]||(r[8]?"":null),this.authority!=null&&(r=this.authority.match(S1i),this.user=r[3]||null,this.password=r[4]||null,this.host=r[6]||r[7],this.port=r[9]||null)}toString(){return this.uri}},a4e={},T1i=new Xd(qo.applicationUrl),Ax=T1i,E1i=I1i(),jnt=E1i,MQ=()=>Ax,Vnt=()=>jnt;Ede={path:"",query:""};P1i=/^data:(.*?)(;base64)?,(.*)$/;oYt=/([^.]*)\.([^/]*)$/});function aYt(t){ol=t}function lYt(t){let e=ol?.findCredential(t);return e?.token?DQ(t,"token",e.token):t}var Kq,ol,Ade,uy=U(()=>{De();an();GK();GK();Symbol.dispose??(Symbol.dispose=Symbol("Symbol.dispose")),Symbol.asyncDispose??(Symbol.asyncDispose=Symbol("Symbol.asyncDispose"));Kq="4.32",Ade=Kq;Ade=`4.32.0-next.${h7}`;yr("host-webworker")||globalThis.$arcgis||Object.defineProperty(globalThis,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),yr("host-webworker")});function cy(t,e){let r=e?.url?.path;if(t&&r&&(t=Dh(t,r,{preserveProtocolRelative:!0}),e.portalItem&&e.readResourcePaths)){let i=Jq(t,e.portalItem.itemUrl);i!=null&&O1i.test(i)&&e.readResourcePaths.push(e.portalItem.resourceFromPath(i).path)}return(t=Ynt(t,e?.portal))&&g4e.test(t)?_4e(t):t}function n1(t,e,r=uO.YES){if((t=t&&g4e.test(t)?uYt(t):t)==null)return t;!lm(t)&&e?.blockedRelativeUrls&&e.blockedRelativeUrls.push(t);let i=Dh(t);if(e){let s=e.verifyItemRelativeUrls?.rootPath||e.url?.path;if(s){let n=Ynt(s,e.portal),o=Ynt(i,e.portal);i=Jq(o,n,n),i!=null&&i!==o&&i!==t&&e.verifyItemRelativeUrls&&e.verifyItemRelativeUrls.writtenUrls.push(i)}}return i=y4e(i,e?.portal),lm(i)&&(i=xd(i)),e?.resources&&e?.portalItem&&!lm(i)&&!Dm(i)&&r===uO.YES&&e.resources.toKeep.push({resource:e.portalItem.resourceFromPath(i),compress:!1}),i}function r4(t,e,r){return cy(t,r)}function Dx(t,e,r,i){let s=n1(t,i);s!==void 0&&(e[r]=s)}function Qq(t){return(t?.match(g4e)??null)?.[1]??null}function Xnt(t){let e=t?.match(g4e)??null;if(e==null)return null;let r=e[2],i=r.lastIndexOf("/");if(i===-1){let{path:o,extension:a}=$nt(r);return{prefix:null,filename:o,extension:a}}let{path:s,extension:n}=$nt(r.slice(i+1));return{prefix:r.slice(0,i),filename:s,extension:n}}function y4e(t,e){return e&&!e.isPortal&&e.urlKey&&e.customBaseUrl?d4e(t,`${e.urlKey}.${e.customBaseUrl}`,e.portalHostname):t}function Ynt(t,e){if(!e||e.isPortal||!e.urlKey||!e.customBaseUrl)return t;let r=`${e.urlKey}.${e.customBaseUrl}`,i=MQ();return ay(i,`${i.scheme}://${r}`)?d4e(t,e.portalHostname,r):d4e(t,r,e.portalHostname)}function _4e(t){if(!t)return t||null;let e=t;return e&&ol&&!ol.findCredential(e)&&(e=R7(e),e=e.replace(/^https?:\/\/www\.arcgis\.com/,"https://cdn.arcgis.com"),e=e.replace(/^https?:\/\/devext\.arcgis\.com/,"https://cdndev.arcgis.com"),e=e.replace(/^https?:\/\/qaext\.arcgis\.com/,"https://cdnqa.arcgis.com")),e}function uYt(t){if(!t)return t||null;let e=t;return e=e.replace(/^https?:\/\/cdn\.arcgis\.com/,"https://www.arcgis.com"),e=e.replace(/^https?:\/\/cdndev\.arcgis\.com/,"https://devext.arcgis.com"),e=e.replace(/^https?:\/\/cdnqa\.arcgis\.com/,"https://qaext.arcgis.com"),e&&ol&&!ol.findCredential(e)&&(e=R7(e)),e}var g4e,O1i,uO,cYt,hy=U(()=>{uy();an();Yq();g4e=/\/items\/([^/]+)\/resources\/(.*)/,O1i=/^\.\/resources\//;(function(t){t[t.YES=0]="YES",t[t.NO=1]="NO"})(uO||(uO={}));cYt=Object.freeze(Object.defineProperty({__proto__:null,get MarkKeep(){return uO},ensureMainOnlineDomain:y4e,fromCDNUrl:uYt,fromJSON:cy,itemIdFromResourceUrl:Qq,prefixAndFilenameFromResourceUrl:Xnt,read:r4,toCDNUrl:_4e,toJSON:n1,write:Dx},Symbol.toStringTag,{value:"Module"}))});function b4e(t){return mYt.test(t)}function Wh(t){if(t==null)return null;let e=tn(t),r=e?.path.match(mYt)||e?.path.match(L1i);if(!r)return null;let[,i,s,n,o]=r,a=s.indexOf("/");return{title:RQ(a!==-1?s.slice(a+1):s),serverType:hYt[n.toLowerCase()],sublayer:o!=null&&o!==""?parseInt(o,10):null,url:{path:i}}}function Jnt(t){let e=tn(t).path.match(B1i);return e?{serviceUrl:e[1],sublayerId:Number(e[2])}:null}function RQ(t){return(t=t.replaceAll(/\s*[/_]+\s*/g," "))[0].toUpperCase()+t.slice(1)}function FQ(t,e){let r=[];if(t){let i=Wh(t);i!=null&&i.title&&r.push(i.title)}if(e){let i=RQ(e);r.push(i)}if(r.length===2){if(r[0].toLowerCase().includes(r[1].toLowerCase()))return r[0];if(r[1].toLowerCase().includes(r[0].toLowerCase()))return r[1]}return r.join(" - ")}function o1(t){let e=ov(t,!0);return!!e&&(e=e.toLowerCase(),e.endsWith(".arcgis.com")&&(e.startsWith("services")||e.startsWith("tiles")||e.startsWith("features")))}function RD(t,e){return t&&ND(Wnt(t,e))}function v4e(t){let{url:e}=t;if(!e)return{url:e};e=Wnt(e,t.logger);let r=tn(e),i=Wh(r.path),s;if(i!=null)i.sublayer!=null&&t.layer.layerId==null&&(s=i.sublayer),e=i.url.path;else if(t.nonStandardUrlAllowed){let n=Jnt(r.path);n!=null&&(e=n.serviceUrl,s=n.sublayerId)}return{url:ND(e),layerId:s}}function x4e(t,e,r,i,s){Dx(e,i,"url",s),i.url&&t.layerId!=null&&(i.url=xa(i.url,r,t.layerId.toString()))}function dYt(t){if(!t)return!1;let e=t.toLowerCase(),r=e.includes("/services/"),i=e.includes("/mapserver/wmsserver"),s=e.includes("/imageserver/wmsserver"),n=e.includes("/wmsserver");return r&&(i||s||n)}function fYt(t){if(!t)return!1;let e=new Xd(Dh(t)),r=e.authority?.toLowerCase();return r==="server.arcgisonline.com"||r==="services.arcgisonline.com"}var hYt,pYt,mYt,L1i,B1i,um=U(()=>{an();hy();hYt={mapserver:"MapServer",imageserver:"ImageServer",featureserver:"FeatureServer",knowledgegraphserver:"KnowledgeGraphServer",sceneserver:"SceneServer",streamserver:"StreamServer",vectortileserver:"VectorTileServer","3dtilesserver":"3DTilesServer",videoserver:"VideoServer"},pYt=Object.values(hYt),mYt=new RegExp(`^((?:https?:)?\\/\\/\\S+?\\/rest\\/services\\/(.+?)\\/(${pYt.join("|")}))(?:\\/(?:layers\\/)?(\\d+))?`,"i"),L1i=new RegExp(`^((?:https?:)?\\/\\/\\S+?\\/([^/\\n]+)\\/(${pYt.join("|")}))(?:\\/(?:layers\\/)?(\\d+))?`,"i"),B1i=/(.*?)\/(?:layers\/)?(\d+)\/?$/i});function j1i(t){let e=ov(t,!0);return!!e&&e.endsWith(".arcgis.com")&&!U1i.has(e)&&!t.endsWith("/sharing/rest/generateToken")}function Mde(t,e){return!(!e&&!qo.apiKey||!j1i(t))}var U1i,w4e=U(()=>{Mf();an();U1i=new Set(["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"])});function S4e(t,e,r=!1,i){return new Promise((s,n)=>{if(Dc(i))return void n(gYt());let o=()=>{u(),n(new Error(`Unable to load ${e}`))},a=()=>{let c=t;u(),s(c)},l=()=>{if(!t)return;let c=t;u(),c.src="",n(gYt())},u=()=>{yr("esri-image-decode")||(t.removeEventListener("error",o),t.removeEventListener("load",a)),o=null,a=null,t=null,i?.removeEventListener("abort",l),l=null,r&&URL.revokeObjectURL(e)};i?.addEventListener("abort",l),yr("esri-image-decode")?t.decode().then(a,o):(t.addEventListener("error",o),t.addEventListener("load",a))})}function gYt(){try{return new DOMException("Aborted","AbortError")}catch{let t=new Error;return t.name="AbortError",t}}function _Yt(){return new Error(yYt)}function bYt(t){return typeof t=="object"&&!!t&&"message"in t&&t.message===yYt}function vYt(t){qo.request.crossOriginNoCorsDomains||(qo.request.crossOriginNoCorsDomains={});let e=qo.request.crossOriginNoCorsDomains;for(let r of t)r=r.toLowerCase(),/^https?:\/\//.test(r)?e[ov(r)??""]=0:(e[ov("http://"+r)??""]=0,e[ov("https://"+r)??""]=0)}function xYt(t){let e=qo.request.crossOriginNoCorsDomains;if(e){let r=ov(t);if(r)return r=r.toLowerCase(),!ay(r,MQ())&&e[r]<Date.now()-36e5}return!1}async function wYt(t){let e=tn(t);t=e.path,e.query?.f==="json"&&(t+="?f=json");try{await fetch(t,{mode:"no-cors",credentials:"include"})}catch{}let r=qo.request.crossOriginNoCorsDomains,i=ov(t);r&&i&&(r[i.toLowerCase()]=Date.now())}var yYt,T4e=U(()=>{Mf();De();Vi();an();yYt="Timeout exceeded"});var SYt={};Qr(SYt,{execute:()=>V1i});function V1i(t,e){let r=e.responseType;r?r!=="array-buffer"&&r!=="blob"&&r!=="json"&&r!=="native"&&r!=="native-request-init"&&r!=="text"&&(r="text"):r="json",e.responseType=r;let i=e.signal;return delete e.signal,globalThis.invokeStaticMessage("request",{url:t,options:e},{signal:i}).then(async s=>{let n,o,a,l,u;if(s.data)if(s.data instanceof ArrayBuffer){if(!(r!=="json"&&r!=="text"&&r!=="blob"||(n=new Blob([s.data]),r!=="json"&&r!=="text"||(l=await n.text(),r!=="json")))){try{o=JSON.parse(l||null)}catch(c){let h={...c,url:t,requestOptions:e};throw new ge("request:server",c.message,h)}if(o.error){let c={...o.error,url:t,requestOptions:e};throw new ge("request:server",o.error.message,c)}}}else r==="native"&&(s.data.signal=i,a=await fetch(s.data.url,s.data),s.httpStatus=a.status);switch(r){case"blob":u=n;break;case"json":u=o;break;case"native":u=a;break;case"text":u=l;break;default:u=s.data}return{data:u,httpStatus:s.httpStatus,requestOptions:e,ssl:s.ssl,url:t}})}var TYt=U(()=>{Dr()});var Znt,EYt=U(()=>{Znt=new Map([["AUS Central Standard Time","Australia/Darwin"],["AUS Eastern Standard Time","Australia/Sydney"],["Afghanistan Standard Time","Asia/Kabul"],["Alaskan Standard Time","America/Anchorage"],["Aleutian Standard Time","America/Adak"],["Altai Standard Time","Asia/Barnaul"],["Arab Standard Time","Asia/Riyadh"],["Arabian Standard Time","Asia/Dubai"],["Arabic Standard Time","Asia/Baghdad"],["Argentina Standard Time","America/Buenos_Aires"],["Astrakhan Standard Time","Europe/Astrakhan"],["Atlantic Standard Time","America/Halifax"],["Aus Central W. Standard Time","Australia/Eucla"],["Azerbaijan Standard Time","Asia/Baku"],["Azores Standard Time","Atlantic/Azores"],["Bahia Standard Time","America/Bahia"],["Bangladesh Standard Time","Asia/Dhaka"],["Belarus Standard Time","Europe/Minsk"],["Bougainville Standard Time","Pacific/Bougainville"],["Canada Central Standard Time","America/Regina"],["Cape Verde Standard Time","Atlantic/Cape_Verde"],["Caucasus Standard Time","Asia/Yerevan"],["Cen. Australia Standard Time","Australia/Adelaide"],["Central America Standard Time","America/Guatemala"],["Central Asia Standard Time","Asia/Bishkek"],["Central Brazilian Standard Time","America/Cuiaba"],["Central Europe Standard Time","Europe/Budapest"],["Central European Standard Time","Europe/Warsaw"],["Central Pacific Standard Time","Pacific/Guadalcanal"],["Central Standard Time","America/Chicago"],["Central Standard Time (Mexico)","America/Mexico_City"],["Chatham Islands Standard Time","Pacific/Chatham"],["China Standard Time","Asia/Shanghai"],["Cuba Standard Time","America/Havana"],["Dateline Standard Time","Etc/GMT+12"],["E. Africa Standard Time","Africa/Nairobi"],["E. Australia Standard Time","Australia/Brisbane"],["E. Europe Standard Time","Europe/Chisinau"],["E. South America Standard Time","America/Sao_Paulo"],["Easter Island Standard Time","Pacific/Easter"],["Eastern Standard Time","America/New_York"],["Eastern Standard Time (Mexico)","America/Cancun"],["Egypt Standard Time","Africa/Cairo"],["Ekaterinburg Standard Time","Asia/Yekaterinburg"],["FLE Standard Time","Europe/Kiev"],["Fiji Standard Time","Pacific/Fiji"],["GMT Standard Time","Europe/London"],["GTB Standard Time","Europe/Bucharest"],["Georgian Standard Time","Asia/Tbilisi"],["Greenland Standard Time","America/Godthab"],["Greenwich Standard Time","Atlantic/Reykjavik"],["Haiti Standard Time","America/Port-au-Prince"],["Hawaiian Standard Time","Pacific/Honolulu"],["India Standard Time","Asia/Calcutta"],["Iran Standard Time","Asia/Tehran"],["Israel Standard Time","Asia/Jerusalem"],["Jordan Standard Time","Asia/Amman"],["Kaliningrad Standard Time","Europe/Kaliningrad"],["Korea Standard Time","Asia/Seoul"],["Libya Standard Time","Africa/Tripoli"],["Line Islands Standard Time","Pacific/Kiritimati"],["Lord Howe Standard Time","Australia/Lord_Howe"],["Magadan Standard Time","Asia/Magadan"],["Magallanes Standard Time","America/Punta_Arenas"],["Marquesas Standard Time","Pacific/Marquesas"],["Mauritius Standard Time","Indian/Mauritius"],["Middle East Standard Time","Asia/Beirut"],["Montevideo Standard Time","America/Montevideo"],["Morocco Standard Time","Africa/Casablanca"],["Mountain Standard Time","America/Denver"],["Mountain Standard Time (Mexico)","America/Mazatlan"],["Myanmar Standard Time","Asia/Rangoon"],["N. Central Asia Standard Time","Asia/Novosibirsk"],["Namibia Standard Time","Africa/Windhoek"],["Nepal Standard Time","Asia/Katmandu"],["New Zealand Standard Time","Pacific/Auckland"],["Newfoundland Standard Time","America/St_Johns"],["Norfolk Standard Time","Pacific/Norfolk"],["North Asia East Standard Time","Asia/Irkutsk"],["North Asia Standard Time","Asia/Krasnoyarsk"],["North Korea Standard Time","Asia/Pyongyang"],["Omsk Standard Time","Asia/Omsk"],["Pacific SA Standard Time","America/Santiago"],["Pacific Standard Time","America/Los_Angeles"],["Pacific Standard Time (Mexico)","America/Tijuana"],["Pakistan Standard Time","Asia/Karachi"],["Paraguay Standard Time","America/Asuncion"],["Qyzylorda Standard Time","Asia/Qyzylorda"],["Romance Standard Time","Europe/Paris"],["Russia Time Zone 10","Asia/Srednekolymsk"],["Russia Time Zone 11","Asia/Kamchatka"],["Russia Time Zone 3","Europe/Samara"],["Russian Standard Time","Europe/Moscow"],["SA Eastern Standard Time","America/Cayenne"],["SA Pacific Standard Time","America/Bogota"],["SA Western Standard Time","America/La_Paz"],["SE Asia Standard Time","Asia/Bangkok"],["Saint Pierre Standard Time","America/Miquelon"],["Sakhalin Standard Time","Asia/Sakhalin"],["Samoa Standard Time","Pacific/Apia"],["Sao Tome Standard Time","Africa/Sao_Tome"],["Saratov Standard Time","Europe/Saratov"],["Singapore Standard Time","Asia/Singapore"],["South Africa Standard Time","Africa/Johannesburg"],["South Sudan Standard Time","Africa/Juba"],["Sri Lanka Standard Time","Asia/Colombo"],["Sudan Standard Time","Africa/Khartoum"],["Syria Standard Time","Asia/Damascus"],["Taipei Standard Time","Asia/Taipei"],["Tasmania Standard Time","Australia/Hobart"],["Tocantins Standard Time","America/Araguaina"],["Tokyo Standard Time","Asia/Tokyo"],["Tomsk Standard Time","Asia/Tomsk"],["Tonga Standard Time","Pacific/Tongatapu"],["Transbaikal Standard Time","Asia/Chita"],["Turkey Standard Time","Europe/Istanbul"],["Turks And Caicos Standard Time","America/Grand_Turk"],["US Eastern Standard Time","America/Indianapolis"],["US Mountain Standard Time","America/Phoenix"],["UTC","Etc/GMT"],["UTC+01","Etc/GMT-1"],["UTC+02","Etc/GMT-2"],["UTC+03","Etc/GMT-3"],["UTC+04","Etc/GMT-4"],["UTC+05","Etc/GMT-5"],["UTC+06","Etc/GMT-6"],["UTC+07","Etc/GMT-7"],["UTC+08","Etc/GMT-8"],["UTC+09","Etc/GMT-9"],["UTC+10","Etc/GMT-10"],["UTC+11","Etc/GMT-11"],["UTC+12","Etc/GMT-12"],["UTC+13","Etc/GMT-13"],["UTC+14","Etc/GMT-14"],["UTC-01","Etc/GMT+1"],["UTC-02","Etc/GMT+2"],["UTC-03","Etc/GMT+3"],["UTC-04","Etc/GMT+4"],["UTC-05","Etc/GMT+5"],["UTC-06","Etc/GMT+6"],["UTC-07","Etc/GMT+7"],["UTC-08","Etc/GMT+8"],["UTC-09","Etc/GMT+9"],["UTC-10","Etc/GMT+10"],["UTC-11","Etc/GMT+11"],["UTC-12","Etc/GMT+12"],["Ulaanbaatar Standard Time","Asia/Ulaanbaatar"],["Venezuela Standard Time","America/Caracas"],["Vladivostok Standard Time","Asia/Vladivostok"],["Volgograd Standard Time","Europe/Volgograd"],["W. Australia Standard Time","Australia/Perth"],["W. Central Africa Standard Time","Africa/Lagos"],["W. Europe Standard Time","Europe/Berlin"],["W. Mongolia Standard Time","Asia/Hovd"],["West Asia Standard Time","Asia/Tashkent"],["West Bank Standard Time","Asia/Hebron"],["West Pacific Standard Time","Pacific/Port_Moresby"],["Yakutsk Standard Time","Asia/Yakutsk"],["Yukon Standard Time","America/Whitehorse"]])});function G1i(t){return"timeZoneIANA"in t}function z1i(t){return t.startsWith("UTC")}function DS(t,e=!1){return{json:{read:{source:t,reader:(r,i)=>i[t]?Dde(i[t]):null},write:!!e&&{allowNull:!0,writer(r,i){i[t]=r?q1i(r):null}}}}}function Dde(t,e=Nx){return t?G1i(t)?t.timeZoneIANA:H1i(t,e):e}function q1i(t){return{timeZoneIANA:t}}function H1i(t,e=Nx){if(!t||!Znt.has(t.timeZone))return e;let r=Znt.get(t.timeZone);return z1i(t.timeZone)||t.respectsDaylightSaving?r:W1i(r)}function W1i(t){let e=$s.local().setZone(t),r=Math.min(e.set({month:1,day:1}).offset,e.set({month:5}).offset);return r===0?"Etc/UTC":`Etc/GMT${Hp.instance(-r).formatOffset(0,"narrow")}`}function CYt(t){let e=new Set(["etc/utc","etc/gmt","gmt"]),r=new Set(Intl.supportedValuesOf("timeZone").map(i=>i.toLowerCase()));return t===Nx||t===FD||e.has(t.toLowerCase())||r.has(t.toLowerCase())}var Nx,FD,a1,IYt,py=U(()=>{EYt();oy();Nx="system",FD="unknown",a1="UTC",IYt=Intl.DateTimeFormat().resolvedOptions().timeZone});function X1i(t){let e=Knt.get(t);if(!e){let r=Mm(),i=$1i[r]||r,s=I4e(t.timeZone??Nx),n={...t,timeZone:s};e=new Intl.DateTimeFormat(i,n),Knt.set(t,e)}return e}function E4e(t){return AYt[t]}function cO(t,e=Y1i){return X1i(e).format(t)}function I4e(t){switch(t){case Nx:return IYt;case FD:return a1;default:return t}}var kD,Nde,Rde,Fde,k7,eH,PYt,kde,Ode,AYt,MYt,$1i,Knt,Y1i,tH=U(()=>{xn();zw();py();oy();kD={year:"numeric",month:"numeric",day:"numeric"},Nde={year:"numeric",month:"long",day:"numeric"},Rde={year:"numeric",month:"short",day:"numeric"},Fde={year:"numeric",month:"long",weekday:"long",day:"numeric"},k7={hour:"numeric",minute:"numeric"},eH={...k7,second:"numeric"},PYt={hourCycle:"h23"},kde={...k7,...PYt},Ode={...eH,...PYt},AYt={"short-date":kD,"short-date-short-time":{...kD,...k7},"short-date-short-time-24":{...kD,...kde},"short-date-long-time":{...kD,...eH},"short-date-long-time-24":{...kD,...Ode},"short-date-le":kD,"short-date-le-short-time":{...kD,...k7},"short-date-le-short-time-24":{...kD,...kde},"short-date-le-long-time":{...kD,...eH},"short-date-le-long-time-24":{...kD,...Ode},"long-month-day-year":Nde,"long-month-day-year-short-time":{...Nde,...k7},"long-month-day-year-short-time-24":{...Nde,...kde},"long-month-day-year-long-time":{...Nde,...eH},"long-month-day-year-long-time-24":{...Nde,...Ode},"day-short-month-year":Rde,"day-short-month-year-short-time":{...Rde,...k7},"day-short-month-year-short-time-24":{...Rde,...kde},"day-short-month-year-long-time":{...Rde,...eH},"day-short-month-year-long-time-24":{...Rde,...Ode},"long-date":Fde,"long-date-short-time":{...Fde,...k7},"long-date-short-time-24":{...Fde,...kde},"long-date-long-time":{...Fde,...eH},"long-date-long-time-24":{...Fde,...Ode},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":k7,"long-time":eH},MYt=to()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),$1i={ar:"ar-u-nu-latn-ca-gregory"},Knt=new WeakMap,Y1i=AYt["short-date-short-time"];PQ(()=>{Knt=new WeakMap})});function Z1i(t){let e=t||DYt;if(!C4e.has(e)){let r=Mm(),i=J1i[Mm()]||r;C4e.set(e,new Intl.NumberFormat(i,t))}return C4e.get(e)}function O7(t,e){return Object.is(t,-0)&&(t=0),Z1i(e).format(t)}var J1i,C4e,DYt,P4e=U(()=>{zw();J1i={ar:"ar-u-nu-latn"},C4e=new WeakMap,DYt={};PQ(()=>{C4e=new WeakMap,DYt={}})});function Qnt(t,e,r={}){let{format:i={}}=r;return Ky(t,s=>K1i(s,e,i))}function K1i(t,e,r){let i,s,n=t.indexOf(":");if(n===-1?i=t.trim():(i=t.slice(0,n).trim(),s=t.slice(n+1).trim()),!i)return"";let o=sy(i,e);if(o==null)return"";let a=(s?r?.[s]:null)??r?.[i];return a?Q1i(o,a):s?e_i(o,s):eot(o)}function Q1i(t,e){switch(e.type){case"date":return cO(t,e.intlOptions);case"number":return O7(t,e.intlOptions);default:return NYt().warn("missing format descriptor for key {key}"),eot(t)}}function e_i(t,e){switch(e.toLowerCase()){case"dateformat":return cO(t);case"numberformat":return O7(t);default:return NYt().warn(`inline format is unsupported since 4.12: ${e}`),/^(dateformat|datestring)/i.test(e)?cO(t):/^numberformat/i.test(e)?O7(t):eot(t)}}function eot(t){switch(typeof t){case"string":return t;case"number":return O7(t);case"boolean":return""+t;default:return t instanceof Date?cO(t):""}}var NYt,tot=U(()=>{Be();Kc();Jg();tH();P4e();NYt=()=>At.getLogger("esri.intl.substitute")});function t_i(t){return t in OYt}function FYt(t){if(t_i(t)){let e=OYt[t];return e===!0?t:e}return null}function kYt(t){for(let e of kQ.keys())BYt(t.pattern,e)&&kQ.delete(e)}function LYt(t){return Lde.includes(t)||(kYt(t),Lde.unshift(t)),xl(()=>{let e=Lde.indexOf(t);e>-1&&(Lde.splice(e,1),kYt(t))})}async function Bde(t){let e=Mm();kQ.has(t)||kQ.set(t,r_i(t,e));let r=kQ.get(t);return r&&await i_i.add(r),r}function Ude(t){if(!RYt.test(t))return null;let e=RYt.exec(t);if(e===null)return null;let[,r,i]=e;return FYt(r+(i?"-"+i.toUpperCase():""))??FYt(r)}async function r_i(t,e){let r=[];for(let i of Lde)if(BYt(i.pattern,t))try{return await i.fetchMessageBundle(t,e)}catch(s){r.push(s)}throw r.length?new ge("intl:message-bundle-error",`Errors occurred while loading "${t}"`,{errors:r}):new ge("intl:no-message-bundle-loader",`No loader found for message bundle "${t}"`)}function BYt(t,e){return typeof t=="string"?e.startsWith(t):t.test(e)}var RYt,OYt,Lde,kQ,i_i,rH=U(()=>{Dr();Am();Vi();zw();RYt=/^([a-z]{2})(?:[-_]([A-Za-z]{2}))?$/,OYt={ar:!0,bg:!0,bs:!0,ca:!0,cs:!0,da:!0,de:!0,el:!0,en:!0,es:!0,et:!0,fi:!0,fr:!0,he:!0,hr:!0,hu:!0,id:!0,it:!0,ja:!0,ko:!0,lt:!0,lv:!0,nb:"no",nl:!0,no:!0,pl:!0,pt:"pt-BR","pt-BR":!0,"pt-PT":!0,ro:!0,ru:!0,sk:!0,sl:!0,sr:!0,sv:!0,th:!0,tr:!0,uk:!0,vi:!0,zh:"zh-CN","zh-CN":!0,"zh-HK":!0,"zh-TW":!0};Lde=[],kQ=new Map;PQ(()=>{kQ.clear()});i_i=new class{constructor(){this._numLoading=0,this._dfd=null}async waitForAll(){this._dfd&&await this._dfd.promise}add(t){return this._increase(),t.then(()=>this._decrease(),()=>this._decrease()),this.waitForAll()}_increase(){this._numLoading++,this._dfd||(this._dfd=qh())}_decrease(){this._numLoading=Math.max(this._numLoading-1,0),this._dfd&&this._numLoading===0&&(this._dfd.resolve(),this._dfd=null)}}});async function s_i(t,e,r,i){let s=e.exec(r);if(!s)throw new ge("esri-intl:invalid-bundle",`Bundle id "${r}" is not compatible with the pattern "${e}"`);let n=s[1]?`${s[1]}/`:"",o=s[2],a=Ude(i),l=`${n}${o}.json`,u=a?`${n}${o}_${a}.json`:l,c;try{c=await UYt(t(u))}catch(h){if(u===l)throw new ge("intl:unknown-bundle",`Bundle "${r}" cannot be loaded`,{error:h});try{c=await UYt(t(l))}catch(m){throw new ge("intl:unknown-bundle",`Bundle "${r}" cannot be loaded`,{error:m})}}return c}async function UYt(t){if(jYt.fetchBundleAsset!=null)return jYt.fetchBundleAsset(t);let e=await er(t,{responseType:"text"});return JSON.parse(e.data)}function VYt(t){return new rot(t)}var rot,jYt,GYt=U(()=>{Us();Dr();rH();rot=class{constructor({base:e="",pattern:r,location:i=new URL(window.location.href)}){let s;s=typeof i=="string"?n=>new URL(n,new URL(i,window.location.href)).href:i instanceof URL?n=>new URL(n,i).href:i,this.pattern=typeof r=="string"?new RegExp(`^${r}`):r,this.getAssetUrl=s,e=e?e.endsWith("/")?e:e+"/":"",this.matcher=new RegExp(`^${e}(?:(.*)\\/)?(.*)$`)}fetchMessageBundle(e,r){return s_i(this.getAssetUrl,this.matcher,e,r)}};jYt={}});var jde=U(()=>{tH();P4e();tot();zw();rH();rH();GYt();ub();LYt(VYt({pattern:"esri/",location:Gl}))});function zYt(t){return typeof t=="string"?document.getElementById(t):t??null}var qYt=U(()=>{});var L7,iot,HYt,Vde,cb,OD=U(()=>{Re();va();Vi();Le();(function(t){t[t.PENDING=0]="PENDING",t[t.RESOLVED=1]="RESOLVED",t[t.REJECTED=2]="REJECTED"})(L7||(L7={}));iot=class{constructor(){this._resolver=qh(),this._status=L7.PENDING,this._resolvingPromises=[],this._resolver.promise.then(()=>{this._status=L7.RESOLVED,this._cleanUp()},()=>{this._status=L7.REJECTED,this._cleanUp()}),this.promise=this._resolver.promise}destroy(){this._cleanUp()}addResolvingPromise(e){this._resolvingPromises.push(e),this._tryResolve()}isResolved(){return this._status===L7.RESOLVED}isRejected(){return this._status===L7.REJECTED}isFulfilled(){return this._status!==L7.PENDING}abort(){this._resolver.reject(aa())}_cleanUp(){this._allPromise=null,this._resolvingPromises=null}_tryResolve(){if(this.isFulfilled())return;let e=qh(),r=[...this._resolvingPromises,e.promise],i=this._allPromise=Promise.all(r);i.then(()=>{this.isFulfilled()||this._allPromise!==i||this._resolver.resolve()},s=>{this.isFulfilled()||this._allPromise!==i||ua(s)||this._resolver.reject(s)}),e.resolve()}},HYt=t=>{let e=class extends t{constructor(...r){super(...r),this._promiseProps=new iot,this.addResolvingPromise(Promise.resolve())}destroy(){this._promiseProps.destroy()}isResolved(){return this._promiseProps.isResolved()}isRejected(){return this._promiseProps.isRejected()}isFulfilled(){return this._promiseProps.isFulfilled()}when(r,i){return this._promiseProps.promise.then(()=>this).then(r,i)}catch(r){return this.when(null,r)}addResolvingPromise(r){r&&!this._promiseProps.isFulfilled()&&this._promiseProps.addResolvingPromise("_promiseProps"in r?r.when():r)}};return e=d([Y("esri.core.Promise")],e),e},Vde=class extends HYt(ys){};Vde=d([Y("esri.core.Promise")],Vde),function(t){t.EsriPromiseMixin=HYt}(Vde||(Vde={}));cb=Vde});function WYt(t,e,r){return jC(t.map((i,s)=>e.apply(r,[i,s])))}async function $Yt(t,e,r){return(await jC(t.map((i,s)=>e.apply(r,[i,s])))).map(i=>i.value)}function sot(t){return{ok:!0,value:t}}function not(t){return{ok:!1,error:t}}function l_i(t){return t!=null&&t.ok===!0?t.value:null}function u_i(t){return t!=null&&t.ok===!1?t.error:null}async function hb(t){if(t==null)return{ok:!1,error:new Error("no promise provided")};try{return sot(await t)}catch(e){return not(e)}}async function Gde(t){try{return sot(await t)}catch(e){return Fn(e),not(e)}}function qw(t,e){return new B7(t,e)}var B7,pb=U(()=>{Re();va();Za();Vi();Ue();Le();B7=class extends ys{get value(){return l_i(this._result)}get error(){return u_i(this._result)}get finished(){return this._result!=null}constructor(t,e){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=zK(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;let{signal:r}=this._abortController;this.promise=t(r),this.promise.then(i=>{this._result=sot(i),this._cleanup()},i=>{this._result=not(i),this._cleanup()}),this._abortHandle=Mc(e,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=qp(this._abortHandle),this._abortController=null}};d([x()],B7.prototype,"value",null),d([x()],B7.prototype,"error",null),d([x()],B7.prototype,"finished",null),d([x()],B7.prototype,"promise",void 0),d([x()],B7.prototype,"_result",void 0),B7=d([Y("esri.core.asyncUtils.ReactiveTask")],B7)});function rn(t,e,r={}){return oot(t,e,r,YYt)}function EE(t,e,r={}){return oot(t,e,r,XYt)}function oot(t,e,r={},i){let s=null,n=r.once?(o,a)=>{i(o)&&(qp(s),e(o,a))}:(o,a)=>{i(o)&&e(o,a)};if(s=ZHt(t,n,r.sync,r.equals),r.initial){let o=t();n(o,o)}return s}function $p(t,e,r,i={}){let s=null,n=null,o=null;function a(){s&&n&&(n.remove(),i.onListenerRemove?.(s),s=null,n=null)}function l(c){i.once&&i.once&&qp(o),r(c)}let u=rn(t,(c,h)=>{a(),JK(c)&&(s=c,n=$A(c,e,l),i.onListenerAdd?.(c))},{sync:i.sync,initial:!0});return o=xl(()=>{u.remove(),a()}),o}function s_(t,e){return c_i(t,XYt,e)}function c_i(t,e,r){if(Dc(r))return Promise.reject(aa());let i=t();if(e?.(i))return Promise.resolve(i);let s=null;function n(){s=qp(s)}return new Promise((o,a)=>{s=e1([Mc(r,()=>{n(),a(aa())}),oot(t,l=>{n(),o(l)},{sync:!1,once:!0},e??YYt)])})}function YYt(t){return!0}function XYt(t){return!!t}var $l,YC,l1,Ka=U(()=>{pb();Mo();kq();Am();Za();Vi();yst();Nme();$l={sync:!0},YC={initial:!0},l1={sync:!0,initial:!0}});function I0(){if(h_i)return crypto.randomUUID();let t=crypto.getRandomValues(new Uint16Array(8));t[3]=4095&t[3]|16384,t[4]=16383&t[4]|32768;let e=r=>t[r].toString(16).padStart(4,"0");return e(0)+e(1)+"-"+e(2)+"-"+e(3)+"-"+e(4)+"-"+e(5)+e(6)+e(7)}function OQ(){return`{${I0().toUpperCase()}}`}function JYt(){return`{${I0()}}`}function zde(t){let e=t.toUpperCase();return t[0]!=="{"?`{${e}}`:e}var h_i,Hw=U(()=>{h_i="randomUUID"in crypto});function tXt(){var t={};return t["align-content"]=!1,t["align-items"]=!1,t["align-self"]=!1,t["alignment-adjust"]=!1,t["alignment-baseline"]=!1,t.all=!1,t["anchor-point"]=!1,t.animation=!1,t["animation-delay"]=!1,t["animation-direction"]=!1,t["animation-duration"]=!1,t["animation-fill-mode"]=!1,t["animation-iteration-count"]=!1,t["animation-name"]=!1,t["animation-play-state"]=!1,t["animation-timing-function"]=!1,t.azimuth=!1,t["backface-visibility"]=!1,t.background=!0,t["background-attachment"]=!0,t["background-clip"]=!0,t["background-color"]=!0,t["background-image"]=!0,t["background-origin"]=!0,t["background-position"]=!0,t["background-repeat"]=!0,t["background-size"]=!0,t["baseline-shift"]=!1,t.binding=!1,t.bleed=!1,t["bookmark-label"]=!1,t["bookmark-level"]=!1,t["bookmark-state"]=!1,t.border=!0,t["border-bottom"]=!0,t["border-bottom-color"]=!0,t["border-bottom-left-radius"]=!0,t["border-bottom-right-radius"]=!0,t["border-bottom-style"]=!0,t["border-bottom-width"]=!0,t["border-collapse"]=!0,t["border-color"]=!0,t["border-image"]=!0,t["border-image-outset"]=!0,t["border-image-repeat"]=!0,t["border-image-slice"]=!0,t["border-image-source"]=!0,t["border-image-width"]=!0,t["border-left"]=!0,t["border-left-color"]=!0,t["border-left-style"]=!0,t["border-left-width"]=!0,t["border-radius"]=!0,t["border-right"]=!0,t["border-right-color"]=!0,t["border-right-style"]=!0,t["border-right-width"]=!0,t["border-spacing"]=!0,t["border-style"]=!0,t["border-top"]=!0,t["border-top-color"]=!0,t["border-top-left-radius"]=!0,t["border-top-right-radius"]=!0,t["border-top-style"]=!0,t["border-top-width"]=!0,t["border-width"]=!0,t.bottom=!1,t["box-decoration-break"]=!0,t["box-shadow"]=!0,t["box-sizing"]=!0,t["box-snap"]=!0,t["box-suppress"]=!0,t["break-after"]=!0,t["break-before"]=!0,t["break-inside"]=!0,t["caption-side"]=!1,t.chains=!1,t.clear=!0,t.clip=!1,t["clip-path"]=!1,t["clip-rule"]=!1,t.color=!0,t["color-interpolation-filters"]=!0,t["column-count"]=!1,t["column-fill"]=!1,t["column-gap"]=!1,t["column-rule"]=!1,t["column-rule-color"]=!1,t["column-rule-style"]=!1,t["column-rule-width"]=!1,t["column-span"]=!1,t["column-width"]=!1,t.columns=!1,t.contain=!1,t.content=!1,t["counter-increment"]=!1,t["counter-reset"]=!1,t["counter-set"]=!1,t.crop=!1,t.cue=!1,t["cue-after"]=!1,t["cue-before"]=!1,t.cursor=!1,t.direction=!1,t.display=!0,t["display-inside"]=!0,t["display-list"]=!0,t["display-outside"]=!0,t["dominant-baseline"]=!1,t.elevation=!1,t["empty-cells"]=!1,t.filter=!1,t.flex=!1,t["flex-basis"]=!1,t["flex-direction"]=!1,t["flex-flow"]=!1,t["flex-grow"]=!1,t["flex-shrink"]=!1,t["flex-wrap"]=!1,t.float=!1,t["float-offset"]=!1,t["flood-color"]=!1,t["flood-opacity"]=!1,t["flow-from"]=!1,t["flow-into"]=!1,t.font=!0,t["font-family"]=!0,t["font-feature-settings"]=!0,t["font-kerning"]=!0,t["font-language-override"]=!0,t["font-size"]=!0,t["font-size-adjust"]=!0,t["font-stretch"]=!0,t["font-style"]=!0,t["font-synthesis"]=!0,t["font-variant"]=!0,t["font-variant-alternates"]=!0,t["font-variant-caps"]=!0,t["font-variant-east-asian"]=!0,t["font-variant-ligatures"]=!0,t["font-variant-numeric"]=!0,t["font-variant-position"]=!0,t["font-weight"]=!0,t.grid=!1,t["grid-area"]=!1,t["grid-auto-columns"]=!1,t["grid-auto-flow"]=!1,t["grid-auto-rows"]=!1,t["grid-column"]=!1,t["grid-column-end"]=!1,t["grid-column-start"]=!1,t["grid-row"]=!1,t["grid-row-end"]=!1,t["grid-row-start"]=!1,t["grid-template"]=!1,t["grid-template-areas"]=!1,t["grid-template-columns"]=!1,t["grid-template-rows"]=!1,t["hanging-punctuation"]=!1,t.height=!0,t.hyphens=!1,t.icon=!1,t["image-orientation"]=!1,t["image-resolution"]=!1,t["ime-mode"]=!1,t["initial-letters"]=!1,t["inline-box-align"]=!1,t["justify-content"]=!1,t["justify-items"]=!1,t["justify-self"]=!1,t.left=!1,t["letter-spacing"]=!0,t["lighting-color"]=!0,t["line-box-contain"]=!1,t["line-break"]=!1,t["line-grid"]=!1,t["line-height"]=!1,t["line-snap"]=!1,t["line-stacking"]=!1,t["line-stacking-ruby"]=!1,t["line-stacking-shift"]=!1,t["line-stacking-strategy"]=!1,t["list-style"]=!0,t["list-style-image"]=!0,t["list-style-position"]=!0,t["list-style-type"]=!0,t.margin=!0,t["margin-bottom"]=!0,t["margin-left"]=!0,t["margin-right"]=!0,t["margin-top"]=!0,t["marker-offset"]=!1,t["marker-side"]=!1,t.marks=!1,t.mask=!1,t["mask-box"]=!1,t["mask-box-outset"]=!1,t["mask-box-repeat"]=!1,t["mask-box-slice"]=!1,t["mask-box-source"]=!1,t["mask-box-width"]=!1,t["mask-clip"]=!1,t["mask-image"]=!1,t["mask-origin"]=!1,t["mask-position"]=!1,t["mask-repeat"]=!1,t["mask-size"]=!1,t["mask-source-type"]=!1,t["mask-type"]=!1,t["max-height"]=!0,t["max-lines"]=!1,t["max-width"]=!0,t["min-height"]=!0,t["min-width"]=!0,t["move-to"]=!1,t["nav-down"]=!1,t["nav-index"]=!1,t["nav-left"]=!1,t["nav-right"]=!1,t["nav-up"]=!1,t["object-fit"]=!1,t["object-position"]=!1,t.opacity=!1,t.order=!1,t.orphans=!1,t.outline=!1,t["outline-color"]=!1,t["outline-offset"]=!1,t["outline-style"]=!1,t["outline-width"]=!1,t.overflow=!1,t["overflow-wrap"]=!1,t["overflow-x"]=!1,t["overflow-y"]=!1,t.padding=!0,t["padding-bottom"]=!0,t["padding-left"]=!0,t["padding-right"]=!0,t["padding-top"]=!0,t.page=!1,t["page-break-after"]=!1,t["page-break-before"]=!1,t["page-break-inside"]=!1,t["page-policy"]=!1,t.pause=!1,t["pause-after"]=!1,t["pause-before"]=!1,t.perspective=!1,t["perspective-origin"]=!1,t.pitch=!1,t["pitch-range"]=!1,t["play-during"]=!1,t.position=!1,t["presentation-level"]=!1,t.quotes=!1,t["region-fragment"]=!1,t.resize=!1,t.rest=!1,t["rest-after"]=!1,t["rest-before"]=!1,t.richness=!1,t.right=!1,t.rotation=!1,t["rotation-point"]=!1,t["ruby-align"]=!1,t["ruby-merge"]=!1,t["ruby-position"]=!1,t["shape-image-threshold"]=!1,t["shape-outside"]=!1,t["shape-margin"]=!1,t.size=!1,t.speak=!1,t["speak-as"]=!1,t["speak-header"]=!1,t["speak-numeral"]=!1,t["speak-punctuation"]=!1,t["speech-rate"]=!1,t.stress=!1,t["string-set"]=!1,t["tab-size"]=!1,t["table-layout"]=!1,t["text-align"]=!0,t["text-align-last"]=!0,t["text-combine-upright"]=!0,t["text-decoration"]=!0,t["text-decoration-color"]=!0,t["text-decoration-line"]=!0,t["text-decoration-skip"]=!0,t["text-decoration-style"]=!0,t["text-emphasis"]=!0,t["text-emphasis-color"]=!0,t["text-emphasis-position"]=!0,t["text-emphasis-style"]=!0,t["text-height"]=!0,t["text-indent"]=!0,t["text-justify"]=!0,t["text-orientation"]=!0,t["text-overflow"]=!0,t["text-shadow"]=!0,t["text-space-collapse"]=!0,t["text-transform"]=!0,t["text-underline-position"]=!0,t["text-wrap"]=!0,t.top=!1,t.transform=!1,t["transform-origin"]=!1,t["transform-style"]=!1,t.transition=!1,t["transition-delay"]=!1,t["transition-duration"]=!1,t["transition-property"]=!1,t["transition-timing-function"]=!1,t["unicode-bidi"]=!1,t["vertical-align"]=!1,t.visibility=!1,t["voice-balance"]=!1,t["voice-duration"]=!1,t["voice-family"]=!1,t["voice-pitch"]=!1,t["voice-range"]=!1,t["voice-rate"]=!1,t["voice-stress"]=!1,t["voice-volume"]=!1,t.volume=!1,t["white-space"]=!1,t.widows=!1,t.width=!0,t["will-change"]=!1,t["word-break"]=!0,t["word-spacing"]=!0,t["word-wrap"]=!0,t["wrap-flow"]=!1,t["wrap-through"]=!1,t["writing-mode"]=!1,t["z-index"]=!1,t}function p_i(t,e,r){}function m_i(t,e,r){}function f_i(t,e){return d_i.test(e)?"":e}function y_i(t,e){t=qde.trimRight(t),t[t.length-1]!==";"&&(t+=";");var r=t.length,i=!1,s=0,n=0,o="";function a(){if(!i){var c=qde.trim(t.slice(s,n)),h=c.indexOf(":");if(h!==-1){var m=qde.trim(c.slice(0,h)),f=qde.trim(c.slice(h+1));if(m){var _=e(s,o.length,m,f,c);_&&(o+=_+"; ")}}}s=n+1}for(;n<r;n++){var l=t[n];if(l==="/"&&t[n+1]==="*"){var u=t.indexOf("*/",n+2);if(u===-1)break;n=u+1,s=n+1,i=!1}else l==="("?i=!0:l===")"?i=!1:l===";"?i||a():l===`
|
|
7
7
|
`&&a()}return qde.trim(o)}function ZYt(t){return t==null}function v_i(t){var e={};for(var r in t)e[r]=t[r];return e}function rXt(t){t=v_i(t||{}),t.whiteList=t.whiteList||A4e.whiteList,t.onAttr=t.onAttr||A4e.onAttr,t.onIgnoreAttr=t.onIgnoreAttr||A4e.onIgnoreAttr,t.safeAttrValue=t.safeAttrValue||A4e.safeAttrValue,this.options=t}function iXt(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}function T_i(t,e,r){}function E_i(t,e,r){}function I_i(t,e,r){}function C_i(t,e,r){}function nXt(t){return t.replace(A_i,"<").replace(M_i,">")}function P_i(t,e,r,i){if(r=hXt(r),e==="href"||e==="src"){if(r=F4e.trim(r),r==="#")return"#";if(!(r.substr(0,7)==="http://"||r.substr(0,8)==="https://"||r.substr(0,7)==="mailto:"||r.substr(0,4)==="tel:"||r.substr(0,11)==="data:image/"||r.substr(0,6)==="ftp://"||r.substr(0,2)==="./"||r.substr(0,3)==="../"||r[0]==="#"||r[0]==="/"))return""}else if(e==="background"){if(M4e.lastIndex=0,M4e.test(r))return""}else if(e==="style"){if(KYt.lastIndex=0,KYt.test(r)||(QYt.lastIndex=0,QYt.test(r)&&(M4e.lastIndex=0,M4e.test(r))))return"";i!==!1&&(i=i||sXt,r=i.process(r))}return r=pXt(r),r}function oXt(t){return t.replace(D_i,""")}function aXt(t){return t.replace(N_i,'"')}function lXt(t){return t.replace(R_i,function(r,i){return i[0]==="x"||i[0]==="X"?String.fromCharCode(parseInt(i.substr(1),16)):String.fromCharCode(parseInt(i,10))})}function uXt(t){return t.replace(F_i,":").replace(k_i," ")}function cXt(t){for(var e="",r=0,i=t.length;r<i;r++)e+=t.charCodeAt(r)<32?" ":t.charAt(r);return F4e.trim(e)}function hXt(t){return t=aXt(t),t=lXt(t),t=uXt(t),t=cXt(t),t}function pXt(t){return t=oXt(t),t=nXt(t),t}function O_i(){return""}function L_i(t,e){typeof e!="function"&&(e=function(){});var r=!Array.isArray(t);function i(o){return r?!0:F4e.indexOf(t,o)!==-1}var s=[],n=!1;return{onIgnoreTag:function(o,a,l){if(i(o))if(l.isClosing){var u="[/removed]",c=l.position+u.length;return s.push([n!==!1?n:l.position,c]),n=!1,u}else return n||(n=l.position),"[removed]";else return e(o,a,l)},remove:function(o){var a="",l=0;return F4e.forEach(s,function(u){a+=o.slice(l,u[0]),l=u[1]}),a+=o.slice(l),a}}}function B_i(t){for(var e="",r=0;r<t.length;){var i=t.indexOf("<!--",r);if(i===-1){e+=t.slice(r);break}e+=t.slice(r,i);var s=t.indexOf("-->",i);if(s===-1)break;r=s+3}return e}function U_i(t){var e=t.split("");return e=e.filter(function(r){var i=r.charCodeAt(0);return i===127?!1:i<=31?i===10||i===13:!0}),e.join("")}function j_i(t){var e=U7.spaceIndex(t),r;return e===-1?r=t.slice(1,-1):r=t.slice(1,e+1),r=U7.trim(r).toLowerCase(),r.slice(0,1)==="/"&&(r=r.slice(1)),r.slice(-1)==="/"&&(r=r.slice(0,-1)),r}function V_i(t){return t.slice(0,2)==="</"}function G_i(t,e,r){var i="",s=0,n=!1,o=!1,a=0,l=t.length,u="",c="";e:for(a=0;a<l;a++){var h=t.charAt(a);if(n===!1){if(h==="<"){n=a;continue}}else if(o===!1){if(h==="<"){i+=r(t.slice(s,a)),n=a,s=a;continue}if(h===">"){i+=r(t.slice(s,n)),c=t.slice(n,a+1),u=j_i(c),i+=e(n,i.length,u,c,V_i(c)),s=a+1,n=!1;continue}if(h==='"'||h==="'")for(var m=1,f=t.charAt(a-m);f.trim()===""||f==="=";){if(f==="="){o=h;continue e}f=t.charAt(a-++m)}}else if(h===o){o=!1;continue}}return s<t.length&&(i+=r(t.substr(s))),i}function q_i(t,e){var r=0,i=0,s=[],n=!1,o=t.length;function a(m,f){if(m=U7.trim(m),m=m.replace(z_i,"").toLowerCase(),!(m.length<1)){var _=e(m,f||"");_&&s.push(_)}}for(var l=0;l<o;l++){var u=t.charAt(l),c,h;if(n===!1&&u==="="){n=t.slice(r,l),r=l+1,i=t.charAt(r)==='"'||t.charAt(r)==="'"?r:W_i(t,l+1);continue}if(n!==!1&&l===i){if(h=t.indexOf(u,l+1),h===-1)break;c=U7.trim(t.slice(i+1,h)),a(n,c),n=!1,l=h,r=l+1;continue}if(/\s|\n|\t/.test(u))if(t=t.replace(/\s|\n|\t/g," "),n===!1)if(h=H_i(t,l),h===-1){c=U7.trim(t.slice(r,l)),a(c),n=!1,r=l+1;continue}else{l=h-1;continue}else if(h=$_i(t,l-1),h===-1){c=U7.trim(t.slice(r,l)),c=eXt(c),a(n,c),n=!1,r=l+1;continue}else continue}return r<t.length&&(n===!1?a(t.slice(r)):a(n,eXt(U7.trim(t.slice(r))))),U7.trim(s.join(" "))}function H_i(t,e){for(;e<t.length;e++){var r=t[e];if(r!==" ")return r==="="?e:-1}}function W_i(t,e){for(;e<t.length;e++){var r=t[e];if(r!==" ")return r==="'"||r==='"'?e:-1}}function $_i(t,e){for(;e>0;e--){var r=t[e];if(r!==" ")return r==="="?e:-1}}function Y_i(t){return t[0]==='"'&&t[t.length-1]==='"'||t[0]==="'"&&t[t.length-1]==="'"}function eXt(t){return Y_i(t)?t.substr(1,t.length-2):t}function D4e(t){return t==null}function K_i(t){var e=N4e.spaceIndex(t);if(e===-1)return{html:"",closing:t[t.length-2]==="/"};t=N4e.trim(t.slice(e+1,-1));var r=t[t.length-1]==="/";return r&&(t=N4e.trim(t.slice(0,-1))),{html:t,closing:r}}function Q_i(t){var e={};for(var r in t)e[r]=t[r];return e}function ebi(t){var e={};for(var r in t)Array.isArray(t[r])?e[r.toLowerCase()]=t[r].map(function(i){return i.toLowerCase()}):e[r.toLowerCase()]=t[r];return e}function dXt(t){t=Q_i(t||{}),t.stripIgnoreTag&&(t.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),t.onIgnoreTag=i4.onIgnoreTagStripAll),t.whiteList||t.allowList?t.whiteList=ebi(t.whiteList||t.allowList):t.whiteList=i4.whiteList,t.onTag=t.onTag||i4.onTag,t.onTagAttr=t.onTagAttr||i4.onTagAttr,t.onIgnoreTag=t.onIgnoreTag||i4.onIgnoreTag,t.onIgnoreTagAttr=t.onIgnoreTagAttr||i4.onIgnoreTagAttr,t.safeAttrValue=t.safeAttrValue||i4.safeAttrValue,t.escapeHtml=t.escapeHtml||i4.escapeHtml,this.options=t,t.css===!1?this.cssFilter=!1:(t.css=t.css||{},this.cssFilter=new X_i(t.css))}var R4e,aot,Qg,lot,iH,d_i,g_i,qde,__i,A4e,b_i,x_i,uot,cot,w_i,S_i,F4e,sXt,A_i,M_i,D_i,N_i,R_i,F_i,k_i,M4e,KYt,QYt,k4e,U7,z_i,X_i,i4,mXt,J_i,Z_i,N4e,tbi,LQ,rbi,fXt,gXt=U(()=>{R4e=function(){return R4e=Object.assign||function(e){for(var r,i=1,s=arguments.length;i<s;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},R4e.apply(this,arguments)},aot={exports:{}},Qg={},lot={exports:{}},iH={};d_i=/javascript\s*\:/img;iH.whiteList=tXt();iH.getDefaultWhiteList=tXt;iH.onAttr=p_i;iH.onIgnoreAttr=m_i;iH.safeAttrValue=f_i;g_i={indexOf:function(t,e){var r,i;if(Array.prototype.indexOf)return t.indexOf(e);for(r=0,i=t.length;r<i;r++)if(t[r]===e)return r;return-1},forEach:function(t,e,r){var i,s;if(Array.prototype.forEach)return t.forEach(e,r);for(i=0,s=t.length;i<s;i++)e.call(r,t[i],i,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(t){return String.prototype.trimRight?t.trimRight():t.replace(/(\s*$)/g,"")}},qde=g_i;__i=y_i,A4e=iH,b_i=__i;rXt.prototype.process=function(t){if(t=t||"",t=t.toString(),!t)return"";var e=this,r=e.options,i=r.whiteList,s=r.onAttr,n=r.onIgnoreAttr,o=r.safeAttrValue,a=b_i(t,function(l,u,c,h,m){var f=i[c],_=!1;if(f===!0?_=f:typeof f=="function"?_=f(h):f instanceof RegExp&&(_=f.test(h)),_!==!0&&(_=!1),h=o(c,h),!!h){var v={position:u,sourcePosition:l,source:m,isWhite:_};if(_){var E=s(c,h,v);return ZYt(E)?c+":"+h:E}else{var E=n(c,h,v);if(!ZYt(E))return E}}});return a};x_i=rXt;(function(t,e){var r=iH,i=x_i;function s(o,a){var l=new i(a);return l.process(o)}e=t.exports=s,e.FilterCSS=i;for(var n in r)e[n]=r[n]})(lot,lot.exports);uot=lot.exports,cot={indexOf:function(t,e){var r,i;if(Array.prototype.indexOf)return t.indexOf(e);for(r=0,i=t.length;r<i;r++)if(t[r]===e)return r;return-1},forEach:function(t,e,r){var i,s;if(Array.prototype.forEach)return t.forEach(e,r);for(i=0,s=t.length;i<s;i++)e.call(r,t[i],i,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(t){var e=/\s|\n|\t/,r=e.exec(t);return r?r.index:-1}},w_i=uot.FilterCSS,S_i=uot.getDefaultWhiteList,F4e=cot;sXt=new w_i;A_i=/</g,M_i=/>/g,D_i=/"/g,N_i=/"/g,R_i=/&#([a-zA-Z0-9]*);?/gim,F_i=/:?/gim,k_i=/&newline;?/gim,M4e=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,KYt=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,QYt=/u\s*r\s*l\s*\(.*/gi;Qg.whiteList=iXt();Qg.getDefaultWhiteList=iXt;Qg.onTag=T_i;Qg.onIgnoreTag=E_i;Qg.onTagAttr=I_i;Qg.onIgnoreTagAttr=C_i;Qg.safeAttrValue=P_i;Qg.escapeHtml=nXt;Qg.escapeQuote=oXt;Qg.unescapeQuote=aXt;Qg.escapeHtmlEntities=lXt;Qg.escapeDangerHtml5Entities=uXt;Qg.clearNonPrintableCharacter=cXt;Qg.friendlyAttrValue=hXt;Qg.escapeAttrValue=pXt;Qg.onIgnoreTagStripAll=O_i;Qg.StripTagBody=L_i;Qg.stripCommentTag=B_i;Qg.stripBlankChar=U_i;Qg.cssFilter=sXt;Qg.getDefaultCSSWhiteList=S_i;k4e={},U7=cot;z_i=/[^a-zA-Z0-9\\_:.-]/gim;k4e.parseTag=G_i;k4e.parseAttr=q_i;X_i=uot.FilterCSS,i4=Qg,mXt=k4e,J_i=mXt.parseTag,Z_i=mXt.parseAttr,N4e=cot;dXt.prototype.process=function(t){if(t=t||"",t=t.toString(),!t)return"";var e=this,r=e.options,i=r.whiteList,s=r.onTag,n=r.onIgnoreTag,o=r.onTagAttr,a=r.onIgnoreTagAttr,l=r.safeAttrValue,u=r.escapeHtml,c=e.cssFilter;r.stripBlankChar&&(t=i4.stripBlankChar(t)),r.allowCommentTag||(t=i4.stripCommentTag(t));var h=!1;r.stripIgnoreTagBody&&(h=i4.StripTagBody(r.stripIgnoreTagBody,n),n=h.onIgnoreTag);var m=J_i(t,function(f,_,v,E,C){var A={sourcePosition:f,position:_,isClosing:C,isWhite:Object.prototype.hasOwnProperty.call(i,v)},M=s(v,E,A);if(!D4e(M))return M;if(A.isWhite){if(A.isClosing)return"</"+v+">";var N=K_i(E),F=i[v],O=Z_i(N.html,function(B,z){var G=N4e.indexOf(F,B)!==-1,H=o(v,B,z,G);return D4e(H)?G?(z=l(v,B,z,c),z?B+'="'+z+'"':B):(H=a(v,B,z,G),D4e(H)?void 0:H):H});return E="<"+v,O&&(E+=" "+O),N.closing&&(E+=" /"),E+=">",E}else return M=n(v,E,A),D4e(M)?u(E):M},u);return h&&(m=h.remove(m)),m};tbi=dXt;(function(t,e){var r=Qg,i=k4e,s=tbi;function n(a,l){var u=new s(l);return u.process(a)}e=t.exports=n,e.filterXSS=n,e.FilterXSS=s,function(){for(var a in r)e[a]=r[a];for(var l in i)e[l]=i[l]}();function o(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}o()&&(self.filterXSS=t.exports)})(aot,aot.exports);LQ=aot.exports,rbi=function(t){if(typeof t!="object"||t===null||Object.prototype.toString.call(t)!=="[object Object]")return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e},fXt=function(){function t(e,r){var i=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],code:["style"],dd:["style"],del:["style"],details:["open","style"],div:["align","aria-hidden","aria-label","style"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],main:["style"],mark:["style"],nav:["style"],ol:[],p:["style"],pre:["style"],section:["style"],source:["media","src","type"],span:["aria-hidden","aria-label","style"],strong:[],sub:["style"],summary:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],time:["style"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=R4e(R4e({},LQ.getDefaultCSSWhiteList()),{"align-items":!0,"align-self":!0,flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,float:!0,gap:!0,grid:!0,"grid-area":!0,"grid-auto-columns":!0,"grid-auto-flow":!0,"grid-auto-rows":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-start":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-start":!0,"grid-template":!0,"grid-template-areas":!0,"grid-template-columns":!0,"grid-template-rows":!0,"justify-content":!0,"justify-items":!0,"justify-self":!0,"line-height":!0,overflow:!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(n,o,a,l){return n==="a"&&o==="href"||(n==="img"||n==="source")&&o==="src"?i.sanitizeUrl(a):LQ.safeAttrValue(n,o,a,l)}},this._entityMap={"&":"8","<":"<",">":">",'"':""","'":"'","/":"/"};var s;e&&!r?s=e:e&&r?(s=Object.create(this.arcgisFilterOptions),s.css={whiteList:this.arcgisCSSWhiteList},Object.keys(e).forEach(function(n){if(n==="whiteList")s.whiteList=i._extendObjectOfArrays([i.arcgisWhiteList,e.whiteList||{}]);else if(n==="css"){var o=e.css.whiteList;o!=null&&e.css instanceof Object&&Object.keys(o).forEach(function(a){return s.css.whiteList[a]=o[a]})}else s[n]=e[n]})):(s=Object.create(this.arcgisFilterOptions),s.whiteList=this.arcgisWhiteList,s.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=s,this._xssFilter=new LQ.FilterXSS(s)}return t.prototype.sanitize=function(e,r){switch(r===void 0&&(r={}),typeof e){case"number":return isNaN(e)||!isFinite(e)?null:e;case"boolean":return e;case"string":return this._xssFilter.process(e);case"object":return this._iterateOverObject(e,r);default:return r.allowUndefined&&typeof e>"u"?void 0:null}},t.prototype.sanitizeUrl=function(e,r){var i=(r??{}).isProtocolRequired,s=i===void 0?!0:i,n=this._trim(e.substring(0,e.indexOf(":"))),o=e==="/",a=/^#/.test(e),l=n&&this.allowedProtocols.indexOf(n.toLowerCase())>-1;return o||a||l?LQ.escapeAttrValue(e):!n&&!s?LQ.escapeAttrValue("https://".concat(e)):""},t.prototype.sanitizeHTMLAttribute=function(e,r,i,s){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(e,r,i,s):LQ.safeAttrValue(e,r,i,s)},t.prototype.validate=function(e,r){r===void 0&&(r={});var i=this.sanitize(e,r);return{isValid:e===i,sanitized:i}},t.prototype.encodeHTML=function(e){var r=this;return String(e).replace(/[&<>"'\/]/g,function(i){return r._entityMap[i]})},t.prototype.encodeAttrValue=function(e){var r=/^[a-zA-Z0-9]$/;return String(e).replace(/[\x00-\xFF]/g,function(i,s){return r.test(i)?i:"&#x".concat(Number(e.charCodeAt(s)).toString(16),";")})},t.prototype._extendObjectOfArrays=function(e){var r={};return e.forEach(function(i){Object.keys(i).forEach(function(s){Array.isArray(i[s])&&Array.isArray(r[s])?r[s]=r[s].concat(i[s]):r[s]=i[s]})}),r},t.prototype._iterateOverObject=function(e,r){var i=this;r===void 0&&(r={});try{var s=!1,n=void 0;if(Array.isArray(e))n=e.reduce(function(a,l){var u=i.validate(l,r);return u.isValid?a.concat([l]):(s=!0,a.concat([u.sanitized]))},[]);else if(rbi(e)){var o=Object.keys(e);n=o.reduce(function(a,l){var u=e[l],c=i.validate(u,r);return c.isValid?a[l]=u:(s=!0,a[l]=c.sanitized),a},{})}else return r.allowUndefined&&typeof e>"u"?void 0:null;return s?n:e}catch{return null}},t.prototype._trim=function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},t}()});function L4e(){O4e.clear()}function yXt(t){return O4e.get(t)}function _Xt(t,e){O4e.set(t,e)}function B4e(t){O4e.delete(t)}var O4e,hot=U(()=>{O4e=new Map});function bXt(...t){let e=r1.acquire();for(let i=0;i<t.length;i++){let s=t[i],n=typeof s;if(n==="string")e.push(s);else if(Array.isArray(s))e.push.apply(e,s);else if(n==="object")for(let o in s)s[o]&&e.push(o)}let r=e.join(" ");return r1.release(e),r}async function vXt(t,e){await qHt(i1(e));let r=typeof t=="function"?t():t;r&&("setFocus"in r&&typeof r.setFocus=="function"?await r.setFocus():r instanceof HTMLElement&&r.focus())}var d9s,ibi,sbi,nbi,pot,U4e=U(()=>{gXt();YK();Am();De();Be();Vi();Ka();MD();hot();d9s=(()=>{let t=new Map,e=new ResizeObserver(i=>{L4e();for(let s of i)t.get(s.target)?.(s)}),r=(i,s,n)=>(t.set(i,s),e.observe(i,n),xl(()=>{e.unobserve(i),t.delete(i)}));return(i,s,n)=>{let o=null;return e1([rn(()=>typeof i=="function"?i():i,a=>{o?.remove(),a&&(o=r(a,s,n))},l1),xl(()=>o?.remove())])}})(),ibi=["dd","dl","dt","h1","h2","h3","h4","h5","h6","sub","sup","animate","animatetransform","circle","clippath","defs","ellipse","g","image","line","lineargradient","marker","mask","path","pattern","polygon","polyline","radialgradient","rect","stop","svg","switch","symbol","text","textpath","tspan","use"],sbi=ibi.reduce((t,e)=>(t[e]=[],t),{}),nbi=["align","alink","alt","bgcolor","border","cellpadding","cellspacing","class","color","cols","colspan","coords","d","dir","face","height","hspace","ismap","lang","marginheight","marginwidth","multiple","nohref","noresize","noshade","nowrap","ref","rel","rev","rows","rowspan","scrolling","shape","span","summary","tabindex","title","usemap","valign","value","vlink","vspace","width"],pot=new fXt({whiteList:sbi,onTagAttr:(t,e,r)=>{let i=`${e}="${r}"`;if(nbi.includes(e))return i},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0)});function got(t){if(!(t instanceof Element&&t.tagName.includes("-")))return!1;let e=window.customElements.get(t.tagName.toLowerCase());return!!e&&t instanceof e}var EXt,V4e,IXt,xXt,G4e,_ot,CXt,obi,mot,abi,dot,fot,PXt,wXt,SXt,TXt,lbi,j4e,ubi,bot,sH,yot,cbi,hbi,BQ,AXt=U(()=>{U4e();EXt="http://www.w3.org/",V4e=`${EXt}2000/svg`,IXt=`${EXt}1999/xlink`,xXt=[],G4e=(t,e)=>{let r={};return Object.keys(t).forEach(i=>{r[i]=t[i]}),e&&Object.keys(e).forEach(i=>{r[i]=e[i]}),r},_ot=(t,e)=>t.vnodeSelector===e.vnodeSelector&&(t.properties&&e.properties?t.properties.key===e.properties.key&&t.properties.bind===e.properties.bind:!t.properties&&!e.properties),CXt=t=>{if(typeof t!="string")throw new Error("Style values must be strings")},obi=(t,e,r)=>{if(e.vnodeSelector!==""){for(let i=r;i<t.length;i++)if(_ot(t[i],e))return i}return-1},mot=(t,e,r,i)=>{let s=t[e];if(s.vnodeSelector==="")return;let n=s.properties;if(!(n&&(n.key===void 0?n.bind:n.key))){for(let o=0;o<t.length;o++)if(o!==e){let a=t[o];if(_ot(a,s))throw new Error(`${r.vnodeSelector} had a ${s.vnodeSelector} child ${i==="added"?i:"removed"}, but there is now more than one. You must add unique key properties to make them distinguishable.`)}}},abi=t=>{if(t.properties){let e=t.properties.enterAnimation;e&&e(t.domNode,t.properties)}},dot=[],fot=!1,PXt=t=>{(t.children||[]).forEach(PXt),t.properties&&t.properties.afterRemoved&&t.properties.afterRemoved.apply(t.properties.bind||t.properties,[t.domNode])},wXt=()=>{fot=!1,dot.forEach(PXt),dot.length=0},SXt=t=>{dot.push(t),fot||(fot=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(wXt,{timeout:16}):setTimeout(wXt,16))},TXt=t=>{let e=t.domNode;if(t.properties){let r=t.properties.exitAnimation;if(r)return e.style.pointerEvents="none",void r(e,()=>{e.parentNode&&(e.parentNode.removeChild(e),SXt(t))},t.properties)}e.parentNode&&(e.parentNode.removeChild(e),SXt(t))},lbi=(t,e,r)=>{if(!e)return;let i=r.eventHandlerInterceptor,s=Object.keys(e),n=s.length;for(let o=0;o<n;o++){let a=s[o],l=e[a];if(a==="className")throw new Error('Property "className" is not supported, use "class".');if(a==="class")yot(t,l,!0);else if(a==="classes"){let u=Object.keys(l),c=u.length;for(let h=0;h<c;h++){let m=u[h];l[m]&&t.classList.add(m)}}else if(a==="styles"){let u=Object.keys(l),c=u.length;for(let h=0;h<c;h++){let m=u[h],f=l[m];f&&(CXt(f),r.styleApplyer(t,m,f))}}else if(a!=="key"&&l!=null){let u=typeof l;u==="function"?(a.lastIndexOf("on",0)===0&&(i&&(l=i(a,l,t,e)),a==="oninput"&&function(){let c=l;l=function(h){c.apply(this,[h]),h.target["oninput-value"]=h.target.value}}()),t[a]=l):r.namespace===V4e?a==="href"?t.setAttributeNS(IXt,a,l):t.setAttribute(a,l):u==="string"&&a!=="value"?a==="innerHTML"?t[a]=pot.sanitize(l):got(t)&&a in t?t[a]=l:t.setAttribute(a,l):t[a]=l}}};ubi=(t,e,r)=>{if(e)for(let i of e)sH(i,t,void 0,r)},bot=(t,e,r)=>{ubi(t,e.children,r),e.text&&(t.textContent=e.text),lbi(t,e.properties,r),e.properties&&e.properties.afterCreate&&e.properties.afterCreate.apply(e.properties.bind||e.properties,[t,r,e.vnodeSelector,e.properties,e.children])},sH=(t,e,r,i)=>{let s,n=0,o=t.vnodeSelector,a=e.ownerDocument;if(o==="")s=t.domNode=a.createTextNode(t.text),r!==void 0?e.insertBefore(s,r):e.appendChild(s);else{for(let l=0;l<=o.length;++l){let u=o.charAt(l);if(l===o.length||u==="."||u==="#"){let c=o.charAt(n-1),h=o.slice(n,l);c==="."?s.classList.add(h):c==="#"?s.id=h:(h==="svg"&&(i=G4e(i,{namespace:V4e})),i.namespace!==void 0?s=t.domNode=a.createElementNS(i.namespace,h):(s=t.domNode=t.domNode||a.createElement(h),h==="input"&&t.properties&&t.properties.type!==void 0&&s.setAttribute("type",t.properties.type)),r!==void 0?e.insertBefore(s,r):s.parentNode!==e&&e.appendChild(s)),n=l+1}}bot(s,t,i)}},yot=(t,e,r)=>{e&&e.split(" ").forEach(i=>{i&&t.classList.toggle(i,r)})},cbi=(t,e,r,i)=>{if(!r)return;let s=!1,n=Object.keys(r),o=n.length;for(let a=0;a<o;a++){let l=n[a],u=r[l],c=e[l];if(l==="class")c!==u&&(yot(t,c,!1),yot(t,u,!0));else if(l==="classes"){let h=t.classList,m=Object.keys(u),f=m.length;for(let _=0;_<f;_++){let v=m[_],E=!!u[v];E!==!!c[v]&&(s=!0,E?h.add(v):h.remove(v))}}else if(l==="styles"){let h=Object.keys(u),m=h.length;for(let f=0;f<m;f++){let _=h[f],v=u[_];v!==c[_]&&(s=!0,v?(CXt(v),i.styleApplyer(t,_,v)):i.styleApplyer(t,_,""))}}else if(u||typeof c!="string"||(u=""),l!=="value"||got(t)){if(u!==c){let h=typeof u;h==="function"&&i.eventHandlerInterceptor||(i.namespace===V4e?l==="href"?t.setAttributeNS(IXt,l,u):t.setAttribute(l,u):h==="string"?l==="innerHTML"?t[l]=pot.sanitize(u):l==="role"&&u===""?t.removeAttribute(l):got(t)&&l in t?t[l]=u:t.setAttribute(l,u):t[l]!==u&&(t[l]=u),s=!0)}}else{let h=t[l];h!==u&&(t["oninput-value"]?h===t["oninput-value"]:u!==c)&&(t[l]=u,t["oninput-value"]=void 0),u!==c&&(s=!0)}}return s},hbi=(t,e,r,i,s)=>{if(r===i)return!1;i=i||xXt;let n,o=(r=r||xXt).length,a=i.length,l=0,u=0,c=!1;for(;u<a;){let h=l<o?r[l]:void 0,m=i[u];if(h!==void 0&&_ot(h,m))c=j4e(h,m,s)||c,l++;else{let f=obi(r,m,l+1);if(f>=0){for(n=l;n<f;n++)TXt(r[n]),mot(r,n,t,"removed");c=j4e(r[f],m,s)||c,l=f+1}else sH(m,e,l<o?r[l].domNode:void 0,s),abi(m),mot(i,u,t,"added")}u++}if(o>l)for(n=l;n<o;n++)TXt(r[n]),mot(r,n,t,"removed");return c};j4e=(t,e,r)=>{let i=t.domNode,s=!1;if(t===e)return!1;let n=!1;if(e.vnodeSelector===""){if(e.text!==t.text){let o=i.ownerDocument.createTextNode(e.text);return i.parentNode.replaceChild(o,i),e.domNode=o,s=!0,s}e.domNode=i}else e.vnodeSelector.lastIndexOf("svg",0)===0&&(r=G4e(r,{namespace:V4e})),t.text!==e.text&&(n=!0,e.text===void 0?i.removeChild(i.firstChild):i.textContent=e.text),e.domNode=i,n=hbi(e,i,t.children,e.children,r)||n,n=cbi(i,t.properties,e.properties,r)||n,e.properties&&e.properties.afterUpdate&&e.properties.afterUpdate.apply(e.properties.bind||e.properties,[i,r,e.vnodeSelector,e.properties,e.children]);return n&&e.properties&&e.properties.updateAnimation&&e.properties.updateAnimation(i,e.properties,t.properties),s};BQ=(t,e)=>({getLastRender:()=>t,update:r=>{if(t.vnodeSelector!==r.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");let i=t;t=r,j4e(i,r,e)},domNode:t.domNode})});var pbi,UQ,jQ,vot=U(()=>{AXt();pbi={namespace:void 0,performanceLogger:()=>{},eventHandlerInterceptor:void 0,styleApplyer:(t,e,r)=>{e.charAt(0)==="-"?t.style.setProperty(e,r):t.style[e]=r}},UQ=t=>G4e(pbi,t),jQ={create:(t,e)=>(e=UQ(e),sH(t,document.createElement("div"),void 0,e),BQ(t,e)),append:(t,e,r)=>(r=UQ(r),sH(e,t,void 0,r),BQ(e,r)),insertBefore:(t,e,r)=>(r=UQ(r),sH(e,t.parentNode,t,r),BQ(e,r)),merge:(t,e,r)=>(r=UQ(r),e.domNode=t,bot(t,e,r),BQ(e,r)),replace:(t,e,r)=>(r=UQ(r),sH(e,t.parentNode,t,r),t.parentNode.removeChild(t),BQ(e,r))}});var mbi,MXt=U(()=>{vot();mbi=Array.prototype.find?(t,e)=>t.find(e):(t,e)=>t.filter(e)[0]});var DXt,NXt=U(()=>{DXt={handleInterceptedEvent:(t,e,r,i)=>(t.scheduleRender(),e.properties[`on${i.type}`].apply(e.properties.bind||r,[i]))}});var dbi,RXt,FXt=U(()=>{dbi={namespace:void 0,performanceLogger:()=>{},eventHandlerInterceptor:void 0,styleApplyer:(t,e,r)=>{e.charAt(0)==="-"?t.style.setProperty(e,r):t.style[e]=r}},RXt=t=>({...dbi,...t})});var fbi,gbi,kXt,OXt,LXt=U(()=>{vot();MXt();NXt();FXt();fbi=(t,e)=>{let r=[];for(;t&&t!==e;)r.push(t),t=t.parentNode;return r},gbi=(t,e)=>t.find(e),kXt=(t,e,r=!1)=>{let i=t;return e.forEach((s,n)=>{let o=i?.children?gbi(i.children,a=>a.domNode===s):void 0;r&&!o&&n!==e.length-1||(i=o)}),i},OXt=t=>{let e,r={...DXt,...t},i=RXt(r),s=i.performanceLogger,n,o=!0,a=!1,l=[],u=[],c=(m,f,_)=>{let v;i.eventHandlerInterceptor=(C,A,M,N)=>function(F){let O;s("domEvent",F);let B=fbi(F.currentTarget,v.domNode),z=B.some(H=>customElements.get(H?.tagName?.toLowerCase()));if(F.eventPhase===Event.CAPTURING_PHASE||!z)B.reverse(),O=kXt(v.getLastRender(),B);else{let H=F.composedPath(),K=H.slice(H.indexOf(F.currentTarget),H.indexOf(v.domNode)).reverse();O=kXt(v.getLastRender(),K,!0)}let G;return O&&(G=r.handleInterceptedEvent(e,O,this,F)),s("domEventProcessed",F),G},r.postProcessProjectionOptions?.(i);let E=_();v=m(f,E,i),i.eventHandlerInterceptor=void 0,l.push(v),u.push(_),r.afterFirstVNodeRendered&&r.afterFirstVNodeRendered(v,E)},h=()=>{if(n=void 0,o){o=!1,s("renderStart",void 0);for(let m=0;m<l.length;m++){let f=u[m]();s("rendered",void 0);try{l[m].update(f)}catch(_){console.error(_)}s("patched",void 0)}s("renderDone",void 0),o=!0}};return r.modifyDoRenderImplementation&&(h=r.modifyDoRenderImplementation(h,l,u)),e={renderNow:h,scheduleRender:()=>{n||a||(n=requestAnimationFrame(h))},stop:()=>{n&&(cancelAnimationFrame(n),n=void 0),a=!0},resume:()=>{a=!1,o=!0,e.scheduleRender()},append:(m,f)=>{c(jQ.append,m,f)},insertBefore:(m,f)=>{c(jQ.insertBefore,m,f)},merge:(m,f)=>{c(jQ.merge,m,f)},replace:(m,f)=>{c(jQ.replace,m,f)},detach:m=>{for(let f=0;f<u.length;f++)if(u[f]===m)return u.splice(f,1),l.splice(f,1)[0];throw new Error("renderFunction was not found")}},e}});var BXt,xot=U(()=>{"use strict";BXt=":"});function ybi(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 _bi(t,e,r){let{subscribe:i}=bbi(e);return i(s=>{s.some(o=>ybi(t,o.target))&&r()})}function bbi(t){let e=t.join(","),r=wot[e];if(r!==void 0)return r;let i=new Set,s=new MutationObserver(o=>i.forEach(a=>a(o)));globalThis.document&&s.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0});let n={subscribe(o){return i.add(o),()=>{i.delete(o),i.size===0&&(s.disconnect(),wot[e]=void 0)}}};return wot[e]=n,n}function vbi(t,e){let r=t;for(;r;){let i=r.closest?.(e);if(i)return i;let s=r.getRootNode?.();if(s===globalThis.document)return null;r=s.host}return null}function xbi(t,e,r){return vbi(t,`[${e}]`)?.getAttribute(e)??r}function Nm(t,e,...r){try{return t?.call(e,...r)}catch(i){console.error(i,t)}}async function Hde(t,e,...r){try{let i=t?.call(e,...r);return i instanceof Promise?await i:i}catch(i){console.error(i,t)}}async function Ebi(t,e,r=""){let i=`${e}/${r}`,s=`${i}${t}.json`;return Sot[s]??(Sot[s]=UXt(t,i)),await Sot[s]}async function UXt(t,e){let r=`${e}${t}.json`;try{let i=await fetch(r);if(i.ok)return await i.json()}catch(i){return console.error(i),{}}return t===z4e?{}:await UXt(z4e,e)}function Tot(t){let e=xbi(t,"lang",globalThis.navigator?.language||z4e);return{lang:e,t9nLocale:jXt(e)}}function jXt(t){let[e,r]=t.split("-"),i=e.toLowerCase(),s=i;return r&&(s=`${i}-${r.toUpperCase()}`),s=Tbi[s]??s,Sbi.has(s)?s:r?jXt(i):z4e}function VXt(t,e,r,i){let s,n=()=>void Ibi(t,e(),i).then(o=>{(s?.lang!==o.lang||s.t9nLocale!==o.t9nLocale||s.t9nStrings!==o.t9nStrings)&&r(o),s=o}).catch(console.error);return queueMicrotask(n),_bi(t,["lang"],n)}async function Ibi(t,e,r=t.tagName.toLowerCase().split("-").slice(1).join("-")){let{lang:i,t9nLocale:s}=Tot(t),n=`${e}/${r}/t9n`,a=r===null?{}:await Ebi(s,n,"messages.");return{lang:i,t9nLocale:s,t9nStrings:a}}function GXt(t,e){let r=e>Pbi?Abi:e/Mbi,i=0,s=setInterval(()=>{i+=r,i>=e&&(clearInterval(s),t())},r);return s}function zXt(t){return t!==void 0}var s4,wot,wbi,Sbi,z4e,Tbi,Sot,q4e,Cbi,Pbi,Abi,Mbi,n4=U(()=>{"use strict";s4=class{resolve(t){}reject(t){}constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}};wot={};wbi=["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"],Sbi=new Set(wbi),z4e="en",Tbi={pt:"pt-PT",nb:"no",zh:"zh-CN"};Sot={};q4e=t=>t.replace(Cbi,(e,r)=>`${r===0?"":"-"}${e.toLowerCase()}`),Cbi=/[A-Z]+(?![a-z])|[A-Z]/gu;Pbi=4e3,Abi=2e3,Mbi=4});function Eot(t){let e=t;for(;e=e.parentNode??e.host;)if(e?.constructor?.lumina){let r=e;return r.manager?.loadedCalled||r._offspring.push(t),r._postLoad.promise}return!1}function Dbi(t){let e=t.split(BXt);return e.length===1?[e[0],q4e(e[0])]:e}function Rbi([t,e]){this[t]=e}function Fbi(t){let e=t.prototype,r=Element.prototype;Object.hasOwn(e,"isConnected")||(e.setAttribute=function(s,n){r.setAttribute.call(this.el,s,n)},e.removeAttribute=function(s){r.removeAttribute.call(this.el,s)},H4e(e,"isConnected",{get(){return Reflect.get(r,"isConnected",this.el)}}))}var H4e,Nbi,VQ,L9s,Iot,qXt=U(()=>{"use strict";xot();n4();H4e=Object.defineProperty;Nbi=globalThis.HTMLElement??Dbi,L9s=(VQ=class extends Nbi{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new s4,this._postLoaded=new s4,this._offspring=[],this._saveInstanceProperties();let e=this.constructor;e._LitConstructor?this._initializeComponent({a:e._LitConstructor}):e._loadPromise.then(this._initializeComponent.bind(this)).catch(r=>{this._postLoaded.reject(r),setTimeout(()=>{throw r})})}static _initializePrototype(){this._properties?.forEach(this._bindProp,this),this._asyncMethods?.forEach(this._bindAsync,this),this._syncMethods?.forEach(this._bindSync,this)}static _bindProp(e){H4e(this.prototype,e,{configurable:!0,enumerable:!0,get(){return this._store[e]},set(r){this._store[e]=r}})}static _bindAsync(e){H4e(this.prototype,e,{async value(...r){return this._litElement||await this._postLoaded.promise,await this._litElement[e](...r)},configurable:!0})}static _bindSync(e){H4e(this.prototype,e,{value(...r){return this._litElement[e](...r)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let e=this.constructor,r=this;e._properties?.forEach(i=>{Object.hasOwn(this,i)&&(this._store[i]=r[i],delete r[i])})}attributeChangedCallback(e,r,i){this._litElement?.attributeChangedCallback(e,r,i),this._litElement||this._pendingAttributes.push(e)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask(()=>{this._ancestorLoad=Eot(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(e){let r=this.constructor,i=r._name,s=this._store,n=Object.values(e).find(h=>h.tagName===i),o=`${i}--lazy`,a=n;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);Fbi(a),!r._LitConstructor&&(r._LitConstructor=n,customElements.define(o,n)),n.lazy=this;let u=document.createElement(o);n.lazy=void 0,this._litElement=u,this._store=u,this._pendingAttributes.forEach(h=>{let m=this.getAttribute(h);u.attributeChangedCallback(h,null,m)}),Object.entries(s).forEach(Rbi,u);let c=this.isConnected;(c||this._ancestorLoad)&&(u.connectedCallback?.(),c||u.disconnectedCallback())}addController(){}requestUpdate(){this._litElement?.requestUpdate()}},VQ.lumina=!0,VQ);Iot={}});function HXt(t,e){if(e){let r=t.constructor.elementProperties;t.manager.internals.members=Object.fromEntries(Array.from(r,([i,s])=>s.noAccessor?void 0:[i,[(s.readOnly?2048:0)|(s.state?32:16)]]).filter(zXt))}else{let r=t.constructor,i=r.__registerControllers?.(t)??void 0;if(r.__registerControllers=void 0,typeof i!="object")throw new Error("Failed to retrieve component meta");t.manager.internals.members=Object.fromEntries(Object.entries(i).filter(([s,[n]])=>(n&63)!==0))}}function WXt(t,e=8){return t==null||typeof t=="object"||typeof t=="function"?t:e&4?t==="false"?!1:t===""||!!t:e&2?Number.parseFloat(t):e&1?String(t):t}var $Xt,Cot=U(()=>{"use strict";n4();$Xt=(t,e)=>t.manager.internals.members?.[e]?.[0]});function aH(t){Wde!==t&&(Wde=t,queueMicrotask(()=>{Wde===t&&(Wde=void 0)}))}function lH(t){return Wde}function Mot(t){if(t===void 0){nH=[];return}let e=nH.indexOf(t);nH=e===-1?[...nH,t]:nH.slice(0,e+1),queueMicrotask(()=>{nH=[]})}function Dot(){return nH}function kbi(t){GQ!==t&&(GQ=t,queueMicrotask(()=>{GQ===t&&(GQ=void 0)}))}function Obi(){let t=GQ;return GQ=void 0,t}function YXt(t){Nm(t,void 0,this)}function XXt(t){if(typeof t!="object"&&typeof t!="function"||t===null)return t;let e=new Proxy(t,{get(r,i,s){if(!(Ubi.has(i)&&i in r&&r[i]===e)&&(i in r||i in Promise.prototype||typeof i=="symbol"))return typeof r=="function"?r[i]:Reflect.get(r,i,s)},set:(r,i,s,n)=>Reflect.set(r,i,s,n)});return e}function QXt(t,e,r){let i=Object.keys(t),s=i.length;oH===void 0&&queueMicrotask(Xde),oH??(oH=new Map);let n=oH.get(t);return n===void 0&&(n={callbacks:[],keyCount:s},oH.set(t,n)),n.keyCount!==s&&(n.callbacks.forEach(o=>o(i)),n.callbacks=[],n.keyCount=s),n.callbacks.push(o=>{let a=u=>Nm(e,null,u),l=o[s];l===void 0?a(void 0):t[l]===r?a(l):a(void 0)}),r}function Xde(){Array.from(oH?.entries()??[]).forEach(([t,{callbacks:e}])=>{let r=Object.keys(t);e.forEach(i=>i(r))}),oH=void 0}function X4e(t,e,r){var i;let s=e,n=t.manager.internals;(i=n.allWatchers)[s]??(i[s]=[]);let o=n.allWatchers[s],a=r,l=(u,c,h)=>Nm(a,null,u,c,h);return o.push(l),()=>{let u=o.indexOf(l);u!==-1&&o.splice(u,1)}}function tJt(t,e,r){let i=t.manager.internals;return i.trackedValue!==Aot&&i.trackedValue!==r&&i.firePropTrackers(void 0,void 0),i.keyTrackers.length===0&&queueMicrotask(()=>i.firePropTrackers(void 0,void 0)),i.trackedValue=r,i.keyTrackers.push((s,n)=>Nm(e,void 0,r===n?s:void 0)),r}function J4e(t=[lH(),...Dot()],e,r){let i=Array.isArray(t)?t:[t],s=i.length+1,n=a=>{s-=1,a!==void 0&&(s=Math.min(s,0)),s===0&&e(a)};i.forEach(a=>QXt(a,l=>n(l===void 0?void 0:{key:l,host:a,isReactive:!1}),r));let o=i.find(a=>"manager"in a&&typeof a.manager=="object"&&a.manager.component===a);return o&&tJt(o,a=>n(a===void 0?void 0:{key:a,host:o,isReactive:!0}),r),r}function rJt(t){$de.readOnly=!0;try{return t()}finally{$de.readOnly=!1}}function jbi(t,{host:e,key:r,isReactive:i},s){let n=e,o=n[r]!==t.exports,a=n[r]!==s,l=s!==t.exports;if(o&&!a&&l&&(n[r]=t.exports),e===t.component){if(i){let c=t.component.manager.internals;a&&c.markExports(t,n[r]),X4e(t.component,r,h=>{h!==t.exports&&c.markExports(t,h)})}t.assignedProperty=i?void 0:r}t.watchExports(()=>{if(n[r]===t.exports)return;let c=t.component.manager;c.internals.setters[r]?.includes(c.internals.readonlySetter)?rJt(()=>{n[r]=t.exports}):n[r]=t.exports})}var $4e,JXt,Wde,nH,GQ,Lbi,Bbi,Not,$de,Yde,ZXt,Y4e,KXt,Ubi,oH,eJt,Pot,W4e,Aot,iJt,sJt=U(()=>{"use strict";Cot();n4();n4();n4();n4();$4e=Symbol.for("controller"),JXt=t=>typeof t=="object"&&t!==null&&($4e in t||"hostConnected"in t||"hostDisconnected"in t||"hostUpdate"in t||"hostUpdated"in t);nH=[];Lbi=async(t,e)=>{let r=Not(t);if(r===void 0)return t;if(await r.ready,typeof e=="function"){let i=r.watchExports(s=>e(s,i))}return r.exports},Bbi=async t=>{let e=Not(t);return await e.ready,e},Not=t=>{let r=lH().manager.internals.resolveExports(t);if(r!==void 0)return r;if(JXt(t))return t;let i=Obi();if(i!==void 0)return i},$de={setter:!1,getter:!1,readOnly:!1},Yde=new WeakMap;ZXt=$4e;Y4e=class{constructor(t){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new s4,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[ZXt]=!0,this.ready=this._ready.promise,this._exports=XXt(this),this._exportWatchers=new Set;let e=t??lH(new.target.name);this.component=e,this.component.addController(this),this.component.manager===void 0||(Mot(this),queueMicrotask(()=>this.catchUpLifecycle()))}catchUpLifecycle(){let{manager:t}=this.component;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t._loadCalled&&this.triggerLoad().then(()=>{t.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(t){let e=this._exports;e!==t&&(this._exports=t,this._exportWatchers.forEach(Nm),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,e)),this._ready.resolve(t)}setProvisionalExports(t,e=!0){this._exports=e?XXt(t):t,this._exportWatchers.forEach(Nm)}watchExports(t){let e=()=>t(this._exports);return this._exportWatchers.add(e),()=>void this._exportWatchers.delete(e)}get use(){return aH(this.component),Lbi}get useRef(){return aH(this.component),Bbi}get useRefSync(){return aH(this.component),Not}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this._callbacks.hostConnected.push(t)}onDisconnected(t){this._callbacks.hostDisconnected.push(t)}onLoad(t){this._callbacks.hostLoad.push(t)}onLoaded(t){this._callbacks.hostLoaded.push(t)}onUpdate(t){this._callbacks.hostUpdate.push(t)}onUpdated(t){this._callbacks.hostUpdated.push(t)}onDestroy(t){this._callbacks.hostDestroy.push(t)}onLifecycle(t){this._callbacks.hostLifecycle.push(t),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(t)}triggerConnected(){let t=this;t.hostConnected&&Nm(t.hostConnected,t),this._callbacks.hostConnected.forEach(Nm),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&Nm(t.hostDisconnected,t),this._callbacks.hostDisconnected.forEach(Nm),this._lifecycleCleanups.forEach(Nm),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let t=this;t.hostLoad&&await Hde(t.hostLoad,t),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(Hde)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let t=this;t.hostLoaded&&Nm(t.hostLoaded,t),this._callbacks.hostLoaded.forEach(Nm),this.loadedCalled=!0}triggerUpdate(t){let e=this;e.hostUpdate&&Nm(e.hostUpdate,e,t),this._callbacks.hostUpdate.forEach(YXt,t)}triggerUpdated(t){let e=this;e.hostUpdated&&Nm(e.hostUpdated,e,t),this._callbacks.hostUpdated.forEach(YXt,t)}triggerDestroy(){let t=this;t.hostDestroy&&Nm(t.hostDestroy,t),this._callbacks.hostDestroy.forEach(Nm)}triggerLifecycle(){let t=this;t.hostLifecycle&&this._callLifecycle(()=>t.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(t){aH(this.component);let e=Nm(t);(Array.isArray(e)?e:[e]).forEach(i=>{typeof i=="function"?this._lifecycleCleanups.push(i):typeof i=="object"&&typeof i.remove=="function"&&this._lifecycleCleanups.push(i.remove)})}};KXt=Y4e;Ubi=new Set(["exports","_exports"]);oH=void 0;eJt=class{constructor(t){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;let e=this.component.manager.internals;Object.entries(e.members).forEach(([r,[i]])=>{var s;i&2048&&((s=e.setters)[r]??(s[r]=[]),e.setters[r].push(e.readonlySetter))})},this.trackedValue=Aot,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(e,r,i)=>{if($de.readOnly)return e;throw new Error(`Cannot assign to read-only property "${i}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(e)}"`)},this.component=t}firePropTrackers(t,e){let r=this.keyTrackers;this.trackedValue=Aot,this.keyTrackers=[],r.forEach(i=>i(t,e))}getSetProxy(t){let e=this.component,r=e.constructor.prototype;if(this._getSetProxy(r,t,"class"),e.manager.isLit)return;let i=e.el.constructor.prototype;r!==i&&this._getSetProxy(i,t,"html")}_getSetProxy(t,e,r){let i=this.component,s=$Xt(i,e),n;do n=Object.getOwnPropertyDescriptor(t,e);while(!n&&(t=Object.getPrototypeOf(t)));if(!n)return;let o=n.get,a=n.set,l=W4e in o,u=W4e in a;if(l&&u)return;let c=!l,h=!u,m=c?function(){let v=o.call(this),E=Yde.get(this);if($de.getter||E===void 0)return v;let C=E.manager.internals;v=C.accessorGetter[e](v,e);let A=C.getters[e]??Pot;for(let M=0;M<A.length;M++)v=A[M](v,e);return v}:o,f=h?function(v){let E=o.call(this),C=Yde.get(this);if(C===void 0){a.call(this,v);return}let A=C.manager.isLit?v??void 0:WXt(v,s),M=C.manager.internals;if(A===E)a.call(this,A);else{let N=$de.setter?Pot:M.setters[e]??Pot;for(let F=0;F<N.length&&(A=N[F](A,E,e),A!==E);F++);A=M.accessorSetter[e](A,E,e),a.call(this,A),A!==E&&M.enabledWatchers[e]?.forEach(F=>F(A,E,e))}M.keyTrackers.length>0&&M?.firePropTrackers(e,v)}:a;c&&(m[W4e]=!0),h&&(f[W4e]=!0),Object.defineProperty(t,e,{...n,get:m,set:f})}markExports(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this._exports.set(e,t)}resolveExports(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this._exports.get(t)}},Pot=[],W4e=Symbol(),Aot=Symbol();iJt=t=>(...e)=>{let r=Dot(),i=new t(...e),s=i.exports;Mot(r.at(-1));let n=i.component.manager.internals;n.markExports(i,s),i.watchExports(a=>n.markExports(i,a)),kbi(i);let o=[i.component,...r].reverse();return J4e(o,a=>a===void 0?void 0:jbi(i,a,s),s)}});function zbi(t){"triggerConnected"in t?t.triggerConnected():Nm(t.hostConnected,t)}function qbi(t){"triggerDisconnected"in t?t.triggerDisconnected():Nm(t.hostDisconnected,t)}async function Hbi(t){"triggerLoad"in t?await t.triggerLoad():await Hde(t.hostLoad,t)}function Wbi(t){"triggerLoaded"in t?t.triggerLoaded():Nm(t.hostLoaded,t)}function $bi(t){"triggerUpdate"in t?t.triggerUpdate(this):Nm(t.hostUpdate,t,this)}function Ybi(t){"triggerUpdated"in t?t.triggerUpdated(this):Nm(t.hostUpdated,t,this)}function Xbi(t){"triggerDestroy"in t?t.triggerDestroy():Nm(t.hostDestroy,t)}function cJt(t,e){if(!e)return t;let r={...t};return Object.entries(e).forEach(([i,s])=>{typeof s=="object"?r[i]=cJt(t[i],s):r[i]=s??t[i]}),r}var oJt,Vbi,Rot,Gbi,nJt,Jbi,aJt,Zbi,lJt,Z4e,Kbi,uJt,j7=U(()=>{"use strict";sJt();Cot();n4();n4();n4();oJt=(t,e)=>new Vbi(t,e),Vbi=class extends KXt{constructor(t,e){let r="addController"in t,i=new Set;function s(l){i.add(l),!($4e in l)&&t.renderRoot&&t.el.isConnected&&l.hostConnected?.()}function n(l){i.delete(l),l.controllerRemoved?.()}let o=t;if(o.addController=s,o.removeController=n,!r){let l=e??t.constructor.__forceUpdate;o.requestUpdate=()=>l(t)}super(t),this.internals=new eJt(this.component),this.destroyed=!1,this._updatePromise=new s4,this._originalLifecycles={},this.isLit=r,this.component.manager=this,HXt(t,r),this._controllers=i,this.exports=void 0,this.hasDestroy=Rot in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let a=this.internals;Object.keys(a.members).forEach(l=>{a.accessorGetter[l]=nJt,a.accessorSetter[l]=nJt,a.getSetProxy(l)}),r?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(t,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(a.enableReadonly),aH(t),Yde.set(t.el,t),Yde.set(t,t)}_bindLifecycleMethods(){let t=this.component,e=this.isLit,r=t.el===t;this._originalLifecycles={_connectedCallback:e||r?void 0:t.connectedCallback,_disconnectedCallback:e||r?void 0:t.disconnectedCallback,_load:e?t.load:t.componentWillLoad,_loaded:e?t.loaded:t.componentDidLoad,_willUpdate:e?void 0:t.componentWillUpdate,_updated:e?void 0:t.componentDidUpdate,_destroy:t.destroy};let i=this._connectedCallback.bind(this),s=this._disconnectedCallback.bind(this),n=this._update.bind(this),o=this._updated.bind(this);e?t.constructor.prototype.addController.call(t,{hostConnected:i,hostDisconnected:s,hostUpdate:n,hostUpdated:o}):(t.connectedCallback=i,t.disconnectedCallback=s,t.componentWillLoad=this._load.bind(this),t.componentDidLoad=this._loaded.bind(this),t.componentWillUpdate=n,t.componentDidUpdate=o),this.hasDestroy&&(t.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){let e=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Rot} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let t=this.internals;t.enabledWatchers=t.allWatchers,Xde(),t.enableReadonly?.(),this._controllers.forEach(zbi),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(qbi),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,Hbi)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&X4e(this.component,Rot,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(Wbi),this._originalLifecycles._loaded?.call(this.component)}_update(){let t=this.component;return this._controllers.forEach($bi,t.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let t=this.component;if(this._controllers.forEach(Ybi,t.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)t.$changes=new Map;else{let e=this._updatePromise;this._updatePromise=new s4,e.resolve(!0)}}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach(Xbi),this._controllers.clear(),await this._originalLifecycles._destroy?.call(this.component)}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let t=()=>void this.destroy().catch(console.error);this._autoDestroyTimeout=GXt(t,Gbi)}}},Rot="autoDestroyDisabled",Gbi=1e3,nJt=t=>t;Jbi=t=>lJt(void 0,t),aJt=t=>e=>lJt(e,t),Zbi=class extends Y4e{constructor(t,e){super(t);let r=this.exports;try{aH(this.component);let i=e(this.component,this),s=this.exports!==r;if(i instanceof Promise){s||this.setProvisionalExports(i);let n=i.then(o=>{this.exports=o,super.catchUpLifecycle()}).catch(o=>{this._ready.reject(o),console.error(o)});this.onLoad(async()=>await n)}else(!s||i!==void 0)&&(this.exports=i),queueMicrotask(()=>super.catchUpLifecycle())}catch(i){this._ready.reject(i),console.error(i)}}catchUpLifecycle(){}},lJt=iJt(Zbi),Z4e=(t,e)=>new Kbi(t,e),Kbi=class extends Y4e{constructor(t,e){super(),this._attributes=t,this._callback=e,this._observer=new MutationObserver(r=>{r.forEach(i=>{t.includes(i.attributeName)&&e.call(this.component,this.component.el.getAttribute(i.attributeName),i.oldValue,i.attributeName)})})}hostConnected(){this._attributes.forEach(t=>{this.component.el.hasAttribute(t)&&this._callback.call(this.component,null,this.component.el.getAttribute(t),t)}),this._observer.observe(this.component.el,{attributes:!0,attributeOldValue:!0,attributeFilter:this._attributes})}hostDisconnected(){this._observer.disconnect()}},uJt=t=>(e={})=>Jbi((r,i)=>{let s=Tot(r.el),n={_lang:s.lang,_t9nLocale:s.t9nLocale,_loading:!0},o=r;i.onLifecycle(()=>VXt(r.el,()=>t("./assets"),({t9nLocale:l,t9nStrings:u,lang:c})=>{let h={...u,_lang:c,_t9nLocale:l,_loading:!1};i.exports=h;let m=u.componentLabel;typeof m=="string"&&"label"in r&&r.label==null&&(r.label??(r.label=m)),a(o.messageOverrides)},e.name));function a(l){let u=i.exports,c=u._original??u,h=cJt(c,l);l&&(h._original=c),i.exports=h}return"messageOverrides"in o&&i.onLifecycle(()=>X4e(o,"messageOverrides",a)),e.blocking?(i.setProvisionalExports(n,!1),i.ready):n})});var Jde=U(()=>{});var hJt=U(()=>{});var kot=U(()=>{Jde();});var pJt=U(()=>{});var Oot=U(()=>{Jde();pJt();});var mJt=U(()=>{Jde();});var fJt=U(()=>{Oot();});var yJt=U(()=>{kot();});var _Jt=U(()=>{Jde();hJt();kot();Oot();mJt();fJt();yJt()});var K4e,Q4e,Lot,bJt,Zde,vJt,Rm,Bot,eMe,uv=U(()=>{K4e=globalThis,Q4e=K4e.ShadowRoot&&(K4e.ShadyCSS===void 0||K4e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Lot=Symbol(),bJt=new WeakMap,Zde=class{constructor(e,r,i){if(this._$cssResult$=!0,i!==Lot)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Q4e&&e===void 0){let i=r!==void 0&&r.length===1;i&&(e=bJt.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&bJt.set(r,e))}return e}toString(){return this.cssText}},vJt=t=>new Zde(typeof t=="string"?t:t+"",void 0,Lot),Rm=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((i,s,n)=>i+(o=>{if(o._$cssResult$===!0)return o.cssText;if(typeof o=="number")return o;throw Error("Value passed to 'css' function must be a 'css' function result: "+o+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[n+1],t[0]);return new Zde(r,t,Lot)},Bot=(t,e)=>{if(Q4e)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let i=document.createElement("style"),s=K4e.litNonce;s!==void 0&&i.setAttribute("nonce",s),i.textContent=r.cssText,t.appendChild(i)}},eMe=Q4e?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let i of e.cssRules)r+=i.cssText;return vJt(r)})(t):t});var Qbi,evi,tvi,rvi,ivi,svi,V7,xJt,nvi,ovi,Kde,tMe,Uot,wJt,hO,Qde=U(()=>{uv();uv();({is:Qbi,defineProperty:evi,getOwnPropertyDescriptor:tvi,getOwnPropertyNames:rvi,getOwnPropertySymbols:ivi,getPrototypeOf:svi}=Object),V7=globalThis,xJt=V7.trustedTypes,nvi=xJt?xJt.emptyScript:"",ovi=V7.reactiveElementPolyfillSupport,Kde=(t,e)=>t,tMe={toAttribute(t,e){switch(e){case Boolean:t=t?nvi:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Uot=(t,e)=>!Qbi(t,e),wJt={attribute:!0,type:String,converter:tMe,reflect:!1,hasChanged:Uot};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),V7.litPropertyMetadata??(V7.litPropertyMetadata=new WeakMap);hO=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??(this.l=[])).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=wJt){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let i=Symbol(),s=this.getPropertyDescriptor(e,i,r);s!==void 0&&evi(this.prototype,e,s)}}static getPropertyDescriptor(e,r,i){let{get:s,set:n}=tvi(this.prototype,e)??{get(){return this[r]},set(o){this[r]=o}};return{get(){return s?.call(this)},set(o){let a=s?.call(this);n.call(this,o),this.requestUpdate(e,a,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??wJt}static _$Ei(){if(this.hasOwnProperty(Kde("elementProperties")))return;let e=svi(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Kde("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Kde("properties"))){let r=this.properties,i=[...rvi(r),...ivi(r)];for(let s of i)this.createProperty(s,r[s])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[i,s]of r)this.elementProperties.set(i,s)}this._$Eh=new Map;for(let[r,i]of this.elementProperties){let s=this._$Eu(r,i);s!==void 0&&this._$Eh.set(s,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let i=new Set(e.flat(1/0).reverse());for(let s of i)r.unshift(eMe(s))}else e!==void 0&&r.push(eMe(e));return r}static _$Eu(e,r){let i=r.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??(this._$EO=new Set)).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let i of r.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Bot(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,i){this._$AK(e,i)}_$EC(e,r){let i=this.constructor.elementProperties.get(e),s=this.constructor._$Eu(e,i);if(s!==void 0&&i.reflect===!0){let n=(i.converter?.toAttribute!==void 0?i.converter:tMe).toAttribute(r,i.type);this._$Em=e,n==null?this.removeAttribute(s):this.setAttribute(s,n),this._$Em=null}}_$AK(e,r){let i=this.constructor,s=i._$Eh.get(e);if(s!==void 0&&this._$Em!==s){let n=i.getPropertyOptions(s),o=typeof n.converter=="function"?{fromAttribute:n.converter}:n.converter?.fromAttribute!==void 0?n.converter:tMe;this._$Em=s,this[s]=o.fromAttribute(r,n.type),this._$Em=null}}requestUpdate(e,r,i){if(e!==void 0){if(i??(i=this.constructor.getPropertyOptions(e)),!(i.hasChanged??Uot)(this[e],r))return;this.P(e,r,i)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(e,r,i){this._$AL.has(e)||this._$AL.set(e,r),i.reflect===!0&&this._$Em!==e&&(this._$Ej??(this._$Ej=new Set)).add(e)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[s,n]of this._$Ep)this[s]=n;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[s,n]of i)n.wrapped!==!0||this._$AL.has(s)||this[s]===void 0||this.P(s,this[s],n)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach(i=>i.hostUpdate?.()),this.update(r)):this._$EU()}catch(i){throw e=!1,this._$EU(),i}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&(this._$Ej=this._$Ej.forEach(r=>this._$EC(r,this[r]))),this._$EU()}updated(e){}firstUpdated(e){}};hO.elementStyles=[],hO.shadowRootOptions={mode:"open"},hO[Kde("elementProperties")]=new Map,hO[Kde("finalized")]=new Map,ovi?.({ReactiveElement:hO}),(V7.reactiveElementVersions??(V7.reactiveElementVersions=[])).push("2.0.4")});var jot=U(()=>{Qde();});var SJt=U(()=>{jot();});function RJt(t,e){if(!qot(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return TJt!==void 0?TJt.createHTML(e):e}function pH(t,e,r=t,i){if(e===cv)return e;let s=i!==void 0?r.o?.[i]:r.l,n=ife(e)?void 0:e._$litDirective$;return s?.constructor!==n&&(s?._$AO?.(!1),n===void 0?s=void 0:(s=new n(t),s._$AT(t,r,i)),i!==void 0?(r.o??(r.o=[]))[i]=s:r.l=s),s!==void 0&&(e=pH(t,s._$AS(t,e.values),s,i)),e}var tfe,rMe,TJt,Got,pO,zot,lvi,hH,rfe,ife,qot,MJt,Vot,efe,EJt,IJt,uH,CJt,PJt,DJt,Hot,pn,LD,NJt,cv,ko,AJt,cH,FJt,sfe,iMe,zQ,mH,sMe,nMe,oMe,aMe,kJt,uvi,OJt,u1=U(()=>{tfe=globalThis,rMe=tfe.trustedTypes,TJt=rMe?rMe.createPolicy("lit-html",{createHTML:t=>t}):void 0,Got="$lit$",pO=`lit$${Math.random().toFixed(9).slice(2)}$`,zot="?"+pO,lvi=`<${zot}>`,hH=document,rfe=()=>hH.createComment(""),ife=t=>t===null||typeof t!="object"&&typeof t!="function",qot=Array.isArray,MJt=t=>qot(t)||typeof t?.[Symbol.iterator]=="function",Vot=`[
|