@esri/solutions-components 1.2.0-next.91 → 1.2.0-next.92

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 (445) hide show
  1. package/dist/cdn/{PBDNDVW6.js → 23T4YQ4M.js} +2 -2
  2. package/dist/cdn/{NMOS55FN.js → 25NEDBJY.js} +2 -2
  3. package/dist/cdn/{LVR4ESBC.js → 25PNMMLQ.js} +2 -2
  4. package/dist/cdn/{QXLARMHL.js → 2756NSWE.js} +1 -1
  5. package/dist/cdn/{VR7KALIX.js → 2KDDYR5T.js} +2 -2
  6. package/dist/cdn/{GRDF72BN.js → 2LXEGEHH.js} +1 -1
  7. package/dist/cdn/{NUGVN2NT.js → 2NLIYAHS.js} +2 -2
  8. package/dist/cdn/{6AYIFITO.js → 2PLT55AZ.js} +2 -2
  9. package/dist/cdn/{RMFRZQGV.js → 2QZEV4C5.js} +2 -2
  10. package/dist/cdn/{OYKL2FMC.js → 2TTHDTD4.js} +2 -2
  11. package/dist/cdn/{BJMZEDFN.js → 2ZE3WRCW.js} +2 -2
  12. package/dist/cdn/{2EOBJOI3.js → 32CWGU4K.js} +2 -2
  13. package/dist/cdn/{NZVAVBSY.js → 32FC422D.js} +2 -2
  14. package/dist/cdn/{NM4BVJUA.js → 3FJT4CW5.js} +2 -2
  15. package/dist/cdn/{FE5XGORJ.js → 3HVPUDSB.js} +2 -2
  16. package/dist/cdn/3KG5SKVQ.js +4 -0
  17. package/dist/cdn/{2WTLMEZO.js → 3KGMPUNR.js} +2 -2
  18. package/dist/cdn/{YZS3MPWP.js → 3PVW2RUC.js} +2 -2
  19. package/dist/cdn/{GBF3DFQB.js → 3UJ57RDK.js} +2 -2
  20. package/dist/cdn/{2FFEMFF4.js → 3X3YIPQW.js} +2 -2
  21. package/dist/cdn/{GKB6B6KJ.js → 427LP64S.js} +2 -2
  22. package/dist/cdn/4CUZJVHD.js +4 -0
  23. package/dist/cdn/{BEG2YWK2.js → 4DQUGP57.js} +2 -2
  24. package/dist/cdn/{KIC5TMQZ.js → 4JDWXGYL.js} +2 -2
  25. package/dist/cdn/4KNH7K5L.js +4 -0
  26. package/dist/cdn/{YZFYDZRL.js → 4QGOG7VF.js} +2 -2
  27. package/dist/cdn/{E7ZSHANN.js → 4R3VHSC3.js} +2 -2
  28. package/dist/cdn/{VN7UMJC7.js → 4RAD4G6H.js} +2 -2
  29. package/dist/cdn/4SXFORDF.js +4 -0
  30. package/dist/cdn/{JVQCHCLL.js → 4T7ZQ2ZG.js} +1 -1
  31. package/dist/cdn/{F7CCNWGC.js → 4TI7R7CY.js} +2 -2
  32. package/dist/cdn/{QQSSFODB.js → 4UEZKRVG.js} +2 -2
  33. package/dist/cdn/{URHBMEZ7.js → 4VSKPJSH.js} +2 -2
  34. package/dist/cdn/{2FTYFCSS.js → 4WLSKO5C.js} +2 -2
  35. package/dist/cdn/{X3NSSI3D.js → 4YQG67TR.js} +2 -2
  36. package/dist/cdn/55D3AJ4Q.js +4 -0
  37. package/dist/cdn/{AKWORZTC.js → 55DNTZUM.js} +2 -2
  38. package/dist/cdn/{J7DYCFGG.js → 56R7OL6Q.js} +1 -1
  39. package/dist/cdn/{KRBUSXWS.js → 5ARIKJFB.js} +1 -1
  40. package/dist/cdn/{NB3YPF2H.js → 5F6HEWSS.js} +2 -2
  41. package/dist/cdn/{BVAJKPYO.js → 5GCPZVUO.js} +2 -2
  42. package/dist/cdn/{5LIADX65.js → 5GU4IYYG.js} +2 -2
  43. package/dist/cdn/{HSBDJEFT.js → 5HLOBJ7O.js} +2 -2
  44. package/dist/cdn/{ZAFMNGA6.js → 5IFEAAHD.js} +2 -2
  45. package/dist/cdn/{GM3UGM2R.js → 5INGG6M2.js} +2 -2
  46. package/dist/cdn/{5CPIHESU.js → 5PVKTD5L.js} +2 -2
  47. package/dist/cdn/{JLO7ORFB.js → 5QNZP6K5.js} +2 -2
  48. package/dist/cdn/{RCJYQKFE.js → 5QSVRWGE.js} +2 -2
  49. package/dist/cdn/{V3FO7DXS.js → 5R23JRQD.js} +2 -2
  50. package/dist/cdn/{62UID2KL.js → 5R4WQYWH.js} +2 -2
  51. package/dist/cdn/{NP47GVHA.js → 5UBDLVEK.js} +2 -2
  52. package/dist/cdn/{OHYURBOM.js → 5V6FIZPW.js} +2 -2
  53. package/dist/cdn/{B2RDKFPI.js → 5VM252TH.js} +2 -2
  54. package/dist/cdn/{QZBLKYC7.js → 5XPMEPY4.js} +2 -2
  55. package/dist/cdn/{SLKLRC2B.js → 5ZH55NA4.js} +2 -2
  56. package/dist/cdn/{EU3U4CI4.js → 65DYTGWQ.js} +2 -2
  57. package/dist/cdn/{SNYBJGQK.js → 6AF5DJXS.js} +2 -2
  58. package/dist/cdn/{TI77ZOKU.js → 6IYSQUM2.js} +1 -1
  59. package/dist/cdn/{WVVXEGCA.js → 6JHY34ZI.js} +2 -2
  60. package/dist/cdn/6PCJXXXF.js +4 -0
  61. package/dist/cdn/{E25IHFHG.js → 6QND57V6.js} +2 -2
  62. package/dist/cdn/{35TIXX6E.js → 6YFRSBEH.js} +2 -2
  63. package/dist/cdn/{SGZC7V7N.js → 742NOEDC.js} +2 -2
  64. package/dist/cdn/{ZNG2SHDX.js → 74JUDCVW.js} +2 -2
  65. package/dist/cdn/{LDXAFNVE.js → 7CIJXYPU.js} +2 -2
  66. package/dist/cdn/{NTWR2ZWS.js → 7UQWDWNL.js} +2 -2
  67. package/dist/cdn/{UFZJ2FZI.js → 7W5EZPU2.js} +2 -2
  68. package/dist/cdn/{ZSSBKLW4.js → 7WLX6QMS.js} +2 -2
  69. package/dist/cdn/{2U3BTX4G.js → 7WW7MXGE.js} +2 -2
  70. package/dist/cdn/{KWZFKLDN.js → A2F23VXK.js} +2 -2
  71. package/dist/cdn/{754T5F66.js → A5MVFYOW.js} +2 -2
  72. package/dist/cdn/ACISU5XB.js +4 -0
  73. package/dist/cdn/{DRRHK6OS.js → AD54QXWH.js} +2 -2
  74. package/dist/cdn/{XV52D5P7.js → AN4HK75M.js} +2 -2
  75. package/dist/cdn/{KKBMUBTD.js → AOE7WQEG.js} +2 -2
  76. package/dist/cdn/{7D7PPDEU.js → B3TMTBRJ.js} +2 -2
  77. package/dist/cdn/{ZYOLEX2K.js → B4HESZ6F.js} +2 -2
  78. package/dist/cdn/{24YP66HD.js → B6UABHYJ.js} +2 -2
  79. package/dist/cdn/{3GR2TJ22.js → BD3TAPFP.js} +2 -2
  80. package/dist/cdn/{DTQ2ZC3Q.js → BF52YLU3.js} +2 -2
  81. package/dist/cdn/{QHWCDMUR.js → BFLOMTAG.js} +2 -2
  82. package/dist/cdn/{PSDBZIFY.js → BH7IM4UT.js} +2 -2
  83. package/dist/cdn/{OM76I6BX.js → BHH6IJW7.js} +2 -2
  84. package/dist/cdn/{PHQBDMAY.js → BHV3OB7Z.js} +2 -2
  85. package/dist/cdn/{BUFVQ4I7.js → BJ3GNBBE.js} +2 -2
  86. package/dist/cdn/{NLZXS7RS.js → BJGHKXEP.js} +2 -2
  87. package/dist/cdn/{S7H35KEN.js → BMWWKUYM.js} +2 -2
  88. package/dist/cdn/{E2QAHN5P.js → BO4SOTQ4.js} +2 -2
  89. package/dist/cdn/{GSOQESO3.js → BWGWAJID.js} +2 -2
  90. package/dist/cdn/{KVRFGYRZ.js → BZZVN22R.js} +2 -2
  91. package/dist/cdn/{TD7GGVA7.js → C24E7CCV.js} +2 -2
  92. package/dist/cdn/C47ZSJIJ.js +4 -0
  93. package/dist/cdn/{TBZAZX6H.js → C6X5MM5A.js} +2 -2
  94. package/dist/cdn/{H3VKBHAM.js → C7UTE66F.js} +2 -2
  95. package/dist/cdn/{BOMGORIR.js → CDVGFSG5.js} +2 -2
  96. package/dist/cdn/{MYK4WL4X.js → CG7XLKZ6.js} +2 -2
  97. package/dist/cdn/CHANBSPH.js +4 -0
  98. package/dist/cdn/{PW6WAQZ5.js → CHMAPNB3.js} +2 -2
  99. package/dist/cdn/{XFEANEFJ.js → CPVODWS3.js} +2 -2
  100. package/dist/cdn/{BISCMLCA.js → CRDXHMLP.js} +2 -2
  101. package/dist/cdn/{FU4IORKM.js → D334T2WD.js} +2 -2
  102. package/dist/cdn/{VO74HJAQ.js → D5ZDZV6B.js} +2 -2
  103. package/dist/cdn/{ABFIG6NV.js → D6WSCDSG.js} +2 -2
  104. package/dist/cdn/{SSBA3DNF.js → DNOG6NOE.js} +2 -2
  105. package/dist/cdn/DU3QNYFL.js +4 -0
  106. package/dist/cdn/{HKYUXCW6.js → DUUZIWDB.js} +1 -1
  107. package/dist/cdn/{OM4MEPSI.js → DWHNEG7J.js} +2 -2
  108. package/dist/cdn/{ZGTUR4V5.js → DYQTLZZD.js} +1 -1
  109. package/dist/cdn/{4MPXXXMM.js → DZNXYMVD.js} +2 -2
  110. package/dist/cdn/{CI4LKODO.js → E5C4RN2J.js} +2 -2
  111. package/dist/cdn/{5GR7PWCY.js → EELWJIM5.js} +2 -2
  112. package/dist/cdn/{MJTQGN6E.js → EF5MFGTJ.js} +2 -2
  113. package/dist/cdn/{TQLBVJGQ.js → EFYXXRNV.js} +2 -2
  114. package/dist/cdn/{PN2L2E7A.js → EIMRATW7.js} +2 -2
  115. package/dist/cdn/{XTSOTJW3.js → ENKNFDCC.js} +2 -2
  116. package/dist/cdn/{NY3J7Y2X.js → EWK3KJKW.js} +2 -2
  117. package/dist/cdn/{6L3OX5TO.js → F3KTO44B.js} +1 -1
  118. package/dist/cdn/{GGAY7G3R.js → F53T4O7D.js} +2 -2
  119. package/dist/cdn/{BNLFD6W7.js → F7GMF5O3.js} +2 -2
  120. package/dist/cdn/{6TCE3SXI.js → FHJIYOKM.js} +2 -2
  121. package/dist/cdn/{A4ODJX2H.js → FHTTD7J7.js} +2 -2
  122. package/dist/cdn/{5IR3Y7LC.js → FK2GMRE6.js} +2 -2
  123. package/dist/cdn/{SWEVKKF3.js → FN3YM4YE.js} +2 -2
  124. package/dist/cdn/{RGH2YLME.js → FN3YQQ4Z.js} +1 -1
  125. package/dist/cdn/{2SHZJ7M5.js → G3QE3WRL.js} +2 -2
  126. package/dist/cdn/{AIHSOICZ.js → GAYAEP7U.js} +2 -2
  127. package/dist/cdn/{ZSOB2QMS.js → GEARDDDL.js} +2 -2
  128. package/dist/cdn/{SS3ZCFVV.js → GJ7ZSMY5.js} +2 -2
  129. package/dist/cdn/{VSVI5DIG.js → GJULFMXJ.js} +2 -2
  130. package/dist/cdn/{V6574AS5.js → GP2K2F7G.js} +2 -2
  131. package/dist/cdn/{ID64ES5U.js → GQ4PITYN.js} +2 -2
  132. package/dist/cdn/{DOQLQLW2.js → GTZDCD2L.js} +2 -2
  133. package/dist/cdn/{YSTTIAQU.js → GUDNMUSI.js} +2 -2
  134. package/dist/cdn/{5XHD4KCD.js → H47F62DI.js} +2 -2
  135. package/dist/cdn/{DUUAISDM.js → H7UHMATM.js} +2 -2
  136. package/dist/cdn/{DTILSQW2.js → HFPSY52C.js} +2 -2
  137. package/dist/cdn/{MOIOUDYG.js → HFZVW3O5.js} +1 -1
  138. package/dist/cdn/{HTFZTAIR.js → HOYTWYJ6.js} +4 -4
  139. package/dist/cdn/{SHEH4QBZ.js → HPKIL6TQ.js} +2 -2
  140. package/dist/cdn/{WQU6AA7M.js → HQCYNYNS.js} +2 -2
  141. package/dist/cdn/{WK7YRQEW.js → HSKEPGMA.js} +2 -2
  142. package/dist/cdn/{QCJZMWRY.js → HU6Q5J4T.js} +2 -2
  143. package/dist/cdn/{EQIYXW6E.js → HUERSO4A.js} +2 -2
  144. package/dist/cdn/{3VT5EBZR.js → HUIXGVJD.js} +2 -2
  145. package/dist/cdn/{3LXMHZFT.js → HY2FFU42.js} +2 -2
  146. package/dist/cdn/{6NQV3TXF.js → HZVK7OXC.js} +2 -2
  147. package/dist/cdn/{MBPPTLTP.js → I4BI6357.js} +2 -2
  148. package/dist/cdn/{QZWCLWPE.js → I6WTR5BB.js} +2 -2
  149. package/dist/cdn/{XA26INSI.js → I6ZUY3ZV.js} +1 -1
  150. package/dist/cdn/{YP7YM2X3.js → I73PA52H.js} +2 -2
  151. package/dist/cdn/{U6AJEYSB.js → I7UPHNZH.js} +2 -2
  152. package/dist/cdn/{ZNIMR5V5.js → IEOMDA54.js} +2 -2
  153. package/dist/cdn/{R3A53BGW.js → ILKY77W6.js} +2 -2
  154. package/dist/cdn/{FTDWNQUA.js → IOAC5LR7.js} +1 -1
  155. package/dist/cdn/{ZRMBGS4Y.js → IPTPYEUM.js} +1 -1
  156. package/dist/cdn/{ATHPXULU.js → IRGPKJUX.js} +2 -2
  157. package/dist/cdn/{F3XBVVTX.js → IY3PIJPY.js} +2 -2
  158. package/dist/cdn/{BVRG4SP2.js → IYR62BJF.js} +1 -1
  159. package/dist/cdn/{4OQLRQ2K.js → IYVFZXFF.js} +2 -2
  160. package/dist/cdn/{455TZ4RM.js → J5IMNJ73.js} +2 -2
  161. package/dist/cdn/{ULDIXA26.js → J5QJ5DG7.js} +2 -2
  162. package/dist/cdn/{4AVMV5PJ.js → J6P6ZYSL.js} +2 -2
  163. package/dist/cdn/{Z67SUIGB.js → J7QRQZP2.js} +2 -2
  164. package/dist/cdn/{TFTMAAX5.js → JAJ76IOK.js} +2 -2
  165. package/dist/cdn/{ZAPBLULV.js → JAY5IGQX.js} +2 -2
  166. package/dist/cdn/{XTQSQBYX.js → JB6KJJNT.js} +2 -2
  167. package/dist/cdn/{SUUT7NFJ.js → JKKLZ2L5.js} +2 -2
  168. package/dist/cdn/{VABJBM67.js → JPY5ELXZ.js} +2 -2
  169. package/dist/cdn/{LZXQZANM.js → JREIR2XJ.js} +2 -2
  170. package/dist/cdn/{RGHHGDBP.js → JT57JFXC.js} +2 -2
  171. package/dist/cdn/K27VJJY3.js +4 -0
  172. package/dist/cdn/{SWRVNVHJ.js → K5RUXDDN.js} +2 -2
  173. package/dist/cdn/{XKV62TYR.js → K6BYB3WO.js} +2 -2
  174. package/dist/cdn/{6QFVKB74.js → KBANJ63G.js} +2 -2
  175. package/dist/cdn/{PRSURI3I.js → KBGWBSEL.js} +2 -2
  176. package/dist/cdn/{SJGI4QUN.js → KFMJ3EXL.js} +1 -1
  177. package/dist/cdn/{JI462HEI.js → KI5PFLTC.js} +2 -2
  178. package/dist/cdn/{7K4SONHA.js → KKNF6CST.js} +2 -2
  179. package/dist/cdn/{4F26IYVX.js → KMINMOLN.js} +1 -1
  180. package/dist/cdn/{6AI7VUNC.js → KQUFNT7T.js} +2 -2
  181. package/dist/cdn/KT7PMXGA.js +4 -0
  182. package/dist/cdn/{A3GPHEIA.js → KXCBYRV4.js} +2 -2
  183. package/dist/cdn/{IDJ2MEE2.js → L242VOE3.js} +2 -2
  184. package/dist/cdn/{JJSXFI3E.js → LD6CBGKU.js} +1 -1
  185. package/dist/cdn/{GA3HHDOK.js → LDEMONJ6.js} +1 -1
  186. package/dist/cdn/{ON3LYFYX.js → LE66DUH7.js} +1 -1
  187. package/dist/cdn/LHZB72CD.js +4 -0
  188. package/dist/cdn/{VP7HYRKK.js → LL5VZF2Q.js} +2 -2
  189. package/dist/cdn/{WL4C7OQO.js → LLGW3NQS.js} +2 -2
  190. package/dist/cdn/{GYLANBI7.js → LN6USQPS.js} +2 -2
  191. package/dist/cdn/{ZRLX6PFY.js → LTQOBSJN.js} +2 -2
  192. package/dist/cdn/LXIIUKY2.js +4 -0
  193. package/dist/cdn/{2QXPV6MJ.js → LZAIQWSO.js} +1 -1
  194. package/dist/cdn/{RBAA5WU7.js → M37BLODC.js} +2 -2
  195. package/dist/cdn/{KBMIAAKV.js → M4NHSSZN.js} +2 -2
  196. package/dist/cdn/{IJFP6IYJ.js → M5N2WO7P.js} +1 -1
  197. package/dist/cdn/MBGMRLIH.js +4 -0
  198. package/dist/cdn/{U3RXZWYP.js → MKLDTTCJ.js} +3 -3
  199. package/dist/cdn/{YWFHVXCU.js → MN5TZ256.js} +2 -2
  200. package/dist/cdn/{NGK5LXB4.js → MR55Z6WO.js} +2 -2
  201. package/dist/cdn/{LDMBWRJ2.js → MUNVTRCN.js} +2 -2
  202. package/dist/cdn/{KAAYAMPB.js → MXOT5PUZ.js} +2 -2
  203. package/dist/cdn/{SM4HOSWX.js → N3R2D3PG.js} +2 -2
  204. package/dist/cdn/{JR4FDHJV.js → N6SLQWTW.js} +1 -1
  205. package/dist/cdn/{JMWUJQK2.js → N72YRLQ7.js} +2 -2
  206. package/dist/cdn/{H32QCDC5.js → NBEDIH4W.js} +2 -2
  207. package/dist/cdn/{CQDMLEO4.js → NCJ2I73D.js} +2 -2
  208. package/dist/cdn/{ULV4RPG3.js → NFY7ISUG.js} +1 -1
  209. package/dist/cdn/{AYVB7B36.js → NHPN2YJK.js} +2 -2
  210. package/dist/cdn/{V6OJBIYS.js → NNELMBLR.js} +2 -2
  211. package/dist/cdn/{FZY7BVC4.js → NPWD67PP.js} +2 -2
  212. package/dist/cdn/{XUVASCHV.js → NQGNXR4Q.js} +2 -2
  213. package/dist/cdn/{ZZFSHCXN.js → NQOOA4DA.js} +2 -2
  214. package/dist/cdn/{KRVVWCUC.js → NSDXA35B.js} +2 -2
  215. package/dist/cdn/{6JDFBSAZ.js → NWFVFKP3.js} +2 -2
  216. package/dist/cdn/{LXPF3CRE.js → NXVVQPPI.js} +2 -2
  217. package/dist/cdn/{6BNTXUKU.js → O4OYUHRJ.js} +2 -2
  218. package/dist/cdn/{HSTKJ4EJ.js → OARAV5SK.js} +2 -2
  219. package/dist/cdn/{VDZDQQZT.js → OCE7DIYL.js} +2 -2
  220. package/dist/cdn/{MMBZ5ATE.js → OHLP5JH6.js} +2 -2
  221. package/dist/cdn/{YZHQ53UF.js → OJ5UKGNG.js} +2 -2
  222. package/dist/cdn/{ZDHGP7DT.js → OKWYLM3P.js} +2 -2
  223. package/dist/cdn/{OY3DZINK.js → OMZT4IAY.js} +2 -2
  224. package/dist/cdn/{U5B74HAP.js → ON7GTUG3.js} +2 -2
  225. package/dist/cdn/{HO74JJRP.js → ONIPHEKH.js} +2 -2
  226. package/dist/cdn/{3AYHAOYG.js → ONMXRZAM.js} +2 -2
  227. package/dist/cdn/{KJTQNESB.js → OODYEAXB.js} +2 -2
  228. package/dist/cdn/{PE44UHT7.js → OOSF3I37.js} +2 -2
  229. package/dist/cdn/{QXZJYYLH.js → OW6NRYMQ.js} +2 -2
  230. package/dist/cdn/{7HZDK3W6.js → OXFQPQ5G.js} +2 -2
  231. package/dist/cdn/P25KDC37.js +4 -0
  232. package/dist/cdn/{LC4BOPVU.js → P3EPS2N5.js} +2 -2
  233. package/dist/cdn/{NOXBAPMJ.js → P6W2FEKM.js} +1 -1
  234. package/dist/cdn/{WEDZZEHJ.js → PFQ6LNZK.js} +2 -2
  235. package/dist/cdn/PHWLVVLI.js +4 -0
  236. package/dist/cdn/{6YHC3QYS.js → PLAR2IUW.js} +2 -2
  237. package/dist/cdn/{DY64KZ3R.js → PP2JE4NX.js} +2 -2
  238. package/dist/cdn/{SND4E3UY.js → PVFOBXZC.js} +2 -2
  239. package/dist/cdn/{G754OABR.js → PY477YRN.js} +2 -2
  240. package/dist/cdn/{YN4TV4WT.js → Q3GRHQV4.js} +2 -2
  241. package/dist/cdn/{YOO6KYX2.js → Q42JUSHT.js} +2 -2
  242. package/dist/cdn/{RGNKZOFT.js → Q5C3TELJ.js} +1 -1
  243. package/dist/cdn/{TH3PLQUX.js → QAGNMJ2B.js} +2 -2
  244. package/dist/cdn/{UU7TFGJE.js → QEVDDGTV.js} +2 -2
  245. package/dist/cdn/{IMOD7IV2.js → QGXJ7WC2.js} +1 -1
  246. package/dist/cdn/{QPAWKN4K.js → QIEHRX5G.js} +2 -2
  247. package/dist/cdn/{XEOVVNPD.js → QILFZPSI.js} +2 -2
  248. package/dist/cdn/{H2CSTZQH.js → QOCGSVKN.js} +2 -2
  249. package/dist/cdn/{335IJWLK.js → QOZE4A2X.js} +2 -2
  250. package/dist/cdn/{I7O2CLE4.js → QPOUI3D4.js} +2 -2
  251. package/dist/cdn/{VKOEH2Q7.js → QR6AO4JC.js} +2 -2
  252. package/dist/cdn/{6TY4OFVQ.js → QSC566XK.js} +2 -2
  253. package/dist/cdn/{PRG4Z24G.js → QVL644KY.js} +2 -2
  254. package/dist/cdn/{CS44V6JE.js → QXP24AP5.js} +2 -2
  255. package/dist/cdn/R45RIZUI.js +4 -0
  256. package/dist/cdn/{I3ZRVEBN.js → R46C47BG.js} +2 -2
  257. package/dist/cdn/{P4YLC5YD.js → R4B3LRRV.js} +2 -2
  258. package/dist/cdn/R4ROE632.js +4 -0
  259. package/dist/cdn/{ST3LSPOH.js → RDRHUSYB.js} +2 -2
  260. package/dist/cdn/{PGGOINZL.js → REHDDZHX.js} +2 -2
  261. package/dist/cdn/{LJN6AZI3.js → RFWLJXGR.js} +2 -2
  262. package/dist/cdn/{IPN5XMV7.js → RI776J5T.js} +1 -1
  263. package/dist/cdn/{WZZGWV7P.js → RK3QSXVH.js} +1 -1
  264. package/dist/cdn/{NXIVNVM5.js → ROOLMDLS.js} +2 -2
  265. package/dist/cdn/ROQWXHB4.js +4 -0
  266. package/dist/cdn/{GL66XKZT.js → RRPVDUGA.js} +2 -2
  267. package/dist/cdn/{TGIBP4E4.js → RRX2DQXO.js} +2 -2
  268. package/dist/cdn/{FDOYG2PD.js → RZXPKOS5.js} +2 -2
  269. package/dist/cdn/{ZGUWAA6F.js → S4ZB6ESK.js} +1 -1
  270. package/dist/cdn/{HN3D3O5Z.js → SMPA7W4J.js} +2 -2
  271. package/dist/cdn/{PHXS7HK2.js → SNOD5TJB.js} +2 -2
  272. package/dist/cdn/{7WSQSV4F.js → SPFE5X5Z.js} +2 -2
  273. package/dist/cdn/{BNKZKRF6.js → SRX6RO4O.js} +2 -2
  274. package/dist/cdn/{JR56GUWM.js → SUQZWLT4.js} +2 -2
  275. package/dist/cdn/{XEH6HFGF.js → T73TKF6R.js} +2 -2
  276. package/dist/cdn/{7EF6FL4W.js → T7ISCKRV.js} +2 -2
  277. package/dist/cdn/{TDDFAAEM.js → TC22V2X7.js} +2 -2
  278. package/dist/cdn/{V7KNKIV2.js → TIM5VOKZ.js} +2 -2
  279. package/dist/cdn/{PJWYTWC3.js → TS36MNKY.js} +2 -2
  280. package/dist/cdn/{GY72GYNG.js → TUB23EQB.js} +2 -2
  281. package/dist/cdn/{SJSJEZIS.js → U3JKVIW6.js} +2 -2
  282. package/dist/cdn/{RW7VYC3T.js → UBRIOK4U.js} +2 -2
  283. package/dist/cdn/{ZU5DZLL3.js → UBTYFAIZ.js} +2 -2
  284. package/dist/cdn/{JO34YO2O.js → UBVRLJ4D.js} +1 -1
  285. package/dist/cdn/{6KV772TU.js → UDHCVI3V.js} +2 -2
  286. package/dist/cdn/{JKPPLWXK.js → UF5TLGRU.js} +2 -2
  287. package/dist/cdn/{PXNRKXHH.js → UKB6IX4Y.js} +2 -2
  288. package/dist/cdn/{3MZL7XFY.js → UKKUUKG5.js} +2 -2
  289. package/dist/cdn/{ABK5BSJI.js → UMDOYG32.js} +2 -2
  290. package/dist/cdn/UOVL45MR.js +4 -0
  291. package/dist/cdn/{QGNXX5AJ.js → UPEJE73P.js} +2 -2
  292. package/dist/cdn/{WCUURKSN.js → UPHCY6HE.js} +2 -2
  293. package/dist/cdn/{UBWJID5B.js → UVKAEV3M.js} +2 -2
  294. package/dist/cdn/{TOFXXIWL.js → UWXZL5NI.js} +2 -2
  295. package/dist/cdn/{WL4QZECS.js → UZ5SPE7D.js} +2 -2
  296. package/dist/cdn/{ALT3WNKP.js → V4OZLFLC.js} +2 -2
  297. package/dist/cdn/{FA55ENKG.js → VIPGDMNM.js} +2 -2
  298. package/dist/cdn/{PNOYIYWI.js → VKKXCSQQ.js} +2 -2
  299. package/dist/cdn/{EOLGJVXV.js → VL5ZA2WS.js} +2 -2
  300. package/dist/cdn/{YGBXTJXM.js → VL6GZBNO.js} +2 -2
  301. package/dist/cdn/{SO5HPTRA.js → VNB5W653.js} +2 -2
  302. package/dist/cdn/{C5KHG53E.js → VQYWH34I.js} +2 -2
  303. package/dist/cdn/{VNSE5CSU.js → VUNTWUDR.js} +2 -2
  304. package/dist/cdn/{DP5DN2BH.js → VUUEK5JJ.js} +1 -1
  305. package/dist/cdn/{76PLP63F.js → WAV7RBNQ.js} +2 -2
  306. package/dist/cdn/{OQHVVJDN.js → WFRF4DR6.js} +2 -2
  307. package/dist/cdn/{UGJ6UATN.js → WLBCKBUT.js} +2 -2
  308. package/dist/cdn/{D45DV5MQ.js → WVRRIEBA.js} +2 -2
  309. package/dist/cdn/{VDTFMVRT.js → X5RNV7G6.js} +2 -2
  310. package/dist/cdn/{QMSBJMWC.js → XGGEVEIS.js} +2 -2
  311. package/dist/cdn/{FVUTBX6V.js → XHWHUWRX.js} +1 -1
  312. package/dist/cdn/{47O2QMUF.js → XJ2C4CQD.js} +2 -2
  313. package/dist/cdn/{B4LKY6M4.js → XKSYDBIS.js} +2 -2
  314. package/dist/cdn/{GHE6NK55.js → XKXC2ZOZ.js} +2 -2
  315. package/dist/cdn/{UNX5F7VT.js → XM5I7QNU.js} +2 -2
  316. package/dist/cdn/{VYOVGNGV.js → XOAHH3OA.js} +2 -2
  317. package/dist/cdn/{QPGO5ZMJ.js → XQ2GPEE7.js} +2 -2
  318. package/dist/cdn/{DCWUWXLG.js → XYLRI7IB.js} +2 -2
  319. package/dist/cdn/{QBLPQUYO.js → Y5HSU2WS.js} +2 -2
  320. package/dist/cdn/{ZPZHG3PJ.js → YJMWNEOD.js} +1 -1
  321. package/dist/cdn/{Z6K4M5OQ.js → YLFHFZFD.js} +2 -2
  322. package/dist/cdn/{ZKLHJ6UY.js → YOETHDAR.js} +4 -4
  323. package/dist/cdn/{CVLYQTVO.js → YOMKVDM4.js} +2 -2
  324. package/dist/cdn/{ZKOH55HU.js → YSLCRJIE.js} +2 -2
  325. package/dist/cdn/{5GE6JEPN.js → YSV2HDCH.js} +2 -2
  326. package/dist/cdn/{YMLBQ7QX.js → YT5AK3OC.js} +2 -2
  327. package/dist/cdn/{VEGSCYA3.js → YTOQVXYX.js} +2 -2
  328. package/dist/cdn/{N5FFLPE4.js → YU47G4J5.js} +1 -1
  329. package/dist/cdn/{5BDXRQGC.js → YWQJ22RR.js} +3 -3
  330. package/dist/cdn/{KS4OJ5HX.js → YZXFUVZY.js} +2 -2
  331. package/dist/cdn/{4BQ6HVUZ.js → Z2VOZVEU.js} +2 -2
  332. package/dist/cdn/{OREO6VFN.js → ZH6RL2IW.js} +2 -2
  333. package/dist/cdn/{CCUH5T2M.js → ZV3LESDT.js} +2 -2
  334. package/dist/cdn/{SR3UD4TQ.js → ZY46XIQV.js} +1 -1
  335. package/dist/cdn/{KGFRKTDV.js → ZYTT6RLT.js} +2 -2
  336. package/dist/cdn/index.js +2 -2
  337. package/dist/chunks/Auth.js +1 -1
  338. package/dist/chunks/cardFetchingUtils.js +1 -1
  339. package/dist/chunks/cardsHelpers.js +1 -1
  340. package/dist/chunks/common.js +1 -1
  341. package/dist/chunks/deployAppContexts.js +1 -1
  342. package/dist/chunks/downloadUtils.js +1 -1
  343. package/dist/chunks/getItemIcon.js +1 -1
  344. package/dist/chunks/getRelatedInfos.js +1 -1
  345. package/dist/chunks/helpers.js +1 -1
  346. package/dist/chunks/interfaces.js +1 -1
  347. package/dist/chunks/mapViewUtils.js +1 -1
  348. package/dist/chunks/pciUtils.js +1 -1
  349. package/dist/chunks/popupUtils.js +1 -1
  350. package/dist/chunks/publicNotificationContext.js +1 -1
  351. package/dist/chunks/queryUtils.js +1 -1
  352. package/dist/chunks/runtime.js +1 -1
  353. package/dist/chunks/solution-deploy-dialog.js +2 -2
  354. package/dist/chunks/solutions-deploy-app-nav.js +2 -2
  355. package/dist/chunks/useT9n.js +1 -1
  356. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  357. package/dist/components/buffer-tools/customElement.js +1 -1
  358. package/dist/components/card-manager/customElement.js +1 -1
  359. package/dist/components/consent-manager/customElement.js +1 -1
  360. package/dist/components/create-feature/customElement.js +1 -1
  361. package/dist/components/create-related-feature/customElement.js +1 -1
  362. package/dist/components/crowdsource-manager/customElement.js +1 -1
  363. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  364. package/dist/components/deduct-calculator/customElement.js +1 -1
  365. package/dist/components/delete-button/customElement.js +1 -1
  366. package/dist/components/delete-dialog/customElement.js +1 -1
  367. package/dist/components/edit-card/customElement.js +1 -1
  368. package/dist/components/feature-details/customElement.js +1 -1
  369. package/dist/components/feature-list/customElement.js +1 -1
  370. package/dist/components/field-selection/customElement.js +1 -1
  371. package/dist/components/info-card/customElement.js +1 -1
  372. package/dist/components/layer-list/customElement.js +1 -1
  373. package/dist/components/layer-table/customElement.js +1 -1
  374. package/dist/components/map-basemap-gallery/customElement.js +1 -1
  375. package/dist/components/map-card/customElement.js +1 -1
  376. package/dist/components/map-draw-tools/customElement.js +1 -1
  377. package/dist/components/map-floor-filter/customElement.js +1 -1
  378. package/dist/components/map-fullscreen/customElement.js +1 -1
  379. package/dist/components/map-layer-picker/customElement.js +1 -1
  380. package/dist/components/map-legend/customElement.js +1 -1
  381. package/dist/components/map-picker/customElement.js +1 -1
  382. package/dist/components/map-search/customElement.js +1 -1
  383. package/dist/components/map-select-tools/customElement.js +1 -1
  384. package/dist/components/map-tools/customElement.js +1 -1
  385. package/dist/components/pci-calculator/customElement.js +1 -1
  386. package/dist/components/pdf-download/customElement.js +1 -1
  387. package/dist/components/public-notification/customElement.js +1 -1
  388. package/dist/components/refine-selection/customElement.js +1 -1
  389. package/dist/components/selection-tool/customElement.js +1 -1
  390. package/dist/components/solution-configure-titles/customElement.js +1 -1
  391. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  392. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  393. package/dist/components/solution-deployed-card/customElement.js +1 -1
  394. package/dist/components/solution-deployed-card-panel/customElement.js +1 -1
  395. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  396. package/dist/components/solution-details-card/customElement.js +1 -1
  397. package/dist/components/solution-details-panel/customElement.js +1 -1
  398. package/dist/components/solution-item-accordion/customElement.js +1 -1
  399. package/dist/components/solution-item-diagram/customElement.js +1 -1
  400. package/dist/components/solution-item-icon/customElement.js +1 -1
  401. package/dist/components/solution-resource-card/customElement.js +1 -1
  402. package/dist/components/solution-snapshot-gallery/customElement.js +8 -2
  403. package/dist/components/solution-social-share/customElement.js +1 -1
  404. package/dist/components/solutions-all-panel/customElement.js +1 -1
  405. package/dist/components/solutions-all-shell/customElement.js +1 -1
  406. package/dist/components/solutions-deploy-app/customElement.js +1 -1
  407. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
  408. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  409. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  410. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  411. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  412. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  413. package/dist/components/solutions-resources/customElement.js +1 -1
  414. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  415. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  416. package/dist/docs/api.json +1 -1
  417. package/dist/docs/docs.json +1 -1
  418. package/dist/docs/web-types.json +1 -1
  419. package/dist/index.js +1 -1
  420. package/dist/loader.js +1 -1
  421. package/dist/solutions-components_commit.txt +4 -7
  422. package/dist/utils/CardsFetcher.d.ts +1 -1
  423. package/dist/utils/interfaces.d.ts +1 -1
  424. package/package.json +2 -2
  425. package/dist/cdn/3OR6MX3P.js +0 -4
  426. package/dist/cdn/4ECRO5MM.js +0 -4
  427. package/dist/cdn/6B4DZ4TB.js +0 -4
  428. package/dist/cdn/6KJHU46H.js +0 -4
  429. package/dist/cdn/6S4J25PH.js +0 -4
  430. package/dist/cdn/7WMQRBLI.js +0 -4
  431. package/dist/cdn/CXOJUQSB.js +0 -4
  432. package/dist/cdn/FA3NONVN.js +0 -4
  433. package/dist/cdn/HGI4MAOS.js +0 -4
  434. package/dist/cdn/LTP4KDHN.js +0 -4
  435. package/dist/cdn/MBKQH4XN.js +0 -4
  436. package/dist/cdn/OKZPVAJX.js +0 -4
  437. package/dist/cdn/OLARMEAY.js +0 -4
  438. package/dist/cdn/OLHYZPZ2.js +0 -4
  439. package/dist/cdn/PGQJL6ID.js +0 -4
  440. package/dist/cdn/PVPF7AIK.js +0 -4
  441. package/dist/cdn/SQQZSBAA.js +0 -4
  442. package/dist/cdn/TP4DQLXN.js +0 -4
  443. package/dist/cdn/UO3HK7SK.js +0 -4
  444. package/dist/cdn/VYRKHAH2.js +0 -4
  445. package/dist/cdn/ZZUP4X2F.js +0 -4
