@arcgis/core 4.33.0-next.20250604 → 4.33.0-next.20250606

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 (151) hide show
  1. package/arcade/Dictionary.js +1 -1
  2. package/arcade/Feature.js +1 -1
  3. package/arcade/arcadeAsyncRuntime.js +1 -1
  4. package/arcade/arcadeCompiler.js +1 -1
  5. package/arcade/arcadeRuntime.js +1 -1
  6. package/arcade/containerUtils.js +1 -1
  7. package/arcade/deepClone.js +1 -1
  8. package/arcade/featureSetUtils.js +1 -1
  9. package/arcade/featureset/sources/FeatureLayerDynamic.js +1 -1
  10. package/arcade/functions/convertdirection.js +1 -1
  11. package/arcade/functions/date.js +1 -1
  12. package/arcade/functions/feature.js +1 -1
  13. package/arcade/functions/featuresetbase.js +1 -1
  14. package/arcade/functions/featuresetgeom.js +1 -1
  15. package/arcade/functions/featuresetstats.js +1 -1
  16. package/arcade/functions/featuresetstring.js +1 -1
  17. package/arcade/functions/fieldStats.js +1 -1
  18. package/arcade/functions/geomasync.js +1 -1
  19. package/arcade/functions/geometry.js +1 -1
  20. package/arcade/functions/geomsync.js +1 -1
  21. package/arcade/functions/knowledgegraph.js +1 -1
  22. package/arcade/functions/maths.js +1 -1
  23. package/arcade/functions/stats.js +1 -1
  24. package/arcade/functions/string.js +1 -1
  25. package/arcade/geometry/constructors.js +1 -1
  26. package/arcade/geometry/functions.js +1 -1
  27. package/arcade/languageUtils.js +1 -1
  28. package/arcade.js +1 -1
  29. package/assets/esri/core/workers/RemoteClient.js +1 -1
  30. package/assets/esri/core/workers/chunks/0229c573fa8a2fff2d8b.js.LICENSE.txt +1 -1
  31. package/assets/esri/core/workers/chunks/{6c196bc0bf1522ae3434.js → 062e88b6eb4d45169856.js} +1 -1
  32. package/assets/esri/core/workers/chunks/{28b1819bf744ce957dfd.js → 17fcdaeb42e932712096.js} +2 -2
  33. package/assets/esri/core/workers/chunks/{28b1819bf744ce957dfd.js.LICENSE.txt → 17fcdaeb42e932712096.js.LICENSE.txt} +1 -1
  34. package/assets/esri/core/workers/chunks/1f4c555a6fa89dcb1f06.js +1 -0
  35. package/assets/esri/core/workers/chunks/29fb64826bb1351aca8d.js.LICENSE.txt +1 -1
  36. package/assets/esri/core/workers/chunks/{d0372bac0c5f4fbed468.js → 3f59a73f9a758095976f.js} +1 -1
  37. package/assets/esri/core/workers/chunks/{a2e9141ff4efd13413a1.js → 4a805e7a57d25c4b595f.js} +2 -2
  38. package/assets/esri/core/workers/chunks/53ff5b7691ba1444358e.js +1 -0
  39. package/assets/esri/core/workers/chunks/54f981fe0f8851767be9.js.LICENSE.txt +1 -1
  40. package/assets/esri/core/workers/chunks/{a6fb75929e456f87f804.js → 58b2dc0ec977af7413b0.js} +1 -1
  41. package/assets/esri/core/workers/chunks/5cc5f32b474ee723e192.js +1 -0
  42. package/assets/esri/core/workers/chunks/{51c31e6d014005107d42.js → 68e432a80bf6fa7b17fb.js} +1 -1
  43. package/assets/esri/core/workers/chunks/6c7ace9609300fcf85df.js +1 -0
  44. package/assets/esri/core/workers/chunks/73ddb356121add556994.js.LICENSE.txt +1 -1
  45. package/assets/esri/core/workers/chunks/8a87c181b85d0b86b9bb.js.LICENSE.txt +1 -1
  46. package/assets/esri/core/workers/chunks/aad9a693813b47a51530.js.LICENSE.txt +1 -1
  47. package/assets/esri/core/workers/chunks/c6c86cbe65a58c3093ae.js +1 -0
  48. package/assets/esri/core/workers/chunks/{e385a27fd1ac2123a05f.js → ebb83405109cc8841235.js} +1 -1
  49. package/assets/esri/core/workers/chunks/{5853b2af6ac8be2c69d8.js → ee3940679d794d78b4ea.js} +1 -1
  50. package/assets/esri/core/workers/chunks/{bd2dcc55ac3418421ee5.js → f20ba89ac21f05b7020c.js} +1 -1
  51. package/assets/esri/core/workers/chunks/f3b51aa0a1a8fc3b231c.js.LICENSE.txt +1 -1
  52. package/assets/esri/core/workers/chunks/{a41f9b6deff08196566e.js → fa894be8cfb6ed485df9.js} +1 -1
  53. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ar.json +1 -1
  54. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_bg.json +1 -1
  55. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_bs.json +1 -1
  56. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ca.json +1 -1
  57. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_cs.json +1 -1
  58. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_da.json +1 -1
  59. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_de.json +1 -1
  60. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_el.json +1 -1
  61. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_es.json +1 -1
  62. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_et.json +1 -1
  63. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_fi.json +1 -1
  64. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_fr.json +1 -1
  65. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_he.json +1 -1
  66. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_hr.json +1 -1
  67. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_hu.json +1 -1
  68. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_id.json +1 -1
  69. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_it.json +1 -1
  70. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ja.json +1 -1
  71. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ko.json +1 -1
  72. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_lt.json +1 -1
  73. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_lv.json +1 -1
  74. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_nl.json +1 -1
  75. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_no.json +1 -1
  76. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pl.json +1 -1
  77. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pt-BR.json +1 -1
  78. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pt-PT.json +1 -1
  79. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ro.json +1 -1
  80. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ru.json +1 -1
  81. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sk.json +1 -1
  82. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sl.json +1 -1
  83. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sr.json +1 -1
  84. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sv.json +1 -1
  85. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_th.json +1 -1
  86. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_tr.json +1 -1
  87. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_uk.json +1 -1
  88. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_vi.json +1 -1
  89. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-CN.json +1 -1
  90. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-HK.json +1 -1
  91. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-TW.json +1 -1
  92. package/assets/esri/widgets/Directions/t9n/Directions_ja.json +1 -1
  93. package/chunks/aiServices.js +1 -1
  94. package/chunks/array.js +1 -1
  95. package/chunks/languageUtils.js +1 -1
  96. package/geometry/support/coordsUtils.js +1 -1
  97. package/interfaces.d.ts +47 -51
  98. package/layers/VideoLayer.js +1 -1
  99. package/layers/mixins/ArcGISImageService.js +1 -1
  100. package/networks/CircuitManager.js +1 -1
  101. package/networks/UnitIdentifierManager.js +1 -1
  102. package/package.json +1 -1
  103. package/rest/networks/circuits/alterCircuit.js +1 -1
  104. package/rest/networks/circuits/createCircuit.js +1 -1
  105. package/rest/networks/circuits/deleteCircuits.js +1 -1
  106. package/rest/networks/circuits/support/CircuitVerifyResult.js +1 -1
  107. package/rest/networks/circuits/support/EditCircuitsResult.js +5 -0
  108. package/rest/networks/circuits/support/ExportCircuitsResult.js +1 -1
  109. package/rest/networks/circuits/support/VerifyCircuitsResult.js +1 -1
  110. package/rest/networks/support/utils.js +5 -0
  111. package/rest/networks/unitIdentifiers/insertGap.js +1 -1
  112. package/rest/networks/unitIdentifiers/reset.js +1 -1
  113. package/rest/networks/unitIdentifiers/resize.js +1 -1
  114. package/rest/networks/unitIdentifiers/support/EditUnitIdentifiersResult.js +5 -0
  115. package/support/arcadeUtils.js +1 -1
  116. package/support/revision.js +1 -1
  117. package/views/2d/engine/webgl/shaderGraph/techniques/FeatureInstanceStore.js +1 -1
  118. package/views/2d/layers/FeatureLayerView2D.js +1 -1
  119. package/views/3d/FocusAreasView.js +1 -1
  120. package/views/3d/interactive/measurementTools/directLineMeasurement3D/DirectLineMeasurement3DTool.js +1 -1
  121. package/views/3d/layers/FeatureLikeLayerView3D.js +1 -1
  122. package/views/3d/layers/GraphicsLayerView3D.js +1 -1
  123. package/views/3d/layers/I3SMeshViewLabeler.js +1 -1
  124. package/views/3d/layers/RouteLayerView3D.js +1 -1
  125. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  126. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  127. package/views/3d/layers/graphics/Graphics3DGraphicsPipeline.js +1 -1
  128. package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
  129. package/views/3d/layers/graphics/GraphicsProcessor.js +1 -1
  130. package/views/3d/layers/graphics/Labeler.js +1 -1
  131. package/views/3d/terrain/OverlayManager.js +1 -1
  132. package/views/3d/terrain/TerrainSurface.js +1 -1
  133. package/views/ToolViewManager.js +1 -1
  134. package/views/support/layerViewUtils.js +1 -1
  135. package/views/webgl/FramebufferObject.js +1 -1
  136. package/views/webgl/Parameters.js +1 -1
  137. package/widgets/Editor/EditorViewModel.js +1 -1
  138. package/widgets/Editor/UpdateWorkflow.js +1 -1
  139. package/widgets/Editor/UpdateWorkflowData.js +1 -1
  140. package/widgets/Expand.js +1 -1
  141. package/widgets/Feature/support/arcadeFeatureUtils.js +1 -1
  142. package/widgets/Print.js +1 -1
  143. package/widgets/Search.js +1 -1
  144. package/widgets/Sketch/support/ResponsiveToolbar/ResponsiveToolbar.js +1 -1
  145. package/widgets/Sketch/support/ResponsiveToolbar/SplitButton.js +1 -1
  146. package/widgets/support/GridControls/GridControlsViewModel.js +1 -1
  147. package/assets/esri/core/workers/chunks/5d50a8d0427eab0a2514.js +0 -1
  148. package/assets/esri/core/workers/chunks/c6fa79ce324122e08dbb.js +0 -1
  149. package/assets/esri/core/workers/chunks/cbbbaccc0d3683e1c0fe.js +0 -1
  150. package/assets/esri/core/workers/chunks/e7a440476cd1eb4c6547.js +0 -1
  151. package/assets/esri/core/workers/chunks/e9993d4f2bfdc434fbcc.js +0 -1
