@arcgis/core 5.2.0-next.14 → 5.2.0-next.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{31762eb20a9a0ed3f8b0.js → 011a4d4201696fa10408.js} +1 -1
- package/assets/esri/core/workers/chunks/01ba5319cac3e0f14205.js +1 -0
- package/assets/esri/core/workers/chunks/0436fe89adc78696251c.js +1 -0
- package/assets/esri/core/workers/chunks/079b412d07d02504f1db.js +1 -0
- package/assets/esri/core/workers/chunks/{38cfedce779dd75bd217.js → 07ca020796c57cefda62.js} +1 -1
- package/assets/esri/core/workers/chunks/0b45d34938fa7862f746.js +1 -0
- package/assets/esri/core/workers/chunks/{a4b970a841b3085500fc.js → 0b55fc5050e718371e05.js} +1 -1
- package/assets/esri/core/workers/chunks/{97a654e8054302582a3b.js → 0bf72e9d0a6deceeb406.js} +1 -1
- package/assets/esri/core/workers/chunks/11c3b1e8ca21ad62fdd1.js +1 -0
- package/assets/esri/core/workers/chunks/1bd49e8d2657c72bf3f9.js +1 -0
- package/assets/esri/core/workers/chunks/1d81e667a580c5cdeda1.js +262 -0
- package/assets/esri/core/workers/chunks/25c1f5e2561986330b80.js +1 -0
- package/assets/esri/core/workers/chunks/2bc4aff77c830061e16e.js +1 -0
- package/assets/esri/core/workers/chunks/{8c443c52c846a096a250.js → 36dd3ad3ef2fbfc15cbd.js} +1 -1
- package/assets/esri/core/workers/chunks/39a10b2092a98083f4cf.js +1 -0
- package/assets/esri/core/workers/chunks/3bd32387af52fa48d747.js +1 -0
- package/assets/esri/core/workers/chunks/3dc6e9494af16f7b8009.js +1 -0
- package/assets/esri/core/workers/chunks/42e5e00610f281ca8ffa.js +1 -0
- package/assets/esri/core/workers/chunks/{73c355b895fd6a34fcb8.js → 45b560ca01fb566ba560.js} +1 -1
- package/assets/esri/core/workers/chunks/47d630561f3fce5c63c4.js +1 -0
- package/assets/esri/core/workers/chunks/4cc78493805671708a9b.js +1 -0
- package/assets/esri/core/workers/chunks/4e59e5a5d0ff887ff899.js +1 -0
- package/assets/esri/core/workers/chunks/4efef5fa8bf23aaf34cd.js +1 -0
- package/assets/esri/core/workers/chunks/511b9c12a7479d39dac0.js +1 -0
- package/assets/esri/core/workers/chunks/{20c729fca2e4b4c6b28d.js → 57b7e5fde972d3ad7884.js} +1 -1
- package/assets/esri/core/workers/chunks/57e04b7ec238f7b24274.js +1 -0
- package/assets/esri/core/workers/chunks/5d8924fdcdb473d261cd.js +1 -0
- package/assets/esri/core/workers/chunks/62de9e83331fb10aac6a.js +2 -0
- package/assets/esri/core/workers/chunks/{854c320af09b6afc4b80.js → 641cddee377599916de2.js} +2 -2
- package/assets/esri/core/workers/chunks/65cc9a48ac95523f7aa8.js +1 -0
- package/assets/esri/core/workers/chunks/66392ff750c28064040a.js +1 -0
- package/assets/esri/core/workers/chunks/668d84dc512b3085a960.js +1 -0
- package/assets/esri/core/workers/chunks/{318a2702632aaa4d3a63.js → 6a1b6f8c868f8edce1d7.js} +1 -1
- package/assets/esri/core/workers/chunks/6f5a82388a5eb5fcf1b7.js +1 -0
- package/assets/esri/core/workers/chunks/73b0edabddbb72fe1104.js +1 -0
- package/assets/esri/core/workers/chunks/7ee76504e7fea389a1c9.js +1 -0
- package/assets/esri/core/workers/chunks/7f849c8255140be6097f.js +1 -0
- package/assets/esri/core/workers/chunks/8927fb4aa68f7e541a39.js +30 -0
- package/assets/esri/core/workers/chunks/8eda85fc01a71aedd9e4.js +1 -0
- package/assets/esri/core/workers/chunks/8f25d91ea7b99597124e.js +1 -0
- package/assets/esri/core/workers/chunks/92341f36a8b15f34bcca.js +1 -0
- package/assets/esri/core/workers/chunks/9f93c29af2a18f7cb160.js +1 -0
- package/assets/esri/core/workers/chunks/a18cb809dd56c5537b3b.js +1 -0
- package/assets/esri/core/workers/chunks/a4f3bcfabd4ad127abf2.js +1 -0
- package/assets/esri/core/workers/chunks/a63bba226de6c5e464b0.js +1 -0
- package/assets/esri/core/workers/chunks/{7dcf804e1918b94fa4e1.js → a98905bf6050ad3b8721.js} +1 -1
- package/assets/esri/core/workers/chunks/a9f29ff36a7ae5bae686.js +1 -0
- package/assets/esri/core/workers/chunks/{1d5db8746a4f1ed1d18f.js → b102beeeb7a919f68b51.js} +1 -1
- package/assets/esri/core/workers/chunks/b75a4753cea6544da8bb.js +1 -0
- package/assets/esri/core/workers/chunks/bd36c57dd0cd28dee55f.js +30 -0
- package/assets/esri/core/workers/chunks/c8460bdf60aca749ed05.js +30 -0
- package/assets/esri/core/workers/chunks/c9057b0ad2c2bae4a8ce.js +1 -0
- package/assets/esri/core/workers/chunks/e73bb7c8de7412d9975c.js +1 -0
- package/assets/esri/core/workers/chunks/e8546ab510fc9515bd23.js +1 -0
- package/assets/esri/core/workers/chunks/e9acc05b0cf9e05f31a8.js +1 -0
- package/assets/esri/core/workers/chunks/{e77df11aee136d64ff0f.js → eb91dc957c328674e119.js} +1 -1
- package/assets/esri/core/workers/chunks/{0a8ba5cb857f61de40fb.js → ed2a1c371dfc5d4a744e.js} +28 -28
- package/assets/esri/core/workers/chunks/f0832b413612c77a62ca.js +1 -0
- package/assets/esri/core/workers/chunks/f955b35337a08f9f747d.js +1 -0
- package/assets/esri/core/workers/chunks/fea3b6bef761ef78630e.js +1 -0
- package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
- package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_fr.json +1 -1
- package/chunks/Component.glsl.js +3 -3
- package/chunks/GaussianSplatComposition.glsl.js +1 -1
- package/chunks/GlobalIlluminationBlur.glsl.js +11 -11
- package/chunks/OITBlend.glsl.js +1 -24
- package/chunks/OITBlendEmission.glsl.js +9 -9
- package/chunks/OITDimOpaque.glsl.js +3 -9
- package/chunks/lyr3DMain.js +1 -1
- package/config.js +1 -1
- package/core/reactiveUtils.d.ts +410 -109
- package/kernel.js +1 -1
- package/layers/Lyr3DWasmPerSceneView.js +1 -1
- package/layers/graphics/sources/MemorySource.js +1 -1
- package/layers/mixins/OperationalLayer.js +1 -1
- package/layers/support/ExportImageServiceParameters.js +1 -1
- package/layers/support/layersMapping.js +1 -1
- package/package.json +3 -3
- package/rest/print.js +1 -1
- package/support/revision.js +1 -1
- package/views/2d/engine/webgl/TextureManager.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueBackground.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/3d/interactive/visualElements/DrapedVisualElementResources.js +1 -1
- package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/util/EmissionDimming.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechniqueRepository.js +1 -1
- package/views/3d/webgl-engine/effects/fog/FogTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationBlur.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/glow/Glow.js +1 -1
- package/views/3d/webgl-engine/effects/glow/GlowBlurTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/effects/glow/GlowCompositionTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
- package/views/3d/webgl-engine/effects/transparency/OITBlend.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/transparency/OITBlend.js +1 -1
- package/views/3d/webgl-engine/effects/transparency/OITBlendEmission.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/transparency/OITBlendEmissionTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/transparency/OITBlendFragmentTechniqueConfiguration.js +2 -0
- package/views/3d/webgl-engine/effects/transparency/OITBlendTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/transparency/OITBlendTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/effects/transparency/OITDimOpaque.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/transparency/OITDimOpaqueTechnique.js +1 -1
- package/views/3d/webgl-engine/effects/transparency/oitBlendFragment.glsl.js +2 -0
- package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/Material.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/lodRendering/LodComponentData.js +1 -1
- package/views/3d/webgl-engine/lib/lodRendering/LodLevel.js +1 -1
- package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
- package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/MergedRenderer.js +1 -1
- package/views/3d/webgl-engine/shaders/GaussianSplatCompositionTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/oitResolution.glsl.js +1 -1
- package/views/View2D.d.ts +2 -3
- package/webdoc/support/writeUtils.js +1 -1
- package/widgets/Editor.js +1 -1
- package/widgets/Print/PrintViewModel.d.ts +11 -1
- package/widgets/Print/PrintViewModel.js +1 -1
- package/assets/esri/core/workers/chunks/0cbd7f5fe24271942abd.js +0 -1
- package/assets/esri/core/workers/chunks/1a95370ddc22729ab3c6.js +0 -1
- package/assets/esri/core/workers/chunks/2185e8a52c5e29d46680.js +0 -1
- package/assets/esri/core/workers/chunks/23d50c4478f40a7d62bf.js +0 -1
- package/assets/esri/core/workers/chunks/2623cd08487fdc9a94f1.js +0 -1
- package/assets/esri/core/workers/chunks/26583db2af1a1cc456e5.js +0 -1
- package/assets/esri/core/workers/chunks/2b00229c238aae70b948.js +0 -1
- package/assets/esri/core/workers/chunks/2b814bb51704a5b4fdc2.js +0 -30
- package/assets/esri/core/workers/chunks/30f1909c5ef1835b8507.js +0 -1
- package/assets/esri/core/workers/chunks/3172d7fc23787a287191.js +0 -1
- package/assets/esri/core/workers/chunks/39596715e84d0da2f803.js +0 -30
- package/assets/esri/core/workers/chunks/398eb3100a282e4736bb.js +0 -1
- package/assets/esri/core/workers/chunks/426b8e1e2eef2460851d.js +0 -1
- package/assets/esri/core/workers/chunks/4376bc2934a996d8bc27.js +0 -1
- package/assets/esri/core/workers/chunks/44e52fe98ffafe6a2807.js +0 -1
- package/assets/esri/core/workers/chunks/4d09ef7c57ab7f9782fe.js +0 -1
- package/assets/esri/core/workers/chunks/5022413f5a41b5d435ea.js +0 -1
- package/assets/esri/core/workers/chunks/5201105ca11a2d450460.js +0 -1
- package/assets/esri/core/workers/chunks/528ed0bd8dc149ead023.js +0 -1
- package/assets/esri/core/workers/chunks/59dafa1e1340ea4043e6.js +0 -1
- package/assets/esri/core/workers/chunks/684d3cb4fb233180b2d0.js +0 -1
- package/assets/esri/core/workers/chunks/6d616b66fb32904b55a1.js +0 -1
- package/assets/esri/core/workers/chunks/6d696beddcc5fbed5875.js +0 -1
- package/assets/esri/core/workers/chunks/6f125b4ed06c0022dee6.js +0 -1
- package/assets/esri/core/workers/chunks/6f4825c3ef1fe202ab82.js +0 -1
- package/assets/esri/core/workers/chunks/6f7193b9ff5942c0d354.js +0 -1
- package/assets/esri/core/workers/chunks/70737052bab29fcaa120.js +0 -1
- package/assets/esri/core/workers/chunks/72d67cc3a382e83bf1a2.js +0 -1
- package/assets/esri/core/workers/chunks/851705cf276eae8d4d37.js +0 -1
- package/assets/esri/core/workers/chunks/882ee7ed8a3a0215f9b9.js +0 -1
- package/assets/esri/core/workers/chunks/9d5f7573bfe3b051daf1.js +0 -1
- package/assets/esri/core/workers/chunks/a0c00c6fe60db49b3ab9.js +0 -1
- package/assets/esri/core/workers/chunks/af31e62499d45bdab3c3.js +0 -1
- package/assets/esri/core/workers/chunks/b9935cc8e2bd4045058a.js +0 -1
- package/assets/esri/core/workers/chunks/bdc66ef2b6ed783047d5.js +0 -1
- package/assets/esri/core/workers/chunks/c2a65de34f6a6c89c652.js +0 -1
- package/assets/esri/core/workers/chunks/c424a66f1546275e2bcb.js +0 -30
- package/assets/esri/core/workers/chunks/d2f47f21ce0b0ab4da17.js +0 -262
- package/assets/esri/core/workers/chunks/d5c35a75fd4c41def420.js +0 -1
- package/assets/esri/core/workers/chunks/dbd2bfcbf3e0f86f07b8.js +0 -1
- package/assets/esri/core/workers/chunks/df54e741db40b308c2dd.js +0 -2
- package/assets/esri/core/workers/chunks/e33d2ede6c9f1527d51b.js +0 -1
- package/assets/esri/core/workers/chunks/e912b515704e20313e53.js +0 -1
- package/assets/esri/core/workers/chunks/eac683a37339aa558455.js +0 -1
- package/assets/esri/core/workers/chunks/f590db684d88e72bd79b.js +0 -1
- package/assets/esri/core/workers/chunks/fa3faec65882c5b6f1a0.js +0 -1
- package/views/3d/webgl-engine/effects/transparency/OITBlendEmissionTechniqueConfiguration.js +0 -2
- package/views/3d/webgl-engine/effects/transparency/OITDimOpaqueTechniqueConfiguration.js +0 -2
- /package/assets/esri/core/workers/chunks/{df54e741db40b308c2dd.js.LICENSE.txt → 62de9e83331fb10aac6a.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{854c320af09b6afc4b80.js.LICENSE.txt → 641cddee377599916de2.js.LICENSE.txt} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8419],{5482(t,e,n){function r(t,e,n,r){var s,i=arguments.length,o=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(i<3?s(o):i>3?s(e,n,o):s(e,n))||o);return i>3&&o&&Object.defineProperty(e,n,o),o}function s(t,e,n){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var r,s;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose],n&&(s=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");s&&(r=function(){try{s.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}n.d(e,{Cg:()=>r,hk:()=>o,mS:()=>s}),Object.create,Object.create;var i="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=new Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function o(t){function e(e){t.error=t.hasError?new i(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var n,r=0;return function s(){for(;n=t.stack.pop();)try{if(!n.async&&1===r)return r=0,t.stack.push(n),Promise.resolve().then(s);if(n.dispose){var i=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(i).then(s,function(t){return e(t),s()})}else r|=1}catch(t){e(t)}if(1===r)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},11006(t,e,n){function r(t,e,n,r,i){s(t,e,n||0,r||t.length-1,i||o)}function s(t,e,n,r,o){for(;r>n;){if(r-n>600){var a=r-n+1,u=e-n+1,l=Math.log(a),c=.5*Math.exp(2*l/3),f=.5*Math.sqrt(l*c*(a-c)/a)*(u-a/2<0?-1:1);s(t,e,Math.max(n,Math.floor(e-u*c/a+f)),Math.min(r,Math.floor(e+(a-u)*c/a+f)),o)}var h=t[e],p=n,d=r;for(i(t,n,e),o(t[r],h)>0&&i(t,n,r);p<d;){for(i(t,p,d),p++,d--;o(t[p],h)<0;)p++;for(;o(t[d],h)>0;)d--}0===o(t[n],h)?i(t,n,d):i(t,++d,r),d<=e&&(n=d+1),e<=d&&(r=d-1)}}function i(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function o(t,e){return t<e?-1:t>e?1:0}n.d(e,{q:()=>r})},73354(t,e,n){n.d(e,{a:()=>o,b:()=>u,c:()=>i,d:()=>a,e:()=>p,f:()=>f,l:()=>c,n:()=>d,t:()=>h});var r=n(40876),s=(n(44208),n(72727));function i(t,e,n){o(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function o(t,e,n,r=3,i=r){const o=(0,s.k)(t.length,r,3),a=(0,s.k)(e.length,i,3),u=Math.min(o,a),l=n[0],c=n[1],f=n[2],h=n[4],p=n[5],d=n[6],y=n[8],m=n[9],g=n[10],M=n[12],B=n[13],b=n[14];let x=0,T=0;for(let n=0;n<u;n++){const n=e[x],s=e[x+1],o=e[x+2];t[T]=l*n+h*s+y*o+M,t[T+1]=c*n+p*s+m*o+B,t[T+2]=f*n+d*s+g*o+b,x+=i,T+=r}return t}function a(t,e,n){u(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function u(t,e,n,r=3,i=r){const o=(0,s.k)(t.length,r,3),a=(0,s.k)(e.length,i,3),u=Math.min(o,a),l=n[0],c=n[1],f=n[2],h=n[3],p=n[4],d=n[5],y=n[6],m=n[7],g=n[8];let M=0,B=0;for(let n=0;n<u;n++){const n=e[M],s=e[M+1],o=e[M+2];t[B]=l*n+h*s+y*o,t[B+1]=c*n+p*s+m*o,t[B+2]=f*n+d*s+g*o,M+=i,B+=r}}function l(t,e,n,r=3,s=r){const i=Math.min(t.length/r,e.length/s);let o=0,a=0;for(let u=0;u<i;u++)t[a]=n*e[o],t[a+1]=n*e[o+1],t[a+2]=n*e[o+2],o+=s,a+=r;return t}function c(t,e,n,r){f(t.typedBuffer,e.typedBuffer,n,r,t.typedBufferStride,e.typedBufferStride)}function f(t,e,n,s,i=3,o=i){const a=Math.min(t.length/i,e.length/o);let u=0,l=0;const c=1/r.Tf;for(let r=0;r<a;r++)t[l]=s*(n*e[u])**c,t[l+1]=s*(n*e[u+1])**c,t[l+2]=s*(n*e[u+2])**c,u+=o,l+=i}function h(t,e,n,r=3,i=r){const o=(0,s.k)(t.length,r,3),a=(0,s.k)(e.length,i,3),u=Math.min(o,a);let l=0,c=0;for(let s=0;s<u;s++)t[c]=e[l]+n[0],t[c+1]=e[l+1]+n[1],t[c+2]=e[l+2]+n[2],l+=i,c+=r;return t}function p(t,e){d(t.typedBuffer,e.typedBuffer,t.typedBufferStride,e.typedBufferStride)}function d(t,e,n=3,r=n){const s=Math.min(t.length/n,e.length/r);let i=0,o=0;for(let a=0;a<s;a++){const s=e[i],a=e[i+1],u=e[i+2],l=s*s+a*a+u*u;if(l>0){const e=1/Math.sqrt(l);t[o]=e*s,t[o+1]=e*a,t[o+2]=e*u}i+=r,o+=n}}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:f,linearToSRGBView:c,normalize:d,normalizeView:p,scale:l,scaleView:function(t,e,n){l(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)},shiftRight:function(t,e,n){const r=Math.min(t.count,e.count),s=t.typedBuffer,i=t.typedBufferStride,o=e.typedBuffer,a=e.typedBufferStride;let u=0,l=0;for(let t=0;t<r;t++)s[l]=o[u]>>n,s[l+1]=o[u+1]>>n,s[l+2]=o[u+2]>>n,u+=a,l+=i},transformMat3:u,transformMat3View:a,transformMat4:o,transformMat4View:i,translate:h},Symbol.toStringTag,{value:"Module"}))},50867(t,e,n){n.d(e,{a:()=>i,b:()=>c,l:()=>l,n:()=>a,t:()=>o});var r=n(40876),s=(n(44208),n(72727));function i(t,e,n){o(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function o(t,e,n,r=4,i=r){const o=(0,s.k)(t.length,r,4),a=(0,s.k)(e.length,i,4),u=Math.min(o,a),l=n[0],c=n[1],f=n[2],h=n[3],p=n[4],d=n[5],y=n[6],m=n[7],g=n[8];let M=0,B=0;for(let n=0;n<u;n++){const n=e[M],s=e[M+1],o=e[M+2],a=e[M+3];t[B]=l*n+h*s+y*o,t[B+1]=c*n+p*s+m*o,t[B+2]=f*n+d*s+g*o,t[B+3]=a,M+=i,B+=r}}function a(t,e){const n=Math.min(t.count,e.count),r=t.typedBuffer,s=t.typedBufferStride,i=e.typedBuffer,o=e.typedBufferStride;for(let t=0;t<n;t++){const e=t*s,n=t*o,a=i[n],u=i[n+1],l=i[n+2],c=a*a+u*u+l*l;if(c>0){const t=1/Math.sqrt(c);r[e]=t*a,r[e+1]=t*u,r[e+2]=t*l}}}function u(t,e,n,r=4){const s=Math.min(t.length/r,e.count),i=e.typedBuffer,o=e.typedBufferStride;let a=0,u=0;for(let e=0;e<s;e++)t[u]=n*i[a],t[u+1]=n*i[a+1],t[u+2]=n*i[a+2],t[u+3]=n*i[a+3],a+=o,u+=r}function l(t,e,n,r){c(t.typedBuffer,e,n,r,t.typedBufferStride)}function c(t,e,n,s,i=4){const o=Math.min(t.length/i,e.count),a=e.typedBuffer,u=e.typedBufferStride;let l=0,c=0;const f=1/r.Tf;for(let e=0;e<o;e++)t[c]=s*(n*a[l])**f,t[c+1]=s*(n*a[l+1])**f,t[c+2]=s*(n*a[l+2])**f,t[c+3]=s*n*a[l+3],l+=u,c+=i}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:c,linearToSRGBView:l,normalize:a,scale:u,scaleView:function(t,e,n){u(t.typedBuffer,e,n,t.typedBufferStride)},transformMat3:o,transformMat3View:i,transformMat4:function(t,e,n,r=4,i=r){const o=(0,s.k)(t.length,r,4),a=(0,s.k)(e.length,i,4),u=Math.min(o,a),l=n[0],c=n[1],f=n[2],h=n[3],p=n[4],d=n[5],y=n[6],m=n[7],g=n[8],M=n[9],B=n[10],b=n[11],x=n[12],T=n[13],w=n[14],v=n[15];let E=0,S=0;for(let n=0;n<u;n++){const n=e[E],s=e[E+1],o=e[E+2],a=e[E+3];t[S]=l*n+p*s+g*o+x*a,t[S+1]=c*n+d*s+M*o+T*a,t[S+2]=f*n+y*s+B*o+w*a,t[S+3]=h*n+m*s+b*o+v*a,E+=i,S+=r}},transformMat4View:function(t,e,n){const r=t.typedBuffer,i=t.typedBufferStride,o=e.typedBuffer,a=e.typedBufferStride,u=(0,s.k)(r.length,i,4),l=(0,s.k)(o.length,a,4),c=Math.min(u,l),f=n[0],h=n[1],p=n[2],d=n[3],y=n[4],m=n[5],g=n[6],M=n[7],B=n[8],b=n[9],x=n[10],T=n[11],w=n[12],v=n[13],E=n[14],S=n[15];for(let t=0;t<c;t++){const e=t*i,n=t*a,s=o[n],u=o[n+1],l=o[n+2],c=o[n+3];r[e]=f*s+y*u+B*l+w*c,r[e+1]=h*s+m*u+b*l+v*c,r[e+2]=p*s+g*u+x*l+E*c,r[e+3]=d*s+M*u+T*l+S*c}}},Symbol.toStringTag,{value:"Module"}))},40876(t,e,n){n.d(e,{Eq:()=>p,G1:()=>y,TS:()=>i,Tf:()=>M,V6:()=>s,Vm:()=>d,ay:()=>u,c1:()=>m,c4:()=>o,j5:()=>l,lT:()=>f,oW:()=>c,xV:()=>b});const r={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 s(t){return!!r[t]||!!r[t.toLowerCase()]}function i(t){return r[t]??r[t.toLowerCase()]}function o(t){return[...i(t)]}function a(t,e,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?t+(e-t)*r:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function u(t,e,n,r=1){const s=(t%360+360)%360/360,i=n<=.5?n*(e+1):n+e-n*e,o=2*n-i;return[Math.round(255*a(o,i,s+1/3)),Math.round(255*a(o,i,s)),Math.round(255*a(o,i,s-1/3)),r]}function l(t){const e=t.length>5,n=e?8:4,r=(1<<n)-1,s=e?1:17,i=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 u;return i&&(u=o&r,o>>=n,a[3]=s*u/255),u=o&r,o>>=n,a[2]=s*u,u=o&r,o>>=n,a[1]=s*u,u=o&r,o>>=n,a[0]=s*u,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),n=parseInt(t.slice(2,3),16),r=parseInt(t.slice(3,4),16),s=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,n+16*n,r+16*r,(s+16*s)/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 f(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),n=e[1];if("rgb"===n&&3===t.length||"rgba"===n&&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])),h(e)}return h(t.map(t=>parseFloat(t)))}if("hsl"===n&&3===t.length||"hsla"===n&&4===t.length)return u(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function h(t){return t[0]=m(t[0]),t[1]=m(t[1]),t[2]=m(t[2]),t[3]=4===t.length?y(t[3]):1,t}function p(t){let e=s(t)?i(t):null;return e??=f(t),e??=c(t),e}function d(t){const e=p(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function y(t){return g(t,0,1)}function m(t){return Math.round(g(t,0,255))}function g(t,e,n){return t=Number(t),isNaN(t)?n:t<e?e:t>n?n:t}const M=2.2,B=1/M;function b(t){return t**B}},69540(t,e,n){n.d(e,{OU:()=>c,Pw:()=>f});var r=n(5482),s=n(69622),i=(n(44208),n(4718)),o=(n(53966),n(97768)),a=n(88620),u=n(64108);const l=Symbol("ClonableMixin"),c=t=>{var e;const n=t;let s=class extends n{constructor(){super(...arguments),this[e]=!0}static{e=l}clone(t){const e=(0,a.oY)(this);(0,o.Lw)(e,"unable to clone instance of non-accessor class");const n=e.metadata,r=e.store,s={},u=new Map;for(const e in n){const o=n[e],a=r?.originOf(e),l=o.clonable;if(o.readOnly||!1===l||7!==a&&0!==a&&5!==a&&4!==a)continue;const c=this[e];let f=null;if("function"==typeof l)f=l(c,t);else if("reference"===l)f=c;else if(f=(0,i.TU)(c,t),null!=c&&null==f)continue;0===a?u.set(e,f):s[e]=f}const l=new(0,Object.getPrototypeOf(this).constructor)(s);if(u.size){const t=(0,a.oY)(l)?.store;if(t)for(const[e,n]of u)t.set(e,n,0)}return l}};return s=(0,r.Cg)([(0,u.$)("esri.core.Clonable")],s),s},f=c(s.A)},95488(t,e,n){n.d(e,{I:()=>s});var r=n(11406);class s extends r.T{notify(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onInvalidated(),t.onCommitted()}}}},9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>s,vt:()=>r,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:s,create:r,fromValues:function(t,e,n,r,s,i,o,a,u,l,c,f,h,p,d,y){return[t,e,n,r,s,i,o,a,u,l,c,f,h,p,d,y]}},Symbol.toStringTag,{value:"Module"}))},48163(t,e,n){function r(){return[0,0]}function s(t){return[t[0],t[1]]}function i(t,e){return[t,e]}function o(){return i(1,1)}function a(){return i(-1,-1)}function u(){return i(1,0)}function l(){return i(0,1)}n.d(e,{IA:()=>f,Un:()=>c,fA:()=>i,o8:()=>s,vt:()=>r});const c=o(),f=a(),h=u(),p=l();Object.freeze(Object.defineProperty({__proto__:null,NEGATIVE_ONES:f,ONES:c,UNIT_X:h,UNIT_Y:p,ZEROS:[0,0],clone:s,create:r,freeze:function(t,e){return[t,e]},fromArray:function(t,e=[0,0]){const n=Math.min(2,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e},fromValues:i,negativeOnes:a,ones:o,unitX:u,unitY:l,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},51850(t,e,n){function r(){return[0,0,0]}function s(t){return[t[0],t[1],t[2]]}function i(t,e,n){return[t,e,n]}function o(t,e,n){return[t,e,n]}function a(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function u(){return[0,0,0]}function l(){return i(1,1,1)}function c(){return i(1,0,0)}function f(){return i(0,1,0)}function h(){return i(0,0,1)}n.d(e,{CN:()=>o,Cb:()=>g,Cw:()=>y,JP:()=>m,S:()=>l,Ul:()=>u,Un:()=>d,ci:()=>a,fA:()=>i,o8:()=>s,uY:()=>p,vt:()=>r});const p=[0,0,0],d=l(),y=c(),m=f(),g=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:d,UNIT_X:y,UNIT_Y:m,UNIT_Z:g,ZEROS:p,clone:s,create:r,freeze:o,fromArray:a,fromValues:i,ones:l,unitX:c,unitY:f,unitZ:h,zeros:u},Symbol.toStringTag,{value:"Module"}))},91829(t,e,n){function r(){return[0,0,0,0]}function s(t,e,n,r){return[t,e,n,r]}function i(t,e,n,r){return[t,e,n,r]}function o(){return s(1,1,1,1)}function a(){return s(1,0,0,0)}function u(){return s(0,1,0,0)}function l(){return s(0,0,1,0)}function c(){return s(0,0,0,1)}n.d(e,{CN:()=>i,Un:()=>h,fA:()=>s,uY:()=>f,vt:()=>r});const f=[0,0,0,0],h=o(),p=a(),d=u(),y=l(),m=c();Object.freeze(Object.defineProperty({__proto__:null,ONES:h,UNIT_W:m,UNIT_X:p,UNIT_Y:d,UNIT_Z:y,ZEROS:f,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:r,freeze:i,fromArray:function(t,e=[0,0,0,0]){const n=Math.min(4,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e},fromValues:s,ones:o,unitW:c,unitX:a,unitY:u,unitZ:l,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"}))},58083(t,e,n){n.d(e,{$0:()=>m,$h:()=>S,B8:()=>l,C:()=>i,D_:()=>a,N9:()=>M,O7:()=>E,Tl:()=>f,X_:()=>T,aI:()=>C,e$:()=>p,eL:()=>d,hM:()=>g,hZ:()=>o,hs:()=>h,kN:()=>y,l:()=>w,lw:()=>c,mg:()=>u,o1:()=>v,sC:()=>x,t2:()=>P,t5:()=>_,tZ:()=>O,ut:()=>I,v3:()=>A});var r=n(51850),s=n(34304);function i(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[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function o(t,e,n,r,s,i,o,a,u,l,c,f,h,p,d,y,m){return t[0]=e,t[1]=n,t[2]=r,t[3]=s,t[4]=i,t[5]=o,t[6]=a,t[7]=u,t[8]=l,t[9]=c,t[10]=f,t[11]=h,t[12]=p,t[13]=d,t[14]=y,t[15]=m,t}function a(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function u(t,e){if(t===e){const n=e[1],r=e[2],s=e[3],i=e[6],o=e[7],a=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=n,t[6]=e[9],t[7]=e[13],t[8]=r,t[9]=i,t[11]=e[14],t[12]=s,t[13]=o,t[14]=a}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t}function l(t,e){const n=e[0],r=e[1],s=e[2],i=e[3],o=e[4],a=e[5],u=e[6],l=e[7],c=e[8],f=e[9],h=e[10],p=e[11],d=e[12],y=e[13],m=e[14],g=e[15],M=n*a-r*o,B=n*u-s*o,b=n*l-i*o,x=r*u-s*a,T=r*l-i*a,w=s*l-i*u,v=c*y-f*d,E=c*m-h*d,S=c*g-p*d,A=f*m-h*y,_=f*g-p*y,R=h*g-p*m;let P=M*R-B*_+b*A+x*S-T*E+w*v;return P?(P=1/P,t[0]=(a*R-u*_+l*A)*P,t[1]=(s*_-r*R-i*A)*P,t[2]=(y*w-m*T+g*x)*P,t[3]=(h*T-f*w-p*x)*P,t[4]=(u*S-o*R-l*E)*P,t[5]=(n*R-s*S+i*E)*P,t[6]=(m*b-d*w-g*B)*P,t[7]=(c*w-h*b+p*B)*P,t[8]=(o*_-a*S+l*v)*P,t[9]=(r*S-n*_-i*v)*P,t[10]=(d*T-y*b+g*M)*P,t[11]=(f*b-c*T-p*M)*P,t[12]=(a*E-o*A-u*v)*P,t[13]=(n*A-r*E+s*v)*P,t[14]=(y*B-d*x-m*M)*P,t[15]=(c*x-f*B+h*M)*P,t):null}function c(t,e,n){const r=e[0],s=e[1],i=e[2],o=e[3],a=e[4],u=e[5],l=e[6],c=e[7],f=e[8],h=e[9],p=e[10],d=e[11],y=e[12],m=e[13],g=e[14],M=e[15];let B=n[0],b=n[1],x=n[2],T=n[3];return t[0]=B*r+b*a+x*f+T*y,t[1]=B*s+b*u+x*h+T*m,t[2]=B*i+b*l+x*p+T*g,t[3]=B*o+b*c+x*d+T*M,B=n[4],b=n[5],x=n[6],T=n[7],t[4]=B*r+b*a+x*f+T*y,t[5]=B*s+b*u+x*h+T*m,t[6]=B*i+b*l+x*p+T*g,t[7]=B*o+b*c+x*d+T*M,B=n[8],b=n[9],x=n[10],T=n[11],t[8]=B*r+b*a+x*f+T*y,t[9]=B*s+b*u+x*h+T*m,t[10]=B*i+b*l+x*p+T*g,t[11]=B*o+b*c+x*d+T*M,B=n[12],b=n[13],x=n[14],T=n[15],t[12]=B*r+b*a+x*f+T*y,t[13]=B*s+b*u+x*h+T*m,t[14]=B*i+b*l+x*p+T*g,t[15]=B*o+b*c+x*d+T*M,t}function f(t,e,n){const r=n[0],s=n[1],i=n[2];if(e===t)t[12]=e[0]*r+e[4]*s+e[8]*i+e[12],t[13]=e[1]*r+e[5]*s+e[9]*i+e[13],t[14]=e[2]*r+e[6]*s+e[10]*i+e[14],t[15]=e[3]*r+e[7]*s+e[11]*i+e[15];else{const n=e[0],o=e[1],a=e[2],u=e[3],l=e[4],c=e[5],f=e[6],h=e[7],p=e[8],d=e[9],y=e[10],m=e[11];t[0]=n,t[1]=o,t[2]=a,t[3]=u,t[4]=l,t[5]=c,t[6]=f,t[7]=h,t[8]=p,t[9]=d,t[10]=y,t[11]=m,t[12]=n*r+l*s+p*i+e[12],t[13]=o*r+c*s+d*i+e[13],t[14]=a*r+f*s+y*i+e[14],t[15]=u*r+h*s+m*i+e[15]}return t}function h(t,e,n){const r=n[0],s=n[1],i=n[2];return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*s,t[5]=e[5]*s,t[6]=e[6]*s,t[7]=e[7]*s,t[8]=e[8]*i,t[9]=e[9]*i,t[10]=e[10]*i,t[11]=e[11]*i,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function p(t,e,n,r){let o=r[0],a=r[1],u=r[2],l=Math.sqrt(o*o+a*a+u*u);if(l<=(0,s.FD)())return void i(t,e);l=1/l,o*=l,a*=l,u*=l;const c=Math.sin(n),f=Math.cos(n),h=1-f,p=e[0],d=e[1],y=e[2],m=e[3],g=e[4],M=e[5],B=e[6],b=e[7],x=e[8],T=e[9],w=e[10],v=e[11],E=o*o*h+f,S=a*o*h+u*c,A=u*o*h-a*c,_=o*a*h-u*c,R=a*a*h+f,P=u*a*h+o*c,C=o*u*h+a*c,I=a*u*h-o*c,O=u*u*h+f;t[0]=p*E+g*S+x*A,t[1]=d*E+M*S+T*A,t[2]=y*E+B*S+w*A,t[3]=m*E+b*S+v*A,t[4]=p*_+g*R+x*P,t[5]=d*_+M*R+T*P,t[6]=y*_+B*R+w*P,t[7]=m*_+b*R+v*P,t[8]=p*C+g*I+x*O,t[9]=d*C+M*I+T*O,t[10]=y*C+B*I+w*O,t[11]=m*C+b*I+v*O,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15])}function d(t,e,n){const r=Math.sin(n),s=Math.cos(n),i=e[4],o=e[5],a=e[6],u=e[7],l=e[8],c=e[9],f=e[10],h=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=i*s+l*r,t[5]=o*s+c*r,t[6]=a*s+f*r,t[7]=u*s+h*r,t[8]=l*s-i*r,t[9]=c*s-o*r,t[10]=f*s-a*r,t[11]=h*s-u*r,t}function y(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t}function m(t,e,n){if(0===e)return a(t);let r=n[0],i=n[1],o=n[2],u=Math.sqrt(r*r+i*i+o*o);if(u<=(0,s.FD)())return null;u=1/u,r*=u,i*=u,o*=u;const l=Math.sin(e),c=Math.cos(e),f=1-c;return t[0]=r*r*f+c,t[1]=i*r*f+o*l,t[2]=o*r*f-i*l,t[3]=0,t[4]=r*i*f-o*l,t[5]=i*i*f+c,t[6]=o*i*f+r*l,t[7]=0,t[8]=r*o*f+i*l,t[9]=i*o*f-r*l,t[10]=o*o*f+c,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function g(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=r,t[6]=n,t[7]=0,t[8]=0,t[9]=-n,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function M(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=0,t[4]=-n,t[5]=r,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function B(t,e,n){const r=e[0],s=e[1],i=e[2],o=e[3],a=r+r,u=s+s,l=i+i,c=r*a,f=r*u,h=r*l,p=s*u,d=s*l,y=i*l,m=o*a,g=o*u,M=o*l;return t[0]=1-(p+y),t[1]=f+M,t[2]=h-g,t[3]=0,t[4]=f-M,t[5]=1-(c+y),t[6]=d+m,t[7]=0,t[8]=h+g,t[9]=d-m,t[10]=1-(c+p),t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}const b=(0,r.vt)();function x(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t}function T(t,e){const n=e[0],r=e[1],s=e[2],i=e[4],o=e[5],a=e[6],u=e[8],l=e[9],c=e[10];return t[0]=Math.sqrt(n*n+r*r+s*s),t[1]=Math.sqrt(i*i+o*o+a*a),t[2]=Math.sqrt(u*u+l*l+c*c),t}function w(t,e){const n=e[0]+e[5]+e[10];let r=0;return n>0?(r=2*Math.sqrt(n+1),t[3]=.25*r,t[0]=(e[6]-e[9])/r,t[1]=(e[8]-e[2])/r,t[2]=(e[1]-e[4])/r):e[0]>e[5]&&e[0]>e[10]?(r=2*Math.sqrt(1+e[0]-e[5]-e[10]),t[3]=(e[6]-e[9])/r,t[0]=.25*r,t[1]=(e[1]+e[4])/r,t[2]=(e[8]+e[2])/r):e[5]>e[10]?(r=2*Math.sqrt(1+e[5]-e[0]-e[10]),t[3]=(e[8]-e[2])/r,t[0]=(e[1]+e[4])/r,t[1]=.25*r,t[2]=(e[6]+e[9])/r):(r=2*Math.sqrt(1+e[10]-e[0]-e[5]),t[3]=(e[1]-e[4])/r,t[0]=(e[8]+e[2])/r,t[1]=(e[6]+e[9])/r,t[2]=.25*r),t}function v(t,e,n,r){const s=e[0],i=e[1],o=e[2],a=e[3],u=s+s,l=i+i,c=o+o,f=s*u,h=s*l,p=s*c,d=i*l,y=i*c,m=o*c,g=a*u,M=a*l,B=a*c,b=r[0],x=r[1],T=r[2];return t[0]=(1-(d+m))*b,t[1]=(h+B)*b,t[2]=(p-M)*b,t[3]=0,t[4]=(h-B)*x,t[5]=(1-(f+m))*x,t[6]=(y+g)*x,t[7]=0,t[8]=(p+M)*T,t[9]=(y-g)*T,t[10]=(1-(f+d))*T,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function E(t,e,n,r,s){const i=e[0],o=e[1],a=e[2],u=e[3],l=i+i,c=o+o,f=a+a,h=i*l,p=i*c,d=i*f,y=o*c,m=o*f,g=a*f,M=u*l,B=u*c,b=u*f,x=r[0],T=r[1],w=r[2],v=s[0],E=s[1],S=s[2],A=(1-(y+g))*x,_=(p+b)*x,R=(d-B)*x,P=(p-b)*T,C=(1-(h+g))*T,I=(m+M)*T,O=(d+B)*w,k=(m-M)*w,j=(1-(h+y))*w;return t[0]=A,t[1]=_,t[2]=R,t[3]=0,t[4]=P,t[5]=C,t[6]=I,t[7]=0,t[8]=O,t[9]=k,t[10]=j,t[11]=0,t[12]=n[0]+v-(A*v+P*E+O*S),t[13]=n[1]+E-(_*v+C*E+k*S),t[14]=n[2]+S-(R*v+I*E+j*S),t[15]=1,t}function S(t,e,n,r,s,i,o){const a=1/(n-e),u=1/(s-r),l=1/(i-o);return t[0]=2*i*a,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*i*u,t[6]=0,t[7]=0,t[8]=(n+e)*a,t[9]=(s+r)*u,t[10]=(o+i)*l,t[11]=-1,t[12]=0,t[13]=0,t[14]=o*i*2*l,t[15]=0,t}function A(t,e,n,r,s,i,o){const a=1/(e-n),u=1/(r-s),l=1/(i-o);return t[0]=-2*a,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*u,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*l,t[11]=0,t[12]=(e+n)*a,t[13]=(s+r)*u,t[14]=(o+i)*l,t[15]=1,t}function _(t,e,n,r){const i=e[0],o=e[1],u=e[2];let l=i-n[0],c=o-n[1],f=u-n[2];const h=(0,s.FD)();if(Math.abs(l)<h&&Math.abs(c)<h&&Math.abs(f)<h)return void a(t);let p=1/Math.sqrt(l*l+c*c+f*f);l*=p,c*=p,f*=p;const d=r[0],y=r[1],m=r[2];let g=y*f-m*c,M=m*l-d*f,B=d*c-y*l;p=Math.sqrt(g*g+M*M+B*B),p?(p=1/p,g*=p,M*=p,B*=p):(g=0,M=0,B=0);let b=c*B-f*M,x=f*g-l*B,T=l*M-c*g;p=Math.sqrt(b*b+x*x+T*T),p?(p=1/p,b*=p,x*=p,T*=p):(b=0,x=0,T=0),t[0]=g,t[1]=b,t[2]=l,t[3]=0,t[4]=M,t[5]=x,t[6]=c,t[7]=0,t[8]=B,t[9]=T,t[10]=f,t[11]=0,t[12]=-(g*i+M*o+B*u),t[13]=-(b*i+x*o+T*u),t[14]=-(l*i+c*o+f*u),t[15]=1}function R(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t[9]=e[9]-n[9],t[10]=e[10]-n[10],t[11]=e[11]-n[11],t[12]=e[12]-n[12],t[13]=e[13]-n[13],t[14]=e[14]-n[14],t[15]=e[15]-n[15],t}function P(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[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]&&t[9]===e[9]&&t[10]===e[10]&&t[11]===e[11]&&t[12]===e[12]&&t[13]===e[13]&&t[14]===e[14]&&t[15]===e[15]}function C(t,e){if(t===e)return!0;const n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],u=t[5],l=t[6],c=t[7],f=t[8],h=t[9],p=t[10],d=t[11],y=t[12],m=t[13],g=t[14],M=t[15],B=e[0],b=e[1],x=e[2],T=e[3],w=e[4],v=e[5],E=e[6],S=e[7],A=e[8],_=e[9],R=e[10],P=e[11],C=e[12],I=e[13],O=e[14],k=e[15],j=(0,s.FD)();return Math.abs(n-B)<=j*Math.max(1,Math.abs(n),Math.abs(B))&&Math.abs(r-b)<=j*Math.max(1,Math.abs(r),Math.abs(b))&&Math.abs(i-x)<=j*Math.max(1,Math.abs(i),Math.abs(x))&&Math.abs(o-T)<=j*Math.max(1,Math.abs(o),Math.abs(T))&&Math.abs(a-w)<=j*Math.max(1,Math.abs(a),Math.abs(w))&&Math.abs(u-v)<=j*Math.max(1,Math.abs(u),Math.abs(v))&&Math.abs(l-E)<=j*Math.max(1,Math.abs(l),Math.abs(E))&&Math.abs(c-S)<=j*Math.max(1,Math.abs(c),Math.abs(S))&&Math.abs(f-A)<=j*Math.max(1,Math.abs(f),Math.abs(A))&&Math.abs(h-_)<=j*Math.max(1,Math.abs(h),Math.abs(_))&&Math.abs(p-R)<=j*Math.max(1,Math.abs(p),Math.abs(R))&&Math.abs(d-P)<=j*Math.max(1,Math.abs(d),Math.abs(P))&&Math.abs(y-C)<=j*Math.max(1,Math.abs(y),Math.abs(C))&&Math.abs(m-I)<=j*Math.max(1,Math.abs(m),Math.abs(I))&&Math.abs(g-O)<=j*Math.max(1,Math.abs(g),Math.abs(O))&&Math.abs(M-k)<=j*Math.max(1,Math.abs(M),Math.abs(k))}function I(t){const e=(0,s.FD)(),n=t[0],r=t[1],i=t[2],o=t[4],a=t[5],u=t[6],l=t[8],c=t[9],f=t[10];return Math.abs(1-(n*n+o*o+l*l))<=e&&Math.abs(1-(r*r+a*a+c*c))<=e&&Math.abs(1-(i*i+u*u+f*f))<=e}function O(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[8]&&0===t[9]&&1===t[10]}const k=c,j=R;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t[9]=e[9]+n[9],t[10]=e[10]+n[10],t[11]=e[11]+n[11],t[12]=e[12]+n[12],t[13]=e[13]+n[13],t[14]=e[14]+n[14],t[15]=e[15]+n[15],t},adjoint:function(t,e){const n=e[0],r=e[1],s=e[2],i=e[3],o=e[4],a=e[5],u=e[6],l=e[7],c=e[8],f=e[9],h=e[10],p=e[11],d=e[12],y=e[13],m=e[14],g=e[15];return t[0]=a*(h*g-p*m)-f*(u*g-l*m)+y*(u*p-l*h),t[1]=-(r*(h*g-p*m)-f*(s*g-i*m)+y*(s*p-i*h)),t[2]=r*(u*g-l*m)-a*(s*g-i*m)+y*(s*l-i*u),t[3]=-(r*(u*p-l*h)-a*(s*p-i*h)+f*(s*l-i*u)),t[4]=-(o*(h*g-p*m)-c*(u*g-l*m)+d*(u*p-l*h)),t[5]=n*(h*g-p*m)-c*(s*g-i*m)+d*(s*p-i*h),t[6]=-(n*(u*g-l*m)-o*(s*g-i*m)+d*(s*l-i*u)),t[7]=n*(u*p-l*h)-o*(s*p-i*h)+c*(s*l-i*u),t[8]=o*(f*g-p*y)-c*(a*g-l*y)+d*(a*p-l*f),t[9]=-(n*(f*g-p*y)-c*(r*g-i*y)+d*(r*p-i*f)),t[10]=n*(a*g-l*y)-o*(r*g-i*y)+d*(r*l-i*a),t[11]=-(n*(a*p-l*f)-o*(r*p-i*f)+c*(r*l-i*a)),t[12]=-(o*(f*m-h*y)-c*(a*m-u*y)+d*(a*h-u*f)),t[13]=n*(f*m-h*y)-c*(r*m-s*y)+d*(r*h-s*f),t[14]=-(n*(a*m-u*y)-o*(r*m-s*y)+d*(r*u-s*a)),t[15]=n*(a*h-u*f)-o*(r*h-s*f)+c*(r*u-s*a),t},copy:i,determinant:function(t){const e=t[0],n=t[1],r=t[2],s=t[3],i=t[4],o=t[5],a=t[6],u=t[7],l=t[8],c=t[9],f=t[10],h=t[11],p=t[12],d=t[13],y=t[14],m=t[15];return(e*o-n*i)*(f*m-h*y)-(e*a-r*i)*(c*m-h*d)+(e*u-s*i)*(c*y-f*d)+(n*a-r*o)*(l*m-h*p)-(n*u-s*o)*(l*y-f*p)+(r*u-s*a)*(l*d-c*p)},equals:C,exactEquals:P,frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2+t[9]**2+t[10]**2+t[11]**2+t[12]**2+t[13]**2+t[14]**2+t[15]**2)},fromQuat:function(t,e){const n=e[0],r=e[1],s=e[2],i=e[3],o=n+n,a=r+r,u=s+s,l=n*o,c=r*o,f=r*a,h=s*o,p=s*a,d=s*u,y=i*o,m=i*a,g=i*u;return t[0]=1-f-d,t[1]=c+g,t[2]=h-m,t[3]=0,t[4]=c-g,t[5]=1-l-d,t[6]=p+y,t[7]=0,t[8]=h+m,t[9]=p-y,t[10]=1-l-f,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromQuat2:function(t,e){const n=b,r=-e[0],s=-e[1],i=-e[2],o=e[3],a=e[4],u=e[5],l=e[6],c=e[7],f=r*r+s*s+i*i+o*o;return f>0?(n[0]=2*(a*o+c*r+u*i-l*s)/f,n[1]=2*(u*o+c*s+l*r-a*i)/f,n[2]=2*(l*o+c*i+a*s-u*r)/f):(n[0]=2*(a*o+c*r+u*i-l*s),n[1]=2*(u*o+c*s+l*r-a*i),n[2]=2*(l*o+c*i+a*s-u*r)),B(t,e,n),t},fromRotation:m,fromRotationTranslation:B,fromRotationTranslationScale:v,fromRotationTranslationScaleOrigin:E,fromScaling:function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=e[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromTranslation:y,fromXRotation:g,fromYRotation:function(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=0,t[2]=-n,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=n,t[9]=0,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:M,frustum:S,getRotation:w,getScale:T,getTranslation:x,hasIdentityRotation:O,identity:a,invert:l,invertOrIdentity:function(t,e){return l(t,e)||a(t),t},isOrthoNormal:I,lookAt:_,mul:k,multiply:c,multiplyScalar:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t[9]=e[9]*n,t[10]=e[10]*n,t[11]=e[11]*n,t[12]=e[12]*n,t[13]=e[13]*n,t[14]=e[14]*n,t[15]=e[15]*n,t},multiplyScalarAndAdd:function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t[9]=e[9]+n[9]*r,t[10]=e[10]+n[10]*r,t[11]=e[11]+n[11]*r,t[12]=e[12]+n[12]*r,t[13]=e[13]+n[13]*r,t[14]=e[14]+n[14]*r,t[15]=e[15]+n[15]*r,t},ortho:A,perspective:function(t,e,n,r,s){const i=1/Math.tan(e/2);let o;return t[0]=i/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=i,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=s&&s!==1/0?(o=1/(r-s),t[10]=(s+r)*o,t[14]=2*s*r*o):(t[10]=-1,t[14]=-2*r),t},perspectiveFromFieldOfView:function(t,e,n,r){const s=Math.tan(e.upDegrees*Math.PI/180),i=Math.tan(e.downDegrees*Math.PI/180),o=Math.tan(e.leftDegrees*Math.PI/180),a=Math.tan(e.rightDegrees*Math.PI/180),u=2/(o+a),l=2/(s+i);return t[0]=u,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=l,t[6]=0,t[7]=0,t[8]=-(o-a)*u*.5,t[9]=(s-i)*l*.5,t[10]=r/(n-r),t[11]=-1,t[12]=0,t[13]=0,t[14]=r*n/(n-r),t[15]=0,t},rotate:p,rotateX:d,rotateY:function(t,e,n){const r=Math.sin(n),s=Math.cos(n),i=e[0],o=e[1],a=e[2],u=e[3],l=e[8],c=e[9],f=e[10],h=e[11];return e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=i*s-l*r,t[1]=o*s-c*r,t[2]=a*s-f*r,t[3]=u*s-h*r,t[8]=i*r+l*s,t[9]=o*r+c*s,t[10]=a*r+f*s,t[11]=u*r+h*s,t},rotateZ:function(t,e,n){const r=Math.sin(n),s=Math.cos(n),i=e[0],o=e[1],a=e[2],u=e[3],l=e[4],c=e[5],f=e[6],h=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=i*s+l*r,t[1]=o*s+c*r,t[2]=a*s+f*r,t[3]=u*s+h*r,t[4]=l*s-i*r,t[5]=c*s-o*r,t[6]=f*s-a*r,t[7]=h*s-u*r,t},scale:h,set:o,str:function(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"},sub:j,subtract:R,targetTo:function(t,e,n,r){const s=e[0],i=e[1],o=e[2],a=r[0],u=r[1],l=r[2];let c=s-n[0],f=i-n[1],h=o-n[2],p=c*c+f*f+h*h;p>0&&(p=1/Math.sqrt(p),c*=p,f*=p,h*=p);let d=u*h-l*f,y=l*c-a*h,m=a*f-u*c;return p=d*d+y*y+m*m,p>0&&(p=1/Math.sqrt(p),d*=p,y*=p,m*=p),t[0]=d,t[1]=y,t[2]=m,t[3]=0,t[4]=f*m-h*y,t[5]=h*d-c*m,t[6]=c*y-f*d,t[7]=0,t[8]=c,t[9]=f,t[10]=h,t[11]=0,t[12]=s,t[13]=i,t[14]=o,t[15]=1,t},translate:f,transpose:u},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>E,Bw:()=>i,C:()=>o,Cc:()=>S,DI:()=>T,Il:()=>F,Io:()=>M,Ln:()=>g,Om:()=>v,Qr:()=>f,Re:()=>l,S8:()=>w,T9:()=>y,WQ:()=>u,Z0:()=>A,_S:()=>p,aI:()=>j,ei:()=>_,fw:()=>P,g7:()=>C,gL:()=>R,hG:()=>B,hZ:()=>a,hs:()=>m,jb:()=>Y,jk:()=>d,lo:()=>Z,lw:()=>c,m3:()=>b,oW:()=>q,t2:()=>k,tn:()=>h,uE:()=>z,xg:()=>L,ze:()=>x});var r=n(51850),s=n(34304);function i(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function l(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function h(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function p(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function d(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function y(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function m(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function g(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return Math.sqrt(n*n+r*r+s*s)}function B(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return n*n+r*r+s*s}function b(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function x(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function T(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function w(t,e){const n=e[0],r=e[1],s=e[2];let i=n*n+r*r+s*s;return i>0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i),t}function v(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function E(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2];return t[0]=s*u-i*a,t[1]=i*o-r*u,t[2]=r*a-s*o,t}function S(t,e,n,r){const s=e[0],i=e[1],o=e[2];return t[0]=s+r*(n[0]-s),t[1]=i+r*(n[1]-i),t[2]=o+r*(n[2]-o),t}function A(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=n[0]*r+n[4]*s+n[8]*i+n[12],t[1]=n[1]*r+n[5]*s+n[9]*i+n[13],t[2]=n[2]*r+n[6]*s+n[10]*i+n[14],t}function _(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=r*n[0]+s*n[3]+i*n[6],t[1]=r*n[1]+s*n[4]+i*n[7],t[2]=r*n[2]+s*n[5]+i*n[8],t}function R(t,e,n){return P(t,e,n[0],n[1],n[2],n[3])}function P(t,e,n,r,s,i){const o=e[0],a=e[1],u=e[2],l=r*u-s*a,c=s*o-n*u,f=n*a-r*o,h=r*f-s*c,p=s*l-n*f,d=n*c-r*l,y=2*i;return t[0]=o+l*y+2*h,t[1]=a+c*y+2*p,t[2]=u+f*y+2*d,t}function C(t,e){w(I,t),w(O,e);const n=v(I,O);return n>1?0:n<-1?Math.PI:Math.acos(n)}const I=(0,r.vt)(),O=(0,r.vt)();function k(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function j(t,e){if(t===e)return!0;const n=t[0],r=t[1],i=t[2],o=e[0],a=e[1],u=e[2],l=(0,s.FD)();return Math.abs(n-o)<=l*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-a)<=l*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-u)<=l*Math.max(1,Math.abs(i),Math.abs(u))}function q(t,e,n){const r=n[0]-e[0],s=n[1]-e[1],i=n[2]-e[2];let o=r*r+s*s+i*i;return o>0?(o=1/Math.sqrt(o),t[0]=r*o,t[1]=s*o,t[2]=i*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const Y=l,N=c,X=f,L=M,Z=B,F=i,z=b;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:u,angle:C,bezier:function(t,e,n,r,s,i){const o=1-i,a=o*o,u=i*i,l=a*o,c=3*i*a,f=3*u*o,h=u*i;return t[0]=e[0]*l+n[0]*c+r[0]*f+s[0]*h,t[1]=e[1]*l+n[1]*c+r[1]*f+s[1]*h,t[2]=e[2]*l+n[2]*c+r[2]*f+s[2]*h,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:o,cross:E,crossAndNormalize:function(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2],l=s*u-i*a,c=i*o-r*u,f=r*a-s*o,h=Math.sqrt(l*l+c*c+f*f);return t[0]=l/h,t[1]=c/h,t[2]=f/h,t},direction:q,dist:L,distance:M,div:X,divide:f,dot:v,equals:j,exactEquals:k,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,s,i){const o=i*i,a=o*(2*i-3)+1,u=o*(i-2)+i,l=o*(i-1),c=o*(3-2*i);return t[0]=e[0]*a+n[0]*u+r[0]*l+s[0]*c,t[1]=e[1]*a+n[1]*u+r[1]*l+s[1]*c,t[2]=e[2]*a+n[2]*u+r[2]*l+s[2]*c,t},inverse:T,len:F,length:i,lerp:S,max:y,min:d,mul:N,multiply:c,negate:x,normalize:w,random:function(t,e=1){const n=s.Ov,r=2*n()*Math.PI,i=2*n()-1,o=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(r)*o,t[1]=Math.sin(r)*o,t[2]=i*e,t},rotateX:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0],i[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),i[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateY:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),i[1]=s[1],i[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateZ:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),i[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),i[2]=s[2],t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:m,scaleAndAdd:g,set:a,sign:p,sqrDist:Z,sqrLen:z,squaredDistance:B,squaredLength:b,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:Y,subtract:l,transformMat3:_,transformMat4:A,transformQuat:R,transformQuatValues:P},Symbol.toStringTag,{value:"Module"}))},78955(t,e,n){n.d(e,{Bw:()=>m,C:()=>s,Cc:()=>b,LI:()=>h,Om:()=>B,S8:()=>M,T9:()=>f,WQ:()=>o,Z0:()=>x,aI:()=>w,hG:()=>y,hZ:()=>i,hs:()=>p,jk:()=>c,m3:()=>g,t2:()=>T});var r=n(34304);function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function i(t,e,n,r,s){return t[0]=e,t[1]=n,t[2]=r,t[3]=s,t}function o(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t}function a(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t}function u(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t[3]=e[3]*n[3],t}function l(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t[3]=e[3]/n[3],t}function c(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t[3]=Math.min(e[3],n[3]),t}function f(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t[3]=Math.max(e[3],n[3]),t}function h(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t[3]=Math.round(e[3]),t}function p(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t}function d(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2],i=e[3]-t[3];return Math.sqrt(n*n+r*r+s*s+i*i)}function y(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2],i=e[3]-t[3];return n*n+r*r+s*s+i*i}function m(t){const e=t[0],n=t[1],r=t[2],s=t[3];return Math.sqrt(e*e+n*n+r*r+s*s)}function g(t){const e=t[0],n=t[1],r=t[2],s=t[3];return e*e+n*n+r*r+s*s}function M(t,e){const n=e[0],r=e[1],s=e[2],i=e[3];let o=n*n+r*r+s*s+i*i;return o>0&&(o=1/Math.sqrt(o),t[0]=n*o,t[1]=r*o,t[2]=s*o,t[3]=i*o),t}function B(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function b(t,e,n,r){const s=e[0],i=e[1],o=e[2],a=e[3];return t[0]=s+r*(n[0]-s),t[1]=i+r*(n[1]-i),t[2]=o+r*(n[2]-o),t[3]=a+r*(n[3]-a),t}function x(t,e,n){const r=e[0],s=e[1],i=e[2],o=e[3];return t[0]=n[0]*r+n[4]*s+n[8]*i+n[12]*o,t[1]=n[1]*r+n[5]*s+n[9]*i+n[13]*o,t[2]=n[2]*r+n[6]*s+n[10]*i+n[14]*o,t[3]=n[3]*r+n[7]*s+n[11]*i+n[15]*o,t}function T(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}function w(t,e){const n=t[0],s=t[1],i=t[2],o=t[3],a=e[0],u=e[1],l=e[2],c=e[3],f=(0,r.FD)();return Math.abs(n-a)<=f*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(s-u)<=f*Math.max(1,Math.abs(s),Math.abs(u))&&Math.abs(i-l)<=f*Math.max(1,Math.abs(i),Math.abs(l))&&Math.abs(o-c)<=f*Math.max(1,Math.abs(o),Math.abs(c))}const v=a,E=u,S=l,A=d,_=y,R=m,P=g;Object.freeze(Object.defineProperty({__proto__:null,add:o,ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t[3]=Math.ceil(e[3]),t},copy:s,copyVec3:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t},dist:A,distance:d,div:S,divide:l,dot:B,equals:w,exactEquals:T,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t[3]=Math.floor(e[3]),t},inverse:function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t},len:R,length:m,lerp:b,max:f,min:c,mul:E,multiply:u,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t},normalize:M,random:function(t,e=1){const n=r.Ov;let s,i,o,a,u,l;do{s=2*n()-1,i=2*n()-1,u=s*s+i*i}while(u>=1);do{o=2*n()-1,a=2*n()-1,l=o*o+a*a}while(l>=1);const c=Math.sqrt((1-u)/l);return t[0]=e*s,t[1]=e*i,t[2]=e*o*c,t[3]=e*a*c,t},round:h,scale:p,scaleAndAdd:function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t},set:i,sqrDist:_,sqrLen:P,squaredDistance:y,squaredLength:g,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:v,subtract:a,transformMat4:x,transformQuat:function(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2],l=n[3],c=l*r+a*i-u*s,f=l*s+u*r-o*i,h=l*i+o*s-a*r,p=-o*r-a*s-u*i;return t[0]=c*l+p*-o+f*-u-h*-a,t[1]=f*l+p*-a+h*-o-c*-u,t[2]=h*l+p*-u+c*-a-f*-o,t[3]=e[3],t}},Symbol.toStringTag,{value:"Module"}))},75503(t,e,n){n.d(e,{wq:()=>a});var r=n(4576),s=n(21818),i=(n(44208),n(15142)),o=n(11006);class a{constructor(t=9,e){this._compareMinX=h,this._compareMinY=p,this._toBBox=t=>t,this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&("function"==typeof e?this._toBBox=e:this._initFormat(e)),this.clear()}destroy(){this.clear(),x.prune(),T.prune(),w.prune(),v.prune()}all(t){u(this._data,t)}search(t,e){let n=this._data;const r=this._toBBox;if(B(t,n))for(x.clear();n;){for(let s=0,i=n.children.length;s<i;s++){const i=n.children[s],o=n.leaf?r(i):i;B(t,o)&&(n.leaf?e(i):M(t,o)?u(i,e):x.push(i))}n=x.pop()}}collides(t){let e=this._data;const n=this._toBBox;if(!B(t,e))return!1;for(x.clear();e;){for(let r=0,s=e.children.length;r<s;r++){const s=e.children[r],i=e.leaf?n(s):s;if(B(t,i)){if(e.leaf||M(t,i))return!0;x.push(s)}}e=x.pop()}return!1}load(t){if(!t.length)return this;if(t.length<this._minEntries){for(let e=0,n=t.length;e<n;e++)this.insert(t[e]);return this}let e=this._build(t.slice(),0,t.length-1,0);if(this._data.children.length)if(this._data.height===e.height)this._splitRoot(this._data,e);else{if(this._data.height<e.height){const t=this._data;this._data=e,e=t}this._insert(e,this._data.height-e.height-1,!0)}else this._data=e;return this}insert(t){return t&&this._insert(t,this._data.height-1),this}clear(){return this._data=new A([]),this}remove(t){if(!t)return this;let e,n=this._data,i=null,o=0,a=!1;const u=this._toBBox(t);for(w.clear(),v.clear();n||w.length>0;){if(n||(n=w.pop(),i=w.data[w.length-1],o=v.pop()??0,a=!0),n.leaf&&(e=(0,r.qh)(n.children,(0,s.z)(t),n.children.length,n.indexHint),-1!==e))return n.children.splice(e,1),w.push(n),this._condense(w),this;a||n.leaf||!M(n,u)?i?(o++,n=i.children[o],a=!1):n=null:(w.push(n),v.push(o),o=0,i=n,n=n.children[0])}return this}toJSON(){return this._data}fromJSON(t){return this._data=t,this}_build(t,e,n,r){const s=n-e+1;let i=this._maxEntries;if(s<=i){const r=new A(t.slice(e,n+1));return l(r,this._toBBox),r}r||(r=Math.ceil(Math.log(s)/Math.log(i)),i=Math.ceil(s/i**(r-1)));const o=new _([]);o.height=r;const a=Math.ceil(s/i),u=a*Math.ceil(Math.sqrt(i));b(t,e,n,u,this._compareMinX);for(let s=e;s<=n;s+=u){const e=Math.min(s+u-1,n);b(t,s,e,a,this._compareMinY);for(let n=s;n<=e;n+=a){const s=Math.min(n+a-1,e);o.children.push(this._build(t,n,s,r-1))}}return l(o,this._toBBox),o}_insert(t,e,n){const r=this._toBBox,s=n?t:r(t);w.clear();const i=function(t,e,n,r){for(;r.push(e),!0!==e.leaf&&r.length-1!==n;){let n,r=1/0,s=1/0;for(let i=0,o=e.children.length;i<o;i++){const o=e.children[i],a=d(o),u=m(t,o)-a;u<s?(s=u,r=a<r?a:r,n=o):u===s&&a<r&&(r=a,n=o)}e=n||e.children[0]}return e}(s,this._data,e,w);for(i.children.push(t),f(i,s);e>=0&&w.data[e].children.length>this._maxEntries;)this._split(w,e),e--;!function(t,e,n){for(let r=n;r>=0;r--)f(e.data[r],t)}(s,w,e)}_split(t,e){const n=t.data[e],r=n.children.length,s=this._minEntries;this._chooseSplitAxis(n,s,r);const i=this._chooseSplitIndex(n,s,r);if(!i)return;const o=n.children.splice(i,n.children.length-i),a=n.leaf?new A(o):new _(o);a.height=n.height,l(n,this._toBBox),l(a,this._toBBox),e?t.data[e-1].children.push(a):this._splitRoot(n,a)}_splitRoot(t,e){this._data=new _([t,e]),this._data.height=t.height+1,l(this._data,this._toBBox)}_chooseSplitIndex(t,e,n){let r,s,i;r=s=1/0;for(let o=e;o<=n-e;o++){const e=c(t,0,o,this._toBBox),a=c(t,o,n,this._toBBox),u=g(e,a),l=d(e)+d(a);u<r?(r=u,i=o,s=l<s?l:s):u===r&&l<s&&(s=l,i=o)}return i}_chooseSplitAxis(t,e,n){const r=t.leaf?this._compareMinX:h,s=t.leaf?this._compareMinY:p;this._allDistMargin(t,e,n,r)<this._allDistMargin(t,e,n,s)&&t.children.sort(r)}_allDistMargin(t,e,n,r){t.children.sort(r);const s=this._toBBox,i=c(t,0,e,s),o=c(t,n-e,n,s);let a=y(i)+y(o);for(let r=e;r<n-e;r++){const e=t.children[r];f(i,t.leaf?s(e):e),a+=y(i)}for(let r=n-e-1;r>=e;r--){const e=t.children[r];f(o,t.leaf?s(e):e),a+=y(o)}return a}_condense(t){for(let e=t.length-1;e>=0;e--){const n=t.data[e];if(0===n.children.length)if(e>0){const s=t.data[e-1],i=s.children;i.splice((0,r.qh)(i,n,i.length,s.indexHint),1)}else this.clear();else l(n,this._toBBox)}}_initFormat(t){const e=["return a"," - b",";"];this._compareMinX=new Function("a","b",e.join(t[0])),this._compareMinY=new Function("a","b",e.join(t[1])),this._toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}function u(t,e){let n=t;for(T.clear();n;){if(!0===n.leaf)for(const t of n.children)e((0,s.z)(t));else T.pushArray(n.children);n=T.pop()??null}}function l(t,e){c(t,0,t.children.length,e,t)}function c(t,e,n,r,s){s||(s=new A([])),s.minX=1/0,s.minY=1/0,s.maxX=-1/0,s.maxY=-1/0;for(let i,o=e;o<n;o++)i=t.children[o],f(s,t.leaf?r(i):i);return s}function f(t,e){t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY)}function h(t,e){return t.minX-e.minX}function p(t,e){return t.minY-e.minY}function d(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function y(t){return t.maxX-t.minX+(t.maxY-t.minY)}function m(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}function g(t,e){const n=Math.max(t.minX,e.minX),r=Math.max(t.minY,e.minY),s=Math.min(t.maxX,e.maxX),i=Math.min(t.maxY,e.maxY);return Math.max(0,s-n)*Math.max(0,i-r)}function M(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function B(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function b(t,e,n,r,s){const i=[e,n];for(;i.length;){const e=i.pop(),n=i.pop();if(e-n<=r)continue;const a=n+Math.ceil((e-n)/r/2)*r;(0,o.q)(t,a,n,e,s),i.push(n,a,a,e)}}const x=new i.A,T=new i.A,w=new i.A,v=new i.A({deallocator:void 0});class E{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class S extends E{constructor(){super(...arguments),this.height=1,this.indexHint=new r.vW}}class A extends S{constructor(t){super(),this.children=t,this.leaf=!0}}class _ extends S{constructor(t){super(),this.children=t,this.leaf=!1}}},48526(t,e,n){n.d(e,{A:()=>m});var r,s=n(5482),i=n(4576),o=n(4718),a=n(91429),u=n(5443),l=n(91075),c=n(86738),f=n(16930),h=n(90634),p=n(47610),d=n(56993),y=n(43937);let m=r=class extends l.A{constructor(t){super(function(t){if(!t)return;let{points:e,hasM:n,hasZ:r,spatialReference:s}=t;switch(e??=[],e?.at(0)?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return s??=f.A.WGS84,{...t,hasM:n,hasZ:r,points:e,spatialReference:s}}(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,h.ge)(this);return t?new u.A({...t,spatialReference:this.spatialReference}):null}writePoints(t,e){e.points=(0,o.o8)(this.points)}clone(){const{points:t,spatialReference:e,hasM:n,hasZ:s}=this;return new r({points:(0,o.o8)(t),spatialReference:e.clone(),hasM:n,hasZ:s})}equals(t){if(this===t)return!0;if(null==t)return!1;const e=this.spatialReference,n=t.spatialReference;return null!=e==(null!=n)&&!(null!=e&&null!=n&&!e.equals(n))&&(0,i.aI)(this.points,t.points,p.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],n={x:e[0],y:e[1],spatialReference:this.spatialReference};let r=2;return this.hasZ&&(n.z=e[2],r=3),this.hasM&&(n.m=e[r]),new c.A(n)}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,s.Cg)([(0,a.MZ)({readOnly:!0})],m.prototype,"cache",null),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],m.prototype,"extent",null),(0,s.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],m.prototype,"points",void 0),(0,s.Cg)([(0,y.K)("points")],m.prototype,"writePoints",null),m=r=(0,s.Cg)([(0,a.$K)("esri.geometry.Multipoint")],m),m.prototype.toJSON.isDefaultToJSON=!0},82799(t,e,n){n.d(e,{A:()=>d});var r,s=n(5482),i=n(4718),o=n(91429),a=n(5443),u=n(91075),l=n(86738),c=n(16930),f=n(90634),h=n(56993),p=n(43937);let d=r=class extends u.A{constructor(t){super(function(t){if(!t)return;let{paths:e,hasM:n,hasZ:r,spatialReference:s}=t;switch(e??=[],function(t){return"number"==typeof t[0]?.[0]}(e)&&(e=[e]),e[0]?.[0]?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return s??=c.A.WGS84,{...t,hasM:n,hasZ:r,paths:e,spatialReference:s}}(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,i.o8)(t)}get extent(){const t=(0,f.Z3)(this),{spatialReference:e}=this;return t?new a.A({...t,spatialReference:e}):null}writePaths(t,e){e.paths=(0,i.o8)(this.paths)}addPath(t){if(!t)return;const e=this.paths,n=e.length;if(function(t){return!Array.isArray(t[0])}(t)){const r=[];for(let e=0,n=t.length;e<n;e++)r[e]=t[e].toArray();e[n]=r}else e[n]=t.slice();return this.notifyChange("paths"),this}clone(){const t=new r;return t.spatialReference=this.spatialReference,t.paths=(0,i.o8)(this.paths),t.curvePaths=(0,i.o8)(this.curvePaths),t.hasZ=this.hasZ,t.hasM=this.hasM,t}getPoint(t,e){if(!this._validateInputs(t,e))return null;const n=this.paths[t][e],r=this.hasZ,s=this.hasM;return r&&!s?new l.A(n[0],n[1],n[2],void 0,this.spatialReference):s&&!r?new l.A(n[0],n[1],void 0,n[2],this.spatialReference):r&&s?new l.A(n[0],n[1],n[2],n[3],this.spatialReference):new l.A(n[0],n[1],this.spatialReference)}insertPoint(t,e,n){return this._validateInputs(t,e,!0)?((0,h.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[t].splice(e,0,n),this.notifyChange("paths"),this):this}removePath(t){if(!this._validateInputs(t,null))return null;const e=this.paths.splice(t,1)[0],n=this.spatialReference,r=e.map(t=>new l.A(t,n));return this.notifyChange("paths"),r}removePoint(t,e){if(!this._validateInputs(t,e))return null;const n=new l.A(this.paths[t].splice(e,1)[0],this.spatialReference);return this.notifyChange("paths"),n}setPoint(t,e,n){return this._validateInputs(t,e)?((0,h.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[t][e]=n,this.notifyChange("paths"),this):this}_validateInputs(t,e,n=!1){if(null==t||t<0||t>=this.paths.length)return!1;if(null!=e){const r=this.paths[t];if(n&&(e<0||e>r.length))return!1;if(!n&&(e<0||e>=r.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,s.Cg)([(0,o.MZ)({readOnly:!0})],d.prototype,"cache",null),(0,s.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,s.Cg)([(0,p.K)("curvePaths")],d.prototype,"writeCurvePaths",null),(0,s.Cg)([(0,o.MZ)({readOnly:!0})],d.prototype,"extent",null),(0,s.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],d.prototype,"paths",void 0),(0,s.Cg)([(0,p.K)("paths")],d.prototype,"writePaths",null),d=r=(0,s.Cg)([(0,o.$K)("esri.geometry.Polyline")],d),d.prototype.toJSON.isDefaultToJSON=!0},159(t,e,n){n.d(e,{A:()=>l});var r,s=n(5482),i=n(69540),o=n(25482),a=n(91429),u=n(99157);let l=r=class extends((0,i.OU)(o.o)){constructor(t){super(t),this.steps=[]}getInverse(){const t=new r;for(let e=this.steps.length-1;e>=0;e--){const n=this.steps[e];t.steps.push(n.getInverse())}return t}};(0,s.Cg)([(0,a.MZ)({type:[u.A],nonNullable:!0,json:{name:"geoTransforms"}})],l.prototype,"steps",void 0),l=r=(0,s.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformation")],l)},99157(t,e,n){n.d(e,{A:()=>u});var r,s=n(5482),i=n(69540),o=n(25482),a=n(91429);let u=r=class extends((0,i.OU)(o.o)){constructor(t){super(t),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,s.Cg)([(0,a.MZ)({json:{name:"transformForward",read:t=>!t,write:(t,e,n)=>{e[n]=!t}}})],u.prototype,"isInverse",void 0),(0,s.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"wkt",void 0),(0,s.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"wkid",void 0),u=r=(0,s.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformationStep")],u)},48353(t,e,n){n.d(e,{l:()=>l});var r=n(34727),s=n(58083),i=n(51850);function o(t,e,n){const r=Math.sin(t),s=Math.cos(t),i=Math.sin(e),o=Math.cos(e),a=n;return a[0]=-r,a[4]=-i*s,a[8]=o*s,a[12]=0,a[1]=s,a[5]=-i*r,a[9]=o*r,a[13]=0,a[2]=0,a[6]=o,a[10]=i,a[14]=0,a[3]=0,a[7]=0,a[11]=0,a[15]=1,a}var a=n(49208),u=n(21325);function l(t,e,n,r){const i=(0,a.Tp)(t,r);if(null==i)return!1;const l=i.source.spatialReferenceId,d=i.dest.spatialReferenceId;if(l===d&&!c(d)&&(0!==l||(0,u.aI)(t,r)))return(0,s.kN)(n,e),!0;if(c(d)){const t=a.w5[l][10],r=a.w5[10][d];return null!=t&&null!=r&&(t(e,0,h,0),r(h,0,p,0),o(f*h[0],f*h[1],n),n[12]=p[0],n[13]=p[1],n[14]=p[2],!0)}const y=c(l);if((3===d||11===d||2===d||5===d)&&(2===l||y||3===l||5===l)){const t=a.w5[l][10],r=a.w5[10][d];return null!=t&&null!=r&&(t(e,0,h,0),r(h,0,p,0),y?function(t,e,n){o(t,e,n),(0,s.mg)(n,n)}(f*h[0],f*h[1],n):(0,s.D_)(n),n[12]=p[0],n[13]=p[1],n[14]=p[2],!0)}return!1}function c(t){return 1===t||6===t||8===t||4===t}const f=(0,r.kU)(1),h=(0,i.vt)(),p=(0,i.vt)()},9762(t,e,n){n.r(e),n.d(e,{projectBuffer:()=>s});var r=n(49208);function s(t,e,n,s,i,o,a=Math.floor(t.length/3)){const u=(0,r.jd)(e,i);if(null==u)return!1;if(u===r.pO){if(t===s&&n===o)return!0;const e=n+3*a;for(let r=n,i=o;r<e;r++,i++)s[i]=t[r]??0;return!0}const l=n+3*a;for(let e=n,r=o;e<l;e+=3,r+=3)u(t,e,s,r);return!0}},65806(t,e,n){n.d(e,{g:()=>o});var r=n(51850),s=n(91218),i=n(9762);function o(t,e,n,r){if((0,s.canProjectWithoutEngine)(t.spatialReference,n))return a[0]=t.x,a[1]=t.y,a[2]=t.z??0,(0,i.projectBuffer)(a,t.spatialReference,0,e,n,0);const o=(0,s.tryProject)(t,n,r);return!!o&&(e[0]=o.x,e[1]=o.y,e[2]=o.z??0,!0)}const a=(0,r.vt)()},49208(t,e,n){n.d(e,{Tp:()=>f,jd:()=>c,pO:()=>p,w5:()=>l});var r=n(34727),s=n(86211),i=n(73941),o=n(79258),a=n(34403),u=n(21325);const l={2:{5:p,7:null,9:null,10:p,1:x,6:null,8:null,0:null,3:y,11:m,2:p,4:S},5:{5:p,7:null,9:null,10:p,1:x,6:null,8:null,0:null,3:y,11:m,2:p,4:S},7:{5:null,7:p,9:null,10:p,1:null,6:b,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:p,10:p,1:null,6:null,8:B,0:null,3:null,11:null,2:null,4:null},3:{5:d,7:null,9:null,10:d,1:function(t,e,n,r){const s=t[e]/I,i=C-2*Math.atan(Math.exp(-t[e+1]/I)),o=I+(t[e+2]??0),a=Math.cos(i)*o;n[r]=Math.cos(s)*a,n[r+1]=Math.sin(s)*a,n[r+2]=Math.sin(i)*o},6:null,8:null,0:null,3:p,11:function(t,e,n,r){d(t,e,n,r),m(n,r,n,r)},2:d,4:function(t,e,n,r){d(t,e,n,r),S(n,r,n,r)}},4:{5:A,7:null,9:null,10:A,1:function(t,e,n,r){A(t,e,n,r),x(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){A(t,e,n,r),y(n,r,n,r)},11:function(t,e,n,r){A(t,e,n,r),m(n,r,n,r)},2:A,4:p},1:{5:E,7:null,9:null,10:E,1:p,6:null,8:null,0:null,3:function(t,e,n,r){E(t,e,n,r),y(n,r,n,r)},11:function(t,e,n,r){E(t,e,n,r),m(n,r,n,r)},2:E,4:function(t,e,n,r){E(t,e,n,r),S(n,r,n,r)}},6:{5:null,7:v,9:null,10:v,1:null,6:p,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:w,10:w,1:null,6:null,8:p,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:p,3:null,11:null,2:null,4:null},10:{5:p,7:p,9:p,10:p,1:x,6:b,8:B,0:null,3:y,11:m,2:p,4:S},11:{5:g,7:null,9:null,10:g,1:function(t,e,n,r){g(t,e,n,r),x(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){g(t,e,n,r),y(n,r,n,r)},11:p,2:g,4:function(t,e,n,r){g(t,e,n,r),S(n,r,n,r)}}};function c(t,e){return f(t,e)?.projector}function f(t,e){if(null==t||null==e)return null;if(_.source.spatialReference===t&&_.dest.spatialReference===e)return _;const n=h(t,_.source),r=h(e,_.dest);return 0===n&&0===r?(0,u.aI)(t,e)?_.projector=p:_.projector=null:_.projector=l[n][r],_}function h(t,e){return t?e.spatialReference===t?e.spatialReferenceId:(e.spatialReference=t,"metersPerUnit"in e&&(e.metersPerUnit=(0,s.GA)(t,1)),(0,i.jA)(t)?e.spatialReferenceId=1:(0,u.oT)(t)?e.spatialReferenceId=2:(0,u.K8)(t)?e.spatialReferenceId=3:(0,u.r1)(t)?e.spatialReferenceId=11:t.wkt===i.Ro.wkt?e.spatialReferenceId=4:4490===t.wkid?e.spatialReferenceId=5:t.wkt===i.FY.wkt?e.spatialReferenceId=6:t.wkt===i.LJ.wkt?e.spatialReferenceId=8:(0,i.q8)(t)?e.spatialReferenceId=7:(0,i.KQ)(t)?e.spatialReferenceId=9:e.spatialReferenceId=0):0}function p(t,e,n,r){t!==n&&(n[r++]=t[e++],n[r++]=t[e++],n[r]=t[e]??0)}function d(t,e,n,r){n[r]=P*(t[e]/I),n[r+1]=P*(C-2*Math.atan(Math.exp(-t[e+1]/I))),n[r+2]=t[e+2]??0}function y(t,e,n,s){!function(t,e,n,s,i){const o=.4999999*Math.PI,a=(0,r.qE)(R*t[e+1],-o,o),u=Math.sin(a);n[s++]=R*t[e]*i.radius,n[s++]=i.halfSemiMajorAxis*Math.log((1+u)/(1-u)),n[s]=t[e+2]??0}(t,e,n,s,o.$O)}function m(t,e,n,r){n[r]=t[e]*O,n[r+1]=t[e+1]*O,n[r+2]=t[e+2]??0}function g(t,e,n,r){n[r]=t[e]*k,n[r+1]=t[e+1]*k,n[r+2]=t[e+2]??0}function M(t,e,n,r,s){const i=s+(t[e+2]??0),o=R*t[e],a=R*t[e+1],u=Math.cos(a)*i;n[r]=Math.cos(o)*u,n[r+1]=Math.sin(o)*u,n[r+2]=Math.sin(a)*i}function B(t,e,n,r){M(t,e,n,r,o.Sw.radius)}function b(t,e,n,r){M(t,e,n,r,o.sH.radius)}function x(t,e,n,r){M(t,e,n,r,o.$O.radius)}function T(t,e,n,s,i){const o=t[e],a=t[e+1],u=t[e+2]??0,l=Math.sqrt(o*o+a*a+u*u),c=(0,r.YN)(u/(0===l?1:l)),f=Math.atan2(a,o);n[s++]=P*f,n[s++]=P*c,n[s]=l-i}function w(t,e,n,r){T(t,e,n,r,o.Sw.radius)}function v(t,e,n,r){T(t,e,n,r,o.sH.radius)}function E(t,e,n,r){T(t,e,n,r,o.$O.radius)}function S(t,e,n,r){!function(t,e,n,r,s){const i=R*t[e],o=R*t[e+1],a=t[e+2]??0,u=Math.sin(o),l=Math.cos(o),c=s.radius/Math.sqrt(1-s.eccentricitySquared*u*u);n[r++]=(c+a)*l*Math.cos(i),n[r++]=(c+a)*l*Math.sin(i),n[r++]=(c*(1-s.eccentricitySquared)+a)*u}(t,e,n,r,o.$O)}function A(t,e,n,r){const s=a.TP,i=t[e],u=t[e+1],l=t[e+2]??0;let c,f,h,p,d,y,m,g,M,B,b,x,T,w,v,E,S,A,_,R,C;c=Math.abs(l),f=i*i+u*u,h=Math.sqrt(f),p=f+l*l,d=Math.sqrt(p),R=Math.atan2(u,i),y=l*l/p,m=f/p,w=s.a2/d,v=s.a3-s.a4/d,m>.3?(g=c/d*(1+m*(s.a1+w+y*v)/d),_=Math.asin(g),B=g*g,M=Math.sqrt(1-B)):(M=h/d*(1-y*(s.a5-w-m*v)/d),_=Math.acos(M),B=1-M*M,g=Math.sqrt(B)),b=1-o.$O.eccentricitySquared*B,x=o.$O.radius/Math.sqrt(b),T=s.a6*x,w=h-x*M,v=c-T*g,S=M*w+g*v,E=M*v-g*w,A=E/(T/b+S),_+=A,C=S+E*A/2,l<0&&(_=-_),n[r++]=P*R,n[r++]=P*_,n[r]=C}const _={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:p},R=(0,r.kU)(1),P=(0,r.KJ)(1),C=.5*Math.PI,I=o.$O.radius,O=I*Math.PI/180,k=180/(I*Math.PI)},91218(t,e,n){n.r(e),n.d(e,{canProjectWithoutEngine:()=>D,initializeProjection:()=>G,isEqualBaseGCS:()=>$,isLoaded:()=>I,isLoadedOrLoad:()=>O,isLoadedOrLoadFor:()=>k,load:()=>q,project:()=>Y,projectAsync:()=>V,projectExtent:()=>st,projectMany:()=>N,projectMultipoint:()=>H,projectOrLoad:()=>L,projectOrLoadMany:()=>Z,projectPoint:()=>K,projectPolygon:()=>nt,projectPolyline:()=>tt,projectWithoutEngine:()=>W,requiresLoad:()=>j,test:()=>U,tryProject:()=>X,unload:()=>z});var r=n(49186),s=n(17676),i=n(62788),o=n(95488),a=n(51850),u=n(21276),l=n(73941),c=n(5443),f=n(91075),h=n(48526),p=n(86738),d=n(39829),y=n(82799),m=n(16930),g=n(98764),M=n(159),B=n(9762),b=n(49208);function x(t,e,n,r,s,i){return T[0]=t,T[1]=e,T[2]=n,(0,B.projectBuffer)(T,r,0,s,i,0)}const T=(0,a.vt)();var w=n(60408),v=n(21325),E=n(52006);let S=null,A=null,_=null,R=null,P={};const C=new o.I;function I(){return!!(A?.isLoaded()&&_?.isLoaded()&&R?.isLoaded())}function O(){return!!I()||((0,i.gc)(C),q(),!1)}function k(t,e){return!t||!e||D(t,e)||O()}function j(t,e){return!D(t,e)&&!I()}async function q(t){null==S&&(S=Promise.all([n.e(3276).then(n.bind(n,83276)).then(t=>(A=t,A.load())),n.e(8377).then(n.bind(n,8377)).then(t=>(_=t,_.load())),n.e(2158).then(n.bind(n,12158)).then(t=>(R=t,R.load()))])),await S,(0,s.Te)(t),C.notify()}function Y(t,e,n){return Array.isArray(t)?0===t.length?[]:((0,u.H)(t),N(t,t[0].spatialReference,e,n)):((0,u.f)(t),N([t],t.spatialReference,e,n)[0])}function N(t,e,n,r){if(null==e||null==n)return t;if(D(e,n,r))return t.map(t=>W(t,e,n));if(null==r?.geographicTransformation&&(0,l.jA)(e))return N(t.map(t=>W(t,e,m.A.WGS84)),m.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,l.jA)(n))return N(t,e,m.A.WGS84).map(t=>W(t,m.A.WGS84,n));if(!I())throw new F;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:R.getTransformation(e,n,r.areaOfInterestExtent)||new M.A};else if(!r?.areaOfInterestExtent){const t=function(t,e){return[t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??"",e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??""].join()}(e,n);let s=P[t];s||(s=R.getTransformation(e,n)||new M.A,P[t]=s),r={geographicTransformation:s,zConversionDisabled:r?.zConversionDisabled}}return t[0].spatialReference||(t[0].spatialReference=e),t[0]instanceof f.A?A.executeMany(t,n,r):_.executeMany(t,n,r)}function X(t,e,n){try{return Y(t,e,n)}catch(t){return null}}function L(t,e){const n=Z([t],e);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function Z(t,e,n){if(!I())for(const n of t)if(null!=n&&!(0,v.aI)(n.spatialReference,e)&&(0,v.fn)(n.spatialReference)&&(0,v.fn)(e)&&!D(n.spatialReference,e))return(0,i.gc)(C),{pending:q(),geometries:null};return{pending:null,geometries:t.map(t=>null==t?null:(0,v.aI)(t.spatialReference,e)?t:(0,v.fn)(t.spatialReference)&&(0,v.fn)(e)?Y(t,e,n):null)}}class F extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function z(){S=null,A=null,_=null,R=null,P={}}const U={get loadPromise(){return S}};async function V(t,e,n){if((0,s.Te)(n),!t)return t;const r=Z(Array.isArray(t)?t:[t],e,n);if(r.pending)return await r.pending,(0,s.Te)(n),V(t,e,n);const i=r.geometries??[];return Array.isArray(t)?i:i[0]}function D(t,e,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,v.aI)(t,e)||(0,v.fn)(t)&&(0,v.fn)(e)&&!!(0,b.jd)(t,e))}function $(t,e){if((0,v.aI)(t,e))return!0;if(!(0,v.fn)(t)||!(0,v.fn)(e))return!1;const n=(0,v.oT)(t)||(0,v.K8)(t)||(0,v.x1)(t),r=(0,v.oT)(e)||(0,v.K8)(e)||(0,v.x1)(e);return n&&r}async function G(t,e,n,r){if(I())return(0,s.NO)(r);if(Array.isArray(t)){for(const{source:e,dest:n,options:s}of t)if(e&&n&&!D(e,n,s))return q(r)}else if(t&&e&&!D(t,e,n))return q(r);return(0,s.NO)(r)}function W(t,e,n){return t?(0,w.fT)(t)?J(t,e,new p.A,n,0):(0,w.ZC)(t)?it(t,e,new c.A,n,0):(0,w.Bi)(t)?rt(t,e,new d.A,n,0):(0,w.Rg)(t)?et(t,e,new y.A,n,0):(0,w.U9)(t)?Q(t,e,new h.A,n,0):null:null}function K(t,e,n=e.spatialReference,r=0){return null!=n&&null!=t.spatialReference&&null!=J(t,t.spatialReference,e,n,r)}function J(t,e,n,r,s){lt[0]=t.x,lt[1]=t.y;const i=t.z;return lt[2]=void 0!==i?i:s,(0,B.projectBuffer)(lt,e,0,lt,r,0)?(n.x=lt[0],n.y=lt[1],n.spatialReference=r,void 0!==i||(0,l.xP)(r)?(n.z=lt[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===t.m?(n.m=void 0,n.hasM=!1):(n.m=t.m,n.hasM=!0),n):null}function H(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=Q(t,t.spatialReference,e,n,r)}function Q(t,e,n,r,s){const{points:i,hasZ:o,hasM:a}=t,u=[],l=i.length,c=[];for(const t of i)c.push(t[0],t[1],o?t[2]:s);if(!(0,B.projectBuffer)(c,e,0,c,r,0,l))return null;const f=ut(o,r);for(let t=0;t<l;++t){const e=3*t,n=c[e],r=c[e+1];f&&a?u.push([n,r,c[e+2],i[t][3]]):f?u.push([n,r,c[e+2]]):a?u.push([n,r,i[t][2]]):u.push([n,r])}return n.points=u,n.spatialReference=r,n.hasZ=o,n.hasM=a,n}function tt(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=et(t,t.spatialReference,e,n,r)}function et(t,e,n,r,s){const{curvePaths:i,paths:o,hasZ:a,hasM:u}=t;if(!(i?at(i,a??!1,u??!1,e,n.curvePaths=[],r,s):ot(o,a??!1,u??!1,e,n.paths,r,s)))return null;const l=ut(a,r);return n.spatialReference=r,n.hasZ=l,n.hasM=u,n}function nt(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=rt(t,t.spatialReference,e,n,r)}function rt(t,e,n,r,s){const{curveRings:i,rings:o,hasZ:a,hasM:u}=t;return(i?at(i,a??!1,u??!1,e,n.curveRings=[],r,s):ot(o,a??!1,u??!1,e,n.rings,r,s))?(n.spatialReference=r,n.hasZ=ut(a,r),n.hasM=u,n):null}function st(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=it(t,t.spatialReference,e,n,r)}function it(t,e,n,r,s){const{xmin:i,ymin:o,xmax:a,ymax:u,hasZ:l,hasM:c}=t;if(!x(i,o,l?t.zmin:s,e,lt,r))return null;const f=ut(l,r);return n.xmin=lt[0],n.ymin=lt[1],f&&(n.zmin=lt[2]),x(a,u,l?t.zmax:s,e,lt,r)?(n.xmax=lt[0],n.ymax=lt[1],f&&(n.zmax=lt[2]),c&&(n.mmin=t.mmin,n.mmax=t.mmax),n.spatialReference=r,n):null}function ot(t,e,n,r,s,i,o=0){const a=new Array;for(const n of t)for(const t of n)a.push(t[0],t[1],e?t[2]:o);if(!(0,B.projectBuffer)(a,r,0,a,i,0))return!1;let u=0;s.length=0;const l=e?3:2,c=ut(e,i);for(const e of t){const t=new Array;for(const r of e){const e=a.slice(u,u+=3);c||e.pop(),n&&e.push(r[l]),t.push(e)}s.push(t)}return!0}function at(t,e,n,r,s,i,o=0){const a=new Array;for(const n of t)for(const t of n){if((0,E.FG)(t))return!1;if((0,E.aO)(t)){const[n,r]=t.c;a.push(n[0],n[1],e?n[2]:o,r[0],r[1],o);continue}if((0,E.n1)(t)){const[n,r,s]=t.b;a.push(n[0],n[1],e?n[2]:o,r[0],r[1],o,s[0],s[1],o);continue}const n=t;a.push(n[0],n[1],e?n[2]:o)}if(!(0,B.projectBuffer)(a,r,0,a,i,0))return!1;let u=0;s.length=0;const l=e?3:2,c=ut(e,i);for(const e of t){const t=new Array;for(const r of e){const e=a.slice(u,u+=3);if(c||e.pop(),n&&e.push((0,E.yP)(r)[l]),(0,E.FG)(r))return!1;if((0,E.aO)(r)){const n=a[u++],r=a[u++];++u,t.push({c:[e,[n,r]]});continue}if((0,E.n1)(r)){const n=a[u++],r=a[u++];++u;const s=a[u++],i=a[u++];++u,t.push({b:[e,[n,r],[s,i]]});continue}t.push(e)}s.push(t)}return!0}function ut(t,e){return t||(0,l.xP)(e)||(0,v.aI)(e,g.Y0)}const lt=(0,a.vt)()},98764(t,e,n){n.d(e,{GD:()=>o,Y0:()=>l,lO:()=>c});var r=n(73941),s=n(16930),i=n(21325);const o=new s.A(r.fv),a=new s.A(r.FY),u=new s.A(r.LJ),l=new s.A(r.Ro);function c(t){const e=f.get(t);if(e)return e;let n=o;if(t)if(t===a)n=a;else if(t===u)n=u;else{const e=t.wkid,r=t.latestWkid;if(null!=e||null!=r)(0,i.tl)(e)||(0,i.tl)(r)?n=a:((0,i.ZL)(e)||(0,i.ZL)(r))&&(n=u);else{const e=t.wkt2??t.wkt;if(e){const t=e.toUpperCase();t===h?n=a:t===p&&(n=u)}}}return f.set(t,n),n}const f=new Map,h=a.wkt.toUpperCase(),p=u.wkt.toUpperCase()},95696(t,e,n){n.d(e,{A:()=>l});var r,s=n(5482),i=n(69540),o=n(25482),a=n(91429),u=n(93223);let l=class extends((0,i.OU)(o.o)){static{r=this}constructor(t){super(t),this.type="georeferenced",this.origin=null}static{this.absolute=new r}};(0,s.Cg)([(0,u.e)({georeferenced:"georeferenced"},{readOnly:!0})],l.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)({type:[Number],nonNullable:!1,json:{write:!0}})],l.prototype,"origin",void 0),l=r=(0,s.Cg)([(0,a.$K)("esri.geometry.support.MeshGeoreferencedVertexSpace")],l)},18251(t,e,n){n.r(e),n.d(e,{default:()=>l});var r=n(5482),s=n(69540),i=n(25482),o=n(91429),a=n(51850),u=n(93223);let l=class extends((0,s.OU)(i.o)){constructor(t){super(t),this.type="local",this.origin=(0,a.vt)()}};(0,r.Cg)([(0,u.e)({local:"local"},{readOnly:!0})],l.prototype,"type",void 0),(0,r.Cg)([(0,o.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],l.prototype,"origin",void 0),l=(0,r.Cg)([(0,o.$K)("esri.geometry.support.MeshLocalVertexSpace")],l)},13030(t,e,n){n.d(e,{Y$:()=>B,XW:()=>M,qB:()=>P,Qt:()=>K,My:()=>tt,bf:()=>D,jZ:()=>S,j0:()=>A,Sx:()=>_,E$:()=>R,Qy:()=>ot,h:()=>N,P:()=>F,SL:()=>k,dy:()=>st,ES:()=>at,gH:()=>x,ZD:()=>b,si:()=>C,mJ:()=>J,UL:()=>et,D6:()=>$,Yi:()=>X,An:()=>z,LC:()=>j,xs:()=>w,EC:()=>T,Xm:()=>I,Vp:()=>H,zD:()=>nt,m8:()=>G,nS:()=>L,H$:()=>U,eI:()=>q,td:()=>it,Eq:()=>E,jz:()=>v,Aj:()=>O,E7:()=>Q,Y4:()=>rt,TX:()=>W,Uz:()=>Z,ml:()=>V,XP:()=>Y});var r=n(34727),s=n(34275),i=n(37585),o=n(48163),a=n(78955),u=n(91829),l=n(20498);class c{static{this.ElementCount=9}constructor(t,e,n=0,r,s){this.TypedArrayConstructor=t,this.elementCount=9;const i=this.TypedArrayConstructor;void 0===r&&(r=9*i.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:n;this.typedBuffer=null==s?new i(e,o):new i(e,o,(s-n)/i.BYTES_PER_ELEMENT),this.typedBufferStride=r/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,n=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+n*this.stride)}getMat(t,e){let n=t*this.typedBufferStride;for(let t=0;t<9;t++)e[t]=this.typedBuffer[n++];return e}setMat(t,e){let n=t*this.typedBufferStride;for(let t=0;t<9;t++)this.typedBuffer[n++]=e[t]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,n){this.typedBuffer[t*this.typedBufferStride+e]=n}copyFrom(t,e,n){const r=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,o=n*e.typedBufferStride;for(let t=0;t<9;++t)r[i++]=s[o++]}get buffer(){return this.typedBuffer.buffer}}class f{static{this.ElementCount=16}constructor(t,e,n=0,r,s){this.TypedArrayConstructor=t,this.elementCount=16;const i=this.TypedArrayConstructor;void 0===r&&(r=16*i.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:n;this.typedBuffer=null==s?new i(e,o):new i(e,o,(s-n)/i.BYTES_PER_ELEMENT),this.typedBufferStride=r/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,n=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+n*this.stride)}getMat(t,e){let n=t*this.typedBufferStride;for(let t=0;t<16;t++)e[t]=this.typedBuffer[n++];return e}setMat(t,e){let n=t*this.typedBufferStride;for(let t=0;t<16;t++)this.typedBuffer[n++]=e[t]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,n){this.typedBuffer[t*this.typedBufferStride+e]=n}copyFrom(t,e,n){this.copyFromTypedBuffer(t,e.typedBuffer,n*e.typedBufferStride)}copyFromTypedBuffer(t,e,n){const r=this.typedBuffer;let s=t*this.typedBufferStride;for(let t=0;t<16;++t)r[s++]=e[n++]}get buffer(){return this.typedBuffer.buffer}}class h{static{this.ElementCount=1}constructor(t,e,n=0,r,s){this.TypedArrayConstructor=t,this.elementCount=1;const i=this.TypedArrayConstructor;void 0===r&&(r=i.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:n;this.typedBuffer=null==s?new i(e,o):new i(e,o,(s-n)/i.BYTES_PER_ELEMENT),this.stride=r,this.typedBufferStride=r/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride)}sliceBuffer(t,e,n=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+n*this.stride)}get(t){return this.typedBuffer[t*this.typedBufferStride]}set(t,e){this.typedBuffer[t*this.typedBufferStride]=e}get buffer(){return this.typedBuffer.buffer}}class p{static{this.ElementCount=2}constructor(t,e,n=0,r,s){this.TypedArrayConstructor=t,this.start=n,this.elementCount=2;const i=this.TypedArrayConstructor;void 0===r&&(r=2*i.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:n;this.typedBuffer=null==s?new i(e,o):new i(e,o,(s-n)/i.BYTES_PER_ELEMENT),this.typedBufferStride=r/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,n=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+n*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,i.hZ)(e,this.typedBuffer[t],this.typedBuffer[t+1])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t]=e[1]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,n){this.typedBuffer[t*this.typedBufferStride+e]=n}setValues(t,e,n){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t]=n}copyFrom(t,e,n){const r=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,o=n*e.typedBufferStride;r[i++]=s[o++],r[i]=s[o]}get buffer(){return this.typedBuffer.buffer}}var d=n(35522);class y{static{this.ElementCount=3}constructor(t,e,n=0,r,s){this.TypedArrayConstructor=t,this.elementCount=3;const i=this.TypedArrayConstructor;void 0===r&&(r=3*i.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:n;this.typedBuffer=null==s?new i(e,o):new i(e,o,(s-n)/i.BYTES_PER_ELEMENT),this.typedBufferStride=r/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,n=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+n*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,d.hZ)(e,this.typedBuffer[t],this.typedBuffer[t+1],this.typedBuffer[t+2])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t++]=e[1],this.typedBuffer[t]=e[2]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,n){this.typedBuffer[t*this.typedBufferStride+e]=n}setValues(t,e,n,r){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t++]=n,this.typedBuffer[t]=r}copyFrom(t,e,n){const r=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,o=n*e.typedBufferStride;r[i++]=s[o++],r[i++]=s[o++],r[i]=s[o]}get buffer(){return this.typedBuffer.buffer}}class m{static{this.ElementCount=4}constructor(t,e,n=0,r,s){this.TypedArrayConstructor=t,this.start=n,this.elementCount=4;const i=this.TypedArrayConstructor;void 0===r&&(r=4*i.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:n;this.typedBuffer=null==s?new i(e,o):new i(e,o,(s-n)/i.BYTES_PER_ELEMENT),this.typedBufferStride=r/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,n=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+n*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,a.hZ)(e,this.typedBuffer[t++],this.typedBuffer[t++],this.typedBuffer[t++],this.typedBuffer[t])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t++]=e[1],this.typedBuffer[t++]=e[2],this.typedBuffer[t]=e[3]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,n){this.typedBuffer[t*this.typedBufferStride+e]=n}setValues(t,e,n,r,s){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t++]=n,this.typedBuffer[t++]=r,this.typedBuffer[t]=s}copyFrom(t,e,n){const r=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,o=n*e.typedBufferStride;r[i++]=s[o++],r[i++]=s[o++],r[i++]=s[o++],r[i]=s[o]}get buffer(){return this.typedBuffer.buffer}}var g=n(620);class M extends h{constructor(t,e=0,n,r){(0,g.vA)(l.SX),super((0,l.pX)(),t,e,n,r),this.elementType="f16"}static{this.ElementType="f16"}}class B extends h{constructor(t,e=0,n,r){super(Float32Array,t,e,n,r),this.elementType="f32"}static{this.ElementType="f32"}}class b extends p{constructor(t,e=0,n,r){(0,g.vA)(l.SX),super((0,l.pX)(),t,e,n,r),this.elementType="f16"}slice(t,e){return this.sliceBuffer(b,t,e)}static{this.ElementType="f16"}}class x extends p{constructor(t,e=0,n,r){super(Float32Array,t,e,n,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(x,t,e)}static{this.ElementType="f32"}}class T extends y{constructor(t,e=0,n,r){(0,g.vA)(l.SX),super((0,l.pX)(),t,e,n,r),this.elementType="f16"}slice(t,e){return this.sliceBuffer(T,t,e)}static{this.ElementType="f16"}}class w extends y{constructor(t,e=0,n,r){super(Float32Array,t,e,n,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(w,t,e)}static fromTypedArray(t,e){return new w(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="f32"}}class v extends m{constructor(t,e=0,n,r){(0,g.vA)(l.SX),super((0,l.pX)(),t,e,n,r),this.elementType="f16"}slice(t,e){return this.sliceBuffer(v,t,e)}static{this.ElementType="f16"}}class E extends m{constructor(t,e=0,n,r){super(Float32Array,t,e,n,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(E,t,e)}static{this.ElementType="f32"}}class S extends c{constructor(t,e=0,n,r){super(Float32Array,t,e,n,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(S,t,e)}static{this.ElementType="f32"}}class A extends c{constructor(t,e=0,n,r){super(Float64Array,t,e,n,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(A,t,e)}static{this.ElementType="f64"}}class _ extends f{constructor(t,e=0,n,r){super(Float32Array,t,e,n,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(_,t,e)}static{this.ElementType="f32"}}class R extends f{constructor(t,e=0,n,r){super(Float64Array,t,e,n,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(R,t,e)}static{this.ElementType="f64"}}class P extends h{constructor(t,e=0,n,r){super(Float64Array,t,e,n,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(P,t,e)}static{this.ElementType="f64"}}class C extends p{constructor(t,e=0,n,r){super(Float64Array,t,e,n,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(C,t,e)}static{this.ElementType="f64"}}class I extends y{constructor(t,e=0,n,r){super(Float64Array,t,e,n,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(I,t,e)}static fromTypedArray(t,e){return new I(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="f64"}}class O extends m{constructor(t,e=0,n,r){super(Float64Array,t,e,n,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(O,t,e)}static{this.ElementType="f64"}}class k extends h{constructor(t,e=0,n,r){super(Uint8Array,t,e,n,r),this.elementType="u8"}slice(t,e){return this.sliceBuffer(k,t,e)}static{this.ElementType="u8"}}class j extends p{constructor(t,e=0,n,r){super(Uint8Array,t,e,n,r),this.elementType="u8"}slice(t,e){return this.sliceBuffer(j,t,e)}static{this.ElementType="u8"}}class q extends y{constructor(t,e=0,n,r){super(Uint8Array,t,e,n,r),this.elementType="u8"}slice(t,e){return this.sliceBuffer(q,t,e)}static fromTypedArray(t,e){return new q(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="u8"}}class Y extends m{constructor(t,e=0,n,r){super(Uint8Array,t,e,n,r),this.elementType="u8"}slice(t,e){return this.sliceBuffer(Y,t,e)}static{this.ElementType="u8"}}class N extends h{constructor(t,e=0,n,r){super(Uint16Array,t,e,n,r),this.elementType="u16"}slice(t,e){return this.sliceBuffer(N,t,e)}static{this.ElementType="u16"}}class X extends p{constructor(t,e=0,n,r){super(Uint16Array,t,e,n,r),this.elementType="u16"}slice(t,e){return this.sliceBuffer(X,t,e)}static{this.ElementType="u16"}}class L extends y{constructor(t,e=0,n,r){super(Uint16Array,t,e,n,r),this.elementType="u16"}slice(t,e){return this.sliceBuffer(L,t,e)}static{this.ElementType="u16"}}class Z extends m{constructor(t,e=0,n,r){super(Uint16Array,t,e,n,r),this.elementType="u16"}slice(t,e){return this.sliceBuffer(Z,t,e)}static{this.ElementType="u16"}}class F extends h{constructor(t,e=0,n,r){super(Uint32Array,t,e,n,r),this.elementType="u32"}slice(t,e){return this.sliceBuffer(F,t,e)}static{this.ElementType="u32"}}class z extends p{constructor(t,e=0,n,r){super(Uint32Array,t,e,n,r),this.elementType="u32"}slice(t,e){return this.sliceBuffer(z,t,e)}static{this.ElementType="u32"}}class U extends y{constructor(t,e=0,n,r){super(Uint32Array,t,e,n,r),this.elementType="u32"}slice(t,e){return this.sliceBuffer(U,t,e)}static{this.ElementType="u32"}}class V extends m{constructor(t,e=0,n,r){super(Uint32Array,t,e,n,r),this.elementType="u32"}slice(t,e){return this.sliceBuffer(V,t,e)}static{this.ElementType="u32"}}class D extends h{constructor(t,e=0,n,r){super(Int8Array,t,e,n,r),this.elementType="i8"}slice(t,e){return this.sliceBuffer(D,t,e)}static{this.ElementType="i8"}}class $ extends p{constructor(t,e=0,n,r){super(Int8Array,t,e,n,r),this.elementType="i8"}slice(t,e){return this.sliceBuffer($,t,e)}static{this.ElementType="i8"}}class G extends y{constructor(t,e=0,n,r){super(Int8Array,t,e,n,r),this.elementType="i8"}slice(t,e){return this.sliceBuffer(G,t,e)}static{this.ElementType="i8"}}class W extends m{constructor(t,e=0,n,r){super(Int8Array,t,e,n,r),this.elementType="i8"}slice(t,e){return this.sliceBuffer(W,t,e)}static{this.ElementType="i8"}}class K extends h{constructor(t,e=0,n,r){super(Int16Array,t,e,n,r),this.elementType="i16"}slice(t,e){return this.sliceBuffer(K,t,e)}static{this.ElementType="i16"}}class J extends p{constructor(t,e=0,n,r){super(Int16Array,t,e,n,r),this.elementType="i16"}slice(t,e){return this.sliceBuffer(J,t,e)}static{this.ElementType="i16"}}class H extends y{constructor(t,e=0,n,r){super(Int16Array,t,e,n,r),this.elementType="i16"}slice(t,e){return this.sliceBuffer(H,t,e)}static{this.ElementType="i16"}}class Q extends m{constructor(t,e=0,n,r){super(Int16Array,t,e,n,r),this.elementType="i16"}slice(t,e){return this.sliceBuffer(Q,t,e)}static{this.ElementType="i16"}}class tt extends h{constructor(t,e=0,n,r){super(Int32Array,t,e,n,r),this.elementType="i32"}slice(t,e){return this.sliceBuffer(tt,t,e)}static{this.ElementType="i32"}}class et extends p{constructor(t,e=0,n,r){super(Int32Array,t,e,n,r),this.elementType="i32"}slice(t,e){return this.sliceBuffer(et,t,e)}static{this.ElementType="i32"}}class nt extends y{constructor(t,e=0,n,r){super(Int32Array,t,e,n,r),this.elementType="i32"}slice(t,e){return this.sliceBuffer(nt,t,e)}static{this.ElementType="i32"}}class rt extends m{constructor(t,e=0,n,r){super(Int32Array,t,e,n,r),this.elementType="i32"}slice(t,e){return this.sliceBuffer(rt,t,e)}static{this.ElementType="i32"}}class st extends k{constructor(t,e=0,n,r){super(t,e,n,r)}get(t){return this.typedBuffer[t*this.typedBufferStride]/255}set(t,e){this.typedBuffer[t*this.typedBufferStride]=Math.round(255*(0,r.qE)(e,0,1))}slice(t,e){return this.sliceBuffer(st,t,e)}}class it extends Y{constructor(t,e=0,n,r){super(t,e,n,r)}getVec(t,e){return(0,a.hs)(e,super.getVec(t,e),1/255)}setVec(t,e){(0,a.jk)(lt,(0,a.T9)(lt,e,u.uY),u.Un),(0,a.hs)(lt,lt,255),(0,a.LI)(lt,lt),super.setVec(t,lt)}get(t,e){return super.get(t,e)/255}set(t,e,n){super.set(t,e,Math.round(255*(0,r.qE)(n,0,1)))}setValues(t,e,n,r,s){(0,a.hZ)(lt,e,n,r,s),this.setVec(t,lt)}slice(t,e){return this.sliceBuffer(it,t,e)}}class ot extends K{constructor(t,e=0,n,r){super(t,e,n,r)}get(t){return Math.max(super.get(t)/s.he,-1)}set(t,e){super.set(t,Math.round((0,r.qE)(e,-1,1)*s.he))}slice(t,e){return this.sliceBuffer(ot,t,e)}}class at extends J{constructor(t,e=0,n,r){super(t,e,n,r)}getVec(t,e){return(0,i.hZ)(ut,-1,-1),(0,i.T9)(e,(0,i.hs)(e,super.getVec(t,e),1/s.he),ut)}setVec(t,e){(0,i.qE)(ut,e,o.IA,o.Un),(0,i.hs)(ut,ut,s.he),(0,i.LI)(ut,ut),super.setVec(t,ut)}get(t,e){return Math.max(super.get(t,e)/s.he,-1)}set(t,e,n){super.set(t,e,Math.round((0,r.qE)(n,-1,1)*s.he))}setValues(t,e,n){(0,i.hZ)(ut,e,n),this.setVec(t,ut)}slice(t,e){return this.sliceBuffer(at,t,e)}}const ut=(0,o.vt)(),lt=(0,u.vt)()},72727(t,e,n){function r(t,e,n){if(e<=0)return 0;const r=t-n;return r<0?0:Math.floor(r/e)+1}n.d(e,{k:()=>r}),n(53966)},20498(t,e,n){n.d(e,{Bg:()=>s,SX:()=>o,pX:()=>i});let r=globalThis.Float16Array;function s(...t){return new(r??Float32Array)(...t)}function i(){return r}let o=!!r},34403(t,e,n){n.d(e,{TP:()=>o});var r=n(79258);Math.PI;const s=r.$O.radius,i=r.$O.eccentricitySquared,o={a1:s*i,a2:s*i*s*i,a3:s*i*i/2,a4:s*i*s*i*2.5,a5:s*i+s*i*i/2,a6:1-i};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius},60408(t,e,n){function r(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function s(t){return void 0!==t.points}function i(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 u(t){return"object"==typeof t&&"vertexAttributes"in t}function l(t){return t?i(t)?"esriGeometryPoint":o(t)?"esriGeometryPolyline":a(t)?"esriGeometryPolygon":r(t)?"esriGeometryEnvelope":s(t)?"esriGeometryMultipoint":null:null}function c(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function f(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}n.d(e,{$B:()=>l,Bi:()=>a,Pv:()=>c,Rg:()=>o,U9:()=>s,W0:()=>f,ZC:()=>r,fT:()=>i,uW:()=>u})},38419(t,e,n){n.r(e),n.d(e,{default:()=>a});var r=n(44208),s=n(75503),i=n(95696),o=n(72258);class a{async createIndex(t,e){const n=new Array;if(!t.vertexAttributes?.position)return new s.wq;const r=function(t){const{vertexAttributes:{position:e},vertexSpace:n,spatialReference:r,transform:s}=t,a=(0,o.UR)({vertexAttributes:{position:e},vertexSpace:n,spatialReference:r,transform:s},i.A.absolute,{allowBufferReuse:!0})?.position;return a?!t.components||t.components.some(t=>!t.faces)?{position:a.buffer}:{position:a.buffer,components:t.components.map(t=>t.faces)}:null}(t),a=null!=e?await e.invoke("createIndexThread",r,{transferList:n}):this.createIndexThread(r).result;return u().fromJSON(a)}createIndexThread(t){const e=u();if(!t)return{result:e.toJSON()};const n=new Float64Array(t.position);return t.components?function(t,e,n){let r=0;for(const t of n)r+=t.length/3;const s=new Array(r);let i=0;for(const t of n)for(let n=0;n<t.length;n+=3)s[i++]=l(e,3*t[n],3*t[n+1],3*t[n+2]);return t.load(s),{result:t.toJSON()}}(e,n,t.components.map(t=>new Uint32Array(t))):function(t,e){const n=new Array(e.length/9);let r=0;for(let t=0;t<e.length;t+=9)n[r++]=l(e,t,t+3,t+6);return t.load(n),{result:t.toJSON()}}(e,n)}}function u(){return new s.wq(9,(0,r.A)("esri-csp-restrictions")?t=>t:[".minX",".minY",".maxX",".maxY"])}function l(t,e,n,r){return{minX:Math.min(t[e],t[n],t[r]),maxX:Math.max(t[e],t[n],t[r]),minY:Math.min(t[e+1],t[n+1],t[r+1]),maxY:Math.max(t[e+1],t[n+1],t[r+1]),p0:[t[e],t[e+1],t[e+2]],p1:[t[n],t[n+1],t[n+2]],p2:[t[r],t[r+1],t[r+2]]}}},22141(t,e,n){n.d(e,{$5:()=>w,CN:()=>B,JP:()=>M,KM:()=>E,Mv:()=>A,X4:()=>b,gr:()=>T,qs:()=>v,si:()=>x,xA:()=>S});var r=n(34727),s=n(77690),i=n(29242),o=n(58083),a=n(9093),u=n(35522),l=n(51850),c=n(73941),f=n(48353),h=n(9762),p=(n(79258),n(21325)),d=n(28735),y=n(13030),m=n(73354),g=n(50867);const M="Projection may be possible after calling projection.load().";function B(t,e,n,r){t.error(`Failed to project from (wkid:${e.wkid}) to (wkid:${n.wkid}).${r?" ":""}${r}`)}function b(t,e,n,r,s,i){return R(0,y.xs.fromTypedArray(t),0,y.Xm.fromTypedArray(e),n,y.Xm.fromTypedArray(r),s,y.xs.fromTypedArray(i))?i:null}function x(t,e,n,r,s,i){return R(1,y.xs.fromTypedArray(t),0,y.Xm.fromTypedArray(e),n,y.Xm.fromTypedArray(r),s,y.xs.fromTypedArray(i))?i:null}function T(t,e,n,r){return(0,h.projectBuffer)(t,e,0,n,r,0)?n:null}function w(t,e,n,r){return(0,h.projectBuffer)(t,e,0,n,r,0)?n:null}function v(t,e,n){return(0,s.Ge)(O,n),(0,m.b)(e,t,O),(0,r.or)(O)&&(0,m.n)(e,e),e}function E(t,e,n){return(0,s.z0)(O,n),(0,g.t)(e,t,O),(0,r.or)(O)&&(0,m.n)(e,e,4),e}function S(t,e,n,r,s,i){if(!R(0,y.xs.fromTypedArray(t,4*Float32Array.BYTES_PER_ELEMENT),1,y.Xm.fromTypedArray(e),n,y.Xm.fromTypedArray(r),s,y.xs.fromTypedArray(i,4*Float32Array.BYTES_PER_ELEMENT)))return null;for(let e=3;e<t.length;e+=4)i[e]=t[e];return i}function A(t,e,n,r,s,i){if(!R(1,y.xs.fromTypedArray(t,16),1,y.Xm.fromTypedArray(e),n,y.Xm.fromTypedArray(r),s,y.xs.fromTypedArray(i,16)))return null;for(let e=3;e<t.length;e+=4)i[e]=t[e];return i}function _(t,e,n,r,i){switch((0,f.l)(r,n,I,r),1===t&&(0,o.B8)(I,I),e){case 0:return(0,s.Ge)(i,I);case 1:return(0,s.z0)(i,I)}}function R(t,e,n,r,s,i,o,a){if(!e)return;const l=r.count;if(function(t){return t.isWGS84||(0,p.x1)(t)||(0,c.q8)(t)||(0,c.KQ)(t)}(s))for(let r=0;r<l;r++)i.getVec(r,P),e.getVec(r,C),(0,u.ei)(C,C,_(t,n,P,o,O)),a.setVec(r,C);else for(let s=0;s<l;s++){i.getVec(s,P),e.getVec(s,C);const l=(0,d.jg)(r.get(s,1));let c=Math.cos(l);1===n!=(0===t)&&(c=1/c),_(t,n,P,o,O),0===t?(O[0]*=c,O[1]*=c,O[2]*=c,O[3]*=c,O[4]*=c,O[5]*=c):(O[0]*=c,O[3]*=c,O[6]*=c,O[1]*=c,O[4]*=c,O[7]*=c),(0,u.ei)(C,C,O),(0,u.S8)(C,C),a.setVec(s,C)}return a}const P=(0,l.vt)(),C=(0,l.vt)(),I=(0,a.vt)(),O=(0,i.vt)()},72258(t,e,n){n.d(e,{UR:()=>x,p5:()=>b,xK:()=>A});var r=n(53966),s=n(34727),i=n(86211),o=n(77690),a=n(29242),u=n(58083),l=n(9093),c=n(35522),f=n(51850),h=n(73941),p=n(98764),d=n(48353),y=n(65806),m=n(27615),g=n(73354),M=n(22141);const B=()=>r.A.getLogger("esri.geometry.support.meshUtils.vertexSpaceConversion");function b(t,e,{vertexSpace:n,spatialReference:r}){if("georeferenced"===n.type){const s=t;if(!(0,y.g)(e,s,r))return!1;const{origin:i}=n;return(0,c.Re)(t,s,i),!0}const s=(0,p.lO)(r),i=t;if(!(0,y.g)(e,i,s))return!1;const{origin:o}=n,a=I;if(!(0,d.l)(r,o,a,s))return!1;const l=(0,u.B8)(I,a);return null!=l&&((0,c.Z0)(t,i,l),!0)}function x(t,e,n){const{vertexSpace:r,transform:s,vertexAttributes:i}=t,a=(0,m.Hq)(r)?s:null,f=E(t.spatialReference,n,3);if((0,m.yJ)(r,e)&&(!a||(0,u.t2)(a.localMatrix,l.zK))&&S(f)){const{position:t,normal:e,tangent:r}=i,s=n?.allowBufferReuse;return{position:s?t:t.slice(),normal:s?e:e?.slice(),tangent:s?r:r?.slice()}}switch(t.vertexSpace.type){case"local":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:n},{origin:r},s,i){const o=T(e,i);if(!(0,d.l)(e,r,_,o))return(0,M.CN)(B(),e,o),null;if(n&&(0,u.lw)(_,_,n.localMatrix),!(0,d.l)(e,s,R,o))return(0,M.CN)(B(),o,e),null;(0,u.B8)(R,R);const a=(0,u.lw)(_,R,_);return v(a,e,i,3),w(t,a)}(t,t.vertexSpace,e.origin,n):function({spatialReference:t,vertexAttributes:e,transform:n},{origin:r},s,i){const o=T(t,i);if(!(0,d.l)(t,r,_,o))return(0,M.CN)(B(),t,o),null;n&&(0,u.lw)(_,_,n.localMatrix),v(_,t,i,1);const a=new Float64Array(e.position.length),l=function(t,e,n,r,s){(0,g.a)(r,t,e);const i=new Float64Array(t.length);return(0,M.$5)(r,s,i,n)?i:((0,M.CN)(B(),s,n),null)}(e.position,_,t,a,o);if(!l)return null;const f=function(t,e,n,r,s,i){if(null==s)return null;const o=new Float32Array(s.length);return(0,M.qs)(s,o,i),(0,M.si)(o,t,e,n,r,o)?o:((0,M.CN)(B(),r,e),null)}(l,t,a,o,e.normal,_);if(e.normal&&!f)return null;const h=function(t,e,n,r,s,i){if(null==s)return null;const o=new Float32Array(s.length);return(0,M.KM)(s,o,i),(0,M.Mv)(o,t,e,n,r,o)?o:((0,M.CN)(B(),r,e),null)}(l,t,a,o,e.tangent,_);if(e.tangent&&!h)return null;if(s){const t=(0,c.ze)(C,s);(0,g.t)(l,l,t)}return{position:l,normal:f,tangent:h}}(t,t.vertexSpace,e.origin,n);case"georeferenced":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:n},{origin:r},s,i){const a=T(e,i);if(!(0,d.l)(e,s,_,a))return(0,M.CN)(B(),e,a),null;const l=1/E(e,i,2);(0,u.hs)(_,_,[l,l,l]);const c=(0,u.B8)(R,_),{position:f,normal:h,tangent:p}=function(t,e,n){if(!e)return t;if(!n){const{position:n,normal:r,tangent:s}=t;return{position:(0,g.t)(new Float64Array(n.length),n,e),tangent:s,normal:r}}const r=w(t,n.localMatrix);return(0,g.t)(r.position,r.position,e),r}(t,r,n),y=new Float64Array(f.length),m=function(t,e,n,r,s){const i=(0,M.gr)(t,e,r,s);if(!i)return(0,M.CN)(B(),e,s),null;const o=new Float64Array(i.length);return(0,g.a)(o,i,n),o}(f,e,c,y,a);if(!m)return null;const b=(0,o.Ge)(P,c),x=function(t,e,n,r,s,i,o){if(null==t)return null;const a=o??new Float32Array(t.length);return(0,M.X4)(t,e,n,r,s,a)?((0,g.b)(a,a,i),a):((0,M.CN)(B(),n,s),null)}(h,f,e,y,a,b,h!==t.normal?h:void 0);if(!x&&h)return null;const v=function(t,e,n,r,s,i,o){if(null==t)return null;const a=o??new Float32Array(t.length);return(0,M.xA)(t,e,n,r,s,a)?((0,g.b)(a,a,i,4),a):((0,M.CN)(B(),n,s),null)}(p,f,e,y,a,b,p!==t.tangent?p:void 0);return!v&&p?null:{position:m,normal:x,tangent:v}}(t,t.vertexSpace,e.origin,n):function({vertexAttributes:t,transform:e,spatialReference:n},{origin:r},s,i){const o=E(n,i,3),a=r||!S(o)?(0,u.C)(_,e?.localMatrix??l.zK):null;a&&v(a,n,i,3);const{position:f,normal:h,tangent:p}=a?w(t,a):t,d=i?.allowBufferReuse,y=d?f:new Float64Array(f.length);let m=f;if(r&&(m=(0,g.t)(y,m,r)),s){const t=(0,c.ze)(C,s);m=(0,g.t)(y,m,t)}return{position:m!==t.position||d?m:m.slice(),normal:h!==t.normal||d?h:h?.slice(),tangent:p!==t.tangent||d?p:p?.slice()}}(t,t.vertexSpace,e.origin,n)}}function T(t,e){return e?.useEllipsoid&&(0,h.B3)(t)?p.Y0:(0,p.lO)(t)}function w(t,e){const n=new Float64Array(t.position.length);(0,g.a)(n,t.position,e);const r=t.normal?new Float32Array(t.normal.length):null,s=t.tangent?new Float32Array(t.tangent.length):null;return r&&t.normal&&(0,M.qs)(t.normal,r,e),s&&t.tangent&&(0,M.KM)(t.tangent,s,e),{position:n,normal:r,tangent:s}}function v(t,e,n,r){const s=E(e,n,r);S(s)||(0,u.hs)(t,t,[s,s,s])}function E(t,e,n){const r=!!(1&n),s=!!(2&n),i=e?.sourceUnit,o=e?.targetUnit;if(!i&&!o)return 1;let a=A(i,t);r||!i||S(a)||(B().warn("source unit conversion not supported"),a=1);let u=1/A(o,t);return s||!o||S(u)||(B().warn("target unit conversion not supported"),u=1),a*u}function S(t){return(0,s.Io)(t,1)}function A(t,e){if(null==t)return 1;const n=(0,i.KX)(e);return 1/(0,i.oU)(n,"meters",t)}const _=(0,l.vt)(),R=(0,l.vt)(),P=(0,a.vt)(),C=(0,f.vt)(),I=(0,l.vt)()},27615(t,e,n){n.d(e,{CK:()=>u,Hq:()=>a,MW:()=>l,TE:()=>c,yJ:()=>f});var r=n(35522),s=n(86738),i=n(95696),o=n(18251);function a(t){return null!=t.origin}function u(t){return a(t.vertexSpace)}function l(t,e){if(!a(t))return null;const[n,r,i]=t.origin;return new s.A({x:n,y:r,z:i,spatialReference:e})}function c(t,e){const{x:n,y:r,z:s,spatialReference:a}=t,u=[n,r,s??0];return"local"===(e?.vertexSpace??function(t){return t.isGeographic||t.isWebMercator?"local":"georeferenced"}(a))?new o.default({origin:u}):new i.A({origin:u})}function f(t,e){return t.type===e.type&&(t.origin===e.origin||null!=t.origin&&null!=e.origin&&(0,r.t2)(t.origin,e.origin))}},620(t,e,n){n.d(e,{L:()=>u,MX:()=>o,O_:()=>a,kL:()=>l,vA:()=>i,zH:()=>c});var r=n(48163);n(78955),(0,n(91829).vt)();class s{constructor(t){this.message=t}toString(){return`AssertException: ${this.message}`}}function i(t,e="Assertion"){if(!t){const t=new Error(e).stack;throw new s(`${e} at ${t}`)}}function o(t,e){t||(e=e||"",console.warn("Verify failed: "+e+"\n"+new Error("verify").stack))}function a(t,e,n,r){let s,i=(n[0]-t[0])/e[0],o=(r[0]-t[0])/e[0];i>o&&(s=i,i=o,o=s);let a=(n[1]-t[1])/e[1],u=(r[1]-t[1])/e[1];if(a>u&&(s=a,a=u,u=s),i>u||a>o)return!1;a>i&&(i=a),u<o&&(o=u);let l=(n[2]-t[2])/e[2],c=(r[2]-t[2])/e[2];return l>c&&(s=l,l=c,c=s),!(i>c||l>o||(c<o&&(o=c),o<0))}function u(t,e,n,s,i,o=(0,r.vt)()){const a=(s[i]-n[i])*(e[0]-t[0])-(s[0]-n[0])*(e[i]-t[i]),u=(s[0]-n[0])*(t[i]-n[i])-(s[i]-n[i])*(t[0]-n[0]);if(0===a)return!1;const l=u/a;return o[0]=t[0]+l*(e[0]-t[0]),o[1]=t[i]+l*(e[i]-t[i]),!0}function l(t,e){return Math.log(t)/Math.log(e)}function c(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[3]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[7]&&0===t[8]&&0===t[9]&&1===t[10]&&0===t[11]&&1===t[15]}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8447],{68197(t,i,s){s.d(i,{A:()=>o});var e=s(40876),n=s(4576),r=s(34727),h=s(56507);function a(t){return(0,r.qE)((0,h.Vr)(t),0,255)}function l(t,i){const s=t.toString(16).padStart(2,"0");return i?s.slice(0,1):s}class o{static blendColors(t,i,s,e=new o){return e.r=Math.round(t.r+(i.r-t.r)*s),e.g=Math.round(t.g+(i.g-t.g)*s),e.b=Math.round(t.b+(i.b-t.b)*s),e.a=t.a+(i.a-t.a)*s,e._sanitize()}static fromRgb(t,i){const s=(0,e.lT)(t);return s?o.fromArray(s,i):null}static fromHex(t,i=new o){const s=(0,e.oW)(t);return s?o.fromArray(s,i):null}static fromArray(t,i=new o){return i._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(i.a)&&(i.a=1),i._sanitize()}static fromString(t,i){const s=(0,e.Eq)(t);return s?o.fromArray(s,i):null}static fromJSON(t){return null!=t?new o([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)o.fromString(t,this);else if((0,n.yc)(t))o.fromArray(t,this);else{const i=t;this._set(i.r??0,i.g??0,i.b??0,i.a??1),t instanceof o||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 i=t?.capitalize??!1,s=t?.digits??6,e=3===s||4===s,n=4===s||8===s,r=`#${l(this.r,e)}${l(this.g,e)}${l(this.b,e)}${n?l(Math.round(255*this.a),e):""}`;return i?r.toUpperCase():r}toCss(t=!1){const i=this.r+", "+this.g+", "+this.b;return t?`rgba(${i}, ${this.a})`:`rgb(${i})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=0){const i=a(this.r),s=a(this.g),e=a(this.b);return 0===t||1!==this.a?[i,s,e,a(255*this.a)]:[i,s,e]}clone(){return new o(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,e.c1)(this.r),this.g=(0,e.c1)(this.g),this.b=(0,e.c1)(this.b),this.a=(0,e.G1)(this.a),this}_set(t,i,s,e){this.r=t,this.g=i,this.b=s,this.a=e}}o.prototype.declaredClass="esri.Color"},40876(t,i,s){s.d(i,{Eq:()=>y,G1:()=>m,TS:()=>r,Tf:()=>g,V6:()=>n,Vm:()=>x,ay:()=>l,c1:()=>p,c4:()=>h,j5:()=>o,lT:()=>u,oW:()=>_,xV:()=>R});const e={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 n(t){return!!e[t]||!!e[t.toLowerCase()]}function r(t){return e[t]??e[t.toLowerCase()]}function h(t){return[...r(t)]}function a(t,i,s){s<0&&++s,s>1&&--s;const e=6*s;return e<1?t+(i-t)*e:2*s<1?i:3*s<2?t+(i-t)*(2/3-s)*6:t}function l(t,i,s,e=1){const n=(t%360+360)%360/360,r=s<=.5?s*(i+1):s+i-s*i,h=2*s-r;return[Math.round(255*a(h,r,n+1/3)),Math.round(255*a(h,r,n)),Math.round(255*a(h,r,n-1/3)),e]}function o(t){const i=t.length>5,s=i?8:4,e=(1<<s)-1,n=i?1:17,r=i?9===t.length:5===t.length;let h=Number("0x"+t.slice(1));if(isNaN(h))return null;const a=[0,0,0,1];let l;return r&&(l=h&e,h>>=s,a[3]=n*l/255),l=h&e,h>>=s,a[2]=n*l,l=h&e,h>>=s,a[1]=n*l,l=h&e,h>>=s,a[0]=n*l,a}function _(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const i=parseInt(t.slice(1,2),16),s=parseInt(t.slice(2,3),16),e=parseInt(t.slice(3,4),16),n=4===t.length?15:parseInt(t.slice(4),16);return[i+16*i,s+16*s,e+16*e,(n+16*n)/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 i=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(i){const t=i[2].split(/\s*,\s*/),s=i[1];if("rgb"===s&&3===t.length||"rgba"===s&&4===t.length){if(t[0].endsWith("%")){const i=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(i[3]=parseFloat(t[3])),c(i)}return c(t.map(t=>parseFloat(t)))}if("hsl"===s&&3===t.length||"hsla"===s&&4===t.length)return l(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function c(t){return t[0]=p(t[0]),t[1]=p(t[1]),t[2]=p(t[2]),t[3]=4===t.length?m(t[3]):1,t}function y(t){let i=n(t)?r(t):null;return i??=u(t),i??=_(t),i}function x(t){const i=y(t);return null!=i?[i[0]/255,i[1]/255,i[2]/255,i[3]]:null}function m(t){return f(t,0,1)}function p(t){return Math.round(f(t,0,255))}function f(t,i,s){return t=Number(t),isNaN(t)?s:t<i?i:t>s?s:t}const g=2.2,d=1/g;function R(t){return t**d}},6774(t,i,s){s.d(i,{O3:()=>r,Ox:()=>h,bR:()=>e});class e{constructor(t,i){this.x=t,this.y=i}static fromArray(t){return new e(t[0],t[1])}clone(){return new e(this.x,this.y)}equals(t,i){return t===this.x&&i===this.y}isEqual(t){return t.x===this.x&&t.y===this.y}setCoords(t,i){return this.x=t,this.y=i,this}normalize(){const t=this.x,i=this.y,s=Math.sqrt(t*t+i*i);return this.x/=s,this.y/=s,this}rightPerpendicular(){const t=this.x;return this.x=this.y,this.y=-t,this}leftPerpendicular(){const t=this.x;return this.x=-this.y,this.y=t,this}move(t,i){return this.x+=t,this.y+=i,this}assign(t){return this.x=t.x,this.y=t.y,this}assignAdd(t,i){return this.x=t.x+i.x,this.y=t.y+i.y,this}assignSub(t,i){return this.x=t.x-i.x,this.y=t.y-i.y,this}rotate(t,i){const s=this.x,e=this.y;return this.x=s*t-e*i,this.y=s*i+e*t,this}rotateReverse(t,i){const s=this.x,e=this.y;return this.x=s*t+e*i,this.y=-s*i+e*t,this}scale(t){return this.x*=t,this.y*=t,this}length(){const t=this.x,i=this.y;return Math.sqrt(t*t+i*i)}sub(t){return this.x-=t.x,this.y-=t.y,this}add(t){return this.x+=t.x,this.y+=t.y,this}static distance(t,i){const s=i.x-t.x,e=i.y-t.y;return Math.sqrt(s*s+e*e)}static add(t,i){return new e(t.x+i.x,t.y+i.y)}static sub(t,i){return new e(t.x-i.x,t.y-i.y)}}class n{constructor(t,i,s){this.ratio=t,this.x=i,this.y=s}}class r{constructor(t,i,s,e=8,n=8){this._lines=[],this._starts=[],this.validateTessellation=!0,this._pixelRatio=e,this._pixelMargin=n,this._tileSize=512*e,this._dz=t,this._yPos=i,this._xPos=s}setPixelMargin(t){t!==this._pixelMargin&&(this._pixelMargin=t,this.setExtent(this._extent))}setExtent(t){this._extent=t,this._finalRatio=this._tileSize/t*(1<<this._dz);let i=this._pixelRatio*this._pixelMargin;i/=this._finalRatio;const s=t>>this._dz;i>s&&(i=s),this._margin=i,this._xmin=s*this._xPos-i,this._ymin=s*this._yPos-i,this._xmax=this._xmin+s+2*i,this._ymax=this._ymin+s+2*i}reset(t){this._type=t,this._lines=[],this._starts=[],this._line=null,this._start=0}moveTo(t,i){this._pushLine(),this._prevIsIn=this._isIn(t,i),this._moveTo(t,i,this._prevIsIn),this._prevPt=new e(t,i),this._firstPt=new e(t,i),this._dist=0}lineTo(t,i){const s=this._isIn(t,i),r=new e(t,i),h=e.distance(this._prevPt,r);let a,l,o,_,u,c,y,x;if(s)this._prevIsIn?this._lineTo(t,i,!0):(a=this._prevPt,l=r,o=this._intersect(l,a),this._start=this._dist+h*(1-this._r),this._lineTo(o.x,o.y,!0),this._lineTo(l.x,l.y,!0));else if(this._prevIsIn)l=this._prevPt,a=r,o=this._intersect(l,a),this._lineTo(o.x,o.y,!0),this._lineTo(a.x,a.y,!1);else{const t=this._prevPt,i=r;if(t.x<=this._xmin&&i.x<=this._xmin||t.x>=this._xmax&&i.x>=this._xmax||t.y<=this._ymin&&i.y<=this._ymin||t.y>=this._ymax&&i.y>=this._ymax)this._lineTo(i.x,i.y,!1);else{const s=[];if((t.x<this._xmin&&i.x>this._xmin||t.x>this._xmin&&i.x<this._xmin)&&(_=(this._xmin-t.x)/(i.x-t.x),x=t.y+_*(i.y-t.y),x<=this._ymin?c=!1:x>=this._ymax?c=!0:s.push(new n(_,this._xmin,x))),(t.x<this._xmax&&i.x>this._xmax||t.x>this._xmax&&i.x<this._xmax)&&(_=(this._xmax-t.x)/(i.x-t.x),x=t.y+_*(i.y-t.y),x<=this._ymin?c=!1:x>=this._ymax?c=!0:s.push(new n(_,this._xmax,x))),(t.y<this._ymin&&i.y>this._ymin||t.y>this._ymin&&i.y<this._ymin)&&(_=(this._ymin-t.y)/(i.y-t.y),y=t.x+_*(i.x-t.x),y<=this._xmin?u=!1:y>=this._xmax?u=!0:s.push(new n(_,y,this._ymin))),(t.y<this._ymax&&i.y>this._ymax||t.y>this._ymax&&i.y<this._ymax)&&(_=(this._ymax-t.y)/(i.y-t.y),y=t.x+_*(i.x-t.x),y<=this._xmin?u=!1:y>=this._xmax?u=!0:s.push(new n(_,y,this._ymax))),0===s.length)u?c?this._lineTo(this._xmax,this._ymax,!0):this._lineTo(this._xmax,this._ymin,!0):c?this._lineTo(this._xmin,this._ymax,!0):this._lineTo(this._xmin,this._ymin,!0);else if(s.length>1&&s[0].ratio>s[1].ratio)this._start=this._dist+h*s[1].ratio,this._lineTo(s[1].x,s[1].y,!0),this._lineTo(s[0].x,s[0].y,!0);else{this._start=this._dist+h*s[0].ratio;for(let t=0;t<s.length;t++)this._lineTo(s[t].x,s[t].y,!0)}this._lineTo(i.x,i.y,!1)}}this._dist+=h,this._prevIsIn=s,this._prevPt=r}close(){if(this._line.length>2){const t=this._firstPt,i=this._prevPt;t.x===i.x&&t.y===i.y||this.lineTo(t.x,t.y);const s=this._line;let e=s.length;for(;e>=4&&(s[0].x===s[1].x&&s[0].x===s[e-2].x||s[0].y===s[1].y&&s[0].y===s[e-2].y);)s.pop(),s[0].x=s[e-2].x,s[0].y=s[e-2].y,--e}}result(t=!0){return this._pushLine(),0===this._lines.length?null:(3===this._type&&t&&a.simplify(this._tileSize,this._margin*this._finalRatio,this._lines),this._lines)}resultWithStarts(){if(2!==this._type)throw new Error("Only valid for lines");this._pushLine();const t=this._lines,i=t.length;if(0===i)return null;const s=[];for(let e=0;e<i;e++)s.push({line:t[e],start:this._starts[e]||0});return s}_isIn(t,i){return t>=this._xmin&&t<=this._xmax&&i>=this._ymin&&i<=this._ymax}_intersect(t,i){let s,n,r;if(i.x>=this._xmin&&i.x<=this._xmax)n=i.y<=this._ymin?this._ymin:this._ymax,r=(n-t.y)/(i.y-t.y),s=t.x+r*(i.x-t.x);else if(i.y>=this._ymin&&i.y<=this._ymax)s=i.x<=this._xmin?this._xmin:this._xmax,r=(s-t.x)/(i.x-t.x),n=t.y+r*(i.y-t.y);else{n=i.y<=this._ymin?this._ymin:this._ymax,s=i.x<=this._xmin?this._xmin:this._xmax;const e=(s-t.x)/(i.x-t.x),h=(n-t.y)/(i.y-t.y);e<h?(r=e,n=t.y+e*(i.y-t.y)):(r=h,s=t.x+h*(i.x-t.x))}return this._r=r,new e(s,n)}_pushLine(){this._line&&(1===this._type?this._line.length>0&&(this._lines.push(this._line),this._starts.push(this._start)):2===this._type?this._line.length>1&&(this._lines.push(this._line),this._starts.push(this._start)):3===this._type&&this._line.length>3&&(this._lines.push(this._line),this._starts.push(this._start))),this._line=[],this._start=0}_moveTo(t,i,s){3!==this._type?s&&(t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),i=Math.round((i-(this._ymin+this._margin))*this._finalRatio),this._line.push(new e(t,i))):(s||(t<this._xmin&&(t=this._xmin),t>this._xmax&&(t=this._xmax),i<this._ymin&&(i=this._ymin),i>this._ymax&&(i=this._ymax)),t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),i=Math.round((i-(this._ymin+this._margin))*this._finalRatio),this._line.push(new e(t,i)),this._isH=!1,this._isV=!1)}_lineTo(t,i,s){let n,r;if(3!==this._type)if(s){if(t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),i=Math.round((i-(this._ymin+this._margin))*this._finalRatio),this._line.length>0&&(n=this._line[this._line.length-1],n.equals(t,i)))return;this._line.push(new e(t,i))}else this._line&&this._line.length>0&&this._pushLine();else if(s||(t<this._xmin&&(t=this._xmin),t>this._xmax&&(t=this._xmax),i<this._ymin&&(i=this._ymin),i>this._ymax&&(i=this._ymax)),t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),i=Math.round((i-(this._ymin+this._margin))*this._finalRatio),this._line&&this._line.length>0){n=this._line[this._line.length-1];const s=n.x===t,h=n.y===i;if(s&&h)return;this._isH&&s||this._isV&&h?(n.x=t,n.y=i,r=this._line[this._line.length-2],r.x===t&&r.y===i?(this._line.pop(),this._line.length<=1?(this._isH=!1,this._isV=!1):(r=this._line[this._line.length-2],this._isH=r.x===t,this._isV=r.y===i)):(this._isH=r.x===t,this._isV=r.y===i)):(this._line.push(new e(t,i)),this._isH=s,this._isV=h)}else this._line.push(new e(t,i))}}class h{setExtent(t){this._ratio=4096===t?1:4096/t}get validateTessellation(){return this._ratio<1}reset(t){this._lines=[],this._line=null}moveTo(t,i){this._line&&this._lines.push(this._line),this._line=[];const s=this._ratio;this._line.push(new e(t*s,i*s))}lineTo(t,i){const s=this._ratio;this._line.push(new e(t*s,i*s))}close(){const t=this._line;t&&!t[0].isEqual(t[t.length-1])&&t.push(t[0])}result(){return this._line&&this._lines.push(this._line),0===this._lines.length?null:this._lines}}class a{static simplify(t,i,s){if(!s)return;const e=-i,n=t+i,r=-i,h=t+i,l=[],o=[],_=s.length;for(let t=0;t<_;++t){const i=s[t];if(!i||i.length<2)continue;let a,_=i[0];const u=i.length;for(let s=1;s<u;++s)a=i[s],_.x===a.x&&(_.x<=e&&(_.y>a.y?(l.push(t),l.push(s),l.push(0),l.push(-1)):(o.push(t),o.push(s),o.push(0),o.push(-1))),_.x>=n&&(_.y<a.y?(l.push(t),l.push(s),l.push(1),l.push(-1)):(o.push(t),o.push(s),o.push(1),o.push(-1)))),_.y===a.y&&(_.y<=r&&(_.x<a.x?(l.push(t),l.push(s),l.push(2),l.push(-1)):(o.push(t),o.push(s),o.push(2),o.push(-1))),_.y>=h&&(_.x>a.x?(l.push(t),l.push(s),l.push(3),l.push(-1)):(o.push(t),o.push(s),o.push(3),o.push(-1)))),_=a}if(0===l.length||0===o.length)return;a.fillParent(s,o,l),a.fillParent(s,l,o);const u=[];a.calcDeltas(u,o,l),a.calcDeltas(u,l,o),a.addDeltas(u,s)}static fillParent(t,i,s){const e=s.length,n=i.length;for(let r=0;r<n;r+=4){const n=i[r],h=i[r+1],a=i[r+2],o=t[n][h-1],_=t[n][h];let u=8092,c=-1;for(let i=0;i<e;i+=4){if(s[i+2]!==a)continue;const e=s[i],n=s[i+1],r=t[e][n-1],h=t[e][n];switch(a){case 0:case 1:if(l(o.y,r.y,h.y)&&l(_.y,r.y,h.y)){const t=Math.abs(h.y-r.y);t<u&&(u=t,c=i)}break;case 2:case 3:if(l(o.x,r.x,h.x)&&l(_.x,r.x,h.x)){const t=Math.abs(h.x-r.x);t<u&&(u=t,c=i)}}}i[r+3]=c}}static calcDeltas(t,i,s){const e=i.length;for(let n=0;n<e;n+=4){const e=[],r=a.calcDelta(n,i,s,e);t.push(i[n]),t.push(i[n+1]),t.push(i[n+2]),t.push(r)}}static calcDelta(t,i,s,e){const n=i[t+3];if(-1===n)return 0;const r=e.length;return r>1&&e[r-2]===n?0:(e.push(n),a.calcDelta(n,s,i,e)+1)}static addDeltas(t,i){const s=t.length;let e=0;for(let i=0;i<s;i+=4){const s=t[i+3];s>e&&(e=s)}for(let n=0;n<s;n+=4){const s=i[t[n]],r=t[n+1],h=e-t[n+3];switch(t[n+2]){case 0:s[r-1].x-=h,s[r].x-=h,1===r&&(s[s.length-1].x-=h),r===s.length-1&&(s[0].x-=h);break;case 1:s[r-1].x+=h,s[r].x+=h,1===r&&(s[s.length-1].x+=h),r===s.length-1&&(s[0].x+=h);break;case 2:s[r-1].y-=h,s[r].y-=h,1===r&&(s[s.length-1].y-=h),r===s.length-1&&(s[0].y-=h);break;case 3:s[r-1].y+=h,s[r].y+=h,1===r&&(s[s.length-1].y+=h),r===s.length-1&&(s[0].y+=h)}}}}const l=(t,i,s)=>t>=i&&t<=s||t>=s&&t<=i},13195(t,i,s){s.d(i,{GW:()=>p,IU:()=>f,Jo:()=>h,MG:()=>r,Wh:()=>c,aA:()=>o,cP:()=>R,os:()=>_,p6:()=>m,pJ:()=>a,ru:()=>d,s3:()=>g,wV:()=>x,yM:()=>b,z0:()=>y});var e=s(95108),n=s(6774);const r=Number.POSITIVE_INFINITY,h=Math.PI,a=2*h,l=128/h,o=256/360,_=h/180,u=1/Math.LN2;function c(t,i){return(t%=i)>=0?t:t+i}function y(t){return c(t*l,256)}function x(t){return c(t*o,256)}function m(t){return Math.log(t)*u}function p(t,i,s){return t*(1-s)+i*s}function f(t){return 8+Math.max(16*(t-14),0)}function g(t,i,s){let e,n,r,h=0;for(const a of s){e=a.length;for(let s=1;s<e;++s)n=a[s-1],r=a[s],n.y>i!=r.y>i&&((r.x-n.x)*(i-n.y)-(r.y-n.y)*(t-n.x)>0?h++:h--)}return 0!==h}function d(t,i,s,n){let r,h,a,l;const o=n*n;for(const n of s){const s=n.length;if(!(s<2)){r=n[0].x,h=n[0].y;for(let _=1;_<s;++_){if(a=n[_].x,l=n[_].y,(0,e.Ng)(t,i,r,h,a,l)<o)return!0;r=a,h=l}}}return!1}function R(t,i){if(0===i||Number.isNaN(i))return t;const s=[],e=new n.bR(0,0),r=new n.bR(0,0),h=new n.bR(0,0);for(let a=0;a<t.length;a++){const l=t[a],o=[];for(let t=0;t<l.length;t++){const s=l[t-1],a=l[t],_=l[t+1];0===t?e.setCoords(0,0):e.assignSub(a,s).normalize().rightPerpendicular(),t===l.length-1?r.setCoords(0,0):r.assignSub(_,a).normalize().rightPerpendicular(),h.assignAdd(e,r).normalize();const u=h.x*r.x+h.y*r.y;0!==u&&h.scale(1/u),o.push(n.bR.add(a,h.scale(i)))}s.push(o)}return s}function b(t,i,s,e){const r=new n.bR(t[0],t[1]);if(r.scale(e),"viewport"===i){const t=-s*(Math.PI/180),i=Math.cos(t),e=Math.sin(t);r.rotate(i,e)}return r}},76213(t,i,s){s.d(i,{C2:()=>a,CQ:()=>e,DY:()=>n,GR:()=>p,Gh:()=>o,MZ:()=>y,Rm:()=>h,TB:()=>m,U5:()=>l,_M:()=>_,cp:()=>f,eG:()=>r,hM:()=>c,ie:()=>u,yv:()=>x});const e=512,n=29,r=24,h=3,a=4,l=6,o=1.05,_=3,u=3,c=4,y=1,x=1024,m=256,p=32,f=512},89518(t,i,s){s.d(i,{M9:()=>h,Ss:()=>a,fw:()=>o,ws:()=>l});const e=new Float32Array(1),n=new Uint32Array(e.buffer);function r(t){return e[0]=t,n[0]}function h(t,i){return 65535&t|i<<16}function a(t,i,s,e){return 255&t|(255&i)<<8|(255&s)<<16|e<<24}function l(t,i){return 255&t|(255&i)<<8}function o(t){const i=r(t),s=i>>>31;let e=i>>>23&255,n=8388607&i;return e-=127,e>15?s<<15|31744:e<-25?0:(e<-14&&(n+=8388608,n/=2**(-14-e),e=-15),e+=15,n/=8192,n=function(t){const i=Math.floor(t),s=t-i;return i<1023&&(s>.5||.5===s&&i%2==1)?i+1:i}(n),s<<15|e<<10|n)}},68572(t,i,s){s.d(i,{H:()=>h,q:()=>a}),s(44208);var e=s(23304),n=s(63907);function r(t){switch(t){case n.pe.BYTE:case n.pe.UNSIGNED_BYTE:return 1;case n.pe.SHORT:case n.pe.UNSIGNED_SHORT:case n.pe.HALF_FLOAT:return 2;case n.pe.FLOAT:case n.pe.INT:case n.pe.UNSIGNED_INT:return 4}}function h(t){const i=[],s=[],e=[];for(const n of t){const t=r(n.type)*n.count;switch(t%2||t%4||4){case 4:i.push(n);continue;case 2:s.push(n);continue;case 1:e.push(n);continue;default:throw new Error("Found unexpected dataType byte count")}}return i.push(...s),i.push(...e),i}class a{static fromVertexSpec(t,i){const{attributes:s,optionalAttributes:e}=t;let n,l,o;const _=[];for(const t in s){if(s[t].otherSource)continue;const i=s[t];"position"===i.pack?n={...i,name:t,offset:0}:"id"===i.pack?l={...i,name:t,offset:4}:"bitset"===t?o={...i,name:t,offset:7}:_.push({...i,name:t})}for(const t in e)if(!0===i[t]){const i=e[t];_.push({...i,name:t})}const u=h(_),c=[];let y=8,x=1;for(const t of u)c.push({...t,offset:y}),y+=r(t.type)*t.count,t.packAlternating&&(x=Math.max(t.packAlternating.count,x));const m=Uint32Array.BYTES_PER_ELEMENT,p=y%m;return new a(n,l,o,c,y+(p?m-p:0),x)}constructor(t,i,s,e,n,r){this.position=t,this.id=i,this.bitset=s,this.standardAttributes=e,this.stride=n,this.packVertexCount=r,e.push(s),this._attributes=[t,i,s,...e]}get attributeLayout(){if(!this._attributeLayout){const t=(0,e.hU)(this._attributes),i=this._attributes.map(t=>({name:t.name,count:t.count,offset:t.offset,type:t.type,packPrecisionFactor:t.packPrecisionFactor,normalized:t.normalized??!1}));this._attributeLayout={attributes:i,hash:t,stride:this.stride}}return this._attributeLayout}}},23304(t,i,s){s.d(i,{Ph:()=>r,Z0:()=>h,hU:()=>n});var e=s(799);function n(t){const i=t.map(({name:t,count:i,type:s})=>`${t}.${i}.${s}`).join(",");return(0,e.Wm)(i)}function r(t,i,s,e,n,h,a){if(t.primitiveName===i){let i=e?.readWithDefault(n,h,t[s]&&a);return"text"===t.type&&(i=i.toString()),void(t[s]=i)}if("type"in t&&null!=t.type){if(t.effects)for(const l of t.effects)r(l,i,s,e,n,h,a);switch(t.type){case"CIMPointSymbol":case"CIMLineSymbol":case"CIMPolygonSymbol":if(t.symbolLayers)for(const l of t.symbolLayers)r(l,i,s,e,n,h,a);break;case"CIMTextSymbol":t.symbol&&r(t.symbol,i,s,e,n,h,a);break;case"CIMHatchFill":t.lineSymbol&&r(t.lineSymbol,i,s,e,n,h,a);break;case"CIMPictureMarker":case"CIMCharacterMarker":case"CIMVectorMarker":if(t.markerPlacement&&r(t.markerPlacement,i,s,e,n,h,a),"CIMVectorMarker"===t.type&&t.markerGraphics)for(const l of t.markerGraphics)r(l,i,s,e,n,h,a),r(l.symbol,i,s,e,n,h,a)}}}function h(t){const i=Math.max(1.25*t.width,20);return null!=t.effects&&t.effects.length>0?400:i}},63907(t,i,s){s.d(i,{$0:()=>c,C5:()=>u,CQ:()=>g,H0:()=>r,SB:()=>l,WR:()=>e,XN:()=>h,iE:()=>a,ld:()=>o,nI:()=>m,pe:()=>n,r6:()=>y,uH:()=>f,vt:()=>_,xL:()=>p,yI:()=>x});const e={POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},n={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},r={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},h=Object.values(r),a={DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},l={DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},o={FLOAT:n.FLOAT,UNSIGNED_BYTE:n.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:n.BYTE,UNSIGNED_SHORT:n.UNSIGNED_SHORT,SHORT:n.SHORT,UNSIGNED_INT:n.UNSIGNED_INT,INT:n.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269},_={Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12},u=1029,c=0,y=36064,x=36065,m=33306,p=36096,f=36128,g={COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497}}}]);
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8449],{13069(e,t,n){n.d(t,{AG:()=>a,lk:()=>o,vD:()=>s,yS:()=>i});const r="randomUUID"in crypto;function o(){if(r)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function i(){return`{${o().toUpperCase()}}`}function s(){return`{${o()}}`}function a(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},65806(e,t,n){n.d(t,{g:()=>s});var r=n(51850),o=n(91218),i=n(9762);function s(e,t,n,r){if((0,o.canProjectWithoutEngine)(e.spatialReference,n))return a[0]=e.x,a[1]=e.y,a[2]=e.z??0,(0,i.projectBuffer)(a,e.spatialReference,0,t,n,0);const s=(0,o.tryProject)(e,n,r);return!!s&&(t[0]=s.x,t[1]=s.y,t[2]=s.z??0,!0)}const a=(0,r.vt)()},27993(e,t,n){n.d(t,{F:()=>a});var r=n(91218),o=n(16930),i=n(9762),s=n(65806);function a(e,t,n,o){return!(null==t||null==o||e.length<2)&&((0,r.canProjectWithoutEngine)(t,o)?(0,i.projectBuffer)(e,t,0,n,o,0,1):(u.x=e[0],u.y=e[1],u.z=e[2],u.spatialReference=t,(0,s.g)(u,n,o)))}const u={x:0,y:0,z:0,hasZ:!0,hasM:!1,spatialReference:o.A.WGS84,type:"point"}},73836(e,t,n){n.d(t,{A:()=>v});var r=n(5482),o=n(69540),i=n(25482),s=n(91429),a=n(58083),u=n(9093),c=n(67026),l=n(82534),d=n(51850),f=n(24770);let v=class extends((0,o.OU)(i.o)){constructor(e){super(e),this.translation=(0,d.vt)(),this.rotationAxis=(0,d.ci)(f.up),this.rotationAngle=0,this.scale=(0,d.fA)(1,1,1)}get rotation(){return(0,f.i4)(this.rotationAxis,this.rotationAngle)}set rotation(e){this.rotationAxis=(0,d.o8)((0,f.yo)(e)),this.rotationAngle=(0,f.g7)(e)}get localMatrix(){const e=(0,u.vt)();return(0,c.x8)(m,(0,f.yo)(this.rotation),(0,f.$I)(this.rotation)),(0,a.o1)(e,m,this.translation,this.scale),e}get localMatrixInverse(){return(0,a.B8)((0,u.vt)(),this.localMatrix)}equals(e){return this===e||null!=e&&(0,a.t2)(this.localMatrix,e.localMatrix)}};(0,r.Cg)([(0,s.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],v.prototype,"translation",void 0),(0,r.Cg)([(0,s.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],v.prototype,"rotationAxis",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,nonNullable:!0,json:{write:!0}})],v.prototype,"rotationAngle",void 0),(0,r.Cg)([(0,s.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],v.prototype,"scale",void 0),(0,r.Cg)([(0,s.MZ)()],v.prototype,"rotation",null),(0,r.Cg)([(0,s.MZ)()],v.prototype,"localMatrix",null),(0,r.Cg)([(0,s.MZ)()],v.prototype,"localMatrixInverse",null),v=(0,r.Cg)([(0,s.$K)("esri.geometry.support.MeshTransform")],v);const m=(0,l.vt)()},24770(e,t,n){n.d(t,{$I:()=>h,AU:()=>m,Cr:()=>d,g7:()=>x,i4:()=>l,ui:()=>f,up:()=>y,vt:()=>c,yo:()=>p});var r=n(34727),o=n(58083),i=n(67026),s=n(82534),a=n(35522),u=n(51850);function c(e=y){return[e[0],e[1],e[2],e[3]]}function l(e,t,n=c()){return(0,a.C)(n,e),n[3]=t,n}function d(e,t,n){return(0,a.$A)(n,e,t),(0,a.S8)(n,n),n[3]=-(0,a.g7)(e,t),n}function f(e,t=c()){const n=(0,o.l)(w,e);return g(t,(0,r.KJ)((0,i.Xd)(t,n))),t}function v(e,t,n=c()){return(0,i.x8)(w,e,h(e)),(0,i.x8)(b,t,h(t)),(0,i.lw)(w,b,w),g(n,(0,r.KJ)((0,i.Xd)(n,w)))}function m(e,t,n,r=c()){return l(u.Cw,e,C),l(u.JP,t,M),l(u.Cb,n,S),v(C,M,C),v(C,S,r),r}function p(e){return e}function x(e){return e[3]}function h(e){return(0,r.kU)(e[3])}function g(e,t){return e[3]=t,e}const y=[0,0,1,0],w=(0,s.vt)(),b=(0,s.vt)(),C=(c(),c()),M=c(),S=c()},20557(e,t,n){n.d(t,{Fm:()=>u,Hz:()=>x,JQ:()=>p,JZ:()=>A,ND:()=>g,R_:()=>s,U9:()=>m,_h:()=>w,be:()=>d,fE:()=>v,fu:()=>o,nr:()=>h,oF:()=>i,qv:()=>S,rP:()=>f,rq:()=>c,z$:()=>l});const r=[["binary","application/octet-stream","bin",""]];function o(e,t){return null!=b(t.name,e?.supportedFormats??[])}function i(e,t){if(!e)return!1;const n=c(t,e.supportedFormats??[]);return null!=n&&e.editFormats.includes(n)}function s(e,t){return C(function(e,t){const n=e.toLowerCase();return y(t).find(e=>M(e)===n)}(e,t))}function a(e,t){return C(b(e,t))}function u(e,t){return M(w(e,t))}function c(e,t){return a(e.name,t)??s(e.type,t)}function l(e,t,n){return s(e,n)??a(t,n)}function d(e,t){if(!e||!w(e,t))return;const n=/^3d_(.+)$/iu.exec(e)?.[1]?.toLowerCase();return n||void 0}function f(e,t){return(e??[]).map(e=>d(e,t)).filter(e=>!!e)}function v(e,t){return C(t.find(n=>d(C(n),t)===e))}function m({supportedFormats:e}){return l("model/gltf-binary","glb",e)}function p(e){const t=m(e);return null!=t&&e.editFormats.includes(t)}function x(e){if(!e)return null;const t=m(e),n=function({supportedFormats:e}){return l("model/gltf+json","gltf",e)}(e);let r=null;for(const o of e.queryFormats){if(o===t)return o;o===n&&(r=o)}return r}function h({supportedFormats:e}){return l("application/esri3do-SR_world","wld",e)}function g({supportedFormats:e}){return l("application/esri3do-SR_prj","prj",e)}function y(e){return[...r,...e]}function w(e,t){return y(t).find(t=>C(t)===e)}function b(e,t){const n=e.toLowerCase();return y(t).find(e=>S(e).some(e=>n.endsWith(e)))}function C(e){return e?.[0]}function M(e){return e?.[1].toLowerCase()}function S(e){return e?.[2].split(",").map(e=>e.toLowerCase())??[]}function A(e){return e.tables?.find(e=>"assetMaps"===e.role)}},49255(e,t,n){function r(e){return function(e){return c(e)||4===e}(e)||function(e){return 5===(t=e)||6===t||7===t||8===e||9===e;var t}(e)}function o(e){return 10===e||11===e}function i(e){return u(e)||o(e)}function s(e){return 1===e}function a(e){return 2===e}function u(e){return 0===e||function(e){return s(e)||a(e)}(e)}function c(e){return function(e){return u(e)||o(e)}(e)||l(e)}function l(e){return 3===e}n.d(t,{Ex:()=>o,Rb:()=>a,Sp:()=>s,_o:()=>u,eh:()=>l,gr:()=>c,i3:()=>i,uw:()=>r})},53466(e,t,n){n.d(t,{U:()=>o});var r=n(31821);function o(e,t){switch(t.textureCoordinateType){case 1:return e.attributes.add("uv0","vec2"),e.varyings.add("vuv0","vec2"),void e.vertex.code.add(r.H`void forwardTextureCoordinates() { vuv0 = uv0; }`);case 2:return e.attributes.add("uv0","vec2"),e.attributes.add("uvRegion","vec4"),e.varyings.add("vuv0","vec2"),e.varyings.add("vuvRegion","vec4"),void e.vertex.code.add(r.H`void forwardTextureCoordinates() {
|
|
2
|
-
vuv0 = uv0;
|
|
3
|
-
vuvRegion = uvRegion;
|
|
4
|
-
}`);default:t.textureCoordinateType;case 0:return void e.vertex.code.add(r.H`void forwardTextureCoordinates() {}`);case 3:return}}},99208(e,t,n){n.d(t,{r:()=>s});var r=n(53466),o=n(31821);function i(e){e.fragment.code.add(o.H`vec4 textureAtlasLookup(sampler2D tex, vec2 textureCoordinates, vec4 atlasRegion) {
|
|
5
|
-
vec2 atlasScale = atlasRegion.zw - atlasRegion.xy;
|
|
6
|
-
vec2 uvAtlas = fract(textureCoordinates) * atlasScale + atlasRegion.xy;
|
|
7
|
-
float maxdUV = 0.125;
|
|
8
|
-
vec2 dUVdx = clamp(dFdx(textureCoordinates), -maxdUV, maxdUV) * atlasScale;
|
|
9
|
-
vec2 dUVdy = clamp(dFdy(textureCoordinates), -maxdUV, maxdUV) * atlasScale;
|
|
10
|
-
return textureGrad(tex, uvAtlas, dUVdx, dUVdy);
|
|
11
|
-
}`)}function s(e,t){const{textureCoordinateType:n}=t;if(0===n||3===n)return;e.include(r.U,t);const s=2===n;s&&e.include(i),e.fragment.code.add(o.H`
|
|
12
|
-
vec4 textureLookup(sampler2D tex, vec2 uv) {
|
|
13
|
-
return ${s?"textureAtlasLookup(tex, uv, vuvRegion)":"texture(tex, uv)"};
|
|
14
|
-
}
|
|
15
|
-
`)}},22911(e,t,n){n.d(t,{NL:()=>p});var r=n(34727),o=n(49255),i=n(99208),s=n(65261),a=n(40710),u=n(33079),c=n(28421),l=n(20304),d=n(31821),f=n(15976),v=n(63761),m=n(66211);function p(e,t){if(!(0,o._o)(t.output))return;e.fragment.include(s.C);const{emissionSource:n,hasEmissiveTextureTransform:p,bindType:x}=t,h=3===n||4===n||5===n;h&&(e.include(i.r,t),e.fragment.uniforms.add(1===x?new v.N("texEmission",e=>e.textureEmissive):new f.o("texEmission",e=>e.textureEmissive)));const g=2===n||h;g&&e.fragment.uniforms.add(1===x?new u.t("emissiveBaseColor",e=>e.emissiveBaseColor):new a.W("emissiveBaseColor",e=>e.emissiveBaseColor));const y=0!==n;if(y&&7!==n&&6!==n&&4!==n&&5!==n){const t=e=>(0,r.qE)(e??0,0,m.bS);e.fragment.uniforms.add(1===x?new l.m("emissiveStrength",e=>t(e.emissiveStrength)):new c.J("emissiveStrength",e=>t(e.emissiveStrength)))}const w=7===n,b=5===n,C=1===n||6===n||w;e.fragment.code.add(d.H`
|
|
16
|
-
vec4 getEmissions(vec3 symbolColor) {
|
|
17
|
-
vec4 emissions = ${g?b?"emissiveSource == 0 ? vec4(emissiveBaseColor, 1.0): vec4(linearizeGamma(symbolColor), 1.0)":"vec4(emissiveBaseColor, 1.0)":C?w?"emissiveSource == 0 ? vec4(0.0): vec4(linearizeGamma(symbolColor), 1.0)":"vec4(linearizeGamma(symbolColor), 1.0)":"vec4(0.0)"};
|
|
18
|
-
${(0,d.If)(h,`${(0,d.If)(b,`if(emissiveSource == 0) {\n vec4 emissiveFromTex = textureLookup(texEmission, ${p?"emissiveUV":"vuv0"});\n emissions *= vec4(linearizeGamma(emissiveFromTex.rgb), emissiveFromTex.a);\n }`,`vec4 emissiveFromTex = textureLookup(texEmission, ${p?"emissiveUV":"vuv0"});\n emissions *= vec4(linearizeGamma(emissiveFromTex.rgb), emissiveFromTex.a);`)}\n emissions.w = emissions.rgb == vec3(0.0) ? 0.0: emissions.w;`)}
|
|
19
|
-
${(0,d.If)(y,`emissions.rgb *= emissiveStrength * ${d.H.float(1)};`)}
|
|
20
|
-
return emissions;
|
|
21
|
-
}
|
|
22
|
-
`)}},65261(e,t,n){n.d(t,{C:()=>i});var r=n(40876),o=n(31821);function i(e){e.constants.add("GAMMA","float",r.Tf).constants.add("INV_GAMMA","float",1/r.Tf).code.add(o.H`vec3 delinearizeGamma(vec3 color) {
|
|
23
|
-
return pow(color, vec3(INV_GAMMA));
|
|
24
|
-
}
|
|
25
|
-
vec4 delinearizeGamma(vec4 color) {
|
|
26
|
-
return vec4(delinearizeGamma(color.rgb), color.a);
|
|
27
|
-
}
|
|
28
|
-
vec3 linearizeGamma(vec3 color) {
|
|
29
|
-
return pow(color, vec3(GAMMA));
|
|
30
|
-
}`)}},40710(e,t,n){n.d(t,{W:()=>o});var r=n(74333);class o extends r.n{constructor(e,t,n){super(e,"vec3",2,(r,o,i,s)=>r.setUniform3fv(e,t(o,i,s),n))}}},33079(e,t,n){n.d(t,{t:()=>o});var r=n(74333);class o extends r.n{constructor(e,t,n){super(e,"vec3",1,(r,o,i)=>r.setUniform3fv(e,t(o,i),n))}}},28421(e,t,n){n.d(t,{J:()=>o});var r=n(74333);class o extends r.n{constructor(e,t,n){super(e,"float",2,(r,o,i)=>r.setUniform1f(e,t(o,i),n))}}},20304(e,t,n){n.d(t,{m:()=>o});var r=n(74333);class o extends r.n{constructor(e,t,n){super(e,"float",1,(r,o,i)=>r.setUniform1f(e,t(o,i),n))}}},15976(e,t,n){n.d(t,{o:()=>o});var r=n(74333);class o extends r.n{constructor(e,t,n){super(e,"sampler2D",2,(r,o,i)=>r.bindTexture(e,t(o,i),n?.(o,i)))}}},63761(e,t,n){n.d(t,{N:()=>o});var r=n(74333);class o extends r.n{constructor(e,t){super(e,"sampler2D",1,(n,r,o)=>n.bindTexture(e,t(r,o)))}}},31821(e,t,n){n.d(t,{H:()=>r,If:()=>o});const r=(e,...t)=>{let n="";for(let r=0;r<t.length;r++)n+=e[r]+t[r];return n+=e[e.length-1],n};function o(e,t,n=""){return e?t:n}r.int=e=>e.toFixed(),r.uint=e=>`${Math.max(0,e).toFixed()}u`,r.hexuint=e=>`0x${Math.round(Math.max(0,e)).toString(16)}u`,r.float=e=>e.toPrecision(8)},66211(e,t,n){n.d(t,{Hp:()=>o,bS:()=>r});const r=16;function o(e,t){t.useFloatBlend?(e.constants.add("floatBlendOutputScale","float",1),e.constants.add("floatBlendInputScale","float",1)):(e.constants.add("floatBlendOutputScale","float",1/16),e.constants.add("floatBlendInputScale","float",16)),e.constants.add("maxEmissiveStrength","float",r)}},74333(e,t,n){n.d(t,{n:()=>r});class r{constructor(e,t,n,r,o=null){if(this.name=e,this.type=t,this.arraySize=o,this.bind={0:null,1:null,2:null},r)switch(n){case void 0:break;case 0:this.bind[0]=r;break;case 1:this.bind[1]=r;break;case 2:this.bind[2]=r}}equals(e){return this.type===e.type&&this.name===e.name&&this.arraySize===e.arraySize}}},66655(e,t,n){async function r(e){const t=(await n.e(8457).then(n.bind(n,38457)).then(e=>e.default)).getInstance();return await t.load(e)}async function o(){return c(await Promise.resolve().then(n.bind(n,83300)))}async function i(){return c(await Promise.resolve().then(n.bind(n,16939)))}async function s(){return c(await Promise.resolve().then(n.bind(n,19211)))}async function a(){return c(await Promise.resolve().then(n.bind(n,35063)))}async function u(){return(await Promise.resolve().then(n.bind(n,1193))).default}function c(e){return e.default??e}async function l(){const[e,t,n,c,l,d]=await Promise.all([o(),i(),s(),a(),u(),r()]);return{Mesh:e,MeshComponent:t,MeshMaterial:n,MeshTexture:c,MeshVertexAttributes:l,panoramicMeshManager:d}}async function d(){return c(await n.e(5243).then(n.bind(n,95243)))}async function f(){return c(await Promise.all([n.e(7373),n.e(3500),n.e(1003)]).then(n.bind(n,1003)))}n.d(t,{DN:()=>d,Wn:()=>f,Zg:()=>l})},21060(e,t,n){n.d(t,{createImageSphere:()=>l,loadMeshes:()=>m,loadPyramid:()=>v,loadRaster:()=>d}),n(52106),n(11254),n(7762);var r=n(49186),o=(n(34727),n(17676)),i=n(19211),s=n(35063),a=n(40118),u=(n(27845),n(68548),n(28208)),c=n(66655);function l({data:e,center:t=u.ZH,size:n=u.vK,horizonPitch:r=0,horizonYaw:o=0,horizonRoll:c=0}){const l=t.clone();l.z=-n/2;const d=(0,a.wh)(l,{size:n,densificationFactor:2,vertexSpace:"georeferenced",material:new i.default({colorTexture:new s.default({data:e})})});if(d.components[0].trustSourceNormals=!0,d.vertexAttributes.uv){const e=d.vertexAttributes.uv.length??0;for(let t=0;t<e;t++)d.vertexAttributes.uv[2*t+0]=1-d.vertexAttributes.uv[2*t+0]}return d.rotate(r,c,o,{origin:d.extent.center}),d.centerAt(l),d}async function d(e,t){const n=await(0,c.Wn)(),r=await n.open({url:e,ioConfig:{skipExtensions:["jgw","aux.xml"],skipMapInfo:!0},...t});return(0,o.Te)(t),f(r,{url:e})}const f=(e,t)=>{if(!e)throw new r.A("panoramic-viewer:missing-raster","Raster data could not be loaded",t);return e};async function v(e,t,n){const r=await(0,c.DN)();return(0,o.Te)(n),new r({raster:e,horizonPitch:t.pitch,horizonYaw:t.yaw,horizonRoll:t.roll})}async function m(e,t){return e?.length?await Promise.all(e.map(e=>e.loadMesh(t))):[]}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3202,4580,8948],{68197(e,t,n){n.d(t,{A:()=>u});var r=n(40876),i=n(4576),s=n(34727),o=n(56507);function a(e){return(0,s.qE)((0,o.Vr)(e),0,255)}function l(e,t){const n=e.toString(16).padStart(2,"0");return t?n.slice(0,1):n}class u{static blendColors(e,t,n,r=new u){return r.r=Math.round(e.r+(t.r-e.r)*n),r.g=Math.round(e.g+(t.g-e.g)*n),r.b=Math.round(e.b+(t.b-e.b)*n),r.a=e.a+(t.a-e.a)*n,r._sanitize()}static fromRgb(e,t){const n=(0,r.lT)(e);return n?u.fromArray(n,t):null}static fromHex(e,t=new u){const n=(0,r.oW)(e);return n?u.fromArray(n,t):null}static fromArray(e,t=new u){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const n=(0,r.Eq)(e);return n?u.fromArray(n,t):null}static fromJSON(e){return null!=e?new u([e[0],e[1],e[2],(e[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(e){return e??=[0,0,0,0],e[0]=this.r/255,e[1]=this.g/255,e[2]=this.b/255,e[3]=null!=this.a?this.a:1,e}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(e){if("string"==typeof e)u.fromString(e,this);else if((0,i.yc)(e))u.fromArray(e,this);else{const t=e;this._set(t.r??0,t.g??0,t.b??0,t.a??1),e instanceof u||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(e){const t=e?.capitalize??!1,n=e?.digits??6,r=3===n||4===n,i=4===n||8===n,s=`#${l(this.r,r)}${l(this.g,r)}${l(this.b,r)}${i?l(Math.round(255*this.a),r):""}`;return t?s.toUpperCase():s}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=0){const t=a(this.r),n=a(this.g),r=a(this.b);return 0===e||1!==this.a?[t,n,r,a(255*this.a)]:[t,n,r]}clone(){return new u(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=(0,r.c1)(this.r),this.g=(0,r.c1)(this.g),this.b=(0,r.c1)(this.b),this.a=(0,r.G1)(this.a),this}_set(e,t,n,r){this.r=e,this.g=t,this.b=n,this.a=r}}u.prototype.declaredClass="esri.Color"},52106(e,t,n){n.d(t,{A:()=>C});var r,i,s=n(5482),o=n(37838),a=n(69540),l=n(51447),u=n(25482),c=n(53966),h=n(36708),f=n(24326),d=n(91429),p=n(12195),m=n(65864),g=n(50498),y=n(55156),M=n(60950),b=n(54339),I=n(94128),w=n(33910);function v(e){if(null==e)return null;const t={};for(const n in e){const r=e[n];r&&(t[n]=r.toJSON())}return 0!==Object.keys(t).length?t:null}let C=class extends((0,a.OU)(u.o)){static{r=I.Z}static{i=this}constructor(e){super(e),this[r]=!0,this.distance=null,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this.statisticsAggregatedIds=void 0,this._version=0,Object.defineProperty(this,"uid",{value:(0,f.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,l.eF)(c.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new i({aggregateGeometries:this.aggregateGeometries,statisticsAggregatedIds:this.statisticsAggregatedIds,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=(0,M.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const n=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[n,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const n=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",n,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,y.I)(this.origin);if(e)return(0,b.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,b.r)(this,t):null}getGlobalId(){const e=(0,y.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){const e={aggregateGeometries:v(this.aggregateGeometries),geometry:this.geometry?.toJSON()??null,symbol:this.symbol?.toJSON()??null,attributes:(0,p.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null};return this.statisticsAggregatedIds?.length&&(e.aggregateIds=[...this.statisticsAggregatedIds]),null!=this.distance&&(e.distance=this.distance),e}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const n={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",n,n,e.action)}}_notifyLayer(e,t,n,r){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:n};"origin-transform"===e&&(i.action=r),"attributes"===e&&(i.attributeName=r),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([(0,h.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,h.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,s.Cg)([(0,d.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const n in e){const r=(0,m.rS)(e[n]);r&&(t[n]=r)}return 0!==Object.keys(t).length?t:null}}})],C.prototype,"aggregateGeometries",null),(0,s.Cg)([(0,d.MZ)({value:null})],C.prototype,"attributes",null),(0,s.Cg)([(0,d.MZ)({value:null,types:g.yR,json:{read:m.rS}})],C.prototype,"geometry",null),(0,s.Cg)([(0,d.MZ)()],C.prototype,"distance",void 0),(0,s.Cg)([(0,d.MZ)({type:Boolean})],C.prototype,"isAggregate",void 0),(0,s.Cg)([(0,d.MZ)({clonable:!1})],C.prototype,"layer",void 0),(0,s.Cg)([(0,d.MZ)({clonable:"reference"})],C.prototype,"origin",void 0),(0,s.Cg)([(0,d.MZ)({type:o.A,value:null})],C.prototype,"popupTemplate",null),(0,s.Cg)([(0,d.MZ)({clonable:"reference"})],C.prototype,"sourceLayer",void 0),(0,s.Cg)([(0,d.MZ)({json:{name:"aggregateIds",read:e=>e?.map(e=>Array.isArray(e)?JSON.stringify(e):e)}})],C.prototype,"statisticsAggregatedIds",void 0),(0,s.Cg)([(0,d.MZ)({value:null,types:w.Es})],C.prototype,"symbol",null),(0,s.Cg)([(0,d.MZ)({clonable:!1,json:{read:!1,write:!1}})],C.prototype,"_version",void 0),(0,s.Cg)([(0,d.MZ)({type:Boolean,value:!0})],C.prototype,"visible",null),C=i=(0,s.Cg)([(0,d.$K)("esri.Graphic")],C)},40876(e,t,n){n.d(t,{Eq:()=>d,G1:()=>m,TS:()=>s,Tf:()=>M,V6:()=>i,Vm:()=>p,ay:()=>l,c1:()=>g,c4:()=>o,j5:()=>u,lT:()=>h,oW:()=>c,xV:()=>I});const r={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 i(e){return!!r[e]||!!r[e.toLowerCase()]}function s(e){return r[e]??r[e.toLowerCase()]}function o(e){return[...s(e)]}function a(e,t,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?e+(t-e)*r:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function l(e,t,n,r=1){const i=(e%360+360)%360/360,s=n<=.5?n*(t+1):n+t-n*t,o=2*n-s;return[Math.round(255*a(o,s,i+1/3)),Math.round(255*a(o,s,i)),Math.round(255*a(o,s,i-1/3)),r]}function u(e){const t=e.length>5,n=t?8:4,r=(1<<n)-1,i=t?1:17,s=t?9===e.length:5===e.length;let o=Number("0x"+e.slice(1));if(isNaN(o))return null;const a=[0,0,0,1];let l;return s&&(l=o&r,o>>=n,a[3]=i*l/255),l=o&r,o>>=n,a[2]=i*l,l=o&r,o>>=n,a[1]=i*l,l=o&r,o>>=n,a[0]=i*l,a}function c(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),n=parseInt(e.slice(2,3),16),r=parseInt(e.slice(3,4),16),i=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,n+16*n,r+16*r,(i+16*i)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function h(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),n=t[1];if("rgb"===n&&3===e.length||"rgba"===n&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),f(t)}return f(e.map(e=>parseFloat(e)))}if("hsl"===n&&3===e.length||"hsla"===n&&4===e.length)return l(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function f(e){return e[0]=g(e[0]),e[1]=g(e[1]),e[2]=g(e[2]),e[3]=4===e.length?m(e[3]):1,e}function d(e){let t=i(e)?s(e):null;return t??=h(e),t??=c(e),t}function p(e){const t=d(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function m(e){return y(e,0,1)}function g(e){return Math.round(y(e,0,255))}function y(e,t,n){return e=Number(e),isNaN(e)?n:e<t?t:e>n?n:e}const M=2.2,b=1/M;function I(e){return e**b}},66344(e,t,n){n.d(t,{q:()=>a});const r=!!(0,n(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class i{get size(){return this._size}constructor(e=10485760,t=.3){this._maxSize=e,this._maxClientSizeRatio=t,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._clients=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._clients.clear(),this._db.clear()}register(e){this._clients.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._clients.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(e,t){const n=this._db.get(e.id+t);return n?.size??0}put(e,t,n,i,o){t=e.id+t;const a=this._db.get(t);if(a&&(this._size-=a.size,e.size-=a.size,this._db.delete(t),a.entry!==n&&this._notifyRemove(t,a.entry,a.size,0)),i>this._maxSize)return void this._notifyRemove(t,n,i,0);if(void 0===n)return void console.warn("Refusing to cache undefined entry ");if(!i||i<0)return r||console.warn(`Refusing to cache entry with size ${i} for key ${t}`),void this._notifyRemove(t,n,0,0);const l=1+Math.max(o,-4)- -3;this._db.set(t,new s(n,i,l)),this._size+=i,e.size+=i,this._checkSize()}updateSize(e,t){t=e.id+t;const n=this._db.get(t);if(!n)return;this._size-=n.size,e.size-=n.size;let r=n.entry.usedMemory;for(;r>this._maxSize;){const e=this._notifyRemove(t,n.entry,r,1);if(!(null!=e&&e>0))return void this._db.delete(t);r=e}n.size=r,this._size+=r,e.size+=r,this._checkSize()}pop(e,t){t=e.id+t;const n=this._db.get(t);if(n)return this._size-=n.size,e.size-=n.size,this._db.delete(t),++this._hit,n.entry;++this._miss}get(e,t){t=e.id+t;const n=this._db.get(t);if(void 0!==n)return this._db.delete(t),n.lives=n.lifetime,this._db.set(t,n),++this._hit,n.entry;++this._miss}peek(e,t){const n=this._db.get(e.id+t);return n?++this._hit:++this._miss,n?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},n=new Array;this._db.forEach((e,r)=>{const i=e.lifetime;n[i]=(n[i]||0)+e.size,this._clients.forEach(n=>{const{id:i,name:s}=n;if(r.startsWith(i)){const n=t[s]||0;t[s]=n+e.size}})});const r={};this._clients.forEach(e=>{const n=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const i=t[n]||0;t[n]=i,r[n]=Math.round(100*e.hitRate)+"%"}else r[n]="0%"});const i=Object.keys(t);i.sort((e,n)=>t[n]-t[e]),i.forEach(n=>e[n]=Math.round(t[n]/2**20)+"MB / "+r[n]);for(let t=n.length-1;t>=0;--t){const r=n[t];r&&(e["Priority "+(t+-3-1)]=Math.round(r/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._clients.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,n)=>{n.startsWith(t)&&(this._size-=e.size,this._db.delete(n),this._notifyRemove(n,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._clients.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,n]of this._db)t.startsWith(e.id)&&(yield n.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,n,r){const i=this._clients.get(e.split(o)[0])?.removeFunc,s=i?.(t,r,n);return"number"==typeof s?s:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._clients.forEach(e=>this._checkSizeLimits(this._maxClientSize,e)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const n=t??this;if(n.size<=e)return;const r=t?.id;let i=!0;for(;i;){i=!1;for(const[s,a]of this._db)if(0===a.lifetime&&(!r||s.startsWith(r))){const r=t??this._clients.get(s.split(o)[0]);if(this._purgeItem(s,a,r),n.size<=.9*e)return;i||=this._db.has(s)}}for(const[i,s]of this._db)if(!r||i.startsWith(r)){const r=t??this._clients.get(i.split(o)[0]);if(this._purgeItem(i,s,r),n.size<=.9*e)return}}_purgeItem(e,t,n){if(this._db.delete(e),t.lives<=1){this._size-=t.size,n&&(n.size-=t.size);const r=this._notifyRemove(e,t.entry,t.size,1);null!=r&&r>0&&(this._size+=r,n&&(n.size+=r),t.lives=t.lifetime,t.size=r,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new i(0);class s{constructor(e,t,n){this.entry=e,this.size=t,this.lifetime=n,this.lives=n}}const o=":";class a{constructor(e,t){this.removeFunc=t,this.id="",this.name="",this.size=0,this._storage=new i(e,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,t,n=1){this._storage.put(this,e,t,n,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},6797(e,t,n){n.d(t,{Ui:()=>f});var r=n(69622),i=n(7762),s=n(88620);const o=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function a(e){return e instanceof r.A}function l(e){return e instanceof i.A?Object.keys(e.items):a(e)?(0,s.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof i.A?e.items[t]:e[t]}function c(e){return e?e.declaredClass:null}function h(e,t){const n=e.diff;if(n&&"function"==typeof n)return n(e,t);const r=l(e),i=l(t);if(0===r.length&&0===i.length)return;if(!r.length||!i.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const s=i.filter(e=>!r.includes(e)),f=r.filter(e=>!i.includes(e)),d=r.filter(n=>i.includes(n)&&u(e,n)!==u(t,n)).concat(s,f).sort(),p=c(e);if(p&&o.has(p)&&d.length)return{type:"complete",oldValue:e,newValue:t};let m;const g=a(e)&&a(t);for(const r of d){const i=u(e,r),s=u(t,r);let o;if((g||"function"!=typeof i&&"function"!=typeof s)&&i!==s&&(null!=i||null!=s)){if(n&&n[r]&&"function"==typeof n[r])o=n[r]?.(i,s);else if(i instanceof Date&&s instanceof Date){if(i.getTime()===s.getTime())continue;o={type:"complete",oldValue:i,newValue:s}}else o="object"==typeof i&&"object"==typeof s&&c(i)===c(s)?h(i,s):{type:"complete",oldValue:i,newValue:s};null!=o&&(null!=m?m.diff[r]=o:m={type:"partial",diff:{[r]:o}})}}return m}function f(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&c(e)!==c(t)?{type:"complete",oldValue:e,newValue:t}:h(e,t)}},9093(e,t,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}n.d(t,{o8:()=>i,vt:()=>r,zK:()=>s});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:i,create:r,fromValues:function(e,t,n,r,i,s,o,a,l,u,c,h,f,d,p,m){return[e,t,n,r,i,s,o,a,l,u,c,h,f,d,p,m]}},Symbol.toStringTag,{value:"Module"}))},35522(e,t,n){n.d(t,{$A:()=>S,Bw:()=>s,C:()=>o,Cc:()=>_,DI:()=>v,Il:()=>$,Io:()=>M,Ln:()=>y,Om:()=>x,Qr:()=>h,Re:()=>u,S8:()=>C,T9:()=>m,WQ:()=>l,Z0:()=>k,_S:()=>d,aI:()=>E,ei:()=>A,fw:()=>z,g7:()=>F,gL:()=>T,hG:()=>b,hZ:()=>a,hs:()=>g,jb:()=>N,jk:()=>p,lo:()=>q,lw:()=>c,m3:()=>I,oW:()=>L,t2:()=>j,tn:()=>f,uE:()=>U,xg:()=>G,ze:()=>w});var r=n(51850),i=n(34304);function s(e){const t=e[0],n=e[1],r=e[2];return Math.sqrt(t*t+n*n+r*r)}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function a(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e}function l(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function u(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function c(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function h(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e}function f(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function d(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function p(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e}function m(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e}function g(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function y(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e}function M(e,t){const n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2];return Math.sqrt(n*n+r*r+i*i)}function b(e,t){const n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2];return n*n+r*r+i*i}function I(e){const t=e[0],n=e[1],r=e[2];return t*t+n*n+r*r}function w(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function v(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function C(e,t){const n=t[0],r=t[1],i=t[2];let s=n*n+r*r+i*i;return s>0&&(s=1/Math.sqrt(s),e[0]=t[0]*s,e[1]=t[1]*s,e[2]=t[2]*s),e}function x(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function S(e,t,n){const r=t[0],i=t[1],s=t[2],o=n[0],a=n[1],l=n[2];return e[0]=i*l-s*a,e[1]=s*o-r*l,e[2]=r*a-i*o,e}function _(e,t,n,r){const i=t[0],s=t[1],o=t[2];return e[0]=i+r*(n[0]-i),e[1]=s+r*(n[1]-s),e[2]=o+r*(n[2]-o),e}function k(e,t,n){const r=t[0],i=t[1],s=t[2];return e[0]=n[0]*r+n[4]*i+n[8]*s+n[12],e[1]=n[1]*r+n[5]*i+n[9]*s+n[13],e[2]=n[2]*r+n[6]*i+n[10]*s+n[14],e}function A(e,t,n){const r=t[0],i=t[1],s=t[2];return e[0]=r*n[0]+i*n[3]+s*n[6],e[1]=r*n[1]+i*n[4]+s*n[7],e[2]=r*n[2]+i*n[5]+s*n[8],e}function T(e,t,n){return z(e,t,n[0],n[1],n[2],n[3])}function z(e,t,n,r,i,s){const o=t[0],a=t[1],l=t[2],u=r*l-i*a,c=i*o-n*l,h=n*a-r*o,f=r*h-i*c,d=i*u-n*h,p=n*c-r*u,m=2*s;return e[0]=o+u*m+2*f,e[1]=a+c*m+2*d,e[2]=l+h*m+2*p,e}function F(e,t){C(R,e),C(P,t);const n=x(R,P);return n>1?0:n<-1?Math.PI:Math.acos(n)}const R=(0,r.vt)(),P=(0,r.vt)();function j(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function E(e,t){if(e===t)return!0;const n=e[0],r=e[1],s=e[2],o=t[0],a=t[1],l=t[2],u=(0,i.FD)();return Math.abs(n-o)<=u*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-a)<=u*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(s-l)<=u*Math.max(1,Math.abs(s),Math.abs(l))}function L(e,t,n){const r=n[0]-t[0],i=n[1]-t[1],s=n[2]-t[2];let o=r*r+i*i+s*s;return o>0?(o=1/Math.sqrt(o),e[0]=r*o,e[1]=i*o,e[2]=s*o,e):(e[0]=0,e[1]=0,e[2]=0,e)}const N=u,O=c,Z=h,G=M,q=b,$=s,U=I;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:l,angle:F,bezier:function(e,t,n,r,i,s){const o=1-s,a=o*o,l=s*s,u=a*o,c=3*s*a,h=3*l*o,f=l*s;return e[0]=t[0]*u+n[0]*c+r[0]*h+i[0]*f,e[1]=t[1]*u+n[1]*c+r[1]*h+i[1]*f,e[2]=t[2]*u+n[2]*c+r[2]*h+i[2]*f,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,n=1){return e[0]=Math.min(Math.max(e[0],t),n),e[1]=Math.min(Math.max(e[1],t),n),e[2]=Math.min(Math.max(e[2],t),n),e},copy:o,cross:S,crossAndNormalize:function(e,t,n){const r=t[0],i=t[1],s=t[2],o=n[0],a=n[1],l=n[2],u=i*l-s*a,c=s*o-r*l,h=r*a-i*o,f=Math.sqrt(u*u+c*c+h*h);return e[0]=u/f,e[1]=c/f,e[2]=h/f,e},direction:L,dist:G,distance:M,div:Z,divide:h,dot:x,equals:E,exactEquals:j,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,n,r,i,s){const o=s*s,a=o*(2*s-3)+1,l=o*(s-2)+s,u=o*(s-1),c=o*(3-2*s);return e[0]=t[0]*a+n[0]*l+r[0]*u+i[0]*c,e[1]=t[1]*a+n[1]*l+r[1]*u+i[1]*c,e[2]=t[2]*a+n[2]*l+r[2]*u+i[2]*c,e},inverse:v,len:$,length:s,lerp:_,max:m,min:p,mul:O,multiply:c,negate:w,normalize:C,random:function(e,t=1){const n=i.Ov,r=2*n()*Math.PI,s=2*n()-1,o=Math.sqrt(1-s*s)*t;return e[0]=Math.cos(r)*o,e[1]=Math.sin(r)*o,e[2]=s*t,e},rotateX:function(e,t,n,r){const i=[],s=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],s[0]=i[0],s[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),s[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),e[0]=s[0]+n[0],e[1]=s[1]+n[1],e[2]=s[2]+n[2],e},rotateY:function(e,t,n,r){const i=[],s=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],s[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),s[1]=i[1],s[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),e[0]=s[0]+n[0],e[1]=s[1]+n[1],e[2]=s[2]+n[2],e},rotateZ:function(e,t,n,r){const i=[],s=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],s[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),s[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),s[2]=i[2],e[0]=s[0]+n[0],e[1]=s[1]+n[1],e[2]=s[2]+n[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:g,scaleAndAdd:y,set:a,sign:d,sqrDist:q,sqrLen:U,squaredDistance:b,squaredLength:I,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:N,subtract:u,transformMat3:A,transformMat4:k,transformQuat:T,transformQuatValues:z},Symbol.toStringTag,{value:"Module"}))},16494(e,t,n){n.d(t,{Nd:()=>a,W5:()=>o});var r=n(17632);const i=["dd","dl","dt","h1","h2","h3","h4","h5","h6","sub","sup","animate","animatetransform","circle","clippath","defs","ellipse","g","image","line","lineargradient","marker","mask","path","pattern","polygon","polyline","radialgradient","rect","stop","svg","switch","symbol","text","textpath","tspan","use"].reduce((e,t)=>(e[t]=[],e),{}),s=["align","alink","alt","bgcolor","border","cellpadding","cellspacing","class","color","cols","colspan","coords","d","dir","face","height","hspace","ismap","lang","marginheight","marginwidth","multiple","nohref","noresize","noshade","nowrap","ref","rel","rev","rows","rowspan","scrolling","shape","span","summary","tabindex","title","usemap","valign","value","vlink","vspace","width"],o=new r.I({whiteList:i,onTagAttr:(e,t,n)=>{const r=`${t}="${n}"`;if(s.includes(t))return r},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),a=new r.I({whiteList:{br:[]},stripIgnoreTag:!0,escapeHtml:e=>e},!1)},90629(e,t,n){n.d(t,{Lz:()=>i,PN:()=>s,cr:()=>o,gs:()=>l,r_:()=>u,tc:()=>a}),n(39829);const r=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function i(e){return e?e/72*96:0}function s(e){return e?72*e/96:0}function o(e){if("string"==typeof e){const t=e.match(r);if(t){const n=Number(t[1]),r=t[3]&&t[3].toLowerCase(),i=e.startsWith("-"),o="px"===r?s(n):n;return i?-o:o}return console.warn("screenUtils.toPt: input not recognized!"),null}return e}function a(e=0,t=0){return{x:e,y:t}}function l(e=0,t=0){return[e,t]}function u(e=0,t=0,n=0){return[e,t,n]}},13069(e,t,n){n.d(t,{AG:()=>a,lk:()=>i,vD:()=>o,yS:()=>s});const r="randomUUID"in crypto;function i(){if(r)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function s(){return`{${i().toUpperCase()}}`}function o(){return`{${i()}}`}function a(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},159(e,t,n){n.d(t,{A:()=>u});var r,i=n(5482),s=n(69540),o=n(25482),a=n(91429),l=n(99157);let u=r=class extends((0,s.OU)(o.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,i.Cg)([(0,a.MZ)({type:[l.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=r=(0,i.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,n){n.d(t,{A:()=>l});var r,i=n(5482),s=n(69540),o=n(25482),a=n(91429);let l=r=class extends((0,s.OU)(o.o)){constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,a.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,n)=>{t[n]=!e}}})],l.prototype,"isInverse",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],l.prototype,"wkt",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],l.prototype,"wkid",void 0),l=r=(0,i.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)},9762(e,t,n){n.r(t),n.d(t,{projectBuffer:()=>i});var r=n(49208);function i(e,t,n,i,s,o,a=Math.floor(e.length/3)){const l=(0,r.jd)(t,s);if(null==l)return!1;if(l===r.pO){if(e===i&&n===o)return!0;const t=n+3*a;for(let r=n,s=o;r<t;r++,s++)i[s]=e[r]??0;return!0}const u=n+3*a;for(let t=n,r=o;t<u;t+=3,r+=3)l(e,t,i,r);return!0}},49208(e,t,n){n.d(t,{Tp:()=>h,jd:()=>c,pO:()=>d,w5:()=>u});var r=n(34727),i=n(86211),s=n(73941),o=n(79258),a=n(34403),l=n(21325);const u={2:{5:d,7:null,9:null,10:d,1:w,6:null,8:null,0:null,3:m,11:g,2:d,4:_},5:{5:d,7:null,9:null,10:d,1:w,6:null,8:null,0:null,3:m,11:g,2:d,4:_},7:{5:null,7:d,9:null,10:d,1:null,6:I,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:d,10:d,1:null,6:null,8:b,0:null,3:null,11:null,2:null,4:null},3:{5:p,7:null,9:null,10:p,1:function(e,t,n,r){const i=e[t]/R,s=F-2*Math.atan(Math.exp(-e[t+1]/R)),o=R+(e[t+2]??0),a=Math.cos(s)*o;n[r]=Math.cos(i)*a,n[r+1]=Math.sin(i)*a,n[r+2]=Math.sin(s)*o},6:null,8:null,0:null,3:d,11:function(e,t,n,r){p(e,t,n,r),g(n,r,n,r)},2:p,4:function(e,t,n,r){p(e,t,n,r),_(n,r,n,r)}},4:{5:k,7:null,9:null,10:k,1:function(e,t,n,r){k(e,t,n,r),w(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){k(e,t,n,r),m(n,r,n,r)},11:function(e,t,n,r){k(e,t,n,r),g(n,r,n,r)},2:k,4:d},1:{5:S,7:null,9:null,10:S,1:d,6:null,8:null,0:null,3:function(e,t,n,r){S(e,t,n,r),m(n,r,n,r)},11:function(e,t,n,r){S(e,t,n,r),g(n,r,n,r)},2:S,4:function(e,t,n,r){S(e,t,n,r),_(n,r,n,r)}},6:{5:null,7:x,9:null,10:x,1:null,6:d,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:C,10:C,1:null,6:null,8:d,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:d,3:null,11:null,2:null,4:null},10:{5:d,7:d,9:d,10:d,1:w,6:I,8:b,0:null,3:m,11:g,2:d,4:_},11:{5:y,7:null,9:null,10:y,1:function(e,t,n,r){y(e,t,n,r),w(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){y(e,t,n,r),m(n,r,n,r)},11:d,2:y,4:function(e,t,n,r){y(e,t,n,r),_(n,r,n,r)}}};function c(e,t){return h(e,t)?.projector}function h(e,t){if(null==e||null==t)return null;if(A.source.spatialReference===e&&A.dest.spatialReference===t)return A;const n=f(e,A.source),r=f(t,A.dest);return 0===n&&0===r?(0,l.aI)(e,t)?A.projector=d:A.projector=null:A.projector=u[n][r],A}function f(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,s.jA)(e)?t.spatialReferenceId=1:(0,l.oT)(e)?t.spatialReferenceId=2:(0,l.K8)(e)?t.spatialReferenceId=3:(0,l.r1)(e)?t.spatialReferenceId=11:e.wkt===s.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===s.FY.wkt?t.spatialReferenceId=6:e.wkt===s.LJ.wkt?t.spatialReferenceId=8:(0,s.q8)(e)?t.spatialReferenceId=7:(0,s.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function d(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t]??0)}function p(e,t,n,r){n[r]=z*(e[t]/R),n[r+1]=z*(F-2*Math.atan(Math.exp(-e[t+1]/R))),n[r+2]=e[t+2]??0}function m(e,t,n,i){!function(e,t,n,i,s){const o=.4999999*Math.PI,a=(0,r.qE)(T*e[t+1],-o,o),l=Math.sin(a);n[i++]=T*e[t]*s.radius,n[i++]=s.halfSemiMajorAxis*Math.log((1+l)/(1-l)),n[i]=e[t+2]??0}(e,t,n,i,o.$O)}function g(e,t,n,r){n[r]=e[t]*P,n[r+1]=e[t+1]*P,n[r+2]=e[t+2]??0}function y(e,t,n,r){n[r]=e[t]*j,n[r+1]=e[t+1]*j,n[r+2]=e[t+2]??0}function M(e,t,n,r,i){const s=i+(e[t+2]??0),o=T*e[t],a=T*e[t+1],l=Math.cos(a)*s;n[r]=Math.cos(o)*l,n[r+1]=Math.sin(o)*l,n[r+2]=Math.sin(a)*s}function b(e,t,n,r){M(e,t,n,r,o.Sw.radius)}function I(e,t,n,r){M(e,t,n,r,o.sH.radius)}function w(e,t,n,r){M(e,t,n,r,o.$O.radius)}function v(e,t,n,i,s){const o=e[t],a=e[t+1],l=e[t+2]??0,u=Math.sqrt(o*o+a*a+l*l),c=(0,r.YN)(l/(0===u?1:u)),h=Math.atan2(a,o);n[i++]=z*h,n[i++]=z*c,n[i]=u-s}function C(e,t,n,r){v(e,t,n,r,o.Sw.radius)}function x(e,t,n,r){v(e,t,n,r,o.sH.radius)}function S(e,t,n,r){v(e,t,n,r,o.$O.radius)}function _(e,t,n,r){!function(e,t,n,r,i){const s=T*e[t],o=T*e[t+1],a=e[t+2]??0,l=Math.sin(o),u=Math.cos(o),c=i.radius/Math.sqrt(1-i.eccentricitySquared*l*l);n[r++]=(c+a)*u*Math.cos(s),n[r++]=(c+a)*u*Math.sin(s),n[r++]=(c*(1-i.eccentricitySquared)+a)*l}(e,t,n,r,o.$O)}function k(e,t,n,r){const i=a.TP,s=e[t],l=e[t+1],u=e[t+2]??0;let c,h,f,d,p,m,g,y,M,b,I,w,v,C,x,S,_,k,A,T,F;c=Math.abs(u),h=s*s+l*l,f=Math.sqrt(h),d=h+u*u,p=Math.sqrt(d),T=Math.atan2(l,s),m=u*u/d,g=h/d,C=i.a2/p,x=i.a3-i.a4/p,g>.3?(y=c/p*(1+g*(i.a1+C+m*x)/p),A=Math.asin(y),b=y*y,M=Math.sqrt(1-b)):(M=f/p*(1-m*(i.a5-C-g*x)/p),A=Math.acos(M),b=1-M*M,y=Math.sqrt(b)),I=1-o.$O.eccentricitySquared*b,w=o.$O.radius/Math.sqrt(I),v=i.a6*w,C=f-w*M,x=c-v*y,_=M*C+y*x,S=M*x-y*C,k=S/(v/I+_),A+=k,F=_+S*k/2,u<0&&(A=-A),n[r++]=z*T,n[r++]=z*A,n[r]=F}const A={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:d},T=(0,r.kU)(1),z=(0,r.KJ)(1),F=.5*Math.PI,R=o.$O.radius,P=R*Math.PI/180,j=180/(R*Math.PI)},91218(e,t,n){n.r(t),n.d(t,{canProjectWithoutEngine:()=>W,initializeProjection:()=>H,isEqualBaseGCS:()=>B,isLoaded:()=>R,isLoadedOrLoad:()=>P,isLoadedOrLoadFor:()=>j,load:()=>L,project:()=>N,projectAsync:()=>D,projectExtent:()=>ie,projectMany:()=>O,projectMultipoint:()=>Q,projectOrLoad:()=>G,projectOrLoadMany:()=>q,projectPoint:()=>J,projectPolygon:()=>ne,projectPolyline:()=>ee,projectWithoutEngine:()=>K,requiresLoad:()=>E,test:()=>V,tryProject:()=>Z,unload:()=>U});var r=n(49186),i=n(17676),s=n(62788),o=n(95488),a=n(51850),l=n(21276),u=n(73941),c=n(5443),h=n(91075),f=n(48526),d=n(86738),p=n(39829),m=n(82799),g=n(16930),y=n(98764),M=n(159),b=n(9762),I=n(49208);function w(e,t,n,r,i,s){return v[0]=e,v[1]=t,v[2]=n,(0,b.projectBuffer)(v,r,0,i,s,0)}const v=(0,a.vt)();var C=n(60408),x=n(21325),S=n(52006);let _=null,k=null,A=null,T=null,z={};const F=new o.I;function R(){return!!(k?.isLoaded()&&A?.isLoaded()&&T?.isLoaded())}function P(){return!!R()||((0,s.gc)(F),L(),!1)}function j(e,t){return!e||!t||W(e,t)||P()}function E(e,t){return!W(e,t)&&!R()}async function L(e){null==_&&(_=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(k=e,k.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(A=e,A.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(T=e,T.load()))])),await _,(0,i.Te)(e),F.notify()}function N(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,l.H)(e),O(e,e[0].spatialReference,t,n)):((0,l.f)(e),O([e],e.spatialReference,t,n)[0])}function O(e,t,n,r){if(null==t||null==n)return e;if(W(t,n,r))return e.map(e=>K(e,t,n));if(null==r?.geographicTransformation&&(0,u.jA)(t))return O(e.map(e=>K(e,t,g.A.WGS84)),g.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return O(e,t,g.A.WGS84).map(e=>K(e,g.A.WGS84,n));if(!R())throw new $;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:T.getTransformation(t,n,r.areaOfInterestExtent)||new M.A};else if(!r?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,n);let i=z[e];i||(i=T.getTransformation(t,n)||new M.A,z[e]=i),r={geographicTransformation:i,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof h.A?k.executeMany(e,n,r):A.executeMany(e,n,r)}function Z(e,t,n){try{return N(e,t,n)}catch(e){return null}}function G(e,t){const n=q([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function q(e,t,n){if(!R())for(const n of e)if(null!=n&&!(0,x.aI)(n.spatialReference,t)&&(0,x.fn)(n.spatialReference)&&(0,x.fn)(t)&&!W(n.spatialReference,t))return(0,s.gc)(F),{pending:L(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,x.aI)(e.spatialReference,t)?e:(0,x.fn)(e.spatialReference)&&(0,x.fn)(t)?N(e,t,n):null)}}class $ extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function U(){_=null,k=null,A=null,T=null,z={}}const V={get loadPromise(){return _}};async function D(e,t,n){if((0,i.Te)(n),!e)return e;const r=q(Array.isArray(e)?e:[e],t,n);if(r.pending)return await r.pending,(0,i.Te)(n),D(e,t,n);const s=r.geometries??[];return Array.isArray(e)?s:s[0]}function W(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,x.aI)(e,t)||(0,x.fn)(e)&&(0,x.fn)(t)&&!!(0,I.jd)(e,t))}function B(e,t){if((0,x.aI)(e,t))return!0;if(!(0,x.fn)(e)||!(0,x.fn)(t))return!1;const n=(0,x.oT)(e)||(0,x.K8)(e)||(0,x.x1)(e),r=(0,x.oT)(t)||(0,x.K8)(t)||(0,x.x1)(t);return n&&r}async function H(e,t,n,r){if(R())return(0,i.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,options:i}of e)if(t&&n&&!W(t,n,i))return L(r)}else if(e&&t&&!W(e,t,n))return L(r);return(0,i.NO)(r)}function K(e,t,n){return e?(0,C.fT)(e)?Y(e,t,new d.A,n,0):(0,C.ZC)(e)?se(e,t,new c.A,n,0):(0,C.Bi)(e)?re(e,t,new p.A,n,0):(0,C.Rg)(e)?te(e,t,new m.A,n,0):(0,C.U9)(e)?X(e,t,new f.A,n,0):null:null}function J(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=Y(e,e.spatialReference,t,n,r)}function Y(e,t,n,r,i){ue[0]=e.x,ue[1]=e.y;const s=e.z;return ue[2]=void 0!==s?s:i,(0,b.projectBuffer)(ue,t,0,ue,r,0)?(n.x=ue[0],n.y=ue[1],n.spatialReference=r,void 0!==s||(0,u.xP)(r)?(n.z=ue[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function Q(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=X(e,e.spatialReference,t,n,r)}function X(e,t,n,r,i){const{points:s,hasZ:o,hasM:a}=e,l=[],u=s.length,c=[];for(const e of s)c.push(e[0],e[1],o?e[2]:i);if(!(0,b.projectBuffer)(c,t,0,c,r,0,u))return null;const h=le(o,r);for(let e=0;e<u;++e){const t=3*e,n=c[t],r=c[t+1];h&&a?l.push([n,r,c[t+2],s[e][3]]):h?l.push([n,r,c[t+2]]):a?l.push([n,r,s[e][2]]):l.push([n,r])}return n.points=l,n.spatialReference=r,n.hasZ=o,n.hasM=a,n}function ee(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=te(e,e.spatialReference,t,n,r)}function te(e,t,n,r,i){const{curvePaths:s,paths:o,hasZ:a,hasM:l}=e;if(!(s?ae(s,a??!1,l??!1,t,n.curvePaths=[],r,i):oe(o,a??!1,l??!1,t,n.paths,r,i)))return null;const u=le(a,r);return n.spatialReference=r,n.hasZ=u,n.hasM=l,n}function ne(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=re(e,e.spatialReference,t,n,r)}function re(e,t,n,r,i){const{curveRings:s,rings:o,hasZ:a,hasM:l}=e;return(s?ae(s,a??!1,l??!1,t,n.curveRings=[],r,i):oe(o,a??!1,l??!1,t,n.rings,r,i))?(n.spatialReference=r,n.hasZ=le(a,r),n.hasM=l,n):null}function ie(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=se(e,e.spatialReference,t,n,r)}function se(e,t,n,r,i){const{xmin:s,ymin:o,xmax:a,ymax:l,hasZ:u,hasM:c}=e;if(!w(s,o,u?e.zmin:i,t,ue,r))return null;const h=le(u,r);return n.xmin=ue[0],n.ymin=ue[1],h&&(n.zmin=ue[2]),w(a,l,u?e.zmax:i,t,ue,r)?(n.xmax=ue[0],n.ymax=ue[1],h&&(n.zmax=ue[2]),c&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function oe(e,t,n,r,i,s,o=0){const a=new Array;for(const n of e)for(const e of n)a.push(e[0],e[1],t?e[2]:o);if(!(0,b.projectBuffer)(a,r,0,a,s,0))return!1;let l=0;i.length=0;const u=t?3:2,c=le(t,s);for(const t of e){const e=new Array;for(const r of t){const t=a.slice(l,l+=3);c||t.pop(),n&&t.push(r[u]),e.push(t)}i.push(e)}return!0}function ae(e,t,n,r,i,s,o=0){const a=new Array;for(const n of e)for(const e of n){if((0,S.FG)(e))return!1;if((0,S.aO)(e)){const[n,r]=e.c;a.push(n[0],n[1],t?n[2]:o,r[0],r[1],o);continue}if((0,S.n1)(e)){const[n,r,i]=e.b;a.push(n[0],n[1],t?n[2]:o,r[0],r[1],o,i[0],i[1],o);continue}const n=e;a.push(n[0],n[1],t?n[2]:o)}if(!(0,b.projectBuffer)(a,r,0,a,s,0))return!1;let l=0;i.length=0;const u=t?3:2,c=le(t,s);for(const t of e){const e=new Array;for(const r of t){const t=a.slice(l,l+=3);if(c||t.pop(),n&&t.push((0,S.yP)(r)[u]),(0,S.FG)(r))return!1;if((0,S.aO)(r)){const n=a[l++],r=a[l++];++l,e.push({c:[t,[n,r]]});continue}if((0,S.n1)(r)){const n=a[l++],r=a[l++];++l;const i=a[l++],s=a[l++];++l,e.push({b:[t,[n,r],[i,s]]});continue}e.push(t)}i.push(e)}return!0}function le(e,t){return e||(0,u.xP)(t)||(0,x.aI)(t,y.Y0)}const ue=(0,a.vt)()},98764(e,t,n){n.d(t,{GD:()=>o,Y0:()=>u,lO:()=>c});var r=n(73941),i=n(16930),s=n(21325);const o=new i.A(r.fv),a=new i.A(r.FY),l=new i.A(r.LJ),u=new i.A(r.Ro);function c(e){const t=h.get(e);if(t)return t;let n=o;if(e)if(e===a)n=a;else if(e===l)n=l;else{const t=e.wkid,r=e.latestWkid;if(null!=t||null!=r)(0,s.tl)(t)||(0,s.tl)(r)?n=a:((0,s.ZL)(t)||(0,s.ZL)(r))&&(n=l);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===f?n=a:e===d&&(n=l)}}}return h.set(e,n),n}const h=new Map,f=a.wkt.toUpperCase(),d=l.wkt.toUpperCase()},4197(e,t,n){n.d(t,{Vj:()=>c,cj:()=>u,jh:()=>s,l5:()=>a,yH:()=>l});var r=n(34275),i=n(9093);function s(e){return e<=r.y9?new Array(e).fill(0):new Float64Array(e)}function o(e){return((0,r.iu)(e)?e.byteLength/8:e.length)<=r.y9?Array.from(e):new Float64Array(e)}function a(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function l(e,t){if(0===t.length)return o(e);if(0===e.length)return o(t);const n=s(e.length+t.length);for(let t=0;t<e.length;++t)n[t]=e[t];for(let r=0;r<t.length;++r)n[e.length+r]=t[r];return n}function u(e){return[...e]}function c(e){const t=(0,i.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},70328(e,t,n){n.d(t,{BI:()=>b,DC:()=>h,Ej:()=>d,Ie:()=>y,Jt:()=>M,Ne:()=>p,RF:()=>c,aI:()=>w,fA:()=>o,gE:()=>l,hZ:()=>g,iT:()=>f,is:()=>I,qv:()=>v,vI:()=>m,vY:()=>a,v_:()=>C,vt:()=>s,w1:()=>u}),n(35522);var r=n(5443),i=(n(19419),n(4197));function s(e=C){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t,n,r,i,o,a=s()){return a[0]=e,a[1]=t,a[2]=n,a[3]=r,a[4]=i,a[5]=o,a}function a(e,t=s()){return function(e,t,n,r=s()){return g(r,v),function(e,t,n=0,r=t.length/3){let i=e[0],s=e[1],o=e[2],a=e[3],l=e[4],u=e[5];for(let e=0;e<r;e++)i=Math.min(i,t[n+3*e]),s=Math.min(s,t[n+3*e+1]),o=Math.min(o,t[n+3*e+2]),a=Math.max(a,t[n+3*e]),l=Math.max(l,t[n+3*e+1]),u=Math.max(u,t[n+3*e+2]);e[0]=i,e[1]=s,e[2]=o,e[3]=a,e[4]=l,e[5]=u}(r,e,t,n),r}(e,0,e.length/3,t)}function l(e,t=(0,i.jh)(24)){const[n,r,s,o,a,l]=e;return t[0]=n,t[1]=r,t[2]=s,t[3]=n,t[4]=r,t[5]=l,t[6]=n,t[7]=a,t[8]=s,t[9]=n,t[10]=a,t[11]=l,t[12]=o,t[13]=r,t[14]=s,t[15]=o,t[16]=r,t[17]=l,t[18]=o,t[19]=a,t[20]=s,t[21]=o,t[22]=a,t[23]=l,t}function u(e,t){const n=isFinite(e[2])||isFinite(e[5]);return new r.A(n?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function h(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function f(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function d(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function p(e,t,n=e){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n!==e&&(n[3]=e[3],n[4]=e[4],n[5]=e[5]),n}function m(e,t,n=e){return n[3]=t[0],n[4]=t[1],n[5]=t[2],n!==e&&(n[0]=e[0],n[1]=e[1],n[2]=e[2]),e}function g(e,t){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}function y(e){return e?g(e,v):s(v)}function M(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function b(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=Number.NEGATIVE_INFINITY,e[3]=r,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function I(e){return 6===e.length}function w(e,t,n){if(null==e||null==t)return e===t;if(!I(e)||!I(t))return!1;if(n){for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1}else for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const v=[1/0,1/0,1/0,-1/0,-1/0,-1/0],C=[0,0,0,0,0,0];s()},34403(e,t,n){n.d(t,{TP:()=>o});var r=n(79258);Math.PI;const i=r.$O.radius,s=r.$O.eccentricitySquared,o={a1:i*s,a2:i*s*i*s,a3:i*s*s/2,a4:i*s*i*s*2.5,a5:i*s+i*s*s/2,a6:1-s};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius},50498(e,t,n){n.d(t,{Ye:()=>h,gy:()=>c,iI:()=>d,yR:()=>f});var r=n(66552),i=n(5443),s=n(91075),o=n(48526),a=n(86738),l=n(39829),u=n(82799);const c=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),h=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),f={base:s.A,key:"type",typeMap:{extent:i.A,multipoint:o.A,point:a.A,polyline:u.A,polygon:l.A}},d=new r.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0})},55156(e,t,n){n.d(t,{I:()=>i,e:()=>r});const r=Symbol("idFieldsProviderSymbol");function i(e){return(t=e)&&r in t?e[r]:void 0;var t}},54339(e,t,n){function r(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const n=[];for(const r of t.fieldNames)n.push(e.attributes[r]??null);return JSON.stringify(n)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const n=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(n)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}n.d(t,{W:()=>r,r:()=>i})},52136(e,t,n){n.d(t,{p:()=>s});var r=n(5482),i=n(91429);const s=e=>{const t=e;let n=class extends t{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,r.Cg)([(0,i.MZ)({type:String})],n.prototype,"apiKey",null),n=(0,r.Cg)([(0,i.$K)("esri.layers.mixins.APIKeyMixin")],n),n}},47685(e,t,n){n.d(t,{Mk:()=>d,Zk:()=>h,w6:()=>g});var r=n(5482),i=n(65529),s=n(4718),o=n(91429),a=n(20816);const l=new i.bk;function u(e){return l.on("apply-edits",new WeakRef(e))}function c(e){return l.on("update-moment",new WeakRef(e))}function h(e,t,n=null,r=!1){const i=Promise.withResolvers();return r=null==t||r,l.emit("apply-edits",{serviceUrl:e,layerId:t,gdbVersion:n,mayReceiveServiceEdits:r,result:i.promise}),i}const f=Symbol();function d(e){return null!=e&&"object"==typeof e&&f in e}function p(e){return null!=e&&"object"==typeof e&&"gdbVersion"in e}function m(e,t,n){const r=new URL(e).host,i=a.Z3.get(r),s=e=>!e||e===i;return s(t)&&s(n)||t===n}const g=e=>{var t;const n=e;let i=class extends n{static{t=f}constructor(...e){super(...e),this[t]=!0,this._applyEditsHandler=e=>{const{serviceUrl:t,layerId:n,gdbVersion:r,mayReceiveServiceEdits:i,result:o}=e,a=t===this.url,l=null!=n&&null!=this.layerId&&n===this.layerId,u=p(this),c=p(this)&&m(t,r,this.gdbVersion);if(!a||u&&!c||!l&&!i)return;const h=o.then(e=>{if(this.lastEditsEventDate=new Date,l&&(e.addedFeatures.length||e.updatedFeatures.length||e.deletedFeatures.length||e.addedAttachments.length||e.updatedAttachments.length||e.deletedAttachments.length))return this.emit("edits",(0,s.o8)(e)),e;const n=e.editedFeatures?.find(({layerId:e})=>e===this.layerId);if(n){const{adds:t,updates:r,deletes:i}=n.editedFeatures,o={edits:null,addedAttachments:[],deletedAttachments:[],updatedAttachments:[],addedFeatures:t?t.map(({attributes:e})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],deletedFeatures:i?i.map(({attributes:e})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],updatedFeatures:r?r.map(({current:{attributes:e}})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],editedFeatures:(0,s.o8)(e.editedFeatures),exceededTransferLimit:!1,historicMoment:(0,s.o8)(e.historicMoment)};return this.emit("edits",o),o}const i={edits:null,addedAttachments:[],deletedAttachments:[],updatedAttachments:[],addedFeatures:[],deletedFeatures:[],updatedFeatures:[],editedFeatures:(0,s.o8)(e.editedFeatures),exceededTransferLimit:!1,historicMoment:(0,s.o8)(e.historicMoment)};return"historicMoment"in this&&this._shouldUpdateHistoricMoment(t,r,i.historicMoment)&&this.emit("edits",i),i}).then(e=>("historicMoment"in this&&this._shouldUpdateHistoricMoment(t,r,e.historicMoment)&&(this.historicMoment=e.historicMoment),e));this.emit("apply-edits",{result:h})},this._updateMomentHandler=e=>{const{serviceUrl:t,gdbVersion:n,moment:r}=e,i=t===this.url,s=p(this),o=p(this)&&m(t,n,this.gdbVersion),a=p(this)&&!m(t,this.gdbVersion,null);i&&s&&o&&a&&"historicMoment"in this&&this.historicMoment!==r&&(this.historicMoment=r)},this.when().then(()=>{this.addHandles(u(this._applyEditsHandler)),"historicMoment"in this&&this.addHandles(c(this._updateMomentHandler))},()=>{})}_shouldUpdateHistoricMoment(e,t,n){return"historicMoment"in this&&this.historicMoment!==n&&(0,a.w5)(e,t)}};return(0,r.Cg)([(0,o.MZ)()],i.prototype,"lastEditsEventDate",void 0),i=(0,r.Cg)([(0,o.$K)("esri.layers.mixins.EditBusLayer")],i),i}},28032(e,t,n){n.d(t,{A:()=>l});var r=n(5482),i=n(69540),s=n(25482),o=n(91429),a=n(56400);let l=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.creatorField=null,this.creationDateField=null,this.editorField=null,this.editDateField=null,this.realm=null,this.timeZone=null}};(0,r.Cg)([(0,o.MZ)()],l.prototype,"creatorField",void 0),(0,r.Cg)([(0,o.MZ)()],l.prototype,"creationDateField",void 0),(0,r.Cg)([(0,o.MZ)()],l.prototype,"editorField",void 0),(0,r.Cg)([(0,o.MZ)()],l.prototype,"editDateField",void 0),(0,r.Cg)([(0,o.MZ)()],l.prototype,"realm",void 0),(0,r.Cg)([(0,o.MZ)((0,a.P6)("dateFieldsTimeReference",!0))],l.prototype,"timeZone",void 0),l=(0,r.Cg)([(0,o.$K)("esri.layers.support.EditFieldsInfo")],l)},29005(e,t,n){n.d(t,{A:()=>u});var r=n(5482),i=n(69540),s=n(66552),o=n(25482),a=n(91429);const l=new s.J({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let u=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,r.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"name",void 0),(0,r.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"description",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:l.read,write:l.write}})],u.prototype,"drawingTool",void 0),(0,r.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,r.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,r.Cg)([(0,a.$K)("esri.layers.support.FeatureTemplate")],u)},37352(e,t,n){n.d(t,{A:()=>l});var r,i=n(5482),s=n(7762),o=n(25482),a=n(91429);let l=r=class extends o.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new s.A}clone(){return new r({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:{isRequired:!0}}})],l.prototype,"floorField",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],l.prototype,"viewAllMode",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],l.prototype,"viewAllLevelIds",void 0),l=r=(0,i.Cg)([(0,a.$K)("esri.layers.support.LayerFloorInfo")],l)},45067(e,t,n){n.d(t,{A:()=>c});var r=n(5482),i=n(69540),s=n(66552),o=n(25482),a=n(91429);const l=new s.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),u=new s.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let c=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.cardinality=null,this.catalogId=null,this.composite=null,this.id=null,this.keyField=null,this.keyFieldInRelationshipTable=null,this.name=null,this.relatedTableId=null,this.relationshipTableId=null,this.role=null}};(0,r.Cg)([(0,a.MZ)({json:{read:l.read,write:l.write}})],c.prototype,"cardinality",void 0),(0,r.Cg)([(0,a.MZ)({json:{name:"catalogID"}})],c.prototype,"catalogId",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"composite",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"id",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyField",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyFieldInRelationshipTable",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"name",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"relatedTableId",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"relationshipTableId",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:u.read,write:u.write}})],c.prototype,"role",void 0),c=(0,r.Cg)([(0,a.$K)("esri.layers.support.Relationship")],c)},17311(e,t,n){n.d(t,{A:()=>d});var r=n(5482),i=n(69622),s=n(4576),o=n(60999),a=n(7762),l=n(16494),u=n(91429),c=n(30524),h=n(43668);const f=/<br\s*\/*>/gi;let d=class extends i.A{constructor(e){super(e),this._featureUtils=null,this.effectivePopupTemplate=null}get _arcadeTask(){return this.expressionsUsedInTitle.length>0?this._get("_arcadeTask")||(0,o.UT)(()=>(0,h.l)()):null}get featureUtilsPromise(){return this._get("featureUtilsPromise")??Promise.all([n.e(4560),n.e(9301)]).then(n.bind(n,99301)).then(e=>this._featureUtils=e)}get calculatedExpressions(){const e=new a.A;if(!this.expressionsUsedInTitle.length)return e;if(!this._arcadeTask?.value){for(const t of this.expressionsUsedInTitle??[])e.push({name:t.name,invalid:!0});return e}for(const t of this.expressionsUsedInTitle)try{const n=this._arcadeTask.value.arcade.parseScript(t.expression,["$layer","$map","$datastore"]);if(n.isAsync){e.push({name:t.name,invalid:!0});break}e.push({name:t.name,syntax:n,invalid:!1,func:this._arcadeTask.value.arcade.compileScript(n,{vars:{$feature:"any"}})})}catch{e.push({name:t.name,invalid:!0});break}return e}get expressionsUsedInTitle(){let e=this.effectivePopupTemplate?.title??"";return"string"!=typeof e?[]:(e=e.toLowerCase(),this.effectivePopupTemplate?.expressionInfos?.filter(t=>e.includes(`{expression/${t.name.toLowerCase()}}`))??[])}get fieldInfoMap(){return this._featureUtils?this._createFieldInfoMap(this._featureUtils.getAllFieldInfos(this.effectivePopupTemplate)):null}get hasBadExpressions(){return this.calculatedExpressions.some(e=>!0===e.invalid)}get requiredFields(){const e=new Set;if(this._arcadeTask?.value&&!this.hasBadExpressions)for(const t of this.calculatedExpressions?.toArray()??[])try{const n=this._arcadeTask.value.arcade.extractFieldLiterals(t.syntax);for(const t of n){const n=t.split("."),r=this.fieldsIndex.get(n.at(-1)??"");r&&e.add(r.name)}}catch{}const t=this._extractFieldNames(this.workingTitle);for(const n of t){const t=this.fieldsIndex.get(n);t&&e.add(t.name)}return null!=this.objectIdField&&e.add(this.objectIdField),e}get titleFromDisplayField(){let e="";return this.displayField&&(e=this.fieldsIndex.get(this.displayField)?.name??""),e||(e=this.fieldsIndex.get(this.objectIdField)?.name??""),e?`{${e}}`:""}get workingTitle(){const e=this.effectivePopupTemplate?this.effectivePopupTemplate.title:"";return""===e||null==e||this.hasBadExpressions||"string"!=typeof e?this.titleFromDisplayField:e}async getTitle(e,t,n){const r=t.getObjectId()??t.attributes[e.objectIdField];return(await this.getTitles(e,[t],n)).get(r)??""}async getTitles(e,t,n){const r=new Map,i=n?.timeZone??"system";try{const[{substituteFieldsInLinksAndAttributes:s}]=await Promise.all([this.featureUtilsPromise,this._arcadeTask?.promise]);n?.fetchMissingFields&&(t=await this._checkAndReQueryGraphics(e,t));const{fieldInfoMap:o,workingTitle:a}=this,u=a&&o;t.forEach(t=>{const c=t.getObjectId()??t.attributes[e.objectIdField];let h=u?s({attributes:t.attributes,expressionAttributes:null,fieldInfoMap:o,globalAttributes:this._createFormattedAttributes(e,t,i).global,layer:e,text:a}):"";n?.removeHTML&&(h=l.Nd.sanitize(h).replaceAll(f," ")),r.set(c,h)})}catch{}return r}async _checkAndReQueryGraphics(e,t){const n=t.map(t=>t.getObjectId()??t.attributes[e.objectIdField]).filter(s.Ru);if(n.length!==t.length)return t;if(t.some(e=>!(0,c.Kl)(e,this.requiredFields))){const r=e.createQuery();r.where="1=1",r.outFields=[...this.requiredFields],r.objectIds=n;const i=await e.queryFeatures(r);if(i?.features.length===t.length)return i.features}return t}_createFieldInfoMap(e){const t=new Map;if(!e)return t;for(const n of e){if(!n.fieldName)continue;const e=this.fieldsIndex.get(n.fieldName),r=e?.name??n.fieldName;n.fieldName=r,t.set(r.toLowerCase(),n)}return t}_createFormattedAttributes(e,t,n="system"){const r=this.effectivePopupTemplate?.fieldInfos??[],i={};if(!this._featureUtils)return{};if(!this.hasBadExpressions&&this.calculatedExpressions.length>0&&this._arcadeTask?.value){const n=this._arcadeTask.value.Feature.createFromGraphicLikeObject(t.geometry,t.attributes,e,null);for(const e of this.calculatedExpressions)try{i[`expression/${e.name}`]=e.func({vars:{$feature:n}})}catch{}}const s={...t.attributes,...i};return{global:this._featureUtils.formatAttributes({fieldInfos:r,attributes:s,graphic:t,timeZone:n,layer:e,fieldInfoMap:this.fieldInfoMap}),content:[]}}_extractFieldNames(e){return(0,c.nw)(e).filter(e=>!(e.startsWith("relationships/")||e.startsWith("expression/")))}};(0,r.Cg)([(0,u.MZ)({readOnly:!0})],d.prototype,"_arcadeTask",null),(0,r.Cg)([(0,u.MZ)()],d.prototype,"_featureUtils",void 0),(0,r.Cg)([(0,u.MZ)({readOnly:!0})],d.prototype,"featureUtilsPromise",null),(0,r.Cg)([(0,u.MZ)({readOnly:!0})],d.prototype,"calculatedExpressions",null),(0,r.Cg)([(0,u.MZ)()],d.prototype,"displayField",void 0),(0,r.Cg)([(0,u.MZ)()],d.prototype,"effectivePopupTemplate",void 0),(0,r.Cg)([(0,u.MZ)()],d.prototype,"expressionsUsedInTitle",null),(0,r.Cg)([(0,u.MZ)()],d.prototype,"fieldsIndex",void 0),(0,r.Cg)([(0,u.MZ)()],d.prototype,"fieldInfoMap",null),(0,r.Cg)([(0,u.MZ)()],d.prototype,"fields",void 0),(0,r.Cg)([(0,u.MZ)()],d.prototype,"objectIdField",void 0),(0,r.Cg)([(0,u.MZ)()],d.prototype,"requiredFields",null),d=(0,r.Cg)([(0,u.$K)("esri.layers.support.TitleCreator")],d)},41560(e,t,n){n.d(t,{Ch:()=>o,mW:()=>s});var r=n(34727),i=n(39516);function s(e,t){return{...t,filterMode:e.mode}}function o(e,t,n){const s=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:n,maxScale:r}of e.filters)t[0]=Math.max(t[0],c(n)),t[1]=Math.min(t[1],h(r));return t}(e);if(s&&((0,r.gg)(t,s[0])||(0,r.ZH)(n,s[1])))return"";const o=Array.from(a(e,t,n)),l=function(e,t,n){if(0===e.length)return!0;const i=c(e.at(0)?.minScale),s=h(e.at(-1)?.maxScale);if((0,r.ZH)(i,t)||(0,r.gg)(s,n))return!0;for(let t=0;t<e.length-1;t++){const n=e[t],i=e[t+1];if((0,r.ZH)(c(i.minScale),h(n.maxScale)))return!0}return!1}(o,t,n)?"1=1":o.map(e=>e.where||"1=1").reduce((e,t)=>(0,i.IW)(e,t),"");return l&&"1=1"!==l?l:""}function*a(e,t,n){if("manual"===u(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const r of e.filters)l(r.minScale,r.maxScale,t,n)&&(yield r)}}function l(e,t,n,i){return e=c(e),n=c(n),t=h(t),!(!(0,r.Sp)(n,e)&&(i??n)>e||(0,r.Hx)(t,n)||void 0!==i&&(0,r.Sp)(i,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function c(e){return e||Number.POSITIVE_INFINITY}function h(e){return e||0}},32730(e,t,n){n.d(t,{BI:()=>d,D3:()=>h,XJ:()=>f,lc:()=>c,mX:()=>m,rU:()=>p,tH:()=>I,vK:()=>w,zA:()=>v});var r=n(799);const i="__begin__",s="__end__",o=new RegExp(i,"ig"),a=new RegExp(s,"ig"),l=new RegExp("^"+i,"i"),u=new RegExp(s+"$","i");function c(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function h(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function f(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=c(e.labelExpression),t.type="conventional"),t}function d(e){const t=f(e);if(!t)return null;switch(t.type){case"conventional":return m(t.expression);case"arcade":return t.expression}return null}function p(e){const t=f(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(g);return t?.[1].trim()||null}(t.expression);case"arcade":return I(t.expression)}return null}function m(e){let t;return e?(t=(0,r.HC)(e,e=>i+'$feature["'+e+'"]'+s),t=l.test(t)?t.replace(l,""):'"'+t,t=u.test(t)?t.replace(u,""):t+'"',t=t.replaceAll(o,'" + ').replaceAll(a,' + "')):t='""',t}const g=/^\s*\{([^}]+)\}\s*$/i,y=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,M=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,b=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function I(e){if(!e)return null;let t=y.exec(e)||M.exec(e);return t?t[1]||t[3]:(t=b.exec(e),t?t[2]:null)}const w=Symbol("LabelClassInstance");function v(e){return null!=e&&"object"==typeof e&&w in e}},5757(e,t,n){n.d(t,{B:()=>i,P:()=>r});const r=Symbol("PopupTemplateInstance");function i(e){return null!=e&&"object"==typeof e&&r in e}},98205(e,t,n){n.d(t,{KZ:()=>a,eh:()=>o,gf:()=>s,of:()=>i,uY:()=>r});const r=Symbol("SizeVariableInstance");function i(e){return null!=e&&"object"==typeof e&&r in e}function s(e){return null!=e&&!isNaN(e)&&isFinite(e)}function o(e){return e.valueExpression?"expression":e.field&&"string"==typeof e.field?"field":"unknown"}function a(e,t){const n=t||o(e),r=e.valueUnit||"unknown";return"unknown"===n?"constant":e.stops?"stops":null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?"clamped-linear":"unknown"===r?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?"proportional":"additive":"identity":"real-world-size"}},41366(e,t,n){n.d(t,{K:()=>h,Q:()=>l});var r=n(5482),i=n(66552),s=n(53966),o=n(91429),a=n(93223);const l=(0,i.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",c="field",h=e=>{const t=e;let n=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,n=null!=this.normalizationTotal;return t||n?(e=t&&c||n&&u||null,t&&n&&s.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==c&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,r.Cg)([(0,o.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],n.prototype,"normalizationField",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],n.prototype,"normalizationMaxValue",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],n.prototype,"normalizationMinValue",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],n.prototype,"normalizationTotal",void 0),(0,r.Cg)([(0,a.e)(l,{name:"parameters.normalizationType"})],n.prototype,"normalizationType",null),n=(0,r.Cg)([(0,o.$K)("esri.rest.support.NormalizationBinParametersMixin")],n),n}},28076(e,t,n){n.d(t,{D:()=>i});var r=n(13337);const i={CIMVectorMarker:{scalesymbolsproportionally:!1,respectframe:!0,anchorpointunits:"Relative",offsetx:0,offsety:0,rotateclockwise:!1,rotation:0,size:10,enable:!0,colorlocked:!1},CIMPictureMarker:{scalex:1,texturefilter:"Draft",anchorpointunits:"Relative",offsetx:0,offsety:0,rotateclockwise:!1,rotation:0,size:10,enable:!0,colorlocked:!1},CIMTextSymbol:{angle:0,anglex:0,angley:0,halosize:1,height:10,horizontalalignment:"Left",kerning:!0,letterspacing:0,letterwidth:100,ligatures:!0,linegap:0,offsetx:0,offsety:0,strikethrough:!1,textcase:"Normal",textstring:"",underline:!1,verticalalignment:"Bottom",enable:!0,colorlocked:!1},CIMSolidStroke:{capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1},CIMPictureStroke:{texturefilter:"Draft",capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1},CIMGradientStroke:{capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1,gradientMethod:"AcrossLine",gradientSize:75,gradientSizeUnits:r.h.Relative,gradientType:"Discrete",interval:5},CIMSolidFill:{enable:!0,colorlocked:!1},CIMPictureFill:{offsetx:0,offsety:0,rotation:0,scalex:1,height:10,texturefilter:"Draft",enable:!0,colorlocked:!1},CIMHatchFill:{offsetx:0,offsety:0,rotation:0,separation:4,enable:!0,colorlocked:!1},CIMGradientFill:{enable:!0,angle:90,gradientMethod:"Linear",gradientSize:75,gradientSizeUnits:r.h.Relative,gradientType:"Discrete",interval:5},CIMGeometricEffectAddControlPoints:{angletolerance:120},CIMGeometricEffectArrow:{arrowtype:"OpenEnded",width:5},CIMGeometricEffectBuffer:{size:1},CIMGeometricEffectCut:{begincut:1,endcut:1,middlecut:0,invert:!1},CIMGeometricEffectDashes:{customendingoffset:0,linedashending:"NoConstraint",offsetalongline:0},CIMGeometricEffectDonut:{method:"Mitered",option:"Accurate",width:2},CIMGeometricEffectJog:{angle:225,length:20,position:50},CIMGeometricEffectControlMeasureLine:{rule:"FullGeometry",width:25},CIMGeometricEffectMove:{offsetx:1,offsety:-1},CIMGeometricEffectOffset:{method:"Square",offset:1,option:"Fast"},CIMGeometricEffectRadial:{angle:0,length:5},CIMGeometricEffectRotate:{angle:15},CIMGeometricEffectScale:{xscalefactor:1.15,yscalefactor:1.15},CIMGeometricEffectWave:{amplitude:2,period:3,seed:1,waveform:"Sinus"},CIMMarkerPlacementAlongLine:{customendingoffset:0,endings:"WithHalfGap",offsetalongline:0,placeperpart:!0,angletoline:!0,offset:0},CIMMarkerPlacementAtExtremities:{extremityplacement:"Both",offsetalongline:0,angletoline:!0,offset:0},CIMMarkerPlacementAtRatioPositions:{beginposition:0,endposition:0,flipfirst:!0,angletoline:!0,offset:0},CIMMarkerPlacementInsidePolygon:{gridangle:0,gridtype:"Fixed",offsetx:0,offsety:0,randomness:100,seed:0,shiftoddrows:!1,stepx:16,stepy:16,clipping:"ClipAtBoundary"},CIMMarkerPlacementOnLine:{relativeto:"LineMiddle",startpointoffset:0,angletoline:!0,offset:0},CIMMarkerPlacementOnVertices:{placeperpart:!0,placeoncontrolpoints:!0,placeonendpoints:!0,placeonregularvertices:!0,angletoline:!0,offset:0},CIMMarkerPlacementPolygonCenter:{method:"OnPolygon",offsetx:0,offsety:0,clipatboundary:!1},CIMAnimatedSymbolProperties:{playanimation:!1,reverseanimation:!1,randomizestarttime:!1,randomizestartseed:0,starttimeoffset:0,duration:3,endingduration:3,useendingduration:!1,repeattype:"Loop",repeatdelay:0,easing:"Linear"},CIMSymbolAnimationSize:{tosize:10},CIMSymbolAnimationScale:{scalefactor:1},CIMSymbolAnimationColor:{tocolor:[255,255,255,1],colormode:"Multiply"},CIMSymbolAnimationTransparency:{totransparency:0},CIMSymbolAnimationRotation:{torotation:0,rotateclockwise:!1},CIMSymbolAnimationOffset:{offsetx:0,offsety:0},CIMSymbolAnimationMoveAlongLine:{speed:30,distancealong:100,movementtype:"Distance"}}},13337(e,t,n){n.d(t,{h:()=>r});const r={Relative:0,Absolute:1}},93397(e,t,n){n.d(t,{$w:()=>m,Bu:()=>S,DW:()=>w,FH:()=>F,FM:()=>a,Kn:()=>b,MM:()=>h,Nl:()=>_,O2:()=>k,UE:()=>A,YC:()=>P,YF:()=>T,_1:()=>C,_d:()=>I,_h:()=>o,bs:()=>R,e6:()=>u,gQ:()=>s,jn:()=>d,lW:()=>c,ll:()=>N,mA:()=>f,oI:()=>U,pM:()=>v,pV:()=>M,pk:()=>E,rB:()=>L,xo:()=>x,yX:()=>$,z9:()=>y,zb:()=>z,zr:()=>p});var r=n(28076);function i(e){let t=e.length;for(;t--;)if(!" /-,\n".includes(e.charAt(t)))return!1;return!0}function s(e,t){const n=[];let r=0,s=-1;do{if(s=e.indexOf("[",r),s>=r){if(s>r){const t=e.slice(r,s);n.push([t,null,i(t)])}if(r=s+1,s=e.indexOf("]",r),s>=r){if(s>r){const i=t[e.slice(r,s)];i&&n.push([null,i,!1])}r=s+1}}}while(-1!==s);if(r<e.length){const t=e.slice(r);n.push([t,null,i(t)])}return n}function o(e,t,n){let r="",i=null;for(const n of t){const[t,s,o]=n;if(null!=t&&""!==t)o?i=t:(null!=i&&(r+=i,i=null),r+=t);else{const t=e.readAttribute(s);null!=t&&""!==t&&(null!==i&&(r+=i,i=null),r+=t)}}return l(r,n)}function a(e,t,n,r){let i="",s=null;for(const r of t){const[t,o,a]=r;if(null!=t&&""!==t)a?s=t:(null!=s&&(i+=s,s=null),i+=t);else{let t=o;null!=n&&(t=j(o,n));const r=e.attributes[t];null!=r&&""!==r&&(null!=s&&(i+=s,s=null),i+=r)}}return l(i,r)}function l(e,t){switch("string"!=typeof e&&(e=String(e)),t){case"LowerCase":return e.toLowerCase();case"Allcaps":return e.toUpperCase();default:return e}}function u(e){return e?[e[0],e[1],e[2],e[3]/255]:[0,0,0,0]}function c(e){return e.data?.symbol??null}function h(e){return"CIMVectorMarker"===e.type||"CIMPictureMarker"===e.type||"CIMBarChartMarker"===e.type||"CIMCharacterMarker"===e.type||"CIMPieChartMarker"===e.type||"CIMStackedBarChartMarker"===e.type}function f(e){return"CIMGradientStroke"===e.type||"CIMPictureStroke"===e.type||"CIMSolidStroke"===e.type}function d(e){return null!=e&&("CIMGradientFill"===e.type||"CIMHatchFill"===e.type||"CIMPictureFill"===e.type||"CIMSolidFill"===e.type||"CIMWaterFill"===e.type)}function p(e){return null!=e&&("CIMMarkerPlacementAlongLineRandomSize"===e.type||"CIMMarkerPlacementAlongLineSameSize"===e.type||"CIMMarkerPlacementAlongLineVariableSize"===e.type||"CIMMarkerPlacementAtExtremities"===e.type||"CIMMarkerPlacementAtMeasuredUnits"===e.type||"CIMMarkerPlacementAtRatioPositions"===e.type||"CIMMarkerPlacementOnLine"===e.type||"CIMMarkerPlacementOnVertices"===e.type)}const m=(e,t=0)=>null==e||isNaN(e)?t:e;class g{constructor(e){this._import=e}getImportPromise(){return null==this._promise&&(this._promise=this._import().then(e=>this.module=e)),this._promise}}function y(e){return new g(e)}function M(e){if(!e)return"normal";switch(e.toLowerCase()){case"italic":return"italic";case"oblique":return"oblique";default:return"normal"}}function b(e){if(!e)return"normal";switch(e.toLowerCase()){case"bold":return"bold";case"bolder":return"bolder";case"lighter":return"lighter";default:return"normal"}}function I(e){let t="normal",n="normal";if(e){const r=e.toLowerCase();r.includes("italic")?t="italic":r.includes("oblique")&&(t="oblique"),r.includes("bold")?n="bold":r.includes("light")&&(n="lighter")}return{style:t,weight:n}}function w(e){return e.underline?"underline":e.strikethrough?"line-through":"none"}function v(e){if(!e)return null;switch(e.type){case"CIMPolygonSymbol":if(e.symbolLayers)for(const t of e.symbolLayers){const e=v(t);if(null!=e)return e}break;case"CIMTextSymbol":return v(e.symbol);case"CIMSolidFill":return e.color}return null}function C(e){if(e)switch(e.type){case"CIMPolygonSymbol":case"CIMLineSymbol":{const t=e.symbolLayers;if(t)for(const e of t){const t=C(e);if(null!=t)return t}break}case"CIMTextSymbol":return C(e.symbol);case"CIMSolidStroke":return e.color}}function x(e){if(e)switch(e.type){case"CIMPolygonSymbol":case"CIMLineSymbol":if(e.symbolLayers)for(const t of e.symbolLayers){const e=x(t);if(void 0!==e)return e}break;case"CIMTextSymbol":return x(e.symbol);case"CIMSolidStroke":case"CIMGradientStroke":case"CIMPictureStroke":return e.width}}function S(e){switch(e){case"Left":default:return"left";case"Right":return"right";case"Center":return"center";case"Justify":return"justify"}}function _(e){switch(e){default:case"Bottom":return"bottom";case"Top":return"top";case"Center":return"middle";case"Baseline":return"baseline"}}function k(e){return(e?Object.keys(e):[]).map(t=>({name:t,alias:t,type:"string"==typeof e[t]?"esriFieldTypeString":"esriFieldTypeDouble"}))}const A=e=>e.includes("data:image/svg+xml");function T(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}function z(e,t,n,r,i,s,o=!0){const{infos:a}=s;let l=1,u=0,c=0,h=0,f=1;for(const{absoluteAnchorPoint:e,offsetX:t,offsetY:n,rotation:r,size:i,frameHeight:s,rotateClockWise:d,scaleSymbolsProportionally:p}of a)f=e?1:l,c=G(t,n,u,f,c),h=Z(t,n,u,f,h),s&&(p||o)&&(l*=i/s),u=q(r,d,u);const d=G(r,i,u,f,c),p=Z(r,i,u,f,h);return{size:e*l,rotation:q(t,n,u),offsetX:d,offsetY:p}}function F(e){return e?.dashTemplate&&(e.dashTemplate=function(e){return"string"==typeof e?function(e){return e.split(" ").map(e=>Number(e))}(e):e}(e.dashTemplate)),e}function R(e){if(null==e)return"Normal";switch(e.type){case"CIMTextSymbol":return e.textCase??"Normal";case"CIMPointSymbol":case"CIMLineSymbol":case"CIMPolygonSymbol":{const t=e.symbolLayers;if(!t)return"Normal";for(const e of t)if("CIMVectorMarker"===e.type)return R(e)}break;case"CIMVectorMarker":{const t=e.markerGraphics;if(!t)return"Normal";for(const e of t)if(e.symbol)return R(e.symbol)}}return"Normal"}function P(e){if(e)switch(e.type){case"CIMTextSymbol":return e.height;case"CIMPointSymbol":{let t=0;if(e.symbolLayers)for(const n of e.symbolLayers)if(n)switch(n.type){case"CIMCharacterMarker":case"CIMPictureMarker":case"CIMVectorMarker":case"CIMObjectMarker3D":case"CIMglTFMarker3D":{const e=n.size??r.D.CIMVectorMarker.size;e>t&&(t=e);break}}return t}case"CIMLineSymbol":case"CIMPolygonSymbol":{let t=0;if(e.symbolLayers)for(const n of e.symbolLayers)if(n)switch(n.type){case"CIMSolidStroke":case"CIMPictureStroke":case"CIMGradientStroke":{const e=n.width;null!=e&&e>t&&(t=e);break}case"CIMCharacterMarker":case"CIMPictureMarker":case"CIMVectorMarker":case"CIMObjectMarker3D":case"CIMglTFMarker3D":if(n.markerPlacement&&p(n.markerPlacement)){const e=n.size??r.D.CIMVectorMarker.size;e>t&&(t=e)}break;case"CIMPictureFill":{const e=n.height;null!=e&&e>t&&(t=e)}}return t}}}function j(e,t){if(null!==t){const n=t.get(e);return n?n.name:e}return e}function E(e){return e.map(e=>({...e,propertyName:T(e.propertyName)}))}function L(e){const t={};for(const n in e){const r=e[n];t[T(n)]=r}return t}function N(e){if(!e)return 0;let t=0;for(const n of e)t+=O(n);return t}function O(e){if(!e)return 0;if(function(e){return e.type.startsWith("PRI")}(e))return e.inflateSize??256;switch(e.type){case"CIMGeometricEffectArrow":return Math.abs(.5*e.width);case"CIMGeometricEffectBuffer":return Math.abs(e.size);case"CIMGeometricEffectControlMeasureLine":return 500;case"CIMGeometricEffectExtension":return Math.abs(e.length);case"CIMGeometricEffectJog":return Math.abs(.5*e.length);case"CIMGeometricEffectMove":return Math.max(Math.abs(m(e.offsetX)),Math.abs(m(e.offsetY)));case"CIMGeometricEffectOffset":case"CIMGeometricEffectOffsetTangent":return Math.abs(e.offset);case"CIMGeometricEffectRadial":return Math.abs(e.length??5);case"CIMGeometricEffectRegularPolygon":return Math.abs(e.radius);case"CIMGeometricEffectRotate":case"CIMGeometricEffectScale":default:return 0;case"CIMGeometricEffectTaperedPolygon":return.5*Math.max(Math.abs(e.fromWidth),Math.abs(e.toWidth));case"CIMGeometricEffectWave":return Math.abs(e.amplitude);case"CIMGeometricEffectDonut":return Math.abs(e.width)}}function Z(e,t,n,r,i){const s=n*Math.PI/180;if(s){const n=Math.cos(s);return(Math.sin(s)*e+n*t)*r+i}return t*r+i}function G(e,t,n,r,i){const s=n*Math.PI/180;return s?(Math.cos(s)*e-Math.sin(s)*t)*r+i:e*r+i}function q(e,t,n){return t?n-e:n+e}function $(e,t){return Math.max(Math.min((e??t)/100,1),0)}function U(e){return null!=e&&function(e){return"setControlPoint"in e&&"getControlPoint"in e&&"setControlPointAt"in e&&"getControlPointAt"in e}(e)?e:void 0}},93470(e,t,n){n.d(t,{Cb:()=>s,HW:()=>c,JR:()=>i,JZ:()=>l,WR:()=>a,b6:()=>h,fT:()=>r,nC:()=>u,yM:()=>o});const r=[252,146,31,255],i=[153,153,153,255],s={type:"esriSMS",style:"esriSMSCircle",size:6,color:r,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},o={type:"esriSLS",style:"esriSLSSolid",width:.75,color:r},a={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},l={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},u={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},c={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},h={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}},20816(e,t,n){n.d(t,{TA:()=>i,We:()=>a,Z3:()=>s,ZJ:()=>l,w5:()=>u});var r=n(11254);const i=(0,n(13069).vD)(),s=new Map,o=new Map;async function a(e,t,n){if(!e||!n)return!1;if(!t)return!0;const i=new URL(e).host;let o=s.get(i);if(!o){const t=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,"");o=(await(0,r.A)(t,{responseType:"json",query:{f:"json"}})).data.defaultVersionName}return o===t}async function l(e,t,r=!1){if(!e||!t)return!0;const s=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,""),a=o.get(s)?.entries();if(a)for(const[e,o]of a)if(o.name===t){const t=!o.stack?.hasForwardEdits();if(!t&&r){const[{deleteForwardEdits:t},{default:r}]=await Promise.all([n.e(2186).then(n.bind(n,32186)),n.e(2558).then(n.bind(n,32558))]),a=await t(s,e,new r({sessionId:i,moment:o.moment}));return a.success&&o.stack?.clearForwardEdits(),a.success}return t}return!0}function u(e,t){if(!e)return!1;const n=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,""),r=o.get(n)?.entries();if(r)for(const[e,n]of r)if(n.name===t)return"edit"===n.lockType;return!1}new Map}}]);
|