@arcgis/core 4.26.0 → 4.26.1
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/arcade/Feature.js +1 -1
- package/arcade/arcadeTimeUtils.js +1 -1
- package/arcade/featureset/sources/FeatureLayerDynamic.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/009cd8f27d2357ec9317.js +1 -0
- package/assets/esri/core/workers/chunks/03081e28fe59ba2e8040.js +1 -0
- package/assets/esri/core/workers/chunks/17ce4b146825adcca307.js +1 -0
- package/assets/esri/core/workers/chunks/186f2d0c94fa1eca4959.js +1 -0
- package/assets/esri/core/workers/chunks/1fd48420dfbbfdb3b051.js +1 -0
- package/assets/esri/core/workers/chunks/226bfa115acb8542f21c.js +1 -0
- package/assets/esri/core/workers/chunks/{25abc848a128b24ff66e.js → 3808f33563757fad703d.js} +1 -1
- package/assets/esri/core/workers/chunks/38ebf5d20576609566f9.js +1 -0
- package/assets/esri/core/workers/chunks/4125b10b1d009f35e75e.js +1 -0
- package/assets/esri/core/workers/chunks/48d35993b6ffb76e56e9.js +1 -0
- package/assets/esri/core/workers/chunks/5022862c5658e7bb0e04.js +1 -0
- package/assets/esri/core/workers/chunks/55782608bee89fa0d6e1.js +1 -0
- package/assets/esri/core/workers/chunks/5598996bcf60741aa734.js +1 -0
- package/assets/esri/core/workers/chunks/592e9834aa896cdd0e86.js +1 -0
- package/assets/esri/core/workers/chunks/5a5e4983c526bf08c7f1.js +1 -0
- package/assets/esri/core/workers/chunks/{a6d34147e7dbb1e4609c.js → 5f8acce073b8da5ac6ae.js} +1 -1
- package/assets/esri/core/workers/chunks/611c27efa10e4e04d8b6.js +1 -0
- package/assets/esri/core/workers/chunks/6ecf0bb8e16159160cde.js +1 -0
- package/assets/esri/core/workers/chunks/81949c9d14a8d75c45b6.js +1 -0
- package/assets/esri/core/workers/chunks/843a8b87ebecc246598a.js +1 -0
- package/assets/esri/core/workers/chunks/84c0a8d41eec91bb5142.js +1 -0
- package/assets/esri/core/workers/chunks/85c6a2c7239d0cf73a44.js +1 -0
- package/assets/esri/core/workers/chunks/8f3262f33d635cf9f046.js +1 -0
- package/assets/esri/core/workers/chunks/9054fd0707a15d037bb9.js +1 -0
- package/assets/esri/core/workers/chunks/a2e5b67c1c65a93f3c75.js +1 -0
- package/assets/esri/core/workers/chunks/a6e57062917ce1a0afa9.js +1 -0
- package/assets/esri/core/workers/chunks/b8b6df646ecf5482c5b4.js +1 -0
- package/assets/esri/core/workers/chunks/bcdd71e7475777f0f1bb.js +1 -0
- package/assets/esri/core/workers/chunks/{97ba79f9bceb42405573.js → bce1d4d6449a646834a1.js} +1 -1
- package/assets/esri/core/workers/chunks/c999e9dd748ae449d66e.js +1 -0
- package/assets/esri/core/workers/chunks/cb177fb86cf8cec95e87.js +1 -0
- package/assets/esri/core/workers/chunks/{3c557a5728c76843561f.js → d3498d28fd01a0ad3899.js} +1 -1
- package/assets/esri/core/workers/chunks/dd698ada6b7c03cfd25c.js +1 -0
- package/assets/esri/core/workers/chunks/e26acb83eae5eec87ca1.js +1 -0
- package/assets/esri/core/workers/chunks/eca1b840c009e5477b80.js +1 -0
- package/assets/esri/core/workers/chunks/fbe981e42e92a32d922d.js +1 -0
- package/config.js +1 -1
- package/layers/graphics/sources/FeatureLayerSource.js +1 -1
- package/package.json +1 -1
- package/support/revision.js +1 -1
- package/views/2d/layers/features/sources/BaseFeatureSource.js +1 -1
- package/views/2d/layers/features/sources/DataTileSource.js +1 -1
- package/views/layers/ImageryTileLayerView.js +1 -1
- package/widgets/Editor.js +1 -1
- package/assets/esri/core/workers/chunks/03a811b5a912d83792dd.js +0 -1
- package/assets/esri/core/workers/chunks/0923c0641ca9d9a52efc.js +0 -1
- package/assets/esri/core/workers/chunks/1aff09c90f287eeba408.js +0 -1
- package/assets/esri/core/workers/chunks/1faf0e2aeabe003e2f64.js +0 -1
- package/assets/esri/core/workers/chunks/29662688eedc6df54d4b.js +0 -1
- package/assets/esri/core/workers/chunks/2b94b1bc4634f0518890.js +0 -1
- package/assets/esri/core/workers/chunks/3664d97f0c2819690cf9.js +0 -1
- package/assets/esri/core/workers/chunks/3d457f987e2089d67e89.js +0 -1
- package/assets/esri/core/workers/chunks/41d25407888326c91566.js +0 -1
- package/assets/esri/core/workers/chunks/4503194b1b1d8908a386.js +0 -1
- package/assets/esri/core/workers/chunks/4a264b7cfd0a4bc62be9.js +0 -1
- package/assets/esri/core/workers/chunks/4cddaa79af86b0981baa.js +0 -1
- package/assets/esri/core/workers/chunks/582d12138e6eea62d6fe.js +0 -1
- package/assets/esri/core/workers/chunks/5e9869849d999aac5756.js +0 -1
- package/assets/esri/core/workers/chunks/636b4e080d701d5856c7.js +0 -1
- package/assets/esri/core/workers/chunks/69c89c01783250811b56.js +0 -1
- package/assets/esri/core/workers/chunks/72c827a5388a4b1112e3.js +0 -1
- package/assets/esri/core/workers/chunks/7db8a429ef7bf11c5bb6.js +0 -1
- package/assets/esri/core/workers/chunks/8d52093b6c4bfd087a12.js +0 -1
- package/assets/esri/core/workers/chunks/9b449a036598479ad0b0.js +0 -1
- package/assets/esri/core/workers/chunks/9c67598554e0d2b2c14a.js +0 -1
- package/assets/esri/core/workers/chunks/9f8aad19c5973e201604.js +0 -1
- package/assets/esri/core/workers/chunks/9ff12db2f3dcd5749053.js +0 -1
- package/assets/esri/core/workers/chunks/a0e3b837262d6d64f605.js +0 -1
- package/assets/esri/core/workers/chunks/a213fb1cd2b5da2b7027.js +0 -1
- package/assets/esri/core/workers/chunks/aa864f9ad6b9a92ab328.js +0 -1
- package/assets/esri/core/workers/chunks/bb6e4affafef9855b8fd.js +0 -1
- package/assets/esri/core/workers/chunks/bd711b7229aa5cfa063b.js +0 -1
- package/assets/esri/core/workers/chunks/e384e1daec50f8cdcdd1.js +0 -1
- package/assets/esri/core/workers/chunks/eccc725bc3f8047171f7.js +0 -1
- package/assets/esri/core/workers/chunks/f3b59aa3b33e3ee70bec.js +0 -1
- package/assets/esri/core/workers/chunks/f7ed302a233d4cfb9060.js +0 -1
- package/assets/esri/core/workers/chunks/fd03ba4613f8973f8c86.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9675,5159],{3920:(e,t,r)=>{r.d(t,{p:()=>l,r:()=>u});var s=r(43697),o=r(15923),i=r(61247),n=r(5600),a=r(52011),p=r(72762);const l=e=>{let t=class extends e{destroy(){this.destroyed||(this._get("handles")?.destroy(),this._get("updatingHandles")?.destroy())}get handles(){return this._get("handles")||new i.Z}get updatingHandles(){return this._get("updatingHandles")||new p.t}};return(0,s._)([(0,n.Cb)({readOnly:!0})],t.prototype,"handles",null),(0,s._)([(0,n.Cb)({readOnly:!0})],t.prototype,"updatingHandles",null),t=(0,s._)([(0,a.j)("esri.core.HandleOwner")],t),t};let u=class extends(l(o.Z)){};u=(0,s._)([(0,a.j)("esri.core.HandleOwner")],u)},42033:(e,t,r)=>{r.d(t,{E:()=>o,_:()=>i});var s=r(70586);async function o(e,t){const{WhereClause:s}=await r.e(1534).then(r.bind(r,41534));return s.create(e,t)}function i(e,t){return(0,s.pC)(e)?(0,s.pC)(t)?`(${e}) AND (${t})`:e:t}},72762:(e,t,r)=>{r.d(t,{t:()=>d});var s=r(43697),o=r(15923),i=r(61247),n=r(70586),a=r(17445),p=r(1654),l=r(5600),u=r(52011);let d=class extends o.Z{constructor(){super(...arguments),this.updating=!1,this._handleId=0,this._handles=new i.Z,this._scheduleHandleId=0,this._pendingPromises=new Set}destroy(){this.removeAll(),this._handles.destroy()}add(e,t,r={}){return this._installWatch(e,t,r,a.YP)}addWhen(e,t,r={}){return this._installWatch(e,t,r,a.gx)}addOnCollectionChange(e,t,{initial:r=!1,final:s=!1}={}){const o=++this._handleId;return this._handles.add([(0,a.on)(e,"after-changes",this._createSyncUpdatingCallback(),a.Z_),(0,a.on)(e,"change",t,{onListenerAdd:r?e=>t({added:e.toArray(),removed:[]}):void 0,onListenerRemove:s?e=>t({added:[],removed:e.toArray()}):void 0})],o),{remove:()=>this._handles.remove(o)}}addPromise(e){if((0,n.Wi)(e))return e;const t=++this._handleId;this._handles.add({remove:()=>{this._pendingPromises.delete(e)&&(0!==this._pendingPromises.size||this._handles.has(c)||this._set("updating",!1))}},t),this._pendingPromises.add(e),this._set("updating",!0);const r=()=>this._handles.remove(t);return e.then(r,r),e}removeAll(){this._pendingPromises.clear(),this._handles.removeAll(),this._set("updating",!1)}_installWatch(e,t,r={},s){const o=++this._handleId;r.sync||this._installSyncUpdatingWatch(e,o);const i=s(e,t,r);return this._handles.add(i,o),{remove:()=>this._handles.remove(o)}}_installSyncUpdatingWatch(e,t){const r=this._createSyncUpdatingCallback(),s=(0,a.YP)(e,r,{sync:!0,equals:()=>!1});return this._handles.add(s,t),s}_createSyncUpdatingCallback(){return()=>{this._handles.remove(c),++this._scheduleHandleId;const e=this._scheduleHandleId;this._get("updating")||this._set("updating",!0),this._handles.add((0,p.Os)((()=>{e===this._scheduleHandleId&&(this._set("updating",this._pendingPromises.size>0),this._handles.remove(c))})),c)}}};(0,s._)([(0,l.Cb)({readOnly:!0})],d.prototype,"updating",void 0),d=(0,s._)([(0,u.j)("esri.core.support.WatchUpdatingTracking")],d);const c=-42},45425:(e,t,r)=>{r.r(t),r.d(t,{default:()=>F});var s=r(43697),o=(r(66577),r(20102)),i=r(70586),n=r(95330),a=r(17452),p=r(5600),l=(r(75215),r(67676),r(71715)),u=r(52011),d=r(19238),c=r(80442),y=r(83379),h=r(78346),m=r(74889),g=r(6570);let f=class extends y.Z{constructor(e){super(e),this.type="csv",this.refresh=(0,n.Ds)((async e=>{await this.load();const{extent:t,timeExtent:r}=await this._connection.invoke("refresh",e);return t&&(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=(0,i.pC)(e)?e.signal:null;return this.addResolvingPromise(this._startWorker(t)),Promise.resolve(this)}destroy(){this._connection?.close(),this._connection=null}async openPorts(){return await this.load(),this._connection.openPorts()}async queryFeatures(e,t={}){await this.load(t);const r=await this._connection.invoke("queryFeatures",e?e.toJSON():null,t);return m.Z.fromJSON(r)}async queryFeaturesJSON(e,t={}){return await this.load(t),this._connection.invoke("queryFeatures",e?e.toJSON():null,t)}async queryFeatureCount(e,t={}){return await this.load(t),this._connection.invoke("queryFeatureCount",e?e.toJSON():null,t)}async queryObjectIds(e,t={}){return await this.load(t),this._connection.invoke("queryObjectIds",e?e.toJSON():null,t)}async queryExtent(e,t={}){await this.load(t);const r=await this._connection.invoke("queryExtent",e?e.toJSON():null,t);return{count:r.count,extent:g.Z.fromJSON(r.extent)}}async querySnapping(e,t={}){return await this.load(t),this._connection.invoke("querySnapping",e,t)}async _startWorker(e){this._connection=await(0,h.bA)("CSVSourceWorker",{strategy:(0,c.Z)("feature-layers-workers")?"dedicated":"local",signal:e});const{url:t,delimiter:r,fields:s,latitudeField:o,longitudeField:i,spatialReference:n,timeInfo:a}=this.loadOptions,p=await this._connection.invoke("load",{url:t,customParameters:this.customParameters,parsingOptions:{delimiter:r,fields:s?.map((e=>e.toJSON())),latitudeField:o,longitudeField:i,spatialReference:n?.toJSON(),timeInfo:a?.toJSON()}},{signal:e});this.locationInfo=p.locationInfo,this.sourceJSON=p.layerDefinition,this.delimiter=p.delimiter}};(0,s._)([(0,p.Cb)()],f.prototype,"type",void 0),(0,s._)([(0,p.Cb)()],f.prototype,"loadOptions",void 0),(0,s._)([(0,p.Cb)()],f.prototype,"customParameters",void 0),(0,s._)([(0,p.Cb)()],f.prototype,"locationInfo",void 0),(0,s._)([(0,p.Cb)()],f.prototype,"sourceJSON",void 0),(0,s._)([(0,p.Cb)()],f.prototype,"delimiter",void 0),f=(0,s._)([(0,u.j)("esri.layers.graphics.sources.CSVSource")],f);var v=r(25278),w=r(14165),S=r(25929),C=r(82971);function _(e,t){throw new o.Z(t,`CSVLayer (title: ${e.title}, id: ${e.id}) cannot be saved to a portal item`)}let b=class extends d.default{constructor(...e){super(...e),this.geometryType="point",this.capabilities=(0,v.MS)(!1,!1),this.delimiter=null,this.editingEnabled=!1,this.fields=null,this.latitudeField=null,this.locationType="coordinates",this.longitudeField=null,this.operationalLayerType="CSV",this.outFields=["*"],this.path=null,this.spatialReference=C.Z.WGS84,this.source=null,this.type="csv"}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){const t=(0,i.pC)(e)?e.signal:null,r=this.loadFromPortal({supportedTypes:["CSV"],supportsData:!1},e).catch(n.r9).then((async()=>this.initLayerProperties(await this.createGraphicsSource(t))));return this.addResolvingPromise(r),Promise.resolve(this)}get isTable(){return this.loaded&&null==this.geometryType}readWebMapLabelsVisible(e,t){return null!=t.showLabels?t.showLabels:!!(t.layerDefinition&&t.layerDefinition.drawingInfo&&t.layerDefinition.drawingInfo.labelingInfo)}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 createGraphicsSource(e){const t=new f({loadOptions:{delimiter:this.delimiter,fields:this.fields,latitudeField:this.latitudeField??void 0,longitudeField:this.longitudeField??void 0,spatialReference:this.spatialReference??void 0,timeInfo:this.timeInfo??void 0,url:this.url},customParameters:this.customParameters??void 0});return this._set("source",t),await t.load({signal:e}),this.read({locationInfo:t.locationInfo,columnDelimiter:t.delimiter},{origin:"service",url:this.parsedUrl}),t}queryFeatures(e,t){return this.load().then((()=>this.source.queryFeatures(w.Z.from(e)||this.createQuery()))).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(w.Z.from(e)||this.createQuery())))}queryFeatureCount(e,t){return this.load().then((()=>this.source.queryFeatureCount(w.Z.from(e)||this.createQuery())))}queryExtent(e,t){return this.load().then((()=>this.source.queryExtent(w.Z.from(e)||this.createQuery())))}read(e,t){super.read(e,t),t&&"service"===t.origin&&this.revert(["latitudeField","longitudeField"],"service")}write(e,t){return super.write(e,{...t,writeLayerSchema:!0})}clone(){throw new o.Z("csv-layer:clone",`CSVLayer (title: ${this.title}, id: ${this.id}) cannot be cloned`)}async save(e){return _(this,"csv-layer:save")}async saveAs(e,t){return _(this,"csv-layer:save-as")}async hasDataChanged(){try{const{dataChanged:e,updates:t}=await this.source.refresh(this.customParameters);return(0,i.pC)(t)&&this.read(t,{origin:"service",url:this.parsedUrl,ignoreDefaults:!0}),e}catch{}return!1}_verifyFields(){}_verifySource(){}_hasMemorySource(){return!1}};(0,s._)([(0,p.Cb)({readOnly:!0,json:{read:!1,write:!1}})],b.prototype,"capabilities",void 0),(0,s._)([(0,p.Cb)({type:[","," ",";","|","\t"],json:{read:{source:"columnDelimiter"},write:{target:"columnDelimiter",ignoreOrigin:!0}}})],b.prototype,"delimiter",void 0),(0,s._)([(0,p.Cb)({readOnly:!0,type:Boolean,json:{origins:{"web-scene":{read:!1,write:!1}}}})],b.prototype,"editingEnabled",void 0),(0,s._)([(0,p.Cb)({json:{read:{source:"layerDefinition.fields"},write:{target:"layerDefinition.fields"}}})],b.prototype,"fields",void 0),(0,s._)([(0,p.Cb)({type:Boolean,readOnly:!0})],b.prototype,"isTable",null),(0,s._)([(0,l.r)("web-map","labelsVisible",["layerDefinition.drawingInfo.labelingInfo","showLabels"])],b.prototype,"readWebMapLabelsVisible",null),(0,s._)([(0,p.Cb)({type:String,json:{read:{source:"locationInfo.latitudeFieldName"},write:{target:"locationInfo.latitudeFieldName",ignoreOrigin:!0}}})],b.prototype,"latitudeField",void 0),(0,s._)([(0,p.Cb)({type:["show","hide"]})],b.prototype,"listMode",void 0),(0,s._)([(0,p.Cb)({type:["coordinates"],json:{read:{source:"locationInfo.locationType"},write:{target:"locationInfo.locationType",ignoreOrigin:!0,isRequired:!0}}})],b.prototype,"locationType",void 0),(0,s._)([(0,p.Cb)({type:String,json:{read:{source:"locationInfo.longitudeFieldName"},write:{target:"locationInfo.longitudeFieldName",ignoreOrigin:!0}}})],b.prototype,"longitudeField",void 0),(0,s._)([(0,p.Cb)({type:["CSV"]})],b.prototype,"operationalLayerType",void 0),(0,s._)([(0,p.Cb)()],b.prototype,"outFields",void 0),(0,s._)([(0,p.Cb)({type:String,json:{origins:{"web-scene":{read:!1,write:!1}},read:!1,write:!1}})],b.prototype,"path",void 0),(0,s._)([(0,p.Cb)({json:{read:!1},cast:null,type:f,readOnly:!0})],b.prototype,"source",void 0),(0,s._)([(0,p.Cb)({json:{read:!1},value:"csv",readOnly:!0})],b.prototype,"type",void 0),(0,s._)([(0,p.Cb)({json:{read:S.r,write:{isRequired:!0,ignoreOrigin:!0,writer:S.w}}})],b.prototype,"url",null),b=(0,s._)([(0,u.j)("esri.layers.CSVLayer")],b);const F=b},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,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:()=>u,Hq:()=>d,MS:()=>c,bU:()=>a});var s=r(80442),o=r(22974),i=r(61159),n=r(58333);function a(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?n.I4:"esriGeometryPolyline"===e?n.ET:n.lF}}}const p=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let l=1;function u(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${p.test(t)?`.${t}`:`["${t}"]`} = ${JSON.stringify(e[t])};`;const s=new Function(`\n return class AttributesClass$${l++} {\n constructor() {\n ${r};\n }\n }\n `)();return()=>new s}catch(r){return()=>({[t]:null,...e})}}function d(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,o.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},query:i.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}}}},54295:(e,t,r)=>{r.d(t,{V:()=>n});var s=r(43697),o=r(5600),i=(r(75215),r(67676),r(52011));const n=e=>{let t=class extends e{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,s._)([(0,o.Cb)({type:String})],t.prototype,"apiKey",null),t=(0,s._)([(0,i.j)("esri.layers.mixins.APIKeyMixin")],t),t}},17287:(e,t,r)=>{r.d(t,{Y:()=>l});var s=r(43697),o=r(92604),i=r(70586),n=r(5600),a=(r(75215),r(67676),r(52011)),p=r(66677);const l=e=>{let t=class extends e{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,p.Qc)(this.url);if((0,i.pC)(e)&&e.title)return e.title}return this._get("title")||""}set title(e){this._set("title",e)}set url(e){this._set("url",(0,p.Nm)(e,o.Z.getLogger(this.declaredClass)))}};return(0,s._)([(0,n.Cb)()],t.prototype,"title",null),(0,s._)([(0,n.Cb)({type:String})],t.prototype,"url",null),t=(0,s._)([(0,a.j)("esri.layers.mixins.ArcGISService")],t),t}},70082:(e,t,r)=>{r.d(t,{Z:()=>d});var s=r(43697),o=r(2368),i=r(35454),n=r(96674),a=r(5600),p=(r(75215),r(67676),r(52011));const l=new i.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 u=class extends((0,o.J)(n.wq)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,s._)([(0,a.Cb)({json:{write:!0}})],u.prototype,"name",void 0),(0,s._)([(0,a.Cb)({json:{write:!0}})],u.prototype,"description",void 0),(0,s._)([(0,a.Cb)({json:{read:l.read,write:l.write}})],u.prototype,"drawingTool",void 0),(0,s._)([(0,a.Cb)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,s._)([(0,a.Cb)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,s._)([(0,p.j)("esri.layers.support.FeatureTemplate")],u);const d=u},16451:(e,t,r)=>{r.d(t,{Z:()=>y});var s=r(43697),o=r(2368),i=r(96674),n=r(5600),a=(r(75215),r(67676),r(71715)),p=r(52011),l=r(30556),u=r(72729),d=r(70082);let c=class extends((0,o.J)(i.wq)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,u.im)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,s._)([(0,n.Cb)({json:{write:!0}})],c.prototype,"id",void 0),(0,s._)([(0,n.Cb)({json:{write:!0}})],c.prototype,"name",void 0),(0,s._)([(0,n.Cb)({json:{write:!0}})],c.prototype,"domains",void 0),(0,s._)([(0,a.r)("domains")],c.prototype,"readDomains",null),(0,s._)([(0,l.c)("domains")],c.prototype,"writeDomains",null),(0,s._)([(0,n.Cb)({type:[d.Z],json:{write:!0}})],c.prototype,"templates",void 0),c=(0,s._)([(0,p.j)("esri.layers.support.FeatureType")],c);const y=c},56765:(e,t,r)=>{r.d(t,{Z:()=>u});var s,o=r(43697),i=r(46791),n=r(96674),a=r(5600),p=(r(75215),r(67676),r(52011));let l=s=class extends n.wq{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new i.Z}clone(){return new s({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],l.prototype,"floorField",void 0),(0,o._)([(0,a.Cb)({json:{read:!1,write:!1}})],l.prototype,"viewAllMode",void 0),(0,o._)([(0,a.Cb)({json:{read:!1,write:!1}})],l.prototype,"viewAllLevelIds",void 0),l=s=(0,o._)([(0,p.j)("esri.layers.support.LayerFloorInfo")],l);const u=l},72064:(e,t,r)=>{r.d(t,{h:()=>d});var s=r(80442),o=r(70586),i=r(66677);const n={name:"supportsName",size:"supportsSize",contentType:"supportsContentType",keywords:"supportsKeywords",exifInfo:"supportsExifInfo"};function a(e,t,r){return!!(e&&e.hasOwnProperty(t)?e[t]:r)}function p(e,t,r){return e&&e.hasOwnProperty(t)?e[t]:r}function l(e){const t=e?.supportedSpatialAggregationStatistics?.map((e=>e.toLowerCase()));return{envelope:!!t?.includes("envelopeaggregate"),centroid:!!t?.includes("centroidaggregate"),convexHull:!!t?.includes("convexhullaggregate")}}function u(e,t){const r=e?.supportedOperationsWithCacheHint?.map((e=>e.toLowerCase()));return!!r?.includes(t.toLowerCase())}function d(e,t){return{analytics:c(e),attachment:y(e),data:h(e),metadata:m(e),operations:g(e.capabilities,e,t),query:f(e,t),queryRelated:v(e),queryTopFeatures:w(e),editing:S(e)}}function c(e){return{supportsCacheHint:u(e.advancedQueryCapabilities,"queryAnalytics")}}function y(e){const t=e.attachmentProperties,r={supportsName:!1,supportsSize:!1,supportsContentType:!1,supportsKeywords:!1,supportsExifInfo:!1,supportsCacheHint:u(e.advancedQueryCapabilities,"queryAttachments"),supportsResize:a(e,"supportsAttachmentsResizing",!1)};return t&&Array.isArray(t)&&t.forEach((e=>{const t=n[e.name];t&&(r[t]=!!e.isEnabled)})),r}function h(e){return{isVersioned:a(e,"isDataVersioned",!1),supportsAttachment:a(e,"hasAttachments",!1),supportsM:a(e,"hasM",!1),supportsZ:a(e,"hasZ",!1)}}function m(e){return{supportsAdvancedFieldProperties:a(e,"supportsFieldDescriptionProperty",!1)}}function g(e,t,r){const s=e?e.toLowerCase().split(",").map((e=>e.trim())):[],n=r?(0,i.Qc)(r):null,p=s.includes((0,o.pC)(n)&&"MapServer"===n.serverType?"data":"query"),l=s.includes("editing")&&!t.datesInUnknownTimezone;let u=l&&s.includes("create"),d=l&&s.includes("delete"),c=l&&s.includes("update");const y=s.includes("changetracking"),h=t.advancedQueryCapabilities;return l&&!(u||d||c)&&(u=d=c=!0),{supportsCalculate:a(t,"supportsCalculate",!1),supportsTruncate:a(t,"supportsTruncate",!1),supportsValidateSql:a(t,"supportsValidateSql",!1),supportsAdd:u,supportsDelete:d,supportsEditing:l,supportsChangeTracking:y,supportsQuery:p,supportsQueryAnalytics:a(h,"supportsQueryAnalytic",!1),supportsQueryAttachments:a(h,"supportsQueryAttachments",!1),supportsQueryTopFeatures:a(h,"supportsTopFeaturesQuery",!1),supportsResizeAttachments:a(t,"supportsAttachmentsResizing",!1),supportsSync:s.includes("sync"),supportsUpdate:c,supportsExceedsLimitStatistics:a(t,"supportsExceedsLimitStatistics",!1)}}function f(e,t){const r=e.advancedQueryCapabilities,o=e.ownershipBasedAccessControlForFeatures,n=e.archivingInfo,d=e.currentVersion,c=t?.includes("MapServer"),y=!c||d>=(0,s.Z)("mapserver-pbf-version-support"),h=(0,i.M8)(t),m=new Set((e.supportedQueryFormats??"").split(",").map((e=>e.toLowerCase().trim())));return{supportsStatistics:a(r,"supportsStatistics",e.supportsStatistics),supportsPercentileStatistics:a(r,"supportsPercentileStatistics",!1),supportsSpatialAggregationStatistics:a(r,"supportsSpatialAggregationStatistics",!1),supportedSpatialAggregationStatistics:l(r),supportsCentroid:a(r,"supportsReturningGeometryCentroid",!1),supportsDistance:a(r,"supportsQueryWithDistance",!1),supportsDistinct:a(r,"supportsDistinct",e.supportsAdvancedQueries),supportsExtent:a(r,"supportsReturningQueryExtent",!1),supportsGeometryProperties:a(r,"supportsReturningGeometryProperties",!1),supportsHavingClause:a(r,"supportsHavingClause",!1),supportsOrderBy:a(r,"supportsOrderBy",e.supportsAdvancedQueries),supportsPagination:a(r,"supportsPagination",!1),supportsQuantization:a(e,"supportsCoordinatesQuantization",!1),supportsQuantizationEditMode:a(e,"supportsQuantizationEditMode",!1),supportsQueryGeometry:a(e,"supportsReturningQueryGeometry",!1),supportsResultType:a(r,"supportsQueryWithResultType",!1),supportsMaxRecordCountFactor:a(r,"supportsMaxRecordCountFactor",!1),supportsSqlExpression:a(r,"supportsSqlExpression",!1),supportsStandardizedQueriesOnly:a(e,"useStandardizedQueries",!1),supportsTopFeaturesQuery:a(r,"supportsTopFeaturesQuery",!1),supportsQueryByOthers:a(o,"allowOthersToQuery",!0),supportsHistoricMoment:a(n,"supportsQueryWithHistoricMoment",!1),supportsFormatPBF:y&&m.has("pbf"),supportsDisjointSpatialRelationship:a(r,"supportsDisjointSpatialRel",!1),supportsCacheHint:a(r,"supportsQueryWithCacheHint",!1)||u(r,"query"),supportsDefaultSpatialReference:a(r,"supportsDefaultSR",!1),supportsCompactGeometry:h,supportsFullTextSearch:a(r,"supportsFullTextSearch",!1),maxRecordCountFactor:p(e,"maxRecordCountFactor",void 0),maxRecordCount:p(e,"maxRecordCount",void 0),standardMaxRecordCount:p(e,"standardMaxRecordCount",void 0),tileMaxRecordCount:p(e,"tileMaxRecordCount",void 0)}}function v(e){const t=e.advancedQueryCapabilities,r=a(t,"supportsAdvancedQueryRelated",!1);return{supportsPagination:a(t,"supportsQueryRelatedPagination",!1),supportsCount:r,supportsOrderBy:r,supportsCacheHint:u(t,"queryRelated")}}function w(e){return{supportsCacheHint:u(e.advancedQueryCapabilities,"queryTopFilter")}}function S(e){const t=e.ownershipBasedAccessControlForFeatures;return{supportsGeometryUpdate:a(e,"allowGeometryUpdates",!0),supportsGlobalId:a(e,"supportsApplyEditsWithGlobalIds",!1),supportsReturnServiceEditsInSourceSpatialReference:a(e,"supportsReturnServiceEditsInSourceSR",!1),supportsRollbackOnFailure:a(e,"supportsRollbackOnFailureParameter",!1),supportsUpdateWithoutM:a(e,"allowUpdateWithoutMValues",!1),supportsUploadWithItemId:a(e,"supportsAttachmentsByUploadId",!1),supportsDeleteByAnonymous:a(t,"allowAnonymousToDelete",!0),supportsDeleteByOthers:a(t,"allowOthersToDelete",!0),supportsUpdateByAnonymous:a(t,"allowAnonymousToUpdate",!0),supportsUpdateByOthers:a(t,"allowOthersToUpdate",!0)}}},51706:(e,t,r)=>{var s,o;function i(e){return e&&"esri.renderers.visualVariables.SizeVariable"===e.declaredClass}function n(e){return null!=e&&!isNaN(e)&&isFinite(e)}function a(e){return e.valueExpression?s.Expression:e.field&&"string"==typeof e.field?s.Field:s.Unknown}function p(e,t){const r=t||a(e),i=e.valueUnit||"unknown";return r===s.Unknown?o.Constant:e.stops?o.Stops:null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?o.ClampedLinear:"unknown"===i?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?o.Proportional:o.Additive:o.Identity:o.RealWorldSize}r.d(t,{PS:()=>a,QW:()=>p,RY:()=>s,hL:()=>o,iY:()=>i,qh:()=>n}),function(e){e.Unknown="unknown",e.Expression="expression",e.Field="field"}(s||(s={})),function(e){e.Unknown="unknown",e.Stops="stops",e.ClampedLinear="clamped-linear",e.Proportional="proportional",e.Additive="additive",e.Constant="constant",e.Identity="identity",e.RealWorldSize="real-world-size"}(o||(o={}))},28694:(e,t,r)=>{r.d(t,{p:()=>i});var s=r(70586),o=r(69285);function i(e,t,r){if(!r||!r.features||!r.hasZ)return;const i=(0,o.k)(r.geometryType,t,e.outSpatialReference);if(!(0,s.Wi)(i))for(const e of r.features)i(e.geometry)}},56545:(e,t,r)=>{r.d(t,{Z:()=>c});var s,o=r(43697),i=r(96674),n=r(22974),a=r(5600),p=r(75215),l=r(52011),u=r(30556);let d=s=class extends i.wq{constructor(e){super(e),this.attachmentTypes=null,this.attachmentsWhere=null,this.cacheHint=void 0,this.keywords=null,this.globalIds=null,this.name=null,this.num=null,this.objectIds=null,this.returnMetadata=!1,this.size=null,this.start=null,this.where=null}writeStart(e,t){t.resultOffset=this.start,t.resultRecordCount=this.num||10}clone(){return new s((0,n.d9)({attachmentTypes:this.attachmentTypes,attachmentsWhere:this.attachmentsWhere,cacheHint:this.cacheHint,keywords:this.keywords,where:this.where,globalIds:this.globalIds,name:this.name,num:this.num,objectIds:this.objectIds,returnMetadata:this.returnMetadata,size:this.size,start:this.start}))}};(0,o._)([(0,a.Cb)({type:[String],json:{write:!0}})],d.prototype,"attachmentTypes",void 0),(0,o._)([(0,a.Cb)({type:String,json:{read:{source:"attachmentsDefinitionExpression"},write:{target:"attachmentsDefinitionExpression"}}})],d.prototype,"attachmentsWhere",void 0),(0,o._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],d.prototype,"cacheHint",void 0),(0,o._)([(0,a.Cb)({type:[String],json:{write:!0}})],d.prototype,"keywords",void 0),(0,o._)([(0,a.Cb)({type:[Number],json:{write:!0}})],d.prototype,"globalIds",void 0),(0,o._)([(0,a.Cb)({json:{write:!0}})],d.prototype,"name",void 0),(0,o._)([(0,a.Cb)({type:Number,json:{read:{source:"resultRecordCount"}}})],d.prototype,"num",void 0),(0,o._)([(0,a.Cb)({type:[Number],json:{write:!0}})],d.prototype,"objectIds",void 0),(0,o._)([(0,a.Cb)({type:Boolean,json:{default:!1,write:!0}})],d.prototype,"returnMetadata",void 0),(0,o._)([(0,a.Cb)({type:[Number],json:{write:!0}})],d.prototype,"size",void 0),(0,o._)([(0,a.Cb)({type:Number,json:{read:{source:"resultOffset"}}})],d.prototype,"start",void 0),(0,o._)([(0,u.c)("start"),(0,u.c)("num")],d.prototype,"writeStart",null),(0,o._)([(0,a.Cb)({type:String,json:{read:{source:"definitionExpression"},write:{target:"definitionExpression"}}})],d.prototype,"where",void 0),d=s=(0,o._)([(0,l.j)("esri.rest.support.AttachmentQuery")],d),d.from=(0,p.se)(d);const c=d},74889:(e,t,r)=>{r.d(t,{Z:()=>S});var s,o=r(43697),i=r(66577),n=r(38171),a=r(35454),p=r(96674),l=r(22974),u=r(70586),d=r(5600),c=(r(75215),r(71715)),y=r(52011),h=r(30556),m=r(82971),g=r(33955),f=r(1231);const v=new a.X({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let w=s=class extends p.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=m.Z.fromJSON(t.spatialReference),s=[];for(let t=0;t<e.length;t++){const o=e[t],i=n.Z.fromJSON(o),a=o.geometry&&o.geometry.spatialReference;(0,u.pC)(i.geometry)&&!a&&(i.geometry.spatialReference=r);const p=o.aggregateGeometries,l=i.aggregateGeometries;if(p&&(0,u.pC)(l))for(const e in l){const t=l[e],s=p[e]?.spatialReference;(0,u.pC)(t)&&!s&&(t.spatialReference=r)}s.push(i)}return s}writeGeometryType(e,t,r,s){if(e)return void v.write(e,t,r,s);const{features:o}=this;if(o)for(const e of o)if(e&&(0,u.pC)(e.geometry))return void v.write(e.geometry.type,t,r,s)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,s=(0,g.im)(e);return s&&!r&&t.spatialReference&&(s.spatialReference=m.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&&(0,u.pC)(e.geometry)&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new s(this.cloneProperties())}cloneProperties(){return(0,l.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&&e[r];s.geometry=t&&t.toJSON()||s.geometry}}return t}quantize(e){const{scale:[t,r],translate:[s,o]}=e,i=this.features,n=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-s)/t)),(e=>Math.round((o-e)/r)));for(let e=0,t=i.length;e<t;e++)n?.((0,u.Wg)(i[e].geometry))||(i.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,o],scale:[i,n]}=r,a=this._getHydrationFunction(e,(e=>e*i+s),(e=>o-e*n));for(const{geometry:e}of t)(0,u.pC)(e)&&a&&a(e);return this.transform=null,this}_quantizePoints(e,t,r){let s,o;const i=[];for(let n=0,a=e.length;n<a;n++){const a=e[n];if(n>0){const e=t(a[0]),n=r(a[1]);e===s&&n===o||(i.push([e-s,n-o]),s=e,o=n)}else s=t(a[0]),o=r(a[1]),i.push([s,o])}return i.length>0?i: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,g.oU)(e)?e.rings:e.paths,o=[];for(let e=0,i=s.length;e<i;e++){const i=s[e],n=this._quantizePoints(i,t,r);n&&o.push(n)}return o.length>0?((0,g.oU)(e)?e.rings=o:e.paths=o,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){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y)}:"polyline"===e||"polygon"===e?e=>{const s=(0,g.oU)(e)?e.rings:e.paths;let o,i;for(let e=0,n=s.length;e<n;e++){const n=s[e];for(let e=0,s=n.length;e<s;e++){const s=n[e];e>0?(o+=s[0],i+=s[1]):(o=s[0],i=s[1]),s[0]=t(o),s[1]=r(i)}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax)}:"multipoint"===e?e=>{const s=e.points;let o,i;for(let e=0,n=s.length;e<n;e++){const n=s[e];e>0?(o+=n[0],i+=n[1]):(o=n[0],i=n[1]),n[0]=t(o),n[1]=r(i)}}:null}};(0,o._)([(0,d.Cb)({type:String,json:{write:!0}})],w.prototype,"displayFieldName",void 0),(0,o._)([(0,d.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"exceededTransferLimit",void 0),(0,o._)([(0,d.Cb)({type:[n.Z],json:{write:!0}})],w.prototype,"features",void 0),(0,o._)([(0,c.r)("features")],w.prototype,"readFeatures",null),(0,o._)([(0,d.Cb)({type:[f.Z],json:{write:!0}})],w.prototype,"fields",void 0),(0,o._)([(0,d.Cb)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:v.read}}})],w.prototype,"geometryType",void 0),(0,o._)([(0,h.c)("geometryType")],w.prototype,"writeGeometryType",null),(0,o._)([(0,d.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasM",void 0),(0,o._)([(0,d.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasZ",void 0),(0,o._)([(0,d.Cb)({types:i.qM,json:{write:!0}})],w.prototype,"queryGeometry",void 0),(0,o._)([(0,c.r)("queryGeometry")],w.prototype,"readQueryGeometry",null),(0,o._)([(0,d.Cb)({type:m.Z,json:{write:!0}})],w.prototype,"spatialReference",void 0),(0,o._)([(0,h.c)("spatialReference")],w.prototype,"writeSpatialReference",null),(0,o._)([(0,d.Cb)({json:{write:!0}})],w.prototype,"transform",void 0),w=s=(0,o._)([(0,y.j)("esri.rest.support.FeatureSet")],w),w.prototype.toJSON.isDefaultToJSON=!0;const S=w},58333:(e,t,r)=>{r.d(t,{ET:()=>i,I4:()=>o,eG:()=>p,lF:()=>n,lj:()=>u,qP:()=>a,wW:()=>l});const s=[252,146,31,255],o={type:"esriSMS",style:"esriSMSCircle",size:6,color:s,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},i={type:"esriSLS",style:"esriSLSSolid",width:.75,color:s},n={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},a={type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},p={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},l={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},u={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4242],{84552:(e,t,r)=>{r.d(t,{Z:()=>m});var n=r(43697),i=r(2368),a=r(96674),s=r(35463),o=r(5600),l=(r(75215),r(67676),r(36030)),c=r(52011),u=r(78981);let d=class extends((0,i.J)(a.wq)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,s.rJ)(this.value,this.unit,"milliseconds")}};(0,n._)([(0,l.J)(u.v,{nonNullable:!0})],d.prototype,"unit",void 0),(0,n._)([(0,o.Cb)({type:Number,json:{write:!0},nonNullable:!0})],d.prototype,"value",void 0),d=(0,n._)([(0,c.j)("esri.TimeInterval")],d);const m=d},74669:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(69801);class i{constructor(e,t){this._storage=new n.WJ,this._storage.maxSize=e,t&&this._storage.registerRemoveFunc("",t)}put(e,t){this._storage.put(e,t,1,1)}pop(e){return this._storage.pop(e)}get(e){return this._storage.get(e)}clear(){this._storage.clearAll()}destroy(){this._storage.destroy()}}},64830:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(70586);class i{constructor(e=(e=>e.values().next().value)){this._peeker=e,this._items=new Set}get length(){return this._items.size}clear(){this._items.clear()}last(){if(0===this._items.size)return;let e;for(e of this._items);return e}peek(){if(0!==this._items.size)return this._peeker(this._items)}push(e){this.contains(e)||this._items.add(e)}contains(e){return this._items.has(e)}pop(){if(0===this.length)return;const e=this.peek();return this._items.delete((0,n.j0)(e)),e}popLast(){if(0===this.length)return;const e=this.last();return this._items.delete((0,n.j0)(e)),e}remove(e){this._items.delete(e)}filter(e){return this._items.forEach((t=>{e(t)||this._items.delete(t)})),this}}},80903:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(50758),i=r(92604),a=r(95330),s=r(64830),o=r(25045);class l{constructor(){this._inUseClients=new Array,this._clients=new Array,this._clientPromises=new Array,this._ongoingJobsQueue=new s.Z}destroy(){this.close()}get closed(){return!this._clients||!this._clients.length}open(e,t){return new Promise(((r,n)=>{let i=!0;const s=e=>{(0,a.k_)(t.signal),i&&(i=!1,e())};this._clients.length=e.length,this._clientPromises.length=e.length,this._inUseClients.length=e.length;for(let i=0;i<e.length;++i){const l=e[i];(0,a.y8)(l)?this._clientPromises[i]=l.then((e=>(this._clients[i]=new o.default(e,t,(()=>this._ongoingJobsQueue.pop()??null)),s(r),this._clients[i])),(()=>(s(n),null))):(this._clients[i]=new o.default(l,t,(()=>this._ongoingJobsQueue.pop()??null)),this._clientPromises[i]=Promise.resolve(this._clients[i]),s(r))}}))}broadcast(e,t,r){const n=new Array(this._clientPromises.length);for(let i=0;i<this._clientPromises.length;++i){const a=this._clientPromises[i];n[i]=a.then((n=>n?.invoke(e,t,r)))}return n}close(){let e;for(;e=this._ongoingJobsQueue.pop();)e.deferred.reject((0,a.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}invoke(e,t,r){let n;Array.isArray(r)?(i.Z.getLogger("esri.core.workers.Connection").warn("invoke()","The transferList parameter is deprecated, use the options object instead"),n={transferList:r}):n=r;const s=(0,a.dD)();this._ongoingJobsQueue.push({methodName:e,data:t,invokeOptions:n,deferred: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}on(e,t){return Promise.all(this._clientPromises).then((()=>(0,n.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 n=0;n<this._clientPromises.length;++n)this._clientPromises[n].then((i=>{i&&(t[n]=i.openPort()),0==--r&&e(t)}))}))}get test(){return{numClients:this._clients.length}}}},78346:(e,t,r)=>{r.d(t,{bA:()=>R});var n=r(20102),i=r(80442),a=r(95330),s=r(80903),o=r(25045),l=r(40330),c=r(92604),u=r(70586),d=r(94362),m=r(99880),p=r(68773),g=(r(2587),r(17452));const h={};function y(e){const t={async:e.async,isDebug:e.isDebug,locale:e.locale,baseUrl:e.baseUrl,has:{...e.has},map:{...e.map},packages:e.packages&&e.packages.concat()||[],paths:{...e.paths}};return e.hasOwnProperty("async")||(t.async=!0),e.hasOwnProperty("isDebug")||(t.isDebug=!1),e.baseUrl||(t.baseUrl=h.baseUrl),t}var f=r(41213);class w{constructor(){const e=document.createDocumentFragment();["addEventListener","dispatchEvent","removeEventListener"].forEach((t=>{this[t]=(...r)=>e[t](...r)}))}}class M{constructor(){this._dispatcher=new w,this._workerPostMessage({type:d.Cs.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,f.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,f.Y)((()=>{this.dispatchEvent(new MessageEvent("message",{data:e}))}))}async _workerMessageHandler(e){const t=(0,d.QM)(e);if(t&&t.type===d.Cs.OPEN){const{modulePath:e,jobId:r}=t;let n=await o.default.loadWorker(e);n||(n=await import(e));const i=o.default.connect(n);this._workerPostMessage({type:d.Cs.OPENED,jobId:r,data:i})}}}var I=r(70171),b=r(17202);const v=c.Z.getLogger("esri.core.workers.workerFactory"),{HANDSHAKE:A}=d.Cs;let C,D;const N="Failed to create Worker. Fallback to execute module in main thread";async function T(e){return new Promise((t=>{function r(i){const a=(0,d.QM)(i);a&&a.type===A&&(e.removeEventListener("message",r),e.removeEventListener("error",n),t(e))}function n(t){t.preventDefault(),e.removeEventListener("message",r),e.removeEventListener("error",n),v.warn("Failed to create Worker. Fallback to execute module in main thread",t),(e=new M).addEventListener("message",r),e.addEventListener("error",n)}e.addEventListener("message",r),e.addEventListener("error",n)}))}function S(){let e;if(null!=p.Z.default){const t={...p.Z};delete t.default,e=JSON.parse(JSON.stringify(t))}else e=JSON.parse(JSON.stringify(p.Z));e.assetsPath=(0,g.hF)(e.assetsPath),e.defaultAssetsPath=e.defaultAssetsPath?(0,g.hF)(e.defaultAssetsPath):void 0,e.request.interceptors=[],e.log.interceptors=[],e.locale=(0,I.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"),"featurelayer-pbf":(0,i.Z)("featurelayer-pbf"),"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"),"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,"polylabel-placement-enabled":(0,i.Z)("polylabel-placement-enabled")},e.workers.loaderUrl&&(e.workers.loaderUrl=(0,g.hF)(e.workers.loaderUrl)),e.workers.workerPath?e.workers.workerPath=(0,g.hF)(e.workers.workerPath):e.workers.workerPath=(0,g.hF)((0,m.V)("esri/core/workers/RemoteClient.js")),e.workers.useDynamicImport=!1;const t=p.Z.workers.loaderConfig,r=y({baseUrl:t?.baseUrl,locale:(0,I.Kd)(),has:{"csp-restrictions":1,"dojo-test-sniff":0,"host-webworker":1,...t?.has},map:{...t?.map},paths:{...t?.paths},packages:t?.packages||[]}),n={version:l.i8,buildDate:b.r,revision:b.$};return JSON.stringify({esriConfig:e,loaderConfig:r,kernelInfo:n})}let j=0;const{ABORT:L,INVOKE:Z,OPEN:x,OPENED:k,RESPONSE:U}=d.Cs;class _{static async create(e){const t=await async function(){if(!(0,i.Z)("esri-workers")||((0,i.Z)("mozilla"),0))return T(new M);if(!C&&!D)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,i)=>{if(t){if(t.aborted)return i(createAbortError());t.addEventListener("abort",(()=>{outgoing.get(n)&&(outgoing.delete(n),self.postMessage({type:5,jobId:n}),i(createAbortError()))}))}outgoing.set(n,{resolve:r,reject:i}),self.postMessage({type:4,jobId:n,methodName:e,abortable:null!=t,data:o})}))}let workerRevisionChecked=!1;function checkWorkerRevision(e){if(!workerRevisionChecked&&e.kernelInfo){workerRevisionChecked=!0;const{revision:o,version:r}=configuration.kernelInfo,{revision:t,version:n}=e.kernelInfo;esriConfig.assetsPath!==esriConfig.defaultAssetsPath&&o!==t&&console.warn(`Version mismatch detected between ArcGIS API for JavaScript modules and assets. For more information visit https://bit.ly/3QnsuSo.\\nModules version: ${r}\\nAssets version: ${n}`)}}function messageHandler(e){const o=receiveMessage(e);if(!o)return;const r=o.jobId;switch(o.type){case 1:let n;function t(e){const o=n.connect(e);self.postMessage({type:2,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 3:if(outgoing.has(r)){const i=outgoing.get(r);outgoing.delete(r),o.error?i.reject(JSON.parse(o.error)):i.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(`'${S()}'`);C=URL.createObjectURL(new Blob([e],{type:"text/javascript"}))}catch(e){D=e||{}}let e;if(C)try{e=new Worker(C,{name:"esri-worker-"+j++})}catch(t){v.warn(N,D),e=new M}else v.warn(N,D),e=new M;return T(e)}();return new _(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(),c.Z.getLogger("esri.core.workers.WorkerOwner").error(e)}))}terminate(){this.worker.terminate()}async open(e,t={}){const{signal:r}=t,n=(0,d.jt)();return new Promise(((t,i)=>{const s={resolve:t,reject:i,abortHandle:(0,a.$F)(r,(()=>{this._outJobs.delete(n),this._post({type:L,jobId:n})}))};this._outJobs.set(n,s),this._post({type:x,jobId:n,modulePath:e})}))}_onMessage(e){const t=(0,d.QM)(e);if(t)switch(t.type){case k:this._onOpenedMessage(t);break;case U:this._onResponseMessage(t);break;case L:this._onAbortMessage(t);break;case Z:this._onInvokeMessage(t)}}_onAbortMessage(e){const t=this._inJobs,r=e.jobId,n=t.get(r);n&&(n.controller&&n.controller.abort(),t.delete(r))}_onInvokeMessage(e){const{methodName:t,jobId:r,data:n,abortable:i}=e,s=i?new AbortController:null,o=this._inJobs,c=l.Nv[t];let u;try{if("function"!=typeof c)throw new TypeError(`${t} is not a function`);u=c.call(null,n,{signal:s?s.signal:null})}catch(e){return void this._post({type:U,jobId:r,error:(0,d.AB)(e)})}(0,a.y8)(u)?(o.set(r,{controller:s,promise:u}),u.then((e=>{o.has(r)&&(o.delete(r),this._post({type:U,jobId:r},e))}),(e=>{o.has(r)&&(o.delete(r),e||(e={message:"Error encountered at method"+t}),(0,a.D_)(e)||this._post({type:U,jobId:r,error:(0,d.AB)(e||{message:`Error encountered at method ${t}`})}))}))):this._post({type:U,jobId:r},u)}_onOpenedMessage(e){const{jobId:t,data:r}=e,n=this._outJobs.get(t);n&&(this._outJobs.delete(t),(0,u.hw)(n.abortHandle),n.resolve(r))}_onResponseMessage(e){const{jobId:t,error:r,data:i}=e,a=this._outJobs.get(t);a&&(this._outJobs.delete(t),(0,u.hw)(a.abortHandle),r?a.reject(n.Z.fromJSON(JSON.parse(r))):a.resolve(i))}_post(e,t,r){return(0,d.oi)(this.worker,e,t,r)}}let z=(0,i.Z)("esri-workers-debug")?1:(0,i.Z)("esri-mobile")?Math.min(navigator.hardwareConcurrency-1,3):(0,i.Z)("host-browser")?navigator.hardwareConcurrency-1:0;z||(z=(0,i.Z)("safari")&&(0,i.Z)("mac")?7:2);let B=0;const E=[];async function H(e,t){const r=new s.Z;return await r.open(e,t),r}async function R(e,t={}){if("string"!=typeof e)throw new n.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 o.default.loadWorker(e);r||(r=await import(e)),(0,a.k_)(t.signal);const n=t.client||r;return H([o.default.connect(r)],{...t,client:n})}if(await async function(){if(O)return O;P=new AbortController;const e=[];for(let t=0;t<z;t++){const r=_.create(t).then((e=>(E[t]=e,e)));e.push(r)}return O=Promise.all(e),O}(),(0,a.k_)(t.signal),"dedicated"===r){const r=B++%z;return H([await E[r].open(e,t)],t)}if(t.maxNumWorkers&&t.maxNumWorkers>0){const r=Math.min(t.maxNumWorkers,z);if(r<z){const n=new Array(r);for(let i=0;i<r;++i){const r=B++%z;n[i]=E[r].open(e,t)}return H(n,t)}}return H(E.map((r=>r.open(e,t))),t)}let P,O=null},2587:(e,t,r)=>{r(90344),r(18848),r(940),r(70171);var n=r(94443),i=r(3172),a=r(20102),s=r(70586);async function o(e){if((0,s.pC)(c.fetchBundleAsset))return c.fetchBundleAsset(e);const t=await(0,i.default)(e,{responseType:"text"});return JSON.parse(t.data)}class l{constructor({base:e="",pattern:t,location:r=new URL(window.location.href)}){let n;n="string"==typeof r?e=>new URL(e,new URL(r,window.location.href)).href:r instanceof URL?e=>new URL(e,r).href:r,this.pattern="string"==typeof t?new RegExp(`^${t}`):t,this.getAssetUrl=n,e=e?e.endsWith("/")?e:e+"/":"",this.matcher=new RegExp(`^${e}(?:(.*)/)?(.*)$`)}fetchMessageBundle(e,t){return async function(e,t,r,i){const s=t.exec(r);if(!s)throw new a.Z("esri-intl:invalid-bundle",`Bundle id "${r}" is not compatible with the pattern "${t}"`);const l=s[1]?`${s[1]}/`:"",c=s[2],u=(0,n.Su)(i),d=`${l}${c}.json`,m=u?`${l}${c}_${u}.json`:d;let p;try{p=await o(e(m))}catch(t){if(m===d)throw new a.Z("intl:unknown-bundle",`Bundle "${r}" cannot be loaded`,{error:t});try{p=await o(e(d))}catch(e){throw new a.Z("intl:unknown-bundle",`Bundle "${r}" cannot be loaded`,{error:e})}}return p}(this.getAssetUrl,this.matcher,e,t)}}const c={};var u,d=r(99880);(0,n.tz)((u={pattern:"esri/",location:d.V},new l(u)))},940:(e,t,r)=>{r.d(t,{n:()=>c});var n=r(92604),i=r(78286),a=r(19153),s=r(90344),o=r(18848);const l=n.Z.getLogger("esri.intl.substitute");function c(e,t,r={}){const{format:n={}}=r;return(0,a.gx)(e,(e=>function(e,t,r){let n,a;const s=e.indexOf(":");if(-1===s?n=e.trim():(n=e.slice(0,s).trim(),a=e.slice(s+1).trim()),!n)return"";const o=(0,i.hS)(n,t);if(null==o)return"";const l=(a?r?.[a]:null)??r?.[n];return l?u(o,l):a?d(o,a):m(o)}(e,t,n)))}function u(e,t){switch(t.type){case"date":return(0,s.p6)(e,t.intlOptions);case"number":return(0,o.uf)(e,t.intlOptions);default:return l.warn("missing format descriptor for key {key}"),m(e)}}function d(e,t){switch(t.toLowerCase()){case"dateformat":return(0,s.p6)(e);case"numberformat":return(0,o.uf)(e);default:return l.warn(`inline format is unsupported since 4.12: ${t}`),/^(dateformat|datestring)/i.test(t)?(0,s.p6)(e):/^numberformat/i.test(t)?(0,o.uf)(e):m(e)}}function m(e){switch(typeof e){case"string":return e;case"number":return(0,o.uf)(e);case"boolean":return""+e;default:return e instanceof Date?(0,s.p6)(e):""}}},17017:(e,t,r)=>{r.d(t,{N:()=>s});var n=r(43697),i=r(5600),a=(r(75215),r(67676),r(52011));const s=e=>{let t=class extends e{constructor(){super(...arguments),this.customParameters=null}};return(0,n._)([(0,i.Cb)({type:Object,json:{write:{overridePolicy:e=>({enabled:!!(e&&Object.keys(e).length>0)})}}})],t.prototype,"customParameters",void 0),t=(0,n._)([(0,a.j)("esri.layers.mixins.CustomParametersMixin")],t),t}},34760:(e,t,r)=>{r.d(t,{Q:()=>f});var n=r(43697),i=r(92604),a=r(95330),s=r(5600),o=(r(75215),r(67676),r(52011)),l=r(46791),c=(r(80442),r(20102),r(26258),r(87538));const u=new l.Z,d=new WeakMap;function m(e){return null!=e&&"object"==typeof e&&"refreshInterval"in e&&"refresh"in e}function p(e,t){return Number.isFinite(e)&&Number.isFinite(t)?t<=0?e:p(t,e%t):0}let g=0,h=0;function y(){const e=Date.now();for(const t of u)t.refreshInterval&&e-(d.get(t)??0)+5>=6e4*t.refreshInterval&&(d.set(t,e),t.refresh(e))}(0,c.EH)((()=>{const e=Date.now();let t=0;for(const r of u)t=p(Math.round(6e4*r.refreshInterval),t),r.refreshInterval?d.get(r)||d.set(r,e):d.delete(r);if(t!==h){if(h=t,clearInterval(g),0===h)return void(g=0);g=setInterval(y,h)}}));const f=e=>{let t=class extends e{constructor(...e){super(...e),this.refreshInterval=0,this.refreshTimestamp=0,this._debounceHasDataChanged=(0,a.Ds)((()=>this.hasDataChanged())),this.when().then((()=>{!function(e){m(e)&&u.push(e)}(this)}),(()=>{}))}destroy(){var e;m(e=this)&&u.includes(e)&&u.remove(e)}get refreshParameters(){return{_ts:this.refreshTimestamp||null}}refresh(e=Date.now()){(0,a.R8)(this._debounceHasDataChanged()).then((t=>{t&&this._set("refreshTimestamp",e),this.emit("refresh",{dataChanged:t})}),(e=>{i.Z.getLogger(this.declaredClass).error(e),this.emit("refresh",{dataChanged:!1,error:e})}))}async hasDataChanged(){return!0}};return(0,n._)([(0,s.Cb)({type:Number,cast:e=>e>=.1?e:e<=0?0:.1,json:{write:!0}})],t.prototype,"refreshInterval",void 0),(0,n._)([(0,s.Cb)({readOnly:!0})],t.prototype,"refreshTimestamp",void 0),(0,n._)([(0,s.Cb)()],t.prototype,"refreshParameters",null),t=(0,n._)([(0,o.j)("esri.layers.mixins.RefreshableLayer")],t),t}},28294:(e,t,r)=>{r.d(t,{n:()=>m});var n=r(43697),i=r(92835),a=r(84552),s=r(5600),o=(r(75215),r(67676),r(71715)),l=r(52011),c=r(35671),u=r(76259),d=r(78981);const m=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 n=r.timeOffset,i=d.v.fromJSON(r.timeOffsetUnits);return n&&i?new a.Z({value:n,unit:i}):null}set timeInfo(e){(0,c.UF)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,n._)([(0,s.Cb)({type:i.Z,json:{write:!1}})],t.prototype,"timeExtent",void 0),(0,n._)([(0,s.Cb)({type:a.Z})],t.prototype,"timeOffset",void 0),(0,n._)([(0,o.r)("service","timeOffset",["timeInfo.exportOptions"])],t.prototype,"readOffset",null),(0,n._)([(0,s.Cb)({value:null,type:u.Z,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],t.prototype,"timeInfo",null),(0,n._)([(0,s.Cb)({type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation"},origins:{"web-scene":{read:!1,write:!1}}}})],t.prototype,"useViewTime",void 0),t=(0,n._)([(0,l.j)("esri.layers.mixins.TemporalLayer")],t),t}},35956:(e,t,r)=>{r.d(t,{Z:()=>d});var n,i=r(43697),a=r(96674),s=r(22974),o=r(5600),l=r(75215),c=r(52011);let u=n=class extends a.wq{constructor(e){super(e),this.variableName=null,this.dimensionName=null,this.values=[],this.isSlice=!1}clone(){return new n({variableName:this.variableName,dimensionName:this.dimensionName,values:(0,s.d9)(this.values),isSlice:this.isSlice})}};(0,i._)([(0,o.Cb)({type:String,json:{write:!0}})],u.prototype,"variableName",void 0),(0,i._)([(0,o.Cb)({type:String,json:{write:!0}})],u.prototype,"dimensionName",void 0),(0,i._)([(0,o.Cb)({type:l.V5.array(l.V5.oneOf([l.V5.native(Number),l.V5.array(l.V5.native(Number))])),json:{write:!0}})],u.prototype,"values",void 0),(0,i._)([(0,o.Cb)({type:Boolean,json:{write:!0}})],u.prototype,"isSlice",void 0),u=n=(0,i._)([(0,c.j)("esri.layers.support.DimensionalDefinition")],u);const d=u},29876:(e,t,r)=>{r.d(t,{Z:()=>g});var n,i=r(43697),a=(r(66577),r(96674)),s=r(5600),o=(r(75215),r(67676),r(52011)),l=r(6570),c=r(38913),u=r(33955),d=r(35956);const m={base:r(9361).Z,key:"type",typeMap:{extent:l.Z,polygon:c.Z}};let p=n=class extends a.wq{constructor(e){super(e),this.areaOfInterest=null,this.subsetDefinitions=null}get dimensions(){const{subsetDefinitions:e}=this;if(null==e||0===e.length)return[];const t=new Map;e.forEach((e=>{if(!e.dimensionName)return;let r,n;if(Array.isArray(e.values[0])){const t=e.values;r=t[0][0],n=t[e.values.length-1][1]}else{const t=e.values;r=t[0],n=t[e.values.length-1]}if(t.has(e.dimensionName)){const i=t.get(e.dimensionName);i[0]=Math.min(r,i[0]),i[1]=Math.max(n,i[1])}else t.set(e.dimensionName,[r,n])}));const r=[];for(const e of t)r.push({name:e[0],extent:e[1]});return r}get variables(){const{subsetDefinitions:e}=this;if(null==e||0===e.length)return[];const t=new Set;return e.forEach((e=>{e.variableName&&t.add(e.variableName)})),[...t]}clone(){const e=this.subsetDefinitions?.map((e=>e.clone())),t=this.areaOfInterest?this.areaOfInterest.clone():this.areaOfInterest;return new n({areaOfInterest:t,subsetDefinitions:e})}};(0,i._)([(0,s.Cb)({types:m,json:{read:u.im,write:!0}})],p.prototype,"areaOfInterest",void 0),(0,i._)([(0,s.Cb)({readOnly:!0})],p.prototype,"dimensions",null),(0,i._)([(0,s.Cb)({readOnly:!0})],p.prototype,"variables",null),(0,i._)([(0,s.Cb)({type:[d.Z],json:{write:!0}})],p.prototype,"subsetDefinitions",void 0),p=n=(0,i._)([(0,o.j)("esri.layers.support.MultidimensionalSubset")],p);const g=p},40297:(e,t,r)=>{r.d(t,{Z:()=>M});var n,i=r(43697),a=r(96674),s=r(22974),o=r(5600),l=(r(75215),r(36030)),c=r(71715),u=r(52011),d=r(30556);const m=new Set(["raster","raster2","dem","fillraster"]),p=new Set(["rasters"]),g=e=>e&&e.rasterFunction?w.fromJSON(e):e,h=e=>e&&e instanceof w?e.toJSON():e,y=e=>e?.functionName&&!e.declaredClass,f=e=>y(e)?new w(e):e;let w=n=class extends a.wq{constructor(e){super(e),this.functionName=null,this.outputPixelType="unknown",this.variableName=null,this.rasterFunctionDefinition=null}set functionArguments(e){if(e){const t=Object.keys(e);if(t.some((t=>m.has(t.toLowerCase())&&y(e[t])))||t.some((t=>p.has(t.toLowerCase())&&Array.isArray(e[t])&&e[t].some((e=>y(e)))))){e=(0,s.d9)(e);for(const r of t)m.has(r.toLowerCase())?e[r]=f(e[r]):p.has(r.toLowerCase())&&Array.isArray(e[r])&&(e[r]=e[r].map((e=>f(e))))}}this._set("functionArguments",e)}readFunctionArguments(e){return(e=>{if(null==e)return null;e=(0,s.d9)(e);const t={};for(const r of Object.keys(e))m.has(r.toLowerCase())?t[r]=g(e[r]):p.has(r.toLowerCase())&&Array.isArray(e[r])?t[r]=e[r].map(g):t[r]=e[r];return t})(e)}writeFunctionArguments(e,t,r){const n={};for(const t of Object.keys(e))m.has(t.toLowerCase())?n[t]=h(e[t]):p.has(t.toLowerCase())&&Array.isArray(e[t])?n[t]=e[t].map(h):n[t]=h(e[t]);t[r]=n}readFunctionName(e,t){const r=t.rasterFunctionInfos;return t.name||(r&&r.length&&"None"!==r[0].name?r[0].name:t.rasterFunctionDefinition?t.rasterFunctionDefinition.name:t.rasterFunction)}clone(){return new n({functionName:this.functionName,functionArguments:(0,s.d9)(this.functionArguments),outputPixelType:this.outputPixelType,variableName:this.variableName,rasterFunctionDefinition:(0,s.d9)(this.rasterFunctionDefinition)})}};(0,i._)([(0,o.Cb)({json:{type:Object,name:"rasterFunctionArguments"}})],w.prototype,"functionArguments",null),(0,i._)([(0,c.r)("functionArguments")],w.prototype,"readFunctionArguments",null),(0,i._)([(0,d.c)("functionArguments")],w.prototype,"writeFunctionArguments",null),(0,i._)([(0,o.Cb)({json:{type:String,write:{target:"rasterFunction"}}})],w.prototype,"functionName",void 0),(0,i._)([(0,c.r)("functionName",["rasterFunction","rasterFunctionInfos","rasterFunctionDefinition"])],w.prototype,"readFunctionName",null),(0,i._)([(0,l.J)({C128:"c128",C64:"c64",F32:"f32",F64:"f64",S16:"s16",S32:"s32",S8:"s8",U1:"u1",U16:"u16",U2:"u2",U32:"u32",U4:"u4",U8:"u8",UNKNOWN:"unknown"},{ignoreUnknown:!1}),(0,o.Cb)({json:{default:"unknown"}})],w.prototype,"outputPixelType",void 0),(0,i._)([(0,o.Cb)({type:String,json:{read:!0,write:!0}})],w.prototype,"variableName",void 0),(0,i._)([(0,o.Cb)({type:Object,json:{name:"rasterFunctionDefinition"}})],w.prototype,"rasterFunctionDefinition",void 0),w=n=(0,i._)([(0,u.j)("esri.layers.support.RasterFunction")],w);const M=w},88281:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(20102),i=r(70586),a=r(78346),s=r(5847);class o{constructor(){this._workerThread=null,this._destroyed=!1}async initialize(){const e=await(0,a.bA)("RasterWorker");this._destroyed?e.close():this._workerThread=e}destroy(){this._destroyed=!0,this._workerThread&&(this._workerThread.close(),this._workerThread=null)}async convertVectorFieldData(e,t){if(!this._workerThread)throw new n.Z("raster-jobhandler:no-connection","no available worker connection");const r=await this._workerThread.invoke("convertVectorFieldData",{pixelBlock:e.pixelBlock.toJSON(),type:e.dataType},t);return r?new s.Z(r):null}async decode(e,t){if(!this._workerThread)throw new n.Z("raster-jobhandler:no-connection","no available worker connection");const r=await this._workerThread.invoke("decode",e,t);return r?new s.Z(r):null}async symbolize(e,t){if(!this._workerThread)throw new n.Z("raster-jobhandler:no-connection","no available worker connection");const r={extent:e.extent&&e.extent.toJSON(),pixelBlock:(0,i.pC)(e.pixelBlock)&&e.pixelBlock.toJSON(),simpleStretchParams:e.simpleStretchParams,bandIds:e.bandIds},a=await this._workerThread.invoke("symbolize",r,t);return a?new s.Z(a):null}async updateSymbolizer(e,t){if(!this._workerThread)throw new n.Z("raster-jobhandler:no-connection","no available worker connection");const r=e?.rendererJSON?.histograms;await Promise.all(this._workerThread.broadcast("updateSymbolizer",{symbolizerJSON:e.toJSON(),histograms:r},t))}async updateRasterFunction(e,t){if(!this._workerThread)throw new n.Z("raster-jobhandler:no-connection","no available worker connection");await Promise.all(this._workerThread.broadcast("updateRasterFunction",{rasterFunctionJSON:e.toJSON()},t))}async process(e,t){if(!this._workerThread)throw new n.Z("raster-jobhandler:no-connection","no available worker connection");const r=await this._workerThread.invoke("process",{extent:e.extent?.toJSON(),primaryPixelBlocks:e.primaryPixelBlocks.map((e=>(0,i.pC)(e)?e.toJSON():null)),primaryRasterIds:e.primaryRasterIds},t);return r?new s.Z(r):null}async stretch(e,t){if(!this._workerThread)throw new n.Z("raster-jobhandler:no-connection","no available worker connection");if(!e?.pixelBlock)return null;const r={srcPixelBlock:e.pixelBlock.toJSON(),stretchParams:e.stretchParams},i=await this._workerThread.invoke("stretch",r,t);return i?new s.Z(i):null}async split(e,t){if(!this._workerThread)throw new n.Z("raster-jobhandler:no-connection","no available worker connection");if(!e?.pixelBlock)return null;const r={srcPixelBlock:e.pixelBlock.toJSON(),tileSize:e.tileSize,maximumPyramidLevel:e.maximumPyramidLevel},i=await this._workerThread.invoke("split",r,t);return i&&i.forEach(((e,t)=>{i.set(t,e?s.Z.fromJSON(e):null)})),i}async estimateStatisticsHistograms(e,t){if(!this._workerThread)throw new n.Z("raster-jobhandler:no-connection","no available worker connection");if(!e?.pixelBlock)return null;const r={srcPixelBlock:e.pixelBlock.toJSON()};return await this._workerThread.invoke("estimateStatisticsHistograms",r,t)}async mosaicAndTransform(e,t){if(!this._workerThread)throw new n.Z("raster-jobhandler:no-connection","no available worker connection");if(!e?.srcPixelBlocks?.length)return{pixelBlock:null};const r={...e,srcPixelBlocks:e.srcPixelBlocks.map((e=>(0,i.pC)(e)?e.toJSON():null))},a=await this._workerThread.invoke("mosaicAndTransform",r,t);return{pixelBlock:a.pixelBlock?new s.Z(a.pixelBlock):null,localNorthDirections:a.localNorthDirections}}async createFlowMesh(e,t){if(!this._workerThread)throw new n.Z("raster-jobhandler:no-connection","no available worker connection");const r={buffer:e.flowData.data.buffer,maskBuffer:e.flowData.mask.buffer,width:e.flowData.width,height:e.flowData.height},{meshType:i,simulationSettings:a}=e,s=await this._workerThread.invoke("createFlowMesh",{meshType:i,flowData:r,simulationSettings:a},{...t,transferList:[r.buffer,r.maskBuffer]});return{vertexData:new Float32Array(s.vertexBuffer),indexData:new Uint32Array(s.indexBuffer)}}getProjectionOffsetGrid(e,t){if(!this._workerThread)throw new n.Z("raster-jobhandler:no-connection","no available worker connection");const r=(0,i.pC)(e.datumTransformation)?e.datumTransformation.steps.map((e=>({wkid:e.wkid,wkt:e.wkt,isInverse:e.isInverse}))):null,a=(0,i.pC)(e.rasterTransform)?e.rasterTransform.toJSON():null,s={projectedExtent:e.projectedExtent.toJSON(),srcBufferExtent:e.srcBufferExtent.toJSON(),pixelSize:e.pixelSize,hasWrapAround:e.hasWrapAround,spacing:e.spacing,datumTransformationSteps:r,rasterTransform:a,isAdaptive:e.isAdaptive,includeGCSGrid:e.includeGCSGrid};return this._workerThread.invoke("getProjectionOffsetGrid",s,t)}}},76259:(e,t,r)=>{r.d(t,{Z:()=>y});var n=r(43697),i=r(92835),a=r(84552),s=r(2368),o=r(96674),l=r(70586),c=r(5600),u=(r(75215),r(67676),r(71715)),d=r(52011),m=r(30556),p=r(80216);function g(e,t){return a.Z.fromJSON({value:e,unit:t})}let h=class extends((0,s.J)(o.wq)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeReference=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]),n=new Date(t.timeExtent[1]);return new i.Z({start:r,end:n})}writeFullTimeExtent(e,t){e&&(0,l.pC)(e.start)&&(0,l.pC)(e.end)?t.timeExtent=[e.start.getTime(),e.end.getTime()]:t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?g(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?g(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,n._)([(0,c.Cb)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],h.prototype,"cumulative",void 0),(0,n._)([(0,c.Cb)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],h.prototype,"endField",void 0),(0,n._)([(0,c.Cb)({type:i.Z,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"fullTimeExtent",void 0),(0,n._)([(0,u.r)("fullTimeExtent",["timeExtent"])],h.prototype,"readFullTimeExtent",null),(0,n._)([(0,m.c)("fullTimeExtent")],h.prototype,"writeFullTimeExtent",null),(0,n._)([(0,c.Cb)({type:Boolean,json:{write:!0}})],h.prototype,"hasLiveData",void 0),(0,n._)([(0,c.Cb)({type:a.Z,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"interval",void 0),(0,n._)([(0,u.r)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],h.prototype,"readInterval",null),(0,n._)([(0,m.c)("interval")],h.prototype,"writeInterval",null),(0,n._)([(0,c.Cb)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],h.prototype,"startField",void 0),(0,n._)([(0,c.Cb)({type:p.Z,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"timeReference",void 0),(0,n._)([(0,c.Cb)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"trackIdField",void 0),(0,n._)([(0,c.Cb)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],h.prototype,"useTime",void 0),h=(0,n._)([(0,d.j)("esri.layers.support.TimeInfo")],h);const y=h},99815:(e,t,r)=>{r.d(t,{MO:()=>s,Tj:()=>h,Ur:()=>o,W2:()=>p,WU:()=>y,WY:()=>g,gk:()=>I,jj:()=>f,nb:()=>m});var n=r(70586),i=r(35956);function a(e,t,r){const n=t.shift();if(0===r.length){const e=[];r.push({sliceId:-1,multidimensionalDefinition:e})}const i=r.length;for(let t=0;t<i;t++){const t=r.shift().multidimensionalDefinition;n.values?.forEach((i=>{r.push({sliceId:-1,multidimensionalDefinition:[...t,{variableName:e,dimensionName:n.name,values:[i]}]})}))}t.length&&a(e,t,r)}function s(e,t){const r=[];let n=0;return(t?e.variables.filter((e=>e.name.toLowerCase()===t.toLowerCase())):[...e.variables].sort(((e,t)=>e.name>t.name?1:-1))).forEach((e=>{const t=[],i=[...e.dimensions].sort(((e,t)=>e.name>t.name?-1:1));a(e.name,i,t),t.forEach((e=>{r.push({...e,sliceId:n++})}))})),r}function o(e,t,r){let i=e;if(t&&(t=[...t].sort(((e,t)=>e.dimensionName<t.dimensionName?-1:1))).forEach((({dimensionName:e,values:t,isSlice:r})=>{t.length&&(i=i.filter((n=>{const i=n.multidimensionalDefinition.find((t=>t.dimensionName===e));if(null==i)return!1;const a=i.values[0];return"number"==typeof a?"number"==typeof t[0]?t.includes(a):t.some((e=>e[0]<=a&&e[1]>=a)):"number"==typeof t[0]?t.some((e=>a[0]<=e&&a[1]>=e)):r?t.some((e=>e[0]===a[0]&&e[0]===a[1])):t.some((e=>e[0]>=a[0]&&e[0]<=a[1]||e[1]>=a[0]&&e[1]<=a[1]||e[0]<a[0]&&e[1]>a[1]))})))})),i.length&&r&&(0,n.pC)(r.start)&&(0,n.pC)(r.end)){const e=r.start.getTime(),t=r.end.getTime(),n=i[0].multidimensionalDefinition.findIndex((e=>"StdTime"===e.dimensionName));n>-1&&(i=i.filter((r=>{const i=r.multidimensionalDefinition[n].values[0];return e<=i&&t>=i})))}return i.map((e=>e.sliceId))}function l(e,t){return Array.isArray(e)?t[0]===t[1]?e[0]===t[0]||e[1]===t[0]:e[0]>=t[0]&&e[0]<=t[1]&&e[1]>=t[0]&&e[1]<=t[1]:e>=t[0]&&e<=t[1]}function c(e,t){return e[0]<=t[0]&&e[1]>=t[0]||e[0]<=t[1]&&e[1]>=t[1]||e[0]>=t[0]&&e[1]<=t[1]}function u(e){return 1===e.length?[e[0],e[0]]:[e[0],e[e.length-1]]}function d(e,t,r){if(!t?.subsetDefinitions?.length)return e;let n;if(r){const{variables:i}=t;if(i.length&&!i.includes(r))return null;const a=t.subsetDefinitions.find((t=>t.dimensionName===e.name&&t.variableName===r));if(!a?.values?.length)return e;n=u(a.values)}else n=t.dimensions.find((({name:t})=>t===e.name))?.extent;const i=n;if(!i||!i?.length)return e;const a=e.values.filter((e=>l(e,i)));return{...e,extent:[...i],values:a}}function m(e,t,r){if(!t?.subsetDefinitions?.length)return!1;const{variables:n}=t;if(n.length&&e.some((({variableName:e})=>e&&!n.includes(e))))return!0;for(let n=0;n<e.length;n++){const i=e[n],a=t.subsetDefinitions.find((e=>(""===i.variableName||e.variableName===i.variableName)&&e.dimensionName===i.dimensionName));if(a?.values.length){const e=u(a.values);if(i.isSlice||2!==i.values.length||Array.isArray(i.values[0])||i.values[0]===i.values[1]||!r){if(i.values.some((t=>!l(t,e))))return!0}else if(!c(i.values,e))return!0}}return!1}function p(e,t){if((0,n.Wi)(e))return{isOutside:!1};const{geometry:r,timeExtent:a,multidimensionalDefinition:s}=t;let o=null;if((0,n.pC)(a)&&(o=function(e,t){const r=e.dimensions.find((({name:e})=>"StdTime"===e));if(null==r||(0,n.Wi)(t.start)&&(0,n.Wi)(t.end))return t;t=t.clone();const{start:a,end:s}=t.toJSON(),o=a===s?[a]:null!=a&&null!=s?[a,s]:[a??s];return 2===o.length&&r?.extent.length&&(o[0]=Math.max(o[0],r.extent[0]),o[1]=Math.min(o[1],r.extent[1]??r.extent[0]),o[1]<o[0])||m([new i.Z({variableName:"",dimensionName:"StdTime",isSlice:1===o.length,values:o})],e,!0)?null:(t.start=new Date(o[0]),t.end=new Date(o[1]??o[0]),t)}(e,a),(0,n.Wi)(o)))return{isOutside:!0};const{areaOfInterest:l}=e;if(l&&r){const e="point"===r.type?r:"extent"===r.type?r.center:"polygon"===r.type?r.centroid:null;if(e&&!l.contains(e))return{isOutside:!0}}return(0,n.pC)(s)&&s.length&&m(s,e,!0)?{isOutside:!0}:{isOutside:!1,intersection:{geometry:r,timeExtent:o,multidimensionalDefinition:s}}}function g(e,t={}){const{multidimensionalInfo:r,keyProperties:i}=e;if((0,n.Wi)(r))return null;const{variableName:a,multidimensionalSubset:s,multidimensionalDefinition:o}=t,l=(0,n.pC)(o)?o[0]?.variableName:null,c=a||l||i?.DefaultVariable;let{variables:u}=r;return s?.variables?.length&&(u=u.filter((({name:e})=>s.variables.includes(e)))),c?u.find((({name:e})=>e===c))??u[0]:u[0]}function h(e,t={}){const r=g(e,t);if(!r)return null;const n=[],{dimensions:a,name:s}=r;if(0===a.length)return[new i.Z({variableName:s,dimensionName:"",values:[],isSlice:!0})];for(let e=0;e<a.length;e++){const r=d(a[e],t.multidimensionalSubset,s);if(!r)return null;const{values:o,extent:l}=r;let c=o?.[0]??l[0];"stdz"===r.name.toLowerCase()&&!r.hasRanges&&Math.abs(l[1])<=Math.abs(l[0])&&(c=o?.length?o[o.length-1]:l[1]),n.push(new i.Z({variableName:s,dimensionName:r.name,values:[c],isSlice:!t.useRangeForRangedDimensionInfo||!!r.hasRanges}))}return n}function y(e){return!((0,n.Wi)(e)||!e.length)&&e.some((e=>{if(null==e.values)return!0;const t=e.values.length;return 0===t||t>1||!e.isSlice&&Array.isArray(e.values[0])}))}function f(e,t){if((0,n.Wi)(t)||(0,n.Wi)(e))return null;let r=t.variables.map((e=>({...e})));return e?.variables?.length&&(r=r.filter((({name:t})=>e.variables.includes(t))),r.forEach((t=>{t.dimensions=t.dimensions.map((r=>d(r,e,t.name))).filter(n.pC)}))),r}function w(e,t){const{values:r}=t;if(r?.length)return Array.isArray(r[0])!==Array.isArray(e)?-1:Array.isArray(r[0])?r.findIndex((t=>t[0]===e[0]&&t[1]===e[1])):r.indexOf(e);const{extent:n}=t;if(Array.isArray(e)||e<n[0]||e>n[1])return-1;const i=t.interval||1;if("ISO8601"!==t.unit)return Math.round((e-n[0])/i);const a=n[0];let s=-1;switch(t.intervalUnit?.toLowerCase()||"seconds"){case"seconds":s=Math.round((e-a)/1e3/i);break;case"minutes":s=Math.round((e-a)/6e4/i);break;case"hours":s=Math.round((e-a)/36e5/i);break;case"days":s=Math.round((e-a)/864e5/i);break;case"months":{const t=new Date(e).getUTCFullYear()-new Date(a).getUTCFullYear(),r=new Date(a).getUTCMonth(),n=new Date(e).getUTCMonth();s=0===t?n-r:n+11-r+12*(t-1)}break;case"years":s=Math.round((new Date(e).getUTCFullYear()-new Date(a).getUTCFullYear())/i);break;case"decades":s=Math.round((new Date(e).getUTCFullYear()-new Date(a).getUTCFullYear())/10/i)}return s}function M(e){let t=e.values?.length;if(t)return t;const{extent:r,unit:n}=e,i=e.interval||1,a=r?r[1]-r[0]:0;if("ISO8601"!==n)return Math.round(a/i);switch(e.intervalUnit?.toLowerCase()??"seconds"){case"seconds":t=Math.round(a/1e3/i);break;case"minutes":t=Math.round(a/6e4/i);break;case"hours":t=Math.round(a/36e5/i);break;case"days":t=Math.round(a/864e5/i);break;case"months":{const e=new Date(r[1]).getUTCFullYear()-new Date(r[0]).getUTCFullYear(),n=new Date(r[1][0]).getUTCMonth(),i=new Date(r[1][1]).getUTCMonth();t=0===e?i-n+1:i+11-n+12*(e-1)+1}break;case"years":t=Math.round((new Date(r[1]).getUTCFullYear()-new Date(r[0]).getUTCFullYear())/i);break;case"decades":t=Math.round((new Date(r[1]).getUTCFullYear()-new Date(r[0]).getUTCFullYear())/10/i);break;default:t=0}return t}function I(e,t){let r=0;const n=e[0].variableName,i=[...t.variables].sort(((e,t)=>e.name>t.name?1:-1));for(let t=0;t<i.length;t++){const a=i[t],s=[...a.dimensions].sort(((e,t)=>e.name>t.name?-1:1));if(a.name!==n){r+=s.map((e=>M(e))).reduce(((e,t)=>e*t));continue}const o=s.map((e=>M(e))),l=s.length;for(let t=0;t<l;t++){const n=e.find((e=>e.dimensionName===s[t].name));if(null==n)return null;const i=w(n.values[0],s[t]);if(-1===i)return null;o.shift(),r+=t===l-1?i:i*o.reduce(((e,t)=>e*t))}break}return r}},69608:(e,t,r)=>{r.d(t,{c:()=>i,k:()=>a});var n=r(35454);const i=(0,n.w)()({RSP_NearestNeighbor:"nearest",RSP_BilinearInterpolation:"bilinear",RSP_CubicConvolution:"cubic",RSP_Majority:"majority"}),a=(0,n.w)()({esriNoDataMatchAny:"any",esriNoDataMatchAll:"all"})},78981:(e,t,r)=>{r.d(t,{v:()=>n});const n=(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})},30030:(e,t,r)=>{r.d(t,{FK:()=>m,dr:()=>d,ij:()=>g});var n=r(20941),i=r(16050),a=r(24705),s=r(28092),o=r(73622),l=r(60849),c=r(81571),u=r(3943);const d={key:"type",base:null,typeMap:{"unique-value":c.Z,"class-breaks":i.Z,"raster-colormap":s.Z,"raster-stretch":l.Z,"vector-field":u.Z,"raster-shaded-relief":o.Z,flow:a.Z}},m={...d,typeMap:{...d.typeMap}};delete m.typeMap["vector-field"],delete m.typeMap.flow;const p={uniqueValue:c.Z,classBreaks:i.Z,rasterStretch:l.Z,rasterColormap:s.Z,vectorField:u.Z,rasterShadedRelief:o.Z,flowRenderer:a.Z};function g(e,t){if(!e)return null;if("classBreaks"===e.type&&e.classificationMethod){const t=e.authoringInfo||{classificationMethod:""};t.classificationMethod=e.classificationMethod,e.authoringInfo=t}"vectorField"===e.type&&e.visualVariables&&!Array.isArray(e.visualVariables)&&(e.visualVariables=[e.visualVariables]);const r=(i=e)&&p[i.type]||null;var i;if(r){const n=new r;return n.read(e,t),n}return t&&t.messages&&e&&t.messages.push(new n.Z("renderer:unsupported","Renderers of type '"+(e.type||"unknown")+"' are not supported",{definition:e,context:t})),null}},24705:(e,t,r)=>{r.d(t,{Z:()=>f});var n,i=r(43697),a=r(22303),s=r(35454),o=r(96674),l=r(62357),c=r(5600),u=(r(75215),r(67676),r(36030)),d=r(52011),m=r(41733),p=r(69237),g=r(66338);const h=new s.X({flow_from:"flow-from",flow_to:"flow-to"});let y=n=class extends((0,m.W)(o.wq)){constructor(e){super(e),this.density=.8,this.color=new a.Z([255,255,255,1]),this.maxPathLength=200,this.trailWidth=1.5,this.flowSpeed=10,this.trailLength=100,this.smoothing=0,this.flowRepresentation="flow-from",this.type="flow",this.authoringInfo=null,this.legendOptions=null,this.trailCap="butt",this.background="none"}clone(){const{density:e,maxPathLength:t,trailWidth:r,flowSpeed:i,trailLength:a,smoothing:s,flowRepresentation:o,trailCap:l,background:c}=this,u=this.color.clone(),d=(this.visualVariables||[]).map((e=>e.clone())),m=this.authoringInfo?.clone(),p=this.legendOptions?.clone();return new n({density:e,color:u,maxPathLength:t,trailWidth:r,flowSpeed:i,trailLength:a,trailCap:l,background:c,smoothing:s,flowRepresentation:o,visualVariables:d,authoringInfo:m,legendOptions:p})}getSymbol(e,t){}async getSymbolAsync(e,t){}getSymbols(){return[]}};(0,i._)([(0,c.Cb)({type:Number,json:{write:!0}})],y.prototype,"density",void 0),(0,i._)([(0,c.Cb)({type:a.Z,json:{write:{allowNull:!0}}})],y.prototype,"color",void 0),(0,i._)([(0,c.Cb)({type:Number,cast:l.t_,json:{write:!0}})],y.prototype,"maxPathLength",void 0),(0,i._)([(0,c.Cb)({type:Number,cast:l.t_,json:{write:!0}})],y.prototype,"trailWidth",void 0),(0,i._)([(0,c.Cb)({type:Number,json:{write:!0}})],y.prototype,"flowSpeed",void 0),(0,i._)([(0,c.Cb)({type:Number,json:{write:!0}})],y.prototype,"trailLength",void 0),(0,i._)([(0,c.Cb)({type:Number,cast:l.t_,json:{write:!1}})],y.prototype,"smoothing",void 0),(0,i._)([(0,c.Cb)({type:h.apiValues,json:{type:h.jsonValues,read:{reader:h.read},write:{writer:h.write}}})],y.prototype,"flowRepresentation",void 0),(0,i._)([(0,u.J)({flowRenderer:"flow"})],y.prototype,"type",void 0),(0,i._)([(0,c.Cb)({type:p.Z,json:{write:!0}})],y.prototype,"authoringInfo",void 0),(0,i._)([(0,c.Cb)({type:g.I,json:{write:!0}})],y.prototype,"legendOptions",void 0),(0,i._)([(0,c.Cb)({type:String,json:{write:!0}})],y.prototype,"trailCap",void 0),(0,i._)([(0,c.Cb)({type:String,json:{write:!0}})],y.prototype,"background",void 0),y=n=(0,i._)([(0,d.j)("esri.renderers.FlowRenderer")],y);const f=y},28092:(e,t,r)=>{r.d(t,{Z:()=>h});var n=r(43697),i=r(96674),a=r(5600),s=r(75215),o=(r(67676),r(36030)),l=r(52011),c=r(22303);let u=class extends i.wq{constructor(){super(...arguments),this.value=null,this.label=null,this.color=null}};(0,n._)([(0,a.Cb)({type:Number,json:{write:!0}})],u.prototype,"value",void 0),(0,n._)([(0,a.Cb)({type:String,json:{write:!0}})],u.prototype,"label",void 0),(0,n._)([(0,a.Cb)({type:c.Z,json:{type:[s.z8],write:!0}})],u.prototype,"color",void 0),u=(0,n._)([(0,l.j)("esri.renderers.support.ColormapInfo")],u);const d=u;var m,p=r(93010);let g=m=class extends i.wq{constructor(e){super(e),this.colormapInfos=null,this.type="raster-colormap"}static createFromColormap(e,t){if(!e)return null;const r=5===e[0].length,n=[...e].sort((e=>e[0][0]-e[1][0])).map((e=>d.fromJSON({value:e[0],color:r?e.slice(1,5):e.slice(1,4).concat([255]),label:t?t[e[0]]??"":e[0]})));return new m({colormapInfos:n})}static createFromColorramp(e){const t=(0,p.Jw)(e);return m.createFromColormap(t)}clone(){return new m({colormapInfos:this.colormapInfos.map((e=>e.toJSON()))})}extractColormap(){return this.colormapInfos.map((({value:e,color:t})=>[e,t.r,t.g,t.b,t.a>1?t.a:255*t.a&255])).sort(((e,t)=>e[0]-t[0]))}};(0,n._)([(0,a.Cb)({type:[d],json:{write:!0}})],g.prototype,"colormapInfos",void 0),(0,n._)([(0,o.J)({rasterColormap:"raster-colormap"})],g.prototype,"type",void 0),g=m=(0,n._)([(0,l.j)("esri.renderers.RasterColormapRenderer")],g);const h=g},73622:(e,t,r)=>{r.d(t,{Z:()=>p});var n,i=r(43697),a=r(96674),s=r(22974),o=r(5600),l=(r(75215),r(36030)),c=r(71715),u=r(52011),d=r(94593);let m=n=class extends a.wq{constructor(e){super(e),this.altitude=45,this.azimuth=315,this.colorRamp=null,this.hillshadeType="traditional",this.pixelSizePower=.664,this.pixelSizeFactor=.024,this.scalingType="none",this.type="raster-shaded-relief",this.zFactor=1}readColorRamp(e){return(0,d.i)(e)}clone(){return new n({hillshadeType:this.hillshadeType,altitude:this.altitude,azimuth:this.azimuth,zFactor:this.zFactor,scalingType:this.scalingType,pixelSizeFactor:this.pixelSizeFactor,pixelSizePower:this.pixelSizePower,colorRamp:(0,s.d9)(this.colorRamp)})}};(0,i._)([(0,o.Cb)({type:Number,json:{write:!0}})],m.prototype,"altitude",void 0),(0,i._)([(0,o.Cb)({type:Number,json:{write:!0}})],m.prototype,"azimuth",void 0),(0,i._)([(0,o.Cb)({types:d.V,json:{write:!0}})],m.prototype,"colorRamp",void 0),(0,i._)([(0,c.r)("colorRamp")],m.prototype,"readColorRamp",null),(0,i._)([(0,o.Cb)({type:["traditional","multi-directional"],json:{write:!0}})],m.prototype,"hillshadeType",void 0),(0,i._)([(0,o.Cb)({type:Number,json:{write:!0}})],m.prototype,"pixelSizePower",void 0),(0,i._)([(0,o.Cb)({type:Number,json:{write:!0}})],m.prototype,"pixelSizeFactor",void 0),(0,i._)([(0,o.Cb)({type:["none","adjusted"],json:{write:!0}})],m.prototype,"scalingType",void 0),(0,i._)([(0,l.J)({rasterShadedRelief:"raster-shaded-relief"})],m.prototype,"type",void 0),(0,i._)([(0,o.Cb)({type:Number,json:{write:!0}})],m.prototype,"zFactor",void 0),m=n=(0,i._)([(0,u.j)("esri.renderers.RasterShadedReliefRenderer")],m);const p=m},60849:(e,t,r)=>{r.d(t,{Z:()=>h});var n,i=r(43697),a=r(96674),s=r(22974),o=r(5600),l=(r(75215),r(36030)),c=r(71715),u=r(52011),d=r(30556),m=r(75509),p=r(94593);let g=n=class extends a.wq{constructor(e){super(e),this.colorRamp=null,this.computeGamma=!1,this.dynamicRangeAdjustment=!1,this.gamma=[],this.maxPercent=null,this.minPercent=null,this.numberOfStandardDeviations=null,this.outputMax=null,this.outputMin=null,this.sigmoidStrengthLevel=null,this.statistics=[],this.histograms=null,this.useGamma=!1,this.stretchType="none",this.type="raster-stretch"}readColorRamp(e){if(e)return(0,p.i)(e)}writeStatistics(e,t,r){e?.length&&(Array.isArray(e[0])||(e=e.map((e=>[e.min,e.max,e.avg,e.stddev]))),t[r]=e)}readStretchType(e,t){let r=t.stretchType;return"number"==typeof r&&(r=m.J[r]),m.v.read(r)}clone(){return new n({stretchType:this.stretchType,outputMin:this.outputMin,outputMax:this.outputMax,useGamma:this.useGamma,computeGamma:this.computeGamma,statistics:(0,s.d9)(this.statistics),gamma:(0,s.d9)(this.gamma),sigmoidStrengthLevel:this.sigmoidStrengthLevel,numberOfStandardDeviations:this.numberOfStandardDeviations,minPercent:this.minPercent,maxPercent:this.maxPercent,colorRamp:(0,s.d9)(this.colorRamp),histograms:(0,s.d9)(this.histograms),dynamicRangeAdjustment:this.dynamicRangeAdjustment})}};(0,i._)([(0,o.Cb)({types:p.V,json:{write:!0}})],g.prototype,"colorRamp",void 0),(0,i._)([(0,c.r)("colorRamp")],g.prototype,"readColorRamp",null),(0,i._)([(0,o.Cb)({type:Boolean,json:{write:!0}})],g.prototype,"computeGamma",void 0),(0,i._)([(0,o.Cb)({type:Boolean,json:{write:{target:"dra"},read:{source:"dra"}}})],g.prototype,"dynamicRangeAdjustment",void 0),(0,i._)([(0,o.Cb)({type:[Number],json:{write:!0}})],g.prototype,"gamma",void 0),(0,i._)([(0,o.Cb)({type:Number,json:{write:!0}})],g.prototype,"maxPercent",void 0),(0,i._)([(0,o.Cb)({type:Number,json:{write:!0}})],g.prototype,"minPercent",void 0),(0,i._)([(0,o.Cb)({type:Number,json:{write:!0}})],g.prototype,"numberOfStandardDeviations",void 0),(0,i._)([(0,o.Cb)({type:Number,json:{read:{source:"max"},write:{target:"max"}}})],g.prototype,"outputMax",void 0),(0,i._)([(0,o.Cb)({type:Number,json:{read:{source:"min"},write:{target:"min"}}})],g.prototype,"outputMin",void 0),(0,i._)([(0,o.Cb)({type:Number,json:{write:!0}})],g.prototype,"sigmoidStrengthLevel",void 0),(0,i._)([(0,o.Cb)({json:{type:[[Number]],write:!0}})],g.prototype,"statistics",void 0),(0,i._)([(0,o.Cb)()],g.prototype,"histograms",void 0),(0,i._)([(0,d.c)("statistics")],g.prototype,"writeStatistics",null),(0,i._)([(0,o.Cb)({type:Boolean,json:{write:!0}})],g.prototype,"useGamma",void 0),(0,i._)([(0,o.Cb)({type:m.v.apiValues,json:{type:m.v.jsonValues,write:m.v.write}})],g.prototype,"stretchType",void 0),(0,i._)([(0,c.r)("stretchType",["stretchType"])],g.prototype,"readStretchType",null),(0,i._)([(0,l.J)({rasterStretch:"raster-stretch"})],g.prototype,"type",void 0),g=n=(0,i._)([(0,u.j)("esri.renderers.RasterStretchRenderer")],g);const h=g},3943:(e,t,r)=>{r.d(t,{Z:()=>E});var n=r(43697),i=r(22303),a=(r(66577),r(38171)),s=r(9790),o=r(35454),l=r(96674),c=r(22974),u=r(70586),d=r(5600),m=(r(75215),r(36030)),p=r(71715),g=r(52011),h=r(16306),y=r(80676),f=r(16050),w=r(41733),M=r(32984),I=r(89513),b=r(23847),v=r(28101),A=r(4095),C=r(77987),D=r(66643),N=(r(80442),r(65617));function T(e){for(const t of e)if("number"==typeof t)return t;return null}function S(e,t,r){for(let n=0;n<3;n++){const i=e[n];switch(i){case"symbol-value":{const e=r[n];return null!=e?e/t[n]:1}case"proportional":break;default:if(i&&t[n])return i/t[n]}}return 1}function j(e,t,r,n){switch(e){case"proportional":return r*n;case"symbol-value":return null!=t?t:r;default:return e}}async function L(e,t){if(e&&t)return(0,s.dU)(e)?async function(e,t){const n=e.symbolLayers;n&&await(0,D.Ed)(n,(async e=>async function(e,t){switch(e.type){case"extrude":!function(e,t){e.size="number"==typeof t[2]?t[2]:0}(e,t);break;case"icon":case"line":case"text":!function(e,t){const r=T(t);(0,u.pC)(r)&&(e.size=r)}(e,t);break;case"path":!function(e,t){const r=S(t,N.O,[e.width,void 0,e.height]);e.width=j(t[0],e.width,1,r),e.height=j(t[2],e.height,1,r)}(e,t);break;case"object":await async function(e,t){const{resourceSize:n,symbolSize:i}=await async function(e){const t=await r.e(2134).then(r.bind(r,42134)),n=await t.computeObjectLayerResourceSize(e,10),{width:i,height:a,depth:s}=e,o=[i,s,a];let l=1;for(let e=0;e<3;e++){const t=o[e];if(null!=t){l=t/n[e];break}}for(let e=0;e<3;e++)null==o[e]&&(o[e]=n[e]*l);return{resourceSize:n,symbolSize:o}}(e),a=S(t,n,i);e.width=j(t[0],i[0],n[0],a),e.depth=j(t[1],i[1],n[1],a),e.height=j(t[2],i[2],n[2],a)}(e,t)}}(e,t)))}(e,t):void((0,s.cT)(e)&&function(e,t){const r=T(t);if(!(0,u.Wi)(r))switch(e.type){case"simple-marker":e.size=r;break;case"picture-marker":{const t=e.width/e.height;t>1?(e.width=r,e.height=r*t):(e.width=r*t,e.height=r);break}case"simple-line":e.width=r;break;case"text":e.font.size=r}}(e,t))}new((r(57520),r(99880),r(3172),r(74669)).Z)(1e3),new i.Z([128,128,128]),r(52879),new i.Z("white");var Z,x=r(94139),k=r(37898);const U=new Set(["esriMetersPerSecond","esriKilometersPerHour","esriKnots","esriFeetPerSecond","esriMilesPerHour"]),_=new o.X({beaufort_ft:"beaufort-ft",beaufort_km:"beaufort-km",beaufort_kn:"beaufort-kn",beaufort_m:"beaufort-m",beaufort_mi:"beaufort-mi",classified_arrow:"classified-arrow",ocean_current_kn:"ocean-current-kn",ocean_current_m:"ocean-current-m",simple_scalar:"simple-scalar",single_arrow:"single-arrow",wind_speed:"wind-barb"}),z=new o.X({flow_from:"flow-from",flow_to:"flow-to"});let B=Z=class extends((0,w.W)(l.wq)){constructor(e){super(e),this.attributeField="Magnitude",this.flowRepresentation="flow-from",this.rotationType="arithmetic",this.style="single-arrow",this.symbolTileSize=50,this.type="vector-field"}readInputUnit(e,t){return U.has(e)?y.NL.fromJSON(e):null}readOutputUnit(e,t){return U.has(e)?y.NL.fromJSON(e):null}get styleRenderer(){const e=this.style,t=this.attributeField,r=this._createStyleRenderer(e);return r.field=t,r}get sizeVariables(){const e=[];if(this.visualVariables)for(const t of this.visualVariables)"size"===t.type&&e.push(t);if(0===e.length){const t=new b.Z({field:"Magnitude",minSize:.2*this.symbolTileSize,maxSize:.8*this.symbolTileSize});this.visualVariables?this.visualVariables.push(t):this._set("visualVariables",[t]),e.push(t)}return e}get rotationVariables(){const e=[];if(this.visualVariables)for(const t of this.visualVariables)"rotation"===t.type&&e.push(t);if(0===e.length){const t=new I.Z({field:"Direction",rotationType:this.rotationType});this.visualVariables?this.visualVariables.push(t):this._set("visualVariables",[t]),e.push(t)}return e}clone(){return new Z({attributeField:this.attributeField,flowRepresentation:this.flowRepresentation,rotationType:this.rotationType,symbolTileSize:this.symbolTileSize,style:this.style,visualVariables:(0,c.d9)(this.visualVariables),inputUnit:this.inputUnit,outputUnit:this.outputUnit})}async getGraphicsFromPixelData(e,t=!1,r=[]){const n=new Array,i=(0,y.Yx)(this.inputUnit,this.outputUnit),s=this.rotationVariables[0]?.rotationType||this.rotationType,o=t?(0,y.KC)(e.pixelBlock,"vector-uv",s,i):(0,y.QI)(e.pixelBlock,"vector-magdir",i);if((0,u.Wi)(o))return n;const l=e.extent,c=(0,u.pC)(o.mask)&&o.mask.length>0;let d=0;const m=(l.xmax-l.xmin)/o.width,p=(l.ymax-l.ymin)/o.height;for(let e=0;e<o.height;e++)for(let t=0;t<o.width;t++,d++){let i=new x.Z({x:l.xmin+t*m+m/2,y:l.ymax-e*p-p/2,spatialReference:l.spatialReference});i=(await(0,h.aX)(i))[0];const s=r.some((e=>e.intersects(i)));if((!c||o.mask[d])&&!s){const e={Magnitude:o.pixels[0][d],Direction:o.pixels[1][d]},t=new a.Z({geometry:{type:"point",x:i.x,y:i.y,spatialReference:l.spatialReference},attributes:e});t.symbol=this._getVisualVariablesAppliedSymbol(t),n.push(t)}}return n}getSymbol(e,t){}async getSymbolAsync(e,t){}getSymbols(){return[]}getClassBreakInfos(){return this.styleRenderer?.classBreakInfos}getDefaultSymbol(){return this.styleRenderer?.defaultSymbol}_getDefaultSymbol(e){return new C.Z({path:"M14,32 14,18 9,23 16,3 22,23 17,18 17,32 z",outline:new A.Z({width:0}),size:20,color:e||new i.Z([0,92,230])})}_getVisualVariablesAppliedSymbol(e){if(!e)return;const t=this.styleRenderer?.getSymbol(e)?.clone(),r=this.sizeVariables,n=this.rotationVariables;if(r&&r.length&&this.sizeVariables.forEach((r=>L(t,(0,v.PR)([r],e)))),n&&n.length){const r="flow-to"===this.flowRepresentation==("ocean-current-kn"===this.style||"ocean-current-m"===this.style)?0:180;e.attributes.Direction=e.attributes.Direction+r,this.rotationVariables.forEach((r=>function(e,t,r){if(e&&null!=t)if((0,s.dU)(e)){const n=e.symbolLayers;n&&n.forEach((e=>{if(e&&"object"===e.type)switch(r){case"tilt":e.tilt=t;break;case"roll":e.roll=t;break;default:e.heading=t}}))}else(0,s.cT)(e)&&("simple-marker"!==e.type&&"picture-marker"!==e.type&&"text"!==e.type||(e.angle=t))}(t,(0,v.cM)(r,e),r.axis)))}return t}_createStyleRenderer(e){let t={defaultSymbol:this._getDefaultSymbol(),classBreakInfos:[]};switch(e){case"single-arrow":t=this._createSingleArrowRenderer();break;case"beaufort-kn":t=this._createBeaufortKnotsRenderer();break;case"beaufort-m":t=this._createBeaufortMeterRenderer();break;case"beaufort-ft":t=this._createBeaufortFeetRenderer();break;case"beaufort-mi":t=this._createBeaufortMilesRenderer();break;case"beaufort-km":t=this._createBeaufortKilometersRenderer();break;case"ocean-current-m":t=this._createCurrentMeterRenderer();break;case"ocean-current-kn":t=this._createCurrentKnotsRenderer();break;case"simple-scalar":t=this._createSimpleScalarRenderer();break;case"wind-barb":t=this._createWindBarbsRenderer();break;case"classified-arrow":t=this._createClassifiedArrowRenderer()}return new f.Z(t)}_createSingleArrowRenderer(){return{defaultSymbol:this._getDefaultSymbol()}}_createBeaufortKnotsRenderer(){return{defaultSymbol:this._getDefaultSymbol(new i.Z([214,47,39])),classBreakInfos:this._getClassBreaks([0,1,3,6,10,16,21,27,33,40,47,55,63],[[40,146,199],[89,162,186],[129,179,171],[160,194,155],[191,212,138],[218,230,119],[250,250,100],[252,213,83],[252,179,102],[250,141,52],[247,110,42],[240,71,29]])}}_createBeaufortMeterRenderer(){return{defaultSymbol:this._getDefaultSymbol(new i.Z([214,47,39])),classBreakInfos:this._getClassBreaks([0,.2,1.8,3.3,5.4,8.5,11,14.1,17.2,20.8,24.4,28.6,32.7],[[69,117,181],[101,137,184],[132,158,186],[162,180,189],[192,204,190],[222,227,191],[255,255,191],[255,220,161],[250,185,132],[245,152,105],[237,117,81],[232,21,21]])}}_createBeaufortFeetRenderer(){const e=this._getDefaultSymbol(new i.Z([214,47,39]));let t=[0,.2,1.8,3.3,5.4,8.5,11,14.1,17.2,20.8,24.4,28.6,32.7];return t=t.map((e=>3.28084*e)),{defaultSymbol:e,classBreakInfos:this._getClassBreaks(t,[[69,117,181],[101,137,184],[132,158,186],[162,180,189],[192,204,190],[222,227,191],[255,255,191],[255,220,161],[250,185,132],[245,152,105],[237,117,81],[232,21,21]])}}_createBeaufortMilesRenderer(){const e=this._getDefaultSymbol(new i.Z([214,47,39]));let t=[0,.2,1.8,3.3,5.4,8.5,11,14.1,17.2,20.8,24.4,28.6,32.7];return t=t.map((e=>2.23694*e)),{defaultSymbol:e,classBreakInfos:this._getClassBreaks(t,[[69,117,181],[101,137,184],[132,158,186],[162,180,189],[192,204,190],[222,227,191],[255,255,191],[255,220,161],[250,185,132],[245,152,105],[237,117,81],[232,21,21]])}}_createBeaufortKilometersRenderer(){const e=this._getDefaultSymbol(new i.Z([214,47,39]));let t=[0,.2,1.8,3.3,5.4,8.5,11,14.1,17.2,20.8,24.4,28.6,32.7];return t=t.map((e=>3.6*e)),{defaultSymbol:e,classBreakInfos:this._getClassBreaks(t,[[69,117,181],[101,137,184],[132,158,186],[162,180,189],[192,204,190],[222,227,191],[255,255,191],[255,220,161],[250,185,132],[245,152,105],[237,117,81],[232,21,21]])}}_createCurrentMeterRenderer(){return{defaultSymbol:this._getDefaultSymbol(new i.Z([177,177,177])),classBreakInfos:this._getClassBreaks([0,.5,1,1.5,2],[[78,26,153],[179,27,26],[202,128,26],[177,177,177]])}}_createCurrentKnotsRenderer(){return{defaultSymbol:this._getDefaultSymbol(new i.Z([177,177,177])),classBreakInfos:this._getClassBreaks([0,.25,.5,1,1.5,2,2.5,3,3.5,4],[[0,0,0],[0,37,100],[78,26,153],[151,0,100],[179,27,26],[177,78,26],[202,128,26],[177,179,52],[177,177,177]])}}_createClassifiedArrowRenderer(){const e=this._getDefaultSymbol(new i.Z([56,168,0]));let t=[0,1e-6,3.5,7,10.5,14];if(this.sizeVariables?.length){const e=this.sizeVariables[0].minDataValue,r=this.sizeVariables[0].maxDataValue;if(e&&r){const n=(r-e)/5;t=Array.from(Array(6).keys()).map((t=>e+n*t))}}return{defaultSymbol:e,classBreakInfos:this._getClassBreaks(t,[[56,168,0],[139,309,0],[255,255,0],[255,128,0],[255,0,0]])}}_createSimpleScalarRenderer(){return{defaultSymbol:k.Z.fromJSON({imageData:"iVBORw0KGgoAAAANSUhEUgAAACsAAAArCAQAAABLVLlLAAAABGdBTUEAAYagMeiWXwAAAAJiS0dEAACqjSMyAAAACXBIWXMAAABIAAAASABGyWs+AAAC3ElEQVRIx9XXvW4cVRQH8N982btpsIREJECyiCXsxX4DKh6AliqGKCBBE2SlwlHgAbBD/AKmyEYUeQ1KahPZSZQvBCkQLTHZ7KGY8Xodz4w3a1NwbzVzz/znfJ//zbStVC5q3icKak9GAs2QIdDx3PtW/S011NW3p+M5Eomh11ipTIKe6+4LQzHaQ+G+63pIZNJJQXMpljwTwj1brpgx5w1zZlyx5Z4QnllEIm2xeeSUHBf0hV0bejo1Uh09G3aFvgXk7cCJFBc9EdaRVuHJJaOdKyTV2TVhYLMduNR0Q9gxL5GaaTDw8GzejrDRBpxWoGsySRW0dttKuattwNkIlFw2YXgzOdYq4Ox49PlM+JrKd5OusjTWhBuVxUfMX/KXXZ3WEmkuqa67wspR4BTbwtKr/5u4fFgStse/T7EifFPnnYl9zPq4vmUOPrRndgoHjDti1gOPqlyXoifcRNGQzUd31lDyfHmob1Gp35vSr+P6vilcQ5Egtyd8YF/ySg9NhPM+9M/IOaHwp5+PSZayXTvCogEUwlatC3J8LLwYtcWB8EuDXQVuCkV5/B4eNHb7wGBs87LBDS+xjdVSn09wq1G8dFM+9tSUhIGneLvUdniKxKpTYljCpu3j7rVWlHj/P23v4NPGUEyeCQnexe9lJjzEQqMjJs+EzNAX6B98dBZVRmroJx95x/A/6gln18EyfCUsl+qdXb/tjvfbw+mwforpUOBz4XLVoBwAn3aWnfeH246NyBXhrq7TTN5lNSP9RkU+puUJm3W2Tsdq0nZWM07srk7MwQrZSRysjjGWBLRJNsNbfj2JMR4AbxpU1XLAb9Mxfpsq5EjMuuiR8L0JiHOOBX3hiUvOmavN0nMueSzcceFk0BK4pMqLo7vDD1Z0qrtDx7Itt4Xwm9UqbMmk8S0Dtuzb2pvOU99Z1nLTOfleNmvfZfP2pYZmPfajwosKdDBNpacNpVGGsWX9CyDI8Xq/Sj6QAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE0LTExLTEwVDAzOjE3OjU4LTA1OjAwF+tHyQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxNC0xMS0xMFQwMzoxNzo1OC0wNTowMGa2/3UAAAAASUVORK5CYII=",height:20,width:20,type:"esriPMS",angle:0})}}_createWindBarbsRenderer(){const e=Array.from(Array(31).keys()).map((e=>5*e)),t=[{range:"0-5",path:"M20 20 M5 20 A15 15 0 1 0 35 20 A15 15 0 1 0 5 20 M20 20 M10 20 A10 10 0 1 0 30 20 A10 10 0 1 0 10 20",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTIwIDIwIE01IDIwIEExNSAxNSAwIDEgMCAzNSAyMCBBMTUgMTUgMCAxIDAgNSAyMCBNMjAgMjAgTTEwIDIwIEExMCAxMCAwIDEgMCAzMCAyMCBBMTAgMTAgMCAxIDAgMTAgMjAiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"5-10",path:"M25 0 L25 40 M25 35 L17.5 37.5",imageData:"PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjkgMCAyNyA0NiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjUgMCBMMjUgNDAgTTI1IDM1IEwxNy41IDM3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"10-15",path:"M25 0 L25 40 L10 45 L25 40",imageData:"PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjkgMCAyNyA0NiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjUgMCBMMjUgNDAgTDEwIDQ1IEwyNSA0MCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"15-20",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L17.5 37.5",imageData:"PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjEyIDAgMTUgNDUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxNy41IDM3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"20-25",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L10 40",imageData:"PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjkgMCAyNiA0NiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjUgMCBMMjUgNDAgTDEwIDQ1IEwyNSA0MCBNMjUgMzUgTDEwIDQwIiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+"},{range:"25-30",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L17.5 32.5",imageData:"PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjkgMCAyNiA0NiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMjUgMCBMMjUgNDAgTDEwIDQ1IEwyNSA0MCBNMjUgMzUgTDEwIDQwIEwyNSAzNSBNMjUgMzAgTDE3LjUgMzIuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"30-35",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L10 35",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0NiI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"35-40",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L17.5 27.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0NiI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxNy41IDI3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"40-45",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0NiI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"45-50",path:"M25 0 L25 40 L10 45 L25 40 M25 35 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L17.5 22.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0NiI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0NSBMMjUgNDAgTTI1IDM1IEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxNy41IDIyLjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"50-55",path:"M25 0 L25 40 L10 40 L25 35",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"55-60",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L17.5 32.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxNy41IDMyLjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"60-65",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"65-70",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L17.5 27.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxNy41IDI3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"70-75",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"75-80",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L17.5 22.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxNy41IDIyLjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"80-85",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L10 25",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxMCAyNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"85-90",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L10 25 L25 20 M25 15 L17.5 17.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxMCAyNSBMMjUgMjAgTTI1IDE1IEwxNy41IDE3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"90-95",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L10 25 L25 20 M25 15 L10 20",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxMCAyNSBMMjUgMjAgTTI1IDE1IEwxMCAyMCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"95-100",path:"M25 0 L25 40 L10 40 L25 35 M25 30 L10 35 L25 30 M25 25 L10 30 L25 25 M25 20 L10 25 L25 20 M25 15 L10 20 L25 15 M25 10 L17.5 12.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTTI1IDMwIEwxMCAzNSBMMjUgMzAgTTI1IDI1IEwxMCAzMCBMMjUgMjUgTTI1IDIwIEwxMCAyNSBMMjUgMjAgTTI1IDE1IEwxMCAyMCBMMjUgMTUgTTI1IDEwIEwxNy41IDEyLjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="},{range:"100-105",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMnB4IiBoZWlnaHQ9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"105-110",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L17.5 27.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDE3LjUgMjcuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"110-115",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+"},{range:"115-120",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L17.5 22.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDE3LjUgMjIuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"120-125",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+"},{range:"125-130",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L17.5 17.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDE3LjUgMTcuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"130-135",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L10 20",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDEwIDIwIiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+"},{range:"135-140",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L10 20 M25 15 M25 10 L17.5 12.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDEwIDIwIE0yNSAxNSBNMjUgMTAgTDE3LjUgMTIuNSIgc3R5bGU9InN0cm9rZTpyZ2IoMCwwLDApO3N0cm9rZS13aWR0aDoxLjUiLz4KIDwvc3ZnPg=="},{range:"140-145",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L10 20 M25 15 M25 10 L17.5 12.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDEwIDIwIE0yNSAxNSBNMjUgMTAgTDEwIDE1IiBzdHlsZT0ic3Ryb2tlOnJnYigwLDAsMCk7c3Ryb2tlLXdpZHRoOjEuNSIvPgogPC9zdmc+"},{range:"145-150",path:"M25 0 L25 40 L10 40 L25 35 L10 35 L25 30 M25 25 L10 30 M25 25 M25 20 L10 25 M25 20 M25 15 L10 20 M25 15 M25 10 L17.5 12.5",imageData:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMzJweCIgd2lkdGg9IjMycHgiIHZpZXdCb3g9IjkgMCAyNiA0MSI+CiAgPHBhdGggZD0iTTI1IDAgTDI1IDQwIEwxMCA0MCBMMjUgMzUgTDEwIDM1IEwyNSAzMCBNMjUgMjUgTDEwIDMwIE0yNSAyNSBNMjUgMjAgTDEwIDI1IE0yNSAyMCBNMjUgMTUgTDEwIDIwIE0yNSAxNSBNMjUgMTAgTDEwIDE1IE0yNSAxMCBNMjUgNSBMMTcuNSA3LjUiIHN0eWxlPSJzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utd2lkdGg6MS41Ii8+CiA8L3N2Zz4="}],r=k.Z.fromJSON({imageData:"iVBORw0KGgoAAAANSUhEUgAAACgAAAApCAQAAADtq6NDAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAJiS0dEAP+Hj8y/AAAACXBIWXMAAA7DAAAOwwHHb6hkAAAEY0lEQVRIx5XXWWxWRRQH8N+d+31tUdGAVjGglYJABFEBY91jfDAg7piYaFTccA++uMQEFRcSXlATtxiXqMQt4G4iisYl0ai4sIQYtVFZ1KIFKdTS0l4f7vRCS5fPebozc+bM/2z/Mzcx0AgSiUxXnKfIdMn875FIhX53U2n/B/s+kKM4UINTjTBZImixxnrv+9a2iL6zEoUBXcoudrWj/OtHm3wt02lfU9Qao9OnHvIhgmww84MEl1qnxfNmGrqHxAizLdPpC6chGcAxKGGcL+30gOERf1BSpUqVslQSV8d5ReZFe8VQ9avufJn31cWwlJV7iafKStGOE/1qvfH9qUxxu8ydUdmuSKbGO8YUdT2inKLG69pM70tliktl5qIkCAJGmusDG7Vqsc0WjZa4UBlBiA5YZIcjYzB7qDtH5kaUJFLs7RGZTZ42W4PRRmtwvbdt1+wGiaS4drEtDttdZYIDNVuAclR3vA3+dI3qHqmVSy7U6Tv1MScCPvPR7nIpFlsdCy3FdTLPGhK92e2CUITjMJ9ocwKxnsZqc3O3JwMma3d6UVLnyVxB4aXemZqvPqLdpJhW3KVVbY4yYImPo6M5Urv50fj+0z/FG9YaEiENs8UtMfXUaTeTePNHlhXfA1UU+2lyD1Il3Gtt9+adfpNG7dNlpg2U/T3KYLZ2dUWFdTgp3/rQ4sK973qnInV5TIf40x3dhvrJPBiqyWUo4wAtLqhQYS71qK+QKOFRywmGK/kpikzV6WMKhh58vGWs4TIJNjiEYLIuP8Tt4/zmLyqk+AyrJSbF+Qq1DgqRUPMxyl+9q3IQhX/rMCJ6tEunriDs1oSyQZKlr9AkhT2ZIARbJfaJS1vtVbHB+Rgi0RK/y1q1BWsEEyLoz40xtGKcARPVWB1BTPO7f4LNtpkUl1aoMbViLyZo0GRjPD3BxnxjqXeLYlvhqYrzMMG3HoyJXa3JjfnGlbYYFlP7Jh3qKsKY4hQ7TY0nG+xwRL61n63mxHtqNHosigyMLmClNwvuecFnOZB88nNBDzNkzhxEZaKMBVoKapggMzvHHXBEpNSSFAvtcFRsVn0bW8LlMmcXs+c0Kne3gRR32+zg4uXwjC6zit6Wt4a8LXVfcp/MtQXHn2ynGbuCmb8GvvFeJLEE82ReU9/n6+dkq2x3buG9Wn94smcgAw631RPR7BTH+kbmHReZoEpOdEe7zWqZl40s0JWs9Hmv7hjBHqPDwsjGKVJnWWqjbdZp1KhJi0aPmxYZsIRhlttgeF+Jlke41QcOQKoqilSb6HJzSvNG3G/UoWnxwsmt+sVaYwd63dRbqdnMyCPVeyRPvpYgdavM22oGKoMUVRbJfOWMwidJ8Zzb1UvmWK/VVUXzHaTjjrVYh1897HT7xxYEVUaa5SWb/WO+YUWa9SrwvigzM8YlzlYv2GSdVCYxxlBtVnnFq5olwp5/BEk/OLsf5LUmG2+inRJdVvjZ97ZH9/zP34ug1O91pf4p+D+JYBpvrKxfbwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxNC0xMS0xMFQwMzoxMjowOS0wNTowMB9ViV0AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTQtMTEtMTBUMDM6MTI6MDktMDU6MDBuCDHhAAAAAElFTkSuQmCC",height:20,width:20,type:"esriPMS",angle:0}),n=e.map(((n,i)=>{let a;if(i!==e.length-1)if(0===i)a={minValue:n,maxValue:e[i+1],symbol:r};else{const r=k.Z.fromJSON({type:"esriPMS",imageData:t[i].imageData,contentType:"image/svg+xml",height:32,width:32,angle:0});a={minValue:n,maxValue:e[i+1],symbol:r}}return new M.Z(a)}));return{defaultSymbol:r,classBreakInfos:n}}_getClassBreaks(e,t){return t.map(((t,r)=>new M.Z({minValue:e[r],maxValue:e[r+1],symbol:this._getDefaultSymbol(new i.Z(t))})))}};(0,n._)([(0,d.Cb)({type:String,json:{write:!0}})],B.prototype,"attributeField",void 0),(0,n._)([(0,d.Cb)({type:z.apiValues,json:{type:z.jsonValues,read:{reader:z.read},write:{writer:z.write}}})],B.prototype,"flowRepresentation",void 0),(0,n._)([(0,d.Cb)({type:["geographic","arithmetic"],json:{write:!0}})],B.prototype,"rotationType",void 0),(0,n._)([(0,d.Cb)({type:_.apiValues,json:{type:_.jsonValues,read:{reader:_.read},write:{writer:_.write}}})],B.prototype,"style",void 0),(0,n._)([(0,d.Cb)({json:{write:!0}})],B.prototype,"symbolTileSize",void 0),(0,n._)([(0,d.Cb)({type:y.NL.apiValues,json:{type:y.NL.jsonValues,write:{writer:y.NL.write}}})],B.prototype,"inputUnit",void 0),(0,n._)([(0,p.r)("inputUnit")],B.prototype,"readInputUnit",null),(0,n._)([(0,d.Cb)({type:y.NL.apiValues,json:{type:y.NL.jsonValues,read:{reader:y.NL.read},write:{writer:y.NL.write}}})],B.prototype,"outputUnit",void 0),(0,n._)([(0,p.r)("outputUnit")],B.prototype,"readOutputUnit",null),(0,n._)([(0,m.J)({vectorField:"vector-field"})],B.prototype,"type",void 0),(0,n._)([(0,d.Cb)({type:f.Z})],B.prototype,"styleRenderer",null),(0,n._)([(0,d.Cb)({type:b.Z})],B.prototype,"sizeVariables",null),(0,n._)([(0,d.Cb)({type:I.Z})],B.prototype,"rotationVariables",null),B=Z=(0,n._)([(0,g.j)("esri.renderers.VectorFieldRenderer")],B);const E=B},67058:(e,t,r)=>{r.d(t,{FI:()=>b,In:()=>I,Ob:()=>w,U0:()=>M,YD:()=>v,ol:()=>L});var n=r(22303),i=(r(30030),r(70586)),a=(r(67900),r(1231)),s=r(48526),o=(r(24705),r(69237)),l=(r(32984),r(93010)),c=r(44262),u=(r(10278),r(622),r(1515)),d=r(60849),m=r(81571),p=r(28092),g=(r(73622),r(16050),r(3943));const h=u.Z.fromJSON({type:"multipart",colorRamps:[{fromColor:[0,0,255],toColor:[0,255,255]},{fromColor:[0,255,255],toColor:[255,255,0]},{fromColor:[255,255,0],toColor:[255,0,0]}]}),y=u.Z.fromJSON(l.Ms[0]),f=new Set(["scientific","standard-time","vector-uv","vector-magdir","vector-u","vector-v","vector-magnitude","vector-direction"]);function w(e,t){const{attributeTable:r,colormap:a}=e;if(T(e)){const t=function(e){if(!T(e))return null;let t;if((0,i.pC)(e.statistics)&&e.statistics.length&&("vector-magdir"===e.dataType||"vector-uv"===e.dataType)){const{minMagnitude:r,maxMagnitude:n}=function(e,t){let r,n;if("vector-magdir"===e)r=t[0].min,n=t[0].max;else{const e=t[0].min,i=t[0].max,a=t[1].min,s=t[1].max;r=0,n=Math.max(Math.abs(e),Math.abs(a),Math.abs(i),Math.abs(s))}return{minMagnitude:r,maxMagnitude:n}}(e.dataType,e.statistics);t=[{type:"size",field:"Magnitude",minSize:10,maxSize:40,minDataValue:r,maxDataValue:n}]}const r=(0,i.pC)(e.multidimensionalInfo)?S.get(e.multidimensionalInfo.variables[0].unit):null,n=new g.Z({visualVariables:t,inputUnit:r,rotationType:"geographic"});return n.visualVariables=[...n.sizeVariables,...n.rotationVariables],n}(e);if((0,i.pC)(t))return t}if((0,i.pC)(a)){const t=function(e){if(!N(e))return null;let t;const{attributeTable:r,colormap:n}=e;if((0,i.pC)(r)){const e=C(r,"value"),n=A(r,null,!0);"string"===n.type&&(t={},r.features.forEach((r=>{const i=r.attributes;t[i[e.name]]=n?i[n.name]:i[e.name]})))}return p.Z.createFromColormap((0,i.Wg)(n),t)}(e);if((0,i.pC)(t))return t}if((0,i.pC)(r)){const t=function(e,t,r,a){if(!D(e,t))return null;const{attributeTable:s,statistics:u}=e,d=A(s,t),p=C(s,"red"),g=C(s,"green"),h=C(s,"blue"),f=new o.Z,w=[],M=new Set,I=!!(p&&g&&h);if((0,i.pC)(s))s.features.forEach((e=>{const t=e.attributes[d.name];if(!M.has(e.attributes[d.name])&&null!=t){M.add(t);const r=I&&("single"===p.type||"double"===p.type)&&("single"===g.type||"double"===g.type)&&("single"===h.type||"double"===h.type)&&!s.features.some((e=>e.attributes[p.name]>1||e.attributes[g.name]>1||e.attributes[h.name]>1)),i=r?255:1;w.push(new c.Z({value:e.attributes[d.name],label:e.attributes[d.name]+"",symbol:{type:"simple-fill",style:"solid",outline:null,color:new n.Z(I?[e.attributes[p.name]*i,e.attributes[g.name]*i,e.attributes[h.name]*i,1]:[0,0,0,0])}}))}}));else if(u?.[0])for(let e=u[0].min;e<=u[0].max;e++)w.push(new c.Z({value:e,label:e.toString(),symbol:{type:"simple-fill",style:"solid",outline:null,color:new n.Z([0,0,0,0])}}));if(w.sort(((e,t)=>e.value&&"string"==typeof e.value.valueOf()?0:e.value>t.value?1:-1)),!I){const e=(0,l.Jw)(y,{numColors:w.length});w.forEach(((t,r)=>t.symbol.color=new n.Z(e[r].slice(1,4)))),f.colorRamp=y}return new m.Z({field:d.name,uniqueValueInfos:w,authoringInfo:f})}(e);if((0,i.pC)(t))return t}return function(e,t){e=b(e,t?.variableName);const{bandCount:r}=e;let{bandIds:n,stretchType:a}=t||{};n?.some((e=>e>=r))&&(n=null);let s=(0,i.Wg)(e.statistics),o=(0,i.Wg)(e.histograms);r>1?(n=n?.length?n:v(e),s=null==s?null:n?.map((e=>s[e])),o=null==o?null:n?.map((e=>o[e]))):n=[0],null==a&&(a=function(e){let t="percent-clip";const{pixelType:r,dataType:n,histograms:a,statistics:s,multidimensionalInfo:o}=e,l=f.has(n)||"generic"===n&&(0,i.pC)(o);return"u8"!==r||"processed"!==n&&(0,i.pC)(a)&&(0,i.pC)(s)?"u8"===r||"elevation"===n||l?t="min-max":(0,i.pC)(a)?t="percent-clip":(0,i.pC)(s)&&(t="min-max"):t="none",t}(e));let l=!1;switch(a){case"none":l=!1;break;case"percent-clip":l=!o?.length;break;default:l=!s?.length}const{dataType:c}=e,u=1===n?.length&&f.has(c)?h:null,m=new d.Z({stretchType:a,dynamicRangeAdjustment:l,colorRamp:u,outputMin:0,outputMax:255,gamma:1===n?.length?[1]:[1,1,1],useGamma:!1});return"percent-clip"===a?m.maxPercent=m.minPercent=.25:"standard-deviation"===a&&(m.numberOfStandardDeviations=2),l||!(0,i.pC)(e.multidimensionalInfo)&&!t?.includeStatisticsInStretch||("percent-clip"===a?m.histograms=o:"min-max"!==a&&"standard-deviation"!==a||(m.statistics=s)),m}(e,t)}function M(e,t=!1){const r=["raster-stretch"];return N(e)&&r.push("raster-colormap"),D(e)&&r.push("unique-value"),function(e,t=!1){const{attributeTable:r,bandCount:n}=e;return 1===n&&(!t||(0,i.pC)(r)||(0,i.pC)(e.histograms))}(e,t)&&r.push("class-breaks"),function(e){const{bandCount:t,dataType:r,pixelType:n}=e;return"elevation"===r||"generic"===r&&1===t&&("s16"===n||"s32"===n||"f32"===n||"f64"===n)}(e)&&r.push("raster-shaded-relief"),T(e)&&r.push("vector-field"),function(e){const{dataType:t}=e;return"vector-uv"===t||"vector-magdir"===t}(e)&&r.push("flow"),r}function I(e,t,r){const n=["nearest","bilinear","cubic","majority"].find((e=>e===r?.toLowerCase()));return"Map"===t?n??"bilinear":"standard-time"===e.dataType?n??"nearest":"thematic"===e.dataType||e.attributeTable||e.colormap?"nearest"===n||"majority"===n?n:"nearest":n??"bilinear"}function b(e,t){if(!t)return e;let r=(0,i.Wg)(e.statistics),n=(0,i.Wg)(e.histograms);const{multidimensionalInfo:a}=e;if(t&&(0,i.pC)(a)){const e=a.variables.find((e=>e.name===t));if(e){const{statistics:t,histograms:i}=e;t?.length&&(r=t),i?.length&&(n=i)}}return s.Z.fromJSON({...e.toJSON(),statistics:r,histograms:n})}function v(e){const t=e.bandCount;if(1===t)return null;if(2===t)return[0];const r=e.keyProperties&&e.keyProperties.BandProperties;let n;if(r&&r.length===t){const{red:e,green:t,blue:i,nir:a}=function(e){const t={};for(let r=0;r<e.length;r++){const n=e[r],i=n.BandName?.toLowerCase();if("red"===i)t.red=r;else if("green"===i)t.green=r;else if("blue"===i)t.blue=r;else if("nearinfrared"===i||"nearinfrared_1"===i||"nir"===i)t.nir=r;else if(n.WavelengthMax&&n.WavelengthMin){const e=n.WavelengthMin,i=n.WavelengthMax;null==t.blue&&e>=410&&e<=480&&i>=480&&i<=540?t.blue=r:null==t.green&&e>=490&&e<=560&&i>=560&&i<=610?t.green=r:null==t.red&&e>=595&&e<=670&&i>=660&&i<=730?t.red=r:null==t.nir&&e>=700&&e<=860&&i>=800&&i<=950&&(t.nir=r)}}return t}(r);null!=e&&null!=t&&null!=i?n=[e,t,i]:null!=a&&null!=e&&null!=t&&(n=[a,e,t])}return!n&&t>=3&&(n=[0,1,2]),n}function A(e,t,r){let n;return(0,i.pC)(e)?(n=t?e.fields.find((e=>t.toLowerCase()===e.name.toLowerCase())):function(e){let t;for(let r=0;r<e.length;r++){const n=e[r].name.toLowerCase();if("string"===e[r].type){if(n.startsWith("class")){t=e[r];break}null==t&&(n.endsWith("name")||n.endsWith("type"))&&(t=e[r])}}return t}(e.fields),n||(r||(n=e.fields.find((e=>"string"===e.type))),n||(n=C(e,"value")))):n=new a.Z({name:"value"}),n}function C(e,t){return(0,i.Wi)(e)?null:e.fields.find((e=>e.name.toLowerCase()===t))}function D(e,t){const{attributeTable:r,bandCount:n}=e;return!((!(0,i.Wi)(r)||!function(e){return["u8","s8"].includes(e.pixelType)&&null!=e.statistics?.[0]?.min&&null!=e.statistics[0]?.max&&1===e.bandCount}(e))&&((0,i.Wi)(r)||n>1||t&&null==r.fields.find((e=>e.name.toLowerCase()===t.toLowerCase()))))}function N(e){const{bandCount:t,colormap:r}=e;return(0,i.pC)(r)&&r.length>0&&1===t}function T(e){const{dataType:t}=e;return"vector-uv"===t||"vector-magdir"===t}const S=new Map([["m/s","meter-per-second"],["km/h","kilometer-per-hour"],["knots","knots"],["ft/s","feet-per-second"],["mph","mile-per-hour"]]);function j(e){return{color:e.symbolLayers[0].material?.color,type:"esriSFS",style:"esriSFSSolid"}}function L(e){if("uniqueValue"===e.type){const t=e.uniqueValueInfos,r=t?.[0].symbol;return r?.symbolLayers?.length&&(e.uniqueValueInfos=t?.map((e=>({value:e.value,label:e.label,symbol:e.symbol?j(e.symbol):null})))),e}if("classBreaks"===e.type){const t=e.classBreakInfos;return t[0].symbol?.symbolLayers?.length&&(e.classBreakInfos=t.map((e=>({classMinValue:e.classMinValue,classMaxValue:e.classMaxValue,label:e.label,symbol:e.symbol?j(e.symbol):null})))),e}return e}},51706:(e,t,r)=>{var n,i;function a(e){return e&&"esri.renderers.visualVariables.SizeVariable"===e.declaredClass}function s(e){return null!=e&&!isNaN(e)&&isFinite(e)}function o(e){return e.valueExpression?n.Expression:e.field&&"string"==typeof e.field?n.Field:n.Unknown}function l(e,t){const r=t||o(e),a=e.valueUnit||"unknown";return r===n.Unknown?i.Constant:e.stops?i.Stops:null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?i.ClampedLinear:"unknown"===a?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?i.Proportional:i.Additive:i.Identity:i.RealWorldSize}r.d(t,{PS:()=>o,QW:()=>l,RY:()=>n,hL:()=>i,iY:()=>a,qh:()=>s}),function(e){e.Unknown="unknown",e.Expression="expression",e.Field="field"}(n||(n={})),function(e){e.Unknown="unknown",e.Stops="stops",e.ClampedLinear="clamped-linear",e.Proportional="proportional",e.Additive="additive",e.Constant="constant",e.Identity="identity",e.RealWorldSize="real-world-size"}(i||(i={}))},26059:(e,t,r)=>{r.d(t,{N:()=>m,g:()=>d});var n=r(3172),i=r(6570),a=r(94139),s=r(82971),o=r(48526),l=r(11282),c=r(74889);async function u(e,t,r){const u=(0,l.en)(e),{renderingRule:d,sourceJSON:m}=t||{},p=d?JSON.stringify(d.rasterFunctionDefinition||d):null,g=(0,l.cv)({...u.query,renderingRule:p,f:"json"}),h=(0,l.lA)(g,r);e=u.path;const y=m||await(0,n.default)(e,h).then((e=>e.data)),f=y.hasRasterAttributeTable?(0,n.default)(`${e}/rasterAttributeTable`,h):null,w=y.hasColormap?(0,n.default)(`${e}/colormap`,h):null,M=y.hasHistograms?(0,n.default)(`${e}/histograms`,h):null,I=y.currentVersion>=10.3?(0,n.default)(`${e}/keyProperties`,h):null,b=y.hasMultidimensions?(0,n.default)(`${e}/multidimensionalInfo`,h):null,v=await Promise.allSettled([f,w,M,I,b]);let A=null;if(y.minValues&&y.minValues.length===y.bandCount){A=[];for(let e=0;e<y.minValues.length;e++)A.push({min:y.minValues[e],max:y.maxValues[e],avg:y.meanValues[e],stddev:y.stdvValues[e]})}const C=i.Z.fromJSON(y.extent),D=Math.ceil(C.width/y.pixelSizeX-.1),N=Math.ceil(C.height/y.pixelSizeY-.1),T=s.Z.fromJSON(y.spatialReference||y.extent.spatialReference),S="fulfilled"===v[0].status&&v[0].value?c.Z.fromJSON(v[0].value.data):null,j="fulfilled"===v[1].status?v[1].value?.data.colormap:null,L="fulfilled"===v[2].status?v[2].value?.data.histograms:null,Z="fulfilled"===v[3].status?v[3].value?.data??{}:{},x="fulfilled"===v[4].status?v[4].value?.data.multidimensionalInfo:null;x?.variables?.length&&x.variables.forEach((e=>{e.statistics?.length&&e.statistics.forEach((e=>{e.avg=e.mean,e.stddev=e.standardDeviation}))}));const{defaultVariable:k,serviceDataType:U}=y;k&&k!==Z.DefaultVariable&&(Z.DefaultVariable=k),U&&U.includes("esriImageServiceDataTypeVector")&&!U.includes(Z.DataType)&&(Z.DataType=U.replace("esriImageServiceDataType",""));let _=y.noDataValue;return y.noDataValues?.length&&y.noDataValues.some((e=>e!==_))&&(_=y.noDataValues),new o.Z({width:D,height:N,bandCount:y.bandCount,extent:i.Z.fromJSON(y.extent),spatialReference:T,pixelSize:new a.Z({x:y.pixelSizeX,y:y.pixelSizeY,spatialReference:T}),pixelType:y.pixelType.toLowerCase(),statistics:A,attributeTable:S,colormap:j,histograms:L,keyProperties:Z,noDataValue:_,multidimensionalInfo:x})}function d(e,t,r){return u(e,{sourceJSON:t},r)}function m(e,t,r){return u(e,{renderingRule:t},r)}},74889:(e,t,r)=>{r.d(t,{Z:()=>I});var n,i=r(43697),a=r(66577),s=r(38171),o=r(35454),l=r(96674),c=r(22974),u=r(70586),d=r(5600),m=(r(75215),r(71715)),p=r(52011),g=r(30556),h=r(82971),y=r(33955),f=r(1231);const w=new o.X({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let M=n=class extends l.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=h.Z.fromJSON(t.spatialReference),n=[];for(let t=0;t<e.length;t++){const i=e[t],a=s.Z.fromJSON(i),o=i.geometry&&i.geometry.spatialReference;(0,u.pC)(a.geometry)&&!o&&(a.geometry.spatialReference=r);const l=i.aggregateGeometries,c=a.aggregateGeometries;if(l&&(0,u.pC)(c))for(const e in c){const t=c[e],n=l[e]?.spatialReference;(0,u.pC)(t)&&!n&&(t.spatialReference=r)}n.push(a)}return n}writeGeometryType(e,t,r,n){if(e)return void w.write(e,t,r,n);const{features:i}=this;if(i)for(const e of i)if(e&&(0,u.pC)(e.geometry))return void w.write(e.geometry.type,t,r,n)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,n=(0,y.im)(e);return n&&!r&&t.spatialReference&&(n.spatialReference=h.Z.fromJSON(t.spatialReference)),n}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&(0,u.pC)(e.geometry)&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new n(this.cloneProperties())}cloneProperties(){return(0,c.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 n=t.features[r];if(n.geometry){const t=e&&e[r];n.geometry=t&&t.toJSON()||n.geometry}}return t}quantize(e){const{scale:[t,r],translate:[n,i]}=e,a=this.features,s=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-n)/t)),(e=>Math.round((i-e)/r)));for(let e=0,t=a.length;e<t;e++)s?.((0,u.Wg)(a[e].geometry))||(a.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:[n,i],scale:[a,s]}=r,o=this._getHydrationFunction(e,(e=>e*a+n),(e=>i-e*s));for(const{geometry:e}of t)(0,u.pC)(e)&&o&&o(e);return this.transform=null,this}_quantizePoints(e,t,r){let n,i;const a=[];for(let s=0,o=e.length;s<o;s++){const o=e[s];if(s>0){const e=t(o[0]),s=r(o[1]);e===n&&s===i||(a.push([e-n,s-i]),n=e,i=s)}else n=t(o[0]),i=r(o[1]),a.push([n,i])}return a.length>0?a: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 n=(0,y.oU)(e)?e.rings:e.paths,i=[];for(let e=0,a=n.length;e<a;e++){const a=n[e],s=this._quantizePoints(a,t,r);s&&i.push(s)}return i.length>0?((0,y.oU)(e)?e.rings=i:e.paths=i,e):null}:"multipoint"===e?e=>{const n=this._quantizePoints(e.points,t,r);return n&&n.length>0?(e.points=n,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y)}:"polyline"===e||"polygon"===e?e=>{const n=(0,y.oU)(e)?e.rings:e.paths;let i,a;for(let e=0,s=n.length;e<s;e++){const s=n[e];for(let e=0,n=s.length;e<n;e++){const n=s[e];e>0?(i+=n[0],a+=n[1]):(i=n[0],a=n[1]),n[0]=t(i),n[1]=r(a)}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax)}:"multipoint"===e?e=>{const n=e.points;let i,a;for(let e=0,s=n.length;e<s;e++){const s=n[e];e>0?(i+=s[0],a+=s[1]):(i=s[0],a=s[1]),s[0]=t(i),s[1]=r(a)}}:null}};(0,i._)([(0,d.Cb)({type:String,json:{write:!0}})],M.prototype,"displayFieldName",void 0),(0,i._)([(0,d.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],M.prototype,"exceededTransferLimit",void 0),(0,i._)([(0,d.Cb)({type:[s.Z],json:{write:!0}})],M.prototype,"features",void 0),(0,i._)([(0,m.r)("features")],M.prototype,"readFeatures",null),(0,i._)([(0,d.Cb)({type:[f.Z],json:{write:!0}})],M.prototype,"fields",void 0),(0,i._)([(0,d.Cb)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:w.read}}})],M.prototype,"geometryType",void 0),(0,i._)([(0,g.c)("geometryType")],M.prototype,"writeGeometryType",null),(0,i._)([(0,d.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],M.prototype,"hasM",void 0),(0,i._)([(0,d.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],M.prototype,"hasZ",void 0),(0,i._)([(0,d.Cb)({types:a.qM,json:{write:!0}})],M.prototype,"queryGeometry",void 0),(0,i._)([(0,m.r)("queryGeometry")],M.prototype,"readQueryGeometry",null),(0,i._)([(0,d.Cb)({type:h.Z,json:{write:!0}})],M.prototype,"spatialReference",void 0),(0,i._)([(0,g.c)("spatialReference")],M.prototype,"writeSpatialReference",null),(0,i._)([(0,d.Cb)({json:{write:!0}})],M.prototype,"transform",void 0),M=n=(0,i._)([(0,p.j)("esri.rest.support.FeatureSet")],M),M.prototype.toJSON.isDefaultToJSON=!0;const I=M},32163:(e,t,r)=>{r.d(t,{eZ:()=>d});var n=r(51773),i=r(35671),a=r(84649),s=(r(63801),r(48074),r(38745),r(9190)),o=(r(10214),r(71423),r(44951),r(422)),l=r(63061);const c=["oid","global-id"],u=["oid","global-id","guid"];function d({displayField:e,editFieldsInfo:t,fields:r,objectIdField:l,title:c},u){if(!r)return null;const d=function({editFieldsInfo:e,fields:t,objectIdField:r},n){return function(e,t){const r=e;return t&&(e=e.filter((e=>!t.includes(e.type)))),e===r&&(e=e.slice()),e.sort(g),e}(t??[],n?.ignoreFieldTypes||M).map((t=>new o.Z({fieldName:t.name,isEditable:y(t,e),label:t.alias,format:f(t),visible:p(t,{editFieldsInfo:e,objectIdField:r,visibleFieldNames:n?.visibleFieldNames})})))}({editFieldsInfo:t,fields:r,objectIdField:l},u);if(!d.length)return null;const m=function(e){const t=(0,i.O5)(e),{titleBase:r}=e;return t?`${r}: {${t.trim()}}`:r??""}({titleBase:c,fields:r,displayField:e}),h=[new s.Z,new a.Z];return new n.Z({title:m,content:h,fieldInfos:d})}const m=[/^fnode_$/i,/^tnode_$/i,/^lpoly_$/i,/^rpoly_$/i,/^poly_$/i,/^subclass$/i,/^subclass_$/i,/^rings_ok$/i,/^rings_nok$/i,/shape/i,/perimeter/i,/objectid/i,/_i$/i],p=(e,{editFieldsInfo:t,objectIdField:r,visibleFieldNames:n})=>n?n.has(e.name):!(h(e.name,t)||r&&e.name===r||c.includes(e.type)||m.some((t=>t.test(e.name))));function g(e,t){return"oid"===e.type?-1:"oid"===t.type?1:w(e)?-1:w(t)?1:(e.alias||e.name).toLocaleLowerCase().localeCompare((t.alias||t.name).toLocaleLowerCase())}function h(e,t){if(!e||!t)return!1;const{creationDateField:r,creatorField:n,editDateField:i,editorField:a}=t;return[r&&r.toLowerCase(),n&&n.toLowerCase(),i&&i.toLowerCase(),a&&a.toLowerCase()].includes(e.toLowerCase())}function y(e,t){return e.editable&&!u.includes(e.type)&&!h(e.name,t)}function f(e){switch(e.type){case"small-integer":case"integer":case"single":return new l.Z({digitSeparator:!0,places:0});case"double":return new l.Z({digitSeparator:!0,places:2});case"date":return new l.Z({dateFormat:"long-month-day-year"});default:return"string"===e.type&&(0,i.Ec)(e.name)?new l.Z({digitSeparator:!0,places:0}):null}}function w(e){return"name"===(e.name&&e.name.toLowerCase())||"name"===(e.alias&&e.alias.toLowerCase())}const M=["geometry","blob","raster","guid","xml"]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4165],{10158:(e,t,r)=>{r.d(t,{n:()=>N});var o,i=r(43697),s=r(35454),n=r(96674),a=r(5600),l=r(90578),p=r(36030),u=r(71715),c=r(52011),d=r(75215),y=r(63213),h=r(1231),m=r(42843),b=(r(66577),r(67676),r(82971)),w=r(86973);let v=o=class extends n.wq{constructor(e){super(e),this.type="query-table"}clone(){const{workspaceId:e,query:t,oidFields:r,spatialReference:i,geometryType:s}=this,n={workspaceId:e,query:t,oidFields:r,spatialReference:i?.clone()??void 0,geometryType:s};return new o(n)}};var S;(0,i._)([(0,p.J)({queryTable:"query-table"})],v.prototype,"type",void 0),(0,i._)([(0,a.Cb)({type:String,json:{write:!0}})],v.prototype,"workspaceId",void 0),(0,i._)([(0,a.Cb)({type:String,json:{write:!0}})],v.prototype,"query",void 0),(0,i._)([(0,a.Cb)({type:String,json:{write:!0}})],v.prototype,"oidFields",void 0),(0,i._)([(0,a.Cb)({type:b.Z,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,i._)([(0,p.J)(w.M)],v.prototype,"geometryType",void 0),v=o=(0,i._)([(0,c.j)("esri.layers.support.source.QueryTableDataSource")],v);let _=S=class extends n.wq{constructor(e){super(e),this.type="raster"}clone(){const{workspaceId:e,dataSourceName:t}=this;return new S({workspaceId:e,dataSourceName:t})}};var C;(0,i._)([(0,p.J)({raster:"raster"})],_.prototype,"type",void 0),(0,i._)([(0,a.Cb)({type:String,json:{write:!0}})],_.prototype,"dataSourceName",void 0),(0,i._)([(0,a.Cb)({type:String,json:{write:!0}})],_.prototype,"workspaceId",void 0),_=S=(0,i._)([(0,c.j)("esri.layers.support.source.RasterDataSource")],_);let g=C=class extends n.wq{constructor(e){super(e),this.type="table"}clone(){const{workspaceId:e,gdbVersion:t,dataSourceName:r}=this;return new C({workspaceId:e,gdbVersion:t,dataSourceName:r})}};var j,f;(0,i._)([(0,p.J)({table:"table"})],g.prototype,"type",void 0),(0,i._)([(0,a.Cb)({type:String,json:{write:!0}})],g.prototype,"workspaceId",void 0),(0,i._)([(0,a.Cb)({type:String,json:{write:!0}})],g.prototype,"gdbVersion",void 0),(0,i._)([(0,a.Cb)({type:String,json:{write:!0}})],g.prototype,"dataSourceName",void 0),g=C=(0,i._)([(0,c.j)("esri.layers.support.source.TableDataSource")],g);const T=(0,s.w)()({esriLeftInnerJoin:"left-inner-join",esriLeftOuterJoin:"left-outer-join"});let R=j=class extends n.wq{constructor(e){super(e),this.type="join-table"}readLeftTableSource(e,t,r){return F()(e,t,r)}castLeftTableSource(e){return(0,d.N7)(V(),e)}readRightTableSource(e,t,r){return F()(e,t,r)}castRightTableSource(e){return(0,d.N7)(V(),e)}clone(){const{leftTableKey:e,rightTableKey:t,leftTableSource:r,rightTableSource:o,joinType:i}=this,s={leftTableKey:e,rightTableKey:t,leftTableSource:r?.clone()??void 0,rightTableSource:o?.clone()??void 0,joinType:i};return new j(s)}};(0,i._)([(0,p.J)({joinTable:"join-table"})],R.prototype,"type",void 0),(0,i._)([(0,a.Cb)({type:String,json:{write:!0}})],R.prototype,"leftTableKey",void 0),(0,i._)([(0,a.Cb)({type:String,json:{write:!0}})],R.prototype,"rightTableKey",void 0),(0,i._)([(0,a.Cb)({json:{write:!0}})],R.prototype,"leftTableSource",void 0),(0,i._)([(0,u.r)("leftTableSource")],R.prototype,"readLeftTableSource",null),(0,i._)([(0,l.p)("leftTableSource")],R.prototype,"castLeftTableSource",null),(0,i._)([(0,a.Cb)({json:{write:!0}})],R.prototype,"rightTableSource",void 0),(0,i._)([(0,u.r)("rightTableSource")],R.prototype,"readRightTableSource",null),(0,i._)([(0,l.p)("rightTableSource")],R.prototype,"castRightTableSource",null),(0,i._)([(0,p.J)(T)],R.prototype,"joinType",void 0),R=j=(0,i._)([(0,c.j)("esri.layers.support.source.JoinTableDataSource")],R);let x=null;function F(){return x||(x=(0,y.d)({types:V()})),x}let P=null;function V(){return P||(P={key:"type",base:null,typeMap:{"data-layer":N,"map-layer":m.R}}),P}const M={key:"type",base:null,typeMap:{"join-table":R,"query-table":v,raster:_,table:g}};let N=f=class extends n.wq{constructor(e){super(e),this.type="data-layer"}clone(){const{fields:e,dataSource:t}=this;return new f({fields:e,dataSource:t})}};(0,i._)([(0,p.J)({dataLayer:"data-layer"})],N.prototype,"type",void 0),(0,i._)([(0,a.Cb)({type:[h.Z],json:{write:!0}})],N.prototype,"fields",void 0),(0,i._)([(0,a.Cb)({types:M,json:{write:!0}})],N.prototype,"dataSource",void 0),N=f=(0,i._)([(0,c.j)("esri.layers.support.source.DataLayerSource")],N),N.from=(0,d.se)(N)},42843:(e,t,r)=>{r.d(t,{R:()=>u});var o,i=r(43697),s=r(96674),n=r(5600),a=r(75215),l=(r(67676),r(36030)),p=r(52011);let u=o=class extends s.wq{constructor(e){super(e),this.type="map-layer"}clone(){const{mapLayerId:e,gdbVersion:t}=this;return new o({mapLayerId:e,gdbVersion:t})}};(0,i._)([(0,l.J)({mapLayer:"map-layer"})],u.prototype,"type",void 0),(0,i._)([(0,n.Cb)({type:a.z8,json:{write:!0}})],u.prototype,"mapLayerId",void 0),(0,i._)([(0,n.Cb)({type:String,json:{write:!0}})],u.prototype,"gdbVersion",void 0),u=o=(0,i._)([(0,p.j)("esri.layers.support.source.MapLayerSource")],u)},6388:(e,t,r)=>{r.d(t,{Z:()=>y});var o,i=r(43697),s=(r(66577),r(35454)),n=r(96674),a=r(22974),l=r(5600),p=(r(75215),r(52011)),u=r(6570);const c=new s.X({upperLeft:"upper-left",lowerLeft:"lower-left"});let d=o=class extends n.wq{constructor(e){super(e),this.extent=null,this.mode="view",this.originPosition="upper-left",this.tolerance=1}clone(){return new o((0,a.d9)({extent:this.extent,mode:this.mode,originPosition:this.originPosition,tolerance:this.tolerance}))}};(0,i._)([(0,l.Cb)({type:u.Z,json:{write:{overridePolicy(){return{enabled:"view"===this.mode}}}}})],d.prototype,"extent",void 0),(0,i._)([(0,l.Cb)({type:["view","edit"],json:{write:!0}})],d.prototype,"mode",void 0),(0,i._)([(0,l.Cb)({type:String,json:{read:c.read,write:c.write}})],d.prototype,"originPosition",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:{overridePolicy(){return{enabled:"view"===this.mode}}}}})],d.prototype,"tolerance",void 0),d=o=(0,i._)([(0,p.j)("esri.rest.support.QuantizationParameters")],d);const y=d},14165:(e,t,r)=>{r.d(t,{Z:()=>P});var o=r(43697),i=r(66577),s=r(92835),n=r(35454),a=r(96674),l=r(22974),p=r(70586),u=r(5600),c=r(90578),d=r(36030),y=r(52011),h=r(30556),m=r(75215),b=r(33955),w=r(10158),v=r(2368);r(67676);let S=class extends((0,v.J)(a.wq)){constructor(e){super(e),this.onFields=null,this.operator=null,this.searchTerm=null,this.searchType=null}};(0,o._)([(0,u.Cb)({type:[String],json:{write:{enabled:!0,overridePolicy(){return{enabled:(0,p.pC)(this.onFields)&&this.onFields.length>0}}}}})],S.prototype,"onFields",void 0),(0,o._)([(0,u.Cb)({type:String,json:{write:!0}})],S.prototype,"operator",void 0),(0,o._)([(0,u.Cb)({type:String,json:{write:!0}})],S.prototype,"searchTerm",void 0),(0,o._)([(0,u.Cb)({type:String,json:{write:!0}})],S.prototype,"searchType",void 0),S=(0,o._)([(0,y.j)("esri.rest.support.FullTextSearch")],S);const _=S;var C,g=r(6388),j=r(58539),f=r(82971),T=r(94139);const R=new n.X({esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"envelope-intersects",esriSpatialRelIndexIntersects:"index-intersects",esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:"relation"}),x=new n.X({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let F=C=class extends a.wq{static from(e){return(0,m.TJ)(C,e)}constructor(e){super(e),this.aggregateIds=null,this.cacheHint=void 0,this.compactGeometryEnabled=!1,this.datumTransformation=null,this.defaultSpatialReferenceEnabled=!1,this.distance=void 0,this.dynamicDataSource=void 0,this.formatOf3DObjects=null,this.fullText=null,this.gdbVersion=null,this.geometry=null,this.geometryPrecision=void 0,this.groupByFieldsForStatistics=null,this.having=null,this.historicMoment=null,this.maxAllowableOffset=void 0,this.maxRecordCountFactor=1,this.multipatchOption=null,this.num=void 0,this.objectIds=null,this.orderByFields=null,this.outFields=null,this.outSpatialReference=null,this.outStatistics=null,this.parameterValues=null,this.pixelSize=null,this.quantizationParameters=null,this.rangeValues=null,this.relationParameter=null,this.resultType=null,this.returnCentroid=!1,this.returnDistinctValues=!1,this.returnExceededLimitFeatures=!0,this.returnGeometry=!1,this.returnQueryGeometry=!1,this.returnM=void 0,this.returnZ=void 0,this.sourceSpatialReference=null,this.spatialRelationship="intersects",this.start=void 0,this.sqlFormat=null,this.text=null,this.timeExtent=null,this.timeReferenceUnknownClient=!1,this.units=null,this.where=null}castDatumTransformation(e){return"number"==typeof e||"object"==typeof e?e:null}writeHistoricMoment(e,t){t.historicMoment=e&&e.getTime()}writeParameterValues(e,t){if(e){const r={};for(const t in e){const o=e[t];Array.isArray(o)?r[t]=o.map((e=>e instanceof Date?e.getTime():e)):o instanceof Date?r[t]=o.getTime():r[t]=o}t.parameterValues=r}}writeStart(e,t){t.resultOffset=this.start,t.resultRecordCount=this.num||10,t.where="1=1"}writeWhere(e,t){t.where=e||"1=1"}clone(){return new C((0,l.d9)({aggregateIds:this.aggregateIds,cacheHint:this.cacheHint,compactGeometryEnabled:this.compactGeometryEnabled,datumTransformation:this.datumTransformation,defaultSpatialReferenceEnabled:this.defaultSpatialReferenceEnabled,distance:this.distance,fullText:this.fullText,gdbVersion:this.gdbVersion,geometry:this.geometry,geometryPrecision:this.geometryPrecision,groupByFieldsForStatistics:this.groupByFieldsForStatistics,having:this.having,historicMoment:(0,p.pC)(this.historicMoment)?new Date(this.historicMoment.getTime()):null,maxAllowableOffset:this.maxAllowableOffset,maxRecordCountFactor:this.maxRecordCountFactor,multipatchOption:this.multipatchOption,num:this.num,objectIds:this.objectIds,orderByFields:this.orderByFields,outFields:this.outFields,outSpatialReference:this.outSpatialReference,outStatistics:this.outStatistics,parameterValues:this.parameterValues,pixelSize:this.pixelSize,quantizationParameters:this.quantizationParameters,rangeValues:this.rangeValues,relationParameter:this.relationParameter,resultType:this.resultType,returnDistinctValues:this.returnDistinctValues,returnGeometry:this.returnGeometry,returnCentroid:this.returnCentroid,returnExceededLimitFeatures:this.returnExceededLimitFeatures,returnQueryGeometry:this.returnQueryGeometry,returnM:this.returnM,returnZ:this.returnZ,dynamicDataSource:this.dynamicDataSource,sourceSpatialReference:this.sourceSpatialReference,spatialRelationship:this.spatialRelationship,start:this.start,sqlFormat:this.sqlFormat,text:this.text,timeExtent:this.timeExtent,timeReferenceUnknownClient:this.timeReferenceUnknownClient,units:this.units,where:this.where}))}};F.MAX_MAX_RECORD_COUNT_FACTOR=5,(0,o._)([(0,u.Cb)({json:{write:!0}})],F.prototype,"aggregateIds",void 0),(0,o._)([(0,u.Cb)({type:Boolean,json:{write:!0}})],F.prototype,"cacheHint",void 0),(0,o._)([(0,u.Cb)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"compactGeometryEnabled",void 0),(0,o._)([(0,u.Cb)({json:{write:!0}})],F.prototype,"datumTransformation",void 0),(0,o._)([(0,c.p)("datumTransformation")],F.prototype,"castDatumTransformation",null),(0,o._)([(0,u.Cb)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"defaultSpatialReferenceEnabled",void 0),(0,o._)([(0,u.Cb)({type:Number,json:{write:{overridePolicy:e=>({enabled:e>0})}}})],F.prototype,"distance",void 0),(0,o._)([(0,u.Cb)({type:w.n,json:{write:!0}})],F.prototype,"dynamicDataSource",void 0),(0,o._)([(0,u.Cb)({type:String,json:{write:!0}})],F.prototype,"formatOf3DObjects",void 0),(0,o._)([(0,u.Cb)({type:[_],json:{write:{enabled:!0,overridePolicy(){return{enabled:(0,p.pC)(this.fullText)&&this.fullText.length>0}}}}})],F.prototype,"fullText",void 0),(0,o._)([(0,u.Cb)({type:String,json:{write:!0}})],F.prototype,"gdbVersion",void 0),(0,o._)([(0,u.Cb)({types:i.qM,json:{read:b.im,write:!0}})],F.prototype,"geometry",void 0),(0,o._)([(0,u.Cb)({type:Number,json:{write:!0}})],F.prototype,"geometryPrecision",void 0),(0,o._)([(0,u.Cb)({type:[String],json:{write:!0}})],F.prototype,"groupByFieldsForStatistics",void 0),(0,o._)([(0,u.Cb)({type:String,json:{write:!0}})],F.prototype,"having",void 0),(0,o._)([(0,u.Cb)({type:Date})],F.prototype,"historicMoment",void 0),(0,o._)([(0,h.c)("historicMoment")],F.prototype,"writeHistoricMoment",null),(0,o._)([(0,u.Cb)({type:Number,json:{write:!0}})],F.prototype,"maxAllowableOffset",void 0),(0,o._)([(0,u.Cb)({type:Number,cast:e=>e<1?1:e>C.MAX_MAX_RECORD_COUNT_FACTOR?C.MAX_MAX_RECORD_COUNT_FACTOR:e,json:{write:{overridePolicy:e=>({enabled:e>1})}}})],F.prototype,"maxRecordCountFactor",void 0),(0,o._)([(0,u.Cb)({type:["xyFootprint"],json:{write:!0}})],F.prototype,"multipatchOption",void 0),(0,o._)([(0,u.Cb)({type:Number,json:{read:{source:"resultRecordCount"}}})],F.prototype,"num",void 0),(0,o._)([(0,u.Cb)({json:{write:!0}})],F.prototype,"objectIds",void 0),(0,o._)([(0,u.Cb)({type:[String],json:{write:!0}})],F.prototype,"orderByFields",void 0),(0,o._)([(0,u.Cb)({type:[String],json:{write:!0}})],F.prototype,"outFields",void 0),(0,o._)([(0,u.Cb)({type:f.Z,json:{name:"outSR",write:!0}})],F.prototype,"outSpatialReference",void 0),(0,o._)([(0,u.Cb)({type:[j.Z],json:{write:{enabled:!0,overridePolicy(){return{enabled:(0,p.pC)(this.outStatistics)&&this.outStatistics.length>0}}}}})],F.prototype,"outStatistics",void 0),(0,o._)([(0,u.Cb)({json:{write:!0}})],F.prototype,"parameterValues",void 0),(0,o._)([(0,h.c)("parameterValues")],F.prototype,"writeParameterValues",null),(0,o._)([(0,u.Cb)({type:T.Z,json:{write:!0}})],F.prototype,"pixelSize",void 0),(0,o._)([(0,u.Cb)({type:g.Z,json:{write:!0}})],F.prototype,"quantizationParameters",void 0),(0,o._)([(0,u.Cb)({type:[Object],json:{write:!0}})],F.prototype,"rangeValues",void 0),(0,o._)([(0,u.Cb)({type:String,json:{read:{source:"relationParam"},write:{target:"relationParam",overridePolicy(){return{enabled:"relation"===this.spatialRelationship}}}}})],F.prototype,"relationParameter",void 0),(0,o._)([(0,u.Cb)({type:String,json:{write:!0}})],F.prototype,"resultType",void 0),(0,o._)([(0,u.Cb)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"returnCentroid",void 0),(0,o._)([(0,u.Cb)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"returnDistinctValues",void 0),(0,o._)([(0,u.Cb)({type:Boolean,json:{default:!0,write:!0}})],F.prototype,"returnExceededLimitFeatures",void 0),(0,o._)([(0,u.Cb)({type:Boolean,json:{write:!0}})],F.prototype,"returnGeometry",void 0),(0,o._)([(0,u.Cb)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"returnQueryGeometry",void 0),(0,o._)([(0,u.Cb)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"returnM",void 0),(0,o._)([(0,u.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],F.prototype,"returnZ",void 0),(0,o._)([(0,u.Cb)({type:f.Z,json:{write:!0}})],F.prototype,"sourceSpatialReference",void 0),(0,o._)([(0,d.J)(R,{ignoreUnknown:!1,name:"spatialRel"})],F.prototype,"spatialRelationship",void 0),(0,o._)([(0,u.Cb)({type:Number,json:{read:{source:"resultOffset"}}})],F.prototype,"start",void 0),(0,o._)([(0,h.c)("start"),(0,h.c)("num")],F.prototype,"writeStart",null),(0,o._)([(0,u.Cb)({type:String,json:{write:!0}})],F.prototype,"sqlFormat",void 0),(0,o._)([(0,u.Cb)({type:String,json:{write:!0}})],F.prototype,"text",void 0),(0,o._)([(0,u.Cb)({type:s.Z,json:{write:!0}})],F.prototype,"timeExtent",void 0),(0,o._)([(0,u.Cb)({type:Boolean,json:{default:!1,write:!0}})],F.prototype,"timeReferenceUnknownClient",void 0),(0,o._)([(0,d.J)(x,{ignoreUnknown:!1}),(0,u.Cb)({json:{write:{overridePolicy(e){return{enabled:!!e&&null!=this.distance&&this.distance>0}}}}})],F.prototype,"units",void 0),(0,o._)([(0,u.Cb)({type:String,json:{write:{overridePolicy(e){return{enabled:null!=e||null!=this.start&&this.start>0}}}}})],F.prototype,"where",void 0),(0,o._)([(0,h.c)("where")],F.prototype,"writeWhere",null),F=C=(0,o._)([(0,y.j)("esri.rest.support.Query")],F);const P=F},58539:(e,t,r)=>{r.d(t,{Z:()=>y});var o,i=r(43697),s=r(35454),n=r(96674),a=r(22974),l=r(5600),p=(r(75215),r(52011)),u=r(30556);const c=new s.X({count:"count",sum:"sum",min:"min",max:"max",avg:"avg",stddev:"stddev",var:"var",exceedslimit:"exceedslimit",percentile_cont:"percentile-continuous",percentile_disc:"percentile-discrete",EnvelopeAggregate:"envelope-aggregate",CentroidAggregate:"centroid-aggregate",ConvexHullAggregate:"convex-hull-aggregate"});let d=o=class extends n.wq{constructor(e){super(e),this.maxPointCount=void 0,this.maxRecordCount=void 0,this.maxVertexCount=void 0,this.onStatisticField=null,this.outStatisticFieldName=null,this.statisticType=null,this.statisticParameters=null}writeStatisticParameters(e,t){"percentile-continuous"!==this.statisticType&&"percentile-discrete"!==this.statisticType||(t.statisticParameters=(0,a.d9)(e))}clone(){return new o({maxPointCount:this.maxPointCount,maxRecordCount:this.maxRecordCount,maxVertexCount:this.maxVertexCount,onStatisticField:this.onStatisticField,outStatisticFieldName:this.outStatisticFieldName,statisticType:this.statisticType,statisticParameters:(0,a.d9)(this.statisticParameters)})}};(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],d.prototype,"maxPointCount",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],d.prototype,"maxRecordCount",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],d.prototype,"maxVertexCount",void 0),(0,i._)([(0,l.Cb)({type:String,json:{write:!0}})],d.prototype,"onStatisticField",void 0),(0,i._)([(0,l.Cb)({type:String,json:{write:!0}})],d.prototype,"outStatisticFieldName",void 0),(0,i._)([(0,l.Cb)({type:String,json:{read:{source:"statisticType",reader:c.read},write:{target:"statisticType",writer:c.write}}})],d.prototype,"statisticType",void 0),(0,i._)([(0,l.Cb)({type:Object})],d.prototype,"statisticParameters",void 0),(0,i._)([(0,u.c)("statisticParameters")],d.prototype,"writeStatisticParameters",null),d=o=(0,i._)([(0,p.j)("esri.rest.support.StatisticDefinition")],d);const y=d}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3594],{5732:(t,e,i)=>{i.d(e,{c:()=>s});var s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{}},69801:(t,e,i)=>{i.d(e,{WJ:()=>h,Xq:()=>a});var s,n,r=i(70586),o=i(44553);(n=s||(s={}))[n.ALL=0]="ALL",n[n.SOME=1]="SOME";class a{constructor(t,e,i){this._namespace=t,this._storage=e,this._removeFunc=!1,this._hit=0,this._miss=0,this._storage.register(this),this._namespace+=":",i&&(this._storage.registerRemoveFunc(this._namespace,i),this._removeFunc=!0)}destroy(){this._storage.clear(this._namespace),this._removeFunc&&this._storage.deregisterRemoveFunc(this._namespace),this._storage.deregister(this),this._storage=null}get namespace(){return this._namespace.slice(0,-1)}get hitRate(){return this._hit/(this._hit+this._miss)}get size(){return this._storage.size}get maxSize(){return this._storage.maxSize}resetHitRate(){this._hit=this._miss=0}put(t,e,i,s=0){this._storage.put(this._namespace+t,e,i,s)}get(t){const e=this._storage.get(this._namespace+t);return void 0===e?++this._miss:++this._hit,e}pop(t){const e=this._storage.pop(this._namespace+t);return void 0===e?++this._miss:++this._hit,e}updateSize(t,e,i){this._storage.updateSize(this._namespace+t,e,i)}clear(){this._storage.clear(this._namespace)}clearAll(){this._storage.clearAll()}getStats(){return this._storage.getStats()}resetStats(){this._storage.resetStats()}}class h{constructor(t=10485760){this._maxSize=t,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._removeFuncs=new o.Z,this._users=new o.Z}destroy(){this.clearAll(),this._removeFuncs.clear(),this._users.clear(),this._db=null}register(t){this._users.push(t)}deregister(t){this._users.removeUnordered(t)}registerRemoveFunc(t,e){this._removeFuncs.push([t,e])}deregisterRemoveFunc(t){this._removeFuncs.filterInPlace((e=>e[0]!==t))}get size(){return this._size}get maxSize(){return this._maxSize}set maxSize(t){this._maxSize=Math.max(t,0),this._checkSizeLimit()}put(t,e,i,n){const r=this._db.get(t);if(r&&(this._size-=r.size,this._db.delete(t),r.entry!==e&&this._notifyRemove(t,r.entry,s.ALL)),i>this._maxSize)return void this._notifyRemove(t,e,s.ALL);if(void 0===e)return void console.warn("Refusing to cache undefined entry ");if(!i||i<0)return void console.warn("Refusing to cache entry with invalid size "+i);const o=1+Math.max(n,-3)- -3;this._db.set(t,{entry:e,size:i,lifetime:o,lives:o}),this._size+=i,this._checkSizeLimit()}updateSize(t,e,i){const n=this._db.get(t);if(n&&n.entry===e){for(this._size-=n.size;i>this._maxSize;){const n=this._notifyRemove(t,e,s.SOME);if(!((0,r.pC)(n)&&n>0))return void this._db.delete(t);i=n}n.size=i,this._size+=i,this._checkSizeLimit()}}pop(t){const e=this._db.get(t);if(e)return this._size-=e.size,this._db.delete(t),++this._hit,e.entry;++this._miss}get(t){const e=this._db.get(t);if(void 0!==e)return this._db.delete(t),e.lives=e.lifetime,this._db.set(t,e),++this._hit,e.entry;++this._miss}getStats(){const t={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},e={},i=new Array;this._db.forEach(((t,s)=>{const n=t.lifetime;i[n]=(i[n]||0)+t.size,this._users.forAll((i=>{const n=i.namespace;if(s.startsWith(n)){const i=e[n]||0;e[n]=i+t.size}}))}));const s={};this._users.forAll((t=>{const i=t.namespace;if(!isNaN(t.hitRate)&&t.hitRate>0){const n=e[i]||0;e[i]=n,s[i]=Math.round(100*t.hitRate)+"%"}else s[i]="0%"}));const n=Object.keys(e);n.sort(((t,i)=>e[i]-e[t])),n.forEach((i=>t[i]=Math.round(e[i]/2**20)+"MB / "+s[i]));for(let e=i.length-1;e>=0;--e){const s=i[e];s&&(t["Priority "+(e+-3-1)]=Math.round(s/this.size*100)+"%")}return t}resetStats(){this._hit=this._miss=0,this._users.forAll((t=>t.resetHitRate()))}clear(t){this._db.forEach(((e,i)=>{i.startsWith(t)&&(this._size-=e.size,this._db.delete(i),this._notifyRemove(i,e.entry,s.ALL))}))}clearAll(){this._db.forEach(((t,e)=>this._notifyRemove(e,t.entry,s.ALL))),this._size=0,this._db.clear()}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(t,e,i){let s;return this._removeFuncs.some((n=>{if(t.startsWith(n[0])){const t=n[1](e,i);return"number"==typeof t&&(s=t),!0}return!1})),s}_checkSizeLimit(){if(!(this._size<=this._maxSize))for(const[t,e]of this._db){if(this._db.delete(t),e.lives<=1){this._size-=e.size;const i=this._notifyRemove(t,e.entry,s.SOME);(0,r.pC)(i)&&i>0&&(this._size+=i,e.lives=e.lifetime,e.size=i,this._db.set(t,e))}else--e.lives,this._db.set(t,e);if(this._size<=.9*this.maxSize)return}}}},24133:(t,e,i)=>{i.d(e,{Q:()=>a});var s=i(67676),n=i(70586),r=i(44553),o=i(88764);class a{constructor(t=9,e){this._compareMinX=u,this._compareMinY=d,this._toBBox=t=>t,this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&("function"==typeof e?this._toBBox=e:this._initFormat(e)),this.clear()}destroy(){this.clear(),b.prune(),v.prune(),B.prune(),I.prune()}all(t){this._all(this._data,t)}search(t,e){let i=this._data;const s=this._toBBox;if(y(t,i))for(b.clear();i;){for(let n=0,r=i.children.length;n<r;n++){const r=i.children[n],o=i.leaf?s(r):r;y(t,o)&&(i.leaf?e(r):p(t,o)?this._all(r,e):b.push(r))}i=b.pop()}}collides(t){let e=this._data;const i=this._toBBox;if(!y(t,e))return!1;for(b.clear();e;){for(let s=0,n=e.children.length;s<n;s++){const n=e.children[s],r=e.leaf?i(n):n;if(y(t,r)){if(e.leaf||p(t,r))return!0;b.push(n)}}e=b.pop()}return!1}load(t){if(!t.length)return this;if(t.length<this._minEntries){for(let e=0,i=t.length;e<i;e++)this.insert(t[e]);return this}let e=this._build(t.slice(0,t.length),0,t.length-1,0);if(this._data.children.length)if(this._data.height===e.height)this._splitRoot(this._data,e);else{if(this._data.height<e.height){const t=this._data;this._data=e,e=t}this._insert(e,this._data.height-e.height-1,!0)}else this._data=e;return this}insert(t){return t&&this._insert(t,this._data.height-1),this}clear(){return this._data=new w([]),this}remove(t){if(!t)return this;let e,i=this._data,r=null,o=0,a=!1;const h=this._toBBox(t);for(B.clear(),I.clear();i||B.length>0;){if(i||(i=(0,n.j0)(B.pop()),r=B.data[B.length-1],o=I.pop()??0,a=!0),i.leaf&&(e=(0,s.cq)(i.children,t,i.children.length,i.indexHint),-1!==e))return i.children.splice(e,1),B.push(i),this._condense(B),this;a||i.leaf||!p(i,h)?r?(o++,i=r.children[o],a=!1):i=null:(B.push(i),I.push(o),o=0,r=i,i=i.children[0])}return this}toJSON(){return this._data}fromJSON(t){return this._data=t,this}_all(t,e){let i=t;for(v.clear();i;){if(!0===i.leaf)for(const t of i.children)e(t);else v.pushArray(i.children);i=v.pop()??null}}_build(t,e,i,s){const n=i-e+1;let r=this._maxEntries;if(n<=r){const s=new w(t.slice(e,i+1));return h(s,this._toBBox),s}s||(s=Math.ceil(Math.log(n)/Math.log(r)),r=Math.ceil(n/r**(s-1)));const o=new X([]);o.height=s;const a=Math.ceil(n/r),l=a*Math.ceil(Math.sqrt(r));x(t,e,i,l,this._compareMinX);for(let n=e;n<=i;n+=l){const e=Math.min(n+l-1,i);x(t,n,e,a,this._compareMinY);for(let i=n;i<=e;i+=a){const n=Math.min(i+a-1,e);o.children.push(this._build(t,i,n,s-1))}}return h(o,this._toBBox),o}_chooseSubtree(t,e,i,s){for(;s.push(e),!0!==e.leaf&&s.length-1!==i;){let i,s=1/0,n=1/0;for(let r=0,o=e.children.length;r<o;r++){const o=e.children[r],a=f(o),h=_(t,o)-a;h<n?(n=h,s=a<s?a:s,i=o):h===n&&a<s&&(s=a,i=o)}e=i||e.children[0]}return e}_insert(t,e,i){const s=this._toBBox,n=i?t:s(t);B.clear();const r=this._chooseSubtree(n,this._data,e,B);for(r.children.push(t),c(r,n);e>=0&&B.data[e].children.length>this._maxEntries;)this._split(B,e),e--;this._adjustParentBBoxes(n,B,e)}_split(t,e){const i=t.data[e],s=i.children.length,n=this._minEntries;this._chooseSplitAxis(i,n,s);const r=this._chooseSplitIndex(i,n,s);if(!r)return void console.log(" Error: assertion failed at PooledRBush._split: no valid split index");const o=i.children.splice(r,i.children.length-r),a=i.leaf?new w(o):new X(o);a.height=i.height,h(i,this._toBBox),h(a,this._toBBox),e?t.data[e-1].children.push(a):this._splitRoot(i,a)}_splitRoot(t,e){this._data=new X([t,e]),this._data.height=t.height+1,h(this._data,this._toBBox)}_chooseSplitIndex(t,e,i){let s,n,r;s=n=1/0;for(let o=e;o<=i-e;o++){const e=l(t,0,o,this._toBBox),a=l(t,o,i,this._toBBox),h=g(e,a),c=f(e)+f(a);h<s?(s=h,r=o,n=c<n?c:n):h===s&&c<n&&(n=c,r=o)}return r}_chooseSplitAxis(t,e,i){const s=t.leaf?this._compareMinX:u,n=t.leaf?this._compareMinY:d;this._allDistMargin(t,e,i,s)<this._allDistMargin(t,e,i,n)&&t.children.sort(s)}_allDistMargin(t,e,i,s){t.children.sort(s);const n=this._toBBox,r=l(t,0,e,n),o=l(t,i-e,i,n);let a=m(r)+m(o);for(let s=e;s<i-e;s++){const e=t.children[s];c(r,t.leaf?n(e):e),a+=m(r)}for(let s=i-e-1;s>=e;s--){const e=t.children[s];c(o,t.leaf?n(e):e),a+=m(o)}return a}_adjustParentBBoxes(t,e,i){for(let s=i;s>=0;s--)c(e.data[s],t)}_condense(t){for(let e=t.length-1;e>=0;e--){const i=t.data[e];if(0===i.children.length)if(e>0){const n=t.data[e-1],r=n.children;r.splice((0,s.cq)(r,i,r.length,n.indexHint),1)}else this.clear();else h(i,this._toBBox)}}_initFormat(t){const e=["return a"," - b",";"];this._compareMinX=new Function("a","b",e.join(t[0])),this._compareMinY=new Function("a","b",e.join(t[1])),this._toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}function h(t,e){l(t,0,t.children.length,e,t)}function l(t,e,i,s,n){n||(n=new w([])),n.minX=1/0,n.minY=1/0,n.maxX=-1/0,n.maxY=-1/0;for(let r,o=e;o<i;o++)r=t.children[o],c(n,t.leaf?s(r):r);return n}function c(t,e){t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY)}function u(t,e){return t.minX-e.minX}function d(t,e){return t.minY-e.minY}function f(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function m(t){return t.maxX-t.minX+(t.maxY-t.minY)}function _(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}function g(t,e){const i=Math.max(t.minX,e.minX),s=Math.max(t.minY,e.minY),n=Math.min(t.maxX,e.maxX),r=Math.min(t.maxY,e.maxY);return Math.max(0,n-i)*Math.max(0,r-s)}function p(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function y(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function x(t,e,i,s,r){const a=[e,i];for(;a.length;){const e=(0,n.j0)(a.pop()),i=(0,n.j0)(a.pop());if(e-i<=s)continue;const h=i+Math.ceil((e-i)/s/2)*s;(0,o.q)(t,h,i,e,r),a.push(i,h,h,e)}}const b=new r.Z,v=new r.Z,B=new r.Z,I=new r.Z({deallocator:void 0});class S{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class M extends S{constructor(){super(...arguments),this.height=1,this.indexHint=new s.SO}}class w extends M{constructor(t){super(),this.children=t,this.leaf=!0}}class X extends M{constructor(t){super(),this.children=t,this.leaf=!1}}},17445:(t,e,i)=>{i.d(e,{N1:()=>d,YP:()=>h,Z_:()=>_,gx:()=>l,nn:()=>g,on:()=>u,tX:()=>p});var s=i(91460),n=i(50758),r=i(70586),o=i(95330),a=i(26258);function h(t,e,i={}){return c(t,e,i,f)}function l(t,e,i={}){return c(t,e,i,m)}function c(t,e,i={},s){let n=null;const o=i.once?(t,i)=>{s(t)&&((0,r.hw)(n),e(t,i))}:(t,i)=>{s(t)&&e(t,i)};if(n=(0,a.aQ)(t,o,i.sync,i.equals),i.initial){const e=t();o(e,e)}return n}function u(t,e,i,o={}){let a=null,l=null,c=null;function u(){a&&l&&(l.remove(),o.onListenerRemove?.(a),a=null,l=null)}function d(t){o.once&&o.once&&(0,r.hw)(c),i(t)}const f=h(t,((t,i)=>{u(),(0,s.vT)(t)&&(a=t,l=(0,s.on)(t,e,d),o.onListenerAdd?.(t))}),{sync:o.sync,initial:!0});return c=(0,n.kB)((()=>{f.remove(),u()})),c}function d(t,e){return function(t,e,i){if((0,o.Hc)(i))return Promise.reject((0,o.zE)());const s=t();if(e?.(s))return Promise.resolve(s);let a=null;function h(){a=(0,r.hw)(a)}return new Promise(((s,r)=>{a=(0,n.AL)([(0,o.fu)(i,(()=>{h(),r((0,o.zE)())})),c(t,(t=>{h(),s(t)}),{sync:!1,once:!0},e??f)])}))}(t,m,e)}function f(t){return!0}function m(t){return!!t}i(87538);const _={sync:!0},g={initial:!0},p={sync:!0,initial:!0}},16306:(t,e,i)=>{i.d(e,{aX:()=>I});var s=i(68773),n=i(20102),r=i(92604),o=i(70586),a=i(38913),h=i(58901),l=i(73913),c=i(8744),u=i(40488),d=(i(66577),i(3172)),f=i(33955),m=i(11282),_=i(17452);async function g(t,e,i){const s="string"==typeof t?(0,_.mN)(t):t,n=e[0].spatialReference,r=(0,f.Ji)(e[0]),o={...i,query:{...s.query,f:"json",sr:n.wkid?n.wkid:JSON.stringify(n),geometries:JSON.stringify((h=e,{geometryType:(0,f.Ji)(h[0]),geometries:h.map((t=>t.toJSON()))}))}},{data:a}=await(0,d.default)(s.path+"/simplify",o);var h;return function(t,e,i){const s=(0,f.q9)(e);return t.map((t=>{const e=s.fromJSON(t);return e.spatialReference=i,e}))}(a.geometries,r,n)}const p=r.Z.getLogger("esri.geometry.support.normalizeUtils");function y(t){return"polygon"===t[0].type}function x(t){return"polyline"===t[0].type}function b(t,e,i){if(e){const e=function(t,e){if(!(t instanceof h.Z||t instanceof a.Z)){const t="straightLineDensify: the input geometry is neither polyline nor polygon";throw p.error(t),new n.Z(t)}const i=(0,l.x3)(t),s=[];for(const t of i){const i=[];s.push(i),i.push([t[0][0],t[0][1]]);for(let s=0;s<t.length-1;s++){const n=t[s][0],r=t[s][1],o=t[s+1][0],a=t[s+1][1],h=Math.sqrt((o-n)*(o-n)+(a-r)*(a-r)),l=(a-r)/h,c=(o-n)/h,u=h/e;if(u>1){for(let t=1;t<=u-1;t++){const s=t*e,o=c*s+n,a=l*s+r;i.push([o,a])}const t=(h+Math.floor(u-1)*e)/2,s=c*t+n,o=l*t+r;i.push([s,o])}i.push([o,a])}}return function(t){return"polygon"===t.type}(t)?new a.Z({rings:s,spatialReference:t.spatialReference}):new h.Z({paths:s,spatialReference:t.spatialReference})}(t,1e6);t=(0,u.Sx)(e,!0)}return i&&(t=(0,l.Sy)(t,i)),t}function v(t,e,i){if(Array.isArray(t)){const s=t[0];if(s>e){const i=(0,l.XZ)(s,e);t[0]=s+i*(-2*e)}else if(s<i){const e=(0,l.XZ)(s,i);t[0]=s+e*(-2*i)}}else{const s=t.x;if(s>e){const i=(0,l.XZ)(s,e);t=t.clone().offset(i*(-2*e),0)}else if(s<i){const e=(0,l.XZ)(s,i);t=t.clone().offset(e*(-2*i),0)}}return t}function B(t,e){let i=-1;for(let s=0;s<e.cutIndexes.length;s++){const n=e.cutIndexes[s],r=e.geometries[s],o=(0,l.x3)(r);for(let t=0;t<o.length;t++){const e=o[t];e.some((i=>{if(i[0]<180)return!0;{let i=0;for(let t=0;t<e.length;t++){const s=e[t][0];i=s>i?s:i}i=Number(i.toFixed(9));const s=-360*(0,l.XZ)(i,180);for(let i=0;i<e.length;i++){const e=r.getPoint(t,i);r.setPoint(t,i,e.clone().offset(s,0))}return!0}}))}if(n===i){if(y(t))for(const e of(0,l.x3)(r))t[n]=t[n].addRing(e);else if(x(t))for(const e of(0,l.x3)(r))t[n]=t[n].addPath(e)}else i=n,t[n]=r}return t}async function I(t,e,i){if(!Array.isArray(t))return I([t],e);e&&"string"!=typeof e&&p.warn("normalizeCentralMeridian()","The url object is deprecated, use the url string instead");const n="string"==typeof e?e:e?.url??s.Z.geometryServiceUrl;let r,_,y,x,S,M,w,X,z=0;const Y=[],Z=[];for(const e of t)if((0,o.Wi)(e))Z.push(e);else if(r||(r=e.spatialReference,_=(0,c.C5)(r),y=r.isWebMercator,M=y?102100:4326,x=l.UZ[M].maxX,S=l.UZ[M].minX,w=l.UZ[M].plus180Line,X=l.UZ[M].minus180Line),_)if("mesh"===e.type)Z.push(e);else if("point"===e.type)Z.push(v(e.clone(),x,S));else if("multipoint"===e.type){const t=e.clone();t.points=t.points.map((t=>v(t,x,S))),Z.push(t)}else if("extent"===e.type){const t=e.clone()._normalize(!1,!1,_);Z.push(t.rings?new a.Z(t):t)}else if(e.extent){const t=e.extent,i=(0,l.XZ)(t.xmin,S)*(2*x);let s=0===i?e.clone():(0,l.Sy)(e.clone(),i);t.offset(i,0),t.intersects(w)&&t.xmax!==x?(z=t.xmax>z?t.xmax:z,s=b(s,y),Y.push(s),Z.push("cut")):t.intersects(X)&&t.xmin!==S?(z=t.xmax*(2*x)>z?t.xmax*(2*x):z,s=b(s,y,360),Y.push(s),Z.push("cut")):Z.push(s)}else Z.push(e.clone());else Z.push(e);let R=(0,l.XZ)(z,x),F=-90;const L=R,A=new h.Z;for(;R>0;){const t=360*R-180;A.addPath([[t,F],[t,-1*F]]),F*=-1,R--}if(Y.length>0&&L>0){const e=B(Y,await async function(t,e,i,s){const n=(0,m.en)(t),r=e[0].spatialReference,o={...s,query:{...n.query,f:"json",sr:JSON.stringify(r),target:JSON.stringify({geometryType:(0,f.Ji)(e[0]),geometries:e}),cutter:JSON.stringify(i)}},a=await(0,d.default)(n.path+"/cut",o),{cutIndexes:h,geometries:l=[]}=a.data;return{cutIndexes:h,geometries:l.map((t=>{const e=(0,f.im)(t);return e.spatialReference=r,e}))}}(n,Y,A,i)),s=[],r=[];for(let i=0;i<Z.length;i++){const n=Z[i];if("cut"!==n)r.push(n);else{const n=e.shift(),a=t[i];(0,o.pC)(a)&&"polygon"===a.type&&a.rings&&a.rings.length>1&&n.rings.length>=a.rings.length?(s.push(n),r.push("simplify")):r.push(y?(0,u.$)(n):n)}}if(!s.length)return r;const a=await g(n,s,i),h=[];for(let t=0;t<r.length;t++){const e=r[t];"simplify"!==e?h.push(e):h.push(y?(0,u.$)(a.shift()):a.shift())}return h}const T=[];for(let t=0;t<Z.length;t++){const e=Z[t];if("cut"!==e)T.push(e);else{const t=Y.shift();T.push(!0===y?(0,u.$)(t):t)}}return T}},73913:(t,e,i)=>{i.d(e,{Sy:()=>h,UZ:()=>o,XZ:()=>a,x3:()=>l});var s=i(58901),n=i(82971),r=i(33955);const o={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new s.Z({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:n.Z.WebMercator}),minus180Line:new s.Z({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:n.Z.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new s.Z({paths:[[[180,-180],[180,180]]],spatialReference:n.Z.WGS84}),minus180Line:new s.Z({paths:[[[-180,-180],[-180,180]]],spatialReference:n.Z.WGS84})}};function a(t,e){return Math.ceil((t-e)/(2*e))}function h(t,e){const i=l(t);for(const t of i)for(const i of t)i[0]+=e;return t}function l(t){return(0,r.oU)(t)?t.rings:t.paths}},37549:(t,e,i)=>{i.d(e,{H:()=>a});var s=i(80442),n=i(24133),r=i(24470);const o={minX:0,minY:0,maxX:0,maxY:0};class a{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new n.Q(9,(0,s.Z)("esri-csp-restrictions")?t=>({minX:t[0],minY:t[1],maxX:t[2],maxY:t[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){const t=new Array(this._idByBounds.size);let e=0;this._idByBounds.forEach(((i,s)=>{t[e++]=s})),this._indexInvalid=!1,this._index.clear(),this._index.load(t)}else this._boundsToLoad.length&&(this._index.load(Array.from(new Set(this._boundsToLoad.filter((t=>this._idByBounds.has(t)))))),this._boundsToLoad.length=0)}}get fullBounds(){if(!this._boundsById.size)return null;const t=(0,r.cS)();for(const e of this._boundsById.values())e&&(t[0]=Math.min(e[0],t[0]),t[1]=Math.min(e[1],t[1]),t[2]=Math.max(e[2],t[2]),t[3]=Math.max(e[3],t[3]));return t}get valid(){return!this._indexInvalid}clear(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()}delete(t){const e=this._boundsById.get(t);this._boundsById.delete(t),e&&(this._idByBounds.delete(e),this._indexInvalid||this._index.remove(e))}forEachInBounds(t,e){this._loadIndex(),function(t,e,i){(function(t){o.minX=t[0],o.minY=t[1],o.maxX=t[2],o.maxY=t[3]})(e),t.search(o,i)}(this._index,t,(t=>e(this._idByBounds.get(t))))}get(t){return this._boundsById.get(t)}has(t){return this._boundsById.has(t)}invalidateIndex(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)}set(t,e){if(!this._indexInvalid){const e=this._boundsById.get(t);e&&(this._index.remove(e),this._idByBounds.delete(e))}this._boundsById.set(t,e),e&&(this._idByBounds.set(e,t),this._indexInvalid||(this._boundsToLoad.push(e),this._boundsToLoad.length>5e4&&this._loadIndex()))}}},57191:(t,e,i)=>{i.d(e,{Z:()=>p});var s=i(20102),n=i(32448),r=i(92604),o=i(70586),a=i(60437),h=i(24470),l=i(98732),c=i(37549),u=i(29730),d=i(70272),f=i(5428);const m={getObjectId:t=>t.objectId,getAttributes:t=>t.attributes,getAttribute:(t,e)=>t.attributes[e],cloneWithGeometry:(t,e)=>new d.u_(e,t.attributes,null,t.objectId),getGeometry:t=>t.geometry,getCentroid:(t,e)=>((0,o.Wi)(t.centroid)&&(t.centroid=(0,u.Y)(new f.Z,t.geometry,e.hasZ,e.hasM)),t.centroid)};var _=i(11490);const g=(0,a.Ue)();class p{constructor(t){this.geometryInfo=t,this._boundsStore=new c.H,this._featuresById=new Map,this._markedIds=new Set,this.events=new n.Z,this.featureAdapter=m}get geometryType(){return this.geometryInfo.geometryType}get hasM(){return this.geometryInfo.hasM}get hasZ(){return this.geometryInfo.hasZ}get numFeatures(){return this._featuresById.size}get fullBounds(){return this._boundsStore.fullBounds}get storeStatistics(){let t=0;return this._featuresById.forEach((e=>{(0,o.pC)(e.geometry)&&e.geometry.coords&&(t+=e.geometry.coords.length)})),{featureCount:this._featuresById.size,vertexCount:t/(this.hasZ?this.hasM?4:3:this.hasM?3:2)}}getFullExtent(t){if((0,o.Wi)(this.fullBounds))return null;const[e,i,s,n]=this.fullBounds;return{xmin:e,ymin:i,xmax:s,ymax:n,spatialReference:(0,_.S2)(t)}}add(t){this._add(t),this._emitChanged()}addMany(t){for(const e of t)this._add(e);this._emitChanged()}clear(){this._featuresById.clear(),this._boundsStore.clear(),this._emitChanged()}removeById(t){const e=this._featuresById.get(t);return e?(this._remove(e),this._emitChanged(),e):null}removeManyById(t){this._boundsStore.invalidateIndex();for(const e of t){const t=this._featuresById.get(e);t&&this._remove(t)}this._emitChanged()}forEachBounds(t,e){for(const i of t){const t=this._boundsStore.get(i.objectId);t&&e((0,a.JR)(g,t))}}getFeature(t){return this._featuresById.get(t)}has(t){return this._featuresById.has(t)}forEach(t){this._featuresById.forEach((e=>t(e)))}forEachInBounds(t,e){this._boundsStore.forEachInBounds(t,(t=>{e(this._featuresById.get(t))}))}startMarkingUsedFeatures(){this._boundsStore.invalidateIndex(),this._markedIds.clear()}sweep(){let t=!1;this._featuresById.forEach(((e,i)=>{this._markedIds.has(i)||(t=!0,this._remove(e))})),this._markedIds.clear(),t&&this._emitChanged()}_emitChanged(){this.events.emit("changed",void 0)}_add(t){if(!t)return;const e=t.objectId;if(null==e)return void r.Z.getLogger("esri.layers.graphics.data.FeatureStore").error(new s.Z("featurestore:invalid-feature","feature id is missing",{feature:t}));const i=this._featuresById.get(e);let n;if(this._markedIds.add(e),i?(t.displayId=i.displayId,n=this._boundsStore.get(e),this._boundsStore.delete(e)):(0,o.pC)(this.onFeatureAdd)&&this.onFeatureAdd(t),(0,o.Wi)(t.geometry)||!t.geometry.coords||!t.geometry.coords.length)return this._boundsStore.set(e,null),void this._featuresById.set(e,t);n=(0,l.$)((0,o.pC)(n)?n:(0,h.Ue)(),t.geometry,this.geometryInfo.hasZ,this.geometryInfo.hasM),(0,o.pC)(n)&&this._boundsStore.set(e,n),this._featuresById.set(e,t)}_remove(t){(0,o.pC)(this.onFeatureRemove)&&this.onFeatureRemove(t);const e=t.objectId;return this._markedIds.delete(e),this._boundsStore.delete(e),this._featuresById.delete(e),t}}},23095:(t,e,i)=>{i.d(e,{O0:()=>d,av:()=>h,b:()=>g,d1:()=>c,og:()=>_});var s=i(70586),n=i(8744),r=i(35671);class o{constructor(){this.code=null,this.description=null}}class a{constructor(t){this.error=new o,this.globalId=null,this.objectId=null,this.success=!1,this.uniqueId=null,this.error.description=t}}function h(t){return new a(t)}class l{constructor(t){this.globalId=null,this.success=!0,this.objectId=this.uniqueId=t}}function c(t){return new l(t)}const u=new Set;function d(t,e,i,s=!1,n){u.clear();for(const o in i){const a=t.get(o);if(!a)continue;const l=i[o],c=f(a,l);if(c!==l&&n&&n.push({name:"invalid-value-type",message:"attribute value was converted to match the field type",details:{field:a,originalValue:l,sanitizedValue:c}}),u.add(a.name),a&&(s||a.editable)){const t=(0,r.Qc)(a,c);if(t)return h((0,r.vP)(t,a,c));e[a.name]=c}}for(const e of t?.requiredFields??[])if(!u.has(e.name))return h(`missing required field "${e.name}"`);return null}function f(t,e){let i=e;return"string"==typeof e&&(0,r.H7)(t)?i=parseFloat(e):null!=e&&(0,r.qN)(t)&&"string"!=typeof e&&(i=String(e)),(0,r.Pz)(i)}let m;function _(t,e){if(!t||!(0,n.JY)(e))return t;if("rings"in t||"paths"in t){if((0,s.Wi)(m))throw new TypeError("geometry engine not loaded");return m.simplify(e,t)}return t}async function g(t,e){!(0,n.JY)(t)||"esriGeometryPolygon"!==e&&"esriGeometryPolyline"!==e||await async function(){return(0,s.Wi)(m)&&(m=await Promise.all([i.e(5837),i.e(247)]).then(i.bind(i,30247))),m}()}},86719:(t,e,i)=>{i.d(e,{v:()=>s});const s=new(i(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"})},11282:(t,e,i)=>{i.d(e,{cv:()=>a,en:()=>o,lA:()=>r}),i(68773),i(40330);var s=i(22974),n=i(17452);function r(t,e){return e?{...e,query:{...t??{},...e.query}}:{query:t}}function o(t){return"string"==typeof t?(0,n.mN)(t):(0,s.d9)(t)}function a(t,e,i){const s={};for(const n in t){if("declaredClass"===n)continue;const r=t[n];if(null!=r&&"function"!=typeof r)if(Array.isArray(r)){s[n]=[];for(let t=0;t<r.length;t++)s[n][t]=a(r[t])}else if("object"==typeof r)if(r.toJSON){const t=r.toJSON(i&&i[n]);s[n]=e?t:JSON.stringify(t)}else s[n]=e?r:JSON.stringify(r);else s[n]=r}return s}i(71058)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1482],{48853:(e,a,t)=>{t.d(a,{Qn:()=>m,iG:()=>l});var i,n=t(27535),r=t(17126);class s{}s.instance=new r.vF("Etc/UTC"),(i||(i={})).TimeZoneNotRecognised="TimeZoneNotRecognised";const o={[i.TimeZoneNotRecognised]:"Timezone identifier has not been recognised."};class d extends Error{constructor(e,a){super((0,n.Hy)(o[e],a)),this.declaredRootClass="esri.arcade.arcadedate.dateerror",Error.captureStackTrace&&Error.captureStackTrace(this,d)}}class l{constructor(e){this._date=e,this.declaredRootClass="esri.arcade.arcadedate"}static fromParts(e=0,a=1,t=1,i=0,n=0,s=0,o=0,d){if(isNaN(e)||isNaN(a)||isNaN(t)||isNaN(i)||isNaN(n)||isNaN(s)||isNaN(o))return null;let c=0;const u=r.ou.local(e,a).daysInMonth;t<1&&(c=t-1,t=1),t>u&&(c=t-u,t=u);let T=0;a>12?(T=a-12,a=12):a<1&&(T=a-1,a=1);let h=0;n>59?(h=n-59,n=59):n<0&&(h=n,n=0);let f=0;s>59?(f=s-59,s=59):s<0&&(f=s,s=0);let S=0;o>999?(S=o-999,o=999):o<0&&(S=o,o=0);let p=r.ou.fromObject({day:t,year:e,month:a,hour:i,minute:n,second:s,millisecond:o},{zone:m(d)});return 0!==T&&(p=p.plus({months:T})),0!==c&&(p=p.plus({days:c})),0!==h&&(p=p.plus({minutes:h})),0!==f&&(p=p.plus({seconds:f})),0!==S&&(p=p.plus({milliseconds:S})),new l(p)}static get systemTimeZoneCanonicalName(){return Intl.DateTimeFormat().resolvedOptions().timeZone??"system"}static arcadeDateAndZoneToArcadeDate(e,a){const t=m(a);return e.isUnknownTimeZone||t===s.instance?l.fromParts(e.year,e.monthJS+1,e.day,e.hour,e.minute,e.second,e.millisecond,t):new l(e._date.setZone(a))}static dateJSToArcadeDate(e){return new l(r.ou.fromJSDate(e,{zone:"system"}))}static dateJSAndZoneToArcadeDate(e,a="system"){return new l(r.ou.fromJSDate(e,{zone:a}))}static unknownEpochToArcadeDate(e){return new l(r.ou.fromMillis(e,{zone:s.instance}))}static unknownDateJSToArcadeDate(e){return l.arcadeDateAndZoneToArcadeDate(l.dateJSToArcadeDate(e),s.instance)}static epochToArcadeDate(e,a="system"){return new l(r.ou.fromMillis(e,{zone:a}))}static dateTimeToArcadeDate(e){return new l(e)}changeTimeZone(e){const a=m(e);return l.dateTimeToArcadeDate(this._date.setZone(a))}static dateTimeAndZoneToArcadeDate(e,a){const t=m(a);return e.zone===s.instance||t===s.instance?l.fromParts(e.year,e.month,e.day,e.hour,e.minute,e.second,e.millisecond,t):new l(e.setZone(t))}static nowToArcadeDate(e){return new l(r.ou.fromJSDate(new Date,{zone:e}))}static nowUTCToArcadeDate(){return new l(r.ou.utc())}get isSystem(){return"system"===this.timeZone||this.timeZone===l.systemTimeZoneCanonicalName}equals(e){return this.isSystem&&e.isSystem?this.toNumber()===e.toNumber():this.isUnknownTimeZone===e.isUnknownTimeZone&&this._date.equals(e._date)}get isUnknownTimeZone(){return this._date.zone===s.instance}get isValid(){return this._date.isValid}get hour(){return this._date.hour}get second(){return this._date.second}get day(){return this._date.day}get dayOfWeekISO(){return this._date.weekday}get dayOfWeekJS(){let e=this._date.weekday;return e>6&&(e=0),e}get millisecond(){return this._date.millisecond}get monthISO(){return this._date.month}get weekISO(){return this._date.weekNumber}get yearISO(){return this._date.weekYear}get monthJS(){return this._date.month-1}get year(){return this._date.year}get minute(){return this._date.minute}get zone(){return this._date.zone}get timeZoneOffset(){return this.isUnknownTimeZone?0:this._date.offset}get timeZone(){if(this.isUnknownTimeZone)return"unknown";if("system"===this._date.zone.type)return"system";const e=this.zone;return"fixed"===e.type?0===e.fixed?"utc":e.formatOffset(0,"short"):e.name}stringify(){return JSON.stringify(this.toJSDate())}plus(e){return new l(this._date.plus(e))}diff(e,a="milliseconds"){return this._date.diff(e._date,a)[a]}toISOString(e){return e?this._date.toISO({suppressMilliseconds:!0,includeOffset:!this.isUnknownTimeZone}):this._date.toISO({includeOffset:!this.isUnknownTimeZone})}toFormat(e,a){return this._date.toFormat(e,a)}toJSDate(){return this._date.toJSDate()}toSQLString(){return"timestamp '"+this._date.toFormat("yyyy-LL-dd HH:mm:ss")+"'"}toDateTime(){return this._date}toNumber(){return this._date.toMillis()}getTime(){return this._date.toMillis()}toUTC(){return new l(this._date.toUTC())}toLocal(){return new l(this._date.toLocal())}toString(){return this.toISOString(!0)}}function m(e){if(e instanceof r.ld)return e;if("system"===e.toLowerCase())return"system";if("utc"===e.toLowerCase())return"utc";if("unknown"===e.toLowerCase())return s.instance;if(/^[\+\-]?[0-9]{1,2}([:][0-9]{2})?$/.test(e)){const a=r.Qf.parseSpecifier("UTC"+(e.startsWith("+")||e.startsWith("-")?"":"+")+e);if(a)return a}const a=r.vF.create(e);if(!a.isValid)throw new d(i.TimeZoneNotRecognised);return a}},85839:(e,a,t)=>{t.d(a,{nu:()=>r}),t(48853);var i=t(99514),n=(t(80216),t(17126),t(42799));class r{constructor(){this.dateTimeReferenceMetaData=null,this._fieldTimeZoneIndex={},this._fieldIndex=null,this._ianaPreferred=null,this._ianaTimeInfo=null,this._ianaEditFields=null,this._ianaLayerDateFields=null}static create(e,a){const t=new r;return t.dateTimeReferenceMetaData=a,t._fieldIndex=e instanceof i.Z?e:new i.Z(e),t}static createFromLayer(e){if(!e)return null;if(!e.fieldsIndex)return!e.declaredClass&&e.fields?r.create(e.fields,e):null;const a=new r;return a._fieldIndex=e.fieldsIndex,a.dateTimeReferenceMetaData={timeInfo:e?.timeInfo?.toJSON()??null,editFieldsInfo:e?.editFieldsInfo?.toJSON()??null,dateFieldsTimeReference:e?.dateFieldsTimeReference?.toJSON()??null,preferredTimeReference:e?.preferredTimeReference?.toJSON()??null,datesInUnknownTimezone:!0===e?.datesInUnknownTimezone},a}fieldTimeZone(e){const a=this._fieldIndex?.get(e);if(!a)return null;if("date"!==a.type&&"esriFieldTypeDate"!==a.type)return null;const t=this._fieldTimeZoneIndex[a.name];if(void 0!==t)return t;const i=[{field:this.dateTimeReferenceMetaData?.editFieldsInfo?.creationDateField,timeReference:this.dateTimeReferenceMetaData?.editFieldsInfo?.dateFieldsTimeReference,isunknown:!0===this.dateTimeReferenceMetaData?.datesInUnknownTimezone},{field:this.dateTimeReferenceMetaData?.editFieldsInfo?.editDateField,timeReference:this.dateTimeReferenceMetaData?.editFieldsInfo?.dateFieldsTimeReference,isunknown:!0===this.dateTimeReferenceMetaData?.datesInUnknownTimezone},{field:this.dateTimeReferenceMetaData?.timeInfo?.startTimeField,timeReference:this.dateTimeReferenceMetaData?.timeInfo?.timeReference,isunknown:!0===this.dateTimeReferenceMetaData?.datesInUnknownTimezone},{field:this.dateTimeReferenceMetaData?.timeInfo?.endTimeField,timeReference:this.dateTimeReferenceMetaData?.timeInfo?.timeReference,isunknown:!0===this.dateTimeReferenceMetaData?.datesInUnknownTimezone}];for(const e of i)if(e.field===a.name){const t=this.convertToIANA(e.timeReference,e.isunknown);return this._fieldTimeZoneIndex[a.name]=t,t}const n=this.convertToIANA(this.dateTimeReferenceMetaData?.dateFieldsTimeReference,this.dateTimeReferenceMetaData?.datesInUnknownTimezone);return this._fieldTimeZoneIndex[a.name]=n,n}convertToIANA(e,a){return a?"unknown":function(e){return e?.timeZoneIANA?e?.timeZoneIANA:e?.timeZone?(0,n.G)(e,""):""}(e)}get layerPreferredTimeZone(){if(null!==this._ianaPreferred)return this._ianaPreferred;this._ianaPreferred="";const e=this.dateTimeReferenceMetaData?.preferredTimeReference;return this._ianaPreferred=this.convertToIANA(e,!0===this.dateTimeReferenceMetaData?.datesInUnknownTimezone),this._ianaPreferred}get layerTimeInfoTimeZone(){if(null!==this._ianaTimeInfo)return this._ianaTimeInfo;this._ianaTimeInfo="";const e=this.dateTimeReferenceMetaData?.timeInfo?.timeReference;return this._ianaTimeInfo=this.convertToIANA(e,!1),this._ianaTimeInfo}get layerEditFieldsTimeZone(){if(null!==this._ianaEditFields)return this._ianaEditFields;this._ianaEditFields="";const e=this.dateTimeReferenceMetaData?.editFieldsInfo?.dateFieldsTimeReference;return this._ianaEditFields=this.convertToIANA(e,this.dateTimeReferenceMetaData?.datesInUnknownTimezone),this._ianaEditFields}get layerDateFieldsTimeZone(){if(null!==this._ianaLayerDateFields)return this._ianaLayerDateFields;this._ianaLayerDateFields="";const e=this.dateTimeReferenceMetaData?.dateFieldsTimeReference;return this._ianaLayerDateFields=this.convertToIANA(e,!0===this.dateTimeReferenceMetaData?.datesInUnknownTimezone),this._ianaLayerDateFields}}},2368:(e,a,t)=>{t.d(a,{J:()=>m,j:()=>c});var i=t(43697),n=t(15923),r=(t(80442),t(22974)),s=(t(92604),t(70586)),o=t(31263),d=t(1153),l=t(52011);const m=e=>{let a=class extends e{clone(){const e=(0,s.s3)((0,d.vw)(this),"unable to clone instance of non-accessor class"),a=e.metadatas,t=e.store,i={},n=new Map;for(const e in a){const s=a[e],d=t?.originOf(e),l=s.clonable;if(s.readOnly||!1===l||d!==o.s3.USER&&d!==o.s3.DEFAULTS&&d!==o.s3.WEB_MAP&&d!==o.s3.WEB_SCENE)continue;const m=this[e];let c=null;c="function"==typeof l?l(m):"reference"===l?m:(0,r.Vo)(m),null!=m&&null==c||(d===o.s3.DEFAULTS?n.set(e,c):i[e]=c)}const l=new(0,Object.getPrototypeOf(this).constructor)(i);if(n.size){const e=(0,d.vw)(l)?.store;if(e)for(const[a,t]of n)e.set(a,t,o.s3.DEFAULTS)}return l}};return a=(0,i._)([(0,l.j)("esri.core.Clonable")],a),a};let c=class extends(m(n.Z)){};c=(0,i._)([(0,l.j)("esri.core.Clonable")],c)},1231:(e,a,t)=>{t.d(a,{Z:()=>S});var i,n=t(43697),r=t(35454),s=t(96674),o=t(5600),d=t(75215),l=(t(67676),t(36030)),m=t(71715),c=t(52011),u=t(72729),T=t(86719);const h=new r.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 f=i=class extends s.wq{constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=-1,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:a}){let t=null;try{t=a?JSON.parse(a):null}catch(e){}return t?.value??null}readValueType(e,{description:a}){let t=null;try{t=a?JSON.parse(a):null}catch(e){}return t?h.fromJSON(t.fieldValueType):null}clone(){return new i({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,n._)([(0,o.Cb)({type:String,json:{write:!0}})],f.prototype,"alias",void 0),(0,n._)([(0,o.Cb)({type:[String,Number],json:{write:{allowNull:!0}}})],f.prototype,"defaultValue",void 0),(0,n._)([(0,o.Cb)()],f.prototype,"description",void 0),(0,n._)([(0,m.r)("description")],f.prototype,"readDescription",null),(0,n._)([(0,o.Cb)({types:u.V5,json:{read:{reader:u.im},write:!0}})],f.prototype,"domain",void 0),(0,n._)([(0,o.Cb)({type:Boolean,json:{write:!0}})],f.prototype,"editable",void 0),(0,n._)([(0,o.Cb)({type:d.z8,json:{write:!0}})],f.prototype,"length",void 0),(0,n._)([(0,o.Cb)({type:String,json:{write:!0}})],f.prototype,"name",void 0),(0,n._)([(0,o.Cb)({type:Boolean,json:{write:!0}})],f.prototype,"nullable",void 0),(0,n._)([(0,l.J)(T.v)],f.prototype,"type",void 0),(0,n._)([(0,o.Cb)()],f.prototype,"valueType",void 0),(0,n._)([(0,m.r)("valueType",["description"])],f.prototype,"readValueType",null),(0,n._)([(0,o.Cb)({type:Boolean,json:{read:!1}})],f.prototype,"visible",void 0),f=i=(0,n._)([(0,c.j)("esri.layers.support.Field")],f);const S=f},72729:(e,a,t)=>{t.d(a,{im:()=>k,V5:()=>C}),t(80442);var i,n=t(43697),r=t(22974),s=t(5600),o=(t(75215),t(36030)),d=t(52011),l=t(96674);t(67676);let m=i=class extends l.wq{constructor(e){super(e),this.name=null,this.code=null}clone(){return new i({name:this.name,code:this.code})}};(0,n._)([(0,s.Cb)({type:String,json:{write:!0}})],m.prototype,"name",void 0),(0,n._)([(0,s.Cb)({type:[String,Number],json:{write:!0}})],m.prototype,"code",void 0),m=i=(0,n._)([(0,d.j)("esri.layers.support.CodedValue")],m);const c=new(t(35454).X)({inherited:"inherited",codedValue:"coded-value",range:"range"});let u=class extends l.wq{constructor(e){super(e),this.name=null,this.type=null}};(0,n._)([(0,s.Cb)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,n._)([(0,o.J)(c)],u.prototype,"type",void 0),u=(0,n._)([(0,d.j)("esri.layers.support.Domain")],u);const T=u;var h;let f=h=class extends T{constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let a=null;if(this.codedValues){const t=String(e);this.codedValues.some((e=>(String(e.code)===t&&(a=e.name),!!a)))}return a}clone(){return new h({codedValues:(0,r.d9)(this.codedValues),name:this.name})}};(0,n._)([(0,s.Cb)({type:[m],json:{write:!0}})],f.prototype,"codedValues",void 0),(0,n._)([(0,o.J)({codedValue:"coded-value"})],f.prototype,"type",void 0),f=h=(0,n._)([(0,d.j)("esri.layers.support.CodedValueDomain")],f);const S=f;var p;t(92604),t(20102);let A=p=class extends T{constructor(e){super(e),this.type="inherited"}clone(){return new p}};(0,n._)([(0,o.J)({inherited:"inherited"})],A.prototype,"type",void 0),A=p=(0,n._)([(0,d.j)("esri.layers.support.InheritedDomain")],A);const y=A;var g;let _=g=class extends T{constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new g({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,n._)([(0,s.Cb)({type:Number,json:{type:[Number],read:{source:"range",reader:(e,a)=>a.range&&a.range[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,a,t){a[t]=[this.minValue||0,e]}}}})],_.prototype,"maxValue",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{type:[Number],read:{source:"range",reader:(e,a)=>a.range&&a.range[0]},write:{target:"range",writer(e,a,t){a[t]=[e,this.maxValue||0]}}}})],_.prototype,"minValue",void 0),(0,n._)([(0,o.J)({range:"range"})],_.prototype,"type",void 0),_=g=(0,n._)([(0,d.j)("esri.layers.support.RangeDomain")],_);const w=_,C={key:"type",base:T,typeMap:{range:_,"coded-value":S,inherited:y}};function k(e){if(!e||!e.type)return null;switch(e.type){case"range":return w.fromJSON(e);case"codedValue":return S.fromJSON(e);case"inherited":return y.fromJSON(e)}return null}},86719:(e,a,t)=>{t.d(a,{v:()=>i});const i=new(t(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"})},80216:(e,a,t)=>{t.d(a,{Z:()=>T});var i=t(43697),n=t(2368),r=t(96674),s=t(70586),o=t(5600),d=(t(75215),t(67676),t(71715)),l=t(52011),m=t(30556),c=t(42799);let u=class extends((0,n.J)(r.wq)){constructor(e){super(e),this.legacy=null,this.timeZone="system"}readLegacy(e,a){const{timeZone:t,respectsDaylightSaving:i}=a;return{timeZone:t,respectsDaylightSaving:i}}readTimeZone(e,a){return"timeZoneIANA"in a?a.timeZoneIANA:(0,c.G)(a)}writeTimeZone(e,a){a.timeZoneIANA=e}equals(e){return!((0,s.Wi)(e)||(0,s.Wi)(this.timeZone)||(0,s.Wi)(e.timeZone))&&this.timeZone===e.timeZone}};(0,i._)([(0,o.Cb)()],u.prototype,"legacy",void 0),(0,i._)([(0,d.r)("legacy",["timeZone"])],u.prototype,"readLegacy",null),(0,i._)([(0,o.Cb)({type:String,nonNullable:!0})],u.prototype,"timeZone",void 0),(0,i._)([(0,d.r)("timeZone",["timeZone","timeZoneIANA","respectsDaylightSaving"])],u.prototype,"readTimeZone",null),(0,i._)([(0,m.c)("timeZone")],u.prototype,"writeTimeZone",null),u=(0,i._)([(0,l.j)("esri.time.TimeReference")],u);const T=u},42799:(e,a,t)=>{t.d(a,{G:()=>r});const i=new Map([["AUS Central Standard Time","Australia/Darwin"],["AUS Eastern Standard Time","Australia/Sydney"],["Afghanistan Standard Time","Asia/Kabul"],["Alaskan Standard Time","America/Anchorage"],["Aleutian Standard Time","America/Adak"],["Altai Standard Time","Asia/Barnaul"],["Arab Standard Time","Asia/Riyadh"],["Arabian Standard Time","Asia/Dubai"],["Arabic Standard Time","Asia/Baghdad"],["Argentina Standard Time","America/Buenos_Aires"],["Astrakhan Standard Time","Europe/Astrakhan"],["Atlantic Standard Time","America/Halifax"],["Aus Central W. Standard Time","Australia/Eucla"],["Azerbaijan Standard Time","Asia/Baku"],["Azores Standard Time","Atlantic/Azores"],["Bahia Standard Time","America/Bahia"],["Bangladesh Standard Time","Asia/Dhaka"],["Belarus Standard Time","Europe/Minsk"],["Bougainville Standard Time","Pacific/Bougainville"],["Canada Central Standard Time","America/Regina"],["Cape Verde Standard Time","Atlantic/Cape_Verde"],["Caucasus Standard Time","Asia/Yerevan"],["Cen. Australia Standard Time","Australia/Adelaide"],["Central America Standard Time","America/Guatemala"],["Central Asia Standard Time","Asia/Almaty"],["Central Brazilian Standard Time","America/Cuiaba"],["Central Europe Standard Time","Europe/Budapest"],["Central European Standard Time","Europe/Warsaw"],["Central Pacific Standard Time","Pacific/Guadalcanal"],["Central Standard Time","America/Chicago"],["Central Standard Time (Mexico)","America/Mexico_City"],["Chatham Islands Standard Time","Pacific/Chatham"],["China Standard Time","Asia/Shanghai"],["Cuba Standard Time","America/Havana"],["Dateline Standard Time","Etc/GMT+12"],["E. Africa Standard Time","Africa/Nairobi"],["E. Australia Standard Time","Australia/Brisbane"],["E. Europe Standard Time","Europe/Chisinau"],["E. South America Standard Time","America/Sao_Paulo"],["Easter Island Standard Time","Pacific/Easter"],["Eastern Standard Time","America/New_York"],["Eastern Standard Time (Mexico)","America/Cancun"],["Egypt Standard Time","Africa/Cairo"],["Ekaterinburg Standard Time","Asia/Yekaterinburg"],["FLE Standard Time","Europe/Kiev"],["Fiji Standard Time","Pacific/Fiji"],["GMT Standard Time","Europe/London"],["GTB Standard Time","Europe/Bucharest"],["Georgian Standard Time","Asia/Tbilisi"],["Greenland Standard Time","America/Godthab"],["Greenwich Standard Time","Atlantic/Reykjavik"],["Haiti Standard Time","America/Port-au-Prince"],["Hawaiian Standard Time","Pacific/Honolulu"],["India Standard Time","Asia/Calcutta"],["Iran Standard Time","Asia/Tehran"],["Israel Standard Time","Asia/Jerusalem"],["Jordan Standard Time","Asia/Amman"],["Kaliningrad Standard Time","Europe/Kaliningrad"],["Korea Standard Time","Asia/Seoul"],["Libya Standard Time","Africa/Tripoli"],["Line Islands Standard Time","Pacific/Kiritimati"],["Lord Howe Standard Time","Australia/Lord_Howe"],["Magadan Standard Time","Asia/Magadan"],["Magallanes Standard Time","America/Punta_Arenas"],["Marquesas Standard Time","Pacific/Marquesas"],["Mauritius Standard Time","Indian/Mauritius"],["Middle East Standard Time","Asia/Beirut"],["Montevideo Standard Time","America/Montevideo"],["Morocco Standard Time","Africa/Casablanca"],["Mountain Standard Time","America/Denver"],["Mountain Standard Time (Mexico)","America/Chihuahua"],["Myanmar Standard Time","Asia/Rangoon"],["N. Central Asia Standard Time","Asia/Novosibirsk"],["Namibia Standard Time","Africa/Windhoek"],["Nepal Standard Time","Asia/Katmandu"],["New Zealand Standard Time","Pacific/Auckland"],["Newfoundland Standard Time","America/St_Johns"],["Norfolk Standard Time","Pacific/Norfolk"],["North Asia East Standard Time","Asia/Irkutsk"],["North Asia Standard Time","Asia/Krasnoyarsk"],["North Korea Standard Time","Asia/Pyongyang"],["Omsk Standard Time","Asia/Omsk"],["Pacific SA Standard Time","America/Santiago"],["Pacific Standard Time","America/Los_Angeles"],["Pacific Standard Time (Mexico)","America/Tijuana"],["Pakistan Standard Time","Asia/Karachi"],["Paraguay Standard Time","America/Asuncion"],["Qyzylorda Standard Time","Asia/Qyzylorda"],["Romance Standard Time","Europe/Paris"],["Russia Time Zone 10","Asia/Srednekolymsk"],["Russia Time Zone 11","Asia/Kamchatka"],["Russia Time Zone 3","Europe/Samara"],["Russian Standard Time","Europe/Moscow"],["SA Eastern Standard Time","America/Cayenne"],["SA Pacific Standard Time","America/Bogota"],["SA Western Standard Time","America/La_Paz"],["SE Asia Standard Time","Asia/Bangkok"],["Saint Pierre Standard Time","America/Miquelon"],["Sakhalin Standard Time","Asia/Sakhalin"],["Samoa Standard Time","Pacific/Apia"],["Sao Tome Standard Time","Africa/Sao_Tome"],["Saratov Standard Time","Europe/Saratov"],["Singapore Standard Time","Asia/Singapore"],["South Africa Standard Time","Africa/Johannesburg"],["South Sudan Standard Time","Africa/Juba"],["Sri Lanka Standard Time","Asia/Colombo"],["Sudan Standard Time","Africa/Khartoum"],["Syria Standard Time","Asia/Damascus"],["Taipei Standard Time","Asia/Taipei"],["Tasmania Standard Time","Australia/Hobart"],["Tocantins Standard Time","America/Araguaina"],["Tokyo Standard Time","Asia/Tokyo"],["Tomsk Standard Time","Asia/Tomsk"],["Tonga Standard Time","Pacific/Tongatapu"],["Transbaikal Standard Time","Asia/Chita"],["Turkey Standard Time","Europe/Istanbul"],["Turks And Caicos Standard Time","America/Grand_Turk"],["US Eastern Standard Time","America/Indianapolis"],["US Mountain Standard Time","America/Phoenix"],["UTC","Etc/GMT"],["UTC+01","Etc/GMT-1"],["UTC+02","Etc/GMT-2"],["UTC+03","Etc/GMT-3"],["UTC+04","Etc/GMT-4"],["UTC+05","Etc/GMT-5"],["UTC+06","Etc/GMT-6"],["UTC+07","Etc/GMT-7"],["UTC+08","Etc/GMT-8"],["UTC+09","Etc/GMT-9"],["UTC+10","Etc/GMT-10"],["UTC+11","Etc/GMT-11"],["UTC+12","Etc/GMT-12"],["UTC+13","Etc/GMT-13"],["UTC+14","Etc/GMT-14"],["UTC-01","Etc/GMT+1"],["UTC-02","Etc/GMT+2"],["UTC-03","Etc/GMT+3"],["UTC-04","Etc/GMT+4"],["UTC-05","Etc/GMT+5"],["UTC-06","Etc/GMT+6"],["UTC-07","Etc/GMT+7"],["UTC-08","Etc/GMT+8"],["UTC-09","Etc/GMT+9"],["UTC-10","Etc/GMT+10"],["UTC-11","Etc/GMT+11"],["UTC-12","Etc/GMT+12"],["Ulaanbaatar Standard Time","Asia/Ulaanbaatar"],["Venezuela Standard Time","America/Caracas"],["Vladivostok Standard Time","Asia/Vladivostok"],["Volgograd Standard Time","Europe/Volgograd"],["W. Australia Standard Time","Australia/Perth"],["W. Central Africa Standard Time","Africa/Lagos"],["W. Europe Standard Time","Europe/Berlin"],["W. Mongolia Standard Time","Asia/Hovd"],["West Asia Standard Time","Asia/Tashkent"],["West Bank Standard Time","Asia/Hebron"],["West Pacific Standard Time","Pacific/Port_Moresby"],["Yakutsk Standard Time","Asia/Yakutsk"],["Yukon Standard Time","America/Whitehorse"]]);var n=t(17126);function r(e,a="system"){if(!e||!i.has(e.timeZone))return a;const t=i.get(e.timeZone);return e.timeZone.startsWith("UTC")||e.respectsDaylightSaving?t:function(e){const a=n.ou.local().setZone(e),t=Math.min(a.set({month:1,day:1}).offset,a.set({month:5}).offset);return 0===t?"Etc/UTC":`Etc/GMT${n.Qf.instance(-t).formatOffset(0,"narrow")}`}(t)}}}]);
|