@@ -1,5 +1,5 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.90 */
4
- import"./ZGUWAA6F.js";var{entries:_t,setPrototypeOf:ct,isFrozen:Yt,getPrototypeOf:Xt,getOwnPropertyDescriptor:jt}=Object,{freeze:S,seal:y,create:ve}=Object,{apply:ke,construct:Ue}=typeof Reflect<"u"&&Reflect;S||(S=function(o){return o});y||(y=function(o){return o});ke||(ke=function(o,l){for(var a=arguments.length,c=new Array(a>2?a-2:0),O=2;O<a;O++)c[O-2]=arguments[O];return o.apply(l,c)});Ue||(Ue=function(o){for(var l=arguments.length,a=new Array(l>1?l-1:0),c=1;c<l;c++)a[c-1]=arguments[c];return new o(...a)});var ce=R(Array.prototype.forEach),Vt=R(Array.prototype.lastIndexOf),ft=R(Array.prototype.pop),q=R(Array.prototype.push),$t=R(Array.prototype.splice),ue=R(String.prototype.toLowerCase),Ie=R(String.prototype.toString),Ce=R(String.prototype.match),K=R(String.prototype.replace),qt=R(String.prototype.indexOf),Kt=R(String.prototype.trim),L=R(Object.prototype.hasOwnProperty),h=R(RegExp.prototype.test),Z=Zt(TypeError);function R(s){return function(o){o instanceof RegExp&&(o.lastIndex=0);for(var l=arguments.length,a=new Array(l>1?l-1:0),c=1;c<l;c++)a[c-1]=arguments[c];return ke(s,o,a)}}function Zt(s){return function(){for(var o=arguments.length,l=new Array(o),a=0;a<o;a++)l[a]=arguments[a];return Ue(s,l)}}function r(s,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ue;ct&&ct(s,null);let a=o.length;for(;a--;){let c=o[a];if(typeof c=="string"){let O=l(c);O!==c&&(Yt(o)||(o[a]=O),c=O)}s[c]=!0}return s}function Jt(s){for(let o=0;o<s.length;o++)L(s,o)||(s[o]=null);return s}function I(s){let o=ve(null);for(let[l,a]of _t(s))L(s,l)&&(Array.isArray(a)?o[l]=Jt(a):a&&typeof a=="object"&&a.constructor===Object?o[l]=I(a):o[l]=a);return o}function J(s,o){for(;s!==null;){let a=jt(s,o);if(a){if(a.get)return R(a.get);if(typeof a.value=="function")return R(a.value)}s=Xt(s)}function l(){return null}return l}var ut=S(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Me=S(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),we=S(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Qt=S(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),xe=S(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),en=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),mt=S(["#text"]),pt=S(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Pe=S(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),dt=S(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),fe=S(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),tn=y(/\{\{[\w\W]*|[\w\W]*\}\}/gm),nn=y(/<%[\w\W]*|[\w\W]*%>/gm),on=y(/\$\{[\w\W]*/gm),an=y(/^data-[\-\w.\u00B7-\uFFFF]+$/),rn=y(/^aria-[\-\w]+$/),gt=y(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),sn=y(/^(?:\w+script|data):/i),ln=y(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),At=y(/^html$/i),cn=y(/^[a-z][.\w]*(-[.\w]+)+$/i),Tt=Object.freeze({__proto__:null,ARIA_ATTR:rn,ATTR_WHITESPACE:ln,CUSTOM_ELEMENT:cn,DATA_ATTR:an,DOCTYPE_NAME:At,ERB_EXPR:nn,IS_ALLOWED_URI:gt,IS_SCRIPT_OR_DATA:sn,MUSTACHE_EXPR:tn,TMPLIT_EXPR:on}),Q={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},fn=function(){return typeof window>"u"?null:window},un=function(o,l){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let a=null,c="data-tt-policy-suffix";l&&l.hasAttribute(c)&&(a=l.getAttribute(c));let O="dompurify"+(a?"#"+a:"");try{return o.createPolicy(O,{createHTML(v){return v},createScriptURL(v){return v}})}catch{return console.warn("TrustedTypes policy "+O+" could not be created."),null}},Et=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function ht(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:fn(),o=i=>ht(i);if(o.version="3.3.1",o.removed=[],!s||!s.document||s.document.nodeType!==Q.document||!s.Element)return o.isSupported=!1,o;let{document:l}=s,a=l,c=a.currentScript,{DocumentFragment:O,HTMLTemplateElement:v,Node:me,Element:Fe,NodeFilter:B,NamedNodeMap:St=s.NamedNodeMap||s.MozNamedAttrMap,HTMLFormElement:Rt,DOMParser:Ot,trustedTypes:ee}=s,Y=Fe.prototype,Dt=J(Y,"cloneNode"),yt=J(Y,"remove"),Lt=J(Y,"nextSibling"),bt=J(Y,"childNodes"),te=J(Y,"parentNode");if(typeof v=="function"){let i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let g,X="",{implementation:pe,createNodeIterator:Nt,createDocumentFragment:It,getElementsByTagName:Ct}=l,{importNode:Mt}=a,A=Et();o.isSupported=typeof _t=="function"&&typeof te=="function"&&pe&&pe.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:de,ERB_EXPR:Te,TMPLIT_EXPR:Ee,DATA_ATTR:wt,ARIA_ATTR:xt,IS_SCRIPT_OR_DATA:Pt,ATTR_WHITESPACE:He,CUSTOM_ELEMENT:vt}=Tt,{IS_ALLOWED_URI:ze}=Tt,d=null,Ge=r({},[...ut,...Me,...we,...xe,...mt]),T=null,We=r({},[...pt,...Pe,...dt,...fe]),u=Object.seal(ve(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),j=null,_e=null,k=Object.seal(ve(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),Be=!0,ge=!0,Ye=!1,Xe=!0,U=!1,ne=!0,x=!1,Ae=!1,he=!1,F=!1,oe=!1,ie=!1,je=!0,Ve=!1,kt="user-content-",Se=!0,V=!1,H={},b=null,Re=r({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),$e=null,qe=r({},["audio","video","img","source","image","track"]),Oe=null,Ke=r({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ae="http://www.w3.org/1998/Math/MathML",re="http://www.w3.org/2000/svg",C="http://www.w3.org/1999/xhtml",z=C,De=!1,ye=null,Ut=r({},[ae,re,C],Ie),se=r({},["mi","mo","mn","ms","mtext"]),le=r({},["annotation-xml"]),Ft=r({},["title","style","font","a","script"]),$=null,Ht=["application/xhtml+xml","text/html"],zt="text/html",p=null,G=null,Gt=l.createElement("form"),Ze=function(e){return e instanceof RegExp||e instanceof Function},Le=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(G&&G===e)){if((!e||typeof e!="object")&&(e={}),e=I(e),$=Ht.indexOf(e.PARSER_MEDIA_TYPE)===-1?zt:e.PARSER_MEDIA_TYPE,p=$==="application/xhtml+xml"?Ie:ue,d=L(e,"ALLOWED_TAGS")?r({},e.ALLOWED_TAGS,p):Ge,T=L(e,"ALLOWED_ATTR")?r({},e.ALLOWED_ATTR,p):We,ye=L(e,"ALLOWED_NAMESPACES")?r({},e.ALLOWED_NAMESPACES,Ie):Ut,Oe=L(e,"ADD_URI_SAFE_ATTR")?r(I(Ke),e.ADD_URI_SAFE_ATTR,p):Ke,$e=L(e,"ADD_DATA_URI_TAGS")?r(I(qe),e.ADD_DATA_URI_TAGS,p):qe,b=L(e,"FORBID_CONTENTS")?r({},e.FORBID_CONTENTS,p):Re,j=L(e,"FORBID_TAGS")?r({},e.FORBID_TAGS,p):I({}),_e=L(e,"FORBID_ATTR")?r({},e.FORBID_ATTR,p):I({}),H=L(e,"USE_PROFILES")?e.USE_PROFILES:!1,Be=e.ALLOW_ARIA_ATTR!==!1,ge=e.ALLOW_DATA_ATTR!==!1,Ye=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Xe=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,U=e.SAFE_FOR_TEMPLATES||!1,ne=e.SAFE_FOR_XML!==!1,x=e.WHOLE_DOCUMENT||!1,F=e.RETURN_DOM||!1,oe=e.RETURN_DOM_FRAGMENT||!1,ie=e.RETURN_TRUSTED_TYPE||!1,he=e.FORCE_BODY||!1,je=e.SANITIZE_DOM!==!1,Ve=e.SANITIZE_NAMED_PROPS||!1,Se=e.KEEP_CONTENT!==!1,V=e.IN_PLACE||!1,ze=e.ALLOWED_URI_REGEXP||gt,z=e.NAMESPACE||C,se=e.MATHML_TEXT_INTEGRATION_POINTS||se,le=e.HTML_INTEGRATION_POINTS||le,u=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ze(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(u.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ze(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(u.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(u.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),U&&(ge=!1),oe&&(F=!0),H&&(d=r({},mt),T=[],H.html===!0&&(r(d,ut),r(T,pt)),H.svg===!0&&(r(d,Me),r(T,Pe),r(T,fe)),H.svgFilters===!0&&(r(d,we),r(T,Pe),r(T,fe)),H.mathMl===!0&&(r(d,xe),r(T,dt),r(T,fe))),e.ADD_TAGS&&(typeof e.ADD_TAGS=="function"?k.tagCheck=e.ADD_TAGS:(d===Ge&&(d=I(d)),r(d,e.ADD_TAGS,p))),e.ADD_ATTR&&(typeof e.ADD_ATTR=="function"?k.attributeCheck=e.ADD_ATTR:(T===We&&(T=I(T)),r(T,e.ADD_ATTR,p))),e.ADD_URI_SAFE_ATTR&&r(Oe,e.ADD_URI_SAFE_ATTR,p),e.FORBID_CONTENTS&&(b===Re&&(b=I(b)),r(b,e.FORBID_CONTENTS,p)),e.ADD_FORBID_CONTENTS&&(b===Re&&(b=I(b)),r(b,e.ADD_FORBID_CONTENTS,p)),Se&&(d["#text"]=!0),x&&r(d,["html","head","body"]),d.table&&(r(d,["tbody"]),delete j.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');g=e.TRUSTED_TYPES_POLICY,X=g.createHTML("")}else g===void 0&&(g=un(ee,c)),g!==null&&typeof X=="string"&&(X=g.createHTML(""));S&&S(e),G=e}},Je=r({},[...Me,...we,...Qt]),Qe=r({},[...xe,...en]),Wt=function(e){let t=te(e);(!t||!t.tagName)&&(t={namespaceURI:z,tagName:"template"});let n=ue(e.tagName),f=ue(t.tagName);return ye[e.namespaceURI]?e.namespaceURI===re?t.namespaceURI===C?n==="svg":t.namespaceURI===ae?n==="svg"&&(f==="annotation-xml"||se[f]):!!Je[n]:e.namespaceURI===ae?t.namespaceURI===C?n==="math":t.namespaceURI===re?n==="math"&&le[f]:!!Qe[n]:e.namespaceURI===C?t.namespaceURI===re&&!le[f]||t.namespaceURI===ae&&!se[f]?!1:!Qe[n]&&(Ft[n]||!Je[n]):!!($==="application/xhtml+xml"&&ye[e.namespaceURI]):!1},N=function(e){q(o.removed,{element:e});try{te(e).removeChild(e)}catch{yt(e)}},P=function(e,t){try{q(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch{q(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(F||oe)try{N(t)}catch{}else try{t.setAttribute(e,"")}catch{}},et=function(e){let t=null,n=null;if(he)e="<remove></remove>"+e;else{let m=Ce(e,/^[\r\n\t ]+/);n=m&&m[0]}$==="application/xhtml+xml"&&z===C&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let f=g?g.createHTML(e):e;if(z===C)try{t=new Ot().parseFromString(f,$)}catch{}if(!t||!t.documentElement){t=pe.createDocument(z,"template",null);try{t.documentElement.innerHTML=De?X:f}catch{}}let _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),z===C?Ct.call(t,x?"html":"body")[0]:x?t.documentElement:_},tt=function(e){return Nt.call(e.ownerDocument||e,e,B.SHOW_ELEMENT|B.SHOW_COMMENT|B.SHOW_TEXT|B.SHOW_PROCESSING_INSTRUCTION|B.SHOW_CDATA_SECTION,null)},be=function(e){return e instanceof Rt&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof St)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},nt=function(e){return typeof me=="function"&&e instanceof me};function M(i,e,t){ce(i,n=>{n.call(o,e,t,G)})}let ot=function(e){let t=null;if(M(A.beforeSanitizeElements,e,null),be(e))return N(e),!0;let n=p(e.nodeName);if(M(A.uponSanitizeElement,e,{tagName:n,allowedTags:d}),ne&&e.hasChildNodes()&&!nt(e.firstElementChild)&&h(/<[/\w!]/g,e.innerHTML)&&h(/<[/\w!]/g,e.textContent)||e.nodeType===Q.progressingInstruction||ne&&e.nodeType===Q.comment&&h(/<[/\w]/g,e.data))return N(e),!0;if(!(k.tagCheck instanceof Function&&k.tagCheck(n))&&(!d[n]||j[n])){if(!j[n]&&at(n)&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n)))return!1;if(Se&&!b[n]){let f=te(e)||e.parentNode,_=bt(e)||e.childNodes;if(_&&f){let m=_.length;for(let D=m-1;D>=0;--D){let w=Dt(_[D],!0);w.__removalCount=(e.__removalCount||0)+1,f.insertBefore(w,Lt(e))}}}return N(e),!0}return e instanceof Fe&&!Wt(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&h(/<\/no(script|embed|frames)/i,e.innerHTML)?(N(e),!0):(U&&e.nodeType===Q.text&&(t=e.textContent,ce([de,Te,Ee],f=>{t=K(t,f," ")}),e.textContent!==t&&(q(o.removed,{element:e.cloneNode()}),e.textContent=t)),M(A.afterSanitizeElements,e,null),!1)},it=function(e,t,n){if(je&&(t==="id"||t==="name")&&(n in l||n in Gt))return!1;if(!(ge&&!_e[t]&&h(wt,t))){if(!(Be&&h(xt,t))){if(!(k.attributeCheck instanceof Function&&k.attributeCheck(t,e))){if(!T[t]||_e[t]){if(!(at(e)&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,e)||u.tagNameCheck instanceof Function&&u.tagNameCheck(e))&&(u.attributeNameCheck instanceof RegExp&&h(u.attributeNameCheck,t)||u.attributeNameCheck instanceof Function&&u.attributeNameCheck(t,e))||t==="is"&&u.allowCustomizedBuiltInElements&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n))))return!1}else if(!Oe[t]){if(!h(ze,K(n,He,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&qt(n,"data:")===0&&$e[e])){if(!(Ye&&!h(Pt,K(n,He,"")))){if(n)return!1}}}}}}}return!0},at=function(e){return e!=="annotation-xml"&&Ce(e,vt)},rt=function(e){M(A.beforeSanitizeAttributes,e,null);let{attributes:t}=e;if(!t||be(e))return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:T,forceKeepAttr:void 0},f=t.length;for(;f--;){let _=t[f],{name:m,namespaceURI:D,value:w}=_,W=p(m),Ne=w,E=m==="value"?Ne:Kt(Ne);if(n.attrName=W,n.attrValue=E,n.keepAttr=!0,n.forceKeepAttr=void 0,M(A.uponSanitizeAttribute,e,n),E=n.attrValue,Ve&&(W==="id"||W==="name")&&(P(m,e),E=kt+E),ne&&h(/((--!?|])>)|<\/(style|title|textarea)/i,E)){P(m,e);continue}if(W==="attributename"&&Ce(E,"href")){P(m,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){P(m,e);continue}if(!Xe&&h(/\/>/i,E)){P(m,e);continue}U&&ce([de,Te,Ee],lt=>{E=K(E,lt," ")});let st=p(e.nodeName);if(!it(st,W,E)){P(m,e);continue}if(g&&typeof ee=="object"&&typeof ee.getAttributeType=="function"&&!D)switch(ee.getAttributeType(st,W)){case"TrustedHTML":{E=g.createHTML(E);break}case"TrustedScriptURL":{E=g.createScriptURL(E);break}}if(E!==Ne)try{D?e.setAttributeNS(D,m,E):e.setAttribute(m,E),be(e)?N(e):ft(o.removed)}catch{P(m,e)}}M(A.afterSanitizeAttributes,e,null)},Bt=function i(e){let t=null,n=tt(e);for(M(A.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)M(A.uponSanitizeShadowNode,t,null),ot(t),rt(t),t.content instanceof O&&i(t.content);M(A.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,f=null,_=null;if(De=!i,De&&(i="<!-->"),typeof i!="string"&&!nt(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw Z("dirty is not a string, aborting")}else throw Z("toString is not a function");if(!o.isSupported)return i;if(Ae||Le(e),o.removed=[],typeof i=="string"&&(V=!1),V){if(i.nodeName){let w=p(i.nodeName);if(!d[w]||j[w])throw Z("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof me)t=et("<!---->"),n=t.ownerDocument.importNode(i,!0),n.nodeType===Q.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!F&&!U&&!x&&i.indexOf("<")===-1)return g&&ie?g.createHTML(i):i;if(t=et(i),!t)return F?null:ie?X:""}t&&he&&N(t.firstChild);let m=tt(V?i:t);for(;f=m.nextNode();)ot(f),rt(f),f.content instanceof O&&Bt(f.content);if(V)return i;if(F){if(oe)for(_=It.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(T.shadowroot||T.shadowrootmode)&&(_=Mt.call(a,_,!0)),_}let D=x?t.outerHTML:t.innerHTML;return x&&d["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&h(At,t.ownerDocument.doctype.name)&&(D="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
3
+ v1.2.0-next.91 */
4
+ import"./S4ZB6ESK.js";var{entries:_t,setPrototypeOf:ct,isFrozen:Yt,getPrototypeOf:Xt,getOwnPropertyDescriptor:jt}=Object,{freeze:S,seal:y,create:ve}=Object,{apply:ke,construct:Ue}=typeof Reflect<"u"&&Reflect;S||(S=function(o){return o});y||(y=function(o){return o});ke||(ke=function(o,l){for(var a=arguments.length,c=new Array(a>2?a-2:0),O=2;O<a;O++)c[O-2]=arguments[O];return o.apply(l,c)});Ue||(Ue=function(o){for(var l=arguments.length,a=new Array(l>1?l-1:0),c=1;c<l;c++)a[c-1]=arguments[c];return new o(...a)});var ce=R(Array.prototype.forEach),Vt=R(Array.prototype.lastIndexOf),ft=R(Array.prototype.pop),q=R(Array.prototype.push),$t=R(Array.prototype.splice),ue=R(String.prototype.toLowerCase),Ie=R(String.prototype.toString),Ce=R(String.prototype.match),K=R(String.prototype.replace),qt=R(String.prototype.indexOf),Kt=R(String.prototype.trim),L=R(Object.prototype.hasOwnProperty),h=R(RegExp.prototype.test),Z=Zt(TypeError);function R(s){return function(o){o instanceof RegExp&&(o.lastIndex=0);for(var l=arguments.length,a=new Array(l>1?l-1:0),c=1;c<l;c++)a[c-1]=arguments[c];return ke(s,o,a)}}function Zt(s){return function(){for(var o=arguments.length,l=new Array(o),a=0;a<o;a++)l[a]=arguments[a];return Ue(s,l)}}function r(s,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ue;ct&&ct(s,null);let a=o.length;for(;a--;){let c=o[a];if(typeof c=="string"){let O=l(c);O!==c&&(Yt(o)||(o[a]=O),c=O)}s[c]=!0}return s}function Jt(s){for(let o=0;o<s.length;o++)L(s,o)||(s[o]=null);return s}function I(s){let o=ve(null);for(let[l,a]of _t(s))L(s,l)&&(Array.isArray(a)?o[l]=Jt(a):a&&typeof a=="object"&&a.constructor===Object?o[l]=I(a):o[l]=a);return o}function J(s,o){for(;s!==null;){let a=jt(s,o);if(a){if(a.get)return R(a.get);if(typeof a.value=="function")return R(a.value)}s=Xt(s)}function l(){return null}return l}var ut=S(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Me=S(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),we=S(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Qt=S(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),xe=S(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),en=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),mt=S(["#text"]),pt=S(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Pe=S(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),dt=S(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),fe=S(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),tn=y(/\{\{[\w\W]*|[\w\W]*\}\}/gm),nn=y(/<%[\w\W]*|[\w\W]*%>/gm),on=y(/\$\{[\w\W]*/gm),an=y(/^data-[\-\w.\u00B7-\uFFFF]+$/),rn=y(/^aria-[\-\w]+$/),gt=y(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),sn=y(/^(?:\w+script|data):/i),ln=y(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),At=y(/^html$/i),cn=y(/^[a-z][.\w]*(-[.\w]+)+$/i),Tt=Object.freeze({__proto__:null,ARIA_ATTR:rn,ATTR_WHITESPACE:ln,CUSTOM_ELEMENT:cn,DATA_ATTR:an,DOCTYPE_NAME:At,ERB_EXPR:nn,IS_ALLOWED_URI:gt,IS_SCRIPT_OR_DATA:sn,MUSTACHE_EXPR:tn,TMPLIT_EXPR:on}),Q={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},fn=function(){return typeof window>"u"?null:window},un=function(o,l){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let a=null,c="data-tt-policy-suffix";l&&l.hasAttribute(c)&&(a=l.getAttribute(c));let O="dompurify"+(a?"#"+a:"");try{return o.createPolicy(O,{createHTML(v){return v},createScriptURL(v){return v}})}catch{return console.warn("TrustedTypes policy "+O+" could not be created."),null}},Et=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function ht(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:fn(),o=i=>ht(i);if(o.version="3.3.1",o.removed=[],!s||!s.document||s.document.nodeType!==Q.document||!s.Element)return o.isSupported=!1,o;let{document:l}=s,a=l,c=a.currentScript,{DocumentFragment:O,HTMLTemplateElement:v,Node:me,Element:Fe,NodeFilter:B,NamedNodeMap:St=s.NamedNodeMap||s.MozNamedAttrMap,HTMLFormElement:Rt,DOMParser:Ot,trustedTypes:ee}=s,Y=Fe.prototype,Dt=J(Y,"cloneNode"),yt=J(Y,"remove"),Lt=J(Y,"nextSibling"),bt=J(Y,"childNodes"),te=J(Y,"parentNode");if(typeof v=="function"){let i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let g,X="",{implementation:pe,createNodeIterator:Nt,createDocumentFragment:It,getElementsByTagName:Ct}=l,{importNode:Mt}=a,A=Et();o.isSupported=typeof _t=="function"&&typeof te=="function"&&pe&&pe.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:de,ERB_EXPR:Te,TMPLIT_EXPR:Ee,DATA_ATTR:wt,ARIA_ATTR:xt,IS_SCRIPT_OR_DATA:Pt,ATTR_WHITESPACE:He,CUSTOM_ELEMENT:vt}=Tt,{IS_ALLOWED_URI:ze}=Tt,d=null,Ge=r({},[...ut,...Me,...we,...xe,...mt]),T=null,We=r({},[...pt,...Pe,...dt,...fe]),u=Object.seal(ve(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),j=null,_e=null,k=Object.seal(ve(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),Be=!0,ge=!0,Ye=!1,Xe=!0,U=!1,ne=!0,x=!1,Ae=!1,he=!1,F=!1,oe=!1,ie=!1,je=!0,Ve=!1,kt="user-content-",Se=!0,V=!1,H={},b=null,Re=r({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),$e=null,qe=r({},["audio","video","img","source","image","track"]),Oe=null,Ke=r({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ae="http://www.w3.org/1998/Math/MathML",re="http://www.w3.org/2000/svg",C="http://www.w3.org/1999/xhtml",z=C,De=!1,ye=null,Ut=r({},[ae,re,C],Ie),se=r({},["mi","mo","mn","ms","mtext"]),le=r({},["annotation-xml"]),Ft=r({},["title","style","font","a","script"]),$=null,Ht=["application/xhtml+xml","text/html"],zt="text/html",p=null,G=null,Gt=l.createElement("form"),Ze=function(e){return e instanceof RegExp||e instanceof Function},Le=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(G&&G===e)){if((!e||typeof e!="object")&&(e={}),e=I(e),$=Ht.indexOf(e.PARSER_MEDIA_TYPE)===-1?zt:e.PARSER_MEDIA_TYPE,p=$==="application/xhtml+xml"?Ie:ue,d=L(e,"ALLOWED_TAGS")?r({},e.ALLOWED_TAGS,p):Ge,T=L(e,"ALLOWED_ATTR")?r({},e.ALLOWED_ATTR,p):We,ye=L(e,"ALLOWED_NAMESPACES")?r({},e.ALLOWED_NAMESPACES,Ie):Ut,Oe=L(e,"ADD_URI_SAFE_ATTR")?r(I(Ke),e.ADD_URI_SAFE_ATTR,p):Ke,$e=L(e,"ADD_DATA_URI_TAGS")?r(I(qe),e.ADD_DATA_URI_TAGS,p):qe,b=L(e,"FORBID_CONTENTS")?r({},e.FORBID_CONTENTS,p):Re,j=L(e,"FORBID_TAGS")?r({},e.FORBID_TAGS,p):I({}),_e=L(e,"FORBID_ATTR")?r({},e.FORBID_ATTR,p):I({}),H=L(e,"USE_PROFILES")?e.USE_PROFILES:!1,Be=e.ALLOW_ARIA_ATTR!==!1,ge=e.ALLOW_DATA_ATTR!==!1,Ye=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Xe=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,U=e.SAFE_FOR_TEMPLATES||!1,ne=e.SAFE_FOR_XML!==!1,x=e.WHOLE_DOCUMENT||!1,F=e.RETURN_DOM||!1,oe=e.RETURN_DOM_FRAGMENT||!1,ie=e.RETURN_TRUSTED_TYPE||!1,he=e.FORCE_BODY||!1,je=e.SANITIZE_DOM!==!1,Ve=e.SANITIZE_NAMED_PROPS||!1,Se=e.KEEP_CONTENT!==!1,V=e.IN_PLACE||!1,ze=e.ALLOWED_URI_REGEXP||gt,z=e.NAMESPACE||C,se=e.MATHML_TEXT_INTEGRATION_POINTS||se,le=e.HTML_INTEGRATION_POINTS||le,u=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ze(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(u.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ze(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(u.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(u.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),U&&(ge=!1),oe&&(F=!0),H&&(d=r({},mt),T=[],H.html===!0&&(r(d,ut),r(T,pt)),H.svg===!0&&(r(d,Me),r(T,Pe),r(T,fe)),H.svgFilters===!0&&(r(d,we),r(T,Pe),r(T,fe)),H.mathMl===!0&&(r(d,xe),r(T,dt),r(T,fe))),e.ADD_TAGS&&(typeof e.ADD_TAGS=="function"?k.tagCheck=e.ADD_TAGS:(d===Ge&&(d=I(d)),r(d,e.ADD_TAGS,p))),e.ADD_ATTR&&(typeof e.ADD_ATTR=="function"?k.attributeCheck=e.ADD_ATTR:(T===We&&(T=I(T)),r(T,e.ADD_ATTR,p))),e.ADD_URI_SAFE_ATTR&&r(Oe,e.ADD_URI_SAFE_ATTR,p),e.FORBID_CONTENTS&&(b===Re&&(b=I(b)),r(b,e.FORBID_CONTENTS,p)),e.ADD_FORBID_CONTENTS&&(b===Re&&(b=I(b)),r(b,e.ADD_FORBID_CONTENTS,p)),Se&&(d["#text"]=!0),x&&r(d,["html","head","body"]),d.table&&(r(d,["tbody"]),delete j.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');g=e.TRUSTED_TYPES_POLICY,X=g.createHTML("")}else g===void 0&&(g=un(ee,c)),g!==null&&typeof X=="string"&&(X=g.createHTML(""));S&&S(e),G=e}},Je=r({},[...Me,...we,...Qt]),Qe=r({},[...xe,...en]),Wt=function(e){let t=te(e);(!t||!t.tagName)&&(t={namespaceURI:z,tagName:"template"});let n=ue(e.tagName),f=ue(t.tagName);return ye[e.namespaceURI]?e.namespaceURI===re?t.namespaceURI===C?n==="svg":t.namespaceURI===ae?n==="svg"&&(f==="annotation-xml"||se[f]):!!Je[n]:e.namespaceURI===ae?t.namespaceURI===C?n==="math":t.namespaceURI===re?n==="math"&&le[f]:!!Qe[n]:e.namespaceURI===C?t.namespaceURI===re&&!le[f]||t.namespaceURI===ae&&!se[f]?!1:!Qe[n]&&(Ft[n]||!Je[n]):!!($==="application/xhtml+xml"&&ye[e.namespaceURI]):!1},N=function(e){q(o.removed,{element:e});try{te(e).removeChild(e)}catch{yt(e)}},P=function(e,t){try{q(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch{q(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(F||oe)try{N(t)}catch{}else try{t.setAttribute(e,"")}catch{}},et=function(e){let t=null,n=null;if(he)e="<remove></remove>"+e;else{let m=Ce(e,/^[\r\n\t ]+/);n=m&&m[0]}$==="application/xhtml+xml"&&z===C&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let f=g?g.createHTML(e):e;if(z===C)try{t=new Ot().parseFromString(f,$)}catch{}if(!t||!t.documentElement){t=pe.createDocument(z,"template",null);try{t.documentElement.innerHTML=De?X:f}catch{}}let _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),z===C?Ct.call(t,x?"html":"body")[0]:x?t.documentElement:_},tt=function(e){return Nt.call(e.ownerDocument||e,e,B.SHOW_ELEMENT|B.SHOW_COMMENT|B.SHOW_TEXT|B.SHOW_PROCESSING_INSTRUCTION|B.SHOW_CDATA_SECTION,null)},be=function(e){return e instanceof Rt&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof St)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},nt=function(e){return typeof me=="function"&&e instanceof me};function M(i,e,t){ce(i,n=>{n.call(o,e,t,G)})}let ot=function(e){let t=null;if(M(A.beforeSanitizeElements,e,null),be(e))return N(e),!0;let n=p(e.nodeName);if(M(A.uponSanitizeElement,e,{tagName:n,allowedTags:d}),ne&&e.hasChildNodes()&&!nt(e.firstElementChild)&&h(/<[/\w!]/g,e.innerHTML)&&h(/<[/\w!]/g,e.textContent)||e.nodeType===Q.progressingInstruction||ne&&e.nodeType===Q.comment&&h(/<[/\w]/g,e.data))return N(e),!0;if(!(k.tagCheck instanceof Function&&k.tagCheck(n))&&(!d[n]||j[n])){if(!j[n]&&at(n)&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n)))return!1;if(Se&&!b[n]){let f=te(e)||e.parentNode,_=bt(e)||e.childNodes;if(_&&f){let m=_.length;for(let D=m-1;D>=0;--D){let w=Dt(_[D],!0);w.__removalCount=(e.__removalCount||0)+1,f.insertBefore(w,Lt(e))}}}return N(e),!0}return e instanceof Fe&&!Wt(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&h(/<\/no(script|embed|frames)/i,e.innerHTML)?(N(e),!0):(U&&e.nodeType===Q.text&&(t=e.textContent,ce([de,Te,Ee],f=>{t=K(t,f," ")}),e.textContent!==t&&(q(o.removed,{element:e.cloneNode()}),e.textContent=t)),M(A.afterSanitizeElements,e,null),!1)},it=function(e,t,n){if(je&&(t==="id"||t==="name")&&(n in l||n in Gt))return!1;if(!(ge&&!_e[t]&&h(wt,t))){if(!(Be&&h(xt,t))){if(!(k.attributeCheck instanceof Function&&k.attributeCheck(t,e))){if(!T[t]||_e[t]){if(!(at(e)&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,e)||u.tagNameCheck instanceof Function&&u.tagNameCheck(e))&&(u.attributeNameCheck instanceof RegExp&&h(u.attributeNameCheck,t)||u.attributeNameCheck instanceof Function&&u.attributeNameCheck(t,e))||t==="is"&&u.allowCustomizedBuiltInElements&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n))))return!1}else if(!Oe[t]){if(!h(ze,K(n,He,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&qt(n,"data:")===0&&$e[e])){if(!(Ye&&!h(Pt,K(n,He,"")))){if(n)return!1}}}}}}}return!0},at=function(e){return e!=="annotation-xml"&&Ce(e,vt)},rt=function(e){M(A.beforeSanitizeAttributes,e,null);let{attributes:t}=e;if(!t||be(e))return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:T,forceKeepAttr:void 0},f=t.length;for(;f--;){let _=t[f],{name:m,namespaceURI:D,value:w}=_,W=p(m),Ne=w,E=m==="value"?Ne:Kt(Ne);if(n.attrName=W,n.attrValue=E,n.keepAttr=!0,n.forceKeepAttr=void 0,M(A.uponSanitizeAttribute,e,n),E=n.attrValue,Ve&&(W==="id"||W==="name")&&(P(m,e),E=kt+E),ne&&h(/((--!?|])>)|<\/(style|title|textarea)/i,E)){P(m,e);continue}if(W==="attributename"&&Ce(E,"href")){P(m,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){P(m,e);continue}if(!Xe&&h(/\/>/i,E)){P(m,e);continue}U&&ce([de,Te,Ee],lt=>{E=K(E,lt," ")});let st=p(e.nodeName);if(!it(st,W,E)){P(m,e);continue}if(g&&typeof ee=="object"&&typeof ee.getAttributeType=="function"&&!D)switch(ee.getAttributeType(st,W)){case"TrustedHTML":{E=g.createHTML(E);break}case"TrustedScriptURL":{E=g.createScriptURL(E);break}}if(E!==Ne)try{D?e.setAttributeNS(D,m,E):e.setAttribute(m,E),be(e)?N(e):ft(o.removed)}catch{P(m,e)}}M(A.afterSanitizeAttributes,e,null)},Bt=function i(e){let t=null,n=tt(e);for(M(A.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)M(A.uponSanitizeShadowNode,t,null),ot(t),rt(t),t.content instanceof O&&i(t.content);M(A.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,f=null,_=null;if(De=!i,De&&(i="<!-->"),typeof i!="string"&&!nt(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw Z("dirty is not a string, aborting")}else throw Z("toString is not a function");if(!o.isSupported)return i;if(Ae||Le(e),o.removed=[],typeof i=="string"&&(V=!1),V){if(i.nodeName){let w=p(i.nodeName);if(!d[w]||j[w])throw Z("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof me)t=et("<!---->"),n=t.ownerDocument.importNode(i,!0),n.nodeType===Q.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!F&&!U&&!x&&i.indexOf("<")===-1)return g&&ie?g.createHTML(i):i;if(t=et(i),!t)return F?null:ie?X:""}t&&he&&N(t.firstChild);let m=tt(V?i:t);for(;f=m.nextNode();)ot(f),rt(f),f.content instanceof O&&Bt(f.content);if(V)return i;if(F){if(oe)for(_=It.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(T.shadowroot||T.shadowrootmode)&&(_=Mt.call(a,_,!0)),_}let D=x?t.outerHTML:t.innerHTML;return x&&d["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&h(At,t.ownerDocument.doctype.name)&&(D="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
5
5
  `+D),U&&ce([de,Te,Ee],w=>{D=K(D,w," ")}),g&&ie?g.createHTML(D):D},o.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Le(i),Ae=!0},o.clearConfig=function(){G=null,Ae=!1},o.isValidAttribute=function(i,e,t){G||Le({});let n=p(i),f=p(e);return it(n,f,t)},o.addHook=function(i,e){typeof e=="function"&&q(A[i],e)},o.removeHook=function(i,e){if(e!==void 0){let t=Vt(A[i],e);return t===-1?void 0:$t(A[i],t,1)[0]}return ft(A[i])},o.removeHooks=function(i){A[i]=[]},o.removeAllHooks=function(){A=Et()},o}var mn=ht();export{mn as default};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.90 */
4
- import{a as S}from"./BUFVQ4I7.js";import"./NGK5LXB4.js";import f from"./3GR2TJ22.js";import e from"./ZPZHG3PJ.js";import c from"./ZSSBKLW4.js";import"./6YHC3QYS.js";import"./U5B74HAP.js";import{a as v}from"./QMSBJMWC.js";import"./76PLP63F.js";import"./ZNG2SHDX.js";import"./2QXPV6MJ.js";import"./AIHSOICZ.js";import"./ON3LYFYX.js";import"./IMOD7IV2.js";import"./LDMBWRJ2.js";import"./MJTQGN6E.js";import"./DCWUWXLG.js";import"./BISCMLCA.js";import"./MOIOUDYG.js";import"./JVQCHCLL.js";import"./DP5DN2BH.js";import"./7WSQSV4F.js";import"./VNSE5CSU.js";import"./RGHHGDBP.js";import"./N5FFLPE4.js";import"./SJGI4QUN.js";import"./VN7UMJC7.js";import"./ZRMBGS4Y.js";import"./TI77ZOKU.js";import{b as I}from"./62UID2KL.js";import{F as d,G as n,H as F,J as u,h as w,i as a,l as p,r as b,u as L}from"./BVRG4SP2.js";import"./ZGUWAA6F.js";export default $arcgis.t(([E,P,k,O,,{b:$},{a:C,c:f,d:c,e:m,f:_,g:x}])=>{var M=w`@layer{
3
+ v1.2.0-next.91 */
4
+ import{a as S}from"./BJ3GNBBE.js";import"./MR55Z6WO.js";import f from"./BD3TAPFP.js";import e from"./YJMWNEOD.js";import c from"./7WLX6QMS.js";import"./PLAR2IUW.js";import"./ON7GTUG3.js";import{a as v}from"./XGGEVEIS.js";import"./WAV7RBNQ.js";import"./74JUDCVW.js";import"./LZAIQWSO.js";import"./GAYAEP7U.js";import"./LE66DUH7.js";import"./QGXJ7WC2.js";import"./MUNVTRCN.js";import"./EF5MFGTJ.js";import"./XYLRI7IB.js";import"./CRDXHMLP.js";import"./HFZVW3O5.js";import"./4T7ZQ2ZG.js";import"./VUUEK5JJ.js";import"./SPFE5X5Z.js";import"./VUNTWUDR.js";import"./JT57JFXC.js";import"./YU47G4J5.js";import"./KFMJ3EXL.js";import"./4RAD4G6H.js";import"./IPTPYEUM.js";import"./6IYSQUM2.js";import{b as I}from"./5R4WQYWH.js";import{F as d,G as n,H as F,J as u,h as w,i as a,l as p,r as b,u as L}from"./IYR62BJF.js";import"./S4ZB6ESK.js";export default $arcgis.t(([E,P,k,O,,{b:$},{a:C,c:f,d:c,e:m,f:_,g:x}])=>{var M=w`@layer{
5
5
  /** @license
6
6
  * Copyright 2025 Esri
7
7
  *
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.90 */
4
- import{d as i}from"./N5FFLPE4.js";import{a}from"./5XHD4KCD.js";async function n(r,t){let e=`${t.portal}/portals/${r}/categorySchema`;try{let{categorySchema:o}=await i(e,t);return s(o[0].categories,"/Categories")}catch{return[]}}function s(r,t){return r.map(e=>{var o;let c=`${t}/${e.title}`,l=e.title;return{value:c,label:l,children:!((o=e.categories)===null||o===void 0)&&o.length?s(e.categories,c):[]}})}async function h(r,t){let e=await n(t.portal.id,t.hubRequestOptions);return[{labelKey:"shared.fields.categories.label",scope:"/properties/categories",type:"Control",options:{control:"hub-field-input-combobox",items:e,allowCustomValues:!1,selectionMode:"ancestors",placeholderIcon:"select-category"},rules:[{effect:a.DISABLE,conditions:[!e.length]}]},{type:"Notice",options:{notice:{configuration:{id:"no-categories-notice",noticeType:"notice",closable:!1,icon:"exclamation-mark-triangle",kind:"warning",scale:"m"},message:"{{shared.fields.categories.noCategoriesNotice.body:translate}}",autoShow:!0,actions:[{label:"{{shared.fields.categories.noCategoriesNotice.link:translate}}",icon:"launch",href:"https://doc.arcgis.com/en/arcgis-online/reference/content-categories.htm",target:"_blank"}]}},rules:[{effect:a.SHOW,conditions:[!e.length]}]}]}export{h as a};
3
+ v1.2.0-next.91 */
4
+ import{d as i}from"./YU47G4J5.js";import{a}from"./H47F62DI.js";async function n(r,t){let e=`${t.portal}/portals/${r}/categorySchema`;try{let{categorySchema:o}=await i(e,t);return s(o[0].categories,"/Categories")}catch{return[]}}function s(r,t){return r.map(e=>{var o;let c=`${t}/${e.title}`,l=e.title;return{value:c,label:l,children:!((o=e.categories)===null||o===void 0)&&o.length?s(e.categories,c):[]}})}async function h(r,t){let e=await n(t.portal.id,t.hubRequestOptions);return[{labelKey:"shared.fields.categories.label",scope:"/properties/categories",type:"Control",options:{control:"hub-field-input-combobox",items:e,allowCustomValues:!1,selectionMode:"ancestors",placeholderIcon:"select-category"},rules:[{effect:a.DISABLE,conditions:[!e.length]}]},{type:"Notice",options:{notice:{configuration:{id:"no-categories-notice",noticeType:"notice",closable:!1,icon:"exclamation-mark-triangle",kind:"warning",scale:"m"},message:"{{shared.fields.categories.noCategoriesNotice.body:translate}}",autoShow:!0,actions:[{label:"{{shared.fields.categories.noCategoriesNotice.link:translate}}",icon:"launch",href:"https://doc.arcgis.com/en/arcgis-online/reference/content-categories.htm",target:"_blank"}]}},rules:[{effect:a.SHOW,conditions:[!e.length]}]}]}export{h 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.90 */
4
- import b from"./YWFHVXCU.js";import a from"./NUGVN2NT.js";import{a as _}from"./QQSSFODB.js";import{b as y}from"./NGK5LXB4.js";import"./ZNG2SHDX.js";import{G as $,H as T,J as l,L as g,h as C,i as r,r as x,u as L}from"./BVRG4SP2.js";import"./ZGUWAA6F.js";export default $arcgis.t(([,{a:d,b:v,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{.instant-apps-language-translator-item{display:flex}.instant-apps-language-translator-item__section{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}.instant-apps-language-translator-item__section--last-item{border-bottom:none}.instant-apps-language-translator-item__section--selected{background-color:#f1faff}.instant-apps-language-translator-item__section:first-child{margin-right:1%}.instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}.instant-apps-language-translator-item__ui-location-items{display:flex}.instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}.instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}.instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}.instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}.instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}.calcite-mode-dark .instant-apps-language-translator-item__section--selected{background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-action{--calcite-icon-color: var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}.instant-apps-language-translator--last-item .instant-apps-language-translator-item__section{border-bottom:none}}`,p="instant-apps-language-translator-item",c={section:`${p}__section`,selected:`${p}__section--selected`,topRow:`${p}__top-row`,labelContainer:`${p}__label-container`,label:`${p}__label`,uiLocationPopoverContent:`${p}__ui-location-popover-content`,uiLocationItems:`${p}__ui-location-items`,uiLocationItem:`${p}__ui-location-item`,infoIcon:`${p}__info-icon`,infoButton:`${p}__info-button`,tip:`${p}__tip`,nestedInput:`${p}__nested-input`},b=class extends T{constructor(){super(...arguments),this.userInputs={},this.translatedInputs={},this.translatorItemDataUpdated=x()}static{this.properties={fieldName:1,translatedLanguageLabels:0,setting:0,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}static{this.shadowRootOptions=L}get isTextEditor(){return this.setting.type===v.TextEditor}get calciteMode(){return U()?m.Dark:m.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}loaded(){this.isTextEditor&&i.onChange("uiData",()=>this.handleEditorCollapse())}handleInputRender(e,t,a){return this.getUIDataItem()?.expanded?this.hasNestedContent?this.renderNestedInputs(e):this.renderInput(e,t,a):null}getUIDataItem(){if(I.uiData)return I.uiData.get(this.fieldName)}updateT9nStore(e,t){let a=i.get("currentLanguage"),n={[e]:t},s=D(a,n);i.set("portalItemResourceT9n",s)}handleExpand(){let e=this.getUIDataItem();e.expanded=!e.expanded;let t=new Map(I.uiData);t.set(this.fieldName,e),i.set("uiData",t)}handleEditorCollapse(){if(!i.get("uiData")?.get(this.fieldName)?.expanded&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){let{userEditorWrapper:e,translatedEditorWrapper:t}=this,a=e.editorInstance.getData();e.value=a;let n=t.editorInstance.getData();t.value=n,e.editorInstance.destroy(),t.editorInstance.destroy()}}handleSelection(e){let t=new Map(I.uiData),a=E();a.forEach(n=>{let s=t?.get(n);s.selected=!1}),a.forEach(n=>{let s=e?.target?.getAttribute("data-field-name");if(n===s){let o=t?.get(n);o.selected=!0}}),i.set("uiData",t)}getUILocation(){let e=this.getUIDataItem(),{uiLocation:t,userLocaleData:a}=e,{section:n,subsection:s}=t,o=[n.label,s.label,a.label].filter(h=>!!h);return o.map((h,f)=>r`<span class=${l(c.uiLocationItem)}><span>${h}</span>${f!==o.length-1?r`<calcite-icon icon=chevron-right scale=s></calcite-icon>`:null}</span>`)}getTip(){let e=this.getUIDataItem(),{tip:t}=e;return t}copySelection(e,t){this.setting.type===v.TextEditor?this.copyTextEditorContent(e):this.copyCalciteInputContent(t,e)}copyTextEditorContent(e){let t=e===d.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance,a=50;setTimeout(()=>{this.selectContent(t),setTimeout(()=>this.selectContent(t),a)},a),this.copyContent(t)}selectContent(e){e.editing.view.focus();let{model:t}=e,a=t.document.getRoot();if(a){let n=t.createRangeIn(a);t.change(s=>s.setSelection(n))}}copyContent(e){let t=e.getData(),a=document.createElement("div");a.contentEditable="true",a.innerHTML=t,document.body.appendChild(a);let n=document.createRange();n.selectNodeContents(a);let s=window.getSelection();s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(a)}copyCalciteInputContent(e,t){let a=t===d.User?this.userInputs[e]:this.translatedInputs[e];if(a){a.selectText();let n=a.value;navigator.clipboard.writeText(n)}}setEditor(e,t){t&&(e===d.User?this.userEditorWrapper=t:this.translatedEditorWrapper=t)}async handleUserInputChange(e){i.set("saving",!0);try{let t=e.target,a=t.id,n=t.value,s=this.getUIDataItem();s.userLocaleData.value=n,await this.userLocaleInputOnChangeCallback(a,n),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleUserTextEditorChange(e){i.set("saving",!0);try{let t=e.detail,a=e.target.id,n=this.getUIDataItem();n.userLocaleData.value=t,await this.userLocaleInputOnChangeCallback(a,t),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleTranslatedInputChange(e){i.set("saving",!0);try{let t=e.composedPath()[0],a=t.id;this.updateT9nStore(a,t.value);let{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),o=e.target.value;await this.translatedLocaleInputOnChangeCallback(a,o,n,s),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}async handleTranslatedTextEditorChange(e){i.set("saving",!0);try{let t=e.target.id;this.updateT9nStore(t,e.detail);let{locale:a,resource:n}=this.getTranslatedLocaleCallbackData(),s=e.detail;await this.translatedLocaleInputOnChangeCallback(t,s,a,n),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}handleTextEditorDataChange(e,t){e===d.User?this.handleUserTextEditorChange(t):this.handleTranslatedTextEditorChange(t)}getTranslatedLocaleCallbackData(){let e=i.get("currentLanguage"),t=i.get("portalItemResource");return{locale:e,resource:t}}getIcon(e){switch((e??this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}render(){return"content"in this.setting&&this.setting.content?.every(e=>e?.content?.length===0)?(this.el.classList.remove(this.calciteMode),""):(this.el.classList.add(this.calciteMode),r`${this.renderBase()}${this.renderPopover()}`)}renderBase(){return r`<div class=${l(p)}>${this.renderUserLocaleSection()}${this.renderTranslatedLanguageSection()}</div>`}renderPopover(){let e=this.getTip();return r`<calcite-popover .referenceElement=${this.tipID} label auto-close placement=trailing closable><span class=${l(c.uiLocationPopoverContent)}><span class=${l(c.uiLocationItems)}>${this.getUILocation()}</span>${e?r`<span class=${l(c.tip)}>${e}</span>`:null}</span></calcite-popover>`}renderUserLocaleSection(){let e=this.getUIDataItem(),t=e?.userLocaleData,a=e?.selected?` ${c.selected}`:"",n=t?.label,s=t?.value,o=this.setting.id;return r`<div class=${`${c.section}${a}`}>${this.renderItemHeader(d.User,n,o)}${this.handleInputRender(d.User,s,o)}</div>`}renderTranslatedLanguageSection(){let e=this.getUIDataItem(),t=this.setting.id,a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=this.translatedLanguageLabels?.[this.fieldName],o=typeof n=="object"&&n!==null&&a in n&&typeof n!="number"&&!Array.isArray(n)?String(n[a]?.[t]??""):"",h=e?.selected?` ${c.selected}`:"";return r`<div class=${`${c.section}${h}`}>${this.renderItemHeader(d.Translation,s,t)}${this.handleInputRender(d.Translation,o,t)}</div>`}renderNestedInputs(e,t){let a=t??this.setting,{content:n}=a;return n?.map(s=>"content"in s?this.renderNestedInputs(e,s):this.renderNestedInput(e,s)).filter(s=>s!==void 0)}renderNestedInput(e,t){let a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=t?.id,o=n?.[a],h=typeof o=="object"&&o!==null?o[s]:void 0,{label:f,value:w,id:k}=t,S=e===d.Translation?this.translatedLanguageLabels?.[k]:f,N=e===d.User?w:h??"";return r`<div class=${l(c.nestedInput)}>${this.renderItemHeader(e,S,s,t)}${this.renderInput(e,String(N),s,t)}</div>`}renderItemHeader(e,t,a,n){let s=!this.hasNestedContent||!!n;return r`<div class=${l(c.topRow)}>${this.renderItemHeaderLabel(e,t,n)}${s?this.renderCopyButton(e,a):null}</div>`}renderItemHeaderLabel(e,t,a){let n=e===d.User&&!a;return r`<div class=${l(c.labelContainer)}>${a?null:this.renderExpandCollapseButton()}<calcite-icon .icon=${this.getIcon(a)} scale=s></calcite-icon><span class=${l(c.label)}>${t}</span>${n?this.renderInfoButton():null}</div>`}renderExpandCollapseButton(){let e=this.getUIDataItem()?.expanded?u.Expanded:u.Collapsed;return r`<calcite-action @click=${this.handleExpand} .icon=${e} scale=s appearance=transparent text></calcite-action>`}renderInfoButton(){return r`<button id=${this.tipID??g} class=${l(c.infoButton)}><calcite-icon class=${l(c.infoIcon)} .icon=${u.Popover} scale=s></calcite-icon></button>`}renderCopyButton(e,t){return r`<calcite-action class=${l(this.calciteMode)} @click=${this.copySelection.bind(this,e,t)} slot=action .icon=${u.Copy} appearance=transparent text></calcite-action>`}renderInput(e,t,a,n){let s=n??this.setting;return s.type==="string"||s.type==="textarea"?e===d.User?this.renderUserLocaleInput(t,a):this.renderTranslatedLanguageInput(t,a):this.renderTextEditor(t,e,a)}renderUserLocaleInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleUserInputChange} ${$(a=>{a&&(this.userInputs[t]=a)})}></calcite-input>`)}renderTranslatedLanguageInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleTranslatedInputChange} ${$(a=>{a&&(this.translatedInputs[t]=a)})}></calcite-input>`)}renderTextEditor(e,t,a){let n={toolbar:[]};return r`<instant-apps-ckeditor-wrapper id=${a??g} @dataChanged=${this.handleTextEditorDataChange.bind(this,t)} @isFocused=${this.handleSelection} .value=${e??""} data-field-name=${this.fieldName??g} .config=${n} ${$(this.setEditor.bind(this,t))}></instant-apps-ckeditor-wrapper>`}};y("instant-apps-language-translator-item",b);return b},a,b)
3
+ v1.2.0-next.91 */
4
+ import b from"./MN5TZ256.js";import a from"./2NLIYAHS.js";import{a as _}from"./4UEZKRVG.js";import{b as y}from"./MR55Z6WO.js";import"./74JUDCVW.js";import{G as $,H as T,J as l,L as g,h as C,i as r,r as x,u as L}from"./IYR62BJF.js";import"./S4ZB6ESK.js";export default $arcgis.t(([,{a:d,b:v,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{.instant-apps-language-translator-item{display:flex}.instant-apps-language-translator-item__section{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}.instant-apps-language-translator-item__section--last-item{border-bottom:none}.instant-apps-language-translator-item__section--selected{background-color:#f1faff}.instant-apps-language-translator-item__section:first-child{margin-right:1%}.instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}.instant-apps-language-translator-item__ui-location-items{display:flex}.instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}.instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}.instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}.instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}.instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}.calcite-mode-dark .instant-apps-language-translator-item__section--selected{background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-action{--calcite-icon-color: var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}.instant-apps-language-translator--last-item .instant-apps-language-translator-item__section{border-bottom:none}}`,p="instant-apps-language-translator-item",c={section:`${p}__section`,selected:`${p}__section--selected`,topRow:`${p}__top-row`,labelContainer:`${p}__label-container`,label:`${p}__label`,uiLocationPopoverContent:`${p}__ui-location-popover-content`,uiLocationItems:`${p}__ui-location-items`,uiLocationItem:`${p}__ui-location-item`,infoIcon:`${p}__info-icon`,infoButton:`${p}__info-button`,tip:`${p}__tip`,nestedInput:`${p}__nested-input`},b=class extends T{constructor(){super(...arguments),this.userInputs={},this.translatedInputs={},this.translatorItemDataUpdated=x()}static{this.properties={fieldName:1,translatedLanguageLabels:0,setting:0,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}static{this.shadowRootOptions=L}get isTextEditor(){return this.setting.type===v.TextEditor}get calciteMode(){return U()?m.Dark:m.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}loaded(){this.isTextEditor&&i.onChange("uiData",()=>this.handleEditorCollapse())}handleInputRender(e,t,a){return this.getUIDataItem()?.expanded?this.hasNestedContent?this.renderNestedInputs(e):this.renderInput(e,t,a):null}getUIDataItem(){if(I.uiData)return I.uiData.get(this.fieldName)}updateT9nStore(e,t){let a=i.get("currentLanguage"),n={[e]:t},s=D(a,n);i.set("portalItemResourceT9n",s)}handleExpand(){let e=this.getUIDataItem();e.expanded=!e.expanded;let t=new Map(I.uiData);t.set(this.fieldName,e),i.set("uiData",t)}handleEditorCollapse(){if(!i.get("uiData")?.get(this.fieldName)?.expanded&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){let{userEditorWrapper:e,translatedEditorWrapper:t}=this,a=e.editorInstance.getData();e.value=a;let n=t.editorInstance.getData();t.value=n,e.editorInstance.destroy(),t.editorInstance.destroy()}}handleSelection(e){let t=new Map(I.uiData),a=E();a.forEach(n=>{let s=t?.get(n);s.selected=!1}),a.forEach(n=>{let s=e?.target?.getAttribute("data-field-name");if(n===s){let o=t?.get(n);o.selected=!0}}),i.set("uiData",t)}getUILocation(){let e=this.getUIDataItem(),{uiLocation:t,userLocaleData:a}=e,{section:n,subsection:s}=t,o=[n.label,s.label,a.label].filter(h=>!!h);return o.map((h,f)=>r`<span class=${l(c.uiLocationItem)}><span>${h}</span>${f!==o.length-1?r`<calcite-icon icon=chevron-right scale=s></calcite-icon>`:null}</span>`)}getTip(){let e=this.getUIDataItem(),{tip:t}=e;return t}copySelection(e,t){this.setting.type===v.TextEditor?this.copyTextEditorContent(e):this.copyCalciteInputContent(t,e)}copyTextEditorContent(e){let t=e===d.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance,a=50;setTimeout(()=>{this.selectContent(t),setTimeout(()=>this.selectContent(t),a)},a),this.copyContent(t)}selectContent(e){e.editing.view.focus();let{model:t}=e,a=t.document.getRoot();if(a){let n=t.createRangeIn(a);t.change(s=>s.setSelection(n))}}copyContent(e){let t=e.getData(),a=document.createElement("div");a.contentEditable="true",a.innerHTML=t,document.body.appendChild(a);let n=document.createRange();n.selectNodeContents(a);let s=window.getSelection();s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(a)}copyCalciteInputContent(e,t){let a=t===d.User?this.userInputs[e]:this.translatedInputs[e];if(a){a.selectText();let n=a.value;navigator.clipboard.writeText(n)}}setEditor(e,t){t&&(e===d.User?this.userEditorWrapper=t:this.translatedEditorWrapper=t)}async handleUserInputChange(e){i.set("saving",!0);try{let t=e.target,a=t.id,n=t.value,s=this.getUIDataItem();s.userLocaleData.value=n,await this.userLocaleInputOnChangeCallback(a,n),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleUserTextEditorChange(e){i.set("saving",!0);try{let t=e.detail,a=e.target.id,n=this.getUIDataItem();n.userLocaleData.value=t,await this.userLocaleInputOnChangeCallback(a,t),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleTranslatedInputChange(e){i.set("saving",!0);try{let t=e.composedPath()[0],a=t.id;this.updateT9nStore(a,t.value);let{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),o=e.target.value;await this.translatedLocaleInputOnChangeCallback(a,o,n,s),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}async handleTranslatedTextEditorChange(e){i.set("saving",!0);try{let t=e.target.id;this.updateT9nStore(t,e.detail);let{locale:a,resource:n}=this.getTranslatedLocaleCallbackData(),s=e.detail;await this.translatedLocaleInputOnChangeCallback(t,s,a,n),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}handleTextEditorDataChange(e,t){e===d.User?this.handleUserTextEditorChange(t):this.handleTranslatedTextEditorChange(t)}getTranslatedLocaleCallbackData(){let e=i.get("currentLanguage"),t=i.get("portalItemResource");return{locale:e,resource:t}}getIcon(e){switch((e??this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}render(){return"content"in this.setting&&this.setting.content?.every(e=>e?.content?.length===0)?(this.el.classList.remove(this.calciteMode),""):(this.el.classList.add(this.calciteMode),r`${this.renderBase()}${this.renderPopover()}`)}renderBase(){return r`<div class=${l(p)}>${this.renderUserLocaleSection()}${this.renderTranslatedLanguageSection()}</div>`}renderPopover(){let e=this.getTip();return r`<calcite-popover .referenceElement=${this.tipID} label auto-close placement=trailing closable><span class=${l(c.uiLocationPopoverContent)}><span class=${l(c.uiLocationItems)}>${this.getUILocation()}</span>${e?r`<span class=${l(c.tip)}>${e}</span>`:null}</span></calcite-popover>`}renderUserLocaleSection(){let e=this.getUIDataItem(),t=e?.userLocaleData,a=e?.selected?` ${c.selected}`:"",n=t?.label,s=t?.value,o=this.setting.id;return r`<div class=${`${c.section}${a}`}>${this.renderItemHeader(d.User,n,o)}${this.handleInputRender(d.User,s,o)}</div>`}renderTranslatedLanguageSection(){let e=this.getUIDataItem(),t=this.setting.id,a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=this.translatedLanguageLabels?.[this.fieldName],o=typeof n=="object"&&n!==null&&a in n&&typeof n!="number"&&!Array.isArray(n)?String(n[a]?.[t]??""):"",h=e?.selected?` ${c.selected}`:"";return r`<div class=${`${c.section}${h}`}>${this.renderItemHeader(d.Translation,s,t)}${this.handleInputRender(d.Translation,o,t)}</div>`}renderNestedInputs(e,t){let a=t??this.setting,{content:n}=a;return n?.map(s=>"content"in s?this.renderNestedInputs(e,s):this.renderNestedInput(e,s)).filter(s=>s!==void 0)}renderNestedInput(e,t){let a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=t?.id,o=n?.[a],h=typeof o=="object"&&o!==null?o[s]:void 0,{label:f,value:w,id:k}=t,S=e===d.Translation?this.translatedLanguageLabels?.[k]:f,N=e===d.User?w:h??"";return r`<div class=${l(c.nestedInput)}>${this.renderItemHeader(e,S,s,t)}${this.renderInput(e,String(N),s,t)}</div>`}renderItemHeader(e,t,a,n){let s=!this.hasNestedContent||!!n;return r`<div class=${l(c.topRow)}>${this.renderItemHeaderLabel(e,t,n)}${s?this.renderCopyButton(e,a):null}</div>`}renderItemHeaderLabel(e,t,a){let n=e===d.User&&!a;return r`<div class=${l(c.labelContainer)}>${a?null:this.renderExpandCollapseButton()}<calcite-icon .icon=${this.getIcon(a)} scale=s></calcite-icon><span class=${l(c.label)}>${t}</span>${n?this.renderInfoButton():null}</div>`}renderExpandCollapseButton(){let e=this.getUIDataItem()?.expanded?u.Expanded:u.Collapsed;return r`<calcite-action @click=${this.handleExpand} .icon=${e} scale=s appearance=transparent text></calcite-action>`}renderInfoButton(){return r`<button id=${this.tipID??g} class=${l(c.infoButton)}><calcite-icon class=${l(c.infoIcon)} .icon=${u.Popover} scale=s></calcite-icon></button>`}renderCopyButton(e,t){return r`<calcite-action class=${l(this.calciteMode)} @click=${this.copySelection.bind(this,e,t)} slot=action .icon=${u.Copy} appearance=transparent text></calcite-action>`}renderInput(e,t,a,n){let s=n??this.setting;return s.type==="string"||s.type==="textarea"?e===d.User?this.renderUserLocaleInput(t,a):this.renderTranslatedLanguageInput(t,a):this.renderTextEditor(t,e,a)}renderUserLocaleInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleUserInputChange} ${$(a=>{a&&(this.userInputs[t]=a)})}></calcite-input>`)}renderTranslatedLanguageInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleTranslatedInputChange} ${$(a=>{a&&(this.translatedInputs[t]=a)})}></calcite-input>`)}renderTextEditor(e,t,a){let n={toolbar:[]};return r`<instant-apps-ckeditor-wrapper id=${a??g} @dataChanged=${this.handleTextEditorDataChange.bind(this,t)} @isFocused=${this.handleSelection} .value=${e??""} data-field-name=${this.fieldName??g} .config=${n} ${$(this.setEditor.bind(this,t))}></instant-apps-ckeditor-wrapper>`}};y("instant-apps-language-translator-item",b);return b},a,b)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.90 */
4
- import"./ZGUWAA6F.js";var e="Nu ave\u021Bi suficiente credite pentru efectuarea acestei opera\u021Bii. Contacta\u021Bi administratorul de sistem ArcGIS pentru asisten\u021B\u0103.",a="Acest instrument a fost publicat dintr-o agend\u0103. Accesul la ArcGIS Notebooks este blocat pentru organiza\u021Bia dvs. Contacta\u021Bi administratorul pentru a ajusta setarea.",i="${ dataPath } nu trebuie s\u0103 aib\u0103 ${ additionalProperty }.",r="${ dataPath } trebuie s\u0103 corespund\u0103 schemei uneia dintre acestea: ${ schemaOptions }.",t="\xCEncerca\u021Bi s\u0103 salva\u021Bi harta din nou.",s="Estimarea creditului a e\u0219uat. Derula\u021Bi \xEEn jos, corecta\u021Bi erorile \u0219i estima\u021Bi creditele din nou.",u="S-a produs o eroare la executarea analizei.",o="${ dataPath } trebuie s\u0103 fie egal cu una dintre aceste valori permise: ${ allowedValues }.",n="Nu s-a reu\u0219it salvarea istoricului analizei",l="Spa\u021Biu de stocare al istoricului este plin. Elimina\u021Bi unele elemente din istoricul analizei \u0219i \xEEncerca\u021Bi s\u0103 salva\u021Bi din nou.",c="Denumirea serviciului con\u021Bine unul sau mai multe caractere nevalide.",d="Salvarea stratului tematic temporar ca strat tematic de obiect spa\u021Bial g\u0103zduit nu s-a \xEEncheiat.",m="Nu s-a reu\u0219it ob\u021Binerea propriet\u0103\u021Bilor esen\u021Biale.",p="Nu s-a reu\u0219it \xEEnc\u0103rcarea stratului tematic.",v="Stratul tematic nu este disponibil.",E="${ dataPath } nu trebuie s\u0103 aib\u0103 mai mult de ${ limit } articole.",b="A survenit o eroare la salvarea modelului. \xCEncerca\u021Bi salvarea din nou.",f="${ dataPath } nu trebuie s\u0103 aib\u0103 mai pu\u021Bin de ${ limit } articole.",h="${ dataPath } nu trebuie s\u0103 fie mai scurt de ${ limit } caractere.",P="Nu s-a reu\u0219it \xEEnc\u0103rcarea elementului de model. Asigura\u021Bi-v\u0103 c\u0103 modelul exist\u0103 \u0219i c\u0103 permisiunea de acces a fost acordat\u0103.",S="Nu s-a reu\u0219it finalizarea solicit\u0103rii.",y="Nu ave\u021Bi permisiunea de a executa acest instrument. <calcite-link target='_blank' href='${ docLink }'>Afla\u021Bi mai multe</calcite-link>",N="Nu s-a reu\u0219it conectarea la portal.",$="Nu s-a reu\u0219it citirea datelor de intrare.",g="${ dataPath } are lips\u0103 o proprietate denumit\u0103 ${ missingProperty }.",F="Exist\u0103 deja un strat tematic cu rezultate cu acest nume. Straturile tematice rezultate trebuie s\u0103 aib\u0103 nume unice \xEEn toat\u0103 organiza\u021Bia. V\u0103 rug\u0103m s\u0103 folosi\u021Bi un nume diferit.",I="Numele de ie\u0219ire con\u021Bine unul sau mai multe caractere nevalide. <a href='${docLink}' target='_blank'>Afla\u021Bi mai multe.</a>",k="Publicarea stratului tematic temporar ca strat tematic g\u0103zduit a e\u0219uat din cauza unuia sau a mai multor c\xE2mpuri nevalide. Re-executa\u021Bi instrumentul pentru a crea un strat tematic cu c\xE2mpuri valide.",z="Trimiterea lucr\u0103rii nu a reu\u0219it. Derula\u021Bi \xEEn jos, corecta\u021Bi erorile \u0219i executa\u021Bi analiza din nou.",T="${ dataPath } trebuie s\u0103 aib\u0103 cel pu\u021Bin un caracter non-spa\u021Biu gol.",x={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:i,anyOfValues:r,cannotWriteToItemResource:t,creditEstimationError:s,defaultError:u,enumValues:o,failedToSaveHistory:n,fullSessionStorage:l,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:d,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:v,maxItems:E,mbFailedToSave:b,minItems:f,minLength:h,modelNotFound:P,networkError:S,noPermissionToAccessTool:y,portalLoadError:N,queryFeaturesError:$,requiredProperty:g,serviceNameExistsError:F,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:k,toolValidationError:z,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,i as additionalProperty,r as anyOfValues,t as cannotWriteToItemResource,s as creditEstimationError,x as default,u as defaultError,o as enumValues,n as failedToSaveHistory,l as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,d as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,v as layerUnavailable,E as maxItems,b as mbFailedToSave,f as minItems,h as minLength,P as modelNotFound,S as networkError,y as noPermissionToAccessTool,N as portalLoadError,$ as queryFeaturesError,g as requiredProperty,F as serviceNameExistsError,I as specialCharactersInServiceNameError,k as temporaryLayerFieldsError,z as toolValidationError,T as whiteSpacePattern};
3
+ v1.2.0-next.91 */
4
+ import"./S4ZB6ESK.js";var e="Nu ave\u021Bi suficiente credite pentru efectuarea acestei opera\u021Bii. Contacta\u021Bi administratorul de sistem ArcGIS pentru asisten\u021B\u0103.",a="Acest instrument a fost publicat dintr-o agend\u0103. Accesul la ArcGIS Notebooks este blocat pentru organiza\u021Bia dvs. Contacta\u021Bi administratorul pentru a ajusta setarea.",i="${ dataPath } nu trebuie s\u0103 aib\u0103 ${ additionalProperty }.",r="${ dataPath } trebuie s\u0103 corespund\u0103 schemei uneia dintre acestea: ${ schemaOptions }.",t="\xCEncerca\u021Bi s\u0103 salva\u021Bi harta din nou.",s="Estimarea creditului a e\u0219uat. Derula\u021Bi \xEEn jos, corecta\u021Bi erorile \u0219i estima\u021Bi creditele din nou.",u="S-a produs o eroare la executarea analizei.",o="${ dataPath } trebuie s\u0103 fie egal cu una dintre aceste valori permise: ${ allowedValues }.",n="Nu s-a reu\u0219it salvarea istoricului analizei",l="Spa\u021Biu de stocare al istoricului este plin. Elimina\u021Bi unele elemente din istoricul analizei \u0219i \xEEncerca\u021Bi s\u0103 salva\u021Bi din nou.",c="Denumirea serviciului con\u021Bine unul sau mai multe caractere nevalide.",d="Salvarea stratului tematic temporar ca strat tematic de obiect spa\u021Bial g\u0103zduit nu s-a \xEEncheiat.",m="Nu s-a reu\u0219it ob\u021Binerea propriet\u0103\u021Bilor esen\u021Biale.",p="Nu s-a reu\u0219it \xEEnc\u0103rcarea stratului tematic.",v="Stratul tematic nu este disponibil.",E="${ dataPath } nu trebuie s\u0103 aib\u0103 mai mult de ${ limit } articole.",b="A survenit o eroare la salvarea modelului. \xCEncerca\u021Bi salvarea din nou.",f="${ dataPath } nu trebuie s\u0103 aib\u0103 mai pu\u021Bin de ${ limit } articole.",h="${ dataPath } nu trebuie s\u0103 fie mai scurt de ${ limit } caractere.",P="Nu s-a reu\u0219it \xEEnc\u0103rcarea elementului de model. Asigura\u021Bi-v\u0103 c\u0103 modelul exist\u0103 \u0219i c\u0103 permisiunea de acces a fost acordat\u0103.",S="Nu s-a reu\u0219it finalizarea solicit\u0103rii.",y="Nu ave\u021Bi permisiunea de a executa acest instrument. <calcite-link target='_blank' href='${ docLink }'>Afla\u021Bi mai multe</calcite-link>",N="Nu s-a reu\u0219it conectarea la portal.",$="Nu s-a reu\u0219it citirea datelor de intrare.",g="${ dataPath } are lips\u0103 o proprietate denumit\u0103 ${ missingProperty }.",F="Exist\u0103 deja un strat tematic cu rezultate cu acest nume. Straturile tematice rezultate trebuie s\u0103 aib\u0103 nume unice \xEEn toat\u0103 organiza\u021Bia. V\u0103 rug\u0103m s\u0103 folosi\u021Bi un nume diferit.",I="Numele de ie\u0219ire con\u021Bine unul sau mai multe caractere nevalide. <a href='${docLink}' target='_blank'>Afla\u021Bi mai multe.</a>",k="Publicarea stratului tematic temporar ca strat tematic g\u0103zduit a e\u0219uat din cauza unuia sau a mai multor c\xE2mpuri nevalide. Re-executa\u021Bi instrumentul pentru a crea un strat tematic cu c\xE2mpuri valide.",z="Trimiterea lucr\u0103rii nu a reu\u0219it. Derula\u021Bi \xEEn jos, corecta\u021Bi erorile \u0219i executa\u021Bi analiza din nou.",T="${ dataPath } trebuie s\u0103 aib\u0103 cel pu\u021Bin un caracter non-spa\u021Biu gol.",x={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:i,anyOfValues:r,cannotWriteToItemResource:t,creditEstimationError:s,defaultError:u,enumValues:o,failedToSaveHistory:n,fullSessionStorage:l,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:d,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:v,maxItems:E,mbFailedToSave:b,minItems:f,minLength:h,modelNotFound:P,networkError:S,noPermissionToAccessTool:y,portalLoadError:N,queryFeaturesError:$,requiredProperty:g,serviceNameExistsError:F,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:k,toolValidationError:z,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,i as additionalProperty,r as anyOfValues,t as cannotWriteToItemResource,s as creditEstimationError,x as default,u as defaultError,o as enumValues,n as failedToSaveHistory,l as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,d as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,v as layerUnavailable,E as maxItems,b as mbFailedToSave,f as minItems,h as minLength,P as modelNotFound,S as networkError,y as noPermissionToAccessTool,N as portalLoadError,$ as queryFeaturesError,g as requiredProperty,F as serviceNameExistsError,I as specialCharactersInServiceNameError,k as temporaryLayerFieldsError,z 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.90 */
4
- import{I as e}from"./BVRG4SP2.js";var t=e({defaultAssetPath:"https://jsdev.arcgis.com/1.2.0-next/solutions-components/",hydratedAttribute:"hydrated"}),{customElement:n,getAssetPath:i,setAssetPath:d}=t;t.t=void 0;t.o=void 0;t.c=void 0;t.r=void 0;export{t as a,n as b,i as c};
3
+ v1.2.0-next.91 */
4
+ import{I as e}from"./IYR62BJF.js";var t=e({defaultAssetPath:"https://jsdev.arcgis.com/1.2.0-next/solutions-components/",hydratedAttribute:"hydrated"}),{customElement:n,getAssetPath:i,setAssetPath:d}=t;t.t=void 0;t.o=void 0;t.c=void 0;t.r=void 0;export{t as a,n as b,i as c};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.90 */
4
- import{a as O}from"./6L3OX5TO.js";import c from"./3GR2TJ22.js";import b from"./ZPZHG3PJ.js";import a from"./ZSSBKLW4.js";import{b as D}from"./6YHC3QYS.js";import{a as C}from"./QMSBJMWC.js";import{b as E}from"./62UID2KL.js";import{F as _,G as m,H as v,J as k,h as I,i as h,r as y,u as L}from"./BVRG4SP2.js";export default $arcgis.t(([R,T,{h:r,i:f,k:x},{d:G},{c:b,h:$,i:A}])=>{var F=I`@layer{
3
+ v1.2.0-next.91 */
4
+ import{a as O}from"./F3KTO44B.js";import c from"./BD3TAPFP.js";import b from"./YJMWNEOD.js";import a from"./7WLX6QMS.js";import{b as D}from"./PLAR2IUW.js";import{a as C}from"./XGGEVEIS.js";import{b as E}from"./5R4WQYWH.js";import{F as _,G as m,H as v,J as k,h as I,i as h,r as y,u as L}from"./IYR62BJF.js";export default $arcgis.t(([R,T,{h:r,i:f,k:x},{d:G},{c:b,h:$,i:A}])=>{var F=I`@layer{
5
5
  /** @license
6
6
  * Copyright 2025 Esri
7
7
  *
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.90 */
4
- import f from"./ATHPXULU.js";import e from"./NLZXS7RS.js";import b from"./GA3HHDOK.js";import a from"./NUGVN2NT.js";import{a as p}from"./NZVAVBSY.js";import{b as l}from"./NGK5LXB4.js";import"./76PLP63F.js";import"./ZNG2SHDX.js";import{H as o,J as d,L as c,h as s,i as t,r}from"./BVRG4SP2.js";import"./ZGUWAA6F.js";export default $arcgis.t(([,,{b:h},{i:g,t:v}])=>{var x=s`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: 500;--instant-apps-interactive-legend-secondary-color: var( --calcite-color-text-1 );--instant-apps-interactive-legend-ui-padding: 15px 10px}:host .instant-apps-interactive-legend__header--compact .esri-widget__heading{font-size:.9rem}:host .esri-widget__heading{overflow:hidden;margin:0;display:inline-block;font-size:var(--calcite-font-size-1);font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}:host header{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host header h3{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color);margin-bottom:5px}:host header .instant-apps-interactive-legend__heading-text--group-item{-webkit-line-clamp:2;line-clamp:2}:host header span{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}:host header .instant-apps-interactive-legend__header-action-container{display:flex;align-items:center}:host .esri-widget__heading header{padding:var(--instant-apps-interactive-legend-ui-padding)}:host .esri-widget--panel{margin:0}:host(.calcite-mode-dark) .instant-apps-interactive-legend__header{background-color:#242424;color:var(--calcite-color-text-1)}:host(.calcite-mode-light) .instant-apps-interactive-legend__header{background-color:#fff;color:var(--calcite-color-text-1)}`,e={label:"esri-legend__service-label",header:"esri-widget__heading",interacitveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container",compact:"instant-apps-interactive-legend__header--compact"},a=class extends o{constructor(){super(...arguments),this._messages=p({name:"instant-apps-interactive-legend"}),this.isChild=!1,this.expanded=!0,this.layerCaptionElementExpandUpdated=r()}static{this.properties={legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5,expanded:5}}static{this.styles=x}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.layerCaptionElementExpandUpdated.emit(this.expanded)}}render(){let m=g(this.activeLayerInfo),{expanded:n}=this,i=n?this._messages?.collapse:this._messages?.expand,f=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"",_=h.get("compact")?` ${e.compact}`:"";return t`<header class=${`${e.interacitveLegendHeader} ${v(this.el)}${_}`}><calcite-action @click=${this.toggleExpanded()} .icon=${n?"chevron-down":"chevron-up"} appearance=transparent .text=${i??""} .label=${i} scale=s></calcite-action><span><span class=${d(e.headerActionContainer)}><h3 class=${`${e.header} ${e.label}${f}`} title=${this.activeLayerInfo?.title??""??c}>${this.activeLayerInfo?.title}</h3></span>${this.featureCount&&m?t`<instant-apps-interactive-legend-count .activeLayerInfo=${this.activeLayerInfo} show-total .legendvm=${this.legendvm}></instant-apps-interactive-legend-count>`:null}</span></header>`}};l("instant-apps-interactive-legend-layer-element-caption",a);return a},a,b,e,f)
3
+ v1.2.0-next.91 */
4
+ import f from"./IRGPKJUX.js";import e from"./BJGHKXEP.js";import b from"./LDEMONJ6.js";import a from"./2NLIYAHS.js";import{a as p}from"./32FC422D.js";import{b as l}from"./MR55Z6WO.js";import"./WAV7RBNQ.js";import"./74JUDCVW.js";import{H as o,J as d,L as c,h as s,i as t,r}from"./IYR62BJF.js";import"./S4ZB6ESK.js";export default $arcgis.t(([,,{b:h},{i:g,t:v}])=>{var x=s`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: 500;--instant-apps-interactive-legend-secondary-color: var( --calcite-color-text-1 );--instant-apps-interactive-legend-ui-padding: 15px 10px}:host .instant-apps-interactive-legend__header--compact .esri-widget__heading{font-size:.9rem}:host .esri-widget__heading{overflow:hidden;margin:0;display:inline-block;font-size:var(--calcite-font-size-1);font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}:host header{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host header h3{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color);margin-bottom:5px}:host header .instant-apps-interactive-legend__heading-text--group-item{-webkit-line-clamp:2;line-clamp:2}:host header span{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}:host header .instant-apps-interactive-legend__header-action-container{display:flex;align-items:center}:host .esri-widget__heading header{padding:var(--instant-apps-interactive-legend-ui-padding)}:host .esri-widget--panel{margin:0}:host(.calcite-mode-dark) .instant-apps-interactive-legend__header{background-color:#242424;color:var(--calcite-color-text-1)}:host(.calcite-mode-light) .instant-apps-interactive-legend__header{background-color:#fff;color:var(--calcite-color-text-1)}`,e={label:"esri-legend__service-label",header:"esri-widget__heading",interacitveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container",compact:"instant-apps-interactive-legend__header--compact"},a=class extends o{constructor(){super(...arguments),this._messages=p({name:"instant-apps-interactive-legend"}),this.isChild=!1,this.expanded=!0,this.layerCaptionElementExpandUpdated=r()}static{this.properties={legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5,expanded:5}}static{this.styles=x}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.layerCaptionElementExpandUpdated.emit(this.expanded)}}render(){let m=g(this.activeLayerInfo),{expanded:n}=this,i=n?this._messages?.collapse:this._messages?.expand,f=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"",_=h.get("compact")?` ${e.compact}`:"";return t`<header class=${`${e.interacitveLegendHeader} ${v(this.el)}${_}`}><calcite-action @click=${this.toggleExpanded()} .icon=${n?"chevron-down":"chevron-up"} appearance=transparent .text=${i??""} .label=${i} scale=s></calcite-action><span><span class=${d(e.headerActionContainer)}><h3 class=${`${e.header} ${e.label}${f}`} title=${this.activeLayerInfo?.title??""??c}>${this.activeLayerInfo?.title}</h3></span>${this.featureCount&&m?t`<instant-apps-interactive-legend-count .activeLayerInfo=${this.activeLayerInfo} show-total .legendvm=${this.legendvm}></instant-apps-interactive-legend-count>`:null}</span></header>`}};l("instant-apps-interactive-legend-layer-element-caption",a);return a},a,b,e,f)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.90 */
4
- import{a as i}from"./VN7UMJC7.js";var c=class e extends Error{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(r),this.operation=o,this.name="OperationError",this.rootCause=t,Object.setPrototypeOf(this,e.prototype),this.stack=i(t,"stack",new Error().stack)}};var p=class extends c{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(o,r,t),this.name="HubError",this.stack=i(t,"stack",new Error().stack)}};export{p as a};
3
+ v1.2.0-next.91 */
4
+ import{a as i}from"./4RAD4G6H.js";var c=class e extends Error{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(r),this.operation=o,this.name="OperationError",this.rootCause=t,Object.setPrototypeOf(this,e.prototype),this.stack=i(t,"stack",new Error().stack)}};var p=class extends c{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(o,r,t),this.name="HubError",this.stack=i(t,"stack",new Error().stack)}};export{p 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.90 */
4
- import d from"./HSTKJ4EJ.js";import c from"./ALT3WNKP.js";import a from"./ZSSBKLW4.js";import{J as N,mb as T,nb as O,q as b}from"./U5B74HAP.js";import{g as S}from"./N5FFLPE4.js";export default $arcgis.t(([{o:x,p:y},{e:B,f:k,g:J,k:u,l:U},{a:F,b:d,c:M,e:C}])=>{var K=class{constructor(r,s,t){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=r,this.orgUrl=s,this.portalUrl=t,this.anonAgolSession=new S({}),this.agolPortalUrl=t==="https://www.devext.arcgis.com"?"https://www.devext.arcgis.com":t==="https://www.qaext.arcgis.com"?"https://www.qaext.arcgis.com":"https://www.arcgis.com",console.log("can we drop this?"),console.log(this.orgUrl)}addToCache(r){this.cardCache.push(r)}getCache(){return this.cardCache}removeFromCache(r){this.cardCache=this.cardCache.filter(s=>s.id!==r)}requestAvailableSolutionCards(r,s,t,e,a,o){console.log("requestAvailableSolutionCards");let i=a?.start?a.start:1,m=a?.num?a.num:24,f=this.portalUrl+"/sharing/rest",p=this.agolPortalUrl+"/sharing/rest",g=this.anonAgolSession,A=JSON.stringify(r.categories);if(this.cardCacheParams.q!==r.q||this.cardCacheParams.categoriesAsStr!==A||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:A,sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=C(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let c;if(o&&o.size>0){let l=F(this.cardCache,o);c=d(l,i,m)}else c=d(this.cardCache,i,m);return Promise.resolve(c)}let v={filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,categories:r?.categories?this.convertSearchCategories(r.categories):""},P=[];if(s){let c=e||new S({});P.push(O(s,r.q,c,v,f))}return t&&P.push(O(t,r.q,g,v,p)),Promise.allSettled(P).then(c=>{let l=[];c.forEach(h=>{if(h.status==="fulfilled"){let D=h.value,R="",E=!1;console.log("check this isPrimary logic when only the ent group is set"),R=this.agolPortalUrl,E=!0,D.results.forEach(I=>{I.sourcePortalUrl=R,I.knownToBePublicSource=E}),l.push(D)}else if(h.status==="rejected")throw new Error(h.reason.message?h.reason.message:"cannotAccessAGO")}),l.length===0?this.cardCache=[]:l.length===1?this.cardCache=this.getCardsFromResponse(l[0]):this.cardCache=C(this.getCardsFromResponse(this.mergeResponses(l)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let w;if(o&&o.size>0){let h=F(this.cardCache,o);w=d(h,i,m)}else w=d(this.cardCache,i,m);return Promise.resolve(w)}).catch(c=>Promise.reject(new Error(c.message)))}requestDeployedSolutionCards(r,s){console.log("requestDeployedSolutionCards");let t=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==r.q||this.cardCacheParams.categoriesAsStr!==JSON.stringify(r.q)||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:"[]",sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=C(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let a=d(this.cardCache,1,this.cardCache.length);return Promise.resolve(a)}let e={q:r.q,filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,authentication:s,portal:t,categories:r?.categories?JSON.stringify(r.categories):""};return T(e).then(a=>{this.cardCache=this.getCardsFromResponse(a);let o=d(this.cardCache,1,this.cardCache.length);return Promise.resolve(o)}).catch(a=>Promise.reject(new Error(a)))}convertSearchCategories(r){return r&&(Array.isArray(r)?r=r.map(s=>JSON.stringify(Array.isArray(s)?s:[s])):r=JSON.stringify([r])),r}getCardsFromResponse(r){return r.results.length>0?b(r.results).map(e=>{let a=e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl,o=e.sourcePortalUrl?e.sourcePortalUrl:this.orgUrl,i={id:e.id,title:e.title,snippet:e.snippet||"",description:e.description||"",url:e.url||"",itemUrl:`${o}/home/item.html`+k([{k:"id",v:e.id}])||"",thumbnailFilename:e.thumbnail,thumbnailUrl:J(e.id,e.thumbnail,this.cMissingImageDataURI,a),tryitUrl:e.url||"",typeKeywords:e.typeKeywords,learnMoreUrl:e.properties?.learnMoreUrl||"",createdMs:e.created,created:u(e.created,this.locale),modified:u(e.modified,this.locale),numViews:e.numViews,tags:e.tags,categories:e.groupCategories&&e.groupCategories.length>0?e.groupCategories:e.categories||[],licenseInfo:B(e.licenseInfo),deployCommonId:U(e.typeKeywords||[],"solutionid-"),deployVersion:U(e.typeKeywords||[],"solutionversion-"),canDelete:e.created>16183314e5,preview:this.preparePreviewImageUrls(e.id,e.properties?.preview,a),sourcePortalUrl:e.sourcePortalUrl||"",knownToBePublicSource:e.knownToBePublicSource||!1,waitId:"",relatedSolutions:N(e,"properties.relatedSolutions")||[],owner:e.owner};return i.deployCommonId!==""&&i.deployVersion!==""?i:null}).filter(e=>e!=null):[]}mergeResponses(r){let s=0;r.forEach(e=>s+=e.total);let t=[];return r.forEach(e=>t=t.concat(e.results)),{query:r[0].query,start:1,num:s,nextStart:-1,total:s,results:t}}preparePreviewImageUrls(r,s,t){return s?s.map(e=>(e.format==="image"&&(e.name=t+"/sharing/rest/content/items/"+r+"/resources/"+e.name),e)):[]}};async function H(n,r,s,t,e=y,a="created",o="desc",i=!1,m=[],f=[],p){if(!n?.IsSignedIn)return;let g={q:e,filter:"type:Solution",sortField:a,sortOrder:o,delay:i,categories:m};return g.q+=_(n,p),await j(r,g,t,f)}function _(n,r){let s="",t=n.PortalUserOrg,e=n.PortalUserName;return t&&(s+=" orgid:"+t),r!==x.ORGANIZATION&&e&&(s+=" owner:"+e),s}async function j(n,r,s,t){let e=await s.requestDeployedSolutionCards(r,n),a=M(e.cards,t);return{cards:e.cards,relatedSolutions:a}}return{a:K,b:H}},a,c,d)
3
+ v1.2.0-next.91 */
4
+ import d from"./OARAV5SK.js";import c from"./V4OZLFLC.js";import a from"./7WLX6QMS.js";import{J as N,mb as T,nb as O,q as b}from"./ON7GTUG3.js";import{g as S}from"./YU47G4J5.js";export default $arcgis.t(([{o:x,p:y},{e:B,f:k,g:J,k:u,l:U},{a:F,b:d,c:M,e:C}])=>{var K=class{constructor(r,s,t){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=r,this.orgUrl=s,this.portalUrl=t,this.anonAgolSession=new S({}),this.agolPortalUrl=t==="https://www.devext.arcgis.com"?"https://www.devext.arcgis.com":t==="https://www.qaext.arcgis.com"?"https://www.qaext.arcgis.com":"https://www.arcgis.com",console.log("can we drop this?"),console.log(this.orgUrl)}addToCache(r){this.cardCache.push(r)}getCache(){return this.cardCache}removeFromCache(r){this.cardCache=this.cardCache.filter(s=>s.id!==r)}requestAvailableSolutionCards(r,s,t,e,a,o){console.log("requestAvailableSolutionCards");let i=a?.start?a.start:1,m=a?.num?a.num:24,f=this.portalUrl+"/sharing/rest",p=this.agolPortalUrl+"/sharing/rest",g=this.anonAgolSession,A=JSON.stringify(r.categories);if(this.cardCacheParams.q!==r.q||this.cardCacheParams.categoriesAsStr!==A||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:A,sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=C(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let c;if(o&&o.size>0){let l=F(this.cardCache,o);c=d(l,i,m)}else c=d(this.cardCache,i,m);return Promise.resolve(c)}let v={filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,categories:r?.categories?this.convertSearchCategories(r.categories):""},P=[];if(s){let c=e||new S({});P.push(O(s,r.q,c,v,f))}return t&&P.push(O(t,r.q,g,v,p)),Promise.allSettled(P).then(c=>{let l=[];c.forEach(h=>{if(h.status==="fulfilled"){let D=h.value,R="",E=!1;console.log("check this isPrimary logic when only the ent group is set"),R=this.agolPortalUrl,E=!0,D.results.forEach(I=>{I.sourcePortalUrl=R,I.knownToBePublicSource=E}),l.push(D)}else if(h.status==="rejected")throw new Error(h.reason.message?h.reason.message:"cannotAccessAGO")}),l.length===0?this.cardCache=[]:l.length===1?this.cardCache=this.getCardsFromResponse(l[0]):this.cardCache=C(this.getCardsFromResponse(this.mergeResponses(l)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let w;if(o&&o.size>0){let h=F(this.cardCache,o);w=d(h,i,m)}else w=d(this.cardCache,i,m);return Promise.resolve(w)}).catch(c=>Promise.reject(new Error(c.message)))}requestDeployedSolutionCards(r,s){console.log("requestDeployedSolutionCards");let t=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==r.q||this.cardCacheParams.categoriesAsStr!==JSON.stringify(r.q)||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:"[]",sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=C(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let a=d(this.cardCache,1,this.cardCache.length);return Promise.resolve(a)}let e={q:r.q,filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,authentication:s,portal:t,categories:r?.categories?JSON.stringify(r.categories):""};return T(e).then(a=>{this.cardCache=this.getCardsFromResponse(a);let o=d(this.cardCache,1,this.cardCache.length);return Promise.resolve(o)}).catch(a=>Promise.reject(new Error(a)))}convertSearchCategories(r){return r&&(Array.isArray(r)?r=r.map(s=>JSON.stringify(Array.isArray(s)?s:[s])):r=JSON.stringify([r])),r}getCardsFromResponse(r){return r.results.length>0?b(r.results).map(e=>{let a=e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl,o=e.sourcePortalUrl?e.sourcePortalUrl:this.orgUrl,i={id:e.id,title:e.title,snippet:e.snippet||"",description:e.description||"",url:e.url||"",itemUrl:`${o}/home/item.html`+k([{k:"id",v:e.id}])||"",thumbnailFilename:e.thumbnail,thumbnailUrl:J(e.id,e.thumbnail,this.cMissingImageDataURI,a),tryitUrl:e.url||"",typeKeywords:e.typeKeywords,learnMoreUrl:e.properties?.learnMoreUrl||"",createdMs:e.created,created:u(e.created,this.locale),modified:u(e.modified,this.locale),numViews:e.numViews,tags:e.tags,categories:e.groupCategories&&e.groupCategories.length>0?e.groupCategories:e.categories||[],licenseInfo:B(e.licenseInfo),deployCommonId:U(e.typeKeywords||[],"solutionid-"),deployVersion:U(e.typeKeywords||[],"solutionversion-"),canDelete:e.created>16183314e5,preview:this.preparePreviewImageUrls(e.id,e.properties?.preview,a),sourcePortalUrl:e.sourcePortalUrl||"",knownToBePublicSource:e.knownToBePublicSource||!1,waitId:"",relatedSolutions:N(e,"properties.relatedSolutions")||[],owner:e.owner};return i.deployCommonId!==""&&i.deployVersion!==""?i:null}).filter(e=>e!=null):[]}mergeResponses(r){let s=0;r.forEach(e=>s+=e.total);let t=[];return r.forEach(e=>t=t.concat(e.results)),{query:r[0].query,start:1,num:s,nextStart:-1,total:s,results:t}}preparePreviewImageUrls(r,s,t){return s?s.map(e=>(e.format==="image"&&(e.name=t+"/sharing/rest/content/items/"+r+"/resources/"+e.name),e)):[]}};async function H(n,r,s,t,e=y,a="created",o="desc",i=!1,m=[],f=[],p){if(!n?.IsSignedIn)return;let g={q:e,filter:"type:Solution",sortField:a,sortOrder:o,delay:i,categories:m};return g.q+=_(n,p),await j(r,g,t,f)}function _(n,r){let s="",t=n.PortalUserOrg,e=n.PortalUserName;return t&&(s+=" orgid:"+t),r!==x.ORGANIZATION&&e&&(s+=" owner:"+e),s}async function j(n,r,s,t){let e=await s.requestDeployedSolutionCards(r,n),a=M(e.cards,t);return{cards:e.cards,relatedSolutions:a}}return{a:K,b:H}},a,c,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.2/esri/copyright.txt for details.
3
- v1.2.0-next.90 */
4
- import{a as m}from"./WZZGWV7P.js";import{a as f}from"./BISCMLCA.js";var i=class extends Error{constructor(t,e,s){super(t),this.status=s,this.url=e}};var c=class extends i{constructor(t,e,s,n){super(t,e,s),this.error=n}};function u(r){let{token:t,authentication:e}=r,s=()=>Promise.resolve(t);return e&&(s=e.getToken.bind(e,e.portal)),s()}function h(r,t,e,s){var n;let p=r,o=new Headers(t.headers);o.append("Content-Type","application/json"),s&&o.append("Authorization",`Bearer ${s}`);let d={headers:o,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},x=f({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${e}`});if(t.data)if(t.httpMethod==="GET"){let a=new URLSearchParams(t.data).toString();p+=`?${a}`}else d.body=JSON.stringify(t.data);let g=["/posts","/posts/search"].includes(r)&&(((n=t.data)===null||n===void 0?void 0:n.f)===m.CSV||o.get("Accept")==="text/csv"),l=[x.replace(/\/$/,""),p.replace(/^\//,"")].join("/");return fetch(l,d).then(a=>{if(a.ok)return g?a.text():a.json();{let{statusText:b,status:q}=a;return a.json().then(y=>{throw new c(b,l,q,JSON.stringify(y.message))})}})}function w(r,t){return u(t).then(e=>h(r,t,"v1",e))}function P(r,t){return u(t).then(e=>h(r,t,"v2",e))}export{w as a,P as b};
3
+ v1.2.0-next.91 */
4
+ import{a as m}from"./RK3QSXVH.js";import{a as f}from"./CRDXHMLP.js";var i=class extends Error{constructor(t,e,s){super(t),this.status=s,this.url=e}};var c=class extends i{constructor(t,e,s,n){super(t,e,s),this.error=n}};function u(r){let{token:t,authentication:e}=r,s=()=>Promise.resolve(t);return e&&(s=e.getToken.bind(e,e.portal)),s()}function h(r,t,e,s){var n;let p=r,o=new Headers(t.headers);o.append("Content-Type","application/json"),s&&o.append("Authorization",`Bearer ${s}`);let d={headers:o,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},x=f({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${e}`});if(t.data)if(t.httpMethod==="GET"){let a=new URLSearchParams(t.data).toString();p+=`?${a}`}else d.body=JSON.stringify(t.data);let g=["/posts","/posts/search"].includes(r)&&(((n=t.data)===null||n===void 0?void 0:n.f)===m.CSV||o.get("Accept")==="text/csv"),l=[x.replace(/\/$/,""),p.replace(/^\//,"")].join("/");return fetch(l,d).then(a=>{if(a.ok)return g?a.text():a.json();{let{statusText:b,status:q}=a;return a.json().then(y=>{throw new c(b,l,q,JSON.stringify(y.message))})}})}function w(r,t){return u(t).then(e=>h(r,t,"v1",e))}function P(r,t){return u(t).then(e=>h(r,t,"v2",e))}export{w as a,P as b};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.90 */
4
- import h from"./ALT3WNKP.js";import d from"./ZSSBKLW4.js";import{b as w,d as y}from"./6YHC3QYS.js";import"./U5B74HAP.js";import{a as b}from"./QMSBJMWC.js";import"./76PLP63F.js";import"./ZNG2SHDX.js";import"./2QXPV6MJ.js";import"./AIHSOICZ.js";import"./ON3LYFYX.js";import"./IMOD7IV2.js";import"./LDMBWRJ2.js";import"./MJTQGN6E.js";import"./DCWUWXLG.js";import"./BISCMLCA.js";import"./MOIOUDYG.js";import"./JVQCHCLL.js";import"./DP5DN2BH.js";import"./7WSQSV4F.js";import"./VNSE5CSU.js";import"./RGHHGDBP.js";import"./N5FFLPE4.js";import"./SJGI4QUN.js";import"./VN7UMJC7.js";import"./ZRMBGS4Y.js";import"./TI77ZOKU.js";import{b as g}from"./62UID2KL.js";import{F as a,G as n,H as v,J as m,K as l,L as c,h as f,i as e,j as p}from"./BVRG4SP2.js";import"./ZGUWAA6F.js";export default $arcgis.t(([R,S,{s:x},{n:k}])=>{var C=f`/** @license
3
+ v1.2.0-next.91 */
4
+ import h from"./V4OZLFLC.js";import d from"./7WLX6QMS.js";import{b as w,d as y}from"./PLAR2IUW.js";import"./ON7GTUG3.js";import{a as b}from"./XGGEVEIS.js";import"./WAV7RBNQ.js";import"./74JUDCVW.js";import"./LZAIQWSO.js";import"./GAYAEP7U.js";import"./LE66DUH7.js";import"./QGXJ7WC2.js";import"./MUNVTRCN.js";import"./EF5MFGTJ.js";import"./XYLRI7IB.js";import"./CRDXHMLP.js";import"./HFZVW3O5.js";import"./4T7ZQ2ZG.js";import"./VUUEK5JJ.js";import"./SPFE5X5Z.js";import"./VUNTWUDR.js";import"./JT57JFXC.js";import"./YU47G4J5.js";import"./KFMJ3EXL.js";import"./4RAD4G6H.js";import"./IPTPYEUM.js";import"./6IYSQUM2.js";import{b as g}from"./5R4WQYWH.js";import{F as a,G as n,H as v,J as m,K as l,L as c,h as f,i as e,j as p}from"./IYR62BJF.js";import"./S4ZB6ESK.js";export default $arcgis.t(([R,S,{s:x},{n:k}])=>{var C=f`/** @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.2/esri/copyright.txt for details.
3
- v1.2.0-next.90 */
4
- import{b as u}from"./NGK5LXB4.js";import{H as r,h as n,i as a}from"./BVRG4SP2.js";import"./ZGUWAA6F.js";var c=n`:host{display:block;margin-block-start:var(--padding)}[role=group],li{display:grid;grid-template-columns:1fr auto}[role=group]{align-items:end;gap:var(--padding);calcite-label{--calcite-label-margin-bottom: 0}calcite-button{height:32px}}ol,li{list-style:none;padding:0;margin:0}ol{border:var(--border-style);margin-block-start:var(--padding)}li{align-items:center;padding-inline-start:var(--padding);&:not(:last-child){border-bottom:var(--border-style)}span{color:inherit;font-size:inherit;font-weight:var(--calcite-font-weight-normal)}calcite-button{--calcite-icon-color: var(--calcite-color-text-3);width:var(--close-button-size);height:var(--close-button-size)}}`;function l(i){return a`<li class="buffer-distance-value"><span>${i.value}</span><calcite-button kind=neutral appearance=transparent scale=s @click=${i.onRemoveClick} .label=${i.removeValueLabel}><calcite-icon icon=x scale=s></calcite-icon></calcite-button></li>`}var s=class extends r{constructor(){super(...arguments),this.#e=3,this._uniqueDistanceValues=new Set}static{this.properties={_uniqueDistanceValues:16,distanceValuesSorted:32,bufferInputStep:11,bufferDistance:11,bufferMinDistance:11,bufferMaxDistance:11,inputNumberLabel:1,addButtonLabel:1,removeValueLabel:1}}static{this.styles=c}#e;#t;#i;#a;#s;get distanceValuesSorted(){return[...this._uniqueDistanceValues].sort((e,t)=>e-t)}get bufferInputStep(){return this.#s}set bufferInputStep(e){this._validateBufferNumber(e,"bufferInputStep"),this.#s=e}get bufferDistance(){return this.#t}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.#t=e}get bufferMinDistance(){return this.#i}set bufferMinDistance(e){if(this._validateBufferNumber(e,"bufferMinDistance"),e>this.bufferMaxDistance)throw new Error("bufferMinDistance must be less than bufferMaxDistance");this.#i=e}get bufferMaxDistance(){return this.#a}set bufferMaxDistance(e){if(this._validateBufferNumber(e,"bufferMaxDistance"),e<this.bufferMinDistance)throw new Error("bufferMaxDistance must be greater than bufferMinDistance");this.#a=e}_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`)}_maybeAddDistanceValue(){this._uniqueDistanceValues.size<this.#e&&(this._uniqueDistanceValues=new Set([...this._uniqueDistanceValues,this.bufferDistance]))}_removeDistanceValue(e){this._uniqueDistanceValues.size&&(this._uniqueDistanceValues.delete(e),this._uniqueDistanceValues=new Set(this._uniqueDistanceValues))}_getRemoveValueLabel(e){return this.removeValueLabel.replace("{number}",`${e}`)}_onBufferDistanceInputInput(e){let t=Number(e.target.value);t>=this.bufferMinDistance&&t<=this.bufferMaxDistance&&(this.bufferDistance=t)}_renderDistanceValuesList(){return this._uniqueDistanceValues.size?a`<ol role=list>${this.distanceValuesSorted.map(e=>l({value:e,removeValueLabel:this._getRemoveValueLabel(e),onRemoveClick:()=>this._removeDistanceValue(e)}))}</ol>`:null}render(){return a`<div><div role=group><calcite-label><span>${this.inputNumberLabel}</span><calcite-input-number .value=${`${this.bufferDistance}`} .step=${this.bufferInputStep} .min=${this.bufferMinDistance} .max=${this.bufferMaxDistance} @calciteInputNumberInput=${this._onBufferDistanceInputInput}></calcite-input-number></calcite-label><calcite-button icon-start=plus @click=${this._maybeAddDistanceValue} appearance=outline>${this.addButtonLabel}</calcite-button></div>${this._renderDistanceValuesList()}</div>`}};u("instant-apps-buffer-distance-manager",s);export{s as InstantAppsBufferDistanceManager};
3
+ v1.2.0-next.91 */
4
+ import{b as u}from"./MR55Z6WO.js";import{H as r,h as n,i as a}from"./IYR62BJF.js";import"./S4ZB6ESK.js";var c=n`:host{display:block;margin-block-start:var(--padding)}[role=group],li{display:grid;grid-template-columns:1fr auto}[role=group]{align-items:end;gap:var(--padding);calcite-label{--calcite-label-margin-bottom: 0}calcite-button{height:32px}}ol,li{list-style:none;padding:0;margin:0}ol{border:var(--border-style);margin-block-start:var(--padding)}li{align-items:center;padding-inline-start:var(--padding);&:not(:last-child){border-bottom:var(--border-style)}span{color:inherit;font-size:inherit;font-weight:var(--calcite-font-weight-normal)}calcite-button{--calcite-icon-color: var(--calcite-color-text-3);width:var(--close-button-size);height:var(--close-button-size)}}`;function l(i){return a`<li class="buffer-distance-value"><span>${i.value}</span><calcite-button kind=neutral appearance=transparent scale=s @click=${i.onRemoveClick} .label=${i.removeValueLabel}><calcite-icon icon=x scale=s></calcite-icon></calcite-button></li>`}var s=class extends r{constructor(){super(...arguments),this.#e=3,this._uniqueDistanceValues=new Set}static{this.properties={_uniqueDistanceValues:16,distanceValuesSorted:32,bufferInputStep:11,bufferDistance:11,bufferMinDistance:11,bufferMaxDistance:11,inputNumberLabel:1,addButtonLabel:1,removeValueLabel:1}}static{this.styles=c}#e;#t;#i;#a;#s;get distanceValuesSorted(){return[...this._uniqueDistanceValues].sort((e,t)=>e-t)}get bufferInputStep(){return this.#s}set bufferInputStep(e){this._validateBufferNumber(e,"bufferInputStep"),this.#s=e}get bufferDistance(){return this.#t}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.#t=e}get bufferMinDistance(){return this.#i}set bufferMinDistance(e){if(this._validateBufferNumber(e,"bufferMinDistance"),e>this.bufferMaxDistance)throw new Error("bufferMinDistance must be less than bufferMaxDistance");this.#i=e}get bufferMaxDistance(){return this.#a}set bufferMaxDistance(e){if(this._validateBufferNumber(e,"bufferMaxDistance"),e<this.bufferMinDistance)throw new Error("bufferMaxDistance must be greater than bufferMinDistance");this.#a=e}_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`)}_maybeAddDistanceValue(){this._uniqueDistanceValues.size<this.#e&&(this._uniqueDistanceValues=new Set([...this._uniqueDistanceValues,this.bufferDistance]))}_removeDistanceValue(e){this._uniqueDistanceValues.size&&(this._uniqueDistanceValues.delete(e),this._uniqueDistanceValues=new Set(this._uniqueDistanceValues))}_getRemoveValueLabel(e){return this.removeValueLabel.replace("{number}",`${e}`)}_onBufferDistanceInputInput(e){let t=Number(e.target.value);t>=this.bufferMinDistance&&t<=this.bufferMaxDistance&&(this.bufferDistance=t)}_renderDistanceValuesList(){return this._uniqueDistanceValues.size?a`<ol role=list>${this.distanceValuesSorted.map(e=>l({value:e,removeValueLabel:this._getRemoveValueLabel(e),onRemoveClick:()=>this._removeDistanceValue(e)}))}</ol>`:null}render(){return a`<div><div role=group><calcite-label><span>${this.inputNumberLabel}</span><calcite-input-number .value=${`${this.bufferDistance}`} .step=${this.bufferInputStep} .min=${this.bufferMinDistance} .max=${this.bufferMaxDistance} @calciteInputNumberInput=${this._onBufferDistanceInputInput}></calcite-input-number></calcite-label><calcite-button icon-start=plus @click=${this._maybeAddDistanceValue} appearance=outline>${this.addButtonLabel}</calcite-button></div>${this._renderDistanceValuesList()}</div>`}};u("instant-apps-buffer-distance-manager",s);export{s as InstantAppsBufferDistanceManager};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.90 */
3
+ v1.2.0-next.91 */
4
4
  var e=["hub:channel","hub:channel:create","hub:channel:delete","hub:channel:edit","hub:channel:view","hub:channel:owner","hub:channel:manage","hub:channel:read","hub:channel:write","hub:channel:readWrite","hub:channel:moderate"],n="hub:channel:none",h={channelRoot:"hub:channel",channelCreate:"hub:channel:create",channelDelete:"hub:channel:delete",channelEdit:"hub:channel:edit",channelView:"hub:channel:view",channelOwner:"hub:channel:owner",channelManage:"hub:channel:manage",channelRead:"hub:channel:read",channelWrite:"hub:channel:write",channelReadWrite:"hub:channel:readWrite",channelModerate:"hub:channel:moderate"};export{e as a,n as b,h as c};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.90 */
4
- import f from"./ATHPXULU.js";import e from"./NLZXS7RS.js";import b from"./GA3HHDOK.js";import a from"./NUGVN2NT.js";import{a as g}from"./NZVAVBSY.js";import{b as p}from"./NGK5LXB4.js";import"./76PLP63F.js";import"./ZNG2SHDX.js";import{H as o,J as d,K as l,L as c,h as s,i as t,r}from"./BVRG4SP2.js";import"./ZGUWAA6F.js";export default $arcgis.t(([,,,{i:h,t:v}])=>{var _=s`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var( --calcite-color-text-1 );--instant-apps-interactive-legend-ui-padding: 15px 10px}:host .esri-widget__heading{overflow:hidden}:host .esri-widget__heading{margin:0;overflow-x:hidden}:host .esri-widget__heading{display:inline-block;font-size:var(--instant-apps-interactive-legend-heading-font-size)}:host .esri-widget__heading{font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}:host header{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host header h3{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color)}:host header .instant-apps-interactive-legend__heading-text--group-item{-webkit-line-clamp:2;line-clamp:2}:host header span{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}:host header .instant-apps-interactive-legend__header-action-container{display:flex;align-items:center}:host .esri-widget__heading header{padding:var(--instant-apps-interactive-legend-ui-padding)}:host .esri-widget--panel{margin:0}:host(.calcite-mode-dark) .instant-apps-interactive-legend__header{background-color:#242424;color:var(--calcite-color-text-1)}:host(.calcite-mode-light) .instant-apps-interactive-legend__header{background-color:#fff;color:var(--calcite-color-text-1)}`,e={label:"esri-legend__service-label",header:"esri-widget__heading",interactiveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container"},a=class extends o{constructor(){super(...arguments),this._messages=g({name:"instant-apps-interactive-legend",blocking:!0}),this.isChild=!1,this.expanded=!0,this.groupLayerCaptionElementExpandUpdated=r()}static{this.properties={legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5,expanded:5}}static{this.styles=_}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.groupLayerCaptionElementExpandUpdated.emit(this.expanded)}}render(){let m=h(this.activeLayerInfo),{expanded:n}=this,i=n?this._messages.collapse:this._messages.expand,f=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"";return t`<header class=${`${e.interactiveLegendHeader} ${v(this.el)}`} style=${l({borderLeft:"1px solid var(--calcite-color-border-3)"})}><span><span class=${d(e.headerActionContainer)}><calcite-action @click=${this.toggleExpanded()} .icon=${n?"chevron-down":"chevron-up"} appearance=transparent .text=${i} .label=${i} scale=s></calcite-action><h3 class=${`${e.header} ${e.label}${f}`} title=${this.activeLayerInfo?.title??""??c}>${this.activeLayerInfo?.title}</h3></span>${this.featureCount&&m?t`<instant-apps-interactive-legend-count .activeLayerInfo=${this.activeLayerInfo} show-total .legendvm=${this.legendvm}></instant-apps-interactive-legend-count>`:null}</span></header>`}};p("instant-apps-interactive-legend-group-legend-element-caption",a);return a},a,b,e,f)
3
+ v1.2.0-next.91 */
4
+ import f from"./IRGPKJUX.js";import e from"./BJGHKXEP.js";import b from"./LDEMONJ6.js";import a from"./2NLIYAHS.js";import{a as g}from"./32FC422D.js";import{b as p}from"./MR55Z6WO.js";import"./WAV7RBNQ.js";import"./74JUDCVW.js";import{H as o,J as d,K as l,L as c,h as s,i as t,r}from"./IYR62BJF.js";import"./S4ZB6ESK.js";export default $arcgis.t(([,,,{i:h,t:v}])=>{var _=s`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var( --calcite-color-text-1 );--instant-apps-interactive-legend-ui-padding: 15px 10px}:host .esri-widget__heading{overflow:hidden}:host .esri-widget__heading{margin:0;overflow-x:hidden}:host .esri-widget__heading{display:inline-block;font-size:var(--instant-apps-interactive-legend-heading-font-size)}:host .esri-widget__heading{font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}:host header{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host header h3{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color)}:host header .instant-apps-interactive-legend__heading-text--group-item{-webkit-line-clamp:2;line-clamp:2}:host header span{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}:host header .instant-apps-interactive-legend__header-action-container{display:flex;align-items:center}:host .esri-widget__heading header{padding:var(--instant-apps-interactive-legend-ui-padding)}:host .esri-widget--panel{margin:0}:host(.calcite-mode-dark) .instant-apps-interactive-legend__header{background-color:#242424;color:var(--calcite-color-text-1)}:host(.calcite-mode-light) .instant-apps-interactive-legend__header{background-color:#fff;color:var(--calcite-color-text-1)}`,e={label:"esri-legend__service-label",header:"esri-widget__heading",interactiveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container"},a=class extends o{constructor(){super(...arguments),this._messages=g({name:"instant-apps-interactive-legend",blocking:!0}),this.isChild=!1,this.expanded=!0,this.groupLayerCaptionElementExpandUpdated=r()}static{this.properties={legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5,expanded:5}}static{this.styles=_}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.groupLayerCaptionElementExpandUpdated.emit(this.expanded)}}render(){let m=h(this.activeLayerInfo),{expanded:n}=this,i=n?this._messages.collapse:this._messages.expand,f=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"";return t`<header class=${`${e.interactiveLegendHeader} ${v(this.el)}`} style=${l({borderLeft:"1px solid var(--calcite-color-border-3)"})}><span><span class=${d(e.headerActionContainer)}><calcite-action @click=${this.toggleExpanded()} .icon=${n?"chevron-down":"chevron-up"} appearance=transparent .text=${i} .label=${i} scale=s></calcite-action><h3 class=${`${e.header} ${e.label}${f}`} title=${this.activeLayerInfo?.title??""??c}>${this.activeLayerInfo?.title}</h3></span>${this.featureCount&&m?t`<instant-apps-interactive-legend-count .activeLayerInfo=${this.activeLayerInfo} show-total .legendvm=${this.legendvm}></instant-apps-interactive-legend-count>`:null}</span></header>`}};p("instant-apps-interactive-legend-group-legend-element-caption",a);return a},a,b,e,f)
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.91 */
4
+ import{a}from"./U3JKVIW6.js";import"./PLAR2IUW.js";import"./XGGEVEIS.js";import"./WAV7RBNQ.js";import"./74JUDCVW.js";import"./5R4WQYWH.js";import"./IYR62BJF.js";import"./S4ZB6ESK.js";export{a as SolutionsDeployedShell};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.90 */
4
- import{a as e}from"./OY3DZINK.js";var i=["hub:template:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}}})});export{i as a,r as b};
3
+ v1.2.0-next.91 */
4
+ import{a as e}from"./OMZT4IAY.js";var i=["hub:template:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}}})});export{i as a,r as b};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.90 */
4
- import d from"./NLZXS7RS.js";import c from"./GA3HHDOK.js";import a from"./NUGVN2NT.js";import{a as F}from"./QQSSFODB.js";import{a as E}from"./NZVAVBSY.js";import{b as D}from"./NGK5LXB4.js";import"./76PLP63F.js";import"./ZNG2SHDX.js";import{G as b,H as $,J as H,h as w,i as y,u as I}from"./BVRG4SP2.js";import"./ZGUWAA6F.js";export default $arcgis.t(([j,T,N,,L,{a:m}])=>{var R=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),P=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),B=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function G(c,e){return e===null?R.get("HH")[c]:R.get(e)?.[c]??null}function J(c,e){return e===null?c:P.get(e)?.[c]??c}function O(c,e){return e===null?O(c,"HH"):B.get(e)?.[c]??null}var K=w`@layer{instant-apps-interactive-legend-relationship{display:block}instant-apps-interactive-legend-relationship .instant-apps-interactive-legend-relationship__instructional-text{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark instant-apps-interactive-legend-relationship .instant-apps-interactive-legend-relationship__instructional-text{background-color:var(--calcite-color-brand);color:#151515}}`,k="svg g:first-of-type",Q="svg g:last-of-type",h="esri-interactive-legend--selected-cell",V="esri-interactive-legend--instructional-text",M=2,S=3,U=4,W=Object.freeze({0:"L",1:"H"}),X=Object.freeze({0:"L",1:"M",2:"H"}),Y=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Z={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},x=class extends ${constructor(){super(),this._messages=E({name:"instant-apps-interactive-legend"}),this.cellNodeCounter=0,this.listenOn(window,"showAllSelected",this.showAllSelectedEmitted)}static{this.properties={filterMode:0,activeLayerInfo:0,legendElement:0}}static{this.styles=K}static{this.shadowRootOptions=I}get shouldApplyCustomFunctionality(){return!!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&m.data)}showAllSelectedEmitted(){let e=m.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,t=this.relationshipRamp.querySelector(k);if(!t)return;let i=Array.from(t.children);e&&i?.forEach(s=>{s.removeAttribute("stroke"),s.removeAttribute("stroke-width"),s.removeAttribute("stroke-opacity"),s.setAttribute("aria-pressed","false"),s.classList.remove(h)})}applyRelationshipRampSvgAriaAttributes(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector("svg");t&&(clearInterval(e),t.setAttribute("role","group"),t.setAttribute("aria-labelledby",V),t.removeAttribute("focusable"));let i=this.relationshipRamp.querySelector(Q);i&&(clearInterval(e),i.setAttribute("aria-hidden","true"))},10)}}applyRelationshipRampInteractivity(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector(k);if(t){clearInterval(e);let i=t.children;this.setupRelationshipDrawingStyle(i)}},10)}}setupRelationshipDrawingStyle(e){let t=Array.from(e);if(!t.length)return;let i=(this.activeLayerInfo?.layer?.renderer).uniqueValueInfos;if(Array.isArray(i))for(let a of i){let n=i.indexOf(a),l=t[n];this.setCellAttributes(l,n),l.classList.add("esri-interactive-legend__svg-rect-element")}let s=this.reorderCellNodes(t);this.attachFeatureIndexes(s),this.applyEventHandlers()}setCellAttributes(e,t){let i=this.activeLayerInfo.layer.renderer.uniqueValueInfos,s=this.generateIndexPattern(t);if(Array.isArray(i)&&i[s]){let a=e.classList.contains(h)?"true":"false",n=i[s]?.label||"",l=i[s]?.symbol?.color?.toHex?.()||"";e.setAttribute("data-color",l),e.setAttribute("data-cell-index",`${s}`),e.setAttribute("tabindex","0"),e.setAttribute("aria-pressed",a),e.setAttribute("aria-label",n),e.setAttribute("role","button")}}generateIndexPattern(e){let{focus:t,numClasses:i}=this.legendElement;return t==="HL"?e:i===2?G(e,t):i===3?J(e,t):i===4?O(e,t):null}reorderCellNodes(e){let t=[];for(;this.cellNodeCounter<=e.length-1;)e.map(i=>{Number.parseInt(i.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(i)}),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){let{focus:t,numClasses:i}=this.legendElement;t==="HH"||t===null?this.relationshipFocusIsHighHigh(e,i):t==="LL"?this.relationshipFocusIsLowLow(e,i):t==="LH"?this.relationshipFocusIsLowHigh(e,i):t==="HL"&&this.relationshipFocusIsHighLow(e,i),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let i=t-1;i>=0;i--)for(let s=t-1;s>=0;s--)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let i=0;i<t;i++)for(let s=0;s<t;s++)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let i=0;i<t;i++)for(let s=t-1;s>=0;s--)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let i=t-1;i>=0;i--)for(let s=0;s<t;s++)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}setDataAttributes(e,t,i,s){let a=e[this.cellNodeCounter];s===M?this.twoClassAttributes(a,t,i):s===S?this.threeClassAttributes(a,t,i):this.fourClassAttributes(a,t,i)}twoClassAttributes(e,t,i){let{legendElement:s}=this;this.cellNodeCounter===0||this.cellNodeCounter===3?s.focus==="HL"?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i):s.focus==="HL"?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i)}threeClassAttributes(e,t,i){let{legendElement:s}=this;this.cellNodeCounter===1||this.cellNodeCounter===3||this.cellNodeCounter===5||this.cellNodeCounter===7?s.focus==="HL"?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i):s.focus!=="HL"?this.setDataFeatureIndexes(e,t,i):this.swapDataFeatureIndexes(e,t,i)}fourClassAttributes(e,t,i){let{legendElement:s}=this,{focus:a}=s;this.cellNodeCounter>0&&this.cellNodeCounter<=14?a==="HL"?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i):a!=="HL"?this.setDataFeatureIndexes(e,t,i):this.swapDataFeatureIndexes(e,t,i)}setDataFeatureIndexes(e,t,i){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${i}`),this.setDataCellFocusValue(e,t,i)}swapDataFeatureIndexes(e,t,i){e.setAttribute("data-feature-i",`${i}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocusValue(e,i,t)}getDataCellValue(e,t,i){let s=i[e],a=i[t];return s&&a?`${s}${a}`:""}getDataCellMap(e){switch(e){case M:return W;case S:return X;case U:return Y;default:throw new Error("unrecognized numClasses")}}setDataCellFocusValue(e,t,i){let s=this.legendElement.numClasses,a=this.getDataCellMap(s),n=this.getDataCellValue(t,i,a);n?e.setAttribute("data-cell-focus",n):e.removeAttribute("data-cell-focus")}async onCellClick(e,t){let{i,j:s,focus:a}=t;await this.handleFilter(i,s,a),this.handleSelectedElement(e)}applyEventHandlers(){let e=this.relationshipRamp.querySelectorAll("svg rect");Array.from(e).forEach(t=>{let i=t.getAttribute("data-feature-i"),s=t.getAttribute("data-feature-j"),a=t.getAttribute("data-cell-focus");t.onclick=async()=>{await this.onCellClick(t,{i,j:s,focus:a})},t.onkeydown=async n=>{n.key==="Enter"&&await this.onCellClick(t,{i,j:s,focus:a})},t.onkeyup=async n=>{n.key===" "&&await this.onCellClick(t,{i,j:s,focus:a})}})}async handleFilter(e,t,i){let s=this.activeLayerInfo.layer?.renderer?.authoringInfo,a=s?.field1,n=s?.field2,{queryExpressions:l,fLayerView:o}=m.data[this.activeLayerInfo.layer.id];if(this.legendElement.type==="relationship-ramp"&&s&&a&&n){let u=this.generateExpressionParams(a,n,s,e,t,i),r=this.generateExpressionForRelationship(u);l.length===0?l[0]=r:l.includes(r)?l.splice(l.indexOf(r),1):l.push(r);let d=l.join(" OR "),p=o?.filter?.timeExtent??null;if(this.filterMode?.type==="filter")o.filter=new N({where:d,timeExtent:o?.filter?.timeExtent??null});else if(this.filterMode?.effect){let{includedEffect:f,excludedEffect:A}=this.filterMode.effect,g=await L(A,o,"excludedEffect"),v=await L(f,o,"includedEffect");o.featureEffect=new T({filter:new N({where:d,timeExtent:p}),includedEffect:v,excludedEffect:g})}}}generateExpressionParams(e,t,i,s,a,n){let l=[],o=e.field,u=t.field,r=e.classBreakInfos,d=t.classBreakInfos,p=Object.hasOwn(i.field1,"normalizationField")?i?.field1?.normalizationField:null,f=Object.hasOwn(i.field2,"normalizationField")?i?.field2?.normalizationField:null;r.forEach((v,q)=>{let C=[];d.forEach((ee,_)=>{let z=[r[q],d[_]];C.push(z)}),l.push(C)});let A=p?`(${o}/${p})`:o,g=f?`(${u}/${f})`:u;return{data:l,i:s,j:a,field1:A,field2:g,focus:n}}generateExpressionForRelationship(e){let{focus:t,field1:i,field2:s,data:a,i:n,j:l}=e,o=Number.parseInt(n),u=Number.parseInt(l),r=a[o][u];return t==="LL"?`${i} >= ${r[0].minValue} AND ${i} <= ${r[0].maxValue} AND ${s} >= ${r[1].minValue} AND ${s} <= ${r[1].maxValue}`:t==="LM"||t==="LM1"||t==="LM2"||t==="LH"?`${i} >= ${r[0].minValue} AND ${i} <= ${r[0].maxValue} AND ${s} > ${r[1].minValue} AND ${s} <= ${r[1].maxValue}`:t==="ML"||t==="M1L"||t==="M2L"||t==="HL"?`${i} > ${r[0].minValue} AND ${i} <= ${r[0].maxValue} AND ${s} >= ${r[1].minValue} AND ${s} <= ${r[1].maxValue}`:`${i} > ${r[0].minValue} AND ${i} <= ${r[0].maxValue} AND ${s} > ${r[1].minValue} AND ${s} <= ${r[1].maxValue}`}handleSelectedElement(e){e.classList.contains(h)?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.setAttribute("aria-pressed","false"),e.classList.remove(h)):(e.classList.add(h),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"),e.setAttribute("aria-pressed","true"))}addCSS(e){if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
3
+ v1.2.0-next.91 */
4
+ import d from"./BJGHKXEP.js";import c from"./LDEMONJ6.js";import a from"./2NLIYAHS.js";import{a as F}from"./4UEZKRVG.js";import{a as E}from"./32FC422D.js";import{b as D}from"./MR55Z6WO.js";import"./WAV7RBNQ.js";import"./74JUDCVW.js";import{G as b,H as $,J as H,h as w,i as y,u as I}from"./IYR62BJF.js";import"./S4ZB6ESK.js";export default $arcgis.t(([j,T,N,,L,{a:m}])=>{var R=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),P=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),B=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function G(c,e){return e===null?R.get("HH")[c]:R.get(e)?.[c]??null}function J(c,e){return e===null?c:P.get(e)?.[c]??c}function O(c,e){return e===null?O(c,"HH"):B.get(e)?.[c]??null}var K=w`@layer{instant-apps-interactive-legend-relationship{display:block}instant-apps-interactive-legend-relationship .instant-apps-interactive-legend-relationship__instructional-text{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark instant-apps-interactive-legend-relationship .instant-apps-interactive-legend-relationship__instructional-text{background-color:var(--calcite-color-brand);color:#151515}}`,k="svg g:first-of-type",Q="svg g:last-of-type",h="esri-interactive-legend--selected-cell",V="esri-interactive-legend--instructional-text",M=2,S=3,U=4,W=Object.freeze({0:"L",1:"H"}),X=Object.freeze({0:"L",1:"M",2:"H"}),Y=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Z={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},x=class extends ${constructor(){super(),this._messages=E({name:"instant-apps-interactive-legend"}),this.cellNodeCounter=0,this.listenOn(window,"showAllSelected",this.showAllSelectedEmitted)}static{this.properties={filterMode:0,activeLayerInfo:0,legendElement:0}}static{this.styles=K}static{this.shadowRootOptions=I}get shouldApplyCustomFunctionality(){return!!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&m.data)}showAllSelectedEmitted(){let e=m.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,t=this.relationshipRamp.querySelector(k);if(!t)return;let i=Array.from(t.children);e&&i?.forEach(s=>{s.removeAttribute("stroke"),s.removeAttribute("stroke-width"),s.removeAttribute("stroke-opacity"),s.setAttribute("aria-pressed","false"),s.classList.remove(h)})}applyRelationshipRampSvgAriaAttributes(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector("svg");t&&(clearInterval(e),t.setAttribute("role","group"),t.setAttribute("aria-labelledby",V),t.removeAttribute("focusable"));let i=this.relationshipRamp.querySelector(Q);i&&(clearInterval(e),i.setAttribute("aria-hidden","true"))},10)}}applyRelationshipRampInteractivity(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector(k);if(t){clearInterval(e);let i=t.children;this.setupRelationshipDrawingStyle(i)}},10)}}setupRelationshipDrawingStyle(e){let t=Array.from(e);if(!t.length)return;let i=(this.activeLayerInfo?.layer?.renderer).uniqueValueInfos;if(Array.isArray(i))for(let a of i){let n=i.indexOf(a),l=t[n];this.setCellAttributes(l,n),l.classList.add("esri-interactive-legend__svg-rect-element")}let s=this.reorderCellNodes(t);this.attachFeatureIndexes(s),this.applyEventHandlers()}setCellAttributes(e,t){let i=this.activeLayerInfo.layer.renderer.uniqueValueInfos,s=this.generateIndexPattern(t);if(Array.isArray(i)&&i[s]){let a=e.classList.contains(h)?"true":"false",n=i[s]?.label||"",l=i[s]?.symbol?.color?.toHex?.()||"";e.setAttribute("data-color",l),e.setAttribute("data-cell-index",`${s}`),e.setAttribute("tabindex","0"),e.setAttribute("aria-pressed",a),e.setAttribute("aria-label",n),e.setAttribute("role","button")}}generateIndexPattern(e){let{focus:t,numClasses:i}=this.legendElement;return t==="HL"?e:i===2?G(e,t):i===3?J(e,t):i===4?O(e,t):null}reorderCellNodes(e){let t=[];for(;this.cellNodeCounter<=e.length-1;)e.map(i=>{Number.parseInt(i.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(i)}),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){let{focus:t,numClasses:i}=this.legendElement;t==="HH"||t===null?this.relationshipFocusIsHighHigh(e,i):t==="LL"?this.relationshipFocusIsLowLow(e,i):t==="LH"?this.relationshipFocusIsLowHigh(e,i):t==="HL"&&this.relationshipFocusIsHighLow(e,i),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let i=t-1;i>=0;i--)for(let s=t-1;s>=0;s--)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let i=0;i<t;i++)for(let s=0;s<t;s++)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let i=0;i<t;i++)for(let s=t-1;s>=0;s--)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let i=t-1;i>=0;i--)for(let s=0;s<t;s++)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}setDataAttributes(e,t,i,s){let a=e[this.cellNodeCounter];s===M?this.twoClassAttributes(a,t,i):s===S?this.threeClassAttributes(a,t,i):this.fourClassAttributes(a,t,i)}twoClassAttributes(e,t,i){let{legendElement:s}=this;this.cellNodeCounter===0||this.cellNodeCounter===3?s.focus==="HL"?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i):s.focus==="HL"?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i)}threeClassAttributes(e,t,i){let{legendElement:s}=this;this.cellNodeCounter===1||this.cellNodeCounter===3||this.cellNodeCounter===5||this.cellNodeCounter===7?s.focus==="HL"?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i):s.focus!=="HL"?this.setDataFeatureIndexes(e,t,i):this.swapDataFeatureIndexes(e,t,i)}fourClassAttributes(e,t,i){let{legendElement:s}=this,{focus:a}=s;this.cellNodeCounter>0&&this.cellNodeCounter<=14?a==="HL"?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i):a!=="HL"?this.setDataFeatureIndexes(e,t,i):this.swapDataFeatureIndexes(e,t,i)}setDataFeatureIndexes(e,t,i){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${i}`),this.setDataCellFocusValue(e,t,i)}swapDataFeatureIndexes(e,t,i){e.setAttribute("data-feature-i",`${i}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocusValue(e,i,t)}getDataCellValue(e,t,i){let s=i[e],a=i[t];return s&&a?`${s}${a}`:""}getDataCellMap(e){switch(e){case M:return W;case S:return X;case U:return Y;default:throw new Error("unrecognized numClasses")}}setDataCellFocusValue(e,t,i){let s=this.legendElement.numClasses,a=this.getDataCellMap(s),n=this.getDataCellValue(t,i,a);n?e.setAttribute("data-cell-focus",n):e.removeAttribute("data-cell-focus")}async onCellClick(e,t){let{i,j:s,focus:a}=t;await this.handleFilter(i,s,a),this.handleSelectedElement(e)}applyEventHandlers(){let e=this.relationshipRamp.querySelectorAll("svg rect");Array.from(e).forEach(t=>{let i=t.getAttribute("data-feature-i"),s=t.getAttribute("data-feature-j"),a=t.getAttribute("data-cell-focus");t.onclick=async()=>{await this.onCellClick(t,{i,j:s,focus:a})},t.onkeydown=async n=>{n.key==="Enter"&&await this.onCellClick(t,{i,j:s,focus:a})},t.onkeyup=async n=>{n.key===" "&&await this.onCellClick(t,{i,j:s,focus:a})}})}async handleFilter(e,t,i){let s=this.activeLayerInfo.layer?.renderer?.authoringInfo,a=s?.field1,n=s?.field2,{queryExpressions:l,fLayerView:o}=m.data[this.activeLayerInfo.layer.id];if(this.legendElement.type==="relationship-ramp"&&s&&a&&n){let u=this.generateExpressionParams(a,n,s,e,t,i),r=this.generateExpressionForRelationship(u);l.length===0?l[0]=r:l.includes(r)?l.splice(l.indexOf(r),1):l.push(r);let d=l.join(" OR "),p=o?.filter?.timeExtent??null;if(this.filterMode?.type==="filter")o.filter=new N({where:d,timeExtent:o?.filter?.timeExtent??null});else if(this.filterMode?.effect){let{includedEffect:f,excludedEffect:A}=this.filterMode.effect,g=await L(A,o,"excludedEffect"),v=await L(f,o,"includedEffect");o.featureEffect=new T({filter:new N({where:d,timeExtent:p}),includedEffect:v,excludedEffect:g})}}}generateExpressionParams(e,t,i,s,a,n){let l=[],o=e.field,u=t.field,r=e.classBreakInfos,d=t.classBreakInfos,p=Object.hasOwn(i.field1,"normalizationField")?i?.field1?.normalizationField:null,f=Object.hasOwn(i.field2,"normalizationField")?i?.field2?.normalizationField:null;r.forEach((v,q)=>{let C=[];d.forEach((ee,_)=>{let z=[r[q],d[_]];C.push(z)}),l.push(C)});let A=p?`(${o}/${p})`:o,g=f?`(${u}/${f})`:u;return{data:l,i:s,j:a,field1:A,field2:g,focus:n}}generateExpressionForRelationship(e){let{focus:t,field1:i,field2:s,data:a,i:n,j:l}=e,o=Number.parseInt(n),u=Number.parseInt(l),r=a[o][u];return t==="LL"?`${i} >= ${r[0].minValue} AND ${i} <= ${r[0].maxValue} AND ${s} >= ${r[1].minValue} AND ${s} <= ${r[1].maxValue}`:t==="LM"||t==="LM1"||t==="LM2"||t==="LH"?`${i} >= ${r[0].minValue} AND ${i} <= ${r[0].maxValue} AND ${s} > ${r[1].minValue} AND ${s} <= ${r[1].maxValue}`:t==="ML"||t==="M1L"||t==="M2L"||t==="HL"?`${i} > ${r[0].minValue} AND ${i} <= ${r[0].maxValue} AND ${s} >= ${r[1].minValue} AND ${s} <= ${r[1].maxValue}`:`${i} > ${r[0].minValue} AND ${i} <= ${r[0].maxValue} AND ${s} > ${r[1].minValue} AND ${s} <= ${r[1].maxValue}`}handleSelectedElement(e){e.classList.contains(h)?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.setAttribute("aria-pressed","false"),e.classList.remove(h)):(e.classList.add(h),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"),e.setAttribute("aria-pressed","true"))}addCSS(e){if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
5
5
  rect:hover {
6
6
  cursor: pointer;
7
7
  opacity: 0.8;
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.90 */
4
- import f from"./ZKLHJ6UY.js";import e from"./6BNTXUKU.js";import b from"./ALT3WNKP.js";import a from"./ZSSBKLW4.js";import{b as k,d as L}from"./6YHC3QYS.js";import{J as u,L as y,M as T,p as m,ra as R}from"./U5B74HAP.js";import{a as C}from"./QMSBJMWC.js";import{k as M}from"./RGHHGDBP.js";import{b as S}from"./62UID2KL.js";import{F as c,G as d,H as $,J as p,K as I,L as v,h as w,i as o,r as _}from"./BVRG4SP2.js";export default $arcgis.t(([{b:E,d:A,s:h},{p:D,q:f},{a:P,b:b},{a:O}])=>{var H=w`/** @license
3
+ v1.2.0-next.91 */
4
+ import f from"./YOETHDAR.js";import e from"./O4OYUHRJ.js";import b from"./V4OZLFLC.js";import a from"./7WLX6QMS.js";import{b as k,d as L}from"./PLAR2IUW.js";import{J as u,L as y,M as T,p as m,ra as R}from"./ON7GTUG3.js";import{a as C}from"./XGGEVEIS.js";import{k as M}from"./JT57JFXC.js";import{b as S}from"./5R4WQYWH.js";import{F as c,G as d,H as $,J as p,K as I,L as v,h as w,i as o,r as _}from"./IYR62BJF.js";export default $arcgis.t(([{b:E,d:A,s:h},{p:D,q:f},{a:P,b:b},{a:O}])=>{var H=w`/** @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.2/esri/copyright.txt for details.
3
- v1.2.0-next.90 */
4
- import{d as m,e as c,f as d,g as f,p as C}from"./BVRG4SP2.js";var P=t=>(...p)=>{let s=c(),e=new t(...p),o=e.exports;m(s.at(-1));let n=e.component.manager;n.W(e,o),e.watchExports(n.W.bind(n,e)),d(e);let r=[e.component,...s].reverse();return C(r,a=>a===void 0?void 0:E(e,a,o),o)},E=(t,{host:p,key:s,isReactive:e},o)=>{let n=p,r=n[s]!==t.exports,a=n[s]!==o,g=o!==t.exports;if(r&&!a&&g&&(n[s]=t.exports),p===t.component){if(e){let i=t.component.manager;a&&i.W(t,n[s]),t.onUpdate(v=>{if(v.has(s)){let x=n[s];x!==t.exports&&i.W(t,x)}})}t.O=e?void 0:s}let h=t.component.constructor.elementProperties.get(s)?.readOnly;t.watchExports(()=>{n[s]!==t.exports&&(h?f(()=>{n[s]=t.exports}):n[s]=t.exports)})};export{P as a};
3
+ v1.2.0-next.91 */
4
+ import{d as m,e as c,f as d,g as f,p as C}from"./IYR62BJF.js";var P=t=>(...p)=>{let s=c(),e=new t(...p),o=e.exports;m(s.at(-1));let n=e.component.manager;n.W(e,o),e.watchExports(n.W.bind(n,e)),d(e);let r=[e.component,...s].reverse();return C(r,a=>a===void 0?void 0:E(e,a,o),o)},E=(t,{host:p,key:s,isReactive:e},o)=>{let n=p,r=n[s]!==t.exports,a=n[s]!==o,g=o!==t.exports;if(r&&!a&&g&&(n[s]=t.exports),p===t.component){if(e){let i=t.component.manager;a&&i.W(t,n[s]),t.onUpdate(v=>{if(v.has(s)){let x=n[s];x!==t.exports&&i.W(t,x)}})}t.O=e?void 0:s}let h=t.component.constructor.elementProperties.get(s)?.readOnly;t.watchExports(()=>{n[s]!==t.exports&&(h?f(()=>{n[s]=t.exports}):n[s]=t.exports)})};export{P 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.90 */
4
- import{a,b}from"./JR4FDHJV.js";import"./ZGUWAA6F.js";export{a as UserEditorTypes,b as UserSchema};
3
+ v1.2.0-next.91 */
4
+ import{a,b}from"./N6SLQWTW.js";import"./S4ZB6ESK.js";export{a as UserEditorTypes,b as UserSchema};