@@ -1 +1 @@
1
- {"differentValues":"(Różne wartości)","empty":"Brak wartości","expressionEvaluationFailed":"Formularz nie uruchomił obliczeń","failedToCalculateValues":"Nie powiodło się obliczenie wartości","formFailedToLoad":"Nie udało się wczytać formularza.","formFailedToLoadTooManyComplexFeatures":"ł_This form uses functions that limit attribute editing to {num} features_____________________________________ą.","formFailedToLoadTooManyFeatures":"ł_Select up to {num} features to edit attributes_________________________ą.","noVisibleFields":{"allElementsHidden":"Wybrane obiekty nie mają pól do wyświetlenia","elementsHiddenInSome":"Wybrane obiekty mają wspólne pola, które nie są wyświetlane z powodu wyrażeń widoczności","noElements":"Wybrany obiekt nie ma pól do wyświetlenia","noElementsInCommon":"Wybrane obiekty nie mają wspólnych pól"},"requiredFieldBatchMode":"To pole jest wymagane dla co najmniej jednego obiektu.","requiredFieldLabel":"{name} – pole wymagane","showAllOptions":"Pokaż wszystkie opcje","unsupportedContingentValues":"Edycja atrybutów wielu obiektów nie jest dostępna dla warstw z wartościami warunkowymi.","validationErrors":{"cannotBeNull":"Wprowadź wartość","invalidCodedValue":"Wartość powinna być równa jednej z wyszczególnionych wartości.","invalidType":"Nieprawidłowa wartość","invalidBatchFormType":"Co najmniej jeden obiekt zawiera nieprawidłowe wartości. Sprawdź poszczególne obiekty.","featuresInError":"Co najmniej jeden obiekt zawiera błędy. Sprawdź poszczególne obiekty.","featuresWithInvalidValues":"Jeden lub większa liczba obiektów ma nieprawidłowe wartości","nonVisibleError_changeValues":"Wybrany obiekt ma ukryte pola z nieprawidłowymi wartościami. Zmień wartości, aby te pola stały się widoczne.","nonVisibleError_checkIndividualFeatures":"Co najmniej jeden obiekt ma ukryte pola z nieprawidłowymi wartościami. Sprawdź poszczególne obiekty i usuń błędy.","outsideRange":"Wartość powinna mieścić się w przedziale od {min} do {max}","outsideRangeMax":"Wartość powinna być mniejsza lub równa {max}","outsideRangeMin":"Wartość powinna być większa lub równa {min}","tooShort":"To pole musi zawierać co najmniej następującą liczbę znaków: {min}"},"valueExpressionError":"Nie udało się obliczyć wartości"}
1
+ {"differentValues":"ł_Different values_________________ą","differentValuesPlaceholder":"ł_(Different values)___________________ą","empty":"Brak wartości","expressionEvaluationFailed":"Formularz nie uruchomił obliczeń","failedToCalculateValues":"Nie powiodło się obliczenie wartości","formFailedToLoad":"Nie udało się wczytać formularza.","formFailedToLoadTooManyComplexFeatures":"ł_This form uses functions that limit attribute editing to {num} features_____________________________________ą.","formFailedToLoadTooManyFeatures":"ł_Select up to {num} features to edit attributes_________________________ą.","noVisibleFields":{"allElementsHidden":"Wybrane obiekty nie mają pól do wyświetlenia","elementsHiddenInSome":"Wybrane obiekty mają wspólne pola, które nie są wyświetlane z powodu wyrażeń widoczności","noElements":"Wybrany obiekt nie ma pól do wyświetlenia","noElementsInCommon":"Wybrane obiekty nie mają wspólnych pól"},"requiredFieldBatchMode":"To pole jest wymagane dla co najmniej jednego obiektu.","requiredFieldLabel":"{name} – pole wymagane","showAllOptions":"Pokaż wszystkie opcje","unsupportedContingentValues":"Edycja atrybutów wielu obiektów nie jest dostępna dla warstw z wartościami warunkowymi.","validationErrors":{"cannotBeNull":"Wprowadź wartość","invalidCodedValue":"Wartość powinna być równa jednej z wyszczególnionych wartości.","invalidType":"Nieprawidłowa wartość","invalidBatchFormType":"Co najmniej jeden obiekt zawiera nieprawidłowe wartości. Sprawdź poszczególne obiekty.","featuresInError":"Co najmniej jeden obiekt zawiera błędy. Sprawdź poszczególne obiekty.","featuresWithInvalidValues":"Jeden lub większa liczba obiektów ma nieprawidłowe wartości","nonVisibleError_changeValues":"Wybrany obiekt ma ukryte pola z nieprawidłowymi wartościami. Zmień wartości, aby te pola stały się widoczne.","nonVisibleError_checkIndividualFeatures":"Co najmniej jeden obiekt ma ukryte pola z nieprawidłowymi wartościami. Sprawdź poszczególne obiekty i usuń błędy.","outsideRange":"Wartość powinna mieścić się w przedziale od {min} do {max}","outsideRangeMax":"Wartość powinna być mniejsza lub równa {max}","outsideRangeMin":"Wartość powinna być większa lub równa {min}","tooShort":"To pole musi zawierać co najmniej następującą liczbę znaków: {min}"},"valueExpressionError":"Nie udało się obliczyć wartości"}
@@ -1 +1 @@
1
- {"differentValues":"(Valores diferentes)","empty":"Nenhum valor","expressionEvaluationFailed":"O formulário falhou ao executar cálculos","failedToCalculateValues":"Falha ao calcular valores","formFailedToLoad":"Falha ao carregar formulário.","formFailedToLoadTooManyComplexFeatures":"ã_This form uses functions that limit attribute editing to {num} features_____________________________________Ç.","formFailedToLoadTooManyFeatures":"ã_Select up to {num} features to edit attributes_________________________Ç.","noVisibleFields":{"allElementsHidden":"As feições selecionadas não têm campos para exibir","elementsHiddenInSome":"As feições selecionadas têm campos compartilhados que não são exibidos devido a expressões de visibilidade","noElements":"A feição selecionada não tem campos para exibir","noElementsInCommon":"As feições selecionadas não têm campos compartilhados"},"requiredFieldBatchMode":"Este campo é obrigatório para uma ou mais feições","requiredFieldLabel":"{name} - campo exigido","showAllOptions":"Mostrar todas as opções","unsupportedContingentValues":"A edição de atributos para várias feições não está disponível para camadas com valores contingentes.","validationErrors":{"cannotBeNull":"Digite um valor","invalidCodedValue":"O valor deve ser um dos valores listados.","invalidType":"Não é um valor válido","invalidBatchFormType":"Uma ou mais feições contêm valores inválidos. Verifique as feições individuais.","featuresInError":"Um ou mais feições apresentam erros. Verifique as feições individuais.","featuresWithInvalidValues":"Uma ou mais feições têm valores inválidos","nonVisibleError_changeValues":"A feição selecionada tem campos ocultos com valores inválidos. Altere os valores para que os campos fiquem visíveis.","nonVisibleError_checkIndividualFeatures":"Um ou mais feições têm campos ocultos com valores inválidos. Verifique as feições individuais e corrija os problemas.","outsideRange":"O valor deve estar entre {min} e {max}","outsideRangeMax":"O valor deve ser menor ou igual a {max}","outsideRangeMin":"O valor deve ser maior ou igual a {min}","tooShort":"Este campo requer um mínimo de {min} caracteres"},"valueExpressionError":"Falha ao calcular o valor"}
1
+ {"differentValues":"ã_Different values_________________Ç","differentValuesPlaceholder":"ã_(Different values)___________________Ç","empty":"Nenhum valor","expressionEvaluationFailed":"O formulário falhou ao executar cálculos","failedToCalculateValues":"Falha ao calcular valores","formFailedToLoad":"Falha ao carregar formulário.","formFailedToLoadTooManyComplexFeatures":"ã_This form uses functions that limit attribute editing to {num} features_____________________________________Ç.","formFailedToLoadTooManyFeatures":"ã_Select up to {num} features to edit attributes_________________________Ç.","noVisibleFields":{"allElementsHidden":"As feições selecionadas não têm campos para exibir","elementsHiddenInSome":"As feições selecionadas têm campos compartilhados que não são exibidos devido a expressões de visibilidade","noElements":"A feição selecionada não tem campos para exibir","noElementsInCommon":"As feições selecionadas não têm campos compartilhados"},"requiredFieldBatchMode":"Este campo é obrigatório para uma ou mais feições","requiredFieldLabel":"{name} - campo exigido","showAllOptions":"Mostrar todas as opções","unsupportedContingentValues":"A edição de atributos para várias feições não está disponível para camadas com valores contingentes.","validationErrors":{"cannotBeNull":"Digite um valor","invalidCodedValue":"O valor deve ser um dos valores listados.","invalidType":"Não é um valor válido","invalidBatchFormType":"Uma ou mais feições contêm valores inválidos. Verifique as feições individuais.","featuresInError":"Um ou mais feições apresentam erros. Verifique as feições individuais.","featuresWithInvalidValues":"Uma ou mais feições têm valores inválidos","nonVisibleError_changeValues":"A feição selecionada tem campos ocultos com valores inválidos. Altere os valores para que os campos fiquem visíveis.","nonVisibleError_checkIndividualFeatures":"Um ou mais feições têm campos ocultos com valores inválidos. Verifique as feições individuais e corrija os problemas.","outsideRange":"O valor deve estar entre {min} e {max}","outsideRangeMax":"O valor deve ser menor ou igual a {max}","outsideRangeMin":"O valor deve ser maior ou igual a {min}","tooShort":"Este campo requer um mínimo de {min} caracteres"},"valueExpressionError":"Falha ao calcular o valor"}
@@ -1 +1 @@
1
- {"differentValues":"(Valores diferentes)","empty":"Sem valores","expressionEvaluationFailed":"O formulário não conseguiu efetuar cálculos","failedToCalculateValues":"Falha ao calcular valores","formFailedToLoad":"Falha no carregamento do formulário.","formFailedToLoadTooManyComplexFeatures":"õ_This form uses functions that limit attribute editing to {num} features_____________________________________ç.","formFailedToLoadTooManyFeatures":"õ_Select up to {num} features to edit attributes_________________________ç.","noVisibleFields":{"allElementsHidden":"Os elementos selecionados não têm campos para apresentar","elementsHiddenInSome":"Os elementos selecionados têm campos partilhados que não são apresentados devido a expressões de visibilidade","noElements":"O elemento selecionado não tem campos para apresentar","noElementsInCommon":"Os elementos selecionados não têm campos partilhados"},"requiredFieldBatchMode":"Este campo é obrigatório para um ou mais elementos.","requiredFieldLabel":"{name} - campo obrigatório","showAllOptions":"Exibir todas as opções","unsupportedContingentValues":"A edição de atributos para múltiplos elementos não está disponível para camadas com valores contingentes.","validationErrors":{"cannotBeNull":"Introduza um valor","invalidCodedValue":"O valor deve ser um dos valores listados.","invalidType":"Não é um valor válido","invalidBatchFormType":"Um ou mais elementos contêm valores inválidos. Verifique os elementos individuais.","featuresInError":"Um ou mais elementos apresentam erros. Verifique os elementos individuais.","featuresWithInvalidValues":"Um ou mais elementos têm valores inválidos","nonVisibleError_changeValues":"O elemento selecionado tem campos ocultos com valores inválidos. Altere os valores para que os campos fiquem visíveis.","nonVisibleError_checkIndividualFeatures":"Um ou mais elementos têm campos ocultos com valores inválidos. Verifique os elementos individuais e corrija os problemas.","outsideRange":"O valor deve estar entre {min} e {max}","outsideRangeMax":"O valor deve ser menor ou igual a {max}","outsideRangeMin":"O valor deve ser maior ou igual a {min}","tooShort":"Este campo tem de ter um mínimo de {min} caracteres"},"valueExpressionError":"Falha ao calcular valor"}
1
+ {"differentValues":"õ_Different values_________________ç","differentValuesPlaceholder":"õ_(Different values)___________________ç","empty":"Sem valores","expressionEvaluationFailed":"O formulário não conseguiu efetuar cálculos","failedToCalculateValues":"Falha ao calcular valores","formFailedToLoad":"Falha no carregamento do formulário.","formFailedToLoadTooManyComplexFeatures":"õ_This form uses functions that limit attribute editing to {num} features_____________________________________ç.","formFailedToLoadTooManyFeatures":"õ_Select up to {num} features to edit attributes_________________________ç.","noVisibleFields":{"allElementsHidden":"Os elementos selecionados não têm campos para apresentar","elementsHiddenInSome":"Os elementos selecionados têm campos partilhados que não são apresentados devido a expressões de visibilidade","noElements":"O elemento selecionado não tem campos para apresentar","noElementsInCommon":"Os elementos selecionados não têm campos partilhados"},"requiredFieldBatchMode":"Este campo é obrigatório para um ou mais elementos.","requiredFieldLabel":"{name} - campo obrigatório","showAllOptions":"Exibir todas as opções","unsupportedContingentValues":"A edição de atributos para múltiplos elementos não está disponível para camadas com valores contingentes.","validationErrors":{"cannotBeNull":"Introduza um valor","invalidCodedValue":"O valor deve ser um dos valores listados.","invalidType":"Não é um valor válido","invalidBatchFormType":"Um ou mais elementos contêm valores inválidos. Verifique os elementos individuais.","featuresInError":"Um ou mais elementos apresentam erros. Verifique os elementos individuais.","featuresWithInvalidValues":"Um ou mais elementos têm valores inválidos","nonVisibleError_changeValues":"O elemento selecionado tem campos ocultos com valores inválidos. Altere os valores para que os campos fiquem visíveis.","nonVisibleError_checkIndividualFeatures":"Um ou mais elementos têm campos ocultos com valores inválidos. Verifique os elementos individuais e corrija os problemas.","outsideRange":"O valor deve estar entre {min} e {max}","outsideRangeMax":"O valor deve ser menor ou igual a {max}","outsideRangeMin":"O valor deve ser maior ou igual a {min}","tooShort":"Este campo tem de ter um mínimo de {min} caracteres"},"valueExpressionError":"Falha ao calcular valor"}
@@ -1 +1 @@
1
- {"differentValues":"(Valori diferite)","empty":"Nicio valoare","expressionEvaluationFailed":"Nu s-a reușit executarea calculelor în formular.","failedToCalculateValues":"Nu s-a reușit calcularea valorilor","formFailedToLoad":"Nu s-a reușit încărcarea formularului.","formFailedToLoadTooManyComplexFeatures":"Ă_This form uses functions that limit attribute editing to {num} features_____________________________________ș.","formFailedToLoadTooManyFeatures":"Ă_Select up to {num} features to edit attributes_________________________ș.","noVisibleFields":{"allElementsHidden":"Obiectele spațiale selectate nu au câmpuri de afișat","elementsHiddenInSome":"Obiectele spațiale selectate au câmpuri partajate care nu sunt afișate din cauza expresiilor de vizibilitate","noElements":"Obiectul spațial selectat nu are câmpuri de afișat","noElementsInCommon":"Obiectele spațiale selectate nu au câmpuri partajate"},"requiredFieldBatchMode":"Acest câmp este obligatoriu pentru unul sau mai multe obiecte spațiale.","requiredFieldLabel":"{name} - câmp obligatoriu","showAllOptions":"Afișați toate opțiunile","unsupportedContingentValues":"Editarea atributelor pentru obiecte spațiale multiple nu este disponibilă pentru straturile tematice cu valori contingente.","validationErrors":{"cannotBeNull":"Introduceți o valoare","invalidCodedValue":"Valoarea trebuie să fie una dintre valorile listate.","invalidType":"Nu este o valoare valabilă","invalidBatchFormType":"Unul sau mai multe obiecte spațiale conțin valori nevalide. Verificați obiectele spațiale individuale.","featuresInError":"Unul sau mai multe obiecte spațiale au erori. Verificați obiectele spațiale individuale.","featuresWithInvalidValues":"Una sau mai multe obiecte spațiale au valori nevalide","nonVisibleError_changeValues":"Obiectul spațial selectat are câmpuri ascunse cu valori nevalide. Schimbați valorile astfel încât câmpurile să fie vizibile.","nonVisibleError_checkIndividualFeatures":"Unul sau mai multe obiecte spațiale au câmpuri ascunse cu valori nevalide. Verificați obiectele spațiale individuale și corectați problemele.","outsideRange":"Valoarea trebuie să fie cuprinsă între {min} și {max}","outsideRangeMax":"Valoarea trebuie să fie mai mică sau egală cu {max}","outsideRangeMin":"Valoarea trebuie să fie mai mare sau egală cu {min}","tooShort":"Acest câmp trebuie să aibă minimum {min} caractere"},"valueExpressionError":"Nu s-a reușit calcularea valorii"}
1
+ {"differentValues":"Ă_Different values_________________ș","differentValuesPlaceholder":"Ă_(Different values)___________________ș","empty":"Nicio valoare","expressionEvaluationFailed":"Nu s-a reușit executarea calculelor în formular.","failedToCalculateValues":"Nu s-a reușit calcularea valorilor","formFailedToLoad":"Nu s-a reușit încărcarea formularului.","formFailedToLoadTooManyComplexFeatures":"Ă_This form uses functions that limit attribute editing to {num} features_____________________________________ș.","formFailedToLoadTooManyFeatures":"Ă_Select up to {num} features to edit attributes_________________________ș.","noVisibleFields":{"allElementsHidden":"Obiectele spațiale selectate nu au câmpuri de afișat","elementsHiddenInSome":"Obiectele spațiale selectate au câmpuri partajate care nu sunt afișate din cauza expresiilor de vizibilitate","noElements":"Obiectul spațial selectat nu are câmpuri de afișat","noElementsInCommon":"Obiectele spațiale selectate nu au câmpuri partajate"},"requiredFieldBatchMode":"Acest câmp este obligatoriu pentru unul sau mai multe obiecte spațiale.","requiredFieldLabel":"{name} - câmp obligatoriu","showAllOptions":"Afișați toate opțiunile","unsupportedContingentValues":"Editarea atributelor pentru obiecte spațiale multiple nu este disponibilă pentru straturile tematice cu valori contingente.","validationErrors":{"cannotBeNull":"Introduceți o valoare","invalidCodedValue":"Valoarea trebuie să fie una dintre valorile listate.","invalidType":"Nu este o valoare valabilă","invalidBatchFormType":"Unul sau mai multe obiecte spațiale conțin valori nevalide. Verificați obiectele spațiale individuale.","featuresInError":"Unul sau mai multe obiecte spațiale au erori. Verificați obiectele spațiale individuale.","featuresWithInvalidValues":"Una sau mai multe obiecte spațiale au valori nevalide","nonVisibleError_changeValues":"Obiectul spațial selectat are câmpuri ascunse cu valori nevalide. Schimbați valorile astfel încât câmpurile să fie vizibile.","nonVisibleError_checkIndividualFeatures":"Unul sau mai multe obiecte spațiale au câmpuri ascunse cu valori nevalide. Verificați obiectele spațiale individuale și corectați problemele.","outsideRange":"Valoarea trebuie să fie cuprinsă între {min} și {max}","outsideRangeMax":"Valoarea trebuie să fie mai mică sau egală cu {max}","outsideRangeMin":"Valoarea trebuie să fie mai mare sau egală cu {min}","tooShort":"Acest câmp trebuie să aibă minimum {min} caractere"},"valueExpressionError":"Nu s-a reușit calcularea valorii"}
@@ -1 +1 @@
1
- {"differentValues":"(Различные значения)","empty":"Нет значения","expressionEvaluationFailed":"Не удалось запустить вычисления в форме","failedToCalculateValues":"Не удалось вычислить значения","formFailedToLoad":"Не удалось загрузить форму.","formFailedToLoadTooManyComplexFeatures":"Ж_This form uses functions that limit attribute editing to {num} features_____________________________________Я.","formFailedToLoadTooManyFeatures":"Ж_Select up to {num} features to edit attributes_________________________Я.","noVisibleFields":{"allElementsHidden":"У выбранных объектов нет полей для отображения","elementsHiddenInSome":"У выбранных объектов есть общие поля, которые не отображаются из-за выражений видимости","noElements":"У выбранного объекта нет полей для отображения","noElementsInCommon":"У выбранных объектов нет общих полей"},"requiredFieldBatchMode":"Это поле является обязательным для одного или нескольких объектов.","requiredFieldLabel":"{name} - обязательное поле","showAllOptions":"Показать все опции","unsupportedContingentValues":"Редактирование атрибутов для нескольких объектов недоступно для слоев с зависящими значениями.","validationErrors":{"cannotBeNull":"Введите значение","invalidCodedValue":"Значение должно быть одним из перечисленных значений.","invalidType":"Недопустимое значение","invalidBatchFormType":"Один или несколько объектов содержат недопустимые значения. Проверьте отдельные объекты.","featuresInError":"Один или несколько объектов содержат ошибки. Проверьте отдельные объекты.","featuresWithInvalidValues":"Один или несколько объектов содержат недопустимые значения","nonVisibleError_changeValues":"Выбранный объект содержит скрытые поля с недопустимыми значениями Измените значения так, чтобы поля стали видимыми.","nonVisibleError_checkIndividualFeatures":"Один или несколько объектов содержат скрытые поля с недопустимыми значения. Проверьте отдельные объекты и исправьте ошибки.","outsideRange":"Значение должно находиться в диапазоне от {min} до {max}.","outsideRangeMax":"Значение должно быть меньше или равно {max}","outsideRangeMin":"Значение должно быть больше или равно {min}","tooShort":"Это поле требует, как минимум, {min} символов"},"valueExpressionError":"Не удалось вычислить значение"}
1
+ {"differentValues":"Ж_Different values_________________Я","differentValuesPlaceholder":"Ж_(Different values)___________________Я","empty":"Нет значения","expressionEvaluationFailed":"Не удалось запустить вычисления в форме","failedToCalculateValues":"Не удалось вычислить значения","formFailedToLoad":"Не удалось загрузить форму.","formFailedToLoadTooManyComplexFeatures":"Ж_This form uses functions that limit attribute editing to {num} features_____________________________________Я.","formFailedToLoadTooManyFeatures":"Ж_Select up to {num} features to edit attributes_________________________Я.","noVisibleFields":{"allElementsHidden":"У выбранных объектов нет полей для отображения","elementsHiddenInSome":"У выбранных объектов есть общие поля, которые не отображаются из-за выражений видимости","noElements":"У выбранного объекта нет полей для отображения","noElementsInCommon":"У выбранных объектов нет общих полей"},"requiredFieldBatchMode":"Это поле является обязательным для одного или нескольких объектов.","requiredFieldLabel":"{name} - обязательное поле","showAllOptions":"Показать все опции","unsupportedContingentValues":"Редактирование атрибутов для нескольких объектов недоступно для слоев с зависящими значениями.","validationErrors":{"cannotBeNull":"Введите значение","invalidCodedValue":"Значение должно быть одним из перечисленных значений.","invalidType":"Недопустимое значение","invalidBatchFormType":"Один или несколько объектов содержат недопустимые значения. Проверьте отдельные объекты.","featuresInError":"Один или несколько объектов содержат ошибки. Проверьте отдельные объекты.","featuresWithInvalidValues":"Один или несколько объектов содержат недопустимые значения","nonVisibleError_changeValues":"Выбранный объект содержит скрытые поля с недопустимыми значениями Измените значения так, чтобы поля стали видимыми.","nonVisibleError_checkIndividualFeatures":"Один или несколько объектов содержат скрытые поля с недопустимыми значения. Проверьте отдельные объекты и исправьте ошибки.","outsideRange":"Значение должно находиться в диапазоне от {min} до {max}.","outsideRangeMax":"Значение должно быть меньше или равно {max}","outsideRangeMin":"Значение должно быть больше или равно {min}","tooShort":"Это поле требует, как минимум, {min} символов"},"valueExpressionError":"Не удалось вычислить значение"}
@@ -1 +1 @@
1
- {"differentValues":"(Rozdielne hodnoty)","empty":"Bez hodnoty","expressionEvaluationFailed":"Formulár zlyhal pri pokuse spustiť kalkulácie","failedToCalculateValues":"Hodnoty sa nepodarilo vypočítať","formFailedToLoad":"Formulár sa nepodarilo načítať.","formFailedToLoadTooManyComplexFeatures":"ĺ_This form uses functions that limit attribute editing to {num} features_____________________________________ľ.","formFailedToLoadTooManyFeatures":"ĺ_Select up to {num} features to edit attributes_________________________ľ.","noVisibleFields":{"allElementsHidden":"Vybrané prvky nemajú žiadne polia na zobrazenie","elementsHiddenInSome":"Vybrané prvky majú zdieľané polia, ktoré sa nezobrazujú kvôli výrazom pre viditeľnosť","noElements":"Vybraný prvok nemá žiadne polia na zobrazenie","noElementsInCommon":"Vybrané prvky nemajú žiadne zdieľané polia"},"requiredFieldBatchMode":"Toto pole je povinné pre jeden alebo viac prvkov.","requiredFieldLabel":"{name} - povinné pole","showAllOptions":"Zobraziť všetky možnosti","unsupportedContingentValues":"Editácia atribútov pre viaceré prvky nie je k dispozícii pre vrstvy s podmienenými hodnotami.","validationErrors":{"cannotBeNull":"Prosím zadajte hodnotu","invalidCodedValue":"Hodnota by mala byť jednou z hodnôt na zozname.","invalidType":"Nie je platná hodnota","invalidBatchFormType":"Jeden alebo viac prvkov obsahujú neplatné hodnoty. Skontrolujte jednotlivé prvky.","featuresInError":"Jeden alebo viac prvkov majú chyby. Skontrolujte jednotlivé prvky.","featuresWithInvalidValues":"Jeden alebo viac prvkov má neplatné hodnoty","nonVisibleError_changeValues":"Vybraný prvok má skryté polia s neplatnými hodnotami. Hodnoty zmeňte tak, aby boli polia viditeľné.","nonVisibleError_checkIndividualFeatures":"Jeden alebo viac prvkov má skryté polia s neplatnými hodnotami. Skontrolujte jednotlivé prvky a odstráňte problémy.","outsideRange":"Hodnota by mala byť medzi {min} a {max}","outsideRangeMax":"Hodnota by mala byť nižšia alebo rovná {max}","outsideRangeMin":"Hodnota by mala byť väčšia alebo rovná {min}","tooShort":"Toto pole požaduje minimálne {min} znakov"},"valueExpressionError":"Nepodarilo sa vypočítať hodnotu"}
1
+ {"differentValues":"ĺ_Different values_________________ľ","differentValuesPlaceholder":"ĺ_(Different values)___________________ľ","empty":"Bez hodnoty","expressionEvaluationFailed":"Formulár zlyhal pri pokuse spustiť kalkulácie","failedToCalculateValues":"Hodnoty sa nepodarilo vypočítať","formFailedToLoad":"Formulár sa nepodarilo načítať.","formFailedToLoadTooManyComplexFeatures":"ĺ_This form uses functions that limit attribute editing to {num} features_____________________________________ľ.","formFailedToLoadTooManyFeatures":"ĺ_Select up to {num} features to edit attributes_________________________ľ.","noVisibleFields":{"allElementsHidden":"Vybrané prvky nemajú žiadne polia na zobrazenie","elementsHiddenInSome":"Vybrané prvky majú zdieľané polia, ktoré sa nezobrazujú kvôli výrazom pre viditeľnosť","noElements":"Vybraný prvok nemá žiadne polia na zobrazenie","noElementsInCommon":"Vybrané prvky nemajú žiadne zdieľané polia"},"requiredFieldBatchMode":"Toto pole je povinné pre jeden alebo viac prvkov.","requiredFieldLabel":"{name} - povinné pole","showAllOptions":"Zobraziť všetky možnosti","unsupportedContingentValues":"Editácia atribútov pre viaceré prvky nie je k dispozícii pre vrstvy s podmienenými hodnotami.","validationErrors":{"cannotBeNull":"Prosím zadajte hodnotu","invalidCodedValue":"Hodnota by mala byť jednou z hodnôt na zozname.","invalidType":"Nie je platná hodnota","invalidBatchFormType":"Jeden alebo viac prvkov obsahujú neplatné hodnoty. Skontrolujte jednotlivé prvky.","featuresInError":"Jeden alebo viac prvkov majú chyby. Skontrolujte jednotlivé prvky.","featuresWithInvalidValues":"Jeden alebo viac prvkov má neplatné hodnoty","nonVisibleError_changeValues":"Vybraný prvok má skryté polia s neplatnými hodnotami. Hodnoty zmeňte tak, aby boli polia viditeľné.","nonVisibleError_checkIndividualFeatures":"Jeden alebo viac prvkov má skryté polia s neplatnými hodnotami. Skontrolujte jednotlivé prvky a odstráňte problémy.","outsideRange":"Hodnota by mala byť medzi {min} a {max}","outsideRangeMax":"Hodnota by mala byť nižšia alebo rovná {max}","outsideRangeMin":"Hodnota by mala byť väčšia alebo rovná {min}","tooShort":"Toto pole požaduje minimálne {min} znakov"},"valueExpressionError":"Nepodarilo sa vypočítať hodnotu"}
@@ -1 +1 @@
1
- {"differentValues":"(Različne vrednosti)","empty":"Brez vrednosti","expressionEvaluationFailed":"Obrazec ni uspel izvesti izračunov","failedToCalculateValues":"Izračun vrednosti ni uspel","formFailedToLoad":"Nalaganje obrazca ni uspelo.","formFailedToLoadTooManyComplexFeatures":"Š_This form uses functions that limit attribute editing to {num} features_____________________________________č.","formFailedToLoadTooManyFeatures":"Š_Select up to {num} features to edit attributes_________________________č.","noVisibleFields":{"allElementsHidden":"Izbrani geoobjekti nimajo polj za prikaz","elementsHiddenInSome":"Izbrani geoobjekti imajo skupna polja, ki niso prikazana zaradi izrazov vidnosti","noElements":"Izbran geoobjekt nima polj za prikaz","noElementsInCommon":"Izbrani geoobjekti nimajo skupnih polj"},"requiredFieldBatchMode":"To polje je obvezno za enega ali več geoobjektov.","requiredFieldLabel":"{name} - obvezno polje","showAllOptions":"Prikažite vse možnosti","unsupportedContingentValues":"Urejanje atributov za več geoobjektov ni na voljo za sloje s pogojnimi vrednostmi.","validationErrors":{"cannotBeNull":"Vnesite vrednost","invalidCodedValue":"Vrednost mora biti ena od navedenih vrednosti.","invalidType":"Vrednost ni veljavna","invalidBatchFormType":"Eden ali več geoobjektov vsebuje neveljavne vrednosti. Preverite posamezne geoobjekte.","featuresInError":"Eden ali več geoobjektov ima napake. Preverite posamezne geoobjekte.","featuresWithInvalidValues":"Eden ali več geoobjektov ima neveljavne vrednosti","nonVisibleError_changeValues":"Izbran geoobjekt ima skrita polja z neveljavnimi vrednostmi. Spremenite vrednosti tako, da so polja vidna.","nonVisibleError_checkIndividualFeatures":"Eden ali več geoobjektov ima skrita polja v neveljavnih vrednostih. Preverite posamezne geoobjekte in odpravite težave.","outsideRange":"Vrednost mora biti med {min} in {max}","outsideRangeMax":"Vrednost mora biti manj ali enaka {max}","outsideRangeMin":"Vrednost mora biti večja ali enaka {min}","tooShort":"To polje zahteva najmanj {min} znakov"},"valueExpressionError":"Polje za izračun vrednosti"}
1
+ {"differentValues":"Š_Different values_________________č","differentValuesPlaceholder":"Š_(Different values)___________________č","empty":"Brez vrednosti","expressionEvaluationFailed":"Obrazec ni uspel izvesti izračunov","failedToCalculateValues":"Izračun vrednosti ni uspel","formFailedToLoad":"Nalaganje obrazca ni uspelo.","formFailedToLoadTooManyComplexFeatures":"Š_This form uses functions that limit attribute editing to {num} features_____________________________________č.","formFailedToLoadTooManyFeatures":"Š_Select up to {num} features to edit attributes_________________________č.","noVisibleFields":{"allElementsHidden":"Izbrani geoobjekti nimajo polj za prikaz","elementsHiddenInSome":"Izbrani geoobjekti imajo skupna polja, ki niso prikazana zaradi izrazov vidnosti","noElements":"Izbran geoobjekt nima polj za prikaz","noElementsInCommon":"Izbrani geoobjekti nimajo skupnih polj"},"requiredFieldBatchMode":"To polje je obvezno za enega ali več geoobjektov.","requiredFieldLabel":"{name} - obvezno polje","showAllOptions":"Prikažite vse možnosti","unsupportedContingentValues":"Urejanje atributov za več geoobjektov ni na voljo za sloje s pogojnimi vrednostmi.","validationErrors":{"cannotBeNull":"Vnesite vrednost","invalidCodedValue":"Vrednost mora biti ena od navedenih vrednosti.","invalidType":"Vrednost ni veljavna","invalidBatchFormType":"Eden ali več geoobjektov vsebuje neveljavne vrednosti. Preverite posamezne geoobjekte.","featuresInError":"Eden ali več geoobjektov ima napake. Preverite posamezne geoobjekte.","featuresWithInvalidValues":"Eden ali več geoobjektov ima neveljavne vrednosti","nonVisibleError_changeValues":"Izbran geoobjekt ima skrita polja z neveljavnimi vrednostmi. Spremenite vrednosti tako, da so polja vidna.","nonVisibleError_checkIndividualFeatures":"Eden ali več geoobjektov ima skrita polja v neveljavnih vrednostih. Preverite posamezne geoobjekte in odpravite težave.","outsideRange":"Vrednost mora biti med {min} in {max}","outsideRangeMax":"Vrednost mora biti manj ali enaka {max}","outsideRangeMin":"Vrednost mora biti večja ali enaka {min}","tooShort":"To polje zahteva najmanj {min} znakov"},"valueExpressionError":"Polje za izračun vrednosti"}
@@ -1 +1 @@
1
- {"differentValues":"(Različite vrednosti)","empty":"Nema vrednosti","expressionEvaluationFailed":"Obrazac nije uspeo da pokrene izračunavanja","failedToCalculateValues":"Izračunavanje vrednosti nije uspelo","formFailedToLoad":"Učitavanje obrasca nije uspelo.","formFailedToLoadTooManyComplexFeatures":"Č_This form uses functions that limit attribute editing to {num} features_____________________________________ž.","formFailedToLoadTooManyFeatures":"Č_Select up to {num} features to edit attributes_________________________ž.","noVisibleFields":{"allElementsHidden":"Izabrani geoobjekti nemaju nijedno polje za prikaz","elementsHiddenInSome":"Izabrani geoobjekti imaju deljena polja koja nisu prikazana zbog izraza vidljivosti","noElements":"Izbrani geoobjekat nema nijedno polje za prikaz","noElementsInCommon":"Izabrani geoobjekti nemaju nijedno deljeno polje"},"requiredFieldBatchMode":"Ovo polje je obavezno za jedan ili više geoobjekata.","requiredFieldLabel":"{name} - obavezno polje","showAllOptions":"Prikaži sve opcije","unsupportedContingentValues":"Uređivanje atributa za više geoobjekata nije dostupno za slojeve sa zavisnim vrednostima.","validationErrors":{"cannotBeNull":"Unesite vrednost","invalidCodedValue":"Vrednost treba da bude jedna od navedenih vrednosti.","invalidType":"Nije važeća vrednost","invalidBatchFormType":"Jedan ili više geoobjekata sadrže nevažeće vrednosti. Proverite pojedinačne geoobjekte.","featuresInError":"Jedan ili više geoobjekata imaju greške. Proverite pojedinačne geoobjekte.","featuresWithInvalidValues":"Jedan ili više geoobjekata imaju nevažeće vrednosti","nonVisibleError_changeValues":"Izabrani geoobjekat ima skrivena polja sa nevažećim vrednostima. Promenite vrednosti tako da ta polja budu vidljiva.","nonVisibleError_checkIndividualFeatures":"Jedan ili više geoobjekata imaju skrivena polja sa nevažećim vrednostima. Proverite pojedinačne geoobjekte i ispravite te probleme.","outsideRange":"Vrednost treba da bude između {min} i {max}","outsideRangeMax":"Vrednost treba da bude manja ili jednaka {max}","outsideRangeMin":"Vrednost treba da bude veća ili jednaka {min}","tooShort":"Ovo polje zahteva minimalno {min} karaktera"},"valueExpressionError":"Izračunavanje vrednosti nije uspelo"}
1
+ {"differentValues":"Č_Different values_________________ž","differentValuesPlaceholder":"Č_(Different values)___________________ž","empty":"Nema vrednosti","expressionEvaluationFailed":"Obrazac nije uspeo da pokrene izračunavanja","failedToCalculateValues":"Izračunavanje vrednosti nije uspelo","formFailedToLoad":"Učitavanje obrasca nije uspelo.","formFailedToLoadTooManyComplexFeatures":"Č_This form uses functions that limit attribute editing to {num} features_____________________________________ž.","formFailedToLoadTooManyFeatures":"Č_Select up to {num} features to edit attributes_________________________ž.","noVisibleFields":{"allElementsHidden":"Izabrani geoobjekti nemaju nijedno polje za prikaz","elementsHiddenInSome":"Izabrani geoobjekti imaju deljena polja koja nisu prikazana zbog izraza vidljivosti","noElements":"Izbrani geoobjekat nema nijedno polje za prikaz","noElementsInCommon":"Izabrani geoobjekti nemaju nijedno deljeno polje"},"requiredFieldBatchMode":"Ovo polje je obavezno za jedan ili više geoobjekata.","requiredFieldLabel":"{name} - obavezno polje","showAllOptions":"Prikaži sve opcije","unsupportedContingentValues":"Uređivanje atributa za više geoobjekata nije dostupno za slojeve sa zavisnim vrednostima.","validationErrors":{"cannotBeNull":"Unesite vrednost","invalidCodedValue":"Vrednost treba da bude jedna od navedenih vrednosti.","invalidType":"Nije važeća vrednost","invalidBatchFormType":"Jedan ili više geoobjekata sadrže nevažeće vrednosti. Proverite pojedinačne geoobjekte.","featuresInError":"Jedan ili više geoobjekata imaju greške. Proverite pojedinačne geoobjekte.","featuresWithInvalidValues":"Jedan ili više geoobjekata imaju nevažeće vrednosti","nonVisibleError_changeValues":"Izabrani geoobjekat ima skrivena polja sa nevažećim vrednostima. Promenite vrednosti tako da ta polja budu vidljiva.","nonVisibleError_checkIndividualFeatures":"Jedan ili više geoobjekata imaju skrivena polja sa nevažećim vrednostima. Proverite pojedinačne geoobjekte i ispravite te probleme.","outsideRange":"Vrednost treba da bude između {min} i {max}","outsideRangeMax":"Vrednost treba da bude manja ili jednaka {max}","outsideRangeMin":"Vrednost treba da bude veća ili jednaka {min}","tooShort":"Ovo polje zahteva minimalno {min} karaktera"},"valueExpressionError":"Izračunavanje vrednosti nije uspelo"}
@@ -1 +1 @@
1
- {"differentValues":"(Olika värden)","empty":"Inget värde","expressionEvaluationFailed":"Det gick inte att utföra beräkningar i formulär","failedToCalculateValues":"Det gick inte att beräkna värden","formFailedToLoad":"Det gick inte att läsa in formulär.","formFailedToLoadTooManyComplexFeatures":"Å_This form uses functions that limit attribute editing to {num} features_____________________________________ö.","formFailedToLoadTooManyFeatures":"Å_Select up to {num} features to edit attributes_________________________ö.","noVisibleFields":{"allElementsHidden":"De valda geoobjekten har inga fält att visa","elementsHiddenInSome":"De valda geoobjekten har delade fält som inte visas på grund av uttryck för synlighet","noElements":"Det valda geoobjektet har inga fält att visa","noElementsInCommon":"De valda geoobjekten har inga delade fält"},"requiredFieldBatchMode":"Det här fältet krävs för ett eller flera geoobjekt.","requiredFieldLabel":"{name} - obligatoriskt fält","showAllOptions":"Visa alla alternativ","unsupportedContingentValues":"Redigering av attribut för flera geoobjekt är inte tillgängligt för lager med kontingentvärden.","validationErrors":{"cannotBeNull":"Ange ett värde","invalidCodedValue":"Värdet ska vara ett av värdena i listan.","invalidType":"Inte ett giltigt värde","invalidBatchFormType":"Ett eller flera geoobjekt innehåller ogiltiga värden. Kontrollera enskilda geoobjekt.","featuresInError":"Ett eller flera geoobjekt innehåller fel. Kontrollera enskilda geoobjekt.","featuresWithInvalidValues":"Ett eller flera geoobjekt har ogiltiga värden","nonVisibleError_changeValues":"Det valda geoobjektet har dolda fält med ogiltiga värden. Ändra värdena så att fälten är synliga.","nonVisibleError_checkIndividualFeatures":"Ett eller flera geoobjekt har dolda fält med ogiltiga värden. Kontrollera enskilda geoobjekt och korrigera problemen.","outsideRange":"Värdet ska vara mellan {min} och {max}","outsideRangeMax":"Värdet ska vara mindre än eller lika med {max}","outsideRangeMin":"Värdet ska vara större än eller lika med {min}","tooShort":"Minst {min} tecken krävs i fältet"},"valueExpressionError":"Det gick inte att beräkna värde"}
1
+ {"differentValues":"Å_Different values_________________ö","differentValuesPlaceholder":"Å_(Different values)___________________ö","empty":"Inget värde","expressionEvaluationFailed":"Det gick inte att utföra beräkningar i formulär","failedToCalculateValues":"Det gick inte att beräkna värden","formFailedToLoad":"Det gick inte att läsa in formulär.","formFailedToLoadTooManyComplexFeatures":"Å_This form uses functions that limit attribute editing to {num} features_____________________________________ö.","formFailedToLoadTooManyFeatures":"Å_Select up to {num} features to edit attributes_________________________ö.","noVisibleFields":{"allElementsHidden":"De valda geoobjekten har inga fält att visa","elementsHiddenInSome":"De valda geoobjekten har delade fält som inte visas på grund av uttryck för synlighet","noElements":"Det valda geoobjektet har inga fält att visa","noElementsInCommon":"De valda geoobjekten har inga delade fält"},"requiredFieldBatchMode":"Det här fältet krävs för ett eller flera geoobjekt.","requiredFieldLabel":"{name} - obligatoriskt fält","showAllOptions":"Visa alla alternativ","unsupportedContingentValues":"Redigering av attribut för flera geoobjekt är inte tillgängligt för lager med kontingentvärden.","validationErrors":{"cannotBeNull":"Ange ett värde","invalidCodedValue":"Värdet ska vara ett av värdena i listan.","invalidType":"Inte ett giltigt värde","invalidBatchFormType":"Ett eller flera geoobjekt innehåller ogiltiga värden. Kontrollera enskilda geoobjekt.","featuresInError":"Ett eller flera geoobjekt innehåller fel. Kontrollera enskilda geoobjekt.","featuresWithInvalidValues":"Ett eller flera geoobjekt har ogiltiga värden","nonVisibleError_changeValues":"Det valda geoobjektet har dolda fält med ogiltiga värden. Ändra värdena så att fälten är synliga.","nonVisibleError_checkIndividualFeatures":"Ett eller flera geoobjekt har dolda fält med ogiltiga värden. Kontrollera enskilda geoobjekt och korrigera problemen.","outsideRange":"Värdet ska vara mellan {min} och {max}","outsideRangeMax":"Värdet ska vara mindre än eller lika med {max}","outsideRangeMin":"Värdet ska vara större än eller lika med {min}","tooShort":"Minst {min} tecken krävs i fältet"},"valueExpressionError":"Det gick inte att beräkna värde"}
@@ -1 +1 @@
1
- {"differentValues":"(ค่าที่แตกต่างกัน))","empty":"ไม่มีค่าว่าง","expressionEvaluationFailed":"ฟอร์มรันการคำนวณไม่สำเร็จ","failedToCalculateValues":"คำนวณค่าไม่สำเร็จ","formFailedToLoad":"โหลดฟอร์มไม่สำเร็จ","formFailedToLoadTooManyComplexFeatures":"ก้_This form uses functions that limit attribute editing to {num} features_____________________________________ษฺ.","formFailedToLoadTooManyFeatures":"ก้_Select up to {num} features to edit attributes_________________________ษฺ.","noVisibleFields":{"allElementsHidden":"ฟีเจอร์ที่เลือกไม่มีฟิลด์ที่จะแสดงผล","elementsHiddenInSome":"ฟีเจอร์ที่เลือกมีฟิลด์ที่แชร์ ซึ่งไม่ถูกแสดงผล เนื่องจากนิพจน์ความสามารถในการมองเห็น","noElements":"ฟีเจอร์ที่เลือกไม่มีฟิลด์ที่จะแสดงผล","noElementsInCommon":"ฟีเจอร์ที่เลือกไม่มีฟิลด์ที่แชร์"},"requiredFieldBatchMode":"ต้องการฟิลด์นี้สำหรับอย่างน้อยหนึ่งฟีเจอร์","requiredFieldLabel":"{name} - ฟิลด์ที่จำเป็น","showAllOptions":"แสดงตัวเลือกทั้งหมด","unsupportedContingentValues":"การแก้ไขคุณลักษณะของหลายฟีเจอร์ ไม่พร้อมใช้งานสำหรับชั้นข้อมูลที่มีค่าแบบมีเงื่อนไข","validationErrors":{"cannotBeNull":"โปรดป้อนค่า","invalidCodedValue":"ค่าควรเป็นหนึ่งในค่าที่แสดงในรายการ","invalidType":"ไม่ใช่ค่าที่ใช้งานได้","invalidBatchFormType":"อย่างน้อยหนึ่งฟีเจอร์มีค่าที่ใช้ไม่ได้ ตรวจสอบแต่ละฟีเจอร์","featuresInError":"อย่างน้อยหนึ่งฟีเจอร์มีข้อผิดพลาด ตรวจสอบแต่ละฟีเจอร์","featuresWithInvalidValues":"อย่างน้อยหนึ่งฟีเจอร์มีค่าที่ใช้งานไม่ได้","nonVisibleError_changeValues":"ฟีเจอร์ที่เลือกมีฟิลด์ที่ซ่อนไว้ ซึ่งมีค่าที่ใช้ไม่ได้ เปลี่ยนค่าดังกล่าวเพื่อให้มองเห็นฟิลด์ได้","nonVisibleError_checkIndividualFeatures":"อย่างน้อยหนึ่งฟีเจอร์มีฟิลด์ที่ซ่อนไว้ ซึ่งมีค่าที่ใช้งานไม่ได้ ตรวจสอบแต่ละฟีเจอร์แล้วแก้ไขปัญหา","outsideRange":"ค่าควรอยู่ระหว่าง {min} และ {max}","outsideRangeMax":"ค่าควรน้อยกว่าหรือเท่ากับ {max}","outsideRangeMin":"ค่าควรมากกว่าหรือเท่ากับ {min}","tooShort":"ฟิลด์นี้ต้องการอย่างน้อย {min} อักขระ"},"valueExpressionError":"ล้มเหลวในการคำนวณค่า"}
1
+ {"differentValues":"ก้_Different values_________________ษฺ","differentValuesPlaceholder":"ก้_(Different values)___________________ษฺ","empty":"ไม่มีค่าว่าง","expressionEvaluationFailed":"ฟอร์มรันการคำนวณไม่สำเร็จ","failedToCalculateValues":"คำนวณค่าไม่สำเร็จ","formFailedToLoad":"โหลดฟอร์มไม่สำเร็จ","formFailedToLoadTooManyComplexFeatures":"ก้_This form uses functions that limit attribute editing to {num} features_____________________________________ษฺ.","formFailedToLoadTooManyFeatures":"ก้_Select up to {num} features to edit attributes_________________________ษฺ.","noVisibleFields":{"allElementsHidden":"ฟีเจอร์ที่เลือกไม่มีฟิลด์ที่จะแสดงผล","elementsHiddenInSome":"ฟีเจอร์ที่เลือกมีฟิลด์ที่แชร์ ซึ่งไม่ถูกแสดงผล เนื่องจากนิพจน์ความสามารถในการมองเห็น","noElements":"ฟีเจอร์ที่เลือกไม่มีฟิลด์ที่จะแสดงผล","noElementsInCommon":"ฟีเจอร์ที่เลือกไม่มีฟิลด์ที่แชร์"},"requiredFieldBatchMode":"ต้องการฟิลด์นี้สำหรับอย่างน้อยหนึ่งฟีเจอร์","requiredFieldLabel":"{name} - ฟิลด์ที่จำเป็น","showAllOptions":"แสดงตัวเลือกทั้งหมด","unsupportedContingentValues":"การแก้ไขคุณลักษณะของหลายฟีเจอร์ ไม่พร้อมใช้งานสำหรับชั้นข้อมูลที่มีค่าแบบมีเงื่อนไข","validationErrors":{"cannotBeNull":"โปรดป้อนค่า","invalidCodedValue":"ค่าควรเป็นหนึ่งในค่าที่แสดงในรายการ","invalidType":"ไม่ใช่ค่าที่ใช้งานได้","invalidBatchFormType":"อย่างน้อยหนึ่งฟีเจอร์มีค่าที่ใช้ไม่ได้ ตรวจสอบแต่ละฟีเจอร์","featuresInError":"อย่างน้อยหนึ่งฟีเจอร์มีข้อผิดพลาด ตรวจสอบแต่ละฟีเจอร์","featuresWithInvalidValues":"อย่างน้อยหนึ่งฟีเจอร์มีค่าที่ใช้งานไม่ได้","nonVisibleError_changeValues":"ฟีเจอร์ที่เลือกมีฟิลด์ที่ซ่อนไว้ ซึ่งมีค่าที่ใช้ไม่ได้ เปลี่ยนค่าดังกล่าวเพื่อให้มองเห็นฟิลด์ได้","nonVisibleError_checkIndividualFeatures":"อย่างน้อยหนึ่งฟีเจอร์มีฟิลด์ที่ซ่อนไว้ ซึ่งมีค่าที่ใช้งานไม่ได้ ตรวจสอบแต่ละฟีเจอร์แล้วแก้ไขปัญหา","outsideRange":"ค่าควรอยู่ระหว่าง {min} และ {max}","outsideRangeMax":"ค่าควรน้อยกว่าหรือเท่ากับ {max}","outsideRangeMin":"ค่าควรมากกว่าหรือเท่ากับ {min}","tooShort":"ฟิลด์นี้ต้องการอย่างน้อย {min} อักขระ"},"valueExpressionError":"ล้มเหลวในการคำนวณค่า"}
@@ -1 +1 @@
1
- {"differentValues":"(Farklı değerler)","empty":"Değer yok","expressionEvaluationFailed":"Biçim hesaplamaları yürütemedi","failedToCalculateValues":"Değerler hesaplanamadı","formFailedToLoad":"Form yüklenemedi.","formFailedToLoadTooManyComplexFeatures":"ı_This form uses functions that limit attribute editing to {num} features_____________________________________İ.","formFailedToLoadTooManyFeatures":"ı_Select up to {num} features to edit attributes_________________________İ.","noVisibleFields":{"allElementsHidden":"Seçili detaylarda görüntülenecek alan yok","elementsHiddenInSome":"Seçili detaylarda, görünürlük ifadeleri nedeniyle görüntülenmeyen paylaşılan alanlar var","noElements":"Seçili detaylarda görüntülenecek alan yok","noElementsInCommon":"Seçili detaylarda paylaşılmış alan yok"},"requiredFieldBatchMode":"Bu alan bir veya daha fazla detay için gereklidir.","requiredFieldLabel":"{name} - gerekli alan","showAllOptions":"Tüm seçenekleri göster","unsupportedContingentValues":"Birden fazla detay için özniteliklerin düzenlenmesi, olasılıklı değerlere sahip katmanlarda kullanılamaz.","validationErrors":{"cannotBeNull":"Lütfen bir değer girin","invalidCodedValue":"Değer listelenen değerlerden biri olmalıdır.","invalidType":"Geçerli bir değer değil","invalidBatchFormType":"Bir veya daha fazla detay geçersiz değerler içeriyor. Ayrı detayları kontrol edin.","featuresInError":"Bir veya daha fazla detayda hata var. Ayrı detayları kontrol edin.","featuresWithInvalidValues":"Bir veya daha fazla detayda geçersiz değerler var","nonVisibleError_changeValues":"Seçili detayda geçersiz değerlere sahip gizli alanlar var. Alanların görünür olması için değerleri değiştirin.","nonVisibleError_checkIndividualFeatures":"Bir veya daha fazla detayda geçersiz değerler içeren gizli alanlar var. Ayrı ayrı detayları kontrol edin ve sorunları düzeltin.","outsideRange":"Değer {min} ve {max} arasında olmalıdır","outsideRangeMax":"Değer {max}'dan küçük veya eşit olmalıdır","outsideRangeMin":"Değer {min}'den büyük veya eşit olmalıdır","tooShort":"Bu alan minimum {min} karakter içerir"},"valueExpressionError":"Değer hesaplanamadı"}
1
+ {"differentValues":"ı_Different values_________________İ","differentValuesPlaceholder":"ı_(Different values)___________________İ","empty":"Değer yok","expressionEvaluationFailed":"Biçim hesaplamaları yürütemedi","failedToCalculateValues":"Değerler hesaplanamadı","formFailedToLoad":"Form yüklenemedi.","formFailedToLoadTooManyComplexFeatures":"ı_This form uses functions that limit attribute editing to {num} features_____________________________________İ.","formFailedToLoadTooManyFeatures":"ı_Select up to {num} features to edit attributes_________________________İ.","noVisibleFields":{"allElementsHidden":"Seçili detaylarda görüntülenecek alan yok","elementsHiddenInSome":"Seçili detaylarda, görünürlük ifadeleri nedeniyle görüntülenmeyen paylaşılan alanlar var","noElements":"Seçili detaylarda görüntülenecek alan yok","noElementsInCommon":"Seçili detaylarda paylaşılmış alan yok"},"requiredFieldBatchMode":"Bu alan bir veya daha fazla detay için gereklidir.","requiredFieldLabel":"{name} - gerekli alan","showAllOptions":"Tüm seçenekleri göster","unsupportedContingentValues":"Birden fazla detay için özniteliklerin düzenlenmesi, olasılıklı değerlere sahip katmanlarda kullanılamaz.","validationErrors":{"cannotBeNull":"Lütfen bir değer girin","invalidCodedValue":"Değer listelenen değerlerden biri olmalıdır.","invalidType":"Geçerli bir değer değil","invalidBatchFormType":"Bir veya daha fazla detay geçersiz değerler içeriyor. Ayrı detayları kontrol edin.","featuresInError":"Bir veya daha fazla detayda hata var. Ayrı detayları kontrol edin.","featuresWithInvalidValues":"Bir veya daha fazla detayda geçersiz değerler var","nonVisibleError_changeValues":"Seçili detayda geçersiz değerlere sahip gizli alanlar var. Alanların görünür olması için değerleri değiştirin.","nonVisibleError_checkIndividualFeatures":"Bir veya daha fazla detayda geçersiz değerler içeren gizli alanlar var. Ayrı ayrı detayları kontrol edin ve sorunları düzeltin.","outsideRange":"Değer {min} ve {max} arasında olmalıdır","outsideRangeMax":"Değer {max}'dan küçük veya eşit olmalıdır","outsideRangeMin":"Değer {min}'den büyük veya eşit olmalıdır","tooShort":"Bu alan minimum {min} karakter içerir"},"valueExpressionError":"Değer hesaplanamadı"}
@@ -1 +1 @@
1
- {"differentValues":"(Різні значення)","empty":"Без значення","expressionEvaluationFailed":"Не вдалося виконати обчислення форми.","failedToCalculateValues":"Не вдалося обчислити значення","formFailedToLoad":"Не вдалося завантажити форму.","formFailedToLoadTooManyComplexFeatures":"ґ_This form uses functions that limit attribute editing to {num} features_____________________________________Ї.","formFailedToLoadTooManyFeatures":"ґ_Select up to {num} features to edit attributes_________________________Ї.","noVisibleFields":{"allElementsHidden":"У вибраних обʼєктів немає полів для відображення","elementsHiddenInSome":"У вибраних обʼєктів є спільні поля, які не відображаються через вирази видимості","noElements":"У вибраного обʼєкту немає полів для відображення","noElementsInCommon":"У вибраних обʼєктів немає спільних полів"},"requiredFieldBatchMode":"Для цього поля потрібен один або кілька обʼєктів.","requiredFieldLabel":"{name} - обов’язкове поле","showAllOptions":"Показати всі опції","unsupportedContingentValues":"Атрибути редагування для декількох обʼєктів не доступні для шарів із залежними значеннями.","validationErrors":{"cannotBeNull":"Введіть значення","invalidCodedValue":"Значення має бути одним з перелічених значень.","invalidType":"Неприпустиме значення","invalidBatchFormType":"Деякі обʼєкти містять неприпустимі значення. Перевірте окремі обʼєкти.","featuresInError":"Деякі обʼєкти мають помилки. Перевірте окремі обʼєкти.","featuresWithInvalidValues":"Деякі обʼєкти мають неприпустимі значення","nonVisibleError_changeValues":"Вибраний обʼєкт має приховані поля з неприпустимими значеннями. Змініть значення, щоб поля стали видимими.","nonVisibleError_checkIndividualFeatures":"Деякі обʼєкти мають приховані поля з неприпустимими значеннями. Перевірте окремі обʼєкти та усуньте проблеми.","outsideRange":"Значення має знаходитися в діапазоні від {min} до {max}","outsideRangeMax":"Значення має бути менше або дорівнювати {max}","outsideRangeMin":"Значення має бути більше або дорівнювати {min}","tooShort":"Це поле потребує щонайменше {min} символів"},"valueExpressionError":"Не вдалося обчислити значення"}
1
+ {"differentValues":"ґ_Different values_________________Ї","differentValuesPlaceholder":"ґ_(Different values)___________________Ї","empty":"Без значення","expressionEvaluationFailed":"Не вдалося виконати обчислення форми.","failedToCalculateValues":"Не вдалося обчислити значення","formFailedToLoad":"Не вдалося завантажити форму.","formFailedToLoadTooManyComplexFeatures":"ґ_This form uses functions that limit attribute editing to {num} features_____________________________________Ї.","formFailedToLoadTooManyFeatures":"ґ_Select up to {num} features to edit attributes_________________________Ї.","noVisibleFields":{"allElementsHidden":"У вибраних обʼєктів немає полів для відображення","elementsHiddenInSome":"У вибраних обʼєктів є спільні поля, які не відображаються через вирази видимості","noElements":"У вибраного обʼєкту немає полів для відображення","noElementsInCommon":"У вибраних обʼєктів немає спільних полів"},"requiredFieldBatchMode":"Для цього поля потрібен один або кілька обʼєктів.","requiredFieldLabel":"{name} - обов’язкове поле","showAllOptions":"Показати всі опції","unsupportedContingentValues":"Атрибути редагування для декількох обʼєктів не доступні для шарів із залежними значеннями.","validationErrors":{"cannotBeNull":"Введіть значення","invalidCodedValue":"Значення має бути одним з перелічених значень.","invalidType":"Неприпустиме значення","invalidBatchFormType":"Деякі обʼєкти містять неприпустимі значення. Перевірте окремі обʼєкти.","featuresInError":"Деякі обʼєкти мають помилки. Перевірте окремі обʼєкти.","featuresWithInvalidValues":"Деякі обʼєкти мають неприпустимі значення","nonVisibleError_changeValues":"Вибраний обʼєкт має приховані поля з неприпустимими значеннями. Змініть значення, щоб поля стали видимими.","nonVisibleError_checkIndividualFeatures":"Деякі обʼєкти мають приховані поля з неприпустимими значеннями. Перевірте окремі обʼєкти та усуньте проблеми.","outsideRange":"Значення має знаходитися в діапазоні від {min} до {max}","outsideRangeMax":"Значення має бути менше або дорівнювати {max}","outsideRangeMin":"Значення має бути більше або дорівнювати {min}","tooShort":"Це поле потребує щонайменше {min} символів"},"valueExpressionError":"Не вдалося обчислити значення"}
@@ -1 +1 @@
1
- {"differentValues":"(Các giá trị khác nhau)","empty":"Không có giá trị","expressionEvaluationFailed":"Không thể chạy tính toán biểu mẫu","failedToCalculateValues":"Không thể tính toán giá trị","formFailedToLoad":"Không thể tải biểu mẫu.","formFailedToLoadTooManyComplexFeatures":"Đ_This form uses functions that limit attribute editing to {num} features_____________________________________ớ.","formFailedToLoadTooManyFeatures":"Đ_Select up to {num} features to edit attributes_________________________ớ.","noVisibleFields":{"allElementsHidden":"Đối tượng được chọn không có trường để hiển thị","elementsHiddenInSome":"Đối tượng được chọn có trường được chia sẻ không được hiển thị vì biểu thức tùy chọn","noElements":"Đối tượng được chọn không có trường để hiển thị","noElementsInCommon":"Đối tượng được chọn không có trường được chia sẻ"},"requiredFieldBatchMode":"Cần có trường này cho một hoặc nhiều đối tượng.","requiredFieldLabel":"{name} - trường bắt buộc","showAllOptions":"Hiển thị tất cả tùy chọn","unsupportedContingentValues":"Tính năng chỉnh sửa thuộc tính cho nhiều đối tượng không khả dụng đối với lớp có giá trị ràng buộc.","validationErrors":{"cannotBeNull":"Vui lòng nhập giá trị","invalidCodedValue":"Giá trị phải là một trong các giá trị được liệt kê.","invalidType":"Không phải là giá trị hợp lệ","invalidBatchFormType":"Một hoặc nhiều đối tượng chứa giá trị không hợp lệ. Kiểm tra từng đối tượng.","featuresInError":"Một hoặc nhiều đối tượng có lỗi. Kiểm tra từng đối tượng.","featuresWithInvalidValues":"Một hoặc nhiều đối tượng có giá trị không hợp lệ","nonVisibleError_changeValues":"Đối tượng được chọn có trường bị ẩn với giá trị không hợp lệ. Thay đổi giá trị để các trường có thể nhìn thấy được.","nonVisibleError_checkIndividualFeatures":"Một hoặc nhiều đối tượng có trường bị ẩn với giá trị không hợp lệ. Kiểm tra từng đối tượng và khắc phục sự cố.","outsideRange":"Giá trị phải nằm trong khoảng từ {min} đến {max}","outsideRangeMax":"Giá trị phải nhỏ hơn hoặc bằng {max}","outsideRangeMin":"Giá trị phải lớn hơn hoặc bằng {min}","tooShort":"Trường này yêu cầu nhập tối thiểu {min} ký tự"},"valueExpressionError":"Không thể tính toán giá trị"}
1
+ {"differentValues":"Đ_Different values_________________ớ","differentValuesPlaceholder":"Đ_(Different values)___________________ớ","empty":"Không có giá trị","expressionEvaluationFailed":"Không thể chạy tính toán biểu mẫu","failedToCalculateValues":"Không thể tính toán giá trị","formFailedToLoad":"Không thể tải biểu mẫu.","formFailedToLoadTooManyComplexFeatures":"Đ_This form uses functions that limit attribute editing to {num} features_____________________________________ớ.","formFailedToLoadTooManyFeatures":"Đ_Select up to {num} features to edit attributes_________________________ớ.","noVisibleFields":{"allElementsHidden":"Đối tượng được chọn không có trường để hiển thị","elementsHiddenInSome":"Đối tượng được chọn có trường được chia sẻ không được hiển thị vì biểu thức tùy chọn","noElements":"Đối tượng được chọn không có trường để hiển thị","noElementsInCommon":"Đối tượng được chọn không có trường được chia sẻ"},"requiredFieldBatchMode":"Cần có trường này cho một hoặc nhiều đối tượng.","requiredFieldLabel":"{name} - trường bắt buộc","showAllOptions":"Hiển thị tất cả tùy chọn","unsupportedContingentValues":"Tính năng chỉnh sửa thuộc tính cho nhiều đối tượng không khả dụng đối với lớp có giá trị ràng buộc.","validationErrors":{"cannotBeNull":"Vui lòng nhập giá trị","invalidCodedValue":"Giá trị phải là một trong các giá trị được liệt kê.","invalidType":"Không phải là giá trị hợp lệ","invalidBatchFormType":"Một hoặc nhiều đối tượng chứa giá trị không hợp lệ. Kiểm tra từng đối tượng.","featuresInError":"Một hoặc nhiều đối tượng có lỗi. Kiểm tra từng đối tượng.","featuresWithInvalidValues":"Một hoặc nhiều đối tượng có giá trị không hợp lệ","nonVisibleError_changeValues":"Đối tượng được chọn có trường bị ẩn với giá trị không hợp lệ. Thay đổi giá trị để các trường có thể nhìn thấy được.","nonVisibleError_checkIndividualFeatures":"Một hoặc nhiều đối tượng có trường bị ẩn với giá trị không hợp lệ. Kiểm tra từng đối tượng và khắc phục sự cố.","outsideRange":"Giá trị phải nằm trong khoảng từ {min} đến {max}","outsideRangeMax":"Giá trị phải nhỏ hơn hoặc bằng {max}","outsideRangeMin":"Giá trị phải lớn hơn hoặc bằng {min}","tooShort":"Trường này yêu cầu nhập tối thiểu {min} ký tự"},"valueExpressionError":"Không thể tính toán giá trị"}
@@ -1 +1 @@
1
- {"differentValues":"(不同值)","empty":"没有值","expressionEvaluationFailed":"表单计算失败","failedToCalculateValues":"无法计算值","formFailedToLoad":"表单加载失败。","formFailedToLoadTooManyComplexFeatures":"试_This form uses functions that limit attribute editing to {num} features_____________________________________验.","formFailedToLoadTooManyFeatures":"试_Select up to {num} features to edit attributes_________________________验.","noVisibleFields":{"allElementsHidden":"所选要素没有任何可显示的字段","elementsHiddenInSome":"所选要素的共享字段因可见性表达式未显示","noElements":"所选要素没有可显示的字段","noElementsInCommon":"所选要素没有共享字段"},"requiredFieldBatchMode":"此字段为一个或多个要素的必填项。","requiredFieldLabel":"{name} - 为必填字段","showAllOptions":"显示所有选项","unsupportedContingentValues":"编辑多个要素的属性不适用于具有条件值的图层。","validationErrors":{"cannotBeNull":"请输入一个值","invalidCodedValue":"值应为下列某个值。","invalidType":"不是有效值","invalidBatchFormType":"一个或多个要素包含无效值。 检查各个要素。","featuresInError":"一个或多个要素具有错误。 检查各个要素。","featuresWithInvalidValues":"一个或多个要素具有无效值","nonVisibleError_changeValues":"所选要素的隐藏字段具有无效值。 修改这些值,使其可见。","nonVisibleError_checkIndividualFeatures":"一个或多个要素的隐藏字段具有无效值。 请检查单个要素并解决该问题。","outsideRange":"值应该介于 {min} 到 {max} 之间","outsideRangeMax":"值应小于或等于 {max}","outsideRangeMin":"值应大于或等于 {min}","tooShort":"此字段至少需要 {min} 个字符。"},"valueExpressionError":"计算值失败"}
1
+ {"differentValues":"试_Different values_________________验","differentValuesPlaceholder":"试_(Different values)___________________验","empty":"没有值","expressionEvaluationFailed":"表单计算失败","failedToCalculateValues":"无法计算值","formFailedToLoad":"表单加载失败。","formFailedToLoadTooManyComplexFeatures":"试_This form uses functions that limit attribute editing to {num} features_____________________________________验.","formFailedToLoadTooManyFeatures":"试_Select up to {num} features to edit attributes_________________________验.","noVisibleFields":{"allElementsHidden":"所选要素没有任何可显示的字段","elementsHiddenInSome":"所选要素的共享字段因可见性表达式未显示","noElements":"所选要素没有可显示的字段","noElementsInCommon":"所选要素没有共享字段"},"requiredFieldBatchMode":"此字段为一个或多个要素的必填项。","requiredFieldLabel":"{name} - 为必填字段","showAllOptions":"显示所有选项","unsupportedContingentValues":"编辑多个要素的属性不适用于具有条件值的图层。","validationErrors":{"cannotBeNull":"请输入一个值","invalidCodedValue":"值应为下列某个值。","invalidType":"不是有效值","invalidBatchFormType":"一个或多个要素包含无效值。 检查各个要素。","featuresInError":"一个或多个要素具有错误。 检查各个要素。","featuresWithInvalidValues":"一个或多个要素具有无效值","nonVisibleError_changeValues":"所选要素的隐藏字段具有无效值。 修改这些值,使其可见。","nonVisibleError_checkIndividualFeatures":"一个或多个要素的隐藏字段具有无效值。 请检查单个要素并解决该问题。","outsideRange":"值应该介于 {min} 到 {max} 之间","outsideRangeMax":"值应小于或等于 {max}","outsideRangeMin":"值应大于或等于 {min}","tooShort":"此字段至少需要 {min} 个字符。"},"valueExpressionError":"计算值失败"}
@@ -1 +1 @@
1
- {"differentValues":"(不同值)","empty":"沒有值","expressionEvaluationFailed":"表格無法執行計算","failedToCalculateValues":"無法計算值","formFailedToLoad":"無法載入表格。","formFailedToLoadTooManyComplexFeatures":"試_This form uses functions that limit attribute editing to {num} features_____________________________________驗.","formFailedToLoadTooManyFeatures":"試_Select up to {num} features to edit attributes_________________________驗.","noVisibleFields":{"allElementsHidden":"所選圖徵沒有要顯示的欄位","elementsHiddenInSome":"所選圖徵具有分享的欄位,由於可見性表達式而未顯示","noElements":"所選圖徵沒有要顯示的欄位","noElementsInCommon":"所選圖徵沒有分享的欄位"},"requiredFieldBatchMode":"此欄位對於一或多個圖徵是必要的。","requiredFieldLabel":"{name} - 必要欄位","showAllOptions":"顯示所有選項","unsupportedContingentValues":"對於具有意外值的圖層,無法編輯多個圖徵的屬性。","validationErrors":{"cannotBeNull":"請輸入一個值","invalidCodedValue":"值必須是其中一個列出值。","invalidType":"非有效值","invalidBatchFormType":"一或多個圖徵包含無效值。 檢查個別圖徵。","featuresInError":"一或多個圖徵發生錯誤。 檢查個別圖徵。","featuresWithInvalidValues":"一或多個圖徵具有無效值","nonVisibleError_changeValues":"所選圖徵具有包含無效值的隱藏欄位。 變更值以使欄位可見。","nonVisibleError_checkIndividualFeatures":"一或多個圖徵具有包含無效值的隱藏欄位。 檢查個別圖徵並更正問題。","outsideRange":"值應該介於 {min} 到 {max}","outsideRangeMax":"值必須小於或等於 {max}","outsideRangeMin":"值必須大於或等於 {min}","tooShort":"此欄位至少需要 {min} 個字元"},"valueExpressionError":"無法計算值。"}
1
+ {"differentValues":"試_Different values_________________驗","differentValuesPlaceholder":"試_(Different values)___________________驗","empty":"沒有值","expressionEvaluationFailed":"表格無法執行計算","failedToCalculateValues":"無法計算值","formFailedToLoad":"無法載入表格。","formFailedToLoadTooManyComplexFeatures":"試_This form uses functions that limit attribute editing to {num} features_____________________________________驗.","formFailedToLoadTooManyFeatures":"試_Select up to {num} features to edit attributes_________________________驗.","noVisibleFields":{"allElementsHidden":"所選圖徵沒有要顯示的欄位","elementsHiddenInSome":"所選圖徵具有分享的欄位,由於可見性表達式而未顯示","noElements":"所選圖徵沒有要顯示的欄位","noElementsInCommon":"所選圖徵沒有分享的欄位"},"requiredFieldBatchMode":"此欄位對於一或多個圖徵是必要的。","requiredFieldLabel":"{name} - 必要欄位","showAllOptions":"顯示所有選項","unsupportedContingentValues":"對於具有意外值的圖層,無法編輯多個圖徵的屬性。","validationErrors":{"cannotBeNull":"請輸入一個值","invalidCodedValue":"值必須是其中一個列出值。","invalidType":"非有效值","invalidBatchFormType":"一或多個圖徵包含無效值。 檢查個別圖徵。","featuresInError":"一或多個圖徵發生錯誤。 檢查個別圖徵。","featuresWithInvalidValues":"一或多個圖徵具有無效值","nonVisibleError_changeValues":"所選圖徵具有包含無效值的隱藏欄位。 變更值以使欄位可見。","nonVisibleError_checkIndividualFeatures":"一或多個圖徵具有包含無效值的隱藏欄位。 檢查個別圖徵並更正問題。","outsideRange":"值應該介於 {min} 到 {max}","outsideRangeMax":"值必須小於或等於 {max}","outsideRangeMin":"值必須大於或等於 {min}","tooShort":"此欄位至少需要 {min} 個字元"},"valueExpressionError":"無法計算值。"}
@@ -1 +1 @@
1
- {"differentValues":"(不同值)","empty":"沒有值","expressionEvaluationFailed":"表格無法執行計算","failedToCalculateValues":"無法計算值","formFailedToLoad":"無法載入表格。","formFailedToLoadTooManyComplexFeatures":"試_This form uses functions that limit attribute editing to {num} features_____________________________________驗.","formFailedToLoadTooManyFeatures":"試_Select up to {num} features to edit attributes_________________________驗.","noVisibleFields":{"allElementsHidden":"所選圖徵沒有要顯示的欄位","elementsHiddenInSome":"所選圖徵具有分享的欄位,由於可見性表達式而未顯示","noElements":"所選圖徵沒有要顯示的欄位","noElementsInCommon":"所選圖徵沒有分享的欄位"},"requiredFieldBatchMode":"此欄位對於一或多個圖徵是必要的。","requiredFieldLabel":"{name} - 必要欄位","showAllOptions":"顯示所有選項","unsupportedContingentValues":"對於具有意外值的圖層,無法編輯多個圖徵的屬性。","validationErrors":{"cannotBeNull":"請輸入一個值","invalidCodedValue":"值必須是其中一個列出值。","invalidType":"非有效值","invalidBatchFormType":"一或多個圖徵包含無效值。 檢查個別圖徵。","featuresInError":"一或多個圖徵發生錯誤。 檢查個別圖徵。","featuresWithInvalidValues":"一或多個圖徵具有無效值","nonVisibleError_changeValues":"所選圖徵具有包含無效值的隱藏欄位。 變更值以使欄位可見。","nonVisibleError_checkIndividualFeatures":"一或多個圖徵具有包含無效值的隱藏欄位。 檢查個別圖徵並更正問題。","outsideRange":"值應該介於 {min} 到 {max}","outsideRangeMax":"值必須小於或等於 {max}","outsideRangeMin":"值必須大於或等於 {min}","tooShort":"此欄位至少需要 {min} 個字元"},"valueExpressionError":"無法計算值。"}
1
+ {"differentValues":"試_Different values_________________驗","differentValuesPlaceholder":"試_(Different values)___________________驗","empty":"沒有值","expressionEvaluationFailed":"表格無法執行計算","failedToCalculateValues":"無法計算值","formFailedToLoad":"無法載入表格。","formFailedToLoadTooManyComplexFeatures":"試_This form uses functions that limit attribute editing to {num} features_____________________________________驗.","formFailedToLoadTooManyFeatures":"試_Select up to {num} features to edit attributes_________________________驗.","noVisibleFields":{"allElementsHidden":"所選圖徵沒有要顯示的欄位","elementsHiddenInSome":"所選圖徵具有分享的欄位,由於可見性表達式而未顯示","noElements":"所選圖徵沒有要顯示的欄位","noElementsInCommon":"所選圖徵沒有分享的欄位"},"requiredFieldBatchMode":"此欄位對於一或多個圖徵是必要的。","requiredFieldLabel":"{name} - 必要欄位","showAllOptions":"顯示所有選項","unsupportedContingentValues":"對於具有意外值的圖層,無法編輯多個圖徵的屬性。","validationErrors":{"cannotBeNull":"請輸入一個值","invalidCodedValue":"值必須是其中一個列出值。","invalidType":"非有效值","invalidBatchFormType":"一或多個圖徵包含無效值。 檢查個別圖徵。","featuresInError":"一或多個圖徵發生錯誤。 檢查個別圖徵。","featuresWithInvalidValues":"一或多個圖徵具有無效值","nonVisibleError_changeValues":"所選圖徵具有包含無效值的隱藏欄位。 變更值以使欄位可見。","nonVisibleError_checkIndividualFeatures":"一或多個圖徵具有包含無效值的隱藏欄位。 檢查個別圖徵並更正問題。","outsideRange":"值應該介於 {min} 到 {max}","outsideRangeMax":"值必須小於或等於 {max}","outsideRangeMin":"值必須大於或等於 {min}","tooShort":"此欄位至少需要 {min} 個字元"},"valueExpressionError":"無法計算值。"}
@@ -1 +1 @@
1
- {"widgetLabel":"ルート案内","addStop":"ストップの地点","clearRoute":"ルートの消去","departAt":"出発時間","departureTime":"出発時間","directionsPlaceholder":"ルートはここに表示されます。","eta":"推定到着時間","intermediateCosts":"中間コスト","leaveNow":"今すぐ移動","primaryCosts":"プライマリ コスト","removeStop":"ストップの削除","reverseStops":"ストップの反転","secondaryCosts":"セカンダリ コスト","signInRequired":"サインインが必要です","stopLabel":"訪問先","timeUnspecified":"時間が指定されていません","travelMode":"移動モード","unlocated":"未配置(U)","zoomToRoute":"ルートにズーム","errors":{"authenticating":"ポータルへのサイン イン中にエラーが発生しました","fetching":"ポータル情報の取得中にエラーが発生しました","saving":"レイヤーの保存中にエラーが発生しました","unableToLoadServiceMetadata":"ルート サービスを読み込めません。 これは、サービスにアクセスできないことが原因と考えられます。","unableToRoute":"ストップ間のルート検索はできません。","unknownError":"エラーが発生しているようです。"},"viewLayerDetails":"レイヤーの詳細の表示","missingLayer":"RouteLayer がルート案内に割り当てられていません。","layerName":"須_Layer name_____________________鷗","saveInFolder":"フォルダーに保存","processing":{"fetching":"ポータル情報を取得しています","saving":"保存しています"},"common":{"auth":{"signIn":"サイン イン"},"cancel":"キャンセル","clear":"消去","close":"閉じる","delete":"削除","done":"完了","errorMessage":"エラー","home":"ホーム","print":"須_Print___________鷗","save":"保存","saveAs":"名前を付けて保存"},"identity":{"lblSigning":"サイン インしています..."},"networkFeatures":{"pointBarrier":"ポイント バリア","polygonBarrier":"ポリゴン バリア","polylineBarrier":"ポリライン バリア","stops":{"stop":"停止","waypoint":"ウェイポイント","break":"ブレーク"}},"arrival":"到着","automaticallySolve":"自動的に解析","barrier":"バリア","cost":"コスト","deleteStop":"訪問先の削除","drivingDirections":"ルート案内","editRoute":"ルートの編集","from":"From","invalidRoute":"無効なルート","mode":"モード","optimizeOrder":"ルートの最適化","panToStop":"ストップに画面移動","pickALocationOnTheMap":"マップ上で位置を選択","preserveFirstStop":"最初のストップを維持","preserveLastStop":"最後のストップを維持","saveLayer":"レイヤーの保存","selectedNetworkFeatures":"選択されたネットワーク フィーチャ","solve":"解析","to":"To","unnamed":"名前なし","viewDrivingDirections":"ルート案内の表示"}
1
+ {"widgetLabel":"ルート案内","addStop":"ストップの地点","clearRoute":"ルートの消去","departAt":"出発時間","departureTime":"出発時間","directionsPlaceholder":"ルートはここに表示されます。","eta":"推定到着時間","intermediateCosts":"中間コスト","leaveNow":"今すぐ移動","primaryCosts":"プライマリ コスト","removeStop":"ストップの削除","reverseStops":"ストップの反転","secondaryCosts":"セカンダリ コスト","signInRequired":"サインインが必要です","stopLabel":"訪問先","timeUnspecified":"時間が指定されていません","travelMode":"移動モード","unlocated":"未配置(U)","zoomToRoute":"ルートにズーム","errors":{"authenticating":"ポータルへのサイン イン中にエラーが発生しました","fetching":"ポータル情報の取得中にエラーが発生しました","saving":"レイヤーの保存中にエラーが発生しました","unableToLoadServiceMetadata":"ルート サービスを読み込めません。 これは、サービスにアクセスできないことが原因と考えられます。","unableToRoute":"ストップ間のルート検索はできません。","unknownError":"エラーが発生しているようです。"},"viewLayerDetails":"レイヤーの詳細の表示","missingLayer":"RouteLayer がルート案内に割り当てられていません。","layerName":"須_Layer name_____________________鷗","saveInFolder":"フォルダーに保存","processing":{"fetching":"ポータル情報を取得しています","saving":"保存しています"},"common":{"auth":{"signIn":"サイン イン"},"cancel":"キャンセル","clear":"消去","close":"閉じる","delete":"削除","done":"完了","errorMessage":"エラー","home":"ホーム","print":"須_Print___________鷗","save":"保存","saveAs":"名前を付けて保存"},"identity":{"lblSigning":"サイン インしています..."},"networkFeatures":{"pointBarrier":"ポイント バリア","polygonBarrier":"ポリゴン バリア","polylineBarrier":"ポリライン バリア","stops":{"stop":"ストップ","waypoint":"ウェイポイント","break":"ブレーク"}},"arrival":"到着","automaticallySolve":"自動的に解析","barrier":"バリア","cost":"コスト","deleteStop":"訪問先の削除","drivingDirections":"ルート案内","editRoute":"ルートの編集","from":"From","invalidRoute":"無効なルート","mode":"モード","optimizeOrder":"ルートの最適化","panToStop":"ストップに画面移動","pickALocationOnTheMap":"マップ上で位置を選択","preserveFirstStop":"最初のストップを維持","preserveLastStop":"最後のストップを維持","saveLayer":"レイヤーの保存","selectedNetworkFeatures":"選択されたネットワーク フィーチャ","solve":"解析","to":"To","unnamed":"名前なし","viewDrivingDirections":"ルート案内の表示"}
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
4
4
  */
