@arcgis/core 4.33.0-next.20250616 → 4.33.0-next.20250618

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.
Files changed (196) hide show
  1. package/EULA.pdf +0 -0
  2. package/applications/MapViewer/templateUtils.js +1 -1
  3. package/assets/esri/core/workers/RemoteClient.js +1 -1
  4. package/assets/esri/core/workers/chunks/089821d58267c16ccf0a.js +1 -0
  5. package/assets/esri/core/workers/chunks/{2ad538440cfb3ab94787.js → 2c0c97acb7714b1e0e01.js} +1 -1
  6. package/assets/esri/core/workers/chunks/490c733be256a1ce25b2.js +1 -0
  7. package/assets/esri/core/workers/chunks/52410198c4b2eccfeadd.js +1 -0
  8. package/assets/esri/core/workers/chunks/5bad1c6b53c1290c1bee.js +1 -0
  9. package/assets/esri/core/workers/chunks/{04e558a970c6a77f243e.js → 5cbaf4ff688aafa6643e.js} +1 -1
  10. package/assets/esri/core/workers/chunks/5e1975ea139ebcee9d9c.js +1 -0
  11. package/assets/esri/core/workers/chunks/5e53c7e29bb6d43d08be.js +1 -0
  12. package/assets/esri/core/workers/chunks/606782a94adcce6975af.js +1 -0
  13. package/assets/esri/core/workers/chunks/616502f99247ff6b00c2.js +1 -0
  14. package/assets/esri/core/workers/chunks/6f8de923519bb16af8ba.js +1 -0
  15. package/assets/esri/core/workers/chunks/764e505f2bafdf5afaf9.js +1 -0
  16. package/assets/esri/core/workers/chunks/77342fa644507f57c41a.js +1 -0
  17. package/assets/esri/core/workers/chunks/8637b9cb30170ac4eae2.js +1 -0
  18. package/assets/esri/core/workers/chunks/8656c145ff0ca2e51ea6.js +1 -0
  19. package/assets/esri/core/workers/chunks/8b4a35e3ed39d8be3394.js +1 -0
  20. package/assets/esri/core/workers/chunks/{4e38fcd99d7d9f984356.js → a1e1fb43463977e4014c.js} +1 -1
  21. package/assets/esri/core/workers/chunks/{8281c9ae86fec895f617.js → a2715eddd71f47b1f951.js} +1 -1
  22. package/assets/esri/core/workers/chunks/{130c848bf6337649052c.js → a3e43fa3cee99f28b272.js} +1 -1
  23. package/assets/esri/core/workers/chunks/a507192771e5f4f82973.js +1 -0
  24. package/assets/esri/core/workers/chunks/ac03f1b2402598b394d5.js +1 -0
  25. package/assets/esri/core/workers/chunks/b63a5067b18b6754a997.js +1 -0
  26. package/assets/esri/core/workers/chunks/c1822b03302c3db71b1f.js +1 -0
  27. package/assets/esri/core/workers/chunks/c872a06e3b5c3fb2ba56.js +1 -0
  28. package/assets/esri/core/workers/chunks/d3bfd0c382c2f39a787b.js +1 -0
  29. package/assets/esri/core/workers/chunks/d568070513f2b98fd9b5.js +1 -0
  30. package/assets/esri/core/workers/chunks/d6df12bed626d56cd6b2.js +1 -0
  31. package/assets/esri/core/workers/chunks/{28fceb79e5888e0109cc.js → d7968726733eee609ec6.js} +1 -1
  32. package/assets/esri/core/workers/chunks/df6d6ac6ebe2fb044a97.js +1 -0
  33. package/assets/esri/core/workers/chunks/ec339075bb4faeec1413.js +1 -0
  34. package/assets/esri/core/workers/chunks/{e02437168d5a55b51831.js → f08b5fce5f9a5afdcc97.js} +1 -1
  35. package/assets/esri/core/workers/chunks/f4442a2b40e44f90b461.js +1 -0
  36. package/assets/esri/themes/base/widgets/_Legend.scss +3 -1
  37. package/assets/esri/themes/dark/main.css +1 -1
  38. package/assets/esri/themes/light/main.css +1 -1
  39. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ar.json +1 -1
  40. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_bg.json +1 -1
  41. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_bs.json +1 -1
  42. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ca.json +1 -1
  43. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_cs.json +1 -1
  44. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_da.json +1 -1
  45. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_de.json +1 -1
  46. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_el.json +1 -1
  47. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_es.json +1 -1
  48. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_et.json +1 -1
  49. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_fi.json +1 -1
  50. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_fr.json +1 -1
  51. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_he.json +1 -1
  52. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_hr.json +1 -1
  53. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_hu.json +1 -1
  54. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_id.json +1 -1
  55. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_it.json +1 -1
  56. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ja.json +1 -1
  57. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ko.json +1 -1
  58. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_lt.json +1 -1
  59. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_lv.json +1 -1
  60. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_nl.json +1 -1
  61. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_no.json +1 -1
  62. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pl.json +1 -1
  63. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pt-BR.json +1 -1
  64. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pt-PT.json +1 -1
  65. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ro.json +1 -1
  66. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ru.json +1 -1
  67. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sk.json +1 -1
  68. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sl.json +1 -1
  69. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sr.json +1 -1
  70. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sv.json +1 -1
  71. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_th.json +1 -1
  72. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_tr.json +1 -1
  73. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_uk.json +1 -1
  74. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_vi.json +1 -1
  75. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-CN.json +1 -1
  76. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-HK.json +1 -1
  77. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-TW.json +1 -1
  78. package/interfaces.d.ts +114 -49
  79. package/layers/FeatureLayer.js +1 -1
  80. package/layers/OrientedImageryLayer.js +1 -1
  81. package/layers/SubtypeGroupLayer.js +1 -1
  82. package/layers/VideoLayer.js +1 -1
  83. package/layers/graphics/data/QueryEngineResult.js +1 -1
  84. package/layers/mixins/FeatureLayerBase.js +1 -1
  85. package/layers/orientedImagery/core/ExposurePoint.js +1 -1
  86. package/layers/orientedImagery/core/coverageUtils.js +1 -1
  87. package/layers/orientedImagery/core/utils.js +1 -1
  88. package/layers/orientedImagery/transformations/updateElevation.js +1 -1
  89. package/layers/orientedImagery/transformations/updateElevationUtils.js +1 -1
  90. package/layers/orientedImagery/transformations/utils.js +1 -1
  91. package/layers/support/SubtypeSublayer.js +1 -1
  92. package/layers/support/TitleCreator.js +1 -1
  93. package/layers/support/arcgisLayerUrl.js +1 -1
  94. package/layers/support/arcgisLayers.js +1 -1
  95. package/layers/support/fetchService.js +1 -1
  96. package/layers/support/fieldUtils.js +1 -1
  97. package/layers/support/layerUtils.js +1 -1
  98. package/layers/video/VideoCameraSensorModel.js +1 -1
  99. package/layers/video/VideoController.js +1 -1
  100. package/package.json +1 -1
  101. package/portal/support/layersLoader.js +1 -1
  102. package/portal/support/loadUtils.js +1 -1
  103. package/portal/support/portalLayers.js +1 -1
  104. package/request.js +1 -1
  105. package/rest/knowledgeGraphService.js +1 -1
  106. package/rest/support/DateBinParameters.js +1 -1
  107. package/smartMapping/renderers/size.js +1 -1
  108. package/smartMapping/renderers/support/spikeUtils.js +1 -1
  109. package/support/requestUtils.js +1 -1
  110. package/support/revision.js +1 -1
  111. package/symbols/cim/effects/EffectRadial.js +1 -1
  112. package/symbols/cim/utils.js +1 -1
  113. package/symbols/support/previewCIMSymbol.js +1 -1
  114. package/symbols/support/previewSymbol2D.js +1 -1
  115. package/symbols/support/svgUtils.js +1 -1
  116. package/views/2d/engine/ManagedCanvas.js +1 -1
  117. package/views/2d/engine/ParentChildStage.js +5 -0
  118. package/views/2d/engine/Stage.js +1 -1
  119. package/views/2d/engine/webgl/OverlayContainer.js +1 -1
  120. package/views/2d/engine/webgl/OverlayMultipoint.js +1 -1
  121. package/views/2d/engine/webgl/Painter.js +1 -1
  122. package/views/2d/engine/webgl/VideoScreenRenderer.js +5 -0
  123. package/views/2d/engine/webgl/shaderGraph/techniques/TechniqueType.js +1 -1
  124. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/VideoScreenShader.js +5 -0
  125. package/views/2d/engine/webgl/shaderGraph/techniques/videoScreenRenderer/VideoScreenTechnique.js +5 -0
  126. package/views/2d/layers/MediaLayerView2D.js +1 -1
  127. package/views/2d/layers/TileLayerView2D.js +1 -1
  128. package/views/2d/mapViewDeps.js +1 -1
  129. package/views/3d/analysis/DimensionAnalysisView3D.js +1 -1
  130. package/views/3d/analysis/LineOfSightAnalysisView3D.js +1 -1
  131. package/views/3d/analysis/SliceAnalysisView3D.js +1 -1
  132. package/views/3d/analysis/Viewshed/ViewshedTool.js +1 -1
  133. package/views/3d/analysis/ViewshedAnalysisView3D.js +1 -1
  134. package/views/3d/layers/BuildingSceneLayerView3D.js +1 -1
  135. package/views/3d/layers/I3SMeshView3D.js +1 -1
  136. package/views/3d/support/popupHitTest.js +1 -1
  137. package/views/3d/terrain/OverlayRenderer.js +1 -1
  138. package/views/3d/webgl-engine/collections/Component/SourceGeometry.js +1 -1
  139. package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
  140. package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
  141. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  142. package/views/3d/webgl-engine/materials/PathTechnique.js +1 -1
  143. package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
  144. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  145. package/views/3d/webgl-engine/materials/internal/bufferWriterUtils.js +1 -1
  146. package/views/3d/webgl-engine/shaders/LineMarkerTechnique.js +1 -1
  147. package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
  148. package/views/VideoView.js +1 -1
  149. package/views/View2D.js +1 -1
  150. package/views/Viewport2DBaseMixin.js +5 -0
  151. package/views/Viewport2DMixin.js +1 -1
  152. package/views/analysis/analysisViewUtils.js +1 -1
  153. package/views/layers/DimensionLayerView.js +1 -1
  154. package/views/layers/LineOfSightLayerView.js +1 -1
  155. package/views/layers/ViewshedLayerView.js +1 -1
  156. package/views/video/VideoOperationalDataView.js +5 -0
  157. package/widgets/Editor/components/UpdateFeaturePanelContent.js +1 -1
  158. package/widgets/Expand.js +1 -1
  159. package/widgets/FeatureTable/support/templateUtils.js +1 -1
  160. package/widgets/Legend/styles/support/sizeRampUtils.js +1 -1
  161. package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
  162. package/widgets/Legend/support/sizeRampUtils.js +1 -1
  163. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  164. package/widgets/OrientedImageryViewer/components/ImageLocationWidget.js +1 -1
  165. package/widgets/OrientedImageryViewer/components/ImageMeasurementWidget.js +1 -1
  166. package/widgets/OrientedImageryViewer/components/OrientedImageryVideoViewModel.js +1 -1
  167. package/widgets/OrientedImageryViewer.js +1 -1
  168. package/widgets/Print/PrintViewModel.js +1 -1
  169. package/widgets/Print.js +1 -1
  170. package/widgets/VideoPlayer.js +1 -1
  171. package/widgets/support/GridControls.js +1 -1
  172. package/assets/esri/core/workers/chunks/0ed4ec00ef16aa58a33d.js +0 -1
  173. package/assets/esri/core/workers/chunks/273beed633cc37416ad7.js +0 -1
  174. package/assets/esri/core/workers/chunks/49a57dc1e6d1048fa949.js +0 -1
  175. package/assets/esri/core/workers/chunks/4b1e6f481e3608486e20.js +0 -1
  176. package/assets/esri/core/workers/chunks/500fb5f615f0c1db1b66.js +0 -1
  177. package/assets/esri/core/workers/chunks/513dc2467e9b8b8c6df4.js +0 -1
  178. package/assets/esri/core/workers/chunks/5198dc5f8620b47dce79.js +0 -1
  179. package/assets/esri/core/workers/chunks/5e539ce4751bcfa57145.js +0 -1
  180. package/assets/esri/core/workers/chunks/5ef1095842e21090f1f4.js +0 -1
  181. package/assets/esri/core/workers/chunks/7687f1071b1d161d6fc8.js +0 -1
  182. package/assets/esri/core/workers/chunks/7716a9fb380d66ba7292.js +0 -1
  183. package/assets/esri/core/workers/chunks/78a57f5aeb277b84b3da.js +0 -1
  184. package/assets/esri/core/workers/chunks/7c56740cac444419e5b4.js +0 -1
  185. package/assets/esri/core/workers/chunks/802c6b1a6cb9264b8e4f.js +0 -1
  186. package/assets/esri/core/workers/chunks/8855f1a6224ffbd0bb66.js +0 -1
  187. package/assets/esri/core/workers/chunks/88b1214c284c2ec7d51b.js +0 -1
  188. package/assets/esri/core/workers/chunks/9dd40566d0730f79e504.js +0 -1
  189. package/assets/esri/core/workers/chunks/a622ed3f182648ab3ff6.js +0 -1
  190. package/assets/esri/core/workers/chunks/cc1328cacc4ac07eb548.js +0 -1
  191. package/assets/esri/core/workers/chunks/cfc5e0ec9b0290407383.js +0 -1
  192. package/assets/esri/core/workers/chunks/d2139307f62ea8bf999a.js +0 -1
  193. package/assets/esri/core/workers/chunks/d9cdefb1cd8399ffac20.js +0 -1
  194. package/assets/esri/core/workers/chunks/ddb66fe6fcd0764daa7a.js +0 -1
  195. package/assets/esri/core/workers/chunks/ec49e2849766402ad5c7.js +0 -1
  196. package/assets/esri/core/workers/chunks/f5b426f57f87eb9b2f35.js +0 -1
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3186],{17311:(e,t,i)=>{i.d(t,{A:()=>d});var s=i(90237),r=i(69622),n=i(60999),a=i(5503),l=i(10107),o=(i(44208),i(53966),i(87811),i(40608)),u=i(30524),c=i(43668);let d=class extends r.A{constructor(e){super(e),this._featureUtils=null,this.effectivePopupTemplate=null}get _arcadeTask(){return this.expressionsUsedInTitle.length>0?this._get("_arcadeTask")||(0,n.UT)((()=>(0,c.l)())):null}get featureUtilsPromise(){return this._get("featureUtilsPromise")??Promise.all([i.e(4560),i.e(9926)]).then(i.bind(i,29926)).then((e=>this._featureUtils=e))}get calculatedExpressions(){const e=new a.A;if(!this.expressionsUsedInTitle.length)return e;if(!this._arcadeTask?.value){for(const t of this.expressionsUsedInTitle??[])e.push({name:t.name,invalid:!0});return e}for(const t of this.expressionsUsedInTitle)try{const i=this._arcadeTask.value.arcade.parseScript(t.expression,["$layer","$map","$datastore"]);if(i.isAsync){e.push({name:t.name,invalid:!0});break}e.push({name:t.name,syntax:i,invalid:!1,func:this._arcadeTask.value.arcade.compileScript(i,{vars:{$feature:"any"}})})}catch{e.push({name:t.name,invalid:!0});break}return e}get expressionsUsedInTitle(){let e=this.effectivePopupTemplate?.title??"";return"string"!=typeof e?[]:(e=e.toLowerCase(),this.effectivePopupTemplate?.expressionInfos?.filter((t=>e.includes(`{expression/${t.name.toLowerCase()}}`)))??[])}get fieldInfoMap(){return this._featureUtils?this._createFieldInfoMap(this._featureUtils.getAllFieldInfos(this.effectivePopupTemplate)):null}get hasBadExpressions(){return this.calculatedExpressions.some((e=>!0===e.invalid))}get requiredFields(){const e=new Set;if(this._arcadeTask?.value&&!this.hasBadExpressions)for(const t of this.calculatedExpressions?.toArray()??[])try{const i=this._arcadeTask.value.arcade.extractFieldLiterals(t.syntax);for(const t of i){const i=t.split("."),s=this.fieldsIndex.get(i.at(-1)??"");s&&e.add(s.name)}}catch{}const t=this._extractFieldNames(this.workingTitle);for(const i of t){const t=this.fieldsIndex.get(i);t&&e.add(t.name)}return e}get titleFromDisplayField(){let e="";return this.displayField&&(e=this.fieldsIndex.get(this.displayField)?.name??""),e||(e=this.fieldsIndex.get(this.objectIdField)?.name??""),e?`{${e}}`:""}get workingTitle(){const e=this.effectivePopupTemplate?this.effectivePopupTemplate.title:"";return""===e||null==e||this.hasBadExpressions||"string"!=typeof e?this.titleFromDisplayField:e}async getTitle(e,t,i){try{const{attributes:s}=t,r=i?.timeZone??"system",[{substituteFieldsInLinksAndAttributes:n}]=await Promise.all([this.featureUtilsPromise,this._arcadeTask?.promise]);if(i.fetchMissingFields&&(t=await this._checkAndReQueryGraphic(e,t)),this.workingTitle&&this.fieldInfoMap){const i=this._createFormattedAttributes(e,t,r).global;return n({attributes:s,expressionAttributes:null,fieldInfoMap:this.fieldInfoMap,globalAttributes:i,layer:e,text:this.workingTitle})}return""}catch{}return""}async _checkAndReQueryGraphic(e,t){const i=t.getObjectId();if(null==i)return t;if(!(0,u.Kl)(t,this.requiredFields)){const t=e.createQuery();t.where="1=1",t.outFields=[...this.requiredFields],t.objectIds=[i];const s=await e.queryFeatures(t);if(1===s?.features.length)return s.features[0]}return t}_createFieldInfoMap(e){const t=new Map;if(!e)return t;for(const i of e){if(!i.fieldName)continue;const e=this.fieldsIndex.get(i.fieldName),s=e?.name??i.fieldName;i.fieldName=s,t.set(s.toLowerCase(),i)}return t}_createFormattedAttributes(e,t,i="system"){const s=this.effectivePopupTemplate?.fieldInfos??[],r={};if(!this._featureUtils)return{};if(!this.hasBadExpressions&&this.calculatedExpressions.length>0&&this._arcadeTask?.value){const i=this._arcadeTask.value.Feature.createFromGraphicLikeObject(t.geometry,t.attributes,e,null);for(const e of this.calculatedExpressions)try{r[`expression/${e.name}`]=e.func({vars:{$feature:i}})}catch{}}const n={...t.attributes,...r};return{global:this._featureUtils.formatAttributes({fieldInfos:s,attributes:n,graphic:t,timeZone:i,layer:e,fieldInfoMap:this.fieldInfoMap}),content:[]}}_extractFieldNames(e){return(0,u.nw)(e).filter((e=>!(0===e.indexOf("relationships/")||0===e.indexOf("expression/"))))}};(0,s._)([(0,l.MZ)({readOnly:!0})],d.prototype,"_arcadeTask",null),(0,s._)([(0,l.MZ)()],d.prototype,"_featureUtils",void 0),(0,s._)([(0,l.MZ)({readOnly:!0})],d.prototype,"featureUtilsPromise",null),(0,s._)([(0,l.MZ)({readOnly:!0})],d.prototype,"calculatedExpressions",null),(0,s._)([(0,l.MZ)()],d.prototype,"displayField",void 0),(0,s._)([(0,l.MZ)()],d.prototype,"effectivePopupTemplate",void 0),(0,s._)([(0,l.MZ)()],d.prototype,"expressionsUsedInTitle",null),(0,s._)([(0,l.MZ)()],d.prototype,"fieldsIndex",void 0),(0,s._)([(0,l.MZ)()],d.prototype,"fieldInfoMap",null),(0,s._)([(0,l.MZ)()],d.prototype,"fields",void 0),(0,s._)([(0,l.MZ)()],d.prototype,"objectIdField",void 0),(0,s._)([(0,l.MZ)()],d.prototype,"requiredFields",null),d=(0,s._)([(0,o.$)("esri.layers.support.TitleCreator")],d)},41560:(e,t,i)=>{i.d(t,{Ch:()=>a,mW:()=>n});var s=i(34727),r=i(39516);function n(e,t){return{...t,filterMode:e.mode}}function a(e,t,i){const n=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:i,maxScale:s}of e.filters)t[0]=Math.max(t[0],c(i)),t[1]=Math.min(t[1],d(s));return t}(e);if(n&&((0,s.gg)(t,n[0])||(0,s.ZH)(i,n[1])))return"";const a=Array.from(l(e,t,i)),o=function(e,t,i){if(0===e.length)return!0;const r=c(e.at(0)?.minScale),n=d(e.at(-1)?.maxScale);if((0,s.ZH)(r,t)||(0,s.gg)(n,i))return!0;for(let t=0;t<e.length-1;t++){const i=e[t],r=e[t+1];if((0,s.ZH)(c(r.minScale),d(i.maxScale)))return!0}return!1}(a,t,i)?"1=1":a.map((e=>e.where||"1=1")).reduce(((e,t)=>(0,r.IW)(e,t)),"");return o&&"1=1"!==o?o:""}function*l(e,t,i){if("manual"===u(e)){const t=e.filters.find((t=>t.id===e.activeFilterId));t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const s of e.filters)o(s.minScale,s.maxScale,t,i)&&(yield s)}}function o(e,t,i,r){return e=c(e),i=c(i),t=d(t),!(!(0,s.Sp)(i,e)&&(r??i)>e||(0,s.Hx)(t,i)||void 0!==r&&(0,s.Sp)(r,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function c(e){return e||Number.POSITIVE_INFINITY}function d(e){return e||0}},92935:(e,t,i)=>{var s;i.d(t,{X:()=>s}),function(e){e[e.SAVE=0]="SAVE",e[e.SAVE_AS=1]="SAVE_AS"}(s||(s={}))}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8407],{10407:(e,t,r)=>{r.d(t,{It:()=>d,LG:()=>s,OM:()=>l,Sm:()=>c,Y:()=>a,bK:()=>u,mm:()=>p,sQ:()=>f});var n=r(98988),i=r(16930),o=r(28735);function s(e,t){if(!a(e,t)){const r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function a(e,t){return!!e.typeKeywords?.includes(t)}function u(e){return a(e,p.HOSTED_SERVICE)}function l(e,t){const r=e.typeKeywords;if(r){const e=r.indexOf(t);e>-1&&r.splice(e,1)}}function c(e,t,r){r?s(e,t):l(e,t)}async function f(e){const t=e.clone().normalize();let r;if(t.length>1)for(const e of t)r?e.width>r.width&&(r=e):r=e;else r=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,o.ci)(e);const r=i.A.WGS84;return await(0,n.initializeProjection)(t,r),(0,n.project)(e,r)}(r)}const p={CHARTS:"Charts",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery"};function d(e){const{portal:t,isOrgItem:r,itemControl:n}=e,i=t.user?.privileges;let o=!i||i.includes("features:user:edit"),s=!!r&&!!i?.includes("features:user:fullEdit");const a="update"===n||"admin"===n;return a?s=o=!0:s&&(o=!0),{features:{edit:o,fullEdit:s},content:{updateItem:a}}}},60999:(e,t,r)=>{r.d(t,{DZ:()=>y,Ke:()=>d,Tj:()=>c,UT:()=>h,jJ:()=>l});var n=r(90237),i=r(69622),o=r(97768),s=r(74887),a=r(10107),u=r(40608);function l(e,t,r){return(0,s.Lx)(e.map(((e,n)=>t.apply(r,[e,n]))))}async function c(e,t,r){return(await(0,s.Lx)(e.map(((e,n)=>t.apply(r,[e,n]))))).map((e=>e.value))}function f(e){return{ok:!0,value:e}}function p(e){return{ok:!1,error:e}}async function d(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return f(await e)}catch(e){return p(e)}}async function y(e){try{return f(await e)}catch(e){return(0,s.QP)(e),p(e)}}function h(e,t){return new b(e,t)}let b=class extends i.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,o.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:r}=this._abortController;this.promise=e(r),this.promise.then((e=>{this._result=f(e),this._cleanup()}),(e=>{this._result=p(e),this._cleanup()})),this._abortHandle=(0,s.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,o.xt)(this._abortHandle),this._abortController=null}};(0,n._)([(0,a.MZ)()],b.prototype,"value",null),(0,n._)([(0,a.MZ)()],b.prototype,"error",null),(0,n._)([(0,a.MZ)()],b.prototype,"finished",null),(0,n._)([(0,a.MZ)()],b.prototype,"promise",void 0),(0,n._)([(0,a.MZ)()],b.prototype,"_result",void 0),b=(0,n._)([(0,u.$)("esri.core.asyncUtils.ReactiveTask")],b)},77548:(e,t,r)=>{r.d(t,{Gh:()=>b,tk:()=>p,BR:()=>f,wI:()=>c,G$:()=>y,$x:()=>d,Ov:()=>u,W_:()=>l,OP:()=>h,TU:()=>a,XX:()=>s});var n=r(70333),i=r(78888),o=(r(5503),r(84952));r(36563),r(36708),new WeakMap;const s={Point:"SceneLayer","3DObject":"SceneLayer",IntegratedMesh:"IntegratedMeshLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"};function a(e){const t=e?.type;return"building-scene"===t||"integrated-mesh"===t||"point-cloud"===t||"scene"===t}function u(e){return"feature"===e?.type&&!e.url&&"memory"===e.source?.type}function l(e){const t=e?.type;return("feature"===t||"subtype-group"===t||"oriented-imagery"===t)&&"feature-layer"===e?.source?.type}async function c(e,t){const r=n.id?.findServerInfo(e);if(null!=r?.currentVersion)return r.owningSystemUrl||null;const o=e.toLowerCase().indexOf("/rest/services");if(-1===o)return null;const s=`${e.slice(0,o)}/rest/info`,a=null!=t?t.signal:null,{data:u}=await(0,i.A)(s,{query:{f:"json"},responseType:"json",signal:a});return u?.owningSystemUrl||null}function f(e){return function(e){if(!("capabilities"in e))return!1;switch(e.type){case"catalog":case"catalog-footprint":case"csv":case"feature":case"geojson":case"imagery":case"knowledge-graph-sublayer":case"ogc-feature":case"oriented-imagery":case"scene":case"sublayer":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}(e)?"effectiveCapabilities"in e?e.effectiveCapabilities:e.capabilities:null}function p(e){return!!function(e){if(!("editingEnabled"in e))return!1;switch(e.type){case"csv":case"feature":case"geojson":case"oriented-imagery":case"scene":case"subtype-group":case"subtype-sublayer":return!0;default:return!1}}(e)&&("effectiveEditingEnabled"in e?e.effectiveEditingEnabled:e.editingEnabled)}function d(e,t){const r=y(t);return!r||(0,o.FX)(e,`https://${r}`,!0)?null:(0,o.hf)(e,r)}function y(e){return e?.preferredHost}function h(e){return!e||"Feature Service"===e.type&&!e.sourceUrl}function b(e,t){if(!t||!h(e))return;const r=d(e.url,{preferredHost:t});r&&(e.url=r)}}}]);