@esri/solutions-components 1.1.0-next.20250925 → 1.1.0-next.20250929

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 (464) hide show
  1. package/dist/cdn/{LUWFREHJ.js → 24NXBR7D.js} +2 -2
  2. package/dist/cdn/{LPXLHBPX.js → 27OIWZKF.js} +2 -2
  3. package/dist/cdn/2A4RYVQN.js +18 -0
  4. package/dist/cdn/{W34C5H2W.js → 2AXJLVG3.js} +2 -2
  5. package/dist/cdn/{IYWOPTG3.js → 2HBYD5JL.js} +2 -2
  6. package/dist/cdn/{S5VYS4SB.js → 2IPKS5GU.js} +2 -2
  7. package/dist/cdn/{FU7BP62B.js → 2IWXCGDF.js} +2 -2
  8. package/dist/cdn/{H7PPVWDR.js → 2KDJSDKP.js} +2 -2
  9. package/dist/cdn/{BV5STBSZ.js → 2L4PJMV7.js} +2 -2
  10. package/dist/cdn/{ZYR3HZEK.js → 2MHE7GDO.js} +2 -2
  11. package/dist/cdn/{CQLA56QO.js → 2TBPCLX2.js} +2 -2
  12. package/dist/cdn/{BZF3B6LY.js → 2U3WIZQF.js} +2 -2
  13. package/dist/cdn/{RRHTLAAA.js → 2UDWNBJD.js} +2 -2
  14. package/dist/cdn/{MX6RTOQG.js → 32R5KR3R.js} +2 -2
  15. package/dist/cdn/{ZA6O5D72.js → 34GB7X6T.js} +2 -2
  16. package/dist/cdn/{LSMRGUCM.js → 35EHOEO5.js} +2 -2
  17. package/dist/cdn/{KKWPB4UB.js → 3AZYTPQP.js} +2 -2
  18. package/dist/cdn/{DMJ7ZB4K.js → 3BHAASMZ.js} +2 -2
  19. package/dist/cdn/3BIKIJJX.js +4 -0
  20. package/dist/cdn/{RQAOJXPS.js → 3FLM6VK7.js} +2 -2
  21. package/dist/cdn/{KJRI7DRU.js → 3GF5ENTB.js} +2 -2
  22. package/dist/cdn/{CVG5RATD.js → 3GQZZ2T4.js} +2 -2
  23. package/dist/cdn/{MFFFCOFR.js → 3JI4B47E.js} +2 -2
  24. package/dist/cdn/{Q6TJGV2D.js → 3OMMISHV.js} +1 -1
  25. package/dist/cdn/{R6LB7MHN.js → 3SFMUF7Z.js} +1 -1
  26. package/dist/cdn/{YHMMK2FG.js → 3UCGTKJ4.js} +2 -2
  27. package/dist/cdn/{O2FICKKC.js → 3UHOMON5.js} +2 -2
  28. package/dist/cdn/{2DLRU2VG.js → 3Z2DCDFZ.js} +1 -1
  29. package/dist/cdn/{WEXUAI5Q.js → 3ZIQI3MB.js} +2 -2
  30. package/dist/cdn/{KAVW3QCR.js → 4D42CCAM.js} +2 -2
  31. package/dist/cdn/{U46QNBND.js → 4LHPFNEW.js} +1 -1
  32. package/dist/cdn/{6XJFJMJQ.js → 4NWQKKY5.js} +2 -2
  33. package/dist/cdn/{77HTAQZE.js → 4O3YPQZO.js} +2 -2
  34. package/dist/cdn/{QK4JQJUW.js → 4TSGUGOM.js} +2 -2
  35. package/dist/cdn/{JARW5IVD.js → 4U3RWTKW.js} +2 -2
  36. package/dist/cdn/{OKMWCFIQ.js → 4V4HIEPX.js} +2 -2
  37. package/dist/cdn/{SSTYILQA.js → 54DU5TVD.js} +2 -2
  38. package/dist/cdn/{XWSJEPAY.js → 56PLYLTG.js} +1 -1
  39. package/dist/cdn/{LXDMBT5O.js → 57PNLJ6A.js} +2 -2
  40. package/dist/cdn/{VHHNWHEK.js → 5DKZJ2GA.js} +2 -2
  41. package/dist/cdn/{MXZZNY4F.js → 5EFN7WV7.js} +2 -2
  42. package/dist/cdn/{U77WXORN.js → 5FBUJNM2.js} +2 -2
  43. package/dist/cdn/{55PXWNYE.js → 5GTB2WB6.js} +2 -2
  44. package/dist/cdn/{ORWR25WB.js → 5MTT3TGR.js} +2 -2
  45. package/dist/cdn/{SHUUBUII.js → 5Q2UXPI5.js} +2 -2
  46. package/dist/cdn/{4HI6FZUO.js → 5QPIITA4.js} +2 -2
  47. package/dist/cdn/{3MLUZIHQ.js → 5ZIKXR65.js} +2 -2
  48. package/dist/cdn/{Q3BLS33D.js → 5ZTHDTLW.js} +1 -1
  49. package/dist/cdn/{ULQENDE6.js → 63L2WCHI.js} +2 -2
  50. package/dist/cdn/{HNMRLRJW.js → 665K7RAO.js} +2 -2
  51. package/dist/cdn/{Y7K3POJH.js → 6BRX64AI.js} +2 -2
  52. package/dist/cdn/{FM5VRWXF.js → 6RKWFW3N.js} +2 -2
  53. package/dist/cdn/{VE37PUTE.js → 6T5GKUK3.js} +2 -2
  54. package/dist/cdn/{IKCRST7G.js → 6TEE4XH2.js} +2 -2
  55. package/dist/cdn/{2HAO3FHD.js → 6WYUUORV.js} +2 -2
  56. package/dist/cdn/{R73ZGYHF.js → 6XMXDN4W.js} +2 -2
  57. package/dist/cdn/{YSXDW4ET.js → 72MIKPT4.js} +2 -2
  58. package/dist/cdn/74L3DAB2.js +18 -0
  59. package/dist/cdn/{LO7MRNGB.js → 7FRJ6VJP.js} +2 -2
  60. package/dist/cdn/7FXEE6GG.js +18 -0
  61. package/dist/cdn/{VKN5M2H2.js → 7ILIX3P2.js} +1 -1
  62. package/dist/cdn/{D5Q6B25A.js → 7J7HG6BZ.js} +2 -2
  63. package/dist/cdn/{QEAKPZQP.js → 7JDNHACD.js} +2 -2
  64. package/dist/cdn/{KS4RKS4M.js → 7KP55TIL.js} +2 -2
  65. package/dist/cdn/{24BXIQZ7.js → 7NDNYP4D.js} +2 -2
  66. package/dist/cdn/7NYQUWO2.js +4 -0
  67. package/dist/cdn/{WWVGMEQR.js → 7O3IE7DM.js} +2 -2
  68. package/dist/cdn/{QHTCEAXV.js → 7XASUY7S.js} +2 -2
  69. package/dist/cdn/{BT7CLLDK.js → A5NNENXQ.js} +2 -2
  70. package/dist/cdn/{UNJMGUK2.js → A66LOYMR.js} +1 -1
  71. package/dist/cdn/{GVZUTXR2.js → A6FQLCJQ.js} +2 -2
  72. package/dist/cdn/{QTPV3FTX.js → AABUNJFF.js} +2 -2
  73. package/dist/cdn/ALO2EK2I.js +4 -0
  74. package/dist/cdn/{XVGFKPLI.js → APCW5ZPG.js} +2 -2
  75. package/dist/cdn/{EBIRS27O.js → AR57IHDV.js} +2 -2
  76. package/dist/cdn/{DNNYXYMB.js → ARCTYKDS.js} +2 -2
  77. package/dist/cdn/{YKAQDT2U.js → AW7UB2A7.js} +2 -2
  78. package/dist/cdn/{GAHL3SYV.js → AYAD3JW6.js} +2 -2
  79. package/dist/cdn/{AFQPOT74.js → B2MZXG3S.js} +1 -1
  80. package/dist/cdn/{NZNYZUTU.js → B7ZI5I2I.js} +1 -1
  81. package/dist/cdn/{NOVKOM57.js → BBXJWST7.js} +2 -2
  82. package/dist/cdn/{KFF4AJDE.js → BEE32DH7.js} +2 -2
  83. package/dist/cdn/{YBN33CFC.js → BGAYS7EP.js} +2 -2
  84. package/dist/cdn/{S2LSR4AS.js → BP4LWVYC.js} +2 -2
  85. package/dist/cdn/{FEHKEJZD.js → BPH6LIDW.js} +1 -1
  86. package/dist/cdn/{XVWWKYTO.js → BTPAXEWH.js} +2 -2
  87. package/dist/cdn/{YQ2TKW7R.js → BU5FG5MN.js} +2 -2
  88. package/dist/cdn/{CIJJVEVF.js → BZFK72Y2.js} +2 -2
  89. package/dist/cdn/{PHRHUP64.js → BZJLWOMQ.js} +2 -2
  90. package/dist/cdn/{XFMDSFW7.js → C4PPAFGY.js} +2 -2
  91. package/dist/cdn/{NGRBGHVV.js → C5O2B5GP.js} +2 -2
  92. package/dist/cdn/{DAMW3REA.js → CETJTR76.js} +2 -2
  93. package/dist/cdn/{MNLNPPRU.js → CGOZF7PX.js} +2 -2
  94. package/dist/cdn/{5FLGUC57.js → CHNGIHQX.js} +2 -2
  95. package/dist/cdn/CHTX2SND.js +4 -0
  96. package/dist/cdn/{R7U46D5B.js → CM7DA4KS.js} +2 -2
  97. package/dist/cdn/{ZF6AQYFE.js → CNOQ27DH.js} +2 -2
  98. package/dist/cdn/{HXM7W2BW.js → CPEY5UC6.js} +2 -2
  99. package/dist/cdn/{G2GWPSGO.js → CTSQQ2TC.js} +1 -1
  100. package/dist/cdn/{NQIJKYWM.js → CUZK7MZA.js} +2 -2
  101. package/dist/cdn/CWTB26J6.js +6 -0
  102. package/dist/cdn/{MDNB4YJA.js → D3KLUSNS.js} +2 -2
  103. package/dist/cdn/{ZSMGY5JQ.js → D4A24CYE.js} +2 -2
  104. package/dist/cdn/{KUMMPXMH.js → DCRGFC4K.js} +2 -2
  105. package/dist/cdn/{MTCLLVL7.js → DI3IRTWX.js} +2 -2
  106. package/dist/cdn/{NYQEWR7X.js → DIWNHI6Y.js} +1 -1
  107. package/dist/cdn/{S2RBXS2V.js → DNDRIKNE.js} +2 -2
  108. package/dist/cdn/{A6HUHBMQ.js → DOLXIIZK.js} +2 -2
  109. package/dist/cdn/{245NPYHN.js → DP44HMHY.js} +2 -2
  110. package/dist/cdn/{SKJFZS7G.js → DRIHILRA.js} +2 -2
  111. package/dist/cdn/{C7WHKGC3.js → DUHGQQNB.js} +2 -2
  112. package/dist/cdn/{PSSYHWBH.js → DWOWSKWL.js} +2 -2
  113. package/dist/cdn/{VI62OQOH.js → EECLW37R.js} +2 -2
  114. package/dist/cdn/{AISYSTZW.js → EEI26X4P.js} +6 -6
  115. package/dist/cdn/{P2ILALBS.js → EEVZE37F.js} +2 -2
  116. package/dist/cdn/EGM63VHX.js +20 -0
  117. package/dist/cdn/{WWDAOW57.js → EIICKA7A.js} +2 -2
  118. package/dist/cdn/{26EMEDKL.js → EQPKFF6L.js} +2 -2
  119. package/dist/cdn/{X55WNPTN.js → ESKXE5IO.js} +2 -2
  120. package/dist/cdn/ETPILCOO.js +4 -0
  121. package/dist/cdn/{2OPURCY3.js → EU5RAKJN.js} +2 -2
  122. package/dist/cdn/{TWGZAHIH.js → EZLOM5HO.js} +2 -2
  123. package/dist/cdn/{N5KQGDLL.js → EZPVMBWU.js} +2 -2
  124. package/dist/cdn/{XDQL3NIY.js → F2KQXG3F.js} +2 -2
  125. package/dist/cdn/{QU7KXVDR.js → FBU36PWJ.js} +2 -2
  126. package/dist/cdn/{GIGNYRHN.js → FDXX2AF6.js} +2 -2
  127. package/dist/cdn/{EF5JL2VQ.js → FI2LF4L2.js} +2 -2
  128. package/dist/cdn/{UGU56XUK.js → FIIB5GYO.js} +2 -2
  129. package/dist/cdn/{JWO5QIYY.js → FRPAGIRI.js} +2 -2
  130. package/dist/cdn/{2JHNJNS2.js → FVIHGNC3.js} +2 -2
  131. package/dist/cdn/{HX3WF3FR.js → FWPGEUN5.js} +2 -2
  132. package/dist/cdn/{6HHPO62F.js → FY7R2X72.js} +2 -2
  133. package/dist/cdn/{RHTJZXBZ.js → FYQWLEQC.js} +2 -2
  134. package/dist/cdn/FZPWGYOJ.js +4 -0
  135. package/dist/cdn/{FB4FWUNL.js → G6KXOAIJ.js} +2 -2
  136. package/dist/cdn/{WHEEVELQ.js → GGJLOX5Y.js} +2 -2
  137. package/dist/cdn/{N24O4QQI.js → GN75DDPE.js} +2 -2
  138. package/dist/cdn/{HLETUGG3.js → GS2S3LFA.js} +2 -2
  139. package/dist/cdn/{WQPXVA5A.js → GTL7DRM4.js} +2 -2
  140. package/dist/cdn/{ETBTTZNA.js → GX3JK5OC.js} +2 -2
  141. package/dist/cdn/{WXSOWA6A.js → GYBZSSMY.js} +1 -1
  142. package/dist/cdn/{POV7XSHA.js → H23CRQHV.js} +2 -2
  143. package/dist/cdn/{EJ4R77EB.js → H3RYTY2M.js} +1 -1
  144. package/dist/cdn/H5QNY6ZC.js +18 -0
  145. package/dist/cdn/{JC7ZAYKG.js → HENOTPCJ.js} +2 -2
  146. package/dist/cdn/{42AGDBE4.js → HF2IWXJW.js} +2 -2
  147. package/dist/cdn/{GZKHYIAT.js → HFJC5XU4.js} +2 -2
  148. package/dist/cdn/{XC4FJ5WE.js → HITK364J.js} +2 -2
  149. package/dist/cdn/{YTMOSPLG.js → HJOU57UA.js} +2 -2
  150. package/dist/cdn/{Z323EBNW.js → HMBDJVKI.js} +2 -2
  151. package/dist/cdn/{OGMM2WEY.js → HSH4P6SK.js} +2 -2
  152. package/dist/cdn/{OP4WGZFL.js → IDIQ5XBF.js} +2 -2
  153. package/dist/cdn/{D5HHTQN4.js → ILPKNUOK.js} +2 -2
  154. package/dist/cdn/{UQPU366W.js → IPQ7CLEE.js} +2 -2
  155. package/dist/cdn/{YA54WNBU.js → IXAD2DOF.js} +2 -2
  156. package/dist/cdn/{GF4XCPBZ.js → IY4ZLFQD.js} +1 -1
  157. package/dist/cdn/{WNCVTLXA.js → J4UR4IEB.js} +2 -2
  158. package/dist/cdn/{AGBENW6G.js → J4ZFHG7L.js} +2 -2
  159. package/dist/cdn/{K7RLU4Y2.js → J55EILL3.js} +2 -2
  160. package/dist/cdn/{LGVP5INX.js → J5RUGAEN.js} +2 -2
  161. package/dist/cdn/{BVIUDIGF.js → J6VEINMJ.js} +2 -2
  162. package/dist/cdn/{FBSD5IXJ.js → J7GTA7ZZ.js} +2 -2
  163. package/dist/cdn/{THJHFKQV.js → JAKWCZDV.js} +1 -1
  164. package/dist/cdn/{KBC6DIJZ.js → JB25YHAD.js} +2 -2
  165. package/dist/cdn/{VEDQ6C5V.js → JDM7DSMI.js} +2 -2
  166. package/dist/cdn/{ZTPF724K.js → JM774LDL.js} +1 -1
  167. package/dist/cdn/{NKZ3BLZ2.js → JQGMDBDF.js} +2 -2
  168. package/dist/cdn/{VRKYLQUQ.js → JS3LLBEX.js} +2 -2
  169. package/dist/cdn/{SLVNYZVX.js → JT5KVQZ4.js} +2 -2
  170. package/dist/cdn/{WBVC3BG2.js → JVFHVPN2.js} +2 -2
  171. package/dist/cdn/{RNVVUHUQ.js → JVGMITAJ.js} +1 -1
  172. package/dist/cdn/{473QHOPM.js → K2AHBDTE.js} +2 -2
  173. package/dist/cdn/{TEHFWJ7C.js → K322J7FK.js} +2 -2
  174. package/dist/cdn/{3JBVAHK6.js → K5EVLWTJ.js} +2 -2
  175. package/dist/cdn/{PQQYPDWQ.js → KA7YUJSJ.js} +1 -1
  176. package/dist/cdn/{EV6FIS7V.js → KBMW4YXO.js} +2 -2
  177. package/dist/cdn/{AYZSOCD5.js → KEHOH22C.js} +2 -2
  178. package/dist/cdn/{Z6AH4R75.js → KJJVAL35.js} +1 -1
  179. package/dist/cdn/{MIRZHYKN.js → KNRXPVDT.js} +2 -2
  180. package/dist/cdn/{FNSY7LO2.js → KTK2DEAS.js} +2 -2
  181. package/dist/cdn/{RV6DRTTP.js → L2LUNQJO.js} +2 -2
  182. package/dist/cdn/{K5OZT7T2.js → L2ZISXZT.js} +2 -2
  183. package/dist/cdn/{EK43Y7Z2.js → LBUWEP43.js} +2 -2
  184. package/dist/cdn/{PIHX5ITU.js → LCA6INTL.js} +2 -2
  185. package/dist/cdn/{6PBSS6FB.js → LFRNZQQQ.js} +2 -2
  186. package/dist/cdn/{SCZM2XR2.js → LHYGUB3F.js} +2 -2
  187. package/dist/cdn/{R6HH3ODD.js → LLF2VZZP.js} +2 -2
  188. package/dist/cdn/{37GUPKRX.js → LNRXYPBA.js} +2 -2
  189. package/dist/cdn/{TXVRQ5PZ.js → LOP6W4WH.js} +2 -2
  190. package/dist/cdn/{D7LR22CF.js → LQVWYVBC.js} +2 -2
  191. package/dist/cdn/{OLVFU265.js → LRXZR626.js} +1 -1
  192. package/dist/cdn/{P3CL4EMR.js → LS76NZYE.js} +2 -2
  193. package/dist/cdn/{X5CXVGZF.js → LWRZQXP4.js} +2 -2
  194. package/dist/cdn/{EWUDMX32.js → LXGLCCIH.js} +2 -2
  195. package/dist/cdn/{XTGQKRQA.js → MBKD4OIU.js} +2 -2
  196. package/dist/cdn/{IWQSRGSD.js → MBVL5FLN.js} +2 -2
  197. package/dist/cdn/{7ZU4SW7Z.js → MCCAWA7W.js} +2 -2
  198. package/dist/cdn/{6LDOG2ME.js → MD2WX3FX.js} +2 -2
  199. package/dist/cdn/{IMDXMWOJ.js → MDHPL2OC.js} +2 -2
  200. package/dist/cdn/{KEBHA3QD.js → MDK7EODV.js} +1 -1
  201. package/dist/cdn/{HSCLCBHG.js → MF6CCIND.js} +2 -2
  202. package/dist/cdn/{MW2FGYGV.js → MMGDLJ2Z.js} +1 -1
  203. package/dist/cdn/{IABCWEOV.js → MMTPLDJR.js} +2 -2
  204. package/dist/cdn/{SBE4AVXM.js → MQHPLV6A.js} +2 -2
  205. package/dist/cdn/{GQA6YR5I.js → MT3BB6IR.js} +2 -2
  206. package/dist/cdn/{MWKNWUIW.js → MZP5TFJN.js} +2 -2
  207. package/dist/cdn/{RUD5AGHP.js → N4AYMWOT.js} +2 -2
  208. package/dist/cdn/{KMZWBDXN.js → NAOBJ6XT.js} +2 -2
  209. package/dist/cdn/{UTIDNCRT.js → NC3U7T5Z.js} +1 -1
  210. package/dist/cdn/{DAWEZ3PP.js → NDXNFD3A.js} +2 -2
  211. package/dist/cdn/{JI65BR4X.js → NHSTG4OY.js} +2 -2
  212. package/dist/cdn/{AAUCK7LH.js → NJJW6FTK.js} +2 -2
  213. package/dist/cdn/{QS7CTP67.js → NKCKTBFP.js} +2 -2
  214. package/dist/cdn/{JUWOEYDX.js → NO2R6BJT.js} +2 -2
  215. package/dist/cdn/{5BALCZTO.js → NSJTAT2F.js} +1 -1
  216. package/dist/cdn/{LNJPYNGK.js → NUTU4XMM.js} +2 -2
  217. package/dist/cdn/{IJ6HSCOY.js → O46RPOWJ.js} +2 -2
  218. package/dist/cdn/{NMFAADJX.js → O6BMYVUD.js} +2 -2
  219. package/dist/cdn/{M6OOLFCJ.js → O6QM5W3X.js} +1 -1
  220. package/dist/cdn/{BHA4XTDN.js → O6X3QZAG.js} +2 -2
  221. package/dist/cdn/{3BOYXWN3.js → OAQIBHT4.js} +2 -2
  222. package/dist/cdn/{LFU5MJCP.js → OFEZRG4C.js} +2 -2
  223. package/dist/cdn/{LDVVWQGY.js → OOIHWLN7.js} +2 -2
  224. package/dist/cdn/{EXU6PQ54.js → ORU6AVCP.js} +2 -2
  225. package/dist/cdn/{DEZFQJNZ.js → OTFQ2XI6.js} +2 -2
  226. package/dist/cdn/{GMNC7X6H.js → OUXIT6ZF.js} +2 -2
  227. package/dist/cdn/{EFJAP4WK.js → OW2UKCST.js} +2 -2
  228. package/dist/cdn/{K33ORAXO.js → OXPUSNOS.js} +2 -2
  229. package/dist/cdn/{JBUK53GU.js → P4JIPMS7.js} +2 -2
  230. package/dist/cdn/{KR6VTFJA.js → PBFSJAOV.js} +2 -2
  231. package/dist/cdn/{BUSDCGM3.js → PE72XHNT.js} +2 -2
  232. package/dist/cdn/{BGSHIX7G.js → PIRWDUXH.js} +2 -2
  233. package/dist/cdn/{U2GNUOU3.js → PJCW5NGC.js} +2 -2
  234. package/dist/cdn/{WZRONVJZ.js → PM6O7L5R.js} +2 -2
  235. package/dist/cdn/{H6GH7IOT.js → PTQZY74A.js} +2 -2
  236. package/dist/cdn/{PV3NLPFG.js → PUNO3ZRE.js} +2 -2
  237. package/dist/cdn/{M4LYPHMX.js → PZUOQW65.js} +2 -2
  238. package/dist/cdn/{C2KR5VLL.js → Q5TMFJYL.js} +2 -2
  239. package/dist/cdn/{VU5ZSX7O.js → Q6GRQV7F.js} +2 -2
  240. package/dist/cdn/{KHXSICQE.js → QDU46YDG.js} +2 -2
  241. package/dist/cdn/{WL6IYRDK.js → QE524NY5.js} +2 -2
  242. package/dist/cdn/{3BSRG4G7.js → QILEQMMS.js} +2 -2
  243. package/dist/cdn/{J3NBJJ74.js → QQTMAIHU.js} +2 -2
  244. package/dist/cdn/{BAYOM6SI.js → QSFHVCKD.js} +2 -2
  245. package/dist/cdn/{ISXJUGGA.js → QTOGZ2CL.js} +2 -2
  246. package/dist/cdn/{Z4WEZVOA.js → QUKQQQ7K.js} +2 -2
  247. package/dist/cdn/{E4Y6GVNV.js → QVZDADE3.js} +2 -2
  248. package/dist/cdn/{ATOYGIHH.js → R7CYNG5X.js} +2 -2
  249. package/dist/cdn/{JLK6R26T.js → RADSBE62.js} +2 -2
  250. package/dist/cdn/{BQ6S5XKL.js → RDDYOMCN.js} +2 -2
  251. package/dist/cdn/{USJR4B76.js → RFK5AGMO.js} +2 -2
  252. package/dist/cdn/{RX4UKFIW.js → RHLR4IDW.js} +2 -2
  253. package/dist/cdn/{5563BFJZ.js → RJ64L52P.js} +2 -2
  254. package/dist/cdn/{FQYW2U4R.js → RJTVFN3B.js} +2 -2
  255. package/dist/cdn/{YTO75MV2.js → RPDJFQXX.js} +2 -2
  256. package/dist/cdn/{36R7NQXN.js → RTBKP4A6.js} +2 -2
  257. package/dist/cdn/{TPVOMX5N.js → RUSZFHNB.js} +2 -2
  258. package/dist/cdn/{PX2QGVS3.js → RXT63ZVW.js} +2 -2
  259. package/dist/cdn/{ZAET6YPI.js → RZRLXGIZ.js} +2 -2
  260. package/dist/cdn/{W5IBV76O.js → S5CUTZFO.js} +2 -2
  261. package/dist/cdn/{CLKCQTML.js → S7ZR3IKK.js} +2 -2
  262. package/dist/cdn/{GZTZVBO5.js → S7ZRMS3P.js} +2 -2
  263. package/dist/cdn/{7FTAFCJ2.js → SDTC6DZR.js} +2 -2
  264. package/dist/cdn/{UBSZGRAH.js → SKVAW47E.js} +2 -2
  265. package/dist/cdn/{PD35GUHM.js → SQJX4IDC.js} +1 -1
  266. package/dist/cdn/{2OP7BHUA.js → SRIRH7HW.js} +2 -2
  267. package/dist/cdn/SRTUXER3.js +4 -0
  268. package/dist/cdn/{D3E4SX3O.js → STSYLSP5.js} +2 -2
  269. package/dist/cdn/{I7ESEAUO.js → SVXNPPUG.js} +2 -2
  270. package/dist/cdn/{VMQ6BQAB.js → SW6REB2R.js} +2 -2
  271. package/dist/cdn/{GH7EGFT6.js → T4E75VPE.js} +2 -2
  272. package/dist/cdn/{L45RDDBK.js → T4XGUHW3.js} +2 -2
  273. package/dist/cdn/{J7RAPNOH.js → TARXG2G3.js} +1 -1
  274. package/dist/cdn/{KXYU5IR5.js → TLBUKTGM.js} +2 -2
  275. package/dist/cdn/{SUXFN2X6.js → TLZBEG5G.js} +1 -1
  276. package/dist/cdn/{FFZUA5X4.js → TPLJ65DL.js} +2 -2
  277. package/dist/cdn/{2FHCNAX7.js → TR373UVO.js} +2 -2
  278. package/dist/cdn/{PBM57FIT.js → TU6T4NQX.js} +2 -2
  279. package/dist/cdn/{WFP5XXEK.js → TUGKUONI.js} +2 -2
  280. package/dist/cdn/{UGWV4TWD.js → TYQLWXO6.js} +2 -2
  281. package/dist/cdn/{WWEDQX52.js → U24WW4BS.js} +2 -2
  282. package/dist/cdn/{ZBPUYD75.js → U4FF4CEF.js} +2 -2
  283. package/dist/cdn/{JWYZYDY4.js → U7LKHUDI.js} +2 -2
  284. package/dist/cdn/{WYRAGGNP.js → UANGQ5QW.js} +2 -2
  285. package/dist/cdn/{HCP2V3UU.js → UB7VURF2.js} +2 -2
  286. package/dist/cdn/{QRZTW7BU.js → UIBXTQRR.js} +2 -2
  287. package/dist/cdn/{UYF2NNBB.js → UO4VQPUG.js} +2 -2
  288. package/dist/cdn/{HT645HS7.js → UPJEZJAZ.js} +2 -2
  289. package/dist/cdn/{OROYLFVP.js → UUGWTIDQ.js} +1 -1
  290. package/dist/cdn/{QZDH24N7.js → UW4X563Y.js} +1 -1
  291. package/dist/cdn/{G2LCRPWW.js → UXBWQYND.js} +1 -1
  292. package/dist/cdn/{TXTXSTLS.js → V3BBWVG5.js} +2 -2
  293. package/dist/cdn/{65OMZCAP.js → VAQLOAWW.js} +1 -1
  294. package/dist/cdn/{2VMWXHN3.js → VCUD4JHE.js} +2 -2
  295. package/dist/cdn/{65PMMLC3.js → VGVM223G.js} +2 -2
  296. package/dist/cdn/{5DH5RGM3.js → VIKYT3XG.js} +2 -2
  297. package/dist/cdn/{RY3PLDSP.js → VLCWJKLV.js} +2 -2
  298. package/dist/cdn/{3RHWJV4W.js → VOATPJHA.js} +2 -2
  299. package/dist/cdn/{XKVPLHFY.js → VPXFPS3M.js} +2 -2
  300. package/dist/cdn/{XBUOOEYY.js → VUGG5CTL.js} +2 -2
  301. package/dist/cdn/{N6QDTGLW.js → VVB3WXKV.js} +2 -2
  302. package/dist/cdn/{ARN35KP2.js → VXJNB6U5.js} +2 -2
  303. package/dist/cdn/{ER3ZLRLV.js → WAHWN7QO.js} +2 -2
  304. package/dist/cdn/{KGL2ZJHJ.js → WHD75PTG.js} +2 -2
  305. package/dist/cdn/{HZE3LXEE.js → X2G5ALVR.js} +2 -2
  306. package/dist/cdn/{5WADHR5N.js → X3272AXW.js} +2 -2
  307. package/dist/cdn/{QWIT76LO.js → X37LIRVD.js} +2 -2
  308. package/dist/cdn/{MXWYSH3O.js → X6EZS2VU.js} +2 -2
  309. package/dist/cdn/{WE65DJBN.js → X6LRYEZC.js} +2 -2
  310. package/dist/cdn/{2OPQXTH4.js → XF5MIU33.js} +2 -2
  311. package/dist/cdn/{ZT2CE7NP.js → XH2NX7KZ.js} +2 -2
  312. package/dist/cdn/{MKCIYBPT.js → XH7WIKBN.js} +2 -2
  313. package/dist/cdn/XI2FJNGJ.js +4 -0
  314. package/dist/cdn/{LFBG4JZ7.js → XQ4T5WWD.js} +2 -2
  315. package/dist/cdn/{UH4UKCGX.js → XQUDYEM3.js} +2 -2
  316. package/dist/cdn/{K5JXAIFM.js → XSAMV2C5.js} +2 -2
  317. package/dist/cdn/XWPHFCEU.js +4 -0
  318. package/dist/cdn/{KYNEIKUT.js → Y36WTBQ2.js} +2 -2
  319. package/dist/cdn/{OPLNE5ST.js → YAMMDH44.js} +1 -1
  320. package/dist/cdn/{2T54TXDG.js → YCGQXJCQ.js} +2 -2
  321. package/dist/cdn/{JGLVXEV4.js → YEZQSY55.js} +2 -2
  322. package/dist/cdn/{R5RRAWEB.js → YGSHBWQQ.js} +2 -2
  323. package/dist/cdn/{N3JGY53P.js → YGVHRGDE.js} +1 -1
  324. package/dist/cdn/{KFCB3T26.js → YHHQICGW.js} +2 -2
  325. package/dist/cdn/{MTIRZAK6.js → YON3WQMW.js} +2 -2
  326. package/dist/cdn/{AFYTT5PZ.js → YUZD5FSI.js} +2 -2
  327. package/dist/cdn/{IWGOA46T.js → YZUGDKFL.js} +1 -1
  328. package/dist/cdn/{SHNBY54H.js → Z6VUUTFW.js} +2 -2
  329. package/dist/cdn/{V64TTKSX.js → ZBRHGNON.js} +2 -2
  330. package/dist/cdn/{BTSXOO2M.js → ZCPVFB74.js} +2 -2
  331. package/dist/cdn/{WR74D3JQ.js → ZHJ2SPT5.js} +2 -2
  332. package/dist/cdn/{YEX5UXGV.js → ZIDC6QXU.js} +4 -4
  333. package/dist/cdn/{CEGWELML.js → ZMEUYIGZ.js} +2 -2
  334. package/dist/cdn/{NRQ6MMGP.js → ZOOK2ITZ.js} +2 -2
  335. package/dist/cdn/{NYXX2G4A.js → ZPGRZDQS.js} +2 -2
  336. package/dist/cdn/{73DDXQ7N.js → ZPHVNNKP.js} +2 -2
  337. package/dist/cdn/{KMYGQXSV.js → ZQNYWHFW.js} +2 -2
  338. package/dist/cdn/{2L7PQ47G.js → ZVSWUILV.js} +2 -2
  339. package/dist/cdn/{X6NND7S3.js → ZWM4JUL6.js} +1 -1
  340. package/dist/cdn/{P3JXP6RB.js → ZZYTWJGQ.js} +2 -2
  341. package/dist/cdn/index.js +2 -2
  342. package/dist/chunks/Auth.js +1 -1
  343. package/dist/chunks/CardsFetcher.js +1 -1
  344. package/dist/chunks/appConfig.js +1 -1
  345. package/dist/chunks/cardFetchingUtils.js +1 -1
  346. package/dist/chunks/cardsHelpers.js +1 -1
  347. package/dist/chunks/common.js +1 -1
  348. package/dist/chunks/deployAppContexts.js +1 -1
  349. package/dist/chunks/downloadUtils.js +1 -1
  350. package/dist/chunks/getItemIcon.js +1 -1
  351. package/dist/chunks/helpers.js +1 -1
  352. package/dist/chunks/interfaces.js +1 -1
  353. package/dist/chunks/loadModules.js +1 -1
  354. package/dist/chunks/mapViewUtils.js +1 -1
  355. package/dist/chunks/pciUtils.js +1 -1
  356. package/dist/chunks/popupUtils.js +1 -1
  357. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  358. package/dist/chunks/privilegeUtils.js +1 -1
  359. package/dist/chunks/publicNotificationContext.js +1 -1
  360. package/dist/chunks/queryUtils.js +1 -1
  361. package/dist/chunks/runtime.js +1 -1
  362. package/dist/chunks/solution-store.js +1 -1
  363. package/dist/chunks/templates.js +1 -1
  364. package/dist/chunks/useT9n.js +1 -1
  365. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  366. package/dist/components/basemap-gallery/customElement.js +1 -1
  367. package/dist/components/buffer-tools/customElement.js +1 -1
  368. package/dist/components/card-manager/customElement.js +1 -1
  369. package/dist/components/consent-manager/customElement.js +1 -1
  370. package/dist/components/create-feature/customElement.js +1 -1
  371. package/dist/components/create-related-feature/customElement.js +1 -1
  372. package/dist/components/crowdsource-manager/customElement.js +1 -1
  373. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  374. package/dist/components/deduct-calculator/customElement.js +1 -1
  375. package/dist/components/delete-button/customElement.js +1 -1
  376. package/dist/components/delete-dialog/customElement.js +1 -1
  377. package/dist/components/edit-card/customElement.js +1 -1
  378. package/dist/components/feature-details/customElement.js +1 -1
  379. package/dist/components/feature-list/customElement.js +1 -1
  380. package/dist/components/field-selection/customElement.js +56 -38
  381. package/dist/components/floor-filter/customElement.js +1 -1
  382. package/dist/components/info-card/customElement.js +1 -1
  383. package/dist/components/json-editor/customElement.js +1 -1
  384. package/dist/components/layer-list/customElement.js +1 -1
  385. package/dist/components/layer-table/customElement.js +1 -1
  386. package/dist/components/map-card/customElement.js +1 -1
  387. package/dist/components/map-draw-tools/customElement.js +1 -1
  388. package/dist/components/map-fullscreen/customElement.js +1 -1
  389. package/dist/components/map-layer-picker/customElement.js +1 -1
  390. package/dist/components/map-legend/customElement.js +1 -1
  391. package/dist/components/map-picker/customElement.js +1 -1
  392. package/dist/components/map-search/customElement.js +1 -1
  393. package/dist/components/map-select-tools/customElement.js +1 -1
  394. package/dist/components/map-tools/customElement.js +1 -1
  395. package/dist/components/pci-calculator/customElement.js +1 -1
  396. package/dist/components/pdf-download/customElement.js +1 -1
  397. package/dist/components/public-notification/customElement.js +1 -1
  398. package/dist/components/refine-selection/customElement.js +1 -1
  399. package/dist/components/selection-tool/customElement.js +1 -1
  400. package/dist/components/solution-article-card/customElement.js +1 -1
  401. package/dist/components/solution-configuration/customElement.js +1 -1
  402. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  403. package/dist/components/solution-configure-titles/customElement.js +1 -1
  404. package/dist/components/solution-contents/customElement.js +1 -1
  405. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  406. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  407. package/dist/components/solution-deployed-card/customElement.js +1 -1
  408. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  409. package/dist/components/solution-details-card/customElement.js +1 -1
  410. package/dist/components/solution-details-panel/customElement.js +1 -1
  411. package/dist/components/solution-item/customElement.js +1 -1
  412. package/dist/components/solution-item-accordion/customElement.js +1 -1
  413. package/dist/components/solution-item-details/customElement.js +1 -1
  414. package/dist/components/solution-item-diagram/customElement.js +1 -1
  415. package/dist/components/solution-item-icon/customElement.js +1 -1
  416. package/dist/components/solution-item-sharing/customElement.js +1 -1
  417. package/dist/components/solution-organization-variables/customElement.js +1 -1
  418. package/dist/components/solution-resource-item/customElement.js +1 -1
  419. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  420. package/dist/components/solution-social-share/customElement.js +1 -1
  421. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  422. package/dist/components/solution-template-data/customElement.js +1 -1
  423. package/dist/components/solution-variables/customElement.js +1 -1
  424. package/dist/components/solutions-all-panel/customElement.js +1 -1
  425. package/dist/components/solutions-all-shell/customElement.d.ts +2 -0
  426. package/dist/components/solutions-all-shell/customElement.js +10 -10
  427. package/dist/components/solutions-article-panel/customElement.js +1 -1
  428. package/dist/components/solutions-articles/customElement.js +1 -1
  429. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  430. package/dist/components/solutions-deploy-app/customElement.js +1 -1
  431. package/dist/components/solutions-deployed-filter-panel/customElement.js +26 -22
  432. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  433. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  434. package/dist/components/solutions-filter-panel/customElement.js +31 -27
  435. package/dist/components/spatial-ref/customElement.js +1 -1
  436. package/dist/components/store-manager/customElement.js +1 -1
  437. package/dist/docs/api.json +35 -2
  438. package/dist/docs/docs.json +16 -2
  439. package/dist/docs/vscode.html-custom-data.json +1 -1
  440. package/dist/docs/web-types.json +12 -2
  441. package/dist/index.d.ts +1 -0
  442. package/dist/index.js +1 -1
  443. package/dist/loader.js +1 -1
  444. package/dist/types/lumina.d.ts +1 -0
  445. package/dist/types/preact.d.ts +1 -0
  446. package/dist/types/preact10.d.ts +1 -0
  447. package/dist/types/react.d.ts +1 -0
  448. package/dist/types/stencil.d.ts +1 -0
  449. package/package.json +1 -1
  450. package/dist/cdn/2WZRC5GT.js +0 -18
  451. package/dist/cdn/4EWRLUR4.js +0 -4
  452. package/dist/cdn/74FAOYDJ.js +0 -4
  453. package/dist/cdn/7QAOC7IR.js +0 -4
  454. package/dist/cdn/BOFE4H2M.js +0 -18
  455. package/dist/cdn/FCD4WDE3.js +0 -20
  456. package/dist/cdn/HMIBT73Y.js +0 -4
  457. package/dist/cdn/LO2XE6HZ.js +0 -18
  458. package/dist/cdn/M24WWAVV.js +0 -4
  459. package/dist/cdn/MN6AFYEX.js +0 -6
  460. package/dist/cdn/NS5LEAZO.js +0 -18
  461. package/dist/cdn/NSFPTAFA.js +0 -4
  462. package/dist/cdn/RWOR2UOA.js +0 -4
  463. package/dist/cdn/XSWOWJXM.js +0 -4
  464. package/dist/cdn/ZNJ7ME6U.js +0 -4
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250929 */
4
+ import{a as O}from"./TLZBEG5G.js";import{e as _}from"./JAKWCZDV.js";import{a as l,f as p}from"./56PLYLTG.js";import"./JM774LDL.js";import"./BPH6LIDW.js";function C(e,a){let i=[];return O(e,(t,o)=>(o.split(".").pop()===a&&i.push(t),t)),i.filter(p)}function E(e){return C(e,"scope").map(a=>a.split("/")[2]).filter(p)}function h(e,a){let i=l(e);return i.required&&(i.required=[...i.required].filter(t=>a.includes(t))),i.properties&&Object.keys(i.properties).forEach(t=>{a.indexOf(t)===-1&&delete i.properties[t]}),i.allOf&&(i.allOf=i.allOf.map(t=>h(t,a))),i.if&&(i.if=h(i.if,a)),i.then&&(i.then=h(i.then,a)),i.else&&(i.else=h(i.else,a)),i}function w(e,a){let i=E(a);return e=h(e,i),e}function q(e){return e&&e.split(":")[2]}async function G(e,a,i,t){let o=q(a),r,u,s,m,d;switch(o){case"stat":s=import("./5ZIKXR65.js"),m={"hub:card:stat":()=>import("./LLF2VZZP.js")}[a],await Promise.all([s,m()]).then(async([f,c])=>{let{MetricSchema:n}=f;r=l(n),u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(d=c.buildDefaults(e,i,t))});break;case"follow":s=import("./LNRXYPBA.js"),m={"hub:card:follow":()=>import("./VIKYT3XG.js")}[a],await Promise.all([s,m()]).then(([f,c])=>{let{FollowSchema:n}=f;r=l(n),u=c.buildUiSchema(e,i,t)});break;case"eventGallery":s=import("./J4UR4IEB.js"),m=import("./DNDRIKNE.js");let[{EventGalleryCardSchema:g},{buildUiSchema:b}]=await Promise.all([s,m]);r=l(g),u=await b(e,i,t);break}return r=w(r,u),Promise.resolve({schema:r,uiSchema:u})}var V=(e,a)=>{var i;let t=l((i=e.properties)===null||i===void 0?void 0:i._slug);if(!t)return e;let{orgUrlKey:o}=a;o||(o=""),t.maxLength=_(o);let r=l(e.allOf)||[],{pattern:u}=t;delete t.pattern;let{id:s}=a;r.push({if:{properties:{_slug:{minLength:1}}},then:{properties:{_slug:{pattern:u}}}},{if:{properties:{_slug:{pattern:u}}},then:{properties:{_slug:{isUniqueSlug:{id:s,orgUrlKey:o}}}}});let m=l(e);return m.properties._slug=t,m.allOf=r,m};async function L(e,a,i,t){let o=a.split(":")[1],r,u,s;switch(o){case"site":let{getSiteSchema:m}=await import("./3UCGTKJ4.js");r=m(i.id);let d=await{"hub:site:edit":()=>import("./TUGKUONI.js"),"hub:site:create":()=>import("./RJTVFN3B.js"),"hub:site:followers":()=>import("./SVXNPPUG.js"),"hub:site:discussions":()=>import("./7NDNYP4D.js"),"hub:site:settings":()=>import("./NAOBJ6XT.js")}[a]();u=await d.buildUiSchema(e,i,t),d.buildDefaults&&(s=await d.buildDefaults(e,i,t));break;case"discussion":let{DiscussionSchema:g}=await import("./3GQZZ2T4.js");r=l(g);let b=await{"hub:discussion:edit":()=>import("./VUGG5CTL.js"),"hub:discussion:create":()=>import("./MT3BB6IR.js"),"hub:discussion:settings":()=>import("./MQHPLV6A.js"),"hub:discussion:settings:discussions":()=>import("./2TBPCLX2.js")}[a]();u=await b.buildUiSchema(e,i,t),b.buildDefaults&&(s=await b.buildDefaults(e,i,t));break;case"channel":let{ChannelSchema:f}=await import("./XI2FJNGJ.js");r=l(f);let c=await{"hub:channel:edit":()=>import("./VGVM223G.js"),"hub:channel:create":()=>import("./ETPILCOO.js")}[a]();u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(s=await c.buildDefaults(e,i,t));break;case"project":let{ProjectSchema:n}=await import("./FZPWGYOJ.js");r=l(n);let v=await{"hub:project:edit":()=>import("./CETJTR76.js"),"hub:project:create":()=>import("./IDIQ5XBF.js"),"hub:project:create2":()=>import("./HMBDJVKI.js"),"hub:project:metrics":()=>import("./TYQLWXO6.js"),"hub:project:settings":()=>import("./CPEY5UC6.js")}[a]();u=await v.buildUiSchema(e,i,t),v.buildDefaults&&(s=await v.buildDefaults(e,i,t));break;case"initiative":let{InitiativeSchema:F}=await import("./7NYQUWO2.js");r=l(F);let S=await{"hub:initiative:edit":()=>import("./GS2S3LFA.js"),"hub:initiative:create":()=>import("./RXT63ZVW.js"),"hub:initiative:create2":()=>import("./AR57IHDV.js"),"hub:initiative:metrics":()=>import("./J6VEINMJ.js"),"hub:initiative:associations":()=>import("./OXPUSNOS.js"),"hub:initiative:settings":()=>import("./XF5MIU33.js")}[a]();u=await S.buildUiSchema(e,i,t),S.buildDefaults&&(s=await S.buildDefaults(e,i,t));break;case"page":let{PageSchema:I}=await import("./SW6REB2R.js");r=l(I);let D=await{"hub:page:edit":()=>import("./J4ZFHG7L.js"),"hub:page:create":()=>import("./AYAD3JW6.js")}[a]();u=await D.buildUiSchema(e,i,t),D.buildDefaults&&(s=await D.buildDefaults(e,i,t));break;case"content":let{ContentSchema:K}=await import("./K2AHBDTE.js");r=l(K);let U=await{"hub:content:edit":()=>import("./PBFSJAOV.js"),"hub:content:discussions":()=>import("./LWRZQXP4.js"),"hub:content:settings":()=>import("./SRIRH7HW.js")}[a]();u=await U.buildUiSchema(e,i,t),U.buildDefaults&&(s=await U.buildDefaults(e,i,t));break;case"template":let{TemplateSchema:y}=await import("./72MIKPT4.js");r=l(y);let k=await{"hub:template:edit":()=>import("./KTK2DEAS.js")}[a]();u=await k.buildUiSchema(e,i,t),k.buildDefaults&&(s=await k.buildDefaults(e,i,t));break;case"group":let{GroupSchema:z}=await import("./XWPHFCEU.js");r=l(z);let M=await{"hub:group:create:followers":()=>import("./34GB7X6T.js"),"hub:group:create:association":()=>import("./2IPKS5GU.js"),"hub:group:create:view":()=>import("./GN75DDPE.js"),"hub:group:create:edit":()=>import("./35EHOEO5.js"),"hub:group:create":()=>import("./XH2NX7KZ.js"),"hub:group:edit":()=>import("./X6LRYEZC.js"),"hub:group:settings":()=>import("./MCCAWA7W.js"),"hub:group:discussions":()=>import("./5FBUJNM2.js")}[a]();u=await M.buildUiSchema(e,i,t),M.buildDefaults&&(s=await M.buildDefaults(e,i,t));break;case"survey":let{SurveySchema:A}=await import("./TLBUKTGM.js");r=l(A),u=await(await{"hub:survey:edit":()=>import("./ZPHVNNKP.js"),"hub:survey:settings":()=>import("./X3272AXW.js")}[a]()).buildUiSchema(e,i,t);break;case"event":let B=await{"hub:event:create":()=>import("./CHTX2SND.js"),"hub:event:edit":()=>import("./Q5TMFJYL.js"),"hub:event:registrants":()=>import("./J5RUGAEN.js")}[a](),H=await{"hub:event:create":()=>import("./TPLJ65DL.js"),"hub:event:edit":()=>import("./UPJEZJAZ.js"),"hub:event:registrants":()=>import("./APCW5ZPG.js")}[a]();r=B.buildSchema(),u=await H.buildUiSchema(e,i,t);break;case"initiativeTemplate":let{InitiativeTemplateSchema:J}=await import("./MMTPLDJR.js");r=l(J);let j=await{"hub:initiativeTemplate:edit":()=>import("./YON3WQMW.js")}[a]();u=await j.buildUiSchema(e,i,t),j.buildDefaults&&(s=await j.buildDefaults(e,i,t));break;case"user":let{UserSchema:N}=await import("./K322J7FK.js");r=l(N);let P=await{"hub:user:settings":()=>import("./P4JIPMS7.js")}[a]();u=await P.buildUiSchema(e,i,t),P.buildDefaults&&(s=await P.buildDefaults(e,i,t));break;case"card":let T=await G(e,a,i,t);r=T.schema,u=T.uiSchema,s=T.defaults}return r=w(r,u),r=V(r,i),Promise.resolve({schema:r,uiSchema:u,defaults:s})}async function gi(e,a,i,t){return L(e,a,i,t)}export{gi as getEditorConfig};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
4
- import{a as o}from"./EJ4R77EB.js";function r(n,t){let e;t.authentication&&(e=t.authentication.token);let a=t.authentication?`?token=${e}`:"";return n&&o(`${n}${a}`)}export{r as a};
3
+ v1.1.0-next.20250929 */
4
+ import{a as o}from"./H3RYTY2M.js";function r(n,t){let e;t.authentication&&(e=t.authentication.token);let a=t.authentication?`?token=${e}`:"";return n&&o(`${n}${a}`)}export{r as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
4
- import"./FEHKEJZD.js";var o=async(e,l,s)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.followers.groupAccess.label`,scope:"/properties/_followers/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.followers.groupAccess.helperText`},labels:[`{{${e}.fields.followers.groupAccess.private.label:translate}}`,`{{${e}.fields.followers.groupAccess.org.label:translate}}`,`{{${e}.fields.followers.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.followers.groupAccess.private.description:translate}}`,`{{${e}.fields.followers.groupAccess.org.description:translate}}`,`{{${e}.fields.followers.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.followers.showFollowAction.label`,scope:"/properties/_followers/properties/showFollowAction",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.followers.showFollowAction.helperText`}}},{labelKey:`${e}.fields.followers.discussable.label`,scope:"/properties/_followers/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.followers.discussable.enabled.label:translate}}`,`{{${e}.fields.followers.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.followers.discussable.enabled.description:translate}}`,`{{${e}.fields.followers.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{o as buildUiSchema};
3
+ v1.1.0-next.20250929 */
4
+ import"./BPH6LIDW.js";var o=async(e,l,s)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.followers.groupAccess.label`,scope:"/properties/_followers/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.followers.groupAccess.helperText`},labels:[`{{${e}.fields.followers.groupAccess.private.label:translate}}`,`{{${e}.fields.followers.groupAccess.org.label:translate}}`,`{{${e}.fields.followers.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.followers.groupAccess.private.description:translate}}`,`{{${e}.fields.followers.groupAccess.org.description:translate}}`,`{{${e}.fields.followers.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.followers.showFollowAction.label`,scope:"/properties/_followers/properties/showFollowAction",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.followers.showFollowAction.helperText`}}},{labelKey:`${e}.fields.followers.discussable.label`,scope:"/properties/_followers/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.followers.discussable.enabled.label:translate}}`,`{{${e}.fields.followers.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.followers.discussable.enabled.description:translate}}`,`{{${e}.fields.followers.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{o as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
4
- import{a,b}from"./RY3PLDSP.js";import"./HCP2V3UU.js";import"./VKN5M2H2.js";import"./Q3BLS33D.js";import"./FEHKEJZD.js";export{a as PageEditorTypes,b as PageSchema};
3
+ v1.1.0-next.20250929 */
4
+ import{a,b}from"./VLCWJKLV.js";import"./UB7VURF2.js";import"./7ILIX3P2.js";import"./5ZTHDTLW.js";import"./BPH6LIDW.js";export{a as PageEditorTypes,b as PageSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
4
- import{a as _}from"./EF5JL2VQ.js";import{a as m}from"./RUD5AGHP.js";import{b as p}from"./NKZ3BLZ2.js";import"./BT7CLLDK.js";import"./SKJFZS7G.js";import{C as h,D as b,E as d,h as o,i as c}from"./OLVFU265.js";import"./FEHKEJZD.js";export default $arcgis.t(([g,D,{watch:w},a,B,x])=>{var v=o`:host{--label-padding-inline: 12px;--calcite-action-bar-items-space: 8px}calcite-label span,.checkbox-wrapper{padding-inline:var(--label-padding-inline)}`,n={style:"solid",color:[100,100,100,.5],outline:{color:[255,255,255,255],width:.75}};function M(f,e){return new x({geometry:f,symbol:e})}async function C({graphic:f,distance:e,unit:t,isGeodesic:r}){r&&!a.isLoaded()&&await a.load();let i=r?a:B;try{let s={unit:t},l=i.execute(f.geometry,e,s);if(!l)throw new Error("buffer failed");return l}catch(s){console.error(String(s))}}var y=["meters","kilometers","miles","yards","feet","us-feet"],u=class extends d{constructor(){super(),this._bufferDistance=1,this._bufferMinDistance=.1,this._bufferMaxDistance=1e6,this._bufferInputStep=1,this._bufferUnit="miles",this._messages=m({name:"instant-apps-buffer",blocking:!0}),this._readyToBuffer=!1,this._firstFocusableElement=h(),this.geodesicBufferEnabled=!1,this.disabled=!1,this.bufferColor=n.color,this.bufferStyle=n.style,this.bufferOutlineColor=n.outline.color,this.bufferOutlineWidth=n.outline.width,this.bufferLayer=new g}static{this.properties={bufferLayer:0,inputGraphics:0,view:0,bufferUnit:3,bufferInputStep:11,bufferDistance:11,bufferMinDistance:11,bufferMaxDistance:11,geodesicBufferEnabled:7,disabled:7,readyToBuffer:32,bufferColor:1,bufferStyle:1,bufferOutlineColor:1,bufferOutlineWidth:9,bufferGraphicSymbol:32}}static{this.styles=v}get bufferUnit(){return this._bufferUnit}set bufferUnit(e){if(y.includes(e))this._bufferUnit=e;else throw Error("bufferDistance must be a valid length unit type")}get bufferInputStep(){return this._bufferInputStep}set bufferInputStep(e){this._validateBufferNumber(e,"bufferInputStep"),this._bufferInputStep=e}get bufferDistance(){return this._bufferDistance}set bufferDistance(e){if(this._validateBufferNumber(e,"bufferDistance"),e<this.bufferMinDistance)throw new Error("bufferDistance must be greater than bufferMinDistance");if(e>this.bufferMaxDistance)throw new Error("bufferDistance must be less than bufferMaxDistance");this._bufferDistance=e}get bufferMinDistance(){return this._bufferMinDistance}set bufferMinDistance(e){if(this._validateBufferNumber(e,"bufferMinDistance"),e>this.bufferMaxDistance)throw new Error("bufferMinDistance must be less than bufferMaxDistance");this._bufferMinDistance=e}get bufferMaxDistance(){return this._bufferMaxDistance}set bufferMaxDistance(e){if(this._validateBufferNumber(e,"bufferMaxDistance"),e<this.bufferMinDistance)throw new Error("bufferMaxDistance must be greater than bufferMinDistance");this._bufferMaxDistance=e}get readyToBuffer(){return this._readyToBuffer}get bufferGraphicSymbol(){let e=typeof this.bufferOutlineWidth=="number"&&this.bufferOutlineWidth>0,t=typeof this.bufferOutlineColor<"u"&&e;return new D({color:this.bufferColor,style:this.bufferStyle,outline:t?{color:this.bufferOutlineColor,width:this.bufferOutlineWidth}:null})}async clearBufferLayer(){this._clearBufferLayer()}async setFocus(){await this._firstFocusableElement.value?.setFocus()}async willUpdate(e){(e.has("view")||e.has("inputGraphics")||e.has("bufferLayer"))&&this._validateBufferCapability()}disconnectedCallback(){super.disconnectedCallback(),this._inputGraphicsWatchHandle?.remove()}_clearBufferLayer(){this.bufferLayer?.removeAll()}async _onCreateBufferClick(){this._readyToBuffer&&await this._bufferInputGraphics()}_onRemoveBufferClick(){this._clearBufferLayer()}_onBufferDistanceChange(e){let t=Number(e.target.value);t>=this.bufferMinDistance&&t<=this.bufferMaxDistance&&(this.bufferDistance=t)}_onBufferUnitChange(e){let t=e.target.value;this.bufferUnit=t}_onGeodesicBufferChange(e){let t=e.target.checked;this.geodesicBufferEnabled=t}_validateBufferNumber(e,t){if(typeof e!="number"||Number.isNaN(e))throw new Error(`${t} must be a valid number`);if(e<=0)throw new Error(`${t} must be > 0`)}_validateBufferCapability(){let e=!!this.view,t=!!this.inputGraphics,r=!!this.bufferLayer;e&&t&&r?(this._inputGraphicsWatchHandle?.remove(),this._inputGraphicsWatchHandle=w(()=>this.inputGraphics?.length,i=>{i&&i>0?this._readyToBuffer=!0:this._readyToBuffer=!1},{initial:!0})):(this._readyToBuffer=!1,this._inputGraphicsWatchHandle?.remove())}async _bufferInputGraphics(){if(!this.bufferLayer||!this.view||!this.inputGraphics)return;this.view.map?.layers.indexOf(this.bufferLayer)===-1?this.view.map.add(this.bufferLayer):this.bufferLayer.removeAll();let e=[];for(let i of this.inputGraphics){let s=C({graphic:i,distance:this.bufferDistance,unit:this.bufferUnit,isGeodesic:this.geodesicBufferEnabled});e.push(s)}let t=this.bufferGraphicSymbol,r=(await Promise.all(e)).filter(i=>!!i).map(i=>M(i,t));this.bufferLayer.addMany(r)}render(){return c`<calcite-action-bar expand-disabled expanded><calcite-action-group><calcite-action .text=${this._messages.labels.draw} icon=circle text-enabled .disabled=${this.disabled} @click=${this._onCreateBufferClick} ${b(this._firstFocusableElement)}></calcite-action><calcite-action .text=${this._messages.labels.remove} icon=trash text-enabled .disabled=${this.disabled} @click=${this._onRemoveBufferClick}></calcite-action></calcite-action-group><calcite-action-group><calcite-label><span>${this._messages.labels.distance}</span><calcite-input-number .value=${`${this.bufferDistance}`} .step=${this.bufferInputStep} .min=${this.bufferMinDistance} .max=${this.bufferMaxDistance} .disabled=${this.disabled} @calciteInputNumberChange=${this._onBufferDistanceChange}></calcite-input-number></calcite-label><calcite-label><span>${this._messages.labels.unit}</span><calcite-select .label=${this._messages.labels.unit} @calciteSelectChange=${this._onBufferUnitChange} .disabled=${this.disabled}>${_(y,e=>e,e=>c`<calcite-option .value=${e} .selected=${this.bufferUnit===e}>${this._messages.units[e]}</calcite-option>`)}</calcite-select></calcite-label><div class="checkbox-wrapper"><calcite-label layout=inline><calcite-checkbox .checked=${this.geodesicBufferEnabled} .disabled=${this.disabled} @calciteCheckboxChange=${this._onGeodesicBufferChange}></calcite-checkbox>${this._messages.labels.toggleGeodesic}</calcite-label></div></calcite-action-group></calcite-action-bar>`}};p("instant-apps-buffer",u);return u},"layers/GraphicsLayer","symbols/SimpleFillSymbol","core/reactiveUtils","geometry/operators/geodesicBufferOperator","geometry/operators/bufferOperator","Graphic")
3
+ v1.1.0-next.20250929 */
4
+ import{a as _}from"./FI2LF4L2.js";import{a as m}from"./N4AYMWOT.js";import{b as p}from"./JQGMDBDF.js";import"./A5NNENXQ.js";import"./DRIHILRA.js";import{C as h,D as b,E as d,h as o,i as c}from"./LRXZR626.js";import"./BPH6LIDW.js";export default $arcgis.t(([g,D,{watch:w},a,B,x])=>{var v=o`:host{--label-padding-inline: 12px;--calcite-action-bar-items-space: 8px}calcite-label span,.checkbox-wrapper{padding-inline:var(--label-padding-inline)}`,n={style:"solid",color:[100,100,100,.5],outline:{color:[255,255,255,255],width:.75}};function M(f,e){return new x({geometry:f,symbol:e})}async function C({graphic:f,distance:e,unit:t,isGeodesic:r}){r&&!a.isLoaded()&&await a.load();let i=r?a:B;try{let s={unit:t},l=i.execute(f.geometry,e,s);if(!l)throw new Error("buffer failed");return l}catch(s){console.error(String(s))}}var y=["meters","kilometers","miles","yards","feet","us-feet"],u=class extends d{constructor(){super(),this._bufferDistance=1,this._bufferMinDistance=.1,this._bufferMaxDistance=1e6,this._bufferInputStep=1,this._bufferUnit="miles",this._messages=m({name:"instant-apps-buffer",blocking:!0}),this._readyToBuffer=!1,this._firstFocusableElement=h(),this.geodesicBufferEnabled=!1,this.disabled=!1,this.bufferColor=n.color,this.bufferStyle=n.style,this.bufferOutlineColor=n.outline.color,this.bufferOutlineWidth=n.outline.width,this.bufferLayer=new g}static{this.properties={bufferLayer:0,inputGraphics:0,view:0,bufferUnit:3,bufferInputStep:11,bufferDistance:11,bufferMinDistance:11,bufferMaxDistance:11,geodesicBufferEnabled:7,disabled:7,readyToBuffer:32,bufferColor:1,bufferStyle:1,bufferOutlineColor:1,bufferOutlineWidth:9,bufferGraphicSymbol:32}}static{this.styles=v}get bufferUnit(){return this._bufferUnit}set bufferUnit(e){if(y.includes(e))this._bufferUnit=e;else throw Error("bufferDistance must be a valid length unit type")}get bufferInputStep(){return this._bufferInputStep}set bufferInputStep(e){this._validateBufferNumber(e,"bufferInputStep"),this._bufferInputStep=e}get bufferDistance(){return this._bufferDistance}set bufferDistance(e){if(this._validateBufferNumber(e,"bufferDistance"),e<this.bufferMinDistance)throw new Error("bufferDistance must be greater than bufferMinDistance");if(e>this.bufferMaxDistance)throw new Error("bufferDistance must be less than bufferMaxDistance");this._bufferDistance=e}get bufferMinDistance(){return this._bufferMinDistance}set bufferMinDistance(e){if(this._validateBufferNumber(e,"bufferMinDistance"),e>this.bufferMaxDistance)throw new Error("bufferMinDistance must be less than bufferMaxDistance");this._bufferMinDistance=e}get bufferMaxDistance(){return this._bufferMaxDistance}set bufferMaxDistance(e){if(this._validateBufferNumber(e,"bufferMaxDistance"),e<this.bufferMinDistance)throw new Error("bufferMaxDistance must be greater than bufferMinDistance");this._bufferMaxDistance=e}get readyToBuffer(){return this._readyToBuffer}get bufferGraphicSymbol(){let e=typeof this.bufferOutlineWidth=="number"&&this.bufferOutlineWidth>0,t=typeof this.bufferOutlineColor<"u"&&e;return new D({color:this.bufferColor,style:this.bufferStyle,outline:t?{color:this.bufferOutlineColor,width:this.bufferOutlineWidth}:null})}async clearBufferLayer(){this._clearBufferLayer()}async setFocus(){await this._firstFocusableElement.value?.setFocus()}async willUpdate(e){(e.has("view")||e.has("inputGraphics")||e.has("bufferLayer"))&&this._validateBufferCapability()}disconnectedCallback(){super.disconnectedCallback(),this._inputGraphicsWatchHandle?.remove()}_clearBufferLayer(){this.bufferLayer?.removeAll()}async _onCreateBufferClick(){this._readyToBuffer&&await this._bufferInputGraphics()}_onRemoveBufferClick(){this._clearBufferLayer()}_onBufferDistanceChange(e){let t=Number(e.target.value);t>=this.bufferMinDistance&&t<=this.bufferMaxDistance&&(this.bufferDistance=t)}_onBufferUnitChange(e){let t=e.target.value;this.bufferUnit=t}_onGeodesicBufferChange(e){let t=e.target.checked;this.geodesicBufferEnabled=t}_validateBufferNumber(e,t){if(typeof e!="number"||Number.isNaN(e))throw new Error(`${t} must be a valid number`);if(e<=0)throw new Error(`${t} must be > 0`)}_validateBufferCapability(){let e=!!this.view,t=!!this.inputGraphics,r=!!this.bufferLayer;e&&t&&r?(this._inputGraphicsWatchHandle?.remove(),this._inputGraphicsWatchHandle=w(()=>this.inputGraphics?.length,i=>{i&&i>0?this._readyToBuffer=!0:this._readyToBuffer=!1},{initial:!0})):(this._readyToBuffer=!1,this._inputGraphicsWatchHandle?.remove())}async _bufferInputGraphics(){if(!this.bufferLayer||!this.view||!this.inputGraphics)return;this.view.map?.layers.indexOf(this.bufferLayer)===-1?this.view.map.add(this.bufferLayer):this.bufferLayer.removeAll();let e=[];for(let i of this.inputGraphics){let s=C({graphic:i,distance:this.bufferDistance,unit:this.bufferUnit,isGeodesic:this.geodesicBufferEnabled});e.push(s)}let t=this.bufferGraphicSymbol,r=(await Promise.all(e)).filter(i=>!!i).map(i=>M(i,t));this.bufferLayer.addMany(r)}render(){return c`<calcite-action-bar expand-disabled expanded><calcite-action-group><calcite-action .text=${this._messages.labels.draw} icon=circle text-enabled .disabled=${this.disabled} @click=${this._onCreateBufferClick} ${b(this._firstFocusableElement)}></calcite-action><calcite-action .text=${this._messages.labels.remove} icon=trash text-enabled .disabled=${this.disabled} @click=${this._onRemoveBufferClick}></calcite-action></calcite-action-group><calcite-action-group><calcite-label><span>${this._messages.labels.distance}</span><calcite-input-number .value=${`${this.bufferDistance}`} .step=${this.bufferInputStep} .min=${this.bufferMinDistance} .max=${this.bufferMaxDistance} .disabled=${this.disabled} @calciteInputNumberChange=${this._onBufferDistanceChange}></calcite-input-number></calcite-label><calcite-label><span>${this._messages.labels.unit}</span><calcite-select .label=${this._messages.labels.unit} @calciteSelectChange=${this._onBufferUnitChange} .disabled=${this.disabled}>${_(y,e=>e,e=>c`<calcite-option .value=${e} .selected=${this.bufferUnit===e}>${this._messages.units[e]}</calcite-option>`)}</calcite-select></calcite-label><div class="checkbox-wrapper"><calcite-label layout=inline><calcite-checkbox .checked=${this.geodesicBufferEnabled} .disabled=${this.disabled} @calciteCheckboxChange=${this._onGeodesicBufferChange}></calcite-checkbox>${this._messages.labels.toggleGeodesic}</calcite-label></div></calcite-action-group></calcite-action-bar>`}};p("instant-apps-buffer",u);return u},"layers/GraphicsLayer","symbols/SimpleFillSymbol","core/reactiveUtils","geometry/operators/geodesicBufferOperator","geometry/operators/bufferOperator","Graphic")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
4
- import"./FEHKEJZD.js";var e="U hebt niet genoeg credits om deze actie uit te voeren. Neem contact op met uw ArcGIS-systeembeheerder voor ondersteuning.",a="Deze tool is gepubliceerd vanaf een notebook. Toegang tot ArcGIS Notebooks is geblokkeerd voor uw organisatie. Neem contact op met uw beheerders om de instelling aan te passen.",t="${ dataPath } mag geen ${ additionalProperty } hebben.",r="${ dataPath } moet overeenkomen met het schema van een van deze: ${ schemaOptions }.",n="Probeer de kaart opnieuw op te slaan.",o="Kredietraming is mislukt. Scroll omlaag, corrigeer de fouten en voer een nieuwe kredietraming uit.",i="Er is een fout opgetreden bij het uitvoeren van de analyse.",s="${ dataPath } moet gelijk zijn aan een van deze toegelaten waarden: ${ allowedValues }.",l="Kan analysegeschiedenis niet opslaan",d="Het geschiedenisarchief is vol. Verwijder een paar items uit de analysegeschiedenis en probeer opnieuw op te slaan.",m="De naam van de service bevat een of meer ongeldige tekens.",g="Het opslaan van de tijdelijke laag als gehoste feature layer is niet voltooid.",u="Belangrijkste eigenschappen krijgen mislukt.",c="Kaartlaag laden mislukt.",h="Laag is niet beschikbaar",v="${ dataPath } mag niet meer dan ${ limit } items hebben.",p="Er is een fout opgetreden bij het opslaan van het model. Probeer opnieuw op te slaan.",k="${ dataPath } mag niet minder dan ${ limit } items hebben.",b="${ dataPath } mag niet korter zijn dan ${ limit } tekens.",E="Kan het modelitem niet laden. Controleer of het model bestaat en dat er toegangsmachtigingen zijn verleend.",f="Voltooien van verzoek is mislukt.",y="U bent niet gemachtigd voor het uitvoeren van deze tool. <calcite-link target='_blank' href='${ docLink }'>Meer informatie</calcite-link>",P="Kan niet inloggen bij portal.",S="Kan invoergegevens niet lezen.",w="${ dataPath } mist een eigenschap met de naam ${ missingProperty }.",$="Er bestaat al een resultaatlaag met deze naam. Resultaatlagen moeten uniek zijn binnen de organisatie. Gebruik een andere naam.",j="De uitvoernaam bevat een of meer ongeldige tekens. <a href='${docLink}' target='_blank'>Meer informatie.</a>",F="Het publiceren van de tijdelijke laag als een gehoste laag is mistlukt als gevolg van een of meer ongeldige velden. Voer de tool opnieuw uit om een laag met geldige velden te maken.",I="Taakindiening is mislukt. Scroll omlaag, corrigeer de fouten en voer de analyse opnieuw uit.",T="${ dataPath } moet minstens \xE9\xE9n non-whitespace teken hebben.",z={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:t,anyOfValues:r,cannotWriteToItemResource:n,creditEstimationError:o,defaultError:i,enumValues:s,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:g,keyPropertiesError:u,layerLoadFailure:c,layerUnavailable:h,maxItems:v,mbFailedToSave:p,minItems:k,minLength:b,modelNotFound:E,networkError:f,noPermissionToAccessTool:y,portalLoadError:P,queryFeaturesError:S,requiredProperty:w,serviceNameExistsError:$,specialCharactersInServiceNameError:j,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,t as additionalProperty,r as anyOfValues,n as cannotWriteToItemResource,o as creditEstimationError,z as default,i as defaultError,s as enumValues,l as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,g as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,c as layerLoadFailure,h as layerUnavailable,v as maxItems,p as mbFailedToSave,k as minItems,b as minLength,E as modelNotFound,f as networkError,y as noPermissionToAccessTool,P as portalLoadError,S as queryFeaturesError,w as requiredProperty,$ as serviceNameExistsError,j as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,T as whiteSpacePattern};
3
+ v1.1.0-next.20250929 */
4
+ import"./BPH6LIDW.js";var e="U hebt niet genoeg credits om deze actie uit te voeren. Neem contact op met uw ArcGIS-systeembeheerder voor ondersteuning.",a="Deze tool is gepubliceerd vanaf een notebook. Toegang tot ArcGIS Notebooks is geblokkeerd voor uw organisatie. Neem contact op met uw beheerders om de instelling aan te passen.",t="${ dataPath } mag geen ${ additionalProperty } hebben.",r="${ dataPath } moet overeenkomen met het schema van een van deze: ${ schemaOptions }.",n="Probeer de kaart opnieuw op te slaan.",o="Kredietraming is mislukt. Scroll omlaag, corrigeer de fouten en voer een nieuwe kredietraming uit.",i="Er is een fout opgetreden bij het uitvoeren van de analyse.",s="${ dataPath } moet gelijk zijn aan een van deze toegelaten waarden: ${ allowedValues }.",l="Kan analysegeschiedenis niet opslaan",d="Het geschiedenisarchief is vol. Verwijder een paar items uit de analysegeschiedenis en probeer opnieuw op te slaan.",m="De naam van de service bevat een of meer ongeldige tekens.",g="Het opslaan van de tijdelijke laag als gehoste feature layer is niet voltooid.",u="Belangrijkste eigenschappen krijgen mislukt.",c="Kaartlaag laden mislukt.",h="Laag is niet beschikbaar",v="${ dataPath } mag niet meer dan ${ limit } items hebben.",p="Er is een fout opgetreden bij het opslaan van het model. Probeer opnieuw op te slaan.",k="${ dataPath } mag niet minder dan ${ limit } items hebben.",b="${ dataPath } mag niet korter zijn dan ${ limit } tekens.",E="Kan het modelitem niet laden. Controleer of het model bestaat en dat er toegangsmachtigingen zijn verleend.",f="Voltooien van verzoek is mislukt.",y="U bent niet gemachtigd voor het uitvoeren van deze tool. <calcite-link target='_blank' href='${ docLink }'>Meer informatie</calcite-link>",P="Kan niet inloggen bij portal.",S="Kan invoergegevens niet lezen.",w="${ dataPath } mist een eigenschap met de naam ${ missingProperty }.",$="Er bestaat al een resultaatlaag met deze naam. Resultaatlagen moeten uniek zijn binnen de organisatie. Gebruik een andere naam.",j="De uitvoernaam bevat een of meer ongeldige tekens. <a href='${docLink}' target='_blank'>Meer informatie.</a>",F="Het publiceren van de tijdelijke laag als een gehoste laag is mistlukt als gevolg van een of meer ongeldige velden. Voer de tool opnieuw uit om een laag met geldige velden te maken.",I="Taakindiening is mislukt. Scroll omlaag, corrigeer de fouten en voer de analyse opnieuw uit.",T="${ dataPath } moet minstens \xE9\xE9n non-whitespace teken hebben.",z={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:t,anyOfValues:r,cannotWriteToItemResource:n,creditEstimationError:o,defaultError:i,enumValues:s,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:g,keyPropertiesError:u,layerLoadFailure:c,layerUnavailable:h,maxItems:v,mbFailedToSave:p,minItems:k,minLength:b,modelNotFound:E,networkError:f,noPermissionToAccessTool:y,portalLoadError:P,queryFeaturesError:S,requiredProperty:w,serviceNameExistsError:$,specialCharactersInServiceNameError:j,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,t as additionalProperty,r as anyOfValues,n as cannotWriteToItemResource,o as creditEstimationError,z as default,i as defaultError,s as enumValues,l as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,g as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,c as layerLoadFailure,h as layerUnavailable,v as maxItems,p as mbFailedToSave,k as minItems,b as minLength,E as modelNotFound,f as networkError,y as noPermissionToAccessTool,P as portalLoadError,S as queryFeaturesError,w as requiredProperty,$ as serviceNameExistsError,j as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,T as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
3
+ v1.1.0-next.20250929 */
4
4
  var t="cannotDiscuss";export{t as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
4
- import{a,b}from"./QRZTW7BU.js";import"./HCP2V3UU.js";import"./VKN5M2H2.js";import"./Q3BLS33D.js";import"./FEHKEJZD.js";export{a as SurveyEditorTypes,b as SurveySchema};
3
+ v1.1.0-next.20250929 */
4
+ import{a,b}from"./UIBXTQRR.js";import"./UB7VURF2.js";import"./7ILIX3P2.js";import"./5ZTHDTLW.js";import"./BPH6LIDW.js";export{a as SurveyEditorTypes,b as SurveySchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
3
+ v1.1.0-next.20250929 */
4
4
  function s(n,r){return Object.keys(n).reduce(function(i,t){return i[t]=r(n[t],t,n),i},{})}function o(n,r,e){if(e=e||"",Array.isArray(n))return n.map(u);return n&&c(n)&&!a(n)&&!x(n)&&!p(n)?Object.assign({},n,s(n,u)):r(n,e);function u(i,t){let f=""+(e?e+"."+t:t);return o(i,r,f)}}function l(n){return typeof n=="string"||n instanceof String}function a(n){return n instanceof Date}function p(n){return typeof n=="function"}function c(n){return typeof n=="object"}function x(n){return n instanceof RegExp}export{o as a,l as b,c,x as d};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
4
- import{a as t}from"./JLK6R26T.js";import"./ULQENDE6.js";import{a as r}from"./WXSOWA6A.js";import"./5FLGUC57.js";import"./GF4XCPBZ.js";import"./QZDH24N7.js";import"./QWIT76LO.js";import"./G2GWPSGO.js";import"./UBSZGRAH.js";import"./N5KQGDLL.js";import"./RY3PLDSP.js";import"./3BOYXWN3.js";import"./2VMWXHN3.js";import"./TXTXSTLS.js";import"./K7RLU4Y2.js";import"./QRZTW7BU.js";import"./AYZSOCD5.js";import"./YA54WNBU.js";import"./ZSMGY5JQ.js";import"./HCP2V3UU.js";import"./VKN5M2H2.js";import"./Q3BLS33D.js";import"./Q6TJGV2D.js";import"./FEHKEJZD.js";var n=async(e,l,o)=>{let i=r(new Date,l.timeZone);return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.date.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",min:i,messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.date.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.date.minDateError`}]}},{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}}]}};export{n as buildUiSchema};
3
+ v1.1.0-next.20250929 */
4
+ import{a as t}from"./RADSBE62.js";import"./63L2WCHI.js";import{a as r}from"./GYBZSSMY.js";import"./CHNGIHQX.js";import"./IY4ZLFQD.js";import"./UW4X563Y.js";import"./X37LIRVD.js";import"./CTSQQ2TC.js";import"./SKVAW47E.js";import"./EZPVMBWU.js";import"./VLCWJKLV.js";import"./OAQIBHT4.js";import"./VCUD4JHE.js";import"./V3BBWVG5.js";import"./J55EILL3.js";import"./UIBXTQRR.js";import"./KEHOH22C.js";import"./IXAD2DOF.js";import"./D4A24CYE.js";import"./UB7VURF2.js";import"./7ILIX3P2.js";import"./5ZTHDTLW.js";import"./3OMMISHV.js";import"./BPH6LIDW.js";var n=async(e,l,o)=>{let i=r(new Date,l.timeZone);return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.date.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",min:i,messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.date.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.date.minDateError`}]}},{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}}]}};export{n as buildUiSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
4
- import{b as c}from"./PD35GUHM.js";import{b as d}from"./LNJPYNGK.js";import{C as o,D as n,E as h,h as r,i as a,o as s}from"./OLVFU265.js";import"./FEHKEJZD.js";var m=r`/** @license
3
+ v1.1.0-next.20250929 */
4
+ import{b as c}from"./SQJX4IDC.js";import{b as d}from"./NUTU4XMM.js";import{C as o,D as n,E as h,h as r,i as a,o as s}from"./LRXZR626.js";import"./BPH6LIDW.js";var m=r`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
4
- import"./FEHKEJZD.js";var e="Du har ikke nok credits til \xE5 utf\xF8re denne operasjonen. Kontakt ArcGIS-systemadministratoren for \xE5 f\xE5 hjelp.",r="Dette verkt\xF8yet ble publisert fra en notisbok. Tilgang til ArcGIS Notebooks er blokkert for din organisasjon. Kontakt administratoren din for \xE5 justere innstillingen.",t="${ dataPath } kan ikke ha ${ additionalProperty }.",a="${ dataPath } m\xE5 samsvare med skjemaet for \xE9n av f\xF8lgende: ${ schemaOptions }.",n="Pr\xF8v \xE5 lagre kartet p\xE5 nytt.",i="Creditestimering mislyktes. Rull nedover, korriger feilene, og estimer creditene p\xE5 nytt.",l="Det oppstod en feil under kj\xF8ring av analysen.",o="${ dataPath } m\xE5 v\xE6re lik \xE9n av f\xF8lgende tillatte verdier: ${ allowedValues }.",s="Kunne ikke lagre analysehistorikken",d="Historikklageret er fullt. Fjern noen elementer fra analysehistorikken og pr\xF8ve \xE5 lagre p\xE5 nytt.",k="Tjenestenavnet inneholder ett eller flere ugyldige tegn.",g="Lagringen av det midlertidige laget som et hostet geoobjektlag ble ikke fullf\xF8rt.",m="Kan ikke hente n\xF8kkelegenskaper.",u="Kan ikke laste inn laget.",f="Laget er ikke tilgjengelig.",c="${ limit } kan ikke inneholde flere enn ${ dataPath } elementer.",p="Det oppstod en feil under lagring av modellen. Pr\xF8v \xE5 lagre p\xE5 nytt.",y="${ dataPath } kan ikke inneholde f\xE6rre enn ${ limit } elementer.",v="${ dataPath } m\xE5 ikke v\xE6re kortere enn ${ limit } tegn.",h="Kan ikke laste inn modellelementet. S\xF8rg for at modellen eksisterer og at tilgangstillatelser er gitt.",E="Kan ikke fullf\xF8re foresp\xF8rselen.",P="Du har ikke tilgang til \xE5 kj\xF8re dette verkt\xF8yet. <calcite-link target='_blank' href='${ docLink }'>Mer informasjon</calcite-link>",S="Kan ikke logge inn p\xE5 portalen.",b="Kan ikke lese inndata.",$="${ dataPath } mangler en egenskap ved navn ${ missingProperty }.",j="Det finnes allerede et resultatlag med dette navnet. Navn p\xE5 resultatlag m\xE5 v\xE6re unike innenfor organisasjonen. Bruk en annen tittel.",F="Utdatanavnet inneholder ett eller flere ugyldige tegn. <a href='${docLink}' target='_blank'>L\xE6r mer.</a>",I="Publiseringen av det midlertidige laget som et hostet lag mislyktes p\xE5 grunn av ett eller flere ugyldige felter. Kj\xF8r verkt\xF8yet p\xE5 nytt for \xE5 opprette et lag med gyldige felter.",T="Jobbinnsendingen mislyktes. Rull nedover, korriger feilene, og kj\xF8r analysen p\xE5 nytt.",L="${ dataPath } m\xE5 inneholde minst ett tegn som ikke er mellomrom.",K={InsufficientCreditsError:e,accessBlocked:r,additionalProperty:t,anyOfValues:a,cannotWriteToItemResource:n,creditEstimationError:i,defaultError:l,enumValues:o,failedToSaveHistory:s,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:k,hostedFeatureServicePublishDidNotComplete:g,keyPropertiesError:m,layerLoadFailure:u,layerUnavailable:f,maxItems:c,mbFailedToSave:p,minItems:y,minLength:v,modelNotFound:h,networkError:E,noPermissionToAccessTool:P,portalLoadError:S,queryFeaturesError:b,requiredProperty:$,serviceNameExistsError:j,specialCharactersInServiceNameError:F,temporaryLayerFieldsError:I,toolValidationError:T,whiteSpacePattern:L};export{e as InsufficientCreditsError,r as accessBlocked,t as additionalProperty,a as anyOfValues,n as cannotWriteToItemResource,i as creditEstimationError,K as default,l as defaultError,o as enumValues,s as failedToSaveHistory,d as fullSessionStorage,k as hostedFeatureServiceInvalidTitle,g as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,u as layerLoadFailure,f as layerUnavailable,c as maxItems,p as mbFailedToSave,y as minItems,v as minLength,h as modelNotFound,E as networkError,P as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,$ as requiredProperty,j as serviceNameExistsError,F as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,T as toolValidationError,L as whiteSpacePattern};
3
+ v1.1.0-next.20250929 */
4
+ import"./BPH6LIDW.js";var e="Du har ikke nok credits til \xE5 utf\xF8re denne operasjonen. Kontakt ArcGIS-systemadministratoren for \xE5 f\xE5 hjelp.",r="Dette verkt\xF8yet ble publisert fra en notisbok. Tilgang til ArcGIS Notebooks er blokkert for din organisasjon. Kontakt administratoren din for \xE5 justere innstillingen.",t="${ dataPath } kan ikke ha ${ additionalProperty }.",a="${ dataPath } m\xE5 samsvare med skjemaet for \xE9n av f\xF8lgende: ${ schemaOptions }.",n="Pr\xF8v \xE5 lagre kartet p\xE5 nytt.",i="Creditestimering mislyktes. Rull nedover, korriger feilene, og estimer creditene p\xE5 nytt.",l="Det oppstod en feil under kj\xF8ring av analysen.",o="${ dataPath } m\xE5 v\xE6re lik \xE9n av f\xF8lgende tillatte verdier: ${ allowedValues }.",s="Kunne ikke lagre analysehistorikken",d="Historikklageret er fullt. Fjern noen elementer fra analysehistorikken og pr\xF8ve \xE5 lagre p\xE5 nytt.",k="Tjenestenavnet inneholder ett eller flere ugyldige tegn.",g="Lagringen av det midlertidige laget som et hostet geoobjektlag ble ikke fullf\xF8rt.",m="Kan ikke hente n\xF8kkelegenskaper.",u="Kan ikke laste inn laget.",f="Laget er ikke tilgjengelig.",c="${ limit } kan ikke inneholde flere enn ${ dataPath } elementer.",p="Det oppstod en feil under lagring av modellen. Pr\xF8v \xE5 lagre p\xE5 nytt.",y="${ dataPath } kan ikke inneholde f\xE6rre enn ${ limit } elementer.",v="${ dataPath } m\xE5 ikke v\xE6re kortere enn ${ limit } tegn.",h="Kan ikke laste inn modellelementet. S\xF8rg for at modellen eksisterer og at tilgangstillatelser er gitt.",E="Kan ikke fullf\xF8re foresp\xF8rselen.",P="Du har ikke tilgang til \xE5 kj\xF8re dette verkt\xF8yet. <calcite-link target='_blank' href='${ docLink }'>Mer informasjon</calcite-link>",S="Kan ikke logge inn p\xE5 portalen.",b="Kan ikke lese inndata.",$="${ dataPath } mangler en egenskap ved navn ${ missingProperty }.",j="Det finnes allerede et resultatlag med dette navnet. Navn p\xE5 resultatlag m\xE5 v\xE6re unike innenfor organisasjonen. Bruk en annen tittel.",F="Utdatanavnet inneholder ett eller flere ugyldige tegn. <a href='${docLink}' target='_blank'>L\xE6r mer.</a>",I="Publiseringen av det midlertidige laget som et hostet lag mislyktes p\xE5 grunn av ett eller flere ugyldige felter. Kj\xF8r verkt\xF8yet p\xE5 nytt for \xE5 opprette et lag med gyldige felter.",T="Jobbinnsendingen mislyktes. Rull nedover, korriger feilene, og kj\xF8r analysen p\xE5 nytt.",L="${ dataPath } m\xE5 inneholde minst ett tegn som ikke er mellomrom.",K={InsufficientCreditsError:e,accessBlocked:r,additionalProperty:t,anyOfValues:a,cannotWriteToItemResource:n,creditEstimationError:i,defaultError:l,enumValues:o,failedToSaveHistory:s,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:k,hostedFeatureServicePublishDidNotComplete:g,keyPropertiesError:m,layerLoadFailure:u,layerUnavailable:f,maxItems:c,mbFailedToSave:p,minItems:y,minLength:v,modelNotFound:h,networkError:E,noPermissionToAccessTool:P,portalLoadError:S,queryFeaturesError:b,requiredProperty:$,serviceNameExistsError:j,specialCharactersInServiceNameError:F,temporaryLayerFieldsError:I,toolValidationError:T,whiteSpacePattern:L};export{e as InsufficientCreditsError,r as accessBlocked,t as additionalProperty,a as anyOfValues,n as cannotWriteToItemResource,i as creditEstimationError,K as default,l as defaultError,o as enumValues,s as failedToSaveHistory,d as fullSessionStorage,k as hostedFeatureServiceInvalidTitle,g as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,u as layerLoadFailure,f as layerUnavailable,c as maxItems,p as mbFailedToSave,y as minItems,v as minLength,h as modelNotFound,E as networkError,P as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,$ as requiredProperty,j as serviceNameExistsError,F as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,T as toolValidationError,L as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
4
- import{a as n}from"./OPLNE5ST.js";import{a as s}from"./KAVW3QCR.js";import"./DEZFQJNZ.js";import"./R6LB7MHN.js";import"./XWSJEPAY.js";import"./EJ4R77EB.js";import{a as r,b as a}from"./PHRHUP64.js";import"./ZF6AQYFE.js";import"./ETBTTZNA.js";import"./GMNC7X6H.js";import{a as o}from"./AAUCK7LH.js";import{a as i}from"./2HAO3FHD.js";import"./77HTAQZE.js";import"./G2LCRPWW.js";import"./5BALCZTO.js";import"./KGL2ZJHJ.js";import"./ZTPF724K.js";import"./JLK6R26T.js";import"./ULQENDE6.js";import"./WXSOWA6A.js";import"./5FLGUC57.js";import"./GF4XCPBZ.js";import"./QZDH24N7.js";import"./QWIT76LO.js";import"./G2GWPSGO.js";import"./UBSZGRAH.js";import"./N5KQGDLL.js";import"./RY3PLDSP.js";import"./3BOYXWN3.js";import"./2VMWXHN3.js";import"./TXTXSTLS.js";import"./K7RLU4Y2.js";import"./QRZTW7BU.js";import"./AYZSOCD5.js";import"./YA54WNBU.js";import"./ZSMGY5JQ.js";import"./HCP2V3UU.js";import"./VKN5M2H2.js";import"./Q3BLS33D.js";import"./Q6TJGV2D.js";import"./FEHKEJZD.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,l.thumbnail,l.thumbnailUrl,"site",t.requestOptions),...t.isPortal?[n(e)]:[],{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(l.location,t.hubRequestOptions),options:await a(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
3
+ v1.1.0-next.20250929 */
4
+ import{a as n}from"./YAMMDH44.js";import{a as s}from"./4D42CCAM.js";import"./OTFQ2XI6.js";import"./3SFMUF7Z.js";import"./56PLYLTG.js";import"./H3RYTY2M.js";import{a as r,b as a}from"./BZJLWOMQ.js";import"./CNOQ27DH.js";import"./GX3JK5OC.js";import"./OUXIT6ZF.js";import{a as o}from"./NJJW6FTK.js";import{a as i}from"./6WYUUORV.js";import"./4O3YPQZO.js";import"./UXBWQYND.js";import"./NSJTAT2F.js";import"./WHD75PTG.js";import"./JM774LDL.js";import"./RADSBE62.js";import"./63L2WCHI.js";import"./GYBZSSMY.js";import"./CHNGIHQX.js";import"./IY4ZLFQD.js";import"./UW4X563Y.js";import"./X37LIRVD.js";import"./CTSQQ2TC.js";import"./SKVAW47E.js";import"./EZPVMBWU.js";import"./VLCWJKLV.js";import"./OAQIBHT4.js";import"./VCUD4JHE.js";import"./V3BBWVG5.js";import"./J55EILL3.js";import"./UIBXTQRR.js";import"./KEHOH22C.js";import"./IXAD2DOF.js";import"./D4A24CYE.js";import"./UB7VURF2.js";import"./7ILIX3P2.js";import"./5ZTHDTLW.js";import"./3OMMISHV.js";import"./BPH6LIDW.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,l.thumbnail,l.thumbnailUrl,"site",t.requestOptions),...t.isPortal?[n(e)]:[],{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(l.location,t.hubRequestOptions),options:await a(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
4
- import{a as e,b as i,c as l,d as s,e as t}from"./ZAET6YPI.js";import{a as r}from"./JLK6R26T.js";import"./ULQENDE6.js";import"./WXSOWA6A.js";import"./5FLGUC57.js";import"./GF4XCPBZ.js";import"./QZDH24N7.js";import"./QWIT76LO.js";import"./G2GWPSGO.js";import"./UBSZGRAH.js";import"./N5KQGDLL.js";import"./RY3PLDSP.js";import"./3BOYXWN3.js";import"./2VMWXHN3.js";import"./TXTXSTLS.js";import"./K7RLU4Y2.js";import"./QRZTW7BU.js";import"./AYZSOCD5.js";import"./YA54WNBU.js";import"./ZSMGY5JQ.js";import"./HCP2V3UU.js";import"./VKN5M2H2.js";import"./Q3BLS33D.js";import"./Q6TJGV2D.js";import"./FEHKEJZD.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",clearOnHidden:!0,type:"number",messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
3
+ v1.1.0-next.20250929 */
4
+ import{a as e,b as i,c as l,d as s,e as t}from"./RZRLXGIZ.js";import{a as r}from"./RADSBE62.js";import"./63L2WCHI.js";import"./GYBZSSMY.js";import"./CHNGIHQX.js";import"./IY4ZLFQD.js";import"./UW4X563Y.js";import"./X37LIRVD.js";import"./CTSQQ2TC.js";import"./SKVAW47E.js";import"./EZPVMBWU.js";import"./VLCWJKLV.js";import"./OAQIBHT4.js";import"./VCUD4JHE.js";import"./V3BBWVG5.js";import"./J55EILL3.js";import"./UIBXTQRR.js";import"./KEHOH22C.js";import"./IXAD2DOF.js";import"./D4A24CYE.js";import"./UB7VURF2.js";import"./7ILIX3P2.js";import"./5ZTHDTLW.js";import"./3OMMISHV.js";import"./BPH6LIDW.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",clearOnHidden:!0,type:"number",messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
4
- import{a as S}from"./YBN33CFC.js";import{b as d,c as g,i as y,j as N}from"./DEZFQJNZ.js";import{a as I}from"./XWSJEPAY.js";import{a as M,e as E,f as T,g as F}from"./ETBTTZNA.js";import{a as $,b as R}from"./77HTAQZE.js";import{d as l,e as p,f as c}from"./G2LCRPWW.js";import{a as A}from"./5BALCZTO.js";import{a as x}from"./ZTPF724K.js";var G=new RegExp(/.+(?:map|feature|image)server/i);function b(t){let e=t.match(G);return e?e[0]:J(t)}function J(t){let e=t.split("?")[0];return c(e)}function xe(t){return l(c(t.url),t)}function Ue(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return e.params=Object.assign({updateDefinition:{}},e.params),e.updateDefinition&&(e.params.updateDefinition=e.updateDefinition),l(r,e)}function Re(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/addToDefinition`;return e.params=Object.assign({addToDefinition:{}},e.params),e.layers&&e.layers.length>0&&(e.params.addToDefinition.layers=e.layers),e.tables&&e.tables.length>0&&(e.params.addToDefinition.tables=e.tables),l(r,e)}function Ee(t){let e=`${c(t.url)}/applyEdits`,r=p(t,["adds","updates","deletes","useGlobalIds","attachments","gdbVersion","returnEditMoment","rollbackOnFailure","trueCurveClient"],{params:Object.assign({},t.params)});return l(e,r)}function Le(t){return R(t).then(e=>{let r=Object.assign(Object.assign({},t),{rawResponse:!1}),n=`${$(t)}/content/users/${e}`,a=!r.folderId||r.folderId==="/"?"":"/"+r.folderId,o=`${n}${a}/createService`;return r.params=Object.assign({createParameters:r.item,outputType:"featureService"},r.params),l(o,r)})}function at(t){let e=p(t,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},t.params)});return l(`${c(t.url)}/query`,e)}function st(t){let e=p(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return l(`${c(t.url)}/queryRelatedRecords`,e)}function L(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,u)=>{!o.hasOwnProperty(s)||o[s]==null?u===i?o[s]=r:o[s]={}:u===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=I(r):o[s]=Object.assign(o[s],I(r)):o[s]=r),o=o[s]})}function Lt(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),L(r,t,e,n)}var Z=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var u=o/s,f=i/s;if(u>=0&&u<=1&&f>=0&&f<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},K=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},j=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(Z(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},U=function(e){return K(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},z=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=j(e,r),a=Q(e,r[0]);return!!(!n&&a)},X=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var u=U(e[s].slice(0));if(!(u.length<4))if(D(u)){var f=[u.slice().reverse()];r.push(f)}else n.push(u.slice().reverse())}for(var m=[];n.length;){i=n.pop();var k=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),k=!0;break}k||m.push(i)}for(;m.length;){i=m.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},q=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},zt=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?z(e.attributes):null,e.attributes))try{n.id=q(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},B=function(e){var r=[],n=e.slice(0),a=U(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=U(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=B(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=B(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?z(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function h(t,e){return t.indexOf(e)!==-1}function Ht(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function _t(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=N(t,e,n),[i,s]=o.split("?"),u=new URLSearchParams(s);u.delete("f"),a&&u.append("w",a+"");let f=u.toString(),m=`${i}/info/${t.thumbnail}`;return f?`${m}?${f}`:m}var H;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(H||(H={}));function C(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}function Qt(t={}){let e=t.type,r=t.typeKeywords||[];return C(t.type,r)&&(e="Hub Site Application"),(t.type==="Site Page"||t.type==="Web Mapping Application"&&h(r,"hubPage"))&&(e="Hub Page"),t.type==="Hub Initiative"&&h(r,"hubInitiativeTemplate")&&(e="Hub Initiative Template"),t.type==="Web Mapping Application"&&h(r,"hubSolutionTemplate")&&(e="Solution"),e}var v={devext:"dev",qaext:"qa",production:""};var te=t=>E(t)?Object.assign(Object.assign({},M(t)),{type:"extent"}):void 0,cr=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:C(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=F(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:T(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var ur=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=A(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var W;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(W||(W={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},pr=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:V(a,t)}))},ie=t=>{let e=[];return P(x(t,"metadata.distInfo")||[]).forEach(r=>{P(r.distTranOps||[]).forEach(n=>{P(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},P=t=>Array.isArray(t)?t:[t],V=(t,e)=>{let r=e.url&&b(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=x(r,"authentication.token");if(a&&V(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var dr=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=me(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=ge(t,e);break;default:r=y(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=d(e),a=g(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=d(e),n=g(r);return`${`https://experience${v[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=d(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=d(e),n=g(r),a=`https://survey123${v[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=y(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},me=(t,e)=>{let r=d(e),n=g(r),a=`https://insights${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},ge=(t,e)=>{let r=d(e),n=g(r),a=`https://urban${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function fr(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return S(t).replace(/\/api\/v3$/,"")}var mr=async(t,e)=>{let n=`${S(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};export{Re as a,Ee as b,Le as c,b as d,xe as e,at as f,st as g,Ue as h,L as i,Lt as j,h as k,Ht as l,_t as m,zt as n,cr as o,ur as p,pr as q,dr as r,fr as s,mr as t,Qt as u};
3
+ v1.1.0-next.20250929 */
4
+ import{a as S}from"./BGAYS7EP.js";import{b as d,c as g,i as y,j as N}from"./OTFQ2XI6.js";import{a as I}from"./56PLYLTG.js";import{a as M,e as E,f as T,g as F}from"./GX3JK5OC.js";import{a as $,b as R}from"./4O3YPQZO.js";import{d as l,e as p,f as c}from"./UXBWQYND.js";import{a as A}from"./NSJTAT2F.js";import{a as x}from"./JM774LDL.js";var G=new RegExp(/.+(?:map|feature|image)server/i);function b(t){let e=t.match(G);return e?e[0]:J(t)}function J(t){let e=t.split("?")[0];return c(e)}function xe(t){return l(c(t.url),t)}function Ue(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return e.params=Object.assign({updateDefinition:{}},e.params),e.updateDefinition&&(e.params.updateDefinition=e.updateDefinition),l(r,e)}function Re(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/addToDefinition`;return e.params=Object.assign({addToDefinition:{}},e.params),e.layers&&e.layers.length>0&&(e.params.addToDefinition.layers=e.layers),e.tables&&e.tables.length>0&&(e.params.addToDefinition.tables=e.tables),l(r,e)}function Ee(t){let e=`${c(t.url)}/applyEdits`,r=p(t,["adds","updates","deletes","useGlobalIds","attachments","gdbVersion","returnEditMoment","rollbackOnFailure","trueCurveClient"],{params:Object.assign({},t.params)});return l(e,r)}function Le(t){return R(t).then(e=>{let r=Object.assign(Object.assign({},t),{rawResponse:!1}),n=`${$(t)}/content/users/${e}`,a=!r.folderId||r.folderId==="/"?"":"/"+r.folderId,o=`${n}${a}/createService`;return r.params=Object.assign({createParameters:r.item,outputType:"featureService"},r.params),l(o,r)})}function at(t){let e=p(t,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},t.params)});return l(`${c(t.url)}/query`,e)}function st(t){let e=p(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return l(`${c(t.url)}/queryRelatedRecords`,e)}function L(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,u)=>{!o.hasOwnProperty(s)||o[s]==null?u===i?o[s]=r:o[s]={}:u===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=I(r):o[s]=Object.assign(o[s],I(r)):o[s]=r),o=o[s]})}function Lt(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),L(r,t,e,n)}var Z=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var u=o/s,f=i/s;if(u>=0&&u<=1&&f>=0&&f<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},K=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},j=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(Z(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},U=function(e){return K(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},z=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=j(e,r),a=Q(e,r[0]);return!!(!n&&a)},X=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var u=U(e[s].slice(0));if(!(u.length<4))if(D(u)){var f=[u.slice().reverse()];r.push(f)}else n.push(u.slice().reverse())}for(var m=[];n.length;){i=n.pop();var k=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),k=!0;break}k||m.push(i)}for(;m.length;){i=m.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},q=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},zt=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?z(e.attributes):null,e.attributes))try{n.id=q(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},B=function(e){var r=[],n=e.slice(0),a=U(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=U(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=B(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=B(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?z(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function h(t,e){return t.indexOf(e)!==-1}function Ht(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function _t(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=N(t,e,n),[i,s]=o.split("?"),u=new URLSearchParams(s);u.delete("f"),a&&u.append("w",a+"");let f=u.toString(),m=`${i}/info/${t.thumbnail}`;return f?`${m}?${f}`:m}var H;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(H||(H={}));function C(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}function Qt(t={}){let e=t.type,r=t.typeKeywords||[];return C(t.type,r)&&(e="Hub Site Application"),(t.type==="Site Page"||t.type==="Web Mapping Application"&&h(r,"hubPage"))&&(e="Hub Page"),t.type==="Hub Initiative"&&h(r,"hubInitiativeTemplate")&&(e="Hub Initiative Template"),t.type==="Web Mapping Application"&&h(r,"hubSolutionTemplate")&&(e="Solution"),e}var v={devext:"dev",qaext:"qa",production:""};var te=t=>E(t)?Object.assign(Object.assign({},M(t)),{type:"extent"}):void 0,cr=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:C(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=F(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:T(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var ur=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=A(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var W;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(W||(W={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},pr=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:V(a,t)}))},ie=t=>{let e=[];return P(x(t,"metadata.distInfo")||[]).forEach(r=>{P(r.distTranOps||[]).forEach(n=>{P(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},P=t=>Array.isArray(t)?t:[t],V=(t,e)=>{let r=e.url&&b(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=x(r,"authentication.token");if(a&&V(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var dr=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=me(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=ge(t,e);break;default:r=y(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=d(e),a=g(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=d(e),n=g(r);return`${`https://experience${v[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=d(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=d(e),n=g(r),a=`https://survey123${v[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=y(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},me=(t,e)=>{let r=d(e),n=g(r),a=`https://insights${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},ge=(t,e)=>{let r=d(e),n=g(r),a=`https://urban${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function fr(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return S(t).replace(/\/api\/v3$/,"")}var mr=async(t,e)=>{let n=`${S(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};export{Re as a,Ee as b,Le as c,b as d,xe as e,at as f,st as g,Ue as h,L as i,Lt as j,h as k,Ht as l,_t as m,zt as n,cr as o,ur as p,pr as q,dr as r,fr as s,mr as t,Qt as u};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
4
- import{a as f}from"./CLKCQTML.js";import{a as D}from"./2DLRU2VG.js";import{a as L}from"./RUD5AGHP.js";import{B as S,C as I}from"./W34C5H2W.js";import{b as k}from"./NKZ3BLZ2.js";import"./BT7CLLDK.js";import"./SKJFZS7G.js";import{C as $,D as b,E as F,G as p,h as C,i as l,l as m,o as E}from"./OLVFU265.js";import"./FEHKEJZD.js";var _="instant-apps-filter-list calcite-mode-light",P="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function v(h){return h.replaceAll("'","''")}function y(h,e=!1){if(h){let t=new Date(h),i=`${t.getFullYear()}-${t.getMonth()+1}-${t.getDate()}`;if(e){let s=`${t.getHours()}:${t.getMinutes()}:${t.getSeconds()}`;return`${i} ${s}`}else return i}}function T(h){if(h!=null){h.value=["",""];let e=h.shadowRoot?.querySelectorAll("calcite-input");if(e!=null)for(let t of e)t.value=""}}var O=C`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__time-picker-input-container{display:grid;grid-template-columns:auto 32px;width:100%}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:first-child{grid-column:1;grid-row:1}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:last-child{grid-column:1;grid-row:2}.instant-apps-filter-list__time-picker-input-container calcite-action{grid-column:2;grid-row:1/span 2;height:64px;width:33px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,d={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",timeInputContainer:"instant-apps-filter-list__time-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},w=class extends F{constructor(){super(...arguments),this._messages=L({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=$(),this.panelEl=$(),this.isLayerExpUpdated=!1,this.baseClass=_,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=O}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(s=>s.id===t.id);i!=null&&(t.title=i.title,t.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async load(){this.baseClass=D(this.el)==="dark"?P:_,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(e){e.has("view")&&this.handleWhenView(),e.has("layerExpressions")&&(this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[e,t]=await Promise.all([I(),S()]);this.geometryJsonUtils=t,this.intl=e}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(d.operatorDesc)} .heading=${this._messages[t]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(e,t){let i=this.panelEl.value?.querySelector(`[id='${e.id}']`);i&&(T(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t))}handleResetTimePicker(e,t){this.resetTimePicker(e),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}resetTimePicker(e){let t=this.panelEl.value?.querySelector(`[id='${e.id}-min']`),i=this.panelEl.value?.querySelector(`[id='${e.id}-max']`);!t||!i||(t.value=e.min,i.value=e.max)}initInput(e,t){let{type:i,numDisplayOption:s,displayOption:n}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t);if(i==="time-only")return this.renderTimePicker(e,t)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:s,displayOption:n}=t,a="";i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":i==="number"||i==="range"?a="numberRange":i==="time-only"&&(a="timePicker"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&T(s);break}case"numberRange":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=t.min,s.maxValue=t.max);break}case"timePicker":t.range=void 0,this.resetTimePicker(t)}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.value?.querySelector(`[id='${t}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables.toArray()??[])?.forEach(e=>{if(!x.includes(e.type))return;let t=e;if(t.type==="point-cloud"){if(!this.initPointCloudFilters)return;t.filters=this.initPointCloudFilters[t.id]}else if(t.type==="map-image")t.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[t.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;t.definitionExpression=this.initDefExpressions[t.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:i})=>i===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${v(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e),{field:s}=t;if(s!=null)if(this.setExpressionFormat(i,t,s),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(n[`min${s}`],t.format.places),t.max=this.roundMaxNumberUp(n[`max${s}`],t.format.places)):(t.min=n[`min${s}`],t.max=n[`max${s}`]),t?.range&&Object.keys(t.range).length){let{min:a,max:r}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=y(a[`min${i}`]),t.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} '${r??o}'`:t.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateTimeExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=a[`min${i}`],t.max=a[`max${i}`],s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} TIME '${r??o}'`:t.definitionExpression=`${i} BETWEEN TIME '${r}' AND TIME '${o}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(e);await this.getFeatureAttributes(s,t);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(t.codedValues=n,this.sortCodedValues(t),t.selectedFields?.length){let a=t.selectedFields.map(r=>typeof r=="number"?r:`'${v(r)}'`).join(",");return t.definitionExpression=`${t.field} IN (${a})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:s}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,s&&Object.keys(s).length?(e.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,t)}isLayerSupported(e){return e&&x.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let s=t?.field;if(s){let n=this.getInitDefExprFromLayer(e);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(e,t,i){if(!t.outFields)return;let s=await this.queryForFeatures(e,t,t.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(e,t){return t?e*5:e}shouldPaginate(e,t,i){let s=this.getQueryCount(e,i);return e!=null&&t>s}async handlePagination(e,t,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let u=t.clone();u.num=i,u.start=c,o.push(this.queryForFeatures(e,u,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(u=>{u?.length&&a.fields&&a.fields.push(...u)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((u,g)=>u.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((u,g)=>u-g):a.type==="coded-value"&&a.codedValues?this.sortCodedValues(a):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(s=>{let n=s.attributes?.[i];return n!=null&&n!==""})?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!x.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===t.field),n=s?.domain?.type;t.type=n==="coded-value"||n==="range"?n:t.type,await this.updateExpression(e,t,s)}))}async updateExpression(e,t,i){await this.handleExpressionType(e,t,i)&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"time-only":return await this.updateTimeExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateTimeExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateTimeExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,s){let n=this.getInitDefExprFromLayerExpression(t);(s||s===0)&&(i||i===0)&&(s===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=n?`(${n}) AND ${e?.field} BETWEEN ${s} AND ${i}`:`${e?.field} BETWEEN ${s} AND ${i}`,e.active=!0)),e.range={min:s,max:i}}handleCheckboxChange(e,t,i){let s=i.target;t.active=s.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(e,t,s,n),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:n,type:a}=e;if(e.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${v(o)}'`);e.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):a==="time-only"?`${n} IN (${r.map(o=>`TIME ${o}`).join(",")})`:`${n} IN (${r.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}handleTimePickerRangeChange(e,t,i,s){let n=s.target,a=n.value;e.range==null&&(e.range={min:void 0,max:void 0}),i?e.max&&a>e.max?(e.range.min=e.max,n.value=e.range.min):e.min&&a<e.min?(e.range.min=e.min,n.value=e.range.min):e.range.min=a:e.max&&a>e.max?(e.range.max=e.max,n.value=e.range.max):e.min&&a<e.min?(e.range.max=e.min,n.value=e.range.max):e.range.max=a,(e.range.min||e.range.max)&&(e.definitionExpression=this.constructTimeDefinitionExpression(e.field,e.range.min,e.range.max),e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}constructTimeDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN TIME '${t}' AND TIME '${i}'`:`${e} > TIME '${t}'`:`${e} < TIME '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(document.location.search).get("filter");if(!e){this.filterCount=0;return}let t=e.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(t)}applyFilters(e){let t=0;return e.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:s,selectedFields:n,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"||a==="time-only"?{type:"range",layerId:e.id,expressionId:i.toString(),range:s}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:s}=e,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(n,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(e),a=t?.length>0&&n!=null&&n!==""?`(${t.join(s)}) AND (${n})`:t.length>0?t.join(s):n;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.value?.querySelector(t),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(e),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(e){let t=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,i=t.type==="map-image"?t.findSublayerById(e.sublayerId):t;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(e){if(this.view==null)return;let t=[],i=[];if(e){for(let s of e.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&t.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let s;if(!String(e).includes("e"))s=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[n,a]=String(e).split("e").map(o=>Number(o)),r=a+t;s=Math[i](+`${n}e${r}`)*Math.pow(10,-t)}return+s.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let s=e?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(t.format=s.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let t=this.view.map?.allLayers.concat(this.view.map?.allTables.toArray()??[])?.find(({id:i})=>i===e.id);return t.type==="map-image"?t?.findSublayerById(e.sublayerId):t}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(t,i)}if(e.type==="time-only"){let i=this.intl.convertDateFormatToIntlOptions("long-time");return this.intl.formatTimeOnly(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),s=new Date(e),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables.toArray()??[]).forEach(t=>{if(!x.includes(t.type))return;let i=t;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}sortCodedValues(e){typeof e.fields?.[0]=="number"?e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s-n}):e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s.localeCompare(n)})}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${b(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(d.filterContainer)}>${e}${t}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(e){let{id:t}=e;return e.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${t}-${s}`,l`<div class=${p(d.filterItemContainer)}><div class=${p(d.filterItemTitle)}><p>${i.name}</p></div><div class=${p(d.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??m} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,e,i)}></calcite-checkbox></div></div>`):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(e);return f(e.id,l`<calcite-block .heading=${e.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${t}</calcite-block>`)}renderCombobox(e,t){return f("combo-select",l`<label class=${p(d.filterUIItemContainer)}><span>${t.name}</span><calcite-combobox id=${t.id.toString()??m} @calciteComboboxChange=${this.handleComboSelect.bind(this,t,e)} .label=${t.name} .placeholder=${t.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${t.fields?.map((i,s)=>this.renderComboboxItem(t,i,s))}</calcite-combobox></label>`)}renderComboboxItem(e,t,i){let s=this.createLabel(e,t),n=e?.selectedFields?.includes(t)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${t} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(e,t){let i=t?.min,s=t?.max,n=t?.step?t.step:1,a=i!=null&&s!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:s,u=[o,c];return a?f(t?.id.toString(),l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.numberInputContainer)}><calcite-slider id=${t?.id.toString()??m} @calciteSliderChange=${this.handleSliderChange.bind(this,t,e)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${u} .groupSeparator=${t?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(e,t){let{min:i,max:s}=t,n=[t?.range?.min,t?.range?.max];return i!=null&&s!=null?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.dateInputContainer)}><calcite-input-date-picker id=${t?.id.toString()??m} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,t,e)} .min=${i} .max=${s} calendars=1 overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??m} scale=s></calcite-action></div></label>`:void 0}renderTimePicker(e,t){let{min:i,max:s,range:n}=t,a=i!=null&&s!=null,r=n?.min!=null?n.min:i,o=n?.max!=null?n.max:s;return a?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.timeInputContainer)}><calcite-input-time-picker .id=${`${t?.id.toString()}-min`} .value=${r} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!0)}></calcite-input-time-picker><calcite-input-time-picker .id=${`${t?.id.toString()}-max`} .value=${o} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!1)}></calcite-input-time-picker><calcite-action @click=${this.handleResetTimePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetTimePicker} title=${this._messages.resetTimePicker??m} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let e=this.closeBtnText??this._messages.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(d.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${t} @click=${this.handleResetFilter} ${b(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${t} kind=brand @click=${this.closeBtnOnClick}>${e}</calcite-button>`:void 0}</div>`}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l`<calcite-action id=${t??m} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??m} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,e)}></calcite-action>`:void 0}};k("instant-apps-filter-list",w);export{w as InstantAppsFilterList};
3
+ v1.1.0-next.20250929 */
4
+ import{a as f}from"./S7ZR3IKK.js";import{a as D}from"./3Z2DCDFZ.js";import{a as L}from"./N4AYMWOT.js";import{B as S,C as I}from"./2AXJLVG3.js";import{b as k}from"./JQGMDBDF.js";import"./A5NNENXQ.js";import"./DRIHILRA.js";import{C as $,D as b,E as F,G as p,h as C,i as l,l as m,o as E}from"./LRXZR626.js";import"./BPH6LIDW.js";var _="instant-apps-filter-list calcite-mode-light",P="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function v(h){return h.replaceAll("'","''")}function y(h,e=!1){if(h){let t=new Date(h),i=`${t.getFullYear()}-${t.getMonth()+1}-${t.getDate()}`;if(e){let s=`${t.getHours()}:${t.getMinutes()}:${t.getSeconds()}`;return`${i} ${s}`}else return i}}function T(h){if(h!=null){h.value=["",""];let e=h.shadowRoot?.querySelectorAll("calcite-input");if(e!=null)for(let t of e)t.value=""}}var O=C`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__time-picker-input-container{display:grid;grid-template-columns:auto 32px;width:100%}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:first-child{grid-column:1;grid-row:1}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:last-child{grid-column:1;grid-row:2}.instant-apps-filter-list__time-picker-input-container calcite-action{grid-column:2;grid-row:1/span 2;height:64px;width:33px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,d={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",timeInputContainer:"instant-apps-filter-list__time-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},w=class extends F{constructor(){super(...arguments),this._messages=L({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=$(),this.panelEl=$(),this.isLayerExpUpdated=!1,this.baseClass=_,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=O}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(s=>s.id===t.id);i!=null&&(t.title=i.title,t.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async load(){this.baseClass=D(this.el)==="dark"?P:_,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(e){e.has("view")&&this.handleWhenView(),e.has("layerExpressions")&&(this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[e,t]=await Promise.all([I(),S()]);this.geometryJsonUtils=t,this.intl=e}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(d.operatorDesc)} .heading=${this._messages[t]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(e,t){let i=this.panelEl.value?.querySelector(`[id='${e.id}']`);i&&(T(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t))}handleResetTimePicker(e,t){this.resetTimePicker(e),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}resetTimePicker(e){let t=this.panelEl.value?.querySelector(`[id='${e.id}-min']`),i=this.panelEl.value?.querySelector(`[id='${e.id}-max']`);!t||!i||(t.value=e.min,i.value=e.max)}initInput(e,t){let{type:i,numDisplayOption:s,displayOption:n}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t);if(i==="time-only")return this.renderTimePicker(e,t)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:s,displayOption:n}=t,a="";i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":i==="number"||i==="range"?a="numberRange":i==="time-only"&&(a="timePicker"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&T(s);break}case"numberRange":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=t.min,s.maxValue=t.max);break}case"timePicker":t.range=void 0,this.resetTimePicker(t)}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.value?.querySelector(`[id='${t}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables.toArray()??[])?.forEach(e=>{if(!x.includes(e.type))return;let t=e;if(t.type==="point-cloud"){if(!this.initPointCloudFilters)return;t.filters=this.initPointCloudFilters[t.id]}else if(t.type==="map-image")t.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[t.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;t.definitionExpression=this.initDefExpressions[t.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:i})=>i===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${v(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e),{field:s}=t;if(s!=null)if(this.setExpressionFormat(i,t,s),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(n[`min${s}`],t.format.places),t.max=this.roundMaxNumberUp(n[`max${s}`],t.format.places)):(t.min=n[`min${s}`],t.max=n[`max${s}`]),t?.range&&Object.keys(t.range).length){let{min:a,max:r}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=y(a[`min${i}`]),t.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} '${r??o}'`:t.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateTimeExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=a[`min${i}`],t.max=a[`max${i}`],s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} TIME '${r??o}'`:t.definitionExpression=`${i} BETWEEN TIME '${r}' AND TIME '${o}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(e);await this.getFeatureAttributes(s,t);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(t.codedValues=n,this.sortCodedValues(t),t.selectedFields?.length){let a=t.selectedFields.map(r=>typeof r=="number"?r:`'${v(r)}'`).join(",");return t.definitionExpression=`${t.field} IN (${a})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:s}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,s&&Object.keys(s).length?(e.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,t)}isLayerSupported(e){return e&&x.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let s=t?.field;if(s){let n=this.getInitDefExprFromLayer(e);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(e,t,i){if(!t.outFields)return;let s=await this.queryForFeatures(e,t,t.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(e,t){return t?e*5:e}shouldPaginate(e,t,i){let s=this.getQueryCount(e,i);return e!=null&&t>s}async handlePagination(e,t,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let u=t.clone();u.num=i,u.start=c,o.push(this.queryForFeatures(e,u,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(u=>{u?.length&&a.fields&&a.fields.push(...u)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((u,g)=>u.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((u,g)=>u-g):a.type==="coded-value"&&a.codedValues?this.sortCodedValues(a):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(s=>{let n=s.attributes?.[i];return n!=null&&n!==""})?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!x.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===t.field),n=s?.domain?.type;t.type=n==="coded-value"||n==="range"?n:t.type,await this.updateExpression(e,t,s)}))}async updateExpression(e,t,i){await this.handleExpressionType(e,t,i)&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"time-only":return await this.updateTimeExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateTimeExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateTimeExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,s){let n=this.getInitDefExprFromLayerExpression(t);(s||s===0)&&(i||i===0)&&(s===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=n?`(${n}) AND ${e?.field} BETWEEN ${s} AND ${i}`:`${e?.field} BETWEEN ${s} AND ${i}`,e.active=!0)),e.range={min:s,max:i}}handleCheckboxChange(e,t,i){let s=i.target;t.active=s.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(e,t,s,n),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:n,type:a}=e;if(e.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${v(o)}'`);e.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):a==="time-only"?`${n} IN (${r.map(o=>`TIME ${o}`).join(",")})`:`${n} IN (${r.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}handleTimePickerRangeChange(e,t,i,s){let n=s.target,a=n.value;e.range==null&&(e.range={min:void 0,max:void 0}),i?e.max&&a>e.max?(e.range.min=e.max,n.value=e.range.min):e.min&&a<e.min?(e.range.min=e.min,n.value=e.range.min):e.range.min=a:e.max&&a>e.max?(e.range.max=e.max,n.value=e.range.max):e.min&&a<e.min?(e.range.max=e.min,n.value=e.range.max):e.range.max=a,(e.range.min||e.range.max)&&(e.definitionExpression=this.constructTimeDefinitionExpression(e.field,e.range.min,e.range.max),e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}constructTimeDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN TIME '${t}' AND TIME '${i}'`:`${e} > TIME '${t}'`:`${e} < TIME '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(document.location.search).get("filter");if(!e){this.filterCount=0;return}let t=e.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(t)}applyFilters(e){let t=0;return e.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:s,selectedFields:n,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"||a==="time-only"?{type:"range",layerId:e.id,expressionId:i.toString(),range:s}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:s}=e,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(n,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(e),a=t?.length>0&&n!=null&&n!==""?`(${t.join(s)}) AND (${n})`:t.length>0?t.join(s):n;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.value?.querySelector(t),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(e),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(e){let t=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,i=t.type==="map-image"?t.findSublayerById(e.sublayerId):t;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(e){if(this.view==null)return;let t=[],i=[];if(e){for(let s of e.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&t.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let s;if(!String(e).includes("e"))s=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[n,a]=String(e).split("e").map(o=>Number(o)),r=a+t;s=Math[i](+`${n}e${r}`)*Math.pow(10,-t)}return+s.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let s=e?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(t.format=s.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let t=this.view.map?.allLayers.concat(this.view.map?.allTables.toArray()??[])?.find(({id:i})=>i===e.id);return t.type==="map-image"?t?.findSublayerById(e.sublayerId):t}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(t,i)}if(e.type==="time-only"){let i=this.intl.convertDateFormatToIntlOptions("long-time");return this.intl.formatTimeOnly(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),s=new Date(e),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables.toArray()??[]).forEach(t=>{if(!x.includes(t.type))return;let i=t;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}sortCodedValues(e){typeof e.fields?.[0]=="number"?e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s-n}):e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s.localeCompare(n)})}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${b(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(d.filterContainer)}>${e}${t}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(e){let{id:t}=e;return e.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${t}-${s}`,l`<div class=${p(d.filterItemContainer)}><div class=${p(d.filterItemTitle)}><p>${i.name}</p></div><div class=${p(d.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??m} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,e,i)}></calcite-checkbox></div></div>`):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(e);return f(e.id,l`<calcite-block .heading=${e.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${t}</calcite-block>`)}renderCombobox(e,t){return f("combo-select",l`<label class=${p(d.filterUIItemContainer)}><span>${t.name}</span><calcite-combobox id=${t.id.toString()??m} @calciteComboboxChange=${this.handleComboSelect.bind(this,t,e)} .label=${t.name} .placeholder=${t.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${t.fields?.map((i,s)=>this.renderComboboxItem(t,i,s))}</calcite-combobox></label>`)}renderComboboxItem(e,t,i){let s=this.createLabel(e,t),n=e?.selectedFields?.includes(t)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${t} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(e,t){let i=t?.min,s=t?.max,n=t?.step?t.step:1,a=i!=null&&s!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:s,u=[o,c];return a?f(t?.id.toString(),l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.numberInputContainer)}><calcite-slider id=${t?.id.toString()??m} @calciteSliderChange=${this.handleSliderChange.bind(this,t,e)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${u} .groupSeparator=${t?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(e,t){let{min:i,max:s}=t,n=[t?.range?.min,t?.range?.max];return i!=null&&s!=null?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.dateInputContainer)}><calcite-input-date-picker id=${t?.id.toString()??m} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,t,e)} .min=${i} .max=${s} calendars=1 overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??m} scale=s></calcite-action></div></label>`:void 0}renderTimePicker(e,t){let{min:i,max:s,range:n}=t,a=i!=null&&s!=null,r=n?.min!=null?n.min:i,o=n?.max!=null?n.max:s;return a?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.timeInputContainer)}><calcite-input-time-picker .id=${`${t?.id.toString()}-min`} .value=${r} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!0)}></calcite-input-time-picker><calcite-input-time-picker .id=${`${t?.id.toString()}-max`} .value=${o} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!1)}></calcite-input-time-picker><calcite-action @click=${this.handleResetTimePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetTimePicker} title=${this._messages.resetTimePicker??m} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let e=this.closeBtnText??this._messages.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(d.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${t} @click=${this.handleResetFilter} ${b(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${t} kind=brand @click=${this.closeBtnOnClick}>${e}</calcite-button>`:void 0}</div>`}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l`<calcite-action id=${t??m} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??m} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,e)}></calcite-action>`:void 0}};k("instant-apps-filter-list",w);export{w as InstantAppsFilterList};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
4
- import"./FEHKEJZD.js";var e="No tiene suficientes cr\xE9ditos para realizar esta operaci\xF3n. P\xF3ngase en contacto con su administrador de sistemas de ArcGIS para obtener ayuda.",a="Esta herramienta se ha publicado a trav\xE9s de un notebook. El acceso a ArcGIS Notebooks est\xE1 bloqueado para su organizaci\xF3n. P\xF3ngase en contacto con su administrador para ajustar la configuraci\xF3n.",r="${ dataPath } no debe tener ${ additionalProperty }",o="${ dataPath } debe coincidir con el esquema de uno de estos: ${ schemaOptions }.",s="Intente guardar el mapa de nuevo.",t="Error en estimaci\xF3n del cr\xE9dito Despl\xE1cese hacia abajo, corrija los errores y vuelva a realizar la estimaci\xF3n del cr\xE9dito.",i="Se ha producido un error al ejecutar el an\xE1lisis.",n="${ dataPath } debe ser igual a uno de los siguientes valores permitidos: ${ allowedValues }.",l="No se pudo guardar el historial de an\xE1lisis",d="El almacenamiento del historial est\xE1 lleno. Retire algunos elementos del historial de an\xE1lisis e int\xE9ntelo de nuevo.",c="El nombre del servicio contiene uno o varios caracteres no v\xE1lidos:",u="No se ha completado el guardado de la capa temporal como capa de entidades alojada.",m="Error al obtener las propiedades clave.",p="Error al cargar la capa.",h="La capa no est\xE1 disponible",E="${ dataPath } no debe tener m\xE1s de ${ limit } elementos.",b="Se ha producido un error al guardar el modelo. Intente guardar de nuevo.",v="${ dataPath } no debe tener menos de ${ limit } elementos.",y="${ dataPath } no debe tener menos de ${ limit } caracteres.",P="No se ha podido cargar el elemento de modelo. Aseg\xFArese de que el modelo existe y se haya concedido permiso de acceso.",g="Error al completar solicitud.",f="No tiene permiso para ejecutar esta herramienta. <calcite-link target='_blank' href='${ docLink }'>M\xE1s informaci\xF3n</calcite-link>",S="Error al iniciar sesi\xF3n en el portal.",$="Error al leer los datos de entrada.",I="A ${ dataPath } le falta la propiedad denominada ${ missingProperty }.",k="Ya existe una capa de resultados con este nombre. Los nombres de las capas de resultados deben ser \xFAnicos en toda la organizaci\xF3n. Utilice otro nombre.",F="El nombre de salida contiene uno o m\xE1s caracteres que no son v\xE1lidos. <a href='${docLink}' target='_blank'>M\xE1s informaci\xF3n.</a>",N="La publicaci\xF3n de la capa temporal como capa alojada ha fallado debido a uno o m\xE1s campos no v\xE1lidos. Vuelva a ejecutar la herramienta para crear una capa con campos v\xE1lidos.",L="Error al enviar trabajo. Despl\xE1cese hacia abajo, corrija los errores y vuelva a ejecutar el an\xE1lisis.",j="${ dataPath } debe tener al menos un car\xE1cter que no sea un espacio en blanco.",T={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:o,cannotWriteToItemResource:s,creditEstimationError:t,defaultError:i,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:h,maxItems:E,mbFailedToSave:b,minItems:v,minLength:y,modelNotFound:P,networkError:g,noPermissionToAccessTool:f,portalLoadError:S,queryFeaturesError:$,requiredProperty:I,serviceNameExistsError:k,specialCharactersInServiceNameError:F,temporaryLayerFieldsError:N,toolValidationError:L,whiteSpacePattern:j};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,o as anyOfValues,s as cannotWriteToItemResource,t as creditEstimationError,T as default,i as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,E as maxItems,b as mbFailedToSave,v as minItems,y as minLength,P as modelNotFound,g as networkError,f as noPermissionToAccessTool,S as portalLoadError,$ as queryFeaturesError,I as requiredProperty,k as serviceNameExistsError,F as specialCharactersInServiceNameError,N as temporaryLayerFieldsError,L as toolValidationError,j as whiteSpacePattern};
3
+ v1.1.0-next.20250929 */
4
+ import"./BPH6LIDW.js";var e="No tiene suficientes cr\xE9ditos para realizar esta operaci\xF3n. P\xF3ngase en contacto con su administrador de sistemas de ArcGIS para obtener ayuda.",a="Esta herramienta se ha publicado a trav\xE9s de un notebook. El acceso a ArcGIS Notebooks est\xE1 bloqueado para su organizaci\xF3n. P\xF3ngase en contacto con su administrador para ajustar la configuraci\xF3n.",r="${ dataPath } no debe tener ${ additionalProperty }",o="${ dataPath } debe coincidir con el esquema de uno de estos: ${ schemaOptions }.",s="Intente guardar el mapa de nuevo.",t="Error en estimaci\xF3n del cr\xE9dito Despl\xE1cese hacia abajo, corrija los errores y vuelva a realizar la estimaci\xF3n del cr\xE9dito.",i="Se ha producido un error al ejecutar el an\xE1lisis.",n="${ dataPath } debe ser igual a uno de los siguientes valores permitidos: ${ allowedValues }.",l="No se pudo guardar el historial de an\xE1lisis",d="El almacenamiento del historial est\xE1 lleno. Retire algunos elementos del historial de an\xE1lisis e int\xE9ntelo de nuevo.",c="El nombre del servicio contiene uno o varios caracteres no v\xE1lidos:",u="No se ha completado el guardado de la capa temporal como capa de entidades alojada.",m="Error al obtener las propiedades clave.",p="Error al cargar la capa.",h="La capa no est\xE1 disponible",E="${ dataPath } no debe tener m\xE1s de ${ limit } elementos.",b="Se ha producido un error al guardar el modelo. Intente guardar de nuevo.",v="${ dataPath } no debe tener menos de ${ limit } elementos.",y="${ dataPath } no debe tener menos de ${ limit } caracteres.",P="No se ha podido cargar el elemento de modelo. Aseg\xFArese de que el modelo existe y se haya concedido permiso de acceso.",g="Error al completar solicitud.",f="No tiene permiso para ejecutar esta herramienta. <calcite-link target='_blank' href='${ docLink }'>M\xE1s informaci\xF3n</calcite-link>",S="Error al iniciar sesi\xF3n en el portal.",$="Error al leer los datos de entrada.",I="A ${ dataPath } le falta la propiedad denominada ${ missingProperty }.",k="Ya existe una capa de resultados con este nombre. Los nombres de las capas de resultados deben ser \xFAnicos en toda la organizaci\xF3n. Utilice otro nombre.",F="El nombre de salida contiene uno o m\xE1s caracteres que no son v\xE1lidos. <a href='${docLink}' target='_blank'>M\xE1s informaci\xF3n.</a>",N="La publicaci\xF3n de la capa temporal como capa alojada ha fallado debido a uno o m\xE1s campos no v\xE1lidos. Vuelva a ejecutar la herramienta para crear una capa con campos v\xE1lidos.",L="Error al enviar trabajo. Despl\xE1cese hacia abajo, corrija los errores y vuelva a ejecutar el an\xE1lisis.",j="${ dataPath } debe tener al menos un car\xE1cter que no sea un espacio en blanco.",T={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:o,cannotWriteToItemResource:s,creditEstimationError:t,defaultError:i,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:h,maxItems:E,mbFailedToSave:b,minItems:v,minLength:y,modelNotFound:P,networkError:g,noPermissionToAccessTool:f,portalLoadError:S,queryFeaturesError:$,requiredProperty:I,serviceNameExistsError:k,specialCharactersInServiceNameError:F,temporaryLayerFieldsError:N,toolValidationError:L,whiteSpacePattern:j};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,o as anyOfValues,s as cannotWriteToItemResource,t as creditEstimationError,T as default,i as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,E as maxItems,b as mbFailedToSave,v as minItems,y as minLength,P as modelNotFound,g as networkError,f as noPermissionToAccessTool,S as portalLoadError,$ as queryFeaturesError,I as requiredProperty,k as serviceNameExistsError,F as specialCharactersInServiceNameError,N as temporaryLayerFieldsError,L as toolValidationError,j as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
4
- import{a as u,e as h}from"./SHUUBUII.js";import{a}from"./NSFPTAFA.js";import"./MN6AFYEX.js";import"./JWO5QIYY.js";import"./SUXFN2X6.js";import"./JC7ZAYKG.js";import"./WWEDQX52.js";import"./YBN33CFC.js";import"./N3JGY53P.js";import"./THJHFKQV.js";import"./DEZFQJNZ.js";import"./R6LB7MHN.js";import"./XWSJEPAY.js";import"./EJ4R77EB.js";import"./ETBTTZNA.js";import"./GMNC7X6H.js";import"./77HTAQZE.js";import"./G2LCRPWW.js";import"./5BALCZTO.js";import"./KGL2ZJHJ.js";import"./ZTPF724K.js";import"./G2GWPSGO.js";import"./NZNYZUTU.js";import{b as l}from"./LNJPYNGK.js";import{E as i,o,r as n}from"./OLVFU265.js";import"./FEHKEJZD.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};
3
+ v1.1.0-next.20250929 */
4
+ import{a as u,e as h}from"./5Q2UXPI5.js";import{a}from"./3BIKIJJX.js";import"./CWTB26J6.js";import"./FRPAGIRI.js";import"./TLZBEG5G.js";import"./HENOTPCJ.js";import"./U24WW4BS.js";import"./BGAYS7EP.js";import"./YGVHRGDE.js";import"./JAKWCZDV.js";import"./OTFQ2XI6.js";import"./3SFMUF7Z.js";import"./56PLYLTG.js";import"./H3RYTY2M.js";import"./GX3JK5OC.js";import"./OUXIT6ZF.js";import"./4O3YPQZO.js";import"./UXBWQYND.js";import"./NSJTAT2F.js";import"./WHD75PTG.js";import"./JM774LDL.js";import"./CTSQQ2TC.js";import"./B7ZI5I2I.js";import{b as l}from"./NUTU4XMM.js";import{E as i,o,r as n}from"./LRXZR626.js";import"./BPH6LIDW.js";var r=class extends i{constructor(){super(...arguments),this.value="",this.templates=[],this.stateLoaded=o()}static{this.properties={value:3,templates:2,authentication:0}}static{this.shadowRootOptions=n}connectedCallback(){super.connectedCallback(),this._handleValueChange(this.value),this._initValueObserver()}render(){return null}async getStoreInfo(t){return Promise.resolve(a.getStoreInfo(t))}_handleValueChange(t){if(t!==""){let e=JSON.parse(t);a.setStoreInfo("solutionData",e);let s=u(e.templates);a.setStoreInfo("featureServices",s),a.setStoreInfo("spatialReferenceInfo",h(s,e)),this.templates=e.templates,this.stateLoaded.emit(a)}}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.some(e=>{let s=e.target[e.attributeName];return e.type==="attributes"&&e.attributeName==="value"&&s!==e.oldValue?(this._handleValueChange(s),!0):!1})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};l("store-manager",r);export{r as StoreManager};