5
- import{toSymbolId as t}from"../arcade/arcadeEnvironment.js";import e from"../arcade/Dictionary.js";import{ArcadeExecutionError as s,ExecutionErrorCodes as r}from"../arcade/executionError.js";import{D as n,m as o,M as a}from"./languageUtils.js";import i from"../core/Error.js";import c from"../core/Logger.js";import{getOrCreateMapValue as l}from"../core/MapUtils.js";import u from"../portal/Portal.js";import{translate as h}from"../rest/translate.js";import m from"../rest/support/TranslateContent.js";import f from"../rest/support/TranslateParameters.js";import p from"../rest/support/TranslateResult.js";import{isString as d,isArray as g}from"../support/guards.js";class y{constructor(t,e){this.portal=t,this._debugLog=e}async translate(t){this.portal.loaded||await this.portal.load();const e=this.portal.helperServices?.aiUtilityServices;if(null==e)return{success:!1};const s=e.url+e.translateUtility;try{return{success:!0,results:(await h(s,t,{authMode:"no-prompt",headers:{"x-esri-request-source":"arcade"}})).map((t=>t.toJSON()))}}catch(r){return null!=this._debugLog&&(r instanceof Error||r instanceof i)&&this._debugLog(`TranslateText error: ${r.message}`),c.getLogger("esri.arcade.functions.aiServices").error(r),{success:!1}}}}class _{constructor(t,e,s){this._parameters=t,this._maxTotalContentSize=e,this._maxContentsLength=s,this._requests=[],this._normalizedContents=new Map,this._contentsTotalSize=0}tryAdd(t){const e=new Set(t.filter((t=>!this._normalizedContents.has(t.text))).map((t=>t.text)));if(this._requests.length+e.size>this._maxContentsLength)return null;let s=0;for(const n of e)s+=n.length;if((s+this._contentsTotalSize)*(this._parameters.to.length??1)>this._maxTotalContentSize)return null;const r=this._requests.length;for(const{key:n,text:o}of t)l(this._normalizedContents,o,(()=>[])).push({batchIdx:r,key:n});return this._requests.push(t),this._contentsTotalSize+=s,r}async send(t){const e=[],s=[];let r=0;for(const[i,c]of this._normalizedContents)e.push(new m({key:String(r++),text:i})),s.push(c);const n=new f(this._parameters);n.contents=e;const o=await t.translate(n);if(!o.success)return Array.from(this._requests,(()=>o));const a=Array.from(this._requests,(()=>({success:!0,results:[]})));for(const i of o.results){const t=Number(i.key);for(const e of s[t])a[e.batchIdx].results.push({...i,key:e.key})}return a}}function x(t){const e=[...new Set(t.to)].sort(),s=t.from??null,r=t.portalUrl,n=t.translator,o=t.apiKey??null;return JSON.stringify([e,s,r,n,o])}async function w(t,e,s){try{return(await t.yieldFor(s))[e]}catch{return{success:!1}}}class S{constructor(t,e,{maxTotalContentSize:s=5e4,maxContentsLength:r=1e3}={}){this._executor=t,this._service=e,this._openBatches=new Map,this._maxTotalContentSize=s,this._maxContentsLength=r}create(t){return{translate:async e=>{const s=x(e),{contents:r,to:n,from:o,translator:a,portalUrl:i,apiKey:c}=e;if(null==n)return{success:!1};if(null==r||r.every((t=>0===t.text.length)))return{success:!1};const l=this._openBatches.get(s);if(null!=l){const e=l.data.tryAdd(r);if(null!=e)return await w(t,e,l);l.send()}const u=new _({to:n,from:o,translator:a,portalUrl:i,apiKey:c},this._maxTotalContentSize,this._maxContentsLength),h=u.tryAdd(r);if(null!=h){const e=this._executor.openBatch(u,{open:t=>{this._openBatches.set(s,t)},execute:t=>t.send(this._service),close:t=>{this._openBatches.get(s)===t&&this._openBatches.delete(s)}});return await w(t,h,e)}return await this._service.translate(e)}}}}function T(i){"async"===i.mode&&(i.functions[t("TranslateText")]=function(t,c){return i.standardFunctionAsync(t,c,(async(t,i,c)=>{if(n(c,2,3,t,i),!d(c[0])&&!g(c[0])&&!o(c[0]))throw new s(t,r.InvalidParameter,i);const l=a(c[0]);if(!d(c[1])&&!g(c[1])&&!o(c[1]))throw new s(t,r.InvalidParameter,i);const h=a(c[1]);let _=null;if(c.length>=3){if(!d(c[2]))throw new s(t,r.InvalidParameter,i);_=c[2]}const w=l.map(((t,e)=>new m({key:String(e),text:t}))),S=t.services?.portal??u.getDefault(),T=new f({to:h,contents:w,from:_,portalUrl:S.restUrl.replace(/\/sharing\/rest$/,"")}),v=new Map;let C=null;if(null!=t.lrucache){const e=t.lrucache;C??=x(T),T.contents=T.contents?.filter((t=>{const s=e.getCachedTranslation(C,t.text);return null==s||(v.set(t.key,{...s,key:t.key,text:t.text}),!1)}))}if(T.contents?.length){const n=t.services?.translation??new y(S,t.console),o=await n.translate(T);if(!o.success)return new e({success:!1});for(const e of o.results){const n=T.contents?.find((t=>t.key===e.key))?.text;if(null==n)throw new s(null,r.NeverReach,null);v.set(e.key,e),null!=t.lrucache&&(C??=x(T),t.lrucache.setCachedTranslation(C,n,{detectedLanguage:e.detectedLanguage,translation:e.translation}))}}const j=Array.from(w,(n=>{const o=p.fromJSON(v.get(n.key));if(null==o)throw new s(null,r.NeverReach,null);return o.text=n.text,e.convertJsonToArcade(o.toJSON(),t.timeZone??"system",!0)}));return new e({success:!0,results:j})}))})}const v=Object.freeze(Object.defineProperty({__proto__:null,BatchTranslationServiceFactory:S,PortalTranslationService:y,getTranslateParametersKey:x,registerFunctions:T},Symbol.toStringTag,{value:"Module"}));export{v as A,S as B,y as P,x as g,T as r};
5
+ import{toSymbolId as t}from"../arcade/arcadeEnvironment.js";import e from"../arcade/Dictionary.js";import{ArcadeExecutionError as s,ExecutionErrorCodes as r}from"../arcade/executionError.js";import{B as n,j as o,L as a}from"./languageUtils.js";import i from"../core/Error.js";import c from"../core/Logger.js";import{getOrCreateMapValue as l}from"../core/MapUtils.js";import u from"../portal/Portal.js";import{translate as h}from"../rest/translate.js";import m from"../rest/support/TranslateContent.js";import f from"../rest/support/TranslateParameters.js";import p from"../rest/support/TranslateResult.js";import{isString as d,isArray as _}from"../support/guards.js";class g{constructor(t,e){this.portal=t,this._debugLog=e}async translate(t){this.portal.loaded||await this.portal.load();const e=this.portal.helperServices?.aiUtilityServices;if(null==e)return{success:!1};const s=e.url+e.translateUtility;try{return{success:!0,results:(await h(s,t,{authMode:"no-prompt",headers:{"x-esri-request-source":"arcade"}})).map((t=>t.toJSON()))}}catch(r){return null!=this._debugLog&&(r instanceof Error||r instanceof i)&&this._debugLog(`TranslateText error: ${r.message}`),c.getLogger("esri.arcade.functions.aiServices").error(r),{success:!1}}}}class y{constructor(t,e,s){this._parameters=t,this._maxTotalContentSize=e,this._maxContentsLength=s,this._requests=[],this._normalizedContents=new Map,this._contentsTotalSize=0}tryAdd(t){const e=new Set(t.filter((t=>!this._normalizedContents.has(t.text))).map((t=>t.text)));if(this._requests.length+e.size>this._maxContentsLength)return null;let s=0;for(const n of e)s+=n.length;if((s+this._contentsTotalSize)*(this._parameters.to.length??1)>this._maxTotalContentSize)return null;const r=this._requests.length;for(const{key:n,text:o}of t)l(this._normalizedContents,o,(()=>[])).push({batchIdx:r,key:n});return this._requests.push(t),this._contentsTotalSize+=s,r}async send(t){const e=[],s=[];let r=0;for(const[i,c]of this._normalizedContents)e.push(new m({key:String(r++),text:i})),s.push(c);const n=new f(this._parameters);n.contents=e;const o=await t.translate(n);if(!o.success)return Array.from(this._requests,(()=>o));const a=Array.from(this._requests,(()=>({success:!0,results:[]})));for(const i of o.results){const t=Number(i.key);for(const e of s[t])a[e.batchIdx].results.push({...i,key:e.key})}return a}}function x(t){const e=[...new Set(t.to)].sort(),s=t.from??null,r=t.portalUrl,n=t.translator,o=t.apiKey??null;return JSON.stringify([e,s,r,n,o])}async function w(t,e,s){try{return(await t.yieldFor(s))[e]}catch{return{success:!1}}}class S{constructor(t,e,{maxTotalContentSize:s=5e4,maxContentsLength:r=1e3}={}){this._executor=t,this._service=e,this._openBatches=new Map,this._maxTotalContentSize=s,this._maxContentsLength=r}create(t){return{translate:async e=>{const s=x(e),{contents:r,to:n,from:o,translator:a,portalUrl:i,apiKey:c}=e;if(null==n)return{success:!1};if(null==r||r.every((t=>0===t.text.length)))return{success:!1};const l=this._openBatches.get(s);if(null!=l){const e=l.data.tryAdd(r);if(null!=e)return await w(t,e,l);l.send()}const u=new y({to:n,from:o,translator:a,portalUrl:i,apiKey:c},this._maxTotalContentSize,this._maxContentsLength),h=u.tryAdd(r);if(null!=h){const e=this._executor.openBatch(u,{open:t=>{this._openBatches.set(s,t)},execute:t=>t.send(this._service),close:t=>{this._openBatches.get(s)===t&&this._openBatches.delete(s)}});return await w(t,h,e)}return await this._service.translate(e)}}}}function T(i){"async"===i.mode&&(i.functions[t("TranslateText")]=function(t,c){return i.standardFunctionAsync(t,c,(async(t,i,c)=>{if(n(c,2,3,t,i),!d(c[0])&&!_(c[0])&&!o(c[0]))throw new s(t,r.InvalidParameter,i);const l=a(c[0]);if(!d(c[1])&&!_(c[1])&&!o(c[1]))throw new s(t,r.InvalidParameter,i);const h=a(c[1]);let y=null;if(c.length>=3){if(!d(c[2]))throw new s(t,r.InvalidParameter,i);y=c[2]}const w=l.map(((t,e)=>new m({key:String(e),text:t}))),S=t.services?.portal??u.getDefault(),T=new f({to:h,contents:w,from:y,portalUrl:S.restUrl.replace(/\/sharing\/rest$/,"")}),v=new Map;let C=null;if(null!=t.lrucache){const e=t.lrucache;C??=x(T),T.contents=T.contents?.filter((t=>{const s=e.getCachedTranslation(C,t.text);return null==s||(v.set(t.key,{...s,key:t.key,text:t.text}),!1)}))}if(T.contents?.length){const n=t.services?.translation??new g(S,t.console),o=await n.translate(T);if(!o.success)return new e({__proto__:null,success:!1});for(const e of o.results){const n=T.contents?.find((t=>t.key===e.key))?.text;if(null==n)throw new s(null,r.NeverReach,null);v.set(e.key,e),null!=t.lrucache&&(C??=x(T),t.lrucache.setCachedTranslation(C,n,{detectedLanguage:e.detectedLanguage,translation:e.translation}))}}const j=Array.from(w,(n=>{const o=p.fromJSON(v.get(n.key));if(null==o)throw new s(null,r.NeverReach,null);return o.text=n.text,e.convertJsonToArcade(o.toJSON(),t.timeZone??"system",!0)}));return new e({__proto__:null,success:!0,results:j})}))})}const v=Object.freeze(Object.defineProperty({__proto__:null,BatchTranslationServiceFactory:S,PortalTranslationService:g,getTranslateParametersKey:x,registerFunctions:T},Symbol.toStringTag,{value:"Module"}));export{v as A,S as B,g as P,x as g,T as r};
package/chunks/array.js CHANGED
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
4
4
  */
