@esri/solutions-components 1.2.0-next.60 → 1.2.0-next.62

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 (446) hide show
  1. package/dist/cdn/{CKNI5JQZ.js → 22JVEJ5Q.js} +2 -2
  2. package/dist/cdn/22NCE237.js +4 -0
  3. package/dist/cdn/{6GOVJOEP.js → 22PAFNIS.js} +1 -1
  4. package/dist/cdn/{TBX5YM7Y.js → 236NYJJU.js} +2 -2
  5. package/dist/cdn/23YDHQTC.js +4 -0
  6. package/dist/cdn/253F2A32.js +4 -0
  7. package/dist/cdn/{JBY2LVLC.js → 2GSMLN5P.js} +2 -2
  8. package/dist/cdn/2HJI2XXY.js +99 -0
  9. package/dist/cdn/{GDA44E5L.js → 2PLJEDPA.js} +2 -2
  10. package/dist/cdn/{IJ245FDS.js → 2S7HZF7M.js} +2 -2
  11. package/dist/cdn/{PKVTULHS.js → 32CAHGJ5.js} +2 -2
  12. package/dist/cdn/37ABMKIT.js +4 -0
  13. package/dist/cdn/{DHWSNW5P.js → 3GS5C3NN.js} +2 -2
  14. package/dist/cdn/{N6VW2C5V.js → 3HWVOIZJ.js} +2 -2
  15. package/dist/cdn/{YUD3M45U.js → 3X3W65RV.js} +2 -2
  16. package/dist/cdn/{WQZZSYO5.js → 43XNXLYA.js} +1 -1
  17. package/dist/cdn/45XVYTNF.js +4 -0
  18. package/dist/cdn/{BURTSBUG.js → 4DEQWZVP.js} +2 -2
  19. package/dist/cdn/{UK7HJV5Q.js → 4IVBY5EY.js} +2 -2
  20. package/dist/cdn/{ZP32JPRG.js → 4LZ6CQRP.js} +2 -2
  21. package/dist/cdn/{F2O4WKM6.js → 4MMEN7ON.js} +1 -1
  22. package/dist/cdn/{SHP3U3JY.js → 4UIXAAHB.js} +2 -2
  23. package/dist/cdn/{JQQORYBM.js → 4XIOAYVM.js} +2 -2
  24. package/dist/cdn/{5BILAT4P.js → 4XVPHNUD.js} +2 -2
  25. package/dist/cdn/{W62W3LOA.js → 52LPF2VM.js} +2 -2
  26. package/dist/cdn/{HWMTN5ZA.js → 54CECDRX.js} +3 -3
  27. package/dist/cdn/{RODDEQZP.js → 554VYCGW.js} +2 -2
  28. package/dist/cdn/{EDH5P6Q7.js → 57XJMKLA.js} +2 -2
  29. package/dist/cdn/{MJOCAQYG.js → 5APMCLL6.js} +2 -2
  30. package/dist/cdn/{5UHH33AX.js → 5D5B7JGO.js} +2 -2
  31. package/dist/cdn/{H6QRA25K.js → 5FMIL22Q.js} +2 -2
  32. package/dist/cdn/{CNDUM26C.js → 5KQ5Q26R.js} +2 -2
  33. package/dist/cdn/{DCZYU4L6.js → 5M6DOBGP.js} +2 -2
  34. package/dist/cdn/{7FQXWGOC.js → 5T5TBQ6T.js} +2 -2
  35. package/dist/cdn/{25S4YYPR.js → 5TSB7GTX.js} +1 -1
  36. package/dist/cdn/{2LQ6UZTT.js → 62DGAPEO.js} +2 -2
  37. package/dist/cdn/{54ED5CXQ.js → 62ZCP7VD.js} +2 -2
  38. package/dist/cdn/{T7D3VOZH.js → 63OPMGEP.js} +1 -1
  39. package/dist/cdn/{JHF5JR4C.js → 64QSZHAO.js} +2 -2
  40. package/dist/cdn/{DSMKW3R5.js → 6CU2WRF6.js} +2 -2
  41. package/dist/cdn/{XZQZZC3C.js → 6IIEGCHC.js} +1 -1
  42. package/dist/cdn/{CZ7OZ7WB.js → 6NJA65DE.js} +2 -2
  43. package/dist/cdn/{5TEHU4A3.js → 6PW6R74H.js} +2 -2
  44. package/dist/cdn/{TPC7NEBD.js → 726JATVV.js} +2 -2
  45. package/dist/cdn/7GUJY2LR.js +4 -0
  46. package/dist/cdn/{NJDA4LPT.js → 7IGDME5U.js} +2 -2
  47. package/dist/cdn/{QVQG7XLV.js → 7R442J7P.js} +2 -2
  48. package/dist/cdn/{6FVZXZD6.js → 7RMDHBJB.js} +2 -2
  49. package/dist/cdn/{3UZFYGDX.js → 7Y3KZNR2.js} +2 -2
  50. package/dist/cdn/{YRJBKF6C.js → A24UTMFY.js} +2 -2
  51. package/dist/cdn/{VGEFJTQ7.js → A4UPSJJE.js} +2 -2
  52. package/dist/cdn/{B72I6V6F.js → A6VN4V55.js} +2 -2
  53. package/dist/cdn/{L5QIQ6XB.js → A7DAUWF2.js} +2 -2
  54. package/dist/cdn/{ILEKKEKK.js → ADPIMKQF.js} +2 -2
  55. package/dist/cdn/{2KLTC6O5.js → AGA3QECA.js} +2 -2
  56. package/dist/cdn/{APPQU75R.js → AI4YPMS2.js} +2 -2
  57. package/dist/cdn/{6JWWLPWA.js → AKIG2SOT.js} +2 -2
  58. package/dist/cdn/{CTLSDIIG.js → ALPA4YMT.js} +2 -2
  59. package/dist/cdn/{RJ4NCL2V.js → AMPKI3ZS.js} +2 -2
  60. package/dist/cdn/{NVQ6TXGS.js → APXUHBE6.js} +2 -2
  61. package/dist/cdn/{I5XRY7QD.js → ARVI4H2Q.js} +2 -2
  62. package/dist/cdn/{HEW7XMPJ.js → ASIRLW76.js} +2 -2
  63. package/dist/cdn/AVOVSN7I.js +4 -0
  64. package/dist/cdn/{6KLBYZFM.js → AYBCSY7S.js} +1 -1
  65. package/dist/cdn/{7AH7N5XT.js → B325AODH.js} +2 -2
  66. package/dist/cdn/{YKML7M7J.js → B34U5BOQ.js} +2 -2
  67. package/dist/cdn/{ZCVLEFOZ.js → B5HFPNLU.js} +2 -2
  68. package/dist/cdn/B6AW4EWR.js +4 -0
  69. package/dist/cdn/{TMAKLZXE.js → B7SKJJP3.js} +2 -2
  70. package/dist/cdn/{N3W52TLJ.js → BAMGFCWQ.js} +2 -2
  71. package/dist/cdn/{OSUCA7CY.js → BBVT6UMT.js} +1 -1
  72. package/dist/cdn/{6BYDV3EW.js → BIXSBFWC.js} +2 -2
  73. package/dist/cdn/{C32KHGLO.js → BK4RW3VQ.js} +2 -2
  74. package/dist/cdn/{NOGPPLBH.js → BKAHIMJS.js} +2 -2
  75. package/dist/cdn/{NJN5EPQ4.js → BNJCN3PG.js} +2 -2
  76. package/dist/cdn/{JJ7ZGFCV.js → BZDZ3UJ6.js} +2 -2
  77. package/dist/cdn/{7WO57UW7.js → C5VOK3FJ.js} +2 -2
  78. package/dist/cdn/{A3HBTAZT.js → C6IB2AKM.js} +2 -2
  79. package/dist/cdn/{AHRD7AGX.js → C6JSF4KJ.js} +2 -2
  80. package/dist/cdn/{BMUBVYWB.js → CACE6JPT.js} +2 -2
  81. package/dist/cdn/CGH4Y5QV.js +4 -0
  82. package/dist/cdn/{YCKVHLNK.js → CNVT4KW2.js} +2 -2
  83. package/dist/cdn/{LDWBOY5O.js → CUCGCLEY.js} +2 -2
  84. package/dist/cdn/{NKNXRQAV.js → CUEWTRE6.js} +2 -2
  85. package/dist/cdn/{JJKBP6VP.js → D3FDZ2UO.js} +2 -2
  86. package/dist/cdn/{VAAKEDW6.js → D7AKN3FL.js} +2 -2
  87. package/dist/cdn/{4B45SS3L.js → DADOAOGK.js} +2 -2
  88. package/dist/cdn/{YIXNCAFO.js → DBJEWRVF.js} +2 -2
  89. package/dist/cdn/{BJ7ITM4Z.js → DBQK233J.js} +2 -2
  90. package/dist/cdn/{O5PY3MEI.js → DHGDH6TY.js} +2 -2
  91. package/dist/cdn/{HOZY6EI4.js → DIUGFURH.js} +2 -2
  92. package/dist/cdn/{5O4YCDNG.js → DJQJX7XN.js} +2 -2
  93. package/dist/cdn/{VKEAIQ7W.js → DKENTSZS.js} +2 -2
  94. package/dist/cdn/{U5Y5C2T7.js → DMBX6WDE.js} +2 -2
  95. package/dist/cdn/{KXCASIUR.js → DNQXEBRM.js} +1 -1
  96. package/dist/cdn/{HYKFAUBN.js → DOUCTK4Y.js} +2 -2
  97. package/dist/cdn/{6YX67STC.js → DQ56YCHP.js} +2 -2
  98. package/dist/cdn/{HMCZQXAN.js → DY6XHIHX.js} +2 -2
  99. package/dist/cdn/{7ZR4MPQZ.js → DYTPNPZ6.js} +2 -2
  100. package/dist/cdn/{ZIBWJVYK.js → E4CBAFDM.js} +2 -2
  101. package/dist/cdn/{6N5NPFCF.js → E4GKMLY7.js} +1 -1
  102. package/dist/cdn/{RYTV4M2W.js → E4MHP3D6.js} +2 -2
  103. package/dist/cdn/{VBXJSOCP.js → E5TKEWBV.js} +2 -2
  104. package/dist/cdn/{JUN72POY.js → EAEVZCHH.js} +2 -2
  105. package/dist/cdn/{IKCE3HR4.js → EARAW6MW.js} +2 -2
  106. package/dist/cdn/{DVPHVSDL.js → EGFNOBOA.js} +2 -2
  107. package/dist/cdn/{V5T2QK5Z.js → ERMUBMJN.js} +3 -3
  108. package/dist/cdn/{YHKV4IMA.js → ET3OO6ME.js} +2 -2
  109. package/dist/cdn/{6AE27ENC.js → EVD3PK7T.js} +2 -2
  110. package/dist/cdn/{RF3JRSKX.js → EWAAPXCJ.js} +2 -2
  111. package/dist/cdn/{TZLKWPKE.js → EWXIH5IA.js} +1 -1
  112. package/dist/cdn/{VIHFAHTC.js → EZEU4P7C.js} +2 -2
  113. package/dist/cdn/{OAIWU3G2.js → F3G2SMGH.js} +2 -2
  114. package/dist/cdn/{SADSRCE6.js → F4O75RZP.js} +2 -2
  115. package/dist/cdn/{C5IIHI76.js → F5JAPR6B.js} +2 -2
  116. package/dist/cdn/{UNXHL3PD.js → FNQ2L2DM.js} +2 -2
  117. package/dist/cdn/{NRH5UT5G.js → FP5D2SZA.js} +2 -2
  118. package/dist/cdn/{KQJ5NCH6.js → FPZEMX4B.js} +2 -2
  119. package/dist/cdn/{UYBRDZJB.js → FTRDBT4T.js} +1 -1
  120. package/dist/cdn/{65VZKYXC.js → FZJHK5CF.js} +2 -2
  121. package/dist/cdn/{I2GKR2VA.js → FZLUKWFG.js} +2 -2
  122. package/dist/cdn/{D7E2HKRL.js → G2AIEDH5.js} +2 -2
  123. package/dist/cdn/{4ZUI33B3.js → G2WHRDRB.js} +2 -2
  124. package/dist/cdn/{WE6UE3KJ.js → G5HIPUSK.js} +2 -2
  125. package/dist/cdn/{VLJVPFSV.js → GC4O5APO.js} +2 -2
  126. package/dist/cdn/{NCOWGV7K.js → GEIREK7Z.js} +2 -2
  127. package/dist/cdn/{7MHE37ND.js → GJFCLYAN.js} +2 -2
  128. package/dist/cdn/{TEDF2YLW.js → GKEZI3PT.js} +2 -2
  129. package/dist/cdn/{AOTAJDNP.js → GNV3ZQMC.js} +2 -2
  130. package/dist/cdn/{ZGSIGKHE.js → GQ2XFFMS.js} +2 -2
  131. package/dist/cdn/{AURJV7BW.js → GUNQEMBA.js} +2 -2
  132. package/dist/cdn/{OXWGYPXL.js → GVHW3DLW.js} +2 -2
  133. package/dist/cdn/{K7YP5PDD.js → H2OY3T5X.js} +2 -2
  134. package/dist/cdn/{5KBG56UB.js → H55LL3JW.js} +2 -2
  135. package/dist/cdn/{M4JSPVOB.js → H5CJXI25.js} +2 -2
  136. package/dist/cdn/{FNJ2SV5I.js → HDZR66W4.js} +2 -2
  137. package/dist/cdn/HFAKSY2S.js +4 -0
  138. package/dist/cdn/{VJTZDKH6.js → HGL4EETI.js} +2 -2
  139. package/dist/cdn/{KU7YFFLU.js → HGORRSQH.js} +2 -2
  140. package/dist/cdn/{BTLCSZS6.js → HHTFAIXB.js} +2 -2
  141. package/dist/cdn/{ZEOSRRT3.js → HMRGYX5P.js} +2 -2
  142. package/dist/cdn/{ZMOPA7LL.js → HP5QJTNI.js} +2 -2
  143. package/dist/cdn/{64ZV5SC6.js → HUGBK2U5.js} +2 -2
  144. package/dist/cdn/{JISBULOQ.js → HV67SLIL.js} +2 -2
  145. package/dist/cdn/{55BTIKND.js → HZ6I4XIB.js} +2 -2
  146. package/dist/cdn/{542KFAVB.js → IAYBBBQT.js} +2 -2
  147. package/dist/cdn/{2QT4FWZI.js → IFZPP6SX.js} +2 -2
  148. package/dist/cdn/{WCFSF7A6.js → IHPRKZ6H.js} +2 -2
  149. package/dist/cdn/{QGEJHDKV.js → IHYUEJMC.js} +2 -2
  150. package/dist/cdn/{A6EVVFF5.js → IJQDG7IP.js} +1 -1
  151. package/dist/cdn/{RKIQ5DUF.js → INSM2YOC.js} +1 -1
  152. package/dist/cdn/{NRD46FCK.js → IPK2F5FY.js} +2 -2
  153. package/dist/cdn/{3C7EEW26.js → IULSZB52.js} +2 -2
  154. package/dist/cdn/{2WAKVF6V.js → IWA7DA43.js} +2 -2
  155. package/dist/cdn/{ERJ7WRMG.js → IWCAJBZW.js} +2 -2
  156. package/dist/cdn/{D4HJALUO.js → IXXHXXXL.js} +2 -2
  157. package/dist/cdn/J2GHMMFS.js +4 -0
  158. package/dist/cdn/{I2ZUPDGL.js → J3UFVX3S.js} +2 -2
  159. package/dist/cdn/{X6UQRYBW.js → J63NAMCW.js} +2 -2
  160. package/dist/cdn/{PWZXYVX5.js → JC7RDCAK.js} +1 -1
  161. package/dist/cdn/{K6F7LOXC.js → JFF52LZP.js} +2 -2
  162. package/dist/cdn/{CLGO7JPJ.js → JFSGS5OC.js} +2 -2
  163. package/dist/cdn/{N2EZQGSH.js → JHLUVV4N.js} +2 -2
  164. package/dist/cdn/{E5D2NJVY.js → JIJ63VQQ.js} +2 -2
  165. package/dist/cdn/{PTDYPOBH.js → JIWFE5LY.js} +2 -2
  166. package/dist/cdn/{FTRTGXW7.js → JLLGVKZ3.js} +2 -2
  167. package/dist/cdn/{WYHW2ASX.js → JOKQH5HY.js} +2 -2
  168. package/dist/cdn/{WFPKRTD3.js → JQUL7FKM.js} +2 -2
  169. package/dist/cdn/JRR6TOXN.js +4 -0
  170. package/dist/cdn/{JCODPNFL.js → JVKAKNFS.js} +2 -2
  171. package/dist/cdn/{NIX6S7F4.js → K3AJABNT.js} +2 -2
  172. package/dist/cdn/K4AQW7JU.js +4 -0
  173. package/dist/cdn/{ENLS3ON7.js → K5PP5PS3.js} +2 -2
  174. package/dist/cdn/{MGTGTJF2.js → K5XSI7EQ.js} +2 -2
  175. package/dist/cdn/{5A33WQAT.js → KB4RIKZC.js} +2 -2
  176. package/dist/cdn/{ZKK5CT2Y.js → KD3N253K.js} +2 -2
  177. package/dist/cdn/{L6CDXESS.js → KDYFZUTB.js} +2 -2
  178. package/dist/cdn/{CTCPMABN.js → KG6ZXBS3.js} +2 -2
  179. package/dist/cdn/{CJZPJFAS.js → KK7FYLJQ.js} +2 -2
  180. package/dist/cdn/{AXSGVQ6P.js → KMZFQSAO.js} +2 -2
  181. package/dist/cdn/{H4MLUVTV.js → KTC723NZ.js} +2 -2
  182. package/dist/cdn/{QU5W75PN.js → KX5MJZBS.js} +2 -2
  183. package/dist/cdn/{3X5566EC.js → KXKGISFI.js} +2 -2
  184. package/dist/cdn/{KS2TXTJB.js → KXM4MDPA.js} +1 -1
  185. package/dist/cdn/L3X5KHYY.js +4 -0
  186. package/dist/cdn/{T2GOSVXE.js → L4WWTSVG.js} +1 -1
  187. package/dist/cdn/{3S7MAI7H.js → L6TD54I2.js} +2 -2
  188. package/dist/cdn/{FRISKWYY.js → LEQFLWZJ.js} +2 -2
  189. package/dist/cdn/{4N5CTUVM.js → LF6GOWP7.js} +2 -2
  190. package/dist/cdn/{N3WXY7EJ.js → LFZ3JTH2.js} +2 -2
  191. package/dist/cdn/LYOK3PYB.js +4 -0
  192. package/dist/cdn/{RPRDW34S.js → M3NVL5WO.js} +2 -2
  193. package/dist/cdn/M3S3NPNI.js +4 -0
  194. package/dist/cdn/{4B2V45V5.js → MBZ2CBF3.js} +2 -2
  195. package/dist/cdn/{LHRZ7IBA.js → MCTC2Q7E.js} +4 -4
  196. package/dist/cdn/{CBEROJ4E.js → MGYSZD74.js} +2 -2
  197. package/dist/cdn/{NLVAFEJX.js → MIBMK3NI.js} +2 -2
  198. package/dist/cdn/MJXQ54VH.js +4 -0
  199. package/dist/cdn/{WFIOSSYN.js → MNKJFLXG.js} +2 -2
  200. package/dist/cdn/{EUGPRFL4.js → MPWXNEN5.js} +2 -2
  201. package/dist/cdn/{2EZ2T3HV.js → MR2LK44L.js} +2 -2
  202. package/dist/cdn/{VI6A3Y4V.js → MS5LO6DW.js} +2 -2
  203. package/dist/cdn/{NF7C27BU.js → MUGJVLFI.js} +2 -2
  204. package/dist/cdn/{LUGOSNDF.js → MWZHS3D4.js} +2 -2
  205. package/dist/cdn/{IIWGQLYN.js → MX5P2FVF.js} +2 -2
  206. package/dist/cdn/{N2ZLUG26.js → MXLQXZPF.js} +2 -2
  207. package/dist/cdn/{YPOFETNV.js → N3WZI64X.js} +2 -2
  208. package/dist/cdn/{35CB3CIG.js → N4UDOCET.js} +2 -2
  209. package/dist/cdn/{UTJOHATU.js → N6VBAVNA.js} +2 -2
  210. package/dist/cdn/{S2GLQ7ZY.js → N7B4ODMG.js} +1 -1
  211. package/dist/cdn/{EJK6FW2Z.js → NDRCKJQN.js} +1 -1
  212. package/dist/cdn/{66RDTM4T.js → NGBAJJ6D.js} +2 -2
  213. package/dist/cdn/{ZLSRPXWT.js → NH3EQDO5.js} +1 -1
  214. package/dist/cdn/{GXHJQQCL.js → NHCQYVJM.js} +2 -2
  215. package/dist/cdn/{FYBSJAMQ.js → NLYW2WAM.js} +2 -2
  216. package/dist/cdn/{HFOH5YAJ.js → NO3GNFZC.js} +2 -2
  217. package/dist/cdn/{YVDXF4UB.js → NPJZFC4M.js} +2 -2
  218. package/dist/cdn/{APHETGJW.js → NTD7CHVT.js} +2 -2
  219. package/dist/cdn/{RFUX4G37.js → NW7OFXKC.js} +2 -2
  220. package/dist/cdn/{6ZX35J5Z.js → O3P5NOM2.js} +2 -2
  221. package/dist/cdn/{FOKCZWOQ.js → OA2S63FZ.js} +2 -2
  222. package/dist/cdn/{CNEHMBZW.js → OFWF4FLH.js} +1 -1
  223. package/dist/cdn/{VDIJAOXE.js → OOFFATCD.js} +2 -2
  224. package/dist/cdn/{45S22WSU.js → OPYKS7CX.js} +2 -2
  225. package/dist/cdn/{DAU34542.js → OUAROGMB.js} +2 -2
  226. package/dist/cdn/{SBSDLWOC.js → OYOHY5WS.js} +2 -2
  227. package/dist/cdn/{WIX6R4XI.js → P2A5KXML.js} +2 -2
  228. package/dist/cdn/{DHDV37FH.js → P3OVPYEQ.js} +2 -2
  229. package/dist/cdn/{JNZZAE7R.js → P6L7EUVQ.js} +2 -2
  230. package/dist/cdn/{46UPVPEV.js → P6SI3ZH2.js} +1 -1
  231. package/dist/cdn/{ZQGM6XZT.js → PBORVLXJ.js} +2 -2
  232. package/dist/cdn/{JQKYSOGE.js → PHODD4Z6.js} +1 -1
  233. package/dist/cdn/{4WNXJSEW.js → PJQAZKQO.js} +2 -2
  234. package/dist/cdn/{7AEU6P43.js → PTLVWRGF.js} +2 -2
  235. package/dist/cdn/{K6NKAZBD.js → PXKUIO5A.js} +1 -1
  236. package/dist/cdn/{77X5GFH7.js → Q2WQ7T7X.js} +2 -2
  237. package/dist/cdn/{J6VXDYLB.js → Q4CAV6BE.js} +1 -1
  238. package/dist/cdn/{JQW2KPJK.js → QEYD7M5P.js} +2 -2
  239. package/dist/cdn/{TGDEP6QV.js → QL3LWZTF.js} +2 -2
  240. package/dist/cdn/{NTTL23B5.js → QP5YBLLN.js} +2 -2
  241. package/dist/cdn/{RFWZ3BG4.js → QPKAXYA6.js} +2 -2
  242. package/dist/cdn/{GDCPRSCH.js → QQ272QFM.js} +2 -2
  243. package/dist/cdn/{C2RIOHYE.js → R3LWYP4G.js} +2 -2
  244. package/dist/cdn/{VJ2T3Q32.js → R3P3XMLO.js} +2 -2
  245. package/dist/cdn/{M3KP4ULO.js → R3RWAKZN.js} +2 -2
  246. package/dist/cdn/{CQ3N5OAF.js → R3WMYDWR.js} +2 -2
  247. package/dist/cdn/{LC53SJ67.js → RFS4CVZ4.js} +2 -2
  248. package/dist/cdn/{TUKEY4JX.js → RID7XYT6.js} +2 -2
  249. package/dist/cdn/{HIWCPXI4.js → RJMILIJO.js} +2 -2
  250. package/dist/cdn/{6CNOIOZQ.js → RL5RZQ3Q.js} +2 -2
  251. package/dist/cdn/{YLWCZLWX.js → RLHTV7UW.js} +2 -2
  252. package/dist/cdn/{2IAKNCRC.js → RLPYO4Q4.js} +2 -2
  253. package/dist/cdn/{NX6CRTAS.js → RMIDYV3B.js} +2 -2
  254. package/dist/cdn/{AU6YGJUT.js → RO3ES6UD.js} +2 -2
  255. package/dist/cdn/{JP6UDOIU.js → RRTOIEHS.js} +2 -2
  256. package/dist/cdn/{6HTNO2RE.js → RTTRLG4C.js} +2 -2
  257. package/dist/cdn/{GUFWLMXD.js → RUUYDJAI.js} +2 -2
  258. package/dist/cdn/{P5F6E4BB.js → RVOGF5GW.js} +2 -2
  259. package/dist/cdn/RXOWC3ZA.js +4 -0
  260. package/dist/cdn/{W6LHCK7P.js → RZ73JTAW.js} +2 -2
  261. package/dist/cdn/{RLCYPEXM.js → RZHJQZ7I.js} +1 -1
  262. package/dist/cdn/{KAJZSBBY.js → S3HCQON5.js} +2 -2
  263. package/dist/cdn/{NRA2XWTH.js → S4PR5QYT.js} +2 -2
  264. package/dist/cdn/{ERDVBBRX.js → S72CRXHN.js} +2 -2
  265. package/dist/cdn/{5CEVZOKP.js → SAEYOHYV.js} +2 -2
  266. package/dist/cdn/{QMT2B3M5.js → SDNXMJH4.js} +2 -2
  267. package/dist/cdn/{ZWBLEX27.js → T56TNAF3.js} +1 -1
  268. package/dist/cdn/{JTMPBZCY.js → TBMZRIU6.js} +2 -2
  269. package/dist/cdn/{2CJ5ETBI.js → TBZMPKUE.js} +2 -2
  270. package/dist/cdn/{NY4MAF55.js → THL4LIOE.js} +2 -2
  271. package/dist/cdn/{5CXNGEOT.js → TNSW4TRC.js} +2 -2
  272. package/dist/cdn/{G72TLXN2.js → TUKMTW4X.js} +2 -2
  273. package/dist/cdn/TYKBDMUD.js +4 -0
  274. package/dist/cdn/{7UAODYVA.js → TYMBB7GT.js} +2 -2
  275. package/dist/cdn/{VXR2PQEH.js → TZWGA55B.js} +2 -2
  276. package/dist/cdn/{7IB6W2XU.js → U3653AAK.js} +2 -2
  277. package/dist/cdn/{N5V5PPBQ.js → U4TLYOFC.js} +2 -2
  278. package/dist/cdn/{JOMW3W6X.js → U5K2UMRG.js} +2 -2
  279. package/dist/cdn/{RVQYDMMJ.js → U5QDQ3AE.js} +1 -1
  280. package/dist/cdn/{24IN4UPG.js → U5VJAOJI.js} +2 -2
  281. package/dist/cdn/{VTTSGBR5.js → U72STWZM.js} +1 -1
  282. package/dist/cdn/{WX2RTJ3T.js → UA6OB7Z3.js} +1 -1
  283. package/dist/cdn/{C4C7KF52.js → UB7EJKIT.js} +1 -1
  284. package/dist/cdn/{TIVFVKSV.js → UDBS4W2F.js} +2 -2
  285. package/dist/cdn/{UM5VAPJJ.js → UIXMR5OS.js} +2 -2
  286. package/dist/cdn/{TBBACRUK.js → UK3Y26QU.js} +1 -1
  287. package/dist/cdn/{V6P7MNAU.js → URCMK5PU.js} +2 -2
  288. package/dist/cdn/{OBI4A4AA.js → V6B7ICFF.js} +1 -1
  289. package/dist/cdn/{GONKLRTB.js → VCX42K34.js} +2 -2
  290. package/dist/cdn/{K5GHIYOF.js → VFQZQD4U.js} +2 -2
  291. package/dist/cdn/{E6ZJGJIL.js → VFY3MJZR.js} +2 -2
  292. package/dist/cdn/VI5526JP.js +4 -0
  293. package/dist/cdn/{T2KFMS3E.js → VIAGSUD6.js} +2 -2
  294. package/dist/cdn/{4KFYFEVG.js → VLXAVLHU.js} +2 -2
  295. package/dist/cdn/{6AY42FOZ.js → VWFBOHPK.js} +2 -2
  296. package/dist/cdn/{G6LTOZJF.js → VX47PIHG.js} +2 -2
  297. package/dist/cdn/{4MFPZMLB.js → VXBXLYF2.js} +1 -1
  298. package/dist/cdn/{MC5TSFO6.js → VXFBOPP3.js} +2 -2
  299. package/dist/cdn/{GORSVRD2.js → VYX3EYGU.js} +2 -2
  300. package/dist/cdn/VZYFBVG3.js +4 -0
  301. package/dist/cdn/{YKSQ7TEX.js → W5YSAGU7.js} +2 -2
  302. package/dist/cdn/{QZHTC427.js → WF3R5HTS.js} +2 -2
  303. package/dist/cdn/{GRW5JAFG.js → WGA7J4T3.js} +2 -2
  304. package/dist/cdn/{FSB6TM6Q.js → WIXYBKC6.js} +2 -2
  305. package/dist/cdn/{CTMUKS54.js → WKAPUSKT.js} +2 -2
  306. package/dist/cdn/{22GH5WFX.js → WKI33GD4.js} +2 -2
  307. package/dist/cdn/{AR6I4F7I.js → WO6O4V7P.js} +2 -2
  308. package/dist/cdn/{GK66FWMX.js → WYV3XXOH.js} +2 -2
  309. package/dist/cdn/{NK5C67VR.js → X2K7HTRW.js} +1 -1
  310. package/dist/cdn/{ARJYRYDO.js → X2SHXAEX.js} +2 -2
  311. package/dist/cdn/{UCYKJ3G4.js → X3UWVOUF.js} +2 -2
  312. package/dist/cdn/{JPLACREE.js → XBNBDIQF.js} +2 -2
  313. package/dist/cdn/{PLGFKWRR.js → XIR3LIO5.js} +2 -2
  314. package/dist/cdn/{OB4IBA7J.js → XKOHRGWS.js} +2 -2
  315. package/dist/cdn/{E6VAH377.js → XN4ZLYC3.js} +2 -2
  316. package/dist/cdn/{FC4NR45A.js → XWYQHMRJ.js} +2 -2
  317. package/dist/cdn/{CFTL75CW.js → XYK3ZJ74.js} +2 -2
  318. package/dist/cdn/{BXPMHWOX.js → Y4O7BEH5.js} +2 -2
  319. package/dist/cdn/{M7RJNNBQ.js → YC3C5VLU.js} +2 -2
  320. package/dist/cdn/{3MXNBCEX.js → YDNDI3GC.js} +2 -2
  321. package/dist/cdn/{O7AV7GPK.js → YGN4DTLR.js} +2 -2
  322. package/dist/cdn/{EGAV5W7I.js → YKZ4EIP4.js} +2 -2
  323. package/dist/cdn/{XO3YBGIL.js → YMEMNG2X.js} +2 -2
  324. package/dist/cdn/{4KDH67ME.js → YN7MAH2I.js} +1 -1
  325. package/dist/cdn/{AXNUZSJ6.js → YNQH4WHK.js} +2 -2
  326. package/dist/cdn/{4VJV22PL.js → YT326XBB.js} +2 -2
  327. package/dist/cdn/{WUZDDPQU.js → Z6GXQBPV.js} +2 -2
  328. package/dist/cdn/{4XUHKCM3.js → ZIMI5N7B.js} +2 -2
  329. package/dist/cdn/{VYKWK2BX.js → ZP7YO34W.js} +2 -2
  330. package/dist/cdn/{DHZ5UA72.js → ZPINCTCI.js} +1 -1
  331. package/dist/cdn/{5MFTYGYS.js → ZQOWCQMD.js} +2 -2
  332. package/dist/cdn/{NMTVBRAS.js → ZV5UJA56.js} +2 -2
  333. package/dist/cdn/{BGAY3YMT.js → ZVYEXCFN.js} +2 -2
  334. package/dist/cdn/{FT22BE2Q.js → ZX3GJIWV.js} +2 -2
  335. package/dist/cdn/index.js +2 -2
  336. package/dist/chunks/Auth.js +1 -2
  337. package/dist/chunks/Auth.js.map +1 -1
  338. package/dist/chunks/appConfig.js +1 -1
  339. package/dist/chunks/cardFetchingUtils.js +2 -15
  340. package/dist/chunks/cardFetchingUtils.js.map +1 -1
  341. package/dist/chunks/cardsHelpers.js +1 -1
  342. package/dist/chunks/common.js +1 -1
  343. package/dist/chunks/deployAppContexts.js +1 -1
  344. package/dist/chunks/downloadUtils.js +1 -1
  345. package/dist/chunks/getItemIcon.js +1 -1
  346. package/dist/chunks/helpers.js +1 -1
  347. package/dist/chunks/interfaces.js +1 -1
  348. package/dist/chunks/mapViewUtils.js +1 -1
  349. package/dist/chunks/pciUtils.js +1 -1
  350. package/dist/chunks/popupUtils.js +1 -1
  351. package/dist/chunks/publicNotificationContext.js +1 -1
  352. package/dist/chunks/queryUtils.js +1 -1
  353. package/dist/chunks/runtime.js +1 -1
  354. package/dist/chunks/solutions-deploy-app-nav.js +1 -1
  355. package/dist/chunks/useT9n.js +1 -1
  356. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  357. package/dist/components/buffer-tools/customElement.js +1 -1
  358. package/dist/components/card-manager/customElement.js +1 -1
  359. package/dist/components/consent-manager/customElement.js +1 -1
  360. package/dist/components/create-feature/customElement.js +1 -1
  361. package/dist/components/create-related-feature/customElement.js +1 -1
  362. package/dist/components/crowdsource-manager/customElement.js +1 -1
  363. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  364. package/dist/components/deduct-calculator/customElement.js +1 -1
  365. package/dist/components/delete-button/customElement.js +1 -1
  366. package/dist/components/delete-dialog/customElement.js +1 -1
  367. package/dist/components/edit-card/customElement.js +1 -1
  368. package/dist/components/feature-details/customElement.js +1 -1
  369. package/dist/components/feature-list/customElement.js +1 -1
  370. package/dist/components/field-selection/customElement.js +1 -1
  371. package/dist/components/info-card/customElement.js +1 -1
  372. package/dist/components/layer-list/customElement.js +1 -1
  373. package/dist/components/layer-table/customElement.js +1 -1
  374. package/dist/components/map-basemap-gallery/customElement.js +1 -1
  375. package/dist/components/map-card/customElement.js +1 -1
  376. package/dist/components/map-draw-tools/customElement.js +1 -1
  377. package/dist/components/map-floor-filter/customElement.js +1 -1
  378. package/dist/components/map-fullscreen/customElement.js +1 -1
  379. package/dist/components/map-layer-picker/customElement.js +1 -1
  380. package/dist/components/map-legend/customElement.js +1 -1
  381. package/dist/components/map-picker/customElement.js +1 -1
  382. package/dist/components/map-search/customElement.js +1 -1
  383. package/dist/components/map-select-tools/customElement.js +1 -1
  384. package/dist/components/map-tools/customElement.js +1 -1
  385. package/dist/components/pci-calculator/customElement.js +1 -1
  386. package/dist/components/pdf-download/customElement.js +1 -1
  387. package/dist/components/public-notification/customElement.js +1 -1
  388. package/dist/components/refine-selection/customElement.js +1 -1
  389. package/dist/components/selection-tool/customElement.js +1 -1
  390. package/dist/components/solution-configure-titles/customElement.js +1 -1
  391. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  392. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  393. package/dist/components/solution-deployed-card/customElement.js +1 -1
  394. package/dist/components/solution-deployed-card-panel/customElement.js +1 -1
  395. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  396. package/dist/components/solution-details-card/customElement.js +1 -1
  397. package/dist/components/solution-details-panel/customElement.js +1 -1
  398. package/dist/components/solution-item-accordion/customElement.js +1 -1
  399. package/dist/components/solution-item-diagram/customElement.js +1 -1
  400. package/dist/components/solution-item-icon/customElement.js +1 -1
  401. package/dist/components/solution-resource-card/customElement.js +1 -1
  402. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  403. package/dist/components/solution-social-share/customElement.js +1 -1
  404. package/dist/components/solutions-all-panel/customElement.js +14 -21
  405. package/dist/components/solutions-all-panel/customElement.js.map +1 -1
  406. package/dist/components/solutions-all-shell/customElement.js +1 -1
  407. package/dist/components/solutions-deploy-app/customElement.js +14 -21
  408. package/dist/components/solutions-deploy-app/customElement.js.map +1 -1
  409. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
  410. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  411. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  412. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  413. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  414. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  415. package/dist/components/solutions-resources/customElement.js +1 -1
  416. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  417. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  418. package/dist/docs/api.json +1 -1
  419. package/dist/docs/docs.json +1 -1
  420. package/dist/docs/web-types.json +1 -1
  421. package/dist/index.js +1 -1
  422. package/dist/loader.js +1 -1
  423. package/dist/utils/CardsFetcher.d.ts +1 -1
  424. package/package.json +1 -1
  425. package/dist/cdn/2ZAI2L2Z.js +0 -4
  426. package/dist/cdn/3Q7MPYBN.js +0 -4
  427. package/dist/cdn/3TTOX4BB.js +0 -4
  428. package/dist/cdn/4VTDE7WM.js +0 -4
  429. package/dist/cdn/7YYWVE2S.js +0 -4
  430. package/dist/cdn/CGZFXEML.js +0 -4
  431. package/dist/cdn/F2RRVGZ2.js +0 -4
  432. package/dist/cdn/FS4FOH3D.js +0 -4
  433. package/dist/cdn/GGIS4CC6.js +0 -4
  434. package/dist/cdn/HDKINGQW.js +0 -4
  435. package/dist/cdn/HM4AHTQA.js +0 -4
  436. package/dist/cdn/JXNGGIST.js +0 -4
  437. package/dist/cdn/KST6M5H6.js +0 -4
  438. package/dist/cdn/OY6SET3T.js +0 -4
  439. package/dist/cdn/Q5VHOWDO.js +0 -4
  440. package/dist/cdn/U74L7VJM.js +0 -4
  441. package/dist/cdn/UTCZEP45.js +0 -4
  442. package/dist/cdn/UUIEPEEK.js +0 -4
  443. package/dist/cdn/WEOL6RSK.js +0 -99
  444. package/dist/cdn/WGEGKLDT.js +0 -4
  445. package/dist/cdn/WGRUBU2Y.js +0 -4
  446. package/dist/cdn/YXKSGCHP.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
