@arcgis/core 5.2.0-next.82 → 5.2.0-next.83

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 (126) hide show
  1. package/assets/components/assets/icon/deleteAndReplaceFeatures16.json +1 -0
  2. package/assets/components/assets/icon/deleteAndReplaceFeatures24.json +1 -0
  3. package/assets/components/assets/icon/deleteAndReplaceFeatures32.json +1 -0
  4. package/assets/components/assets/icon/moveAndRotate16.json +1 -0
  5. package/assets/components/assets/icon/moveAndRotate24.json +1 -0
  6. package/assets/components/assets/icon/moveAndRotate32.json +1 -0
  7. package/assets/esri/core/workers/RemoteClient.js +1 -1
  8. package/assets/esri/core/workers/chunks/028bee58f7bc19e5e39e.js +1 -0
  9. package/assets/esri/core/workers/chunks/{a2fd945659ce052f99d2.js → 03895d49fbd34ccb3ead.js} +1 -1
  10. package/assets/esri/core/workers/chunks/0775d1e3034d5e7ef7bc.js +1 -0
  11. package/assets/esri/core/workers/chunks/{95ff342e5c29bf91a765.js → 13a43c87d7952facbed4.js} +1 -1
  12. package/assets/esri/core/workers/chunks/{e59101f1d060d0a30a65.js → 14def8f47ae7265dd71b.js} +1 -1
  13. package/assets/esri/core/workers/chunks/1b00789511c9b27da4a7.js +1 -0
  14. package/assets/esri/core/workers/chunks/1b277311a4beb4243bf8.js +2 -0
  15. package/assets/esri/core/workers/chunks/1d03db4df18524cf391c.js +1 -0
  16. package/assets/esri/core/workers/chunks/24bfe759c8848143361e.js +1 -0
  17. package/assets/esri/core/workers/chunks/30dade7bf6032be32599.js +2 -0
  18. package/assets/esri/core/workers/chunks/{865f9adc591056458b6b.js → 33dc93d82407052fafe1.js} +1 -1
  19. package/assets/esri/core/workers/chunks/{0d982abff7c9496f7890.js → 3a6990058f1003bd2812.js} +1 -1
  20. package/assets/esri/core/workers/chunks/{0fd7590e545864f5fff4.js → 3ca0d503ce733088a6c2.js} +1 -1
  21. package/assets/esri/core/workers/chunks/46b3d6814ba4c0a71111.js +1 -0
  22. package/assets/esri/core/workers/chunks/49784f8e8e5fac0cc5a9.js +1 -0
  23. package/assets/esri/core/workers/chunks/{563a4d6788ad66b676e4.js → 5156d94f01b4fbbf8cde.js} +1 -1
  24. package/assets/esri/core/workers/chunks/{cdd4aeaa3f30bc4ea93a.js → 5568448e7f51508ffdf5.js} +1 -1
  25. package/assets/esri/core/workers/chunks/58e4aecabca047f1d229.js +1 -0
  26. package/assets/esri/core/workers/chunks/{218ddad849745d652a28.js → 5a3c1fe24814a345ab39.js} +1 -1
  27. package/assets/esri/core/workers/chunks/5b292831127bf981c1c5.js +1 -0
  28. package/assets/esri/core/workers/chunks/{bd1c870694edd25bf8aa.js → 5f13ade03500b39c1720.js} +1 -1
  29. package/assets/esri/core/workers/chunks/6154f4d39f9e53fe56cc.js +1 -0
  30. package/assets/esri/core/workers/chunks/62b116307483d5f0e37d.js +2 -0
  31. package/assets/esri/core/workers/chunks/6433a623af765b7e53ab.js +1 -0
  32. package/assets/esri/core/workers/chunks/65eff0ae773505495f21.js +1 -0
  33. package/assets/esri/core/workers/chunks/6d11b922898a8039dbe7.js +1 -0
  34. package/assets/esri/core/workers/chunks/7188559a685e0ba30c4f.js +1 -0
  35. package/assets/esri/core/workers/chunks/{faf14281a74a06fa1f30.js → 724b2631c9ced80a1661.js} +1 -1
  36. package/assets/esri/core/workers/chunks/7493ce5d02224c07a6d5.js +1 -0
  37. package/assets/esri/core/workers/chunks/7ad70c8a56f2481adc82.js +1 -0
  38. package/assets/esri/core/workers/chunks/7ca188f824956a5cac35.js +2 -0
  39. package/assets/esri/core/workers/chunks/852649460d664b0a1a1d.js +1 -0
  40. package/assets/esri/core/workers/chunks/{ab10388dcc17a665ac3b.js → 8e1b913067b8e88ff365.js} +2 -2
  41. package/assets/esri/core/workers/chunks/{e3eab61815ef1c521a6c.js → 9568932bafe689c38f63.js} +1 -1
  42. package/assets/esri/core/workers/chunks/{c8d83f71326222b98608.js → 996ac351e2322298a17d.js} +1 -1
  43. package/assets/esri/core/workers/chunks/{34f6093d2c00e3584037.js → 9be05d32528b395a7d34.js} +1 -1
  44. package/assets/esri/core/workers/chunks/{552d6aecc7d88d16227b.js → 9d41c02601d0bb75b525.js} +1 -1
  45. package/assets/esri/core/workers/chunks/{64a1ffc221e5b63b43fb.js → a4bb0951e1389e7b803c.js} +1 -1
  46. package/assets/esri/core/workers/chunks/{b09e9ac5fd928e69b053.js → aabffe53508730e504ec.js} +1 -1
  47. package/assets/esri/core/workers/chunks/b61c30cdf698b4d1573a.js +1 -0
  48. package/assets/esri/core/workers/chunks/bbb97c38d8670329d07e.js +2 -0
  49. package/assets/esri/core/workers/chunks/bd8b483e70acf0fc601e.js +1 -0
  50. package/assets/esri/core/workers/chunks/bef32acf368b4d5aba37.js +1 -0
  51. package/assets/esri/core/workers/chunks/c90dfdf2302b7db1f6f7.js +1 -0
  52. package/assets/esri/core/workers/chunks/{8a36b999cbd65dd2f16c.js → d8c3bdc3c6be8ba7c5e6.js} +1 -1
  53. package/assets/esri/core/workers/chunks/{40b842d055b87e442156.js → f20b88f5a6d3b988a055.js} +1 -1
  54. package/assets/esri/core/workers/chunks/{f248131df4eaa5291623.js → f6ae0c483579e227a2f2.js} +1 -1
  55. package/config.js +1 -1
  56. package/geometry/support/spatialReferenceUtils.js +1 -1
  57. package/kernel.js +1 -1
  58. package/package.json +2 -2
  59. package/renderers/UniqueValueRenderer.js +1 -1
  60. package/support/revision.js +1 -1
  61. package/views/2d/engine/vectorTiles/buckets/SymbolBucket.js +1 -1
  62. package/views/2d/engine/vectorTiles/style/GeoJSONLabelUtils.js +2 -0
  63. package/views/2d/engine/vectorTiles/style/StyleLayer.js +1 -1
  64. package/views/2d/engine/vectorTiles/style/StyleRepository.js +1 -1
  65. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AAnimatedShader.js +1 -1
  66. package/views/3d/GroundView3D.js +1 -1
  67. package/views/3d/analysis/LineOfSight/LineOfSightAuthoringUtils.js +1 -1
  68. package/views/3d/analysis/LineOfSight/LineOfSightItemTool.js +1 -1
  69. package/views/3d/analysis/LineOfSight/LineOfSightObserverPlugin.js +1 -1
  70. package/views/3d/analysis/LineOfSight/LineOfSightPlacementLeafPlugin.js +1 -1
  71. package/views/3d/analysis/LineOfSight/LineOfSightRootPlugin.js +1 -1
  72. package/views/3d/analysis/LineOfSight/LineOfSightTargetPlugin.js +1 -1
  73. package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
  74. package/views/3d/analysis/LineOfSight/lineOfSightPlacementUtils.js +1 -1
  75. package/views/3d/input/SceneInputManager.js +1 -1
  76. package/views/3d/input/handlers/PinchAndPanNavigation.js +1 -1
  77. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  78. package/views/3d/layers/IntegratedMeshLayerView3D.js +1 -1
  79. package/views/3d/state/controllers/PinchAndPanControllerGlobal.js +1 -1
  80. package/views/3d/state/controllers/PinchAndPanControllerLocal.js +1 -1
  81. package/views/3d/state/controllers/ZoomControllerGlobal.js +1 -1
  82. package/views/3d/state/utils/navigationUtils.js +1 -1
  83. package/views/3d/support/GroundAndIMSurface.js +2 -0
  84. package/views/3d/support/pointsOfInterest/CameraOnSurface.js +1 -1
  85. package/views/3d/support/pointsOfInterest/CenterOnSurface.js +1 -1
  86. package/views/3d/support/pointsOfInterest/PointOfInterest.js +1 -1
  87. package/views/3d/support/pointsOfInterest/PointsOfInterest.js +1 -1
  88. package/views/3d/terrain/OverlayManager.js +1 -1
  89. package/views/3d/webgl-engine/materials/renderers/MergedRenderer.js +1 -1
  90. package/views/3d/webgl-engine/materials/renderers/PerBufferData.js +1 -1
  91. package/views/SceneView.js +1 -1
  92. package/views/draw/support/PluginContext.js +1 -1
  93. package/views/draw/support/types.d.ts +6 -0
  94. package/views/interactive/interactiveToolUtils.js +1 -1
  95. package/widgets/Widget.js +1 -1
  96. package/widgets/support/jsxWidgetSupport.js +1 -1
  97. package/assets/esri/core/workers/chunks/0dcfd82a2669df6eb5a0.js +0 -1
  98. package/assets/esri/core/workers/chunks/1352b5c6767e5421bc02.js +0 -1
  99. package/assets/esri/core/workers/chunks/14469f664fd5ede469fc.js +0 -1
  100. package/assets/esri/core/workers/chunks/177c3b23c1cbd4737049.js +0 -1
  101. package/assets/esri/core/workers/chunks/21f763694a41968ac21a.js +0 -1
  102. package/assets/esri/core/workers/chunks/230925079cee040a8d77.js +0 -1
  103. package/assets/esri/core/workers/chunks/25696c194457e42b3bdc.js +0 -1
  104. package/assets/esri/core/workers/chunks/469e72ab6cd44272f474.js +0 -1
  105. package/assets/esri/core/workers/chunks/4f36596280142be1c666.js +0 -1
  106. package/assets/esri/core/workers/chunks/53d80202b5f43542d45b.js +0 -1
  107. package/assets/esri/core/workers/chunks/6c389e9646a48c26da20.js +0 -2
  108. package/assets/esri/core/workers/chunks/6f08c8a1e8e3ffd0a96a.js +0 -1
  109. package/assets/esri/core/workers/chunks/71ee7c51d2c60a180f1e.js +0 -1
  110. package/assets/esri/core/workers/chunks/927582ec15bff2acbb49.js +0 -1
  111. package/assets/esri/core/workers/chunks/98739b6e7904045edbab.js +0 -1
  112. package/assets/esri/core/workers/chunks/a69c10bfd632a5546b34.js +0 -1
  113. package/assets/esri/core/workers/chunks/ac9a3dfd02160e43fc8a.js +0 -2
  114. package/assets/esri/core/workers/chunks/c456abf5ee2a1ad5cc5b.js +0 -1
  115. package/assets/esri/core/workers/chunks/c61e94806b37ca3dd549.js +0 -2
  116. package/assets/esri/core/workers/chunks/c899457f19b749516275.js +0 -1
  117. package/assets/esri/core/workers/chunks/d0c8630177d3a4e316f1.js +0 -2
  118. package/assets/esri/core/workers/chunks/da0ef984509057ec8507.js +0 -1
  119. package/assets/esri/core/workers/chunks/ead4143d811aab610e00.js +0 -2
  120. package/assets/esri/core/workers/chunks/ffe2cbfea38b92a231d6.js +0 -1
  121. /package/assets/esri/core/workers/chunks/{d0c8630177d3a4e316f1.js.LICENSE.txt → 1b277311a4beb4243bf8.js.LICENSE.txt} +0 -0
  122. /package/assets/esri/core/workers/chunks/{ead4143d811aab610e00.js.LICENSE.txt → 30dade7bf6032be32599.js.LICENSE.txt} +0 -0
  123. /package/assets/esri/core/workers/chunks/{ac9a3dfd02160e43fc8a.js.LICENSE.txt → 62b116307483d5f0e37d.js.LICENSE.txt} +0 -0
  124. /package/assets/esri/core/workers/chunks/{6c389e9646a48c26da20.js.LICENSE.txt → 7ca188f824956a5cac35.js.LICENSE.txt} +0 -0
  125. /package/assets/esri/core/workers/chunks/{ab10388dcc17a665ac3b.js.LICENSE.txt → 8e1b913067b8e88ff365.js.LICENSE.txt} +0 -0
  126. /package/assets/esri/core/workers/chunks/{c61e94806b37ca3dd549.js.LICENSE.txt → bbb97c38d8670329d07e.js.LICENSE.txt} +0 -0
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 62b116307483d5f0e37d.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7510],{102(t,e,s){s.d(e,{s:()=>h});const i=Symbol.for("controller");let o;const n=t=>o;let r,a=[];const c=t=>{const e=n().manager.X(t);if(void 0!==e)return e;if((t=>"object"==typeof t&&null!==t&&(i in t||"hostConnected"in t||"hostDisconnected"in t||"hostUpdate"in t||"hostUpdated"in t))(t))return t;const s=(()=>{const t=r;return r=void 0,t})();return void 0!==s?s:void 0};let h=!1;s.d(e,["a",0,t=>{o!==t&&(o=t,queueMicrotask(()=>o===t?o=void 0:0))},"b",0,t=>{if(void 0===t)return void(a=[]);const e=a.indexOf(t);a=-1===e?[...a,t]:a.slice(0,e+1),queueMicrotask(()=>a=[])},"c",0,i,"d",0,()=>a,"e",0,t=>{h=!0;try{return t()}finally{h=!1}},"h",0,t=>{r!==t&&(r=t,queueMicrotask(()=>r===t?r=void 0:0))},"i",0,t=>"function"==typeof t?.then,"j",0,async t=>{const e=c(t);return await e.ready,e},"k",0,c,"r",0,n,"u",0,async(t,e)=>{const s=c(t);if(void 0===s)return t;if(await s.ready,"function"==typeof e){const t=s.watchExports(s=>e(s,t))}return s.exports}])},52446(t,e,s){s.d(e,{C:()=>f});var i=s(67468),o=s(102),n=s(46913),r=s(82987),a=s(27748);let c;const h=()=>{c?.forEach(({callbacks:t},e)=>{const s=Object.keys(e);t.forEach(t=>t(s))}),c=void 0},l=(t,e,s)=>{const o=t.manager;return o.V!==n.s6&&o.V!==s&&o.S(void 0,void 0),0===o.T.length&&queueMicrotask(()=>o.S(void 0,void 0)),o.V=s,o.T.push((t,o)=>(0,i.UF)(e,void 0,s===o?t:void 0)),s},d=(t=[(0,o.r)(),...(0,o.d)()],e,s)=>{const n=Array.isArray(t)?t:[t];let r=n.length+1;const a=t=>{r-=1,void 0!==t&&(r=Math.min(r,0)),0===r&&e(t)};n.forEach(t=>((t,e,s)=>{const o=Object.keys(t),n=o.length;void 0===c&&queueMicrotask(h),c??=new Map;let r=c.get(t);return void 0===r&&(r={callbacks:[],keyCount:n},c.set(t,r)),r.keyCount!==n&&(r.callbacks.forEach(t=>t(o)),r.callbacks=[],r.keyCount=n),r.callbacks.push(o=>{const r=t=>(0,i.UF)(e,null,t),a=o[n];void 0===a?r(void 0):t[a]===s?r(a):r(void 0)}),s})(t,e=>a(void 0===e?void 0:{key:e,host:t,isReactive:!1}),s));for(const t of n)if("manager"in t&&t.manager.component===t){l(t,e=>a(void 0===e?void 0:{key:e,host:t,isReactive:!0}),s);break}return s},u=((t="",e={},s=(0,o.r)())=>{const i={emit:i=>{""===t&&h();const o=new CustomEvent(t,{detail:i,cancelable:!0,bubbles:!0,composed:!0,...e});return s.el.dispatchEvent(o),o}};return""===t&&d(void 0,e=>t=e.key,i),i}).bind(null,"");var p;p=o.c;class f{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#i=[],this.#o=[],this.#n=[],this.#r=[],this.#a=[],this.#c=[],this.#h=!1,this.P=new r.cY,this.connectedCalled=!1,this.loadedCalled=!1,this[p]=!0,this.#l=[];const e=this,s=t??(0,o.r)(new.target.name);e.#d=s,e.ready=e.P.promise,e.#u=g(e),e.component=s,e.#d.addController(e),void 0===e.#d.manager||((0,o.b)(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#i;#o;#n;#r;#a;#c;#h;#d;catchUpLifecycle(){const{manager:t}=this.#d;!t.connectedCalled||this.connectedCalled||this.triggerConnected(),!t.#h||this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch((0,a.G3)(this.#d))}#u;get exports(){return this.#u}set exports(t){const e=this.#u;e!==t&&(this.#u=t,this.#l.forEach(i.UF),this.connectedCalled&&!1!==this.O&&this.#d.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#u=e?g(t):t,this.#l.forEach(i.UF)}#l;watchExports(t){const e=()=>t(this.#u);return this.#l.push(e),()=>{this.#l.splice(this.#l.indexOf(e),1)}}get use(){return(0,o.a)(this.#d),o.u}get useRef(){return(0,o.a)(this.#d),o.j}get useRefSync(){return(0,o.a)(this.#d),o.k}controllerRemoved(){this.#d.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#i.push(t)}onUpdate(t){this.#o.push(t)}onUpdated(t){this.#n.push(t)}onDestroy(t){this.#r.push(t)}onLifecycle(t){this.#a.push(t),this.connectedCalled&&this.#d.el.isConnected&&this.#p(t)}triggerConnected(){const t=this;t.hostConnected&&(0,i.UF)(t.hostConnected,t),t.#t.forEach(i.UF),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){const t=this;t.hostDisconnected&&(0,i.UF)(t.hostDisconnected,t),t.#e.forEach(i.UF),t.#c.forEach(i.UF),t.#c=[]}async triggerLoad(){if(this.#h)return;this.#h=!0;const t=this;t.hostLoad&&await(0,i.ao)(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(i.ao)),this.P.resolve(this.#u)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&(0,i.UF)(this.hostLoaded,this),this.#i.forEach(i.UF),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&(0,i.UF)(this.hostUpdate,this,t),this.#o.forEach(m,t)}triggerUpdated(t){this.hostUpdated&&(0,i.UF)(this.hostUpdated,this,t),this.#n.forEach(m,t)}triggerDestroy(){this.hostDestroy&&(0,i.UF)(this.hostDestroy,this),this.#r.forEach(i.UF)}triggerLifecycle(){this.hostLifecycle&&this.#p(()=>this.hostLifecycle()),this.#a.forEach(this.#p,this)}#p(t){(0,o.a)(this.#d);const e=(0,i.UF)(t);(Array.isArray(e)?e:[e]).forEach(t=>{"function"==typeof t?this.#c.push(t):"object"==typeof t&&"function"==typeof t.remove&&this.#c.push(t.remove)})}}function m(t){(0,i.UF)(t,void 0,this)}const g=t=>{if("object"!=typeof t&&"function"!=typeof t||null===t)return t;const e=new Proxy(t,{get(t,s,i){if("exports"!==s&&"_exports"!==s||!(s in t)||t[s]!==e)return s in t||s in Promise.prototype||"symbol"==typeof s?"function"==typeof t?t[s]:Reflect.get(t,s,i):void 0}});return e},y=f;s.d(e,["G",0,y,"c",0,u,"p",0,h,"t",0,d])},26009(t,e,s){s.d(e,{WF:()=>T,le:()=>L,s6:()=>P,CP:()=>k,zl:()=>O,Bq:()=>R,pf:()=>M});var i=s(52446);s(22343);var o=s(82987);const n=t=>{let e=t;for(;e=e.parentNode??e.host;)if(e?.constructor?.lumina){const s=e;return s.manager?.loadedCalled||(s.J??s._offspring).push(t),(s.I??s._postLoad).promise}return!1},r={};function a(){}function c(t){for(const e of["Associated","Disabled","Reset","StateRestore"]){const s=`orm${e}Callback`;t.prototype["f"+s]=async function(...t){await this.componentOnReady(),(this.el??this).dispatchEvent(new CustomEvent(`luminaF${s}`,{detail:t}))}}}const h=Object.defineProperty,l=globalThis.HTMLElement??a;class d extends l{constructor(){super(),this.#f={},this.#m=[],this.I=new o.cY,this.H=new o.cY,this.J=[];const t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(e=>{Object.hasOwn(t,e)&&(t.#f[e]=t[e],delete t[e])}),e.A?t.#g({a:e.A}):e.B.then(async s=>{await e.K.p,t.#g(await(s.default?.then(t=>"function"==typeof t?{a:t}:t)??s))}).catch(e=>{t.H.reject(e),setTimeout(()=>{throw e})})}static{this.lumina=!0}static F(){for(const t of this.C??[])h(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#f[t]},set(e){this.#f[t]=e}});for(const t of this.E??[])h(this.prototype,t,{async value(...e){this.#y||await this.H.promise;const s=this.#y;return await s[t](...e)},configurable:!0});for(const t of this.D??[])h(this.prototype,t,{value(...e){return this.#y[t](...e)},configurable:!0})}static{c(this)}#y;#f;#m;get manager(){return this.#y?.manager}attributeChangedCallback(t,e,s){this.#y?.attributeChangedCallback(t,e,s),this.#y||this.#m.push(t)}connectedCallback(){this.#y?this.#y.connectedCallback?.():queueMicrotask(()=>this.G=n(this))}disconnectedCallback(){this.#y?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#g(t){const e=this.constructor,s=e.L,i=this.#f,o=Object.values(t).find(t=>t.L===s),n=`${s}--lazy`;let r=o;for(;r&&!Object.hasOwn(r,"lumina");)r=Object.getPrototypeOf(r);p(r),!e.A&&(e.A=o,customElements.define(n,o)),o.N=this;const a=document.createElement(n);o.N=void 0,this.#y=a,this.#f=a,this.#m.forEach(t=>a.attributeChangedCallback(t,null,this.getAttribute(t))),Object.entries(i).forEach(u,a);const c=this.isConnected;(c||this.G)&&(a.connectedCallback?.(),c||a.disconnectedCallback())}addController(){}requestUpdate(){this.#y?.requestUpdate()}}function u([t,e]){this[t]=e}const p=t=>{const e=t.prototype,s=Element.prototype;Object.hasOwn(e,"isConnected")||(e.setAttribute=function(t,e){s.setAttribute.call(this.el,t,e)},e.removeAttribute=function(t){s.removeAttribute.call(this.el,t)},e.hasAttribute=function(t){return s.hasAttribute.call(this.el,t)},h(e,"isConnected",{get(){return Reflect.get(s,"isConnected",this.el)}}))};var f=s(67468),m=s(72061),g=s(46913),y=s(102);class $ extends i.G{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=g.s6,this.T=[],this.#$=new WeakMap,this.#d=t,this.exports=void 0,this.hasDestroy=v in t&&"function"==typeof t.destroy,g.WF.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){const e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${v} prop.`)}void 0!==this.#A&&clearTimeout(this.#A),(0,i.p)();for(const e of t.M)"triggerConnected"in e?e.triggerConnected():(0,f.UF)(e.hostConnected,e)},hostDisconnected:()=>{for(const e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():(0,f.UF)(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(const e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):(0,f.UF)(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(const e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):(0,f.UF)(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),(0,y.a)(t)}#A;#d;async destroy(){if(!this.destroyed){this.#d.el.isConnected&&(this.hasDestroy=!1,this.#d.el.remove()),this.#A=void 0,this.destroyed=!0;for(const t of this.#d.M)"triggerDestroy"in t?t.triggerDestroy():(0,f.UF)(t.hostDestroy,t);this.#d.M.splice(0)}}U(){if(void 0!==this.#A&&clearTimeout(this.#A),!this.#d.el.isConnected&&!this.#d.autoDestroyDisabled){const t=()=>{this.#d.destroy()};this.#A=(0,o.oK)(t,A)}}S(t,e){const s=this.T;this.V=g.s6,this.T=[],s.forEach(s=>s(t,e))}#$;W(t,e){("object"==typeof e&&null!==e||"function"==typeof e)&&this.#$.set(e,t)}X(t){return"object"==typeof t&&null!==t||"function"==typeof t?this.#$.get(t):void 0}}let A=1e3;const v="autoDestroyDisabled";var b=s(60496),_=s(43356);const C=(0,_.u$)(class extends _.WL{constructor(t){if(super(t),t.type!==_.OA.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(t=>""!==t)));for(const t in e)e[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(e)}const s=t.element.classList;for(const t of this.st)t in e||(s.remove(t),this.st.delete(t));for(const t in e){const i=!!e[t];i===this.st.has(t)||this.nt?.has(t)||(i?(s.add(t),this.st.add(t)):(s.remove(t),this.st.delete(t)))}return b.c0}}),E="important",w=" !"+E,U=(0,_.u$)(class extends _.WL{constructor(t){if(super(t),t.type!==_.OA.ATTRIBUTE||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,s)=>{const i=t[s];return null==i?e:e+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(t,[e]){const{style:s}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(e)),this.render(e);for(const t of this.ft)null==e[t]&&(this.ft.delete(t),t.includes("-")?s.removeProperty(t):s[t]=null);for(const t in e){const i=e[t];if(null!=i){this.ft.add(t);const e="string"==typeof i&&i.endsWith(w);t.includes("-")||e?s.setProperty(t,e?i.slice(0,-11):i,e?E:""):s[t]=i}}return b.c0}});s(81718);var S=s(19313);class T extends g.WF{constructor(){super(),this.M=[],this.manager=new $(this);const t=this,e=t.constructor,s=e.N,i=e.K.o,n=T.prototype.shouldUpdate;t.#v=s?.H??new o.cY,t.I=s?.I??new o.cY,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#b=t.enableUpdating,t.enableUpdating=a,t.shouldUpdate!==n&&(t.#_=t.shouldUpdate,t.shouldUpdate=n),i&&(t.#C=new Map,e.elementProperties.forEach((e,s)=>t.#C.set(s,i()))),g.S$&&t.el.setAttribute(e.K.hydratedAttribute,"")}static finalizeStyles(t){const e=super.finalizeStyles(t),s=this.shadowRootOptions===r;return void 0===this.K?.commonStyles||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){const s="number"==typeof e?e:Array.isArray(e)?e[0]:0,i=Array.isArray(e)?e[1]:void 0,o=i?.hasChanged??g.Ec,n={attribute:!!(1&s&&"string"==typeof t)&&(0,m.j1)(t),reflect:!!(2&s),type:4&s?Boolean:8&s?Number:void 0,state:!!(16&s),readOnly:!!(32&s),noAccessor:!!(64&s),useDefault:!!(128&s),c:!1,...i,hasChanged(t,e){const s=o(t,e);return n.c=s,s}};super.createProperty(t,n)}static getPropertyDescriptor(t,e,s){const o=this.K,n=super.getPropertyDescriptor(t,e,s);return s.d=n,{...n,get(){return o.t?.(this.#C.get(t)),n.get?.call(this)},set(e){const o=this.manager;if(s.readOnly&&!y.s&&(o.R||o.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${e}"`);n.set.call(this,e??void 0),s.c&&this.#C?.get(t)?.notify(),o.T.length>0&&((0,i.p)(),o?.S(t,e))}}}static{this.lumina=!0}static{c(this)}#C;#_;#b;#v;#E;#w;get elementInternals(){return this.#w??=this.el.attachInternals(),this.#w}connectedCallback(){this.hasAttribute("defer-hydration")||this.#U(!0)}#U(t){const e=this.constructor.K.c?.(()=>this.requestUpdate());this.#E=e;const s=!this.manager.connectedCalled;t&&super.connectedCallback(),s?queueMicrotask(()=>this.#S().catch(t=>{this.#v.reject(t),setTimeout(()=>{throw t})})):e&&this.requestUpdate()}#T(t){try{this.#E.clear(),this.constructor.K.r(this.#E,()=>super.update(t))}catch(t){throw this.#E.clear(),t}}disconnectedCallback(){super.disconnectedCallback(),this.#E?.destroy(),this.#E=void 0}createRenderRoot(){const t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,i=t??(s===r?this.el:this.el.attachShadow(s));if(t)return this.manager.connectedCalled||this.#U(!1),g.WF.prototype.createRenderRoot.call(this),t;if(this.isConnected){const t=i.getRootNode();t.adoptedStyleSheets=[...t.adoptedStyleSheets,...e.elementStyles.map(t=>"styleSheet"in t?t.styleSheet:t)]}return i}async#S(){const t=this.el.G??n(this.el);t&&await t;const e=[];for(const t of this.M)"triggerLoad"in t?e.push(t.triggerLoad()):e.push((0,f.ao)(t.hostLoad,t));await Promise.all(e),await(this.load?.()),this.manager.hasDestroy&&this.manager.onUpdate(t=>t.has(v)&&this.manager.U()),this.#b(!0),this.performUpdate(),this.I.resolve(),await 0;const s=this.J.filter(t=>!t.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async t=>await t.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(const t of this.M)"triggerLoaded"in t?t.triggerLoaded():(0,f.UF)(t.hostLoaded,t);this.loaded?.(),this.#v.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#_?.(t)??!0}update(t){this.#E?this.#T(t):super.update(t)}listen(t,e,s){const i=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,i,s),()=>this.el.removeEventListener(t,i,s)))}listenOn(t,e,s,i){const o=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,o,i),()=>t.removeEventListener(e,o,i)))}async componentOnReady(){return await this.#v.promise,this}addController(t){this.M.push(t),!(y.c in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}}const L=t=>{let e;const s=t=>{e=new URL(t,globalThis.location?.href||void 0).href},i={...t,getAssetPath(t){const s=new URL(t,e);return s.origin!==globalThis.location?.origin?s.href:s.pathname},setAssetPath:s,customElement(t,e){e.K=i,e.L=t,g.S$?function(){try{customElements.define(t,e)}catch{}}():customElements.get(t)||customElements.define(t,e)}};return s(t.defaultAssetPath),i},k=t=>"object"==typeof t&&null!=t?C(t):t,O=t=>"object"==typeof t&&null!=t?U(t):t;class x extends _.WL{#L;#k;constructor(t){super(t);const e=this;this.#k=function(t){return e.#L.call(this,t)}}render(t){return"function"==typeof t?(this.#L=t,(0,S.K)(this.#k)):(0,S.K)(t)}}(0,_.u$)(x);const P=g.s6;function R(t,e,s){null==s?t.removeAttribute(e):t.setAttribute(e,s)}const M={toAttribute:t=>!0===t?"":!1===t?null:t}},77166(t,e,s){s.d(e,{u:()=>n});const i={},o=(t,e)=>{let s=t;for(;s;){const t=s.closest?.(e);if(t)return t;const i=s.getRootNode?.();if(i===globalThis.document)return;s=i?.host}};function n(t){const e=o(t,".calcite-mode-dark, .calcite-mode-light, .calcite-mode-auto");return e?.classList.contains("calcite-mode-dark")||e?.classList.contains("calcite-mode-auto")&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}s.d(e,["g",0,(t,e,s)=>{const i=o(t,`[${e}]`);return i?.getAttribute(e)??s},"o",0,(t,e,s)=>(0,(t=>{const e=t.join(","),s=i[e];if(void 0!==s)return s;const o=new Set,n=new MutationObserver(t=>o.forEach(e=>e(t)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0});const r={subscribe:t=>(o.add(t),()=>{o.delete(t),0===o.size&&(n.disconnect(),i[e]=void 0)})};return i[e]=r,r})(e).subscribe)(e=>{const i=e.some(e=>((t,e)=>{let s=t;for(;s;){if(s===e)return!0;if(!s.parentNode)return!1;s=s.parentNode instanceof ShadowRoot?s.parentNode.host:s.parentNode}return!1})(t,e.target));i&&s()})])},67468(t,e,s){s.d(e,["UF",0,(t,e,...s)=>{try{return t?.call(e,...s)}catch(e){console.error(e,t)}},"ao",0,async(t,e,...s)=>{try{const i=t?.call(e,...s);return await i}catch(e){console.error(e,t)}}])},27748(t,e,s){const i=new Set;const o=t=>"string"==typeof t?t:"el"in t?t.el.localName:"localName"in t?t.localName:t.declaredClass;s.d(e,["G3",0,t=>{const e=`[${o(t)}] `;return t=>{const s=t instanceof Error&&t.message?t:new Error(String(t));s.message=`${e}${s.message}`,setTimeout(()=>{throw t})}},"Rm",0,(t,e,s,n)=>{const r=o(e);if(n?.once){const e=`${t}${r}${s}`;if(i.has(e))return;i.add(e)}let a;if(n?.detail){a={};for(const[t,e]of Object.entries(n.detail))if("object"!=typeof e&&"function"!=typeof e||null===e)a[t]=e;else{const s=new WeakRef(e);Object.defineProperty(a,t,{enumerable:!0,get:()=>s.deref()})}console[t](`[${r}]: ${s}`,a)}else console[t](`[${r}]: ${s}`)}])},82987(t,e,s){s.d(e,{cY:()=>i});class i{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}}s.d(e,["oK",0,(t,e)=>{const s=e>4e3?2e3:e/4;let i=0;const o=setInterval(()=>{i+=s,i>=e&&(clearInterval(o),t())},s);return o}])},72061(t,e,s){const i=/[A-Z]+(?![a-z])|[A-Z]/gu,o=t=>t.charAt(0).toUpperCase()+t.slice(1);crypto,s.d(e,["TK",0,t=>t.split("-").map(o).join(""),"YF",0,t=>t.charAt(0).toLowerCase()+t.slice(1),"j1",0,t=>t.replace(i,(t,e)=>`${0===e?"":"-"}${t.toLowerCase()}`)])},28030(t,e,s){s.d(e,{b:()=>g}),Object(function(){const t=new Error("Cannot find module '../cdn/main.css'");throw t.code="MODULE_NOT_FOUND",t}());var i=s(26009),o=s(46913);const n="calcite-mode-auto",r="calcite-mode-dark",a={autoMode:n,darkMode:r,lightMode:"calcite-mode-light",rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left",screenReaderText:"screen-reader-text"};function c(){const{classList:t}=document.body,e=window.matchMedia("(prefers-color-scheme: dark)").matches,s=()=>t.contains(r)||t.contains(n)&&e?"dark":"light",i=t=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:t}})),o=t=>{a!==t&&i(t),a=t};let a=s();i(a),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",t=>o(t.matches?"dark":"light")),new MutationObserver(()=>o(s())).observe(document.body,{attributes:!0,attributeFilter:["class"]})}const h=new Set,l={trace:0,debug:1,info:2,warn:4,error:8,off:10};function d(t,...e){(function(t){return"off"!==t&&l[t]>=l[g().logLevel]})(t)&&console[t]("%ccalcite","background: #007AC2; color: #fff; border-radius: 4px; padding: 2px 4px;",...e)}let u;const p={debug:(t,...e)=>d("debug",t,...e),info:(t,...e)=>d("info",t,...e),warn:(t,...e)=>d("warn",t,...e),error:(t,...e)=>d("error",t,...e),trace:(t,...e)=>d("trace",t,...e),deprecated:function(t,{component:e,name:s,suggested:i,removalVersion:o}){const n=`${t}:${"component"===t?"":e}${s}`,r="future"===o?"a future version":`v${o}`;if(h.has(n))return;h.add(n);let a="";a="component"===t?`This component is deprecated and will be removed in ${r}.`:`The [${s}] ${t} is deprecated and will be removed in ${r}.`,i&&(u=new Intl.ListFormat("en",{style:"long",type:"disjunction"}),a+=` Use ${u.format([i].flat().map(t=>`"${t}"`))} instead.`),d("warn",`[${e.el.tagName.toLocaleLowerCase().slice(8)}] - ${a}`)}};let f;const m={focusTrapStack:[],logLevel:"info"};function g(){return f||(f={...m,...globalThis.calciteConfig??{}}),f}const y="5.2.0-next.52";o.S$||("interactive"===document.readyState?c():document.addEventListener("DOMContentLoaded",c,{once:!0})),queueMicrotask(function(){const t=g();t&&t.version||(p.info(`Using Calcite Components ${y} [Date: 2026-08-18, Revision: 0ef5563f1]`),Object.defineProperty(t,"version",{value:y,writable:!1}),globalThis.calciteConfig=t)});const $=(0,i.le)({defaultAssetPath:"https://cdn.jsdelivr.net/npm/@esri/calcite-components@5.2.0-next.52/dist/cdn/",hydratedAttribute:"calcite-hydrated"}),{customElement:A,getAssetPath:v,setAssetPath:b}=$;s.d(e,["C",0,a,"D",0,{filter:250,nextTick:0,resize:150,reposition:100},"c",0,A,"g",0,v,"l",0,p,"s",0,b])},45767(t,e,s){s.d(e,{qu:()=>o});var i=s(28030);let o=!1;s.d(e,["Qu",0,t=>{o=!0,(0,i.s)(t)}])},22343(t,e,s){s.d(e,{mN:()=>w,AH:()=>c,Ec:()=>C});const i=globalThis,o=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),r=new WeakMap;class a{constructor(t,e,s){if(this._$cssResult$=!0,s!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(o&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&r.set(e,t))}return t}toString(){return this.cssText}}const c=(t,...e)=>{const s=1===t.length?t[0]:e.reduce((e,s,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[i+1],t[0]);return new a(s,t,n)},h=(t,e)=>{if(o)t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const s of e){const e=document.createElement("style"),o=i.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=s.cssText,t.appendChild(e)}},l=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,n))(e)})(t):t,{is:d,defineProperty:u,getOwnPropertyDescriptor:p,getOwnPropertyNames:f,getOwnPropertySymbols:m,getPrototypeOf:g}=Object,y=globalThis,$=y.trustedTypes,A=$?$.emptyScript:"",v=y.reactiveElementPolyfillSupport,b=(t,e)=>t,_={toAttribute(t,e){switch(e){case Boolean:t=t?A:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},C=(t,e)=>!d(t,e),E={attribute:!0,type:String,converter:_,reflect:!1,useDefault:!1,hasChanged:C};Symbol.metadata??=Symbol("metadata"),y.litPropertyMetadata??=new WeakMap;class w extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=E){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);void 0!==i&&u(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:o}=p(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:i,set(e){const n=i?.call(this);o?.call(this,e),this.requestUpdate(t,n,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??E}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=g(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,e=[...f(t),...m(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const s=this._$Eu(t,e);void 0!==s&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift(l(t))}else void 0!==t&&e.push(l(t));return e}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return h(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(void 0!==i&&!0===s.reflect){const o=(void 0!==s.converter?.toAttribute?s.converter:_).toAttribute(e,s.type);this._$Em=t,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._$Em=null}}_$AK(t,e){const s=this.constructor,i=s._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=s.getPropertyOptions(i),o="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:_;this._$Em=i;const n=o.fromAttribute(e,t.type);this[i]=n??this._$Ej?.get(i)??n,this._$Em=null}}requestUpdate(t,e,s,i=!1,o){if(void 0!==t){const n=this.constructor;if(!1===i&&(o=this[t]),s??=n.getPropertyOptions(t),!((s.hasChanged??C)(o,e)||s.useDefault&&s.reflect&&o===this._$Ej?.get(t)&&!this.hasAttribute(n._$Eu(t,s))))return;this.C(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:o},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),!0!==o||void 0!==n)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),!0===i&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,s]of t){const{wrapped:t}=s,i=this[e];!0!==t||this._$AL.has(e)||void 0===i||this.C(e,void 0,s,i)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(t=>t.hostUpdate?.()),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(t=>this._$ET(t,this[t])),this._$EM()}updated(t){}firstUpdated(t){}}w.elementStyles=[],w.shadowRootOptions={mode:"open"},w[b("elementProperties")]=new Map,w[b("finalized")]=new Map,v?.({ReactiveElement:w}),(y.reactiveElementVersions??=[]).push("2.1.2")},38632(t,e,s){var i=s(60496);const{I:o}=i.ge,n={};s.d(e,["Rt",0,t=>void 0===t.strings,"mY",0,(t,e=n)=>t._$AH=e])},43356(t,e,s){s.d(e,{WL:()=>i});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}s.d(e,["OA",0,{ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},"u$",0,t=>(...e)=>({_$litDirective$:t,values:e})])},60496(t,e,s){const i=globalThis,o=t=>t,n=i.trustedTypes,r=n?n.createPolicy("lit-html",{createHTML:t=>t}):void 0,a="$lit$",c=`lit$${Math.random().toFixed(9).slice(2)}$`,h="?"+c,l=`<${h}>`,d=document,u=()=>d.createComment(""),p=t=>null===t||"object"!=typeof t&&"function"!=typeof t,f=Array.isArray,m=t=>f(t)||"function"==typeof t?.[Symbol.iterator],g="[ \t\n\f\r]",y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,$=/-->/g,A=/>/g,v=RegExp(`>|${g}(?:([^\\s"'>=/]+)(${g}*=${g}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),b=/'/g,_=/"/g,C=/^(?:script|style|textarea|title)$/i,E=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),w=E(1),U=E(2),S=E(3),T=Symbol.for("lit-noChange"),L=Symbol.for("lit-nothing"),k=new WeakMap,O=d.createTreeWalker(d,129);function x(t,e){if(!f(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==r?r.createHTML(e):e}const P=(t,e)=>{const s=t.length-1,i=[];let o,n=2===e?"<svg>":3===e?"<math>":"",r=y;for(let e=0;e<s;e++){const s=t[e];let h,d,u=-1,p=0;for(;p<s.length&&(r.lastIndex=p,d=r.exec(s),null!==d);)p=r.lastIndex,r===y?"!--"===d[1]?r=$:void 0!==d[1]?r=A:void 0!==d[2]?(C.test(d[2])&&(o=RegExp("</"+d[2],"g")),r=v):void 0!==d[3]&&(r=v):r===v?">"===d[0]?(r=o??y,u=-1):void 0===d[1]?u=-2:(u=r.lastIndex-d[2].length,h=d[1],r=void 0===d[3]?v:'"'===d[3]?_:b):r===_||r===b?r=v:r===$||r===A?r=y:(r=v,o=void 0);const f=r===v&&t[e+1].startsWith("/>")?" ":"";n+=r===y?s+l:u>=0?(i.push(h),s.slice(0,u)+a+s.slice(u)+c+f):s+c+(-2===u?e:f)}return[x(t,n+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),i]};class R{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let o=0,r=0;const l=t.length-1,d=this.parts,[p,f]=P(t,e);if(this.el=R.createElement(p,s),O.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=O.nextNode())&&d.length<l;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(a)){const e=f[r++],s=i.getAttribute(t).split(c),n=/([.?@])?(.*)/.exec(e);d.push({type:1,index:o,name:n[2],strings:s,ctor:"."===n[1]?H:"?"===n[1]?I:"@"===n[1]?F:j}),i.removeAttribute(t)}else t.startsWith(c)&&(d.push({type:6,index:o}),i.removeAttribute(t));if(C.test(i.tagName)){const t=i.textContent.split(c),e=t.length-1;if(e>0){i.textContent=n?n.emptyScript:"";for(let s=0;s<e;s++)i.append(t[s],u()),O.nextNode(),d.push({type:2,index:++o});i.append(t[e],u())}}}else if(8===i.nodeType)if(i.data===h)d.push({type:2,index:o});else{let t=-1;for(;-1!==(t=i.data.indexOf(c,t+1));)d.push({type:7,index:o}),t+=c.length-1}o++}}static createElement(t,e){const s=d.createElement("template");return s.innerHTML=t,s}}function M(t,e,s=t,i){if(e===T)return e;let o=void 0!==i?s._$Co?.[i]:s._$Cl;const n=p(e)?void 0:e._$litDirective$;return o?.constructor!==n&&(o?._$AO?.(!1),void 0===n?o=void 0:(o=new n(t),o._$AT(t,s,i)),void 0!==i?(s._$Co??=[])[i]=o:s._$Cl=o),void 0!==o&&(e=M(t,o._$AS(t,e.values),o,i)),e}class D{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=(t?.creationScope??d).importNode(e,!0);O.currentNode=i;let o=O.nextNode(),n=0,r=0,a=s[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new N(o,o.nextSibling,this,t):1===a.type?e=new a.ctor(o,a.name,a.strings,this,t):6===a.type&&(e=new W(o,this,t)),this._$AV.push(e),a=s[++r]}n!==a?.index&&(o=O.nextNode(),n++)}return O.currentNode=d,i}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class N{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=L,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=M(this,t,e),p(t)?t===L||null==t||""===t?(this._$AH!==L&&this._$AR(),this._$AH=L):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):m(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==L&&p(this._$AH)?this._$AA.nextSibling.data=t:this.T(d.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:s}=t,i="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=R.createElement(x(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new D(i,this),s=t.u(this.options);t.p(e),this.T(s),this._$AH=t}}_$AC(t){let e=k.get(t.strings);return void 0===e&&k.set(t.strings,e=new R(t)),e}k(t){f(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const o of t)i===e.length?e.push(s=new N(this.O(u()),this.O(u()),this,this.options)):s=e[i],s._$AI(o),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){const e=o(t).nextSibling;o(t).remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class j{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,o){this.type=1,this._$AH=L,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=o,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=L}_$AI(t,e=this,s,i){const o=this.strings;let n=!1;if(void 0===o)t=M(this,t,e,0),n=!p(t)||t!==this._$AH&&t!==T,n&&(this._$AH=t);else{const i=t;let r,a;for(t=o[0],r=0;r<o.length-1;r++)a=M(this,i[s+r],e,r),a===T&&(a=this._$AH[r]),n||=!p(a)||a!==this._$AH[r],a===L?t=L:t!==L&&(t+=(a??"")+o[r+1]),this._$AH[r]=a}n&&!i&&this.j(t)}j(t){t===L?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class H extends j{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===L?void 0:t}}class I extends j{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==L)}}class F extends j{constructor(t,e,s,i,o){super(t,e,s,i,o),this.type=5}_$AI(t,e=this){if((t=M(this,t,e,0)??L)===T)return;const s=this._$AH,i=t===L&&s!==L||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,o=t!==L&&(s===L||i);i&&this.element.removeEventListener(this.name,this,s),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class W{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){M(this,t)}}const z={M:a,P:c,A:h,C:1,L:P,R:D,D:m,V:M,I:N,H:j,N:I,U:F,B:H,F:W},B=i.litHtmlPolyfillSupport;B?.(R,N),(i.litHtmlVersions??=[]).push("3.3.3"),s.d(e,["JW",0,U,"XX",0,(t,e,s)=>{const i=s?.renderBefore??e;let o=i._$litPart$;if(void 0===o){const t=s?.renderBefore??null;i._$litPart$=o=new N(e.insertBefore(u(),t),t,void 0,s??{})}return o._$AI(t),o},"c0",0,T,"ej",0,S,"ge",0,z,"qy",0,w,"s6",0,L])},81718(t,e,s){s.d(e,{V:()=>r});var i=s(60496),o=s(43356),n=s(38632);const r=(0,o.u$)(class extends o.WL{constructor(t){if(super(t),t.type!==o.OA.PROPERTY&&t.type!==o.OA.ATTRIBUTE&&t.type!==o.OA.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!(0,n.Rt)(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===i.c0||e===i.s6)return e;const s=t.element,r=t.name;if(t.type===o.OA.PROPERTY){if(e===s[r])return i.c0}else if(t.type===o.OA.BOOLEAN_ATTRIBUTE){if(!!e===s.hasAttribute(r))return i.c0}else if(t.type===o.OA.ATTRIBUTE&&s.getAttribute(r)===e+"")return i.c0;return(0,n.mY)(t),e}})},19313(t,e,s){s.d(e,{_:()=>p,K:()=>g});var i=s(60496),o=s(38632),n=s(43356);const r=(t,e)=>{const s=t._$AN;if(void 0===s)return!1;for(const t of s)t._$AO?.(e,!1),r(t,e);return!0},a=t=>{let e,s;do{if(void 0===(e=t._$AM))break;s=e._$AN,s.delete(t),t=e}while(0===s?.size)},c=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(void 0===s)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),d(e)}};function h(t){void 0!==this._$AN?(a(this),this._$AM=t,c(this)):this._$AM=t}function l(t,e=!1,s=0){const i=this._$AH,o=this._$AN;if(void 0!==o&&0!==o.size)if(e)if(Array.isArray(i))for(let t=s;t<i.length;t++)r(i[t],!1),a(i[t]);else null!=i&&(r(i,!1),a(i));else r(this,t)}const d=t=>{t.type==n.OA.CHILD&&(t._$AP??=l,t._$AQ??=h)};class u extends n.WL{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),c(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(r(this,t),a(this))}setValue(t){if((0,o.Rt)(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}const p=()=>new f;class f{}const m=new WeakMap,g=(0,n.u$)(class extends u{render(t){return i.s6}update(t,[e]){const s=e!==this.G;return s&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=t.options?.host,this.rt(this.ct=t.element)),i.s6}rt(t){if(void 0!==this.G)if(this.isConnected||(t=void 0),"function"==typeof this.G){const e=this.ht??globalThis;let s=m.get(e);void 0===s&&(s=new WeakMap,m.set(e,s)),void 0!==s.get(this.G)&&this.G.call(this.ht,void 0),s.set(this.G,t),void 0!==t&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){return"function"==typeof this.G?m.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}})},46913(t,e,s){s.d(e,{WF:()=>r,AH:()=>i.AH,qy:()=>o.qy,S$:()=>!1,Ec:()=>i.Ec,s6:()=>o.s6,JW:()=>o.JW});var i=s(22343),o=s(60496);const n=globalThis;class r extends i.mN{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,o.XX)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return o.c0}}r._$litElement$=!0,r.finalized=!0,n.litElementHydrateSupport?.({LitElement:r});const a=n.litElementPolyfillSupport;a?.({LitElement:r}),(n.litElementVersions??=[]).push("4.2.2")}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7539],{68197(t,e,i){i.d(e,{A:()=>l});var s=i(40876),r=i(4576),n=i(34727),o=i(56507);function a(t){return(0,n.qE)((0,o.Vr)(t),0,255)}function h(t,e){const i=t.toString(16).padStart(2,"0");return e?i.slice(0,1):i}class l{static blendColors(t,e,i,s=new l){return s.r=Math.round(t.r+(e.r-t.r)*i),s.g=Math.round(t.g+(e.g-t.g)*i),s.b=Math.round(t.b+(e.b-t.b)*i),s.a=t.a+(e.a-t.a)*i,s._sanitize()}static fromRgb(t,e){const i=(0,s.lT)(t);return i?l.fromArray(i,e):null}static fromHex(t,e=new l){const i=(0,s.oW)(t);return i?l.fromArray(i,e):null}static fromArray(t,e=new l){return e._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(e.a)&&(e.a=1),e._sanitize()}static fromString(t,e){const i=(0,s.Eq)(t);return i?l.fromArray(i,e):null}static fromJSON(t){return null!=t?new l([t[0],t[1],t[2],(t[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(t){return t??=[0,0,0,0],t[0]=this.r/255,t[1]=this.g/255,t[2]=this.b/255,t[3]=null!=this.a?this.a:1,t}constructor(t){this.r=255,this.g=255,this.b=255,this.a=1,t&&this.setColor(t)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(t){if("string"==typeof t)l.fromString(t,this);else if((0,r.yc)(t))l.fromArray(t,this);else{const e=t;this._set(e.r??0,e.g??0,e.b??0,e.a??1),t instanceof l||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(t){const e=t?.capitalize??!1,i=t?.digits??6,s=3===i||4===i,r=4===i||8===i,n=`#${h(this.r,s)}${h(this.g,s)}${h(this.b,s)}${r?h(Math.round(255*this.a),s):""}`;return e?n.toUpperCase():n}toCss(t=!1){const e=this.r+", "+this.g+", "+this.b;return t?`rgba(${e}, ${this.a})`:`rgb(${e})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=0){const e=a(this.r),i=a(this.g),s=a(this.b);return 0===t||1!==this.a?[e,i,s,a(255*this.a)]:[e,i,s]}clone(){return new l(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(t){return null!=t&&t.r===this.r&&t.g===this.g&&t.b===this.b&&t.a===this.a}_sanitize(){return this.r=(0,s.c1)(this.r),this.g=(0,s.c1)(this.g),this.b=(0,s.c1)(this.b),this.a=(0,s.G1)(this.a),this}_set(t,e,i,s){this.r=t,this.g=e,this.b=i,this.a=s}}l.prototype.declaredClass="esri.Color"},40876(t,e,i){i.d(e,{Eq:()=>g,G1:()=>y,TS:()=>n,V6:()=>r,Vm:()=>d,ay:()=>h,c1:()=>f,c4:()=>o,j5:()=>l,lT:()=>u,oW:()=>c,xV:()=>w});const s={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function r(t){return!!s[t]||!!s[t.toLowerCase()]}function n(t){return s[t]??s[t.toLowerCase()]}function o(t){return[...n(t)]}function a(t,e,i){i<0&&++i,i>1&&--i;const s=6*i;return s<1?t+(e-t)*s:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function h(t,e,i,s=1){const r=(t%360+360)%360/360,n=i<=.5?i*(e+1):i+e-i*e,o=2*i-n;return[Math.round(255*a(o,n,r+1/3)),Math.round(255*a(o,n,r)),Math.round(255*a(o,n,r-1/3)),s]}function l(t){const e=t.length>5,i=e?8:4,s=(1<<i)-1,r=e?1:17,n=e?9===t.length:5===t.length;let o=Number("0x"+t.slice(1));if(isNaN(o))return null;const a=[0,0,0,1];let h;return n&&(h=o&s,o>>=i,a[3]=r*h/255),h=o&s,o>>=i,a[2]=r*h,h=o&s,o>>=i,a[1]=r*h,h=o&s,o>>=i,a[0]=r*h,a}function c(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),i=parseInt(t.slice(2,3),16),s=parseInt(t.slice(3,4),16),r=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,i+16*i,s+16*s,(r+16*r)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function u(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),i=e[1];if("rgb"===i&&3===t.length||"rgba"===i&&4===t.length){if(t[0].endsWith("%")){const e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),p(e)}return p(t.map(t=>parseFloat(t)))}if("hsl"===i&&3===t.length||"hsla"===i&&4===t.length)return h(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function p(t){return t[0]=f(t[0]),t[1]=f(t[1]),t[2]=f(t[2]),t[3]=4===t.length?y(t[3]):1,t}function g(t){let e=r(t)?n(t):null;return e??=u(t),e??=c(t),e}function d(t){const e=g(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function y(t){return m(t,0,1)}function f(t){return Math.round(m(t,0,255))}function m(t,e,i){return t=Number(t),isNaN(t)?i:t<e?e:t>i?i:t}const _=1/2.2;function w(t){return t**_}i.d(e,["iw",0,_])},563(t,e,i){i.d(e,{QueueProcessor:()=>l,SharedConcurrency:()=>u});var s=i(97768),r=i(17676),n=i(9775),o=i(32587),a=i(76030),h=i(44794);class l{constructor(t){this._schedule=null,this._deferreds=new o.A,this._controllers=new o.A,this._processingItems=new o.A,this._pausedSignal=(0,h.v)(!1),this.process=t.process,this.concurrency=t.concurrency,this.sharedConcurrency=t.sharedConcurrency??p,this._queue=new n.A(t.peeker)}destroy(){this.clear(),this._schedule=(0,s.xt)(this._schedule)}get updating(){return this.running}get length(){return this._processingItems.size+this._queue.length}get running(){return!this._pausedSignal.value&&this._queue.length>0&&!this.full}get full(){return this._processingItems.size>=this.concurrency||this.sharedConcurrency.full}abort(t){const e=this._controllers.get(t);e?.abort()}clear(){this._queue.clear();const t=Array.from(this._controllers.values());this._controllers.clear(),t.forEach(t=>t.abort()),this.sharedConcurrency.current.value-=this._processingItems.size,this._processingItems.clear(),this._cancelNext()}forEach(t){this._deferreds.forEach((e,i)=>t(i))}_get(t){const e=this._deferreds.get(t);return e?.promise}pause(){this._pausedSignal.value||(this._pausedSignal.value=!0,this._cancelNext())}push(t,e){const i=this._get(t);if(i)return i;const s=new AbortController,n=Promise.withResolvers(),o=e?(0,r.u7)(e,()=>s.abort()):null,a=(0,r.NY)(s.signal,()=>{const e=this._processingItems.get(t);e&&e.controller.abort(),h(),n.reject((0,r.NK)())}),h=()=>{a.remove(),o?.remove(),this._removeItem(t),this._queue.remove(t),this._scheduleNext()};return this._deferreds.set(t,n),this._controllers.set(t,s),n.promise.then(h,h),this._queue.push(t),this._scheduleNext(),n.promise}last(){return this._queue.last()}reset(){const t=Array.from(this._processingItems.values());this.sharedConcurrency.current.value-=this._processingItems.size,this._processingItems.clear();for(const e of t)this._queue.push(e.item),e.controller.abort();this._scheduleNext()}resume(){this._pausedSignal.value&&(this._pausedSignal.value=!1,this._scheduleNext())}takeAll(){const t=[];for(;this._queue.length;)t.push(this._queue.pop());return this.clear(),t}_removeItem(t){this._deferreds.delete(t),this._controllers.delete(t),this._processingItems.has(t)&&(this._processingItems.delete(t),this.sharedConcurrency.current.value-=1)}_scheduleNext(){this._pausedSignal.value||this._schedule||(this._schedule=(0,a._)(()=>{this._schedule=null,this._next()}))}_next(){for(;this._queue.length>0&&this._processingItems.size<this.concurrency&&!this.sharedConcurrency.full;)this._process(this._queue.pop())}_cancelNext(){this._schedule&&(this._schedule.remove(),this._schedule=null)}_processResult(t,e){this._canProcessFulfillment(t)&&(this._scheduleNext(),this._deferreds.get(t.item).resolve(e))}_processError(t,e){this._canProcessFulfillment(t)&&(this._scheduleNext(),this._deferreds.get(t.item).reject(e))}_canProcessFulfillment(t){return!!this._deferreds.get(t.item)&&this._processingItems.get(t.item)===t}_process(t){if(null==t)return;let e;const i=new AbortController,s=new c(t,i);this._processingItems.set(t,s),this.sharedConcurrency.current.value+=1;try{e=this.process(t,i.signal)}catch(t){this._processError(s,t)}(0,r.$X)(e)?(s.promise=e,e.then(t=>this._processResult(s,t),t=>this._processError(s,t))):this._processResult(s,e)}}class c{constructor(t,e){this.item=t,this.controller=e,this.promise=null}}class u{constructor(t){this.limit=t,this.current=(0,h.v)(0)}get full(){return this.current.value>=this.limit}}const p=new u(1/0)},32587(t,e,i){i.d(e,{A:()=>n});var s=i(62788),r=i(95488);class n{constructor(t){this._observable=new r.I,this._notifyPending=!1,this._batchDepth=0,this._map=new Map(t)}get size(){return(0,s.gc)(this._observable),this._map.size}batch(t){try{this._batchDepth++,t()}finally{this._batchDepth--,this._notifyPending&&0===this._batchDepth&&(this._notifyPending=!1,this._notify())}}clear(){this._map.size>0&&(this._map.clear(),this._notify())}delete(t){const e=this._map.delete(t);return e&&this._notify(),e}entries(){return(0,s.gc)(this._observable),this._map.entries()}forEach(t,e){(0,s.gc)(this._observable),this._map.forEach((i,s)=>t.call(e,i,s,this),e)}get(t){return(0,s.gc)(this._observable),this._map.get(t)}has(t){return(0,s.gc)(this._observable),this._map.has(t)}keys(){return(0,s.gc)(this._observable),this._map.keys()}set(t,e){return this._map.set(t,e),this._notify(),this}transformValues(t,e=this._map.keys()){this.batch(()=>{for(const i of e){if(!this._map.has(i))continue;const e=this._map.get(i),s=t(e,i);s!==e&&this.set(i,s)}})}values(){return(0,s.gc)(this._observable),this._map.values()}[Symbol.iterator](){return(0,s.gc)(this._observable),this._map[Symbol.iterator]()}[Symbol.dispose](){this._observable.destroy()}get[Symbol.toStringTag](){return this._map[Symbol.toStringTag]}_notify(){this._batchDepth>0?this._notifyPending=!0:this._observable.notify()}}},95488(t,e,i){i.d(e,{I:()=>r});var s=i(11406);class r extends s.T{notify(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onInvalidated(),t.onCommitted()}}}},21287(t,e,i){i.d(e,{M5:()=>u,eV:()=>c});var s=i(11254),r=i(49186),n=i(17676),o=i(84952),a=i(26306);let h=null,l=!0;function c(t,e,i,s){if(!e||!i)throw new Error("Cannot construct image data without dimensions");if(l)try{return new ImageData(t,e,i)}catch(t){l=!1}const r=function(t,e,i){return i||(h||(h=document.createElement("canvas"),h.width=1,h.height=1),i=h),i.getContext("2d").createImageData(t,e)}(e,i,s);return r.data.set(t,0),r}async function u(t,e){const{arrayBuffer:h,mediaType:l}=await async function(t,e){const i=(0,o.r$)(t);if(i?.isBase64)return{arrayBuffer:(0,a.M)(i.data),mediaType:i.mediaType};const r=await(0,s.A)(t,{responseType:"array-buffer",...e});return{arrayBuffer:r.data,mediaType:r.getHeader?.("Content-Type")??""}}(t,e),c="image/png"===l;if("image/gif"===l){const{isAnimatedGIF:t,parseGif:s}=await i.e(820).then(i.bind(i,10820));if(t(h))return s(h,e)}if(c){const{isAnimatedPNG:t,parseApng:s}=await i.e(2390).then(i.bind(i,22390));if(t(h))return s(h,e)}return async function(t,e){const i=window.URL.createObjectURL(t);try{const{data:t}=await(0,s.A)(i,{...e,responseType:"image"});return t}catch(t){if(!(0,n.zf)(t))throw new r.A("invalid-image",`Could not fetch requested image at ${i}`);throw t}finally{window.URL.revokeObjectURL(i)}}(new Blob([h],{type:l}),e)}},51624(t,e,i){i.d(e,{A:()=>l});var s=i(44208),r=i(69397),n=i(93687);const o=4294967296,a=new TextDecoder("utf-8"),h=(0,s.A)("safari")||(0,s.A)("ios")?6:(0,s.A)("ff")?12:32;class l{constructor(t,e,i=0,s=t?.byteLength??0){this._tag=0,this._dataType=99,this._init(t,e,i,s)}[Symbol.dispose](){this.release()}_init(t,e,i,s){this._data=t,this._dataView=e,this._pos=i,this._end=s}get usedMemory(){return 64+(0,r.Qf)(this._data)}asUnsafe(){return this}clone(){return new l(this._data,this._dataView,this._pos,this._end)}clonePooled(){return l.constructPooled(this._data,this._dataView,this._pos,this._end)}static constructPooled(t,e,i=0,s=t?.byteLength??0){const r=l.pool.acquire();return r._init(t,e,i,s),r}pos(){return this._pos}move(t){this._pos=t}nextTag(t){for(;;){if(this._pos===this._end)return!1;const e=this._decodeVarint();if(this._tag=e>>3,this._dataType=7&e,!t||t===this._tag)break;this.skip()}return!0}next(){if(this._pos===this._end)return!1;const t=this._decodeVarint();return this._tag=t>>3,this._dataType=7&t,!0}empty(){return this._pos>=this._end}tag(){return this._tag}getInt32(){return this._decodeVarint()}getInt64(){return this._decodeVarint()}getUInt32(){let t=4294967295;if(t=(127&this._data[this._pos])>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<7)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<14)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<21)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(15&this._data[this._pos])<<28)>>>0,this._data[this._pos++]<128)return t;throw new Error("Varint overflow")}getPackedEnd(){const t=this.getUInt32();return this._pos+t}getUInt64(){return this._decodeVarint()}getSInt32(){const t=this.getUInt32();return t>>>1^-(1&t)}getSInt64(){return this._decodeSVarint()}getBool(){const t=0!==this._data[this._pos];return this._skip(1),t}getEnum(){return this._decodeVarint()}getFixed64(){const t=this._dataView,e=this._pos,i=t.getUint32(e,!0)+t.getUint32(e+4,!0)*o;return this._skip(8),i}getSFixed64(){const t=this._dataView,e=this._pos,i=t.getUint32(e,!0)+t.getInt32(e+4,!0)*o;return this._skip(8),i}getDouble(){const t=this._dataView.getFloat64(this._pos,!0);return this._skip(8),t}getFixed32(){const t=this._dataView.getUint32(this._pos,!0);return this._skip(4),t}getSFixed32(){const t=this._dataView.getInt32(this._pos,!0);return this._skip(4),t}getFloat(){const t=this._dataView.getFloat32(this._pos,!0);return this._skip(4),t}getString(){const t=this._getLength(),e=this._pos,i=this._toString(this._data,e,e+t);return this._skip(t),i}getBytes(){const t=this._getLength(),e=this._pos,i=this._toBytes(this._data,e,e+t);return this._skip(t),i}getLength(){return this._getLengthUnsafe()}processMessageWithArgs(t,e,i,s){const r=this.getMessage(),n=t(r,e,i,s);return r.release(),n}processMessage(t){const e=this.getMessage(),i=t(e);return e.release(),i}getMessage(){const t=this._getLength(),e=l.pool.acquire();return e._init(this._data,this._dataView,this._pos,this._pos+t),this._skip(t),e}release(){l.pool.release(this)}dataType(){return this._dataType}skip(){switch(this._dataType){case 0:this._decodeVarint();break;case 1:this._skip(8);break;case 2:this._skip(this._getLength());break;case 5:this._skip(4);break;default:throw new Error("Invalid data type!")}}skipToEnd(){for(;this.next();)this.skip()}skipLen(t){this._skip(t)}_skip(t){if(this._pos+t>this._end)throw new Error("Attempt to skip past the end of buffer!");this._pos+=t}_decodeVarint(){const t=this._data;let e=this._pos,i=0,s=0;if(this._end-e>=10)do{if(s=t[e++],i|=127&s,!(128&s))break;if(s=t[e++],i|=(127&s)<<7,!(128&s))break;if(s=t[e++],i|=(127&s)<<14,!(128&s))break;if(s=t[e++],i|=(127&s)<<21,!(128&s))break;if(s=t[e++],i+=268435456*(127&s),!(128&s))break;if(s=t[e++],i+=34359738368*(127&s),!(128&s))break;if(s=t[e++],i+=4398046511104*(127&s),!(128&s))break;if(s=t[e++],i+=562949953421312*(127&s),!(128&s))break;if(s=t[e++],i+=72057594037927940*(127&s),!(128&s))break;if(s=t[e++],i+=0x8000000000000000*(127&s),!(128&s))break;throw new Error("Varint too long!")}while(0);else{let r=1;for(;e!==this._end&&(s=t[e],128&s);)++e,i+=(127&s)*r,r*=128;if(e===this._end)throw new Error("Varint overrun!");++e,i+=s*r}return this._pos=e,i}_decodeSVarint(){const t=this._data;let e,i=0,s=0;const r=1&t[this._pos];if(s=t[this._pos++],i|=127&s,!(128&s))return r?-(i+1)/2:i/2;if(s=t[this._pos++],i|=(127&s)<<7,!(128&s))return r?-(i+1)/2:i/2;if(s=t[this._pos++],i|=(127&s)<<14,!(128&s))return r?-(i+1)/2:i/2;if(s=t[this._pos++],i|=(127&s)<<21,!(128&s))return r?-(i+1)/2:i/2;if(s=t[this._pos++],i+=268435456*(127&s),!(128&s))return r?-(i+1)/2:i/2;if(s=t[this._pos++],i+=34359738368*(127&s),!(128&s))return r?-(i+1)/2:i/2;if(s=t[this._pos++],i+=4398046511104*(127&s),!(128&s))return r?-(i+1)/2:i/2;if(e=BigInt(i),s=t[this._pos++],e+=0x2000000000000n*BigInt(127&s),!(128&s))return Number(r?-(e+1n)/2n:e/2n);if(s=t[this._pos++],e+=0x100000000000000n*BigInt(127&s),!(128&s))return Number(r?-(e+1n)/2n:e/2n);if(s=t[this._pos++],e+=0x8000000000000000n*BigInt(127&s),!(128&s))return Number(r?-(e+1n)/2n:e/2n);throw new Error("Varint too long!")}_getLength(){if(2!==this._dataType)throw new Error("Not a delimited data type!");return this._decodeVarint()}_getLengthUnsafe(){return this.getUInt32()}_toString(t,e,i){if((i=Math.min(this._end,i))-e>h){const s=t.subarray(e,i);return a.decode(s)}let s="",r="";for(let n=e;n<i;++n){const e=t[n];128&e?r+="%"+e.toString(16):(s+=decodeURIComponent(r)+String.fromCharCode(e),r="")}return r.length&&(s+=decodeURIComponent(r)),s}_toBytes(t,e,i){return i=Math.min(this._end,i),new Uint8Array(t.buffer,e,i-e)}static{this.pool=new n.A(()=>new l(null,null),void 0,t=>{t._data=null,t._dataView=null})}}},90629(t,e,i){i.d(e,{Lz:()=>r,PN:()=>n,cr:()=>o,gs:()=>h,r_:()=>l,tc:()=>a}),i(39829);const s=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function r(t){return t?t/72*96:0}function n(t){return t?72*t/96:0}function o(t){if("string"==typeof t){const e=t.match(s);if(e){const i=Number(e[1]),s=e[3]&&e[3].toLowerCase(),r=t.startsWith("-"),o="px"===s?n(i):i;return r?-o:o}return console.warn("screenUtils.toPt: input not recognized!"),null}return t}function a(t=0,e=0){return{x:t,y:e}}function h(t=0,e=0){return[t,e]}function l(t=0,e=0,i=0){return[t,e,i]}},44794(t,e,i){i.d(e,{v:()=>a});var s=i(4718),r=i(62788),n=i(95488);class o{constructor(t,e){this._observable=new n.I,this._value=t,this._equalityFunction=e}get value(){return(0,r.gc)(this._observable),this._value}set value(t){this._equalityFunction(t,this._value)||(this._value=t,this._observable.notify())}mutate(t){t(this._value),this._observable.notify()}}function a(t,e=s.gh){return new o(t,e)}},83027(t,e,i){const s=i(29953).ho;i.d(e,["h",0,s])},48526(t,e,i){i.d(e,{A:()=>f});var s,r=i(5482),n=i(4576),o=i(4718),a=i(91429),h=i(5443),l=i(91075),c=i(86738),u=i(16930),p=i(90634),g=i(47610),d=i(56993),y=i(43937);let f=s=class extends l.A{constructor(t){super(function(t){if(!t)return;let{points:e,hasM:i,hasZ:s,spatialReference:r}=t;switch(e??=[],e?.at(0)?.length){case 4:s??=!0,i??=!0;break;case 3:s??=!0!==i,i??=!s;break;default:s??=!1,i??=!1}return r??=u.A.WGS84,{...t,hasM:i,hasZ:s,points:e,spatialReference:r}}(t)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const t=(0,p.ge)(this);return t?new h.A({...t,spatialReference:this.spatialReference}):null}writePoints(t,e){e.points=(0,o.o8)(this.points)}clone(){const{points:t,spatialReference:e,hasM:i,hasZ:r}=this;return new s({points:(0,o.o8)(t),spatialReference:e.clone(),hasM:i,hasZ:r})}equals(t){if(this===t)return!0;if(null==t)return!1;const e=this.spatialReference,i=t.spatialReference;return null!=e==(null!=i)&&!(null!=e&&null!=i&&!e.equals(i))&&(0,n.aI)(this.points,t.points,g.v6)}addPoint(t){return(0,d.h)(this,t),Array.isArray(t)?this.points.push(t):this.points.push(t.toArray()),this.notifyChange("points"),this}getPoint(t){if(!this._validateInputs(t))return null;const e=this.points[t],i={x:e[0],y:e[1],spatialReference:this.spatialReference};let s=2;return this.hasZ&&(i.z=e[2],s=3),this.hasM&&(i.m=e[s]),new c.A(i)}removePoint(t){if(!this._validateInputs(t))return null;const e=new c.A(this.points.splice(t,1)[0],this.spatialReference);return this.notifyChange("points"),e}setPoint(t,e){return this._validateInputs(t)?((0,d.h)(this,e),Array.isArray(e)||(e=e.toArray()),this.points[t]=e,this.notifyChange("points"),this):this}toJSON(t){return this.write({},t)}_validateInputs(t){return null!=t&&t>=0&&t<this.points.length}};(0,r.Cg)([(0,a.MZ)({readOnly:!0})],f.prototype,"cache",null),(0,r.Cg)([(0,a.MZ)({readOnly:!0})],f.prototype,"extent",null),(0,r.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],f.prototype,"points",void 0),(0,r.Cg)([(0,y.K)("points")],f.prototype,"writePoints",null),f=s=(0,r.Cg)([(0,a.$K)("esri.geometry.Multipoint")],f),f.prototype.toJSON.isDefaultToJSON=!0},39829(t,e,i){i.d(e,{A:()=>x});var s,r=i(5482),n=i(4576),o=i(51447),a=i(4718),h=i(53966),l=i(91429),c=i(5443),u=i(91075),p=i(86738),g=i(16930),d=i(12359),y=i(94078),f=i(95108),m=i(90634),_=i(47610),w=i(28735),b=i(56993),S=i(43937);function v(t){return!Array.isArray(t[0])}let x=s=class extends u.A{static fromExtent(t){const e=t.clone().normalize(),{spatialReference:i}=t;let r=!1,n=!1;for(const t of e)t.hasZ&&(r=!0),t.hasM&&(n=!0);const o={rings:e.map(t=>{const e=[[t.xmin,t.ymin],[t.xmin,t.ymax],[t.xmax,t.ymax],[t.xmax,t.ymin],[t.xmin,t.ymin]];if(r&&t.hasZ){const i=t.zmin+.5*(t.zmax-t.zmin);for(let t=0;t<e.length;t++)e[t].push(i)}if(n&&t.hasM){const i=t.mmin+.5*(t.mmax-t.mmin);for(let t=0;t<e.length;t++)e[t].push(i)}return e}),spatialReference:i};return r&&(o.hasZ=!0),n&&(o.hasM=!0),new s(o)}constructor(t){super(function(t){if(!t)return;let{rings:e,hasM:i,hasZ:s,spatialReference:r}=t;switch(e??=[],function(t){return"number"==typeof t[0]?.[0]}(e)&&(e=[e]),e[0]?.[0]?.length){case 4:s??=!0,i??=!0;break;case 3:s??=!0!==i,i??=!s;break;default:s??=!1,i??=!1}return r??=g.A.WGS84,{...t,hasM:i,hasZ:s,rings:e,spatialReference:r}}(t)),this.curveRings=void 0,this.rings=[],this.type="polygon"}get cache(){return this.commitProperty("curveRings"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("rings"),this.commitProperty("spatialReference"),{}}get centroid(){(0,o.Lx)(h.A.getLogger(this),"centroid",{replacement:"Please use centroidOperator.execute() instead.",version:"4.34",warnOnce:!0});const t=(0,d.Ve)(this);return t?p.A.fromJSON(t):null}writeCurveRings(t,e){e.curveRings=(0,a.o8)(t)}get extent(){const t=(0,m.v)(this),{spatialReference:e}=this;return t?new c.A({...t,spatialReference:e}):null}writeRings(t,e){e.rings=(0,a.o8)(this.rings)}addRing(t){if(!t)return;const e=this.rings,i=e.length;if(v(t)){const s=[];for(let e=0,i=t.length;e<i;e++)s[e]=t[e].toArray();e[i]=s}else e[i]=t.slice();return this.notifyChange("rings"),this}clone(){const t=new s;return t.spatialReference=this.spatialReference,t.rings=(0,a.o8)(this.rings),t.curveRings=(0,a.o8)(this.curveRings),t.hasZ=this.hasZ,t.hasM=this.hasM,t}equals(t){if(this===t)return!0;if(null==t)return!1;const e=this.spatialReference,i=t.spatialReference;if(null!=e!=(null!=i))return!1;if(null!=e&&null!=i&&!e.equals(i))return!1;if(this.rings.length!==t.rings.length)return!1;for(let e=0;e<this.rings.length;e++){const i=this.rings[e],s=t.rings[e];if(!(0,n.aI)(i,s,_.v6))return!1}return!0}contains(t){if(!t)return!1;const e=(0,w.Cv)(t,this.spatialReference);return(0,y.m3)(this,null!=e?e:t)}isClockwise(t){const e=v(t)?t.map(t=>this.hasZ?this.hasM?[t.x,t.y,t.z,t.m]:[t.x,t.y,t.z]:[t.x,t.y]):t;return(0,f.$3)(e)}getPoint(t,e){if(!this._validateInputs(t,e))return null;const i=this.rings[t][e],s=this.hasZ,r=this.hasM;return s&&!r?new p.A(i[0],i[1],i[2],void 0,this.spatialReference):r&&!s?new p.A(i[0],i[1],void 0,i[2],this.spatialReference):s&&r?new p.A(i[0],i[1],i[2],i[3],this.spatialReference):new p.A(i[0],i[1],this.spatialReference)}insertPoint(t,e,i){return this._validateInputs(t,e,!0)?((0,b.h)(this,i),Array.isArray(i)||(i=i.toArray()),this.rings[t].splice(e,0,i),this.notifyChange("rings"),this):this}removePoint(t,e){if(!this._validateInputs(t,e))return null;const i=new p.A(this.rings[t].splice(e,1)[0],this.spatialReference);return this.notifyChange("rings"),i}removeRing(t){if(!this._validateInputs(t,null))return null;const e=this.rings.splice(t,1)[0],i=this.spatialReference,s=e.map(t=>new p.A(t,i));return this.notifyChange("rings"),s}setPoint(t,e,i){return this._validateInputs(t,e)?((0,b.h)(this,i),Array.isArray(i)||(i=i.toArray()),this.rings[t][e]=i,this.notifyChange("rings"),this):this}_validateInputs(t,e,i=!1){if(null==t||t<0||t>=this.rings.length)return!1;if(null!=e){const s=this.rings[t];if(i&&(e<0||e>s.length))return!1;if(!i&&(e<0||e>=s.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,r.Cg)([(0,l.MZ)({readOnly:!0})],x.prototype,"cache",null),(0,r.Cg)([(0,l.MZ)({readOnly:!0})],x.prototype,"centroid",null),(0,r.Cg)([(0,l.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],x.prototype,"curveRings",void 0),(0,r.Cg)([(0,S.K)("curveRings")],x.prototype,"writeCurveRings",null),(0,r.Cg)([(0,l.MZ)({readOnly:!0})],x.prototype,"extent",null),(0,r.Cg)([(0,l.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],x.prototype,"rings",void 0),(0,r.Cg)([(0,S.K)("rings")],x.prototype,"writeRings",null),x=s=(0,r.Cg)([(0,l.$K)("esri.geometry.Polygon")],x),x.prototype.toJSON.isDefaultToJSON=!0},82799(t,e,i){i.d(e,{A:()=>d});var s,r=i(5482),n=i(4718),o=i(91429),a=i(5443),h=i(91075),l=i(86738),c=i(16930),u=i(90634),p=i(56993),g=i(43937);let d=s=class extends h.A{constructor(t){super(function(t){if(!t)return;let{paths:e,hasM:i,hasZ:s,spatialReference:r}=t;switch(e??=[],function(t){return"number"==typeof t[0]?.[0]}(e)&&(e=[e]),e[0]?.[0]?.length){case 4:s??=!0,i??=!0;break;case 3:s??=!0!==i,i??=!s;break;default:s??=!1,i??=!1}return r??=c.A.WGS84,{...t,hasM:i,hasZ:s,paths:e,spatialReference:r}}(t)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(t,e){e.curvePaths=(0,n.o8)(t)}get extent(){const t=(0,u.Z3)(this),{spatialReference:e}=this;return t?new a.A({...t,spatialReference:e}):null}writePaths(t,e){e.paths=(0,n.o8)(this.paths)}addPath(t){if(!t)return;const e=this.paths,i=e.length;if(function(t){return!Array.isArray(t[0])}(t)){const s=[];for(let e=0,i=t.length;e<i;e++)s[e]=t[e].toArray();e[i]=s}else e[i]=t.slice();return this.notifyChange("paths"),this}clone(){const t=new s;return t.spatialReference=this.spatialReference,t.paths=(0,n.o8)(this.paths),t.curvePaths=(0,n.o8)(this.curvePaths),t.hasZ=this.hasZ,t.hasM=this.hasM,t}getPoint(t,e){if(!this._validateInputs(t,e))return null;const i=this.paths[t][e],s=this.hasZ,r=this.hasM;return s&&!r?new l.A(i[0],i[1],i[2],void 0,this.spatialReference):r&&!s?new l.A(i[0],i[1],void 0,i[2],this.spatialReference):s&&r?new l.A(i[0],i[1],i[2],i[3],this.spatialReference):new l.A(i[0],i[1],this.spatialReference)}insertPoint(t,e,i){return this._validateInputs(t,e,!0)?((0,p.h)(this,i),Array.isArray(i)||(i=i.toArray()),this.paths[t].splice(e,0,i),this.notifyChange("paths"),this):this}removePath(t){if(!this._validateInputs(t,null))return null;const e=this.paths.splice(t,1)[0],i=this.spatialReference,s=e.map(t=>new l.A(t,i));return this.notifyChange("paths"),s}removePoint(t,e){if(!this._validateInputs(t,e))return null;const i=new l.A(this.paths[t].splice(e,1)[0],this.spatialReference);return this.notifyChange("paths"),i}setPoint(t,e,i){return this._validateInputs(t,e)?((0,p.h)(this,i),Array.isArray(i)||(i=i.toArray()),this.paths[t][e]=i,this.notifyChange("paths"),this):this}_validateInputs(t,e,i=!1){if(null==t||t<0||t>=this.paths.length)return!1;if(null!=e){const s=this.paths[t];if(i&&(e<0||e>s.length))return!1;if(!i&&(e<0||e>=s.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,r.Cg)([(0,o.MZ)({readOnly:!0})],d.prototype,"cache",null),(0,r.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],d.prototype,"curvePaths",void 0),(0,r.Cg)([(0,g.K)("curvePaths")],d.prototype,"writeCurvePaths",null),(0,r.Cg)([(0,o.MZ)({readOnly:!0})],d.prototype,"extent",null),(0,r.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],d.prototype,"paths",void 0),(0,r.Cg)([(0,g.K)("paths")],d.prototype,"writePaths",null),d=s=(0,r.Cg)([(0,o.$K)("esri.geometry.Polyline")],d),d.prototype.toJSON.isDefaultToJSON=!0},90634(t,e,i){i.d(e,{HA:()=>c,JM:()=>u,Z3:()=>d,ge:()=>p,v:()=>g});var s=i(537);const r=[];function n(t,e,i,s){return{xmin:t,ymin:e,xmax:i,ymax:s}}function o(t,e,i,s,r,n){return{xmin:t,ymin:e,zmin:i,xmax:s,ymax:r,zmax:n}}function a(t,e,i,s,r,n){return{xmin:t,ymin:e,mmin:i,xmax:s,ymax:r,mmax:n}}function h(t,e,i,s,r,n,o,a){return{xmin:t,ymin:e,zmin:i,mmin:s,xmax:r,ymax:n,zmax:o,mmax:a}}function l(t,e=!1,i=!1){return e?i?h(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]):o(t[0],t[1],t[2],t[3],t[4],t[5]):i?a(t[0],t[1],t[2],t[3],t[4],t[5]):n(t[0],t[1],t[2],t[3])}function c(t){return t?function(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}(t)?t:function(t){return void 0!==t.x&&void 0!==t.y}(t)?function(t){const{x:e,y:i,z:s,m:r}=t,l=null!=r;return null!=s?l?h(e,i,s,r,e,i,s,r):o(e,i,s,e,i,s):l?a(e,i,r,e,i,r):n(e,i,e,i)}(t):function(t){return void 0!==t.rings}(t)?g(t):function(t){return void 0!==t.paths}(t)?d(t):function(t){return void 0!==t.points}(t)?p(t):null:null}function u(t,{xmin:e,ymin:i,zmin:s,mmin:r,xmax:n,ymax:o,zmax:a,mmax:h}){t.xmin=Math.min(t.xmin,e),t.xmax=Math.max(t.xmax,n),t.ymin=Math.min(t.ymin,i),t.ymax=Math.max(t.ymax,o),null!=t.zmin&&(t.zmin=Math.min(t.zmin,s),t.zmax=Math.max(t.zmax,a)),null!=t.mmin&&(t.mmin=Math.min(t.mmin,r),t.mmax=Math.max(t.mmax,h))}function p(t){const{hasZ:e,hasM:i,points:n}=t,o=(0,s.Pj)(r,n,e??!1,i??!1,e??!1,i??!1);return o?l(o,e,i):null}function g(t){const{hasZ:e,hasM:i,rings:n,curveRings:o}=t,a=(0,s.Yz)(r,o??n,e??!1,i??!1);return a?l(a,e,i):null}function d(t){const{hasZ:e,hasM:i,paths:n,curvePaths:o}=t,a=(0,s.Yz)(r,o??n,e??!1,i??!1);return a?l(a,e,i):null}},47610(t,e,i){function s([t,e,i,s],[r,n,o,a]){return t===r&&e===n&&(null==i&&null==o||i===o)&&(null==s&&null==a||s===a)}i.d(e,{v6:()=>s}),i(5443),i(83960)},60408(t,e,i){function s(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function r(t){return void 0!==t.points}function n(t){return void 0!==t.x&&void 0!==t.y}function o(t){return void 0!==t.paths||void 0!==t.curvePaths}function a(t){return void 0!==t.rings||void 0!==t.curveRings}function h(t){return"object"==typeof t&&"vertexAttributes"in t}function l(t){return t?n(t)?"esriGeometryPoint":o(t)?"esriGeometryPolyline":a(t)?"esriGeometryPolygon":s(t)?"esriGeometryEnvelope":r(t)?"esriGeometryMultipoint":null:null}function c(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function u(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}i.d(e,{$B:()=>l,Bi:()=>a,Pv:()=>c,Rg:()=>o,U9:()=>r,W0:()=>u,ZC:()=>s,fT:()=>n,uW:()=>h})},65864(t,e,i){i.d(e,{rS:()=>c,xD:()=>p});var s=i(5443),r=i(91075),n=i(48526),o=i(86738),a=i(39829),h=i(82799),l=i(60408);function c(t){return null==t?null:t instanceof r.A?t:(0,l.fT)(t)?o.A.fromJSON(t):(0,l.Rg)(t)?h.A.fromJSON(t):(0,l.Bi)(t)?a.A.fromJSON(t):(0,l.U9)(t)?n.A.fromJSON(t):(0,l.ZC)(t)?s.A.fromJSON(t):null}const u={esriGeometryPoint:o.A,esriGeometryPolyline:h.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:s.A,esriGeometryMultipoint:n.A,esriGeometryMultiPatch:a.A};function p(t){return t&&u[t]||null}},83960(t,e,i){i.d(e,{X_:()=>n,oW:()=>a,zx:()=>o});var s=i(34727),r=i(86211);function n(t,e){const i=e||t.extent,s=t.width,n=(0,r.GA)(i?.spatialReference);return i&&s?i.width/s*n*39.37*96:0}function o(t,e,i){return function(t,e){return 0===e||(0,s.Sp)(t,e)||t<e}(t,e)&&function(t,e){return 0===e||(0,s.Sp)(t,e)||t>e}(t,i)}function a(t,e){return(0,s.Sp)(t,e)?0:(t||Number.POSITIVE_INFINITY)>(e||Number.POSITIVE_INFINITY)?1:-1}},56993(t,e,i){function s(t,e,i=!1){let{hasM:s,hasZ:r}=t;Array.isArray(e)?4!==e.length||s||r?3===e.length&&i&&!s?(r=!0,s=!1):3===e.length&&s&&r&&(s=!1,r=!1):(s=!0,r=!0):(r=!r&&e.hasZ&&(!s||e.hasM),s=!s&&e.hasM&&(!r||e.hasZ)),t.hasZ=r,t.hasM=s}i.d(e,{h:()=>s})},97770(t,e,i){i.d(e,{Ey:()=>L,F8:()=>z,J2:()=>k,Yq:()=>I,_m:()=>R,iS:()=>P,wj:()=>N});var s=i(66552),r=i(73444),n=i(98623),o=i(92647);const a={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},h={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},l={timeZone:"UTC"},c={year:"numeric",month:"numeric",day:"numeric"},u={year:"numeric",month:"long",day:"numeric"},p={year:"numeric",month:"short",day:"numeric"},g={year:"numeric",month:"long",weekday:"long",day:"numeric"},d={hour:"numeric",minute:"numeric"},y={...d,second:"numeric"},f={hourCycle:"h23"},m={...d,...f},_={...y,...f},w={"short-date":c,"short-date-short-time":{...c,...d},"short-date-short-time-24":{...c,...m},"short-date-long-time":{...c,...y},"short-date-long-time-24":{...c,..._},"short-date-le":c,"short-date-le-short-time":{...c,...d},"short-date-le-short-time-24":{...c,...m},"short-date-le-long-time":{...c,...y},"short-date-le-long-time-24":{...c,..._},"long-month-day-year":u,"long-month-day-year-short-time":{...u,...d},"long-month-day-year-short-time-24":{...u,...m},"long-month-day-year-long-time":{...u,...y},"long-month-day-year-long-time-24":{...u,..._},"day-short-month-year":p,"day-short-month-year-short-time":{...p,...d},"day-short-month-year-short-time-24":{...p,...m},"day-short-month-year-long-time":{...p,...y},"day-short-month-year-long-time-24":{...p,..._},"long-date":g,"long-date-short-time":{...g,...d},"long-date-short-time-24":{...g,...m},"long-date-long-time":{...g,...y},"long-date-long-time-24":{...g,..._},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":d,"long-time":y},b=(0,s.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),S={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},v=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),x=v.find(({type:t})=>"month"===t)?.value.toLowerCase();function C(){const t=(0,r.lR)();return(t&&S[t])??(0,r.QC)()}"mart"!==x&&(S.bs="sr-Latn-CS");let A=new WeakMap;const M=w["short-date-short-time"];function k(t){return w[t]}function R(t){const{dateStyle:e,timeStyle:i,hour12:s,year:r,month:n}=t,o={};return e?o.dateStyle=e:r&&(o.year=r,o.month=n||void 0),i&&!o.year&&(o.timeStyle=i,o.hour12="auto"===s?void 0:"always"===s),o}function I(t,e=M){return function(t){let e=A.get(t);if(!e){const i=C(),s=N(t.timeZone??"system"),r={...t,timeZone:s};e=new Intl.DateTimeFormat(i,r),A.set(t,e)}return e}(e).format(t)}function P(t,e=M){return I(new Date(t),{...e,...l,...h})}function z(t,e=M){return I(new Date(`1970-01-01T${t}Z`),{...e,...l,...a})}function L(t,e=M){const i=o.c9.fromISO(t,{setZone:!0});if(!i.isValid)return t;if(e.timeZone)return I(i.toJSDate(),e);const s=0===i.offset?"UTC":e.timeZone,r={...e,timeZone:s};return i.toLocaleString(r,{locale:C()})}function N(t){switch(t){case"system":return n.N;case n.L:return"UTC";default:return t}}(0,r.Ml)(()=>{A=new WeakMap}),i.d(e,["_v",0,b])},73444(t,e,i){i.d(e,{JK:()=>h,Ml:()=>f,QC:()=>u,lR:()=>c,oQ:()=>d});var s=i(36563);let r;i(44208);const n=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function a(){const t=o?.getAttribute("lang"),e=globalThis.navigator?.language;return n??t??e??"en"}function h(){return void 0===r&&(r=a()),r}const l=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(t=h()){return p(t)?.language}function u(t=h()){const e=p(t);return e?.language&&e?.extlang?t.replace(`${e.language}-`,""):t}function p(t=h()){return l.exec(t)?.groups}const g=[];function d(t){return g.push(t),(0,s.hA)(()=>{g.splice(g.indexOf(t),1)})}new Map;const y=[];function f(t){return y.push(t),(0,s.hA)(()=>y.splice(y.indexOf(t),1))}function m(){const t=a();r!==t&&([...y].forEach(e=>e(t)),r=t,[...g].forEach(e=>e(t)))}globalThis.addEventListener?.("languagechange",m),o&&new MutationObserver(()=>{m()}).observe(o,{attributeFilter:["lang"]})},65851(t,e,i){i.d(e,{A:()=>a});var s=i(5482),r=i(91429),n=i(31593),o=i(20378);let a=class extends o.A{constructor(t){super(t),this.outline=null,this.type=null}hash(){return`${this.type}.${this.outline?.hash()}`}};(0,s.Cg)([(0,r.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":n.A}},json:{default:null,write:!0}})],a.prototype,"outline",void 0),(0,s.Cg)([(0,r.MZ)({type:["simple-fill","picture-fill"],readOnly:!0})],a.prototype,"type",void 0),a=(0,s.Cg)([(0,r.$K)("esri.symbols.FillSymbol")],a)},11831(t,e,i){i.d(e,{A:()=>l});var s,r=i(5482),n=i(25482),o=i(90629),a=i(91429),h=i(5760);let l=s=class extends n.o{constructor(t){super(t),this.decoration="none",this.family="sans-serif",this.style="normal",this.weight="normal"}get size(){return this._get("size")??9}set size(t){this._set("size",t)}castSize(t){return(0,o.cr)(t)}clone(){return new s({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,r.Cg)([(0,a.MZ)({type:h.h9,json:{default:"none",write:!0}})],l.prototype,"decoration",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],l.prototype,"family",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:{overridePolicy:(t,e,i)=>({enabled:!i||!i.textSymbol3D})}}})],l.prototype,"size",null),(0,r.Cg)([(0,a.wg)("size")],l.prototype,"castSize",null),(0,r.Cg)([(0,a.MZ)({type:h._R,json:{default:"normal",write:!0}})],l.prototype,"style",void 0),(0,r.Cg)([(0,a.MZ)({type:h.NM,json:{default:"normal",write:!0}})],l.prototype,"weight",void 0),l=s=(0,r.Cg)([(0,a.$K)("esri.symbols.Font")],l)},89420(t,e,i){i.d(e,{A:()=>h});var s=i(5482),r=i(90629),n=i(91429),o=i(56507),a=i(20378);let h=class extends a.A{constructor(t){super(t),this.angle=0,this.type=null}get xoffset(){return this._get("xoffset")??0}set xoffset(t){this._set("xoffset",t)}get yoffset(){return this._get("yoffset")??0}set yoffset(t){this._set("yoffset",t)}get size(){return this._get("size")??9}set size(t){this._set("size",t)}hash(){return`${this.type}.${this.angle}.${this.size}.${this.xoffset}.${this.yoffset}`}};(0,s.Cg)([(0,n.MZ)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],h.prototype,"angle",void 0),(0,s.Cg)([(0,n.MZ)({type:["simple-marker","picture-marker"],readOnly:!0})],h.prototype,"type",void 0),(0,s.Cg)([(0,n.MZ)({type:Number,cast:r.cr,json:{write:!0}})],h.prototype,"xoffset",null),(0,s.Cg)([(0,n.MZ)({type:Number,cast:r.cr,json:{write:!0}})],h.prototype,"yoffset",null),(0,s.Cg)([(0,n.MZ)({cast:t=>"auto"===t?t:(0,o.GB)((0,r.cr)(t)),json:{write:!0}})],h.prototype,"size",null),h=(0,s.Cg)([(0,n.$K)("esri.symbols.MarkerSymbol")],h)},94985(t,e,i){i.d(e,{A:()=>g});var s,r=i(5482),n=i(68197),o=i(66552),a=i(4718),h=i(91429),l=i(65851),c=i(31593),u=i(93223);const p=new o.J({esriSFSSolid:"solid",esriSFSNull:"none",esriSFSHorizontal:"horizontal",esriSFSVertical:"vertical",esriSFSForwardDiagonal:"forward-diagonal",esriSFSBackwardDiagonal:"backward-diagonal",esriSFSCross:"cross",esriSFSDiagonalCross:"diagonal-cross"});let g=s=class extends l.A{constructor(...t){super(...t),this.color=new n.A([0,0,0,.25]),this.outline=new c.A,this.type="simple-fill",this.style="solid"}normalizeCtorArgs(t,e,i){if(t&&"string"!=typeof t)return t;const s={};return t&&(s.style=t),e&&(s.outline=e),i&&(s.color=i),s}clone(){return new s({color:(0,a.o8)(this.color),outline:this.outline&&this.outline.clone(),style:this.style})}hash(){return`${super.hash()}${this.style}.${this.color&&this.color.hash()}`}};(0,r.Cg)([(0,h.MZ)({type:n.A})],g.prototype,"color",void 0),(0,r.Cg)([(0,h.MZ)()],g.prototype,"outline",void 0),(0,r.Cg)([(0,u.e)({esriSFS:"simple-fill"},{readOnly:!0})],g.prototype,"type",void 0),(0,r.Cg)([(0,h.MZ)({type:p.apiValues,json:{read:p.read,write:p.write}})],g.prototype,"style",void 0),g=s=(0,r.Cg)([(0,h.$K)("esri.symbols.SimpleFillSymbol")],g)},31593(t,e,i){i.d(e,{A:()=>S});var s=i(5482),r=i(66552),n=i(4718),o=i(90629),a=i(91429),h=i(20378),l=i(93223);let c=class extends h.A{constructor(t){super(t),this.type="simple-line"}get width(){return this._get("width")??.75}set width(t){this._set("width",t)}hash(){return`${this.type}.${this.width}`}};(0,s.Cg)([(0,l.e)({esriSLS:"simple-line"},{readOnly:!0})],c.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)({type:Number,cast:o.cr,json:{write:!0}})],c.prototype,"width",null),c=(0,s.Cg)([(0,a.$K)("esri.symbols.LineSymbol")],c);var u,p=i(68197),g=i(25482),d=i(83213),y=i(43937),f=i(36005);let m=u=class extends g.o{constructor(t){super(t),this.placement="begin-end",this.type="line-marker",this.style="arrow"}writeStyle(t,e,i,s){e[i]="web-map"===s?.origin?"arrow":t}set color(t){this._set("color",t)}readColor(t){return null!=t?.[0]?[t[0],t[1],t[2],t[3]/255]:t}writeColor(t,e,i,s){"web-map"===s?.origin||(e[i]=t)}clone(){return new u({color:(0,n.o8)(this.color),placement:this.placement,style:this.style})}hash(){return`${this.placement}.${this.color?.hash()}.${this.style}`}};(0,s.Cg)([(0,a.MZ)({type:["begin","end","begin-end"],json:{write:!0}})],m.prototype,"placement",void 0),(0,s.Cg)([(0,l.e)({"line-marker":"line-marker"},{readOnly:!0}),(0,a.MZ)({json:{origins:{"web-map":{write:!1}}}})],m.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)({type:d.z})],m.prototype,"style",void 0),(0,s.Cg)([(0,y.K)("style")],m.prototype,"writeStyle",null),(0,s.Cg)([(0,a.MZ)({type:p.A,value:null,json:{write:{allowNull:!0}}})],m.prototype,"color",null),(0,s.Cg)([(0,f.w)("color")],m.prototype,"readColor",null),(0,s.Cg)([(0,y.K)("color")],m.prototype,"writeColor",null),m=u=(0,s.Cg)([(0,a.$K)("esri.symbols.LineSymbolMarker")],m);const _=m;var w;const b=new r.J({esriSLSSolid:"solid",esriSLSDash:"dash",esriSLSDot:"dot",esriSLSDashDot:"dash-dot",esriSLSDashDotDot:"long-dash-dot-dot",esriSLSNull:"none",esriSLSShortDash:"short-dash",esriSLSShortDot:"short-dot",esriSLSShortDashDot:"short-dash-dot",esriSLSShortDashDotDot:"short-dash-dot-dot",esriSLSLongDash:"long-dash",esriSLSLongDashDot:"long-dash-dot"});let S=w=class extends c{constructor(...t){super(...t),this.type="simple-line",this.style="solid",this.cap="round",this.join="round",this.marker=null,this.miterLimit=2}normalizeCtorArgs(t,e,i,s,r,n){if(t&&"string"!=typeof t)return t;const a={};return null!=t&&(a.style=t),null!=e&&(a.color=e),null!=i&&(a.width=(0,o.cr)(i)),null!=s&&(a.cap=s),null!=r&&(a.join=r),null!=n&&(a.miterLimit=(0,o.cr)(n)),a}clone(){return new w({color:(0,n.o8)(this.color),style:this.style,width:this.width,cap:this.cap,join:this.join,miterLimit:this.miterLimit,marker:this.marker?.clone()})}hash(){return`${super.hash()}.${this.color?.hash()}.${this.style}.${this.cap}.${this.join}.${this.miterLimit}.${this.marker?.hash()}`}};(0,s.Cg)([(0,l.e)({esriSLS:"simple-line"},{readOnly:!0})],S.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)({type:b.apiValues,json:{read:b.read,write:b.write}})],S.prototype,"style",void 0),(0,s.Cg)([(0,a.MZ)({type:["butt","round","square"],json:{write:{overridePolicy:(t,e,i)=>({enabled:"round"!==t&&null==i?.origin})}}})],S.prototype,"cap",void 0),(0,s.Cg)([(0,a.MZ)({type:["miter","round","bevel"],json:{write:{overridePolicy:(t,e,i)=>({enabled:"round"!==t&&null==i?.origin})}}})],S.prototype,"join",void 0),(0,s.Cg)([(0,a.MZ)({types:{key:"type",base:null,defaultKeyValue:"line-marker",typeMap:{"line-marker":_}},json:{write:!0,origins:{"web-scene":{write:!1}}}})],S.prototype,"marker",void 0),(0,s.Cg)([(0,a.MZ)({type:Number,json:{read:!1,write:!1}})],S.prototype,"miterLimit",void 0),S=w=(0,s.Cg)([(0,a.$K)("esri.symbols.SimpleLineSymbol")],S)},53930(t,e,i){i.d(e,{A:()=>y});var s,r=i(5482),n=i(68197),o=i(66552),a=i(4718),h=i(90629),l=i(91429),c=i(89420),u=i(31593),p=i(43937),g=i(93223);const d=new o.J({esriSMSCircle:"circle",esriSMSSquare:"square",esriSMSCross:"cross",esriSMSX:"x",esriSMSDiamond:"diamond",esriSMSTriangle:"triangle",esriSMSPath:"path"});let y=s=class extends c.A{constructor(...t){super(...t),this.color=new n.A([255,255,255,.25]),this.type="simple-marker",this.style="circle",this.outline=new u.A}normalizeCtorArgs(t,e,i,s){if(t&&"string"!=typeof t)return t;const r={};return t&&(r.style=t),null!=e&&(r.size=(0,h.cr)(e)),i&&(r.outline=i),s&&(r.color=s),r}writeColor(t,e){t&&"x"!==this.style&&"cross"!==this.style&&(e.color=t.toJSON()),null===t&&(e.color=null)}get size(){return this._get("size")??12}set size(t){this._set("size",t)}set path(t){this.style="path",this._set("path",t)}clone(){return new s({angle:this.angle,color:(0,a.o8)(this.color),outline:this.outline&&this.outline.clone(),path:this.path,size:this.size,style:this.style,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${super.hash()}.${this.color&&this.color.hash()}.${this.path}.${this.style}.${this.outline?.hash()}`}};(0,r.Cg)([(0,l.MZ)({type:n.A})],y.prototype,"color",void 0),(0,r.Cg)([(0,p.K)("color")],y.prototype,"writeColor",null),(0,r.Cg)([(0,g.e)({esriSMS:"simple-marker"},{readOnly:!0})],y.prototype,"type",void 0),(0,r.Cg)([(0,l.MZ)()],y.prototype,"size",null),(0,r.Cg)([(0,l.MZ)({type:d.apiValues,json:{read:d.read,write:d.write}})],y.prototype,"style",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],y.prototype,"path",null),(0,r.Cg)([(0,l.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":u.A}},json:{default:null,write:!0}})],y.prototype,"outline",void 0),y=s=(0,r.Cg)([(0,l.$K)("esri.symbols.SimpleMarkerSymbol")],y)},20378(t,e,i){i.d(e,{A:()=>u});var s=i(5482),r=i(68197),n=i(66552),o=i(25482),a=i(91429),h=i(36005);const l=new n.J({esriSMS:"simple-marker",esriPMS:"picture-marker",esriSLS:"simple-line",esriSFS:"simple-fill",esriPFS:"picture-fill",esriTS:"text",esriSHD:"shield-label-symbol",PointSymbol3D:"point-3d",LineSymbol3D:"line-3d",PolygonSymbol3D:"polygon-3d",WebStyleSymbol:"web-style",MeshSymbol3D:"mesh-3d",LabelSymbol3D:"label-3d",CIMSymbolReference:"cim"});let c=0,u=class extends o.o{constructor(t){super(t),this.id="sym"+c++,this.type=null,this.color=new r.A([0,0,0,1])}readColor(t){return null!=t?.[0]?[t[0],t[1],t[2],t[3]/255]:t}async collectRequiredFields(t,e){}hash(){return JSON.stringify(this.toJSON())}clone(){}};(0,s.Cg)([(0,a.MZ)({type:l.apiValues,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:l.write,isRequired:!0}}})],u.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)({type:r.A,json:{write:{allowNull:!0}}})],u.prototype,"color",void 0),(0,s.Cg)([(0,h.w)("color")],u.prototype,"readColor",null),u=(0,s.Cg)([(0,a.$K)("esri.symbols.Symbol")],u)},68249(t,e,i){i.d(e,{A:()=>d});var s,r=i(5482),n=i(68197),o=i(4718),a=i(90629),h=i(91429),l=i(11831),c=i(20378),u=i(5760),p=i(93223),g=i(43937);let d=s=class extends c.A{constructor(...t){super(...t),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new l.A,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.angle=0,this.width=null,this.lineHeight=1}normalizeCtorArgs(t,e,i){if(t&&"string"!=typeof t)return t;const s={};return t&&(s.text=t),e&&(s.font=e),i&&(s.color=i),s}get haloSize(){return this._get("haloSize")??null}set haloSize(t){this._set("haloSize",t)}get xoffset(){return this._get("xoffset")??0}set xoffset(t){this._set("xoffset",t)}get yoffset(){return this._get("yoffset")??0}set yoffset(t){this._set("yoffset",t)}get lineWidth(){return this._get("lineWidth")??192}set lineWidth(t){this._set("lineWidth",t)}writeLineWidth(t,e,i,s){s&&"string"!=typeof s?s.origin:e[i]=t}castLineWidth(t){return(0,a.cr)(t)}writeLineHeight(t,e,i,s){s&&"string"!=typeof s?s.origin:e[i]=t}clone(){return new s({angle:this.angle,backgroundColor:(0,o.o8)(this.backgroundColor),borderLineColor:(0,o.o8)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,o.o8)(this.color),font:this.font&&this.font.clone(),haloColor:(0,o.o8)(this.haloColor),haloSize:this.haloSize,horizontalAlignment:this.horizontalAlignment,kerning:this.kerning,lineHeight:this.lineHeight,lineWidth:this.lineWidth,rightToLeft:this.rightToLeft,rotated:this.rotated,text:this.text,verticalAlignment:this.verticalAlignment,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${this.backgroundColor?.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color?.hash()}.${this.font&&this.font.hash()}.${this.haloColor?.hash()}.${this.haloSize}.${this.horizontalAlignment}.${this.kerning}.${this.rightToLeft}.${this.rotated}.${this.text}.${this.verticalAlignment}.${this.width}.${this.xoffset}.${this.yoffset}.${this.lineHeight}.${this.lineWidth}.${this.angle}`}};(0,r.Cg)([(0,h.MZ)({type:n.A,json:{write:!0}})],d.prototype,"backgroundColor",void 0),(0,r.Cg)([(0,h.MZ)({type:n.A,json:{write:!0}})],d.prototype,"borderLineColor",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,json:{write:!0},cast:a.cr})],d.prototype,"borderLineSize",void 0),(0,r.Cg)([(0,h.MZ)({type:l.A,json:{write:!0}})],d.prototype,"font",void 0),(0,r.Cg)([(0,h.MZ)({...u.rM,json:{write:!0}})],d.prototype,"horizontalAlignment",void 0),(0,r.Cg)([(0,h.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"kerning",void 0),(0,r.Cg)([(0,h.MZ)({type:n.A,json:{write:!0}})],d.prototype,"haloColor",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,cast:a.cr,json:{write:!0}})],d.prototype,"haloSize",null),(0,r.Cg)([(0,h.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"rightToLeft",void 0),(0,r.Cg)([(0,h.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"rotated",void 0),(0,r.Cg)([(0,h.MZ)({type:String,json:{write:!0}})],d.prototype,"text",void 0),(0,r.Cg)([(0,p.e)({esriTS:"text"},{readOnly:!0})],d.prototype,"type",void 0),(0,r.Cg)([(0,h.MZ)({...u.x0,json:{write:!0}})],d.prototype,"verticalAlignment",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,cast:a.cr,json:{write:!0}})],d.prototype,"xoffset",null),(0,r.Cg)([(0,h.MZ)({type:Number,cast:a.cr,json:{write:!0}})],d.prototype,"yoffset",null),(0,r.Cg)([(0,h.MZ)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],d.prototype,"angle",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,json:{write:!0}})],d.prototype,"width",void 0),(0,r.Cg)([(0,h.MZ)({type:Number})],d.prototype,"lineWidth",null),(0,r.Cg)([(0,g.K)("lineWidth")],d.prototype,"writeLineWidth",null),(0,r.Cg)([(0,h.wg)("lineWidth")],d.prototype,"castLineWidth",null),(0,r.Cg)([(0,h.MZ)(u.Tb)],d.prototype,"lineHeight",void 0),(0,r.Cg)([(0,g.K)("lineHeight")],d.prototype,"writeLineHeight",null),d=s=(0,r.Cg)([(0,h.$K)("esri.symbols.TextSymbol")],d)},59868(t,e,i){var s=i(94985),r=i(31593),n=i(53930),o=i(68249),a=i(93470);const h=n.A.fromJSON(a.Cb),l=r.A.fromJSON(a.yM),c=s.A.fromJSON(a.WR),u=o.A.fromJSON(a.JZ);n.A.fromJSON(a.nC),r.A.fromJSON(a.HW),s.A.fromJSON(a.b6),i.d(e,["A7",0,l,"Cx",0,c,"Hk",0,u,"UK",0,h])},93470(t,e,i){const s=[252,146,31,255],r={type:"esriSMS",style:"esriSMSCircle",size:6,color:s,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},n={type:"esriSLS",style:"esriSLSSolid",width:.75,color:s};i.d(e,["Cb",0,r,"HW",0,{type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},"JR",0,[153,153,153,255],"JZ",0,{type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},"WR",0,{type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},"b6",0,{type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null},"fT",0,s,"nC",0,{type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},"yM",0,n])},83213(t,e,i){i.d(e,["x",0,["begin","end","begin-end"],"z",0,["arrow","circle","square","diamond","cross","x"]])},5760(t,e,i){var s=i(34727),r=i(56507);const n={type:Number,cast:t=>{const e=(0,r.GB)(t);return 0===e?1:(0,s.qE)(e,.1,4)},nonNullable:!0};i.d(e,["NM",0,["normal","lighter","bold","bolder"],"Tb",0,n,"_R",0,["normal","italic","oblique"],"h9",0,["none","underline","line-through"],"rM",0,{type:["left","right","center"],nonNullable:!0},"x0",0,{type:["baseline","top","middle","bottom"],nonNullable:!0}])},98623(t,e,i){const s=Intl.DateTimeFormat().resolvedOptions().timeZone;i.d(e,["L",0,"unknown","N",0,s])},93602(t,e,i){i.r(e),i.d(e,{default:()=>k});var s=i(11254),r=i(6371),n=i(57582),o=i(44208),a=i(53966),h=i(17676),l=i(2741);let c=null;var u=i(69754),p=(i(83027),i(18989));i(25530),i(67171);const g={width:5,height:2,left:0,top:0};new p.A(0,0,11,8),new p.A(11,0,11,8);const d=1e20;class y{constructor(t){this.pxDensity=4,this.sdfSizePx=t.sdfSizePx,this.sdfBufferPx=t.sdfBufferPx,this.rasterSizePx=this.pxDensity*this.sdfSizePx,this.rasterBufferPx=this.pxDensity*this.sdfBufferPx,this.radius=t.radius,this.cutoff=t.cutoff;const e=this.pxDensity*t.sdfSizePx*3;this.canvasSize=e;const i=new OffscreenCanvas(e,e);this.context=i.getContext("2d",{willReadFrequently:!0}),this.context.imageSmoothingEnabled=!1,this.gridOuter=new Float64Array(e*e),this.gridInner=new Float64Array(e*e),this.gridValues=new Float64Array(e),this.parabolaBoundaries=new Float64Array(e+1),this.parabolaIndices=new Uint16Array(e)}draw(t,e){const{context:i,gridInner:s,gridOuter:r,rasterSizePx:n,rasterBufferPx:o,canvasSize:a,radius:h,cutoff:l}=this,c=n/t.units_per_em();this.context.fillStyle="black",this.context.strokeStyle="black",this.context.resetTransform(),this.context.clearRect(0,0,a,a),this.context.translate(n,n),this.context.scale(c,c);const u=t.paintCurves(e,i);if(!u)return null;const p=u.xMin*c,g=u.xMax*c,y=u.yMin*c,f=u.yMax*c;u.free();const m=Math.ceil(g-p),_=Math.ceil(f-y),w=Math.floor(n+p-o),b=Math.floor(n+y-o),S=m+2*o,v=_+2*o,x=new Float32Array(Math.max(S*v,0)),C=i.getImageData(w,b,S,v);r.fill(d,0,x.length),s.fill(0,0,x.length);for(let t=0;t<v;t++)for(let e=0;e<S;e++){const i=v-1-t,n=C.data[4*(i*S+e)+3]/255;if(0===n)continue;const o=t*S+e;if(1===n)r[o]=0,s[o]=d;else{const t=.5-n;r[o]=t>0?t*t:0,s[o]=t<0?t*t:0}}this._edt(r,0,0,S,v,S),this._edt(s,0,0,S,v,S);for(let t=0;t<x.length;t++)x[t]=Math.sqrt(r[t])-Math.sqrt(s[t]);const A=Math.ceil(S/this.pxDensity),M=Math.ceil(v/this.pxDensity),k=this.pxDensity*this.pxDensity,R=new Uint8ClampedArray(Math.max(A*M,0));for(let t=0;t<M;t++)for(let e=0;e<A;e++){let i=0;for(let s=0;s<this.pxDensity;s++)for(let r=0;r<this.pxDensity;r++)e+r>S||t+s>v||(i+=x[(this.pxDensity*t+s)*S+(this.pxDensity*e+r)]);const s=i/this.pxDensity/k/h+l;R[t*A+e]=Math.round(255-255*s)}const I=c*t.face_height(),P=Math.round(f-I+2*o),z=Math.round(p-o);return{buffer:R,rect:{width:Math.ceil(m/this.pxDensity),height:Math.ceil(_/this.pxDensity),top:Math.round(P/this.pxDensity),left:Math.round(z/this.pxDensity)}}}_edt(t,e,i,s,r,n){for(let o=e;o<e+s;o++)this._edt1d(t,i*n+o,n,r);for(let o=i;o<i+r;o++)this._edt1d(t,o*n+e,1,s)}_edt1d(t,e,i,s){const r=this.parabolaIndices,n=this.parabolaBoundaries,o=this.gridValues;r[0]=0,n[0]=-d,n[1]=d,o[0]=t[e];let a=0;for(let h=1;h<s;h++){o[h]=t[e+h*i];const s=h*h;let l;do{const t=r[a];l=(o[h]-o[t]+s-t*t)/(h-t)/2}while(l<=n[a]&&--a>-1);a++,r[a]=h,n[a]=l,n[a+1]=d}for(let a=0,h=0;a<s;a++){for(;n[h+1]<a;)h++;const s=r[h],l=a-s;t[e+a*i]=o[s]+l*l}}}var f=i(92602),m=i(51624);class _{constructor(t){this._rects=[],this._shapings=[],this._bitmaps=[];const e=new Map;let i=0;for(;t.next();)switch(t.tag()){case 1:{const s=t.getMessage();for(;s.next();)switch(s.tag()){case 3:{const t=s.getMessage();let r,n,o,a,h,l,c;for(;t.next();)switch(t.tag()){case 1:r=t.getUInt32();break;case 2:n=t.getBytes();break;case 3:o=t.getUInt32();break;case 4:a=t.getUInt32();break;case 5:h=t.getSInt32();break;case 6:l=t.getSInt32();break;case 7:c=t.getUInt32();break;default:t.skip()}if(t.release(),r){const t={width:o,height:a,left:h,top:l};this._rects[r]=t;const s={xOffset:0,yOffset:0,xAdvance:c,yAdvance:0};if(this._shapings[r]=s,n){const t=n.length;e.set(r,n),this._bitmaps[r]={start:i,length:t},i+=t}}break}default:s.skip()}s.release();break}default:t.skip()}this._buffer=new Uint8Array(i);for(const[t,i]of e)this._buffer.set(i,this._bitmaps[t].start)}getRect(t){return this._rects.at(t)}getShaping(t){return this._shapings.at(t)}getBitmap(t){const e=this._bitmaps.at(t);if(void 0!==e&&0!==e.length)return this._buffer.subarray(e.start,e.start+e.length)}}class w{constructor(){this._ranges=[]}getRange(t){return this._ranges.at(t)}addRange(t,e){this._ranges[t]=e}}class b{constructor(t){this._glyphInfo=new Map,this._baseURL=t,this._woff2URL=`${f.A.fontsUrl}/woff2/{fontstack}.woff2`}async fetchRange(t,e,i){const r=this._getFontStack(t);if(r.getRange(e))return;const n=256*e,o=n+255,a=this._baseURL.replace("{fontstack}",t).replace("{range}",n+"-"+o);return(0,s.A)(a,{responseType:"array-buffer",signal:i?.signal}).then(t=>{r.addRange(e,new _(new m.A(new Uint8Array(t.data),new DataView(t.data))))})}async preloadASCIIRange(t){const e=this._getFontStack(t),i=this._baseURL.replace("{fontstack}",t).replace("{range}","0-255"),r=await(0,s.A)(i,{responseType:"array-buffer"}),n=new _(new m.A(new Uint8Array(r.data),new DataView(r.data)));for(let t=0;t<=255;t++)e.getRange(t)||e.addRange(t,n)}getRange(t,e){const i=this._glyphInfo.get(t);return i?.getRange(Math.floor(e/256))}woffURL(t){return this._woff2URL.replace("{fontstack}",t)}_getFontStack(t){return this._glyphInfo.get(t)||this._glyphInfo.set(t,new w),this._glyphInfo.get(t)}}class S{constructor(t,e){this._width=0,this._height=0,this._free=[],this._width=t,this._height=e,this._free.push(new p.A(0,0,t,e))}get width(){return this._width}get height(){return this._height}allocate(t,e){if(t>this._width||e>this._height)return new p.A;let i=null,s=-1;for(let r=0;r<this._free.length;++r){const n=this._free[r];t<=n.width&&e<=n.height&&(null===i||n.y<=i.y&&n.x<=i.x)&&(i=n,s=r)}return null===i?new p.A:(this._free.splice(s,1),i.width<i.height?(i.width>t&&this._free.push(new p.A(i.x+t,i.y,i.width-t,e)),i.height>e&&this._free.push(new p.A(i.x,i.y+e,i.width,i.height-e))):(i.width>t&&this._free.push(new p.A(i.x+t,i.y,i.width-t,i.height)),i.height>e&&this._free.push(new p.A(i.x,i.y+e,t,i.height-e))),new p.A(i.x,i.y,t,e))}release(t){for(let e=0;e<this._free.length;++e){const i=this._free[e];if(i.y===t.y&&i.height===t.height&&i.x+i.width===t.x)i.width+=t.width;else if(i.x===t.x&&i.width===t.width&&i.y+i.height===t.y)i.height+=t.height;else if(t.y===i.y&&t.height===i.height&&t.x+t.width===i.x)i.x=t.x,i.width+=t.width;else{if(t.x!==i.x||t.width!==i.width||t.y+t.height!==i.y)continue;i.y=t.y,i.height+=t.height}this._free.splice(e,1),this.release(t)}this._free.push(t)}}i(49186),i(563),i(90629),i(799),i(21287),i(5427),i(44589),i(40804),i(93397),Math.PI,Math.LN2;var v=i(27071);function x(t,e,i,s){return 1|t<<1|(i?1:0)<<2|("Nearest"===s?1:0)<<3|e<<4}i(46858),i(63907),i(42553);const C="arial-unicode-ms-regular",A=/[\u0695\u0698\u06a9\u06af\u06b5\u06be\u06c6\u06cc\u06ce\u06d5\u06ca]|\p{Script=Thai}|\p{Script=Lao}|\p{Script=Tamil}|\p{Script=Khmer}/u,M=new Set(["Noto Sans Khmer","Noto Sans Lao","Noto Sans Myanmar","Noto Sans Thai"]);class k{constructor(){this._glyphSources=new Map,this._snapCoords=!0,this._currentPage=0,this._faces=new Map,this._facePromises=new Map,this._pbfRangePromises=new Map,this._glyphCache=new Map,this._pbfGlyphCache=new Map,this._invalidFonts=new Set,this._preloadCache={},this._glyphSDFCreator=new y({sdfSizePx:24,sdfBufferPx:3,radius:8,cutoff:.25})}set remoteClient(t){this._client=t.createInvokeProxy();const e=this._client.getOptions();this._inited=this._init(e)}async rasterizeText(t,e,i){await this._inited;const s=e.symbol?(0,u.Z)(e):null;return s?{type:"rich-glyphs",runs:(await Promise.all(s.map(async e=>({fontSize:e.fontSize,characterSpacing:e.characterSpacing,color:e.color,glyphs:await this._rasterizeTextRun(t,e.font,e.text,i)})))).filter(t=>null!=t.glyphs)}:this._rasterizeTextRun(t,e.font,e.textString,i)}async _rasterizeTextRun(t,e,i,s){const r=(0,n.rK)(e),h=this._invalidFonts.has(r),l=!!(0,o.A)("esri-2d-force-complex-shaping"),c=!!(0,o.A)("esri-2d-complex-shaping")&&A.test(i),u=M.has(e.family),p=l||c||u,g=h?C:r;let d=await this.getGlyphItems(i,p,t,g,!1,s);return d||(((t,e="")=>{a.A.getLogger("esri.views.MapView").warnOnce(t,e)})(`Font ${r} is not available on the web, using "Arial Unicode MS Regular"`),this._invalidFonts.add(r),d=await this.getGlyphItems(i,p,t,C,!1,s)),d}async getGlyphItems(t,e,i,s,n,a){await this._inited;const h=this._getSource(i);let l,c,u;if((0,o.A)("esri-2d-stabilize-glyphs")&&await this.preloadASCIIGlyphCache(h,s).catch(()=>{}),e){const e=await this._getFace(h,s);if(!e)return null;let i=this._glyphCache.get(s);i||(i=new Map,this._glyphCache.set(s,i));const{shaping:r,isRTL:n}=this._shape(e,t);u=n,l=r.map(t=>this._getShapedGlyph(e,i,t)),c={baseline:e.baseline()/24,midline:e.midline()/24}}else{let e=this._pbfGlyphCache.get(s);e||(e=new Map,this._pbfGlyphCache.set(s,e));const[i,o,c]=(0,r.y)(t),p=(0,v.bX)(i);try{await this._fetchRanges(h,s,p,a)}catch{return null}u=o,l=p.map(t=>this._getPBFGlyph(e,h,s,t,n)).filter(t=>!!t)}const p=l.filter(t=>t.needsRecord);return p.length>0&&await this._client.recordGlyphs(p),{type:"glyphs",glyphs:l,faceInfo:c,isRightToLeft:u,sdfSize:24,sdfRadius:8,sdfPadding:3}}async _init(t){const{width:e,height:i,snapCoords:s}=await t;this._glyphCache=new Map,this._pbfGlyphCache=new Map,this._binPack=new S(e,i),this._snapCoords=s,this._currentPage=0,this._initDecorationGlyphs()}_getShapedGlyph(t,e,i){let s,r,n=e.get(i.glyphId);if(!n){s=this._glyphSDFCreator.draw(t,i.glyphId);const o=this._glyphSDFCreator.sdfBufferPx;n={mosaicItem:{rect:this._recordGlyph(s?.rect,o),page:this._currentPage,sdf:!0,textureBinding:x(1,this._currentPage,!0)},glyphRect:s?.rect??{width:0,height:0,top:0,left:0}},e.set(i.glyphId,n),r=!0}return{mosaicItem:n.mosaicItem,rect:n.glyphRect,shaping:{xAdvance:i.xAdvance,yAdvance:i.yAdvance,xOffset:i.xOffset,yOffset:i.yOffset},code:i.isNewline?10:i.isWhitespace?32:NaN,sdf:s,needsRecord:r}}_getPBFGlyph(t,e,i,s,r=!1){let n,o,a=t.get(s);if(!a){const h=e.getRange(i,s),l=h?.getRect(s),c=h?.getShaping(s),u=h?.getBitmap(s);if(r&&(!l||!c))return;if(!l||!c)return I(s);n=u&&{buffer:u,rect:l},a={mosaicItem:{rect:u?this._recordGlyph(l,3):new p.A(0,0,0,0),sdf:!0,page:this._currentPage,textureBinding:x(1,this._currentPage,!0)},rect:l,shaping:c,code:s},o=!0,t.set(s,a)}const{mosaicItem:h,rect:l,shaping:c}=a;return{mosaicItem:h,rect:l,shaping:c,code:s,sdf:n,needsRecord:o}}_shape(t,e){const i=this._glyphSDFCreator.sdfSizePx,[s,n,o]=(0,r.y)(e,!1),a=new Uint32Array(Array.from(s).map((t,e)=>o.levels[o.targetToSource[e]]));return{shaping:t.shape(s,a,i),isRTL:n}}async _getFace(t,e,r){if(this._faces.has(e))return this._faces.get(e);const n=t.woffURL(e);return await R(this._facePromises,e,async()=>{const t=await(0,s.A)(n,{responseType:"array-buffer",...r}),o=(await async function(){return c||(c=async function(){const t=await i.e(1687).then(i.bind(i,31687));return await t.default({module_or_path:(0,l.s)("esri/libs/text/pkg/bundle_bg.wasm")}),t}()),c}()).Face.parseWoff2(new Uint8Array(t.data));this._faces.set(e,o)}),this._faces.get(e)}_getSource(t){return this._glyphSources.has(t)||this._glyphSources.set(t,new b(t)),this._glyphSources.get(t)}async _fetchRanges(t,e,i,s){const r=function(t){const e=new Set;for(const i of t)e.add(Math.floor(i/256));return e}(i),n=[];r.forEach(i=>{n.push(this._fetchRange(t,e,i,s))}),await Promise.all(n)}async _fetchRange(t,e,i,s){if(i>256)return;const r=e+i;return R(this._pbfRangePromises,r,()=>t.fetchRange(e,i,s))}_allocNewPage(){this._currentPage++,this._binPack=new S(this._binPack.width,this._binPack.height),this._initDecorationGlyphs()}_recordGlyph(t,e){const i=this._binPack;if(!t||0===t.width)return new p.A;const s=t.width+2*e,r=t.height+2*e;let n=s,o=r;this._snapCoords&&(n+=s%4?4-s%4:4,o+=r%4?4-r%4:4);const a=i.allocate(n,o);return a.isEmpty?(this._allocNewPage(),i.allocate(n,o)):a}_initDecorationGlyphs(){this._recordGlyph(g,3),this._recordGlyph(g,3)}preloadASCIIGlyphCache(t,e){const i=this._preloadCache[e];if(null!=i)return i;const s=t.preloadASCIIRange(e).then(async()=>{let i=this._pbfGlyphCache.get(e);i||(i=new Map,this._pbfGlyphCache.set(e,i));for(let s=0;s<256;s++)this._getPBFGlyph(i,t,e,s);const s=Array.from(this._pbfGlyphCache.get(e).values());await this._client.recordGlyphs(s)},t=>{throw delete this._preloadCache[e],t});return this._preloadCache[e]=s,s}}function R(t,e,i){return t.has(e)||t.set(e,i().finally(()=>{t.delete(e)}).catch(t=>{(0,h.jH)(t)})),t.get(e)}const I=t=>({mosaicItem:{rect:new p.A(0,0,0,0),sdf:!0,page:0},rect:{left:0,width:0,height:0,top:0},shaping:{xAdvance:0,yAdvance:0,xOffset:0,yOffset:0},code:t})},27071(t,e,i){i.d(e,{bX:()=>a,Qz:()=>o});var s=i(49186),r=i(53966),n=i(63907);function o(t){switch(t){case n.ld.UNSIGNED_BYTE:return Uint8Array;case n.ld.UNSIGNED_SHORT_4_4_4_4:return Uint16Array;case n.ld.FLOAT:return Float32Array;default:return void r.A.getLogger("esri.views.2d.engine.webgl.Utils").error(new s.A("webgl-utils",`Unable to handle type ${t}`))}}function a(t){const e=[];for(let i=0;i<t.length;i++)e.push(t.charCodeAt(i));return e}new Map},46858(t,e,i){i.d(e,{A:()=>n,J:()=>r});var s=i(799);function r(t,e){let i;if("string"==typeof t)i=(0,s.Wm)(t+`-seed(${e})`);else{let s=12;i=t^e;do{i=107*(i>>8^i)+s|0}while(0!==--s)}return(1+i/(1<<31))/2}function n(t){return Math.floor(r(t,o)*a)}const o=53290320,a=10}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2136],{57582(t,e,s){s.d(e,{af:()=>n,rK:()=>r}),s(92602);const i="arial-unicode-ms";function n(t){if(!t)return i;const e=t.toLowerCase().split(" ").join("-");switch(e){case"serif":return"noto-serif";case"sans-serif":return"arial-unicode-ms";case"monospace":return"ubuntu-mono";case"fantasy":return"cabin-sketch";case"cursive":return"redressed";default:return e}}function r(t){const e=function(t){if(!t.weight)return"";switch(t.weight.toLowerCase()){case"bold":case"bolder":return"-bold"}return""}(t)+function(t){if(!t.style)return"";switch(t.style.toLowerCase()){case"italic":case"oblique":return"-italic"}return""}(t);return n(t.family)+(e.length>0?e:"-regular")}new Map,new Set,s.d(e,["Vb",0,i])},85560(t,e,s){function i(){const t=new Float32Array(6);return t[0]=1,t[3]=1,t}function n(t,e,s,i){const n=e[i],r=e[i+1];t[i]=s[0]*n+s[2]*r+s[4],t[i+1]=s[1]*n+s[3]*r+s[5]}s.d(e,{vt:()=>i}),Object.freeze(Object.defineProperty({__proto__:null,clone:function(t){const e=new Float32Array(6);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e},create:i,fromValues:function(t,e,s,i,n,r){const h=new Float32Array(6);return h[0]=t,h[1]=e,h[2]=s,h[3]=i,h[4]=n,h[5]=r,h},transform:n,transformMany:function(t,e,s,i=0,r=0,h=2){const o=r||e.length/h;for(let r=i;r<o;r++)n(t,e,s,r*h)}},Symbol.toStringTag,{value:"Module"}))},88340(t,e,s){function i(){return new Float32Array(2)}function n(t,e){const s=new Float32Array(2);return s[0]=t,s[1]=e,s}function r(){return i()}function h(){return n(1,1)}function o(){return n(1,0)}function a(){return n(0,1)}s.d(e,{fA:()=>n,vt:()=>i});const l=r(),c=h(),u=o(),_=a();Object.freeze(Object.defineProperty({__proto__:null,ONES:c,UNIT_X:u,UNIT_Y:_,ZEROS:l,clone:function(t){const e=new Float32Array(2);return e[0]=t[0],e[1]=t[1],e},create:i,fromValues:n,ones:h,unitX:o,unitY:a,zeros:r},Symbol.toStringTag,{value:"Module"})),s.d(e,["Un",0,c,"uY",0,l])},16905(t,e,s){s.d(e,{$0:()=>a,D_:()=>n,Tl:()=>o,e$:()=>h,lw:()=>r});var i=s(34304);function n(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function r(t,e,s){const i=e[0],n=e[1],r=e[2],h=e[3],o=e[4],a=e[5],l=s[0],c=s[1],u=s[2],_=s[3],p=s[4],f=s[5];return t[0]=i*l+r*c,t[1]=n*l+h*c,t[2]=i*u+r*_,t[3]=n*u+h*_,t[4]=i*p+r*f+o,t[5]=n*p+h*f+a,t}function h(t,e,s){const i=e[0],n=e[1],r=e[2],h=e[3],o=e[4],a=e[5],l=Math.sin(s),c=Math.cos(s);return t[0]=i*c+r*l,t[1]=n*c+h*l,t[2]=i*-l+r*c,t[3]=n*-l+h*c,t[4]=o,t[5]=a,t}function o(t,e,s){const i=e[0],n=e[1],r=e[2],h=e[3],o=e[4],a=e[5],l=s[0],c=s[1];return t[0]=i,t[1]=n,t[2]=r,t[3]=h,t[4]=i*l+r*c+o,t[5]=n*l+h*c+a,t}function a(t,e){const s=Math.sin(e),i=Math.cos(e);return t[0]=i,t[1]=s,t[2]=-s,t[3]=i,t[4]=0,t[5]=0,t}function l(t,e,s){return t[0]=e[0]-s[0],t[1]=e[1]-s[1],t[2]=e[2]-s[2],t[3]=e[3]-s[3],t[4]=e[4]-s[4],t[5]=e[5]-s[5],t}const c=r,u=l;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,e,s){return t[0]=e[0]+s[0],t[1]=e[1]+s[1],t[2]=e[2]+s[2],t[3]=e[3]+s[3],t[4]=e[4]+s[4],t[5]=e[5]+s[5],t},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t},determinant:function(t){return t[0]*t[3]-t[1]*t[2]},equals:function(t,e){const s=t[0],n=t[1],r=t[2],h=t[3],o=t[4],a=t[5],l=e[0],c=e[1],u=e[2],_=e[3],p=e[4],f=e[5],d=(0,i.FD)();return Math.abs(s-l)<=d*Math.max(1,Math.abs(s),Math.abs(l))&&Math.abs(n-c)<=d*Math.max(1,Math.abs(n),Math.abs(c))&&Math.abs(r-u)<=d*Math.max(1,Math.abs(r),Math.abs(u))&&Math.abs(h-_)<=d*Math.max(1,Math.abs(h),Math.abs(_))&&Math.abs(o-p)<=d*Math.max(1,Math.abs(o),Math.abs(p))&&Math.abs(a-f)<=d*Math.max(1,Math.abs(a),Math.abs(f))},exactEquals:function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]},frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+1)},fromRotation:a,fromScaling:function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=e[1],t[4]=0,t[5]=0,t},fromTranslation:function(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=e[0],t[5]=e[1],t},identity:n,invert:function(t,e){const s=e[0],i=e[1],n=e[2],r=e[3],h=e[4],o=e[5];let a=s*r-i*n;return a?(a=1/a,t[0]=r*a,t[1]=-i*a,t[2]=-n*a,t[3]=s*a,t[4]=(n*o-r*h)*a,t[5]=(i*h-s*o)*a,t):null},mul:c,multiply:r,multiplyScalar:function(t,e,s){return t[0]=e[0]*s,t[1]=e[1]*s,t[2]=e[2]*s,t[3]=e[3]*s,t[4]=e[4]*s,t[5]=e[5]*s,t},multiplyScalarAndAdd:function(t,e,s,i){return t[0]=e[0]+s[0]*i,t[1]=e[1]+s[1]*i,t[2]=e[2]+s[2]*i,t[3]=e[3]+s[3]*i,t[4]=e[4]+s[4]*i,t[5]=e[5]+s[5]*i,t},rotate:h,scale:function(t,e,s){const i=e[0],n=e[1],r=e[2],h=e[3],o=e[4],a=e[5],l=s[0],c=s[1];return t[0]=i*l,t[1]=n*l,t[2]=r*c,t[3]=h*c,t[4]=o,t[5]=a,t},set:function(t,e,s,i,n,r,h){return t[0]=e,t[1]=s,t[2]=i,t[3]=n,t[4]=r,t[5]=h,t},str:function(t){return"mat2d("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+")"},sub:u,subtract:l,translate:o},Symbol.toStringTag,{value:"Module"}))},35833(t,e,s){s.d(e,{ai:()=>g,g1:()=>m,kT:()=>P,qc:()=>x});var i=s(36745),n=s(93146),r=s(6774);const h=(0,n.z)(()=>Promise.all([s.e(9187),s.e(8885),s.e(9117),s.e(3299),s.e(8089),s.e(6160)]).then(s.bind(s,46160))),o=(0,n.z)(()=>Promise.all([s.e(9187),s.e(8885),s.e(9117),s.e(3299),s.e(8872)]).then(s.bind(s,55666))),a=(0,n.z)(()=>Promise.all([s.e(9187),s.e(8885),s.e(9117),s.e(3299),s.e(1060)]).then(s.bind(s,51190))),l=(0,n.z)(()=>Promise.all([s.e(9187),s.e(8885),s.e(9117),s.e(3299),s.e(837)]).then(s.bind(s,97528))),c=(0,n.z)(()=>Promise.all([s.e(9187),s.e(8885),s.e(9117),s.e(3299),s.e(8089),s.e(795)]).then(s.bind(s,50795))),u=(0,n.z)(()=>Promise.all([s.e(9187),s.e(8885),s.e(9117),s.e(3299),s.e(8089),s.e(5605)]).then(s.bind(s,15605))),_=(0,n.z)(()=>Promise.all([s.e(9187),s.e(8885),s.e(9117),s.e(3299),s.e(1075)]).then(s.bind(s,3637))),p=(0,n.z)(()=>Promise.all([s.e(9187),s.e(8885),s.e(9117),s.e(3299),s.e(8393)]).then(s.bind(s,25802))),f=(0,n.z)(()=>Promise.all([s.e(9187),s.e(8885),s.e(9117),s.e(3299),s.e(1948)]).then(s.bind(s,83299)));let d;function g(t){switch(t.type){case"CIMGeometricEffectDonut":case"CIMGeometricEffectBuffer":return h.getImportPromise();case"CIMGeometricEffectEnclosingPolygon":return o.getImportPromise();case"CIMGeometricEffectOffset":return Promise.all([p.getImportPromise(),u.getImportPromise(),c.getImportPromise()]);case"CIMGeometricEffectControlMeasureLine":return u.getImportPromise();case"CIMGeometricEffectTaperedPolygon":return Promise.all([_.getImportPromise(),a.getImportPromise(),l.getImportPromise()]);default:return Promise.resolve()}}function m(t){return"CIMMarkerPlacementAtMeasuredUnits"===t.type?f.getImportPromise():Promise.resolve()}class P{constructor(t){this._geometry=t}next(){const t=this._geometry;return this._geometry=null,t}}function x(t,e,s){if(!t)return null;d||(d=new r.O3(0,0,0,1));const n=s?-1:1,h="esriGeometryPolygon"===t.geometryType,o=h?3:2,a=h?3:2;let l,c;for(d.reset(o),d.setPixelMargin(e+1),d.setExtent(512);t.nextPath();)if(!(t.pathSize<a)){for(t.nextPoint(),l=t.x,c=n*t.y,d.moveTo(l,c);t.nextPoint();)l=t.x,c=n*t.y,d.lineTo(l,c);h&&d.close()}const u=d.result(!1);if(u){const e=i.z.createEmptyOptimizedCIM(t.geometryType);for(const t of u){e.startPath();for(const s of t)e.pushXY(s.x,n*s.y)}return e.reset(),e}return null}s.d(e,["$Z",0,h,"NS",0,l,"Xs",0,a,"hd",0,c,"lX",0,o,"mO",0,u,"vZ",0,f,"xR",0,p,"yM",0,_])},26937(t,e,s){s.d(e,{A:()=>$t,c:()=>Kt});class i{static{this.instance=null}static local(){return null===i.instance&&(i.instance=new i),i.instance}execute(t,e,s){return new n(t,e)}}class n{constructor(t,e){this._inputGeometries=t,this._angleTolerance=void 0!==e.angleTolerance?e.angleTolerance:120,this._maxCosAngle=Math.cos((1-Math.abs(this._angleTolerance)/180)*Math.PI)}next(){let t=this._inputGeometries.next();if(!t)return null;for(;t;){if("esriGeometryPolygon"===t.geometryType)this._isClosed=!0;else if("esriGeometryPolyline"===t.geometryType)this._isClosed=!1;else{if("esriGeometryEnvelope"!==t.geometryType){t=this._inputGeometries.next();continue}if(this._maxCosAngle)return t;this._isClosed=!0}for(;t.nextPath();)this._processPath(t);return t.reset(),t}return null}_processPath(t){if(t.nextPoint()){const e=t.x,s=t.y;let i=e,n=s,r=t.pathSize,h=0,o=0,a=0,l=0,c=0,u=0;this._isClosed&&++r;for(let _=1;t.nextPoint()||_<r;++_){let p,f;this._isClosed&&_===r-1?(p=e,f=s):(p=t.x,f=t.y);const d=p-i,g=f-n,m=Math.sqrt(d*d+g*g);_>1&&m>0&&a>0&&(h*d+o*g)/m/a<=this._maxCosAngle&&t.setControlPointAt(_-1),1===_&&(l=d,c=g,u=m),m>0&&(i=p,n=f,h=d,o=g,a=m)}this._isClosed&&a>0&&u>0&&(h*l+o*c)/u/a<=this._maxCosAngle&&t.setControlPointAt(0)}}}var r=s(36745),h=s(51118),o=s(98939);function a(t,e){t[4]=e}class l{constructor(t,e=!0,s=!0,i=0){this._angleToLine=!0,this._keepUpright=!1,this.isClosed=!1,this.geometryCursor=null,this.geometryCursor=!e&&"esriGeometryPolygon"===t.geometryType||!s&&"esriGeometryPolyline"===t.geometryType?null:t,this.geomUnitsPerPoint=i,this.iterateMultiPath=!1,this.iteratePath=!1,this.internalPlacement=new o.W}next(){if(!this.geometryCursor)return null;const t=this.processMultiPath(this.geometryCursor);if(this.iterateMultiPath&&t||(this.geometryCursor=null),!t)return null;const e=t.getAngle();if(this._angleToLine&&this._keepUpright&&Math.abs(e)>.5*Math.PI){const s=e+Math.PI,i=Math.atan2(Math.sin(s),Math.cos(s));Number.isNaN(i)||t.setRotate(i)}return t}processMultiPath(t){for(;this.iteratePath||t.pathIndex<t.totalSize-1;){this.iteratePath||t.nextPath(),this.iterateMultiPath=!0;const e=this.processPath(t);if(e)return e}return this.iterateMultiPath=!1,null}}class c{constructor(t,e,s,i=0){this.isClosed=!1,this.inputGeometries=t,this.acceptPolygon=e,this.acceptPolyline=s,this.geomUnitsPerPoint=i,this.iteratePath=!1,this.multiPathCursor=null}next(){for(;;){if(!this.multiPathCursor){let t=this.inputGeometries.next();for(;t&&(this.isClosed=this.acceptPolygon&&"esriGeometryPolygon"===t.geometryType||"esriGeometryEnvelope"===t.geometryType,this.multiPathCursor=t,!this.multiPathCursor);)t=this.inputGeometries.next();if(!this.multiPathCursor)return null}for(;this.iteratePath||this.multiPathCursor.nextPath();){this.multiPathCursor.seekPathStart();const t=this.processPath(this.multiPathCursor);if(t)return t}this.multiPathCursor=null}}}class u{constructor(t=0,e=!1){}isEmpty(t){if(!t.nextPoint())return!0;let e,s,i,n;for(e=t.x,s=t.y;t.nextPoint();e=s,s=n)if(i=t.x,n=t.y,i!==e||n!==s)return t.seekPathStart(),!1;return t.seekPathStart(),!0}normalize(t){const e=Math.sqrt(t[0]*t[0]+t[1]*t[1]);0!==e&&(t[0]/=e,t[1]/=e)}getLength(t,e,s,i){const n=s-t,r=i-e;return Math.sqrt(n*n+r*r)}getSegLength(t){const[[e,s],[i,n]]=t;return this.getLength(e,s,i,n)}getCoord2D(t,e,s,i,n){return[t+(s-t)*n,e+(i-e)*n]}getSegCoord2D(t,e){const[[s,i],[n,r]]=t;return this.getCoord2D(s,i,n,r,e)}getAngle(t,e,s,i,n){const r=s-t,h=i-e;return Math.atan2(h,r)}getAngleCS(t,e,s,i,n,r){null==t&&(t=[0,0]);const h=i-e,o=n-s,a=Math.sqrt(h*h+o*o);return 0!==a?(t[0]=h/a,t[1]=o/a,t):(t[0]=1,t[1]=0,t)}getSegAngleCS(t,e,s){const[[i,n],[r,h]]=e;return this.getAngleCS(t,i,n,r,h,s)}cut(t,e,s,i,n,r){return[n<=0?[t,e]:this.getCoord2D(t,e,s,i,n),r>=1?[s,i]:this.getCoord2D(t,e,s,i,r)]}getSubCurve(t,e,s){const i=r.z.createEmptyOptimizedCIM("esriGeometryPolyline");return this.appendSubCurve(i,t,e,s)?i:null}appendSubCurve(t,e,s,i){t.startPath(),e.seekPathStart();let n=0,r=!0;if(!e.nextPoint())return!1;let h=e.x,o=e.y;for(;e.nextPoint();){const a=this.getLength(h,o,e.x,e.y);if(0!==a){if(r){if(n+a>s){const l=(s-n)/a;let c=1,u=!1;n+a>=i&&(c=(i-n)/a,u=!0);const _=this.cut(h,o,e.x,e.y,l,c);if(_&&t.pushPoints(_),u)break;r=!1}}else{if(n+a>i){const s=this.cut(h,o,e.x,e.y,0,(i-n)/a);s&&t.pushPoint(s[1]);break}t.pushXY(e.x,e.y)}n+=a,h=e.x,o=e.y}else h=e.x,o=e.y}return!0}getCIMPointAlong(t,e){if(!t.nextPoint())return null;let s,i,n,r,h=0;for(s=t.x,i=t.y;t.nextPoint();s=n,i=r){n=t.x,r=t.y;const o=this.getLength(s,i,n,r);if(0!==o){if(h+o>e){const t=(e-h)/o;return this.getCoord2D(s,i,n,r,t)}h+=o}}return null}offset(t,e,s,i,n){if(!t||t.length<2)return null;let r=0,h=t[r++],o=r;for(;r<t.length;){const e=t[r];e[0]===h[0]&&e[1]===h[1]||(r!==o&&(t[o]=t[r]),h=t[o++]),r++}const a=t[0][0]===t[o-1][0]&&t[0][1]===t[o-1][1];if(a&&--o,o<(a?3:2))return null;const l=[];h=a?t[o-1]:null;let c=t[0];for(let n=0;n<o;n++){const r=n===o-1?a?t[0]:null:t[n+1];if(h)if(r){const t=[r[0]-c[0],r[1]-c[1]];this.normalize(t);const n=[c[0]-h[0],c[1]-h[1]];this.normalize(n);const o=n[0]*t[1]-n[1]*t[0],a=n[0]*t[0]+n[1]*t[1];if(0===o&&1===a){c=r;continue}if(o>=0==e<=0){if(a<1){const s=[t[0]-n[0],t[1]-n[1]];this.normalize(s);const r=Math.sqrt((1+a)/2);if(r>1/i){const t=-Math.abs(e)/r;l.push([c[0]-s[0]*t,c[1]-s[1]*t])}}}else switch(s){case"Mitered":{const s=Math.sqrt((1+a)/2);if(s>0&&1/s<i){const i=[t[0]-n[0],t[1]-n[1]];this.normalize(i);const r=Math.abs(e)/s;l.push([c[0]-i[0]*r,c[1]-i[1]*r]);break}}case"Bevelled":l.push([c[0]+n[1]*e,c[1]-n[0]*e]),l.push([c[0]+t[1]*e,c[1]-t[0]*e]);break;case"Rounded":if(a<1){l.push([c[0]+n[1]*e,c[1]-n[0]*e]);const s=Math.floor(2.5*(1-a));if(s>0){const i=1/s;let r=i;for(let h=1;h<s;h++,r+=i){const s=[n[1]*(1-r)+t[1]*r,-n[0]*(1-r)-t[0]*r];this.normalize(s),l.push([c[0]+s[0]*e,c[1]+s[1]*e])}}l.push([c[0]+t[1]*e,c[1]-t[0]*e])}break;default:if(o<0)l.push([c[0]+(n[1]+n[0])*e,c[1]+(n[1]-n[0])*e]),l.push([c[0]+(t[1]-t[0])*e,c[1]-(t[0]+t[1])*e]);else{const s=Math.sqrt((1+Math.abs(a))/2),i=[t[0]-n[0],t[1]-n[1]];this.normalize(i);const r=e/s;l.push([c[0]-i[0]*r,c[1]-i[1]*r])}}}else{const t=[c[0]-h[0],c[1]-h[1]];this.normalize(t),l.push([c[0]+t[1]*e,c[1]-t[0]*e])}else{const t=[r[0]-c[0],r[1]-c[1]];this.normalize(t),l.push([c[0]+t[1]*e,c[1]-t[0]*e])}h=c,c=r}return l.length<(a?3:2)?null:(a&&l.push([l[0][0],l[0][1]]),l)}}const _=1.7320508075688772;class p{static{this.instance=null}static local(){return null===p.instance&&(p.instance=new p),p.instance}execute(t,e,s){return new f(t,e,s)}}class f extends c{constructor(t,e,s){super(t,!1,!0),this._curveHelper=new u;const i=s.geomUnitsPerPoint;this._width=(void 0!==e.width?e.width:5)*i,this._arrowType=void 0!==e.geometricEffectArrowType?e.geometricEffectArrowType:void 0!==e.arrowType?e.arrowType:"OpenEnded",this._offsetFlattenError=.03*i}processPath(t){const e=r.z.createEmptyOptimizedCIM(t.geometryType);switch(this._arrowType){case"OpenEnded":default:this._constructSimpleArrow(e,t,!0);break;case"Block":this._constructSimpleArrow(e,t,!1);break;case"Crossed":this._constructCrossedArrow(e,t)}return e}_constructSimpleArrow(t,e,s){const i=e.pathLength();let n=this._width;i<2*n&&(n=i/2);const r=this._curveHelper.getSubCurve(e,0,i-n);if(!r||!r.nextPath())return;r.seekPathStart();const o=n/2;if(this._curveHelper.isEmpty(r))return;const a=(0,h.A)(r),l=this._constructOffset(a,-o);if(!l)return;const c=this._constructOffset(a,o);if(!c)return;const u=this._constructArrowBasePoint(l,-o/2);if(!u)return;const _=this._constructArrowBasePoint(c,o/2);if(!_)return;e.seekInPath(e.pathSize-1);const p=[e.x,e.y];t.pushPath(c),t.nextPath(),t.nextPoint(),t.setControlPoint(),t.pushPoint(_),t.nextPoint(),t.setControlPoint(),t.pushPoint(p),t.nextPoint(),t.setControlPoint(),t.pushPoint(u),t.nextPoint(),t.setControlPoint(),t.pushPoints(l.reverse()),t.setControlPoint(),s||(t.setControlPointAt(0),t.setControlPointAt(t.pathSize-1),t.pushPoint(c[0])),t.reset()}_constructCrossedArrow(t,e){const s=e.pathLength();let i=this._width;s<i*(1+_+1)&&(i=s/(1+_+1)),e.seekPathStart();const n=this._curveHelper.getSubCurve(e,0,s-i*(1+_));if(!n)return;n.nextPath();const r=i/2;if(this._curveHelper.isEmpty(n))return;const o=(0,h.A)(n),a=this._constructOffset(o,r);if(!a)return;const l=this._constructOffset(o,-r);if(!l)return;const c=this._curveHelper.getSubCurve(e,0,s-i);if(!c)return;if(c.nextPath(),this._curveHelper.isEmpty(c))return;const u=(0,h.A)(c),p=this._constructOffset(u,r);if(!p)return;const f=this._constructOffset(u,-r);if(!f)return;const d=p[p.length-1],g=this._constructArrowBasePoint(p,r/2);if(!g)return;const m=f[f.length-1],P=this._constructArrowBasePoint(f,-r/2);if(!P)return;e.seekInPath(e.pathSize-1);const x=[e.x,e.y];t.pushPath(a),t.nextPath(),t.nextPoint(),t.setControlPoint(),t.pushPoint(m),t.nextPoint(),t.setControlPoint(),t.pushPoint(P),t.nextPoint(),t.setControlPoint(),t.pushPoint(x),t.nextPoint(),t.setControlPoint(),t.pushPoint(g),t.nextPoint(),t.setControlPoint(),t.pushPoint(d),t.nextPoint(),t.setControlPoint(),t.pushPoints(l.reverse()),t.nextPoint(),t.setControlPoint(),t.reset()}_constructOffset(t,e){return this._curveHelper.offset(t,e,"Rounded",4,this._offsetFlattenError)}_constructArrowBasePoint(t,e){if(!t||t.length<2)return null;const s=t[t.length-2],i=t[t.length-1],n=[i[0]-s[0],i[1]-s[1]];return this._curveHelper.normalize(n),[i[0]+n[1]*e,i[1]-n[0]*e]}}var d=s(16930),g=s(35833);class m{static{this.instance=null}static local(){return null===m.instance&&(m.instance=new m),m.instance}execute(t,e,s){return new P(t,e,s)}}class P{constructor(t,e,s){const i=s.geomUnitsPerPoint,n=s.tileKey,r=s.maxInflateSize;this._preventClipping=s.preventClipping,this._inputGeometries=t,this._tileKey=n,this._curveHelper=new u,this._size=(void 0!==e.size?e.size:1)*i,this._maxInflateSize=r*i,this._offsetFlattenError=.03*i}next(){let t;for(;t=this._inputGeometries.next();){if(0===this._size)return t;if("esriGeometryEnvelope"===t.geometryType)if(this._size>0){const e=r.z.createEmptyOptimizedCIM(t.geometryType),s=(0,h.x)(t)[0],i=this._curveHelper.offset(s,this._size,"Rounded",4,this._offsetFlattenError);if(i)return e.pushPath(i),e}else if(this._size<0){const e=t.asJSON();if(Math.min(e.xmax-e.xmin,e.ymax-e.ymin)+2*this._size>0)return r.z.fromJSONCIM({xmin:e.xmin-this._size,xmax:e.xmax+this._size,ymin:e.ymin-this._size,ymax:e.ymax+this._size})}const e=!this._preventClipping&&this._tileKey?(0,g.qc)(t,this._maxInflateSize,!0):t;if(!e)continue;const s=g.$Z.module,i={...e.asJSON(),spatialReference:{wkid:d.A.WebMercator.wkid}},n=s.execute(i,this._size);return n?r.z.fromJSONCIM(n):null}return null}}var x=s(34727),y=s(28076);const b=Math.PI/180,M=2*Math.PI;class C{static{this.instance=null}static local(){return null===C.instance&&(C.instance=new C),C.instance}execute(t,e,s){return new w(t,e,s)}}class w{constructor(t,e,s){const i=s.geomUnitsPerPoint;this._inputGeometries=t,this._geomUnitsPerPoint=i,this._radius=(e.radius??y.D.CIMGeometricEffectCircularSector.radius)*i,this._startAngle=(e.startAngle??y.D.CIMGeometricEffectCircularSector.startangle)*b,this._endAngle=(e.endAngle??y.D.CIMGeometricEffectCircularSector.endangle)*b}next(){if(this._radius<=0)return null;let t=this._inputGeometries.next();for(;t;){if("esriGeometryPoint"===t.geometryType||"esriGeometryMultipoint"===t.geometryType){const e=r.z.createEmptyOptimizedCIM("esriGeometryPolygon",t.hasZ,!1);let s=!1;for(;t.nextPath();)for(;t.nextPoint();)e.pushPath(this._buildRing(t.x,t.y,t.hasZ?t.z:void 0)),s=!0;if(s)return e}t=this._inputGeometries.next()}return null}_buildRing(t,e,s){const i=[this._makePoint(t,e,s)],n=v(this._startAngle);let r=v(this._endAngle);for(;r<n;)r+=M;const h=r-n;if(0===h)return i.push(this._makePoint(t+this._radius*Math.cos(r),e+this._radius*Math.sin(r),s)),i.push(this._makePoint(t,e,s)),i;const o=.25*this._geomUnitsPerPoint,a=this._radius<=.5*o?M:2*Math.acos((0,x.qE)(1-o/this._radius,-1,1)),l=Math.max(1,Math.ceil(h/a)),c=h/l;let u=r;for(let n=0;n<=l;n++,u-=c)i.push(this._makePoint(t+this._radius*Math.cos(u),e+this._radius*Math.sin(u),s));return i.push(this._makePoint(t,e,s)),i}_makePoint(t,e,s){return null==s?[t,e]:[t,e,s]}}function v(t){return(t%=M)<0?t+M:t}s(86211);var S=s(95108);class A{static{this.instance=null}static local(){return null===A.instance&&(A.instance=new A),A.instance}execute(t,e,s){return new z(t,e,s)}}class z{constructor(t,e,s){this._defaultPointSize=20,this._inputGeometries=t,this._geomUnitsPerPoint=s.geomUnitsPerPoint??1,this._scale=s?.scale,this._rule=e.rule??"FullGeometry",this._spatialReference=s?.spatialReference??d.A.WebMercator,this._width=this._computeWidth(e.width??25),this._defaultSize=this._defaultPointSize*this._geomUnitsPerPoint}next(){let t;for(;t=this._inputGeometries.next();){const e=this._processGeom((0,h.x)(t));if(e?.length)return r.z.fromJSONCIM({paths:e})}return null}_computeWidth(t){if(!function(t){return"ParallelOffsetByValue"===t}(this._rule)||null==this._scale||!this._spatialReference.metersPerUnit)return t*this._geomUnitsPerPoint;const e=this._scale/(96*39.37*this._spatialReference.metersPerUnit);return t/(this._spatialReference.metersPerUnit*e)}_clone(t){return[t[0],t[1]]}_mid(t,e){return[(t[0]+e[0])/2,(t[1]+e[1])/2]}_mix(t,e,s,i){return[t[0]*e+s[0]*i,t[1]*e+s[1]*i]}_add(t,e){return[t[0]+e[0],t[1]+e[1]]}_add2(t,e,s){return[t[0]+e,t[1]+s]}_sub(t,e){return[t[0]-e[0],t[1]-e[1]]}_dist(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}_norm(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}_normalize(t,e=1){const s=e/this._norm(t);t[0]*=s,t[1]*=s}_leftPerpendicular(t){const e=-t[1],s=t[0];t[0]=e,t[1]=s}_leftPerp(t){return[-t[1],t[0]]}_rightPerpendicular(t){const e=t[1],s=-t[0];t[0]=e,t[1]=s}_rightPerp(t){return[t[1],-t[0]]}_dotProduct(t,e){return t[0]*e[0]+t[1]*e[1]}_crossProduct(t,e){return t[0]*e[1]-t[1]*e[0]}_rotateDirect(t,e,s){const i=t[0]*e-t[1]*s,n=t[0]*s+t[1]*e;t[0]=i,t[1]=n}_makeCtrlPt(t){const e=[t[0],t[1]];return a(e,1),e}_addAngledTicks(t,e,s,i){const n=this._sub(s,e);this._normalize(n);const r=this._crossProduct(n,this._sub(i,e));let h;h=r>0?this._rightPerp(n):this._leftPerp(n);const o=Math.abs(r)/2,a=[];a.push([e[0]+(h[0]-n[0])*o,e[1]+(h[1]-n[1])*o]),a.push(e),a.push(s),a.push([s[0]+(h[0]+n[0])*o,s[1]+(h[1]+n[1])*o]),t.push(a)}_addBezier2(t,e,s,i,n){if(0===n--)return void t.push(i);const r=this._mid(e,s),h=this._mid(s,i),o=this._mid(r,h);this._addBezier2(t,e,r,o,n),this._addBezier2(t,o,h,i,n)}_addBezier3(t,e,s,i,n,r){if(0===r--)return void t.push(n);const h=this._mid(e,s),o=this._mid(s,i),a=this._mid(i,n),l=this._mid(h,o),c=this._mid(o,a),u=this._mid(l,c);this._addBezier3(t,e,h,l,u,r),this._addBezier3(t,u,c,a,n,r)}_add90DegArc(t,e,s,i,n){const r=n??this._crossProduct(this._sub(s,e),this._sub(i,e))>0,h=this._mid(e,s),o=this._sub(h,e);r?this._leftPerpendicular(o):this._rightPerpendicular(o),h[0]+=o[0],h[1]+=o[1],this._addBezier3(t,e,this._mix(e,.33333,h,.66667),this._mix(s,.33333,h,.66667),s,4)}_addArrow(t,e,s){const i=e[0],n=e[1],r=e[e.length-1],h=this._sub(i,n),o=this._norm(h);this._normalize(h);const a=Math.abs(this._crossProduct(h,this._sub(r,n)));let l=this._dotProduct(h,this._sub(r,n));l<.05*o?l=.05*o:l>.95*o&&(l=.95*o);const c=.5*a,u=this._leftPerp(h),_=[n[0]+h[0]*l,n[1]+h[1]*l],p=e.length-1,f=[];f.push(s?[-u[0],-u[1]]:u);let d=[-h[0],-h[1]];for(let t=1;t<p-1;t++){const s=this._sub(e[t+1],e[t]);this._normalize(s);const i=this._dotProduct(s,d),n=this._crossProduct(s,d),r=Math.sqrt((1+i)/2),h=this._sub(s,d);this._normalize(h),h[0]/=r,h[1]/=r,f.push(n<0?[-h[0],-h[1]]:h),d=s}f.push(this._rightPerp(d));for(let s=f.length-1;s>0;s--)t.push([e[s][0]+f[s][0]*c,e[s][1]+f[s][1]*c]);t.push([_[0]+f[0][0]*c,_[1]+f[0][1]*c]),t.push([_[0]+f[0][0]*a,_[1]+f[0][1]*a]),t.push(i),t.push([_[0]-f[0][0]*a,_[1]-f[0][1]*a]),t.push([_[0]-f[0][0]*c,_[1]-f[0][1]*c]);for(let s=1;s<f.length;s++)t.push([e[s][0]-f[s][0]*c,e[s][1]-f[s][1]*c])}_addDash(t,e,s){const i=this._norm(s)/7;this._normalize(s);let n=[];for(let r=0;r<=7;r++)n.push([e[0]+s[0]*r*i,e[1]+s[1]*r*i]),1&r&&(t.push(n),n=[])}_cp2(t,e,s){return t.length>=2?t[1]:this._add2(t[0],e*this._defaultSize,s*this._defaultSize)}_cp3(t,e,s,i){if(t.length>=3)return t[2];const n=this._mix(t[0],1-s,e,s),r=this._sub(e,t[0]);return this._normalize(r),this._rightPerpendicular(r),[n[0]+r[0]*i*this._defaultSize,n[1]+r[1]*i*this._defaultSize]}_arrowPath(t){if(t.length>2)return t;const e=t[0],s=this._cp2(t,-4,0),i=this._sub(e,s);this._normalize(i);const n=this._rightPerp(i);return[e,s,[e[0]+(n[0]-i[0])*this._defaultSize,e[1]+(n[1]-i[1])*this._defaultSize]]}_arrowLastSeg(t){const e=t[0],s=this._cp2(t,-4,0);let i;if(t.length>=3)i=t[t.length-1];else{const t=this._sub(e,s);this._normalize(t);const n=this._rightPerp(t);i=[e[0]+(n[0]-t[0])*this._defaultSize,e[1]+(n[1]-t[1])*this._defaultSize]}return[s,i]}_offsetPath(t,e){const s=g.mO.module.execute({paths:[t],spatialReference:this._spatialReference.toJSON()},e,{joins:"miter",miterLimit:4}),[i]=(0,h.x)(r.z.fromJSONCIM(s));return i?.length?i:null}_processGeom(t){if(!t)return null;const e=[];for(const s of t){const t=s.length>1&&(0,S.Yl)(s)<this._defaultSize;if(!s||0===s.length||t)continue;const i=s.length;let n=s[0];switch(this._rule){case"PerpendicularFromFirstSegment":{const t=this._cp2(s,0,-1),i=this._cp3(s,t,.5,4),r=[];r.push(i),r.push(this._mid(n,t)),e.push(r);break}case"ReversedFirstSegment":{const t=this._cp2(s,0,-1);e.push([t,n]);break}case"PerpendicularToSecondSegment":{if(s.length<3)return[];const t=this._cp2(s,-4,1),i=this._cp3(s,t,.882353,-1.94),r=[];r.push(this._mid(t,i)),r.push(n),e.push(r);break}case"SecondSegmentWithTicks":{if(s.length<3)return[];const t=this._cp2(s,-4,1),i=this._cp3(s,t,.882353,-1.94),r=this._sub(i,t);let h;h=this._crossProduct(r,this._sub(n,t))>0?this._rightPerp(r):this._leftPerp(r);const o=[];o.push([t[0]+(h[0]-r[0])/3,t[1]+(h[1]-r[1])/3]),o.push(t),o.push(i),o.push([i[0]+(h[0]+r[0])/3,i[1]+(h[1]+r[1])/3]),e.push(o);break}case"DoublePerpendicular":{const t=this._cp2(s,0,-1),i=this._cp3(s,t,.5,3),r=this._mid(n,t),h=this._sub(r,i);this._normalize(h);const o=this._crossProduct(h,this._sub(n,i));this._leftPerpendicular(h);const a=[];a.push(n),a.push([i[0]+h[0]*o,i[1]+h[1]*o]),e.push(a);const l=[];l.push([i[0]-h[0]*o,i[1]-h[1]*o]),l.push(t),e.push(l);break}case"OppositeToFirstSegment":{const t=this._cp2(s,0,-1),i=this._cp3(s,t,.5,3),r=this._mid(n,t),h=this._sub(r,i);this._normalize(h);const o=this._crossProduct(h,this._sub(n,i));this._leftPerpendicular(h);const a=[];a.push([i[0]+h[0]*o,i[1]+h[1]*o]),a.push([i[0]-h[0]*o,i[1]-h[1]*o]),e.push(a);break}case"TriplePerpendicular":{const t=this._cp2(s,0,-1),i=this._cp3(s,t,.5,4),r=this._mid(n,t),h=this._sub(r,i);this._normalize(h);const o=this._crossProduct(h,this._sub(n,i));this._leftPerpendicular(h);const a=[];a.push([i[0]+h[0]*o*.8,i[1]+h[1]*o*.8]),a.push([r[0]+.8*(n[0]-r[0]),r[1]+.8*(n[1]-r[1])]),e.push(a),e.push([i,r]);const l=[];l.push([i[0]-h[0]*o*.8,i[1]-h[1]*o*.8]),l.push([r[0]+.8*(t[0]-r[0]),r[1]+.8*(t[1]-r[1])]),e.push(l);break}case"HalfCircleFirstSegment":{const t=this._cp2(s,0,-1),i=this._cp3(s,t,.5,4),r=this._mid(n,t);let h=this._sub(t,n);const o=Math.cos(Math.PI/18),a=Math.sin(Math.PI/18),l=Math.sqrt((1+o)/2),c=Math.sqrt((1-o)/2),u=[];let _;this._crossProduct(h,this._sub(i,n))>0?(u.push(n),h=this._sub(n,r),_=t):(u.push(t),h=this._sub(t,r),_=n),this._rotateDirect(h,l,c),h[0]/=l,h[1]/=l;for(let t=1;t<=18;t++)u.push(this._add(r,h)),this._rotateDirect(h,o,a);u.push(_),e.push(u);break}case"HalfCircleSecondSegment":{const t=this._cp2(s,0,-1),i=this._cp3(s,t,1,-1);let r=this._sub(n,t);this._normalize(r);const h=this._crossProduct(r,this._sub(i,t))/2;this._leftPerpendicular(r);const o=[t[0]+r[0]*h,t[1]+r[1]*h];r=this._sub(t,o);const a=Math.cos(Math.PI/18);let l=Math.sin(Math.PI/18);h>0&&(l=-l);const c=[t];for(let t=1;t<=18;t++)this._rotateDirect(r,a,l),c.push(this._add(o,r));e.push(c);break}case"HalfCircleExtended":{const t=this._cp2(s,0,-2),r=this._cp3(s,t,1,-1);let h;if(i>=4)h=s[3];else{const e=this._sub(n,t);h=this._add(r,e)}const o=this._dist(t,r)/2/.75,a=this._sub(t,n);this._normalize(a,o);const l=this._sub(r,h);this._normalize(l,o);const c=[h,r];e.push(c);const u=[this._clone(r)];this._addBezier3(u,r,this._add(r,l),this._add(t,a),t,4),u.push(n),e.push(u);break}case"OpenCircle":{const t=this._cp2(s,-2,0),i=this._sub(t,n),r=Math.cos(Math.PI/18),h=-Math.sin(Math.PI/18),o=[t];for(let t=1;t<=33;t++)this._rotateDirect(i,r,h),o.push(this._add(n,i));e.push(o);break}case"CoverageEdgesWithTicks":{const t=this._cp2(s,0,-1);let r,h;if(i>=3)r=s[2];else{const e=this._sub(t,n),s=this._leftPerp(e);r=[n[0]+s[0]-.25*e[0],n[1]+s[1]-.25*e[1]]}if(i>=4)h=s[3];else{const e=this._mid(n,t),s=this._sub(n,t);this._normalize(s),this._leftPerpendicular(s);const i=this._crossProduct(s,this._sub(r,e));this._rightPerpendicular(s),h=[r[0]+s[0]*i*2,r[1]+s[1]*i*2]}const o=this._sub(t,n);let a,l;a=this._crossProduct(o,this._sub(r,n))>0?this._rightPerp(o):this._leftPerp(o),l=[],l.push(r),l.push(n),l.push([n[0]+(a[0]-o[0])/3,n[1]+(a[1]-o[1])/3]),e.push(l),a=this._crossProduct(o,this._sub(h,t))>0?this._rightPerp(o):this._leftPerp(o),l=[],l.push([t[0]+(a[0]+o[0])/3,t[1]+(a[1]+o[1])/3]),l.push(t),l.push(h),e.push(l);break}case"GapExtentWithDoubleTicks":{const t=this._cp2(s,0,2),r=this._cp3(s,t,0,1);let h;if(i>=4)h=s[3];else{const e=this._sub(t,n);h=this._add(r,e)}this._addAngledTicks(e,n,t,this._mid(r,h)),this._addAngledTicks(e,r,h,this._mid(n,t));break}case"GapExtentMidline":{const t=this._cp2(s,2,0),r=this._cp3(s,t,0,1);let h;if(i>=4)h=s[3];else{const e=this._sub(t,n);h=this._add(r,e)}const o=[];o.push(this._mid(n,r)),o.push(this._mid(t,h)),e.push(o);break}case"Chevron":{const t=this._cp2(s,-1,-1);let r;if(i>=3)r=s[2];else{const e=this._sub(t,n);this._leftPerpendicular(e),r=this._add(n,e)}e.push([t,this._makeCtrlPt(n),r]);break}case"PerpendicularWithArc":{const t=this._cp2(s,0,-2),r=this._cp3(s,t,.5,-1),h=this._sub(t,n),o=this._norm(h);h[0]/=o,h[1]/=o;const a=this._crossProduct(h,this._sub(r,n));let l=this._dotProduct(h,this._sub(r,n));l<.05*o?l=.05*o:l>.95*o&&(l=.95*o);const c=[n[0]+h[0]*l,n[1]+h[1]*l];let u=this._leftPerp(h),_=[];if(_.push([c[0]-u[0]*a,c[1]-u[1]*a]),_.push([c[0]+u[0]*a,c[1]+u[1]*a]),e.push(_),i>=4){const t=s[3];let i=this._dotProduct(h,this._sub(t,n));i<.1*o?i=.1*o:i>.9*o&&(i=.9*o);const r=[n[0]+h[0]*i,n[1]+h[1]*i],a=this._crossProduct(h,this._sub(t,n)),l=[];l.push([r[0]-u[0]*a,r[1]-u[1]*a]),l.push([r[0]+u[0]*a,r[1]+u[1]*a]),e.push(l)}const p=[t[0]+u[0]*a,t[1]+u[1]*a];u=this._sub(t,p);const f=Math.cos(Math.PI/18);let d=Math.sin(Math.PI/18);a<0&&(d=-d),_=[n,t];for(let t=1;t<=9;t++)this._rotateDirect(u,f,d),_.push(this._add(p,u));e.push(_);break}case"ClosedHalfCircle":{const t=this._cp2(s,2,0),i=this._mid(n,t),r=this._sub(t,i),h=Math.cos(Math.PI/18),o=Math.sin(Math.PI/18),a=[n,t];for(let t=1;t<=18;t++)this._rotateDirect(r,h,o),a.push(this._add(i,r));e.push(a);break}case"TripleParallelExtended":{const t=this._cp2(s,0,-2),i=this._cp3(s,t,1,-2),r=this._mid(n,t),h=this._sub(i,t);this._normalize(h);const o=Math.abs(this._crossProduct(h,this._sub(r,t)))/2,l=this._dist(t,i),c=[t,n];c.push([n[0]+h[0]*l*.5,n[1]+h[1]*l*.5]),e.push(c);const u=[];u.push([r[0]-h[0]*o,r[1]-h[1]*o]),u.push([r[0]+h[0]*l*.375,r[1]+h[1]*l*.375]),a(u[u.length-1],1),u.push([r[0]+h[0]*l*.75,r[1]+h[1]*l*.75]),e.push(u);const _=[t,i];e.push(_);break}case"ParallelWithTicks":{const t=this._cp2(s,3,0),i=this._cp3(s,t,.5,-1),r=this._sub(t,n);this._normalize(r);const h=this._crossProduct(r,this._sub(i,n)),o=this._leftPerp(r);this._addAngledTicks(e,n,t,i),this._addAngledTicks(e,this._add2(n,o[0]*h,o[1]*h),this._add2(t,o[0]*h,o[1]*h),this._mid(n,t));break}case"Parallel":{const t=this._cp2(s,3,0),i=this._cp3(s,t,.5,-1),r=this._sub(t,n);this._normalize(r);const h=this._leftPerp(r),o=this._crossProduct(r,this._sub(i,n));let a=[n,t];e.push(a),a=[],a.push([n[0]+h[0]*o,n[1]+h[1]*o]),a.push([t[0]+h[0]*o,t[1]+h[1]*o]),e.push(a);break}case"PerpendicularToFirstSegment":{const t=this._cp2(s,3,0),i=this._cp3(s,t,.5,-1),r=this._mid(n,t),h=this._sub(t,n);this._normalize(h);const o=this._crossProduct(h,this._sub(i,n));this._leftPerpendicular(h);const a=[];a.push([r[0]-h[0]*o*.25,r[1]-h[1]*o*.25]),a.push([r[0]+h[0]*o*1.25,r[1]+h[1]*o*1.25]),e.push(a);break}case"ParallelOffset":{const t=this._cp2(s,3,0),i=this._cp3(s,t,.5,-1),r=this._sub(t,n);this._normalize(r);const h=this._crossProduct(r,this._sub(i,n));this._leftPerpendicular(r);const o=[];o.push([n[0]-r[0]*h,n[1]-r[1]*h]),o.push([t[0]-r[0]*h,t[1]-r[1]*h]),e.push(o);const a=[];a.push([n[0]+r[0]*h,n[1]+r[1]*h]),a.push([t[0]+r[0]*h,t[1]+r[1]*h]),e.push(a);break}case"OffsetOpposite":{const t=this._cp2(s,3,0),i=this._cp3(s,t,.5,-1),r=this._sub(t,n);this._normalize(r);const h=this._crossProduct(r,this._sub(i,n));this._leftPerpendicular(r);const o=[];o.push([n[0]-r[0]*h,n[1]-r[1]*h]),o.push([t[0]-r[0]*h,t[1]-r[1]*h]),e.push(o);break}case"OffsetSame":{const t=this._cp2(s,3,0),i=this._cp3(s,t,.5,-1),r=this._sub(t,n);this._normalize(r);const h=this._crossProduct(r,this._sub(i,n));this._leftPerpendicular(r);const o=[];o.push([n[0]+r[0]*h,n[1]+r[1]*h]),o.push([t[0]+r[0]*h,t[1]+r[1]*h]),e.push(o);break}case"CircleWithArc":{let t=this._cp2(s,3,0);const r=this._cp3(s,t,.5,-1);let h,o;if(i>=4)h=s[3],o=this._crossProduct(this._sub(h,t),this._sub(r,t))>0;else{h=t,o=this._crossProduct(this._sub(h,n),this._sub(r,n))>0;const e=24*this._geomUnitsPerPoint,s=this._sub(h,n);this._normalize(s,e);const i=Math.sqrt(2)/2;this._rotateDirect(s,i,o?i:-i),t=this._add(n,s)}const l=this._sub(t,n),c=Math.cos(Math.PI/18),u=Math.sin(Math.PI/18),_=[t];for(let t=1;t<=36;t++)this._rotateDirect(l,c,u),_.push(this._add(n,l));this._add90DegArc(_,t,h,r,o),a(_[_.length-8],1),e.push(_);break}case"DoubleJog":{let t,r=this._cp2(s,-3,1),h=this._cp3(s,r,-1,-.5);if(i>=4)t=s[3];else{const e=n;n=r,t=h;const s=this._dist(n,e),i=this._dist(t,e);let o=30*this._geomUnitsPerPoint;.5*s<o&&(o=.5*s),.5*i<o&&(o=.5*i),r=this._mix(n,o/s,e,(s-o)/s),h=this._mix(t,o/i,e,(i-o)/i)}const o=this._mid(n,r),a=this._mid(t,h),l=this._dist(n,r),c=this._dist(h,t);let u=Math.min(l,c)/8;u=Math.min(u,24*this._geomUnitsPerPoint);const _=Math.cos(Math.PI/4);let p=this._sub(n,r);this._normalize(p,u),this._crossProduct(p,this._sub(t,r))>0?this._rotateDirect(p,_,-_):this._rotateDirect(p,_,_);let f=[];f.push(r),f.push(this._add(o,p)),f.push(this._sub(o,p)),f.push(n),e.push(f),p=this._sub(t,h),this._normalize(p,u),this._crossProduct(p,this._sub(n,h))<0?this._rotateDirect(p,_,_):this._rotateDirect(p,_,-_),f=[],f.push(h),f.push(this._add(a,p)),f.push(this._sub(a,p)),f.push(t),e.push(f);break}case"PerpendicularOffset":{const t=this._cp2(s,-4,1),i=this._cp3(s,t,.882353,-1.94),r=this._sub(i,t);this._crossProduct(r,this._sub(n,t))>0?this._rightPerpendicular(r):this._leftPerpendicular(r);const h=[r[0]/8,r[1]/8],o=this._sub(this._mid(t,i),h);e.push([o,n]);break}case"LineExcludingLastSegment":{const t=this._arrowPath(s),i=[];let n=t.length-2;for(;n--;)i.push(t[n]);e.push(i);break}case"MultivertexArrow":{const t=this._arrowPath(s),i=[];this._addArrow(i,t,!1),e.push(i);break}case"CrossedArrow":{const t=this._arrowPath(s),i=[];this._addArrow(i,t,!0),e.push(i);break}case"ChevronArrow":{const[t,i]=this._arrowLastSeg(s),r=10*this._geomUnitsPerPoint,h=this._sub(n,t),o=this._norm(h);this._normalize(h);const a=this._crossProduct(h,this._sub(i,t));let l=this._dotProduct(h,this._sub(i,t));l<.05*o?l=.05*o:l>.95*o-r&&(l=.95*o-r);const c=[t[0]+h[0]*l,t[1]+h[1]*l],u=this._leftPerp(h),_=[];_.push([c[0]+u[0]*a+h[0]*r,c[1]+u[1]*a+h[1]*r]),_.push(n),_.push([c[0]-u[0]*a+h[0]*r,c[1]-u[1]*a+h[1]*r]),e.push(_);break}case"ChevronArrowOffset":{const[t,i]=this._arrowLastSeg(s),r=this._sub(n,t),h=this._norm(r);this._normalize(r);const o=this._crossProduct(r,this._sub(i,t));let a=this._dotProduct(r,this._sub(i,t));a<.05*h?a=.05*h:a>.95*h&&(a=.95*h);const l=[t[0]+r[0]*a,t[1]+r[1]*a];this._leftPerpendicular(r);const c=[];c.push([l[0]+r[0]*o*.5,l[1]+r[1]*o*.5]),c.push(this._mid(l,n)),c.push([l[0]-r[0]*o*.5,l[1]-r[1]*o*.5]),e.push(c);break}case"PartialFirstSegment":{const[t,i]=this._arrowLastSeg(s),r=this._sub(n,t),h=this._norm(r);this._normalize(r);let o=this._dotProduct(r,this._sub(i,t));o<.05*h?o=.05*h:o>.95*h&&(o=.95*h);const a=[t[0]+r[0]*o,t[1]+r[1]*o];e.push([t,a]);break}case"Arch":{const t=this._cp2(s,0,-1),i=this._cp3(s,t,.5,1),r=this._sub(n,t),h=this._mix(i,1,r,.55),o=this._mix(i,1,r,-.55),a=[n];this._addBezier2(a,n,h,i,4),this._addBezier2(a,i,o,t,4),e.push(a);break}case"CurvedParallelTicks":{const t=this._cp2(s,-4,1),i=this._cp3(s,t,.882353,-1.94),r=this._sub(i,t);this._crossProduct(r,this._sub(n,t))>0?this._rightPerpendicular(r):this._leftPerpendicular(r);const h=[r[0]/8,r[1]/8],o=this._sub(this._mid(t,i),h),a=this._sub(this._mix(t,.75,i,.25),h),l=this._sub(this._mix(t,.25,i,.75),h),c=[t];this._addBezier2(c,t,a,o,3),this._addBezier2(c,o,l,i,3),e.push(c);for(let t=0;t<8;t++){const s=c[2*t+1],i=[this._clone(s)];i.push(this._add(s,[r[0]/4,r[1]/4])),e.push(i)}break}case"Arc90Degrees":{const t=this._cp2(s,0,-1),i=this._cp3(s,t,.5,1),r=[t];this._add90DegArc(r,t,n,i),e.push(r);break}case"TipWithPerpendicularAndTicks":{const[t,i]=this._arrowLastSeg(s),r=10*this._geomUnitsPerPoint,h=this._sub(n,t),o=this._norm(h);this._normalize(h);let a=this._crossProduct(h,this._sub(i,t)),l=this._dotProduct(h,this._sub(i,t));l<.05*o?l=.05*o:l>.95*o-r&&(l=.95*o-r);const c=this._leftPerp(h),u=[n[0]-h[0]*r,n[1]-h[1]*r],_=.5*Math.max(o-l-r,r);a=Math.abs(a);const p=[];p.push([u[0]+c[0]*(a+_)-h[0]*_,u[1]+c[1]*(a+_)-h[1]*_]),p.push([u[0]+c[0]*a,u[1]+c[1]*a]),p.push([u[0]-c[0]*a,u[1]-c[1]*a]),p.push([u[0]-c[0]*(a+_)-h[0]*_,u[1]-c[1]*(a+_)-h[1]*_]),e.push(p),e.push([u,n]);break}case"ConcentricCircles":{const t=this._cp2(s,1,0),r=this._cp3(s,t,2,0),h=Math.cos(Math.PI/18),o=Math.sin(Math.PI/18);let l=this._dist(t,n),c=[l,0],u=[];for(let t=0;t<=36;t++)u.push(this._add(n,c)),this._rotateDirect(c,h,o);if(e.push(u),i>=4){u=[];const t=s[3];l=this._dist(t,n),c=[l,0];for(let t=0;t<=36;t++)u.push(this._add(n,c)),0===t&&(u.push(this._add(n,c)),a(u[1],1)),this._rotateDirect(c,h,o);e.push(u)}u=[],l=this._dist(r,n),c=[l,0];for(let t=0;t<=36;t++)u.push(this._add(n,c)),this._rotateDirect(c,h,o);e.push(u);break}case"DoubleJogArrow":{n=this._arrowPath(s)[0];const[t,i]=this._arrowLastSeg(s),r=this._sub(n,t),h=this._norm(r);this._normalize(r);const o=Math.abs(this._crossProduct(r,this._sub(i,n)));let a=Math.abs(this._dotProduct(r,this._sub(i,n)));a<.05*h?a=.05*h:a>.95*h&&(a=.95*h);const l=Math.max(o,a),c=this._leftPerp(r);let u=[];const _=[n[0]-r[0]*a*.5+c[0]*o*.5,n[1]-r[1]*a*.5+c[1]*o*.5];u.push([_[0],_[1]]),_[0]+=r[0]*l*.5+c[0]*l*.4,_[1]+=r[1]*l*.5+c[1]*l*.4,u.push([_[0],_[1]]),_[0]-=c[0]*l*.25,_[1]-=c[1]*l*.25,u.push([_[0],_[1]]),_[0]+=r[0]*l*.5+c[0]*l*.4,_[1]+=r[1]*l*.5+c[1]*l*.4,u.push([_[0],_[1]]),e.push(u),u=[],_[0]=n[0]-r[0]*a*.5-c[0]*o*.5,_[1]=n[1]-r[1]*a*.5-c[1]*o*.5,u.push([_[0],_[1]]),_[0]+=r[0]*l*.5-c[0]*l*.4,_[1]+=r[1]*l*.5-c[1]*l*.4,u.push([_[0],_[1]]),_[0]+=c[0]*l*.25,_[1]+=c[1]*l*.25,u.push([_[0],_[1]]),_[0]+=r[0]*l*.5-c[0]*l*.4,_[1]+=r[1]*l*.5-c[1]*l*.4,u.push([_[0],_[1]]),e.push(u);break}case"LinkedChevrons":{const t=this._cp2(s,-5,0),i=this._cp3(s,t,-.2,1),r=this._sub(n,t);this._normalize(r);const h=this._leftPerp(r),o=Math.abs(this._crossProduct(r,this._sub(i,t)));e.push([t,n]);const a=[];a.push([n[0]-r[0]*o+h[0]*o,n[1]-r[1]*o+h[1]*o]),a.push(n),a.push([n[0]-r[0]*o-h[0]*o,n[1]-r[1]*o-h[1]*o]),e.push(a),this._addDash(e,t,[-r[0]*o+h[0]*o,-r[1]*o+h[1]*o]),this._addDash(e,t,[-r[0]*o-h[0]*o,-r[1]*o-h[1]*o]);break}case"SegmentThenHalfCircle":{const t=this._cp2(s,2,0),r=this._cp3(s,t,1.5,0);let h;h=i>=4?s[3]:this._cp3(s,t,1.25,-.5);const o=this._sub(t,n);this._normalize(o);const a=.5*this._dist(t,r),l=this._crossProduct(o,this._sub(h,n))>0,c=Math.cos(Math.PI/18);let u=Math.sin(Math.PI/18);l&&(u=-u);const _=[n,t];o[0]*=a,o[1]*=a;const p=this._add(t,o);o[0]=-o[0],o[1]=-o[1];for(let t=1;t<=18;t++)this._rotateDirect(o,c,u),_.push(this._add(p,o));e.push(_);break}case"LineWithStraightTicks":{const t=this._cp2(s,-2,1),i=this._cp3(s,t,-1,-.5),r=this._sub(i,t);this._normalize(r);const h=this._dotProduct(r,this._sub(t,n)),o=this._dotProduct(r,this._sub(i,n));let a=[n];a.push([n[0]+r[0]*h,n[1]+r[1]*h]),a.push(t),e.push(a),a=[n],a.push([n[0]+r[0]*o,n[1]+r[1]*o]),a.push(i),e.push(a);break}case"DoubleCurve":{const t=this._cp2(s,-5,-1),i=this._cp3(s,t,2,0),r=Math.atan2(1,5),h=Math.cos(r),o=Math.sin(r),l=this._sub(t,n),c=this._dist(n,t);this._normalize(l),this._rotateDirect(l,h,-o);const u=[n];u.push([n[0]+l[0]*c*.5,n[1]+l[1]*c*.5]),a(u[1],1),u.push([n[0]+l[0]*c*.8,n[1]+l[1]*c*.8]),this._addBezier2(u,u[2],[n[0]+l[0]*c,n[1]+l[1]*c],t,3);const _=this._sub(i,t),p=this._dist(t,i);this._normalize(_),this._rotateDirect(_,h,-o),this._addBezier2(u,t,[i[0]-_[0]*p,i[1]-_[1]*p],[i[0]-_[0]*p*.8,i[1]-_[1]*p*.8],3),u.push(i),e.push(u);break}case"ParallelWithTicksByWidth":{const t=this._cp2(s,0,-1),i=this._cp3(s,t,.5,3),r=this._sub(t,n);this._normalize(r);const h=this._crossProduct(r,this._sub(i,n));this._leftPerpendicular(r),h>0?(this._addAngledTicks(e,n,[n[0]+r[0]*h,n[1]+r[1]*h],t),this._addAngledTicks(e,t,[t[0]+r[0]*h,t[1]+r[1]*h],n)):(this._addAngledTicks(e,[n[0]+r[0]*h,n[1]+r[1]*h],n,t),this._addAngledTicks(e,[t[0]+r[0]*h,t[1]+r[1]*h],n,t));break}case"EnclosingRoundedRectangle":{const t=this._cp2(s,3,-2),e=[Math.min(n[0],t[0]),Math.max(n[1],t[1])],i=[Math.max(n[0],t[0]),Math.min(n[1],t[1])],r=i[0]-e[0],h=e[1]-i[1],o=Math.min(r,h)/10,a=[];a.push([e[0]+o+.75*(r-2*o),e[1]]),a.push([i[0]-o,e[1]]),this._add90DegArc(a,[i[0]-o,e[1]],[i[0],e[1]-o],[i[0],e[1]]),a.push([i[0],i[1]+o]),this._add90DegArc(a,[i[0],i[1]+o],[i[0]-o,i[1]],i),a.push([e[0]+o,i[1]]),this._add90DegArc(a,[e[0]+o,i[1]],[e[0],i[1]+o],[e[0],i[1]]),a.push([e[0],e[1]-o]),this._add90DegArc(a,[e[0],e[1]-o],[e[0]+o,e[1]],e),a.push([e[0]+o+.75*(r-2*o),e[1]]);break}case"ParallelOffsetByValue":{if(s.length<2||0===this._width)break;const t=this._offsetPath(s,.5*this._width);t&&e.push(t);const i=this._offsetPath(s,.5*-this._width);i&&e.push(i);break}default:e.push(s)}}return e}}class k{static{this.instance=null}static local(){return null===k.instance&&(k.instance=new k),k.instance}execute(t,e,s){return new T(t,e,s)}}class T extends c{constructor(t,e,s){super(t,!0,!0),this._curveHelper=new u;const i=s?.geomUnitsPerPoint;this._beginCut=(void 0!==e.beginCut?e.beginCut:1)*i,this._endCut=(void 0!==e.endCut?e.endCut:1)*i,this._middleCut=(void 0!==e.middleCut?e.middleCut:0)*i,this._invert=void 0!==e.invert&&e.invert,this._beginCut<0&&(this._beginCut=0),this._endCut<0&&(this._endCut=0),this._middleCut<0&&(this._middleCut=0)}processPath(t){const{_beginCut:e,_endCut:s,_middleCut:i}=this,n=t.pathLength(),h=r.z.createEmptyOptimizedCIM("esriGeometryPolyline");if(this._invert){if(0!==e||0!==s||0!==i)if(e+s+i>=n)for(h.startPath();t.nextPoint();)h.pushXY(t.x,t.y);else this._curveHelper.appendSubCurve(h,t,0,e),this._curveHelper.appendSubCurve(h,t,.5*(n-i),.5*(n+i)),this._curveHelper.appendSubCurve(h,t,n-s,s)}else if(0===e&&0===s&&0===i)for(h.startPath();t.nextPoint();)h.pushXY(t.x,t.y);else e+s+i<n&&(0===i?this._curveHelper.appendSubCurve(h,t,e,n-s):(this._curveHelper.appendSubCurve(h,t,e,.5*(n-i)),this._curveHelper.appendSubCurve(h,t,.5*(n+i),n-s)));return 0===h.totalSize?null:h}}class I{constructor(){this._values=[],this.extPtGap=0,this.ctrlPtGap=0,this._length=0,this._currentValue=0}isEmpty(){return 0===this._values.length}size(){return this._values.length}init(t,e=!0){if(this._setEmpty(),!t||0===t.length)return!1;for(let s=0;s<t.length;s++){let i=Math.abs(t[s]);e&&i<1e-7&&(i=1e-7),this._values.push(i),this._length+=i}return 0!==this._length&&(this.ctrlPtGap=this.extPtGap=0,this._currentValue=-1,!0)}scale(t){const e=this._values?this._values.length:0;for(let s=0;s<e;++s)this._values[s]*=t;this._length*=t,this.extPtGap*=t,this.ctrlPtGap*=t}addValue(t){this._length+=t,this._values.push(t)}firstValue(){return this._values[0]}lastValue(){return this._values[this._values.length-1]}nextValue(){return this._currentValue++,this._currentValue===this._values.length&&(this._currentValue=0),this._values[this._currentValue]}reset(){this._currentValue=-1}length(){return this._length}_setEmpty(){this.extPtGap=this.ctrlPtGap=this._length=0,this._currentValue=-1,this._values.length=0}}class L{constructor(){this.pt=null,this.ca=0,this.sa=0}}class E{constructor(){this.reset()}reset(){this.segment=null,this.segmentLength=0,this.abscissa=0,this.isPathEnd=!1,this.isPartEnd=!1}isValid(){return null!==this.segment}copyTo(t){t.segment=this.segment,t.segmentLength=this.segmentLength,t.abscissa=this.abscissa,t.isPathEnd=this.isPathEnd,t.isPartEnd=this.isPartEnd}}class G extends u{constructor(t=0,e=!1){super(t,e),this._tempPos=new E,this._tempPt=[0,0],this._tolerance=.03,this._currentPosition=new E}updateTolerance(t){this._tolerance=.03*t}init(t,e,s=!0){return s?(this._patternLength=e.length(),this._partExtPtGap=e.extPtGap,this._partCtrlPtGap=e.ctrlPtGap):(this._patternLength=0,this._partExtPtGap=0,this._partCtrlPtGap=0),this._currentPosition.reset(),this._partSegCount=0,this._pathCursor=t,this._seg=-1,this._setPosAtNextPart()}curPositionIsValid(){return this._currentPosition.isValid()}nextPosition(t,e=0){const s=new E;return!!this._nextPosition(t,s,null,e)&&(s.copyTo(this._currentPosition),!0)}curPointAndAngle(t){t.pt=this._getPoint(this._currentPosition);const[e,s]=this._getAngleCS(this._tempPt,this._currentPosition);t.ca=e,t.sa=s}nextPointAndAngle(t,e,s=0){const i=this._tempPos;if(!this._nextPosition(t,i,null,s))return!1;i.copyTo(this._currentPosition),e.pt=this._getPoint(i);const[n,r]=this._getAngleCS(this._tempPt,i);return e.ca=n,e.sa=r,!0}nextCurve(t){if(0===t)return null;const e=r.z.createEmptyOptimizedCIM("esriGeometryPolyline");e.startPath(),e.nextPath();const s=new E;return this._nextPosition(t,s,e,1)?(s.copyTo(this._currentPosition),e):null}isPathEnd(){return this._currentPosition.isPathEnd}getPathEnd(){return this._currentPosition.segment[1]}getPt(t){return this._pathCursor.seekInPath(t),[this._pathCursor.x,this._pathCursor.y]}getSeg(t){return[this.getPt(t),this.getPt(t+1)]}_nextPosition(t,e,s,i){if(this._currentPosition.isPathEnd)return!1;let n=this._currentPosition.abscissa;for(this._currentPosition.segmentLength>0&&(n/=this._currentPosition.segmentLength),this._currentPosition.copyTo(e);e.abscissa+t*this._partLengthRatio>e.segmentLength+this._tolerance;){if(s){if(0===s.pathSize)if(0===n){const t=e.segment[0];s.pushXY(t[0],t[1])}else s.pushPoint(this.getSegCoord2D(e.segment,n));const t=e.segment[1];s.pushXY(t[0],t[1])}if(n=0,t-=(e.segmentLength-e.abscissa)/this._partLengthRatio,this._partSegCount)e.segment=this._nextSegment(),e.segmentLength=this.getSegLength(e.segment),e.abscissa=0,this._partSegCount--;else{if(!this._setPosAtNextPart())return 0!==i&&(e.segmentLength=this.getSegLength(e.segment),e.isPartEnd=!0,1===i?(e.abscissa=e.segmentLength,e.isPathEnd=!0):e.abscissa=e.segmentLength+t,!0);this._currentPosition.copyTo(e)}}if(e.abscissa+=t*this._partLengthRatio,s){0===s.pathSize&&(0===n?s.pushPoint(e.segment[0]):s.pushPoint(this.getSegCoord2D(e.segment,n)));const t=e.abscissa/e.segmentLength;1===t?s.pushPoint(e.segment[1]):s.pushPoint(this.getSegCoord2D(e.segment,t))}return this._partSegCount||Math.abs(e.abscissa-e.segmentLength)<this._tolerance&&(e.isPathEnd=this._partIsLast,e.isPartEnd=!0),!0}_getPoint(t){const e=t.segmentLength<=0?0:t.abscissa/t.segmentLength;return this.getSegCoord2D(this._currentPosition.segment,e)}_getAngleCS(t,e){const s=e.segmentLength<=0?0:e.abscissa/e.segmentLength;return this.getSegAngleCS(t,this._currentPosition.segment,s)}_setPosAtNextPart(){for(;this._partSegCount;)this._hasNextSegment()&&this._nextSegment(),this._partSegCount--;if(!this._hasNextSegment())return!1;for(this._partLength=0,this._partIsLast=!0,this._partSegCount=0;this._hasNextSegment();)if(this._partLength+=this.getSegLength(this._nextSegment()),this._partSegCount++,this._pathCursor.getControlPointAt(this._getEndPointIndex())){this._partIsLast=!this._hasNextSegment();break}let t=this._partSegCount;for(;t;)this._previousSegment(),--t;this._currentPosition.segment=this._nextSegment(),this._currentPosition.segmentLength=this.getSegLength(this._currentPosition.segment),this._currentPosition.abscissa=0,this._currentPosition.isPathEnd=this._currentPosition.isPartEnd=!1,--this._partSegCount;const e=this._getStartPointIndex();this._ctrlPtBegin=this._pathCursor.getControlPointAt(e);let s=e+this._partSegCount+1;if(s>=this._pathCursor.pathSize&&(s=0),this._ctrlPtEnd=this._pathCursor.getControlPointAt(s),this._patternLength>0){const t=this._ctrlPtBegin?this._partCtrlPtGap:this._partExtPtGap,e=this._ctrlPtEnd?this._partCtrlPtGap:this._partExtPtGap;let s=Math.round((this._partLength-(t+e))/this._patternLength);s<=0&&(s=t+e>0?0:1),this._partLengthRatio=this._partLength/(t+e+s*this._patternLength),this._partLengthRatio<.01&&(this._partLengthRatio=1)}else this._partLengthRatio=1;return!0}_hasNextSegment(){return this._seg<this._pathCursor.pathSize-2}_previousSegment(){return this.getSeg(--this._seg)}_nextSegment(){return this.getSeg(++this._seg)}_getStartPointIndex(){return this._seg}_getEndPointIndex(){return this._seg+1}}var R=s(93397);class O{static{this.instance=null}static local(){return null===O.instance&&(O.instance=new O),O.instance}execute(t,e,s){return new N(t,e,s)}}class N extends c{constructor(t,e,s){super(t,!0,!0),this._firstCurve=null;const i=s.geomUnitsPerPoint;this._walker=new G,this._walker.updateTolerance(i),this._endings=e.lineDashEnding??"NoConstraint",this._customDashPos=-(e.offsetAlongLine??0)*i,this._offsetAtEnd=(e.customEndingOffset??0)*i;let n=(0,R.FH)(e).dashTemplate;null==n&&(n=[]),n.length%2&&(n=[...n,...n]);let r=0;for(;r<n.length&&0===n[r];)r++;let h=0;const o=[];for(let t=r;t<n.length;t++)0===n[t]?h++:0===h?o.push(n[t]):1&h?(o[o.length-1]+=n[t],h=0):(o.push(n[t]),h=0);n=o,n.length<=1?n=0===n.length||r%2==0?[]:[-1]:n.length%2==1?r%2==1?n.unshift(0):n.push(0):r%2==1&&(n.unshift(0),n.push(0)),this._pattern=new I,this._pattern.init(n,!1),this._pattern.scale(i)}processPath(t){if(this._pattern.size()%2==1)return null;if(0===this._pattern.length()){this.iteratePath=!1;const e=(0,h.A)(t);return r.z.fromJSONCIM({paths:[e]})}if(!this.iteratePath){let e=!0;switch(this._endings){case"HalfPattern":case"HalfGap":default:this._pattern.extPtGap=0;break;case"FullPattern":this.isClosed||(this._pattern.extPtGap=.5*this._pattern.firstValue());break;case"FullGap":this.isClosed||(this._pattern.extPtGap=.5*this._pattern.lastValue());break;case"NoConstraint":this.isClosed||(e=!1);break;case"Custom":this.isClosed||(this._pattern.extPtGap=.5*this._offsetAtEnd)}const s=t.pathLength();if(this._pattern.isEmpty()||s<.1*this._pattern.length()){const e=(0,h.A)(t);return r.z.fromJSONCIM({paths:[e]})}if(!this._walker.init(t,this._pattern,e)){const e=(0,h.A)(t);return r.z.fromJSONCIM({paths:[e]})}}let e;if(this.iteratePath)e=this._pattern.nextValue();else{let t;switch(this._endings){case"HalfPattern":default:t=.5*this._pattern.firstValue();break;case"HalfGap":t=.5*-this._pattern.lastValue();break;case"FullGap":t=-this._pattern.lastValue();break;case"FullPattern":t=0;break;case"NoConstraint":case"Custom":t=-this._customDashPos}let s=t/this._pattern.length();s-=Math.floor(s),t=s*this._pattern.length(),this._pattern.reset(),e=this._pattern.nextValue();let i=!1;for(;t>=e;)t-=e,e=this._pattern.nextValue(),i=!i;e-=t,i?(this._walker.nextPosition(e),e=this._pattern.nextValue()):this.isClosed&&(this._firstCurve=this._walker.nextCurve(e),e=this._pattern.nextValue(),this._walker.nextPosition(e),e=this._pattern.nextValue())}0===e&&(e=this._pattern.nextValue(),this._walker.nextPosition(e),e=this._pattern.nextValue());let s=this._walker.nextCurve(e);if(s)if(this._walker.isPathEnd()){if(this.iteratePath=!1,this._firstCurve){for(this._firstCurve.nextPath();this._firstCurve.nextPoint();)s.pushXY(this._firstCurve.x,this._firstCurve.y);this._firstCurve=null}}else e=this._pattern.nextValue(),!this._walker.nextPosition(e)||this._walker.isPathEnd()?(this.iteratePath=!1,this._firstCurve&&(s.pushCursor(this._firstCurve),this._firstCurve=null)):this.iteratePath=!0;else this.iteratePath=!1,s=this._firstCurve,this._firstCurve=null;return s?.reset(),s}}class X{static{this.instance=null}static local(){return null===X.instance&&(X.instance=new X),X.instance}execute(t,e,s){return new Y(t,e,s)}}class Y{constructor(t,e,s){this._inputGeometries=t,this._tileKey=s.tileKey,this._maxInflateSize=s.maxInflateSize*s.geomUnitsPerPoint,this._preventClipping=s.preventClipping,this._width=(void 0!==e.width?e.width:2)*s.geomUnitsPerPoint,e.method,this._option=e.option??"Accurate"}next(){let t;for(;t=this._inputGeometries.next();){if("esriGeometryEnvelope"===t.geometryType&&this._width>0){const e=t.asJSON();return Math.min(e.xmax-e.xmin,e.ymax-e.ymin)-2*this._width<0?t:r.z.fromJSONCIM({paths:[[[e.xmin+this._width,e.ymin+this._width],[e.xmax-this._width,e.ymin+this._width],[e.xmax-this._width,e.ymax-this._width],[e.xmin+this._width,e.ymax-this._width],[e.xmin+this._width,e.ymin+this._width]],[[e.xmin,e.ymin],[e.xmin,e.ymax],[e.xmax,e.ymax],[e.xmax,e.ymin],[e.xmin,e.ymin]]]})}if("esriGeometryPolygon"===t.geometryType){if(0===this._width)return t.clone();const e=g.$Z.module,s=!this._preventClipping&&this._tileKey?(0,g.qc)(t,this._maxInflateSize,!0):t.clone();if(!s)continue;const i={...s.asJSON(),spatialReference:{wkid:d.A.WebMercator.wkid}},n=e.execute(i,-this._width);if(n)for(const t of n.rings)if(t){s.startPath();for(const e of t.reverse())s.pushXY(e[0],s.yFactor*e[1])}return s}}return null}}var W=s(537);class F{static{this.instance=null}static local(){return null===F.instance&&(F.instance=new F),F.instance}execute(t,e,s){return new D(t,e,s)}}class D{constructor(t,e,s){this._inputGeometries=t,this._medhod=e.method}next(){let t=this._inputGeometries.next();const e=this._medhod;for(;null!=t;){if(t.totalSize>0)switch(e){case"RectangularBox":return H(t);case"ConvexHull":return this._constructConvexHull(t);default:return U(t)}t=this._inputGeometries.next()}return null}_constructConvexHull(t){switch(t.geometryType){case"esriGeometryPolyline":case"esriGeometryPolygon":{const e=g.lX.module,s={...t.asJSON(),spatialReference:{wkid:d.A.WebMercator.wkid}},i=e.execute(s);return i?r.z.fromJSONCIM(i):null}case"esriGeometryEnvelope":return t;default:return null}}}function H(t){const e=(0,W.z8)(t),s={xmin:e[0],ymin:e[1],xmax:e[2],ymax:e[3]};return r.z.fromJSONCIM(s)}function U(t){switch(t.geometryType){case"esriGeometryPolyline":{const e=[];for(;t.nextPath();)V(t,e);return r.z.fromJSONCIM({rings:e})}case"esriGeometryPolygon":case"esriGeometryEnvelope":return t;default:return null}}function V(t,e){if(t.seekPathStart(),!t.nextPoint())return;const s=t.x,i=t.y,n=[[s,i]];for(e.push(n);t.nextPoint();)n.push([t.x,t.y]);n.push([s,i])}class B{static{this.instance=null}static local(){return null===B.instance&&(B.instance=new B),B.instance}execute(t,e,s){return new q(t,e,s)}}class q extends c{constructor(t,e,s){super(t,!1,!0),this._curveHelper=new u;const i=s.geomUnitsPerPoint;this._length=(void 0!==e.length?e.length:20)*i,this._angle=void 0!==e.angle?e.angle:225,this._position=void 0!==e.position?e.position:50,this._length<0&&(this._length=-this._length),this._position<20&&(this._position=20),this._position>80&&(this._position=80),this._mirror=!1}processPath(t){const e=r.z.createEmptyOptimizedCIM("esriGeometryPolyline");if(this._curveHelper.isEmpty(t))return null;t.seekInPath(0);const s=t.x,i=t.y;t.seekInPath(t.pathSize-1);const n=t.x,h=t.y,o=[n-s,h-i];this._curveHelper.normalize(o);const a=s+(n-s)*this._position/100,l=i+(h-i)*this._position/100,c=Math.cos((90-this._angle)/180*Math.PI);let u=Math.sin((90-this._angle)/180*Math.PI);this._mirror&&(u=-u),this._mirror=!this._mirror;const _=[a-this._length/2*c,l-this._length/2*u],p=[a+this._length/2*c,l+this._length/2*u];return e.pushPath([[s,i],_,p,[n,h]]),e}}class J{static{this.instance=null}static local(){return null===J.instance&&(J.instance=new J),J.instance}execute(t,e,s){return new j(t,e,s)}}class j{constructor(t,e,s){this._inputGeometries=t;const i=s.geomUnitsPerPoint;this._offsetX=void 0!==e.offsetX?e.offsetX*i:0,this._offsetY=void 0!==e.offsetY?e.offsetY*i:0}next(){let t=this._inputGeometries.next();for(;t;){if(t.totalSize>0)return this._move(t.clone(),this._offsetX,this._offsetY);t=this._inputGeometries.next()}return null}_move(t,e,s){for(;t.nextPath();)for(;t.nextPoint();)t.x=t.x+e,t.y=t.y+s;return t.reset(),t}}var Z=s(60408);class ${static{this.instance=null}static local(){return null===$.instance&&($.instance=new $),$.instance}execute(t,e,s){return new K(t,e,s)}}class K{constructor(t,e,s){const i=s.geomUnitsPerPoint,n=s.maxInflateSize;this._preventClipping=s.preventClipping,this._inputGeometries=t,this._tileKey=s.tileKey,this._curveHelper=new u,this._offset=(e.offset??1)*i,this._method=e.method??"Square",this._maxInflateSize=Math.max(Math.abs(n*i),10),this._offsetFlattenError=.03*i}next(){let t;for(;t=this._inputGeometries.next();){if(0===this._offset)return t.clone();if("esriGeometryEnvelope"===t.geometryType){if("Rounded"===this._method&&this._offset>0){const e=(0,h.A)(t),s=this._curveHelper.offset(e,-this._offset,this._method,4,this._offsetFlattenError);if(s){const e=r.z.createEmptyOptimizedCIM(t.geometryType);return e.pushPath(s),e}return null}const e=t.asJSON();if((0,Z.ZC)(e)&&Math.min(e.xmax-e.xmin,e.ymax-e.ymin)+2*this._offset>0)return r.z.fromJSONCIM({xmin:e.xmin-this._offset,xmax:e.xmax+this._offset,ymin:e.ymin-this._offset,ymax:e.ymax+this._offset})}const e=!this._preventClipping&&this._tileKey?(0,g.qc)(t,this._maxInflateSize,!0):t.clone();if(!e)continue;const s=g.xR.module,i=g.mO.module,n=g.hd.module,o=s.execute({...e.asJSON(),spatialReference:{wkid:d.A.WebMercator.wkid}});if(!o)continue;let a,l=Q(this._method);return"esriGeometryPolygon"===t.geometryType?("square"===l&&(l="bevel"),a=n.executeMany([o],[this._offset],l,"round")[0]):a=i.execute(o,-this._offset,{joins:l,flattenError:this._offsetFlattenError,miterLimit:4}),a?r.z.fromJSONCIM(a):null}return null}}function Q(t){switch(t){case"Rounded":return"round";case"Bevelled":return"bevel";case"Mitered":return"miter";case"Square":return"square"}}var tt=s(12359);class et{static{this.instance=null}static local(){return null===et.instance&&(et.instance=new et),et.instance}execute(t,e,s){return new st(t,e,s)}}class st{constructor(t,e,s){const i=s.geomUnitsPerPoint;this._inputGeometries=t,this._executionContext=s,this._length=(void 0!==e.length?e.length:y.D.CIMGeometricEffectRadial.length)*i,this._angle=void 0!==e.angle?e.angle*Math.PI/180:y.D.CIMGeometricEffectRadial.angle,this._lx=Math.cos(this._angle)*this._length,this._ly=Math.sin(this._angle)*this._length}next(){let t=this._inputGeometries.next();for(;t;){if("esriGeometryPoint"===t.geometryType||"esriGeometryMultipoint"===t.geometryType){const e=r.z.createEmptyOptimizedCIM("esriGeometryPolyline");return t.nextPath()&&t.nextPoint()&&(this._executionContext.effectOrigin=[t.x,t.y],e.pushPath([[t.x,t.y],[t.x+this._lx,t.y+this._ly]])),e}if("esriGeometryPolygon"===t.geometryType){const e=(0,tt.IK)(t);if(!e)return null;const s=r.z.createEmptyOptimizedCIM("esriGeometryPolyline");return this._executionContext.effectOrigin=[e[0],e[1]],s.pushPath([[e[0],e[1]],[e[0]+this._lx,e[1]+this._ly]]),s}t=this._inputGeometries.next()}return null}}class it{static{this.instance=null}static local(){return null===it.instance&&(it.instance=new it),it.instance}execute(t,e,s){return new nt(t,e,s)}}class nt{constructor(t,e,s){this._inputGeometries=t,this._reverse=void 0===e.reverse||e.reverse}next(){let t=this._inputGeometries.next();for(;t;){if(!this._reverse)return t;if("esriGeometryPolyline"===t.geometryType)return rt(t.clone());t=this._inputGeometries.next()}return null}}function rt(t){for(;t.nextPath();)for(let e=0;e<t.pathSize/2;e++){t.seekInPath(e);const s=t.x,i=t.y;t.seekInPath(t.pathSize-e-1);const n=t.x,r=t.y;t.x=s,t.y=i,t.seekInPath(e),t.x=n,t.y=r}return t.reset(),t}class ht{static{this.instance=null}static local(){return null===ht.instance&&(ht.instance=new ht),ht.instance}execute(t,e,s){return new ot(t,e,s)}}class ot{constructor(t,e,s){this._inputGeometries=t,this._rotateAngle=void 0!==e.angle?e.angle*Math.PI/180:0}next(){let t=this._inputGeometries.next();for(;t;){if(0===this._rotateAngle||"esriGeometryPoint"===t.geometryType)return t;if(t.totalSize>0){const e=(0,W.z8)(t),s=(e[2]+e[0])/2,i=(e[3]+e[1])/2;return t.reset(),this._rotate(t.clone(),s,i)}t=this._inputGeometries.next()}return null}_rotate(t,e,s){const i=Math.cos(this._rotateAngle),n=Math.sin(this._rotateAngle);for(;t.nextPath();)for(;t.nextPoint();){const r=t.x-e,h=t.y-s;t.x=e+r*i-h*n,t.y=s+r*n+h*i}return t.reset(),t}}class at{static{this.instance=null}static local(){return null===at.instance&&(at.instance=new at),at.instance}execute(t,e,s){return new lt(t,e,s)}}class lt{constructor(t,e,s){this._inputGeometries=t,this._xFactor=void 0!==e.xScaleFactor?e.xScaleFactor:1.15,this._yFactor=void 0!==e.yScaleFactor?e.yScaleFactor:1.15}next(){const t=this._inputGeometries.next();if(t){if(1===this._xFactor&&1===this._yFactor)return t;if("esriGeometryPoint"===t.geometryType)return t;if(t.totalSize>0){const e=(0,W.z8)(t),s=(e[2]+e[0])/2,i=(e[3]+e[1])/2;return t.reset(),this._scaleCursor(t.clone(),s,i)}}return null}_scaleCursor(t,e,s){for(;t.nextPath();)for(;t.nextPoint();)t.x=e+(t.x-e)*this._xFactor,t.y=s+(t.y-s)*this._yFactor;return t.reset(),t}}class ct{constructor(){this._polyline=[]}beginPath(t){this._polyline.push([t])}lineTo(t){if(0===this._polyline.length)throw new Error("No path started. Call beginPath first.");this._polyline[this._polyline.length-1].push(t)}getPointCount(){return this._polyline.reduce((t,e)=>t+e.length,0)}addSegment(t,e,s){s&&this.beginPath(t),this.lineTo(e)}getXY(t){let e=0;for(const s of this._polyline){if(t<e+s.length)return s[t-e];e+=s.length}return null}getGeometry(){return this._polyline}}class ut{static{this.instance=null}static local(){return null===ut.instance&&(ut.instance=new ut),ut.instance}execute(t,e,s){return new _t(t,e,s)}}class _t extends c{constructor(t,e,s){super(t,!1,!0),this._suppress=void 0!==e.suppress&&e.suppress,this._invert=void 0!==e.invert&&e.invert}processPath(t){if(t.totalSize<=0)return null;if(!this._suppress){const e=r.z.createEmptyOptimizedCIM("esriGeometryPolygon",!1,!1,t.yFactor);for(t.seekPathEnd();t.nextPoint();)e.pushXY(t.x,t.y);return e}const e=[],s=new Array(t.pathSize);let i=0;for(t.seekPathStart();t.nextPoint();)s[i++]=t.getControlPoint(),e.push([t.x,t.y]);let n=!0,h=!0,o=!1,a=!this._invert;i=0;const l=new ct;let c=e[0];for(;i<e.length-1;){const t=e[i+1],r=s[i],u=s[i+1];i++,h&&(a=r||u?this._invert:!this._invert,h=!1),a?(l.addSegment(c,t,n),n=!1):o=!0,c=t,u&&(a?(a=!1,n=!0):a=!0)}const u=l.getGeometry();if(0===u.length)return null;if(!o&&e[0][0]===e[e.length-1][0]&&e[0][1]===e[e.length-1][1]){const t=u[u.length-1];return t[0][0]===t[t.length-1][0]&&t[0][1]===t[t.length-1][1]||t.push([t[0][0],t[0][1]]),r.z.fromJSONCIM({paths:u})}const _=u[u.length-1];return l.getPointCount()>1&&"esriGeometryPolygon"===t.geometryType&&_[0][0]===_[_.length-1][0]&&_[0][1]===_[_.length-1][1]&&u.length>1&&(u[u.length-1].push(...u[0]),u.splice(0,1)),r.z.fromJSONCIM({paths:u})}}var pt=s(49186),ft=s(53966),dt=s(6774);const gt=()=>ft.A.getLogger("esri.symbols.cim.effects.EffectTaperedPolygon");class mt{static{this.instance=null}static local(){return null===mt.instance&&(mt.instance=new mt),mt.instance}execute(t,e,s){return new Pt(t,e,s)}}class Pt extends c{constructor(t,e,s){super(t,!1,!0),this._slopeS=0,this._slopeC=1,this._lastTangent1=new dt.bR(NaN,NaN),this._lastWidth=0;const i=s.geomUnitsPerPoint;this._geomUnitsPerPoint=i,this._halfFromWidth=Math.abs(void 0!==e.fromWidth?e.fromWidth:0)*i*.5,this._halfToWidth=Math.abs(void 0!==e.toWidth?e.toWidth:1)*i*.5,this._originalLength=(void 0!==e.length?e.length:0)*i,this._length=0}processPath(t){if(t.totalSize<=0)return null;if(this._halfFromWidth<=0&&this._halfToWidth<=0){const e=r.z.createEmptyOptimizedCIM("esriGeometryPolygon",!1,!1,t.yFactor);for(t.seekPathEnd();t.prevPoint();)e.pushXY(t.x,t.y);for(t.seekPathStart();t.nextPoint();)e.pushXY(t.x,t.y);return e}const e=t.getCurrentPath().asJSON(),s=g.NS.module.execute(e,.25*this._geomUnitsPerPoint,{removeDegenerateParts:!0}),i=null==s?null:(0,Z.Bi)(s)?s.rings:(0,Z.Rg)(s)?s.paths:null;if(!i)return gt().error(new pt.A("mapview-bad-resource","Unable to process geometry")),null;const n=g.Xs.module.execute(s);if((0===this._originalLength||this._originalLength>n)&&n>0){this._length=n;const t=(this._halfToWidth-this._halfFromWidth)/this._length;if(Math.abs(t)<1){const e=t*t;this._slopeC=Math.sqrt(1/(1+e)),this._slopeS=Math.sqrt(e/(1+e)),t<0&&(this._slopeS=-this._slopeS)}else this._slopeC=this._slopeS=.7071}else this._length=this._originalLength,this._slopeC=1,this._slopeS=0;const h=[];for(const t of i){const e=new ct,s=new ct;let i=0;this._setFromOffset(t.slice(0,2),e,s);for(let n=0,r=3;r<=t.length;++n,++r)i=this._setOffset(t.slice(n,r),i,e,s);this._setToOffset(t.slice(-2),i,e,s);const[n]=e.getGeometry(),[r]=s.getGeometry();h.push([...n,...r.reverse()])}const o={rings:h,spatialReference:{wkid:d.A.WebMercator.wkid}},a=g.yM.module.execute(o);return r.z.fromJSONCIM(a)}_setFromOffset([[t,e],[s,i]],n,r){const h=this._halfFromWidth,o=new dt.bR(s-t,i-e).normalize().scale(h);n.beginPath([t-o.y,e+o.x]),r.beginPath([t+o.y,e-o.x])}_setToOffset([[t,e],[s,i]],n,r,h){let o;o=(n+=Math.sqrt((s-t)**2+(i-e)**2))>=this._length?this._halfToWidth:this._halfFromWidth+(this._halfToWidth-this._halfFromWidth)*n/this._length;const a=new dt.bR(s-t,i-e).normalize().scale(o);r.lineTo([s-a.y,i+a.x]),h.lineTo([s+a.y,i-a.x])}_setOffset([[t,e],[s,i],[n,r]],h,o,a){const l=Math.sqrt((s-t)**2+(i-e)**2);let c;c=h+l>=this._length?this._halfToWidth:this._halfFromWidth+(this._halfToWidth-this._halfFromWidth)*(h+l)/this._length,h+=l;const u=new dt.bR(s,i),_=new dt.bR(s-t,i-e).normalize(),p=new dt.bR(n-s,r-i).normalize(),f=dt.bR.sub(p,_),d=o.getPointCount(),g=a.getPointCount();_.leftPerpendicular(),p.leftPerpendicular();const m=_.x*p.x+_.y*p.y;if(m>.99){const t=dt.bR.add(_,p).scale(c/2),e=t.clone().rotate(this._slopeC,this._slopeS);o.lineTo([u.x+e.x,u.y+e.y]);const s=t.rotateReverse(this._slopeC,this._slopeS);a.lineTo([u.x-s.x,u.y-s.y])}else{const s=_.x*p.y-_.y*p.x;if(f.scale(1/s),s<0){f.scale(-c).rotateReverse(this._slopeC,this._slopeS);const t=a.getXY(g-1);t||gt().error(new pt.A("mapview-bad-resource","Unable to process geometry, index out of scope"));const e=dt.bR.add(u,f).sub(dt.bR.fromArray(t));if(_.x*e.y-_.y*e.x>0){const t=_.clone().scale(-c).rotateReverse(this._slopeC,this._slopeS),e=p.clone().scale(-c).rotateReverse(this._slopeC,this._slopeS);a.lineTo([u.x+t.x,u.y+t.y]),a.lineTo([u.x,u.y]),a.lineTo([u.x+e.x,u.y+e.y])}else a.lineTo([u.x+f.x,u.y+f.y])}else{f.scale(c).rotate(this._slopeC,this._slopeS);const t=o.getXY(d-1);t||gt().error(new pt.A("mapview-bad-resource","Unable to process geometry, index out of scope"));const e=dt.bR.add(u,f).sub(dt.bR.fromArray(t));if(_.x*e.y-_.y*e.x>0){const t=_.clone().scale(c).rotate(this._slopeC,this._slopeS),e=p.clone().scale(c).rotate(this._slopeC,this._slopeS);o.lineTo([u.x+t.x,u.y+t.y]),o.lineTo([u.x,u.y]),o.lineTo([u.x+e.x,u.y+e.y])}else o.lineTo([u.x+f.x,u.y+f.y])}const i=Math.acos(m);let n=1;if(c>.25){const t=2*Math.acos(1-.25/c);t<i&&(n=Math.round(i/t))}const r=Math.cos(i/n),h=Math.sin(i/n),l=_.clone();if(s<0){l.rotate(this._slopeC,this._slopeS);const s=o.getXY(d-1);s||gt().error(new pt.A("mapview-bad-resource","Unable to process geometry, index out of scope"));const i=dt.bR.add(u,l.clone().scale(this._lastWidth)),n=dt.bR.sub(i,dt.bR.fromArray(s)),r=_.x*n.y-_.y*n.x;if(!isNaN(this._lastTangent1.x)&&!isNaN(this._lastTangent1.y)&&r>0){const s=new dt.bR(t,e),i=this._lastTangent1.clone().scale(this._lastWidth);i.rotate(this._slopeC,this._slopeS);const n=_.clone().scale(this._lastWidth);n.rotate(this._slopeC,this._slopeS),o.lineTo([s.x+i.x,s.y+i.y]),o.lineTo([s.x,s.y]),o.lineTo([s.x+n.x,s.y+n.y])}}else{l.scale(-1).rotateReverse(this._slopeC,this._slopeS);const s=a.getXY(g-1);s||gt().error(new pt.A("mapview-bad-resource","Unable to process geometry, index out of scope"));const i=dt.bR.add(u,l.clone().scale(this._lastWidth)),n=dt.bR.sub(i,dt.bR.fromArray(s)),r=_.x*n.y-_.y*n.x;if(!isNaN(this._lastTangent1.x)&&!isNaN(this._lastTangent1.y)&&r>0){const s=new dt.bR(t,e),i=this._lastTangent1.clone().scale(-this._lastWidth);i.rotateReverse(this._slopeC,this._slopeS);const n=_.clone().scale(-this._lastWidth);n.rotateReverse(this._slopeC,this._slopeS),a.lineTo([s.x+i.x,s.y+i.y]),a.lineTo([s.x,s.y]),a.lineTo([s.x+n.x,s.y+n.y])}}l.scale(c);for(let t=0;t<=n;t++)s<0?(o.lineTo([u.x+l.x,u.y+l.y]),l.rotateReverse(r,h)):(a.lineTo([u.x+l.x,u.y+l.y]),l.rotate(r,h))}return this._lastTangent1.setCoords(_.x,_.y),this._lastWidth=c,h}}class xt{static{this.instance=null}static local(){return null===xt.instance&&(xt.instance=new xt),xt.instance}execute(t,e,s){return new yt(t,e,s)}}class yt{constructor(t,e,s){this._inputGeometries=t;const i=s.geomUnitsPerPoint;this._height=(void 0!==e.amplitude?e.amplitude:2)*i,this._period=(void 0!==e.period?e.period:3)*i,this._style=e.waveform??"Sinus",this._height<=0&&(this._height=Math.abs(this._height)),this._period<=0&&(this._period=Math.abs(this._period)),this._pattern=new I,this._pattern.addValue(this._period),this._pattern.addValue(this._period),this._walker=new G,this._walker.updateTolerance(i)}next(){let t=this._inputGeometries.next();for(;t;){if(0===this._height||0===this._period)return t;const e=this._processGeom(t);if(e)return e;t=this._inputGeometries.next()}return null}_processGeom(t){const e=r.z.createEmptyOptimizedCIM(t.geometryType);for(;t.nextPath();){e.startPath();const s=t.pathLength();if(this._walker.init(t,this._pattern))switch(this._style){case"Sinus":default:this._constructCurve(e,s,!1);break;case"Square":this._constructSquare(e,s);break;case"Triangle":this._constructTriangle(e,s);break;case"Random":this._constructCurve(e,s,!0)}else for(;t.nextPoint();)e.pushXY(t.x,t.y)}return e}_constructCurve(t,e,s){let i=Math.round(e/this._period);0===i&&(i=1);const n=16*i+1,r=e/i,h=this._period/16,o=1/n,a=2*Math.PI*e/r,l=2*Math.PI*Math.random(),c=2*Math.PI*Math.random(),u=2*Math.PI*Math.random(),_=.75-Math.random()/2,p=.75-Math.random()/2,f=new L;this._walker.curPointAndAngle(f),t.pushPoint(f.pt);let d=0;for(;;){if(!this._walker.nextPointAndAngle(h,f)){t.pushPoint(this._walker.getPathEnd());break}{const e=d;let i;if(d+=o,s){const t=this._height/2*(1+.3*Math.sin(_*a*e+l));i=t*Math.sin(a*e+c),i+=t*Math.sin(p*a*e+u),i/=2}else i=.5*this._height*Math.sin(.5*a*e);t.pushXY(f.pt[0]-i*f.sa,f.pt[1]+i*f.ca)}}}_constructSquare(t,e){Math.round(e/this._period);let s=!0;for(;;){let e=!1;if(this._walker.curPositionIsValid()){const i=new L;this._walker.curPointAndAngle(i);const n=new L;if(this._walker.nextPointAndAngle(this._period,n)){const r=new L;this._walker.nextPointAndAngle(this._period,r)&&(s?(t.pushPoint(i.pt),s=!1):t.pushPoint(i.pt),t.pushXY(i.pt[0]-this._height/2*i.sa,i.pt[1]+this._height/2*i.ca),t.pushXY(n.pt[0]-this._height/2*n.sa,n.pt[1]+this._height/2*n.ca),t.pushXY(n.pt[0]+this._height/2*n.sa,n.pt[1]-this._height/2*n.ca),t.pushXY(r.pt[0]+this._height/2*r.sa,r.pt[1]-this._height/2*r.ca),e=!0)}}if(!e){t.pushPoint(this._walker.getPathEnd());break}}}_constructTriangle(t,e){Math.round(e/this._period);let s=!0;for(;;){let e=!1;if(this._walker.curPositionIsValid()){const i=new L;this._walker.curPointAndAngle(i);const n=new L;if(this._walker.nextPointAndAngle(this._period/2,n)){const r=new L;this._walker.nextPointAndAngle(this._period,r)&&(this._walker.nextPosition(this._period/2)&&(s?(t.pushPoint(i.pt),s=!1):t.pushPoint(i.pt),t.pushXY(n.pt[0]-this._height/2*n.sa,n.pt[1]+this._height/2*n.ca),t.pushXY(r.pt[0]+this._height/2*r.sa,r.pt[1]-this._height/2*r.ca)),e=!0)}}if(!e){t.pushPoint(this._walker.getPathEnd());break}}}}class bt{static{this.instance=null}static local(){return null===bt.instance&&(bt.instance=new bt),bt.instance}execute(t,e,s){return new Mt(t,e,s)}}class Mt extends l{constructor(t,e,s){super(t),this._geometryWalker=new G,this._geometryWalker.updateTolerance(s),this._angleToLine=e.angleToLine??!0,this._keepUpright=e.keepUpright??!1,this._offset=(e.offset?e.offset:0)*s,this._originalEndings=e.endings??"WithHalfGap",this._offsetAtEnd=(e.customEndingOffset?e.customEndingOffset:0)*s,this._position=-(e.offsetAlongLine?e.offsetAlongLine:0)*s,this._pattern=new I,this._pattern.init(e.placementTemplate),this._pattern.scale(s),this._endings=this._originalEndings}processPath(t){if(this._pattern.isEmpty())return null;let e;if(this.iteratePath)e=this._pattern.nextValue();else{"WithFullGap"===this._originalEndings&&this.isClosed?this._endings="WithMarkers":this._endings=this._originalEndings,this._pattern.extPtGap=0;let s,i=!0;switch(this._endings){case"NoConstraint":s=-this._position,s=this._adjustPosition(s),i=!1;break;case"WithHalfGap":default:s=-this._pattern.lastValue()/2;break;case"WithFullGap":s=-this._pattern.lastValue(),this._pattern.extPtGap=this._pattern.lastValue();break;case"WithMarkers":s=0;break;case"Custom":s=-this._position,s=this._adjustPosition(s),this._pattern.extPtGap=.5*this._offsetAtEnd}if(!this._geometryWalker.init(t,this._pattern,i))return null;this._pattern.reset();let n=0;for(;s>n;)s-=n,n=this._pattern.nextValue();n-=s,e=n,this.iteratePath=!0}const s=new L;return this._geometryWalker.nextPointAndAngle(e,s)?"WithFullGap"===this._endings&&this._geometryWalker.isPathEnd()?(this.iteratePath=!1,null):"WithMarkers"===this._endings&&this._geometryWalker.isPathEnd()&&(this.iteratePath=!1,this.isClosed)?null:(this.internalPlacement.setTranslate(s.pt[0]-this._offset*s.sa,s.pt[1]+this._offset*s.ca),this._angleToLine&&this.internalPlacement.setRotateCS(s.ca,s.sa),this.internalPlacement):(this.iteratePath=!1,null)}_adjustPosition(t){let e=t/this._pattern.length();return e-=Math.floor(e),e*this._pattern.length()}}class Ct{static{this.instance=null}static local(){return null===Ct.instance&&(Ct.instance=new Ct),Ct.instance}execute(t,e,s){return new wt(t,e,s)}}class wt extends l{constructor(t,e,s){super(t,!1,!0),this._curveHelper=new u,this._placePerPart=e.placePerPart??!1,this._angleToLine=void 0===e.angleToLine||e.angleToLine,this._keepUpright=e.keepUpright??!1,this._offset=void 0!==e.offset?e.offset*s:0,this._type=e.extremityPlacement??"Both",this._position=void 0!==e.offsetAlongLine?e.offsetAlongLine*s:0,this._beginProcessed=!1}processMultiPath(t){return this._placePerPart?super.processMultiPath(t):this.processPath(t)}processPath(t){let e;switch(this._type){case"Both":default:this._beginProcessed?(e=this._atExtremities(t,this._position,!1),this._beginProcessed=!1,this.iterateMultiPath=!1,this.iteratePath=!1):(e=this._atExtremities(t,this._position,!0),this._beginProcessed=!0,this.iterateMultiPath=!0,this.iteratePath=!0);break;case"JustBegin":e=this._atExtremities(t,this._position,!0);break;case"JustEnd":e=this._atExtremities(t,this._position,!1);case"None":}return e}_atExtremities(t,e,s){if(this._placePerPart||(s?t.seekPath(0):t.seekPath(t.totalSize-1)),s||t.seekPathEnd(),s?t.nextPoint():t.prevPoint()){let i=0,[n,r]=[0,0],[h,o]=[t.x,t.y];const a=[0,0];for(;s?t.nextPoint():t.prevPoint();){n=h,r=o,h=t.x,o=t.y;const s=this._curveHelper.getLength(n,r,h,o);if(i+s>e){const t=(e-i)/s,[l,c]=this._curveHelper.getAngleCS(a,n,r,h,o,t),u=this._curveHelper.getCoord2D(n,r,h,o,t);return this.internalPlacement.setTranslate(u[0]-this._offset*c,u[1]+this._offset*l),this._angleToLine&&this.internalPlacement.setRotateCS(-l,-c),this.internalPlacement}i+=s}}return null}}const vt=.001;class St{static{this.instance=null}static local(){return null===St.instance&&(St.instance=new St),St.instance}execute(t,e,s){return new At(t,e,s)}}class At extends l{constructor(t,e,s){super(t),this._segmentIterator=null,this._segCount=0,this._firstSeg=!0,this._seg=null,this._ms=[],this._from=0,this._to=0,this._pt=null,this._walker=new G,this._walker.updateTolerance(s),this._placePerPart=e.placePerPart??!1,this._angleToLine=e.angleToLine??!1,this._keepUpright=e.keepUpright??!1,this._offset=(e.offset??0)*s,this._interval=e.interval??0,this._interval<=0&&(this._interval=.01),this._skipRate=e.skipMarkerRate??0,this._skipRate<=1&&(this._skipRate=0),this._placeAtExtremities=e.placeAtExtremities??!1}processPath(t){if(!this.iteratePath){const{fromGeometry:e}=g.vZ.module,s=e(t.getCurrentPath().asJSON()).getGeometry(),i=s.getPathStart(0);this._segmentIterator=s.querySegmentIteratorAtVertex(i),this._segCount=s.getSegmentCountPath(0),this._firstSeg=!0,this.iteratePath=!0,this._pt=s.getXY(0).clone()}for(;0===this._ms.length&&this._segmentIterator?.hasNextSegment();){--this._segCount,this._seg=this._segmentIterator.nextSegment(),this._from=this._seg.getStartAttributeAsDbl(2,0),this._to=this._seg.getEndAttributeAsDbl(2,0);const e=!isNaN(this._from),s=!isNaN(this._to);e&&(this._from=Math.round(this._from/vt)*vt,Math.abs(this._from)<vt&&(this._from=0)),s&&(this._to=Math.round(this._to/vt)*vt,Math.abs(this._to)<vt&&(this._to=0));let i=e?Math.floor(this._from/this._interval):0,n=s?Math.floor(this._to/this._interval):0;if(e&&(this._placeAtExtremities||!this._firstSeg||!this._placePerPart&&t.pathIndex>0)&&Math.abs(i*this._interval-this._from)<vt&&(!this._skipRate||i%this._skipRate)&&this._ms.push(this._from),this._firstSeg=!1,e&&s&&!(Math.abs(this._from-this._to)<vt))if(this._from<=this._to){i*this._interval<this._from+vt&&++i,n*this._interval>this._to-vt&&--n;for(let t=i;t<=n;++t)(!this._skipRate||t%this._skipRate)&&this._ms.push(t*this._interval)}else{i*this._interval>this._from-vt&&--i,n*this._interval<this._to+vt&&++n;for(let t=n;t<=i;++t)(!this._skipRate||t%this._skipRate)&&this._ms.push(t*this._interval)}}let e=0;if(0===this._ms.length){if(this.iteratePath=!1,!this._segCount&&this._placeAtExtremities&&!isNaN(this._to)&&(this._placePerPart||t.pathIndex===t.totalSize-1)){const t=Math.floor(this._to/this._interval);Math.abs(t*this._interval-this._to)<vt&&(!this._skipRate||t%this._skipRate)&&(this._ms.push(this._to),e=1)}if(0===this._ms.length)return null}const s=this._ms.pop(),i=isNaN(this._from)||isNaN(this._to)||Math.abs(this._from-this._to)<vt?e:(s-this._from)/(this._to-this._from);this._seg.queryCoord2D(i,this._pt);const n=this._seg.getTangent(i);let{x:r,y:h}=n.normalize();return this.internalPlacement.setTranslate(this._pt.x-this._offset*h,this._pt.y+this._offset*r),this._angleToLine&&(this._keepUpright&&r<0&&(r=-r,h=-h),this.internalPlacement.setRotateCS(r,h)),this.internalPlacement.setMeasure(s),this.internalPlacement}}class zt{static{this.instance=null}static local(){return null===zt.instance&&(zt.instance=new zt),zt.instance}execute(t,e,s){return new kt(t,e,s)}}class kt extends l{constructor(t,e,s){super(t),this._walker=new G,this._walker.updateTolerance(s),this._placePerPart=e.placePerPart??!1,this._angleToLine=void 0===e.angleToLine||e.angleToLine,this._keepUpright=e.keepUpright??!1,this._offset=void 0!==e.offset?e.offset*s:0,this._beginGap=void 0!==e.beginPosition?e.beginPosition*s:0,this._endGap=void 0!==e.endPosition?e.endPosition*s:0,this._flipFirst=void 0===e.flipFirst||e.flipFirst,this._pattern=new I,this._pattern.init(e.positionArray,!1),this._subPathLen=0,this._totalPathLen=0,this._posCount=this._pattern.size(),this._pathIndexes=[],this._pathLengths=[],this._pathStarts=[],this._posIndex=0,this._positions=[],this._isFirst=!0,this._prevPos=0}processMultiPath(t){return this._placePerPart?super.processMultiPath(t):this.processPath(t)}processPath(t){return this._pattern.isEmpty()?null:this._placePerPart?this._processPathPerPart(t):this._processMultiPart(t)}_processPathPerPart(t){let e;if(this.iteratePath){const t=this._pattern.nextValue()*this._subPathLen,s=this._beginGap+t;e=s-this._prevPos,this._prevPos=s}else{if(this._posCount=this._pattern.size(),this._isFirst=!0,this._prevPos=0,this._subPathLen=t.pathLength()-this._beginGap-this._endGap,this._subPathLen<0)return this.iteratePath=!1,null;if(!this._walker.init(t,this._pattern,!1))return null;this._pattern.reset();const s=this._pattern.nextValue()*this._subPathLen,i=this._beginGap+s;e=i-this._prevPos,this._prevPos=i,this.iteratePath=!0}const s=new L;return this._walker.nextPointAndAngle(e,s,1)?(this._posCount--,0===this._posCount&&(this.iteratePath=!1),this._setPlacement(s)):(this.iteratePath=!1,null)}_processMultiPart(t){if(!this.iteratePath){if(!this._initializeMultiPart(t))return null;this.iteratePath=!0}if(this._posIndex>=this._positions.length)return this.iteratePath=!1,null;const e=this._getPositionAtDistance(t,this._positions[this._posIndex]);if(null==e)return this.iterateMultiPath=!1,this.iteratePath=!1,null;this._posIndex++;const s=this._posIndex<this._positions.length;return this.iterateMultiPath=s,this.iteratePath=s,this._setPlacement(e)}_initializeMultiPart(t){this._pathIndexes.length=0,this._pathLengths.length=0,this._pathStarts.length=0,this._positions.length=0,this._totalPathLen=0,this._posIndex=0,this._isFirst=!0;for(let e=0;e<t.totalSize;e++){if(!t.seekPath(e))continue;const s=t.pathLength();s<=0||(this._pathIndexes.push(e),this._pathStarts.push(this._totalPathLen),this._pathLengths.push(s),this._totalPathLen+=s)}if(this._subPathLen=this._totalPathLen-this._beginGap-this._endGap,this._subPathLen<0||!this._pathIndexes.length)return!1;this._pattern.reset();for(let t=0;t<this._pattern.size();t++)this._positions.push(this._beginGap+this._pattern.nextValue()*this._subPathLen);return this._positions.length>0}_getPositionAtDistance(t,e){const s=Math.max(0,Math.min(e,this._totalPathLen));let i=this._pathIndexes.length-1;for(let t=0;t<this._pathIndexes.length-1;t++)if(s<=this._pathStarts[t]+this._pathLengths[t]){i=t;break}if(!t.seekPath(this._pathIndexes[i]))return null;if(!this._walker.init(t,this._pattern,!1))return null;const n=new L,r=Math.max(0,Math.min(s-this._pathStarts[i],this._pathLengths[i]));return this._walker.nextPointAndAngle(r,n,1)?n:null}_setPlacement(t){this.internalPlacement.setTranslate(t.pt[0]-this._offset*t.sa,t.pt[1]+this._offset*t.ca);const e=this._isFirst&&this._flipFirst;let s,i;return this._angleToLine?(s=t.ca,i=t.sa):(s=1,i=0),e&&(s=-s,i=-i),this.internalPlacement.setRotateCS(s,i),this._isFirst=!1,this.internalPlacement}}var Tt=s(87811);const It=512,Lt=24,Et=1e-6;class Gt{static{this.instance=null}static local(){return null===Gt.instance&&(Gt.instance=new Gt),Gt.instance}execute(t,e,s,i){return new Rt(t,e,s,i)}}class Rt{constructor(t,e,s,i){if(this._xMin=0,this._xMax=0,this._yMin=0,this._yMax=0,this._currentX=0,this._currentY=0,this._accelerationMap=null,this._testInsidePolygon=!1,this._verticalSubdivision=!0,this._stepX=Math.abs(e.stepX??16)*s,this._stepY=Math.abs(e.stepY??16)*s,this._stepX=Math.round(128*this._stepX)/128,this._stepY=Math.round(128*this._stepY)/128,0!==this._stepX&&0!==this._stepY){if(this._gridType=e.gridType??"Fixed","Random"===this._gridType){const t=e.seed??13,s=1;this._randomLCG=new Tt.A(t*s),this._randomness=(e.randomness??100)/100,this._gridAngle=0,this._shiftOddRows=!1,this._cosAngle=1,this._sinAngle=0,this._offsetX=0,this._offsetY=0,this._buildRandomValues()}else{if(this._randomness=0,this._gridAngle=e.gridAngle??0,this._shiftOddRows=e.shiftOddRows??!1,this._offsetX=(e.offsetX??0)*s,this._offsetY=(e.offsetY??0)*s,this._cosAngle=Math.cos(this._gridAngle/180*Math.PI),this._sinAngle=-Math.sin(this._gridAngle/180*Math.PI),this._stepX)if(this._offsetX<0)for(;this._offsetX<-.5*this._stepX;)this._offsetX+=this._stepX;else for(;this._offsetX>=.5*this._stepX;)this._offsetX-=this._stepX;if(this._stepY)if(this._offsetY<0)for(;this._offsetY<-.5*this._stepY;)this._offsetY+=this._stepY;else for(;this._offsetY>=.5*this._stepY;)this._offsetY-=this._stepY}if(this._graphicOriginX=0,this._graphicOriginY=0,null!=i){const[t,e,s,n]=i.split("/"),r=parseFloat(t),h=parseFloat(e),o=parseFloat(s),a=parseFloat(n);this._graphicOriginX=-(a*2**r+o)*It,this._graphicOriginY=h*It,this._testInsidePolygon=!0}this._internalPlacement=new o.W,this._calculateMinMax(t),this._geometryCursor=t}}next(){return this._geometryCursor?this._nextInside():null}_buildRandomValues(){if(!Rt._randValues){Rt._randValues=[];for(let t=0;t<Lt;t++)for(let t=0;t<Lt;t++)Rt._randValues.push(this._randomLCG.getFloat()),Rt._randValues.push(this._randomLCG.getFloat())}}_calculateMinMax(t){let e,s,i,n,r,h,o,a,l,c,u,_,p,f;this._xMin=0,this._xMax=0,this._yMin=0,this._yMax=0,o=a=p=u=Number.MAX_VALUE,l=c=f=_=-Number.MAX_VALUE;const d=1!==this._cosAngle;for(t.reset();t.nextPath();)for(;t.nextPoint();)h=t.x,r=t.y,e=h-this._graphicOriginX-this._offsetX,s=r-this._graphicOriginY-this._offsetY,d?(i=this._cosAngle*e-this._sinAngle*s,n=this._sinAngle*e+this._cosAngle*s):(i=e,n=s),o=Math.min(o,i),l=Math.max(l,i),a=Math.min(a,n),c=Math.max(c,n),u=Math.min(u,r),_=Math.max(_,r),p=Math.min(p,h),f=Math.max(f,h);u=u!==Number.MAX_VALUE?u:-512-this._stepY,_=_!==-Number.MAX_VALUE?_:this._stepY,p=p!==Number.MAX_VALUE?p:-this._stepX,f=f!==-Number.MAX_VALUE?f:It+this._stepX;const g=_-u,m=f-p;if(this._verticalSubdivision=g>=m,this._polygonMin=this._verticalSubdivision?u:p,this._testInsidePolygon){let t=0-this._graphicOriginX-this._offsetX-this._stepX,e=It-this._graphicOriginX-this._offsetX+this._stepX,s=-512-this._graphicOriginY-this._offsetY-this._stepY,i=0-this._graphicOriginY-this._offsetY+this._stepY;if(d){const n=[[t,s],[t,i],[e,s],[e,i]];t=s=Number.MAX_VALUE,e=i=-Number.MAX_VALUE;for(const r of n){const n=this._cosAngle*r[0]-this._sinAngle*r[1],h=this._sinAngle*r[0]+this._cosAngle*r[1];t=Math.min(t,n),e=Math.max(e,n),s=Math.min(s,h),i=Math.max(i,h)}}o=o!==Number.MAX_VALUE?Math.max(o,t):t,a=a!==Number.MAX_VALUE?Math.max(a,s):s,l=l!==-Number.MAX_VALUE?Math.min(l,e):e,c=c!==-Number.MAX_VALUE?Math.min(c,i):i}this._xMin=Math.round(o/this._stepX),this._xMax=Math.round(l/this._stepX),this._yMin=Math.round(a/this._stepY),this._yMax=Math.round(c/this._stepY),this._currentX=this._xMax+1,this._currentY=this._yMin-1,this._buildAccelerationMap(t,p,f,u,_)}_buildAccelerationMap(t,e,s,i,n){t.reset();const r=new Map,h=this._verticalSubdivision,o=h?n-i:s-e;let a=Math.ceil(o/10);if(a<=1)return;const l=Math.floor(o/a);let c,u,_,p,f,d,g,m,P,x,y;for(a++,this._delta=l,h?(P=-512-2*this._stepY,x=2*this._stepY,y=i):(P=-2*this._stepX,x=It+2*this._stepX,y=e);t.nextPath();)if(!(t.pathSize<2)&&t.nextPoint())for(c=t.x,u=t.y;t.nextPoint();c=_,u=p){if(_=t.x,p=t.y,h){if(u===p||u<P&&p<P||u>x&&p>x)continue;f=Math.min(u,p),d=Math.max(u,p)}else{if(c===_||c<P&&_<P||c>x&&_>x)continue;f=Math.min(c,_),d=Math.max(c,_)}for(;f<d;)g=Math.floor((f-y)/l),Ot(g,c,u,_,p,r),f+=l;m=Math.floor((d-y)/l),m>g&&Ot(m,c,u,_,p,r)}this._accelerationMap=r}_nextInside(){for(;;){if(this._currentX>this._xMax){if(this._currentY++,this._currentY>this._yMax)return null;this._currentX=this._xMin,this._shiftOddRows&&this._currentY%2&&this._currentX--}let t=this._currentX*this._stepX+this._offsetX;this._shiftOddRows&&this._currentY%2&&(t+=.5*this._stepX);const e=this._currentY*this._stepY+this._offsetY;let s,i;if(this._currentX++,"Random"===this._gridType){const n=(this._currentX%Lt+Lt)%Lt,r=(this._currentY%Lt+Lt)%Lt;s=this._graphicOriginX+t+this._stepX*this._randomness*(.5-Rt._randValues[r*Lt+n])*2/3,i=this._graphicOriginY+e+this._stepY*this._randomness*(.5-Rt._randValues[r*Lt+n+1])*2/3}else s=this._graphicOriginX+this._cosAngle*t+this._sinAngle*e,i=this._graphicOriginY-this._sinAngle*t+this._cosAngle*e;if(!this._testInsidePolygon||this._isInsidePolygon(s,i,this._geometryCursor))return this._internalPlacement.setTranslate(s,i),this._internalPlacement}}_isInsidePolygon(t,e,s){if(null==this._accelerationMap)return function(t,e,s){let i,n,r,h,o=0;for(t+=Et,e+=Et,s.reset();s.nextPath();)if(s.nextPoint())for(i=s.x,n=s.y;s.nextPoint();i=r,n=h)r=s.x,h=s.y,n>e!=h>e&&((r-i)*(e-n)-(h-n)*(t-i)>0?o++:o--);return 0!==o}(t,e,s);t+=Et,e+=Et;const i=this._verticalSubdivision,n=i?e:t,r=Math.floor((n-this._polygonMin)/this._delta),h=this._accelerationMap.get(r);if(!h)return!1;let o,a,l,c=0;for(const s of h){if(o=s[0],a=s[1],i){if(o[1]>e==a[1]>e)continue;l=(a[0]-o[0])*(e-o[1])-(a[1]-o[1])*(t-o[0])}else{if(o[0]>t==a[0]>t)continue;l=(a[1]-o[1])*(t-o[0])-(a[0]-o[0])*(e-o[1])}l>0?c++:c--}return 0!==c}}function Ot(t,e,s,i,n,r){let h=r.get(t);h||(h=[],r.set(t,h)),h.push([[e,s],[i,n]])}class Nt{static{this.instance=null}static local(){return null===Nt.instance&&(Nt.instance=new Nt),Nt.instance}execute(t,e,s){return new Xt(t,e,s)}}class Xt extends l{constructor(t,e,s){super(t),this._curveHelper=new u,this._angleToLine=void 0===e.angleToLine||e.angleToLine,this._keepUpright=e.keepUpright??!1,this._offset=void 0!==e.offset?e.offset*s:0,this._relativeTo=e.relativeTo??"LineMiddle",this._position=void 0!==e.startPointOffset?e.startPointOffset*s:0,this._epsilon=.001*s}processPath(t){const e=this._position;if("SegmentMidpoint"===this._relativeTo){if(this.iteratePath||(this.iteratePath=!0),t.nextPoint()){let[e,s]=[t.x,t.y],[i,n]=[0,0];const r=[0,0];for(;t.nextPoint();){i=t.x,n=t.y;const h=this._curveHelper.getLength(e,s,i,n);if(h<this._epsilon){e=i,s=n;continue}const o=.5+this._position/h,[a,l]=this._curveHelper.getAngleCS(r,e,s,i,n,o),c=this._curveHelper.getCoord2D(e,s,i,n,o);return this.internalPlacement.setTranslate(c[0]-this._offset*l,c[1]+this._offset*a),this._angleToLine&&this.internalPlacement.setRotateCS(a,l),this.internalPlacement}}return this.iteratePath=!1,null}const s="LineEnd"===this._relativeTo;return this.onLine(t,e,s)}onLine(t,e,s){let i,n=!1;switch(this._relativeTo){case"LineMiddle":default:t.seekPathStart(),i=t.pathLength()/2+e;break;case"LineBeginning":i=e;break;case"LineEnd":i=e,n=!0}s?t.seekPathEnd():t.seekPathStart();let r=0;if(s?t.prevPoint():t.nextPoint()){let[e,h]=[t.x,t.y],[o,a]=[0,0];const l=[0,0];for(;s?t.prevPoint():t.nextPoint();){o=t.x,a=t.y;const s=this._curveHelper.getLength(e,h,o,a);if(r+s>i){const t=(i-r)/s,[c,u]=this._curveHelper.getAngleCS(l,e,h,o,a,t),_=this._curveHelper.getCoord2D(e,h,o,a,t),p=n?-this._offset:this._offset;return this.internalPlacement.setTranslate(_[0]-p*u,_[1]+p*c),this._angleToLine&&(n?this.internalPlacement.setRotateCS(-c,-u):this.internalPlacement.setRotateCS(c,u)),this.internalPlacement}e=o,h=a,r+=s}}return null}}class Yt{static{this.instance=null}static local(){return null===Yt.instance&&(Yt.instance=new Yt),Yt.instance}execute(t,e,s){return new Wt(t,e,s)}}class Wt extends l{constructor(t,e,s){super(t),this._curveHelper=new u,this._angleToLine=void 0===e.angleToLine||e.angleToLine,this._keepUpright=e.keepUpright??!1,this._offset=void 0!==e.offset?e.offset*s:0,this._endPoints=void 0===e.placeOnEndPoints||e.placeOnEndPoints,this._controlPoints=void 0===e.placeOnControlPoints||e.placeOnControlPoints,this._regularVertices=void 0===e.placeOnRegularVertices||e.placeOnRegularVertices,this._tags=[],this._tagIterator=0}processPath(t){if(this.iteratePath||(this._preparePath(t),this.iteratePath=!0),this._tagIterator>=this._tags.length)return this._tags.length=0,this._tagIterator=0,this.iteratePath=!1,null;const e=this._tags[this._tagIterator];this._angleToLine&&this.internalPlacement.setRotate(e[2]);let s=e[0],i=e[1];if(0!==this._offset){const t=Math.cos(e[2]),n=Math.sin(e[2]);s-=this._offset*n,i+=this._offset*t}return this.internalPlacement.setTranslate(s,i),this._tagIterator++,this.internalPlacement}_preparePath(t){this._tags.length=0,this._tagIterator=0,t.seekPathStart();const e=t.isClosed();let s=0,i=!1,n=0,r=0;if(t.seekPathStart(),t.nextPoint()){let h=t.x,o=t.y,a=t.getControlPoint(),l=!0,c=t.nextPoint();for(;c;){const u=t.x,_=t.y,p=t.getControlPoint();(this._angleToLine||0!==this._offset)&&(n=this._curveHelper.getAngle(h,o,u,_,0)),l?(l=!1,e?(s=n,i=a):(this._endPoints||this._controlPoints&&a)&&this._tags.push([h,o,n])):a?this._controlPoints&&this._tags.push([h,o,Ft(r,n)]):this._regularVertices&&this._tags.push([h,o,Ft(r,n)]),(this._angleToLine||0!==this._offset)&&(r=this._curveHelper.getAngle(h,o,u,_,1)),c=t.nextPoint(),c||(e?p||i?this._controlPoints&&this._tags.push([u,_,Ft(r,s)]):this._regularVertices&&this._tags.push([u,_,Ft(r,s)]):(this._endPoints||this._controlPoints&&p)&&this._tags.push([u,_,r])),h=u,o=_,a=p}}this._tagIterator=0}}function Ft(t,e){const s=Math.PI;for(;Math.abs(e-t)>s+2e-15;)e-t>s?e-=2*s:e+=2*s;return(t+e)/2}var Dt=s(78957);class Ht{static{this.instance=null}static local(){return null===Ht.instance&&(Ht.instance=new Ht),Ht.instance}execute(t,e,s){return new Ut(t,e,s)}}class Ut{constructor(t,e,s){this._geometryCursor=t,this._offsetX=void 0!==e.offsetX?e.offsetX*s:0,this._offsetY=void 0!==e.offsetY?e.offsetY*s:0,this._method=void 0!==e.method?e.method:"OnPolygon",this._placementPerPart=void 0!==e.placePerPart&&e.placePerPart,this._internalPlacement=new o.W}next(){const t=this._geometryCursor;if(!t)return null;if(!this._placementPerPart)return this._geometryCursor=null,this._polygonCenter(t);for(;t.nextPath();)if(!(t.getCurrentRingArea()<0))return this._polygonCenter(t.getCurrentPath());return this._geometryCursor=null,null}_polygonCenter(t){let e=!1;switch(this._method){case"CenterOfMass":{const s=(0,tt.TP)(t);s&&(this._internalPlacement.setTranslate(s[0]+this._offsetX,s[1]+this._offsetY),e=!0)}break;case"BoundingBoxCenter":{const s=(0,W.z8)(t);s&&(this._internalPlacement.setTranslate((s[2]+s[0])/2+this._offsetX,(s[3]+s[1])/2+this._offsetY),e=!0)}break;default:{const s=(0,Dt.d)(t);null!==s&&(this._internalPlacement.setTranslate(s[0]+this._offsetX,s[1]+this._offsetY),e=!0)}}return e?this._internalPlacement:null}}var Vt=s(86235),Bt=s(14057);class qt{static{this.instance=null}static local(){return null===qt.instance&&(qt.instance=new qt),qt.instance}execute(t,e,s){return new Jt(t,s)}}class Jt{constructor(t,e){this._cursor=t,this._context=e}next(){const t=this._cursor.next();if(!t||0===t.totalSize)return null;const{matcher:e,target:s,tileKey:i}=this._context,n=e&&s&&null!=i?e.getMatcherGeometryOverride((0,Bt.$)(i,s.getObjectId())):null;if(!n)return t;const h=r.z.fromOptimizedCIM(n.geometry.clone(),n.geometryType);return h.invertY(),h}}class jt{static{this.instance=null}static local(){return null===jt.instance&&(jt.instance=new jt),jt.instance}execute(t){return new Zt(t)}}class Zt extends l{constructor(t){super(t),this._curveHelper=new u}processPath(t){if(this.iteratePath=!0,t.nextPoint()){const[e,s]=[t.x,t.y];if(t.nextPoint()){const[i,n]=[t.x,t.y],r=(e+i)/2,h=(s+n)/2;this.internalPlacement.setTranslate(r,h);const o=this._curveHelper.getAngle(e,s,i,n,0);return this.internalPlacement.setRotate(o),this.internalPlacement}}return this.iteratePath=!1,null}}function $t(t){if(!t)return null;switch(t.type){case"CIMGeometricEffectAddControlPoints":return i.local();case"CIMGeometricEffectArrow":return p.local();case"CIMGeometricEffectBuffer":return m.local();case"CIMGeometricEffectCircularSector":return C.local();case"CIMGeometricEffectControlMeasureLine":return A.local();case"CIMGeometricEffectCut":return k.local();case"CIMGeometricEffectDashes":return O.local();case"CIMGeometricEffectDonut":return X.local();case"CIMGeometricEffectJog":return B.local();case"CIMGeometricEffectMove":return J.local();case"CIMGeometricEffectOffset":return $.local();case"CIMGeometricEffectRadial":return et.local();case"CIMGeometricEffectReverse":return it.local();case"CIMGeometricEffectRotate":return ht.local();case"CIMGeometricEffectScale":return at.local();case"CIMGeometricEffectSuppress":return ut.local();case"CIMGeometricEffectTaperedPolygon":return mt.local();case"CIMGeometricEffectWave":return xt.local();case"CIMGeometricEffectEnclosingPolygon":return F.local();case"PrivateDimensionEffect":return Vt.HZ.local();case"PrivateMatcherGeometryOverrideEffect":return qt.local()}return null}function Kt(t){if(!t)return null;switch(t.type){case"CIMMarkerPlacementAlongLineSameSize":return bt.local();case"CIMMarkerPlacementAtExtremities":return Ct.local();case"CIMMarkerPlacementAtMeasuredUnits":return St.local();case"CIMMarkerPlacementAtRatioPositions":return zt.local();case"CIMMarkerPlacementInsidePolygon":return Gt.local();case"CIMMarkerPlacementOnLine":return Nt.local();case"PrivatePlacementMultipoint":return jt.local();case"CIMMarkerPlacementOnVertices":return Yt.local();case"CIMMarkerPlacementPolygonCenter":return Ht.local()}return null}},98939(t,e,s){s.d(e,{W:()=>i});class i{constructor(){this.setIdentity()}getAngle(){return(null==this.rz||0===this.rz&&1!==this.rzCos&&0!==this.rzSin)&&(this.rz=Math.atan2(this.rzSin,this.rzCos)),this.rz}setIdentity(){this.tx=0,this.ty=0,this.tz=0,this.s=1,this.rx=0,this.ry=0,this.rz=0,this.rzCos=1,this.rzSin=0}setTranslate(t,e){this.tx=t,this.ty=e}setTranslateZ(t){this.tz=t}setRotateCS(t,e){this.rz=void 0,this.rzCos=t,this.rzSin=e}setRotate(t){this.rz=t,this.rzCos=void 0,this.rzSin=void 0}setRotateY(t){this.ry=t}setScale(t){this.s=t}setMeasure(t){this.m=t}}},35521(t,e,s){var i=s(28076);i.D.CIMSolidStroke.capstyle,i.D.CIMSolidStroke.joinstyle,i.D.CIMSolidStroke.miterlimit},69754(t,e,s){s.d(e,{Z:()=>l,q:()=>a});var i=s(68197),n=s(93397);const r=/([A-Za-z_][\w-]*)\s*=\s*(['"])(.*?)\2/g,h=/&(amp|lt|gt|quot|apos);/g,o=/<\s*\/?\s*(?:CLR|BOL|_BOL|ITA|_ITA|FNT|CHR)\b/i;function a(t){return o.test(t)}function l(t){if(!t.supportsRichText||!t.textString.includes("<"))return null;const e=function(t){return{font:{...t.font},fontSize:t.symbol?.height&&!isNaN(t.symbol.height)?t.symbol.height:10,characterSpacing:0}}(t),s=[],i=[];let n=c(e),r="",h=!1;const o=t.textString,a=()=>{if(!r)return;const t=u(r);if(!t)return void(r="");const e=i[i.length-1];e&&function(t,e){return t.fontSize===e.fontSize&&t.characterSpacing===e.characterSpacing&&t.font.family===e.font.family&&t.font.style===e.font.style&&t.font.weight===e.font.weight&&function(t,e){return t===e||!!t&&!!e&&t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}(t.color,e.color)}(e,n)?e.text+=t:i.push({text:t,font:{...n.font},fontSize:n.fontSize,characterSpacing:n.characterSpacing,color:n.color}),r=""};let l=0;for(;l<o.length;){const t=o[l];if("<"!==t){r+=t,l++;continue}const e=o.indexOf(">",l+1);if(-1===e)return null;const i=_(o.slice(l+1,e));if(!i)return null;if(h=!0,a(),i.isEnd){const t=s.pop();if(!t||t.name!==i.name)return null;n=t.previous}else{const t=c(n);n=p(n,i),s.push({name:i.name,previous:t})}l=e+1}return s.length?null:(a(),h?i.filter(t=>t.text.length>0):null)}function c(t){return{font:{...t.font},fontSize:t.fontSize,characterSpacing:t.characterSpacing,color:t.color}}function u(t){return t.replaceAll(h,(t,e)=>{switch(e){case"amp":return"&";case"lt":return"<";case"gt":return">";case"quot":return'"';case"apos":return"'";default:return t}})}function _(t){const e=t.trim();if(!e)return null;const s=e.startsWith("/"),i=s?e.slice(1).trim():e,n=/^([A-Za-z_][\w-]*)/.exec(i);if(!n)return null;const h=n[1],o=i.slice(h.length),a={};let l;for(r.lastIndex=0;l=r.exec(o);)a[l[1]]=l[3];return{isEnd:s,name:h,attributes:a}}function p(t,e){const s=c(t);switch(e.name.toUpperCase()){case"BOL":s.font.weight="bold";break;case"_BOL":s.font.weight="normal";break;case"ITA":s.font.style="italic";break;case"_ITA":s.font.style="normal";break;case"FNT":!function(t,e){const{name:s,style:i,size:r,scale:h,wght:o,ital:a}=e;if(s&&(t.font.family=s),i){const e=(0,n._d)(i);t.font.style=e.style,t.font.weight=e.weight}if(o){const e=Number(o);t.font.weight=e>=600?"bold":"normal"}if(a){const e=Number(a);isNaN(e)||(t.font.style=0!==e?"italic":"normal")}if(r){const e=Number(r);!isNaN(e)&&e>0&&(t.fontSize=e)}if(h){const e=Number(h);!isNaN(e)&&e>0&&(t.fontSize*=e/100)}}(s,e.attributes);break;case"CLR":s.color=function(t){if(t.hex){const e=i.A.fromHex(t.hex)?.toArray();if(e){const s="alpha"in t?g(t.alpha):e[3];return[e[0],e[1],e[2],s]}}if("red"in t||"green"in t||"blue"in t)return[f(t.red),f(t.green),f(t.blue),g(t.alpha)];const e=d(t.cyan),s=d(t.magenta),n=d(t.yellow),r=d(t.black),h=g(t.alpha),o=d(t.tint,100)/100,a=1-r;return[Math.round(255*(1-e)*a*o),Math.round(255*(1-s)*a*o),Math.round(255*(1-n)*a*o),h]}(e.attributes);break;case"CHR":!function(t,e){const s=Number(e.spacing);!isNaN(s)&&s>=0&&(t.characterSpacing=s/100)}(s,e.attributes)}return s}function f(t){const e=Number(t);return function(t){return Math.max(0,Math.min(255,Math.round(t)))}(isNaN(e)?0:e)}function d(t,e=0){const s=Number(t);return function(t){return Math.max(0,Math.min(1,t))}((isNaN(s)?e:s)/100)}function g(t){return Math.round(255*d(t,100))}},63933(t,e,s){function i(t){if(!t)return 0;switch(t){case"Left":case"left":return-1;case"Right":case"right":return 1;case"justify":case"Justify":return 2;case"Center":case"center":return 0}}function n(t){if(!t)return 0;switch(t){case"Top":case"top":return 1;case"Center":case"middle":return 0;case"Baseline":case"baseline":return 2;case"Bottom":case"bottom":return-1}}function r(t){switch(t){case 1:case"right":return-1;case 2:case"justify":return 1;case 0:case"center":return 0;case-1:case"left":return 1;default:return console.debug(`Found invalid horizontal alignment ${t}`),0}}function h(t){switch(t){case 1:case"top":return 1;case 0:case"middle":return 0;case-1:case 2:case"baseline":case"bottom":return-1;default:return console.debug(`Found invalid vertical alignment ${t}`),0}}s.d(e,{Dy:()=>h,UD:()=>n,iT:()=>r,xy:()=>i})},15660(t,e,s){s.d(e,{A:()=>n});var i=s(88340);class n{constructor(t,e,s,n){this.transformedX=0,this.transformedY=0,this.center=(0,i.fA)(t,e),this.centerT=(0,i.vt)(),this.halfWidth=s/2,this.halfHeight=n/2,this.width=s,this.height=n}get x(){return this.center[0]}get y(){return this.center[1]}get blX(){return this.center[0]+this.halfWidth}get blY(){return this.center[1]+this.halfHeight}get trX(){return this.center[0]-this.halfWidth}get trY(){return this.center[1]-this.halfHeight}get xmin(){return this.x-this.halfWidth}get xmax(){return this.x+this.halfWidth}get ymin(){return this.y-this.halfHeight}get ymax(){return this.y+this.halfHeight}set x(t){this.center[0]=t}set y(t){this.center[1]=t}clone(){return new n(this.x,this.y,this.width,this.height)}serialize(t){return t.writeF32(this.center[0]),t.writeF32(this.center[1]),t.push(this.width),t.push(this.height),t}findCollisionDelta(t,e=4){const s=Math.abs(t.centerT[0]-this.centerT[0]),i=Math.abs(t.centerT[1]-this.centerT[1]),n=(t.halfWidth+this.halfWidth+e)/s,r=(t.halfHeight+this.halfHeight+e)/i,h=Math.min(n,r);return Math.log2(h)}extend(t){const e=Math.min(this.xmin,t.xmin),s=Math.min(this.ymin,t.ymin),i=Math.max(this.xmax,t.xmax)-e,n=Math.max(this.ymax,t.ymax)-s,r=e+i/2,h=s+n/2;this.width=i,this.height=n,this.halfWidth=i/2,this.halfHeight=n/2,this.x=r,this.y=h}static deserialize(t){const e=t.readF32(),s=t.readF32(),i=t.readInt32(),r=t.readInt32();return new n(e,s,i,r)}}},75434(t,e,s){s.d(e,{HB:()=>M,tA:()=>b});var i=s(90629),n=s(16905),r=s(85560),h=s(37585),o=s(88340),a=s(63933),l=s(18989),c=s(15660);const u=Math.PI/180;class _{static fromGlyph(t,e,s,i,n){const{mosaicItem:r,rect:h,shaping:o,code:a}=s,l=r.rect;return new _({width:0===a?h.width:l.width*i,height:0===a?h.height:l.height*i,x:i*(t+o.xOffset+h.left),y:i*(e+o.yOffset-h.top),textureBinding:r.textureBinding,texcoords:{topLeft:[l.x,l.y],topRight:[l.x+l.width,l.y],bottomLeft:[l.x,l.y+l.height],bottomRight:[l.x+l.width,l.y+l.height]},fontSize:n?.fontSize,color:n?.color})}constructor(t){this._rotationT=(0,r.vt)(),this._transform=(0,r.vt)(),this._angle=0,this._bounds=null,this.width=t.width,this.height=t.height,this.x=t.x,this.y=t.y,this.textureBinding=t.textureBinding,this.texcoords=t.texcoords,this.fontSize=t.fontSize,this.color=t.color}set angle(t){this._angle=t,(0,n.$0)(this._rotationT,-t),this._offsets=this._bounds=null}get angle(){return this._angle}get offsets(){if(!this._offsets){const{x:t,y:e,width:s,height:i}=this,o=(0,n.$0)((0,r.vt)(),-this.angle),a=(0,n.lw)((0,r.vt)(),o,this._transform);this._offsets={topLeft:(0,h.l0)([0,0],[t,e],a),topRight:(0,h.l0)([0,0],[t+s,e],a),bottomLeft:(0,h.l0)([0,0],[t,e+i],a),bottomRight:(0,h.l0)([0,0],[t+s,e+i],a)}}return this._offsets}get bounds(){if(this.width<=0)return null;if(!this._bounds){const t=this.offsets;let e=1/0,s=1/0,i=-1/0,n=-1/0;for(const[r,h]of[t.topLeft,t.topRight,t.bottomLeft,t.bottomRight])e=Math.min(e,r),s=Math.min(s,h),i=Math.max(i,r),n=Math.max(n,h);const r=i-e,h=n-s,o=e+r/2,a=s+h/2;this._bounds=new c.A(o,a,r,h)}return this._bounds}setTransform(t){this._transform=t,this._offsets=null}}const p=(t,e)=>({code:0,mosaicItem:{rect:new l.A(0,0,11,8),sdf:!0,page:0,textureBinding:e},rect:{height:4,width:t,left:0,top:0},shaping:{xOffset:0,yOffset:0,xAdvance:0,yAdvance:0}});function f(t,e){return t.forEach(t=>(0,h.l0)(t,t,e)),{topLeft:t[0],topRight:t[1],bottomLeft:t[2],bottomRight:t[3]}}class d{constructor(t,e,s,i){this._rotation=0,this._decorate(t,e,s,i),this.glyphs=t,this.bounds=this._createBounds(t),this.isMultiline=e.length>1,this._hasRotation=0!==s.angle,this._transform=this._createGlyphTransform(this.bounds,s),this._borderLineSizePx=s.borderLineSizePx,(s.borderLineSizePx||s.hasBackground)&&([this.bounds,this.textBox]=this.shapeBackground(this._transform));for(const e of t)e.setTransform(this._transform)}setRotation(t){if(0===t&&0===this._rotation)return;this._rotation=t;const e=this._transform,s=(0,n.$0)((0,r.vt)(),t);(0,n.lw)(e,s,e);for(const t of this.glyphs)t.setTransform(this._transform)}_decorate(t,e,s,i){if(!s.decoration||"none"===s.decoration||!t.length)return;const n=s.scale,r=t[0].textureBinding;for(const h of e){const e=h.scale??n,o="underline"===s.decoration?h.baseline??i?.baseline??26:h.midline??i?.midline??16,a=h.startX*e,l=h.startY*e,c=(h.width+h.glyphWidthEnd)*e;t.push(_.fromGlyph(a,l+o*e,p(c,r),1))}}shapeBackground(t){const e=(1.5+(this._borderLineSizePx||0))/2,s=this._borderLineSizePx?e:0,{xmin:i,ymin:n,xmax:r,ymax:h,x:o,y:a,width:l,height:u}=this.bounds,_=[i-8,n-8],p=[r+8,n-8],d=[i-8,h+8],g=[r+8,h+8],m=f([[_[0]-e,_[1]-e],[p[0]+e,p[1]-e],[_[0]+s,_[1]+s],[p[0]-s,p[1]+s]],t),P=f([[d[0]+s,d[1]-s],[g[0]-s,g[1]-s],[d[0]-e,d[1]+e],[g[0]+e,g[1]+e]],t),x=f([[_[0]-e,_[1]-e],[_[0]+s,_[1]+s],[d[0]-e,d[1]+e],[d[0]+s,d[1]-s]],t),y=f([[p[0]-s,p[1]+s],[p[0]+e,p[1]-e],[g[0]-s,g[1]-s],[g[0]+e,g[1]+e]],t),b={main:f([_,p,d,g],t),top:m,bot:P,left:x,right:y};return[new c.A(o,a,l+2*e,u+2*e),b]}get boundsT(){const t=this.bounds,e=(0,h.hZ)((0,o.vt)(),t.x,t.y);if((0,h.l0)(e,e,this._transform),this._hasRotation){const s=Math.max(t.width,t.height);return new c.A(e[0],e[1],s,s)}return new c.A(e[0],e[1],t.width,t.height)}_createBounds(t){let e=1/0,s=1/0,i=0,n=0;for(const r of t)e=Math.min(e,r.offsets.topLeft[0]),s=Math.min(s,r.offsets.topLeft[1]),i=Math.max(i,r.offsets.bottomRight[0]),n=Math.max(n,r.offsets.bottomRight[1]);const r=i-e,h=n-s;return new c.A(e+r/2,s+h/2,r,h)}_createGlyphTransform(t,e){const s=u*e.angle,i=(0,r.vt)(),a=(0,o.vt)();return(0,n.Tl)(i,i,(0,h.hZ)(a,e.xOffset,-e.yOffset)),e.useCIMAngleBehavior?(0,n.e$)(i,i,s):((0,n.Tl)(i,i,(0,h.hZ)(a,t.x,t.y)),(0,n.e$)(i,i,s),(0,n.Tl)(i,i,(0,h.hZ)(a,-t.x,-t.y))),i}}class g{constructor(t,e,s,i,n,r){this.glyphWidthEnd=0,this.startX=0,this.startY=0,this.start=Math.max(0,Math.min(e,s)),this.end=Math.max(0,Math.max(e,s)),this.end<t.length&&(this.glyphWidthEnd=t[this.end].rect.width),this.width=i,this.yMin=n,this.yMax=r}}const m=t=>10===t,P=t=>32===t;function x(t,e,s){let i=0;for(let n=e;n<s;n++)P(t[n].code)&&!m(t[n+1].code)&&i++;return i}function y(t,e){const s=e.scale,i=new Array,n=t.sdfPadding,{faceInfo:r,glyphs:h,isRightToLeft:o}=t,l="justify"===e.horizontalAlignment||"Justify"===e.horizontalAlignment,c=function(t,e,s){const i=new Array,n=1/s.scale,r=s.maxLineWidth*n,h=e?t.length-1:0,o=e?-1:t.length,a=e?-1:1;let l=h,c=0,u=0,_=l,p=_,f=0,d=1/0,x=0;for(;l!==o;){const{code:e,rect:s,shaping:n}=t[l],o=Math.abs(s.top);if(m(e)||P(e)||(d=Math.min(d,o),x=Math.max(x,o+s.height)),m(e))l!==h&&(i.push(new g(t,_,l-a,c,d===1/0?0:d,x)),d=1/0,x=0),c=0,_=l+a,p=l+a,u=0;else if(P(e))p=l+a,u=0,f=n.xAdvance,c+=n.xAdvance;else if(c>r){if(p!==_){const e=p-2*a;c-=f,i.push(new g(t,_,e,c-u,d,x)),d=1/0,x=0,_=p,c=u}else i.push(new g(t,_,l-a,c,d,x)),d=1/0,x=0,_=l,p=l,c=0;c+=n.xAdvance,u+=n.xAdvance}else c+=n.xAdvance,u+=n.xAdvance;l+=a}const y=new g(t,_,l-a,c,d,x);return y.start>=0&&y.end<t.length&&i.push(y),i}(h,o,e),u=c.length?function(t,e){let s=0;for(let e=0;e<t.length;e++){const{width:i}=t[e];s=Math.max(i,s)}const i="underline"===e.decoration?4:0,n=t[0].yMin;return{x:0,y:n,height:t[t.length-1].yMax+e.lineHeight*(t.length-1)+i-n,width:s}}(c,e):{y:0,height:0,width:0},p=l?o?1:-1:(0,a.xy)(e.horizontalAlignment),f=(0,a.UD)(e.verticalAlignment),y=2===f?1:0,b=y?0:f-1,M=r?.baseline??22,C=c.length>1,w=y?C?-u.y-u.height:-M:-u.y+b*(u.height/2);for(let r=0;r<c.length;r++){const{start:o,end:a,width:f}=c[r],d=l&&r<c.length-1?x(h,o,a):0,g=d>0?(u.width-f)/d:0;let y=-1*(p+1)*((g>0?u.width:f)/2)-n;const b=(t.isRightToLeft?c.length-1-r:r)*e.lineHeight+w-n;c[r].startX=y,c[r].startY=b;for(let t=o;t<=a;t++){const e=h[t];if(m(e.code))continue;const n=_.fromGlyph(y,b,e,s);y+=e.shaping.xAdvance,g>0&&P(e.code)&&(y+=g),i.push(n)}}return new d(i,c,e,r)}function b(t,e){return"glyphs"===t.type?y(t,e):function(t,e){const s=C(t,e),i=function(t,e){const s=[],i=e.maxLineWidth;let n=0,r=0,h=0,o=0,a=0,l=0;for(;n<t.length;){const e=t[n],{glyph:c}=e;if(m(c.code))0!==n&&s.push({width:r,start:o,end:n-1,glyphWidthEnd:t[n-1]?.glyph.rect.width*t[n-1]?.scale||0,yMin:0,yMax:0,lineHeight:0,baseline:0,midline:0,startX:0,startY:0,scale:1}),r=0,o=n+1,a=o,h=0,l=0;else if(P(c.code))a=n+1,h=0,l=e.xAdvance,r+=e.xAdvance;else if(r>i){if(a!==o){const e=a-2;r-=l,s.push({width:r-h,start:o,end:e,glyphWidthEnd:t[e]?.glyph.rect.width*t[e]?.scale||0,yMin:0,yMax:0,lineHeight:0,baseline:0,midline:0,startX:0,startY:0,scale:1}),o=a,r=h}else s.push({width:r,start:o,end:n-1,glyphWidthEnd:t[n-1]?.glyph.rect.width*t[n-1]?.scale||0,yMin:0,yMax:0,lineHeight:0,baseline:0,midline:0,startX:0,startY:0,scale:1}),o=n,a=n,r=0;r+=e.xAdvance,h+=e.xAdvance}else r+=e.xAdvance,h+=e.xAdvance;n++}if(o<t.length){const e=t.length-1;s.push({width:r,start:o,end:e,glyphWidthEnd:t[e]?.glyph.rect.width*t[e]?.scale||0,yMin:0,yMax:0,lineHeight:0,baseline:0,midline:0,startX:0,startY:0,scale:1})}return function(t,e){for(let s=0;s<e.length;s++){const i=e[s];let n=0,r=1/0,h=0;for(let e=i.start;e<=i.end;e++){const s=t[e];m(s.glyph.code)||P(s.glyph.code)||(n=Math.max(n,s.baseline),h=Math.max(h,s.lineHeight))}let o=1/0,a=-1/0;for(let e=i.start;e<=i.end;e++){const s=t[e];m(s.glyph.code)||P(s.glyph.code)||(o=Math.min(o,n-s.baseline+s.top),a=Math.max(a,n-s.baseline+s.bottom),r=Math.min(r,n-s.baseline+s.midline))}i.baseline=n,i.midline=r===1/0?n:r,i.lineHeight=h||Math.max(0,a-o),i.yMin=o===1/0?0:o,i.yMax=a===-1/0?0:a,i.startY=s>0?e[s-1].startY+e[s-1].lineHeight:0}return e}(t,s)}(s,e),n=i.length?function(t){let e=0;for(const s of t)e=Math.max(s.width+s.glyphWidthEnd,e);const s=t[0].yMin,i=t[t.length-1];return{x:0,y:s,height:i.startY+i.yMax-s,width:e}}(i):{width:0},r=new Array,h="justify"===e.horizontalAlignment||"Justify"===e.horizontalAlignment,o=h?-1:(0,a.xy)(e.horizontalAlignment),l=(0,a.UD)(e.verticalAlignment),c=2===l,u=i.length?i[0].yMin:0,p=i.length?i[i.length-1].startY+i[i.length-1].yMax:0,f=p-u,g=c?i.length>1?-p:-(i[0]?.baseline??0):1===l?-u:-1===l?-p:-(u+f/2);for(let t=0;t<i.length;t++){const e=i[t],a=h&&t<i.length-1?w(s,e.start,e.end):0,l=a>0?(n.width-e.width)/a:0;let c=-1*(o+1)*((l>0?n.width:e.width)/2);const u=e.startY+g;e.startX=c,e.startY=u;for(let t=e.start;t<=e.end;t++){const i=s[t],{glyph:n,scale:h,fontSize:o}=i;if(m(n.code))continue;const a=u+e.baseline-i.baseline;r.push(_.fromGlyph(c/h,a/h,n,h,{fontSize:o,color:i.color})),c+=i.xAdvance,l>0&&P(n.code)&&(c+=l)}}return new d(r,i,e)}(t,e)}function M(t,e){return"glyphs"===t.type?function(t,e){const s=e.scale,{faceInfo:i,glyphs:n}=t,r=n.reduce((t,e)=>Math.max(t,e.rect.height),0),h=n.map(t=>_.fromGlyph(-t.rect.width/2,-r,t,s));return new d(h,[],e,i)}(t,e):function(t,e){const s=C(t,e),i=s.reduce((t,e)=>Math.max(t,e.glyph.rect.height*e.scale),0),n=s.filter(t=>!m(t.glyph.code)).map(t=>_.fromGlyph(-t.glyph.rect.width/2,-i/t.scale,t.glyph,t.scale,{fontSize:t.fontSize,color:t.color}));return new d(n,[],e)}(t,e)}function C(t,e){const s=e.lineHeightRatio??1,n=[];for(const e of t.runs){const t=(0,i.Lz)(e.fontSize),r=t/e.glyphs.sdfSize,h=t*(29/24)*s,o=(e.glyphs.faceInfo?.baseline??22)*r,a=(e.glyphs.faceInfo?.midline??16)*r,l=1+(e.characterSpacing??0);for(const s of e.glyphs.glyphs){const i=s.shaping.xAdvance*r,c=Math.abs(s.rect.top)*r,u=c+s.rect.height*r;n.push({glyph:s,scale:r,fontSize:t,color:e.color,xAdvance:m(s.code)||P(s.code)?i:i*l,top:c,bottom:u,lineHeight:h,baseline:o,midline:a})}}return n}function w(t,e,s){let i=0;for(let n=e;n<s;n++)P(t[n].glyph.code)&&!m(t[n+1].glyph.code)&&i++;return i}},69221(t,e,s){s.d(e,{Lu:()=>r,hV:()=>n});var i=s(90629);function n(t){return(0,i.PN)(Math.round((0,i.Lz)(t)))}function r(t){const e=(0,i.PN)(32),s=(0,i.PN)(512);return Math.max(e,Math.min(t||s,s))}s(39829)},86235(t,e,s){s.d(e,{HZ:()=>r});var i=s(36745),n=s(14057);class r{static{this.instance=null}static local(){return null===r.instance&&(r.instance=new r),r.instance}execute(t,e,s){return new h(t,e,s)}}class h{constructor(t,e,s){this._cursor=t,this._effect=e,this._context=s}next(){const t=this._cursor.next();if(t&&t.totalSize>0){const e=t.asJSON(),s=a[this._effect.part](e,{...this._effect,target:this._context.target,scaleFactor:this._context.scaleFactor,matcher:this._context.matcher,tileKey:this._context.tileKey,geomUnitsPerPoint:this._context.geomUnitsPerPoint});return s?i.z.fromJSONCIM(s):null}return null}}function o(t,e){const s=e.matcher,i=e.target.getObjectId(),r=(0,n.$)(e.tileKey,i),h=s.getAnalyzedGraphic(r);return h?(h.evaluateWithGeometry(t,e.geomUnitsPerPoint*e.scaleFactor),h):null}const a={textPoint:function(t,e){const s=o(t,e);return s&&s.textPoint?{x:s.textPoint[0],y:s.textPoint[1],spatialReference:t.spatialReference}:t},beginDimensionLine:function(t,e){const s=o(t,e);if(!s||!s.dimensionLine)return t;const i=s.dimensionLine[0],n=i[1][0],r=i[1][1],h=i[0][0],a=i[0][1];return{spatialReference:t.spatialReference,paths:[[[n,r],[h,a]]]}},endDimensionLine:function(t,e){const s=o(t,e);if(!s||!s.dimensionLine)return t;const i=s.dimensionLine[1],n=i[1][0],r=i[1][1],h=i[0][0],a=i[0][1];return{spatialReference:t.spatialReference,paths:[[[n,r],[h,a]]]}},beginExtensionLine:function(t,e){const s=o(t,e);if(!s||!s.extensionLines)return t;const i=s.extensionLines[0],n=i[0][0],r=i[0][1],h=i[1][0],a=i[1][1];return{spatialReference:t.spatialReference,paths:[[[n,r],[h,a]]]}},endExtensionLine:function(t,e){const s=o(t,e);if(!s||!s.extensionLines)return t;const i=s.extensionLines[1],n=i[0][0],r=i[0][1],h=i[1][0],a=i[1][1];return{spatialReference:t.spatialReference,paths:[[[n,r],[h,a]]]}}};s.d(e,["Bd",0,"beginMarker","Cr",0,"beginExtensionLine","FF",0,"endMarker","Fn",0,"beginDimensionLine","NR",0,"textPoint","tz",0,"endDimensionLine","w0",0,"endExtensionLine"])},14057(t,e,s){function i(t,e){return`${t}_${e}`}s.d(e,{$:()=>i})}}]);