5
- import{deepClone as n}from"../arcade/deepClone.js";import{ArcadeExecutionError as t,ExecutionErrorCodes as r}from"../arcade/executionError.js";import e from"../arcade/ImmutableArray.js";import{D as o,K as i,m as u,t as a,v as c,A as s,i as l,N as f,f as d}from"./languageUtils.js";import{isPromiseLike as h}from"../core/promiseUtils.js";import{isArray as w,isBoolean as g,isInteger as m}from"../support/guards.js";function F(F){function p(n,o,i){if(n instanceof e)return n.toArray();if(w(n))return n;throw new t(o,r.InvalidParameter,i)}function y(n,t){const r=n.length,e=Math.floor(r/2);return 0===r?[]:1===r?[n[0]]:v(y(n.slice(0,e),t),y(n.slice(e,r),t),t)}function v(n,t,r){const e=[];for(;n.length>0||t.length>0;)if(n.length>0&&t.length>0){let o=r(n[0],t[0]);isNaN(o)&&(o=0),o<=0?(e.push(n[0]),n=n.slice(1)):(e.push(t[0]),t=t.slice(1))}else n.length>0?(e.push(n[0]),n=n.slice(1)):t.length>0&&(e.push(t[0]),t=t.slice(1));return e}async function P(n,t){const r=n.length,e=Math.floor(r/2);if(0===r)return[];if(1===r)return[n[0]];const o=[await P(n.slice(0,e),t),await P(n.slice(e,r),t)];return I(o[0],o[1],t,[])}async function I(n,t,r,e){const o=e;if(n.length>0||t.length>0){if(n.length>0&&t.length>0){let i=await r(n[0],t[0]);return isNaN(i)&&(i=1),i<=0?(o.push(n[0]),n=n.slice(1)):(o.push(t[0]),t=t.slice(1)),I(n,t,r,e)}return n.length>0?(o.push(n[0]),I(n=n.slice(1),t,r,e)):(o.push(t[0]),I(n,t=t.slice(1),r,e))}return e}function N(n,e,i,a){o(i,1,2,n,e);let s=i[0];if(u(s)&&(s=s.toArray()),!1===w(s))throw new t(n,r.InvalidParameter,e);if(i.length>1){if(!1===l(i[1]))throw new t(n,r.InvalidParameter,e);let o=s;const u=i[1].createFunction(n);return a?P(o,u):(o=y(o,((n,t)=>u(n,t))),o)}let h=s;if(0===h.length)return[];const g={};for(let t=0;t<h.length;t++){const n=f(h[t]);""!==n&&(g[n]=!0)}if(!0===g.Array||!0===g.Dictionary||!0===g.Feature||!0===g.Voxel||!0===g.Point||!0===g.Polygon||!0===g.Polyline||!0===g.Multipoint||!0===g.Extent||!0===g.Function)return h.slice();let m=0,F="";for(const t in g)m++,F=t;return h=m>1||"String"===F?y(h,((n,t)=>{if(null==n||n===c)return null==t||t===c?0:1;if(null==t||t===c)return-1;const r=d(n),e=d(t);return r<e?-1:r===e?0:1})):"Number"===F?y(h,((n,t)=>n-t)):"Boolean"===F?y(h,((n,t)=>n===t?0:t?-1:1)):"Date"===F?y(h,((n,t)=>n.toNumber()-t.toNumber())):h.slice(),h}F.functions.array=function(e,c){return F.standardFunction(e,c,((s,l,f)=>{if(o(f,0,2,e,c),0===f.length)return[];if(1===f.length&&null===f[0])return[];if(w(f[0])){if(2===f.length&&!1===g(f[1]))throw new t(e,r.InvalidParameter,c);return!0===i(f[1],!1)?n(f[0]):f[0].slice()}if(u(f[0])){if(2===f.length&&!1===g(f[1]))throw new t(e,r.InvalidParameter,c);return!0===i(f[1],!1)?n(f[0]):f[0].toArray().slice()}const d=a(f[0]);if(isNaN(d)||!1===m(d))throw new t(e,r.InvalidParameter,c);const h=i(f[1],null),F=new Array(d);return F.fill(h),F}))},F.functions.front=function(n,e){return F.standardFunction(n,e,((i,a,c)=>{if(o(c,1,1,n,e),u(c[0])){if(c[0].length()<=0)throw new t(n,r.OutOfBounds,e);return c[0].get(0)}if(w(c[0])){if(c[0].length<=0)throw new t(n,r.OutOfBounds,e);return c[0][0]}throw new t(n,r.InvalidParameter,e)}))},F.functions.back=function(n,e){return F.standardFunction(n,e,((i,a,c)=>{if(o(c,1,1,n,e),u(c[0])){if(c[0].length()<=0)throw new t(n,r.OutOfBounds,e);return c[0].get(c[0].length()-1)}if(w(c[0])){if(c[0].length<=0)throw new t(n,r.OutOfBounds,e);return c[0][c[0].length-1]}throw new t(n,r.InvalidParameter,e)}))},F.functions.push=function(n,e){return F.standardFunction(n,e,((i,u,a)=>{if(o(a,1,2,n,e),w(a[0]))return a[0][a[0].length]=a[1],a[0].length;throw new t(n,r.InvalidParameter,e)}))},F.functions.pop=function(n,e){return F.standardFunction(n,e,((i,u,a)=>{if(o(a,1,1,n,e),w(a[0])){if(a[0].length<=0)throw new t(n,r.OutOfBounds,e);const o=a[0][a[0].length-1];return a[0].length=a[0].length-1,o}throw new t(n,r.InvalidParameter,e)}))},F.functions.erase=function(n,e){return F.standardFunction(n,e,((i,u,s)=>{if(o(s,2,2,n,e),w(s[0])){let o=a(s[1]);if(isNaN(o)||!1===m(o))throw new t(n,r.InvalidParameter,e);const i=s[0];if(i.length<=0)throw new t(n,r.OutOfBounds,e);if(o<0&&(o=i.length+o),o<0)throw new t(n,r.OutOfBounds,e);if(o>=i.length)throw new t(n,r.OutOfBounds,e);return i.splice(o,1),c}throw new t(n,r.InvalidParameter,e)}))},F.functions.insert=function(n,e){return F.standardFunction(n,e,((i,u,s)=>{if(o(s,3,3,n,e),w(s[0])){const o=a(s[1]);if(isNaN(o)||!1===m(o))throw new t(n,r.InvalidParameter,e);const i=s[2],u=s[0];if(o>u.length)throw new t(n,r.OutOfBounds,e);if(o<0&&o<-1*u.length)throw new t(n,r.OutOfBounds,e);return o===u.length?(u[o]=i,c):(u.splice(o,0,i),c)}throw new t(n,r.InvalidParameter,e)}))},F.functions.resize=function(n,e){return F.standardFunction(n,e,((u,s,l)=>{if(o(l,2,3,n,e),w(l[0])){const o=a(l[1]);if(isNaN(o)||!1===m(o))throw new t(n,r.InvalidParameter,e);if(o<0)throw new t(n,r.InvalidParameter,e);const u=i(l[2],null),s=l[0];if(s.length>=o)return s.length=o,c;const f=s.length;s.length=o;for(let n=f;n<s.length;n++)s[n]=u;return c}throw new t(n,r.InvalidParameter,e)}))},F.functions.includes=function(n,e){return F.standardFunction(n,e,((i,a,c)=>{if(o(c,2,2,n,e),w(c[0])){const n=c[1];return!!c[0].some((t=>s(t,n)))}if(u(c[0])){const n=c[1];return!!c[0].toArray().some((t=>s(t,n)))}throw new t(n,r.InvalidParameter,e)}))},F.functions.slice=function(n,e){return F.standardFunction(n,e,((c,s,l)=>{if(o(l,1,3,n,e),w(l[0])){const o=a(i(l[1],0)),u=a(i(l[2],l[0].length));if(isNaN(o)||!1===m(o))throw new t(n,r.InvalidParameter,e);if(isNaN(u)||!1===m(u))throw new t(n,r.InvalidParameter,e);return l[0].slice(o,u)}if(u(l[0])){const o=l[0],u=a(i(l[1],0)),c=a(i(l[2],o.length()));if(isNaN(u)||!1===m(u))throw new t(n,r.InvalidParameter,e);if(isNaN(c)||!1===m(c))throw new t(n,r.InvalidParameter,e);return o.toArray().slice(u,c)}throw new t(n,r.InvalidParameter,e)}))},F.functions.splice=function(n,t){return F.standardFunction(n,t,((n,t,r)=>{const e=[];for(let o=0;o<r.length;o++)w(r[o])?e.push(...r[o]):u(r[o])?e.push(...r[o].toArray()):e.push(r[o]);return e}))},F.functions.top=function(n,e){return F.standardFunction(n,e,((i,c,s)=>{if(o(s,2,2,n,e),w(s[0]))return a(s[1])>=s[0].length?s[0].slice():s[0].slice(0,a(s[1]));if(u(s[0]))return a(s[1])>=s[0].length()?s[0].slice():s[0].slice(0,a(s[1]));throw new t(n,r.InvalidParameter,e)}))},F.functions.first=function(n,t){return F.standardFunction(n,t,((r,e,i)=>(o(i,1,1,n,t),w(i[0])?0===i[0].length?null:i[0][0]:u(i[0])?0===i[0].length()?null:i[0].get(0):null)))},"sync"===F.mode&&(F.functions.sort=function(n,t){return F.standardFunction(n,t,((t,r,e)=>N(n,r,e,!1)))},F.functions.any=function(n,t){return F.standardFunction(n,t,((t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);for(const n of u){const t=i(n);if(g(t)&&!0===t)return!0}return!1}))},F.functions.all=function(n,t){return F.standardFunction(n,t,((t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);for(const n of u){if(!0!==i(n))return!1}return!0}))},F.functions.none=function(n,t){return F.standardFunction(n,t,((t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);for(const n of u){if(!0===i(n))return!1}return!0}))},F.functions.reduce=function(n,t){return F.standardFunction(n,t,((t,r,e)=>{o(e,2,3,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);return 2===e.length?0===u.length?null:u.reduce(((n,t)=>{const r=i(n,t);return n=void 0!==r&&r!==c?r:null})):u.reduce(((n,t)=>{const r=i(n,t);return n=void 0!==r&&r!==c?r:null}),e[2])}))},F.functions.map=function(n,t){return F.standardFunction(n,t,((t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r),a=[];for(const n of u){const t=i(n);void 0!==t&&t!==c?a.push(t):a.push(null)}return a}))},F.functions.filter=function(n,t){return F.standardFunction(n,t,((t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r),a=[];for(const n of u){!0===i(n)&&a.push(n)}return a}))}),"async"===F.mode&&(F.functions.sort=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>N(n,r,e,!0)))},F.functions.any=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);for(const n of u){const t=await i(n);let r=null;if(r=h(r)?await t:t,g(r)&&!0===r)return!0}return!1}))},F.functions.all=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);for(const n of u){const t=await i(n);let r=null;if(r=h(r)?await t:t,!0!==r)return!1}return!0}))},F.functions.none=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);for(const n of u){const t=await i(n);let r=null;if(r=h(r)?await t:t,!0===r)return!1}return!0}))},F.functions.filter=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r),a=[];for(const n of u){const t=await i(n);let r=null;r=h(r)?await t:t,!0===r&&a.push(n)}return a}))},F.functions.reduce=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>{o(e,2,3,n,r);const u=e[1].createFunction(n),a=p(e[0],n,r);let s;if(e.length>2){const n=i(e[2],null);s=a.reduce((async(n,t)=>{let r=await n;return void 0!==r&&r!==c||(r=null),u(r,t)}),Promise.resolve(n))}else{if(0===a.length)return null;s=a.reduce((async(n,t,r)=>{if(r<=1)return u(n,t);let e=await n;return void 0!==e&&e!==c||(e=null),u(e,t)}))}return s.then((n=>void 0!==n&&n!==c?n:null))}))},F.functions.map=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r),a=[];for(const n of u){const t=await i(n);let r=null;r=h(r)?await t:t,void 0!==r&&r!==c?a.push(r):a.push(null)}return a}))})}const p=Object.freeze(Object.defineProperty({__proto__:null,registerFunctions:F},Symbol.toStringTag,{value:"Module"}));export{p as A,F as r};
5
+ import{deepClone as n}from"../arcade/deepClone.js";import{ArcadeExecutionError as t,ExecutionErrorCodes as r}from"../arcade/executionError.js";import e from"../arcade/ImmutableArray.js";import{B as o,J as i,j as u,u as a,v as c,y as s,i as l,M as f,w as d}from"./languageUtils.js";import{isPromiseLike as h}from"../core/promiseUtils.js";import{isArray as w,isBoolean as g,isInteger as m}from"../support/guards.js";function F(F){function p(n,o,i){if(n instanceof e)return n.toArray();if(w(n))return n;throw new t(o,r.InvalidParameter,i)}function y(n,t){const r=n.length,e=Math.floor(r/2);return 0===r?[]:1===r?[n[0]]:v(y(n.slice(0,e),t),y(n.slice(e,r),t),t)}function v(n,t,r){const e=[];for(;n.length>0||t.length>0;)if(n.length>0&&t.length>0){let o=r(n[0],t[0]);isNaN(o)&&(o=0),o<=0?(e.push(n[0]),n=n.slice(1)):(e.push(t[0]),t=t.slice(1))}else n.length>0?(e.push(n[0]),n=n.slice(1)):t.length>0&&(e.push(t[0]),t=t.slice(1));return e}async function P(n,t){const r=n.length,e=Math.floor(r/2);if(0===r)return[];if(1===r)return[n[0]];const o=[await P(n.slice(0,e),t),await P(n.slice(e,r),t)];return I(o[0],o[1],t,[])}async function I(n,t,r,e){const o=e;if(n.length>0||t.length>0){if(n.length>0&&t.length>0){let i=await r(n[0],t[0]);return isNaN(i)&&(i=1),i<=0?(o.push(n[0]),n=n.slice(1)):(o.push(t[0]),t=t.slice(1)),I(n,t,r,e)}return n.length>0?(o.push(n[0]),I(n=n.slice(1),t,r,e)):(o.push(t[0]),I(n,t=t.slice(1),r,e))}return e}function N(n,e,i,a){o(i,1,2,n,e);let s=i[0];if(u(s)&&(s=s.toArray()),!1===w(s))throw new t(n,r.InvalidParameter,e);if(i.length>1){if(!1===l(i[1]))throw new t(n,r.InvalidParameter,e);let o=s;const u=i[1].createFunction(n);return a?P(o,u):(o=y(o,((n,t)=>u(n,t))),o)}let h=s;if(0===h.length)return[];const g={};for(let t=0;t<h.length;t++){const n=f(h[t]);""!==n&&(g[n]=!0)}if(!0===g.Array||!0===g.Dictionary||!0===g.Feature||!0===g.Voxel||!0===g.Point||!0===g.Polygon||!0===g.Polyline||!0===g.Multipoint||!0===g.Extent||!0===g.Function)return h.slice();let m=0,F="";for(const t in g)m++,F=t;return h=m>1||"String"===F?y(h,((n,t)=>{if(null==n||n===c)return null==t||t===c?0:1;if(null==t||t===c)return-1;const r=d(n),e=d(t);return r<e?-1:r===e?0:1})):"Number"===F?y(h,((n,t)=>n-t)):"Boolean"===F?y(h,((n,t)=>n===t?0:t?-1:1)):"Date"===F?y(h,((n,t)=>n.toNumber()-t.toNumber())):h.slice(),h}F.functions.array=function(e,c){return F.standardFunction(e,c,((s,l,f)=>{if(o(f,0,2,e,c),0===f.length)return[];if(1===f.length&&null===f[0])return[];if(w(f[0])){if(2===f.length&&!1===g(f[1]))throw new t(e,r.InvalidParameter,c);return!0===i(f[1],!1)?n(f[0]):f[0].slice()}if(u(f[0])){if(2===f.length&&!1===g(f[1]))throw new t(e,r.InvalidParameter,c);return!0===i(f[1],!1)?n(f[0]):f[0].toArray().slice()}const d=a(f[0]);if(isNaN(d)||!1===m(d))throw new t(e,r.InvalidParameter,c);const h=i(f[1],null),F=new Array(d);return F.fill(h),F}))},F.functions.front=function(n,e){return F.standardFunction(n,e,((i,a,c)=>{if(o(c,1,1,n,e),u(c[0])){if(c[0].length()<=0)throw new t(n,r.OutOfBounds,e);return c[0].get(0)}if(w(c[0])){if(c[0].length<=0)throw new t(n,r.OutOfBounds,e);return c[0][0]}throw new t(n,r.InvalidParameter,e)}))},F.functions.back=function(n,e){return F.standardFunction(n,e,((i,a,c)=>{if(o(c,1,1,n,e),u(c[0])){if(c[0].length()<=0)throw new t(n,r.OutOfBounds,e);return c[0].get(c[0].length()-1)}if(w(c[0])){if(c[0].length<=0)throw new t(n,r.OutOfBounds,e);return c[0][c[0].length-1]}throw new t(n,r.InvalidParameter,e)}))},F.functions.push=function(n,e){return F.standardFunction(n,e,((i,u,a)=>{if(o(a,1,2,n,e),w(a[0]))return a[0][a[0].length]=a[1],a[0].length;throw new t(n,r.InvalidParameter,e)}))},F.functions.pop=function(n,e){return F.standardFunction(n,e,((i,u,a)=>{if(o(a,1,1,n,e),w(a[0])){if(a[0].length<=0)throw new t(n,r.OutOfBounds,e);const o=a[0][a[0].length-1];return a[0].length=a[0].length-1,o}throw new t(n,r.InvalidParameter,e)}))},F.functions.erase=function(n,e){return F.standardFunction(n,e,((i,u,s)=>{if(o(s,2,2,n,e),w(s[0])){let o=a(s[1]);if(isNaN(o)||!1===m(o))throw new t(n,r.InvalidParameter,e);const i=s[0];if(i.length<=0)throw new t(n,r.OutOfBounds,e);if(o<0&&(o=i.length+o),o<0)throw new t(n,r.OutOfBounds,e);if(o>=i.length)throw new t(n,r.OutOfBounds,e);return i.splice(o,1),c}throw new t(n,r.InvalidParameter,e)}))},F.functions.insert=function(n,e){return F.standardFunction(n,e,((i,u,s)=>{if(o(s,3,3,n,e),w(s[0])){const o=a(s[1]);if(isNaN(o)||!1===m(o))throw new t(n,r.InvalidParameter,e);const i=s[2],u=s[0];if(o>u.length)throw new t(n,r.OutOfBounds,e);if(o<0&&o<-1*u.length)throw new t(n,r.OutOfBounds,e);return o===u.length?(u[o]=i,c):(u.splice(o,0,i),c)}throw new t(n,r.InvalidParameter,e)}))},F.functions.resize=function(n,e){return F.standardFunction(n,e,((u,s,l)=>{if(o(l,2,3,n,e),w(l[0])){const o=a(l[1]);if(isNaN(o)||!1===m(o))throw new t(n,r.InvalidParameter,e);if(o<0)throw new t(n,r.InvalidParameter,e);const u=i(l[2],null),s=l[0];if(s.length>=o)return s.length=o,c;const f=s.length;s.length=o;for(let n=f;n<s.length;n++)s[n]=u;return c}throw new t(n,r.InvalidParameter,e)}))},F.functions.includes=function(n,e){return F.standardFunction(n,e,((i,a,c)=>{if(o(c,2,2,n,e),w(c[0])){const n=c[1];return!!c[0].some((t=>s(t,n)))}if(u(c[0])){const n=c[1];return!!c[0].toArray().some((t=>s(t,n)))}throw new t(n,r.InvalidParameter,e)}))},F.functions.slice=function(n,e){return F.standardFunction(n,e,((c,s,l)=>{if(o(l,1,3,n,e),w(l[0])){const o=a(i(l[1],0)),u=a(i(l[2],l[0].length));if(isNaN(o)||!1===m(o))throw new t(n,r.InvalidParameter,e);if(isNaN(u)||!1===m(u))throw new t(n,r.InvalidParameter,e);return l[0].slice(o,u)}if(u(l[0])){const o=l[0],u=a(i(l[1],0)),c=a(i(l[2],o.length()));if(isNaN(u)||!1===m(u))throw new t(n,r.InvalidParameter,e);if(isNaN(c)||!1===m(c))throw new t(n,r.InvalidParameter,e);return o.toArray().slice(u,c)}throw new t(n,r.InvalidParameter,e)}))},F.functions.splice=function(n,t){return F.standardFunction(n,t,((n,t,r)=>{const e=[];for(let o=0;o<r.length;o++)w(r[o])?e.push(...r[o]):u(r[o])?e.push(...r[o].toArray()):e.push(r[o]);return e}))},F.functions.top=function(n,e){return F.standardFunction(n,e,((i,c,s)=>{if(o(s,2,2,n,e),w(s[0]))return a(s[1])>=s[0].length?s[0].slice():s[0].slice(0,a(s[1]));if(u(s[0]))return a(s[1])>=s[0].length()?s[0].slice():s[0].slice(0,a(s[1]));throw new t(n,r.InvalidParameter,e)}))},F.functions.first=function(n,t){return F.standardFunction(n,t,((r,e,i)=>(o(i,1,1,n,t),w(i[0])?0===i[0].length?null:i[0][0]:u(i[0])?0===i[0].length()?null:i[0].get(0):null)))},"sync"===F.mode&&(F.functions.sort=function(n,t){return F.standardFunction(n,t,((t,r,e)=>N(n,r,e,!1)))},F.functions.any=function(n,t){return F.standardFunction(n,t,((t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);for(const n of u){const t=i(n);if(g(t)&&!0===t)return!0}return!1}))},F.functions.all=function(n,t){return F.standardFunction(n,t,((t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);for(const n of u){if(!0!==i(n))return!1}return!0}))},F.functions.none=function(n,t){return F.standardFunction(n,t,((t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);for(const n of u){if(!0===i(n))return!1}return!0}))},F.functions.reduce=function(n,t){return F.standardFunction(n,t,((t,r,e)=>{o(e,2,3,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);return 2===e.length?0===u.length?null:u.reduce(((n,t)=>{const r=i(n,t);return n=void 0!==r&&r!==c?r:null})):u.reduce(((n,t)=>{const r=i(n,t);return n=void 0!==r&&r!==c?r:null}),e[2])}))},F.functions.map=function(n,t){return F.standardFunction(n,t,((t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r),a=[];for(const n of u){const t=i(n);void 0!==t&&t!==c?a.push(t):a.push(null)}return a}))},F.functions.filter=function(n,t){return F.standardFunction(n,t,((t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r),a=[];for(const n of u){!0===i(n)&&a.push(n)}return a}))}),"async"===F.mode&&(F.functions.sort=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>N(n,r,e,!0)))},F.functions.any=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);for(const n of u){const t=await i(n);let r=null;if(r=h(r)?await t:t,g(r)&&!0===r)return!0}return!1}))},F.functions.all=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);for(const n of u){const t=await i(n);let r=null;if(r=h(r)?await t:t,!0!==r)return!1}return!0}))},F.functions.none=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r);for(const n of u){const t=await i(n);let r=null;if(r=h(r)?await t:t,!0===r)return!1}return!0}))},F.functions.filter=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r),a=[];for(const n of u){const t=await i(n);let r=null;r=h(r)?await t:t,!0===r&&a.push(n)}return a}))},F.functions.reduce=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>{o(e,2,3,n,r);const u=e[1].createFunction(n),a=p(e[0],n,r);let s;if(e.length>2){const n=i(e[2],null);s=a.reduce((async(n,t)=>{let r=await n;return void 0!==r&&r!==c||(r=null),u(r,t)}),Promise.resolve(n))}else{if(0===a.length)return null;s=a.reduce((async(n,t,r)=>{if(r<=1)return u(n,t);let e=await n;return void 0!==e&&e!==c||(e=null),u(e,t)}))}return s.then((n=>void 0!==n&&n!==c?n:null))}))},F.functions.map=function(n,t){return F.standardFunctionAsync(n,t,(async(t,r,e)=>{o(e,2,2,n,r);const i=e[1].createFunction(n),u=p(e[0],n,r),a=[];for(const n of u){const t=await i(n);let r=null;r=h(r)?await t:t,void 0!==r&&r!==c?a.push(r):a.push(null)}return a}))})}const p=Object.freeze(Object.defineProperty({__proto__:null,registerFunctions:F},Symbol.toStringTag,{value:"Module"}));export{p as A,F as r};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
4
4
  */
