@arcgis/core 5.2.0-next.82 → 5.2.0-next.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/components/assets/icon/deleteAndReplaceFeatures16.json +1 -0
- package/assets/components/assets/icon/deleteAndReplaceFeatures24.json +1 -0
- package/assets/components/assets/icon/deleteAndReplaceFeatures32.json +1 -0
- package/assets/components/assets/icon/moveAndRotate16.json +1 -0
- package/assets/components/assets/icon/moveAndRotate24.json +1 -0
- package/assets/components/assets/icon/moveAndRotate32.json +1 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/028bee58f7bc19e5e39e.js +1 -0
- package/assets/esri/core/workers/chunks/{a2fd945659ce052f99d2.js → 03895d49fbd34ccb3ead.js} +1 -1
- package/assets/esri/core/workers/chunks/0775d1e3034d5e7ef7bc.js +1 -0
- package/assets/esri/core/workers/chunks/{95ff342e5c29bf91a765.js → 13a43c87d7952facbed4.js} +1 -1
- package/assets/esri/core/workers/chunks/{e59101f1d060d0a30a65.js → 14def8f47ae7265dd71b.js} +1 -1
- package/assets/esri/core/workers/chunks/1b00789511c9b27da4a7.js +1 -0
- package/assets/esri/core/workers/chunks/1b277311a4beb4243bf8.js +2 -0
- package/assets/esri/core/workers/chunks/1d03db4df18524cf391c.js +1 -0
- package/assets/esri/core/workers/chunks/24bfe759c8848143361e.js +1 -0
- package/assets/esri/core/workers/chunks/30dade7bf6032be32599.js +2 -0
- package/assets/esri/core/workers/chunks/{865f9adc591056458b6b.js → 33dc93d82407052fafe1.js} +1 -1
- package/assets/esri/core/workers/chunks/{0d982abff7c9496f7890.js → 3a6990058f1003bd2812.js} +1 -1
- package/assets/esri/core/workers/chunks/{0fd7590e545864f5fff4.js → 3ca0d503ce733088a6c2.js} +1 -1
- package/assets/esri/core/workers/chunks/46b3d6814ba4c0a71111.js +1 -0
- package/assets/esri/core/workers/chunks/49784f8e8e5fac0cc5a9.js +1 -0
- package/assets/esri/core/workers/chunks/{563a4d6788ad66b676e4.js → 5156d94f01b4fbbf8cde.js} +1 -1
- package/assets/esri/core/workers/chunks/{cdd4aeaa3f30bc4ea93a.js → 5568448e7f51508ffdf5.js} +1 -1
- package/assets/esri/core/workers/chunks/58e4aecabca047f1d229.js +1 -0
- package/assets/esri/core/workers/chunks/{218ddad849745d652a28.js → 5a3c1fe24814a345ab39.js} +1 -1
- package/assets/esri/core/workers/chunks/5b292831127bf981c1c5.js +1 -0
- package/assets/esri/core/workers/chunks/{bd1c870694edd25bf8aa.js → 5f13ade03500b39c1720.js} +1 -1
- package/assets/esri/core/workers/chunks/6154f4d39f9e53fe56cc.js +1 -0
- package/assets/esri/core/workers/chunks/62b116307483d5f0e37d.js +2 -0
- package/assets/esri/core/workers/chunks/6433a623af765b7e53ab.js +1 -0
- package/assets/esri/core/workers/chunks/65eff0ae773505495f21.js +1 -0
- package/assets/esri/core/workers/chunks/6d11b922898a8039dbe7.js +1 -0
- package/assets/esri/core/workers/chunks/7188559a685e0ba30c4f.js +1 -0
- package/assets/esri/core/workers/chunks/{faf14281a74a06fa1f30.js → 724b2631c9ced80a1661.js} +1 -1
- package/assets/esri/core/workers/chunks/7493ce5d02224c07a6d5.js +1 -0
- package/assets/esri/core/workers/chunks/7ad70c8a56f2481adc82.js +1 -0
- package/assets/esri/core/workers/chunks/7ca188f824956a5cac35.js +2 -0
- package/assets/esri/core/workers/chunks/852649460d664b0a1a1d.js +1 -0
- package/assets/esri/core/workers/chunks/{ab10388dcc17a665ac3b.js → 8e1b913067b8e88ff365.js} +2 -2
- package/assets/esri/core/workers/chunks/{e3eab61815ef1c521a6c.js → 9568932bafe689c38f63.js} +1 -1
- package/assets/esri/core/workers/chunks/{c8d83f71326222b98608.js → 996ac351e2322298a17d.js} +1 -1
- package/assets/esri/core/workers/chunks/{34f6093d2c00e3584037.js → 9be05d32528b395a7d34.js} +1 -1
- package/assets/esri/core/workers/chunks/{552d6aecc7d88d16227b.js → 9d41c02601d0bb75b525.js} +1 -1
- package/assets/esri/core/workers/chunks/{64a1ffc221e5b63b43fb.js → a4bb0951e1389e7b803c.js} +1 -1
- package/assets/esri/core/workers/chunks/{b09e9ac5fd928e69b053.js → aabffe53508730e504ec.js} +1 -1
- package/assets/esri/core/workers/chunks/b61c30cdf698b4d1573a.js +1 -0
- package/assets/esri/core/workers/chunks/bbb97c38d8670329d07e.js +2 -0
- package/assets/esri/core/workers/chunks/bd8b483e70acf0fc601e.js +1 -0
- package/assets/esri/core/workers/chunks/bef32acf368b4d5aba37.js +1 -0
- package/assets/esri/core/workers/chunks/c90dfdf2302b7db1f6f7.js +1 -0
- package/assets/esri/core/workers/chunks/{8a36b999cbd65dd2f16c.js → d8c3bdc3c6be8ba7c5e6.js} +1 -1
- package/assets/esri/core/workers/chunks/{40b842d055b87e442156.js → f20b88f5a6d3b988a055.js} +1 -1
- package/assets/esri/core/workers/chunks/{f248131df4eaa5291623.js → f6ae0c483579e227a2f2.js} +1 -1
- package/config.js +1 -1
- package/geometry/support/spatialReferenceUtils.js +1 -1
- package/kernel.js +1 -1
- package/package.json +2 -2
- package/renderers/UniqueValueRenderer.js +1 -1
- package/support/revision.js +1 -1
- package/views/2d/engine/vectorTiles/buckets/SymbolBucket.js +1 -1
- package/views/2d/engine/vectorTiles/style/GeoJSONLabelUtils.js +2 -0
- package/views/2d/engine/vectorTiles/style/StyleLayer.js +1 -1
- package/views/2d/engine/vectorTiles/style/StyleRepository.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AAnimatedShader.js +1 -1
- package/views/3d/GroundView3D.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightAuthoringUtils.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightItemTool.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightObserverPlugin.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightPlacementLeafPlugin.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightRootPlugin.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightTargetPlugin.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
- package/views/3d/analysis/LineOfSight/lineOfSightPlacementUtils.js +1 -1
- package/views/3d/input/SceneInputManager.js +1 -1
- package/views/3d/input/handlers/PinchAndPanNavigation.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMeshLayerView3D.js +1 -1
- package/views/3d/state/controllers/PinchAndPanControllerGlobal.js +1 -1
- package/views/3d/state/controllers/PinchAndPanControllerLocal.js +1 -1
- package/views/3d/state/controllers/ZoomControllerGlobal.js +1 -1
- package/views/3d/state/utils/navigationUtils.js +1 -1
- package/views/3d/support/GroundAndIMSurface.js +2 -0
- package/views/3d/support/pointsOfInterest/CameraOnSurface.js +1 -1
- package/views/3d/support/pointsOfInterest/CenterOnSurface.js +1 -1
- package/views/3d/support/pointsOfInterest/PointOfInterest.js +1 -1
- package/views/3d/support/pointsOfInterest/PointsOfInterest.js +1 -1
- package/views/3d/terrain/OverlayManager.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/MergedRenderer.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/PerBufferData.js +1 -1
- package/views/SceneView.js +1 -1
- package/views/draw/support/PluginContext.js +1 -1
- package/views/draw/support/types.d.ts +6 -0
- package/views/interactive/interactiveToolUtils.js +1 -1
- package/widgets/Widget.js +1 -1
- package/widgets/support/jsxWidgetSupport.js +1 -1
- package/assets/esri/core/workers/chunks/0dcfd82a2669df6eb5a0.js +0 -1
- package/assets/esri/core/workers/chunks/1352b5c6767e5421bc02.js +0 -1
- package/assets/esri/core/workers/chunks/14469f664fd5ede469fc.js +0 -1
- package/assets/esri/core/workers/chunks/177c3b23c1cbd4737049.js +0 -1
- package/assets/esri/core/workers/chunks/21f763694a41968ac21a.js +0 -1
- package/assets/esri/core/workers/chunks/230925079cee040a8d77.js +0 -1
- package/assets/esri/core/workers/chunks/25696c194457e42b3bdc.js +0 -1
- package/assets/esri/core/workers/chunks/469e72ab6cd44272f474.js +0 -1
- package/assets/esri/core/workers/chunks/4f36596280142be1c666.js +0 -1
- package/assets/esri/core/workers/chunks/53d80202b5f43542d45b.js +0 -1
- package/assets/esri/core/workers/chunks/6c389e9646a48c26da20.js +0 -2
- package/assets/esri/core/workers/chunks/6f08c8a1e8e3ffd0a96a.js +0 -1
- package/assets/esri/core/workers/chunks/71ee7c51d2c60a180f1e.js +0 -1
- package/assets/esri/core/workers/chunks/927582ec15bff2acbb49.js +0 -1
- package/assets/esri/core/workers/chunks/98739b6e7904045edbab.js +0 -1
- package/assets/esri/core/workers/chunks/a69c10bfd632a5546b34.js +0 -1
- package/assets/esri/core/workers/chunks/ac9a3dfd02160e43fc8a.js +0 -2
- package/assets/esri/core/workers/chunks/c456abf5ee2a1ad5cc5b.js +0 -1
- package/assets/esri/core/workers/chunks/c61e94806b37ca3dd549.js +0 -2
- package/assets/esri/core/workers/chunks/c899457f19b749516275.js +0 -1
- package/assets/esri/core/workers/chunks/d0c8630177d3a4e316f1.js +0 -2
- package/assets/esri/core/workers/chunks/da0ef984509057ec8507.js +0 -1
- package/assets/esri/core/workers/chunks/ead4143d811aab610e00.js +0 -2
- package/assets/esri/core/workers/chunks/ffe2cbfea38b92a231d6.js +0 -1
- /package/assets/esri/core/workers/chunks/{d0c8630177d3a4e316f1.js.LICENSE.txt → 1b277311a4beb4243bf8.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{ead4143d811aab610e00.js.LICENSE.txt → 30dade7bf6032be32599.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{ac9a3dfd02160e43fc8a.js.LICENSE.txt → 62b116307483d5f0e37d.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{6c389e9646a48c26da20.js.LICENSE.txt → 7ca188f824956a5cac35.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{ab10388dcc17a665ac3b.js.LICENSE.txt → 8e1b913067b8e88ff365.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{c61e94806b37ca3dd549.js.LICENSE.txt → bbb97c38d8670329d07e.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[564],{60999(e,t,i){i.d(t,{DZ:()=>h,Ke:()=>y,Tj:()=>p,UT:()=>m,aD:()=>g,jJ:()=>u});var s=i(5482),r=i(69622),l=i(97768),o=i(17676),n=i(10107),a=i(64108);function u(e,t,i){return(0,o.Lx)(e.map((e,s)=>t.apply(i,[e,s])))}async function p(e,t,i){return(await(0,o.Lx)(e.map((e,s)=>t.apply(i,[e,s])))).map(e=>e.value)}function c(e){return{ok:!0,value:e}}function d(e){return{ok:!1,error:e}}async function y(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return c(await e)}catch(e){return d(e)}}async function h(e){try{return c(await e)}catch(e){return(0,o.QP)(e),d(e)}}function m(e,t){return new f(e,t)}let f=class extends r.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,l.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:i}=this._abortController;this.promise=e(i),this.promise.then(e=>{this._result=c(e),this._cleanup()},e=>{this._result=d(e),this._cleanup()}),this._abortHandle=(0,o.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,l.xt)(this._abortHandle),this._abortController=null}};(0,s.Cg)([(0,n.MZ)()],f.prototype,"value",null),(0,s.Cg)([(0,n.MZ)()],f.prototype,"error",null),(0,s.Cg)([(0,n.MZ)()],f.prototype,"finished",null),(0,s.Cg)([(0,n.MZ)()],f.prototype,"promise",void 0),(0,s.Cg)([(0,n.MZ)()],f.prototype,"_result",void 0),f=(0,s.Cg)([(0,a.$)("esri.core.asyncUtils.ReactiveTask")],f);class g{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});const t=await e;return{[Symbol.dispose]:t}}async run(e){const t={stack:[],error:void 0,hasError:!1};try{return(0,s.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,s.hk)(t)}}}},92438(e,t,i){i.d(t,{A:()=>u});var s=i(5482),r=i(66552),l=i(25482),o=i(91429),n=i(30943);const a=new r.J({simple:"simple",uniqueValue:"unique-value",classBreaks:"class-breaks",heatmap:"heatmap",dotDensity:"dot-density",dictionary:"dictionary",pieChart:"pie-chart"},{ignoreUnknown:!0});let u=class extends l.o{constructor(e){super(e),this.authoringInfo=null,this.type=null}async getRequiredFields(e){if(!this.collectRequiredFields)return[];const t=new Set;return await this.collectRequiredFields(t,e),Array.from(t).sort()}getSymbol(e,t){}async getSymbolAsync(e,t){}get symbols(){return[]}get arcadeRequired(){return!1}};(0,s.Cg)([(0,o.MZ)({type:n.A,json:{write:!0}})],u.prototype,"authoringInfo",void 0),(0,s.Cg)([(0,o.MZ)({type:a.apiValues,readOnly:!0,json:{type:a.jsonValues,read:!1,write:{writer:a.write,ignoreOrigin:!0,isRequired:!0}}})],u.prototype,"type",void 0),u=(0,s.Cg)([(0,o.$K)("esri.renderers.Renderer")],u)},93618(e,t,i){i.d(t,{A:()=>N});var s=i(5482),r=i(4718),l=i(53966),o=i(93637),n=i(36708),a=i(91429),u=i(6797),p=i(56507),c=i(30524),d=i(20655),y=i(92438),h=i(63988),m=i(49849),f=i(20061),g=i(80911),b=i(69540),v=i(25482);let w=class extends((0,b.OU)(v.o)){constructor(e){super(e),this.value=null,this.value2=null,this.value3=null}};(0,s.Cg)([(0,a.MZ)(m.Ug)],w.prototype,"value",void 0),(0,s.Cg)([(0,a.MZ)(m.Ug)],w.prototype,"value2",void 0),(0,s.Cg)([(0,a.MZ)(m.Ug)],w.prototype,"value3",void 0),w=(0,s.Cg)([(0,a.$K)("esri.renderers.support.UniqueValue")],w);var S=i(4576),V=i(40863);let C=class extends((0,b.OU)(v.o)){constructor(e){super(e),this.description=null,this.label=null,this.symbol=null,this.alternateSymbols=null}get values(){return this._get("values")}set values(e){if(null!=e){const t=typeof(e=Array.isArray(e)?e:[e])[0];e="string"===t||"number"===t?e.map(e=>new w({value:e})):"object"===t?e[0]instanceof w?e:e.map(e=>new w(e)):null}this._set("values",e)}};(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],C.prototype,"description",void 0),(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],C.prototype,"label",void 0),(0,s.Cg)([(0,a.MZ)(m.z4)],C.prototype,"symbol",void 0),(0,s.Cg)([(0,a.MZ)({type:[V.A],json:{write:!0,origins:{"web-scene":{write:!1}}}})],C.prototype,"alternateSymbols",void 0),(0,s.Cg)([(0,a.MZ)({json:{type:[[String]],read:{reader:e=>e?e.map(e=>new w({value:e[0],value2:e[1],value3:e[2]})):null},write:{writer:(e,t)=>{const i=[];for(const t of e){const e=[t.value,t.value2,t.value3].filter(S.Ru).map(e=>e.toString());i.push(e)}t.values=i}}}})],C.prototype,"values",null),C=(0,s.Cg)([(0,a.$K)("esri.renderers.support.UniqueValueClass")],C);let M=class extends((0,b.OU)(v.o)){constructor(e){super(e),this.heading=null,this.classes=null}};(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],M.prototype,"heading",void 0),(0,s.Cg)([(0,a.MZ)({type:[C],json:{write:{isRequired:!0}}})],M.prototype,"classes",void 0),M=(0,s.Cg)([(0,a.$K)("esri.renderers.support.UniqueValueGroup")],M);var x,_=i(94833),z=i(43668),A=i(97159),j=i(29169),q=i(85594),I=i(33910),Z=i(59923),F=i(93223),U=i(43937),D=i(36005);const E="uvInfos-watcher",R="uvGroups-watcher",O=(0,p.dp)(_.A);function k(e){return null==e||""===e||"string"==typeof e&&(""===e.trim()||"<null>"===e.toLowerCase())?null:e}function T(e,t){return t&&"string"==typeof e?e.split(t).map(e=>k(e)??"").join(t):`${k(e)}`}let N=x=class extends((0,h.h)(y.A)){constructor(e){super(e),this._valueInfoMap={},this._isDefaultSymbolDerived=!1,this._isInfosSource=null,this.type="unique-value",this.backgroundFillSymbol=null,this.orderByClassesEnabled=!1,this.valueExpressionTitle=null,this.legendOptions=null,this.defaultLabel=null,this.portal=null,this.styleOrigin=null,this.diff={uniqueValueInfos(e,t){if(!e&&!t)return;if(!e||!t)return{type:"complete",oldValue:e,newValue:t};let i=!1;const s={type:"collection",added:[],removed:[],changed:[],unchanged:[]};for(let r=0;r<t.length;r++){const l=e.find(e=>e.value===t[r].value);l?(0,u.Ui)(l,t[r])?(s.changed.push({type:"complete",oldValue:l,newValue:t[r]}),i=!0):s.unchanged.push({oldValue:l,newValue:t[r]}):(s.added.push(t[r]),i=!0)}for(let r=0;r<e.length;r++)t.find(t=>t.value===e[r].value)||(s.removed.push(e[r]),i=!0);return i?s:void 0}},this._set("uniqueValueInfos",[]),this._set("uniqueValueGroups",[])}get _cache(){return{compiledFunc:null}}set field(e){this._set("field",e),this._updateFieldDelimiter(),this._updateUniqueValues()}castField(e){return null==e||"function"==typeof e?e:(0,p.GX)(e)}writeField(e,t,i,s){"string"==typeof e?t[i]=e:s?.messages?(0,Z.qt)(s,"UniqueValueRenderer.field","set to a function cannot be written to JSON"):l.A.getLogger(this).error(".field: cannot write field to JSON since it's not a string value")}set field2(e){this._set("field2",e),this._updateFieldDelimiter(),this._updateUniqueValues()}set field3(e){this._set("field3",e),this._updateUniqueValues()}set valueExpression(e){this._set("valueExpression",e),this._updateUniqueValues()}set defaultSymbol(e){this._isDefaultSymbolDerived=!1,this._set("defaultSymbol",e)}set fieldDelimiter(e){this._set("fieldDelimiter",e),this._updateUniqueValues()}readPortal(e,t,i){return i.portal||d.A.getDefault()}readStyleOrigin(e,t,i){if(t.styleName)return Object.freeze({styleName:t.styleName});if(t.styleUrl){const e=(0,A.f)(t.styleUrl,i);return Object.freeze({styleUrl:e})}}writeStyleOrigin(e,t,i,s){e.styleName?t.styleName=e.styleName:e.styleUrl&&(t.styleUrl=(0,A.t)(e.styleUrl,s))}set uniqueValueGroups(e){this.styleOrigin?l.A.getLogger(this).error("#uniqueValueGroups=","Cannot modify unique value groups of a UniqueValueRenderer created from a web style"):(this._set("uniqueValueGroups",e),this._updateInfosFromGroups(),this._isInfosSource=!1,this._watchUniqueValueGroups())}set uniqueValueInfos(e){this.styleOrigin?l.A.getLogger(this).error("#uniqueValueInfos=","Cannot modify unique value infos of a UniqueValueRenderer created from a web style"):(this._set("uniqueValueInfos",e),this._updateValueInfoMap(),this._updateGroupsFromInfos(),this._isInfosSource=!0,this._watchUniqueValueInfos())}addUniqueValueInfo(e,t){if(this.styleOrigin)return void l.A.getLogger(this).error("#addUniqueValueInfo()","Cannot modify unique value infos of a UniqueValueRenderer created from a web style");let i;i="object"==typeof e?O(e):new _.A({value:e,symbol:(0,I.dp)(t)}),this.uniqueValueInfos?.push(i),this._valueInfoMap[T(i.value,this.fieldDelimiter)]=i,this._updateGroupsFromInfos(),this._isInfosSource=!0,this._watchUniqueValueInfos()}removeUniqueValueInfo(e){if(this.styleOrigin)return void l.A.getLogger(this).error("#removeUniqueValueInfo()","Cannot modify unique value infos of a UniqueValueRenderer created from a web style");const t=this.uniqueValueInfos;if(t)for(let i=0;i<t.length;i++){const s=t[i];if(String(s.value)===String(e)){delete this._valueInfoMap[T(e,this.fieldDelimiter)],t.splice(i,1);break}}this._updateGroupsFromInfos(),this._isInfosSource=!0,this._watchUniqueValueInfos()}async getUniqueValueInfo(e,t){let i=t;return this.valueExpression&&null==t?.arcade&&(i={...i,arcade:await(0,z.l)()}),this._getUniqueValueInfo(e,i)}getSymbol(e,t){if(this.valueExpression&&null==t?.arcade)return void l.A.getLogger(this).error("#getSymbol()","Please use getSymbolAsync if valueExpression is used");const i=this._getUniqueValueInfo(e,t);return(0,g.c)(i,t?.scale)??this.defaultSymbol}async getSymbolAsync(e,t){let i=t;if(this.valueExpression&&null==i?.arcade){const e=await(0,z.l)(),{arcadeUtils:t}=e;t.hasGeometryOperations(this.valueExpression)&&await t.enableGeometryOperations(),i={...i,arcade:e}}const s=this._getUniqueValueInfo(e,i);return(0,g.c)(s,i?.scale)??this.defaultSymbol}get symbols(){const e=[];if(this._isInfosSource)for(const t of this.uniqueValueInfos??[])t.symbol&&e.push(t.symbol),e.push(...t.alternateSymbols??[]);else for(const t of this.uniqueValueGroups??[])for(const i of t.classes??[])i.symbol&&e.push(i.symbol),e.push(...i.alternateSymbols??[]);return this.defaultSymbol&&e.push(this.defaultSymbol),e}clone(){const e=new x({field:this.field,field2:this.field2,field3:this.field3,defaultLabel:this.defaultLabel,defaultSymbol:(0,r.o8)(this.defaultSymbol),orderByClassesEnabled:this.orderByClassesEnabled,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,fieldDelimiter:this.fieldDelimiter,visualVariables:(0,r.o8)(this.visualVariables),legendOptions:(0,r.o8)(this.legendOptions),authoringInfo:(0,r.o8)(this.authoringInfo),backgroundFillSymbol:(0,r.o8)(this.backgroundFillSymbol)});this._isDefaultSymbolDerived&&(e._isDefaultSymbolDerived=!0),e._set("portal",this.portal);const t=(0,r.o8)(this.uniqueValueInfos),i=(0,r.o8)(this.uniqueValueGroups);return this.styleOrigin&&(e._set("styleOrigin",Object.freeze((0,r.o8)(this.styleOrigin))),Object.freeze(t),Object.freeze(i)),e._set("uniqueValueInfos",t),e._updateValueInfoMap(),e._set("uniqueValueGroups",i),e._isInfosSource=this._isInfosSource,e._watchUniqueValueInfosAndGroups(),e}get arcadeRequired(){return this.arcadeRequiredForVisualVariables||!!this.valueExpression}async collectRequiredFields(e,t){const i=[this.collectVVRequiredFields(e,t),this.collectSymbolFields(e,t)];await Promise.all(i)}async collectSymbolFields(e,t){const i=[...this.symbols.map(i=>i.collectRequiredFields(e,t)),(0,c.Dx)(e,t,null,this.valueExpression)];(0,c.rq)(e,t,this.field),(0,c.rq)(e,t,this.field2),(0,c.rq)(e,t,this.field3),await Promise.all(i)}populateFromStyle(){return(0,q.cF)(this.styleOrigin,{portal:this.portal}).then(e=>{const t=[];return this._valueInfoMap={},e?.data&&Array.isArray(e.data.items)&&e.data.items.forEach(i=>{const s=new j.A({styleUrl:e.styleUrl,styleName:e.styleName,portal:this.portal,name:i.name});this.defaultSymbol||i.name!==e.data.defaultItem||(this.defaultSymbol=s,this._isDefaultSymbolDerived=!0);const r=new _.A({value:i.name,symbol:s});t.push(r),this._valueInfoMap[T(i.name)]=r}),this._set("uniqueValueInfos",Object.freeze(t)),this._updateGroupsFromInfos(!0),this._isInfosSource=null,this._watchUniqueValueInfos(),!this.defaultSymbol&&this.uniqueValueInfos?.length&&(this.defaultSymbol=this.uniqueValueInfos[0].symbol,this._isDefaultSymbolDerived=!0),this})}_updateFieldDelimiter(){this.field&&this.field2&&!this.fieldDelimiter&&this._set("fieldDelimiter",",")}_updateUniqueValues(){null!=this._isInfosSource&&(this._isInfosSource?this._updateGroupsFromInfos():this._updateInfosFromGroups())}_updateValueInfoMap(){this._valueInfoMap={};const{uniqueValueInfos:e}=this;if(e)for(const t of e)this._valueInfoMap[T(t.value,this.fieldDelimiter)]=t}_watchUniqueValueInfosAndGroups(){this._watchUniqueValueInfos(),this._watchUniqueValueGroups()}_watchUniqueValueInfos(){this.removeHandles(E);const{uniqueValueInfos:e}=this;if(e){const t=[];for(const i of e)t.push((0,n.wB)(()=>({symbol:i.symbol,alternateSymbols:i.alternateSymbols,value:i.value,label:i.label,description:i.description}),(e,t)=>{e!==t&&(this._updateGroupsFromInfos(),this._isInfosSource=!0)},{sync:!0}));this.addHandles(t,E)}}_watchUniqueValueGroups(){this.removeHandles(R);const{uniqueValueGroups:e}=this;if(e){const t=[];for(const i of e){t.push((0,n.wB)(()=>({classes:i.classes}),(e,t)=>{e!==t&&(this._updateInfosFromGroups(),this._isInfosSource=!1)},{sync:!0}));for(const e of i.classes??[])t.push((0,n.wB)(()=>({symbol:e.symbol,alternateSymbols:e.alternateSymbols,values:e.values,label:e.label,description:e.description}),(e,t)=>{e!==t&&(this._updateInfosFromGroups(),this._isInfosSource=!1)},{sync:!0}))}this.addHandles(t,R)}}_updateInfosFromGroups(){if(!this.uniqueValueGroups)return this._set("uniqueValueInfos",null),this._updateValueInfoMap(),void this._watchUniqueValueInfos();const e=[],{field:t,field2:i,field3:s,fieldDelimiter:r,uniqueValueGroups:l,valueExpression:o}=this;if(!t&&!o)return this._set("uniqueValueInfos",e),this._updateValueInfoMap(),void this._watchUniqueValueInfos();const n=!(!t||!i);for(const t of l)for(const l of t.classes??[]){const{alternateSymbols:t,symbol:o,label:a,values:u,description:p}=l;for(const l of u??[]){const{value:u,value2:c,value3:d}=l,y=[u];i&&y.push(c),s&&y.push(d);const h=n?y.join(r||""):y[0]??void 0;e.push(new _.A({alternateSymbols:t,symbol:o,label:a,value:h,description:p}))}}this._set("uniqueValueInfos",e),this._updateValueInfoMap(),this._watchUniqueValueInfos()}_updateGroupsFromInfos(e=!1){if(!this.uniqueValueInfos)return this._set("uniqueValueGroups",null),void this._watchUniqueValueGroups();const{field:t,field2:i,valueExpression:s,fieldDelimiter:r,uniqueValueInfos:l}=this;if(!t&&!s||!l.length)return this._set("uniqueValueGroups",[]),void this._watchUniqueValueGroups();const o=!(!t||!i),n=l.map(e=>{const{alternateSymbols:t,symbol:i,label:s,value:l,description:n}=e,[a,u,p]=o?l?.toString()?.split(r||"")||[]:[l];return new C({alternateSymbols:t,symbol:i,label:s,description:n,values:[new w({value:a,value2:u,value3:p})]})}),a=[new M({classes:n})];e&&Object.freeze(a),this._set("uniqueValueGroups",a),this._watchUniqueValueGroups()}_getUniqueValueInfo(e,t){return this.valueExpression?this._getUnqiueValueInfoForExpression(e,t):this._getUnqiueValueInfoForFields(e)}_getUnqiueValueInfoForExpression(e,t){const{viewingMode:i,scale:s,spatialReference:r,arcade:l,timeZone:o}=t??{};let n=this._cache.compiledFunc;const a=l.arcadeUtils;if(!n){const e=a.createSyntaxTree(this.valueExpression);n=a.createFunction(e),this._cache.compiledFunc=n}const u=a.executeFunction(n,a.createExecContext(e,a.getViewInfo({viewingMode:i,scale:s,spatialReference:r}),o));return this._valueInfoMap[T(u)]}_getUnqiueValueInfoForFields(e){const t=this.field,i=e.attributes;let s;if(this.field2){const e=this.field2,r=this.field3,l=[];t&&l.push(i[t]),e&&l.push(i[e]),r&&l.push(i[r]),s=l.join(this.fieldDelimiter||"")}else t&&(s=i[t]);return this._valueInfoMap[T(s,this.fieldDelimiter)]}static fromPortalStyle(e,t){const i=new x(t?.properties);i._set("styleOrigin",Object.freeze({styleName:e})),i._set("portal",t?.portal||d.A.getDefault());const s=i.populateFromStyle();return s.catch(t=>{l.A.getLogger(this.prototype).error(`#fromPortalStyle('${e}'[, ...])`,"Failed to create unique value renderer from style name",t)}),s}static fromStyleUrl(e,t){const i=new x(t?.properties);i._set("styleOrigin",Object.freeze({styleUrl:e}));const s=i.populateFromStyle();return s.catch(t=>{l.A.getLogger(this.prototype).error(`#fromStyleUrl('${e}'[, ...])`,"Failed to create unique value renderer from style URL",t)}),s}};(0,s.Cg)([(0,a.MZ)({readOnly:!0})],N.prototype,"_cache",null),(0,s.Cg)([(0,F.e)({uniqueValue:"unique-value"})],N.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)(m.As)],N.prototype,"backgroundFillSymbol",void 0),(0,s.Cg)([(0,a.MZ)({value:null,json:{type:String,read:{source:"field1"},write:{target:"field1"}}})],N.prototype,"field",null),(0,s.Cg)([(0,a.wg)("field")],N.prototype,"castField",null),(0,s.Cg)([(0,U.K)("field")],N.prototype,"writeField",null),(0,s.Cg)([(0,a.MZ)({type:String,value:null,json:{write:!0}})],N.prototype,"field2",null),(0,s.Cg)([(0,a.MZ)({type:String,value:null,json:{write:!0}})],N.prototype,"field3",null),(0,s.Cg)([(0,a.MZ)({type:Boolean,json:{name:"drawInClassOrder",default:!1,write:!0,origins:{"web-scene":{write:!1}}}})],N.prototype,"orderByClassesEnabled",void 0),(0,s.Cg)([(0,a.MZ)({type:String,value:null,json:{write:!0}})],N.prototype,"valueExpression",null),(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],N.prototype,"valueExpressionTitle",void 0),(0,s.Cg)([(0,a.MZ)({type:f.A,json:{write:!0}})],N.prototype,"legendOptions",void 0),(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],N.prototype,"defaultLabel",void 0),(0,s.Cg)([(0,a.MZ)((0,o.$N)({...m.z4},{json:{write:{overridePolicy(){return{enabled:!this._isDefaultSymbolDerived}}},origins:{"web-scene":{write:{overridePolicy(){return{enabled:!this._isDefaultSymbolDerived}}}}}}}))],N.prototype,"defaultSymbol",null),(0,s.Cg)([(0,a.MZ)({type:String,value:null,json:{write:!0}})],N.prototype,"fieldDelimiter",null),(0,s.Cg)([(0,a.MZ)({type:d.A,readOnly:!0})],N.prototype,"portal",void 0),(0,s.Cg)([(0,D.w)("portal",["styleName"])],N.prototype,"readPortal",null),(0,s.Cg)([(0,a.MZ)({readOnly:!0,json:{write:{enabled:!1,overridePolicy:()=>({enabled:!0})}}})],N.prototype,"styleOrigin",void 0),(0,s.Cg)([(0,D.w)("styleOrigin",["styleName","styleUrl"])],N.prototype,"readStyleOrigin",null),(0,s.Cg)([(0,U.K)("styleOrigin",{styleName:{type:String},styleUrl:{type:String}})],N.prototype,"writeStyleOrigin",null),(0,s.Cg)([(0,a.MZ)({type:[M],json:{read:{source:["uniqueValueGroups","uniqueValueInfos"],reader:(e,t,i)=>(t.uniqueValueGroups||function(e){const{field1:t,field2:i,field3:s,fieldDelimiter:r,uniqueValueInfos:l,valueExpression:o}=e,n=!(!t||!i);return[{classes:(l??[]).map(e=>{const{alternateSymbols:l,symbol:a,label:u,value:p,description:c}=e,[d,y,h]=n?p?.toString()?.split(r||"")||[]:[p],m=[];return(t||o)&&m.push(d),i&&m.push(y),s&&m.push(h),{alternateSymbols:l,symbol:a,label:u,values:[m],description:c}})}]}(t)).map(e=>M.fromJSON(e,i))},write:{overridePolicy(){return this.styleOrigin?{enabled:!1}:{enabled:!0}}}}})],N.prototype,"uniqueValueGroups",null),(0,s.Cg)([(0,a.MZ)({type:[_.A],json:{read:!1,write:{isRequired:!0,overridePolicy(){return this.styleOrigin?{enabled:!1}:{enabled:!0,isRequired:!0}}}}})],N.prototype,"uniqueValueInfos",null),N=x=(0,s.Cg)([(0,a.$K)("esri.renderers.UniqueValueRenderer")],N)},63988(e,t,i){i.d(t,{h:()=>C});var s=i(5482),r=i(91429),l=i(30524),o=i(2024),n=i(62724),a=i(23461),u=i(48940),p=i(2795),c=i(69622),d=i(66552),y=i(53966),h=i(59923);const m={color:o.A,size:u.A,opacity:n.A,rotation:a.A},f=new d.J({colorInfo:"color",transparencyInfo:"opacity",rotationInfo:"rotation",sizeInfo:"size"}),g=/^\[([^\]]+)\]$/i;let b=class extends c.A{constructor(){super(...arguments),this.colorVariables=null,this.opacityVariables=null,this.rotationVariables=null,this.sizeVariables=null}set visualVariables(e){if(this._resetVariables(),e=e?.filter(e=>!!e),e?.length){for(const t of e)switch(t.type){case"color":this.colorVariables.push(t);break;case"opacity":this.opacityVariables.push(t);break;case"rotation":this.rotationVariables.push(t);break;case"size":this.sizeVariables.push(t)}this.sizeVariables.length&&this.sizeVariables.some(e=>!!e.target)&&e.sort((e,t)=>{let i=null;return i=e.target===t.target?0:e.target?1:-1,i});for(let t=0;t<e.length;t++)e[t].index=t;this._set("visualVariables",e)}else this._set("visualVariables",e)}readVariables(e,t,i){const{rotationExpression:s,rotationType:r}=t,l=s?.match(g),o=l?.[1];if(o&&(e||(e=[]),e.push({type:"rotationInfo",rotationType:r,field:o})),e)return e.map(e=>{const t=f.read(e.type),s=m[t];s||(y.A.getLogger(this).warn(`Unknown variable type: ${t}`),(0,h.Yc)(i,"warning","visual-variable",`visualVariable of type '${t}' is not supported`,{definition:e}));const r=new s;return r.read(e,i),r})}writeVariables(e,t){const i=[];for(const s of e){const e=s.toJSON(t);e&&i.push(e)}return i}_resetVariables(){this.colorVariables=[],this.opacityVariables=[],this.rotationVariables=[],this.sizeVariables=[]}};(0,s.Cg)([(0,r.MZ)()],b.prototype,"visualVariables",null),b=(0,s.Cg)([(0,r.$K)("esri.renderers.visualVariables.VisualVariableFactory")],b);var v=i(69309),w=i(36005),S=i(43937);const V={base:p.A,key:"type",typeMap:{opacity:n.A,color:o.A,rotation:a.A,size:u.A}},C=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this._vvFactory=new b}set visualVariables(e){this._vvFactory.visualVariables=e,this._set("visualVariables",this._vvFactory.visualVariables)}readVisualVariables(e,t,i){return this._vvFactory.readVariables(e,t,i)}writeVisualVariables(e,t,i,s){t[i]=this._vvFactory.writeVariables(e,s)}get arcadeRequiredForVisualVariables(){return this.visualVariables?.some(({arcadeRequired:e})=>e)??!1}hasVisualVariables(e,t){return e?this.getVisualVariablesForType(e,t).length>0:this.getVisualVariablesForType("size",t).length>0||this.getVisualVariablesForType("color",t).length>0||this.getVisualVariablesForType("opacity",t).length>0||this.getVisualVariablesForType("rotation",t).length>0}getVisualVariablesForType(e,t){return this.visualVariables?.filter(i=>i.type===e&&("string"==typeof t?i.target===t:!1!==t||!i.target))??[]}async collectVVRequiredFields(e,t){let i=[];this.visualVariables&&(i=i.concat(this.visualVariables));for(const s of i)s&&(s.field&&(0,l.rq)(e,t,s.field),s.normalizationField&&(0,l.rq)(e,t,s.normalizationField),s.valueExpression&&(M(s.valueExpression,e,t)||await(0,l.Dx)(e,t,null,s.valueExpression)))}};return(0,s.Cg)([(0,r.MZ)({types:[V],value:null,json:{write:!0}})],i.prototype,"visualVariables",null),(0,s.Cg)([(0,w.w)("visualVariables",["visualVariables","rotationType","rotationExpression"])],i.prototype,"readVisualVariables",null),(0,s.Cg)([(0,S.K)("visualVariables")],i.prototype,"writeVisualVariables",null),i=(0,s.Cg)([(0,r.$K)("esri.renderers.mixins.VisualVariablesMixin")],i),i};function M(e,t,i){const s=(0,v.D)(e);return null!=s&&((0,l.rq)(t,i,s),!0)}},30943(e,t,i){i.d(t,{A:()=>U});var s,r=i(5482),l=i(66552),o=i(25482),n=i(4718),a=i(91429),u=i(56507);let p=s=class extends o.o{constructor(e){super(e),this.minValue=0,this.maxValue=0}clone(){return new s({minValue:this.minValue,maxValue:this.maxValue})}};(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],p.prototype,"minValue",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],p.prototype,"maxValue",void 0),p=s=(0,r.Cg)([(0,a.$K)("esri.renderers.support.AuthoringInfoClassBreakInfo")],p);const c=p;var d;let y=d=class extends o.o{constructor(e){super(e),this.field="",this.normalizationField="",this.label="",this.classBreakInfos=new Array}clone(){return new d({field:this.field,normalizationField:this.normalizationField,label:this.label,classBreakInfos:(0,n.o8)(this.classBreakInfos)})}};(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],y.prototype,"field",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],y.prototype,"normalizationField",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],y.prototype,"label",void 0),(0,r.Cg)([(0,a.MZ)({type:[c],json:{write:!0}})],y.prototype,"classBreakInfos",void 0),y=d=(0,r.Cg)([(0,a.$K)("esri.renderers.support.AuthoringInfoFieldInfo")],y);const h=y;var m,f=i(79901);let g=m=class extends o.o{constructor(e){super(e),this.label=null,this.size=null,this.value=null}clone(){return new m({label:this.label,value:this.value,size:this.size})}};(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],g.prototype,"label",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],g.prototype,"size",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],g.prototype,"value",void 0),g=m=(0,r.Cg)([(0,a.$K)("esri.renderers.support.AuthoringInfoSizeStop")],g);const b=g;var v;const w=new l.J({percentTotal:"percent-of-total",ratio:"ratio",percent:"percent"}),S=new l.J({sizeInfo:"size",colorInfo:"color",transparencyInfo:"opacity",rotationInfo:"rotation"}),V={key:e=>"number"==typeof e?"number":"string",typeMap:{number:Number,string:String},base:null},C=["high-to-low","above-and-below","centered-on","extremes"],M=[...new Set(["high-to-low","above-and-below","centered-on","extremes","above","below","high-to-low","above-and-below","above","below","reference-size","spike"])],x=["seconds","minutes","hours","days","months","years"];let _=v=class extends o.o{constructor(e){super(e),this.dataSeriesName=null,this.endTime=null,this.field=null,this.maxSliderValue=null,this.minSliderValue=null,this.startTime=null,this.type=null,this.units=null}castEndTime(e){return"string"==typeof e||"number"==typeof e?e:null}get normalizationField(){return"reference-size"===this.theme||"spike"===this.theme?this._get("normalizationField"):null}set normalizationField(e){this._set("normalizationField",e)}get referenceSizeScale(){return"reference-size"===this.theme?this._get("referenceSizeScale"):null}set referenceSizeScale(e){this._set("referenceSizeScale",e)}get referenceSizeSymbolStyle(){return"reference-size"===this.theme?this._get("referenceSizeSymbolStyle"):null}set referenceSizeSymbolStyle(e){this._set("referenceSizeSymbolStyle",e)}get spikeSymbolStyle(){return"spike"===this.theme?this._get("spikeSymbolStyle"):null}set spikeSymbolStyle(e){this._set("spikeSymbolStyle",e)}castStartTime(e){return"string"==typeof e||"number"==typeof e?e:null}get sizeStops(){return"reference-size"===this.theme||"spike"===this.theme?this._get("sizeStops"):null}set sizeStops(e){this._set("sizeStops",e)}get style(){return"color"===this.type?this._get("style"):null}set style(e){this._set("style",e)}get theme(){return"color"===this.type||"size"===this.type?this._get("theme")||"high-to-low":null}set theme(e){this._set("theme",e)}clone(){return new v({dataSeriesName:this.dataSeriesName,endTime:this.endTime,field:this.field,maxSliderValue:this.maxSliderValue,minSliderValue:this.minSliderValue,normalizationField:this.normalizationField,referenceSizeScale:this.referenceSizeScale,referenceSizeSymbolStyle:this.referenceSizeSymbolStyle,spikeSymbolStyle:this.spikeSymbolStyle,sizeStops:(0,n.o8)(this.sizeStops),startTime:this.startTime,style:this.style,theme:this.theme,type:this.type,units:this.units})}};(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],_.prototype,"dataSeriesName",void 0),(0,r.Cg)([(0,a.MZ)({types:V,json:{write:!0}})],_.prototype,"endTime",void 0),(0,r.Cg)([(0,f.w)("endTime")],_.prototype,"castEndTime",null),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],_.prototype,"field",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],_.prototype,"maxSliderValue",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],_.prototype,"minSliderValue",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{origins:{"web-scene":{write:!1}},write:!0}})],_.prototype,"normalizationField",null),(0,r.Cg)([(0,a.MZ)({type:Number,value:null,json:{origins:{"web-scene":{write:!1}},write:!0}})],_.prototype,"referenceSizeScale",null),(0,r.Cg)([(0,a.MZ)({type:["circle","diamond","hexagon-flat","hexagon-pointy","square"],value:null,json:{origins:{"web-scene":{write:!1}},write:!0}})],_.prototype,"referenceSizeSymbolStyle",null),(0,r.Cg)([(0,a.MZ)({type:["triangle-closed-outline","triangle-gradient-fill-closed","triangle-gradient-fill-closed-outline","triangle-gradient-fill-open","triangle-gradient-fill-open-outline","triangle-open-outline","triangle-solid-fill-closed","triangle-solid-fill-closed-outline","triangle-solid-fill-open","triangle-solid-fill-open-outline"],value:null,json:{origins:{"web-scene":{write:!1}},write:!0}})],_.prototype,"spikeSymbolStyle",null),(0,r.Cg)([(0,a.MZ)({types:V,json:{write:!0}})],_.prototype,"startTime",void 0),(0,r.Cg)([(0,f.w)("startTime")],_.prototype,"castStartTime",null),(0,r.Cg)([(0,a.MZ)({type:[b],json:{origins:{"web-scene":{write:!1}},write:!0}})],_.prototype,"sizeStops",null),(0,r.Cg)([(0,a.MZ)({type:w.apiValues,value:null,json:{type:w.jsonValues,read:w.read,write:w.write}})],_.prototype,"style",null),(0,r.Cg)([(0,a.MZ)({type:M,value:null,json:{type:M,origins:{"web-scene":{type:C,write:{writer:(e,t)=>{C.includes(e)&&(t.theme=e)}}}},write:!0}})],_.prototype,"theme",null),(0,r.Cg)([(0,a.MZ)({type:S.apiValues,json:{type:S.jsonValues,read:S.read,write:S.write}})],_.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)({type:x,json:{type:x,write:!0}})],_.prototype,"units",void 0),_=v=(0,r.Cg)([(0,a.$K)("esri.renderers.support.AuthoringInfoVisualVariable")],_);const z=_;var A,j=i(95349),q=i(36005);const I=new l.J({esriClassifyDefinedInterval:"defined-interval",esriClassifyEqualInterval:"equal-interval",esriClassifyManual:"manual",esriClassifyNaturalBreaks:"natural-breaks",esriClassifyQuantile:"quantile",esriClassifyStandardDeviation:"standard-deviation"}),Z=new l.J({classedSize:"class-breaks-size",classedColor:"class-breaks-color",univariateColorSize:"univariate-color-size",relationship:"relationship",predominance:"predominance",dotDensity:"dot-density",flow:"flow"}),F=["inches","feet","yards","miles","nautical-miles","millimeters","centimeters","decimeters","meters","kilometers"];let U=A=class extends o.o{constructor(e){super(e),this.colorRamp=null,this.dataSeriesName=null,this.fadeRatio=null,this.isAutoGenerated=!1,this.lengthUnit=null,this.maxSliderValue=null,this.minSliderValue=null,this.visualVariables=null}get classificationMethod(){const e=this._get("classificationMethod"),t=this.type;return t&&"relationship"!==t?"class-breaks-size"===t||"class-breaks-color"===t?e||"manual":null:e}set classificationMethod(e){this._set("classificationMethod",e)}readColorRamp(e){return e?(0,j.r)(e):void 0}get fields(){return this.type&&"predominance"!==this.type?null:this._get("fields")}set fields(e){this._set("fields",e)}get field1(){return this.type&&"relationship"!==this.type?null:this._get("field1")}set field1(e){this._set("field1",e)}get field2(){return this.type&&"relationship"!==this.type?null:this._get("field2")}set field2(e){this._set("field2",e)}get flowTheme(){return"flow"===this.type?this._get("flowTheme"):null}set flowTheme(e){this._set("flowTheme",e)}get focus(){return this.type&&"relationship"!==this.type?null:this._get("focus")}set focus(e){this._set("focus",e)}get numClasses(){return this.type&&"relationship"!==this.type?null:this._get("numClasses")}set numClasses(e){this._set("numClasses",e)}get statistics(){return"univariate-color-size"===this.type&&"above-and-below"===this.univariateTheme?this._get("statistics"):null}set statistics(e){this._set("statistics",e)}get standardDeviationInterval(){const e=this.type;return e&&"relationship"!==e&&"class-breaks-size"!==e&&"class-breaks-color"!==e||this.classificationMethod&&"standard-deviation"!==this.classificationMethod?null:this._get("standardDeviationInterval")}set standardDeviationInterval(e){this._set("standardDeviationInterval",e)}get type(){return this._get("type")}set type(e){let t=e;"classed-size"===e?t="class-breaks-size":"classed-color"===e&&(t="class-breaks-color"),this._set("type",t)}get univariateSymbolStyle(){return"univariate-color-size"===this.type&&"above-and-below"===this.univariateTheme?this._get("univariateSymbolStyle"):null}set univariateSymbolStyle(e){this._set("univariateSymbolStyle",e)}get univariateTheme(){return"univariate-color-size"===this.type?this._get("univariateTheme"):null}set univariateTheme(e){this._set("univariateTheme",e)}clone(){return new A({classificationMethod:this.classificationMethod,colorRamp:(0,n.o8)(this.colorRamp),dataSeriesName:this.dataSeriesName,fadeRatio:(0,n.o8)(this.fadeRatio),fields:this.fields?.slice(),field1:(0,n.o8)(this.field1),field2:(0,n.o8)(this.field2),isAutoGenerated:this.isAutoGenerated,focus:this.focus,numClasses:this.numClasses,maxSliderValue:this.maxSliderValue,minSliderValue:this.minSliderValue,lengthUnit:this.lengthUnit,statistics:this.statistics,standardDeviationInterval:this.standardDeviationInterval,type:this.type,visualVariables:this.visualVariables&&this.visualVariables.map(e=>e.clone()),univariateSymbolStyle:this.univariateSymbolStyle,univariateTheme:this.univariateTheme,flowTheme:this.flowTheme})}};(0,r.Cg)([(0,a.MZ)({type:I.apiValues,value:null,json:{type:I.jsonValues,read:I.read,write:I.write,origins:{"web-document":{default:"manual",type:I.jsonValues,read:I.read,write:I.write}}}})],U.prototype,"classificationMethod",null),(0,r.Cg)([(0,a.MZ)({types:j.g,json:{write:!0}})],U.prototype,"colorRamp",void 0),(0,r.Cg)([(0,q.w)("colorRamp")],U.prototype,"readColorRamp",null),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],U.prototype,"dataSeriesName",void 0),(0,r.Cg)([(0,a.MZ)({json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],U.prototype,"fadeRatio",void 0),(0,r.Cg)([(0,a.MZ)({type:[String],value:null,json:{write:!0}})],U.prototype,"fields",null),(0,r.Cg)([(0,a.MZ)({type:h,value:null,json:{write:!0}})],U.prototype,"field1",null),(0,r.Cg)([(0,a.MZ)({type:h,value:null,json:{write:!0}})],U.prototype,"field2",null),(0,r.Cg)([(0,a.MZ)({type:["flow-line","wave-front"],value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],U.prototype,"flowTheme",null),(0,r.Cg)([(0,a.MZ)({type:["HH","HL","LH","LL"],value:null,json:{write:!0}})],U.prototype,"focus",null),(0,r.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0,default:!1,origins:{"web-scene":{write:!1}}}})],U.prototype,"isAutoGenerated",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,value:null,json:{type:u.jz,write:!0}})],U.prototype,"numClasses",null),(0,r.Cg)([(0,a.MZ)({type:F,json:{type:F,read:!1,write:!1,origins:{"web-scene":{read:!0,write:!0}}}})],U.prototype,"lengthUnit",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],U.prototype,"maxSliderValue",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],U.prototype,"minSliderValue",void 0),(0,r.Cg)([(0,a.MZ)({type:Object,value:null,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],U.prototype,"statistics",null),(0,r.Cg)([(0,a.MZ)({type:[.25,.33,.5,1],value:null,json:{type:[.25,.33,.5,1],write:!0}})],U.prototype,"standardDeviationInterval",null),(0,r.Cg)([(0,a.MZ)({type:Z.apiValues,value:null,json:{type:Z.jsonValues,read:Z.read,write:Z.write}})],U.prototype,"type",null),(0,r.Cg)([(0,a.MZ)({type:[z],json:{write:!0}})],U.prototype,"visualVariables",void 0),(0,r.Cg)([(0,a.MZ)({type:["caret","circle-caret","arrow","circle-arrow","plus-minus","circle-plus-minus","square","circle","triangle","happy-sad","thumb","custom"],value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],U.prototype,"univariateSymbolStyle",null),(0,r.Cg)([(0,a.MZ)({type:["high-to-low","above-and-below","above","below"],value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],U.prototype,"univariateTheme",null),U=A=(0,r.Cg)([(0,a.$K)("esri.renderers.support.AuthoringInfo")],U)},20061(e,t,i){var s,r=i(5482),l=i(69540),o=i(66552),n=i(25482),a=i(91429),u=i(56507),p=i(93223);const c=(0,o.O)()({ascendingValues:"ascending-values",descendingValues:"descending-values"});let d=s=class extends((0,l.OU)(n.o)){static from(e){return(0,u.PZ)(s,e)}constructor(e){super(e),this.title=null,this.order=null}};(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],d.prototype,"title",void 0),(0,r.Cg)([(0,p.e)(c)],d.prototype,"order",void 0),d=s=(0,r.Cg)([(0,a.$K)("esri.renderers.support.RendererLegendOptions")],d);const y=d;i.d(t,["A",0,y])},94833(e,t,i){i.d(t,{A:()=>u});var s,r=i(5482),l=i(25482),o=i(91429),n=i(49849),a=i(40863);let u=s=class extends l.o{constructor(e){super(e),this.description=null,this.label=null,this.symbol=null,this.value=null}get alternateSymbols(){return this._get("alternateSymbols")??null}set alternateSymbols(e){e?this._set("alternateSymbols",e.map(e=>e instanceof a.A?e:(delete e.type,new a.A(e)))):this._set("alternateSymbols",null)}clone(){return new s({alternateSymbols:this.alternateSymbols?.map(e=>e.clone()),value:this.value,description:this.description,label:this.label,symbol:this.symbol?this.symbol.clone():null})}};(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"description",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"label",void 0),(0,r.Cg)([(0,o.MZ)(n.Wp)],u.prototype,"symbol",void 0),(0,r.Cg)([(0,o.MZ)({type:[a.A],useTypeForAutocast:!1,json:{write:!0,origins:{"web-scene":{write:!1}}}})],u.prototype,"alternateSymbols",null),(0,r.Cg)([(0,o.MZ)(n.Ug)],u.prototype,"value",void 0),u=s=(0,r.Cg)([(0,o.$K)("esri.renderers.support.UniqueValueInfo")],u)},49849(e,t,i){var s=i(93637),r=i(90360),l=i(65365),o=i(20378),n=i(73838),a=i(33910);const u={types:a.xK,json:{write:{writer:n.M9},origins:{"web-scene":{types:a.On,write:{writer:n.M9},read:{reader:(0,r.C)({types:a.On})}}}}},p=(0,s.$N)({json:{origins:{"web-scene":{write:{isRequired:!0}}}}},u),c={types:{base:o.A,key:"type",typeMap:{"simple-fill":a.Es.typeMap["simple-fill"],"picture-fill":a.Es.typeMap["picture-fill"],"polygon-3d":a.Es.typeMap["polygon-3d"],cim:a.Es.typeMap.cim}},json:{write:{writer:n.M9},origins:{"web-scene":{type:l.A,write:{writer:n.M9}}}}},d={cast:e=>null==e||"string"==typeof e||"number"==typeof e?e:`${e}`,json:{type:String,write:{writer:(e,t)=>{t.value=e?.toString()}}}};i.d(t,["As",0,c,"Ug",0,d,"Wp",0,p,"z4",0,u])},80911(e,t,i){function s(e,t){if(null==e)return null;if(null==t)return e.symbol;if(null!=e.symbol&&r(e.symbol,t))return e.symbol;for(const i of e.alternateSymbols??[])if(r(i,t))return i;return null}function r(e,t){if("cim"!==e.type)return!0;const i=e.data?.minScale??0,s=e.data?.maxScale??0;return(!s||t>s)&&(!i||t<=i)}i.d(t,{c:()=>s})},2024(e,t,i){i.d(t,{A:()=>a});var s,r=i(5482),l=i(91429),o=i(2795),n=i(72500);let a=s=class extends o.A{constructor(e){super(e),this.type="color",this.normalizationField=null}get cache(){return{ipData:this._interpolateData(),hasExpression:!!this.valueExpression,compiledFunc:null}}set stops(e){e&&Array.isArray(e)&&(e=e.filter(e=>!!e)).sort((e,t)=>e.value-t.value),this._set("stops",e)}clone(){return new s({field:this.field,normalizationField:this.normalizationField,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,stops:this.stops&&this.stops.map(e=>e.clone()),legendOptions:this.legendOptions?.clone()})}_interpolateData(){return this.stops&&this.stops.map(e=>e.value||0)}};(0,r.Cg)([(0,l.MZ)({readOnly:!0})],a.prototype,"cache",null),(0,r.Cg)([(0,l.MZ)({type:["color"],json:{type:["colorInfo"]}})],a.prototype,"type",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],a.prototype,"normalizationField",void 0),(0,r.Cg)([(0,l.MZ)({type:[n.A],json:{write:!0}})],a.prototype,"stops",null),a=s=(0,r.Cg)([(0,l.$K)("esri.renderers.visualVariables.ColorVariable")],a)},62724(e,t,i){i.d(t,{A:()=>m});var s,r=i(5482),l=i(91429),o=i(2795),n=i(25482),a=i(56507),u=i(78553),p=i(36005),c=i(43937);let d=s=class extends n.o{constructor(e){super(e),this.label=null,this.opacity=null,this.value=null}readOpacity(e,t){return(0,u.D)(t.transparency)}writeOpacity(e,t,i){t[i]=(0,u.p)(e)}clone(){return new s({label:this.label,opacity:this.opacity,value:this.value})}};(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"label",void 0),(0,r.Cg)([(0,l.MZ)({type:Number,json:{type:a.jz,write:{target:"transparency",isRequired:!0}}})],d.prototype,"opacity",void 0),(0,r.Cg)([(0,p.w)("opacity",["transparency"])],d.prototype,"readOpacity",null),(0,r.Cg)([(0,c.K)("opacity")],d.prototype,"writeOpacity",null),(0,r.Cg)([(0,l.MZ)({type:Number,json:{write:{isRequired:!0}}})],d.prototype,"value",void 0),d=s=(0,r.Cg)([(0,l.$K)("esri.renderers.visualVariables.support.OpacityStop")],d);const y=d;var h;let m=h=class extends o.A{constructor(e){super(e),this.type="opacity",this.normalizationField=null}get cache(){return{ipData:this._interpolateData(),hasExpression:!!this.valueExpression,compiledFunc:null}}set stops(e){e&&Array.isArray(e)&&(e=e.filter(e=>!!e)).sort((e,t)=>e.value-t.value),this._set("stops",e)}clone(){return new h({field:this.field,normalizationField:this.normalizationField,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,stops:this.stops&&this.stops.map(e=>e.clone()),legendOptions:this.legendOptions?.clone()})}_interpolateData(){return this.stops&&this.stops.map(e=>e.value||0)}};(0,r.Cg)([(0,l.MZ)({readOnly:!0})],m.prototype,"cache",null),(0,r.Cg)([(0,l.MZ)({type:["opacity"],json:{type:["transparencyInfo"]}})],m.prototype,"type",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],m.prototype,"normalizationField",void 0),(0,r.Cg)([(0,l.MZ)({type:[y],json:{write:!0}})],m.prototype,"stops",null),m=h=(0,r.Cg)([(0,l.$K)("esri.renderers.visualVariables.OpacityVariable")],m)},23461(e,t,i){i.d(t,{A:()=>n});var s,r=i(5482),l=i(91429),o=i(2795);let n=s=class extends o.A{constructor(e){super(e),this.axis=null,this.type="rotation",this.rotationType="geographic"}get cache(){return{hasExpression:!!this.valueExpression,compiledFunc:null}}clone(){return new s({axis:this.axis,rotationType:this.rotationType,field:this.field,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,legendOptions:this.legendOptions?.clone()})}};(0,r.Cg)([(0,l.MZ)({readOnly:!0})],n.prototype,"cache",null),(0,r.Cg)([(0,l.MZ)({type:["heading","tilt","roll"],json:{origins:{"web-scene":{default:"heading",write:!0}}}})],n.prototype,"axis",void 0),(0,r.Cg)([(0,l.MZ)({type:["rotation"],json:{type:["rotationInfo"]}})],n.prototype,"type",void 0),(0,r.Cg)([(0,l.MZ)({type:["geographic","arithmetic"],json:{write:!0,origins:{"web-document":{write:!0,default:"geographic"}}}})],n.prototype,"rotationType",void 0),n=s=(0,r.Cg)([(0,l.$K)("esri.renderers.visualVariables.RotationVariable")],n)},48940(e,t,i){i.d(t,{A:()=>x});var s=i(5482),r=i(66552),l=i(53966),o=i(91429),n=i(2795),a=i(90629),u=i(12330),p=i(41078);let c=class extends p.A{constructor(e){super(e),this.customValues=null}};(0,s.Cg)([(0,o.MZ)({type:[Number],json:{write:!0}})],c.prototype,"customValues",void 0),c=(0,s.Cg)([(0,o.$K)("esri.renderers.visualVariables.support.SizeVariableLegendOptions")],c);const d=c;var y,h,m=i(98205),f=i(29266),g=i(59923),b=i(36005),v=i(43937);const w=new r.J({width:"width",depth:"depth",height:"height",widthAndDepth:"width-and-depth",all:"all"}),S=new r.J({unknown:"unknown",inch:"inches",foot:"feet",yard:"yards",mile:"miles","nautical-mile":"nautical-miles",millimeter:"millimeters",centimeter:"centimeters",decimeter:"decimeters",meter:"meters",kilometer:"kilometers"});function V(e){if(null!=e)return"string"==typeof e||"number"==typeof e?function(e){return(0,a.cr)(e)}(e):"size"===e.type?(0,m.of)(e)?e:(delete(e={...e}).type,new x(e)):void 0}function C(e,t,i){if("object"!=typeof e)return e;if("web-scene"===i.origin)return;const s=new x;return s.read(e,i),s}function M(e,t,i,s){"number"!=typeof e?"web-scene"!==s?.origin?t[i]=e.toJSON(s):(0,g.Yc)(s,"error","property",`Size variable '${i}' can only be a number in web scenes.`):t[i]=e}let x=h=class extends n.A{static{y=m.uY}constructor(e){super(e),this[y]=!0,this.axis=null,this.legendOptions=null,this.normalizationField=null,this.scaleBy=null,this.target=null,this.type="size",this.useSymbolValue=null,this.valueExpression=null,this.valueRepresentation=null,this.valueUnit=null}get cache(){return{ipData:this._interpolateData(),hasExpression:!!this.valueExpression,compiledFunc:null,isScaleDriven:null!=this.valueExpression&&f.RV.test(this.valueExpression)}}set index(e){(0,m.of)(this.maxSize)&&(this.maxSize.index=`visualVariables[${e}].maxSize`),(0,m.of)(this.minSize)&&(this.minSize.index=`visualVariables[${e}].minSize`),this._set("index",e)}get inputValueType(){return(0,m.eh)(this)}set maxDataValue(e){e&&this.stops&&(l.A.getLogger(this).warn("cannot set maxDataValue when stops is not null."),e=null),this._set("maxDataValue",e)}get maxSize(){return this._get("maxSize")}set maxSize(e){e&&this.stops&&(l.A.getLogger(this).warn("cannot set maxSize when stops is not null."),e=null),this._set("maxSize",V(e))}readMaxSize(e,t,i){return C(e,0,i)}writeMaxSize(e,t,i,s){return M(e,t,i,s)}set minDataValue(e){e&&this.stops&&(l.A.getLogger(this).warn("cannot set minDataValue when stops is not null."),e=null),this._set("minDataValue",e)}get minSize(){return this._get("minSize")}set minSize(e){e&&this.stops&&(l.A.getLogger(this).warn("cannot set minSize when stops is not null."),e=null),this._set("minSize",V(e))}readMinSize(e,t,i){return C(e,0,i)}writeMinSize(e,t,i,s){return M(e,t,i,s)}get arcadeRequired(){return!!this.valueExpression||null!=this.minSize&&"object"==typeof this.minSize&&this.minSize.arcadeRequired||null!=this.maxSize&&"object"==typeof this.maxSize&&this.maxSize.arcadeRequired}set stops(e){null==this.minDataValue&&null==this.maxDataValue&&null==this.minSize&&null==this.maxSize?e&&Array.isArray(e)&&(e=e.filter(e=>!!e)).sort((e,t)=>e.value-t.value):e&&(l.A.getLogger(this).warn("cannot set stops when one of minDataValue, maxDataValue, minSize or maxSize is not null."),e=null),this._set("stops",e)}get transformationType(){return(0,m.KZ)(this,this.inputValueType)}readValueExpression(e,t){return e||t.expression&&"$view.scale"}writeValueExpressionWebScene(e,t,i,s){if(f.RV.test(e)){if(s?.messages){const e=this.index;(0,g.qt)(s,`visualVariables[${"string"==typeof e?e:`visualVariables[${e}]`}].valueExpression`,"SizeVariable with '$view.scale' valueExpression is not supported in Web Scene. Please remove this property to save the Web Scene.")}}else t[i]=e}readValueUnit(e){return e?S.read(e):null}clone(){return new h({axis:this.axis,field:this.field,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,maxDataValue:this.maxDataValue,maxSize:(0,m.of)(this.maxSize)?this.maxSize.clone():this.maxSize,minDataValue:this.minDataValue,minSize:(0,m.of)(this.minSize)?this.minSize.clone():this.minSize,normalizationField:this.normalizationField,stops:this.stops?.map(e=>e.clone()),target:this.target,useSymbolValue:this.useSymbolValue,valueRepresentation:this.valueRepresentation,valueUnit:this.valueUnit,legendOptions:this.legendOptions?.clone()})}flipSizes(){if("clamped-linear"===this.transformationType){const{minSize:e,maxSize:t}=this;return this.minSize=t,this.maxSize=e,this}if("stops"===this.transformationType){const e=this.stops;if(!e)return this;const t=e.map(e=>e.size).reverse(),i=e.length;for(let s=0;s<i;s++)e[s].size=t[s];return this}return this}_interpolateData(){return this.stops?.map(e=>e.value||0)}};(0,s.Cg)([(0,o.MZ)({readOnly:!0})],x.prototype,"cache",null),(0,s.Cg)([(0,o.MZ)({type:w.apiValues,json:{type:w.jsonValues,origins:{"web-map":{read:!1}},read:w.read,write:w.write}})],x.prototype,"axis",void 0),(0,s.Cg)([(0,o.MZ)()],x.prototype,"index",null),(0,s.Cg)([(0,o.MZ)({type:String,readOnly:!0})],x.prototype,"inputValueType",null),(0,s.Cg)([(0,o.MZ)({type:d,json:{write:!0}})],x.prototype,"legendOptions",void 0),(0,s.Cg)([(0,o.MZ)({type:Number,value:null,json:{write:!0}})],x.prototype,"maxDataValue",null),(0,s.Cg)([(0,o.MZ)({type:Number,useTypeForAutocast:!1,value:null,json:{write:!0}})],x.prototype,"maxSize",null),(0,s.Cg)([(0,b.w)("maxSize")],x.prototype,"readMaxSize",null),(0,s.Cg)([(0,v.K)("maxSize")],x.prototype,"writeMaxSize",null),(0,s.Cg)([(0,o.MZ)({type:Number,value:null,json:{write:!0}})],x.prototype,"minDataValue",null),(0,s.Cg)([(0,o.MZ)({type:Number,useTypeForAutocast:!1,value:null,json:{write:!0}})],x.prototype,"minSize",null),(0,s.Cg)([(0,b.w)("minSize")],x.prototype,"readMinSize",null),(0,s.Cg)([(0,v.K)("minSize")],x.prototype,"writeMinSize",null),(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],x.prototype,"normalizationField",void 0),(0,s.Cg)([(0,o.MZ)({readOnly:!0})],x.prototype,"arcadeRequired",null),(0,s.Cg)([(0,o.MZ)({type:String})],x.prototype,"scaleBy",void 0),(0,s.Cg)([(0,o.MZ)({type:[u.A],value:null,json:{write:!0}})],x.prototype,"stops",null),(0,s.Cg)([(0,o.MZ)({type:["outline"],json:{write:!0}})],x.prototype,"target",void 0),(0,s.Cg)([(0,o.MZ)({type:String,readOnly:!0})],x.prototype,"transformationType",null),(0,s.Cg)([(0,o.MZ)({type:["size"],json:{type:["sizeInfo"]}})],x.prototype,"type",void 0),(0,s.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0,origins:{"web-map":{read:!1}}}})],x.prototype,"useSymbolValue",void 0),(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],x.prototype,"valueExpression",void 0),(0,s.Cg)([(0,b.w)("valueExpression",["valueExpression","expression"])],x.prototype,"readValueExpression",null),(0,s.Cg)([(0,v.K)("web-scene","valueExpression")],x.prototype,"writeValueExpressionWebScene",null),(0,s.Cg)([(0,o.MZ)({type:["radius","diameter","area","width","distance"],json:{write:!0}})],x.prototype,"valueRepresentation",void 0),(0,s.Cg)([(0,o.MZ)({type:S.apiValues,json:{write:S.write,origins:{"web-map":{read:!1},"web-scene":{write:!0},"portal-item":{write:!0}}}})],x.prototype,"valueUnit",void 0),(0,s.Cg)([(0,b.w)("valueUnit")],x.prototype,"readValueUnit",null),x=h=(0,s.Cg)([(0,o.$K)("esri.renderers.visualVariables.SizeVariable")],x)},2795(e,t,i){i.d(t,{A:()=>c});var s=i(5482),r=i(66552),l=i(25482),o=i(53966),n=i(91429),a=i(56507),u=i(41078);const p=new r.J({colorInfo:"color",transparencyInfo:"opacity",rotationInfo:"rotation",sizeInfo:"size"});let c=class extends l.o{constructor(e){super(e),this.index=null,this.type=null,this.field=null,this.valueExpression=null,this.valueExpressionTitle=null,this.legendOptions=null}castField(e){return null==e?e:"function"==typeof e?(o.A.getLogger(this).error(".field: field must be a string value"),null):(0,a.GX)(e)}get arcadeRequired(){return!!this.valueExpression}clone(){}};(0,s.Cg)([(0,n.MZ)()],c.prototype,"index",void 0),(0,s.Cg)([(0,n.MZ)({type:p.apiValues,readOnly:!0,json:{read:p.read,write:{writer:p.write,isRequired:!0}}})],c.prototype,"type",void 0),(0,s.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],c.prototype,"field",void 0),(0,s.Cg)([(0,n.wg)("field")],c.prototype,"castField",null),(0,s.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],c.prototype,"valueExpression",void 0),(0,s.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],c.prototype,"valueExpressionTitle",void 0),(0,s.Cg)([(0,n.MZ)({readOnly:!0})],c.prototype,"arcadeRequired",null),(0,s.Cg)([(0,n.MZ)({type:u.A,json:{write:!0}})],c.prototype,"legendOptions",void 0),c=(0,s.Cg)([(0,n.$K)("esri.renderers.visualVariables.VisualVariable")],c)},72500(e,t,i){var s,r=i(5482),l=i(68197),o=i(25482),n=i(91429),a=i(56507),u=i(43937);let p=s=class extends o.o{constructor(e){super(e),this.color=null,this.label=null,this.value=null}writeValue(e,t,i){t[i]=e??0}clone(){return new s({color:this.color&&this.color.clone(),label:this.label,value:this.value})}equals(e){return this===e||this.value===e.value&&this.label===e.label&&(this.color===e.color||null!=this.color&&null!=e.color&&this.color.equals(e.color))}};(0,r.Cg)([(0,n.MZ)({type:l.A,json:{type:[a.jz],write:{isRequired:!0}}})],p.prototype,"color",void 0),(0,r.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],p.prototype,"label",void 0),(0,r.Cg)([(0,n.MZ)({type:Number,json:{write:{writerEnsuresNonNull:!0}}})],p.prototype,"value",void 0),(0,r.Cg)([(0,u.K)("value")],p.prototype,"writeValue",null),p=s=(0,r.Cg)([(0,n.$K)("esri.renderers.visualVariables.support.ColorStop")],p);const c=p;i.d(t,["A",0,c])},12330(e,t,i){i.d(t,{A:()=>a});var s,r=i(5482),l=i(25482),o=i(90629),n=i(91429);let a=s=class extends l.o{constructor(e){super(e),this.label=null,this.value=null,this.useMinValue=null,this.useMaxValue=null}get size(){return this._get("size")}set size(e){this._set("size",e)}clone(){return new s({label:this.label,size:this.size,value:this.value,useMaxValue:this.useMaxValue,useMinValue:this.useMinValue})}};(0,r.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],a.prototype,"label",void 0),(0,r.Cg)([(0,n.MZ)({type:Number,cast:o.cr,json:{write:{isRequired:!0}}})],a.prototype,"size",null),(0,r.Cg)([(0,n.MZ)({type:Number,json:{write:{isRequired:!0}}})],a.prototype,"value",void 0),(0,r.Cg)([(0,n.MZ)({type:Boolean,json:{write:!1}})],a.prototype,"useMinValue",void 0),(0,r.Cg)([(0,n.MZ)({type:Boolean,json:{write:!1}})],a.prototype,"useMaxValue",void 0),a=s=(0,r.Cg)([(0,n.$K)("esri.renderers.visualVariables.support.SizeStop")],a)},41078(e,t,i){var s=i(5482),r=i(69540),l=i(25482),o=i(91429);let n=class extends((0,r.OU)(l.o)){constructor(e){super(e),this.showLegend=null,this.title=null}};(0,s.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],n.prototype,"showLegend",void 0),(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],n.prototype,"title",void 0),n=(0,s.Cg)([(0,o.$K)("esri.renderers.visualVariables.support.VisualVariableLegendOptions")],n);const a=n;i.d(t,["A",0,a])},29266(e,t,i){i.d(t,{UT:()=>c,Yz:()=>b}),i(68197);var s=i(52106),r=i(53966),l=i(31756),o=i(98205);const n=()=>r.A.getLogger("esri.renderers.visualVariables.support.visualVariableUtils"),a=e=>n().warn(`The visualVariable should be an instance of esri.renderers.visualVariables.${e}`),u=()=>n().error("Use of arcade expressions requires an arcade context"),p=(new s.A,Math.PI);function c(e,t,i){return function(e,t,i){const s="visualVariables"in e?e.visualVariables?.find(e=>"rotation"===e.type):e;if(!s)return;if("esri.renderers.visualVariables.RotationVariable"!==s.declaredClass)return void a("RotationVariable");const r=s.axis||"heading",l="heading"===r&&"arithmetic"===s.rotationType?90:0,o="heading"===r&&"arithmetic"===s.rotationType?-1:1,n=s.field,{hasExpression:u}=s.cache;if(!n&&!u)return;const p=d(s,t,i);let c=p;return c="number"!=typeof c||isNaN(c)?null:l+o*c,new g(s,c,p)}(e,t,i)?.output}function d(e,t,i){const{hasExpression:s}=e.cache;if("number"==typeof t)return t;const r=t?.attributes,l=e.field;if(!s)return r?.[l];if(null==i?.arcade)return void u();const o={viewingMode:i.viewingMode,scale:i.scale,spatialReference:i.spatialReference},n=i.arcade.arcadeUtils,a=n.getViewInfo(o),p=n.createExecContext(t,a,i.timeZone);if(!e.cache.compiledFunc){const t=n.createSyntaxTree(e.valueExpression);e.cache.compiledFunc=n.createFunction(t)}return n.executeFunction(e.cache.compiledFunc,p)}function y(e,t,i){const s="number"==typeof t,r=s?null:t,l=r?.attributes;let n=s?t:null;const{isScaleDriven:a}=e.cache;let p=e.cache.compiledFunc;if(a){const t=null!=i?i.scale:void 0,s=null!=i?i.view:void 0;n=null==t||"3d"===s?function(e){let t=null,i=null;const s=e.stops;return s?(t=s[0].value,i=s[s.length-1].value):(t=e.minDataValue||0,i=e.maxDataValue||0),(t+i)/2}(e):t}else if(!s)switch(e.inputValueType){case"expression":{if(null==i?.arcade)return void u();const t={viewingMode:i.viewingMode,scale:i.scale,spatialReference:i.spatialReference},s=i.arcade.arcadeUtils,l=s.getViewInfo(t),o=s.createExecContext(r,l,i.timeZone);if(!p){const t=s.createSyntaxTree(e.valueExpression);p=s.createFunction(t),e.cache.compiledFunc=p}n=s.executeFunction(p,o);break}case"field":l&&(n=l[e.field]);break;case"unknown":n=null}return(0,o.gf)(n)?n:null}function h(e,t,i){return function(e,t,i){const s="visualVariables"in e?e.visualVariables?.find(e=>"size"===e.type):e;if(!s)return;if("esri.renderers.visualVariables.SizeVariable"!==s.declaredClass)return void a("SizeVariable");const r=y(s,t,i);let n=r;if(null!=n&&"number"!=typeof t&&t&&s.normalizationField){const e=t.attributes,i=parseFloat(e?.[s.normalizationField]);if(!(0,o.gf)(i)||0===i)return;n/=i}const u=function(e,t,i,s,r){switch(t.transformationType){case"additive":return function(e,t,i,s){const r=m(t.minSize,i,s)||t.minDataValue;return null==e&&null==r?null:(e??0)+(r??0)}(e,t,i,s);case"constant":return function(e,t,i){const s=e.stops;let r=s?.length&&s[0].size;return null==r&&(r=e.minSize),m(r,t,i)}(t,i,s);case"clamped-linear":return function(e,t,i,s){const r=m(t.minSize,i,s);if(null==e)return r;const{minDataValue:l,maxDataValue:o}=t;if(null==l||null==o)return null;const n=(e-l)/(o-l),a=m(t.maxSize,i,s),u=null!=s?s.shape:void 0;if(e<=l)return r;if(e>=o)return a;if(null==r||null==a)return null;if("area"===t.scaleBy&&u){const e="circle"===u,t=e?p*(r/2)**2:r*r,i=t+n*((e?p*(a/2)**2:a*a)-t);return e?2*Math.sqrt(i/p):Math.sqrt(i)}return r+n*(a-r)}(e,t,i,s);case"proportional":return function(e,t,i,s){const r=m(t.minSize,i,s);if(null==e||null==r)return r;const l=null!=s?s.shape:void 0,{minDataValue:o}=t;if(null==o)return null;const n=e/o,a=m(t.maxSize,i,s);let u=null;return u="circle"===l?2*Math.sqrt(n*(r/2)**2):"square"===l||"diamond"===l||"image"===l?Math.sqrt(n*r**2):n*r,f(u,r,a)}(e,t,i,s);case"stops":return function(e,t,i,s,r){if(null==e)return null;const[l,o,n]=function(e,t){if(!t)return;let i=0,s=t.length-1;return t.some((t,r)=>e<t?(s=r,!0):(i=r,!1)),[i,s,(e-t[i])/(t[s]-t[i])]}(e,r);if(l===o)return m(t.stops?.[l].size,i,s);{const e=m(t.stops?.[l].size,i,s),r=m(t.stops?.[o].size,i,s);return null==e||null==r?null:e+(r-e)*n}}(e,t,i,s,r);case"real-world-size":return function(e,t,i,s){const r=(s?.resolution??1)*l.j[t.valueUnit],o=m(t.minSize,i,s),n=m(t.maxSize,i,s),{valueRepresentation:a}=t;if(null==e)return o;let u=null;return u="area"===a?2*Math.sqrt(e/p)/r:"radius"===a||"distance"===a?2*e/r:e/r,f(u,o,n)}(e,t,i,s);case"identity":return e;case"unknown":return null}}(n,s,t,i,s.cache.ipData);return new g(s,null==u||isNaN(u)?void 0:u,r)}(e,t,i)?.output}function m(e,t,i){return null==e?null:(0,o.of)(e)?h(e,t,i):(0,o.gf)(e)?e:null}function f(e,t,i){return(0,o.gf)(i)&&e>i?i:(0,o.gf)(t)&&e<t?t:e}class g{get type(){return this.variable.type}constructor(e,t,i){this.variable=e,this.output=t,this.input=i}}function b(e,t,i){const s=["proportional","proportional","proportional"];for(const r of e){const e=r.useSymbolValue?"symbol-value":h(r,t,i)??"proportional";switch(r.axis){case"width":s[0]=e;break;case"depth":s[1]=e;break;case"height":s[2]=e;break;case"width-and-depth":s[0]=e,s[1]=e;break;case"all":case void 0:case null:s[0]=e,s[1]=e,s[2]=e;break;default:r.axis}}return s}i.d(t,["RV",0,/^\s*(return\s+)?\$view\.scale\s*(;)?\s*$/i])},2485(e,t,i){i.d(t,{A:()=>c});var s,r=i(5482),l=i(68197),o=i(4718),n=i(91429),a=i(56507),u=i(72606),p=i(93223);let c=s=class extends u.A{constructor(e){super(e),this.algorithm=null,this.fromColor=null,this.toColor=null,this.type="algorithmic"}clone(){return new s({fromColor:(0,o.o8)(this.fromColor),toColor:(0,o.o8)(this.toColor),algorithm:this.algorithm})}};(0,r.Cg)([(0,p.e)({esriCIELabAlgorithm:"cie-lab",esriHSVAlgorithm:"hsv",esriLabLChAlgorithm:"lab-lch"})],c.prototype,"algorithm",void 0),(0,r.Cg)([(0,n.MZ)({type:l.A,json:{type:[a.jz],write:{isRequired:!0}}})],c.prototype,"fromColor",void 0),(0,r.Cg)([(0,n.MZ)({type:l.A,json:{type:[a.jz],write:{isRequired:!0}}})],c.prototype,"toColor",void 0),(0,r.Cg)([(0,n.MZ)({type:["algorithmic"],json:{write:{isRequired:!0}}})],c.prototype,"type",void 0),c=s=(0,r.Cg)([(0,n.$K)("esri.rest.support.AlgorithmicColorRamp")],c)},72606(e,t,i){i.d(t,{A:()=>o});var s=i(5482),r=i(25482),l=i(91429);let o=class extends r.o{constructor(e){super(e),this.type=null}};(0,s.Cg)([(0,l.MZ)({readOnly:!0,json:{read:!1,write:!0}})],o.prototype,"type",void 0),o=(0,s.Cg)([(0,l.$K)("esri.rest.support.ColorRamp")],o)},1626(e,t,i){i.d(t,{A:()=>c});var s,r=i(5482),l=i(4718),o=i(91429),n=i(2485),a=i(72606),u=i(43937),p=i(36005);let c=s=class extends a.A{constructor(e){super(e),this.colorRamps=null,this.type="multipart",this.weights=void 0}writeColorRamps(e,t,i,s){const r=e?.map(e=>e.toJSON(s)),{weights:l}=this;if(r&&l?.length&&r.length===l?.length){const e=100/l.reduce((e,t)=>e+t);let t=0;r.forEach((i,s)=>{i.start=t,t+=l[s]*e,i.stop=t})}t.colorRamps=r}readWeights(e,t){const i=t.colorRamps?.map(({start:e,stop:t})=>null==e||null==t?-1:t-e);if(!i?.some(e=>e<0))return i}clone(){return new s({colorRamps:(0,l.o8)(this.colorRamps)})}};(0,r.Cg)([(0,o.MZ)({type:[n.A],json:{write:{isRequired:!0}}})],c.prototype,"colorRamps",void 0),(0,r.Cg)([(0,u.K)("colorRamps")],c.prototype,"writeColorRamps",null),(0,r.Cg)([(0,o.MZ)({type:["multipart"],json:{write:{isRequired:!0}}})],c.prototype,"type",void 0),(0,r.Cg)([(0,o.MZ)({type:[Number]})],c.prototype,"weights",void 0),(0,r.Cg)([(0,p.w)("weights",["colorRamps"])],c.prototype,"readWeights",null),c=s=(0,r.Cg)([(0,o.$K)("esri.rest.support.MultipartColorRamp")],c)},95349(e,t,i){i.d(t,{r:()=>n});var s=i(2485),r=i(72606),l=i(1626);const o={key:"type",base:r.A,typeMap:{algorithmic:s.A,multipart:l.A}};function n(e){return e?.type?"algorithmic"===e.type?s.A.fromJSON(e):"multipart"===e.type?l.A.fromJSON(e):null:null}i.d(t,["g",0,o])},59868(e,t,i){var s=i(94985),r=i(31593),l=i(53930),o=i(68249),n=i(93470);const a=l.A.fromJSON(n.Cb),u=r.A.fromJSON(n.yM),p=s.A.fromJSON(n.WR),c=o.A.fromJSON(n.JZ);l.A.fromJSON(n.nC),r.A.fromJSON(n.HW),s.A.fromJSON(n.b6),i.d(t,["A7",0,u,"Cx",0,p,"Hk",0,c,"UK",0,a])},73838(e,t,i){i.d(t,{rS:()=>D,M9:()=>I,oO:()=>Z});var s=i(93637),r=i(77548),l=i(29169),o=i(49186),n=i(13313),a=i(97887),u=i(68548),p=i(58592),c=i(75981),d=i(65365),y=i(94985),h=i(31593),m=i(53930),f=i(68249),g=i(68197),b=i(7762),v=i(90629),w=i(27845),S=i(11506),V=i(39065),C=i(59868),M=i(93470);c.A.fromSimpleMarkerSymbol(C.UK),a.A.fromSimpleLineSymbol(C.A7),d.A.fromSimpleFillSymbol(C.Cx),new u.A({symbolLayers:new b.A([new w.A({material:{color:M.fT},edges:new V.A({size:(0,v.PN)(1),color:new g.A(M.JR)})})])});const x=new a.A({symbolLayers:new b.A([new S.A({material:{color:new g.A([0,0,0])},size:(0,v.PN)(1)})])}),_=new d.A({symbolLayers:new b.A([new w.A({outline:{color:new g.A([0,0,0]),size:(0,v.PN)(1)}})])});var z=i(33910);const A="#useCIMFallbackSymbology()",j={retainId:!1,ignoreDrivers:!1,hasLabelingContext:!0};var q=i(59923);function I(e,t,i,r){const l=U(e,{},{context:r,isLabelSymbol:!1});null!=l&&(0,s.sM)(i,l,t)}function Z(e,t,i,s){const r=U(e,{},{context:s,isLabelSymbol:!0});null!=r&&(t[i]=r)}function F(e){return(0,z.wk)(e)||e instanceof l.A}function U(e,t,i){if(null==e)return null;const{context:s,isLabelSymbol:g}=i,b=s?.origin;if("web-scene"===b&&!F(e)){const i=function(e,t=j){if(!e)return{symbol:null};const{retainId:i=j.retainId,ignoreDrivers:s=j.ignoreDrivers,hasLabelingContext:r=j.hasLabelingContext,retainCIM:g=j.retainCIM,cimFallbackEnabled:b=j.cimFallbackEnabled}=t;let v=null;if((0,z.wk)(e))v=e.clone();else if("web-style"===e.type)v=e.clone();else if("cim"===e.type){const i=e.data?.symbol?.type;switch(i){case"CIMPointSymbol":v=g?e.clone():c.A.fromCIMSymbol(e);break;case"CIMLineSymbol":b&&(v=x.clone(),t?.logWarning?.(A,"Unsupported CIM line symbology converted to fallback 3D line symbology"));break;case"CIMPolygonSymbol":b&&(v=_.clone(),t?.logWarning?.(A,"Unsupported CIM polygon symbology converted to fallback 3D polygon symbology"))}if(!v)return{error:new o.A("symbol-conversion:unsupported-cim-symbol",`CIM symbol of type '${i||"unknown"}' is unsupported in 3D`,{symbol:e})}}else if(e instanceof h.A)v=a.A.fromSimpleLineSymbol(e);else if(e instanceof m.A)v=c.A.fromSimpleMarkerSymbol(e);else if(e instanceof p.A)v=c.A.fromPictureMarkerSymbol(e);else if(e instanceof y.A)v=t.geometryType&&"mesh"===t.geometryType?u.A.fromSimpleFillSymbol(e):d.A.fromSimpleFillSymbol(e);else{if(!(e instanceof f.A))return{error:new o.A("symbol-conversion:unsupported-2d-symbol",`2D symbol of type '${e.type||e.declaredClass}' is unsupported in 3D`,{symbol:e})};v=r?n.A.fromTextSymbol(e):c.A.fromTextSymbol(e)}return i&&v&&"cim"!==v.type&&(v.id=e.id),!s||"cim"===v.type||v instanceof l.A||v.symbolLayers.forEach(e=>e.ignoreDrivers=!0),{symbol:v}}(e,{retainCIM:!0,hasLabelingContext:g});return null!=i.symbol?i.symbol.write(t,s):((0,q.bA)(s,e,"Use 3D symbology instead when working with WebScene and SceneView",{error:i.error}),null)}return(0,r.TU)(s?.layer)&&function(e){return"polygon-3d"===e?.type||"line-3d"===e?.type}(e)?((0,q.bA)(s,e,`unsupported in layers of type ${s?.layer?.declaredClass}`),null):("web-map"===b||"portal-item"===b&&!(0,r.TU)(s?.layer))&&F(e)?((0,q.bA)(s,e,"Use 2D symbology and CIMSymbol instead when working with MapView"),null):e.write(t,s)}function D(e,t){return(0,z.Bu)(e,null,t)}},85594(e,t,i){i.d(t,{jg:()=>b,cF:()=>c,bo:()=>d,yA:()=>m,o5:()=>y});var s=i(11254),r=i(49186),l=i(44208),o=i(17676),n=i(84952),a=i(20655),u=i(16405);const p=new Map;function c(e,t,i){return null!=e?.styleUrl?async function(e,t){try{return{data:(await m(e,t)).data,baseUrl:(0,n.nM)(e),styleUrl:e}}catch(e){return(0,o.QP)(e),null}}(e.styleUrl,i):null!=e?.styleName?function(e,t,i){const s=null!=t.portal?t.portal:a.A.getDefault();let l;const o=`${s.url} - ${s.user?.username} - ${e}`,n=p.get(o);if(n)return n;const c=function(e,t,i){return t.load(i).then(()=>{const s=new u.A({disableExtraQuery:!0,query:`owner:${f} AND type:${g} AND typekeywords:"${e}"`});return t.queryItems(s,i)}).then(({results:t})=>{let s=null;const l=e.toLowerCase();if(t&&Array.isArray(t))for(const e of t){const t=e.typeKeywords?.some(e=>e.toLowerCase()===l);if(t&&e.type===g&&e.owner===f){s=e;break}}if(!s)throw new r.A("symbolstyleutils:style-not-found",`The style '${e}' could not be found`,{styleName:e});return s.load(i)})}(e,s,i).then(e=>(l=e,e.fetchData())).then(t=>({data:t,baseUrl:l.itemUrl??"",styleName:e}));return p.set(o,c),c}(e.styleName,t,i):Promise.reject(new r.A("symbolstyleutils:style-url-and-name-missing","Either styleUrl or styleName is required to resolve a style"))}function d(e){return null===e||"CIMSymbolReference"===e.type?e:{type:"CIMSymbolReference",symbol:e}}function y(e,t){for(const i of t)switch(i){case"cim":if(e.cimRef)return{format:i,url:encodeURI(e.cimRef)};break;case"web-gltf-basisu":{const t=h(e,"gltf_basisu");if(t)return{format:i,url:t};break}case"web-gltf":{const t=h(e,"gltf");if(t)return{format:i,url:t};break}case"web":{const t=h(e,"gltf");if(t)return{format:"web-gltf",url:t};if(e.webRef)return{format:i,url:encodeURI(e.webRef)};break}}}function h(e,t){if(!(0,l.A)("enable-feature:force-wosr"))return e.formatInfos?.find(e=>e.type===t)?.href}function m(e,t){const i={responseType:"json",query:{f:"json"},...t};return(0,s.A)((0,n.S8)(e),i)}const f="esri_en",g="Style",b="https://cdn.arcgis.com/sharing/rest/content/items/220936cc6ed342c9937abd8f180e7d1e/resources/styles/cim/{SymbolName}.json?f=json"}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 1b277311a4beb4243bf8.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4746],{68616(t,e,n){function a(t){return t.label||t.labelEl?.textContent?.trim()||""}n.d(e,{g:()=>a})},85783(t,e,n){n.d(e,{a:()=>x});var a=n(87713),o=n(81610);const r=(0,a.aK)((t,e)=>{e.onConnected(()=>{v(t)}),e.onDisconnected(()=>{!function(t){if(!t)return;if(h.delete(t),document.removeEventListener(l,b.get(t)),document.removeEventListener(i,p.get(t)),b.delete(t),p.delete(t),!t.labelEl)return;const e=d.get(t.labelEl);1===e.length&&(t.labelEl.removeEventListener(c,u.get(t.labelEl)),u.delete(t.labelEl)),d.set(t.labelEl,e.filter(e=>e!==t).sort(g)),t.labelEl=void 0}(t)})}),c="calciteInternalLabelClick",l="calciteInternalLabelConnected",i="calciteInternalLabelDisconnected",s="calcite-label",d=new WeakMap,u=new WeakMap,b=new WeakMap,p=new WeakMap,h=new Set;function v(t){if(!t)return;const e=(t=>{const{id:e}=t,n=e&&(0,o.t)(t,{selector:`${s}[for="${e}"]`});if(n)return n;const a=(0,o.c)(t,s);return!a||function(t,e){let n;const a="custom-element-ancestor-check",o=a=>{a.stopImmediatePropagation();const o=a.composedPath();n=o.slice(o.indexOf(e),o.indexOf(t))};return t.addEventListener(a,o,{once:!0}),e.dispatchEvent(new CustomEvent(a,{composed:!0,bubbles:!0})),t.removeEventListener(a,o),n.filter(n=>n!==e&&n!==t).filter(t=>t.tagName?.includes("-")).length>0}(a,t)?null:a})(t.el);if(e&&u.has(e)&&e===t.labelEl||!e&&h.has(t))return;const n=m.bind(t);if(e){t.labelEl=e;const a=d.get(e)||[];a.push(t),d.set(e,a.sort(g)),u.has(t.labelEl)||(u.set(t.labelEl,f),t.labelEl.addEventListener(c,f)),h.delete(t),document.removeEventListener(l,b.get(t)),p.set(t,n),document.addEventListener(i,n)}else h.has(t)||(n(),document.removeEventListener(i,p.get(t)))}function g(t,e){return(0,o.u)(t.el,e.el)?-1:1}function f(t){const e=t.detail.sourceEvent.target,n=d.get(this),a=n.find(t=>t.el===e);if(a&&n.includes(a))return;const o=n[0];o.disabled||o.onLabelClick(t)}function k(){h.has(this)&&v(this)}function m(){h.add(this);const t=b.get(this)||k.bind(this);b.set(this,t),document.addEventListener(l,t)}async function x(t){if(await t.componentOnReady(),d.has(t))return;const e=t.for&&t.ownerDocument?.getElementById(t.for);e&&requestAnimationFrame(()=>{for(const t of h)if(t.el===e){v(t);break}})}n.d(e,["b",0,i,"l",0,l,"u",0,r])},4746(t,e,n){n.r(e),n.d(e,{Button:()=>L}),n(7879),n(31965);var a=n(28030),o=n(46913),r=n(19313),c=n(29537),l=n(26009),i=n(87713),s=n(68616),d=n(85783),u=n(62533),b=n(20497),p=n(13734),h=n(81610),v=n(80777),g=n(28525),f=n(64903);const k="content--slotted",m="icon",x="icon--start",y="icon--end",w="icon-start-empty",$="icon-end-empty",z="button-padding",E="button-padding--shrunk",C=o.AH`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;inline-size:auto;vertical-align:middle;border-radius:var(--calcite-button-corner-radius, var(--calcite-internal-button-corner-radius, var(--calcite-corner-radius)))}:host a,:host button{--calcite-internal-button-content-margin: .5rem;--calcite-internal-button-padding-x: 7px;--calcite-internal-button-padding-y: 3px;position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;align-items:center;justify-content:center;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);text-decoration-line:none;outline-color:transparent;box-shadow:var(--calcite-button-shadow, var(--calcite-shadow-none));background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color, var(--calcite-color-transparent)));border-block-start-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-block-start-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-block-end-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-block-end-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-inline-start-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-inline-start-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-inline-end-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-inline-end-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-style:solid;border-width:var(--calcite-border-width-sm);border-radius:var(--calcite-button-corner-radius, var(--calcite-internal-button-corner-radius, var(--calcite-corner-radius)));color:var(--calcite-button-text-color, var(--calcite-internal-button-text-color, currentColor));padding-block:var(--calcite-internal-button-padding-y);padding-inline:var(--calcite-internal-button-padding-x);transition:color var(--calcite-animation-timing) ease-in-out,background-color var(--calcite-animation-timing) ease-in-out,box-shadow var(--calcite-animation-timing) ease-in-out,outline-color var(--calcite-internal-animation-timing-fast) ease-in-out}:host a:hover,:host button:hover{text-decoration-line:none;background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color-hover, var(--calcite-color-transparent)))}:host a:focus,:host button:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))));background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color))}:host a:active,:host button:active{background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color-press, var(--calcite-color-transparent)))}:host a span,:host button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host a calcite-loader,:host button calcite-loader{color:var(--calcite-button-loader-color, var(--calcite-internal-button-loader-color, var(--calcite-button-text-color, var(--calcite-internal-button-text-color))))}:host([round]){--calcite-internal-button-corner-radius: 50px}.content{margin-inline:var(--calcite-internal-button-content-margin)}.icon-start-empty .content{margin-inline-start:unset}.icon-end-empty .content{margin-inline-end:unset}:host([scale=m]) button,:host([scale=m]) a{--calcite-internal-button-content-margin: .75rem}:host([scale=l]) button,:host([scale=l]) a{--calcite-internal-button-content-margin: 1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([alignment=center]:not([width=auto])) a,:host([alignment=center]:not([width=auto])) button{justify-content:center}:host([alignment=start]:not([width=auto])) a,:host([alignment=start]:not([width=auto])) button{justify-content:flex-start}:host([alignment=end]:not([width=auto])) a,:host([alignment=end]:not([width=auto])) button{justify-content:flex-end}:host([alignment*=space-between]:not([width=auto])) a,:host([alignment*=space-between]:not([width=auto])) button{justify-content:space-between}:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start{margin-inline-end:auto}:host([alignment=icon-start-space-between]:not([width=auto])) a,:host([alignment=icon-start-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end{margin-inline-start:auto}:host([alignment=icon-end-space-between]:not([width=auto])) a,:host([alignment=icon-end-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=center]) a:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:var(--calcite-internal-button-content-margin)}.icon--start,.icon--end{color:var(--calcite-button-icon-color, var(--calcite-icon-color, var(--calcite-ui-icon-color)))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}@keyframes loader-in{0%{inline-size:0;opacity:0;transform:scale(.5)}to{inline-size:1em;opacity:1;transform:scale(1)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;transform:scale(1)}to{inline-size:0;opacity:0;transform:scale(.5)}}.calcite-button--loader{display:flex}.calcite-button--loader calcite-loader{margin:0}:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,:host([loading]) a.content--slotted .calcite-button--loader calcite-loader{margin-inline-end:var(--calcite-internal-button-content-margin)}:host([loading]) button:not(.content--slotted) .icon--start,:host([loading]) button:not(.content--slotted) .icon--end,:host([loading]) a:not(.content--slotted) .icon--start,:host([loading]) a:not(.content--slotted) .icon--end{display:none}:host([appearance]) button,:host([appearance]) a{--calcite-internal-button-border-color: var(--calcite-color-transparent);border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([kind=brand]){--calcite-internal-button-background-color: var(--calcite-color-brand);--calcite-internal-button-background-color-hover: var(--calcite-color-brand-hover);--calcite-internal-button-background-color-press: var(--calcite-color-brand-press);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse);--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([kind=danger]){--calcite-internal-button-background-color: var(--calcite-color-status-danger);--calcite-internal-button-background-color-hover: var(--calcite-color-status-danger-hover);--calcite-internal-button-background-color-press: var(--calcite-color-status-danger-press);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse);--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([kind=neutral]){--calcite-internal-button-background-color: var(--calcite-color-foreground-3);--calcite-internal-button-background-color-hover: var(--calcite-color-foreground-2);--calcite-internal-button-background-color-press: var(--calcite-color-foreground-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1);--calcite-internal-button-text-color: var(--calcite-color-text-1)}:host([kind=inverse]){--calcite-internal-button-background-color: var(--calcite-color-inverse);--calcite-internal-button-background-color-hover: var(--calcite-color-inverse-hover);--calcite-internal-button-background-color-press: var(--calcite-color-inverse-press);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse);--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([appearance=outline-fill]){--calcite-internal-button-background-color: var(--calcite-color-foreground-1);--calcite-internal-button-background-color-hover: var(--calcite-color-foreground-2);--calcite-internal-button-background-color-press: var(--calcite-color-foreground-3)}:host([appearance=outline-fill]) button,:host([appearance=outline-fill]) a{border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([appearance=outline-fill][kind=brand]) button,:host([appearance=outline-fill][kind=brand]) a{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:hover,:host([appearance=outline-fill][kind=brand]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-brand-hover);--calcite-internal-button-text-color: var(--calcite-color-brand-hover)}:host([appearance=outline-fill][kind=brand]) button:focus,:host([appearance=outline-fill][kind=brand]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:active,:host([appearance=outline-fill][kind=brand]) a:active{--calcite-internal-button-border-color: var(--calcite-color-brand-press);--calcite-internal-button-text-color: var(--calcite-color-brand-press)}:host([appearance=outline-fill][kind=brand]) button calcite-loader,:host([appearance=outline-fill][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=danger]) button,:host([appearance=outline-fill][kind=danger]) a{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:hover,:host([appearance=outline-fill][kind=danger]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover)}:host([appearance=outline-fill][kind=danger]) button:focus,:host([appearance=outline-fill][kind=danger]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:active,:host([appearance=outline-fill][kind=danger]) a:active{--calcite-internal-button-border-color: var(--calcite-color-status-danger-press);--calcite-internal-button-text-color: var(--calcite-color-status-danger-press)}:host([appearance=outline-fill][kind=danger]) button calcite-loader,:host([appearance=outline-fill][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=neutral]) button,:host([appearance=outline-fill][kind=neutral]) a{--calcite-internal-button-border-color: var(--calcite-color-border-1);--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline-fill][kind=neutral]) button:hover,:host([appearance=outline-fill][kind=neutral]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-border-input)}:host([appearance=outline-fill][kind=neutral]) button:focus,:host([appearance=outline-fill][kind=neutral]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button:active,:host([appearance=outline-fill][kind=neutral]) a:active{--calcite-internal-button-border-color: var(--calcite-color-text-3)}:host([appearance=solid][kind=neutral]){--calcite-internal-button-background-color-hover: var(--calcite-color-border-2);--calcite-internal-button-background-color-press: var(--calcite-color-border-1)}:host([appearance=outline-fill][kind=inverse]) button,:host([appearance=outline-fill][kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline-fill][kind=inverse]) button:hover,:host([appearance=outline-fill][kind=inverse]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-inverse-hover)}:host([appearance=outline-fill][kind=inverse]) button:focus,:host([appearance=outline-fill][kind=inverse]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-inverse)}:host([appearance=outline-fill][kind=inverse]) button:active,:host([appearance=outline-fill][kind=inverse]) a:active{--calcite-internal-button-border-color: var(--calcite-color-inverse-press)}:host([appearance=outline]){--calcite-internal-button-background-color: var(--calcite-color-transparent);--calcite-internal-button-background-color-hover: var(--calcite-color-transparent-hover);--calcite-internal-button-background-color-press: var(--calcite-color-transparent-press)}:host([appearance=outline]) button,:host([appearance=outline]) a{border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([appearance=outline][kind=brand]) button,:host([appearance=outline][kind=brand]) a{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:hover,:host([appearance=outline][kind=brand]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-brand-hover);--calcite-internal-button-text-color: var(--calcite-color-brand-hover)}:host([appearance=outline][kind=brand]) button:focus,:host([appearance=outline][kind=brand]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:active,:host([appearance=outline][kind=brand]) a:active{--calcite-internal-button-border-color: var(--calcite-color-brand-press);--calcite-internal-button-text-color: var(--calcite-color-brand-press)}:host([appearance=outline][kind=brand]) button calcite-loader,:host([appearance=outline][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline][kind=danger]) button,:host([appearance=outline][kind=danger]) a{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:hover,:host([appearance=outline][kind=danger]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover)}:host([appearance=outline][kind=danger]) button:focus,:host([appearance=outline][kind=danger]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:active,:host([appearance=outline][kind=danger]) a:active{--calcite-internal-button-border-color: var(--calcite-color-status-danger-press);--calcite-internal-button-text-color: var(--calcite-color-status-danger-press)}:host([appearance=outline][kind=danger]) button calcite-loader,:host([appearance=outline][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=neutral]) button,:host([appearance=outline][kind=neutral]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-border-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline][kind=neutral]) button:hover,:host([appearance=outline][kind=neutral]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-border-input)}:host([appearance=outline][kind=neutral]) button:focus,:host([appearance=outline][kind=neutral]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-foreground-3)}:host([appearance=outline][kind=neutral]) button:active,:host([appearance=outline][kind=neutral]) a:active{--calcite-internal-button-border-color: var(--calcite-color-text-3)}:host([appearance=outline][kind=inverse]) button,:host([appearance=outline][kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline][kind=inverse]) button:hover,:host([appearance=outline][kind=inverse]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-inverse-hover)}:host([appearance=outline][kind=inverse]) button:focus,:host([appearance=outline][kind=inverse]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-inverse)}:host([appearance=outline][kind=inverse]) button:active,:host([appearance=outline][kind=inverse]) a:active{--calcite-internal-button-border-color: var(--calcite-color-inverse-press)}:host([appearance=outline-fill][split-child=primary]) button,:host([appearance=outline][split-child=primary]) button,:host([appearance=outline-fill][split-child=primary]) a,:host([appearance=outline][split-child=primary]) a{border-inline-end-width:0;border-inline-start-width:1px}:host([appearance=outline-fill][split-child=secondary]) button,:host([appearance=outline][split-child=secondary]) button,:host([appearance=outline-fill][split-child=secondary]) a,:host([appearance=outline][split-child=secondary]) a{border-inline-start-width:0;border-inline-end-width:1px}:host([appearance=transparent]){--calcite-internal-button-background-color: var(--calcite-color-transparent);--calcite-internal-button-background-color-hover: var(--calcite-color-transparent-hover);--calcite-internal-button-background-color-press: var(--calcite-color-transparent-press)}:host([appearance=transparent]:not(.enable-editing-button)){--calcite-internal-button-background-color-hover: var(--calcite-color-transparent-hover);--calcite-internal-button-background-color-press: var(--calcite-color-transparent-press)}:host([appearance=transparent][kind=brand]) button,:host([appearance=transparent][kind=brand]) a{--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:hover,:host([appearance=transparent][kind=brand]) a:hover{--calcite-internal-button-text-color: var(--calcite-color-brand-hover)}:host([appearance=transparent][kind=brand]) button:focus,:host([appearance=transparent][kind=brand]) a:focus{--calcite-internal-button-text-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:active,:host([appearance=transparent][kind=brand]) a:active{--calcite-internal-button-text-color: var(--calcite-color-brand-press)}:host([appearance=transparent][kind=brand]) button calcite-loader,:host([appearance=transparent][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=danger]) button,:host([appearance=transparent][kind=danger]) a{--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:hover,:host([appearance=transparent][kind=danger]) a:hover{--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover)}:host([appearance=transparent][kind=danger]) button:focus,:host([appearance=transparent][kind=danger]) a:focus{--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:active,:host([appearance=transparent][kind=danger]) a:active{--calcite-internal-button-text-color: var(--calcite-color-status-danger-press)}:host([appearance=transparent][kind=danger]) button calcite-loader,:host([appearance=transparent][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) button,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) a,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) calcite-loader{--calcite-internal-button-text-color: var(--calcite-color-text-1)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button{--calcite-internal-button-text-color: var(--calcite-color-text-3)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button:hover{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-padding-y: 0}:host(.confirm-changes-button) button:focus,:host(.cancel-editing-button) button:focus,:host(.enable-editing-button) button:focus{outline-offset:-2px}:host([appearance=transparent][kind=inverse]){--calcite-internal-button-background-color-hover: var(--calcite-color-transparent-hover);--calcite-internal-button-background-color-press: var(--calcite-color-transparent-press)}:host([appearance=transparent][kind=inverse]) button calcite-loader,:host([appearance=transparent][kind=inverse]) a calcite-loader{--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([scale=s]) button.content--slotted,:host([scale=s]) a.content--slotted{font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm)}:host([scale=s][appearance=transparent]) button.content--slotted,:host([scale=s][appearance=transparent]) a.content--slotted{--calcite-internal-button-padding-x: .5rem}:host([scale=s]) button,:host([scale=s]) a{--calcite-internal-button-padding-y: 3px}:host([scale=m]) button.content--slotted,:host([scale=m]) a.content--slotted{--calcite-internal-button-padding-x: 11px;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}:host([scale=m]) button,:host([scale=m]) a{--calcite-internal-button-padding-y: 7px}:host([scale=m][appearance=transparent]) button.content--slotted,:host([scale=m][appearance=transparent]) a.content--slotted{--calcite-internal-button-padding-x: .75rem}:host([scale=l]) button.content--slotted,:host([scale=l]) a.content--slotted{--calcite-internal-button-padding-x: 15px;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=l]) .button-padding{--calcite-internal-button-padding-x: 1rem;--calcite-internal-button-padding-y: 11px}:host([scale=l]) .button-padding--shrunk{--calcite-internal-button-padding-y: 9px}:host([scale=s]) button:not(.content--slotted),:host([scale=s]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 3px;inline-size:1.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);min-block-size:1.5rem}:host([scale=m]) button:not(.content--slotted),:host([scale=m]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 7px;inline-size:2rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);min-block-size:2rem}:host([scale=l]) button:not(.content--slotted),:host([scale=l]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 9px;inline-size:2.75rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);min-block-size:2.75rem}:host(:is([scale=s],[scale=m],[scale=l])[width=full]) a:not(.content--slotted),:host(:is([scale=s],[scale=m],[scale=l])[width=full]) button:not(.content--slotted){inline-size:var(--calcite-container-size-content-fluid)}:host([scale=l][appearance=transparent]) button:not(.content--slotted),:host([scale=l][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-y: var(--calcite-space-sm-plus)}:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 23px;block-size:1.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 1.5rem}:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 2rem;block-size:2rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 33px}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 43px;block-size:2.75rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start+.icon--end,:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:1rem}:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 2.75rem}:host([hidden]){display:none}[hidden]{display:none}`;class L extends l.WF{constructor(){super(...arguments),this.attributeWatch=(0,i.oW)(["aria-expanded"],this.handleGlobalAttributesChanged),this.contentRef=(0,r._)(),this.formTrigger=(0,f.u)({disabled:()=>!!this.href})(this),this.mutationObserver=(0,u.c)("mutation",()=>this.updateHasContent()),this.resizeObserver=(0,u.c)("resize",()=>this.setTooltipText()),this.focusSetter=(0,v.u)()(this),this.messages=(0,p.u)(),this.interactiveContainer=(0,g.u)(this),this.labelable=(0,d.u)(this),this.hasContent=!1,this.alignment="center",this.appearance="solid",this.disabled=!1,this.download=!1,this.kind="brand",this.loading=!1,this.round=!1,this.scale="m",this.splitChild=!1,this.type="button",this.width="auto"}static{this.properties={hasContent:[16,{},{state:!0}],tooltipText:[16,{},{state:!0}],alignment:[3,{},{reflect:!0}],appearance:[3,{},{reflect:!0}],disabled:[7,{},{reflect:!0,type:Boolean}],download:[3,{converter:l.pf},{reflect:!0}],form:[3,{},{reflect:!0}],href:[3,{},{reflect:!0}],iconEnd:[3,{},{reflect:!0}],iconFlipRtl:[3,{},{reflect:!0}],iconStart:[3,{},{reflect:!0}],kind:[3,{},{reflect:!0}],label:1,loading:[7,{},{reflect:!0,type:Boolean}],messageOverrides:[0,{},{attribute:!1}],name:[3,{},{reflect:!0}],rel:[3,{},{reflect:!0}],round:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],splitChild:[3,{},{reflect:!0}],target:[3,{},{reflect:!0}],type:[3,{},{reflect:!0}],width:[3,{},{reflect:!0}]}}static{this.formAssociated=!0}static{this.styles=C}async setFocus(t){return this.focusSetter(()=>this.childEl,t)}connectedCallback(){super.connectedCallback(),this.setupTextContentObserver()}async load(){this.updateHasContent()}loaded(){this.setTooltipText()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect()}handleGlobalAttributesChanged(){this.requestUpdate()}updateHasContent(){this.hasContent=(0,h.j)(this.el)}setupTextContentObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}onLabelClick(){this.setFocus()}setTooltipText(){const{contentRef:{value:t}}=this;t&&(this.tooltipText=t.offsetWidth<t.scrollWidth&&this.el.innerText||void 0)}setChildEl(t){(0,u.u)(this.resizeObserver,this.childEl,t),this.childEl=t}render(){const t=this.href?"a":"button",e=this.href?c.eu`a`:c.eu`button`,n=this.loading?o.qy`<div class=${(0,l.CP)("calcite-button--loader")}><calcite-loader class=${(0,l.CP)(this.loading?"loading-in":"loading-out")} inline .label=${this.messages.loading} .scale=${"l"===this.scale?"m":"s"}></calcite-loader></div>`:null,a=!this.iconStart&&!this.iconEnd,i=o.qy`<calcite-icon class=${(0,l.CP)({[m]:!0,[x]:!0})} .flipRtl=${"start"===this.iconFlipRtl||"both"===this.iconFlipRtl} .icon=${this.iconStart} .scale=${(0,b.g)(this.scale)}></calcite-icon>`,d=o.qy`<calcite-icon class=${(0,l.CP)({[m]:!0,[y]:!0})} .flipRtl=${"end"===this.iconFlipRtl||"both"===this.iconFlipRtl} .icon=${this.iconEnd} .scale=${(0,b.g)(this.scale)}></calcite-icon>`,u=o.qy`<span class=${(0,l.CP)("content")} ${(0,r.K)(this.contentRef)}><slot></slot></span>`;return this.interactiveContainer({disabled:this.disabled,children:c.qy`<${e} .ariaBusy=${this.loading} .ariaExpanded=${this.el.ariaExpanded?this.el.ariaExpanded:void 0} .ariaLabel=${this.loading?this.messages.loading:(0,s.g)(this)} aria-live=polite class=${(0,l.CP)({[z]:a,[E]:!a,[k]:this.hasContent,[w]:!this.iconStart,[$]:!this.iconEnd})} .disabled=${"button"===t?this.disabled:void 0} download=${("a"===t?!0===this.download||""===this.download?"":this.download||void 0:void 0)??l.s6} href=${("a"===t?this.href:void 0)??l.s6} name=${("button"===t?this.name:void 0)??l.s6} rel=${("a"===t?this.rel:void 0)??l.s6} tabindex=${(this.disabled?-1:void 0)??l.s6} target=${("a"===t?this.target:void 0)??l.s6} title=${this.tooltipText??l.s6} type=${("button"===t?this.type:void 0)??l.s6} ${(0,r.K)(this.setChildEl)}>${n}${this.iconStart?i:null}${this.hasContent?u:null}${this.iconEnd?d:null}</${e}>`})}}(0,a.c)("calcite-button",L)},29537(t,e,n){n.d(e,{qy:()=>d,eu:()=>l,Bk:()=>c});var a=n(60496);const o=Symbol.for(""),r=t=>{if(t?.r===o)return t?._$litStatic$},c=t=>({_$litStatic$:t,r:o}),l=(t,...e)=>({_$litStatic$:e.reduce((e,n,a)=>e+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(n)+t[a+1],t[0]),r:o}),i=new Map,s=t=>(e,...n)=>{const a=n.length;let o,c;const l=[],s=[];let d,u=0,b=!1;for(;u<a;){for(d=e[u];u<a&&void 0!==(c=n[u],o=r(c));)d+=o+e[++u],b=!0;u!==a&&s.push(c),l.push(d),u++}if(u===a&&l.push(e[a]),b){const t=l.join("$$lit$$");void 0===(e=i.get(t))&&(l.raw=l,i.set(t,e=l)),n=s}return t(e,...n)},d=s(a.qy);s(a.JW),s(a.ej)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3354,4538],{73354(t,e,n){n.d(e,{a:()=>l,b:()=>a,c:()=>i,d:()=>o,e:()=>f,f:()=>c,l:()=>u,n:()=>m,t:()=>s}),n(44208);var r=n(72727);function i(t,e,n){s(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function s(t,e,n,i=3,s=i){const o=(0,r.k)(t.length,i,3),a=(0,r.k)(e.length,s,3),h=Math.min(o,a),u=n[0],c=n[1],l=n[2],f=n[4],m=n[5],d=n[6],p=n[8],y=n[9],g=n[10],M=n[12],_=n[13],x=n[14];let b=0,v=0;for(let n=0;n<h;n++){const n=e[b],r=e[b+1],o=e[b+2];t[v]=u*n+f*r+p*o+M,t[v+1]=c*n+m*r+y*o+_,t[v+2]=l*n+d*r+g*o+x,b+=s,v+=i}return t}function o(t,e,n){a(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function a(t,e,n,i=3,s=i){const o=(0,r.k)(t.length,i,3),a=(0,r.k)(e.length,s,3),h=Math.min(o,a),u=n[0],c=n[1],l=n[2],f=n[3],m=n[4],d=n[5],p=n[6],y=n[7],g=n[8];let M=0,_=0;for(let n=0;n<h;n++){const n=e[M],r=e[M+1],o=e[M+2];t[_]=u*n+f*r+p*o,t[_+1]=c*n+m*r+y*o,t[_+2]=l*n+d*r+g*o,M+=s,_+=i}}function h(t,e,n,r=3,i=r){const s=Math.min(t.length/r,e.length/i);let o=0,a=0;for(let h=0;h<s;h++)t[a]=n*e[o],t[a+1]=n*e[o+1],t[a+2]=n*e[o+2],o+=i,a+=r;return t}function u(t,e,n,r){c(t.typedBuffer,e.typedBuffer,n,r,t.typedBufferStride,e.typedBufferStride)}function c(t,e,n,r,i=3,s=i){const o=Math.min(t.length/i,e.length/s);let a=0,h=0;const u=1/2.2;for(let c=0;c<o;c++)t[h]=r*(n*e[a])**u,t[h+1]=r*(n*e[a+1])**u,t[h+2]=r*(n*e[a+2])**u,a+=s,h+=i}function l(t,e,n,i=3,s=i){const o=(0,r.k)(t.length,i,3),a=(0,r.k)(e.length,s,3),h=Math.min(o,a);let u=0,c=0;for(let r=0;r<h;r++)t[c]=e[u]+n[0],t[c+1]=e[u+1]+n[1],t[c+2]=e[u+2]+n[2],u+=s,c+=i;return t}function f(t,e){m(t.typedBuffer,e.typedBuffer,t.typedBufferStride,e.typedBufferStride)}function m(t,e,n=3,r=n){const i=Math.min(t.length/n,e.length/r);let s=0,o=0;for(let a=0;a<i;a++){const i=e[s],a=e[s+1],h=e[s+2],u=i*i+a*a+h*h;if(u>0){const e=1/Math.sqrt(u);t[o]=e*i,t[o+1]=e*a,t[o+2]=e*h}s+=r,o+=n}}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:c,linearToSRGBView:u,normalize:m,normalizeView:f,scale:h,scaleView:function(t,e,n){h(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)},shiftRight:function(t,e,n){const r=Math.min(t.count,e.count),i=t.typedBuffer,s=t.typedBufferStride,o=e.typedBuffer,a=e.typedBufferStride;let h=0,u=0;for(let t=0;t<r;t++)i[u]=o[h]>>n,i[u+1]=o[h+1]>>n,i[u+2]=o[h+2]>>n,h+=a,u+=s},transformMat3:a,transformMat3View:o,transformMat4:s,transformMat4View:i,translate:l},Symbol.toStringTag,{value:"Module"}))},69540(t,e,n){var r=n(5482),i=n(69622),s=(n(44208),n(4718)),o=(n(53966),n(97768)),a=n(88620),h=n(64108);const u=Symbol("ClonableMixin"),c=t=>{var e;const n=t;let i=class extends n{constructor(){super(...arguments),this[e]=!0}static{e=u}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,i={},h=new Map;for(const e in n){const o=n[e],a=r?.originOf(e),u=o.clonable;if(o.readOnly||!1===u||7!==a&&0!==a&&5!==a&&4!==a)continue;const c=this[e];let l=null;if("function"==typeof u)l=u(c,t);else if("reference"===u)l=c;else if(l=(0,s.TU)(c,t),null!=c&&null==l)continue;0===a?h.set(e,l):i[e]=l}const u=new(0,Object.getPrototypeOf(this).constructor)(i);if(h.size){const t=(0,a.oY)(u)?.store;if(t)for(const[e,n]of h)t.set(e,n,0)}return u}};return i=(0,r.Cg)([(0,h.$)("esri.core.Clonable")],i),i},l=c(i.A);n.d(e,["OU",0,c,"Pw",0,l])},95488(t,e,n){n.d(e,{I:()=>i});var r=n(11406);class i 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 i(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:()=>i,vt:()=>r});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(t,e,n,r,i,s,o,a,h,u,c,l,f,m,d,p){return[t,e,n,r,i,s,o,a,h,u,c,l,f,m,d,p]}},Symbol.toStringTag,{value:"Module"})),n.d(e,["zK",0,s])},51850(t,e,n){function r(){return[0,0,0]}function i(t){return[t[0],t[1],t[2]]}function s(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 h(){return s(1,1,1)}function u(){return s(1,0,0)}function c(){return s(0,1,0)}function l(){return s(0,0,1)}n.d(e,{CN:()=>o,ci:()=>a,fA:()=>s,o8:()=>i,vt:()=>r});const f=[0,0,0],m=h(),d=u(),p=c(),y=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:m,UNIT_X:d,UNIT_Y:p,UNIT_Z:y,ZEROS:f,clone:i,create:r,freeze:o,fromArray:a,fromValues:s,ones:h,unitX:u,unitY:c,unitZ:l,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"})),n.d(e,["Cb",0,y,"Cw",0,d,"JP",0,p,"Un",0,m,"uY",0,f])},58083(t,e,n){n.d(e,{$0:()=>g,$h:()=>T,B8:()=>c,C:()=>s,D_:()=>a,N9:()=>_,O7:()=>w,Qw:()=>u,Tl:()=>f,X_:()=>R,e$:()=>d,eL:()=>p,hM:()=>M,hZ:()=>o,hs:()=>m,kN:()=>y,l:()=>A,lw:()=>l,mg:()=>h,o1:()=>S,sC:()=>v,t2:()=>O,t5:()=>C,tZ:()=>P,ut:()=>E});var r=n(51850),i=n(34304);function s(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,i,s,o,a,h,u,c,l,f,m,d,p,y){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=s,t[5]=o,t[6]=a,t[7]=h,t[8]=u,t[9]=c,t[10]=l,t[11]=f,t[12]=m,t[13]=d,t[14]=p,t[15]=y,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 h(t,e){if(t===e){const n=e[1],r=e[2],i=e[3],s=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]=s,t[11]=e[14],t[12]=i,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 u(t,e){return c(t,e)||a(t),t}function c(t,e){const n=e[0],r=e[1],i=e[2],s=e[3],o=e[4],a=e[5],h=e[6],u=e[7],c=e[8],l=e[9],f=e[10],m=e[11],d=e[12],p=e[13],y=e[14],g=e[15],M=n*a-r*o,_=n*h-i*o,x=n*u-s*o,b=r*h-i*a,v=r*u-s*a,R=i*u-s*h,A=c*p-l*d,S=c*y-f*d,w=c*g-m*d,T=l*y-f*p,C=l*g-m*p,I=f*g-m*y;let O=M*I-_*C+x*T+b*w-v*S+R*A;return O?(O=1/O,t[0]=(a*I-h*C+u*T)*O,t[1]=(i*C-r*I-s*T)*O,t[2]=(p*R-y*v+g*b)*O,t[3]=(f*v-l*R-m*b)*O,t[4]=(h*w-o*I-u*S)*O,t[5]=(n*I-i*w+s*S)*O,t[6]=(y*x-d*R-g*_)*O,t[7]=(c*R-f*x+m*_)*O,t[8]=(o*C-a*w+u*A)*O,t[9]=(r*w-n*C-s*A)*O,t[10]=(d*v-p*x+g*M)*O,t[11]=(l*x-c*v-m*M)*O,t[12]=(a*S-o*T-h*A)*O,t[13]=(n*T-r*S+i*A)*O,t[14]=(p*_-d*b-y*M)*O,t[15]=(c*b-l*_+f*M)*O,t):null}function l(t,e,n){const r=e[0],i=e[1],s=e[2],o=e[3],a=e[4],h=e[5],u=e[6],c=e[7],l=e[8],f=e[9],m=e[10],d=e[11],p=e[12],y=e[13],g=e[14],M=e[15];let _=n[0],x=n[1],b=n[2],v=n[3];return t[0]=_*r+x*a+b*l+v*p,t[1]=_*i+x*h+b*f+v*y,t[2]=_*s+x*u+b*m+v*g,t[3]=_*o+x*c+b*d+v*M,_=n[4],x=n[5],b=n[6],v=n[7],t[4]=_*r+x*a+b*l+v*p,t[5]=_*i+x*h+b*f+v*y,t[6]=_*s+x*u+b*m+v*g,t[7]=_*o+x*c+b*d+v*M,_=n[8],x=n[9],b=n[10],v=n[11],t[8]=_*r+x*a+b*l+v*p,t[9]=_*i+x*h+b*f+v*y,t[10]=_*s+x*u+b*m+v*g,t[11]=_*o+x*c+b*d+v*M,_=n[12],x=n[13],b=n[14],v=n[15],t[12]=_*r+x*a+b*l+v*p,t[13]=_*i+x*h+b*f+v*y,t[14]=_*s+x*u+b*m+v*g,t[15]=_*o+x*c+b*d+v*M,t}function f(t,e,n){const r=n[0],i=n[1],s=n[2];if(e===t)t[12]=e[0]*r+e[4]*i+e[8]*s+e[12],t[13]=e[1]*r+e[5]*i+e[9]*s+e[13],t[14]=e[2]*r+e[6]*i+e[10]*s+e[14],t[15]=e[3]*r+e[7]*i+e[11]*s+e[15];else{const n=e[0],o=e[1],a=e[2],h=e[3],u=e[4],c=e[5],l=e[6],f=e[7],m=e[8],d=e[9],p=e[10],y=e[11];t[0]=n,t[1]=o,t[2]=a,t[3]=h,t[4]=u,t[5]=c,t[6]=l,t[7]=f,t[8]=m,t[9]=d,t[10]=p,t[11]=y,t[12]=n*r+u*i+m*s+e[12],t[13]=o*r+c*i+d*s+e[13],t[14]=a*r+l*i+p*s+e[14],t[15]=h*r+f*i+y*s+e[15]}return t}function m(t,e,n){const r=n[0],i=n[1],s=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]*i,t[5]=e[5]*i,t[6]=e[6]*i,t[7]=e[7]*i,t[8]=e[8]*s,t[9]=e[9]*s,t[10]=e[10]*s,t[11]=e[11]*s,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function d(t,e,n,r){let o=r[0],a=r[1],h=r[2],u=Math.sqrt(o*o+a*a+h*h);if(u<=(0,i.FD)())return void s(t,e);u=1/u,o*=u,a*=u,h*=u;const c=Math.sin(n),l=Math.cos(n),f=1-l,m=e[0],d=e[1],p=e[2],y=e[3],g=e[4],M=e[5],_=e[6],x=e[7],b=e[8],v=e[9],R=e[10],A=e[11],S=o*o*f+l,w=a*o*f+h*c,T=h*o*f-a*c,C=o*a*f-h*c,I=a*a*f+l,O=h*a*f+o*c,E=o*h*f+a*c,P=a*h*f-o*c,N=h*h*f+l;t[0]=m*S+g*w+b*T,t[1]=d*S+M*w+v*T,t[2]=p*S+_*w+R*T,t[3]=y*S+x*w+A*T,t[4]=m*C+g*I+b*O,t[5]=d*C+M*I+v*O,t[6]=p*C+_*I+R*O,t[7]=y*C+x*I+A*O,t[8]=m*E+g*P+b*N,t[9]=d*E+M*P+v*N,t[10]=p*E+_*P+R*N,t[11]=y*E+x*P+A*N,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15])}function p(t,e,n){const r=Math.sin(n),i=Math.cos(n),s=e[4],o=e[5],a=e[6],h=e[7],u=e[8],c=e[9],l=e[10],f=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]=s*i+u*r,t[5]=o*i+c*r,t[6]=a*i+l*r,t[7]=h*i+f*r,t[8]=u*i-s*r,t[9]=c*i-o*r,t[10]=l*i-a*r,t[11]=f*i-h*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 g(t,e,n){if(0===e)return a(t);let r=n[0],s=n[1],o=n[2],h=Math.sqrt(r*r+s*s+o*o);if(h<=(0,i.FD)())return null;h=1/h,r*=h,s*=h,o*=h;const u=Math.sin(e),c=Math.cos(e),l=1-c;return t[0]=r*r*l+c,t[1]=s*r*l+o*u,t[2]=o*r*l-s*u,t[3]=0,t[4]=r*s*l-o*u,t[5]=s*s*l+c,t[6]=o*s*l+r*u,t[7]=0,t[8]=r*o*l+s*u,t[9]=s*o*l-r*u,t[10]=o*o*l+c,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]=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 _(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 x(t,e,n){const r=e[0],i=e[1],s=e[2],o=e[3],a=r+r,h=i+i,u=s+s,c=r*a,l=r*h,f=r*u,m=i*h,d=i*u,p=s*u,y=o*a,g=o*h,M=o*u;return t[0]=1-(m+p),t[1]=l+M,t[2]=f-g,t[3]=0,t[4]=l-M,t[5]=1-(c+p),t[6]=d+y,t[7]=0,t[8]=f+g,t[9]=d-y,t[10]=1-(c+m),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 v(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t}function R(t,e){const n=e[0],r=e[1],i=e[2],s=e[4],o=e[5],a=e[6],h=e[8],u=e[9],c=e[10];return t[0]=Math.sqrt(n*n+r*r+i*i),t[1]=Math.sqrt(s*s+o*o+a*a),t[2]=Math.sqrt(h*h+u*u+c*c),t}function A(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 S(t,e,n,r){const i=e[0],s=e[1],o=e[2],a=e[3],h=i+i,u=s+s,c=o+o,l=i*h,f=i*u,m=i*c,d=s*u,p=s*c,y=o*c,g=a*h,M=a*u,_=a*c,x=r[0],b=r[1],v=r[2];return t[0]=(1-(d+y))*x,t[1]=(f+_)*x,t[2]=(m-M)*x,t[3]=0,t[4]=(f-_)*b,t[5]=(1-(l+y))*b,t[6]=(p+g)*b,t[7]=0,t[8]=(m+M)*v,t[9]=(p-g)*v,t[10]=(1-(l+d))*v,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function w(t,e,n,r,i){const s=e[0],o=e[1],a=e[2],h=e[3],u=s+s,c=o+o,l=a+a,f=s*u,m=s*c,d=s*l,p=o*c,y=o*l,g=a*l,M=h*u,_=h*c,x=h*l,b=r[0],v=r[1],R=r[2],A=i[0],S=i[1],w=i[2],T=(1-(p+g))*b,C=(m+x)*b,I=(d-_)*b,O=(m-x)*v,E=(1-(f+g))*v,P=(y+M)*v,N=(d+_)*R,L=(y-M)*R,D=(1-(f+p))*R;return t[0]=T,t[1]=C,t[2]=I,t[3]=0,t[4]=O,t[5]=E,t[6]=P,t[7]=0,t[8]=N,t[9]=L,t[10]=D,t[11]=0,t[12]=n[0]+A-(T*A+O*S+N*w),t[13]=n[1]+S-(C*A+E*S+L*w),t[14]=n[2]+w-(I*A+P*S+D*w),t[15]=1,t}function T(t,e,n,r,i,s,o){const a=1/(n-e),h=1/(i-r),u=1/(s-o);return t[0]=2*s*a,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*s*h,t[6]=0,t[7]=0,t[8]=(n+e)*a,t[9]=(i+r)*h,t[10]=(o+s)*u,t[11]=-1,t[12]=0,t[13]=0,t[14]=o*s*2*u,t[15]=0,t}function C(t,e,n,r){const s=e[0],o=e[1],h=e[2];let u=s-n[0],c=o-n[1],l=h-n[2];const f=(0,i.FD)();if(Math.abs(u)<f&&Math.abs(c)<f&&Math.abs(l)<f)return void a(t);let m=1/Math.sqrt(u*u+c*c+l*l);u*=m,c*=m,l*=m;const d=r[0],p=r[1],y=r[2];let g=p*l-y*c,M=y*u-d*l,_=d*c-p*u;m=Math.sqrt(g*g+M*M+_*_),m?(m=1/m,g*=m,M*=m,_*=m):(g=0,M=0,_=0);let x=c*_-l*M,b=l*g-u*_,v=u*M-c*g;m=Math.sqrt(x*x+b*b+v*v),m?(m=1/m,x*=m,b*=m,v*=m):(x=0,b=0,v=0),t[0]=g,t[1]=x,t[2]=u,t[3]=0,t[4]=M,t[5]=b,t[6]=c,t[7]=0,t[8]=_,t[9]=v,t[10]=l,t[11]=0,t[12]=-(g*s+M*o+_*h),t[13]=-(x*s+b*o+v*h),t[14]=-(u*s+c*o+l*h),t[15]=1}function I(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 O(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 E(t){const e=(0,i.FD)(),n=t[0],r=t[1],s=t[2],o=t[4],a=t[5],h=t[6],u=t[8],c=t[9],l=t[10];return Math.abs(1-(n*n+o*o+u*u))<=e&&Math.abs(1-(r*r+a*a+c*c))<=e&&Math.abs(1-(s*s+h*h+l*l))<=e}function P(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 N=l,L=I;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],i=e[2],s=e[3],o=e[4],a=e[5],h=e[6],u=e[7],c=e[8],l=e[9],f=e[10],m=e[11],d=e[12],p=e[13],y=e[14],g=e[15];return t[0]=a*(f*g-m*y)-l*(h*g-u*y)+p*(h*m-u*f),t[1]=-(r*(f*g-m*y)-l*(i*g-s*y)+p*(i*m-s*f)),t[2]=r*(h*g-u*y)-a*(i*g-s*y)+p*(i*u-s*h),t[3]=-(r*(h*m-u*f)-a*(i*m-s*f)+l*(i*u-s*h)),t[4]=-(o*(f*g-m*y)-c*(h*g-u*y)+d*(h*m-u*f)),t[5]=n*(f*g-m*y)-c*(i*g-s*y)+d*(i*m-s*f),t[6]=-(n*(h*g-u*y)-o*(i*g-s*y)+d*(i*u-s*h)),t[7]=n*(h*m-u*f)-o*(i*m-s*f)+c*(i*u-s*h),t[8]=o*(l*g-m*p)-c*(a*g-u*p)+d*(a*m-u*l),t[9]=-(n*(l*g-m*p)-c*(r*g-s*p)+d*(r*m-s*l)),t[10]=n*(a*g-u*p)-o*(r*g-s*p)+d*(r*u-s*a),t[11]=-(n*(a*m-u*l)-o*(r*m-s*l)+c*(r*u-s*a)),t[12]=-(o*(l*y-f*p)-c*(a*y-h*p)+d*(a*f-h*l)),t[13]=n*(l*y-f*p)-c*(r*y-i*p)+d*(r*f-i*l),t[14]=-(n*(a*y-h*p)-o*(r*y-i*p)+d*(r*h-i*a)),t[15]=n*(a*f-h*l)-o*(r*f-i*l)+c*(r*h-i*a),t},copy:s,determinant:function(t){const e=t[0],n=t[1],r=t[2],i=t[3],s=t[4],o=t[5],a=t[6],h=t[7],u=t[8],c=t[9],l=t[10],f=t[11],m=t[12],d=t[13],p=t[14],y=t[15];return(e*o-n*s)*(l*y-f*p)-(e*a-r*s)*(c*y-f*d)+(e*h-i*s)*(c*p-l*d)+(n*a-r*o)*(u*y-f*m)-(n*h-i*o)*(u*p-l*m)+(r*h-i*a)*(u*d-c*m)},equals:function(t,e){if(t===e)return!0;const n=t[0],r=t[1],s=t[2],o=t[3],a=t[4],h=t[5],u=t[6],c=t[7],l=t[8],f=t[9],m=t[10],d=t[11],p=t[12],y=t[13],g=t[14],M=t[15],_=e[0],x=e[1],b=e[2],v=e[3],R=e[4],A=e[5],S=e[6],w=e[7],T=e[8],C=e[9],I=e[10],O=e[11],E=e[12],P=e[13],N=e[14],L=e[15],D=(0,i.FD)();return Math.abs(n-_)<=D*Math.max(1,Math.abs(n),Math.abs(_))&&Math.abs(r-x)<=D*Math.max(1,Math.abs(r),Math.abs(x))&&Math.abs(s-b)<=D*Math.max(1,Math.abs(s),Math.abs(b))&&Math.abs(o-v)<=D*Math.max(1,Math.abs(o),Math.abs(v))&&Math.abs(a-R)<=D*Math.max(1,Math.abs(a),Math.abs(R))&&Math.abs(h-A)<=D*Math.max(1,Math.abs(h),Math.abs(A))&&Math.abs(u-S)<=D*Math.max(1,Math.abs(u),Math.abs(S))&&Math.abs(c-w)<=D*Math.max(1,Math.abs(c),Math.abs(w))&&Math.abs(l-T)<=D*Math.max(1,Math.abs(l),Math.abs(T))&&Math.abs(f-C)<=D*Math.max(1,Math.abs(f),Math.abs(C))&&Math.abs(m-I)<=D*Math.max(1,Math.abs(m),Math.abs(I))&&Math.abs(d-O)<=D*Math.max(1,Math.abs(d),Math.abs(O))&&Math.abs(p-E)<=D*Math.max(1,Math.abs(p),Math.abs(E))&&Math.abs(y-P)<=D*Math.max(1,Math.abs(y),Math.abs(P))&&Math.abs(g-N)<=D*Math.max(1,Math.abs(g),Math.abs(N))&&Math.abs(M-L)<=D*Math.max(1,Math.abs(M),Math.abs(L))},exactEquals:O,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],i=e[2],s=e[3],o=n+n,a=r+r,h=i+i,u=n*o,c=r*o,l=r*a,f=i*o,m=i*a,d=i*h,p=s*o,y=s*a,g=s*h;return t[0]=1-l-d,t[1]=c+g,t[2]=f-y,t[3]=0,t[4]=c-g,t[5]=1-u-d,t[6]=m+p,t[7]=0,t[8]=f+y,t[9]=m-p,t[10]=1-u-l,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],i=-e[1],s=-e[2],o=e[3],a=e[4],h=e[5],u=e[6],c=e[7],l=r*r+i*i+s*s+o*o;return l>0?(n[0]=2*(a*o+c*r+h*s-u*i)/l,n[1]=2*(h*o+c*i+u*r-a*s)/l,n[2]=2*(u*o+c*s+a*i-h*r)/l):(n[0]=2*(a*o+c*r+h*s-u*i),n[1]=2*(h*o+c*i+u*r-a*s),n[2]=2*(u*o+c*s+a*i-h*r)),x(t,e,n),t},fromRotation:g,fromRotationTranslation:x,fromRotationTranslationScale:S,fromRotationTranslationScaleOrigin:w,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:M,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:_,frustum:T,getRotation:A,getScale:R,getTranslation:v,hasIdentityRotation:P,identity:a,invert:c,invertOrIdentity:u,isOrthoNormal:E,lookAt:C,mul:N,multiply:l,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:function(t,e,n,r,i,s,o){const a=1/(e-n),h=1/(r-i),u=1/(s-o);return t[0]=-2*a,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*h,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*u,t[11]=0,t[12]=(e+n)*a,t[13]=(i+r)*h,t[14]=(o+s)*u,t[15]=1,t},perspective:function(t,e,n,r,i){const s=1/Math.tan(e/2);let o;return t[0]=s/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=s,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!=i&&i!==1/0?(o=1/(r-i),t[10]=(i+r)*o,t[14]=2*i*r*o):(t[10]=-1,t[14]=-2*r),t},perspectiveFromFieldOfView:function(t,e,n,r){const i=Math.tan(e.upDegrees*Math.PI/180),s=Math.tan(e.downDegrees*Math.PI/180),o=Math.tan(e.leftDegrees*Math.PI/180),a=Math.tan(e.rightDegrees*Math.PI/180),h=2/(o+a),u=2/(i+s);return t[0]=h,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=u,t[6]=0,t[7]=0,t[8]=-(o-a)*h*.5,t[9]=(i-s)*u*.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:d,rotateX:p,rotateY:function(t,e,n){const r=Math.sin(n),i=Math.cos(n),s=e[0],o=e[1],a=e[2],h=e[3],u=e[8],c=e[9],l=e[10],f=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]=s*i-u*r,t[1]=o*i-c*r,t[2]=a*i-l*r,t[3]=h*i-f*r,t[8]=s*r+u*i,t[9]=o*r+c*i,t[10]=a*r+l*i,t[11]=h*r+f*i,t},rotateZ:function(t,e,n){const r=Math.sin(n),i=Math.cos(n),s=e[0],o=e[1],a=e[2],h=e[3],u=e[4],c=e[5],l=e[6],f=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]=s*i+u*r,t[1]=o*i+c*r,t[2]=a*i+l*r,t[3]=h*i+f*r,t[4]=u*i-s*r,t[5]=c*i-o*r,t[6]=l*i-a*r,t[7]=f*i-h*r,t},scale:m,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:L,subtract:I,targetTo:function(t,e,n,r){const i=e[0],s=e[1],o=e[2],a=r[0],h=r[1],u=r[2];let c=i-n[0],l=s-n[1],f=o-n[2],m=c*c+l*l+f*f;m>0&&(m=1/Math.sqrt(m),c*=m,l*=m,f*=m);let d=h*f-u*l,p=u*c-a*f,y=a*l-h*c;return m=d*d+p*p+y*y,m>0&&(m=1/Math.sqrt(m),d*=m,p*=m,y*=m),t[0]=d,t[1]=p,t[2]=y,t[3]=0,t[4]=l*y-f*p,t[5]=f*d-c*y,t[6]=c*p-l*d,t[7]=0,t[8]=c,t[9]=l,t[10]=f,t[11]=0,t[12]=i,t[13]=s,t[14]=o,t[15]=1,t},translate:f,transpose:h},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>S,Bw:()=>s,C:()=>o,Cc:()=>w,DI:()=>v,Io:()=>M,Ln:()=>g,Om:()=>A,Qr:()=>l,Re:()=>u,S8:()=>R,T9:()=>p,WQ:()=>h,Z0:()=>T,_S:()=>m,aI:()=>L,ei:()=>C,fw:()=>O,gL:()=>I,hG:()=>_,hZ:()=>a,hs:()=>y,jk:()=>d,lw:()=>c,m3:()=>x,oW:()=>D,t2:()=>N,tn:()=>f,ze:()=>b});var r=n(51850),i=n(34304);function s(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 h(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],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 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 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 f(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function m(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 p(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 y(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],i=e[2]-t[2];return Math.sqrt(n*n+r*r+i*i)}function _(t,e){const n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return n*n+r*r+i*i}function x(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function b(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function v(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function R(t,e){const n=e[0],r=e[1],i=e[2];let s=n*n+r*r+i*i;return s>0&&(s=1/Math.sqrt(s),t[0]=e[0]*s,t[1]=e[1]*s,t[2]=e[2]*s),t}function A(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function S(t,e,n){const r=e[0],i=e[1],s=e[2],o=n[0],a=n[1],h=n[2];return t[0]=i*h-s*a,t[1]=s*o-r*h,t[2]=r*a-i*o,t}function w(t,e,n,r){const i=e[0],s=e[1],o=e[2];return t[0]=i+r*(n[0]-i),t[1]=s+r*(n[1]-s),t[2]=o+r*(n[2]-o),t}function T(t,e,n){const r=e[0],i=e[1],s=e[2];return t[0]=n[0]*r+n[4]*i+n[8]*s+n[12],t[1]=n[1]*r+n[5]*i+n[9]*s+n[13],t[2]=n[2]*r+n[6]*i+n[10]*s+n[14],t}function C(t,e,n){const r=e[0],i=e[1],s=e[2];return t[0]=r*n[0]+i*n[3]+s*n[6],t[1]=r*n[1]+i*n[4]+s*n[7],t[2]=r*n[2]+i*n[5]+s*n[8],t}function I(t,e,n){return O(t,e,n[0],n[1],n[2],n[3])}function O(t,e,n,r,i,s){const o=e[0],a=e[1],h=e[2],u=r*h-i*a,c=i*o-n*h,l=n*a-r*o,f=r*l-i*c,m=i*u-n*l,d=n*c-r*u,p=2*s;return t[0]=o+u*p+2*f,t[1]=a+c*p+2*m,t[2]=h+l*p+2*d,t}const E=(0,r.vt)(),P=(0,r.vt)();function N(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function L(t,e){if(t===e)return!0;const n=t[0],r=t[1],s=t[2],o=e[0],a=e[1],h=e[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-h)<=u*Math.max(1,Math.abs(s),Math.abs(h))}function D(t,e,n){const r=n[0]-e[0],i=n[1]-e[1],s=n[2]-e[2];let o=r*r+i*i+s*s;return o>0?(o=1/Math.sqrt(o),t[0]=r*o,t[1]=i*o,t[2]=s*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const G=u,B=c,U=l,F=M,Z=_,j=s,k=x;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:h,angle:function(t,e){R(E,t),R(P,e);const n=A(E,P);return n>1?0:n<-1?Math.PI:Math.acos(n)},bezier:function(t,e,n,r,i,s){const o=1-s,a=o*o,h=s*s,u=a*o,c=3*s*a,l=3*h*o,f=h*s;return t[0]=e[0]*u+n[0]*c+r[0]*l+i[0]*f,t[1]=e[1]*u+n[1]*c+r[1]*l+i[1]*f,t[2]=e[2]*u+n[2]*c+r[2]*l+i[2]*f,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:S,crossAndNormalize:function(t,e,n){const r=e[0],i=e[1],s=e[2],o=n[0],a=n[1],h=n[2],u=i*h-s*a,c=s*o-r*h,l=r*a-i*o,f=Math.sqrt(u*u+c*c+l*l);return t[0]=u/f,t[1]=c/f,t[2]=l/f,t},direction:D,dist:F,distance:M,div:U,divide:l,dot:A,equals:L,exactEquals:N,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,i,s){const o=s*s,a=o*(2*s-3)+1,h=o*(s-2)+s,u=o*(s-1),c=o*(3-2*s);return t[0]=e[0]*a+n[0]*h+r[0]*u+i[0]*c,t[1]=e[1]*a+n[1]*h+r[1]*u+i[1]*c,t[2]=e[2]*a+n[2]*h+r[2]*u+i[2]*c,t},inverse:v,len:j,length:s,lerp:w,max:p,min:d,mul:B,multiply:c,negate:b,normalize:R,random:function(t,e=1){const n=i.Ov,r=2*n()*Math.PI,s=2*n()-1,o=Math.sqrt(1-s*s)*e;return t[0]=Math.cos(r)*o,t[1]=Math.sin(r)*o,t[2]=s*e,t},rotateX:function(t,e,n,r){const i=[],s=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[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),t[0]=s[0]+n[0],t[1]=s[1]+n[1],t[2]=s[2]+n[2],t},rotateY:function(t,e,n,r){const i=[],s=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[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),t[0]=s[0]+n[0],t[1]=s[1]+n[1],t[2]=s[2]+n[2],t},rotateZ:function(t,e,n,r){const i=[],s=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[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],t[0]=s[0]+n[0],t[1]=s[1]+n[1],t[2]=s[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:y,scaleAndAdd:g,set:a,sign:m,sqrDist:Z,sqrLen:k,squaredDistance:_,squaredLength:x,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:G,subtract:u,transformMat3:C,transformMat4:T,transformMat4Z:function(t,e){return e[2]*t[0]+e[6]*t[1]+e[10]*t[2]+e[14]},transformQuat:I,transformQuatValues:O},Symbol.toStringTag,{value:"Module"})),n.d(e,["Il",0,j,"jb",0,G,"lo",0,Z,"uE",0,k,"xg",0,F])},83027(t,e,n){const r=n(29953).ho;n.d(e,["h",0,r])},35982(t,e,n){n.d(e,{B:()=>c});var r=n(4576),i=n(71511),s=n(36563),o=n(53966),a=n(97768),h=n(17676),u=n(83027);class c{constructor(t,e,n,r,i={}){this._mainMethod=e,this._transferLists=n,this._listeners=[],this._onClientConnectedHandle=null,this._destroyed=!1,this._promise=(0,u.h)(t,{...i,schedule:r}).then(t=>{null!=this._thread||this._destroyed?t.close():(this._thread=t,this._promise=null,this._onClientConnectedHandle=this._thread.onClientConnected(t=>{i.hasInitialize&&t.invoke("initialize",{}).catch(()=>{});for(const e of this._listeners)this._connectListenerToClient(e,t);this._onClientConnected(t)}))}),this._promise.catch(e=>o.A.getLogger("esri.core.workers.WorkerHandle").error(`Failed to initialize ${t} worker: ${e}`))}on(t,e){const n=new l(t,e);return this._listeners.push(n),this._connectListener(n),(0,s.hA)(()=>{(0,r.TF)(this._listeners,n),n.destroy()})}[Symbol.dispose](){this.destroy()}destroy(){this._onClientConnectedHandle=(0,a.xt)(this._onClientConnectedHandle),this._thread&&(this._thread.close(),this._thread=null),this._promise=null;for(const t of this._listeners)t.destroy();this._listeners.length=0,this._transferLists={},this._destroyed=!0}invoke(t,e,n){return this.invokeMethod(this._mainMethod,t,e,n)}invokeMethod(t,e,n,r){if(this._thread){const i=this._transferLists[t],s=i?i(e):[];return this._thread.invoke(t,e,{transferList:s,signal:n,jobPriority:r})}return this._promise?this._promise.then(()=>((0,h.Te)(n),this.invokeMethod(t,e,n))):Promise.reject((0,h.NK)())}broadcast(t,e){return this._thread?Promise.all(this._thread.broadcast(e,t)).then(f):this._promise?this._promise.then(()=>this.broadcast(t,e)):Promise.reject((0,h.NK)())}get promise(){return this._promise}_onClientConnected(t){}_connectListener(t){this._thread&&t.add(this._thread.on(t.eventName,t.callback))}_connectListenerToClient(t,e){t.add(e.on(t.eventName,t.callback))}}class l{constructor(t,e){this.eventName=t,this.callback=e,this._handles=new i.A}add(t){this._handles.add(t)}destroy(){this._handles.destroy()}}function f(){}},48526(t,e,n){n.d(e,{A:()=>y});var r,i=n(5482),s=n(4576),o=n(4718),a=n(91429),h=n(5443),u=n(91075),c=n(86738),l=n(16930),f=n(90634),m=n(47610),d=n(56993),p=n(43937);let y=r=class extends u.A{constructor(t){super(function(t){if(!t)return;let{points:e,hasM:n,hasZ:r,spatialReference:i}=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 i??=l.A.WGS84,{...t,hasM:n,hasZ:r,points:e,spatialReference:i}}(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,f.ge)(this);return t?new h.A({...t,spatialReference:this.spatialReference}):null}writePoints(t,e){e.points=(0,o.o8)(this.points)}clone(){const{points:t,spatialReference:e,hasM:n,hasZ:i}=this;return new r({points:(0,o.o8)(t),spatialReference:e.clone(),hasM:n,hasZ:i})}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,s.aI)(this.points,t.points,m.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,i.Cg)([(0,a.MZ)({readOnly:!0})],y.prototype,"cache",null),(0,i.Cg)([(0,a.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,i.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],y.prototype,"points",void 0),(0,i.Cg)([(0,p.K)("points")],y.prototype,"writePoints",null),y=r=(0,i.Cg)([(0,a.$K)("esri.geometry.Multipoint")],y),y.prototype.toJSON.isDefaultToJSON=!0},39829(t,e,n){n.d(e,{A:()=>R});var r,i=n(5482),s=n(4576),o=n(51447),a=n(4718),h=n(53966),u=n(91429),c=n(5443),l=n(91075),f=n(86738),m=n(16930),d=n(12359),p=n(94078),y=n(95108),g=n(90634),M=n(47610),_=n(28735),x=n(56993),b=n(43937);function v(t){return!Array.isArray(t[0])}let R=r=class extends l.A{static fromExtent(t){const e=t.clone().normalize(),{spatialReference:n}=t;let i=!1,s=!1;for(const t of e)t.hasZ&&(i=!0),t.hasM&&(s=!0);const o={rings:e.map(t=>{const e=[[t.xmin,t.ymin],[t.xmin,t.ymax],[t.xmax,t.ymax],[t.xmax,t.ymin],[t.xmin,t.ymin]];if(i&&t.hasZ){const n=t.zmin+.5*(t.zmax-t.zmin);for(let t=0;t<e.length;t++)e[t].push(n)}if(s&&t.hasM){const n=t.mmin+.5*(t.mmax-t.mmin);for(let t=0;t<e.length;t++)e[t].push(n)}return e}),spatialReference:n};return i&&(o.hasZ=!0),s&&(o.hasM=!0),new r(o)}constructor(t){super(function(t){if(!t)return;let{rings:e,hasM:n,hasZ:r,spatialReference:i}=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 i??=m.A.WGS84,{...t,hasM:n,hasZ:r,rings:e,spatialReference:i}}(t)),this.curveRings=void 0,this.rings=[],this.type="polygon"}get cache(){return this.commitProperty("curveRings"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("rings"),this.commitProperty("spatialReference"),{}}get centroid(){(0,o.Lx)(h.A.getLogger(this),"centroid",{replacement:"Please use centroidOperator.execute() instead.",version:"4.34",warnOnce:!0});const t=(0,d.Ve)(this);return t?f.A.fromJSON(t):null}writeCurveRings(t,e){e.curveRings=(0,a.o8)(t)}get extent(){const t=(0,g.v)(this),{spatialReference:e}=this;return t?new c.A({...t,spatialReference:e}):null}writeRings(t,e){e.rings=(0,a.o8)(this.rings)}addRing(t){if(!t)return;const e=this.rings,n=e.length;if(v(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("rings"),this}clone(){const t=new r;return t.spatialReference=this.spatialReference,t.rings=(0,a.o8)(this.rings),t.curveRings=(0,a.o8)(this.curveRings),t.hasZ=this.hasZ,t.hasM=this.hasM,t}equals(t){if(this===t)return!0;if(null==t)return!1;const e=this.spatialReference,n=t.spatialReference;if(null!=e!=(null!=n))return!1;if(null!=e&&null!=n&&!e.equals(n))return!1;if(this.rings.length!==t.rings.length)return!1;for(let e=0;e<this.rings.length;e++){const n=this.rings[e],r=t.rings[e];if(!(0,s.aI)(n,r,M.v6))return!1}return!0}contains(t){if(!t)return!1;const e=(0,_.Cv)(t,this.spatialReference);return(0,p.m3)(this,null!=e?e:t)}isClockwise(t){const e=v(t)?t.map(t=>this.hasZ?this.hasM?[t.x,t.y,t.z,t.m]:[t.x,t.y,t.z]:[t.x,t.y]):t;return(0,y.$3)(e)}getPoint(t,e){if(!this._validateInputs(t,e))return null;const n=this.rings[t][e],r=this.hasZ,i=this.hasM;return r&&!i?new f.A(n[0],n[1],n[2],void 0,this.spatialReference):i&&!r?new f.A(n[0],n[1],void 0,n[2],this.spatialReference):r&&i?new f.A(n[0],n[1],n[2],n[3],this.spatialReference):new f.A(n[0],n[1],this.spatialReference)}insertPoint(t,e,n){return this._validateInputs(t,e,!0)?((0,x.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.rings[t].splice(e,0,n),this.notifyChange("rings"),this):this}removePoint(t,e){if(!this._validateInputs(t,e))return null;const n=new f.A(this.rings[t].splice(e,1)[0],this.spatialReference);return this.notifyChange("rings"),n}removeRing(t){if(!this._validateInputs(t,null))return null;const e=this.rings.splice(t,1)[0],n=this.spatialReference,r=e.map(t=>new f.A(t,n));return this.notifyChange("rings"),r}setPoint(t,e,n){return this._validateInputs(t,e)?((0,x.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.rings[t][e]=n,this.notifyChange("rings"),this):this}_validateInputs(t,e,n=!1){if(null==t||t<0||t>=this.rings.length)return!1;if(null!=e){const r=this.rings[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,i.Cg)([(0,u.MZ)({readOnly:!0})],R.prototype,"cache",null),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],R.prototype,"centroid",null),(0,i.Cg)([(0,u.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],R.prototype,"curveRings",void 0),(0,i.Cg)([(0,b.K)("curveRings")],R.prototype,"writeCurveRings",null),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],R.prototype,"extent",null),(0,i.Cg)([(0,u.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],R.prototype,"rings",void 0),(0,i.Cg)([(0,b.K)("rings")],R.prototype,"writeRings",null),R=r=(0,i.Cg)([(0,u.$K)("esri.geometry.Polygon")],R),R.prototype.toJSON.isDefaultToJSON=!0},82799(t,e,n){n.d(e,{A:()=>d});var r,i=n(5482),s=n(4718),o=n(91429),a=n(5443),h=n(91075),u=n(86738),c=n(16930),l=n(90634),f=n(56993),m=n(43937);let d=r=class extends h.A{constructor(t){super(function(t){if(!t)return;let{paths:e,hasM:n,hasZ:r,spatialReference:i}=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 i??=c.A.WGS84,{...t,hasM:n,hasZ:r,paths:e,spatialReference:i}}(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,s.o8)(t)}get extent(){const t=(0,l.Z3)(this),{spatialReference:e}=this;return t?new a.A({...t,spatialReference:e}):null}writePaths(t,e){e.paths=(0,s.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,s.o8)(this.paths),t.curvePaths=(0,s.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,i=this.hasM;return r&&!i?new u.A(n[0],n[1],n[2],void 0,this.spatialReference):i&&!r?new u.A(n[0],n[1],void 0,n[2],this.spatialReference):r&&i?new u.A(n[0],n[1],n[2],n[3],this.spatialReference):new u.A(n[0],n[1],this.spatialReference)}insertPoint(t,e,n){return this._validateInputs(t,e,!0)?((0,f.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 u.A(t,n));return this.notifyChange("paths"),r}removePoint(t,e){if(!this._validateInputs(t,e))return null;const n=new u.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,f.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,i.Cg)([(0,o.MZ)({readOnly:!0})],d.prototype,"cache",null),(0,i.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,i.Cg)([(0,m.K)("curvePaths")],d.prototype,"writeCurvePaths",null),(0,i.Cg)([(0,o.MZ)({readOnly:!0})],d.prototype,"extent",null),(0,i.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],d.prototype,"paths",void 0),(0,i.Cg)([(0,m.K)("paths")],d.prototype,"writePaths",null),d=r=(0,i.Cg)([(0,o.$K)("esri.geometry.Polyline")],d),d.prototype.toJSON.isDefaultToJSON=!0},65806(t,e,n){n.d(e,{g:()=>o});var r=n(51850),i=n(99917),s=n(9762);function o(t,e,n,r){if((0,i.canProjectWithoutEngine)(t.spatialReference,n))return a[0]=t.x,a[1]=t.y,a[2]=t.z??0,(0,s.projectBuffer)(a,t.spatialReference,0,e,n,0);const o=(0,i.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)()},27993(t,e,n){n.d(e,{F:()=>a});var r=n(99917),i=n(16930),s=n(9762),o=n(65806);function a(t,e,n,i){return!(null==e||null==i||t.length<2)&&((0,r.canProjectWithoutEngine)(e,i)?(0,s.projectBuffer)(t,e,0,n,i,0,1):(h.x=t[0],h.y=t[1],h.z=t[2],h.spatialReference=e,(0,o.g)(h,n,i)))}const h={x:0,y:0,z:0,hasZ:!0,hasM:!1,spatialReference:i.A.WGS84,type:"point"}},4197(t,e,n){n.d(e,{Vj:()=>c,cj:()=>u,jh:()=>s,l5:()=>a,yH:()=>h});var r=n(34275),i=n(9093);function s(t){return t<=1024?new Array(t).fill(0):new Float64Array(t)}function o(t){return((0,r.iu)(t)?t.byteLength/8:t.length)<=1024?Array.from(t):new Float64Array(t)}function a(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function h(t,e){if(0===e.length)return o(t);if(0===t.length)return o(e);const n=s(t.length+e.length);for(let e=0;e<t.length;++e)n[e]=t[e];for(let r=0;r<e.length;++r)n[t.length+r]=e[r];return n}function u(t){return[...t]}function c(t){const e=(0,i.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},95696(t,e,n){n.d(e,{A:()=>u});var r,i=n(5482),s=n(69540),o=n(25482),a=n(91429),h=n(93223);let u=class extends((0,s.OU)(o.o)){static{r=this}constructor(t){super(t),this.type="georeferenced",this.origin=null}static{this.absolute=new r}};(0,i.Cg)([(0,h.e)({georeferenced:"georeferenced"},{readOnly:!0})],u.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:[Number],nonNullable:!1,json:{write:!0}})],u.prototype,"origin",void 0),u=r=(0,i.Cg)([(0,a.$K)("esri.geometry.support.MeshGeoreferencedVertexSpace")],u)},18251(t,e,n){n.d(e,{A:()=>u});var r=n(5482),i=n(69540),s=n(25482),o=n(91429),a=n(51850),h=n(93223);let u=class extends((0,i.OU)(s.o)){constructor(t){super(t),this.type="local",this.origin=(0,a.vt)()}};(0,r.Cg)([(0,h.e)({local:"local"},{readOnly:!0})],u.prototype,"type",void 0),(0,r.Cg)([(0,o.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],u.prototype,"origin",void 0),u=(0,r.Cg)([(0,o.$K)("esri.geometry.support.MeshLocalVertexSpace")],u)},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)},90634(t,e,n){n.d(e,{HA:()=>c,JM:()=>l,Z3:()=>d,ge:()=>f,v:()=>m});var r=n(537);const i=[];function s(t,e,n,r){return{xmin:t,ymin:e,xmax:n,ymax:r}}function o(t,e,n,r,i,s){return{xmin:t,ymin:e,zmin:n,xmax:r,ymax:i,zmax:s}}function a(t,e,n,r,i,s){return{xmin:t,ymin:e,mmin:n,xmax:r,ymax:i,mmax:s}}function h(t,e,n,r,i,s,o,a){return{xmin:t,ymin:e,zmin:n,mmin:r,xmax:i,ymax:s,zmax:o,mmax:a}}function u(t,e=!1,n=!1){return e?n?h(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]):o(t[0],t[1],t[2],t[3],t[4],t[5]):n?a(t[0],t[1],t[2],t[3],t[4],t[5]):s(t[0],t[1],t[2],t[3])}function c(t){return t?function(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}(t)?t:function(t){return void 0!==t.x&&void 0!==t.y}(t)?function(t){const{x:e,y:n,z:r,m:i}=t,u=null!=i;return null!=r?u?h(e,n,r,i,e,n,r,i):o(e,n,r,e,n,r):u?a(e,n,i,e,n,i):s(e,n,e,n)}(t):function(t){return void 0!==t.rings}(t)?m(t):function(t){return void 0!==t.paths}(t)?d(t):function(t){return void 0!==t.points}(t)?f(t):null:null}function l(t,{xmin:e,ymin:n,zmin:r,mmin:i,xmax:s,ymax:o,zmax:a,mmax:h}){t.xmin=Math.min(t.xmin,e),t.xmax=Math.max(t.xmax,s),t.ymin=Math.min(t.ymin,n),t.ymax=Math.max(t.ymax,o),null!=t.zmin&&(t.zmin=Math.min(t.zmin,r),t.zmax=Math.max(t.zmax,a)),null!=t.mmin&&(t.mmin=Math.min(t.mmin,i),t.mmax=Math.max(t.mmax,h))}function f(t){const{hasZ:e,hasM:n,points:s}=t,o=(0,r.Pj)(i,s,e??!1,n??!1,e??!1,n??!1);return o?u(o,e,n):null}function m(t){const{hasZ:e,hasM:n,rings:s,curveRings:o}=t,a=(0,r.Yz)(i,o??s,e??!1,n??!1);return a?u(a,e,n):null}function d(t){const{hasZ:e,hasM:n,paths:s,curvePaths:o}=t,a=(0,r.Yz)(i,o??s,e??!1,n??!1);return a?u(a,e,n):null}},47610(t,e,n){function r([t,e,n,r],[i,s,o,a]){return t===i&&e===s&&(null==n&&null==o||n===o)&&(null==r&&null==a||r===a)}n.d(e,{v6:()=>r}),n(5443),n(83960)},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 i(t){return void 0!==t.points}function s(t){return void 0!==t.x&&void 0!==t.y}function o(t){return void 0!==t.paths||void 0!==t.curvePaths}function a(t){return void 0!==t.rings||void 0!==t.curveRings}function h(t){return"object"==typeof t&&"vertexAttributes"in t}function u(t){return t?s(t)?"esriGeometryPoint":o(t)?"esriGeometryPolyline":a(t)?"esriGeometryPolygon":r(t)?"esriGeometryEnvelope":i(t)?"esriGeometryMultipoint":null:null}function c(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function l(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}n.d(e,{$B:()=>u,Bi:()=>a,Pv:()=>c,Rg:()=>o,U9:()=>i,W0:()=>l,ZC:()=>r,fT:()=>s,uW:()=>h})},80754(t,e,n){n.d(e,{kS:()=>u,kd:()=>h});var r=n(82799),i=n(16930),s=n(60408),o=n(52006);const a={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new r.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:i.A.WebMercator}),minus180Line:new r.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:i.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new r.A({paths:[[[180,-180],[180,180]]],spatialReference:i.A.WGS84}),minus180Line:new r.A({paths:[[[-180,-180],[-180,180]]],spatialReference:i.A.WGS84})}};function h(t,e){return Math.ceil((t-e)/(2*e))}function u(t,e){if((0,o.Ed)(t))for(const n of function(t){return(0,s.Bi)(t)?t.curveRings:t.curvePaths}(t))for(const t of n){if((0,o.aO)(t)){const[n,r]=t.c;n[0]+=e,r[0]+=e;continue}if((0,o.FG)(t)){const[n,r]=t.a;n[0]+=e,r[0]+=e;continue}if((0,o.n1)(t)){const[n,r,i]=t.b;n[0]+=e,r[0]+=e,i[0]+=e;continue}t[0]+=e}for(const n of function(t){return(0,s.Bi)(t)?t.rings:t.paths}(t))for(const t of n)t[0]+=e;return t}n.d(e,["j7",0,a])},89056(t,e,n){n.d(e,{b3:()=>l,jZ:()=>c});var r=n(12195),i=n(19419),s=n(537),o=n(95108),a=n(60408),h=n(80754),u=n(21325);function c(t){return f(t,!0)}function l(t){return f(t,!1)}function f(t,e){if(null==t)return null;const n=t.spatialReference,i=(0,u.Vp)(n),o=(0,r.W)(t)?t.toJSON():t;if(!i)return o;const c=(0,u.K8)(n)?102100:4326,l=h.j7[c].maxX,f=h.j7[c].minX;if((0,a.fT)(o))return d(o,l,f);if((0,a.U9)(o))return o.points=o.points.map(t=>d(t,l,f)),o;if((0,a.ZC)(o))return m(o,i);if((0,a.Bi)(o)||(0,a.Rg)(o)){const t=(0,s.Rg)(x,o),n={xmin:t[0],ymin:t[1],xmax:t[2],ymax:t[3]},r=(0,h.kd)(n.xmin,f)*(2*l),i=0===r?o:(0,h.kS)(o,r);return n.xmin+=r,n.xmax+=r,n.xmax>l?M(i,l,e):n.xmin<f?M(i,f,e):i}return o}function m(t,e){if(!e)return t;const n=function(t,e){const n=[],{ymin:r,ymax:i,xmin:s,xmax:o}=t,a=t.xmax-t.xmin,[h,u]=e.valid,{x:c,frameId:l}=p(t.xmin,e),{x:f,frameId:m}=p(t.xmax,e),d=c===f&&a>0;if(a>2*u){const t={xmin:s<o?c:f,ymin:r,xmax:u,ymax:i},e={xmin:h,ymin:r,xmax:s<o?f:c,ymax:i},a={xmin:0,ymin:r,xmax:u,ymax:i},d={xmin:h,ymin:r,xmax:0,ymax:i},p=[],g=[];y(t,a)&&p.push(l),y(t,d)&&g.push(l),y(e,a)&&p.push(m),y(e,d)&&g.push(m);for(let t=l+1;t<m;t++)p.push(t),g.push(t);n.push(new _(t,[l]),new _(e,[m]),new _(a,p),new _(d,g))}else c>f||d?n.push(new _({xmin:c,ymin:r,xmax:u,ymax:i},[l]),new _({xmin:h,ymin:r,xmax:f,ymax:i},[m])):n.push(new _({xmin:c,ymin:r,xmax:f,ymax:i},[l]));return n}(t,e).map(t=>t.extent);return n.length<2?n[0]||t:n.length>2?(t.xmin=e.valid[0],t.xmax=e.valid[1],t):{rings:n.map(t=>[[t.xmin,t.ymin],[t.xmin,t.ymax],[t.xmax,t.ymax],[t.xmax,t.ymin],[t.xmin,t.ymin]])}}function d(t,e,n){if(Array.isArray(t)){const r=t[0];if(r>e){const n=(0,h.kd)(r,e);t[0]=r+n*(-2*e)}else if(r<n){const e=(0,h.kd)(r,n);t[0]=r+e*(-2*n)}}else{const r=t.x;if(r>e){const n=(0,h.kd)(r,e);t.x+=n*(-2*e)}else if(r<n){const e=(0,h.kd)(r,n);t.x+=e*(-2*n)}}return t}function p(t,e){const[n,r]=e.valid,i=2*r;let s,o=0;return t>r?(s=Math.ceil(Math.abs(t-r)/i),t-=s*i,o=s):t<n&&(s=Math.ceil(Math.abs(t-n)/i),t+=s*i,o=-s),{x:t,frameId:o}}function y(t,e){const{xmin:n,ymin:r,xmax:i,ymax:s}=e;return g(t,n,r)&&g(t,n,s)&&g(t,i,s)&&g(t,i,r)}function g(t,e,n){return e>=t.xmin&&e<=t.xmax&&n>=t.ymin&&n<=t.ymax}function M(t,e,n=!0){const r=!(0,a.Rg)(t);if(r&&(0,o.m3)(t),n)return(new b).cut(t,e);const i=r?t.rings:t.paths,s=r?4:2,h=i.length,u=-2*e;for(let t=0;t<h;t++){const e=i[t];if(e&&e.length>=s){const t=[];for(const[n,...r]of e)t.push([n+u,...r]);i.push(t)}}return r?t.rings=i:t.paths=i,t}class _{constructor(t,e){this.extent=t,this.frameIds=e}}const x=(0,i.vt)();class b{constructor(){this._linesIn=[],this._linesOut=[]}cut(t,e){let n;if(this._xCut=e,t.rings)this._closed=!0,n=t.rings,this._minPts=4;else{if(!t.paths)return null;this._closed=!1,n=t.paths,this._minPts=2}for(const t of n){if(!t||t.length<this._minPts)continue;let e=!0;for(const n of t)e?(this.moveTo(n),e=!1):this.lineTo(n);this._closed&&this.close()}this._pushLineIn(),this._pushLineOut(),n=[];for(const t of this._linesIn)t&&t.length>=this._minPts&&n.push(t);const r=-2*this._xCut;for(const t of this._linesOut)if(t&&t.length>=this._minPts){for(const e of t)e[0]+=r;n.push(t)}return this._closed?t.rings=n:t.paths=n,t}moveTo(t){this._pushLineIn(),this._pushLineOut(),this._prevSide=this._side(t[0]),this._moveTo(t,this._prevSide),this._prevPt=t,this._firstPt=t}lineTo(t){const e=this._side(t[0]);if(e*this._prevSide===-1){const n=this._intersect(this._prevPt,t);this._lineTo(n,0),this._prevSide=0,this._lineTo(t,e)}else this._lineTo(t,e);this._prevSide=e,this._prevPt=t}close(){const t=this._firstPt,e=this._prevPt;t[0]===e[0]&&t[1]===e[1]||this.lineTo(t),this._checkClosingPt(this._lineIn),this._checkClosingPt(this._lineOut)}_moveTo(t,e){this._closed?(this._lineIn.push(v(t,e<=0?t[0]:this._xCut)),this._lineOut.push(v(t,e>=0?t[0]:this._xCut))):(e<=0&&this._lineIn.push(t.slice()),e>=0&&this._lineOut.push(t.slice()))}_lineTo(t,e){this._closed?(R(this._lineIn,t,e<=0?t[0]:this._xCut),R(this._lineOut,t,e>=0?t[0]:this._xCut)):e<0?(0===this._prevSide&&this._pushLineOut(),this._lineIn.push(t.slice())):e>0?(0===this._prevSide&&this._pushLineIn(),this._lineOut.push(t.slice())):this._prevSide<0?(this._lineIn.push(t.slice()),this._lineOut.push(t.slice())):this._prevSide>0&&(this._lineOut.push(t.slice()),this._lineIn.push(t.slice()))}_checkClosingPt(t){const e=t.length;e>3&&t[0][0]===this._xCut&&t[e-2][0]===this._xCut&&t[1][0]===this._xCut&&(t[0]=t[e-2].slice(),t.pop())}_side(t){return t<this._xCut?-1:t>this._xCut?1:0}_intersect(t,e){const n=(this._xCut-t[0])/(e[0]-t[0]),r=[this._xCut,t[1]+n*(e[1]-t[1])],i=Math.min(t.length,e.length);for(let s=2;s<i;s++)r.push(t[s]+n*(e[s]-t[s]));return r}_pushLineIn(){this._lineIn&&this._lineIn.length>=this._minPts&&this._linesIn.push(this._lineIn),this._lineIn=[]}_pushLineOut(){this._lineOut&&this._lineOut.length>=this._minPts&&this._linesOut.push(this._lineOut),this._lineOut=[]}}function v(t,e){const n=t.slice();return n[0]=e,n}function R(t,e,n){const r=t.length;r>1&&t[r-1][0]===n&&t[r-2][0]===n?t[r-1]=v(e,n):t.push(v(e,n))}},83960(t,e,n){n.d(e,{X_:()=>s,oW:()=>a,zx:()=>o});var r=n(34727),i=n(86211);function s(t,e){const n=e||t.extent,r=t.width,s=(0,i.GA)(n?.spatialReference);return n&&r?n.width/r*s*39.37*96:0}function o(t,e,n){return function(t,e){return 0===e||(0,r.Sp)(t,e)||t<e}(t,e)&&function(t,e){return 0===e||(0,r.Sp)(t,e)||t>e}(t,n)}function a(t,e){return(0,r.Sp)(t,e)?0:(t||Number.POSITIVE_INFINITY)>(e||Number.POSITIVE_INFINITY)?1:-1}},56993(t,e,n){function r(t,e,n=!1){let{hasM:r,hasZ:i}=t;Array.isArray(e)?4!==e.length||r||i?3===e.length&&n&&!r?(i=!0,r=!1):3===e.length&&r&&i&&(r=!1,i=!1):(r=!0,i=!0):(i=!i&&e.hasZ&&(!r||e.hasM),r=!r&&e.hasM&&(!i||e.hasZ)),t.hasZ=i,t.hasM=r}n.d(e,{h:()=>r})},97770(t,e,n){n.d(e,{Ey:()=>P,F8:()=>E,J2:()=>T,Yq:()=>I,_m:()=>C,iS:()=>O,wj:()=>N});var r=n(66552),i=n(73444),s=n(98623),o=n(92647);const a={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},h={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},u={timeZone:"UTC"},c={year:"numeric",month:"numeric",day:"numeric"},l={year:"numeric",month:"long",day:"numeric"},f={year:"numeric",month:"short",day:"numeric"},m={year:"numeric",month:"long",weekday:"long",day:"numeric"},d={hour:"numeric",minute:"numeric"},p={...d,second:"numeric"},y={hourCycle:"h23"},g={...d,...y},M={...p,...y},_={"short-date":c,"short-date-short-time":{...c,...d},"short-date-short-time-24":{...c,...g},"short-date-long-time":{...c,...p},"short-date-long-time-24":{...c,...M},"short-date-le":c,"short-date-le-short-time":{...c,...d},"short-date-le-short-time-24":{...c,...g},"short-date-le-long-time":{...c,...p},"short-date-le-long-time-24":{...c,...M},"long-month-day-year":l,"long-month-day-year-short-time":{...l,...d},"long-month-day-year-short-time-24":{...l,...g},"long-month-day-year-long-time":{...l,...p},"long-month-day-year-long-time-24":{...l,...M},"day-short-month-year":f,"day-short-month-year-short-time":{...f,...d},"day-short-month-year-short-time-24":{...f,...g},"day-short-month-year-long-time":{...f,...p},"day-short-month-year-long-time-24":{...f,...M},"long-date":m,"long-date-short-time":{...m,...d},"long-date-short-time-24":{...m,...g},"long-date-long-time":{...m,...p},"long-date-long-time-24":{...m,...M},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":d,"long-time":p},x=(0,r.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),b={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},v=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),R=v.find(({type:t})=>"month"===t)?.value.toLowerCase();function A(){const t=(0,i.lR)();return(t&&b[t])??(0,i.QC)()}"mart"!==R&&(b.bs="sr-Latn-CS");let S=new WeakMap;const w=_["short-date-short-time"];function T(t){return _[t]}function C(t){const{dateStyle:e,timeStyle:n,hour12:r,year:i,month:s}=t,o={};return e?o.dateStyle=e:i&&(o.year=i,o.month=s||void 0),n&&!o.year&&(o.timeStyle=n,o.hour12="auto"===r?void 0:"always"===r),o}function I(t,e=w){return function(t){let e=S.get(t);if(!e){const n=A(),r=N(t.timeZone??"system"),i={...t,timeZone:r};e=new Intl.DateTimeFormat(n,i),S.set(t,e)}return e}(e).format(t)}function O(t,e=w){return I(new Date(t),{...e,...u,...h})}function E(t,e=w){return I(new Date(`1970-01-01T${t}Z`),{...e,...u,...a})}function P(t,e=w){const n=o.c9.fromISO(t,{setZone:!0});if(!n.isValid)return t;if(e.timeZone)return I(n.toJSDate(),e);const r=0===n.offset?"UTC":e.timeZone,i={...e,timeZone:r};return n.toLocaleString(i,{locale:A()})}function N(t){switch(t){case"system":return s.N;case s.L:return"UTC";default:return t}}(0,i.Ml)(()=>{S=new WeakMap}),n.d(e,["_v",0,x])},73444(t,e,n){n.d(e,{JK:()=>h,Ml:()=>y,QC:()=>l,lR:()=>c,oQ:()=>d});var r=n(36563);let i;n(44208);const s=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function a(){const t=o?.getAttribute("lang"),e=globalThis.navigator?.language;return s??t??e??"en"}function h(){return void 0===i&&(i=a()),i}const u=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(t=h()){return f(t)?.language}function l(t=h()){const e=f(t);return e?.language&&e?.extlang?t.replace(`${e.language}-`,""):t}function f(t=h()){return u.exec(t)?.groups}const m=[];function d(t){return m.push(t),(0,r.hA)(()=>{m.splice(m.indexOf(t),1)})}new Map;const p=[];function y(t){return p.push(t),(0,r.hA)(()=>p.splice(p.indexOf(t),1))}function g(){const t=a();i!==t&&([...p].forEach(e=>e(t)),i=t,[...m].forEach(e=>e(t)))}globalThis.addEventListener?.("languagechange",g),o&&new MutationObserver(()=>{g()}).observe(o,{attributeFilter:["lang"]})},98623(t,e,n){const r=Intl.DateTimeFormat().resolvedOptions().timeZone;n.d(e,["L",0,"unknown","N",0,r])},89606(t,e,n){n.d(e,{GN:()=>l,MU:()=>c,yf:()=>m});var r=n(35522),i=n(51850),s=n(10614),o=n(63907),a=n(74038);class h{constructor(t,e){this.data=t,this.indices=e}}class u{constructor(t,e,n,r,i){this.indices=t,this.packedNormals=e,this.appendedVertexToOriginal=n,this.outputVertexCount=r,this.appendedVertexCount=i}}function c(t,e,n,u,c){return!u||n.some(({name:t})=>"normal"===t||"normalCompressed"===t)?function(t,e,n,o){const a=new h(t.slice().buffer,e);if(!o)return a;const u=n[0].stride,c=a.data.byteLength/u;for(const t of n)if("normalCompressed"===t.name){const{offset:e}=t,n=new Int16Array(a.data),h=(0,i.vt)();for(let t=0;t<c;++t)(0,s.Tz)(h,n,t,u/2,e/2),(0,r.ei)(h,h,o),(0,s.aT)(n,t,h[0],h[1],h[2],u/2,e/2)}else if("normal"===t.name){const{offset:e}=t,n=new Float32Array(a.data),s=(0,i.vt)();for(let t=0;t<c;++t){const i=(t*u+e)/4;s[0]=n[i],s[1]=n[i+1],s[2]=n[i+2],(0,r.ei)(s,s,o),n[i]=s[0],n[i+1]=s[1],n[i+2]=s[2]}}return a}(t,e,n,c):function(t,e,n,r){const i=n[0].stride,s=i/4,h=new Float32Array(t.buffer,t.byteOffset,t.byteLength/4),u=t.byteLength/i,c=i+4;n.forEach(t=>t.stride=c),n.push(new a._("normalCompressed",2,o.pe.SHORT,i,c,!0));const m=l(e,h,s,r);return f(h,u,i,c,m)}(t,e,n,c)}function l(t,e,n,r){const i=t.length/3,s=e.length/n,{faceNormals:o,faceAreas:a,faceEdges:h,edgeFaces:u,vertexFaces:c,vertexFaceCountAndOffset:l}=function(t,e,n,r,i,s){const o=new Float32Array(3*i),a=new Float32Array(i),h=new Uint32Array(3*i),u=new Int32Array(3*i*2),c=3*i,l=new Uint32Array(c),f=new Uint32Array(2*n);for(let t=0;t<i;++t){const e=3*t;for(let t=0;t<3;++t)++f[2*r[e+t]]}{let t=0;for(let e=0;e<n;++e){const n=2*e;f[n+1]=t,t+=f[n]}for(let t=0;t<i;++t){const e=3*t;for(let n=0;n<3;++n)l[f[2*r[e+n]+1]++]=t}for(let t=0;t<n;++t)f[2*t+1]-=f[2*t]}let m=0;const d=new Uint32Array(2*c*2),p=new Uint32Array(2*n);for(let t=0;t<n;++t){const e=2*t,n=4*f[e+1];p[e]=n,p[e+1]=n}function y(t,e,n){const r=Math.min(t,e),i=Math.max(t,e),s=t<e?0:1,o=2*r,a=p[o],h=p[o+1];let c=-1;for(let t=a;t<h;t+=2)if(d[t]===i){c=d[t+1];break}return-1===c&&(c=m++,d[h]=i,d[h+1]=c,p[o+1]=h+2,u[2*c+(1-s)]=-1),u[2*c+s]=n,c}for(let n=0;n<r.length;n+=3){const i=r[n],u=i*e,c=t[u],l=t[u+1],f=t[u+2],m=r[n+1],d=m*e,p=t[d],g=t[d+1],M=t[d+2],_=r[n+2],x=_*e,b=c-p,v=l-g,R=f-M,A=c-t[x],S=l-t[x+1],w=f-t[x+2],T=v*w-R*S,C=R*A-b*w,I=b*S-v*A,O=Math.sqrt(T*T+C*C+I*I)||1,E=n/3;a[E]=.5*O;const P=1/O;if(s){const t=s[0]*T+s[3]*C+s[6]*I,e=s[1]*T+s[4]*C+s[7]*I,n=s[2]*T+s[5]*C+s[8]*I;o[3*E]=t*P,o[3*E+1]=e*P,o[3*E+2]=n*P}else o[3*E]=T*P,o[3*E+1]=C*P,o[3*E+2]=I*P;const N=y(i,m,E),L=y(m,_,E),D=y(_,i,E);h[3*E]=N,h[3*E+1]=L,h[3*E+2]=D}return{faceNormals:o,faceAreas:a,faceEdges:h,vertexFaces:l,vertexFaceCountAndOffset:f,edgeFaces:u}}(e,n,s,t,i,r);return function(t,e,n,r,i,s){const o=new Uint8Array(e),a=new Uint32Array(e),h=new Uint32Array(3*e);let u=0;const c=new Uint32Array(e);let l=0;for(let e=0;e<t.length;e+=3){const t=e/3;if(1===o[t])continue;o[t]=1;const f=n[3*t],m=n[3*t+1],d=n[3*t+2];for(l=0,c[l++]=t,h[0]=i[3*t],h[1]=i[3*t+1],h[2]=i[3*t+2],u=3,a[t]=t+1;u>0;){const e=h[--u];for(let r=0;r<2;++r){const y=s[2*e+r];if(-1===y||a[y]===t+1)continue;a[y]=t+1;const g=n[3*y],M=n[3*y+1],_=n[3*y+2];if(Math.abs(1-(f*g+m*M+d*_))<p){c[l++]=y,o[y]=1;for(let t=0;t<3;++t){const n=i[3*y+t];n!==e&&(h[u++]=n)}}}}if(l>1){let t=0,e=0,i=0,s=0;for(let o=0;o<l;++o){const a=c[o],h=r[a];t+=h,e+=n[3*a]*h,i+=n[3*a+1]*h,s+=n[3*a+2]*h}const o=Math.sqrt(e*e+i*i+s*s)||1;e/=o,i/=o,s/=o;for(let o=0;o<l;++o){const a=c[o];n[3*a]=e,n[3*a+1]=i,n[3*a+2]=s,r[a]=t}}}}(t,i,o,a,h,u),d(i,s,t,o,a,c,l)}function f(t,e,n,r,i){const s=n/4,o=r/4,a=i.outputVertexCount,u=new Float32Array(a*o),c=new Uint32Array(u.buffer),l=s,f=new Uint32Array(t.buffer,t.byteOffset,t.length);return function(t,e,n,r,i,s,o){for(let a=0;a<s;++a){const s=a*i,h=a*e;for(let e=0;e<i;++e)t[h+e]=r[s+e];t[h+n]=o[a]}}(c,o,l,f,s,e,i.packedNormals),m(c,o,l,f,s,e,a,i.appendedVertexToOriginal,i.packedNormals),new h(u.buffer,i.indices)}function m(t,e,n,r,i,s,o,a,h){for(let u=s;u<o;++u){const o=a[u-s]*i,c=u*e;for(let e=0;e<i;++e)t[c+e]=r[o+e];t[c+n]=h[u]}}function d(t,e,n,r,i,s,o){const a=3*t,h=new(a<256?Uint8Array:a<65536?Uint16Array:Uint32Array)(n);let c=e;const l=new(e<256?Uint8Array:e<65536?Uint16Array:Uint32Array)(a-e),f=new ArrayBuffer(4*a),m=new Int16Array(f),d=new Uint32Array(f);let p=0,g=0;const M=new Uint32Array(t);let _=0;const x=1-y;for(let t=0;t<e;++t){p=o[2*t+1],g=p+o[2*t];let n=t;for(;p<g;){{const t=s[--g],e=3*t,o=r[e],a=r[e+1],h=r[e+2];_=0,M[_++]=t;let u=p;for(;u<g;){const t=s[u],e=3*t;if(o*r[e]+a*r[e+1]+h*r[e+2]>x){M[_++]=t;const e=--g;if(u<e){s[u]=s[e];continue}}++u}let c=0,l=0,f=0;if(1===_)c=o,l=a,f=h;else{for(let t=0;t<_;++t){const e=M[t],n=i[e],s=3*e;c+=r[s]*n,l+=r[s+1]*n,f+=r[s+2]*n}const t=Math.sqrt(c*c+l*l+f*f)||1;c/=t,l/=t,f/=t}{const t=1/(Math.abs(c)+Math.abs(l)+Math.abs(f)),e=c*t,r=l*t;let i=e,s=r;f<=0&&(i=(e>=0?1:-1)*(1-Math.abs(r)),s=(r>=0?1:-1)*(1-Math.abs(e)));const o=2*n,a=Math.round(32767*i),h=Math.round(32767*s);m[o]=a<-32767?-32767:a>32767?32767:a,m[o+1]=h<-32767?-32767:h>32767?32767:h}}if(n!==t)for(let e=0;e<_;++e){const r=3*M[e];h[r]===t&&(h[r]=n),h[r+1]===t&&(h[r+1]=n),h[r+2]===t&&(h[r+2]=n)}if(p>=g)break;n=c++,l[n-e]=t}}return new u(h,d,l,c,c-e)}const p=.04,y=.8},94715(t,e,n){n.r(e),n.d(e,{destroyContext:()=>A,dracoDecompressPointCloudData:()=>M,filterObbsForModifications:()=>_,filterObbsForModificationsSync:()=>O,initialize:()=>N,interpretObbModificationResults:()=>I,process:()=>g,project:()=>v,setLegacySchema:()=>b,setModifications:()=>x,setModificationsSync:()=>T,test:()=>D,transformNormals:()=>R});var r=n(34727),i=n(77690),s=n(29242),o=n(58083),a=n(9093),h=n(16930),u=n(4197),c=n(95696),l=n(18251),f=n(73354),m=n(2741);let d;var p=n(89606),y=n(98697);async function g(t){w=await L();const e=[t.geometryBuffer];return{result:C(w,t,e),transferList:e}}async function M(t){w=await L();const e=[t.geometryBuffer],{geometryBuffer:n}=t,r=n.byteLength,i=w._malloc(r),s=new Uint8Array(w.HEAPU8.buffer,i,r);s.set(new Uint8Array(n));const o=w.dracoDecompressPointCloudData(i,s.byteLength);if(w._free(i),o.error.length>0)throw new Error(`i3s.wasm: ${o.error}`);const a=o.featureIds?.length>0?o.featureIds.slice():null,h=o.positions.slice();return a&&e.push(a.buffer),e.push(h.buffer),{result:{positions:h,featureIds:a},transferList:e}}async function _(t){await L(),O(t);const e={buffer:t.buffer};return{result:e,transferList:[e.buffer]}}async function x(t){await L(),T(t)}async function b(t){w=await L(),w.setLegacySchema(t.context,t.jsonSchema)}async function v(t){const{localMatrix:e,origin:r,positions:i,vertexSpace:s}=t,o=h.A.fromJSON(t.inSpatialReference),a=h.A.fromJSON(t.outSpatialReference),f=e?(0,u.Vj)(e):void 0,m=(0,u.cj)(r);let d;const[{projectBuffer:p},{initializeProjection:y}]=await Promise.all([Promise.resolve().then(n.bind(n,9762)),Promise.resolve().then(n.bind(n,99917))]);await y(o,a);const g=[0,0,0];if(!p(m,o,0,g,a,0))throw new Error("Failed to project");if("georeferenced"===s.type&&null==s.origin){if(d=new Float64Array(i.length),!p(i,o,0,d,a,0,d.length/3))throw new Error("Failed to project")}else{const t="georeferenced"===s.type?c.A.fromJSON(s):l.A.fromJSON(s),{projectMeshVertexPositions:e}=await Promise.all([n.e(6860),n.e(4406)]).then(n.bind(n,74594)),r=e({vertexAttributes:{position:i},transform:f?{localMatrix:f}:void 0,vertexSpace:t,spatialReference:o},a);if(!r)throw new Error("Failed to project");d=r}const M=d.length,[_,x,b]=g;for(let t=0;t<M;t+=3)d[t]-=_,d[t+1]-=x,d[t+2]-=b;return{result:{projected:d,original:i,projectedOrigin:g},transferList:[d.buffer,i.buffer]}}async function R({normalMatrix:t,normals:e}){const n=new Float32Array(e.length);return(0,f.b)(n,e,t),(0,r.or)(t)&&(0,f.n)(n,n),{result:{transformed:n,original:e},transferList:[n.buffer,e.buffer]}}function A(t){E(t)}let S,w;function T(t){if(!w)return;const e=t.modifications,n=w._malloc(8*e.length),r=new Float64Array(w.HEAPU8.buffer,n,e.length);for(let t=0;t<e.length;++t)r[t]=e[t];w.setModifications(t.context,n,e.length,t.isGeodetic),w._free(n)}function C(t,e,n){const{context:r,globalTrafo:h,geometryElevationOffset:u,mbs:c,obbData:l,layouts:f,needNormals:m,computeNormals:d,elevationOffset:g,planetRadiusInGlobalMode:M,geometryBuffer:_,geometryDescriptor:x,geometryData:b,indexToVertexProjector:v,vertexToRenderProjector:R,normalReferenceFrame:A}=e,S=t._malloc(_.byteLength),w=t._malloc(33*Float64Array.BYTES_PER_ELEMENT),T=new Uint8Array(t.HEAPU8.buffer,S,_.byteLength);T.set(new Uint8Array(_));const C=new Float64Array(t.HEAPU8.buffer,w,33);P(C,[NaN,NaN,NaN],0);let I=3;P(C,h,I),I+=16,P(C,c.center,I),I+=3,C[I++]=c.radius,l&&P(C,l,I++);const O={isDraco:!1,isLegacy:!1,color:f.some(t=>t.some(t=>"color"===t.name)),normal:m&&f.some(t=>t.some(t=>"normalCompressed"===t.name)),uv0:f.some(t=>t.some(t=>"uv0"===t.name)),uvRegion:f.some(t=>t.some(t=>"uvRegion"===t.name)),featureIndex:x.featureIndex},E=t.process(r,!!l,S,T.byteLength,x,O,w,g,v,R,A);if(t._free(w),t._free(S),E.error.length>0)throw new Error(`i3s.wasm: ${E.error}`);if(E.discarded)return null;const N=E.componentOffsets.length>0?E.componentOffsets.slice():null,L=E.featureIds.length>0?E.featureIds.slice():null,D=E.anchorIds.length>0?Array.from(E.anchorIds):null,G=E.anchors.length>0?Array.from(E.anchors):null,B=1===E.indicesType?new Uint16Array(E.indices.buffer,E.indices.byteOffset,E.indices.byteLength/2).slice():new Uint32Array(E.indices.buffer,E.indices.byteOffset,E.indices.byteLength/4).slice(),U=f[0].slice(),F=(0,i.z0)((0,s.vt)(),h),Z=(0,p.MU)(E.interleavedVertedData,B,U,d&&!O.normal,F),j=E.positions.slice(),k=function(t,e,n,r,i){const s=n?(0,a.o8)(n):(0,a.vt)();(0,o.lw)(s,e,s);const h=s[0],u=s[1],c=s[2],l=s[4],f=s[5],m=s[6],d=s[8],p=s[9],y=s[10],g=s[12],M=s[13],_=s[14];let x=1/0,b=-1/0;for(let e=0;e<t.length;e+=3){const n=t[e],s=t[e+1],o=t[e+2],a=n*c+s*m+o*y+_;let v=0;if(r>0){const t=n*h+s*l+o*d+g,e=n*u+s*f+o*p+M;v=Math.sqrt(t*t+e*e+a*a)-r}else v=a;v-=i,x=Math.min(x,v),b=Math.max(b,v)}return{minElevation:x,maxElevation:b}}(j,h,b?.geometries[0]?.transformation,M,u),{buffer:z,byteOffset:q,byteLength:H}=E.positionIndices,Y=1===E.positionIndicesType?new Uint16Array(z,q,H/2).slice():new Uint32Array(z,q,H/4).slice(),V=new y._b(U,Z.data,Z.indices,E.hasColors,E.hasModifications,{data:j,indices:Y});return L&&n.push(L.buffer),N&&n.push(N.buffer),n.push(Z.data),n.push(Z.indices.buffer),n.push(j.buffer),n.push(Y.buffer),new y.sQ(N,L,D,G,V,h,E.obb,k.minElevation,k.maxElevation)}function I(t){return 0===t?0:1===t?1:2===t?2:3}function O(t){if(!w)return;const{context:e,buffer:n}=t,r=w._malloc(n.byteLength),i=n.byteLength/Float64Array.BYTES_PER_ELEMENT,s=new Float64Array(w.HEAPU8.buffer,r,i),o=new Float64Array(n);s.set(o),w.filterOBBs(e,r,i),o.set(s),w._free(r)}function E(t){0===w?.destroy(t)&&(w=null,S=null,d=null)}function P(t,e,n){for(let r=0;r<e.length;++r)t[r+n]=e[r]}async function N(){w||await L()}async function L(){return w||(w=await(S??=(d??=(async()=>{const t=await n.e(2980).then(n.bind(n,82980));return await t.default({locateFile:t=>(0,m.s)(`esri/libs/i3s/${t}`)})})(),d))),w}const D={transform:(t,e)=>w&&C(w,t,e),destroy:E}},98697(t,e,n){n.d(e,{H1:()=>M,Ir:()=>p,_b:()=>l,sQ:()=>f});var r=n(53966),i=n(15142),s=n(51850),o=n(35982),a=n(39829),h=n(99917),u=n(27993),c=n(89056);class l{constructor(t,e,n,r,i,s){this.layout=t,this.interleavedVertexData=e,this.indices=n,this.hasColors=r,this.hasModifications=i,this.positionData=s}}class f{constructor(t,e,n,r,i,s,o,a,h){this.componentOffsets=t,this.featureIds=e,this.anchorIds=n,this.anchors=r,this.transformedGeometry=i,this.globalTrafo=s,this.obb=o,this.geometryMinElevation=a,this.geometryMaxElevation=h}}o.B;const m=new i.A({deallocator:null}),d=(0,s.vt)();function p(t,e,n,i=!1){m.clear();let s=1/0,o=1/0,u=-1/0,l=-1/0,f=!1;for(const t of e){const e="clip"===t.type?2:"mask"===t.type?1:0,d=t.geometry,p=d.spatialReference??n;if(p!==n&&!(0,h.canProjectWithoutEngine)(p,n)){r.A.getLogger("esri.views.3d.layers.SceneLayerWorkerHandle").warn("im-modification-projection-failed","Can't project modification polygon into layer spatial reference, ignoring modification",{polygon:d});continue}let M=d.rings;if(p!==n){const t=y(d.rings,p,n);if(null==t){r.A.getLogger("esri.views.3d.layers.SceneLayerWorkerHandle").warn("im-modification-projection-failed","Can't project modification polygon into layer spatial reference, ignoring modification",{polygon:d});continue}M=t}const _=M;if(i){const t=(0,c.jZ)(new a.A({rings:M,spatialReference:n}));null!=t&&(M=t.rings)}const x=1===_.length&&M.length>1?[...M.map(t=>[t]),_]:[M];if(x.some(t=>0===t.length||t.some(t=>t.length<3||t.some(t=>!g(t)))))r.A.getLogger("esri.views.3d.layers.SceneLayerWorkerHandle").warn("im-modification-invalid-polygon","Ignoring invalid modification polygon (empty ring, fewer than 3 vertices, or non-finite coordinates).",{polygon:d});else{f||=1===e;for(const t of x){m.push(e),m.push(t.length);for(const e of t){m.push(e.length);for(const t of e){const e=t[2]??0;m.push(t[0]),m.push(t[1]),m.push(e),s=Math.min(s,t[0]),o=Math.min(o,t[1]),u=Math.max(u,t[0]),l=Math.max(l,t[1])}}}}}if(null!=t)if(f){const e=1e-4;m.push(2),m.push(2),m.push(4),m.push(s-e),m.push(o-e),m.push(0),m.push(u+e),m.push(o-e),m.push(0),m.push(u+e),m.push(l+e),m.push(0),m.push(s-e),m.push(l+e),m.push(0),m.push(4),m.push(t[0]),m.push(t[1]),m.push(0),m.push(t[2]),m.push(t[1]),m.push(0),m.push(t[2]),m.push(t[3]),m.push(0),m.push(t[0]),m.push(t[3]),m.push(0)}else m.push(1),m.push(1),m.push(4),m.push(t[0]),m.push(t[1]),m.push(0),m.push(t[2]),m.push(t[1]),m.push(0),m.push(t[2]),m.push(t[3]),m.push(0),m.push(t[0]),m.push(t[3]),m.push(0);m.push(3);const d=new Float64Array(m.length);for(let t=0;t<m.length;++t)d[t]=m.at(t);return d}function y(t,e,n){const r=[];for(const i of t){const t=[];for(const r of i){if(!(0,u.F)(r,e,d,n)||!g(d))return null;t.push([d[0],d[1],d[2]])}r.push(t)}return r}function g(t){return Number.isFinite(t[0])&&Number.isFinite(t[1])&&(null==t[2]||Number.isFinite(t[2]))}function M(t,e){let n=0;for(const r of e){const e=r.geometry,i=e.rings.length,s=e.rings.some(t=>t.length<3);if(0!==i&&!s){n+=1,n+=1;for(let r=0;r<e.rings.length;++r){const i=e.rings[r];n+=1;for(let s=0;s<i.length;++s){const i=[t[n+0],t[n+1],t[n+2]];n+=3,e.setPoint(r,s,i)}}}}}},10614(t,e,n){n.d(e,{Tz:()=>o,aT:()=>s});var r=n(34727),i=n(35522);function s(t,e,n,r,i,s=2,o=0){const h=1/(Math.abs(n)+Math.abs(r)+Math.abs(i)),u=n*h,c=r*h,l=i<=0?(u>=0?1:-1)*(1-Math.abs(c)):u,f=i<=0?(c>=0?1:-1)*(1-Math.abs(u)):c,m=e*s+o;t[m]=a(l),t[m+1]=a(f)}function o(t,e,n,r=2,s=0){const o=n*r+s,a=h(e[o]),u=h(e[o+1]),c=1-Math.abs(a)-Math.abs(u);return t[2]=c,c<0?(t[0]=(a>=0?1:-1)*(1-Math.abs(u)),t[1]=(u>=0?1:-1)*(1-Math.abs(a))):(t[0]=a,t[1]=u),(0,i.S8)(t,t)}function a(t){return(0,r.qE)(Math.round(32767*t),-32767,32767)}function h(t){return(0,r.qE)(t/32767,-1,1)}n(51850)},74038(t,e,n){n.d(e,{_:()=>r});class r{constructor(t,e,n,r,i,s=!1,o=0,a=!1){this.name=t,this.count=e,this.type=n,this.offset=r,this.stride=i,this.normalized=s,this.divisor=o,this.integer=a}}},63907(t,e,n){const r={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},i={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},s=Object.values(i),o={FLOAT:r.FLOAT,UNSIGNED_BYTE:r.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:r.BYTE,UNSIGNED_SHORT:r.UNSIGNED_SHORT,SHORT:r.SHORT,UNSIGNED_INT:r.UNSIGNED_INT,INT:r.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};n.d(e,["CQ",0,{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},"H0",0,i,"SB",0,{DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},"WR",0,{POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},"XN",0,s,"iE",0,{DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},"ld",0,o,"pe",0,r,"vt",0,{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}])}}]);
|