@arcgis/core 4.34.0-next.72 → 4.34.0-next.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/11acefc48c0354e675df.js +1 -0
- package/assets/esri/core/workers/chunks/433c4dc666a6b2c99063.js +353 -0
- package/assets/esri/core/workers/chunks/{1f51c94d392826fdbdf4.js → 8ce653c3c5dde10ccbcf.js} +46 -46
- package/assets/esri/core/workers/chunks/8d91e2d185be4a4e8598.js +1 -0
- package/assets/esri/core/workers/chunks/{bcc233a86e01ff1eac16.js → ae7b86bd08a44e26b339.js} +1 -1
- package/assets/esri/core/workers/chunks/be9edd9791a00cab9c2b.js +1 -0
- package/assets/esri/core/workers/chunks/e8d25d4ca9b335883f34.js +1 -0
- package/assets/esri/widgets/Sketch/t9n/Sketch.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_en.json +1 -1
- package/chunks/Fog.glsl.js +5 -10
- package/chunks/GlowComposition.glsl.js +4 -4
- package/chunks/Terrain.glsl.js +29 -43
- package/chunks/boundedPlane.js +1 -1
- package/config.js +1 -1
- package/geometry/support/boundedPlane.js +1 -1
- package/interfaces.d.ts +26 -3
- package/kernel.js +1 -1
- package/layers/IntegratedMesh3DTilesLayer.js +1 -1
- package/layers/Lyr3DWasmPerSceneView.js +1 -1
- package/layers/support/gaussianSplatUtils.js +1 -1
- package/package.json +3 -3
- package/support/basemapDefinitions.js +1 -1
- package/support/revision.js +1 -1
- package/views/2d/engine/flow/FlowDisplayData.js +1 -1
- package/views/2d/engine/flow/FlowStrategy.js +1 -1
- package/views/2d/engine/flow/dataUtils.js +1 -1
- package/views/2d/engine/flow/utils.js +1 -1
- package/views/2d/interactive/editingTools/TransformTool.js +1 -1
- package/views/2d/interactive/editingTools/manipulations/ScaleManipulation.js +1 -1
- package/views/3d/analysis/DirectLineMeasurement/DirectLineMeasurementVisualization.js +1 -1
- package/views/3d/analysis/Slice/SliceController.js +1 -1
- package/views/3d/analysis/Slice/SliceTool.js +1 -1
- package/views/3d/analysis/Slice/sliceToolUtils.js +1 -1
- package/views/3d/environment/Fog.glsl.js +1 -1
- package/views/3d/interactive/Manipulator3D.js +1 -1
- package/views/3d/interactive/editingTools/transform/extentTransform/ExtentRotate.js +1 -1
- package/views/3d/interactive/editingTools/transform/extentTransform/ExtentScale.js +1 -1
- package/views/3d/interactive/editingTools/transform/extentTransform/extentUtils.js +1 -1
- package/views/3d/interactive/support/viewUtils.js +1 -1
- package/views/3d/interactive/visualElements/LabelVisualElement.js +1 -1
- package/views/3d/layers/FlowSubView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Deconflictor.js +1 -1
- package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
- package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DLineCalloutSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPathSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DTextSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DWaterSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/pipeline/rendering/FeaturePipelineRenderManager.js +1 -1
- package/views/3d/layers/support/Tiles3DIntersectionHandler.js +1 -1
- package/views/3d/state/ScreenSizePerspective.js +5 -0
- package/views/3d/state/controllers/PinchAndPanControllerGlobal.js +1 -1
- package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
- package/views/3d/support/SharedSymbolResources.js +1 -1
- package/views/3d/support/ViewSlice.js +1 -1
- package/views/3d/support/engineContent/line.js +1 -1
- package/views/3d/support/flow/FlowWorker.js +1 -1
- package/views/3d/support/flow/geometryUtils.js +1 -1
- package/views/3d/support/geometryUtils/ray.js +1 -1
- package/views/3d/support/pointsOfInterest/CenterOnSurface.js +1 -1
- package/views/3d/terrain/TerrainRenderer.js +1 -1
- package/views/3d/terrain/TerrainSurface.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/util/ScreenSizePerspective.glsl.js +4 -4
- package/views/3d/webgl-engine/effects/glow/GlowComposition.glsl.js +1 -1
- package/views/3d/webgl-engine/effects/raymarching/RayDistanceFalloff.glsl.js +10 -0
- package/views/3d/webgl-engine/lib/GeometryUtil.js +1 -1
- package/views/3d/webgl-engine/lib/SliceHelper.js +1 -1
- package/views/3d/webgl-engine/lib/screenSizePerspectiveUtils.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/NativeLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/internal/MaterialUtil.js +1 -1
- package/views/3d/webgl-engine/shaders/AnimatedLine.glsl.js +28 -10
- package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/TerrainTechniqueConfiguration.js +1 -1
- package/views/SceneView.js +1 -1
- package/views/draw/support/tooltipUtils.js +1 -1
- package/views/interactive/editGeometry/support/editPlaneUtils.js +1 -1
- package/views/interactive/snapping/featureSources/featureServiceSource/tileUtils.js +1 -1
- package/views/support/GroundViewElevationSampler.js +1 -1
- package/widgets/Sketch/SketchViewModel.js +1 -1
- package/widgets/Sketch/VisibleElements.js +1 -1
- package/widgets/Sketch/support/OperationHandle.js +1 -1
- package/widgets/Sketch/support/sketchUtils.js +1 -1
- package/widgets/Sketch.js +1 -1
- package/assets/esri/core/workers/chunks/16cfbe7bedf75d3a86e5.js +0 -1
- package/assets/esri/core/workers/chunks/226833d408eb1225e168.js +0 -1
- package/assets/esri/core/workers/chunks/cf69f6afeaf1229e032c.js +0 -1
- package/assets/esri/core/workers/chunks/e21eeb4e78a46fb7e32e.js +0 -1
- package/assets/esri/core/workers/chunks/f87a6b32292c1464b7b7.js +0 -353
- package/views/3d/webgl-engine/materials/ScaleInfo.js +0 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1312],{24212:(t,e,n)=>{function o(t,e){return function(t,e){return e?.mode?e.mode:function(t){return t?u:c}(t).mode}(null==t||(t.hasZ??!1),e)}function r(t,e,n){return n&&n.mode!==e?`${t} only support ${e} elevation mode`:null}function i(t,e,n){return n?.mode===e?`${t} do not support ${e} elevation mode`:null}function s(t,e){return null!=e?.featureExpressionInfo&&"0"!==e.featureExpressionInfo.expression?`${t} do not support featureExpressionInfo`:null}function a(t,e){e&&t.warn(".elevationInfo=",e)}n.d(e,{$7:()=>i,B:()=>r,XF:()=>a,tW:()=>s,w7:()=>o}),n(83047),n(16271);const u={mode:"absolute-height",offset:0},c={mode:"on-the-ground",offset:null}},38954:(t,e,n)=>{n.d(e,{A:()=>m,B:()=>d,C:()=>l,D:()=>h,E:()=>P,F:()=>z,H:()=>j,a:()=>C,b:()=>y,c:()=>s,d:()=>c,e:()=>w,f:()=>u,g:()=>M,h:()=>S,i:()=>a,j:()=>g,k:()=>A,l:()=>i,m:()=>I,n:()=>v,o:()=>T,q:()=>L,r:()=>b,s:()=>x,t:()=>R,u:()=>_,v:()=>k,w:()=>f,x:()=>D,y:()=>Z,z:()=>p});var o=n(51850),r=n(34304);function i(t){const e=t[0],n=t[1],o=t[2];return Math.sqrt(e*e+n*n+o*o)}function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(t,e,n,o){return t[0]=e,t[1]=n,t[2]=o,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 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 f(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function d(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function m(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 M(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function y(t,e,n,o){return t[0]=e[0]+n[0]*o,t[1]=e[1]+n[1]*o,t[2]=e[2]+n[2]*o,t}function g(t,e){const n=e[0]-t[0],o=e[1]-t[1],r=e[2]-t[2];return Math.sqrt(n*n+o*o+r*r)}function x(t,e){const n=e[0]-t[0],o=e[1]-t[1],r=e[2]-t[2];return n*n+o*o+r*r}function A(t){const e=t[0],n=t[1],o=t[2];return e*e+n*n+o*o}function _(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function b(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function v(t,e){const n=e[0],o=e[1],r=e[2];let i=n*n+o*o+r*r;return i>0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i),t}function w(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function S(t,e,n){const o=e[0],r=e[1],i=e[2],s=n[0],a=n[1],u=n[2];return t[0]=r*u-i*a,t[1]=i*s-o*u,t[2]=o*a-r*s,t}function I(t,e,n,o){const r=e[0],i=e[1],s=e[2];return t[0]=r+o*(n[0]-r),t[1]=i+o*(n[1]-i),t[2]=s+o*(n[2]-s),t}function R(t,e,n){const o=e[0],r=e[1],i=e[2];return t[0]=n[0]*o+n[4]*r+n[8]*i+n[12],t[1]=n[1]*o+n[5]*r+n[9]*i+n[13],t[2]=n[2]*o+n[6]*r+n[10]*i+n[14],t}function T(t,e,n){const o=e[0],r=e[1],i=e[2];return t[0]=o*n[0]+r*n[3]+i*n[6],t[1]=o*n[1]+r*n[4]+i*n[7],t[2]=o*n[2]+r*n[5]+i*n[8],t}function k(t,e,n){const o=n[0],r=n[1],i=n[2],s=n[3],a=e[0],u=e[1],c=e[2],l=r*c-i*u,h=i*a-o*c,f=o*u-r*a,d=r*f-i*h,m=i*l-o*f,p=o*h-r*l,M=2*s;return t[0]=a+l*M+2*d,t[1]=u+h*M+2*m,t[2]=c+f*M+2*p,t}const q=(0,o.vt)(),E=(0,o.vt)();function L(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function P(t,e,n){const o=n[0]-e[0],r=n[1]-e[1],i=n[2]-e[2];let s=o*o+r*r+i*i;return s>0?(s=1/Math.sqrt(s),t[0]=o*s,t[1]=r*s,t[2]=i*s,t):(t[0]=0,t[1]=0,t[2]=0,t)}const C=c,O=l,N=h,z=g,D=x,j=i,Z=A;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:u,angle:function(t,e){v(q,t),v(E,e);const n=w(q,E);return n>1?0:n<-1?Math.PI:Math.acos(n)},bezier:function(t,e,n,o,r,i){const s=1-i,a=s*s,u=i*i,c=a*s,l=3*i*a,h=3*u*s,f=u*i;return t[0]=e[0]*c+n[0]*l+o[0]*h+r[0]*f,t[1]=e[1]*c+n[1]*l+o[1]*h+r[1]*f,t[2]=e[2]*c+n[2]*l+o[2]*h+r[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:s,cross:S,crossAndNormalize:function(t,e,n){const o=e[0],r=e[1],i=e[2],s=n[0],a=n[1],u=n[2],c=r*u-i*a,l=i*s-o*u,h=o*a-r*s,f=Math.sqrt(c*c+l*l+h*h);return t[0]=c/f,t[1]=l/f,t[2]=h/f,t},direction:P,dist:z,distance:g,div:N,divide:h,dot:w,equals:function(t,e){if(t===e)return!0;const n=t[0],o=t[1],i=t[2],s=e[0],a=e[1],u=e[2],c=(0,r.FD)();return Math.abs(n-s)<=c*Math.max(1,Math.abs(n),Math.abs(s))&&Math.abs(o-a)<=c*Math.max(1,Math.abs(o),Math.abs(a))&&Math.abs(i-u)<=c*Math.max(1,Math.abs(i),Math.abs(u))},exactEquals:L,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,o,r,i){const s=i*i,a=s*(2*i-3)+1,u=s*(i-2)+i,c=s*(i-1),l=s*(3-2*i);return t[0]=e[0]*a+n[0]*u+o[0]*c+r[0]*l,t[1]=e[1]*a+n[1]*u+o[1]*c+r[1]*l,t[2]=e[2]*a+n[2]*u+o[2]*c+r[2]*l,t},inverse:b,len:j,length:i,lerp:I,max:p,min:m,mul:O,multiply:l,negate:_,normalize:v,random:function(t,e=1){const n=r.Ov,o=2*n()*Math.PI,i=2*n()-1,s=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(o)*s,t[1]=Math.sin(o)*s,t[2]=i*e,t},rotateX:function(t,e,n,o){const r=[],i=[];return r[0]=e[0]-n[0],r[1]=e[1]-n[1],r[2]=e[2]-n[2],i[0]=r[0],i[1]=r[1]*Math.cos(o)-r[2]*Math.sin(o),i[2]=r[1]*Math.sin(o)+r[2]*Math.cos(o),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateY:function(t,e,n,o){const r=[],i=[];return r[0]=e[0]-n[0],r[1]=e[1]-n[1],r[2]=e[2]-n[2],i[0]=r[2]*Math.sin(o)+r[0]*Math.cos(o),i[1]=r[1],i[2]=r[2]*Math.cos(o)-r[0]*Math.sin(o),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateZ:function(t,e,n,o){const r=[],i=[];return r[0]=e[0]-n[0],r[1]=e[1]-n[1],r[2]=e[2]-n[2],i[0]=r[0]*Math.cos(o)-r[1]*Math.sin(o),i[1]=r[0]*Math.sin(o)+r[1]*Math.cos(o),i[2]=r[2],t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:M,scaleAndAdd:y,set:a,sign:d,sqrDist:D,sqrLen:Z,squaredDistance:x,squaredLength:A,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:C,subtract:c,transformMat3:T,transformMat4:R,transformQuat:k},Symbol.toStringTag,{value:"Module"}))},61528:(t,e,n)=>{n.r(e),n.d(e,{default:()=>q});var o=n(31635),r=n(78888),i=n(49186),s=n(53966),a=n(92071),u=n(74887),c=n(36708),l=n(10107),h=(n(44208),n(87811),n(36005)),f=n(40608),d=n(87024),m=n(5443),p=n(16930),M=n(4146),y=n(52136),g=n(18768),x=n(69208),A=n(16131),_=n(8303),b=n(25036),v=n(10873),w=n(58325),S=n(88546),I=n(20655),R=n(24212),T=n(97159);let k=class extends((0,g.b)((0,A.q)((0,_.A)((0,b.j)((0,a.P)((0,x.d)((0,y.p)(M.A)))))))){readModifications(t,e,n){this._modificationsSource={url:(0,T.f)(t,n),context:n}}initialize(){this.addHandles((0,c.on)(()=>this.modifications,"after-changes",()=>this.modifications=this.modifications,c.OH))}constructor(t){super(t),this.operationalLayerType="IntegratedMesh3DTilesLayer",this.modifications=null,this._modificationsSource=null,this.spatialReference=new p.A({wkid:4326,vcsWkid:115700}),this.fullExtent=new m.A(-180,-90,180,90,this.spatialReference),this.url=null,this.type="integrated-mesh-3dtiles",this.path=null,this.minScale=0,this.maxScale=0,this._rootTilesetJSON=null,this._rootTileset=null,this._key=null,this._session=null,this._rootRequestPromise=null}set elevationInfo(t){null!=t&&"absolute-height"!==t.mode||this._set("elevationInfo",t),this._validateElevationInfo(t)}async load(t){return this.addResolvingPromise(this._doLoad(t)),this}get rootTilesetJSON(){return this._rootTilesetJSON}get rootTileset(){return this._rootTileset}get key(){return this._key}get session(){return this._session}_findSessionParameter(t){const e=[t];for(;e?.length>0;){const t=e.pop();if(!t)return;for(const[n,o]of Object.entries(t)){if("uri"===n)try{const t=new URL("https://tmp"+o).searchParams.get("session");if(t)return t}catch(t){}"object"==typeof o&&null!==o&&e.push(o)}}return null}async requestRootAndSession(t){return this._rootRequestPromise||(this._rootRequestPromise=new Promise((e,n)=>{this.url||n(),this._key=this.customParameters?this.customParameters.key:null,this._session=null;const o=new Promise(t=>{if(this.replacesTerrain&&!this._key){const e=this.portalItem?.portal||this.parent?.portalItem?.portal||I.A.getDefault();e.signIn().then(()=>{(0,r.A)(e.restUrl+"/portals/self/modules/g3dtiles",{responseType:"json",query:{f:"json"}}).then(e=>{this._key=e.data.keyString,t()},()=>n())},()=>n())}else t()});o.then(()=>{(0,r.A)(this.url,{query:this._key?{key:this._key,token:this.apiKey}:{token:this.apiKey},responseType:"array-buffer",signal:t}).then(t=>{if(this._rootTilesetJSON=JSON.parse((new TextDecoder).decode(t.data)),!this._rootTilesetJSON)throw new Error("Error parsing root tile");this._session=this._findSessionParameter(this._rootTilesetJSON),this._rootTileset=t.data,this.fullExtent=(0,S.u)(this._rootTilesetJSON),e(),this._rootRequestPromise=null},t=>{(0,u.QP)(t),n(),this._rootRequestPromise=null,s.A.getLogger("IntegratedMesh3DTilesLayer").error("Layer loading failed",t)})},()=>n())})),this._rootRequestPromise}async _doLoad(t){const e=null!=t?t.signal:null;try{await this.loadFromPortal({supportedTypes:["3DTiles Service"],validateItem:t=>{if(t.typeKeywords?.includes("IntegratedMesh"))return!0;throw new i.A("portal:invalid-layer-item-type","Invalid layer item, expected '${expectedType}' ",{expectedType:"3DTiles Service containing IntegratedMesh"})}},t)}catch(t){(0,u.QP)(t)}if(null!=this._modificationsSource){const e=await w.A.fromUrl(this._modificationsSource.url,this.spatialReference,t);this.setAtOrigin("modifications",e,this._modificationsSource.context.origin),this._modificationsSource=null}await this.requestRootAndSession(e)}beforeSave(){if(null!=this._modificationsSource)return this.load().then(()=>{},t=>{s.A.getLogger("IntegratedMesh3DTilesLayer").error("Layer loading failed",t)})}async fetchAttributionData(){return this.load().then(()=>({}))}_validateElevationInfo(t){const e="Integrated mesh 3d tiles layers";(0,R.XF)(s.A.getLogger(this),(0,R.B)(e,"absolute-height",t)),(0,R.XF)(s.A.getLogger(this),(0,R.tW)(e,t))}get replacesTerrain(){return!!this.parent&&"type"in this.parent&&"Basemap"===this.parent.type&&!!this.url?.match(/.+\.googleapis.com/)}};(0,o.Cg)([(0,l.MZ)({type:["IntegratedMesh3DTilesLayer"]})],k.prototype,"operationalLayerType",void 0),(0,o.Cg)([(0,l.MZ)({type:w.A,clonable:t=>t.clone()}),(0,d.P)({origins:["web-scene","portal-item"],type:"resource",prefix:"modifications"})],k.prototype,"modifications",void 0),(0,o.Cg)([(0,h.w)(["web-scene","portal-item"],"modifications")],k.prototype,"readModifications",null),(0,o.Cg)([(0,l.MZ)({type:p.A})],k.prototype,"spatialReference",void 0),(0,o.Cg)([(0,l.MZ)({type:m.A})],k.prototype,"fullExtent",void 0),(0,o.Cg)([(0,l.MZ)(v.Yj)],k.prototype,"elevationInfo",null),(0,o.Cg)([(0,l.MZ)({type:["show","hide"]})],k.prototype,"listMode",void 0),(0,o.Cg)([(0,l.MZ)(v.OZ)],k.prototype,"url",void 0),(0,o.Cg)([(0,l.MZ)({readOnly:!0})],k.prototype,"type",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{origins:{"web-scene":{read:!0,write:!0},"portal-item":{read:!0,write:!0}},read:!1}})],k.prototype,"path",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{name:"layerDefinition.minScale",write:!0,origins:{service:{read:!1,write:!1}}}})],k.prototype,"minScale",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{name:"layerDefinition.maxScale",write:!0,origins:{service:{read:!1,write:!1}}}})],k.prototype,"maxScale",void 0),k=(0,o.Cg)([(0,f.$)("esri.layers.IntegratedMesh3DTilesLayer")],k);const q=k},76553:(t,e,n)=>{function o(t){return t&&"getAtOrigin"in t&&"originOf"in t}n.d(e,{H:()=>o})},88546:(t,e,n)=>{n.d(e,{u:()=>d});var o=n(34727),r=n(38954),i=n(51850),s=n(73941),a=n(5443),u=n(16930),c=n(9762);function l(t,e){if(!Array.isArray(t)||t.length<e)return!1;for(const e of t)if("number"!=typeof e)return!1;return!0}const h=7645211,f={xmin:-180,ymin:-90,zmin:-450,xmax:180,ymax:90,zmax:8850};function d(t){let e=new u.A({wkid:4326,vcsWkid:115700}),n=t.root?.boundingVolume,d=!1,m=t?.root?.transform;if((t.extensions?.ESRI_crs?.wkid||t.extensions?.ESRI_crs?.latestWkid||t.extensions?.ESRI_crs?.wkt)&&(t.root?.extensions?.ESRI_crs?.boundingVolume?.box||t.root?.extensions?.ESRI_crs?.boundingVolume?.sphere))e=new u.A(t.extensions?.ESRI_crs),n=t.root?.extensions?.ESRI_crs?.boundingVolume,m=t.root?.transform,d=!0;else if(!n)return new a.A(-180,-90,180,90,e);if(n.box){const t=n?.box;if(t[3]>h&&t[7]>h&&t[11]>h)return new a.A({...f,sr:e})}const p=(0,i.vt)();if(!d&&n.region&&l(n.region,6)){const t=n.region,r=(0,o.KJ)(t[0]),i=(0,o.KJ)(t[1]),s=t[4],u=(0,o.KJ)(t[2]),c=(0,o.KJ)(t[3]),l=t[5];return new a.A({xmin:r,ymin:i,zmin:s,xmax:u,ymax:c,zmax:l,spatialReference:e})}if(n.sphere&&l(n.sphere,4)){const t=n.sphere,o=(0,i.fA)(t[0],t[1],t[2]),h=t[3]/Math.sqrt(3),f=(0,i.vt)();(0,r.d)(f,o,(0,i.fA)(h,h,h));const M=(0,i.vt)();if((0,r.f)(M,o,(0,i.fA)(h,h,h)),m&&l(m,16)){const t=m;(0,r.t)(p,f,t),(0,r.c)(f,p),(0,r.t)(p,M,t),(0,r.c)(M,p)}d||((0,c.projectBuffer)(f,s.Ro,0,f,u.A.WGS84,0),(0,c.projectBuffer)(M,s.Ro,0,M,u.A.WGS84,0));const y=(0,i.vt)(),g=(0,i.vt)();return(0,r.A)(y,f,M),(0,r.z)(g,f,M),new a.A({xmin:y[0],ymin:y[1],zmin:y[2],xmax:g[0],ymax:g[1],zmax:g[2],spatialReference:e})}if(n.box&&l(n.box,12)){const t=n.box,o=(0,i.fA)(t[0],t[1],t[2]),h=(0,i.fA)(t[3],t[4],t[5]),f=(0,i.fA)(t[6],t[7],t[8]),p=(0,i.fA)(t[9],t[10],t[11]),M=[];for(let t=0;t<8;++t)M.push((0,i.vt)());if((0,r.f)(M[0],o,h),(0,r.f)(M[0],M[0],f),(0,r.f)(M[0],M[0],p),(0,r.a)(M[1],o,h),(0,r.f)(M[1],M[1],f),(0,r.f)(M[1],M[1],p),(0,r.f)(M[2],o,h),(0,r.a)(M[2],M[2],f),(0,r.f)(M[2],M[2],p),(0,r.a)(M[3],o,h),(0,r.a)(M[3],M[3],f),(0,r.f)(M[3],M[3],p),(0,r.f)(M[4],o,h),(0,r.f)(M[4],M[4],f),(0,r.a)(M[4],M[4],p),(0,r.a)(M[5],o,h),(0,r.f)(M[5],M[5],f),(0,r.a)(M[5],M[5],p),(0,r.f)(M[6],o,h),(0,r.a)(M[6],M[6],f),(0,r.a)(M[6],M[6],p),(0,r.a)(M[7],o,h),(0,r.a)(M[7],M[7],f),(0,r.a)(M[7],M[7],p),m&&l(m,16)){const t=m;for(let e=0;e<8;++e)(0,r.t)(M[e],M[e],t)}const y=(0,i.fA)(-Number.MAX_VALUE,-Number.MAX_VALUE,-Number.MAX_VALUE),g=(0,i.fA)(Number.MAX_VALUE,Number.MAX_VALUE,Number.MAX_VALUE);for(let t=0;t<8;++t)d||(0,c.projectBuffer)(M[t],s.Ro,0,M[t],u.A.WGS84,0),(0,r.A)(g,g,M[t]),(0,r.z)(y,y,M[t]);return new a.A({xmin:g[0],ymin:g[1],zmin:g[2],xmax:y[0],ymax:y[1],zmax:y[2],spatialReference:e})}return new a.A(-180,-90,180,90,e)}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9476],{1873:(e,t,r)=>{r.d(t,{$y:()=>P,Ak:()=>$,FM:()=>v,G_:()=>y,Rw:()=>G,Vb:()=>g,b3:()=>N,gJ:()=>f,jM:()=>z,lv:()=>V,oZ:()=>F,qg:()=>b,sU:()=>B,z9:()=>p,zS:()=>O});var n=r(9760),i=r(84892);const a="<Null>",s="equal-interval",o=1,l=5,c=10,u=/\s*(\+|-)?((\d+(\.\d+)?)|(\.\d+))\s*/gi,d=new Set(["esriFieldTypeDate","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeLong","esriFieldTypeOID","esriFieldTypeBigInteger"]),h=new Set(["esriFieldTypeTimeOnly","esriFieldTypeDateOnly"]),m=["min","max","avg","stddev","count","sum","variance","nullcount","median"];function f(e){return null==e||"string"==typeof e&&!e?a:e}function g(e){const t=null!=e.normalizationField||null!=e.normalizationType,r=null!=e.minValue||null!=e.maxValue,n=!!e.sqlExpression&&e.supportsSQLExpression;return!t&&!r&&!n}function p(e){const{outStatisticTypes:t}=e,r=e.returnDistinct?[...new Set(e.values)]:e.values,n=r.filter(e=>null!=e).sort(),i=n.length,a={count:i,min:n[0],max:n[i-1]};return e.supportsNullCount&&(a.nullcount=r.length-i),!e.percentileParams||t?.include?.length&&!t.include.includes("median")||t?.exclude?.length&&t.exclude.includes("median")||(a.median=b(r,e.percentileParams)),a}function y(e){const{values:t,useSampleStdDev:r,supportsNullCount:n,outStatisticTypes:i}=e;let a=Number.POSITIVE_INFINITY,s=Number.NEGATIVE_INFINITY,o=null,l=null,c=null,u=null,d=0;const h=null==e.minValue?-1/0:e.minValue,m=null==e.maxValue?1/0:e.maxValue;for(const e of t)Number.isFinite(e)?e>=h&&e<=m&&(o=null===o?e:o+e,a=Math.min(a,e),s=Math.max(s,e),d++):"string"==typeof e&&d++;if(d&&null!=o){l=o/d;let e=0;for(const r of t)Number.isFinite(r)&&r>=h&&r<=m&&(e+=(r-l)**2);u=r?d>1?e/(d-1):0:d>0?e/d:0,c=Math.sqrt(u)}else a=null,s=null;const f={avg:l,count:d,max:s,min:a,stddev:c,sum:o,variance:u};return n&&(f.nullcount=t.length-d),!e.percentileParams||i?.include?.length&&!i.include.includes("median")||i?.exclude?.length&&i.exclude.includes("median")||(f.median=b(t,e.percentileParams)),f}function b(e,t){const{fieldType:r,value:n,orderBy:i,isDiscrete:a}=t,s=v(r,"desc"===i);if(0===(e=[...e].filter(e=>null!=e).sort((e,t)=>s(e,t))).length)return null;if(n<=0)return e[0];if(n>=1)return e[e.length-1];const o=(e.length-1)*n,l=Math.floor(o),c=l+1,u=o%1,d=e[l],h=e[c];return c>=e.length||a||"string"==typeof d||"string"==typeof h?d:d*(1-u)+h*u}function v(e,t){if(e){if(d.has(e))return k(t);if(h.has(e))return L(t,!1);if("esriFieldTypeTimestampOffset"===e)return function(e){return e?A:M}(t);const r=L(t,!0);if("esriFieldTypeString"===e)return r;if("esriFieldTypeGUID"===e||"esriFieldTypeGlobalID"===e)return(e,t)=>r(E(e),E(t))}const r=t?1:-1,n=k(t),i=L(t,!0),a=_(t);return(e,t)=>"number"==typeof e&&"number"==typeof t?n(e,t):"string"==typeof e&&"string"==typeof t?i(e,t):a(e,t)??r}const T=(e,t)=>null==e?null==t?0:1:null==t?-1:null,S=(e,t)=>null==e?null==t?0:-1:null==t?1:null;function _(e){return e?T:S}const M=(e,t)=>S(e,t)??(e===t?0:new Date(e).getTime()-new Date(t).getTime()),A=(e,t)=>T(e,t)??(e===t?0:new Date(t).getTime()-new Date(e).getTime()),w=(e,t)=>S(e,t)??(e===t?0:e<t?-1:1),I=(e,t)=>T(e,t)??(e===t?0:e<t?1:-1);function L(e,t){if(!t)return e?I:w;const r=_(e);return e?(e,t)=>{const n=r(e,t);return null!=n?n:(e=e.toUpperCase())>(t=t.toUpperCase())?-1:e<t?1:0}:(e,t)=>{const n=r(e,t);return null!=n?n:(e=e.toUpperCase())<(t=t.toUpperCase())?-1:e>t?1:0}}const C=(e,t)=>T(e,t)??t-e,x=(e,t)=>S(e,t)??e-t;function k(e){return e?C:x}function E(e){return e.slice(24,36)+e.slice(19,23)+e.slice(16,18)+e.slice(14,16)+e.slice(11,13)+e.slice(9,11)+e.slice(6,8)+e.slice(4,6)+e.slice(2,4)+e.slice(0,2)}function F(e,t,r){let n;for(n in e)t?.include?.length&&!t.include.includes(n)||t?.exclude?.length&&t.exclude.includes(n)?delete e[n]:m.includes(n)&&(Number.isFinite(e[n])||(e[n]=null));return r?(["avg","stddev","variance"].forEach(t=>{null!=e[t]&&(e[t]=Math.ceil(e[t]??0))}),e):e}function N(e){const t={};for(let r of e)(null==r||"string"==typeof r&&""===r.trim())&&(r=null),null==t[r]?t[r]={count:1,data:r}:t[r].count++;return{count:t}}function D(e){return"coded-value"!==e?.type?[]:e.codedValues.map(e=>e.code)}function V(e,t,r,n){const i=e.count,a=[];if(r&&t){const e=[],r=D(t[0]);for(const i of r)if(t[1]){const r=D(t[1]);for(const a of r)if(t[2]){const r=D(t[2]);for(const t of r)e.push(`${f(i)}${n}${f(a)}${n}${f(t)}`)}else e.push(`${f(i)}${n}${f(a)}`)}else e.push(i);for(const t of e)i.hasOwnProperty(t)||(i[t]={data:t,count:0})}for(const e in i){const t=i[e];a.push({value:t.data,count:t.count,label:t.label})}return{uniqueValueInfos:a}}function O(e,t,r,n){let i=null;switch(t){case"log":0!==e&&(i=Math.log(e)*Math.LOG10E);break;case"percent-of-total":Number.isFinite(n)&&0!==n&&(i=e/n*100);break;case"field":Number.isFinite(r)&&0!==r&&(i=e/r);break;case"natural-log":e>0&&(i=Math.log(e));break;case"square-root":e>0&&(i=e**.5)}return i}function G(e,t,r){const n=U({field:t.field,normalizationType:t.normalizationType,normalizationField:t.normalizationField,classificationMethod:t.classificationMethod,standardDeviationInterval:t.standardDeviationInterval,definedInterval:t.definedInterval,breakCount:t.numClasses||l});return e=function(e,t,r){const n=t??-1/0,i=r??1/0;return e.filter(e=>Number.isFinite(e)&&e>=n&&e<=i)}(e,t.minValue,t.maxValue),(0,i.t)({definition:n,values:e,normalizationTotal:t.normalizationTotal},r)}function U(e){const{breakCount:t,field:r,normalizationField:i,normalizationType:a}=e,l=e.classificationMethod||s,c="standard-deviation"===l?e.standardDeviationInterval||o:void 0,u="defined-interval"===l?e.definedInterval:void 0;return new n.A({breakCount:t,classificationField:r,classificationMethod:l,normalizationField:"field"===a?i:void 0,normalizationType:a,standardDeviationInterval:c,definedInterval:u})}function z(e,t){let r=e.classBreaks;const n=r.length,i=r[0]?.minValue,a=r[n-1]?.maxValue,s="standard-deviation"===t,o=u;return r=r.map(e=>{const t=e.label,r={minValue:e.minValue,maxValue:e.maxValue,label:t};if(s&&t){const e=t.match(o),n=e?.map(e=>+e.trim())??[];2===n.length?(r.minStdDev=n[0],r.maxStdDev=n[1],n[0]<0&&n[1]>0&&(r.hasAvg=!0)):1===n.length&&(t.includes("<")?(r.minStdDev=null,r.maxStdDev=n[0]):t.includes(">")&&(r.minStdDev=n[0],r.maxStdDev=null))}return r}),{minValue:i,maxValue:a,classBreakInfos:r,normalizationTotal:e.normalizationTotal}}function P(e,t){const r=B(e,t);if(null==r.min&&null==r.max)return{bins:[],minValue:r.min,maxValue:r.max,normalizationTotal:t.normalizationTotal};const n=r.intervals,i=r.min??0,a=r.max??0,s=n.map((e,t)=>({minValue:n[t][0],maxValue:n[t][1],count:0}));for(const t of e)if(null!=t&&t>=i&&t<=a){const e=$(n,t);e>-1&&s[e].count++}return{bins:s,minValue:i,maxValue:a,normalizationTotal:t.normalizationTotal}}function B(e,t,r=!1){const{field:n,classificationMethod:i,standardDeviationInterval:a,definedInterval:s,normalizationType:o,normalizationField:l,normalizationTotal:u,minValue:d,maxValue:h}=t,m=t.numBins||c;let f=null,p=null,b=null;if(i&&"equal-interval"!==i||o){const{classBreaks:t}=G(e,{field:n,normalizationType:o,normalizationField:l,normalizationTotal:u,classificationMethod:i,standardDeviationInterval:a,definedInterval:s,minValue:d,maxValue:h,numClasses:m},null!=d&&null!=h?[d,h]:void 0);f=t[0]?.minValue,p=t[t.length-1]?.maxValue,b=t.map(e=>[e.minValue,e.maxValue])}else{if(null!=d&&null!=h)f=d,p=h;else{const t=y({values:e,minValue:d,maxValue:h,useSampleStdDev:!o,supportsNullCount:g({normalizationType:o,normalizationField:l,minValue:d,maxValue:h})});f=t.min??null,p=t.max??null}b=function(e,t,r){const n=(t-e)/r,i=[];let a,s=e;for(let e=1;e<=r;e++)a=s+n,a=Number(a.toFixed(16)),i.push([s,e===r?t:a]),s=a;return i}(f??0,p??0,m)}if(r&&b.length){const e=b.at(-1)[1];b.push([e,e])}return{min:f,max:p,intervals:b}}function $(e,t){let r=-1;for(let n=e.length-1;n>=0;n--)if(t>=e[n][0]){r=n;break}return r}},3483:(e,t,r)=>{function n(e,t){for(const r of e.values())if(t(r))return!0;return!1}function i(e,t){if(!t)return e;for(const r of t)null!=r&&e.add(r);return e}function a(e,t){return null!=t&&e.add(t),e}function s(e,t){const r=new Set;return i(r,e),i(r,t),r}function o(e,t){const r=new Set;for(const n of t)e.has(n)&&r.add(n);return r}function l(e,t){if(!e||!t)return!1;if(e===t)return!0;for(const r of e)if(!t.has(r))return!1;return!0}function c(e,t){if(null==e&&null==t)return!0;if(null==e||null==t||e.size!==t.size)return!1;for(const r of e)if(!t.has(r))return!1;return!0}function u(e,t){const r=new Set(e);for(const e of t)r.delete(e);return r}r.d(t,{E$:()=>o,FB:()=>i,KC:()=>s,Yy:()=>l,aI:()=>c,bw:()=>n,iv:()=>u,kb:()=>a})},4560:(e,t,r)=>{r.d(t,{i0:()=>l,fs:()=>o});var n=r(97770),i=r(30524);r(7762),r(84952),r(27865),r(43281);var a=r(98623),s=r(56400);function o(e){return(0,i.vE)(e)||(0,i.zD)(e)||(0,i.Ah)(e)}function l(e,t){const{format:r,timeZoneOptions:i,fieldType:o}=t??{};let l,c;if(i&&({timeZone:l,timeZoneName:c}=(0,s.hv)(i.layerTimeZone,i.datesInUnknownTimezone,i.viewTimeZone,(0,n.J2)(r||"short-date-short-time"),o)),"string"==typeof e&&isNaN(Date.parse("time-only"===o?`1970-01-01T${e}Z`:e)))return e;switch(o){case"date-only":{const t=(0,n.J2)(r||"short-date");return"string"==typeof e?(0,n.iS)(e,{...t}):(0,n.Yq)(e,{...t,timeZone:a.n$})}case"time-only":{const t=(0,n.J2)(r||"short-time");return"string"==typeof e?(0,n.F8)(e,t):(0,n.Yq)(e,{...t,timeZone:a.n$})}case"timestamp-offset":{if(!l&&"string"==typeof e&&new Date(e).toISOString()!==e)return e;const t=r||i?(0,n.J2)(r||"short-date-short-time"):void 0,a=t?{...t,timeZone:l,timeZoneName:c}:void 0;return"string"==typeof e?(0,n.Ey)(e,a):(0,n.Yq)(e,a)}default:{const t=r||i?(0,n.J2)(r||"short-date-short-time"):void 0;return(0,n.Yq)("string"==typeof e?new Date(e):e,t?{...t,timeZone:l,timeZoneName:c}:void 0)}}}new Set(["integer","small-integer"])},7695:(e,t,r)=>{function n(e){return(t,r)=>{t[r]=e}}r.d(t,{u:()=>n})},7762:(e,t,r)=>{r.d(t,{A:()=>F});var n,i=r(31635),a=r(98291),s=r(65529),o=r(36563),l=r(4718),c=r(93687),u=r(96211),d=r(56507),h=r(62788),m=r(10107),f=r(7695),g=r(40608),p=r(95488),y=r(12195);class b{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(e){this.defaultPrevented=!1,this.item=e}}class v{constructor(e,t,r,n,i){this.target=e,this.added=t,this.removed=r,this.start=n,this.deleteCount=i}}const T=new c.A(()=>new b,void 0,e=>{e.item=null,e.target=null,e.defaultPrevented=!1,e.cancellable=!1});function S(e){e&&"object"==typeof e&&"destroy"in e&&"function"==typeof e.destroy&&e.destroy()}function _(e){return e?e instanceof E?e.toArray():e.length?Array.prototype.slice.apply(e):[]:[]}function M(e){if(e?.length)return e[0]}function A(e,t,r,n){const i=Math.min(e.length-r,t.length-n);let a=0;for(;a<i&&e[r+a]===t[n+a];)a++;return a}function w(e,t,r,n){t&&t.forEach((t,i,a)=>{e.push(t),w(e,r.call(n,t,i,a),r,n)})}const I=new Set,L=new Set,C=new Set,x=new Map;let k=0,E=n=class extends s.nJ{static ofType(e){if(!e)return n;if(x.has(e))return x.get(e);let t=null;if("function"==typeof e)t=e.prototype.declaredClass;else if(e.base)t=e.base.prototype.declaredClass;else for(const r in e.typeMap){const n=e.typeMap[r].prototype.declaredClass;t?t+=` | ${n}`:t=n}let r=class extends n{};return(0,i.Cg)([(0,f.u)({Type:e,ensureType:"function"==typeof e?(0,d.dp)(e):(0,d.aq)(e)})],r.prototype,"itemType",void 0),r=(0,i.Cg)([(0,g.$)(`esri.core.Collection<${t}>`)],r),x.set(e,r),r}static isCollection(e){return null!=e&&e instanceof n}constructor(e){super(e),this._chgListeners=[],this._notifications=null,this._updating=!1,this._timer=null,this._observable=new p.I,this.length=0,this._items=[],Object.defineProperty(this,"uid",{value:k++})}normalizeCtorArgs(e){return e?Array.isArray(e)||e instanceof n?{items:e}:e:{}}destroy(){this._removeAllRaw(),this._timer&&this._timer.remove(),super.destroy(),this._notifications=null}*[Symbol.iterator](){yield*this.items}get items(){return(0,h.gc)(this._observable),this._items}set items(e){this._emitBeforeChanges(1)||(this._splice(0,this.length,_(e)),this._emitAfterChanges(1))}hasEventListener(e){return!this.destroyed&&("change"===e?this._chgListeners.length>0:super.hasEventListener(e))}on(e,t){if(this.destroyed)return(0,o.hA)();if("change"===e){const e=this._chgListeners,r={removed:!1,callback:t};return e.push(r),this._notifications&&this._notifications.push({listeners:e.slice(),items:this._items.slice(),changes:[]}),(0,o.hA)(()=>{r.removed=!0,e.splice(e.indexOf(r),1)})}return super.on(e,t)}once(e,t){const r="deref"in t?()=>t.deref():()=>t,n=this.on(e,e=>{r()?.call(null,e),n.remove()});return n}add(e,t){if((0,h.gc)(this._observable),this._emitBeforeChanges(1))return this;const r=this.getNextIndex(t??null);return this._splice(r,0,[e]),this._emitAfterChanges(1),this}addMany(e,t=this._items.length){if((0,h.gc)(this._observable),!e?.length)return this;if(this._emitBeforeChanges(1))return this;const r=this.getNextIndex(t);return this._splice(r,0,_(e)),this._emitAfterChanges(1),this}at(e){if((0,h.gc)(this._observable),(e=Math.trunc(e)||0)<0&&(e+=this.length),!(e<0||e>=this.length))return this._items[e]}removeAll(){if((0,h.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return[];const e=this._removeAllRaw();return this._emitAfterChanges(2),e}_removeAllRaw(){return 0===this.length?[]:this._splice(0,this.length)||[]}clone(){return(0,h.gc)(this._observable),this._createNewInstance({items:this._items.map(l.o8)})}concat(...e){(0,h.gc)(this._observable);const t=e.map(_);return this._createNewInstance({items:this._items.concat(...t)})}drain(e,t){if((0,h.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const r=this._splice(0,this.length),n=r.length;for(let i=0;i<n;i++)e.call(t,r[i],i,r);this._emitAfterChanges(2)}destroyAll(){this.drain(S)}destroyMany(e){const t=this.removeMany(e);return t.forEach(S),t}every(e,t){return(0,h.gc)(this._observable),this._items.every(e,t)}filter(e,t){(0,h.gc)(this._observable);const r=2===arguments.length?this._items.filter(e,t):this._items.filter(e);return this._createNewInstance({items:r})}find(e,t){return(0,h.gc)(this._observable),this._items.find(e,t)}findIndex(e,t){return(0,h.gc)(this._observable),this._items.findIndex(e,t)}flatten(e,t){(0,h.gc)(this._observable);const r=[];return w(r,this,e,t),new n(r)}forEach(e,t){return(0,h.gc)(this._observable),this._items.forEach(e,t)}getItemAt(e){return(0,h.gc)(this._observable),this._items[e]}getNextIndex(e){(0,h.gc)(this._observable);const t=this.length;return(e=e??t)<0?e=0:e>t&&(e=t),e}includes(e,t=0){return(0,h.gc)(this._observable),this._items.includes(e,t)}indexOf(e,t=0){return(0,h.gc)(this._observable),this._items.indexOf(e,t)}join(e=","){return(0,h.gc)(this._observable),this._items.join(e)}lastIndexOf(e,t=this.length-1){return(0,h.gc)(this._observable),this._items.lastIndexOf(e,t)}map(e,t){(0,h.gc)(this._observable);const r=this._items.map(e,t);return new n({items:r})}reorder(e,t=this.length-1){(0,h.gc)(this._observable);const r=this.indexOf(e);if(-1!==r){if(t<0?t=0:t>=this.length&&(t=this.length-1),r!==t){if(this._emitBeforeChanges(4))return e;this._splice(r,1),this._splice(t,0,[e]),this._emitAfterChanges(4)}return e}}pop(){if((0,h.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const e=M(this._splice(this.length-1,1));return this._emitAfterChanges(2),e}push(...e){return(0,h.gc)(this._observable),this._emitBeforeChanges(1)||(this._splice(this.length,0,e),this._emitAfterChanges(1)),this.length}reduce(e,t){(0,h.gc)(this._observable);const r=this._items;return 2===arguments.length?r.reduce(e,t):r.reduce(e)}reduceRight(e,t){(0,h.gc)(this._observable);const r=this._items;return 2===arguments.length?r.reduceRight(e,t):r.reduceRight(e)}remove(e){return(0,h.gc)(this._observable),this.removeAt(this.indexOf(e))}removeAt(e){if((0,h.gc)(this._observable),e<0||e>=this.length||this._emitBeforeChanges(2))return;const t=M(this._splice(e,1));return this._emitAfterChanges(2),t}removeMany(e){if((0,h.gc)(this._observable),!e?.length||this._emitBeforeChanges(2))return[];const t=e instanceof n?e.toArray():e,r=this._items,i=[],a=t.length;for(let e=0;e<a;e++){const n=t[e],a=r.indexOf(n);if(a>-1){const n=1+A(t,r,e+1,a+1),s=this._splice(a,n);s&&s.length>0&&i.push.apply(i,s),e+=n-1}}return this._emitAfterChanges(2),i}reverse(){if((0,h.gc)(this._observable),this._emitBeforeChanges(4))return this;const e=this._splice(0,this.length);return e&&(e.reverse(),this._splice(0,0,e)),this._emitAfterChanges(4),this}shift(){if((0,h.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const e=M(this._splice(0,1));return this._emitAfterChanges(2),e}slice(e=0,t=this.length){return(0,h.gc)(this._observable),this._createNewInstance({items:this._items.slice(e,t)})}some(e,t){return(0,h.gc)(this._observable),this._items.some(e,t)}sort(e){if((0,h.gc)(this._observable),!this.length||this._emitBeforeChanges(4)||!this._requiresSort(e))return this;const t=this._splice(0,this.length);return arguments.length?t.sort(e):t.sort(),this._splice(0,0,t),this._emitAfterChanges(4),this}_requiresSort(e=(e,t)=>e===t?0:e<t?-1:1){const t=this.length-1;for(let r=0;r<t;r++)if(e(this.items[r],this.items[r+1])>0)return!0;return!1}splice(e,t,...r){(0,h.gc)(this._observable),1===arguments.length&&(t=this.length),t??=0;const n=(t?2:0)|(r.length?1:0);if(this._emitBeforeChanges(n))return[];const i=this._splice(e,t,r)||[];return this._emitAfterChanges(n),i}toArray(){return(0,h.gc)(this._observable),this._items.slice()}toJSON(e){return(0,h.gc)(this._observable),this.toArray().map(t=>(0,y.W)(t)?t.toJSON(e):t)}toLocaleString(){return(0,h.gc)(this._observable),this._items.toLocaleString()}toString(){return(0,h.gc)(this._observable),this._items.toString()}unshift(...e){return(0,h.gc)(this._observable),!e.length||this._emitBeforeChanges(1)||(this._splice(0,0,e),this._emitAfterChanges(1)),this.length}_createNewInstance(e){return new this.constructor(e)}_splice(e,t,r){const n=this._items,i=this.itemType;let a,s;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._updating=!0,this._timer=(0,u._)(()=>this._dispatchChange())),e<0&&(e+=this.length),t){if(s=n.splice(e,t),this.hasEventListener("before-remove")){const t=T.acquire();t.target=this,t.cancellable=!0;for(let r=0,i=s.length;r<i;r++)a=s[r],t.reset(a),this.emit("before-remove",t),t.defaultPrevented&&(s.splice(r,1),n.splice(e,0,a),e+=1,r-=1,i-=1);T.release(t)}if(this.length=this._items.length,this.hasEventListener("after-remove")){const e=T.acquire();e.target=this,e.cancellable=!1;const t=s.length;for(let r=0;r<t;r++)e.reset(s[r]),this.emit("after-remove",e);T.release(e)}}if(r?.length){if(i){const e=[];for(const t of r){const r=i.ensureType(t);null==r&&null!=t||e.push(r)}r=e}const t=this.hasEventListener("before-add"),a=this.hasEventListener("after-add"),s=e===this.length;if(t||a){const i=T.acquire();i.target=this,i.cancellable=!0;const o=T.acquire();o.target=this,o.cancellable=!1;for(const l of r)t?(i.reset(l),this.emit("before-add",i),i.defaultPrevented||(s?n.push(l):n.splice(e++,0,l),this._set("length",n.length),a&&(o.reset(l),this.emit("after-add",o)))):(s?n.push(l):n.splice(e++,0,l),this._set("length",n.length),o.reset(l),this.emit("after-add",o));T.release(o),T.release(i)}else{if(s)for(const e of r)n.push(e);else n.splice(e,0,...r);this._set("length",n.length)}}if((r?.length||s?.length)&&this._notifyChangeEvent(r,s),this.hasEventListener("after-splice")){const n=new v(this,r,s,e,t);this.emit("after-splice",n)}return s}_emitBeforeChanges(e){let t=!1;if(this.hasEventListener("before-changes")){const r=T.acquire();r.target=this,r.cancellable=!0,r.type=e,this.emit("before-changes",r),t=r.defaultPrevented,T.release(r)}return t}_emitAfterChanges(e){if(this.hasEventListener("after-changes")){const t=T.acquire();t.target=this,t.cancellable=!1,t.type=e,this.emit("after-changes",t),T.release(t)}this._observable.notify()}_notifyChangeEvent(e,t){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:e,removed:t})}get updating(){return this._updating}_dispatchChange(){if(this._timer&&(this._timer.remove(),this._timer=null),this._updating=!1,!this._notifications)return;const e=this._notifications;this._notifications=null;for(const t of e){const e=t.changes;I.clear(),L.clear(),C.clear();for(const{added:t,removed:r}of e){if(t)if(0===C.size&&0===L.size)for(const e of t)I.add(e);else for(const e of t)L.has(e)?(C.add(e),L.delete(e)):C.has(e)||I.add(e);if(r)if(0===C.size&&0===I.size)for(const e of r)L.add(e);else for(const e of r)I.has(e)?I.delete(e):(C.delete(e),L.add(e))}const r=a.A.acquire();I.forEach(e=>{r.push(e)});const n=a.A.acquire();L.forEach(e=>{n.push(e)});const i=this._items,s=t.items,o=a.A.acquire();if(C.forEach(e=>{s.indexOf(e)!==i.indexOf(e)&&o.push(e)}),t.listeners&&(r.length||n.length||o.length)){const e={target:this,added:r,removed:n,moved:o},i=t.listeners.length;for(let r=0;r<i;r++){const n=t.listeners[r];n.removed||n.callback.call(this,e)}}a.A.release(r),a.A.release(n),a.A.release(o)}I.clear(),L.clear(),C.clear()}};(0,i.Cg)([(0,m.MZ)()],E.prototype,"_updating",void 0),(0,i.Cg)([(0,m.MZ)()],E.prototype,"length",void 0),(0,i.Cg)([(0,m.MZ)()],E.prototype,"items",null),(0,i.Cg)([(0,m.MZ)({readOnly:!0})],E.prototype,"updating",null),E=n=(0,i.Cg)([(0,g.$)("esri.core.Collection")],E);const F=E},9760:(e,t,r)=>{r.d(t,{A:()=>d});var n=r(31635),i=r(66552),a=r(25482),s=r(10107),o=(r(44208),r(53966),r(87811),r(93223)),l=r(40608);const c=new i.J({esriClassifyEqualInterval:"equal-interval",esriClassifyManual:"manual",esriClassifyNaturalBreaks:"natural-breaks",esriClassifyQuantile:"quantile",esriClassifyStandardDeviation:"standard-deviation",esriClassifyDefinedInterval:"defined-interval"}),u=new i.J({esriNormalizeByLog:"log",esriNormalizeByPercentOfTotal:"percent-of-total",esriNormalizeByField:"field"});let d=class extends a.o{constructor(e){super(e),this.type="class-breaks-definition",this.breakCount=null,this.classificationField=null,this.classificationMethod=null,this.normalizationField=null,this.normalizationType=null}set standardDeviationInterval(e){"standard-deviation"===this.classificationMethod&&this._set("standardDeviationInterval",e)}set definedInterval(e){"defined-interval"===this.classificationMethod&&this._set("definedInterval",e)}};(0,n.Cg)([(0,o.e)({classBreaksDef:"class-breaks-definition"})],d.prototype,"type",void 0),(0,n.Cg)([(0,s.MZ)({json:{write:!0}})],d.prototype,"breakCount",void 0),(0,n.Cg)([(0,s.MZ)({json:{write:!0}})],d.prototype,"classificationField",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{read:c.read,write:c.write}})],d.prototype,"classificationMethod",void 0),(0,n.Cg)([(0,s.MZ)({json:{write:!0}})],d.prototype,"normalizationField",void 0),(0,n.Cg)([(0,s.MZ)({json:{read:u.read,write:u.write}})],d.prototype,"normalizationType",void 0),(0,n.Cg)([(0,s.MZ)({value:null,json:{write:!0}})],d.prototype,"standardDeviationInterval",null),(0,n.Cg)([(0,s.MZ)({value:null,json:{write:!0}})],d.prototype,"definedInterval",null),d=(0,n.Cg)([(0,l.$)("esri.rest.support.ClassBreaksDefinition")],d)},10838:(e,t,r)=>{r.d(t,{ao:()=>h,ud:()=>m,xO:()=>f});var n=r(49186),i=r(36563),a=r(74887),s=r(73444);const o={ar:!0,bg:!0,bs:!0,ca:!0,cs:!0,da:!0,de:!0,el:!0,en:!0,es:!0,et:!0,fi:!0,fr:!0,he:!0,hr:!0,hu:!0,id:!0,it:!0,ja:!0,ko:!0,lt:!0,lv:!0,nb:"no",nl:!0,no:!0,nn:"no",pl:!0,pt:"pt-BR","pt-BR":!0,"pt-PT":!0,ro:!0,ru:!0,sk:!0,sl:!0,sr:!0,sv:!0,th:!0,tr:!0,uk:!0,vi:!0,zh:"zh-CN","zh-CN":!0,"zh-HK":!0,"zh-TW":!0};function l(e){if(function(e){return e in o}(e)){const t=o[e];return!0===t?e:t}return null}const c=[],u=new Map;function d(e){for(const t of u.keys())g(e.pattern,t)&&u.delete(t)}function h(e){return c.includes(e)||(d(e),c.unshift(e)),(0,i.hA)(()=>{const t=c.indexOf(e);t>-1&&(c.splice(t,1),d(e))})}async function m(e){const t=(0,s.JK)();u.has(e)||u.set(e,async function(e,t){const r=[];for(const n of c)if(g(n.pattern,e))try{return await n.fetchMessageBundle(e,t)}catch(e){r.push(e)}if(r.length)throw new n.A("intl:message-bundle-error",`Errors occurred while loading "${e}"`,{errors:r});throw new n.A("intl:no-message-bundle-loader",`No loader found for message bundle "${e}"`)}(e,t));const r=u.get(e);return r&&await p.add(r),r}function f(e){const t=(0,s.lR)(e);return t?l(e)??l(t):null}function g(e,t){return"string"==typeof e?t.startsWith(e):e.test(t)}(0,s.Ml)(()=>{u.clear()});const p=new class{constructor(){this._numLoading=0,this._dfd=null}async waitForAll(){this._dfd&&await this._dfd.promise}add(e){return this._increase(),e.then(()=>this._decrease(),()=>this._decrease()),this.waitForAll()}_increase(){this._numLoading++,this._dfd||(this._dfd=(0,a.Tw)())}_decrease(){this._numLoading=Math.max(this._numLoading-1,0),this._dfd&&0===this._numLoading&&(this._dfd.resolve(),this._dfd=null)}}},27865:(e,t,r)=>{r.d(t,{O9:()=>a,dw:()=>s,mj:()=>i});var n=r(59247);function i(e,t){const r=e.length>t.length?e:t;return(e.length>t.length?t:e).every((e,t)=>e.type===r[t].type)}function a(e,t){const r=e.length>t.length?e:t,i=e.length>t.length?t:e;for(let e=i.length;e<r.length;e++)i.push((0,n.sK)(r[e]))}function s(e){const t=e[0];return!!t&&"type"in t}},30524:(e,t,r)=>{r.d(t,{Ah:()=>K,Bz:()=>D,CJ:()=>re,DB:()=>v,Dx:()=>M,JL:()=>de,Kl:()=>ue,OG:()=>ee,OH:()=>H,R$:()=>N,R3:()=>q,WA:()=>R,WX:()=>te,Xz:()=>Q,_b:()=>O,_w:()=>T,eX:()=>L,hL:()=>_,hz:()=>A,lD:()=>V,mB:()=>w,nw:()=>he,rS:()=>h,rq:()=>S,sv:()=>y,te:()=>X,uo:()=>ce,vE:()=>J,yM:()=>W,yp:()=>g,zD:()=>Y});var n=r(49186),i=r(93637),a=r(3483),s=r(39516),o=(r(68463),r(69309)),l=r(54218),c=r(43668);const u=/^([0-9_])/,d=/[^a-z0-9_\u0080-\uffff]+/gi;function h(e){return null==e?null:e.trim().replaceAll(d,"_").replace(u,"F$1")||null}const m=["field","field2","field3","normalizationField","rotationInfo.field","proportionalSymbolInfo.field","proportionalSymbolInfo.normalizationField","colorInfo.field","colorInfo.normalizationField"],f=["field","normalizationField"];function g(e,t){if(null!=e&&null!=t)for(const r of Array.isArray(e)?e:[e])if(p(m,r,t),"visualVariables"in r&&r.visualVariables)for(const e of r.visualVariables)p(f,e,t)}function p(e,t,r){if(e)for(const n of e){const e=(0,i.wc)(n,t),a=e&&"function"!=typeof e&&r.get(e);a&&(0,i.sM)(n,a.name,t)}}function y(e,t){if(null!=e&&t?.fields?.length)if("startField"in e){const r=t.get(e.startField),n=t.get(e.endField);e.startField=r?.name??null,e.endField=n?.name??null}else{const r=t.get(e.startTimeField),n=t.get(e.endTimeField);e.startTimeField=r?.name??null,e.endTimeField=n?.name??null}}const b=new Set;function v(e,t){return e&&t?(b.clear(),T(b,e,t),Array.from(b).sort()):[]}function T(e,t,r){if(r)if(t?.fields?.length)if(r.includes("*"))for(const{name:r}of t.fields)e.add(r);else for(const n of r)S(e,t,n);else{if(r.includes("*"))return e.clear(),void e.add("*");for(const t of r)null!=t&&e.add(t)}}function S(e,t,r){if("string"==typeof r)if(t){const n=t.get(r);n&&e.add(n.name)}else e.add(r)}function _(e,t){return null==t||null==e?[]:t.includes("*")?(e.fields??[]).map(e=>e.name):t}async function M(e,t,r){if(!r)return;let n;const i=(0,o.o)(r);if(i)n=[i];else{const{arcadeUtils:e}=await(0,c.l)();n=e.extractFieldNames(r,t?.fields?.map(e=>e.name))}for(const r of n)S(e,t,r)}async function A(e,t,r){if(r&&"1=1"!==r){const i=await(0,s.GP)(r,t);if(!i.isStandardized)throw new n.A("fieldUtils:collectFilterFields","Where clause is not standardized",{where:r});T(e,t,i.fieldNames)}}function w({displayField:e,fields:t}){return e||(t?.length?I(t,"name-or-title")||I(t,"unique-identifier")||I(t,"type-or-category")||function(e){for(const t of e){if(!t?.name)continue;const e=t.name.toLowerCase();if(e.includes("name")||e.includes("title"))return t.name}return null}(t):null)}function I(e,t){for(const r of e)if(r?.valueType&&r.valueType===t)return r.name;return null}function L(e){return e?v(e.fieldsIndex,E(e)):[]}const C=new Set(["oid","global-id","guid"]),x=new Set(["oid","global-id"]),k=[/^fnode_$/i,/^tnode_$/i,/^lpoly_$/i,/^rpoly_$/i,/^poly_$/i,/^shape$/i,/^shape_$/i,/^subclass$/i,/^subclass_$/i,/^rings_ok$/i,/^rings_nok$/i,/objectid/i,/^perimeter_/i,/_perimeter$/i,/_i$/i];function E(e){if(!e)return[];const t="editFieldsInfo"in e&&e.editFieldsInfo;if(!t)return[];const{creationDateField:r,creatorField:n,editDateField:i,editorField:a}=t;return[r,n,i,a].filter(Boolean)}function F(e){return E(e).map(e=>e.toLowerCase())}function N(e,t){return e.editable&&!C.has(e.type)&&!F(t).includes(e.name?.toLowerCase()??"")}function D(e,t){const r=e.name?.toLowerCase()??"";return!(null!=t?.objectIdField&&r===t.objectIdField.toLowerCase()||null!=t?.globalIdField&&r===t.globalIdField.toLowerCase()||function(e){const t=new Set;F(e).forEach(e=>t.add(e)),function(e){if(!e)return[];const t=e.geometryFieldsInfo;return t?v(e.fieldsIndex,[t.shapeAreaField,t.shapeLengthField]):[]}(e).forEach(e=>t.add(e.toLowerCase()));const r=e&&"infoFor3D"in e?e.infoFor3D:void 0;return r&&(Object.values(r.assetMapFieldRoles).forEach(e=>t.add(e.toLowerCase())),Object.values(r.transformFieldRoles).forEach(e=>t.add(e.toLowerCase()))),Array.from(t)}(t).includes(r)||x.has(e.type)||k.some(e=>e.test(r)))}function V(e){const t=e.defaultValue;return void 0!==t&&B(e,t)?t:e.nullable?null:void 0}function O(e){const t="string"==typeof e?{type:e}:e;return W(t)?255:"esriFieldTypeDate"===t.type||"date"===t.type?8:void 0}function G(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function U(e){return null===e||G(e)}function z(e){return null===e||Number.isInteger(e)}function P(){return!0}function B(e,t){let r;switch(e.type){case"date":case"integer":case"long":case"small-integer":case"big-integer":case"esriFieldTypeDate":case"esriFieldTypeInteger":case"esriFieldTypeLong":case"esriFieldTypeSmallInteger":case"esriFieldTypeBigInteger":r=e.nullable?z:Number.isInteger;break;case"double":case"single":case"esriFieldTypeSingle":case"esriFieldTypeDouble":r=e.nullable?U:G;break;case"string":case"esriFieldTypeString":r=e.nullable?l.CO:l.Kg;break;default:r=P}return 1===arguments.length?r:r(t)}const $=new Set(["integer","small-integer","big-integer","long","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeLong","esriFieldTypeBigInteger"]),Z=new Set(["single","double","esriFieldTypeSingle","esriFieldTypeDouble"]),j=(0,a.KC)($,Z);function q(e){return null!=e&&$.has(e.type)}function R(e){return null!=e&&j.has(e.type)}function W(e){return null!=e&&("string"===e.type||"esriFieldTypeString"===e.type)}function J(e){return null!=e&&("date"===e.type||"esriFieldTypeDate"===e.type)}function Y(e){return null!=e&&("date-only"===e.type||"esriFieldTypeDateOnly"===e.type)}function K(e){return null!=e&&("timestamp-offset"===e.type||"esriFieldTypeTimestampOffset"===e.type)}function H(e){return null!=e&&("time-only"===e.type||"esriFieldTypeTimeOnly"===e.type)}function X(e){return null!=e&&("oid"===e.type||"esriFieldTypeOID"===e.type)}function Q(e){return null!=e&&("global-id"===e.type||"esriFieldTypeGlobalID"===e.type)}function ee(e,t){return null===re(e,t)}function te(e){return null==e||"number"==typeof e&&isNaN(e)?null:e}function re(e,t){return null==e||e.nullable&&null===t?null:B(e,t)?R(e)&&!function(e,t){const r="string"==typeof e?ne(e):e;if(!r)return!1;const n=r.min,i=r.max;return r.isInteger?Number.isInteger(t)&&t>=n&&t<=i:t>=n&&t<=i}(e.type,Number(t))?"numeric-range-validation-error::out-of-range":null:"type-validation-error::invalid-type"}function ne(e){switch(e){case"esriFieldTypeSmallInteger":case"small-integer":return ie;case"esriFieldTypeInteger":case"esriFieldTypeLong":case"integer":case"long":return ae;case"esriFieldTypeBigInteger":case"big-integer":return se;case"esriFieldTypeSingle":case"single":return oe;case"esriFieldTypeDouble":case"double":return le}}const ie={min:-32768,max:32767,isInteger:!0,rawMin:-32768,rawMax:32767},ae={min:-2147483648,max:2147483647,isInteger:!0,rawMin:-2147483648,rawMax:2147483647},se={min:-Number.MAX_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,isInteger:!0,rawMin:-Number.MAX_SAFE_INTEGER,rawMax:Number.MAX_SAFE_INTEGER},oe={min:-34e37,max:12e37,isInteger:!1,rawMin:-34e37,rawMax:12e37},le={min:-Number.MAX_VALUE,max:Number.MAX_VALUE,isInteger:!1,rawMin:-Number.MAX_VALUE,rawMax:Number.MAX_VALUE};function ce(e,t,r){switch(e){case"domain-validation-error::invalid-coded-value":return`Value ${r} is not in the coded domain - field: ${t.name}, domain: ${JSON.stringify(t.domain)}`;case"domain-validation-error::value-out-of-range":return`Value ${r} is out of the range of valid values - field: ${t.name}, domain: ${JSON.stringify(t.domain)}`;case"type-validation-error::invalid-type":return`Value ${r} is not a valid value for the field type - field: ${t.name}, type: ${t.type}, nullable: ${t.nullable}`;case"numeric-range-validation-error::out-of-range":{const{min:e,max:n}=ne(t.type);return`Value ${r} is out of range for the number type - field: ${t.name}, type: ${t.type}, value range is ${e} to ${n}`}}}function ue(e,t){return!function(e,t){if(!e?.attributes||!t)return!0;const r=new Set(Object.keys(e.attributes));let n=!1;for(const e of t)if(!r.has(e)){n=!0;break}return n}(e,t)}function de(e){return!!e&&["raster.itempixelvalue","raster.servicepixelvalue"].some(t=>e.toLowerCase().startsWith(t))}function he(e){const t=e?.match(/{[^}]+}/g);return t?t.map(e=>e.slice(1,-1).split(":")[0].trim()):[]}},39516:(e,t,r)=>{let n;async function i(){return null==n&&(n=Promise.all([r.e(8368),r.e(4800),r.e(4123)]).then(r.bind(r,44123)).then(e=>new e.WhereClauseCache(500,500))),n}async function a(e,t){const r=await i(),n=r.get(e,t);if(null==n)throw r.getError(e,t);return n}function s(e,t){return e||=null,t||=null,"1=1"===e?t??e:"1=1"===t?e??t:e&&t?`(${e}) AND (${t})`:e??t}function o(e,t){return e||=null,t||=null,"1=1"===e||"1=1"===t||e===t?"1=1"===e?e:t:e&&t?`(${e}) OR (${t})`:e??t}r.d(t,{GP:()=>a,IW:()=>o,mA:()=>s})},40876:(e,t,r)=>{r.d(t,{Eq:()=>m,G1:()=>g,TS:()=>a,Tf:()=>b,V6:()=>i,Vm:()=>f,ay:()=>l,c1:()=>p,c4:()=>s,j5:()=>c,lT:()=>d,oW:()=>u});const n={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function i(e){return!!n[e]||!!n[e.toLowerCase()]}function a(e){return n[e]??n[e.toLowerCase()]}function s(e){return[...a(e)]}function o(e,t,r){r<0&&++r,r>1&&--r;const n=6*r;return n<1?e+(t-e)*n:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}function l(e,t,r,n=1){const i=(e%360+360)%360/360,a=r<=.5?r*(t+1):r+t-r*t,s=2*r-a;return[Math.round(255*o(s,a,i+1/3)),Math.round(255*o(s,a,i)),Math.round(255*o(s,a,i-1/3)),n]}function c(e){const t=e.length>5,r=t?8:4,n=(1<<r)-1,i=t?1:17,a=t?9===e.length:5===e.length;let s=Number("0x"+e.slice(1));if(isNaN(s))return null;const o=[0,0,0,1];let l;return a&&(l=s&n,s>>=r,o[3]=i*l/255),l=s&n,s>>=r,o[2]=i*l,l=s&n,s>>=r,o[1]=i*l,l=s&n,s>>=r,o[0]=i*l,o}function u(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),r=parseInt(e.slice(2,3),16),n=parseInt(e.slice(3,4),16),i=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,r+16*r,n+16*n,(i+16*i)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function d(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),r=t[1];if("rgb"===r&&3===e.length||"rgba"===r&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),h(t)}return h(e.map(e=>parseFloat(e)))}if("hsl"===r&&3===e.length||"hsla"===r&&4===e.length)return l(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function h(e){return e[0]=p(e[0]),e[1]=p(e[1]),e[2]=p(e[2]),e[3]=4===e.length?g(e[3]):1,e}function m(e){let t=i(e)?a(e):null;return t??=d(e),t??=u(e),t}function f(e){const t=m(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function g(e){return y(e,0,1)}function p(e){return Math.round(y(e,0,255))}function y(e,t,r){return e=Number(e),isNaN(e)?r:e<t?t:e>r?r:e}const b=2.2},43281:(e,t,r)=>{r.d(t,{H:()=>s,q:()=>a});var n=r(2741),i=r(10838);async function a(e){if(!e)return;const t=e.includes("-vector")?e.slice(0,e.indexOf("-vector")):e.includes("-3d")?e.slice(0,e.indexOf("-3d")):e,r=await(0,i.ud)("esri/t9n/basemaps");return r[e]||r[t]}const s={satellite:{id:"satellite",classic:!0,get thumbnailUrl(){return(0,n.s)("esri/images/basemap/satellite.jpg")},baseMapLayers:[{id:"satellite-base-layer",url:"//services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Imagery",showLegend:!1,visibility:!0,opacity:1}]},hybrid:{id:"hybrid",classic:!0,get thumbnailUrl(){return(0,n.s)("esri/images/basemap/hybrid.jpg")},baseMapLayers:[{id:"hybrid-base-layer",url:"//services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Imagery",showLegend:!1,visibility:!0,opacity:1},{id:"hybrid-reference-layer",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/30d6b8271e1849cd9c3042060001f425/resources/styles/root.json",layerType:"VectorTileLayer",title:"Hybrid Reference Layer",isReference:!0,showLegend:!1,visibility:!0,opacity:1}]},terrain:{id:"terrain",classic:!0,get thumbnailUrl(){return(0,n.s)("esri/images/basemap/terrain.jpg")},baseMapLayers:[{id:"terrain-base-layer",url:"//services.arcgisonline.com/ArcGIS/rest/services/World_Terrain_Base/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Terrain Base",showLegend:!1,visibility:!0,opacity:1},{id:"terrain-reference-layer",url:"//services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Reference_Overlay/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Reference Overlay",isReference:!0,showLegend:!1,visibility:!0,opacity:1}]},oceans:{id:"oceans",classic:!0,get thumbnailUrl(){return(0,n.s)("esri/images/basemap/oceans.jpg")},baseMapLayers:[{id:"oceans-base-layer",url:"//services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Ocean Base",showLegend:!1,visibility:!0,opacity:1},{id:"oceans-reference-layer",url:"//services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Reference/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Ocean Reference",isReference:!0,showLegend:!1,visibility:!0,opacity:1}]},osm:{id:"osm",classic:!0,get thumbnailUrl(){return(0,n.s)("esri/images/basemap/osm.jpg")},baseMapLayers:[{id:"osm-base-layer",layerType:"OpenStreetMap",title:"Open Street Map",showLegend:!1,visibility:!0,opacity:1}]},"dark-gray-vector":{id:"dark-gray-vector",classic:!0,get thumbnailUrl(){return(0,n.s)("esri/images/basemap/dark-gray-vector.jpg")},baseMapLayers:[{id:"dark-gray-base-layer",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/5e9b3685f4c24d8781073dd928ebda50/resources/styles/root.json",layerType:"VectorTileLayer",title:"Dark Gray Base",visibility:!0,opacity:1},{id:"dark-gray-reference-layer",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/747cb7a5329c478cbe6981076cc879c5/resources/styles/root.json",layerType:"VectorTileLayer",title:"Dark Gray Reference",isReference:!0,visibility:!0,opacity:1}]},get"dark-gray"(){return{...this["dark-gray-vector"],id:"dark-gray"}},"gray-vector":{id:"gray-vector",classic:!0,get thumbnailUrl(){return(0,n.s)("esri/images/basemap/gray-vector.jpg")},baseMapLayers:[{id:"gray-base-layer",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/291da5eab3a0412593b66d384379f89f/resources/styles/root.json",layerType:"VectorTileLayer",title:"Light Gray Base",visibility:!0,opacity:1},{id:"gray-reference-layer",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/1768e8369a214dfab4e2167d5c5f2454/resources/styles/root.json",layerType:"VectorTileLayer",title:"Light Gray Reference",isReference:!0,visibility:!0,opacity:1}]},get gray(){return{...this["gray-vector"],id:"gray"}},"streets-vector":{id:"streets-vector",classic:!0,get thumbnailUrl(){return(0,n.s)("esri/images/basemap/streets-vector.jpg")},baseMapLayers:[{id:"streets-vector-base-layer",styleUrl:"//cdn.arcgis.com/sharing/rest/content/items/de26a3cf4cc9451298ea173c4b324736/resources/styles/root.json",layerType:"VectorTileLayer",title:"World Streets",visibility:!0,opacity:1}]},get streets(){return{...this["streets-vector"],id:"streets"}},"topo-vector":{id:"topo-vector",classic:!0,get thumbnailUrl(){return(0,n.s)("esri/images/basemap/topo-vector.jpg")},baseMapLayers:[{id:"world-hillshade-layer",url:"//services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Hillshade",showLegend:!1,visibility:!0,opacity:1},{id:"topo-vector-base-layer",styleUrl:"//cdn.arcgis.com/sharing/rest/content/items/7dc6cea0b1764a1f9af2e679f642f0f5/resources/styles/root.json",layerType:"VectorTileLayer",title:"World Topo",visibility:!0,opacity:1}]},get topo(){return{...this["topo-vector"],id:"topo"}},"streets-night-vector":{id:"streets-night-vector",classic:!0,get thumbnailUrl(){return(0,n.s)("esri/images/basemap/streets-night.jpg")},baseMapLayers:[{id:"streets-night-vector-base-layer",styleUrl:"//cdn.arcgis.com/sharing/rest/content/items/86f556a2d1fd468181855a35e344567f/resources/styles/root.json",layerType:"VectorTileLayer",title:"World Streets Night",visibility:!0,opacity:1}]},"streets-relief-vector":{id:"streets-relief-vector",classic:!0,get thumbnailUrl(){return(0,n.s)("esri/images/basemap/streets-relief.jpg")},baseMapLayers:[{id:"world-hillshade-layer",url:"//services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Hillshade",showLegend:!1,visibility:!0,opacity:1},{id:"streets-relief-vector-base-layer",styleUrl:"//www.arcgis.com/sharing/rest/content/items/b266e6d17fc345b498345613930fbd76/resources/styles/root.json",title:"World Streets Relief",layerType:"VectorTileLayer",visibility:!0,opacity:1}]},"streets-navigation-vector":{id:"streets-navigation-vector",classic:!0,get thumbnailUrl(){return(0,n.s)("esri/images/basemap/streets-navigation.jpg")},baseMapLayers:[{id:"streets-navigation-vector-base-layer",styleUrl:"//cdn.arcgis.com/sharing/rest/content/items/63c47b7177f946b49902c24129b87252/resources/styles/root.json",layerType:"VectorTileLayer",title:"World Streets Navigation",visibility:!0,opacity:1}]},"topo-3d":{id:"topo-3d",is3d:!0,get thumbnailUrl(){return(0,n.s)("esri/images/basemap/topo-3d.png")},baseMapLayers:[{id:"topo-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/1e7d1784d1ef4b79ba6764d0bd6c3150/resources/styles/root.json",layerType:"VectorTileLayer",title:"Topographic",visibility:!0,opacity:1},{id:"topo-3d-trees",title:"Trees",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_Trees_Thematic_v1/SceneServer",itemId:"f75fef56b2d944fe92ef9f7737b4f953",layerType:"ArcGISSceneServiceLayer"},{id:"topo-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_DarkLabels_v1/SceneServer",itemId:"a84404ad39c64c328d0596e361ec459b",layerType:"ArcGISSceneServiceLayer"},{id:"topo-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/Esri3D_Buildings_v1/SceneServer",itemId:"b8fec5af7dfe4866b1b8ac2d2800f282",layerType:"ArcGISSceneServiceLayer"}]},"navigation-3d":{id:"navigation-3d",is3d:!0,get thumbnailUrl(){return(0,n.s)("esri/images/basemap/navigation-3d.jpg")},baseMapLayers:[{id:"navigation-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/ccc904ff872b4144b94934e55e32784b/resources/styles/root.json",layerType:"VectorTileLayer",title:"Navigation",visibility:!0,opacity:1},{id:"navigation-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_DarkLabels_v1/SceneServer",itemId:"a84404ad39c64c328d0596e361ec459b",layerType:"ArcGISSceneServiceLayer"},{id:"navigation-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/Esri3D_Buildings_v1/SceneServer",itemId:"b8fec5af7dfe4866b1b8ac2d2800f282",layerType:"ArcGISSceneServiceLayer"}]},"streets-3d":{id:"streets-3d",is3d:!0,get thumbnailUrl(){return(0,n.s)("esri/images/basemap/streets-3d.png")},baseMapLayers:[{id:"streets-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/198298c4c64c4cb19de5b46aa00c198d/resources/styles/root.json",layerType:"VectorTileLayer",title:"Streets",visibility:!0,opacity:1},{id:"streets-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_DarkLabels_v1/SceneServer",itemId:"a84404ad39c64c328d0596e361ec459b",layerType:"ArcGISSceneServiceLayer"},{id:"streets-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/Esri3D_Buildings_v1/SceneServer",itemId:"b8fec5af7dfe4866b1b8ac2d2800f282",layerType:"ArcGISSceneServiceLayer"}]},"osm-3d":{id:"osm-3d",is3d:!0,get thumbnailUrl(){return(0,n.s)("esri/images/basemap/osm-3d.png")},baseMapLayers:[{id:"osm-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/8628d259c9d14bdc848771c23c513940/resources/styles/root.json",layerType:"VectorTileLayer",title:"OpenStreetMap",visibility:!0,opacity:1},{id:"osm-3d-trees",title:"Trees",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_Trees_Thematic_v1/SceneServer",itemId:"f75fef56b2d944fe92ef9f7737b4f953",layerType:"ArcGISSceneServiceLayer"},{id:"osm-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_DarkLabels_v1/SceneServer",itemId:"a84404ad39c64c328d0596e361ec459b",layerType:"ArcGISSceneServiceLayer"},{id:"osm-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/Esri3D_Buildings_v1/SceneServer",itemId:"b8fec5af7dfe4866b1b8ac2d2800f282",layerType:"ArcGISSceneServiceLayer"}]},"gray-3d":{id:"gray-3d",is3d:!0,get thumbnailUrl(){return(0,n.s)("esri/images/basemap/gray-3d.png")},baseMapLayers:[{id:"gray-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/01a14b466345455ba4176d2e6390db92/resources/styles/root.json",layerType:"VectorTileLayer",title:"Streets",visibility:!0,opacity:1},{id:"gray-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_DarkLabels_v1/SceneServer",itemId:"a84404ad39c64c328d0596e361ec459b",layerType:"ArcGISSceneServiceLayer"},{id:"gray-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/Esri3D_Buildings_v1/SceneServer",itemId:"b8fec5af7dfe4866b1b8ac2d2800f282",layerType:"ArcGISSceneServiceLayer"}]},"navigation-dark-3d":{id:"navigation-dark-3d",itemId:"5a1365328b4943f09a54cf5fd1205707",is3d:!0,baseMapLayers:[{id:"navigation-dark-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/451a1777ab3f4bf095fae24a117439d9/resources/styles/root.json",layerType:"VectorTileLayer",title:"Navigation Dark"},{id:"navigation-dark-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_LightLabels_v1/SceneServer/layers/0",itemId:"f364b70b012a4da5a4b5921e193eac4a",layerType:"ArcGISSceneServiceLayer"},{id:"navigation-dark-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/Esri3D_Buildings_v1/SceneServer",itemId:"b8fec5af7dfe4866b1b8ac2d2800f282",layerType:"ArcGISSceneServiceLayer"}]},"streets-dark-3d":{id:"streets-dark-3d",itemId:"8a4efa2c20484ec9b4557895e65736ff",is3d:!0,baseMapLayers:[{id:"streets-dark-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/bc599b6d741a4ac084b7eea7bf8c5938/resources/styles/root.json",layerType:"VectorTileLayer",title:"OpenStreetMap Streets Night (for 3D)"},{id:"streets-dark-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_LightLabels_v1/SceneServer",itemId:"f364b70b012a4da5a4b5921e193eac4a",layerType:"ArcGISSceneServiceLayer"},{id:"streets-dark-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/Esri3D_Buildings_v1/SceneServer",itemId:"b8fec5af7dfe4866b1b8ac2d2800f282",layerType:"ArcGISSceneServiceLayer"}]},"dark-gray-3d":{id:"dark-gray-3d",itemId:"a8b7322a5fe94002bb0f5e0eeb0c5c18",is3d:!0,baseMapLayers:[{id:"dark-gray-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/4178f71acb934fb89f169e7d667c20c6/resources/styles/root.json",layerType:"VectorTileLayer",title:"OpenStreetMap Dark Gray Canvas (for 3D)"},{id:"dark-gray-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_LightLabels_v1/SceneServer/layers/0",itemId:"f364b70b012a4da5a4b5921e193eac4a",layerType:"ArcGISSceneServiceLayer"},{id:"dark-gray-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/Esri3D_Buildings_v1/SceneServer",itemId:"b8fec5af7dfe4866b1b8ac2d2800f282",layerType:"ArcGISSceneServiceLayer"}]}}},43668:(e,t,r)=>{let n;function i(){return n||(n=(async()=>{const[e,t,n]=await Promise.all([Promise.all([r.e(708),r.e(8368),r.e(4800),r.e(655),r.e(3367),r.e(6737)]).then(r.bind(r,43766)),r.e(8010).then(r.bind(r,8010)),Promise.all([r.e(4800),r.e(655),r.e(3367),r.e(6343)]).then(r.bind(r,76343))]);return{arcade:e.arcade,arcadeUtils:e,batchExec:t,aiServices:n,Dictionary:e.Dictionary,Feature:e.arcadeFeature,Voxel:e.Voxel}})()),n}r.d(t,{l:()=>i})},51850:(e,t,r)=>{function n(){return[0,0,0]}function i(e){return[e[0],e[1],e[2]]}function a(e,t,r){return[e,t,r]}function s(e,t,r){return[e,t,r]}function o(e,t=[0,0,0]){const r=Math.min(3,e.length);for(let n=0;n<r;++n)t[n]=e[n];return t}function l(){return a(1,1,1)}function c(){return a(1,0,0)}function u(){return a(0,1,0)}function d(){return a(0,0,1)}r.d(t,{CN:()=>s,Cb:()=>p,Cw:()=>f,JP:()=>g,Un:()=>m,ci:()=>o,fA:()=>a,o8:()=>i,uY:()=>h,vt:()=>n});const h=[0,0,0],m=l(),f=c(),g=u(),p=d();Object.freeze(Object.defineProperty({__proto__:null,ONES:m,UNIT_X:f,UNIT_Y:g,UNIT_Z:p,ZEROS:h,clone:i,create:n,freeze:s,fromArray:o,fromValues:a,ones:l,unitX:c,unitY:u,unitZ:d,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},54218:(e,t,r)=>{function n(e){return"number"==typeof e}function i(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}function a(e){return"boolean"==typeof e}function s(e){return"string"==typeof e||e instanceof String}function o(e){return null==e||s(e)}function l(e){return Array.isArray(e)}function c(e){return"esri.Graphic"===e?.declaredClass}function u(e){return e instanceof Date}r.d(t,{$P:()=>u,CO:()=>o,DU:()=>c,Et:()=>n,Fq:()=>i,Kg:()=>s,Lm:()=>a,cy:()=>l})},56400:(e,t,r)=>{r.d(t,{ZS:()=>l,hv:()=>c,wr:()=>u,P6:()=>o});var n=r(98623);const i=new Map([["AUS Central Standard Time","Australia/Darwin"],["AUS Eastern Standard Time","Australia/Sydney"],["Afghanistan Standard Time","Asia/Kabul"],["Alaskan Standard Time","America/Anchorage"],["Aleutian Standard Time","America/Adak"],["Altai Standard Time","Asia/Barnaul"],["Arab Standard Time","Asia/Riyadh"],["Arabian Standard Time","Asia/Dubai"],["Arabic Standard Time","Asia/Baghdad"],["Argentina Standard Time","America/Buenos_Aires"],["Astrakhan Standard Time","Europe/Astrakhan"],["Atlantic Standard Time","America/Halifax"],["Aus Central W. Standard Time","Australia/Eucla"],["Azerbaijan Standard Time","Asia/Baku"],["Azores Standard Time","Atlantic/Azores"],["Bahia Standard Time","America/Bahia"],["Bangladesh Standard Time","Asia/Dhaka"],["Belarus Standard Time","Europe/Minsk"],["Bougainville Standard Time","Pacific/Bougainville"],["Canada Central Standard Time","America/Regina"],["Cape Verde Standard Time","Atlantic/Cape_Verde"],["Caucasus Standard Time","Asia/Yerevan"],["Cen. Australia Standard Time","Australia/Adelaide"],["Central America Standard Time","America/Guatemala"],["Central Asia Standard Time","Asia/Bishkek"],["Central Brazilian Standard Time","America/Cuiaba"],["Central Europe Standard Time","Europe/Budapest"],["Central European Standard Time","Europe/Warsaw"],["Central Pacific Standard Time","Pacific/Guadalcanal"],["Central Standard Time","America/Chicago"],["Central Standard Time (Mexico)","America/Mexico_City"],["Chatham Islands Standard Time","Pacific/Chatham"],["China Standard Time","Asia/Shanghai"],["Cuba Standard Time","America/Havana"],["Dateline Standard Time","Etc/GMT+12"],["E. Africa Standard Time","Africa/Nairobi"],["E. Australia Standard Time","Australia/Brisbane"],["E. Europe Standard Time","Europe/Chisinau"],["E. South America Standard Time","America/Sao_Paulo"],["Easter Island Standard Time","Pacific/Easter"],["Eastern Standard Time","America/New_York"],["Eastern Standard Time (Mexico)","America/Cancun"],["Egypt Standard Time","Africa/Cairo"],["Ekaterinburg Standard Time","Asia/Yekaterinburg"],["FLE Standard Time","Europe/Kiev"],["Fiji Standard Time","Pacific/Fiji"],["GMT Standard Time","Europe/London"],["GTB Standard Time","Europe/Bucharest"],["Georgian Standard Time","Asia/Tbilisi"],["Greenland Standard Time","America/Godthab"],["Greenwich Standard Time","Atlantic/Reykjavik"],["Haiti Standard Time","America/Port-au-Prince"],["Hawaiian Standard Time","Pacific/Honolulu"],["India Standard Time","Asia/Calcutta"],["Iran Standard Time","Asia/Tehran"],["Israel Standard Time","Asia/Jerusalem"],["Jordan Standard Time","Asia/Amman"],["Kaliningrad Standard Time","Europe/Kaliningrad"],["Korea Standard Time","Asia/Seoul"],["Libya Standard Time","Africa/Tripoli"],["Line Islands Standard Time","Pacific/Kiritimati"],["Lord Howe Standard Time","Australia/Lord_Howe"],["Magadan Standard Time","Asia/Magadan"],["Magallanes Standard Time","America/Punta_Arenas"],["Marquesas Standard Time","Pacific/Marquesas"],["Mauritius Standard Time","Indian/Mauritius"],["Middle East Standard Time","Asia/Beirut"],["Montevideo Standard Time","America/Montevideo"],["Morocco Standard Time","Africa/Casablanca"],["Mountain Standard Time","America/Denver"],["Mountain Standard Time (Mexico)","America/Mazatlan"],["Myanmar Standard Time","Asia/Rangoon"],["N. Central Asia Standard Time","Asia/Novosibirsk"],["Namibia Standard Time","Africa/Windhoek"],["Nepal Standard Time","Asia/Katmandu"],["New Zealand Standard Time","Pacific/Auckland"],["Newfoundland Standard Time","America/St_Johns"],["Norfolk Standard Time","Pacific/Norfolk"],["North Asia East Standard Time","Asia/Irkutsk"],["North Asia Standard Time","Asia/Krasnoyarsk"],["North Korea Standard Time","Asia/Pyongyang"],["Omsk Standard Time","Asia/Omsk"],["Pacific SA Standard Time","America/Santiago"],["Pacific Standard Time","America/Los_Angeles"],["Pacific Standard Time (Mexico)","America/Tijuana"],["Pakistan Standard Time","Asia/Karachi"],["Paraguay Standard Time","America/Asuncion"],["Qyzylorda Standard Time","Asia/Qyzylorda"],["Romance Standard Time","Europe/Paris"],["Russia Time Zone 10","Asia/Srednekolymsk"],["Russia Time Zone 11","Asia/Kamchatka"],["Russia Time Zone 3","Europe/Samara"],["Russian Standard Time","Europe/Moscow"],["SA Eastern Standard Time","America/Cayenne"],["SA Pacific Standard Time","America/Bogota"],["SA Western Standard Time","America/La_Paz"],["SE Asia Standard Time","Asia/Bangkok"],["Saint Pierre Standard Time","America/Miquelon"],["Sakhalin Standard Time","Asia/Sakhalin"],["Samoa Standard Time","Pacific/Apia"],["Sao Tome Standard Time","Africa/Sao_Tome"],["Saratov Standard Time","Europe/Saratov"],["Singapore Standard Time","Asia/Singapore"],["South Africa Standard Time","Africa/Johannesburg"],["South Sudan Standard Time","Africa/Juba"],["Sri Lanka Standard Time","Asia/Colombo"],["Sudan Standard Time","Africa/Khartoum"],["Syria Standard Time","Asia/Damascus"],["Taipei Standard Time","Asia/Taipei"],["Tasmania Standard Time","Australia/Hobart"],["Tocantins Standard Time","America/Araguaina"],["Tokyo Standard Time","Asia/Tokyo"],["Tomsk Standard Time","Asia/Tomsk"],["Tonga Standard Time","Pacific/Tongatapu"],["Transbaikal Standard Time","Asia/Chita"],["Turkey Standard Time","Europe/Istanbul"],["Turks And Caicos Standard Time","America/Grand_Turk"],["US Eastern Standard Time","America/Indianapolis"],["US Mountain Standard Time","America/Phoenix"],["UTC","Etc/GMT"],["UTC+01","Etc/GMT-1"],["UTC+02","Etc/GMT-2"],["UTC+03","Etc/GMT-3"],["UTC+04","Etc/GMT-4"],["UTC+05","Etc/GMT-5"],["UTC+06","Etc/GMT-6"],["UTC+07","Etc/GMT-7"],["UTC+08","Etc/GMT-8"],["UTC+09","Etc/GMT-9"],["UTC+10","Etc/GMT-10"],["UTC+11","Etc/GMT-11"],["UTC+12","Etc/GMT-12"],["UTC+13","Etc/GMT-13"],["UTC+14","Etc/GMT-14"],["UTC-01","Etc/GMT+1"],["UTC-02","Etc/GMT+2"],["UTC-03","Etc/GMT+3"],["UTC-04","Etc/GMT+4"],["UTC-05","Etc/GMT+5"],["UTC-06","Etc/GMT+6"],["UTC-07","Etc/GMT+7"],["UTC-08","Etc/GMT+8"],["UTC-09","Etc/GMT+9"],["UTC-10","Etc/GMT+10"],["UTC-11","Etc/GMT+11"],["UTC-12","Etc/GMT+12"],["Ulaanbaatar Standard Time","Asia/Ulaanbaatar"],["Venezuela Standard Time","America/Caracas"],["Vladivostok Standard Time","Asia/Vladivostok"],["Volgograd Standard Time","Europe/Volgograd"],["W. Australia Standard Time","Australia/Perth"],["W. Central Africa Standard Time","Africa/Lagos"],["W. Europe Standard Time","Europe/Berlin"],["W. Mongolia Standard Time","Asia/Hovd"],["West Asia Standard Time","Asia/Tashkent"],["West Bank Standard Time","Asia/Hebron"],["West Pacific Standard Time","Pacific/Port_Moresby"],["Yakutsk Standard Time","Asia/Yakutsk"],["Yukon Standard Time","America/Whitehorse"]]);var a=r(96285);const s="shortOffset";function o(e,t=!1){return{json:{read:{source:e,reader:(t,r)=>r[e]?l(r[e]):null},write:!!t&&{allowNull:!0,writer(t,r){r[e]=t?function(e){return{timeZoneIANA:e}}(t):null}}}}}function l(e,t=n.qU){return e?"timeZoneIANA"in e?e.timeZoneIANA:function(e,t=n.qU){if(!e||!i.has(e.timeZone))return t;const r=i.get(e.timeZone);return function(e){return e.startsWith("UTC")}(e.timeZone)||e.respectsDaylightSaving?r:function(e){const t=a.c9.local().setZone(e),r=Math.min(t.set({month:1,day:1}).offset,t.set({month:5}).offset);return 0===r?"Etc/UTC":`Etc/GMT${a.mQ.instance(-r).formatOffset(0,"narrow")}`}(r)}(e,t):t}function c(e,t,r,i,a){if(t&&"date"===a)return{timeZone:n.n$,timeZoneName:void 0};const o=i.timeStyle||i.hour,l=r===n.L5;return{timeZone:l?"timestamp-offset"===a?void 0:e??n.n$:r,timeZoneName:l&&o?s:void 0}}function u(e){const t=new Set(["etc/utc","etc/gmt","gmt"]),r=new Set(Intl.supportedValuesOf("timeZone").map(e=>e.toLowerCase()));return e===n.qU||e===n.L5||t.has(e.toLowerCase())||r.has(e.toLowerCase())}},59247:(e,t,r)=>{r.d(t,{bv:()=>l,Fk:()=>c,yG:()=>u,$b:()=>d,Nd:()=>h,jm:()=>m,sK:()=>p});var n=r(40876),i=r(90629);function a(){const e=new Float32Array(16);return e[0]=1,e[5]=1,e[10]=1,e[15]=1,e}const s=a();Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:function(e){const t=new Float32Array(16);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},create:a,fromValues:function(e,t,r,n,i,a,s,o,l,c,u,d,h,m,f,g){const p=new Float32Array(16);return p[0]=e,p[1]=t,p[2]=r,p[3]=n,p[4]=i,p[5]=a,p[6]=s,p[7]=o,p[8]=l,p[9]=c,p[10]=u,p[11]=d,p[12]=h,p[13]=m,p[14]=f,p[15]=g,p}},Symbol.toStringTag,{value:"Module"}));var o=r(58083);class l{constructor(e,t,r){this.strength=e,this.radius=t,this.threshold=r,this.type="bloom"}interpolate(e,t,r){this.strength=f(e.strength,t.strength,r),this.radius=f(e.radius,t.radius,r),this.threshold=f(e.threshold,t.threshold,r)}clone(){return new l(this.strength,this.radius,this.threshold)}toJSON(){return{type:"bloom",radius:g(this.radius),strength:this.strength,threshold:this.threshold}}}class c{constructor(e){this.radius=e,this.type="blur"}interpolate(e,t,r){this.radius=Math.round(f(e.radius,t.radius,r))}clone(){return new c(this.radius)}toJSON(){return{type:"blur",radius:g(this.radius)}}}class u{constructor(e,t){this.type=e,this.amount=t,"invert"!==this.type&&"grayscale"!==this.type&&"sepia"!==this.type||(this.amount=Math.min(this.amount,1))}get colorMatrix(){return this._colorMatrix||this._updateMatrix(),this._colorMatrix}interpolate(e,t,r){this.amount=f(e.amount,t.amount,r),this._updateMatrix()}clone(){return new u(this.type,this.amount)}toJSON(){return{type:this.type,amount:this.amount}}_updateMatrix(){const e=this._colorMatrix||a();switch(this.type){case"brightness":this._colorMatrix=((e,t)=>{const r=(0,o.hZ)(e,t,0,0,0,0,t,0,0,0,0,t,0,0,0,0,1);return(0,o.mg)(r,r)})(e,this.amount);break;case"contrast":this._colorMatrix=((e,t)=>{const r=(0,o.hZ)(e,t,0,0,.5-.5*t,0,t,0,.5-.5*t,0,0,t,.5-.5*t,0,0,0,1);return(0,o.mg)(r,r)})(e,this.amount);break;case"grayscale":this._colorMatrix=(e=>{const t=1-this.amount,r=(0,o.hZ)(e,.2126+.7874*t,.7152-.7152*t,.0722-.0722*t,0,.2126-.2126*t,.7152+.2848*t,.0722-.0722*t,0,.2126-.2126*t,.7152-.7152*t,.0722+.9278*t,0,0,0,0,1);return(0,o.mg)(r,r)})(e);break;case"invert":this._colorMatrix=((e,t)=>{const r=1-2*t,n=(0,o.hZ)(e,r,0,0,t,0,r,0,t,0,0,r,t,0,0,0,1);return(0,o.mg)(n,n)})(e,this.amount);break;case"saturate":this._colorMatrix=((e,t)=>{const r=(0,o.hZ)(e,.213+.787*t,.715-.715*t,.072-.072*t,0,.213-.213*t,.715+.285*t,.072-.072*t,0,.213-.213*t,.715-.715*t,.072+.928*t,0,0,0,0,1);return(0,o.mg)(r,r)})(e,this.amount);break;case"sepia":this._colorMatrix=(e=>{const t=1-this.amount,r=(0,o.hZ)(e,.393+.607*t,.769-.769*t,.189-.189*t,0,.349-.349*t,.686+.314*t,.168-.168*t,0,.272-.272*t,.534-.534*t,.131+.869*t,0,0,0,0,1);return(0,o.mg)(r,r)})(e)}}}class d{constructor(e,t,r,n){this.offsetX=e,this.offsetY=t,this.blurRadius=r,this.color=n,this.type="drop-shadow"}interpolate(e,t,r){this.offsetX=f(e.offsetX,t.offsetX,r),this.offsetY=f(e.offsetY,t.offsetY,r),this.blurRadius=f(e.blurRadius,t.blurRadius,r),this.color[0]=Math.round(f(e.color[0],t.color[0],r)),this.color[1]=Math.round(f(e.color[1],t.color[1],r)),this.color[2]=Math.round(f(e.color[2],t.color[2],r)),this.color[3]=f(e.color[3],t.color[3],r)}clone(){return new d(this.offsetX,this.offsetY,this.blurRadius,[...this.color])}toJSON(){const e=[...this.color];return e[3]*=255,{type:"drop-shadow",xoffset:g(this.offsetX),yoffset:g(this.offsetY),blurRadius:g(this.blurRadius),color:e}}}class h{constructor(e){this.angle=e,this.type="hue-rotate"}get colorMatrix(){return this._colorMatrix||this._updateMatrix(),this._colorMatrix}interpolate(e,t,r){this.angle=f(e.angle,t.angle,r),this._updateMatrix()}clone(){return new h(this.angle)}toJSON(){return{type:"hue-rotate",angle:this.angle}}_updateMatrix(){const e=this._colorMatrix||a();this._colorMatrix=((e,t)=>{const r=Math.sin(t*Math.PI/180),n=Math.cos(t*Math.PI/180),i=(0,o.hZ)(e,.213+.787*n-.213*r,.715-.715*n-.715*r,.072-.072*n+.928*r,0,.213-.213*n+.143*r,.715+.285*n+.14*r,.072-.072*n-.283*r,0,.213-.213*n-.787*r,.715-.715*n+.715*r,.072+.928*n+.072*r,0,0,0,0,1);return(0,o.mg)(i,i)})(e,this.angle)}}class m{constructor(e){this.amount=e,this.type="opacity",this.amount=Math.min(this.amount,1)}interpolate(e,t,r){this.amount=f(e.amount,t.amount,r)}clone(){return new m(this.amount)}toJSON(){return{type:"opacity",amount:this.amount}}}function f(e,t,r){return e+(t-e)*r}function g(e){return Math.round(1e3*(0,i.PN)(e))/1e3}function p(e){switch(e.type){case"grayscale":case"sepia":case"invert":return new u(e.type,0);case"saturate":case"brightness":case"contrast":return new u(e.type,1);case"opacity":return new m(1);case"hue-rotate":return new h(0);case"blur":return new c(0);case"drop-shadow":return new d(0,0,0,[...(0,n.TS)("transparent")]);case"bloom":return new l(0,0,1)}}},61760:(e,t,r)=>{r.d(t,{PU:()=>s,YW:()=>l,ex:()=>i,hv:()=>o,zp:()=>a}),r(34727);var n=r(90629);r(87317),r(91829);const i=2.4;function a(e){return(0,n.PN)(e*i)}function s(e){return(0,n.Lz)(e)/i}function o(e,t,r){const n=Math.sqrt(e**2+t**2)/r;return n>1?0:3/(Math.PI*r**2)*(1-n**2)**2}function l(e){return"function"==typeof e?e:e?t=>+t[e]:()=>1}},62577:(e,t,r)=>{function n(e){return e?{originPosition:"upper-left"===e.originPosition?"upperLeft":"lower-left"===e.originPosition?"lowerLeft":e.originPosition,scale:e.tolerance?[e.tolerance,e.tolerance,1,1]:[1,1,1,1],translate:null!=e.extent?[e.extent.xmin,e.extent.ymax,e.extent.zmin??0,e.extent.mmin??0]:[0,0,0,0]}:null}function i(e){if(function(e){return"lowerLeft"===e.originPosition&&4===e.scale.length&&4===e.translate.length}(e))return e;const{originPosition:t,scale:r,translate:n}=e,i=r[0]??1,a=r[1]??1;return{originPosition:"lowerLeft",scale:[i,"lowerLeft"===t?a:-a,r[2]??1,r[3]??1],translate:[n[0]??0,n[1]??0,n[2]??0,n[3]??0]}}function a({scale:e,translate:t},r){return Math.round((r-t[0])/e[0])}function s({scale:e,translate:t},r){return Math.round((r-t[1])/e[1])}function o({scale:e,translate:t},r){return r*e[0]+t[0]}function l({scale:e,translate:t},r){return r*e[1]+t[1]}function c({scale:e,translate:t},r){return(r??0)*e[2]+t[2]}function u({scale:e,translate:t},r){return r?r*e[3]+t[3]:0}function d(e,t){return e&&t?g:e&&!t?m:!e&&t?f:h}r.d(t,{$X:()=>T,B2:()=>s,Gy:()=>y,IE:()=>a,P5:()=>S,Q1:()=>i,SW:()=>b,Tr:()=>v,VV:()=>n}),r(65864);const h=(e,t)=>{const r=new Array(t.length);if(!t.length)return r;const n=t[0];let i=o(e,n[0]),a=l(e,n[1]);r[0]=[i,a];const{scale:s,originPosition:c}=e,u=s[0],d="lowerLeft"===c?s[1]:-s[1];for(let e=1;e<t.length;e++){const[n,s]=t[e];i+=u*n,a+=d*s,r[e]=[i,a]}return r},m=(e,t)=>{const r=new Array(t.length);if(!t.length)return r;const n=t[0];let i=o(e,n[0]),a=l(e,n[1]);r[0]=[i,a,c(e,n[2])];const{scale:s,originPosition:u}=e,d=s[0],h="lowerLeft"===u?s[1]:-s[1];for(let n=1;n<t.length;n++){const[s,o,l]=t[n];i+=d*s,a+=h*o,r[n]=[i,a,c(e,l)]}return r},f=(e,t)=>{const r=new Array(t.length);if(!t.length)return r;const n=t[0];let i=o(e,n[0]),a=l(e,n[1]);r[0]=[i,a,u(e,n[2])];const{scale:s,originPosition:c}=e,d=s[0],h="lowerLeft"===c?s[1]:-s[1];for(let n=1;n<t.length;n++){const[s,o,l]=t[n];i+=d*s,a+=h*o,r[n]=[i,a,u(e,l)]}return r},g=(e,t)=>{const r=new Array(t.length);if(!t.length)return r;const n=t[0];let i=o(e,n[0]),a=l(e,n[1]);r[0]=[i,a,c(e,n[2]),u(e,n[3])];const{scale:s,originPosition:d}=e,h=s[0],m="lowerLeft"===d?s[1]:-s[1];for(let n=1;n<t.length;n++){const[s,o,l,d]=t[n];i+=h*s,a+=m*o,r[n]=[i,a,c(e,l),u(e,d)]}return r};function p(e,t,r){const n=new Array(r.length);for(let i=0;i<r.length;i++)n[i]=t(e,r[i]);return n}function y(e,t,r){const n=i(e);return t.x=a(n,r.x),t.y=s(n,r.y),null!=r.z&&(t.z=function({scale:e,translate:t},r){return Math.round(((r??0)-t[2])/e[2])}(n,r.z)),null!=r.m&&(t.m=function({scale:e,translate:t},r){return r?Math.round((r-t[3])/e[3]):0}(n,r.m)),t}function b(e,t,r,n=r?.hasZ??!1,a=r?.hasM??!1){if(null!=r){const s=i(e);t.points=d(n,a)(s,r.points),t.hasZ=n,t.hasM=a}return t}function v(e,t,r,n=null!=r?.z,a=null!=r?.m){if(null==r)return t;const s=i(e);return t.x=o(s,r.x),t.y=l(s,r.y),n&&(t.z=c(s,r.z)),a&&(t.m=u(s,r.m)),t}function T(e,t,r,n=r?.hasZ??!1,a=r?.hasM??!1){if(null!=r){const s=i(e);t.rings=p(s,d(n,a),r.rings),t.hasZ=n,t.hasM=a}return t}function S(e,t,r,n=r?.hasZ??!1,a=r?.hasM??!1){if(null!=r){const s=i(e);t.paths=p(s,d(n,a),r.paths),t.hasZ=n,t.hasM=a}return t}},65529:(e,t,r)=>{r.d(t,{Zt:()=>a,a$:()=>s,bk:()=>o,nJ:()=>l});var n=r(65008),i=r(36563);const a=e=>{const t=e;return class extends t{constructor(){super(...arguments),this._listenersMap=null}clearEvents(){this._listenersMap?.clear(),this._listenersMap=null}destroy(){this.clearEvents()}emit(e,t){let r=this._listenersMap?.get(e);if(!r)return!1;let n=!1;for(const e of r.slice()){const r="deref"in e?e.deref():e;r?r?.call(this,t):n=!0}return n&&(r=r.filter(e=>!("deref"in e)||null!=e.deref()),this._listenersMap.set(e,r)),r.length>0}on(e,t){if(Array.isArray(e)){const r=e.map(e=>this.on(e,t));return(0,i.vE)(r)}if(e.includes(","))throw new TypeError("Evented.on() with a comma delimited string of event types is not supported");this._listenersMap??=new Map;const r=this._listenersMap.get(e)||[];return r.push(t),this._listenersMap.set(e,r),(0,i.hA)(()=>{const r=this._listenersMap?.get(e),n=r?.indexOf(t)??-1;n>=0&&r.splice(n,1)})}once(e,t){const r=this.on(e,e=>{r.remove();const n="deref"in t?t.deref():t;n?.call(null,e)});return r}hasEventListener(e){const t=this._listenersMap?.get(e);return null!=t&&t.length>0}}},s=a(class{}),o=s,l=a(n.A)},65864:(e,t,r)=>{r.d(t,{$B:()=>g,Bi:()=>m,Rg:()=>h,U9:()=>u,ZC:()=>c,fT:()=>d,rS:()=>f,xD:()=>y});var n=r(5443),i=r(91075),a=r(48526),s=r(86738),o=r(39829),l=r(82799);function c(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function u(e){return void 0!==e.points}function d(e){return void 0!==e.x&&void 0!==e.y}function h(e){return void 0!==e.paths||void 0!==e.curvePaths}function m(e){return void 0!==e.rings||void 0!==e.curveRings}function f(e){return null==e?null:e instanceof i.A?e:d(e)?s.A.fromJSON(e):h(e)?l.A.fromJSON(e):m(e)?o.A.fromJSON(e):u(e)?a.A.fromJSON(e):c(e)?n.A.fromJSON(e):null}function g(e){return e?d(e)?"esriGeometryPoint":h(e)?"esriGeometryPolyline":m(e)?"esriGeometryPolygon":c(e)?"esriGeometryEnvelope":u(e)?"esriGeometryMultipoint":null:null}const p={esriGeometryPoint:s.A,esriGeometryPolyline:l.A,esriGeometryPolygon:o.A,esriGeometryEnvelope:n.A,esriGeometryMultipoint:a.A,esriGeometryMultiPatch:o.A};function y(e){return e&&p[e]||null}},68463:(e,t,r)=>{r.d(t,{A5:()=>b});var n=r(3483),i=r(97768),a=r(54218),s=r(96285);const o=["HH:mm:ss.SSS","HH:mm:ss","HH:mm","TT"],l="yyyy-MM-dd";function c(e){if(!e||!(0,a.Kg)(e))return null;const t=s.c9.fromFormat(e,l);return t.isValid?t:null}function u(e){return e&&(0,a.Kg)(e)?(0,i.Pb)(o,t=>{const r=s.c9.fromFormat(e,t);return r.isValid?r:null})??null:null}function d(e){if(!e||!(0,a.Kg)(e))return null;const t=s.c9.fromISO(e);return t.isValid?t:null}const h=new Set(["integer","small-integer","long","big-integer","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeLong","esriFieldTypeBigInteger"]);function m(e){return null!=e&&h.has(e.type)}function f(e){return null!=e&&("date-only"===e.type||"esriFieldTypeDateOnly"===e.type)}function g(e){return null!=e&&("timestamp-offset"===e.type||"esriFieldTypeTimestampOffset"===e.type)}function p(e){return null!=e&&("time-only"===e.type||"esriFieldTypeTimeOnly"===e.type)}const y=new Set(["single","double","esriFieldTypeSingle","esriFieldTypeDouble"]);function b(e,t){const r=t??e?.domain;if(!r||"range"!==r.type)return;const n="range"in r?r.range[0]:r.minValue,i="range"in r?r.range[1]:r.maxValue,a=m(e);return f(e)||p(e)||g(e)?{...v(e,i,n),isInteger:a}:{min:null!=n&&"number"==typeof n?n:null,max:null!=i&&"number"==typeof i?i:null,rawMin:n,rawMax:i,isInteger:a}}function v(e,t,r){return f(e)?{min:c(r)?.toMillis(),max:c(t)?.toMillis(),rawMin:r,rawMax:t}:p(e)?{min:u(r)?.toMillis(),max:u(t)?.toMillis(),rawMin:r,rawMax:t}:g(e)?{min:d(r)?.toMillis(),max:d(t)?.toMillis(),rawMin:r,rawMax:t}:{max:null,min:null}}(0,n.KC)(h,y)},69309:(e,t,r)=>{function n(e){if(!e)return;const t=e.match(i);return t?.groups?t.groups.doubleQuoted??t.groups.singleQuoted??t.groups.dotNotation:void 0}r.d(t,{D:()=>a,o:()=>n});const i=/^(\$feature\[(?:"(?<doubleQuoted>[^"]+)"|'(?<singleQuoted>[^']+)')\]|\$feature\.(?<dotNotation>[a-z_][a-z0-9_]*))$/i;function a(e){return e.match(s)?.[1]?.replace(/\\'/g,"'")??null}const s=/^hash\(\$feature\['((\\'|[^'])+)'\]\) \* 8\.381e-8$/},73444:(e,t,r)=>{r.d(t,{JK:()=>l,Ml:()=>p,QC:()=>d,lR:()=>u,oQ:()=>f});var n=r(36563);let i;r(44208);const a=globalThis.esriConfig?.locale??globalThis.dojoConfig?.locale,s=globalThis.document?.documentElement;function o(){const e=s?.getAttribute("lang"),t=globalThis.navigator?.language;return a??e??t??"en"}function l(){return void 0===i&&(i=o()),i}const c=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function u(e=l()){return h(e)?.language}function d(e=l()){const t=h(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function h(e=l()){return c.exec(e)?.groups}const m=[];function f(e){return m.push(e),(0,n.hA)(()=>{m.splice(m.indexOf(e),1)})}new Map;const g=[];function p(e){return g.push(e),(0,n.hA)(()=>g.splice(g.indexOf(e),1))}function y(){const e=o();i!==e&&([...g].forEach(t=>t(e)),i=e,[...m].forEach(t=>t(e)))}globalThis.addEventListener?.("languagechange",y),s&&new MutationObserver(()=>{y()}).observe(s,{attributeFilter:["lang"]})},84892:(e,t,r)=>{r.d(t,{t:()=>s});var n=r(53966);const i=()=>n.A.getLogger("esri.rest.support.generateRendererUtils");function a(e,t){return Number(e.toFixed(t))}function s(e,t){const{normalizationTotal:r}=e;return{classBreaks:o(e,t),normalizationTotal:r}}function o(e,t){const r=e.definition,{classificationMethod:n,normalizationType:i,definedInterval:s}=r,o=r.breakCount??1,u=[];let d=e.values;if(0===d.length)return[];d=d.sort((e,t)=>e-t);const[h,m]=t??[d.at(0),d.at(-1)];if("equal-interval"===n)if(d.length>=o){const e=(m-h)/o;let t=h;for(let r=1;r<o;r++){const n=a(h+r*e,6);u.push({minValue:t,maxValue:n,label:l(t,n,i)}),t=n}u.push({minValue:t,maxValue:m,label:l(t,m,i)})}else d.forEach(e=>{u.push({minValue:e,maxValue:e,label:l(e,e,i)})});else if("natural-breaks"===n){const t=function(e){const t=[],r=[];let n=Number.MIN_VALUE,i=1,a=-1;for(let s=0;s<e.length;s++){const o=e[s];o===n?(i++,r[a]=i):null!==o&&(t.push(o),n=o,i=1,r.push(i),a++)}return{uniqueValues:t,valueFrequency:r}}(d),r=e.valueFrequency||t.valueFrequency,n=c(t.uniqueValues,r,o);let s=h;for(let e=1;e<o;e++)if(t.uniqueValues.length>e){const r=a(t.uniqueValues[n[e]],6);u.push({minValue:s,maxValue:r,label:l(s,r,i)}),s=r}u.push({minValue:s,maxValue:m,label:l(s,m,i)})}else if("quantile"===n)if(d.length>=o&&h!==m){let e=h,t=Math.ceil(d.length/o),r=0;for(let n=1;n<o;n++){let a=t+r-1;a>d.length&&(a=d.length-1),a<0&&(a=0),u.push({minValue:e,maxValue:d[a],label:l(e,d[a],i)}),e=d[a],r+=t,t=Math.ceil((d.length-r)/(o-n))}u.push({minValue:e,maxValue:m,label:l(e,m,i)})}else{let e=-1;for(let t=0;t<d.length;t++){const r=d[t];r!==e&&(e=r,u.push({minValue:e,maxValue:r,label:l(e,r,i)}),e=r)}}else if("standard-deviation"===n){const e=function(e){let t=0;for(let r=0;r<e.length;r++)t+=e[r];return t/=e.length,t}(d),t=function(e,t){let r=0;for(let n=0;n<e.length;n++){const i=e[n];r+=(i-t)*(i-t)}return r/=e.length,Math.sqrt(r)}(d,e);if(0===t)u.push({minValue:d[0],maxValue:d[0],label:l(d[0],d[0],i)});else{const r=function(e,t,r,n,i){let a=Math.max(n-e,t-n)/i/r;return a=a>=1?1:a>=.5?.5:.25,a}(h,m,o,e,t)*t;let n=0,s=h;for(let t=o;t>=1;t--){const o=a(e-(t-.5)*r,6);u.push({minValue:s,maxValue:o,label:l(s,o,i)}),s=o,n++}let c=a(e+.5*r,6);u.push({minValue:s,maxValue:c,label:l(s,c,i)}),s=c,n++;for(let t=1;t<=o;t++)c=n===2*o?m:a(e+(t+.5)*r,6),u.push({minValue:s,maxValue:c,label:l(s,c,i)}),s=c,n++}}else if("defined-interval"===n){if(!s)return u;const[e,r]=t??[d.at(0),d.at(-1)],n=Math.ceil((r-e)/s);let o=e;for(let t=1;t<n;t++){const r=a(e+t*s,6);u.push({minValue:o,maxValue:r,label:l(o,r,i)}),o=r}u.push({minValue:o,maxValue:r,label:l(o,r,i)})}return u}function l(e,t,r){let n=null;return n=e===t?r&&"percent-of-total"===r?e+"%":e.toString():r&&"percent-of-total"===r?e+"% - "+t+"%":e+" - "+t,n}function c(e,t,r){const n=e.length,i=[];r>n&&(r=n);for(let e=0;e<r;e++)i.push(Math.round(e*n/r-1));i.push(n-1);let a=u(i,e,t,r);return function(e,t,r,n,i,a){let s=0,o=0,l=0,c=0,u=!0;for(let h=0;h<2&&u;h++){0===h&&(u=!1);for(let h=0;h<a-1;h++)for(;r[h+1]+1!==r[h+2];){r[h+1]=r[h+1]+1;const a=d(h,r,n,i);l=a.sbMean,s=a.sbSdcm;const m=d(h+1,r,n,i);if(c=m.sbMean,o=m.sbSdcm,!(s+o<t[h]+t[h+1])){r[h+1]=r[h+1]-1;break}t[h]=s,t[h+1]=o,e[h]=l,e[h+1]=c,u=!0}for(let h=a-1;h>0;h--)for(;r[h]!==r[h-1]+1;){r[h]=r[h]-1;const a=d(h-1,r,n,i);l=a.sbMean,s=a.sbSdcm;const m=d(h,r,n,i);if(c=m.sbMean,o=m.sbSdcm,!(s+o<t[h-1]+t[h])){r[h]=r[h]+1;break}t[h-1]=s,t[h]=o,e[h-1]=l,e[h]=c,u=!0}}return u}(a.mean,a.sdcm,i,e,t,r)&&(a=u(i,e,t,r)),i}function u(e,t,r,n){let i=[],a=[],s=[],o=0;const l=[],c=[];for(let i=0;i<n;i++){const n=d(i,e,t,r);l.push(n.sbMean),c.push(n.sbSdcm),o+=c[i]}let u,h=o,m=!0;for(;m||o<h;){m=!1,i=[];for(let t=0;t<n;t++)i.push(e[t]);for(let r=0;r<n;r++)for(let i=e[r]+1;i<=e[r+1];i++)if(u=t[i],r>0&&i!==e[r+1]&&Math.abs(u-l[r])>Math.abs(u-l[r-1]))e[r]=i;else if(r<n-1&&e[r]!==i-1&&Math.abs(u-l[r])>Math.abs(u-l[r+1])){e[r+1]=i-1;break}h=o,o=0,a=[],s=[];for(let i=0;i<n;i++){a.push(l[i]),s.push(c[i]);const n=d(i,e,t,r);l[i]=n.sbMean,c[i]=n.sbSdcm,o+=c[i]}}if(o>h){for(let t=0;t<n;t++)e[t]=i[t],l[t]=a[t],c[t]=s[t];o=h}return{mean:l,sdcm:c}}function d(e,t,r,n){let a=0,s=0;for(let i=t[e]+1;i<=t[e+1];i++){const e=n[i];a+=r[i]*e,s+=e}s<=0&&i().warn("Exception in Natural Breaks calculation");const o=a/s;let l=0;for(let i=t[e]+1;i<=t[e+1];i++)l+=n[i]*(r[i]-o)**2;return{sbMean:o,sbSdcm:l}}},87445:(e,t,r)=>{r.d(t,{$r:()=>p,Jc:()=>v,gV:()=>y,rb:()=>b}),r(49186);var n=r(90629),i=r(88930),a=r(86738),s=r(16930),o=r(62577),l=r(21325),c=r(30524),u=r(61760),d=r(4560),h=r(1873),m=r(43668);let f=null;const g=/^(?<hh>([01][0-9])|(2[0-3])):(?<mm>[0-5][0-9])(:(?<ss>[0-5][0-9]))?(\.(?<ms>\d+))?$/;function p(e,t,r,n){const i=(0,l.d9)(r)?(0,l.Vp)(r):null,s=i?Math.round((i.valid[1]-i.valid[0])/t.scale[0]):null;return e.map(e=>{const r=new a.A(e.geometry);return(0,o.Gy)(t,r,r),e.geometry=i?function(e,t,r){return e.x<0?e.x+=t:e.x>r&&(e.x-=t),e}(r,s??0,n[0]):r,e})}function y(e,t=18,r,i,a){const s=new Float64Array(i*a);t=Math.round((0,n.Lz)(t));let o=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY;const c=(0,u.YW)(r);for(const{geometry:r,attributes:n}of e){const{x:e,y:d}=r,h=Math.max(0,e-t),m=Math.max(0,d-t),f=Math.min(a,d+t),g=Math.min(i,e+t),p=+c(n);for(let r=m;r<f;r++)for(let n=h;n<g;n++){const a=r*i+n,c=(0,u.hv)(n-e,r-d,t)*p,h=s[a]+=c;o=Math.min(o,h),l=Math.max(l,h)}}return{min:o,max:l}}function b(e){const t=g.exec(e);if(!t)return null;const{hh:r,mm:n,ss:a,ms:s}=t.groups;return Number(r)*i.vf.hours+Number(n)*i.vf.minutes+Number(a)*i.vf.seconds+Number(s||0)}async function v(e,t,r=!0){if(!t)return[];const{field:n,field2:i,field3:a,fieldDelimiter:o,fieldInfos:l,timeZone:u}=e,g=n&&l?.find(e=>e.name.toLowerCase()===n.toLowerCase()),p=!!g&&(0,c.OH)(g),y=!!g&&(0,d.fs)(g),v=e.valueExpression,T=e.normalizationType,S=e.normalizationField,_=e.normalizationTotal,M=[],A=e.viewInfoParams;let w=null,I=null;if(v){if(!f){const{arcadeUtils:e}=await(0,m.l)();f=e}f.hasGeometryOperations(v)&&await f.enableGeometryOperations(),w=f.createFunction(v),I=A?f.getViewInfo({viewingMode:A.viewingMode,scale:A.scale,spatialReference:new s.A(A.spatialReference)}):null}const L=e.fieldInfos,C=t[0]&&"declaredClass"in t[0]&&"esri.Graphic"===t[0].declaredClass||!L?null:{fields:L};return t.forEach(e=>{const t=e.attributes;let s;if(v){const t=C?Object.assign({},e,{layer:C}):e,r=f.createExecContext(t,I,u);s=f.executeFunction(w,r)}else t&&(s=t[n],i?(s=`${(0,h.gJ)(s)}${o}${(0,h.gJ)(t[i])}`,a&&(s=`${s}${o}${(0,h.gJ)(t[a])}`)):"string"==typeof s&&r&&(y?s=s?new Date(s).getTime():null:p&&(s=s?b(s):null)));if(T&&"number"==typeof s&&isFinite(s)){const e=t&&parseFloat(t[S]);s=(0,h.zS)(s,T,e,_)}M.push(s)}),M}},88930:(e,t,r)=>{r.d(t,{S1:()=>o,lL:()=>c,mi:()=>l,t:()=>u,vf:()=>s});var n=r(97770),i=r(98623),a=r(96285);const s={milliseconds:1,seconds:1e3,minutes:6e4,hours:36e5,days:864e5,weeks:6048e5,months:26784e5,years:31536e6,decades:31536e7,centuries:31536e8};function o(e,t,r,s=i.qU){const o=new a.oh((0,n.wj)(s)),l=a.c9.fromJSDate(e,{zone:o}),c="decades"===r||"centuries"===r?"year":d(r);return"decades"===r&&(t*=10),"centuries"===r&&(t*=100),l.plus({[c]:t}).toJSDate()}function l(e,t,r="milliseconds"){const n=e.getTime(),i=u(t,r,"milliseconds");return new Date(n+i)}function c(e,t,r=i.qU){const s=new a.oh((0,n.wj)(r)),o=a.c9.fromJSDate(e,{zone:s});if("decades"===t||"centuries"===t){const e=o.startOf("year"),{year:r}=e,n=r-r%("decades"===t?10:100);return e.set({year:n}).toJSDate()}const l=d(t);return o.startOf(l).toJSDate()}function u(e,t,r){return 0===e?0:e*s[t]/s[r]}function d(e){switch(e){case"milliseconds":return"millisecond";case"seconds":return"second";case"minutes":return"minute";case"hours":return"hour";case"days":return"day";case"weeks":return"week";case"months":return"month";case"years":return"year"}}},90629:(e,t,r)=>{r.d(t,{Lz:()=>s,PN:()=>o,cr:()=>l,gs:()=>u,r_:()=>d,tc:()=>c});const n=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i,i="screenUtils.toPt: input not recognized!",a=96;function s(e){return e?e/72*a:0}function o(e){return e?72*e/a:0}function l(e){if("string"==typeof e){const t=e.match(n);if(t){const r=Number(t[1]),n=t[3]&&t[3].toLowerCase(),i=e.startsWith("-"),a="px"===n?o(r):r;return i?-a:a}return console.warn(i),null}return e}function c(e=0,t=0){return{x:e,y:t}}function u(e=0,t=0){return[e,t]}function d(e=0,t=0,r=0){return[e,t,r]}},93223:(e,t,r)=>{r.d(t,{e:()=>a});var n=r(66552),i=r(10107);function a(e,t={}){const r=e instanceof n.J?e:new n.J(e,t),{alwaysWriteDefaults:a,default:s,ignoreUnknown:o=!0,name:l,nonNullable:c,readOnly:u=!1}=t;return(0,i.MZ)({type:o?r.apiValues:String,json:{type:r.jsonValues,default:s,name:l,read:!u&&{reader:r.read},write:{writer:r.write,alwaysWriteDefaults:a}},nonNullable:c,readOnly:u})}},95488:(e,t,r)=>{r.d(t,{I:()=>i});var n=r(11406);class i extends n.T{notify(){const e=this._observers;if(e&&e.length>0){const t=e.slice();for(const e of t)e.onInvalidated(),e.onCommitted()}}}},97770:(e,t,r)=>{r.d(t,{Ey:()=>E,F8:()=>k,J2:()=>L,Yq:()=>C,_v:()=>T,iS:()=>x,wj:()=>F});var n=r(66552),i=r(73444),a=r(98623),s=(r(56400),r(96285));const o={year:void 0,month:void 0,day:void 0,weekday:void 0},l={hour:void 0,minute:void 0,second:void 0},c={timeZone:a.n$},u={year:"numeric",month:"numeric",day:"numeric"},d={year:"numeric",month:"long",day:"numeric"},h={year:"numeric",month:"short",day:"numeric"},m={year:"numeric",month:"long",weekday:"long",day:"numeric"},f={hour:"numeric",minute:"numeric"},g={...f,second:"numeric"},p={hourCycle:"h23"},y={...f,...p},b={...g,...p},v={"short-date":u,"short-date-short-time":{...u,...f},"short-date-short-time-24":{...u,...y},"short-date-long-time":{...u,...g},"short-date-long-time-24":{...u,...b},"short-date-le":u,"short-date-le-short-time":{...u,...f},"short-date-le-short-time-24":{...u,...y},"short-date-le-long-time":{...u,...g},"short-date-le-long-time-24":{...u,...b},"long-month-day-year":d,"long-month-day-year-short-time":{...d,...f},"long-month-day-year-short-time-24":{...d,...y},"long-month-day-year-long-time":{...d,...g},"long-month-day-year-long-time-24":{...d,...b},"day-short-month-year":h,"day-short-month-year-short-time":{...h,...f},"day-short-month-year-short-time-24":{...h,...y},"day-short-month-year-long-time":{...h,...g},"day-short-month-year-long-time-24":{...h,...b},"long-date":m,"long-date-short-time":{...m,...f},"long-date-short-time-24":{...m,...y},"long-date-long-time":{...m,...g},"long-date-long-time-24":{...m,...b},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":f,"long-time":g},T=(0,n.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),S={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},_=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),M=_.find(({type:e})=>"month"===e)?.value.toLowerCase();function A(){const e=(0,i.lR)();return(e&&S[e])??(0,i.QC)()}"mart"!==M&&(S.bs="sr-Latn-CS");let w=new WeakMap;const I=v["short-date-short-time"];function L(e){return v[e]}function C(e,t=I){return function(e){let t=w.get(e);if(!t){const r=A(),n=F(e.timeZone??a.qU),i={...e,timeZone:n};t=new Intl.DateTimeFormat(r,i),w.set(e,t)}return t}(t).format(e)}function x(e,t=I){return C(new Date(e),{...t,...c,...l})}function k(e,t=I){return C(new Date(`1970-01-01T${e}Z`),{...t,...c,...o})}function E(e,t=I){if(t.timeZone)return C(new Date(e),t);const r=s.c9.fromISO(e,{setZone:!0}),n=0===r.offset?a.n$:t.timeZone,i={...t,timeZone:n};return r.toLocaleString(i,{locale:A()})}function F(e){switch(e){case a.qU:return a.N5;case a.L5:return a.n$;default:return e}}(0,i.Ml)(()=>{w=new WeakMap})},98623:(e,t,r)=>{r.d(t,{L5:()=>i,N5:()=>s,n$:()=>a,qU:()=>n});const n="system",i="unknown",a="UTC",s=Intl.DateTimeFormat().resolvedOptions().timeZone}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"widgetLabel":"Sketch","undo":"Undo","redo":"Redo","draw":{"point":"Draw a point","polygon":"Draw a polygon","polyline":"Draw a polyline","circle":"Draw a circle","rectangle":"Draw a rectangle","multipoint":"Draw a multipoint","mesh":"Draw a mesh","freehandPolyline":"Draw a polyline (freehand)","freehandPolygon":"Draw a polygon (freehand)"},"selectedCount":"Selection: {count}","selectedCountTruncated":"{truncated}+","deleteFeature":"Delete feature","deleteFeatures":"Delete features","selectFeature":"Select feature","duplicateFeature":"Duplicate feature","duplicateFeatures":"Duplicate features"}
|
|
1
|
+
{"widgetLabel":"Sketch","undo":"Undo","redo":"Redo","draw":{"point":"Draw a point","polygon":"Draw a polygon","polyline":"Draw a polyline","circle":"Draw a circle","rectangle":"Draw a rectangle","multipoint":"Draw a multipoint","mesh":"Draw a mesh","freehandPolyline":"Draw a polyline (freehand)","freehandPolygon":"Draw a polygon (freehand)","text":"Add text"},"selectedCount":"Selection: {count}","selectedCountTruncated":"{truncated}+","deleteFeature":"Delete feature","deleteFeatures":"Delete features","selectFeature":"Select feature","duplicateFeature":"Duplicate feature","duplicateFeatures":"Duplicate features"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"widgetLabel":"Sketch","undo":"Undo","redo":"Redo","draw":{"point":"Draw a point","polygon":"Draw a polygon","polyline":"Draw a polyline","circle":"Draw a circle","rectangle":"Draw a rectangle","multipoint":"Draw a multipoint","mesh":"Draw a mesh","freehandPolyline":"Draw a polyline (freehand)","freehandPolygon":"Draw a polygon (freehand)"},"selectedCount":"Selection: {count}","selectedCountTruncated":"{truncated}+","deleteFeature":"Delete feature","deleteFeatures":"Delete features","selectFeature":"Select feature","duplicateFeature":"Duplicate feature","duplicateFeatures":"Duplicate features"}
|
|
1
|
+
{"widgetLabel":"Sketch","undo":"Undo","redo":"Redo","draw":{"point":"Draw a point","polygon":"Draw a polygon","polyline":"Draw a polyline","circle":"Draw a circle","rectangle":"Draw a rectangle","multipoint":"Draw a multipoint","mesh":"Draw a mesh","freehandPolyline":"Draw a polyline (freehand)","freehandPolygon":"Draw a polygon (freehand)","text":"Add text"},"selectedCount":"Selection: {count}","selectedCountTruncated":"{truncated}+","deleteFeature":"Delete feature","deleteFeatures":"Delete features","selectFeature":"Select feature","duplicateFeature":"Duplicate feature","duplicateFeatures":"Duplicate features"}
|
package/chunks/Fog.glsl.js
CHANGED
|
@@ -2,12 +2,7 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{create as e}from"../core/libs/gl-matrix-2/factories/vec3f64.js";import{ReadDepth as o}from"../views/3d/webgl-engine/core/shaderLibrary/output/ReadDepth.glsl.js";import{Gamma as r}from"../views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js";import{
|
|
6
|
-
if(dist == -1.0){
|
|
7
|
-
dist = 0.055 * sphereIntersect(cameraPosition, rayDir, atmosphereC).y;
|
|
8
|
-
}
|
|
9
|
-
return fogAmount * (1.0 - exp(-dist * fogStrength));
|
|
10
|
-
}`),u.main.add(a`
|
|
5
|
+
import{create as e}from"../core/libs/gl-matrix-2/factories/vec3f64.js";import{ReadDepth as o}from"../views/3d/webgl-engine/core/shaderLibrary/output/ReadDepth.glsl.js";import{Gamma as r}from"../views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js";import{Float3PassUniform as i}from"../views/3d/webgl-engine/core/shaderModules/Float3PassUniform.js";import{FloatPassUniform as s}from"../views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js";import{If as a,glsl as n}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{Texture2DBindUniform as t}from"../views/3d/webgl-engine/core/shaderModules/Texture2DBindUniform.js";import{Texture2DPassUniform as m}from"../views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js";import{RayDistanceFalloffPassParameters as l,RayDistanceFalloff as g}from"../views/3d/webgl-engine/effects/raymarching/RayDistanceFalloff.glsl.js";import{ScreenSpacePassAtmosphere as d}from"../views/3d/webgl-engine/shaders/ScreenSpacePassAtmosphere.glsl.js";import{ToneMapping as c}from"../views/3d/webgl-engine/shaders/ToneMapping.glsl.js";import{ShaderBuilder as f}from"../views/webgl/ShaderBuilder.js";class p extends l{constructor(){super(...arguments),this.color=e(),this.strength=4e-6,this.amount=0}}function u(e){const l=new f;l.include(d,{needUVs:!0,needEyeDirection:!0});const p=l.fragment,{hasEmissive:u}=e;return p.uniforms.add(new t("depthTexture",e=>e.mainDepth),new s("fogStrength",e=>e.strength),new s("fogAmount",e=>e.amount),new i("fogColor",e=>e.color)),u&&p.uniforms.add(new m("emissionTexture",e=>e.emission)),p.include(g),p.include(r),p.include(c),p.include(o),p.main.add(n`
|
|
11
6
|
vec3 rayDir = normalize(worldRay);
|
|
12
7
|
float terrainDepth = -1.0;
|
|
13
8
|
|
|
@@ -19,10 +14,10 @@ return fogAmount * (1.0 - exp(-dist * fogStrength));
|
|
|
19
14
|
terrainDepth = max(0.0, length(cameraSpaceRay));
|
|
20
15
|
}
|
|
21
16
|
|
|
22
|
-
float fogAmount =
|
|
17
|
+
float fogAmount = fogAmount * getDistanceFalloff(terrainDepth, rayDir, fogStrength);
|
|
23
18
|
|
|
24
|
-
${
|
|
19
|
+
${a(u,n`vec4 emission = texture(emissionTexture, uv);
|
|
25
20
|
vec3 emissionContribution = emission.a > 0.0 ? mix(vec3(0.0), emission.rgb * emission.a, 1.0 - fogAmount): vec3(0.0);
|
|
26
21
|
vec3 modifiedFogColor = fogColor + emissionContribution;
|
|
27
|
-
vec4 fog = vec4(modifiedFogColor, 1.0) * fogAmount;`,
|
|
28
|
-
fragColor = delinearizeGamma(vec4(tonemapACES(fog.rgb), fog.a));`),
|
|
22
|
+
vec4 fog = vec4(modifiedFogColor, 1.0) * fogAmount;`,n`vec4 fog = vec4(fogColor, 1.0) * fogAmount;`)}
|
|
23
|
+
fragColor = delinearizeGamma(vec4(tonemapACES(fog.rgb), fog.a));`),l}const h=Object.freeze(Object.defineProperty({__proto__:null,FogPassParameters:p,build:u},Symbol.toStringTag,{value:"Module"}));export{p as F,h as a,u as b};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{ScreenSpacePass as e}from"../views/3d/webgl-engine/core/shaderLibrary/ScreenSpacePass.glsl.js";import{Gamma as o}from"../views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js";import{FloatsPassUniform as r}from"../views/3d/webgl-engine/core/shaderModules/FloatsPassUniform.js";import{If as s,glsl as l}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{IntegerPassUniform as i}from"../views/3d/webgl-engine/core/shaderModules/IntegerPassUniform.js";import{Texture2DPassUniform as d}from"../views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js";import{ToneMapping as
|
|
5
|
+
import{ScreenSpacePass as e}from"../views/3d/webgl-engine/core/shaderLibrary/ScreenSpacePass.glsl.js";import{Gamma as o}from"../views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js";import{FloatsPassUniform as r}from"../views/3d/webgl-engine/core/shaderModules/FloatsPassUniform.js";import{If as s,glsl as l}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{IntegerPassUniform as i}from"../views/3d/webgl-engine/core/shaderModules/IntegerPassUniform.js";import{Texture2DPassUniform as d}from"../views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js";import{ToneMapping as n}from"../views/3d/webgl-engine/shaders/ToneMapping.glsl.js";import{NoParameters as t}from"../views/webgl/NoParameters.js";import{ShaderBuilder as a}from"../views/webgl/ShaderBuilder.js";class m extends t{constructor(){super(...arguments),this.lodFactors=[0,0,0,0,0,0],this.glowLod=-1}}function c(t){const m=new a,c=m.fragment;return m.include(e),c.include(o),m.outputs.add("fragColor","vec4",0),m.outputs.add("fragEmission","vec4",1),c.include(n),c.uniforms.add(new d("colorTexture",e=>e.color),new d("emissionTexture",e=>e.emission)),t.blurEnabled?(c.uniforms.add(new d("lodTexture0",e=>e.lodTexture0),new d("lodTexture1",e=>e.lodTexture1),new d("lodTexture2",e=>e.lodTexture2),new d("lodTexture3",e=>e.lodTexture3),new d("lodTexture4",e=>e.lodTexture4),new i("glowLod",e=>e.glowLod),new r("lodFactors",e=>e.lodFactors,6)).main.add(l`
|
|
6
6
|
vec4 color = texture(colorTexture, uv);
|
|
7
7
|
color = vec4(linearizeGamma(color.rgb), color.a);
|
|
8
8
|
|
|
@@ -25,7 +25,7 @@ import{ScreenSpacePass as e}from"../views/3d/webgl-engine/core/shaderLibrary/Scr
|
|
|
25
25
|
|
|
26
26
|
fragEmission = emission;
|
|
27
27
|
// tonemapping is only applied to the emissive part since main color values are not in HDR.
|
|
28
|
-
${s(
|
|
28
|
+
${s(t.tonemappingEnabled,"emission = vec4(tonemapACES(emission.rgb), emission.a);")}
|
|
29
29
|
|
|
30
30
|
fragColor = emission + color;
|
|
31
31
|
fragColor = delinearizeGamma(fragColor);
|
|
@@ -36,6 +36,6 @@ import{ScreenSpacePass as e}from"../views/3d/webgl-engine/core/shaderLibrary/Scr
|
|
|
36
36
|
// emission is already in linear color space here.
|
|
37
37
|
vec4 emission = texture(emissionTexture, uv);
|
|
38
38
|
|
|
39
|
-
${s(
|
|
39
|
+
${s(t.tonemappingEnabled,"emission = vec4(tonemapACES(emission.rgb), emission.a);")}
|
|
40
40
|
fragColor = delinearizeGamma(emission + color);
|
|
41
|
-
`),m)}const
|
|
41
|
+
`),m)}const u=Object.freeze(Object.defineProperty({__proto__:null,GlowCompositionPassParameters:m,build:c},Symbol.toStringTag,{value:"Module"}));export{m as G,u as a,c as b};
|
package/chunks/Terrain.glsl.js
CHANGED
|
@@ -2,29 +2,25 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{translate as e}from"../core/libs/gl-matrix-2/math/mat4.js";import{create as r}from"../core/libs/gl-matrix-2/factories/mat4f64.js";import{n as o,i as a}from"./vec32.js";import{create as i}from"../core/libs/gl-matrix-2/factories/vec3f64.js";import{addLinearDepth as l}from"../views/3d/webgl-engine/core/shaderLibrary/ForwardLinearDepth.glsl.js";import{addNearFar as t}from"../views/3d/webgl-engine/core/shaderLibrary/ForwardLinearDepthToWriteShadowMap.glsl.js";import{SliceDraw as n}from"../views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js";import{Transform as s}from"../views/3d/webgl-engine/core/shaderLibrary/Transform.glsl.js";import{NormalAttribute as
|
|
5
|
+
import{translate as e}from"../core/libs/gl-matrix-2/math/mat4.js";import{create as r}from"../core/libs/gl-matrix-2/factories/mat4f64.js";import{n as o,i as a}from"./vec32.js";import{create as i}from"../core/libs/gl-matrix-2/factories/vec3f64.js";import{addLinearDepth as l}from"../views/3d/webgl-engine/core/shaderLibrary/ForwardLinearDepth.glsl.js";import{addNearFar as t}from"../views/3d/webgl-engine/core/shaderLibrary/ForwardLinearDepthToWriteShadowMap.glsl.js";import{SliceDraw as n}from"../views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js";import{Transform as s}from"../views/3d/webgl-engine/core/shaderLibrary/Transform.glsl.js";import{NormalAttribute as d}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/NormalAttribute.glsl.js";import{TextureCoordinateAttribute as c}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/TextureCoordinateAttribute.glsl.js";import{VertexTangent as m}from"../views/3d/webgl-engine/core/shaderLibrary/attributes/VertexTangent.glsl.js";import{OutputDepth as v}from"../views/3d/webgl-engine/core/shaderLibrary/output/OutputDepth.glsl.js";import{OutputHighlight as g}from"../views/3d/webgl-engine/core/shaderLibrary/output/OutputHighlight.glsl.js";import{OutputHighlightOverlay as p}from"../views/3d/webgl-engine/core/shaderLibrary/output/OutputHighlightOverlay.js";import{EvaluateAmbientOcclusion as u}from"../views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateAmbientOcclusion.glsl.js";import{EvaluateSceneLighting as f,addAmbientBoostFactor as w,addLightingGlobalFactor as b}from"../views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js";import{addMainLightDirection as h,addMainLightIntensity as y}from"../views/3d/webgl-engine/core/shaderLibrary/shading/MainLighting.glsl.js";import{NormalUtils as C}from"../views/3d/webgl-engine/core/shaderLibrary/shading/NormalUtils.glsl.js";import{ReadShadowMapDraw as j}from"../views/3d/webgl-engine/core/shaderLibrary/shading/ReadShadowMap.glsl.js";import{OverlayTerrain as x}from"../views/3d/webgl-engine/core/shaderLibrary/terrain/Overlay.glsl.js";import{OverlayTerrainPassParameters as L,TerrainTexture as O}from"../views/3d/webgl-engine/core/shaderLibrary/terrain/TerrainTexture.glsl.js";import{addProjViewLocalOrigin as T,addViewNormal as M,addCameraPosition as P}from"../views/3d/webgl-engine/core/shaderLibrary/util/View.glsl.js";import{Float3BindUniform as $}from"../views/3d/webgl-engine/core/shaderModules/Float3BindUniform.js";import{If as z,glsl as S}from"../views/3d/webgl-engine/core/shaderModules/glsl.js";import{Matrix4DrawUniform as N}from"../views/3d/webgl-engine/core/shaderModules/Matrix4DrawUniform.js";import{Texture2DBindUniform as F}from"../views/3d/webgl-engine/core/shaderModules/Texture2DBindUniform.js";import{ShaderBuilder as D}from"../views/webgl/ShaderBuilder.js";import{alphaCutoff as _}from"../webscene/support/AlphaCutoff.js";class A extends L{}function V(r){const i=new D,{attributes:L,vertex:A,fragment:V,varyings:B}=i;L.add("position","vec3"),i.include(d,r),i.include(c,r);const k=()=>{i.include(C,r),A.code.add(S`vec3 getNormal() {
|
|
6
6
|
float z = 1.0 - abs(normalCompressed.x) - abs(normalCompressed.y);
|
|
7
7
|
vec3 n = vec3(normalCompressed + vec2(normalCompressed.x >= 0.0 ? 1.0 : -1.0,
|
|
8
8
|
normalCompressed.y >= 0.0 ? 1.0 : -1.0) * min(z, 0.0), z);
|
|
9
9
|
return normalize(n);
|
|
10
|
-
}`)};
|
|
10
|
+
}`)};T(A,r),i.include(s);const{output:H,pbrMode:E,overlayMode:q,tileBorders:I,spherical:R,transparencyMode:G,overlayEnabled:J}=r,K=2===G||3===G,Q=J&&K;switch(H){case 1:case 0:{i.include(O,r),i.include(f,r),J&&(r.pbrMode=5===E?6:3,i.include(x,r),r.pbrMode=E);const l=2===q;l&&i.include(m,r),B.add("vnormal","vec3"),B.add("vpos","vec3",{invariant:!0}),B.add("vup","vec3"),k(),A.main.add(S`
|
|
11
11
|
vpos = position;
|
|
12
12
|
vec3 positionWorld = position + localOrigin;
|
|
13
13
|
gl_Position = transformPosition(proj, view, vpos);
|
|
14
14
|
vnormal = getNormal();
|
|
15
15
|
vup = getLocalUp(position, localOrigin);
|
|
16
|
-
${
|
|
16
|
+
${z(l,S`forwardVertexTangent(vnormal);`)}
|
|
17
17
|
|
|
18
18
|
forwardTextureCoordinatesWithTransform(uv0);
|
|
19
|
-
${
|
|
20
|
-
${
|
|
21
|
-
${
|
|
22
|
-
screenSizeDistanceToCamera = length(viewPos);
|
|
23
|
-
vec3 viewSpaceNormal = (viewNormal * vec4(normalize(positionWorld), 1.0)).xyz;
|
|
24
|
-
screenSizeCosAngle = abs(viewSpaceNormal.z);`)}
|
|
25
|
-
forwardLinearDepthToReadShadowMap();`),i.include(x,r),V.include(n,r),i.include(u,r),V.include(f,r),T(V,r),w(V),b(V),V.uniforms.add(_.uniforms.get("localOrigin"),new M("viewDirection",({camera:e})=>o(U,a(U,e.viewMatrix[12],e.viewMatrix[13],e.viewMatrix[14])))),l&&V.uniforms.add(new D("ovWaterTex",e=>e.overlay?.getTexture(3)),new N("view",({origin:r},{camera:o})=>e(W,o.viewMatrix,r)));const t=.2;V.code.add($`float lum(vec3 c) {
|
|
19
|
+
${z(J,"setOverlayVTC(uv0);")}
|
|
20
|
+
${z(I,"forwardTextureCoordinates();")}
|
|
21
|
+
forwardLinearDepthToReadShadowMap();`),i.include(j,r),V.include(n,r),i.include(f,r),V.include(u,r),P(V,r),w(V),b(V),V.uniforms.add(A.uniforms.get("localOrigin"),new $("viewDirection",({camera:e})=>o(U,a(U,e.viewMatrix[12],e.viewMatrix[13],e.viewMatrix[14])))),l&&V.uniforms.add(new F("ovWaterTex",e=>e.overlay?.getTexture(3)),new N("view",({origin:r},{camera:o})=>e(W,o.viewMatrix,r)));const t=.2;V.code.add(S`float lum(vec3 c) {
|
|
26
22
|
return (min(min(c.r, c.g), c.b) + max(max(c.r, c.g), c.b)) * 0.5;
|
|
27
|
-
}`),h(V),
|
|
23
|
+
}`),h(V),y(V),V.main.add(S`
|
|
28
24
|
vec3 normal = normalize(vnormal);
|
|
29
25
|
float vndl = dot(normal, mainLightDirection);
|
|
30
26
|
|
|
@@ -33,21 +29,21 @@ return (min(min(c.r, c.g), c.b) + max(max(c.r, c.g), c.b)) * 0.5;
|
|
|
33
29
|
float ssao = evaluateAmbientOcclusionInverse();
|
|
34
30
|
vec4 tileColor = getTileColor();
|
|
35
31
|
|
|
36
|
-
${
|
|
32
|
+
${z(J,S`vec4 overlayColorOpaque = getOverlayColor(ovColorTex, vtcOverlay);
|
|
37
33
|
vec4 overlayColor = overlayOpacity * overlayColorOpaque;
|
|
38
|
-
${
|
|
34
|
+
${z(K,`if (overlayColor.a < ${S.float(_)}) { discard; }`)}
|
|
39
35
|
vec4 groundColor = tileColor;
|
|
40
36
|
tileColor = tileColor * (1.0 - overlayColor.a) + overlayColor;`)}
|
|
41
37
|
|
|
42
38
|
// If combined alpha is 0 we can discard pixel. The performance impact by having a discard here
|
|
43
39
|
// is neglectable because terrain typically renders first into the framebuffer.
|
|
44
|
-
if(tileColor.a < ${
|
|
40
|
+
if(tileColor.a < ${S.float(_)}) {
|
|
45
41
|
discard;
|
|
46
42
|
}
|
|
47
43
|
|
|
48
44
|
bool sliced = rejectBySlice(vpos);
|
|
49
45
|
if (sliced) {
|
|
50
|
-
tileColor *= ${
|
|
46
|
+
tileColor *= ${S.float(t)};
|
|
51
47
|
}
|
|
52
48
|
|
|
53
49
|
vec3 albedo = tileColor.rgb;
|
|
@@ -56,8 +52,8 @@ return (min(min(c.r, c.g), c.b) + max(max(c.r, c.g), c.b)) * 0.5;
|
|
|
56
52
|
|
|
57
53
|
vec3 additionalLight = ssao * mainLightIntensity * additionalAmbientScale * ambientBoostFactor * lightingGlobalFactor;
|
|
58
54
|
|
|
59
|
-
${5===E||6===E
|
|
60
|
-
${
|
|
55
|
+
${5===E||6===E?S`fragColor = vec4(evaluatePBRSimplifiedLighting(normal, albedo, shadow, 1.0 - ssao, additionalLight, normalize(vpos - cameraPosition), vup), tileColor.a);`:S`fragColor = vec4(evaluateSceneLighting(normal, albedo, shadow, 1.0 - ssao, additionalLight), tileColor.a);`}
|
|
56
|
+
${z(l,S`vec4 overlayWaterMask = getOverlayColor(ovWaterTex, vtcOverlay);
|
|
61
57
|
float waterNormalLength = length(overlayWaterMask);
|
|
62
58
|
if (waterNormalLength > 0.95) {
|
|
63
59
|
mat3 tbnMatrix = mat3(tbnTangent, tbnBiTangent, vnormal);
|
|
@@ -65,48 +61,38 @@ return (min(min(c.r, c.g), c.b) + max(max(c.r, c.g), c.b)) * 0.5;
|
|
|
65
61
|
vec4 viewPosition = view*vec4(vpos, 1.0);
|
|
66
62
|
vec4 waterColorLinear = getOverlayWaterColor(overlayWaterMask, waterOverlayColor, -normalize(vpos - cameraPosition), shadow, vnormal, tbnMatrix, viewPosition.xyz, vpos + localOrigin);
|
|
67
63
|
vec4 waterColorNonLinear = delinearizeGamma(vec4(waterColorLinear.xyz, 1.0));
|
|
68
|
-
float opacity = sliced ? ${
|
|
64
|
+
float opacity = sliced ? ${S.float(t)} : 1.0;
|
|
69
65
|
// un-gamma the ground color to mix in linear space
|
|
70
66
|
fragColor = mix(groundColor, waterColorNonLinear, waterColorLinear.w) * opacity;
|
|
71
67
|
}`)}
|
|
72
|
-
${
|
|
73
|
-
if (perspectiveScale <= 0.25) {
|
|
74
|
-
fragColor = mix(fragColor, vec4(1.0, 0.0, 0.0, 1.0), perspectiveScale * 4.0);
|
|
75
|
-
} else if (perspectiveScale <= 0.5) {
|
|
76
|
-
fragColor = mix(fragColor, vec4(0.0, 0.0, 1.0, 1.0), (perspectiveScale - 0.25) * 4.0);
|
|
77
|
-
} else if (perspectiveScale >= 0.99) {
|
|
78
|
-
fragColor = mix(fragColor, vec4(0.0, 1.0, 0.0, 1.0), 0.2);
|
|
79
|
-
} else {
|
|
80
|
-
fragColor = mix(fragColor, vec4(1.0, 0.0, 1.0, 1.0), (perspectiveScale - 0.5) * 2.0);
|
|
81
|
-
}`)}
|
|
82
|
-
${P(r.visualizeNormals,R?$`
|
|
68
|
+
${z(r.visualizeNormals,R?S`
|
|
83
69
|
vec3 localUp = normalize(vpos + localOrigin);
|
|
84
70
|
vec3 right = normalize(cross(vec3(0.0, 0.0, 1.0), localUp));
|
|
85
71
|
vec3 forward = normalize(cross(localUp, right));
|
|
86
72
|
mat3 tbn = mat3(right, forward, localUp);
|
|
87
73
|
vec3 tNormal = normalize(normal * tbn);
|
|
88
|
-
fragColor = vec4(vec3(0.5) + 0.5 * tNormal, 0.0)
|
|
74
|
+
fragColor = vec4(vec3(0.5) + 0.5 * tNormal, 0.0);`:S`
|
|
89
75
|
vec3 tNormal = normalize(normal);
|
|
90
76
|
fragColor = vec4(vec3(0.5) + 0.5 * tNormal, 0.0);`)}
|
|
91
|
-
${
|
|
77
|
+
${z(I,S`vec2 dVuv = fwidth(vuv0);
|
|
92
78
|
vec2 edgeFactors = smoothstep(vec2(0.0), 1.5 * dVuv, min(vuv0, 1.0 - vuv0));
|
|
93
79
|
float edgeFactor = 1.0 - min(edgeFactors.x, edgeFactors.y);
|
|
94
80
|
fragColor = mix(fragColor, vec4(1.0, 0.0, 0.0, 1.0), edgeFactor);`)}
|
|
95
|
-
fragColor = applySlice(fragColor, vpos);`)}break;case 2:
|
|
96
|
-
${
|
|
97
|
-
gl_Position = transformPosition(proj, view, position);`),V.main.add(`${
|
|
98
|
-
${
|
|
81
|
+
fragColor = applySlice(fragColor, vpos);`)}break;case 2:Q&&i.include(x,r),A.main.add(S`
|
|
82
|
+
${z(Q,"setOverlayVTC(uv0);")}
|
|
83
|
+
gl_Position = transformPosition(proj, view, position);`),V.main.add(`${z(Q,`if (getCombinedOverlayColor().a < ${S.float(_)}) discard;`)}`);break;case 4:case 5:case 6:case 7:case 8:i.include(v,r),l(i),t(i),A.main.add(S`gl_Position = transformPositionWithDepth(proj, view, position, nearFar, linearDepth);`),V.main.add(S`outputDepth(linearDepth);`);break;case 3:Q&&i.include(x,r),B.add("vnormal","vec3"),M(A),k(),A.main.add(S`
|
|
84
|
+
${z(Q,"setOverlayVTC(uv0);")}
|
|
99
85
|
gl_Position = transformPosition(proj, view, position);
|
|
100
|
-
vnormal = normalize((viewNormal * vec4(getNormal(), 1.0)).xyz);`),V.main.add(
|
|
101
|
-
${
|
|
86
|
+
vnormal = normalize((viewNormal * vec4(getNormal(), 1.0)).xyz);`),V.main.add(S`
|
|
87
|
+
${z(Q,`if (getCombinedOverlayColor().a < ${S.float(_)}) discard;`)}
|
|
102
88
|
vec3 normal = normalize(vnormal);
|
|
103
89
|
if (gl_FrontFacing == false) {
|
|
104
90
|
normal = -normal;
|
|
105
91
|
}
|
|
106
|
-
fragColor = vec4(vec3(0.5) + 0.5 * normal, 1.0);`);break;case 9:
|
|
107
|
-
${
|
|
108
|
-
gl_Position = transformPosition(proj, view, position);`),i.include(g,r),V.main.add(
|
|
109
|
-
${
|
|
92
|
+
fragColor = vec4(vec3(0.5) + 0.5 * normal, 1.0);`);break;case 9:J&&(i.include(x,r),i.include(p,r)),A.main.add(S`
|
|
93
|
+
${z(J,"setOverlayVTC(uv0);")}
|
|
94
|
+
gl_Position = transformPosition(proj, view, position);`),i.include(g,r),V.main.add(S`
|
|
95
|
+
${z(J,S`
|
|
110
96
|
calculateOcclusionAndOutputHighlight(getAllOverlayHighlightValuesEncoded());`,"calculateOcclusionAndOutputHighlight();")}
|
|
111
|
-
`)}if(10===H)if(
|
|
112
|
-
setOverlayVTC(uv0);`),V.main.add(
|
|
97
|
+
`)}if(10===H)if(J)r.pbrMode=0,i.include(x,r),r.pbrMode=E,A.main.add(S`gl_Position = transformPosition(proj, view, position);
|
|
98
|
+
setOverlayVTC(uv0);`),V.main.add(S`fragColor = getOverlayColorTexel();`);else{const e=0===G;A.main.add(S`${z(e,"gl_Position = transformPosition(proj, view, position);")}`),V.main.add(S`fragColor = vec4(0.0);`)}return i}const W=r(),U=i(),B=Object.freeze(Object.defineProperty({__proto__:null,TerrainPassParameters:A,build:V},Symbol.toStringTag,{value:"Module"}));export{A as T,B as a,V as b};
|
package/chunks/boundedPlane.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import"../core/has.js";import t from"../core/Logger.js";import{acosClamped as s}from"../core/mathUtils.js";import{ObjectStack as i}from"../core/ObjectStack.js";import{invert as n,transpose as r,fromRotation as e}from"../core/libs/gl-matrix-2/math/mat4.js";import{create as o}from"../core/libs/gl-matrix-2/factories/mat4f64.js";import{c as a,g as c,f as u,i as g,j as b,l as f,E as p,e as l,d as m,q as d,t as j,k as h,n as I}from"./vec32.js";import{fromValues as y,clone as v,create as P}from"../core/libs/gl-matrix-2/factories/vec3f64.js";import{fromValues as N}from"../geometry/support/aaBoundingRect.js";import{projectPointClamp as w,distance2 as x,create as M}from"../geometry/support/lineSegment.js";import{create as S,wrap as T,copy as V,fromVectorsAndPoint as A,fromValues as E,intersectRay as _,intersectLineSegment as O,intersectLineSegmentClamp as k,isPointInside as q,projectPoint as F,getNormal as R,setOffsetFromPoint as B}from"../geometry/support/plane.js";import{distance2 as C}from"../geometry/support/ray.js";import{projectPointSignedLength as Y}from"../geometry/support/vector.js";import{sv3d as L}from"../geometry/support/vectorStacks.js";const U=()=>t.getLogger("esri.views.3d.support.geometryUtils.boundedPlane");function z(t=Nt){return{plane:S(t.plane),origin:v(t.origin),basis1:v(t.basis1),basis2:v(t.basis2)}}function D(t,s,i){const n=St.get();return n.origin=t,n.basis1=s,n.basis2=i,n.plane=T(0,0,0,0),J(n),n}function G(t,s=z()){return H(t.origin,t.basis1,t.basis2,s)}function W(t,s){a(s.origin,t.origin),a(s.basis1,t.basis1),a(s.basis2,t.basis2),V(s.plane,t.plane)}function H(t,s,i,n=z()){return a(n.origin,t),a(n.basis1,s),a(n.basis2,i),J(n),vt(n,"fromValues()"),n}function J(t){A(t.basis2,t.basis1,t.origin,t.plane)}function K(t,s,i){t!==i&&G(t,i);const n=c(L.get(),dt(t),s);return u(i.origin,i.origin,n),i.plane[3]-=s,i}function Q(t,s,i){return Z(s,i),K(i,bt(t,t.origin),i),i}function X(t,s){const i=t.basis1[0],n=t.basis2[1],[r,e]=t.origin;return N(r-i,e-n,r+i,e+n,s)}function Z(t,s=z()){const i=(t[2]-t[0])/2,n=(t[3]-t[1])/2;return g(s.origin,t[0]+i,t[1]+n,0),g(s.basis1,i,0,0),g(s.basis2,0,n,0),E(0,0,1,0,s.plane),s}function $(t,s,i){return!!_(t.plane,s,i)&&ht(t,i)}function tt(t,s,i){if($(t,s,i))return i;const n=st(t,s,L.get());return u(i,s.origin,c(L.get(),s.direction,b(s.origin,n)/f(s.direction))),i}function st(t,i,n){const r=wt.get();Pt(t,i,r,wt.get());let e=Number.POSITIVE_INFINITY;for(const o of Tt){const c=yt(t,o,xt.get()),u=L.get();if(O(r,c,u)){const t=p(L.get(),i.origin,u),r=Math.abs(s(l(i.direction,t)));r<e&&(e=r,a(n,u))}}return e===Number.POSITIVE_INFINITY?nt(t,i,n):n}function it(t,s){return(s-t)/s}function nt(t,s,i){if($(t,s,i))return i;const n=wt.get(),r=wt.get();Pt(t,s,n,r);let e=Number.POSITIVE_INFINITY;for(const o of Tt){const c=yt(t,o,xt.get()),u=L.get();if(k(n,c,u)){const t=C(s,u);if(!q(r,u))continue;t<e&&(e=t,a(i,u))}}return ot(t,s.origin)<e&&rt(t,s.origin,i),i}function rt(t,s,i){const n=F(t.plane,s,L.get()),r=w(It(t,t.basis1),n,-1,1,L.get()),e=w(It(t,t.basis2),n,-1,1,L.get());return m(i,u(L.get(),r,e),t.origin),i}function et(t,s,i){const{origin:n,basis1:r,basis2:e}=t,o=m(L.get(),s,n),a=Y(r,o),c=Y(e,o),u=Y(dt(t),o);return g(i,a,c,u)}function ot(t,s){const i=et(t,s,L.get()),{basis1:n,basis2:r}=t,e=f(n),o=f(r),a=Math.max(Math.abs(i[0])-e,0),c=Math.max(Math.abs(i[1])-o,0),u=i[2];return a*a+c*c+u*u}function at(t,s){return Math.sqrt(ot(t,s))}function ct(t,s){let i=Number.NEGATIVE_INFINITY;for(const n of Tt){const r=yt(t,n,xt.get()),e=x(r,s);e>i&&(i=e)}return Math.sqrt(i)}function ut(t,s){return q(t.plane,s)&&ht(t,s)}function gt(t,s,i,n){return jt(t,i,n)}function bt(t,s){const i=-t.plane[3];return Y(dt(t),s)-i}function ft(t,s,i,n){const r=bt(t,s),e=c(Mt,dt(t),i-r);return u(n,s,e),n}function pt(t,s){return d(t.basis1,s.basis1)&&d(t.basis2,s.basis2)&&d(t.origin,s.origin)}function lt(t,s,i){return t!==i&&G(t,i),n(Vt,s),r(Vt,Vt),j(i.basis1,t.basis1,Vt),j(i.basis2,t.basis2,Vt),j(R(i.plane),R(t.plane),Vt),j(i.origin,t.origin,s),B(i.plane,i.plane,i.origin),i}function mt(t,s,i,n){return t!==n&&G(t,n),e(At,s,i),j(n.basis1,t.basis1,At),j(n.basis2,t.basis2,At),J(n),n}function dt(t){return R(t.plane)}function jt(t,s,i){switch(s){case 0:a(i,t.basis1),I(i,i);break;case 1:a(i,t.basis2),I(i,i);break;case 2:a(i,dt(t))}return i}function ht(t,s){const i=m(L.get(),s,t.origin),n=h(t.basis1),r=h(t.basis2),e=l(t.basis1,i),o=l(t.basis2,i);return-e-n<0&&e-n<0&&-o-r<0&&o-r<0}function It(t,s){const i=xt.get();return a(i.origin,t.origin),a(i.vector,s),i}function yt(t,s,i){const{basis1:n,basis2:r,origin:e}=t,o=c(L.get(),n,s.origin[0]),a=c(L.get(),r,s.origin[1]);u(i.origin,o,a),u(i.origin,i.origin,e);const g=c(L.get(),n,s.direction[0]),b=c(L.get(),r,s.direction[1]);return c(i.vector,u(g,g,b),2),i}function vt(t,s){Math.abs(l(t.basis1,t.basis2)/(f(t.basis1)*f(t.basis2)))>1e-6&&U().warn(s,"Provided basis vectors are not perpendicular"),Math.abs(l(t.basis1,dt(t)))>1e-6&&U().warn(s,"Basis vectors and plane normal are not perpendicular"),Math.abs(-l(dt(t),t.origin)-t.plane[3])>1e-6&&U().warn(s,"Plane offset is not consistent with plane origin")}function Pt(t,s,i,n){const r=dt(t);A(r,s.direction,s.origin,i),A(R(i),r,s.origin,n)}const Nt={plane:S(),origin:y(0,0,0),basis1:y(1,0,0),basis2:y(0,1,0)},wt=new i(S),xt=new i(M),Mt=P(),St=new i(()=>z()),Tt=[{origin:[-1,-1],direction:[1,0]},{origin:[1,-1],direction:[0,1]},{origin:[1,1],direction:[-1,0]},{origin:[-1,1],direction:[0,-1]}],Vt=o(),At=o(),Et=Object.freeze(Object.defineProperty({__proto__:null,altitudeAt:bt,axisAt:gt,cameraFrustumCoverage:it,closestPoint:nt,closestPointOnSilhouette:st,copy:G,copyWithoutVerify:W,create:z,distance:at,distance2:ot,distanceToSilhouette:ct,elevate:K,equals:pt,extrusionContainsPoint:ut,fromAABoundingRect:Z,fromValues:H,getExtent:X,intersectRay:$,intersectRayClosestSilhouette:tt,normal:dt,projectPoint:rt,projectPointLocal:et,rotate:mt,setAltitudeAt:ft,setExtent:Q,transform:lt,up:Nt,updateUnboundedPlane:J,wrap:D},Symbol.toStringTag,{value:"Module"}));export{gt as A,bt as B,ft as C,Nt as D,
|
|
5
|
+
import"../core/has.js";import t from"../core/Logger.js";import{acosClamped as s}from"../core/mathUtils.js";import{ObjectStack as i}from"../core/ObjectStack.js";import{invert as n,transpose as r,fromRotation as e}from"../core/libs/gl-matrix-2/math/mat4.js";import{create as o}from"../core/libs/gl-matrix-2/factories/mat4f64.js";import{c as a,g as c,f as u,i as g,j as b,l as f,E as p,e as l,d as m,q as d,t as j,k as h,n as I}from"./vec32.js";import{fromValues as y,clone as v,create as P}from"../core/libs/gl-matrix-2/factories/vec3f64.js";import{fromValues as N}from"../geometry/support/aaBoundingRect.js";import{projectPointClamp as w,distance2 as x,create as M}from"../geometry/support/lineSegment.js";import{create as S,wrap as T,copy as V,fromVectorsAndPoint as A,fromValues as E,intersectRay as _,intersectLineSegment as O,intersectLineSegmentClamp as k,isPointInside as q,projectPoint as F,getNormal as R,setOffsetFromPoint as B}from"../geometry/support/plane.js";import{distance2 as C}from"../geometry/support/ray.js";import{projectPointSignedLength as Y}from"../geometry/support/vector.js";import{sv3d as L}from"../geometry/support/vectorStacks.js";const U=()=>t.getLogger("esri.views.3d.support.geometryUtils.boundedPlane");function z(t=Nt){return{plane:S(t.plane),origin:v(t.origin),basis1:v(t.basis1),basis2:v(t.basis2)}}function D(t,s,i){const n=St.get();return n.origin=t,n.basis1=s,n.basis2=i,n.plane=T(0,0,0,0),J(n),n}function G(t,s=z()){return H(t.origin,t.basis1,t.basis2,s)}function W(t,s){a(s.origin,t.origin),a(s.basis1,t.basis1),a(s.basis2,t.basis2),V(s.plane,t.plane)}function H(t,s,i,n=z()){return a(n.origin,t),a(n.basis1,s),a(n.basis2,i),J(n),vt(n,"fromValues()"),n}function J(t){A(t.basis2,t.basis1,t.origin,t.plane)}function K(t,s,i){t!==i&&G(t,i);const n=c(L.get(),dt(t),s);return u(i.origin,i.origin,n),i.plane[3]-=s,i}function Q(t,s,i){return Z(s,i),K(i,bt(t,t.origin),i),i}function X(t,s){const i=t.basis1[0],n=t.basis2[1],[r,e]=t.origin;return N(r-i,e-n,r+i,e+n,s)}function Z(t,s=z()){const i=(t[2]-t[0])/2,n=(t[3]-t[1])/2;return g(s.origin,t[0]+i,t[1]+n,0),g(s.basis1,i,0,0),g(s.basis2,0,n,0),E(0,0,1,0,s.plane),s}function $(t,s,i){return!!_(t.plane,s,i)&&ht(t,i)}function tt(t,s,i){if($(t,s,i))return i;const n=st(t,s,L.get());return u(i,s.origin,c(L.get(),s.direction,b(s.origin,n)/f(s.direction))),i}function st(t,i,n){const r=wt.get();Pt(t,i,r,wt.get());let e=Number.POSITIVE_INFINITY;for(const o of Tt){const c=yt(t,o,xt.get()),u=L.get();if(O(r,c,u)){const t=p(L.get(),i.origin,u),r=Math.abs(s(l(i.direction,t)));r<e&&(e=r,a(n,u))}}return e===Number.POSITIVE_INFINITY?nt(t,i,n):n}function it(t,s){return(s-t)/s}function nt(t,s,i){if($(t,s,i))return i;const n=wt.get(),r=wt.get();Pt(t,s,n,r);let e=Number.POSITIVE_INFINITY;for(const o of Tt){const c=yt(t,o,xt.get()),u=L.get();if(k(n,c,u)){const t=C(s,u);if(!q(r,u))continue;t<e&&(e=t,a(i,u))}}return ot(t,s.origin)<e&&rt(t,s.origin,i),i}function rt(t,s,i){const n=F(t.plane,s,L.get()),r=w(It(t,t.basis1),n,-1,1,L.get()),e=w(It(t,t.basis2),n,-1,1,L.get());return m(i,u(L.get(),r,e),t.origin),i}function et(t,s,i){const{origin:n,basis1:r,basis2:e}=t,o=m(L.get(),s,n),a=Y(r,o),c=Y(e,o),u=Y(dt(t),o);return g(i,a,c,u)}function ot(t,s){const i=et(t,s,L.get()),{basis1:n,basis2:r}=t,e=f(n),o=f(r),a=Math.max(Math.abs(i[0])-e,0),c=Math.max(Math.abs(i[1])-o,0),u=i[2];return a*a+c*c+u*u}function at(t,s){return Math.sqrt(ot(t,s))}function ct(t,s){let i=Number.NEGATIVE_INFINITY;for(const n of Tt){const r=yt(t,n,xt.get()),e=x(r,s);e>i&&(i=e)}return Math.sqrt(i)}function ut(t,s){return q(t.plane,s)&&ht(t,s)}function gt(t,s,i,n){return jt(t,i,n)}function bt(t,s){const i=-t.plane[3];return Y(dt(t),s)-i}function ft(t,s,i,n){const r=bt(t,s),e=c(Mt,dt(t),i-r);return u(n,s,e),n}function pt(t,s){return d(t.basis1,s.basis1)&&d(t.basis2,s.basis2)&&d(t.origin,s.origin)}function lt(t,s,i){return t!==i&&G(t,i),n(Vt,s),r(Vt,Vt),j(i.basis1,t.basis1,Vt),j(i.basis2,t.basis2,Vt),j(R(i.plane),R(t.plane),Vt),j(i.origin,t.origin,s),B(i.plane,i.plane,i.origin),i}function mt(t,s,i,n){return t!==n&&G(t,n),e(At,s,i),j(n.basis1,t.basis1,At),j(n.basis2,t.basis2,At),J(n),n}function dt(t){return R(t.plane)}function jt(t,s,i){switch(s){case 0:a(i,t.basis1),I(i,i);break;case 1:a(i,t.basis2),I(i,i);break;case 2:a(i,dt(t))}return i}function ht(t,s){const i=m(L.get(),s,t.origin),n=h(t.basis1),r=h(t.basis2),e=l(t.basis1,i),o=l(t.basis2,i);return-e-n<0&&e-n<0&&-o-r<0&&o-r<0}function It(t,s){const i=xt.get();return a(i.origin,t.origin),a(i.vector,s),i}function yt(t,s,i){const{basis1:n,basis2:r,origin:e}=t,o=c(L.get(),n,s.origin[0]),a=c(L.get(),r,s.origin[1]);u(i.origin,o,a),u(i.origin,i.origin,e);const g=c(L.get(),n,s.direction[0]),b=c(L.get(),r,s.direction[1]);return c(i.vector,u(g,g,b),2),i}function vt(t,s){Math.abs(l(t.basis1,t.basis2)/(f(t.basis1)*f(t.basis2)))>1e-6&&U().warn(s,"Provided basis vectors are not perpendicular"),Math.abs(l(t.basis1,dt(t)))>1e-6&&U().warn(s,"Basis vectors and plane normal are not perpendicular"),Math.abs(-l(dt(t),t.origin)-t.plane[3])>1e-6&&U().warn(s,"Plane offset is not consistent with plane origin")}function Pt(t,s,i,n){const r=dt(t);A(r,s.direction,s.origin,i),A(R(i),r,s.origin,n)}const Nt={plane:S(),origin:y(0,0,0),basis1:y(1,0,0),basis2:y(0,1,0)},wt=new i(S),xt=new i(M),Mt=P(),St=new i(()=>z()),Tt=[{origin:[-1,-1],direction:[1,0]},{origin:[1,-1],direction:[0,1]},{origin:[1,1],direction:[-1,0]},{origin:[-1,1],direction:[0,-1]}],Vt=o(),At=o(),Et=Object.freeze(Object.defineProperty({__proto__:null,altitudeAt:bt,axisAt:gt,cameraFrustumCoverage:it,closestPoint:nt,closestPointOnSilhouette:st,copy:G,copyWithoutVerify:W,create:z,distance:at,distance2:ot,distanceToSilhouette:ct,elevate:K,equals:pt,extrusionContainsPoint:ut,fromAABoundingRect:Z,fromValues:H,getExtent:X,intersectRay:$,intersectRayClosestSilhouette:tt,normal:dt,projectPoint:rt,projectPointLocal:et,rotate:mt,setAltitudeAt:ft,setExtent:Q,transform:lt,up:Nt,updateUnboundedPlane:J,wrap:D},Symbol.toStringTag,{value:"Module"}));export{gt as A,bt as B,ft as C,Nt as D,z as a,Et as b,it as c,G as d,ut as e,H as f,pt as g,Z as h,$ as i,at as j,W as k,K as l,X as m,dt as n,tt as o,st as p,nt as q,mt as r,Q as s,lt as t,J as u,rt as v,D as w,et as x,ot as y,ct as z};
|
package/config.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import"./core/has.js";import{deepMerge as e}from"./core/object.js";const s={apiKey:void 0,apiKeys:{scopes:[]},applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&(e(s,globalThis.esriConfig,!0),delete s.has),!s.assetsPath){{const e="4.34.0-next.
|
|
5
|
+
import"./core/has.js";import{deepMerge as e}from"./core/object.js";const s={apiKey:void 0,apiKeys:{scopes:[]},applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&(e(s,globalThis.esriConfig,!0),delete s.has),!s.assetsPath){{const e="4.34.0-next.73";s.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}/assets`}s.defaultAssetsPath=s.assetsPath}export{s as default};
|