5
- import e from"../config.js";import{version as t}from"../kernel.js";import{ArcadeDate as n,createDateTimeZone as r}from"../arcade/ArcadeDate.js";import{ArcadeModule as i}from"../arcade/ArcadeModule.js";import{ArcadeExecutionError as o,ExecutionErrorCodes as a}from"../arcade/executionError.js";import{ArcadeFunction as u}from"../arcade/FunctionWrapper.js";import s from"../arcade/ImmutableArray.js";import l from"../arcade/ImmutablePathArray.js";import f from"../arcade/ImmutablePointArray.js";import{esriFieldToJson as c,layerGeometryEsriRestConstants as m}from"../arcade/featureset/support/shared.js";import{format as d,parse as y}from"../core/number.js";import{DateOnly as p}from"../core/sql/DateOnly.js";import{TimeOnly as g}from"../core/sql/TimeOnly.js";import h from"../geometry/Extent.js";import b from"../geometry/Geometry.js";import N from"../geometry/Multipoint.js";import S from"../geometry/Point.js";import Z from"../geometry/Polygon.js";import T from"../geometry/Polyline.js";import A from"../geometry/SpatialReference.js";import{isClockwise as k}from"../geometry/support/coordsUtils.js";import{fromJSON as j}from"../geometry/support/jsonUtils.js";import{getLocale as D}from"../intl/locale.js";import{isBoolean as O,isNumber as C,isString as x,isArray as F,isDate as w,isGraphic as J,isInteger as M}from"../support/guards.js";import{DateTime as R}from"luxon";class v{constructor(e){this.value=e}}class _{constructor(e){this.value=e}}const I={type:"VOID"},P=Symbol("BREAK"),Y=Symbol("CONTINUE");function L(e,t,n){return""===t||null==t||t===n||t===n?e:e=e.split(t).join(n)}function G(e){return e instanceof u}function V(e){return e instanceof i}function z(e){return!!x(e)||(!!C(e)||(!!ne(e)||(!!re(e)||(!!ie(e)||(!!O(e)||(null===e||(e===I||"number"==typeof e)))))))}function q(e,t){return void 0===e?t:e}function E(e){return null==e?"":F(e)||te(e)?"Array":ne(e)?"Date":ie(e)?"Time":re(e)?"DateOnly":x(e)?"String":O(e)?"Boolean":C(e)?"Number":"esri.arcade.Attachment"===e?.declaredClass?"Attachment":"esri.arcade.Portal"===e?.declaredClass?"Portal":"esri.arcade.Dictionary"===e?.declaredClass?"Dictionary":ee(e)?"KnowledgeGraph":e instanceof i?"Module":$(e)?"Feature":e instanceof S?"Point":e instanceof Z?"Polygon":e instanceof T?"Polyline":e instanceof N?"Multipoint":e instanceof h?"Extent":G(e)?"Function":K(e)?"FeatureSet":X(e)?"FeatureSetCollection":B(e)?"Voxel":e===I?"":"number"==typeof e&&isNaN(e)?"Number":"Unrecognized Type"}function U(e){return e===I}function H(e){return e instanceof b}function $(e){return"esri.arcade.Feature"===e?.arcadeDeclaredClass}function B(e){return"esri.arcade.Voxel"===e?.arcadeDeclaredClass}function K(e){return"esri.arcade.featureset.support.FeatureSet"===e?.declaredRootClass}function W(e){return"esri.arcade.Dictionary"===e?.declaredClass}function Q(e){return W(e)||$(e)||B(e)}function X(e){return"esri.arcade.featureSetCollection"===e?.declaredRootClass}function ee(e){return"esri.rest.knowledgeGraph.KnowledgeGraph"===e?.declaredClass}function te(e){return e instanceof s}function ne(e){return e instanceof n}function re(e){return e instanceof p}function ie(e){return e instanceof g}function oe(e){return null!=e&&"object"==typeof e}function ae(e,t,n,r,i){if(e.length<t||e.length>n)throw new o(r,a.WrongNumberOfParameters,i)}function ue(e){return e<0?-Math.round(-e):Math.round(e)}function se(e,t){return isNaN(e)||null==t||""===t?e.toString():(t=L(t,"‰",""),t=L(t,"¤",""),d(e,{pattern:t}))}function le(e,t){return null==t||""===t?e.toISOString(!0):e.toFormat(fe(t),{locale:D(),numberingSystem:"latn"})}function fe(e,t=!1){e=e.replaceAll(/LTS|LT|L{1,4}|l{1,4}/g,"[$&]");let n="";const r=/(\[[^[]*\])|(\\)?([Hh]mm(ss)?|Mo|M{1,4}|Do|DDDo|D{1,4}|d{2,4}|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|Z{1,5}|.)/g;for(const i of e.match(r)||[])switch(i){case"D":n+="d";break;case"DD":n+="dd";break;case"DDD":n+="o";break;case"d":n+="c";break;case"ddd":n+="ccc";break;case"dddd":n+="cccc";break;case"M":n+="L";break;case"MM":n+="LL";break;case"MMM":n+="LLL";break;case"MMMM":n+="LLLL";break;case"YY":n+="yy";break;case"Y":case"YYYY":n+="yyyy";break;case"Q":n+="q";break;case"Z":n+="Z";break;case"ZZ":n+="ZZ";break;case"ZZZ":n+="ZZZ";break;case"ZZZZ":n+=t?"[ZZZZ]":"ZZZZ";break;case"ZZZZZ":n+=t?"[ZZZZZ]":"ZZZZZ";break;case"S":n+="'S'";break;case"SS":n+="'SS'";break;case"SSS":n+="u";break;case"A":case"a":n+="a";break;case"m":case"mm":case"h":case"hh":case"H":case"HH":case"s":case"ss":case"X":case"x":n+=i;break;default:i.length>=2&&"["===i.slice(0,1)&&"]"===i.slice(-1)?n+=`'${i.slice(1,-1)}'`:n+=`'${i}'`}return n}function ce(e,t,n){switch(n){case">":return e>t;case"<":return e<t;case">=":return e>=t;case"<=":return e<=t}return!1}function me(e,t,r){if(null===e){if(null===t||t===I)return ce(null,null,r);if(C(t))return ce(0,t,r);if(x(t))return ce(0,Ne(t),r);if(O(t))return ce(0,Ne(t),r);if(ne(t))return ce(0,t.toNumber(),r);if(ie(t))return ce(e,t.toNumber(),r);if(re(t))return ce(e,t.toNumber(),r)}if(e===I){if(null===t||t===I)return ce(null,null,r);if(C(t))return ce(0,t,r);if(x(t))return ce(0,Ne(t),r);if(O(t))return ce(0,Ne(t),r);if(ne(t))return ce(0,t.toNumber(),r);if(ie(t))return ce(e,t.toNumber(),r);if(re(t))return ce(e,t.toNumber(),r)}else if(C(e)){if(C(t))return ce(e,t,r);if(O(t))return ce(e,Ne(t),r);if(null===t||t===I)return ce(e,0,r);if(x(t))return ce(e,Ne(t),r);if(ne(t))return ce(e,t.toNumber(),r);if(ie(t))return ce(e,t.toNumber(),r);if(re(t))return ce(e,t.toNumber(),r)}else if(x(e)){if(x(t))return ce(pe(e),pe(t),r);if(ne(t))return ce(Ne(e),t.toNumber(),r);if(ie(t))return ce(Ne(e),t.toNumber(),r);if(re(t))return ce(Ne(e),t.toNumber(),r);if(C(t))return ce(Ne(e),t,r);if(null===t||t===I)return ce(Ne(e),0,r);if(O(t))return ce(Ne(e),Ne(t),r)}else if(ne(e)){if(ne(t))return e.timeZone!==t.timeZone&&(e.isUnknownTimeZone?e=n.arcadeDateAndZoneToArcadeDate(e,t.timeZone):t.isUnknownTimeZone&&(t=n.arcadeDateAndZoneToArcadeDate(t,e.timeZone))),ce(e.toNumber(),t.toNumber(),r);if(null===t||t===I)return ce(e.toNumber(),0,r);if(C(t))return ce(e.toNumber(),t,r);if(O(t))return ce(e.toNumber(),Ne(t),r);if(x(t))return ce(e.toNumber(),Ne(t),r);if(ie(t))throw new o(null,a.CannotCompareDateAndTime,null);if(re(t))return ce(e.toNumber(),t.toNumber(),r)}else if(O(e)){if(O(t))return ce(e,t,r);if(C(t))return ce(Ne(e),Ne(t),r);if(ne(t))return ce(Ne(e),t.toNumber(),r);if(ie(t))return ce(Ne(e),t.toNumber(),r);if(re(t))return ce(Ne(e),t.toNumber(),r);if(null===t||t===I)return ce(Ne(e),0,r);if(x(t))return ce(Ne(e),Ne(t),r)}else if(re(e)){if(ne(t))return ce(e.toNumber(),t.toNumber(),r);if(null===t||t===I)return ce(e.toNumber(),0,r);if(C(t))return ce(e.toNumber(),t,r);if(O(t))return ce(e.toNumber(),Ne(t),r);if(x(t))return ce(e.toNumber(),Ne(t),r);if(ie(t))throw new o(null,a.CannotCompareDateAndTime,null);if(re(t))return ce(e.toNumber(),t.toNumber(),r)}else if(ie(e)){if(ne(t))throw new o(null,a.CannotCompareDateAndTime,null);if(null===t||t===I)return ce(e.toNumber(),0,r);if(C(t))return ce(e.toNumber(),t,r);if(O(t))return ce(e.toNumber(),Ne(t),r);if(x(t))return ce(e.toNumber(),Ne(t),r);if(ie(t))return ce(e.toNumber(),t.toNumber(),r);if(re(t))throw new o(null,a.CannotCompareDateAndTime,null)}return!!de(e,t)&&("<="===r||">="===r)}function de(e,t){if(e===t)return!0;if(null===e&&t===I||null===t&&e===I)return!0;if(ne(e)&&ne(t))return e.equals(t);if(ie(e)&&ie(t))return e.equals(t);if(re(e)&&re(t))return e.equals(t);if(e instanceof l)return e.equalityTest(t);if(e instanceof f)return e.equalityTest(t);if(e instanceof S&&t instanceof S){const n=e.cache._arcadeCacheId,r=t.cache._arcadeCacheId;if(null!=n)return n===r}if(oe(e)&&oe(t)){if(e._arcadeCacheId===t._arcadeCacheId&&void 0!==e._arcadeCacheId&&null!==e._arcadeCacheId)return!0;if(e._underlyingGraphic===t._underlyingGraphic&&void 0!==e._underlyingGraphic&&null!==e._underlyingGraphic)return!0}return!1}function ye(e,{useNumbersForDates:t}){let n="";for(const r in e){""!==n&&(n+=",");const i=e[r];null==i?n+=JSON.stringify(r)+":null":O(i)||C(i)||x(i)?n+=JSON.stringify(r)+":"+JSON.stringify(i):H(i)?n+=JSON.stringify(r)+":"+he(i):ie(i)||re(i)?n+=`${JSON.stringify(r)}:${JSON.stringify(i.toString())}`:te(i)||Array.isArray(i)?n+=JSON.stringify(r)+":"+he(i,null,t):ne(i)?n+=t?JSON.stringify(r)+":"+JSON.stringify(i.getTime()):JSON.stringify(r)+":"+i.stringify():null!==i&&"object"==typeof i&&"castToText"in i&&(n+=JSON.stringify(r)+":"+i.castToText(t))}return"{"+n+"}"}function pe(e,t){if(x(e))return e;if(null===e)return"";if(C(e))return se(e,t);if(O(e))return e.toString();if(ne(e))return le(e,t);if(ie(e))return e.toFormat(t);if(re(e))return e.toFormat(t);if(e instanceof b)return JSON.stringify(e.toJSON());if(F(e)){const t=[];for(let n=0;n<e.length;n++)t[n]=be(e[n]);return"["+t.join(",")+"]"}if(e instanceof s){const t=[];for(let n=0;n<e.length();n++)t[n]=be(e.get(n));return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText():G(e)?"object, Function":e===I?"":V(e)?"object, Module":""}function ge(e){const t=[];if(e instanceof s){for(let n=0;n<e.length();n++)t[n]=Ne(e.get(n));return t}if(!F(e))return null;for(let n=0;n<e.length;n++)t[n]=Ne(e[n]);return t}function he(e,t,n=!1){if(x(e))return e;if(null===e)return"";if(C(e))return se(e,t);if(O(e))return e.toString();if(ne(e))return le(e,t);if(ie(e))return e.toFormat(t);if(re(e))return e.toFormat(t);if(e instanceof b)return e instanceof h?'{"xmin":'+e.xmin.toString()+',"ymin":'+e.ymin.toString()+","+(e.hasZ?'"zmin":'+e.zmin.toString()+",":"")+(e.hasM?'"mmin":'+e.mmin.toString()+",":"")+'"xmax":'+e.xmax.toString()+',"ymax":'+e.ymax.toString()+","+(e.hasZ?'"zmax":'+e.zmax.toString()+",":"")+(e.hasM?'"mmax":'+e.mmax.toString()+",":"")+'"spatialReference":'+Fe(e.spatialReference)+"}":Fe(e.toJSON(),((e,t)=>e.key===t.key?0:"spatialReference"===e.key?1:"spatialReference"===t.key||e.key<t.key?-1:e.key>t.key?1:0));if(F(e)){const t=[];for(let r=0;r<e.length;r++)t[r]=be(e[r],n);return"["+t.join(",")+"]"}if(e instanceof s){const t=[];for(let r=0;r<e.length();r++)t[r]=be(e.get(r),n);return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText(n):G(e)?"object, Function":e===I?"":V(e)?"object, Module":""}function be(e,t=!1){if(null===e)return"null";if(O(e)||C(e)||x(e))return JSON.stringify(e);if(e instanceof b)return he(e,null,t);if(e instanceof s)return he(e,null,t);if(Array.isArray(e))return he(e,null,t);if(ne(e))return t?JSON.stringify(e.getTime()):JSON.stringify(le(e,""));if(ie(e))return JSON.stringify(e.toString());if(re(e))return JSON.stringify(e.toString());if(null!==e&&"object"==typeof e){if("castToText"in e)return e.castToText(t)}else if(e===I)return"null";return"null"}function Ne(e,t){return C(e)?e:null===e||""===e?0:ne(e)||re(e)||ie(e)?NaN:O(e)?e?1:0:F(e)||""===e||void 0===e?NaN:void 0!==t&&x(e)?(t=L(t,"‰",""),t=L(t,"¤",""),y(e,{pattern:t})):e===I?0:Number(e)}function Se(e,t){if(ne(e))return e;if(x(e)){const r=Ze(e,t);if(r)return n.dateTimeToArcadeDate(r)}return null}function Ze(e,t){const n=/ (\d\d)/,i=r(t);let o=R.fromISO(e,{zone:i});return o.isValid||n.test(e)&&(e=e.replace(n,"T$1"),o=R.fromISO(e,{zone:t}),o.isValid)?o:null}function Te(e){return O(e)?e:x(e)?"true"===(e=e.toLowerCase()):!!C(e)&&(0!==e&&!isNaN(e))}function Ae(e,t){const n=JSON.parse(e);return n&&!n.spatialReference&&(n.spatialReference=t),j(n)}function ke(e,t){return null==e?null:(null!==e.spatialReference&&void 0!==e.spatialReference||(e.spatialReference=t),e)}function je(e){if(null===e)return null;if(e instanceof S)return"NaN"===e.x||null===e.x||isNaN(e.x)?null:e;if(e instanceof Z){if(0===(e.curveRings??e.rings).length)return null;for(const t of e.curveRings??e.rings)if(t.length>0)return e;return null}if(e instanceof T){if(0===(e.curvePaths??e.paths).length)return null;for(const t of e.curvePaths??e.paths)if(t.length>0)return e;return null}return e instanceof N?0===e.points.length?null:e:e instanceof h?"NaN"===e.xmin||null===e.xmin||isNaN(e.xmin)?null:e:null}function De(e,t){if(!e)return t;if(!e.domain)return t;let n=null,r=null;if(ne(t))n=t.toNumber();else if(re(t))n=t.toString();else if(ie(t))n=t.toStorageString();else if("string"===e.field.type||"esriFieldTypeString"===e.field.type)n=pe(t);else{if(null==t)return null;if(""===t)return t;n=Ne(t)}for(let i=0;i<e.domain.codedValues.length;i++){const t=e.domain.codedValues[i];t.code===n&&(r=t)}return null===r?pe(t):r.name}function Oe(e,t){if(!e)return t;if(!e.domain)return t;let n=null;const r=pe(t);for(let i=0;i<e.domain.codedValues.length;i++){const t=e.domain.codedValues[i];t.name===r&&(n=t)}return null===n?t:n.code}function Ce(e,t,n=null,r=null){if(!t)return null;if(!t.fields)return null;let i,u,s=null;for(let o=0;o<t.fields.length;o++){const n=t.fields[o];n.name.toLowerCase()===e.toString().toLowerCase()&&(s=n)}if(null===s)throw new o(null,a.FieldNotFound,null,{key:e});let l=t.typeIdField,f="id",c=t.types;if(t.subtypeField&&(l=t.subtypeField,f="code",c=t.subtypes??[]),null===r&&n&&l)r=n.hasField(l)?n.field(l):null;else if(l&&null!==r){let e=!1;for(const t of c||[])if(r===t[f]){e=!0;break}if(!e)for(const t of c||[])if(r===t.name){r=t[f],e=!0;break}e||(r=null,n&&l&&(r=n.hasField(l)?n.field(l):null))}return null!=r&&c.some((e=>e[f]===r&&(i=e.domains?.[s.name],i&&"inherited"===i.type&&(i=xe(s.name,t),u=!0),!0))),u||i||(i=xe(e,t)),{field:s,domain:i}}function xe(e,t){let n;return t.fields.some((t=>(t.name.toLowerCase()===e.toLowerCase()&&(n=t.domain),!!n))),n}function Fe(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});const n="boolean"==typeof t.cycles&&t.cycles,r=t.cmp&&(i=t.cmp,function(e){return function(t,n){const r={key:t,value:e[t]},o={key:n,value:e[n]};return i(r,o)}});var i;const o=[];return function e(t){if(t?.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===t)return;if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);let i,a;if(Array.isArray(t)){for(a="[",i=0;i<t.length;i++)i&&(a+=","),a+=e(t[i])||"null";return a+"]"}if(null===t)return"null";if(o.includes(t)){if(n)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}const u=o.push(t)-1,s=Object.keys(t).sort(r?.(t));for(a="",i=0;i<s.length;i++){const n=s[i],r=e(t[n]);r&&(a&&(a+=","),a+=JSON.stringify(n)+":"+r)}return o.splice(u,1),"{"+a+"}"}(e)}function we(e){if(null===e)return null;const t=[];for(const n of e)$(n)?t.push(n.geometry()):t.push(n);return t}function Je(e,t){if(!(t instanceof S))throw new o(null,a.InvalidParameter,null);e.push(t.hasZ?t.hasM?[t.x,t.y,t.z,t.m]:[t.x,t.y,t.z]:[t.x,t.y])}function Me(e,t){if(F(e)||te(e)){let n=!1,r=!1,i=[],u=t;if(F(e)){for(const t of e)Je(i,t);i.length>0&&(u=e[0].spatialReference,n=e[0].hasZ,r=e[0].hasM)}else if(e instanceof f)i=e._elements,i.length>0&&(n=e._hasZ,r=e._hasM,u=e.get(0).spatialReference);else{if(!te(e))throw new o(null,a.InvalidParameter,null);for(const t of e.toArray())Je(i,t);i.length>0&&(u=e.get(0).spatialReference,n=!0===e.get(0).hasZ,r=!0===e.get(0).hasM)}if(0===i.length)return null;return k(i)||(i=i.slice().reverse()),new Z({rings:[i],spatialReference:u,hasZ:n,hasM:r})}return e}function Re(e,t){if(F(e)||te(e)){let n=!1,r=!1,i=[],o=t;if(F(e)){for(const t of e)Je(i,t);i.length>0&&(o=e[0].spatialReference,n=!0===e[0].hasZ,r=!0===e[0].hasM)}else if(e instanceof f)i=e._elements,i.length>0&&(n=e._hasZ,r=e._hasM,o=e.get(0).spatialReference);else if(te(e)){for(const t of e.toArray())Je(i,t);i.length>0&&(o=e.get(0).spatialReference,n=!0===e.get(0).hasZ,r=!0===e.get(0).hasM)}return 0===i.length?null:new T({paths:[i],spatialReference:o,hasZ:n,hasM:r})}return e}function ve(e,t){if(F(e)||te(e)){let n=!1,r=!1,i=[],o=t;if(F(e)){for(const t of e)Je(i,t);i.length>0&&(o=e[0].spatialReference,n=!0===e[0].hasZ,r=!0===e[0].hasM)}else if(e instanceof f)i=e._elements,i.length>0&&(n=e._hasZ,r=e._hasM,o=e.get(0).spatialReference);else if(te(e)){for(const t of e.toArray())Je(i,t);i.length>0&&(o=e.get(0).spatialReference,n=!0===e.get(0).hasZ,r=!0===e.get(0).hasM)}return 0===i.length?null:new N({points:i,spatialReference:o,hasZ:n,hasM:r})}return e}function _e(e,t=!0){if(null==e)return[];if(F(e)){const n=[];for(const r of e){const e=pe(r);(t||""!==e)&&n.push(e)}return n}if(te(e)){const n=[];for(let r=0;r<e.length();r++){const i=pe(e.get(r));(t||""!==i)&&n.push(i)}return n}if(z(e)){const n=pe(e);if(t||""!==n)return[n]}return[]}let Ie=0;function Pe(e){return Ie++,Ie%100==0?(Ie=0,new Promise((t=>{setTimeout((()=>{t(e)}),0)}))):e}function Ye(e,t,n){switch(n){case"&":return e&t;case"|":return e|t;case"^":return e^t;case"<<":return e<<t;case">>":return e>>t;case">>>":return e>>>t}}function Le(e,t=null){return null==e?null:O(e)||C(e)||x(e)?e:e instanceof b?!0===t?.keepGeometryType?e:e.toJSON():e instanceof s?e.toArray().map((e=>Le(e,t))):Array.isArray(e)?e.map((e=>Le(e,t))):w(e)?e:ne(e)?e.toJSDate():ie(e)?e.toString():re(e)?e.toJSDate():null!==e&&"object"==typeof e&&void 0!==e.castAsJson?e.castAsJson(t):null}async function Ge(e,t,n,r,i){const o=await Ve(e,t,n);i[r]=o}async function Ve(e,t=null,n=null){if(e instanceof s&&(e=e.toArray()),null==e)return null;if(z(e)||e instanceof b||w(e)||ne(e))return Le(e,n);if(Array.isArray(e)){const r=[],i=[];for(const o of e)null===o||z(o)||o instanceof b||w(o)||ne(o)?i.push(Le(o,n)):(i.push(null),r.push(Ge(o,t,n,i.length-1,i)));return r.length>0&&await Promise.all(r),i}return null!==e&&"object"==typeof e&&void 0!==e.castAsJsonAsync?e.castAsJsonAsync(t,n):null}function ze(e){return qe(e)?e.parent:e}function qe(e){return e&&"declaredClass"in e&&"esri.layers.support.SubtypeSublayer"===e.declaredClass}function Ee(e){return e&&"declaredClass"in e&&"esri.layers.SubtypeGroupLayer"===e.declaredClass}function Ue(e,t,n){const r=ze(e.fullSchema());if(null===r)return null;if(!r.fields)return null;return Ce(t,r,e,n)}function He(e){const t=ze(e.fullSchema());return null===t?null:t.fields?t.subtypeField?{subtypeField:t.subtypeField,subtypes:t.subtypes?t.subtypes.map((e=>({name:e.name,code:e.code}))):[]}:t.typeIdField?{subtypeField:t.typeIdField,subtypes:t.types?t.types.map((e=>({name:e.name,code:e.id}))):[]}:null:null}function $e(e,t,n,r){const i=ze(e.fullSchema());if(null===i)return null;if(!i.fields)return null;const o=Ce(t,i,e,r);if(void 0===n)try{n=e.field(t)}catch(a){return null}return De(o,n)}function Be(e,t,n,r){const i=ze(e.fullSchema());if(null===i)return null;if(!i.fields)return null;if(void 0===n){try{n=e.field(t)}catch(o){return null}return n}return Oe(Ce(t,i,e,r),n)}function Ke(e){return e?.timeZone??"system"}function We(e){const t=ze(e.fullSchema());if(null===t)return null;if(!t.fields)return null;const n=[];for(const r of t.fields)n.push(c(r));return{objectIdField:t.objectIdField,globalIdField:t.globalIdField??"",geometryType:void 0===m[t.geometryType]?"":m[t.geometryType],fields:n}}function Qe(r,i){const o=n.systemTimeZoneCanonicalName;return"system"===r&&(r=o),{version:Xe,engineVersion:t,timeZone:r,userTimeZone:o,spatialReference:i instanceof A?i.toJSON():i,application:e.applicationName??"",engine:"web",locale:D()}}const Xe="1.32",et=Object.freeze(Object.defineProperty({__proto__:null,ImplicitResult:_,ReturnResult:v,absRound:ue,arcadeVersion:Xe,autoCastArrayOfPointsToMultiPoint:ve,autoCastArrayOfPointsToPolygon:Me,autoCastArrayOfPointsToPolyline:Re,autoCastFeatureToGeometry:we,binaryOperator:Ye,breakResult:P,castAsJson:Le,castAsJsonAsync:Ve,castRecordToText:ye,continueResult:Y,defaultExecutingContext:Qe,defaultTimeZone:Ke,defaultUndefined:q,equalityTest:de,featureDomainCodeLookup:Be,featureDomainValueLookup:$e,featureFullDomain:Ue,featureSchema:We,featureSubtypes:He,fixNullGeometry:je,fixSpatialReference:ke,formatDate:le,formatNumber:se,getDomain:Ce,getDomainCode:Oe,getDomainValue:De,getType:E,greaterThanLessThan:me,isArray:F,isBoolean:O,isDate:ne,isDateOnly:re,isDictionary:W,isDictionaryLike:Q,isFeature:$,isFeatureSet:K,isFeatureSetCollection:X,isFunctionParameter:G,isGeometry:H,isGraphic:J,isImmutableArray:te,isInteger:M,isJsDate:w,isKnowledgeGraph:ee,isModule:V,isNumber:C,isObject:oe,isSimpleType:z,isString:x,isSubtypeGrouplayer:Ee,isSubtypeSublayer:qe,isTime:ie,isVoid:U,isVoxel:B,multiReplace:L,parseGeometryFromJson:Ae,pcCheck:ae,stableStringify:Fe,standardiseDateFormat:fe,tick:Pe,toBoolean:Te,toDate:Se,toNumber:Ne,toNumberArray:ge,toString:pe,toStringArray:_e,toStringExplicit:he,voidOperation:I},Symbol.toStringTag,{value:"Module"}));export{qe as $,de as A,Ye as B,U as C,ae as D,we as E,ke as F,Me as G,Re as H,_ as I,ve as J,q as K,Ke as L,_e as M,E as N,fe as O,ue as P,Ue as Q,v as R,Be as S,$e as T,We as U,He as V,je as W,B as X,L as Y,Qe as Z,ge as _,Le as a,Pe as a0,Ce as a1,De as a2,Oe as a3,V as a4,oe as a5,se as a6,le as a7,Ae as a8,Fe as a9,Ee as aa,Xe as ab,Ve as b,ye as c,z as d,Te as e,pe as f,ne as g,Se as h,G as i,re as j,ie as k,H as l,te as m,$ as n,X as o,K as p,W as q,ee as r,he as s,Ne as t,et as u,I as v,P as w,Y as x,Q as y,me as z};
5
+ import e from"../config.js";import{version as t}from"../kernel.js";import{ArcadeDate as n,createDateTimeZone as r}from"../arcade/ArcadeDate.js";import{ArcadeModule as i}from"../arcade/ArcadeModule.js";import{ArcadeExecutionError as o,ExecutionErrorCodes as a}from"../arcade/executionError.js";import{ArcadeFunction as u}from"../arcade/FunctionWrapper.js";import s from"../arcade/ImmutableArray.js";import l from"../arcade/ImmutablePathArray.js";import f from"../arcade/ImmutablePointArray.js";import{esriFieldToJson as c,layerGeometryEsriRestConstants as m}from"../arcade/featureset/support/shared.js";import{format as d,parse as y}from"../core/number.js";import{DateOnly as p}from"../core/sql/DateOnly.js";import{TimeOnly as g}from"../core/sql/TimeOnly.js";import h from"../geometry/Extent.js";import b from"../geometry/Geometry.js";import N from"../geometry/Multipoint.js";import S from"../geometry/Point.js";import Z from"../geometry/Polygon.js";import T from"../geometry/Polyline.js";import A from"../geometry/SpatialReference.js";import{isClockwise as k}from"../geometry/support/coordsUtils.js";import{fromJSON as j}from"../geometry/support/jsonUtils.js";import{getLocale as D}from"../intl/locale.js";import{isBoolean as O,isNumber as C,isString as x,isArray as F,isDate as w,isGraphic as J,isInteger as M}from"../support/guards.js";import{DateTime as R}from"luxon";class v{constructor(e){this.value=e}}class _{constructor(e){this.value=e}}const I={type:"VOID"},P=Symbol("BREAK"),Y=Symbol("CONTINUE");function L(e,t,n){return""===t||null==t||t===n||t===n?e:e=e.split(t).join(n)}function G(e){return e instanceof u}function V(e){return e instanceof i}function z(e){return!!x(e)||(!!C(e)||(!!ne(e)||(!!re(e)||(!!ie(e)||(!!O(e)||(null===e||(e===I||"number"==typeof e)))))))}function q(e,t){return void 0===e?t:e}function E(e){return null==e?"":F(e)||te(e)?"Array":ne(e)?"Date":ie(e)?"Time":re(e)?"DateOnly":x(e)?"String":O(e)?"Boolean":C(e)?"Number":"esri.arcade.Attachment"===e?.declaredClass?"Attachment":"esri.arcade.Portal"===e?.declaredClass?"Portal":"esri.arcade.Dictionary"===e?.declaredClass?"Dictionary":ee(e)?"KnowledgeGraph":e instanceof i?"Module":$(e)?"Feature":e instanceof S?"Point":e instanceof Z?"Polygon":e instanceof T?"Polyline":e instanceof N?"Multipoint":e instanceof h?"Extent":G(e)?"Function":K(e)?"FeatureSet":X(e)?"FeatureSetCollection":B(e)?"Voxel":e===I?"":"number"==typeof e&&isNaN(e)?"Number":"Unrecognized Type"}function U(e){return e===I}function H(e){return e instanceof b}function $(e){return"esri.arcade.Feature"===e?.arcadeDeclaredClass}function B(e){return"esri.arcade.Voxel"===e?.arcadeDeclaredClass}function K(e){return"esri.arcade.featureset.support.FeatureSet"===e?.declaredRootClass}function W(e){return"esri.arcade.Dictionary"===e?.declaredClass}function Q(e){return W(e)||$(e)||B(e)}function X(e){return"esri.arcade.featureSetCollection"===e?.declaredRootClass}function ee(e){return"esri.rest.knowledgeGraph.KnowledgeGraph"===e?.declaredClass}function te(e){return e instanceof s}function ne(e){return e instanceof n}function re(e){return e instanceof p}function ie(e){return e instanceof g}function oe(e){return null!=e&&"object"==typeof e}function ae(e,t,n,r,i){if(e.length<t||e.length>n)throw new o(r,a.WrongNumberOfParameters,i)}function ue(e){return e<0?-Math.round(-e):Math.round(e)}function se(e,t){return isNaN(e)||null==t||""===t?e.toString():(t=L(t,"‰",""),t=L(t,"¤",""),d(e,{pattern:t}))}function le(e,t){return null==t||""===t?e.toISOString(!0):e.toFormat(fe(t),{locale:D(),numberingSystem:"latn"})}function fe(e,t=!1){e=e.replaceAll(/LTS|LT|L{1,4}|l{1,4}/g,"[$&]");let n="";const r=/(\[[^[]*\])|(\\)?([Hh]mm(ss)?|Mo|M{1,4}|Do|DDDo|D{1,4}|d{2,4}|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|Z{1,5}|.)/g;for(const i of e.match(r)||[])switch(i){case"D":n+="d";break;case"DD":n+="dd";break;case"DDD":n+="o";break;case"d":n+="c";break;case"ddd":n+="ccc";break;case"dddd":n+="cccc";break;case"M":n+="L";break;case"MM":n+="LL";break;case"MMM":n+="LLL";break;case"MMMM":n+="LLLL";break;case"YY":n+="yy";break;case"Y":case"YYYY":n+="yyyy";break;case"Q":n+="q";break;case"Z":n+="Z";break;case"ZZ":n+="ZZ";break;case"ZZZ":n+="ZZZ";break;case"ZZZZ":n+=t?"[ZZZZ]":"ZZZZ";break;case"ZZZZZ":n+=t?"[ZZZZZ]":"ZZZZZ";break;case"S":n+="'S'";break;case"SS":n+="'SS'";break;case"SSS":n+="u";break;case"A":case"a":n+="a";break;case"m":case"mm":case"h":case"hh":case"H":case"HH":case"s":case"ss":case"X":case"x":n+=i;break;default:i.length>=2&&"["===i.slice(0,1)&&"]"===i.slice(-1)?n+=`'${i.slice(1,-1)}'`:n+=`'${i}'`}return n}function ce(e,t,n){switch(n){case">":return e>t;case"<":return e<t;case">=":return e>=t;case"<=":return e<=t}return!1}function me(e,t,r){if(null===e){if(null===t||t===I)return ce(null,null,r);if(C(t))return ce(0,t,r);if(x(t))return ce(0,Ne(t),r);if(O(t))return ce(0,Ne(t),r);if(ne(t))return ce(0,t.toNumber(),r);if(ie(t))return ce(e,t.toNumber(),r);if(re(t))return ce(e,t.toNumber(),r)}if(e===I){if(null===t||t===I)return ce(null,null,r);if(C(t))return ce(0,t,r);if(x(t))return ce(0,Ne(t),r);if(O(t))return ce(0,Ne(t),r);if(ne(t))return ce(0,t.toNumber(),r);if(ie(t))return ce(e,t.toNumber(),r);if(re(t))return ce(e,t.toNumber(),r)}else if(C(e)){if(C(t))return ce(e,t,r);if(O(t))return ce(e,Ne(t),r);if(null===t||t===I)return ce(e,0,r);if(x(t))return ce(e,Ne(t),r);if(ne(t))return ce(e,t.toNumber(),r);if(ie(t))return ce(e,t.toNumber(),r);if(re(t))return ce(e,t.toNumber(),r)}else if(x(e)){if(x(t))return ce(pe(e),pe(t),r);if(ne(t))return ce(Ne(e),t.toNumber(),r);if(ie(t))return ce(Ne(e),t.toNumber(),r);if(re(t))return ce(Ne(e),t.toNumber(),r);if(C(t))return ce(Ne(e),t,r);if(null===t||t===I)return ce(Ne(e),0,r);if(O(t))return ce(Ne(e),Ne(t),r)}else if(ne(e)){if(ne(t))return e.timeZone!==t.timeZone&&(e.isUnknownTimeZone?e=n.arcadeDateAndZoneToArcadeDate(e,t.timeZone):t.isUnknownTimeZone&&(t=n.arcadeDateAndZoneToArcadeDate(t,e.timeZone))),ce(e.toNumber(),t.toNumber(),r);if(null===t||t===I)return ce(e.toNumber(),0,r);if(C(t))return ce(e.toNumber(),t,r);if(O(t))return ce(e.toNumber(),Ne(t),r);if(x(t))return ce(e.toNumber(),Ne(t),r);if(ie(t))throw new o(null,a.CannotCompareDateAndTime,null);if(re(t))return ce(e.toNumber(),t.toNumber(),r)}else if(O(e)){if(O(t))return ce(e,t,r);if(C(t))return ce(Ne(e),Ne(t),r);if(ne(t))return ce(Ne(e),t.toNumber(),r);if(ie(t))return ce(Ne(e),t.toNumber(),r);if(re(t))return ce(Ne(e),t.toNumber(),r);if(null===t||t===I)return ce(Ne(e),0,r);if(x(t))return ce(Ne(e),Ne(t),r)}else if(re(e)){if(ne(t))return ce(e.toNumber(),t.toNumber(),r);if(null===t||t===I)return ce(e.toNumber(),0,r);if(C(t))return ce(e.toNumber(),t,r);if(O(t))return ce(e.toNumber(),Ne(t),r);if(x(t))return ce(e.toNumber(),Ne(t),r);if(ie(t))throw new o(null,a.CannotCompareDateAndTime,null);if(re(t))return ce(e.toNumber(),t.toNumber(),r)}else if(ie(e)){if(ne(t))throw new o(null,a.CannotCompareDateAndTime,null);if(null===t||t===I)return ce(e.toNumber(),0,r);if(C(t))return ce(e.toNumber(),t,r);if(O(t))return ce(e.toNumber(),Ne(t),r);if(x(t))return ce(e.toNumber(),Ne(t),r);if(ie(t))return ce(e.toNumber(),t.toNumber(),r);if(re(t))throw new o(null,a.CannotCompareDateAndTime,null)}return!!de(e,t)&&("<="===r||">="===r)}function de(e,t){if(e===t)return!0;if(null===e&&t===I||null===t&&e===I)return!0;if(ne(e)&&ne(t))return e.equals(t);if(ie(e)&&ie(t))return e.equals(t);if(re(e)&&re(t))return e.equals(t);if(e instanceof l)return e.equalityTest(t);if(e instanceof f)return e.equalityTest(t);if(e instanceof S&&t instanceof S){const n=e.cache._arcadeCacheId,r=t.cache._arcadeCacheId;if(null!=n)return n===r}if(oe(e)&&oe(t)){if(e._arcadeCacheId===t._arcadeCacheId&&void 0!==e._arcadeCacheId&&null!==e._arcadeCacheId)return!0;if(e._underlyingGraphic===t._underlyingGraphic&&void 0!==e._underlyingGraphic&&null!==e._underlyingGraphic)return!0}return!1}function ye(e,{useNumbersForDates:t}){let n="";for(const r in e){""!==n&&(n+=",");const i=e[r];null==i?n+=JSON.stringify(r)+":null":O(i)||C(i)||x(i)?n+=JSON.stringify(r)+":"+JSON.stringify(i):H(i)?n+=JSON.stringify(r)+":"+he(i):ie(i)||re(i)?n+=`${JSON.stringify(r)}:${JSON.stringify(i.toString())}`:te(i)||Array.isArray(i)?n+=JSON.stringify(r)+":"+he(i,null,t):ne(i)?n+=t?JSON.stringify(r)+":"+JSON.stringify(i.getTime()):JSON.stringify(r)+":"+i.stringify():null!==i&&"object"==typeof i&&"castToText"in i&&(n+=JSON.stringify(r)+":"+i.castToText(t))}return"{"+n+"}"}function pe(e,t){if(x(e))return e;if(null===e)return"";if(C(e))return se(e,t);if(O(e))return e.toString();if(ne(e))return le(e,t);if(ie(e))return e.toFormat(t);if(re(e))return e.toFormat(t);if(e instanceof b)return JSON.stringify(e.toJSON());if(F(e)){const t=[];for(let n=0;n<e.length;n++)t[n]=be(e[n]);return"["+t.join(",")+"]"}if(e instanceof s){const t=[];for(let n=0;n<e.length();n++)t[n]=be(e.get(n));return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText():G(e)?"object, Function":e===I?"":V(e)?"object, Module":""}function ge(e){const t=[];if(e instanceof s){for(let n=0;n<e.length();n++)t[n]=Ne(e.get(n));return t}if(!F(e))return null;for(let n=0;n<e.length;n++)t[n]=Ne(e[n]);return t}function he(e,t,n=!1){if(x(e))return e;if(null===e)return"";if(C(e))return se(e,t);if(O(e))return e.toString();if(ne(e))return le(e,t);if(ie(e))return e.toFormat(t);if(re(e))return e.toFormat(t);if(e instanceof b)return e instanceof h?'{"xmin":'+e.xmin.toString()+',"ymin":'+e.ymin.toString()+","+(e.hasZ?'"zmin":'+e.zmin.toString()+",":"")+(e.hasM?'"mmin":'+e.mmin.toString()+",":"")+'"xmax":'+e.xmax.toString()+',"ymax":'+e.ymax.toString()+","+(e.hasZ?'"zmax":'+e.zmax.toString()+",":"")+(e.hasM?'"mmax":'+e.mmax.toString()+",":"")+'"spatialReference":'+Fe(e.spatialReference)+"}":Fe(e.toJSON(),((e,t)=>e.key===t.key?0:"spatialReference"===e.key?1:"spatialReference"===t.key||e.key<t.key?-1:e.key>t.key?1:0));if(F(e)){const t=[];for(let r=0;r<e.length;r++)t[r]=be(e[r],n);return"["+t.join(",")+"]"}if(e instanceof s){const t=[];for(let r=0;r<e.length();r++)t[r]=be(e.get(r),n);return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText(n):G(e)?"object, Function":e===I?"":V(e)?"object, Module":""}function be(e,t=!1){if(null===e)return"null";if(O(e)||C(e)||x(e))return JSON.stringify(e);if(e instanceof b)return he(e,null,t);if(e instanceof s)return he(e,null,t);if(Array.isArray(e))return he(e,null,t);if(ne(e))return t?JSON.stringify(e.getTime()):JSON.stringify(le(e,""));if(ie(e))return JSON.stringify(e.toString());if(re(e))return JSON.stringify(e.toString());if(null!==e&&"object"==typeof e){if("castToText"in e)return e.castToText(t)}else if(e===I)return"null";return"null"}function Ne(e,t){return C(e)?e:null===e||""===e?0:ne(e)||re(e)||ie(e)?NaN:O(e)?e?1:0:F(e)||""===e||void 0===e?NaN:void 0!==t&&x(e)?(t=L(t,"‰",""),t=L(t,"¤",""),y(e,{pattern:t})):e===I?0:Number(e)}function Se(e,t){if(ne(e))return e;if(x(e)){const r=Ze(e,t);if(r)return n.dateTimeToArcadeDate(r)}return null}function Ze(e,t){const n=/ (\d\d)/,i=r(t);let o=R.fromISO(e,{zone:i});return o.isValid||n.test(e)&&(e=e.replace(n,"T$1"),o=R.fromISO(e,{zone:t}),o.isValid)?o:null}function Te(e){return O(e)?e:x(e)?"true"===(e=e.toLowerCase()):!!C(e)&&(0!==e&&!isNaN(e))}function Ae(e,t){const n=JSON.parse(e);return n&&!n.spatialReference&&(n.spatialReference=t),j(n)}function ke(e,t){return null==e?null:(null!==e.spatialReference&&void 0!==e.spatialReference||(e.spatialReference=t),e)}function je(e){if(null===e)return null;if(e instanceof S)return"NaN"===e.x||null===e.x||isNaN(e.x)?null:e;if(e instanceof Z){if(0===(e.curveRings??e.rings).length)return null;for(const t of e.curveRings??e.rings)if(t.length>0)return e;return null}if(e instanceof T){if(0===(e.curvePaths??e.paths).length)return null;for(const t of e.curvePaths??e.paths)if(t.length>0)return e;return null}return e instanceof N?0===e.points.length?null:e:e instanceof h?"NaN"===e.xmin||null===e.xmin||isNaN(e.xmin)?null:e:null}function De(e,t){if(!e)return t;if(!e.domain)return t;let n=null,r=null;if(ne(t))n=t.toNumber();else if(re(t))n=t.toString();else if(ie(t))n=t.toStorageString();else if("string"===e.field.type||"esriFieldTypeString"===e.field.type)n=pe(t);else{if(null==t)return null;if(""===t)return t;n=Ne(t)}for(let i=0;i<e.domain.codedValues.length;i++){const t=e.domain.codedValues[i];t.code===n&&(r=t)}return null===r?pe(t):r.name}function Oe(e,t){if(!e)return t;if(!e.domain)return t;let n=null;const r=pe(t);for(let i=0;i<e.domain.codedValues.length;i++){const t=e.domain.codedValues[i];t.name===r&&(n=t)}return null===n?t:n.code}function Ce(e,t,n=null,r=null){if(!t)return null;if(!t.fields)return null;let i,u,s=null;for(let o=0;o<t.fields.length;o++){const n=t.fields[o];n.name.toLowerCase()===e.toString().toLowerCase()&&(s=n)}if(null===s)throw new o(null,a.FieldNotFound,null,{key:e});let l=t.typeIdField,f="id",c=t.types;if(t.subtypeField&&(l=t.subtypeField,f="code",c=t.subtypes??[]),null===r&&n&&l)r=n.hasField(l)?n.field(l):null;else if(l&&null!==r){let e=!1;for(const t of c||[])if(r===t[f]){e=!0;break}if(!e)for(const t of c||[])if(r===t.name){r=t[f],e=!0;break}e||(r=null,n&&l&&(r=n.hasField(l)?n.field(l):null))}return null!=r&&c.some((e=>e[f]===r&&(i=e.domains?.[s.name],i&&"inherited"===i.type&&(i=xe(s.name,t),u=!0),!0))),u||i||(i=xe(e,t)),{field:s,domain:i}}function xe(e,t){let n;return t.fields.some((t=>(t.name.toLowerCase()===e.toLowerCase()&&(n=t.domain),!!n))),n}function Fe(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});const n="boolean"==typeof t.cycles&&t.cycles,r=t.cmp&&(i=t.cmp,function(e){return function(t,n){const r={key:t,value:e[t]},o={key:n,value:e[n]};return i(r,o)}});var i;const o=[];return function e(t){if(t?.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===t)return;if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);let i,a;if(Array.isArray(t)){for(a="[",i=0;i<t.length;i++)i&&(a+=","),a+=e(t[i])||"null";return a+"]"}if(null===t)return"null";if(o.includes(t)){if(n)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}const u=o.push(t)-1,s=Object.keys(t).sort(r?.(t));for(a="",i=0;i<s.length;i++){const n=s[i],r=e(t[n]);r&&(a&&(a+=","),a+=JSON.stringify(n)+":"+r)}return o.splice(u,1),"{"+a+"}"}(e)}function we(e){if(null===e)return null;const t=[];for(const n of e)$(n)?t.push(n.geometry()):t.push(n);return t}function Je(e,t){if(!(t instanceof S))throw new o(null,a.InvalidParameter,null);e.push(t.hasZ?t.hasM?[t.x,t.y,t.z,t.m]:[t.x,t.y,t.z]:[t.x,t.y])}function Me(e,t){if(F(e)||te(e)){let n=!1,r=!1,i=[],u=t;if(F(e)){for(const t of e)Je(i,t);i.length>0&&(u=e[0].spatialReference,n=e[0].hasZ,r=e[0].hasM)}else if(e instanceof f)i=e._elements,i.length>0&&(n=e._hasZ,r=e._hasM,u=e.get(0).spatialReference);else{if(!te(e))throw new o(null,a.InvalidParameter,null);for(const t of e.toArray())Je(i,t);i.length>0&&(u=e.get(0).spatialReference,n=!0===e.get(0).hasZ,r=!0===e.get(0).hasM)}if(0===i.length)return null;return k(i)||(i=i.slice().reverse()),new Z({rings:[i],spatialReference:u,hasZ:n,hasM:r})}return e}function Re(e,t){if(F(e)||te(e)){let n=!1,r=!1,i=[],o=t;if(F(e)){for(const t of e)Je(i,t);i.length>0&&(o=e[0].spatialReference,n=!0===e[0].hasZ,r=!0===e[0].hasM)}else if(e instanceof f)i=e._elements,i.length>0&&(n=e._hasZ,r=e._hasM,o=e.get(0).spatialReference);else if(te(e)){for(const t of e.toArray())Je(i,t);i.length>0&&(o=e.get(0).spatialReference,n=!0===e.get(0).hasZ,r=!0===e.get(0).hasM)}return 0===i.length?null:new T({paths:[i],spatialReference:o,hasZ:n,hasM:r})}return e}function ve(e,t){if(F(e)||te(e)){let n=!1,r=!1,i=[],o=t;if(F(e)){for(const t of e)Je(i,t);i.length>0&&(o=e[0].spatialReference,n=!0===e[0].hasZ,r=!0===e[0].hasM)}else if(e instanceof f)i=e._elements,i.length>0&&(n=e._hasZ,r=e._hasM,o=e.get(0).spatialReference);else if(te(e)){for(const t of e.toArray())Je(i,t);i.length>0&&(o=e.get(0).spatialReference,n=!0===e.get(0).hasZ,r=!0===e.get(0).hasM)}return 0===i.length?null:new N({points:i,spatialReference:o,hasZ:n,hasM:r})}return e}function _e(e,t=!0){if(null==e)return[];if(F(e)){const n=[];for(const r of e){const e=pe(r);(t||""!==e)&&n.push(e)}return n}if(te(e)){const n=[];for(let r=0;r<e.length();r++){const i=pe(e.get(r));(t||""!==i)&&n.push(i)}return n}if(z(e)){const n=pe(e);if(t||""!==n)return[n]}return[]}let Ie=0;function Pe(e){return Ie++,Ie%100==0?(Ie=0,new Promise((t=>{setTimeout((()=>{t(e)}),0)}))):e}function Ye(e,t,n){switch(n){case"&":return e&t;case"|":return e|t;case"^":return e^t;case"<<":return e<<t;case">>":return e>>t;case">>>":return e>>>t}}function Le(e,t=null){return null==e?null:O(e)||C(e)||x(e)?e:e instanceof b?!0===t?.keepGeometryType?e:e.toJSON():e instanceof s?e.toArray().map((e=>Le(e,t))):Array.isArray(e)?e.map((e=>Le(e,t))):w(e)?e:ne(e)?e.toJSDate():ie(e)?e.toString():re(e)?e.toJSDate():null!==e&&"object"==typeof e&&void 0!==e.castAsJson?e.castAsJson(t):null}async function Ge(e,t,n,r,i){const o=await Ve(e,t,n);i[r]=o}async function Ve(e,t=null,n=null){if(e instanceof s&&(e=e.toArray()),null==e)return null;if(z(e)||e instanceof b||w(e)||ne(e))return Le(e,n);if(Array.isArray(e)){const r=[],i=[];for(const o of e)null===o||z(o)||o instanceof b||w(o)||ne(o)?i.push(Le(o,n)):(i.push(null),r.push(Ge(o,t,n,i.length-1,i)));return r.length>0&&await Promise.all(r),i}return null!==e&&"object"==typeof e&&void 0!==e.castAsJsonAsync?e.castAsJsonAsync(t,n):null}function ze(e){return qe(e)?e.parent:e}function qe(e){return e&&"declaredClass"in e&&"esri.layers.support.SubtypeSublayer"===e.declaredClass}function Ee(e){return e&&"declaredClass"in e&&"esri.layers.SubtypeGroupLayer"===e.declaredClass}function Ue(e,t,n){const r=ze(e.fullSchema());if(null===r)return null;if(!r.fields)return null;return Ce(t,r,e,n)}function He(e){const t=ze(e.fullSchema());return null===t?null:t.fields?t.subtypeField?{subtypeField:t.subtypeField,subtypes:t.subtypes?t.subtypes.map((e=>({name:e.name,code:e.code}))):[]}:t.typeIdField?{subtypeField:t.typeIdField,subtypes:t.types?t.types.map((e=>({name:e.name,code:e.id}))):[]}:null:null}function $e(e,t,n,r){const i=ze(e.fullSchema());if(null===i)return null;if(!i.fields)return null;const o=Ce(t,i,e,r);if(void 0===n)try{n=e.field(t)}catch(a){return null}return De(o,n)}function Be(e,t,n,r){const i=ze(e.fullSchema());if(null===i)return null;if(!i.fields)return null;if(void 0===n){try{n=e.field(t)}catch(o){return null}return n}return Oe(Ce(t,i,e,r),n)}function Ke(e){return e?.timeZone??"system"}function We(e){const t=ze(e.fullSchema());if(null===t)return null;if(!t.fields)return null;const n=[];for(const r of t.fields)n.push(c(r));return{objectIdField:t.objectIdField,globalIdField:t.globalIdField??"",geometryType:void 0===m[t.geometryType]?"":m[t.geometryType],fields:n}}function Qe(r,i){const o=n.systemTimeZoneCanonicalName;return"system"===r&&(r=o),{version:Xe,engineVersion:t,timeZone:r,userTimeZone:o,spatialReference:i instanceof A?i.toJSON():i,application:e.applicationName??"",engine:"web",locale:D()}}const Xe="1.32",et=Object.freeze(Object.defineProperty({__proto__:null,ImplicitResult:_,ReturnResult:v,absRound:ue,arcadeVersion:Xe,autoCastArrayOfPointsToMultiPoint:ve,autoCastArrayOfPointsToPolygon:Me,autoCastArrayOfPointsToPolyline:Re,autoCastFeatureToGeometry:we,binaryOperator:Ye,breakResult:P,castAsJson:Le,castAsJsonAsync:Ve,castRecordToText:ye,continueResult:Y,defaultExecutingContext:Qe,defaultTimeZone:Ke,defaultUndefined:q,equalityTest:de,featureDomainCodeLookup:Be,featureDomainValueLookup:$e,featureFullDomain:Ue,featureSchema:We,featureSubtypes:He,fixNullGeometry:je,fixSpatialReference:ke,formatDate:le,formatNumber:se,getDomain:Ce,getDomainCode:Oe,getDomainValue:De,getType:E,greaterThanLessThan:me,isArray:F,isBoolean:O,isDate:ne,isDateOnly:re,isDictionary:W,isDictionaryLike:Q,isFeature:$,isFeatureSet:K,isFeatureSetCollection:X,isFunctionParameter:G,isGeometry:H,isGraphic:J,isImmutableArray:te,isInteger:M,isJsDate:w,isKnowledgeGraph:ee,isModule:V,isNumber:C,isObject:oe,isSimpleType:z,isString:x,isSubtypeGrouplayer:Ee,isSubtypeSublayer:qe,isTime:ie,isVoid:U,isVoxel:B,multiReplace:L,parseGeometryFromJson:Ae,pcCheck:ae,stableStringify:Fe,standardiseDateFormat:fe,tick:Pe,toBoolean:Te,toDate:Se,toNumber:Ne,toNumberArray:ge,toString:pe,toStringArray:_e,toStringExplicit:he,voidOperation:I},Symbol.toStringTag,{value:"Module"}));export{qe as $,U as A,ae as B,we as C,ke as D,Me as E,Re as F,ve as G,Te as H,_ as I,q as J,Ke as K,_e as L,E as M,Se as N,fe as O,ue as P,Ue as Q,v as R,Be as S,$e as T,We as U,He as V,je as W,B as X,L as Y,Qe as Z,ge as _,Le as a,Pe as a0,Ce as a1,De as a2,Oe as a3,V as a4,oe as a5,se as a6,le as a7,Ae as a8,Fe as a9,Ee as aa,Xe as ab,Ve as b,ye as c,z as d,ne as e,re as f,ie as g,H as h,G as i,te as j,$ as k,X as l,K as m,W as n,ee as o,et as p,P as q,Y as r,Q as s,he as t,Ne as u,I as v,pe as w,me as x,de as y,Ye as z};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
4
4
  */