4
- import d from"./T2GOSVXE.js";import c from"./4WNXJSEW.js";import a from"./IJ245FDS.js";import{a as S}from"./HEW7XMPJ.js";import{a as T}from"./NCOWGV7K.js";import{a as y}from"./JISBULOQ.js";import{b as x}from"./7AEU6P43.js";import"./45S22WSU.js";import"./FC4NR45A.js";import{G as b,I as r,h as $,i as n,q as f}from"./VTTSGBR5.js";import"./OBI4A4AA.js";export default $arcgis.t(([d,,{c:h,e:m,f:e,g:L,h:_,j:D,l:k},{a:u,b:w,e:C,f:I}])=>{var E=$`calcite-modal{--calcite-modal-content-padding: 0}.instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}.instant-apps-language-translator__header-text{font-size:18px}.instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}.instant-apps-language-translator__close-button{width:175px}.instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}.instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}.instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}.instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}.instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}.instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}.instant-apps-language-translator__primary-content{display:flex;align-items:center}.instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,.instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,.instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners{margin-top:10px!important;margin-left:55px!important}.ck-editor__editable{height:70px!important;font-size:.875rem!important;line-height:1.375!important}.ck.ck-editor__editable_inline>:first-child,.ck.ck-editor__editable_inline>:last-child{--ck-spacing-large: .5rem !important}:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:unset;margin-left:20px}`,l="instant-apps-language-translator",i={header:`${l}__header`,headerText:`${l}__header-text`,savingIndicator:`${l}__saving-indicator`,closeButton:`${l}__close-button`,headerTip:`${l}__header-tip`,topBar:`${l}__top-bar`,topBarSection:`${l}__top-bar-section`,collapseSearchContainer:`${l}__collapse-search-container`,userLangText:`${l}__user-lang-text`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},v=class extends b{constructor(){super(),this._messages=y({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=f(),this.listenOn(window,"translatorItemDataUpdated",this.handleT9nItemUpdate)}static{this.properties={saving:16,isCollapse:16,portalItem:0,appSettings:0,locales:0,open:5,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=E}async batchWriteToPortalItemResource(a){e.set("saving",!0);try{let t=await this.getPortalItemResource();if(!t){e.set("saving",!1);return}let s=Date.now();e.set("lastSave",s);let o=[JSON.stringify({...a,lastSave:s})],p={type:"application/json"},c=new Blob(o,p);return await t.update(c),setTimeout(()=>e.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(t){return console.error("Error writing to portal item resource: ",t),e.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}async getPortalItemResource(){return e.get("portalItemResource")}async getTranslationData(){return e.get("portalItemResourceT9n")}async setTranslationData(a){e.set("portalItemResourceT9n",a)}load(){k()}willUpdate(a){(a.has("locales")||a.has("appSettings"))&&(this.initUIData(),this.initSelectLanguage())}async loaded(){await this.initialize()}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}async initialize(){this.initUIData(),await this.initPortalItemResourceT9nData(),this.initSelectLanguage()}initUIData(){let{appSettings:a,locales:t}=this,s=L(a,t);e.set("uiData",s)}initSelectLanguage(){let a=this.locales?.[0]?.locale??d.getLocale(),t=e.get("currentLanguage");this.locales.filter(s=>s.locale===t).length===0&&e.set("currentLanguage",a)}async initPortalItemResourceT9nData(){try{let a=await I(this.portalItem);e.set("portalItemResource",a);let t=await C(a);e.set("lastSave",t.lastSave),e.set("portalItemResourceT9n",t??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let a=new Map(m.uiData);_().forEach(t=>a.get(t).expanded=this.isCollapse),e.set("uiData",a)}onSuggestionSelect(a){let t=a.detail,s=new Map(m.uiData),o=_(),p=c=>{let g=s.get(c);if(c===t){g.selected=!0;return}g.selected=!1};o.forEach(p),e.set("uiData",s)}close(){this.open=!1}handleLanguageSelection(a){let t=a.target.value;e.set("currentLanguage",t)}render(){return n`${this.renderDialog()}${this.renderPopoverTip()}`}renderDialog(){return n`<calcite-dialog .open=${this.open} scale=l placement=cover @calciteDialogClose=${this.close}>${this.renderHeader()}${this.renderContent()}${this.renderPrimaryContent()}</calcite-dialog>`}renderPopoverTip(){return n`<calcite-popover label reference-element=headerTip placement=trailing auto-close closable><div class=${r(i.headerTip)}>${this._messages.headerTip}</div></calcite-popover>`}renderHeader(){return n`<header class=${r(i.header)} slot=header-content>${this.renderHeaderText()}</header>`}renderHeaderText(){return n`<div class=${r(i.headerText)}><span>${this._messages.header}</span><calcite-button id=headerTip appearance=transparent><calcite-icon .icon=${h.Popover} scale=s></calcite-icon></calcite-button></div>`}renderSavingIndicator(){return n`<div class=${r(i.savingIndicator)}><calcite-loader .label=${this._messages.saving} inline></calcite-loader><span>${this._messages.saving}</span></div>`}renderContent(){return n`<div>${this.renderTopBar()}<slot name=language-translator-content></slot></div>`}renderTopBar(){return n`<div class=${r(i.topBar)}>${this.renderLeadingTopBarSection()}${this.renderTrailingTopBarSection()}</div>`}renderLeadingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderUserLocale()}${this.renderCollapseSearchContainer()}</div>`}renderUserLocale(){let a=this._messages.languages,t=w(),s=a?.[t];return n`<div class=${r(i.userLangText)}>${s}</div>`}renderCollapseSearchContainer(){return n`<div class=${r(i.collapseSearchContainer)}>${this.renderExpandCollapseButton()}${this.renderSearch()}</div>`}renderExpandCollapseButton(){let{isCollapse:a,_messages:t}=this,s=a?t?.collapseAll:t?.expandAll;return n`<slot name=primary-custom-action></slot><slot name=secondary-custom-action></slot><calcite-button @click=${this.handleExpandCollapseAll} appearance=transparent .iconStart=${h.ExpandCollapse}>${s}</calcite-button>`}renderSearch(){return n`<instant-apps-language-translator-search @suggestionSelected=${this.onSuggestionSelect} .t9nPlaceholder=${this._messages.searchPlaceholder}></instant-apps-language-translator-search>`}renderTrailingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderLanguageSelection()}<slot name=translation-custom-action></slot></div>`}renderLanguageSelection(){return n`<calcite-label layout=inline>${this._messages.translatedLanguage}<calcite-select label @calciteSelectChange=${this.handleLanguageSelection}>${this.renderTranslatedLangOptions()}</calcite-select></calcite-label>`}renderTranslatedLangOptions(){let a=e.get("uiData")?.get("locales"),t=D(a),s=Object.keys(u.partial);return S(t,o=>`translated-lang-option-${o}`,o=>{let p=s.includes(o)?"partial":"full",c=u[p],{language:g,translated:B}=c[o],P=`${g} - ${B}`;return n`<calcite-option .value=${o}>${P}</calcite-option>`})}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?T("last-save",n`<span class=${r(i.lastAutoSave)}>${this._messages.lastAutoSave} ${d.formatDate(e.get("lastSave"))}</span>`):null}<calcite-button @click=${()=>this.open=!1} class=${r(i.closeButton)}>${this._messages.close}</calcite-button></div>`}};x("instant-apps-language-translator",v);return v},"intl",a,c,d)
3
+ v1.2.0-next.62 */
4
+ import d from"./L4WWTSVG.js";import c from"./PJQAZKQO.js";import a from"./2S7HZF7M.js";import{a as S}from"./ASIRLW76.js";import{a as T}from"./GEIREK7Z.js";import{a as y}from"./HV67SLIL.js";import{b as x}from"./PTLVWRGF.js";import"./OPYKS7CX.js";import"./XWYQHMRJ.js";import{G as b,I as r,h as $,i as n,q as f}from"./U72STWZM.js";import"./V6B7ICFF.js";export default $arcgis.t(([d,,{c:h,e:m,f:e,g:L,h:_,j:D,l:k},{a:u,b:w,e:C,f:I}])=>{var E=$`calcite-modal{--calcite-modal-content-padding: 0}.instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}.instant-apps-language-translator__header-text{font-size:18px}.instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}.instant-apps-language-translator__close-button{width:175px}.instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}.instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}.instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}.instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}.instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}.instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}.instant-apps-language-translator__primary-content{display:flex;align-items:center}.instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,.instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,.instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners{margin-top:10px!important;margin-left:55px!important}.ck-editor__editable{height:70px!important;font-size:.875rem!important;line-height:1.375!important}.ck.ck-editor__editable_inline>:first-child,.ck.ck-editor__editable_inline>:last-child{--ck-spacing-large: .5rem !important}:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:unset;margin-left:20px}`,l="instant-apps-language-translator",i={header:`${l}__header`,headerText:`${l}__header-text`,savingIndicator:`${l}__saving-indicator`,closeButton:`${l}__close-button`,headerTip:`${l}__header-tip`,topBar:`${l}__top-bar`,topBarSection:`${l}__top-bar-section`,collapseSearchContainer:`${l}__collapse-search-container`,userLangText:`${l}__user-lang-text`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},v=class extends b{constructor(){super(),this._messages=y({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=f(),this.listenOn(window,"translatorItemDataUpdated",this.handleT9nItemUpdate)}static{this.properties={saving:16,isCollapse:16,portalItem:0,appSettings:0,locales:0,open:5,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=E}async batchWriteToPortalItemResource(a){e.set("saving",!0);try{let t=await this.getPortalItemResource();if(!t){e.set("saving",!1);return}let s=Date.now();e.set("lastSave",s);let o=[JSON.stringify({...a,lastSave:s})],p={type:"application/json"},c=new Blob(o,p);return await t.update(c),setTimeout(()=>e.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(t){return console.error("Error writing to portal item resource: ",t),e.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}async getPortalItemResource(){return e.get("portalItemResource")}async getTranslationData(){return e.get("portalItemResourceT9n")}async setTranslationData(a){e.set("portalItemResourceT9n",a)}load(){k()}willUpdate(a){(a.has("locales")||a.has("appSettings"))&&(this.initUIData(),this.initSelectLanguage())}async loaded(){await this.initialize()}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}async initialize(){this.initUIData(),await this.initPortalItemResourceT9nData(),this.initSelectLanguage()}initUIData(){let{appSettings:a,locales:t}=this,s=L(a,t);e.set("uiData",s)}initSelectLanguage(){let a=this.locales?.[0]?.locale??d.getLocale(),t=e.get("currentLanguage");this.locales.filter(s=>s.locale===t).length===0&&e.set("currentLanguage",a)}async initPortalItemResourceT9nData(){try{let a=await I(this.portalItem);e.set("portalItemResource",a);let t=await C(a);e.set("lastSave",t.lastSave),e.set("portalItemResourceT9n",t??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let a=new Map(m.uiData);_().forEach(t=>a.get(t).expanded=this.isCollapse),e.set("uiData",a)}onSuggestionSelect(a){let t=a.detail,s=new Map(m.uiData),o=_(),p=c=>{let g=s.get(c);if(c===t){g.selected=!0;return}g.selected=!1};o.forEach(p),e.set("uiData",s)}close(){this.open=!1}handleLanguageSelection(a){let t=a.target.value;e.set("currentLanguage",t)}render(){return n`${this.renderDialog()}${this.renderPopoverTip()}`}renderDialog(){return n`<calcite-dialog .open=${this.open} scale=l placement=cover @calciteDialogClose=${this.close}>${this.renderHeader()}${this.renderContent()}${this.renderPrimaryContent()}</calcite-dialog>`}renderPopoverTip(){return n`<calcite-popover label reference-element=headerTip placement=trailing auto-close closable><div class=${r(i.headerTip)}>${this._messages.headerTip}</div></calcite-popover>`}renderHeader(){return n`<header class=${r(i.header)} slot=header-content>${this.renderHeaderText()}</header>`}renderHeaderText(){return n`<div class=${r(i.headerText)}><span>${this._messages.header}</span><calcite-button id=headerTip appearance=transparent><calcite-icon .icon=${h.Popover} scale=s></calcite-icon></calcite-button></div>`}renderSavingIndicator(){return n`<div class=${r(i.savingIndicator)}><calcite-loader .label=${this._messages.saving} inline></calcite-loader><span>${this._messages.saving}</span></div>`}renderContent(){return n`<div>${this.renderTopBar()}<slot name=language-translator-content></slot></div>`}renderTopBar(){return n`<div class=${r(i.topBar)}>${this.renderLeadingTopBarSection()}${this.renderTrailingTopBarSection()}</div>`}renderLeadingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderUserLocale()}${this.renderCollapseSearchContainer()}</div>`}renderUserLocale(){let a=this._messages.languages,t=w(),s=a?.[t];return n`<div class=${r(i.userLangText)}>${s}</div>`}renderCollapseSearchContainer(){return n`<div class=${r(i.collapseSearchContainer)}>${this.renderExpandCollapseButton()}${this.renderSearch()}</div>`}renderExpandCollapseButton(){let{isCollapse:a,_messages:t}=this,s=a?t?.collapseAll:t?.expandAll;return n`<slot name=primary-custom-action></slot><slot name=secondary-custom-action></slot><calcite-button @click=${this.handleExpandCollapseAll} appearance=transparent .iconStart=${h.ExpandCollapse}>${s}</calcite-button>`}renderSearch(){return n`<instant-apps-language-translator-search @suggestionSelected=${this.onSuggestionSelect} .t9nPlaceholder=${this._messages.searchPlaceholder}></instant-apps-language-translator-search>`}renderTrailingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderLanguageSelection()}<slot name=translation-custom-action></slot></div>`}renderLanguageSelection(){return n`<calcite-label layout=inline>${this._messages.translatedLanguage}<calcite-select label @calciteSelectChange=${this.handleLanguageSelection}>${this.renderTranslatedLangOptions()}</calcite-select></calcite-label>`}renderTranslatedLangOptions(){let a=e.get("uiData")?.get("locales"),t=D(a),s=Object.keys(u.partial);return S(t,o=>`translated-lang-option-${o}`,o=>{let p=s.includes(o)?"partial":"full",c=u[p],{language:g,translated:B}=c[o],P=`${g} - ${B}`;return n`<calcite-option .value=${o}>${P}</calcite-option>`})}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?T("last-save",n`<span class=${r(i.lastAutoSave)}>${this._messages.lastAutoSave} ${d.formatDate(e.get("lastSave"))}</span>`):null}<calcite-button @click=${()=>this.open=!1} class=${r(i.closeButton)}>${this._messages.close}</calcite-button></div>`}};x("instant-apps-language-translator",v);return v},"intl",a,c,d)
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
4
- import{a as Tr}from"./46UPVPEV.js";import{b as g,d as Z}from"./OBI4A4AA.js";var I=g((ki,Gs)=>{"use strict";var Or=function(i){return i&&i.Math===Math&&i};Gs.exports=Or(typeof globalThis=="object"&&globalThis)||Or(typeof window=="object"&&window)||Or(typeof self=="object"&&self)||Or(typeof global=="object"&&global)||Or(typeof ki=="object"&&ki)||(function(){return this})()||Function("return this")()});var D=g((VO,Hs)=>{"use strict";Hs.exports=function(i){try{return!!i()}catch{return!0}}});var ue=g((_O,Ys)=>{"use strict";var wg=D();Ys.exports=!wg(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})});var Sr=g((DO,Xs)=>{"use strict";var Cg=D();Xs.exports=!Cg(function(){var i=(function(){}).bind();return typeof i!="function"||i.hasOwnProperty("prototype")})});var H=g((LO,Ws)=>{"use strict";var qg=Sr(),lt=Function.prototype.call;Ws.exports=qg?lt.bind(lt):function(){return lt.apply(lt,arguments)}});var Js=g(Zs=>{"use strict";var Qs={}.propertyIsEnumerable,Ks=Object.getOwnPropertyDescriptor,Pg=Ks&&!Qs.call({1:2},1);Zs.f=Pg?function(e){var r=Ks(this,e);return!!r&&r.enumerable}:Qs});var ht=g((BO,eo)=>{"use strict";eo.exports=function(i,e){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:e}}});var L=g((UO,io)=>{"use strict";var ro=Sr(),to=Function.prototype,Bi=to.call,Ag=ro&&to.bind.bind(Bi,Bi);io.exports=ro?Ag:function(i){return function(){return Bi.apply(i,arguments)}}});var Ae=g((jO,no)=>{"use strict";var ao=L(),Rg=ao({}.toString),Ng=ao("".slice);no.exports=function(i){return Ng(Rg(i),8,-1)}});var ji=g((FO,so)=>{"use strict";var Ig=L(),Mg=D(),Vg=Ae(),Ui=Object,_g=Ig("".split);so.exports=Mg(function(){return!Ui("z").propertyIsEnumerable(0)})?function(i){return Vg(i)==="String"?_g(i,""):Ui(i)}:Ui});var Er=g((zO,oo)=>{"use strict";oo.exports=function(i){return i==null}});var le=g(($O,uo)=>{"use strict";var Dg=Er(),Lg=TypeError;uo.exports=function(i){if(Dg(i))throw new Lg("Can't call method on "+i);return i}});var Ke=g((GO,lo)=>{"use strict";var kg=ji(),Bg=le();lo.exports=function(i){return kg(Bg(i))}});var k=g((HO,ho)=>{"use strict";var Fi=typeof document=="object"&&document.all;ho.exports=typeof Fi>"u"&&Fi!==void 0?function(i){return typeof i=="function"||i===Fi}:function(i){return typeof i=="function"}});var te=g((YO,co)=>{"use strict";var Ug=k();co.exports=function(i){return typeof i=="object"?i!==null:Ug(i)}});var Re=g((XO,fo)=>{"use strict";var zi=I(),jg=k(),Fg=function(i){return jg(i)?i:void 0};fo.exports=function(i,e){return arguments.length<2?Fg(zi[i]):zi[i]&&zi[i][e]}});var wr=g((WO,vo)=>{"use strict";var zg=L();vo.exports=zg({}.isPrototypeOf)});var Ze=g((QO,yo)=>{"use strict";var $g=I(),go=$g.navigator,po=go&&go.userAgent;yo.exports=po?String(po):""});var ft=g((KO,So)=>{"use strict";var Oo=I(),$i=Ze(),mo=Oo.process,bo=Oo.Deno,xo=mo&&mo.versions||bo&&bo.version,To=xo&&xo.v8,fe,ct;To&&(fe=To.split("."),ct=fe[0]>0&&fe[0]<4?1:+(fe[0]+fe[1]));!ct&&$i&&(fe=$i.match(/Edge\/(\d+)/),(!fe||fe[1]>=74)&&(fe=$i.match(/Chrome\/(\d+)/),fe&&(ct=+fe[1])));So.exports=ct});var Gi=g((ZO,wo)=>{"use strict";var Eo=ft(),Gg=D(),Hg=I(),Yg=Hg.String;wo.exports=!!Object.getOwnPropertySymbols&&!Gg(function(){var i=Symbol("symbol detection");return!Yg(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&Eo&&Eo<41})});var Hi=g((JO,Co)=>{"use strict";var Xg=Gi();Co.exports=Xg&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var Yi=g((eS,qo)=>{"use strict";var Wg=Re(),Qg=k(),Kg=wr(),Zg=Hi(),Jg=Object;qo.exports=Zg?function(i){return typeof i=="symbol"}:function(i){var e=Wg("Symbol");return Qg(e)&&Kg(e.prototype,Jg(i))}});var Cr=g((rS,Po)=>{"use strict";var ed=String;Po.exports=function(i){try{return ed(i)}catch{return"Object"}}});var xe=g((tS,Ao)=>{"use strict";var rd=k(),td=Cr(),id=TypeError;Ao.exports=function(i){if(rd(i))return i;throw new id(td(i)+" is not a function")}});var Be=g((iS,Ro)=>{"use strict";var ad=xe(),nd=Er();Ro.exports=function(i,e){var r=i[e];return nd(r)?void 0:ad(r)}});var Io=g((aS,No)=>{"use strict";var Xi=H(),Wi=k(),Qi=te(),sd=TypeError;No.exports=function(i,e){var r,t;if(e==="string"&&Wi(r=i.toString)&&!Qi(t=Xi(r,i))||Wi(r=i.valueOf)&&!Qi(t=Xi(r,i))||e!=="string"&&Wi(r=i.toString)&&!Qi(t=Xi(r,i)))return t;throw new sd("Can't convert object to primitive value")}});var ve=g((nS,Mo)=>{"use strict";Mo.exports=!1});var vt=g((sS,_o)=>{"use strict";var Vo=I(),od=Object.defineProperty;_o.exports=function(i,e){try{od(Vo,i,{value:e,configurable:!0,writable:!0})}catch{Vo[i]=e}return e}});var gt=g((oS,ko)=>{"use strict";var ud=ve(),ld=I(),hd=vt(),Do="__core-js_shared__",Lo=ko.exports=ld[Do]||hd(Do,{});(Lo.versions||(Lo.versions=[])).push({version:"3.47.0",mode:ud?"pure":"global",copyright:"\xA9 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"})});var dt=g((uS,Uo)=>{"use strict";var Bo=gt();Uo.exports=function(i,e){return Bo[i]||(Bo[i]=e||{})}});var qr=g((lS,jo)=>{"use strict";var cd=le(),fd=Object;jo.exports=function(i){return fd(cd(i))}});var he=g((hS,Fo)=>{"use strict";var vd=L(),gd=qr(),dd=vd({}.hasOwnProperty);Fo.exports=Object.hasOwn||function(e,r){return dd(gd(e),r)}});var Ki=g((cS,zo)=>{"use strict";var pd=L(),yd=0,md=Math.random(),bd=pd(1.1.toString);zo.exports=function(i){return"Symbol("+(i===void 0?"":i)+")_"+bd(++yd+md,36)}});var z=g((fS,Go)=>{"use strict";var xd=I(),Td=dt(),$o=he(),Od=Ki(),Sd=Gi(),Ed=Hi(),Je=xd.Symbol,Zi=Td("wks"),wd=Ed?Je.for||Je:Je&&Je.withoutSetter||Od;Go.exports=function(i){return $o(Zi,i)||(Zi[i]=Sd&&$o(Je,i)?Je[i]:wd("Symbol."+i)),Zi[i]}});var Wo=g((vS,Xo)=>{"use strict";var Cd=H(),Ho=te(),Yo=Yi(),qd=Be(),Pd=Io(),Ad=z(),Rd=TypeError,Nd=Ad("toPrimitive");Xo.exports=function(i,e){if(!Ho(i)||Yo(i))return i;var r=qd(i,Nd),t;if(r){if(e===void 0&&(e="default"),t=Cd(r,i,e),!Ho(t)||Yo(t))return t;throw new Rd("Can't convert object to primitive value")}return e===void 0&&(e="number"),Pd(i,e)}});var Ji=g((gS,Qo)=>{"use strict";var Id=Wo(),Md=Yi();Qo.exports=function(i){var e=Id(i,"string");return Md(e)?e:e+""}});var Pr=g((dS,Zo)=>{"use strict";var Vd=I(),Ko=te(),ea=Vd.document,_d=Ko(ea)&&Ko(ea.createElement);Zo.exports=function(i){return _d?ea.createElement(i):{}}});var ra=g((pS,Jo)=>{"use strict";var Dd=ue(),Ld=D(),kd=Pr();Jo.exports=!Dd&&!Ld(function(){return Object.defineProperty(kd("div"),"a",{get:function(){return 7}}).a!==7})});var Ar=g(ru=>{"use strict";var Bd=ue(),Ud=H(),jd=Js(),Fd=ht(),zd=Ke(),$d=Ji(),Gd=he(),Hd=ra(),eu=Object.getOwnPropertyDescriptor;ru.f=Bd?eu:function(e,r){if(e=zd(e),r=$d(r),Hd)try{return eu(e,r)}catch{}if(Gd(e,r))return Fd(!Ud(jd.f,e,r),e[r])}});var ta=g((mS,tu)=>{"use strict";var Yd=ue(),Xd=D();tu.exports=Yd&&Xd(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})});var J=g((bS,iu)=>{"use strict";var Wd=te(),Qd=String,Kd=TypeError;iu.exports=function(i){if(Wd(i))return i;throw new Kd(Qd(i)+" is not an object")}});var Oe=g(nu=>{"use strict";var Zd=ue(),Jd=ra(),ep=ta(),pt=J(),au=Ji(),rp=TypeError,ia=Object.defineProperty,tp=Object.getOwnPropertyDescriptor,aa="enumerable",na="configurable",sa="writable";nu.f=Zd?ep?function(e,r,t){if(pt(e),r=au(r),pt(t),typeof e=="function"&&r==="prototype"&&"value"in t&&sa in t&&!t[sa]){var a=tp(e,r);a&&a[sa]&&(e[r]=t.value,t={configurable:na in t?t[na]:a[na],enumerable:aa in t?t[aa]:a[aa],writable:!1})}return ia(e,r,t)}:ia:function(e,r,t){if(pt(e),r=au(r),pt(t),Jd)try{return ia(e,r,t)}catch{}if("get"in t||"set"in t)throw new rp("Accessors not supported");return"value"in t&&(e[r]=t.value),e}});var er=g((TS,su)=>{"use strict";var ip=ue(),ap=Oe(),np=ht();su.exports=ip?function(i,e,r){return ap.f(i,e,np(1,r))}:function(i,e,r){return i[e]=r,i}});var Rr=g((OS,uu)=>{"use strict";var oa=ue(),sp=he(),ou=Function.prototype,op=oa&&Object.getOwnPropertyDescriptor,ua=sp(ou,"name"),up=ua&&(function(){}).name==="something",lp=ua&&(!oa||oa&&op(ou,"name").configurable);uu.exports={EXISTS:ua,PROPER:up,CONFIGURABLE:lp}});var yt=g((SS,lu)=>{"use strict";var hp=L(),cp=k(),la=gt(),fp=hp(Function.toString);cp(la.inspectSource)||(la.inspectSource=function(i){return fp(i)});lu.exports=la.inspectSource});var fu=g((ES,cu)=>{"use strict";var vp=I(),gp=k(),hu=vp.WeakMap;cu.exports=gp(hu)&&/native code/.test(String(hu))});var mt=g((wS,gu)=>{"use strict";var dp=dt(),pp=Ki(),vu=dp("keys");gu.exports=function(i){return vu[i]||(vu[i]=pp(i))}});var bt=g((CS,du)=>{"use strict";du.exports={}});var Ir=g((qS,mu)=>{"use strict";var yp=fu(),yu=I(),mp=te(),bp=er(),ha=he(),ca=gt(),xp=mt(),Tp=bt(),pu="Object already initialized",fa=yu.TypeError,Op=yu.WeakMap,xt,Nr,Tt,Sp=function(i){return Tt(i)?Nr(i):xt(i,{})},Ep=function(i){return function(e){var r;if(!mp(e)||(r=Nr(e)).type!==i)throw new fa("Incompatible receiver, "+i+" required");return r}};yp||ca.state?(ge=ca.state||(ca.state=new Op),ge.get=ge.get,ge.has=ge.has,ge.set=ge.set,xt=function(i,e){if(ge.has(i))throw new fa(pu);return e.facade=i,ge.set(i,e),e},Nr=function(i){return ge.get(i)||{}},Tt=function(i){return ge.has(i)}):(Ue=xp("state"),Tp[Ue]=!0,xt=function(i,e){if(ha(i,Ue))throw new fa(pu);return e.facade=i,bp(i,Ue,e),e},Nr=function(i){return ha(i,Ue)?i[Ue]:{}},Tt=function(i){return ha(i,Ue)});var ge,Ue;mu.exports={set:xt,get:Nr,has:Tt,enforce:Sp,getterFor:Ep}});var da=g((PS,Tu)=>{"use strict";var ga=L(),wp=D(),Cp=k(),Ot=he(),va=ue(),qp=Rr().CONFIGURABLE,Pp=yt(),xu=Ir(),Ap=xu.enforce,Rp=xu.get,bu=String,St=Object.defineProperty,Np=ga("".slice),Ip=ga("".replace),Mp=ga([].join),Vp=va&&!wp(function(){return St(function(){},"length",{value:8}).length!==8}),_p=String(String).split("String"),Dp=Tu.exports=function(i,e,r){Np(bu(e),0,7)==="Symbol("&&(e="["+Ip(bu(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!Ot(i,"name")||qp&&i.name!==e)&&(va?St(i,"name",{value:e,configurable:!0}):i.name=e),Vp&&r&&Ot(r,"arity")&&i.length!==r.arity&&St(i,"length",{value:r.arity});try{r&&Ot(r,"constructor")&&r.constructor?va&&St(i,"prototype",{writable:!1}):i.prototype&&(i.prototype=void 0)}catch{}var t=Ap(i);return Ot(t,"source")||(t.source=Mp(_p,typeof e=="string"?e:"")),i};Function.prototype.toString=Dp(function(){return Cp(this)&&Rp(this).source||Pp(this)},"toString")});var Ne=g((AS,Ou)=>{"use strict";var Lp=k(),kp=Oe(),Bp=da(),Up=vt();Ou.exports=function(i,e,r,t){t||(t={});var a=t.enumerable,n=t.name!==void 0?t.name:e;if(Lp(r)&&Bp(r,n,t),t.global)a?i[e]=r:Up(e,r);else{try{t.unsafe?i[e]&&(a=!0):delete i[e]}catch{}a?i[e]=r:kp.f(i,e,{value:r,enumerable:!1,configurable:!t.nonConfigurable,writable:!t.nonWritable})}return i}});var Eu=g((RS,Su)=>{"use strict";var jp=Math.ceil,Fp=Math.floor;Su.exports=Math.trunc||function(e){var r=+e;return(r>0?Fp:jp)(r)}});var Mr=g((NS,wu)=>{"use strict";var zp=Eu();wu.exports=function(i){var e=+i;return e!==e||e===0?0:zp(e)}});var qu=g((IS,Cu)=>{"use strict";var $p=Mr(),Gp=Math.max,Hp=Math.min;Cu.exports=function(i,e){var r=$p(i);return r<0?Gp(r+e,0):Hp(r,e)}});var je=g((MS,Pu)=>{"use strict";var Yp=Mr(),Xp=Math.min;Pu.exports=function(i){var e=Yp(i);return e>0?Xp(e,9007199254740991):0}});var Et=g((VS,Au)=>{"use strict";var Wp=je();Au.exports=function(i){return Wp(i.length)}});var pa=g((_S,Nu)=>{"use strict";var Qp=Ke(),Kp=qu(),Zp=Et(),Ru=function(i){return function(e,r,t){var a=Qp(e),n=Zp(a);if(n===0)return!i&&-1;var o=Kp(t,n),s;if(i&&r!==r){for(;n>o;)if(s=a[o++],s!==s)return!0}else for(;n>o;o++)if((i||o in a)&&a[o]===r)return i||o||0;return!i&&-1}};Nu.exports={includes:Ru(!0),indexOf:Ru(!1)}});var ma=g((DS,Mu)=>{"use strict";var Jp=L(),ya=he(),ey=Ke(),ry=pa().indexOf,ty=bt(),Iu=Jp([].push);Mu.exports=function(i,e){var r=ey(i),t=0,a=[],n;for(n in r)!ya(ty,n)&&ya(r,n)&&Iu(a,n);for(;e.length>t;)ya(r,n=e[t++])&&(~ry(a,n)||Iu(a,n));return a}});var wt=g((LS,Vu)=>{"use strict";Vu.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var Du=g(_u=>{"use strict";var iy=ma(),ay=wt(),ny=ay.concat("length","prototype");_u.f=Object.getOwnPropertyNames||function(e){return iy(e,ny)}});var ku=g(Lu=>{"use strict";Lu.f=Object.getOwnPropertySymbols});var Uu=g((US,Bu)=>{"use strict";var sy=Re(),oy=L(),uy=Du(),ly=ku(),hy=J(),cy=oy([].concat);Bu.exports=sy("Reflect","ownKeys")||function(e){var r=uy.f(hy(e)),t=ly.f;return t?cy(r,t(e)):r}});var zu=g((jS,Fu)=>{"use strict";var ju=he(),fy=Uu(),vy=Ar(),gy=Oe();Fu.exports=function(i,e,r){for(var t=fy(e),a=gy.f,n=vy.f,o=0;o<t.length;o++){var s=t[o];!ju(i,s)&&!(r&&ju(r,s))&&a(i,s,n(e,s))}}});var ba=g((FS,$u)=>{"use strict";var dy=D(),py=k(),yy=/#|\.prototype\./,Vr=function(i,e){var r=by[my(i)];return r===Ty?!0:r===xy?!1:py(e)?dy(e):!!e},my=Vr.normalize=function(i){return String(i).replace(yy,".").toLowerCase()},by=Vr.data={},xy=Vr.NATIVE="N",Ty=Vr.POLYFILL="P";$u.exports=Vr});var ee=g((zS,Gu)=>{"use strict";var Ct=I(),Oy=Ar().f,Sy=er(),Ey=Ne(),wy=vt(),Cy=zu(),qy=ba();Gu.exports=function(i,e){var r=i.target,t=i.global,a=i.stat,n,o,s,u,l,h;if(t?o=Ct:a?o=Ct[r]||wy(r,{}):o=Ct[r]&&Ct[r].prototype,o)for(s in e){if(l=e[s],i.dontCallGetSet?(h=Oy(o,s),u=h&&h.value):u=o[s],n=qy(t?s:r+(a?".":"#")+s,i.forced),!n&&u!==void 0){if(typeof l==typeof u)continue;Cy(l,u)}(i.sham||u&&u.sham)&&Sy(l,"sham",!0),Ey(o,s,l,i)}}});var xa=g(($S,Hu)=>{"use strict";var _r=I(),Py=Ze(),Ay=Ae(),qt=function(i){return Py.slice(0,i.length)===i};Hu.exports=(function(){return qt("Bun/")?"BUN":qt("Cloudflare-Workers")?"CLOUDFLARE":qt("Deno/")?"DENO":qt("Node.js/")?"NODE":_r.Bun&&typeof Bun.version=="string"?"BUN":_r.Deno&&typeof Deno.version=="object"?"DENO":Ay(_r.process)==="process"?"NODE":_r.window&&_r.document?"BROWSER":"REST"})()});var Dr=g((GS,Yu)=>{"use strict";var Ry=xa();Yu.exports=Ry==="NODE"});var Wu=g((HS,Xu)=>{"use strict";var Ny=I();Xu.exports=Ny});var Ku=g((YS,Qu)=>{"use strict";var Iy=L(),My=xe();Qu.exports=function(i,e,r){try{return Iy(My(Object.getOwnPropertyDescriptor(i,e)[r]))}catch{}}});var Ju=g((XS,Zu)=>{"use strict";var Vy=te();Zu.exports=function(i){return Vy(i)||i===null}});var rl=g((WS,el)=>{"use strict";var _y=Ju(),Dy=String,Ly=TypeError;el.exports=function(i){if(_y(i))return i;throw new Ly("Can't set "+Dy(i)+" as a prototype")}});var Ta=g((QS,tl)=>{"use strict";var ky=Ku(),By=te(),Uy=le(),jy=rl();tl.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var i=!1,e={},r;try{r=ky(Object.prototype,"__proto__","set"),r(e,[]),i=e instanceof Array}catch{}return function(a,n){return Uy(a),jy(n),By(a)&&(i?r(a,n):a.__proto__=n),a}})():void 0)});var Lr=g((KS,al)=>{"use strict";var Fy=Oe().f,zy=he(),$y=z(),il=$y("toStringTag");al.exports=function(i,e,r){i&&!r&&(i=i.prototype),i&&!zy(i,il)&&Fy(i,il,{configurable:!0,value:e})}});var ol=g((ZS,sl)=>{"use strict";var nl=da(),Gy=Oe();sl.exports=function(i,e,r){return r.get&&nl(r.get,e,{getter:!0}),r.set&&nl(r.set,e,{setter:!0}),Gy.f(i,e,r)}});var hl=g((JS,ll)=>{"use strict";var Hy=Re(),Yy=ol(),Xy=z(),Wy=ue(),ul=Xy("species");ll.exports=function(i){var e=Hy(i);Wy&&e&&!e[ul]&&Yy(e,ul,{configurable:!0,get:function(){return this}})}});var fl=g((eE,cl)=>{"use strict";var Qy=wr(),Ky=TypeError;cl.exports=function(i,e){if(Qy(e,i))return i;throw new Ky("Incorrect invocation")}});var dl=g((rE,gl)=>{"use strict";var Zy=z(),Jy=Zy("toStringTag"),vl={};vl[Jy]="z";gl.exports=String(vl)==="[object z]"});var At=g((tE,pl)=>{"use strict";var e0=dl(),r0=k(),Pt=Ae(),t0=z(),i0=t0("toStringTag"),a0=Object,n0=Pt((function(){return arguments})())==="Arguments",s0=function(i,e){try{return i[e]}catch{}};pl.exports=e0?Pt:function(i){var e,r,t;return i===void 0?"Undefined":i===null?"Null":typeof(r=s0(e=a0(i),i0))=="string"?r:n0?Pt(e):(t=Pt(e))==="Object"&&r0(e.callee)?"Arguments":t}});var Ol=g((iE,Tl)=>{"use strict";var o0=L(),u0=D(),yl=k(),l0=At(),h0=Re(),c0=yt(),ml=function(){},bl=h0("Reflect","construct"),Oa=/^\s*(?:class|function)\b/,f0=o0(Oa.exec),v0=!Oa.test(ml),kr=function(e){if(!yl(e))return!1;try{return bl(ml,[],e),!0}catch{return!1}},xl=function(e){if(!yl(e))return!1;switch(l0(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v0||!!f0(Oa,c0(e))}catch{return!0}};xl.sham=!0;Tl.exports=!bl||u0(function(){var i;return kr(kr.call)||!kr(Object)||!kr(function(){i=!0})||i})?xl:kr});var El=g((aE,Sl)=>{"use strict";var g0=Ol(),d0=Cr(),p0=TypeError;Sl.exports=function(i){if(g0(i))return i;throw new p0(d0(i)+" is not a constructor")}});var Sa=g((nE,Cl)=>{"use strict";var wl=J(),y0=El(),m0=Er(),b0=z(),x0=b0("species");Cl.exports=function(i,e){var r=wl(i).constructor,t;return r===void 0||m0(t=wl(r)[x0])?e:y0(t)}});var Ea=g((sE,Rl)=>{"use strict";var T0=Sr(),Al=Function.prototype,ql=Al.apply,Pl=Al.call;Rl.exports=typeof Reflect=="object"&&Reflect.apply||(T0?Pl.bind(ql):function(){return Pl.apply(ql,arguments)})});var Br=g((oE,Nl)=>{"use strict";var O0=Ae(),S0=L();Nl.exports=function(i){if(O0(i)==="Function")return S0(i)}});var Rt=g((uE,Ml)=>{"use strict";var Il=Br(),E0=xe(),w0=Sr(),C0=Il(Il.bind);Ml.exports=function(i,e){return E0(i),e===void 0?i:w0?C0(i,e):function(){return i.apply(e,arguments)}}});var wa=g((lE,Vl)=>{"use strict";var q0=Re();Vl.exports=q0("document","documentElement")});var Dl=g((hE,_l)=>{"use strict";var P0=L();_l.exports=P0([].slice)});var kl=g((cE,Ll)=>{"use strict";var A0=TypeError;Ll.exports=function(i,e){if(i<e)throw new A0("Not enough arguments");return i}});var Ca=g((fE,Bl)=>{"use strict";var R0=Ze();Bl.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(R0)});var _a=g((vE,Xl)=>{"use strict";var ne=I(),N0=Ea(),I0=Rt(),Ul=k(),M0=he(),Yl=D(),jl=wa(),V0=Dl(),Fl=Pr(),_0=kl(),D0=Ca(),L0=Dr(),Ia=ne.setImmediate,Ma=ne.clearImmediate,k0=ne.process,qa=ne.Dispatch,B0=ne.Function,zl=ne.MessageChannel,U0=ne.String,Pa=0,Ur={},$l="onreadystatechange",jr,Fe,Aa,Ra;Yl(function(){jr=ne.location});var Va=function(i){if(M0(Ur,i)){var e=Ur[i];delete Ur[i],e()}},Na=function(i){return function(){Va(i)}},Gl=function(i){Va(i.data)},Hl=function(i){ne.postMessage(U0(i),jr.protocol+"//"+jr.host)};(!Ia||!Ma)&&(Ia=function(e){_0(arguments.length,1);var r=Ul(e)?e:B0(e),t=V0(arguments,1);return Ur[++Pa]=function(){N0(r,void 0,t)},Fe(Pa),Pa},Ma=function(e){delete Ur[e]},L0?Fe=function(i){k0.nextTick(Na(i))}:qa&&qa.now?Fe=function(i){qa.now(Na(i))}:zl&&!D0?(Aa=new zl,Ra=Aa.port2,Aa.port1.onmessage=Gl,Fe=I0(Ra.postMessage,Ra)):ne.addEventListener&&Ul(ne.postMessage)&&!ne.importScripts&&jr&&jr.protocol!=="file:"&&!Yl(Hl)?(Fe=Hl,ne.addEventListener("message",Gl,!1)):$l in Fl("script")?Fe=function(i){jl.appendChild(Fl("script"))[$l]=function(){jl.removeChild(this),Va(i)}}:Fe=function(i){setTimeout(Na(i),0)});Xl.exports={set:Ia,clear:Ma}});var Kl=g((gE,Ql)=>{"use strict";var Wl=I(),j0=ue(),F0=Object.getOwnPropertyDescriptor;Ql.exports=function(i){if(!j0)return Wl[i];var e=F0(Wl,i);return e&&e.value}});var Da=g((dE,Jl)=>{"use strict";var Zl=function(){this.head=null,this.tail=null};Zl.prototype={add:function(i){var e={item:i,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var i=this.head;if(i){var e=this.head=i.next;return e===null&&(this.tail=null),i.item}}};Jl.exports=Zl});var rh=g((pE,eh)=>{"use strict";var z0=Ze();eh.exports=/ipad|iphone|ipod/i.test(z0)&&typeof Pebble<"u"});var ih=g((yE,th)=>{"use strict";var $0=Ze();th.exports=/web0s(?!.*chrome)/i.test($0)});var hh=g((mE,lh)=>{"use strict";var tr=I(),G0=Kl(),ah=Rt(),La=_a().set,H0=Da(),Y0=Ca(),X0=rh(),W0=ih(),ka=Dr(),nh=tr.MutationObserver||tr.WebKitMutationObserver,sh=tr.document,oh=tr.process,Nt=tr.Promise,ja=G0("queueMicrotask"),rr,Ba,Ua,It,uh;ja||(Fr=new H0,zr=function(){var i,e;for(ka&&(i=oh.domain)&&i.exit();e=Fr.get();)try{e()}catch(r){throw Fr.head&&rr(),r}i&&i.enter()},!Y0&&!ka&&!W0&&nh&&sh?(Ba=!0,Ua=sh.createTextNode(""),new nh(zr).observe(Ua,{characterData:!0}),rr=function(){Ua.data=Ba=!Ba}):!X0&&Nt&&Nt.resolve?(It=Nt.resolve(void 0),It.constructor=Nt,uh=ah(It.then,It),rr=function(){uh(zr)}):ka?rr=function(){oh.nextTick(zr)}:(La=ah(La,tr),rr=function(){La(zr)}),ja=function(i){Fr.head||rr(),Fr.add(i)});var Fr,zr;lh.exports=ja});var fh=g((bE,ch)=>{"use strict";ch.exports=function(i,e){try{arguments.length===1?console.error(i):console.error(i,e)}catch{}}});var Mt=g((xE,vh)=>{"use strict";vh.exports=function(i){try{return{error:!1,value:i()}}catch(e){return{error:!0,value:e}}}});var ir=g((TE,gh)=>{"use strict";var Q0=I();gh.exports=Q0.Promise});var ar=g((OE,mh)=>{"use strict";var K0=I(),$r=ir(),Z0=k(),J0=ba(),em=yt(),rm=z(),dh=xa(),tm=ve(),Fa=ft(),ph=$r&&$r.prototype,im=rm("species"),za=!1,yh=Z0(K0.PromiseRejectionEvent),am=J0("Promise",function(){var i=em($r),e=i!==String($r);if(!e&&Fa===66||tm&&!(ph.catch&&ph.finally))return!0;if(!Fa||Fa<51||!/native code/.test(i)){var r=new $r(function(n){n(1)}),t=function(n){n(function(){},function(){})},a=r.constructor={};if(a[im]=t,za=r.then(function(){})instanceof t,!za)return!0}return!e&&(dh==="BROWSER"||dh==="DENO")&&!yh});mh.exports={CONSTRUCTOR:am,REJECTION_EVENT:yh,SUBCLASSING:za}});var nr=g((SE,xh)=>{"use strict";var bh=xe(),nm=TypeError,sm=function(i){var e,r;this.promise=new i(function(t,a){if(e!==void 0||r!==void 0)throw new nm("Bad Promise constructor");e=t,r=a}),this.resolve=bh(e),this.reject=bh(r)};xh.exports.f=function(i){return new sm(i)}});var Uh=g(()=>{"use strict";var om=ee(),um=ve(),Lt=Dr(),Ie=I(),lm=Wu(),lr=H(),Th=Ne(),Oh=Ta(),hm=Lr(),cm=hl(),fm=xe(),Dt=k(),vm=te(),gm=fl(),dm=Sa(),qh=_a().set,Xa=hh(),pm=fh(),ym=Mt(),mm=Da(),Ph=Ir(),kt=ir(),Wa=ar(),Ah=nr(),Bt="Promise",Rh=Wa.CONSTRUCTOR,bm=Wa.REJECTION_EVENT,xm=Wa.SUBCLASSING,$a=Ph.getterFor(Bt),Tm=Ph.set,sr=kt&&kt.prototype,ze=kt,Vt=sr,Nh=Ie.TypeError,Ga=Ie.document,Qa=Ie.process,Ha=Ah.f,Om=Ha,Sm=!!(Ga&&Ga.createEvent&&Ie.dispatchEvent),Ih="unhandledrejection",Em="rejectionhandled",Sh=0,Mh=1,wm=2,Ka=1,Vh=2,_t,Eh,_h,wh,Dh=function(i){var e;return vm(i)&&Dt(e=i.then)?e:!1},Lh=function(i,e){var r=e.value,t=e.state===Mh,a=t?i.ok:i.fail,n=i.resolve,o=i.reject,s=i.domain,u,l,h;try{a?(t||(e.rejection===Vh&&qm(e),e.rejection=Ka),a===!0?u=r:(s&&s.enter(),u=a(r),s&&(s.exit(),h=!0)),u===i.promise?o(new Nh("Promise-chain cycle")):(l=Dh(u))?lr(l,u,n,o):n(u)):o(r)}catch(f){s&&!h&&s.exit(),o(f)}},kh=function(i,e){i.notified||(i.notified=!0,Xa(function(){for(var r=i.reactions,t;t=r.get();)Lh(t,i);i.notified=!1,e&&!i.rejection&&Cm(i)}))},Bh=function(i,e,r){var t,a;Sm?(t=Ga.createEvent("Event"),t.promise=e,t.reason=r,t.initEvent(i,!1,!0),Ie.dispatchEvent(t)):t={promise:e,reason:r},!bm&&(a=Ie["on"+i])?a(t):i===Ih&&pm("Unhandled promise rejection",r)},Cm=function(i){lr(qh,Ie,function(){var e=i.facade,r=i.value,t=Ch(i),a;if(t&&(a=ym(function(){Lt?Qa.emit("unhandledRejection",r,e):Bh(Ih,e,r)}),i.rejection=Lt||Ch(i)?Vh:Ka,a.error))throw a.value})},Ch=function(i){return i.rejection!==Ka&&!i.parent},qm=function(i){lr(qh,Ie,function(){var e=i.facade;Lt?Qa.emit("rejectionHandled",e):Bh(Em,e,i.value)})},or=function(i,e,r){return function(t){i(e,t,r)}},ur=function(i,e,r){i.done||(i.done=!0,r&&(i=r),i.value=e,i.state=wm,kh(i,!0))},Ya=function(i,e,r){if(!i.done){i.done=!0,r&&(i=r);try{if(i.facade===e)throw new Nh("Promise can't be resolved itself");var t=Dh(e);t?Xa(function(){var a={done:!1};try{lr(t,e,or(Ya,a,i),or(ur,a,i))}catch(n){ur(a,n,i)}}):(i.value=e,i.state=Mh,kh(i,!1))}catch(a){ur({done:!1},a,i)}}};if(Rh&&(ze=function(e){gm(this,Vt),fm(e),lr(_t,this);var r=$a(this);try{e(or(Ya,r),or(ur,r))}catch(t){ur(r,t)}},Vt=ze.prototype,_t=function(e){Tm(this,{type:Bt,done:!1,notified:!1,parent:!1,reactions:new mm,rejection:!1,state:Sh,value:null})},_t.prototype=Th(Vt,"then",function(e,r){var t=$a(this),a=Ha(dm(this,ze));return t.parent=!0,a.ok=Dt(e)?e:!0,a.fail=Dt(r)&&r,a.domain=Lt?Qa.domain:void 0,t.state===Sh?t.reactions.add(a):Xa(function(){Lh(a,t)}),a.promise}),Eh=function(){var i=new _t,e=$a(i);this.promise=i,this.resolve=or(Ya,e),this.reject=or(ur,e)},Ah.f=Ha=function(i){return i===ze||i===_h?new Eh(i):Om(i)},!um&&Dt(kt)&&sr!==Object.prototype)){wh=sr.then,xm||Th(sr,"then",function(e,r){var t=this;return new ze(function(a,n){lr(wh,t,a,n)}).then(e,r)},{unsafe:!0});try{delete sr.constructor}catch{}Oh&&Oh(sr,Vt)}om({global:!0,constructor:!0,wrap:!0,forced:Rh},{Promise:ze});_h=lm.Promise;hm(ze,Bt,!1,!0);cm(Bt)});var hr=g((CE,jh)=>{"use strict";jh.exports={}});var zh=g((qE,Fh)=>{"use strict";var Pm=z(),Am=hr(),Rm=Pm("iterator"),Nm=Array.prototype;Fh.exports=function(i){return i!==void 0&&(Am.Array===i||Nm[Rm]===i)}});var Za=g((PE,Gh)=>{"use strict";var Im=At(),$h=Be(),Mm=Er(),Vm=hr(),_m=z(),Dm=_m("iterator");Gh.exports=function(i){if(!Mm(i))return $h(i,Dm)||$h(i,"@@iterator")||Vm[Im(i)]}});var Yh=g((AE,Hh)=>{"use strict";var Lm=H(),km=xe(),Bm=J(),Um=Cr(),jm=Za(),Fm=TypeError;Hh.exports=function(i,e){var r=arguments.length<2?jm(i):e;if(km(r))return Bm(Lm(r,i));throw new Fm(Um(i)+" is not iterable")}});var Qh=g((RE,Wh)=>{"use strict";var zm=H(),Xh=J(),$m=Be();Wh.exports=function(i,e,r){var t,a;Xh(i);try{if(t=$m(i,"return"),!t){if(e==="throw")throw r;return r}t=zm(t,i)}catch(n){a=!0,t=n}if(e==="throw")throw r;if(a)throw t;return Xh(t),r}});var Ja=g((NE,ec)=>{"use strict";var Gm=Rt(),Hm=H(),Ym=J(),Xm=Cr(),Wm=zh(),Qm=Et(),Kh=wr(),Km=Yh(),Zm=Za(),Zh=Qh(),Jm=TypeError,Ut=function(i,e){this.stopped=i,this.result=e},Jh=Ut.prototype;ec.exports=function(i,e,r){var t=r&&r.that,a=!!(r&&r.AS_ENTRIES),n=!!(r&&r.IS_RECORD),o=!!(r&&r.IS_ITERATOR),s=!!(r&&r.INTERRUPTED),u=Gm(e,t),l,h,f,v,c,d,p,y=function(T){return l&&Zh(l,"normal"),new Ut(!0,T)},m=function(T){return a?(Ym(T),s?u(T[0],T[1],y):u(T[0],T[1])):s?u(T,y):u(T)};if(n)l=i.iterator;else if(o)l=i;else{if(h=Zm(i),!h)throw new Jm(Xm(i)+" is not iterable");if(Wm(h)){for(f=0,v=Qm(i);v>f;f++)if(c=m(i[f]),c&&Kh(Jh,c))return c;return new Ut(!1)}l=Km(i,h)}for(d=n?i.next:l.next;!(p=Hm(d,l)).done;){try{c=m(p.value)}catch(T){Zh(l,"throw",T)}if(typeof c=="object"&&c&&Kh(Jh,c))return c}return new Ut(!1)}});var nc=g((IE,ac)=>{"use strict";var eb=z(),tc=eb("iterator"),ic=!1;try{rc=0,en={next:function(){return{done:!!rc++}},return:function(){ic=!0}},en[tc]=function(){return this},Array.from(en,function(){throw 2})}catch{}var rc,en;ac.exports=function(i,e){try{if(!e&&!ic)return!1}catch{return!1}var r=!1;try{var t={};t[tc]=function(){return{next:function(){return{done:r=!0}}}},i(t)}catch{}return r}});var rn=g((ME,sc)=>{"use strict";var rb=ir(),tb=nc(),ib=ar().CONSTRUCTOR;sc.exports=ib||!tb(function(i){rb.all(i).then(void 0,function(){})})});var oc=g(()=>{"use strict";var ab=ee(),nb=H(),sb=xe(),ob=nr(),ub=Mt(),lb=Ja(),hb=rn();ab({target:"Promise",stat:!0,forced:hb},{all:function(e){var r=this,t=ob.f(r),a=t.resolve,n=t.reject,o=ub(function(){var s=sb(r.resolve),u=[],l=0,h=1;lb(e,function(f){var v=l++,c=!1;h++,nb(s,r,f).then(function(d){c||(c=!0,u[v]=d,--h||a(u))},n)}),--h||a(u)});return o.error&&n(o.value),t.promise}})});var lc=g(()=>{"use strict";var cb=ee(),fb=ve(),vb=ar().CONSTRUCTOR,an=ir(),gb=Re(),db=k(),pb=Ne(),uc=an&&an.prototype;cb({target:"Promise",proto:!0,forced:vb,real:!0},{catch:function(i){return this.then(void 0,i)}});!fb&&db(an)&&(tn=gb("Promise").prototype.catch,uc.catch!==tn&&pb(uc,"catch",tn,{unsafe:!0}));var tn});var hc=g(()=>{"use strict";var yb=ee(),mb=H(),bb=xe(),xb=nr(),Tb=Mt(),Ob=Ja(),Sb=rn();yb({target:"Promise",stat:!0,forced:Sb},{race:function(e){var r=this,t=xb.f(r),a=t.reject,n=Tb(function(){var o=bb(r.resolve);Ob(e,function(s){mb(o,r,s).then(t.resolve,a)})});return n.error&&a(n.value),t.promise}})});var cc=g(()=>{"use strict";var Eb=ee(),wb=nr(),Cb=ar().CONSTRUCTOR;Eb({target:"Promise",stat:!0,forced:Cb},{reject:function(e){var r=wb.f(this),t=r.reject;return t(e),r.promise}})});var vc=g((FE,fc)=>{"use strict";var qb=J(),Pb=te(),Ab=nr();fc.exports=function(i,e){if(qb(i),Pb(e)&&e.constructor===i)return e;var r=Ab.f(i),t=r.resolve;return t(e),r.promise}});var pc=g(()=>{"use strict";var Rb=ee(),Nb=Re(),gc=ve(),Ib=ir(),dc=ar().CONSTRUCTOR,Mb=vc(),Vb=Nb("Promise"),_b=gc&&!dc;Rb({target:"Promise",stat:!0,forced:gc||dc},{resolve:function(e){return Mb(_b&&this===Vb?Ib:this,e)}})});var yc=g(()=>{"use strict";Uh();oc();lc();hc();cc();pc()});var de=g((XE,bc)=>{"use strict";var Db=At(),Lb=String;bc.exports=function(i){if(Db(i)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return Lb(i)}});var nn=g((WE,xc)=>{"use strict";var kb=J();xc.exports=function(){var i=kb(this),e="";return i.hasIndices&&(e+="d"),i.global&&(e+="g"),i.ignoreCase&&(e+="i"),i.multiline&&(e+="m"),i.dotAll&&(e+="s"),i.unicode&&(e+="u"),i.unicodeSets&&(e+="v"),i.sticky&&(e+="y"),e}});var ln=g((QE,Tc)=>{"use strict";var sn=D(),Bb=I(),on=Bb.RegExp,un=sn(function(){var i=on("a","y");return i.lastIndex=2,i.exec("abcd")!==null}),Ub=un||sn(function(){return!on("a","y").sticky}),jb=un||sn(function(){var i=on("^r","gy");return i.lastIndex=2,i.exec("str")!==null});Tc.exports={BROKEN_CARET:jb,MISSED_STICKY:Ub,UNSUPPORTED_Y:un}});var Sc=g((KE,Oc)=>{"use strict";var Fb=ma(),zb=wt();Oc.exports=Object.keys||function(e){return Fb(e,zb)}});var wc=g(Ec=>{"use strict";var $b=ue(),Gb=ta(),Hb=Oe(),Yb=J(),Xb=Ke(),Wb=Sc();Ec.f=$b&&!Gb?Object.defineProperties:function(e,r){Yb(e);for(var t=Xb(r),a=Wb(r),n=a.length,o=0,s;n>o;)Hb.f(e,s=a[o++],t[s]);return e}});var Gr=g((JE,Ic)=>{"use strict";var Qb=J(),Kb=wc(),Cc=wt(),Zb=bt(),Jb=wa(),ex=Pr(),rx=mt(),qc=">",Pc="<",cn="prototype",fn="script",Rc=rx("IE_PROTO"),hn=function(){},Nc=function(i){return Pc+fn+qc+i+Pc+"/"+fn+qc},Ac=function(i){i.write(Nc("")),i.close();var e=i.parentWindow.Object;return i=null,e},tx=function(){var i=ex("iframe"),e="java"+fn+":",r;return i.style.display="none",Jb.appendChild(i),i.src=String(e),r=i.contentWindow.document,r.open(),r.write(Nc("document.F=Object")),r.close(),r.F},jt,Ft=function(){try{jt=new ActiveXObject("htmlfile")}catch{}Ft=typeof document<"u"?document.domain&&jt?Ac(jt):tx():Ac(jt);for(var i=Cc.length;i--;)delete Ft[cn][Cc[i]];return Ft()};Zb[Rc]=!0;Ic.exports=Object.create||function(e,r){var t;return e!==null?(hn[cn]=Qb(e),t=new hn,hn[cn]=null,t[Rc]=e):t=Ft(),r===void 0?t:Kb.f(t,r)}});var Vc=g((ew,Mc)=>{"use strict";var ix=D(),ax=I(),nx=ax.RegExp;Mc.exports=ix(function(){var i=nx(".","s");return!(i.dotAll&&i.test(`
3
+ v1.2.0-next.62 */
4
+ import{a as Tr}from"./P6SI3ZH2.js";import{b as g,d as Z}from"./V6B7ICFF.js";var I=g((ki,Gs)=>{"use strict";var Or=function(i){return i&&i.Math===Math&&i};Gs.exports=Or(typeof globalThis=="object"&&globalThis)||Or(typeof window=="object"&&window)||Or(typeof self=="object"&&self)||Or(typeof global=="object"&&global)||Or(typeof ki=="object"&&ki)||(function(){return this})()||Function("return this")()});var D=g((VO,Hs)=>{"use strict";Hs.exports=function(i){try{return!!i()}catch{return!0}}});var ue=g((_O,Ys)=>{"use strict";var wg=D();Ys.exports=!wg(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})});var Sr=g((DO,Xs)=>{"use strict";var Cg=D();Xs.exports=!Cg(function(){var i=(function(){}).bind();return typeof i!="function"||i.hasOwnProperty("prototype")})});var H=g((LO,Ws)=>{"use strict";var qg=Sr(),lt=Function.prototype.call;Ws.exports=qg?lt.bind(lt):function(){return lt.apply(lt,arguments)}});var Js=g(Zs=>{"use strict";var Qs={}.propertyIsEnumerable,Ks=Object.getOwnPropertyDescriptor,Pg=Ks&&!Qs.call({1:2},1);Zs.f=Pg?function(e){var r=Ks(this,e);return!!r&&r.enumerable}:Qs});var ht=g((BO,eo)=>{"use strict";eo.exports=function(i,e){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:e}}});var L=g((UO,io)=>{"use strict";var ro=Sr(),to=Function.prototype,Bi=to.call,Ag=ro&&to.bind.bind(Bi,Bi);io.exports=ro?Ag:function(i){return function(){return Bi.apply(i,arguments)}}});var Ae=g((jO,no)=>{"use strict";var ao=L(),Rg=ao({}.toString),Ng=ao("".slice);no.exports=function(i){return Ng(Rg(i),8,-1)}});var ji=g((FO,so)=>{"use strict";var Ig=L(),Mg=D(),Vg=Ae(),Ui=Object,_g=Ig("".split);so.exports=Mg(function(){return!Ui("z").propertyIsEnumerable(0)})?function(i){return Vg(i)==="String"?_g(i,""):Ui(i)}:Ui});var Er=g((zO,oo)=>{"use strict";oo.exports=function(i){return i==null}});var le=g(($O,uo)=>{"use strict";var Dg=Er(),Lg=TypeError;uo.exports=function(i){if(Dg(i))throw new Lg("Can't call method on "+i);return i}});var Ke=g((GO,lo)=>{"use strict";var kg=ji(),Bg=le();lo.exports=function(i){return kg(Bg(i))}});var k=g((HO,ho)=>{"use strict";var Fi=typeof document=="object"&&document.all;ho.exports=typeof Fi>"u"&&Fi!==void 0?function(i){return typeof i=="function"||i===Fi}:function(i){return typeof i=="function"}});var te=g((YO,co)=>{"use strict";var Ug=k();co.exports=function(i){return typeof i=="object"?i!==null:Ug(i)}});var Re=g((XO,fo)=>{"use strict";var zi=I(),jg=k(),Fg=function(i){return jg(i)?i:void 0};fo.exports=function(i,e){return arguments.length<2?Fg(zi[i]):zi[i]&&zi[i][e]}});var wr=g((WO,vo)=>{"use strict";var zg=L();vo.exports=zg({}.isPrototypeOf)});var Ze=g((QO,yo)=>{"use strict";var $g=I(),go=$g.navigator,po=go&&go.userAgent;yo.exports=po?String(po):""});var ft=g((KO,So)=>{"use strict";var Oo=I(),$i=Ze(),mo=Oo.process,bo=Oo.Deno,xo=mo&&mo.versions||bo&&bo.version,To=xo&&xo.v8,fe,ct;To&&(fe=To.split("."),ct=fe[0]>0&&fe[0]<4?1:+(fe[0]+fe[1]));!ct&&$i&&(fe=$i.match(/Edge\/(\d+)/),(!fe||fe[1]>=74)&&(fe=$i.match(/Chrome\/(\d+)/),fe&&(ct=+fe[1])));So.exports=ct});var Gi=g((ZO,wo)=>{"use strict";var Eo=ft(),Gg=D(),Hg=I(),Yg=Hg.String;wo.exports=!!Object.getOwnPropertySymbols&&!Gg(function(){var i=Symbol("symbol detection");return!Yg(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&Eo&&Eo<41})});var Hi=g((JO,Co)=>{"use strict";var Xg=Gi();Co.exports=Xg&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var Yi=g((eS,qo)=>{"use strict";var Wg=Re(),Qg=k(),Kg=wr(),Zg=Hi(),Jg=Object;qo.exports=Zg?function(i){return typeof i=="symbol"}:function(i){var e=Wg("Symbol");return Qg(e)&&Kg(e.prototype,Jg(i))}});var Cr=g((rS,Po)=>{"use strict";var ed=String;Po.exports=function(i){try{return ed(i)}catch{return"Object"}}});var xe=g((tS,Ao)=>{"use strict";var rd=k(),td=Cr(),id=TypeError;Ao.exports=function(i){if(rd(i))return i;throw new id(td(i)+" is not a function")}});var Be=g((iS,Ro)=>{"use strict";var ad=xe(),nd=Er();Ro.exports=function(i,e){var r=i[e];return nd(r)?void 0:ad(r)}});var Io=g((aS,No)=>{"use strict";var Xi=H(),Wi=k(),Qi=te(),sd=TypeError;No.exports=function(i,e){var r,t;if(e==="string"&&Wi(r=i.toString)&&!Qi(t=Xi(r,i))||Wi(r=i.valueOf)&&!Qi(t=Xi(r,i))||e!=="string"&&Wi(r=i.toString)&&!Qi(t=Xi(r,i)))return t;throw new sd("Can't convert object to primitive value")}});var ve=g((nS,Mo)=>{"use strict";Mo.exports=!1});var vt=g((sS,_o)=>{"use strict";var Vo=I(),od=Object.defineProperty;_o.exports=function(i,e){try{od(Vo,i,{value:e,configurable:!0,writable:!0})}catch{Vo[i]=e}return e}});var gt=g((oS,ko)=>{"use strict";var ud=ve(),ld=I(),hd=vt(),Do="__core-js_shared__",Lo=ko.exports=ld[Do]||hd(Do,{});(Lo.versions||(Lo.versions=[])).push({version:"3.47.0",mode:ud?"pure":"global",copyright:"\xA9 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"})});var dt=g((uS,Uo)=>{"use strict";var Bo=gt();Uo.exports=function(i,e){return Bo[i]||(Bo[i]=e||{})}});var qr=g((lS,jo)=>{"use strict";var cd=le(),fd=Object;jo.exports=function(i){return fd(cd(i))}});var he=g((hS,Fo)=>{"use strict";var vd=L(),gd=qr(),dd=vd({}.hasOwnProperty);Fo.exports=Object.hasOwn||function(e,r){return dd(gd(e),r)}});var Ki=g((cS,zo)=>{"use strict";var pd=L(),yd=0,md=Math.random(),bd=pd(1.1.toString);zo.exports=function(i){return"Symbol("+(i===void 0?"":i)+")_"+bd(++yd+md,36)}});var z=g((fS,Go)=>{"use strict";var xd=I(),Td=dt(),$o=he(),Od=Ki(),Sd=Gi(),Ed=Hi(),Je=xd.Symbol,Zi=Td("wks"),wd=Ed?Je.for||Je:Je&&Je.withoutSetter||Od;Go.exports=function(i){return $o(Zi,i)||(Zi[i]=Sd&&$o(Je,i)?Je[i]:wd("Symbol."+i)),Zi[i]}});var Wo=g((vS,Xo)=>{"use strict";var Cd=H(),Ho=te(),Yo=Yi(),qd=Be(),Pd=Io(),Ad=z(),Rd=TypeError,Nd=Ad("toPrimitive");Xo.exports=function(i,e){if(!Ho(i)||Yo(i))return i;var r=qd(i,Nd),t;if(r){if(e===void 0&&(e="default"),t=Cd(r,i,e),!Ho(t)||Yo(t))return t;throw new Rd("Can't convert object to primitive value")}return e===void 0&&(e="number"),Pd(i,e)}});var Ji=g((gS,Qo)=>{"use strict";var Id=Wo(),Md=Yi();Qo.exports=function(i){var e=Id(i,"string");return Md(e)?e:e+""}});var Pr=g((dS,Zo)=>{"use strict";var Vd=I(),Ko=te(),ea=Vd.document,_d=Ko(ea)&&Ko(ea.createElement);Zo.exports=function(i){return _d?ea.createElement(i):{}}});var ra=g((pS,Jo)=>{"use strict";var Dd=ue(),Ld=D(),kd=Pr();Jo.exports=!Dd&&!Ld(function(){return Object.defineProperty(kd("div"),"a",{get:function(){return 7}}).a!==7})});var Ar=g(ru=>{"use strict";var Bd=ue(),Ud=H(),jd=Js(),Fd=ht(),zd=Ke(),$d=Ji(),Gd=he(),Hd=ra(),eu=Object.getOwnPropertyDescriptor;ru.f=Bd?eu:function(e,r){if(e=zd(e),r=$d(r),Hd)try{return eu(e,r)}catch{}if(Gd(e,r))return Fd(!Ud(jd.f,e,r),e[r])}});var ta=g((mS,tu)=>{"use strict";var Yd=ue(),Xd=D();tu.exports=Yd&&Xd(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})});var J=g((bS,iu)=>{"use strict";var Wd=te(),Qd=String,Kd=TypeError;iu.exports=function(i){if(Wd(i))return i;throw new Kd(Qd(i)+" is not an object")}});var Oe=g(nu=>{"use strict";var Zd=ue(),Jd=ra(),ep=ta(),pt=J(),au=Ji(),rp=TypeError,ia=Object.defineProperty,tp=Object.getOwnPropertyDescriptor,aa="enumerable",na="configurable",sa="writable";nu.f=Zd?ep?function(e,r,t){if(pt(e),r=au(r),pt(t),typeof e=="function"&&r==="prototype"&&"value"in t&&sa in t&&!t[sa]){var a=tp(e,r);a&&a[sa]&&(e[r]=t.value,t={configurable:na in t?t[na]:a[na],enumerable:aa in t?t[aa]:a[aa],writable:!1})}return ia(e,r,t)}:ia:function(e,r,t){if(pt(e),r=au(r),pt(t),Jd)try{return ia(e,r,t)}catch{}if("get"in t||"set"in t)throw new rp("Accessors not supported");return"value"in t&&(e[r]=t.value),e}});var er=g((TS,su)=>{"use strict";var ip=ue(),ap=Oe(),np=ht();su.exports=ip?function(i,e,r){return ap.f(i,e,np(1,r))}:function(i,e,r){return i[e]=r,i}});var Rr=g((OS,uu)=>{"use strict";var oa=ue(),sp=he(),ou=Function.prototype,op=oa&&Object.getOwnPropertyDescriptor,ua=sp(ou,"name"),up=ua&&(function(){}).name==="something",lp=ua&&(!oa||oa&&op(ou,"name").configurable);uu.exports={EXISTS:ua,PROPER:up,CONFIGURABLE:lp}});var yt=g((SS,lu)=>{"use strict";var hp=L(),cp=k(),la=gt(),fp=hp(Function.toString);cp(la.inspectSource)||(la.inspectSource=function(i){return fp(i)});lu.exports=la.inspectSource});var fu=g((ES,cu)=>{"use strict";var vp=I(),gp=k(),hu=vp.WeakMap;cu.exports=gp(hu)&&/native code/.test(String(hu))});var mt=g((wS,gu)=>{"use strict";var dp=dt(),pp=Ki(),vu=dp("keys");gu.exports=function(i){return vu[i]||(vu[i]=pp(i))}});var bt=g((CS,du)=>{"use strict";du.exports={}});var Ir=g((qS,mu)=>{"use strict";var yp=fu(),yu=I(),mp=te(),bp=er(),ha=he(),ca=gt(),xp=mt(),Tp=bt(),pu="Object already initialized",fa=yu.TypeError,Op=yu.WeakMap,xt,Nr,Tt,Sp=function(i){return Tt(i)?Nr(i):xt(i,{})},Ep=function(i){return function(e){var r;if(!mp(e)||(r=Nr(e)).type!==i)throw new fa("Incompatible receiver, "+i+" required");return r}};yp||ca.state?(ge=ca.state||(ca.state=new Op),ge.get=ge.get,ge.has=ge.has,ge.set=ge.set,xt=function(i,e){if(ge.has(i))throw new fa(pu);return e.facade=i,ge.set(i,e),e},Nr=function(i){return ge.get(i)||{}},Tt=function(i){return ge.has(i)}):(Ue=xp("state"),Tp[Ue]=!0,xt=function(i,e){if(ha(i,Ue))throw new fa(pu);return e.facade=i,bp(i,Ue,e),e},Nr=function(i){return ha(i,Ue)?i[Ue]:{}},Tt=function(i){return ha(i,Ue)});var ge,Ue;mu.exports={set:xt,get:Nr,has:Tt,enforce:Sp,getterFor:Ep}});var da=g((PS,Tu)=>{"use strict";var ga=L(),wp=D(),Cp=k(),Ot=he(),va=ue(),qp=Rr().CONFIGURABLE,Pp=yt(),xu=Ir(),Ap=xu.enforce,Rp=xu.get,bu=String,St=Object.defineProperty,Np=ga("".slice),Ip=ga("".replace),Mp=ga([].join),Vp=va&&!wp(function(){return St(function(){},"length",{value:8}).length!==8}),_p=String(String).split("String"),Dp=Tu.exports=function(i,e,r){Np(bu(e),0,7)==="Symbol("&&(e="["+Ip(bu(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!Ot(i,"name")||qp&&i.name!==e)&&(va?St(i,"name",{value:e,configurable:!0}):i.name=e),Vp&&r&&Ot(r,"arity")&&i.length!==r.arity&&St(i,"length",{value:r.arity});try{r&&Ot(r,"constructor")&&r.constructor?va&&St(i,"prototype",{writable:!1}):i.prototype&&(i.prototype=void 0)}catch{}var t=Ap(i);return Ot(t,"source")||(t.source=Mp(_p,typeof e=="string"?e:"")),i};Function.prototype.toString=Dp(function(){return Cp(this)&&Rp(this).source||Pp(this)},"toString")});var Ne=g((AS,Ou)=>{"use strict";var Lp=k(),kp=Oe(),Bp=da(),Up=vt();Ou.exports=function(i,e,r,t){t||(t={});var a=t.enumerable,n=t.name!==void 0?t.name:e;if(Lp(r)&&Bp(r,n,t),t.global)a?i[e]=r:Up(e,r);else{try{t.unsafe?i[e]&&(a=!0):delete i[e]}catch{}a?i[e]=r:kp.f(i,e,{value:r,enumerable:!1,configurable:!t.nonConfigurable,writable:!t.nonWritable})}return i}});var Eu=g((RS,Su)=>{"use strict";var jp=Math.ceil,Fp=Math.floor;Su.exports=Math.trunc||function(e){var r=+e;return(r>0?Fp:jp)(r)}});var Mr=g((NS,wu)=>{"use strict";var zp=Eu();wu.exports=function(i){var e=+i;return e!==e||e===0?0:zp(e)}});var qu=g((IS,Cu)=>{"use strict";var $p=Mr(),Gp=Math.max,Hp=Math.min;Cu.exports=function(i,e){var r=$p(i);return r<0?Gp(r+e,0):Hp(r,e)}});var je=g((MS,Pu)=>{"use strict";var Yp=Mr(),Xp=Math.min;Pu.exports=function(i){var e=Yp(i);return e>0?Xp(e,9007199254740991):0}});var Et=g((VS,Au)=>{"use strict";var Wp=je();Au.exports=function(i){return Wp(i.length)}});var pa=g((_S,Nu)=>{"use strict";var Qp=Ke(),Kp=qu(),Zp=Et(),Ru=function(i){return function(e,r,t){var a=Qp(e),n=Zp(a);if(n===0)return!i&&-1;var o=Kp(t,n),s;if(i&&r!==r){for(;n>o;)if(s=a[o++],s!==s)return!0}else for(;n>o;o++)if((i||o in a)&&a[o]===r)return i||o||0;return!i&&-1}};Nu.exports={includes:Ru(!0),indexOf:Ru(!1)}});var ma=g((DS,Mu)=>{"use strict";var Jp=L(),ya=he(),ey=Ke(),ry=pa().indexOf,ty=bt(),Iu=Jp([].push);Mu.exports=function(i,e){var r=ey(i),t=0,a=[],n;for(n in r)!ya(ty,n)&&ya(r,n)&&Iu(a,n);for(;e.length>t;)ya(r,n=e[t++])&&(~ry(a,n)||Iu(a,n));return a}});var wt=g((LS,Vu)=>{"use strict";Vu.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var Du=g(_u=>{"use strict";var iy=ma(),ay=wt(),ny=ay.concat("length","prototype");_u.f=Object.getOwnPropertyNames||function(e){return iy(e,ny)}});var ku=g(Lu=>{"use strict";Lu.f=Object.getOwnPropertySymbols});var Uu=g((US,Bu)=>{"use strict";var sy=Re(),oy=L(),uy=Du(),ly=ku(),hy=J(),cy=oy([].concat);Bu.exports=sy("Reflect","ownKeys")||function(e){var r=uy.f(hy(e)),t=ly.f;return t?cy(r,t(e)):r}});var zu=g((jS,Fu)=>{"use strict";var ju=he(),fy=Uu(),vy=Ar(),gy=Oe();Fu.exports=function(i,e,r){for(var t=fy(e),a=gy.f,n=vy.f,o=0;o<t.length;o++){var s=t[o];!ju(i,s)&&!(r&&ju(r,s))&&a(i,s,n(e,s))}}});var ba=g((FS,$u)=>{"use strict";var dy=D(),py=k(),yy=/#|\.prototype\./,Vr=function(i,e){var r=by[my(i)];return r===Ty?!0:r===xy?!1:py(e)?dy(e):!!e},my=Vr.normalize=function(i){return String(i).replace(yy,".").toLowerCase()},by=Vr.data={},xy=Vr.NATIVE="N",Ty=Vr.POLYFILL="P";$u.exports=Vr});var ee=g((zS,Gu)=>{"use strict";var Ct=I(),Oy=Ar().f,Sy=er(),Ey=Ne(),wy=vt(),Cy=zu(),qy=ba();Gu.exports=function(i,e){var r=i.target,t=i.global,a=i.stat,n,o,s,u,l,h;if(t?o=Ct:a?o=Ct[r]||wy(r,{}):o=Ct[r]&&Ct[r].prototype,o)for(s in e){if(l=e[s],i.dontCallGetSet?(h=Oy(o,s),u=h&&h.value):u=o[s],n=qy(t?s:r+(a?".":"#")+s,i.forced),!n&&u!==void 0){if(typeof l==typeof u)continue;Cy(l,u)}(i.sham||u&&u.sham)&&Sy(l,"sham",!0),Ey(o,s,l,i)}}});var xa=g(($S,Hu)=>{"use strict";var _r=I(),Py=Ze(),Ay=Ae(),qt=function(i){return Py.slice(0,i.length)===i};Hu.exports=(function(){return qt("Bun/")?"BUN":qt("Cloudflare-Workers")?"CLOUDFLARE":qt("Deno/")?"DENO":qt("Node.js/")?"NODE":_r.Bun&&typeof Bun.version=="string"?"BUN":_r.Deno&&typeof Deno.version=="object"?"DENO":Ay(_r.process)==="process"?"NODE":_r.window&&_r.document?"BROWSER":"REST"})()});var Dr=g((GS,Yu)=>{"use strict";var Ry=xa();Yu.exports=Ry==="NODE"});var Wu=g((HS,Xu)=>{"use strict";var Ny=I();Xu.exports=Ny});var Ku=g((YS,Qu)=>{"use strict";var Iy=L(),My=xe();Qu.exports=function(i,e,r){try{return Iy(My(Object.getOwnPropertyDescriptor(i,e)[r]))}catch{}}});var Ju=g((XS,Zu)=>{"use strict";var Vy=te();Zu.exports=function(i){return Vy(i)||i===null}});var rl=g((WS,el)=>{"use strict";var _y=Ju(),Dy=String,Ly=TypeError;el.exports=function(i){if(_y(i))return i;throw new Ly("Can't set "+Dy(i)+" as a prototype")}});var Ta=g((QS,tl)=>{"use strict";var ky=Ku(),By=te(),Uy=le(),jy=rl();tl.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var i=!1,e={},r;try{r=ky(Object.prototype,"__proto__","set"),r(e,[]),i=e instanceof Array}catch{}return function(a,n){return Uy(a),jy(n),By(a)&&(i?r(a,n):a.__proto__=n),a}})():void 0)});var Lr=g((KS,al)=>{"use strict";var Fy=Oe().f,zy=he(),$y=z(),il=$y("toStringTag");al.exports=function(i,e,r){i&&!r&&(i=i.prototype),i&&!zy(i,il)&&Fy(i,il,{configurable:!0,value:e})}});var ol=g((ZS,sl)=>{"use strict";var nl=da(),Gy=Oe();sl.exports=function(i,e,r){return r.get&&nl(r.get,e,{getter:!0}),r.set&&nl(r.set,e,{setter:!0}),Gy.f(i,e,r)}});var hl=g((JS,ll)=>{"use strict";var Hy=Re(),Yy=ol(),Xy=z(),Wy=ue(),ul=Xy("species");ll.exports=function(i){var e=Hy(i);Wy&&e&&!e[ul]&&Yy(e,ul,{configurable:!0,get:function(){return this}})}});var fl=g((eE,cl)=>{"use strict";var Qy=wr(),Ky=TypeError;cl.exports=function(i,e){if(Qy(e,i))return i;throw new Ky("Incorrect invocation")}});var dl=g((rE,gl)=>{"use strict";var Zy=z(),Jy=Zy("toStringTag"),vl={};vl[Jy]="z";gl.exports=String(vl)==="[object z]"});var At=g((tE,pl)=>{"use strict";var e0=dl(),r0=k(),Pt=Ae(),t0=z(),i0=t0("toStringTag"),a0=Object,n0=Pt((function(){return arguments})())==="Arguments",s0=function(i,e){try{return i[e]}catch{}};pl.exports=e0?Pt:function(i){var e,r,t;return i===void 0?"Undefined":i===null?"Null":typeof(r=s0(e=a0(i),i0))=="string"?r:n0?Pt(e):(t=Pt(e))==="Object"&&r0(e.callee)?"Arguments":t}});var Ol=g((iE,Tl)=>{"use strict";var o0=L(),u0=D(),yl=k(),l0=At(),h0=Re(),c0=yt(),ml=function(){},bl=h0("Reflect","construct"),Oa=/^\s*(?:class|function)\b/,f0=o0(Oa.exec),v0=!Oa.test(ml),kr=function(e){if(!yl(e))return!1;try{return bl(ml,[],e),!0}catch{return!1}},xl=function(e){if(!yl(e))return!1;switch(l0(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v0||!!f0(Oa,c0(e))}catch{return!0}};xl.sham=!0;Tl.exports=!bl||u0(function(){var i;return kr(kr.call)||!kr(Object)||!kr(function(){i=!0})||i})?xl:kr});var El=g((aE,Sl)=>{"use strict";var g0=Ol(),d0=Cr(),p0=TypeError;Sl.exports=function(i){if(g0(i))return i;throw new p0(d0(i)+" is not a constructor")}});var Sa=g((nE,Cl)=>{"use strict";var wl=J(),y0=El(),m0=Er(),b0=z(),x0=b0("species");Cl.exports=function(i,e){var r=wl(i).constructor,t;return r===void 0||m0(t=wl(r)[x0])?e:y0(t)}});var Ea=g((sE,Rl)=>{"use strict";var T0=Sr(),Al=Function.prototype,ql=Al.apply,Pl=Al.call;Rl.exports=typeof Reflect=="object"&&Reflect.apply||(T0?Pl.bind(ql):function(){return Pl.apply(ql,arguments)})});var Br=g((oE,Nl)=>{"use strict";var O0=Ae(),S0=L();Nl.exports=function(i){if(O0(i)==="Function")return S0(i)}});var Rt=g((uE,Ml)=>{"use strict";var Il=Br(),E0=xe(),w0=Sr(),C0=Il(Il.bind);Ml.exports=function(i,e){return E0(i),e===void 0?i:w0?C0(i,e):function(){return i.apply(e,arguments)}}});var wa=g((lE,Vl)=>{"use strict";var q0=Re();Vl.exports=q0("document","documentElement")});var Dl=g((hE,_l)=>{"use strict";var P0=L();_l.exports=P0([].slice)});var kl=g((cE,Ll)=>{"use strict";var A0=TypeError;Ll.exports=function(i,e){if(i<e)throw new A0("Not enough arguments");return i}});var Ca=g((fE,Bl)=>{"use strict";var R0=Ze();Bl.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(R0)});var _a=g((vE,Xl)=>{"use strict";var ne=I(),N0=Ea(),I0=Rt(),Ul=k(),M0=he(),Yl=D(),jl=wa(),V0=Dl(),Fl=Pr(),_0=kl(),D0=Ca(),L0=Dr(),Ia=ne.setImmediate,Ma=ne.clearImmediate,k0=ne.process,qa=ne.Dispatch,B0=ne.Function,zl=ne.MessageChannel,U0=ne.String,Pa=0,Ur={},$l="onreadystatechange",jr,Fe,Aa,Ra;Yl(function(){jr=ne.location});var Va=function(i){if(M0(Ur,i)){var e=Ur[i];delete Ur[i],e()}},Na=function(i){return function(){Va(i)}},Gl=function(i){Va(i.data)},Hl=function(i){ne.postMessage(U0(i),jr.protocol+"//"+jr.host)};(!Ia||!Ma)&&(Ia=function(e){_0(arguments.length,1);var r=Ul(e)?e:B0(e),t=V0(arguments,1);return Ur[++Pa]=function(){N0(r,void 0,t)},Fe(Pa),Pa},Ma=function(e){delete Ur[e]},L0?Fe=function(i){k0.nextTick(Na(i))}:qa&&qa.now?Fe=function(i){qa.now(Na(i))}:zl&&!D0?(Aa=new zl,Ra=Aa.port2,Aa.port1.onmessage=Gl,Fe=I0(Ra.postMessage,Ra)):ne.addEventListener&&Ul(ne.postMessage)&&!ne.importScripts&&jr&&jr.protocol!=="file:"&&!Yl(Hl)?(Fe=Hl,ne.addEventListener("message",Gl,!1)):$l in Fl("script")?Fe=function(i){jl.appendChild(Fl("script"))[$l]=function(){jl.removeChild(this),Va(i)}}:Fe=function(i){setTimeout(Na(i),0)});Xl.exports={set:Ia,clear:Ma}});var Kl=g((gE,Ql)=>{"use strict";var Wl=I(),j0=ue(),F0=Object.getOwnPropertyDescriptor;Ql.exports=function(i){if(!j0)return Wl[i];var e=F0(Wl,i);return e&&e.value}});var Da=g((dE,Jl)=>{"use strict";var Zl=function(){this.head=null,this.tail=null};Zl.prototype={add:function(i){var e={item:i,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var i=this.head;if(i){var e=this.head=i.next;return e===null&&(this.tail=null),i.item}}};Jl.exports=Zl});var rh=g((pE,eh)=>{"use strict";var z0=Ze();eh.exports=/ipad|iphone|ipod/i.test(z0)&&typeof Pebble<"u"});var ih=g((yE,th)=>{"use strict";var $0=Ze();th.exports=/web0s(?!.*chrome)/i.test($0)});var hh=g((mE,lh)=>{"use strict";var tr=I(),G0=Kl(),ah=Rt(),La=_a().set,H0=Da(),Y0=Ca(),X0=rh(),W0=ih(),ka=Dr(),nh=tr.MutationObserver||tr.WebKitMutationObserver,sh=tr.document,oh=tr.process,Nt=tr.Promise,ja=G0("queueMicrotask"),rr,Ba,Ua,It,uh;ja||(Fr=new H0,zr=function(){var i,e;for(ka&&(i=oh.domain)&&i.exit();e=Fr.get();)try{e()}catch(r){throw Fr.head&&rr(),r}i&&i.enter()},!Y0&&!ka&&!W0&&nh&&sh?(Ba=!0,Ua=sh.createTextNode(""),new nh(zr).observe(Ua,{characterData:!0}),rr=function(){Ua.data=Ba=!Ba}):!X0&&Nt&&Nt.resolve?(It=Nt.resolve(void 0),It.constructor=Nt,uh=ah(It.then,It),rr=function(){uh(zr)}):ka?rr=function(){oh.nextTick(zr)}:(La=ah(La,tr),rr=function(){La(zr)}),ja=function(i){Fr.head||rr(),Fr.add(i)});var Fr,zr;lh.exports=ja});var fh=g((bE,ch)=>{"use strict";ch.exports=function(i,e){try{arguments.length===1?console.error(i):console.error(i,e)}catch{}}});var Mt=g((xE,vh)=>{"use strict";vh.exports=function(i){try{return{error:!1,value:i()}}catch(e){return{error:!0,value:e}}}});var ir=g((TE,gh)=>{"use strict";var Q0=I();gh.exports=Q0.Promise});var ar=g((OE,mh)=>{"use strict";var K0=I(),$r=ir(),Z0=k(),J0=ba(),em=yt(),rm=z(),dh=xa(),tm=ve(),Fa=ft(),ph=$r&&$r.prototype,im=rm("species"),za=!1,yh=Z0(K0.PromiseRejectionEvent),am=J0("Promise",function(){var i=em($r),e=i!==String($r);if(!e&&Fa===66||tm&&!(ph.catch&&ph.finally))return!0;if(!Fa||Fa<51||!/native code/.test(i)){var r=new $r(function(n){n(1)}),t=function(n){n(function(){},function(){})},a=r.constructor={};if(a[im]=t,za=r.then(function(){})instanceof t,!za)return!0}return!e&&(dh==="BROWSER"||dh==="DENO")&&!yh});mh.exports={CONSTRUCTOR:am,REJECTION_EVENT:yh,SUBCLASSING:za}});var nr=g((SE,xh)=>{"use strict";var bh=xe(),nm=TypeError,sm=function(i){var e,r;this.promise=new i(function(t,a){if(e!==void 0||r!==void 0)throw new nm("Bad Promise constructor");e=t,r=a}),this.resolve=bh(e),this.reject=bh(r)};xh.exports.f=function(i){return new sm(i)}});var Uh=g(()=>{"use strict";var om=ee(),um=ve(),Lt=Dr(),Ie=I(),lm=Wu(),lr=H(),Th=Ne(),Oh=Ta(),hm=Lr(),cm=hl(),fm=xe(),Dt=k(),vm=te(),gm=fl(),dm=Sa(),qh=_a().set,Xa=hh(),pm=fh(),ym=Mt(),mm=Da(),Ph=Ir(),kt=ir(),Wa=ar(),Ah=nr(),Bt="Promise",Rh=Wa.CONSTRUCTOR,bm=Wa.REJECTION_EVENT,xm=Wa.SUBCLASSING,$a=Ph.getterFor(Bt),Tm=Ph.set,sr=kt&&kt.prototype,ze=kt,Vt=sr,Nh=Ie.TypeError,Ga=Ie.document,Qa=Ie.process,Ha=Ah.f,Om=Ha,Sm=!!(Ga&&Ga.createEvent&&Ie.dispatchEvent),Ih="unhandledrejection",Em="rejectionhandled",Sh=0,Mh=1,wm=2,Ka=1,Vh=2,_t,Eh,_h,wh,Dh=function(i){var e;return vm(i)&&Dt(e=i.then)?e:!1},Lh=function(i,e){var r=e.value,t=e.state===Mh,a=t?i.ok:i.fail,n=i.resolve,o=i.reject,s=i.domain,u,l,h;try{a?(t||(e.rejection===Vh&&qm(e),e.rejection=Ka),a===!0?u=r:(s&&s.enter(),u=a(r),s&&(s.exit(),h=!0)),u===i.promise?o(new Nh("Promise-chain cycle")):(l=Dh(u))?lr(l,u,n,o):n(u)):o(r)}catch(f){s&&!h&&s.exit(),o(f)}},kh=function(i,e){i.notified||(i.notified=!0,Xa(function(){for(var r=i.reactions,t;t=r.get();)Lh(t,i);i.notified=!1,e&&!i.rejection&&Cm(i)}))},Bh=function(i,e,r){var t,a;Sm?(t=Ga.createEvent("Event"),t.promise=e,t.reason=r,t.initEvent(i,!1,!0),Ie.dispatchEvent(t)):t={promise:e,reason:r},!bm&&(a=Ie["on"+i])?a(t):i===Ih&&pm("Unhandled promise rejection",r)},Cm=function(i){lr(qh,Ie,function(){var e=i.facade,r=i.value,t=Ch(i),a;if(t&&(a=ym(function(){Lt?Qa.emit("unhandledRejection",r,e):Bh(Ih,e,r)}),i.rejection=Lt||Ch(i)?Vh:Ka,a.error))throw a.value})},Ch=function(i){return i.rejection!==Ka&&!i.parent},qm=function(i){lr(qh,Ie,function(){var e=i.facade;Lt?Qa.emit("rejectionHandled",e):Bh(Em,e,i.value)})},or=function(i,e,r){return function(t){i(e,t,r)}},ur=function(i,e,r){i.done||(i.done=!0,r&&(i=r),i.value=e,i.state=wm,kh(i,!0))},Ya=function(i,e,r){if(!i.done){i.done=!0,r&&(i=r);try{if(i.facade===e)throw new Nh("Promise can't be resolved itself");var t=Dh(e);t?Xa(function(){var a={done:!1};try{lr(t,e,or(Ya,a,i),or(ur,a,i))}catch(n){ur(a,n,i)}}):(i.value=e,i.state=Mh,kh(i,!1))}catch(a){ur({done:!1},a,i)}}};if(Rh&&(ze=function(e){gm(this,Vt),fm(e),lr(_t,this);var r=$a(this);try{e(or(Ya,r),or(ur,r))}catch(t){ur(r,t)}},Vt=ze.prototype,_t=function(e){Tm(this,{type:Bt,done:!1,notified:!1,parent:!1,reactions:new mm,rejection:!1,state:Sh,value:null})},_t.prototype=Th(Vt,"then",function(e,r){var t=$a(this),a=Ha(dm(this,ze));return t.parent=!0,a.ok=Dt(e)?e:!0,a.fail=Dt(r)&&r,a.domain=Lt?Qa.domain:void 0,t.state===Sh?t.reactions.add(a):Xa(function(){Lh(a,t)}),a.promise}),Eh=function(){var i=new _t,e=$a(i);this.promise=i,this.resolve=or(Ya,e),this.reject=or(ur,e)},Ah.f=Ha=function(i){return i===ze||i===_h?new Eh(i):Om(i)},!um&&Dt(kt)&&sr!==Object.prototype)){wh=sr.then,xm||Th(sr,"then",function(e,r){var t=this;return new ze(function(a,n){lr(wh,t,a,n)}).then(e,r)},{unsafe:!0});try{delete sr.constructor}catch{}Oh&&Oh(sr,Vt)}om({global:!0,constructor:!0,wrap:!0,forced:Rh},{Promise:ze});_h=lm.Promise;hm(ze,Bt,!1,!0);cm(Bt)});var hr=g((CE,jh)=>{"use strict";jh.exports={}});var zh=g((qE,Fh)=>{"use strict";var Pm=z(),Am=hr(),Rm=Pm("iterator"),Nm=Array.prototype;Fh.exports=function(i){return i!==void 0&&(Am.Array===i||Nm[Rm]===i)}});var Za=g((PE,Gh)=>{"use strict";var Im=At(),$h=Be(),Mm=Er(),Vm=hr(),_m=z(),Dm=_m("iterator");Gh.exports=function(i){if(!Mm(i))return $h(i,Dm)||$h(i,"@@iterator")||Vm[Im(i)]}});var Yh=g((AE,Hh)=>{"use strict";var Lm=H(),km=xe(),Bm=J(),Um=Cr(),jm=Za(),Fm=TypeError;Hh.exports=function(i,e){var r=arguments.length<2?jm(i):e;if(km(r))return Bm(Lm(r,i));throw new Fm(Um(i)+" is not iterable")}});var Qh=g((RE,Wh)=>{"use strict";var zm=H(),Xh=J(),$m=Be();Wh.exports=function(i,e,r){var t,a;Xh(i);try{if(t=$m(i,"return"),!t){if(e==="throw")throw r;return r}t=zm(t,i)}catch(n){a=!0,t=n}if(e==="throw")throw r;if(a)throw t;return Xh(t),r}});var Ja=g((NE,ec)=>{"use strict";var Gm=Rt(),Hm=H(),Ym=J(),Xm=Cr(),Wm=zh(),Qm=Et(),Kh=wr(),Km=Yh(),Zm=Za(),Zh=Qh(),Jm=TypeError,Ut=function(i,e){this.stopped=i,this.result=e},Jh=Ut.prototype;ec.exports=function(i,e,r){var t=r&&r.that,a=!!(r&&r.AS_ENTRIES),n=!!(r&&r.IS_RECORD),o=!!(r&&r.IS_ITERATOR),s=!!(r&&r.INTERRUPTED),u=Gm(e,t),l,h,f,v,c,d,p,y=function(T){return l&&Zh(l,"normal"),new Ut(!0,T)},m=function(T){return a?(Ym(T),s?u(T[0],T[1],y):u(T[0],T[1])):s?u(T,y):u(T)};if(n)l=i.iterator;else if(o)l=i;else{if(h=Zm(i),!h)throw new Jm(Xm(i)+" is not iterable");if(Wm(h)){for(f=0,v=Qm(i);v>f;f++)if(c=m(i[f]),c&&Kh(Jh,c))return c;return new Ut(!1)}l=Km(i,h)}for(d=n?i.next:l.next;!(p=Hm(d,l)).done;){try{c=m(p.value)}catch(T){Zh(l,"throw",T)}if(typeof c=="object"&&c&&Kh(Jh,c))return c}return new Ut(!1)}});var nc=g((IE,ac)=>{"use strict";var eb=z(),tc=eb("iterator"),ic=!1;try{rc=0,en={next:function(){return{done:!!rc++}},return:function(){ic=!0}},en[tc]=function(){return this},Array.from(en,function(){throw 2})}catch{}var rc,en;ac.exports=function(i,e){try{if(!e&&!ic)return!1}catch{return!1}var r=!1;try{var t={};t[tc]=function(){return{next:function(){return{done:r=!0}}}},i(t)}catch{}return r}});var rn=g((ME,sc)=>{"use strict";var rb=ir(),tb=nc(),ib=ar().CONSTRUCTOR;sc.exports=ib||!tb(function(i){rb.all(i).then(void 0,function(){})})});var oc=g(()=>{"use strict";var ab=ee(),nb=H(),sb=xe(),ob=nr(),ub=Mt(),lb=Ja(),hb=rn();ab({target:"Promise",stat:!0,forced:hb},{all:function(e){var r=this,t=ob.f(r),a=t.resolve,n=t.reject,o=ub(function(){var s=sb(r.resolve),u=[],l=0,h=1;lb(e,function(f){var v=l++,c=!1;h++,nb(s,r,f).then(function(d){c||(c=!0,u[v]=d,--h||a(u))},n)}),--h||a(u)});return o.error&&n(o.value),t.promise}})});var lc=g(()=>{"use strict";var cb=ee(),fb=ve(),vb=ar().CONSTRUCTOR,an=ir(),gb=Re(),db=k(),pb=Ne(),uc=an&&an.prototype;cb({target:"Promise",proto:!0,forced:vb,real:!0},{catch:function(i){return this.then(void 0,i)}});!fb&&db(an)&&(tn=gb("Promise").prototype.catch,uc.catch!==tn&&pb(uc,"catch",tn,{unsafe:!0}));var tn});var hc=g(()=>{"use strict";var yb=ee(),mb=H(),bb=xe(),xb=nr(),Tb=Mt(),Ob=Ja(),Sb=rn();yb({target:"Promise",stat:!0,forced:Sb},{race:function(e){var r=this,t=xb.f(r),a=t.reject,n=Tb(function(){var o=bb(r.resolve);Ob(e,function(s){mb(o,r,s).then(t.resolve,a)})});return n.error&&a(n.value),t.promise}})});var cc=g(()=>{"use strict";var Eb=ee(),wb=nr(),Cb=ar().CONSTRUCTOR;Eb({target:"Promise",stat:!0,forced:Cb},{reject:function(e){var r=wb.f(this),t=r.reject;return t(e),r.promise}})});var vc=g((FE,fc)=>{"use strict";var qb=J(),Pb=te(),Ab=nr();fc.exports=function(i,e){if(qb(i),Pb(e)&&e.constructor===i)return e;var r=Ab.f(i),t=r.resolve;return t(e),r.promise}});var pc=g(()=>{"use strict";var Rb=ee(),Nb=Re(),gc=ve(),Ib=ir(),dc=ar().CONSTRUCTOR,Mb=vc(),Vb=Nb("Promise"),_b=gc&&!dc;Rb({target:"Promise",stat:!0,forced:gc||dc},{resolve:function(e){return Mb(_b&&this===Vb?Ib:this,e)}})});var yc=g(()=>{"use strict";Uh();oc();lc();hc();cc();pc()});var de=g((XE,bc)=>{"use strict";var Db=At(),Lb=String;bc.exports=function(i){if(Db(i)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return Lb(i)}});var nn=g((WE,xc)=>{"use strict";var kb=J();xc.exports=function(){var i=kb(this),e="";return i.hasIndices&&(e+="d"),i.global&&(e+="g"),i.ignoreCase&&(e+="i"),i.multiline&&(e+="m"),i.dotAll&&(e+="s"),i.unicode&&(e+="u"),i.unicodeSets&&(e+="v"),i.sticky&&(e+="y"),e}});var ln=g((QE,Tc)=>{"use strict";var sn=D(),Bb=I(),on=Bb.RegExp,un=sn(function(){var i=on("a","y");return i.lastIndex=2,i.exec("abcd")!==null}),Ub=un||sn(function(){return!on("a","y").sticky}),jb=un||sn(function(){var i=on("^r","gy");return i.lastIndex=2,i.exec("str")!==null});Tc.exports={BROKEN_CARET:jb,MISSED_STICKY:Ub,UNSUPPORTED_Y:un}});var Sc=g((KE,Oc)=>{"use strict";var Fb=ma(),zb=wt();Oc.exports=Object.keys||function(e){return Fb(e,zb)}});var wc=g(Ec=>{"use strict";var $b=ue(),Gb=ta(),Hb=Oe(),Yb=J(),Xb=Ke(),Wb=Sc();Ec.f=$b&&!Gb?Object.defineProperties:function(e,r){Yb(e);for(var t=Xb(r),a=Wb(r),n=a.length,o=0,s;n>o;)Hb.f(e,s=a[o++],t[s]);return e}});var Gr=g((JE,Ic)=>{"use strict";var Qb=J(),Kb=wc(),Cc=wt(),Zb=bt(),Jb=wa(),ex=Pr(),rx=mt(),qc=">",Pc="<",cn="prototype",fn="script",Rc=rx("IE_PROTO"),hn=function(){},Nc=function(i){return Pc+fn+qc+i+Pc+"/"+fn+qc},Ac=function(i){i.write(Nc("")),i.close();var e=i.parentWindow.Object;return i=null,e},tx=function(){var i=ex("iframe"),e="java"+fn+":",r;return i.style.display="none",Jb.appendChild(i),i.src=String(e),r=i.contentWindow.document,r.open(),r.write(Nc("document.F=Object")),r.close(),r.F},jt,Ft=function(){try{jt=new ActiveXObject("htmlfile")}catch{}Ft=typeof document<"u"?document.domain&&jt?Ac(jt):tx():Ac(jt);for(var i=Cc.length;i--;)delete Ft[cn][Cc[i]];return Ft()};Zb[Rc]=!0;Ic.exports=Object.create||function(e,r){var t;return e!==null?(hn[cn]=Qb(e),t=new hn,hn[cn]=null,t[Rc]=e):t=Ft(),r===void 0?t:Kb.f(t,r)}});var Vc=g((ew,Mc)=>{"use strict";var ix=D(),ax=I(),nx=ax.RegExp;Mc.exports=ix(function(){var i=nx(".","s");return!(i.dotAll&&i.test(`
5
5
  `)&&i.flags==="s")})});var Dc=g((rw,_c)=>{"use strict";var sx=D(),ox=I(),ux=ox.RegExp;_c.exports=sx(function(){var i=ux("(?<a>b)","g");return i.exec("b").groups.a!=="b"||"b".replace(i,"$<a>c")!=="bc"})});var Gt=g((tw,kc)=>{"use strict";var cr=H(),$t=L(),lx=de(),hx=nn(),cx=ln(),fx=dt(),vx=Gr(),gx=Ir().get,dx=Vc(),px=Dc(),yx=fx("native-string-replace",String.prototype.replace),zt=RegExp.prototype.exec,gn=zt,mx=$t("".charAt),bx=$t("".indexOf),xx=$t("".replace),vn=$t("".slice),dn=(function(){var i=/a/,e=/b*/g;return cr(zt,i,"a"),cr(zt,e,"a"),i.lastIndex!==0||e.lastIndex!==0})(),Lc=cx.BROKEN_CARET,pn=/()??/.exec("")[1]!==void 0,Tx=dn||pn||Lc||dx||px;Tx&&(gn=function(e){var r=this,t=gx(r),a=lx(e),n=t.raw,o,s,u,l,h,f,v;if(n)return n.lastIndex=r.lastIndex,o=cr(gn,n,a),r.lastIndex=n.lastIndex,o;var c=t.groups,d=Lc&&r.sticky,p=cr(hx,r),y=r.source,m=0,T=a;if(d&&(p=xx(p,"y",""),bx(p,"g")===-1&&(p+="g"),T=vn(a,r.lastIndex),r.lastIndex>0&&(!r.multiline||r.multiline&&mx(a,r.lastIndex-1)!==`
6
6
  `)&&(y="(?: "+y+")",T=" "+T,m++),s=new RegExp("^(?:"+y+")",p)),pn&&(s=new RegExp("^"+y+"$(?!\\s)",p)),dn&&(u=r.lastIndex),l=cr(zt,d?s:r,T),d?l?(l.input=vn(l.input,m),l[0]=vn(l[0],m),l.index=r.lastIndex,r.lastIndex+=l[0].length):r.lastIndex=0:dn&&l&&(r.lastIndex=r.global?l.index+l[0].length:u),pn&&l&&l.length>1&&cr(yx,l[0],s,function(){for(h=1;h<arguments.length-2;h++)arguments[h]===void 0&&(l[h]=void 0)}),l&&c)for(l.groups=f=vx(null),h=0;h<c.length;h++)v=c[h],f[v[0]]=l[v[1]];return l});kc.exports=gn});var Uc=g(()=>{"use strict";var Ox=ee(),Bc=Gt();Ox({target:"RegExp",proto:!0,forced:/./.exec!==Bc},{exec:Bc})});var Ht=g((nw,Gc)=>{"use strict";Uc();var jc=H(),Fc=Ne(),Sx=Gt(),zc=D(),$c=z(),Ex=er(),wx=$c("species"),yn=RegExp.prototype;Gc.exports=function(i,e,r,t){var a=$c(i),n=!zc(function(){var l={};return l[a]=function(){return 7},""[i](l)!==7}),o=n&&!zc(function(){var l=!1,h=/a/;if(i==="split"){var f={};f[wx]=function(){return h},h={constructor:f,flags:""},h[a]=/./[a]}return h.exec=function(){return l=!0,null},h[a](""),!l});if(!n||!o||r){var s=/./[a],u=e(a,""[i],function(l,h,f,v,c){var d=h.exec;return d===Sx||d===yn.exec?n&&!c?{done:!0,value:jc(s,h,f,v)}:{done:!0,value:jc(l,f,h,v)}:{done:!1}});Fc(String.prototype,i,u[0]),Fc(yn,a,u[1])}t&&Ex(yn[a],"sham",!0)}});var Wc=g((sw,Xc)=>{"use strict";var mn=L(),Cx=Mr(),qx=de(),Px=le(),Ax=mn("".charAt),Hc=mn("".charCodeAt),Rx=mn("".slice),Yc=function(i){return function(e,r){var t=qx(Px(e)),a=Cx(r),n=t.length,o,s;return a<0||a>=n?i?"":void 0:(o=Hc(t,a),o<55296||o>56319||a+1===n||(s=Hc(t,a+1))<56320||s>57343?i?Ax(t,a):o:i?Rx(t,a,a+2):(o-55296<<10)+(s-56320)+65536)}};Xc.exports={codeAt:Yc(!1),charAt:Yc(!0)}});var Yt=g((ow,Qc)=>{"use strict";var Nx=Wc().charAt;Qc.exports=function(i,e,r){return e+(r?Nx(i,e).length:1)}});var Jc=g((uw,Zc)=>{"use strict";var Ix=I(),Mx=D(),Kc=Ix.RegExp,Vx=!Mx(function(){var i=!0;try{Kc(".","d")}catch{i=!1}var e={},r="",t=i?"dgimsy":"gimsy",a=function(u,l){Object.defineProperty(e,u,{get:function(){return r+=l,!0}})},n={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};i&&(n.hasIndices="d");for(var o in n)a(o,n[o]);var s=Object.getOwnPropertyDescriptor(Kc.prototype,"flags").get.call(e);return s!==t||r!==t});Zc.exports={correct:Vx}});var Xt=g((lw,rf)=>{"use strict";var _x=H(),Dx=he(),Lx=wr(),ef=Jc(),kx=nn(),Bx=RegExp.prototype;rf.exports=ef.correct?function(i){return i.flags}:function(i){return!ef.correct&&Lx(Bx,i)&&!Dx(i,"flags")?_x(kx,i):i.flags}});var Wt=g((hw,af)=>{"use strict";var tf=H(),Ux=J(),jx=k(),Fx=Ae(),zx=Gt(),$x=TypeError;af.exports=function(i,e){var r=i.exec;if(jx(r)){var t=tf(r,i,e);return t!==null&&Ux(t),t}if(Fx(i)==="RegExp")return tf(zx,i,e);throw new $x("RegExp#exec called on incompatible receiver")}});var of=g(()=>{"use strict";var Gx=H(),Hx=L(),Yx=Ht(),Xx=J(),Wx=te(),Qx=je(),Qt=de(),Kx=le(),Zx=Be(),Jx=Yt(),e1=Xt(),nf=Wt(),sf=Hx("".indexOf);Yx("match",function(i,e,r){return[function(a){var n=Kx(this),o=Wx(a)?Zx(a,i):void 0;return o?Gx(o,a,n):new RegExp(a)[i](Qt(n))},function(t){var a=Xx(this),n=Qt(t),o=r(e,a,n);if(o.done)return o.value;var s=Qt(e1(a));if(sf(s,"g")===-1)return nf(a,n);var u=sf(s,"u")!==-1;a.lastIndex=0;for(var l=[],h=0,f;(f=nf(a,n))!==null;){var v=Qt(f[0]);l[h]=v,v===""&&(a.lastIndex=Jx(n,Qx(a.lastIndex),u)),h++}return h===0?null:l}]})});var lf=g((vw,uf)=>{"use strict";var Tn=L(),r1=qr(),t1=Math.floor,bn=Tn("".charAt),i1=Tn("".replace),xn=Tn("".slice),a1=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,n1=/\$([$&'`]|\d{1,2})/g;uf.exports=function(i,e,r,t,a,n){var o=r+i.length,s=t.length,u=n1;return a!==void 0&&(a=r1(a),u=a1),i1(n,u,function(l,h){var f;switch(bn(h,0)){case"$":return"$";case"&":return i;case"`":return xn(e,0,r);case"'":return xn(e,o);case"<":f=a[xn(h,1,-1)];break;default:var v=+h;if(v===0)return l;if(v>s){var c=t1(v/10);return c===0?l:c<=s?t[c-1]===void 0?bn(h,1):t[c-1]+bn(h,1):l}f=t[v-1]}return f===void 0?"":f})}});var vf=g(()=>{"use strict";var s1=Ea(),hf=H(),Zt=L(),o1=Ht(),u1=D(),l1=J(),h1=k(),c1=te(),f1=Mr(),v1=je(),$e=de(),g1=le(),d1=Yt(),p1=Be(),y1=lf(),m1=Xt(),b1=Wt(),x1=z(),Sn=x1("replace"),T1=Math.max,O1=Math.min,S1=Zt([].concat),On=Zt([].push),Kt=Zt("".indexOf),cf=Zt("".slice),E1=function(i){return i===void 0?i:String(i)},w1=(function(){return"a".replace(/./,"$0")==="$0"})(),ff=(function(){return/./[Sn]?/./[Sn]("a","$0")==="":!1})(),C1=!u1(function(){var i=/./;return i.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(i,"$<a>")!=="7"});o1("replace",function(i,e,r){var t=ff?"$":"$0";return[function(n,o){var s=g1(this),u=c1(n)?p1(n,Sn):void 0;return u?hf(u,n,s,o):hf(e,$e(s),n,o)},function(a,n){var o=l1(this),s=$e(a);if(typeof n=="string"&&Kt(n,t)===-1&&Kt(n,"$<")===-1){var u=r(e,o,s,n);if(u.done)return u.value}var l=h1(n);l||(n=$e(n));var h=$e(m1(o)),f=Kt(h,"g")!==-1,v;f&&(v=Kt(h,"u")!==-1,o.lastIndex=0);for(var c=[],d;d=b1(o,s),!(d===null||(On(c,d),!f));){var p=$e(d[0]);p===""&&(o.lastIndex=d1(s,v1(o.lastIndex),v))}for(var y="",m=0,T=0;T<c.length;T++){d=c[T];for(var x=$e(d[0]),O=T1(O1(f1(d.index),s.length),0),q=[],w,S=1;S<d.length;S++)On(q,E1(d[S]));var P=d.groups;if(l){var A=S1([x],q,O,s);P!==void 0&&On(A,P),w=$e(s1(n,void 0,A))}else w=y1(x,s,O,q,P,n);O>=m&&(y+=cf(s,m,O)+w,m=O+x.length)}return y+cf(s,m)}]},!C1||!w1||ff)});var df=g((pw,gf)=>{"use strict";var q1=te(),P1=Ae(),A1=z(),R1=A1("match");gf.exports=function(i){var e;return q1(i)&&((e=i[R1])!==void 0?!!e:P1(i)==="RegExp")}});var Jt=g((yw,pf)=>{"use strict";var N1=df(),I1=TypeError;pf.exports=function(i){if(N1(i))throw new I1("The method doesn't accept regular expressions");return i}});var ei=g((mw,yf)=>{"use strict";var M1=z(),V1=M1("match");yf.exports=function(i){var e=/./;try{"/./"[i](e)}catch{try{return e[V1]=!1,"/./"[i](e)}catch{}}return!1}});var xf=g(()=>{"use strict";var _1=ee(),D1=Br(),L1=Ar().f,k1=je(),mf=de(),B1=Jt(),U1=le(),j1=ei(),F1=ve(),z1=D1("".slice),$1=Math.min,bf=j1("startsWith"),G1=!F1&&!bf&&!!(function(){var i=L1(String.prototype,"startsWith");return i&&!i.writable})();_1({target:"String",proto:!0,forced:!G1&&!bf},{startsWith:function(e){var r=mf(U1(this));B1(e);var t=k1($1(arguments.length>1?arguments[1]:void 0,r.length)),a=mf(e);return z1(r,t,t+a.length)===a}})});var Of=g((Tw,Tf)=>{"use strict";var H1=z(),Y1=Gr(),X1=Oe().f,En=H1("unscopables"),wn=Array.prototype;wn[En]===void 0&&X1(wn,En,{configurable:!0,value:Y1(null)});Tf.exports=function(i){wn[En][i]=!0}});var Ef=g((Ow,Sf)=>{"use strict";var W1=D();Sf.exports=!W1(function(){function i(){}return i.prototype.constructor=null,Object.getPrototypeOf(new i)!==i.prototype})});var qn=g((Sw,Cf)=>{"use strict";var Q1=he(),K1=k(),Z1=qr(),J1=mt(),e2=Ef(),wf=J1("IE_PROTO"),Cn=Object,r2=Cn.prototype;Cf.exports=e2?Cn.getPrototypeOf:function(i){var e=Z1(i);if(Q1(e,wf))return e[wf];var r=e.constructor;return K1(r)&&e instanceof r?r.prototype:e instanceof Cn?r2:null}});var Nn=g((Ew,Af)=>{"use strict";var t2=D(),i2=k(),a2=te(),n2=Gr(),qf=qn(),s2=Ne(),o2=z(),u2=ve(),Rn=o2("iterator"),Pf=!1,Se,Pn,An;[].keys&&(An=[].keys(),"next"in An?(Pn=qf(qf(An)),Pn!==Object.prototype&&(Se=Pn)):Pf=!0);var l2=!a2(Se)||t2(function(){var i={};return Se[Rn].call(i)!==i});l2?Se={}:u2&&(Se=n2(Se));i2(Se[Rn])||s2(Se,Rn,function(){return this});Af.exports={IteratorPrototype:Se,BUGGY_SAFARI_ITERATORS:Pf}});var Nf=g((ww,Rf)=>{"use strict";var h2=Nn().IteratorPrototype,c2=Gr(),f2=ht(),v2=Lr(),g2=hr(),d2=function(){return this};Rf.exports=function(i,e,r,t){var a=e+" Iterator";return i.prototype=c2(h2,{next:f2(+!t,r)}),v2(i,a,!1,!0),g2[a]=d2,i}});var Ff=g((Cw,jf)=>{"use strict";var p2=ee(),y2=H(),ri=ve(),Bf=Rr(),m2=k(),b2=Nf(),If=qn(),Mf=Ta(),x2=Lr(),T2=er(),In=Ne(),O2=z(),Vf=hr(),Uf=Nn(),S2=Bf.PROPER,E2=Bf.CONFIGURABLE,_f=Uf.IteratorPrototype,ti=Uf.BUGGY_SAFARI_ITERATORS,Hr=O2("iterator"),Df="keys",Yr="values",Lf="entries",kf=function(){return this};jf.exports=function(i,e,r,t,a,n,o){b2(r,e,t);var s=function(m){if(m===a&&v)return v;if(!ti&&m&&m in h)return h[m];switch(m){case Df:return function(){return new r(this,m)};case Yr:return function(){return new r(this,m)};case Lf:return function(){return new r(this,m)}}return function(){return new r(this)}},u=e+" Iterator",l=!1,h=i.prototype,f=h[Hr]||h["@@iterator"]||a&&h[a],v=!ti&&f||s(a),c=e==="Array"&&h.entries||f,d,p,y;if(c&&(d=If(c.call(new i)),d!==Object.prototype&&d.next&&(!ri&&If(d)!==_f&&(Mf?Mf(d,_f):m2(d[Hr])||In(d,Hr,kf)),x2(d,u,!0,!0),ri&&(Vf[u]=kf))),S2&&a===Yr&&f&&f.name!==Yr&&(!ri&&E2?T2(h,"name",Yr):(l=!0,v=function(){return y2(f,this)})),a)if(p={values:s(Yr),keys:n?v:s(Df),entries:s(Lf)},o)for(y in p)(ti||l||!(y in h))&&In(h,y,p[y]);else p2({target:e,proto:!0,forced:ti||l},p);return(!ri||o)&&h[Hr]!==v&&In(h,Hr,v,{name:a}),Vf[e]=v,p}});var $f=g((qw,zf)=>{"use strict";zf.exports=function(i,e){return{value:i,done:e}}});var Vn=g((Pw,Wf)=>{"use strict";var w2=Ke(),Mn=Of(),Gf=hr(),Yf=Ir(),C2=Oe().f,q2=Ff(),ii=$f(),P2=ve(),A2=ue(),Xf="Array Iterator",R2=Yf.set,N2=Yf.getterFor(Xf);Wf.exports=q2(Array,"Array",function(i,e){R2(this,{type:Xf,target:w2(i),index:0,kind:e})},function(){var i=N2(this),e=i.target,r=i.index++;if(!e||r>=e.length)return i.target=null,ii(void 0,!0);switch(i.kind){case"keys":return ii(r,!1);case"values":return ii(e[r],!1)}return ii([r,e[r]],!1)},"values");var Hf=Gf.Arguments=Gf.Array;Mn("keys");Mn("values");Mn("entries");if(!P2&&A2&&Hf.name!=="values")try{C2(Hf,"name",{value:"values"})}catch{}});var Kf=g((Aw,Qf)=>{"use strict";Qf.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}});var ev=g((Rw,Jf)=>{"use strict";var I2=Pr(),_n=I2("span").classList,Zf=_n&&_n.constructor&&_n.constructor.prototype;Jf.exports=Zf===Object.prototype?void 0:Zf});var nv=g(()=>{"use strict";var rv=I(),iv=Kf(),M2=ev(),Xr=Vn(),tv=er(),V2=Lr(),_2=z(),Dn=_2("iterator"),Ln=Xr.values,av=function(i,e){if(i){if(i[Dn]!==Ln)try{tv(i,Dn,Ln)}catch{i[Dn]=Ln}if(V2(i,e,!0),iv[e]){for(var r in Xr)if(i[r]!==Xr[r])try{tv(i,r,Xr[r])}catch{i[r]=Xr[r]}}}};for(ai in iv)av(rv[ai]&&rv[ai].prototype,ai);var ai;av(M2,"DOMTokenList")});var fv=g((Uw,cv)=>{"use strict";var D2=xe(),L2=qr(),k2=ji(),B2=Et(),uv=TypeError,lv="Reduce of empty array with no initial value",hv=function(i){return function(e,r,t,a){var n=L2(e),o=k2(n),s=B2(n);if(D2(r),s===0&&t<2)throw new uv(lv);var u=i?s-1:0,l=i?-1:1;if(t<2)for(;;){if(u in o){a=o[u],u+=l;break}if(u+=l,i?u<0:s<=u)throw new uv(lv)}for(;i?u>=0:s>u;u+=l)u in o&&(a=r(a,o[u],u,n));return a}};cv.exports={left:hv(!1),right:hv(!0)}});var kn=g((jw,vv)=>{"use strict";var U2=D();vv.exports=function(i,e){var r=[][i];return!!r&&U2(function(){r.call(null,e||function(){return 1},1)})}});var dv=g(()=>{"use strict";var j2=ee(),F2=fv().left,z2=kn(),gv=ft(),$2=Dr(),G2=!$2&&gv>79&&gv<83,H2=G2||!z2("reduce");j2({target:"Array",proto:!0,forced:H2},{reduce:function(e){var r=arguments.length;return F2(this,e,r,r>1?arguments[1]:void 0)}})});var mv=g(()=>{"use strict";var Y2=ee(),X2=Br(),W2=Ar().f,Q2=je(),pv=de(),K2=Jt(),Z2=le(),J2=ei(),eT=ve(),rT=X2("".slice),tT=Math.min,yv=J2("endsWith"),iT=!eT&&!yv&&!!(function(){var i=W2(String.prototype,"endsWith");return i&&!i.writable})();Y2({target:"String",proto:!0,forced:!iT&&!yv},{endsWith:function(e){var r=pv(Z2(this));K2(e);var t=arguments.length>1?arguments[1]:void 0,a=r.length,n=t===void 0?a:tT(Q2(t),a),o=pv(e);return rT(r,n-o.length,n)===o}})});var Sv=g(()=>{"use strict";var Bn=H(),Ov=L(),aT=Ht(),nT=J(),sT=te(),oT=le(),uT=Sa(),lT=Yt(),hT=je(),bv=de(),cT=Be(),xv=Wt(),fT=ln(),vT=D(),fr=fT.UNSUPPORTED_Y,gT=4294967295,dT=Math.min,Un=Ov([].push),jn=Ov("".slice),pT=!vT(function(){var i=/(?:)/,e=i.exec;i.exec=function(){return e.apply(this,arguments)};var r="ab".split(i);return r.length!==2||r[0]!=="a"||r[1]!=="b"}),Tv="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;aT("split",function(i,e,r){var t="0".split(void 0,0).length?function(a,n){return a===void 0&&n===0?[]:Bn(e,this,a,n)}:e;return[function(n,o){var s=oT(this),u=sT(n)?cT(n,i):void 0;return u?Bn(u,n,s,o):Bn(t,bv(s),n,o)},function(a,n){var o=nT(this),s=bv(a);if(!Tv){var u=r(t,o,s,n,t!==e);if(u.done)return u.value}var l=uT(o,RegExp),h=o.unicode,f=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(fr?"g":"y"),v=new l(fr?"^(?:"+o.source+")":o,f),c=n===void 0?gT:n>>>0;if(c===0)return[];if(s.length===0)return xv(v,s)===null?[s]:[];for(var d=0,p=0,y=[];p<s.length;){v.lastIndex=fr?0:p;var m=xv(v,fr?jn(s,p):s),T;if(m===null||(T=dT(hT(v.lastIndex+(fr?p:0)),s.length))===d)p=lT(s,p,h);else{if(Un(y,jn(s,d,p)),y.length===c)return y;for(var x=1;x<=m.length-1;x++)if(Un(y,m[x]),y.length===c)return y;p=d=T}}return Un(y,jn(s,d)),y}]},Tv||!pT,fr)});var wv=g((Ev,Wr)=>{(function(){var i,e,r,t,a,n;typeof performance<"u"&&performance!==null&&performance.now?Wr.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(Wr.exports=function(){return(i()-a)/1e6},e=process.hrtime,i=function(){var o;return o=e(),o[0]*1e9+o[1]},t=i(),n=process.uptime()*1e9,a=t-n):Date.now?(Wr.exports=function(){return Date.now()-r},r=Date.now()):(Wr.exports=function(){return new Date().getTime()-r},r=new Date().getTime())}).call(Ev)});var qv=g((Xw,ui)=>{var yT=wv(),Ee=typeof window>"u"?global:window,si=["moz","webkit"],gr="AnimationFrame",dr=Ee["request"+gr],Qr=Ee["cancel"+gr]||Ee["cancelRequest"+gr];for(vr=0;!dr&&vr<si.length;vr++)dr=Ee[si[vr]+"Request"+gr],Qr=Ee[si[vr]+"Cancel"+gr]||Ee[si[vr]+"CancelRequest"+gr];var vr;(!dr||!Qr)&&(oi=0,Fn=0,Me=[],Cv=1e3/60,dr=function(i){if(Me.length===0){var e=yT(),r=Math.max(0,Cv-(e-oi));oi=r+e,setTimeout(function(){var t=Me.slice(0);Me.length=0;for(var a=0;a<t.length;a++)if(!t[a].cancelled)try{t[a].callback(oi)}catch(n){setTimeout(function(){throw n},0)}},Math.round(r))}return Me.push({handle:++Fn,callback:i,cancelled:!1}),Fn},Qr=function(i){for(var e=0;e<Me.length;e++)Me[e].handle===i&&(Me[e].cancelled=!0)});var oi,Fn,Me,Cv;ui.exports=function(i){return dr.call(Ee,i)};ui.exports.cancel=function(){Qr.apply(Ee,arguments)};ui.exports.polyfill=function(i){i||(i=Ee),i.requestAnimationFrame=dr,i.cancelAnimationFrame=Qr}});var zn=g((Ww,Pv)=>{"use strict";Pv.exports=`
7
7
  \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`});var Nv=g((Qw,Rv)=>{"use strict";var mT=L(),bT=le(),xT=de(),Gn=zn(),Av=mT("".replace),TT=RegExp("^["+Gn+"]+"),OT=RegExp("(^|[^"+Gn+"])["+Gn+"]+$"),$n=function(i){return function(e){var r=xT(bT(e));return i&1&&(r=Av(r,TT,"")),i&2&&(r=Av(r,OT,"$1")),r}};Rv.exports={start:$n(1),end:$n(2),trim:$n(3)}});var _v=g((Kw,Vv)=>{"use strict";var ST=Rr().PROPER,ET=D(),Iv=zn(),Mv="\u200B\x85\u180E";Vv.exports=function(i){return ET(function(){return!!Iv[i]()||Mv[i]()!==Mv||ST&&Iv[i].name!==i})}});var Dv=g(()=>{"use strict";var wT=ee(),CT=Nv().trim,qT=_v();wT({target:"String",proto:!0,forced:qT("trim")},{trim:function(){return CT(this)}})});var kv=g((eC,Lv)=>{Lv.exports=function(i){this.ok=!1,this.alpha=1,i.charAt(0)=="#"&&(i=i.substr(1,6)),i=i.replace(/ /g,""),i=i.toLowerCase();var e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};i=e[i]||i;for(var r=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(u){return[parseInt(u[1]),parseInt(u[2]),parseInt(u[3]),parseFloat(u[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(u){return[parseInt(u[1]),parseInt(u[2]),parseInt(u[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(u){return[parseInt(u[1],16),parseInt(u[2],16),parseInt(u[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(u){return[parseInt(u[1]+u[1],16),parseInt(u[2]+u[2],16),parseInt(u[3]+u[3],16)]}}],t=0;t<r.length;t++){var a=r[t].re,n=r[t].process,o=a.exec(i);if(o){var s=n(o);this.r=s[0],this.g=s[1],this.b=s[2],s.length>3&&(this.alpha=s[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var u=this.r.toString(16),l=this.g.toString(16),h=this.b.toString(16);return u.length==1&&(u="0"+u),l.length==1&&(l="0"+l),h.length==1&&(h="0"+h),"#"+u+l+h},this.getHelpXML=function(){for(var u=new Array,l=0;l<r.length;l++)for(var h=r[l].example,f=0;f<h.length;f++)u[u.length]=h[f];for(var v in e)u[u.length]=v;var c=document.createElement("ul");c.setAttribute("id","rgbcolor-examples");for(var l=0;l<u.length;l++)try{var d=document.createElement("li"),p=new RGBColor(u[l]),y=document.createElement("div");y.style.cssText="margin: 3px; border: 1px solid black; background:"+p.toHex()+"; color:"+p.toHex(),y.appendChild(document.createTextNode("test"));var m=document.createTextNode(" "+u[l]+" -> "+p.toRGB()+" -> "+p.toHex());d.appendChild(y),d.appendChild(m),c.appendChild(d)}catch{}return c}}});var Uv=g(()=>{"use strict";var PT=ee(),AT=Br(),RT=pa().indexOf,NT=kn(),Hn=AT([].indexOf),Bv=!!Hn&&1/Hn([1],1,-0)<0,IT=Bv||!NT("indexOf");PT({target:"Array",proto:!0,forced:IT},{indexOf:function(e){var r=arguments.length>1?arguments[1]:void 0;return Bv?Hn(this,e,r)||0:RT(this,e,r)}})});var Fv=g(()=>{"use strict";var MT=ee(),VT=L(),_T=Jt(),DT=le(),jv=de(),LT=ei(),kT=VT("".indexOf);MT({target:"String",proto:!0,forced:!LT("includes")},{includes:function(e){return!!~kT(jv(DT(this)),jv(_T(e)),arguments.length>1?arguments[1]:void 0)}})});var $v=g((nC,zv)=>{"use strict";var BT=Ae();zv.exports=Array.isArray||function(e){return BT(e)==="Array"}});var Hv=g(()=>{"use strict";var UT=ee(),jT=L(),FT=$v(),zT=jT([].reverse),Gv=[1,2];UT({target:"Array",proto:!0,forced:String(Gv)===String(Gv.reverse())},{reverse:function(){return FT(this)&&(this.length=this.length),zT(this)}})});var ng=g(()=>{"use strict";var XT=Rr().PROPER,WT=Ne(),QT=J(),tg=de(),KT=D(),ZT=Xt(),Wn="toString",ig=RegExp.prototype,ag=ig[Wn],JT=KT(function(){return ag.call({source:"a",flags:"b"})!=="/a/b"}),eO=XT&&ag.name!==Wn;(JT||eO)&&WT(ig,Wn,function(){var e=QT(this),r=tg(e.source),t=tg(ZT(e));return"/"+r+"/"+t},{unsafe:!0})});var fC=Z(yc(),1);function mc(i,e,r,t,a,n,o){try{var s=i[n](o),u=s.value}catch(l){return void r(l)}s.done?e(u):Promise.resolve(u).then(t,a)}function Te(i){return function(){var e=this,r=arguments;return new Promise(function(t,a){var n=i.apply(e,r);function o(u){mc(n,t,a,o,s,"next",u)}function s(u){mc(n,t,a,o,s,"throw",u)}o(void 0)})}}var gC=Z(of(),1),dC=Z(vf(),1),pC=Z(xf(),1),yC=Z(Vn(),1),mC=Z(nv(),1);function sv(i,e){if(Tr(i)!="object"||!i)return i;var r=i[Symbol.toPrimitive];if(r!==void 0){var t=r.call(i,e||"default");if(Tr(t)!="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(i)}function ov(i){var e=sv(i,"string");return Tr(e)=="symbol"?e:e+""}function ni(i,e,r){return(e=ov(e))in i?Object.defineProperty(i,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):i[e]=r,i}var xC=Z(dv(),1),TC=Z(mv(),1),OC=Z(Sv(),1),vi=Z(qv(),1),SC=Z(Dv(),1),gi=Z(kv(),1),EC=Z(Uv(),1),wC=Z(Fv(),1),CC=Z(Hv(),1);var Jv=function(i,e){return(Jv=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(r[a]=t[a])})(i,e)};function eg(i,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=i}Jv(i,e),i.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function $T(i){var e="";Array.isArray(i)||(i=[i]);for(var r=0;r<i.length;r++){var t=i[r];if(t.type===b.CLOSE_PATH)e+="z";else if(t.type===b.HORIZ_LINE_TO)e+=(t.relative?"h":"H")+t.x;else if(t.type===b.VERT_LINE_TO)e+=(t.relative?"v":"V")+t.y;else if(t.type===b.MOVE_TO)e+=(t.relative?"m":"M")+t.x+" "+t.y;else if(t.type===b.LINE_TO)e+=(t.relative?"l":"L")+t.x+" "+t.y;else if(t.type===b.CURVE_TO)e+=(t.relative?"c":"C")+t.x1+" "+t.y1+" "+t.x2+" "+t.y2+" "+t.x+" "+t.y;else if(t.type===b.SMOOTH_CURVE_TO)e+=(t.relative?"s":"S")+t.x2+" "+t.y2+" "+t.x+" "+t.y;else if(t.type===b.QUAD_TO)e+=(t.relative?"q":"Q")+t.x1+" "+t.y1+" "+t.x+" "+t.y;else if(t.type===b.SMOOTH_QUAD_TO)e+=(t.relative?"t":"T")+t.x+" "+t.y;else{if(t.type!==b.ARC)throw new Error('Unexpected command type "'+t.type+'" at index '+r+".");e+=(t.relative?"a":"A")+t.rX+" "+t.rY+" "+t.xRot+" "+ +t.lArcFlag+" "+ +t.sweepFlag+" "+t.x+" "+t.y}}return e}function Xn(i,e){var r=i[0],t=i[1];return[r*Math.cos(e)-t*Math.sin(e),r*Math.sin(e)+t*Math.cos(e)]}function ye(){for(var i=[],e=0;e<arguments.length;e++)i[e]=arguments[e];for(var r=0;r<i.length;r++)if(typeof i[r]!="number")throw new Error("assertNumbers arguments["+r+"] is not a number. "+typeof i[r]+" == typeof "+i[r]);return!0}var Ve=Math.PI;function Yn(i,e,r){i.lArcFlag=i.lArcFlag===0?0:1,i.sweepFlag=i.sweepFlag===0?0:1;var t=i.rX,a=i.rY,n=i.x,o=i.y;t=Math.abs(i.rX),a=Math.abs(i.rY);var s=Xn([(e-n)/2,(r-o)/2],-i.xRot/180*Ve),u=s[0],l=s[1],h=Math.pow(u,2)/Math.pow(t,2)+Math.pow(l,2)/Math.pow(a,2);1<h&&(t*=Math.sqrt(h),a*=Math.sqrt(h)),i.rX=t,i.rY=a;var f=Math.pow(t,2)*Math.pow(l,2)+Math.pow(a,2)*Math.pow(u,2),v=(i.lArcFlag!==i.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(t,2)*Math.pow(a,2)-f)/f)),c=t*l/a*v,d=-a*u/t*v,p=Xn([c,d],i.xRot/180*Ve);i.cX=p[0]+(e+n)/2,i.cY=p[1]+(r+o)/2,i.phi1=Math.atan2((l-d)/a,(u-c)/t),i.phi2=Math.atan2((-l-d)/a,(-u-c)/t),i.sweepFlag===0&&i.phi2>i.phi1&&(i.phi2-=2*Ve),i.sweepFlag===1&&i.phi2<i.phi1&&(i.phi2+=2*Ve),i.phi1*=180/Ve,i.phi2*=180/Ve}function Yv(i,e,r){ye(i,e,r);var t=i*i+e*e-r*r;if(0>t)return[];if(t===0)return[[i*r/(i*i+e*e),e*r/(i*i+e*e)]];var a=Math.sqrt(t);return[[(i*r+e*a)/(i*i+e*e),(e*r-i*a)/(i*i+e*e)],[(i*r-e*a)/(i*i+e*e),(e*r+i*a)/(i*i+e*e)]]}var U,we=Math.PI/180;function Xv(i,e,r){return(1-r)*i+r*e}function Wv(i,e,r,t){return i+Math.cos(t/180*Ve)*e+Math.sin(t/180*Ve)*r}function Qv(i,e,r,t){var a=1e-6,n=e-i,o=r-e,s=3*n+3*(t-r)-6*o,u=6*(o-n),l=3*n;return Math.abs(s)<a?[-l/u]:(function(h,f,v){v===void 0&&(v=1e-6);var c=h*h/4-f;if(c<-v)return[];if(c<=v)return[-h/2];var d=Math.sqrt(c);return[-h/2-d,-h/2+d]})(u/s,l/s,a)}function Kv(i,e,r,t,a){var n=1-a;return i*(n*n*n)+e*(3*n*n*a)+r*(3*n*a*a)+t*(a*a*a)}(function(i){function e(){return a((function(s,u,l){return s.relative&&(s.x1!==void 0&&(s.x1+=u),s.y1!==void 0&&(s.y1+=l),s.x2!==void 0&&(s.x2+=u),s.y2!==void 0&&(s.y2+=l),s.x!==void 0&&(s.x+=u),s.y!==void 0&&(s.y+=l),s.relative=!1),s}))}function r(){var s=NaN,u=NaN,l=NaN,h=NaN;return a((function(f,v,c){return f.type&b.SMOOTH_CURVE_TO&&(f.type=b.CURVE_TO,s=isNaN(s)?v:s,u=isNaN(u)?c:u,f.x1=f.relative?v-s:2*v-s,f.y1=f.relative?c-u:2*c-u),f.type&b.CURVE_TO?(s=f.relative?v+f.x2:f.x2,u=f.relative?c+f.y2:f.y2):(s=NaN,u=NaN),f.type&b.SMOOTH_QUAD_TO&&(f.type=b.QUAD_TO,l=isNaN(l)?v:l,h=isNaN(h)?c:h,f.x1=f.relative?v-l:2*v-l,f.y1=f.relative?c-h:2*c-h),f.type&b.QUAD_TO?(l=f.relative?v+f.x1:f.x1,h=f.relative?c+f.y1:f.y1):(l=NaN,h=NaN),f}))}function t(){var s=NaN,u=NaN;return a((function(l,h,f){if(l.type&b.SMOOTH_QUAD_TO&&(l.type=b.QUAD_TO,s=isNaN(s)?h:s,u=isNaN(u)?f:u,l.x1=l.relative?h-s:2*h-s,l.y1=l.relative?f-u:2*f-u),l.type&b.QUAD_TO){s=l.relative?h+l.x1:l.x1,u=l.relative?f+l.y1:l.y1;var v=l.x1,c=l.y1;l.type=b.CURVE_TO,l.x1=((l.relative?0:h)+2*v)/3,l.y1=((l.relative?0:f)+2*c)/3,l.x2=(l.x+2*v)/3,l.y2=(l.y+2*c)/3}else s=NaN,u=NaN;return l}))}function a(s){var u=0,l=0,h=NaN,f=NaN;return function(v){if(isNaN(h)&&!(v.type&b.MOVE_TO))throw new Error("path must start with moveto");var c=s(v,u,l,h,f);return v.type&b.CLOSE_PATH&&(u=h,l=f),v.x!==void 0&&(u=v.relative?u+v.x:v.x),v.y!==void 0&&(l=v.relative?l+v.y:v.y),v.type&b.MOVE_TO&&(h=u,f=l),c}}function n(s,u,l,h,f,v){return ye(s,u,l,h,f,v),a((function(c,d,p,y){var m=c.x1,T=c.x2,x=c.relative&&!isNaN(y),O=c.x!==void 0?c.x:x?0:d,q=c.y!==void 0?c.y:x?0:p;function w(ce){return ce*ce}c.type&b.HORIZ_LINE_TO&&u!==0&&(c.type=b.LINE_TO,c.y=c.relative?0:p),c.type&b.VERT_LINE_TO&&l!==0&&(c.type=b.LINE_TO,c.x=c.relative?0:d),c.x!==void 0&&(c.x=c.x*s+q*l+(x?0:f)),c.y!==void 0&&(c.y=O*u+c.y*h+(x?0:v)),c.x1!==void 0&&(c.x1=c.x1*s+c.y1*l+(x?0:f)),c.y1!==void 0&&(c.y1=m*u+c.y1*h+(x?0:v)),c.x2!==void 0&&(c.x2=c.x2*s+c.y2*l+(x?0:f)),c.y2!==void 0&&(c.y2=T*u+c.y2*h+(x?0:v));var S=s*h-u*l;if(c.xRot!==void 0&&(s!==1||u!==0||l!==0||h!==1))if(S===0)delete c.rX,delete c.rY,delete c.xRot,delete c.lArcFlag,delete c.sweepFlag,c.type=b.LINE_TO;else{var P=c.xRot*Math.PI/180,A=Math.sin(P),_=Math.cos(P),B=1/w(c.rX),R=1/w(c.rY),X=w(_)*B+w(A)*R,W=2*A*_*(B-R),G=w(A)*B+w(_)*R,Q=X*h*h-W*u*h+G*u*u,Y=W*(s*h+u*l)-2*(X*l*h+G*s*u),K=X*l*l-W*s*l+G*s*s,N=(Math.atan2(Y,Q-K)+Math.PI)%Math.PI/2,M=Math.sin(N),re=Math.cos(N);c.rX=Math.abs(S)/Math.sqrt(Q*w(re)+Y*M*re+K*w(M)),c.rY=Math.abs(S)/Math.sqrt(Q*w(M)-Y*M*re+K*w(re)),c.xRot=180*N/Math.PI}return c.sweepFlag!==void 0&&0>S&&(c.sweepFlag=+!c.sweepFlag),c}))}function o(){return function(s){var u={};for(var l in s)u[l]=s[l];return u}}i.ROUND=function(s){function u(l){return Math.round(l*s)/s}return s===void 0&&(s=1e13),ye(s),function(l){return l.x1!==void 0&&(l.x1=u(l.x1)),l.y1!==void 0&&(l.y1=u(l.y1)),l.x2!==void 0&&(l.x2=u(l.x2)),l.y2!==void 0&&(l.y2=u(l.y2)),l.x!==void 0&&(l.x=u(l.x)),l.y!==void 0&&(l.y=u(l.y)),l.rX!==void 0&&(l.rX=u(l.rX)),l.rY!==void 0&&(l.rY=u(l.rY)),l}},i.TO_ABS=e,i.TO_REL=function(){return a((function(s,u,l){return s.relative||(s.x1!==void 0&&(s.x1-=u),s.y1!==void 0&&(s.y1-=l),s.x2!==void 0&&(s.x2-=u),s.y2!==void 0&&(s.y2-=l),s.x!==void 0&&(s.x-=u),s.y!==void 0&&(s.y-=l),s.relative=!0),s}))},i.NORMALIZE_HVZ=function(s,u,l){return s===void 0&&(s=!0),u===void 0&&(u=!0),l===void 0&&(l=!0),a((function(h,f,v,c,d){if(isNaN(c)&&!(h.type&b.MOVE_TO))throw new Error("path must start with moveto");return u&&h.type&b.HORIZ_LINE_TO&&(h.type=b.LINE_TO,h.y=h.relative?0:v),l&&h.type&b.VERT_LINE_TO&&(h.type=b.LINE_TO,h.x=h.relative?0:f),s&&h.type&b.CLOSE_PATH&&(h.type=b.LINE_TO,h.x=h.relative?c-f:c,h.y=h.relative?d-v:d),h.type&b.ARC&&(h.rX===0||h.rY===0)&&(h.type=b.LINE_TO,delete h.rX,delete h.rY,delete h.xRot,delete h.lArcFlag,delete h.sweepFlag),h}))},i.NORMALIZE_ST=r,i.QT_TO_C=t,i.INFO=a,i.SANITIZE=function(s){s===void 0&&(s=0),ye(s);var u=NaN,l=NaN,h=NaN,f=NaN;return a((function(v,c,d,p,y){var m=Math.abs,T=!1,x=0,O=0;if(v.type&b.SMOOTH_CURVE_TO&&(x=isNaN(u)?0:c-u,O=isNaN(l)?0:d-l),v.type&(b.CURVE_TO|b.SMOOTH_CURVE_TO)?(u=v.relative?c+v.x2:v.x2,l=v.relative?d+v.y2:v.y2):(u=NaN,l=NaN),v.type&b.SMOOTH_QUAD_TO?(h=isNaN(h)?c:2*c-h,f=isNaN(f)?d:2*d-f):v.type&b.QUAD_TO?(h=v.relative?c+v.x1:v.x1,f=v.relative?d+v.y1:v.y2):(h=NaN,f=NaN),v.type&b.LINE_COMMANDS||v.type&b.ARC&&(v.rX===0||v.rY===0||!v.lArcFlag)||v.type&b.CURVE_TO||v.type&b.SMOOTH_CURVE_TO||v.type&b.QUAD_TO||v.type&b.SMOOTH_QUAD_TO){var q=v.x===void 0?0:v.relative?v.x:v.x-c,w=v.y===void 0?0:v.relative?v.y:v.y-d;x=isNaN(h)?v.x1===void 0?x:v.relative?v.x:v.x1-c:h-c,O=isNaN(f)?v.y1===void 0?O:v.relative?v.y:v.y1-d:f-d;var S=v.x2===void 0?0:v.relative?v.x:v.x2-c,P=v.y2===void 0?0:v.relative?v.y:v.y2-d;m(q)<=s&&m(w)<=s&&m(x)<=s&&m(O)<=s&&m(S)<=s&&m(P)<=s&&(T=!0)}return v.type&b.CLOSE_PATH&&m(c-p)<=s&&m(d-y)<=s&&(T=!0),T?[]:v}))},i.MATRIX=n,i.ROTATE=function(s,u,l){u===void 0&&(u=0),l===void 0&&(l=0),ye(s,u,l);var h=Math.sin(s),f=Math.cos(s);return n(f,h,-h,f,u-u*f+l*h,l-u*h-l*f)},i.TRANSLATE=function(s,u){return u===void 0&&(u=0),ye(s,u),n(1,0,0,1,s,u)},i.SCALE=function(s,u){return u===void 0&&(u=s),ye(s,u),n(s,0,0,u,0,0)},i.SKEW_X=function(s){return ye(s),n(1,0,Math.atan(s),1,0,0)},i.SKEW_Y=function(s){return ye(s),n(1,Math.atan(s),0,1,0,0)},i.X_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),ye(s),n(-1,0,0,1,s,0)},i.Y_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),ye(s),n(1,0,0,-1,0,s)},i.A_TO_C=function(){return a((function(s,u,l){return b.ARC===s.type?(function(h,f,v){var c,d,p,y;h.cX||Yn(h,f,v);for(var m=Math.min(h.phi1,h.phi2),T=Math.max(h.phi1,h.phi2)-m,x=Math.ceil(T/90),O=new Array(x),q=f,w=v,S=0;S<x;S++){var P=Xv(h.phi1,h.phi2,S/x),A=Xv(h.phi1,h.phi2,(S+1)/x),_=A-P,B=4/3*Math.tan(_*we/4),R=[Math.cos(P*we)-B*Math.sin(P*we),Math.sin(P*we)+B*Math.cos(P*we)],X=R[0],W=R[1],G=[Math.cos(A*we),Math.sin(A*we)],Q=G[0],Y=G[1],K=[Q+B*Math.sin(A*we),Y-B*Math.cos(A*we)],N=K[0],M=K[1];O[S]={relative:h.relative,type:b.CURVE_TO};var re=function(ce,be){var Pe=Xn([ce*h.rX,be*h.rY],h.xRot),We=Pe[0],et=Pe[1];return[h.cX+We,h.cY+et]};c=re(X,W),O[S].x1=c[0],O[S].y1=c[1],d=re(N,M),O[S].x2=d[0],O[S].y2=d[1],p=re(Q,Y),O[S].x=p[0],O[S].y=p[1],h.relative&&(O[S].x1-=q,O[S].y1-=w,O[S].x2-=q,O[S].y2-=w,O[S].x-=q,O[S].y-=w),q=(y=[O[S].x,O[S].y])[0],w=y[1]}return O})(s,s.relative?0:u,s.relative?0:l):s}))},i.ANNOTATE_ARCS=function(){return a((function(s,u,l){return s.relative&&(u=0,l=0),b.ARC===s.type&&Yn(s,u,l),s}))},i.CLONE=o,i.CALCULATE_BOUNDS=function(){var s=function(v){var c={};for(var d in v)c[d]=v[d];return c},u=e(),l=t(),h=r(),f=a((function(v,c,d){var p=h(l(u(s(v))));function y(M){M>f.maxX&&(f.maxX=M),M<f.minX&&(f.minX=M)}function m(M){M>f.maxY&&(f.maxY=M),M<f.minY&&(f.minY=M)}if(p.type&b.DRAWING_COMMANDS&&(y(c),m(d)),p.type&b.HORIZ_LINE_TO&&y(p.x),p.type&b.VERT_LINE_TO&&m(p.y),p.type&b.LINE_TO&&(y(p.x),m(p.y)),p.type&b.CURVE_TO){y(p.x),m(p.y);for(var T=0,x=Qv(c,p.x1,p.x2,p.x);T<x.length;T++)0<(N=x[T])&&1>N&&y(Kv(c,p.x1,p.x2,p.x,N));for(var O=0,q=Qv(d,p.y1,p.y2,p.y);O<q.length;O++)0<(N=q[O])&&1>N&&m(Kv(d,p.y1,p.y2,p.y,N))}if(p.type&b.ARC){y(p.x),m(p.y),Yn(p,c,d);for(var w=p.xRot/180*Math.PI,S=Math.cos(w)*p.rX,P=Math.sin(w)*p.rX,A=-Math.sin(w)*p.rY,_=Math.cos(w)*p.rY,B=p.phi1<p.phi2?[p.phi1,p.phi2]:-180>p.phi2?[p.phi2+360,p.phi1+360]:[p.phi2,p.phi1],R=B[0],X=B[1],W=function(M){var re=M[0],ce=M[1],be=180*Math.atan2(ce,re)/Math.PI;return be<R?be+360:be},G=0,Q=Yv(A,-S,0).map(W);G<Q.length;G++)(N=Q[G])>R&&N<X&&y(Wv(p.cX,S,A,N));for(var Y=0,K=Yv(_,-P,0).map(W);Y<K.length;Y++){var N;(N=K[Y])>R&&N<X&&m(Wv(p.cY,P,_,N))}}return v}));return f.minX=1/0,f.maxX=-1/0,f.minY=1/0,f.maxY=-1/0,f}})(U||(U={}));var pe,rg=(function(){function i(){}return i.prototype.round=function(e){return this.transform(U.ROUND(e))},i.prototype.toAbs=function(){return this.transform(U.TO_ABS())},i.prototype.toRel=function(){return this.transform(U.TO_REL())},i.prototype.normalizeHVZ=function(e,r,t){return this.transform(U.NORMALIZE_HVZ(e,r,t))},i.prototype.normalizeST=function(){return this.transform(U.NORMALIZE_ST())},i.prototype.qtToC=function(){return this.transform(U.QT_TO_C())},i.prototype.aToC=function(){return this.transform(U.A_TO_C())},i.prototype.sanitize=function(e){return this.transform(U.SANITIZE(e))},i.prototype.translate=function(e,r){return this.transform(U.TRANSLATE(e,r))},i.prototype.scale=function(e,r){return this.transform(U.SCALE(e,r))},i.prototype.rotate=function(e,r,t){return this.transform(U.ROTATE(e,r,t))},i.prototype.matrix=function(e,r,t,a,n,o){return this.transform(U.MATRIX(e,r,t,a,n,o))},i.prototype.skewX=function(e){return this.transform(U.SKEW_X(e))},i.prototype.skewY=function(e){return this.transform(U.SKEW_Y(e))},i.prototype.xSymmetry=function(e){return this.transform(U.X_AXIS_SYMMETRY(e))},i.prototype.ySymmetry=function(e){return this.transform(U.Y_AXIS_SYMMETRY(e))},i.prototype.annotateArcs=function(){return this.transform(U.ANNOTATE_ARCS())},i})(),GT=function(i){return i===" "||i===" "||i==="\r"||i===`
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
3
+ v1.2.0-next.62 */
4
4
  var a;(function(e){e.aptx="aptx",e.bpk="bpk",e.csv="csv",e.eaz="eaz",e.esriaddin="esriaddin",e.esriaddinx="esriaddinx",e.doc="doc",e.docx="docx",e.dlpk="dlpk",e.featurecollection="featurecollection",e.geojson="geojson",e.gcpk="gcpk",e.gpk="gpk",e.gpkg="gpkg",e.gpkx="gpkx",e.insightswbk="insightswbk",e.ipynb="ipynb",e.jpg="jpg",e.jpeg="jpeg",e.json="json",e.key="key",e.kml="kml",e.kmz="kmz",e.lpk="lpk",e.lpkx="lpkx",e.lyr="lyr",e.lyrx="lyrx",e.mapx="mapx",e.mmpk="mmpk",e.mpk="mpk",e.mpkx="mpkx",e.msd="msd",e.mspk="mspk",e.mxd="mxd",e.ncfg="ncfg",e.nmc="nmc",e.nmf="nmf",e.numbers="numbers",e.pages="pages",e.pagx="pagx",e.parquet="parquet",e.pdf="pdf",e.pmf="pmf",e.png="png",e.ppkx="ppkx",e.ppt="ppt",e.pptx="pptx",e.proconfigx="proconfigx",e.rpk="rpk",e.rptx="rptx",e.sd="sd",e.slpk="slpk",e.spk="spk",e.stylx="stylx",e.surveyaddin="surveyaddin",e.sxd="sxd",e.tif="tif",e.tiff="tiff",e.tpk="tpk",e.tpkx="tpkx",e.vsd="vsd",e.vtpk="vtpk",e.wmpk="wmpk",e.wpk="wpk",e.xls="xls",e.xml="xml",e.xlsx="xlsx",e.zip="zip",e["3dd"]="3dd",e["3vr"]="3vr",e["3ws"]="3ws",e["rft.json"]="rft.json",e["rft.xml"]="rft.xml"})(a||(a={}));var r;(function(e){e["360 VR Experience"]="360 VR Experience",e["Apache Parquet"]="Apache Parquet",e["AppBuilder Widget Package"]="AppBuilder Widget Package",e["Desktop Add In"]="Desktop Add In",e["Explorer Add In"]="Explorer Add In",e["Explorer Map"]="Explorer Map",e["Explorer Layer"]="Explorer Layer",e["Windows Mobile Package"]="Windows Mobile Package",e["ArcGIS Pro Add In"]="ArcGIS Pro Add In",e["ArcGIS Pro Configuration"]="ArcGIS Pro Configuration",e["Globe Document"]="Globe Document",e["Map Document"]="Map Document",e["ArcPad Package"]="ArcPad Package",e["Published Map"]="Published Map",e["Scene Document"]="Scene Document",e["CityEngine Web Scene"]="CityEngine Web Scene",e["Code Sample"]="Code Sample",e["CSV Collection"]="CSV Collection",e.CSV="CSV",e["CAD Drawing"]="CAD Drawing",e["Deep Learning Package"]="Deep Learning Package",e["Desktop Application"]="Desktop Application",e["Desktop Application Template"]="Desktop Application Template",e["Desktop Style"]="Desktop Style",e["Earth Configuration"]="Earth Configuration",e["Feature Collection"]="Feature Collection",e["File Geodatabase"]="File Geodatabase",e.GeoJson="GeoJson",e["Geoprocessing Package"]="Geoprocessing Package",e.GeoPackage="GeoPackage",e["Geoprocessing Sample"]="Geoprocessing Sample",e.GML="GML",e["Image Collection"]="Image Collection",e.Image="Image",e["iWork Keynote"]="iWork Keynote",e["iWork Numbers"]="iWork Numbers",e["iWork Pages"]="iWork Pages",e["KML Collection"]="KML Collection",e.KML="KML",e.Layer="Layer",e["Layer Package"]="Layer Package",e.Layout="Layout",e["Locator Package"]="Locator Package",e["Map Package"]="Map Package",e["Map Template"]="Map Template",e["Microsoft Excel"]="Microsoft Excel",e["Microsoft Powerpoint"]="Microsoft Powerpoint",e["Visio Document"]="Visio Document",e["Microsoft Word"]="Microsoft Word",e["Mobile Basemap Package"]="Mobile Basemap Package",e["Mobile Map Package"]="Mobile Map Package",e["Mobile Scene Package"]="Mobile Scene Package",e.Notebook="Notebook",e.PDF="PDF",e["Pro Map"]="Pro Map",e["Pro Report"]="Pro Report",e["Project Package"]="Project Package",e["Project Template"]="Project Template",e["Raster function template"]="Raster function template",e["Rule Package"]="Rule Package",e["Scene Package"]="Scene Package",e["Service Definition"]="Service Definition",e.Shapefile="Shapefile",e["Survey123 Add In"]="Survey123 Add In",e["Tile Package"]="Tile Package",e["Vector Tile Package"]="Vector Tile Package",e["Workflow Manager Package"]="Workflow Manager Package",e["Document Link"]="Document Link",e["Feature Service"]="Feature Service",e["Geocoding Service"]="Geocoding Service",e["Geodata Service"]="Geodata Service",e["Geometry Service"]="Geometry Service",e["Geoprocessing Service"]="Geoprocessing Service",e["Geoenrichment Service"]="Geoenrichment Service",e["Globe Service"]="Globe Service",e["Image Service"]="Image Service",e["Map Service"]="Map Service",e["Network Analysis Service"]="Network Analysis Service",e["Vector Tile Service"]="Vector Tile Service",e.WFS="WFS",e.WMS="WMS",e.WMTS="WMTS",e.OGCFeatureServer="OGCFeatureServer",e["Scene Service"]="Scene Service",e["Stream Service"]="Stream Service",e["Workflow Manager Service"]="Workflow Manager Service",e["Web Mapping Application"]="Web Mapping Application",e["Mobile Application"]="Mobile Application",e["AppBuilder Extension"]="AppBuilder Extension",e["Google Drive"]="Google Drive",e.Dropbox="Dropbox",e.OneDrive="OneDrive",e.StoryMap="StoryMap",e.Dashboard="Dashboard",e["Hub Project"]="Hub Project",e["Hub Initiative"]="Hub Initiative",e["Hub Site Application"]="Hub Site Application",e["Web Experience"]="Web Experience",e["Insights Workbook Package"]="Insights Workbook Package",e.Application="Application",e["ArcGIS Explorer Application Configuration"]="ArcGIS Explorer Application Configuration",e["ArcMap Document"]="ArcMap Document",e["Layer File"]="Layer File",e.ogcFeature="ogcFeature",e.FeatureServer="Feature Service",e.GeocodeServer="GeocodeServer",e.GeoDataServer="GeoDataServer",e.GeometryServer="GeometryServer",e.GeoenrichmentServer="GeoenrichmentServer",e.GPServer="GPServer",e.GlobeServer="GlobeServer",e.ImageServer="ImageServer",e.MapServer="MapServer",e.NAServer="NAServer",e.ElevationServer="ElevationServer",e.VectorTileServer="VectorTileServer",e["Scene Server"]="Scene Server",e.StreamServer="StreamServer",e.WMServer="WMServer",e.TiledImageServer="TiledImageServer"})(r||(r={}));var t={"360 VR Experience":{fileExt:[a["3dd"]],type:r["360 VR Experience"],typeKeywords:[]},"Apache Parquet":{fileExt:[a.parquet],type:r["Apache Parquet"],typeKeywords:[]},"AppBuilder Widget Package":{fileExt:[a.zip],type:r["AppBuilder Widget Package"],typeKeywords:[]},"Desktop Add In":{fileExt:[a.esriaddin],type:r["Desktop Add In"],typeKeywords:["Tool","Add In","Desktop Add In","ArcGIS Desktop","ArcMap","ArcGlobe","ArcScene","esriaddin"]},"Explorer Add In":{fileExt:[a.eaz],type:r["Explorer Add In"],typeKeywords:["Tool","Add In","Explorer Add In","ArcGIS Explorer","eaz"]},"Explorer Map":{fileExt:[a.nmf],type:r["Explorer Map"],typeKeywords:["Map","Explorer Map","Explorer Document","2D","3D","ArcGIS Explorer","nmf"]},"ArcGIS Explorer Application Configuration":{fileExt:[a.ncfg],type:r["Explorer Map"],typeKeywords:["Map","Explorer Map","Explorer Mapping Application","2D","3D","ArcGIS Explorer"]},"Explorer Layer":{fileExt:[a.nmc],type:r["Explorer Layer"],typeKeywords:["Data","Layer","Explorer Layer","ArcGIS Explorer","nmc"]},"Windows Mobile Package":{fileExt:[a.wmpk],type:r["Windows Mobile Package"],typeKeywords:[]},"ArcGIS Pro Add In":{fileExt:[a.esriaddinx],type:r["ArcGIS Pro Add In"],typeKeywords:["Tool","Add In","Pro Add In","esriaddinx"]},"ArcGIS Pro Configuration":{fileExt:[a.proconfigx],type:r["ArcGIS Pro Configuration"],typeKeywords:[]},"Globe Document":{fileExt:[a["3dd"]],type:r["Globe Document"],typeKeywords:["Map","Globe Document","3D","ArcGlobe","ArcGIS Server","3dd"]},"Map Document":{fileExt:[a.msd],type:r["Map Document"],typeKeywords:["Map Document","Map","2D","ArcMap","ArcGIS Server","msd"]},"ArcMap Document":{fileExt:[a.mxd],type:r["Map Document"],typeKeywords:["Map Document","Map","2D","ArcMap","ArcGIS Server"]},"ArcPad Package":{fileExt:[a.zip],type:r["ArcPad Package"],typeKeywords:["Map","Layer","Data"]},"Published Map":{fileExt:[a.pmf],type:r["Published Map"],typeKeywords:["Map","Published Map","2D","ArcReader","ArcMap","ArcGIS Server","pmf"]},"Scene Document":{fileExt:[a.sxd],type:r["Scene Document"],typeKeywords:["Map","Scene Document","3D","ArcScene","sxd"]},"CityEngine Web Scene":{fileExt:[a["3ws"]],type:r["CityEngine Web Scene"],typeKeywords:["3D","Map","Scene","Web"]},"Code Sample":{fileExt:[a.zip],type:r["Code Sample"],typeKeywords:["Code","Sample"]},"CSV Collection":{fileExt:[a.zip],type:r["CSV Collection"],typeKeywords:[]},CSV:{fileExt:[a.csv],type:r.CSV,typeKeywords:["CSV"]},"CAD Drawing":{fileExt:[a.zip],type:r["CAD Drawing"],typeKeywords:[]},"Deep Learning Package":{fileExt:[a.zip,a.dlpk],type:r["Deep Learning Package"],typeKeywords:["Deep Learning","Raster"]},"Desktop Application":{type:r["Desktop Application"],typeKeywords:["Desktop Application"]},"Desktop Application Template":{fileExt:[a.zip],type:r["Desktop Application Template"],typeKeywords:["application","template","ArcGIS desktop"]},"Desktop Style":{fileExt:[a.stylx],type:r["Desktop Style"],typeKeywords:["ArcGIS Pro","Symbology","Style","Symbols"]},"Earth Configuration":{fileExt:[a.xml],type:r["Earth Configuration"],typeKeywords:["ArcGIS Earth","Earth","Earth Configuration"]},"Feature Collection":{type:r["Feature Collection"],fileExt:[a.featurecollection],typeKeywords:[]},"File Geodatabase":{fileExt:[a.zip],type:r["File Geodatabase"],typeKeywords:[]},GeoJson:{fileExt:[a.geojson,a.json],type:r.GeoJson,typeKeywords:["Coordinates Type","CRS","Feature","FeatureCollection","GeoJSON","Geometry","GeometryCollection"]},"Geoprocessing Package":{fileExt:[a.gpk,a.gpkx],type:r["Geoprocessing Package"],typeKeywords:["ArcGIS Desktop","ArcGlobe","ArcMap","ArcScene","Geoprocessing Package","gpk","Model","Result","Script","Sharing","Tool","Toolbox"]},GeoPackage:{fileExt:[a.gpkg],type:r.GeoPackage,typeKeywords:["Data","GeoPackage","gpkg"]},"Geoprocessing Sample":{fileExt:[a.zip],type:r["Geoprocessing Sample"],typeKeywords:["tool","geoprocessing","sample"]},GML:{fileExt:[a.zip],type:r.GML,typeKeywords:[]},"Image Collection":{fileExt:[a.zip],type:r["Image Collection"],typeKeywords:[]},Image:{fileExt:[a.jpg,a.jpeg,a.png,a.tif,a.tiff],type:r.Image,typeKeywords:["Data","Image"]},"iWork Keynote":{fileExt:[a.key],type:r["iWork Keynote"],typeKeywords:["Data","Document","Mac"]},"iWork Numbers":{fileExt:[a.numbers],type:r["iWork Numbers"],typeKeywords:["Data","Document","Mac"]},"iWork Pages":{fileExt:[a.pages],type:r["iWork Pages"],typeKeywords:["Data","Document","Mac"]},"KML Collection":{fileExt:[a.zip],type:r["KML Collection"],typeKeywords:[]},KML:{type:r.KML,fileExt:[a.kml,a.kmz],typeKeywords:["Data","Map","kml"]},Layer:{fileExt:[a.lyr],type:r.Layer,typeKeywords:["Data","Layer","ArcMap","ArcGlobe","ArcGIS Explorer","lyr"]},"Layer File":{fileExt:[a.lyrx],type:r.Layer,typeKeywords:["ArcGIS Pro","Layer","Layer File"]},"Layer Package":{fileExt:[a.lpk,a.lpkx],type:r["Layer Package"],typeKeywords:[]},Layout:{fileExt:[a.pagx],type:r.Layout,typeKeywords:["ArcGIS Pro","Layout","Layout File","pagx"]},"Locator Package":{fileExt:[a.gcpk],type:r["Locator Package"],typeKeywords:[]},"Map Package":{fileExt:[a.mpk,a.mpkx],type:r["Map Package"],typeKeywords:[]},"Map Template":{fileExt:[a.zip],type:r["Map Template"],typeKeywords:["map","ArcMap","template","ArcGIS desktop"]},"Microsoft Excel":{fileExt:[a.xls,a.xlsx],type:r["Microsoft Excel"],typeKeywords:["Data","Document","Microsoft Excel"]},"Microsoft Powerpoint":{fileExt:[a.ppt,a.pptx],type:r["Microsoft Powerpoint"],typeKeywords:["Data","Document","Microsoft Powerpoint"]},"Visio Document":{fileExt:[a.vsd],type:r["Visio Document"],typeKeywords:["Data","Document","Visio Document"]},"Microsoft Word":{fileExt:[a.doc,a.docx],type:r["Microsoft Word"],typeKeywords:["Data","Document"]},"Mobile Basemap Package":{fileExt:[a.bpk],type:r["Mobile Basemap Package"],typeKeywords:[]},"Mobile Map Package":{fileExt:[a.mmpk],type:r["Mobile Map Package"],typeKeywords:[]},"Mobile Scene Package":{fileExt:[a.mspk],type:r["Mobile Scene Package"],typeKeywords:[]},Notebook:{fileExt:[a.ipynb],type:r.Notebook,typeKeywords:["Notebook","Python"]},PDF:{fileExt:[a.pdf],type:r.PDF,typeKeywords:["Data","Document","PDF"]},"Pro Map":{fileExt:[a.mapx],type:r["Pro Map"],typeKeywords:["ArcGIS Pro","Map","Map File","mapx"]},"Pro Report":{fileExt:[a.rptx],type:r["Pro Report"],typeKeywords:[]},"Project Package":{fileExt:[a.ppkx],type:r["Project Package"],typeKeywords:[]},"Project Template":{fileExt:[a.aptx],type:r["Project Template"],typeKeywords:[]},"Raster function template":{fileExt:[a["rft.json"],a["rft.xml"]],type:r["Raster function template"],typeKeywords:["Raster","Functions","Processing","rft","srf","function template","templates","ArcGIS Pro"]},"Rule Package":{fileExt:[a.rpk],type:r["Rule Package"],typeKeywords:[]},"Scene Package":{fileExt:[a.slpk,a.spk],type:r["Scene Package"],typeKeywords:[]},"Service Definition":{fileExt:[a.sd],type:r["Service Definition"],typeKeywords:["Data","Service","Service Definition"]},Shapefile:{fileExt:[a.zip],type:r.Shapefile,typeKeywords:["Data","Layer","shapefile"]},"Survey123 Add In":{fileExt:[a.surveyaddin],type:r["Survey123 Add In"],typeKeywords:["Add In","Survey123 Add In","Tool"]},"Tile Package":{fileExt:[a.tpk,a.tpkx],type:r["Tile Package"],typeKeywords:[]},"Vector Tile Package":{fileExt:[a.vtpk],type:r["Vector Tile Package"],typeKeywords:[]},"Workflow Manager Package":{fileExt:[a.wpk],type:r["Workflow Manager Package"],typeKeywords:[]},"Document Link":{type:r["Document Link"],typeKeywords:["Data","Document"]},"Feature Service":{type:r["Feature Service"],typeKeywords:["ArcGIS Server","Data","Feature Access","Feature Service","Service","Singlelayer","Hosted Service"]},GeocodeServer:{type:r["Geocoding Service"],typeKeywords:["ArcGIS Server","Geocoding Service","Locator Service","Service","Tool","Service Proxy"]},GeoDataServer:{type:r["Geodata Service"],typeKeywords:["Data","Service","Geodata Service","ArcGIS Server"]},GeometryServer:{type:r["Geometry Service"],typeKeywords:["Tool","Service","Geometry Service","ArcGIS Server"]},GeoenrichmentServer:{type:r["Geoenrichment Service"],typeKeywords:["Geoenrichment Service","ArcGIS Server"]},GPServer:{type:r["Geoprocessing Service"],typeKeywords:["Tool","Service","Geoprocessing Service","ArcGIS Server"]},GlobeServer:{type:r["Globe Service"],typeKeywords:["Data","Service","Globe Service","ArcGIS Server"]},ImageServer:{type:r["Image Service"],typeKeywords:["Data","Service","Image Service","ArcGIS Server"]},MapServer:{type:r["Map Service"],typeKeywords:["Data","Service","Map Service","ArcGIS Server"]},NAServer:{type:r["Network Analysis Service"],typeKeywords:["Tool","Service","Network Analysis Service","ArcGIS Server"]},ElevationServer:{type:r["Image Service"],typeKeywords:["Elevation 3D Layer"]},VectorTileServer:{type:r["Vector Tile Service"],typeKeywords:[]},WFS:{type:r.WFS,typeKeywords:["Data","Service","Web Feature Service","OGC"]},WMS:{type:r.WMS,typeKeywords:["Data","Service","Web Map Service","OGC"]},WMTS:{type:r.WMTS,typeKeywords:["Data","Service","OGC"]},ogcFeature:{type:r.OGCFeatureServer,typeKeywords:["Data","Service","Feature Service","OGC","OGC Feature Service"]},SceneServer:{type:r["Scene Service"],typeKeywords:["Scene Service"]},StreamServer:{type:r["Stream Service"],typeKeywords:["Data","Service","Stream Service","ArcGIS Server"]},WMServer:{type:r["Workflow Manager Service"],typeKeywords:["Workflow Manager","ArcGIS Server","WMServer","Workflow","JTX","Job Tracking"]},TiledImageServer:{type:r["Image Service"],typeKeywords:["Tiled Imagery"]},"Web Mapping Application":{type:r["Web Mapping Application"],typeKeywords:["JavaScript","Map","Mapping Site","Online Map","Ready To Use","Web AppBuilder","Web Map (+ WAB2D or WAB3D)"]},"Mobile Application":{type:r["Mobile Application"],typeKeywords:["ArcGIS Mobile Map","Mobile Application"]},"AppBuilder Extension":{type:r["AppBuilder Extension"],typeKeywords:["Widget","App Builder"]},"Google Drive":{type:r["Google Drive"],typeKeywords:["CSV","Shapefile","GeoJSON","Excel","FileGeodatabase"]},Dropbox:{type:r.Dropbox,typeKeywords:["CSV","Shapefile","GeoJSON","Excel","FileGeodatabase"]},OneDrive:{type:r.OneDrive,typeKeywords:["CSV","Shapefile","GeoJSON","Excel","FileGeodatabase"]},"Map Service":{type:r["Map Service"],typeKeywords:["ArcGIS Server","Data","Map Service","Service","Hosted Service"]},StoryMap:{type:r.StoryMap,typeKeywords:["arcgis-storymaps","StoryMap","Web Application (smstatusdraft or smsstatuspublished)"]},Dashboard:{type:r.Dashboard,typeKeywords:["Dashboard","Operations Dashboard"]},"Hub Initiative":{type:r["Hub Initiative"],typeKeywords:["Hub","hubInitiative","OpenData"]},"Hub Site Application":{type:r["Hub Site Application"],typeKeywords:["Hub","hubSite","hubSolution","JavaScript","Map","Mapping Site","Online Map","OpenData","Ready To Use","selfConfigured","Web Map","Registered App"]},"Web Experience":{type:r["Web Experience"],typeKeywords:["EXB Experience","JavaScript","Ready To Use Web Application","Web Experience","Web Mapping Application","Web Page","Web Site"]},"Insights Workbook Package":{type:r["Insights Workbook Package"],fileExt:[a.insightswbk],typeKeywords:["Insights","Insights Workbook Package"]}},o;(function(e){e.notStarted="notStarted",e.inProgress="inProgress",e.onHold="onHold",e.complete="complete"})(o||(o={}));var p;(function(e){e.map="map",e.image="image"})(p||(p={}));export{r as a,o as b,p as c};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
4
- import"./OBI4A4AA.js";var i=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.discussionSettings.moderation.label",elements:[{labelKey:"shared.fields.discussable.label",scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",labels:["{{shared.fields.discussable.enabled.label:translate}}",`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:["{{shared.fields.discussable.disabled.label:translate}}",`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],layout:"horizontal",styles:{"max-width":"45rem"},type:"radio"}}]}]});export{i as buildUiSchema};
3
+ v1.2.0-next.62 */
4
+ import"./V6B7ICFF.js";var i=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.discussionSettings.moderation.label",elements:[{labelKey:"shared.fields.discussable.label",scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",labels:["{{shared.fields.discussable.enabled.label:translate}}",`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:["{{shared.fields.discussable.disabled.label:translate}}",`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],layout:"horizontal",styles:{"max-width":"45rem"},type:"radio"}}]}]});export{i as buildUiSchema};
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
3
+ v1.2.0-next.62 */
4
4
  var p=(o,t,...e)=>{try{return o?.call(t,...e)}catch(s){console.error(s,o)}},k=async(o,t,...e)=>{try{return await o?.call(t,...e)}catch(s){console.error(s,o)}};var H=Symbol.for("controller"),ge=o=>typeof o=="object"&&o!==null&&(H in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),ss=o=>typeof o?.then=="function";var j,O=o=>{j!==o&&(j=o,queueMicrotask(()=>j===o?j=void 0:0))},V=o=>j,w=[],Ut=o=>{if(o===void 0){w=[];return}let t=w.indexOf(o);w=t===-1?[...w,o]:w.slice(0,t+1),queueMicrotask(()=>w=[])},Rt=()=>w,U,os=o=>{U!==o&&(U=o,queueMicrotask(()=>U===o?U=void 0:0))},ve=()=>{let o=U;return U=void 0,o},Mt=async(o,t)=>{let e=Y(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(r=>t(r,s))}return e.exports},It=async o=>{let t=Y(o);return await t.ready,t},Y=o=>{let e=V().manager.X(o);if(e!==void 0)return e;if(ge(o))return o;let s=ve();if(s!==void 0)return s},J=!1,rs=o=>{J=!0;try{return o()}finally{J=!1}};var Z=globalThis,X=Z.ShadowRoot&&(Z.ShadyCSS===void 0||Z.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mt=Symbol(),kt=new WeakMap,z=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==mt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(X&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=kt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&kt.set(e,t))}return t}toString(){return this.cssText}},jt=o=>new z(typeof o=="string"?o:o+"",void 0,mt),Ee=(o,...t)=>{let e=o.length===1?o[0]:t.reduce(((s,r,i)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+o[i+1]),o[0]);return new z(e,o,mt)},Ht=(o,t)=>{if(X)o.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(let e of t){let s=document.createElement("style"),r=Z.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},yt=X?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return jt(e)})(o):o;var{is:$e,defineProperty:be,getOwnPropertyDescriptor:_e,getOwnPropertyNames:Ae,getOwnPropertySymbols:Ce,getPrototypeOf:we}=Object,et=globalThis,Vt=et.trustedTypes,Oe=Vt?Vt.emptyScript:"",Se=et.reactiveElementPolyfillSupport,B=(o,t)=>o,tt={toAttribute(o,t){switch(t){case Boolean:o=o?Oe:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},W=(o,t)=>!$e(o,t),zt={attribute:!0,type:String,converter:tt,reflect:!1,useDefault:!1,hasChanged:W};Symbol.metadata??=Symbol("metadata"),et.litPropertyMetadata??=new WeakMap;var _=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=zt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),r=this.getPropertyDescriptor(t,s,e);r!==void 0&&be(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){let{get:r,set:i}=_e(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:r,set(n){let a=r?.call(this);i?.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??zt}static _$Ei(){if(this.hasOwnProperty(B("elementProperties")))return;let t=we(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(B("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(B("properties"))){let e=this.properties,s=[...Ae(e),...Ce(e)];for(let r of s)this.createProperty(r,e[r])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,r]of e)this.elementProperties.set(s,r)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let r=this._$Eu(e,s);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let r of s)e.unshift(yt(r))}else t!==void 0&&e.push(yt(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ht(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,s);if(r!==void 0&&s.reflect===!0){let i=(s.converter?.toAttribute!==void 0?s.converter:tt).toAttribute(e,s.type);this._$Em=t,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){let s=this.constructor,r=s._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let i=s.getPropertyOptions(r),n=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:tt;this._$Em=r;let a=n.fromAttribute(e,i.type);this[r]=a??this._$Ej?.get(r)??a,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let r=this.constructor,i=this[t];if(s??=r.getPropertyOptions(t),!((s.hasChanged??W)(i,e)||s.useDefault&&s.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:r,wrapped:i},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),i!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),r===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,i]of this._$Ep)this[r]=i;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[r,i]of s){let{wrapped:n}=i,a=this[r];n!==!0||this._$AL.has(r)||a===void 0||this.C(r,void 0,i,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((s=>s.hostUpdate?.())),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((e=>e.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}};_.elementStyles=[],_.shadowRootOptions={mode:"open"},_[B("elementProperties")]=new Map,_[B("finalized")]=new Map,Se?.({ReactiveElement:_}),(et.reactiveElementVersions??=[]).push("2.1.1");var vt=globalThis,st=vt.trustedTypes,Bt=st?st.createPolicy("lit-html",{createHTML:o=>o}):void 0,Et="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,$t="?"+A,Te=`<${$t}>`,P=document,q=()=>P.createComment(""),G=o=>o===null||typeof o!="object"&&typeof o!="function",bt=Array.isArray,Qt=o=>bt(o)||typeof o?.[Symbol.iterator]=="function",gt=`[
5
5
  \f\r]`,F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Wt=/-->/g,Ft=/>/g,S=RegExp(`>|${gt}(?:([^\\s"'>=/]+)(${gt}*=${gt}*(?:[^
6
6
  \f\r"'\`<>=]|("|')|))|$)`,"g"),qt=/'/g,Gt=/"/g,Jt=/^(?:script|style|textarea|title)$/i,_t=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),hs=_t(1),ds=_t(2),ps=_t(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Kt=new WeakMap,T=P.createTreeWalker(P,129);function Yt(o,t){if(!bt(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Bt!==void 0?Bt.createHTML(t):t}var Zt=(o,t)=>{let e=o.length-1,s=[],r,i=t===2?"<svg>":t===3?"<math>":"",n=F;for(let a=0;a<e;a++){let c=o[a],l,u,h=-1,y=0;for(;y<c.length&&(n.lastIndex=y,u=n.exec(c),u!==null);)y=n.lastIndex,n===F?u[1]==="!--"?n=Wt:u[1]!==void 0?n=Ft:u[2]!==void 0?(Jt.test(u[2])&&(r=RegExp("</"+u[2],"g")),n=S):u[3]!==void 0&&(n=S):n===S?u[0]===">"?(n=r??F,h=-1):u[1]===void 0?h=-2:(h=n.lastIndex-u[2].length,l=u[1],n=u[3]===void 0?S:u[3]==='"'?Gt:qt):n===Gt||n===qt?n=S:n===Wt||n===Ft?n=F:(n=S,r=void 0);let g=n===S&&o[a+1].startsWith("/>")?" ":"";i+=n===F?c+Te:h>=0?(s.push(l),c.slice(0,h)+Et+c.slice(h)+A+g):c+A+(h===-2?a:g)}return[Yt(o,i+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},K=class o{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let i=0,n=0,a=t.length-1,c=this.parts,[l,u]=Zt(t,e);if(this.el=o.createElement(l,s),T.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=T.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let h of r.getAttributeNames())if(h.endsWith(Et)){let y=u[n++],g=r.getAttribute(h).split(A),C=/([.?@])?(.*)/.exec(y);c.push({type:1,index:i,name:C[2],strings:g,ctor:C[1]==="."?rt:C[1]==="?"?it:C[1]==="@"?nt:D}),r.removeAttribute(h)}else h.startsWith(A)&&(c.push({type:6,index:i}),r.removeAttribute(h));if(Jt.test(r.tagName)){let h=r.textContent.split(A),y=h.length-1;if(y>0){r.textContent=st?st.emptyScript:"";for(let g=0;g<y;g++)r.append(h[g],q()),T.nextNode(),c.push({type:2,index:++i});r.append(h[y],q())}}}else if(r.nodeType===8)if(r.data===$t)c.push({type:2,index:i});else{let h=-1;for(;(h=r.data.indexOf(A,h+1))!==-1;)c.push({type:7,index:i}),h+=A.length-1}i++}}static createElement(t,e){let s=P.createElement("template");return s.innerHTML=t,s}};function N(o,t,e=o,s){if(t===f)return t;let r=s!==void 0?e._$Co?.[s]:e._$Cl,i=G(t)?void 0:t._$litDirective$;return r?.constructor!==i&&(r?._$AO?.(!1),i===void 0?r=void 0:(r=new i(o),r._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=r:e._$Cl=r),r!==void 0&&(t=N(o,r._$AS(o,t.values),r,s)),t}var ot=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,r=(t?.creationScope??P).importNode(e,!0);T.currentNode=r;let i=T.nextNode(),n=0,a=0,c=s[0];for(;c!==void 0;){if(n===c.index){let l;c.type===2?l=new R(i,i.nextSibling,this,t):c.type===1?l=new c.ctor(i,c.name,c.strings,this,t):c.type===6&&(l=new at(i,this,t)),this._$AV.push(l),c=s[++a]}n!==c?.index&&(i=T.nextNode(),n++)}return T.currentNode=P,r}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},R=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,r){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=N(this,t,e),G(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Qt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&G(this._$AH)?this._$AA.nextSibling.data=t:this.T(P.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,r=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=K.createElement(Yt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===r)this._$AH.p(e);else{let i=new ot(r,this),n=i.u(this.options);i.p(e),this.T(n),this._$AH=i}}_$AC(t){let e=Kt.get(t.strings);return e===void 0&&Kt.set(t.strings,e=new K(t)),e}k(t){bt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,r=0;for(let i of t)r===e.length?e.push(s=new o(this.O(q()),this.O(q()),this,this.options)):s=e[r],s._$AI(i),r++;r<e.length&&(this._$AR(s&&s._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},D=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,r,i){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,r){let i=this.strings,n=!1;if(i===void 0)t=N(this,t,e,0),n=!G(t)||t!==this._$AH&&t!==f,n&&(this._$AH=t);else{let a=t,c,l;for(t=i[0],c=0;c<i.length-1;c++)l=N(this,a[s+c],e,c),l===f&&(l=this._$AH[c]),n||=!G(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+i[c+1]),this._$AH[c]=l}n&&!r&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},rt=class extends D{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},it=class extends D{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},nt=class extends D{constructor(t,e,s,r,i){super(t,e,s,r,i),this.type=5}_$AI(t,e=this){if((t=N(this,t,e,0)??d)===f)return;let s=this._$AH,r=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==d&&(s===d||r);r&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},at=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){N(this,t)}},Xt={M:Et,P:A,A:$t,C:1,L:Zt,R:ot,D:Qt,V:N,I:R,H:D,N:it,U:nt,B:rt,F:at},Pe=vt.litHtmlPolyfillSupport;Pe?.(K,R),(vt.litHtmlVersions??=[]).push("3.3.1");var At=(o,t,e)=>{let s=e?.renderBefore??t,r=s._$litPart$;if(r===void 0){let i=e?.renderBefore??null;s._$litPart$=r=new R(t.insertBefore(q(),i),i,void 0,e??{})}return r._$AI(o),r};var Ct=globalThis,$=class extends _{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=At(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};$._$litElement$=!0,$.finalized=!0,Ct.litElementHydrateSupport?.({LitElement:$});var Ne=Ct.litElementPolyfillSupport;Ne?.({LitElement:$});(Ct.litElementVersions??=[]).push("4.2.1");var b=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}},te=(o,t)=>{let e=t>De?xe:t/Le,s=0,r=setInterval(()=>{s+=e,s>=t&&(clearInterval(r),o())},e);return r},De=4e3,xe=2e3,Le=4;var ee=new Set,se;var oe=o=>typeof o=="string"?o:"el"in o?o.el.localName:"localName"in o?o.localName:o.declaredClass,Os=(o,t,e,s)=>{let r=oe(t);if(s?.once){let n=`${o}${r}${e}`;if(ee.has(n))return;ee.add(n)}let i;if(s?.detail){i={};for(let[n,a]of Object.entries(s.detail))if((typeof a=="object"||typeof a=="function")&&a!==null){let c=new WeakRef(a);Object.defineProperty(i,n,{get(){return c.deref()}})}else i[n]=a;se?.log.interceptors?.forEach(n=>n(o,r,e,i)),console[o](`[${r}]: ${e}`,i)}else se?.log.interceptors?.forEach(n=>n(o,r,e)),console[o](`[${r}]: ${e}`)},re=o=>{let t=`[${oe(o)}] `;return e=>{let s=e instanceof Error&&e.message?e:new Error(String(e));s.message=`${t}${s.message}`,setTimeout(()=>{throw e})}};var Ue=(o,t,e)=>{let s=Object.keys(o),r=s.length;M===void 0&&queueMicrotask(I),M??=new Map;let i=M.get(o);return i===void 0&&(i={callbacks:[],keyCount:r},M.set(o,i)),i.keyCount!==r&&(i.callbacks.forEach(n=>n(s)),i.callbacks=[],i.keyCount=r),i.callbacks.push(n=>{let a=l=>p(t,null,l),c=n[r];c===void 0?a(void 0):o[c]===e?a(c):a(void 0)}),e},M,I=()=>{M?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),M=void 0},Re=(o,t,e)=>{let s=o.manager;return s.V!==d&&s.V!==e&&s.S(void 0,void 0),s.T.length===0&&queueMicrotask(()=>s.S(void 0,void 0)),s.V=e,s.T.push((r,i)=>p(t,void 0,e===i?r:void 0)),e},Me=(o=[V(),...Rt()],t,e)=>{let s=Array.isArray(o)?o:[o],r=s.length+1,i=n=>{r-=1,n!==void 0&&(r=Math.min(r,0)),r===0&&t(n)};s.forEach(n=>Ue(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!1}),e));for(let n of s)if("manager"in n&&n.manager.component===n){Re(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!0}),e);break}return e},Ie=(o="",t={},e=V())=>{let s={emit:r=>{o===""&&I();let i=new CustomEvent(o,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(i),i}};return o===""&&Me(void 0,r=>o=r.key,s),s},ke=Ie.bind(null,""),ae;ae=H;var wt=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#r=[],this.#i=[],this.#c=[],this.#l=[],this.#p=[],this.#h=[],this.#d=!1,this.P=new b,this.connectedCalled=!1,this.loadedCalled=!1,this[ae]=!0,this.#a=[];let e=this,s=t??V(new.target.name);e.#o=s,e.ready=e.P.promise,e.#n=ne(e),e.component=s,e.#o.addController(e),e.#o.manager===void 0||(Ut(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#r;#i;#c;#l;#p;#h;#d;#o;catchUpLifecycle(){let{manager:t}=this.#o;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(re(this.#o))}#n;get exports(){return this.#n}set exports(t){let e=this.#n;e!==t&&(this.#n=t,this.#a.forEach(p),this.connectedCalled&&this.O!==!1&&this.#o.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#n=e?ne(t):t,this.#a.forEach(p)}#a;watchExports(t){let e=()=>t(this.#n);return this.#a.push(e),()=>void this.#a.splice(this.#a.indexOf(e),1)}get use(){return O(this.#o),Mt}get useRef(){return O(this.#o),It}get useRefSync(){return O(this.#o),Y}controllerRemoved(){this.#o.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#r.push(t)}onUpdate(t){this.#i.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#p.push(t),this.connectedCalled&&this.#o.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#h.forEach(p),t.#h=[]}async triggerLoad(){if(this.#d)return;this.#d=!0;let t=this;t.hostLoad&&await k(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(k)),this.P.resolve(this.#n)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#r.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#i.forEach(ie,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(ie,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#p.forEach(this.#u,this)}#u(t){O(this.#o);let e=p(t);(Array.isArray(e)?e:[e]).forEach(r=>{typeof r=="function"?this.#h.push(r):typeof r=="object"&&typeof r.remove=="function"&&this.#h.push(r.remove)})}};function ie(o){p(o,void 0,this)}var ce=wt,ne=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,r,i){if(!((r==="exports"||r==="_exports")&&r in s&&s[r]===e)&&(r in s||r in Promise.prototype||typeof r=="symbol"))return typeof s=="function"?s[r]:Reflect.get(s,r,i)}},e=new Proxy(o,t);return e};var ct=o=>o.replace(je,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),je=/[A-Z]+(?![a-z])|[A-Z]/gu;var Rs="randomUUID"in crypto;var St=o=>{let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(o),(e.I??e._postLoad).promise}return!1},Tt={};function Pt(){}var He=(o,t)=>function(s,r){if(!globalThis.customElements)return;let n=(r??s??{}).resourcesUrl;n&&o.setAssetPath(n);for(let[a,[c,l=""]]of Object.entries(t)){if(customElements.get(a))continue;let[u,h,y]=l.split(";"),g=u?u?.split(",").map(Ve):void 0,C=g?.map(([L])=>L),x=class extends Ot{static{this.observedAttributes=g?.map(([,L])=>L).filter(L=>L!=="")}static{this.C=C}static{this.E=h?h?.split(","):void 0}static{this.D=y?.split(",")}static{this.L=a}static{this.K=o}constructor(){!x.B&&(x.B=c(),x.F()),super()}};customElements.define(a,x)}},lt=Object.defineProperty,Ve=o=>{let t=o.split(":");return t.length===1?[t[0],ct(t[0])]:t},ze=globalThis.HTMLElement??Pt,Ot=class extends ze{constructor(){super(),this.#e={},this.#s=[],this.I=new b,this.H=new b,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(s=>{Object.hasOwn(t,s)&&(t.#e[s]=t[s],delete t[s])}),e.A?t.#r({a:e.A}):e.B.then(async s=>{await e.K.p,t.#r(await(s.default?.then(r=>typeof r=="function"?{a:r}:r)??s))}).catch(s=>{t.H.reject(s),setTimeout(()=>{throw s})})}static{this.lumina=!0}static F(){for(let t of this.C??[])lt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])lt(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])lt(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,s){this.#t?.attributeChangedCallback(t,e,s),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=St(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#r(t){let e=this.constructor,s=e.L,r=this.#e,i=Object.values(t).find(h=>h.L===s),n=`${s}--lazy`,a=i;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);We(a),!e.A&&(e.A=i,customElements.define(n,i)),i.N=this;let l=document.createElement(n);i.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(r).forEach(Be,l);let u=this.isConnected;(u||this.G)&&(l.connectedCallback?.(),u||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function Be([o,t]){this[o]=t}var We=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(r,i){e.setAttribute.call(this.el,r,i)},t.removeAttribute=function(r){e.removeAttribute.call(this.el,r)},lt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var m={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},E=o=>(...t)=>({_$litDirective$:o,values:t}),v=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var{I:Fe}=Xt;var ht=o=>o.strings===void 0,he=()=>document.createComment(""),Fs=(o,t,e)=>{let s=o._$AA.parentNode,r=t===void 0?o._$AB:t._$AA;if(e===void 0){let i=s.insertBefore(he(),r),n=s.insertBefore(he(),r);e=new Fe(i,n,o,o.options)}else{let i=e._$AB.nextSibling,n=e._$AM,a=n!==o;if(a){let c;e._$AQ?.(o),e._$AM=o,e._$AP!==void 0&&(c=o._$AU)!==n._$AU&&e._$AP(c)}if(i!==r||a){let c=e._$AA;for(;c!==i;){let l=c.nextSibling;s.insertBefore(c,r),c=l}}}return e},qs=(o,t,e=o)=>(o._$AI(t,e),o),qe={},de=(o,t=qe)=>o._$AH=t,Gs=o=>o._$AH,Ks=o=>{o._$AR(),o._$AA.remove()};var Ge=E(class extends v{constructor(o){if(super(o),o.type!==m.PROPERTY&&o.type!==m.ATTRIBUTE&&o.type!==m.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!ht(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===m.PROPERTY){if(t===e[s])return f}else if(o.type===m.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===m.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return de(o),t}});var Q=(o,t)=>{let e=o._$AN;if(e===void 0)return!1;for(let s of e)s._$AO?.(t,!1),Q(s,t);return!0},dt=o=>{let t,e;do{if((t=o._$AM)===void 0)break;e=t._$AN,e.delete(o),o=t}while(e?.size===0)},pe=o=>{for(let t;t=o._$AM;o=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(o))break;e.add(o),Je(t)}};function Ke(o){this._$AN!==void 0?(dt(this),this._$AM=o,pe(this)):this._$AM=o}function Qe(o,t=!1,e=0){let s=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(s))for(let i=e;i<s.length;i++)Q(s[i],!1),dt(s[i]);else s!=null&&(Q(s,!1),dt(s));else Q(this,o)}var Je=o=>{o.type==m.CHILD&&(o._$AP??=Qe,o._$AQ??=Ke)},pt=class extends v{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),pe(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(Q(this,t),dt(this))}setValue(t){if(ht(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var ho=()=>new Dt,Dt=class{},Nt=new WeakMap,xt=E(class extends pt{render(o){return d}update(o,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=o.options?.host,this.rt(this.ct=o.element)),d}rt(o){if(this.isConnected||(o=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=Nt.get(t);e===void 0&&(e=new WeakMap,Nt.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,o),o!==void 0&&this.G.call(this.ht,o)}else this.G.value=o}get lt(){return typeof this.G=="function"?Nt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var ut=class extends ce{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=ft in t&&typeof t.destroy=="function",$.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${ft} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),I();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),O(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>void this.#e.destroy();this.#t=te(t,Ze)}}S(t,e){let s=this.T;this.V=d,this.T=[],s.forEach(r=>r(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},Ze=1e3,ft="autoDestroyDisabled";var ue=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter((t=>o[t])).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter((s=>s!==""))));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let e=o.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let r=!!t[s];r===this.st.has(s)||this.nt?.has(s)||(r?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var fe="important",Xe=" !"+fe,me=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce(((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`}),"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let r=t[s];if(r!=null){this.ft.add(s);let i=typeof r=="string"&&r.endsWith(Xe);s.includes("-")||i?e.setProperty(s,i?r.slice(0,-11):r,i?fe:""):e[s]=r}}return f}});var ye=class o extends ${constructor(){super(),this.M=[],this.manager=new ut(this);let t=this,e=t.constructor,s=e.N,r=e.K.o,i=o.prototype.shouldUpdate;t.#r=s?.H??new b,t.I=s?.I??new b,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#s=t.enableUpdating,t.enableUpdating=Pt,t.shouldUpdate!==i&&(t.#e=t.shouldUpdate,t.shouldUpdate=i),r&&(t.#t=new Map,e.elementProperties.forEach((n,a)=>t.#t.set(a,r()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===Tt;return this.K?.commonStyles===void 0||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,r=Array.isArray(e)?e[1]:void 0,i=r?.hasChanged??W,n={attribute:s&1&&typeof t=="string"?ct(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),c:!1,...r,hasChanged(a,c){let l=i(a,c);return n.c=l,l}};super.createProperty(t,n)}static getPropertyDescriptor(t,e,s){let r=this.K,i=super.getPropertyDescriptor(t,e,s);return s.d=i,{...i,get(){return r.t?.(this.#t.get(t)),i.get?.call(this)},set(n){let a=this.manager;if(s.readOnly&&!J&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${n}"`);i.set.call(this,n??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(I(),a?.S(t,n))}}}static{this.lumina=!0}#t;#e;#s;#r;#i;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.constructor.K.c?.(()=>this.requestUpdate());this.#i=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(s=>{this.#r.reject(s),setTimeout(()=>{throw s})})):t&&this.requestUpdate()}#c(t){try{this.#i.clear(),this.constructor.K.r(this.#i,()=>super.update(t))}catch(e){throw this.#i.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#i?.destroy(),this.#i=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,i=t??(s===Tt?this.el:this.el.attachShadow(s));if(this.isConnected){let n=i.getRootNode();n.adoptedStyleSheets=[...n.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return i}async#l(){let t=this.el.G??St(this.el);t&&await t;let e=[];for(let r of this.M)"triggerLoad"in r?e.push(r.triggerLoad()):e.push(k(r.hostLoad,r));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(r=>r.has(ft)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();let s=this.J.filter(r=>!r.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async r=>await r.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let r of this.M)"triggerLoaded"in r?r.triggerLoaded():p(r.hostLoaded,r);this.loaded?.(),this.#r.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#i?this.#c(t):super.update(t)}listen(t,e,s){let r=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,s),()=>this.el.removeEventListener(t,r,s)))}listenOn(t,e,s,r){let i=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)))}async componentOnReady(){return await this.#r.promise,this}addController(t){this.M.push(t),!(H in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var vr=o=>{let t,e=r=>{t=new URL(r,globalThis.location?.href||void 0).href},s={...o,getAssetPath(r){let i=new URL(r,t);return i.origin!==globalThis.location?.origin?i.href:i.pathname},setAssetPath:e,customElement(r,i){i.K=s,i.L=r,customElements.get(r)||customElements.define(r,i)}};return e(o.defaultAssetPath),s};var Er=o=>typeof o=="object"&&o!=null?ue(o):o,$r=o=>typeof o=="object"&&o!=null?me(o):o;var Lt=class extends v{#t;#e;constructor(t){super(t);let e=this;this.#e=function(r){return e.#t.call(this,r)}}render(t){return typeof t=="function"?(this.#t=t,xt(this.#e)):xt(t)}},br=E(Lt);var _r=d;export{ss as a,O as b,V as c,Ut as d,Rt as e,os as f,rs as g,Ee as h,hs as i,ds as j,f as k,d as l,At as m,Os as n,Re as o,Me as p,ke as q,wt as r,ce as s,Tt as t,He as u,m as v,E as w,v as x,Fs as y,qs as z,de as A,Gs as B,Ks as C,Ge as D,ho as E,xt as F,ye as G,vr as H,Er as I,$r as J,_r as K};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
3
+ v1.2.0-next.62 */
4
4
  function V(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r}function F(t){return Object.keys(t).some(e=>{let r=t[e];if(!r)return!1;switch(r&&r.toParam&&(r=r.toParam()),r.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 M(t){let e={};return Object.keys(t).forEach(r=>{var n,o;let s=t[r];if(s&&s.toParam&&(s=s.toParam()),!s&&s!==0&&typeof s!="boolean"&&typeof s!="string")return;let i=s.constructor.name,c;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;c=u==="Array"?s:u==="Object"?JSON.stringify(s):s.join(",");break;case"Object":c=JSON.stringify(s);break;case"Date":c=s.valueOf();break;case"Function":c=null;break;case"Boolean":c=s+"";break;default:c=s;break}(c||c===0||typeof c=="string"||Array.isArray(c))&&(e[r]=c)}),e}function Q(t,e){return Array.isArray(e)&&e[0]&&Array.isArray(e[0])?e.map(r=>Q(t,r)).join("&"):encodeURIComponent(t)+"="+encodeURIComponent(e)}function T(t){let e=M(t);return Object.keys(e).map(r=>Q(r,e[r])).join("&")}var X=globalThis.FormData,Te=globalThis.File,Se=globalThis.Blob;function Y(t,e){let r=F(t)||e,n=M(t);if(r){let o=new X;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 T(t)}var k=class extends Error{constructor(e,r,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),e=e||"UNKNOWN_ERROR",r=r||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=r==="UNKNOWN_ERROR_CODE"?e:`${r}: ${e}`,this.originalMessage=e,this.code=r,this.response=n,this.url=o,this.options=s}};var ge={noCorsDomains:[],crossOriginNoCorsDomains:{},pendingNoCorsRequests:{}},L="ARCGIS_REST_JS_NO_CORS";globalThis[L]||(globalThis[L]=Object.assign({},ge));var w=globalThis[L];function B(t){let e=new URL(t);t=e.origin+e.pathname,e.search.includes("f=json")&&(t+="?f=json");let r=e.origin;return w.pendingNoCorsRequests[r]?w.pendingNoCorsRequests[r]:(w.pendingNoCorsRequests[r]=fetch(t,{mode:"no-cors",credentials:"include",cache:"no-store"}).then(n=>{w.noCorsDomains.indexOf(r)===-1&&w.noCorsDomains.push(r),w.crossOriginNoCorsDomains[r.toLowerCase()]=Date.now(),delete w.pendingNoCorsRequests[r]}).catch(n=>(delete w.pendingNoCorsRequests[r],Promise.reject(new Error(`no-cors request to ${r} failed`)))),w.pendingNoCorsRequests[r])}function Z(t){t.forEach(e=>{e=e.toLowerCase(),/^https?:\/\//.test(e)?z(e):(z("http://"+e),z("https://"+e))})}function z(t){let r=new URL(t).origin;w.noCorsDomains.indexOf(r)===-1&&w.noCorsDomains.push(r)}function J(t){let e=!1;if(w.noCorsDomains.length){let r=new URL(t).origin.toLowerCase();e=w.noCorsDomains.some(n=>r.includes(n))}return e}function ee(t){let e=!1;if(J(t)){let r=new URL(t).origin.toLowerCase(),n=w.crossOriginNoCorsDomains[r]||0;Date.now()-60*6e4>n&&(e=!0)}return e}function te(t){console&&console.warn&&console.warn.apply(console,[t])}function re(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}function ne(t,e){var r;if(!e&&!window||!t)return!1;{e=e||window;let n=(r=e.location)===null||r===void 0?void 0:r.origin;return t.startsWith(n)}}var H="@esri/arcgis-rest-js";function we(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var A=class extends k{constructor(e="AUTHENTICATION_ERROR",r="AUTHENTICATION_ERROR_CODE",n,o,s){super(e,r,n,o,s),this.name="ArcGISAuthError",this.message=r==="AUTHENTICATION_ERROR_CODE"?e:`${r}: ${e}`;let i=new.target.prototype;Object.setPrototypeOf(this,i)}retry(e,r=1){let n=0,o=(s,i)=>{n=n+1,e(this.url,this.options).then(c=>{let u=Object.assign(Object.assign({},this.options),{authentication:c});return oe(this.url,u)}).then(c=>{s(c)}).catch(c=>{c.name==="ArcGISAuthError"&&n<r?o(s,i):c.name===this.name&&c.message===this.message&&n>=r?i(this):i(c)})};return new Promise((s,i)=>{o(s,i)})}};function Ee(t,e,r,n,o){if(t.code>=400){let{message:s,code:i}=t;throw new k(s,i,t,e,n)}if(t.error){let{message:s,code:i,messageCode:c}=t.error,u=c||i||"UNKNOWN_ERROR_CODE";throw i===498||i===499?o||new A(s,u,t,e,n):new k(s,u,t,e,n)}if(t.status==="failed"||t.status==="failure"){let s,i="UNKNOWN_ERROR_CODE";try{s=JSON.parse(t.statusMessage).message,i=JSON.parse(t.statusMessage).code}catch{s=t.statusMessage||t.message}throw new k(s,i,t,e,n)}return t}function oe(t,e){let r=we(),n=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},r),e),{params:Object.assign(Object.assign({},r.params),e.params),headers:Object.assign(Object.assign({},r.headers),e.headers)}),{httpMethod:o,rawResponse:s}=n,i=Object.assign({f:"json"},n.params),c=null,u={method:o,signal:n.signal,credentials:n.credentials||"same-origin"};J(t)&&(u.credentials="include"),n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&t.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let x;if(typeof n.authentication=="string"){let a=n.authentication;x={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(a)},!n.authentication.startsWith("AAPK")&&!n.authentication.startsWith("AAPT")&&!n.authentication.startsWith("AATK")&&!n.authentication.startsWith("AAST")&&!n.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(te("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 x=n.authentication;let p=t,d=!1;typeof window<"u"&&(d=ne(t));let R=!d&&ee(t);n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&t.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let S=Promise.resolve();return R&&(u.credentials="include",S=B(t)),S.then(()=>x?x.getToken(t).catch(a=>(a.url=t,a.options=n,c=a,Promise.resolve(""))):Promise.resolve("")).then(a=>{a.length&&(i.token=a),x&&x.getDomainCredentials&&(u.credentials=x.getDomainCredentials(t));let l={};if(u.method==="GET"){i.token&&n.hideToken&&typeof window>"u"&&(l["X-Esri-Authorization"]=`Bearer ${i.token}`,delete i.token);let b=T(i)===""?t:t+"?"+T(i);n.maxUrlLength&&b.length>n.maxUrlLength||!n.maxUrlLength&&b.length>2e3||i.token&&n.hideToken?(u.method="POST",a.length&&n.hideToken&&(i.token=a,delete l["X-Esri-Authorization"])):t=b}let m=new RegExp("/items/.+/updateResources").test(t);return u.method==="POST"&&(u.body=Y(i,m)),u.headers=Object.assign(Object.assign({},l),n.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!u.headers.referer&&(u.headers.referer=H),!F(i)&&!m&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(t,u):re().then(({fetch:h})=>h(t,u))}).then(a=>{if(!a.ok)return a.json().then(l=>{let{status:m,statusText:h}=a,{message:b,details:D}=l.error,v=`${b}. ${D?D.join(" "):""}`.trim();throw new k(v,`HTTP ${m} ${h}`,l,t,n)}).catch(l=>{if(l.name==="ArcGISRequestError")throw l;let{status:m,statusText:h}=a;throw new k(h,`HTTP ${m}`,a,t,n)});if(s)return a;switch(i.f){case"json":return a.json();case"geojson":return a.json();case"html":return a.text();case"text":return a.text();default:return a.blob()}}).then(a=>{if((i.f==="json"||i.f==="geojson")&&!s){let l=Ee(a,p,i,n,c);if(a&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(t)&&Array.isArray(a.authorizedCrossOriginNoCorsDomains)&&Z(a.authorizedCrossOriginNoCorsDomains),c){let m=t.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];n.authentication.federatedServers[m]={token:[],expires:new Date(Date.now()+86400*1e3)},c=null}return l}else return a})}function f(t,e={params:{f:"json"}}){let{request:r}=e,n=V(e,["request"]);return r?r(t,n):oe(t,n).catch(o=>o instanceof A&&e.authentication&&typeof e.authentication!="string"&&e.authentication.canRefresh&&e.authentication.refreshCredentials?o.retry(()=>e.authentication.refreshCredentials(),1):Promise.reject(o))}function xe(t){let[e,r]=t.split("=");return{key:decodeURIComponent(e),value:decodeURIComponent(r)}}function se(t){return!t||t.length<=0?{}:t.replace(/^#/,"").replace(/^\?/,"").split("&").reduce((e,r)=>{let{key:n,value:o}=xe(r);return e[n]=o,e},{})}var ie=300*1e3;function C(t,e){let r=e;return r.rawResponse=!1,f(t,r).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-ie),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-ie)),o})}function E(t){return typeof t!="string"||(t=t.trim(),t[t.length-1]==="/"&&(t=t.slice(0,-1))),t}var q=/^https?:\/\/(\S+)\.arcgis\.com.+/;function ae(t){return q.test(t)}function _e(t){if(!q.test(t))return t;switch(K(t)){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 K(t){if(!q.test(t))return null;let r=t.match(q)[1].split(".").pop();return r.includes("dev")?"dev":r.includes("qa")?"qa":"production"}function ce(t,e){let r=E(_e(e)).replace(/https?:\/\//,""),n=E(t).replace(/https?:\/\//,"");return new RegExp(n,"i").test(r)}function ue(t,e){let r=ae(t),n=ae(e),o=K(t),s=K(e);return!!(r&&n&&o===s)}function le(t,e,r="https://www.arcgis.com/sharing/rest"){let n=`${r}/oauth2/validateAppAccess`;return f(n,{method:"POST",params:{f:"json",client_id:e,token:t}})}function ot(t,e,r){let n=["params","httpMethod","rawResponse","authentication","hideToken","portal","credentials","maxUrlLength","headers","signal","suppressWarnings","request"],o=Object.assign(Object.assign({params:{}},r),t);return o.params=e.reduce((s,i)=>((t[i]||typeof t[i]=="boolean"||typeof t[i]=="number"&&t[i]===0)&&(s[i]=t[i]),s),o.params),n.reduce((s,i)=>(o[i]&&(s[i]=o[i]),s),{})}var _;(function(t){t.TOKEN_REFRESH_FAILED="TOKEN_REFRESH_FAILED",t.GENERATE_TOKEN_FOR_SERVER_FAILED="GENERATE_TOKEN_FOR_SERVER_FAILED",t.REFRESH_TOKEN_EXCHANGE_FAILED="REFRESH_TOKEN_EXCHANGE_FAILED",t.NOT_FEDERATED="NOT_FEDERATED",t.UNKNOWN_ERROR_CODE="UNKNOWN_ERROR_CODE"})(_||(_={}));var y=class extends Error{constructor(e="UNKNOWN_ERROR",r=_.UNKNOWN_ERROR_CODE,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),this.name="ArcGISTokenRequestError",this.message=`${r}: ${e}`,this.originalMessage=e,this.code=r,this.response=n,this.url=o,this.options=s}};var N=class extends Error{constructor(){super("The user has denied your authorization request.");let r=new.target.prototype;Object.setPrototypeOf(this,r),this.name="ArcGISAccessDeniedError"}};var he;(function(t){t.ArcGISRequestError="ArcGISRequestError",t.ArcGISAuthError="ArcGISAuthError",t.ArcGISAccessDeniedError="ArcGISAccessDeniedError",t.ArcGISTokenRequestError="ArcGISTokenRequestError"})(he||(he={}));var j=class{constructor(e){this.portal=e.portal?E(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 r=`${this.portal}/community/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingUserRequest=f(r,n).then(o=>(this._user=o,this._pendingUserRequest=null,o)),this._pendingUserRequest}}clearCachedUserInfo(){this._user=null}};var W;(function(t){t.Success="Succeeded",t.Failed="Failed",t.Waiting="Waiting",t.Cancelled="Cancelled",t.Cancelling="Cancelling",t.New="New",t.Executing="Executing",t.Submitted="Submitted",t.Failure="Failure",t.TimedOut="TimedOut",t.Error="Error",t.Status="Etatus",t.Unknown="Unknown"})(W||(W={}));function fe(t){let e=`${E(t.portal||"https://www.arcgis.com/sharing/rest")}/oauth2/revokeToken/`,r=t.token,n=t.clientId;delete t.portal,delete t.clientId,delete t.token;let o=Object.assign(Object.assign({},t),{httpMethod:"POST",params:{client_id:n,auth_token:r}});return f(e,o).then(s=>{if(!s.success)throw new k("Unable to revoke token",500,s,e,o);return s})}function $(t,e=window){return!e&&window&&(e=window),e.btoa(String.fromCharCode.apply(null,t)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function pe(t,e=window){if(!e&&window&&(e=window),t&&e.isSecureContext&&e.crypto&&e.crypto.subtle){let n=new e.TextEncoder().encode(t);return e.crypto.subtle.digest("SHA-256",n).then(o=>$(new Uint8Array(o),e))}return Promise.resolve(null)}function G(t){!t&&window&&(t=window);let e=t.crypto.getRandomValues(new Uint8Array(32));return $(e)}function de(t,e){return typeof t=="string"?t:typeof t=="object"?t.id:G(e)}function me(t,e,r){return JSON.stringify(typeof e=="string"||!e?{id:t,originalUrl:r}:Object.assign({id:t},e))}function ye(t){return typeof t.userId=="string"||typeof t.expires=="number"}var O=class t extends j{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?E(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.state=e.state,this.federatedServers={},this.trustedDomains=[],e.server){let r=this.getServerRootUrl(e.server);this.federatedServers[r]={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,r){!r&&window&&(r=window);let{portal:n,provider:o,clientId:s,expiration:i,redirectUri:c,popup:u,popupWindowFeatures:x,locale:p,params:d,style:R,pkce:S,state:a}=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),l=de(a,r),m=`ARCGIS_REST_JS_AUTH_STATE_${s}`;r.localStorage.setItem(m,l);let h=`${E(n)}/oauth2/authorize`,b={client_id:s,response_type:S?"code":"token",expiration:i,redirect_uri:c,state:me(l,a,r.location.href),locale:p,style:R};o!=="arcgis"&&(h=`${E(n)}/oauth2/social/authorize`,b.socialLoginProviderName=o,b.autoAccountCreateForSocial=!0);let D;if(S){let v=G(r),U=`ARCGIS_REST_JS_CODE_VERIFIER_${s}`;r.localStorage.setItem(U,v),D=pe(v,r).then(function(g){b.code_challenge_method=g?"S256":"plain",b.code_challenge=g||v})}else D=Promise.resolve();return D.then(()=>{if(h=`${h}?${T(b)}`,d&&(h=`${h}&${T(d)}`),u)return new Promise((v,U)=>{r.addEventListener(`arcgis-rest-js-popup-auth-${s}`,g=>{if(g.detail.error==="access_denied"){let P=new N;return U(P),P}if(g.detail.errorMessage){let P=new A(g.detail.errorMessage,g.detail.error);return U(P),P}v(new t({clientId:s,portal:n,ssl:g.detail.ssl,token:g.detail.token,tokenExpires:g.detail.expires,username:g.detail.username,refreshToken:g.detail.refreshToken,refreshTokenExpires:g.detail.refreshTokenExpires,redirectUri:c,state:g.detail.state}))},{once:!0}),r.open(h,"oauth-window",x),r.dispatchEvent(new CustomEvent("arcgis-rest-js-popup-auth-start"))});r.location.href=h})}static completeOAuth2(e,r){!r&&window&&(r=window);let{portal:n,clientId:o,popup:s,pkce:i,redirectUri:c}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",popup:!0,pkce:!0},e),u=`ARCGIS_REST_JS_AUTH_STATE_${o}`,x=r.localStorage.getItem(u),p=se(i?r.location.search.replace(/^\?/,""):r.location.hash.replace(/^#/,"")),d=p&&p.state?JSON.parse(p.state):void 0;function R(a,l,m){if(r.localStorage.removeItem(u),s&&r.opener){r.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:{error:l,errorMessage:a}})),r.close();return}return m&&r.history.replaceState(r.history.state,"",m),l==="access_denied"?Promise.reject(new N):Promise.reject(new A(a,l))}function S(a,l){if(r.localStorage.removeItem(u),s&&r.opener){r.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:Object.assign(Object.assign({},a),{state:l})})),r.close();return}return l.originalUrl&&r.history.replaceState(r.history.state,"",l.originalUrl),new t({clientId:o,portal:n,ssl:a.ssl,token:a.token,tokenExpires:a.expires,username:a.username,refreshToken:a.refreshToken,refreshTokenExpires:a.refreshTokenExpires,redirectUri:c||location.href.replace(location.search,""),state:l})}if(!x||!d)return R("No authentication state was found, call `ArcGISIdentityManager.beginOAuth2(...)` to start the authentication process.","no-auth-state");if(d.id!==x)return R("Saved client state did not match server sent state.","mismatched-auth-state");if(p.error){let a=p.error,l=p.error_description||"Unknown error";return R(l,a,d.originalUrl)}if(i&&p.code){let a=E(`${n}/oauth2/token/`),l=`ARCGIS_REST_JS_CODE_VERIFIER_${o}`,m=r.localStorage.getItem(l);return r.localStorage.removeItem(l),C(a,{httpMethod:"POST",params:{client_id:o,code_verifier:m,grant_type:"authorization_code",redirect_uri:c||location.href.replace(location.search,""),code:p.code}}).then(h=>S(Object.assign(Object.assign({},h),d),d)).catch(h=>R(h.originalMessage,h.code,d.originalUrl))}return!i&&p.access_token?Promise.resolve(S(Object.assign({token:p.access_token,expires:new Date(Date.now()+parseInt(p.expires_in,10)*1e3),ssl:p.ssl==="true",username:p.username},d),d)):R("Unknown error","oauth-error",d.originalUrl)}static fromParent(e,r){!r&&window&&(r=window);let n;return new Promise((o,s)=>{n=i=>{if(i.source===r.parent&&i.data)try{return o(t.parentMessageHandler(i))}catch(c){return s(c)}},r.addEventListener("message",n,!1),r.parent.postMessage({type:"arcgis:auth:requestCredential"},e)}).then(o=>(r.removeEventListener("message",n,!1),o))}static authorize(e,r){let{portal:n,clientId:o,expiration:s,redirectUri:i,state:c}=Object.assign({portal:"https://arcgis.com/sharing/rest",expiration:20160},e),u={client_id:o,expiration:s,response_type:"code",redirect_uri:i};c&&(u.state=c);let x=`${n}/oauth2/authorize?${T(u)}`;r.writeHead(301,{Location:x}),r.end()}static exchangeAuthorizationCode(e,r){let{portal:n,clientId:o,redirectUri:s}=Object.assign({portal:"https://www.arcgis.com/sharing/rest"},e);return C(`${n}/oauth2/token`,{params:{grant_type:"authorization_code",client_id:o,redirect_uri:s,code:r}}).then(i=>new t({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,_.REFRESH_TOKEN_EXCHANGE_FAILED,i.response,i.url,i.options)})}static deserialize(e){let r=JSON.parse(e);return new t({clientId:r.clientId,refreshToken:r.refreshToken,refreshTokenExpires:r.refreshTokenExpires?new Date(r.refreshTokenExpires):void 0,username:r.username,password:r.password,token:r.token,tokenExpires:r.tokenExpires?new Date(r.tokenExpires):void 0,portal:r.portal,ssl:r.ssl,tokenDuration:r.tokenDuration,redirectUri:r.redirectUri,server:r.server})}static fromCredential(e,r){let n=typeof e.ssl<"u"?e.ssl:!0,o=e.expires||Date.now()+72e5;return r.hasServer?new t({server:e.server,ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)}):new t({portal:E(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"){let r=e.data.credential;return ye(r)?t.fromCredential(r,{hasPortal:!0,hasServer:!1,server:r.server}):new t(r)}if(e.data.type==="arcgis:auth:error"){let r=new Error(e.data.error.message);throw r.name=e.data.error.name,r}else throw new Error("Unknown message type.")}static destroy(e){return fe({clientId:e.clientId,portal:e.portal,token:e.refreshToken||e.token})}static fromToken(e){let r=new t(e);return r.getUser().then(()=>r)}static signIn(e){let r=new t(e);return r.getUser().then(()=>r)}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 r=`${this.portal}/portals/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingPortalRequest=f(r,n).then(o=>(this._portalInfo=o,this._pendingPortalRequest=null,o)),this._pendingPortalRequest}}getToken(e,r){return ue(this.portal,e)?this.getFreshToken(r):new RegExp(this.portal,"i").test(e)?this.getFreshToken(r):this.getTokenForServer(e,r)}validateAppAccess(e){return this.getToken(this.portal).then(r=>le(r,e))}toJSON(){return{type:"ArcGISIdentityManager",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,r){!r&&window&&(r=window),this._hostHandler=this.createPostMessageHandler(e),r.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.",_.TOKEN_REFRESH_FAILED))}getServerRootUrl(e){let[r]=E(e).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/),[n,o,s]=r.match(/(https?:\/\/)(.+)/),[i,...c]=s.split("/");return`${o}${i.toLowerCase()}/${c.join("/")}`}getDomainCredentials(e){return!this.trustedDomains||!this.trustedDomains.length?"same-origin":(e=e.toLowerCase(),this.trustedDomains.some(r=>e.startsWith(r.toLowerCase()))?"include":"same-origin")}signOut(){return t.destroy(this)}createPostMessageHandler(e){return r=>{let n=e.indexOf(r.origin)>-1,o=r.data.type==="arcgis:auth:requestCredential",s=this.tokenExpires.getTime()>Date.now();if(n&&o){let i={};if(s){let c=this.toCredential();c.server=c.server.replace("/sharing/rest",""),i={type:"arcgis:auth:credential",credential:c}}else i={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Token was expired, and not returned to the child application"}};r.source.postMessage(i,r.origin)}}}getTokenForServer(e,r){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(()=>f(`${n}/rest/info`,{credentials:this.getDomainCredentials(e)}).then(s=>{if(s.owningSystemUrl){if(ce(s.owningSystemUrl,this.portal))return f(`${s.owningSystemUrl}/sharing/rest/info`,r);throw new y(`${e} is not federated with ${this.portal}.`,_.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.`,_.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,r){return f(e,{params:{token:this.token,serverUrl:r,expiration:this.tokenDuration}}).then(n=>({token:n.token,expires:new Date(n.expires-1e3*60*5)})).catch(n=>{throw new y(n.message,_.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 r={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:H};return(this.server?f(`${this.getServerRootUrl(this.server)}/rest/info`).then(n=>f(n.authInfo.tokenServicesUrl,Object.assign({params:r},e))):f(`${this.portal}/generateToken`,Object.assign({params:r},e))).then(n=>(this.updateToken(n.token,new Date(n.expires)),this)).catch(n=>{throw new y(n.message,_.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 C(`${this.portal}/oauth2/token`,n).then(o=>this.updateToken(o.token,o.expires)).catch(o=>{throw new y(o.message,_.TOKEN_REFRESH_FAILED,o.response,o.url,o.options)})}updateToken(e,r){return this._token=e,this._tokenExpires=r,this}exchangeRefreshToken(e){let r=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},e);return C(`${this.portal}/oauth2/token`,r).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,_.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(r=>!r.startsWith("http://")).map(r=>r.startsWith("https://")?r:`https://${r}`)),this))}};function I(t){return console.log("DEPRECATED:, 'UserSession' is deprecated. Use 'ArcGISIdentityManager' instead."),new O(t)}I.beginOAuth2=function(...t){return console.warn("DEPRECATED:, 'UserSession.beginOAuth2' is deprecated. Use 'ArcGISIdentityManager.beginOAuth2' instead."),O.beginOAuth2(...t)};I.completeOAuth2=function(...t){return console.warn("DEPRECATED:, 'UserSession.completeOAuth2()' is deprecated. Use 'ArcGISIdentityManager.completeOAuth2()' instead."),t.length<=1&&console.warn("WARNING:, 'UserSession.completeOAuth2()' is now async and returns a promise the resolves to an instance of `ArcGISIdentityManager`."),O.completeOAuth2(...t)};I.fromParent=function(...t){return console.warn("DEPRECATED:, 'UserSession.fromParent' is deprecated. Use 'ArcGISIdentityManager.fromParent' instead."),O.fromParent(...t)};I.authorize=function(...t){return console.warn("DEPRECATED:, 'UserSession.authorize' is deprecated. Use 'ArcGISIdentityManager.authorize' instead."),O.authorize(...t)};I.exchangeAuthorizationCode=function(...t){return console.warn("DEPRECATED:, 'UserSession.exchangeAuthorizationCode' is deprecated. Use 'ArcGISIdentityManager.exchangeAuthorizationCode' instead."),O.exchangeAuthorizationCode(...t)};I.fromCredential=function(...t){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."),O.fromCredential(...t)};I.deserialize=function(...t){return console.log("DEPRECATED:, 'UserSession.deserialize' is deprecated. Use 'ArcGISIdentityManager.deserialize' instead."),O.deserialize(...t)};export{Y as a,te as b,A as c,f as d,ot as e,E as f,O 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
3
+ v1.2.0-next.62 */
4
4
  var e=["hub:channel","hub:channel:create","hub:channel:delete","hub:channel:edit","hub:channel:view","hub:channel:owner","hub:channel:manage","hub:channel:read","hub:channel:write","hub:channel:readWrite","hub:channel:moderate"],n="hub:channel:none",h={channelRoot:"hub:channel",channelCreate:"hub:channel:create",channelDelete:"hub:channel:delete",channelEdit:"hub:channel:edit",channelView:"hub:channel:view",channelOwner:"hub:channel:owner",channelManage:"hub:channel:manage",channelRead:"hub:channel:read",channelWrite:"hub:channel:write",channelReadWrite:"hub:channel:readWrite",channelModerate:"hub:channel:moderate"};export{e as a,n as b,h as c};