@arcgis/core 4.33.0-next.20250327 → 4.33.0-next.20250328
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/applications/KnowledgeStudio/layerInternalAccessUtils.d.ts +1 -0
- package/applications/KnowledgeStudio/layerInternalAccessUtils.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/08ea652b7896c1da022d.js +1 -0
- package/assets/esri/core/workers/chunks/{66cae76da0582cfa8656.js → 0943695a1dcd21c45e83.js} +1 -1
- package/assets/esri/core/workers/chunks/09ca64184bed6abafcd9.js +1 -0
- package/assets/esri/core/workers/chunks/{c6bcfa99fb222894fa0e.js → 0a0e5d699ddb7052c5c0.js} +1 -1
- package/assets/esri/core/workers/chunks/0a675f9f69b8b13b7443.js +1 -0
- package/assets/esri/core/workers/chunks/0eed612e82a279ac8d1e.js +1 -0
- package/assets/esri/core/workers/chunks/{cbe22c58b3230b12b31a.js → 13ad4ee2e064d13ca34d.js} +1 -1
- package/assets/esri/core/workers/chunks/176e7c7c2a871bcb512e.js +1 -0
- package/assets/esri/core/workers/chunks/18d0fe269531b951e309.js +1 -0
- package/assets/esri/core/workers/chunks/201db423e3c6f947b77c.js +1 -0
- package/assets/esri/core/workers/chunks/213e82a7e3fa5b253ec1.js +1 -0
- package/assets/esri/core/workers/chunks/{22618753349eb9d8b3df.js → 222446da9cb58c3c3b7e.js} +1 -1
- package/assets/esri/core/workers/chunks/{0f37b3a797d8a55439a4.js → 277b61af8982092a4c81.js} +1 -1
- package/assets/esri/core/workers/chunks/2b07bdb6c4c4a5b2f968.js +1 -0
- package/assets/esri/core/workers/chunks/2bda2cfc6e81818d7d33.js +1 -0
- package/assets/esri/core/workers/chunks/2cbab0c078d0b844934c.js +1 -0
- package/assets/esri/core/workers/chunks/{a68b48fd1a529f69705e.js → 2fcfc21ba38d9919730a.js} +1 -1
- package/assets/esri/core/workers/chunks/{193b4fecdfee927d6200.js → 37e4f588a6896f98bce3.js} +1 -1
- package/assets/esri/core/workers/chunks/392e64a573f67817db02.js +1 -0
- package/assets/esri/core/workers/chunks/3a743653b786b010a57f.js +1 -0
- package/assets/esri/core/workers/chunks/3be007f32ea1e18b8b3b.js +1 -0
- package/assets/esri/core/workers/chunks/451555af283b32a10fef.js +1 -0
- package/assets/esri/core/workers/chunks/{835fa4484c58d9b31c78.js → 460afde071df9f35182d.js} +1 -1
- package/assets/esri/core/workers/chunks/{26bedec014488e1fc5e4.js → 4816cf647eca2f4cecc2.js} +1 -1
- package/assets/esri/core/workers/chunks/{09c9e4e94f09ba9f4c22.js → 4aa0a58ded4465ea28bd.js} +1 -1
- package/assets/esri/core/workers/chunks/4d02e211967384994e5e.js +1 -0
- package/assets/esri/core/workers/chunks/{82692bff98b4ec781544.js → 4d798da25a726f179089.js} +1 -1
- package/assets/esri/core/workers/chunks/51339193abddfe37745d.js +1 -0
- package/assets/esri/core/workers/chunks/{0a98dc3ea67ce97a6e7b.js → 5269793822e41dd07fe1.js} +1 -1
- package/assets/esri/core/workers/chunks/52d160cb7921ae7a4f57.js +1 -0
- package/assets/esri/core/workers/chunks/{630a9afdf0523c27ddb6.js → 555c95b149e3a82a4460.js} +1 -1
- package/assets/esri/core/workers/chunks/{eab1e3c101158675abba.js → 5660f479c005149bce8d.js} +1 -1
- package/assets/esri/core/workers/chunks/5a51c75a2932d9da001a.js +1 -0
- package/assets/esri/core/workers/chunks/{37a3533f004bf2e888da.js → 5d01f0b86566d08ba29d.js} +1 -1
- package/assets/esri/core/workers/chunks/{0576b035c1654a43ad5c.js → 5de3aee547113bfd59df.js} +1 -1
- package/assets/esri/core/workers/chunks/{45eee326f7a649c5a15b.js → 626db8488f9d931cf55c.js} +2 -2
- package/assets/esri/core/workers/chunks/{5a6f7360183693f8490d.js → 6339a24874c698594101.js} +1 -1
- package/assets/esri/core/workers/chunks/63dade3e1cc7f5b76846.js +1 -0
- package/assets/esri/core/workers/chunks/6c378e7a6ca29d530880.js +1 -0
- package/assets/esri/core/workers/chunks/71e46e866c23372b0b58.js +1 -0
- package/assets/esri/core/workers/chunks/{c591527543fd75a917d4.js → 72c7126dbd27fa48fcdb.js} +1 -1
- package/assets/esri/core/workers/chunks/{d459c790a3b89ac53d2d.js → 759c12b0715279e3c0f6.js} +1 -1
- package/assets/esri/core/workers/chunks/75fa861b5757551f8fdc.js +1 -0
- package/assets/esri/core/workers/chunks/7655be1470ce39f0e494.js +1 -0
- package/assets/esri/core/workers/chunks/796cf1c2ca9955595836.js +1 -0
- package/assets/esri/core/workers/chunks/79c4f10da8360ee60cd2.js +1 -0
- package/assets/esri/core/workers/chunks/{49c346d2fb8538990f45.js → 7d1c39c2a80e20a0595f.js} +1 -1
- package/assets/esri/core/workers/chunks/7f36cffc6ed984b7e467.js +1 -0
- package/assets/esri/core/workers/chunks/82353e59ac6d909dcf41.js +1 -0
- package/assets/esri/core/workers/chunks/84d301e1b6b0d0b48f51.js +1 -0
- package/assets/esri/core/workers/chunks/86931186095c23e47c0c.js +1 -0
- package/assets/esri/core/workers/chunks/{59e4e780dcdfed555ca5.js → 8ef5e6f1c606e5e41002.js} +1 -1
- package/assets/esri/core/workers/chunks/{55c7c51e56d72f507c22.js → 90afead317186b31b2f9.js} +1 -1
- package/assets/esri/core/workers/chunks/90c893959145827961ac.js +1 -0
- package/assets/esri/core/workers/chunks/931275cfa2c55eb0f504.js +1 -0
- package/assets/esri/core/workers/chunks/{7e0e9ca84490a0c67197.js → 98da74243df03e0cc70d.js} +1 -1
- package/assets/esri/core/workers/chunks/{354117429b3a0a0794c9.js → 999e8dbe6f4d0665b3ab.js} +1 -1
- package/assets/esri/core/workers/chunks/a348ff2dd936c6bf9399.js +1 -0
- package/assets/esri/core/workers/chunks/a53e9f5092de715da025.js +1 -0
- package/assets/esri/core/workers/chunks/a9b6377f1fef5826f28d.js +1 -0
- package/assets/esri/core/workers/chunks/{8063e35dacf8f99471d8.js → aa404aaec843a4f46ab6.js} +1 -1
- package/assets/esri/core/workers/chunks/{21016d58428b15f7427c.js → aa712f850fd129ca5ed8.js} +1 -1
- package/assets/esri/core/workers/chunks/ab0113d1269675dcd520.js +1 -0
- package/assets/esri/core/workers/chunks/aff7c4477e1f0c31fffa.js +1 -0
- package/assets/esri/core/workers/chunks/bf453744067267e84d1b.js +1 -0
- package/assets/esri/core/workers/chunks/c2f38c66fae2cdb57445.js +1 -0
- package/assets/esri/core/workers/chunks/c7aa4a8263e21f631004.js +1 -0
- package/assets/esri/core/workers/chunks/{3be465c653236d6d8c1f.js → d2c7067bb6654c0e2793.js} +1 -1
- package/assets/esri/core/workers/chunks/{bc3f42401131a12fce9b.js → d2eb3802fa003c2d497e.js} +1 -1
- package/assets/esri/core/workers/chunks/da7c14ae1a25fc7163ce.js +1 -0
- package/assets/esri/core/workers/chunks/daa54c8a317c27881763.js +1 -0
- package/assets/esri/core/workers/chunks/e15c612caadf7bac4ab9.js +1 -0
- package/assets/esri/core/workers/chunks/{a2377969f76640f1d6fe.js → e2029267cddb8e2effab.js} +1 -1
- package/assets/esri/core/workers/chunks/e3ef0451dcdc2e966628.js +1 -0
- package/assets/esri/core/workers/chunks/e7e987558cf017c62458.js +1 -0
- package/assets/esri/core/workers/chunks/eabfab23246d4a052ea3.js +1 -0
- package/assets/esri/core/workers/chunks/ed3d1d0465f4a4d8df4a.js +1 -0
- package/assets/esri/core/workers/chunks/{ed4afafbcb31491c2049.js → f452ca61842dbe8de9af.js} +1 -1
- package/assets/esri/core/workers/chunks/f54546c155fba2fd3a7e.js +1 -0
- package/assets/esri/core/workers/chunks/{4c8164955f8d844c09ee.js → f8d1c7df671733c3325c.js} +1 -1
- package/assets/esri/core/workers/chunks/{e45404a982e173459990.js → f92d521ed3df3c9f737b.js} +1 -1
- package/assets/esri/core/workers/chunks/{b2289c18c02c868a2939.js → f9bedb421d4e115a888f.js} +1 -1
- package/assets/esri/core/workers/chunks/{55f7b1de8882569861c0.js → faed301a25252c619cff.js} +1 -1
- package/assets/esri/core/workers/chunks/fb22b2e4988ecf4d6376.js +1 -0
- package/assets/esri/core/workers/chunks/fb455fd89b74b70a6a2b.js +1 -0
- package/assets/esri/core/workers/chunks/{6d77c7e9dec323fc4145.js → fb603edd374e24f366ff.js} +1 -1
- package/core/Accessor.js +1 -1
- package/core/accessorSupport/utils.js +1 -1
- package/core/workers/registry.js +1 -1
- package/geometry/support/meshUtils/elevation.js +1 -1
- package/geometry/support/meshUtils.js +1 -1
- package/interfaces.d.ts +38 -3
- package/intl/locale.js +1 -1
- package/layers/support/RasterWorker.js +1 -1
- package/layers/support/VideoElement.js +1 -1
- package/layers/support/rasterDatasets/FunctionRaster.js +1 -1
- package/layers/support/rasterFunctions/clipUtils.js +1 -1
- package/layers/support/rasterFunctions/rasterProjectionHelper.js +1 -1
- package/package.json +2 -2
- package/rest/networks/queryAssociations.js +1 -1
- package/support/revision.js +1 -1
- package/symbols/WebStyleSymbol.js +1 -1
- package/symbols/support/symbolUtils.js +1 -1
- package/views/2d/LabelManager.js +1 -1
- package/views/2d/engine/webgl/Overlay.js +1 -1
- package/views/2d/layers/features/layerAdapters/OGCFeatureLayerAdapter.js +1 -1
- package/views/2d/layers/features/schema/processor/symbols/SymbolSchema.js +1 -1
- package/views/2d/layers/graphics/GraphicsView2D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DWebStyleSymbol.js +1 -1
- package/views/3d/terrain/TerrainSurface.js +1 -1
- package/views/3d/terrain/TileRenderer.js +1 -1
- package/views/DOMContainer.js +1 -1
- package/views/FocusArea.js +1 -1
- package/views/GroundView.js +1 -1
- package/views/PopupView.js +1 -1
- package/views/support/GroundViewElevationSampler.js +1 -1
- package/views/support/TextureCompressionHelper.js +1 -1
- package/views/support/TextureCompressionWorker.js +5 -0
- package/views/support/TextureCompressionWorkerHandle.js +5 -0
- package/views/support/imageReprojection.js +1 -1
- package/webscene/Slide.js +1 -1
- package/widgets/CatalogLayerList/CatalogLayerListViewModel.js +1 -1
- package/widgets/CatalogLayerList.js +1 -1
- package/widgets/Directions.js +1 -1
- package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/UtilityNetworkAssociationItemList.js +1 -1
- package/widgets/LayerList/ListItem.js +1 -1
- package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
- package/widgets/Legend.js +1 -1
- package/widgets/TableList/ListItem.js +1 -1
- package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js +1 -1
- package/widgets/UtilityNetworkTrace.js +1 -1
- package/widgets/ValuePicker.js +1 -1
- package/widgets/support/uriUtils.js +1 -1
- package/assets/esri/core/workers/chunks/07910d16d1efae41d4bc.js +0 -1
- package/assets/esri/core/workers/chunks/0a3c1642cfabf9acd5c5.js +0 -1
- package/assets/esri/core/workers/chunks/0b7331613f91a3258352.js +0 -1
- package/assets/esri/core/workers/chunks/1a09dfb2c9fd7cd84cd4.js +0 -1
- package/assets/esri/core/workers/chunks/1dd6d68d23ba07587ae4.js +0 -1
- package/assets/esri/core/workers/chunks/2079f9d28e4199714f22.js +0 -1
- package/assets/esri/core/workers/chunks/29ba2022c2978e9bd53e.js +0 -1
- package/assets/esri/core/workers/chunks/29fe3e9a0ecab74bb729.js +0 -1
- package/assets/esri/core/workers/chunks/35f3eef81fac7924a487.js +0 -1
- package/assets/esri/core/workers/chunks/4539a802cba77a7a7cc7.js +0 -1
- package/assets/esri/core/workers/chunks/470cf066294b053c2732.js +0 -1
- package/assets/esri/core/workers/chunks/4d7bd2bbe9045a2fee7a.js +0 -1
- package/assets/esri/core/workers/chunks/50b6be13c270d7ac80d3.js +0 -1
- package/assets/esri/core/workers/chunks/54ace3e4802934f3f9f2.js +0 -1
- package/assets/esri/core/workers/chunks/5656cc44e3d4547668db.js +0 -1
- package/assets/esri/core/workers/chunks/597f450a57750637cb4d.js +0 -1
- package/assets/esri/core/workers/chunks/605eddec7aac891ed141.js +0 -1
- package/assets/esri/core/workers/chunks/6e7577cb6378ff34e722.js +0 -1
- package/assets/esri/core/workers/chunks/6eb8d7edafeafeb10cae.js +0 -1
- package/assets/esri/core/workers/chunks/71bd94cc789a55910f92.js +0 -1
- package/assets/esri/core/workers/chunks/762567124623f6d11e67.js +0 -1
- package/assets/esri/core/workers/chunks/77845cd5d824c1004bfa.js +0 -1
- package/assets/esri/core/workers/chunks/78683f1aadc1377be5fd.js +0 -1
- package/assets/esri/core/workers/chunks/7a4413a188a8f1affb2f.js +0 -1
- package/assets/esri/core/workers/chunks/7d3b2bdc75525d47389c.js +0 -1
- package/assets/esri/core/workers/chunks/81f2f1614ea27f4c2e65.js +0 -1
- package/assets/esri/core/workers/chunks/901c957c049f53318e87.js +0 -1
- package/assets/esri/core/workers/chunks/94f41ef15f6c61562e5e.js +0 -1
- package/assets/esri/core/workers/chunks/95f23bd17ce9e07fc8ef.js +0 -1
- package/assets/esri/core/workers/chunks/96d7f47ea8fbf345101c.js +0 -1
- package/assets/esri/core/workers/chunks/9f312f7284e506a84ed7.js +0 -1
- package/assets/esri/core/workers/chunks/ac86d0b31f6368bd1fb1.js +0 -1
- package/assets/esri/core/workers/chunks/ad9b3b83aa96db7b79ea.js +0 -1
- package/assets/esri/core/workers/chunks/b02ac03503bfff1ff922.js +0 -1
- package/assets/esri/core/workers/chunks/b2666b89755323a84fcb.js +0 -1
- package/assets/esri/core/workers/chunks/b948fe33b4d650eea796.js +0 -1
- package/assets/esri/core/workers/chunks/be002f24beb832a369ce.js +0 -1
- package/assets/esri/core/workers/chunks/bf3c4c1bff8b71bc0b13.js +0 -1
- package/assets/esri/core/workers/chunks/d45ff061bf71b73e9f26.js +0 -1
- package/assets/esri/core/workers/chunks/d8ddff920725acb99200.js +0 -1
- package/assets/esri/core/workers/chunks/db4c110ab4c26c4b768c.js +0 -1
- package/assets/esri/core/workers/chunks/dfa4be2e07cc4c0938b0.js +0 -1
- package/assets/esri/core/workers/chunks/e491daf73ab1264aa1b9.js +0 -1
- package/assets/esri/core/workers/chunks/f2a6287c8d28be24f71e.js +0 -1
- package/assets/esri/core/workers/chunks/f4861d73c62096f73e48.js +0 -1
- package/assets/esri/core/workers/chunks/f70dd16f14279bb7e60d.js +0 -1
- package/assets/esri/core/workers/chunks/fa011ad649c05201e92a.js +0 -1
- package/views/3d/webgl-engine/lib/TextureCompressionWorker.js +0 -5
- package/views/3d/webgl-engine/lib/TextureCompressionWorkerHandle.js +0 -5
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[655],{16405:(t,e,r)=>{r.d(e,{A:()=>m});var s,o=r(90237),i=r(69622),l=r(66552),a=r(4718),n=r(10107),u=(r(44208),r(53966),r(40608)),p=r(5443),d=r(16930),h=r(28735);const c=new l.J({avgRating:"avg-rating",numRatings:"num-ratings",numComments:"num-comments",numViews:"num-views"});let y=s=class extends i.A{constructor(t){super(t),this.categories=null,this.disableExtraQuery=!1,this.extent=null,this.filter=null,this.num=10,this.query=null,this.sortField=null,this.start=1}get sortOrder(){return this._get("sortOrder")||"asc"}set sortOrder(t){"asc"!==t&&"desc"!==t||this._set("sortOrder",t)}clone(){return new s({categories:this.categories?(0,a.o8)(this.categories):null,disableExtraQuery:this.disableExtraQuery,extent:this.extent?this.extent.clone():null,filter:this.filter,num:this.num,query:this.query,sortField:this.sortField,sortOrder:this.sortOrder,start:this.start})}toRequestOptions(t,e){let r=[];this.categories&&(r=this.categories.map((t=>Array.isArray(t)?JSON.stringify(t):t)));let s="";if(this.extent){const t=(0,h.Cv)(this.extent,d.A.WGS84);null!=t&&(s=`${t.xmin},${t.ymin},${t.xmax},${t.ymax}`)}let o=this.query;!this.disableExtraQuery&&t.extraQuery&&(o="("+o+")"+t.extraQuery);const i={categories:r,bbox:s,q:o,filter:this.filter,num:this.num,sortField:null,sortOrder:null,start:this.start};return this.sortField&&(i.sortField=this.sortField.split(",").map((t=>c.toJSON(t.trim()))).join(","),i.sortOrder=this.sortOrder),{query:{...e,...i}}}};(0,o._)([(0,n.MZ)()],y.prototype,"categories",void 0),(0,o._)([(0,n.MZ)()],y.prototype,"disableExtraQuery",void 0),(0,o._)([(0,n.MZ)({type:p.A})],y.prototype,"extent",void 0),(0,o._)([(0,n.MZ)()],y.prototype,"filter",void 0),(0,o._)([(0,n.MZ)()],y.prototype,"num",void 0),(0,o._)([(0,n.MZ)()],y.prototype,"query",void 0),(0,o._)([(0,n.MZ)()],y.prototype,"sortField",void 0),(0,o._)([(0,n.MZ)()],y.prototype,"sortOrder",null),(0,o._)([(0,n.MZ)()],y.prototype,"start",void 0),y=s=(0,o._)([(0,u.$)("esri.portal.PortalQueryParams")],y);const m=y},20655:(t,e,r)=>{r.d(e,{A:()=>G});var s=r(90237),o=r(92602),i=r(70333),l=r(78888),a=r(49186),n=r(25482),u=r(92474),p=r(97768),d=r(74887),h=r(10107),c=r(56507),y=(r(44208),r(87811),r(36005)),m=r(40608),_=r(5443),v=r(73444);let f;var M=r(96360),g=r(16405),Z=r(69622);r(53966);let S=class extends Z.A{constructor(t){super(t),this.nextQueryParams=null,this.queryParams=null,this.results=null,this.total=null}};(0,s._)([(0,h.MZ)()],S.prototype,"nextQueryParams",void 0),(0,s._)([(0,h.MZ)()],S.prototype,"queryParams",void 0),(0,s._)([(0,h.MZ)()],S.prototype,"results",void 0),(0,s._)([(0,h.MZ)()],S.prototype,"total",void 0),S=(0,s._)([(0,m.$)("esri.portal.PortalQueryResult")],S);const P=S;var O,w=r(41318),A=r(926);let C;const b={PortalGroup:()=>Promise.resolve({default:M.A}),PortalItem:()=>r.e(812).then(r.bind(r,80812)),PortalUser:()=>Promise.resolve({default:w.A})};let D=class extends(n.A.JSONSupportMixin(u.A)){static{O=this}static{this.AUTH_MODE_ANONYMOUS="anonymous"}static{this.AUTH_MODE_AUTO="auto"}static{this.AUTH_MODE_IMMEDIATE="immediate"}static{this.AUTH_MODE_NO_PROMPT="no-prompt"}constructor(t){super(t),this._esriIdCredentialCreateHandle=null,this.access=null,this.allSSL=!1,this.authMode="auto",this.authorizedCrossOriginDomains=null,this.basemapGalleryGroupQuery=null,this.basemapGalleryGroupQuery3D=null,this.bingKey=null,this.canListApps=!1,this.canListData=!1,this.canListPreProvisionedItems=!1,this.canProvisionDirectPurchase=!1,this.canSearchPublic=!0,this.canShareBingPublic=!1,this.canSharePublic=!1,this.canSignInArcGIS=!1,this.canSignInIDP=!1,this.colorSetsGroupQuery=null,this.commentsEnabled=!1,this.created=null,this.culture=null,this.customBaseUrl=null,this.default3DBasemapQuery=null,this.defaultBasemap=null,this.defaultDevBasemap=null,this.defaultExtent=null,this.defaultVectorBasemap=null,this.description=null,this.devBasemapGalleryGroupQuery=null,this.eueiEnabled=null,this.featuredGroups=null,this.featuredItemsGroupQuery=null,this.galleryTemplatesGroupQuery=null,this.layoutGroupQuery=null,this.livingAtlasGroupQuery=null,this.hasCategorySchema=!1,this.hasClassificationSchema=!1,this.helperServices=null,this.homePageFeaturedContent=null,this.homePageFeaturedContentCount=null,this.httpPort=null,this.httpsPort=null,this.id=null,this.ipCntryCode=null,this.isPortal=!1,this.isReadOnly=!1,this.layerTemplatesGroupQuery=null,this.maxTokenExpirationMinutes=null,this.modified=null,this.name=null,this.portalHostname=null,this.portalMode=null,this.portalProperties=null,this.region=null,this.recycleBinEnabled=!1,this.rotatorPanels=null,this.showHomePageDescription=!1,this.sourceJSON=null,this.supportsHostedServices=!1,this.symbolSetsGroupQuery=null,this.templatesGroupQuery=null,this.units=null,this.url=o.A.portalUrl,this.urlKey=null,this.user=null,this.use3dBasemaps=!0,this.useDefault3dBasemap=!1,this.useStandardizedQuery=!1,this.useVectorBasemaps=!1,this.vectorBasemapGalleryGroupQuery=null}normalizeCtorArgs(t){return"string"==typeof t?{url:t}:t}destroy(){q.unregister(this),this.defaultBasemap=(0,p.pR)(this.defaultBasemap),this.defaultDevBasemap=(0,p.pR)(this.defaultDevBasemap),this.defaultVectorBasemap=(0,p.pR)(this.defaultVectorBasemap),this._esriIdCredentialCreateHandle=(0,p.xt)(this._esriIdCredentialCreateHandle)}readAuthorizedCrossOriginDomains(t){if(t)for(const e of t)o.A.request.trustedServers.includes(e)||o.A.request.trustedServers.push(e);return t}readDefaultBasemap(t){return this._readBasemap(t)}readDefaultDevBasemap(t){return this._readBasemap(t)}readDefaultVectorBasemap(t){return this._readBasemap(t)}get extraQuery(){const t=this.user?.orgId,e=!t||this.canSearchPublic;return this.id&&!e?` AND orgid:${this.id}`:null}get hasAPIKey(){return(0,A.Jn)(this.url)}get isOrganization(){return!!this.access}get itemPageUrl(){return this.url?`${this.url}/home/item.html`:null}get restUrl(){let t=this.url;if(t){const e=t.indexOf("/sharing");t=e>0?t.slice(0,e):this.url.replace(/\/+$/,""),t+="/sharing/rest"}return t}get thumbnailUrl(){const t=this.restUrl,e=this.thumbnail;return t&&e?this._normalizeSSL(t+"/portals/self/resources/"+e):null}readUrlKey(t){return t?t.toLowerCase():t}readUser(t){let e=null;return t&&(e=w.A.fromJSON(t),e.portal=this),e}load(t){const e=Promise.all([r.e(812),r.e(3116)]).then(r.bind(r,83116)).then((({default:e})=>{(0,d.Te)(t),C=e})).then((()=>this.sourceJSON?this.sourceJSON:this.fetchSelf(this.authMode,!1,t))).then((t=>{if(!this.hasAPIKey&&i.id){const t=i.id;this.credential=t.findCredential(this.restUrl),this.credential||this.authMode!==O.AUTH_MODE_AUTO&&this.authMode!==O.AUTH_MODE_NO_PROMPT||(this._esriIdCredentialCreateHandle?.remove(),this._esriIdCredentialCreateHandle=t.on("credential-create",function(t){const e=i.id;return()=>{const r=t.deref();r&&e.findCredential(r.restUrl)&&r.signIn().catch((()=>{}))}}(new WeakRef(this))),q.register(this,this._esriIdCredentialCreateHandle,this))}this.sourceJSON=t,this.read(t)}));return this.addResolvingPromise(e),Promise.resolve(this)}async createElevationLayers(){await this.load();const t=this._getHelperService("defaultElevationLayers"),e=(await Promise.all([r.e(6131),r.e(9953),r.e(7251),r.e(812),r.e(9186),r.e(1435)]).then(r.bind(r,68611))).default;return t?t.map((t=>new e({id:t.id,url:t.url}))):[]}async fetchBasemaps(t,e){const r=await this._fetchBasemaps(t,e);if(!0===e?.include3d&&!1!==this.use3dBasemaps){const s=await this._fetchBasemaps3D(t,e);r.unshift(...s)}return r}async fetchDefault3DBasemap(t){if(!this.useDefault3dBasemap||!this.default3DBasemapQuery||"none"===this.default3DBasemapQuery)return null;const e=new g.A;e.query=this.default3DBasemapQuery,e.disableExtraQuery=!0;const r=(await this.queryItems(e,t)).results.find((t=>"Web Scene"===t.type));return r?new C({portalItem:r}):null}fetchCategorySchema(t){return this.hasCategorySchema?this.request(this.restUrl+"/portals/self/categorySchema",t).then((t=>t.categorySchema)):(0,d.G4)(t)?Promise.reject((0,d.NK)()):Promise.resolve([])}async fetchClassificationSchema(t){return this.hasClassificationSchema?this.request(this.restUrl+"/portals/self/classification/classificationSchema",t).then((t=>t.classificationSchema)):null}fetchFeaturedGroups(t){const e=this.featuredGroups,r=new g.A({num:100,sortField:"title"});if(e?.length){const s=[];for(const t of e)s.push(`(title:"${t.title}" AND owner:${t.owner})`);return r.query=s.join(" OR "),this.queryGroups(r,t).then((t=>t.results))}return(0,d.G4)(t)?Promise.reject((0,d.NK)()):Promise.resolve([])}fetchRegions(t){const e=this.user?.culture||this.culture||(0,v.JK)();return this.request(this.restUrl+"/portals/regions",{...t,query:{culture:e}})}fetchSettings(t){const e=this.user?.culture||this.culture||(0,v.JK)();return this.request(this.restUrl+"/portals/self/settings",{...t,query:{culture:e}})}static getDefault(){return f&&!f.destroyed||(f=new O),f}queryGroups(t,e){return this.queryPortal("/community/groups",t,"PortalGroup",e)}queryItems(t,e){return this.queryPortal("/search",t,"PortalItem",e)}queryUsers(t,e){return t.sortField||(t.sortField="username"),this.queryPortal("/community/users",t,"PortalUser",e)}fetchSelf(t=this.authMode,e=!1,r){const s=this.restUrl+"/portals/self",o={authMode:t,query:{culture:(0,v.JK)().toLowerCase()},withCredentials:!0,...r};return"auto"===o.authMode&&(o.authMode="no-prompt"),e&&(o.query.default=!0),this.request(s,o)}queryPortal(t,e,r,s){const o=(0,c.dp)(g.A,e),i=e=>this.request(this.restUrl+t,{...o.toRequestOptions(this),...s}).then((t=>{const r=o.clone();return r.start=t.nextStart,new P({nextQueryParams:r,queryParams:o,total:t.total,results:O._resultsToTypedArray(e,{portal:this},t,s)})})).then((t=>Promise.all(t.results.map((e=>"function"==typeof e.when?e.when():t))).then((()=>t),(e=>((0,d.QP)(e),t)))));return r&&b[r]?b[r]().then((({default:t})=>((0,d.Te)(s),i(t)))):i()}signIn(){if(this.hasAPIKey)return this.load().then((()=>{if(!this.user)throw new a.A("portal:not-authenticated","Unable to authenticate user. Portal.user is missing")}));if(this.authMode===O.AUTH_MODE_ANONYMOUS||this.authMode===O.AUTH_MODE_NO_PROMPT&&!i.id)return Promise.reject(new a.A("portal:invalid-auth-mode",`Current "authMode"' is "${this.authMode}"`));if("failed"===this.loadStatus)return Promise.reject(this.loadError);const t=t=>Promise.resolve().then((()=>"not-loaded"===this.loadStatus?(t||(this.authMode="immediate"),this.load().then((()=>null))):"loading"===this.loadStatus?this.load().then((()=>this.credential?null:(this.credential=t,this.fetchSelf("immediate")))):this.user&&this.credential===t?null:(this.credential=t,this.fetchSelf("immediate")))).then((t=>{t&&(this.sourceJSON=t,this.read(t))}));return i.id?i.id.getCredential(this.restUrl,{prompt:this.authMode!==O.AUTH_MODE_NO_PROMPT}).then((e=>t(e))):t(this.credential)}normalizeUrl(t){const e=this.credential?.token;return this._normalizeSSL(e?t+(t.includes("?")?"&":"?")+"token="+e:t)}requestToTypedArray(t,e,r){return this.request(t,e).then((t=>{const e=O._resultsToTypedArray(r,{portal:this},t);return Promise.all(e.map((e=>"function"==typeof e.when?e.when():t))).then((()=>e),(()=>e))}))}request(t,e={}){const r={f:"json",...e.query},{authMode:s=(this.authMode===O.AUTH_MODE_ANONYMOUS||this.authMode===O.AUTH_MODE_NO_PROMPT?this.authMode:"auto"),body:o=null,cacheBust:i=!1,method:a="auto",responseType:n="json",signal:u}=e,p={authMode:s,body:o,cacheBust:i,method:a,query:r,responseType:n,timeout:0,signal:u};return e.withCredentials&&(p.withCredentials=!0),(0,l.A)(this._normalizeSSL(t),p).then((t=>t.data))}toJSON(){throw new a.A("internal:not-yet-implemented","Portal.toJSON is not yet implemented")}static fromJSON(t){if(!t)return null;if(t.declaredClass)throw new Error("JSON object is already hydrated");return new O({sourceJSON:t})}_getHelperService(t){const e=this.helperServices&&this.helperServices[t];if(!e)throw new a.A("portal:service-not-found",`The \`helperServices\` do not include an entry named "${t}"`);return e}async _fetchBasemaps(t,e){const r=new g.A;r.query=t||(this.hasAPIKey?this.devBasemapGalleryGroupQuery:this.useVectorBasemaps?this.vectorBasemapGalleryGroupQuery:this.basemapGalleryGroupQuery),r.disableExtraQuery=!0;const s=await this.queryGroups(r,e);if(!s.total)return[];const o=s.results[0];r.num=100,r.query='type:"Web Map" -type:"Web Application"',r.sortField=o.sortField||"name",r.sortOrder=o.sortOrder||"desc";const i=await o.queryItems(r,e);return i.total?i.results.filter((t=>"Web Map"===t.type)).map((t=>new C({portalItem:t}))):[]}async _fetchBasemaps3D(t,e){const r=t||this.basemapGalleryGroupQuery3D;if(!r)return[];if(this.hasAPIKey)return[];const s=new g.A({query:r,disableExtraQuery:!0}),o=await this.queryGroups(s,e);if(!o.total)return[];const i=o.results[0];s.num=100,s.query='type:"Web Scene"',s.sortField=i.sortField||"name",s.sortOrder=i.sortOrder||"desc";const l=await i.queryItems(s,e);return l.total?l.results.filter((t=>"Web Scene"===t.type)).map((t=>new C({portalItem:t}))):[]}_normalizeSSL(t){return t.replace(/^http:/i,"https:").replace(":7080",":7443")}_readBasemap(t){if(t){const e=C.fromJSON(t);return e.portalItem={portal:this},e}return null}static _resultsToTypedArray(t,e,r,s){let o;if(r){const i=null!=s?s.signal:null;o=r.listings||r.notifications||r.userInvitations||r.tags||r.items||r.groups||r.comments||r.provisions||r.results||r.relatedItems||r,(t||e)&&(o=o.map((r=>{const s=Object.assign(t?t.fromJSON(r):r,e);return"function"==typeof s.load&&s.load(i),s})))}else o=[];return o}};(0,s._)([(0,h.MZ)()],D.prototype,"access",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"allSSL",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"authMode",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"authorizedCrossOriginDomains",void 0),(0,s._)([(0,y.w)("authorizedCrossOriginDomains")],D.prototype,"readAuthorizedCrossOriginDomains",null),(0,s._)([(0,h.MZ)()],D.prototype,"basemapGalleryGroupQuery",void 0),(0,s._)([(0,h.MZ)({json:{name:"3DBasemapGalleryGroupQuery"}})],D.prototype,"basemapGalleryGroupQuery3D",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"bingKey",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"canListApps",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"canListData",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"canListPreProvisionedItems",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"canProvisionDirectPurchase",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"canSearchPublic",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"canShareBingPublic",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"canSharePublic",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"canSignInArcGIS",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"canSignInIDP",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"colorSetsGroupQuery",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"commentsEnabled",void 0),(0,s._)([(0,h.MZ)({type:Date})],D.prototype,"created",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"credential",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"culture",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"currentVersion",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"customBaseUrl",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"default3DBasemapQuery",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"defaultBasemap",void 0),(0,s._)([(0,y.w)("defaultBasemap")],D.prototype,"readDefaultBasemap",null),(0,s._)([(0,h.MZ)()],D.prototype,"defaultDevBasemap",void 0),(0,s._)([(0,y.w)("defaultDevBasemap")],D.prototype,"readDefaultDevBasemap",null),(0,s._)([(0,h.MZ)({type:_.A})],D.prototype,"defaultExtent",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"defaultVectorBasemap",void 0),(0,s._)([(0,y.w)("defaultVectorBasemap")],D.prototype,"readDefaultVectorBasemap",null),(0,s._)([(0,h.MZ)()],D.prototype,"description",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"devBasemapGalleryGroupQuery",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"eueiEnabled",void 0),(0,s._)([(0,h.MZ)({readOnly:!0})],D.prototype,"extraQuery",null),(0,s._)([(0,h.MZ)()],D.prototype,"featuredGroups",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"featuredItemsGroupQuery",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"galleryTemplatesGroupQuery",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"layoutGroupQuery",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"livingAtlasGroupQuery",void 0),(0,s._)([(0,h.MZ)({readOnly:!0})],D.prototype,"hasAPIKey",null),(0,s._)([(0,h.MZ)()],D.prototype,"hasCategorySchema",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"hasClassificationSchema",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"helpBase",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"helperServices",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"helpMap",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"homePageFeaturedContent",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"homePageFeaturedContentCount",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"httpPort",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"httpsPort",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"id",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"ipCntryCode",void 0),(0,s._)([(0,h.MZ)({readOnly:!0})],D.prototype,"isOrganization",null),(0,s._)([(0,h.MZ)()],D.prototype,"isPortal",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"isReadOnly",void 0),(0,s._)([(0,h.MZ)({readOnly:!0})],D.prototype,"itemPageUrl",null),(0,s._)([(0,h.MZ)()],D.prototype,"layerTemplatesGroupQuery",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"maxTokenExpirationMinutes",void 0),(0,s._)([(0,h.MZ)({type:Date})],D.prototype,"modified",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"name",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"portalHostname",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"portalMode",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"portalProperties",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"region",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"recycleBinEnabled",void 0),(0,s._)([(0,h.MZ)({readOnly:!0})],D.prototype,"restUrl",null),(0,s._)([(0,h.MZ)()],D.prototype,"rotatorPanels",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"showHomePageDescription",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"sourceJSON",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"staticImagesUrl",void 0),(0,s._)([(0,h.MZ)({json:{name:"2DStylesGroupQuery"}})],D.prototype,"stylesGroupQuery2d",void 0),(0,s._)([(0,h.MZ)({json:{name:"stylesGroupQuery"}})],D.prototype,"stylesGroupQuery3d",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"supportsHostedServices",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"symbolSetsGroupQuery",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"templatesGroupQuery",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"thumbnail",void 0),(0,s._)([(0,h.MZ)({readOnly:!0})],D.prototype,"thumbnailUrl",null),(0,s._)([(0,h.MZ)()],D.prototype,"units",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"url",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"urlKey",void 0),(0,s._)([(0,y.w)("urlKey")],D.prototype,"readUrlKey",null),(0,s._)([(0,h.MZ)()],D.prototype,"user",void 0),(0,s._)([(0,y.w)("user")],D.prototype,"readUser",null),(0,s._)([(0,h.MZ)()],D.prototype,"use3dBasemaps",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"useDefault3dBasemap",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"useStandardizedQuery",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"useVectorBasemaps",void 0),(0,s._)([(0,h.MZ)()],D.prototype,"vectorBasemapGalleryGroupQuery",void 0),D=O=(0,s._)([(0,m.$)("esri.portal.Portal")],D);const G=D,q=new FinalizationRegistry((t=>{t.remove()}))},41318:(t,e,r)=>{r.d(e,{A:()=>c});var s=r(90237),o=r(49186),i=r(25482),l=r(10107),a=(r(44208),r(53966),r(87811),r(40608));let n=class extends i.A{constructor(t){super(t),this.created=null,this.id=null,this.portal=null,this.title=null,this.username=null}get url(){const t=this.portal?.restUrl;return t?`${t}/content/users/${this.username}/${this.id}`:null}toJSON(){throw new o.A("internal:not-yet-implemented","PortalFolder.toJSON is not yet implemented")}};(0,s._)([(0,l.MZ)({type:Date})],n.prototype,"created",void 0),(0,s._)([(0,l.MZ)()],n.prototype,"id",void 0),(0,s._)([(0,l.MZ)()],n.prototype,"portal",void 0),(0,s._)([(0,l.MZ)()],n.prototype,"title",void 0),(0,s._)([(0,l.MZ)({readOnly:!0})],n.prototype,"url",null),(0,s._)([(0,l.MZ)()],n.prototype,"username",void 0),n=(0,s._)([(0,a.$)("esri.portal.PortalFolder")],n);const u=n;var p,d=r(96360);let h=p=class extends i.A{constructor(t){super(t),this.access=null,this.created=null,this.culture=null,this.description=null,this.email=null,this.fullName=null,this.modified=null,this.orgId=null,this.portal=null,this.preferredView=null,this.privileges=null,this.region=null,this.role=null,this.roleId=null,this.sourceJSON=null,this.units=null,this.username=null,this.userLicenseTypeId=null,this.userType=null}get thumbnailUrl(){const t=this.url,e=this.thumbnail;return t&&e?this.portal.normalizeUrl(`${t}/info/${e}?f=json`):null}get userContentUrl(){const t=this.portal?.restUrl;return t?`${t}/content/users/${this.username}`:null}get url(){const t=this.portal?.restUrl;return t?`${t}/community/users/${this.username}`:null}addItem(t){const e=t&&t.item,r=t?.data,s=t?.folder,o={method:"post"};e&&(o.query=e.createPostQuery(),null!=r&&("string"==typeof r?o.query.text=r:"object"==typeof r&&(o.query.text=JSON.stringify(r))));let i=this.userContentUrl;return s&&(i+="/"+("string"==typeof s?s:s.id)),this.portal.request(i+"/addItem",o).then((t=>(e.id=t.id,e.portal=this.portal,e.loaded?e.reload():e.load())))}async deleteItem(t,e=!1){let r=this.userContentUrl;t.ownerFolder&&(r+="/"+t.ownerFolder);const s=e?{permanentDelete:!0}:{};await this.portal.request(r+`/items/${t.id}/delete`,{method:"post",query:s}),t.id=null,t.portal=null}async deleteItems(t,e=!1){t=t.slice();const r=this.userContentUrl+"/deleteItems",s=[],i=t.map((t=>t.id));if(i.length){const l={method:"post",query:{items:i.join(","),permanentDelete:e}},a=await this.portal.request(r,l);for(const e of a.results){const r=t.find((t=>e.itemId===t.id)),i=e.success;let l=null;i?(r.id=null,r.portal=null):e.error&&(l=new o.A("portal:delete-item-failed",e.error.message,e.error)),s.push({item:r,success:i,error:l})}}return s}fetchFolders(){return this.portal.request(this.userContentUrl??"",{query:{num:1}}).then((t=>{let e;return e=t&&t.folders?t.folders.map((t=>{const e=u.fromJSON(t);return e.portal=this.portal,e})):[],e}))}fetchGroups(){return this.portal.request(this.url??"").then((t=>{let e;return e=t&&t.groups?t.groups.map((t=>{const e=d.A.fromJSON(t);return e.portal=this.portal,e})):[],e}))}async fetchItems(t){t??={};let e=this.userContentUrl??"";t.folder&&(e+="/"+t.folder.id);const{default:s}=await r.e(812).then(r.bind(r,80812)),o={folders:!1,inRecycleBin:!!t.inRecycleBin||null,foldersContent:!(t.folder||!t.includeSubfolderItems)||null,num:t.num||10,start:t.start||1,sortField:t.sortField||"created",sortOrder:t.sortOrder||"asc"},i=await this.portal.request(e,{query:o});let l;return i?.items?(l=i.items.map((t=>{const e=s.fromJSON(t);return e.portal=this.portal,e})),await Promise.all(l.map((t=>t.load()))),{items:l,nextStart:i.nextStart,total:i.total}):{items:[],nextStart:-1,total:0}}fetchTags(){return this.portal.request(this.url+"/tags").then((t=>t.tags))}getThumbnailUrl(t){let e=this.thumbnailUrl;return e&&t&&(e+=`&w=${t}`),e}queryFavorites(t){return this.favGroupId?(this._favGroup||(this._favGroup=new d.A({id:this.favGroupId,portal:this.portal})),this._favGroup.queryItems(t)):Promise.reject(new o.A("internal:unknown","Unknown internal error",{internalError:"Unknown favGroupId"}))}async restoreItem(t,e){const r=this.userContentUrl,s=e?{folderID:"string"==typeof e?e:e.id}:null;await this.portal.request(r+`/items/${t.id}/restore`,{method:"post",query:s})}toJSON(){throw new o.A("internal:not-yet-implemented","PortalUser.toJSON is not yet implemented")}static fromJSON(t){if(!t)return null;if(t.declaredClass)throw new Error("JSON object is already hydrated");const e=new p({sourceJSON:t});return e.read(t),e}};(0,s._)([(0,l.MZ)()],h.prototype,"access",void 0),(0,s._)([(0,l.MZ)({type:Date})],h.prototype,"created",void 0),(0,s._)([(0,l.MZ)()],h.prototype,"culture",void 0),(0,s._)([(0,l.MZ)()],h.prototype,"description",void 0),(0,s._)([(0,l.MZ)()],h.prototype,"email",void 0),(0,s._)([(0,l.MZ)()],h.prototype,"favGroupId",void 0),(0,s._)([(0,l.MZ)()],h.prototype,"fullName",void 0),(0,s._)([(0,l.MZ)({type:Date})],h.prototype,"modified",void 0),(0,s._)([(0,l.MZ)()],h.prototype,"orgId",void 0),(0,s._)([(0,l.MZ)()],h.prototype,"portal",void 0),(0,s._)([(0,l.MZ)()],h.prototype,"preferredView",void 0),(0,s._)([(0,l.MZ)()],h.prototype,"privileges",void 0),(0,s._)([(0,l.MZ)()],h.prototype,"region",void 0),(0,s._)([(0,l.MZ)()],h.prototype,"role",void 0),(0,s._)([(0,l.MZ)()],h.prototype,"roleId",void 0),(0,s._)([(0,l.MZ)()],h.prototype,"sourceJSON",void 0),(0,s._)([(0,l.MZ)()],h.prototype,"thumbnail",void 0),(0,s._)([(0,l.MZ)({readOnly:!0})],h.prototype,"thumbnailUrl",null),(0,s._)([(0,l.MZ)()],h.prototype,"units",void 0),(0,s._)([(0,l.MZ)({readOnly:!0})],h.prototype,"userContentUrl",null),(0,s._)([(0,l.MZ)({readOnly:!0})],h.prototype,"url",null),(0,s._)([(0,l.MZ)()],h.prototype,"username",void 0),(0,s._)([(0,l.MZ)()],h.prototype,"userLicenseTypeId",void 0),(0,s._)([(0,l.MZ)()],h.prototype,"userType",void 0),h=p=(0,s._)([(0,a.$)("esri.portal.PortalUser")],h);const c=h},61893:(t,e,r)=>{r.d(e,{A:()=>h});var s,o,i=r(90237),l=r(69622),a=r(74887),n=r(40608);(o=s||(s={}))[o.PENDING=0]="PENDING",o[o.RESOLVED=1]="RESOLVED",o[o.REJECTED=2]="REJECTED";class u{constructor(){this._resolver=(0,a.Tw)(),this._status=s.PENDING,this._resolvingPromises=[],this._resolver.promise.then((()=>{this._status=s.RESOLVED,this._cleanUp()}),(()=>{this._status=s.REJECTED,this._cleanUp()})),this.promise=this._resolver.promise}destroy(){this._cleanUp()}addResolvingPromise(t){this._resolvingPromises.push(t),this._tryResolve()}isResolved(){return this._status===s.RESOLVED}isRejected(){return this._status===s.REJECTED}isFulfilled(){return this._status!==s.PENDING}abort(){this._resolver.reject((0,a.NK)())}_cleanUp(){this._allPromise=null,this._resolvingPromises=null}_tryResolve(){if(this.isFulfilled())return;const t=(0,a.Tw)(),e=[...this._resolvingPromises,t.promise],r=this._allPromise=Promise.all(e);r.then((()=>{this.isFulfilled()||this._allPromise!==r||this._resolver.resolve()}),(t=>{this.isFulfilled()||this._allPromise!==r||(0,a.zf)(t)||this._resolver.reject(t)})),t.resolve()}}const p=t=>{let e=class extends t{constructor(...t){super(...t),this._promiseProps=new u,this.addResolvingPromise(Promise.resolve())}destroy(){this._promiseProps.destroy()}isResolved(){return this._promiseProps.isResolved()}isRejected(){return this._promiseProps.isRejected()}isFulfilled(){return this._promiseProps.isFulfilled()}when(t,e){return this._promiseProps.promise.then((()=>this)).then(t,e)}catch(t){return this.when(null,t)}addResolvingPromise(t){t&&!this._promiseProps.isFulfilled()&&this._promiseProps.addResolvingPromise("_promiseProps"in t?t.when():t)}};return e=(0,i._)([(0,n.$)("esri.core.Promise")],e),e};let d=class extends(p(l.A)){};d=(0,i._)([(0,n.$)("esri.core.Promise")],d),function(t){t.EsriPromiseMixin=p}(d||(d={}));const h=d},92474:(t,e,r)=>{r.d(e,{A:()=>m});var s=r(90237),o=r(49186),i=r(97768),l=r(61893),a=r(74887),n=r(67076),u=r(10107),p=r(40608);const d="loaded",h=t=>{let e=class extends t{constructor(...t){super(...t),this._loadController=null,this.loadError=null,this.loadStatus="not-loaded",this._set("loadWarnings",[]),this.addResolvingPromise(new Promise((t=>{const e=this.load.bind(this);this.load=r=>{const s=new Promise(((t,e)=>{const s=(0,a.NY)(r,e);this.destroyed&&e(new o.A("load:instance-destroyed",`Instance of '${this.declaredClass||this.constructor.name}' is already destroyed`,{instance:this})),this.when(t,e).finally((()=>{s&&s.remove()}))}));if("not-loaded"===this.loadStatus){this._set("loadStatus","loading");const t=this._loadController=new AbortController;e({signal:t.signal})}return t(),s}}))),this.when((()=>{this._set("loadStatus",d),this._loadController=null}),(t=>{this._set("loadStatus","failed"),this._set("loadError",t),this._loadController=null}))}destroy(){this._loadController&&(this._loadController=(0,i.DC)(this._loadController),this._promiseProps.abort()),this._set("loadError",null),this._set("loadWarnings",[])}get loaded(){return this.loadStatus===d}get loadWarnings(){return this._get("loadWarnings")}load(){return null}cancelLoad(){return this.isFulfilled()||(this._set("loadError",new o.A("load:cancelled","Cancelled")),this._loadController?.abort(),this._promiseProps.abort()),this}};return(0,s._)([(0,u.MZ)({readOnly:!0})],e.prototype,"loaded",null),(0,s._)([(0,u.MZ)({readOnly:!0})],e.prototype,"loadError",void 0),(0,s._)([(0,u.MZ)({clonable:!1})],e.prototype,"loadStatus",void 0),(0,s._)([(0,u.MZ)({type:[n.A],readOnly:!0})],e.prototype,"loadWarnings",null),e=(0,s._)([(0,p.$)("esri.core.Loadable")],e),e};let c=class extends(h(l.A)){};var y;c=(0,s._)([(0,p.$)("esri.core.Loadable")],c),(y=c||(c={})).LoadableMixin=h,y.isLoadable=function(t){return!(!t||!t.load)};const m=c},96360:(t,e,r)=>{r.d(e,{A:()=>h});var s,o=r(90237),i=r(49186),l=r(25482),a=r(10107),n=r(56507),u=(r(44208),r(87811),r(40608)),p=r(16405);let d=s=class extends l.A{constructor(t){super(t),this.access=null,this.created=null,this.description=null,this.id=null,this.isInvitationOnly=!1,this.modified=null,this.owner=null,this.portal=null,this.snippet=null,this.sortField=null,this.sortOrder=null,this.sourceJSON=null,this.tags=null,this.title=null}get thumbnailUrl(){const t=this.url,e=this.thumbnail;return t&&e&&this.portal?this.portal?.normalizeUrl(`${t}/info/${e}?f=json`):null}get url(){const t=this.portal?.restUrl;return t?t+"/community/groups/"+this.id:null}fetchCategorySchema(t){return this.portal.request(this.url+"/categorySchema",t).then((e=>{const r=e.categorySchema||[];return r.some((t=>"contentCategorySetsGroupQuery.LivingAtlas"===t.source))?this._fetchCategorySchemaSet("LivingAtlas",t):r}))}fetchMembers(t){return this.portal.request(this.url+"/users",t)}getThumbnailUrl(t){let e=this.thumbnailUrl;return e&&t&&(e+=`&w=${t}`),e}toJSON(){throw new i.A("internal:not-yet-implemented","PortalGroup.toJSON is not yet implemented")}static fromJSON(t){if(!t)return null;if(t.declaredClass)throw new Error("JSON object is already hydrated");const e=new s({sourceJSON:t});return e.read(t),e}queryItems(t,e){let r=(0,n.dp)(p.A,t);const s=this.portal;return parseFloat(s.currentVersion)>5?(r=r||new p.A,s.queryPortal(`/content/groups/${this.id}/search`,r,"PortalItem",e)):(r=r?r.clone():new p.A,r.query="group:"+this.id+(r.query?" "+r.query:""),s.queryItems(r,e))}_fetchCategorySchemaSet(t,e){const r=this.portal;return r.fetchSelf(r.authMode,!0,e).then((t=>{const s=t.contentCategorySetsGroupQuery;if(s){const t=new p.A({disableExtraQuery:!0,num:1,query:s});return r.queryGroups(t,e)}throw new i.A("portal-group:fetchCategorySchema","contentCategorySetsGroupQuery value not found")})).then((r=>{if(r.total){const s=r.results[0],o=new p.A({num:1,query:`typekeywords:"${t}"`});return s.queryItems(o,e)}throw new i.A("portal-group:fetchCategorySchema","contentCategorySetsGroupQuery group not found")})).then((t=>t.total?t.results[0].fetchData("json",e).then((t=>{const e=t?.categorySchema;return e?.length?e:[]})):[]))}};(0,o._)([(0,a.MZ)()],d.prototype,"access",void 0),(0,o._)([(0,a.MZ)({type:Date})],d.prototype,"created",void 0),(0,o._)([(0,a.MZ)()],d.prototype,"description",void 0),(0,o._)([(0,a.MZ)()],d.prototype,"id",void 0),(0,o._)([(0,a.MZ)()],d.prototype,"isInvitationOnly",void 0),(0,o._)([(0,a.MZ)({type:Date})],d.prototype,"modified",void 0),(0,o._)([(0,a.MZ)()],d.prototype,"owner",void 0),(0,o._)([(0,a.MZ)()],d.prototype,"portal",void 0),(0,o._)([(0,a.MZ)()],d.prototype,"snippet",void 0),(0,o._)([(0,a.MZ)()],d.prototype,"sortField",void 0),(0,o._)([(0,a.MZ)()],d.prototype,"sortOrder",void 0),(0,o._)([(0,a.MZ)()],d.prototype,"sourceJSON",void 0),(0,o._)([(0,a.MZ)()],d.prototype,"tags",void 0),(0,o._)([(0,a.MZ)()],d.prototype,"thumbnail",void 0),(0,o._)([(0,a.MZ)({readOnly:!0})],d.prototype,"thumbnailUrl",null),(0,o._)([(0,a.MZ)()],d.prototype,"title",void 0),(0,o._)([(0,a.MZ)({readOnly:!0})],d.prototype,"url",null),d=s=(0,o._)([(0,u.$)("esri.portal.PortalGroup")],d);const h=d}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1053,3656],{3209:(e,n,t)=>{t.d(n,{A:()=>C,B:()=>V,C:()=>j,D:()=>E,E:()=>H,F:()=>I,G:()=>k,H:()=>_,I:()=>q,J:()=>B,K:()=>P,L:()=>M,M:()=>O,N:()=>F,a:()=>u,b:()=>f,c:()=>c,d:()=>l,e:()=>o,f:()=>a,g:()=>J,h:()=>s,i:()=>g,j:()=>G,k:()=>m,l:()=>b,m:()=>x,n:()=>D,o:()=>h,p:()=>R,q:()=>v,r:()=>y,s:()=>w,t:()=>d,u:()=>S,v:()=>T,w:()=>p,x:()=>A,y:()=>L,z:()=>z});var r=t(49930),i=t(7320);function o(e){return r.G.extendedSpatialReferenceInfo(e)}function c(e,n,t){return r.G.clip(i.g,e,n,t)}function u(e,n,t){return r.G.cut(i.g,e,n,t)}function f(e,n,t){return r.G.contains(i.g,e,n,t)}function l(e,n,t){return r.G.crosses(i.g,e,n,t)}function a(e,n,t,o){return r.G.distance(i.g,e,n,t,o)}function s(e,n,t){return r.G.equals(i.g,e,n,t)}function g(e,n,t){return r.G.intersects(i.g,e,n,t)}function d(e,n,t){return r.G.touches(i.g,e,n,t)}function p(e,n,t){return r.G.within(i.g,e,n,t)}function G(e,n,t){return r.G.disjoint(i.g,e,n,t)}function h(e,n,t){return r.G.overlaps(i.g,e,n,t)}function y(e,n,t,o){return r.G.relate(i.g,e,n,t,o)}function m(e,n){return r.G.isSimple(i.g,e,n)}function w(e,n){return r.G.simplify(i.g,e,n)}function b(e,n,t=!1){return r.G.convexHull(i.g,e,n,t)}function x(e,n,t){return r.G.difference(i.g,e,n,t)}function D(e,n,t){return r.G.symmetricDifference(i.g,e,n,t)}function R(e,n,t){return r.G.intersect(i.g,e,n,t)}function S(e,n,t=null){return r.G.union(i.g,e,n,t)}function v(e,n,t,o,c,u,f){return r.G.offset(i.g,e,n,t,o,c,u,f)}function T(e,n,t,o,c=!1){return r.G.buffer(i.g,e,n,t,o,c)}function A(e,n,t,o,c,u,f){return r.G.geodesicBuffer(i.g,e,n,t,o,c,u,f)}function L(e,n,t,o=!0){return r.G.nearestCoordinate(i.g,e,n,t,o)}function z(e,n,t){return r.G.nearestVertex(i.g,e,n,t)}function C(e,n,t,o,c){return r.G.nearestVertices(i.g,e,n,t,o,c)}function V(e,n,t,i){if(null==n||null==i)throw new Error("Illegal Argument Exception");const o=r.G.rotate(n,t,i);return o.spatialReference=e,o}function j(e,n,t){if(null==n||null==t)throw new Error("Illegal Argument Exception");const i=r.G.flipHorizontal(n,t);return i.spatialReference=e,i}function E(e,n,t){if(null==n||null==t)throw new Error("Illegal Argument Exception");const i=r.G.flipVertical(n,t);return i.spatialReference=e,i}function H(e,n,t,o,c){return r.G.generalize(i.g,e,n,t,o,c)}function I(e,n,t,o){return r.G.densify(i.g,e,n,t,o)}function k(e,n,t,o,c=0){return r.G.geodesicDensify(i.g,e,n,t,o,c)}function _(e,n,t){return r.G.planarArea(i.g,e,n,t)}function q(e,n,t){return r.G.planarLength(i.g,e,n,t)}function B(e,n,t,o){return r.G.geodesicArea(i.g,e,n,t,o)}function P(e,n,t,o){return r.G.geodesicLength(i.g,e,n,t,o)}function M(e,n,t){return null==n||null==t?[]:r.G.intersectLinesToPoints(i.g,e,n,t)}function O(e,n){r.G.changeDefaultSpatialReferenceTolerance(e,n)}function F(e){r.G.clearDefaultSpatialReferenceTolerance(e)}const J=Object.freeze(Object.defineProperty({__proto__:null,buffer:T,changeDefaultSpatialReferenceTolerance:O,clearDefaultSpatialReferenceTolerance:F,clip:c,contains:f,convexHull:b,crosses:l,cut:u,densify:I,difference:x,disjoint:G,distance:a,equals:s,extendedSpatialReferenceInfo:o,flipHorizontal:j,flipVertical:E,generalize:H,geodesicArea:B,geodesicBuffer:A,geodesicDensify:k,geodesicLength:P,intersect:R,intersectLinesToPoints:M,intersects:g,isSimple:m,nearestCoordinate:L,nearestVertex:z,nearestVertices:C,offset:v,overlaps:h,planarArea:_,planarLength:q,relate:y,rotate:V,simplify:w,symmetricDifference:D,touches:d,union:S,within:p},Symbol.toStringTag,{value:"Module"}))},11053:(e,n,t)=>{t.d(n,{c:()=>r,g:()=>i});var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}},47559:(e,n,t)=>{t.r(n),t.d(n,{buffer:()=>r.v,changeDefaultSpatialReferenceTolerance:()=>r.M,clearDefaultSpatialReferenceTolerance:()=>r.N,clip:()=>r.c,contains:()=>r.b,convexHull:()=>r.l,crosses:()=>r.d,cut:()=>r.a,densify:()=>r.F,difference:()=>r.m,disjoint:()=>r.j,distance:()=>r.f,equals:()=>r.h,extendedSpatialReferenceInfo:()=>r.e,flipHorizontal:()=>r.C,flipVertical:()=>r.D,generalize:()=>r.E,geodesicArea:()=>r.J,geodesicBuffer:()=>r.x,geodesicDensify:()=>r.G,geodesicLength:()=>r.K,intersect:()=>r.p,intersectLinesToPoints:()=>r.L,intersects:()=>r.i,isSimple:()=>r.k,nearestCoordinate:()=>r.y,nearestVertex:()=>r.z,nearestVertices:()=>r.A,offset:()=>r.q,overlaps:()=>r.o,planarArea:()=>r.H,planarLength:()=>r.I,relate:()=>r.r,rotate:()=>r.B,simplify:()=>r.s,symmetricDifference:()=>r.n,touches:()=>r.t,union:()=>r.u,within:()=>r.w}),t(49930),t(7320);var r=t(3209)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[934],{50934:(e,t,n)=>{n.r(t),n.d(t,{registerFunctions:()=>le});var i,r=n(52106),o=n(66131),a=n(47609),s=n(66395),l=n(85935),c=n(93833),d=n(40334),u=n(93818),f=n(78878),m=n(80672),p=n(68423),y=n(35704),w=n(86691),I=n(54461),g=n(85978),h=n(30235),T=n(87594),D=n(33325),F=n(80609),b=n(334),A=n(74887),N=n(88368),v=n(13600),E=n(20437),S=n(20655),$=n(78888),k=n(51447),x=n(53966),C=n(66552);!function(e){e[e.RTJunctionJunctionConnectivity=1]="RTJunctionJunctionConnectivity",e[e.RTContainment=2]="RTContainment",e[e.RTAttachment=3]="RTAttachment",e[e.RTJunctionEdgeConnectivity=4]="RTJunctionEdgeConnectivity",e[e.RTEdgeJunctionEdgeConnectivity=5]="RTEdgeJunctionEdgeConnectivity"}(i||(i={})),new C.J({connected:"connected",upstream:"upstream",downstream:"downstream",shortestPath:"shortest-path",subnetwork:"subnetwork",subnetworkController:"subnetwork-controller",loops:"loops",isolation:"isolation"});const Z=new C.J({junctionJunctionConnectivity:"junction-junction-connectivity",connectivity:"connectivity",attachment:"attachment",containment:"containment",junctionEdgeFromConnectivity:"junction-edge-from-connectivity",junctionEdgeMidspanConnectivity:"junction-edge-midspan-connectivity",junctionEdgeToConnectivity:"junction-edge-to-connectivity"});new C.J({normal:"normal",rebuild:"rebuild",forceRebuild:"force-rebuild"});var j=n(2272),L=n(90237),M=n(25482),P=n(10107),R=(n(44208),n(87811),n(40608)),X=n(36005),_=n(43937),U=n(82799);let O=class extends M.A{constructor(e){super(e),this.assetGroupCode=null,this.assetTypeCode=null,this.globalId=null,this.networkSourceId=null,this.objectId=null,this.positionFrom=null,this.positionTo=null,this.terminalId=null}};(0,L._)([(0,P.MZ)({type:Number,json:{write:!0}})],O.prototype,"assetGroupCode",void 0),(0,L._)([(0,P.MZ)({type:Number,json:{write:!0}})],O.prototype,"assetTypeCode",void 0),(0,L._)([(0,P.MZ)({type:String,json:{write:!0}})],O.prototype,"globalId",void 0),(0,L._)([(0,P.MZ)({type:Number,json:{write:!0}})],O.prototype,"networkSourceId",void 0),(0,L._)([(0,P.MZ)({type:Number,json:{write:!0}})],O.prototype,"objectId",void 0),(0,L._)([(0,P.MZ)({type:Number,json:{write:!0}})],O.prototype,"positionFrom",void 0),(0,L._)([(0,P.MZ)({type:Number,json:{write:!0}})],O.prototype,"positionTo",void 0),(0,L._)([(0,P.MZ)({type:Number,json:{write:!0}})],O.prototype,"terminalId",void 0),O=(0,L._)([(0,R.$)("esri.rest.networks.support.NetworkElement")],O);const K=O;let G=class extends M.A{constructor(e){super(e),this.globalId=null,this.associationType=null,this.fromNetworkElement=null,this.toNetworkElement=null,this.geometry=null,this.errorMessage=null,this.percentAlong=null,this.errorCode=null,this.isContentVisible=null,this.status=null}readFromNetworkElement(e,t){return new K({globalId:t.fromGlobalId,networkSourceId:t.fromNetworkSourceId,terminalId:t.fromTerminalId})}writeFromNetworkElement(e,t){e&&(t.fromGlobalId=e.globalId,t.fromNetworkSourceId=e.networkSourceId,t.fromTerminalId=e.terminalId)}readToNetworkElement(e,t){return new K({globalId:t.toGlobalId,networkSourceId:t.toNetworkSourceId,terminalId:t.toTerminalId})}writeToNetworkElement(e,t){e&&(t.toGlobalId=e.globalId,t.toNetworkSourceId=e.networkSourceId,t.toTerminalId=e.terminalId)}};(0,L._)([(0,P.MZ)({type:String,json:{write:!0}})],G.prototype,"globalId",void 0),(0,L._)([(0,P.MZ)({type:Z.apiValues,json:{type:Z.jsonValues,read:Z.read,write:Z.write}})],G.prototype,"associationType",void 0),(0,L._)([(0,P.MZ)({type:K,json:{write:{target:{fromGlobalId:{type:String},fromNetworkSourceId:{type:Number},fromTerminalId:{type:Number}}},read:{source:["fromGlobalId","fromNetworkSourceId","fromTerminalId"]}}})],G.prototype,"fromNetworkElement",void 0),(0,L._)([(0,X.w)("fromNetworkElement")],G.prototype,"readFromNetworkElement",null),(0,L._)([(0,_.K)("fromNetworkElement")],G.prototype,"writeFromNetworkElement",null),(0,L._)([(0,P.MZ)({type:K,json:{write:{target:{toGlobalId:{type:String},toNetworkSourceId:{type:Number},toTerminalId:{type:Number}}},read:{source:["toGlobalId","toNetworkSourceId","toTerminalId"]}}})],G.prototype,"toNetworkElement",void 0),(0,L._)([(0,X.w)("toNetworkElement")],G.prototype,"readToNetworkElement",null),(0,L._)([(0,_.K)("toNetworkElement")],G.prototype,"writeToNetworkElement",null),(0,L._)([(0,P.MZ)({type:U.A,json:{write:!0}})],G.prototype,"geometry",void 0),(0,L._)([(0,P.MZ)({type:String,json:{write:!0}})],G.prototype,"errorMessage",void 0),(0,L._)([(0,P.MZ)({type:Number,json:{write:!0}})],G.prototype,"percentAlong",void 0),(0,L._)([(0,P.MZ)({type:Number,json:{write:!0}})],G.prototype,"errorCode",void 0),(0,L._)([(0,P.MZ)({type:Boolean,json:{write:!0}})],G.prototype,"isContentVisible",void 0),(0,L._)([(0,P.MZ)({type:Number,json:{write:!0}})],G.prototype,"status",void 0),G=(0,L._)([(0,R.$)("esri.rest.networks.support.Association")],G);const V=G;let J=class extends M.A{constructor(e){super(e),this.associations=[]}};(0,L._)([(0,P.MZ)({type:[V],json:{write:!0}})],J.prototype,"associations",void 0),J=(0,L._)([(0,R.$)("esri.rest.networks.support.QueryAssociationsResult")],J);const z=J;function H(e){const{returnDeletes:t,elements:n,gdbVersion:i,moment:r}=e.toJSON();return{returnDeletes:t,elements:JSON.stringify(n.map((e=>({globalId:e.globalId,networkSourceId:e.networkSourceId,terminalId:e.terminalId})))),types:JSON.stringify(e.types.map((e=>Z.toJSON(e)))).replaceAll('"connectivity"','"junctionJunctionConnectivity"'),gdbVersion:i,moment:r}}async function W(e,t,n){const i=(0,j.Dl)(e),r={...H(t),f:"json"},o=(0,j.lF)({...i.query,...r}),a=(0,j.jV)(o,{...n,method:"post"}),s=`${i.path}/associations/query`,{data:l}=await(0,$.A)(s,a),c=z.fromJSON(l);return t.types.includes("connectivity")&&(0,k.Lx)(x.A.getLogger("esri/rest/networks/support/QueryAssociationsParameters"),"types",{replacement:"Please use 'junction-junction-connectivity' instead of 'connectivity'.",see:"https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-networks-support-QueryAssociationsParameters.html#types",version:"4.29",warnOnce:!0}),c}var B,Q=n(56507);let q=B=class extends M.A{static from(e){return(0,Q.PZ)(B,e)}constructor(e){super(e),this.returnDeletes=!1,this.elements=[],this.types=[],this.gdbVersion=null,this.moment=null}};(0,L._)([(0,P.MZ)({type:Boolean,json:{write:!0}})],q.prototype,"returnDeletes",void 0),(0,L._)([(0,P.MZ)({type:[K],json:{write:!0}})],q.prototype,"elements",void 0),(0,L._)([(0,P.MZ)({type:[Z.apiValues],json:{type:Z.jsonValues,read:Z.read,write:Z.write}})],q.prototype,"types",void 0),(0,L._)([(0,P.MZ)({type:String,json:{write:!0}})],q.prototype,"gdbVersion",void 0),(0,L._)([(0,P.MZ)({type:Date,json:{type:Number,write:{writer:(e,t)=>{t.moment=e?.getTime()}}}})],q.prototype,"moment",void 0),q=B=(0,L._)([(0,R.$)("esri.rest.networks.support.QueryAssociationsParameters")],q);const Y=q;var ee=n(54218);function te(e,t,n){const i=e.getVariables();if(i.length>0){const r={};for(const e of i)r[e]=t.evaluateIdentifier(n,{name:e});e.parameters=r}return e}function ne(e,t,n=null){for(const n in e)if(n.toLowerCase()===t.toLowerCase())return e[n];return n}function ie(e){if(null===e)return null;const t={type:ne(e,"type",""),name:ne(e,"name","")};if("range"===t.type)t.range=ne(e,"range",[]);else{t.codedValues=[];for(const n of ne(e,"codedValues",[]))t.codedValues.push({name:ne(n,"name",""),code:ne(n,"code",null)})}return t}function re(e){if(null===e)return null;const t={},n=ne(e,"wkt");null!==n&&(t.wkt=n);const i=ne(e,"wkid");return null!==i&&(t.wkid=i),t}function oe(e){if(null===e)return null;const t={hasZ:ne(e,"hasz",!1),hasM:ne(e,"hasm",!1)},n=ne(e,"spatialreference");null!=n&&(t.spatialReference=re(n));const i=ne(e,"x",null);if(null!==i)return t.x=i,t.y=ne(e,"y",null),t.hasZ&&(t.z=ne(e,"z",null)),t.hasM&&(t.m=ne(e,"m",null)),t;const r=ne(e,"rings",null);if(null!==r)return t.rings=r,t;const o=ne(e,"paths",null);if(null!==o)return t.paths=o,t;const a=ne(e,"points",null);if(null!==a)return t.points=a,t;for(const n of["xmin","xmax","ymin","ymax","zmin","zmax","mmin","mmax"]){const i=ne(e,n,null);null!==i&&(t[n]=i)}return t}function ae(e){return"utc"===e?.toLowerCase()?"UTC":"unknown"===e?.toLowerCase()?"Unknown":e}async function se(e,t,n,i,o,a,s){const c=await e.getFeatureSetInfo();if(null===(c?.layerId??null))return null;if(!o.layerIdLookup.get(c.layerId))return null;const u=e.serviceUrl().replace(/\/FeatureServer/i,"/UtilityNetworkServer"),f=[];switch(n){case"connected":f.push("connectivity"),f.push("junction-edge-from-connectivity"),f.push("junction-edge-to-connectivity"),f.push("junction-edge-midspan-connectivity"),f.push("junction-junction-connectivity");break;case"container":case"content":f.push("containment");break;case"structure":case"attached":f.push("attachment");break;case"junctionedge":f.push("junction-edge-from-connectivity"),f.push("junction-edge-to-connectivity");break;case"midspan":f.push("junction-edge-midspan-connectivity");break;default:throw new l.D$(a,l.TX.InvalidParameter,s)}let m=null,p=!1;if(null!==i&&""!==i&&void 0!==i){for(const e of o.terminals)e.terminalName===i&&(m=e.terminalId);null===m&&(p=!0)}const y=[];if(!p){const i=new K({globalId:t.field(e.globalIdField),networkSourceId:o.layerIdLookup.get(c.layerId).sourceId,...m?{terminalId:m}:""}),a=await W(u,new Y({types:f,elements:[i]}));let s=0;for(const e of a.associations){let t=null,a="",l="";if(e.fromNetworkElement?.globalId===i.globalId?(t=e.toNetworkElement,l="to"):e.toNetworkElement?.globalId===i.globalId&&(t=e.fromNetworkElement,l="from"),!t)continue;switch(n){case"attached":if("attachment"!==e.associationType)continue;if("to"!==l)continue;break;case"structure":if("attachment"!==e.associationType)continue;if("from"!==l)continue;break;case"container":if("containment"!==e.associationType)continue;if("from"!==l)continue;break;case"content":if("containment"!==e.associationType)continue;if("to"!==l)continue;break;case"connected":break;case"junctionedge":"junction-edge-to-connectivity"===e.associationType?a="to":"junction-edge-from-connectivity"===e.associationType&&(a="from");break;case"midspan":if("junction-edge-midspan-connectivity"!==e.associationType)continue}const c=o.sourceIdLookup.get(t.networkSourceId)?.className??"";y.push(new r.A({geometry:null,attributes:{objectId:s++,globalId:t.globalId,percentAlong:e.percentAlong??0,isContentVisible:e.isContentVisible?0:1,className:c,side:a}}))}}const w=new v.default({source:y,geometryType:null,objectIdField:"objectId",globalIdField:"globalId",fields:[new E.A({name:"objectId",alias:"objectId",type:"oid"}),new E.A({name:"globalId",alias:"globalId",type:"global-id"}),new E.A({name:"percentAlong",alias:"percentAlong",type:"double"}),new E.A({name:"side",alias:"side",type:"string"}),new E.A({name:"isContentVisible",alias:"isContentVisible",type:"integer"}),new E.A({name:"className",alias:"className",type:"string"})]});return(0,d.constructFeatureSet)(w)}function le(e){"async"===e.mode&&(e.functions.timezone=function(t,n){return e.standardFunctionAsync(t,n,(async(e,i,r)=>{if((0,f.D)(r,1,2,t,n),(0,f.k)(r[0]))return"Unknown";if((0,f.j)(r[0]))return"Unknown";if((0,f.p)(r[0])){if(await r[0].load(),1===r.length||null===r[1])return r[0].datesInUnknownTimezone?ae("unknown"):ae(r[0].dateFieldsTimeZone);if(!(r[1]instanceof s.A)||!1===r[1].hasField("type"))throw new l.D$(t,l.TX.InvalidParameter,n);const e=r[1].field("type");if(!1===(0,ee.Kg)(e))throw new l.D$(t,l.TX.InvalidParameter,n);switch((0,f.f)(e).toLowerCase()){case"preferredtimezone":return ae(r[0].preferredTimeZone);case"editfieldsinfo":return ae(r[0].editFieldsInfo?.timeZone??null);case"timeinfo":return ae(r[0].timeInfo?.timeZone??null);case"field":if(r[1].hasField("fieldname")&&(0,ee.Kg)(r[1].field("fieldname")))return ae(r[0].fieldTimeZone((0,f.f)(r[1].field("fieldname"))))}throw new l.D$(t,l.TX.InvalidParameter,n)}const a=(0,f.h)(r[0],(0,f.L)(t));if(null===a)return null;const c=a.timeZone;return"system"===c?o.lY.systemTimeZoneCanonicalName:"utc"===c.toLowerCase()?"UTC":"unknown"===c.toLowerCase()?"Unknown":c}))},e.functions.sqltimestamp=function(t,n){return e.standardFunctionAsync(t,n,(async(e,i,r)=>{(0,f.D)(r,1,3,t,n);const o=r[0];if((0,f.g)(o)){if(1===r.length)return o.toSQLWithKeyword();if(2===r.length)return o.changeTimeZone((0,f.f)(r[1])).toSQLWithKeyword();throw new l.D$(t,l.TX.InvalidParameter,n)}if((0,f.j)(o))return o.toSQLWithKeyword();if((0,f.p)(o)){if(3!==r.length)throw new l.D$(t,l.TX.InvalidParameter,n);await o.load();const e=(0,f.f)(r[1]);if((0,f.j)(r[2]))return r[2].toSQLWithKeyword();if(!1===(0,f.g)(r[2]))throw new l.D$(t,l.TX.InvalidParameter,n);const i=o.fieldTimeZone(e);return null==i?r[2].toSQLWithKeyword():r[2].changeTimeZone(i).toSQLWithKeyword()}throw new l.D$(t,l.TX.InvalidParameter,n)}))},e.signatures.push({name:"sqltimestamp",min:2,max:4}),e.functions.featuresetbyid=function(t,n){return e.standardFunctionAsync(t,n,((e,i,r)=>{if((0,f.D)(r,2,4,t,n),(0,f.o)(r[0])){const e=(0,f.f)(r[1]);let i=(0,f.K)(r[2],null);const o=(0,f.e)((0,f.K)(r[3],!0));if(null===i&&(i=["*"]),!1===(0,ee.cy)(i))throw new l.D$(t,l.TX.InvalidParameter,n);return r[0].featureSetById(e,o,i)}throw new l.D$(t,l.TX.InvalidParameter,n)}))},e.signatures.push({name:"featuresetbyid",min:2,max:4}),e.functions.getfeatureset=function(t,n){return e.standardFunctionAsync(t,n,(async(e,i,r)=>{if((0,f.D)(r,1,2,t,n),(0,f.n)(r[0])){let e=(0,f.K)(r[1],"datasource");return null===e&&(e="datasource"),e=(0,f.f)(e).toLowerCase(),(0,d.convertToFeatureSet)(r[0].fullSchema(),e,t.lrucache,t.interceptor,t.spatialReference)}throw new l.D$(t,l.TX.InvalidParameter,n)}))},e.signatures.push({name:"getfeatureset",min:1,max:2}),e.functions.featuresetbyportalitem=function(t,n){return e.standardFunctionAsync(t,n,((e,i,r)=>{if((0,f.D)(r,2,5,t,n),null===r[0])throw new l.D$(t,l.TX.PortalRequired,n);if(r[0]instanceof a.A){const e=(0,f.f)(r[1]),i=(0,f.f)(r[2]);let o=(0,f.K)(r[3],null);const a=(0,f.e)((0,f.K)(r[4],!0));if(null===o&&(o=["*"]),!1===(0,ee.cy)(o))throw new l.D$(t,l.TX.InvalidParameter,n);let s;return s=t.services?.portal?t.services.portal:S.A.getDefault(),s=(0,m.R)(r[0],s),(0,d.constructFeatureSetFromPortalItem)(e,i,t.spatialReference,o,a,s,t.lrucache,t.interceptor)}if(!1===(0,ee.Kg)(r[0]))throw new l.D$(t,l.TX.PortalRequired,n);const o=(0,f.f)(r[0]),s=(0,f.f)(r[1]);let c=(0,f.K)(r[2],null);const u=(0,f.e)((0,f.K)(r[3],!0));if(null===c&&(c=["*"]),!1===(0,ee.cy)(c))throw new l.D$(t,l.TX.InvalidParameter,n);return(0,d.constructFeatureSetFromPortalItem)(o,s,t.spatialReference,c,u,t.services?.portal??S.A.getDefault(),t.lrucache,t.interceptor)}))},e.signatures.push({name:"featuresetbyportalitem",min:2,max:5}),e.functions.featuresetbyname=function(t,n){return e.standardFunctionAsync(t,n,((e,i,r)=>{if((0,f.D)(r,2,4,t,n),(0,f.o)(r[0])){const e=(0,f.f)(r[1]);let i=(0,f.K)(r[2],null);const o=(0,f.e)((0,f.K)(r[3],!0));if(null===i&&(i=["*"]),!1===(0,ee.cy)(i))throw new l.D$(t,l.TX.InvalidParameter,n);return r[0].featureSetByName(e,o,i)}throw new l.D$(t,l.TX.InvalidParameter,n)}))},e.signatures.push({name:"featuresetbyname",min:2,max:4}),e.functions.featureset=function(t,n){return e.standardFunction(t,n,((e,i,r)=>{(0,f.D)(r,1,1,t,n);const o={layerDefinition:{geometryType:"",objectIdField:"",globalIdField:"",typeIdField:"",hasM:!1,hasZ:!1,fields:[]},featureSet:{geometryType:"",features:[]}};if((0,ee.Kg)(r[0])){const e=JSON.parse(r[0]);void 0!==e.layerDefinition?(o.layerDefinition=e.layerDefinition,o.featureSet=e.featureSet,e.layerDefinition.spatialReference&&(o.layerDefinition.spatialReference=e.layerDefinition.spatialReference)):(o.featureSet.features=e.features,o.featureSet.geometryType=e.geometryType,o.layerDefinition.geometryType=o.featureSet.geometryType,o.layerDefinition.objectIdField=e.objectIdFieldName??"",o.layerDefinition.typeIdField=e.typeIdFieldName,o.layerDefinition.globalIdField=e.globalIdFieldName,o.layerDefinition.fields=e.fields,e.spatialReference&&(o.layerDefinition.spatialReference=e.spatialReference))}else{if(!(r[0]instanceof s.A))throw new l.D$(t,l.TX.InvalidParameter,n);{const e=JSON.parse(r[0].castToText(!0)),i=ne(e,"layerdefinition");if(null!==i){o.layerDefinition.geometryType=ne(i,"geometrytype",""),o.featureSet.geometryType=o.layerDefinition.geometryType,o.layerDefinition.globalIdField=ne(i,"globalidfield",""),o.layerDefinition.objectIdField=ne(i,"objectidfield",""),o.layerDefinition.typeIdField=ne(i,"typeidfield",""),o.layerDefinition.hasZ=!0===ne(i,"hasz",!1),o.layerDefinition.hasM=!0===ne(i,"hasm",!1);const t=ne(i,"spatialreference");t&&(o.layerDefinition.spatialReference=re(t));const n=[];for(const e of ne(i,"fields",[])){const t={name:ne(e,"name",""),alias:ne(e,"alias",""),type:ne(e,"type",""),nullable:ne(e,"nullable",!0),editable:ne(e,"editable",!0),length:ne(e,"length",null),domain:ie(ne(e,"domain"))};n.push(t)}o.layerDefinition.fields=n;const r=ne(e,"featureset");if(r){const e={};for(const t of n)e[t.name.toLowerCase()]=t.name;for(const t of ne(r,"features",[])){const n={},i=ne(t,"attributes",{});for(const t in i)n[e[t.toLowerCase()]]=i[t];o.featureSet.features.push({attributes:n,geometry:oe(ne(t,"geometry"))})}}}else{o.layerDefinition.hasZ=!0===ne(e,"hasz",!1),o.layerDefinition.hasM=!0===ne(e,"hasm",!1),o.layerDefinition.geometryType=ne(e,"geometrytype",""),o.featureSet.geometryType=o.layerDefinition.geometryType,o.layerDefinition.objectIdField=ne(e,"objectidfieldname",""),o.layerDefinition.typeIdField=ne(e,"typeidfieldname","");const i=ne(e,"spatialreference");i&&(o.layerDefinition.spatialReference=re(i));const r=[],a=ne(e,"fields",null);if(!(0,ee.cy)(a))throw new l.D$(t,l.TX.InvalidParameter,n);for(const e of a){const t={name:ne(e,"name",""),alias:ne(e,"alias",""),type:ne(e,"type",""),nullable:ne(e,"nullable",!0),editable:ne(e,"editable",!0),length:ne(e,"length",null),domain:ie(ne(e,"domain"))};r.push(t)}o.layerDefinition.fields=r;const s={};for(const e of r)s[e.name.toLowerCase()]=e.name;let c=ne(e,"features",null);if((0,ee.cy)(c))for(const e of c){const t={},n=ne(e,"attributes",{});for(const e in n)t[s[e.toLowerCase()]]=n[e];o.featureSet.features.push({attributes:t,geometry:oe(ne(e,"geometry",null))})}else c=null,o.featureSet.features=c}}}if(!1===function(e){return!!e.layerDefinition&&!!e.featureSet&&!1!==function(e){for(const t of["",null,"esriGeometryNull","esriGeometryPoint","esriGeometryPolyline","esriGeometryPolygon","esriGeometryMultipoint","esriGeometryEnvelope"])if(t===e)return!0;return!1}(e.layerDefinition.geometryType)&&!1!==(0,ee.cy)(e.layerDefinition.fields)&&!1!==(0,ee.cy)(e.featureSet.features)}(o))throw new l.D$(t,l.TX.InvalidParameter,n);return o.layerDefinition.geometryType||(o.layerDefinition.geometryType="esriGeometryNull"),h.A.create(o,t.spatialReference)}))},e.signatures.push({name:"featureset",min:1,max:1}),e.functions.filter=function(t,n){return e.standardFunctionAsync(t,n,(async(i,r,o)=>{if((0,f.D)(o,2,2,t,n),(0,ee.cy)(o[0])||(0,f.m)(o[0])){const e=[];let i,r=o[0];if(r instanceof u.A&&(r=r.toArray()),!(0,f.i)(o[1]))throw new l.D$(t,l.TX.InvalidParameter,n);i=o[1].createFunction(t);for(const t of r){const n=i(t);(0,A.$X)(n)?!0===await n&&e.push(t):!0===n&&e.push(t)}return e}if((0,f.p)(o[0])){const n=await o[0].load(),i=N.A.create(o[1],{fieldsIndex:n.getFieldsIndex(),timeZone:n.dateFieldsTimeZoneDefaultUTC}),r=i.getVariables();if(r.length>0){const n={};for(const i of r)n[i]=e.evaluateIdentifier(t,{name:i});i.parameters=n}return new y.A({parentfeatureset:o[0],whereclause:i})}throw new l.D$(t,l.TX.InvalidParameter,n)}))},e.signatures.push({name:"filter",min:2,max:2}),e.functions.orderby=function(t,n){return e.standardFunctionAsync(t,n,(async(e,i,r)=>{if((0,f.D)(r,2,2,t,n),(0,f.p)(r[0])){const e=new T.A(r[1]);return new w.A({parentfeatureset:r[0],orderbyclause:e})}throw new l.D$(t,l.TX.InvalidParameter,n)}))},e.signatures.push({name:"orderby",min:2,max:2}),e.functions.top=function(t,n){return e.standardFunctionAsync(t,n,(async(e,i,r)=>{if((0,f.D)(r,2,2,t,n),(0,f.p)(r[0]))return new I.A({parentfeatureset:r[0],topnum:r[1]});if((0,ee.cy)(r[0]))return(0,f.t)(r[1])>=r[0].length?r[0].slice():r[0].slice(0,(0,f.t)(r[1]));if((0,f.m)(r[0]))return(0,f.t)(r[1])>=r[0].length()?r[0].slice():r[0].slice(0,(0,f.t)(r[1]));throw new l.D$(t,l.TX.InvalidParameter,n)}))},e.signatures.push({name:"top",min:2,max:2}),e.functions.first=function(t,n){return e.standardFunctionAsync(t,n,(async(e,i,r)=>{if((0,f.D)(r,1,1,t,n),(0,f.p)(r[0])){const n=await r[0].first(e.abortSignal);if(null!==n){const e=c.A.createFromGraphicLikeObject(n.geometry,n.attributes,r[0],t.timeZone);return e._underlyingGraphic=n,e}return n}return(0,ee.cy)(r[0])?0===r[0].length?null:r[0][0]:(0,f.m)(r[0])?0===r[0].length()?null:r[0].get(0):null}))},e.signatures.push({name:"first",min:1,max:1}),e.functions.attachments=function(t,n){return e.standardFunctionAsync(t,n,(async(e,i,r)=>{(0,f.D)(r,1,2,t,n);const o={minsize:-1,maxsize:-1,types:null,returnMetadata:!1};if(r.length>1)if(r[1]instanceof s.A){if(r[1].hasField("minsize")&&(o.minsize=(0,f.t)(r[1].field("minsize"))),r[1].hasField("metadata")&&(o.returnMetadata=(0,f.e)(r[1].field("metadata"))),r[1].hasField("maxsize")&&(o.maxsize=(0,f.t)(r[1].field("maxsize"))),r[1].hasField("types")){const e=(0,f.M)(r[1].field("types"),!1);e.length>0&&(o.types=e)}}else if(null!==r[1])throw new l.D$(t,l.TX.InvalidParameter,n);if((0,f.n)(r[0])){const e=r[0]._layer;let n;if((0,f.p)(e))n=e;else{if(null==e||!(0,D.eB)(e))return[];n=(0,d.constructFeatureSet)(e,t.spatialReference,["*"],!0,t.lrucache,t.interceptor)}return await n.load(),n.queryAttachments(r[0].field(n.objectIdField),o.minsize,o.maxsize,o.types,o.returnMetadata)}if(null===r[0])return[];throw new l.D$(t,l.TX.InvalidParameter,n)}))},e.signatures.push({name:"attachments",min:1,max:2}),e.functions.featuresetbyrelationshipname=function(t,n){return e.standardFunctionAsync(t,n,(async(e,i,r)=>{(0,f.D)(r,2,4,t,n);const o=r[0],a=(0,f.f)(r[1]);let s=(0,f.K)(r[2],null);const c=(0,f.e)((0,f.K)(r[3],!0));if(null===s&&(s=["*"]),!1===(0,ee.cy)(s))throw new l.D$(t,l.TX.InvalidParameter,n);if(null===r[0])return null;if(!(0,f.n)(r[0]))throw new l.D$(t,l.TX.InvalidParameter,n);const u=o._layer;let m;if((0,f.p)(u))m=u;else{if(null==u||!(0,D.eB)(u))return null;m=(0,d.constructFeatureSet)(u,t.spatialReference,["*"],!0,t.lrucache,t.interceptor)}m=await m.load();const p=m.relationshipMetaData().filter((e=>e.name===a));if(0===p.length)return null;if(void 0!==p[0].relationshipTableId&&null!==p[0].relationshipTableId&&p[0].relationshipTableId>-1)return(0,d.constructFeatureSetFromRelationship)(m,p[0],o.field(m.objectIdField),m.spatialReference,s,c,t.lrucache,t.interceptor);let y=m.serviceUrl();if(!y)return null;y="/"===y.charAt(y.length-1)?y+p[0].relatedTableId.toString():y+"/"+p[0].relatedTableId.toString();const w=await(0,d.constructFeatureSetFromUrl)(y,m.spatialReference,s,c,t.lrucache,t.interceptor);await w.load();let I=w.relationshipMetaData();if(I=I.filter((e=>e.id===p[0].id)),!1===o.hasField(p[0].keyField)||null===o.field(p[0].keyField)){const e=await m.getFeatureByObjectId(o.field(m.objectIdField),[p[0].keyField]);if(e){const t=N.A.create(I[0].keyField+"= @id",{fieldsIndex:w.getFieldsIndex(),timeZone:w.dateFieldsTimeZoneDefaultUTC});return t.parameters={id:e.attributes[p[0].keyField]},w.filter(t)}return new g.A({parentfeatureset:w})}const h=N.A.create(I[0].keyField+"= @id",{fieldsIndex:w.getFieldsIndex(),timeZone:w.dateFieldsTimeZoneDefaultUTC});return h.parameters={id:o.field(p[0].keyField)},w.filter(h)}))},e.signatures.push({name:"featuresetbyrelationshipname",min:2,max:4}),e.functions.featuresetbyassociation=function(t,n){return e.standardFunctionAsync(t,n,(async(e,i,r)=>{(0,f.D)(r,2,3,t,n);const o=r[0],a=(0,f.f)((0,f.K)(r[1],"")).toLowerCase(),s=(0,ee.Kg)(r[2])?(0,f.f)(r[2]):null;if(null===r[0])return null;if(!(0,f.n)(r[0]))throw new l.D$(t,l.TX.InvalidParameter,n);let c=o._layer;if(c instanceof v.default&&(c=(0,d.constructFeatureSet)(c,t.spatialReference,["*"],!0,t.lrucache,t.interceptor)),null===c)return null;if(!1===(0,f.p)(c))return null;await c.load();const u=c.serviceUrl(),m=await(0,d.constructAssociationMetaDataFeatureSetFromUrl)(u,t.spatialReference,!0);if(m.unVersion>=8)return await se(c,o,a,s,m,t,n);const y=m.associations;let w=null,I=null,g=!1;if(null!==s&&""!==s&&void 0!==s){for(const e of m.terminals)e.terminalName===s&&(I=e.terminalId);null===I&&(g=!0)}const h=y.getFieldsIndex(),T=h.get("TOGLOBALID").name,F=h.get("FROMGLOBALID").name,b=h.get("TOTERMINALID").name,A=h.get("FROMTERMINALID").name,S=h.get("FROMNETWORKSOURCEID").name,$=h.get("TONETWORKSOURCEID").name,k=h.get("ASSOCIATIONTYPE").name,x=h.get("ISCONTENTVISIBLE").name,C=h.get("OBJECTID").name;for(const e of c.fields)if("global-id"===e.type){w=o.field(e.name);break}let Z=null,j=new p.Gr(new E.A({name:"percentalong",alias:"percentalong",type:"double"}),N.A.create("0",{fieldsIndex:y.getFieldsIndex(),timeZone:y.dateFieldsTimeZoneDefaultUTC})),L=new p.Gr(new E.A({name:"side",alias:"side",type:"string"}),N.A.create("''",{fieldsIndex:y.getFieldsIndex(),timeZone:y.dateFieldsTimeZoneDefaultUTC}));const M="globalid",P="globalId",R={};for(const e in m.lkp)R[e]=m.lkp[e].sourceId;const X=new p.bV(new E.A({name:"classname",alias:"classname",type:"string"}),null,R);let _="";switch(a){case"midspan":{_=`((${T}='${w}') OR ( ${F}='${w}')) AND (${k} IN (5))`,X.codefield=N.A.create(`CASE WHEN (${T}='${w}') THEN ${S} ELSE ${$} END`,{fieldsIndex:y.getFieldsIndex(),timeZone:y.dateFieldsTimeZoneDefaultUTC});const e=(0,D.ke)(p.a.findField(y.fields,F));e.name=M,e.alias=M,Z=new p.Gr(e,N.A.create(`CASE WHEN (${F}='${w}') THEN ${T} ELSE ${F} END`,{fieldsIndex:y.getFieldsIndex(),timeZone:y.dateFieldsTimeZoneDefaultUTC})),j=m.unVersion>=4?new p.IO(p.a.findField(y.fields,h.get("PERCENTALONG").name)):new p.Gr(new E.A({name:"percentalong",alias:"percentalong",type:"double"}),N.A.create("0",{fieldsIndex:y.getFieldsIndex(),timeZone:y.dateFieldsTimeZoneDefaultUTC}));break}case"junctionedge":{_=`((${T}='${w}') OR ( ${F}='${w}')) AND (${k} IN (4,6))`,X.codefield=N.A.create(`CASE WHEN (${T}='${w}') THEN ${S} ELSE ${$} END`,{fieldsIndex:y.getFieldsIndex(),timeZone:y.dateFieldsTimeZoneDefaultUTC});const e=(0,D.ke)(p.a.findField(y.fields,F));e.name=M,e.alias=M,Z=new p.Gr(e,N.A.create(`CASE WHEN (${F}='${w}') THEN ${T} ELSE ${F} END`,{fieldsIndex:y.getFieldsIndex(),timeZone:y.dateFieldsTimeZoneDefaultUTC})),L=new p.Gr(new E.A({name:"side",alias:"side",type:"string"}),N.A.create(`CASE WHEN (${k}=4) THEN 'from' ELSE 'to' END`,{fieldsIndex:y.getFieldsIndex(),timeZone:y.dateFieldsTimeZoneDefaultUTC}));break}case"connected":{let e=`${T}='@T'`,t=`${F}='@T'`;null!==I&&(e+=` AND ${b}=@A`,t+=` AND ${A}=@A`),_="(("+e+") OR ("+t+"))",_=(0,f.Y)(_,"@T",w??""),e=(0,f.Y)(e,"@T",w??""),null!==I&&(e=(0,f.Y)(e,"@A",I.toString()),_=(0,f.Y)(_,"@A",I.toString())),X.codefield=N.A.create("CASE WHEN "+e+` THEN ${S} ELSE ${$} END`,{fieldsIndex:y.getFieldsIndex(),timeZone:y.dateFieldsTimeZoneDefaultUTC});const n=(0,D.ke)(p.a.findField(y.fields,F));n.name=M,n.alias=M,Z=new p.Gr(n,N.A.create("CASE WHEN "+e+` THEN ${F} ELSE ${T} END`,{fieldsIndex:y.getFieldsIndex(),timeZone:y.dateFieldsTimeZoneDefaultUTC}));break}case"container":_=`${T}='${w}' AND ${k} = 2`,null!==I&&(_+=` AND ${b} = `+I.toString()),X.codefield=S,_="( "+_+" )",Z=new p.p8(p.a.findField(y.fields,F),M,M);break;case"content":_=`(${F}='${w}' AND ${k} = 2)`,null!==I&&(_+=` AND ${A} = `+I.toString()),X.codefield=$,_="( "+_+" )",Z=new p.p8(p.a.findField(y.fields,T),M,M);break;case"structure":_=`(${T}='${w}' AND ${k} = 3)`,null!==I&&(_+=` AND ${b} = `+I.toString()),X.codefield=S,_="( "+_+" )",Z=new p.p8(p.a.findField(y.fields,F),M,P);break;case"attached":_=`(${F}='${w}' AND ${k} = 3)`,null!==I&&(_+=` AND ${A} = `+I.toString()),X.codefield=$,_="( "+_+" )",Z=new p.p8(p.a.findField(y.fields,T),M,P);break;default:throw new l.D$(t,l.TX.InvalidParameter,n)}return g&&(_="1 <> 1"),new p.a({parentfeatureset:y,adaptedFields:[new p.IO(p.a.findField(y.fields,C)),new p.IO(p.a.findField(y.fields,x)),Z,L,X,j],extraFilter:_?N.A.create(_,{fieldsIndex:y.getFieldsIndex(),timeZone:y.dateFieldsTimeZoneDefaultUTC}):null})}))},e.signatures.push({name:"featuresetbyassociation",min:2,max:6}),e.functions.groupby=function(t,n){return e.standardFunctionAsync(t,n,(async(i,r,o)=>{if((0,f.D)(o,3,3,t,n),!(0,f.p)(o[0]))throw new l.D$(t,l.TX.InvalidParameter,n);const a=await o[0].load(),c=[],d=[];let u=!1,m=[];if((0,ee.Kg)(o[1]))m.push(o[1]);else if(o[1]instanceof s.A)m.push(o[1]);else if((0,ee.cy)(o[1]))m=o[1];else{if(!(0,f.m)(o[1]))throw new l.D$(t,l.TX.InvalidParameter,n);m=o[1].toArray()}for(const e of m)if((0,ee.Kg)(e)){const t=N.A.create((0,f.f)(e),{fieldsIndex:a.getFieldsIndex(),timeZone:a.dateFieldsTimeZoneDefaultUTC}),n=!0===(0,F.DA)(t)?(0,f.f)(e):"%%%%FIELDNAME";c.push({name:n,expression:t}),"%%%%FIELDNAME"===n&&(u=!0)}else{if(!(e instanceof s.A))throw new l.D$(t,l.TX.InvalidParameter,n);{const i=e.hasField("name")?e.field("name"):"%%%%FIELDNAME",r=e.hasField("expression")?e.field("expression"):"";if("%%%%FIELDNAME"===i&&(u=!0),!i)throw new l.D$(t,l.TX.InvalidParameter,n);c.push({name:i,expression:N.A.create(r||i,{fieldsIndex:a.getFieldsIndex(),timeZone:a.dateFieldsTimeZoneDefaultUTC})})}}if(m=[],(0,ee.Kg)(o[2]))m.push(o[2]);else if((0,ee.cy)(o[2]))m=o[2];else if((0,f.m)(o[2]))m=o[2].toArray();else{if(!(o[2]instanceof s.A))throw new l.D$(t,l.TX.InvalidParameter,n);m.push(o[2])}for(const e of m){if(!(e instanceof s.A))throw new l.D$(t,l.TX.InvalidParameter,n);{const i=e.hasField("name")?e.field("name"):"",r=e.hasField("statistic")?e.field("statistic"):"",o=e.hasField("expression")?e.field("expression"):"";if(!i||!r||!o)throw new l.D$(t,l.TX.InvalidParameter,n);d.push({name:i,statistic:r.toLowerCase(),expression:N.A.create(o,{fieldsIndex:a.getFieldsIndex(),timeZone:a.dateFieldsTimeZoneDefaultUTC})})}}if(u){const e={};for(const t of a.fields)e[t.name.toLowerCase()]=1;for(const t of c)"%%%%FIELDNAME"!==t.name&&(e[t.name.toLowerCase()]=1);for(const t of d)"%%%%FIELDNAME"!==t.name&&(e[t.name.toLowerCase()]=1);let t=0;for(const n of c)if("%%%%FIELDNAME"===n.name){for(;1===e["field_"+t.toString()];)t++;e["field_"+t.toString()]=1,n.name="FIELD_"+t.toString()}}for(const n of c)te(n.expression,e,t);for(const n of d)te(n.expression,e,t);return o[0].groupby(c,d)}))},e.signatures.push({name:"groupby",min:3,max:3}),e.functions.distinct=function(t,n){return e.standardFunctionAsync(t,n,(async(i,r,o)=>{if((0,f.p)(o[0])){(0,f.D)(o,2,2,t,n);const i=await o[0].load(),r=[];let a=[];if((0,ee.Kg)(o[1]))a.push(o[1]);else if(o[1]instanceof s.A)a.push(o[1]);else if((0,ee.cy)(o[1]))a=o[1];else{if(!(0,f.m)(o[1]))throw new l.D$(t,l.TX.InvalidParameter,n);a=o[1].toArray()}let c=!1;for(const e of a)if((0,ee.Kg)(e)){const t=N.A.create((0,f.f)(e),{fieldsIndex:i.getFieldsIndex(),timeZone:i.dateFieldsTimeZoneDefaultUTC}),n=!0===(0,F.DA)(t)?(0,f.f)(e):"%%%%FIELDNAME";r.push({name:n,expression:t}),"%%%%FIELDNAME"===n&&(c=!0)}else{if(!(e instanceof s.A))throw new l.D$(t,l.TX.InvalidParameter,n);{const o=e.hasField("name")?e.field("name"):"%%%%FIELDNAME",a=e.hasField("expression")?e.field("expression"):"";if("%%%%FIELDNAME"===o&&(c=!0),!o)throw new l.D$(t,l.TX.InvalidParameter,n);r.push({name:o,expression:N.A.create(a||o,{fieldsIndex:i.getFieldsIndex(),timeZone:i.dateFieldsTimeZoneDefaultUTC})})}}if(c){const e={};for(const t of i.fields)e[t.name.toLowerCase()]=1;for(const t of r)"%%%%FIELDNAME"!==t.name&&(e[t.name.toLowerCase()]=1);let t=0;for(const n of r)if("%%%%FIELDNAME"===n.name){for(;1===e["field_"+t.toString()];)t++;e["field_"+t.toString()]=1,n.name="FIELD_"+t.toString()}}for(const n of r)te(n.expression,e,t);return o[0].groupby(r,[])}return function(e){if(1===e.length){if((0,ee.cy)(e[0]))return(0,b.t)("distinct",e[0],-1);if((0,f.m)(e[0]))return(0,b.t)("distinct",e[0].toArray(),-1)}return(0,b.t)("distinct",e,-1)}(o)}))},e.functions.getfeaturesetinfo=function(t,n){return e.standardFunctionAsync(t,n,(async(e,i,r)=>{if((0,f.D)(r,1,1,t,n),!(0,f.p)(r[0]))return null;const o=await r[0].getFeatureSetInfo();return o?s.A.convertObjectToArcadeDictionary({layerId:o.layerId,layerName:o.layerName,itemId:o.itemId,serviceLayerUrl:o.serviceLayerUrl,webMapLayerId:o.webMapLayerId??null,webMapLayerTitle:o.webMapLayerTitle??null,className:null,objectClassId:null},(0,f.L)(t),!1,!1):null}))},e.signatures.push({name:"getfeaturesetinfo",min:1,max:1}),e.functions.filterbysubtypecode=function(t,n){return e.standardFunctionAsync(t,n,(async(e,i,r)=>{if((0,f.D)(r,2,2,t,n),(0,f.p)(r[0])){const e=await r[0].load(),i=r[1];if(!(0,ee.Fq)(i))throw new l.D$(t,l.TX.InvalidParameter,n);if(e.subtypeField){const t=N.A.create(`${e.subtypeField}= ${r[1]}`,{fieldsIndex:e.getFieldsIndex(),timeZone:e.dateFieldsTimeZoneDefaultUTC});return new y.A({parentfeatureset:r[0],whereclause:t})}if(null===e.typeIdField||""===e.typeIdField)throw new l.D$(t,l.TX.FeatureSetDoesNotHaveSubtypes,n);const o=N.A.create(`${e.typeIdField}= ${r[1]}`,{fieldsIndex:e.getFieldsIndex(),timeZone:e.dateFieldsTimeZoneDefaultUTC});return new y.A({parentfeatureset:r[0],whereclause:o})}throw new l.D$(t,l.TX.InvalidParameter,n)}))},e.signatures.push({name:"filterbysubtypecode",min:2,max:2}))}},80672:(e,t,n)=>{n.d(t,{R:()=>r});var i=n(20655);function r(e,t){return null===e?t:new i.A({url:e.field("url")})}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1053,2390],{11053:(e,t,r)=>{r.d(t,{c:()=>n,g:()=>i});var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}},22390:(e,t,r)=>{r.d(t,{isAnimatedPNG:()=>f,parseApng:()=>l});var n,i=r(11053),s=r(74887),a=r(78659),o={exports:{}};o.exports;const u=(0,i.g)((n||(n=1,h=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={exports:{},id:n,loaded:!1};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}return r.m=e,r.c=t,r.p="",r(0)}([function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.isNotPNG=function(e){return e===s},t.isNotAPNG=function(e){return e===a},t.default=function(e){var t=new Uint8Array(e);if(Array.prototype.some.call(o,(function(e,r){return e!==t[r]})))return s;var r=!1;if(u(t,(function(e){return!(r="acTL"===e)})),!r)return a;var n=[],h=[],p=null,m=null,d=0,v=new i.APNG;if(u(t,(function(e,t,r,s){var a=new DataView(t.buffer);switch(e){case"IHDR":p=t.subarray(r+8,r+8+s),v.width=a.getUint32(r+8),v.height=a.getUint32(r+12);break;case"acTL":v.numPlays=a.getUint32(r+8+4);break;case"fcTL":m&&(v.frames.push(m),d++),(m=new i.Frame).width=a.getUint32(r+8+4),m.height=a.getUint32(r+8+8),m.left=a.getUint32(r+8+12),m.top=a.getUint32(r+8+16);var o=a.getUint16(r+8+20),u=a.getUint16(r+8+22);0===u&&(u=100),m.delay=1e3*o/u,m.delay<=10&&(m.delay=100),v.playTime+=m.delay,m.disposeOp=a.getUint8(r+8+24),m.blendOp=a.getUint8(r+8+25),m.dataParts=[],0===d&&2===m.disposeOp&&(m.disposeOp=1);break;case"fdAT":m&&m.dataParts.push(t.subarray(r+8+4,r+8+s));break;case"IDAT":m&&m.dataParts.push(t.subarray(r+8,r+8+s));break;case"IEND":h.push(l(t,r,12+s));break;default:n.push(l(t,r,12+s))}})),m&&v.frames.push(m),0==v.frames.length)return a;var _=new Blob(n),g=new Blob(h);return v.frames.forEach((function(e){var t=[];t.push(o),p.set(f(e.width),0),p.set(f(e.height),4),t.push(c("IHDR",p)),t.push(_),e.dataParts.forEach((function(e){return t.push(c("IDAT",e))})),t.push(g),e.imageData=new Blob(t,{type:"image/png"}),delete e.dataParts,t=null})),v};var n=function(e){return e&&e.__esModule?e:{default:e}}(r(1)),i=r(2),s=new Error("Not a PNG"),a=new Error("Not an animated PNG"),o=new Uint8Array([137,80,78,71,13,10,26,10]);function u(e,t){var r=new DataView(e.buffer),n=8,i=void 0,s=void 0,a=void 0;do{s=r.getUint32(n),a=t(i=h(e,n+4,4),e,n,s),n+=12+s}while(!1!==a&&"IEND"!=i&&n<e.length)}function h(e,t,r){var n=Array.prototype.slice.call(e.subarray(t,t+r));return String.fromCharCode.apply(String,n)}function l(e,t,r){var n=new Uint8Array(r);return n.set(e.subarray(t,t+r)),n}var c=function(e,t){var r=e.length+t.length,i=new Uint8Array(r+8),s=new DataView(i.buffer);s.setUint32(0,t.length),i.set(function(e){for(var t=new Uint8Array(e.length),r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t}(e),4),i.set(t,8);var a=(0,n.default)(i,4,r);return s.setUint32(r+4,a),i},f=function(e){return new Uint8Array([e>>>24&255,e>>>16&255,e>>>8&255,255&e])}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1,i=t,s=t+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length-t);i<s;i++)n=n>>>8^r[255&(n^e[i])];return~n};for(var r=new Uint32Array(256),n=0;n<256;n++){for(var i=n,s=0;s<8;s++)i=1&i?3988292384^i>>>1:i>>>1;r[n]=i}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.Frame=t.APNG=void 0;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=function(e){return e&&e.__esModule?e:{default:e}}(r(3));function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.APNG=function(){function e(){s(this,e),this.width=0,this.height=0,this.numPlays=0,this.playTime=0,this.frames=[]}return n(e,[{key:"createImages",value:function(){return Promise.all(this.frames.map((function(e){return e.createImage()})))}},{key:"getPlayer",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.createImages().then((function(){return new i.default(t,e,r)}))}}]),e}(),t.Frame=function(){function e(){s(this,e),this.left=0,this.top=0,this.width=0,this.height=0,this.delay=0,this.disposeOp=0,this.blendOp=0,this.imageData=null,this.imageElement=null}return n(e,[{key:"createImage",value:function(){var e=this;return this.imageElement?Promise.resolve():new Promise((function(t,r){var n=URL.createObjectURL(e.imageData);e.imageElement=document.createElement("img"),e.imageElement.onload=function(){URL.revokeObjectURL(n),t()},e.imageElement.onerror=function(){URL.revokeObjectURL(n),e.imageElement=null,r(new Error("Image creation error"))},e.imageElement.src=n}))}}]),e}()},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=function(e){function t(e,r,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return i.playbackRate=1,i._currentFrameNumber=0,i._ended=!1,i._paused=!0,i._numPlays=0,i._rafId=null,i._apng=e,i.context=r,i.stop(),n&&i.play(),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"renderNextFrame",value:function(){this._currentFrameNumber=(this._currentFrameNumber+1)%this._apng.frames.length,this._currentFrameNumber===this._apng.frames.length-1&&(this._numPlays++,0!==this._apng.numPlays&&this._numPlays>=this._apng.numPlays&&(this._ended=!0,this._paused=!0)),this._prevFrame&&1==this._prevFrame.disposeOp?this.context.clearRect(this._prevFrame.left,this._prevFrame.top,this._prevFrame.width,this._prevFrame.height):this._prevFrame&&2==this._prevFrame.disposeOp&&this.context.putImageData(this._prevFrameData,this._prevFrame.left,this._prevFrame.top);var e=this.currentFrame;this._prevFrame=e,this._prevFrameData=null,2==e.disposeOp&&(this._prevFrameData=this.context.getImageData(e.left,e.top,e.width,e.height)),0==e.blendOp&&this.context.clearRect(e.left,e.top,e.width,e.height),this.context.drawImage(e.imageElement,e.left,e.top),this.emit("frame",this._currentFrameNumber),this._ended&&this.emit("end")}},{key:"play",value:function(){var e=this;this._rafId&&cancelAnimationFrame(this._rafId),this.emit("play"),this._ended&&this.stop(),this._paused=!1;var t=performance.now()+this.currentFrame.delay/this.playbackRate;this._rafId=requestAnimationFrame((function r(n){if(!e._ended&&!e._paused){if(n>=t){for(;n-t>=e._apng.playTime/e.playbackRate;)t+=e._apng.playTime/e.playbackRate,e._numPlays++;do{e.renderNextFrame(),t+=e.currentFrame.delay/e.playbackRate}while(!e._ended&&!e._paused&&n>t)}e._rafId=requestAnimationFrame(r)}}))}},{key:"pause",value:function(){this._paused||(this._rafId&&(cancelAnimationFrame(this._rafId),this._rafId=null),this.emit("pause"),this._paused=!0)}},{key:"stop",value:function(){this._rafId&&(cancelAnimationFrame(this._rafId),this._rafId=null),this.emit("stop"),this._numPlays=0,this._ended=!1,this._paused=!0,this._currentFrameNumber=-1,this.context.clearRect(0,0,this._apng.width,this._apng.height),this.renderNextFrame()}},{key:"currentFrameNumber",get:function(){return this._currentFrameNumber}},{key:"currentFrame",get:function(){return this._apng.frames[this._currentFrameNumber]}},{key:"paused",get:function(){return this._paused}},{key:"ended",get:function(){return this._ended}}]),t}(function(e){return e&&e.__esModule?e:{default:e}}(r(4)).default);t.default=i},function(e,t){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function n(e){return"function"==typeof e}function i(e){return"object"==typeof e&&null!==e}function s(e){return void 0===e}e.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(e){if(!function(e){return"number"==typeof e}(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},r.prototype.emit=function(e){var t,r,a,o,u,h;if(this._events||(this._events={}),"error"===e&&(!this._events.error||i(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var l=new Error('Uncaught, unspecified "error" event. ('+t+")");throw l.context=t,l}if(s(r=this._events[e]))return!1;if(n(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:o=Array.prototype.slice.call(arguments,1),r.apply(this,o)}else if(i(r))for(o=Array.prototype.slice.call(arguments,1),a=(h=r.slice()).length,u=0;u<a;u++)h[u].apply(this,o);return!0},r.prototype.addListener=function(e,t){var a;if(!n(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,n(t.listener)?t.listener:t),this._events[e]?i(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,i(this._events[e])&&!this._events[e].warned&&(a=s(this._maxListeners)?r.defaultMaxListeners:this._maxListeners)&&a>0&&this._events[e].length>a&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(e,t){if(!n(t))throw TypeError("listener must be a function");var r=!1;function i(){this.removeListener(e,i),r||(r=!0,t.apply(this,arguments))}return i.listener=t,this.on(e,i),this},r.prototype.removeListener=function(e,t){var r,s,a,o;if(!n(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(a=(r=this._events[e]).length,s=-1,r===t||n(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(i(r)){for(o=a;o-- >0;)if(r[o]===t||r[o].listener&&r[o].listener===t){s=o;break}if(s<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(s,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n(r=this._events[e]))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){return this._events&&this._events[e]?n(this._events[e])?[this._events[e]]:this._events[e].slice():[]},r.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(n(t))return 1;if(t)return t.length}return 0},r.listenerCount=function(e,t){return e.listenerCount(t)}}])},o.exports=h()),o.exports));var h;async function l(e,t){const r=u(e);if(r instanceof Error)throw r;await r.createImages(),(0,s.Te)(t);const{frames:n,width:i,height:o}=r,h=document.createElement("canvas");h.width=i,h.height=o;const l=h.getContext("2d",{willReadFrequently:!0}),c=[],f=[];let p=0;for(const e of n){const t=(0,a.l5)(e.delay||100);f.push(t),p+=t;const r=e.imageElement;0===e.blendOp?l.globalCompositeOperation="copy":l.globalCompositeOperation="source-over";const n=2===e.disposeOp?l.getImageData(e.left,e.top,e.width,e.height):void 0;l.drawImage(r,e.left,e.top);const s=l.getImageData(0,0,i,o);c.push(s),0===e.disposeOp||(1===e.disposeOp?l.clearRect(e.left,e.top,e.width,e.height):2===e.disposeOp&&l.putImageData(n,e.left,e.top))}return{frameCount:n.length,duration:p,frameDurations:f,getFrame:e=>c[e],width:i,height:o}}const c=[137,80,78,71,13,10,26,10];function f(e){if(!function(e){const t=new Uint8Array(e);return!c.some(((e,r)=>e!==t[r]))}(e))return!1;const t=new DataView(e),r=new Uint8Array(e);let n,i=8;do{const e=t.getUint32(i);if(n=String.fromCharCode.apply(String,Array.prototype.slice.call(r.subarray(i+4,i+8))),"acTL"===n)return!0;i+=12+e}while("IEND"!==n&&i<r.length);return!1}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1053,6387],{3209:(e,n,t)=>{t.d(n,{A:()=>T,B:()=>D,C:()=>A,D:()=>C,E:()=>L,F:()=>j,G:()=>I,H:()=>O,I:()=>V,J:()=>_,K:()=>k,L:()=>H,M:()=>q,N:()=>B,a:()=>c,b:()=>u,c:()=>s,d:()=>a,e:()=>o,f:()=>f,g:()=>X,h:()=>l,i:()=>g,j:()=>d,k:()=>x,l:()=>y,m:()=>w,n:()=>M,o:()=>G,p:()=>R,q:()=>b,r:()=>m,s:()=>v,t:()=>h,u:()=>P,v:()=>Z,w:()=>p,x:()=>z,y:()=>E,z:()=>S});var i=t(49930),r=t(7320);function o(e){return i.G.extendedSpatialReferenceInfo(e)}function s(e,n,t){return i.G.clip(r.g,e,n,t)}function c(e,n,t){return i.G.cut(r.g,e,n,t)}function u(e,n,t){return i.G.contains(r.g,e,n,t)}function a(e,n,t){return i.G.crosses(r.g,e,n,t)}function f(e,n,t,o){return i.G.distance(r.g,e,n,t,o)}function l(e,n,t){return i.G.equals(r.g,e,n,t)}function g(e,n,t){return i.G.intersects(r.g,e,n,t)}function h(e,n,t){return i.G.touches(r.g,e,n,t)}function p(e,n,t){return i.G.within(r.g,e,n,t)}function d(e,n,t){return i.G.disjoint(r.g,e,n,t)}function G(e,n,t){return i.G.overlaps(r.g,e,n,t)}function m(e,n,t,o){return i.G.relate(r.g,e,n,t,o)}function x(e,n){return i.G.isSimple(r.g,e,n)}function v(e,n){return i.G.simplify(r.g,e,n)}function y(e,n,t=!1){return i.G.convexHull(r.g,e,n,t)}function w(e,n,t){return i.G.difference(r.g,e,n,t)}function M(e,n,t){return i.G.symmetricDifference(r.g,e,n,t)}function R(e,n,t){return i.G.intersect(r.g,e,n,t)}function P(e,n,t=null){return i.G.union(r.g,e,n,t)}function b(e,n,t,o,s,c,u){return i.G.offset(r.g,e,n,t,o,s,c,u)}function Z(e,n,t,o,s=!1){return i.G.buffer(r.g,e,n,t,o,s)}function z(e,n,t,o,s,c,u){return i.G.geodesicBuffer(r.g,e,n,t,o,s,c,u)}function E(e,n,t,o=!0){return i.G.nearestCoordinate(r.g,e,n,t,o)}function S(e,n,t){return i.G.nearestVertex(r.g,e,n,t)}function T(e,n,t,o,s){return i.G.nearestVertices(r.g,e,n,t,o,s)}function D(e,n,t,r){if(null==n||null==r)throw new Error("Illegal Argument Exception");const o=i.G.rotate(n,t,r);return o.spatialReference=e,o}function A(e,n,t){if(null==n||null==t)throw new Error("Illegal Argument Exception");const r=i.G.flipHorizontal(n,t);return r.spatialReference=e,r}function C(e,n,t){if(null==n||null==t)throw new Error("Illegal Argument Exception");const r=i.G.flipVertical(n,t);return r.spatialReference=e,r}function L(e,n,t,o,s){return i.G.generalize(r.g,e,n,t,o,s)}function j(e,n,t,o){return i.G.densify(r.g,e,n,t,o)}function I(e,n,t,o,s=0){return i.G.geodesicDensify(r.g,e,n,t,o,s)}function O(e,n,t){return i.G.planarArea(r.g,e,n,t)}function V(e,n,t){return i.G.planarLength(r.g,e,n,t)}function _(e,n,t,o){return i.G.geodesicArea(r.g,e,n,t,o)}function k(e,n,t,o){return i.G.geodesicLength(r.g,e,n,t,o)}function H(e,n,t){return null==n||null==t?[]:i.G.intersectLinesToPoints(r.g,e,n,t)}function q(e,n){i.G.changeDefaultSpatialReferenceTolerance(e,n)}function B(e){i.G.clearDefaultSpatialReferenceTolerance(e)}const X=Object.freeze(Object.defineProperty({__proto__:null,buffer:Z,changeDefaultSpatialReferenceTolerance:q,clearDefaultSpatialReferenceTolerance:B,clip:s,contains:u,convexHull:y,crosses:a,cut:c,densify:j,difference:w,disjoint:d,distance:f,equals:l,extendedSpatialReferenceInfo:o,flipHorizontal:A,flipVertical:C,generalize:L,geodesicArea:_,geodesicBuffer:z,geodesicDensify:I,geodesicLength:k,intersect:R,intersectLinesToPoints:H,intersects:g,isSimple:x,nearestCoordinate:E,nearestVertex:S,nearestVertices:T,offset:b,overlaps:G,planarArea:O,planarLength:V,relate:m,rotate:D,simplify:v,symmetricDifference:M,touches:h,union:P,within:p},Symbol.toStringTag,{value:"Module"}))},7320:(e,n,t)=>{t.d(n,{g:()=>i});const i={convertToGEGeometry:function(e,n){return null==n?null:e.convertJSONToGeometry(n)},exportPoint:function(e,n,t){const i=new r(e.getPointX(n),e.getPointY(n),t),o=e.hasZ(n),s=e.hasM(n);return o&&(i.z=e.getPointZ(n)),s&&(i.m=e.getPointM(n)),i},exportPolygon:function(e,n,t){return new o(e.exportPaths(n),t,e.hasZ(n),e.hasM(n))},exportPolyline:function(e,n,t){return new s(e.exportPaths(n),t,e.hasZ(n),e.hasM(n))},exportMultipoint:function(e,n,t){return new c(e.exportPoints(n),t,e.hasZ(n),e.hasM(n))},exportExtent:function(e,n,t){const i=e.hasZ(n),r=e.hasM(n),o=new u(e.getXMin(n),e.getYMin(n),e.getXMax(n),e.getYMax(n),t);if(i){const t=e.getZExtent(n);o.zmin=t.vmin,o.zmax=t.vmax}if(r){const t=e.getMExtent(n);o.mmin=t.vmin,o.mmax=t.vmax}return o}};class r{constructor(e,n,t){this.x=e,this.y=n,this.spatialReference=t,this.z=void 0,this.m=void 0}}class o{constructor(e,n,t,i){this.rings=e,this.spatialReference=n,this.hasZ=void 0,this.hasM=void 0,t&&(this.hasZ=t),i&&(this.hasM=i)}}class s{constructor(e,n,t,i){this.paths=e,this.spatialReference=n,this.hasZ=void 0,this.hasM=void 0,t&&(this.hasZ=t),i&&(this.hasM=i)}}class c{constructor(e,n,t,i){this.points=e,this.spatialReference=n,this.hasZ=void 0,this.hasM=void 0,t&&(this.hasZ=t),i&&(this.hasM=i)}}class u{constructor(e,n,t,i,r){this.xmin=e,this.ymin=n,this.xmax=t,this.ymax=i,this.spatialReference=r,this.zmin=void 0,this.zmax=void 0,this.mmin=void 0,this.mmax=void 0}}},11053:(e,n,t)=>{t.d(n,{c:()=>i,g:()=>r});var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}},68887:(e,n,t)=>{t.r(n),t.d(n,{executeGEOperation:()=>r});var i=t(3209);function r(e){return(0,i.g[e.operation])(...e.parameters)}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1053],{11053:(e,l,n)=>{n.d(l,{c:()=>t,g:()=>o});var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1053,6187],{11053:(e,t,_)=>{_.d(t,{c:()=>r,g:()=>o});var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}},46187:(e,t,_)=>{_.r(t),_.d(t,{p:()=>i});var r,o=_(11053),n={exports:{}};const p=(0,o.g)(function(){return r||(r=1,e=n,t="undefined"!=typeof document?document.currentScript?.src:void 0,"undefined"!=typeof __filename&&(t=t||__filename),_=function(e={}){var _,r,o,n,p=e,i=new Promise(((e,t)=>{_=e,r=t})),c="object"==typeof window,s="undefined"!=typeof WorkerGlobalScope,P="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&"renderer"!=process.type,a=Object.assign({},p),g="./this.program",y="";if(P){var d=require("fs"),u=require("path");y=__dirname+"/",n=e=>(e=F(e)?new URL(e):u.normalize(e),d.readFileSync(e)),o=(e,t=!0)=>(e=F(e)?new URL(e):u.normalize(e),new Promise(((_,r)=>{d.readFile(e,t?void 0:"utf8",((e,o)=>{e?r(e):_(t?o.buffer:o)}))}))),!p.thisProgram&&process.argv.length>1&&(g=process.argv[1].replace(/\\/g,"/")),process.argv.slice(2)}else(c||s)&&(s?y=self.location.href:"undefined"!=typeof document&&document.currentScript&&(y=document.currentScript.src),t&&(y=t),y=y.startsWith("blob:")?"":y.substr(0,y.replace(/[?#].*/,"").lastIndexOf("/")+1),s&&(n=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),o=e=>F(e)?new Promise(((t,_)=>{var r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="arraybuffer",r.onload=()=>{200==r.status||0==r.status&&r.response?t(r.response):_(r.status)},r.onerror=_,r.send(null)})):fetch(e,{credentials:"same-origin"}).then((e=>e.ok?e.arrayBuffer():Promise.reject(new Error(e.status+" : "+e.url)))));var b,f=console.log.bind(console),E=console.error.bind(console);Object.assign(p,a),a=null;var m,T,O,S,l,h,N,M=!1;function D(e,t){e||I(t)}function v(){var e=b.buffer;p.HEAP8=m=new Int8Array(e),p.HEAP16=O=new Int16Array(e),p.HEAPU8=T=new Uint8Array(e),p.HEAPU16=new Uint16Array(e),p.HEAP32=S=new Int32Array(e),p.HEAPU32=l=new Uint32Array(e),p.HEAPF32=h=new Float32Array(e),p.HEAPF64=N=new Float64Array(e)}var A=[],j=[],R=[],G=0,C=null;function I(e){E(e="Aborted("+e+")"),M=!0,e+=". Build with -sASSERTIONS for more info.";var t=new WebAssembly.RuntimeError(e);throw r(t),t}var L,U=e=>e.startsWith("data:application/octet-stream;base64,"),F=e=>e.startsWith("file://");function w(e,t,_){return function(e){return o(e).then((e=>new Uint8Array(e)),(()=>function(e){if(n)return n(e);throw"both async and sync fetching of the wasm failed"}(e)))}(e).then((e=>WebAssembly.instantiate(e,t))).then(_,(e=>{E(`failed to asynchronously prepare wasm: ${e}`),I(e)}))}var Y=e=>{for(;e.length>0;)e.shift()(p)},x="undefined"!=typeof TextDecoder?new TextDecoder:void 0,H=(e,t=0,_=NaN)=>{for(var r=t+_,o=t;e[o]&&!(o>=r);)++o;if(o-t>16&&e.buffer&&x)return x.decode(e.subarray(t,o));for(var n="";t<o;){var p=e[t++];if(128&p){var i=63&e[t++];if(192!=(224&p)){var c=63&e[t++];if((p=224==(240&p)?(15&p)<<12|i<<6|c:(7&p)<<18|i<<12|c<<6|63&e[t++])<65536)n+=String.fromCharCode(p);else{var s=p-65536;n+=String.fromCharCode(55296|s>>10,56320|1023&s)}}else n+=String.fromCharCode((31&p)<<6|i)}else n+=String.fromCharCode(p)}return n},X=(e,t)=>e?H(T,e,t):"",z=(e,t,_,r)=>{if(!(r>0))return 0;for(var o=_,n=_+r-1,p=0;p<e.length;++p){var i=e.charCodeAt(p);if(i>=55296&&i<=57343&&(i=65536+((1023&i)<<10)|1023&e.charCodeAt(++p)),i<=127){if(_>=n)break;t[_++]=i}else if(i<=2047){if(_+1>=n)break;t[_++]=192|i>>6,t[_++]=128|63&i}else if(i<=65535){if(_+2>=n)break;t[_++]=224|i>>12,t[_++]=128|i>>6&63,t[_++]=128|63&i}else{if(_+3>=n)break;t[_++]=240|i>>18,t[_++]=128|i>>12&63,t[_++]=128|i>>6&63,t[_++]=128|63&i}}return t[_]=0,_-o},W=(e,t,_)=>z(e,T,t,_),Z=[0,31,60,91,121,152,182,213,244,274,305,335],q=[0,31,59,90,120,151,181,212,243,273,304,334],B=(e,t)=>Math.ceil(e/t)*t,K=e=>{var t=(e-b.buffer.byteLength+65535)/65536|0;try{return b.grow(t),v(),1}catch(e){}},V={},k=()=>{if(!k.strings){var e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:g||"./this.program"};for(var t in V)void 0===V[t]?delete e[t]:e[t]=V[t];var _=[];for(var t in e)_.push(`${t}=${e[t]}`);k.strings=_}return k.strings},$=[null,[],[]],J=(e,t)=>{var _=$[e];0===t||10===t?((1===e?f:E)(H(_)),_.length=0):_.push(t)},Q={c:function(e,t,_){return 0},q:(e,t,_)=>{},h:function(e,t,_){return 0},d:function(e,t,_,r){},o:e=>{},n:(e,t)=>{},p:(e,t,_)=>{},l:()=>{I("")},s:(e,t,_)=>T.copyWithin(e,t,t+_),j:function(e,t,_){var r=((e,t)=>t+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*t:NaN)(e,t),o=new Date(1e3*r);S[_>>2]=o.getSeconds(),S[_+4>>2]=o.getMinutes(),S[_+8>>2]=o.getHours(),S[_+12>>2]=o.getDate(),S[_+16>>2]=o.getMonth(),S[_+20>>2]=o.getFullYear()-1900,S[_+24>>2]=o.getDay();var n=0|(e=>((e=>e%4==0&&(e%100!=0||e%400==0))(e.getFullYear())?Z:q)[e.getMonth()]+e.getDate()-1)(o);S[_+28>>2]=n,S[_+36>>2]=-60*o.getTimezoneOffset();var p=new Date(o.getFullYear(),0,1),i=new Date(o.getFullYear(),6,1).getTimezoneOffset(),c=p.getTimezoneOffset(),s=0|(i!=c&&o.getTimezoneOffset()==Math.min(c,i));S[_+32>>2]=s},r:(e,t,_,r)=>{var o=(new Date).getFullYear(),n=new Date(o,0,1),p=new Date(o,6,1),i=n.getTimezoneOffset(),c=p.getTimezoneOffset(),s=Math.max(i,c);l[e>>2]=60*s,S[t>>2]=Number(i!=c);var P=e=>{var t=e>=0?"-":"+",_=Math.abs(e);return`UTC${t}${String(Math.floor(_/60)).padStart(2,"0")}${String(_%60).padStart(2,"0")}`},a=P(i),g=P(c);c<i?(W(a,_,17),W(g,r,17)):(W(a,r,17),W(g,_,17))},i:()=>Date.now(),m:e=>{var t=T.length,_=2147483648;if((e>>>=0)>_)return!1;for(var r=1;r<=4;r*=2){var o=t*(1+.2/r);o=Math.min(o,e+100663296);var n=Math.min(_,B(Math.max(e,o),65536));if(K(n))return!0}return!1},e:(e,t)=>{var _=0;return k().forEach(((r,o)=>{var n=t+_;l[e+4*o>>2]=n,((e,t)=>{for(var _=0;_<e.length;++_)m[t++]=e.charCodeAt(_);m[t]=0})(r,n),_+=r.length+1})),0},f:(e,t)=>{var _=k();l[e>>2]=_.length;var r=0;return _.forEach((e=>r+=e.length+1)),l[t>>2]=r,0},a:e=>52,g:(e,t,_,r)=>52,k:function(e,t,_,r,o){return 70},b:(e,t,_,r)=>{for(var o=0,n=0;n<_;n++){var p=l[t>>2],i=l[t+4>>2];t+=8;for(var c=0;c<i;c++)J(e,T[p+c]);o+=i}return l[r>>2]=o,0}},ee=function(){var e={a:Q};return G++,L??=function(){var e="pe-wasm.wasm";return U(e)?e:function(e){return p.locateFile?p.locateFile(e,y):y+e}(e)}(),function(e,t,_,r){return"function"!=typeof WebAssembly.instantiateStreaming||U(t)||F(t)||P||"function"!=typeof fetch?w(t,_,r):fetch(t,{credentials:"same-origin"}).then((e=>WebAssembly.instantiateStreaming(e,_).then(r,(function(e){return E(`wasm streaming compile failed: ${e}`),E("falling back to ArrayBuffer instantiation"),w(t,_,r)}))))}(0,L,e,(function(e){!function(e){ee=e.exports,b=ee.t,v(),function(e){j.unshift(e)}(ee.u),function(){if(0==--G&&C){var e=C;C=null,e()}}()}(e.instance)})).catch(r),{}}();p._webidl_free=e=>(p._webidl_free=ee.v)(e),p._webidl_malloc=e=>(p._webidl_malloc=ee.w)(e);var te,_e=p._emscripten_bind_PeObject_getCode_0=e=>(_e=p._emscripten_bind_PeObject_getCode_0=ee.x)(e),re=p._emscripten_bind_PeObject_getName_1=(e,t)=>(re=p._emscripten_bind_PeObject_getName_1=ee.y)(e,t),oe=p._emscripten_bind_PeObject_getType_0=e=>(oe=p._emscripten_bind_PeObject_getType_0=ee.z)(e),ne=p._emscripten_bind_PeCoordsys_isEqual_1=(e,t)=>(ne=p._emscripten_bind_PeCoordsys_isEqual_1=ee.A)(e,t),pe=p._emscripten_bind_PeCoordsys_getCode_0=e=>(pe=p._emscripten_bind_PeCoordsys_getCode_0=ee.B)(e),ie=p._emscripten_bind_PeCoordsys_getName_1=(e,t)=>(ie=p._emscripten_bind_PeCoordsys_getName_1=ee.C)(e,t),ce=p._emscripten_bind_PeCoordsys_getType_0=e=>(ce=p._emscripten_bind_PeCoordsys_getType_0=ee.D)(e),se=p._emscripten_bind_PeUnit_getUnitFactor_0=e=>(se=p._emscripten_bind_PeUnit_getUnitFactor_0=ee.E)(e),Pe=p._emscripten_bind_PeUnit_getCode_0=e=>(Pe=p._emscripten_bind_PeUnit_getCode_0=ee.F)(e),ae=p._emscripten_bind_PeUnit_getName_1=(e,t)=>(ae=p._emscripten_bind_PeUnit_getName_1=ee.G)(e,t),ge=p._emscripten_bind_PeUnit_getType_0=e=>(ge=p._emscripten_bind_PeUnit_getType_0=ee.H)(e),ye=p._emscripten_bind_VoidPtr___destroy___0=e=>(ye=p._emscripten_bind_VoidPtr___destroy___0=ee.I)(e),de=p._emscripten_bind_PeAngunit_getCode_0=e=>(de=p._emscripten_bind_PeAngunit_getCode_0=ee.J)(e),ue=p._emscripten_bind_PeAngunit_getName_1=(e,t)=>(ue=p._emscripten_bind_PeAngunit_getName_1=ee.K)(e,t),be=p._emscripten_bind_PeAngunit_getType_0=e=>(be=p._emscripten_bind_PeAngunit_getType_0=ee.L)(e),fe=p._emscripten_bind_PeAngunit_getUnitFactor_0=e=>(fe=p._emscripten_bind_PeAngunit_getUnitFactor_0=ee.M)(e),Ee=p._emscripten_bind_PeDatum_getSpheroid_0=e=>(Ee=p._emscripten_bind_PeDatum_getSpheroid_0=ee.N)(e),me=p._emscripten_bind_PeDatum_getCode_0=e=>(me=p._emscripten_bind_PeDatum_getCode_0=ee.O)(e),Te=p._emscripten_bind_PeDatum_getName_1=(e,t)=>(Te=p._emscripten_bind_PeDatum_getName_1=ee.P)(e,t),Oe=p._emscripten_bind_PeDatum_getType_0=e=>(Oe=p._emscripten_bind_PeDatum_getType_0=ee.Q)(e),Se=p._emscripten_bind_PeDefs_get_PE_BUFFER_MAX_0=e=>(Se=p._emscripten_bind_PeDefs_get_PE_BUFFER_MAX_0=ee.R)(e),le=p._emscripten_bind_PeDefs_get_PE_NAME_MAX_0=e=>(le=p._emscripten_bind_PeDefs_get_PE_NAME_MAX_0=ee.S)(e),he=p._emscripten_bind_PeDefs_get_PE_MGRS_MAX_0=e=>(he=p._emscripten_bind_PeDefs_get_PE_MGRS_MAX_0=ee.T)(e),Ne=p._emscripten_bind_PeDefs_get_PE_USNG_MAX_0=e=>(Ne=p._emscripten_bind_PeDefs_get_PE_USNG_MAX_0=ee.U)(e),Me=p._emscripten_bind_PeDefs_get_PE_DD_MAX_0=e=>(Me=p._emscripten_bind_PeDefs_get_PE_DD_MAX_0=ee.V)(e),De=p._emscripten_bind_PeDefs_get_PE_DMS_MAX_0=e=>(De=p._emscripten_bind_PeDefs_get_PE_DMS_MAX_0=ee.W)(e),ve=p._emscripten_bind_PeDefs_get_PE_DDM_MAX_0=e=>(ve=p._emscripten_bind_PeDefs_get_PE_DDM_MAX_0=ee.X)(e),Ae=p._emscripten_bind_PeDefs_get_PE_UTM_MAX_0=e=>(Ae=p._emscripten_bind_PeDefs_get_PE_UTM_MAX_0=ee.Y)(e),je=p._emscripten_bind_PeDefs_get_PE_PARM_MAX_0=e=>(je=p._emscripten_bind_PeDefs_get_PE_PARM_MAX_0=ee.Z)(e),Re=p._emscripten_bind_PeDefs_get_PE_TYPE_NONE_0=e=>(Re=p._emscripten_bind_PeDefs_get_PE_TYPE_NONE_0=ee._)(e),Ge=p._emscripten_bind_PeDefs_get_PE_TYPE_GEOGCS_0=e=>(Ge=p._emscripten_bind_PeDefs_get_PE_TYPE_GEOGCS_0=ee.$)(e),Ce=p._emscripten_bind_PeDefs_get_PE_TYPE_PROJCS_0=e=>(Ce=p._emscripten_bind_PeDefs_get_PE_TYPE_PROJCS_0=ee.aa)(e),Ie=p._emscripten_bind_PeDefs_get_PE_TYPE_GEOGTRAN_0=e=>(Ie=p._emscripten_bind_PeDefs_get_PE_TYPE_GEOGTRAN_0=ee.ba)(e),Le=p._emscripten_bind_PeDefs_get_PE_TYPE_COORDSYS_0=e=>(Le=p._emscripten_bind_PeDefs_get_PE_TYPE_COORDSYS_0=ee.ca)(e),Ue=p._emscripten_bind_PeDefs_get_PE_TYPE_UNIT_0=e=>(Ue=p._emscripten_bind_PeDefs_get_PE_TYPE_UNIT_0=ee.da)(e),Fe=p._emscripten_bind_PeDefs_get_PE_TYPE_LINUNIT_0=e=>(Fe=p._emscripten_bind_PeDefs_get_PE_TYPE_LINUNIT_0=ee.ea)(e),we=p._emscripten_bind_PeDefs_get_PE_STR_OPTS_NONE_0=e=>(we=p._emscripten_bind_PeDefs_get_PE_STR_OPTS_NONE_0=ee.fa)(e),Ye=p._emscripten_bind_PeDefs_get_PE_STR_AUTH_NONE_0=e=>(Ye=p._emscripten_bind_PeDefs_get_PE_STR_AUTH_NONE_0=ee.ga)(e),xe=p._emscripten_bind_PeDefs_get_PE_STR_AUTH_TOP_0=e=>(xe=p._emscripten_bind_PeDefs_get_PE_STR_AUTH_TOP_0=ee.ha)(e),He=p._emscripten_bind_PeDefs_get_PE_STR_NAME_CANON_0=e=>(He=p._emscripten_bind_PeDefs_get_PE_STR_NAME_CANON_0=ee.ia)(e),Xe=p._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT_0=e=>(Xe=p._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT_0=ee.ja)(e),ze=p._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT2_0=e=>(ze=p._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT2_0=ee.ka)(e),We=p._emscripten_bind_PeDefs_get_PE_PARM_X0_0=e=>(We=p._emscripten_bind_PeDefs_get_PE_PARM_X0_0=ee.la)(e),Ze=p._emscripten_bind_PeDefs_get_PE_PARM_ND_0=e=>(Ze=p._emscripten_bind_PeDefs_get_PE_PARM_ND_0=ee.ma)(e),qe=p._emscripten_bind_PeDefs_get_PE_TRANSFORM_1_TO_2_0=e=>(qe=p._emscripten_bind_PeDefs_get_PE_TRANSFORM_1_TO_2_0=ee.na)(e),Be=p._emscripten_bind_PeDefs_get_PE_TRANSFORM_2_TO_1_0=e=>(Be=p._emscripten_bind_PeDefs_get_PE_TRANSFORM_2_TO_1_0=ee.oa)(e),Ke=p._emscripten_bind_PeDefs_get_PE_TRANSFORM_P_TO_G_0=e=>(Ke=p._emscripten_bind_PeDefs_get_PE_TRANSFORM_P_TO_G_0=ee.pa)(e),Ve=p._emscripten_bind_PeDefs_get_PE_TRANSFORM_G_TO_P_0=e=>(Ve=p._emscripten_bind_PeDefs_get_PE_TRANSFORM_G_TO_P_0=ee.qa)(e),ke=p._emscripten_bind_PeDefs_get_PE_HORIZON_RECT_0=e=>(ke=p._emscripten_bind_PeDefs_get_PE_HORIZON_RECT_0=ee.ra)(e),$e=p._emscripten_bind_PeDefs_get_PE_HORIZON_POLY_0=e=>($e=p._emscripten_bind_PeDefs_get_PE_HORIZON_POLY_0=ee.sa)(e),Je=p._emscripten_bind_PeDefs_get_PE_HORIZON_LINE_0=e=>(Je=p._emscripten_bind_PeDefs_get_PE_HORIZON_LINE_0=ee.ta)(e),Qe=p._emscripten_bind_PeDefs_get_PE_HORIZON_DELTA_0=e=>(Qe=p._emscripten_bind_PeDefs_get_PE_HORIZON_DELTA_0=ee.ua)(e),et=p._emscripten_bind_PeDouble_PeDouble_1=e=>(et=p._emscripten_bind_PeDouble_PeDouble_1=ee.va)(e),tt=p._emscripten_bind_PeDouble_get_val_0=e=>(tt=p._emscripten_bind_PeDouble_get_val_0=ee.wa)(e),_t=p._emscripten_bind_PeDouble_set_val_1=(e,t)=>(_t=p._emscripten_bind_PeDouble_set_val_1=ee.xa)(e,t),rt=p._emscripten_bind_PeDouble___destroy___0=e=>(rt=p._emscripten_bind_PeDouble___destroy___0=ee.ya)(e),ot=p._emscripten_bind_PeFactory_initialize_1=e=>(ot=p._emscripten_bind_PeFactory_initialize_1=ee.za)(e),nt=p._emscripten_bind_PeFactory_factoryByType_2=(e,t)=>(nt=p._emscripten_bind_PeFactory_factoryByType_2=ee.Aa)(e,t),pt=p._emscripten_bind_PeFactory_fromString_2=(e,t)=>(pt=p._emscripten_bind_PeFactory_fromString_2=ee.Ba)(e,t),it=p._emscripten_bind_PeFactory_getCode_1=e=>(it=p._emscripten_bind_PeFactory_getCode_1=ee.Ca)(e),ct=p._emscripten_bind_PeGCSExtent_PeGCSExtent_6=(e,t,_,r,o,n)=>(ct=p._emscripten_bind_PeGCSExtent_PeGCSExtent_6=ee.Da)(e,t,_,r,o,n),st=p._emscripten_bind_PeGCSExtent_getLLon_0=e=>(st=p._emscripten_bind_PeGCSExtent_getLLon_0=ee.Ea)(e),Pt=p._emscripten_bind_PeGCSExtent_getSLat_0=e=>(Pt=p._emscripten_bind_PeGCSExtent_getSLat_0=ee.Fa)(e),at=p._emscripten_bind_PeGCSExtent_getRLon_0=e=>(at=p._emscripten_bind_PeGCSExtent_getRLon_0=ee.Ga)(e),gt=p._emscripten_bind_PeGCSExtent_getNLat_0=e=>(gt=p._emscripten_bind_PeGCSExtent_getNLat_0=ee.Ha)(e),yt=p._emscripten_bind_PeGCSExtent___destroy___0=e=>(yt=p._emscripten_bind_PeGCSExtent___destroy___0=ee.Ia)(e),dt=p._emscripten_bind_PeGeogcs_Delete_0=e=>(dt=p._emscripten_bind_PeGeogcs_Delete_0=ee.Ja)(e),ut=p._emscripten_bind_PeGeogcs_cloneAlterUnits_1=(e,t)=>(ut=p._emscripten_bind_PeGeogcs_cloneAlterUnits_1=ee.Ka)(e,t),bt=p._emscripten_bind_PeGeogcs_getDatum_0=e=>(bt=p._emscripten_bind_PeGeogcs_getDatum_0=ee.La)(e),ft=p._emscripten_bind_PeGeogcs_getPrimem_0=e=>(ft=p._emscripten_bind_PeGeogcs_getPrimem_0=ee.Ma)(e),Et=p._emscripten_bind_PeGeogcs_getUnit_0=e=>(Et=p._emscripten_bind_PeGeogcs_getUnit_0=ee.Na)(e),mt=p._emscripten_bind_PeGeogcs_isEqual_1=(e,t)=>(mt=p._emscripten_bind_PeGeogcs_isEqual_1=ee.Oa)(e,t),Tt=p._emscripten_bind_PeGeogcs_getCode_0=e=>(Tt=p._emscripten_bind_PeGeogcs_getCode_0=ee.Pa)(e),Ot=p._emscripten_bind_PeGeogcs_getName_1=(e,t)=>(Ot=p._emscripten_bind_PeGeogcs_getName_1=ee.Qa)(e,t),St=p._emscripten_bind_PeGeogcs_getType_0=e=>(St=p._emscripten_bind_PeGeogcs_getType_0=ee.Ra)(e),lt=p._emscripten_bind_PeGeogtran_isEqual_1=(e,t)=>(lt=p._emscripten_bind_PeGeogtran_isEqual_1=ee.Sa)(e,t),ht=p._emscripten_bind_PeGeogtran_getGeogcs1_0=e=>(ht=p._emscripten_bind_PeGeogtran_getGeogcs1_0=ee.Ta)(e),Nt=p._emscripten_bind_PeGeogtran_getGeogcs2_0=e=>(Nt=p._emscripten_bind_PeGeogtran_getGeogcs2_0=ee.Ua)(e),Mt=p._emscripten_bind_PeGeogtran_getParameters_0=e=>(Mt=p._emscripten_bind_PeGeogtran_getParameters_0=ee.Va)(e),Dt=p._emscripten_bind_PeGeogtran_loadConstants_0=e=>(Dt=p._emscripten_bind_PeGeogtran_loadConstants_0=ee.Wa)(e),vt=p._emscripten_bind_PeGeogtran_getCode_0=e=>(vt=p._emscripten_bind_PeGeogtran_getCode_0=ee.Xa)(e),At=p._emscripten_bind_PeGeogtran_getName_1=(e,t)=>(At=p._emscripten_bind_PeGeogtran_getName_1=ee.Ya)(e,t),jt=p._emscripten_bind_PeGeogtran_getType_0=e=>(jt=p._emscripten_bind_PeGeogtran_getType_0=ee.Za)(e),Rt=p._emscripten_bind_PeGTlistExtended_getGTlist_6=(e,t,_,r,o,n)=>(Rt=p._emscripten_bind_PeGTlistExtended_getGTlist_6=ee._a)(e,t,_,r,o,n),Gt=p._emscripten_bind_PeGTlistExtended_get_PE_GTLIST_OPTS_COMMON_0=e=>(Gt=p._emscripten_bind_PeGTlistExtended_get_PE_GTLIST_OPTS_COMMON_0=ee.$a)(e),Ct=p._emscripten_bind_PeGTlistExtendedEntry_getEntries_0=e=>(Ct=p._emscripten_bind_PeGTlistExtendedEntry_getEntries_0=ee.ab)(e),It=p._emscripten_bind_PeGTlistExtendedEntry_getSteps_0=e=>(It=p._emscripten_bind_PeGTlistExtendedEntry_getSteps_0=ee.bb)(e),Lt=p._emscripten_bind_PeGTlistExtendedEntry_Delete_1=e=>(Lt=p._emscripten_bind_PeGTlistExtendedEntry_Delete_1=ee.cb)(e),Ut=p._emscripten_bind_PeGTlistExtendedGTs_getDirection_0=e=>(Ut=p._emscripten_bind_PeGTlistExtendedGTs_getDirection_0=ee.db)(e),Ft=p._emscripten_bind_PeGTlistExtendedGTs_getGeogtran_0=e=>(Ft=p._emscripten_bind_PeGTlistExtendedGTs_getGeogtran_0=ee.eb)(e),wt=p._emscripten_bind_PeHorizon_getNump_0=e=>(wt=p._emscripten_bind_PeHorizon_getNump_0=ee.fb)(e),Yt=p._emscripten_bind_PeHorizon_getKind_0=e=>(Yt=p._emscripten_bind_PeHorizon_getKind_0=ee.gb)(e),xt=p._emscripten_bind_PeHorizon_getInclusive_0=e=>(xt=p._emscripten_bind_PeHorizon_getInclusive_0=ee.hb)(e),Ht=p._emscripten_bind_PeHorizon_getSize_0=e=>(Ht=p._emscripten_bind_PeHorizon_getSize_0=ee.ib)(e),Xt=p._emscripten_bind_PeHorizon_getCoord_0=e=>(Xt=p._emscripten_bind_PeHorizon_getCoord_0=ee.jb)(e),zt=p._emscripten_bind_PeInteger_PeInteger_1=e=>(zt=p._emscripten_bind_PeInteger_PeInteger_1=ee.kb)(e),Wt=p._emscripten_bind_PeInteger_get_val_0=e=>(Wt=p._emscripten_bind_PeInteger_get_val_0=ee.lb)(e),Zt=p._emscripten_bind_PeInteger_set_val_1=(e,t)=>(Zt=p._emscripten_bind_PeInteger_set_val_1=ee.mb)(e,t),qt=p._emscripten_bind_PeInteger___destroy___0=e=>(qt=p._emscripten_bind_PeInteger___destroy___0=ee.nb)(e),Bt=p._emscripten_bind_PeLineType_geodetic_distance_10=(e,t,_,r,o,n,i,c,s,P)=>(Bt=p._emscripten_bind_PeLineType_geodetic_distance_10=ee.ob)(e,t,_,r,o,n,i,c,s,P),Kt=p._emscripten_bind_PeLineType_geodetic_coordinate_9=(e,t,_,r,o,n,i,c,s)=>(Kt=p._emscripten_bind_PeLineType_geodetic_coordinate_9=ee.pb)(e,t,_,r,o,n,i,c,s),Vt=p._emscripten_bind_PeLineType_geodesic_coordinate_8=(e,t,_,r,o,n,i,c)=>(Vt=p._emscripten_bind_PeLineType_geodesic_coordinate_8=ee.qb)(e,t,_,r,o,n,i,c),kt=p._emscripten_bind_PeLineType_great_elliptic_distance_9=(e,t,_,r,o,n,i,c,s)=>(kt=p._emscripten_bind_PeLineType_great_elliptic_distance_9=ee.rb)(e,t,_,r,o,n,i,c,s),$t=p._emscripten_bind_PeMath_phi_to_eta_2=(e,t)=>($t=p._emscripten_bind_PeMath_phi_to_eta_2=ee.sb)(e,t),Jt=p._emscripten_bind_PeMath_eta_to_phi_2=(e,t)=>(Jt=p._emscripten_bind_PeMath_eta_to_phi_2=ee.tb)(e,t),Qt=p._emscripten_bind_PeMath_phi_to_phig_2=(e,t)=>(Qt=p._emscripten_bind_PeMath_phi_to_phig_2=ee.ub)(e,t),e_=p._emscripten_bind_PeMath_q_3=(e,t,_)=>(e_=p._emscripten_bind_PeMath_q_3=ee.vb)(e,t,_),t_=p._emscripten_bind_PeMath_q90_2=(e,t)=>(t_=p._emscripten_bind_PeMath_q90_2=ee.wb)(e,t),__=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_NEW_0=e=>(__=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_NEW_0=ee.xb)(e),r_=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_OLD_0=e=>(r_=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_OLD_0=ee.yb)(e),o_=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_AUTO_0=e=>(o_=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_AUTO_0=ee.zb)(e),n_=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_180_ZONE_1_PLUS_0=e=>(n_=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_180_ZONE_1_PLUS_0=ee.Ab)(e),p_=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_ADD_SPACES_0=e=>(p_=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_ADD_SPACES_0=ee.Bb)(e),i_=p._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NONE_0=e=>(i_=p._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NONE_0=ee.Cb)(e),c_=p._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_0=e=>(c_=p._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_0=ee.Db)(e),s_=p._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_STRICT_0=e=>(s_=p._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_STRICT_0=ee.Eb)(e),P_=p._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_ADD_SPACES_0=e=>(P_=p._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_ADD_SPACES_0=ee.Fb)(e),a_=p._emscripten_bind_PeParameter_getValue_0=e=>(a_=p._emscripten_bind_PeParameter_getValue_0=ee.Gb)(e),g_=p._emscripten_bind_PeParameter_getCode_0=e=>(g_=p._emscripten_bind_PeParameter_getCode_0=ee.Hb)(e),y_=p._emscripten_bind_PeParameter_getName_1=(e,t)=>(y_=p._emscripten_bind_PeParameter_getName_1=ee.Ib)(e,t),d_=p._emscripten_bind_PeParameter_getType_0=e=>(d_=p._emscripten_bind_PeParameter_getType_0=ee.Jb)(e),u_=p._emscripten_bind_PePCSInfo_getCentralMeridian_0=e=>(u_=p._emscripten_bind_PePCSInfo_getCentralMeridian_0=ee.Kb)(e),b_=p._emscripten_bind_PePCSInfo_getDomainMinx_0=e=>(b_=p._emscripten_bind_PePCSInfo_getDomainMinx_0=ee.Lb)(e),f_=p._emscripten_bind_PePCSInfo_getDomainMiny_0=e=>(f_=p._emscripten_bind_PePCSInfo_getDomainMiny_0=ee.Mb)(e),E_=p._emscripten_bind_PePCSInfo_getDomainMaxx_0=e=>(E_=p._emscripten_bind_PePCSInfo_getDomainMaxx_0=ee.Nb)(e),m_=p._emscripten_bind_PePCSInfo_getDomainMaxy_0=e=>(m_=p._emscripten_bind_PePCSInfo_getDomainMaxy_0=ee.Ob)(e),T_=p._emscripten_bind_PePCSInfo_getNorthPoleLocation_0=e=>(T_=p._emscripten_bind_PePCSInfo_getNorthPoleLocation_0=ee.Pb)(e),O_=p._emscripten_bind_PePCSInfo_getNorthPoleGeometry_0=e=>(O_=p._emscripten_bind_PePCSInfo_getNorthPoleGeometry_0=ee.Qb)(e),S_=p._emscripten_bind_PePCSInfo_getSouthPoleLocation_0=e=>(S_=p._emscripten_bind_PePCSInfo_getSouthPoleLocation_0=ee.Rb)(e),l_=p._emscripten_bind_PePCSInfo_getSouthPoleGeometry_0=e=>(l_=p._emscripten_bind_PePCSInfo_getSouthPoleGeometry_0=ee.Sb)(e),h_=p._emscripten_bind_PePCSInfo_isDensificationNeeded_0=e=>(h_=p._emscripten_bind_PePCSInfo_isDensificationNeeded_0=ee.Tb)(e),N_=p._emscripten_bind_PePCSInfo_isGcsHorizonMultiOverlap_0=e=>(N_=p._emscripten_bind_PePCSInfo_isGcsHorizonMultiOverlap_0=ee.Ub)(e),M_=p._emscripten_bind_PePCSInfo_isPannableRectangle_0=e=>(M_=p._emscripten_bind_PePCSInfo_isPannableRectangle_0=ee.Vb)(e),D_=p._emscripten_bind_PePCSInfo_generate_2=(e,t)=>(D_=p._emscripten_bind_PePCSInfo_generate_2=ee.Wb)(e,t),v_=p._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_NONE_0=e=>(v_=p._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_NONE_0=ee.Xb)(e),A_=p._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_DOMAIN_0=e=>(A_=p._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_DOMAIN_0=ee.Yb)(e),j_=p._emscripten_bind_PePCSInfo_get_PE_POLE_OUTSIDE_BOUNDARY_0=e=>(j_=p._emscripten_bind_PePCSInfo_get_PE_POLE_OUTSIDE_BOUNDARY_0=ee.Zb)(e),R_=p._emscripten_bind_PePCSInfo_get_PE_POLE_POINT_0=e=>(R_=p._emscripten_bind_PePCSInfo_get_PE_POLE_POINT_0=ee._b)(e),G_=p._emscripten_bind_PePrimem_getLongitude_0=e=>(G_=p._emscripten_bind_PePrimem_getLongitude_0=ee.$b)(e),C_=p._emscripten_bind_PePrimem_getCode_0=e=>(C_=p._emscripten_bind_PePrimem_getCode_0=ee.ac)(e),I_=p._emscripten_bind_PePrimem_getName_1=(e,t)=>(I_=p._emscripten_bind_PePrimem_getName_1=ee.bc)(e,t),L_=p._emscripten_bind_PePrimem_getType_0=e=>(L_=p._emscripten_bind_PePrimem_getType_0=ee.cc)(e),U_=p._emscripten_bind_PeProjcs_Delete_0=e=>(U_=p._emscripten_bind_PeProjcs_Delete_0=ee.dc)(e),F_=p._emscripten_bind_PeProjcs_getGeogcs_0=e=>(F_=p._emscripten_bind_PeProjcs_getGeogcs_0=ee.ec)(e),w_=p._emscripten_bind_PeProjcs_getProjection_0=e=>(w_=p._emscripten_bind_PeProjcs_getProjection_0=ee.fc)(e),Y_=p._emscripten_bind_PeProjcs_getParameters_0=e=>(Y_=p._emscripten_bind_PeProjcs_getParameters_0=ee.gc)(e),x_=p._emscripten_bind_PeProjcs_getUnit_0=e=>(x_=p._emscripten_bind_PeProjcs_getUnit_0=ee.hc)(e),H_=p._emscripten_bind_PeProjcs_loadConstants_0=e=>(H_=p._emscripten_bind_PeProjcs_loadConstants_0=ee.ic)(e),X_=p._emscripten_bind_PeProjcs_horizonGcsGenerate_0=e=>(X_=p._emscripten_bind_PeProjcs_horizonGcsGenerate_0=ee.jc)(e),z_=p._emscripten_bind_PeProjcs_horizonPcsGenerate_0=e=>(z_=p._emscripten_bind_PeProjcs_horizonPcsGenerate_0=ee.kc)(e),W_=p._emscripten_bind_PeProjcs_isEqual_1=(e,t)=>(W_=p._emscripten_bind_PeProjcs_isEqual_1=ee.lc)(e,t),Z_=p._emscripten_bind_PeProjcs_getCode_0=e=>(Z_=p._emscripten_bind_PeProjcs_getCode_0=ee.mc)(e),q_=p._emscripten_bind_PeProjcs_getName_1=(e,t)=>(q_=p._emscripten_bind_PeProjcs_getName_1=ee.nc)(e,t),B_=p._emscripten_bind_PeProjcs_getType_0=e=>(B_=p._emscripten_bind_PeProjcs_getType_0=ee.oc)(e),K_=p._emscripten_bind_PeSpheroid_getAxis_0=e=>(K_=p._emscripten_bind_PeSpheroid_getAxis_0=ee.pc)(e),V_=p._emscripten_bind_PeSpheroid_getFlattening_0=e=>(V_=p._emscripten_bind_PeSpheroid_getFlattening_0=ee.qc)(e),k_=p._emscripten_bind_PeSpheroid_getCode_0=e=>(k_=p._emscripten_bind_PeSpheroid_getCode_0=ee.rc)(e),$_=p._emscripten_bind_PeSpheroid_getName_1=(e,t)=>($_=p._emscripten_bind_PeSpheroid_getName_1=ee.sc)(e,t),J_=p._emscripten_bind_PeSpheroid_getType_0=e=>(J_=p._emscripten_bind_PeSpheroid_getType_0=ee.tc)(e),Q_=p._emscripten_bind_PeVersion_version_string_0=e=>(Q_=p._emscripten_bind_PeVersion_version_string_0=ee.uc)(e);function er(){G>0||(Y(A),G>0||te||(te=!0,p.calledRun=!0,M||(Y(j),_(p),Y(R))))}function tr(){}function _r(e){return(e||tr).__cache__}function rr(e,t){var _=_r(t),r=_[e];return r||((r=Object.create((t||tr).prototype)).ptr=e,_[e]=r)}p._pe_getPeGTlistExtendedEntrySize=()=>(p._pe_getPeGTlistExtendedEntrySize=ee.vc)(),p._pe_getPeGTlistExtendedGTsSize=()=>(p._pe_getPeGTlistExtendedGTsSize=ee.wc)(),p._pe_getPeHorizonSize=()=>(p._pe_getPeHorizonSize=ee.xc)(),p._pe_geog_to_geog=(e,t,_,r,o)=>(p._pe_geog_to_geog=ee.zc)(e,t,_,r,o),p._pe_geog_to_proj=(e,t,_)=>(p._pe_geog_to_proj=ee.Ac)(e,t,_),p._pe_geog_to_dd=(e,t,_,r,o)=>(p._pe_geog_to_dd=ee.Bc)(e,t,_,r,o),p._pe_dd_to_geog=(e,t,_,r)=>(p._pe_dd_to_geog=ee.Cc)(e,t,_,r),p._pe_geog_to_ddm=(e,t,_,r,o)=>(p._pe_geog_to_ddm=ee.Dc)(e,t,_,r,o),p._pe_ddm_to_geog=(e,t,_,r)=>(p._pe_ddm_to_geog=ee.Ec)(e,t,_,r),p._pe_geog_to_dms=(e,t,_,r,o)=>(p._pe_geog_to_dms=ee.Fc)(e,t,_,r,o),p._pe_dms_to_geog=(e,t,_,r)=>(p._pe_dms_to_geog=ee.Gc)(e,t,_,r),p._pe_geog_to_mgrs_extended=(e,t,_,r,o,n,i)=>(p._pe_geog_to_mgrs_extended=ee.Hc)(e,t,_,r,o,n,i),p._pe_mgrs_to_geog_extended=(e,t,_,r,o)=>(p._pe_mgrs_to_geog_extended=ee.Ic)(e,t,_,r,o),p._pe_geog_to_usng=(e,t,_,r,o,n,i)=>(p._pe_geog_to_usng=ee.Jc)(e,t,_,r,o,n,i),p._pe_usng_to_geog=(e,t,_,r)=>(p._pe_usng_to_geog=ee.Kc)(e,t,_,r),p._pe_geog_to_utm=(e,t,_,r,o)=>(p._pe_geog_to_utm=ee.Lc)(e,t,_,r,o),p._pe_utm_to_geog=(e,t,_,r,o)=>(p._pe_utm_to_geog=ee.Mc)(e,t,_,r,o),p._pe_object_to_string_ext=(e,t,_)=>(p._pe_object_to_string_ext=ee.Nc)(e,t,_),p._pe_proj_to_geog_center=(e,t,_,r)=>(p._pe_proj_to_geog_center=ee.Oc)(e,t,_,r),p.getValue=function(e,t="i8"){switch(t.endsWith("*")&&(t="*"),t){case"i1":case"i8":return m[e];case"i16":return O[e>>1];case"i32":return S[e>>2];case"i64":I("to do getValue(i64) use WASM_BIGINT");case"float":return h[e>>2];case"double":return N[e>>3];case"*":return l[e>>2];default:I(`invalid type for getValue: ${t}`)}},p.UTF8ToString=X,C=function e(){te||er(),te||(C=e)},er(),tr.prototype=Object.create(tr.prototype),tr.prototype.constructor=tr,tr.prototype.__class__=tr,tr.__cache__={},p.WrapperObject=tr,p.getCache=_r,p.wrapPointer=rr,p.castObject=function(e,t){return rr(e.ptr,t)},p.NULL=rr(0),p.destroy=function(e){if(!e.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";e.__destroy__(),delete _r(e.__class__)[e.ptr]},p.compare=function(e,t){return e.ptr===t.ptr},p.getPointer=function(e){return e.ptr},p.getClass=function(e){return e.__class__};var or={buffer:0,size:0,pos:0,temps:[],needed:0,prepare(){if(or.needed){for(var e=0;e<or.temps.length;e++)p._webidl_free(or.temps[e]);or.temps.length=0,p._webidl_free(or.buffer),or.buffer=0,or.size+=or.needed,or.needed=0}or.buffer||(or.size+=128,or.buffer=p._webidl_malloc(or.size),D(or.buffer)),or.pos=0},alloc(e,t){D(or.buffer);var _,r=t.BYTES_PER_ELEMENT,o=e.length*r;return o=B(o,8),or.pos+o>=or.size?(D(o>0),or.needed+=o,_=p._webidl_malloc(o),or.temps.push(_)):(_=or.buffer+or.pos,or.pos+=o),_},copy(e,t,_){_/=t.BYTES_PER_ELEMENT;for(var r=0;r<e.length;r++)t[_+r]=e[r]}};function nr(e){if("string"==typeof e){var t=function(e){var t=(e=>{for(var t=0,_=0;_<e.length;++_){var r=e.charCodeAt(_);r<=127?t++:r<=2047?t+=2:r>=55296&&r<=57343?(t+=4,++_):t+=3}return t})(e)+1,_=new Array(t);return z(e,_,0,_.length),_}(e),_=or.alloc(t,m);return or.copy(t,m,_),_}return e}function pr(e){if("object"==typeof e){var t=or.alloc(e,m);return or.copy(e,m,t),t}return e}function ir(){throw"cannot construct a PeObject, no constructor in IDL"}function cr(){throw"cannot construct a PeCoordsys, no constructor in IDL"}function sr(){throw"cannot construct a PeUnit, no constructor in IDL"}function Pr(){throw"cannot construct a VoidPtr, no constructor in IDL"}function ar(){throw"cannot construct a PeAngunit, no constructor in IDL"}function gr(){throw"cannot construct a PeDatum, no constructor in IDL"}function yr(){throw"cannot construct a PeDefs, no constructor in IDL"}function dr(e){e&&"object"==typeof e&&(e=e.ptr),this.ptr=et(e),_r(dr)[this.ptr]=this}function ur(){throw"cannot construct a PeFactory, no constructor in IDL"}function br(e,t,_,r,o,n){e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),n&&"object"==typeof n&&(n=n.ptr),this.ptr=ct(e,t,_,r,o,n),_r(br)[this.ptr]=this}function fr(){throw"cannot construct a PeGeogcs, no constructor in IDL"}function Er(){throw"cannot construct a PeGeogtran, no constructor in IDL"}function mr(){throw"cannot construct a PeGTlistExtended, no constructor in IDL"}function Tr(){throw"cannot construct a PeGTlistExtendedEntry, no constructor in IDL"}function Or(){throw"cannot construct a PeGTlistExtendedGTs, no constructor in IDL"}function Sr(){throw"cannot construct a PeHorizon, no constructor in IDL"}function lr(e){e&&"object"==typeof e&&(e=e.ptr),this.ptr=zt(e),_r(lr)[this.ptr]=this}function hr(){throw"cannot construct a PeLineType, no constructor in IDL"}function Nr(){throw"cannot construct a PeMath, no constructor in IDL"}function Mr(){throw"cannot construct a PeNotationMgrs, no constructor in IDL"}function Dr(){throw"cannot construct a PeNotationUtm, no constructor in IDL"}function vr(){throw"cannot construct a PeParameter, no constructor in IDL"}function Ar(){throw"cannot construct a PePCSInfo, no constructor in IDL"}function jr(){throw"cannot construct a PePrimem, no constructor in IDL"}function Rr(){throw"cannot construct a PeProjcs, no constructor in IDL"}function Gr(){throw"cannot construct a PeSpheroid, no constructor in IDL"}function Cr(){throw"cannot construct a PeVersion, no constructor in IDL"}return ir.prototype=Object.create(tr.prototype),ir.prototype.constructor=ir,ir.prototype.__class__=ir,ir.__cache__={},p.PeObject=ir,ir.prototype.getCode=ir.prototype.getCode=function(){var e=this.ptr;return _e(e)},ir.prototype.getName=ir.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(re(t,e))},ir.prototype.getType=ir.prototype.getType=function(){var e=this.ptr;return oe(e)},cr.prototype=Object.create(ir.prototype),cr.prototype.constructor=cr,cr.prototype.__class__=cr,cr.__cache__={},p.PeCoordsys=cr,cr.prototype.isEqual=cr.prototype.isEqual=function(e){var t=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),!!ne(t,e)},cr.prototype.getCode=cr.prototype.getCode=function(){var e=this.ptr;return pe(e)},cr.prototype.getName=cr.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(ie(t,e))},cr.prototype.getType=cr.prototype.getType=function(){var e=this.ptr;return ce(e)},sr.prototype=Object.create(ir.prototype),sr.prototype.constructor=sr,sr.prototype.__class__=sr,sr.__cache__={},p.PeUnit=sr,sr.prototype.getUnitFactor=sr.prototype.getUnitFactor=function(){var e=this.ptr;return se(e)},sr.prototype.getCode=sr.prototype.getCode=function(){var e=this.ptr;return Pe(e)},sr.prototype.getName=sr.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(ae(t,e))},sr.prototype.getType=sr.prototype.getType=function(){var e=this.ptr;return ge(e)},Pr.prototype=Object.create(tr.prototype),Pr.prototype.constructor=Pr,Pr.prototype.__class__=Pr,Pr.__cache__={},p.VoidPtr=Pr,Pr.prototype.__destroy__=Pr.prototype.__destroy__=function(){var e=this.ptr;ye(e)},ar.prototype=Object.create(sr.prototype),ar.prototype.constructor=ar,ar.prototype.__class__=ar,ar.__cache__={},p.PeAngunit=ar,ar.prototype.getCode=ar.prototype.getCode=function(){var e=this.ptr;return de(e)},ar.prototype.getName=ar.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(ue(t,e))},ar.prototype.getType=ar.prototype.getType=function(){var e=this.ptr;return be(e)},ar.prototype.getUnitFactor=ar.prototype.getUnitFactor=function(){var e=this.ptr;return fe(e)},gr.prototype=Object.create(ir.prototype),gr.prototype.constructor=gr,gr.prototype.__class__=gr,gr.__cache__={},p.PeDatum=gr,gr.prototype.getSpheroid=gr.prototype.getSpheroid=function(){var e=this.ptr;return rr(Ee(e),Gr)},gr.prototype.getCode=gr.prototype.getCode=function(){var e=this.ptr;return me(e)},gr.prototype.getName=gr.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(Te(t,e))},gr.prototype.getType=gr.prototype.getType=function(){var e=this.ptr;return Oe(e)},yr.prototype=Object.create(tr.prototype),yr.prototype.constructor=yr,yr.prototype.__class__=yr,yr.__cache__={},p.PeDefs=yr,yr.prototype.get_PE_BUFFER_MAX=yr.prototype.get_PE_BUFFER_MAX=function(){var e=this.ptr;return Se(e)},Object.defineProperty(yr.prototype,"PE_BUFFER_MAX",{get:yr.prototype.get_PE_BUFFER_MAX}),yr.prototype.get_PE_NAME_MAX=yr.prototype.get_PE_NAME_MAX=function(){var e=this.ptr;return le(e)},Object.defineProperty(yr.prototype,"PE_NAME_MAX",{get:yr.prototype.get_PE_NAME_MAX}),yr.prototype.get_PE_MGRS_MAX=yr.prototype.get_PE_MGRS_MAX=function(){var e=this.ptr;return he(e)},Object.defineProperty(yr.prototype,"PE_MGRS_MAX",{get:yr.prototype.get_PE_MGRS_MAX}),yr.prototype.get_PE_USNG_MAX=yr.prototype.get_PE_USNG_MAX=function(){var e=this.ptr;return Ne(e)},Object.defineProperty(yr.prototype,"PE_USNG_MAX",{get:yr.prototype.get_PE_USNG_MAX}),yr.prototype.get_PE_DD_MAX=yr.prototype.get_PE_DD_MAX=function(){var e=this.ptr;return Me(e)},Object.defineProperty(yr.prototype,"PE_DD_MAX",{get:yr.prototype.get_PE_DD_MAX}),yr.prototype.get_PE_DMS_MAX=yr.prototype.get_PE_DMS_MAX=function(){var e=this.ptr;return De(e)},Object.defineProperty(yr.prototype,"PE_DMS_MAX",{get:yr.prototype.get_PE_DMS_MAX}),yr.prototype.get_PE_DDM_MAX=yr.prototype.get_PE_DDM_MAX=function(){var e=this.ptr;return ve(e)},Object.defineProperty(yr.prototype,"PE_DDM_MAX",{get:yr.prototype.get_PE_DDM_MAX}),yr.prototype.get_PE_UTM_MAX=yr.prototype.get_PE_UTM_MAX=function(){var e=this.ptr;return Ae(e)},Object.defineProperty(yr.prototype,"PE_UTM_MAX",{get:yr.prototype.get_PE_UTM_MAX}),yr.prototype.get_PE_PARM_MAX=yr.prototype.get_PE_PARM_MAX=function(){var e=this.ptr;return je(e)},Object.defineProperty(yr.prototype,"PE_PARM_MAX",{get:yr.prototype.get_PE_PARM_MAX}),yr.prototype.get_PE_TYPE_NONE=yr.prototype.get_PE_TYPE_NONE=function(){var e=this.ptr;return Re(e)},Object.defineProperty(yr.prototype,"PE_TYPE_NONE",{get:yr.prototype.get_PE_TYPE_NONE}),yr.prototype.get_PE_TYPE_GEOGCS=yr.prototype.get_PE_TYPE_GEOGCS=function(){var e=this.ptr;return Ge(e)},Object.defineProperty(yr.prototype,"PE_TYPE_GEOGCS",{get:yr.prototype.get_PE_TYPE_GEOGCS}),yr.prototype.get_PE_TYPE_PROJCS=yr.prototype.get_PE_TYPE_PROJCS=function(){var e=this.ptr;return Ce(e)},Object.defineProperty(yr.prototype,"PE_TYPE_PROJCS",{get:yr.prototype.get_PE_TYPE_PROJCS}),yr.prototype.get_PE_TYPE_GEOGTRAN=yr.prototype.get_PE_TYPE_GEOGTRAN=function(){var e=this.ptr;return Ie(e)},Object.defineProperty(yr.prototype,"PE_TYPE_GEOGTRAN",{get:yr.prototype.get_PE_TYPE_GEOGTRAN}),yr.prototype.get_PE_TYPE_COORDSYS=yr.prototype.get_PE_TYPE_COORDSYS=function(){var e=this.ptr;return Le(e)},Object.defineProperty(yr.prototype,"PE_TYPE_COORDSYS",{get:yr.prototype.get_PE_TYPE_COORDSYS}),yr.prototype.get_PE_TYPE_UNIT=yr.prototype.get_PE_TYPE_UNIT=function(){var e=this.ptr;return Ue(e)},Object.defineProperty(yr.prototype,"PE_TYPE_UNIT",{get:yr.prototype.get_PE_TYPE_UNIT}),yr.prototype.get_PE_TYPE_LINUNIT=yr.prototype.get_PE_TYPE_LINUNIT=function(){var e=this.ptr;return Fe(e)},Object.defineProperty(yr.prototype,"PE_TYPE_LINUNIT",{get:yr.prototype.get_PE_TYPE_LINUNIT}),yr.prototype.get_PE_STR_OPTS_NONE=yr.prototype.get_PE_STR_OPTS_NONE=function(){var e=this.ptr;return we(e)},Object.defineProperty(yr.prototype,"PE_STR_OPTS_NONE",{get:yr.prototype.get_PE_STR_OPTS_NONE}),yr.prototype.get_PE_STR_AUTH_NONE=yr.prototype.get_PE_STR_AUTH_NONE=function(){var e=this.ptr;return Ye(e)},Object.defineProperty(yr.prototype,"PE_STR_AUTH_NONE",{get:yr.prototype.get_PE_STR_AUTH_NONE}),yr.prototype.get_PE_STR_AUTH_TOP=yr.prototype.get_PE_STR_AUTH_TOP=function(){var e=this.ptr;return xe(e)},Object.defineProperty(yr.prototype,"PE_STR_AUTH_TOP",{get:yr.prototype.get_PE_STR_AUTH_TOP}),yr.prototype.get_PE_STR_NAME_CANON=yr.prototype.get_PE_STR_NAME_CANON=function(){var e=this.ptr;return He(e)},Object.defineProperty(yr.prototype,"PE_STR_NAME_CANON",{get:yr.prototype.get_PE_STR_NAME_CANON}),yr.prototype.get_PE_STR_FMT_WKT=yr.prototype.get_PE_STR_FMT_WKT=function(){var e=this.ptr;return Xe(e)},Object.defineProperty(yr.prototype,"PE_STR_FMT_WKT",{get:yr.prototype.get_PE_STR_FMT_WKT}),yr.prototype.get_PE_STR_FMT_WKT2=yr.prototype.get_PE_STR_FMT_WKT2=function(){var e=this.ptr;return ze(e)},Object.defineProperty(yr.prototype,"PE_STR_FMT_WKT2",{get:yr.prototype.get_PE_STR_FMT_WKT2}),yr.prototype.get_PE_PARM_X0=yr.prototype.get_PE_PARM_X0=function(){var e=this.ptr;return We(e)},Object.defineProperty(yr.prototype,"PE_PARM_X0",{get:yr.prototype.get_PE_PARM_X0}),yr.prototype.get_PE_PARM_ND=yr.prototype.get_PE_PARM_ND=function(){var e=this.ptr;return Ze(e)},Object.defineProperty(yr.prototype,"PE_PARM_ND",{get:yr.prototype.get_PE_PARM_ND}),yr.prototype.get_PE_TRANSFORM_1_TO_2=yr.prototype.get_PE_TRANSFORM_1_TO_2=function(){var e=this.ptr;return qe(e)},Object.defineProperty(yr.prototype,"PE_TRANSFORM_1_TO_2",{get:yr.prototype.get_PE_TRANSFORM_1_TO_2}),yr.prototype.get_PE_TRANSFORM_2_TO_1=yr.prototype.get_PE_TRANSFORM_2_TO_1=function(){var e=this.ptr;return Be(e)},Object.defineProperty(yr.prototype,"PE_TRANSFORM_2_TO_1",{get:yr.prototype.get_PE_TRANSFORM_2_TO_1}),yr.prototype.get_PE_TRANSFORM_P_TO_G=yr.prototype.get_PE_TRANSFORM_P_TO_G=function(){var e=this.ptr;return Ke(e)},Object.defineProperty(yr.prototype,"PE_TRANSFORM_P_TO_G",{get:yr.prototype.get_PE_TRANSFORM_P_TO_G}),yr.prototype.get_PE_TRANSFORM_G_TO_P=yr.prototype.get_PE_TRANSFORM_G_TO_P=function(){var e=this.ptr;return Ve(e)},Object.defineProperty(yr.prototype,"PE_TRANSFORM_G_TO_P",{get:yr.prototype.get_PE_TRANSFORM_G_TO_P}),yr.prototype.get_PE_HORIZON_RECT=yr.prototype.get_PE_HORIZON_RECT=function(){var e=this.ptr;return ke(e)},Object.defineProperty(yr.prototype,"PE_HORIZON_RECT",{get:yr.prototype.get_PE_HORIZON_RECT}),yr.prototype.get_PE_HORIZON_POLY=yr.prototype.get_PE_HORIZON_POLY=function(){var e=this.ptr;return $e(e)},Object.defineProperty(yr.prototype,"PE_HORIZON_POLY",{get:yr.prototype.get_PE_HORIZON_POLY}),yr.prototype.get_PE_HORIZON_LINE=yr.prototype.get_PE_HORIZON_LINE=function(){var e=this.ptr;return Je(e)},Object.defineProperty(yr.prototype,"PE_HORIZON_LINE",{get:yr.prototype.get_PE_HORIZON_LINE}),yr.prototype.get_PE_HORIZON_DELTA=yr.prototype.get_PE_HORIZON_DELTA=function(){var e=this.ptr;return Qe(e)},Object.defineProperty(yr.prototype,"PE_HORIZON_DELTA",{get:yr.prototype.get_PE_HORIZON_DELTA}),dr.prototype=Object.create(tr.prototype),dr.prototype.constructor=dr,dr.prototype.__class__=dr,dr.__cache__={},p.PeDouble=dr,dr.prototype.get_val=dr.prototype.get_val=function(){var e=this.ptr;return tt(e)},dr.prototype.set_val=dr.prototype.set_val=function(e){var t=this.ptr;e&&"object"==typeof e&&(e=e.ptr),_t(t,e)},Object.defineProperty(dr.prototype,"val",{get:dr.prototype.get_val,set:dr.prototype.set_val}),dr.prototype.__destroy__=dr.prototype.__destroy__=function(){var e=this.ptr;rt(e)},ur.prototype=Object.create(tr.prototype),ur.prototype.constructor=ur,ur.prototype.__class__=ur,ur.__cache__={},p.PeFactory=ur,ur.prototype.initialize=ur.prototype.initialize=function(e){or.prepare(),e=e&&"object"==typeof e?e.ptr:nr(e),ot(e)},ur.prototype.factoryByType=ur.prototype.factoryByType=function(e,t){return e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),rr(nt(e,t),ir)},ur.prototype.fromString=ur.prototype.fromString=function(e,t){return or.prepare(),e&&"object"==typeof e&&(e=e.ptr),t=t&&"object"==typeof t?t.ptr:nr(t),rr(pt(e,t),ir)},ur.prototype.getCode=ur.prototype.getCode=function(e){return e&&"object"==typeof e&&(e=e.ptr),it(e)},br.prototype=Object.create(tr.prototype),br.prototype.constructor=br,br.prototype.__class__=br,br.__cache__={},p.PeGCSExtent=br,br.prototype.getLLon=br.prototype.getLLon=function(){var e=this.ptr;return st(e)},br.prototype.getSLat=br.prototype.getSLat=function(){var e=this.ptr;return Pt(e)},br.prototype.getRLon=br.prototype.getRLon=function(){var e=this.ptr;return at(e)},br.prototype.getNLat=br.prototype.getNLat=function(){var e=this.ptr;return gt(e)},br.prototype.__destroy__=br.prototype.__destroy__=function(){var e=this.ptr;yt(e)},fr.prototype=Object.create(cr.prototype),fr.prototype.constructor=fr,fr.prototype.__class__=fr,fr.__cache__={},p.PeGeogcs=fr,fr.prototype.Delete=fr.prototype.Delete=function(){var e=this.ptr;dt(e)},fr.prototype.cloneAlterUnits=fr.prototype.cloneAlterUnits=function(e){var t=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),rr(ut(t,e),fr)},fr.prototype.getDatum=fr.prototype.getDatum=function(){var e=this.ptr;return rr(bt(e),gr)},fr.prototype.getPrimem=fr.prototype.getPrimem=function(){var e=this.ptr;return rr(ft(e),jr)},fr.prototype.getUnit=fr.prototype.getUnit=function(){var e=this.ptr;return rr(Et(e),ar)},fr.prototype.isEqual=fr.prototype.isEqual=function(e){var t=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),!!mt(t,e)},fr.prototype.getCode=fr.prototype.getCode=function(){var e=this.ptr;return Tt(e)},fr.prototype.getName=fr.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(Ot(t,e))},fr.prototype.getType=fr.prototype.getType=function(){var e=this.ptr;return St(e)},Er.prototype=Object.create(ir.prototype),Er.prototype.constructor=Er,Er.prototype.__class__=Er,Er.__cache__={},p.PeGeogtran=Er,Er.prototype.isEqual=Er.prototype.isEqual=function(e){var t=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),!!lt(t,e)},Er.prototype.getGeogcs1=Er.prototype.getGeogcs1=function(){var e=this.ptr;return rr(ht(e),fr)},Er.prototype.getGeogcs2=Er.prototype.getGeogcs2=function(){var e=this.ptr;return rr(Nt(e),fr)},Er.prototype.getParameters=Er.prototype.getParameters=function(){var e=this.ptr;return Mt(e)},Er.prototype.loadConstants=Er.prototype.loadConstants=function(){var e=this.ptr;return!!Dt(e)},Er.prototype.getCode=Er.prototype.getCode=function(){var e=this.ptr;return vt(e)},Er.prototype.getName=Er.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(At(t,e))},Er.prototype.getType=Er.prototype.getType=function(){var e=this.ptr;return jt(e)},mr.prototype=Object.create(tr.prototype),mr.prototype.constructor=mr,mr.prototype.__class__=mr,mr.__cache__={},p.PeGTlistExtended=mr,mr.prototype.getGTlist=mr.prototype.getGTlist=function(e,t,_,r,o,n){return e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),n&&"object"==typeof n&&(n=n.ptr),rr(Rt(e,t,_,r,o,n),Tr)},mr.prototype.get_PE_GTLIST_OPTS_COMMON=mr.prototype.get_PE_GTLIST_OPTS_COMMON=function(){var e=this.ptr;return Gt(e)},Object.defineProperty(mr.prototype,"PE_GTLIST_OPTS_COMMON",{get:mr.prototype.get_PE_GTLIST_OPTS_COMMON}),Tr.prototype=Object.create(tr.prototype),Tr.prototype.constructor=Tr,Tr.prototype.__class__=Tr,Tr.__cache__={},p.PeGTlistExtendedEntry=Tr,Tr.prototype.getEntries=Tr.prototype.getEntries=function(){var e=this.ptr;return rr(Ct(e),Or)},Tr.prototype.getSteps=Tr.prototype.getSteps=function(){var e=this.ptr;return It(e)},Tr.prototype.Delete=Tr.prototype.Delete=function(e){e&&"object"==typeof e&&(e=e.ptr),Lt(e)},Or.prototype=Object.create(tr.prototype),Or.prototype.constructor=Or,Or.prototype.__class__=Or,Or.__cache__={},p.PeGTlistExtendedGTs=Or,Or.prototype.getDirection=Or.prototype.getDirection=function(){var e=this.ptr;return Ut(e)},Or.prototype.getGeogtran=Or.prototype.getGeogtran=function(){var e=this.ptr;return rr(Ft(e),Er)},Sr.prototype=Object.create(tr.prototype),Sr.prototype.constructor=Sr,Sr.prototype.__class__=Sr,Sr.__cache__={},p.PeHorizon=Sr,Sr.prototype.getNump=Sr.prototype.getNump=function(){var e=this.ptr;return wt(e)},Sr.prototype.getKind=Sr.prototype.getKind=function(){var e=this.ptr;return Yt(e)},Sr.prototype.getInclusive=Sr.prototype.getInclusive=function(){var e=this.ptr;return xt(e)},Sr.prototype.getSize=Sr.prototype.getSize=function(){var e=this.ptr;return Ht(e)},Sr.prototype.getCoord=Sr.prototype.getCoord=function(){var e=this.ptr;return Xt(e)},lr.prototype=Object.create(tr.prototype),lr.prototype.constructor=lr,lr.prototype.__class__=lr,lr.__cache__={},p.PeInteger=lr,lr.prototype.get_val=lr.prototype.get_val=function(){var e=this.ptr;return Wt(e)},lr.prototype.set_val=lr.prototype.set_val=function(e){var t=this.ptr;e&&"object"==typeof e&&(e=e.ptr),Zt(t,e)},Object.defineProperty(lr.prototype,"val",{get:lr.prototype.get_val,set:lr.prototype.set_val}),lr.prototype.__destroy__=lr.prototype.__destroy__=function(){var e=this.ptr;qt(e)},hr.prototype=Object.create(tr.prototype),hr.prototype.constructor=hr,hr.prototype.__class__=hr,hr.__cache__={},p.PeLineType=hr,hr.prototype.geodetic_distance=hr.prototype.geodetic_distance=function(e,t,_,r,o,n,p,i,c,s){e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),n&&"object"==typeof n&&(n=n.ptr),p&&"object"==typeof p&&(p=p.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),s&&"object"==typeof s&&(s=s.ptr),Bt(e,t,_,r,o,n,p,i,c,s)},hr.prototype.geodetic_coordinate=hr.prototype.geodetic_coordinate=function(e,t,_,r,o,n,p,i,c){e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),n&&"object"==typeof n&&(n=n.ptr),p&&"object"==typeof p&&(p=p.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),Kt(e,t,_,r,o,n,p,i,c)},hr.prototype.geodesic_coordinate=hr.prototype.geodesic_coordinate=function(e,t,_,r,o,n,p,i){e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),n&&"object"==typeof n&&(n=n.ptr),p&&"object"==typeof p&&(p=p.ptr),i&&"object"==typeof i&&(i=i.ptr),Vt(e,t,_,r,o,n,p,i)},hr.prototype.great_elliptic_distance=hr.prototype.great_elliptic_distance=function(e,t,_,r,o,n,p,i,c){e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),n&&"object"==typeof n&&(n=n.ptr),p&&"object"==typeof p&&(p=p.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),kt(e,t,_,r,o,n,p,i,c)},Nr.prototype=Object.create(tr.prototype),Nr.prototype.constructor=Nr,Nr.prototype.__class__=Nr,Nr.__cache__={},p.PeMath=Nr,Nr.prototype.phi_to_eta=Nr.prototype.phi_to_eta=function(e,t){return e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),$t(e,t)},Nr.prototype.eta_to_phi=Nr.prototype.eta_to_phi=function(e,t){return e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),Jt(e,t)},Nr.prototype.phi_to_phig=Nr.prototype.phi_to_phig=function(e,t){return e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),Qt(e,t)},Nr.prototype.q=Nr.prototype.q=function(e,t,_){return e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),_&&"object"==typeof _&&(_=_.ptr),e_(e,t,_)},Nr.prototype.q90=Nr.prototype.q90=function(e,t){return e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),t_(e,t)},Mr.prototype=Object.create(tr.prototype),Mr.prototype.constructor=Mr,Mr.prototype.__class__=Mr,Mr.__cache__={},p.PeNotationMgrs=Mr,Mr.prototype.get_PE_MGRS_STYLE_NEW=Mr.prototype.get_PE_MGRS_STYLE_NEW=function(){var e=this.ptr;return __(e)},Object.defineProperty(Mr.prototype,"PE_MGRS_STYLE_NEW",{get:Mr.prototype.get_PE_MGRS_STYLE_NEW}),Mr.prototype.get_PE_MGRS_STYLE_OLD=Mr.prototype.get_PE_MGRS_STYLE_OLD=function(){var e=this.ptr;return r_(e)},Object.defineProperty(Mr.prototype,"PE_MGRS_STYLE_OLD",{get:Mr.prototype.get_PE_MGRS_STYLE_OLD}),Mr.prototype.get_PE_MGRS_STYLE_AUTO=Mr.prototype.get_PE_MGRS_STYLE_AUTO=function(){var e=this.ptr;return o_(e)},Object.defineProperty(Mr.prototype,"PE_MGRS_STYLE_AUTO",{get:Mr.prototype.get_PE_MGRS_STYLE_AUTO}),Mr.prototype.get_PE_MGRS_180_ZONE_1_PLUS=Mr.prototype.get_PE_MGRS_180_ZONE_1_PLUS=function(){var e=this.ptr;return n_(e)},Object.defineProperty(Mr.prototype,"PE_MGRS_180_ZONE_1_PLUS",{get:Mr.prototype.get_PE_MGRS_180_ZONE_1_PLUS}),Mr.prototype.get_PE_MGRS_ADD_SPACES=Mr.prototype.get_PE_MGRS_ADD_SPACES=function(){var e=this.ptr;return p_(e)},Object.defineProperty(Mr.prototype,"PE_MGRS_ADD_SPACES",{get:Mr.prototype.get_PE_MGRS_ADD_SPACES}),Dr.prototype=Object.create(tr.prototype),Dr.prototype.constructor=Dr,Dr.prototype.__class__=Dr,Dr.__cache__={},p.PeNotationUtm=Dr,Dr.prototype.get_PE_UTM_OPTS_NONE=Dr.prototype.get_PE_UTM_OPTS_NONE=function(){var e=this.ptr;return i_(e)},Object.defineProperty(Dr.prototype,"PE_UTM_OPTS_NONE",{get:Dr.prototype.get_PE_UTM_OPTS_NONE}),Dr.prototype.get_PE_UTM_OPTS_NS=Dr.prototype.get_PE_UTM_OPTS_NS=function(){var e=this.ptr;return c_(e)},Object.defineProperty(Dr.prototype,"PE_UTM_OPTS_NS",{get:Dr.prototype.get_PE_UTM_OPTS_NS}),Dr.prototype.get_PE_UTM_OPTS_NS_STRICT=Dr.prototype.get_PE_UTM_OPTS_NS_STRICT=function(){var e=this.ptr;return s_(e)},Object.defineProperty(Dr.prototype,"PE_UTM_OPTS_NS_STRICT",{get:Dr.prototype.get_PE_UTM_OPTS_NS_STRICT}),Dr.prototype.get_PE_UTM_OPTS_ADD_SPACES=Dr.prototype.get_PE_UTM_OPTS_ADD_SPACES=function(){var e=this.ptr;return P_(e)},Object.defineProperty(Dr.prototype,"PE_UTM_OPTS_ADD_SPACES",{get:Dr.prototype.get_PE_UTM_OPTS_ADD_SPACES}),vr.prototype=Object.create(ir.prototype),vr.prototype.constructor=vr,vr.prototype.__class__=vr,vr.__cache__={},p.PeParameter=vr,vr.prototype.getValue=vr.prototype.getValue=function(){var e=this.ptr;return a_(e)},vr.prototype.getCode=vr.prototype.getCode=function(){var e=this.ptr;return g_(e)},vr.prototype.getName=vr.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(y_(t,e))},vr.prototype.getType=vr.prototype.getType=function(){var e=this.ptr;return d_(e)},Ar.prototype=Object.create(tr.prototype),Ar.prototype.constructor=Ar,Ar.prototype.__class__=Ar,Ar.__cache__={},p.PePCSInfo=Ar,Ar.prototype.getCentralMeridian=Ar.prototype.getCentralMeridian=function(){var e=this.ptr;return u_(e)},Ar.prototype.getDomainMinx=Ar.prototype.getDomainMinx=function(){var e=this.ptr;return b_(e)},Ar.prototype.getDomainMiny=Ar.prototype.getDomainMiny=function(){var e=this.ptr;return f_(e)},Ar.prototype.getDomainMaxx=Ar.prototype.getDomainMaxx=function(){var e=this.ptr;return E_(e)},Ar.prototype.getDomainMaxy=Ar.prototype.getDomainMaxy=function(){var e=this.ptr;return m_(e)},Ar.prototype.getNorthPoleLocation=Ar.prototype.getNorthPoleLocation=function(){var e=this.ptr;return T_(e)},Ar.prototype.getNorthPoleGeometry=Ar.prototype.getNorthPoleGeometry=function(){var e=this.ptr;return O_(e)},Ar.prototype.getSouthPoleLocation=Ar.prototype.getSouthPoleLocation=function(){var e=this.ptr;return S_(e)},Ar.prototype.getSouthPoleGeometry=Ar.prototype.getSouthPoleGeometry=function(){var e=this.ptr;return l_(e)},Ar.prototype.isDensificationNeeded=Ar.prototype.isDensificationNeeded=function(){var e=this.ptr;return!!h_(e)},Ar.prototype.isGcsHorizonMultiOverlap=Ar.prototype.isGcsHorizonMultiOverlap=function(){var e=this.ptr;return!!N_(e)},Ar.prototype.isPannableRectangle=Ar.prototype.isPannableRectangle=function(){var e=this.ptr;return!!M_(e)},Ar.prototype.generate=Ar.prototype.generate=function(e,t){return e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),rr(D_(e,t),Ar)},Ar.prototype.get_PE_PCSINFO_OPTION_NONE=Ar.prototype.get_PE_PCSINFO_OPTION_NONE=function(){var e=this.ptr;return v_(e)},Object.defineProperty(Ar.prototype,"PE_PCSINFO_OPTION_NONE",{get:Ar.prototype.get_PE_PCSINFO_OPTION_NONE}),Ar.prototype.get_PE_PCSINFO_OPTION_DOMAIN=Ar.prototype.get_PE_PCSINFO_OPTION_DOMAIN=function(){var e=this.ptr;return A_(e)},Object.defineProperty(Ar.prototype,"PE_PCSINFO_OPTION_DOMAIN",{get:Ar.prototype.get_PE_PCSINFO_OPTION_DOMAIN}),Ar.prototype.get_PE_POLE_OUTSIDE_BOUNDARY=Ar.prototype.get_PE_POLE_OUTSIDE_BOUNDARY=function(){var e=this.ptr;return j_(e)},Object.defineProperty(Ar.prototype,"PE_POLE_OUTSIDE_BOUNDARY",{get:Ar.prototype.get_PE_POLE_OUTSIDE_BOUNDARY}),Ar.prototype.get_PE_POLE_POINT=Ar.prototype.get_PE_POLE_POINT=function(){var e=this.ptr;return R_(e)},Object.defineProperty(Ar.prototype,"PE_POLE_POINT",{get:Ar.prototype.get_PE_POLE_POINT}),jr.prototype=Object.create(ir.prototype),jr.prototype.constructor=jr,jr.prototype.__class__=jr,jr.__cache__={},p.PePrimem=jr,jr.prototype.getLongitude=jr.prototype.getLongitude=function(){var e=this.ptr;return G_(e)},jr.prototype.getCode=jr.prototype.getCode=function(){var e=this.ptr;return C_(e)},jr.prototype.getName=jr.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(I_(t,e))},jr.prototype.getType=jr.prototype.getType=function(){var e=this.ptr;return L_(e)},Rr.prototype=Object.create(cr.prototype),Rr.prototype.constructor=Rr,Rr.prototype.__class__=Rr,Rr.__cache__={},p.PeProjcs=Rr,Rr.prototype.Delete=Rr.prototype.Delete=function(){var e=this.ptr;U_(e)},Rr.prototype.getGeogcs=Rr.prototype.getGeogcs=function(){var e=this.ptr;return rr(F_(e),fr)},Rr.prototype.getProjection=Rr.prototype.getProjection=function(){var e=this.ptr;return rr(w_(e),ir)},Rr.prototype.getParameters=Rr.prototype.getParameters=function(){var e=this.ptr;return Y_(e)},Rr.prototype.getUnit=Rr.prototype.getUnit=function(){var e=this.ptr;return rr(x_(e),sr)},Rr.prototype.loadConstants=Rr.prototype.loadConstants=function(){var e=this.ptr;return!!H_(e)},Rr.prototype.horizonGcsGenerate=Rr.prototype.horizonGcsGenerate=function(){var e=this.ptr;return rr(X_(e),Sr)},Rr.prototype.horizonPcsGenerate=Rr.prototype.horizonPcsGenerate=function(){var e=this.ptr;return rr(z_(e),Sr)},Rr.prototype.isEqual=Rr.prototype.isEqual=function(e){var t=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),!!W_(t,e)},Rr.prototype.getCode=Rr.prototype.getCode=function(){var e=this.ptr;return Z_(e)},Rr.prototype.getName=Rr.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(q_(t,e))},Rr.prototype.getType=Rr.prototype.getType=function(){var e=this.ptr;return B_(e)},Gr.prototype=Object.create(ir.prototype),Gr.prototype.constructor=Gr,Gr.prototype.__class__=Gr,Gr.__cache__={},p.PeSpheroid=Gr,Gr.prototype.getAxis=Gr.prototype.getAxis=function(){var e=this.ptr;return K_(e)},Gr.prototype.getFlattening=Gr.prototype.getFlattening=function(){var e=this.ptr;return V_(e)},Gr.prototype.getCode=Gr.prototype.getCode=function(){var e=this.ptr;return k_(e)},Gr.prototype.getName=Gr.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X($_(t,e))},Gr.prototype.getType=Gr.prototype.getType=function(){var e=this.ptr;return J_(e)},Cr.prototype=Object.create(tr.prototype),Cr.prototype.constructor=Cr,Cr.prototype.__class__=Cr,Cr.__cache__={},p.PeVersion=Cr,Cr.prototype.version_string=Cr.prototype.version_string=function(){var e=this.ptr;return X(Q_(e))},p.ensureCache=or,p.ensureString=nr,p.ensureInt8=pr,p.ensureInt16=function(e){if("object"==typeof e){var t=or.alloc(e,O);return or.copy(e,O,t),t}return e},p.ensureInt32=function(e){if("object"==typeof e){var t=or.alloc(e,S);return or.copy(e,S,t),t}return e},p.ensureFloat32=function(e){if("object"==typeof e){var t=or.alloc(e,h);return or.copy(e,h,t),t}return e},p.ensureFloat64=function(e){if("object"==typeof e){var t=or.alloc(e,N);return or.copy(e,N,t),t}return e},i},e.exports=_),n.exports;var e,t,_}()),i=Object.freeze(Object.defineProperty({__proto__:null,default:p},Symbol.toStringTag,{value:"Module"}))}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3169,6061,6468,8125],{36633:(e,t,n)=>{n.d(t,{O:()=>l});var r=n(55537),s=n(79187),o=n(83661),i=n(12189);function a(){return u(new o.P,-1,Number.NaN)}function u(e,t,n){return{m_coordinate:e.clone(),m_vertexIndex:t,m_geometryIndex:0,m_distance:n,m_bRightSide:!1,isEmpty:c}}function c(){return Number.isNaN(this.m_distance)}function m(e,t,n=-1,a=-1){if(e.isEmpty())return 3;const u=e.getGeometryType();if((0,r.f)(u))return function(e,t,n,s){if(n>=0||s>=0)return(0,r.t)("");if(e.isDegenerate(0))return e.getStartXY().equals(t)?2:3;if(!e.isCurve()){const n=o.P.orientationRobust(t,e.getStartXY(),e.getEndXY());return n<0?1:n>0?0:2}const i=e.getClosestCoordinate(t,!1),a=e.getTangent(i),u=e.getCoord2D(i),c=o.P.orientationRobust(t,u,u.add(a));return c<0?1:c>0?0:2}(e,t,n,a);if(u===r.G.enumPolygon)return function(e,t,n,o){(n>=0||o>=0)&&(0,r.t)("");const a=new s.J;e.queryEnvelope(a);const u=(0,i.i)(e,t,0);return 0===u?0:1===u?1:2}(e,t,n,a);if(u===r.G.enumPolyline)return function(e,t,n,s){(n<0&&s>=0||n>=0&&s<0)&&(0,r.t)("");const i=e.querySegmentIterator();if(n<0){let e=Number.MAX_VALUE,r=0;for(;i.nextPath();)for(;i.hasNextSegment();){const a=i.nextSegment(),u=a.getClosestCoordinate(t,!1),c=a.getCoord2D(u),m=o.P.sqrDistance(c,t);m<e?(r=1,n=i.getStartPointIndex(),s=i.getPathIndex(),e=m):m===e&&r++}if(0===r)return 3;if(1===r)return i.resetToVertex(n,s),m(i.nextSegment(),t)}const a=function(e,t,n,r){const s={i1:-1,i2:-1,bRight1:!1,bRight2:!1};if(s.i1=function(e,t,n){for(e.resetToVertex(t,n);e.hasNextSegment();)if(!e.nextSegment().isDegenerate(0))return e.getStartPointIndex();for(e.resetToVertex(t,n);e.hasPreviousSegment();)if(!e.previousSegment().isDegenerate(0))return e.getStartPointIndex();return-1}(t,n,r),-1!==s.i1){t.resetToVertex(s.i1,-1);const n=t.nextSegment(),r=n.getClosestCoordinate(e,!1),i=n.getCoord2D(r),a=o.P.sqrDistance(i,e);{const t=i.clone();t.subThis(n.getStartXY());const r=e.clone();r.subThis(n.getStartXY()),s.bRight1=t.crossProduct(r)<0}if(s.i2=function(e,t){for(e.resetToVertex(t,-1),e.nextSegment();e.hasNextSegment();)if(!e.nextSegment().isDegenerate(0))return e.getStartPointIndex();return-1}(t,s.i1),-1!==s.i2){t.resetToVertex(s.i2,-1);const n=t.nextSegment(),r=n.getClosestCoordinate(e,!1),i=n.getCoord2D(r);if(o.P.sqrDistance(i,e)>a)s.i2=-1;else{const t=i.clone();t.subThis(n.getStartXY());const r=e.clone();r.subThis(n.getStartXY()),s.bRight2=t.crossProduct(r)<0}}if(-1===s.i2&&(s.i2=function(e,t){for(e.resetToVertex(t,-1);e.hasPreviousSegment();)if(!e.previousSegment().isDegenerate(0))return e.getStartPointIndex();return-1}(t,s.i1),-1!==s.i2)){t.resetToVertex(s.i2,-1);const n=t.nextSegment(),r=n.getClosestCoordinate(e,!1),i=n.getCoord2D(r);if(o.P.sqrDistance(i,e)>a)s.i2=-1;else{const t=i.clone();t.subThis(n.getStartXY());const r=e.clone();r.subThis(n.getStartXY()),s.bRight2=t.crossProduct(r)<0;const o=s.i1;s.i1=s.i2,s.i2=o;const a=s.bRight1;s.bRight1=s.bRight2,s.bRight2=a}}}return s}(t,i,n,s);if(-1!==a.i1&&-1===a.i2)return a.bRight1?1:0;if(-1!==a.i1&&-1!==a.i2){if(a.bRight1===a.bRight2)return a.bRight1?1:0;{i.resetToVertex(a.i1,-1);const e=i.nextSegment().getTangent(1);i.resetToVertex(a.i2,-1);const t=i.nextSegment().getTangent(0);return e.crossProduct(t)>=0?1:0}}return i.resetToVertex(n,s),m(i.nextSegment(),t)}(e,t,n,a);if(u===r.G.enumEnvelope){const n=new s.J;return e.queryEnvelope(n),n.contains(t)?n.containsExclusive(t)?1:2:0}return 3}var g=n(95213);class l{getOperatorType(){return 10500}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}getNearestCoordinate(e,t,n,s){if(t.isNAN()&&(0,r.t)("NAN xy coordinates are not allowed"),e.isEmpty())return a();switch(e.getGeometryType()){case r.G.enumPoint:return this.pointGetNearestVertex(e,t);case r.G.enumMultiPoint:return this.multiVertexGetNearestVertex(e,t);case r.G.enumPolyline:case r.G.enumPolygon:return this.multiPathGetNearestCoordinate(e,t,n,s);default:(0,r.b)("")}}getNearestVertex(e,t){if(t.isNAN()&&(0,r.t)("NAN xy coordinates are not allowed"),e.isEmpty())return a();switch(e.getGeometryType()){case r.G.enumPoint:return this.pointGetNearestVertex(e,t);case r.G.enumMultiPoint:case r.G.enumPolyline:case r.G.enumPolygon:return this.multiVertexGetNearestVertex(e,t);default:(0,r.b)("")}}getNearestVertices(e,t,n,s){if(0===s&&(0,r.t)(""),t.isNAN()&&(0,r.t)("NAN xy coordinates are not allowed"),e.isEmpty())return[];switch(e.getGeometryType()){case r.G.enumPoint:return this.pointGetNearestVertices(e,t,n,s);case r.G.enumMultiPoint:case r.G.enumPolyline:case r.G.enumPolygon:return this.multiVertexGetNearestVertices(e,t,n,s);default:(0,r.b)("")}}multiPathGetNearestCoordinate(e,t,n,a){if(e.getGeometryType()===r.G.enumPolygon&&n){const n=new s.J;e.queryEnvelope(n);const r=(0,g.c)(null,n,!1);let o;if(o=(0,i.i)(e,t,a?0:r),0!==o){const e=u(t,-1,0);return a&&(e.m_bRightSide=!0),e}}const c=e.querySegmentIterator(),l=new o.P;let f=-1,h=-1,x=Number.MAX_VALUE,d=0;for(;c.nextPath();)for(;c.hasNextSegment();){const e=c.nextSegment(),n=e.getClosestCoordinate(t,!1),r=e.getCoord2D(n),s=o.P.sqrDistance(r,t);s<x?(d=1,l.assign(r),f=c.getStartPointIndex(),h=c.getPathIndex(),x=s):s===x&&d++}-1===f&&(0,r.t)("");const y=u(l,f,Math.sqrt(x));if(a)if(e.getGeometryType()!==r.G.enumPolygon){let n=!1;if(d>1){const r=m(e,t,f,h);n=0!==r&&3!==r}else c.resetToVertex(f,h),n=0!==m(c.nextSegment(),t);y.m_bRightSide=n}else n||0!==(0,i.i)(e,t,0)&&(y.m_bRightSide=!0);return y}pointGetNearestVertex(e,t){const n=e.getXY();return u(n,0,o.P.distance(n,t))}multiVertexGetNearestVertex(e,t){const n=e.getAttributeStreamRef(0),r=e.getPointCount();let s=-1;const i=new o.P;let a=Number.MAX_VALUE;const c=new o.P;for(let e=0;e<r;e++){n.queryPoint2D(2*e,c);const r=o.P.sqrDistance(c,t);r<a&&(i.assign(c),s=e,a=r)}return u(i,s,Math.sqrt(a))}pointGetNearestVertices(e,t,n,r){const s=[];if(0!==r){const r=n*n,i=e.getXY(),a=o.P.sqrDistance(i,t);a<=r&&s.push(u(i,0,Math.sqrt(a)))}return s}multiVertexGetNearestVertices(e,t,n,r){const s=[];if(0!==r){const i=e.getAttributeStreamRef(0),a=e.getPointCount();s.length=r+1;const c=n*n;for(let e=0;e<a;e++){const n=i.read(2*e),r=i.read(2*e+1),a=t.x-n,m=t.y-r,g=a*a+m*m;g<=c&&s.push(u(o.P.construct(n,r),e,Math.sqrt(g)))}s.sort(((e,t)=>e.m_distance-t.m_distance))}return s.slice(0,r)}}},48032:(e,t,n)=>{n.r(t),n.d(t,{getNearestCoordinate:()=>r.g,getNearestVertex:()=>r.a,getNearestVertices:()=>r.b,supportsCurves:()=>r.s}),n(36633),n(83047),n(78125),n(79533);var r=n(59260)},59260:(e,t,n)=>{n.d(t,{a:()=>c,b:()=>m,g:()=>u,p:()=>l,s:()=>g});var r=n(36633),s=n(83047),o=n(78125),i=n(79533);const a=new r.O;function u(e,t,n={}){const{calculateLeftRightSide:r=!1,testPolygonInterior:u=!0,unit:c}=n,m=a.getNearestCoordinate((0,o.fromGeometry)(e),(0,o.fromPoint)(t).getXY(),u,r);if(c&&m.m_distance){const t=(0,o.getSpatialReference)(e);m.m_distance=(0,s.PQ)(m.m_distance,t,c)}return(0,i.C)(m,e,r)}function c(e,t,n={}){const{unit:r}=n,u=a.getNearestVertex((0,o.fromGeometry)(e),(0,o.fromPoint)(t).getXY());if(r&&u.m_distance){const t=(0,o.getSpatialReference)(e);u.m_distance=(0,s.PQ)(u.m_distance,t,r)}return(0,i.C)(u,e)}function m(e,t,n,r,u={}){const{unit:c}=u,m=(0,o.getSpatialReference)(e);return c&&n&&(n=(0,s.UW)(n,c,m)),a.getNearestVertices((0,o.fromGeometry)(e),(0,o.fromPoint)(t).getXY(),n,r).map((t=>(c&&t.m_distance&&(t.m_distance=(0,s.PQ)(t.m_distance,m,c)),(0,i.C)(t,e))))}const g=a.supportsCurves(),l=Object.freeze(Object.defineProperty({__proto__:null,getNearestCoordinate:u,getNearestVertex:c,getNearestVertices:m,supportsCurves:g},Symbol.toStringTag,{value:"Module"}))},76061:(e,t,n)=>{n.d(t,{G:()=>r,S:()=>s});class r{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class s extends r{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125:(e,t,n)=>{n.r(t),n.d(t,{fromExtent:()=>P,fromGeometry:()=>p,fromMultipoint:()=>G,fromPoint:()=>C,fromPolygon:()=>V,fromPolyline:()=>S,fromSpatialReference:()=>N,getSpatialReference:()=>y,toExtent:()=>R,toGeometry:()=>b,toMultipoint:()=>_,toPoint:()=>v,toPolygon:()=>M,toPolyline:()=>w});var r=n(83661),s=(n(79187),n(55537)),o=n(95213),i=n(35368),a=n(12189),u=n(5443),c=n(48526),m=n(86738),g=n(39829),l=n(82799),f=(n(90293),n(83299));const h="_gxVersion",x=2,d=1;function y(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function p(e){switch(e.type){case"point":return C(e);case"multipoint":return G(e);case"polyline":return S(e);case"polygon":return V(e);case"extent":return P(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function P(e){if(!e.getCacheValue(h)){const t=new o.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(x,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(d,0,e.zmin,e.zmax),e.setCacheValue(h,t)}return e.getCacheValue(h)}function G(e){if(!e.getCacheValue(h)){const t=new i.M,n=new o.P,r=e.points,s=e.hasM,a=e.hasZ,u=a?3:2;for(let e=0,o=r.length;e<o;e++){const o=r[e];n.setXYCoords(o[0],o[1]),a&&n.setZ(o[2]??0),s&&n.setM(o[u]??NaN),t.add(n)}e.setCacheValue(h,t)}return e.getCacheValue(h)}function C(e){if(!e.getCacheValue(h)){const t=new o.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(h,t)}return e.getCacheValue(h)}function V(e){if(!e.getCacheValue(h)){const{curveRings:t,hasM:n,hasZ:r,rings:s}=e,o=(0,f.fromGeometryToGXGeometry)({curveRings:t,hasM:n,hasZ:r,rings:s});e.setCacheValue(h,o)}return e.getCacheValue(h)}function S(e){if(!e.getCacheValue(h)){const{curvePaths:t,hasM:n,hasZ:r,paths:s}=e,o=(0,f.fromGeometryToGXGeometry)({curvePaths:t,hasM:n,hasZ:r,paths:s});e.setCacheValue(h,o)}return e.getCacheValue(h)}function N(e){if(e.wkid)return(0,a.c)(e.wkid);const t=e.wkt2||e.wkt;return t?(0,a.b)(t):null}function b(e,t){if(e)switch(e.getGeometryType()){case s.G.enumPoint:return v(e,t);case s.G.enumEnvelope:return R(e,t);case s.G.enumMultiPoint:return _(e,t);case s.G.enumPolyline:return w(e,t);case s.G.enumPolygon:return M(e,t)}return null}function R(e,t){if(e.isEmpty())return null;const n=new u.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),r=e.getDescription();if(r.hasM()){const t=e.queryInterval(x,0);n.mmin=t.vmin,n.mmax=t.vmax}if(r.hasZ()){const t=e.queryInterval(d,0);n.zmin=t.vmin,n.zmax=t.vmax}return n.setCacheValue(h,e),n}function _(e,t){if(e.isEmpty())return null;const n=e.getDescription(),r=n.hasM(),s=n.hasZ(),i=[],a=new o.P;for(let t=0,n=e.getPointCount();t<n;t++){e.getPointByVal(t,a);const n=[a.getX(),a.getY()];s&&n.push(a.getZ()),r&&n.push(a.getM()),i.push(n)}const u=new c.A({hasM:r,hasZ:s,points:i,spatialReference:t});return u.setCacheValue(h,e),u}function v(e,t){if(e instanceof r.P)return new m.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const n=new m.A({x:e.getX(),y:e.getY(),spatialReference:t}),s=e.getDescription();return s.hasM()&&(n.m=e.getM()),s.hasZ()&&(n.z=e.getZ()),n.setCacheValue(h,e),n}function M(e,t){if(e.isEmpty())return null;const n=g.A.fromJSON({spatialReference:t,...(0,f.toGeometry)(e,null)});return n.setCacheValue(h,e),n}function w(e,t){if(e.isEmpty())return null;const n=l.A.fromJSON({spatialReference:t,...(0,f.toGeometry)(e,null)});return n.setCacheValue(h,e),n}},79533:(e,t,n)=>{n.d(t,{C:()=>s});var r=n(78125);function s(e,t,n=!1){const s=(0,r.toPoint)(e.m_coordinate,(0,r.getSpatialReference)(t)),o=e.m_distance,i=e.isEmpty(),a=e.m_bRightSide;return{coordinate:s,distance:o,isEmpty:i,...n&&{isRightSide:a},vertexIndex:e.m_vertexIndex}}}}]);
|