5
- import{equals as t}from"../../core/arrayUtils.js";import{Axis as n}from"./Axis.js";import{getInfo as r}from"./spatialReferenceUtils.js";function e(t){if(!t)return null;if(Array.isArray(t))return t;const n=t.hasZ,r=t.hasM;if("point"===t.type)return r&&n?[t.x,t.y,t.z,t.m]:n?[t.x,t.y,t.z]:r?[t.x,t.y,t.m]:[t.x,t.y];if("polygon"===t.type)return t.rings.slice();if("polyline"===t.type)return t.paths.slice();if("multipoint"===t.type)return t.points.slice();if("extent"===t.type){const n=t.clone().normalize();if(!n)return null;let r=!1,e=!1;return n.forEach((t=>{t.hasZ&&(r=!0),t.hasM&&(e=!0)})),n.map((t=>{const n=[[t.xmin,t.ymin],[t.xmin,t.ymax],[t.xmax,t.ymax],[t.xmax,t.ymin],[t.xmin,t.ymin]];if(r&&t.hasZ){const r=.5*(t.zmax-t.zmin);for(let t=0;t<n.length;t++)n[t].push(r)}if(e&&t.hasM){const r=.5*(t.mmax-t.mmin);for(let t=0;t<n.length;t++)n[t].push(r)}return n}))}return null}function i(t,n){const r=n[0]-t[0],e=n[1]-t[1];if(t.length>2&&n.length>2){const i=t[2]-n[2];return Math.sqrt(r*r+e*e+i*i)}return Math.sqrt(r*r+e*e)}function o(t,n,r){const e=t[0]+r*(n[0]-t[0]),i=t[1]+r*(n[1]-t[1]);return t.length>2&&n.length>2?[e,i,t[2]+r*(n[2]-t[2])]:[e,i]}function s(t,n,r,e){return f(t,n,r[e],r[e+1])}function f(t,n,r,e){const[i,o]=n,[s,f]=r,[u,l]=e,c=u-s,h=l-f,p=c*c+h*h,a=(i-s)*c+(o-f)*h,y=Math.min(1,Math.max(0,a/p));return t[0]=s+c*y,t[1]=f+h*y,t}function u(t,n,r){let e,i,o,s,f=!1,u=1/0;for(r.reset();r.nextPath();)if(r.nextPoint())for(e=r.x,i=r.y;r.nextPoint();)o=r.x,s=r.y,i>n!=s>n&&t<(o-e)*(n-i)/(s-i)+e&&(f=!f),u=Math.min(u,l(t,n,e,i,o,s)),e=o,i=s;return 0===u?0:(f?1:-1)*Math.sqrt(u)}function l(t,n,r,e,i,o){let s=r,f=e,u=i-s,l=o-f;if(0!==u||0!==l){const r=((t-s)*u+(n-f)*l)/(u*u+l*l);r>1?(s=i,f=o):r>0&&(s+=u*r,f+=l*r)}return u=t-s,l=n-f,u*u+l*l}function c(t,n){return o(t,n,.5)}function h(t){const n=t.length;let r=0;for(let e=0;e<n-1;++e)r+=i(t[e],t[e+1]);return r}function p(t,n){if(n<=0)return t[0];const r=t.length;let e=0;for(let s=0;s<r-1;++s){const r=i(t[s],t[s+1]);if(n-e<r){const i=(n-e)/r;return o(t[s],t[s+1],i)}e+=r}return t[r-1]}function a(t,r=n.X,e=n.Y){let i=0;const o=t.length;let s=t[0];for(let n=1;n<o;n++){const o=t[n];i+=(o[r]-s[r])*(o[e]+s[e]),s=o}if(!y(t)){const n=t[0];i+=(n[r]-s[r])*(n[e]+s[e])}return i>=0}function y(n){const r=n.length;return r<3||t(n[0],n[r-1])}function m(t){"rings"in t&&(g(t),x(t))}function g(t){if(!("rings"in t))return!1;let n=!1;for(const r of t.rings)y(r)||(r.push(r[0].slice()),n=!0);return n}function x(t){if(!("rings"in t))return!1;if(0===t.rings.length||a(t.rings[0]))return!1;for(const n of t.rings)n.reverse();return!0}function M(t){if("polygon"!==t.type&&"polyline"!==t.type)return t;return z("polygon"===t.type?t.rings:t.paths,t.spatialReference),t}function z(t,n){const e=r(n);if(!e)return;const i=e.valid[0],o=e.valid[1],s=o-i;for(const r of t){let t=1/0,n=-1/0;for(const s of r){const r=v(s[0],i,o);t=Math.min(t,r),n=Math.max(n,r),s[0]=r}const e=n-t;s-e<e&&r.forEach((t=>{t[0]<0&&(t[0]+=s)}))}}function v(t,n,r){const e=r-n;return t<n?r-(n-t)%e:t>r?n+(t-n)%e:t}function j(t,n){if(t===n)return!0;if(t.type!==n.type)return!1;if("point"===t.type||"mesh"===t.type||"extent"===t.type)return!0;if("multipoint"===t.type)return t.points.length===n.points.length;const[r,e]="polyline"===t.type?[t.paths,n.paths]:[t.rings,n.rings];return r.length===e.length&&r.every(((t,n)=>t.length===e[n].length))}export{g as closeRings,m as closeRingsAndFixWinding,u as distanceFromPointToPolygon,l as distanceToSegmentSquared,x as fixWinding,e as geometryToCoordinates,i as getLength,c as getMidpoint,h as getPathLength,p as getPointOnPath,j as hasCompatibleTopology,a as isClockwise,y as isClosed,s as projectPointOnLine,f as projectPointOnLineSeg,M as unnormalizeGeometryOnDatelineCrossing,z as unnormalizeVerticesOnDatelineCrossing,v as unnormalizedCoordinate};
5
+ import{equals as n}from"../../core/arrayUtils.js";import{Axis as t}from"./Axis.js";import{getInfo as r}from"./spatialReferenceUtils.js";function e(n){if(!n)return null;if(Array.isArray(n))return n;const t=n.hasZ,r=n.hasM;if("point"===n.type)return r&&t?[n.x,n.y,n.z,n.m]:t?[n.x,n.y,n.z]:r?[n.x,n.y,n.m]:[n.x,n.y];if("polygon"===n.type)return n.rings.slice();if("polyline"===n.type)return n.paths.slice();if("multipoint"===n.type)return n.points.slice();if("extent"===n.type){const t=n.clone().normalize();if(!t)return null;let r=!1,e=!1;return t.forEach((n=>{n.hasZ&&(r=!0),n.hasM&&(e=!0)})),t.map((n=>{const t=[[n.xmin,n.ymin],[n.xmin,n.ymax],[n.xmax,n.ymax],[n.xmax,n.ymin],[n.xmin,n.ymin]];if(r&&n.hasZ){const r=.5*(n.zmax-n.zmin);for(let n=0;n<t.length;n++)t[n].push(r)}if(e&&n.hasM){const r=.5*(n.mmax-n.mmin);for(let n=0;n<t.length;n++)t[n].push(r)}return t}))}return null}function i(n,t){const r=t[0]-n[0],e=t[1]-n[1];if(n.length>2&&t.length>2){const i=n[2]-t[2];return Math.sqrt(r*r+e*e+i*i)}return Math.sqrt(r*r+e*e)}function o(n,t,r){const e=n[0]+r*(t[0]-n[0]),i=n[1]+r*(t[1]-n[1]);return n.length>2&&t.length>2?[e,i,n[2]+r*(t[2]-n[2])]:[e,i]}function s(n,t,r,e){return f(n,t,r[e],r[e+1])}function f(n,t,r,e){const[i,o]=t,[s,f]=r,[u,l]=e,c=u-s,h=l-f,p=c*c+h*h,a=(i-s)*c+(o-f)*h,y=Math.min(1,Math.max(0,a/p));return n[0]=s+c*y,n[1]=f+h*y,n}function u(n,t,r){let e,i,o,s,f=!1,u=1/0;for(r.reset();r.nextPath();)if(r.nextPoint())for(e=r.x,i=r.y;r.nextPoint();)o=r.x,s=r.y,i>t!=s>t&&n<(o-e)*(t-i)/(s-i)+e&&(f=!f),u=Math.min(u,l(n,t,e,i,o,s)),e=o,i=s;return 0===u?0:(f?1:-1)*Math.sqrt(u)}function l(n,t,r,e,i,o){let s=r,f=e,u=i-s,l=o-f;if(0!==u||0!==l){const r=((n-s)*u+(t-f)*l)/(u*u+l*l);r>1?(s=i,f=o):r>0&&(s+=u*r,f+=l*r)}return u=n-s,l=t-f,u*u+l*l}function c(n,t){return o(n,t,.5)}function h(n){const t=n.length;let r=0;for(let e=0;e<t-1;++e)r+=i(n[e],n[e+1]);return r}function p(n,t){if(t<=0)return n[0];const r=n.length;let e=0;for(let s=0;s<r-1;++s){const r=i(n[s],n[s+1]);if(t-e<r){const i=(t-e)/r;return o(n[s],n[s+1],i)}e+=r}return n[r-1]}function a(n,r=t.X,e=t.Y){let i=0;const o=n.length;let s=n[0];for(let t=1;t<o;t++){const o=n[t];i+=(o[r]-s[r])*(o[e]+s[e]),s=o}if(!y(n)){const t=n[0];i+=(t[r]-s[r])*(t[e]+s[e])}return i>=0}function y(t){const r=t.length;return r<3||n(t[0],t[r-1])}function m(n){"rings"in n&&(g(n),x(n))}function g(n){if("rings"in n)for(const t of n.rings)y(t)||t.push(t[0].slice())}function x(n){if(!("rings"in n))return!1;if(0===n.rings.length||a(n.rings[0]))return!1;for(const t of n.rings)t.reverse();return!0}function M(n){if("polygon"!==n.type&&"polyline"!==n.type)return n;return z("polygon"===n.type?n.rings:n.paths,n.spatialReference),n}function z(n,t){const e=r(t);if(!e)return;const i=e.valid[0],o=e.valid[1],s=o-i;for(const r of n){let n=1/0,t=-1/0;for(const s of r){const r=v(s[0],i,o);n=Math.min(n,r),t=Math.max(t,r),s[0]=r}const e=t-n;s-e<e&&r.forEach((n=>{n[0]<0&&(n[0]+=s)}))}}function v(n,t,r){const e=r-t;return n<t?r-(t-n)%e:n>r?t+(n-t)%e:n}function j(n,t){if(n===t)return!0;if(n.type!==t.type)return!1;if("point"===n.type||"mesh"===n.type||"extent"===n.type)return!0;if("multipoint"===n.type)return n.points.length===t.points.length;const[r,e]="polyline"===n.type?[n.paths,t.paths]:[n.rings,t.rings];return r.length===e.length&&r.every(((n,t)=>n.length===e[t].length))}export{g as closeRings,m as closeRingsAndFixWinding,u as distanceFromPointToPolygon,l as distanceToSegmentSquared,x as fixWinding,e as geometryToCoordinates,i as getLength,c as getMidpoint,h as getPathLength,p as getPointOnPath,j as hasCompatibleTopology,a as isClockwise,y as isClosed,s as projectPointOnLine,f as projectPointOnLineSeg,M as unnormalizeGeometryOnDatelineCrossing,z as unnormalizeVerticesOnDatelineCrossing,v as unnormalizedCoordinate};