@arcgis/coding-components 4.34.0-next.49 → 4.34.0-next.50

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.
Files changed (75) hide show
  1. package/dist/addons.js +1 -1
  2. package/dist/cdn/{V73PGVEG.js → 2PHB3HHQ.js} +2 -2
  3. package/dist/cdn/{KF5RBVIG.js → 2PV5Z4G5.js} +2 -2
  4. package/dist/cdn/{FWQHIJLG.js → 2TVNSLKW.js} +2 -2
  5. package/dist/cdn/{YPPRN7TM.js → 363JUOAS.js} +2 -2
  6. package/dist/cdn/{V2YGFK5P.js → 3642ESUV.js} +2 -2
  7. package/dist/cdn/{CPN4MBJ4.js → 4K44LRRZ.js} +2 -2
  8. package/dist/cdn/{37A37N6Y.js → 5VYWEPKX.js} +2 -2
  9. package/dist/cdn/{SCS5V4ZS.js → 64WPL5FX.js} +2 -2
  10. package/dist/cdn/{TUOCI3R2.js → 6GWLCTQN.js} +2 -2
  11. package/dist/cdn/{EJUPGZCS.js → AODW7OTO.js} +2 -2
  12. package/dist/cdn/{4PJPK73O.js → BEBD7DKG.js} +1 -1
  13. package/dist/cdn/{H74ZF6KI.js → BH6BFYNZ.js} +2 -2
  14. package/dist/cdn/{5NDR5N72.js → CDU24LJD.js} +1 -1
  15. package/dist/cdn/{VXSCFBJH.js → DLEEB4FJ.js} +2 -2
  16. package/dist/cdn/{MS3PBEQD.js → DSJ4QXE3.js} +2 -2
  17. package/dist/cdn/{PR44HVFA.js → E66L4UUH.js} +2 -2
  18. package/dist/cdn/{XULWDB5P.js → FZJGF2VK.js} +2 -2
  19. package/dist/cdn/{JKRRCFOI.js → HZ6GNO4Y.js} +2 -2
  20. package/dist/cdn/{QAXVTO3U.js → IEGMGP3L.js} +2 -2
  21. package/dist/cdn/{4GLMG4WU.js → JAKOCB5Q.js} +1 -1
  22. package/dist/cdn/{CBVGUU3D.js → KKBLFLRA.js} +2 -2
  23. package/dist/cdn/{AEIGV6Y4.js → LCE4TWJY.js} +1 -1
  24. package/dist/cdn/{F2JWSP27.js → LCH57WPC.js} +2 -2
  25. package/dist/cdn/{3H7ZCJQD.js → MNBCMA74.js} +4 -4
  26. package/dist/cdn/{M6667LD3.js → NR764YWC.js} +2 -2
  27. package/dist/cdn/{K2QTTUW2.js → O74MXPC4.js} +1 -1
  28. package/dist/cdn/{IQFCDMKF.js → ODNPM7PW.js} +2 -2
  29. package/dist/cdn/{GR3VCTE4.js → OFKZ7C6X.js} +2 -2
  30. package/dist/cdn/{6AODMFPP.js → OJTRDWWJ.js} +2 -2
  31. package/dist/cdn/{YWDNQQ55.js → PMVCMBUJ.js} +2 -2
  32. package/dist/cdn/{KCUQ3HL2.js → R7PITFU5.js} +2 -2
  33. package/dist/cdn/{A6WGPYFP.js → RJXUSTHE.js} +2 -2
  34. package/dist/cdn/{IKBD36YD.js → SI2AKCYC.js} +2 -2
  35. package/dist/cdn/{O3AWNKVE.js → TQPCCDKQ.js} +1 -1
  36. package/dist/cdn/{VKTPG3OC.js → TW3GKVSB.js} +2 -2
  37. package/dist/cdn/{PC3QM6TD.js → USYAL6TO.js} +2 -2
  38. package/dist/cdn/{N3MC75FZ.js → UVFKQUCY.js} +2 -2
  39. package/dist/cdn/{XQT5IR47.js → WVCASHKO.js} +2 -2
  40. package/dist/cdn/{NY6XML7B.js → XBZAR74V.js} +2 -2
  41. package/dist/cdn/{5HVSJOHT.js → XGRHCW5F.js} +2 -2
  42. package/dist/cdn/{66SEYVDJ.js → XRBSQQX5.js} +2 -2
  43. package/dist/cdn/{REDSUJYI.js → ZNNXSKAT.js} +2 -2
  44. package/dist/cdn/assets/code-editor/sql-expr.worker.js +229 -226
  45. package/dist/cdn/index.js +2 -2
  46. package/dist/chunks/arcade-defaults.js +1 -1
  47. package/dist/chunks/arcade-executor.js +1 -1
  48. package/dist/chunks/arcade-mode.js +1 -1
  49. package/dist/chunks/arcade-service-accessors.js +1 -1
  50. package/dist/chunks/editor.js +1 -1
  51. package/dist/chunks/fields.js +1 -1
  52. package/dist/chunks/language-defaults-base.js +1 -1
  53. package/dist/chunks/markdown.js +1 -1
  54. package/dist/chunks/monaco-importer.js +1 -1
  55. package/dist/chunks/runtime.js +1 -1
  56. package/dist/chunks/setup-monaco.js +1 -1
  57. package/dist/chunks/sql-expr-contribution.js +1 -1
  58. package/dist/chunks/sql-expr-defaults.js +1 -1
  59. package/dist/chunks/sql-expr-mode.js +1 -1
  60. package/dist/chunks/useT9n.js +1 -1
  61. package/dist/components/arcgis-arcade-coding-assistant/customElement.js +1 -1
  62. package/dist/components/arcgis-arcade-editor/customElement.js +1 -1
  63. package/dist/components/arcgis-arcade-results/customElement.js +1 -1
  64. package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
  65. package/dist/components/arcgis-code-editor/customElement.js +1 -1
  66. package/dist/components/arcgis-editor-variables/customElement.js +1 -1
  67. package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
  68. package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
  69. package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
  70. package/dist/docs/api.json +2 -2
  71. package/dist/docs/docs.json +2 -2
  72. package/dist/docs/web-types.json +1 -1
  73. package/dist/index.js +1 -1
  74. package/dist/loader.js +1 -1
  75. package/package.json +5 -5
@@ -10609,7 +10609,7 @@ function xdt(r, e, t) {
10609
10609
  const ia = { apiKey: void 0, apiKeys: { scopes: [] }, 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 } };
10610
10610
  if (globalThis.esriConfig && (nNe(ia, globalThis.esriConfig, !0), delete ia.has), !ia.assetsPath) {
10611
10611
  {
10612
- const r = "4.34.0-next.33";
10612
+ const r = "4.34.0-next.34";
10613
10613
  ia.assetsPath = `https://cdn.jsdelivr.net/npm/@arcgis/core@${r}/assets`;
10614
10614
  }
10615
10615
  ia.defaultAssetsPath = ia.assetsPath;
@@ -12816,7 +12816,10 @@ const upt = (r) => {
12816
12816
  if (h.readOnly || f === !1 || d !== 7 && d !== 0 && d !== 5 && d !== 4) continue;
12817
12817
  const _ = this[c];
12818
12818
  let v = null;
12819
- v = typeof f == "function" ? f(_, i) : f === "reference" ? _ : Y2e(_, i), _ != null && v == null || (d === 0 ? l.set(c, v) : a[c] = v);
12819
+ if (typeof f == "function") v = f(_, i);
12820
+ else if (f === "reference") v = _;
12821
+ else if (v = Y2e(_, i), _ != null && v == null) continue;
12822
+ d === 0 ? l.set(c, v) : a[c] = v;
12820
12823
  }
12821
12824
  const u = new (Object.getPrototypeOf(this)).constructor(a);
12822
12825
  if (l.size) {
@@ -20642,7 +20645,7 @@ async function wmt(r) {
20642
20645
  i.readAsDataURL(r), i.onload = () => e(S3(i.result)), i.onerror = (n) => t(n);
20643
20646
  });
20644
20647
  }
20645
- const xmt = /([^.]*)\.([^/]*)$/, Smt = "20250707", Tmt = "bf57eca1f17e3bedba7a924fe3c96b050122d2a7";
20648
+ const xmt = /([^.]*)\.([^/]*)$/, Smt = "20250708", Tmt = "d7c48d0f3f389d2aa7e336e61efa1fa33bb113ef";
20646
20649
  Symbol.dispose ??= Symbol("Symbol.dispose"), Symbol.asyncDispose ??= Symbol("Symbol.asyncDispose");
20647
20650
  const Jde = "4.34";
20648
20651
  let Ta, zNe = Jde;
@@ -20653,7 +20656,7 @@ function VQt(r) {
20653
20656
  const e = Ta?.findCredential(r);
20654
20657
  return e?.token ? BNe(r, "token", e.token) : r;
20655
20658
  }
20656
- zNe = "4.34.0-next.33", ur("host-webworker") || globalThis.$arcgis || Object.defineProperty(globalThis, "$arcgis", { configurable: !1, enumerable: !0, writable: !1, value: {} }), ur("host-webworker");
20659
+ zNe = "4.34.0-next.34", ur("host-webworker") || globalThis.$arcgis || Object.defineProperty(globalThis, "$arcgis", { configurable: !1, enumerable: !0, writable: !1, value: {} }), ur("host-webworker");
20657
20660
  function a_(r, e) {
20658
20661
  const t = e?.url?.path;
20659
20662
  if (r && t && (r = dh(r, t, { preserveProtocolRelative: !0 }), e.portalItem && e.readResourcePaths)) {
@@ -21282,7 +21285,7 @@ const ber = (r) => {
21282
21285
  function bVe(r) {
21283
21286
  return hp(r).store;
21284
21287
  }
21285
- const da = (r) => {
21288
+ const pa = (r) => {
21286
21289
  const e = ber(Lmt(r));
21287
21290
  let t = class extends e {
21288
21291
  constructor(...i) {
@@ -21291,7 +21294,7 @@ const da = (r) => {
21291
21294
  };
21292
21295
  return t = m([Se("esri.core.MultiOriginJSONSupport")], t), t;
21293
21296
  };
21294
- let N6 = class extends da(Hs) {
21297
+ let N6 = class extends pa(Hs) {
21295
21298
  };
21296
21299
  N6 = m([Se("esri.core.MultiOriginJSONSupport")], N6);
21297
21300
  const Nu = /* @__PURE__ */ ((r) => r)(["operational-layers", "basemap", "ground"]);
@@ -35245,7 +35248,7 @@ function F0e(r, e, t) {
35245
35248
  const i = !!t?.writeLayerSchema;
35246
35249
  return { enabled: i, ignoreOrigin: i };
35247
35250
  }
35248
- let qn = class extends h6e(MB(N8(ccr(upe(iD(rc(DB(lb(_Z(Vl(zp(Nm(ql(Iu(da(Up(ab(Si.ClonableMixin(Cs))))))))))))))))))) {
35251
+ let qn = class extends h6e(MB(N8(ccr(upe(iD(rc(DB(lb(_Z(Vl(zp(Nm(ql(Iu(pa(Up(ab(Si.ClonableMixin(Cs))))))))))))))))))) {
35249
35252
  constructor(...e) {
35250
35253
  super(...e), this.attributeTableTemplate = null, this.charts = null, this.copyright = null, this.displayField = null, this.dynamicDataSource = null, this.fields = null, this.fieldsIndex = null, this.formTemplate = null, this.fullExtent = null, this.geometryType = null, this.hasM = void 0, this.hasZ = void 0, this.infoFor3D = null, this.isTable = !1, this.labelsVisible = !0, this.labelingInfo = null, this.legendEnabled = !0, this.objectIdField = null, this.operationalLayerType = "ArcGISFeatureLayer", this.outFields = null, this.path = null, this.popupEnabled = !0, this.popupTemplate = null, this.resourceInfo = null, this.screenSizePerspectiveEnabled = !0, this.spatialReference = sr.WGS84, this.subtypeCode = null, this.supportedSourceTypes = /* @__PURE__ */ new Set(["Feature Layer", "Oriented Imagery Layer", "Table", "Catalog Layer"]), this.templates = null, this.timeInfo = null, this.title = null, this.sublayerTitleMode = "item-title", this.type = "feature", this.typeIdField = null, this.types = null, this.visible = !0, this._debouncedSaveOperations = Yf(async (t, i, n) => {
35251
35254
  const { save: s, saveAs: o } = await Promise.resolve().then(function() {
@@ -37090,7 +37093,7 @@ let qL = class extends lD {
37090
37093
  }
37091
37094
  };
37092
37095
  const Y_t = si.ofType(adr), ldr = /* @__PURE__ */ new Map([["image/jpeg", "jpeg"], ["image/jpg", "jpg"], ["image/png", "png"], ["image/gif", "gif"]]), udr = "ArcGIS Pro", cdr = yc.JSAPI;
37093
- let nh = class extends da(gc.LoadableMixin(Dv.EsriPromiseMixin(O_t))) {
37096
+ let nh = class extends pa(gc.LoadableMixin(Dv.EsriPromiseMixin(O_t))) {
37094
37097
  constructor(e) {
37095
37098
  super(e), this._isAuthoringAppSetByUser = !1, this._isAuthoringAppVersionSetByUser = !1, this._thumbnailFilename = null, this._updateFromPromise = null, this.resourceReferences = { portalItem: null, paths: [] }, this.applicationProperties = null, this.bookmarks = new Y_t(), this.floorInfo = null, this.initialViewProperties = new Ale(), this.portalItem = null, this.sourceVersion = null, this.widgets = null, this._debouncedSaveOperations = Yf(async (t, i, n) => {
37096
37099
  const { save: s, saveAs: o } = await Promise.resolve().then(function() {
@@ -37429,7 +37432,7 @@ async function ydr(r) {
37429
37432
  }
37430
37433
  return null;
37431
37434
  }
37432
- let yp = class extends da(gc) {
37435
+ let yp = class extends pa(gc) {
37433
37436
  static fromPortalItem(e) {
37434
37437
  return ydr(e);
37435
37438
  }
@@ -39070,11 +39073,11 @@ let lfr = class {
39070
39073
  };
39071
39074
  m([x()], Zq.prototype, "SCHEDULER_LOG_SLOW_TASKS", void 0), m([x()], Zq.prototype, "FEATURE_SERVICE_SNAPPING_SOURCE_TILE_TREE_SHOW_TILES", void 0), Zq = m([Se("esri.views.support.debugFlags")], Zq);
39072
39075
  const ufr = new Zq();
39073
- var ga;
39076
+ var ua;
39074
39077
  (function(r) {
39075
- r.RESOURCE_CONTROLLER_IMMEDIATE = "immediate", r.RESOURCE_CONTROLLER = "schedule", r.SLIDE = "slide", r.STREAM_DATA_LOADER = "stream loader", r.ELEVATION_QUERY = "elevation query", r.TERRAIN_SURFACE = "terrain", r.SURFACE_GEOMETRY_UPDATES = "surface geometry updates", r.LOD_RENDERER = "LoD renderer", r.GRAPHICS_CORE = "Graphics3D", r.I3S_CONTROLLER = "I3S", r.POINT_CLOUD_LAYER = "point cloud", r.FEATURE_TILE_FETCHER = "feature fetcher", r.STREAM_CONTROLLER = "stream controller", r.OVERLAY = "overlay", r.OVERLAY_RENDERER = "overlay renderer", r.STAGE = "stage", r.GRAPHICS_DECONFLICTOR = "graphics deconflictor", r.FILTER_VISIBILITY = "Graphics3D filter visibility", r.SCALE_VISIBILITY = "Graphics3D scale visibility", r.FRUSTUM_VISIBILITY = "Graphics3D frustum visibility", r.POINT_OF_INTEREST_FREQUENT = "POI frequent", r.POINT_OF_INTEREST_INFREQUENT = "POI infrequent", r.LABELER = "labeler", r.FEATURE_QUERY_ENGINE = "feature query", r.FEATURE_TILE_TREE = "feature tile tree", r.FEATURE_TILE_TREE_ACTIVE = "fast feature tile tree", r.ELEVATION_ALIGNMENT = "elevation alignment", r.ELEVATION_ALIGNMENT_SCENE = "elevation alignment scene", r.TEXT_TEXTURE_ATLAS = "text texture atlas", r.TEXTURE_UNLOAD = "texture unload", r.LINE_OF_SIGHT_TOOL = "line of sight tool", r.LINE_OF_SIGHT_TOOL_INTERACTIVE = "interactive line of sight tool", r.ELEVATION_PROFILE = "elevation profile", r.SNAPPING = "snapping", r.SHADOW_ACCUMULATOR = "shadow accumulator", r.CLOUDS_GENERATOR = "clouds generator", r.MAPVIEW_FETCH_QUEUE = "mapview fetch queue", r.MAPVIEW_LAYERVIEW_UPDATE = "mapview layerview update", r.MAPVIEW_VECTOR_TILE_PARSING_QUEUE = "mapview vector tile parsing queue", r[r.NONE = 0] = "NONE", r[r.TEST_PRIO = 1] = "TEST_PRIO";
39076
- })(ga || (ga = {}));
39077
- const ew = 0, fWe = /* @__PURE__ */ new Map([[ga.RESOURCE_CONTROLLER_IMMEDIATE, ew], [ga.RESOURCE_CONTROLLER, 4], [ga.SLIDE, ew], [ga.STREAM_DATA_LOADER, ew], [ga.ELEVATION_QUERY, ew], [ga.TERRAIN_SURFACE, 1], [ga.SURFACE_GEOMETRY_UPDATES, 1], [ga.LOD_RENDERER, 2], [ga.GRAPHICS_CORE, 2], [ga.I3S_CONTROLLER, 2], [ga.POINT_CLOUD_LAYER, 2], [ga.FEATURE_TILE_FETCHER, 2], [ga.STREAM_CONTROLLER, 2], [ga.CLOUDS_GENERATOR, 2], [ga.OVERLAY, 4], [ga.OVERLAY_RENDERER, 4], [ga.STAGE, 4], [ga.GRAPHICS_DECONFLICTOR, 4], [ga.FILTER_VISIBILITY, 4], [ga.SCALE_VISIBILITY, 4], [ga.FRUSTUM_VISIBILITY, 4], [ga.POINT_OF_INTEREST_FREQUENT, 6], [ga.POINT_OF_INTEREST_INFREQUENT, 30], [ga.LABELER, 8], [ga.FEATURE_QUERY_ENGINE, 8], [ga.FEATURE_TILE_TREE, 16], [ga.FEATURE_TILE_TREE_ACTIVE, ew], [ga.ELEVATION_ALIGNMENT, 12], [ga.ELEVATION_ALIGNMENT_SCENE, 14], [ga.TEXT_TEXTURE_ATLAS, 12], [ga.TEXTURE_UNLOAD, 12], [ga.LINE_OF_SIGHT_TOOL, 16], [ga.LINE_OF_SIGHT_TOOL_INTERACTIVE, ew], [ga.SNAPPING, ew], [ga.SHADOW_ACCUMULATOR, 30], [ga.MAPVIEW_FETCH_QUEUE, ew], [ga.MAPVIEW_LAYERVIEW_UPDATE, 2], [ga.MAPVIEW_VECTOR_TILE_PARSING_QUEUE, ew]]);
39078
+ r.RESOURCE_CONTROLLER_IMMEDIATE = "immediate", r.RESOURCE_CONTROLLER = "schedule", r.SLIDE = "slide", r.STREAM_DATA_LOADER = "stream loader", r.ELEVATION_QUERY = "elevation query", r.TERRAIN_SURFACE = "terrain", r.SURFACE_GEOMETRY_UPDATES = "surface geometry updates", r.LOD_RENDERER = "LoD renderer", r.GRAPHICS_CORE = "Graphics3D", r.I3S_CONTROLLER = "I3S", r.POINT_CLOUD_LAYER = "point cloud", r.FEATURE_TILE_FETCHER = "feature fetcher", r.STREAM_CONTROLLER = "stream controller", r.OVERLAY = "overlay", r.OVERLAY_RENDERER = "overlay renderer", r.STAGE = "stage", r.GRAPHICS_DECONFLICTOR = "graphics deconflictor", r.FILTER_VISIBILITY = "Graphics3D filter visibility", r.SCALE_VISIBILITY = "Graphics3D scale visibility", r.FRUSTUM_VISIBILITY = "Graphics3D frustum visibility", r.POINT_OF_INTEREST_FREQUENT = "POI frequent", r.POINT_OF_INTEREST_INFREQUENT = "POI infrequent", r.LABELER = "labeler", r.FEATURE_QUERY_ENGINE = "feature query", r.FEATURE_TILE_TREE = "feature tile tree", r.FEATURE_TILE_TREE_ACTIVE = "fast feature tile tree", r.ELEVATION_ALIGNMENT = "elevation alignment", r.ELEVATION_ALIGNMENT_SCENE = "elevation alignment scene", r.TEXT_TEXTURE_ATLAS = "text texture atlas", r.TEXTURE_UNLOAD = "texture unload", r.LINE_OF_SIGHT_TOOL = "line of sight tool", r.LINE_OF_SIGHT_TOOL_INTERACTIVE = "interactive line of sight tool", r.ELEVATION_PROFILE = "elevation profile", r.SNAPPING = "snapping", r.SHADOW_ACCUMULATOR = "shadow accumulator", r.CLOUDS_GENERATOR = "clouds generator", r.FLOW_GENERATOR = "flow generator", r.MAPVIEW_FETCH_QUEUE = "mapview fetch queue", r.MAPVIEW_LAYERVIEW_UPDATE = "mapview layerview update", r.MAPVIEW_VECTOR_TILE_PARSING_QUEUE = "mapview vector tile parsing queue", r[r.NONE = 0] = "NONE", r[r.TEST_PRIO = 1] = "TEST_PRIO";
39079
+ })(ua || (ua = {}));
39080
+ const ew = 0, fWe = /* @__PURE__ */ new Map([[ua.RESOURCE_CONTROLLER_IMMEDIATE, ew], [ua.RESOURCE_CONTROLLER, 4], [ua.SLIDE, ew], [ua.STREAM_DATA_LOADER, ew], [ua.ELEVATION_QUERY, ew], [ua.TERRAIN_SURFACE, 1], [ua.SURFACE_GEOMETRY_UPDATES, 1], [ua.LOD_RENDERER, 2], [ua.GRAPHICS_CORE, 2], [ua.I3S_CONTROLLER, 2], [ua.POINT_CLOUD_LAYER, 2], [ua.FEATURE_TILE_FETCHER, 2], [ua.STREAM_CONTROLLER, 2], [ua.CLOUDS_GENERATOR, 2], [ua.OVERLAY, 4], [ua.OVERLAY_RENDERER, 4], [ua.STAGE, 4], [ua.GRAPHICS_DECONFLICTOR, 4], [ua.FILTER_VISIBILITY, 4], [ua.SCALE_VISIBILITY, 4], [ua.FRUSTUM_VISIBILITY, 4], [ua.POINT_OF_INTEREST_FREQUENT, 6], [ua.POINT_OF_INTEREST_INFREQUENT, 30], [ua.LABELER, 8], [ua.FEATURE_QUERY_ENGINE, 8], [ua.FEATURE_TILE_TREE, 16], [ua.FEATURE_TILE_TREE_ACTIVE, ew], [ua.ELEVATION_ALIGNMENT, 12], [ua.ELEVATION_ALIGNMENT_SCENE, 14], [ua.TEXT_TEXTURE_ATLAS, 12], [ua.TEXTURE_UNLOAD, 12], [ua.LINE_OF_SIGHT_TOOL, 16], [ua.LINE_OF_SIGHT_TOOL_INTERACTIVE, ew], [ua.SNAPPING, ew], [ua.SHADOW_ACCUMULATOR, 30], [ua.FLOW_GENERATOR, 12], [ua.MAPVIEW_FETCH_QUEUE, ew], [ua.MAPVIEW_LAYERVIEW_UPDATE, 2], [ua.MAPVIEW_VECTOR_TILE_PARSING_QUEUE, ew]]);
39078
39081
  function mWe(r) {
39079
39082
  return fWe.has(r) ? fWe.get(r) : typeof r == "number" ? r : 1;
39080
39083
  }
@@ -39090,7 +39093,7 @@ var FIe;
39090
39093
  }
39091
39094
  constructor() {
39092
39095
  this._updating = V6(!0), this._microTaskQueued = !1, this._frameNumber = 0, this.performanceInfo = { total: new TH("total"), tasks: /* @__PURE__ */ new Map() }, this._frameTaskTimes = /* @__PURE__ */ new Map(), this._budget = new i(), this._state = 1, this._tasks = new Array(), this._runQueue = new Array(), this._load = 0, this._idleStateCallbacks = new Array(), this._idleUpdatesStartFired = !1, this._forceTask = !1, this._debug = !1, this._debugHandle = mo(() => ufr.SCHEDULER_LOG_SLOW_TASKS, (s) => this._debug = s, B5);
39093
- for (const s of Object.keys(ga)) this.performanceInfo.tasks.set(ga[s], new TH(ga[s]));
39096
+ for (const s of Object.keys(ua)) this.performanceInfo.tasks.set(ua[s], new TH(ua[s]));
39094
39097
  }
39095
39098
  destroy() {
39096
39099
  this._tasks.forEach((s) => s.remove()), this._tasks.length = 0, this._idleStateCallbacks.length = 0, this._runQueue.length = 0, Uf(this._debugHandle), this._microTaskQueued = !1, this._updatingChanged();
@@ -39231,7 +39234,7 @@ var FIe;
39231
39234
  } catch (l) {
39232
39235
  Yt.getLogger("esri.views.support.Scheduler").error(`Exception in task "${o.name}"`, l), o.blockFrame = this._frameNumber;
39233
39236
  }
39234
- !this._budget.hasProgressed && o.blockFrame !== this._frameNumber && o.needsUpdate && (o.name, ga.I3S_CONTROLLER, o.blockFrame = this._frameNumber), o.schedulePriority = o.basePriority;
39237
+ !this._budget.hasProgressed && o.blockFrame !== this._frameNumber && o.needsUpdate && (o.name, ua.I3S_CONTROLLER, o.blockFrame = this._frameNumber), o.schedulePriority = o.basePriority;
39235
39238
  const a = this._budget.now() - s;
39236
39239
  if (o.runtime += a, this._frameTaskTimes.set(o.priority, this._frameTaskTimes.get(o.priority) + a), this._budget.remaining <= 0) return void this._updatingChanged();
39237
39240
  }
@@ -39239,7 +39242,7 @@ var FIe;
39239
39242
  this._updatingChanged();
39240
39243
  }
39241
39244
  _startFrameTaskTimes() {
39242
- for (const s of Object.keys(ga)) this._frameTaskTimes.set(ga[s], 0);
39245
+ for (const s of Object.keys(ua)) this._frameTaskTimes.set(ua[s], 0);
39243
39246
  }
39244
39247
  _recordFrameTaskTimes(s) {
39245
39248
  this._frameTaskTimes.forEach((o, a) => this.performanceInfo.tasks.get(a).push(o)), this.performanceInfo.total.push(s);
@@ -39517,7 +39520,7 @@ let zd = class extends Si.ClonableMixin(xt) {
39517
39520
  throw s(), h;
39518
39521
  }
39519
39522
  if (i.signal.aborted) throw s(), Xa();
39520
- const o = e.resourceController.scheduler.registerTask(ga.SLIDE);
39523
+ const o = e.resourceController.scheduler.registerTask(ua.SLIDE);
39521
39524
  let a = !1;
39522
39525
  const l = { animate: !0, ...t, signal: this._applyToController.signal }, u = async () => {
39523
39526
  await Promise.all([o.schedule(async () => a = await this._setViewpointOfInterest(e, l)), o.schedule(() => this._applyBasemap(e, l), l.signal), o.schedule(() => this._loadLayersWithSublayerVisibility(e))]), await Promise.all([o.schedule(() => this._applyLayerVisibility(e), l.signal), o.schedule(() => this._applyFocusAreaEnabled(e.map?.focusAreas.areas)), o.schedule(() => this._applyGround(e), l.signal), o.schedule(() => this.elements.analyses.applyTo(e), l.signal), o.schedule(() => this._applyViewpoint(e, l), l.signal), o.schedule(() => e.timeExtent = this.timeExtent?.clone() ?? null, l.signal), o.schedule(() => e.environment.weather = this.environment.weather.clone())]);
@@ -39678,7 +39681,7 @@ const HN = new Rle(1, 38), Cfr = () => {
39678
39681
  for (let i = 8; i <= HN.minor; i++) e.push(`${t}.${i}`);
39679
39682
  return e;
39680
39683
  }, B0e = "Web Scene";
39681
- let du = class extends gc.LoadableMixin(Dv.EsriPromiseMixin(da(O_t))) {
39684
+ let du = class extends gc.LoadableMixin(Dv.EsriPromiseMixin(pa(O_t))) {
39682
39685
  static {
39683
39686
  xWe = rvt;
39684
39687
  }
@@ -42482,7 +42485,7 @@ function agr(r, e) {
42482
42485
  function Cn() {
42483
42486
  return "TRIM";
42484
42487
  }
42485
- function pa() {
42488
+ function fa() {
42486
42489
  return "POSITION";
42487
42490
  }
42488
42491
  function Ti() {
@@ -43047,7 +43050,7 @@ function agr(r, e) {
43047
43050
  }
43048
43051
  function Nqt() {
43049
43052
  let W, xe, De, _t;
43050
- return W = Pe, xe = r.substr(Pe, 8), xe.toLowerCase() === Me ? Pe += 8 : (xe = t, Vr === 0 && Fn(Is)), xe !== t ? (De = Pe, Vr++, _t = Vo(), Vr--, _t === t ? De = void 0 : (Pe = De, De = t), De !== t ? (di = W, W = pa()) : (Pe = W, W = t)) : (Pe = W, W = t), W;
43053
+ return W = Pe, xe = r.substr(Pe, 8), xe.toLowerCase() === Me ? Pe += 8 : (xe = t, Vr === 0 && Fn(Is)), xe !== t ? (De = Pe, Vr++, _t = Vo(), Vr--, _t === t ? De = void 0 : (Pe = De, De = t), De !== t ? (di = W, W = fa()) : (Pe = W, W = t)) : (Pe = W, W = t), W;
43051
43054
  }
43052
43055
  function Uje() {
43053
43056
  let W, xe, De, _t;
@@ -44139,13 +44142,13 @@ function Y6e(r) {
44139
44142
  return r instanceof NB;
44140
44143
  }
44141
44144
  function zC(r) {
44142
- return !!Di(r) || !!ys(r) || !!ca(r) || !!Oo(r) || !!ua(r) || !!ra(r) || r === null || r === hn || typeof r == "number";
44145
+ return !!Di(r) || !!ys(r) || !!ha(r) || !!Oo(r) || !!ca(r) || !!ra(r) || r === null || r === hn || typeof r == "number";
44143
44146
  }
44144
44147
  function Ho(r, e) {
44145
44148
  return r === void 0 ? e : r;
44146
44149
  }
44147
44150
  function X6e(r) {
44148
- return r == null ? "" : yn(r) || Mn(r) ? "Array" : ca(r) ? "Date" : ua(r) ? "Time" : Oo(r) ? "DateOnly" : Di(r) ? "String" : ra(r) ? "Boolean" : ys(r) ? "Number" : r?.declaredClass === "esri.arcade.Attachment" ? "Attachment" : r?.declaredClass === "esri.arcade.Portal" ? "Portal" : r?.declaredClass === "esri.arcade.Dictionary" ? "Dictionary" : Fpe(r) ? "KnowledgeGraph" : r instanceof NB ? "Module" : Al(r) ? "Feature" : r instanceof fr ? "Point" : r instanceof es ? "Polygon" : r instanceof Bs ? "Polyline" : r instanceof xu ? "Multipoint" : r instanceof Xr ? "Extent" : Tl(r) ? "Function" : Da(r) ? "FeatureSet" : G6(r) ? "FeatureSetCollection" : $pe(r) ? "Voxel" : r === hn ? "" : typeof r == "number" && isNaN(r) ? "Number" : "Unrecognized Type";
44151
+ return r == null ? "" : yn(r) || Mn(r) ? "Array" : ha(r) ? "Date" : ca(r) ? "Time" : Oo(r) ? "DateOnly" : Di(r) ? "String" : ra(r) ? "Boolean" : ys(r) ? "Number" : r?.declaredClass === "esri.arcade.Attachment" ? "Attachment" : r?.declaredClass === "esri.arcade.Portal" ? "Portal" : r?.declaredClass === "esri.arcade.Dictionary" ? "Dictionary" : Fpe(r) ? "KnowledgeGraph" : r instanceof NB ? "Module" : Al(r) ? "Feature" : r instanceof fr ? "Point" : r instanceof es ? "Polygon" : r instanceof Bs ? "Polyline" : r instanceof xu ? "Multipoint" : r instanceof Xr ? "Extent" : Tl(r) ? "Function" : Da(r) ? "FeatureSet" : G6(r) ? "FeatureSetCollection" : $pe(r) ? "Voxel" : r === hn ? "" : typeof r == "number" && isNaN(r) ? "Number" : "Unrecognized Type";
44149
44152
  }
44150
44153
  function jY(r) {
44151
44154
  return r === hn;
@@ -44177,13 +44180,13 @@ function Fpe(r) {
44177
44180
  function Mn(r) {
44178
44181
  return r instanceof r2;
44179
44182
  }
44180
- function ca(r) {
44183
+ function ha(r) {
44181
44184
  return r instanceof As;
44182
44185
  }
44183
44186
  function Oo(r) {
44184
44187
  return r instanceof Mu;
44185
44188
  }
44186
- function ua(r) {
44189
+ function ca(r) {
44187
44190
  return r instanceof ou;
44188
44191
  }
44189
44192
  function XIe(r) {
@@ -44309,60 +44312,60 @@ function Ope(r, e, t) {
44309
44312
  if (e === null || e === hn) return jo(null, null, t);
44310
44313
  if (ys(e)) return jo(0, e, t);
44311
44314
  if (Di(e) || ra(e)) return jo(0, Qt(e), t);
44312
- if (ca(e)) return jo(0, e.toNumber(), t);
44313
- if (ua(e) || Oo(e)) return jo(r, e.toNumber(), t);
44315
+ if (ha(e)) return jo(0, e.toNumber(), t);
44316
+ if (ca(e) || Oo(e)) return jo(r, e.toNumber(), t);
44314
44317
  }
44315
44318
  if (r === hn) {
44316
44319
  if (e === null || e === hn) return jo(null, null, t);
44317
44320
  if (ys(e)) return jo(0, e, t);
44318
44321
  if (Di(e) || ra(e)) return jo(0, Qt(e), t);
44319
- if (ca(e)) return jo(0, e.toNumber(), t);
44320
- if (ua(e) || Oo(e)) return jo(r, e.toNumber(), t);
44322
+ if (ha(e)) return jo(0, e.toNumber(), t);
44323
+ if (ca(e) || Oo(e)) return jo(r, e.toNumber(), t);
44321
44324
  } else if (ys(r)) {
44322
44325
  if (ys(e)) return jo(r, e, t);
44323
44326
  if (ra(e)) return jo(r, Qt(e), t);
44324
44327
  if (e === null || e === hn) return jo(r, 0, t);
44325
44328
  if (Di(e)) return jo(r, Qt(e), t);
44326
- if (ca(e) || ua(e) || Oo(e)) return jo(r, e.toNumber(), t);
44329
+ if (ha(e) || ca(e) || Oo(e)) return jo(r, e.toNumber(), t);
44327
44330
  } else if (Di(r)) {
44328
44331
  if (Di(e)) return jo(Qi(r), Qi(e), t);
44329
- if (ca(e) || ua(e) || Oo(e)) return jo(Qt(r), e.toNumber(), t);
44332
+ if (ha(e) || ca(e) || Oo(e)) return jo(Qt(r), e.toNumber(), t);
44330
44333
  if (ys(e)) return jo(Qt(r), e, t);
44331
44334
  if (e === null || e === hn) return jo(Qt(r), 0, t);
44332
44335
  if (ra(e)) return jo(Qt(r), Qt(e), t);
44333
- } else if (ca(r)) {
44334
- if (ca(e)) return r.timeZone !== e.timeZone && (r.isUnknownTimeZone ? r = As.arcadeDateAndZoneToArcadeDate(r, e.timeZone) : e.isUnknownTimeZone && (e = As.arcadeDateAndZoneToArcadeDate(e, r.timeZone))), jo(r.toNumber(), e.toNumber(), t);
44336
+ } else if (ha(r)) {
44337
+ if (ha(e)) return r.timeZone !== e.timeZone && (r.isUnknownTimeZone ? r = As.arcadeDateAndZoneToArcadeDate(r, e.timeZone) : e.isUnknownTimeZone && (e = As.arcadeDateAndZoneToArcadeDate(e, r.timeZone))), jo(r.toNumber(), e.toNumber(), t);
44335
44338
  if (e === null || e === hn) return jo(r.toNumber(), 0, t);
44336
44339
  if (ys(e)) return jo(r.toNumber(), e, t);
44337
44340
  if (ra(e) || Di(e)) return jo(r.toNumber(), Qt(e), t);
44338
- if (ua(e)) throw new Je(null, "CannotCompareDateAndTime", null);
44341
+ if (ca(e)) throw new Je(null, "CannotCompareDateAndTime", null);
44339
44342
  if (Oo(e)) return jo(r.toNumber(), e.toNumber(), t);
44340
44343
  } else if (ra(r)) {
44341
44344
  if (ra(e)) return jo(r, e, t);
44342
44345
  if (ys(e)) return jo(Qt(r), Qt(e), t);
44343
- if (ca(e) || ua(e) || Oo(e)) return jo(Qt(r), e.toNumber(), t);
44346
+ if (ha(e) || ca(e) || Oo(e)) return jo(Qt(r), e.toNumber(), t);
44344
44347
  if (e === null || e === hn) return jo(Qt(r), 0, t);
44345
44348
  if (Di(e)) return jo(Qt(r), Qt(e), t);
44346
44349
  } else if (Oo(r)) {
44347
- if (ca(e)) return jo(r.toNumber(), e.toNumber(), t);
44350
+ if (ha(e)) return jo(r.toNumber(), e.toNumber(), t);
44348
44351
  if (e === null || e === hn) return jo(r.toNumber(), 0, t);
44349
44352
  if (ys(e)) return jo(r.toNumber(), e, t);
44350
44353
  if (ra(e) || Di(e)) return jo(r.toNumber(), Qt(e), t);
44351
- if (ua(e)) throw new Je(null, "CannotCompareDateAndTime", null);
44352
- if (Oo(e)) return jo(r.toNumber(), e.toNumber(), t);
44353
- } else if (ua(r)) {
44354
44354
  if (ca(e)) throw new Je(null, "CannotCompareDateAndTime", null);
44355
+ if (Oo(e)) return jo(r.toNumber(), e.toNumber(), t);
44356
+ } else if (ca(r)) {
44357
+ if (ha(e)) throw new Je(null, "CannotCompareDateAndTime", null);
44355
44358
  if (e === null || e === hn) return jo(r.toNumber(), 0, t);
44356
44359
  if (ys(e)) return jo(r.toNumber(), e, t);
44357
44360
  if (ra(e) || Di(e)) return jo(r.toNumber(), Qt(e), t);
44358
- if (ua(e)) return jo(r.toNumber(), e.toNumber(), t);
44361
+ if (ca(e)) return jo(r.toNumber(), e.toNumber(), t);
44359
44362
  if (Oo(e)) throw new Je(null, "CannotCompareDateAndTime", null);
44360
44363
  }
44361
44364
  return !!z0(r, e) && (t === "<=" || t === ">=");
44362
44365
  }
44363
44366
  function z0(r, e) {
44364
44367
  if (r === e || r === null && e === hn || e === null && r === hn) return !0;
44365
- if (ca(r) && ca(e) || ua(r) && ua(e) || Oo(r) && Oo(e)) return r.equals(e);
44368
+ if (ha(r) && ha(e) || ca(r) && ca(e) || Oo(r) && Oo(e)) return r.equals(e);
44366
44369
  if (r instanceof WIe || r instanceof R8) return r.equalityTest(e);
44367
44370
  if (r instanceof fr && e instanceof fr) {
44368
44371
  const t = r.cache._arcadeCacheId, i = e.cache._arcadeCacheId;
@@ -44375,7 +44378,7 @@ function Lpe(r, { useNumbersForDates: e }) {
44375
44378
  for (const i in r) {
44376
44379
  t !== "" && (t += ",");
44377
44380
  const n = r[i];
44378
- n == null ? t += JSON.stringify(i) + ":null" : ra(n) || ys(n) || Di(n) ? t += JSON.stringify(i) + ":" + JSON.stringify(n) : Zu(n) ? t += JSON.stringify(i) + ":" + Pw(n) : ua(n) || Oo(n) ? t += `${JSON.stringify(i)}:${JSON.stringify(n.toString())}` : Mn(n) || Array.isArray(n) ? t += JSON.stringify(i) + ":" + Pw(n, null, e) : ca(n) ? t += e ? JSON.stringify(i) + ":" + JSON.stringify(n.getTime()) : JSON.stringify(i) + ":" + n.stringify() : n !== null && typeof n == "object" && "castToText" in n && (t += JSON.stringify(i) + ":" + n.castToText(e));
44381
+ n == null ? t += JSON.stringify(i) + ":null" : ra(n) || ys(n) || Di(n) ? t += JSON.stringify(i) + ":" + JSON.stringify(n) : Zu(n) ? t += JSON.stringify(i) + ":" + Pw(n) : ca(n) || Oo(n) ? t += `${JSON.stringify(i)}:${JSON.stringify(n.toString())}` : Mn(n) || Array.isArray(n) ? t += JSON.stringify(i) + ":" + Pw(n, null, e) : ha(n) ? t += e ? JSON.stringify(i) + ":" + JSON.stringify(n.getTime()) : JSON.stringify(i) + ":" + n.stringify() : n !== null && typeof n == "object" && "castToText" in n && (t += JSON.stringify(i) + ":" + n.castToText(e));
44379
44382
  }
44380
44383
  return "{" + t + "}";
44381
44384
  }
@@ -44384,8 +44387,8 @@ function Qi(r, e) {
44384
44387
  if (r === null) return "";
44385
44388
  if (ys(r)) return J6e(r, e);
44386
44389
  if (ra(r)) return r.toString();
44387
- if (ca(r)) return Rpe(r, e);
44388
- if (ua(r) || Oo(r)) return r.toFormat(e);
44390
+ if (ha(r)) return Rpe(r, e);
44391
+ if (ca(r) || Oo(r)) return r.toFormat(e);
44389
44392
  if (r instanceof un) return JSON.stringify(r.toJSON());
44390
44393
  if (yn(r)) {
44391
44394
  const t = [];
@@ -44414,8 +44417,8 @@ function Pw(r, e, t = !1) {
44414
44417
  if (r === null) return "";
44415
44418
  if (ys(r)) return J6e(r, e);
44416
44419
  if (ra(r)) return r.toString();
44417
- if (ca(r)) return Rpe(r, e);
44418
- if (ua(r) || Oo(r)) return r.toFormat(e);
44420
+ if (ha(r)) return Rpe(r, e);
44421
+ if (ca(r) || Oo(r)) return r.toFormat(e);
44419
44422
  if (r instanceof un) return r instanceof Xr ? '{"xmin":' + r.xmin.toString() + ',"ymin":' + r.ymin.toString() + "," + (r.hasZ ? '"zmin":' + r.zmin.toString() + "," : "") + (r.hasM ? '"mmin":' + r.mmin.toString() + "," : "") + '"xmax":' + r.xmax.toString() + ',"ymax":' + r.ymax.toString() + "," + (r.hasZ ? '"zmax":' + r.zmax.toString() + "," : "") + (r.hasM ? '"mmax":' + r.mmax.toString() + "," : "") + '"spatialReference":' + JIe(r.spatialReference) + "}" : JIe(r.toJSON(), (i, n) => i.key === n.key ? 0 : i.key === "spatialReference" ? 1 : n.key === "spatialReference" || i.key < n.key ? -1 : i.key > n.key ? 1 : 0);
44420
44423
  if (yn(r)) {
44421
44424
  const i = [];
@@ -44433,18 +44436,18 @@ function jle(r, e = !1) {
44433
44436
  if (r === null) return "null";
44434
44437
  if (ra(r) || ys(r) || Di(r)) return JSON.stringify(r);
44435
44438
  if (r instanceof un || r instanceof r2 || Array.isArray(r)) return Pw(r, null, e);
44436
- if (ca(r)) return JSON.stringify(e ? r.getTime() : Rpe(r, ""));
44437
- if (ua(r) || Oo(r)) return JSON.stringify(r.toString());
44439
+ if (ha(r)) return JSON.stringify(e ? r.getTime() : Rpe(r, ""));
44440
+ if (ca(r) || Oo(r)) return JSON.stringify(r.toString());
44438
44441
  if (r !== null && typeof r == "object") {
44439
44442
  if ("castToText" in r) return r.castToText(e);
44440
44443
  } else if (r === hn) return "null";
44441
44444
  return "null";
44442
44445
  }
44443
44446
  function Qt(r, e) {
44444
- return ys(r) ? r : r === null || r === "" ? 0 : ca(r) || Oo(r) || ua(r) ? NaN : ra(r) ? r ? 1 : 0 : yn(r) || r === "" || r === void 0 ? NaN : e !== void 0 && Di(r) ? (e = Cw(e, "‰", ""), e = Cw(e, "¤", ""), cbt(r, { pattern: e })) : r === hn ? 0 : Number(r);
44447
+ return ys(r) ? r : r === null || r === "" ? 0 : ha(r) || Oo(r) || ca(r) ? NaN : ra(r) ? r ? 1 : 0 : yn(r) || r === "" || r === void 0 ? NaN : e !== void 0 && Di(r) ? (e = Cw(e, "‰", ""), e = Cw(e, "¤", ""), cbt(r, { pattern: e })) : r === hn ? 0 : Number(r);
44445
44448
  }
44446
44449
  function rm(r, e) {
44447
- if (ca(r)) return r;
44450
+ if (ha(r)) return r;
44448
44451
  if (Di(r)) {
44449
44452
  const t = Sgr(r, e);
44450
44453
  if (t) return As.dateTimeToArcadeDate(t);
@@ -44484,9 +44487,9 @@ function Mk(r) {
44484
44487
  function K6e(r, e) {
44485
44488
  if (!r || !r.domain) return e;
44486
44489
  let t = null, i = null;
44487
- if (ca(e)) t = e.toNumber();
44490
+ if (ha(e)) t = e.toNumber();
44488
44491
  else if (Oo(e)) t = e.toString();
44489
- else if (ua(e)) t = e.toStorageString();
44492
+ else if (ca(e)) t = e.toStorageString();
44490
44493
  else if (r.field.type === "string" || r.field.type === "esriFieldTypeString") t = Qi(e);
44491
44494
  else {
44492
44495
  if (e == null) return null;
@@ -44676,7 +44679,7 @@ function jpe(r, e, t) {
44676
44679
  }
44677
44680
  }
44678
44681
  function TM(r, e = null) {
44679
- return r == null ? null : ra(r) || ys(r) || Di(r) ? r : r instanceof un ? e?.keepGeometryType === !0 ? r : r.toJSON() : r instanceof r2 ? r.toArray().map((t) => TM(t, e)) : Array.isArray(r) ? r.map((t) => TM(t, e)) : gm(r) ? r : ca(r) ? r.toJSDate() : ua(r) ? r.toString() : Oo(r) ? r.toJSDate() : r !== null && typeof r == "object" && r.castAsJson !== void 0 ? r.castAsJson(e) : null;
44682
+ return r == null ? null : ra(r) || ys(r) || Di(r) ? r : r instanceof un ? e?.keepGeometryType === !0 ? r : r.toJSON() : r instanceof r2 ? r.toArray().map((t) => TM(t, e)) : Array.isArray(r) ? r.map((t) => TM(t, e)) : gm(r) ? r : ha(r) ? r.toJSDate() : ca(r) ? r.toString() : Oo(r) ? r.toJSDate() : r !== null && typeof r == "object" && r.castAsJson !== void 0 ? r.castAsJson(e) : null;
44680
44683
  }
44681
44684
  async function Igr(r, e, t, i, n) {
44682
44685
  const s = await e8e(r, e, t);
@@ -44684,10 +44687,10 @@ async function Igr(r, e, t, i, n) {
44684
44687
  }
44685
44688
  async function e8e(r, e = null, t = null) {
44686
44689
  if (r instanceof r2 && (r = r.toArray()), r == null) return null;
44687
- if (zC(r) || r instanceof un || gm(r) || ca(r)) return TM(r, t);
44690
+ if (zC(r) || r instanceof un || gm(r) || ha(r)) return TM(r, t);
44688
44691
  if (Array.isArray(r)) {
44689
44692
  const i = [], n = [];
44690
- for (const s of r) s === null || zC(s) || s instanceof un || gm(s) || ca(s) ? n.push(TM(s, t)) : (n.push(null), i.push(Igr(s, e, t, n.length - 1, n)));
44693
+ for (const s of r) s === null || zC(s) || s instanceof un || gm(s) || ha(s) ? n.push(TM(s, t)) : (n.push(null), i.push(Igr(s, e, t, n.length - 1, n)));
44691
44694
  return i.length > 0 && await Promise.all(i), n;
44692
44695
  }
44693
44696
  return r !== null && typeof r == "object" && r.castAsJsonAsync !== void 0 ? r.castAsJsonAsync(e, t) : null;
@@ -44747,17 +44750,17 @@ function dbt(r, e) {
44747
44750
  const t = As.systemTimeZoneCanonicalName;
44748
44751
  return r === "system" && (r = t), { version: pbt, engineVersion: Jde, timeZone: r, userTimeZone: t, spatialReference: e instanceof sr ? e.toJSON() : e, application: ia.applicationName ?? "", engine: "web", locale: Sy() };
44749
44752
  }
44750
- const pbt = "1.32", fbt = Object.freeze(Object.defineProperty({ __proto__: null, ImplicitResult: cD, ReturnResult: tc, absRound: hbt, arcadeVersion: pbt, autoCastArrayOfPointsToMultiPoint: o6, autoCastArrayOfPointsToPolygon: s6, autoCastArrayOfPointsToPolyline: Aw, autoCastFeatureToGeometry: Bn, binaryOperator: jpe, breakResult: Xc, castAsJson: TM, castAsJsonAsync: e8e, castRecordToText: Lpe, continueResult: U3, defaultExecutingContext: dbt, defaultTimeZone: Ns, defaultUndefined: Ho, equalityTest: z0, featureDomainCodeLookup: n8e, featureDomainValueLookup: i8e, featureFullDomain: r8e, featureSchema: s8e, featureSubtypes: XH, fixNullGeometry: Mk, fixSpatialReference: Cd, formatDate: Rpe, formatNumber: J6e, getDomain: n6, getDomainCode: Q6e, getDomainValue: K6e, getType: X6e, greaterThanLessThan: Ope, isArray: yn, isBoolean: ra, isDate: ca, isDateOnly: Oo, isDictionary: u3, isDictionaryLike: ib, isFeature: Al, isFeatureSet: Da, isFeatureSetCollection: G6, isFunctionParameter: Tl, isGeometry: Zu, isGraphic: fB, isImmutableArray: Mn, isInteger: uT, isJsDate: gm, isKnowledgeGraph: Fpe, isModule: Y6e, isNumber: ys, isObject: XIe, isSimpleType: zC, isString: Di, isSubtypeGrouplayer: Egr, isSubtypeSublayer: t8e, isTime: ua, isVoid: jY, isVoxel: $pe, multiReplace: Cw, parseGeometryFromJson: Tgr, pcCheck: br, stableStringify: JIe, standardiseDateFormat: Z6e, tick: YH, toBoolean: fw, toDate: rm, toNumber: Qt, toNumberArray: Ak, toString: Qi, toStringArray: Ble, toStringExplicit: Pw, voidOperation: hn }, Symbol.toStringTag, { value: "Module" }));
44753
+ const pbt = "1.32", fbt = Object.freeze(Object.defineProperty({ __proto__: null, ImplicitResult: cD, ReturnResult: tc, absRound: hbt, arcadeVersion: pbt, autoCastArrayOfPointsToMultiPoint: o6, autoCastArrayOfPointsToPolygon: s6, autoCastArrayOfPointsToPolyline: Aw, autoCastFeatureToGeometry: Bn, binaryOperator: jpe, breakResult: Xc, castAsJson: TM, castAsJsonAsync: e8e, castRecordToText: Lpe, continueResult: U3, defaultExecutingContext: dbt, defaultTimeZone: Ns, defaultUndefined: Ho, equalityTest: z0, featureDomainCodeLookup: n8e, featureDomainValueLookup: i8e, featureFullDomain: r8e, featureSchema: s8e, featureSubtypes: XH, fixNullGeometry: Mk, fixSpatialReference: Cd, formatDate: Rpe, formatNumber: J6e, getDomain: n6, getDomainCode: Q6e, getDomainValue: K6e, getType: X6e, greaterThanLessThan: Ope, isArray: yn, isBoolean: ra, isDate: ha, isDateOnly: Oo, isDictionary: u3, isDictionaryLike: ib, isFeature: Al, isFeatureSet: Da, isFeatureSetCollection: G6, isFunctionParameter: Tl, isGeometry: Zu, isGraphic: fB, isImmutableArray: Mn, isInteger: uT, isJsDate: gm, isKnowledgeGraph: Fpe, isModule: Y6e, isNumber: ys, isObject: XIe, isSimpleType: zC, isString: Di, isSubtypeGrouplayer: Egr, isSubtypeSublayer: t8e, isTime: ca, isVoid: jY, isVoxel: $pe, multiReplace: Cw, parseGeometryFromJson: Tgr, pcCheck: br, stableStringify: JIe, standardiseDateFormat: Z6e, tick: YH, toBoolean: fw, toDate: rm, toNumber: Qt, toNumberArray: Ak, toString: Qi, toStringArray: Ble, toStringExplicit: Pw, voidOperation: hn }, Symbol.toStringTag, { value: "Module" }));
44751
44754
  function Cgr(r) {
44752
44755
  mbt = r;
44753
44756
  }
44754
44757
  let mbt;
44755
44758
  function BY(r) {
44756
- return r === null ? null : ca(r) ? r.clone() : zC(r) ? r : Zu(r) ? r.clone() : Mn(r) ? r.toArray().map((e) => BY(e)) : yn(r) ? r.map((e) => BY(e)) : Al(r) ? mbt.createFromArcadeFeature(r) : G6(r) || Da(r) ? r : u3(r) || r?.declaredClass === "esri.arcade.Attachment" ? r.deepClone() : (r?.declaredClass === "esri.arcade.Portal" || Fpe(r) || r instanceof NB || Tl(r), r);
44759
+ return r === null ? null : ha(r) ? r.clone() : zC(r) ? r : Zu(r) ? r.clone() : Mn(r) ? r.toArray().map((e) => BY(e)) : yn(r) ? r.map((e) => BY(e)) : Al(r) ? mbt.createFromArcadeFeature(r) : G6(r) || Da(r) ? r : u3(r) || r?.declaredClass === "esri.arcade.Attachment" ? r.deepClone() : (r?.declaredClass === "esri.arcade.Portal" || Fpe(r) || r instanceof NB || Tl(r), r);
44757
44760
  }
44758
44761
  function Ule(r, e, t = !1, i = !1) {
44759
44762
  if (r == null) return null;
44760
- if (ys(r) || ra(r) || Di(r) || ca(r) || Oo(r) || ua(r)) return r;
44763
+ if (ys(r) || ra(r) || Di(r) || ha(r) || Oo(r) || ca(r)) return r;
44761
44764
  if (yn(r)) {
44762
44765
  const s = [];
44763
44766
  for (const o of r) s.push(Ule(o, e, t, i));
@@ -45862,7 +45865,7 @@ let sp = class OI {
45862
45865
  for (const a in this.attributes) if (a.toLowerCase() === n.toLowerCase()) {
45863
45866
  if (o = this.attributes[a], o !== null) {
45864
45867
  if (s === "time-only") {
45865
- ua(o) || (this.attributes[a] = ou.fromReader(o.toString()));
45868
+ ca(o) || (this.attributes[a] = ou.fromReader(o.toString()));
45866
45869
  break;
45867
45870
  }
45868
45871
  if (s === "date-only") {
@@ -45870,12 +45873,12 @@ let sp = class OI {
45870
45873
  break;
45871
45874
  }
45872
45875
  if (s === "timestamp-offset") {
45873
- ca(o) || (this.attributes[a] = As.fromReaderAsTimeStampOffset(o.toString()));
45876
+ ha(o) || (this.attributes[a] = As.fromReaderAsTimeStampOffset(o.toString()));
45874
45877
  break;
45875
45878
  }
45876
45879
  if (s === "date") {
45877
45880
  const l = this.isUnknownDateTimeField(a);
45878
- o instanceof Date ? this.attributes[a] = l ? As.unknownDateJSToArcadeDate(o) : As.dateJSAndZoneToArcadeDate(o, t) : ca(o) || (this.attributes[a] = l ? As.unknownEpochToArcadeDate(o) : As.epochToArcadeDate(o, t));
45881
+ o instanceof Date ? this.attributes[a] = l ? As.unknownDateJSToArcadeDate(o) : As.dateJSAndZoneToArcadeDate(o, t) : ha(o) || (this.attributes[a] = l ? As.unknownEpochToArcadeDate(o) : As.epochToArcadeDate(o, t));
45879
45882
  }
45880
45883
  s === "geometry" && (this.attributes[a] = null);
45881
45884
  }
@@ -45883,7 +45886,7 @@ let sp = class OI {
45883
45886
  }
45884
45887
  } else if (o !== null) {
45885
45888
  if (s === "time-only") {
45886
- ua(o) ? this.attributes[n] = o : this.attributes[n] = ou.fromReader(o.toString());
45889
+ ca(o) ? this.attributes[n] = o : this.attributes[n] = ou.fromReader(o.toString());
45887
45890
  continue;
45888
45891
  }
45889
45892
  if (s === "date-only") {
@@ -45891,12 +45894,12 @@ let sp = class OI {
45891
45894
  continue;
45892
45895
  }
45893
45896
  if (s === "timestamp-offset") {
45894
- ca(o) ? this.attributes[n] = o : this.attributes[n] = As.fromReaderAsTimeStampOffset(o.toString());
45897
+ ha(o) ? this.attributes[n] = o : this.attributes[n] = As.fromReaderAsTimeStampOffset(o.toString());
45895
45898
  continue;
45896
45899
  }
45897
45900
  if (s === "date") {
45898
45901
  const a = this.isUnknownDateTimeField(n);
45899
- ca(o) ? this.attributes[n] = o : o instanceof Date ? this.attributes[n] = a ? As.unknownDateJSToArcadeDate(o) : As.dateJSAndZoneToArcadeDate(o, t) : this.attributes[n] = a ? As.unknownEpochToArcadeDate(o) : As.epochToArcadeDate(o, t);
45902
+ ha(o) ? this.attributes[n] = o : o instanceof Date ? this.attributes[n] = a ? As.unknownDateJSToArcadeDate(o) : As.dateJSAndZoneToArcadeDate(o, t) : this.attributes[n] = a ? As.unknownEpochToArcadeDate(o) : As.epochToArcadeDate(o, t);
45900
45903
  continue;
45901
45904
  }
45902
45905
  if (s === "geometry") {
@@ -45966,7 +45969,7 @@ let sp = class OI {
45966
45969
  const o = e.attributes[s];
45967
45970
  if (o === null) n[s] = o;
45968
45971
  else {
45969
- if (!(Di(o) || ys(o) || ra(o) || ca(o) || ua(o) || Oo(o))) throw new Je(null, "InvalidParameter", null);
45972
+ if (!(Di(o) || ys(o) || ra(o) || ha(o) || ca(o) || Oo(o))) throw new Je(null, "InvalidParameter", null);
45970
45973
  n[s] = o;
45971
45974
  }
45972
45975
  }
@@ -46688,8 +46691,8 @@ function T8e(r, e) {
46688
46691
  return new ou(a.hour, a.minute, a.second, a.millisecond);
46689
46692
  }
46690
46693
  case 1: {
46691
- if (ua(o[0])) return o[0].clone();
46692
- if (ca(o[0])) return new ou(o[0].hour, o[0].minute, o[0].second, o[0].millisecond);
46694
+ if (ca(o[0])) return o[0].clone();
46695
+ if (ha(o[0])) return new ou(o[0].hour, o[0].minute, o[0].second, o[0].millisecond);
46693
46696
  if (Oo(o[0])) return new ou(0, 0, 0, 0);
46694
46697
  if (Di(o[0])) return ou.fromString(o[0]);
46695
46698
  const a = Qt(o[0]);
@@ -46717,7 +46720,7 @@ function T8e(r, e) {
46717
46720
  if (/^[0-9][0-9][0-9][0-9]$/.test(o[0]) === !0) return Mu.fromString(o[0] + "-01-01");
46718
46721
  }
46719
46722
  if (Oo(o[0])) return o[0].clone();
46720
- if (ca(o[0])) return Mu.fromParts(o[0].year, o[0].monthJS + 1, o[0].day);
46723
+ if (ha(o[0])) return Mu.fromParts(o[0].year, o[0].monthJS + 1, o[0].day);
46721
46724
  const a = Qt(o[0]);
46722
46725
  return isNaN(a) === !1 ? Mu.fromMilliseconds(a) : Di(o[0]) ? Mu.fromString(o[0]) : null;
46723
46726
  }
@@ -46741,7 +46744,7 @@ function T8e(r, e) {
46741
46744
  });
46742
46745
  }, r.timezone = function(t, i) {
46743
46746
  return e(t, i, (n, s, o) => {
46744
- if (br(o, 1, 2, t, i), ua(o[0]) || Oo(o[0])) return "Unknown";
46747
+ if (br(o, 1, 2, t, i), ca(o[0]) || Oo(o[0])) return "Unknown";
46745
46748
  const a = rm(o[0], Ns(t));
46746
46749
  if (a === null) return null;
46747
46750
  const l = a.timeZone;
@@ -46797,25 +46800,25 @@ function T8e(r, e) {
46797
46800
  });
46798
46801
  }, r.hour = function(t, i) {
46799
46802
  return e(t, i, (n, s, o) => {
46800
- if (br(o, 1, 1, t, i), ua(o[0])) return o[0].hour;
46803
+ if (br(o, 1, 1, t, i), ca(o[0])) return o[0].hour;
46801
46804
  const a = rm(o[0], Ns(t));
46802
46805
  return a === null ? NaN : a.hour;
46803
46806
  });
46804
46807
  }, r.second = function(t, i) {
46805
46808
  return e(t, i, (n, s, o) => {
46806
- if (br(o, 1, 1, t, i), ua(o[0])) return o[0].second;
46809
+ if (br(o, 1, 1, t, i), ca(o[0])) return o[0].second;
46807
46810
  const a = rm(o[0], Ns(t));
46808
46811
  return a === null ? NaN : a.second;
46809
46812
  });
46810
46813
  }, r.millisecond = function(t, i) {
46811
46814
  return e(t, i, (n, s, o) => {
46812
- if (br(o, 1, 1, t, i), ua(o[0])) return o[0].millisecond;
46815
+ if (br(o, 1, 1, t, i), ca(o[0])) return o[0].millisecond;
46813
46816
  const a = rm(o[0], Ns(t));
46814
46817
  return a === null ? NaN : a.millisecond;
46815
46818
  });
46816
46819
  }, r.minute = function(t, i) {
46817
46820
  return e(t, i, (n, s, o) => {
46818
- if (br(o, 1, 1, t, i), ua(o[0])) return o[0].minute;
46821
+ if (br(o, 1, 1, t, i), ca(o[0])) return o[0].minute;
46819
46822
  const a = rm(o[0], Ns(t));
46820
46823
  return a === null ? NaN : a.minute;
46821
46824
  });
@@ -46862,7 +46865,7 @@ function T8e(r, e) {
46862
46865
  }, r.date = function(t, i) {
46863
46866
  return e(t, i, (n, s, o) => {
46864
46867
  if (br(o, 0, 8, t, i), o.length === 3) {
46865
- if (Oo(o[0]) && ua(o[1]) && Di(o[2])) {
46868
+ if (Oo(o[0]) && ca(o[1]) && Di(o[2])) {
46866
46869
  const a = y0(qU(Qi(o[2]) ?? "unknown", t), !1);
46867
46870
  return a === null ? null : AS(As.fromParts(o[0].year, o[0].month, o[0].day, o[1].hour, o[1].minute, o[1].second, o[1].millisecond, a));
46868
46871
  }
@@ -46881,7 +46884,7 @@ function T8e(r, e) {
46881
46884
  const u = y0(qU(Qi(o[1]) ?? "unknown", t), !1);
46882
46885
  return u === null ? null : AS(As.fromParts(o[0].year, o[0].month, o[0].day, 0, 0, 0, 0, u));
46883
46886
  }
46884
- if (Oo(o[0]) && ua(o[1])) return AS(As.fromParts(o[0].year, o[0].month, o[0].day, o[1].hour, o[1].minute, o[1].second, o[1].millisecond, "unknown"));
46887
+ if (Oo(o[0]) && ca(o[1])) return AS(As.fromParts(o[0].year, o[0].month, o[0].day, o[1].hour, o[1].minute, o[1].second, o[1].millisecond, "unknown"));
46885
46888
  let a, l = Qi(o[1]);
46886
46889
  return l === "" ? null : (l = Z6e(l, !0), a = l === "X" ? fn.fromSeconds(Qt(o[0])) : l === "x" ? fn.fromMillis(Qt(o[0])) : fn.fromFormat(Qi(o[0]), l, { locale: Sy(), numberingSystem: "latn" }), a.isValid ? As.dateTimeToArcadeDate(a) : null);
46887
46890
  }
@@ -46902,8 +46905,8 @@ function T8e(r, e) {
46902
46905
  });
46903
46906
  }, r.datediff = function(t, i) {
46904
46907
  return e(t, i, (n, s, o) => {
46905
- if (br(o, 2, 4, t, i), ua(o[0])) return ua(o[1]) ? o[0].difference(o[1], Qi(o[2])) : NaN;
46906
- if (ua(o[1])) return NaN;
46908
+ if (br(o, 2, 4, t, i), ca(o[0])) return ca(o[1]) ? o[0].difference(o[1], Qi(o[2])) : NaN;
46909
+ if (ca(o[1])) return NaN;
46907
46910
  if (Oo(o[0])) return Oo(o[1]) ? o[0].difference(o[1], Qi(o[2])) : NaN;
46908
46911
  if (Oo(o[1])) return NaN;
46909
46912
  let a = rm(o[0], Ns(t)), l = rm(o[1], Ns(t));
@@ -46915,9 +46918,9 @@ function T8e(r, e) {
46915
46918
  return e(t, i, (n, s, o) => {
46916
46919
  br(o, 2, 3, t, i);
46917
46920
  let a = Qt(o[1]);
46918
- if (isNaN(a) || a === 1 / 0 || a === -1 / 0) return ua(o[0]) || Oo(o[0]) ? o[0].clone() : rm(o[0], Ns(t));
46921
+ if (isNaN(a) || a === 1 / 0 || a === -1 / 0) return ca(o[0]) || Oo(o[0]) ? o[0].clone() : rm(o[0], Ns(t));
46919
46922
  const l = zWe(o[2]);
46920
- if (l !== "days" && l !== "months" || (a = Oo(o[0]) ? a : hbt(a)), ua(o[0]) || Oo(o[0])) return o[0].plus(l, a);
46923
+ if (l !== "days" && l !== "months" || (a = Oo(o[0]) ? a : hbt(a)), ca(o[0]) || Oo(o[0])) return o[0].plus(l, a);
46921
46924
  const u = rm(o[0], Ns(t));
46922
46925
  return u === null ? null : u.plus({ [l]: a });
46923
46926
  });
@@ -46935,7 +46938,7 @@ function qbt(r) {
46935
46938
  const $yr = { getAttributeSQL(r, e) {
46936
46939
  const t = r.field(e);
46937
46940
  if (t == null) return t;
46938
- if (ca(t)) {
46941
+ if (ha(t)) {
46939
46942
  const i = t.toDateTime(), n = qbt(r)?.get(e)?.type;
46940
46943
  return n === "esriFieldTypeTimestampOffset" || n === "timestamp-offset" ? $y.fromDateTime(i) : i;
46941
46944
  }
@@ -47030,7 +47033,7 @@ function I8e(r, e, t) {
47030
47033
  if (br(a, 1, 1, s, o), Al(a[0])) {
47031
47034
  if (a[0].hasField(GY)) {
47032
47035
  const l = a[0].field(GY);
47033
- return ys(l) ? As.epochToArcadeDate(l, s.timeZone ?? "system") : ca(l) ? l : null;
47036
+ return ys(l) ? As.epochToArcadeDate(l, s.timeZone ?? "system") : ha(l) ? l : null;
47034
47037
  }
47035
47038
  return null;
47036
47039
  }
@@ -47278,7 +47281,7 @@ function E8e(r, e) {
47278
47281
  }
47279
47282
  for (let c = 1; c < o.length; c += 2) {
47280
47283
  const h = Qi(o[c]), d = o[c + 1];
47281
- if (!(d == null || Di(d) || isNaN(d) || ca(d) || ys(d) || ua(d) || Oo(d) || ra(d))) throw new Je(t, "InvalidParameter", i);
47284
+ if (!(d == null || Di(d) || isNaN(d) || ha(d) || ys(d) || ca(d) || Oo(d) || ra(d))) throw new Je(t, "InvalidParameter", i);
47282
47285
  if (Tl(d) || zC(d) === !1) throw new Je(t, "InvalidParameter", i);
47283
47286
  u[h] = d === hn ? null : d;
47284
47287
  }
@@ -47339,7 +47342,7 @@ function E8e(r, e) {
47339
47342
  const a = /* @__PURE__ */ Object.create(null);
47340
47343
  for (let u = 0; u < o.length; u += 2) {
47341
47344
  const c = Qi(o[u]), h = o[u + 1];
47342
- if (!(h == null || Di(h) || isNaN(h) || ca(h) || ys(h) || ra(h) || Oo(h) || ua(h) || yn(h) || Mn(h))) throw new Je(t, "InvalidParameter", i);
47345
+ if (!(h == null || Di(h) || isNaN(h) || ha(h) || ys(h) || ra(h) || Oo(h) || ca(h) || yn(h) || Mn(h))) throw new Je(t, "InvalidParameter", i);
47343
47346
  if (Tl(h)) throw new Je(t, "InvalidParameter", i);
47344
47347
  a[c] = h === hn ? null : h;
47345
47348
  }
@@ -47970,7 +47973,7 @@ function owt(r, e) {
47970
47973
  }, r.overlaps = function(t, i) {
47971
47974
  return e(t, i, (n, s, o) => (o = Bn(o), Qp(o, t, i), o[0] !== null && o[1] !== null && Ga.overlaps.execute(o[0], o[1])));
47972
47975
  }, r.equals = function(t, i) {
47973
- return e(t, i, (n, s, o) => (br(o, 2, 2, t, i), o[0] === o[1] || (o[0] instanceof un && o[1] instanceof un ? Ga.equals.execute(o[0], o[1]) : (ca(o[0]) && ca(o[1]) || ua(o[0]) && ua(o[1]) || !(!Oo(o[0]) || !Oo(o[1]))) && o[0].equals(o[1]))));
47976
+ return e(t, i, (n, s, o) => (br(o, 2, 2, t, i), o[0] === o[1] || (o[0] instanceof un && o[1] instanceof un ? Ga.equals.execute(o[0], o[1]) : (ha(o[0]) && ha(o[1]) || ca(o[0]) && ca(o[1]) || !(!Oo(o[0]) || !Oo(o[1]))) && o[0].equals(o[1]))));
47974
47977
  }, r.relate = function(t, i) {
47975
47978
  return e(t, i, (n, s, o) => {
47976
47979
  if (o = Bn(o), br(o, 3, 3, t, i), o[0] instanceof un && o[1] instanceof un) return Ga.relate.execute(o[0], o[1], Qi(o[2]));
@@ -48285,7 +48288,7 @@ function D8e(r, e) {
48285
48288
  const l = a[0];
48286
48289
  if (ys(l)) return l;
48287
48290
  if (l === null) return 0;
48288
- if (ca(l) || ua(l) || Oo(l)) return l.toNumber();
48291
+ if (ha(l) || ca(l) || Oo(l)) return l.toNumber();
48289
48292
  if (ra(l)) return Number(l);
48290
48293
  if (yn(l)) return NaN;
48291
48294
  if (l === "" || l === void 0) return Number(l);
@@ -49106,9 +49109,9 @@ function zb(r, e, t) {
49106
49109
  }
49107
49110
  e.updateUint8Array([199]);
49108
49111
  } else {
49109
- if (ca(r)) return e.updateIntArray([r.toNumber()]), void e.updateUint8Array([241]);
49112
+ if (ha(r)) return e.updateIntArray([r.toNumber()]), void e.updateUint8Array([241]);
49110
49113
  if (Oo(r)) return e.updateIntArray([r.toNumber()]), void e.updateIntArray([257]);
49111
- if (ua(r)) return e.updateIntArray([r.toNumber()]), void e.updateIntArray([263]);
49114
+ if (ca(r)) return e.updateIntArray([r.toNumber()]), void e.updateIntArray([263]);
49112
49115
  if (Di(r)) return e.updateIntArray([r.length]), e.updateWithString(r), void e.updateUint8Array([41]);
49113
49116
  if (ra(r)) e.updateUint8Array([r === !0 ? 1 : 0, 113]);
49114
49117
  else {
@@ -51898,7 +51901,7 @@ let vj = class extends NB {
51898
51901
  };
51899
51902
  function M1r(r, e) {
51900
51903
  const t = [];
51901
- for (let i = 0; i < e.arguments.length; i++) t.push(ha(r, e.arguments[i]));
51904
+ for (let i = 0; i < e.arguments.length; i++) t.push(da(r, e.arguments[i]));
51902
51905
  return t;
51903
51906
  }
51904
51907
  function ax(r, e, t) {
@@ -51908,7 +51911,7 @@ function ax(r, e, t) {
51908
51911
  throw i;
51909
51912
  }
51910
51913
  }
51911
- function ha(r, e) {
51914
+ function da(r, e) {
51912
51915
  try {
51913
51916
  switch (e.type) {
51914
51917
  case "AssignmentExpression":
@@ -51981,7 +51984,7 @@ function fg(r, e) {
51981
51984
  function D1r(r, e) {
51982
51985
  const t = /* @__PURE__ */ Object.create(null), i = /* @__PURE__ */ new Map();
51983
51986
  for (let s = 0; s < e.properties.length; s++) {
51984
- const o = e.properties[s], a = o.key.type === "Identifier" ? o.key.name : ha(r, o.key), l = ha(r, o.value);
51987
+ const o = e.properties[s], a = o.key.type === "Identifier" ? o.key.name : da(r, o.key), l = da(r, o.value);
51985
51988
  if (Tl(l)) throw new Je(r, "NoFunctionInDictionary", e);
51986
51989
  if (Di(a) === !1) throw new Je(r, "KeyMustBeString", e);
51987
51990
  let u = a.toString();
@@ -51992,7 +51995,7 @@ function D1r(r, e) {
51992
51995
  return n.immutable = !1, n;
51993
51996
  }
51994
51997
  function k1r(r, e) {
51995
- const t = ha(r, e.right);
51998
+ const t = da(r, e.right);
51996
51999
  e.left.type === "VariableDeclaration" && Iwt(r, e.left);
51997
52000
  const i = as(e.left.type === "VariableDeclaration" ? e.left.declarations[0].id : e.left);
51998
52001
  let n = null;
@@ -52042,7 +52045,7 @@ function k1r(r, e) {
52042
52045
  return hn;
52043
52046
  }
52044
52047
  function N1r(r, e) {
52045
- const t = ha(r, e.right);
52048
+ const t = da(r, e.right);
52046
52049
  e.left.type === "VariableDeclaration" && fg(r, e.left);
52047
52050
  const i = as(e.left.type === "VariableDeclaration" ? e.left.declarations[0].id : e.left);
52048
52051
  let n = null;
@@ -52094,7 +52097,7 @@ function N1r(r, e) {
52094
52097
  return hn;
52095
52098
  }
52096
52099
  function $1r(r, e) {
52097
- e.init !== null && (e.init.type === "VariableDeclaration" ? fg(r, e.init) : ha(r, e.init));
52100
+ e.init !== null && (e.init.type === "VariableDeclaration" ? fg(r, e.init) : da(r, e.init));
52098
52101
  const t = { testResult: !0, lastAction: hn };
52099
52102
  do
52100
52103
  R1r(r, e, t);
@@ -52103,25 +52106,25 @@ function $1r(r, e) {
52103
52106
  }
52104
52107
  function F1r(r, e) {
52105
52108
  const t = { testResult: !0, lastAction: hn };
52106
- if (t.testResult = ha(r, e.test), t.testResult === !1) return hn;
52109
+ if (t.testResult = da(r, e.test), t.testResult === !1) return hn;
52107
52110
  if (t.testResult !== !0) throw new Je(r, "BooleanConditionRequired", e);
52108
- for (; t.testResult === !0 && (t.lastAction = fg(r, e.body), t.lastAction !== Xc) && !(t.lastAction instanceof tc); ) if (t.testResult = ha(r, e.test), t.testResult !== !0 && t.testResult !== !1) throw new Je(r, "BooleanConditionRequired", e);
52111
+ for (; t.testResult === !0 && (t.lastAction = fg(r, e.body), t.lastAction !== Xc) && !(t.lastAction instanceof tc); ) if (t.testResult = da(r, e.test), t.testResult !== !0 && t.testResult !== !1) throw new Je(r, "BooleanConditionRequired", e);
52109
52112
  return t.lastAction instanceof tc ? t.lastAction : hn;
52110
52113
  }
52111
52114
  function R1r(r, e, t) {
52112
52115
  if (e.test !== null) {
52113
- if (t.testResult = ha(r, e.test), t.testResult === !1) return;
52116
+ if (t.testResult = da(r, e.test), t.testResult === !1) return;
52114
52117
  if (t.testResult !== !0) throw new Je(r, "BooleanConditionRequired", e);
52115
52118
  }
52116
- t.lastAction = fg(r, e.body), t.lastAction !== Xc ? t.lastAction instanceof tc ? t.testResult = !1 : e.update !== null && ha(r, e.update) : t.testResult = !1;
52119
+ t.lastAction = fg(r, e.body), t.lastAction !== Xc ? t.lastAction instanceof tc ? t.testResult = !1 : e.update !== null && da(r, e.update) : t.testResult = !1;
52117
52120
  }
52118
52121
  function O1r(r, e) {
52119
52122
  if (e.argument.type === "CallExpression") throw new Je(r, "NeverReach", e);
52120
52123
  let t;
52121
52124
  if (e.argument.type === "MemberExpression") {
52122
- const n = ha(r, e.argument.object);
52125
+ const n = da(r, e.argument.object);
52123
52126
  let s;
52124
- if (e.argument.computed === !0) s = ha(r, e.argument.property);
52127
+ if (e.argument.computed === !0) s = da(r, e.argument.property);
52125
52128
  else {
52126
52129
  if (e.argument.property.type !== "Identifier") throw new Je(r, "Unrecognized", e);
52127
52130
  s = e.argument.property.name;
@@ -52172,14 +52175,14 @@ function iI(r, e, t, i, n) {
52172
52175
  }
52173
52176
  function L1r(r, e) {
52174
52177
  if (e.left.type === "MemberExpression") {
52175
- const n = ha(r, e.left.object);
52178
+ const n = da(r, e.left.object);
52176
52179
  let s;
52177
- if (e.left.computed === !0) s = ha(r, e.left.property);
52180
+ if (e.left.computed === !0) s = da(r, e.left.property);
52178
52181
  else {
52179
52182
  if (e.left.property.type !== "Identifier") throw new Je(r, "InvalidIdentifier", e);
52180
52183
  s = e.left.property.name;
52181
52184
  }
52182
- const o = ha(r, e.right);
52185
+ const o = da(r, e.right);
52183
52186
  if (yn(n)) {
52184
52187
  if (!ys(s)) throw new Je(r, "ArrayAccessMustBeNumber", e);
52185
52188
  if (s < 0 && (s = n.length + s), s < 0 || s > n.length) throw new Je(r, "OutOfBounds", e);
@@ -52210,17 +52213,17 @@ function L1r(r, e) {
52210
52213
  }
52211
52214
  return hn;
52212
52215
  }
52213
- const t = as(e.left), i = ha(r, e.right);
52216
+ const t = as(e.left), i = da(r, e.right);
52214
52217
  if (r.localScope != null && r.localScope[t] !== void 0) return r.localScope[t] = { value: iI(i, e.operator, r.localScope[t].value, e, r) }, hn;
52215
52218
  if (r.globalScope[t] !== void 0) return r.globalScope[t] = { value: iI(i, e.operator, r.globalScope[t].value, e, r) }, hn;
52216
52219
  throw new Je(r, "InvalidIdentifier", e);
52217
52220
  }
52218
52221
  function j1r(r, e) {
52219
- const t = ha(r, e.expression);
52222
+ const t = da(r, e.expression);
52220
52223
  return t === hn ? hn : new cD(t);
52221
52224
  }
52222
52225
  function B1r(r, e) {
52223
- const t = ha(r, e.test);
52226
+ const t = da(r, e.test);
52224
52227
  if (t === !0) return fg(r, e.consequent);
52225
52228
  if (t === !1) return e.alternate !== null ? fg(r, e.alternate) : hn;
52226
52229
  throw new Je(r, "BooleanConditionRequired", e);
@@ -52232,7 +52235,7 @@ function R8e(r, e) {
52232
52235
  }
52233
52236
  function U1r(r, e) {
52234
52237
  if (e.argument === null) return new tc(hn);
52235
- const t = ha(r, e.argument);
52238
+ const t = da(r, e.argument);
52236
52239
  return new tc(t);
52237
52240
  }
52238
52241
  function z1r(r, e) {
@@ -52254,14 +52257,14 @@ function Iwt(r, e) {
52254
52257
  return hn;
52255
52258
  }
52256
52259
  function G1r(r, e) {
52257
- let t = e.init === null ? null : ha(r, e.init);
52260
+ let t = e.init === null ? null : da(r, e.init);
52258
52261
  if (t === hn && (t = null), e.id.type !== "Identifier") throw new Je(r, "InvalidIdentifier", e);
52259
52262
  const i = as(e.id);
52260
52263
  r.localScope != null ? r.localScope[i] = { value: t } : r.globalScope[i] = { value: t };
52261
52264
  }
52262
52265
  function H1r(r, e) {
52263
52266
  try {
52264
- const t = ha(r, e.object);
52267
+ const t = da(r, e.object);
52265
52268
  if (t === null) throw new Je(r, "MemberOfNull", e);
52266
52269
  if (e.computed === !1) {
52267
52270
  if (e.property.type === "Identifier") {
@@ -52274,7 +52277,7 @@ function H1r(r, e) {
52274
52277
  }
52275
52278
  throw new Je(r, "InvalidMemberAccessKey", e);
52276
52279
  }
52277
- let i = ha(r, e.property);
52280
+ let i = da(r, e.property);
52278
52281
  if (t instanceof vn || ib(t)) {
52279
52282
  if (Di(i)) return t.field(i);
52280
52283
  throw new Je(r, "InvalidMemberAccessKey", e);
@@ -52315,7 +52318,7 @@ function H1r(r, e) {
52315
52318
  }
52316
52319
  function W1r(r, e) {
52317
52320
  try {
52318
- const t = ha(r, e.argument);
52321
+ const t = da(r, e.argument);
52319
52322
  if (ra(t)) {
52320
52323
  if (e.operator === "!") return !t;
52321
52324
  if (e.operator === "-") return -1 * Qt(t);
@@ -52335,7 +52338,7 @@ function Y1r(r, e) {
52335
52338
  try {
52336
52339
  const t = [];
52337
52340
  for (let i = 0; i < e.elements.length; i++) {
52338
- const n = ha(r, e.elements[i]);
52341
+ const n = da(r, e.elements[i]);
52339
52342
  if (Tl(n)) throw new Je(r, "NoFunctionInArray", e);
52340
52343
  n === hn ? t.push(null) : t.push(n);
52341
52344
  }
@@ -52346,7 +52349,7 @@ function Y1r(r, e) {
52346
52349
  }
52347
52350
  function X1r(r, e) {
52348
52351
  try {
52349
- const t = ha(r, e.left), i = ha(r, e.right);
52352
+ const t = da(r, e.left), i = da(r, e.right);
52350
52353
  switch (e.operator) {
52351
52354
  case "|":
52352
52355
  case "<<":
@@ -52383,17 +52386,17 @@ function X1r(r, e) {
52383
52386
  }
52384
52387
  function J1r(r, e) {
52385
52388
  try {
52386
- const t = ha(r, e.left);
52389
+ const t = da(r, e.left);
52387
52390
  if (ra(t)) switch (e.operator) {
52388
52391
  case "||": {
52389
52392
  if (t === !0) return t;
52390
- const i = ha(r, e.right);
52393
+ const i = da(r, e.right);
52391
52394
  if (ra(i)) return i;
52392
52395
  throw new Je(r, "LogicExpressionOrAnd", e);
52393
52396
  }
52394
52397
  case "&&": {
52395
52398
  if (t === !1) return t;
52396
- const i = ha(r, e.right);
52399
+ const i = da(r, e.right);
52397
52400
  if (ra(i)) return i;
52398
52401
  throw new Je(r, "LogicExpressionOrAnd", e);
52399
52402
  }
@@ -52411,7 +52414,7 @@ function Z1r(r, e, t) {
52411
52414
  }
52412
52415
  function K1r(r, e) {
52413
52416
  let t = "", i = 0;
52414
- for (const n of e.quasis) t += n.value ? n.value.cooked : "", n.tail === !1 && (t += e.expressions[i] ? Qi(Z1r(ha(r, e.expressions[i]), r, e)) : "", i++);
52417
+ for (const n of e.quasis) t += n.value ? n.value.cooked : "", n.tail === !1 && (t += e.expressions[i] ? Qi(Z1r(da(r, e.expressions[i]), r, e)) : "", i++);
52415
52418
  return t;
52416
52419
  }
52417
52420
  function O8e(r, e) {
@@ -52427,9 +52430,9 @@ function O8e(r, e) {
52427
52430
  function Q1r(r, e) {
52428
52431
  try {
52429
52432
  if (e.callee.type === "MemberExpression") {
52430
- const i = ha(r, e.callee.object);
52433
+ const i = da(r, e.callee.object);
52431
52434
  if (!(i instanceof vj)) throw new Je(r, "FunctionNotFound", e);
52432
- const n = e.callee.computed === !1 ? e.callee.property.name : ha(r, e.callee.property);
52435
+ const n = e.callee.computed === !1 ? e.callee.property.name : da(r, e.callee.property);
52433
52436
  if (!i.hasGlobal(n)) throw new Je(r, "FunctionNotFound", e);
52434
52437
  const s = i.global(n);
52435
52438
  if (!Tl(s)) throw new Je(r, "CallNonFunction", e);
@@ -52457,9 +52460,9 @@ function e_r(r, e) {
52457
52460
  if (e.preparsed === !0) throw new Je(r, "NeverReach", e);
52458
52461
  const t = e.arguments;
52459
52462
  br(t === null ? [] : t, 3, 3, r, e);
52460
- const i = ha(r, t[0]);
52463
+ const i = da(r, t[0]);
52461
52464
  if (ra(i) === !1) throw new Je(r, "BooleanConditionRequired", e);
52462
- return ha(r, i === !0 ? t[1] : t[2]);
52465
+ return da(r, i === !0 ? t[1] : t[2]);
52463
52466
  } catch (t) {
52464
52467
  throw t;
52465
52468
  }
@@ -52469,12 +52472,12 @@ function t_r(r, e) {
52469
52472
  if (e.preparsed === !0) throw new Je(r, "NeverReach", e);
52470
52473
  const t = e.arguments;
52471
52474
  br(t === null ? [] : t, 2, 3, r, e);
52472
- const i = ha(r, t[0]);
52475
+ const i = da(r, t[0]);
52473
52476
  if (t.length === 3) {
52474
- const n = ha(r, t[1]), s = Bpe(i, n);
52475
- return s != null && s !== "" ? s : ha(r, t[2]);
52477
+ const n = da(r, t[1]), s = Bpe(i, n);
52478
+ return s != null && s !== "" ? s : da(r, t[2]);
52476
52479
  }
52477
- return i === null || i === "" || i === void 0 ? ha(r, t[1]) : i;
52480
+ return i === null || i === "" || i === void 0 ? da(r, t[1]) : i;
52478
52481
  } catch (t) {
52479
52482
  throw t;
52480
52483
  }
@@ -52484,10 +52487,10 @@ function r_r(r, e) {
52484
52487
  if (e.preparsed === !0) throw new Je(r, "NeverReach", e);
52485
52488
  const t = e.arguments;
52486
52489
  if (t.length < 2) throw new Je(r, "WrongNumberOfParameters", e);
52487
- if (t.length === 2) return ha(r, t[1]);
52490
+ if (t.length === 2) return da(r, t[1]);
52488
52491
  {
52489
52492
  if ((t.length - 1) % 2 == 0) throw new Je(r, "WrongNumberOfParameters", e);
52490
- const i = ha(r, t[0]);
52493
+ const i = da(r, t[0]);
52491
52494
  return Ewt(r, e, 1, i);
52492
52495
  }
52493
52496
  } catch (t) {
@@ -52496,11 +52499,11 @@ function r_r(r, e) {
52496
52499
  }
52497
52500
  function Ewt(r, e, t, i) {
52498
52501
  try {
52499
- const n = e.arguments, s = ha(r, n[t]);
52500
- if (z0(s, i)) return ha(r, n[t + 1]);
52502
+ const n = e.arguments, s = da(r, n[t]);
52503
+ if (z0(s, i)) return da(r, n[t + 1]);
52501
52504
  {
52502
52505
  const o = n.length - t;
52503
- return o === 1 ? ha(r, n[t]) : o === 2 ? null : o === 3 ? ha(r, n[t + 2]) : Ewt(r, e, t + 2, i);
52506
+ return o === 1 ? da(r, n[t]) : o === 2 ? null : o === 3 ? da(r, n[t + 2]) : Ewt(r, e, t + 2, i);
52504
52507
  }
52505
52508
  } catch (n) {
52506
52509
  throw n;
@@ -52512,7 +52515,7 @@ function i_r(r, e) {
52512
52515
  const t = e.arguments;
52513
52516
  if (t.length < 3) throw new Je(r, "WrongNumberOfParameters", e);
52514
52517
  if (t.length % 2 == 0) throw new Je(r, "WrongNumberOfParameters", e);
52515
- const i = ha(r, t[0]);
52518
+ const i = da(r, t[0]);
52516
52519
  if (ra(i) === !1) throw new Je(r, "BooleanConditionRequired", t[0]);
52517
52520
  return Cwt(r, e, 0, i);
52518
52521
  } catch (t) {
@@ -52522,10 +52525,10 @@ function i_r(r, e) {
52522
52525
  function Cwt(r, e, t, i) {
52523
52526
  try {
52524
52527
  const n = e.arguments;
52525
- if (i === !0) return ha(r, n[t + 1]);
52526
- if (n.length - t === 3) return ha(r, n[t + 2]);
52528
+ if (i === !0) return da(r, n[t + 1]);
52529
+ if (n.length - t === 3) return da(r, n[t + 2]);
52527
52530
  {
52528
- const s = ha(r, n[t + 2]);
52531
+ const s = da(r, n[t + 2]);
52529
52532
  if (ra(s) === !1) throw new Je(r, "BooleanConditionRequired", n[t + 2]);
52530
52533
  return Cwt(r, e, t + 2, s);
52531
52534
  }
@@ -52801,7 +52804,7 @@ function S_r(r) {
52801
52804
  return r.replaceAll(/[|\\{}()[\]^$+*?.]/g, "\\$&");
52802
52805
  }
52803
52806
  function T_r(r) {
52804
- return r == null ? null : yn(r) || Mn(r) ? "array" : ca(r) ? "date" : Di(r) ? "text" : ra(r) ? "boolean" : ys(r) ? "number" : r instanceof vn ? "dictionary" : Al(r) ? "feature" : r instanceof fr ? "point" : r instanceof es ? "polygon" : r instanceof Bs ? "polyline" : r instanceof xu ? "multipoint" : r instanceof Xr ? "extent" : r instanceof Mu ? "dateOnly" : r instanceof ou ? "time" : Da(r) ? "featureSet" : G6(r) ? "featureSetCollection" : null;
52807
+ return r == null ? null : yn(r) || Mn(r) ? "array" : ha(r) ? "date" : Di(r) ? "text" : ra(r) ? "boolean" : ys(r) ? "number" : r instanceof vn ? "dictionary" : Al(r) ? "feature" : r instanceof fr ? "point" : r instanceof es ? "polygon" : r instanceof Bs ? "polyline" : r instanceof xu ? "multipoint" : r instanceof Xr ? "extent" : r instanceof Mu ? "dateOnly" : r instanceof ou ? "time" : Da(r) ? "featureSet" : G6(r) ? "featureSetCollection" : null;
52805
52808
  }
52806
52809
  function OB(r) {
52807
52810
  if (!r) return null;
@@ -57554,7 +57557,7 @@ var J2t = /* @__PURE__ */ Object.freeze({
57554
57557
  function Cn() {
57555
57558
  throw "cannot construct a PePCSInfo, no constructor in IDL";
57556
57559
  }
57557
- function pa() {
57560
+ function fa() {
57558
57561
  throw "cannot construct a PePrimem, no constructor in IDL";
57559
57562
  }
57560
57563
  function Ti() {
@@ -57765,7 +57768,7 @@ var J2t = /* @__PURE__ */ Object.freeze({
57765
57768
  return Aa(ui(Be), tt);
57766
57769
  }, qe.prototype.getPrimem = qe.prototype.getPrimem = function() {
57767
57770
  var Be = this.ptr;
57768
- return Aa(Oi(Be), pa);
57771
+ return Aa(Oi(Be), fa);
57769
57772
  }, qe.prototype.getUnit = qe.prototype.getUnit = function() {
57770
57773
  var Be = this.ptr;
57771
57774
  return Aa(rn(Be), $e);
@@ -57955,16 +57958,16 @@ var J2t = /* @__PURE__ */ Object.freeze({
57955
57958
  }, Object.defineProperty(Cn.prototype, "PE_POLE_OUTSIDE_BOUNDARY", { get: Cn.prototype.get_PE_POLE_OUTSIDE_BOUNDARY }), Cn.prototype.get_PE_POLE_POINT = Cn.prototype.get_PE_POLE_POINT = function() {
57956
57959
  var Be = this.ptr;
57957
57960
  return he(Be);
57958
- }, Object.defineProperty(Cn.prototype, "PE_POLE_POINT", { get: Cn.prototype.get_PE_POLE_POINT }), pa.prototype = Object.create(Uu.prototype), pa.prototype.constructor = pa, pa.prototype.__class__ = pa, pa.__cache__ = {}, n.PePrimem = pa, pa.prototype.getLongitude = pa.prototype.getLongitude = function() {
57961
+ }, Object.defineProperty(Cn.prototype, "PE_POLE_POINT", { get: Cn.prototype.get_PE_POLE_POINT }), fa.prototype = Object.create(Uu.prototype), fa.prototype.constructor = fa, fa.prototype.__class__ = fa, fa.__cache__ = {}, n.PePrimem = fa, fa.prototype.getLongitude = fa.prototype.getLongitude = function() {
57959
57962
  var Be = this.ptr;
57960
57963
  return Ae(Be);
57961
- }, pa.prototype.getCode = pa.prototype.getCode = function() {
57964
+ }, fa.prototype.getCode = fa.prototype.getCode = function() {
57962
57965
  var Be = this.ptr;
57963
57966
  return je(Be);
57964
- }, pa.prototype.getName = pa.prototype.getName = function(Be) {
57967
+ }, fa.prototype.getName = fa.prototype.getName = function(Be) {
57965
57968
  var tr = this.ptr;
57966
57969
  return go.prepare(), typeof Be == "object" && (Be = ff(Be)), qt(et(tr, Be));
57967
- }, pa.prototype.getType = pa.prototype.getType = function() {
57970
+ }, fa.prototype.getType = fa.prototype.getType = function() {
57968
57971
  var Be = this.ptr;
57969
57972
  return pt(Be);
57970
57973
  }, Ti.prototype = Object.create(ce.prototype), Ti.prototype.constructor = Ti, Ti.prototype.__class__ = Ti, Ti.__cache__ = {}, n.PeProjcs = Ti, Ti.prototype.Delete = Ti.prototype.Delete = function() {
@@ -59154,7 +59157,7 @@ function Y2r(r = null) {
59154
59157
  let e = iW.get(r);
59155
59158
  return e || (r != null ? (e = new nXe((t) => r.immediate.schedule(t)), iW.set(r, e)) : (e = new nXe(), iW.set(null, e))), ++e.ref, e;
59156
59159
  }
59157
- let Cf = class extends hFe(Nm(ql(Iu(da(Cs))))) {
59160
+ let Cf = class extends hFe(Nm(ql(Iu(pa(Cs))))) {
59158
59161
  constructor(...e) {
59159
59162
  super(...e), this.capabilities = { operations: { supportsTileMap: !1 } }, this.copyright = null, this.heightModelInfo = null, this.path = null, this.minScale = void 0, this.maxScale = void 0, this.opacity = 1, this.operationalLayerType = "ArcGISTiledElevationServiceLayer", this.sourceJSON = null, this.type = "elevation", this.url = null, this.version = null, this._lercDecoder = Y2r();
59160
59163
  }
@@ -99685,15 +99688,15 @@ let Vfe = class Mse {
99685
99688
  return Math.sqrt(e * e + t * t + i * i);
99686
99689
  }
99687
99690
  intersectSphere(e) {
99688
- fa[0] = this._data[0] - e[0], fa[1] = this._data[1] - e[1], fa[2] = this._data[2] - e[2];
99691
+ ma[0] = this._data[0] - e[0], ma[1] = this._data[1] - e[1], ma[2] = this._data[2] - e[2];
99689
99692
  const t = this.getQuaternion(VE);
99690
- return X5(Rc, t), _0(fa, fa, Rc), DY(fa, fa), oI[0] = Math.min(fa[0], this._data[3]), oI[1] = Math.min(fa[1], this._data[4]), oI[2] = Math.min(fa[2], this._data[5]), mj(oI, fa) < e[3] * e[3];
99693
+ return X5(Rc, t), _0(ma, ma, Rc), DY(ma, ma), oI[0] = Math.min(ma[0], this._data[3]), oI[1] = Math.min(ma[1], this._data[4]), oI[2] = Math.min(ma[2], this._data[5]), mj(oI, ma) < e[3] * e[3];
99691
99694
  }
99692
99695
  intersectSphereWithMBS(e, t = this.radius) {
99693
99696
  const i = this._data;
99694
- fa[0] = i[0] - e[0], fa[1] = i[1] - e[1], fa[2] = i[2] - e[2];
99697
+ ma[0] = i[0] - e[0], ma[1] = i[1] - e[1], ma[2] = i[2] - e[2];
99695
99698
  const n = e[3], s = n + t;
99696
- return !(Fle(fa) > s * s) && (Rc[0] = -i[6], Rc[1] = -i[7], Rc[2] = -i[8], Rc[3] = i[9], _0(fa, fa, Rc), DY(fa, fa), oI[0] = Math.min(fa[0], i[3]), oI[1] = Math.min(fa[1], i[4]), oI[2] = Math.min(fa[2], i[5]), mj(oI, fa) < n * n);
99699
+ return !(Fle(ma) > s * s) && (Rc[0] = -i[6], Rc[1] = -i[7], Rc[2] = -i[8], Rc[3] = i[9], _0(ma, ma, Rc), DY(ma, ma), oI[0] = Math.min(ma[0], i[3]), oI[1] = Math.min(ma[1], i[4]), oI[2] = Math.min(ma[2], i[5]), mj(oI, ma) < n * n);
99697
99700
  }
99698
99701
  intersectPlane(e) {
99699
99702
  const t = e[0] * this._data[0] + e[1] * this._data[1] + e[2] * this._data[2] + e[3], i = this.projectedRadius(e);
@@ -99701,8 +99704,8 @@ let Vfe = class Mse {
99701
99704
  }
99702
99705
  intersectRay(e, t, i = 0) {
99703
99706
  const n = this._data, s = Rc;
99704
- s[0] = -n[6], s[1] = -n[7], s[2] = -n[8], s[3] = n[9], fa[0] = e[0] - n[0], fa[1] = e[1] - n[1], fa[2] = e[2] - n[2];
99705
- const o = _0(fa, fa, Rc), a = _0(oI, t, Rc);
99707
+ s[0] = -n[6], s[1] = -n[7], s[2] = -n[8], s[3] = n[9], ma[0] = e[0] - n[0], ma[1] = e[1] - n[1], ma[2] = e[2] - n[2];
99708
+ const o = _0(ma, ma, Rc), a = _0(oI, t, Rc);
99706
99709
  let l = -1 / 0, u = 1 / 0;
99707
99710
  const c = this.getHalfSize(s7);
99708
99711
  for (let h = 0; h < 3; h++) {
@@ -99716,15 +99719,15 @@ let Vfe = class Mse {
99716
99719
  }
99717
99720
  projectedArea(e, t, i, n) {
99718
99721
  const s = this.getQuaternion(VE);
99719
- X5(Rc, s), fa[0] = e[0] - this._data[0], fa[1] = e[1] - this._data[1], fa[2] = e[2] - this._data[2], _0(fa, fa, Rc);
99720
- const o = this.getHalfSize(s7), a = fa[0] < -o[0] ? -1 : fa[0] > o[0] ? 1 : 0, l = fa[1] < -o[1] ? -1 : fa[1] > o[1] ? 1 : 0, u = fa[2] < -o[2] ? -1 : fa[2] > o[2] ? 1 : 0, c = Math.abs(a) + Math.abs(l) + Math.abs(u);
99722
+ X5(Rc, s), ma[0] = e[0] - this._data[0], ma[1] = e[1] - this._data[1], ma[2] = e[2] - this._data[2], _0(ma, ma, Rc);
99723
+ const o = this.getHalfSize(s7), a = ma[0] < -o[0] ? -1 : ma[0] > o[0] ? 1 : 0, l = ma[1] < -o[1] ? -1 : ma[1] > o[1] ? 1 : 0, u = ma[2] < -o[2] ? -1 : ma[2] > o[2] ? 1 : 0, c = Math.abs(a) + Math.abs(l) + Math.abs(u);
99721
99724
  if (c === 0) return 1 / 0;
99722
99725
  const h = c === 1 ? 4 : 6, d = 6 * (a + 3 * l + 9 * u + 13);
99723
99726
  gue(TR, s), g3t(TR, TR, o);
99724
99727
  const f = this.getCenter(Rx);
99725
99728
  for (let S = 0; S < h; S++) {
99726
99729
  const C = IFr[d + S];
99727
- Ms(fa, ((1 & C) << 1) - 1, (2 & C) - 1, ((4 & C) >> 1) - 1), rb(fa, fa, TR), bo(jD, f, fa), jD[3] = 1, w$(jD, jD, t);
99730
+ Ms(ma, ((1 & C) << 1) - 1, (2 & C) - 1, ((4 & C) >> 1) - 1), rb(ma, ma, TR), bo(jD, f, ma), jD[3] = 1, w$(jD, jD, t);
99728
99731
  const A = 1 / Math.max(1e-6, jD[3]);
99729
99732
  v2[2 * S] = jD[0] * A, v2[2 * S + 1] = jD[1] * A;
99730
99733
  }
@@ -99735,7 +99738,7 @@ let Vfe = class Mse {
99735
99738
  }
99736
99739
  projectedRadius(e) {
99737
99740
  const t = this.getQuaternion(VE);
99738
- return X5(Rc, t), _0(fa, e, Rc), Math.abs(fa[0] * this._data[3]) + Math.abs(fa[1] * this._data[4]) + Math.abs(fa[2] * this._data[5]);
99741
+ return X5(Rc, t), _0(ma, e, Rc), Math.abs(ma[0] * this._data[3]) + Math.abs(ma[1] * this._data[4]) + Math.abs(ma[2] * this._data[5]);
99739
99742
  }
99740
99743
  minimumDistancePlane(e) {
99741
99744
  return e[0] * this._data[0] + e[1] * this._data[1] + e[2] * this._data[2] + e[3] - this.projectedRadius(e);
@@ -99757,7 +99760,7 @@ let Vfe = class Mse {
99757
99760
  }
99758
99761
  }
99759
99762
  };
99760
- const Rc = pf(), VE = pf(), SFr = pf(), fa = yr(), oI = yr(), jD = qf();
99763
+ const Rc = pf(), VE = pf(), SFr = pf(), ma = yr(), oI = yr(), jD = qf();
99761
99764
  function TFr(r, e = new Vfe()) {
99762
99765
  return cFr(r, e), e;
99763
99766
  }
@@ -115473,7 +115476,7 @@ function cHr(r, e, t) {
115473
115476
  return 2 * Math.atan(t * Math.tan(0.5 * r) / Math.sqrt(e * e + t * t));
115474
115477
  }
115475
115478
  var f4e;
115476
- let ma = f4e = class extends Hs {
115479
+ let ga = f4e = class extends Hs {
115477
115480
  constructor(r) {
115478
115481
  super(r), this._ray = YC(), this._viewport = np(0, 0, 1, 1), this._padding = np(0, 0, 0, 0), this._fov = 55 / 180 * Math.PI, this._nearFar = Ap(1, 1e3), this._viewDirty = !0, this._viewMatrix = Dl(), this._viewProjectionDirty = !0, this._viewProjectionMatrix = Dl(), this._viewInverseTransposeMatrixDirty = !0, this._viewInverseTransposeMatrix = Dl(), this._frustumDirty = !0, this._frustum = c4t(), this._fullViewport = qf(), this._pixelRatio = 1, this.row = 0, this.column = 0, this._rows = 1, this._columns = 1, this._center = yr(), this._up = yr(), this.relativeElevation = 0;
115479
115482
  }
@@ -115777,7 +115780,7 @@ let ma = f4e = class extends Hs {
115777
115780
  this._viewDirty && (qyt(this._viewMatrix, this.eye, this.center, this.up), this.notifyChange("_viewMatrix"), this._viewDirty = !1, this._viewInverseTransposeMatrixDirty = !0);
115778
115781
  }
115779
115782
  };
115780
- m([x()], ma.prototype, "_viewport", void 0), m([x()], ma.prototype, "_padding", void 0), m([x()], ma.prototype, "_fov", void 0), m([x()], ma.prototype, "_nearFar", void 0), m([x()], ma.prototype, "_viewDirty", void 0), m([x()], ma.prototype, "_viewMatrix", void 0), m([x()], ma.prototype, "_pixelRatio", void 0), m([x()], ma.prototype, "pixelRatio", null), m([x()], ma.prototype, "row", void 0), m([x()], ma.prototype, "column", void 0), m([x()], ma.prototype, "_rows", void 0), m([x()], ma.prototype, "rows", null), m([x()], ma.prototype, "_columns", void 0), m([x()], ma.prototype, "columns", null), m([x()], ma.prototype, "eye", null), m([x()], ma.prototype, "center", null), m([x()], ma.prototype, "_center", void 0), m([x()], ma.prototype, "up", null), m([x()], ma.prototype, "_up", void 0), m([x()], ma.prototype, "viewMatrix", null), m([x({ readOnly: !0 })], ma.prototype, "viewForward", null), m([x({ readOnly: !0 })], ma.prototype, "viewUp", null), m([x({ readOnly: !0 })], ma.prototype, "viewRight", null), m([x({ readOnly: !0 })], ma.prototype, "nearFar", null), m([x()], ma.prototype, "near", null), m([x()], ma.prototype, "far", null), m([x()], ma.prototype, "viewport", null), m([x({ readOnly: !0 })], ma.prototype, "screenViewport", null), m([x({ readOnly: !0 })], ma.prototype, "screenPadding", null), m([x()], ma.prototype, "x", null), m([x()], ma.prototype, "y", null), m([x()], ma.prototype, "width", null), m([x()], ma.prototype, "height", null), m([x()], ma.prototype, "fullWidth", null), m([x()], ma.prototype, "fullHeight", null), m([x({ readOnly: !0 })], ma.prototype, "_aspect", null), m([x()], ma.prototype, "padding", null), m([x({ readOnly: !0 })], ma.prototype, "projectionMatrix", null), m([x({ readOnly: !0 })], ma.prototype, "inverseProjectionMatrix", null), m([x()], ma.prototype, "fov", null), m([x()], ma.prototype, "fovX", null), m([x()], ma.prototype, "fovY", null), m([x()], ma.prototype, "viewInverseTransposeMatrix", null), m([x({ readOnly: !0 })], ma.prototype, "_projectionMatrixInternal", null), m([x()], ma.prototype, "relativeElevation", void 0), ma = f4e = m([Se("esri.views.3d.webgl.RenderCamera")], ma);
115783
+ m([x()], ga.prototype, "_viewport", void 0), m([x()], ga.prototype, "_padding", void 0), m([x()], ga.prototype, "_fov", void 0), m([x()], ga.prototype, "_nearFar", void 0), m([x()], ga.prototype, "_viewDirty", void 0), m([x()], ga.prototype, "_viewMatrix", void 0), m([x()], ga.prototype, "_pixelRatio", void 0), m([x()], ga.prototype, "pixelRatio", null), m([x()], ga.prototype, "row", void 0), m([x()], ga.prototype, "column", void 0), m([x()], ga.prototype, "_rows", void 0), m([x()], ga.prototype, "rows", null), m([x()], ga.prototype, "_columns", void 0), m([x()], ga.prototype, "columns", null), m([x()], ga.prototype, "eye", null), m([x()], ga.prototype, "center", null), m([x()], ga.prototype, "_center", void 0), m([x()], ga.prototype, "up", null), m([x()], ga.prototype, "_up", void 0), m([x()], ga.prototype, "viewMatrix", null), m([x({ readOnly: !0 })], ga.prototype, "viewForward", null), m([x({ readOnly: !0 })], ga.prototype, "viewUp", null), m([x({ readOnly: !0 })], ga.prototype, "viewRight", null), m([x({ readOnly: !0 })], ga.prototype, "nearFar", null), m([x()], ga.prototype, "near", null), m([x()], ga.prototype, "far", null), m([x()], ga.prototype, "viewport", null), m([x({ readOnly: !0 })], ga.prototype, "screenViewport", null), m([x({ readOnly: !0 })], ga.prototype, "screenPadding", null), m([x()], ga.prototype, "x", null), m([x()], ga.prototype, "y", null), m([x()], ga.prototype, "width", null), m([x()], ga.prototype, "height", null), m([x()], ga.prototype, "fullWidth", null), m([x()], ga.prototype, "fullHeight", null), m([x({ readOnly: !0 })], ga.prototype, "_aspect", null), m([x()], ga.prototype, "padding", null), m([x({ readOnly: !0 })], ga.prototype, "projectionMatrix", null), m([x({ readOnly: !0 })], ga.prototype, "inverseProjectionMatrix", null), m([x()], ga.prototype, "fov", null), m([x()], ga.prototype, "fovX", null), m([x()], ga.prototype, "fovY", null), m([x()], ga.prototype, "viewInverseTransposeMatrix", null), m([x({ readOnly: !0 })], ga.prototype, "_projectionMatrixInternal", null), m([x()], ga.prototype, "relativeElevation", void 0), ga = f4e = m([Se("esri.views.3d.webgl.RenderCamera")], ga);
115781
115784
  const qa = qf(), fte = Dl(), Om = yr(), eve = yr(), tve = Lrr();
115782
115785
  let XZi = class m4e {
115783
115786
  constructor(e = 1 / 0, t = -1 / 0) {
@@ -165746,7 +165749,7 @@ function xFt(r) {
165746
165749
  }, r.functions.overlaps = function(e, t) {
165747
165750
  return r.standardFunctionAsync(e, t, (i, n, s) => (s = Bn(s), Qp(s, e, t), s[0] !== null && s[1] !== null && eo("overlaps", [s[0].toJSON(), s[1].toJSON()])));
165748
165751
  }, r.functions.equals = function(e, t) {
165749
- return r.standardFunctionAsync(e, t, (i, n, s) => (br(s, 2, 2, e, t), s[0] === s[1] || (s[0] instanceof un && s[1] instanceof un ? eo("equals", [s[0].toJSON(), s[1].toJSON()]) : (ca(s[0]) && ca(s[1]) || !!(ua(s[0]) && ua(s[1]) || Oo(s[0]) && Oo(s[1]))) && s[0].equals(s[1]))));
165752
+ return r.standardFunctionAsync(e, t, (i, n, s) => (br(s, 2, 2, e, t), s[0] === s[1] || (s[0] instanceof un && s[1] instanceof un ? eo("equals", [s[0].toJSON(), s[1].toJSON()]) : (ha(s[0]) && ha(s[1]) || !!(ca(s[0]) && ca(s[1]) || Oo(s[0]) && Oo(s[1]))) && s[0].equals(s[1]))));
165750
165753
  }, r.functions.relate = function(e, t) {
165751
165754
  return r.standardFunctionAsync(e, t, (i, n, s) => {
165752
165755
  if (s = Bn(s), br(s, 3, 3, e, t), s[0] instanceof un && s[1] instanceof un) return eo("relate", [s[0].toJSON(), s[1].toJSON(), Qi(s[2])]);
@@ -170655,7 +170658,7 @@ function hmi(r) {
170655
170658
  if (r.mode === "async") {
170656
170659
  r.functions.timezone = function(t, i) {
170657
170660
  return r.standardFunctionAsync(t, i, async (n, s, o) => {
170658
- if (br(o, 1, 2, t, i), ua(o[0]) || Oo(o[0])) return "Unknown";
170661
+ if (br(o, 1, 2, t, i), ca(o[0]) || Oo(o[0])) return "Unknown";
170659
170662
  if (Da(o[0])) {
170660
170663
  if (await o[0].load(), o.length === 1 || o[1] === null) return o[0].datesInUnknownTimezone ? s9("unknown") : s9(o[0].dateFieldsTimeZone);
170661
170664
  if (!(o[1] instanceof vn) || o[1].hasField("type") === !1) throw new Je(t, "InvalidParameter", i);
@@ -170682,7 +170685,7 @@ function hmi(r) {
170682
170685
  return r.standardFunctionAsync(t, i, async (n, s, o) => {
170683
170686
  br(o, 1, 3, t, i);
170684
170687
  const a = o[0];
170685
- if (ca(a)) {
170688
+ if (ha(a)) {
170686
170689
  if (o.length === 1) return a.toSQLWithKeyword();
170687
170690
  if (o.length === 2) return a.changeTimeZone(Qi(o[1])).toSQLWithKeyword();
170688
170691
  throw new Je(t, "InvalidParameter", i);
@@ -170693,7 +170696,7 @@ function hmi(r) {
170693
170696
  await a.load();
170694
170697
  const l = Qi(o[1]);
170695
170698
  if (Oo(o[2])) return o[2].toSQLWithKeyword();
170696
- if (ca(o[2]) === !1) throw new Je(t, "InvalidParameter", i);
170699
+ if (ha(o[2]) === !1) throw new Je(t, "InvalidParameter", i);
170697
170700
  const u = a.fieldTimeZone(l);
170698
170701
  return u == null ? o[2].toSQLWithKeyword() : o[2].changeTimeZone(u).toSQLWithKeyword();
170699
170702
  }
@@ -171383,9 +171386,9 @@ async function Wit(r, e) {
171383
171386
  function M5e(r, e, t, i, n) {
171384
171387
  if (r === null) return null;
171385
171388
  if (Di(r) || ys(r)) return r;
171386
- if (ca(r) || ca(r)) return r.toJSDate();
171389
+ if (ha(r) || ha(r)) return r.toJSDate();
171387
171390
  if (Oo(r)) return r.toStorageFormat();
171388
- if (ua(r)) return r.toStorageString();
171391
+ if (ca(r)) return r.toStorageString();
171389
171392
  if (u3(r)) {
171390
171393
  const s = {};
171391
171394
  for (const o of r.keys()) s[o] = M5e(r.field(o), e, t, i, n), s[o] instanceof un && n.push({ container: s, indexer: o });
@@ -178933,7 +178936,7 @@ let Q4 = G5e = class extends rc(Vl(zp(Cs))) {
178933
178936
  m([x({ type: Qa })], Q4.prototype, "tileInfo", void 0), m([x({ type: ["show", "hide"] })], Q4.prototype, "listMode", void 0), m([x({ readOnly: !0, value: "base-tile" })], Q4.prototype, "type", void 0), m([x({ nonNullable: !0 })], Q4.prototype, "fullExtent", void 0), m([x()], Q4.prototype, "spatialReference", void 0), Q4 = G5e = m([Se("esri.layers.BaseTileLayer")], Q4);
178934
178937
  const H5e = new Dn({ BingMapsAerial: "aerial", BingMapsRoad: "road", BingMapsHybrid: "hybrid" }), o_i = "https://dev.virtualearth.net";
178935
178938
  dWt(Yt.getLogger("esri.layers.BingMapsLayer"), "esri.layers.BingMapsLayer", { version: "4.33", warnOnce: !0 });
178936
- let Jy = class extends rc(ql(da(Q4))) {
178939
+ let Jy = class extends rc(ql(pa(Q4))) {
178937
178940
  constructor(e) {
178938
178941
  super(e), this.type = "bing-maps", this.tileInfo = new Qa({ size: [256, 256], dpi: 96, origin: new fr({ x: -20037508342787e-6, y: 20037508342787e-6, spatialReference: sr.WebMercator }), spatialReference: sr.WebMercator, lods: [new Gn({ level: 1, resolution: 78271.5169639999, scale: 295828763795777e-6 }), new Gn({ level: 2, resolution: 39135.7584820001, scale: 147914381897889e-6 }), new Gn({ level: 3, resolution: 19567.8792409999, scale: 73957190948944e-6 }), new Gn({ level: 4, resolution: 9783.93962049996, scale: 36978595474472e-6 }), new Gn({ level: 5, resolution: 4891.96981024998, scale: 18489297737236e-6 }), new Gn({ level: 6, resolution: 2445.98490512499, scale: 9244648868618e-6 }), new Gn({ level: 7, resolution: 1222.99245256249, scale: 4622324434309e-6 }), new Gn({ level: 8, resolution: 611.49622628138, scale: 2311162217155e-6 }), new Gn({ level: 9, resolution: 305.748113140558, scale: 1155581108577e-6 }), new Gn({ level: 10, resolution: 152.874056570411, scale: 577790.554289 }), new Gn({ level: 11, resolution: 76.4370282850732, scale: 288895.277144 }), new Gn({ level: 12, resolution: 38.2185141425366, scale: 144447.638572 }), new Gn({ level: 13, resolution: 19.1092570712683, scale: 72223.819286 }), new Gn({ level: 14, resolution: 9.55462853563415, scale: 36111.909643 }), new Gn({ level: 15, resolution: 4.77731426794937, scale: 18055.954822 }), new Gn({ level: 16, resolution: 2.38865713397468, scale: 9027.977411 }), new Gn({ level: 17, resolution: 1.19432856685505, scale: 4513.988705 }), new Gn({ level: 18, resolution: 0.597164283559817, scale: 2256.994353 }), new Gn({ level: 19, resolution: 0.298582141647617, scale: 1128.497176 }), new Gn({ level: 20, resolution: 0.1492910708238085, scale: 564.248588 })] }), this.key = null, this.style = "road", this.culture = "en-US", this.region = null, this.portalUrl = null, this.hasAttributionData = !0;
178939
178942
  }
@@ -179589,7 +179592,7 @@ function d_(r, e) {
179589
179592
  }
179590
179593
  const x_i = { mode: "absolute-height", offset: 0 }, S_i = { mode: "on-the-ground", offset: null }, gRt = si.ofType(tA), yRt = Mt(Ev.sublayersProperty), vbe = yRt.json?.origins;
179591
179594
  vbe && (vbe["web-scene"] = { type: [W5e], write: { enabled: !0, overridePolicy: () => ({ enabled: !1 }) } }, vbe["portal-item"] = { type: [W5e], write: { enabled: !0, overridePolicy: () => ({ enabled: !1 }) } });
179592
- let wf = class extends vK(Nm(ql(Iu(Vl(da(Up(ab(Cs)))))))) {
179595
+ let wf = class extends vK(Nm(ql(Iu(Vl(pa(Up(ab(Cs)))))))) {
179593
179596
  constructor(e) {
179594
179597
  super(e), this.operationalLayerType = "BuildingSceneLayer", this.allSublayers = new Cv({ getCollections: () => [this.sublayers], getChildrenFunction: (t) => t.type === "building-group" ? t.sublayers : null }), this.sublayers = null, this._allSublayerOverrides = null, this.filters = new gRt(), this.activeFilterId = null, this.summaryStatistics = null, this.outFields = null, this.legendEnabled = !0, this.type = "building-scene";
179595
179598
  }
@@ -179835,7 +179838,7 @@ var D_i = /* @__PURE__ */ Object.freeze({
179835
179838
  __proto__: null,
179836
179839
  default: M_i
179837
179840
  });
179838
- let em = class extends Vl(rc(da(Cs))) {
179841
+ let em = class extends Vl(rc(pa(Cs))) {
179839
179842
  constructor(e) {
179840
179843
  super(e), this._layerCache = new LC(20, (t) => t.destroy()), this._oidToReference = new h3(), this._layerToReference = /* @__PURE__ */ new Map(), this.legendEnabled = !0, this.layers = new si(), this.maximumVisibleSublayers = 10, this.opacity = 1, this.parent = null, this.persistenceEnabled = !0, this.title = "Layers in view", this.type = "catalog-dynamic-group", this.visible = !0;
179841
179844
  }
@@ -179920,7 +179923,7 @@ function N_i() {
179920
179923
  const r = new Np({ style: "solid", color: [0, 0, 0, 0], outline: { style: "solid", color: [96, 96, 96, 0.75], width: 0.75 } });
179921
179924
  return new $p({ symbol: r });
179922
179925
  }
179923
- let co = class extends Vl(N8(rc(da(Cs)))) {
179926
+ let co = class extends Vl(N8(rc(pa(Cs)))) {
179924
179927
  constructor(e) {
179925
179928
  super(e), this.attributeTableTemplate = null, this.charts = null, this.editingEnabled = !0, this.elevationInfo = null, this.formTemplate = null, this.labelingInfo = null, this.labelsVisible = !0, this.legendEnabled = !0, this.maxScale = 0, this.minScale = 0, this.opacity = 1, this.parent = null, this.persistenceEnabled = !0, this.popupEnabled = !0, this.popupTemplate = null, this.title = "Footprints", this.type = "catalog-footprint", this.visible = !0;
179926
179929
  }
@@ -180107,7 +180110,7 @@ function rst(r, e, t, i) {
180107
180110
  const n = r.write({}, i);
180108
180111
  R_i(n) || (e[t] = n);
180109
180112
  }
180110
- let Sc = class extends iD(h6e(upe(rc(DB(lb(Vl(zp(Nm(ql(Iu(da(Up(ab(Cs)))))))))))))) {
180113
+ let Sc = class extends iD(h6e(upe(rc(DB(lb(Vl(zp(Nm(ql(Iu(pa(Up(ab(Cs)))))))))))))) {
180111
180114
  constructor(e) {
180112
180115
  super(e), this.legendEnabled = !0, this._portals = /* @__PURE__ */ new Map(), this._layerToFootprint = /* @__PURE__ */ new WeakMap(), this.drawOrderField = "cd_draworder", this.dynamicGroupLayer = new em({ parent: this }), this.elevationInfo = null, this.fields = null, this.fieldsIndex = null, this.floorInfo = null, this.footprintLayer = new co({ parent: this }), this.itemNameField = "cd_itemname", this.itemSourceField = "cd_itemsource", this.itemTypeField = "cd_itemtype", this.layers = new si([this.dynamicGroupLayer, this.footprintLayer]), this.maxScaleField = "cd_maxscale", this.minScaleField = "cd_minscale", this.orderBy = null, this.outFields = null, this.supportedSourceTypes = /* @__PURE__ */ new Set(["Catalog Layer"]), this.source = new FA({ layer: this, supportedSourceTypes: this.supportedSourceTypes }), this.type = "catalog", this.typeIdField = null, this.types = null;
180113
180116
  }
@@ -180320,7 +180323,7 @@ let yT = class extends HE {
180320
180323
  }
180321
180324
  };
180322
180325
  m([x({ type: ["dimension"] })], yT.prototype, "type", void 0), m([x({ cast: tD, type: sMe, nonNullable: !0 })], yT.prototype, "dimensions", null), m([x({ readOnly: !0 })], yT.prototype, "spatialReference", null), m([x({ types: { key: "type", base: null, typeMap: { simple: ux } }, nonNullable: !0 })], yT.prototype, "style", void 0), m([x({ value: null, readOnly: !0 })], yT.prototype, "extent", void 0), m([x({ readOnly: !0 })], yT.prototype, "valid", null), yT = m([Se("esri.analysis.DimensionAnalysis")], yT);
180323
- let Y_ = class extends ql(da(Cs)) {
180326
+ let Y_ = class extends ql(pa(Cs)) {
180324
180327
  constructor(e) {
180325
180328
  if (super(e), this.type = "dimension", this.operationalLayerType = "ArcGISDimensionLayer", this.source = new yT(), this.opacity = 1, e) {
180326
180329
  const { source: t, style: i } = e;
@@ -180446,7 +180449,7 @@ let vN = class extends gc {
180446
180449
  };
180447
180450
  m([x()], vN.prototype, "capabilities", void 0), m([x()], vN.prototype, "type", void 0), m([x({ constructOnly: !0 })], vN.prototype, "layer", void 0), m([x()], vN.prototype, "sourceJSON", void 0), vN = m([Se("esri.layers.graphics.sources.GeoJSONSource")], vN);
180448
180451
  const ist = t2();
180449
- let ll = class extends DB(iD(Up(MB(N8(rc(lb(_Z(Vl(zp(ql(Iu(da(Cs))))))))))))) {
180452
+ let ll = class extends DB(iD(Up(MB(N8(rc(lb(_Z(Vl(zp(ql(Iu(pa(Cs))))))))))))) {
180450
180453
  constructor(e) {
180451
180454
  super(e), this.attributeTableTemplate = null, this.copyright = null, this.dateFieldsTimeZone = null, this.definitionExpression = null, this.displayField = null, this.editingEnabled = !1, this.elevationInfo = null, this.fields = null, this.fieldsIndex = null, this.fullExtent = null, this.geometryType = null, this.hasZ = void 0, this.labelsVisible = !0, this.labelingInfo = null, this.legendEnabled = !0, this.objectIdField = null, this.operationalLayerType = "GeoJSON", this.outFields = null, this.popupEnabled = !0, this.popupTemplate = null, this.screenSizePerspectiveEnabled = !0, this.source = new vN({ layer: this }), this.spatialReference = sr.WGS84, this.templates = null, this.title = "GeoJSON", this.type = "geojson";
180452
180455
  }
@@ -180545,7 +180548,7 @@ var z_i = /* @__PURE__ */ Object.freeze({
180545
180548
  default: U_i
180546
180549
  });
180547
180550
  const q_i = ["atom", "xml"], V_i = { base: ph, key: "type", typeMap: { "simple-line": Du }, errorContext: "symbol" }, G_i = { base: ph, key: "type", typeMap: { "picture-marker": Kp, "simple-marker": Jl }, errorContext: "symbol" }, H_i = { base: ph, key: "type", typeMap: { "simple-fill": Np }, errorContext: "symbol" };
180548
- let qm = class extends rc(zp(ql(Iu(Vl(da(Cs)))))) {
180551
+ let qm = class extends rc(zp(ql(Iu(Vl(pa(Cs)))))) {
180549
180552
  constructor(...e) {
180550
180553
  super(...e), this.description = null, this.fullExtent = null, this.legendEnabled = !0, this.lineSymbol = null, this.pointSymbol = null, this.polygonSymbol = null, this.operationalLayerType = "GeoRSS", this.url = null, this.type = "geo-rss";
180551
180554
  }
@@ -180598,7 +180601,7 @@ var Y_i = /* @__PURE__ */ Object.freeze({
180598
180601
  __proto__: null,
180599
180602
  default: W_i
180600
180603
  });
180601
- let Vm = class extends rc(Vl(ql(Iu(R_t(F_t(da(Cs))))))) {
180604
+ let Vm = class extends rc(Vl(ql(Iu(R_t(F_t(pa(Cs))))))) {
180602
180605
  constructor(e) {
180603
180606
  super(e), this.allLayers = new Cv({ getCollections: () => [this.layers], getChildrenFunction: (t) => "layers" in t ? t.layers : null }), this.allTables = $_t(this), this.fullExtent = void 0, this.operationalLayerType = "GroupLayer", this.spatialReference = void 0, this.type = "group", this._debouncedSaveOperations = Yf(async (t, i, n) => {
180604
180607
  const { save: s, saveAs: o } = await Promise.resolve().then(function() {
@@ -183791,7 +183794,7 @@ const QRt = (r) => {
183791
183794
  };
183792
183795
  return m([x({ type: String, json: { name: "layerDefinition.activePresetRendererName", write: { allowNull: !0 } } })], t.prototype, "activePresetRendererName", void 0), m([x({ type: [sA], json: { name: "layerDefinition.presetRenderers", write: !0 } })], t.prototype, "presetRenderers", void 0), t = m([Se("esri.layers.mixins.RasterPresetRendererMixin")], t), t;
183793
183796
  };
183794
- let m1 = class extends rc(lb(Vl(ql(Iu(QRt($bi(o7e(zp(Up(Nm(da(Si.ClonableMixin(Cs))))))))))))) {
183797
+ let m1 = class extends rc(lb(Vl(ql(Iu(QRt($bi(o7e(zp(Up(Nm(pa(Si.ClonableMixin(Cs))))))))))))) {
183795
183798
  constructor(...e) {
183796
183799
  super(...e), this.isReference = null, this.operationalLayerType = "ArcGISImageServiceLayer", this.popupEnabled = !0, this.popupTemplate = null, this.type = "imagery", this._debouncedSaveOperations = Yf(async (t, i, n) => {
183797
183800
  const { save: s, saveAs: o } = await Promise.resolve().then(function() {
@@ -185548,7 +185551,7 @@ let Abe = class {
185548
185551
  static register(e, t, i) {
185549
185552
  h0.has(e.toUpperCase()) || h0.set(e.toUpperCase(), { desc: t, constructor: i });
185550
185553
  }
185551
- }, Hp = class extends rc(Vl(ql(Iu(QRt(Up(eOt(o7e(lb(Nm(zp(da(Si.ClonableMixin(Cs))))))))))))) {
185554
+ }, Hp = class extends rc(Vl(ql(Iu(QRt(Up(eOt(o7e(lb(Nm(zp(pa(Si.ClonableMixin(Cs))))))))))))) {
185552
185555
  constructor(...e) {
185553
185556
  super(...e), this._primaryRasters = [], this.legendEnabled = !0, this.isReference = null, this.listMode = "show", this.sourceJSON = null, this.version = null, this.type = "imagery-tile", this.operationalLayerType = "ArcGISTiledImageServiceLayer", this.popupEnabled = !0, this.popupTemplate = null, this.fields = null, this.source = void 0, this._debouncedSaveOperations = Yf(async (t, i, n) => {
185554
185557
  const { save: s, saveAs: o } = await Promise.resolve().then(function() {
@@ -185730,7 +185733,7 @@ let v6 = VG = class extends xt.JSONSupportMixin(si.ofType(n5)) {
185730
185733
  }
185731
185734
  };
185732
185735
  m([x({ type: String })], v6.prototype, "url", void 0), v6 = VG = m([Se("esri.layers.support.SceneModifications")], v6);
185733
- let Zy = class extends Nm(ql(Iu(Vl(da(Up(ab(Cs))))))) {
185736
+ let Zy = class extends Nm(ql(Iu(Vl(pa(Up(ab(Cs))))))) {
185734
185737
  readModifications(e, t, i) {
185735
185738
  this._modificationsSource = { url: a_(e, i), context: i };
185736
185739
  }
@@ -185824,7 +185827,7 @@ var ywi = /* @__PURE__ */ Object.freeze({
185824
185827
  __proto__: null,
185825
185828
  default: gwi
185826
185829
  });
185827
- let jg = class extends vK(Nm(ql(Iu(Vl(da(Up(ab(Cs)))))))) {
185830
+ let jg = class extends vK(Nm(ql(Iu(Vl(pa(Up(ab(Cs)))))))) {
185828
185831
  constructor(...e) {
185829
185832
  super(...e), this.geometryType = "mesh", this.operationalLayerType = "IntegratedMeshLayer", this.type = "integrated-mesh", this.nodePages = null, this.materialDefinitions = null, this.textureSetDefinitions = null, this.geometryDefinitions = null, this.serviceUpdateTimeStamp = null, this.profile = "mesh-pyramids", this.modifications = null, this.path = null, this.definitionExpression = null;
185830
185833
  }
@@ -186008,7 +186011,7 @@ let qg = Foe = class extends km.EventedMixin(xt.JSONSupportMixin(gc)) {
186008
186011
  };
186009
186012
  m([x()], qg.prototype, "description", void 0), m([x({ type: Xr })], qg.prototype, "fullExtent", void 0), m([x()], qg.prototype, "id", void 0), m([x({ readOnly: !0, value: null })], qg.prototype, "networkLink", void 0), m([x({ json: { write: { allowNull: !0 } } })], qg.prototype, "parent", void 0), m([x({ type: si.ofType(qg), json: { write: { allowNull: !0 } } })], qg.prototype, "sublayers", void 0), m([x({ value: null, json: { read: { source: "name", reader: (r) => PWt(r) } } })], qg.prototype, "title", void 0), m([x({ value: !0 })], qg.prototype, "visible", null), m([Wt("visible", ["visibility"])], qg.prototype, "readVisible", null), m([x()], qg.prototype, "sourceJSON", void 0), m([x()], qg.prototype, "layer", void 0), qg = Foe = m([Se("esri.layers.support.KMLSublayer")], qg);
186010
186013
  const Swi = ["kml", "xml"];
186011
- let Wp = class extends rc(zp(Vl(ql(Iu(da(Cs)))))) {
186014
+ let Wp = class extends rc(zp(Vl(ql(Iu(pa(Cs)))))) {
186012
186015
  constructor(...e) {
186013
186016
  super(...e), this._visibleFolders = [], this.allSublayers = new Cv({ getCollections: () => [this.sublayers], getChildrenFunction: (t) => t.sublayers }), this.outSpatialReference = sr.WGS84, this.path = null, this.legendEnabled = !1, this.operationalLayerType = "KML", this.sublayers = null, this.type = "kml", this.url = null;
186014
186017
  }
@@ -188469,7 +188472,7 @@ function AOt(r, e) {
188469
188472
  function MOt(r, e) {
188470
188473
  return { ignoreOrigin: this.originIdOf(e) > 0 };
188471
188474
  }
188472
- let _o = class extends mSi(iD(MB(N8(rc(DB(lb(Vl(zp(da(Cs)))))))))) {
188475
+ let _o = class extends mSi(iD(MB(N8(rc(DB(lb(Vl(zp(pa(Cs)))))))))) {
188473
188476
  constructor(e) {
188474
188477
  super(e), this.blendMode = "normal", this.capabilities = dfe(!1, !0), this.charts = null, this.definitionExpression = null, this.displayField = "", this.displayFilterEnabled = !0, this.displayFilterInfo = null, this.effect = null, this.elevationInfo = null, this.featureEffect = null, this.graphType = null, this.labelsVisible = !0, this.layerType = null, this.legendEnabled = !0, this.maxScale = 0, this.minScale = 0, this.objectIdField = Ic, this.objectType = null, this.opacity = 1, this.orderBy = null, this.parent = null, this.parentCompositeLayer = null, this.persistenceEnabled = !0, this.popupEnabled = !0, this.popupTemplate = null, this.refreshInterval = 0, this.source = { openPorts: () => this.load().then(() => {
188475
188478
  const t = new MessageChannel();
@@ -188640,7 +188643,7 @@ m([x(P_(Mt(s0t)))], _o.prototype, "blendMode", void 0), m([x()], _o.prototype, "
188640
188643
  e.layerType = this.geometryType ? "KnowledgeGraphSubLayer" : "KnowledgeGraphSubTable";
188641
188644
  }
188642
188645
  }, isRequired: !0, ignoreOrigin: !0, writerEnsuresNonNull: !0 } } })], _o.prototype, "layerType", void 0), m([x(P_(Mt(Xf)))], _o.prototype, "legendEnabled", void 0), m([x(P_(Mt(hZ)))], _o.prototype, "maxScale", void 0), m([x(P_(Mt(cZ)))], _o.prototype, "minScale", void 0), m([x()], _o.prototype, "objectIdField", void 0), m([x()], _o.prototype, "objectType", void 0), m([x(P_(Mt(OC)))], _o.prototype, "opacity", void 0), m([x(P_(Mt(b_t)))], _o.prototype, "orderBy", void 0), m([x({ clonable: !1 })], _o.prototype, "parent", void 0), m([x()], _o.prototype, "parentCompositeLayer", void 0), m([x(P_(Mt(Ag)))], _o.prototype, "popupEnabled", void 0), m([x({ type: vc, json: { name: "popupInfo", write: { ignoreOrigin: !0 } } })], _o.prototype, "popupTemplate", void 0), m([x({ type: Number, json: { write: { overridePolicy: MOt } } })], _o.prototype, "refreshInterval", void 0), m([x({ types: e2, json: { name: "layerDefinition.drawingInfo.renderer", write: YG() } })], _o.prototype, "renderer", null), m([x()], _o.prototype, "source", void 0), m([x()], _o.prototype, "spatialReference", null), m([x({ type: id, json: { name: "layerDefinition.timeInfo", write: !0, origins: { "web-document": { name: "layerDefinition.timeInfo", read: !0, write: !0 }, "portal-item": { name: "layerDefinition.timeInfo", read: !0, write: !0 } } } })], _o.prototype, "timeInfo", null), m([x({ type: String, json: { write: { isRequired: !0, ignoreOrigin: !0, writerEnsuresNonNull: !0 } } })], _o.prototype, "title", null), m([Ir("title")], _o.prototype, "writeTitle", null), m([x({ json: { read: !1 } })], _o.prototype, "type", void 0), m([x(P_(Mt(Epe)))], _o.prototype, "useViewTime", void 0), m([x({ type: Boolean, json: { name: "visibility", write: YG() } })], _o.prototype, "visible", void 0), _o = m([Se("esri.layers.knowledgeGraph.KnowledgeGraphSublayer")], _o);
188643
- let Gm = class extends rc(Vl(zp(Nm(ql(Iu(da(Up(Cs)))))))) {
188646
+ let Gm = class extends rc(Vl(zp(Nm(ql(Iu(pa(Up(Cs)))))))) {
188644
188647
  constructor(e) {
188645
188648
  super(e), this._graphTypeLookup = /* @__PURE__ */ new Map(), this._namedTypesModified = !1, this.dataManager = null, this.definitionSetMap = null, this.knowledgeGraph = null, this.layers = new (si.ofType(_o))(), this.memberEntityTypes = null, this.memberRelationshipTypes = null, this.operationalLayerType = "KnowledgeGraphLayer", this.sublayerIdsCache = /* @__PURE__ */ new Map(), this.tables = new (si.ofType(_o))(), this.type = "knowledge-graph", this.url = null, this.addHandles(mo(() => this.layers.concat(this.tables), (t, i) => this._handleSublayersChange(t, i), Ou));
188646
188649
  }
@@ -188941,7 +188944,7 @@ let hx = class extends HE {
188941
188944
  };
188942
188945
  m([x({ type: ["line-of-sight"] })], hx.prototype, "type", void 0), m([x({ type: DOt, json: { read: !0, write: !0 } })], hx.prototype, "observer", void 0), m([x({ cast: tD, type: aDe, nonNullable: !0, json: { read: !0, write: !0 } })], hx.prototype, "targets", null), m([x({ value: null, readOnly: !0 })], hx.prototype, "extent", void 0), m([x()], hx.prototype, "spatialReference", null), m([x({ readOnly: !0 })], hx.prototype, "valid", null), hx = m([Se("esri.analysis.LineOfSightAnalysis")], hx);
188943
188946
  const DSi = si.ofType(u$);
188944
- let Hb = class extends ql(da(Cs)) {
188947
+ let Hb = class extends ql(pa(Cs)) {
188945
188948
  constructor(e) {
188946
188949
  super(e), this.type = "line-of-sight", this.operationalLayerType = "LineOfSightLayer", this.analysis = new hx(), this.opacity = 1;
188947
188950
  }
@@ -188985,7 +188988,7 @@ var NSi = /* @__PURE__ */ Object.freeze({
188985
188988
  (function(r) {
188986
188989
  r.MULTIPLIER = "multiplier", r.ABSOLUTE = "absolute-value";
188987
188990
  })(UW || (UW = {}));
188988
- let Gd = class extends ql(rc(Vl(da(Cs)))) {
188991
+ let Gd = class extends ql(rc(Vl(pa(Cs)))) {
188989
188992
  constructor(e) {
188990
188993
  if (super(e), this.url = null, this.dataPreloadedInLocalCache = !1, this.initializationLinkChartConfig = null, this.membershipModified = !0, this._currentLinkChartConfig = { layoutMode: "organic-standard" }, this._graphTypeLookup = /* @__PURE__ */ new Map(), this.dataManager = null, this.knowledgeGraph = null, this.layers = new (si.ofType(_o))(), this.entityLinkChartDiagramLookup = /* @__PURE__ */ new Map(), this.relationshipLinkChartDiagramLookup = /* @__PURE__ */ new Map(), this.linkChartExtent = new Xr({ xmin: -1e-7, ymin: -1e-7, xmax: 1e-7, ymax: 1e-7 }), this.memberEntityTypes = null, this.memberRelationshipTypes = null, this.operationalLayerType = "LinkChartLayer", this.sublayerIdsCache = /* @__PURE__ */ new Map(), this.tables = new (si.ofType(_o))(), this.type = "link-chart", this.chronologicalAuxiliaryGraphics = null, this._originalInclusionList = e?.initializationInclusionModeDefinition, e?.dataPreloadedInLocalCache && !e?.initializationInclusionModeDefinition) throw new be("knowledge-graph:linkchart-layer-constructor", "If creating a link chart composite layer and configured that data is already loaded in the cache, you must specify an inclusion list so the Composite Layer knows what records belong to it");
188991
188994
  this.addHandles(mo(() => this.layers.concat(this.tables), (t, i) => this._handleSublayersChange(t, i), Ou));
@@ -189535,7 +189538,7 @@ function Ire(r, e, t) {
189535
189538
  }
189536
189539
  let RSi = 0;
189537
189540
  const OSi = /* @__PURE__ */ new Set(["layer", "parent", "loaded", "loadStatus", "loadError", "loadWarnings"]);
189538
- let Ws = class extends da(oP.IdentifiableMixin(gc)) {
189541
+ let Ws = class extends pa(oP.IdentifiableMixin(gc)) {
189539
189542
  static {
189540
189543
  Boe = this;
189541
189544
  }
@@ -190033,7 +190036,7 @@ let Wb = class extends Hs {
190033
190036
  }
190034
190037
  };
190035
190038
  m([x({ readOnly: !0 })], Wb.prototype, "dynamicLayers", null), m([x()], Wb.prototype, "floors", void 0), m([x({ readOnly: !0 })], Wb.prototype, "hasDynamicLayers", null), m([x()], Wb.prototype, "layer", null), m([x({ readOnly: !0 })], Wb.prototype, "layers", null), m([x({ readOnly: !0 })], Wb.prototype, "layerDefs", null), m([x({ type: Number })], Wb.prototype, "scale", void 0), m([x({ readOnly: !0 })], Wb.prototype, "version", null), m([x({ readOnly: !0 })], Wb.prototype, "visibleSublayers", null), Wb = m([Se("esri.layers.support.ExportImageParameters")], Wb);
190036
- let Xh = class extends rc(lb(Vl(FOt(kOt(Nm(ql(Iu(da(zp(ab(Up(Cs)))))))))))) {
190039
+ let Xh = class extends rc(lb(Vl(FOt(kOt(Nm(ql(Iu(pa(zp(ab(Up(Cs)))))))))))) {
190037
190040
  constructor(...e) {
190038
190041
  super(...e), this._exportImageParameters = new Wb({ layer: this }), this.dateFieldsTimeZone = null, this.datesInUnknownTimezone = !1, this.dpi = 96, this.elevationInfo = new Rf({ mode: "on-the-ground" }), this.gdbVersion = null, this.imageFormat = "png24", this.imageMaxHeight = 2048, this.imageMaxWidth = 2048, this.imageTransparency = !0, this.isReference = null, this.labelsVisible = !1, this.operationalLayerType = "ArcGISMapServiceLayer", this.preferredTimeZone = null, this.sourceJSON = null, this.sublayers = null, this.type = "map-image", this.url = null, this._debouncedSaveOperations = Yf(async (t, i, n) => {
190039
190042
  const { save: s, saveAs: o } = await Promise.resolve().then(function() {
@@ -190192,7 +190195,7 @@ let vT = class extends KI {
190192
190195
  };
190193
190196
  m([x({ readOnly: !0 })], vT.prototype, "fullExtent", null), m([x({ readOnly: !0 })], vT.prototype, "fullBounds", null), m([x({ readOnly: !0 })], vT.prototype, "sublayers", null), m([x()], vT.prototype, "layer", void 0), m([x()], vT.prototype, "layerId", void 0), m([x({ readOnly: !0 })], vT.prototype, "visibilityMode", void 0), vT = m([Se("esri.layers.MapNotesLayer.MapNotesSublayer")], vT);
190194
190197
  const uDe = [{ geometryType: "polygon", geometryTypeJSON: "esriGeometryPolygon", id: "polygonLayer", layerId: 0, title: "Polygons", identifyingSymbol: new Np().toJSON() }, { geometryType: "polyline", geometryTypeJSON: "esriGeometryPolyline", id: "polylineLayer", layerId: 1, title: "Polylines", identifyingSymbol: new Du().toJSON() }, { geometryType: "multipoint", geometryTypeJSON: "esriGeometryMultipoint", id: "multipointLayer", layerId: 2, title: "Multipoints", identifyingSymbol: new Jl().toJSON() }, { geometryType: "point", geometryTypeJSON: "esriGeometryPoint", id: "pointLayer", layerId: 3, title: "Points", identifyingSymbol: new Jl().toJSON() }, { geometryType: "point", geometryTypeJSON: "esriGeometryPoint", id: "textLayer", layerId: 4, title: "Text", identifyingSymbol: new Rl().toJSON() }];
190195
- let sc = class extends rc(Vl(ql(Iu(da(Cs))))) {
190198
+ let sc = class extends rc(Vl(ql(Iu(pa(Cs))))) {
190196
190199
  constructor(e) {
190197
190200
  super(e), this.capabilities = { operations: { supportsMapNotesEditing: !0 } }, this.featureCollections = null, this.featureCollectionJSON = null, this.featureCollectionType = "notes", this.legendEnabled = !1, this.listMode = "hide-children", this.minScale = 0, this.maxScale = 0, this.spatialReference = sr.WGS84, this.sublayers = new si(uDe.map((t) => new vT({ id: t.id, layerId: t.layerId, title: t.title, layer: this }))), this.title = "Map Notes", this.type = "map-notes", this.visibilityMode = "inherited";
190198
190201
  }
@@ -190595,7 +190598,7 @@ function UOt(r, e, t) {
190595
190598
  return { enabled: !BOt(t?.layer, t?.origin), ignoreOrigin: !0 };
190596
190599
  }
190597
190600
  const zOt = { json: { name: "url", type: String, write: { overridePolicy: UOt } } }, qOt = { readOnly: !0, json: { read: !1, write: { target: "mediaType", overridePolicy: UOt } } }, lTi = { types: { key: "type", base: b8, typeMap: { "control-points": l0, corners: nTi, "extent-and-rotation": sTi } }, json: { types: { key: "type", base: b8, typeMap: { "control-points": l0 } }, write: { overridePolicy: () => ({ enabled: !0, ignoreOrigin: !0 }) } } };
190598
- let jE = class extends oP.NumericIdentifiableMixin(da(gc)) {
190601
+ let jE = class extends oP.NumericIdentifiableMixin(pa(gc)) {
190599
190602
  constructor(e) {
190600
190603
  super(e), this.georeference = null, this.opacity = 1;
190601
190604
  }
@@ -190861,7 +190864,7 @@ let YT = class extends gc.LoadableMixin(Dv.EsriPromiseMixin(km.EventedAccessor))
190861
190864
  }
190862
190865
  };
190863
190866
  m([x()], YT.prototype, "elements", null), m([x({ readOnly: !0 })], YT.prototype, "fullExtent", null), m([x()], YT.prototype, "spatialReference", null), YT = m([Se("esri.layers.support.LocalMediaElementSource")], YT);
190864
- let Bg = class extends rc(Vl(ql(Iu(da(Cs))))) {
190867
+ let Bg = class extends rc(Vl(ql(Iu(pa(Cs))))) {
190865
190868
  constructor(e) {
190866
190869
  super(e), this.effectiveSource = null, this.georeference = null, this.copyright = null, this.operationalLayerType = "MediaLayer", this.spatialReference = null, this.type = "media", this._debouncedSaveOperations = Yf(async (t, i, n) => {
190867
190870
  const { save: s, saveAs: o } = await Promise.resolve().then(function() {
@@ -191013,7 +191016,7 @@ let iO = class extends gc {
191013
191016
  };
191014
191017
  m([x()], iO.prototype, "featureDefinition", void 0), m([x({ constructOnly: !0 })], iO.prototype, "layer", void 0), m([x()], iO.prototype, "type", void 0), iO = m([Se("esri.layers.graphics.sources.OGCFeatureSource")], iO);
191015
191018
  const vTi = t2();
191016
- let ru = class extends iD(ab(Up(MB(N8(rc(DB(lb(_Z(Vl(ql(Iu(zp(da(Cs)))))))))))))) {
191019
+ let ru = class extends iD(ab(Up(MB(N8(rc(DB(lb(_Z(Vl(ql(Iu(zp(pa(Cs)))))))))))))) {
191017
191020
  constructor(e) {
191018
191021
  super(e), this.capabilities = null, this.collectionId = null, this.copyright = null, this.description = null, this.displayField = null, this.elevationInfo = null, this.fields = null, this.fieldsIndex = null, this.fullExtent = null, this.geometryType = null, this.hasZ = void 0, this.labelingInfo = null, this.labelsVisible = !0, this.legendEnabled = !0, this.maxRecordCount = null, this.objectIdField = null, this.operationalLayerType = "OGCFeatureLayer", this.popupEnabled = !0, this.popupTemplate = null, this.screenSizePerspectiveEnabled = !0, this.source = new iO({ layer: this }), this.spatialReference = null, this.title = null, this.type = "ogc-feature", this.typeIdField = null, this.types = null, this.url = null;
191019
191022
  }
@@ -191085,7 +191088,7 @@ let IE = cDe = class extends xt {
191085
191088
  };
191086
191089
  m([x({ json: { type: Object, write: !0 } })], IE.prototype, "customLayerParameters", void 0), m([x({ json: { type: Object, write: !0 } })], IE.prototype, "customParameters", void 0), m([x({ type: String, json: { write: !0 } })], IE.prototype, "layerIdentifier", void 0), m([x({ type: String, json: { write: !0 } })], IE.prototype, "tileMatrixSet", void 0), m([x({ type: String, json: { write: !0 } })], IE.prototype, "url", void 0), IE = cDe = m([Se("esri.layers.support.WMTSLayerInfo")], IE);
191087
191090
  var hDe;
191088
- let Sh = hDe = class extends rc(zp(Vl(ql(Iu(da(Cs)))))) {
191091
+ let Sh = hDe = class extends rc(zp(Vl(ql(Iu(pa(Cs)))))) {
191089
191092
  constructor(...r) {
191090
191093
  super(...r), this.copyright = "", this.fullExtent = new Xr(-20037508342787e-6, -2003750834278e-5, 2003750834278e-5, 20037508342787e-6, sr.WebMercator), this.legendEnabled = !1, this.isReference = null, this.popupEnabled = !1, this.spatialReference = sr.WebMercator, this.subDomains = null, this.tileInfo = new Qa({ size: [256, 256], dpi: 96, format: "png8", compressionQuality: 0, origin: new fr({ x: -20037508342787e-6, y: 20037508342787e-6, spatialReference: sr.WebMercator }), spatialReference: sr.WebMercator, lods: [new Gn({ level: 0, scale: 591657527591555e-6, resolution: 156543.033928 }), new Gn({ level: 1, scale: 295828763795777e-6, resolution: 78271.5169639999 }), new Gn({ level: 2, scale: 147914381897889e-6, resolution: 39135.7584820001 }), new Gn({ level: 3, scale: 73957190948944e-6, resolution: 19567.8792409999 }), new Gn({ level: 4, scale: 36978595474472e-6, resolution: 9783.93962049996 }), new Gn({ level: 5, scale: 18489297737236e-6, resolution: 4891.96981024998 }), new Gn({ level: 6, scale: 9244648868618e-6, resolution: 2445.98490512499 }), new Gn({ level: 7, scale: 4622324434309e-6, resolution: 1222.99245256249 }), new Gn({ level: 8, scale: 2311162217155e-6, resolution: 611.49622628138 }), new Gn({ level: 9, scale: 1155581108577e-6, resolution: 305.748113140558 }), new Gn({ level: 10, scale: 577790.554289, resolution: 152.874056570411 }), new Gn({ level: 11, scale: 288895.277144, resolution: 76.4370282850732 }), new Gn({ level: 12, scale: 144447.638572, resolution: 38.2185141425366 }), new Gn({ level: 13, scale: 72223.819286, resolution: 19.1092570712683 }), new Gn({ level: 14, scale: 36111.909643, resolution: 9.55462853563415 }), new Gn({ level: 15, scale: 18055.954822, resolution: 4.77731426794937 }), new Gn({ level: 16, scale: 9027.977411, resolution: 2.38865713397468 }), new Gn({ level: 17, scale: 4513.988705, resolution: 1.19432856685505 }), new Gn({ level: 18, scale: 2256.994353, resolution: 0.597164283559817 }), new Gn({ level: 19, scale: 1128.497176, resolution: 0.298582141647617 }), new Gn({ level: 20, scale: 564.248588, resolution: 0.14929107082380833 }), new Gn({ level: 21, scale: 282.124294, resolution: 0.07464553541190416 }), new Gn({ level: 22, scale: 141.062147, resolution: 0.03732276770595208 }), new Gn({ level: 23, scale: 70.5310735, resolution: 0.01866138385297604 })] }), this.type = "web-tile", this.urlTemplate = null, this.wmtsInfo = null;
191091
191094
  }
@@ -191393,7 +191396,7 @@ let rH = mDe = class extends $h {
191393
191396
  };
191394
191397
  m([mi({ pointCloudRGBRenderer: "point-cloud-rgb" })], rH.prototype, "type", void 0), m([x({ type: String, json: { write: { isRequired: !0 } } })], rH.prototype, "field", void 0), rH = mDe = m([Se("esri.renderers.PointCloudRGBRenderer")], rH);
191395
191398
  const WTi = rH, Zst = { key: "type", base: $h, typeMap: { "point-cloud-class-breaks": vE, "point-cloud-rgb": WTi, "point-cloud-stretch": bE, "point-cloud-unique-value": wE }, errorContext: "renderer" }, Kst = t2();
191396
- let vp = class extends vK(Nm(ql(Iu(Vl(da(Up(ab(Cs)))))))) {
191399
+ let vp = class extends vK(Nm(ql(Iu(Vl(pa(Up(ab(Cs)))))))) {
191397
191400
  constructor(...e) {
191398
191401
  super(...e), this.operationalLayerType = "PointCloudLayer", this.popupEnabled = !0, this.popupTemplate = null, this.opacity = 1, this.filters = [], this.fields = null, this.fieldsIndex = null, this.outFields = null, this.path = null, this.legendEnabled = !0, this.renderer = null, this.type = "point-cloud";
191399
191402
  }
@@ -192220,7 +192223,7 @@ function T3i(r) {
192220
192223
  return { attributes: e, geometry: t, popupInfo: i, symbol: n };
192221
192224
  }
192222
192225
  const I3i = si.ofType(tg), E3i = si.ofType(Fc), rot = si.ofType(ed), iot = si.ofType(sm), not = si.ofType(rg), sot = si.ofType(ho);
192223
- let Fl = class extends rc(Vl(ql(Iu(da(Cs))))) {
192226
+ let Fl = class extends rc(Vl(ql(Iu(pa(Cs))))) {
192224
192227
  constructor(e) {
192225
192228
  super(e), this._cachedServiceDescription = null, this._featureCollection = null, this._type = "Feature Collection", this.checksum = null, this.defaultSymbols = new sx(), this.directionLines = null, this.directionPoints = null, this.featureCollectionType = "route", this.legendEnabled = !1, this.maxScale = 0, this.minScale = 0, this.pointBarriers = new rot(), this.polygonBarriers = new iot(), this.polylineBarriers = new not(), this.routeInfo = null, this.spatialReference = sr.WGS84, this.stops = new sot(), this.type = "route";
192226
192229
  const t = () => {
@@ -192645,7 +192648,7 @@ async function q3i(r) {
192645
192648
  }), Promise.all(n);
192646
192649
  }
192647
192650
  const V3i = /* @__PURE__ */ new Set(["3DObject", "Point"]), oot = t2();
192648
- let Qs = class extends j3i(upe(vK(Nm(ql(Iu(Vl(da(Up(ab(Si.ClonableMixin(Cs))))))))))) {
192651
+ let Qs = class extends j3i(upe(vK(Nm(ql(Iu(Vl(pa(Up(ab(Si.ClonableMixin(Cs))))))))))) {
192649
192652
  constructor(...e) {
192650
192653
  super(...e), this.featureReduction = null, this.rangeInfos = null, this.operationalLayerType = "ArcGISSceneServiceLayer", this.type = "scene", this.fields = null, this.floorInfo = null, this.outFields = null, this.nodePages = null, this.materialDefinitions = null, this.textureSetDefinitions = null, this.geometryDefinitions = null, this.serviceUpdateTimeStamp = null, this.excludeObjectIds = new si(), this.definitionExpression = null, this.filter = null, this.path = null, this.labelsVisible = !0, this.labelingInfo = null, this.legendEnabled = !0, this.priority = null, this.semantic = null, this.cachedDrawingInfo = { color: !1 }, this.popupEnabled = !0, this.popupTemplate = null, this.attributeTableTemplate = null, this.objectIdField = null, this.globalIdField = null, this._fieldUsageInfo = {}, this.screenSizePerspectiveEnabled = !0, this.serviceItemId = void 0;
192651
192654
  }
@@ -192991,7 +192994,7 @@ const lot = t2();
192991
192994
  function uot(r, e) {
192992
192995
  return new be("layer:unsupported", `Layer (${r.title}, ${r.id}) of type '${r.declaredClass}' ${e}`, { layer: r });
192993
192996
  }
192994
- let vl = class extends iD(MB(N8(rc(lb(_Z(Vl(zp(Nm(ql(Iu(da(Up(Si.ClonableMixin(Cs)))))))))))))) {
192997
+ let vl = class extends iD(MB(N8(rc(lb(_Z(Vl(zp(Nm(ql(Iu(pa(Up(Si.ClonableMixin(Cs)))))))))))))) {
192995
192998
  constructor(...e) {
192996
192999
  super(...e), this.copyright = null, this.definitionExpression = null, this.displayField = null, this.elevationInfo = null, this.fields = null, this.fieldsIndex = null, this.geometryDefinition = null, this.geometryType = null, this.labelsVisible = !0, this.labelingInfo = null, this.legendEnabled = !0, this.maxReconnectionAttempts = 0, this.maxReconnectionInterval = 20, this.maxScale = 0, this.minScale = 0, this.objectIdField = null, this.operationalLayerType = "ArcGISStreamLayer", this.outFields = ["*"], this.popupEnabled = !0, this.popupTemplate = null, this.purgeOptions = new BA(), this.refreshInterval = 0, this.screenSizePerspectiveEnabled = !0, this.sourceJSON = null, this.spatialReference = sr.WGS84, this.type = "stream", this.url = null, this.updateInterval = 300, this.useViewTime = !0, this.webSocketUrl = null, this._debouncedSaveOperations = Yf(async (t, i, n) => {
192997
193000
  const { save: s, saveAs: o } = await Promise.resolve().then(function() {
@@ -193174,7 +193177,7 @@ function iIi(r, e) {
193174
193177
  }
193175
193178
  return i[e.subtypeField] = r, new mv({ name: "New Feature", drawingTool: t, prototype: { attributes: i } });
193176
193179
  }
193177
- let To = class extends da(Si.ClonableMixin(oP.IdentifiableMixin(gc))) {
193180
+ let To = class extends pa(Si.ClonableMixin(oP.IdentifiableMixin(gc))) {
193178
193181
  constructor(e) {
193179
193182
  super(e), this.attributeTableTemplate = null, this.charts = null, this.editingEnabled = !0, this.fieldOverrides = null, this.fieldsIndex = null, this.formTemplate = null, this.id = `${Date.now().toString(16)}-subtype-sublayer-${Q3i++}`, this.type = "subtype-sublayer", this.labelsVisible = !0, this.labelingInfo = null, this.layerType = "ArcGISFeatureLayer", this.legendEnabled = !0, this.listMode = "show", this.minScale = 0, this.maxScale = 0, this.opacity = 1, this.parent = null, this.popupEnabled = !0, this.popupTemplate = null, this.subtypeCode = null, this.templates = null, this.title = null, this.visible = !0;
193180
193183
  }
@@ -193420,7 +193423,7 @@ const Vbe = t2();
193420
193423
  function Gbe() {
193421
193424
  return { name: "layerType", read: { enabled: !0 }, write: { enabled: !0, ignoreOrigin: !0, isRequired: !0 } };
193422
193425
  }
193423
- let Yp = class extends h6e(iD(upe(rc(lb(Vl(zp(Nm(ql(Iu(da(Up(ab(Si.ClonableMixin(Cs)))))))))))))) {
193426
+ let Yp = class extends h6e(iD(upe(rc(lb(Vl(zp(Nm(ql(Iu(pa(Up(ab(Si.ClonableMixin(Cs)))))))))))))) {
193424
193427
  constructor(...e) {
193425
193428
  super(...e), this._sublayerLookup = /* @__PURE__ */ new Map(), this.fields = null, this.fieldsIndex = null, this.outFields = null, this.sublayers = new (si.ofType(To))(), this.useUniqueColorsForSublayers = !0, this.supportedSourceTypes = /* @__PURE__ */ new Set(["Feature Layer", "Table"]), this.timeInfo = null, this.title = "Layer", this.type = "subtype-group", this._debouncedSaveOperations = Yf(async (t, i, n) => {
193426
193429
  const { save: s, saveAs: o } = await Promise.resolve().then(function() {
@@ -193647,7 +193650,7 @@ var sIi = /* @__PURE__ */ Object.freeze({
193647
193650
  default: nIi
193648
193651
  }), ADe;
193649
193652
  const pot = ["Canvas/World_Dark_Gray_Base", "Canvas/World_Dark_Gray_Reference", "Canvas/World_Light_Gray_Base", "Canvas/World_Light_Gray_Reference", "Elevation/World_Hillshade", "Elevation/World_Hillshade_Dark", "Ocean/World_Ocean_Base", "Ocean/World_Ocean_Reference", "Ocean_Basemap", "Reference/World_Boundaries_and_Places", "Reference/World_Boundaries_and_Places_Alternate", "Reference/World_Transportation", "World_Imagery", "World_Street_Map", "World_Topo_Map"];
193650
- let Wd = ADe = class extends rc(Vl(FOt(hFe(kOt(ql(Iu(Nm(da(zp(ab(Up(Cs)))))))))))) {
193653
+ let Wd = ADe = class extends rc(Vl(FOt(hFe(kOt(ql(Iu(Nm(pa(zp(ab(Up(Cs)))))))))))) {
193651
193654
  constructor(...r) {
193652
193655
  super(...r), this.listMode = "show", this.elevationInfo = new Rf({ mode: "on-the-ground" }), this.isReference = null, this.operationalLayerType = "ArcGISTiledMapServiceLayer", this.resampling = !0, this.sourceJSON = null, this.spatialReference = null, this.path = null, this.sublayers = null, this.type = "tile", this.url = null;
193653
193656
  }
@@ -193755,7 +193758,7 @@ var aIi = /* @__PURE__ */ Object.freeze({
193755
193758
  __proto__: null,
193756
193759
  default: oIi
193757
193760
  });
193758
- let lO = class extends Iu(da(Cs)) {
193761
+ let lO = class extends Iu(pa(Cs)) {
193759
193762
  constructor(e) {
193760
193763
  super(e), this.resourceInfo = null, this.type = "unknown";
193761
193764
  }
@@ -193781,7 +193784,7 @@ var uIi = /* @__PURE__ */ Object.freeze({
193781
193784
  __proto__: null,
193782
193785
  default: lIi
193783
193786
  });
193784
- let MN = class extends Iu(da(Cs)) {
193787
+ let MN = class extends Iu(pa(Cs)) {
193785
193788
  constructor(e) {
193786
193789
  super(e), this.resourceInfo = null, this.persistenceEnabled = !0, this.type = "unsupported";
193787
193790
  }
@@ -194130,7 +194133,7 @@ function AIi() {
194130
194133
  const r = new CIi(), e = PIi(r);
194131
194134
  return e == null || (r.supportsColorBufferFloat = e.getExtension("EXT_color_buffer_float") !== null, r.supportsColorBufferFloatBlend = e.getExtension("EXT_float_blend") !== null, r.supportsColorBufferHalfFloat = r.supportsColorBufferFloat || e.getExtension("EXT_color_buffer_half_float") !== null), r;
194132
194135
  }
194133
- let oc = class extends rc(Vl(zp(hFe(Nm(ql(Iu(Up(ab(da(Cs)))))))))) {
194136
+ let oc = class extends rc(Vl(zp(hFe(Nm(ql(Iu(Up(ab(pa(Cs)))))))))) {
194134
194137
  constructor(...e) {
194135
194138
  super(...e), this._spriteSourceMap = /* @__PURE__ */ new Map(), this.currentStyleInfo = null, this.isReference = null, this.operationalLayerType = "VectorTileLayer", this.path = null, this.refreshInterval = 0, this.style = null, this.tilemapCache = null, this.type = "vector-tile", this.url = null;
194136
194139
  }
@@ -205300,11 +205303,11 @@ browserWorkerPolyFill(self);
205300
205303
  for (wr = 0; wr < qe; $r++, wr++) $r === zt[0] && ($r++, zt.shift()), mt[wr] = we[$r];
205301
205304
  return mt;
205302
205305
  }, G = function(we) {
205303
- var qe, mt, kt, zt, wr, $r, Ei, on, Ji, pn, zs, So, Cn = 0, pa = 0, Ti = 0, kn = 0, Po = [1, 1];
205306
+ var qe, mt, kt, zt, wr, $r, Ei, on, Ji, pn, zs, So, Cn = 0, fa = 0, Ti = 0, kn = 0, Po = [1, 1];
205304
205307
  if (mt = (qe = new ic(we)).readUnsignedByte(), zt = qe.readUnsignedByte(), kt = qe.readUnsignedByte(), qe.skipUnsignedExpGolomb(), wc[mt] && ((wr = qe.readUnsignedExpGolomb()) === 3 && qe.skipBits(1), qe.skipUnsignedExpGolomb(), qe.skipUnsignedExpGolomb(), qe.skipBits(1), qe.readBoolean())) for (zs = wr !== 3 ? 8 : 12, So = 0; So < zs; So++) qe.readBoolean() && ne(So < 6 ? 16 : 64, qe);
205305
205308
  if (qe.skipUnsignedExpGolomb(), ($r = qe.readUnsignedExpGolomb()) === 0) qe.readUnsignedExpGolomb();
205306
205309
  else if ($r === 1) for (qe.skipBits(1), qe.skipExpGolomb(), qe.skipExpGolomb(), Ei = qe.readUnsignedExpGolomb(), So = 0; So < Ei; So++) qe.skipExpGolomb();
205307
- if (qe.skipUnsignedExpGolomb(), qe.skipBits(1), on = qe.readUnsignedExpGolomb(), Ji = qe.readUnsignedExpGolomb(), (pn = qe.readBits(1)) === 0 && qe.skipBits(1), qe.skipBits(1), qe.readBoolean() && (Cn = qe.readUnsignedExpGolomb(), pa = qe.readUnsignedExpGolomb(), Ti = qe.readUnsignedExpGolomb(), kn = qe.readUnsignedExpGolomb()), qe.readBoolean() && qe.readBoolean()) {
205310
+ if (qe.skipUnsignedExpGolomb(), qe.skipBits(1), on = qe.readUnsignedExpGolomb(), Ji = qe.readUnsignedExpGolomb(), (pn = qe.readBits(1)) === 0 && qe.skipBits(1), qe.skipBits(1), qe.readBoolean() && (Cn = qe.readUnsignedExpGolomb(), fa = qe.readUnsignedExpGolomb(), Ti = qe.readUnsignedExpGolomb(), kn = qe.readUnsignedExpGolomb()), qe.readBoolean() && qe.readBoolean()) {
205308
205311
  switch (qe.readUnsignedByte()) {
205309
205312
  case 1:
205310
205313
  Po = [1, 1];
@@ -205359,7 +205362,7 @@ browserWorkerPolyFill(self);
205359
205362
  }
205360
205363
  Po && (Po[0], Po[1]);
205361
205364
  }
205362
- return { profileIdc: mt, levelIdc: kt, profileCompatibility: zt, width: 16 * (on + 1) - 2 * Cn - 2 * pa, height: (2 - pn) * (Ji + 1) * 16 - 2 * Ti - 2 * kn, sarRatio: Po };
205365
+ return { profileIdc: mt, levelIdc: kt, profileCompatibility: zt, width: 16 * (on + 1) - 2 * Cn - 2 * fa, height: (2 - pn) * (Ji + 1) * 16 - 2 * Ti - 2 * kn, sarRatio: Po };
205363
205366
  };
205364
205367
  }, Lo.prototype = new Xs();
205365
205368
  var Il, $l = { H264Stream: Lo }, hu = [96e3, 88200, 64e3, 48e3, 44100, 32e3, 24e3, 22050, 16e3, 12e3, 11025, 8e3, 7350], Ea = function(ce, Te) {
@@ -205806,18 +205809,18 @@ browserWorkerPolyFill(self);
205806
205809
  if (He(Ei, ["vtte"])[0]) return void (zt += wr.size);
205807
205810
  He(Ei, ["vttc"]).forEach(function(on) {
205808
205811
  const Ji = He(on, ["payl"])[0], pn = He(on, ["sttg"])[0], zs = wr.pts / ce, So = (wr.pts + wr.duration) / ce;
205809
- let Cn, pa;
205812
+ let Cn, fa;
205810
205813
  if (Ji) try {
205811
205814
  Cn = $r.decode(Ji);
205812
205815
  } catch (Ti) {
205813
205816
  console.error(Ti);
205814
205817
  }
205815
205818
  if (pn) try {
205816
- pa = $r.decode(pn);
205819
+ fa = $r.decode(pn);
205817
205820
  } catch (Ti) {
205818
205821
  console.error(Ti);
205819
205822
  }
205820
- wr.duration && Cn && Re.push({ cueText: Cn, start: zs, end: So, settings: pa });
205823
+ wr.duration && Cn && Re.push({ cueText: Cn, start: zs, end: So, settings: fa });
205821
205824
  }), zt += wr.size;
205822
205825
  });
205823
205826
  }
@@ -209485,7 +209488,7 @@ const PK = new Wi([255, 127, 0]), Pjt = new Wi([0, 0, 0, 0.05]), Zlt = new Jl({
209485
209488
  function Jre(r, e) {
209486
209489
  return { type: e, json: { name: r, write: { overridePolicy: Cjt } } };
209487
209490
  }
209488
- let ps = class extends rc(Vl(Nm(ql(Iu(da(Up(Cs))))))) {
209491
+ let ps = class extends rc(Vl(Nm(ql(Iu(pa(Up(Cs))))))) {
209489
209492
  constructor(e) {
209490
209493
  super(e), this.capabilities = null, this.codecs = null, this.connectionInfo = null, this.controller = new ac(), this.copyright = null, this.created = null, this.customParameters = null, this.description = null, this.elevationSource = null, this.frame = null, this.frameCenterSymbol = Zlt.clone(), this.frameCount = null, this.frameEffect = null, this.frameOpacity = 1, this.frameOutlineSymbol = Klt.clone(), this.fullExtent = null, this.initialExtent = null, this.layerId = null, this.operationalLayerType = "ArcGISVideoLayer", this.playbackInfo = null, this.posterUrl = null, this.qualities = null, this.sensorSymbolOrientation = { source: "platformHeading", symbolOffset: 0 }, this.sensorSymbol = eut.clone(), this.sensorSightLineSymbol = Qlt.clone(), this.sensorTrailSymbol = tut.clone(), this.serviceItemId = null, this.sourceJSON = null, this.sourceQuality = null, this.sourceType = null, this.spatialReference = sr.WGS84, this.start = 0, this.telemetryDisplay = new wT(), this.type = "video", this.url = null, this.version = null, this.videoLayersInfo = null;
209491
209494
  }
@@ -209744,7 +209747,7 @@ function Mwe(r) {
209744
209747
  return Math.sin(Qu(r));
209745
209748
  }
209746
209749
  m([x({ type: ["viewshed"] })], dx.prototype, "type", void 0), m([x({ cast: tD, type: ike, nonNullable: !0 })], dx.prototype, "viewsheds", null), m([x({ readOnly: !0 })], dx.prototype, "spatialReference", null), m([x()], dx.prototype, "_extent", void 0), m([x()], dx.prototype, "extent", null), m([x({ readOnly: !0 })], dx.prototype, "valid", null), dx = m([Se("esri.analysis.ViewshedAnalysis")], dx);
209747
- let Jb = class extends ql(da(Cs)) {
209750
+ let Jb = class extends ql(pa(Cs)) {
209748
209751
  constructor(e) {
209749
209752
  super(e), this.type = "viewshed", this.operationalLayerType = "ViewshedLayer", this.source = new dx(), this.opacity = 1;
209750
209753
  }
@@ -210204,7 +210207,7 @@ m([x({ type: En, json: { write: { enabled: !0, isRequired: !0 } } })], xT.protot
210204
210207
  } } } })], xT.prototype, "slices", null), m([x({ type: si.ofType(px), json: { write: { enabled: !0, overridePolicy() {
210205
210208
  return { enabled: !!this.dynamicSections && this.dynamicSections.length > 0 };
210206
210209
  } } } })], xT.prototype, "dynamicSections", null), xT = lke = m([Se("esri.layers.voxel.VoxelVolumeStyle")], xT);
210207
- let bl = class extends vK(Nm(ql(Iu(Vl(da(Up(ab(Cs)))))))) {
210210
+ let bl = class extends vK(Nm(ql(Iu(Vl(pa(Up(ab(Cs)))))))) {
210208
210211
  constructor(e) {
210209
210212
  super(e), this.serviceRoot = "", this.operationalLayerType = "Voxel", this.legendEnabled = !0, this.title = null, this.sections = null, this.currentVariableId = 0, this.volumeStyles = null, this.renderMode = "volume", this.variableStyles = null, this.enableSlices = !0, this.enableSections = !0, this.enableDynamicSections = !0, this.enableIsosurfaces = !0, this.shading = new _L(), this.opacity = 1, this.variables = new si(), this.volumes = new si(), this.index = null, this.minScale = 0, this.maxScale = 0, this.type = "voxel", this.version = { major: Number.NaN, minor: Number.NaN, versionString: "" }, this.fullExtent = null, this.popupEnabled = !1, this.popupTemplate = null, this.test = null, this.timeExtent = null, this.timeOffset = null, this.useViewTime = !0, this.volumeStyles = new (si.ofType(xT))(), this.variableStyles = new (si.ofType(CE))(), this.sections = new (si.ofType(Qm))();
210210
210213
  }
@@ -211120,7 +211123,7 @@ function Qre(r, e = !1) {
211120
211123
  }
211121
211124
  m([x({ type: String, json: { write: !0 } })], dA.prototype, "datasetFormat", void 0), m([x({ readOnly: !0 })], dA.prototype, "tileType", void 0), m([x({ type: String, json: { write: !0 } })], dA.prototype, "version", void 0), m([x({ type: String, json: { write: !0 } })], dA.prototype, "coverageId", void 0), m([x({ readOnly: !0 })], dA.prototype, "rasterId", null), dA = m([Se("esri.layers.support.rasterDatasets.WCSRaster")], dA);
211122
211125
  const WMi = /* @__PURE__ */ new Set(["milliseconds", "seconds", "minutes", "hours", "days", "weeks", "months", "years", "decades", "centuries"]);
211123
- let If = class extends rc(Vl(ql(Iu(Up(eOt(o7e(lb(zp(da(Si.ClonableMixin(Cs))))))))))) {
211126
+ let If = class extends rc(Vl(ql(Iu(Up(eOt(o7e(lb(zp(pa(Si.ClonableMixin(Cs))))))))))) {
211124
211127
  constructor(...e) {
211125
211128
  super(...e), this.coverageId = null, this.version = null, this.isReference = null, this.legendEnabled = !0, this.noData = 0, this.operationalLayerType = "WCS", this.type = "wcs", this.popupEnabled = !0, this.popupTemplate = null, this.fields = null, this._debouncedSaveOperations = Yf(async (t, i, n) => {
211126
211129
  const { save: s, saveAs: o } = await Promise.resolve().then(function() {
@@ -211278,7 +211281,7 @@ let pA = class extends gc {
211278
211281
  m([x()], pA.prototype, "capabilities", void 0), m([x({ constructOnly: !0 })], pA.prototype, "layer", void 0), m([x()], pA.prototype, "sourceJSON", void 0), m([x()], pA.prototype, "type", void 0), m([x()], pA.prototype, "wfsCapabilities", void 0), pA = m([Se("esri.layers.graphics.sources.WFSSource")], pA);
211279
211282
  var cke;
211280
211283
  const cut = t2();
211281
- let la = cke = class extends DB(iD(Up(MB(N8(rc(lb(_Z(zp(Vl(ql(Iu(da(Cs))))))))))))) {
211284
+ let la = cke = class extends DB(iD(Up(MB(N8(rc(lb(_Z(zp(Vl(ql(Iu(pa(Cs))))))))))))) {
211282
211285
  static fromWFSLayerInfo(r) {
211283
211286
  const { customParameters: e, fields: t, geometryField: i, geometryType: n, name: s, namespaceUri: o, objectIdField: a, spatialReference: l, swapXY: u, url: c, wfsCapabilities: h } = r;
211284
211287
  return new cke({ customParameters: e, fields: t, geometryField: i, geometryType: n, name: s, namespaceUri: o, objectIdField: a, spatialReference: l, swapXY: u, url: c, wfsCapabilities: h });
@@ -211688,7 +211691,7 @@ function but(r) {
211688
211691
  function wut(r) {
211689
211692
  return r === "text/plain";
211690
211693
  }
211691
- let cl = class extends rc(lb(zp(Vl(ql(Iu(da(Cs))))))) {
211694
+ let cl = class extends rc(lb(zp(Vl(ql(Iu(pa(Cs))))))) {
211692
211695
  constructor(...e) {
211693
211696
  super(...e), this.allSublayers = new Cv({ getCollections: () => [this.sublayers], getChildrenFunction: (t) => t.sublayers }), this.customParameters = null, this.customLayerParameters = null, this.copyright = null, this.description = null, this.dimensions = null, this.fullExtent = null, this.fullExtents = null, this.featureInfoFormats = null, this.featureInfoUrl = null, this.fetchFeatureInfoFunction = null, this.imageFormat = null, this.imageMaxHeight = 2048, this.imageMaxWidth = 2048, this.imageTransparency = !0, this.legendEnabled = !0, this.mapUrl = null, this.isReference = null, this.operationalLayerType = "WMS", this.spatialReference = null, this.spatialReferences = null, this.sublayers = null, this.type = "wms", this.version = null, this.addHandles([Hf(() => this.sublayers, "after-add", ({ item: t }) => {
211694
211697
  t.parent = t.layer = this;
@@ -212131,7 +212134,7 @@ function Ujt(r, e, t) {
212131
212134
  }
212132
212135
  var fke;
212133
212136
  const Eut = { "image/png": ".png", "image/png8": ".png", "image/png24": ".png", "image/png32": ".png", "image/jpg": ".jpg", "image/jpeg": ".jpeg", "image/gif": ".gif", "image/bmp": ".bmp", "image/tiff": ".tif", "image/jpgpng": "", "image/jpegpng": "", "image/unknown": "" }, DDi = /* @__PURE__ */ new Set(["version", "service", "request", "layer", "style", "format", "tilematrixset", "tilematrix", "tilerow", "tilecol"]);
212134
- let Tc = fke = class extends rc(zp(Vl(ql(Iu(da(Cs)))))) {
212137
+ let Tc = fke = class extends rc(zp(Vl(ql(Iu(pa(Cs)))))) {
212135
212138
  constructor(...r) {
212136
212139
  super(...r), this.activeLayer = null, this.copyright = "", this.customParameters = null, this.customLayerParameters = null, this.fullExtent = null, this.operationalLayerType = "WebTiledLayer", this.resourceInfo = null, this.serviceMode = "RESTful", this.sublayers = null, this.type = "wmts", this.version = "1.0.0", this.addHandles([mo(() => this.activeLayer, (e, t) => {
212137
212140
  t && !this.sublayers?.includes(t) && (t.layer = null, t.parent = null), e && (e.layer = this, e.parent = this);
@@ -220401,7 +220404,7 @@ return ret;
220401
220404
  if (on.open("HEAD", ge, !1), on.send(null), !(on.status >= 200 && on.status < 300 || on.status === 304)) throw new Error("Couldn't load " + ge + ". Status: " + on.status);
220402
220405
  var Ji, pn = Number(on.getResponseHeader("Content-length")), zs = (Ji = on.getResponseHeader("Accept-Ranges")) && Ji === "bytes", So = (Ji = on.getResponseHeader("Content-Encoding")) && Ji === "gzip", Cn = 1048576;
220403
220406
  zs || (Cn = pn);
220404
- var pa = (kn, Po) => {
220407
+ var fa = (kn, Po) => {
220405
220408
  if (kn > Po) throw new Error("invalid range (" + kn + ", " + Po + ") or no bytes requested!");
220406
220409
  if (Po > pn - 1) throw new Error("only " + pn + " bytes available! programmer error!");
220407
220410
  var Be = new XMLHttpRequest();
@@ -220410,7 +220413,7 @@ return ret;
220410
220413
  }, Ti = this;
220411
220414
  Ti.setDataGetter((kn) => {
220412
220415
  var Po = kn * Cn, Be = (kn + 1) * Cn - 1;
220413
- if (Be = Math.min(Be, pn - 1), Ti.chunks[kn] === void 0 && (Ti.chunks[kn] = pa(Po, Be)), Ti.chunks[kn] === void 0) throw new Error("doXHR failed!");
220416
+ if (Be = Math.min(Be, pn - 1), Ti.chunks[kn] === void 0 && (Ti.chunks[kn] = fa(Po, Be)), Ti.chunks[kn] === void 0) throw new Error("doXHR failed!");
220414
220417
  return Ti.chunks[kn];
220415
220418
  }), !So && pn || (Cn = pn = 1, pn = this.getter(0).length, Cn = pn, _("LazyFiles on gzip forces download of the whole file when length is accessed")), this._length = pn, this._chunkSize = Cn, this.lengthKnown = !0;
220416
220419
  }, typeof XMLHttpRequest < "u") {
@@ -220430,10 +220433,10 @@ return ret;
220430
220433
  function Ei(on, Ji, pn, zs, So) {
220431
220434
  var Cn = on.node.contents;
220432
220435
  if (So >= Cn.length) return 0;
220433
- var pa = Math.min(Cn.length - So, zs);
220434
- if (Cn.slice) for (var Ti = 0; Ti < pa; Ti++) Ji[pn + Ti] = Cn[So + Ti];
220435
- else for (Ti = 0; Ti < pa; Ti++) Ji[pn + Ti] = Cn.get(So + Ti);
220436
- return pa;
220436
+ var fa = Math.min(Cn.length - So, zs);
220437
+ if (Cn.slice) for (var Ti = 0; Ti < fa; Ti++) Ji[pn + Ti] = Cn[So + Ti];
220438
+ else for (Ti = 0; Ti < fa; Ti++) Ji[pn + Ti] = Cn.get(So + Ti);
220439
+ return fa;
220437
220440
  }
220438
220441
  return Object.keys(wr.stream_ops).forEach((on) => {
220439
220442
  var Ji = wr.stream_ops[on];
@@ -220631,9 +220634,9 @@ return ret;
220631
220634
  var zt = {};
220632
220635
  return qe.forEach((wr, $r) => {
220633
220636
  var Ei = wr.fieldName, on = kt[$r], Ji = wr.getter, pn = wr.getterContext, zs = kt[$r + qe.length], So = wr.setter, Cn = wr.setterContext;
220634
- zt[Ei] = { read: (pa) => on.fromWireType(Ji(pn, pa)), write: (pa, Ti) => {
220637
+ zt[Ei] = { read: (fa) => on.fromWireType(Ji(pn, fa)), write: (fa, Ti) => {
220635
220638
  var kn = [];
220636
- So(Cn, pa, zs.toWireType(kn, Ti)), ct(kn);
220639
+ So(Cn, fa, zs.toWireType(kn, Ti)), ct(kn);
220637
220640
  } };
220638
220641
  }), [{ name: ne.name, fromWireType: (wr) => {
220639
220642
  var $r = {};
@@ -220885,18 +220888,18 @@ return ret;
220885
220888
  }), jr([G, ne, ge], we ? [we] : [], function(zs) {
220886
220889
  var So, Cn;
220887
220890
  zs = zs[0], Cn = we ? (So = zs.registeredClass).instancePrototype : Lo.prototype;
220888
- var pa = Xs(pn, function() {
220891
+ var fa = Xs(pn, function() {
220889
220892
  if (Object.getPrototypeOf(this) !== Ti) throw new vr("Use 'new' to construct " + Ei);
220890
220893
  if (kn.constructor_body === void 0) throw new vr(Ei + " has no accessible constructor");
220891
220894
  var Mi = kn.constructor_body[arguments.length];
220892
220895
  if (Mi === void 0) throw new vr(`Tried to invoke ctor of ${Ei} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(kn.constructor_body).toString()}) parameters instead!`);
220893
220896
  return Mi.apply(this, arguments);
220894
- }), Ti = Object.create(Cn, { constructor: { value: pa } });
220895
- pa.prototype = Ti;
220896
- var kn = new $l(Ei, pa, Ti, Ji, So, mt, zt, $r);
220897
+ }), Ti = Object.create(Cn, { constructor: { value: fa } });
220898
+ fa.prototype = Ti;
220899
+ var kn = new $l(Ei, fa, Ti, Ji, So, mt, zt, $r);
220897
220900
  kn.baseClass && (kn.baseClass.__derivedClasses === void 0 && (kn.baseClass.__derivedClasses = []), kn.baseClass.__derivedClasses.push(kn));
220898
220901
  var Po = new it(Ei, kn, !0, !1, !1), Be = new it(Ei + "*", kn, !1, !1, !1), tr = new it(Ei + " const*", kn, !1, !0, !1);
220899
- return rl[G] = { pointerType: Be, constPointerType: tr }, er(pn, pa), [Po, Be, tr];
220902
+ return rl[G] = { pointerType: Be, constPointerType: tr }, er(pn, fa), [Po, Be, tr];
220900
220903
  });
220901
220904
  }, gr = (G, ne) => {
220902
220905
  for (var ge = [], we = 0; we < G; we++) ge.push(N[ne + 4 * we >> 2]);
@@ -220934,9 +220937,9 @@ return ret;
220934
220937
  `, wr) pn += `runDestructors(destructors);
220935
220938
  `;
220936
220939
  else for ($r = zt ? 1 : 2; $r < ne.length; ++$r) {
220937
- var pa = $r === 1 ? "thisWired" : "arg" + ($r - 2) + "Wired";
220938
- ne[$r].destructorFunction !== null && (pn += pa + "_dtor(" + pa + "); // " + ne[$r].name + `
220939
- `, So.push(pa + "_dtor"), Cn.push(ne[$r].destructorFunction));
220940
+ var fa = $r === 1 ? "thisWired" : "arg" + ($r - 2) + "Wired";
220941
+ ne[$r].destructorFunction !== null && (pn += fa + "_dtor(" + fa + "); // " + ne[$r].name + `
220942
+ `, So.push(fa + "_dtor"), Cn.push(ne[$r].destructorFunction));
220940
220943
  }
220941
220944
  return Ei && (pn += `var ret = retType.fromWireType(rv);
220942
220945
  return ret;
@@ -221471,8 +221474,8 @@ return valueToHandle(obj);
221471
221474
  return kn = (kn = Math.abs(kn) / 60) / 60 * 100 + kn % 60, (Po ? "+" : "-") + ("0000" + kn).slice(-4);
221472
221475
  }, "%Z": (Ti) => Ti.tm_zone, "%%": () => "%" };
221473
221476
  for (var wr in kt = kt.replace(/%%/g, "\0\0"), Cn) kt.includes(wr) && (kt = kt.replace(new RegExp(wr, "g"), Cn[wr](mt)));
221474
- var pa = Mr(kt = kt.replace(/\0\0/g, "%"), !1);
221475
- return pa.length > ne ? 0 : (bs(pa, G), pa.length - 1);
221477
+ var fa = Mr(kt = kt.replace(/\0\0/g, "%"), !1);
221478
+ return fa.length > ne ? 0 : (bs(fa, G), fa.length - 1);
221476
221479
  }, Js = (G, ne, ge, we, qe) => Ko(G, ne, ge, we), _l = function(G, ne, ge, we) {
221477
221480
  G || (G = this), this.parent = G, this.mount = G.mount, this.mounted = null, this.id = $.nextInode++, this.name = ne, this.mode = ge, this.node_ops = {}, this.stream_ops = {}, this.rdev = we;
221478
221481
  }, Aa = 365, Co = 146;
@@ -236051,7 +236054,7 @@ function bht(r) {
236051
236054
  e && (clearTimeout(e), r.terminateTimeout = null);
236052
236055
  }
236053
236056
  function QRi(r, e = {}) {
236054
- const t = `const{Array:e,Object:t,Number:n,Math:r,Error:s,Uint8Array:i,Uint16Array:o,Uint32Array:c,Int32Array:f,Map:a,DataView:l,Promise:u,TextEncoder:w,crypto:h,postMessage:d,TransformStream:p,ReadableStream:y,WritableStream:m,CompressionStream:b,DecompressionStream:g}=self,k=void 0,v="undefined",S="function";class z{constructor(e){return class extends p{constructor(t,n){const r=new e(n);super({transform(e,t){t.enqueue(r.append(e))},flush(e){const t=r.flush();t&&e.enqueue(t)}})}}}}const C=[];for(let e=0;256>e;e++){let t=e;for(let e=0;8>e;e++)1&t?t=t>>>1^3988292384:t>>>=1;C[e]=t}class x{constructor(e){this.t=e||-1}append(e){let t=0|this.t;for(let n=0,r=0|e.length;r>n;n++)t=t>>>8^C[255&(t^e[n])];this.t=t}get(){return~this.t}}class A extends p{constructor(){let e;const t=new x;super({transform(e,n){t.append(e),n.enqueue(e)},flush(){const n=new i(4);new l(n.buffer).setUint32(0,t.get()),e.value=n}}),e=this}}const _={concat(e,t){if(0===e.length||0===t.length)return e.concat(t);const n=e[e.length-1],r=_.i(n);return 32===r?e.concat(t):_.o(t,r,0|n,e.slice(0,e.length-1))},l(e){const t=e.length;if(0===t)return 0;const n=e[t-1];return 32*(t-1)+_.i(n)},u(e,t){if(32*e.length<t)return e;const n=(e=e.slice(0,r.ceil(t/32))).length;return t&=31,n>0&&t&&(e[n-1]=_.h(t,e[n-1]&2147483648>>t-1,1)),e},h:(e,t,n)=>32===e?t:(n?0|t:t<<32-e)+1099511627776*e,i:e=>r.round(e/1099511627776)||32,o(e,t,n,r){for(void 0===r&&(r=[]);t>=32;t-=32)r.push(n),n=0;if(0===t)return r.concat(e);for(let s=0;s<e.length;s++)r.push(n|e[s]>>>t),n=e[s]<<32-t;const s=e.length?e[e.length-1]:0,i=_.i(s);return r.push(_.h(t+i&31,t+i>32?n:r.pop(),1)),r}},I={bytes:{p(e){const t=_.l(e)/8,n=new i(t);let r;for(let s=0;t>s;s++)3&s||(r=e[s/4]),n[s]=r>>>24,r<<=8;return n},m(e){const t=[];let n,r=0;for(n=0;n<e.length;n++)r=r<<8|e[n],3&~n||(t.push(r),r=0);return 3&n&&t.push(_.h(8*(3&n),r)),t}}},P=class{constructor(e){const t=this;t.blockSize=512,t.k=[1732584193,4023233417,2562383102,271733878,3285377520],t.v=[1518500249,1859775393,2400959708,3395469782],e?(t.S=e.S.slice(0),t.C=e.C.slice(0),t.A=e.A):t.reset()}reset(){const e=this;return e.S=e.k.slice(0),e.C=[],e.A=0,e}update(e){const t=this;"string"==typeof e&&(e=I._.m(e));const n=t.C=_.concat(t.C,e),r=t.A,i=t.A=r+_.l(e);if(i>9007199254740991)throw new s("Cannot hash more than 2^53 - 1 bits");const o=new c(n);let f=0;for(let e=t.blockSize+r-(t.blockSize+r&t.blockSize-1);i>=e;e+=t.blockSize)t.I(o.subarray(16*f,16*(f+1))),f+=1;return n.splice(0,16*f),t}P(){const e=this;let t=e.C;const n=e.S;t=_.concat(t,[_.h(1,1)]);for(let e=t.length+2;15&e;e++)t.push(0);for(t.push(r.floor(e.A/4294967296)),t.push(0|e.A);t.length;)e.I(t.splice(0,16));return e.reset(),n}D(e,t,n,r){return e>19?e>39?e>59?e>79?void 0:t^n^r:t&n|t&r|n&r:t^n^r:t&n|~t&r}V(e,t){return t<<e|t>>>32-e}I(t){const n=this,s=n.S,i=e(80);for(let e=0;16>e;e++)i[e]=t[e];let o=s[0],c=s[1],f=s[2],a=s[3],l=s[4];for(let e=0;79>=e;e++){16>e||(i[e]=n.V(1,i[e-3]^i[e-8]^i[e-14]^i[e-16]));const t=n.V(5,o)+n.D(e,c,f,a)+l+i[e]+n.v[r.floor(e/20)]|0;l=a,a=f,f=n.V(30,c),c=o,o=t}s[0]=s[0]+o|0,s[1]=s[1]+c|0,s[2]=s[2]+f|0,s[3]=s[3]+a|0,s[4]=s[4]+l|0}},D={getRandomValues(e){const t=new c(e.buffer),n=e=>{let t=987654321;const n=4294967295;return()=>(t=36969*(65535&t)+(t>>16)&n,(((t<<16)+(e=18e3*(65535&e)+(e>>16)&n)&n)/4294967296+.5)*(r.random()>.5?1:-1))};for(let s,i=0;i<e.length;i+=4){const e=n(4294967296*(s||r.random()));s=987654071*e(),t[i/4]=4294967296*e()|0}return e}},V={importKey:e=>new V.R(I.bytes.m(e)),B(e,t,n,r){if(n=n||1e4,0>r||0>n)throw new s("invalid params to pbkdf2");const i=1+(r>>5)<<2;let o,c,f,a,u;const w=new ArrayBuffer(i),h=new l(w);let d=0;const p=_;for(t=I.bytes.m(t),u=1;(i||1)>d;u++){for(o=c=e.encrypt(p.concat(t,[u])),f=1;n>f;f++)for(c=e.encrypt(c),a=0;a<c.length;a++)o[a]^=c[a];for(f=0;(i||1)>d&&f<o.length;f++)h.setInt32(d,o[f]),d+=4}return w.slice(0,r/8)},R:class{constructor(e){const t=this,n=t.M=P,r=[[],[]];t.U=[new n,new n];const s=t.U[0].blockSize/32;e.length>s&&(e=(new n).update(e).P());for(let t=0;s>t;t++)r[0][t]=909522486^e[t],r[1][t]=1549556828^e[t];t.U[0].update(r[0]),t.U[1].update(r[1]),t.K=new n(t.U[0])}reset(){const e=this;e.K=new e.M(e.U[0]),e.N=!1}update(e){this.N=!0,this.K.update(e)}digest(){const e=this,t=e.K.P(),n=new e.M(e.U[1]).update(t).P();return e.reset(),n}encrypt(e){if(this.N)throw new s("encrypt on already updated hmac called!");return this.update(e),this.digest(e)}}},R=typeof h!=v&&typeof h.getRandomValues==S,B="Invalid password",E="Invalid signature",M="zipjs-abort-check-password";function U(e){return R?h.getRandomValues(e):D.getRandomValues(e)}const K=16,N={name:"PBKDF2"},O=t.assign({hash:{name:"HMAC"}},N),T=t.assign({iterations:1e3,hash:{name:"SHA-1"}},N),W=["deriveBits"],j=[8,12,16],H=[16,24,32],L=10,F=[0,0,0,0],q=typeof h!=v,G=q&&h.subtle,J=q&&typeof G!=v,Q=I.bytes,X=class{constructor(e){const t=this;t.O=[[[],[],[],[],[]],[[],[],[],[],[]]],t.O[0][0][0]||t.T();const n=t.O[0][4],r=t.O[1],i=e.length;let o,c,f,a=1;if(4!==i&&6!==i&&8!==i)throw new s("invalid aes key size");for(t.v=[c=e.slice(0),f=[]],o=i;4*i+28>o;o++){let e=c[o-1];(o%i===0||8===i&&o%i===4)&&(e=n[e>>>24]<<24^n[e>>16&255]<<16^n[e>>8&255]<<8^n[255&e],o%i===0&&(e=e<<8^e>>>24^a<<24,a=a<<1^283*(a>>7))),c[o]=c[o-i]^e}for(let e=0;o;e++,o--){const t=c[3&e?o:o-4];f[e]=4>=o||4>e?t:r[0][n[t>>>24]]^r[1][n[t>>16&255]]^r[2][n[t>>8&255]]^r[3][n[255&t]]}}encrypt(e){return this.W(e,0)}decrypt(e){return this.W(e,1)}T(){const e=this.O[0],t=this.O[1],n=e[4],r=t[4],s=[],i=[];let o,c,f,a;for(let e=0;256>e;e++)i[(s[e]=e<<1^283*(e>>7))^e]=e;for(let l=o=0;!n[l];l^=c||1,o=i[o]||1){let i=o^o<<1^o<<2^o<<3^o<<4;i=i>>8^255&i^99,n[l]=i,r[i]=l,a=s[f=s[c=s[l]]];let u=16843009*a^65537*f^257*c^16843008*l,w=257*s[i]^16843008*i;for(let n=0;4>n;n++)e[n][l]=w=w<<24^w>>>8,t[n][i]=u=u<<24^u>>>8}for(let n=0;5>n;n++)e[n]=e[n].slice(0),t[n]=t[n].slice(0)}W(e,t){if(4!==e.length)throw new s("invalid aes block size");const n=this.v[t],r=n.length/4-2,i=[0,0,0,0],o=this.O[t],c=o[0],f=o[1],a=o[2],l=o[3],u=o[4];let w,h,d,p=e[0]^n[0],y=e[t?3:1]^n[1],m=e[2]^n[2],b=e[t?1:3]^n[3],g=4;for(let e=0;r>e;e++)w=c[p>>>24]^f[y>>16&255]^a[m>>8&255]^l[255&b]^n[g],h=c[y>>>24]^f[m>>16&255]^a[b>>8&255]^l[255&p]^n[g+1],d=c[m>>>24]^f[b>>16&255]^a[p>>8&255]^l[255&y]^n[g+2],b=c[b>>>24]^f[p>>16&255]^a[y>>8&255]^l[255&m]^n[g+3],g+=4,p=w,y=h,m=d;for(let e=0;4>e;e++)i[t?3&-e:e]=u[p>>>24]<<24^u[y>>16&255]<<16^u[m>>8&255]<<8^u[255&b]^n[g++],w=p,p=y,y=m,m=b,b=w;return i}},Y=class{constructor(e,t){this.j=e,this.H=t,this.L=t}reset(){this.L=this.H}update(e){return this.F(this.j,e,this.L)}q(e){if(255&~(e>>24))e+=1<<24;else{let t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}return e}G(e){0===(e[0]=this.q(e[0]))&&(e[1]=this.q(e[1]))}F(e,t,n){let r;if(!(r=t.length))return[];const s=_.l(t);for(let s=0;r>s;s+=4){this.G(n);const r=e.encrypt(n);t[s]^=r[0],t[s+1]^=r[1],t[s+2]^=r[2],t[s+3]^=r[3]}return _.u(t,s)}},Z=V.R;let $=q&&J&&typeof G.importKey==S,ee=q&&J&&typeof G.deriveBits==S;class te extends p{constructor({password:e,rawPassword:n,signed:r,encryptionStrength:o,checkPasswordOnly:c}){super({start(){t.assign(this,{ready:new u((e=>this.J=e)),password:ie(e,n),signed:r,X:o-1,pending:new i})},async transform(e,t){const n=this,{password:r,X:o,J:f,ready:a}=n;r?(await(async(e,t,n,r)=>{const i=await se(e,t,n,ce(r,0,j[t])),o=ce(r,j[t]);if(i[0]!=o[0]||i[1]!=o[1])throw new s(B)})(n,o,r,ce(e,0,j[o]+2)),e=ce(e,j[o]+2),c?t.error(new s(M)):f()):await a;const l=new i(e.length-L-(e.length-L)%K);t.enqueue(re(n,e,l,0,L,!0))},async flush(e){const{signed:t,Y:n,Z:r,pending:o,ready:c}=this;if(r&&n){await c;const f=ce(o,0,o.length-L),a=ce(o,o.length-L);let l=new i;if(f.length){const e=ae(Q,f);r.update(e);const t=n.update(e);l=fe(Q,t)}if(t){const e=ce(fe(Q,r.digest()),0,L);for(let t=0;L>t;t++)if(e[t]!=a[t])throw new s(E)}e.enqueue(l)}}})}}class ne extends p{constructor({password:e,rawPassword:n,encryptionStrength:r}){let s;super({start(){t.assign(this,{ready:new u((e=>this.J=e)),password:ie(e,n),X:r-1,pending:new i})},async transform(e,t){const n=this,{password:r,X:s,J:o,ready:c}=n;let f=new i;r?(f=await(async(e,t,n)=>{const r=U(new i(j[t]));return oe(r,await se(e,t,n,r))})(n,s,r),o()):await c;const a=new i(f.length+e.length-e.length%K);a.set(f,0),t.enqueue(re(n,e,a,f.length,0))},async flush(e){const{Y:t,Z:n,pending:r,ready:o}=this;if(n&&t){await o;let c=new i;if(r.length){const e=t.update(ae(Q,r));n.update(e),c=fe(Q,e)}s.signature=fe(Q,n.digest()).slice(0,L),e.enqueue(oe(c,s.signature))}}}),s=this}}function re(e,t,n,r,s,o){const{Y:c,Z:f,pending:a}=e,l=t.length-s;let u;for(a.length&&(t=oe(a,t),n=((e,t)=>{if(t&&t>e.length){const n=e;(e=new i(t)).set(n,0)}return e})(n,l-l%K)),u=0;l-K>=u;u+=K){const e=ae(Q,ce(t,u,u+K));o&&f.update(e);const s=c.update(e);o||f.update(s),n.set(fe(Q,s),u+r)}return e.pending=ce(t,u),n}async function se(n,r,s,o){n.password=null;const c=await(async(e,t,n,r,s)=>{if(!$)return V.importKey(t);try{return await G.importKey("raw",t,n,!1,s)}catch(e){return $=!1,V.importKey(t)}})(0,s,O,0,W),f=await(async(e,t,n)=>{if(!ee)return V.B(t,e.salt,T.iterations,n);try{return await G.deriveBits(e,t,n)}catch(r){return ee=!1,V.B(t,e.salt,T.iterations,n)}})(t.assign({salt:o},T),c,8*(2*H[r]+2)),a=new i(f),l=ae(Q,ce(a,0,H[r])),u=ae(Q,ce(a,H[r],2*H[r])),w=ce(a,2*H[r]);return t.assign(n,{keys:{key:l,$:u,passwordVerification:w},Y:new Y(new X(l),e.from(F)),Z:new Z(u)}),w}function ie(e,t){return t===k?(e=>{if(typeof w==v){const t=new i((e=unescape(encodeURIComponent(e))).length);for(let n=0;n<t.length;n++)t[n]=e.charCodeAt(n);return t}return(new w).encode(e)})(e):t}function oe(e,t){let n=e;return e.length+t.length&&(n=new i(e.length+t.length),n.set(e,0),n.set(t,e.length)),n}function ce(e,t,n){return e.subarray(t,n)}function fe(e,t){return e.p(t)}function ae(e,t){return e.m(t)}class le extends p{constructor({password:e,passwordVerification:n,checkPasswordOnly:r}){super({start(){t.assign(this,{password:e,passwordVerification:n}),de(this,e)},transform(e,t){const n=this;if(n.password){const t=we(n,e.subarray(0,12));if(n.password=null,t[11]!=n.passwordVerification)throw new s(B);e=e.subarray(12)}r?t.error(new s(M)):t.enqueue(we(n,e))}})}}class ue extends p{constructor({password:e,passwordVerification:n}){super({start(){t.assign(this,{password:e,passwordVerification:n}),de(this,e)},transform(e,t){const n=this;let r,s;if(n.password){n.password=null;const t=U(new i(12));t[11]=n.passwordVerification,r=new i(e.length+t.length),r.set(he(n,t),0),s=12}else r=new i(e.length),s=0;r.set(he(n,e),s),t.enqueue(r)}})}}function we(e,t){const n=new i(t.length);for(let r=0;r<t.length;r++)n[r]=ye(e)^t[r],pe(e,n[r]);return n}function he(e,t){const n=new i(t.length);for(let r=0;r<t.length;r++)n[r]=ye(e)^t[r],pe(e,t[r]);return n}function de(e,n){const r=[305419896,591751049,878082192];t.assign(e,{keys:r,ee:new x(r[0]),te:new x(r[2])});for(let t=0;t<n.length;t++)pe(e,n.charCodeAt(t))}function pe(e,t){let[n,s,i]=e.keys;e.ee.append([t]),n=~e.ee.get(),s=be(r.imul(be(s+me(n)),134775813)+1),e.te.append([s>>>24]),i=~e.te.get(),e.keys=[n,s,i]}function ye(e){const t=2|e.keys[2];return me(r.imul(t,1^t)>>>8)}function me(e){return 255&e}function be(e){return 4294967295&e}const ge="deflate-raw";class ke extends p{constructor(e,{chunkSize:t,CompressionStream:n,CompressionStreamNative:r}){super({});const{compressed:s,encrypted:i,useCompressionStream:o,zipCrypto:c,signed:f,level:a}=e,u=this;let w,h,d=Se(super.readable);i&&!c||!f||(w=new A,d=xe(d,w)),s&&(d=Ce(d,o,{level:a,chunkSize:t},r,n)),i&&(c?d=xe(d,new ue(e)):(h=new ne(e),d=xe(d,h))),ze(u,d,(()=>{let e;i&&!c&&(e=h.signature),i&&!c||!f||(e=new l(w.value.buffer).getUint32(0)),u.signature=e}))}}class ve extends p{constructor(e,{chunkSize:t,DecompressionStream:n,DecompressionStreamNative:r}){super({});const{zipCrypto:i,encrypted:o,signed:c,signature:f,compressed:a,useCompressionStream:u}=e;let w,h,d=Se(super.readable);o&&(i?d=xe(d,new le(e)):(h=new te(e),d=xe(d,h))),a&&(d=Ce(d,u,{chunkSize:t},r,n)),o&&!i||!c||(w=new A,d=xe(d,w)),ze(this,d,(()=>{if((!o||i)&&c){const e=new l(w.value.buffer);if(f!=e.getUint32(0,!1))throw new s(E)}}))}}function Se(e){return xe(e,new p({transform(e,t){e&&e.length&&t.enqueue(e)}}))}function ze(e,n,r){n=xe(n,new p({flush:r})),t.defineProperty(e,"readable",{get:()=>n})}function Ce(e,t,n,r,s){try{e=xe(e,new(t&&r?r:s)(ge,n))}catch(r){if(!t)return e;try{e=xe(e,new s(ge,n))}catch(t){return e}}return e}function xe(e,t){return e.pipeThrough(t)}const Ae="data",_e="close";class Ie extends p{constructor(e,n){super({});const r=this,{codecType:s}=e;let i;s.startsWith("deflate")?i=ke:s.startsWith("inflate")&&(i=ve);let o=0,c=0;const f=new i(e,n),a=super.readable,l=new p({transform(e,t){e&&e.length&&(c+=e.length,t.enqueue(e))},flush(){t.assign(r,{inputSize:c})}}),u=new p({transform(e,t){e&&e.length&&(o+=e.length,t.enqueue(e))},flush(){const{signature:e}=f;t.assign(r,{signature:e,outputSize:o,inputSize:c})}});t.defineProperty(r,"readable",{get:()=>a.pipeThrough(l).pipeThrough(f).pipeThrough(u)})}}class Pe extends p{constructor(e){let t;super({transform:function n(r,s){if(t){const e=new i(t.length+r.length);e.set(t),e.set(r,t.length),r=e,t=null}r.length>e?(s.enqueue(r.slice(0,e)),n(r.slice(e),s)):t=r},flush(e){t&&t.length&&e.enqueue(t)}})}}const De=new a,Ve=new a;let Re,Be=0,Ee=!0;async function Me(e){try{const{options:t,scripts:r,config:s}=e;if(r&&r.length)try{Ee?importScripts.apply(k,r):await Ue(r)}catch(e){Ee=!1,await Ue(r)}self.initCodec&&self.initCodec(),s.CompressionStreamNative=self.CompressionStream,s.DecompressionStreamNative=self.DecompressionStream,self.Deflate&&(s.CompressionStream=new z(self.Deflate)),self.Inflate&&(s.DecompressionStream=new z(self.Inflate));const i={highWaterMark:1},o=e.readable||new y({async pull(e){const t=new u((e=>De.set(Be,e)));Ke({type:"pull",messageId:Be}),Be=(Be+1)%n.MAX_SAFE_INTEGER;const{value:r,done:s}=await t;e.enqueue(r),s&&e.close()}},i),c=e.writable||new m({async write(e){let t;const r=new u((e=>t=e));Ve.set(Be,t),Ke({type:Ae,value:e,messageId:Be}),Be=(Be+1)%n.MAX_SAFE_INTEGER,await r}},i),f=new Ie(t,s);Re=new AbortController;const{signal:a}=Re;await o.pipeThrough(f).pipeThrough(new Pe(s.chunkSize)).pipeTo(c,{signal:a,preventClose:!0,preventAbort:!0}),await c.getWriter().close();const{signature:l,inputSize:w,outputSize:h}=f;Ke({type:_e,result:{signature:l,inputSize:w,outputSize:h}})}catch(e){Ne(e)}}async function Ue(e){for(const t of e)await import(t)}function Ke(e){let{value:t}=e;if(t)if(t.length)try{t=new i(t),e.value=t.buffer,d(e,[e.value])}catch(t){d(e)}else d(e);else d(e)}function Ne(e=new s("Unknown error")){const{message:t,stack:n,code:r,name:i}=e;d({error:{message:t,stack:n,code:r,name:i}})}addEventListener("message",(({data:e})=>{const{type:t,messageId:n,value:r,done:s}=e;try{if("start"==t&&Me(e),t==Ae){const e=De.get(n);De.delete(n),e({value:new i(r),done:s})}if("ack"==t){const e=Ve.get(n);Ve.delete(n),e()}t==_e&&Re.abort()}catch(e){Ne(e)}}));const Oe=-2;function Te(t){return We(t.map((([t,n])=>new e(t).fill(n,0,t))))}function We(t){return t.reduce(((t,n)=>t.concat(e.isArray(n)?We(n):n)),[])}const je=[0,1,2,3].concat(...Te([[2,4],[2,5],[4,6],[4,7],[8,8],[8,9],[16,10],[16,11],[32,12],[32,13],[64,14],[64,15],[2,0],[1,16],[1,17],[2,18],[2,19],[4,20],[4,21],[8,22],[8,23],[16,24],[16,25],[32,26],[32,27],[64,28],[64,29]]));function He(){const e=this;function t(e,t){let n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}e.ne=n=>{const s=e.re,i=e.ie.se,o=e.ie.oe;let c,f,a,l=-1;for(n.ce=0,n.fe=573,c=0;o>c;c++)0!==s[2*c]?(n.ae[++n.ce]=l=c,n.le[c]=0):s[2*c+1]=0;for(;2>n.ce;)a=n.ae[++n.ce]=2>l?++l:0,s[2*a]=1,n.le[a]=0,n.ue--,i&&(n.we-=i[2*a+1]);for(e.he=l,c=r.floor(n.ce/2);c>=1;c--)n.de(s,c);a=o;do{c=n.ae[1],n.ae[1]=n.ae[n.ce--],n.de(s,1),f=n.ae[1],n.ae[--n.fe]=c,n.ae[--n.fe]=f,s[2*a]=s[2*c]+s[2*f],n.le[a]=r.max(n.le[c],n.le[f])+1,s[2*c+1]=s[2*f+1]=a,n.ae[1]=a++,n.de(s,1)}while(n.ce>=2);n.ae[--n.fe]=n.ae[1],(t=>{const n=e.re,r=e.ie.se,s=e.ie.pe,i=e.ie.ye,o=e.ie.me;let c,f,a,l,u,w,h=0;for(l=0;15>=l;l++)t.be[l]=0;for(n[2*t.ae[t.fe]+1]=0,c=t.fe+1;573>c;c++)f=t.ae[c],l=n[2*n[2*f+1]+1]+1,l>o&&(l=o,h++),n[2*f+1]=l,f>e.he||(t.be[l]++,u=0,i>f||(u=s[f-i]),w=n[2*f],t.ue+=w*(l+u),r&&(t.we+=w*(r[2*f+1]+u)));if(0!==h){do{for(l=o-1;0===t.be[l];)l--;t.be[l]--,t.be[l+1]+=2,t.be[o]--,h-=2}while(h>0);for(l=o;0!==l;l--)for(f=t.be[l];0!==f;)a=t.ae[--c],a>e.he||(n[2*a+1]!=l&&(t.ue+=(l-n[2*a+1])*n[2*a],n[2*a+1]=l),f--)}})(n),((e,n,r)=>{const s=[];let i,o,c,f=0;for(i=1;15>=i;i++)s[i]=f=f+r[i-1]<<1;for(o=0;n>=o;o++)c=e[2*o+1],0!==c&&(e[2*o]=t(s[c]++,c))})(s,e.he,n.be)}}function Le(e,t,n,r,s){const i=this;i.se=e,i.pe=t,i.ye=n,i.oe=r,i.me=s}He.ge=[0,1,2,3,4,5,6,7].concat(...Te([[2,8],[2,9],[2,10],[2,11],[4,12],[4,13],[4,14],[4,15],[8,16],[8,17],[8,18],[8,19],[16,20],[16,21],[16,22],[16,23],[32,24],[32,25],[32,26],[31,27],[1,28]])),He.ke=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],He.ve=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],He.Se=e=>256>e?je[e]:je[256+(e>>>7)],He.ze=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],He.Ce=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],He.xe=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],He.Ae=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];const Fe=Te([[144,8],[112,9],[24,7],[8,8]]);Le._e=We([12,140,76,204,44,172,108,236,28,156,92,220,60,188,124,252,2,130,66,194,34,162,98,226,18,146,82,210,50,178,114,242,10,138,74,202,42,170,106,234,26,154,90,218,58,186,122,250,6,134,70,198,38,166,102,230,22,150,86,214,54,182,118,246,14,142,78,206,46,174,110,238,30,158,94,222,62,190,126,254,1,129,65,193,33,161,97,225,17,145,81,209,49,177,113,241,9,137,73,201,41,169,105,233,25,153,89,217,57,185,121,249,5,133,69,197,37,165,101,229,21,149,85,213,53,181,117,245,13,141,77,205,45,173,109,237,29,157,93,221,61,189,125,253,19,275,147,403,83,339,211,467,51,307,179,435,115,371,243,499,11,267,139,395,75,331,203,459,43,299,171,427,107,363,235,491,27,283,155,411,91,347,219,475,59,315,187,443,123,379,251,507,7,263,135,391,71,327,199,455,39,295,167,423,103,359,231,487,23,279,151,407,87,343,215,471,55,311,183,439,119,375,247,503,15,271,143,399,79,335,207,463,47,303,175,431,111,367,239,495,31,287,159,415,95,351,223,479,63,319,191,447,127,383,255,511,0,64,32,96,16,80,48,112,8,72,40,104,24,88,56,120,4,68,36,100,20,84,52,116,3,131,67,195,35,163,99,227].map(((e,t)=>[e,Fe[t]])));const qe=Te([[30,5]]);function Ge(e,t,n,r,s){const i=this;i.Ie=e,i.Pe=t,i.De=n,i.Ve=r,i.Re=s}Le.Be=We([0,16,8,24,4,20,12,28,2,18,10,26,6,22,14,30,1,17,9,25,5,21,13,29,3,19,11,27,7,23].map(((e,t)=>[e,qe[t]]))),Le.Ee=new Le(Le._e,He.ze,257,286,15),Le.Me=new Le(Le.Be,He.Ce,0,30,15),Le.Ue=new Le(null,He.xe,0,19,7);const Je=[new Ge(0,0,0,0,0),new Ge(4,4,8,4,1),new Ge(4,5,16,8,1),new Ge(4,6,32,32,1),new Ge(4,4,16,16,2),new Ge(8,16,32,32,2),new Ge(8,16,128,128,2),new Ge(8,32,128,256,2),new Ge(32,128,258,1024,2),new Ge(32,258,258,4096,2)],Qe=["need dictionary","stream end","","","stream error","data error","","buffer error","",""],Xe=113,Ye=666,Ze=262;function $e(e,t,n,r){const s=e[2*t],i=e[2*n];return i>s||s==i&&r[t]<=r[n]}function et(){const e=this;let t,n,s,c,f,a,l,u,w,h,d,p,y,m,b,g,k,v,S,z,C,x,A,_,I,P,D,V,R,B,E,M,U;const K=new He,N=new He,O=new He;let T,W,j,H,L,F;function q(){let t;for(t=0;286>t;t++)E[2*t]=0;for(t=0;30>t;t++)M[2*t]=0;for(t=0;19>t;t++)U[2*t]=0;E[512]=1,e.ue=e.we=0,W=j=0}function G(e,t){let n,r=-1,s=e[1],i=0,o=7,c=4;0===s&&(o=138,c=3),e[2*(t+1)+1]=65535;for(let f=0;t>=f;f++)n=s,s=e[2*(f+1)+1],++i<o&&n==s||(c>i?U[2*n]+=i:0!==n?(n!=r&&U[2*n]++,U[32]++):i>10?U[36]++:U[34]++,i=0,r=n,0===s?(o=138,c=3):n==s?(o=6,c=3):(o=7,c=4))}function J(t){e.Ke[e.pending++]=t}function Q(e){J(255&e),J(e>>>8&255)}function X(e,t){let n;const r=t;F>16-r?(n=e,L|=n<<F&65535,Q(L),L=n>>>16-F,F+=r-16):(L|=e<<F&65535,F+=r)}function Y(e,t){const n=2*e;X(65535&t[n],65535&t[n+1])}function Z(e,t){let n,r,s=-1,i=e[1],o=0,c=7,f=4;for(0===i&&(c=138,f=3),n=0;t>=n;n++)if(r=i,i=e[2*(n+1)+1],++o>=c||r!=i){if(f>o)do{Y(r,U)}while(0!==--o);else 0!==r?(r!=s&&(Y(r,U),o--),Y(16,U),X(o-3,2)):o>10?(Y(18,U),X(o-11,7)):(Y(17,U),X(o-3,3));o=0,s=r,0===i?(c=138,f=3):r==i?(c=6,f=3):(c=7,f=4)}}function $(){16==F?(Q(L),L=0,F=0):8>F||(J(255&L),L>>>=8,F-=8)}function ee(t,n){let s,i,o;if(e.Ne[W]=t,e.Oe[W]=255&n,W++,0===t?E[2*n]++:(j++,t--,E[2*(He.ge[n]+256+1)]++,M[2*He.Se(t)]++),!(8191&W)&&D>2){for(s=8*W,i=C-k,o=0;30>o;o++)s+=M[2*o]*(5+He.Ce[o]);if(s>>>=3,j<r.floor(W/2)&&s<r.floor(i/2))return!0}return W==T-1}function te(t,n){let r,s,i,o,c=0;if(0!==W)do{r=e.Ne[c],s=e.Oe[c],c++,0===r?Y(s,t):(i=He.ge[s],Y(i+256+1,t),o=He.ze[i],0!==o&&(s-=He.ke[i],X(s,o)),r--,i=He.Se(r),Y(i,n),o=He.Ce[i],0!==o&&(r-=He.ve[i],X(r,o)))}while(W>c);Y(256,t),H=t[513]}function ne(){F>8?Q(L):F>0&&J(255&L),L=0,F=0}function re(t,n,r){X(0+(r?1:0),3),((t,n)=>{ne(),H=8,Q(n),Q(~n),e.Ke.set(u.subarray(t,t+n),e.pending),e.pending+=n})(t,n)}function se(n){((t,n,r)=>{let s,i,o=0;D>0?(K.ne(e),N.ne(e),o=(()=>{let t;for(G(E,K.he),G(M,N.he),O.ne(e),t=18;t>=3&&0===U[2*He.Ae[t]+1];t--);return e.ue+=14+3*(t+1),t})(),s=e.ue+3+7>>>3,i=e.we+3+7>>>3,i>s||(s=i)):s=i=n+5,n+4>s||-1==t?i==s?(X(2+(r?1:0),3),te(Le._e,Le.Be)):(X(4+(r?1:0),3),((e,t,n)=>{let r;for(X(e-257,5),X(t-1,5),X(n-4,4),r=0;n>r;r++)X(U[2*He.Ae[r]+1],3);Z(E,e-1),Z(M,t-1)})(K.he+1,N.he+1,o+1),te(E,M)):re(t,n,r),q(),r&&ne()})(0>k?-1:k,C-k,n),k=C,t.Te()}function ie(){let e,n,r,s;do{if(s=w-A-C,0===s&&0===C&&0===A)s=f;else if(-1==s)s--;else if(C>=f+f-Ze){u.set(u.subarray(f,f+f),0),x-=f,C-=f,k-=f,e=y,r=e;do{n=65535&d[--r],d[r]=f>n?0:n-f}while(0!==--e);e=f,r=e;do{n=65535&h[--r],h[r]=f>n?0:n-f}while(0!==--e);s+=f}if(0===t.We)return;e=t.je(u,C+A,s),A+=e,3>A||(p=255&u[C],p=(p<<g^255&u[C+1])&b)}while(Ze>A&&0!==t.We)}function oe(e){let t,n,r=I,s=C,i=_;const o=C>f-Ze?C-(f-Ze):0;let c=B;const a=l,w=C+258;let d=u[s+i-1],p=u[s+i];R>_||(r>>=2),c>A&&(c=A);do{if(t=e,u[t+i]==p&&u[t+i-1]==d&&u[t]==u[s]&&u[++t]==u[s+1]){s+=2,t++;do{}while(u[++s]==u[++t]&&u[++s]==u[++t]&&u[++s]==u[++t]&&u[++s]==u[++t]&&u[++s]==u[++t]&&u[++s]==u[++t]&&u[++s]==u[++t]&&u[++s]==u[++t]&&w>s);if(n=258-(w-s),s=w-258,n>i){if(x=e,i=n,n>=c)break;d=u[s+i-1],p=u[s+i]}}}while((e=65535&h[e&a])>o&&0!==--r);return i>A?A:i}e.le=[],e.be=[],e.ae=[],E=[],M=[],U=[],e.de=(t,n)=>{const r=e.ae,s=r[n];let i=n<<1;for(;i<=e.ce&&(i<e.ce&&$e(t,r[i+1],r[i],e.le)&&i++,!$e(t,s,r[i],e.le));)r[n]=r[i],n=i,i<<=1;r[n]=s},e.He=(t,S,x,W,j,G)=>(W||(W=8),j||(j=8),G||(G=0),t.Le=null,-1==S&&(S=6),1>j||j>9||8!=W||9>x||x>15||0>S||S>9||0>G||G>2?Oe:(t.Fe=e,a=x,f=1<<a,l=f-1,m=j+7,y=1<<m,b=y-1,g=r.floor((m+3-1)/3),u=new i(2*f),h=[],d=[],T=1<<j+6,e.Ke=new i(4*T),s=4*T,e.Ne=new o(T),e.Oe=new i(T),D=S,V=G,(t=>(t.qe=t.Ge=0,t.Le=null,e.pending=0,e.Je=0,n=Xe,c=0,K.re=E,K.ie=Le.Ee,N.re=M,N.ie=Le.Me,O.re=U,O.ie=Le.Ue,L=0,F=0,H=8,q(),(()=>{w=2*f,d[y-1]=0;for(let e=0;y-1>e;e++)d[e]=0;P=Je[D].Pe,R=Je[D].Ie,B=Je[D].De,I=Je[D].Ve,C=0,k=0,A=0,v=_=2,z=0,p=0})(),0))(t))),e.Qe=()=>42!=n&&n!=Xe&&n!=Ye?Oe:(e.Oe=null,e.Ne=null,e.Ke=null,d=null,h=null,u=null,e.Fe=null,n==Xe?-3:0),e.Xe=(e,t,n)=>{let r=0;return-1==t&&(t=6),0>t||t>9||0>n||n>2?Oe:(Je[D].Re!=Je[t].Re&&0!==e.qe&&(r=e.Ye(1)),D!=t&&(D=t,P=Je[D].Pe,R=Je[D].Ie,B=Je[D].De,I=Je[D].Ve),V=n,r)},e.Ze=(e,t,r)=>{let s,i=r,o=0;if(!t||42!=n)return Oe;if(3>i)return 0;for(i>f-Ze&&(i=f-Ze,o=r-i),u.set(t.subarray(o,o+i),0),C=i,k=i,p=255&u[0],p=(p<<g^255&u[1])&b,s=0;i-3>=s;s++)p=(p<<g^255&u[s+2])&b,h[s&l]=d[p],d[p]=s;return 0},e.Ye=(r,i)=>{let o,w,m,I,R;if(i>4||0>i)return Oe;if(!r.$e||!r.et&&0!==r.We||n==Ye&&4!=i)return r.Le=Qe[4],Oe;if(0===r.tt)return r.Le=Qe[7],-5;var B;if(t=r,I=c,c=i,42==n&&(w=8+(a-8<<4)<<8,m=(D-1&255)>>1,m>3&&(m=3),w|=m<<6,0!==C&&(w|=32),w+=31-w%31,n=Xe,J((B=w)>>8&255),J(255&B)),0!==e.pending){if(t.Te(),0===t.tt)return c=-1,0}else if(0===t.We&&I>=i&&4!=i)return t.Le=Qe[7],-5;if(n==Ye&&0!==t.We)return r.Le=Qe[7],-5;if(0!==t.We||0!==A||0!=i&&n!=Ye){switch(R=-1,Je[D].Re){case 0:R=(e=>{let n,r=65535;for(r>s-5&&(r=s-5);;){if(1>=A){if(ie(),0===A&&0==e)return 0;if(0===A)break}if(C+=A,A=0,n=k+r,(0===C||C>=n)&&(A=C-n,C=n,se(!1),0===t.tt))return 0;if(C-k>=f-Ze&&(se(!1),0===t.tt))return 0}return se(4==e),0===t.tt?4==e?2:0:4==e?3:1})(i);break;case 1:R=(e=>{let n,r=0;for(;;){if(Ze>A){if(ie(),Ze>A&&0==e)return 0;if(0===A)break}if(3>A||(p=(p<<g^255&u[C+2])&b,r=65535&d[p],h[C&l]=d[p],d[p]=C),0===r||(C-r&65535)>f-Ze||2!=V&&(v=oe(r)),3>v)n=ee(0,255&u[C]),A--,C++;else if(n=ee(C-x,v-3),A-=v,v>P||3>A)C+=v,v=0,p=255&u[C],p=(p<<g^255&u[C+1])&b;else{v--;do{C++,p=(p<<g^255&u[C+2])&b,r=65535&d[p],h[C&l]=d[p],d[p]=C}while(0!==--v);C++}if(n&&(se(!1),0===t.tt))return 0}return se(4==e),0===t.tt?4==e?2:0:4==e?3:1})(i);break;case 2:R=(e=>{let n,r,s=0;for(;;){if(Ze>A){if(ie(),Ze>A&&0==e)return 0;if(0===A)break}if(3>A||(p=(p<<g^255&u[C+2])&b,s=65535&d[p],h[C&l]=d[p],d[p]=C),_=v,S=x,v=2,0!==s&&P>_&&f-Ze>=(C-s&65535)&&(2!=V&&(v=oe(s)),5>=v&&(1==V||3==v&&C-x>4096)&&(v=2)),3>_||v>_)if(0!==z){if(n=ee(0,255&u[C-1]),n&&se(!1),C++,A--,0===t.tt)return 0}else z=1,C++,A--;else{r=C+A-3,n=ee(C-1-S,_-3),A-=_-1,_-=2;do{++C>r||(p=(p<<g^255&u[C+2])&b,s=65535&d[p],h[C&l]=d[p],d[p]=C)}while(0!==--_);if(z=0,v=2,C++,n&&(se(!1),0===t.tt))return 0}}return 0!==z&&(n=ee(0,255&u[C-1]),z=0),se(4==e),0===t.tt?4==e?2:0:4==e?3:1})(i)}if(2!=R&&3!=R||(n=Ye),0==R||2==R)return 0===t.tt&&(c=-1),0;if(1==R){if(1==i)X(2,3),Y(256,Le._e),$(),9>1+H+10-F&&(X(2,3),Y(256,Le._e),$()),H=7;else if(re(0,0,!1),3==i)for(o=0;y>o;o++)d[o]=0;if(t.Te(),0===t.tt)return c=-1,0}}return 4!=i?0:1}}function tt(){const e=this;e.nt=0,e.rt=0,e.We=0,e.qe=0,e.tt=0,e.Ge=0}function nt(e){const t=new tt,n=(o=e&&e.chunkSize?e.chunkSize:65536)+5*(r.floor(o/16383)+1);var o;const c=new i(n);let f=e?e.level:-1;void 0===f&&(f=-1),t.He(f),t.$e=c,this.append=(e,r)=>{let o,f,a=0,l=0,u=0;const w=[];if(e.length){t.nt=0,t.et=e,t.We=e.length;do{if(t.rt=0,t.tt=n,o=t.Ye(0),0!=o)throw new s("deflating: "+t.Le);t.rt&&(t.rt==n?w.push(new i(c)):w.push(c.subarray(0,t.rt))),u+=t.rt,r&&t.nt>0&&t.nt!=a&&(r(t.nt),a=t.nt)}while(t.We>0||0===t.tt);return w.length>1?(f=new i(u),w.forEach((e=>{f.set(e,l),l+=e.length}))):f=w[0]?new i(w[0]):new i,f}},this.flush=()=>{let e,r,o=0,f=0;const a=[];do{if(t.rt=0,t.tt=n,e=t.Ye(4),1!=e&&0!=e)throw new s("deflating: "+t.Le);n-t.tt>0&&a.push(c.slice(0,t.rt)),f+=t.rt}while(t.We>0||0===t.tt);return t.Qe(),r=new i(f),a.forEach((e=>{r.set(e,o),o+=e.length})),r}}tt.prototype={He(e,t){const n=this;return n.Fe=new et,t||(t=15),n.Fe.He(n,e,t)},Ye(e){const t=this;return t.Fe?t.Fe.Ye(t,e):Oe},Qe(){const e=this;if(!e.Fe)return Oe;const t=e.Fe.Qe();return e.Fe=null,t},Xe(e,t){const n=this;return n.Fe?n.Fe.Xe(n,e,t):Oe},Ze(e,t){const n=this;return n.Fe?n.Fe.Ze(n,e,t):Oe},je(e,t,n){const r=this;let s=r.We;return s>n&&(s=n),0===s?0:(r.We-=s,e.set(r.et.subarray(r.nt,r.nt+s),t),r.nt+=s,r.qe+=s,s)},Te(){const e=this;let t=e.Fe.pending;t>e.tt&&(t=e.tt),0!==t&&(e.$e.set(e.Fe.Ke.subarray(e.Fe.Je,e.Fe.Je+t),e.rt),e.rt+=t,e.Fe.Je+=t,e.Ge+=t,e.tt-=t,e.Fe.pending-=t,0===e.Fe.pending&&(e.Fe.Je=0))}};const rt=-2,st=-3,it=-5,ot=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],ct=[96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,192,80,7,10,0,8,96,0,8,32,0,9,160,0,8,0,0,8,128,0,8,64,0,9,224,80,7,6,0,8,88,0,8,24,0,9,144,83,7,59,0,8,120,0,8,56,0,9,208,81,7,17,0,8,104,0,8,40,0,9,176,0,8,8,0,8,136,0,8,72,0,9,240,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,200,81,7,13,0,8,100,0,8,36,0,9,168,0,8,4,0,8,132,0,8,68,0,9,232,80,7,8,0,8,92,0,8,28,0,9,152,84,7,83,0,8,124,0,8,60,0,9,216,82,7,23,0,8,108,0,8,44,0,9,184,0,8,12,0,8,140,0,8,76,0,9,248,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,196,81,7,11,0,8,98,0,8,34,0,9,164,0,8,2,0,8,130,0,8,66,0,9,228,80,7,7,0,8,90,0,8,26,0,9,148,84,7,67,0,8,122,0,8,58,0,9,212,82,7,19,0,8,106,0,8,42,0,9,180,0,8,10,0,8,138,0,8,74,0,9,244,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,204,81,7,15,0,8,102,0,8,38,0,9,172,0,8,6,0,8,134,0,8,70,0,9,236,80,7,9,0,8,94,0,8,30,0,9,156,84,7,99,0,8,126,0,8,62,0,9,220,82,7,27,0,8,110,0,8,46,0,9,188,0,8,14,0,8,142,0,8,78,0,9,252,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,194,80,7,10,0,8,97,0,8,33,0,9,162,0,8,1,0,8,129,0,8,65,0,9,226,80,7,6,0,8,89,0,8,25,0,9,146,83,7,59,0,8,121,0,8,57,0,9,210,81,7,17,0,8,105,0,8,41,0,9,178,0,8,9,0,8,137,0,8,73,0,9,242,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,202,81,7,13,0,8,101,0,8,37,0,9,170,0,8,5,0,8,133,0,8,69,0,9,234,80,7,8,0,8,93,0,8,29,0,9,154,84,7,83,0,8,125,0,8,61,0,9,218,82,7,23,0,8,109,0,8,45,0,9,186,0,8,13,0,8,141,0,8,77,0,9,250,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,198,81,7,11,0,8,99,0,8,35,0,9,166,0,8,3,0,8,131,0,8,67,0,9,230,80,7,7,0,8,91,0,8,27,0,9,150,84,7,67,0,8,123,0,8,59,0,9,214,82,7,19,0,8,107,0,8,43,0,9,182,0,8,11,0,8,139,0,8,75,0,9,246,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,206,81,7,15,0,8,103,0,8,39,0,9,174,0,8,7,0,8,135,0,8,71,0,9,238,80,7,9,0,8,95,0,8,31,0,9,158,84,7,99,0,8,127,0,8,63,0,9,222,82,7,27,0,8,111,0,8,47,0,9,190,0,8,15,0,8,143,0,8,79,0,9,254,96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,193,80,7,10,0,8,96,0,8,32,0,9,161,0,8,0,0,8,128,0,8,64,0,9,225,80,7,6,0,8,88,0,8,24,0,9,145,83,7,59,0,8,120,0,8,56,0,9,209,81,7,17,0,8,104,0,8,40,0,9,177,0,8,8,0,8,136,0,8,72,0,9,241,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,201,81,7,13,0,8,100,0,8,36,0,9,169,0,8,4,0,8,132,0,8,68,0,9,233,80,7,8,0,8,92,0,8,28,0,9,153,84,7,83,0,8,124,0,8,60,0,9,217,82,7,23,0,8,108,0,8,44,0,9,185,0,8,12,0,8,140,0,8,76,0,9,249,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,197,81,7,11,0,8,98,0,8,34,0,9,165,0,8,2,0,8,130,0,8,66,0,9,229,80,7,7,0,8,90,0,8,26,0,9,149,84,7,67,0,8,122,0,8,58,0,9,213,82,7,19,0,8,106,0,8,42,0,9,181,0,8,10,0,8,138,0,8,74,0,9,245,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,205,81,7,15,0,8,102,0,8,38,0,9,173,0,8,6,0,8,134,0,8,70,0,9,237,80,7,9,0,8,94,0,8,30,0,9,157,84,7,99,0,8,126,0,8,62,0,9,221,82,7,27,0,8,110,0,8,46,0,9,189,0,8,14,0,8,142,0,8,78,0,9,253,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,195,80,7,10,0,8,97,0,8,33,0,9,163,0,8,1,0,8,129,0,8,65,0,9,227,80,7,6,0,8,89,0,8,25,0,9,147,83,7,59,0,8,121,0,8,57,0,9,211,81,7,17,0,8,105,0,8,41,0,9,179,0,8,9,0,8,137,0,8,73,0,9,243,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,203,81,7,13,0,8,101,0,8,37,0,9,171,0,8,5,0,8,133,0,8,69,0,9,235,80,7,8,0,8,93,0,8,29,0,9,155,84,7,83,0,8,125,0,8,61,0,9,219,82,7,23,0,8,109,0,8,45,0,9,187,0,8,13,0,8,141,0,8,77,0,9,251,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,199,81,7,11,0,8,99,0,8,35,0,9,167,0,8,3,0,8,131,0,8,67,0,9,231,80,7,7,0,8,91,0,8,27,0,9,151,84,7,67,0,8,123,0,8,59,0,9,215,82,7,19,0,8,107,0,8,43,0,9,183,0,8,11,0,8,139,0,8,75,0,9,247,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,207,81,7,15,0,8,103,0,8,39,0,9,175,0,8,7,0,8,135,0,8,71,0,9,239,80,7,9,0,8,95,0,8,31,0,9,159,84,7,99,0,8,127,0,8,63,0,9,223,82,7,27,0,8,111,0,8,47,0,9,191,0,8,15,0,8,143,0,8,79,0,9,255],ft=[80,5,1,87,5,257,83,5,17,91,5,4097,81,5,5,89,5,1025,85,5,65,93,5,16385,80,5,3,88,5,513,84,5,33,92,5,8193,82,5,9,90,5,2049,86,5,129,192,5,24577,80,5,2,87,5,385,83,5,25,91,5,6145,81,5,7,89,5,1537,85,5,97,93,5,24577,80,5,4,88,5,769,84,5,49,92,5,12289,82,5,13,90,5,3073,86,5,193,192,5,24577],at=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],lt=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,112,112],ut=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],wt=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13];function ht(){let e,t,n,r,s,i;function o(e,t,o,c,f,a,l,u,w,h,d){let p,y,m,b,g,k,v,S,z,C,x,A,_,I,P;C=0,g=o;do{n[e[t+C]]++,C++,g--}while(0!==g);if(n[0]==o)return l[0]=-1,u[0]=0,0;for(S=u[0],k=1;15>=k&&0===n[k];k++);for(v=k,k>S&&(S=k),g=15;0!==g&&0===n[g];g--);for(m=g,S>g&&(S=g),u[0]=S,I=1<<k;g>k;k++,I<<=1)if(0>(I-=n[k]))return st;if(0>(I-=n[g]))return st;for(n[g]+=I,i[1]=k=0,C=1,_=2;0!==--g;)i[_]=k+=n[C],_++,C++;g=0,C=0;do{0!==(k=e[t+C])&&(d[i[k]++]=g),C++}while(++g<o);for(o=i[m],i[0]=g=0,C=0,b=-1,A=-S,s[0]=0,x=0,P=0;m>=v;v++)for(p=n[v];0!==p--;){for(;v>A+S;){if(b++,A+=S,P=m-A,P=P>S?S:P,(y=1<<(k=v-A))>p+1&&(y-=p+1,_=v,P>k))for(;++k<P&&(y<<=1)>n[++_];)y-=n[_];if(P=1<<k,h[0]+P>1440)return st;s[b]=x=h[0],h[0]+=P,0!==b?(i[b]=g,r[0]=k,r[1]=S,k=g>>>A-S,r[2]=x-s[b-1]-k,w.set(r,3*(s[b-1]+k))):l[0]=x}for(r[1]=v-A,o>C?d[C]<c?(r[0]=256>d[C]?0:96,r[2]=d[C++]):(r[0]=a[d[C]-c]+16+64,r[2]=f[d[C++]-c]):r[0]=192,y=1<<v-A,k=g>>>A;P>k;k+=y)w.set(r,3*(x+k));for(k=1<<v-1;0!==(g&k);k>>>=1)g^=k;for(g^=k,z=(1<<A)-1;(g&z)!=i[b];)b--,A-=S,z=(1<<A)-1}return 0!==I&&1!=m?it:0}function c(o){let c;for(e||(e=[],t=[],n=new f(16),r=[],s=new f(15),i=new f(16)),t.length<o&&(t=[]),c=0;o>c;c++)t[c]=0;for(c=0;16>c;c++)n[c]=0;for(c=0;3>c;c++)r[c]=0;s.set(n.subarray(0,15),0),i.set(n.subarray(0,16),0)}this.st=(n,r,s,i,f)=>{let a;return c(19),e[0]=0,a=o(n,0,19,19,null,null,s,r,i,e,t),a==st?f.Le="oversubscribed dynamic bit lengths tree":a!=it&&0!==r[0]||(f.Le="incomplete dynamic bit lengths tree",a=st),a},this.it=(n,r,s,i,f,a,l,u,w)=>{let h;return c(288),e[0]=0,h=o(s,0,n,257,at,lt,a,i,u,e,t),0!=h||0===i[0]?(h==st?w.Le="oversubscribed literal/length tree":-4!=h&&(w.Le="incomplete literal/length tree",h=st),h):(c(288),h=o(s,n,r,0,ut,wt,l,f,u,e,t),0!=h||0===f[0]&&n>257?(h==st?w.Le="oversubscribed distance tree":h==it?(w.Le="incomplete distance tree",h=st):-4!=h&&(w.Le="empty distance tree with lengths",h=st),h):0)}}function dt(){const e=this;let t,n,r,s,i=0,o=0,c=0,f=0,a=0,l=0,u=0,w=0,h=0,d=0;function p(e,t,n,r,s,i,o,c){let f,a,l,u,w,h,d,p,y,m,b,g,k,v,S,z;d=c.nt,p=c.We,w=o.ot,h=o.ct,y=o.write,m=y<o.read?o.read-y-1:o.end-y,b=ot[e],g=ot[t];do{for(;20>h;)p--,w|=(255&c.ft(d++))<<h,h+=8;if(f=w&b,a=n,l=r,z=3*(l+f),0!==(u=a[z]))for(;;){if(w>>=a[z+1],h-=a[z+1],16&u){for(u&=15,k=a[z+2]+(w&ot[u]),w>>=u,h-=u;15>h;)p--,w|=(255&c.ft(d++))<<h,h+=8;for(f=w&g,a=s,l=i,z=3*(l+f),u=a[z];;){if(w>>=a[z+1],h-=a[z+1],16&u){for(u&=15;u>h;)p--,w|=(255&c.ft(d++))<<h,h+=8;if(v=a[z+2]+(w&ot[u]),w>>=u,h-=u,m-=k,v>y){S=y-v;do{S+=o.end}while(0>S);if(u=o.end-S,k>u){if(k-=u,y-S>0&&u>y-S)do{o.lt[y++]=o.lt[S++]}while(0!==--u);else o.lt.set(o.lt.subarray(S,S+u),y),y+=u,S+=u,u=0;S=0}}else S=y-v,y-S>0&&2>y-S?(o.lt[y++]=o.lt[S++],o.lt[y++]=o.lt[S++],k-=2):(o.lt.set(o.lt.subarray(S,S+2),y),y+=2,S+=2,k-=2);if(y-S>0&&k>y-S)do{o.lt[y++]=o.lt[S++]}while(0!==--k);else o.lt.set(o.lt.subarray(S,S+k),y),y+=k,S+=k,k=0;break}if(64&u)return c.Le="invalid distance code",k=c.We-p,k=k>h>>3?h>>3:k,p+=k,d-=k,h-=k<<3,o.ot=w,o.ct=h,c.We=p,c.qe+=d-c.nt,c.nt=d,o.write=y,st;f+=a[z+2],f+=w&ot[u],z=3*(l+f),u=a[z]}break}if(64&u)return 32&u?(k=c.We-p,k=k>h>>3?h>>3:k,p+=k,d-=k,h-=k<<3,o.ot=w,o.ct=h,c.We=p,c.qe+=d-c.nt,c.nt=d,o.write=y,1):(c.Le="invalid literal/length code",k=c.We-p,k=k>h>>3?h>>3:k,p+=k,d-=k,h-=k<<3,o.ot=w,o.ct=h,c.We=p,c.qe+=d-c.nt,c.nt=d,o.write=y,st);if(f+=a[z+2],f+=w&ot[u],z=3*(l+f),0===(u=a[z])){w>>=a[z+1],h-=a[z+1],o.lt[y++]=a[z+2],m--;break}}else w>>=a[z+1],h-=a[z+1],o.lt[y++]=a[z+2],m--}while(m>=258&&p>=10);return k=c.We-p,k=k>h>>3?h>>3:k,p+=k,d-=k,h-=k<<3,o.ot=w,o.ct=h,c.We=p,c.qe+=d-c.nt,c.nt=d,o.write=y,0}e.init=(e,i,o,c,f,a)=>{t=0,u=e,w=i,r=o,h=c,s=f,d=a,n=null},e.ut=(e,y,m)=>{let b,g,k,v,S,z,C,x=0,A=0,_=0;for(_=y.nt,v=y.We,x=e.ot,A=e.ct,S=e.write,z=S<e.read?e.read-S-1:e.end-S;;)switch(t){case 0:if(z>=258&&v>=10&&(e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,m=p(u,w,r,h,s,d,e,y),_=y.nt,v=y.We,x=e.ot,A=e.ct,S=e.write,z=S<e.read?e.read-S-1:e.end-S,0!=m)){t=1==m?7:9;break}c=u,n=r,o=h,t=1;case 1:for(b=c;b>A;){if(0===v)return e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);m=0,v--,x|=(255&y.ft(_++))<<A,A+=8}if(g=3*(o+(x&ot[b])),x>>>=n[g+1],A-=n[g+1],k=n[g],0===k){f=n[g+2],t=6;break}if(16&k){a=15&k,i=n[g+2],t=2;break}if(!(64&k)){c=k,o=g/3+n[g+2];break}if(32&k){t=7;break}return t=9,y.Le="invalid literal/length code",m=st,e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);case 2:for(b=a;b>A;){if(0===v)return e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);m=0,v--,x|=(255&y.ft(_++))<<A,A+=8}i+=x&ot[b],x>>=b,A-=b,c=w,n=s,o=d,t=3;case 3:for(b=c;b>A;){if(0===v)return e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);m=0,v--,x|=(255&y.ft(_++))<<A,A+=8}if(g=3*(o+(x&ot[b])),x>>=n[g+1],A-=n[g+1],k=n[g],16&k){a=15&k,l=n[g+2],t=4;break}if(!(64&k)){c=k,o=g/3+n[g+2];break}return t=9,y.Le="invalid distance code",m=st,e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);case 4:for(b=a;b>A;){if(0===v)return e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);m=0,v--,x|=(255&y.ft(_++))<<A,A+=8}l+=x&ot[b],x>>=b,A-=b,t=5;case 5:for(C=S-l;0>C;)C+=e.end;for(;0!==i;){if(0===z&&(S==e.end&&0!==e.read&&(S=0,z=S<e.read?e.read-S-1:e.end-S),0===z&&(e.write=S,m=e.wt(y,m),S=e.write,z=S<e.read?e.read-S-1:e.end-S,S==e.end&&0!==e.read&&(S=0,z=S<e.read?e.read-S-1:e.end-S),0===z)))return e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);e.lt[S++]=e.lt[C++],z--,C==e.end&&(C=0),i--}t=0;break;case 6:if(0===z&&(S==e.end&&0!==e.read&&(S=0,z=S<e.read?e.read-S-1:e.end-S),0===z&&(e.write=S,m=e.wt(y,m),S=e.write,z=S<e.read?e.read-S-1:e.end-S,S==e.end&&0!==e.read&&(S=0,z=S<e.read?e.read-S-1:e.end-S),0===z)))return e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);m=0,e.lt[S++]=f,z--,t=0;break;case 7:if(A>7&&(A-=8,v++,_--),e.write=S,m=e.wt(y,m),S=e.write,z=S<e.read?e.read-S-1:e.end-S,e.read!=e.write)return e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);t=8;case 8:return m=1,e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);case 9:return m=st,e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);default:return m=rt,e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m)}},e.ht=()=>{}}ht.dt=(e,t,n,r)=>(e[0]=9,t[0]=5,n[0]=ct,r[0]=ft,0);const pt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];function yt(e,t){const n=this;let r,s=0,o=0,c=0,a=0;const l=[0],u=[0],w=new dt;let h=0,d=new f(4320);const p=new ht;n.ct=0,n.ot=0,n.lt=new i(t),n.end=t,n.read=0,n.write=0,n.reset=(e,t)=>{t&&(t[0]=0),6==s&&w.ht(e),s=0,n.ct=0,n.ot=0,n.read=n.write=0},n.reset(e,null),n.wt=(e,t)=>{let r,s,i;return s=e.rt,i=n.read,r=(i>n.write?n.end:n.write)-i,r>e.tt&&(r=e.tt),0!==r&&t==it&&(t=0),e.tt-=r,e.Ge+=r,e.$e.set(n.lt.subarray(i,i+r),s),s+=r,i+=r,i==n.end&&(i=0,n.write==n.end&&(n.write=0),r=n.write-i,r>e.tt&&(r=e.tt),0!==r&&t==it&&(t=0),e.tt-=r,e.Ge+=r,e.$e.set(n.lt.subarray(i,i+r),s),s+=r,i+=r),e.rt=s,n.read=i,t},n.ut=(e,t)=>{let i,f,y,m,b,g,k,v;for(m=e.nt,b=e.We,f=n.ot,y=n.ct,g=n.write,k=g<n.read?n.read-g-1:n.end-g;;){let S,z,C,x,A,_,I,P;switch(s){case 0:for(;3>y;){if(0===b)return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);t=0,b--,f|=(255&e.ft(m++))<<y,y+=8}switch(i=7&f,h=1&i,i>>>1){case 0:f>>>=3,y-=3,i=7&y,f>>>=i,y-=i,s=1;break;case 1:S=[],z=[],C=[[]],x=[[]],ht.dt(S,z,C,x),w.init(S[0],z[0],C[0],0,x[0],0),f>>>=3,y-=3,s=6;break;case 2:f>>>=3,y-=3,s=3;break;case 3:return f>>>=3,y-=3,s=9,e.Le="invalid block type",t=st,n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t)}break;case 1:for(;32>y;){if(0===b)return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);t=0,b--,f|=(255&e.ft(m++))<<y,y+=8}if((~f>>>16&65535)!=(65535&f))return s=9,e.Le="invalid stored block lengths",t=st,n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);o=65535&f,f=y=0,s=0!==o?2:0!==h?7:0;break;case 2:if(0===b)return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);if(0===k&&(g==n.end&&0!==n.read&&(g=0,k=g<n.read?n.read-g-1:n.end-g),0===k&&(n.write=g,t=n.wt(e,t),g=n.write,k=g<n.read?n.read-g-1:n.end-g,g==n.end&&0!==n.read&&(g=0,k=g<n.read?n.read-g-1:n.end-g),0===k)))return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);if(t=0,i=o,i>b&&(i=b),i>k&&(i=k),n.lt.set(e.je(m,i),g),m+=i,b-=i,g+=i,k-=i,0!==(o-=i))break;s=0!==h?7:0;break;case 3:for(;14>y;){if(0===b)return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);t=0,b--,f|=(255&e.ft(m++))<<y,y+=8}if(c=i=16383&f,(31&i)>29||(i>>5&31)>29)return s=9,e.Le="too many length or distance symbols",t=st,n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);if(i=258+(31&i)+(i>>5&31),!r||r.length<i)r=[];else for(v=0;i>v;v++)r[v]=0;f>>>=14,y-=14,a=0,s=4;case 4:for(;4+(c>>>10)>a;){for(;3>y;){if(0===b)return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);t=0,b--,f|=(255&e.ft(m++))<<y,y+=8}r[pt[a++]]=7&f,f>>>=3,y-=3}for(;19>a;)r[pt[a++]]=0;if(l[0]=7,i=p.st(r,l,u,d,e),0!=i)return(t=i)==st&&(r=null,s=9),n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);a=0,s=5;case 5:for(;i=c,258+(31&i)+(i>>5&31)>a;){let o,w;for(i=l[0];i>y;){if(0===b)return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);t=0,b--,f|=(255&e.ft(m++))<<y,y+=8}if(i=d[3*(u[0]+(f&ot[i]))+1],w=d[3*(u[0]+(f&ot[i]))+2],16>w)f>>>=i,y-=i,r[a++]=w;else{for(v=18==w?7:w-14,o=18==w?11:3;i+v>y;){if(0===b)return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);t=0,b--,f|=(255&e.ft(m++))<<y,y+=8}if(f>>>=i,y-=i,o+=f&ot[v],f>>>=v,y-=v,v=a,i=c,v+o>258+(31&i)+(i>>5&31)||16==w&&1>v)return r=null,s=9,e.Le="invalid bit length repeat",t=st,n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);w=16==w?r[v-1]:0;do{r[v++]=w}while(0!==--o);a=v}}if(u[0]=-1,A=[],_=[],I=[],P=[],A[0]=9,_[0]=6,i=c,i=p.it(257+(31&i),1+(i>>5&31),r,A,_,I,P,d,e),0!=i)return i==st&&(r=null,s=9),t=i,n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);w.init(A[0],_[0],d,I[0],d,P[0]),s=6;case 6:if(n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,1!=(t=w.ut(n,e,t)))return n.wt(e,t);if(t=0,w.ht(e),m=e.nt,b=e.We,f=n.ot,y=n.ct,g=n.write,k=g<n.read?n.read-g-1:n.end-g,0===h){s=0;break}s=7;case 7:if(n.write=g,t=n.wt(e,t),g=n.write,k=g<n.read?n.read-g-1:n.end-g,n.read!=n.write)return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);s=8;case 8:return t=1,n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);case 9:return t=st,n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);default:return t=rt,n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t)}}},n.ht=e=>{n.reset(e,null),n.lt=null,d=null},n.yt=(e,t,r)=>{n.lt.set(e.subarray(t,t+r),0),n.read=n.write=r},n.bt=()=>1==s?1:0}const mt=13,bt=[0,0,255,255];function gt(){const e=this;function t(e){return e&&e.gt?(e.qe=e.Ge=0,e.Le=null,e.gt.mode=7,e.gt.kt.reset(e,null),0):rt}e.mode=0,e.method=0,e.vt=[0],e.St=0,e.marker=0,e.zt=0,e.Ct=t=>(e.kt&&e.kt.ht(t),e.kt=null,0),e.xt=(n,r)=>(n.Le=null,e.kt=null,8>r||r>15?(e.Ct(n),rt):(e.zt=r,n.gt.kt=new yt(n,1<<r),t(n),0)),e.At=(e,t)=>{let n,r;if(!e||!e.gt||!e.et)return rt;const s=e.gt;for(t=4==t?it:0,n=it;;)switch(s.mode){case 0:if(0===e.We)return n;if(n=t,e.We--,e.qe++,8!=(15&(s.method=e.ft(e.nt++)))){s.mode=mt,e.Le="unknown compression method",s.marker=5;break}if(8+(s.method>>4)>s.zt){s.mode=mt,e.Le="invalid win size",s.marker=5;break}s.mode=1;case 1:if(0===e.We)return n;if(n=t,e.We--,e.qe++,r=255&e.ft(e.nt++),((s.method<<8)+r)%31!=0){s.mode=mt,e.Le="incorrect header check",s.marker=5;break}if(!(32&r)){s.mode=7;break}s.mode=2;case 2:if(0===e.We)return n;n=t,e.We--,e.qe++,s.St=(255&e.ft(e.nt++))<<24&4278190080,s.mode=3;case 3:if(0===e.We)return n;n=t,e.We--,e.qe++,s.St+=(255&e.ft(e.nt++))<<16&16711680,s.mode=4;case 4:if(0===e.We)return n;n=t,e.We--,e.qe++,s.St+=(255&e.ft(e.nt++))<<8&65280,s.mode=5;case 5:return 0===e.We?n:(n=t,e.We--,e.qe++,s.St+=255&e.ft(e.nt++),s.mode=6,2);case 6:return s.mode=mt,e.Le="need dictionary",s.marker=0,rt;case 7:if(n=s.kt.ut(e,n),n==st){s.mode=mt,s.marker=0;break}if(0==n&&(n=t),1!=n)return n;n=t,s.kt.reset(e,s.vt),s.mode=12;case 12:return e.We=0,1;case mt:return st;default:return rt}},e._t=(e,t,n)=>{let r=0,s=n;if(!e||!e.gt||6!=e.gt.mode)return rt;const i=e.gt;return s<1<<i.zt||(s=(1<<i.zt)-1,r=n-s),i.kt.yt(t,r,s),i.mode=7,0},e.It=e=>{let n,r,s,i,o;if(!e||!e.gt)return rt;const c=e.gt;if(c.mode!=mt&&(c.mode=mt,c.marker=0),0===(n=e.We))return it;for(r=e.nt,s=c.marker;0!==n&&4>s;)e.ft(r)==bt[s]?s++:s=0!==e.ft(r)?0:4-s,r++,n--;return e.qe+=r-e.nt,e.nt=r,e.We=n,c.marker=s,4!=s?st:(i=e.qe,o=e.Ge,t(e),e.qe=i,e.Ge=o,c.mode=7,0)},e.Pt=e=>e&&e.gt&&e.gt.kt?e.gt.kt.bt():rt}function kt(){}function vt(e){const t=new kt,n=e&&e.chunkSize?r.floor(2*e.chunkSize):131072,o=new i(n);let c=!1;t.xt(),t.$e=o,this.append=(e,r)=>{const f=[];let a,l,u=0,w=0,h=0;if(0!==e.length){t.nt=0,t.et=e,t.We=e.length;do{if(t.rt=0,t.tt=n,0!==t.We||c||(t.nt=0,c=!0),a=t.At(0),c&&a===it){if(0!==t.We)throw new s("inflating: bad input")}else if(0!==a&&1!==a)throw new s("inflating: "+t.Le);if((c||1===a)&&t.We===e.length)throw new s("inflating: bad input");t.rt&&(t.rt===n?f.push(new i(o)):f.push(o.subarray(0,t.rt))),h+=t.rt,r&&t.nt>0&&t.nt!=u&&(r(t.nt),u=t.nt)}while(t.We>0||0===t.tt);return f.length>1?(l=new i(h),f.forEach((e=>{l.set(e,w),w+=e.length}))):l=f[0]?new i(f[0]):new i,l}},this.flush=()=>{t.Ct()}}kt.prototype={xt(e){const t=this;return t.gt=new gt,e||(e=15),t.gt.xt(t,e)},At(e){const t=this;return t.gt?t.gt.At(t,e):rt},Ct(){const e=this;if(!e.gt)return rt;const t=e.gt.Ct(e);return e.gt=null,t},It(){const e=this;return e.gt?e.gt.It(e):rt},_t(e,t){const n=this;return n.gt?n.gt._t(n,e,t):rt},ft(e){return this.et[e]},je(e,t){return this.et.subarray(e,e+t)}},self.initCodec=()=>{self.Deflate=nt,self.Inflate=vt};
236057
+ const t = `const{Array:e,Object:t,Number:n,Math:r,Error:s,Uint8Array:i,Uint16Array:o,Uint32Array:c,Int32Array:f,Map:a,DataView:l,Promise:u,TextEncoder:w,crypto:h,postMessage:d,TransformStream:p,ReadableStream:y,WritableStream:m,CompressionStream:b,DecompressionStream:g}=self,k=void 0,v="undefined",S="function";class z{constructor(e){return class extends p{constructor(t,n){const r=new e(n);super({transform(e,t){t.enqueue(r.append(e))},flush(e){const t=r.flush();t&&e.enqueue(t)}})}}}}const C=[];for(let e=0;256>e;e++){let t=e;for(let e=0;8>e;e++)1&t?t=t>>>1^3988292384:t>>>=1;C[e]=t}class x{constructor(e){this.t=e||-1}append(e){let t=0|this.t;for(let n=0,r=0|e.length;r>n;n++)t=t>>>8^C[255&(t^e[n])];this.t=t}get(){return~this.t}}class A extends p{constructor(){let e;const t=new x;super({transform(e,n){t.append(e),n.enqueue(e)},flush(){const n=new i(4);new l(n.buffer).setUint32(0,t.get()),e.value=n}}),e=this}}const _={concat(e,t){if(0===e.length||0===t.length)return e.concat(t);const n=e[e.length-1],r=_.i(n);return 32===r?e.concat(t):_.o(t,r,0|n,e.slice(0,e.length-1))},l(e){const t=e.length;if(0===t)return 0;const n=e[t-1];return 32*(t-1)+_.i(n)},u(e,t){if(32*e.length<t)return e;const n=(e=e.slice(0,r.ceil(t/32))).length;return t&=31,n>0&&t&&(e[n-1]=_.h(t,e[n-1]&2147483648>>t-1,1)),e},h:(e,t,n)=>32===e?t:(n?0|t:t<<32-e)+1099511627776*e,i:e=>r.round(e/1099511627776)||32,o(e,t,n,r){for(void 0===r&&(r=[]);t>=32;t-=32)r.push(n),n=0;if(0===t)return r.concat(e);for(let s=0;s<e.length;s++)r.push(n|e[s]>>>t),n=e[s]<<32-t;const s=e.length?e[e.length-1]:0,i=_.i(s);return r.push(_.h(t+i&31,t+i>32?n:r.pop(),1)),r}},I={bytes:{p(e){const t=_.l(e)/8,n=new i(t);let r;for(let s=0;t>s;s++)3&s||(r=e[s/4]),n[s]=r>>>24,r<<=8;return n},m(e){const t=[];let n,r=0;for(n=0;n<e.length;n++)r=r<<8|e[n],3&~n||(t.push(r),r=0);return 3&n&&t.push(_.h(8*(3&n),r)),t}}},P=class{constructor(e){const t=this;t.blockSize=512,t.k=[1732584193,4023233417,2562383102,271733878,3285377520],t.v=[1518500249,1859775393,2400959708,3395469782],e?(t.S=e.S.slice(0),t.C=e.C.slice(0),t.A=e.A):t.reset()}reset(){const e=this;return e.S=e.k.slice(0),e.C=[],e.A=0,e}update(e){const t=this;"string"==typeof e&&(e=I._.m(e));const n=t.C=_.concat(t.C,e),r=t.A,i=t.A=r+_.l(e);if(i>9007199254740991)throw new s("Cannot hash more than 2^53 - 1 bits");const o=new c(n);let f=0;for(let e=t.blockSize+r-(t.blockSize+r&t.blockSize-1);i>=e;e+=t.blockSize)t.I(o.subarray(16*f,16*(f+1))),f+=1;return n.splice(0,16*f),t}P(){const e=this;let t=e.C;const n=e.S;t=_.concat(t,[_.h(1,1)]);for(let e=t.length+2;15&e;e++)t.push(0);for(t.push(r.floor(e.A/4294967296)),t.push(0|e.A);t.length;)e.I(t.splice(0,16));return e.reset(),n}D(e,t,n,r){return e>19?e>39?e>59?e>79?void 0:t^n^r:t&n|t&r|n&r:t^n^r:t&n|~t&r}V(e,t){return t<<e|t>>>32-e}I(t){const n=this,s=n.S,i=e(80);for(let e=0;16>e;e++)i[e]=t[e];let o=s[0],c=s[1],f=s[2],a=s[3],l=s[4];for(let e=0;79>=e;e++){16>e||(i[e]=n.V(1,i[e-3]^i[e-8]^i[e-14]^i[e-16]));const t=n.V(5,o)+n.D(e,c,f,a)+l+i[e]+n.v[r.floor(e/20)]|0;l=a,a=f,f=n.V(30,c),c=o,o=t}s[0]=s[0]+o|0,s[1]=s[1]+c|0,s[2]=s[2]+f|0,s[3]=s[3]+a|0,s[4]=s[4]+l|0}},D={getRandomValues(e){const t=new c(e.buffer),n=e=>{let t=987654321;const n=4294967295;return()=>(t=36969*(65535&t)+(t>>16)&n,(((t<<16)+(e=18e3*(65535&e)+(e>>16)&n)&n)/4294967296+.5)*(r.random()>.5?1:-1))};for(let s,i=0;i<e.length;i+=4){const e=n(4294967296*(s||r.random()));s=987654071*e(),t[i/4]=4294967296*e()|0}return e}},V={importKey:e=>new V.R(I.bytes.m(e)),B(e,t,n,r){if(n=n||1e4,0>r||0>n)throw new s("invalid params to pbkdf2");const i=1+(r>>5)<<2;let o,c,f,a,u;const w=new ArrayBuffer(i),h=new l(w);let d=0;const p=_;for(t=I.bytes.m(t),u=1;(i||1)>d;u++){for(o=c=e.encrypt(p.concat(t,[u])),f=1;n>f;f++)for(c=e.encrypt(c),a=0;a<c.length;a++)o[a]^=c[a];for(f=0;(i||1)>d&&f<o.length;f++)h.setInt32(d,o[f]),d+=4}return w.slice(0,r/8)},R:class{constructor(e){const t=this,n=t.M=P,r=[[],[]];t.U=[new n,new n];const s=t.U[0].blockSize/32;e.length>s&&(e=(new n).update(e).P());for(let t=0;s>t;t++)r[0][t]=909522486^e[t],r[1][t]=1549556828^e[t];t.U[0].update(r[0]),t.U[1].update(r[1]),t.K=new n(t.U[0])}reset(){const e=this;e.K=new e.M(e.U[0]),e.N=!1}update(e){this.N=!0,this.K.update(e)}digest(){const e=this,t=e.K.P(),n=new e.M(e.U[1]).update(t).P();return e.reset(),n}encrypt(e){if(this.N)throw new s("encrypt on already updated hmac called!");return this.update(e),this.digest(e)}}},R=typeof h!=v&&typeof h.getRandomValues==S,B="Invalid password",E="Invalid signature",M="zipjs-abort-check-password";function U(e){return R?h.getRandomValues(e):D.getRandomValues(e)}const K=16,N={name:"PBKDF2"},O=t.assign({hash:{name:"HMAC"}},N),T=t.assign({iterations:1e3,hash:{name:"SHA-1"}},N),W=["deriveBits"],j=[8,12,16],H=[16,24,32],L=10,F=[0,0,0,0],q=typeof h!=v,G=q&&h.subtle,J=q&&typeof G!=v,Q=I.bytes,X=class{constructor(e){const t=this;t.O=[[[],[],[],[],[]],[[],[],[],[],[]]],t.O[0][0][0]||t.T();const n=t.O[0][4],r=t.O[1],i=e.length;let o,c,f,a=1;if(4!==i&&6!==i&&8!==i)throw new s("invalid aes key size");for(t.v=[c=e.slice(0),f=[]],o=i;4*i+28>o;o++){let e=c[o-1];(o%i===0||8===i&&o%i===4)&&(e=n[e>>>24]<<24^n[e>>16&255]<<16^n[e>>8&255]<<8^n[255&e],o%i===0&&(e=e<<8^e>>>24^a<<24,a=a<<1^283*(a>>7))),c[o]=c[o-i]^e}for(let e=0;o;e++,o--){const t=c[3&e?o:o-4];f[e]=4>=o||4>e?t:r[0][n[t>>>24]]^r[1][n[t>>16&255]]^r[2][n[t>>8&255]]^r[3][n[255&t]]}}encrypt(e){return this.W(e,0)}decrypt(e){return this.W(e,1)}T(){const e=this.O[0],t=this.O[1],n=e[4],r=t[4],s=[],i=[];let o,c,f,a;for(let e=0;256>e;e++)i[(s[e]=e<<1^283*(e>>7))^e]=e;for(let l=o=0;!n[l];l^=c||1,o=i[o]||1){let i=o^o<<1^o<<2^o<<3^o<<4;i=i>>8^255&i^99,n[l]=i,r[i]=l,a=s[f=s[c=s[l]]];let u=16843009*a^65537*f^257*c^16843008*l,w=257*s[i]^16843008*i;for(let n=0;4>n;n++)e[n][l]=w=w<<24^w>>>8,t[n][i]=u=u<<24^u>>>8}for(let n=0;5>n;n++)e[n]=e[n].slice(0),t[n]=t[n].slice(0)}W(e,t){if(4!==e.length)throw new s("invalid aes block size");const n=this.v[t],r=n.length/4-2,i=[0,0,0,0],o=this.O[t],c=o[0],f=o[1],a=o[2],l=o[3],u=o[4];let w,h,d,p=e[0]^n[0],y=e[t?3:1]^n[1],m=e[2]^n[2],b=e[t?1:3]^n[3],g=4;for(let e=0;r>e;e++)w=c[p>>>24]^f[y>>16&255]^a[m>>8&255]^l[255&b]^n[g],h=c[y>>>24]^f[m>>16&255]^a[b>>8&255]^l[255&p]^n[g+1],d=c[m>>>24]^f[b>>16&255]^a[p>>8&255]^l[255&y]^n[g+2],b=c[b>>>24]^f[p>>16&255]^a[y>>8&255]^l[255&m]^n[g+3],g+=4,p=w,y=h,m=d;for(let e=0;4>e;e++)i[t?3&-e:e]=u[p>>>24]<<24^u[y>>16&255]<<16^u[m>>8&255]<<8^u[255&b]^n[g++],w=p,p=y,y=m,m=b,b=w;return i}},Y=class{constructor(e,t){this.j=e,this.H=t,this.L=t}reset(){this.L=this.H}update(e){return this.F(this.j,e,this.L)}q(e){if(255&~(e>>24))e+=1<<24;else{let t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}return e}G(e){0===(e[0]=this.q(e[0]))&&(e[1]=this.q(e[1]))}F(e,t,n){let r;if(!(r=t.length))return[];const s=_.l(t);for(let s=0;r>s;s+=4){this.G(n);const r=e.encrypt(n);t[s]^=r[0],t[s+1]^=r[1],t[s+2]^=r[2],t[s+3]^=r[3]}return _.u(t,s)}},Z=V.R;let $=q&&J&&typeof G.importKey==S,ee=q&&J&&typeof G.deriveBits==S;class te extends p{constructor({password:e,rawPassword:n,signed:r,encryptionStrength:o,checkPasswordOnly:c}){super({start(){t.assign(this,{ready:new u(e=>this.J=e),password:ie(e,n),signed:r,X:o-1,pending:new i})},async transform(e,t){const n=this,{password:r,X:o,J:f,ready:a}=n;r?(await(async(e,t,n,r)=>{const i=await se(e,t,n,ce(r,0,j[t])),o=ce(r,j[t]);if(i[0]!=o[0]||i[1]!=o[1])throw new s(B)})(n,o,r,ce(e,0,j[o]+2)),e=ce(e,j[o]+2),c?t.error(new s(M)):f()):await a;const l=new i(e.length-L-(e.length-L)%K);t.enqueue(re(n,e,l,0,L,!0))},async flush(e){const{signed:t,Y:n,Z:r,pending:o,ready:c}=this;if(r&&n){await c;const f=ce(o,0,o.length-L),a=ce(o,o.length-L);let l=new i;if(f.length){const e=ae(Q,f);r.update(e);const t=n.update(e);l=fe(Q,t)}if(t){const e=ce(fe(Q,r.digest()),0,L);for(let t=0;L>t;t++)if(e[t]!=a[t])throw new s(E)}e.enqueue(l)}}})}}class ne extends p{constructor({password:e,rawPassword:n,encryptionStrength:r}){let s;super({start(){t.assign(this,{ready:new u(e=>this.J=e),password:ie(e,n),X:r-1,pending:new i})},async transform(e,t){const n=this,{password:r,X:s,J:o,ready:c}=n;let f=new i;r?(f=await(async(e,t,n)=>{const r=U(new i(j[t]));return oe(r,await se(e,t,n,r))})(n,s,r),o()):await c;const a=new i(f.length+e.length-e.length%K);a.set(f,0),t.enqueue(re(n,e,a,f.length,0))},async flush(e){const{Y:t,Z:n,pending:r,ready:o}=this;if(n&&t){await o;let c=new i;if(r.length){const e=t.update(ae(Q,r));n.update(e),c=fe(Q,e)}s.signature=fe(Q,n.digest()).slice(0,L),e.enqueue(oe(c,s.signature))}}}),s=this}}function re(e,t,n,r,s,o){const{Y:c,Z:f,pending:a}=e,l=t.length-s;let u;for(a.length&&(t=oe(a,t),n=((e,t)=>{if(t&&t>e.length){const n=e;(e=new i(t)).set(n,0)}return e})(n,l-l%K)),u=0;l-K>=u;u+=K){const e=ae(Q,ce(t,u,u+K));o&&f.update(e);const s=c.update(e);o||f.update(s),n.set(fe(Q,s),u+r)}return e.pending=ce(t,u),n}async function se(n,r,s,o){n.password=null;const c=await(async(e,t,n,r,s)=>{if(!$)return V.importKey(t);try{return await G.importKey("raw",t,n,!1,s)}catch(e){return $=!1,V.importKey(t)}})(0,s,O,0,W),f=await(async(e,t,n)=>{if(!ee)return V.B(t,e.salt,T.iterations,n);try{return await G.deriveBits(e,t,n)}catch(r){return ee=!1,V.B(t,e.salt,T.iterations,n)}})(t.assign({salt:o},T),c,8*(2*H[r]+2)),a=new i(f),l=ae(Q,ce(a,0,H[r])),u=ae(Q,ce(a,H[r],2*H[r])),w=ce(a,2*H[r]);return t.assign(n,{keys:{key:l,$:u,passwordVerification:w},Y:new Y(new X(l),e.from(F)),Z:new Z(u)}),w}function ie(e,t){return t===k?(e=>{if(typeof w==v){const t=new i((e=unescape(encodeURIComponent(e))).length);for(let n=0;n<t.length;n++)t[n]=e.charCodeAt(n);return t}return(new w).encode(e)})(e):t}function oe(e,t){let n=e;return e.length+t.length&&(n=new i(e.length+t.length),n.set(e,0),n.set(t,e.length)),n}function ce(e,t,n){return e.subarray(t,n)}function fe(e,t){return e.p(t)}function ae(e,t){return e.m(t)}class le extends p{constructor({password:e,passwordVerification:n,checkPasswordOnly:r}){super({start(){t.assign(this,{password:e,passwordVerification:n}),de(this,e)},transform(e,t){const n=this;if(n.password){const t=we(n,e.subarray(0,12));if(n.password=null,t[11]!=n.passwordVerification)throw new s(B);e=e.subarray(12)}r?t.error(new s(M)):t.enqueue(we(n,e))}})}}class ue extends p{constructor({password:e,passwordVerification:n}){super({start(){t.assign(this,{password:e,passwordVerification:n}),de(this,e)},transform(e,t){const n=this;let r,s;if(n.password){n.password=null;const t=U(new i(12));t[11]=n.passwordVerification,r=new i(e.length+t.length),r.set(he(n,t),0),s=12}else r=new i(e.length),s=0;r.set(he(n,e),s),t.enqueue(r)}})}}function we(e,t){const n=new i(t.length);for(let r=0;r<t.length;r++)n[r]=ye(e)^t[r],pe(e,n[r]);return n}function he(e,t){const n=new i(t.length);for(let r=0;r<t.length;r++)n[r]=ye(e)^t[r],pe(e,t[r]);return n}function de(e,n){const r=[305419896,591751049,878082192];t.assign(e,{keys:r,ee:new x(r[0]),te:new x(r[2])});for(let t=0;t<n.length;t++)pe(e,n.charCodeAt(t))}function pe(e,t){let[n,s,i]=e.keys;e.ee.append([t]),n=~e.ee.get(),s=be(r.imul(be(s+me(n)),134775813)+1),e.te.append([s>>>24]),i=~e.te.get(),e.keys=[n,s,i]}function ye(e){const t=2|e.keys[2];return me(r.imul(t,1^t)>>>8)}function me(e){return 255&e}function be(e){return 4294967295&e}const ge="deflate-raw";class ke extends p{constructor(e,{chunkSize:t,CompressionStream:n,CompressionStreamNative:r}){super({});const{compressed:s,encrypted:i,useCompressionStream:o,zipCrypto:c,signed:f,level:a}=e,u=this;let w,h,d=Se(super.readable);i&&!c||!f||(w=new A,d=xe(d,w)),s&&(d=Ce(d,o,{level:a,chunkSize:t},r,n)),i&&(c?d=xe(d,new ue(e)):(h=new ne(e),d=xe(d,h))),ze(u,d,()=>{let e;i&&!c&&(e=h.signature),i&&!c||!f||(e=new l(w.value.buffer).getUint32(0)),u.signature=e})}}class ve extends p{constructor(e,{chunkSize:t,DecompressionStream:n,DecompressionStreamNative:r}){super({});const{zipCrypto:i,encrypted:o,signed:c,signature:f,compressed:a,useCompressionStream:u}=e;let w,h,d=Se(super.readable);o&&(i?d=xe(d,new le(e)):(h=new te(e),d=xe(d,h))),a&&(d=Ce(d,u,{chunkSize:t},r,n)),o&&!i||!c||(w=new A,d=xe(d,w)),ze(this,d,()=>{if((!o||i)&&c){const e=new l(w.value.buffer);if(f!=e.getUint32(0,!1))throw new s(E)}})}}function Se(e){return xe(e,new p({transform(e,t){e&&e.length&&t.enqueue(e)}}))}function ze(e,n,r){n=xe(n,new p({flush:r})),t.defineProperty(e,"readable",{get:()=>n})}function Ce(e,t,n,r,s){try{e=xe(e,new(t&&r?r:s)(ge,n))}catch(r){if(!t)return e;try{e=xe(e,new s(ge,n))}catch(t){return e}}return e}function xe(e,t){return e.pipeThrough(t)}const Ae="data",_e="close";class Ie extends p{constructor(e,n){super({});const r=this,{codecType:s}=e;let i;s.startsWith("deflate")?i=ke:s.startsWith("inflate")&&(i=ve);let o=0,c=0;const f=new i(e,n),a=super.readable,l=new p({transform(e,t){e&&e.length&&(c+=e.length,t.enqueue(e))},flush(){t.assign(r,{inputSize:c})}}),u=new p({transform(e,t){e&&e.length&&(o+=e.length,t.enqueue(e))},flush(){const{signature:e}=f;t.assign(r,{signature:e,outputSize:o,inputSize:c})}});t.defineProperty(r,"readable",{get:()=>a.pipeThrough(l).pipeThrough(f).pipeThrough(u)})}}class Pe extends p{constructor(e){let t;super({transform:function n(r,s){if(t){const e=new i(t.length+r.length);e.set(t),e.set(r,t.length),r=e,t=null}r.length>e?(s.enqueue(r.slice(0,e)),n(r.slice(e),s)):t=r},flush(e){t&&t.length&&e.enqueue(t)}})}}const De=new a,Ve=new a;let Re,Be=0,Ee=!0;async function Me(e){try{const{options:t,scripts:r,config:s}=e;if(r&&r.length)try{Ee?importScripts.apply(k,r):await Ue(r)}catch(e){Ee=!1,await Ue(r)}self.initCodec&&self.initCodec(),s.CompressionStreamNative=self.CompressionStream,s.DecompressionStreamNative=self.DecompressionStream,self.Deflate&&(s.CompressionStream=new z(self.Deflate)),self.Inflate&&(s.DecompressionStream=new z(self.Inflate));const i={highWaterMark:1},o=e.readable||new y({async pull(e){const t=new u(e=>De.set(Be,e));Ke({type:"pull",messageId:Be}),Be=(Be+1)%n.MAX_SAFE_INTEGER;const{value:r,done:s}=await t;e.enqueue(r),s&&e.close()}},i),c=e.writable||new m({async write(e){let t;const r=new u(e=>t=e);Ve.set(Be,t),Ke({type:Ae,value:e,messageId:Be}),Be=(Be+1)%n.MAX_SAFE_INTEGER,await r}},i),f=new Ie(t,s);Re=new AbortController;const{signal:a}=Re;await o.pipeThrough(f).pipeThrough(new Pe(s.chunkSize)).pipeTo(c,{signal:a,preventClose:!0,preventAbort:!0}),await c.getWriter().close();const{signature:l,inputSize:w,outputSize:h}=f;Ke({type:_e,result:{signature:l,inputSize:w,outputSize:h}})}catch(e){Ne(e)}}async function Ue(e){for(const t of e)await import(t)}function Ke(e){let{value:t}=e;if(t)if(t.length)try{t=new i(t),e.value=t.buffer,d(e,[e.value])}catch(t){d(e)}else d(e);else d(e)}function Ne(e=new s("Unknown error")){const{message:t,stack:n,code:r,name:i}=e;d({error:{message:t,stack:n,code:r,name:i}})}addEventListener("message",({data:e})=>{const{type:t,messageId:n,value:r,done:s}=e;try{if("start"==t&&Me(e),t==Ae){const e=De.get(n);De.delete(n),e({value:new i(r),done:s})}if("ack"==t){const e=Ve.get(n);Ve.delete(n),e()}t==_e&&Re.abort()}catch(e){Ne(e)}});const Oe=-2;function Te(t){return We(t.map(([t,n])=>new e(t).fill(n,0,t)))}function We(t){return t.reduce((t,n)=>t.concat(e.isArray(n)?We(n):n),[])}const je=[0,1,2,3].concat(...Te([[2,4],[2,5],[4,6],[4,7],[8,8],[8,9],[16,10],[16,11],[32,12],[32,13],[64,14],[64,15],[2,0],[1,16],[1,17],[2,18],[2,19],[4,20],[4,21],[8,22],[8,23],[16,24],[16,25],[32,26],[32,27],[64,28],[64,29]]));function He(){const e=this;function t(e,t){let n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}e.ne=n=>{const s=e.re,i=e.ie.se,o=e.ie.oe;let c,f,a,l=-1;for(n.ce=0,n.fe=573,c=0;o>c;c++)0!==s[2*c]?(n.ae[++n.ce]=l=c,n.le[c]=0):s[2*c+1]=0;for(;2>n.ce;)a=n.ae[++n.ce]=2>l?++l:0,s[2*a]=1,n.le[a]=0,n.ue--,i&&(n.we-=i[2*a+1]);for(e.he=l,c=r.floor(n.ce/2);c>=1;c--)n.de(s,c);a=o;do{c=n.ae[1],n.ae[1]=n.ae[n.ce--],n.de(s,1),f=n.ae[1],n.ae[--n.fe]=c,n.ae[--n.fe]=f,s[2*a]=s[2*c]+s[2*f],n.le[a]=r.max(n.le[c],n.le[f])+1,s[2*c+1]=s[2*f+1]=a,n.ae[1]=a++,n.de(s,1)}while(n.ce>=2);n.ae[--n.fe]=n.ae[1],(t=>{const n=e.re,r=e.ie.se,s=e.ie.pe,i=e.ie.ye,o=e.ie.me;let c,f,a,l,u,w,h=0;for(l=0;15>=l;l++)t.be[l]=0;for(n[2*t.ae[t.fe]+1]=0,c=t.fe+1;573>c;c++)f=t.ae[c],l=n[2*n[2*f+1]+1]+1,l>o&&(l=o,h++),n[2*f+1]=l,f>e.he||(t.be[l]++,u=0,i>f||(u=s[f-i]),w=n[2*f],t.ue+=w*(l+u),r&&(t.we+=w*(r[2*f+1]+u)));if(0!==h){do{for(l=o-1;0===t.be[l];)l--;t.be[l]--,t.be[l+1]+=2,t.be[o]--,h-=2}while(h>0);for(l=o;0!==l;l--)for(f=t.be[l];0!==f;)a=t.ae[--c],a>e.he||(n[2*a+1]!=l&&(t.ue+=(l-n[2*a+1])*n[2*a],n[2*a+1]=l),f--)}})(n),((e,n,r)=>{const s=[];let i,o,c,f=0;for(i=1;15>=i;i++)s[i]=f=f+r[i-1]<<1;for(o=0;n>=o;o++)c=e[2*o+1],0!==c&&(e[2*o]=t(s[c]++,c))})(s,e.he,n.be)}}function Le(e,t,n,r,s){const i=this;i.se=e,i.pe=t,i.ye=n,i.oe=r,i.me=s}He.ge=[0,1,2,3,4,5,6,7].concat(...Te([[2,8],[2,9],[2,10],[2,11],[4,12],[4,13],[4,14],[4,15],[8,16],[8,17],[8,18],[8,19],[16,20],[16,21],[16,22],[16,23],[32,24],[32,25],[32,26],[31,27],[1,28]])),He.ke=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],He.ve=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],He.Se=e=>256>e?je[e]:je[256+(e>>>7)],He.ze=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],He.Ce=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],He.xe=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],He.Ae=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];const Fe=Te([[144,8],[112,9],[24,7],[8,8]]);Le._e=We([12,140,76,204,44,172,108,236,28,156,92,220,60,188,124,252,2,130,66,194,34,162,98,226,18,146,82,210,50,178,114,242,10,138,74,202,42,170,106,234,26,154,90,218,58,186,122,250,6,134,70,198,38,166,102,230,22,150,86,214,54,182,118,246,14,142,78,206,46,174,110,238,30,158,94,222,62,190,126,254,1,129,65,193,33,161,97,225,17,145,81,209,49,177,113,241,9,137,73,201,41,169,105,233,25,153,89,217,57,185,121,249,5,133,69,197,37,165,101,229,21,149,85,213,53,181,117,245,13,141,77,205,45,173,109,237,29,157,93,221,61,189,125,253,19,275,147,403,83,339,211,467,51,307,179,435,115,371,243,499,11,267,139,395,75,331,203,459,43,299,171,427,107,363,235,491,27,283,155,411,91,347,219,475,59,315,187,443,123,379,251,507,7,263,135,391,71,327,199,455,39,295,167,423,103,359,231,487,23,279,151,407,87,343,215,471,55,311,183,439,119,375,247,503,15,271,143,399,79,335,207,463,47,303,175,431,111,367,239,495,31,287,159,415,95,351,223,479,63,319,191,447,127,383,255,511,0,64,32,96,16,80,48,112,8,72,40,104,24,88,56,120,4,68,36,100,20,84,52,116,3,131,67,195,35,163,99,227].map((e,t)=>[e,Fe[t]]));const qe=Te([[30,5]]);function Ge(e,t,n,r,s){const i=this;i.Ie=e,i.Pe=t,i.De=n,i.Ve=r,i.Re=s}Le.Be=We([0,16,8,24,4,20,12,28,2,18,10,26,6,22,14,30,1,17,9,25,5,21,13,29,3,19,11,27,7,23].map((e,t)=>[e,qe[t]])),Le.Ee=new Le(Le._e,He.ze,257,286,15),Le.Me=new Le(Le.Be,He.Ce,0,30,15),Le.Ue=new Le(null,He.xe,0,19,7);const Je=[new Ge(0,0,0,0,0),new Ge(4,4,8,4,1),new Ge(4,5,16,8,1),new Ge(4,6,32,32,1),new Ge(4,4,16,16,2),new Ge(8,16,32,32,2),new Ge(8,16,128,128,2),new Ge(8,32,128,256,2),new Ge(32,128,258,1024,2),new Ge(32,258,258,4096,2)],Qe=["need dictionary","stream end","","","stream error","data error","","buffer error","",""],Xe=113,Ye=666,Ze=262;function $e(e,t,n,r){const s=e[2*t],i=e[2*n];return i>s||s==i&&r[t]<=r[n]}function et(){const e=this;let t,n,s,c,f,a,l,u,w,h,d,p,y,m,b,g,k,v,S,z,C,x,A,_,I,P,D,V,R,B,E,M,U;const K=new He,N=new He,O=new He;let T,W,j,H,L,F;function q(){let t;for(t=0;286>t;t++)E[2*t]=0;for(t=0;30>t;t++)M[2*t]=0;for(t=0;19>t;t++)U[2*t]=0;E[512]=1,e.ue=e.we=0,W=j=0}function G(e,t){let n,r=-1,s=e[1],i=0,o=7,c=4;0===s&&(o=138,c=3),e[2*(t+1)+1]=65535;for(let f=0;t>=f;f++)n=s,s=e[2*(f+1)+1],++i<o&&n==s||(c>i?U[2*n]+=i:0!==n?(n!=r&&U[2*n]++,U[32]++):i>10?U[36]++:U[34]++,i=0,r=n,0===s?(o=138,c=3):n==s?(o=6,c=3):(o=7,c=4))}function J(t){e.Ke[e.pending++]=t}function Q(e){J(255&e),J(e>>>8&255)}function X(e,t){let n;const r=t;F>16-r?(n=e,L|=n<<F&65535,Q(L),L=n>>>16-F,F+=r-16):(L|=e<<F&65535,F+=r)}function Y(e,t){const n=2*e;X(65535&t[n],65535&t[n+1])}function Z(e,t){let n,r,s=-1,i=e[1],o=0,c=7,f=4;for(0===i&&(c=138,f=3),n=0;t>=n;n++)if(r=i,i=e[2*(n+1)+1],++o>=c||r!=i){if(f>o)do{Y(r,U)}while(0!==--o);else 0!==r?(r!=s&&(Y(r,U),o--),Y(16,U),X(o-3,2)):o>10?(Y(18,U),X(o-11,7)):(Y(17,U),X(o-3,3));o=0,s=r,0===i?(c=138,f=3):r==i?(c=6,f=3):(c=7,f=4)}}function $(){16==F?(Q(L),L=0,F=0):8>F||(J(255&L),L>>>=8,F-=8)}function ee(t,n){let s,i,o;if(e.Ne[W]=t,e.Oe[W]=255&n,W++,0===t?E[2*n]++:(j++,t--,E[2*(He.ge[n]+256+1)]++,M[2*He.Se(t)]++),!(8191&W)&&D>2){for(s=8*W,i=C-k,o=0;30>o;o++)s+=M[2*o]*(5+He.Ce[o]);if(s>>>=3,j<r.floor(W/2)&&s<r.floor(i/2))return!0}return W==T-1}function te(t,n){let r,s,i,o,c=0;if(0!==W)do{r=e.Ne[c],s=e.Oe[c],c++,0===r?Y(s,t):(i=He.ge[s],Y(i+256+1,t),o=He.ze[i],0!==o&&(s-=He.ke[i],X(s,o)),r--,i=He.Se(r),Y(i,n),o=He.Ce[i],0!==o&&(r-=He.ve[i],X(r,o)))}while(W>c);Y(256,t),H=t[513]}function ne(){F>8?Q(L):F>0&&J(255&L),L=0,F=0}function re(t,n,r){X(0+(r?1:0),3),((t,n)=>{ne(),H=8,Q(n),Q(~n),e.Ke.set(u.subarray(t,t+n),e.pending),e.pending+=n})(t,n)}function se(n){((t,n,r)=>{let s,i,o=0;D>0?(K.ne(e),N.ne(e),o=(()=>{let t;for(G(E,K.he),G(M,N.he),O.ne(e),t=18;t>=3&&0===U[2*He.Ae[t]+1];t--);return e.ue+=14+3*(t+1),t})(),s=e.ue+3+7>>>3,i=e.we+3+7>>>3,i>s||(s=i)):s=i=n+5,n+4>s||-1==t?i==s?(X(2+(r?1:0),3),te(Le._e,Le.Be)):(X(4+(r?1:0),3),((e,t,n)=>{let r;for(X(e-257,5),X(t-1,5),X(n-4,4),r=0;n>r;r++)X(U[2*He.Ae[r]+1],3);Z(E,e-1),Z(M,t-1)})(K.he+1,N.he+1,o+1),te(E,M)):re(t,n,r),q(),r&&ne()})(0>k?-1:k,C-k,n),k=C,t.Te()}function ie(){let e,n,r,s;do{if(s=w-A-C,0===s&&0===C&&0===A)s=f;else if(-1==s)s--;else if(C>=f+f-Ze){u.set(u.subarray(f,f+f),0),x-=f,C-=f,k-=f,e=y,r=e;do{n=65535&d[--r],d[r]=f>n?0:n-f}while(0!==--e);e=f,r=e;do{n=65535&h[--r],h[r]=f>n?0:n-f}while(0!==--e);s+=f}if(0===t.We)return;e=t.je(u,C+A,s),A+=e,3>A||(p=255&u[C],p=(p<<g^255&u[C+1])&b)}while(Ze>A&&0!==t.We)}function oe(e){let t,n,r=I,s=C,i=_;const o=C>f-Ze?C-(f-Ze):0;let c=B;const a=l,w=C+258;let d=u[s+i-1],p=u[s+i];R>_||(r>>=2),c>A&&(c=A);do{if(t=e,u[t+i]==p&&u[t+i-1]==d&&u[t]==u[s]&&u[++t]==u[s+1]){s+=2,t++;do{}while(u[++s]==u[++t]&&u[++s]==u[++t]&&u[++s]==u[++t]&&u[++s]==u[++t]&&u[++s]==u[++t]&&u[++s]==u[++t]&&u[++s]==u[++t]&&u[++s]==u[++t]&&w>s);if(n=258-(w-s),s=w-258,n>i){if(x=e,i=n,n>=c)break;d=u[s+i-1],p=u[s+i]}}}while((e=65535&h[e&a])>o&&0!==--r);return i>A?A:i}e.le=[],e.be=[],e.ae=[],E=[],M=[],U=[],e.de=(t,n)=>{const r=e.ae,s=r[n];let i=n<<1;for(;i<=e.ce&&(i<e.ce&&$e(t,r[i+1],r[i],e.le)&&i++,!$e(t,s,r[i],e.le));)r[n]=r[i],n=i,i<<=1;r[n]=s},e.He=(t,S,x,W,j,G)=>(W||(W=8),j||(j=8),G||(G=0),t.Le=null,-1==S&&(S=6),1>j||j>9||8!=W||9>x||x>15||0>S||S>9||0>G||G>2?Oe:(t.Fe=e,a=x,f=1<<a,l=f-1,m=j+7,y=1<<m,b=y-1,g=r.floor((m+3-1)/3),u=new i(2*f),h=[],d=[],T=1<<j+6,e.Ke=new i(4*T),s=4*T,e.Ne=new o(T),e.Oe=new i(T),D=S,V=G,(t=>(t.qe=t.Ge=0,t.Le=null,e.pending=0,e.Je=0,n=Xe,c=0,K.re=E,K.ie=Le.Ee,N.re=M,N.ie=Le.Me,O.re=U,O.ie=Le.Ue,L=0,F=0,H=8,q(),(()=>{w=2*f,d[y-1]=0;for(let e=0;y-1>e;e++)d[e]=0;P=Je[D].Pe,R=Je[D].Ie,B=Je[D].De,I=Je[D].Ve,C=0,k=0,A=0,v=_=2,z=0,p=0})(),0))(t))),e.Qe=()=>42!=n&&n!=Xe&&n!=Ye?Oe:(e.Oe=null,e.Ne=null,e.Ke=null,d=null,h=null,u=null,e.Fe=null,n==Xe?-3:0),e.Xe=(e,t,n)=>{let r=0;return-1==t&&(t=6),0>t||t>9||0>n||n>2?Oe:(Je[D].Re!=Je[t].Re&&0!==e.qe&&(r=e.Ye(1)),D!=t&&(D=t,P=Je[D].Pe,R=Je[D].Ie,B=Je[D].De,I=Je[D].Ve),V=n,r)},e.Ze=(e,t,r)=>{let s,i=r,o=0;if(!t||42!=n)return Oe;if(3>i)return 0;for(i>f-Ze&&(i=f-Ze,o=r-i),u.set(t.subarray(o,o+i),0),C=i,k=i,p=255&u[0],p=(p<<g^255&u[1])&b,s=0;i-3>=s;s++)p=(p<<g^255&u[s+2])&b,h[s&l]=d[p],d[p]=s;return 0},e.Ye=(r,i)=>{let o,w,m,I,R;if(i>4||0>i)return Oe;if(!r.$e||!r.et&&0!==r.We||n==Ye&&4!=i)return r.Le=Qe[4],Oe;if(0===r.tt)return r.Le=Qe[7],-5;var B;if(t=r,I=c,c=i,42==n&&(w=8+(a-8<<4)<<8,m=(D-1&255)>>1,m>3&&(m=3),w|=m<<6,0!==C&&(w|=32),w+=31-w%31,n=Xe,J((B=w)>>8&255),J(255&B)),0!==e.pending){if(t.Te(),0===t.tt)return c=-1,0}else if(0===t.We&&I>=i&&4!=i)return t.Le=Qe[7],-5;if(n==Ye&&0!==t.We)return r.Le=Qe[7],-5;if(0!==t.We||0!==A||0!=i&&n!=Ye){switch(R=-1,Je[D].Re){case 0:R=(e=>{let n,r=65535;for(r>s-5&&(r=s-5);;){if(1>=A){if(ie(),0===A&&0==e)return 0;if(0===A)break}if(C+=A,A=0,n=k+r,(0===C||C>=n)&&(A=C-n,C=n,se(!1),0===t.tt))return 0;if(C-k>=f-Ze&&(se(!1),0===t.tt))return 0}return se(4==e),0===t.tt?4==e?2:0:4==e?3:1})(i);break;case 1:R=(e=>{let n,r=0;for(;;){if(Ze>A){if(ie(),Ze>A&&0==e)return 0;if(0===A)break}if(3>A||(p=(p<<g^255&u[C+2])&b,r=65535&d[p],h[C&l]=d[p],d[p]=C),0===r||(C-r&65535)>f-Ze||2!=V&&(v=oe(r)),3>v)n=ee(0,255&u[C]),A--,C++;else if(n=ee(C-x,v-3),A-=v,v>P||3>A)C+=v,v=0,p=255&u[C],p=(p<<g^255&u[C+1])&b;else{v--;do{C++,p=(p<<g^255&u[C+2])&b,r=65535&d[p],h[C&l]=d[p],d[p]=C}while(0!==--v);C++}if(n&&(se(!1),0===t.tt))return 0}return se(4==e),0===t.tt?4==e?2:0:4==e?3:1})(i);break;case 2:R=(e=>{let n,r,s=0;for(;;){if(Ze>A){if(ie(),Ze>A&&0==e)return 0;if(0===A)break}if(3>A||(p=(p<<g^255&u[C+2])&b,s=65535&d[p],h[C&l]=d[p],d[p]=C),_=v,S=x,v=2,0!==s&&P>_&&f-Ze>=(C-s&65535)&&(2!=V&&(v=oe(s)),5>=v&&(1==V||3==v&&C-x>4096)&&(v=2)),3>_||v>_)if(0!==z){if(n=ee(0,255&u[C-1]),n&&se(!1),C++,A--,0===t.tt)return 0}else z=1,C++,A--;else{r=C+A-3,n=ee(C-1-S,_-3),A-=_-1,_-=2;do{++C>r||(p=(p<<g^255&u[C+2])&b,s=65535&d[p],h[C&l]=d[p],d[p]=C)}while(0!==--_);if(z=0,v=2,C++,n&&(se(!1),0===t.tt))return 0}}return 0!==z&&(n=ee(0,255&u[C-1]),z=0),se(4==e),0===t.tt?4==e?2:0:4==e?3:1})(i)}if(2!=R&&3!=R||(n=Ye),0==R||2==R)return 0===t.tt&&(c=-1),0;if(1==R){if(1==i)X(2,3),Y(256,Le._e),$(),9>1+H+10-F&&(X(2,3),Y(256,Le._e),$()),H=7;else if(re(0,0,!1),3==i)for(o=0;y>o;o++)d[o]=0;if(t.Te(),0===t.tt)return c=-1,0}}return 4!=i?0:1}}function tt(){const e=this;e.nt=0,e.rt=0,e.We=0,e.qe=0,e.tt=0,e.Ge=0}function nt(e){const t=new tt,n=(o=e&&e.chunkSize?e.chunkSize:65536)+5*(r.floor(o/16383)+1);var o;const c=new i(n);let f=e?e.level:-1;void 0===f&&(f=-1),t.He(f),t.$e=c,this.append=(e,r)=>{let o,f,a=0,l=0,u=0;const w=[];if(e.length){t.nt=0,t.et=e,t.We=e.length;do{if(t.rt=0,t.tt=n,o=t.Ye(0),0!=o)throw new s("deflating: "+t.Le);t.rt&&(t.rt==n?w.push(new i(c)):w.push(c.subarray(0,t.rt))),u+=t.rt,r&&t.nt>0&&t.nt!=a&&(r(t.nt),a=t.nt)}while(t.We>0||0===t.tt);return w.length>1?(f=new i(u),w.forEach(e=>{f.set(e,l),l+=e.length})):f=w[0]?new i(w[0]):new i,f}},this.flush=()=>{let e,r,o=0,f=0;const a=[];do{if(t.rt=0,t.tt=n,e=t.Ye(4),1!=e&&0!=e)throw new s("deflating: "+t.Le);n-t.tt>0&&a.push(c.slice(0,t.rt)),f+=t.rt}while(t.We>0||0===t.tt);return t.Qe(),r=new i(f),a.forEach(e=>{r.set(e,o),o+=e.length}),r}}tt.prototype={He(e,t){const n=this;return n.Fe=new et,t||(t=15),n.Fe.He(n,e,t)},Ye(e){const t=this;return t.Fe?t.Fe.Ye(t,e):Oe},Qe(){const e=this;if(!e.Fe)return Oe;const t=e.Fe.Qe();return e.Fe=null,t},Xe(e,t){const n=this;return n.Fe?n.Fe.Xe(n,e,t):Oe},Ze(e,t){const n=this;return n.Fe?n.Fe.Ze(n,e,t):Oe},je(e,t,n){const r=this;let s=r.We;return s>n&&(s=n),0===s?0:(r.We-=s,e.set(r.et.subarray(r.nt,r.nt+s),t),r.nt+=s,r.qe+=s,s)},Te(){const e=this;let t=e.Fe.pending;t>e.tt&&(t=e.tt),0!==t&&(e.$e.set(e.Fe.Ke.subarray(e.Fe.Je,e.Fe.Je+t),e.rt),e.rt+=t,e.Fe.Je+=t,e.Ge+=t,e.tt-=t,e.Fe.pending-=t,0===e.Fe.pending&&(e.Fe.Je=0))}};const rt=-2,st=-3,it=-5,ot=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],ct=[96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,192,80,7,10,0,8,96,0,8,32,0,9,160,0,8,0,0,8,128,0,8,64,0,9,224,80,7,6,0,8,88,0,8,24,0,9,144,83,7,59,0,8,120,0,8,56,0,9,208,81,7,17,0,8,104,0,8,40,0,9,176,0,8,8,0,8,136,0,8,72,0,9,240,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,200,81,7,13,0,8,100,0,8,36,0,9,168,0,8,4,0,8,132,0,8,68,0,9,232,80,7,8,0,8,92,0,8,28,0,9,152,84,7,83,0,8,124,0,8,60,0,9,216,82,7,23,0,8,108,0,8,44,0,9,184,0,8,12,0,8,140,0,8,76,0,9,248,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,196,81,7,11,0,8,98,0,8,34,0,9,164,0,8,2,0,8,130,0,8,66,0,9,228,80,7,7,0,8,90,0,8,26,0,9,148,84,7,67,0,8,122,0,8,58,0,9,212,82,7,19,0,8,106,0,8,42,0,9,180,0,8,10,0,8,138,0,8,74,0,9,244,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,204,81,7,15,0,8,102,0,8,38,0,9,172,0,8,6,0,8,134,0,8,70,0,9,236,80,7,9,0,8,94,0,8,30,0,9,156,84,7,99,0,8,126,0,8,62,0,9,220,82,7,27,0,8,110,0,8,46,0,9,188,0,8,14,0,8,142,0,8,78,0,9,252,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,194,80,7,10,0,8,97,0,8,33,0,9,162,0,8,1,0,8,129,0,8,65,0,9,226,80,7,6,0,8,89,0,8,25,0,9,146,83,7,59,0,8,121,0,8,57,0,9,210,81,7,17,0,8,105,0,8,41,0,9,178,0,8,9,0,8,137,0,8,73,0,9,242,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,202,81,7,13,0,8,101,0,8,37,0,9,170,0,8,5,0,8,133,0,8,69,0,9,234,80,7,8,0,8,93,0,8,29,0,9,154,84,7,83,0,8,125,0,8,61,0,9,218,82,7,23,0,8,109,0,8,45,0,9,186,0,8,13,0,8,141,0,8,77,0,9,250,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,198,81,7,11,0,8,99,0,8,35,0,9,166,0,8,3,0,8,131,0,8,67,0,9,230,80,7,7,0,8,91,0,8,27,0,9,150,84,7,67,0,8,123,0,8,59,0,9,214,82,7,19,0,8,107,0,8,43,0,9,182,0,8,11,0,8,139,0,8,75,0,9,246,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,206,81,7,15,0,8,103,0,8,39,0,9,174,0,8,7,0,8,135,0,8,71,0,9,238,80,7,9,0,8,95,0,8,31,0,9,158,84,7,99,0,8,127,0,8,63,0,9,222,82,7,27,0,8,111,0,8,47,0,9,190,0,8,15,0,8,143,0,8,79,0,9,254,96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,193,80,7,10,0,8,96,0,8,32,0,9,161,0,8,0,0,8,128,0,8,64,0,9,225,80,7,6,0,8,88,0,8,24,0,9,145,83,7,59,0,8,120,0,8,56,0,9,209,81,7,17,0,8,104,0,8,40,0,9,177,0,8,8,0,8,136,0,8,72,0,9,241,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,201,81,7,13,0,8,100,0,8,36,0,9,169,0,8,4,0,8,132,0,8,68,0,9,233,80,7,8,0,8,92,0,8,28,0,9,153,84,7,83,0,8,124,0,8,60,0,9,217,82,7,23,0,8,108,0,8,44,0,9,185,0,8,12,0,8,140,0,8,76,0,9,249,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,197,81,7,11,0,8,98,0,8,34,0,9,165,0,8,2,0,8,130,0,8,66,0,9,229,80,7,7,0,8,90,0,8,26,0,9,149,84,7,67,0,8,122,0,8,58,0,9,213,82,7,19,0,8,106,0,8,42,0,9,181,0,8,10,0,8,138,0,8,74,0,9,245,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,205,81,7,15,0,8,102,0,8,38,0,9,173,0,8,6,0,8,134,0,8,70,0,9,237,80,7,9,0,8,94,0,8,30,0,9,157,84,7,99,0,8,126,0,8,62,0,9,221,82,7,27,0,8,110,0,8,46,0,9,189,0,8,14,0,8,142,0,8,78,0,9,253,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,195,80,7,10,0,8,97,0,8,33,0,9,163,0,8,1,0,8,129,0,8,65,0,9,227,80,7,6,0,8,89,0,8,25,0,9,147,83,7,59,0,8,121,0,8,57,0,9,211,81,7,17,0,8,105,0,8,41,0,9,179,0,8,9,0,8,137,0,8,73,0,9,243,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,203,81,7,13,0,8,101,0,8,37,0,9,171,0,8,5,0,8,133,0,8,69,0,9,235,80,7,8,0,8,93,0,8,29,0,9,155,84,7,83,0,8,125,0,8,61,0,9,219,82,7,23,0,8,109,0,8,45,0,9,187,0,8,13,0,8,141,0,8,77,0,9,251,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,199,81,7,11,0,8,99,0,8,35,0,9,167,0,8,3,0,8,131,0,8,67,0,9,231,80,7,7,0,8,91,0,8,27,0,9,151,84,7,67,0,8,123,0,8,59,0,9,215,82,7,19,0,8,107,0,8,43,0,9,183,0,8,11,0,8,139,0,8,75,0,9,247,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,207,81,7,15,0,8,103,0,8,39,0,9,175,0,8,7,0,8,135,0,8,71,0,9,239,80,7,9,0,8,95,0,8,31,0,9,159,84,7,99,0,8,127,0,8,63,0,9,223,82,7,27,0,8,111,0,8,47,0,9,191,0,8,15,0,8,143,0,8,79,0,9,255],ft=[80,5,1,87,5,257,83,5,17,91,5,4097,81,5,5,89,5,1025,85,5,65,93,5,16385,80,5,3,88,5,513,84,5,33,92,5,8193,82,5,9,90,5,2049,86,5,129,192,5,24577,80,5,2,87,5,385,83,5,25,91,5,6145,81,5,7,89,5,1537,85,5,97,93,5,24577,80,5,4,88,5,769,84,5,49,92,5,12289,82,5,13,90,5,3073,86,5,193,192,5,24577],at=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],lt=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,112,112],ut=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],wt=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13];function ht(){let e,t,n,r,s,i;function o(e,t,o,c,f,a,l,u,w,h,d){let p,y,m,b,g,k,v,S,z,C,x,A,_,I,P;C=0,g=o;do{n[e[t+C]]++,C++,g--}while(0!==g);if(n[0]==o)return l[0]=-1,u[0]=0,0;for(S=u[0],k=1;15>=k&&0===n[k];k++);for(v=k,k>S&&(S=k),g=15;0!==g&&0===n[g];g--);for(m=g,S>g&&(S=g),u[0]=S,I=1<<k;g>k;k++,I<<=1)if(0>(I-=n[k]))return st;if(0>(I-=n[g]))return st;for(n[g]+=I,i[1]=k=0,C=1,_=2;0!==--g;)i[_]=k+=n[C],_++,C++;g=0,C=0;do{0!==(k=e[t+C])&&(d[i[k]++]=g),C++}while(++g<o);for(o=i[m],i[0]=g=0,C=0,b=-1,A=-S,s[0]=0,x=0,P=0;m>=v;v++)for(p=n[v];0!==p--;){for(;v>A+S;){if(b++,A+=S,P=m-A,P=P>S?S:P,(y=1<<(k=v-A))>p+1&&(y-=p+1,_=v,P>k))for(;++k<P&&(y<<=1)>n[++_];)y-=n[_];if(P=1<<k,h[0]+P>1440)return st;s[b]=x=h[0],h[0]+=P,0!==b?(i[b]=g,r[0]=k,r[1]=S,k=g>>>A-S,r[2]=x-s[b-1]-k,w.set(r,3*(s[b-1]+k))):l[0]=x}for(r[1]=v-A,o>C?d[C]<c?(r[0]=256>d[C]?0:96,r[2]=d[C++]):(r[0]=a[d[C]-c]+16+64,r[2]=f[d[C++]-c]):r[0]=192,y=1<<v-A,k=g>>>A;P>k;k+=y)w.set(r,3*(x+k));for(k=1<<v-1;0!==(g&k);k>>>=1)g^=k;for(g^=k,z=(1<<A)-1;(g&z)!=i[b];)b--,A-=S,z=(1<<A)-1}return 0!==I&&1!=m?it:0}function c(o){let c;for(e||(e=[],t=[],n=new f(16),r=[],s=new f(15),i=new f(16)),t.length<o&&(t=[]),c=0;o>c;c++)t[c]=0;for(c=0;16>c;c++)n[c]=0;for(c=0;3>c;c++)r[c]=0;s.set(n.subarray(0,15),0),i.set(n.subarray(0,16),0)}this.st=(n,r,s,i,f)=>{let a;return c(19),e[0]=0,a=o(n,0,19,19,null,null,s,r,i,e,t),a==st?f.Le="oversubscribed dynamic bit lengths tree":a!=it&&0!==r[0]||(f.Le="incomplete dynamic bit lengths tree",a=st),a},this.it=(n,r,s,i,f,a,l,u,w)=>{let h;return c(288),e[0]=0,h=o(s,0,n,257,at,lt,a,i,u,e,t),0!=h||0===i[0]?(h==st?w.Le="oversubscribed literal/length tree":-4!=h&&(w.Le="incomplete literal/length tree",h=st),h):(c(288),h=o(s,n,r,0,ut,wt,l,f,u,e,t),0!=h||0===f[0]&&n>257?(h==st?w.Le="oversubscribed distance tree":h==it?(w.Le="incomplete distance tree",h=st):-4!=h&&(w.Le="empty distance tree with lengths",h=st),h):0)}}function dt(){const e=this;let t,n,r,s,i=0,o=0,c=0,f=0,a=0,l=0,u=0,w=0,h=0,d=0;function p(e,t,n,r,s,i,o,c){let f,a,l,u,w,h,d,p,y,m,b,g,k,v,S,z;d=c.nt,p=c.We,w=o.ot,h=o.ct,y=o.write,m=y<o.read?o.read-y-1:o.end-y,b=ot[e],g=ot[t];do{for(;20>h;)p--,w|=(255&c.ft(d++))<<h,h+=8;if(f=w&b,a=n,l=r,z=3*(l+f),0!==(u=a[z]))for(;;){if(w>>=a[z+1],h-=a[z+1],16&u){for(u&=15,k=a[z+2]+(w&ot[u]),w>>=u,h-=u;15>h;)p--,w|=(255&c.ft(d++))<<h,h+=8;for(f=w&g,a=s,l=i,z=3*(l+f),u=a[z];;){if(w>>=a[z+1],h-=a[z+1],16&u){for(u&=15;u>h;)p--,w|=(255&c.ft(d++))<<h,h+=8;if(v=a[z+2]+(w&ot[u]),w>>=u,h-=u,m-=k,v>y){S=y-v;do{S+=o.end}while(0>S);if(u=o.end-S,k>u){if(k-=u,y-S>0&&u>y-S)do{o.lt[y++]=o.lt[S++]}while(0!==--u);else o.lt.set(o.lt.subarray(S,S+u),y),y+=u,S+=u,u=0;S=0}}else S=y-v,y-S>0&&2>y-S?(o.lt[y++]=o.lt[S++],o.lt[y++]=o.lt[S++],k-=2):(o.lt.set(o.lt.subarray(S,S+2),y),y+=2,S+=2,k-=2);if(y-S>0&&k>y-S)do{o.lt[y++]=o.lt[S++]}while(0!==--k);else o.lt.set(o.lt.subarray(S,S+k),y),y+=k,S+=k,k=0;break}if(64&u)return c.Le="invalid distance code",k=c.We-p,k=k>h>>3?h>>3:k,p+=k,d-=k,h-=k<<3,o.ot=w,o.ct=h,c.We=p,c.qe+=d-c.nt,c.nt=d,o.write=y,st;f+=a[z+2],f+=w&ot[u],z=3*(l+f),u=a[z]}break}if(64&u)return 32&u?(k=c.We-p,k=k>h>>3?h>>3:k,p+=k,d-=k,h-=k<<3,o.ot=w,o.ct=h,c.We=p,c.qe+=d-c.nt,c.nt=d,o.write=y,1):(c.Le="invalid literal/length code",k=c.We-p,k=k>h>>3?h>>3:k,p+=k,d-=k,h-=k<<3,o.ot=w,o.ct=h,c.We=p,c.qe+=d-c.nt,c.nt=d,o.write=y,st);if(f+=a[z+2],f+=w&ot[u],z=3*(l+f),0===(u=a[z])){w>>=a[z+1],h-=a[z+1],o.lt[y++]=a[z+2],m--;break}}else w>>=a[z+1],h-=a[z+1],o.lt[y++]=a[z+2],m--}while(m>=258&&p>=10);return k=c.We-p,k=k>h>>3?h>>3:k,p+=k,d-=k,h-=k<<3,o.ot=w,o.ct=h,c.We=p,c.qe+=d-c.nt,c.nt=d,o.write=y,0}e.init=(e,i,o,c,f,a)=>{t=0,u=e,w=i,r=o,h=c,s=f,d=a,n=null},e.ut=(e,y,m)=>{let b,g,k,v,S,z,C,x=0,A=0,_=0;for(_=y.nt,v=y.We,x=e.ot,A=e.ct,S=e.write,z=S<e.read?e.read-S-1:e.end-S;;)switch(t){case 0:if(z>=258&&v>=10&&(e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,m=p(u,w,r,h,s,d,e,y),_=y.nt,v=y.We,x=e.ot,A=e.ct,S=e.write,z=S<e.read?e.read-S-1:e.end-S,0!=m)){t=1==m?7:9;break}c=u,n=r,o=h,t=1;case 1:for(b=c;b>A;){if(0===v)return e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);m=0,v--,x|=(255&y.ft(_++))<<A,A+=8}if(g=3*(o+(x&ot[b])),x>>>=n[g+1],A-=n[g+1],k=n[g],0===k){f=n[g+2],t=6;break}if(16&k){a=15&k,i=n[g+2],t=2;break}if(!(64&k)){c=k,o=g/3+n[g+2];break}if(32&k){t=7;break}return t=9,y.Le="invalid literal/length code",m=st,e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);case 2:for(b=a;b>A;){if(0===v)return e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);m=0,v--,x|=(255&y.ft(_++))<<A,A+=8}i+=x&ot[b],x>>=b,A-=b,c=w,n=s,o=d,t=3;case 3:for(b=c;b>A;){if(0===v)return e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);m=0,v--,x|=(255&y.ft(_++))<<A,A+=8}if(g=3*(o+(x&ot[b])),x>>=n[g+1],A-=n[g+1],k=n[g],16&k){a=15&k,l=n[g+2],t=4;break}if(!(64&k)){c=k,o=g/3+n[g+2];break}return t=9,y.Le="invalid distance code",m=st,e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);case 4:for(b=a;b>A;){if(0===v)return e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);m=0,v--,x|=(255&y.ft(_++))<<A,A+=8}l+=x&ot[b],x>>=b,A-=b,t=5;case 5:for(C=S-l;0>C;)C+=e.end;for(;0!==i;){if(0===z&&(S==e.end&&0!==e.read&&(S=0,z=S<e.read?e.read-S-1:e.end-S),0===z&&(e.write=S,m=e.wt(y,m),S=e.write,z=S<e.read?e.read-S-1:e.end-S,S==e.end&&0!==e.read&&(S=0,z=S<e.read?e.read-S-1:e.end-S),0===z)))return e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);e.lt[S++]=e.lt[C++],z--,C==e.end&&(C=0),i--}t=0;break;case 6:if(0===z&&(S==e.end&&0!==e.read&&(S=0,z=S<e.read?e.read-S-1:e.end-S),0===z&&(e.write=S,m=e.wt(y,m),S=e.write,z=S<e.read?e.read-S-1:e.end-S,S==e.end&&0!==e.read&&(S=0,z=S<e.read?e.read-S-1:e.end-S),0===z)))return e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);m=0,e.lt[S++]=f,z--,t=0;break;case 7:if(A>7&&(A-=8,v++,_--),e.write=S,m=e.wt(y,m),S=e.write,z=S<e.read?e.read-S-1:e.end-S,e.read!=e.write)return e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);t=8;case 8:return m=1,e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);case 9:return m=st,e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m);default:return m=rt,e.ot=x,e.ct=A,y.We=v,y.qe+=_-y.nt,y.nt=_,e.write=S,e.wt(y,m)}},e.ht=()=>{}}ht.dt=(e,t,n,r)=>(e[0]=9,t[0]=5,n[0]=ct,r[0]=ft,0);const pt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];function yt(e,t){const n=this;let r,s=0,o=0,c=0,a=0;const l=[0],u=[0],w=new dt;let h=0,d=new f(4320);const p=new ht;n.ct=0,n.ot=0,n.lt=new i(t),n.end=t,n.read=0,n.write=0,n.reset=(e,t)=>{t&&(t[0]=0),6==s&&w.ht(e),s=0,n.ct=0,n.ot=0,n.read=n.write=0},n.reset(e,null),n.wt=(e,t)=>{let r,s,i;return s=e.rt,i=n.read,r=(i>n.write?n.end:n.write)-i,r>e.tt&&(r=e.tt),0!==r&&t==it&&(t=0),e.tt-=r,e.Ge+=r,e.$e.set(n.lt.subarray(i,i+r),s),s+=r,i+=r,i==n.end&&(i=0,n.write==n.end&&(n.write=0),r=n.write-i,r>e.tt&&(r=e.tt),0!==r&&t==it&&(t=0),e.tt-=r,e.Ge+=r,e.$e.set(n.lt.subarray(i,i+r),s),s+=r,i+=r),e.rt=s,n.read=i,t},n.ut=(e,t)=>{let i,f,y,m,b,g,k,v;for(m=e.nt,b=e.We,f=n.ot,y=n.ct,g=n.write,k=g<n.read?n.read-g-1:n.end-g;;){let S,z,C,x,A,_,I,P;switch(s){case 0:for(;3>y;){if(0===b)return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);t=0,b--,f|=(255&e.ft(m++))<<y,y+=8}switch(i=7&f,h=1&i,i>>>1){case 0:f>>>=3,y-=3,i=7&y,f>>>=i,y-=i,s=1;break;case 1:S=[],z=[],C=[[]],x=[[]],ht.dt(S,z,C,x),w.init(S[0],z[0],C[0],0,x[0],0),f>>>=3,y-=3,s=6;break;case 2:f>>>=3,y-=3,s=3;break;case 3:return f>>>=3,y-=3,s=9,e.Le="invalid block type",t=st,n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t)}break;case 1:for(;32>y;){if(0===b)return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);t=0,b--,f|=(255&e.ft(m++))<<y,y+=8}if((~f>>>16&65535)!=(65535&f))return s=9,e.Le="invalid stored block lengths",t=st,n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);o=65535&f,f=y=0,s=0!==o?2:0!==h?7:0;break;case 2:if(0===b)return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);if(0===k&&(g==n.end&&0!==n.read&&(g=0,k=g<n.read?n.read-g-1:n.end-g),0===k&&(n.write=g,t=n.wt(e,t),g=n.write,k=g<n.read?n.read-g-1:n.end-g,g==n.end&&0!==n.read&&(g=0,k=g<n.read?n.read-g-1:n.end-g),0===k)))return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);if(t=0,i=o,i>b&&(i=b),i>k&&(i=k),n.lt.set(e.je(m,i),g),m+=i,b-=i,g+=i,k-=i,0!==(o-=i))break;s=0!==h?7:0;break;case 3:for(;14>y;){if(0===b)return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);t=0,b--,f|=(255&e.ft(m++))<<y,y+=8}if(c=i=16383&f,(31&i)>29||(i>>5&31)>29)return s=9,e.Le="too many length or distance symbols",t=st,n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);if(i=258+(31&i)+(i>>5&31),!r||r.length<i)r=[];else for(v=0;i>v;v++)r[v]=0;f>>>=14,y-=14,a=0,s=4;case 4:for(;4+(c>>>10)>a;){for(;3>y;){if(0===b)return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);t=0,b--,f|=(255&e.ft(m++))<<y,y+=8}r[pt[a++]]=7&f,f>>>=3,y-=3}for(;19>a;)r[pt[a++]]=0;if(l[0]=7,i=p.st(r,l,u,d,e),0!=i)return(t=i)==st&&(r=null,s=9),n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);a=0,s=5;case 5:for(;i=c,258+(31&i)+(i>>5&31)>a;){let o,w;for(i=l[0];i>y;){if(0===b)return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);t=0,b--,f|=(255&e.ft(m++))<<y,y+=8}if(i=d[3*(u[0]+(f&ot[i]))+1],w=d[3*(u[0]+(f&ot[i]))+2],16>w)f>>>=i,y-=i,r[a++]=w;else{for(v=18==w?7:w-14,o=18==w?11:3;i+v>y;){if(0===b)return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);t=0,b--,f|=(255&e.ft(m++))<<y,y+=8}if(f>>>=i,y-=i,o+=f&ot[v],f>>>=v,y-=v,v=a,i=c,v+o>258+(31&i)+(i>>5&31)||16==w&&1>v)return r=null,s=9,e.Le="invalid bit length repeat",t=st,n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);w=16==w?r[v-1]:0;do{r[v++]=w}while(0!==--o);a=v}}if(u[0]=-1,A=[],_=[],I=[],P=[],A[0]=9,_[0]=6,i=c,i=p.it(257+(31&i),1+(i>>5&31),r,A,_,I,P,d,e),0!=i)return i==st&&(r=null,s=9),t=i,n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);w.init(A[0],_[0],d,I[0],d,P[0]),s=6;case 6:if(n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,1!=(t=w.ut(n,e,t)))return n.wt(e,t);if(t=0,w.ht(e),m=e.nt,b=e.We,f=n.ot,y=n.ct,g=n.write,k=g<n.read?n.read-g-1:n.end-g,0===h){s=0;break}s=7;case 7:if(n.write=g,t=n.wt(e,t),g=n.write,k=g<n.read?n.read-g-1:n.end-g,n.read!=n.write)return n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);s=8;case 8:return t=1,n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);case 9:return t=st,n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t);default:return t=rt,n.ot=f,n.ct=y,e.We=b,e.qe+=m-e.nt,e.nt=m,n.write=g,n.wt(e,t)}}},n.ht=e=>{n.reset(e,null),n.lt=null,d=null},n.yt=(e,t,r)=>{n.lt.set(e.subarray(t,t+r),0),n.read=n.write=r},n.bt=()=>1==s?1:0}const mt=13,bt=[0,0,255,255];function gt(){const e=this;function t(e){return e&&e.gt?(e.qe=e.Ge=0,e.Le=null,e.gt.mode=7,e.gt.kt.reset(e,null),0):rt}e.mode=0,e.method=0,e.vt=[0],e.St=0,e.marker=0,e.zt=0,e.Ct=t=>(e.kt&&e.kt.ht(t),e.kt=null,0),e.xt=(n,r)=>(n.Le=null,e.kt=null,8>r||r>15?(e.Ct(n),rt):(e.zt=r,n.gt.kt=new yt(n,1<<r),t(n),0)),e.At=(e,t)=>{let n,r;if(!e||!e.gt||!e.et)return rt;const s=e.gt;for(t=4==t?it:0,n=it;;)switch(s.mode){case 0:if(0===e.We)return n;if(n=t,e.We--,e.qe++,8!=(15&(s.method=e.ft(e.nt++)))){s.mode=mt,e.Le="unknown compression method",s.marker=5;break}if(8+(s.method>>4)>s.zt){s.mode=mt,e.Le="invalid win size",s.marker=5;break}s.mode=1;case 1:if(0===e.We)return n;if(n=t,e.We--,e.qe++,r=255&e.ft(e.nt++),((s.method<<8)+r)%31!=0){s.mode=mt,e.Le="incorrect header check",s.marker=5;break}if(!(32&r)){s.mode=7;break}s.mode=2;case 2:if(0===e.We)return n;n=t,e.We--,e.qe++,s.St=(255&e.ft(e.nt++))<<24&4278190080,s.mode=3;case 3:if(0===e.We)return n;n=t,e.We--,e.qe++,s.St+=(255&e.ft(e.nt++))<<16&16711680,s.mode=4;case 4:if(0===e.We)return n;n=t,e.We--,e.qe++,s.St+=(255&e.ft(e.nt++))<<8&65280,s.mode=5;case 5:return 0===e.We?n:(n=t,e.We--,e.qe++,s.St+=255&e.ft(e.nt++),s.mode=6,2);case 6:return s.mode=mt,e.Le="need dictionary",s.marker=0,rt;case 7:if(n=s.kt.ut(e,n),n==st){s.mode=mt,s.marker=0;break}if(0==n&&(n=t),1!=n)return n;n=t,s.kt.reset(e,s.vt),s.mode=12;case 12:return e.We=0,1;case mt:return st;default:return rt}},e._t=(e,t,n)=>{let r=0,s=n;if(!e||!e.gt||6!=e.gt.mode)return rt;const i=e.gt;return s<1<<i.zt||(s=(1<<i.zt)-1,r=n-s),i.kt.yt(t,r,s),i.mode=7,0},e.It=e=>{let n,r,s,i,o;if(!e||!e.gt)return rt;const c=e.gt;if(c.mode!=mt&&(c.mode=mt,c.marker=0),0===(n=e.We))return it;for(r=e.nt,s=c.marker;0!==n&&4>s;)e.ft(r)==bt[s]?s++:s=0!==e.ft(r)?0:4-s,r++,n--;return e.qe+=r-e.nt,e.nt=r,e.We=n,c.marker=s,4!=s?st:(i=e.qe,o=e.Ge,t(e),e.qe=i,e.Ge=o,c.mode=7,0)},e.Pt=e=>e&&e.gt&&e.gt.kt?e.gt.kt.bt():rt}function kt(){}function vt(e){const t=new kt,n=e&&e.chunkSize?r.floor(2*e.chunkSize):131072,o=new i(n);let c=!1;t.xt(),t.$e=o,this.append=(e,r)=>{const f=[];let a,l,u=0,w=0,h=0;if(0!==e.length){t.nt=0,t.et=e,t.We=e.length;do{if(t.rt=0,t.tt=n,0!==t.We||c||(t.nt=0,c=!0),a=t.At(0),c&&a===it){if(0!==t.We)throw new s("inflating: bad input")}else if(0!==a&&1!==a)throw new s("inflating: "+t.Le);if((c||1===a)&&t.We===e.length)throw new s("inflating: bad input");t.rt&&(t.rt===n?f.push(new i(o)):f.push(o.subarray(0,t.rt))),h+=t.rt,r&&t.nt>0&&t.nt!=u&&(r(t.nt),u=t.nt)}while(t.We>0||0===t.tt);return f.length>1?(l=new i(h),f.forEach(e=>{l.set(e,w),w+=e.length})):l=f[0]?new i(f[0]):new i,l}},this.flush=()=>{t.Ct()}}kt.prototype={xt(e){const t=this;return t.gt=new gt,e||(e=15),t.gt.xt(t,e)},At(e){const t=this;return t.gt?t.gt.At(t,e):rt},Ct(){const e=this;if(!e.gt)return rt;const t=e.gt.Ct(e);return e.gt=null,t},It(){const e=this;return e.gt?e.gt.It(e):rt},_t(e,t){const n=this;return n.gt?n.gt._t(n,e,t):rt},ft(e){return this.et[e]},je(e,t){return this.et.subarray(e,e+t)}},self.initCodec=()=>{self.Deflate=nt,self.Inflate=vt};
236055
236058
  `, i = () => e.useDataURI ? "data:text/javascript," + encodeURIComponent(t) : URL.createObjectURL(new Blob([t], { type: "text/javascript" }));
236056
236059
  r({ workerScripts: { inflate: [i], deflate: [i] } });
236057
236060
  }