@esri/solutions-components 1.0.0-next.20250513 → 1.0.0-next.20250513.1

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 (383) hide show
  1. package/dist/cdn/{RTL6LDYI.js → 23YKBWAC.js} +2 -2
  2. package/dist/cdn/{TSJDIDQQ.js → 246GABX4.js} +2 -2
  3. package/dist/cdn/{TKZBNC7H.js → 2BYLFULE.js} +2 -2
  4. package/dist/cdn/{K4CSMHLX.js → 2DDJ2AFS.js} +2 -2
  5. package/dist/cdn/{P5SCKVEP.js → 2JBJHRHU.js} +2 -2
  6. package/dist/cdn/{YWPX2AWZ.js → 2K3MMRXW.js} +2 -2
  7. package/dist/cdn/{3WW3YWCT.js → 2SMSSXCB.js} +2 -2
  8. package/dist/cdn/{KIU22HO4.js → 2T3QIT6S.js} +2 -2
  9. package/dist/cdn/{XOTJKE5D.js → 2VM36EOG.js} +2 -2
  10. package/dist/cdn/{ETTBV6A5.js → 36KGPYQP.js} +2 -2
  11. package/dist/cdn/{TGLGAJZN.js → 3CR3QCZT.js} +2 -2
  12. package/dist/cdn/{B33KRB36.js → 3HOUIYSB.js} +2 -2
  13. package/dist/cdn/{2ZOPKOQW.js → 3MPH6U6A.js} +2 -2
  14. package/dist/cdn/{X5NCT7SI.js → 3O5NME66.js} +1 -1
  15. package/dist/cdn/{BVAH7X2K.js → 3QDSK6LK.js} +2 -2
  16. package/dist/cdn/{CIQJF5B3.js → 3SIKQBUD.js} +2 -2
  17. package/dist/cdn/{QIVU3W4F.js → 3TOH77TX.js} +2 -2
  18. package/dist/cdn/{3KNYDGE4.js → 3TUJ4JJ5.js} +2 -2
  19. package/dist/cdn/{3S3YE7LS.js → 3ZAAVHR2.js} +2 -2
  20. package/dist/cdn/{XV6244HK.js → 44RAERGT.js} +2 -2
  21. package/dist/cdn/{DAC3GWK5.js → 47DEY33Q.js} +2 -2
  22. package/dist/cdn/{D2BGUJW5.js → 47XOSUMG.js} +2 -2
  23. package/dist/cdn/{VTJTEDJC.js → 4AGFHRFX.js} +2 -2
  24. package/dist/cdn/{XW3XMCXE.js → 4DOBOTOA.js} +2 -2
  25. package/dist/cdn/{U35AQBWJ.js → 4I2ETJ5R.js} +1 -1
  26. package/dist/cdn/4IU5MAMG.js +4 -0
  27. package/dist/cdn/{VPPRTR4I.js → 4JQ3EMVS.js} +2 -2
  28. package/dist/cdn/{EOOHBALJ.js → 4OCR3H4M.js} +2 -2
  29. package/dist/cdn/{7FTLGHTG.js → 4SXLUGVC.js} +2 -2
  30. package/dist/cdn/{GPW2TCPZ.js → 4T5G7D3M.js} +2 -2
  31. package/dist/cdn/{A4AUBCIN.js → 4WY233D6.js} +2 -2
  32. package/dist/cdn/{DGN5X5A4.js → 524EKBTA.js} +2 -2
  33. package/dist/cdn/{7VOZDFCU.js → 52BCWQEA.js} +2 -2
  34. package/dist/cdn/{TD4SVRZ2.js → 52MJSDMV.js} +2 -2
  35. package/dist/cdn/{TV4DZ4NC.js → 5GGF35L5.js} +2 -2
  36. package/dist/cdn/{VQKEDTWW.js → 5O34KXSF.js} +2 -2
  37. package/dist/cdn/{G2KU4GJD.js → 5Z7R3XOW.js} +1 -1
  38. package/dist/cdn/{4HNFRLEB.js → 65GRV5ZI.js} +2 -2
  39. package/dist/cdn/{FIE266AU.js → 66TACLFN.js} +2 -2
  40. package/dist/cdn/{FLC5VXCW.js → 67LEPSGW.js} +2 -2
  41. package/dist/cdn/{FJRGFI2V.js → 6CYK6BB7.js} +1 -1
  42. package/dist/cdn/{RKUNOYZR.js → 6HKXUI6P.js} +2 -2
  43. package/dist/cdn/{GA57AOAH.js → 6JLMDDJ5.js} +2 -2
  44. package/dist/cdn/{356X3OF7.js → 6YQEXU32.js} +2 -2
  45. package/dist/cdn/{NYANCYTJ.js → 743KENLL.js} +2 -2
  46. package/dist/cdn/{4Z3IUDH5.js → 74BFRFR6.js} +4 -4
  47. package/dist/cdn/{5GI5HKKC.js → 74OAFWYK.js} +2 -2
  48. package/dist/cdn/{5AVYYC47.js → 762BKOZV.js} +2 -2
  49. package/dist/cdn/{KUVX4OOK.js → 7BAB326V.js} +2 -2
  50. package/dist/cdn/{PL3CH3LF.js → 7EV7MOH7.js} +2 -2
  51. package/dist/cdn/{PDEMBJK2.js → 7NJWTG5Q.js} +2 -2
  52. package/dist/cdn/{GYXP7WY2.js → 7POMEGOT.js} +2 -2
  53. package/dist/cdn/{WBDBLEC7.js → 7QIW3X3J.js} +2 -2
  54. package/dist/cdn/{37UTA2CS.js → 7TXDKHSR.js} +2 -2
  55. package/dist/cdn/{4M3HYUSJ.js → 7TZTFXYB.js} +2 -2
  56. package/dist/cdn/{WUYLVJC7.js → 7ZWQ5RIA.js} +2 -2
  57. package/dist/cdn/{RFSMSYJR.js → AEJKH2N4.js} +2 -2
  58. package/dist/cdn/{HZIMPHWC.js → AFRKXBZK.js} +2 -2
  59. package/dist/cdn/{T66Y6KTO.js → ANP7AZFG.js} +2 -2
  60. package/dist/cdn/{PJF5G4QB.js → ARKBNGKH.js} +2 -2
  61. package/dist/cdn/{MSCUGG2N.js → ARTYQZHE.js} +1 -1
  62. package/dist/cdn/{JBH2RRSE.js → AVRXN4UR.js} +2 -2
  63. package/dist/cdn/{XI6U7JLE.js → AWLITXKE.js} +2 -2
  64. package/dist/cdn/{C44EKR3M.js → AZKYXX53.js} +1 -1
  65. package/dist/cdn/{P55AP2OS.js → B6EMT5VV.js} +2 -2
  66. package/dist/cdn/{W4QVPEC6.js → B7XFXDPR.js} +1 -1
  67. package/dist/cdn/{HSCOIXLG.js → BCWHIGGF.js} +2 -2
  68. package/dist/cdn/{CNU3TPX7.js → BEUU4V47.js} +2 -2
  69. package/dist/cdn/{IZGA6GXU.js → BK4S3RXL.js} +2 -2
  70. package/dist/cdn/{2LWA3LPI.js → BMFQADY6.js} +2 -2
  71. package/dist/cdn/{2PNI22UK.js → BMT45QOY.js} +2 -2
  72. package/dist/cdn/{MXKCH65B.js → BRP2ZFTA.js} +2 -2
  73. package/dist/cdn/{ANRR2Q3N.js → BS6MCVLT.js} +2 -2
  74. package/dist/cdn/{OAJSYATY.js → BTPTRXRA.js} +2 -2
  75. package/dist/cdn/{LZXK3MVJ.js → BVZUGCOI.js} +2 -2
  76. package/dist/cdn/{ULVBGZTW.js → BWXM7YAS.js} +2 -2
  77. package/dist/cdn/{UDGQW7QL.js → C3QQO3JT.js} +2 -2
  78. package/dist/cdn/{RXTELQ34.js → C3XQ4X7S.js} +2 -2
  79. package/dist/cdn/{6MHBJPS2.js → C5KZI572.js} +2 -2
  80. package/dist/cdn/{MB76IRBK.js → CBESNLSQ.js} +2 -2
  81. package/dist/cdn/{VLGVIKZ6.js → CCTVQ7J6.js} +2 -2
  82. package/dist/cdn/{ONIJZZLM.js → CLOM3LFK.js} +2 -2
  83. package/dist/cdn/{WAHZ4BJA.js → CT7VEZDK.js} +2 -2
  84. package/dist/cdn/{KKSOLSMJ.js → CXYY2U43.js} +2 -2
  85. package/dist/cdn/{AI3WLROH.js → D2LLTH6P.js} +2 -2
  86. package/dist/cdn/{KCDVHUF2.js → D6E3WEYR.js} +2 -2
  87. package/dist/cdn/{53N47Q3X.js → DADLOUNZ.js} +2 -2
  88. package/dist/cdn/{MFYJYT6Q.js → DHRLL7NQ.js} +2 -2
  89. package/dist/cdn/{2MC74LFI.js → DJLABPFC.js} +2 -2
  90. package/dist/cdn/{5IYB6I37.js → DKBSVQN3.js} +2 -2
  91. package/dist/cdn/{EIZMLFHI.js → DNUOMN67.js} +1 -1
  92. package/dist/cdn/{OMLJWKTW.js → DOSGDH3U.js} +2 -2
  93. package/dist/cdn/{LBK4TQ4U.js → DPO6UDKC.js} +2 -2
  94. package/dist/cdn/{DHPOWICJ.js → DQEAYFAF.js} +2 -2
  95. package/dist/cdn/{GM3ATYLE.js → DUMJIXV7.js} +1 -1
  96. package/dist/cdn/{ISCASEIO.js → DVK7WGWJ.js} +1 -1
  97. package/dist/cdn/{4SNRICQS.js → DX2VURSL.js} +2 -2
  98. package/dist/cdn/DXOLFQBJ.js +4 -0
  99. package/dist/cdn/{WCAYMKQP.js → DYDTMS5A.js} +2 -2
  100. package/dist/cdn/{5D3XSPVE.js → E5J3LXUI.js} +2 -2
  101. package/dist/cdn/{IKBVEVMI.js → EKWMSR5N.js} +2 -2
  102. package/dist/cdn/{HHVCX4HB.js → ELHHO2HG.js} +1 -1
  103. package/dist/cdn/{G6RUG3BR.js → EMLYWNKX.js} +2 -2
  104. package/dist/cdn/EQ7BO6C2.js +4 -0
  105. package/dist/cdn/{ZIJGSIAY.js → F2TP7D3Z.js} +1 -1
  106. package/dist/cdn/{MEMYGNMH.js → F4CZ5GDH.js} +2 -2
  107. package/dist/cdn/{PVMRTOAH.js → F4S54KIN.js} +2 -2
  108. package/dist/cdn/{ZSVGZTYI.js → F7TRMIZC.js} +2 -2
  109. package/dist/cdn/{BZM6QEVQ.js → FGM64GKL.js} +1 -1
  110. package/dist/cdn/{6HNT2RSP.js → FN3PUVIO.js} +2 -2
  111. package/dist/cdn/{WKBQVMT4.js → FQA6EV3F.js} +2 -2
  112. package/dist/cdn/{33R6U7YA.js → FQQPKFKR.js} +2 -2
  113. package/dist/cdn/{4YGER5QC.js → FW3OFREF.js} +1 -1
  114. package/dist/cdn/{2HQWNDOT.js → GD5M2FA3.js} +1 -1
  115. package/dist/cdn/{TGVDYRKZ.js → GMYAKEAU.js} +2 -2
  116. package/dist/cdn/{4745A7PL.js → GU775YRY.js} +1 -1
  117. package/dist/cdn/{CCHSAYV3.js → H2XZ5TPS.js} +2 -2
  118. package/dist/cdn/{5RJEQIH2.js → HDVUMH4E.js} +1 -1
  119. package/dist/cdn/{7KFM4VXO.js → HFGSRQ53.js} +2 -2
  120. package/dist/cdn/{QBKMKNGL.js → HGJHBG4H.js} +2 -2
  121. package/dist/cdn/{MYHI7ROY.js → HQTPWCRI.js} +2 -2
  122. package/dist/cdn/{H7Y4URDU.js → HTFV4B6M.js} +2 -2
  123. package/dist/cdn/{I5XMZWO6.js → IA5UUSGD.js} +2 -2
  124. package/dist/cdn/{JQV5TGAK.js → IBDM4N5B.js} +2 -2
  125. package/dist/cdn/{EZUUCYDZ.js → ICNH5LLB.js} +2 -2
  126. package/dist/cdn/{QCF4PYQB.js → ICTNZMXC.js} +1 -1
  127. package/dist/cdn/{EZLMQOSZ.js → IEEDUG7D.js} +2 -2
  128. package/dist/cdn/{4DVIYVRO.js → IFS2FCRW.js} +2 -2
  129. package/dist/cdn/{KJGF4NJ3.js → IQBIY4LU.js} +2 -2
  130. package/dist/cdn/{JGPXY5SS.js → IXYPSCHA.js} +2 -2
  131. package/dist/cdn/{GGVX7BU3.js → J2AOE72O.js} +2 -2
  132. package/dist/cdn/{UJSCHQIP.js → JADH56DH.js} +2 -2
  133. package/dist/cdn/{UVBA6JNL.js → JAXLR4NG.js} +1 -1
  134. package/dist/cdn/{OOGXSHWN.js → JC5GPNKP.js} +2 -2
  135. package/dist/cdn/{EDPL4TKI.js → JKV6HJNN.js} +2 -2
  136. package/dist/cdn/{CDXLLR33.js → JMWKZJCV.js} +2 -2
  137. package/dist/cdn/{QHJVQDMN.js → JO3TGX3S.js} +2 -2
  138. package/dist/cdn/{3P3P323U.js → JQFYSHOL.js} +2 -2
  139. package/dist/cdn/{F57GZO2E.js → JYBRQYQO.js} +2 -2
  140. package/dist/cdn/{CZOWNF5N.js → KAOZRVHT.js} +2 -2
  141. package/dist/cdn/KAP76DTH.js +4 -0
  142. package/dist/cdn/{RN7TUN7E.js → KBP3WSLN.js} +2 -2
  143. package/dist/cdn/{RVRAGQDC.js → KD4M5XSM.js} +2 -2
  144. package/dist/cdn/{PWDTDHPM.js → KDUEXCFJ.js} +1 -1
  145. package/dist/cdn/{IG3I76TX.js → KJUPNH26.js} +1 -1
  146. package/dist/cdn/{LZVWOWHQ.js → KN3DG5N5.js} +2 -2
  147. package/dist/cdn/{74FUG5XE.js → KRLBHVWO.js} +2 -2
  148. package/dist/cdn/{OBGBZA5Q.js → KXKPHNIN.js} +2 -2
  149. package/dist/cdn/{V6UTV55V.js → L3CECNF2.js} +1 -1
  150. package/dist/cdn/{KMJY2PGB.js → L6ZKECRD.js} +2 -2
  151. package/dist/cdn/{YRLQIYDY.js → LHQQTERG.js} +2 -2
  152. package/dist/cdn/{MGRH7AJX.js → LIY7L5HY.js} +2 -2
  153. package/dist/cdn/{HXLDVONX.js → LJHTCGCE.js} +2 -2
  154. package/dist/cdn/{MCIIM4XE.js → LJVAXK4D.js} +2 -2
  155. package/dist/cdn/LYF2DSS7.js +4 -0
  156. package/dist/cdn/{B2634ITV.js → M2IPXBJW.js} +2 -2
  157. package/dist/cdn/{5RGCCJRI.js → M2TI7O6U.js} +2 -2
  158. package/dist/cdn/{YNLSAEFB.js → M5IOEAD5.js} +2 -2
  159. package/dist/cdn/{EOM3X2VQ.js → M7SGJ27H.js} +2 -2
  160. package/dist/cdn/MCBLASJ3.js +4 -0
  161. package/dist/cdn/{T6FHHQZJ.js → MM4GYF2M.js} +2 -2
  162. package/dist/cdn/{KVYB56FX.js → MM73SXGN.js} +2 -2
  163. package/dist/cdn/{FR5YKIYR.js → MQYS3NXM.js} +2 -2
  164. package/dist/cdn/{HTWIZOH4.js → MUVB5RUT.js} +2 -2
  165. package/dist/cdn/{OUAPE77Q.js → MWVT5VTF.js} +2 -2
  166. package/dist/cdn/{5XZ2VEVE.js → MYWEE66N.js} +2 -2
  167. package/dist/cdn/{IVOSJYWQ.js → N7YKFWHI.js} +2 -2
  168. package/dist/cdn/{XISA6SLB.js → NERPCGAI.js} +2 -2
  169. package/dist/cdn/{UOCWAIF5.js → NJJU4T5L.js} +2 -2
  170. package/dist/cdn/{FZAZSLYD.js → NLJKG426.js} +2 -2
  171. package/dist/cdn/{V3NOQ3VR.js → NMQL6RPI.js} +2 -2
  172. package/dist/cdn/{3DPLKEDU.js → NRIFWRSL.js} +2 -2
  173. package/dist/cdn/{VOCP45SC.js → NTLHACLF.js} +2 -2
  174. package/dist/cdn/{3RC2WF5B.js → NUCM6ABX.js} +3 -3
  175. package/dist/cdn/{3Y5R5IUQ.js → NYYKUTZ2.js} +2 -2
  176. package/dist/cdn/{S3WKVRQS.js → OJ6AH4AP.js} +2 -2
  177. package/dist/cdn/{KQVVUDCM.js → OOKZNHYN.js} +1 -1
  178. package/dist/cdn/{55P3U5JJ.js → OWP2RUTT.js} +2 -2
  179. package/dist/cdn/{I7UVWQMY.js → OXFWSAQC.js} +2 -2
  180. package/dist/cdn/{L46SKXK3.js → P3NUNSXP.js} +2 -2
  181. package/dist/cdn/{2FXMJWEJ.js → P5SS2UTJ.js} +2 -2
  182. package/dist/cdn/{2AE65J7Z.js → PCLM5T4X.js} +2 -2
  183. package/dist/cdn/{6VGFUAX5.js → PFQ3QFCX.js} +2 -2
  184. package/dist/cdn/{SBDAFL5S.js → PHNR5GQ7.js} +2 -2
  185. package/dist/cdn/{55KC257N.js → PKRP2ZND.js} +2 -2
  186. package/dist/cdn/{5AWXJIBG.js → PW2VRRCC.js} +2 -2
  187. package/dist/cdn/PWU7JUQ7.js +4 -0
  188. package/dist/cdn/{7WDOCGDK.js → Q3SDKCO5.js} +1 -1
  189. package/dist/cdn/{47R5RC4C.js → Q4LK4Y27.js} +2 -2
  190. package/dist/cdn/{6DG3MERJ.js → Q7ODV6KG.js} +2 -2
  191. package/dist/cdn/{P4CX5EDN.js → QCY5Q4DC.js} +2 -2
  192. package/dist/cdn/{ACHUFFFB.js → QIQDU5TD.js} +2 -2
  193. package/dist/cdn/{H6UT37EX.js → QKA6L5H2.js} +2 -2
  194. package/dist/cdn/{GSFWKQWQ.js → QKEAWMVG.js} +2 -2
  195. package/dist/cdn/{VAP272QY.js → QMDSZ7FM.js} +2 -2
  196. package/dist/cdn/{ADVQIEJR.js → QMZEUTLX.js} +1 -1
  197. package/dist/cdn/{YMECWXNY.js → QN47PAEX.js} +2 -2
  198. package/dist/cdn/{CAPUUGJR.js → QQ5XIIVB.js} +2 -2
  199. package/dist/cdn/{YFTL66BW.js → QRQDRKIY.js} +2 -2
  200. package/dist/cdn/{Q5EJXK76.js → QUP6DAHI.js} +2 -2
  201. package/dist/cdn/{HZFEYQGX.js → R2H5RSJ2.js} +1 -1
  202. package/dist/cdn/{JUZCGG5Y.js → R2JFZODC.js} +2 -2
  203. package/dist/cdn/{CTH3ZJDZ.js → RBCCFTZL.js} +2 -2
  204. package/dist/cdn/{A52VN6U6.js → RK2A2EVN.js} +2 -2
  205. package/dist/cdn/{7KGIY4Y7.js → RKMNK4LY.js} +2 -2
  206. package/dist/cdn/{TKUGQKMA.js → RWUIYZW7.js} +2 -2
  207. package/dist/cdn/{3WNCCUTZ.js → SCZ6RNHE.js} +1 -1
  208. package/dist/cdn/{LH4PUHQS.js → SFM44CFT.js} +2 -2
  209. package/dist/cdn/{GQU6FXIT.js → SHCFADDZ.js} +1 -1
  210. package/dist/cdn/{FDZH3TUO.js → SMHCAJLS.js} +2 -2
  211. package/dist/cdn/{CBMZJGCV.js → SOTTOWSO.js} +2 -2
  212. package/dist/cdn/{XJOAEUHQ.js → SPDLS67W.js} +2 -2
  213. package/dist/cdn/{GRCUUM5W.js → SYY2ZMAO.js} +2 -2
  214. package/dist/cdn/{IRVZT2BS.js → T2ZDNBN5.js} +2 -2
  215. package/dist/cdn/{WUWWLJEX.js → TASEETLT.js} +1 -1
  216. package/dist/cdn/{U7RXVNQC.js → TGKBXQFJ.js} +1 -1
  217. package/dist/cdn/{5CSQUWE5.js → TGPT6425.js} +2 -2
  218. package/dist/cdn/{T4UFIWDF.js → THV6PWO2.js} +2 -2
  219. package/dist/cdn/{GMCIGFUB.js → TVA5RLDT.js} +2 -2
  220. package/dist/cdn/{K4FMFGHK.js → TWXMTERQ.js} +2 -2
  221. package/dist/cdn/{D3DQ3LMO.js → U2VNJ7F6.js} +2 -2
  222. package/dist/cdn/{N73I4LYZ.js → U5CODQHI.js} +2 -2
  223. package/dist/cdn/{4CCXX3SG.js → U7PVKGZW.js} +2 -2
  224. package/dist/cdn/{JIJBRLA5.js → UBMZTDIG.js} +2 -2
  225. package/dist/cdn/{EE7WJZP4.js → UCLIEM25.js} +2 -2
  226. package/dist/cdn/{UKMHZ5PP.js → UFMXTBV5.js} +2 -2
  227. package/dist/cdn/{2HW4GV5C.js → UFXHNUVA.js} +2 -2
  228. package/dist/cdn/{NLQ42NQW.js → UIY6JQVD.js} +2 -2
  229. package/dist/cdn/{KBLQQKHW.js → UNKRKQGZ.js} +2 -2
  230. package/dist/cdn/{PNZ6XBPV.js → UVWG3C2B.js} +1 -1
  231. package/dist/cdn/{AXEU574G.js → UZT7DBX5.js} +2 -2
  232. package/dist/cdn/{S67NXZHK.js → UZURAIZS.js} +2 -2
  233. package/dist/cdn/{DVO5GTFT.js → V4OFJDAH.js} +2 -2
  234. package/dist/cdn/{QRM36WK6.js → V66DC2RZ.js} +2 -2
  235. package/dist/cdn/{KP6XEQR7.js → V7IFHU6D.js} +2 -2
  236. package/dist/cdn/{L2YHTSUT.js → VBBBC5BC.js} +2 -2
  237. package/dist/cdn/{ZADWIJ7Q.js → VCPH6BNX.js} +2 -2
  238. package/dist/cdn/{HOLWK3EZ.js → VEH7MCF4.js} +2 -2
  239. package/dist/cdn/{5DHQPMEJ.js → VQRIVYMR.js} +2 -2
  240. package/dist/cdn/{GPUA6MAJ.js → VRSOFLBM.js} +2 -2
  241. package/dist/cdn/{VGXJDR76.js → VSY4FDGY.js} +2 -2
  242. package/dist/cdn/{USMPDRTK.js → W2BBALTD.js} +2 -2
  243. package/dist/cdn/{H4ZWRKI2.js → W4CDQBTA.js} +2 -2
  244. package/dist/cdn/{ZVRPCQAG.js → WKEGSNNF.js} +1 -1
  245. package/dist/cdn/{6QS23BIH.js → WTQ7BZT3.js} +2 -2
  246. package/dist/cdn/{XZS545IF.js → X4VJZ3Q6.js} +2 -2
  247. package/dist/cdn/{7RAJQNDO.js → XCC7EMQO.js} +2 -2
  248. package/dist/cdn/XFRJGRQ2.js +4 -0
  249. package/dist/cdn/{E35TDRWG.js → XKATHJUA.js} +2 -2
  250. package/dist/cdn/{BMMWWZDP.js → XPNMHAKP.js} +2 -2
  251. package/dist/cdn/{KDKKKQOA.js → XQ3FJCBS.js} +2 -2
  252. package/dist/cdn/{AT3EMTZF.js → XQXPNULI.js} +1 -1
  253. package/dist/cdn/{AYBKCTTB.js → XT4NY5DN.js} +2 -2
  254. package/dist/cdn/{IDFWZFF5.js → XXMZR5G3.js} +1 -1
  255. package/dist/cdn/{72KOOVBA.js → Y62AFNGV.js} +2 -2
  256. package/dist/cdn/{7KBEEBMB.js → Y7GXXND2.js} +2 -2
  257. package/dist/cdn/{JNWG7WSY.js → YC5MPBUM.js} +2 -2
  258. package/dist/cdn/{47WHCZIM.js → YCUSWAJ3.js} +2 -2
  259. package/dist/cdn/{2Y7EB6IS.js → YDZXBSPS.js} +1 -1
  260. package/dist/cdn/{DHYYFX2C.js → YFTV5FQP.js} +1 -1
  261. package/dist/cdn/{UAP5F7JO.js → YNV6UHCS.js} +2 -2
  262. package/dist/cdn/{TKBHKV5M.js → YT2UVLBQ.js} +2 -2
  263. package/dist/cdn/{QZVDSGNQ.js → YZDPVYVB.js} +2 -2
  264. package/dist/cdn/{4ZM2K4B5.js → YZSZKD4O.js} +1 -1
  265. package/dist/cdn/ZAFJT72F.js +4 -0
  266. package/dist/cdn/{AJYMDWRR.js → ZBD6UXKS.js} +2 -2
  267. package/dist/cdn/{536426JP.js → ZBZY2YEI.js} +2 -2
  268. package/dist/cdn/{PPEC24ZV.js → ZHA5K55V.js} +2 -2
  269. package/dist/cdn/{CUFYPINX.js → ZHW2F3VO.js} +2 -2
  270. package/dist/cdn/{RM5MLMA4.js → ZOFTKF6J.js} +2 -2
  271. package/dist/cdn/{6KD4C6OL.js → ZZV2JD2S.js} +2 -2
  272. package/dist/cdn/index.js +2 -2
  273. package/dist/chunks/common.js +1 -1
  274. package/dist/chunks/downloadUtils.js +1 -1
  275. package/dist/chunks/index.js +313 -405
  276. package/dist/chunks/interfaces.js +1 -1
  277. package/dist/chunks/loadModules.js +1 -1
  278. package/dist/chunks/mapViewUtils.js +1 -1
  279. package/dist/chunks/pciUtils.js +1 -1
  280. package/dist/chunks/popupUtils.js +1 -1
  281. package/dist/chunks/publicNotificationStore.js +1 -1
  282. package/dist/chunks/queryUtils.js +1 -1
  283. package/dist/chunks/runtime.js +1 -1
  284. package/dist/chunks/solution-store.js +1 -1
  285. package/dist/chunks/templates.js +1 -1
  286. package/dist/chunks/useT9n.js +1 -1
  287. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +1 -1
  288. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  289. package/dist/components/basemap-gallery/customElement.js +1 -1
  290. package/dist/components/buffer-tools/customElement.js +1 -1
  291. package/dist/components/card-manager/customElement.d.ts +3 -3
  292. package/dist/components/card-manager/customElement.js +1 -1
  293. package/dist/components/consent-manager/customElement.js +1 -1
  294. package/dist/components/create-feature/customElement.d.ts +3 -3
  295. package/dist/components/create-feature/customElement.js +1 -1
  296. package/dist/components/create-related-feature/customElement.d.ts +2 -2
  297. package/dist/components/create-related-feature/customElement.js +1 -1
  298. package/dist/components/crowdsource-manager/customElement.d.ts +2 -2
  299. package/dist/components/crowdsource-manager/customElement.js +1 -1
  300. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  301. package/dist/components/deduct-calculator/customElement.js +1 -1
  302. package/dist/components/delete-button/customElement.js +1 -1
  303. package/dist/components/delete-dialog/customElement.d.ts +1 -1
  304. package/dist/components/delete-dialog/customElement.js +1 -1
  305. package/dist/components/edit-card/customElement.d.ts +2 -2
  306. package/dist/components/edit-card/customElement.js +1 -1
  307. package/dist/components/feature-details/customElement.d.ts +2 -2
  308. package/dist/components/feature-details/customElement.js +1 -1
  309. package/dist/components/feature-list/customElement.js +1 -1
  310. package/dist/components/field-selection/customElement.js +1 -1
  311. package/dist/components/floor-filter/customElement.js +1 -1
  312. package/dist/components/info-card/customElement.d.ts +2 -2
  313. package/dist/components/info-card/customElement.js +1 -1
  314. package/dist/components/json-editor/customElement.js +1 -1
  315. package/dist/components/layer-list/customElement.js +1 -1
  316. package/dist/components/layer-table/customElement.d.ts +1 -1
  317. package/dist/components/layer-table/customElement.js +1 -1
  318. package/dist/components/map-card/customElement.d.ts +3 -3
  319. package/dist/components/map-card/customElement.js +1 -1
  320. package/dist/components/map-draw-tools/customElement.d.ts +2 -2
  321. package/dist/components/map-draw-tools/customElement.js +1 -1
  322. package/dist/components/map-fullscreen/customElement.js +1 -1
  323. package/dist/components/map-layer-picker/customElement.d.ts +1 -1
  324. package/dist/components/map-layer-picker/customElement.js +1 -1
  325. package/dist/components/map-legend/customElement.js +1 -1
  326. package/dist/components/map-picker/customElement.js +1 -1
  327. package/dist/components/map-search/customElement.js +1 -1
  328. package/dist/components/map-select-tools/customElement.js +1 -1
  329. package/dist/components/map-tools/customElement.js +1 -1
  330. package/dist/components/pci-calculator/customElement.js +1 -1
  331. package/dist/components/pdf-download/customElement.js +1 -1
  332. package/dist/components/public-notification/customElement.js +1 -1
  333. package/dist/components/refine-selection/customElement.js +1 -1
  334. package/dist/components/selection-tool/customElement.js +1 -1
  335. package/dist/components/solution-article-card/customElement.js +1 -1
  336. package/dist/components/solution-configuration/customElement.js +1 -1
  337. package/dist/components/solution-configure-panel/customElement.js +1 -1
  338. package/dist/components/solution-configure-titles/customElement.js +1 -1
  339. package/dist/components/solution-contents/customElement.js +1 -1
  340. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  341. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  342. package/dist/components/solution-deploy-panel/customElement.js +1 -1
  343. package/dist/components/solution-deployed-card/customElement.js +1 -1
  344. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  345. package/dist/components/solution-details-card/customElement.js +1 -1
  346. package/dist/components/solution-details-panel/customElement.js +1 -1
  347. package/dist/components/solution-item/customElement.js +1 -1
  348. package/dist/components/solution-item-accordion/customElement.js +1 -1
  349. package/dist/components/solution-item-details/customElement.js +1 -1
  350. package/dist/components/solution-item-icon/customElement.js +1 -1
  351. package/dist/components/solution-item-sharing/customElement.js +1 -1
  352. package/dist/components/solution-items-diagram/customElement.js +1 -1
  353. package/dist/components/solution-organization-variables/customElement.js +1 -1
  354. package/dist/components/solution-resource-item/customElement.js +1 -1
  355. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  356. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  357. package/dist/components/solution-template-data/customElement.js +1 -1
  358. package/dist/components/solution-variables/customElement.js +1 -1
  359. package/dist/components/solutions-all-panel/customElement.js +1 -1
  360. package/dist/components/solutions-all-shell/customElement.js +1 -1
  361. package/dist/components/solutions-article-panel/customElement.js +1 -1
  362. package/dist/components/solutions-articles/customElement.js +1 -1
  363. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  364. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  365. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  366. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  367. package/dist/components/spatial-ref/customElement.js +1 -1
  368. package/dist/components/store-manager/customElement.js +1 -1
  369. package/dist/docs/api.json +27 -27
  370. package/dist/docs/docs.json +77 -77
  371. package/dist/docs/web-types.json +51 -51
  372. package/dist/index.js +1 -1
  373. package/dist/loader.js +1 -1
  374. package/package.json +2 -2
  375. package/dist/cdn/2QX2DZO7.js +0 -8
  376. package/dist/cdn/GHIWQFDY.js +0 -4
  377. package/dist/cdn/JYL4F373.js +0 -4
  378. package/dist/cdn/LT2FXISZ.js +0 -4
  379. package/dist/cdn/MYF2CGM2.js +0 -4
  380. package/dist/cdn/URRXFKCL.js +0 -4
  381. package/dist/cdn/XMB335P2.js +0 -4
  382. package/dist/cdn/YQNWPVUQ.js +0 -4
  383. package/dist/cdn/ZXAG7K3F.js +0 -4
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{a as r,b as c}from"./P55AP2OS.js";import{b as h}from"./U35AQBWJ.js";import{B as l,c as i,d as s,n as a,w as n}from"./3RC2WF5B.js";import"./C44EKR3M.js";var d=i`/** @license
3
+ v1.0.0-next.20250513.1 */
4
+ import{a as r,b as c}from"./B6EMT5VV.js";import{b as h}from"./4I2ETJ5R.js";import{B as l,c as i,d as s,n as a,w as n}from"./NUCM6ABX.js";import"./AZKYXX53.js";var d=i`/** @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.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{a as l}from"./PNZ6XBPV.js";import{b as t,c as u}from"./5RJEQIH2.js";import"./C44EKR3M.js";var m=o=>{let i=o.find(({collaborationType:n})=>n===l.anonymous),e=o.find(({collaborationType:n})=>n===l.authenticated);return[{key:"public",roles:{anonymous:{value:i?.permission||t,id:i?.id},authenticated:{value:e?.permission||t,id:e?.id}}}]},c=o=>{let i=o.reduce((e,n)=>[l.group,l.groupAdmin].includes(n.collaborationType)&&n.permission!==u.channelOwner?Object.assign(Object.assign({},e),{[n.collaborationId]:Object.assign(Object.assign({},e[n.collaborationId]),{[n.collaborationType]:n})}):e,{});return Object.entries(i).reduce((e,[n,{group:r,["group-admin"]:s}])=>[...e,{key:n,entityId:n,entityType:"group",roles:{member:{value:r?.permission||t,id:r?.id},admin:{value:s?.permission||t,id:s?.id}}}],[])},v=(o,i)=>{let e=o.reduce((r,s)=>[l.org,l.orgAdmin].includes(s.collaborationType)?Object.assign(Object.assign({},r),{[s.collaborationId]:Object.assign(Object.assign({},r[s.collaborationId]),{[s.collaborationType]:s})}):r,{}),n=Object.entries(e).reduce((r,[s,{org:a,["org-admin"]:d}])=>[...r,{key:s,entityId:s,entityType:"organization",roles:{member:{value:a?.permission||t,id:a?.id},admin:{value:d?.permission||t,id:d?.id}}}],[]);return n.length||n.push({key:i,entityId:i,entityType:"organization",roles:{member:{value:t,id:void 0},admin:{value:u.channelOwner,id:void 0}}}),n},b=o=>o.reduce((i,e)=>e.collaborationType===l.user?[...i,{key:e.collaborationId,entityId:e.collaborationId,entityType:"user",roles:{user:{value:e.permission,id:e.id}}}]:i,[]);function p(o,i){return{id:o.id,name:o.name,blockWords:o.blockWords.join(","),allowAsAnonymous:o.allowAsAnonymous,publicConfigs:m(o.permissions),orgConfigs:v(o.permissions,i.currentUser.orgId),groupConfigs:c(o.permissions),userConfigs:b(o.permissions)}}export{p as transformEntityToEditor};
3
+ v1.0.0-next.20250513.1 */
4
+ import{a as l}from"./UVWG3C2B.js";import{b as t,c as u}from"./HDVUMH4E.js";import"./AZKYXX53.js";var m=o=>{let i=o.find(({collaborationType:n})=>n===l.anonymous),e=o.find(({collaborationType:n})=>n===l.authenticated);return[{key:"public",roles:{anonymous:{value:i?.permission||t,id:i?.id},authenticated:{value:e?.permission||t,id:e?.id}}}]},c=o=>{let i=o.reduce((e,n)=>[l.group,l.groupAdmin].includes(n.collaborationType)&&n.permission!==u.channelOwner?Object.assign(Object.assign({},e),{[n.collaborationId]:Object.assign(Object.assign({},e[n.collaborationId]),{[n.collaborationType]:n})}):e,{});return Object.entries(i).reduce((e,[n,{group:r,["group-admin"]:s}])=>[...e,{key:n,entityId:n,entityType:"group",roles:{member:{value:r?.permission||t,id:r?.id},admin:{value:s?.permission||t,id:s?.id}}}],[])},v=(o,i)=>{let e=o.reduce((r,s)=>[l.org,l.orgAdmin].includes(s.collaborationType)?Object.assign(Object.assign({},r),{[s.collaborationId]:Object.assign(Object.assign({},r[s.collaborationId]),{[s.collaborationType]:s})}):r,{}),n=Object.entries(e).reduce((r,[s,{org:a,["org-admin"]:d}])=>[...r,{key:s,entityId:s,entityType:"organization",roles:{member:{value:a?.permission||t,id:a?.id},admin:{value:d?.permission||t,id:d?.id}}}],[]);return n.length||n.push({key:i,entityId:i,entityType:"organization",roles:{member:{value:t,id:void 0},admin:{value:u.channelOwner,id:void 0}}}),n},b=o=>o.reduce((i,e)=>e.collaborationType===l.user?[...i,{key:e.collaborationId,entityId:e.collaborationId,entityType:"user",roles:{user:{value:e.permission,id:e.id}}}]:i,[]);function p(o,i){return{id:o.id,name:o.name,blockWords:o.blockWords.join(","),allowAsAnonymous:o.allowAsAnonymous,publicConfigs:m(o.permissions),orgConfigs:v(o.permissions,i.currentUser.orgId),groupConfigs:c(o.permissions),userConfigs:b(o.permissions)}}export{p as transformEntityToEditor};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{a,b}from"./NLQ42NQW.js";import"./XW3XMCXE.js";import"./ADVQIEJR.js";import"./HZFEYQGX.js";import"./C44EKR3M.js";export{a as ContentEditorTypes,b as ContentSchema};
3
+ v1.0.0-next.20250513.1 */
4
+ import{a,b}from"./UIY6JQVD.js";import"./4DOBOTOA.js";import"./QMZEUTLX.js";import"./R2H5RSJ2.js";import"./AZKYXX53.js";export{a as ContentEditorTypes,b as ContentSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import"./C44EKR3M.js";var l=async(e,r,o)=>{let t=r.orgUrlKey;return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:t,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]}};export{l as buildUiSchema};
3
+ v1.0.0-next.20250513.1 */
4
+ import"./AZKYXX53.js";var l=async(e,r,o)=>{let t=r.orgUrlKey;return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:t,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]}};export{l as buildUiSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{a as S}from"./RN7TUN7E.js";import"./IRVZT2BS.js";import{c as L,j as $}from"./XOTJKE5D.js";import"./2HQWNDOT.js";import"./WUWWLJEX.js";import{a as r,b as n}from"./P55AP2OS.js";import{b as w}from"./U35AQBWJ.js";import{a as I}from"./FIE266AU.js";import{B as _,c as b,d as l,f as m,n as d,q as g,w as y,x as u}from"./3RC2WF5B.js";import"./C44EKR3M.js";function M(o){return o?.indexOf("http://")!==-1}function c(o){return M(o)?o.replace(/^http:\/\//,"https://"):o}function v(o,e,i){return i&&i.forEach(s=>{o.allLayers.forEach(t=>{t&&t.url===s.sourceUrl&&(t.url=c(s.proxyUrl),t.portalItem&&t.portalItem.when(()=>{t.portalItem.url=c(s.proxyUrl)}),e.request?.interceptors?.push({urls:s.sourceUrl,before:a=>{a.url&&a.url===s.sourceUrl&&(a.url=c(s.proxyUrl))}}))})}),o}var W=b`@layer{/** @license
3
+ v1.0.0-next.20250513.1 */
4
+ import{a as S}from"./KBP3WSLN.js";import"./T2ZDNBN5.js";import{c as L,j as $}from"./2VM36EOG.js";import"./GD5M2FA3.js";import"./TASEETLT.js";import{a as r,b as n}from"./B6EMT5VV.js";import{b as w}from"./4I2ETJ5R.js";import{a as I}from"./66TACLFN.js";import{B as _,c as b,d as l,f as m,n as d,q as g,w as y,x as u}from"./NUCM6ABX.js";import"./AZKYXX53.js";function M(o){return o?.indexOf("http://")!==-1}function c(o){return M(o)?o.replace(/^http:\/\//,"https://"):o}function v(o,e,i){return i&&i.forEach(s=>{o.allLayers.forEach(t=>{t&&t.url===s.sourceUrl&&(t.url=c(s.proxyUrl),t.portalItem&&t.portalItem.when(()=>{t.portalItem.url=c(s.proxyUrl)}),e.request?.interceptors?.push({urls:s.sourceUrl,before:a=>{a.url&&a.url===s.sourceUrl&&(a.url=c(s.proxyUrl))}}))})}),o}var W=b`@layer{/** @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.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{c as n}from"./MCIIM4XE.js";var A;(function(r){r.ASC="ASC",r.DESC="DESC"})(A||(A={}));var E;(function(r){r.CLAPPING_HANDS="clapping_hands",r.CONFUSED="confused",r.DOWN_ARROW="down_arrow",r.EYES="eyes",r.FACE_WITH_TEARS_OF_JOY="face_with_tears_of_joy",r.FIRE="fire",r.GRINNING="grinning",r.HEART="heart",r.LAUGH="laugh",r.ONE_HUNDRED="one_hundred",r.PARTYING="partying",r.PARTY_POPPER="party_popper",r.RAISING_HANDS="raising_hands",r.ROCKET="rocket",r.SAD="sad",r.SLIGHTLY_SMILING="slightly_smiling",r.SURPRISED="surprised",r.THINKING="thinking",r.THUMBS_UP="thumbs_up",r.THUMBS_DOWN="thumbs_down",r.TROPHY="trophy",r.UP_ARROW="up_arrow",r.WAVING_HAND="waving_hand",r.WINKING="winking",r.WORLD_MAP="world_map"})(E||(E={}));var p;(function(r){r.PUBLIC="public",r.ORG="org",r.PRIVATE="private"})(p||(p={}));var a;(function(r){r.PENDING="pending",r.APPROVED="approved",r.REJECTED="rejected",r.DELETED="deleted",r.HIDDEN="hidden",r.BLOCKED="blocked"})(a||(a={}));var T;(function(r){r.GROUP="group",r.CONTENT="content",r.BOARD="board"})(T||(T={}));var i;(function(r){r.HUB="hub",r.AGO="ago",r.URBAN="urban"})(i||(i={}));var u;(function(r){r.REPLIES="replies",r.REACTIONS="reactions",r.PARENT="parent",r.CHANNEL="channel",r.CHANNEL_ACL="channelAcl"})(u||(u={}));var _;(function(r){r.POST="post"})(_||(_={}));var d;(function(r){r.HAS_USER_POSTS="has_user_posts"})(d||(d={}));var N;(function(r){r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.UPDATED_AT="updatedAt"})(N||(N={}));var D;(function(r){r.CSV="csv",r.JSON="json"})(D||(D={}));var I;(function(r){r.READ="read",r.WRITE="write",r.READWRITE="readWrite",r.MODERATE="moderate",r.MANAGE="manage",r.OWNER="owner"})(I||(I={}));var t;(function(r){r.BODY="body",r.CHANNEL_ID="channelId",r.CREATED_AT="createdAt",r.CREATOR="creator",r.DISCUSSION="discussion",r.EDITOR="editor",r.ID="id",r.PARENT_ID="parentId",r.STATUS="status",r.TITLE="title",r.UPDATED_AT="updatedAt"})(t||(t={}));var c;(function(r){r.Text="text",r.Announcement="announcement",r.Poll="poll",r.Question="question"})(c||(c={}));var O;(function(r){r.ACCESS="access",r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.LAST_ACTIVITY="last_activity",r.UPDATED_AT="updatedAt"})(O||(O={}));var f;(function(r){r.CHANNEL_ACL="channelAcl"})(f||(f={}));var U;(function(r){r.ANONYMOUS_USER="anonymousUser",r.AUTHENTICATED_USER="authenticatedUser",r.GROUP="group",r.ORG="org",r.USER="user"})(U||(U={}));var h;(function(r){r.ADMIN="admin",r.MEMBER="member"})(h||(h={}));var v;(function(r){r.CONTENT="content"})(v||(v={}));function R(r){let e;return r.match(/(qaext|\.mapsqa)\.arcgis.com/)?e="https://hubqa.arcgis.com":r.match(/(devext|\.mapsdevext)\.arcgis.com/)?e="https://hubdev.arcgis.com":r.match(/(www|\.maps)\.arcgis.com/)&&(e="https://hub.arcgis.com"),e}function C(r){let e=r&&r.hubApiUrl;return e||R(n(r))}export{C as a,D as b,I as c,f as d,U as e,h as f,v as g};
3
+ v1.0.0-next.20250513.1 */
4
+ import{c as n}from"./LJVAXK4D.js";var A;(function(r){r.ASC="ASC",r.DESC="DESC"})(A||(A={}));var E;(function(r){r.CLAPPING_HANDS="clapping_hands",r.CONFUSED="confused",r.DOWN_ARROW="down_arrow",r.EYES="eyes",r.FACE_WITH_TEARS_OF_JOY="face_with_tears_of_joy",r.FIRE="fire",r.GRINNING="grinning",r.HEART="heart",r.LAUGH="laugh",r.ONE_HUNDRED="one_hundred",r.PARTYING="partying",r.PARTY_POPPER="party_popper",r.RAISING_HANDS="raising_hands",r.ROCKET="rocket",r.SAD="sad",r.SLIGHTLY_SMILING="slightly_smiling",r.SURPRISED="surprised",r.THINKING="thinking",r.THUMBS_UP="thumbs_up",r.THUMBS_DOWN="thumbs_down",r.TROPHY="trophy",r.UP_ARROW="up_arrow",r.WAVING_HAND="waving_hand",r.WINKING="winking",r.WORLD_MAP="world_map"})(E||(E={}));var p;(function(r){r.PUBLIC="public",r.ORG="org",r.PRIVATE="private"})(p||(p={}));var a;(function(r){r.PENDING="pending",r.APPROVED="approved",r.REJECTED="rejected",r.DELETED="deleted",r.HIDDEN="hidden",r.BLOCKED="blocked"})(a||(a={}));var T;(function(r){r.GROUP="group",r.CONTENT="content",r.BOARD="board"})(T||(T={}));var i;(function(r){r.HUB="hub",r.AGO="ago",r.URBAN="urban"})(i||(i={}));var u;(function(r){r.REPLIES="replies",r.REACTIONS="reactions",r.PARENT="parent",r.CHANNEL="channel",r.CHANNEL_ACL="channelAcl"})(u||(u={}));var _;(function(r){r.POST="post"})(_||(_={}));var d;(function(r){r.HAS_USER_POSTS="has_user_posts"})(d||(d={}));var N;(function(r){r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.UPDATED_AT="updatedAt"})(N||(N={}));var D;(function(r){r.CSV="csv",r.JSON="json"})(D||(D={}));var I;(function(r){r.READ="read",r.WRITE="write",r.READWRITE="readWrite",r.MODERATE="moderate",r.MANAGE="manage",r.OWNER="owner"})(I||(I={}));var t;(function(r){r.BODY="body",r.CHANNEL_ID="channelId",r.CREATED_AT="createdAt",r.CREATOR="creator",r.DISCUSSION="discussion",r.EDITOR="editor",r.ID="id",r.PARENT_ID="parentId",r.STATUS="status",r.TITLE="title",r.UPDATED_AT="updatedAt"})(t||(t={}));var c;(function(r){r.Text="text",r.Announcement="announcement",r.Poll="poll",r.Question="question"})(c||(c={}));var O;(function(r){r.ACCESS="access",r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.LAST_ACTIVITY="last_activity",r.UPDATED_AT="updatedAt"})(O||(O={}));var f;(function(r){r.CHANNEL_ACL="channelAcl"})(f||(f={}));var U;(function(r){r.ANONYMOUS_USER="anonymousUser",r.AUTHENTICATED_USER="authenticatedUser",r.GROUP="group",r.ORG="org",r.USER="user"})(U||(U={}));var h;(function(r){r.ADMIN="admin",r.MEMBER="member"})(h||(h={}));var v;(function(r){r.CONTENT="content"})(v||(v={}));function R(r){let e;return r.match(/(qaext|\.mapsqa)\.arcgis.com/)?e="https://hubqa.arcgis.com":r.match(/(devext|\.mapsdevext)\.arcgis.com/)?e="https://hubdev.arcgis.com":r.match(/(www|\.maps)\.arcgis.com/)&&(e="https://hub.arcgis.com"),e}function C(r){let e=r&&r.hubApiUrl;return e||R(n(r))}export{C as a,D as b,I as c,f as d,U as e,h as f,v as g};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{a as e,b as i,c as l,d as s,e as t}from"./KIU22HO4.js";import{a as r}from"./GGVX7BU3.js";import"./HHVCX4HB.js";import"./V3NOQ3VR.js";import"./5RJEQIH2.js";import"./AXEU574G.js";import"./P4CX5EDN.js";import"./NLQ42NQW.js";import"./CNU3TPX7.js";import"./37UTA2CS.js";import"./YMECWXNY.js";import"./AI3WLROH.js";import"./UOCWAIF5.js";import"./ISCASEIO.js";import"./WUYLVJC7.js";import"./GQU6FXIT.js";import"./6HNT2RSP.js";import"./F57GZO2E.js";import"./OBGBZA5Q.js";import"./ZIJGSIAY.js";import"./CBMZJGCV.js";import"./XW3XMCXE.js";import"./ADVQIEJR.js";import"./HZFEYQGX.js";import"./C44EKR3M.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",clearOnHidden:!0,type:"number",messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
3
+ v1.0.0-next.20250513.1 */
4
+ import{a as e,b as i,c as l,d as s,e as t}from"./2T3QIT6S.js";import{a as r}from"./J2AOE72O.js";import"./ELHHO2HG.js";import"./NMQL6RPI.js";import"./HDVUMH4E.js";import"./UZT7DBX5.js";import"./QCY5Q4DC.js";import"./UIY6JQVD.js";import"./BEUU4V47.js";import"./7TXDKHSR.js";import"./QN47PAEX.js";import"./D2LLTH6P.js";import"./NJJU4T5L.js";import"./DVK7WGWJ.js";import"./7ZWQ5RIA.js";import"./SHCFADDZ.js";import"./FN3PUVIO.js";import"./JYBRQYQO.js";import"./KXKPHNIN.js";import"./F2TP7D3Z.js";import"./SOTTOWSO.js";import"./4DOBOTOA.js";import"./QMZEUTLX.js";import"./R2H5RSJ2.js";import"./AZKYXX53.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",clearOnHidden:!0,type:"number",messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{a as e,c as t,g as a,k as s}from"./HZFEYQGX.js";var r=["hub:group:edit","hub:group:settings","hub:group:discussions","hub:group:create:followers","hub:group:create:association","hub:group:create:view","hub:group:create:edit","hub:group:create"],u={required:["name"],type:"object",properties:{name:e,summary:Object.assign(Object.assign({},t),{maxLength:250}),description:{type:"string"},_thumbnail:s,access:{type:"string",enum:["private","org","public"],default:"private"},isSharedUpdate:{type:"boolean",enum:[!1,!0],default:!1},leavingDisallowed:{type:"boolean",enum:[!1,!0],default:!1},isOpenData:{type:"boolean",enum:[!1,!0],default:!1},membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"},isViewOnly:{type:"boolean",enum:[!1,!0],default:!1},_join:{type:"string",enum:["invite","request","auto"],default:"invite"},hiddenMembers:{type:"boolean",enum:[!1,!0],default:!1},isDiscussable:a}};export{r as a,u as b};
3
+ v1.0.0-next.20250513.1 */
4
+ import{a as e,c as t,g as a,k as s}from"./R2H5RSJ2.js";var r=["hub:group:edit","hub:group:settings","hub:group:discussions","hub:group:create:followers","hub:group:create:association","hub:group:create:view","hub:group:create:edit","hub:group:create"],u={required:["name"],type:"object",properties:{name:e,summary:Object.assign(Object.assign({},t),{maxLength:250}),description:{type:"string"},_thumbnail:s,access:{type:"string",enum:["private","org","public"],default:"private"},isSharedUpdate:{type:"boolean",enum:[!1,!0],default:!1},leavingDisallowed:{type:"boolean",enum:[!1,!0],default:!1},isOpenData:{type:"boolean",enum:[!1,!0],default:!1},membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"},isViewOnly:{type:"boolean",enum:[!1,!0],default:!1},_join:{type:"string",enum:["invite","request","auto"],default:"invite"},hiddenMembers:{type:"boolean",enum:[!1,!0],default:!1},isDiscussable:a}};export{r as a,u as 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.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{c as l,d as I}from"./QRM36WK6.js";import{h}from"./2HQWNDOT.js";function w(i){return i.reduce((r,n)=>{let t=n.item.title||n.item.name;if(n.type==="Feature Service"&&(n.item.typeKeywords||[]).indexOf("View Service")<0&&r.indexOf(t)<0){let e=l(n,"properties.service.spatialReference.wkid");r.push({id:n.itemId,name:t,enabled:e.toString().startsWith(h),wkid:e})}return r},[])}function b(i){let r=x(i),n=r.reduce((t,e)=>(t.push(e.id),t),[]);return i.reduce((t,e)=>{if(n.indexOf(e.itemId)>-1){let d=r.filter(o=>o.id===e.itemId);t.push(y(e,i,d[0].dependencies))}return t},[])}function x(i){let r=[];function n(s,c){let u=s.findIndex(a=>c===a.itemId);return u>=0?s[u]:null}function t(s,c,u=[]){let a=n(i,s);if(a){let p={id:s,dependencies:[]};u.indexOf(s)<0&&(u.push(s),a.dependencies.forEach(m=>{let f=e.indexOf(m);f>=0&&e.splice(f,1),t(m,p.dependencies,u)})),c.push(p)}}let e=$(i),d=i.filter(s=>e.indexOf(s.itemId)<0).sort((s,c)=>c.dependencies.length-s.dependencies.length);e=e.concat(d.map(s=>s.itemId));let o=e.shift();for(;typeof o<"u";)t(o,r),o=e.shift();return r}function S(i){return[{id:"",title:i.geocodeUrl,value:"{{organization.helperServices.geocode:getDefaultLocatorURL}}"},{id:"",title:i.geometryUrl,value:"{{organization.helperServices.geometry.url}}"},{id:"",title:i.portalBaseUrl,value:"{{portalBaseUrl}}"},{id:"",title:i.routeUrl,value:"{{organization.helperServices.route.url}}"},{id:"",title:i.solutionItemExtent,value:"{{solutionItemExtent}}"}]}function U(i,r){let n=[];return i.forEach(t=>{let e={id:t.itemId,title:t.item.title||t.item.name,type:t.type,value:void 0,dependencies:[{id:t.itemId,title:r.itemId,value:`{{${t.itemId}.itemId}}`}]};t.item.url&&e.dependencies.push({id:t.itemId,title:r.url,value:`{{${t.itemId}.url}}`}),t.type==="Feature Service"&&(e.dependencies.push({id:t.itemId,title:r.solutionExtent,value:`{{${t.itemId}.solutionExtent}}`}),v(t.properties.layers||[],e,t,r),v(t.properties.tables||[],e,t,r)),n.push(e)}),n}function k(i,r){let n={};i.forEach(d=>{n[d.id]=d.enabled});let t=l(r,"params.wkid.default"),e=I(r,"params.wkid.attributes.required",!1);return t?{enabled:e,default:t,services:n}:{enabled:e,services:n}}function v(i,r,n,t){i.forEach(e=>{let d=e.name&&e.name.indexOf("||")>-1?e.name.split("||")[1].replace("}}","").trim():e.name;r.dependencies.push({id:n.itemId,title:`${d} (${t.id})`,value:`{{${n.itemId}.layer${e.id}.id}}`}),r.dependencies.push({id:n.itemId,title:`${d} (${t.name})`,value:`{{${n.itemId}.layer${e.id}.name||${d}}}`})})}function y(i,r,n){return{id:i.itemId||"",title:i.item.title||"",dependencies:g(n,r),type:i.item.type||"",typeKeywords:i.item.typeKeywords||[]}}function g(i,r){let n=[],t=i.reduce((e,d)=>(e.push(d.id),n.push(d),e),[]);return r.reduce((e,d)=>{let o=t.indexOf(d.itemId);return o>-1&&e.push(y(d,r,n[o].dependencies)),e},[])}function $(i){let r=i.map(n=>n.itemId);return i.forEach(n=>{(n.dependencies||[]).forEach(t=>{let e=r.indexOf(t);e>=0&&r.splice(e,1)})}),r}export{w as a,b,S as c,U as d,k as e};
3
+ v1.0.0-next.20250513.1 */
4
+ import{c as l,d as I}from"./V66DC2RZ.js";import{h}from"./GD5M2FA3.js";function w(i){return i.reduce((r,n)=>{let t=n.item.title||n.item.name;if(n.type==="Feature Service"&&(n.item.typeKeywords||[]).indexOf("View Service")<0&&r.indexOf(t)<0){let e=l(n,"properties.service.spatialReference.wkid");r.push({id:n.itemId,name:t,enabled:e.toString().startsWith(h),wkid:e})}return r},[])}function b(i){let r=x(i),n=r.reduce((t,e)=>(t.push(e.id),t),[]);return i.reduce((t,e)=>{if(n.indexOf(e.itemId)>-1){let d=r.filter(o=>o.id===e.itemId);t.push(y(e,i,d[0].dependencies))}return t},[])}function x(i){let r=[];function n(s,c){let u=s.findIndex(a=>c===a.itemId);return u>=0?s[u]:null}function t(s,c,u=[]){let a=n(i,s);if(a){let p={id:s,dependencies:[]};u.indexOf(s)<0&&(u.push(s),a.dependencies.forEach(m=>{let f=e.indexOf(m);f>=0&&e.splice(f,1),t(m,p.dependencies,u)})),c.push(p)}}let e=$(i),d=i.filter(s=>e.indexOf(s.itemId)<0).sort((s,c)=>c.dependencies.length-s.dependencies.length);e=e.concat(d.map(s=>s.itemId));let o=e.shift();for(;typeof o<"u";)t(o,r),o=e.shift();return r}function S(i){return[{id:"",title:i.geocodeUrl,value:"{{organization.helperServices.geocode:getDefaultLocatorURL}}"},{id:"",title:i.geometryUrl,value:"{{organization.helperServices.geometry.url}}"},{id:"",title:i.portalBaseUrl,value:"{{portalBaseUrl}}"},{id:"",title:i.routeUrl,value:"{{organization.helperServices.route.url}}"},{id:"",title:i.solutionItemExtent,value:"{{solutionItemExtent}}"}]}function U(i,r){let n=[];return i.forEach(t=>{let e={id:t.itemId,title:t.item.title||t.item.name,type:t.type,value:void 0,dependencies:[{id:t.itemId,title:r.itemId,value:`{{${t.itemId}.itemId}}`}]};t.item.url&&e.dependencies.push({id:t.itemId,title:r.url,value:`{{${t.itemId}.url}}`}),t.type==="Feature Service"&&(e.dependencies.push({id:t.itemId,title:r.solutionExtent,value:`{{${t.itemId}.solutionExtent}}`}),v(t.properties.layers||[],e,t,r),v(t.properties.tables||[],e,t,r)),n.push(e)}),n}function k(i,r){let n={};i.forEach(d=>{n[d.id]=d.enabled});let t=l(r,"params.wkid.default"),e=I(r,"params.wkid.attributes.required",!1);return t?{enabled:e,default:t,services:n}:{enabled:e,services:n}}function v(i,r,n,t){i.forEach(e=>{let d=e.name&&e.name.indexOf("||")>-1?e.name.split("||")[1].replace("}}","").trim():e.name;r.dependencies.push({id:n.itemId,title:`${d} (${t.id})`,value:`{{${n.itemId}.layer${e.id}.id}}`}),r.dependencies.push({id:n.itemId,title:`${d} (${t.name})`,value:`{{${n.itemId}.layer${e.id}.name||${d}}}`})})}function y(i,r,n){return{id:i.itemId||"",title:i.item.title||"",dependencies:g(n,r),type:i.item.type||"",typeKeywords:i.item.typeKeywords||[]}}function g(i,r){let n=[],t=i.reduce((e,d)=>(e.push(d.id),n.push(d),e),[]);return r.reduce((e,d)=>{let o=t.indexOf(d.itemId);return o>-1&&e.push(y(d,r,n[o].dependencies)),e},[])}function $(i){let r=i.map(n=>n.itemId);return i.forEach(n=>{(n.dependencies||[]).forEach(t=>{let e=r.indexOf(t);e>=0&&r.splice(e,1)})}),r}export{w as a,b,S as c,U as d,k as e};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{a as e,b as t}from"./GQU6FXIT.js";var n={if:{properties:{isAllDay:{const:!1}}},then:{required:["startTime","endTime"],properties:{endTime:{format:"timePickerTime",formatExclusiveMinimum:{$data:"1/startTime"}}}}},r={if:{properties:{attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineUrl"],properties:{onlineUrl:{format:"url"}}}},o={if:{properties:{onlineCapacityType:{const:t.Fixed},attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineCapacity"],properties:{onlineCapacity:{minimum:1}}}},p={if:{properties:{inPersonCapacityType:{const:t.Fixed},attendanceType:{enum:[e.InPerson,e.Both]}}},then:{required:["inPersonCapacity"],properties:{inPersonCapacity:{minimum:1}}}};export{n as a,r as b,o as c,p as d};
3
+ v1.0.0-next.20250513.1 */
4
+ import{a as e,b as t}from"./SHCFADDZ.js";var n={if:{properties:{isAllDay:{const:!1}}},then:{required:["startTime","endTime"],properties:{endTime:{format:"timePickerTime",formatExclusiveMinimum:{$data:"1/startTime"}}}}},r={if:{properties:{attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineUrl"],properties:{onlineUrl:{format:"url"}}}},o={if:{properties:{onlineCapacityType:{const:t.Fixed},attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineCapacity"],properties:{onlineCapacity:{minimum:1}}}},p={if:{properties:{inPersonCapacityType:{const:t.Fixed},attendanceType:{enum:[e.InPerson,e.Both]}}},then:{required:["inPersonCapacity"],properties:{inPersonCapacity:{minimum:1}}}};export{n as a,r as b,o as c,p as d};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{a as h}from"./2AE65J7Z.js";import{a as Y}from"./PJF5G4QB.js";import{a as R}from"./FJRGFI2V.js";import{a as V,d as W,e as H,f as B,g as J,h as G}from"./LZXK3MVJ.js";import{c as y,f as E,l as b,m as I}from"./MFYJYT6Q.js";import"./K4CSMHLX.js";import"./GYXP7WY2.js";import"./G2KU4GJD.js";import{a as M,c as U,e as C}from"./4745A7PL.js";import"./QCF4PYQB.js";import{a as N,d as F}from"./BZM6QEVQ.js";import{a as g}from"./TV4DZ4NC.js";import{d as j}from"./MCIIM4XE.js";import"./KQVVUDCM.js";import{a as p,b as A,c as L,e as u}from"./IG3I76TX.js";import"./U7RXVNQC.js";import"./T4UFIWDF.js";import"./2FXMJWEJ.js";import{h as $}from"./OAJSYATY.js";import"./MSCUGG2N.js";import"./DHYYFX2C.js";import{a as l}from"./7WDOCGDK.js";import{b as T}from"./ADVQIEJR.js";import"./C44EKR3M.js";function X(e,t=!1){let{id:r,properties:i}=e,o=i?.slug;return o?M(t?C(o,r):o):r}var d;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(d||(d={}));var f;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(f||(f={}));function z(e,t){var r;let i=e._slug;delete e._slug;let o=p(e);return o.orgUrlKey=e.orgUrlKey?e.orgUrlKey:t.urlKey,o.extent=(r=e.location)===null||r===void 0?void 0:r.extent,i&&(o.slug=U(i,o.orgUrlKey)),o}var le=1,ue=e=>[{orgid:[e]},{type:{not:["Code Attachment"]}}],ye=e=>[{orgId:e}],de={item:ue,event:ye};function Q(e){if(l(e,"schemaVersion")===le)return e;{let t=p(e);return t=fe(t),t}}function fe(e){if(l(e,"schemaVersion")>1)return e;{let t={schemaVersion:1,title:"Default Catalog",scopes:{item:{targetEntity:"item",filters:[]},event:{targetEntity:"event",filters:[]}},collections:[]},r=l(e,"groups")||[],i=[];Array.isArray(r)&&r.length?i=r:typeof r=="string"&&(i=[r]),i.length&&(t.scopes=Object.entries(t.scopes).reduce((n,s)=>Object.assign(Object.assign({},n),{[s[0]]:Object.assign(Object.assign({},s[1]),{filters:[{predicates:[{group:i}]}]})}),{}));let o=l(e,"orgId");return o&&(t.scopes=Object.entries(t.scopes).reduce((n,s)=>{let a=s[0],c=s[1];return Object.assign(Object.assign({},n),{[a]:Object.assign(Object.assign({},c),{filters:[...c.filters,{operation:"AND",predicates:de[a](o)}]})})},{})),t}}function Z(e,t){let r=Object.assign(Object.assign({},t),e),i=Object.keys(t);return Object.keys(r).reduce((n,s)=>(i.includes(s)||n.push(s),n),[]).forEach(n=>{delete r[n]}),r}function q(e,t){let r;return t.authentication&&(r=t.authentication.token),{self:j(e.id,t),siteRelative:E(e.type,X(e),e.typeKeywords),siteRelativeEntityType:E(e.type),workspaceRelative:Y(e.type,e.id),thumbnail:y(e,t,r)}}var w="Hub Project",ee={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:T.notStarted,tags:[],typeKeywords:[w],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:N},te={item:{type:w,title:"",description:"",snippet:"",tags:[],typeKeywords:[w],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:T.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function re(e,t){return q(e,t)}function v(e,t,r){var i,o;let n;return r.authentication&&(n=r.authentication.token),t=H(e.item,t),t.thumbnailUrl=y(e.item,r,n),t.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(i=e.data.view)===null||i===void 0?void 0:i.featuredImageUrl}),t.catalog=Q(t.catalog||{}),t.features=Z(((o=e.data.settings)===null||o===void 0?void 0:o.features)||{},F),t.links=re(e.item,r),t}function _(){let e=W();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function ie(e={displayType:"stat-card",metricId:void 0},t,r){let{value:i,valueType:o,dynamicMetric:n}=e,s=R(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:m,statistic:x,serviceUrl:se,fieldType:ne,sourceLink:D,sourceTitle:O,allowExpressionSet:k,expressionSet:P,legacyWhere:S}=n||{},{entityInfo:ae,metricName:ce}=r||{},pe={source:e.type==="dynamic"?{type:"service-query",serviceUrl:se,layerId:a,field:m,statistic:x,where:S||ge(k?P:[])}:{type:"static-value",value:i,valueType:o},name:ce||t,entityInfo:ae||{id:void 0,name:void 0,type:void 0},id:t};delete s.itemId;let me=Object.assign(Object.assign({},s),{displayType:s.displayType||"stat-card",visibility:s.visibility||f.hidden,metricId:t,fieldType:ne,itemId:c,expressionSet:P,allowExpressionSet:k,statistic:x,sourceLink:e.type==="dynamic"&&D?D:s.sourceLink,sourceTitle:e.type==="dynamic"&&O?O:s.sourceTitle,allowLink:e.type==="dynamic"?s.allowDynamicLink:s.allowLink,type:e.type});return{metric:pe,displayConfig:me}}function ge(e=[]){let t=e.map(r=>{let{field:i,values:o,relationship:n}=r,s=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!o||!o.length||!i||!i.name)return!1;let a;switch(i.type){case"esriFieldTypeString":a=n===d.LIKE?`${i.name} like '%${o[0]}%'`:`(${i.name} IN (${o.map(c=>`'${s(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof o[0]=="string"&&(a=`${i.name} >= timestamp '${s(o[0])} 00:00:00'`),typeof o[1]=="string"&&(a=`${i.name} <= timestamp '${s(o[1])} 23:59:59'`),typeof o[0]=="string"&&typeof o[1]=="string"&&(a=`${i.name} >= timestamp '${s(o[0])} 00:00:00' AND ${i.name} <= timestamp '${s(o[1])} 23:59:59'`);break;default:u(o[0])||(a=`(${i.name}) >= ${o[0]}`),u(o[1])||(a=`(${i.name}) <= ${o[1]}`),!u(o[0])&&!u(o[1])&&(a=`(${i.name}) >= ${o[0]} AND (${i.name}) <= ${o[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(t)}function K(e,t){let r=e.filter(i=>!i.startsWith("status|"));return r.push(`status|${t}`),r}function oe(e,t,r){let i=p(e),o=t.id,n=g(i,"metrics",[]),s=n.findIndex(m=>m.id===o),a=g(i,"view.metricDisplays",[]),c=a.findIndex(m=>m.metricId===o);return s>-1?n[s]=t:n.push(t),c>-1?a[c]=r:a.push(r),i.view.metricDisplays=a,i.metrics=n,i}async function Tt(e,t){let r=Object.assign(Object.assign({},ee),e);r.slug||(r.slug=V(r.name,r.orgUrlKey)),await h(r,t),r.typeKeywords=K(r.typeKeywords,r.status),r.typeKeywords=b(r.typeKeywords,r.isDiscussable);let i=new I(_()),o=i.entityToStore(r,p(te));o=await J(o,t);let n=i.storeToEntity(o,{});return n=v(o,n,t),n}function Et(e,t){var r;let i=e._metric;delete e._groups,delete e._thumbnail,(r=e.view)===null||r===void 0||delete r.featuredImage,delete e._metric,delete e._groups;let o=z(e,t);if(i&&Object.keys(i).length){let n=i.metricId||A(L(`${i.cardTitle}_`)),{metric:s,displayConfig:a}=ie(i,n,{metricName:i.cardTitle});o=oe(o,s,a)}return o}async function ht(e,t){await h(e,t),e.typeKeywords=K(e.typeKeywords,e.status),e.typeKeywords=b(e.typeKeywords,e.isDiscussable);let r=await B(e.id,t),i=new I(_()),o=i.entityToStore(e,r),n=await G(o,t),s=i.storeToEntity(n,e);return s=v(r,s,t),s}async function bt(e,t){let r=Object.assign(Object.assign({},t),{id:e});await $(r)}export{Tt as createProject,bt as deleteProject,Et as editorToProject,ht as updateProject};
3
+ v1.0.0-next.20250513.1 */
4
+ import{a as h}from"./PCLM5T4X.js";import{a as Y}from"./ARKBNGKH.js";import{a as R}from"./6CYK6BB7.js";import{a as V,d as W,e as H,f as B,g as J,h as G}from"./BVZUGCOI.js";import{c as y,f as E,l as b,m as I}from"./DHRLL7NQ.js";import"./2DDJ2AFS.js";import"./7POMEGOT.js";import"./5Z7R3XOW.js";import{a as M,c as U,e as C}from"./GU775YRY.js";import"./ICTNZMXC.js";import{a as N,d as F}from"./FGM64GKL.js";import{a as g}from"./5GGF35L5.js";import{d as j}from"./LJVAXK4D.js";import"./OOKZNHYN.js";import{a as p,b as A,c as L,e as u}from"./KJUPNH26.js";import"./TGKBXQFJ.js";import"./THV6PWO2.js";import"./P5SS2UTJ.js";import{h as $}from"./BTPTRXRA.js";import"./ARTYQZHE.js";import"./YFTV5FQP.js";import{a as l}from"./Q3SDKCO5.js";import{b as T}from"./QMZEUTLX.js";import"./AZKYXX53.js";function X(e,t=!1){let{id:r,properties:i}=e,o=i?.slug;return o?M(t?C(o,r):o):r}var d;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(d||(d={}));var f;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(f||(f={}));function z(e,t){var r;let i=e._slug;delete e._slug;let o=p(e);return o.orgUrlKey=e.orgUrlKey?e.orgUrlKey:t.urlKey,o.extent=(r=e.location)===null||r===void 0?void 0:r.extent,i&&(o.slug=U(i,o.orgUrlKey)),o}var le=1,ue=e=>[{orgid:[e]},{type:{not:["Code Attachment"]}}],ye=e=>[{orgId:e}],de={item:ue,event:ye};function Q(e){if(l(e,"schemaVersion")===le)return e;{let t=p(e);return t=fe(t),t}}function fe(e){if(l(e,"schemaVersion")>1)return e;{let t={schemaVersion:1,title:"Default Catalog",scopes:{item:{targetEntity:"item",filters:[]},event:{targetEntity:"event",filters:[]}},collections:[]},r=l(e,"groups")||[],i=[];Array.isArray(r)&&r.length?i=r:typeof r=="string"&&(i=[r]),i.length&&(t.scopes=Object.entries(t.scopes).reduce((n,s)=>Object.assign(Object.assign({},n),{[s[0]]:Object.assign(Object.assign({},s[1]),{filters:[{predicates:[{group:i}]}]})}),{}));let o=l(e,"orgId");return o&&(t.scopes=Object.entries(t.scopes).reduce((n,s)=>{let a=s[0],c=s[1];return Object.assign(Object.assign({},n),{[a]:Object.assign(Object.assign({},c),{filters:[...c.filters,{operation:"AND",predicates:de[a](o)}]})})},{})),t}}function Z(e,t){let r=Object.assign(Object.assign({},t),e),i=Object.keys(t);return Object.keys(r).reduce((n,s)=>(i.includes(s)||n.push(s),n),[]).forEach(n=>{delete r[n]}),r}function q(e,t){let r;return t.authentication&&(r=t.authentication.token),{self:j(e.id,t),siteRelative:E(e.type,X(e),e.typeKeywords),siteRelativeEntityType:E(e.type),workspaceRelative:Y(e.type,e.id),thumbnail:y(e,t,r)}}var w="Hub Project",ee={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:T.notStarted,tags:[],typeKeywords:[w],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:N},te={item:{type:w,title:"",description:"",snippet:"",tags:[],typeKeywords:[w],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:T.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function re(e,t){return q(e,t)}function v(e,t,r){var i,o;let n;return r.authentication&&(n=r.authentication.token),t=H(e.item,t),t.thumbnailUrl=y(e.item,r,n),t.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(i=e.data.view)===null||i===void 0?void 0:i.featuredImageUrl}),t.catalog=Q(t.catalog||{}),t.features=Z(((o=e.data.settings)===null||o===void 0?void 0:o.features)||{},F),t.links=re(e.item,r),t}function _(){let e=W();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function ie(e={displayType:"stat-card",metricId:void 0},t,r){let{value:i,valueType:o,dynamicMetric:n}=e,s=R(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:m,statistic:x,serviceUrl:se,fieldType:ne,sourceLink:D,sourceTitle:O,allowExpressionSet:k,expressionSet:P,legacyWhere:S}=n||{},{entityInfo:ae,metricName:ce}=r||{},pe={source:e.type==="dynamic"?{type:"service-query",serviceUrl:se,layerId:a,field:m,statistic:x,where:S||ge(k?P:[])}:{type:"static-value",value:i,valueType:o},name:ce||t,entityInfo:ae||{id:void 0,name:void 0,type:void 0},id:t};delete s.itemId;let me=Object.assign(Object.assign({},s),{displayType:s.displayType||"stat-card",visibility:s.visibility||f.hidden,metricId:t,fieldType:ne,itemId:c,expressionSet:P,allowExpressionSet:k,statistic:x,sourceLink:e.type==="dynamic"&&D?D:s.sourceLink,sourceTitle:e.type==="dynamic"&&O?O:s.sourceTitle,allowLink:e.type==="dynamic"?s.allowDynamicLink:s.allowLink,type:e.type});return{metric:pe,displayConfig:me}}function ge(e=[]){let t=e.map(r=>{let{field:i,values:o,relationship:n}=r,s=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!o||!o.length||!i||!i.name)return!1;let a;switch(i.type){case"esriFieldTypeString":a=n===d.LIKE?`${i.name} like '%${o[0]}%'`:`(${i.name} IN (${o.map(c=>`'${s(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof o[0]=="string"&&(a=`${i.name} >= timestamp '${s(o[0])} 00:00:00'`),typeof o[1]=="string"&&(a=`${i.name} <= timestamp '${s(o[1])} 23:59:59'`),typeof o[0]=="string"&&typeof o[1]=="string"&&(a=`${i.name} >= timestamp '${s(o[0])} 00:00:00' AND ${i.name} <= timestamp '${s(o[1])} 23:59:59'`);break;default:u(o[0])||(a=`(${i.name}) >= ${o[0]}`),u(o[1])||(a=`(${i.name}) <= ${o[1]}`),!u(o[0])&&!u(o[1])&&(a=`(${i.name}) >= ${o[0]} AND (${i.name}) <= ${o[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(t)}function K(e,t){let r=e.filter(i=>!i.startsWith("status|"));return r.push(`status|${t}`),r}function oe(e,t,r){let i=p(e),o=t.id,n=g(i,"metrics",[]),s=n.findIndex(m=>m.id===o),a=g(i,"view.metricDisplays",[]),c=a.findIndex(m=>m.metricId===o);return s>-1?n[s]=t:n.push(t),c>-1?a[c]=r:a.push(r),i.view.metricDisplays=a,i.metrics=n,i}async function Tt(e,t){let r=Object.assign(Object.assign({},ee),e);r.slug||(r.slug=V(r.name,r.orgUrlKey)),await h(r,t),r.typeKeywords=K(r.typeKeywords,r.status),r.typeKeywords=b(r.typeKeywords,r.isDiscussable);let i=new I(_()),o=i.entityToStore(r,p(te));o=await J(o,t);let n=i.storeToEntity(o,{});return n=v(o,n,t),n}function Et(e,t){var r;let i=e._metric;delete e._groups,delete e._thumbnail,(r=e.view)===null||r===void 0||delete r.featuredImage,delete e._metric,delete e._groups;let o=z(e,t);if(i&&Object.keys(i).length){let n=i.metricId||A(L(`${i.cardTitle}_`)),{metric:s,displayConfig:a}=ie(i,n,{metricName:i.cardTitle});o=oe(o,s,a)}return o}async function ht(e,t){await h(e,t),e.typeKeywords=K(e.typeKeywords,e.status),e.typeKeywords=b(e.typeKeywords,e.isDiscussable);let r=await B(e.id,t),i=new I(_()),o=i.entityToStore(e,r),n=await G(o,t),s=i.storeToEntity(n,e);return s=v(r,s,t),s}async function bt(e,t){let r=Object.assign(Object.assign({},t),{id:e});await $(r)}export{Tt as createProject,bt as deleteProject,Et as editorToProject,ht as updateProject};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{a as Sn}from"./FIE266AU.js";import{B as wn,c as yn,n as vn,w as bn}from"./3RC2WF5B.js";import"./C44EKR3M.js";function vi(e={}){let{disabled:t,portal:n}=e;return t||n?.eueiEnabled===!1?!0:!(!n||bi(n)||wi(n)||Si(n))}function bi(e){return e.eueiEnabled&&e.user&&e.user.orgId===e.id}function wi(e){return e.user&&!e.user.orgId&&e.ipCntryCode==="US"}function Si(e){return!e.user&&e.ipCntryCode==="US"}var _e={storage:{},memory:!0,get(e){let t;try{t=window.localStorage&&window.localStorage.getItem(e)||this.storage[e]}catch{t=this.storage[e]}if(t)try{return JSON.parse(t)}catch{return}else return},set(e,t){let n=JSON.stringify(t);try{window.localStorage.setItem(e,n)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),this.storage[e]=t}},delete(e){try{window.localStorage.removeItem(e)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),delete this.storage[e]}}},xr="esri-telemetry";function Oi(e){return new Promise((t,n)=>{e.onload=t,e.onerror=n,(!Ei(e)||e.body)&&t()})}function xi(e){let{id:t,dataAttribute:n}=e;return!!document.getElementById(t)||!!document.querySelector(`[data-${xr}="${n}"]`)}function Ei(e){let{body:t,src:n,id:r,dataAttribute:i,section:o="body",type:a="text/javascript",async:s=!1,defer:u=!1,onload:f,onerror:h}=e;if(typeof window>"u")throw new Ze("Window is undefined: Cannot add script element.");if(xi(e)){console.log(`script (${r||i}) is already present, skipping`);return}let c=ki({id:r,dataAttribute:i,type:a,async:s,defer:u,body:t,src:n,onload:f,onerror:h});return o==="body"?document.body.appendChild(c):document.head.appendChild(c)}var Ze=class extends Error{};function ki({id:e,dataAttribute:t,type:n,async:r,defer:i,body:o,src:a,onload:s,onerror:u}){let f=document.createElement("script");return e&&(f.id=e),t&&f.setAttribute(`data-${xr}`,t),a&&(f.src=a),o&&(f.innerText=o),f.type=n,f.async=r,f.defer=i,s&&(f.onload=s),u&&(f.onerror=u),f}function Ai(e){return e.map(t=>{let n=[];return["src","id","dataAttribute","type"].forEach(r=>{let i=r;r==="dataAttribute"&&(i="data-esri-telemetry"),t[r]&&n.push(`${i}="${t[r]}"`)}),["async","defer"].forEach(r=>{t[r]&&n.push(`${r}`)}),`<script ${n.join(" ")}>${t.body?t.body:""}<\/script>`}).join("")}var Ii=["esri.com","esriuk.com","esri.de","esri.ca","esrifrance.fr","esri.nl","esri-portugal.pt","esribulgaria.com","esri.fi","esri.kr","esrimalaysia.com.my","esri.es","esriaustralia.com.au","esri-southafrica.com","esri.cl","esrichina.com.cn","esri.co","esriturkey.com.tr","geodata.no","esriitalia.it","esri.pl"],It=class{constructor(t){var n,r,i;this.trackers=[],this.options=t,this.debug=t.debug,this.suppressDisabledWarnings=t.suppressDisabledWarnings,this.disabled=vi(t),this.logger=t.logger||console,this.disabled&&!this.suppressDisabledWarnings&&this.logger.info("Telemetry Disabled");let o=((n=t.portal)===null||n===void 0?void 0:n.user)||t.user;o&&this.setUser(o,(i=(r=t.portal)===null||r===void 0?void 0:r.subscriptionInfo)===null||i===void 0?void 0:i.type),this.disabled||this.initializeTrackers()}initializeTrackers(){this.options.plugins&&this.trackers.push(...this.options.plugins),this.trackers.length||this.logger.error(new Error("No trackers configured"))}getScriptTags(){return this.trackers.map(t=>t.getScriptTags&&t.getScriptTags()).join("")}async init(){let t=this.trackers.map(n=>n.init());await Promise.all(t)}setUser(t={},n="Public"){t=typeof t=="string"?{username:t}:t,this.user=t,this.user.accountType=n;let r;if(t.email&&t.email.split){let i=t.email.split("@")[1];r=Ii.filter(o=>i===o).length>0}(r||["In House","Demo and Marketing"].indexOf(n)>-1)&&(this.user.internalUser=!0)}logPageView(t,n={},r={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Page view was not logged because telemetry is disabled."),!1;let i=this.trackers.filter(({disabled:s,hasError:u})=>!s&&!u);if(!i.length)return this.logger.warn("Page view was not logged because no enabled telemetry-plugins are registered."),!1;let o=this.preProcess(n,r);this.debug&&this.logger.info("Tracking page view",JSON.stringify(o));let a=i.map(s=>s.logPageView(t,o));return Promise.all(a).then(),!0}logEvent(t,n={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Event was not logged because telemetry is disabled."),!1;let r=this.trackers.filter(({disabled:a,hasError:s})=>!a&&!s);if(!r.length)return this.logger.warn("Event was not logged because no enabled telemetry-plugins are registered."),!1;let i=this.preProcess(t,n);this.debug&&this.logger.info("Tracking event",JSON.stringify(i));let o=r.map(a=>a.logEvent(i));return Promise.all(o).then(),!0}logError(t={}){t=Object.assign({eventType:"error"},t),this.logEvent(t)}startWorkflow(t,n={}){let r={name:t,start:Date.now(),steps:[],workflowId:Math.floor((1+Math.random())*17592186044416).toString(16)};this.saveWorkflow(r);let i=Object.assign({name:t,step:"start"},n);return this.logWorkflow(i),r}stepWorkflow(t,n,r={}){let i=typeof r=="string"?r:r.details,o=Object.assign({name:t,step:n,details:i},r);this.logWorkflow(o)}endWorkflow(t,n={}){let r=Object.assign({name:t,step:"finish"},n);this.logWorkflow(r)}cancelWorkflow(t,n={}){let r=Object.assign({name:t,step:"cancel"},n);this.logWorkflow(r)}getWorkflow(t){let n=_e.get(`TELEMETRY-WORKFLOW:${t}`);if(n){let r=Date.now()-n.start,i=30*60*1e3;if(r<i)return n;this.deleteWorkflow(n)}}saveWorkflow(t){_e.set(`TELEMETRY-WORKFLOW:${t.name}`,t)}deleteWorkflow(t){_e.delete(`TELEMETRY-WORKFLOW:${t.name}`)}logWorkflow(t={}){t=this.preProcess(t);let n=this.getWorkflow(t.name);n||(this.startWorkflow(t.name),n=this.getWorkflow(t.name)),n.steps.push(t.step),n.duration=(Date.now()-n.start)/1e3,["cancel","finish"].indexOf(t.step)>-1?this.deleteWorkflow(n):this.saveWorkflow(n);let r=Object.assign(t,{eventType:"workflow",category:t.name,action:t.step,label:t.details,duration:n.duration,workflowId:n.workflowId});this.logEvent(r)}preProcess(t={},n={}){let r={};return this.user&&(r={user:"unknown",org:"unknown",lastLogin:this.user.lastLogin,userSince:this.user.created,internalUser:this.user.internalUser||!1,accountType:this.user.accountType}),Object.entries(Object.assign(Object.assign({},t),r)).reduce(ji(n.omitComplexData,this.logger),{})}disableTracker(t){var n;let r=this.trackers.find(({name:i})=>i===t);r&&!r.hasError&&(r.disabled=!0,(n=r.disable)===null||n===void 0||n.call(r))}enableTracker(t){var n;let r=this.trackers.find(({name:i})=>i===t);r&&!r.hasError&&(r.disabled=!1,(n=r.enable)===null||n===void 0||n.call(r))}};function ji(e,t){return function(n,[r,i]){return Pi(i)?n[r]=i:e||(t.warn(`You are trying to log a non-primitive value, ${r}:${JSON.stringify(i)}. This will get logged as [object Object]`),n[r]=i),n}}function Pi(e){return["string","number","boolean","undefined"].includes(typeof e)||e&&typeof e.valueOf()=="string"}function nn(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}var jt=class{constructor(t){var n;if(this.name="googleAnalytics",this.dimensions={},this.metrics={},typeof window<"u"&&!(!((n=t?.measurementIds)===null||n===void 0)&&n.length))throw new Error("at least one measurementId needs to be provided in your configuration");Object.assign(this,t)}_getScripts(){return[{dataAttribute:"google-analytics",async:!0,src:`https://www.googletagmanager.com/gtag/js?id=${this.measurementIds?this.measurementIds[0]:""}`}]}getScriptTags(){return Ai(this._getScripts())}async init(){if(typeof window>"u")throw new Ze("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map(t=>Oi(t))),this.injectConfig()}logPageView(t,n={}){let r=this.buildCustomParams(n),i=Object.assign({page_title:t||window.location.pathname},r);return window.gtag("event","page_view",i),!0}logEvent(t){let{action:n}=t,r=nn(t,["action"]),i=n||"other",o=this.buildCustomParams(r);return window.gtag("event",i,o),!0}disable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=!0})}enable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=void 0})}injectConfig(){window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date);let t={custom_map:this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),send_page_view:!1,anonymize_ip:!0};this.measurementIds.forEach(n=>{window.gtag("config",n,t)})}buildCustomParams(t){let n,{category:r,label:i}=t;return n=this.verifyCustomDimensionAndMetrics(t),r&&(n=Object.assign(Object.assign({},n),{event_category:r})),i&&(n=Object.assign(Object.assign({},n),{event_label:i})),n}verifyCustomDimensionAndMetrics(t){let n=this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),r=Object.values(n);return Object.keys(t).filter(i=>r.includes(i)).reduce((i,o)=>Object.assign(i,{[o]:t[o]}),{})}createDimensionsAndMetricsCustomMap(t={},n={}){let r=this.createMetricCustomMap(n),i=this.createDimensionCustomMap(t);return Object.assign(Object.assign({},r),i)}createMetricCustomMap(t={}){return Object.keys(t).map(function(n){return{key:`metric${t[n]}`,value:n}}).filter(n=>n).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}createDimensionCustomMap(t={}){return Object.keys(t).map(function(n){return{key:`dimension${t[n]}`,value:n}}).filter(n=>n).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}},On="TELEMETRY_COGNITO_CREDENTIALS";function Ti(e,t={}){let n=`https://cognito-identity${t.fips===!0?"-fips":""}.us-east-1.amazonaws.com/`,r=_e.get(On);if(r&&Date.now()/1e3<r.Expiration)return Promise.resolve(r);let i={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetId"},body:JSON.stringify({IdentityPoolId:e})};return fetch(n,i).then(o=>{if(!o.ok)throw new Error(o.statusText);return o.json()}).then(o=>{let{IdentityId:a}=o,s={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},body:JSON.stringify({IdentityId:a})};return fetch(n,s)}).then(o=>{if(!o.ok)throw new Error(o.statusText);return o.json()}).then(({Credentials:o})=>(_e.set(On,o),o))}function Er({telemetryData:e,dimensionLookup:t={},excludeKeys:n=[]}){return Object.keys(e).filter(r=>!n.includes(r)).map(r=>t[r]?{key:_i(t,r),value:e[r]}:{key:r,value:Ni(e,r)}).reduce((r,{key:i,value:o})=>(r[i]=o,r),{})}function Ni(e,t){return t==="json"?e[t]?JSON.stringify(e[t]):"null":e[t]===void 0?"null":e[t].toString()}function _i(e,t){return`dimension${e[t]}`}var Ci=["size","duration","position","number","count"];function kr(e,t={}){return Object.keys(e).filter(n=>t[n]||Ci.includes(n)).map(n=>t[n]?{key:Mi(t,n),value:e[n]}:{key:n,value:e[n]}).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}function Mi(e,t){return`metric${e[t]}`}function Di({event:e={},dimensionLookup:t={},metricLookup:n={}}){var r,i;let{pathname:o,eventType:a="other"}=e,s=kr(e,n),u=Er({telemetryData:Object.assign({eventType:a},e),dimensionLookup:t,excludeKeys:["workflow","pathname",...Object.keys(s),...Object.keys(n)]}),f=Object.assign(Object.assign({name:a},u),s);return typeof document<"u"&&document.referrer&&(f.referrer=document.referrer),typeof window<"u"&&!f.hostname&&(f.hostname=(r=window.location)===null||r===void 0?void 0:r.hostname),f.path=typeof window<"u"&&window.location.pathname?(i=window.location)===null||i===void 0?void 0:i.pathname:o,f}function Ui({page:e,previousPage:t={},options:n={},dimensionLookup:r={},metricLookup:i={}}){let o=kr(n,i),a=Er({telemetryData:n,dimensionLookup:r,excludeKeys:["workflow",...Object.keys(o),...Object.keys(i)]}),{referrer:s,title:u}=document||{},{hostname:f,pathname:h}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:s,hostname:f,path:e||h,pageUrl:e||h,pageName:u,previousPageUrl:t.pageUrl,previousPageName:t.pageName},a),o)}function xn(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:i;return e===i?n:e}var Fe="undefined",En="object",Li=function(){},kn="__",et=typeof process<"u"?process:{};et.env&&et.env.NODE_ENV;var $e=typeof document<"u";et.versions!=null&&et.versions.node!=null;typeof Deno<"u"&&Deno.core;$e&&window.name==="nodejs"||typeof navigator<"u"&&navigator.userAgent!==void 0&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function Ar(e,t){return t.charAt(0)[e]()+t.slice(1)}var Ri=Ar.bind(null,"toUpperCase"),zi=Ar.bind(null,"toLowerCase");function Wi(e){return Ir(e)?Ri("null"):typeof e=="object"?Hi(e):Object.prototype.toString.call(e).slice(8,-1)}function tt(e,t){t===void 0&&(t=!0);var n=Wi(e);return t?zi(n):n}function He(e,t){return typeof t===e}var Pt=He.bind(null,"function"),Tt=He.bind(null,"string");He.bind(null,"undefined");He.bind(null,"boolean");He.bind(null,"symbol");function Ir(e){return e===null}function Vi(e){return tt(e)==="number"&&!isNaN(e)}function $i(e){return tt(e)==="array"}function Hi(e){return Pt(e.constructor)?e.constructor.name:null}function Gi(e){return e instanceof Error||Tt(e.message)&&e.constructor&&Vi(e.constructor.stackTraceLimit)}function jr(e,t){if(typeof t!="object"||Ir(t))return!1;if(t instanceof e)return!0;var n=tt(new e(""));if(Gi(t))for(;t;){if(tt(t)===n)return!0;t=Object.getPrototypeOf(t)}return!1}jr.bind(null,TypeError);jr.bind(null,SyntaxError);function at(e,t){var n=e instanceof Element||e instanceof HTMLDocument;return n&&t?Ki(e,t):n}function Ki(e,t){return t===void 0&&(t=""),e&&e.nodeName===t.toUpperCase()}function st(e){var t=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(t))}}st(at,"form");st(at,"button");st(at,"input");st(at,"select");function Fi(e){return e?$i(e)?e:[e]:[]}function An(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function qi(){if($e){var e=navigator,t=e.languages;return e.userLanguage||(t&&t.length?t[0]:e.language)}}function Xi(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}function Bi(e){return function(t){for(var n,r=Object.create(null),i=/([^&=]+)=?([^&]*)/g;n=i.exec(t);){var o=An(n[1]),a=An(n[2]);if(o)if(o.substring(o.length-2)==="[]"){var s=r[o=o.substring(0,o.length-2)]||(r[o]=[]);r[o]=Array.isArray(s)?s:[],r[o].push(a)}else r[o]=a===""||a}for(var u in r){var f=u.split("[");f.length>1&&(Ji(r,f.map(function(h){return h.replace(/[?[\]\\ ]/g,"")}),r[u]),delete r[u])}return r}(function(t){return $e&&window.location.search.substring(1)}())}function Ji(e,t,n){for(var r=t.length-1,i=0;i<r;++i){var o=t[i];if(o==="__proto__"||o==="constructor")break;o in e||(e[o]={}),e=e[o]}e[t[r]]=n}function be(){for(var e="",t=0,n=4294967295*Math.random()|0;t++<36;){var r="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[t-1],i=15&n;e+=r=="-"||r=="4"?r:(r=="x"?i:3&i|8).toString(16),n=t%8==0?4294967295*Math.random()|0:n>>4}return e}var Ce="global",ke=kn+"global"+kn,Ae=typeof self===En&&self.self===self&&self||typeof global===En&&global.global===global&&global||void 0;function ce(e){return Ae[ke][e]}function se(e,t){return Ae[ke][e]=t}function we(e){delete Ae[ke][e]}function le(e,t,n){var r;try{if(ut(e)){var i=window[e];r=i[t].bind(i)}}catch{}return r||n}Ae[ke]||(Ae[ke]={});var qe={};function ut(e){if(typeof qe[e]!==Fe)return qe[e];try{var t=window[e];t.setItem(Fe,Fe),t.removeItem(Fe)}catch{return qe[e]=!1}return qe[e]=!0}var In,ze="__",Nt=typeof process<"u"?process:{};(In=Nt.env)!=null&&In.NODE_ENV;var ue=typeof window<"u";Nt.versions!=null&&Nt.versions.node!=null;typeof Deno<"u"&&Deno.core;ue&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function ct(e,t){return typeof t===e}var ie=ct.bind(null,"function"),Qe=ct.bind(null,"string");ct.bind(null,"undefined");var Yi=ct.bind(null,"boolean");function Qi(e){return Object.prototype.toString.call(e)==="[object Array]"}function Zi(e){return e&&(typeof e=="object"||e!==null)}function te(e){if(!Zi(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function _t(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function eo(e){if(Array.isArray(e))return _t(e)}function to(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Pr(e,t){if(e){if(typeof e=="string")return _t(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _t(e,t)}}function no(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
3
+ v1.0.0-next.20250513.1 */
4
+ import{a as Sn}from"./66TACLFN.js";import{B as wn,c as yn,n as vn,w as bn}from"./NUCM6ABX.js";import"./AZKYXX53.js";function vi(e={}){let{disabled:t,portal:n}=e;return t||n?.eueiEnabled===!1?!0:!(!n||bi(n)||wi(n)||Si(n))}function bi(e){return e.eueiEnabled&&e.user&&e.user.orgId===e.id}function wi(e){return e.user&&!e.user.orgId&&e.ipCntryCode==="US"}function Si(e){return!e.user&&e.ipCntryCode==="US"}var _e={storage:{},memory:!0,get(e){let t;try{t=window.localStorage&&window.localStorage.getItem(e)||this.storage[e]}catch{t=this.storage[e]}if(t)try{return JSON.parse(t)}catch{return}else return},set(e,t){let n=JSON.stringify(t);try{window.localStorage.setItem(e,n)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),this.storage[e]=t}},delete(e){try{window.localStorage.removeItem(e)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),delete this.storage[e]}}},xr="esri-telemetry";function Oi(e){return new Promise((t,n)=>{e.onload=t,e.onerror=n,(!Ei(e)||e.body)&&t()})}function xi(e){let{id:t,dataAttribute:n}=e;return!!document.getElementById(t)||!!document.querySelector(`[data-${xr}="${n}"]`)}function Ei(e){let{body:t,src:n,id:r,dataAttribute:i,section:o="body",type:a="text/javascript",async:s=!1,defer:u=!1,onload:f,onerror:h}=e;if(typeof window>"u")throw new Ze("Window is undefined: Cannot add script element.");if(xi(e)){console.log(`script (${r||i}) is already present, skipping`);return}let c=ki({id:r,dataAttribute:i,type:a,async:s,defer:u,body:t,src:n,onload:f,onerror:h});return o==="body"?document.body.appendChild(c):document.head.appendChild(c)}var Ze=class extends Error{};function ki({id:e,dataAttribute:t,type:n,async:r,defer:i,body:o,src:a,onload:s,onerror:u}){let f=document.createElement("script");return e&&(f.id=e),t&&f.setAttribute(`data-${xr}`,t),a&&(f.src=a),o&&(f.innerText=o),f.type=n,f.async=r,f.defer=i,s&&(f.onload=s),u&&(f.onerror=u),f}function Ai(e){return e.map(t=>{let n=[];return["src","id","dataAttribute","type"].forEach(r=>{let i=r;r==="dataAttribute"&&(i="data-esri-telemetry"),t[r]&&n.push(`${i}="${t[r]}"`)}),["async","defer"].forEach(r=>{t[r]&&n.push(`${r}`)}),`<script ${n.join(" ")}>${t.body?t.body:""}<\/script>`}).join("")}var Ii=["esri.com","esriuk.com","esri.de","esri.ca","esrifrance.fr","esri.nl","esri-portugal.pt","esribulgaria.com","esri.fi","esri.kr","esrimalaysia.com.my","esri.es","esriaustralia.com.au","esri-southafrica.com","esri.cl","esrichina.com.cn","esri.co","esriturkey.com.tr","geodata.no","esriitalia.it","esri.pl"],It=class{constructor(t){var n,r,i;this.trackers=[],this.options=t,this.debug=t.debug,this.suppressDisabledWarnings=t.suppressDisabledWarnings,this.disabled=vi(t),this.logger=t.logger||console,this.disabled&&!this.suppressDisabledWarnings&&this.logger.info("Telemetry Disabled");let o=((n=t.portal)===null||n===void 0?void 0:n.user)||t.user;o&&this.setUser(o,(i=(r=t.portal)===null||r===void 0?void 0:r.subscriptionInfo)===null||i===void 0?void 0:i.type),this.disabled||this.initializeTrackers()}initializeTrackers(){this.options.plugins&&this.trackers.push(...this.options.plugins),this.trackers.length||this.logger.error(new Error("No trackers configured"))}getScriptTags(){return this.trackers.map(t=>t.getScriptTags&&t.getScriptTags()).join("")}async init(){let t=this.trackers.map(n=>n.init());await Promise.all(t)}setUser(t={},n="Public"){t=typeof t=="string"?{username:t}:t,this.user=t,this.user.accountType=n;let r;if(t.email&&t.email.split){let i=t.email.split("@")[1];r=Ii.filter(o=>i===o).length>0}(r||["In House","Demo and Marketing"].indexOf(n)>-1)&&(this.user.internalUser=!0)}logPageView(t,n={},r={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Page view was not logged because telemetry is disabled."),!1;let i=this.trackers.filter(({disabled:s,hasError:u})=>!s&&!u);if(!i.length)return this.logger.warn("Page view was not logged because no enabled telemetry-plugins are registered."),!1;let o=this.preProcess(n,r);this.debug&&this.logger.info("Tracking page view",JSON.stringify(o));let a=i.map(s=>s.logPageView(t,o));return Promise.all(a).then(),!0}logEvent(t,n={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Event was not logged because telemetry is disabled."),!1;let r=this.trackers.filter(({disabled:a,hasError:s})=>!a&&!s);if(!r.length)return this.logger.warn("Event was not logged because no enabled telemetry-plugins are registered."),!1;let i=this.preProcess(t,n);this.debug&&this.logger.info("Tracking event",JSON.stringify(i));let o=r.map(a=>a.logEvent(i));return Promise.all(o).then(),!0}logError(t={}){t=Object.assign({eventType:"error"},t),this.logEvent(t)}startWorkflow(t,n={}){let r={name:t,start:Date.now(),steps:[],workflowId:Math.floor((1+Math.random())*17592186044416).toString(16)};this.saveWorkflow(r);let i=Object.assign({name:t,step:"start"},n);return this.logWorkflow(i),r}stepWorkflow(t,n,r={}){let i=typeof r=="string"?r:r.details,o=Object.assign({name:t,step:n,details:i},r);this.logWorkflow(o)}endWorkflow(t,n={}){let r=Object.assign({name:t,step:"finish"},n);this.logWorkflow(r)}cancelWorkflow(t,n={}){let r=Object.assign({name:t,step:"cancel"},n);this.logWorkflow(r)}getWorkflow(t){let n=_e.get(`TELEMETRY-WORKFLOW:${t}`);if(n){let r=Date.now()-n.start,i=30*60*1e3;if(r<i)return n;this.deleteWorkflow(n)}}saveWorkflow(t){_e.set(`TELEMETRY-WORKFLOW:${t.name}`,t)}deleteWorkflow(t){_e.delete(`TELEMETRY-WORKFLOW:${t.name}`)}logWorkflow(t={}){t=this.preProcess(t);let n=this.getWorkflow(t.name);n||(this.startWorkflow(t.name),n=this.getWorkflow(t.name)),n.steps.push(t.step),n.duration=(Date.now()-n.start)/1e3,["cancel","finish"].indexOf(t.step)>-1?this.deleteWorkflow(n):this.saveWorkflow(n);let r=Object.assign(t,{eventType:"workflow",category:t.name,action:t.step,label:t.details,duration:n.duration,workflowId:n.workflowId});this.logEvent(r)}preProcess(t={},n={}){let r={};return this.user&&(r={user:"unknown",org:"unknown",lastLogin:this.user.lastLogin,userSince:this.user.created,internalUser:this.user.internalUser||!1,accountType:this.user.accountType}),Object.entries(Object.assign(Object.assign({},t),r)).reduce(ji(n.omitComplexData,this.logger),{})}disableTracker(t){var n;let r=this.trackers.find(({name:i})=>i===t);r&&!r.hasError&&(r.disabled=!0,(n=r.disable)===null||n===void 0||n.call(r))}enableTracker(t){var n;let r=this.trackers.find(({name:i})=>i===t);r&&!r.hasError&&(r.disabled=!1,(n=r.enable)===null||n===void 0||n.call(r))}};function ji(e,t){return function(n,[r,i]){return Pi(i)?n[r]=i:e||(t.warn(`You are trying to log a non-primitive value, ${r}:${JSON.stringify(i)}. This will get logged as [object Object]`),n[r]=i),n}}function Pi(e){return["string","number","boolean","undefined"].includes(typeof e)||e&&typeof e.valueOf()=="string"}function nn(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}var jt=class{constructor(t){var n;if(this.name="googleAnalytics",this.dimensions={},this.metrics={},typeof window<"u"&&!(!((n=t?.measurementIds)===null||n===void 0)&&n.length))throw new Error("at least one measurementId needs to be provided in your configuration");Object.assign(this,t)}_getScripts(){return[{dataAttribute:"google-analytics",async:!0,src:`https://www.googletagmanager.com/gtag/js?id=${this.measurementIds?this.measurementIds[0]:""}`}]}getScriptTags(){return Ai(this._getScripts())}async init(){if(typeof window>"u")throw new Ze("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map(t=>Oi(t))),this.injectConfig()}logPageView(t,n={}){let r=this.buildCustomParams(n),i=Object.assign({page_title:t||window.location.pathname},r);return window.gtag("event","page_view",i),!0}logEvent(t){let{action:n}=t,r=nn(t,["action"]),i=n||"other",o=this.buildCustomParams(r);return window.gtag("event",i,o),!0}disable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=!0})}enable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=void 0})}injectConfig(){window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date);let t={custom_map:this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),send_page_view:!1,anonymize_ip:!0};this.measurementIds.forEach(n=>{window.gtag("config",n,t)})}buildCustomParams(t){let n,{category:r,label:i}=t;return n=this.verifyCustomDimensionAndMetrics(t),r&&(n=Object.assign(Object.assign({},n),{event_category:r})),i&&(n=Object.assign(Object.assign({},n),{event_label:i})),n}verifyCustomDimensionAndMetrics(t){let n=this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),r=Object.values(n);return Object.keys(t).filter(i=>r.includes(i)).reduce((i,o)=>Object.assign(i,{[o]:t[o]}),{})}createDimensionsAndMetricsCustomMap(t={},n={}){let r=this.createMetricCustomMap(n),i=this.createDimensionCustomMap(t);return Object.assign(Object.assign({},r),i)}createMetricCustomMap(t={}){return Object.keys(t).map(function(n){return{key:`metric${t[n]}`,value:n}}).filter(n=>n).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}createDimensionCustomMap(t={}){return Object.keys(t).map(function(n){return{key:`dimension${t[n]}`,value:n}}).filter(n=>n).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}},On="TELEMETRY_COGNITO_CREDENTIALS";function Ti(e,t={}){let n=`https://cognito-identity${t.fips===!0?"-fips":""}.us-east-1.amazonaws.com/`,r=_e.get(On);if(r&&Date.now()/1e3<r.Expiration)return Promise.resolve(r);let i={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetId"},body:JSON.stringify({IdentityPoolId:e})};return fetch(n,i).then(o=>{if(!o.ok)throw new Error(o.statusText);return o.json()}).then(o=>{let{IdentityId:a}=o,s={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},body:JSON.stringify({IdentityId:a})};return fetch(n,s)}).then(o=>{if(!o.ok)throw new Error(o.statusText);return o.json()}).then(({Credentials:o})=>(_e.set(On,o),o))}function Er({telemetryData:e,dimensionLookup:t={},excludeKeys:n=[]}){return Object.keys(e).filter(r=>!n.includes(r)).map(r=>t[r]?{key:_i(t,r),value:e[r]}:{key:r,value:Ni(e,r)}).reduce((r,{key:i,value:o})=>(r[i]=o,r),{})}function Ni(e,t){return t==="json"?e[t]?JSON.stringify(e[t]):"null":e[t]===void 0?"null":e[t].toString()}function _i(e,t){return`dimension${e[t]}`}var Ci=["size","duration","position","number","count"];function kr(e,t={}){return Object.keys(e).filter(n=>t[n]||Ci.includes(n)).map(n=>t[n]?{key:Mi(t,n),value:e[n]}:{key:n,value:e[n]}).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}function Mi(e,t){return`metric${e[t]}`}function Di({event:e={},dimensionLookup:t={},metricLookup:n={}}){var r,i;let{pathname:o,eventType:a="other"}=e,s=kr(e,n),u=Er({telemetryData:Object.assign({eventType:a},e),dimensionLookup:t,excludeKeys:["workflow","pathname",...Object.keys(s),...Object.keys(n)]}),f=Object.assign(Object.assign({name:a},u),s);return typeof document<"u"&&document.referrer&&(f.referrer=document.referrer),typeof window<"u"&&!f.hostname&&(f.hostname=(r=window.location)===null||r===void 0?void 0:r.hostname),f.path=typeof window<"u"&&window.location.pathname?(i=window.location)===null||i===void 0?void 0:i.pathname:o,f}function Ui({page:e,previousPage:t={},options:n={},dimensionLookup:r={},metricLookup:i={}}){let o=kr(n,i),a=Er({telemetryData:n,dimensionLookup:r,excludeKeys:["workflow",...Object.keys(o),...Object.keys(i)]}),{referrer:s,title:u}=document||{},{hostname:f,pathname:h}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:s,hostname:f,path:e||h,pageUrl:e||h,pageName:u,previousPageUrl:t.pageUrl,previousPageName:t.pageName},a),o)}function xn(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:i;return e===i?n:e}var Fe="undefined",En="object",Li=function(){},kn="__",et=typeof process<"u"?process:{};et.env&&et.env.NODE_ENV;var $e=typeof document<"u";et.versions!=null&&et.versions.node!=null;typeof Deno<"u"&&Deno.core;$e&&window.name==="nodejs"||typeof navigator<"u"&&navigator.userAgent!==void 0&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function Ar(e,t){return t.charAt(0)[e]()+t.slice(1)}var Ri=Ar.bind(null,"toUpperCase"),zi=Ar.bind(null,"toLowerCase");function Wi(e){return Ir(e)?Ri("null"):typeof e=="object"?Hi(e):Object.prototype.toString.call(e).slice(8,-1)}function tt(e,t){t===void 0&&(t=!0);var n=Wi(e);return t?zi(n):n}function He(e,t){return typeof t===e}var Pt=He.bind(null,"function"),Tt=He.bind(null,"string");He.bind(null,"undefined");He.bind(null,"boolean");He.bind(null,"symbol");function Ir(e){return e===null}function Vi(e){return tt(e)==="number"&&!isNaN(e)}function $i(e){return tt(e)==="array"}function Hi(e){return Pt(e.constructor)?e.constructor.name:null}function Gi(e){return e instanceof Error||Tt(e.message)&&e.constructor&&Vi(e.constructor.stackTraceLimit)}function jr(e,t){if(typeof t!="object"||Ir(t))return!1;if(t instanceof e)return!0;var n=tt(new e(""));if(Gi(t))for(;t;){if(tt(t)===n)return!0;t=Object.getPrototypeOf(t)}return!1}jr.bind(null,TypeError);jr.bind(null,SyntaxError);function at(e,t){var n=e instanceof Element||e instanceof HTMLDocument;return n&&t?Ki(e,t):n}function Ki(e,t){return t===void 0&&(t=""),e&&e.nodeName===t.toUpperCase()}function st(e){var t=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(t))}}st(at,"form");st(at,"button");st(at,"input");st(at,"select");function Fi(e){return e?$i(e)?e:[e]:[]}function An(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function qi(){if($e){var e=navigator,t=e.languages;return e.userLanguage||(t&&t.length?t[0]:e.language)}}function Xi(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}function Bi(e){return function(t){for(var n,r=Object.create(null),i=/([^&=]+)=?([^&]*)/g;n=i.exec(t);){var o=An(n[1]),a=An(n[2]);if(o)if(o.substring(o.length-2)==="[]"){var s=r[o=o.substring(0,o.length-2)]||(r[o]=[]);r[o]=Array.isArray(s)?s:[],r[o].push(a)}else r[o]=a===""||a}for(var u in r){var f=u.split("[");f.length>1&&(Ji(r,f.map(function(h){return h.replace(/[?[\]\\ ]/g,"")}),r[u]),delete r[u])}return r}(function(t){return $e&&window.location.search.substring(1)}())}function Ji(e,t,n){for(var r=t.length-1,i=0;i<r;++i){var o=t[i];if(o==="__proto__"||o==="constructor")break;o in e||(e[o]={}),e=e[o]}e[t[r]]=n}function be(){for(var e="",t=0,n=4294967295*Math.random()|0;t++<36;){var r="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[t-1],i=15&n;e+=r=="-"||r=="4"?r:(r=="x"?i:3&i|8).toString(16),n=t%8==0?4294967295*Math.random()|0:n>>4}return e}var Ce="global",ke=kn+"global"+kn,Ae=typeof self===En&&self.self===self&&self||typeof global===En&&global.global===global&&global||void 0;function ce(e){return Ae[ke][e]}function se(e,t){return Ae[ke][e]=t}function we(e){delete Ae[ke][e]}function le(e,t,n){var r;try{if(ut(e)){var i=window[e];r=i[t].bind(i)}}catch{}return r||n}Ae[ke]||(Ae[ke]={});var qe={};function ut(e){if(typeof qe[e]!==Fe)return qe[e];try{var t=window[e];t.setItem(Fe,Fe),t.removeItem(Fe)}catch{return qe[e]=!1}return qe[e]=!0}var In,ze="__",Nt=typeof process<"u"?process:{};(In=Nt.env)!=null&&In.NODE_ENV;var ue=typeof window<"u";Nt.versions!=null&&Nt.versions.node!=null;typeof Deno<"u"&&Deno.core;ue&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function ct(e,t){return typeof t===e}var ie=ct.bind(null,"function"),Qe=ct.bind(null,"string");ct.bind(null,"undefined");var Yi=ct.bind(null,"boolean");function Qi(e){return Object.prototype.toString.call(e)==="[object Array]"}function Zi(e){return e&&(typeof e=="object"||e!==null)}function te(e){if(!Zi(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function _t(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function eo(e){if(Array.isArray(e))return _t(e)}function to(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Pr(e,t){if(e){if(typeof e=="string")return _t(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _t(e,t)}}function no(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
5
5
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Me(e){return eo(e)||to(e)||Pr(e)||no()}function Y(e){"@babel/helpers - typeof";return Y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Y(e)}function jn(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(f){n(f);return}s.done?t(u):Promise.resolve(u).then(r,i)}function oe(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(u){jn(o,r,i,a,s,"next",u)}function s(u){jn(o,r,i,a,s,"throw",u)}a(void 0)})}}function pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Pn(Object(n),!0).forEach(function(r){pe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pn(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Tr={exports:{}};(function(e){var t=function(n){var r=Object.prototype,i=r.hasOwnProperty,o,a=typeof Symbol=="function"?Symbol:{},s=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function h(g,y,l){return Object.defineProperty(g,y,{value:l,enumerable:!0,configurable:!0,writable:!0}),g[y]}try{h({},"")}catch{h=function(g,y,l){return g[y]=l}}function c(g,y,l,p){var b=y&&y.prototype instanceof x?y:x,k=Object.create(b.prototype),D=new N(p||[]);return k._invoke=W(g,l,D),k}n.wrap=c;function m(g,y,l){try{return{type:"normal",arg:g.call(y,l)}}catch(p){return{type:"throw",arg:p}}}var S="suspendedStart",O="suspendedYield",j="executing",I="completed",d={};function x(){}function _(){}function E(){}var P={};h(P,s,function(){return this});var C=Object.getPrototypeOf,M=C&&C(C(U([])));M&&M!==r&&i.call(M,s)&&(P=M);var z=E.prototype=x.prototype=Object.create(P);_.prototype=E,h(z,"constructor",E),h(E,"constructor",_),_.displayName=h(E,f,"GeneratorFunction");function F(g){["next","throw","return"].forEach(function(y){h(g,y,function(l){return this._invoke(y,l)})})}n.isGeneratorFunction=function(g){var y=typeof g=="function"&&g.constructor;return y?y===_||(y.displayName||y.name)==="GeneratorFunction":!1},n.mark=function(g){return Object.setPrototypeOf?Object.setPrototypeOf(g,E):(g.__proto__=E,h(g,f,"GeneratorFunction")),g.prototype=Object.create(z),g},n.awrap=function(g){return{__await:g}};function H(g,y){function l(k,D,R,V){var $=m(g[k],g,D);if($.type==="throw")V($.arg);else{var K=$.arg,G=K.value;return G&&typeof G=="object"&&i.call(G,"__await")?y.resolve(G.__await).then(function(B){l("next",B,R,V)},function(B){l("throw",B,R,V)}):y.resolve(G).then(function(B){K.value=B,R(K)},function(B){return l("throw",B,R,V)})}}var p;function b(k,D){function R(){return new y(function(V,$){l(k,D,V,$)})}return p=p?p.then(R,R):R()}this._invoke=b}F(H.prototype),h(H.prototype,u,function(){return this}),n.AsyncIterator=H,n.async=function(g,y,l,p,b){b===void 0&&(b=Promise);var k=new H(c(g,y,l,p),b);return n.isGeneratorFunction(y)?k:k.next().then(function(D){return D.done?D.value:k.next()})};function W(g,y,l){var p=S;return function(b,k){if(p===j)throw new Error("Generator is already running");if(p===I){if(b==="throw")throw k;return T()}for(l.method=b,l.arg=k;;){var D=l.delegate;if(D){var R=q(D,l);if(R){if(R===d)continue;return R}}if(l.method==="next")l.sent=l._sent=l.arg;else if(l.method==="throw"){if(p===S)throw p=I,l.arg;l.dispatchException(l.arg)}else l.method==="return"&&l.abrupt("return",l.arg);p=j;var V=m(g,y,l);if(V.type==="normal"){if(p=l.done?I:O,V.arg===d)continue;return{value:V.arg,done:l.done}}else V.type==="throw"&&(p=I,l.method="throw",l.arg=V.arg)}}}function q(g,y){var l=g.iterator[y.method];if(l===o){if(y.delegate=null,y.method==="throw"){if(g.iterator.return&&(y.method="return",y.arg=o,q(g,y),y.method==="throw"))return d;y.method="throw",y.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var p=m(l,g.iterator,y.arg);if(p.type==="throw")return y.method="throw",y.arg=p.arg,y.delegate=null,d;var b=p.arg;if(!b)return y.method="throw",y.arg=new TypeError("iterator result is not an object"),y.delegate=null,d;if(b.done)y[g.resultName]=b.value,y.next=g.nextLoc,y.method!=="return"&&(y.method="next",y.arg=o);else return b;return y.delegate=null,d}F(z),h(z,f,"Generator"),h(z,s,function(){return this}),h(z,"toString",function(){return"[object Generator]"});function w(g){var y={tryLoc:g[0]};1 in g&&(y.catchLoc=g[1]),2 in g&&(y.finallyLoc=g[2],y.afterLoc=g[3]),this.tryEntries.push(y)}function v(g){var y=g.completion||{};y.type="normal",delete y.arg,g.completion=y}function N(g){this.tryEntries=[{tryLoc:"root"}],g.forEach(w,this),this.reset(!0)}n.keys=function(g){var y=[];for(var l in g)y.push(l);return y.reverse(),function p(){for(;y.length;){var b=y.pop();if(b in g)return p.value=b,p.done=!1,p}return p.done=!0,p}};function U(g){if(g){var y=g[s];if(y)return y.call(g);if(typeof g.next=="function")return g;if(!isNaN(g.length)){var l=-1,p=function b(){for(;++l<g.length;)if(i.call(g,l))return b.value=g[l],b.done=!1,b;return b.value=o,b.done=!0,b};return p.next=p}}return{next:T}}n.values=U;function T(){return{value:o,done:!0}}return N.prototype={constructor:N,reset:function(g){if(this.prev=0,this.next=0,this.sent=this._sent=o,this.done=!1,this.delegate=null,this.method="next",this.arg=o,this.tryEntries.forEach(v),!g)for(var y in this)y.charAt(0)==="t"&&i.call(this,y)&&!isNaN(+y.slice(1))&&(this[y]=o)},stop:function(){this.done=!0;var g=this.tryEntries[0],y=g.completion;if(y.type==="throw")throw y.arg;return this.rval},dispatchException:function(g){if(this.done)throw g;var y=this;function l(V,$){return k.type="throw",k.arg=g,y.next=V,$&&(y.method="next",y.arg=o),!!$}for(var p=this.tryEntries.length-1;p>=0;--p){var b=this.tryEntries[p],k=b.completion;if(b.tryLoc==="root")return l("end");if(b.tryLoc<=this.prev){var D=i.call(b,"catchLoc"),R=i.call(b,"finallyLoc");if(D&&R){if(this.prev<b.catchLoc)return l(b.catchLoc,!0);if(this.prev<b.finallyLoc)return l(b.finallyLoc)}else if(D){if(this.prev<b.catchLoc)return l(b.catchLoc,!0)}else if(R){if(this.prev<b.finallyLoc)return l(b.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(g,y){for(var l=this.tryEntries.length-1;l>=0;--l){var p=this.tryEntries[l];if(p.tryLoc<=this.prev&&i.call(p,"finallyLoc")&&this.prev<p.finallyLoc){var b=p;break}}b&&(g==="break"||g==="continue")&&b.tryLoc<=y&&y<=b.finallyLoc&&(b=null);var k=b?b.completion:{};return k.type=g,k.arg=y,b?(this.method="next",this.next=b.finallyLoc,d):this.complete(k)},complete:function(g,y){if(g.type==="throw")throw g.arg;return g.type==="break"||g.type==="continue"?this.next=g.arg:g.type==="return"?(this.rval=this.arg=g.arg,this.method="return",this.next="end"):g.type==="normal"&&y&&(this.next=y),d},finish:function(g){for(var y=this.tryEntries.length-1;y>=0;--y){var l=this.tryEntries[y];if(l.finallyLoc===g)return this.complete(l.completion,l.afterLoc),v(l),d}},catch:function(g){for(var y=this.tryEntries.length-1;y>=0;--y){var l=this.tryEntries[y];if(l.tryLoc===g){var p=l.completion;if(p.type==="throw"){var b=p.arg;v(l)}return b}}throw new Error("illegal catch attempt")},delegateYield:function(g,y,l){return this.delegate={iterator:U(g),resultName:y,nextLoc:l},this.method==="next"&&(this.arg=o),d}},n}(e.exports);try{regeneratorRuntime=t}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}})(Tr);var J=Tr.exports,de="function",ae="undefined",De="reducer",Nr="@@redux/",Ct=Nr+"INIT",ro=Nr+Math.random().toString(36),Tn=function(){return(typeof Symbol>"u"?"undefined":Y(Symbol))===de&&Symbol.observable||"@@observable"}(),Xe=" != "+de;function _r(e,t,n){if(Y(t)===de&&Y(n)===ae&&(n=t,t=void 0),Y(n)!==ae){if(Y(n)!==de)throw new Error("enhancer"+Xe);return n(_r)(e,t)}if(Y(e)!==de)throw new Error(De+Xe);var r=e,i=t,o=[],a=o,s=!1;function u(){a===o&&(a=o.slice())}function f(){return i}function h(O){if(Y(O)!==de)throw new Error("Listener"+Xe);var j=!0;return u(),a.push(O),function(){if(j){j=!1,u();var I=a.indexOf(O);a.splice(I,1)}}}function c(O){if(!te(O))throw new Error("Act != obj");if(Y(O.type)===ae)throw new Error("ActType "+ae);if(s)throw new Error("Dispatch in "+De);try{s=!0,i=r(i,O)}finally{s=!1}for(var j=o=a,I=0;I<j.length;I++){var d=j[I];d()}return O}function m(O){if(Y(O)!==de)throw new Error("next "+De+Xe);r=O,c({type:Ct})}function S(){var O=h;return pe({subscribe:function(j){if(Y(j)!=="object")throw new TypeError("Observer != obj");function I(){j.next&&j.next(f())}I();var d=O(I);return{unsubscribe:d}}},Tn,function(){return this})}return c({type:Ct}),pe({dispatch:c,subscribe:h,getState:f,replaceReducer:m},Tn,S)}function io(e,t){var n=t&&t.type,r=n&&n.toString()||"?";return"action "+r+De+" "+e+" returns "+ae}function oo(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:Ct});if(Y(r)===ae||Y(n(void 0,{type:ro}))===ae)throw new Error(De+" "+t+" "+ae)})}function ao(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];Y(e[i])===de&&(n[i]=e[i])}var o=Object.keys(n),a;try{oo(n)}catch(s){a=s}return function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=arguments.length>1?arguments[1]:void 0;if(a)throw a;for(var f=!1,h={},c=0;c<o.length;c++){var m=o[c],S=n[m],O=s[m],j=S(O,u);if(Y(j)===ae){var I=io(m,u);throw new Error(I)}h[m]=j,f=f||j!==O}return f?h:s}}function Ie(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length===0?function(r){return r}:t.length===1?t[0]:t.reduce(function(r,i){return function(){return r(i.apply(void 0,arguments))}})}function so(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){return function(i,o,a){var s=r(i,o,a),u=s.dispatch,f=[],h={getState:s.getState,dispatch:function(c){return u(c)}};return f=t.map(function(c){return c(h)}),u=Ie.apply(void 0,Me(f))(s.dispatch),A(A({},s),{},{dispatch:u})}}}var he=ze+"anon_id",ye=ze+"user_id",xe=ze+"user_traits",Mt="analytics",fe="userId",Se="anonymousId",uo="https://lytics.dev/errors/",nt=["bootstrap","params","campaign","initializeStart","initialize","initializeEnd","ready","resetStart","reset","resetEnd","pageStart","page","pageEnd","pageAborted","trackStart","track","trackEnd","trackAborted","identifyStart","identify","identifyEnd","identifyAborted","userIdChanged","registerPlugins","enablePlugin","disablePlugin","online","offline","setItemStart","setItem","setItemEnd","setItemAborted","removeItemStart","removeItem","removeItemEnd","removeItemAborted"],Dt=["name","EVENTS","config","loaded"],co={registerPluginType:function(e){return"registerPlugin:".concat(e)},pluginReadyType:function(e){return"ready:".concat(e)}},lo=nt.reduce(function(e,t){return e[t]=t,e},co),L=lo;function fo(e){return nt.includes(e)}var Nn=/^utm_/,_n=/^an_prop_/,Cn=/^an_trait_/;function po(e){var t=e.storage.setItem;return function(n){return function(r){return function(i){if(i.type===L.bootstrap){var o=i.params,a=i.user,s=i.persistedUser,u=i.initialUser,f=s.userId===a.userId;s.anonymousId!==a.anonymousId&&t(he,a.anonymousId),f||t(ye,a.userId),u.traits&&t(xe,A(A({},f&&s.traits?s.traits:{}),u.traits));var h=Object.keys(i.params);if(h.length){var c=o.an_uid,m=o.an_event,S=h.reduce(function(O,j){if(j.match(Nn)||j.match(/^(d|g)clid/)){var I=j.replace(Nn,""),d=I==="campaign"?"name":I;O.campaign[d]=o[j]}return j.match(_n)&&(O.props[j.replace(_n,"")]=o[j]),j.match(Cn)&&(O.traits[j.replace(Cn,"")]=o[j]),O},{campaign:{},props:{},traits:{}});n.dispatch(A(A({type:L.params,raw:o},S),c?{userId:c}:{})),c&&setTimeout(function(){return e.identify(c,S.traits)},0),m&&setTimeout(function(){return e.track(m,S.props)},0),Object.keys(S.campaign).length&&n.dispatch({type:L.campaign,campaign:S.campaign})}}return r(i)}}}}function ho(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(n.type===L.setItemEnd){if(n.key===he)return A(A({},t),{anonymousId:n.value});if(n.key===ye)return A(A({},t),{userId:n.value})}switch(n.type){case L.identify:return Object.assign({},t,{userId:n.userId,traits:A(A({},t.traits),n.traits)});case L.reset:return[ye,he,xe].forEach(function(r){e.removeItem(r)}),Object.assign({},t,{userId:null,anonymousId:null,traits:{}});default:return t}}}function Cr(e){return{userId:e.getItem(ye),anonymousId:e.getItem(he),traits:e.getItem(xe)}}var rn=function(e){return ze+"TEMP"+ze+e};function go(e){return function(t,n,r){var i=n.getState("user")[t];if(i)return i;if(r&&te(r)&&r[t])return r[t];var o=Cr(e)[t];return o||ce(rn(t))||null}}function mo(e){var t=e.storage,n=t.setItem,r=t.removeItem,i=t.getItem;return function(o){return function(a){return function(s){var u=s.userId,f=s.traits,h=s.options;if(s.type===L.reset&&([ye,xe,he].forEach(function(S){r(S)}),[fe,Se,"traits"].forEach(function(S){we(rn(S))})),s.type===L.identify){i(he)||n(he,be());var c=i(ye),m=i(xe)||{};c&&c!==u&&o.dispatch({type:L.userIdChanged,old:{userId:c,traits:m},new:{userId:u,traits:f},options:h}),u&&n(ye,u),f&&n(xe,A(A({},m),f))}return a(s)}}}}var Ne={};function Mr(e,t){Ne[e]&&ie(Ne[e])&&(Ne[e](t),delete Ne[e])}function Dr(e,t,n){return new Promise(function(r,i){return t()?r(e):n<1?i(A(A({},e),{},{queue:!0})):yo(10).then(function(o){return Dr(e,t,n-10).then(r,i)})})}function yo(e){return new Promise(function(t){return setTimeout(t,e)})}function Ur(e,t,n){var r=t(),i=e.getState(),o=i.plugins,a=i.context,s=i.queue,u=i.user,f=!a.offline;if(f&&s&&s.actions&&s.actions.length){var h=s.actions.reduce(function(m,S,O){var j=o[S.plugin].loaded;return j?(m.process.push(S),m.processIndex.push(O)):(m.requeue.push(S),m.requeueIndex.push(O)),m},{processIndex:[],process:[],requeue:[],requeueIndex:[]});if(h.processIndex&&h.processIndex.length){h.processIndex.forEach(function(m){var S=s.actions[m],O=S.plugin,j=S.payload.type,I=r[O][j];if(I&&ie(I)){var d=bo(S.payload,u);I({payload:d,config:o[O].config,instance:n});var x="".concat(j,":").concat(O);e.dispatch(A(A({},d),{},{type:x,_:{called:x,from:"queueDrain"}}))}});var c=s.actions.filter(function(m,S){return!~h.processIndex.indexOf(S)});s.actions=c}}}function vo(e,t,n){return setInterval(function(){return Ur(e,t,n)},3e3)}function bo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return[fe,Se].reduce(function(n,r){return e.hasOwnProperty(r)&&t[r]&&t[r]!==e[r]&&(n[r]=t[r]),n},e)}function wo(e){if(Array.isArray(e))return e}function So(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,o=!1,a,s;try{for(n=n.call(e);!(i=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));i=!0);}catch(u){o=!0,s=u}finally{try{!i&&n.return!=null&&n.return()}finally{if(o)throw s}}return r}}function Oo(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
6
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xo(e,t){return wo(e)||So(e,t)||Pr(e,t)||Oo()}function Eo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Object.keys(e).filter(function(r){var i=n.plugins||{};return Yi(i[r])?i[r]:!(i.all===!1||t[r]&&t[r].enabled===!1)}).map(function(r){return e[r]})}var je=/Start$/,Mn=/^bootstrap/,Dn=/^ready/;function ko(e,t,n,r,i){return Ut.apply(this,arguments)}function Ut(){return Ut=oe(J.mark(function e(t,n,r,i,o){var a,s,u,f,h,c,m,S,O,j,I;return J.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(a=ie(n)?n():n,s=t.type,u=s.replace(je,""),!(t._&&t._.called)){d.next=5;break}return d.abrupt("return",t);case 5:return f=r.getState(),h=Eo(a,f.plugins,t.options),s===L.initializeStart&&t.fromEnable&&(h=Object.keys(f.plugins).filter(function(x){var _=f.plugins[x];return t.plugins.includes(x)&&!_.initialized}).map(function(x){return a[x]})),c=h.map(function(x){return x.name}),m=Io(s,h),d.next=12,mt({action:t,data:{exact:m.before,namespaced:m.beforeNS},state:f,allPlugins:a,allMatches:m,instance:r,store:i,EVENTS:o});case 12:if(S=d.sent,!Lr(S,c.length)){d.next=15;break}return d.abrupt("return",S);case 15:if(s!==u){d.next=19;break}O=S,d.next=22;break;case 19:return d.next=21,mt({action:A(A({},S),{},{type:u}),data:{exact:m.during,namespaced:m.duringNS},state:f,allPlugins:a,allMatches:m,instance:r,store:i,EVENTS:o});case 21:O=d.sent;case 22:if(!s.match(je)){d.next=28;break}return j="".concat(u,"End"),d.next=26,mt({action:A(A({},O),{},{type:j}),data:{exact:m.after,namespaced:m.afterNS},state:f,allPlugins:a,allMatches:m,instance:r,store:i,EVENTS:o});case 26:I=d.sent,I.meta&&I.meta.hasCallback&&Mr(I.meta.rid,{payload:I});case 28:return d.abrupt("return",S);case 29:case"end":return d.stop()}},e)})),Ut.apply(this,arguments)}function mt(e){return Lt.apply(this,arguments)}function Lt(){return Lt=oe(J.mark(function e(t){var n,r,i,o,a,s,u,f,h,c,m,S,O,j,I,d,x,_;return J.wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return n=t.data,r=t.action,i=t.instance,o=t.state,a=t.allPlugins,s=t.allMatches,u=t.store,f=t.EVENTS,h=o.plugins,c=o.context,m=r.type,S=m.match(je),O=n.exact.map(function(P){return P.pluginName}),S&&(O=s.during.map(function(P){return P.pluginName})),j=jo(i,O),I=n.exact.reduce(function(P,C){var M=C.pluginName,z=C.methodName,F=!1;return!z.match(/^initialize/)&&!z.match(/^reset/)&&(F=!h[M].loaded),c.offline&&z.match(/^(page|track|identify)/)&&(F=!0),P["".concat(M)]=F,P},{}),E.next=10,n.exact.reduce(function(){var P=oe(J.mark(function C(M,z,F){var H,W,q;return J.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return H=z.pluginName,w.next=3,M;case 3:if(W=w.sent,!(n.namespaced&&n.namespaced[H])){w.next=11;break}return w.next=7,n.namespaced[H].reduce(function(){var v=oe(J.mark(function N(U,T,g){var y,l,p,b;return J.wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return l=function(D,R,V){return function($,K){var G=V||R;return A(A({},D),{},{abort:{reason:$,plugins:K||[R],caller:m,from:G}})}},k.next=3,U;case 3:if(y=k.sent,!(!T.method||!ie(T.method))){k.next=6;break}return k.abrupt("return",y);case 6:return No(T.methodName,T.pluginName),k.next=9,T.method({payload:y,instance:i,abort:l(y,H,T.pluginName),config:Un(T.pluginName,h,a),plugins:h});case 9:return p=k.sent,b=te(p)?p:{},k.abrupt("return",Promise.resolve(A(A({},y),b)));case 12:case"end":return k.stop()}},N)}));return function(N,U,T){return v.apply(this,arguments)}}(),Promise.resolve(r));case 7:q=w.sent,W[H]=q,w.next=12;break;case 11:W[H]=r;case 12:return w.abrupt("return",Promise.resolve(W));case 13:case"end":return w.stop()}},C)}));return function(C,M,z){return P.apply(this,arguments)}}(),Promise.resolve({}));case 10:return d=E.sent,E.next=13,n.exact.reduce(function(){var P=oe(J.mark(function C(M,z,F){var H,W,q,w,v,N,U,T,g,y,l,p,b;return J.wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return H=n.exact.length===F+1,W=z.pluginName,q=a[W],k.next=5,M;case 5:if(w=k.sent,v=d[W]?d[W]:{},S&&(v=w),!vt(v,W)){k.next=11;break}return yt({data:v,method:m,instance:i,pluginName:W,store:u}),k.abrupt("return",Promise.resolve(w));case 11:if(!vt(w,W)){k.next=14;break}return H&&yt({data:w,method:m,instance:i,store:u}),k.abrupt("return",Promise.resolve(w));case 14:if(!(I.hasOwnProperty(W)&&I[W]===!0)){k.next=17;break}return u.dispatch({type:"queue",plugin:W,payload:v,_:{called:"queue",from:"queueMechanism"}}),k.abrupt("return",Promise.resolve(w));case 17:return N=j(d[W],a[W]),k.next=20,q[m]({abort:N.abort,payload:v,instance:i,config:Un(W,h,a),plugins:h});case 20:return U=k.sent,T=te(U)?U:{},g=A(A({},w),T),y=d[W],vt(y,W)?yt({data:y,method:m,instance:i,pluginName:W,store:u}):(l="".concat(m,":").concat(W),p=(l.match(/:/g)||[]).length,p<2&&!m.match(Mn)&&!m.match(Dn)&&(b=S?g:v,i.dispatch(A(A({},b),{},{type:l,_:{called:l,from:"submethod"}})))),k.abrupt("return",Promise.resolve(g));case 26:case"end":return k.stop()}},C)}));return function(C,M,z){return P.apply(this,arguments)}}(),Promise.resolve(r));case 13:if(x=E.sent,!(!m.match(je)&&!m.match(/^registerPlugin/)&&!m.match(Dn)&&!m.match(Mn)&&!m.match(/^params/)&&!m.match(/^userIdChanged/))){E.next=21;break}if(f.plugins.includes(m),!(x._&&x._.originalAction===m)){E.next=18;break}return E.abrupt("return",x);case 18:_=A(A({},x),{_:{originalAction:x.type,called:x.type,from:"engineEnd"}}),Lr(x,n.exact.length)&&!m.match(/End$/)&&(_=A(A({},_),{type:x.type+"Aborted"})),u.dispatch(_);case 21:return E.abrupt("return",x);case 22:case"end":return E.stop()}},e)})),Lt.apply(this,arguments)}function yt(e){var t=e.data,n=e.method;e.instance;var r=e.pluginName,i=e.store,o=r?":"+r:"",a=n+"Aborted"+o;i.dispatch(A(A({},t),{},{type:a,_:{called:a,from:"abort"}}))}function Un(e,t,n){var r=t[e]||n[e];return r&&r.config?r.config:{}}function Ln(e,t){return t.reduce(function(n,r){return r[e]?n.concat({methodName:e,pluginName:r.name,method:r[e]}):n},[])}function Ao(e){return e.replace(je,"")}function Rn(e,t){var n=Ao(e),r=t?":".concat(t):"",i="".concat(e).concat(r),o="".concat(n).concat(r),a="".concat(n,"End").concat(r);return[i,o,a]}function Io(e,t,n){var r=Rn(e),i=r.map(function(o){return Ln(o,t)});return t.reduce(function(o,a){var s=a.name,u=Rn(e,s),f=u.map(function(O){return Ln(O,t)}),h=xo(f,3),c=h[0],m=h[1],S=h[2];return c.length&&(o.beforeNS[s]=c),m.length&&(o.duringNS[s]=m),S.length&&(o.afterNS[s]=S),o},{before:i[0],beforeNS:{},during:i[1],duringNS:{},after:i[2],afterNS:{}})}function vt(e,t){var n=e.abort;return n?n===!0?!0:zn(n,t)||n&&zn(n.plugins,t):!1}function Lr(e,t){var n=e.abort;if(!n)return!1;if(n===!0||Qe(n))return!0;var r=n.plugins;return We(n)&&n.length===t||We(r)&&r.length===t}function We(e){return Array.isArray(e)}function zn(e,t){return!e||!We(e)?!1:e.includes(t)}function jo(e,t){return function(n,r,i){var o=r.config,a=r.name,s="".concat(a,".").concat(n.type);i&&(s=i.event);var u=n.type.match(je)?Po(a,s,t,i,n):To(n,s);return{payload:_o(n),instance:e,config:o||{},abort:u}}}function Po(e,t,n,r,i){return function(o,a){var s=r?r.name:e,u=a&&We(a)?a:n;if(r&&(u=a&&We(a)?a:[e],!u.includes(e)||u.length!==1))throw new Error("Method ".concat(t," can only abort ").concat(e," plugin. ").concat(JSON.stringify(u)," input valid"));return A(A({},i),{},{abort:{reason:o,plugins:u,caller:t,_:s}})}}function To(e,t){return function(){throw new Error(e.type+" action not cancellable. Remove abort in "+t)}}function No(e,t){var n=Wn(e),r=n&&n.name===t;if(r){var i=Wn(n.method),o=i?"or "+i.method:"";throw new Error([t+" plugin is calling method "+e,"Plugins cant call self","Use ".concat(n.method," ").concat(o," in ").concat(t," plugin insteadof ").concat(e)].join(`
7
7
  `))}}function Wn(e){var t=e.match(/(.*):(.*)/);return t?{method:t[1],name:t[2]}:!1}function _o(e){return Object.keys(e).reduce(function(t,n){return n==="type"||(te(e[n])?t[n]=Object.assign({},e[n]):t[n]=e[n]),t},{})}function Co(e,t,n){var r={};return function(i){return function(o){return function(){var a=oe(J.mark(function s(u){var f,h,c,m,S,O,j,I,d,x,_,E;return J.wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(f=u.type,h=u.abort,c=u.plugins,m=u,!h){P.next=4;break}return P.abrupt("return",o(u));case 4:if(f===L.enablePlugin&&i.dispatch({type:L.initializeStart,plugins:c,disabled:[],fromEnable:!0,meta:u.meta}),f===L.disablePlugin&&setTimeout(function(){return Mr(u.meta.rid,{payload:u})},0),f===L.initializeEnd&&(S=t(),O=Object.keys(S),j=O.filter(function(C){return c.includes(C)}).map(function(C){return S[C]}),I=[],d=[],x=u.disabled,_=j.map(function(C){var M=C.loaded,z=C.name;return Dr(C,M,1e4).then(function(F){return r[z]||(i.dispatch({type:L.pluginReadyType(z),name:z,events:Object.keys(C).filter(function(H){return!Dt.includes(H)})}),r[z]=!0),I=I.concat(z),C}).catch(function(F){if(F instanceof Error)throw new Error(F);return d=d.concat(F.name),F})}),Promise.all(_).then(function(C){var M={plugins:I,failed:d,disabled:x};setTimeout(function(){O.length===_.length+x.length&&i.dispatch(A(A({},{type:L.ready}),M))},0)})),f===L.bootstrap){P.next=13;break}return/^ready:([^:]*)$/.test(f)&&setTimeout(function(){return Ur(i,t,e)},0),P.next=11,ko(u,t,e,i,n);case 11:return E=P.sent,P.abrupt("return",o(E));case 13:return P.abrupt("return",o(m));case 14:case"end":return P.stop()}},s)}));return function(s){return a.apply(this,arguments)}}()}}}function Mo(e){return function(t){return function(n){return function(r){var i=r.type,o=r.key,a=r.value,s=r.options;if(i===L.setItem||i===L.removeItem){if(r.abort)return n(r);i===L.setItem?e.setItem(o,a,s):e.removeItem(o,s)}return n(r)}}}}function Do(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function Uo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Lo=Do(function e(){var t=this;Uo(this,e),pe(this,"before",[]),pe(this,"after",[]),pe(this,"addMiddleware",function(n,r){t[r]=t[r].concat(n)}),pe(this,"removeMiddleware",function(n,r){var i=t[r].findIndex(function(o){return o===n});i!==-1&&(t[r]=[].concat(Me(t[r].slice(0,i)),Me(t[r].slice(i+1))))}),pe(this,"dynamicMiddlewares",function(n){return function(r){return function(i){return function(o){var a={getState:r.getState,dispatch:function(u){return r.dispatch(u)}},s=t[n].map(function(u){return u(a)});return Ie.apply(void 0,Me(s))(i)(o)}}}})});function Ro(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r={};if(n.type==="initialize:aborted")return t;if(/^registerPlugin:([^:]*)$/.test(n.type)){var i=Vn(n.type,"registerPlugin"),o=e()[i];if(!o||!i)return t;var a=n.enabled;return r[i]={enabled:a,initialized:a?!o.initialize:!1,loaded:a?!!o.loaded():!1,config:o.config||{}},A(A({},t),r)}if(/^initialize:([^:]*)$/.test(n.type)){var s=Vn(n.type,L.initialize),u=e()[s];return!u||!s?t:(r[s]=A(A({},t[s]),{initialized:!0,loaded:!!u.loaded()}),A(A({},t),r))}if(/^ready:([^:]*)$/.test(n.type))return r[n.name]=A(A({},t[n.name]),{loaded:!0}),A(A({},t),r);switch(n.type){case L.disablePlugin:return A(A({},t),$n(n.plugins,!1,t));case L.enablePlugin:return A(A({},t),$n(n.plugins,!0,t));default:return t}}}function Vn(e,t){return e.substring(t.length+1,e.length)}function $n(e,t,n){return e.reduce(function(r,i){return r[i]=A(A({},n[i]),{enabled:t}),r},n)}function Rr(e){try{return JSON.parse(JSON.stringify(e))}catch{}return e}var zo={last:{},history:[]};function Wo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:zo,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.event,i=t.properties,o=t.options,a=t.meta;switch(n){case L.track:var s=Rr(A(A({event:r,properties:i},Object.keys(o).length&&{options:o}),{},{meta:a}));return A(A({},e),{last:s,history:e.history.concat(s)});default:return e}}var Vo={actions:[]};function $o(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Vo,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.payload;switch(n){case"queue":var i;return r&&r.type&&r.type===L.identify?i=[t].concat(e.actions):i=e.actions.concat(t),A(A({},e),{},{actions:i});case"dequeue":return[];default:return e}}var zr=/#.*$/;function Ho(){if(ue){for(var e=document.getElementsByTagName("link"),t=0,n;n=e[t];t++)if(n.getAttribute("rel")==="canonical")return n.getAttribute("href")}}function Go(e){var t=/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g,n=t.exec(e),r=n&&n[3]?n[3].split("?")[0].replace(zr,""):"";return"/"+r}function Ko(e){var t=Ho();return t?t.match(/\?/)?t:t+e:window.location.href.replace(zr,"")}var Fo=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!ue)return e;var t=document,n=t.title,r=t.referrer,i=window,o=i.location,a=i.innerWidth,s=i.innerHeight,u=o.hash,f=o.search,h=Ko(f),c={title:n,url:h,path:Go(h),hash:u,search:f,width:a,height:s};return r&&r!==""&&(c.referrer=r),A(A({},c),e)},qo={last:{},history:[]};function Xo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:qo,t=arguments.length>1?arguments[1]:void 0,n=t.properties,r=t.options,i=t.meta;switch(t.type){case L.page:var o=Rr(A({properties:n,meta:i},Object.keys(r).length&&{options:r}));return A(A({},e),{last:o,history:e.history.concat(o)});default:return e}}function Bo(){if(!ue)return!1;var e=navigator.appVersion;return~e.indexOf("Win")?"Windows":~e.indexOf("Mac")?"MacOS":~e.indexOf("X11")?"UNIX":~e.indexOf("Linux")?"Linux":"Unknown OS"}var Wr,Vr,$r,Hr;Wr=Bo(),Vr=ue?document.referrer:null,$r=qi(),Hr=Xi();var Hn={initialized:!1,sessionId:be(),app:null,version:null,debug:!1,offline:ue?!navigator.onLine:!1,os:{name:Wr},userAgent:ue?navigator.userAgent:"node",library:{name:Mt,version:"0.10.22"},timezone:Hr,locale:$r,campaign:{},referrer:Vr};function Jo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Hn,t=arguments.length>1?arguments[1]:void 0,n=e.initialized,r=t.type,i=t.campaign;switch(r){case L.campaign:return A(A({},e),{campaign:i});case L.offline:return A(A({},e),{offline:!0});case L.online:return A(A({},e),{offline:!1});default:return n?e:A(A(A({},Hn),e),{initialized:!0})}}var Yo=["plugins","reducers","storage"];function Qo(e){return Object.keys(e).reduce(function(t,n){return Yo.includes(n)||(t[n]=e[n]),t},{})}function Zo(e,t,n){if(ue){var r=window[(n?"add":"remove")+"EventListener"];e.split(" ").forEach(function(i){r(i,t)})}}function ea(){return Promise.resolve(!navigator.onLine)}function ta(e){var t=function(r){return ea().then(e)},n=Zo.bind(null,"online offline",t);return n(!0),function(r){return n(!1)}}function Gr(){return se(Mt,[]),function(e){return function(t,n,r){var i=e(t,n,r),o=i.dispatch,a=function(s){var u=s.action||s;return Ae[ke][Mt].push(u),o(s)};return Object.assign(i,{dispatch:a})}}}function Gn(e){return function(){return Ie(Ie.apply(null,arguments),Gr())}}function bt(e){return e?Qi(e)?e:[e]:[]}function na(e){for(var t=e||Array.prototype.slice.call(arguments),n,r=0;r<t.length;r++)if(ie(t[r])){n=t[r];break}return n}function ra(){return new Date().getTime()}function ia(e,t){return function(n){t&&t(n),e(n)}}function Kn(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=be();return t&&(Ne[r]=ia(t,na(n))),A(A({},e),{},{rid:r,ts:ra()},t?{hasCallback:!0}:{})}function oa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.reducers||{},n=e.initialUser||{},r=(e.plugins||[]).reduce(function(l,p){if(ie(p))return l.middlewares=l.middlewares.concat(p),l;if(p.NAMESPACE&&(p.name=p.NAMESPACE),!p.name)throw new Error(uo+"1");var b=p.EVENTS?Object.keys(p.EVENTS).map(function(K){return p.EVENTS[K]}):[],k=p.enabled!==!1,D=!(p.config&&p.config.enabled===!1);l.pluginEnabled[p.name]=k&&D,delete p.enabled,p.methods&&(l.methods[p.name]=Object.keys(p.methods).reduce(function(K,G){return K[G]=y(p.methods[G]),K},{}),delete p.methods);var R=Object.keys(p),V=R.concat(b),$=new Set(l.events.concat(V));if(l.events=Array.from($),l.pluginsArray=l.pluginsArray.concat(p),l.plugins[p.name])throw new Error(p.name+"AlreadyLoaded");return l.plugins[p.name]=p,l.plugins[p.name].loaded||(l.plugins[p.name].loaded=function(){return!0}),l},{plugins:{},pluginEnabled:{},methods:{},pluginsArray:[],middlewares:[],events:[]}),i=e.storage?e.storage:{getItem:ce,setItem:se,removeItem:we},o=go(i),a=r.plugins,s=r.events.filter(function(l){return!Dt.includes(l)}).sort(),u=new Set(s.concat(nt).filter(function(l){return!Dt.includes(l)})),f=Array.from(u).sort(),h=function(){return a},c=new Lo,m=c.addMiddleware,S=c.removeMiddleware,O=c.dynamicMiddlewares,j=function(){throw new Error("Abort disabled inListener")},I=Bi(),d=Cr(i),x=A(A(A(A({},d),n),I.an_uid?{userId:I.an_uid}:{}),I.an_aid?{anonymousId:I.an_aid}:{});x.anonymousId||(x.anonymousId=be());var _=A({enable:function(l,p){return new Promise(function(b){v.dispatch({type:L.enablePlugin,plugins:bt(l),_:{originalAction:L.enablePlugin}},b,[p])})},disable:function(l,p){return new Promise(function(b){v.dispatch({type:L.disablePlugin,plugins:bt(l),_:{originalAction:L.disablePlugin}},b,[p])})}},r.methods),E={identify:function(){var l=oe(J.mark(function b(k,D,R,V){var $,K,G,B,Ge;return J.wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:return $=Qe(k)?k:null,K=te(k)?k:D,G=R||{},B=E.user(),se(rn(fe),$),Ge=$||K.userId||o(fe,E,K),Ke.abrupt("return",new Promise(function(yi){v.dispatch(A({type:L.identifyStart,userId:Ge,traits:K||{},options:G,anonymousId:B.anonymousId},B.id&&B.id!==$&&{previousId:B.id}),yi,[D,R,V])}));case 7:case"end":return Ke.stop()}},b)}));function p(b,k,D,R){return l.apply(this,arguments)}return p}(),track:function(){var l=oe(J.mark(function b(k,D,R,V){var $,K,G;return J.wrap(function(B){for(;;)switch(B.prev=B.next){case 0:if($=te(k)?k.event:k,!(!$||!Qe($))){B.next=3;break}throw new Error("EventMissing");case 3:return K=te(k)?k:D||{},G=te(R)?R:{},B.abrupt("return",new Promise(function(Ge){v.dispatch({type:L.trackStart,event:$,properties:K,options:G,userId:o(fe,E,D),anonymousId:o(Se,E,D)},Ge,[D,R,V])}));case 6:case"end":return B.stop()}},b)}));function p(b,k,D,R){return l.apply(this,arguments)}return p}(),page:function(){var l=oe(J.mark(function b(k,D,R){var V,$;return J.wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return V=te(k)?k:{},$=te(D)?D:{},K.abrupt("return",new Promise(function(G){v.dispatch({type:L.pageStart,properties:Fo(V),options:$,userId:o(fe,E,V),anonymousId:o(Se,E,V)},G,[k,D,R])}));case 3:case"end":return K.stop()}},b)}));function p(b,k,D){return l.apply(this,arguments)}return p}(),user:function(l){if(l===fe||l==="id")return o(fe,E);if(l===Se||l==="anonId")return o(Se,E);var p=E.getState("user");return l?xn(p,l):p},reset:function(l){return new Promise(function(p){v.dispatch({type:L.resetStart},p,l)})},ready:function(l){return E.on(L.ready,l)},on:function(l,p){if(!l||!ie(p))return!1;if(l===L.bootstrap)throw new Error(".on disabled for "+l);var b=/Start$|Start:/;if(l==="*"){var k=function($){return function(K){return function(G){return G.type.match(b)&&p({payload:G,instance:E,plugins:a}),K(G)}}},D=function($){return function(K){return function(G){return G.type.match(b)||p({payload:G,instance:E,plugins:a}),K(G)}}};return m(k,Be),m(D,Je),function(){S(k,Be),S(D,Je)}}var R=l.match(b)?Be:Je,V=function($){return function(K){return function(G){return G.type===l&&p({payload:G,instance:E,plugins:a,abort:j}),K(G)}}};return m(V,R),function(){return S(V,R)}},once:function(l,p){if(!l||!ie(p))return!1;if(l===L.bootstrap)throw new Error(".once disabled for "+l);var b=E.on(l,function(k){var D=k.payload;p({payload:D,instance:E,plugins:a,abort:j}),b()});return b},getState:function(l){var p=v.getState();return l?xn(p,l):Object.assign({},p)},dispatch:function(l){var p=Qe(l)?{type:l}:l;if(fo(p.type))throw new Error("reserved action "+p.type);var b=l._||{},k=A(A({},p),{},{_:A({originalAction:p.type},b)});v.dispatch(k)},enablePlugin:_.enable,disablePlugin:_.disable,plugins:_,storage:{getItem:i.getItem,setItem:function(l,p,b){v.dispatch({type:L.setItemStart,key:l,value:p,options:b})},removeItem:function(l,p){v.dispatch({type:L.removeItemStart,key:l,options:p})}},setAnonymousId:function(l,p){E.storage.setItem(he,l,p)},events:{all:f,core:nt,plugins:s}},P=function(l){return function(p){return function(b){return b.meta||(b.meta=Kn()),p(b)}}},C=r.middlewares.concat([P,O(Be),Co(E,h,{all:f,plugins:s}),Mo(i),po(E),mo(E),O(Je)]),M={context:Jo,user:ho(i),page:Xo,track:Wo,plugins:Ro(h),queue:$o},z=Ie,F=Ie;if(ue&&e.debug){var H=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;H&&(z=H({trace:!0,traceLimit:25})),F=function(){return arguments.length===0?Gr():te(Y(arguments[0]))?Gn():Gn().apply(null,arguments)}}var W=Qo(e),q=r.pluginsArray.reduce(function(l,p){var b=p.name,k=p.config,D=p.loaded,R=r.pluginEnabled[b];return l[b]={enabled:R,initialized:R?!p.initialize:!1,loaded:!!D(),config:k||{}},l},{}),w={context:W,user:x,plugins:q},v=_r(ao(A(A({},M),t)),w,F(z(so.apply(void 0,Me(C)))));function N(l){return function(p,b,k){var D=Kn(p.meta,b,bt(k)),R=A(A({},p),{meta:D});return l.apply(null,[R])}}v.dispatch=N(v.dispatch);var U=Object.keys(a);v.dispatch({type:L.bootstrap,plugins:U,config:W,params:I,user:x,initialUser:n,persistedUser:d});var T=U.filter(function(l){return r.pluginEnabled[l]}),g=U.filter(function(l){return!r.pluginEnabled[l]});v.dispatch({type:L.registerPlugins,plugins:U,enabled:r.pluginEnabled}),r.pluginsArray.map(function(l,p){var b=l.bootstrap,k=l.config,D=l.name;b&&ie(b)&&b({instance:E,config:k,payload:l}),v.dispatch({type:L.registerPluginType(D),name:D,enabled:r.pluginEnabled[D],plugin:l}),r.pluginsArray.length===p+1&&v.dispatch({type:L.initializeStart,plugins:T,disabled:g})}),ta(function(l){v.dispatch({type:l?L.offline:L.online})}),vo(v,h,E);function y(l){return function(){for(var p=Array.prototype.slice.call(arguments),b=new Array(l.length),k=0;k<p.length;k++)b[k]=p[k];return b[b.length]=E,l.apply({instance:E},b)}}return E}var Be="before",Je="after",Ue="cookie",me=qr(),on=lt,Kr=lt;function Fr(e){return me?lt(e,"",-1):we(e)}function qr(){if(me!==void 0)return me;var e="cookiecookie";try{lt(e,e),me=document.cookie.indexOf(e)!==-1,Fr(e)}catch{me=!1}return me}function lt(e,t,n,r,i,o){if(typeof window<"u"){var a=arguments.length>1;return me===!1&&(a?se(e,t):ce(e)),a?document.cookie=e+"="+encodeURIComponent(t)+(n?"; expires="+new Date(+new Date+1e3*n).toUTCString()+(r?"; path="+r:"")+(i?"; domain="+i:"")+(o?"; secure":""):""):decodeURIComponent((("; "+document.cookie).split("; "+e+"=")[1]||"").split(";")[0])}}var Le="localStorage",aa=ut.bind(null,"localStorage"),an=le("localStorage","getItem",ce),sa=le("localStorage","setItem",se),Xr=le("localStorage","removeItem",we),Re="sessionStorage",ua=ut.bind(null,"sessionStorage");le("sessionStorage","getItem",ce);le("sessionStorage","setItem",se);le("sessionStorage","removeItem",we);var Fn,Br="any",Jr="*",Rt=typeof process<"u"?process:{};(Fn=Rt.env)!=null&&Fn.NODE_ENV;var ca=typeof window<"u";Rt.versions!=null&&Rt.versions.node!=null;typeof Deno<"u"&&Deno.core;ca&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function ft(e,t){return typeof t===e}ft.bind(null,"function");var la=ft.bind(null,"string"),Oe=ft.bind(null,"undefined");ft.bind(null,"boolean");function fa(e){return e&&(typeof e=="object"||e!==null)}function pa(e){if(!fa(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Ee(e){var t=e;try{if((t=JSON.parse(e))==="true")return!0;if(t==="false")return!1;if(pa(t))return t;parseFloat(t)===t&&(t=parseFloat(t))}catch{}if(t!==null&&t!=="")return t}var da=aa(),ha=ua(),ga=qr();function Yr(e,t){if(e){var n=sn(t),r=!fn(n),i=un(n)?Ee(localStorage.getItem(e)):void 0;if(r&&!Oe(i))return i;var o=cn(n)?Ee(on(e)):void 0;if(r&&o)return o;var a=ln(n)?Ee(sessionStorage.getItem(e)):void 0;if(r&&a)return a;var s=ce(e);return r?s:{localStorage:i,sessionStorage:a,cookie:o,global:s}}}function ma(e,t,n){if(e&&!Oe(t)){var r={},i=sn(n),o=JSON.stringify(t),a=!fn(i);return un(i)&&(r[Le]=Ye(Le,t,Ee(localStorage.getItem(e))),localStorage.setItem(e,o),a)?r[Le]:cn(i)&&(r[Ue]=Ye(Ue,t,Ee(on(e))),Kr(e,o),a)?r[Ue]:ln(i)&&(r[Re]=Ye(Re,t,Ee(sessionStorage.getItem(e))),sessionStorage.setItem(e,o),a)?r[Re]:(r[Ce]=Ye(Ce,t,ce(e)),se(e,t),a?r[Ce]:r)}}function ya(e,t){if(e){var n=sn(t),r=Yr(e,Jr),i={};return!Oe(r.localStorage)&&un(n)&&(localStorage.removeItem(e),i[Le]=r.localStorage),!Oe(r.cookie)&&cn(n)&&(Fr(e),i[Ue]=r.cookie),!Oe(r.sessionStorage)&&ln(n)&&(sessionStorage.removeItem(e),i[Re]=r.sessionStorage),!Oe(r.global)&&pt(n,Ce)&&(we(e),i[Ce]=r.global),i}}function sn(e){return e?la(e)?e:e.storage:Br}function un(e){return da&&pt(e,Le)}function cn(e){return ga&&pt(e,Ue)}function ln(e){return ha&&pt(e,Re)}function fn(e){return e===Jr||e==="all"}function pt(e,t){return e===Br||e===t||fn(e)}function Ye(e,t,n){return{location:e,current:t,previous:n}}var va={setItem:ma,getItem:Yr,removeItem:ya};function ba(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Xn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?qn(Object(n),!0).forEach(function(r){ba(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qn(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function wa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t={storage:va};return oa(Xn(Xn({},t),e))}function ne(e){"@babel/helpers - typeof";return ne=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ne(e)}function Sa(e,t){if(ne(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ne(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Oa(e){var t=Sa(e,"string");return ne(t)=="symbol"?t:t+""}function pn(e,t,n){return(t=Oa(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Q(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Bn(Object(n),!0).forEach(function(r){pn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bn(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Qr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Jn={exports:{}},Yn={exports:{}},Qn;function xa(){return Qn||(Qn=1,function(e){function t(n){"@babel/helpers - typeof";return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Yn)),Yn.exports}var Zn;function Ea(){return Zn||(Zn=1,function(e){var t=xa().default;function n(){e.exports=n=function(){return i},e.exports.__esModule=!0,e.exports.default=e.exports;var r,i={},o=Object.prototype,a=o.hasOwnProperty,s=typeof Symbol=="function"?Symbol:{},u=s.iterator||"@@iterator",f=s.asyncIterator||"@@asyncIterator",h=s.toStringTag||"@@toStringTag";function c(w,v,N,U){return Object.defineProperty(w,v,{value:N,enumerable:!U,configurable:!U,writable:!U})}try{c({},"")}catch{c=function(w,v,N){return w[v]=N}}function m(w,v,N,U){var T=v&&v.prototype instanceof j?v:j,g=Object.create(T.prototype);return c(g,"_invoke",function(y,l,p){var b=1;return function(k,D){if(b===3)throw Error("Generator is already running");if(b===4){if(k==="throw")throw D;return{value:r,done:!0}}for(p.method=k,p.arg=D;;){var R=p.delegate;if(R){var V=z(R,p);if(V){if(V===O)continue;return V}}if(p.method==="next")p.sent=p._sent=p.arg;else if(p.method==="throw"){if(b===1)throw b=4,p.arg;p.dispatchException(p.arg)}else p.method==="return"&&p.abrupt("return",p.arg);b=3;var $=S(y,l,p);if($.type==="normal"){if(b=p.done?4:2,$.arg===O)continue;return{value:$.arg,done:p.done}}$.type==="throw"&&(b=4,p.method="throw",p.arg=$.arg)}}}(w,N,new W(U||[])),!0),g}function S(w,v,N){try{return{type:"normal",arg:w.call(v,N)}}catch(U){return{type:"throw",arg:U}}}i.wrap=m;var O={};function j(){}function I(){}function d(){}var x={};c(x,u,function(){return this});var _=Object.getPrototypeOf,E=_&&_(_(q([])));E&&E!==o&&a.call(E,u)&&(x=E);var P=d.prototype=j.prototype=Object.create(x);function C(w){["next","throw","return"].forEach(function(v){c(w,v,function(N){return this._invoke(v,N)})})}function M(w,v){function N(T,g,y,l){var p=S(w[T],w,g);if(p.type!=="throw"){var b=p.arg,k=b.value;return k&&t(k)=="object"&&a.call(k,"__await")?v.resolve(k.__await).then(function(D){N("next",D,y,l)},function(D){N("throw",D,y,l)}):v.resolve(k).then(function(D){b.value=D,y(b)},function(D){return N("throw",D,y,l)})}l(p.arg)}var U;c(this,"_invoke",function(T,g){function y(){return new v(function(l,p){N(T,g,l,p)})}return U=U?U.then(y,y):y()},!0)}function z(w,v){var N=v.method,U=w.i[N];if(U===r)return v.delegate=null,N==="throw"&&w.i.return&&(v.method="return",v.arg=r,z(w,v),v.method==="throw")||N!=="return"&&(v.method="throw",v.arg=new TypeError("The iterator does not provide a '"+N+"' method")),O;var T=S(U,w.i,v.arg);if(T.type==="throw")return v.method="throw",v.arg=T.arg,v.delegate=null,O;var g=T.arg;return g?g.done?(v[w.r]=g.value,v.next=w.n,v.method!=="return"&&(v.method="next",v.arg=r),v.delegate=null,O):g:(v.method="throw",v.arg=new TypeError("iterator result is not an object"),v.delegate=null,O)}function F(w){this.tryEntries.push(w)}function H(w){var v=w[4]||{};v.type="normal",v.arg=r,w[4]=v}function W(w){this.tryEntries=[[-1]],w.forEach(F,this),this.reset(!0)}function q(w){if(w!=null){var v=w[u];if(v)return v.call(w);if(typeof w.next=="function")return w;if(!isNaN(w.length)){var N=-1,U=function T(){for(;++N<w.length;)if(a.call(w,N))return T.value=w[N],T.done=!1,T;return T.value=r,T.done=!0,T};return U.next=U}}throw new TypeError(t(w)+" is not iterable")}return I.prototype=d,c(P,"constructor",d),c(d,"constructor",I),I.displayName=c(d,h,"GeneratorFunction"),i.isGeneratorFunction=function(w){var v=typeof w=="function"&&w.constructor;return!!v&&(v===I||(v.displayName||v.name)==="GeneratorFunction")},i.mark=function(w){return Object.setPrototypeOf?Object.setPrototypeOf(w,d):(w.__proto__=d,c(w,h,"GeneratorFunction")),w.prototype=Object.create(P),w},i.awrap=function(w){return{__await:w}},C(M.prototype),c(M.prototype,f,function(){return this}),i.AsyncIterator=M,i.async=function(w,v,N,U,T){T===void 0&&(T=Promise);var g=new M(m(w,v,N,U),T);return i.isGeneratorFunction(v)?g:g.next().then(function(y){return y.done?y.value:g.next()})},C(P),c(P,h,"Generator"),c(P,u,function(){return this}),c(P,"toString",function(){return"[object Generator]"}),i.keys=function(w){var v=Object(w),N=[];for(var U in v)N.unshift(U);return function T(){for(;N.length;)if((U=N.pop())in v)return T.value=U,T.done=!1,T;return T.done=!0,T}},i.values=q,W.prototype={constructor:W,reset:function(w){if(this.prev=this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(H),!w)for(var v in this)v.charAt(0)==="t"&&a.call(this,v)&&!isNaN(+v.slice(1))&&(this[v]=r)},stop:function(){this.done=!0;var w=this.tryEntries[0][4];if(w.type==="throw")throw w.arg;return this.rval},dispatchException:function(w){if(this.done)throw w;var v=this;function N(b){g.type="throw",g.arg=w,v.next=b}for(var U=v.tryEntries.length-1;U>=0;--U){var T=this.tryEntries[U],g=T[4],y=this.prev,l=T[1],p=T[2];if(T[0]===-1)return N("end"),!1;if(!l&&!p)throw Error("try statement without catch or finally");if(T[0]!=null&&T[0]<=y){if(y<l)return this.method="next",this.arg=r,N(l),!0;if(y<p)return N(p),!1}}},abrupt:function(w,v){for(var N=this.tryEntries.length-1;N>=0;--N){var U=this.tryEntries[N];if(U[0]>-1&&U[0]<=this.prev&&this.prev<U[2]){var T=U;break}}T&&(w==="break"||w==="continue")&&T[0]<=v&&v<=T[2]&&(T=null);var g=T?T[4]:{};return g.type=w,g.arg=v,T?(this.method="next",this.next=T[2],O):this.complete(g)},complete:function(w,v){if(w.type==="throw")throw w.arg;return w.type==="break"||w.type==="continue"?this.next=w.arg:w.type==="return"?(this.rval=this.arg=w.arg,this.method="return",this.next="end"):w.type==="normal"&&v&&(this.next=v),O},finish:function(w){for(var v=this.tryEntries.length-1;v>=0;--v){var N=this.tryEntries[v];if(N[2]===w)return this.complete(N[4],N[3]),H(N),O}},catch:function(w){for(var v=this.tryEntries.length-1;v>=0;--v){var N=this.tryEntries[v];if(N[0]===w){var U=N[4];if(U.type==="throw"){var T=U.arg;H(N)}return T}}throw Error("illegal catch attempt")},delegateYield:function(w,v,N){return this.delegate={i:q(w),r:v,n:N},this.method==="next"&&(this.arg=r),O}},i}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(Jn)),Jn.exports}var wt,er;function ka(){if(er)return wt;er=1;var e=Ea()();wt=e;try{regeneratorRuntime=e}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}return wt}var Aa=ka(),X=Qr(Aa);function tr(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(f){return void n(f)}s.done?t(u):Promise.resolve(u).then(r,i)}function re(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(u){tr(o,r,i,a,s,"next",u)}function s(u){tr(o,r,i,a,s,"throw",u)}a(void 0)})}}var nr=function(){};function Ia(e,t){var n,r,i,o=(t=t||{}).initial||[],a=t.max||1/0,s=t.interval||1e4,u=t.onEmpty||nr,f=t.onPause||nr;function h(m){clearInterval(n);var S=o.splice(0,a);return S.length&&e(S,o),o.length?m?h():c():(i=!1,u(o))}function c(){i=!0,n=setInterval(h,s)}return o.length&&c(),{flush:function(m){h(m)},resume:h,push:function(m){return(r=o.push(m))>=a&&!t.throttle&&h(),i||c(),r},size:function(){return o.length},pause:function(m){m&&h(),clearInterval(n),i=!1,f(o)}}}ut.bind(null,"sessionStorage");var ja=le("sessionStorage","getItem",ce),Pa=le("sessionStorage","setItem",se);le("sessionStorage","removeItem",we);var Zr="__session",rr=["id","createdAt","created"];function zt(e){var t=e?new Date(e):new Date;return[t.toISOString(),t.getTime()]}function ei(){var e=zt(),t=e[0],n=e[1];return{id:be(),created:n,createdAt:t}}var Ta={session:[ja,Pa],page:[ce,se]};function dt(e,t){for(var n=Ta[e],r=n[0],i=n[1],o=ei(),a=!1,s={},u=0;u<rr.length;u++){var f=rr[u],h="__"+e+"__session__"+f,c=r(h);a=t||!c,(t||!t&&!c)&&i(h,o[f]);var m=c&&!t?c:o[f],S=f!=="created"?m:Number(m);s[f]=S}return dn(s,a)}function dn(e,t){var n=Date.now();return e.elapsed=n-e.created,e.expires&&(e.remaining=Math.max(e.expires-n,0),e.isExpired=e.remaining===0),e.isNew=t,e}function Ve(e,t){e===void 0&&(e=30);var n=on(Zr),r=n?JSON.parse(n):rt(e);return t?r:dn(r,!n)}function rt(e,t,n){e===void 0&&(e=30);var r=n?Ve(e,!0):ei(),i=60*e,o=r.created;if(n){var a=zt(),s=a[0],u=a[1];r.modified=u,r.modifiedAt=s,o=u}var f=zt(o+1e3*i),h=f[0];return r.expires=f[1],r.expiresAt=h,r.duration=1e3*i,t&&(r=Object.assign(r,t)),Kr(Zr,JSON.stringify(r),i),dn(r,!n)}var Na=function(e,t){return rt(e,t,!0)},ti=dt.bind(null,"session"),_a=dt.bind(null,"session",!0),hn=dt.bind(null,"page"),ir=dt.bind(null,"page",!0),ve=typeof window<"u";function Ca(e){return typeof e=="string"}function or(e){return typeof e=="boolean"}var St,ar;function Ma(){if(ar)return St;ar=1;var e=function(d){return t(d)&&!n(d)};function t(d){return!!d&&typeof d=="object"}function n(d){var x=Object.prototype.toString.call(d);return x==="[object RegExp]"||x==="[object Date]"||o(d)}var r=typeof Symbol=="function"&&Symbol.for,i=r?Symbol.for("react.element"):60103;function o(d){return d.$$typeof===i}function a(d){return Array.isArray(d)?[]:{}}function s(d,x){return x.clone!==!1&&x.isMergeableObject(d)?j(a(d),d,x):d}function u(d,x,_){return d.concat(x).map(function(E){return s(E,_)})}function f(d,x){if(!x.customMerge)return j;var _=x.customMerge(d);return typeof _=="function"?_:j}function h(d){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(d).filter(function(x){return Object.propertyIsEnumerable.call(d,x)}):[]}function c(d){return Object.keys(d).concat(h(d))}function m(d,x){try{return x in d}catch{return!1}}function S(d,x){return m(d,x)&&!(Object.hasOwnProperty.call(d,x)&&Object.propertyIsEnumerable.call(d,x))}function O(d,x,_){var E={};return _.isMergeableObject(d)&&c(d).forEach(function(P){E[P]=s(d[P],_)}),c(x).forEach(function(P){S(d,P)||(m(d,P)&&_.isMergeableObject(x[P])?E[P]=f(P,_)(d[P],x[P],_):E[P]=s(x[P],_))}),E}function j(d,x,_){_=_||{},_.arrayMerge=_.arrayMerge||u,_.isMergeableObject=_.isMergeableObject||e,_.cloneUnlessOtherwiseSpecified=s;var E=Array.isArray(x),P=Array.isArray(d),C=E===P;return C?E?_.arrayMerge(d,x,_):O(d,x,_):s(x,_)}j.all=function(d,x){if(!Array.isArray(d))throw new Error("first argument should be an array");return d.reduce(function(_,E){return j(_,E,x)},{})};var I=j;return St=I,St}var Da=Ma(),Ua=Qr(Da);var Wt=new TextEncoder,La={appstream2:"appstream",cloudhsmv2:"cloudhsm",email:"ses",marketplace:"aws-marketplace",mobile:"AWSMobileHubService",pinpoint:"mobiletargeting",queue:"sqs","git-codecommit":"codecommit","mturk-requester-sandbox":"mturk-requester","personalize-runtime":"personalize"},Ra=new Set(["authorization","content-type","content-length","user-agent","presigned-expires","expect","x-amzn-trace-id","range","connection"]),Vt=class{constructor({accessKeyId:t,secretAccessKey:n,sessionToken:r,service:i,region:o,cache:a,retries:s,initRetryMs:u}){if(t==null)throw new TypeError("accessKeyId is a required option");if(n==null)throw new TypeError("secretAccessKey is a required option");this.accessKeyId=t,this.secretAccessKey=n,this.sessionToken=r,this.service=i,this.region=o,this.cache=a||new Map,this.retries=s??10,this.initRetryMs=u||50}async sign(t,n){if(t instanceof Request){let{method:o,url:a,headers:s,body:u}=t;n=Object.assign({method:o,url:a,headers:s},n),n.body==null&&s.has("Content-Type")&&(n.body=u!=null&&s.has("X-Amz-Content-Sha256")?u:await t.clone().arrayBuffer()),t=a}let r=new $t(Object.assign({url:t.toString()},n,this,n&&n.aws)),i=Object.assign({},n,await r.sign());delete i.aws;try{return new Request(i.url.toString(),i)}catch(o){if(o instanceof TypeError)return new Request(i.url.toString(),Object.assign({duplex:"half"},i));throw o}}async fetch(t,n){for(let r=0;r<=this.retries;r++){let i=fetch(await this.sign(t,n));if(r===this.retries)return i;let o=await i;if(o.status<500&&o.status!==429)return o;await new Promise(a=>setTimeout(a,Math.random()*this.initRetryMs*Math.pow(2,r)))}throw new Error("An unknown error occurred, ensure retries is not negative")}},$t=class{constructor({method:t,url:n,headers:r,body:i,accessKeyId:o,secretAccessKey:a,sessionToken:s,service:u,region:f,cache:h,datetime:c,signQuery:m,appendSessionToken:S,allHeaders:O,singleEncode:j}){if(n==null)throw new TypeError("url is a required option");if(o==null)throw new TypeError("accessKeyId is a required option");if(a==null)throw new TypeError("secretAccessKey is a required option");this.method=t||(i?"POST":"GET"),this.url=new URL(n),this.headers=new Headers(r||{}),this.body=i,this.accessKeyId=o,this.secretAccessKey=a,this.sessionToken=s;let I,d;(!u||!f)&&([I,d]=za(this.url,this.headers)),this.service=u||I||"",this.region=f||d||"us-east-1",this.cache=h||new Map,this.datetime=c||new Date().toISOString().replace(/[:-]|\.\d{3}/g,""),this.signQuery=m,this.appendSessionToken=S||this.service==="iotdevicegateway",this.headers.delete("Host"),this.service==="s3"&&!this.signQuery&&!this.headers.has("X-Amz-Content-Sha256")&&this.headers.set("X-Amz-Content-Sha256","UNSIGNED-PAYLOAD");let x=this.signQuery?this.url.searchParams:this.headers;if(x.set("X-Amz-Date",this.datetime),this.sessionToken&&!this.appendSessionToken&&x.set("X-Amz-Security-Token",this.sessionToken),this.signableHeaders=["host",...this.headers.keys()].filter(E=>O||!Ra.has(E)).sort(),this.signedHeaders=this.signableHeaders.join(";"),this.canonicalHeaders=this.signableHeaders.map(E=>E+":"+(E==="host"?this.url.host:(this.headers.get(E)||"").replace(/\s+/g," "))).join(`
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{a as r}from"./FIE266AU.js";import{B as n,c as t,d as s,q as i,w as o}from"./3RC2WF5B.js";import"./C44EKR3M.js";var a=t`@layer{/** @license
3
+ v1.0.0-next.20250513.1 */
4
+ import{a as r}from"./66TACLFN.js";import{B as n,c as t,d as s,q as i,w as o}from"./NUCM6ABX.js";import"./AZKYXX53.js";var a=t`@layer{/** @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.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{a as n}from"./T4UFIWDF.js";var c=["content","initiative","initiativeTemplate","page","project","site","survey","template"],p=[...c,"discussion","event","group","org","organization","user","channel"];var s=e=>p.includes(e);var u=(e,T,o)=>{let i="/",r=n({type:e});if(s(r)){let t=r;t!=="content"&&(t=`${t}s`),i=`/workspace/${t}/${T}`,o&&(i+=`/${o}`)}return i};export{u as a};
3
+ v1.0.0-next.20250513.1 */
4
+ import{a as n}from"./THV6PWO2.js";var c=["content","initiative","initiativeTemplate","page","project","site","survey","template"],p=[...c,"discussion","event","group","org","organization","user","channel"];var s=e=>p.includes(e);var u=(e,T,o)=>{let i="/",r=n({type:e});if(s(r)){let t=r;t!=="content"&&(t=`${t}s`),i=`/workspace/${t}/${T}`,o&&(i+=`/${o}`)}return i};export{u 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.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
3
+ v1.0.0-next.20250513.1 */
4
4
  function L(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(r);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(r,n[o])&&(t[n[o]]=r[n[o]]);return t}function C(r){return Object.keys(r).some(e=>{let t=r[e];if(!t)return!1;switch(t&&t.toParam&&(t=t.toParam()),t.constructor.name){case"Array":return!1;case"Object":return!1;case"Date":return!1;case"Function":return!1;case"Boolean":return!1;case"String":return!1;case"Number":return!1;default:return!0}})}function N(r){let e={};return Object.keys(r).forEach(t=>{var n,o;let s=r[t];if(s&&s.toParam&&(s=s.toParam()),!s&&s!==0&&typeof s!="boolean"&&typeof s!="string")return;let i=s.constructor.name,a;switch(i){case"Array":let u=(o=(n=s[0])===null||n===void 0?void 0:n.constructor)===null||o===void 0?void 0:o.name;a=u==="Array"?s:u==="Object"?JSON.stringify(s):s.join(",");break;case"Object":a=JSON.stringify(s);break;case"Date":a=s.valueOf();break;case"Function":a=null;break;case"Boolean":a=s+"";break;default:a=s;break}(a||a===0||typeof a=="string"||Array.isArray(a))&&(e[t]=a)}),e}function J(r,e){return Array.isArray(e)&&e[0]&&Array.isArray(e[0])?e.map(t=>J(r,t)).join("&"):encodeURIComponent(r)+"="+encodeURIComponent(e)}function O(r){let e=N(r);return Object.keys(e).map(t=>J(t,e[t])).join("&")}var K=globalThis.FormData,de=globalThis.File,me=globalThis.Blob;function W(r,e){let t=C(r)||e,n=N(r);if(t){let o=new K;return Object.keys(n).forEach(s=>{if(typeof Blob<"u"&&n[s]instanceof Blob){let i=n.fileName||n[s].name||s;o.append(s,n[s],i)}else o.append(s,n[s])}),o}else return O(r)}var b=class extends Error{constructor(e,t,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),e=e||"UNKNOWN_ERROR",t=t||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=t==="UNKNOWN_ERROR_CODE"?e:`${t}: ${e}`,this.originalMessage=e,this.code=t,this.response=n,this.url=o,this.options=s}};function V(r){console&&console.warn&&console.warn.apply(console,[r])}function Q(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}var q="@esri/arcgis-rest-js";function ie(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var R=class extends b{constructor(e="AUTHENTICATION_ERROR",t="AUTHENTICATION_ERROR_CODE",n,o,s){super(e,t,n,o,s),this.name="ArcGISAuthError",this.message=t==="AUTHENTICATION_ERROR_CODE"?e:`${t}: ${e}`;let i=new.target.prototype;Object.setPrototypeOf(this,i)}retry(e,t=1){let n=0,o=(s,i)=>{n=n+1,e(this.url,this.options).then(a=>{let u=Object.assign(Object.assign({},this.options),{authentication:a});return X(this.url,u)}).then(a=>{s(a)}).catch(a=>{a.name==="ArcGISAuthError"&&n<t?o(s,i):a.name===this.name&&a.message===this.message&&n>=t?i(this):i(a)})};return new Promise((s,i)=>{o(s,i)})}};function ae(r,e,t,n,o){if(r.code>=400){let{message:s,code:i}=r;throw new b(s,i,r,e,n)}if(r.error){let{message:s,code:i,messageCode:a}=r.error,u=a||i||"UNKNOWN_ERROR_CODE";throw i===498||i===499?o||new R(s,u,r,e,n):new b(s,u,r,e,n)}if(r.status==="failed"||r.status==="failure"){let s,i="UNKNOWN_ERROR_CODE";try{s=JSON.parse(r.statusMessage).message,i=JSON.parse(r.statusMessage).code}catch{s=r.statusMessage||r.message}throw new b(s,i,r,e,n)}return r}function X(r,e){let t=ie(),n=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},t),e),{params:Object.assign(Object.assign({},t.params),e.params),headers:Object.assign(Object.assign({},t.headers),e.headers)}),{httpMethod:o,rawResponse:s}=n,i=Object.assign({f:"json"},n.params),a=null,u={method:o,signal:n.signal,credentials:n.credentials||"same-origin"};n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&r.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let g;if(typeof n.authentication=="string"){let c=n.authentication;g={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(c)},!n.authentication.startsWith("AAPK")&&!n.authentication.startsWith("AATK")&&!n.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(V("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."),globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING=!0)}else g=n.authentication;let d=r;return(g?g.getToken(r).catch(c=>(c.url=r,c.options=n,a=c,Promise.resolve(""))):Promise.resolve("")).then(c=>{c.length&&(i.token=c),g&&g.getDomainCredentials&&(u.credentials=g.getDomainCredentials(r));let h={};if(u.method==="GET"){i.token&&n.hideToken&&typeof window>"u"&&(h["X-Esri-Authorization"]=`Bearer ${i.token}`,delete i.token);let f=O(i)===""?r:r+"?"+O(i);n.maxUrlLength&&f.length>n.maxUrlLength||i.token&&n.hideToken?(u.method="POST",c.length&&n.hideToken&&(i.token=c,delete h["X-Esri-Authorization"])):r=f}let E=new RegExp("/items/.+/updateResources").test(r);return u.method==="POST"&&(u.body=W(i,E)),u.headers=Object.assign(Object.assign({},h),n.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!u.headers.referer&&(u.headers.referer=q),!C(i)&&!E&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(r,u):Q().then(({fetch:l})=>l(r,u))}).then(c=>{if(!c.ok)return c.json().then(h=>{let{status:E,statusText:l}=c,{message:f,details:T}=h.error,w=`${f}. ${T?T.join(" "):""}`.trim();throw new b(w,`HTTP ${E} ${l}`,h,r,n)}).catch(h=>{if(h.name==="ArcGISRequestError")throw h;let{status:E,statusText:l}=c;throw new b(l,`HTTP ${E}`,c,r,n)});if(s)return c;switch(i.f){case"json":return c.json();case"geojson":return c.json();case"html":return c.text();case"text":return c.text();default:return c.blob()}}).then(c=>{if((i.f==="json"||i.f==="geojson")&&!s){let h=ae(c,d,i,n,a);if(a){let E=r.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];n.authentication.federatedServers[E]={token:[],expires:new Date(Date.now()+86400*1e3)},a=null}return h}else return c})}function p(r,e={params:{f:"json"}}){let{request:t}=e,n=L(e,["request"]);return t?t(r,n):X(r,n).catch(o=>o instanceof R&&e.authentication&&typeof e.authentication!="string"&&e.authentication.canRefresh&&e.authentication.refreshCredentials?o.retry(()=>e.authentication.refreshCredentials(),1):Promise.reject(o))}function ce(r){let[e,t]=r.split("=");return{key:decodeURIComponent(e),value:decodeURIComponent(t)}}function Y(r){return!r||r.length<=0?{}:r.replace(/^#/,"").replace(/^\?/,"").split("&").reduce((e,t)=>{let{key:n,value:o}=ce(t);return e[n]=o,e},{})}var B=5*60*1e3;function v(r,e){let t=e;return t.rawResponse=!1,p(r,t).then(n=>{if("token"in n&&"expires"in n)return{token:n.token,username:e.params.username,expires:new Date(n.expires)};let o={token:n.access_token,username:n.username,expires:new Date(Date.now()+n.expires_in*1e3-B),ssl:n.ssl===!0};return n.refresh_token&&(o.refreshToken=n.refresh_token),n.refresh_token_expires_in&&(o.refreshTokenExpires=new Date(Date.now()+n.refresh_token_expires_in*1e3-B)),o})}function m(r){return typeof r!="string"||(r=r.trim(),r[r.length-1]==="/"&&(r=r.slice(0,-1))),r}var F=/^https?:\/\/(\S+)\.arcgis\.com.+/;function Z(r){return F.test(r)}function ue(r){if(!F.test(r))return r;switch(G(r)){case"dev":return"https://devext.arcgis.com/sharing/rest";case"qa":return"https://qaext.arcgis.com/sharing/rest";default:return"https://www.arcgis.com/sharing/rest"}}function G(r){if(!F.test(r))return null;let t=r.match(F)[1].split(".").pop();return t.includes("dev")?"dev":t.includes("qa")?"qa":"production"}function ee(r,e){let t=m(ue(e)).replace(/https?:\/\//,""),n=m(r).replace(/https?:\/\//,"");return new RegExp(n,"i").test(t)}function te(r,e){let t=Z(r),n=Z(e),o=G(r),s=G(e);return!!(t&&n&&o===s)}function re(r,e,t="https://www.arcgis.com/sharing/rest"){let n=`${t}/oauth2/validateAppAccess`;return p(n,{method:"POST",params:{f:"json",client_id:e,token:r}})}function qe(r,e,t){let n=["params","httpMethod","rawResponse","authentication","hideToken","portal","credentials","maxUrlLength","headers","signal","suppressWarnings","request"],o=Object.assign(Object.assign({params:{}},t),r);return o.params=e.reduce((s,i)=>((r[i]||typeof r[i]=="boolean"||typeof r[i]=="number"&&r[i]===0)&&(s[i]=r[i]),s),o.params),n.reduce((s,i)=>(o[i]&&(s[i]=o[i]),s),{})}var x;(function(r){r.TOKEN_REFRESH_FAILED="TOKEN_REFRESH_FAILED",r.GENERATE_TOKEN_FOR_SERVER_FAILED="GENERATE_TOKEN_FOR_SERVER_FAILED",r.REFRESH_TOKEN_EXCHANGE_FAILED="REFRESH_TOKEN_EXCHANGE_FAILED",r.NOT_FEDERATED="NOT_FEDERATED",r.UNKNOWN_ERROR_CODE="UNKNOWN_ERROR_CODE"})(x||(x={}));var y=class extends Error{constructor(e="UNKNOWN_ERROR",t=x.UNKNOWN_ERROR_CODE,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),this.name="ArcGISTokenRequestError",this.message=`${t}: ${e}`,this.originalMessage=e,this.code=t,this.response=n,this.url=o,this.options=s}};var D=class extends Error{constructor(){super("The user has denied your authorization request.");let t=new.target.prototype;Object.setPrototypeOf(this,t),this.name="ArcGISAccessDeniedError"}};var ne;(function(r){r.ArcGISRequestError="ArcGISRequestError",r.ArcGISAuthError="ArcGISAuthError",r.ArcGISAccessDeniedError="ArcGISAccessDeniedError",r.ArcGISTokenRequestError="ArcGISTokenRequestError"})(ne||(ne={}));var A=class{constructor(e){this.portal=e.portal?m(e.portal):"https://www.arcgis.com/sharing/rest",this._username=e.username}get username(){if(this._username)return this._username;if(this._user&&this._user.username)return this._user.username}getUsername(){return this.username?Promise.resolve(this.username):this.getUser().then(e=>e.username)}getUser(e){if(this._pendingUserRequest)return this._pendingUserRequest;if(this._user)return Promise.resolve(this._user);{let t=`${this.portal}/community/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingUserRequest=p(t,n).then(o=>(this._user=o,this._pendingUserRequest=null,o)),this._pendingUserRequest}}clearCachedUserInfo(){this._user=null}};var H;(function(r){r.Success="Succeeded",r.Failed="Failed",r.Waiting="Waiting",r.Cancelled="Cancelled",r.Cancelling="Cancelling",r.New="New",r.Executing="Executing",r.Submitted="Submitted",r.Failure="Failure",r.TimedOut="TimedOut",r.Error="Error",r.Status="Etatus",r.Unknown="Unknown"})(H||(H={}));function oe(r){let e=`${m(r.portal||"https://www.arcgis.com/sharing/rest")}/oauth2/revokeToken/`,t=r.token,n=r.clientId;delete r.portal,delete r.clientId,delete r.token;let o=Object.assign(Object.assign({},r),{httpMethod:"POST",params:{client_id:n,auth_token:t}});return p(e,o).then(s=>{if(!s.success)throw new b("Unable to revoke token",500,s,e,o);return s})}function M(r,e=window){return!e&&window&&(e=window),e.btoa(String.fromCharCode.apply(null,r)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function se(r,e=window){if(!e&&window&&(e=window),r&&e.isSecureContext&&e.crypto&&e.crypto.subtle){let n=new e.TextEncoder().encode(r);return e.crypto.subtle.digest("SHA-256",n).then(o=>M(new Uint8Array(o),e))}return Promise.resolve(null)}function z(r){!r&&window&&(r=window);let e=r.crypto.getRandomValues(new Uint8Array(32));return M(e)}var k=class r extends A{constructor(e){if(super(e),this.clientId=e.clientId,this._refreshToken=e.refreshToken,this._refreshTokenExpires=e.refreshTokenExpires,this.password=e.password,this._token=e.token,this._tokenExpires=e.tokenExpires,this.portal=e.portal?m(e.portal):"https://www.arcgis.com/sharing/rest",this.ssl=e.ssl,this.provider=e.provider||"arcgis",this.tokenDuration=e.tokenDuration||20160,this.redirectUri=e.redirectUri,this.server=e.server,this.referer=e.referer,this.federatedServers={},this.trustedDomains=[],e.server){let t=this.getServerRootUrl(e.server);this.federatedServers[t]={token:e.token,expires:e.tokenExpires}}this._pendingTokenRequests={}}get token(){return this._token}get tokenExpires(){return this._tokenExpires}get refreshToken(){return this._refreshToken}get refreshTokenExpires(){return this._refreshTokenExpires}get canRefresh(){return!!(this.username&&this.password||this.clientId&&this.refreshToken&&this.redirectUri)}static beginOAuth2(e,t){!t&&window&&(t=window);let{portal:n,provider:o,clientId:s,expiration:i,redirectUri:a,popup:u,popupWindowFeatures:g,locale:d,params:c,style:h,pkce:E,state:l}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",provider:"arcgis",expiration:20160,popup:!0,popupWindowFeatures:"height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes",locale:"",style:"",pkce:!0},e),f=l||z(t),T=`ARCGIS_REST_JS_AUTH_STATE_${s}`;t.localStorage.setItem(T,f);let w=`${m(n)}/oauth2/authorize`,I={client_id:s,response_type:E?"code":"token",expiration:i,redirect_uri:a,state:JSON.stringify({id:f,originalUrl:t.location.href}),locale:d,style:h};o!=="arcgis"&&(w=`${m(n)}/oauth2/social/authorize`,I.socialLoginProviderName=o,I.autoAccountCreateForSocial=!0);let $;if(E){let P=z(t),U=`ARCGIS_REST_JS_CODE_VERIFIER_${s}`;t.localStorage.setItem(U,P),$=se(P,t).then(function(_){I.code_challenge_method=_?"S256":"plain",I.code_challenge=_||P})}else $=Promise.resolve();return $.then(()=>{if(w=`${w}?${O(I)}`,c&&(w=`${w}&${O(c)}`),u)return new Promise((P,U)=>{t.addEventListener(`arcgis-rest-js-popup-auth-${s}`,_=>{if(_.detail.error==="access_denied"){let j=new D;return U(j),j}if(_.detail.errorMessage){let j=new R(_.detail.errorMessage,_.detail.error);return U(j),j}P(new r({clientId:s,portal:n,ssl:_.detail.ssl,token:_.detail.token,tokenExpires:_.detail.expires,username:_.detail.username,refreshToken:_.detail.refreshToken,refreshTokenExpires:_.detail.refreshTokenExpires,redirectUri:a}))},{once:!0}),t.open(w,"oauth-window",g),t.dispatchEvent(new CustomEvent("arcgis-rest-js-popup-auth-start"))});t.location.href=w})}static completeOAuth2(e,t){!t&&window&&(t=window);let{portal:n,clientId:o,popup:s,pkce:i,redirectUri:a}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",popup:!0,pkce:!0},e),u=`ARCGIS_REST_JS_AUTH_STATE_${o}`,g=t.localStorage.getItem(u),d=Y(i?t.location.search.replace(/^\?/,""):t.location.hash.replace(/^#/,"")),c=d&&d.state?JSON.parse(d.state):void 0;function h(l,f,T){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:{error:f,errorMessage:l}})),t.close();return}return T&&t.history.replaceState(t.history.state,"",T),f==="access_denied"?Promise.reject(new D):Promise.reject(new R(l,f))}function E(l,f){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:Object.assign({},l)})),t.close();return}return t.history.replaceState(t.history.state,"",f),new r({clientId:o,portal:n,ssl:l.ssl,token:l.token,tokenExpires:l.expires,username:l.username,refreshToken:l.refreshToken,refreshTokenExpires:l.refreshTokenExpires,redirectUri:a||location.href.replace(location.search,"")})}if(!g||!c)return h("No authentication state was found, call `ArcGISIdentityManager.beginOAuth2(...)` to start the authentication process.","no-auth-state");if(c.id!==g)return h("Saved client state did not match server sent state.","mismatched-auth-state");if(d.error){let l=d.error,f=d.error_description||"Unknown error";return h(f,l,c.originalUrl)}if(i&&d.code){let l=m(`${n}/oauth2/token/`),f=`ARCGIS_REST_JS_CODE_VERIFIER_${o}`,T=t.localStorage.getItem(f);return t.localStorage.removeItem(f),v(l,{httpMethod:"POST",params:{client_id:o,code_verifier:T,grant_type:"authorization_code",redirect_uri:a||location.href.replace(location.search,""),code:d.code}}).then(w=>E(Object.assign(Object.assign({},w),c),c.originalUrl)).catch(w=>h(w.originalMessage,w.code,c.originalUrl))}return!i&&d.access_token?Promise.resolve(E(Object.assign({token:d.access_token,expires:new Date(Date.now()+parseInt(d.expires_in,10)*1e3),ssl:d.ssl==="true",username:d.username},c),c.originalUrl)):h("Unknown error","oauth-error",c.originalUrl)}static fromParent(e,t){!t&&window&&(t=window);let n;return new Promise((o,s)=>{n=i=>{if(i.source===t.parent&&i.data)try{return o(r.parentMessageHandler(i))}catch(a){return s(a)}},t.addEventListener("message",n,!1),t.parent.postMessage({type:"arcgis:auth:requestCredential"},e)}).then(o=>(t.removeEventListener("message",n,!1),o))}static authorize(e,t){let{portal:n,clientId:o,expiration:s,redirectUri:i,state:a}=Object.assign({portal:"https://arcgis.com/sharing/rest",expiration:20160},e),u={client_id:o,expiration:s,response_type:"code",redirect_uri:i};a&&(u.state=a);let g=`${n}/oauth2/authorize?${O(u)}`;t.writeHead(301,{Location:g}),t.end()}static exchangeAuthorizationCode(e,t){let{portal:n,clientId:o,redirectUri:s}=Object.assign({portal:"https://www.arcgis.com/sharing/rest"},e);return v(`${n}/oauth2/token`,{params:{grant_type:"authorization_code",client_id:o,redirect_uri:s,code:t}}).then(i=>new r({clientId:o,portal:n,ssl:i.ssl,redirectUri:s,refreshToken:i.refreshToken,refreshTokenExpires:i.refreshTokenExpires,token:i.token,tokenExpires:i.expires,username:i.username})).catch(i=>{throw new y(i.message,x.REFRESH_TOKEN_EXCHANGE_FAILED,i.response,i.url,i.options)})}static deserialize(e){let t=JSON.parse(e);return new r({clientId:t.clientId,refreshToken:t.refreshToken,refreshTokenExpires:t.refreshTokenExpires?new Date(t.refreshTokenExpires):void 0,username:t.username,password:t.password,token:t.token,tokenExpires:t.tokenExpires?new Date(t.tokenExpires):void 0,portal:t.portal,ssl:t.ssl,tokenDuration:t.tokenDuration,redirectUri:t.redirectUri,server:t.server})}static fromCredential(e,t){let n=typeof e.ssl<"u"?e.ssl:!0,o=e.expires||Date.now()+72e5;return t.hasServer?new r({server:e.server,ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)}):new r({portal:m(e.server.includes("sharing/rest")?e.server:e.server+"/sharing/rest"),ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)})}static parentMessageHandler(e){if(e.data.type==="arcgis:auth:credential")return new r(e.data.credential);if(e.data.type==="arcgis:auth:error"){let t=new Error(e.data.error.message);throw t.name=e.data.error.name,t}else throw new Error("Unknown message type.")}static destroy(e){return oe({clientId:e.clientId,portal:e.portal,token:e.refreshToken||e.token})}static fromToken(e){let t=new r(e);return t.getUser().then(()=>t)}static signIn(e){let t=new r(e);return t.getUser().then(()=>t)}toCredential(){return{expires:this.tokenExpires.getTime(),server:this.server||this.portal,ssl:this.ssl,token:this.token,userId:this.username}}getPortal(e){if(this._pendingPortalRequest)return this._pendingPortalRequest;if(this._portalInfo)return Promise.resolve(this._portalInfo);{let t=`${this.portal}/portals/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingPortalRequest=p(t,n).then(o=>(this._portalInfo=o,this._pendingPortalRequest=null,o)),this._pendingPortalRequest}}getToken(e,t){return te(this.portal,e)?this.getFreshToken(t):new RegExp(this.portal,"i").test(e)?this.getFreshToken(t):this.getTokenForServer(e,t)}validateAppAccess(e){return this.getToken(this.portal).then(t=>re(t,e))}toJSON(){return{clientId:this.clientId,refreshToken:this.refreshToken,refreshTokenExpires:this.refreshTokenExpires||void 0,username:this.username,password:this.password,token:this.token,tokenExpires:this.tokenExpires||void 0,portal:this.portal,ssl:this.ssl,tokenDuration:this.tokenDuration,redirectUri:this.redirectUri,server:this.server}}serialize(){return JSON.stringify(this)}enablePostMessageAuth(e,t){!t&&window&&(t=window),this._hostHandler=this.createPostMessageHandler(e),t.addEventListener("message",this._hostHandler,!1)}disablePostMessageAuth(e){!e&&window&&(e=window),e.removeEventListener("message",this._hostHandler,!1)}refreshCredentials(e){return this.clearCachedUserInfo(),this.username&&this.password?this.refreshWithUsernameAndPassword(e):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new y("Unable to refresh token. No refresh token or password present.",x.TOKEN_REFRESH_FAILED))}getServerRootUrl(e){let[t]=m(e).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/),[n,o,s]=t.match(/(https?:\/\/)(.+)/),[i,...a]=s.split("/");return`${o}${i.toLowerCase()}/${a.join("/")}`}getDomainCredentials(e){return!this.trustedDomains||!this.trustedDomains.length?"same-origin":(e=e.toLowerCase(),this.trustedDomains.some(t=>e.startsWith(t.toLowerCase()))?"include":"same-origin")}signOut(){return r.destroy(this)}createPostMessageHandler(e){return t=>{let n=e.indexOf(t.origin)>-1,o=t.data.type==="arcgis:auth:requestCredential",s=this.tokenExpires.getTime()>Date.now();if(n&&o){let i={};s?i={type:"arcgis:auth:credential",credential:this.toCredential()}:i={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Token was expired, and not returned to the child application"}},t.source.postMessage(i,t.origin)}}}getTokenForServer(e,t){let n=this.getServerRootUrl(e),o=this.federatedServers[n];return o&&o.expires&&o.expires.getTime()>Date.now()?Promise.resolve(o.token):this._pendingTokenRequests[n]?this._pendingTokenRequests[n]:(this._pendingTokenRequests[n]=this.fetchAuthorizedDomains().then(()=>p(`${n}/rest/info`,{credentials:this.getDomainCredentials(e)}).then(s=>{if(s.owningSystemUrl){if(ee(s.owningSystemUrl,this.portal))return p(`${s.owningSystemUrl}/sharing/rest/info`,t);throw new y(`${e} is not federated with ${this.portal}.`,x.NOT_FEDERATED)}else{if(s.authInfo&&this.federatedServers[n]!==void 0)return Promise.resolve({authInfo:s.authInfo});throw new y(`${e} is not federated with any portal and is not explicitly trusted.`,x.NOT_FEDERATED)}}).then(s=>this.token&&this.tokenExpires.getTime()<Date.now()?this.server?this.refreshCredentials().then(()=>({token:this.token,expires:this.tokenExpires})):this.refreshCredentials().then(()=>this.generateTokenForServer(s.authInfo.tokenServicesUrl,n)):this.generateTokenForServer(s.authInfo.tokenServicesUrl,n)).then(s=>(this.federatedServers[n]=s,delete this._pendingTokenRequests[n],s.token))),this._pendingTokenRequests[n])}generateTokenForServer(e,t){return p(e,{params:{token:this.token,serverUrl:t,expiration:this.tokenDuration}}).then(n=>({token:n.token,expires:new Date(n.expires-1e3*60*5)})).catch(n=>{throw new y(n.message,x.GENERATE_TOKEN_FOR_SERVER_FAILED,n.response,n.url,n.options)})}getFreshToken(e){return this.token&&!this.tokenExpires?Promise.resolve(this.token):this.token&&this.tokenExpires&&this.tokenExpires.getTime()>Date.now()?Promise.resolve(this.token):(this._pendingTokenRequests[this.portal]||(this._pendingTokenRequests[this.portal]=this.refreshCredentials(e).then(()=>(this._pendingTokenRequests[this.portal]=null,this.token))),this._pendingTokenRequests[this.portal])}refreshWithUsernameAndPassword(e){let t={username:this.username,password:this.password,expiration:this.tokenDuration,client:"referer",referer:this.referer?this.referer:typeof window<"u"&&typeof window.document<"u"&&window.location&&window.location.origin?window.location.origin:q};return(this.server?p(`${this.getServerRootUrl(this.server)}/rest/info`).then(n=>p(n.authInfo.tokenServicesUrl,Object.assign({params:t},e))):p(`${this.portal}/generateToken`,Object.assign({params:t},e))).then(n=>(this.updateToken(n.token,new Date(n.expires)),this)).catch(n=>{throw new y(n.message,x.TOKEN_REFRESH_FAILED,n.response,n.url,n.options)})}refreshWithRefreshToken(e){if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()-864e5<Date.now())return this.exchangeRefreshToken(e);let n=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},e);return v(`${this.portal}/oauth2/token`,n).then(o=>this.updateToken(o.token,o.expires)).catch(o=>{throw new y(o.message,x.TOKEN_REFRESH_FAILED,o.response,o.url,o.options)})}updateToken(e,t){return this._token=e,this._tokenExpires=t,this}exchangeRefreshToken(e){let t=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},e);return v(`${this.portal}/oauth2/token`,t).then(n=>(this._token=n.token,this._tokenExpires=n.expires,this._refreshToken=n.refreshToken,this._refreshTokenExpires=n.refreshTokenExpires,this)).catch(n=>{throw new y(n.message,x.REFRESH_TOKEN_EXCHANGE_FAILED,n.response,n.url,n.options)})}fetchAuthorizedDomains(){return this.server||!this.portal?Promise.resolve(this):this.getPortal().then(e=>(e.authorizedCrossOriginDomains&&e.authorizedCrossOriginDomains.length&&(this.trustedDomains=e.authorizedCrossOriginDomains.filter(t=>!t.startsWith("http://")).map(t=>t.startsWith("https://")?t:`https://${t}`)),this))}};function S(r){return console.log("DEPRECATED:, 'UserSession' is deprecated. Use 'ArcGISIdentityManager' instead."),new k(r)}S.beginOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.beginOAuth2' is deprecated. Use 'ArcGISIdentityManager.beginOAuth2' instead."),k.beginOAuth2(...r)};S.completeOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.completeOAuth2()' is deprecated. Use 'ArcGISIdentityManager.completeOAuth2()' instead."),r.length<=1&&console.warn("WARNING:, 'UserSession.completeOAuth2()' is now async and returns a promise the resolves to an instance of `ArcGISIdentityManager`."),k.completeOAuth2(...r)};S.fromParent=function(...r){return console.warn("DEPRECATED:, 'UserSession.fromParent' is deprecated. Use 'ArcGISIdentityManager.fromParent' instead."),k.fromParent(...r)};S.authorize=function(...r){return console.warn("DEPRECATED:, 'UserSession.authorize' is deprecated. Use 'ArcGISIdentityManager.authorize' instead."),k.authorize(...r)};S.exchangeAuthorizationCode=function(...r){return console.warn("DEPRECATED:, 'UserSession.exchangeAuthorizationCode' is deprecated. Use 'ArcGISIdentityManager.exchangeAuthorizationCode' instead."),k.exchangeAuthorizationCode(...r)};S.fromCredential=function(...r){return console.log("DEPRECATED:, 'UserSession.fromCredential' is deprecated. Use 'ArcGISIdentityManager.fromCredential' instead."),console.warn("WARNING:, 'UserSession.fromCredential' now requires a `ServerInfo` object from the JS API as a second parameter."),k.fromCredential(...r)};S.deserialize=function(...r){return console.log("DEPRECATED:, 'UserSession.deserialize' is deprecated. Use 'ArcGISIdentityManager.deserialize' instead."),k.deserialize(...r)};export{V as a,p as b,qe as c,m as d,k as e};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{a as k}from"./CCHSAYV3.js";import"./2QX2DZO7.js";import{g as s}from"./2HQWNDOT.js";import{a as g,b as m}from"./P55AP2OS.js";import{b as y}from"./U35AQBWJ.js";import{a as w}from"./FIE266AU.js";import{B as p,c,d as l,n as a,q as d,w as n,x as o}from"./3RC2WF5B.js";import"./C44EKR3M.js";var _=c`@layer{/** @license
3
+ v1.0.0-next.20250513.1 */
4
+ import{a as k}from"./H2XZ5TPS.js";import"./MCBLASJ3.js";import{g as s}from"./GD5M2FA3.js";import{a as g,b as m}from"./B6EMT5VV.js";import{b as y}from"./4I2ETJ5R.js";import{a as w}from"./66TACLFN.js";import{B as p,c,d as l,n as a,q as d,w as n,x as o}from"./NUCM6ABX.js";import"./AZKYXX53.js";var _=c`@layer{/** @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.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import"./C44EKR3M.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
3
+ v1.0.0-next.20250513.1 */
4
+ import"./AZKYXX53.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};