@arcgis/core 4.29.0-next.20231220 → 4.29.0-next.20231221
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/analysis/Analysis.js +1 -1
- package/applications/WebEditor/sketchUtils.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/00b340b4495bfabd4ca2.js +1 -0
- package/assets/esri/core/workers/chunks/{4301736368af52b94ee2.js → 02d6e2f0b1003534a077.js} +1 -1
- package/assets/esri/core/workers/chunks/0e315452f11b112523f0.js +1 -0
- package/assets/esri/core/workers/chunks/{37faadfa58a2f72d11bd.js → 1254a544d369d99ccf59.js} +1 -1
- package/assets/esri/core/workers/chunks/{0be38fd63e870341c660.js → 220fcc25578b2ef316da.js} +1 -1
- package/assets/esri/core/workers/chunks/{c9f8354d51f701cd69e5.js → 321dcff84c31c739ed93.js} +1 -1
- package/assets/esri/core/workers/chunks/{f350378a0d93dda39425.js → 7205c1680afee0cc0aac.js} +1 -1
- package/assets/esri/core/workers/chunks/831283ac6653d7af90b6.js +1 -0
- package/assets/esri/core/workers/chunks/8485562b452686c6c3f2.js +1 -0
- package/assets/esri/core/workers/chunks/{ff582d31932d72912c33.js → b7c2244c27790ccaca92.js} +1 -1
- package/assets/esri/core/workers/chunks/dbded06d7a944dd97b01.js +1 -0
- package/assets/esri/core/workers/chunks/dcfc48bf5c27774fa05c.js +1 -0
- package/assets/esri/core/workers/chunks/e4049e498b3eaa9c8596.js +1 -0
- package/assets/esri/themes/base/widgets/_Directions.scss +4 -0
- package/assets/esri/themes/base/widgets/_Grid.scss +8 -2
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/chunks/vec32.js +1 -1
- package/core/PooledArray.js +1 -1
- package/core/libs/gl-matrix-2/math/vec3.js +1 -1
- package/geometry/ellipsoidUtils.js +1 -1
- package/interfaces.d.ts +298 -30
- package/layers/GeoJSONLayer.js +1 -1
- package/layers/IntegratedMesh3DTilesLayer.js +1 -1
- package/layers/support/rasterFunctions/BandArithmeticFunction.js +1 -1
- package/layers/support/rasterFunctions/bandIndexUtils.js +1 -1
- package/package.json +1 -1
- package/support/revision.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/layers/FeatureLayerView2D.js +1 -1
- package/views/2d/layers/support/DebugOverlay.js +1 -1
- package/views/3d/analysis/AnalysisView3D.js +1 -1
- package/views/3d/analysis/Dimension/lengthDimensionUtils.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/ImageryTileLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesViewPerformanceInfo.js +5 -0
- package/views/3d/layers/TiledLayerView3D.js +1 -1
- package/views/3d/layers/i3s/I3SIntersectionHandler.js +1 -1
- package/views/3d/layers/i3s/I3SUtil.js +1 -1
- package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
- package/views/3d/layers/i3s/LayerElevationProvider.js +1 -1
- package/views/3d/layers/i3s/PagedNodeIndex.js +1 -1
- package/views/3d/layers/support/DefinitionExpressionSceneLayerView.js +1 -1
- package/views/3d/layers/support/TemporalSceneLayerView.js +1 -1
- package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
- package/views/3d/support/RenderCoordsHelper.js +1 -1
- package/views/3d/support/orientedBoundingBox.js +1 -1
- package/views/3d/terrain/OverlayFramebufferObject.js +1 -1
- package/views/3d/terrain/OverlayManager.js +1 -1
- package/views/3d/terrain/OverlayRenderer.js +1 -1
- package/views/3d/terrain/PatchRenderData.js +1 -1
- package/views/3d/terrain/SphericalPatch.js +1 -1
- package/views/3d/terrain/TerrainSurface.js +1 -1
- package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
- package/views/3d/webgl-engine/collections/Component/IntersectionGeometry.js +1 -1
- package/views/3d/webgl-engine/core/FBOCache.js +1 -1
- package/views/3d/webgl-engine/effects/RenderNodeCollection.js +1 -1
- package/views/3d/webgl-engine/effects/ScreenSpaceGeometry.js +1 -1
- package/views/3d/webgl-engine/effects/debug/RenderNodeVisualizerNode.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/Highlight.js +1 -1
- package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
- package/views/3d/webgl-engine/effects/ssao/SSAO.js +1 -1
- package/views/3d/webgl-engine/lib/Camera.js +1 -1
- package/views/3d/webgl-engine/lib/OffscreenRendering.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/ShadowMap.js +1 -1
- package/views/3d/webgl-engine/lib/glUtil3D.js +1 -1
- package/views/draw/DrawGraphicTool.js +1 -1
- package/views/interactive/AnalysisToolBase.js +1 -1
- package/views/interactive/tooltip/Tooltip.js +1 -1
- package/views/interactive/tooltip/content/TooltipContent.js +1 -1
- package/views/layers/DimensionLayerView.js +1 -1
- package/views/webgl/Program.js +1 -1
- package/widgets/BasemapLayerList.js +1 -1
- package/widgets/DirectionalPad/DirectionalPadViewModel.d.ts +4 -0
- package/widgets/DirectionalPad.d.ts +4 -0
- package/widgets/Directions/css.js +1 -1
- package/widgets/Directions.js +1 -1
- package/widgets/ElevationProfile/ElevationProfileLineView.js +1 -1
- package/widgets/FeatureTable/FieldColumn.js +1 -1
- package/widgets/FeatureTable/Grid/Column.js +1 -1
- package/widgets/FeatureTable/Grid/Grid.js +1 -1
- package/widgets/Features/FeaturesViewModel.js +1 -1
- package/widgets/LayerList/support/layerListUtils.js +1 -1
- package/widgets/LayerList.js +1 -1
- package/widgets/TableList.js +1 -1
- package/widgets/support/AnchorElementViewModel.js +1 -1
- package/assets/esri/core/workers/chunks/4051e70c2d25c5bea933.js +0 -1
- package/assets/esri/core/workers/chunks/5730e14c706a1e4e57d3.js +0 -1
- package/assets/esri/core/workers/chunks/5db76bdc4916d11cbcfe.js +0 -1
- package/assets/esri/core/workers/chunks/642e652bf21a7fa463c9.js +0 -1
- package/assets/esri/core/workers/chunks/67e4bec7950f09ffe4a7.js +0 -1
- package/assets/esri/core/workers/chunks/8407cf549c0c59a206f1.js +0 -1
- package/assets/esri/core/workers/chunks/f11896da4989806a66ce.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3952],{99880:(e,t,r)=>{r.d(t,{V:()=>a});var n=r(68773),o=(r(3172),r(20102)),i=r(92604),s=r(17452);function a(e){if(!n.default.assetsPath)throw i.Z.getLogger("esri.assets").errorOnce("The API assets location needs to be set using config.assetsPath. More information: https://arcg.is/1OzLe50"),new o.Z("assets:path-not-set","config.assetsPath is not set");return(0,s.v_)(n.default.assetsPath,e)}},83305:(e,t,r)=>{r.d(t,{P:()=>l,a:()=>c,g:()=>f,h:()=>P,i:()=>a,j:()=>M,l:()=>u,p:()=>R});var n=r(99880),o=r(80442);let i,s=null;function a(){return!!s}function u(){return i||(i=r.e(6774).then(r.bind(r,66774)).then((e=>e.p)).then((({default:e})=>e({locateFile:e=>(0,n.V)(`esri/geometry/support/${e}`)}))).then((e=>{y(e)})),i)}var f,c,l,d;!function(e){function t(e,t,r){s.ensureCache.prepare();const n=A(r),o=r===n,i=s.ensureFloat64(n),a=s._pe_geog_to_proj(s.getPointer(e),t,i);return a&&C(r,t,i,o),a}function r(e,t,r){return n(e,t,r,0)}function n(e,t,r,n){s.ensureCache.prepare();const o=A(r),i=r===o,a=s.ensureFloat64(o),u=s._pe_proj_to_geog_center(s.getPointer(e),t,a,n);return u&&C(r,t,a,i),u}e.geogToProj=t,e.projGeog=function(e,n,o,i){switch(i){case c.PE_TRANSFORM_P_TO_G:return r(e,n,o);case c.PE_TRANSFORM_G_TO_P:return t(e,n,o)}return 0},e.projToGeog=r,e.projToGeogCenter=n}(f||(f={})),(d=c||(c={})).init=function(){d.PE_BUFFER_MAX=s.PeDefs.prototype.PE_BUFFER_MAX,d.PE_NAME_MAX=s.PeDefs.prototype.PE_NAME_MAX,d.PE_MGRS_MAX=s.PeDefs.prototype.PE_MGRS_MAX,d.PE_USNG_MAX=s.PeDefs.prototype.PE_USNG_MAX,d.PE_DD_MAX=s.PeDefs.prototype.PE_DD_MAX,d.PE_DDM_MAX=s.PeDefs.prototype.PE_DDM_MAX,d.PE_DMS_MAX=s.PeDefs.prototype.PE_DMS_MAX,d.PE_UTM_MAX=s.PeDefs.prototype.PE_UTM_MAX,d.PE_PARM_MAX=s.PeDefs.prototype.PE_PARM_MAX,d.PE_TYPE_NONE=s.PeDefs.prototype.PE_TYPE_NONE,d.PE_TYPE_GEOGCS=s.PeDefs.prototype.PE_TYPE_GEOGCS,d.PE_TYPE_PROJCS=s.PeDefs.prototype.PE_TYPE_PROJCS,d.PE_TYPE_GEOGTRAN=s.PeDefs.prototype.PE_TYPE_GEOGTRAN,d.PE_TYPE_COORDSYS=s.PeDefs.prototype.PE_TYPE_COORDSYS,d.PE_TYPE_UNIT=s.PeDefs.prototype.PE_TYPE_UNIT,d.PE_TYPE_LINUNIT=s.PeDefs.prototype.PE_TYPE_LINUNIT,d.PE_STR_OPTS_NONE=s.PeDefs.prototype.PE_STR_OPTS_NONE,d.PE_STR_AUTH_NONE=s.PeDefs.prototype.PE_STR_AUTH_NONE,d.PE_STR_AUTH_TOP=s.PeDefs.prototype.PE_STR_AUTH_TOP,d.PE_STR_NAME_CANON=s.PeDefs.prototype.PE_STR_NAME_CANON,d.PE_STR_FMT_WKT=s.PeDefs.prototype.PE_STR_FMT_WKT,d.PE_STR_FMT_WKT2=s.PeDefs.prototype.PE_STR_FMT_WKT2,d.PE_PARM_X0=s.PeDefs.prototype.PE_PARM_X0,d.PE_PARM_ND=s.PeDefs.prototype.PE_PARM_ND,d.PE_TRANSFORM_1_TO_2=s.PeDefs.prototype.PE_TRANSFORM_1_TO_2,d.PE_TRANSFORM_2_TO_1=s.PeDefs.prototype.PE_TRANSFORM_2_TO_1,d.PE_TRANSFORM_P_TO_G=s.PeDefs.prototype.PE_TRANSFORM_P_TO_G,d.PE_TRANSFORM_G_TO_P=s.PeDefs.prototype.PE_TRANSFORM_G_TO_P,d.PE_HORIZON_RECT=s.PeDefs.prototype.PE_HORIZON_RECT,d.PE_HORIZON_POLY=s.PeDefs.prototype.PE_HORIZON_POLY,d.PE_HORIZON_LINE=s.PeDefs.prototype.PE_HORIZON_LINE,d.PE_HORIZON_DELTA=s.PeDefs.prototype.PE_HORIZON_DELTA},function(e){const t={},r={},n=e=>{if(e){const t=e.getType();switch(t){case c.PE_TYPE_GEOGCS:e=s.castObject(e,s.PeGeogcs);break;case c.PE_TYPE_PROJCS:e=s.castObject(e,s.PeProjcs);break;case c.PE_TYPE_GEOGTRAN:e=s.castObject(e,s.PeGeogtran);break;default:t&c.PE_TYPE_UNIT&&(e=s.castObject(e,s.PeUnit))}}return e};function o(e,r){let o=null,i=t[e];if(i||(i={},t[e]=i),i.hasOwnProperty(String(r)))o=i[r];else{const t=s.PeFactory.prototype.factoryByType(e,r);s.compare(t,s.NULL)||(o=t,i[r]=o)}return o=n(o),o}e.initialize=function(){s.PeFactory.prototype.initialize(null)},e.coordsys=function(e){return o(c.PE_TYPE_COORDSYS,e)},e.factoryByType=o,e.fromString=function(e,t){let o=null,i=r[e];if(i||(i={},r[e]=i),i.hasOwnProperty(t))o=i[t];else{const r=s.PeFactory.prototype.fromString(e,t);s.compare(r,s.NULL)||(o=r,i[t]=o)}return o=n(o),o},e.geogcs=function(e){return o(c.PE_TYPE_GEOGCS,e)},e.geogtran=function(e){return o(c.PE_TYPE_GEOGTRAN,e)},e.getCode=function(e){return s.PeFactory.prototype.getCode(e)},e.projcs=function(e){return o(c.PE_TYPE_PROJCS,e)},e.unit=function(e){return o(c.PE_TYPE_UNIT,e)}}(l||(l={}));let _=null;var h,p,P,E,g,m,S,M,T;function y(e){function t(e,t,r){e[t]=r(e[t])}s=e,c.init(),h.init(),g.init(),S.init(),M.init(),_=class extends s.PeGCSExtent{destroy(){s.destroy(this)}};const r=[s.PeDatum,s.PeGeogcs,s.PeGeogtran,s.PeObject,s.PeParameter,s.PePrimem,s.PeProjcs,s.PeSpheroid,s.PeUnit];for(const e of r)t(e.prototype,"getName",(e=>function(){return e.call(this,new Array(c.PE_NAME_MAX))}));for(const e of[s.PeGeogtran,s.PeProjcs])t(e.prototype,"getParameters",(e=>function(){const t=new Array(c.PE_PARM_MAX);let r=e.call(this);for(let e=0;e<t.length;e++){const n=s.getValue(r,"*");t[e]=n?s.wrapPointer(n,s.PeParameter):null,r+=Int32Array.BYTES_PER_ELEMENT}return t}));t(s.PeHorizon.prototype,"getCoord",(e=>function(){const t=this.getSize();if(!t)return null;const r=[];return C(r,t,e.call(this)),r})),t(s.PeGTlistExtendedEntry.prototype,"getEntries",(e=>{const t=s._pe_getPeGTlistExtendedGTsSize();return function(){let r=null;const n=e.call(this);if(!s.compare(n,s.NULL)){r=[n];const e=this.getSteps();if(e>1){const o=s.getPointer(n);for(let n=1;n<e;n++)r.push(s.wrapPointer(o+t*n,s.PeGTlistExtendedGTs))}}return r}}));const n=s._pe_getPeHorizonSize(),o=e=>function(){let t=this._cache;if(t||(t=new Map,this._cache=t),t.has(e))return t.get(e);let r=null;const o=e.call(this);if(!s.compare(o,s.NULL)){r=[o];const e=o.getNump();if(e>1){const t=s.getPointer(o);for(let o=1;o<e;o++)r.push(s.wrapPointer(t+n*o,s.PeHorizon))}}return t.set(e,r),r};t(s.PeProjcs.prototype,"horizonGcsGenerate",o),t(s.PeProjcs.prototype,"horizonPcsGenerate",o),s.PeObject.prototype.toString=function(e=c.PE_STR_OPTS_NONE){s.ensureCache.prepare();const t=s.getPointer(this),r=s.ensureInt8(new Array(c.PE_BUFFER_MAX));return s.UTF8ToString(s._pe_object_to_string_ext(t,e,r))}}function w(e){if(!e)return;const t=s.getClass(e);if(!t)return;const r=s.getCache(t);if(!r)return;const n=s.getPointer(e);n&&delete r[n]}function O(e,t){const r=[],n=new Array(t);for(let t=0;t<e;t++)r.push(s.ensureInt8(n));return r}function A(e){let t;return Array.isArray(e[0])?(t=[],e.forEach((e=>{t.push(e[0],e[1])}))):t=e,t}function C(e,t,r,n=!1){if(n)for(let n=0;n<2*t;n++)e[n]=s.getValue(r+n*Float64Array.BYTES_PER_ELEMENT,"double");else{const n=0===e.length;for(let o=0;o<t;o++)n&&(e[o]=new Array(2)),e[o][0]=s.getValue(r,"double"),e[o][1]=s.getValue(r+Float64Array.BYTES_PER_ELEMENT,"double"),r+=2*Float64Array.BYTES_PER_ELEMENT}}!function(e){let t;e.init=function(){e.PE_GTLIST_OPTS_COMMON=s.PeGTlistExtended.prototype.PE_GTLIST_OPTS_COMMON,t=s._pe_getPeGTlistExtendedEntrySize()},e.getGTlist=function(e,r,n,o,i,a){let u=null;const f=new s.PeInteger(a);try{const c=s.PeGTlistExtended.prototype.getGTlist(e,r,n,o,i,f);if((a=f.val)&&(u=[c],a>1)){const e=s.getPointer(c);for(let r=1;r<a;r++)u.push(s.wrapPointer(e+t*r,s.PeGTlistExtendedEntry))}}finally{s.destroy(f)}return u}}(h||(h={})),function(e){e.destroy=function(e){if(e?.length){for(const t of e)w(t),t.getEntries().forEach((e=>{w(e);const t=e.getGeogtran();w(t),t.getParameters().forEach(w),[t.getGeogcs1(),t.getGeogcs2()].forEach((e=>{w(e);const t=e.getDatum();w(t),w(t.getSpheroid()),w(e.getPrimem()),w(e.getUnit())}))}));s.PeGTlistExtendedEntry.prototype.Delete(e[0])}}}(p||(p={})),function(e){e.geogToGeog=function(e,t,r,n,o){s.ensureCache.prepare();const i=A(r),a=r===i,u=s.ensureFloat64(i);let f=0;n&&(f=s.ensureFloat64(n));const c=s._pe_geog_to_geog(s.getPointer(e),t,u,f,o);return c&&C(r,t,u,a),c}}(P||(P={})),function(e){const t=(e,t,r,n,o,i)=>{let a,u;switch(s.ensureCache.prepare(),e){case"dd":a=s._pe_geog_to_dd,u=c.PE_DD_MAX;break;case"ddm":a=s._pe_geog_to_ddm,u=c.PE_DDM_MAX;break;case"dms":a=s._pe_geog_to_dms,u=c.PE_DMS_MAX}let f=0;t&&(f=s.getPointer(t));const l=A(n),d=s.ensureFloat64(l),_=O(r,u),h=a(f,r,d,o,s.ensureInt32(_));if(h)for(let e=0;e<r;e++)i[e]=s.UTF8ToString(_[e]);return h},r=(e,t,r,n,o)=>{let i;switch(s.ensureCache.prepare(),e){case"dd":i=s._pe_dd_to_geog;break;case"ddm":i=s._pe_ddm_to_geog;break;case"dms":i=s._pe_dms_to_geog}let a=0;t&&(a=s.getPointer(t));const u=n.map((e=>s.ensureString(e))),f=s.ensureInt32(u),c=s.ensureFloat64(new Array(2*r)),l=i(a,r,f,c);return l&&C(o,r,c),l};e.geogToDms=function(e,r,n,o,i){return t("dms",e,r,n,o,i)},e.dmsToGeog=function(e,t,n,o){return r("dms",e,t,n,o)},e.geogToDdm=function(e,r,n,o,i){return t("ddm",e,r,n,o,i)},e.ddmToGeog=function(e,t,n,o){return r("ddm",e,t,n,o)},e.geogToDd=function(e,r,n,o,i){return t("dd",e,r,n,o,i)},e.ddToGeog=function(e,t,n,o){return r("dd",e,t,n,o)}}(E||(E={})),function(e){e.init=function(){e.PE_MGRS_STYLE_NEW=s.PeNotationMgrs.prototype.PE_MGRS_STYLE_NEW,e.PE_MGRS_STYLE_OLD=s.PeNotationMgrs.prototype.PE_MGRS_STYLE_OLD,e.PE_MGRS_STYLE_AUTO=s.PeNotationMgrs.prototype.PE_MGRS_STYLE_AUTO,e.PE_MGRS_180_ZONE_1_PLUS=s.PeNotationMgrs.prototype.PE_MGRS_180_ZONE_1_PLUS,e.PE_MGRS_ADD_SPACES=s.PeNotationMgrs.prototype.PE_MGRS_ADD_SPACES},e.geogToMgrsExtended=function(e,t,r,n,o,i,a){s.ensureCache.prepare();let u=0;e&&(u=s.getPointer(e));const f=A(r),l=s.ensureFloat64(f),d=O(t,c.PE_MGRS_MAX),_=s.ensureInt32(d),h=s._pe_geog_to_mgrs_extended(u,t,l,n,o,i,_);if(h)for(let e=0;e<t;e++)a[e]=s.UTF8ToString(d[e]);return h},e.mgrsToGeogExtended=function(e,t,r,n,o){s.ensureCache.prepare();let i=0;e&&(i=s.getPointer(e));const a=r.map((e=>s.ensureString(e))),u=s.ensureInt32(a),f=s.ensureFloat64(new Array(2*t)),c=s._pe_mgrs_to_geog_extended(i,t,u,n,f);return c&&C(o,t,f),c}}(g||(g={})),function(e){e.geogToUsng=function(e,t,r,n,o,i,a){s.ensureCache.prepare();let u=0;e&&(u=s.getPointer(e));const f=A(r),l=s.ensureFloat64(f),d=O(t,c.PE_MGRS_MAX),_=s.ensureInt32(d),h=s._pe_geog_to_usng(u,t,l,n,o,i,_);if(h)for(let e=0;e<t;e++)a[e]=s.UTF8ToString(d[e]);return h},e.usngToGeog=function(e,t,r,n){s.ensureCache.prepare();let o=0;e&&(o=s.getPointer(e));const i=r.map((e=>s.ensureString(e))),a=s.ensureInt32(i),u=s.ensureFloat64(new Array(2*t)),f=s._pe_usng_to_geog(o,t,a,u);return f&&C(n,t,u),f}}(m||(m={})),function(e){e.init=function(){e.PE_UTM_OPTS_NONE=s.PeNotationUtm.prototype.PE_UTM_OPTS_NONE,e.PE_UTM_OPTS_ADD_SPACES=s.PeNotationUtm.prototype.PE_UTM_OPTS_ADD_SPACES,e.PE_UTM_OPTS_NS=s.PeNotationUtm.prototype.PE_UTM_OPTS_NS},e.geogToUtm=function(e,t,r,n,o){s.ensureCache.prepare();let i=0;e&&(i=s.getPointer(e));const a=A(r),u=s.ensureFloat64(a),f=O(t,c.PE_UTM_MAX),l=s.ensureInt32(f),d=s._pe_geog_to_utm(i,t,u,n,l);if(d)for(let e=0;e<t;e++)o[e]=s.UTF8ToString(f[e]);return d},e.utmToGeog=function(e,t,r,n,o){s.ensureCache.prepare();let i=0;e&&(i=s.getPointer(e));const a=r.map((e=>s.ensureString(e))),u=s.ensureInt32(a),f=s.ensureFloat64(new Array(2*t)),c=s._pe_utm_to_geog(i,t,u,n,f);return c&&C(o,t,f),c}}(S||(S={})),function(e){const t=new Map;e.init=function(){e.PE_PCSINFO_OPTION_NONE=s.PePCSInfo.prototype.PE_PCSINFO_OPTION_NONE,e.PE_PCSINFO_OPTION_DOMAIN=s.PePCSInfo.prototype.PE_PCSINFO_OPTION_DOMAIN,e.PE_POLE_OUTSIDE_BOUNDARY=s.PePCSInfo.prototype.PE_POLE_OUTSIDE_BOUNDARY,e.PE_POLE_POINT=s.PePCSInfo.prototype.PE_POLE_POINT},e.generate=function(r,n=e.PE_PCSINFO_OPTION_DOMAIN){let o=null,i=null;return t.has(r)&&(i=t.get(r),i[n]&&(o=i[n])),o||(o=s.PePCSInfo.prototype.generate(r,n),i||(i=[],t.set(r,i)),i[n]=o),o}}(M||(M={})),function(e){e.versionString=function(){return s.PeVersion.prototype.version_string()}}(T||(T={}));const R=Object.freeze(Object.defineProperty({__proto__:null,get PeCSTransformations(){return f},get PeDefs(){return c},get PeFactory(){return l},get PeGCSExtent(){return _},get PeGTTransformations(){return P},get PeGTlistExtended(){return h},get PeGTlistExtendedEntry(){return p},get PeNotationDms(){return E},get PeNotationMgrs(){return g},get PeNotationUsng(){return m},get PeNotationUtm(){return S},get PePCSInfo(){return M},get PeVersion(){return T},_init:y,get _pe(){return s},isLoaded:a,isSupported:function(){return!!(0,o.Z)("esri-wasm")},load:u},Symbol.toStringTag,{value:"Module"}))},20773:(e,t,r)=>{r.d(t,{A:()=>p,B:()=>k,E:()=>l,G:()=>q,a:()=>m,b:()=>y,c:()=>s,e:()=>O,f:()=>f,g:()=>u,h:()=>N,i:()=>P,j:()=>T,k:()=>g,l:()=>i,m:()=>S,n:()=>M,o:()=>w,p:()=>E,q:()=>I,r:()=>C,s:()=>a,t:()=>A,u:()=>d,v:()=>v,w:()=>h,x:()=>G,y:()=>_,z:()=>c});var n=r(28712),o=r(39514);function i(e){const t=e[0],r=e[1],n=e[2];return Math.sqrt(t*t+r*r+n*n)}function s(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function a(e,t,r,n){return e[0]=t,e[1]=r,e[2]=n,e}function u(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e[2]=t[2]+r[2],e}function f(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e[2]=t[2]-r[2],e}function c(e,t,r){return e[0]=t[0]*r[0],e[1]=t[1]*r[1],e[2]=t[2]*r[2],e}function l(e,t,r){return e[0]=t[0]/r[0],e[1]=t[1]/r[1],e[2]=t[2]/r[2],e}function d(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function _(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function h(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e[2]=Math.min(t[2],r[2]),e}function p(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e[2]=Math.max(t[2],r[2]),e}function P(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e}function E(e,t,r,n){return e[0]=t[0]+r[0]*n,e[1]=t[1]+r[1]*n,e[2]=t[2]+r[2]*n,e}function g(e,t){const r=t[0]-e[0],n=t[1]-e[1],o=t[2]-e[2];return Math.sqrt(r*r+n*n+o*o)}function m(e,t){const r=t[0]-e[0],n=t[1]-e[1],o=t[2]-e[2];return r*r+n*n+o*o}function S(e){const t=e[0],r=e[1],n=e[2];return t*t+r*r+n*n}function M(e,t){const r=t[0],n=t[1],o=t[2];let i=r*r+n*n+o*o;return i>0&&(i=1/Math.sqrt(i),e[0]=t[0]*i,e[1]=t[1]*i,e[2]=t[2]*i),e}function T(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function y(e,t,r){const n=t[0],o=t[1],i=t[2],s=r[0],a=r[1],u=r[2];return e[0]=o*u-i*a,e[1]=i*s-n*u,e[2]=n*a-o*s,e}function w(e,t,r,n){const o=t[0],i=t[1],s=t[2];return e[0]=o+n*(r[0]-o),e[1]=i+n*(r[1]-i),e[2]=s+n*(r[2]-s),e}function O(e,t,r){const n=t[0],o=t[1],i=t[2];return e[0]=r[0]*n+r[4]*o+r[8]*i+r[12],e[1]=r[1]*n+r[5]*o+r[9]*i+r[13],e[2]=r[2]*n+r[6]*o+r[10]*i+r[14],e}function A(e,t,r){const n=t[0],o=t[1],i=t[2];return e[0]=n*r[0]+o*r[3]+i*r[6],e[1]=n*r[1]+o*r[4]+i*r[7],e[2]=n*r[2]+o*r[5]+i*r[8],e}function C(e,t,r){const n=r[0],o=r[1],i=r[2],s=r[3],a=t[0],u=t[1],f=t[2];let c=o*f-i*u,l=i*a-n*f,d=n*u-o*a,_=o*d-i*l,h=i*c-n*d,p=n*l-o*c;const P=2*s;return c*=P,l*=P,d*=P,_*=2,h*=2,p*=2,e[0]=a+c+_,e[1]=u+l+h,e[2]=f+d+p,e}const R=(0,n.Ue)(),b=(0,n.Ue)();function N(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function k(e,t,r){const n=r[0]-t[0],o=r[1]-t[1],i=r[2]-t[2];let s=n*n+o*o+i*i;return s>0?(s=1/Math.sqrt(s),e[0]=n*s,e[1]=o*s,e[2]=i*s,e):(e[0]=0,e[1]=0,e[2]=0,e)}const G=f,D=c,U=l,I=g,v=m,q=i,x=S;Object.freeze(Object.defineProperty({__proto__:null,abs:d,add:u,angle:function(e,t){s(R,e),s(b,t),M(R,R),M(b,b);const r=T(R,b);return r>1?0:r<-1?Math.PI:Math.acos(r)},bezier:function(e,t,r,n,o,i){const s=1-i,a=s*s,u=i*i,f=a*s,c=3*i*a,l=3*u*s,d=u*i;return e[0]=t[0]*f+r[0]*c+n[0]*l+o[0]*d,e[1]=t[1]*f+r[1]*c+n[1]*l+o[1]*d,e[2]=t[2]*f+r[2]*c+n[2]*l+o[2]*d,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},copy:s,cross:y,direction:k,dist:I,distance:g,div:U,divide:l,dot:T,equals:function(e,t){if(e===t)return!0;const r=e[0],n=e[1],i=e[2],s=t[0],a=t[1],u=t[2],f=(0,o.bn)();return Math.abs(r-s)<=f*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(n-a)<=f*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(i-u)<=f*Math.max(1,Math.abs(i),Math.abs(u))},exactEquals:N,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,r,n,o,i){const s=i*i,a=s*(2*i-3)+1,u=s*(i-2)+i,f=s*(i-1),c=s*(3-2*i);return e[0]=t[0]*a+r[0]*u+n[0]*f+o[0]*c,e[1]=t[1]*a+r[1]*u+n[1]*f+o[1]*c,e[2]=t[2]*a+r[2]*u+n[2]*f+o[2]*c,e},inverse:function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e},len:q,length:i,lerp:w,max:p,min:h,mul:D,multiply:c,negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e},normalize:M,random:function(e,t){t=t||1;const r=o.FD,n=2*r()*Math.PI,i=2*r()-1,s=Math.sqrt(1-i*i)*t;return e[0]=Math.cos(n)*s,e[1]=Math.sin(n)*s,e[2]=i*t,e},rotateX:function(e,t,r,n){const o=[],i=[];return o[0]=t[0]-r[0],o[1]=t[1]-r[1],o[2]=t[2]-r[2],i[0]=o[0],i[1]=o[1]*Math.cos(n)-o[2]*Math.sin(n),i[2]=o[1]*Math.sin(n)+o[2]*Math.cos(n),e[0]=i[0]+r[0],e[1]=i[1]+r[1],e[2]=i[2]+r[2],e},rotateY:function(e,t,r,n){const o=[],i=[];return o[0]=t[0]-r[0],o[1]=t[1]-r[1],o[2]=t[2]-r[2],i[0]=o[2]*Math.sin(n)+o[0]*Math.cos(n),i[1]=o[1],i[2]=o[2]*Math.cos(n)-o[0]*Math.sin(n),e[0]=i[0]+r[0],e[1]=i[1]+r[1],e[2]=i[2]+r[2],e},rotateZ:function(e,t,r,n){const o=[],i=[];return o[0]=t[0]-r[0],o[1]=t[1]-r[1],o[2]=t[2]-r[2],i[0]=o[0]*Math.cos(n)-o[1]*Math.sin(n),i[1]=o[0]*Math.sin(n)+o[1]*Math.cos(n),i[2]=o[2],e[0]=i[0]+r[0],e[1]=i[1]+r[1],e[2]=i[2]+r[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:P,scaleAndAdd:E,set:a,sign:_,sqrDist:v,sqrLen:x,squaredDistance:m,squaredLength:S,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:G,subtract:f,transformMat3:A,transformMat4:O,transformQuat:C},Symbol.toStringTag,{value:"Module"}))},11077:(e,t,r)=>{r.d(t,{a:()=>m,b:()=>c,c:()=>o,e:()=>S,f:()=>s,g:()=>P,h:()=>_,i:()=>h,l:()=>E,n:()=>p,s:()=>i,t:()=>g});var n=r(39514);function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function i(e,t,r,n,o){return e[0]=t,e[1]=r,e[2]=n,e[3]=o,e}function s(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e[2]=t[2]+r[2],e[3]=t[3]+r[3],e}function a(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e[2]=t[2]-r[2],e[3]=t[3]-r[3],e}function u(e,t,r){return e[0]=t[0]*r[0],e[1]=t[1]*r[1],e[2]=t[2]*r[2],e[3]=t[3]*r[3],e}function f(e,t,r){return e[0]=t[0]/r[0],e[1]=t[1]/r[1],e[2]=t[2]/r[2],e[3]=t[3]/r[3],e}function c(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e[3]=t[3]*r,e}function l(e,t){const r=t[0]-e[0],n=t[1]-e[1],o=t[2]-e[2],i=t[3]-e[3];return Math.sqrt(r*r+n*n+o*o+i*i)}function d(e,t){const r=t[0]-e[0],n=t[1]-e[1],o=t[2]-e[2],i=t[3]-e[3];return r*r+n*n+o*o+i*i}function _(e){const t=e[0],r=e[1],n=e[2],o=e[3];return Math.sqrt(t*t+r*r+n*n+o*o)}function h(e){const t=e[0],r=e[1],n=e[2],o=e[3];return t*t+r*r+n*n+o*o}function p(e,t){const r=t[0],n=t[1],o=t[2],i=t[3];let s=r*r+n*n+o*o+i*i;return s>0&&(s=1/Math.sqrt(s),e[0]=r*s,e[1]=n*s,e[2]=o*s,e[3]=i*s),e}function P(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]}function E(e,t,r,n){const o=t[0],i=t[1],s=t[2],a=t[3];return e[0]=o+n*(r[0]-o),e[1]=i+n*(r[1]-i),e[2]=s+n*(r[2]-s),e[3]=a+n*(r[3]-a),e}function g(e,t,r){const n=t[0],o=t[1],i=t[2],s=t[3];return e[0]=r[0]*n+r[4]*o+r[8]*i+r[12]*s,e[1]=r[1]*n+r[5]*o+r[9]*i+r[13]*s,e[2]=r[2]*n+r[6]*o+r[10]*i+r[14]*s,e[3]=r[3]*n+r[7]*o+r[11]*i+r[15]*s,e}function m(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]}function S(e,t){const r=e[0],o=e[1],i=e[2],s=e[3],a=t[0],u=t[1],f=t[2],c=t[3],l=(0,n.bn)();return Math.abs(r-a)<=l*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(o-u)<=l*Math.max(1,Math.abs(o),Math.abs(u))&&Math.abs(i-f)<=l*Math.max(1,Math.abs(i),Math.abs(f))&&Math.abs(s-c)<=l*Math.max(1,Math.abs(s),Math.abs(c))}const M=a,T=u,y=f,w=l,O=d,A=_,C=h;Object.freeze(Object.defineProperty({__proto__:null,add:s,ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e[3]=Math.ceil(t[3]),e},copy:o,dist:w,distance:l,div:y,divide:f,dot:P,equals:S,exactEquals:m,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e[3]=Math.floor(t[3]),e},inverse:function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e[3]=1/t[3],e},len:A,length:_,lerp:E,max:function(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e[2]=Math.max(t[2],r[2]),e[3]=Math.max(t[3],r[3]),e},min:function(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e[2]=Math.min(t[2],r[2]),e[3]=Math.min(t[3],r[3]),e},mul:T,multiply:u,negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=-t[3],e},normalize:p,random:function(e,t){const r=n.FD;let o,i,s,a,u,f;t=t||1;do{o=2*r()-1,i=2*r()-1,u=o*o+i*i}while(u>=1);do{s=2*r()-1,a=2*r()-1,f=s*s+a*a}while(f>=1);const c=Math.sqrt((1-u)/f);return e[0]=t*o,e[1]=t*i,e[2]=t*s*c,e[3]=t*a*c,e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e[3]=Math.round(t[3]),e},scale:c,scaleAndAdd:function(e,t,r,n){return e[0]=t[0]+r[0]*n,e[1]=t[1]+r[1]*n,e[2]=t[2]+r[2]*n,e[3]=t[3]+r[3]*n,e},set:i,sqrDist:O,sqrLen:C,squaredDistance:d,squaredLength:h,str:function(e){return"vec4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"},sub:M,subtract:a,transformMat4:g,transformQuat:function(e,t,r){const n=t[0],o=t[1],i=t[2],s=r[0],a=r[1],u=r[2],f=r[3],c=f*n+a*i-u*o,l=f*o+u*n-s*i,d=f*i+s*o-a*n,_=-s*n-a*o-u*i;return e[0]=c*f+_*-s+l*-u-d*-a,e[1]=l*f+_*-a+d*-s-c*-u,e[2]=d*f+_*-u+c*-a-l*-s,e[3]=t[3],e}},Symbol.toStringTag,{value:"Module"}))},36030:(e,t,r)=>{r.d(t,{J:()=>i});var n=r(35454),o=r(5600);function i(e,t={}){const r=e instanceof n.X?e:new n.X(e,t),i={type:t?.ignoreUnknown??1?r.apiValues:String,json:{type:r.jsonValues,read:!t?.readOnly&&{reader:r.read},write:{writer:r.write}}};return void 0!==t?.readOnly&&(i.readOnly=!!t.readOnly),void 0!==t?.default&&(i.json.default=t.default),void 0!==t?.name&&(i.json.name=t.name),void 0!==t?.nonNullable&&(i.nonNullable=t.nonNullable),(0,o.Cb)(i)}},30556:(e,t,r)=>{r.d(t,{c:()=>o});var n=r(5600);function o(e,t,r){let o,i;return void 0===t?(i=e,o=[void 0]):"string"!=typeof t?(i=e,o=[void 0],r=t):(i=t,o=Array.isArray(e)?e:[e]),(e,t)=>{const s=e.constructor.prototype;for(const a of o){const o=(0,n.CJ)(e,a,i);o.write&&"object"==typeof o.write||(o.write={}),r&&(o.write.target=r),o.write.writer=s[t]}}}},35454:(e,t,r)=>{r.d(t,{X:()=>o,w:()=>i});var n=r(78286);class o{constructor(e,t={ignoreUnknown:!1,useNumericKeys:!1}){this._jsonToAPI=e,this._options=t,this.apiValues=[],this.jsonValues=[],this._apiToJSON=this._invertMap(e),this.apiValues=this._getKeysSorted(this._apiToJSON),this.jsonValues=this._getKeysSorted(this._jsonToAPI),this.read=e=>this.fromJSON(e),this.write=(e,t,r)=>{const o=this.toJSON(e);void 0!==o&&(0,n.RB)(r,o,t)},this.write.isJSONMapWriter=!0}toJSON(e){if(null==e)return null;if(this._apiToJSON.hasOwnProperty(e)){const t=this._apiToJSON[e];return this._options.useNumericKeys?+t:t}return this._options.ignoreUnknown?void 0:e}fromJSON(e){return null!=e&&this._jsonToAPI.hasOwnProperty(e)?this._jsonToAPI[e]:this._options.ignoreUnknown?void 0:e}_invertMap(e){const t={};for(const r in e)t[e[r]]=r;return t}_getKeysSorted(e){const t=[];for(const r in e)t.push(r);return t.sort(),t}}function i(){return function(e,t){return new o(e,{ignoreUnknown:!0,...t})}}},28712:(e,t,r)=>{function n(){return[0,0,0]}function o(e){return[e[0],e[1],e[2]]}function i(e,t,r){return[e,t,r]}function s(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 a(){return i(1,1,1)}function u(){return i(1,0,0)}function f(){return i(0,1,0)}function c(){return i(0,0,1)}r.d(t,{AG:()=>l,E9:()=>_,IO:()=>h,Ue:()=>n,al:()=>i,d9:()=>o,eG:()=>p,hq:()=>d,nI:()=>s});const l=[0,0,0],d=a(),_=u(),h=f(),p=c();Object.freeze(Object.defineProperty({__proto__:null,ONES:d,UNIT_X:_,UNIT_Y:h,UNIT_Z:p,ZEROS:l,clone:o,create:n,createView:function(e,t){return new Float64Array(e,t,3)},fromArray:s,fromValues:i,ones:a,unitX:u,unitY:f,unitZ:c,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},39514:(e,t,r)=>{r.d(t,{Dc:()=>f,FD:()=>i,bn:()=>o,c$:()=>u});let n=1e-6;function o(){return n}const i=Math.random,s=Math.PI/180,a=180/Math.PI;function u(e){return e*s}function f(e){return e*a}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:i,equals:function(e,t){return Math.abs(e-t)<=n*Math.max(1,Math.abs(e),Math.abs(t))},getEpsilon:o,setEpsilon:function(e){n=e},toDegree:f,toRadian:u},Symbol.toStringTag,{value:"Module"}))},22021:(e,t,r)=>{r.d(t,{BV:()=>l,F3:()=>M,Kt:()=>_,Sf:()=>i,Vl:()=>c,W8:()=>h,ZF:()=>d,bA:()=>f,jE:()=>m,oK:()=>E,oc:()=>S,t7:()=>u,uZ:()=>s,wt:()=>a});var n=r(20773);r(11077);const o=new Float32Array(1);function i(e){--e;for(let t=1;t<32;t<<=1)e|=e>>t;return e+1}function s(e,t,r){return Math.min(Math.max(e,t),r)}function a(e){return 0==(e&e-1)}function u(e,t,r){return e+(t-e)*r}function f(e,t,r,n,o){return u(n,o,(e-t)/(r-t))}function c(e){return e*Math.PI/180}function l(e){return 180*e/Math.PI}function d(e){return Math.acos(s(e,-1,1))}function _(e){return Math.asin(s(e,-1,1))}function h(e,t,r=1e-6){return e===t||!(!Number.isFinite(e)||!Number.isFinite(t))&&(e>t?e-t:t-e)<=r}const p=new DataView(new ArrayBuffer(Float64Array.BYTES_PER_ELEMENT));const P=BigInt("1000000");function E(e){return g(Math.max(-M,Math.min(e,M)))}function g(e){return o[0]=e,o[0]}function m(e,t){const r=(0,n.l)(e),o=_(e[2]/r),i=Math.atan2(e[1]/r,e[0]/r);return(0,n.s)(t,r,o,i),t}function S(e){const t=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],r=e[3]*e[3]+e[4]*e[4]+e[5]*e[5],n=e[6]*e[6]+e[7]*e[7]+e[8]*e[8];return!(h(t,1)&&h(r,1)&&h(n,1))}!function(e){const t=function(e){return p.setFloat64(0,e),p.getBigInt64(0)}(e=Math.abs(e)),r=function(e){return p.setBigInt64(0,e),p.getFloat64(0)}(t<=P?P:t-P);Math.abs(e-r)}(1);const M=g(34028234663852886e22)},67900:(e,t,r)=>{r.d(t,{$C:()=>y,CN:()=>v,En:()=>M,Jo:()=>I,_R:()=>w,c9:()=>A,cM:()=>O,gV:()=>U,hd:()=>u,qE:()=>N,r6:()=>C,ty:()=>T}),r(80442);var n=r(35454),o=r(2109),i=r(68441),s=r(8744),a=r(58116);const u=39.37,f=i.sv.radius*Math.PI/200,c=/(?:LENGTH)?UNIT\[([^\]]+)]]$/i,l=a.Z,d=/UNIT\[([^\]]+)]/i,_=new Set([4261,4305,4807,4810,4811,4812,4816,4819,4821,4901,4902,37225,104139,104140]),h=(0,n.w)()({meter:"meters",foot:"feet",foot_us:"us-feet",foot_clarke:"clarke-feet",yard_clarke:"clarke-yards",link_clarke:"clarke-links",yard_sears:"sears-yards",foot_sears:"sears-feet",chain_sears:"sears-chains",chain_benoit_1895_b:"benoit-1895-b-chains",yard_indian:"indian-yards",yard_indian_1937:"indian-1937-yards",foot_gold_coast:"gold-coast-feet",chain_sears_1922_truncated:"sears-1922-truncated-chains","50_kilometers":"50-kilometers","150_kilometers":"150-kilometers"}),p=e=>e*e,P=e=>e*e*e,E={length:{baseUnit:"meters",units:{millimeters:{inBaseUnits:.001},centimeters:{inBaseUnits:.01},decimeters:{inBaseUnits:.1},meters:{inBaseUnits:1},kilometers:{inBaseUnits:1e3},inches:{inBaseUnits:.0254},feet:{inBaseUnits:.3048},yards:{inBaseUnits:.9144},miles:{inBaseUnits:1609.344},"nautical-miles":{inBaseUnits:1852},"us-feet":{inBaseUnits:1200/3937}}},area:{baseUnit:"square-meters",units:{"square-millimeters":{inBaseUnits:p(.001)},"square-centimeters":{inBaseUnits:p(.01)},"square-decimeters":{inBaseUnits:p(.1)},"square-meters":{inBaseUnits:1},"square-kilometers":{inBaseUnits:p(1e3)},"square-inches":{inBaseUnits:p(.0254)},"square-feet":{inBaseUnits:p(.3048)},"square-yards":{inBaseUnits:p(.9144)},"square-miles":{inBaseUnits:p(1609.344)},"square-us-feet":{inBaseUnits:p(1200/3937)},acres:{inBaseUnits:.0015625*p(1609.344)},ares:{inBaseUnits:100},hectares:{inBaseUnits:1e4}}},volume:{baseUnit:"liters",units:{liters:{inBaseUnits:1},"cubic-millimeters":{inBaseUnits:1e3*P(.001)},"cubic-centimeters":{inBaseUnits:1e3*P(.01)},"cubic-decimeters":{inBaseUnits:1e3*P(.1)},"cubic-meters":{inBaseUnits:1e3},"cubic-kilometers":{inBaseUnits:1e3*P(1e3)},"cubic-inches":{inBaseUnits:1e3*P(.0254)},"cubic-feet":{inBaseUnits:1e3*P(.3048)},"cubic-yards":{inBaseUnits:1e3*P(.9144)},"cubic-miles":{inBaseUnits:1e3*P(1609.344)}}},angle:{baseUnit:"radians",units:{radians:{inBaseUnits:1},degrees:{inBaseUnits:Math.PI/180}}}},g=(()=>{const e={};for(const t in E)for(const r in E[t].units)e[r]=t;return e})();function m(e){const t=g[e];if(!t)throw new Error("unknown type");return t}function S(e,t=null){return t=t||m(e),E[t].baseUnit===e}function M(e,t,r){if(t===r)return e;const n=m(t);if(n!==m(r))throw new Error("incompatible units");const o=S(t,n)?e:function(e,t,r){return e*E[r].units[t].inBaseUnits}(e,t,n);return S(r,n)?o:function(e,t,r){return e/E[r].units[t].inBaseUnits}(o,r,n)}function T(e,t,r){return M(e,t,"meters")/(r*Math.PI/180)}function y(e){return h.fromJSON(e.toLowerCase())||null}function w(e){if(null!=e&&!(0,s.N$)(e))return 1;const t=A(e);return t>1e5?1:t}function O(e){return A(e)>=(0,o.Iu)(e).metersPerDegree?"meters":N(e)}function A(e,t=i.sv.metersPerDegree){return function(e,t=!1){const r=e?.wkid??null,n=e?.wkt2??e?.wkt??null;let o=null;if(r){if((0,s.o$)(r))return i.yr.metersPerDegree;if((0,s.ME)(r))return i.Z1.metersPerDegree;o=l.values[l[r]],!o&&t&&_.has(r)&&(o=f)}else n&&(G(n)?o=R(c.exec(n),o):k(n)&&(o=R(d.exec(n),o)));return o}(e,!0)??t}function C(e){return(0,s.sT)(e)?1:A(e)}function R(e,t){return e?.[1]?b(e[1]):t}function b(e){return parseFloat(e.split(",")[1])}function N(e){const t=e?.wkid??null,r=e?.wkt2??e?.wkt??null;let n=null;if(t)n=l.units[l[t]];else if(r){const e=G(r)?c:k(r)?d:null;if(e){const t=e.exec(r);t?.[1]&&(n=function(e){const t=/[\\"']{1}([^\\"']+)/.exec(e);let r=t?.[1];if(!r||!l.units.includes(r)){const t=b(e);r=null;const n=l.values;for(let e=0;e<n.length;++e)if(Math.abs(t-n[e])<D){r=l.units[e];break}}return r}(t[1]))}}return null!=n?y(n):null}function k(e){return/^GEOCCS/i.test(e)}function G(e){return/^\s*(?:PROJCS|PROJCRS|PROJECTEDCRS)/i.test(e)}new Map([["meters","square-meters"],["feet","square-feet"],["us-feet","square-us-feet"]]);const D=1e-7,U=(0,n.w)()({esriAcres:"acres",esriAres:"ares",esriHectares:"hectares",esriSquareCentimeters:"square-centimeters",esriSquareDecimeters:"square-decimeters",esriSquareFeet:"square-feet",esriSquareInches:"square-inches",esriSquareKilometers:"square-kilometers",esriSquareMeters:"square-meters",esriSquareMiles:"square-miles",esriSquareMillimeters:"square-millimeters",esriSquareUsFeet:"square-us-feet",esriSquareYards:"square-yards"}),I=(0,n.w)()({esriCentimeters:"centimeters",esriDecimeters:"decimeters",esriFeet:"feet",esriInches:"inches",esriKilometers:"kilometers",esriMeters:"meters",esriMiles:"miles",esriMillimeters:"millimeters",esriNauticalMiles:"nautical-miles",esriYards:"yards"}),v=(0,n.w)()({esriDUDecimalDegrees:"degrees",esriDURadians:"radians"})},82971:(e,t,r)=>{r.d(t,{Z:()=>h});var n,o=r(43697),i=r(96674),s=r(22974),a=r(67900),u=r(75215),f=r(5600),c=r(52011),l=r(30556),d=r(8744);let _=n=class extends i.wq{static fromJSON(e){if(!e)return null;if(e.wkid){if(102100===e.wkid)return n.WebMercator;if(4326===e.wkid)return n.WGS84}const t=new n;return t.read(e),t}constructor(e){super(e),this.latestWkid=null,this.wkid=null,this.wkt=null,this.wkt2=null,this.vcsWkid=null,this.latestVcsWkid=null,this.imageCoordinateSystem=null}normalizeCtorArgs(e){return e&&"object"==typeof e?e:{["string"==typeof e?"wkt":"wkid"]:e}}get isWGS84(){return(0,d.oR)(this)}get isWebMercator(){return(0,d.sS)(this)}get isGeographic(){return(0,d.sT)(this)}get isWrappable(){return(0,d.MP)(this)}get metersPerUnit(){return(0,a.c9)(this)}get unit(){return(0,a.qE)(this)||(this.isGeographic?"degrees":null)}writeWkt(e,t){this.wkid||(t.wkt=e)}clone(){if(this===n.WGS84)return new n(d.Zn);if(this===n.WebMercator)return new n(d.R_);const e=new n;return null!=this.wkid?(e.wkid=this.wkid,null!=this.latestWkid&&(e.latestWkid=this.latestWkid),null!=this.vcsWkid&&(e.vcsWkid=this.vcsWkid),null!=this.latestVcsWkid&&(e.latestVcsWkid=this.latestVcsWkid)):(null!=this.wkt&&(e.wkt=this.wkt),null!=this.wkt2&&(e.wkt2=this.wkt2)),this.imageCoordinateSystem&&(e.imageCoordinateSystem=(0,s.d9)(this.imageCoordinateSystem)),e}equals(e){if(null==e)return!1;if(this.imageCoordinateSystem||e.imageCoordinateSystem){if(null==this.imageCoordinateSystem||null==e.imageCoordinateSystem)return!1;const{id:t,referenceServiceName:r}=e.imageCoordinateSystem,{geodataXform:n}=e.imageCoordinateSystem,o=this.imageCoordinateSystem;return null==t||n?JSON.stringify(o)===JSON.stringify(e.imageCoordinateSystem):r?o.id===t&&o.referenceServiceName===r:o.id===t}return(0,d.fS)(this,e)}toJSON(e){return this.write(void 0,e)}};_.GCS_NAD_1927=null,_.WGS84=null,_.WebMercator=null,_.PlateCarree=null,(0,o._)([(0,f.Cb)({readOnly:!0})],_.prototype,"isWGS84",null),(0,o._)([(0,f.Cb)({readOnly:!0})],_.prototype,"isWebMercator",null),(0,o._)([(0,f.Cb)({readOnly:!0})],_.prototype,"isGeographic",null),(0,o._)([(0,f.Cb)({readOnly:!0})],_.prototype,"isWrappable",null),(0,o._)([(0,f.Cb)({type:u.z8,json:{write:!0}})],_.prototype,"latestWkid",void 0),(0,o._)([(0,f.Cb)({readOnly:!0})],_.prototype,"metersPerUnit",null),(0,o._)([(0,f.Cb)({readOnly:!0})],_.prototype,"unit",null),(0,o._)([(0,f.Cb)({type:u.z8,json:{write:!0,origins:{"web-scene":{write:{overridePolicy(){return{isRequired:null==this.wkt}}}}}}})],_.prototype,"wkid",void 0),(0,o._)([(0,f.Cb)({type:String,json:{origins:{"web-scene":{write:{overridePolicy(){return{isRequired:null==this.wkid}}}}}}})],_.prototype,"wkt",void 0),(0,o._)([(0,l.c)("wkt"),(0,l.c)("web-scene","wkt")],_.prototype,"writeWkt",null),(0,o._)([(0,f.Cb)({type:String,json:{write:!1}})],_.prototype,"wkt2",void 0),(0,o._)([(0,f.Cb)({type:u.z8,json:{write:!0}})],_.prototype,"vcsWkid",void 0),(0,o._)([(0,f.Cb)({type:u.z8,json:{write:!0}})],_.prototype,"latestVcsWkid",void 0),(0,o._)([(0,f.Cb)()],_.prototype,"imageCoordinateSystem",void 0),_=n=(0,o._)([(0,c.j)("esri.geometry.SpatialReference")],_),_.prototype.toJSON.isDefaultToJSON=!0,_.GCS_NAD_1927=new _({wkid:4267,wkt:'GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]'}),_.WGS84=new _(d.Zn),_.WebMercator=new _(d.R_),_.PlateCarree=new _(d.WR),Object.freeze&&(Object.freeze(_.GCS_NAD_1927),Object.freeze(_.WGS84),Object.freeze(_.WebMercator),Object.freeze(_.PlateCarree));const h=_},2109:(e,t,r)=>{r.d(t,{Iu:()=>d,JL:()=>a,e8:()=>_,fY:()=>h,kU:()=>s,mM:()=>u,oe:()=>p,pn:()=>f});var n=r(68441),o=r(8744);function i(e){return{wkt:`GEOCCS["Spherical geocentric",\n DATUM["Not specified",\n SPHEROID["Sphere",${e.radius},0]],\n PRIMEM["Greenwich",0.0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",EAST],\n AXIS["Geocentric Z",NORTH]\n ]`}}const s=i(n.sv),a=i(n.yr),u=i(n.Z1),f={wkt:`GEOCCS["WGS 84",\n DATUM["WGS_1984",\n SPHEROID["WGS 84",${n.sv.radius},298.257223563,\n AUTHORITY["EPSG","7030"]],\n AUTHORITY["EPSG","6326"]],\n PRIMEM["Greenwich",0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0,\n AUTHORITY["EPSG","9001"]],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",OTHER],\n AXIS["Geocentric Z",NORTH],\n AUTHORITY["EPSG","4978"]\n]`},c=a.wkt.toUpperCase(),l=u.wkt.toUpperCase();function d(e){if(null!=e&&(0,o.JY)(e)){const t=e.wkid,r=e.wkt2??e.wkt;if((0,o.o$)(t))return n.yr;const i=r?.toUpperCase();if(r&&i===c)return n.yr;if((0,o.ME)(t)||i&&i===l)return n.Z1}return n.sv}function _(e){return(0,o.o$)(e)?n.yr:(0,o.ME)(e)?n.Z1:n.sv}function h(e){return(0,o.fS)(e,s)}function p(e){return h(e)||(0,o.fS)(e,a)||(0,o.fS)(e,u)}},62155:(e,t,r)=>{var n;r.d(t,{R:()=>n}),function(e){e[e.X=0]="X",e[e.Y=1]="Y",e[e.Z=2]="Z"}(n||(n={}))},68441:(e,t,r)=>{r.d(t,{Z1:()=>s,sv:()=>o,yr:()=>i});class n{constructor(e,t,r,n){this.semiMajorAxis=e,this.flattening=t,this.outerAtmosphereRimWidth=r;const o=1-this.flattening;this.semiMinorAxis=this.semiMajorAxis*o,this.halfSemiMajorAxis=this.semiMajorAxis/2,this.halfCircumference=Math.PI*this.semiMajorAxis,this.metersPerDegree=this.halfCircumference/180,this.inverseFlattening=1/(1-this.flattening)-1,this.eccentricitySquared=n||2*this.flattening-this.flattening*this.flattening,this.meanRadiusSemiAxes=(2*this.semiMajorAxis+this.semiMinorAxis)/3}get radius(){return this.semiMajorAxis}}const o=new n(6378137,1/298.257223563,3e5,.006694379990137799),i=new n(3396190,1/169.8944472236118,23e4),s=new n(1737400,0,0)},56726:(e,t,r)=>{var n;r.d(t,{W:()=>n}),function(e){e[e.CGCS2000=4490]="CGCS2000",e[e.GCSMARS2000=104971]="GCSMARS2000",e[e.GCSMARS2000_SPHERE=104905]="GCSMARS2000_SPHERE",e[e.GCSMOON2000=104903]="GCSMOON2000"}(n||(n={}))},58116:(e,t,r)=>{let n;r.d(t,{Z:()=>o});const o={values:[1,.3048,.3048006096012192,.3047972654,.9143917962,.201166195164,.9143984146160287,.3047994715386762,20.11676512155263,20.11678249437587,.9143985307444408,.91439523,.3047997101815088,20.1168,20.116756,5e4,15e4],units:["Meter","Foot","Foot_US","Foot_Clarke","Yard_Clarke","Link_Clarke","Yard_Sears","Foot_Sears","Chain_Sears","Chain_Benoit_1895_B","Yard_Indian","Yard_Indian_1937","Foot_Gold_Coast","Chain","Chain_Sears_1922_Truncated","50_Kilometers","150_Kilometers"],2066:5,2136:12,2155:2,2157:0,2158:0,2159:12,2160:12,2204:2,2219:0,2220:0,2254:2,2255:2,2256:1,2265:1,2266:1,2267:2,2268:2,2269:1,2270:1,2271:2,2272:2,2273:1,2294:0,2295:0,2314:3,2899:2,2900:2,2901:1,2909:1,2910:1,2911:2,2912:2,2913:1,2914:1,2992:1,2993:0,2994:1,3080:1,3089:2,3090:0,3091:2,3102:2,3141:0,3142:0,3167:14,3359:2,3360:0,3361:1,3362:0,3363:2,3364:0,3365:2,3366:3,3404:2,3405:0,3406:0,3407:3,3439:0,3440:0,3479:1,3480:0,3481:1,3482:0,3483:1,3484:0,3485:2,3486:0,3487:2,3488:0,3489:0,3490:2,3491:0,3492:2,3493:0,3494:2,3495:0,3496:2,3497:0,3498:2,3499:0,3500:2,3501:0,3502:2,3503:0,3504:2,3505:0,3506:2,3507:0,3508:2,3509:0,3510:2,3511:0,3512:2,3513:0,3514:0,3515:2,3516:0,3517:2,3518:0,3519:2,3520:0,3521:2,3522:0,3523:2,3524:0,3525:2,3526:0,3527:2,3528:0,3529:2,3530:0,3531:2,3532:0,3533:2,3534:0,3535:2,3536:0,3537:2,3538:0,3539:2,3540:0,3541:2,3542:0,3543:2,3544:0,3545:2,3546:0,3547:2,3548:0,3549:2,3550:0,3551:2,3552:0,3553:2,3582:2,3583:0,3584:2,3585:0,3586:2,3587:0,3588:1,3589:0,3590:1,3591:0,3592:0,3593:1,3598:2,3599:0,3600:2,3605:1,3606:0,3607:0,3608:2,3609:0,3610:2,3611:0,3612:2,3613:0,3614:2,3615:0,3616:2,3617:0,3618:2,3619:0,3620:2,3621:0,3622:2,3623:0,3624:2,3625:0,3626:2,3627:0,3628:2,3629:0,3630:2,3631:0,3632:2,3633:0,3634:1,3635:0,3636:1,3640:2,3641:0,3642:2,3643:0,3644:1,3645:0,3646:1,3647:0,3648:1,3649:0,3650:2,3651:0,3652:2,3653:0,3654:2,3655:0,3656:1,3657:0,3658:2,3659:0,3660:2,3661:0,3662:2,3663:0,3664:2,3668:2,3669:0,3670:2,3671:0,3672:2,3673:0,3674:2,3675:0,3676:1,3677:2,3678:0,3679:1,3680:2,3681:0,3682:1,3683:2,3684:0,3685:0,3686:2,3687:0,3688:2,3689:0,3690:2,3691:0,3692:2,3696:2,3697:0,3698:2,3699:0,3700:2,3793:0,3794:0,3812:0,3854:0,3857:0,3920:0,3978:0,3979:0,3991:2,3992:2,4026:0,4037:0,4038:0,4071:0,4082:0,4083:0,4087:0,4088:0,4217:2,4414:0,4415:0,4417:0,4434:0,4437:0,4438:2,4439:2,4462:0,4467:0,4471:0,4474:0,4559:0,4647:0,4822:0,4826:0,4839:0,5018:0,5041:0,5042:0,5048:0,5221:0,5223:0,5234:0,5235:0,5243:0,5247:0,5266:0,5316:0,5320:0,5321:0,5325:0,5337:0,5361:0,5362:0,5367:0,5382:0,5383:0,5396:0,5456:0,5457:0,5469:0,5472:4,5490:0,5513:0,5514:0,5523:0,5559:0,5588:1,5589:3,5596:0,5627:0,5629:0,5641:0,5643:0,5644:0,5646:2,5654:2,5655:2,5659:0,5700:0,5825:0,5836:0,5837:0,5839:0,5842:0,5844:0,5858:0,5879:0,5880:0,5887:0,5890:0,6128:1,6129:1,6141:1,6204:0,6210:0,6211:0,6307:0,6312:0,6316:0,6362:0,6391:1,6405:1,6406:0,6407:1,6408:0,6409:1,6410:0,6411:2,6412:0,6413:2,6414:0,6415:0,6416:2,6417:0,6418:2,6419:0,6420:2,6421:0,6422:2,6423:0,6424:2,6425:0,6426:2,6427:0,6428:2,6429:0,6430:2,6431:0,6432:2,6433:0,6434:2,6435:0,6436:2,6437:0,6438:2,6439:0,6440:0,6441:2,6442:0,6443:2,6444:0,6445:2,6446:0,6447:2,6448:0,6449:2,6450:0,6451:2,6452:0,6453:2,6454:0,6455:2,6456:0,6457:2,6458:0,6459:2,6460:0,6461:2,6462:0,6463:2,6464:0,6465:2,6466:0,6467:2,6468:0,6469:2,6470:0,6471:2,6472:0,6473:2,6474:0,6475:2,6476:0,6477:2,6478:0,6479:2,6484:2,6485:0,6486:2,6487:0,6488:2,6489:0,6490:2,6491:0,6492:2,6493:0,6494:1,6495:0,6496:1,6497:0,6498:0,6499:1,6500:0,6501:2,6502:0,6503:2,6504:0,6505:2,6506:0,6507:2,6508:0,6509:0,6510:2,6515:1,6516:0,6518:0,6519:2,6520:0,6521:2,6522:0,6523:2,6524:0,6525:2,6526:0,6527:2,6528:0,6529:2,6530:0,6531:2,6532:0,6533:2,6534:0,6535:2,6536:0,6537:2,6538:0,6539:2,6540:0,6541:2,6542:0,6543:2,6544:0,6545:1,6546:0,6547:1,6548:0,6549:2,6550:0,6551:2,6552:0,6553:2,6554:0,6555:2,6556:0,6557:1,6558:0,6559:1,6560:0,6561:1,6562:0,6563:2,6564:0,6565:2,6566:0,6567:0,6568:2,6569:0,6570:1,6571:0,6572:2,6573:0,6574:2,6575:0,6576:2,6577:0,6578:2,6582:2,6583:0,6584:2,6585:0,6586:2,6587:0,6588:2,6589:0,6590:2,6591:0,6592:0,6593:2,6594:0,6595:2,6596:0,6597:2,6598:0,6599:2,6600:0,6601:2,6602:0,6603:2,6605:2,6606:0,6607:2,6608:0,6609:2,6610:0,6611:0,6612:2,6613:0,6614:2,6615:0,6616:2,6617:0,6618:2,6633:2,6646:0,6703:0,6784:0,6785:1,6786:0,6787:1,6788:0,6789:1,6790:0,6791:1,6792:0,6793:1,6794:0,6795:1,6796:0,6797:1,6798:0,6799:1,6800:0,6801:1,6802:0,6803:1,6804:0,6805:1,6806:0,6807:1,6808:0,6809:1,6810:0,6811:1,6812:0,6813:1,6814:0,6815:1,6816:0,6817:1,6818:0,6819:1,6820:0,6821:1,6822:0,6823:1,6824:0,6825:1,6826:0,6827:1,6828:0,6829:1,6830:0,6831:1,6832:0,6833:1,6834:0,6835:1,6836:0,6837:1,6838:0,6839:1,6840:0,6841:1,6842:0,6843:1,6844:0,6845:1,6846:0,6847:1,6848:0,6849:1,6850:0,6851:1,6852:0,6853:1,6854:0,6855:1,6856:0,6857:1,6858:0,6859:1,6860:0,6861:1,6862:0,6863:1,6867:0,6868:1,6870:0,6875:0,6876:0,6879:0,6880:2,6884:0,6885:1,6886:0,6887:1,6915:0,6922:0,6923:2,6924:0,6925:2,6962:0,6984:0,6991:0,7128:2,7131:0,7132:2,7142:0,7257:0,7258:2,7259:0,7260:2,7261:0,7262:2,7263:0,7264:2,7265:0,7266:2,7267:0,7268:2,7269:0,7270:2,7271:0,7272:2,7273:0,7274:2,7275:0,7276:2,7277:0,7278:2,7279:0,7280:2,7281:0,7282:2,7283:0,7284:2,7285:0,7286:2,7287:0,7288:2,7289:0,7290:2,7291:0,7292:2,7293:0,7294:2,7295:0,7296:2,7297:0,7298:2,7299:0,7300:2,7301:0,7302:2,7303:0,7304:2,7305:0,7306:2,7307:0,7308:2,7309:0,7310:2,7311:0,7312:2,7313:0,7314:2,7315:0,7316:2,7317:0,7318:2,7319:0,7320:2,7321:0,7322:2,7323:0,7324:2,7325:0,7326:2,7327:0,7328:2,7329:0,7330:2,7331:0,7332:2,7333:0,7334:2,7335:0,7336:2,7337:0,7338:2,7339:0,7340:2,7341:0,7342:2,7343:0,7344:2,7345:0,7346:2,7347:0,7348:2,7349:0,7350:2,7351:0,7352:2,7353:0,7354:2,7355:0,7356:2,7357:0,7358:2,7359:0,7360:2,7361:0,7362:2,7363:0,7364:2,7365:0,7366:2,7367:0,7368:2,7369:0,7370:2,7877:0,7878:0,7882:0,7883:0,7887:0,7899:0,7991:0,7992:0,8035:2,8036:2,8058:0,8059:0,8082:0,8083:0,8088:0,8090:0,8091:2,8092:0,8093:2,8095:0,8096:2,8097:0,8098:2,8099:0,8100:2,8101:0,8102:2,8103:0,8104:2,8105:0,8106:2,8107:0,8108:2,8109:0,8110:2,8111:0,8112:2,8113:0,8114:2,8115:0,8116:2,8117:0,8118:2,8119:0,8120:2,8121:0,8122:2,8123:0,8124:2,8125:0,8126:2,8127:0,8128:2,8129:0,8130:2,8131:0,8132:2,8133:0,8134:2,8135:0,8136:2,8137:0,8138:2,8139:0,8140:2,8141:0,8142:2,8143:0,8144:2,8145:0,8146:2,8147:0,8148:2,8149:0,8150:2,8151:0,8152:2,8153:0,8154:2,8155:0,8156:2,8157:0,8158:2,8159:0,8160:2,8161:0,8162:2,8163:0,8164:2,8165:0,8166:2,8167:0,8168:2,8169:0,8170:2,8171:0,8172:2,8173:0,8177:2,8179:0,8180:2,8181:0,8182:2,8184:0,8185:2,8187:0,8189:2,8191:0,8193:2,8196:0,8197:2,8198:0,8200:2,8201:0,8202:2,8203:0,8204:2,8205:0,8206:2,8207:0,8208:2,8209:0,8210:2,8212:0,8213:2,8214:0,8216:2,8218:0,8220:2,8222:0,8224:2,8225:0,8226:2,8311:0,8312:1,8313:0,8314:1,8315:0,8316:1,8317:0,8318:1,8319:0,8320:1,8321:0,8322:1,8323:0,8324:1,8325:0,8326:1,8327:0,8328:1,8329:0,8330:1,8331:0,8332:1,8333:0,8334:1,8335:0,8336:1,8337:0,8338:1,8339:0,8340:1,8341:0,8342:1,8343:0,8344:1,8345:0,8346:1,8347:0,8348:1,8352:0,8353:0,8379:0,8380:2,8381:0,8382:2,8383:0,8384:2,8385:0,8387:2,8391:0,8395:0,8433:0,8441:0,8455:0,8456:0,8531:2,8682:0,8686:0,8687:0,8692:0,8693:0,8826:0,8903:0,8950:0,8951:0,9039:0,9040:0,9141:0,9149:0,9150:0,9191:0,9221:0,9222:0,9249:0,9250:0,9252:0,9254:0,9265:0,9284:0,9285:0,9300:0,9354:0,9367:0,9373:0,9377:0,9387:0,9391:0,9456:0,9473:0,9498:0,9674:0,9678:0,9680:0,9709:0,9712:0,9713:0,9716:0,9741:0,9748:2,9749:2,9761:0,9766:0,9793:0,9794:0,9869:0,9874:0,9875:0,9880:0,9895:0,9943:0,9945:0,9947:0,9967:0,9972:0,9977:0,10160:0,10183:0,10188:0,10194:0,10199:0,10207:0,10212:0,10217:0,10222:0,10227:0,10235:0,10240:0,10250:0,10254:0,10270:0,10275:0,10280:0,10306:0,10329:0,10471:0,20002:0,20042:0,20050:1,20499:0,20538:0,20539:0,20790:0,20791:0,21291:0,21292:0,21500:0,21817:0,21818:0,22032:0,22033:0,22091:0,22092:0,22239:0,22240:0,22332:0,22337:0,22338:0,22391:0,22392:0,22639:0,22700:0,22739:0,22770:0,22780:0,22832:0,23090:0,23095:0,23239:0,23240:0,23433:0,23700:0,24047:0,24048:0,24100:3,24200:0,24305:0,24306:0,24382:10,24383:0,24500:0,24547:0,24548:0,24571:9,24600:0,25e3:0,25231:0,25884:0,25932:0,26237:0,26331:0,26332:0,26432:0,26591:0,26592:0,26632:0,26692:0,27120:0,27200:0,27291:6,27292:6,27429:0,27492:0,27493:0,27500:0,27700:0,28232:0,28600:0,28991:0,28992:0,29100:0,29101:0,29220:0,29221:0,29333:0,29635:0,29636:0,29701:0,29738:0,29739:0,29849:0,29850:0,29871:8,29872:7,29873:0,29874:0,30200:5,30339:0,30340:0,30591:0,30592:0,30791:0,30792:0,30800:0,31028:0,31121:0,31154:0,31170:0,31171:0,31370:0,31528:0,31529:0,31600:0,31700:0,31838:0,31839:0,31900:0,31901:0,32061:0,32062:0,32098:0,32099:2,32100:0,32104:0,32161:0,32766:0,53048:0,53049:0,54090:0,54091:0,65061:2,65062:2,65161:0,65163:0,102041:2,102064:11,102068:15,102069:16,102118:2,102119:1,102120:2,102121:2,102217:2,102218:0,102219:2,102220:2,102378:1,102379:1,102380:0,102381:1,102589:2,102599:2,102600:2,102604:2,102647:0,102704:2,102705:2,102706:0,102731:0,102732:0,102759:1,102760:1,102761:2,102762:0,102763:2,102764:0,102765:0,102766:2,102970:1,102974:2,102993:0,102994:0,102995:2,102996:2,103015:0,103016:2,103017:0,103018:2,103025:0,103026:0,103027:2,103028:2,103035:0,103036:0,103037:2,103038:2,103039:0,103040:0,103041:2,103042:2,103043:0,103044:0,103045:2,103046:2,103047:0,103048:0,103049:2,103050:2,103051:0,103052:2,103053:0,103054:2,103055:0,103056:2,103057:0,103058:0,103059:2,103060:2,103061:0,103062:0,103063:2,103064:2,103069:2,103070:0,103071:0,103072:2,103073:2,103086:0,103087:0,103088:2,103089:2,103094:1,103095:0,103096:2,103103:0,103104:2,103105:0,103106:2,103121:0,103122:2,103123:0,103124:0,103125:1,103126:1,103127:0,103128:0,103129:2,103130:2,103131:0,103132:0,103133:2,103134:2,103135:0,103136:0,103137:1,103138:1,103139:0,103140:2,103141:0,103142:2,103143:0,103144:2,103145:0,103146:1,103147:0,103148:0,103149:2,103150:2,103151:0,103152:2,103172:0,103173:2,103174:0,103175:0,103176:2,103177:2,103178:0,103179:0,103180:2,103181:2,103182:0,103183:0,103184:2,103185:2,103228:0,103229:0,103230:2,103231:2,103250:0,103251:2,103252:0,103253:2,103260:0,103261:0,103262:2,103263:2,103270:0,103271:0,103272:2,103273:2,103274:0,103275:0,103276:2,103277:2,103278:0,103279:0,103280:2,103281:2,103282:0,103283:0,103284:2,103285:2,103286:0,103287:2,103288:0,103289:2,103290:0,103291:2,103292:0,103293:0,103294:2,103295:2,103296:0,103297:0,103298:2,103299:2,103376:2,103377:0,103378:0,103379:2,103380:2,103393:0,103394:0,103395:2,103396:2,103472:0,103473:1,103474:0,103475:2,103482:0,103483:2,103484:0,103485:2,103500:0,103501:2,103502:0,103503:0,103504:1,103505:1,103506:0,103507:0,103508:2,103509:2,103510:0,103511:0,103512:2,103513:2,103514:0,103515:2,103516:0,103517:2,103518:0,103519:2,103520:0,103521:1,103522:0,103523:0,103524:2,103525:2,103526:0,103527:2,103561:2,103562:2,103563:0,103564:0,103565:2,103566:2,103567:0,103568:0,103569:2,103570:2,103584:0,103585:2,103586:0,103587:2,103588:1,103589:0,103590:2,103591:1,103592:0,103593:2,103594:1,103695:2,103897:1};for(n=2e3;n<=2045;n++)o[n]=0;for(n=2056;n<=2065;n++)o[n]=0;for(n=2067;n<=2135;n++)o[n]=0;for(n=2137;n<=2154;n++)o[n]=0;for(n=2161;n<=2170;n++)o[n]=0;for(n=2172;n<=2193;n++)o[n]=0;for(n=2195;n<=2198;n++)o[n]=0;for(n=2200;n<=2203;n++)o[n]=0;for(n=2205;n<=2217;n++)o[n]=0;for(n=2222;n<=2224;n++)o[n]=1;for(n=2225;n<=2250;n++)o[n]=2;for(n=2251;n<=2253;n++)o[n]=1;for(n=2257;n<=2264;n++)o[n]=2;for(n=2274;n<=2279;n++)o[n]=2;for(n=2280;n<=2282;n++)o[n]=1;for(n=2283;n<=2289;n++)o[n]=2;for(n=2290;n<=2292;n++)o[n]=0;for(n=2308;n<=2313;n++)o[n]=0;for(n=2315;n<=2491;n++)o[n]=0;for(n=2494;n<=2866;n++)o[n]=0;for(n=2867;n<=2869;n++)o[n]=1;for(n=2870;n<=2888;n++)o[n]=2;for(n=2891;n<=2895;n++)o[n]=2;for(n=2896;n<=2898;n++)o[n]=1;for(n=2902;n<=2908;n++)o[n]=2;for(n=2915;n<=2920;n++)o[n]=2;for(n=2921;n<=2923;n++)o[n]=1;for(n=2924;n<=2930;n++)o[n]=2;for(n=2931;n<=2962;n++)o[n]=0;for(n=2964;n<=2968;n++)o[n]=2;for(n=2969;n<=2973;n++)o[n]=0;for(n=2975;n<=2991;n++)o[n]=0;for(n=2995;n<=3051;n++)o[n]=0;for(n=3054;n<=3079;n++)o[n]=0;for(n=3081;n<=3088;n++)o[n]=0;for(n=3092;n<=3101;n++)o[n]=0;for(n=3106;n<=3138;n++)o[n]=0;for(n=3146;n<=3151;n++)o[n]=0;for(n=3153;n<=3166;n++)o[n]=0;for(n=3168;n<=3172;n++)o[n]=0;for(n=3174;n<=3203;n++)o[n]=0;for(n=3294;n<=3358;n++)o[n]=0;for(n=3367;n<=3403;n++)o[n]=0;for(n=3408;n<=3416;n++)o[n]=0;for(n=3417;n<=3438;n++)o[n]=2;for(n=3441;n<=3446;n++)o[n]=2;for(n=3447;n<=3450;n++)o[n]=0;for(n=3451;n<=3459;n++)o[n]=2;for(n=3460;n<=3478;n++)o[n]=0;for(n=3554;n<=3559;n++)o[n]=0;for(n=3560;n<=3570;n++)o[n]=2;for(n=3571;n<=3581;n++)o[n]=0;for(n=3594;n<=3597;n++)o[n]=0;for(n=3601;n<=3604;n++)o[n]=0;for(n=3637;n<=3639;n++)o[n]=0;for(n=3665;n<=3667;n++)o[n]=0;for(n=3693;n<=3695;n++)o[n]=0;for(n=3701;n<=3727;n++)o[n]=0;for(n=3728;n<=3739;n++)o[n]=2;for(n=3740;n<=3751;n++)o[n]=0;for(n=3753;n<=3760;n++)o[n]=2;for(n=3761;n<=3773;n++)o[n]=0;for(n=3775;n<=3777;n++)o[n]=0;for(n=3779;n<=3781;n++)o[n]=0;for(n=3783;n<=3785;n++)o[n]=0;for(n=3788;n<=3791;n++)o[n]=0;for(n=3797;n<=3802;n++)o[n]=0;for(n=3814;n<=3816;n++)o[n]=0;for(n=3825;n<=3829;n++)o[n]=0;for(n=3832;n<=3841;n++)o[n]=0;for(n=3844;n<=3852;n++)o[n]=0;for(n=3873;n<=3885;n++)o[n]=0;for(n=3890;n<=3893;n++)o[n]=0;for(n=3907;n<=3912;n++)o[n]=0;for(n=3942;n<=3950;n++)o[n]=0;for(n=3968;n<=3970;n++)o[n]=0;for(n=3973;n<=3976;n++)o[n]=0;for(n=3986;n<=3989;n++)o[n]=0;for(n=3994;n<=3997;n++)o[n]=0;for(n=4048;n<=4051;n++)o[n]=0;for(n=4056;n<=4063;n++)o[n]=0;for(n=4093;n<=4096;n++)o[n]=0;for(n=4390;n<=4398;n++)o[n]=0;for(n=4399;n<=4413;n++)o[n]=2;for(n=4418;n<=4433;n++)o[n]=2;for(n=4455;n<=4457;n++)o[n]=2;for(n=4484;n<=4489;n++)o[n]=0;for(n=4491;n<=4554;n++)o[n]=0;for(n=4568;n<=4589;n++)o[n]=0;for(n=4652;n<=4656;n++)o[n]=0;for(n=4766;n<=4800;n++)o[n]=0;for(n=5014;n<=5016;n++)o[n]=0;for(n=5069;n<=5072;n++)o[n]=0;for(n=5105;n<=5130;n++)o[n]=0;for(n=5167;n<=5188;n++)o[n]=0;for(n=5253;n<=5259;n++)o[n]=0;for(n=5269;n<=5275;n++)o[n]=0;for(n=5292;n<=5311;n++)o[n]=0;for(n=5329;n<=5331;n++)o[n]=0;for(n=5343;n<=5349;n++)o[n]=0;for(n=5355;n<=5357;n++)o[n]=0;for(n=5387;n<=5389;n++)o[n]=0;for(n=5459;n<=5463;n++)o[n]=0;for(n=5479;n<=5482;n++)o[n]=0;for(n=5518;n<=5520;n++)o[n]=0;for(n=5530;n<=5539;n++)o[n]=0;for(n=5550;n<=5552;n++)o[n]=0;for(n=5562;n<=5583;n++)o[n]=0;for(n=5623;n<=5625;n++)o[n]=2;for(n=5631;n<=5639;n++)o[n]=0;for(n=5649;n<=5653;n++)o[n]=0;for(n=5663;n<=5680;n++)o[n]=0;for(n=5682;n<=5685;n++)o[n]=0;for(n=5875;n<=5877;n++)o[n]=0;for(n=5896;n<=5899;n++)o[n]=0;for(n=5921;n<=5940;n++)o[n]=0;for(n=6050;n<=6125;n++)o[n]=0;for(n=6244;n<=6275;n++)o[n]=0;for(n=6328;n<=6348;n++)o[n]=0;for(n=6350;n<=6356;n++)o[n]=0;for(n=6366;n<=6372;n++)o[n]=0;for(n=6381;n<=6387;n++)o[n]=0;for(n=6393;n<=6404;n++)o[n]=0;for(n=6480;n<=6483;n++)o[n]=0;for(n=6511;n<=6514;n++)o[n]=0;for(n=6579;n<=6581;n++)o[n]=0;for(n=6619;n<=6624;n++)o[n]=0;for(n=6625;n<=6627;n++)o[n]=2;for(n=6628;n<=6632;n++)o[n]=0;for(n=6634;n<=6637;n++)o[n]=0;for(n=6669;n<=6692;n++)o[n]=0;for(n=6707;n<=6709;n++)o[n]=0;for(n=6720;n<=6723;n++)o[n]=0;for(n=6732;n<=6738;n++)o[n]=0;for(n=6931;n<=6933;n++)o[n]=0;for(n=6956;n<=6959;n++)o[n]=0;for(n=7005;n<=7007;n++)o[n]=0;for(n=7057;n<=7070;n++)o[n]=2;for(n=7074;n<=7082;n++)o[n]=0;for(n=7109;n<=7118;n++)o[n]=0;for(n=7119;n<=7127;n++)o[n]=1;for(n=7374;n<=7376;n++)o[n]=0;for(n=7528;n<=7586;n++)o[n]=0;for(n=7587;n<=7645;n++)o[n]=2;for(n=7692;n<=7696;n++)o[n]=0;for(n=7755;n<=7787;n++)o[n]=0;for(n=7791;n<=7795;n++)o[n]=0;for(n=7799;n<=7801;n++)o[n]=0;for(n=7803;n<=7805;n++)o[n]=0;for(n=7825;n<=7831;n++)o[n]=0;for(n=7845;n<=7859;n++)o[n]=0;for(n=8013;n<=8032;n++)o[n]=0;for(n=8065;n<=8068;n++)o[n]=1;for(n=8518;n<=8529;n++)o[n]=2;for(n=8533;n<=8536;n++)o[n]=2;for(n=8538;n<=8540;n++)o[n]=2;for(n=8677;n<=8679;n++)o[n]=0;for(n=8836;n<=8840;n++)o[n]=0;for(n=8857;n<=8859;n++)o[n]=0;for(n=8908;n<=8910;n++)o[n]=0;for(n=9154;n<=9159;n++)o[n]=0;for(n=9205;n<=9218;n++)o[n]=0;for(n=9271;n<=9273;n++)o[n]=0;for(n=9295;n<=9297;n++)o[n]=0;for(n=9356;n<=9360;n++)o[n]=0;for(n=9404;n<=9407;n++)o[n]=0;for(n=9476;n<=9482;n++)o[n]=0;for(n=9487;n<=9494;n++)o[n]=0;for(n=9697;n<=9699;n++)o[n]=0;for(n=9821;n<=9865;n++)o[n]=0;for(n=10285;n<=10291;n++)o[n]=0;for(n=10314;n<=10317;n++)o[n]=0;for(n=10448;n<=10465;n++)o[n]=0;for(n=11114;n<=11118;n++)o[n]=0;for(n=20004;n<=20032;n++)o[n]=0;for(n=20047;n<=20049;n++)o[n]=0;for(n=20062;n<=20092;n++)o[n]=0;for(n=20135;n<=20138;n++)o[n]=0;for(n=20248;n<=20258;n++)o[n]=0;for(n=20348;n<=20358;n++)o[n]=0;for(n=20436;n<=20440;n++)o[n]=0;for(n=20822;n<=20824;n++)o[n]=0;for(n=20904;n<=20932;n++)o[n]=0;for(n=20934;n<=20936;n++)o[n]=0;for(n=21004;n<=21032;n++)o[n]=0;for(n=21035;n<=21037;n++)o[n]=0;for(n=21095;n<=21097;n++)o[n]=0;for(n=21148;n<=21150;n++)o[n]=0;for(n=21207;n<=21264;n++)o[n]=0;for(n=21307;n<=21364;n++)o[n]=0;for(n=21413;n<=21423;n++)o[n]=0;for(n=21453;n<=21463;n++)o[n]=0;for(n=21473;n<=21483;n++)o[n]=0;for(n=21780;n<=21782;n++)o[n]=0;for(n=21891;n<=21894;n++)o[n]=0;for(n=21896;n<=21899;n++)o[n]=0;for(n=22171;n<=22177;n++)o[n]=0;for(n=22181;n<=22187;n++)o[n]=0;for(n=22191;n<=22197;n++)o[n]=0;for(n=22207;n<=22222;n++)o[n]=0;for(n=22229;n<=22232;n++)o[n]=0;for(n=22234;n<=22236;n++)o[n]=0;for(n=22243;n<=22250;n++)o[n]=0;for(n=22262;n<=22265;n++)o[n]=0;for(n=22307;n<=22322;n++)o[n]=0;for(n=22348;n<=22357;n++)o[n]=0;for(n=22407;n<=22422;n++)o[n]=0;for(n=22462;n<=22465;n++)o[n]=0;for(n=22521;n<=22525;n++)o[n]=0;for(n=22607;n<=22622;n++)o[n]=0;for(n=22641;n<=22646;n++)o[n]=0;for(n=22648;n<=22657;n++)o[n]=0;for(n=22707;n<=22722;n++)o[n]=0;for(n=22762;n<=22765;n++)o[n]=0;for(n=22807;n<=22822;n++)o[n]=0;for(n=22991;n<=22994;n++)o[n]=0;for(n=23028;n<=23038;n++)o[n]=0;for(n=23301;n<=23333;n++)o[n]=2;for(n=23830;n<=23853;n++)o[n]=0;for(n=23866;n<=23872;n++)o[n]=0;for(n=23877;n<=23884;n++)o[n]=0;for(n=23886;n<=23894;n++)o[n]=0;for(n=23946;n<=23948;n++)o[n]=0;for(n=24311;n<=24313;n++)o[n]=0;for(n=24342;n<=24347;n++)o[n]=0;for(n=24370;n<=24374;n++)o[n]=10;for(n=24375;n<=24381;n++)o[n]=0;for(n=24718;n<=24721;n++)o[n]=0;for(n=24817;n<=24821;n++)o[n]=0;for(n=24877;n<=24882;n++)o[n]=0;for(n=24891;n<=24893;n++)o[n]=0;for(n=25391;n<=25395;n++)o[n]=0;for(n=25828;n<=25838;n++)o[n]=0;for(n=26191;n<=26195;n++)o[n]=0;for(n=26391;n<=26393;n++)o[n]=0;for(n=26701;n<=26722;n++)o[n]=0;for(n=26729;n<=26799;n++)o[n]=2;for(n=26801;n<=26803;n++)o[n]=2;for(n=26811;n<=26813;n++)o[n]=2;for(n=26847;n<=26870;n++)o[n]=2;for(n=26891;n<=26899;n++)o[n]=0;for(n=26901;n<=26923;n++)o[n]=0;for(n=26929;n<=26946;n++)o[n]=0;for(n=26948;n<=26998;n++)o[n]=0;for(n=27037;n<=27040;n++)o[n]=0;for(n=27205;n<=27232;n++)o[n]=0;for(n=27258;n<=27260;n++)o[n]=0;for(n=27391;n<=27398;n++)o[n]=0;for(n=27561;n<=27564;n++)o[n]=0;for(n=27571;n<=27574;n++)o[n]=0;for(n=27581;n<=27584;n++)o[n]=0;for(n=27591;n<=27594;n++)o[n]=0;for(n=28191;n<=28193;n++)o[n]=0;for(n=28348;n<=28358;n++)o[n]=0;for(n=28402;n<=28432;n++)o[n]=0;for(n=28462;n<=28492;n++)o[n]=0;for(n=29118;n<=29122;n++)o[n]=0;for(n=29168;n<=29172;n++)o[n]=0;for(n=29177;n<=29185;n++)o[n]=0;for(n=29187;n<=29195;n++)o[n]=0;for(n=29900;n<=29903;n++)o[n]=0;for(n=30161;n<=30179;n++)o[n]=0;for(n=30491;n<=30494;n++)o[n]=0;for(n=30729;n<=30732;n++)o[n]=0;for(n=31251;n<=31259;n++)o[n]=0;for(n=31265;n<=31268;n++)o[n]=0;for(n=31275;n<=31279;n++)o[n]=0;for(n=31281;n<=31297;n++)o[n]=0;for(n=31461;n<=31469;n++)o[n]=0;for(n=31491;n<=31495;n++)o[n]=0;for(n=31917;n<=31922;n++)o[n]=0;for(n=31965;n<=32e3;n++)o[n]=0;for(n=32001;n<=32003;n++)o[n]=2;for(n=32005;n<=32031;n++)o[n]=2;for(n=32033;n<=32060;n++)o[n]=2;for(n=32064;n<=32067;n++)o[n]=2;for(n=32074;n<=32077;n++)o[n]=2;for(n=32081;n<=32086;n++)o[n]=0;for(n=32107;n<=32130;n++)o[n]=0;for(n=32133;n<=32159;n++)o[n]=0;for(n=32164;n<=32167;n++)o[n]=2;for(n=32180;n<=32199;n++)o[n]=0;for(n=32201;n<=32260;n++)o[n]=0;for(n=32301;n<=32360;n++)o[n]=0;for(n=32401;n<=32460;n++)o[n]=0;for(n=32501;n<=32560;n++)o[n]=0;for(n=32601;n<=32662;n++)o[n]=0;for(n=32664;n<=32667;n++)o[n]=2;for(n=32701;n<=32761;n++)o[n]=0;for(n=53001;n<=53004;n++)o[n]=0;for(n=53008;n<=53019;n++)o[n]=0;for(n=53021;n<=53032;n++)o[n]=0;for(n=53034;n<=53037;n++)o[n]=0;for(n=53042;n<=53046;n++)o[n]=0;for(n=53074;n<=53080;n++)o[n]=0;for(n=54001;n<=54004;n++)o[n]=0;for(n=54008;n<=54019;n++)o[n]=0;for(n=54021;n<=54032;n++)o[n]=0;for(n=54034;n<=54037;n++)o[n]=0;for(n=54042;n<=54046;n++)o[n]=0;for(n=54048;n<=54053;n++)o[n]=0;for(n=54074;n<=54080;n++)o[n]=0;for(n=54098;n<=54101;n++)o[n]=0;for(n=102001;n<=102040;n++)o[n]=0;for(n=102042;n<=102063;n++)o[n]=0;for(n=102065;n<=102067;n++)o[n]=0;for(n=102070;n<=102117;n++)o[n]=0;for(n=102122;n<=102216;n++)o[n]=0;for(n=102221;n<=102377;n++)o[n]=0;for(n=102382;n<=102388;n++)o[n]=0;for(n=102389;n<=102398;n++)o[n]=2;for(n=102399;n<=102444;n++)o[n]=0;for(n=102445;n<=102447;n++)o[n]=2;for(n=102448;n<=102458;n++)o[n]=0;for(n=102459;n<=102468;n++)o[n]=2;for(n=102469;n<=102499;n++)o[n]=0;for(n=102500;n<=102519;n++)o[n]=1;for(n=102520;n<=102524;n++)o[n]=0;for(n=102525;n<=102529;n++)o[n]=2;for(n=102530;n<=102588;n++)o[n]=0;for(n=102590;n<=102598;n++)o[n]=0;for(n=102601;n<=102603;n++)o[n]=0;for(n=102605;n<=102628;n++)o[n]=0;for(n=102629;n<=102646;n++)o[n]=2;for(n=102648;n<=102700;n++)o[n]=2;for(n=102701;n<=102703;n++)o[n]=0;for(n=102707;n<=102730;n++)o[n]=2;for(n=102733;n<=102758;n++)o[n]=2;for(n=102767;n<=102900;n++)o[n]=0;for(n=102901;n<=102933;n++)o[n]=2;for(n=102934;n<=102950;n++)o[n]=13;for(n=102951;n<=102955;n++)o[n]=0;for(n=102961;n<=102963;n++)o[n]=0;for(n=102965;n<=102969;n++)o[n]=0;for(n=102971;n<=102973;n++)o[n]=0;for(n=102975;n<=102989;n++)o[n]=0;for(n=102990;n<=102992;n++)o[n]=1;for(n=102997;n<=103002;n++)o[n]=0;for(n=103003;n<=103008;n++)o[n]=2;for(n=103009;n<=103011;n++)o[n]=0;for(n=103012;n<=103014;n++)o[n]=2;for(n=103019;n<=103021;n++)o[n]=0;for(n=103022;n<=103024;n++)o[n]=2;for(n=103029;n<=103031;n++)o[n]=0;for(n=103032;n<=103034;n++)o[n]=2;for(n=103065;n<=103068;n++)o[n]=0;for(n=103074;n<=103076;n++)o[n]=0;for(n=103077;n<=103079;n++)o[n]=1;for(n=103080;n<=103082;n++)o[n]=0;for(n=103083;n<=103085;n++)o[n]=2;for(n=103090;n<=103093;n++)o[n]=0;for(n=103097;n<=103099;n++)o[n]=0;for(n=103100;n<=103102;n++)o[n]=2;for(n=103107;n<=103109;n++)o[n]=0;for(n=103110;n<=103112;n++)o[n]=2;for(n=103113;n<=103116;n++)o[n]=0;for(n=103117;n<=103120;n++)o[n]=2;for(n=103153;n<=103157;n++)o[n]=0;for(n=103158;n<=103162;n++)o[n]=2;for(n=103163;n<=103165;n++)o[n]=0;for(n=103166;n<=103168;n++)o[n]=1;for(n=103169;n<=103171;n++)o[n]=2;for(n=103186;n<=103188;n++)o[n]=0;for(n=103189;n<=103191;n++)o[n]=2;for(n=103192;n<=103195;n++)o[n]=0;for(n=103196;n<=103199;n++)o[n]=2;for(n=103200;n<=103224;n++)o[n]=0;for(n=103225;n<=103227;n++)o[n]=1;for(n=103232;n<=103237;n++)o[n]=0;for(n=103238;n<=103243;n++)o[n]=2;for(n=103244;n<=103246;n++)o[n]=0;for(n=103247;n<=103249;n++)o[n]=2;for(n=103254;n<=103256;n++)o[n]=0;for(n=103257;n<=103259;n++)o[n]=2;for(n=103264;n<=103266;n++)o[n]=0;for(n=103267;n<=103269;n++)o[n]=2;for(n=103300;n<=103375;n++)o[n]=0;for(n=103381;n<=103383;n++)o[n]=0;for(n=103384;n<=103386;n++)o[n]=1;for(n=103387;n<=103389;n++)o[n]=0;for(n=103390;n<=103392;n++)o[n]=2;for(n=103397;n<=103399;n++)o[n]=0;for(n=103400;n<=103471;n++)o[n]=2;for(n=103476;n<=103478;n++)o[n]=0;for(n=103479;n<=103481;n++)o[n]=2;for(n=103486;n<=103488;n++)o[n]=0;for(n=103489;n<=103491;n++)o[n]=2;for(n=103492;n<=103495;n++)o[n]=0;for(n=103496;n<=103499;n++)o[n]=2;for(n=103528;n<=103543;n++)o[n]=0;for(n=103544;n<=103548;n++)o[n]=2;for(n=103549;n<=103551;n++)o[n]=0;for(n=103552;n<=103554;n++)o[n]=1;for(n=103555;n<=103557;n++)o[n]=2;for(n=103558;n<=103560;n++)o[n]=0;for(n=103571;n<=103573;n++)o[n]=0;for(n=103574;n<=103576;n++)o[n]=2;for(n=103577;n<=103580;n++)o[n]=0;for(n=103581;n<=103583;n++)o[n]=2;for(n=103595;n<=103694;n++)o[n]=0;for(n=103696;n<=103699;n++)o[n]=0;for(n=103700;n<=103793;n++)o[n]=2;for(n=103794;n<=103890;n++)o[n]=0;for(n=103891;n<=103896;n++)o[n]=2;for(n=103900;n<=103971;n++)o[n]=2;for(n=103972;n<=103977;n++)o[n]=0;for(n=112e3;n<=112101;n++)o[n]=0},8744:(e,t,r)=>{r.d(t,{B9:()=>h,BZ:()=>y,C5:()=>_,JY:()=>C,ME:()=>w,MP:()=>A,N$:()=>P,QM:()=>M,R_:()=>b,V2:()=>O,WR:()=>N,Zn:()=>R,fS:()=>d,o$:()=>T,oR:()=>E,sS:()=>S,sT:()=>p,xl:()=>g,yW:()=>m});var n=r(19153),o=(r(83305),r(56726)),i=r(58116);const s={102113:!0,102100:!0,3857:!0,3785:!0},a={4326:!0,3785:!0,3857:!0,102113:!0,102100:!0,104905:!0,104971:!0},u='PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator_Auxiliary_Sphere"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],PARAMETER["Auxiliary_Sphere_Type",0.0],UNIT["Meter",1.0]]',f=[-20037508.342788905,20037508.342788905],c=[-20037508.342787,20037508.342787],l={102113:{wkTemplate:'PROJCS["WGS_1984_Web_Mercator",GEOGCS["GCS_WGS_1984_Major_Auxiliary_Sphere",DATUM["D_WGS_1984_Major_Auxiliary_Sphere",SPHEROID["WGS_1984_Major_Auxiliary_Sphere",6378137.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],UNIT["Meter",1.0]]',valid:f,origin:c,dx:1e-5},102100:{wkTemplate:u,valid:f,origin:c,dx:1e-5},3785:{wkTemplate:'PROJCS["WGS_1984_Web_Mercator",GEOGCS["GCS_WGS_1984_Major_Auxiliary_Sphere",DATUM["D_WGS_1984_Major_Auxiliary_Sphere",SPHEROID["WGS_1984_Major_Auxiliary_Sphere",6378137.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],UNIT["Meter",1.0]]',valid:f,origin:c,dx:1e-5},3857:{wkTemplate:u,valid:f,origin:c,dx:1e-5},4326:{wkTemplate:'GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",{Central_Meridian}],UNIT["Degree",0.0174532925199433]]',altTemplate:'PROJCS["WGS_1984_Plate_Carree",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Plate_Carree"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],UNIT["Degrees",111319.491]]',valid:[-180,180],origin:[-180,90],dx:1e-5},104971:{wkTemplate:'GEOGCS["Mars_2000_(Sphere)",DATUM["Mars_2000_(Sphere)",SPHEROID["Mars_2000_(Sphere)",3396190.0,0.0]],PRIMEM["Reference_Meridian",0.0],UNIT["Degree",0.0174532925199433]]',valid:[-180,180],origin:[-180,90],dx:1e-5},104905:{wkTemplate:'GEOGCS["GCS_Mars_2000",DATUM["D_Mars_2000",SPHEROID["Mars_2000_IAU_IAG",3396190.0,169.8944472236118]],PRIMEM["Reference_Meridian",0.0],UNIT["Degree",0.0174532925199433]]',valid:[-180,180],origin:[-180,90],dx:1e-5}};function d(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(null!=e.wkid||null!=t.wkid)return e.wkid===t.wkid||S(e)&&S(t)||null!=t.latestWkid&&e.wkid===t.latestWkid||null!=e.latestWkid&&t.wkid===e.latestWkid;const r=e.wkt2??e.wkt,n=t.wkt2??t.wkt;return!(!r||!n)&&r.toUpperCase()===n.toUpperCase()}function _(e){return C(e)&&e.wkid&&l[e.wkid]||null}function h(e){if(!e)return;const{wkid:t,vcsWkid:r}=e;if(t)return r?JSON.stringify({wkid:t,vcsWkid:r}):String(t);const n=e.wkt||e.wkt2;return JSON.stringify(n?r?{wkt:n,vcsWkid:r}:{wkt:n}:{})}function p(e){if(!C(e))return!1;if(e.wkid)return null==i.Z[e.wkid];const t=e.wkt2||e.wkt;return!!t&&/^\s*(?:GEOGCS|GEOGCRS|GEOGRAPHICCRS)/i.test(t)}function P(e){return!(y(e)||O(e))}function E(e){return C(e)&&4326===e.wkid}function g(e){return/^\s*(?:GEOD|GEODETIC|GEOG|GEOGRAPHIC|PROJ|PROJECTED|VERT|VERTICAL|ENG|ENGINEERING|PARAMETRIC|TIME|DERIVEDPROJ|COMPOUND|BOUND)CRS/i.test(e)}function m(e){return C(e)&&e.wkid===o.W.CGCS2000}function S(e){return C(e)&&null!=e.wkid&&!0===s[e.wkid]}function M(e){return C(e)&&32662===e.wkid}function T(e){return e===o.W.GCSMARS2000||e===o.W.GCSMARS2000_SPHERE}function y(e){return C(e)&&null!=e.wkid&&T(e.wkid)}function w(e){return e===o.W.GCSMOON2000}function O(e){return C(e)&&null!=e.wkid&&w(e.wkid)}function A(e){return C(e)&&null!=e.wkid&&!0===a[e.wkid]}function C(e){return null!=e&&(null!=e.wkid&&e.wkid>=2e3||null!=e.wkt2||null!=e.wkt)}const R={wkid:4326,wkt:(0,n.gx)(l[4326].wkTemplate,{Central_Meridian:"0.0"})},b={wkid:102100,latestWkid:3857},N={wkid:32662}},3172:(e,t,r)=>{r.d(t,{Z:()=>_});var n=r(68773),o=r(40330),i=r(20102),s=r(80442),a=r(22974),u=r(95330),f=r(17452),c=r(19745),l=r(71058),d=r(85958);async function _(e,t){e instanceof URL&&(e=e.toString()),t?.query instanceof URLSearchParams&&(t.query=(0,f.u0)(t.query.toString().replaceAll("+"," ")));const a=(0,f.HK)(e),c=(0,f.jc)(e);c||a||(e=(0,f.Fv)(e));const E={url:e,requestOptions:{...t}};let g=(0,f.oh)(e);if(g){const e=await async function(e,t){if(null!=e.responseData)return e.responseData;if(e.headers&&(t.requestOptions.headers={...t.requestOptions.headers,...e.headers}),e.query&&(t.requestOptions.query={...t.requestOptions.query,...e.query}),e.before){let r,n;try{n=await e.before(t)}catch(e){r=y("request:interceptor",e,t)}if((n instanceof Error||n instanceof i.Z)&&(r=y("request:interceptor",n,t)),r)throw e.error&&e.error(r),r;return n}}(g,E);if(null!=e)return{data:e,getAllHeaders:S,getHeader:S,httpStatus:200,requestOptions:E.requestOptions,url:E.url};g.after||g.error||(g=null)}if(e=E.url,"image"===(t=E.requestOptions).responseType&&((0,s.Z)("host-webworker")||(0,s.Z)("host-node")))throw y("request:invalid-parameters",new Error("responseType 'image' is not supported in Web Workers or Node environment"),E);if("head"===t.method){if(t.body)throw y("request:invalid-parameters",new Error("body parameter cannot be set when method is 'head'"),E);if(a||c)throw y("request:invalid-parameters",new Error("data and blob URLs are not supported for method 'head'"),E)}if(await async function(){(0,s.Z)("host-webworker")?h||(h=await r.e(9884).then(r.bind(r,29884))):_._abortableFetch||(_._abortableFetch=globalThis.fetch.bind(globalThis))}(),h)return h.execute(e,t);const m=new AbortController;(0,u.fu)(t,(()=>m.abort()));const M={controller:m,credential:void 0,credentialToken:void 0,fetchOptions:void 0,hasToken:!1,interceptor:g,params:E,redoRequest:!1,useIdentity:p.useIdentity,useProxy:!1,useSSL:!1,withCredentials:!1},T=await async function(e){let t,r;await async function(e){const t=e.params.url,r=e.params.requestOptions,i=e.controller.signal,s=r.body;let a=null,f=null;if(P&&"HTMLFormElement"in globalThis&&(s instanceof FormData?a=s:s instanceof HTMLFormElement&&(a=new FormData(s))),"string"==typeof s&&(f=s),e.fetchOptions={cache:r.cacheBust&&!("polyfill"in _._abortableFetch)?"no-cache":"default",credentials:"same-origin",headers:r.headers||{},method:"head"===r.method?"HEAD":"GET",mode:"cors",priority:p.priority,redirect:"follow",signal:i},(a||f)&&(e.fetchOptions.body=a||f),"anonymous"===r.authMode&&(e.useIdentity=!1),e.hasToken=!!(/token=/i.test(t)||r.query?.token||a?.get("token")),!e.hasToken&&n.default.apiKey&&(0,l.r)(t)&&(r.query||(r.query={}),r.query.token=n.default.apiKey,e.hasToken=!0),e.useIdentity&&!e.hasToken&&!e.credentialToken&&!O(t)&&!(0,u.Hc)(i)){let n;"immediate"===r.authMode?(await w(),n=await o.id.getCredential(t,{signal:i}),e.credential=n):"no-prompt"===r.authMode?(await w(),n=await o.id.getCredential(t,{prompt:!1,signal:i}).catch((()=>{})),e.credential=n):o.id&&(n=o.id.findCredential(t)),n&&(e.credentialToken=n.token,e.useSSL=!!n.ssl)}}(e);try{do{[t,r]=await A(e)}while(!await R(e,t,r))}catch(r){const n=y("request:server",r,e.params,t);throw n.details.ssl=e.useSSL,e.interceptor?.error&&e.interceptor.error(n),n}const i=e.params.url;if(r&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(i)){if(!e.hasToken&&!e.credentialToken&&r.user?.username&&!(0,f.kl)(i)){const e=(0,f.P$)(i,!0);e&&p.trustedServers.push(e)}Array.isArray(r.authorizedCrossOriginNoCorsDomains)&&(0,d.Hu)(r.authorizedCrossOriginNoCorsDomains)}const s=e.credential;if(s&&o.id){const e=o.id.findServerInfo(s.server);let t=e?.owningSystemUrl;if(t){t=t.replace(/\/?$/,"/sharing");const e=o.id.findCredential(t,s.userId);e&&-1===o.id._getIdenticalSvcIdx(t,e)&&e.resources.unshift(t)}}return{data:r,getAllHeaders:t?()=>Array.from(t.headers):S,getHeader:t?e=>t.headers.get(e):S,httpStatus:t?.status??200,requestOptions:e.params.requestOptions,ssl:e.useSSL,url:e.params.url}}(M);return g?.after?.(T),T}let h;const p=n.default.request,P="FormData"in globalThis,E=new Set([499,498,403,401]),g=new Set(["COM_0056","COM_0057","SB_0008"]),m=[/\/arcgis\/tokens/i,/\/sharing(\/rest)?\/generatetoken/i,/\/rest\/info/i],S=()=>null,M=Symbol();function T(e){const t=(0,f.P$)(e);return!t||t.endsWith(".arcgis.com")||_._corsServers.includes(t)||(0,f.kl)(t)}function y(e,t,r,n){let o="Error";const s={url:r.url,requestOptions:r.requestOptions,getAllHeaders:S,getHeader:S,ssl:!1};if(t instanceof i.Z)return t.details?(t.details=(0,a.d9)(t.details),t.details.url=r.url,t.details.requestOptions=r.requestOptions):t.details=s,t;if(t){const e=n&&(()=>Array.from(n.headers)),r=n&&(e=>n.headers.get(e)),i=n?.status,a=t.message;a&&(o=a),e&&r&&(s.getAllHeaders=e,s.getHeader=r),s.httpStatus=(null!=t.httpCode?t.httpCode:t.code)||i||0,s.subCode=t.subcode,s.messageCode=t.messageCode,"string"==typeof t.details?s.messages=[t.details]:s.messages=t.details,s.raw=M in t?t[M]:t}return(0,u.D_)(t)?(0,u.zE)():new i.Z(e,o,s)}async function w(){o.id||await Promise.all([r.e(7126),r.e(6136),r.e(9e3),r.e(9266)]).then(r.bind(r,43717))}function O(e){return m.some((t=>t.test(e)))}async function A(e){let t=e.params.url;const r=e.params.requestOptions,n=e.fetchOptions??{},i=(0,f.jc)(t)||(0,f.HK)(t),a=r.responseType||"json",l=i?0:null!=r.timeout?r.timeout:p.timeout;let h=!1;if(!i){e.useSSL&&(t=(0,f.hO)(t)),r.cacheBust&&"default"===n.cache&&(t=(0,f.ZN)(t,"request.preventCache",Date.now()));let i={...r.query};e.credentialToken&&(i.token=e.credentialToken);let a=(0,f.B7)(i);(0,s.Z)("esri-url-encodes-apostrophe")&&(a=a.replaceAll("'","%27"));const u=t.length+1+a.length;let l;h="delete"===r.method||"post"===r.method||"put"===r.method||!!r.body||u>p.maxUrlLength;const _=r.useProxy||!!(0,f.ed)(t);if(_){const e=(0,f.b7)(t);l=e.path,!h&&l.length+1+u>p.maxUrlLength&&(h=!0),e.query&&(i={...e.query,...i})}if("HEAD"===n.method&&(h||_)){if(h){if(u>p.maxUrlLength)throw y("request:invalid-parameters",new Error("URL exceeds maximum length"),e.params);throw y("request:invalid-parameters",new Error("cannot use POST request when method is 'head'"),e.params)}if(_)throw y("request:invalid-parameters",new Error("cannot use proxy when method is 'head'"),e.params)}if(h?(n.method="delete"===r.method?"DELETE":"put"===r.method?"PUT":"POST",r.body?t=(0,f.fl)(t,i):(n.body=(0,f.B7)(i),n.headers||(n.headers={}),n.headers["Content-Type"]="application/x-www-form-urlencoded")):t=(0,f.fl)(t,i),_&&(e.useProxy=!0,t=`${l}?${t}`),i.token&&P&&n.body instanceof FormData&&!(0,c.P)(t)&&n.body.set("token",i.token),r.hasOwnProperty("withCredentials"))e.withCredentials=r.withCredentials;else if(!(0,f.D6)(t,(0,f.TI)()))if((0,f.kl)(t))e.withCredentials=!0;else if(o.id){const r=o.id.findServerInfo(t);r?.webTierAuth&&(e.withCredentials=!0)}e.withCredentials&&(n.credentials="include",(0,d.jH)(t)&&await(0,d.jz)(h?(0,f.fl)(t,i):t))}let E,g,m=0,S=!1;l>0&&(m=setTimeout((()=>{S=!0,e.controller.abort()}),l));try{if("native-request-init"===r.responseType)g=n,g.url=t;else if("image"!==r.responseType||"default"!==n.cache||"GET"!==n.method||h||function(e){if(e)for(const t of Object.getOwnPropertyNames(e))if(e[t])return!0;return!1}(r.headers)||!i&&!e.useProxy&&p.proxyUrl&&!T(t)){if(E=await _._abortableFetch(t,n),e.useProxy||function(e){const t=(0,f.P$)(e);t&&!_._corsServers.includes(t)&&_._corsServers.push(t)}(t),"native"===r.responseType)g=E;else if("HEAD"!==n.method)if(E.ok){switch(a){case"array-buffer":g=await E.arrayBuffer();break;case"blob":case"image":g=await E.blob();break;default:g=await E.text()}if(m&&(clearTimeout(m),m=0),"json"===a||"xml"===a||"document"===a)if(g)switch(a){case"json":g=JSON.parse(g);break;case"xml":g=C(g,"application/xml");break;case"document":g=C(g,"text/html")}else g=null;if(g){if("array-buffer"===a||"blob"===a){const e=E.headers.get("Content-Type");if(e&&/application\/json|text\/plain/i.test(e)&&g["blob"===a?"size":"byteLength"]<=750)try{const e=await new Response(g).json();e.error&&(g=e)}catch{}}"image"===a&&g instanceof Blob&&(g=await b(URL.createObjectURL(g),e,!0))}}else{g=await E.text();try{g=JSON.parse(g)}catch{}}}else g=await b(t,e)}catch(n){if("AbortError"===n.name){if(S)throw(0,d.Tf)();throw(0,u.zE)("Request canceled")}if(!(!E&&n instanceof TypeError&&p.proxyUrl)||r.body||"delete"===r.method||"head"===r.method||"post"===r.method||"put"===r.method||e.useProxy||T(t))throw n;e.redoRequest=!0,(0,f.tD)({proxyUrl:p.proxyUrl,urlPrefix:(0,f.P$)(t)??""})}finally{m&&clearTimeout(m)}return[E,g]}function C(e,t){let r;try{r=(new DOMParser).parseFromString(e,t)}catch{}if(!r||r.getElementsByTagName("parsererror").length)throw new SyntaxError("XML Parse error");return r}async function R(e,t,r){if(e.redoRequest)return e.redoRequest=!1,!1;const n=e.params.requestOptions;if(!t||"native"===n.responseType||"native-request-init"===n.responseType)return!0;let i,s;if(r&&(r.error?i=r.error:"error"===r.status&&Array.isArray(r.messages)&&(i={...r},i[M]=r,i.details=r.messages)),!i&&!t.ok)throw i=new Error(`Unable to load ${t.url} status: ${t.status}`),i[M]=r,i;let a,u=null;i&&(s=Number(i.code),u=i.hasOwnProperty("subcode")?Number(i.subcode):null,a=i.messageCode,a=a?.toUpperCase());const f=n.authMode;if(403===s&&(4===u||i.message?.toLowerCase().includes("ssl")&&!i.message.toLowerCase().includes("permission"))){if(!e.useSSL)return e.useSSL=!0,!1}else if(!e.hasToken&&e.useIdentity&&("no-prompt"!==f||498===s)&&void 0!==s&&E.has(s)&&!O(e.params.url)&&(403!==s||(!a||!g.has(a))&&(null==u||2===u&&e.credentialToken))){await w();try{const t=await o.id.getCredential(e.params.url,{error:y("request:server",i,e.params),prompt:"no-prompt"!==f,signal:e.controller.signal,token:e.credentialToken});return e.credential=t,e.credentialToken=t.token,e.useSSL=e.useSSL||t.ssl,!1}catch(t){if("no-prompt"===f)return e.credential=void 0,e.credentialToken=void 0,!1;i=t}}if(i)throw i;return!0}function b(e,t,r=!1){const n=t.controller.signal,o=new Image;return t.withCredentials?o.crossOrigin="use-credentials":o.crossOrigin="anonymous",o.alt="",o.fetchPriority=p.priority,o.src=e,(0,d.fY)(o,e,r,n)}_._abortableFetch=null,_._corsServers=["https://server.arcgisonline.com","https://services.arcgisonline.com"]},71058:(e,t,r)=>{r.d(t,{r:()=>i});var n=r(17452);const o=new Set(["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"]);function i(e){const t=(0,n.P$)(e,!0);return!!t&&t.endsWith(".arcgis.com")&&!o.has(t)&&!e.endsWith("/sharing/rest/generateToken")}},85958:(e,t,r)=>{r.d(t,{Hu:()=>l,Tf:()=>c,fY:()=>a,jH:()=>d,jz:()=>_});var n=r(68773),o=r(80442),i=r(95330),s=r(17452);function a(e,t,r=!1,n){return new Promise(((s,a)=>{if((0,i.Hc)(n))return void a(u());let f=()=>{d(),a(new Error(`Unable to load ${t}`))},c=()=>{const t=e;d(),s(t)},l=()=>{if(!e)return;const t=e;d(),t.src="",a(u())};const d=()=>{(0,o.Z)("esri-image-decode")||(e.removeEventListener("error",f),e.removeEventListener("load",c)),f=null,c=null,e=null,null!=n&&n.removeEventListener("abort",l),l=null,r&&URL.revokeObjectURL(t)};null!=n&&n.addEventListener("abort",l),(0,o.Z)("esri-image-decode")?e.decode().then(c,f):(e.addEventListener("error",f),e.addEventListener("load",c))}))}function u(){try{return new DOMException("Aborted","AbortError")}catch{const e=new Error;return e.name="AbortError",e}}const f="Timeout exceeded";function c(){return new Error(f)}function l(e){n.default.request.crossOriginNoCorsDomains||(n.default.request.crossOriginNoCorsDomains={});const t=n.default.request.crossOriginNoCorsDomains;for(let r of e)r=r.toLowerCase(),/^https?:\/\//.test(r)?t[(0,s.P$)(r)??""]=0:(t[(0,s.P$)("http://"+r)??""]=0,t[(0,s.P$)("https://"+r)??""]=0)}function d(e){const t=n.default.request.crossOriginNoCorsDomains;if(t){let r=(0,s.P$)(e);if(r)return r=r.toLowerCase(),!(0,s.D6)(r,(0,s.TI)())&&t[r]<Date.now()-36e5}return!1}async function _(e){const t=n.default.request.crossOriginNoCorsDomains,r=(0,s.P$)(e);t&&r&&(t[r.toLowerCase()]=Date.now());const o=(0,s.mN)(e);e=o.path,"json"===o.query?.f&&(e+="?f=json");try{await fetch(e,{mode:"no-cors",credentials:"include"})}catch{}}}}]);
|
|
@@ -620,7 +620,7 @@ return mat3(T, B, normal);
|
|
|
620
620
|
}`),t.textureCoordinateType!==o.N.None&&(e.include(i.i,t),r.uniforms.add(t.pbrTextureBindType===c.P.Pass?new l.A("normalTexture",(e=>e.textureNormal)):new s.R("normalTexture",(e=>e.textureNormal))),r.code.add(n.H`vec3 computeTextureNormal(mat3 tangentSpace, vec2 uv) {
|
|
621
621
|
vec3 rawNormal = textureLookup(normalTexture, uv).rgb * 2.0 - 1.0;
|
|
622
622
|
return tangentSpace * rawNormal;
|
|
623
|
-
}`))}},60464:(e,t,r)=>{r.d(t,{K:()=>K});var o=r(74709),i=r(98069),a=r(43697),n=r(70586),s=r(17445),l=r(76882),c=r(5600),d=(r(80442),r(92604),r(77734),r(52011)),u=r(23727);r(69801),r(44553);var h,m,f,p=r(35371),v=(r(1717),r(84343),r(8344)),g=r(57088),_=r(47859);(f=h||(h={}))[f.FBO=0]="FBO",f[f.DEPTH=1]="DEPTH",f[f.COLOR=2]="COLOR",function(e){e[e.RED=0]="RED",e[e.RG=1]="RG",e[e.RGBA4=2]="RGBA4",e[e.RGBA=3]="RGBA",e[e.RGBA_MIPMAP=4]="RGBA_MIPMAP",e[e.R16F=5]="R16F",e[e.RGBA16F=6]="RGBA16F"}(m||(m={}));const x=new _.X;x.pixelFormat=p.VI.RED,x.internalFormat=p.lP.R8,x.wrapMode=p.e8.CLAMP_TO_EDGE;const T=new _.X;T.pixelFormat=p.VI.RG,T.internalFormat=p.lP.RG8,T.wrapMode=p.e8.CLAMP_TO_EDGE;const b=new _.X;b.internalFormat=p.lP.RGBA4,b.dataType=p.Br.UNSIGNED_SHORT_4_4_4_4,b.wrapMode=p.e8.CLAMP_TO_EDGE;(new _.X).wrapMode=p.e8.CLAMP_TO_EDGE;const A=new _.X;A.wrapMode=p.e8.CLAMP_TO_EDGE,A.samplingMode=p.cw.LINEAR_MIPMAP_LINEAR,A.hasMipmap=!0,A.maxAnisotropy=8;const E=new _.X;E.pixelFormat=p.VI.RED,E.dataType=p.Br.HALF_FLOAT,E.internalFormat=p.lP.R16F,E.samplingMode=p.cw.NEAREST;const S=new _.X;var y;S.dataType=p.Br.HALF_FLOAT,S.internalFormat=p.lP.RGBA16F,S.samplingMode=p.cw.NEAREST,m.RED,m.RG,m.RGBA4,m.RGBA,m.RGBA_MIPMAP,m.R16F,m.RGBA16F,function(e){e[e.DEPTH_STENCIL_TEXTURE=0]="DEPTH_STENCIL_TEXTURE",e[e.DEPTH16_BUFFER=1]="DEPTH16_BUFFER"}(y||(y={}));const w=new _.X;w.pixelFormat=p.VI.DEPTH_STENCIL,w.dataType=p.Br.UNSIGNED_INT_24_8,w.samplingMode=p.cw.NEAREST,w.wrapMode=p.e8.CLAMP_TO_EDGE,y.DEPTH_STENCIL_TEXTURE,y.DEPTH16_BUFFER,new v.Y(p.Tg.DEPTH_COMPONENT16,4);var C=r(92036),M=r(55039);const O={required:[]},R=(M.H_.Depth,M.H_.CompositeColor,M.H_.Highlight,{required:[M.H_.Depth,M.H_.Normal]});class I extends C.Z{consumes(){return O}get usedMemory(){return 0}get isDecoration(){return!1}get running(){return!1}get materialReference(){return null}modify(e){}get numGeometries(){return 0}get hasOccludees(){return!1}queryRenderOccludedState(e){return!1}}class N extends I{}var P=r(78869),H=r(14589),L=r(83475),D=r(59377),F=r(59915),B=r(27097);class G extends H.A{initializeProgram(e){return new D.$(e.rctx,G.shader.get().build(),L.i)}initializePipeline(){return(0,B.sm)({colorWrite:B.BK})}}G.shader=new P.J(F.S,(()=>r.e(8092).then(r.bind(r,88092))));var U=r(46505);class z extends o.K{constructor(){super(...arguments),this.projScale=1}}class V extends z{constructor(){super(...arguments),this.intensity=1}}class j extends o.K{}class W extends j{constructor(){super(...arguments),this.blurSize=(0,U.Ue)()}}var k,q=r(25377);class $ extends H.A{initializeProgram(e){return new D.$(e.rctx,$.shader.get().build(),L.i)}initializePipeline(){return(0,B.sm)({colorWrite:B.BK})}}$.shader=new P.J(q.S,(()=>r.e(9243).then(r.bind(r,49243)))),r(95720),function(e){e[e.Antialiasing=0]="Antialiasing",e[e.HighQualityTransparency=1]="HighQualityTransparency",e[e.HighResolutionVoxel=2]="HighResolutionVoxel",e[e.HighResolutionAtmosphere=3]="HighResolutionAtmosphere",e[e.SSAO=4]="SSAO",e[e.WaterReflection=5]="WaterReflection",e[e.HighResolutionShadows=6]="HighResolutionShadows",e[e.PhysicalPixelRendering=7]="PhysicalPixelRendering"}(k||(k={}));var J=r(97995);const X=2;let Y=class extends N{constructor(e){super(e),this._context=null,this._passParameters=new V,this._drawParameters=new W,this.produces=new Map([[J.r.SSAO,()=>this._produces()]])}_produces(){return null!=this._enableTime&&null!=this._context}consumes(){return this._produces()?R:O}initializeRenderContext(e){this._context=e,this.addHandles([(0,s.YP)((()=>this.view.qualitySettings.ambientOcclusion||this._context?.isFeatureEnabled(k.SSAO)),(e=>e?this._enable():this._disable()),s.tX)])}uninitializeRenderContext(){this._disable(),this._context=null}_disable(){this._passParameters.noiseTexture=(0,n.M2)(this._passParameters.noiseTexture),this._enableTime=null}destroy(){this._disable()}_enable(){if(null!=this._enableTime||!this._context)return;const e=Uint8Array.from(atob("eXKEvZaUc66cjIKElE1jlJ6MjJ6Ufkl+jn2fcXp5jBx7c6KEflSGiXuXeW6OWs+tfqZ2Yot2Y7Zzfo2BhniEj3xoiXuXj4eGZpqEaHKDWjSMe7palFlzc3BziYOGlFVzg6Zzg7CUY5JrjFF7eYJ4jIKEcyyEonSXe7qUfqZ7j3xofqZ2c4R5lFZ5Y0WUbppoe1l2cIh2ezyUho+BcHN2cG6DbpqJhqp2e1GcezhrdldzjFGUcyxjc3aRjDyEc1h7Sl17c6aMjH92pb6Mjpd4dnqBjMOEhqZleIOBYzB7gYx+fnqGjJuEkWlwnCx7fGl+c4hjfGyRe5qMlNOMfnqGhIWHc6OMi4GDc6aMfqZuc6aMzqJzlKZ+lJ6Me3qRfoFue0WUhoR5UraEa6qMkXiPjMOMlJOGe7JrUqKMjK6MeYRzdod+Sl17boiPc6qEeYBlcIh2c1WEe7GDiWCDa0WMjEmMdod+Y0WcdntzhmN8WjyMjKJjiXtzgYxYaGd+a89zlEV7e2GJfnd+lF1rcK5zc4p5cHuBhL6EcXp5eYB7fnh8iX6HjIKEeaxuiYOGc66RfG2Ja5hzjlGMjEmMe9OEgXuPfHyGhPeEdl6JY02McGuMfnqGhFiMa3WJfnx2l4hwcG1uhmN8c0WMc39og1GBbrCEjE2EZY+JcIh2cIuGhIWHe0mEhIVrc09+gY5+eYBlnCyMhGCDl3drfmmMgX15aGd+gYx+fnuRfnhzY1SMsluJfnd+hm98WtNrcIuGh4SEj0qPdkqOjFF7jNNjdnqBgaqUjMt7boeBhnZ4jDR7c5pze4GGjEFrhLqMjHyMc0mUhKZze4WEa117kWlwbpqJjHZ2eX2Bc09zeId+e0V7WlF7jHJ2l72BfId8l3eBgXyBe897jGl7c66cgW+Xc76EjKNbgaSEjGx4fId8jFFjgZB8cG6DhlFziZhrcIh2fH6HgUqBgXiPY8dahGFzjEmMhEFre2dxhoBzc5SGfleGe6alc7aUeYBlhKqUdlp+cH5za4OEczxza0Gcc4J2jHZ5iXuXjH2Jh5yRjH2JcFx+hImBjH+MpddCl3dreZeJjIt8ZW18bm1zjoSEeIOBlF9oh3N7hlqBY4+UeYFwhLJjeYFwaGd+gUqBYxiEYot2fqZ2ondzhL6EYyiEY02Ea0VjgZB8doaGjHxoc66cjEGEiXuXiXWMiZhreHx8frGMe75rY02Ec5pzfnhzlEp4a3VzjM+EhFFza3mUY7Zza1V5e2iMfGyRcziEhDyEkXZ2Y4OBnCx7g5t2eyBjgV6EhEFrcIh2dod+c4Z+nJ5zjm15jEmUeYxijJp7nL6clIpjhoR5WrZraGd+fnuRa6pzlIiMg6ZzfHx5foh+eX1ufnB5eX1ufnB5aJt7UqKMjIh+e3aBfm5lbYSBhGFze6J4c39oc0mUc4Z+e0V7fKFVe0WEdoaGY02Ec4Z+Y02EZYWBfH6HgU1+gY5+hIWUgW+XjJ57ebWRhFVScHuBfJ6PhBx7WqJzlM+Ujpd4gHZziX6HjHmEgZN+lJt5boiPe2GJgX+GjIGJgHZzeaxufnB5hF2JtdN7jJ57hp57hK6ElFVzg6ZzbmiEbndzhIWHe3uJfoFue3qRhJd2j3xoc65zlE1jc3p8lE1jhniEgXJ7e657vZaUc3qBh52BhIF4aHKDa9drgY5+c52GWqZzbpqJe8tjnM+UhIeMfo2BfGl+hG1zSmmMjKJjZVaGgX15c1lze0mEp4OHa3mUhIWHhDyclJ6MeYOJkXiPc0VzhFiMlKaEboSJa5Jze41re3qRhn+HZYWBe0mEc4p5fnORbox5lEp4hGFjhGGEjJuEc1WEhLZjeHeGa7KlfHx2hLaMeX1ugY5+hIWHhKGPjMN7c1WEho1zhoBzZYx7fnhzlJt5exyUhFFziXtzfmmMa6qMYyiEiXxweV12kZSMeWqXSl17fnhzxmmMrVGEe1mcc4p5eHeGjK6MgY5+doaGa6pzlGV7g1qBh4KHkXiPeW6OaKqafqZ2eXZ5e1V7jGd7boSJc3BzhJd2e0mcYot2h1RoY8dahK6EQmWEWjx7e1l2lL6UgXyBdnR4eU9zc0VreX1umqaBhld7fo2Bc6KEc5Z+hDyEcIeBWtNrfHyGe5qMhMuMe5qMhEGEbVVupcNzg3aHhIF4boeBe0mEdlptc39ofFl5Y8uUlJOGiYt2UmGEcyxjjGx4jFF7a657ZYWBnElzhp57iXtrgZN+tfOEhIOBjE2HgU1+e8tjjKNbiWCDhE15gUqBgYN7fnqGc66ce9d7iYSBj0qPcG6DnGGcT3eGa6qMZY+JlIiMl4hwc3aRdnqBlGV7eHJ2hLZjfnuRhDyEeX6MSk17g6Z+c6aUjHmEhIF4gXyBc76EZW18fGl+fkl+jCxrhoVwhDyUhIqGlL2DlI6EhJd2tdN7eYORhEGMa2Faa6pzc3Bzc4R5lIRznM+UY9eMhDycc5Z+c4p5c4iGY117pb6MgXuPrbJafnx2eYOJeXZ5e657hDyEcziElKZjfoB5eHeGj4WRhGGEe6KGeX1utTStc76EhFGJnCyMa5hzfH6HnNeceYB7hmN8gYuMhIVrczSMgYF8h3N7c5pza5hzjJqEYIRdgYuMlL2DeYRzhGGEeX1uhLaEc4iGeZ1zdl6JhrVteX6Me2iMfm5lWqJzSpqEa6pzdnmchHx2c6OMhNdrhoR5g3aHczxzeW52gV6Ejm15frGMc0Vzc4Z+l3drfniJe+9rWq5rlF1rhGGEhoVwe9OEfoh+e7pac09+c3qBY0lrhDycdnp2lJ6MiYOGhGCDc3aRlL2DlJt5doaGdnp2gYF8gWeOjF2Uc4R5c5Z+jEmMe7KEc4mEeYJ4dmyBe0mcgXiPbqJ7eYB7fmGGiYSJjICGlF1reZ2PnElzbpqJfH6Hc39oe4WEc5eJhK6EhqyJc3qBgZB8c09+hEmEaHKDhFGJc5SGiXWMUpaEa89zc6OMnCyMiXtrho+Be5qMc7KEjJ57dmN+hKGPjICGbmiEe7prdod+hGCDdnmchBx7eX6MkXZ2hGGEa657hm98jFFjY5JreYOJgY2EjHZ2a295Y3FajJ6Mc1J+YzB7e4WBjF2Uc4R5eV12gYxzg1qBeId+c9OUc5pzjFFjgY5+hFiMlIaPhoR5lIpjjIKBlNdSe7KEeX2BfrGMhIqGc65zjE2UhK6EklZ+QmWEeziMWqZza3VzdnR4foh+gYF8n3iJiZhrnKp7gYF8eId+lJ6Me1lrcIuGjKJjhmN8c66MjFF7a6prjJ6UnJ5zezyUfruRWlF7nI5zfHyGe657h4SEe8tjhBx7jFFjc09+c39ojICMeZeJeXt+YzRzjHZ2c0WEcIeBeXZ5onSXkVR+gYJ+eYFwdldzgYF7eX2BjJ6UiXuXlE1jh4SEe1mchLJjc4Z+hqZ7eXZ5bm1zlL6Ue5p7iWeGhKqUY5pzjKJjcIeBe8t7gXyBYIRdlEp4a3mGnK6EfmmMZpqEfFl5gYxzjKZuhGFjhoKGhHx2fnx2eXuMe3aBiWeGvbKMe6KGa5hzYzB7gZOBlGV7hmN8hqZlYot2Y117a6pzc6KEfId8foB5rctrfneJfJ6PcHN2hFiMc5pzjH92c0VzgY2EcElzdmCBlFVzg1GBc65zY4OBboeBcHiBeYJ4ewxzfHx5lIRzlEmEnLKEbk1zfJ6PhmN8eYBljBiEnMOEiXxwezyUcIeBe76EdsKEeX2BdnR4jGWUrXWMjGd7fkl+j4WRlEGMa5Jzho+BhDyEfnqMeXt+g3aHlE1jczClhNN7ZW18eHx8hGFjZW18iXWMjKJjhH57gYuMcIuGWjyMe4ZtjJuExmmMj4WRdntzi4GDhFFzYIRdnGGcjJp7Y0F7e4WEkbCGiX57fnSHa657a6prhBCMe3Z+SmmMjH92eHJ2hK6EY1FzexhrvbKMnI5za4OEfnd+eXuMhImBe897hLaMjN+EfG+BeIOBhF1+eZeJi4GDkXZ2eXKEgZ6Ejpd4c2GHa1V5e5KUfqZuhCx7jKp7lLZrg11+hHx2hFWUoot2nI5zgbh5mo9zvZaUe3qRbqKMfqZ2kbCGhFiM"),(e=>e.charCodeAt(0))),t=new _.X;t.wrapMode=p.e8.CLAMP_TO_EDGE,t.pixelFormat=p.VI.RGB,t.wrapMode=p.e8.REPEAT,t.hasMipmap=!0,t.width=32,t.height=32,this._passParameters.noiseTexture=new g.x(this._context.renderContext.rctx,t,e),null==this._ssaoTechnique&&(this._ssaoTechnique=this._context.techniqueRepository.acquire($)),null==this._blurTechnique&&(this._blurTechnique=this._context.techniqueRepository.acquire(G)),this._enableTime=(0,l.HA)(0),this._context?.requestRender()}renderNode(e,t,r){const o=e.bindParameters,i=o.linearDepth?.colorTexture,a=r?.normals?.colorTexture;if(null==this._enableTime||null==this._context||null==i||!a)return;if(!this._ssaoTechnique.compiled||!this._blurTechnique.compiled)return this._enableTime=e.time,void this._context.requestRender();0===this._enableTime&&(this._enableTime=e.time);const n=e.rctx,s=o.camera,l=this.view.qualitySettings.fadeDuration,c=l>0?Math.min(l,e.time-this._enableTime)/l:1;this._passParameters.normalTexture=a,this._passParameters.depthTexture=i,this._passParameters.projScale=1/s.computeScreenPixelSizeAtDist(1),this._passParameters.intensity=4*Z/(0,q.g)(s)**6*c;const d=s.fullViewport[2],h=s.fullViewport[3],f=Math.round(d/X),v=Math.round(h/X),g=this._context.fbos,_=g.acquire(m.RG,d,h,"ssao input");n.setViewport(0,0,d,h),n.bindTechnique(this._ssaoTechnique,o,this._passParameters,this._drawParameters),n.screen.draw(),n.setViewport(0,0,f,v);const x=g.acquire(m.RED,f,v,"ssao blur");this._drawParameters.colorTexture=_.colorTexture,(0,u.t8)(this._drawParameters.blurSize,0,X/h);const T=n.bindTechnique(this._blurTechnique,o,this._passParameters,this._drawParameters);n.setViewport(0,0,f,v),n.screen.draw(),_.release();const b=g.acquire(m.RED,f,v,"ssao");return n.setViewport(0,0,d,h),n.setClearColor(1,1,1,0),n.clear(p.lk.COLOR_BUFFER_BIT),n.setViewport(0,0,f,v),this._drawParameters.colorTexture=x.colorTexture,(0,u.t8)(this._drawParameters.blurSize,X/d,0),T.bindDraw(this._drawParameters,o,this._passParameters),n.screen.draw(),n.setViewport4fv(s.fullViewport),x.release(),c<1&&this._context.requestRender(),b}};(0,a._)([(0,c.Cb)({constructOnly:!0})],Y.prototype,"view",void 0),(0,a._)([(0,c.Cb)()],Y.prototype,"_context",void 0),Y=(0,a._)([(0,d.j)("esri.views.3d.webgl-engine.effects.ssao.SSAO")],Y);const Z=.5;function K(e,t){const r=e.fragment;t.receiveAmbientOcclusion?(r.uniforms.add(new i.A("ssaoTex",((e,t)=>t.ssao?.colorTexture))),r.constants.add("blurSizePixelsInverse","float",1/X),r.code.add(o.H`float evaluateAmbientOcclusionInverse() {
|
|
623
|
+
}`))}},60464:(e,t,r)=>{r.d(t,{K:()=>K});var o=r(74709),i=r(98069),a=r(43697),n=r(70586),s=r(17445),l=r(76882),c=r(5600),d=(r(80442),r(92604),r(77734),r(52011)),u=r(23727);r(69801),r(44553);var h,m,f,p=r(35371),v=(r(1717),r(84343),r(8344)),g=r(57088),_=r(47859);(f=h||(h={}))[f.FBO=0]="FBO",f[f.DEPTH=1]="DEPTH",f[f.COLOR=2]="COLOR",function(e){e[e.RED=0]="RED",e[e.RG=1]="RG",e[e.RGBA4=2]="RGBA4",e[e.RGBA=3]="RGBA",e[e.RGBA_MIPMAP=4]="RGBA_MIPMAP",e[e.R16F=5]="R16F",e[e.RGBA16F=6]="RGBA16F"}(m||(m={}));const x=new _.X;x.pixelFormat=p.VI.RED,x.internalFormat=p.lP.R8,x.wrapMode=p.e8.CLAMP_TO_EDGE;const T=new _.X;T.pixelFormat=p.VI.RG,T.internalFormat=p.lP.RG8,T.wrapMode=p.e8.CLAMP_TO_EDGE;const b=new _.X;b.internalFormat=p.lP.RGBA4,b.dataType=p.Br.UNSIGNED_SHORT_4_4_4_4,b.wrapMode=p.e8.CLAMP_TO_EDGE;(new _.X).wrapMode=p.e8.CLAMP_TO_EDGE;const A=new _.X;A.wrapMode=p.e8.CLAMP_TO_EDGE,A.samplingMode=p.cw.LINEAR_MIPMAP_LINEAR,A.hasMipmap=!0,A.maxAnisotropy=8;const E=new _.X;E.pixelFormat=p.VI.RED,E.dataType=p.Br.HALF_FLOAT,E.internalFormat=p.lP.R16F,E.samplingMode=p.cw.NEAREST;const S=new _.X;var y;S.dataType=p.Br.HALF_FLOAT,S.internalFormat=p.lP.RGBA16F,S.samplingMode=p.cw.NEAREST,m.RED,m.RG,m.RGBA4,m.RGBA,m.RGBA_MIPMAP,m.R16F,m.RGBA16F,function(e){e[e.DEPTH_STENCIL_TEXTURE=0]="DEPTH_STENCIL_TEXTURE",e[e.DEPTH16_BUFFER=1]="DEPTH16_BUFFER"}(y||(y={}));const w=new _.X;w.pixelFormat=p.VI.DEPTH_STENCIL,w.dataType=p.Br.UNSIGNED_INT_24_8,w.samplingMode=p.cw.NEAREST,w.wrapMode=p.e8.CLAMP_TO_EDGE,y.DEPTH_STENCIL_TEXTURE,y.DEPTH16_BUFFER,new v.Y(p.Tg.DEPTH_COMPONENT16,4);var C=r(92036),M=r(55039);const O={required:[]},R=(M.H_.Depth,M.H_.CompositeColor,M.H_.Highlight,{required:[M.H_.Depth,M.H_.Normal]});class I extends C.Z{consumes(){return O}get usedMemory(){return 0}get isDecoration(){return!1}get running(){return!1}get materialReference(){return null}modify(e){}get numGeometries(){return 0}get hasOccludees(){return!1}queryRenderOccludedState(e){return!1}}class N extends I{}var P=r(78869),H=r(14589),L=r(83475),D=r(59377),F=r(59915),B=r(27097);class G extends H.A{initializeProgram(e){return new D.$(e.rctx,G.shader.get().build(),L.i)}initializePipeline(){return(0,B.sm)({colorWrite:B.BK})}}G.shader=new P.J(F.S,(()=>r.e(8092).then(r.bind(r,88092))));var U=r(46505);class z extends o.K{constructor(){super(...arguments),this.projScale=1}}class V extends z{constructor(){super(...arguments),this.intensity=1}}class j extends o.K{}class W extends j{constructor(){super(...arguments),this.blurSize=(0,U.Ue)()}}var k,q=r(25377);class $ extends H.A{initializeProgram(e){return new D.$(e.rctx,$.shader.get().build(),L.i)}initializePipeline(){return(0,B.sm)({colorWrite:B.BK})}}$.shader=new P.J(q.S,(()=>r.e(9243).then(r.bind(r,49243)))),r(95720),function(e){e[e.Antialiasing=0]="Antialiasing",e[e.HighQualityTransparency=1]="HighQualityTransparency",e[e.HighResolutionVoxel=2]="HighResolutionVoxel",e[e.HighResolutionAtmosphere=3]="HighResolutionAtmosphere",e[e.SSAO=4]="SSAO",e[e.WaterReflection=5]="WaterReflection",e[e.HighResolutionShadows=6]="HighResolutionShadows",e[e.PhysicalPixelRendering=7]="PhysicalPixelRendering"}(k||(k={}));var J=r(97995);const X=2;let Y=class extends N{constructor(e){super(e),this._context=null,this._passParameters=new V,this._drawParameters=new W,this.produces=new Map([[J.r.SSAO,()=>this._produces()]])}_produces(){return null!=this._enableTime&&null!=this._context}consumes(){return this._produces()?R:O}initializeRenderContext(e){this._context=e,this.addHandles([(0,s.YP)((()=>this.view.qualitySettings.ambientOcclusion||this._context?.isFeatureEnabled(k.SSAO)),(e=>e?this._enable():this._disable()),s.tX)])}uninitializeRenderContext(){this._disable(),this._context=null}_disable(){this._passParameters.noiseTexture=(0,n.M2)(this._passParameters.noiseTexture),this._enableTime=null}destroy(){this._disable()}_enable(){if(null!=this._enableTime||!this._context)return;const e=Uint8Array.from(atob("eXKEvZaUc66cjIKElE1jlJ6MjJ6Ufkl+jn2fcXp5jBx7c6KEflSGiXuXeW6OWs+tfqZ2Yot2Y7Zzfo2BhniEj3xoiXuXj4eGZpqEaHKDWjSMe7palFlzc3BziYOGlFVzg6Zzg7CUY5JrjFF7eYJ4jIKEcyyEonSXe7qUfqZ7j3xofqZ2c4R5lFZ5Y0WUbppoe1l2cIh2ezyUho+BcHN2cG6DbpqJhqp2e1GcezhrdldzjFGUcyxjc3aRjDyEc1h7Sl17c6aMjH92pb6Mjpd4dnqBjMOEhqZleIOBYzB7gYx+fnqGjJuEkWlwnCx7fGl+c4hjfGyRe5qMlNOMfnqGhIWHc6OMi4GDc6aMfqZuc6aMzqJzlKZ+lJ6Me3qRfoFue0WUhoR5UraEa6qMkXiPjMOMlJOGe7JrUqKMjK6MeYRzdod+Sl17boiPc6qEeYBlcIh2c1WEe7GDiWCDa0WMjEmMdod+Y0WcdntzhmN8WjyMjKJjiXtzgYxYaGd+a89zlEV7e2GJfnd+lF1rcK5zc4p5cHuBhL6EcXp5eYB7fnh8iX6HjIKEeaxuiYOGc66RfG2Ja5hzjlGMjEmMe9OEgXuPfHyGhPeEdl6JY02McGuMfnqGhFiMa3WJfnx2l4hwcG1uhmN8c0WMc39og1GBbrCEjE2EZY+JcIh2cIuGhIWHe0mEhIVrc09+gY5+eYBlnCyMhGCDl3drfmmMgX15aGd+gYx+fnuRfnhzY1SMsluJfnd+hm98WtNrcIuGh4SEj0qPdkqOjFF7jNNjdnqBgaqUjMt7boeBhnZ4jDR7c5pze4GGjEFrhLqMjHyMc0mUhKZze4WEa117kWlwbpqJjHZ2eX2Bc09zeId+e0V7WlF7jHJ2l72BfId8l3eBgXyBe897jGl7c66cgW+Xc76EjKNbgaSEjGx4fId8jFFjgZB8cG6DhlFziZhrcIh2fH6HgUqBgXiPY8dahGFzjEmMhEFre2dxhoBzc5SGfleGe6alc7aUeYBlhKqUdlp+cH5za4OEczxza0Gcc4J2jHZ5iXuXjH2Jh5yRjH2JcFx+hImBjH+MpddCl3dreZeJjIt8ZW18bm1zjoSEeIOBlF9oh3N7hlqBY4+UeYFwhLJjeYFwaGd+gUqBYxiEYot2fqZ2ondzhL6EYyiEY02Ea0VjgZB8doaGjHxoc66cjEGEiXuXiXWMiZhreHx8frGMe75rY02Ec5pzfnhzlEp4a3VzjM+EhFFza3mUY7Zza1V5e2iMfGyRcziEhDyEkXZ2Y4OBnCx7g5t2eyBjgV6EhEFrcIh2dod+c4Z+nJ5zjm15jEmUeYxijJp7nL6clIpjhoR5WrZraGd+fnuRa6pzlIiMg6ZzfHx5foh+eX1ufnB5eX1ufnB5aJt7UqKMjIh+e3aBfm5lbYSBhGFze6J4c39oc0mUc4Z+e0V7fKFVe0WEdoaGY02Ec4Z+Y02EZYWBfH6HgU1+gY5+hIWUgW+XjJ57ebWRhFVScHuBfJ6PhBx7WqJzlM+Ujpd4gHZziX6HjHmEgZN+lJt5boiPe2GJgX+GjIGJgHZzeaxufnB5hF2JtdN7jJ57hp57hK6ElFVzg6ZzbmiEbndzhIWHe3uJfoFue3qRhJd2j3xoc65zlE1jc3p8lE1jhniEgXJ7e657vZaUc3qBh52BhIF4aHKDa9drgY5+c52GWqZzbpqJe8tjnM+UhIeMfo2BfGl+hG1zSmmMjKJjZVaGgX15c1lze0mEp4OHa3mUhIWHhDyclJ6MeYOJkXiPc0VzhFiMlKaEboSJa5Jze41re3qRhn+HZYWBe0mEc4p5fnORbox5lEp4hGFjhGGEjJuEc1WEhLZjeHeGa7KlfHx2hLaMeX1ugY5+hIWHhKGPjMN7c1WEho1zhoBzZYx7fnhzlJt5exyUhFFziXtzfmmMa6qMYyiEiXxweV12kZSMeWqXSl17fnhzxmmMrVGEe1mcc4p5eHeGjK6MgY5+doaGa6pzlGV7g1qBh4KHkXiPeW6OaKqafqZ2eXZ5e1V7jGd7boSJc3BzhJd2e0mcYot2h1RoY8dahK6EQmWEWjx7e1l2lL6UgXyBdnR4eU9zc0VreX1umqaBhld7fo2Bc6KEc5Z+hDyEcIeBWtNrfHyGe5qMhMuMe5qMhEGEbVVupcNzg3aHhIF4boeBe0mEdlptc39ofFl5Y8uUlJOGiYt2UmGEcyxjjGx4jFF7a657ZYWBnElzhp57iXtrgZN+tfOEhIOBjE2HgU1+e8tjjKNbiWCDhE15gUqBgYN7fnqGc66ce9d7iYSBj0qPcG6DnGGcT3eGa6qMZY+JlIiMl4hwc3aRdnqBlGV7eHJ2hLZjfnuRhDyEeX6MSk17g6Z+c6aUjHmEhIF4gXyBc76EZW18fGl+fkl+jCxrhoVwhDyUhIqGlL2DlI6EhJd2tdN7eYORhEGMa2Faa6pzc3Bzc4R5lIRznM+UY9eMhDycc5Z+c4p5c4iGY117pb6MgXuPrbJafnx2eYOJeXZ5e657hDyEcziElKZjfoB5eHeGj4WRhGGEe6KGeX1utTStc76EhFGJnCyMa5hzfH6HnNeceYB7hmN8gYuMhIVrczSMgYF8h3N7c5pza5hzjJqEYIRdgYuMlL2DeYRzhGGEeX1uhLaEc4iGeZ1zdl6JhrVteX6Me2iMfm5lWqJzSpqEa6pzdnmchHx2c6OMhNdrhoR5g3aHczxzeW52gV6Ejm15frGMc0Vzc4Z+l3drfniJe+9rWq5rlF1rhGGEhoVwe9OEfoh+e7pac09+c3qBY0lrhDycdnp2lJ6MiYOGhGCDc3aRlL2DlJt5doaGdnp2gYF8gWeOjF2Uc4R5c5Z+jEmMe7KEc4mEeYJ4dmyBe0mcgXiPbqJ7eYB7fmGGiYSJjICGlF1reZ2PnElzbpqJfH6Hc39oe4WEc5eJhK6EhqyJc3qBgZB8c09+hEmEaHKDhFGJc5SGiXWMUpaEa89zc6OMnCyMiXtrho+Be5qMc7KEjJ57dmN+hKGPjICGbmiEe7prdod+hGCDdnmchBx7eX6MkXZ2hGGEa657hm98jFFjY5JreYOJgY2EjHZ2a295Y3FajJ6Mc1J+YzB7e4WBjF2Uc4R5eV12gYxzg1qBeId+c9OUc5pzjFFjgY5+hFiMlIaPhoR5lIpjjIKBlNdSe7KEeX2BfrGMhIqGc65zjE2UhK6EklZ+QmWEeziMWqZza3VzdnR4foh+gYF8n3iJiZhrnKp7gYF8eId+lJ6Me1lrcIuGjKJjhmN8c66MjFF7a6prjJ6UnJ5zezyUfruRWlF7nI5zfHyGe657h4SEe8tjhBx7jFFjc09+c39ojICMeZeJeXt+YzRzjHZ2c0WEcIeBeXZ5onSXkVR+gYJ+eYFwdldzgYF7eX2BjJ6UiXuXlE1jh4SEe1mchLJjc4Z+hqZ7eXZ5bm1zlL6Ue5p7iWeGhKqUY5pzjKJjcIeBe8t7gXyBYIRdlEp4a3mGnK6EfmmMZpqEfFl5gYxzjKZuhGFjhoKGhHx2fnx2eXuMe3aBiWeGvbKMe6KGa5hzYzB7gZOBlGV7hmN8hqZlYot2Y117a6pzc6KEfId8foB5rctrfneJfJ6PcHN2hFiMc5pzjH92c0VzgY2EcElzdmCBlFVzg1GBc65zY4OBboeBcHiBeYJ4ewxzfHx5lIRzlEmEnLKEbk1zfJ6PhmN8eYBljBiEnMOEiXxwezyUcIeBe76EdsKEeX2BdnR4jGWUrXWMjGd7fkl+j4WRlEGMa5Jzho+BhDyEfnqMeXt+g3aHlE1jczClhNN7ZW18eHx8hGFjZW18iXWMjKJjhH57gYuMcIuGWjyMe4ZtjJuExmmMj4WRdntzi4GDhFFzYIRdnGGcjJp7Y0F7e4WEkbCGiX57fnSHa657a6prhBCMe3Z+SmmMjH92eHJ2hK6EY1FzexhrvbKMnI5za4OEfnd+eXuMhImBe897hLaMjN+EfG+BeIOBhF1+eZeJi4GDkXZ2eXKEgZ6Ejpd4c2GHa1V5e5KUfqZuhCx7jKp7lLZrg11+hHx2hFWUoot2nI5zgbh5mo9zvZaUe3qRbqKMfqZ2kbCGhFiM"),(e=>e.charCodeAt(0))),t=new _.X;t.wrapMode=p.e8.CLAMP_TO_EDGE,t.pixelFormat=p.VI.RGB,t.wrapMode=p.e8.REPEAT,t.hasMipmap=!0,t.width=32,t.height=32,this._passParameters.noiseTexture=new g.x(this._context.renderContext.rctx,t,e),null==this._ssaoTechnique&&(this._ssaoTechnique=this._context.techniqueRepository.acquire($)),null==this._blurTechnique&&(this._blurTechnique=this._context.techniqueRepository.acquire(G)),this._enableTime=(0,l.HA)(0),this._context?.requestRender()}renderNode(e,t,r){const o=e.bindParameters,i=o.linearDepth?.colorTexture,a=r?.normals?.colorTexture;if(null==this._enableTime||null==this._context||null==i||!a)return;if(!this._ssaoTechnique.compiled||!this._blurTechnique.compiled)return this._enableTime=e.time,void this._context.requestRender();0===this._enableTime&&(this._enableTime=e.time);const n=e.rctx,s=o.camera,l=this.view.qualitySettings.fadeDuration,c=l>0?Math.min(l,e.time-this._enableTime)/l:1;this._passParameters.normalTexture=a,this._passParameters.depthTexture=i,this._passParameters.projScale=1/s.computeScreenPixelSizeAtDist(1),this._passParameters.intensity=4*Z/(0,q.g)(s)**6*c;const d=s.fullViewport[2],h=s.fullViewport[3],f=Math.round(d/X),v=Math.round(h/X),g=this._context.fbos,_=g.acquire(d,h,"ssao input",m.RG);n.setViewport(0,0,d,h),n.bindTechnique(this._ssaoTechnique,o,this._passParameters,this._drawParameters),n.screen.draw(),n.setViewport(0,0,f,v);const x=g.acquire(f,v,"ssao blur",m.RED);this._drawParameters.colorTexture=_.colorTexture,(0,u.t8)(this._drawParameters.blurSize,0,X/h);const T=n.bindTechnique(this._blurTechnique,o,this._passParameters,this._drawParameters);n.setViewport(0,0,f,v),n.screen.draw(),_.release();const b=g.acquire(f,v,"ssao",m.RED);return n.setViewport(0,0,d,h),n.setClearColor(1,1,1,0),n.clear(p.lk.COLOR_BUFFER_BIT),n.setViewport(0,0,f,v),this._drawParameters.colorTexture=x.colorTexture,(0,u.t8)(this._drawParameters.blurSize,X/d,0),T.bindDraw(this._drawParameters,o,this._passParameters),n.screen.draw(),n.setViewport4fv(s.fullViewport),x.release(),c<1&&this._context.requestRender(),b}};(0,a._)([(0,c.Cb)({constructOnly:!0})],Y.prototype,"view",void 0),(0,a._)([(0,c.Cb)()],Y.prototype,"_context",void 0),Y=(0,a._)([(0,d.j)("esri.views.3d.webgl-engine.effects.ssao.SSAO")],Y);const Z=.5;function K(e,t){const r=e.fragment;t.receiveAmbientOcclusion?(r.uniforms.add(new i.A("ssaoTex",((e,t)=>t.ssao?.colorTexture))),r.constants.add("blurSizePixelsInverse","float",1/X),r.code.add(o.H`float evaluateAmbientOcclusionInverse() {
|
|
624
624
|
vec2 ssaoTextureSizeInverse = 1.0 / vec2(textureSize(ssaoTex, 0));
|
|
625
625
|
return texture(ssaoTex, gl_FragCoord.xy * blurSizePixelsInverse * ssaoTextureSizeInverse).r;
|
|
626
626
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5476],{94315:(t,n,a)=>{a.d(n,{Jp:()=>c,U_:()=>o,XL:()=>l,bA:()=>u,en:()=>f,p4:()=>i,pV:()=>M,t8:()=>r,uj:()=>h,xO:()=>s});var e=a(39514);function s(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[4],t[4]=n[5],t[5]=n[6],t[6]=n[8],t[7]=n[9],t[8]=n[10],t}function r(t,n,a,e,s,r,i,o,h,c){return t[0]=n,t[1]=a,t[2]=e,t[3]=s,t[4]=r,t[5]=i,t[6]=o,t[7]=h,t[8]=c,t}function i(t,n){if(t===n){const a=n[1],e=n[2],s=n[5];t[1]=n[3],t[2]=n[6],t[3]=a,t[5]=n[7],t[6]=e,t[7]=s}else t[0]=n[0],t[1]=n[3],t[2]=n[6],t[3]=n[1],t[4]=n[4],t[5]=n[7],t[6]=n[2],t[7]=n[5],t[8]=n[8];return t}function o(t,n){const a=n[0],e=n[1],s=n[2],r=n[3],i=n[4],o=n[5],h=n[6],c=n[7],u=n[8],f=u*i-o*c,l=-u*r+o*h,d=c*r-i*h;let M=a*f+e*l+s*d;return M?(M=1/M,t[0]=f*M,t[1]=(-u*e+s*c)*M,t[2]=(o*e-s*i)*M,t[3]=l*M,t[4]=(u*a-s*h)*M,t[5]=(-o*a+s*r)*M,t[6]=d*M,t[7]=(-c*a+e*h)*M,t[8]=(i*a-e*r)*M,t):null}function h(t,n){const a=n[0],e=n[1],s=n[2],r=n[3],i=n[4],o=n[5],h=n[6],c=n[7],u=n[8];return t[0]=i*u-o*c,t[1]=s*c-e*u,t[2]=e*o-s*i,t[3]=o*h-r*u,t[4]=a*u-s*h,t[5]=s*r-a*o,t[6]=r*c-i*h,t[7]=e*h-a*c,t[8]=a*i-e*r,t}function c(t,n,a){const e=n[0],s=n[1],r=n[2],i=n[3],o=n[4],h=n[5],c=n[6],u=n[7],f=n[8],l=a[0],d=a[1],M=a[2],_=a[3],m=a[4],b=a[5],j=a[6],g=a[7],P=a[8];return t[0]=l*e+d*i+M*c,t[1]=l*s+d*o+M*u,t[2]=l*r+d*h+M*f,t[3]=_*e+m*i+b*c,t[4]=_*s+m*o+b*u,t[5]=_*r+m*h+b*f,t[6]=j*e+g*i+P*c,t[7]=j*s+g*o+P*u,t[8]=j*r+g*h+P*f,t}function u(t,n,a){const e=a[0],s=a[1],r=a[2];return t[0]=e*n[0],t[1]=e*n[1],t[2]=e*n[2],t[3]=s*n[3],t[4]=s*n[4],t[5]=s*n[5],t[6]=r*n[6],t[7]=r*n[7],t[8]=r*n[8],t}function f(t,n){const a=n[0],e=n[1],s=n[2],r=n[3],i=a+a,o=e+e,h=s+s,c=a*i,u=e*i,f=e*o,l=s*i,d=s*o,M=s*h,_=r*i,m=r*o,b=r*h;return t[0]=1-f-M,t[3]=u-b,t[6]=l+m,t[1]=u+b,t[4]=1-c-M,t[7]=d-_,t[2]=l-m,t[5]=d+_,t[8]=1-c-f,t}function l(t,n){const a=n[0],e=n[1],s=n[2],r=n[3],i=n[4],o=n[5],h=n[6],c=n[7],u=n[8],f=n[9],l=n[10],d=n[11],M=n[12],_=n[13],m=n[14],b=n[15],j=a*o-e*i,g=a*h-s*i,P=a*c-r*i,U=e*h-s*o,x=e*c-r*o,E=s*c-r*h,S=u*_-f*M,p=u*m-l*M,A=u*b-d*M,y=f*m-l*_,I=f*b-d*_,q=l*b-d*m;let C=j*q-g*I+P*y+U*A-x*p+E*S;return C?(C=1/C,t[0]=(o*q-h*I+c*y)*C,t[1]=(h*A-i*q-c*p)*C,t[2]=(i*I-o*A+c*S)*C,t[3]=(s*I-e*q-r*y)*C,t[4]=(a*q-s*A+r*p)*C,t[5]=(e*A-a*I-r*S)*C,t[6]=(_*E-m*x+b*U)*C,t[7]=(m*P-M*E-b*g)*C,t[8]=(M*x-_*P+b*j)*C,t):null}function d(t,n,a){return t[0]=n[0]-a[0],t[1]=n[1]-a[1],t[2]=n[2]-a[2],t[3]=n[3]-a[3],t[4]=n[4]-a[4],t[5]=n[5]-a[5],t[6]=n[6]-a[6],t[7]=n[7]-a[7],t[8]=n[8]-a[8],t}function M(t){const n=(0,e.bn)(),a=t[0],s=t[1],r=t[2],i=t[3],o=t[4],h=t[5],c=t[6],u=t[7],f=t[8];return Math.abs(1-(a*a+i*i+c*c))<=n&&Math.abs(1-(s*s+o*o+u*u))<=n&&Math.abs(1-(r*r+h*h+f*f))<=n}const _=c,m=d;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,n,a){return t[0]=n[0]+a[0],t[1]=n[1]+a[1],t[2]=n[2]+a[2],t[3]=n[3]+a[3],t[4]=n[4]+a[4],t[5]=n[5]+a[5],t[6]=n[6]+a[6],t[7]=n[7]+a[7],t[8]=n[8]+a[8],t},adjoint:h,copy:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t},determinant:function(t){const n=t[0],a=t[1],e=t[2],s=t[3],r=t[4],i=t[5],o=t[6],h=t[7],c=t[8];return n*(c*r-i*h)+a*(-c*s+i*o)+e*(h*s-r*o)},equals:function(t,n){const a=t[0],s=t[1],r=t[2],i=t[3],o=t[4],h=t[5],c=t[6],u=t[7],f=t[8],l=n[0],d=n[1],M=n[2],_=n[3],m=n[4],b=n[5],j=n[6],g=n[7],P=n[8],U=(0,e.bn)();return Math.abs(a-l)<=U*Math.max(1,Math.abs(a),Math.abs(l))&&Math.abs(s-d)<=U*Math.max(1,Math.abs(s),Math.abs(d))&&Math.abs(r-M)<=U*Math.max(1,Math.abs(r),Math.abs(M))&&Math.abs(i-_)<=U*Math.max(1,Math.abs(i),Math.abs(_))&&Math.abs(o-m)<=U*Math.max(1,Math.abs(o),Math.abs(m))&&Math.abs(h-b)<=U*Math.max(1,Math.abs(h),Math.abs(b))&&Math.abs(c-j)<=U*Math.max(1,Math.abs(c),Math.abs(j))&&Math.abs(u-g)<=U*Math.max(1,Math.abs(u),Math.abs(g))&&Math.abs(f-P)<=U*Math.max(1,Math.abs(f),Math.abs(P))},exactEquals:function(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]&&t[4]===n[4]&&t[5]===n[5]&&t[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]},frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2)},fromMat2d:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=0,t[3]=n[2],t[4]=n[3],t[5]=0,t[6]=n[4],t[7]=n[5],t[8]=1,t},fromMat4:s,fromQuat:f,fromRotation:function(t,n){const a=Math.sin(n),e=Math.cos(n);return t[0]=e,t[1]=a,t[2]=0,t[3]=-a,t[4]=e,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=n[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromTranslation:function(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=n[0],t[7]=n[1],t[8]=1,t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},invert:o,isOrthoNormal:M,mul:_,multiply:c,multiplyScalar:function(t,n,a){return t[0]=n[0]*a,t[1]=n[1]*a,t[2]=n[2]*a,t[3]=n[3]*a,t[4]=n[4]*a,t[5]=n[5]*a,t[6]=n[6]*a,t[7]=n[7]*a,t[8]=n[8]*a,t},multiplyScalarAndAdd:function(t,n,a,e){return t[0]=n[0]+a[0]*e,t[1]=n[1]+a[1]*e,t[2]=n[2]+a[2]*e,t[3]=n[3]+a[3]*e,t[4]=n[4]+a[4]*e,t[5]=n[5]+a[5]*e,t[6]=n[6]+a[6]*e,t[7]=n[7]+a[7]*e,t[8]=n[8]+a[8]*e,t},normalFromMat4:l,normalFromMat4Legacy:function(t,n){const a=n[0],e=n[1],s=n[2],r=n[4],i=n[5],o=n[6],h=n[8],c=n[9],u=n[10],f=u*i-o*c,l=-u*r+o*h,d=c*r-i*h,M=a*f+e*l+s*d;if(!M)return null;const _=1/M;return t[0]=f*_,t[1]=(-u*e+s*c)*_,t[2]=(o*e-s*i)*_,t[3]=l*_,t[4]=(u*a-s*h)*_,t[5]=(-o*a+s*r)*_,t[6]=d*_,t[7]=(-c*a+e*h)*_,t[8]=(i*a-e*r)*_,t},projection:function(t,n,a){return t[0]=2/n,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/a,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t},rotate:function(t,n,a){const e=n[0],s=n[1],r=n[2],i=n[3],o=n[4],h=n[5],c=n[6],u=n[7],f=n[8],l=Math.sin(a),d=Math.cos(a);return t[0]=d*e+l*i,t[1]=d*s+l*o,t[2]=d*r+l*h,t[3]=d*i-l*e,t[4]=d*o-l*s,t[5]=d*h-l*r,t[6]=c,t[7]=u,t[8]=f,t},scale:u,scaleByVec2:function(t,n,a){const e=a[0],s=a[1];return t[0]=e*n[0],t[1]=e*n[1],t[2]=e*n[2],t[3]=s*n[3],t[4]=s*n[4],t[5]=s*n[5],t},set:r,str:function(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"},sub:m,subtract:d,translate:function(t,n,a){const e=n[0],s=n[1],r=n[2],i=n[3],o=n[4],h=n[5],c=n[6],u=n[7],f=n[8],l=a[0],d=a[1];return t[0]=e,t[1]=s,t[2]=r,t[3]=i,t[4]=o,t[5]=h,t[6]=l*e+d*i+c,t[7]=l*s+d*o+u,t[8]=l*r+d*h+f,t},transpose:i},Symbol.toStringTag,{value:"Module"}))},76315:(t,n,a)=>{a.d(n,{Bh:()=>u,I6:()=>I,Jp:()=>f,Kx:()=>d,Su:()=>_,t8:()=>b,yY:()=>c});var e=a(4818),s=a(2153),r=a(28712),i=a(39514),o=a(20773),h=a(11077);function c(t,n,a){a*=.5;const e=Math.sin(a);return t[0]=e*n[0],t[1]=e*n[1],t[2]=e*n[2],t[3]=Math.cos(a),t}function u(t,n){const a=2*Math.acos(n[3]),e=Math.sin(a/2);return e>(0,i.bn)()?(t[0]=n[0]/e,t[1]=n[1]/e,t[2]=n[2]/e):(t[0]=1,t[1]=0,t[2]=0),a}function f(t,n,a){const e=n[0],s=n[1],r=n[2],i=n[3],o=a[0],h=a[1],c=a[2],u=a[3];return t[0]=e*u+i*o+s*c-r*h,t[1]=s*u+i*h+r*o-e*c,t[2]=r*u+i*c+e*h-s*o,t[3]=i*u-e*o-s*h-r*c,t}function l(t,n,a,e){const s=n[0],r=n[1],o=n[2],h=n[3];let c,u,f,l,d,M=a[0],_=a[1],m=a[2],b=a[3];return u=s*M+r*_+o*m+h*b,u<0&&(u=-u,M=-M,_=-_,m=-m,b=-b),1-u>(0,i.bn)()?(c=Math.acos(u),f=Math.sin(c),l=Math.sin((1-e)*c)/f,d=Math.sin(e*c)/f):(l=1-e,d=e),t[0]=l*s+d*M,t[1]=l*r+d*_,t[2]=l*o+d*m,t[3]=l*h+d*b,t}function d(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t[3]=n[3],t}function M(t,n){const a=n[0]+n[4]+n[8];let e;if(a>0)e=Math.sqrt(a+1),t[3]=.5*e,e=.5/e,t[0]=(n[5]-n[7])*e,t[1]=(n[6]-n[2])*e,t[2]=(n[1]-n[3])*e;else{let a=0;n[4]>n[0]&&(a=1),n[8]>n[3*a+a]&&(a=2);const s=(a+1)%3,r=(a+2)%3;e=Math.sqrt(n[3*a+a]-n[3*s+s]-n[3*r+r]+1),t[a]=.5*e,e=.5/e,t[3]=(n[3*s+r]-n[3*r+s])*e,t[s]=(n[3*s+a]+n[3*a+s])*e,t[r]=(n[3*r+a]+n[3*a+r])*e}return t}function _(t,n,a,e){const s=.5*Math.PI/180;n*=s,a*=s,e*=s;const r=Math.sin(n),i=Math.cos(n),o=Math.sin(a),h=Math.cos(a),c=Math.sin(e),u=Math.cos(e);return t[0]=r*h*u-i*o*c,t[1]=i*o*u+r*h*c,t[2]=i*h*c-r*o*u,t[3]=i*h*u+r*o*c,t}const m=h.c,b=h.s,j=h.f,g=f,P=h.b,U=h.g,x=h.l,E=h.h,S=E,p=h.i,A=p,y=h.n,I=h.a,q=h.e,C=(0,r.Ue)(),z=(0,r.al)(1,0,0),w=(0,r.al)(0,1,0),N=(0,s.Ue)(),T=(0,s.Ue)(),R=(0,e.Ue)();Object.freeze(Object.defineProperty({__proto__:null,add:j,calculateW:function(t,n){const a=n[0],e=n[1],s=n[2];return t[0]=a,t[1]=e,t[2]=s,t[3]=Math.sqrt(Math.abs(1-a*a-e*e-s*s)),t},conjugate:d,copy:m,dot:U,equals:q,exactEquals:I,fromEuler:_,fromMat3:M,getAxisAngle:u,identity:function(t){return t[0]=0,t[1]=0,t[2]=0,t[3]=1,t},invert:function(t,n){const a=n[0],e=n[1],s=n[2],r=n[3],i=a*a+e*e+s*s+r*r,o=i?1/i:0;return t[0]=-a*o,t[1]=-e*o,t[2]=-s*o,t[3]=r*o,t},len:S,length:E,lerp:x,mul:g,multiply:f,normalize:y,random:function(t){const n=i.FD,a=n(),e=n(),s=n(),r=Math.sqrt(1-a),o=Math.sqrt(a);return t[0]=r*Math.sin(2*Math.PI*e),t[1]=r*Math.cos(2*Math.PI*e),t[2]=o*Math.sin(2*Math.PI*s),t[3]=o*Math.cos(2*Math.PI*s),t},rotateX:function(t,n,a){a*=.5;const e=n[0],s=n[1],r=n[2],i=n[3],o=Math.sin(a),h=Math.cos(a);return t[0]=e*h+i*o,t[1]=s*h+r*o,t[2]=r*h-s*o,t[3]=i*h-e*o,t},rotateY:function(t,n,a){a*=.5;const e=n[0],s=n[1],r=n[2],i=n[3],o=Math.sin(a),h=Math.cos(a);return t[0]=e*h-r*o,t[1]=s*h+i*o,t[2]=r*h+e*o,t[3]=i*h-s*o,t},rotateZ:function(t,n,a){a*=.5;const e=n[0],s=n[1],r=n[2],i=n[3],o=Math.sin(a),h=Math.cos(a);return t[0]=e*h+s*o,t[1]=s*h-e*o,t[2]=r*h+i*o,t[3]=i*h-r*o,t},rotationTo:function(t,n,a){const e=(0,o.j)(n,a);return e<-.999999?((0,o.b)(C,z,n),(0,o.G)(C)<1e-6&&(0,o.b)(C,w,n),(0,o.n)(C,C),c(t,C,Math.PI),t):e>.999999?(t[0]=0,t[1]=0,t[2]=0,t[3]=1,t):((0,o.b)(C,n,a),t[0]=C[0],t[1]=C[1],t[2]=C[2],t[3]=1+e,y(t,t))},scale:P,set:b,setAxes:function(t,n,a,e){const s=R;return s[0]=a[0],s[3]=a[1],s[6]=a[2],s[1]=e[0],s[4]=e[1],s[7]=e[2],s[2]=-n[0],s[5]=-n[1],s[8]=-n[2],y(t,M(t,s))},setAxisAngle:c,slerp:l,sqlerp:function(t,n,a,e,s,r){return l(N,n,s,r),l(T,a,e,r),l(t,N,T,2*r*(1-r)),t},sqrLen:A,squaredLength:p,str:function(t){return"quat("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"}},Symbol.toStringTag,{value:"Module"}))},83932:(t,n,a)=>{a.d(n,{B:()=>c});var e=a(22021),s=a(55488),r=a(28712);function i(t,n,a){const e=Math.sin(t),s=Math.cos(t),r=Math.sin(n),i=Math.cos(n),o=a;return o[0]=-e,o[4]=-r*s,o[8]=i*s,o[12]=0,o[1]=s,o[5]=-r*e,o[9]=i*e,o[13]=0,o[2]=0,o[6]=i,o[10]=r,o[14]=0,o[3]=0,o[7]=0,o[11]=0,o[15]=1,o}var o=a(29166),h=a(8744);function c(t,n,a,e){if(null==t||null==e)return!1;const r=(0,o.eT)(t,o.Jz),c=(0,o.eT)(e,o.sp);if(r===c&&!u(c)&&(r!==o.Ej.UNKNOWN||(0,h.fS)(t,e)))return(0,s.vc)(a,n),!0;if(u(c)){const t=o.rf[r][o.Ej.LON_LAT],e=o.rf[o.Ej.LON_LAT][c];return null!=t&&null!=e&&(t(n,0,l,0),e(l,0,d,0),i(f*l[0],f*l[1],a),a[12]=d[0],a[13]=d[1],a[14]=d[2],!0)}if((c===o.Ej.WEB_MERCATOR||c===o.Ej.PLATE_CARREE||c===o.Ej.WGS84)&&(r===o.Ej.WGS84||r===o.Ej.CGCS2000&&c===o.Ej.PLATE_CARREE||r===o.Ej.SPHERICAL_ECEF||r===o.Ej.WEB_MERCATOR)){const t=o.rf[r][o.Ej.LON_LAT],e=o.rf[o.Ej.LON_LAT][c];return null!=t&&null!=e&&(t(n,0,l,0),e(l,0,d,0),r===o.Ej.SPHERICAL_ECEF?function(t,n,a){i(t,n,a),(0,s.p4)(a,a)}(f*l[0],f*l[1],a):(0,s.yR)(a),a[12]=d[0],a[13]=d[1],a[14]=d[2],!0)}return!1}function u(t){return t===o.Ej.SPHERICAL_ECEF||t===o.Ej.SPHERICAL_MARS_PCPF||t===o.Ej.SPHERICAL_MOON_PCPF}const f=(0,e.Vl)(1),l=(0,r.Ue)(),d=(0,r.Ue)()},58995:(t,n,a)=>{a.d(n,{rS:()=>c});var e=a(2109),s=a(82971),r=a(8744);const i=new s.Z(e.kU),o=new s.Z(e.JL),h=new s.Z(e.mM);function c(t){return t&&((0,r.BZ)(t)||(0,r.fS)(t,o))?o:t&&((0,r.V2)(t)||(0,r.fS)(t,h))?h:i}new s.Z(e.pn)},5476:(t,n,a)=>{a.d(n,{Oo:()=>gt,gI:()=>qt});var e=a(94315),s=a(4818),r=a(10681),i=a(76315),o=a(2153),h=a(20773),c=a(28712),u=a(11077),f=a(22549),l=a(2109),d=a(58995),M=a(83932),_=a(87360),m=a(62073),b=a(8744),j=a(12981),g=a(64822),P=a(46505),U=a(51417);const x=1e-6,E=(0,c.Ue)(),S=(0,c.Ue)();function p(t,n,a,e,s,r,i,o,h,c){return function(t,n,a){let e=bt(t.maxVert[0],t.minVert[0]),s=0;for(let n=1;n<7;++n){const a=bt(t.maxVert[n],t.minVert[n]);a>e&&(e=a,s=n)}dt(n,t.minVert[s]),dt(a,t.maxVert[s])}(t,e,s),bt(e,s)<x?1:(ft(i,e,s),_t(i,i),function(t,n,a,e){const{data:s,size:r}=t;let i=Number.NEGATIVE_INFINITY,o=0;for(let t=0;t<s.length;t+=r){R[0]=s[t]-n[0],R[1]=s[t+1]-n[1],R[2]=s[t+2]-n[2];const e=a[0]*R[0]+a[1]*R[1]+a[2]*R[2],r=a[0]*a[0]+a[1]*a[1]+a[2]*a[2],h=R[0]*R[0]+R[1]*R[1]+R[2]*R[2]-e*e/r;h>i&&(i=h,o=t)}return dt(e,s,o),i}(n,e,i,r)<x?2:(ft(o,s,r),_t(o,o),ft(h,r,e),_t(h,h),Mt(a,o,i),_t(a,a),Q(n,a,i,o,h,c),0))}const A=(0,c.Ue)(),y=(0,c.Ue)(),I=(0,c.Ue)(),q=(0,c.Ue)(),C=(0,c.Ue)(),z=(0,c.Ue)(),w=(0,c.Ue)(),N=(0,c.Ue)();function T(t,n,a,e,s,r,i,o,h){(function(t,n,a,e,s){!function(t,n,a,e,s){const{data:r,size:i}=t;dt(e,r),dt(s,e),a[0]=jt(W,n),a[1]=a[0];for(let t=i;t<r.length;t+=i){const i=r[t]*n[0]+r[t+1]*n[1]+r[t+2]*n[2];i<a[0]&&(a[0]=i,dt(e,r,t)),i>a[1]&&(a[1]=i,dt(s,r,t))}}(t,n,v,s,e);const r=jt(a,n);v[1]-x<=r&&(e[0]=void 0),v[0]+x>=r&&(s[0]=void 0)})(t,n,a,A,y),void 0!==A[0]&&(ft(I,A,a),_t(I,I),ft(q,A,e),_t(q,q),ft(C,A,s),_t(C,C),Mt(z,q,r),_t(z,z),Mt(w,C,i),_t(w,w),Mt(N,I,o),_t(N,N),Q(t,z,r,q,I,h),Q(t,w,i,C,q,h),Q(t,N,o,I,C,h)),void 0!==y[0]&&(ft(I,y,a),_t(I,I),ft(q,y,e),_t(q,q),ft(C,y,s),_t(C,C),Mt(z,q,r),_t(z,z),Mt(w,C,i),_t(w,w),Mt(N,I,o),_t(N,N),Q(t,z,r,q,I,h),Q(t,w,i,C,q,h),Q(t,N,o,I,C,h))}const R=[0,0,0],v=(0,P.Ue)(),L=(0,c.Ue)(),V=(0,c.Ue)(),F=(0,c.Ue)(),O=(0,c.Ue)(),B=(0,c.Ue)(),G=(0,c.Ue)();function Q(t,n,a,e,s,r){if(mt(n)<x)return;Mt(L,a,n),Mt(V,e,n),Mt(F,s,n),H(t,n,v),B[1]=v[0],O[1]=v[1],G[1]=O[1]-B[1];const i=[a,e,s],o=[L,V,F];for(let a=0;a<3;++a){H(t,i[a],v),B[0]=v[0],O[0]=v[1],H(t,o[a],v),B[2]=v[0],O[2]=v[1],G[0]=O[0]-B[0],G[2]=O[2]-B[2];const e=ct(G);e<r.quality&&(dt(r.b0,i[a]),dt(r.b1,n),dt(r.b2,o[a]),r.quality=e)}}const W=(0,c.Ue)();function H(t,n,a){const{data:e,size:s}=t;a[0]=Number.POSITIVE_INFINITY,a[1]=Number.NEGATIVE_INFINITY;for(let t=0;t<e.length;t+=s){const s=e[t]*n[0]+e[t+1]*n[1]+e[t+2]*n[2];a[0]=Math.min(a[0],s),a[1]=Math.max(a[1],s)}}function Y(t,n,a){a.center=t,a.halfSize=(0,h.i)(n,n,.5),a.quaternion=o.Wd}const K=(0,c.Ue)(),J=(0,c.Ue)(),Z=(0,c.Ue)(),k=(0,c.Ue)(),D=(0,c.Ue)(),X=(0,c.Ue)();function $(t,n,a){dt(K,n),Math.abs(n[0])>Math.abs(n[1])&&Math.abs(n[0])>Math.abs(n[2])?K[0]=0:Math.abs(n[1])>Math.abs(n[2])?K[1]=0:K[2]=0,mt(K)<x&&(K[0]=K[1]=K[2]=1),Mt(J,n,K),_t(J,J),Mt(Z,n,J),_t(Z,Z),tt(t,n,J,Z,k,D),ft(X,D,k),it(n,J,Z,k,D,X,a)}function tt(t,n,a,e,s,r){H(t,n,v),s[0]=v[0],r[0]=v[1],H(t,a,v),s[1]=v[0],r[1]=v[1],H(t,e,v),s[2]=v[0],r[2]=v[1]}const nt=(0,c.Ue)(),at=(0,c.Ue)(),et=(0,c.Ue)(),st=(0,s.al)(1,0,0,0,1,0,0,0,1),rt=(0,o.Ue)();function it(t,n,a,e,s,r,i){st[0]=t[0],st[1]=t[1],st[2]=t[2],st[3]=n[0],st[4]=n[1],st[5]=n[2],st[6]=a[0],st[7]=a[1],st[8]=a[2],i.quaternion=function(t,n){const a=n[0]+n[4]+n[8];if(a>0){let e=Math.sqrt(a+1);t[3]=.5*e,e=.5/e,t[0]=(n[5]-n[7])*e,t[1]=(n[6]-n[2])*e,t[2]=(n[1]-n[3])*e}else{let a=0;n[4]>n[0]&&(a=1),n[8]>n[3*a+a]&&(a=2);const e=(a+1)%3,s=(a+2)%3;let r=Math.sqrt(n[3*a+a]-n[3*e+e]-n[3*s+s]+1);t[a]=.5*r,r=.5/r,t[3]=(n[3*e+s]-n[3*s+e])*r,t[e]=(n[3*e+a]+n[3*a+e])*r,t[s]=(n[3*s+a]+n[3*a+s])*r}return t}(rt,st),ut(nt,e,s),lt(nt,nt,.5),lt(at,t,nt[0]),lt(et,n,nt[1]),ut(at,at,et),lt(et,a,nt[2]),i.center=(0,h.g)(at,at,et),i.halfSize=(0,h.i)(nt,r,.5)}class ot{constructor(t){this.minVert=new Array(7),this.maxVert=new Array(7),this.buffer=new ArrayBuffer(448);let n=0;this.minProj=new Float64Array(this.buffer,n,7),n+=56,this.maxProj=new Float64Array(this.buffer,n,7),n+=56;for(let t=0;t<7;++t)this.minVert[t]=new Float64Array(this.buffer,n,3),n+=24;for(let t=0;t<7;++t)this.maxVert[t]=new Float64Array(this.buffer,n,3),n+=24;for(let t=0;t<7;++t)this.minProj[t]=Number.POSITIVE_INFINITY,this.maxProj[t]=Number.NEGATIVE_INFINITY;const a=new Array(7),e=new Array(7),{data:s,size:r}=t;for(let t=0;t<s.length;t+=r){let n=s[t];n<this.minProj[0]&&(this.minProj[0]=n,a[0]=t),n>this.maxProj[0]&&(this.maxProj[0]=n,e[0]=t),n=s[t+1],n<this.minProj[1]&&(this.minProj[1]=n,a[1]=t),n>this.maxProj[1]&&(this.maxProj[1]=n,e[1]=t),n=s[t+2],n<this.minProj[2]&&(this.minProj[2]=n,a[2]=t),n>this.maxProj[2]&&(this.maxProj[2]=n,e[2]=t),n=s[t]+s[t+1]+s[t+2],n<this.minProj[3]&&(this.minProj[3]=n,a[3]=t),n>this.maxProj[3]&&(this.maxProj[3]=n,e[3]=t),n=s[t]+s[t+1]-s[t+2],n<this.minProj[4]&&(this.minProj[4]=n,a[4]=t),n>this.maxProj[4]&&(this.maxProj[4]=n,e[4]=t),n=s[t]-s[t+1]+s[t+2],n<this.minProj[5]&&(this.minProj[5]=n,a[5]=t),n>this.maxProj[5]&&(this.maxProj[5]=n,e[5]=t),n=s[t]-s[t+1]-s[t+2],n<this.minProj[6]&&(this.minProj[6]=n,a[6]=t),n>this.maxProj[6]&&(this.maxProj[6]=n,e[6]=t)}for(let t=0;t<7;++t){let n=a[t];dt(this.minVert[t],s,n),n=e[t],dt(this.maxVert[t],s,n)}}}class ht{constructor(){this.b0=(0,c.al)(1,0,0),this.b1=(0,c.al)(0,1,0),this.b2=(0,c.al)(0,0,1),this.quality=0}}function ct(t){return t[0]*t[1]+t[0]*t[2]+t[1]*t[2]}function ut(t,n,a){t[0]=n[0]+a[0],t[1]=n[1]+a[1],t[2]=n[2]+a[2]}function ft(t,n,a){t[0]=n[0]-a[0],t[1]=n[1]-a[1],t[2]=n[2]-a[2]}function lt(t,n,a){t[0]=n[0]*a,t[1]=n[1]*a,t[2]=n[2]*a}function dt(t,n,a=0){t[0]=n[a],t[1]=n[a+1],t[2]=n[a+2]}function Mt(t,n,a){const e=n[0],s=n[1],r=n[2],i=a[0],o=a[1],h=a[2];t[0]=s*h-r*o,t[1]=r*i-e*h,t[2]=e*o-s*i}function _t(t,n){const a=n[0]*n[0]+n[1]*n[1]+n[2]*n[2];if(a>0){const e=1/Math.sqrt(a);t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e}}function mt(t){return t[0]*t[0]+t[1]*t[1]+t[2]*t[2]}function bt(t,n){const a=n[0]-t[0],e=n[1]-t[1],s=n[2]-t[2];return a*a+e*e+s*s}function jt(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}class gt{constructor(t=c.AG,n=Qt,a=o.Wd){this._data=[t[0],t[1],t[2],n[0],n[1],n[2],a[0],a[1],a[2],a[3]]}clone(){const t=new gt;return t._data=this._data.slice(),t}static fromData(t){const n=new gt;return n._data=t.slice(),n}static fromJSON(t){return new gt(t.center,t.halfSize,t.quaternion)}copy(t){this._data=t.data.slice()}get center(){return(0,h.s)(j.WM.get(),this._data[0],this._data[1],this._data[2])}get centerX(){return this._data[0]}get centerY(){return this._data[1]}get centerZ(){return this._data[2]}getCenter(t){return t[0]=this._data[0],t[1]=this._data[1],t[2]=this._data[2],t}set center(t){this._data[0]=t[0],this._data[1]=t[1],this._data[2]=t[2]}setCenter(t,n,a){this._data[0]=t,this._data[1]=n,this._data[2]=a}get halfSize(){return(0,h.s)(j.WM.get(),this._data[3],this._data[4],this._data[5])}getHalfSize(t){return t[0]=this._data[3],t[1]=this._data[4],t[2]=this._data[5],t}set halfSize(t){this._data[3]=t[0],this._data[4]=t[1],this._data[5]=t[2]}get quaternion(){return(0,i.t8)(j.vD.get(),this._data[6],this._data[7],this._data[8],this._data[9])}getQuaternion(t){return t[0]=this._data[6],t[1]=this._data[7],t[2]=this._data[8],t[3]=this._data[9],t}set quaternion(t){this._data[6]=t[0],this._data[7]=t[1],this._data[8]=t[2],this._data[9]=t[3]}get data(){return this._data}getCorners(t){const{quaternion:n}=this;for(let a=0;a<8;++a){const e=t[a];e[0]=1&a?-this._data[3]:this._data[3],e[1]=2&a?-this._data[4]:this._data[4],e[2]=4&a?-this._data[5]:this._data[5],(0,h.r)(e,e,n),e[0]+=this._data[0],e[1]+=this._data[1],e[2]+=this._data[2]}}isVisible(t){return this.intersectPlane(t[0])<=0&&this.intersectPlane(t[1])<=0&&this.intersectPlane(t[2])<=0&&this.intersectPlane(t[3])<=0&&this.intersectPlane(t[4])<=0&&this.intersectPlane(t[5])<=0}get radius(){const t=this._data[3],n=this._data[4],a=this._data[5];return Math.sqrt(t*t+n*n+a*a)}intersectSphere(t){Et[0]=this._data[0]-t[0],Et[1]=this._data[1]-t[1],Et[2]=this._data[2]-t[2];const n=this.getQuaternion(Ut);return(0,i.Kx)(Pt,n),(0,h.r)(Et,Et,Pt),(0,h.u)(Et,Et),St[0]=Math.min(Et[0],this._data[3]),St[1]=Math.min(Et[1],this._data[4]),St[2]=Math.min(Et[2],this._data[5]),(0,h.v)(St,Et)<t[3]*t[3]}intersectPlane(t){const n=t[0]*this._data[0]+t[1]*this._data[1]+t[2]*this._data[2]+t[3],a=this.projectedRadius((0,m.st)(t));return n>a?1:n<-a?-1:0}intersectRay(t,n,a=0){const e=this.getQuaternion(Ut);(0,i.Kx)(Pt,e),Et[0]=t[0]-this._data[0],Et[1]=t[1]-this._data[1],Et[2]=t[2]-this._data[2];const s=(0,h.r)(Et,Et,Pt),r=(0,h.r)(St,n,Pt);let o=-1/0,c=1/0;const u=this.getHalfSize(vt);for(let t=0;t<3;t++)if(Math.abs(r[t])>1e-6){const n=(a+u[t]-s[t])/r[t],e=(-a-u[t]-s[t])/r[t];o=Math.max(o,Math.min(n,e)),c=Math.min(c,Math.max(n,e))}else if(s[t]>u[t]+a||s[t]<-u[t]-a)return!1;return o<=c}projectedArea(t,n,a,s){const r=this.getQuaternion(Ut);(0,i.Kx)(Pt,r),Et[0]=t[0]-this._data[0],Et[1]=t[1]-this._data[1],Et[2]=t[2]-this._data[2],(0,h.r)(Et,Et,Pt);const o=this.getHalfSize(vt),c=Et[0]<-o[0]?-1:Et[0]>o[0]?1:0,f=Et[1]<-o[1]?-1:Et[1]>o[1]?1:0,l=Et[2]<-o[2]?-1:Et[2]>o[2]?1:0,d=Math.abs(c)+Math.abs(f)+Math.abs(l);if(0===d)return 1/0;const M=1===d?4:6,_=6*(c+3*f+9*l+13);(0,e.en)(Lt,r),(0,e.bA)(Lt,Lt,o);const m=this.getCenter(Tt);for(let t=0;t<M;t++){const a=It[_+t];(0,h.s)(Et,((1&a)<<1)-1,(2&a)-1,((4&a)>>1)-1),(0,h.t)(Et,Et,Lt),(0,h.g)(pt,m,Et),pt[3]=1,(0,u.t)(pt,pt,n);const e=1/Math.max(1e-6,pt[3]);yt[2*t]=pt[0]*e,yt[2*t+1]=pt[1]*e}const b=2*M-2;let j=yt[0]*(yt[3]-yt[b+1])+yt[b]*(yt[1]-yt[b-1]);for(let t=2;t<b;t+=2)j+=yt[t]*(yt[t+3]-yt[t-1]);return Math.abs(j)*a*s*.125}projectedRadius(t){const n=this.getQuaternion(Ut);return(0,i.Kx)(Pt,n),(0,h.r)(Et,t,Pt),Math.abs(Et[0]*this._data[3])+Math.abs(Et[1]*this._data[4])+Math.abs(Et[2]*this._data[5])}minimumDistancePlane(t){return t[0]*this._data[0]+t[1]*this._data[1]+t[2]*this._data[2]+t[3]-this.projectedRadius((0,m.st)(t))}maximumDistancePlane(t){return t[0]*this._data[0]+t[1]*this._data[1]+t[2]*this._data[2]+t[3]+this.projectedRadius((0,m.st)(t))}toAaBoundingBox(t){const n=this.getQuaternion(Ut),a=(0,e.en)(Lt,n),s=this._data[3]*Math.abs(a[0])+this._data[4]*Math.abs(a[3])+this._data[5]*Math.abs(a[6]),r=this._data[3]*Math.abs(a[1])+this._data[4]*Math.abs(a[4])+this._data[5]*Math.abs(a[7]),i=this._data[3]*Math.abs(a[2])+this._data[4]*Math.abs(a[5])+this._data[5]*Math.abs(a[8]);t[0]=this._data[0]-s,t[1]=this._data[1]-r,t[2]=this._data[2]-i,t[3]=this._data[0]+s,t[4]=this._data[1]+r,t[5]=this._data[2]+i}transform(t,n,a,e=0,s=(0,d.rS)(a)){if(a===s)n.isGeographic?function(t,n,a,e){const s=(0,l.Iu)(a),r=1+Math.max(0,e)/(s.radius+t.centerZ);t.getCenter(Nt),Nt[2]+=e,(0,_.projectBuffer)(Nt,a,0,Nt,(0,d.rS)(a),0,1),n.center=Nt;const o=t.getQuaternion(Ut);n.quaternion=o,(0,i.Kx)(Pt,o),(0,h.s)(Ot,0,0,1),(0,h.r)(Ot,Ot,Pt);const c=t.getHalfSize(vt);(0,h.s)(Ot,c[0]*Math.abs(Ot[0]),c[1]*Math.abs(Ot[1]),c[2]*Math.abs(Ot[2])),(0,h.i)(Ot,Ot,s.inverseFlattening),(0,h.g)(Ot,c,Ot),n.halfSize=(0,h.i)(Ot,Ot,r)}(this,t,n,e):function(t,n,a,e){t.getCorners(Ft),t.getCenter(Nt),Nt[2]+=e,(0,M.B)(a,Nt,Vt,(0,d.rS)(a)),n.setCenter(Vt[12],Vt[13],Vt[14]);const s=2*Math.sqrt(1+Vt[0]+Vt[5]+Vt[10]);Pt[0]=(Vt[6]-Vt[9])/s,Pt[1]=(Vt[8]-Vt[2])/s,Pt[2]=(Vt[1]-Vt[4])/s,Pt[3]=.25*s;const r=t.getQuaternion(Ut);n.quaternion=(0,i.Jp)(Pt,Pt,r),(0,i.Kx)(Pt,Pt),(0,h.s)(Bt,0,0,0);const o=n.getCenter(Rt);for(const t of Ft)t[2]+=e,(0,_.projectBuffer)(t,a,0,t,(0,d.rS)(a),0,1),(0,h.x)(Ot,t,o),(0,h.r)(Ot,Ot,Pt),(0,h.A)(Bt,Bt,Ot);n.halfSize=Bt}(this,t,n,e);else if(n.isWGS84&&(a.isWebMercator||(0,b.QM)(a)))!function(t,n,a,e,s){n.getCenter(Tt),Tt[2]+=s;const r=(0,d.rS)(a);(0,_.projectBuffer)(Tt,t,0,Tt,r,0,1),Ct(r,n,Tt,a,e)}(n,this,a,t,e);else if(n.isWebMercator&&(0,b.QM)(a))!function(t,n,a,e,s){n.getCenter(Tt),Tt[2]+=s,Ct(t,n,Tt,a,e)}(n,this,a,t,e);else{const s=this.getCenter(Tt);s[2]+=e,(0,_.projectBuffer)(s,n,0,s,a,0,1),t.center=s,this!==t&&(t.quaternion=this.getQuaternion(Ut),t.halfSize=this.getHalfSize(vt))}}}const Pt=(0,o.Ue)(),Ut=(0,o.Ue)(),xt=(0,o.Ue)(),Et=(0,c.Ue)(),St=(0,c.Ue)(),pt=(0,f.Ue)();function At(t,n=new gt){return function(t,n){const{data:a,size:e}=t,s=a.length/e;if(s<=0)return;const r=new ot(t);ut(E,r.minProj,r.maxProj),lt(E,E,.5),ft(S,r.maxProj,r.minProj);const i=ct(S),o=new ht;o.quality=i,s<14&&(t=new U.U(new Float64Array(r.buffer,112,42),3));const h=(0,c.Ue)(),u=(0,c.Ue)(),f=(0,c.Ue)(),l=(0,c.Ue)(),d=(0,c.Ue)(),M=(0,c.Ue)(),_=(0,c.Ue)();switch(p(r,t,_,h,u,f,l,d,M,o)){case 1:return void Y(E,S,n);case 2:return void $(t,l,n)}T(t,_,h,u,f,l,d,M,o),tt(t,o.b0,o.b1,o.b2,k,D);const m=(0,c.Ue)();ft(m,D,k),o.quality=ct(m),o.quality<i?it(o.b0,o.b1,o.b2,k,D,m,n):Y(E,S,n)}(t,n),n}const yt=[.1,.2,.3,.4,.5,.6,.7,.8,.9,1,1.1,1.2],It=(()=>{const t=new Int8Array(162);let n=0;const a=a=>{for(let e=0;e<a.length;e++)t[n+e]=a[e];n+=6};return a([6,2,3,1,5,4]),a([0,2,3,1,5,4]),a([0,2,3,7,5,4]),a([0,1,3,2,6,4]),a([0,1,3,2,0,0]),a([0,1,5,7,3,2]),a([0,1,3,7,6,4]),a([0,1,3,7,6,2]),a([0,1,5,7,6,2]),a([0,1,5,4,6,2]),a([0,1,5,4,0,0]),a([0,1,3,7,5,4]),a([0,2,6,4,0,0]),a([0,0,0,0,0,0]),a([1,3,7,5,0,0]),a([2,3,7,6,4,0]),a([2,3,7,6,0,0]),a([2,3,1,5,7,6]),a([0,1,5,7,6,2]),a([0,1,5,7,6,4]),a([0,1,3,7,6,4]),a([4,5,7,6,2,0]),a([4,5,7,6,0,0]),a([4,5,1,3,7,6]),a([0,2,3,7,5,4]),a([6,2,3,7,5,4]),a([6,2,3,1,5,4]),t})();function qt(t,n,a,e,s){const r=t.getQuaternion(Ut);s.quaternion=r,(0,i.Kx)(Pt,r);const o=t.getCenter(Tt),u=t.getHalfSize(vt);if(e===g.JY.Global){(0,h.r)(Ot,o,Pt),(0,h.u)(Bt,Ot),(0,h.w)(Gt,Bt,u),(0,h.x)(Gt,Bt,Gt);const e=(0,h.l)(Gt);(0,h.g)(Gt,Bt,u);const r=(0,h.l)(Gt);if(e<a)s.center=o,(0,h.s)(Ot,a,a,a),s.halfSize=(0,h.g)(Ot,u,Ot);else{const i=r>0?1+n/r:1,o=e>0?1+a/e:1,c=(o+i)/2,f=(o-i)/2;(0,h.i)(Gt,Bt,f),s.halfSize=(0,h.p)(Gt,Gt,u,c),(0,h.i)(Gt,Bt,c),(0,h.p)(Gt,Gt,u,f),(0,h.y)(Ot,Ot),(0,h.z)(Ot,Gt,Ot);const l=t.getQuaternion(xt);s.center=(0,h.r)(Ot,Ot,l)}}else{s.center=(0,h.p)(Ot,o,c.eG,(a+n)/2);const t=(0,h.r)(Ot,c.eG,Pt);(0,h.u)(t,t),s.halfSize=(0,h.p)(Bt,u,t,(a-n)/2)}return s}function Ct(t,n,a,s,r){const i=n.getQuaternion(Ut),o=(0,e.en)(Lt,i),h=n.getHalfSize(vt);for(let t=0;t<8;++t){for(let n=0;n<3;++n)Nt[n]=h[n]*(0!=(t&1<<n)?-1:1);for(let n=0;n<3;++n){let e=a[n];for(let t=0;t<3;++t)e+=Nt[t]*o[3*t+n];zt[3*t+n]=e}}(0,_.projectBuffer)(zt,t,0,zt,s,0,8),At(wt,r)}const zt=new Array(24),wt=new U.U(zt,3),Nt=(0,c.Ue)(),Tt=(0,c.Ue)(),Rt=(0,c.Ue)(),vt=(0,c.Ue)(),Lt=(0,s.Ue)(),Vt=(0,r.Ue)(),Ft=[[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0],[0,0,0]],Ot=(0,c.Ue)(),Bt=(0,c.Ue)(),Gt=(0,c.Ue)(),Qt=(0,c.al)(-1,-1,-1)},51417:(t,n,a)=>{a.d(n,{U:()=>e,a:()=>s});class e{constructor(t,n,a=n){this.data=t,this.size=n,this.stride=a}}class s extends e{constructor(t,n,a,e=!1,s=a){super(t,a,s),this.indices=n,this.exclusive=e}}},64822:(t,n,a)=>{var e;a.d(n,{JY:()=>e}),function(t){t[t.Global=1]="Global",t[t.Local=2]="Local"}(e||(e={}))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2859,5732],{84552:(e,t,r)=>{r.d(t,{Z:()=>c});var s=r(43697),i=r(2368),n=r(96674),o=r(35463),l=r(5600),a=(r(80442),r(92604),r(77734),r(36030)),u=r(52011),d=r(78981);let p=class extends((0,i.J)(n.wq)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,o.rJ)(this.value,this.unit,"milliseconds")}};(0,s._)([(0,a.J)(d.v,{nonNullable:!0})],p.prototype,"unit",void 0),(0,s._)([(0,l.Cb)({type:Number,json:{write:!0},nonNullable:!0})],p.prototype,"value",void 0),p=(0,s._)([(0,u.j)("esri.TimeInterval")],p);const c=p},5732:(e,t,r)=>{r.d(t,{c:()=>s,g:()=>i});var s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}},64830:(e,t,r)=>{r.d(t,{Z:()=>n});var s=r(58971),i=r(10661);class n{constructor(e=(e=>e.values().next().value)){this._peeker=e,this._observable=new i.s,this._items=new Set}get length(){return(0,s.it)(this._observable),this._items.size}clear(){0!==this.length&&(this._items.clear(),this._observable.notify())}last(){if(0===this.length)return;let e;for(e of this._items);return e}peek(){if(0!==this.length)return this._peeker(this._items)}push(e){this.contains(e)||(this._items.add(e),this._observable.notify())}contains(e){return(0,s.it)(this._observable),this._items.has(e)}pop(){if(0===this.length)return;const e=this.peek();return this._items.delete(e),this._observable.notify(),e}popLast(){if(0===this.length)return;const e=this.last();return this._items.delete(e),this._observable.notify(),e}remove(e){this.contains(e)&&(this._items.delete(e),this._observable.notify())}filter(e){const t=this.length;return this._items.forEach((t=>{e(t)||this._items.delete(t)})),t!==this._items.size&&this._observable.notify(),this}*[Symbol.iterator](){(0,s.it)(this._observable),yield*this._items}}},42033:(e,t,r)=>{async function s(e,t){const{WhereClause:s}=await Promise.all([r.e(8968),r.e(8592)]).then(r.bind(r,8968));return s.create(e,t)}function i(e,t){return null!=e&&""!==e?null!=t&&""!==t?`(${e}) AND (${t})`:e:t}r.d(t,{E:()=>s,_:()=>i})},1542:(e,t,r)=>{r.d(t,{A4:()=>n,L9:()=>o,yV:()=>i});var s=r(17126);class i{}function n(e){return e instanceof s.ld?e===i.instance:"unknown"===e?.toString().toLowerCase()}function o(e){return n(e)?i.instance:e}i.instance=new s.vF("Etc/UTC")},80903:(e,t,r)=>{r.d(t,{Z:()=>u});var s=r(50758),i=r(95330),n=r(64830),o=r(18948),l=r(49737),a=r(728);class u{constructor(){this._inUseClients=new Array,this._clients=new Array,this._clientPromises=new Array,this._ongoingJobsQueue=new n.Z}destroy(){this.close()}get closed(){return!this._clients?.length}open(e,t){return new Promise(((r,s)=>{let n=!0;const o=e=>{(0,i.k_)(t.signal),n&&(n=!1,e())};this._clients.length=e.length,this._clientPromises.length=e.length,this._inUseClients.length=e.length;for(let n=0;n<e.length;++n){const l=e[n];(0,i.y8)(l)?this._clientPromises[n]=l.then((e=>(this._clients[n]=new a.default(e,t,this._ongoingJobsQueue),o(r),this._clients[n])),(()=>(o(s),null))):(this._clients[n]=new a.default(l,t,this._ongoingJobsQueue),this._clientPromises[n]=Promise.resolve(this._clients[n]),o(r))}}))}broadcast(e,t,r){const s=new Array(this._clientPromises.length);for(let i=0;i<this._clientPromises.length;++i){const n=this._clientPromises[i];s[i]=n.then((s=>s?.invoke(e,t,r)))}return s}close(){let e;for(;e=this._ongoingJobsQueue.pop();)e.resolver.reject((0,i.zE)(`Worker closing, aborting job calling '${e.methodName}'`));for(const e of this._clientPromises)e.then((e=>e?.close()));this._clients.length=0,this._clientPromises.length=0,this._inUseClients.length=0,(0,o.E)(this)}invoke(e,t,r){return this.apply(e,[t],r)}apply(e,t,r){const s=(0,i.hh)();this._ongoingJobsQueue.push({methodName:e,data:t,invokeOptions:r,resolver:s});for(let e=0;e<this._clientPromises.length;e++){const t=this._clients[e];t?t.jobAdded():this._clientPromises[e].then((e=>e?.jobAdded()))}return s.promise}createInvokeProxy(e){return(0,l.D)(this,e)}on(e,t){return Promise.all(this._clientPromises).then((()=>(0,s.AL)(this._clients.map((r=>r.on(e,t))))))}openPorts(){return new Promise((e=>{const t=new Array(this._clientPromises.length);let r=t.length;for(let s=0;s<this._clientPromises.length;++s)this._clientPromises[s].then((i=>{i&&(t[s]=i.openPort()),0==--r&&e(t)}))}))}get test(){return{numClients:this._clients.length}}}},18948:(e,t,r)=>{r.d(t,{E:()=>n,z:()=>i});const s=new FinalizationRegistry((e=>{e.close()}));function i(e,t){s.register(e,t,t)}function n(e){s.unregister(e)}},56569:(e,t,r)=>{r.d(t,{bA:()=>U});var s=r(20102),i=r(80442),n=r(95330),o=r(80903),l=r(18948),a=r(728),u=r(92604),d=r(70586),p=r(3172),c=r(17452);const h={async request(e,t){const r=e.options,s=r.responseType;r.signal=t?.signal,r.responseType="native"===s||"native-request-init"===s?"native-request-init":s&&["blob","json","text"].includes(s)&&(0,c.oh)(e.url)?.after?s:"array-buffer";const i=await(0,p.Z)(e.url,r),n={data:i.data,httpStatus:i.httpStatus,ssl:i.ssl};switch(i.requestOptions?.responseType){case"native-request-init":return delete n.data.signal,n;case"blob":n.data=await n.data.arrayBuffer();break;case"json":n.data=(new TextEncoder).encode(JSON.stringify(n.data)).buffer;break;case"text":n.data=(new TextEncoder).encode(n.data).buffer}return{result:n,transferList:[n.data]}}};var y=r(94362),m=r(99880),f=r(68773),g=(r(2587),r(40330));const b={};var w=r(41213);class v{constructor(){const e=document.createDocumentFragment();["addEventListener","dispatchEvent","removeEventListener"].forEach((t=>{this[t]=(...r)=>e[t](...r)}))}}class _{constructor(){this._dispatcher=new v,this._workerPostMessage({type:y.MessageType.HANDSHAKE})}terminate(){}get onmessage(){return this._onmessageHandler}set onmessage(e){this._onmessageHandler&&this.removeEventListener("message",this._onmessageHandler),this._onmessageHandler=e,e&&this.addEventListener("message",e)}get onmessageerror(){return this._onmessageerrorHandler}set onmessageerror(e){this._onmessageerrorHandler&&this.removeEventListener("messageerror",this._onmessageerrorHandler),this._onmessageerrorHandler=e,e&&this.addEventListener("messageerror",e)}get onerror(){return this._onerrorHandler}set onerror(e){this._onerrorHandler&&this.removeEventListener("error",this._onerrorHandler),this._onerrorHandler=e,e&&this.addEventListener("error",e)}postMessage(e){(0,w.Y)((()=>{this._workerMessageHandler(new MessageEvent("message",{data:e}))}))}dispatchEvent(e){return this._dispatcher.dispatchEvent(e)}addEventListener(e,t,r){this._dispatcher.addEventListener(e,t,r)}removeEventListener(e,t,r){this._dispatcher.removeEventListener(e,t,r)}_workerPostMessage(e){(0,w.Y)((()=>{this.dispatchEvent(new MessageEvent("message",{data:e}))}))}async _workerMessageHandler(e){const t=(0,y.QM)(e);if(t&&t.type===y.MessageType.OPEN){const{modulePath:e,jobId:r}=t;let s=await a.default.loadWorker(e);s||(s=await import(e));const i=a.default.connect(s);this._workerPostMessage({type:y.MessageType.OPENED,jobId:r,data:i})}}}var F=r(70171),E=r(17202);const x=()=>u.Z.getLogger("esri.core.workers.workerFactory"),{HANDSHAKE:T}=y.MessageType;let S,C;const I="Failed to create Worker. Fallback to execute module in main thread";async function O(e){return new Promise((t=>{function r(i){const n=(0,y.QM)(i);n&&n.type===T&&(e.removeEventListener("message",r),e.removeEventListener("error",s),t(e))}function s(t){t.preventDefault(),e.removeEventListener("message",r),e.removeEventListener("error",s),x().warn("Failed to create Worker. Fallback to execute module in main thread",t),(e=new _).addEventListener("message",r),e.addEventListener("error",s)}e.addEventListener("message",r),e.addEventListener("error",s)}))}let N=0;const{ABORT:j,INVOKE:R,OPEN:k,OPENED:P,RESPONSE:Z}=y.MessageType;class M{static async create(e){const t=await async function(){if(!(0,i.Z)("esri-workers"))return O(new _);if(!S&&!C)try{const e='let globalId=0;const outgoing=new Map,configuration=JSON.parse("{CONFIGURATION}");self.esriConfig=configuration.esriConfig;const workerPath=self.esriConfig.workers.workerPath,HANDSHAKE=0,OPEN=1,OPENED=2,RESPONSE=3,INVOKE=4,ABORT=5;function createAbortError(){const e=new Error("Aborted");return e.name="AbortError",e}function receiveMessage(e){return e&&e.data?"string"==typeof e.data?JSON.parse(e.data):e.data:null}function invokeStaticMessage(e,o,r){const t=r&&r.signal,n=globalId++;return new Promise(((r,s)=>{if(t){if(t.aborted)return s(createAbortError());t.addEventListener("abort",(()=>{outgoing.get(n)&&(outgoing.delete(n),self.postMessage({type:ABORT,jobId:n}),s(createAbortError()))}))}outgoing.set(n,{resolve:r,reject:s}),self.postMessage({type:INVOKE,jobId:n,methodName:e,abortable:null!=t,data:o})}))}let workerRevisionChecked=!1;function checkWorkerRevision(e){if(!workerRevisionChecked&&e.kernelInfo){workerRevisionChecked=!0;const{revision:o,fullVersion:r}=configuration.kernelInfo,{revision:t,fullVersion:n,version:s}=e.kernelInfo;esriConfig.assetsPath!==esriConfig.defaultAssetsPath&&o!==t&&console.warn(`Version mismatch detected between ArcGIS Maps SDK for JavaScript modules and assets. For more information visit https://bit.ly/3QnsuSo.\\nModules version: ${r}\\nAssets version: ${n??s}\\nAssets path: ${esriConfig.assetsPath}`)}}function messageHandler(e){const o=receiveMessage(e);if(!o)return;const r=o.jobId;switch(o.type){case OPEN:let n;function t(e){const o=n.connect(e);self.postMessage({type:OPENED,jobId:r,data:o},[o])}"function"==typeof define&&define.amd?require([workerPath],(e=>{n=e.default||e,checkWorkerRevision(n),n.loadWorker(o.modulePath).then((e=>e||new Promise((e=>{require([o.modulePath],e)})))).then(t)})):"System"in self&&"function"==typeof System.import?System.import(workerPath).then((e=>(n=e.default,checkWorkerRevision(n),n.loadWorker(o.modulePath)))).then((e=>e||System.import(o.modulePath))).then(t):esriConfig.workers.useDynamicImport?import(workerPath).then((e=>{n=e.default||e,checkWorkerRevision(n),n.loadWorker(o.modulePath).then((e=>e||import(o.modulePath))).then(t)})):(self.RemoteClient||importScripts(workerPath),n=self.RemoteClient.default||self.RemoteClient,checkWorkerRevision(n),n.loadWorker(o.modulePath).then(t));break;case RESPONSE:if(outgoing.has(r)){const s=outgoing.get(r);outgoing.delete(r),o.error?s.reject(JSON.parse(o.error)):s.resolve(o.data)}}}self.dojoConfig=configuration.loaderConfig,esriConfig.workers.loaderUrl&&(self.importScripts(esriConfig.workers.loaderUrl),"function"==typeof require&&"function"==typeof require.config&&require.config(configuration.loaderConfig)),self.addEventListener("message",messageHandler),self.postMessage({type:0});'.split('"{CONFIGURATION}"').join(`'${function(){let e;if(null!=f.default.default){const t={...f.default};delete t.default,e=JSON.parse(JSON.stringify(t))}else e=JSON.parse(JSON.stringify(f.default));e.assetsPath=(0,c.hF)(e.assetsPath),e.defaultAssetsPath=e.defaultAssetsPath?(0,c.hF)(e.defaultAssetsPath):void 0,e.request.interceptors=[],e.log.interceptors=[],e.locale=(0,F.Kd)(),e.has={"esri-csp-restrictions":(0,i.Z)("esri-csp-restrictions"),"esri-2d-debug":!1,"esri-2d-update-debug":(0,i.Z)("esri-2d-update-debug"),"esri-2d-log-updating":(0,i.Z)("esri-2d-log-updating"),"featurelayer-pbf":(0,i.Z)("featurelayer-pbf"),"featurelayer-fast-triangulation-enabled":(0,i.Z)("featurelayer-fast-triangulation-enabled"),"featurelayer-simplify-thresholds":(0,i.Z)("featurelayer-simplify-thresholds"),"featurelayer-simplify-payload-size-factors":(0,i.Z)("featurelayer-simplify-payload-size-factors"),"featurelayer-simplify-mobile-factor":(0,i.Z)("featurelayer-simplify-mobile-factor"),"featurelayer-query-max-depth":(0,i.Z)("featurelayer-query-max-depth"),"featurelayer-query-pausing-enabled":(0,i.Z)("featurelayer-query-pausing-enabled"),"featurelayer-snapshot-enabled":(0,i.Z)("featurelayer-snapshot-enabled"),"esri-atomics":(0,i.Z)("esri-atomics"),"esri-shared-array-buffer":(0,i.Z)("esri-shared-array-buffer"),"esri-tiles-debug":(0,i.Z)("esri-tiles-debug"),"esri-workers-arraybuffer-transfer":(0,i.Z)("esri-workers-arraybuffer-transfer"),"feature-polyline-generalization-factor":(0,i.Z)("feature-polyline-generalization-factor"),"host-webworker":1},e.workers.loaderUrl&&(e.workers.loaderUrl=(0,c.hF)(e.workers.loaderUrl)),e.workers.workerPath?e.workers.workerPath=(0,c.hF)(e.workers.workerPath):e.workers.workerPath=(0,c.hF)((0,m.V)("esri/core/workers/RemoteClient.js")),e.workers.useDynamicImport=!1;const t=f.default.workers.loaderConfig,r=function(e){const t={async:e.async,isDebug:e.isDebug,locale:e.locale,baseUrl:e.baseUrl,has:{...e.has},map:{...e.map},packages:e.packages?.concat()||[],paths:{...e.paths}};return e.hasOwnProperty("async")||(t.async=!0),e.hasOwnProperty("isDebug")||(t.isDebug=!1),e.baseUrl||(t.baseUrl=b.baseUrl),t}({baseUrl:t?.baseUrl,locale:(0,F.Kd)(),has:{"csp-restrictions":1,"dojo-test-sniff":0,"host-webworker":1,...t?.has},map:{...t?.map},paths:{...t?.paths},packages:t?.packages||[]}),s={buildDate:E.r,fullVersion:g.bR,revision:E.$};return JSON.stringify({esriConfig:e,loaderConfig:r,kernelInfo:s})}()}'`);S=URL.createObjectURL(new Blob([e],{type:"text/javascript"}))}catch(e){C=e||{}}let e;if(S)try{e=new Worker(S,{name:"esri-worker-"+N++})}catch(t){x().warn(I,C),e=new _}else x().warn(I,C),e=new _;return O(e)}();return new M(t,e)}constructor(e,t){this._outJobs=new Map,this._inJobs=new Map,this.worker=e,this.id=t,e.addEventListener("message",this._onMessage.bind(this)),e.addEventListener("error",(e=>{e.preventDefault(),u.Z.getLogger("esri.core.workers.WorkerOwner").error(e)}))}terminate(){this.worker.terminate()}async open(e,t={}){const{signal:r}=t,s=(0,y.jt)();return new Promise(((t,i)=>{const o={resolve:t,reject:i,abortHandle:(0,n.$F)(r,(()=>{this._outJobs.delete(s),this._post({type:j,jobId:s})}))};this._outJobs.set(s,o),this._post({type:k,jobId:s,modulePath:e})}))}_onMessage(e){const t=(0,y.QM)(e);if(t)switch(t.type){case P:this._onOpenedMessage(t);break;case Z:this._onResponseMessage(t);break;case j:this._onAbortMessage(t);break;case R:this._onInvokeMessage(t)}}_onAbortMessage(e){const t=this._inJobs,r=e.jobId,s=t.get(r);s&&(s.controller&&s.controller.abort(),t.delete(r))}_onInvokeMessage(e){const{methodName:t,jobId:r,data:s,abortable:i}=e,o=i?new AbortController:null,l=this._inJobs,a=h[t];let u;try{if("function"!=typeof a)throw new TypeError(`${t} is not a function`);u=a.call(null,s,{signal:o?o.signal:null})}catch(e){return void this._post({type:Z,jobId:r,error:(0,y.AB)(e)})}(0,n.y8)(u)?(l.set(r,{controller:o,promise:u}),u.then((e=>{l.has(r)&&(l.delete(r),this._post({type:Z,jobId:r},e))}),(e=>{l.has(r)&&(l.delete(r),e||(e={message:"Error encountered at method"+t}),(0,n.D_)(e)||this._post({type:Z,jobId:r,error:(0,y.AB)(e||{message:`Error encountered at method ${t}`})}))}))):this._post({type:Z,jobId:r},u)}_onOpenedMessage(e){const{jobId:t,data:r}=e,s=this._outJobs.get(t);s&&(this._outJobs.delete(t),(0,d.hw)(s.abortHandle),s.resolve(r))}_onResponseMessage(e){const{jobId:t,error:r,data:i}=e,n=this._outJobs.get(t);n&&(this._outJobs.delete(t),(0,d.hw)(n.abortHandle),r?n.reject(s.Z.fromJSON(JSON.parse(r))):n.resolve(i))}_post(e,t,r){return(0,y.oi)(this.worker,e,t,r)}}const J=(0,i.Z)("host-browser")?Math.min(navigator.hardwareConcurrency-1,(0,i.Z)("workers-pool-size")):0;let A=(0,i.Z)("esri-mobile")?Math.min(J,3):J;A||(A=(0,i.Z)("safari")&&(0,i.Z)("mac")?7:2);let q=0;const D=[];async function L(e,t){const r=new o.Z,{registryTarget:s,...i}=t;return await r.open(e,i),s&&(0,l.z)(s,r),r}async function U(e,t={}){if("string"!=typeof e)throw new s.Z("workers:undefined-module","modulePath is missing");let r=t.strategy||"distributed";if((0,i.Z)("host-webworker")&&!(0,i.Z)("esri-workers")&&(r="local"),"local"===r){let r=await a.default.loadWorker(e);r||(r=await import(e)),(0,n.k_)(t.signal);const s=t.client||r;return L([a.default.connect(r)],{...t,client:s})}if(await async function(){if(z)return z;V=new AbortController;const e=[];for(let t=0;t<A;t++){const r=M.create(t).then((e=>(D[t]=e,e)));e.push(r)}return z=Promise.all(e),z}(),(0,n.k_)(t.signal),"dedicated"===r){const r=q++%A;return L([await D[r].open(e,t)],t)}if(t.maxNumWorkers&&t.maxNumWorkers>0){const r=Math.min(t.maxNumWorkers,A);if(r<A){const s=new Array(r);for(let i=0;i<r;++i){const r=q++%A;s[i]=D[r].open(e,t)}return L(s,t)}}return L(D.map((r=>r.open(e,t))),t)}let V,z=null},60437:(e,t,r)=>{r.d(t,{G_:()=>b,HH:()=>o,JR:()=>y,TC:()=>l,Tn:()=>p,Ue:()=>i,al:()=>n,bZ:()=>m,cS:()=>h,dp:()=>u,fS:()=>g,is:()=>f,op:()=>d,pp:()=>a,t8:()=>c});var s=r(6570);function i(e=w){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function n(e,t,r,s,n,o,l=i()){return l[0]=e,l[1]=t,l[2]=r,l[3]=s,l[4]=n,l[5]=o,l}function o(e,t){const r=isFinite(e[2])||isFinite(e[5]);return new s.Z(r?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function l(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function a(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function u(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function d(e,t,r=e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r!==e&&(r[3]=e[3],r[4]=e[4],r[5]=e[5]),r}function p(e,t,r=e){return r[3]=t[0],r[4]=t[1],r[5]=t[2],r!==e&&(r[0]=e[0],r[1]=e[1],r[2]=e[2]),e}function c(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function h(e){return e?c(e,b):i(b)}function y(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function m(e,t,r,s,i){return e[0]=t,e[1]=r,e[2]=Number.NEGATIVE_INFINITY,e[3]=s,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function f(e){return 6===e.length}function g(e,t,r){if(null==e||null==t)return e===t;if(!f(e)||!f(t))return!1;if(r){for(let s=0;s<e.length;s++)if(!r(e[s],t[s]))return!1}else for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}r(24470);const b=[1/0,1/0,1/0,-1/0,-1/0,-1/0],w=[0,0,0,0,0,0];i()},23477:(e,t,r)=>{r.r(t),r.d(t,{default:()=>G});var s=r(43697),i=(r(66577),r(51773)),n=(r(16050),r(93348),r(28756),r(92271),r(72529),r(5499),r(84382),r(81571),r(91423),r(32400)),o=r(16453),l=r(95330),a=r(17452),u=r(5600),d=r(80442),p=r(92604),c=(r(77734),r(52011)),h=r(86973),y=r(87085),m=r(20102),f=r(83379),g=r(56569),b=r(25278),w=r(74889),v=r(6570),_=r(38913);let F=class extends f.Z{constructor(){super(...arguments),this.type="geojson",this.refresh=(0,l.Ds)((async e=>{await this.load();const{extent:t,timeExtent:r}=await this._connection.invoke("refresh",e);return this.sourceJSON.extent=t,r&&(this.sourceJSON.timeInfo.timeExtent=[r.start,r.end]),{dataChanged:!0,updates:{extent:this.sourceJSON.extent,timeInfo:this.sourceJSON.timeInfo}}}))}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this._startWorker(t)),Promise.resolve(this)}destroy(){this._connection?.close(),this._connection=null}applyEdits(e){return this.load().then((()=>this._applyEdits(e)))}openPorts(){return this.load().then((()=>this._connection.openPorts()))}queryFeatures(e,t={}){return this.load(t).then((()=>this._connection.invoke("queryFeatures",e?e.toJSON():null,t))).then((e=>w.Z.fromJSON(e)))}queryFeaturesJSON(e,t={}){return this.load(t).then((()=>this._connection.invoke("queryFeatures",e?e.toJSON():null,t)))}queryFeatureCount(e,t={}){return this.load(t).then((()=>this._connection.invoke("queryFeatureCount",e?e.toJSON():null,t)))}queryObjectIds(e,t={}){return this.load(t).then((()=>this._connection.invoke("queryObjectIds",e?e.toJSON():null,t)))}queryExtent(e,t={}){return this.load(t).then((()=>this._connection.invoke("queryExtent",e?e.toJSON():null,t))).then((e=>({count:e.count,extent:v.Z.fromJSON(e.extent)})))}querySnapping(e,t={}){return this.load(t).then((()=>this._connection.invoke("querySnapping",e,t)))}_applyEdits(e){if(!this._connection)throw new m.Z("geojson-layer-source:edit-failure","Memory source not loaded");const t=this.layer.objectIdField,r=[],s=[],i=[];if(e.addFeatures)for(const t of e.addFeatures)r.push(this._serializeFeature(t));if(e.deleteFeatures)for(const r of e.deleteFeatures)"objectId"in r&&null!=r.objectId?s.push(r.objectId):"attributes"in r&&null!=r.attributes[t]&&s.push(r.attributes[t]);if(e.updateFeatures)for(const t of e.updateFeatures)i.push(this._serializeFeature(t));return this._connection.invoke("applyEdits",{adds:r,updates:i,deletes:s}).then((({extent:e,timeExtent:t,featureEditResults:r})=>(this.sourceJSON.extent=e,t&&(this.sourceJSON.timeInfo.timeExtent=[t.start,t.end]),this._createEditsResult(r))))}_createEditsResult(e){return{addFeatureResults:e.addResults?e.addResults.map(this._createFeatureEditResult,this):[],updateFeatureResults:e.updateResults?e.updateResults.map(this._createFeatureEditResult,this):[],deleteFeatureResults:e.deleteResults?e.deleteResults.map(this._createFeatureEditResult,this):[],addAttachmentResults:[],updateAttachmentResults:[],deleteAttachmentResults:[]}}_createFeatureEditResult(e){const t=!0===e.success?null:e.error||{code:void 0,description:void 0};return{objectId:e.objectId,globalId:e.globalId,error:t?new m.Z("geojson-layer-source:edit-failure",t.description,{code:t.code}):null}}_serializeFeature(e){const{attributes:t}=e,r=this._geometryForSerialization(e);return r?{geometry:r.toJSON(),attributes:t}:{attributes:t}}_geometryForSerialization(e){const{geometry:t}=e;return null==t?null:"mesh"===t.type||"extent"===t.type?_.Z.fromExtent(t.extent):t}async _startWorker(e){this._connection=await(0,g.bA)("GeoJSONSourceWorker",{strategy:(0,d.Z)("feature-layers-workers")?"dedicated":"local",signal:e,registryTarget:this});const{fields:t,spatialReference:r,hasZ:s,geometryType:i,objectIdField:n,url:o,timeInfo:l,customParameters:a}=this.layer,u="defaults"===this.layer.originOf("spatialReference"),c={url:o,customParameters:a,fields:t&&t.map((e=>e.toJSON())),geometryType:h.M.toJSON(i),hasZ:s,objectIdField:n,timeInfo:l?l.toJSON():null,spatialReference:u?null:r&&r.toJSON()},y=await this._connection.invoke("load",c,{signal:e});for(const e of y.warnings)p.Z.getLogger(this.layer).warn("#load()",`$${e.message} (title: '${this.layer.title||"no title"}', id: '${this.layer.id??"no id"}')`,{warning:e});y.featureErrors.length&&p.Z.getLogger(this.layer).warn("#load()",`Encountered ${y.featureErrors.length} validation errors while loading features. (title: '${this.layer.title||"no title"}', id: '${this.layer.id??"no id"}')`,{errors:y.featureErrors}),this.sourceJSON=y.layerDefinition,this.capabilities=(0,b.MS)(this.sourceJSON.hasZ,!0)}};(0,s._)([(0,u.Cb)()],F.prototype,"capabilities",void 0),(0,s._)([(0,u.Cb)()],F.prototype,"type",void 0),(0,s._)([(0,u.Cb)({constructOnly:!0})],F.prototype,"layer",void 0),(0,s._)([(0,u.Cb)()],F.prototype,"sourceJSON",void 0),F=(0,s._)([(0,c.j)("esri.layers.graphics.sources.GeoJSONSource")],F);var E=r(71612),x=r(17017),T=r(69637),S=r(55755),C=r(38009),I=r(68825),O=r(16859),N=r(34760),j=r(72965),R=r(28294),k=r(21506),P=r(70082),Z=r(1231),M=r(53518),J=r(73012),A=r(1523),q=r(30707),D=r(14165),L=r(32163),U=r(25031),V=r(82971);const z=(0,M.v)();let B=class extends((0,I.c)((0,x.N)((0,S.M)((0,T.b)((0,E.h)((0,R.n)((0,j.M)((0,N.Q)((0,C.q)((0,O.I)((0,o.R)(y.Z)))))))))))){constructor(e){super(e),this.copyright=null,this.dateFieldsTimeZone=null,this.definitionExpression=null,this.displayField=null,this.editingEnabled=!1,this.elevationInfo=null,this.fields=null,this.fieldsIndex=null,this.fullExtent=null,this.geometryType=null,this.hasZ=void 0,this.labelsVisible=!0,this.labelingInfo=null,this.legendEnabled=!0,this.objectIdField=null,this.operationalLayerType="GeoJSON",this.popupEnabled=!0,this.popupTemplate=null,this.screenSizePerspectiveEnabled=!0,this.source=new F({layer:this}),this.spatialReference=V.Z.WGS84,this.templates=null,this.title="GeoJSON",this.type="geojson"}destroy(){this.source?.destroy()}load(e){const t=this.loadFromPortal({supportedTypes:["GeoJson"],supportsData:!1},e).catch(l.r9).then((()=>this.source.load(e))).then((()=>{this.read(this.source.sourceJSON,{origin:"service",url:this.parsedUrl}),this.revert(["objectIdField","fields","timeInfo"],"service"),(0,J.YN)(this.renderer,this.fieldsIndex),(0,J.UF)(this.timeInfo,this.fieldsIndex)}));return this.addResolvingPromise(t),Promise.resolve(this)}get capabilities(){return this.source?this.source.capabilities:null}get createQueryVersion(){return this.commitProperty("definitionExpression"),this.commitProperty("timeExtent"),this.commitProperty("timeOffset"),this.commitProperty("geometryType"),this.commitProperty("capabilities"),(this._get("createQueryVersion")||0)+1}get defaultPopupTemplate(){return this.createPopupTemplate()}get isTable(){return this.loaded&&null==this.geometryType}get parsedUrl(){return this.url?(0,a.mN)(this.url):null}set renderer(e){(0,J.YN)(e,this.fieldsIndex),this._set("renderer",e)}set url(e){if(!e)return void this._set("url",e);const t=(0,a.mN)(e);this._set("url",t.path),t.query&&(this.customParameters={...this.customParameters,...t.query})}async applyEdits(e,t){const{applyEdits:s}=await r.e(4720).then(r.bind(r,14720));await this.load();const i=await s(this,this.source,e,t);return this.read({extent:this.source.sourceJSON.extent,timeInfo:this.source.sourceJSON.timeInfo},{origin:"service",ignoreDefaults:!0}),i}on(e,t){return super.on(e,t)}createPopupTemplate(e){return(0,L.eZ)(this,e)}createQuery(){const e=new D.Z,t=this.capabilities?.data;e.returnGeometry=!0,t&&t.supportsZ&&(e.returnZ=!0),e.outFields=["*"],e.where=this.definitionExpression||"1=1";const{timeOffset:r,timeExtent:s}=this;return e.timeExtent=null!=r&&null!=s?s.offset(-r.value,r.unit):s||null,e}getFieldDomain(e,t){return this.getField(e)?.domain}getField(e){return this.fieldsIndex.get(e)}queryFeatures(e,t){return this.load().then((()=>this.source.queryFeatures(D.Z.from(e)||this.createQuery(),t))).then((e=>{if(e?.features)for(const t of e.features)t.layer=t.sourceLayer=this;return e}))}queryObjectIds(e,t){return this.load().then((()=>this.source.queryObjectIds(D.Z.from(e)||this.createQuery(),t)))}queryFeatureCount(e,t){return this.load().then((()=>this.source.queryFeatureCount(D.Z.from(e)||this.createQuery(),t)))}queryExtent(e,t){return this.load().then((()=>this.source.queryExtent(D.Z.from(e)||this.createQuery(),t)))}async hasDataChanged(){try{const{dataChanged:e,updates:t}=await this.source.refresh(this.customParameters);return null!=t&&this.read(t,{origin:"service",url:this.parsedUrl,ignoreDefaults:!0}),e}catch{}return!1}};(0,s._)([(0,u.Cb)({readOnly:!0,json:{read:!1,write:!1}})],B.prototype,"capabilities",null),(0,s._)([(0,u.Cb)({type:String})],B.prototype,"copyright",void 0),(0,s._)([(0,u.Cb)({readOnly:!0})],B.prototype,"createQueryVersion",null),(0,s._)([(0,u.Cb)((0,U.mi)("dateFieldsTimeReference"))],B.prototype,"dateFieldsTimeZone",void 0),(0,s._)([(0,u.Cb)({readOnly:!0})],B.prototype,"defaultPopupTemplate",null),(0,s._)([(0,u.Cb)({type:String,json:{name:"layerDefinition.definitionExpression",write:{enabled:!0,allowNull:!0}}})],B.prototype,"definitionExpression",void 0),(0,s._)([(0,u.Cb)({type:String})],B.prototype,"displayField",void 0),(0,s._)([(0,u.Cb)({type:Boolean})],B.prototype,"editingEnabled",void 0),(0,s._)([(0,u.Cb)(k.PV)],B.prototype,"elevationInfo",void 0),(0,s._)([(0,u.Cb)({type:[Z.Z],json:{name:"layerDefinition.fields",write:{ignoreOrigin:!0,isRequired:!0},origins:{service:{name:"fields"}}}})],B.prototype,"fields",void 0),(0,s._)([(0,u.Cb)(z.fieldsIndex)],B.prototype,"fieldsIndex",void 0),(0,s._)([(0,u.Cb)({type:v.Z,json:{name:"extent"}})],B.prototype,"fullExtent",void 0),(0,s._)([(0,u.Cb)({type:["point","polygon","polyline","multipoint"],json:{read:{reader:h.M.read}}})],B.prototype,"geometryType",void 0),(0,s._)([(0,u.Cb)({type:Boolean})],B.prototype,"hasZ",void 0),(0,s._)([(0,u.Cb)(k.id)],B.prototype,"id",void 0),(0,s._)([(0,u.Cb)({type:Boolean,readOnly:!0})],B.prototype,"isTable",null),(0,s._)([(0,u.Cb)(k.iR)],B.prototype,"labelsVisible",void 0),(0,s._)([(0,u.Cb)({type:[A.Z],json:{name:"layerDefinition.drawingInfo.labelingInfo",read:{reader:q.r},write:!0}})],B.prototype,"labelingInfo",void 0),(0,s._)([(0,u.Cb)(k.rn)],B.prototype,"legendEnabled",void 0),(0,s._)([(0,u.Cb)({type:["show","hide"]})],B.prototype,"listMode",void 0),(0,s._)([(0,u.Cb)({type:String,json:{name:"layerDefinition.objectIdField",write:{ignoreOrigin:!0,isRequired:!0},origins:{service:{name:"objectIdField"}}}})],B.prototype,"objectIdField",void 0),(0,s._)([(0,u.Cb)(k.Oh)],B.prototype,"opacity",void 0),(0,s._)([(0,u.Cb)({type:["GeoJSON"]})],B.prototype,"operationalLayerType",void 0),(0,s._)([(0,u.Cb)({readOnly:!0})],B.prototype,"parsedUrl",null),(0,s._)([(0,u.Cb)(k.C_)],B.prototype,"popupEnabled",void 0),(0,s._)([(0,u.Cb)({type:i.Z,json:{name:"popupInfo",write:!0}})],B.prototype,"popupTemplate",void 0),(0,s._)([(0,u.Cb)({types:n.A,json:{name:"layerDefinition.drawingInfo.renderer",write:!0,origins:{service:{name:"drawingInfo.renderer"},"web-scene":{types:n.o}}}})],B.prototype,"renderer",null),(0,s._)([(0,u.Cb)(k.YI)],B.prototype,"screenSizePerspectiveEnabled",void 0),(0,s._)([(0,u.Cb)({readOnly:!0})],B.prototype,"source",void 0),(0,s._)([(0,u.Cb)({type:V.Z})],B.prototype,"spatialReference",void 0),(0,s._)([(0,u.Cb)({type:[P.Z]})],B.prototype,"templates",void 0),(0,s._)([(0,u.Cb)()],B.prototype,"title",void 0),(0,s._)([(0,u.Cb)({json:{read:!1},readOnly:!0})],B.prototype,"type",void 0),(0,s._)([(0,u.Cb)(k.HQ)],B.prototype,"url",null),B=(0,s._)([(0,c.j)("esri.layers.GeoJSONLayer")],B);const G=B},5428:(e,t,r)=>{r.d(t,{Z:()=>s});class s{constructor(e=[],t=[],r=!1){this.lengths=e??[],this.coords=t??[],this.hasIndeterminateRingOrder=r}static fromRect(e){const[t,r,i,n]=e,o=i-t,l=n-r;return new s([5],[t,r,o,0,0,l,-o,0,0,-l])}get isPoint(){return 0===this.lengths.length}get maxLength(){return Math.max(...this.lengths)}get size(){return this.lengths.reduce(((e,t)=>e+t))}forEachVertex(e){let t=0;this.lengths.length||e(this.coords[0],this.coords[1]);for(let r=0;r<this.lengths.length;r++){const s=this.lengths[r];for(let r=0;r<s;r++)e(this.coords[2*(r+t)],this.coords[2*(r+t)+1]);t+=s}}deltaDecode(){const e=this.clone(),{coords:t,lengths:r}=e;let s=0;for(const e of r){for(let r=1;r<e;r++)t[2*(s+r)]+=t[2*(s+r)-2],t[2*(s+r)+1]+=t[2*(s+r)-1];s+=e}return e}clone(e){if(0===this.lengths.length)return new s([],[this.coords[0],this.coords[1]]);const t=2*(0===this.lengths.length?1:this.lengths.reduce(((e,t)=>e+t))),r=this.coords.slice(0,t);return e?(e.set(r),new s(this.lengths,e,this.hasIndeterminateRingOrder)):new s(Array.from(this.lengths),Array.from(r),this.hasIndeterminateRingOrder)}}},61159:(e,t,r)=>{r.d(t,{g:()=>s});const s={supportsStatistics:!0,supportsPercentileStatistics:!0,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsCentroid:!0,supportsCacheHint:!1,supportsDistance:!0,supportsDistinct:!0,supportsExtent:!0,supportsGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsQuantization:!0,supportsQuantizationEditMode:!1,supportsQueryGeometry:!0,supportsResultType:!1,supportsSqlExpression:!0,supportsMaxRecordCountFactor:!1,supportsStandardizedQueriesOnly:!0,supportsTopFeaturesQuery:!1,supportsQueryByAnonymous:!0,supportsQueryByOthers:!0,supportsHistoricMoment:!1,supportsFormatPBF:!1,supportsDisjointSpatialRelationship:!0,supportsDefaultSpatialReference:!1,supportsFullTextSearch:!1,supportsCompactGeometry:!1,maxRecordCountFactor:void 0,maxRecordCount:void 0,standardMaxRecordCount:void 0,tileMaxRecordCount:void 0}},25278:(e,t,r)=>{r.d(t,{Dm:()=>d,Hq:()=>p,MS:()=>c,bU:()=>l});var s=r(80442),i=r(22974),n=r(61159),o=r(58333);function l(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?o.I4:"esriGeometryPolyline"===e?o.ET:o.lF}}}const a=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let u=1;function d(e,t){if((0,s.Z)("esri-csp-restrictions"))return()=>({[t]:null,...e});try{let r=`this.${t} = null;`;for(const t in e)r+=`this${a.test(t)?`.${t}`:`["${t}"]`} = ${JSON.stringify(e[t])};`;const s=new Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${r};\n }\n }\n `)();return()=>new s}catch(r){return()=>({[t]:null,...e})}}function p(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,i.d9)(e)}}]}function c(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,supportsAttachment:!1,supportsM:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:n.g,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},69637:(e,t,r)=>{r.d(t,{b:()=>C});var s,i=r(43697),n=r(5600),o=(r(80442),r(92604),r(77734),r(52011)),l=r(20102),a=r(96674),u=r(78286),d=r(72746),p=r(66577),c=r(92835),h=r(35454),y=r(22974),m=r(14165);const f=new h.X({esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"envelope-intersects",esriSpatialRelIndexIntersects:"index-intersects",esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:"relation"}),g=new h.X({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let b=s=class extends a.wq{constructor(e){super(e),this.where=null,this.geometry=null,this.spatialRelationship="intersects",this.distance=void 0,this.objectIds=null,this.units=null,this.timeExtent=null}createQuery(e={}){const{where:t,geometry:r,spatialRelationship:s,timeExtent:i,objectIds:n,units:o,distance:l}=this;return new m.Z({geometry:(0,y.d9)(r),objectIds:(0,y.d9)(n),spatialRelationship:s,timeExtent:(0,y.d9)(i),where:t,units:o,distance:l,...e})}clone(){const{where:e,geometry:t,spatialRelationship:r,timeExtent:i,objectIds:n,units:o,distance:l}=this;return new s({geometry:(0,y.d9)(t),objectIds:(0,y.d9)(n),spatialRelationship:r,timeExtent:(0,y.d9)(i),where:e,units:o,distance:l})}};(0,i._)([(0,n.Cb)({type:String,json:{write:!0}})],b.prototype,"where",void 0),(0,i._)([(0,n.Cb)({types:p.qM,json:{write:!0}})],b.prototype,"geometry",void 0),(0,i._)([(0,n.Cb)({type:f.apiValues,json:{name:"spatialRel",read:{reader:f.read},write:{allowNull:!1,writer:f.write,overridePolicy(){return{enabled:null!=this.geometry}}}}})],b.prototype,"spatialRelationship",void 0),(0,i._)([(0,n.Cb)({type:Number,json:{write:{overridePolicy(e){return{enabled:null!=e&&null!=this.geometry}}}}})],b.prototype,"distance",void 0),(0,i._)([(0,n.Cb)({type:[Number],json:{write:!0}})],b.prototype,"objectIds",void 0),(0,i._)([(0,n.Cb)({type:g.apiValues,json:{read:g.read,write:{writer:g.write,overridePolicy(e){return{enabled:null!=e&&null!=this.geometry}}}}})],b.prototype,"units",void 0),(0,i._)([(0,n.Cb)({type:c.Z,json:{write:!0}})],b.prototype,"timeExtent",void 0),b=s=(0,i._)([(0,o.j)("esri.layers.support.FeatureFilter")],b);const w=b;var v;const _={read:{reader:d.ij},write:{writer:d.cW,overridePolicy(){return{allowNull:null!=this.excludedEffect,isRequired:null==this.excludedEffect}}}},F={read:{reader:d.ij},write:{writer:d.cW,overridePolicy(){return{allowNull:null!=this.includedEffect,isRequired:null==this.includedEffect}}}},E={name:"showExcludedLabels",default:!0};let x=v=class extends a.wq{constructor(e){super(e),this.filter=null,this.includedEffect=null,this.excludedEffect=null,this.excludedLabelsVisible=!1}write(e,t){const r=super.write(e,t);if(t?.origin){if(r.filter){const e=Object.keys(r.filter);if(e.length>1||"where"!==e[0])return t.messages?.push(new l.Z("web-document-write:unsupported-feature-effect","Invalid feature effect 'filter'. A filter can only contain a 'where' property",{layer:t.layer,effect:this})),null}if("showExcludedLabels"in r)return t.messages?.push(new l.Z("web-document-write:unsupported-feature-effect","Invalid value for property 'excludedLabelsVisible' which should always be 'true'",{layer:t.layer,effect:this})),null}return r}clone(){return new v({filter:null!=this.filter?this.filter.clone():null,includedEffect:this.includedEffect,excludedEffect:this.excludedEffect,excludedLabelsVisible:this.excludedLabelsVisible})}};(0,i._)([(0,n.Cb)({type:w,json:{write:{allowNull:!0,writer(e,t,r,s){const i=e?.write({},s);i&&0!==Object.keys(i).length?(0,u.RB)(r,i,t):(0,u.RB)(r,null,t)}}}})],x.prototype,"filter",void 0),(0,i._)([(0,n.Cb)({json:{write:!0,origins:{"web-map":_,"portal-item":_}}})],x.prototype,"includedEffect",void 0),(0,i._)([(0,n.Cb)({json:{write:!0,origins:{"web-map":F,"portal-item":F}}})],x.prototype,"excludedEffect",void 0),(0,i._)([(0,n.Cb)({type:Boolean,json:{write:!0,name:"showExcludedLabels",origins:{"web-map":E,"portal-item":E}}})],x.prototype,"excludedLabelsVisible",void 0),x=v=(0,i._)([(0,o.j)("esri.layers.support.FeatureEffect")],x);const T=x,S={write:{allowNull:!0}},C=e=>{let t=class extends e{constructor(){super(...arguments),this.featureEffect=null}};return(0,i._)([(0,n.Cb)({type:T,json:{origins:{"web-map":S,"portal-item":S}}})],t.prototype,"featureEffect",void 0),t=(0,i._)([(0,o.j)("esri.layers.mixins.FeatureEffectLayer")],t),t}},68825:(e,t,r)=>{r.d(t,{c:()=>m});var s,i=r(43697),n=r(78286),o=r(5600),l=(r(80442),r(92604),r(77734),r(52011)),a=r(35454),u=r(96674);const d=new a.X({asc:"ascending",desc:"descending"});let p=s=class extends u.wq{constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new s({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,i._)([(0,o.Cb)({type:String,json:{write:!0}})],p.prototype,"field",void 0),(0,i._)([(0,o.Cb)({type:String,json:{write:!0}})],p.prototype,"valueExpression",void 0),(0,i._)([(0,o.Cb)({type:d.apiValues,json:{read:d.read,write:d.write}})],p.prototype,"order",void 0),p=s=(0,i._)([(0,l.j)("esri.layers.support.OrderByInfo")],p);const c=p;function h(e,t,r){if(!e)return null;const s=e.find((e=>!!e.field));if(!s)return null;const i=new c;return i.read(s,r),[i]}function y(e,t,r,s){const i=e.find((e=>!!e.field));i&&(0,n.RB)(r,[i.toJSON()],t)}const m=e=>{let t=class extends e{constructor(){super(...arguments),this.orderBy=null}};return(0,i._)([(0,o.Cb)({type:[c],json:{origins:{"web-scene":{write:!1,read:!1}},read:{source:"layerDefinition.orderBy",reader:h},write:{target:"layerDefinition.orderBy",writer:y}}})],t.prototype,"orderBy",void 0),t=(0,i._)([(0,l.j)("esri.layers.mixins.OrderedLayer")],t),t}},28294:(e,t,r)=>{r.d(t,{n:()=>c});var s=r(43697),i=r(92835),n=r(84552),o=r(5600),l=(r(80442),r(92604),r(77734),r(71715)),a=r(52011),u=r(73012),d=r(76259),p=r(78981);const c=e=>{let t=class extends e{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const r=t.timeInfo.exportOptions;if(!r)return null;const s=r.timeOffset,i=p.v.fromJSON(r.timeOffsetUnits);return s&&i?new n.Z({value:s,unit:i}):null}set timeInfo(e){(0,u.UF)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,s._)([(0,o.Cb)({type:i.Z,json:{write:!1}})],t.prototype,"timeExtent",void 0),(0,s._)([(0,o.Cb)({type:n.Z})],t.prototype,"timeOffset",void 0),(0,s._)([(0,l.r)("service","timeOffset",["timeInfo.exportOptions"])],t.prototype,"readOffset",null),(0,s._)([(0,o.Cb)({value:null,type:d.Z,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],t.prototype,"timeInfo",null),(0,s._)([(0,o.Cb)({type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation"},origins:{"web-scene":{read:!1,write:!1}}}})],t.prototype,"useViewTime",void 0),t=(0,s._)([(0,a.j)("esri.layers.mixins.TemporalLayer")],t),t}},70082:(e,t,r)=>{r.d(t,{Z:()=>p});var s=r(43697),i=r(2368),n=r(35454),o=r(96674),l=r(5600),a=(r(80442),r(92604),r(77734),r(52011));const u=new n.X({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let d=class extends((0,i.J)(o.wq)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,s._)([(0,l.Cb)({json:{write:!0}})],d.prototype,"name",void 0),(0,s._)([(0,l.Cb)({json:{write:!0}})],d.prototype,"description",void 0),(0,s._)([(0,l.Cb)({json:{read:u.read,write:u.write}})],d.prototype,"drawingTool",void 0),(0,s._)([(0,l.Cb)({json:{write:!0}})],d.prototype,"prototype",void 0),(0,s._)([(0,l.Cb)({json:{write:!0}})],d.prototype,"thumbnail",void 0),d=(0,s._)([(0,a.j)("esri.layers.support.FeatureTemplate")],d);const p=d},1231:(e,t,r)=>{r.d(t,{Z:()=>f});var s,i=r(43697),n=r(35454),o=r(96674),l=r(5600),a=r(75215),u=(r(77734),r(80442),r(36030)),d=r(71715),p=r(52011),c=r(72729),h=r(86719);const y=new n.X({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",dateAndTime:"date-and-time",description:"description",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier"});let m=s=class extends o.wq{constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?.value??null}readValueType(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?y.fromJSON(r.fieldValueType):null}clone(){return new s({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain&&this.domain.clone()||null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,i._)([(0,l.Cb)({type:String,json:{write:!0}})],m.prototype,"alias",void 0),(0,i._)([(0,l.Cb)({type:[String,Number],json:{write:{allowNull:!0}}})],m.prototype,"defaultValue",void 0),(0,i._)([(0,l.Cb)()],m.prototype,"description",void 0),(0,i._)([(0,d.r)("description")],m.prototype,"readDescription",null),(0,i._)([(0,l.Cb)({types:c.V5,json:{read:{reader:c.im},write:!0}})],m.prototype,"domain",void 0),(0,i._)([(0,l.Cb)({type:Boolean,json:{write:!0}})],m.prototype,"editable",void 0),(0,i._)([(0,l.Cb)({type:a.z8,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],m.prototype,"length",void 0),(0,i._)([(0,l.Cb)({type:String,json:{write:!0}})],m.prototype,"name",void 0),(0,i._)([(0,l.Cb)({type:Boolean,json:{write:!0}})],m.prototype,"nullable",void 0),(0,i._)([(0,u.J)(h.v)],m.prototype,"type",void 0),(0,i._)([(0,l.Cb)()],m.prototype,"valueType",void 0),(0,i._)([(0,d.r)("valueType",["description"])],m.prototype,"readValueType",null),(0,i._)([(0,l.Cb)({type:Boolean,json:{read:!1}})],m.prototype,"visible",void 0),m=s=(0,i._)([(0,p.j)("esri.layers.support.Field")],m);const f=m},99514:(e,t,r)=>{r.d(t,{Z:()=>c});var s=r(20102),i=r(96674),n=r(92604),o=r(30175),l=r(1542),a=r(73012),u=r(25031),d=r(17126);const p=new Map;class c{static fromJSON(e){return new c(e.fields,e.timeZoneByFieldName)}static fromLayer(e){return new c(e.fields??[],f(e))}static fromLayerJSON(e){return new c(e.fields??[],f(e))}constructor(e=[],t){this._fieldsMap=new Map,this._normalizedFieldsMap=new Map,this._dateFieldsSet=new Set,this._numericFieldsSet=new Set,this._requiredFields=null,this.dateFields=[],this.numericFields=[],this.fields=e||[],this._timeZoneByFieldName=t?new Map(t):null;const r=[];for(const e of this.fields){const t=e?.name,s=y(t);if(t&&s){const i=h(t);this._fieldsMap.set(t,e),this._fieldsMap.set(i,e),this._normalizedFieldsMap.set(s,e),r.push(`${i}:${e.type}:${this._timeZoneByFieldName?.get(t)}`),(0,a.y2)(e)?(this.dateFields.push(e),this._dateFieldsSet.add(e)):(0,a.H7)(e)&&(this._numericFieldsSet.add(e),this.numericFields.push(e)),(0,a.Dl)(e)||(0,a.Se)(e)||(e.editable=null==e.editable||!!e.editable,e.nullable=null==e.nullable||!!e.nullable)}}r.sort(),this.uid=r.join()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(const e of this.fields)(0,a.Dl)(e)||(0,a.Se)(e)||e.nullable||void 0!==(0,a.os)(e)||this._requiredFields.push(e)}return this._requiredFields}equals(e){return this.uid===e?.uid}has(e){return null!=this.get(e)}get(e){if(!e)return;let t=this._fieldsMap.get(e);return t||(t=this._fieldsMap.get(h(e))??this._normalizedFieldsMap.get(y(e)),t&&this._fieldsMap.set(e,t),t)}getTimeZone(e){const t=this.get(e&&"string"!=typeof e?e.name:e);return t?this._timeZoneByFieldName?this._timeZoneByFieldName.get(t.name):"date"===t.type||"esriFieldTypeDate"===t.type?(n.Z.getLogger("esri.layers.support.FieldsIndex").error(new s.Z("getTimeZone:no-timezone-information",`no time zone information for field '${t.name}'`)),u.pt):m.has(t.type)?u._4:null:null}getLuxonTimeZone(e){const t=this.getTimeZone(e);return t?t===u._4?l.yV.instance:t===u.pt?d.Qf.utcInstance:(0,o.s1)(p,t,(()=>d.vF.create(t))):null}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isTimeOnlyField(e){return(0,a.sX)(this.get(e))}isNumericField(e){return this._numericFieldsSet.has(this.get(e))}normalizeFieldName(e){return this.get(e)?.name??void 0}toJSON(){return{fields:this.fields.map((e=>(0,i.AK)(e)?e.toJSON():e)),timeZoneByFieldName:this._timeZoneByFieldName?Array.from(this._timeZoneByFieldName.entries()):null}}}function h(e){return e.trim().toLowerCase()}function y(e){return(0,a.q6)(e)?.toLowerCase()??""}const m=new Set(["time-only","date-only","timestamp-offset","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"]);function f(e){const t=new Map;if(!e.fields)return t;const r=!0===e.datesInUnknownTimezone,{timeInfo:s,editFieldsInfo:i}=e,n=(s?"startField"in s?s.startField:s.startTimeField:"")??"",o=(s?"endField"in s?s.endField:s.endTimeField:"")??"",l=function(e){return"dateFieldsTimeZone"in e}(e)?e.dateFieldsTimeZone??null:e.dateFieldsTimeReference?(0,u.Jv)(e.dateFieldsTimeReference):null,a=i?function(e){return"timeZone"in e}(i)?i.timeZone??l:i.dateFieldsTimeReference?(0,u.Jv)(i.dateFieldsTimeReference):l??u.pt:null,d=s?function(e){return"timeZone"in e}(s)?s.timeZone??l:s.timeReference?(0,u.Jv)(s.timeReference):l:null,p=new Map([[h(i?.creationDateField??""),a],[h(i?.editDateField??""),a],[h(n),d],[h(o),d]]);for(const{name:s,type:i}of e.fields)if(m.has(i))t.set(s,u._4);else if("date"!==i&&"esriFieldTypeDate"!==i)t.set(s,null);else if(r)t.set(s,u._4);else{const e=p.get(h(s??""))??l;t.set(s,e)}return t}},76259:(e,t,r)=>{r.d(t,{Z:()=>m});var s=r(43697),i=r(92835),n=r(84552),o=r(2368),l=r(96674),a=r(5600),u=(r(80442),r(92604),r(77734),r(71715)),d=r(52011),p=r(30556),c=r(25031);function h(e,t){return n.Z.fromJSON({value:e,unit:t})}let y=class extends((0,o.J)(l.wq)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0}readFullTimeExtent(e,t){if(!t.timeExtent||!Array.isArray(t.timeExtent)||2!==t.timeExtent.length)return null;const r=new Date(t.timeExtent[0]),s=new Date(t.timeExtent[1]);return new i.Z({start:r,end:s})}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=[e.start.getTime(),e.end.getTime()]:t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?h(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?h(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,s._)([(0,a.Cb)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],y.prototype,"cumulative",void 0),(0,s._)([(0,a.Cb)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],y.prototype,"endField",void 0),(0,s._)([(0,a.Cb)({type:i.Z,json:{write:{enabled:!0,allowNull:!0}}})],y.prototype,"fullTimeExtent",void 0),(0,s._)([(0,u.r)("fullTimeExtent",["timeExtent"])],y.prototype,"readFullTimeExtent",null),(0,s._)([(0,p.c)("fullTimeExtent")],y.prototype,"writeFullTimeExtent",null),(0,s._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],y.prototype,"hasLiveData",void 0),(0,s._)([(0,a.Cb)({type:n.Z,json:{write:{enabled:!0,allowNull:!0}}})],y.prototype,"interval",void 0),(0,s._)([(0,u.r)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],y.prototype,"readInterval",null),(0,s._)([(0,p.c)("interval")],y.prototype,"writeInterval",null),(0,s._)([(0,a.Cb)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],y.prototype,"startField",void 0),(0,s._)([(0,a.Cb)((0,c.mi)("timeReference",!0))],y.prototype,"timeZone",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],y.prototype,"trackIdField",void 0),(0,s._)([(0,a.Cb)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],y.prototype,"useTime",void 0),y=(0,s._)([(0,d.j)("esri.layers.support.TimeInfo")],y);const m=y},72729:(e,t,r)=>{r.d(t,{im:()=>x,V5:()=>E}),r(80442);var s,i=r(43697),n=r(22974),o=r(5600),l=(r(92604),r(36030)),a=r(52011),u=r(96674);r(77734);let d=s=class extends u.wq{constructor(e){super(e),this.name=null,this.code=null}clone(){return new s({name:this.name,code:this.code})}};(0,i._)([(0,o.Cb)({type:String,json:{write:!0}})],d.prototype,"name",void 0),(0,i._)([(0,o.Cb)({type:[String,Number],json:{write:!0}})],d.prototype,"code",void 0),d=s=(0,i._)([(0,a.j)("esri.layers.support.CodedValue")],d);const p=new(r(35454).X)({inherited:"inherited",codedValue:"coded-value",range:"range"});let c=class extends u.wq{constructor(e){super(e),this.name=null,this.type=null}};(0,i._)([(0,o.Cb)({type:String,json:{write:!0}})],c.prototype,"name",void 0),(0,i._)([(0,l.J)(p)],c.prototype,"type",void 0),c=(0,i._)([(0,a.j)("esri.layers.support.Domain")],c);const h=c;var y;let m=y=class extends h{constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const r=String(e);this.codedValues.some((e=>(String(e.code)===r&&(t=e.name),!!t)))}return t}clone(){return new y({codedValues:(0,n.d9)(this.codedValues),name:this.name})}};(0,i._)([(0,o.Cb)({type:[d],json:{write:!0}})],m.prototype,"codedValues",void 0),(0,i._)([(0,l.J)({codedValue:"coded-value"})],m.prototype,"type",void 0),m=y=(0,i._)([(0,a.j)("esri.layers.support.CodedValueDomain")],m);const f=m;var g;r(20102);let b=g=class extends h{constructor(e){super(e),this.type="inherited"}clone(){return new g}};(0,i._)([(0,l.J)({inherited:"inherited"})],b.prototype,"type",void 0),b=g=(0,i._)([(0,a.j)("esri.layers.support.InheritedDomain")],b);const w=b;var v;let _=v=class extends h{constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new v({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,i._)([(0,o.Cb)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,r){t[r]=[this.minValue||0,e]}}}})],_.prototype,"maxValue",void 0),(0,i._)([(0,o.Cb)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,r){t[r]=[e,this.maxValue||0]}}}})],_.prototype,"minValue",void 0),(0,i._)([(0,l.J)({range:"range"})],_.prototype,"type",void 0),_=v=(0,i._)([(0,a.j)("esri.layers.support.RangeDomain")],_);const F=_,E={key:"type",base:h,typeMap:{range:_,"coded-value":f,inherited:w}};function x(e){if(!e?.type)return null;switch(e.type){case"range":return F.fromJSON(e);case"codedValue":return f.fromJSON(e);case"inherited":return w.fromJSON(e)}return null}},86719:(e,t,r)=>{r.d(t,{v:()=>s});const s=new(r(35454).X)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"})},78981:(e,t,r)=>{r.d(t,{v:()=>s});const s=(0,r(35454).w)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:void 0})},74889:(e,t,r)=>{r.d(t,{Z:()=>w});var s,i=r(43697),n=r(66577),o=r(38171),l=r(35454),a=r(96674),u=r(22974),d=r(5600),p=(r(80442),r(92604),r(71715)),c=r(52011),h=r(30556),y=r(82971),m=r(33955),f=r(1231);const g=new l.X({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let b=s=class extends a.wq{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){const r=y.Z.fromJSON(t.spatialReference),s=[];for(let t=0;t<e.length;t++){const i=e[t],n=o.Z.fromJSON(i),l=i.geometry?.spatialReference;null==n.geometry||l||(n.geometry.spatialReference=r);const a=i.aggregateGeometries,u=n.aggregateGeometries;if(a&&null!=u)for(const e in u){const t=u[e],s=a[e],i=s?.spatialReference;null==t||i||(t.spatialReference=r)}s.push(n)}return s}writeGeometryType(e,t,r,s){if(e)return void g.write(e,t,r,s);const{features:i}=this;if(i)for(const e of i)if(null!=e?.geometry)return void g.write(e.geometry.type,t,r,s)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,s=(0,m.im)(e);return s&&!r&&t.spatialReference&&(s.spatialReference=y.Z.fromJSON(t.spatialReference)),s}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new s(this.cloneProperties())}cloneProperties(){return(0,u.d9)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const s=t.features[r];if(s.geometry){const t=e?.[r];s.geometry=t?.toJSON()||s.geometry}}return t}quantize(e){const{scale:[t,r],translate:[s,i]}=e,n=this.features,o=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-s)/t)),(e=>Math.round((i-e)/r)));for(let e=0,t=n.length;e<t;e++)o?.(n[e].geometry)||(n.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[s,i],scale:[n,o]}=r;let l=null,a=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;l=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;a=r=>null==r?r:r*t+e}const u=this._getHydrationFunction(e,(e=>e*n+s),(e=>i-e*o),l,a);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}_quantizePoints(e,t,r){let s,i;const n=[];for(let o=0,l=e.length;o<l;o++){const l=e[o];if(o>0){const e=t(l[0]),o=r(l[1]);e===s&&o===i||(n.push([e-s,o-i]),s=e,i=o)}else s=t(l[0]),i=r(l[1]),n.push([s,i])}return n.length>0?n:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const s=(0,m.oU)(e)?e.rings:e.paths,i=[];for(let e=0,n=s.length;e<n;e++){const n=s[e],o=this._quantizePoints(n,t,r);o&&i.push(o)}return i.length>0?((0,m.oU)(e)?e.rings=i:e.paths=i,e):null}:"multipoint"===e?e=>{const s=this._quantizePoints(e.points,t,r);return s&&s.length>0?(e.points=s,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,s,i){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),s&&(e.z=s(e.z))}:"polyline"===e||"polygon"===e?e=>{const n=(0,m.oU)(e)?e.rings:e.paths;let o,l;for(let e=0,s=n.length;e<s;e++){const s=n[e];for(let e=0,i=s.length;e<i;e++){const i=s[e];e>0?(o+=i[0],l+=i[1]):(o=i[0],l=i[1]),i[0]=t(o),i[1]=r(l)}}if(s&&i)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=s(r[2]),r[3]=i(r[3])}}else if(s)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=s(r[2])}}else if(i)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),s&&null!=e.zmax&&null!=e.zmin&&(e.zmax=s(e.zmax),e.zmin=s(e.zmin)),i&&null!=e.mmax&&null!=e.mmin&&(e.mmax=i(e.mmax),e.mmin=i(e.mmin))}:"multipoint"===e?e=>{const n=e.points;let o,l;for(let e=0,s=n.length;e<s;e++){const s=n[e];e>0?(o+=s[0],l+=s[1]):(o=s[0],l=s[1]),s[0]=t(o),s[1]=r(l)}if(s&&i)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=s(t[2]),t[3]=i(t[3])}else if(s)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=s(t[2])}else if(i)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=i(t[2])}}:null}};(0,i._)([(0,d.Cb)({type:String,json:{write:!0}})],b.prototype,"displayFieldName",void 0),(0,i._)([(0,d.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"exceededTransferLimit",void 0),(0,i._)([(0,d.Cb)({type:[o.Z],json:{write:!0}})],b.prototype,"features",void 0),(0,i._)([(0,p.r)("features")],b.prototype,"readFeatures",null),(0,i._)([(0,d.Cb)({type:[f.Z],json:{write:!0}})],b.prototype,"fields",void 0),(0,i._)([(0,d.Cb)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],b.prototype,"geometryType",void 0),(0,i._)([(0,h.c)("geometryType")],b.prototype,"writeGeometryType",null),(0,i._)([(0,d.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"hasM",void 0),(0,i._)([(0,d.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"hasZ",void 0),(0,i._)([(0,d.Cb)({types:n.qM,json:{write:!0}})],b.prototype,"queryGeometry",void 0),(0,i._)([(0,p.r)("queryGeometry")],b.prototype,"readQueryGeometry",null),(0,i._)([(0,d.Cb)({type:y.Z,json:{write:!0}})],b.prototype,"spatialReference",void 0),(0,i._)([(0,h.c)("spatialReference")],b.prototype,"writeSpatialReference",null),(0,i._)([(0,d.Cb)({json:{write:!0}})],b.prototype,"transform",void 0),b=s=(0,i._)([(0,c.j)("esri.rest.support.FeatureSet")],b),b.prototype.toJSON.isDefaultToJSON=!0;const w=b}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4998],{92835:(t,e,n)=>{n.d(e,{Z:()=>h});var r,i=n(43697),o=n(96674),s=n(35463),l=n(5600),a=(n(80442),n(92604),n(77734),n(71715)),u=n(52011),c=n(30556),p=n(25031);let d=r=class extends o.wq{static get allTime(){return y}static get empty(){return f}constructor(t){super(t),this.end=null,this.start=null}readEnd(t,e){return null!=e.end?new Date(e.end):null}writeEnd(t,e){e.end=t?.getTime()??null}get isAllTime(){return this.equals(r.allTime)}get isEmpty(){return this.equals(r.empty)}readStart(t,e){return null!=e.start?new Date(e.start):null}writeStart(t,e){e.start=t?.getTime()??null}clone(){return new r({end:this.end,start:this.start})}equals(t){if(!t)return!1;const e=this.start?.getTime()??this.start,n=this.end?.getTime()??this.end,r=t.start?.getTime()??t.start,i=t.end?.getTime()??t.end;return e===r&&n===i}expandTo(t,e=p.By){if(this.isEmpty||this.isAllTime)return this.clone();let n=this.start;n&&(n=(0,s.JE)(n,t,e));let i=this.end;if(i){const n=(0,s.JE)(i,t,e);i=i.getTime()===n.getTime()?n:(0,s.Nm)(n,1,t,e)}return new r({start:n,end:i})}intersection(t){if(!t)return this.clone();if(this.isEmpty||t.isEmpty)return r.empty;if(this.isAllTime)return t.clone();if(t.isAllTime)return this.clone();const e=this.start?.getTime()??-1/0,n=this.end?.getTime()??1/0,i=t.start?.getTime()??-1/0,o=t.end?.getTime()??1/0;let s,l;if(i>=e&&i<=n?s=i:e>=i&&e<=o&&(s=e),n>=i&&n<=o?l=n:o>=e&&o<=n&&(l=o),null!=s&&null!=l&&!isNaN(s)&&!isNaN(l)){const t=new r;return t.start=s===-1/0?null:new Date(s),t.end=l===1/0?null:new Date(l),t}return r.empty}offset(t,e,n=p.By){if(this.isEmpty||this.isAllTime)return this.clone();const i=new r,{start:o,end:l}=this;return null!=o&&(i.start=(0,s.Nm)(o,t,e,n)),null!=l&&(i.end=(0,s.Nm)(l,t,e,n)),i}union(t){if(!t||t.isEmpty)return this.clone();if(this.isEmpty)return t.clone();if(this.isAllTime||t.isAllTime)return y.clone();const e=null!=this.start&&null!=t.start?new Date(Math.min(this.start.getTime(),t.start.getTime())):null,n=null!=this.end&&null!=t.end?new Date(Math.max(this.end.getTime(),t.end.getTime())):null;return new r({start:e,end:n})}};(0,i._)([(0,l.Cb)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"end",void 0),(0,i._)([(0,a.r)("end")],d.prototype,"readEnd",null),(0,i._)([(0,c.c)("end")],d.prototype,"writeEnd",null),(0,i._)([(0,l.Cb)({readOnly:!0,json:{read:!1}})],d.prototype,"isAllTime",null),(0,i._)([(0,l.Cb)({readOnly:!0,json:{read:!1}})],d.prototype,"isEmpty",null),(0,i._)([(0,l.Cb)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"start",void 0),(0,i._)([(0,a.r)("start")],d.prototype,"readStart",null),(0,i._)([(0,c.c)("start")],d.prototype,"writeStart",null),d=r=(0,i._)([(0,u.j)("esri.TimeExtent")],d);const y=new d,f=new d({start:void 0,end:void 0}),h=d},4757:(t,e,n)=>{n.d(e,{Z:()=>y});var r=n(43697),i=n(92036),o=n(67676),s=n(2368),l=n(10699),a=n(96674),u=n(5600),c=(n(80442),n(92604),n(52011));let p=0,d=class extends((0,a.eC)((0,s.J)((0,l.IG)(i.Z)))){constructor(t){super(t),this.id=`${Date.now().toString(16)}-analysis-${p++}`,this.title=null}get parent(){return this._get("parent")}set parent(t){const e=this.parent;if(null!=e)switch(e.type){case"line-of-sight":case"dimension":e.releaseAnalysis(this);break;case"2d":case"3d":e.analyses.includes(this)&&e.analyses.remove(this)}this._set("parent",t)}get isEditable(){return this.requiredPropertiesForEditing.every(o.pC)}};(0,r._)([(0,u.Cb)({type:String,constructOnly:!0,clonable:!1})],d.prototype,"id",void 0),(0,r._)([(0,u.Cb)({type:String})],d.prototype,"title",void 0),(0,r._)([(0,u.Cb)({clonable:!1,value:null})],d.prototype,"parent",null),(0,r._)([(0,u.Cb)({readOnly:!0})],d.prototype,"isEditable",null),d=(0,r._)([(0,c.j)("esri.analysis.Analysis")],d);const y=d},2368:(t,e,n)=>{n.d(e,{J:()=>c,j:()=>p});var r=n(43697),i=n(92036),o=(n(80442),n(22974)),s=(n(92604),n(70586)),l=n(31263),a=n(1153),u=n(52011);const c=t=>{let e=class extends t{clone(){const t=(0,a.vw)(this);(0,s.O3)(t,"unable to clone instance of non-accessor class");const e=t.metadatas,n=t.store,r={},i=new Map;for(const t in e){const s=e[t],a=n?.originOf(t),u=s.clonable;if(s.readOnly||!1===u||a!==l.s3.USER&&a!==l.s3.DEFAULTS&&a!==l.s3.WEB_MAP&&a!==l.s3.WEB_SCENE)continue;const c=this[t];let p=null;p="function"==typeof u?u(c):"reference"===u?c:(0,o.Vo)(c),null!=c&&null==p||(a===l.s3.DEFAULTS?i.set(t,p):r[t]=p)}const u=new(0,Object.getPrototypeOf(this).constructor)(r);if(i.size){const t=(0,a.vw)(u)?.store;if(t)for(const[e,n]of i)t.set(e,n,l.s3.DEFAULTS)}return u}};return e=(0,r._)([(0,u.j)("esri.core.Clonable")],e),e};let p=class extends(c(i.Z)){};p=(0,r._)([(0,u.j)("esri.core.Clonable")],p)},10699:(t,e,n)=>{n.d(e,{IG:()=>s,iv:()=>l});var r=n(43697),i=n(52011);let o=0;const s=t=>{let e=class extends t{constructor(...t){super(...t),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+o++})}};return e=(0,r._)([(0,i.j)("esri.core.Identifiable")],e),e},l=t=>{let e=class extends t{constructor(...t){super(...t),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:o++})}};return e=(0,r._)([(0,i.j)("esri.core.NumericIdentifiable")],e),e};let a=class extends(s(class{})){};a=(0,r._)([(0,i.j)("esri.core.Identifiable")],a)},44543:(t,e,n)=>{n.d(e,{F:()=>h,M:()=>r});const r={Base64:0,Hex:1,String:2,Raw:3},i=8,o=(1<<i)-1;function s(t,e){const n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}function l(t){const e=[];for(let n=0,r=t.length*i;n<r;n+=i)e[n>>5]|=(t.charCodeAt(n/i)&o)<<n%32;return e}function a(t){const e=[];for(let n=0,r=32*t.length;n<r;n+=i)e.push(String.fromCharCode(t[n>>5]>>>n%32&o));return e.join("")}function u(t,e,n,r,i,o){return s(function(t,e){return t<<e|t>>>32-e}(s(s(e,t),s(r,o)),i),n)}function c(t,e,n,r,i,o,s){return u(e&n|~e&r,t,e,i,o,s)}function p(t,e,n,r,i,o,s){return u(e&r|n&~r,t,e,i,o,s)}function d(t,e,n,r,i,o,s){return u(e^n^r,t,e,i,o,s)}function y(t,e,n,r,i,o,s){return u(n^(e|~r),t,e,i,o,s)}function f(t,e){t[e>>5]|=128<<e%32,t[14+(e+64>>>9<<4)]=e;let n=1732584193,r=-271733879,i=-1732584194,o=271733878;for(let e=0;e<t.length;e+=16){const l=n,a=r,u=i,f=o;n=c(n,r,i,o,t[e],7,-680876936),o=c(o,n,r,i,t[e+1],12,-389564586),i=c(i,o,n,r,t[e+2],17,606105819),r=c(r,i,o,n,t[e+3],22,-1044525330),n=c(n,r,i,o,t[e+4],7,-176418897),o=c(o,n,r,i,t[e+5],12,1200080426),i=c(i,o,n,r,t[e+6],17,-1473231341),r=c(r,i,o,n,t[e+7],22,-45705983),n=c(n,r,i,o,t[e+8],7,1770035416),o=c(o,n,r,i,t[e+9],12,-1958414417),i=c(i,o,n,r,t[e+10],17,-42063),r=c(r,i,o,n,t[e+11],22,-1990404162),n=c(n,r,i,o,t[e+12],7,1804603682),o=c(o,n,r,i,t[e+13],12,-40341101),i=c(i,o,n,r,t[e+14],17,-1502002290),r=c(r,i,o,n,t[e+15],22,1236535329),n=p(n,r,i,o,t[e+1],5,-165796510),o=p(o,n,r,i,t[e+6],9,-1069501632),i=p(i,o,n,r,t[e+11],14,643717713),r=p(r,i,o,n,t[e],20,-373897302),n=p(n,r,i,o,t[e+5],5,-701558691),o=p(o,n,r,i,t[e+10],9,38016083),i=p(i,o,n,r,t[e+15],14,-660478335),r=p(r,i,o,n,t[e+4],20,-405537848),n=p(n,r,i,o,t[e+9],5,568446438),o=p(o,n,r,i,t[e+14],9,-1019803690),i=p(i,o,n,r,t[e+3],14,-187363961),r=p(r,i,o,n,t[e+8],20,1163531501),n=p(n,r,i,o,t[e+13],5,-1444681467),o=p(o,n,r,i,t[e+2],9,-51403784),i=p(i,o,n,r,t[e+7],14,1735328473),r=p(r,i,o,n,t[e+12],20,-1926607734),n=d(n,r,i,o,t[e+5],4,-378558),o=d(o,n,r,i,t[e+8],11,-2022574463),i=d(i,o,n,r,t[e+11],16,1839030562),r=d(r,i,o,n,t[e+14],23,-35309556),n=d(n,r,i,o,t[e+1],4,-1530992060),o=d(o,n,r,i,t[e+4],11,1272893353),i=d(i,o,n,r,t[e+7],16,-155497632),r=d(r,i,o,n,t[e+10],23,-1094730640),n=d(n,r,i,o,t[e+13],4,681279174),o=d(o,n,r,i,t[e],11,-358537222),i=d(i,o,n,r,t[e+3],16,-722521979),r=d(r,i,o,n,t[e+6],23,76029189),n=d(n,r,i,o,t[e+9],4,-640364487),o=d(o,n,r,i,t[e+12],11,-421815835),i=d(i,o,n,r,t[e+15],16,530742520),r=d(r,i,o,n,t[e+2],23,-995338651),n=y(n,r,i,o,t[e],6,-198630844),o=y(o,n,r,i,t[e+7],10,1126891415),i=y(i,o,n,r,t[e+14],15,-1416354905),r=y(r,i,o,n,t[e+5],21,-57434055),n=y(n,r,i,o,t[e+12],6,1700485571),o=y(o,n,r,i,t[e+3],10,-1894986606),i=y(i,o,n,r,t[e+10],15,-1051523),r=y(r,i,o,n,t[e+1],21,-2054922799),n=y(n,r,i,o,t[e+8],6,1873313359),o=y(o,n,r,i,t[e+15],10,-30611744),i=y(i,o,n,r,t[e+6],15,-1560198380),r=y(r,i,o,n,t[e+13],21,1309151649),n=y(n,r,i,o,t[e+4],6,-145523070),o=y(o,n,r,i,t[e+11],10,-1120210379),i=y(i,o,n,r,t[e+2],15,718787259),r=y(r,i,o,n,t[e+9],21,-343485551),n=s(n,l),r=s(r,a),i=s(i,u),o=s(o,f)}return[n,r,i,o]}function h(t,e=r.Hex){const n=e||r.Base64,o=f(l(t),t.length*i);switch(n){case r.Raw:return o;case r.Hex:return function(t){const e="0123456789abcdef",n=[];for(let r=0,i=4*t.length;r<i;r++)n.push(e.charAt(t[r>>2]>>r%4*8+4&15)+e.charAt(t[r>>2]>>r%4*8&15));return n.join("")}(o);case r.String:return a(o);case r.Base64:return function(t){const e=[];for(let n=0,r=4*t.length;n<r;n+=3){const r=(t[n>>2]>>n%4*8&255)<<16|(t[n+1>>2]>>(n+1)%4*8&255)<<8|t[n+2>>2]>>(n+2)%4*8&255;for(let i=0;i<4;i++)8*n+6*i>32*t.length?e.push("="):e.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>6*(3-i)&63))}return e.join("")}(o)}}},28576:(t,e,n)=>{n.d(e,{B:()=>y});var r=n(20102),i=n(44543),o=n(81153),s=n(17452),l=n(41123),a=n(7628),u=n(31263),c=n(5600),p=n(66094),d=n(25929);function y(t){const e=t?.origins??[void 0];return(n,r)=>{const i=function(t,e,n){if("resource"===t?.type)return function(t,e,n){const r=(0,a.Oe)(e,n);return{type:String,read:(t,e,n)=>{const i=(0,d.r)(t,e,n);return r.type===String?i:"function"==typeof r.type?new r.type({url:i}):void 0},write:{writer(e,i,l,a){if(!a?.resources)return"string"==typeof e?void(i[l]=(0,d.t)(e,a)):void(i[l]=e.write({},a));const c=function(t){return null==t?null:"string"==typeof t?t:t.url}(e),y=(0,d.t)(c,{...a,verifyItemRelativeUrls:a?.verifyItemRelativeUrls?{writtenUrls:a.verifyItemRelativeUrls.writtenUrls,rootPath:void 0}:void 0},d.M.NO),g=r.type!==String&&(!(0,o.l)(this)||a?.origin&&this.originIdOf(n)>(0,u.M9)(a.origin)),b={object:this,propertyName:n,value:e,targetUrl:y,dest:i,targetPropertyName:l,context:a,params:t};a?.portalItem&&y&&!(0,s.YP)(y)?g&&t?.contentAddressed?f(b):g?function(t){const{context:e,targetUrl:n,params:r,value:i,dest:o,targetPropertyName:l}=t;if(!e.portalItem)return;const a=e.portalItem.resourceFromPath(n),u=m(i,n,e),c=(0,p.B)(u),d=(0,s.Ml)(a.path),y=r?.compress??!1;c===d?(e.resources&&h({...t,resource:a,content:u,compress:y,updates:e.resources.toUpdate}),o[l]=n):f(t)}(b):function({context:t,targetUrl:e,dest:n,targetPropertyName:r}){t.portalItem&&t.resources&&(t.resources.toKeep.push({resource:t.portalItem.resourceFromPath(e),compress:!1}),n[r]=e)}(b):a?.portalItem&&(null==y||null!=(0,d.i)(y)||(0,s.jc)(y)||g)?f(b):i[l]=y}}}}(t,e,n);switch(t?.type??"other"){case"other":return{read:!0,write:!0};case"url":{const{read:t,write:e}=d.a;return{read:t,write:e}}}}(t,n,r);for(const t of e){const e=(0,c.CJ)(n,t,r);for(const t in i)e[t]=i[t]}}}function f(t){const{targetUrl:e,params:n,value:o,context:a,dest:u,targetPropertyName:c}=t;if(!a.portalItem)return;const y=(0,d.p)(e),f=m(o,e,a);if(n?.contentAddressed&&"json"!==f.type)return void a.messages?.push(new r.Z("persistable:contentAddressingUnsupported",`Property "${c}" is trying to serializing a resource with content of type ${f.type} with content addressing. Content addressing is only supported for json resources.`,{content:f}));const g=n?.contentAddressed&&"json"===f.type?(0,i.F)(f.jsonString):y?.filename??(0,l.DO)(),b=(0,s.v_)(n?.prefix??y?.prefix,g),v=`${b}.${(0,p.B)(f)}`;if(n?.contentAddressed&&a.resources&&"json"===f.type){const t=a.resources.toKeep.find((t=>t.resource.path===v))??a.resources.toAdd.find((t=>t.resource.path===v));if(t)return void(u[c]=t.resource.itemRelativeUrl)}const w=a.portalItem.resourceFromPath(v);(0,s.jc)(e)&&a.resources&&a.resources.pendingOperations.push((0,s.gi)(e).then((t=>{w.path=`${b}.${(0,p.B)({type:"blob",blob:t})}`,u[c]=w.itemRelativeUrl})).catch((()=>{})));const _=n?.compress??!1;a.resources&&h({...t,resource:w,content:f,compress:_,updates:a.resources.toAdd}),u[c]=w.itemRelativeUrl}function h({object:t,propertyName:e,updates:n,resource:r,content:i,compress:o}){n.push({resource:r,content:i,compress:o,finish:n=>{!function(t,e,n){"string"==typeof t[e]?t[e]=n.url:t[e].url=n.url}(t,e,n)}})}function m(t,e,n){return"string"==typeof t?{type:"url",url:e}:{type:"json",jsonString:JSON.stringify(t.toJSON(n))}}},81153:(t,e,n)=>{function r(t){return t&&"getAtOrigin"in t&&"originOf"in t}n.d(e,{l:()=>r})},17445:(t,e,n)=>{n.d(e,{N1:()=>d,YP:()=>a,Z_:()=>h,gx:()=>u,nn:()=>m,on:()=>p,tX:()=>g}),n(66643),n(46791);var r=n(91460),i=n(50758),o=n(70586),s=n(95330),l=n(26258);function a(t,e,n={}){return c(t,e,n,y)}function u(t,e,n={}){return c(t,e,n,f)}function c(t,e,n={},r){let i=null;const s=n.once?(t,n)=>{r(t)&&((0,o.hw)(i),e(t,n))}:(t,n)=>{r(t)&&e(t,n)};if(i=(0,l.aQ)(t,s,n.sync,n.equals),n.initial){const e=t();s(e,e)}return i}function p(t,e,n,s={}){let l=null,u=null,c=null;function p(){l&&u&&(u.remove(),s.onListenerRemove?.(l),l=null,u=null)}function d(t){s.once&&s.once&&(0,o.hw)(c),n(t)}const y=a(t,((t,n)=>{p(),(0,r.vT)(t)&&(l=t,u=(0,r.on)(t,e,d),s.onListenerAdd?.(t))}),{sync:s.sync,initial:!0});return c=(0,i.kB)((()=>{y.remove(),p()})),c}function d(t,e){return function(t,e,n){if((0,s.Hc)(n))return Promise.reject((0,s.zE)());const r=t();if(e?.(r))return Promise.resolve(r);let l=null;function a(){l=(0,o.hw)(l)}return new Promise(((r,o)=>{l=(0,i.AL)([(0,s.fu)(n,(()=>{a(),o((0,s.zE)())})),c(t,(t=>{a(),r(t)}),{sync:!1,once:!0},e??y)])}))}(t,f,e)}function y(t){return!0}function f(t){return!!t}n(87538);const h={sync:!0},m={initial:!0},g={sync:!0,initial:!0}},41123:(t,e,n)=>{n.d(e,{DO:()=>i,dG:()=>s,zS:()=>o});const r="randomUUID"in crypto;function i(){if(r)return crypto.randomUUID();const t=crypto.getRandomValues(new Uint16Array(8));t[3]=4095&t[3]|16384,t[4]=16383&t[4]|32768;const e=e=>t[e].toString(16).padStart(4,"0");return e(0)+e(1)+"-"+e(2)+"-"+e(3)+"-"+e(4)+"-"+e(5)+e(6)+e(7)}function o(){return`{${i().toUpperCase()}}`}function s(){return`{${i()}}`}},60437:(t,e,n)=>{n.d(e,{G_:()=>b,HH:()=>s,JR:()=>f,TC:()=>l,Tn:()=>p,Ue:()=>i,al:()=>o,bZ:()=>h,cS:()=>y,dp:()=>u,fS:()=>g,is:()=>m,op:()=>c,pp:()=>a,t8:()=>d});var r=n(6570);function i(t=v){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,e,n,r,o,s,l=i()){return l[0]=t,l[1]=e,l[2]=n,l[3]=r,l[4]=o,l[5]=s,l}function s(t,e){const n=isFinite(t[2])||isFinite(t[5]);return new r.Z(n?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function a(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function u(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function c(t,e,n=t){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n!==t&&(n[3]=t[3],n[4]=t[4],n[5]=t[5]),n}function p(t,e,n=t){return n[3]=e[0],n[4]=e[1],n[5]=e[2],n!==t&&(n[0]=t[0],n[1]=t[1],n[2]=t[2]),t}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function y(t){return t?d(t,b):i(b)}function f(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function h(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=i,t[5]=Number.POSITIVE_INFINITY,t}function m(t){return 6===t.length}function g(t,e,n){if(null==t||null==e)return t===e;if(!m(t)||!m(e))return!1;if(n){for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}n(24470);const b=[1/0,1/0,1/0,-1/0,-1/0,-1/0],v=[0,0,0,0,0,0];i()},87085:(t,e,n)=>{n.d(e,{Z:()=>v});var r=n(43697),i=(n(66577),n(3172)),o=n(20102),s=n(32448),l=n(10699),a=n(83379),u=n(92604),c=n(95330),p=n(17452),d=n(5600),y=(n(80442),n(77734),n(52011)),f=n(68773),h=n(6570),m=n(82971);let g=0,b=class extends(s.Z.EventedMixin((0,l.IG)(a.Z))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new h.Z(-180,-90,180,90,m.Z.WGS84),this.id=Date.now().toString(16)+"-layer-"+g++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.persistenceEnabled=!1,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=m.Z.WGS84,this.title=null,this.type=null,this.url=null,this.visible=!0}static async fromArcGISServerUrl(t){const e="string"==typeof t?{url:t}:t;return(await n.e(3529).then(n.bind(n,63529))).fromUrl(e)}static fromPortalItem(t){return async function(t){const e="portalItem"in t?t:{portalItem:t},{fromItem:r}=await n.e(8008).then(n.bind(n,28008));try{return await r(e)}catch(t){const n=e&&e.portalItem,r=n?.id||"unset",i=n&&n.portal&&n.portal.url||f.default.portalUrl;throw u.Z.getLogger("esri.layers.support.fromPortalItem").error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+i+"', id: '"+r+"')",t),t}}(t)}initialize(){this.when().catch((t=>{(0,c.D_)(t)||u.Z.getLogger(this).error("#load()",`Failed to load layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}')`,{error:t})}))}destroy(){const t=this.parent;if(t){const e=this;"layers"in t&&t.layers.includes(e)?t.layers.remove(e):"tables"in t&&t.tables.includes(e)?t.tables.remove(e):"baseLayers"in t&&t.baseLayers.includes(e)?t.baseLayers.remove(e):"referenceLayers"in t&&t.referenceLayers.includes(e)&&t.referenceLayers.remove(e),this._set("parent",null)}}get hasAttributionData(){return null!=this.attributionDataUrl}get parsedUrl(){return(0,p.mN)(this.url)}async fetchAttributionData(){const t=this.attributionDataUrl;if(this.hasAttributionData&&t)return(await(0,i.Z)(t,{query:{f:"json"},responseType:"json"})).data;throw new o.Z("layer:no-attribution-data","Layer does not have attribution data")}};(0,r._)([(0,d.Cb)({type:String})],b.prototype,"attributionDataUrl",void 0),(0,r._)([(0,d.Cb)({type:h.Z})],b.prototype,"fullExtent",void 0),(0,r._)([(0,d.Cb)({readOnly:!0})],b.prototype,"hasAttributionData",null),(0,r._)([(0,d.Cb)({type:String,clonable:!1})],b.prototype,"id",void 0),(0,r._)([(0,d.Cb)({type:Boolean,nonNullable:!0})],b.prototype,"legendEnabled",void 0),(0,r._)([(0,d.Cb)({type:["show","hide","hide-children"]})],b.prototype,"listMode",void 0),(0,r._)([(0,d.Cb)({type:Number,range:{min:0,max:1},nonNullable:!0})],b.prototype,"opacity",void 0),(0,r._)([(0,d.Cb)({clonable:!1})],b.prototype,"parent",void 0),(0,r._)([(0,d.Cb)({readOnly:!0})],b.prototype,"parsedUrl",null),(0,r._)([(0,d.Cb)({type:Boolean,readOnly:!0})],b.prototype,"persistenceEnabled",void 0),(0,r._)([(0,d.Cb)({type:Boolean})],b.prototype,"popupEnabled",void 0),(0,r._)([(0,d.Cb)({type:Boolean})],b.prototype,"attributionVisible",void 0),(0,r._)([(0,d.Cb)({type:m.Z})],b.prototype,"spatialReference",void 0),(0,r._)([(0,d.Cb)({type:String})],b.prototype,"title",void 0),(0,r._)([(0,d.Cb)({readOnly:!0,json:{read:!1}})],b.prototype,"type",void 0),(0,r._)([(0,d.Cb)()],b.prototype,"url",void 0),(0,r._)([(0,d.Cb)({type:Boolean,nonNullable:!0})],b.prototype,"visible",void 0),b=(0,r._)([(0,y.j)("esri.layers.Layer")],b);const v=b},21786:(t,e,n)=>{n.r(e),n.d(e,{default:()=>P});var r=n(43697),i=n(4757);function o(t,e){return s(t)===s(e)}function s(t){if(null==t)return null;const e=null!=t.layer?t.layer.id:"";let n=null;return n=null!=t.objectId?t.objectId:null!=t.layer&&"objectIdField"in t.layer&&null!=t.layer.objectIdField&&null!=t.attributes?t.attributes[t.layer.objectIdField]:t.uid,null==n?null:`o-${e}-${n}`}const l={json:{write:{writer:function(t,e){null!=t?.layer?.objectIdField&&null!=t.attributes&&(e.feature={layerId:t.layer.id,objectId:t.attributes[t.layer.objectIdField]})},target:{"feature.layerId":{type:[Number,String]},"feature.objectId":{type:[Number,String]}}},origins:{"web-scene":{read:function(t){if(null!=t.layerId&&null!=t.objectId)return{uid:null,layer:{id:t.layerId,objectIdField:"ObjectId"},attributes:{ObjectId:t.objectId}}}}}}};var a=n(92036),u=n(2368),c=n(96674),p=n(70586),d=n(5600),y=(n(80442),n(92604),n(77734),n(52011)),f=n(28576),h=n(94139),m=n(86787);let g=class extends((0,c.eC)((0,u.J)(a.Z))){constructor(t){super(t),this.position=null,this.elevationInfo=null,this.feature=null}equals(t){return(0,p._W)(this.position,t.position)&&(0,p._W)(this.elevationInfo,t.elevationInfo)&&o(this.feature,t.feature)}};(0,r._)([(0,d.Cb)({type:h.Z,json:{write:{isRequired:!0}}})],g.prototype,"position",void 0),(0,r._)([(0,d.Cb)({type:m.Z}),(0,f.B)()],g.prototype,"elevationInfo",void 0),(0,r._)([(0,d.Cb)(l)],g.prototype,"feature",void 0),g=(0,r._)([(0,y.j)("esri.analysis.LineOfSightAnalysisObserver")],g);const b=g;let v=class extends((0,c.eC)(u.j)){constructor(t){super(t),this.position=null,this.elevationInfo=null,this.feature=null}equals(t){return(0,p._W)(this.position,t.position)&&(0,p._W)(this.elevationInfo,t.elevationInfo)&&o(this.feature,t.feature)}};(0,r._)([(0,d.Cb)({type:h.Z}),(0,f.B)()],v.prototype,"position",void 0),(0,r._)([(0,d.Cb)({type:m.Z}),(0,f.B)()],v.prototype,"elevationInfo",void 0),(0,r._)([(0,d.Cb)(l)],v.prototype,"feature",void 0),v=(0,r._)([(0,y.j)("esri.analysis.LineOfSightAnalysisTarget")],v);const w=v;var _=n(46791),I=n(70921),x=n(17445),j=n(73615),C=n(60437),E=n(36405);const T=_.Z.ofType(w);let O=class extends i.Z{constructor(t){super(t),this.type="line-of-sight",this.observer=null,this.extent=null}initialize(){this.addHandles((0,x.YP)((()=>this._computeExtent()),(t=>{null==t?.pending&&this._set("extent",null!=t?t.extent:null)}),x.tX))}get targets(){return this._get("targets")||new T}set targets(t){this._set("targets",(0,I.Z)(t,this.targets,T))}get spatialReference(){return null!=this.observer?.position?this.observer.position.spatialReference:null}get requiredPropertiesForEditing(){return[this.observer?.position]}async waitComputeExtent(){const t=this._computeExtent();return null!=t?t.pending:Promise.resolve()}_computeExtent(){const t=this.spatialReference;if(null==this.observer?.position||null==t)return null;const e=t=>"absolute-height"===(0,E.VW)(t.position,t.elevationInfo),n=this.observer.position,r=(0,C.al)(n.x,n.y,n.z,n.x,n.y,n.z);for(const e of this.targets)if(null!=e.position){const n=(0,j.projectOrLoad)(e.position,t);if(null!=n.pending)return{pending:n.pending,extent:null};if(null!=n.geometry){const{x:t,y:e,z:i}=n.geometry;(0,C.pp)(r,[t,e,i])}}const i=(0,C.HH)(r,t);return e(this.observer)&&this.targets.every(e)||(i.zmin=void 0,i.zmax=void 0),{pending:null,extent:i}}clear(){this.observer=null,this.targets.removeAll()}};(0,r._)([(0,d.Cb)({type:["line-of-sight"]})],O.prototype,"type",void 0),(0,r._)([(0,d.Cb)({type:b,json:{read:!0,write:!0}})],O.prototype,"observer",void 0),(0,r._)([(0,d.Cb)({cast:I.R,type:T,nonNullable:!0,json:{read:!0,write:!0}})],O.prototype,"targets",null),(0,r._)([(0,d.Cb)({value:null,readOnly:!0})],O.prototype,"extent",void 0),(0,r._)([(0,d.Cb)({readOnly:!0})],O.prototype,"spatialReference",null),(0,r._)([(0,d.Cb)({readOnly:!0})],O.prototype,"requiredPropertiesForEditing",null),O=(0,r._)([(0,y.j)("esri.analysis.LineOfSightAnalysis")],O);const S=O;var N=n(16453),A=n(87085),U=n(38009);const Z=_.Z.ofType(w);let R=class extends((0,U.q)((0,N.R)(A.Z))){constructor(t){super(t),this.type="line-of-sight",this.operationalLayerType="LineOfSightLayer",this.analysis=new S,this.opacity=1}initialize(){this.addHandles((0,x.YP)((()=>this.analysis),((t,e)=>{null!=e&&e.parent===this&&(e.parent=null),null!=t&&(t.parent=this)}),x.tX))}async load(){return null!=this.analysis&&this.addResolvingPromise(this.analysis.waitComputeExtent()),this}get observer(){return this.analysis?.observer}set observer(t){const{analysis:e}=this;e&&(e.observer=t)}get targets(){return null!=this.analysis?this.analysis.targets:new _.Z}set targets(t){(0,I.Z)(t,this.analysis?.targets)}get fullExtent(){return null!=this.analysis?this.analysis.extent:null}get spatialReference(){return null!=this.analysis?this.analysis.spatialReference:null}releaseAnalysis(t){this.analysis===t&&(this.analysis=new S)}};(0,r._)([(0,d.Cb)({json:{read:!1},readOnly:!0})],R.prototype,"type",void 0),(0,r._)([(0,d.Cb)({type:["LineOfSightLayer"]})],R.prototype,"operationalLayerType",void 0),(0,r._)([(0,d.Cb)({type:b,json:{read:!0,write:{isRequired:!0,ignoreOrigin:!0}}})],R.prototype,"observer",null),(0,r._)([(0,d.Cb)({type:Z,json:{read:!0,write:{ignoreOrigin:!0}}})],R.prototype,"targets",null),(0,r._)([(0,d.Cb)({nonNullable:!0,json:{read:!1,write:!1}})],R.prototype,"analysis",void 0),(0,r._)([(0,d.Cb)({readOnly:!0})],R.prototype,"fullExtent",null),(0,r._)([(0,d.Cb)({readOnly:!0})],R.prototype,"spatialReference",null),(0,r._)([(0,d.Cb)({readOnly:!0,json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}}})],R.prototype,"opacity",void 0),(0,r._)([(0,d.Cb)({type:["show","hide"]})],R.prototype,"listMode",void 0),R=(0,r._)([(0,y.j)("esri.layers.LineOfSightLayer")],R);const P=R},66094:(t,e,n)=>{n.d(e,{B:()=>i});var r=n(17452);function i(t){return o[function(t){return"json"===t.type?"application/json":"blob"===t.type?t.blob.type:function(t){const e=(0,r.Ml)(t);return a[e]||s}(t.url)}(t)]||l}const o={},s="text/plain",l=o[s],a={png:"image/png",jpeg:"image/jpeg",jpg:"image/jpg",bmp:"image/bmp",gif:"image/gif",json:"application/json",txt:"text/plain",xml:"application/xml",svg:"image/svg+xml",zip:"application/zip",pbf:"application/vnd.mapbox-vector-tile",gz:"application/gzip","bin.gz":"application/octet-stream"};for(const t in a)o[a[t]]=t},36405:(t,e,n)=>{function r(t,e){return e?.mode?e.mode:function(t){return t?u:c}(t).mode}function i(t,e){return r(null!=t&&t.hasZ,e)}function o(t,e,n){return n&&n.mode!==e?`${t} only support ${e} elevation mode`:null}function s(t,e,n){return n?.mode===e?`${t} do not support ${e} elevation mode`:null}function l(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,{LR:()=>a,Uy:()=>o,VW:()=>i,Wb:()=>s,kf:()=>l}),n(12541);const u={mode:"absolute-height",offset:0},c={mode:"on-the-ground",offset:null}}}]);
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
height: 100%;
|
|
34
34
|
|
|
35
35
|
a {
|
|
36
|
+
text-decoration: underline;
|
|
36
37
|
color: $interactive-font-color;
|
|
37
38
|
|
|
38
39
|
&:hover,
|
|
@@ -49,14 +50,19 @@
|
|
|
49
50
|
align-items: center;
|
|
50
51
|
margin: 0 5px;
|
|
51
52
|
min-height: 28px;
|
|
52
|
-
overflow:
|
|
53
|
+
overflow: hidden;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.esri-column__header-label span {
|
|
57
|
+
overflow: hidden;
|
|
58
|
+
text-overflow: ellipsis;
|
|
59
|
+
white-space: nowrap;
|
|
53
60
|
}
|
|
54
61
|
|
|
55
62
|
.esri-column__header-content {
|
|
56
63
|
display: flex;
|
|
57
64
|
flex-grow: 1;
|
|
58
65
|
align-items: center;
|
|
59
|
-
overflow: visible;
|
|
60
66
|
}
|
|
61
67
|
}
|
|
62
68
|
}
|