@esri/solutions-components 1.2.0-next.20 → 1.2.0-next.21

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 (470) hide show
  1. package/dist/cdn/{AWYWTRXR.js → 22WI477F.js} +1 -1
  2. package/dist/cdn/{2E2FE2UD.js → 24XF7RBG.js} +1 -1
  3. package/dist/cdn/{DEGZEHFA.js → 267XR53J.js} +2 -2
  4. package/dist/cdn/{IQ653RQE.js → 27ESLXAT.js} +2 -2
  5. package/dist/cdn/{ET53ODBH.js → 2CA32FPD.js} +2 -2
  6. package/dist/cdn/{UMFU7KU2.js → 2ERLNTHC.js} +2 -2
  7. package/dist/cdn/{IXMHUULQ.js → 2L5T7JFI.js} +2 -2
  8. package/dist/cdn/{QFF7V4PQ.js → 2NN7XORI.js} +2 -2
  9. package/dist/cdn/{Q62F7PR4.js → 2OEXTGHX.js} +2 -2
  10. package/dist/cdn/{VMS64XK4.js → 2R5QFP6H.js} +2 -2
  11. package/dist/cdn/{3SE34IUW.js → 2TBAUYG2.js} +2 -2
  12. package/dist/cdn/{Z3JRVSB5.js → 2WQ4D3JD.js} +2 -2
  13. package/dist/cdn/{HA4BRCZL.js → 2XVGJF2S.js} +2 -2
  14. package/dist/cdn/{LCJL63FQ.js → 2Z7NZD5S.js} +2 -2
  15. package/dist/cdn/{EDGKUXXH.js → 2ZDTHK62.js} +2 -2
  16. package/dist/cdn/{DTS4PRW6.js → 374U3GWX.js} +2 -2
  17. package/dist/cdn/{CBW6ZCMO.js → 37BAVLAP.js} +2 -2
  18. package/dist/cdn/{M67UKJWV.js → 37CBPFRJ.js} +2 -2
  19. package/dist/cdn/{WGNE3DPP.js → 3DBJ6LQZ.js} +2 -2
  20. package/dist/cdn/{SCSYXJ7N.js → 3EUP5SA5.js} +2 -2
  21. package/dist/cdn/{G2V4X4JH.js → 3FQZERY2.js} +2 -2
  22. package/dist/cdn/{XX4ZM5IC.js → 3GSLYS7Y.js} +2 -2
  23. package/dist/cdn/3I365GBL.js +4 -0
  24. package/dist/cdn/{SRGIOXPX.js → 3LUEIDPJ.js} +2 -2
  25. package/dist/cdn/{2R7AUPQI.js → 3NBAQVF4.js} +1 -1
  26. package/dist/cdn/{5CLHQWXO.js → 3NJ7ZDPK.js} +2 -2
  27. package/dist/cdn/{HGSRS4G7.js → 3PWHRLUR.js} +2 -2
  28. package/dist/cdn/{VCA7V37B.js → 3SCGD2CV.js} +2 -2
  29. package/dist/cdn/{UWAVF2GP.js → 3SLYHKVF.js} +2 -2
  30. package/dist/cdn/{44X6QKRO.js → 3UZJJ4TA.js} +2 -2
  31. package/dist/cdn/{CNQYI77D.js → 43LM47JM.js} +2 -2
  32. package/dist/cdn/{UNXBX2LJ.js → 44SOOWCI.js} +2 -2
  33. package/dist/cdn/{KVXQDAG4.js → 455DGAYG.js} +2 -2
  34. package/dist/cdn/{3RRAETYC.js → 47JWHU6X.js} +2 -2
  35. package/dist/cdn/{FDRN4UNS.js → 4IP3BGGA.js} +2 -2
  36. package/dist/cdn/{5LCZHYVJ.js → 4J2AL6O3.js} +2 -2
  37. package/dist/cdn/{E3DHDSJM.js → 4KAJDNJI.js} +2 -2
  38. package/dist/cdn/{VZ2AGJN5.js → 4N6PAP2B.js} +2 -2
  39. package/dist/cdn/{7CGF4Q2X.js → 4PFWZPSF.js} +2 -2
  40. package/dist/cdn/{PXQKI3CA.js → 4PJKBI5Q.js} +2 -2
  41. package/dist/cdn/{PFGY7OJD.js → 4SB6QW6W.js} +1 -1
  42. package/dist/cdn/{WXWPPR6B.js → 4TDPMROA.js} +2 -2
  43. package/dist/cdn/{CL2HUELG.js → 4ZEW55IS.js} +2 -2
  44. package/dist/cdn/{T47XNO3L.js → 4ZXH4AYE.js} +1 -1
  45. package/dist/cdn/{A7N6WDBV.js → 5AWE75QZ.js} +2 -2
  46. package/dist/cdn/{5FQDPXO7.js → 5BBGQJ5S.js} +2 -2
  47. package/dist/cdn/{G577XEWY.js → 5CSKRDZM.js} +2 -2
  48. package/dist/cdn/{WX6CMXEK.js → 5FODZC2W.js} +1 -1
  49. package/dist/cdn/{J6IBYFB7.js → 5KWSM7IU.js} +2 -2
  50. package/dist/cdn/{OPR2BXKC.js → 5LQPYHS4.js} +2 -2
  51. package/dist/cdn/{KCUSGNOT.js → 5O3P6DBG.js} +2 -2
  52. package/dist/cdn/{MQ6QXIYX.js → 5QB6QMOQ.js} +2 -2
  53. package/dist/cdn/{3C4ETSRM.js → 5TK6DOW6.js} +2 -2
  54. package/dist/cdn/{6HKQWPJC.js → 5U25HMRT.js} +2 -2
  55. package/dist/cdn/{3J6DNKCB.js → 5UFUXLVC.js} +2 -2
  56. package/dist/cdn/{WTEOQ6IU.js → 5WF3LHZV.js} +2 -2
  57. package/dist/cdn/{B2WOMW43.js → 5X5I7HXW.js} +2 -2
  58. package/dist/cdn/5X7OT3PW.js +4 -0
  59. package/dist/cdn/{LLCAUOLE.js → 5ZAFAS7S.js} +2 -2
  60. package/dist/cdn/{RJBUFP4Z.js → 65YYFVKD.js} +1 -1
  61. package/dist/cdn/{EA2CRCAW.js → 66KL4C26.js} +2 -2
  62. package/dist/cdn/{WS4XMXPD.js → 67PMSKZH.js} +1 -1
  63. package/dist/cdn/{KM5ULZP3.js → 6D3JL2AS.js} +2 -2
  64. package/dist/cdn/{IXDDY2QM.js → 6ISYJZ3U.js} +2 -2
  65. package/dist/cdn/{3JEP4BL5.js → 6J47H6LF.js} +1 -1
  66. package/dist/cdn/{KWTHKTQ3.js → 6LDGKXHO.js} +2 -2
  67. package/dist/cdn/{EM3ALNIJ.js → 6MPNFWME.js} +2 -2
  68. package/dist/cdn/{2ALMQ2ZF.js → 6MWYP2QJ.js} +2 -2
  69. package/dist/cdn/{C2HOCMY5.js → 6NCUX6NJ.js} +2 -2
  70. package/dist/cdn/{4KSQVRTW.js → 6RUEUSIY.js} +2 -2
  71. package/dist/cdn/{3JTKRUV2.js → 6UDQYBCT.js} +2 -2
  72. package/dist/cdn/{NOPHLD4K.js → 6VPV7EU6.js} +1 -1
  73. package/dist/cdn/{5Q45QLUW.js → 766NXEI5.js} +2 -2
  74. package/dist/cdn/{YWYPENHD.js → 7EWH23O4.js} +2 -2
  75. package/dist/cdn/{24NXLO23.js → 7G2GSKCH.js} +2 -2
  76. package/dist/cdn/{SWAZYX4I.js → 7IGMIN2W.js} +2 -2
  77. package/dist/cdn/{WX2Q5L3D.js → 7NRVWFK5.js} +2 -2
  78. package/dist/cdn/{XIEML7FT.js → 7QZKOSHV.js} +2 -2
  79. package/dist/cdn/{7MLWYGOM.js → 7THEDBQV.js} +2 -2
  80. package/dist/cdn/{VLVHNMFY.js → 7WJ4AYW6.js} +2 -2
  81. package/dist/cdn/{UEBQNKZH.js → ACASG3D3.js} +2 -2
  82. package/dist/cdn/{Y5GTJ73V.js → ADOJOJRJ.js} +2 -2
  83. package/dist/cdn/{5VCN4HJU.js → ALRXJEMN.js} +1 -1
  84. package/dist/cdn/{LQHGJORU.js → ANG6KH3Q.js} +1 -1
  85. package/dist/cdn/{6VXUORBY.js → APL5YV6I.js} +2 -2
  86. package/dist/cdn/{LIXADYN2.js → ARWGMEFD.js} +2 -2
  87. package/dist/cdn/{PSMIHRUH.js → AVXSEI6R.js} +2 -2
  88. package/dist/cdn/{HYVUWU6M.js → AVYP5N5W.js} +2 -2
  89. package/dist/cdn/{CA3G4QAA.js → AWZPH3WI.js} +2 -2
  90. package/dist/cdn/{DZVV6CD7.js → B2M4VAVZ.js} +2 -2
  91. package/dist/cdn/{FGMT2KHY.js → B6NCIDUQ.js} +2 -2
  92. package/dist/cdn/{Q5CNUDGT.js → BA7C5JV7.js} +2 -2
  93. package/dist/cdn/{VHUKKY5C.js → BIJS3QDZ.js} +2 -2
  94. package/dist/cdn/{ABVF5BMO.js → BJYU2UEJ.js} +2 -2
  95. package/dist/cdn/{HVJNKZ76.js → BNYHJMNY.js} +2 -2
  96. package/dist/cdn/{2I5JVFLV.js → BOWYOYFF.js} +2 -2
  97. package/dist/cdn/BUNUWO4R.js +4 -0
  98. package/dist/cdn/{NL5HFA2J.js → BYHP3RDB.js} +2 -2
  99. package/dist/cdn/{LBN2RTAD.js → C36XF7C7.js} +2 -2
  100. package/dist/cdn/{BCVMTQ7X.js → C3UGMPFZ.js} +2 -2
  101. package/dist/cdn/{N4AIZVPV.js → C3XGENO2.js} +1 -1
  102. package/dist/cdn/{5Y5WZKXD.js → C5V5WACE.js} +2 -2
  103. package/dist/cdn/{FF3XYEI3.js → CKKYPJNF.js} +2 -2
  104. package/dist/cdn/{OKERLMQE.js → CNPRL7S7.js} +2 -2
  105. package/dist/cdn/{C2NWD2IM.js → CPNBWTEA.js} +2 -2
  106. package/dist/cdn/{JWKBLBHU.js → CURE4DDI.js} +2 -2
  107. package/dist/cdn/{G7XF4ZJ4.js → CVPVJHLE.js} +2 -2
  108. package/dist/cdn/{XOT6KGWE.js → D4Y37VIF.js} +2 -2
  109. package/dist/cdn/D7QKCBMA.js +4 -0
  110. package/dist/cdn/{BFY7RHIE.js → DCXFS72L.js} +2 -2
  111. package/dist/cdn/{B53MK47Y.js → DEWVSB4U.js} +2 -2
  112. package/dist/cdn/{LEMWW4ED.js → DEZPDY4A.js} +1 -1
  113. package/dist/cdn/{7B2JUGRA.js → DOCNMY5H.js} +2 -2
  114. package/dist/cdn/{WEUFVO6F.js → DPPVKLVV.js} +2 -2
  115. package/dist/cdn/{AHNRTMIR.js → DQXONY5W.js} +2 -2
  116. package/dist/cdn/DUVCORIN.js +4 -0
  117. package/dist/cdn/E2O3EKWU.js +18 -0
  118. package/dist/cdn/{NMG2ID6N.js → EA4SJ62D.js} +1 -1
  119. package/dist/cdn/{VRYNGE64.js → EFOK377W.js} +1 -1
  120. package/dist/cdn/{WOC7MJRV.js → EGSL27T3.js} +2 -2
  121. package/dist/cdn/{Z2V2BGBO.js → ELFWIFOI.js} +2 -2
  122. package/dist/cdn/{2CK7SB3E.js → EOPQUXDK.js} +2 -2
  123. package/dist/cdn/{73ILD7CJ.js → EQMNEW7B.js} +1 -1
  124. package/dist/cdn/{HUP3H66T.js → ETVHZ7E4.js} +2 -2
  125. package/dist/cdn/{ZV5K3H2V.js → EUKYTCUW.js} +2 -2
  126. package/dist/cdn/{7M2CWJFQ.js → EWRHTIXK.js} +2 -2
  127. package/dist/cdn/{XLNL32C3.js → EWZKQPHY.js} +2 -2
  128. package/dist/cdn/{6WZU5A27.js → EXX2X63P.js} +2 -2
  129. package/dist/cdn/{XHLRAGQ2.js → EYXCH4TQ.js} +2 -2
  130. package/dist/cdn/{NKYODIPR.js → FASHWN45.js} +2 -2
  131. package/dist/cdn/{CHWH5FGQ.js → FH4SRX2G.js} +2 -2
  132. package/dist/cdn/{BHQ5RFLI.js → FHQAUSZQ.js} +2 -2
  133. package/dist/cdn/{WJAN6LLL.js → FJKLSPV2.js} +2 -2
  134. package/dist/cdn/{SHFBCRKO.js → FMGMDOXA.js} +2 -2
  135. package/dist/cdn/{4H5JZV3N.js → FO5FDVKS.js} +1 -1
  136. package/dist/cdn/{ERJ3FGFF.js → FTCKROY3.js} +2 -2
  137. package/dist/cdn/{L5L3D2MP.js → FUW5X5WX.js} +2 -2
  138. package/dist/cdn/{MQUYDV5R.js → G2UQK6LA.js} +1 -1
  139. package/dist/cdn/{VZ4GI3Y5.js → G354G2R5.js} +2 -2
  140. package/dist/cdn/G423EZVH.js +18 -0
  141. package/dist/cdn/{D7VNUZC6.js → G7B5NHVN.js} +2 -2
  142. package/dist/cdn/{4VB4MJKS.js → GBTQSHKA.js} +2 -2
  143. package/dist/cdn/{6PHCJUDM.js → GDAB44P7.js} +2 -2
  144. package/dist/cdn/{T4BKHW4Q.js → GFLSAGSA.js} +2 -2
  145. package/dist/cdn/{A2NUNLI7.js → GW3RLVUL.js} +2 -2
  146. package/dist/cdn/{VX7VTV2U.js → GZZHEXNM.js} +2 -2
  147. package/dist/cdn/{C6F4HO5U.js → H23L6B2Q.js} +1 -1
  148. package/dist/cdn/{SNAXFCRD.js → HCWTAUF5.js} +2 -2
  149. package/dist/cdn/{2A43GCOV.js → HEW6Z5PB.js} +2 -2
  150. package/dist/cdn/{AMM6V7TB.js → HIMSUVUZ.js} +2 -2
  151. package/dist/cdn/{M7J53CH4.js → HOFOKHEX.js} +2 -2
  152. package/dist/cdn/{IWS4I3HA.js → HOPHRV4L.js} +2 -2
  153. package/dist/cdn/{NQP4W34S.js → I2POBGHR.js} +2 -2
  154. package/dist/cdn/{F3N33DMK.js → I5EMUTWF.js} +1 -1
  155. package/dist/cdn/{X3CQIPF3.js → ICV7ZHJA.js} +2 -2
  156. package/dist/cdn/{KX5726AR.js → ID2MR3BQ.js} +2 -2
  157. package/dist/cdn/{M2ZJDR4T.js → IESWZ7BL.js} +2 -2
  158. package/dist/cdn/{K5R7D36H.js → IFMVHH6O.js} +2 -2
  159. package/dist/cdn/{6JWFKDA2.js → IJBXFCMT.js} +2 -2
  160. package/dist/cdn/{NPOGRCJT.js → IJI2I4NN.js} +2 -2
  161. package/dist/cdn/{RGTERX4S.js → IL7KHRPB.js} +2 -2
  162. package/dist/cdn/{5UFQVWVZ.js → IM62UGGF.js} +2 -2
  163. package/dist/cdn/{7L3YSULP.js → IQKAM57E.js} +2 -2
  164. package/dist/cdn/{NF4TQGZG.js → IXNUWHR7.js} +2 -2
  165. package/dist/cdn/{4W4KYXC7.js → J2ZYSYWV.js} +2 -2
  166. package/dist/cdn/{YIFZSXOX.js → J4W3UIZY.js} +2 -2
  167. package/dist/cdn/{YRBA2ZGR.js → J7YSM5KG.js} +2 -2
  168. package/dist/cdn/{5GMJ5YD4.js → JGLFIWOT.js} +2 -2
  169. package/dist/cdn/{I7PYIEVL.js → JM47OMNA.js} +2 -2
  170. package/dist/cdn/{UQHNT6NC.js → JN7ZBQQT.js} +2 -2
  171. package/dist/cdn/{C3XGN444.js → JPNPSA7E.js} +1 -1
  172. package/dist/cdn/{Z2XSUUH4.js → JPQEYX6B.js} +2 -2
  173. package/dist/cdn/{CRA26J6U.js → JTKWC3IN.js} +2 -2
  174. package/dist/cdn/{RYLMXGYK.js → JUHZNCUH.js} +1 -1
  175. package/dist/cdn/{5JWBQM5X.js → JVB44O4S.js} +2 -2
  176. package/dist/cdn/{5K27OV6X.js → JZ7DDWQB.js} +2 -2
  177. package/dist/cdn/{ZE3EUHXG.js → K5RFBVYK.js} +2 -2
  178. package/dist/cdn/{PKJNXMVR.js → KCSAC7EU.js} +1 -1
  179. package/dist/cdn/{PNIMBHES.js → KEDADGFZ.js} +2 -2
  180. package/dist/cdn/{62MLOWEA.js → KHGPU4UH.js} +2 -2
  181. package/dist/cdn/{I4PXPOT7.js → KLDJP764.js} +2 -2
  182. package/dist/cdn/{RT3O7MJA.js → KNUWDW23.js} +3 -3
  183. package/dist/cdn/{5IY7QON3.js → KPLOUVW3.js} +2 -2
  184. package/dist/cdn/{EL22VV3P.js → KQ3UQWCA.js} +2 -2
  185. package/dist/cdn/{V5XAPNIN.js → KQQVJLMB.js} +2 -2
  186. package/dist/cdn/{UI7FKZHS.js → KRNFP4OP.js} +1 -1
  187. package/dist/cdn/{3UHWOBFU.js → KU7RFZOY.js} +2 -2
  188. package/dist/cdn/{HJMB6XLQ.js → L2OHD42I.js} +2 -2
  189. package/dist/cdn/{RBY4RRXS.js → L6LJJRE2.js} +2 -2
  190. package/dist/cdn/{C3V5DJBO.js → L6NUR77H.js} +2 -2
  191. package/dist/cdn/LAER7U5K.js +4 -0
  192. package/dist/cdn/{X7HNESXH.js → LLJXBBKJ.js} +2 -2
  193. package/dist/cdn/{RXAFOSW5.js → LPCWCSAE.js} +2 -2
  194. package/dist/cdn/{NPAJ34CV.js → LPHU6MAJ.js} +2 -2
  195. package/dist/cdn/{FDYQ2FKY.js → LPVP3TCA.js} +1 -1
  196. package/dist/cdn/{IW5AHPNH.js → LPWJRNE6.js} +2 -2
  197. package/dist/cdn/{XBNCRUBM.js → LQHMW4IA.js} +2 -2
  198. package/dist/cdn/{2LPVFJKJ.js → LXKU7WUU.js} +2 -2
  199. package/dist/cdn/{L5IXOZ6K.js → MASI4TM4.js} +2 -2
  200. package/dist/cdn/{RLZYJMK2.js → MGF42WWT.js} +2 -2
  201. package/dist/cdn/{4L4Y76VM.js → MGYT2FRC.js} +2 -2
  202. package/dist/cdn/{KHVQFIOO.js → MPPNFL6O.js} +2 -2
  203. package/dist/cdn/{V272SPSH.js → MR24E2PT.js} +1 -1
  204. package/dist/cdn/{I7DFBRAW.js → MS66PYWN.js} +2 -2
  205. package/dist/cdn/{7QNFIYHN.js → MWZCZ3GZ.js} +2 -2
  206. package/dist/cdn/{4EKEBZDH.js → MXDK4LDP.js} +4 -4
  207. package/dist/cdn/{3SZISG5C.js → N3Q6R6TY.js} +2 -2
  208. package/dist/cdn/{UNXJMJFU.js → N4YNUARS.js} +2 -2
  209. package/dist/cdn/{LA57LCMB.js → N55BTIIP.js} +2 -2
  210. package/dist/cdn/{6ZG44WOK.js → NABUJ3I4.js} +2 -2
  211. package/dist/cdn/NDGWBMSC.js +18 -0
  212. package/dist/cdn/{CP4KQ5JU.js → NDNONWRS.js} +2 -2
  213. package/dist/cdn/{YIXPGCUC.js → NN3W4IUH.js} +2 -2
  214. package/dist/cdn/{5RB6LGBC.js → NOHK26DI.js} +2 -2
  215. package/dist/cdn/{GKZFHOW2.js → NPL77HLA.js} +2 -2
  216. package/dist/cdn/{CCSUXK4Q.js → NRDRHGLK.js} +2 -2
  217. package/dist/cdn/{RCKQ7IME.js → NUYH26IF.js} +2 -2
  218. package/dist/cdn/{AKYZ7MV4.js → NZGTHZBJ.js} +2 -2
  219. package/dist/cdn/{GZ45JBXT.js → OAYZ7IKH.js} +2 -2
  220. package/dist/cdn/{7KMYAWJ5.js → OBTOZOSB.js} +2 -2
  221. package/dist/cdn/{LEJ63S6Y.js → OEWCMCHN.js} +2 -2
  222. package/dist/cdn/{ST3O4SWS.js → OJEOXJLD.js} +2 -2
  223. package/dist/cdn/{NFAELL2V.js → OLLYGSHZ.js} +2 -2
  224. package/dist/cdn/{D6U22V3H.js → OMCPSQ2N.js} +2 -2
  225. package/dist/cdn/{WL5TY3AP.js → ON53FJXG.js} +2 -2
  226. package/dist/cdn/{2KDPEGNM.js → ORAYN2AR.js} +2 -2
  227. package/dist/cdn/{6TJU76R3.js → OTF6WC55.js} +1 -1
  228. package/dist/cdn/{R4NHUKQL.js → OTM3WCFO.js} +2 -2
  229. package/dist/cdn/{A4BQL2K3.js → OUALGQPO.js} +2 -2
  230. package/dist/cdn/{DZPWOUEC.js → OVZZ6JTU.js} +2 -2
  231. package/dist/cdn/P2ZHCD37.js +4 -0
  232. package/dist/cdn/{KIB3SJXC.js → P5564HET.js} +2 -2
  233. package/dist/cdn/{I6MYM6IJ.js → PFC743S5.js} +2 -2
  234. package/dist/cdn/{KUAZYP5Z.js → PFJ4FP3Z.js} +2 -2
  235. package/dist/cdn/{YESTJISJ.js → PGBTYK6X.js} +2 -2
  236. package/dist/cdn/{VEILQFP2.js → PGGYBI5J.js} +2 -2
  237. package/dist/cdn/{UHDBPQAZ.js → PHMX4V43.js} +2 -2
  238. package/dist/cdn/{XHXMDQDA.js → PJRC7SHJ.js} +1 -1
  239. package/dist/cdn/{MPEIFNG5.js → PNEU3IS5.js} +3 -3
  240. package/dist/cdn/{VKQSUS2D.js → PQZE6Q45.js} +2 -2
  241. package/dist/cdn/{DMHPJDKF.js → PT5WEO4R.js} +2 -2
  242. package/dist/cdn/{QTFLAIE5.js → PWGDJNXG.js} +2 -2
  243. package/dist/cdn/{7GMOCOVS.js → PYWEHZIC.js} +2 -2
  244. package/dist/cdn/{TS3DBIH4.js → Q2JR6QFV.js} +2 -2
  245. package/dist/cdn/{KHN6DAWC.js → QAFNPAAD.js} +1 -1
  246. package/dist/cdn/{WPRUSW2K.js → QBNFWPNH.js} +2 -2
  247. package/dist/cdn/{DGGOQ3L4.js → QDR4D66T.js} +1 -1
  248. package/dist/cdn/{OTUN2NKK.js → QGE56V4L.js} +2 -2
  249. package/dist/cdn/{I5BUX6M6.js → QGUWQFF4.js} +2 -2
  250. package/dist/cdn/{PYISYGHM.js → QKHTFYET.js} +2 -2
  251. package/dist/cdn/{ZFAAOHYX.js → QKRVG65G.js} +2 -2
  252. package/dist/cdn/{GLAVWPYD.js → QMKK7GAS.js} +2 -2
  253. package/dist/cdn/{5UKVAD54.js → QO2IVYQC.js} +2 -2
  254. package/dist/cdn/{FJUDCABT.js → QWKYRSVI.js} +2 -2
  255. package/dist/cdn/{I3DKKF5F.js → R4GWAQRV.js} +1 -1
  256. package/dist/cdn/{Z56HKANV.js → REYSZJE4.js} +2 -2
  257. package/dist/cdn/{67PFFTBT.js → RUDYNTVM.js} +2 -2
  258. package/dist/cdn/{ZF2XHMQZ.js → S3TADIJ6.js} +1 -1
  259. package/dist/cdn/{JE7GMEC2.js → S7NGALY2.js} +2 -2
  260. package/dist/cdn/{OL22QE26.js → SAMBWFKJ.js} +2 -2
  261. package/dist/cdn/{WO3K4V6S.js → SEQGEOAO.js} +2 -2
  262. package/dist/cdn/{5BCHBBEG.js → SF42TDNB.js} +2 -2
  263. package/dist/cdn/{RFFJFE4V.js → SHSY5TSW.js} +2 -2
  264. package/dist/cdn/{CKIAT6FZ.js → SKT4GZ6B.js} +2 -2
  265. package/dist/cdn/{NUYH6NTK.js → SMTIW5ON.js} +2 -2
  266. package/dist/cdn/{QFJYWPYF.js → SPTDTOSM.js} +2 -2
  267. package/dist/cdn/{Z2FUMODE.js → SROQUXLR.js} +2 -2
  268. package/dist/cdn/{GMXSVE5F.js → SULZ3DXA.js} +1 -1
  269. package/dist/cdn/{GEUPVEDN.js → SYAYSQPQ.js} +2 -2
  270. package/dist/cdn/{VIKALXXD.js → SYQ77RWF.js} +1 -1
  271. package/dist/cdn/{KLYMYJXG.js → T34KE2A2.js} +2 -2
  272. package/dist/cdn/{LSNSP3E4.js → T4NEPGO4.js} +2 -2
  273. package/dist/cdn/{7RFFTMJS.js → T6HJKM4L.js} +2 -2
  274. package/dist/cdn/{WPCGB26M.js → TCBFVFSX.js} +2 -2
  275. package/dist/cdn/{EJ6BXACD.js → TDSDZEH7.js} +2 -2
  276. package/dist/cdn/{2KGL2KRL.js → TEGIRF2G.js} +2 -2
  277. package/dist/cdn/{YKPVSW3B.js → TKQG2LKN.js} +2 -2
  278. package/dist/cdn/{S6R6G6MM.js → TKYTD63P.js} +1 -1
  279. package/dist/cdn/{DPD4MWDN.js → TLAJKE5F.js} +2 -2
  280. package/dist/cdn/{ALEZMHWP.js → TPVEOX5G.js} +2 -2
  281. package/dist/cdn/{A7TYO73E.js → TRRMVHNP.js} +2 -2
  282. package/dist/cdn/{RCFLYQVH.js → TWG226PR.js} +2 -2
  283. package/dist/cdn/{I3PEU4E4.js → TWPRIW6W.js} +2 -2
  284. package/dist/cdn/{SKNE6RLM.js → TXUBQSCF.js} +2 -2
  285. package/dist/cdn/{YTTUHU2O.js → U232ZHS5.js} +2 -2
  286. package/dist/cdn/{2AZTXL4Y.js → U44X65LX.js} +2 -2
  287. package/dist/cdn/UAMQWJTP.js +18 -0
  288. package/dist/cdn/{OUD44QTO.js → UCM63YTG.js} +2 -2
  289. package/dist/cdn/{3XMYR6AO.js → UDRBXNEZ.js} +2 -2
  290. package/dist/cdn/{GKEQBFSS.js → UEFR52YG.js} +2 -2
  291. package/dist/cdn/{CEDUDGY3.js → UFPDER6I.js} +2 -2
  292. package/dist/cdn/{GLDIEU4P.js → UIIKMLZY.js} +2 -2
  293. package/dist/cdn/{IP5RAZNL.js → UNSSBR4O.js} +2 -2
  294. package/dist/cdn/{AUEIJUOE.js → UOEK64W4.js} +2 -2
  295. package/dist/cdn/{YLYRRWJW.js → UYB52TDK.js} +2 -2
  296. package/dist/cdn/{7JBU7L6F.js → V5PS7TPT.js} +2 -2
  297. package/dist/cdn/{CVPWFU5K.js → V7U7DLUJ.js} +2 -2
  298. package/dist/cdn/{LHSOZNOH.js → VC5NFRBK.js} +2 -2
  299. package/dist/cdn/{HETCA2TC.js → VFXHYKBA.js} +2 -2
  300. package/dist/cdn/{X4HZQF3T.js → VGX5VVVO.js} +2 -2
  301. package/dist/cdn/{GUBSZEOJ.js → VJABELHG.js} +2 -2
  302. package/dist/cdn/{WBZEJCYL.js → VPH3MHCJ.js} +2 -2
  303. package/dist/cdn/{T6EN2LQT.js → VRHRENNK.js} +2 -2
  304. package/dist/cdn/{ZFZ663TV.js → VRUHMDUB.js} +1 -1
  305. package/dist/cdn/{XYCXFP2Q.js → VXS4KLRE.js} +2 -2
  306. package/dist/cdn/{YKBX525C.js → W3TMRYTI.js} +2 -2
  307. package/dist/cdn/{ZUQRVCPO.js → W5ZGSETN.js} +2 -2
  308. package/dist/cdn/{PTF4V2H4.js → W7734FGJ.js} +2 -2
  309. package/dist/cdn/{BZ4SCSVK.js → WEU6HCGV.js} +2 -2
  310. package/dist/cdn/{VP76CX4U.js → WL6PEUQB.js} +2 -2
  311. package/dist/cdn/{OK6VX227.js → WPMDZZYN.js} +2 -2
  312. package/dist/cdn/{QEIXC65L.js → WRKHHDEK.js} +2 -2
  313. package/dist/cdn/{SV5GS7VD.js → WUXNFVJD.js} +2 -2
  314. package/dist/cdn/{EMC4J76D.js → WWKYMX4H.js} +2 -2
  315. package/dist/cdn/{D7VLL243.js → WZGEVXYQ.js} +2 -2
  316. package/dist/cdn/{6TG2EO2Z.js → WZTL2MCD.js} +2 -2
  317. package/dist/cdn/{NMIFRQTZ.js → WZZXQ7ZL.js} +2 -2
  318. package/dist/cdn/{DOFGLV3C.js → X2Q335MK.js} +2 -2
  319. package/dist/cdn/{OX3SGCCQ.js → X7SSY7I5.js} +2 -2
  320. package/dist/cdn/{HWXHOMUP.js → XLKIFV2H.js} +2 -2
  321. package/dist/cdn/{BYHVLFM4.js → Y42PHID4.js} +2 -2
  322. package/dist/cdn/{CDI76SS4.js → Y43WPKIW.js} +2 -2
  323. package/dist/cdn/{ZIAGI22J.js → Y4CU2GK4.js} +2 -2
  324. package/dist/cdn/{KYROOFA3.js → Y5DN4QU2.js} +2 -2
  325. package/dist/cdn/{QU42CF6F.js → YHIWZGM7.js} +2 -2
  326. package/dist/cdn/{KI2VCUWI.js → YIBIIFQA.js} +2 -2
  327. package/dist/cdn/{J27HWMOU.js → YLRL7Y5N.js} +2 -2
  328. package/dist/cdn/{W6PJINLH.js → YNQJMUXW.js} +2 -2
  329. package/dist/cdn/{NQHBEVOL.js → YUMTADN7.js} +2 -2
  330. package/dist/cdn/{AFTQSX7I.js → Z23HGZYN.js} +2 -2
  331. package/dist/cdn/{DMWBD2QY.js → ZAAZBMVL.js} +2 -2
  332. package/dist/cdn/{4KVLYOZL.js → ZADEJN6X.js} +1 -1
  333. package/dist/cdn/{P3BJE2HN.js → ZBWHTQGY.js} +2 -2
  334. package/dist/cdn/{K2RFNUWO.js → ZCXEHP3I.js} +2 -2
  335. package/dist/cdn/{TJBM3R6U.js → ZDTXP6UH.js} +2 -2
  336. package/dist/cdn/{QCFLEL57.js → ZGLUS7EY.js} +2 -2
  337. package/dist/cdn/{OJYHZLP5.js → ZGXWBO6S.js} +2 -2
  338. package/dist/cdn/{TXQG7PH5.js → ZHNR6E4I.js} +2 -2
  339. package/dist/cdn/{BP2CHTVW.js → ZMKFBKJ5.js} +2 -2
  340. package/dist/cdn/{TZ4JYL26.js → ZSCNY56E.js} +2 -2
  341. package/dist/cdn/{W7I2RFAY.js → ZTYR32MZ.js} +2 -2
  342. package/dist/cdn/{XY6XTEZB.js → ZWJQQF63.js} +2 -2
  343. package/dist/cdn/{6JLUJWH6.js → ZWLWEEM7.js} +2 -2
  344. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
  345. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
  346. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.en.json +1 -1
  347. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.json +1 -1
  348. package/dist/cdn/index.js +2 -2
  349. package/dist/chunks/Auth.js +1 -1
  350. package/dist/chunks/CardsFetcher.js +29 -30
  351. package/dist/chunks/appConfig.js +1 -1
  352. package/dist/chunks/cardFetchingUtils.js +1 -1
  353. package/dist/chunks/cardsHelpers.js +1 -1
  354. package/dist/chunks/common.js +1 -1
  355. package/dist/chunks/deployAppContexts.js +1 -1
  356. package/dist/chunks/downloadUtils.js +1 -1
  357. package/dist/chunks/getItemIcon.js +1 -1
  358. package/dist/chunks/helpers.js +6 -6
  359. package/dist/chunks/interfaces.js +16 -17
  360. package/dist/chunks/loadModules.js +1 -1
  361. package/dist/chunks/mapViewUtils.js +1 -1
  362. package/dist/chunks/pciUtils.js +1 -1
  363. package/dist/chunks/popupUtils.js +1 -1
  364. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  365. package/dist/chunks/privilegeUtils.js +2 -2
  366. package/dist/chunks/publicNotificationContext.js +1 -1
  367. package/dist/chunks/queryUtils.js +1 -1
  368. package/dist/chunks/runtime.js +1 -1
  369. package/dist/chunks/solution-store.js +1 -1
  370. package/dist/chunks/templates.js +1 -1
  371. package/dist/chunks/useT9n.js +1 -1
  372. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  373. package/dist/components/basemap-gallery/customElement.js +1 -1
  374. package/dist/components/buffer-tools/customElement.js +1 -1
  375. package/dist/components/card-manager/customElement.js +1 -1
  376. package/dist/components/consent-manager/customElement.js +1 -1
  377. package/dist/components/create-feature/customElement.js +1 -1
  378. package/dist/components/create-related-feature/customElement.js +1 -1
  379. package/dist/components/crowdsource-manager/customElement.js +1 -1
  380. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  381. package/dist/components/deduct-calculator/customElement.js +1 -1
  382. package/dist/components/delete-button/customElement.js +1 -1
  383. package/dist/components/delete-dialog/customElement.js +1 -1
  384. package/dist/components/edit-card/customElement.js +1 -1
  385. package/dist/components/feature-details/customElement.js +1 -1
  386. package/dist/components/feature-list/customElement.js +1 -1
  387. package/dist/components/field-selection/customElement.js +1 -1
  388. package/dist/components/floor-filter/customElement.js +1 -1
  389. package/dist/components/info-card/customElement.js +1 -1
  390. package/dist/components/json-editor/customElement.js +1 -1
  391. package/dist/components/layer-list/customElement.js +1 -1
  392. package/dist/components/layer-table/customElement.js +1 -1
  393. package/dist/components/map-card/customElement.js +1 -1
  394. package/dist/components/map-draw-tools/customElement.js +1 -1
  395. package/dist/components/map-fullscreen/customElement.js +1 -1
  396. package/dist/components/map-layer-picker/customElement.js +1 -1
  397. package/dist/components/map-legend/customElement.js +1 -1
  398. package/dist/components/map-picker/customElement.js +1 -1
  399. package/dist/components/map-search/customElement.js +1 -1
  400. package/dist/components/map-select-tools/customElement.js +1 -1
  401. package/dist/components/map-tools/customElement.js +1 -1
  402. package/dist/components/pci-calculator/customElement.js +1 -1
  403. package/dist/components/pdf-download/customElement.js +1 -1
  404. package/dist/components/public-notification/customElement.js +1 -1
  405. package/dist/components/refine-selection/customElement.js +1 -1
  406. package/dist/components/selection-tool/customElement.js +1 -1
  407. package/dist/components/solution-configuration/customElement.js +1 -1
  408. package/dist/components/solution-configure-titles/customElement.js +2 -2
  409. package/dist/components/solution-contents/customElement.js +1 -1
  410. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  411. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  412. package/dist/components/solution-deployed-card/customElement.js +1 -1
  413. package/dist/components/solution-deployed-card-panel/customElement.js +26 -26
  414. package/dist/components/solution-deploying-dialog/customElement.d.ts +2 -0
  415. package/dist/components/solution-deploying-dialog/customElement.js +94 -18
  416. package/dist/components/solution-details-card/customElement.js +1 -1
  417. package/dist/components/solution-details-panel/customElement.js +1 -1
  418. package/dist/components/solution-item/customElement.js +1 -1
  419. package/dist/components/solution-item-accordion/customElement.js +1 -1
  420. package/dist/components/solution-item-details/customElement.js +1 -1
  421. package/dist/components/solution-item-diagram/customElement.js +1 -1
  422. package/dist/components/solution-item-icon/customElement.js +1 -1
  423. package/dist/components/solution-item-sharing/customElement.js +1 -1
  424. package/dist/components/solution-organization-variables/customElement.js +1 -1
  425. package/dist/components/solution-resource-card/customElement.js +1 -1
  426. package/dist/components/solution-resource-item/customElement.js +1 -1
  427. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  428. package/dist/components/solution-social-share/customElement.js +1 -1
  429. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  430. package/dist/components/solution-template-data/customElement.js +1 -1
  431. package/dist/components/solution-variables/customElement.js +1 -1
  432. package/dist/components/solutions-all-panel/customElement.js +15 -15
  433. package/dist/components/solutions-all-shell/customElement.js +1 -1
  434. package/dist/components/solutions-deploy-app/customElement.js +15 -15
  435. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
  436. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  437. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  438. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  439. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  440. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  441. package/dist/components/solutions-resources/customElement.js +1 -1
  442. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  443. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  444. package/dist/components/spatial-ref/customElement.js +1 -1
  445. package/dist/components/store-manager/customElement.js +1 -1
  446. package/dist/docs/api.json +10 -1
  447. package/dist/docs/docs.json +17 -2
  448. package/dist/docs/vscode.html-custom-data.json +1 -1
  449. package/dist/docs/web-types.json +16 -4
  450. package/dist/index.d.ts +15 -1
  451. package/dist/index.js +35 -36
  452. package/dist/loader.js +1 -1
  453. package/dist/types/lumina.d.ts +1 -0
  454. package/dist/types/preact.d.ts +1 -0
  455. package/dist/types/preact10.d.ts +1 -0
  456. package/dist/types/react.d.ts +1 -0
  457. package/dist/types/stencil.d.ts +1 -0
  458. package/dist/utils/interfaces.d.ts +5 -2
  459. package/package.json +1 -1
  460. package/dist/cdn/2U37MMSW.js +0 -18
  461. package/dist/cdn/3D3RNQXF.js +0 -4
  462. package/dist/cdn/7XIYLGPM.js +0 -4
  463. package/dist/cdn/AA4EWK4C.js +0 -18
  464. package/dist/cdn/DFADPAZK.js +0 -4
  465. package/dist/cdn/NHSZXNZV.js +0 -18
  466. package/dist/cdn/USDRTL75.js +0 -4
  467. package/dist/cdn/UV3OCW2R.js +0 -4
  468. package/dist/cdn/VC3ONQSP.js +0 -4
  469. package/dist/cdn/XBVQ745C.js +0 -18
  470. package/dist/cdn/YFSAZFMI.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.20 */
3
+ v1.2.0-next.21 */
4
4
  var R=(e=>(e.H="H",e.M="M",e.L="L",e))(R||{}),L=(e=>(e[e.ALLIGATOR_CRACKING=1]="ALLIGATOR_CRACKING",e[e.BLEEDING=2]="BLEEDING",e[e.BLOCK_CRACKING=3]="BLOCK_CRACKING",e[e.BUMPS_SAGS=4]="BUMPS_SAGS",e[e.CORRUGATION=5]="CORRUGATION",e[e.DEPRESSION=6]="DEPRESSION",e[e.EDGE_CRACKING=7]="EDGE_CRACKING",e[e.REFLECTION_CRACKING=8]="REFLECTION_CRACKING",e[e.LANE_SHOULDER_DROP_OFF=9]="LANE_SHOULDER_DROP_OFF",e[e.LONG_TRANS_CRACKING=10]="LONG_TRANS_CRACKING",e[e.PATCHING_UTIL_CUT_PATCHING=11]="PATCHING_UTIL_CUT_PATCHING",e[e.POLISHED_AGGREGATE=12]="POLISHED_AGGREGATE",e[e.POTHOLES=13]="POTHOLES",e[e.RAILROAD_CROSSING=14]="RAILROAD_CROSSING",e[e.RUTTING=15]="RUTTING",e[e.SHOVING=16]="SHOVING",e[e.SLIPPAGE_CRACKING=17]="SLIPPAGE_CRACKING",e[e.SWELL=18]="SWELL",e[e.RAVELING=19]="RAVELING",e[e.WEATHERING=20]="WEATHERING",e))(L||{});function S(e,o,u,t=!1){let r=Number.parseInt(e),n=R[o],l=Number.parseFloat(u.toString());if(Number.isNaN(l)||l===0)return"";let i=t===!0||t.toString().toLowerCase()==="true",s;switch(r){case 1:s=k;break;case 2:s=$;break;case 3:s=D;break;case 4:s=m;break;case 5:s=P;break;case 6:s=K;break;case 7:s=F;break;case 8:s=V;break;case 9:s=y;break;case 10:s=U;break;case 11:s=w;break;case 12:s=x;break;case 13:s=B;break;case 14:s=j;break;case 15:s=W;break;case 16:s=q;break;case 17:s=z;break;case 18:s=J;break;case 19:s=Q;break;case 20:s=X;break}if(s){let f=s(n,Math.log10(l)),g=p(f),d=`${e}|${o}|${g}|${l}`;return i&&(console.log(`Deduct value: ${f}`),console.log(`Rounded deduct value: ${g}`),console.log(`Formatted devduct value (type|severity|roundedDV|density): ${d}`)),d}else return""}function I(e,o=!1){let u=e.indexOf("|")>-1?h(e,o):e.split(",").map(n=>Number.parseFloat(n)),t=o===!0||o.toString().toLowerCase()==="true",r=0;if(u=u.filter(n=>Math.abs(n)>0),u.length>0){let n=Y(u,t);n!==void 0&&(r=100-p(n))}return r}function h(e,o){let u={},t=v(e),r=Object.keys(t).filter(n=>Object.keys(t[n]).length>1);return r.length>0&&r.forEach(n=>{let l,i,s,f,g,d;if(Object.keys(t[n]).forEach(c=>{c==="H"?(l=t[n][c].deductValue,f=t[n][c].density):c==="M"?(i=t[n][c].deductValue,g=t[n][c].density):(s=t[n][c].deductValue,d=t[n][c].density)}),l!==void 0&&i!==void 0&&s!==void 0&&f!==void 0&&g!==void 0&&d!==void 0){let c=(f&&g&&d?M:_)(n,l,i,s,f,g,d,o);c&&(u[n]=c,o&&(console.log("updates"),console.log(u)))}}),T(e,u)}function M(e,o,u,t,r,n,l,i){let s=I(`${o},${u},${t}`,!0);i&&(console.log("pci1"),console.log(s));let f=l+n,g=N(e,"M",f.toString(),o,i),d=n+r,c=N(e,"H",d.toString(),t,i),b=l+r,H=N(e,"H",b.toString(),u,i),O=l+n+r,A=N(e,"H",O.toString(),0,i);i&&(console.log("low med pci2"),console.log(g.pci),console.log("med high pci2"),console.log(c.pci),console.log("low high pci2"),console.log(H.pci),console.log("low med high pci2"),console.log(A.pci));let E=[g,c,H,A].reduce((C,G)=>G.pci>s&&(!C||G.pci>C.pci)?G:C,void 0);return E?E.dv:void 0}function _(e,o,u,t,r,n,l,i){let s=I(`${o||u},${t||u}`,!0);i&&(console.log("pci1"),console.log(s));let f=r||n,g=f+(l||n),d=N(e,f===r?"H":"M",g.toString(),0,i);return i&&(console.log("pci2"),console.log(d.pci)),d.pci>s?d.dv:void 0}function N(e,o,u,t,r){let n=S(e,o,u).split("|"),l=Number.parseFloat(n[2]);return{pci:I(`${n[2]},${t}`,r),dv:t?[l,t]:[l]}}function v(e){return e.split(",").reduce((o,u)=>{let t=u.split("|"),r=t[0],n=t[1],l=Number.parseFloat(t[2]),i=Number.parseFloat(t[3]);return o[r]||(o[r]={}),o[r][n]={deductValue:l,density:i},o},{})}function T(e,o){let u=[];return e.split(",").reduce((t,r)=>{let n=r.split("|"),l=n[0],i=Number.parseFloat(n[2]);return Object.keys(o).length>0&&o[l]?(u.push(l),t.push(...o[l]),delete o[l]):u.indexOf(l)<0&&t.push(i),t},[])}function a(e,o){return o.reduce((u,t,r)=>u+=r===0?t:r===1?t*e:t*Math.pow(e,r),0)}function p(e){return Math.round(e*10)/10}function k(e,o){return a(o,e==="H"?[30.71,29.22,9.407,-6.981,-2.158,3.047,-.6578]:e==="M"?[21.62,21.32,5.194,-1.343,.2341]:[11.31,16.05,7.572,-1.471])}function $(e,o){return a(o,e==="H"?[5.343,6.927,7.926,4.265,-.7582]:e==="M"?[2.38,5.483,4.128,.8366,.03659,.1052]:[.01391,.5079,1.576,1.191,.1329,.03823])}function D(e,o){return a(o,e==="H"?[7.926,11.93,8.826,3.432,-1.382]:e==="M"?[2.587,9.142,6.647,-.455,-.2439,.1107]:[.646,4.002,4.2,.4987,-.06269])}function m(e,o){return a(o,e==="H"?[52.77,38.07,8.964,-.4148,-1.589,2.478]:e==="M"?[24.66,27.86,15.73,3.295,-5.27,5.921,7.959]:[8.768,13.79,7.064,7.455,6.041,-1.739,-1.371])}function P(e,o){return a(o,e==="H"?[34.21,21.59,1.863,6.141,-.687,-1.885,.4916]:e==="M"?[15.78,19.69,6.276,-2.124,.5868,.06045]:[2.173,5.609,5.976,-.7348,-.2172,1.494,-.5659])}function K(e,o){return a(o,e==="H"?[17.84,5.904,9.406,18.28,-2.753,-7.798,2.402]:e==="M"?[8.471,3.171,10.25,12.2,-.9687,-4.601,1.079]:[4.836,-.7572,4.786,12.39,1.233,-4.871,.9749])}function F(e,o){return a(o,e==="H"?[14.99,13.5,10.62,5.15,-1.792,-2.826]:e==="M"?[9.177,10.26,5.704,-.6812,-.8588,.2123]:[3.049,4.802,4.058,-.3556,-1.55,1.02])}function V(e,o){return a(o,e==="H"?[14.99,17.21,27.63,31.13,-20.94,-18.82,9.985]:e==="M"?[9.9193,10.88,8.073,14.8,-3.792,-9.583,3.651]:[2.356,6.664,3.717,-1.393,1.94,1.785,-.9707])}function y(e,o){return a(o,e==="H"?[7.549,6.907,7.284,9.304,2.064]:e==="M"?[4.02,1.744,14.36,15.92,-40.22,23.6]:[2.004,1.065,9.706,11.75,-27.52,15.04])}function U(e,o){return a(o,e==="H"?[19.56,24.06,12.12,9.336,1.532,-4.396]:e==="M"?[9.751,15.53,4.719,1.369,1.206,-1.164]:[2.347,9.074,8.424,-1.338,-1.873,1.144])}function w(e,o){return a(o,e==="H"?[20.15,16.55,5.415,10.77,3.257,-4.502]:e==="M"?[10.28,12.71,6.174,1.928,.6923,-.4673]:[2.523,6.892,5.702,2.407,.2185,-.8722])}function x(e,o){return a(o,e==="H"||e==="M"||e==="L"?[3.417,-26.82,71.15,-76.22,38.52,-6.904]:[])}function B(e,o){return a(o,e==="H"?[110.7,60.66,2.378,-2.664]:e==="M"?[90.47,60.41,-.1123,-4.746]:[58.19,40.53,2.884,-1.443,.1195])}function j(e,o){return a(o,e==="H"?[20,38.64,-62.82,193.6,-162.7,41.22]:e==="M"?[6.994,23.47,-52.3,167.3,-143.6,37.64]:[1.998,-.7488,13.8,-.7917,-1.981])}function W(e,o){return a(o,e==="H"?[27.61,25.19,8.557,1.65,-2.203]:e==="M"?[18.47,20.77,6.617,-1.13,-2.286]:[8.833,14.84,3.129,.1451,2.438,-1.279])}function q(e,o){return a(o,e==="H"?[18.7,20.17,10.3,4.694,1.331,-2.61]:e==="M"?[10.39,14.78,5.488,4.001,3.23,-2.387]:[4.002,10.66,6.332,-.5226,-.1923])}function z(e,o){return a(o,e==="H"?[19.73,32.21,25.87,-2.871,-10.55,1.496,.7393]:e==="M"?[11.38,18.55,18.38,1.628,-7.596,.5841,.5946]:[5.144,12.95,11.95,-.833,-2.995,1.325,-.2113])}function J(e,o){return a(o,e==="H"?[34,16.84,-23.09,41.17,-14.84]:e==="M"?[12,15.67,20.59,-28.33,21,-5.508]:[1.995,11.9,-12.83,16.74,-5.361])}function Q(e,o){return a(o,e==="H"?[16.77,10.67,5.758,12.9,-.0633,-5.659,1.48]:e==="M"?[8.512,5.106,1.63,3.469,1.028,-1.211,.1938]:[])}function X(e,o){return a(o,e==="H"?[3.673,3.349,2.598,-1.233,2.754,2.434,-1.485]:e==="M"?[1.12,.9769,.93,-.5955,1.041,1.111,-.614]:[-.0386,-.0736,.834,1.63,-.0287,-.639,.1515])}function Y(e,o){let u,t=e.filter(r=>r>2);if(t.length<=1)u=t.reduce((r,n)=>(r+=n,r),0),o&&(console.log("If none or only one individual deduct value is greater"),console.log("than two, the total value is used in place of the maximum CD"),console.log(`Max CDV: ${u}`));else{let r=e.sort((i,s)=>s-i),n=r[0],l=1+9/98*(100-n);if(o&&(console.log(`Deduct values sorted in descending order: ${r}`),console.log(`Highest deduct value: ${n}`),console.log(`Allowable number of deducts including fractions: ${l}`)),l<=10){let i=Z(r,l);o&&console.log(`Reduce deduct values to the m largest including the fractional part: ${i}`);let s=e1(i,o);u=Math.max(...s),o&&console.log(`Max CDV: ${u}`)}else o&&console.log("Allowable number of deducts including fractions (must be less than or equal to ten)")}return u}function Z(e,o){let u=o-Math.floor(o);return e.length<o?e:e.reduce((t,r,n)=>(n+1<o?t.push(r):u>0&&t.push(p(r*u)),t),[])}function e1(e,o){let u=e.length,t=[];for(;u>=1;)o&&console.log(`vals: ${e}`),t.push(o1(e,o)),u-=1,e.splice(u,1,2);return t}function o1(e,o){let u=e.reduce((r,n)=>r+=n,0),t=e.reduce((r,n)=>n>2?r+1:r,0);return t1(u,t,o)}function t1(e,o,u){let t=a(e,{7:[-9.482,.6045,3563e-7,-5448e-9],6:[-8.165,.5724,4266e-7,-4254e-9],5:[-7.932,.6091,3464e-7,-4265e-9],4:[-6.78,.6301,7376e-7,-6357e-9],3:[-5.015,.7546,-43e-5,-3075e-9],2:[-1.668,.7992,-3013e-7,-5214e-9],1:[1651e-18,1,-4249e-21,1149e-22]}[o>=7?7:o]);return u&&(console.log(`totalDV: ${e}`),console.log(`q: ${o}`),console.log(`CDV: ${t}`)),t}export{R as a,L as b,S as c,I as d};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.20 */
3
+ v1.2.0-next.21 */
4
4
  function O(t){return t.indexOf("|")>-1&&(t=t.replace("|","::")),t}function S(t){return t[0]==="{"&&(t=t.substring(1,t.length-1)),/^(\{){0,1}[0-9a-fA-F]{8}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{12}(\}){0,1}$/gi.test(t)}var _="~",n=256,r="slug";function G(t,e="",o=0){let R=[r];return e&&R.push(e.toLowerCase()),R.push(t),R.join("|").substring(0,n-o).replace(/-+$/,"").replace(new RegExp(`^${r}\\|`),"")}function i(t){let e=`${r}|${t}|`;return n-e.length}var c=(t,e)=>`${t.split("|").pop()}${_}${e}`;export{S as a,O as b,r as c,G as d,i as e,c as f};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.20 */
4
- import e from"./X4HZQF3T.js";import c from"./FDRN4UNS.js";import"./D6U22V3H.js";import b from"./IWS4I3HA.js";import"./NOPHLD4K.js";import{b as l}from"./7RFFTMJS.js";import"./SKNE6RLM.js";import{C as i,D as n,E as r,G as o,H as d,h as s,i as a}from"./DGGOQ3L4.js";import"./N4AIZVPV.js";export default $arcgis.t(([,,{t:p}])=>{var c=s`:host{display:block}:host .esri-legend__service{margin:0;padding:0}:host .hide{display:none}`,e={service:"esri-legend__service",groupLayer:"esri-legend__group-layer",groupContent:"esri-legend__group-content"},t=class extends r{constructor(){super(),this.layerCaption=i(),this.expanded=!0,this.isChild=!1,this.listenOn(window,"layerCaptionElementExpandUpdated",this.layerCaptionElementExpandUpdatedEmitted)}static{this.properties={expanded:16,legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5}}static{this.styles=c}load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}layerCaptionElementExpandUpdatedEmitted(){this.expanded=!!this.layerCaption.value?.expanded}render(){return a`<div style=${d({borderLeft:"1px solid var(--calcite-color-border-3)"})} class=${`${e.service} ${e.groupLayer}`}><instant-apps-interactive-legend-layer-element-caption class=${o(p(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${this.activeLayerInfo} .isChild=${this.isChild} ${n(this.layerCaption)}></instant-apps-interactive-legend-layer-element-caption><div class=${`${e.groupContent} ${this.expanded?"show":"hide"}`}><slot name=content></slot></div></div>`}};l("instant-apps-interactive-legend-group-legend-element",t);return t},b,c,e)
3
+ v1.2.0-next.21 */
4
+ import e from"./VGX5VVVO.js";import c from"./4IP3BGGA.js";import"./OMCPSQ2N.js";import b from"./HOPHRV4L.js";import"./6VPV7EU6.js";import{b as l}from"./T6HJKM4L.js";import"./TXUBQSCF.js";import{C as i,D as n,E as r,G as o,H as d,h as s,i as a}from"./QDR4D66T.js";import"./C3XGENO2.js";export default $arcgis.t(([,,{t:p}])=>{var c=s`:host{display:block}:host .esri-legend__service{margin:0;padding:0}:host .hide{display:none}`,e={service:"esri-legend__service",groupLayer:"esri-legend__group-layer",groupContent:"esri-legend__group-content"},t=class extends r{constructor(){super(),this.layerCaption=i(),this.expanded=!0,this.isChild=!1,this.listenOn(window,"layerCaptionElementExpandUpdated",this.layerCaptionElementExpandUpdatedEmitted)}static{this.properties={expanded:16,legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5}}static{this.styles=c}load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}layerCaptionElementExpandUpdatedEmitted(){this.expanded=!!this.layerCaption.value?.expanded}render(){return a`<div style=${d({borderLeft:"1px solid var(--calcite-color-border-3)"})} class=${`${e.service} ${e.groupLayer}`}><instant-apps-interactive-legend-layer-element-caption class=${o(p(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${this.activeLayerInfo} .isChild=${this.isChild} ${n(this.layerCaption)}></instant-apps-interactive-legend-layer-element-caption><div class=${`${e.groupContent} ${this.expanded?"show":"hide"}`}><slot name=content></slot></div></div>`}};l("instant-apps-interactive-legend-group-legend-element",t);return t},b,c,e)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.20 */
4
- import c from"./X4HZQF3T.js";import b from"./FDRN4UNS.js";import"./D6U22V3H.js";import a from"./IWS4I3HA.js";import{a as u}from"./HGSRS4G7.js";import{a as v}from"./WBZEJCYL.js";import{C as _}from"./NOPHLD4K.js";import{b as h}from"./7RFFTMJS.js";import"./YESTJISJ.js";import"./SKNE6RLM.js";import{E as g,G as p,h as m,i as r}from"./DGGOQ3L4.js";import"./N4AIZVPV.js";export default $arcgis.t(([,{a:s,b:y},{c:d,e:x,h:I,m:$,n:C,p:T,q:L,t:b}])=>{var w=m`:host{display:flex;align-items:center}.instant-apps-interactive-legend__total-feature-count{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.instant-apps-interactive-legend__info-count-text{font-size:var(--instant-apps-interactive-legend-info-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.calcite-mode-dark.instant-apps-interactive-legend__info-count-text.instant-apps-interactive-legend__info-count-text--selected{color:var(--calcite-color-text-inverse)}.instant-apps-interactive-legend-count--compact .instant-apps-interactive-legend__total-feature-count{font-size:.75rem}:host:dir(rtl){margin-left:0;margin-right:auto}`,c={countText:" instant-apps-interactive-legend__info-count-text",countTextSelected:" instant-apps-interactive-legend__info-count-text--selected",totalFeatureCount:"instant-apps-interactive-legend__total-feature-count",compact:"instant-apps-interactive-legend-count--compact"},f=class extends g{constructor(){super(...arguments),this._messages=v({name:"instant-apps-interactive-legend"}),this.showTotal=!1,this.categoryId=""}static{this.properties={showTotal:5,legendvm:0,activeLayerInfo:0,categoryId:1,infoIndex:9,selected:5,legendElement:0}}static{this.styles=w}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0});let t=await _();this.intl=t}getCount(){let{categoryId:t}=this,a=this.activeLayerInfo.layer.id,o=s.data[a]?.categories?.size;if((!s.data||!a||!t)&&!o)return"";let i=s.data[a];if(!i)return;let{categories:l}=i,e=l.get(t),n;return e?.nestedInfos?n=T(e,this.infoIndex):n=e,Number.isNaN(n.count)?"":this.intl.formatNumber(n.count)}getTotalFeatureCount(){let t=this.activeLayerInfo.layer.id;if(!s.data||!t)return"";let a=s.data[t];if(!a)return;let{categories:o}=a,i=d(o),l=L(o),e;if(l)e=C(i);else if(I(this.activeLayerInfo)){let n=x(this.activeLayerInfo.layer);e=d(n.categories)[1].count}else e=$(i);return this.intl.formatNumber(e)}render(){let t=y.get("compact")?c.compact:"";return u("int-legend-count",r`<div class=${p(t)}>${this.showTotal?r`<span class=${p(c.totalFeatureCount)}>${this._messages?.totalFeatureCount}: ${this.getTotalFeatureCount()}</span>`:u("element-info-count",r`<span class=${`${c.countText} ${b(this.el)}${this.selected?c.countTextSelected:""}`}>${this.getCount()}</span>`)}</div>`)}};h("instant-apps-interactive-legend-count",f);return f},a,b,c)
3
+ v1.2.0-next.21 */
4
+ import c from"./VGX5VVVO.js";import b from"./4IP3BGGA.js";import"./OMCPSQ2N.js";import a from"./HOPHRV4L.js";import{a as u}from"./3PWHRLUR.js";import{a as v}from"./VPH3MHCJ.js";import{C as _}from"./6VPV7EU6.js";import{b as h}from"./T6HJKM4L.js";import"./PGBTYK6X.js";import"./TXUBQSCF.js";import{E as g,G as p,h as m,i as r}from"./QDR4D66T.js";import"./C3XGENO2.js";export default $arcgis.t(([,{a:s,b:y},{c:d,e:x,h:I,m:$,n:C,p:T,q:L,t:b}])=>{var w=m`:host{display:flex;align-items:center}.instant-apps-interactive-legend__total-feature-count{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.instant-apps-interactive-legend__info-count-text{font-size:var(--instant-apps-interactive-legend-info-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.calcite-mode-dark.instant-apps-interactive-legend__info-count-text.instant-apps-interactive-legend__info-count-text--selected{color:var(--calcite-color-text-inverse)}.instant-apps-interactive-legend-count--compact .instant-apps-interactive-legend__total-feature-count{font-size:.75rem}:host:dir(rtl){margin-left:0;margin-right:auto}`,c={countText:" instant-apps-interactive-legend__info-count-text",countTextSelected:" instant-apps-interactive-legend__info-count-text--selected",totalFeatureCount:"instant-apps-interactive-legend__total-feature-count",compact:"instant-apps-interactive-legend-count--compact"},f=class extends g{constructor(){super(...arguments),this._messages=v({name:"instant-apps-interactive-legend"}),this.showTotal=!1,this.categoryId=""}static{this.properties={showTotal:5,legendvm:0,activeLayerInfo:0,categoryId:1,infoIndex:9,selected:5,legendElement:0}}static{this.styles=w}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0});let t=await _();this.intl=t}getCount(){let{categoryId:t}=this,a=this.activeLayerInfo.layer.id,o=s.data[a]?.categories?.size;if((!s.data||!a||!t)&&!o)return"";let i=s.data[a];if(!i)return;let{categories:l}=i,e=l.get(t),n;return e?.nestedInfos?n=T(e,this.infoIndex):n=e,Number.isNaN(n.count)?"":this.intl.formatNumber(n.count)}getTotalFeatureCount(){let t=this.activeLayerInfo.layer.id;if(!s.data||!t)return"";let a=s.data[t];if(!a)return;let{categories:o}=a,i=d(o),l=L(o),e;if(l)e=C(i);else if(I(this.activeLayerInfo)){let n=x(this.activeLayerInfo.layer);e=d(n.categories)[1].count}else e=$(i);return this.intl.formatNumber(e)}render(){let t=y.get("compact")?c.compact:"";return u("int-legend-count",r`<div class=${p(t)}>${this.showTotal?r`<span class=${p(c.totalFeatureCount)}>${this._messages?.totalFeatureCount}: ${this.getTotalFeatureCount()}</span>`:u("element-info-count",r`<span class=${`${c.countText} ${b(this.el)}${this.selected?c.countTextSelected:""}`}>${this.getCount()}</span>`)}</div>`)}};h("instant-apps-interactive-legend-count",f);return f},a,b,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.20 */
4
- import{a as n}from"./GZ45JBXT.js";var c=["content","initiative","initiativeTemplate","page","project","site","survey","template"],p=[...c,"discussion","event","group","org","organization","user","channel"];var s=e=>p.includes(e);var u=(e,T,o)=>{let i="/",r=n({type:e});if(s(r)){let t=r;t!=="content"&&(t=`${t}s`),i=`/workspace/${t}/${T}`,o&&(i+=`/${o}`)}return i};export{u as a};
3
+ v1.2.0-next.21 */
4
+ import{a as n}from"./OAYZ7IKH.js";var c=["content","initiative","initiativeTemplate","page","project","site","survey","template"],p=[...c,"discussion","event","group","org","organization","user","channel"];var s=e=>p.includes(e);var u=(e,T,o)=>{let i="/",r=n({type:e});if(s(r)){let t=r;t!=="content"&&(t=`${t}s`),i=`/workspace/${t}/${T}`,o&&(i+=`/${o}`)}return i};export{u as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.20 */
3
+ v1.2.0-next.21 */
4
4
  var p;(function(e){e.BMP="bmp",e.GIF="gif",e.JPG="jpg",e.JPG_PNG="jpgpng",e.PNG="png",e.PNG8="png8",e.PNG24="png24",e.TIFF="tiff",e.PNG32="png32",e.BIP="bip",e.BSQ="bsq",e.LERC="lerc",e.CSV="csv",e.EXCEL="excel",e.FEATURE_COLLECTION="featureCollection",e.FILE_GDB="filegdb",e.GEOJSON="geojson",e.GEO_PACKAGE="geoPackage",e.JSON="json",e.KML="kml",e.SHAPEFILE="shapefile",e.SQLITE="sqlite"})(p||(p={}));var t;(function(e){e.PENDING="pending",e.PROCESSING="processing",e.CONVERTING="converting",e.COMPLETED="completed",e.FAILED="failed"})(t||(t={}));var P=class extends Error{constructor(s){super(s.rawMessage),this.name="ArcgisHubDownloadError",this.message=s.rawMessage,this.messageId=s.messageId,this.operation=s.operation}};export{p as a,t 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.20 */
4
- import{b as p}from"./7RFFTMJS.js";import{E as a,h as i,i as n,r}from"./DGGOQ3L4.js";import"./N4AIZVPV.js";var h=i`@layer{:host{display:block}}`,e=class extends a{constructor(){super(...arguments),this.inTour=!1,this.instantAppsPopovers=new Map,this.beforeOpen=async()=>await Promise.resolve()}static{this.properties={inTour:7,currentId:3,instantAppsPopovers:0,beforeOpen:0}}static{this.styles=h}static{this.shadowRootOptions=r}async beginTour(){this.inTour=!0,this.handlePopoverProps({pagination:!0,disableAction:!0});let s=Array.from(this.instantAppsPopovers.keys());await this.open(s[0])}async close(s){let t=this.instantAppsPopovers.get(s)?.firstElementChild;t&&(t.open=!1)}async endTour(){await this.close(this.currentId),this.inTour=!1,this.handlePopoverProps({pagination:!1,disableAction:!1})}async open(s){await this.beforeOpen();let t=this.instantAppsPopovers.get(s)?.firstElementChild;t.open=!0}async next(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)+1,o=s[t];await this.close(this.currentId),await this.open(o)}async previous(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)-1,o=s[t];await this.close(this.currentId),await this.open(o)}async done(){await this.endTour()}load(){let s=this.el.querySelector("[slot='popovers']");(s?Array.from(s.children):[]).forEach((t,o)=>{let c=t.getAttribute("ref-id");t.parent=this,t.index=o,this.instantAppsPopovers.set(c,t)}),this.listen("calcitePopoverOpen",t=>{let o=t.target.getAttribute("ref-id")??"";this.currentId=o})}handlePopoverProps(s){Array.from(this.el.querySelector("[slot='popovers']")?.children??[]).forEach(t=>{t.disableAction=s.disableAction,t.pagination=s.pagination})}render(){return n`<slot name=popovers></slot>`}};p("instant-apps-popovers",e);export{e as InstantAppsPopovers};
3
+ v1.2.0-next.21 */
4
+ import{b as p}from"./T6HJKM4L.js";import{E as a,h as i,i as n,r}from"./QDR4D66T.js";import"./C3XGENO2.js";var h=i`@layer{:host{display:block}}`,e=class extends a{constructor(){super(...arguments),this.inTour=!1,this.instantAppsPopovers=new Map,this.beforeOpen=async()=>await Promise.resolve()}static{this.properties={inTour:7,currentId:3,instantAppsPopovers:0,beforeOpen:0}}static{this.styles=h}static{this.shadowRootOptions=r}async beginTour(){this.inTour=!0,this.handlePopoverProps({pagination:!0,disableAction:!0});let s=Array.from(this.instantAppsPopovers.keys());await this.open(s[0])}async close(s){let t=this.instantAppsPopovers.get(s)?.firstElementChild;t&&(t.open=!1)}async endTour(){await this.close(this.currentId),this.inTour=!1,this.handlePopoverProps({pagination:!1,disableAction:!1})}async open(s){await this.beforeOpen();let t=this.instantAppsPopovers.get(s)?.firstElementChild;t.open=!0}async next(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)+1,o=s[t];await this.close(this.currentId),await this.open(o)}async previous(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)-1,o=s[t];await this.close(this.currentId),await this.open(o)}async done(){await this.endTour()}load(){let s=this.el.querySelector("[slot='popovers']");(s?Array.from(s.children):[]).forEach((t,o)=>{let c=t.getAttribute("ref-id");t.parent=this,t.index=o,this.instantAppsPopovers.set(c,t)}),this.listen("calcitePopoverOpen",t=>{let o=t.target.getAttribute("ref-id")??"";this.currentId=o})}handlePopoverProps(s){Array.from(this.el.querySelector("[slot='popovers']")?.children??[]).forEach(t=>{t.disableAction=s.disableAction,t.pagination=s.pagination})}render(){return n`<slot name=popovers></slot>`}};p("instant-apps-popovers",e);export{e as InstantAppsPopovers};
@@ -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.20 */
4
- import{a as O}from"./WBZEJCYL.js";import{A as H,C as M,D as F,d as B,e as L}from"./NOPHLD4K.js";import{b as U}from"./7RFFTMJS.js";import"./YESTJISJ.js";import"./SKNE6RLM.js";import{B as S,C as m,D as h,E as I,G as a,H as b,I as C,h as T,i as n,j as w}from"./DGGOQ3L4.js";import"./N4AIZVPV.js";var ee=T`:host{display:block;--instant-apps-social-share-action-width: initial;--instant-apps-social-share-width--s: 200px;--instant-apps-social-share-width--m: 280px;--instant-apps-social-share-width--l: 320px;--instant-apps-social-share-width-horizontal--s: 300px;--instant-apps-social-share-width-horizontal--m: 380px;--instant-apps-social-share-width-horizontal--l: 420px;--instant-apps-social-share-background-color: var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color: transparent;--instant-apps-social-share-popover-button-icon-color: var(--calcite-icon-color);--instant-apps-social-share-embed-border: 1px solid $border;--instant-apps-social-share-embed-text-area-text: #468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#fff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:700;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}`,i="instant-apps-social-share",N=".calcite-mode-dark",t={dialog:`${i}__dialog`,dialogContent:`${i}__dialog-content`,options:`${i}__options`,tipContainer:`${i}__tip`,tipHeader:`${i}__tip-header`,tipContent:`${i}__tip-content`,icon:`${i}__icon`,iconContainer:`${i}__icon-container`,optionText:`${i}__option-text`,popoverButton:`${i}__popover-button`,layout:{vertical:`${i}__layout--vertical`,horizontal:`${i}__layout--horizontal`},xLogo:{light:`${i}__x-logo--light`,dark:`${i}__x-logo--dark`},success:{container:`${i}__success`,header:`${i}__success-header`,message:`${i}__success-message`,icon:`${i}__success-icon`},embed:{container:`${i}__embed`,header:`${i}__embed-header`,embedCode:{container:`${i}__embed-code`,textArea:`${i}__embed-code-text-area`,copyButton:`${i}__embed-code-copy-button`},textAreaText:`${i}__embed-text-area-text`,dimensions:{container:`${i}__embed-dimensions`,input:`${i}__embed-dimensions-input`}},rtl:{optionText:`${i}__option-text--rtl`,textArea:`${i}__text-area--rtl`}},te={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?text={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},E=1,z=class extends I{constructor(){super(...arguments),this._messages=O({name:"instant-apps-social-share"}),this.popoverRef=m(),this.embedWidthRef=m(),this.embedHeightRef=m(),this.embedCodeRef=m(),this.copyLinkPopoverRef=m(),this.copyEmbedPopoverRef=m(),this.dialogContentRef=m(),this.shareListRef=m(),this.popoverButtonRef=m(),this.handlePopoverRefKeyDown=async e=>{if(!this.isNativeShareEnabled)if(e.code==="Tab"){if(!this.shareListRef.value)return;let s=e.target,o=this.shareListRef.value.children[0],r=this.shareListRef.value.children[this.shareListRef.value.children.length-1];e.shiftKey&&s===o?(e.preventDefault(),r.focus()):!e.shiftKey&&s===r&&(e.preventDefault(),o.focus())}else e.code==="Escape"&&(this.closePopover(),await this.popoverButtonRef.value?.setFocus())},this.stopEventPropagation=e=>{e.stopPropagation()},this.autoCloseCallback=()=>{this.mode==="popover"&&this.popoverRef.value?(this.isPopoverOpen=!1,this.popoverRef.value.open=this.isPopoverOpen):(this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1),this.inlineCopyEmbedOpened=!1)},this.resetPopoverCopyState=async()=>{await this.popoverButtonRef.value?.setFocus(),setTimeout(()=>{this.isLinkCopiedToClipboard=!1},200)},this.isPopoverOpen=!1,this.isLinkCopiedToClipboard=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600,this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1}static{this.properties={isPopoverOpen:16,isLinkCopiedToClipboard:16,inlineCopyLinkOpened:16,inlineCopyEmbedOpened:16,embedWidth:16,embedHeight:16,mode:3,shareUrl:1,autoUpdateShareUrl:5,shareText:3,embed:7,shareButtonColor:3,shareButtonType:3,shareButtonScale:3,iframeInnerText:3,popoverButtonIconScale:3,view:0,displayTipText:7,shortenShareUrl:7,socialMedia:7,shareIconsLayout:3,scale:3,successMessage:3,flipRtl:7,defaultUrlParams:0,inlineSuccessPopoverPlacement:3,popoverPositioning:3,removePopoverOffset:7,useNativeShare:7,isNativeShareEnabled:7}}static{this.styles=ee}load(){document.documentElement.addEventListener("click",this.autoCloseCallback),this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice}disconnectedCallback(){super.disconnectedCallback(),document.documentElement.removeEventListener("click",this.autoCloseCallback)}makeOptionKeyDownHandler(e){return async s=>{let o=s.code;(o==="Space"||o==="Enter")&&await this.handleShareItem(e)}}makeEmbedResizeHandler(e){let s=e==="width"?this.embedWidthRef.value:this.embedHeightRef.value;return()=>{if(!(!this.embed||this.isNativeShareEnabled)&&s){let o=Math.max(s.valueAsNumber??0,E);this[e==="width"?"embedWidth":"embedHeight"]=o}}}togglePopoverVisibility(e){e.stopPropagation(),this.isPopoverOpen=!this.isPopoverOpen,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}closePopover(){this.isPopoverOpen=!1,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}async handleShareItem(e){this.shareUrl=await this.generateShareUrl();let s=null,o=navigator?.userAgent?.includes("Chrome")??!1,r=(navigator?.userAgent?.includes("Safari")??!1)&&!o;!r&&this.shortenShareUrl&&(s=await this.shortenUrl(this.shareUrl));let l=s||this.shareUrl;switch(e){case"link":await navigator.clipboard.writeText(l),this.embed&&this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!0,setTimeout(()=>{this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1)},3e3)),this.inlineCopyLinkOpened=!0,this.isLinkCopiedToClipboard=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let p;r&&(p=window.open("","_blank"),this.shortenShareUrl&&(l=await this.shortenUrl(this.shareUrl)||l));let d={url:encodeURI(l)},f=e==="x"?{...d,text:this.shareText}:d,k=(await M()).substitute(te[e],f);this.mode==="popover"&&this.closePopover(),r&&p?(p.location=k,p.focus()):window.open(encodeURI(k),"_blank")}break;case"native-share":let v={title:this._messages.share?.label||"Share",text:this.shareText,url:encodeURI(l)};navigator?.canShare?.(v)?navigator.share(v).catch(p=>{console.error("Error using native share:",p)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(e){let s=(await(await F())("https://arcg.is/prod/shorten",{query:{longUrl:e,f:"json"}}))?.data?.data?.url;if(s)return s.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}async copyEmbedCode(){await navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!0,setTimeout(()=>{this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1)},3e3)),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:e,y:s}=this.view.center,{spatialReference:o}=this.view,r=await L({...o.toJSON()}),l=await B({x:e,y:s,spatialReference:r}),v=await this.processPoint(l),{isWGS84:p,isWebMercator:d}=v.spatialReference,f=p||d;return this.generateShareUrlParams(v,f)}async processPoint(e){let{isWGS84:s,isWebMercator:o}=e.spatialReference;if(s||o)return e;let r=await H(),l=await L({wkid:4326}),v=this.view?.spatialReference??l;try{return await r.load(),r.execute(e,v)}catch(p){console.error("Failed to project point to outSpatialReference",p);try{let d=r.execute(e,l);return Promise.resolve(d)}catch(d){return console.error("Failed to project point to fallbackOutSpatialReference",d),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(e,s){let{longitude:o,latitude:r,x:l,y:v}=e;if(o===void 0||r===void 0||!this.view)return this.shareUrl;let p=this.roundValue(s?o:l),d=this.roundValue(s?r:v),{zoom:f}=this.view,k=this.roundValue(f),P=this.view?.popup?.selectedFeature,D=this.view?.popup?.visible,$,x;if(P&&D&&P?.layer?.type==="feature"){let _=P?.layer;$=_?.id,x=P.attributes[_.objectIdField]}let R=this.view.map?.allLayers.filter(_=>!_.visible).toArray().map(_=>_.id).toString().replaceAll(",",";"),{type:A}=this.view,{defaultUrlParams:g}=this,c=new URL(this.shareUrl),{searchParams:u}=c;if(u.get("center")&&u.delete("center"),u.get("level")&&u.delete("level"),u.get("selectedFeature")&&u.delete("selectedFeature"),u.get("hiddenLayers")&&u.delete("hiddenLayers"),u.get("viewpoint")&&u.delete("viewpoint"),A==="3d"){let{camera:_}=this.view,{heading:V,position:W,tilt:j}=_,{longitude:K,latitude:Z,x:G,y:X,z:q}=W,J=s?K:G,Q=s?Z:X,y={longitude:this.roundValue(J,8),latitude:this.roundValue(Q,8),z:this.roundValue(q,3),heading:this.roundValue(V,3),tilt:this.roundValue(j,3)},Y=`cam:${y.longitude},${y.latitude},${y.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${y.heading},${y.tilt}`;return g?.viewpoint!==!1&&c.searchParams.set("viewpoint",Y),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}return g?.center!==!1&&c.searchParams.set("center",`${p};${d}`),g?.level!==!1&&c.searchParams.set("level",`${k}`),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}roundValue(e,s=4){return Number.parseFloat(e.toFixed(s))}get isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}render(){let e=this.isLinkCopiedToClipboard&&this.mode==="popover"?this.renderSuccess():n`<div class=${a(t.dialogContent)}>${this.renderMenuOptions()}${this.displayTipText?this.renderTip():null}${this.embed?this.renderEmbed():null}</div>`,s=this.shareIconsLayout==="vertical"?` ${t.layout.vertical}`:` ${t.layout.horizontal}`,o=` calcite-mode-${this.el.closest(N)?"dark":"light"}`,r=n`<div class=${`${t.dialog}${s}${o}`} @click=${this.stopEventPropagation} ${h(this.dialogContentRef)}>${e}</div>`,l=this.removePopoverOffset?0:6;return this.isNativeShareEnabled?this.renderShareButton():this.mode==="popover"?[n`<calcite-popover .open=${this.isPopoverOpen} .label=${this._messages.share?.label??""} reference-element=shareButton placement=bottom-start .scale=${this.scale} .overlayPositioning=${this.popoverPositioning} .offsetDistance=${l} .pointerDisabled=${this.removePopoverOffset} @calcitePopoverOpen=${()=>{!this.shareListRef.value||this.isNativeShareEnabled||this.shareListRef.value.children[0].focus()}} @calcitePopoverBeforeClose=${this.resetPopoverCopyState} @click=${this.stopEventPropagation} @keydown=${this.handlePopoverRefKeyDown} ${h(this.popoverRef)}>${r}</calcite-popover>`,this.renderShareButton()]:[r,n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyLinkPopoverRef)}>${this.renderSuccess()}</calcite-popover>`,this.embed?n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyEmbedToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyEmbedPopoverRef)}>${this.renderEmbedSuccess()}</calcite-popover>`:null]}renderShareButton(){let e=this.shareButtonScale??this.scale,s=async r=>{this.isNativeShareEnabled?(r.stopPropagation(),await this.handleShareItem("native-share")):this.togglePopoverVisibility(r)},o=n`<div class=${a(t.iconContainer)}><calcite-icon icon=share .scale=${this.popoverButtonIconScale}></calcite-icon></div>`;return this.shareButtonType==="button"?n`<calcite-button id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} .kind=${this.shareButtonColor} appearance=transparent ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-button>`:n`<calcite-action id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} appearance=transparent text alignment=center ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-action>`}renderSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${this.successMessage||e?.url}</span></div>`}renderEmbedSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${e?.embed}</span></div>`}renderMenuOptions(){let e=this._messages.options,s=document.dir==="rtl"?` ${t.rtl.optionText}`:"";return n`<ul class=${a(t.options)} role=menu ${h(this.shareListRef)}><li id=copyToClipboard @click=${this.handleShareItem.bind(this,"link")} @keydown=${this.makeOptionKeyDownHandler("link")} role=menuitem tabindex=0><span class=${a(t.icon)}><calcite-icon icon=link .scale=${this.scale}></calcite-icon></span><span class=${`${t.optionText}${s}`}>${e?.link?.label}</span></li>${this.socialMedia?[n`<li @click=${this.handleShareItem.bind(this,"facebook")} @keydown=${this.makeOptionKeyDownHandler("facebook")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderFacebookIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.facebook?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"x")} @keydown=${this.makeOptionKeyDownHandler("x")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderXIcon()}</span><span class=${`${t.optionText}${s}`}>X</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"linkedIn")} @keydown=${this.makeOptionKeyDownHandler("linkedIn")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderLinkedInIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.linkedIn?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"bluesky")} @keydown=${this.makeOptionKeyDownHandler("bluesky")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderBlueSkyIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.blueSky?.label}</span></li>`]:null}</ul>`}renderFacebookIcon(){return n`<svg height=100% style=${b({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g><path d="M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z" style=${b({fill:"#1877f2",fillRule:"nonzero"})} /><path d="M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z" style=${b({fill:"#fff",fillRule:"nonzero"})} /></g>`}</svg>`}renderXIcon(){let e=!!this.el.closest(N);return n`<svg height=100% class=${a(e?t.xLogo.dark:t.xLogo.light)} viewBox="0 0 1200 1227" fill=none xmlns=http://www.w3.org/2000/svg>${w`<rect height=400 style=${b({fill:"none"})} width=400 x=56 y=56 /><path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill=${e?"white":"black"} />`}</svg>`}renderBlueSkyIcon(){return n`<svg height=100% fill=#0f85fe xmlns=http://www.w3.org/2000/svg viewBox="0 0 512 512">${w`<path d="M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z" />`}</svg>`}renderLinkedInIcon(){return n`<svg height=100% style=${b({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g id=g5891><path d="M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z" id=background style=${b({fill:"#2867b2"})} /><g id=shapes><rect height=257.962 id=rect11 style=${b({fill:"#fff"})} width=85.76 x=61.053 y=178.667 /><path d="M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z" id=path13-0 style=${b({fill:"#fff",fillRule:"nonzero"})} /><path d="M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z" id=path15 style=${b({fill:"#fff",fillRule:"nonzero"})} /></g></g>`}</svg>`}renderTip(){let e=this._messages.info;return n`<div class=${a(t.tipContainer)}><span class=${a(t.tipHeader)}><calcite-icon icon=lightbulb .scale=${this.scale}></calcite-icon><span>${e?.label}</span></span><p class=${a(t.tipContent)}>${e?.tooltip}</p></div>`}renderEmbed(){let e=this._messages.embed,s=document.dir==="rtl"?` ${t.rtl.textArea}`:"";return n`<div class=${a(t.embed.container)}><span class=${a(t.embed.header)}><calcite-icon icon=code .scale=${this.scale}></calcite-icon><span>${this._messages.embed?.label}</span></span><div class=${a(t.embed.embedCode.container)}><div class=${a(t.embed.embedCode.textArea)}><textarea cols=30 rows=5 readonly class=${a(s)} .value=${S(this.getEmbedCode()??"")} ${h(this.embedCodeRef)}></textarea><button id=copyEmbedToClipboard @click=${this.copyEmbedCode} class=${a(t.embed.embedCode.copyButton)}><calcite-icon icon=copy .scale=${this.scale}></calcite-icon><span>${e?.copy}</span></button></div><span class=${a(t.embed.textAreaText)}><slot name=text-area-text></slot></span><div class=${a(t.embed.dimensions.container)}><label class=${a(t.embed.dimensions.input)}><span>${e?.width}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("width")} .value=${S(this.embedWidth??"")} min=${E} ${h(this.embedWidthRef)}></label><label class=${a(t.embed.dimensions.input)}><span>${e?.height}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("height")} .value=${S(this.embedHeight??"")} min=${E} ${h(this.embedHeightRef)}></label></div></div></div>`}};U("instant-apps-social-share",z);export{z as InstantAppsSocialShare};
3
+ v1.2.0-next.21 */
4
+ import{a as O}from"./VPH3MHCJ.js";import{A as H,C as M,D as F,d as B,e as L}from"./6VPV7EU6.js";import{b as U}from"./T6HJKM4L.js";import"./PGBTYK6X.js";import"./TXUBQSCF.js";import{B as S,C as m,D as h,E as I,G as a,H as b,I as C,h as T,i as n,j as w}from"./QDR4D66T.js";import"./C3XGENO2.js";var ee=T`:host{display:block;--instant-apps-social-share-action-width: initial;--instant-apps-social-share-width--s: 200px;--instant-apps-social-share-width--m: 280px;--instant-apps-social-share-width--l: 320px;--instant-apps-social-share-width-horizontal--s: 300px;--instant-apps-social-share-width-horizontal--m: 380px;--instant-apps-social-share-width-horizontal--l: 420px;--instant-apps-social-share-background-color: var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color: transparent;--instant-apps-social-share-popover-button-icon-color: var(--calcite-icon-color);--instant-apps-social-share-embed-border: 1px solid $border;--instant-apps-social-share-embed-text-area-text: #468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#fff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:700;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}`,i="instant-apps-social-share",N=".calcite-mode-dark",t={dialog:`${i}__dialog`,dialogContent:`${i}__dialog-content`,options:`${i}__options`,tipContainer:`${i}__tip`,tipHeader:`${i}__tip-header`,tipContent:`${i}__tip-content`,icon:`${i}__icon`,iconContainer:`${i}__icon-container`,optionText:`${i}__option-text`,popoverButton:`${i}__popover-button`,layout:{vertical:`${i}__layout--vertical`,horizontal:`${i}__layout--horizontal`},xLogo:{light:`${i}__x-logo--light`,dark:`${i}__x-logo--dark`},success:{container:`${i}__success`,header:`${i}__success-header`,message:`${i}__success-message`,icon:`${i}__success-icon`},embed:{container:`${i}__embed`,header:`${i}__embed-header`,embedCode:{container:`${i}__embed-code`,textArea:`${i}__embed-code-text-area`,copyButton:`${i}__embed-code-copy-button`},textAreaText:`${i}__embed-text-area-text`,dimensions:{container:`${i}__embed-dimensions`,input:`${i}__embed-dimensions-input`}},rtl:{optionText:`${i}__option-text--rtl`,textArea:`${i}__text-area--rtl`}},te={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?text={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},E=1,z=class extends I{constructor(){super(...arguments),this._messages=O({name:"instant-apps-social-share"}),this.popoverRef=m(),this.embedWidthRef=m(),this.embedHeightRef=m(),this.embedCodeRef=m(),this.copyLinkPopoverRef=m(),this.copyEmbedPopoverRef=m(),this.dialogContentRef=m(),this.shareListRef=m(),this.popoverButtonRef=m(),this.handlePopoverRefKeyDown=async e=>{if(!this.isNativeShareEnabled)if(e.code==="Tab"){if(!this.shareListRef.value)return;let s=e.target,o=this.shareListRef.value.children[0],r=this.shareListRef.value.children[this.shareListRef.value.children.length-1];e.shiftKey&&s===o?(e.preventDefault(),r.focus()):!e.shiftKey&&s===r&&(e.preventDefault(),o.focus())}else e.code==="Escape"&&(this.closePopover(),await this.popoverButtonRef.value?.setFocus())},this.stopEventPropagation=e=>{e.stopPropagation()},this.autoCloseCallback=()=>{this.mode==="popover"&&this.popoverRef.value?(this.isPopoverOpen=!1,this.popoverRef.value.open=this.isPopoverOpen):(this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1),this.inlineCopyEmbedOpened=!1)},this.resetPopoverCopyState=async()=>{await this.popoverButtonRef.value?.setFocus(),setTimeout(()=>{this.isLinkCopiedToClipboard=!1},200)},this.isPopoverOpen=!1,this.isLinkCopiedToClipboard=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600,this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1}static{this.properties={isPopoverOpen:16,isLinkCopiedToClipboard:16,inlineCopyLinkOpened:16,inlineCopyEmbedOpened:16,embedWidth:16,embedHeight:16,mode:3,shareUrl:1,autoUpdateShareUrl:5,shareText:3,embed:7,shareButtonColor:3,shareButtonType:3,shareButtonScale:3,iframeInnerText:3,popoverButtonIconScale:3,view:0,displayTipText:7,shortenShareUrl:7,socialMedia:7,shareIconsLayout:3,scale:3,successMessage:3,flipRtl:7,defaultUrlParams:0,inlineSuccessPopoverPlacement:3,popoverPositioning:3,removePopoverOffset:7,useNativeShare:7,isNativeShareEnabled:7}}static{this.styles=ee}load(){document.documentElement.addEventListener("click",this.autoCloseCallback),this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice}disconnectedCallback(){super.disconnectedCallback(),document.documentElement.removeEventListener("click",this.autoCloseCallback)}makeOptionKeyDownHandler(e){return async s=>{let o=s.code;(o==="Space"||o==="Enter")&&await this.handleShareItem(e)}}makeEmbedResizeHandler(e){let s=e==="width"?this.embedWidthRef.value:this.embedHeightRef.value;return()=>{if(!(!this.embed||this.isNativeShareEnabled)&&s){let o=Math.max(s.valueAsNumber??0,E);this[e==="width"?"embedWidth":"embedHeight"]=o}}}togglePopoverVisibility(e){e.stopPropagation(),this.isPopoverOpen=!this.isPopoverOpen,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}closePopover(){this.isPopoverOpen=!1,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}async handleShareItem(e){this.shareUrl=await this.generateShareUrl();let s=null,o=navigator?.userAgent?.includes("Chrome")??!1,r=(navigator?.userAgent?.includes("Safari")??!1)&&!o;!r&&this.shortenShareUrl&&(s=await this.shortenUrl(this.shareUrl));let l=s||this.shareUrl;switch(e){case"link":await navigator.clipboard.writeText(l),this.embed&&this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!0,setTimeout(()=>{this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1)},3e3)),this.inlineCopyLinkOpened=!0,this.isLinkCopiedToClipboard=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let p;r&&(p=window.open("","_blank"),this.shortenShareUrl&&(l=await this.shortenUrl(this.shareUrl)||l));let d={url:encodeURI(l)},f=e==="x"?{...d,text:this.shareText}:d,k=(await M()).substitute(te[e],f);this.mode==="popover"&&this.closePopover(),r&&p?(p.location=k,p.focus()):window.open(encodeURI(k),"_blank")}break;case"native-share":let v={title:this._messages.share?.label||"Share",text:this.shareText,url:encodeURI(l)};navigator?.canShare?.(v)?navigator.share(v).catch(p=>{console.error("Error using native share:",p)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(e){let s=(await(await F())("https://arcg.is/prod/shorten",{query:{longUrl:e,f:"json"}}))?.data?.data?.url;if(s)return s.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}async copyEmbedCode(){await navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!0,setTimeout(()=>{this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1)},3e3)),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:e,y:s}=this.view.center,{spatialReference:o}=this.view,r=await L({...o.toJSON()}),l=await B({x:e,y:s,spatialReference:r}),v=await this.processPoint(l),{isWGS84:p,isWebMercator:d}=v.spatialReference,f=p||d;return this.generateShareUrlParams(v,f)}async processPoint(e){let{isWGS84:s,isWebMercator:o}=e.spatialReference;if(s||o)return e;let r=await H(),l=await L({wkid:4326}),v=this.view?.spatialReference??l;try{return await r.load(),r.execute(e,v)}catch(p){console.error("Failed to project point to outSpatialReference",p);try{let d=r.execute(e,l);return Promise.resolve(d)}catch(d){return console.error("Failed to project point to fallbackOutSpatialReference",d),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(e,s){let{longitude:o,latitude:r,x:l,y:v}=e;if(o===void 0||r===void 0||!this.view)return this.shareUrl;let p=this.roundValue(s?o:l),d=this.roundValue(s?r:v),{zoom:f}=this.view,k=this.roundValue(f),P=this.view?.popup?.selectedFeature,D=this.view?.popup?.visible,$,x;if(P&&D&&P?.layer?.type==="feature"){let _=P?.layer;$=_?.id,x=P.attributes[_.objectIdField]}let R=this.view.map?.allLayers.filter(_=>!_.visible).toArray().map(_=>_.id).toString().replaceAll(",",";"),{type:A}=this.view,{defaultUrlParams:g}=this,c=new URL(this.shareUrl),{searchParams:u}=c;if(u.get("center")&&u.delete("center"),u.get("level")&&u.delete("level"),u.get("selectedFeature")&&u.delete("selectedFeature"),u.get("hiddenLayers")&&u.delete("hiddenLayers"),u.get("viewpoint")&&u.delete("viewpoint"),A==="3d"){let{camera:_}=this.view,{heading:V,position:W,tilt:j}=_,{longitude:K,latitude:Z,x:G,y:X,z:q}=W,J=s?K:G,Q=s?Z:X,y={longitude:this.roundValue(J,8),latitude:this.roundValue(Q,8),z:this.roundValue(q,3),heading:this.roundValue(V,3),tilt:this.roundValue(j,3)},Y=`cam:${y.longitude},${y.latitude},${y.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${y.heading},${y.tilt}`;return g?.viewpoint!==!1&&c.searchParams.set("viewpoint",Y),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}return g?.center!==!1&&c.searchParams.set("center",`${p};${d}`),g?.level!==!1&&c.searchParams.set("level",`${k}`),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}roundValue(e,s=4){return Number.parseFloat(e.toFixed(s))}get isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}render(){let e=this.isLinkCopiedToClipboard&&this.mode==="popover"?this.renderSuccess():n`<div class=${a(t.dialogContent)}>${this.renderMenuOptions()}${this.displayTipText?this.renderTip():null}${this.embed?this.renderEmbed():null}</div>`,s=this.shareIconsLayout==="vertical"?` ${t.layout.vertical}`:` ${t.layout.horizontal}`,o=` calcite-mode-${this.el.closest(N)?"dark":"light"}`,r=n`<div class=${`${t.dialog}${s}${o}`} @click=${this.stopEventPropagation} ${h(this.dialogContentRef)}>${e}</div>`,l=this.removePopoverOffset?0:6;return this.isNativeShareEnabled?this.renderShareButton():this.mode==="popover"?[n`<calcite-popover .open=${this.isPopoverOpen} .label=${this._messages.share?.label??""} reference-element=shareButton placement=bottom-start .scale=${this.scale} .overlayPositioning=${this.popoverPositioning} .offsetDistance=${l} .pointerDisabled=${this.removePopoverOffset} @calcitePopoverOpen=${()=>{!this.shareListRef.value||this.isNativeShareEnabled||this.shareListRef.value.children[0].focus()}} @calcitePopoverBeforeClose=${this.resetPopoverCopyState} @click=${this.stopEventPropagation} @keydown=${this.handlePopoverRefKeyDown} ${h(this.popoverRef)}>${r}</calcite-popover>`,this.renderShareButton()]:[r,n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyLinkPopoverRef)}>${this.renderSuccess()}</calcite-popover>`,this.embed?n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyEmbedToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyEmbedPopoverRef)}>${this.renderEmbedSuccess()}</calcite-popover>`:null]}renderShareButton(){let e=this.shareButtonScale??this.scale,s=async r=>{this.isNativeShareEnabled?(r.stopPropagation(),await this.handleShareItem("native-share")):this.togglePopoverVisibility(r)},o=n`<div class=${a(t.iconContainer)}><calcite-icon icon=share .scale=${this.popoverButtonIconScale}></calcite-icon></div>`;return this.shareButtonType==="button"?n`<calcite-button id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} .kind=${this.shareButtonColor} appearance=transparent ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-button>`:n`<calcite-action id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} appearance=transparent text alignment=center ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-action>`}renderSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${this.successMessage||e?.url}</span></div>`}renderEmbedSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${e?.embed}</span></div>`}renderMenuOptions(){let e=this._messages.options,s=document.dir==="rtl"?` ${t.rtl.optionText}`:"";return n`<ul class=${a(t.options)} role=menu ${h(this.shareListRef)}><li id=copyToClipboard @click=${this.handleShareItem.bind(this,"link")} @keydown=${this.makeOptionKeyDownHandler("link")} role=menuitem tabindex=0><span class=${a(t.icon)}><calcite-icon icon=link .scale=${this.scale}></calcite-icon></span><span class=${`${t.optionText}${s}`}>${e?.link?.label}</span></li>${this.socialMedia?[n`<li @click=${this.handleShareItem.bind(this,"facebook")} @keydown=${this.makeOptionKeyDownHandler("facebook")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderFacebookIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.facebook?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"x")} @keydown=${this.makeOptionKeyDownHandler("x")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderXIcon()}</span><span class=${`${t.optionText}${s}`}>X</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"linkedIn")} @keydown=${this.makeOptionKeyDownHandler("linkedIn")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderLinkedInIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.linkedIn?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"bluesky")} @keydown=${this.makeOptionKeyDownHandler("bluesky")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderBlueSkyIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.blueSky?.label}</span></li>`]:null}</ul>`}renderFacebookIcon(){return n`<svg height=100% style=${b({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g><path d="M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z" style=${b({fill:"#1877f2",fillRule:"nonzero"})} /><path d="M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z" style=${b({fill:"#fff",fillRule:"nonzero"})} /></g>`}</svg>`}renderXIcon(){let e=!!this.el.closest(N);return n`<svg height=100% class=${a(e?t.xLogo.dark:t.xLogo.light)} viewBox="0 0 1200 1227" fill=none xmlns=http://www.w3.org/2000/svg>${w`<rect height=400 style=${b({fill:"none"})} width=400 x=56 y=56 /><path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill=${e?"white":"black"} />`}</svg>`}renderBlueSkyIcon(){return n`<svg height=100% fill=#0f85fe xmlns=http://www.w3.org/2000/svg viewBox="0 0 512 512">${w`<path d="M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z" />`}</svg>`}renderLinkedInIcon(){return n`<svg height=100% style=${b({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g id=g5891><path d="M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z" id=background style=${b({fill:"#2867b2"})} /><g id=shapes><rect height=257.962 id=rect11 style=${b({fill:"#fff"})} width=85.76 x=61.053 y=178.667 /><path d="M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z" id=path13-0 style=${b({fill:"#fff",fillRule:"nonzero"})} /><path d="M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z" id=path15 style=${b({fill:"#fff",fillRule:"nonzero"})} /></g></g>`}</svg>`}renderTip(){let e=this._messages.info;return n`<div class=${a(t.tipContainer)}><span class=${a(t.tipHeader)}><calcite-icon icon=lightbulb .scale=${this.scale}></calcite-icon><span>${e?.label}</span></span><p class=${a(t.tipContent)}>${e?.tooltip}</p></div>`}renderEmbed(){let e=this._messages.embed,s=document.dir==="rtl"?` ${t.rtl.textArea}`:"";return n`<div class=${a(t.embed.container)}><span class=${a(t.embed.header)}><calcite-icon icon=code .scale=${this.scale}></calcite-icon><span>${this._messages.embed?.label}</span></span><div class=${a(t.embed.embedCode.container)}><div class=${a(t.embed.embedCode.textArea)}><textarea cols=30 rows=5 readonly class=${a(s)} .value=${S(this.getEmbedCode()??"")} ${h(this.embedCodeRef)}></textarea><button id=copyEmbedToClipboard @click=${this.copyEmbedCode} class=${a(t.embed.embedCode.copyButton)}><calcite-icon icon=copy .scale=${this.scale}></calcite-icon><span>${e?.copy}</span></button></div><span class=${a(t.embed.textAreaText)}><slot name=text-area-text></slot></span><div class=${a(t.embed.dimensions.container)}><label class=${a(t.embed.dimensions.input)}><span>${e?.width}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("width")} .value=${S(this.embedWidth??"")} min=${E} ${h(this.embedWidthRef)}></label><label class=${a(t.embed.dimensions.input)}><span>${e?.height}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("height")} .value=${S(this.embedHeight??"")} min=${E} ${h(this.embedHeightRef)}></label></div></div></div>`}};U("instant-apps-social-share",z);export{z as InstantAppsSocialShare};
@@ -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.20 */
4
- import{a as s}from"./QFF7V4PQ.js";import"./RBY4RRXS.js";import"./CKIAT6FZ.js";import"./WX6CMXEK.js";import"./UHDBPQAZ.js";import"./PFGY7OJD.js";import"./RJBUFP4Z.js";import"./BP2CHTVW.js";import"./4H5JZV3N.js";import"./EMC4J76D.js";import"./JWKBLBHU.js";import"./NPOGRCJT.js";import"./UQHNT6NC.js";import"./K2RFNUWO.js";import"./W7I2RFAY.js";import"./LBN2RTAD.js";import"./5FQDPXO7.js";import"./AHNRTMIR.js";import"./5IY7QON3.js";import"./7B2JUGRA.js";import"./4KVLYOZL.js";import"./ZFZ663TV.js";import"./MQUYDV5R.js";import"./N4AIZVPV.js";var c=async(e,l,n)=>{let{isSharedUpdate:i,leavingDisallowed:t}=l;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[t]}],[{effect:s.DISABLE,conditions:[t]},{effect:s.DISABLE,conditions:[i]}]]},rules:[{effect:s.RESET,conditions:[t]},{effect:s.RESET,conditions:[i,{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}};export{c as buildUiSchema};
3
+ v1.2.0-next.21 */
4
+ import{a as s}from"./2NN7XORI.js";import"./L6LJJRE2.js";import"./SKT4GZ6B.js";import"./5FODZC2W.js";import"./PHMX4V43.js";import"./4SB6QW6W.js";import"./65YYFVKD.js";import"./ZMKFBKJ5.js";import"./FO5FDVKS.js";import"./WWKYMX4H.js";import"./CURE4DDI.js";import"./IJI2I4NN.js";import"./JN7ZBQQT.js";import"./ZCXEHP3I.js";import"./ZTYR32MZ.js";import"./C36XF7C7.js";import"./5BBGQJ5S.js";import"./DQXONY5W.js";import"./KPLOUVW3.js";import"./DOCNMY5H.js";import"./ZADEJN6X.js";import"./VRUHMDUB.js";import"./G2UQK6LA.js";import"./C3XGENO2.js";var c=async(e,l,n)=>{let{isSharedUpdate:i,leavingDisallowed:t}=l;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[t]}],[{effect:s.DISABLE,conditions:[t]},{effect:s.DISABLE,conditions:[i]}]]},rules:[{effect:s.RESET,conditions:[t]},{effect:s.RESET,conditions:[i,{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}};export{c as buildUiSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.20 */
4
- import{a as S}from"./OUD44QTO.js";import"./4EKEBZDH.js";import"./SRGIOXPX.js";import"./QTFLAIE5.js";import"./RYLMXGYK.js";import"./SV5GS7VD.js";import"./G577XEWY.js";import"./YLYRRWJW.js";import"./LQHGJORU.js";import"./VRYNGE64.js";import"./EA2CRCAW.js";import"./FDYQ2FKY.js";import"./6TJU76R3.js";import"./XHXMDQDA.js";import"./J27HWMOU.js";import"./EJ6BXACD.js";import"./5BCHBBEG.js";import"./VIKALXXD.js";import"./LEMWW4ED.js";import"./I3PEU4E4.js";import"./S6R6G6MM.js";import"./4H5JZV3N.js";import"./KHN6DAWC.js";import"./5VCN4HJU.js";import{c as d,d as g,g as v}from"./YIXPGCUC.js";import"./CNQYI77D.js";import"./2E2FE2UD.js";import{b as F}from"./C3XGN444.js";import{a as b}from"./XX4ZM5IC.js";import"./YESTJISJ.js";import"./SKNE6RLM.js";import{b as L}from"./T6EN2LQT.js";import{C as u,D as c,E as w,G as x,H as I,h as m,i as l,l as y,o as p,r as _}from"./DGGOQ3L4.js";import"./N4AIZVPV.js";var $=m`@layer{/** @license
3
+ v1.2.0-next.21 */
4
+ import{a as S}from"./UCM63YTG.js";import"./MXDK4LDP.js";import"./3LUEIDPJ.js";import"./PWGDJNXG.js";import"./JUHZNCUH.js";import"./WUXNFVJD.js";import"./5CSKRDZM.js";import"./UYB52TDK.js";import"./ANG6KH3Q.js";import"./EFOK377W.js";import"./66KL4C26.js";import"./LPVP3TCA.js";import"./OTF6WC55.js";import"./PJRC7SHJ.js";import"./YLRL7Y5N.js";import"./TDSDZEH7.js";import"./SF42TDNB.js";import"./SYQ77RWF.js";import"./DEZPDY4A.js";import"./TWPRIW6W.js";import"./TKYTD63P.js";import"./FO5FDVKS.js";import"./QAFNPAAD.js";import"./ALRXJEMN.js";import{c as d,d as g,g as v}from"./NN3W4IUH.js";import"./43LM47JM.js";import"./24XF7RBG.js";import{b as F}from"./JPNPSA7E.js";import{a as b}from"./3GSLYS7Y.js";import"./PGBTYK6X.js";import"./TXUBQSCF.js";import{b as L}from"./VRHRENNK.js";import{C as u,D as c,E as w,G as x,H as I,h as m,i as l,l as y,o as p,r as _}from"./QDR4D66T.js";import"./C3XGENO2.js";var $=m`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -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.20 */
4
- import b from"./VEILQFP2.js";import{c as p}from"./2R7AUPQI.js";import a from"./A4BQL2K3.js";import{b as d}from"./K5R7D36H.js";import"./SRGIOXPX.js";import"./QTFLAIE5.js";import"./RYLMXGYK.js";import"./SV5GS7VD.js";import"./G577XEWY.js";import"./YLYRRWJW.js";import"./LQHGJORU.js";import"./VRYNGE64.js";import"./EA2CRCAW.js";import"./FDYQ2FKY.js";import"./6TJU76R3.js";import"./XHXMDQDA.js";import"./J27HWMOU.js";import"./EJ6BXACD.js";import"./5BCHBBEG.js";import"./VIKALXXD.js";import"./LEMWW4ED.js";import"./I3PEU4E4.js";import"./S6R6G6MM.js";import"./4H5JZV3N.js";import"./CNQYI77D.js";import{a as h}from"./XX4ZM5IC.js";import"./YESTJISJ.js";import"./SKNE6RLM.js";import{b as l}from"./T6EN2LQT.js";import{C as r,D as n,E as c,I as i,h as o,i as s}from"./DGGOQ3L4.js";import"./N4AIZVPV.js";export default $arcgis.t(([,{c:g}])=>{var u=o`/** @license
3
+ v1.2.0-next.21 */
4
+ import b from"./PGGYBI5J.js";import{c as p}from"./3NBAQVF4.js";import a from"./OUALGQPO.js";import{b as d}from"./IFMVHH6O.js";import"./3LUEIDPJ.js";import"./PWGDJNXG.js";import"./JUHZNCUH.js";import"./WUXNFVJD.js";import"./5CSKRDZM.js";import"./UYB52TDK.js";import"./ANG6KH3Q.js";import"./EFOK377W.js";import"./66KL4C26.js";import"./LPVP3TCA.js";import"./OTF6WC55.js";import"./PJRC7SHJ.js";import"./YLRL7Y5N.js";import"./TDSDZEH7.js";import"./SF42TDNB.js";import"./SYQ77RWF.js";import"./DEZPDY4A.js";import"./TWPRIW6W.js";import"./TKYTD63P.js";import"./FO5FDVKS.js";import"./43LM47JM.js";import{a as h}from"./3GSLYS7Y.js";import"./PGBTYK6X.js";import"./TXUBQSCF.js";import{b as l}from"./VRHRENNK.js";import{C as r,D as n,E as c,I as i,h as o,i as s}from"./QDR4D66T.js";import"./C3XGENO2.js";export default $arcgis.t(([,{c:g}])=>{var u=o`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.20 */
4
- import"./N4AIZVPV.js";var e="Vous ne disposez pas de suffisamment de cr\xE9dits pour effectuer cette op\xE9ration. Contactez votre administrateur syst\xE8me ArcGIS pour obtenir de l\u2019aide.",r="Cet outil a \xE9t\xE9 publi\xE9 \xE0 partir d\u2019un notebook. L\u2019acc\xE8s \xE0 ArcGIS Notebooks est bloqu\xE9 pour votre organisation. Contactez votre administrateur pour lui demander de modifier ce param\xE8tre.",a="${ dataPath } ne doit pas comporter la propri\xE9t\xE9 suivante\xA0: ${ additionalProperty }.",t="${ dataPath } doit correspondre \xE0 l\u2019une des structures suivantes\xA0: ${ schemaOptions }.",s="R\xE9essayez d\u2019enregistrer la carte.",o="\xC9chec de l\u2019estimation des cr\xE9dits. Faites d\xE9filer vers le bas, corrigez les erreurs et relancez l\u2019estimation des cr\xE9dits.",i="Une erreur s\u2019est produite lors de l\u2019ex\xE9cution de l\u2019analyse.",n="${ dataPath } doit correspondre \xE0 l\u2019une des valeurs autoris\xE9es suivantes\xA0: ${ allowedValues }.",c="\xC9chec de l\u2019enregistrement de l\u2019historique d\u2019analyse",l="L\u2019espace de stockage de l\u2019historique est satur\xE9. Supprimez certains \xE9l\xE9ments de l\u2019historique d\u2019analyse et r\xE9essayez d\u2019enregistrer.",d="Le nom du service contient un ou plusieurs caract\xE8res non valides.",u="L\u2019enregistrement de la couche temporaire en tant que couche d\u2019entit\xE9s h\xE9berg\xE9e a \xE9chou\xE9.",m="\xC9chec de l\u2019obtention des propri\xE9t\xE9s cl\xE9s.",p="\xC9chec du chargement de la couche.",h="La couche n\u2019est pas disponible.",v="${ dataPath } ne doit pas comporter plus de ${ limit }\xA0\xE9l\xE9ments.",y="Une erreur est survenue lors de l\u2019enregistrement du mod\xE8le. R\xE9essayez d\u2019enregistrer.",E="${ dataPath } ne doit pas comporter moins de ${ limit }\xA0\xE9l\xE9ments.",f="${ dataPath } ne doit pas comporter moins de ${ limit }\xA0caract\xE8res.",g="\xC9chec du chargement de l\u2019\xE9l\xE9ment de mod\xE8le. Assurez-vous que le mod\xE8le existe et que l\u2019autorisation d\u2019acc\xE8s a \xE9t\xE9 accord\xE9e.",P="\xC9chec du traitement de la requ\xEAte.",b="Vous n\u2019\xEAtes pas autoris\xE9 \xE0 ex\xE9cuter cet outil. <calcite-link target='_blank' href='${ docLink }'>En savoir plus</calcite-link>",S="\xC9chec de la connexion au portail.",L="\xC9chec de la lecture des donn\xE9es en entr\xE9e.",$="${ dataPath } ne comporte pas la propri\xE9t\xE9 suivante\xA0: ${ missingProperty }.",F="Une couche de r\xE9sultat portant ce nom existe d\xE9j\xE0. Les couches de r\xE9sultat doivent porter des noms uniques au sein de l\u2019organisation. Utilisez un autre nom.",k="Le nom en sortie contient un ou plusieurs caract\xE8res non valides. <a href='${docLink}' target='_blank'>En savoir plus.</a>",q="La publication de la couche temporaire en tant que couche h\xE9berg\xE9e a \xE9chou\xE9 car un ou plusieurs champs ne sont pas valides. Relancez l\u2019outil pour cr\xE9er une couche avec des champs valides.",z="\xC9chec de l\u2019envoi de la t\xE2che. Faites d\xE9filer vers le bas, corrigez les erreurs et r\xE9ex\xE9cutez l\u2019analyse.",I="${ dataPath } doit comporter au moins un caract\xE8re autre qu\u2019un espace.",x={InsufficientCreditsError:e,accessBlocked:r,additionalProperty:a,anyOfValues:t,cannotWriteToItemResource:s,creditEstimationError:o,defaultError:i,enumValues:n,failedToSaveHistory:c,fullSessionStorage:l,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:h,maxItems:v,mbFailedToSave:y,minItems:E,minLength:f,modelNotFound:g,networkError:P,noPermissionToAccessTool:b,portalLoadError:S,queryFeaturesError:L,requiredProperty:$,serviceNameExistsError:F,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:q,toolValidationError:z,whiteSpacePattern:I};export{e as InsufficientCreditsError,r as accessBlocked,a as additionalProperty,t as anyOfValues,s as cannotWriteToItemResource,o as creditEstimationError,x as default,i as defaultError,n as enumValues,c as failedToSaveHistory,l as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,v as maxItems,y as mbFailedToSave,E as minItems,f as minLength,g as modelNotFound,P as networkError,b as noPermissionToAccessTool,S as portalLoadError,L as queryFeaturesError,$ as requiredProperty,F as serviceNameExistsError,k as specialCharactersInServiceNameError,q as temporaryLayerFieldsError,z as toolValidationError,I as whiteSpacePattern};
3
+ v1.2.0-next.21 */
4
+ import"./C3XGENO2.js";var e="Vous ne disposez pas de suffisamment de cr\xE9dits pour effectuer cette op\xE9ration. Contactez votre administrateur syst\xE8me ArcGIS pour obtenir de l\u2019aide.",r="Cet outil a \xE9t\xE9 publi\xE9 \xE0 partir d\u2019un notebook. L\u2019acc\xE8s \xE0 ArcGIS Notebooks est bloqu\xE9 pour votre organisation. Contactez votre administrateur pour lui demander de modifier ce param\xE8tre.",a="${ dataPath } ne doit pas comporter la propri\xE9t\xE9 suivante\xA0: ${ additionalProperty }.",t="${ dataPath } doit correspondre \xE0 l\u2019une des structures suivantes\xA0: ${ schemaOptions }.",s="R\xE9essayez d\u2019enregistrer la carte.",o="\xC9chec de l\u2019estimation des cr\xE9dits. Faites d\xE9filer vers le bas, corrigez les erreurs et relancez l\u2019estimation des cr\xE9dits.",i="Une erreur s\u2019est produite lors de l\u2019ex\xE9cution de l\u2019analyse.",n="${ dataPath } doit correspondre \xE0 l\u2019une des valeurs autoris\xE9es suivantes\xA0: ${ allowedValues }.",c="\xC9chec de l\u2019enregistrement de l\u2019historique d\u2019analyse",l="L\u2019espace de stockage de l\u2019historique est satur\xE9. Supprimez certains \xE9l\xE9ments de l\u2019historique d\u2019analyse et r\xE9essayez d\u2019enregistrer.",d="Le nom du service contient un ou plusieurs caract\xE8res non valides.",u="L\u2019enregistrement de la couche temporaire en tant que couche d\u2019entit\xE9s h\xE9berg\xE9e a \xE9chou\xE9.",m="\xC9chec de l\u2019obtention des propri\xE9t\xE9s cl\xE9s.",p="\xC9chec du chargement de la couche.",h="La couche n\u2019est pas disponible.",v="${ dataPath } ne doit pas comporter plus de ${ limit }\xA0\xE9l\xE9ments.",y="Une erreur est survenue lors de l\u2019enregistrement du mod\xE8le. R\xE9essayez d\u2019enregistrer.",E="${ dataPath } ne doit pas comporter moins de ${ limit }\xA0\xE9l\xE9ments.",f="${ dataPath } ne doit pas comporter moins de ${ limit }\xA0caract\xE8res.",g="\xC9chec du chargement de l\u2019\xE9l\xE9ment de mod\xE8le. Assurez-vous que le mod\xE8le existe et que l\u2019autorisation d\u2019acc\xE8s a \xE9t\xE9 accord\xE9e.",P="\xC9chec du traitement de la requ\xEAte.",b="Vous n\u2019\xEAtes pas autoris\xE9 \xE0 ex\xE9cuter cet outil. <calcite-link target='_blank' href='${ docLink }'>En savoir plus</calcite-link>",S="\xC9chec de la connexion au portail.",L="\xC9chec de la lecture des donn\xE9es en entr\xE9e.",$="${ dataPath } ne comporte pas la propri\xE9t\xE9 suivante\xA0: ${ missingProperty }.",F="Une couche de r\xE9sultat portant ce nom existe d\xE9j\xE0. Les couches de r\xE9sultat doivent porter des noms uniques au sein de l\u2019organisation. Utilisez un autre nom.",k="Le nom en sortie contient un ou plusieurs caract\xE8res non valides. <a href='${docLink}' target='_blank'>En savoir plus.</a>",q="La publication de la couche temporaire en tant que couche h\xE9berg\xE9e a \xE9chou\xE9 car un ou plusieurs champs ne sont pas valides. Relancez l\u2019outil pour cr\xE9er une couche avec des champs valides.",z="\xC9chec de l\u2019envoi de la t\xE2che. Faites d\xE9filer vers le bas, corrigez les erreurs et r\xE9ex\xE9cutez l\u2019analyse.",I="${ dataPath } doit comporter au moins un caract\xE8re autre qu\u2019un espace.",x={InsufficientCreditsError:e,accessBlocked:r,additionalProperty:a,anyOfValues:t,cannotWriteToItemResource:s,creditEstimationError:o,defaultError:i,enumValues:n,failedToSaveHistory:c,fullSessionStorage:l,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:h,maxItems:v,mbFailedToSave:y,minItems:E,minLength:f,modelNotFound:g,networkError:P,noPermissionToAccessTool:b,portalLoadError:S,queryFeaturesError:L,requiredProperty:$,serviceNameExistsError:F,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:q,toolValidationError:z,whiteSpacePattern:I};export{e as InsufficientCreditsError,r as accessBlocked,a as additionalProperty,t as anyOfValues,s as cannotWriteToItemResource,o as creditEstimationError,x as default,i as defaultError,n as enumValues,c as failedToSaveHistory,l as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,v as maxItems,y as mbFailedToSave,E as minItems,f as minLength,g as modelNotFound,P as networkError,b as noPermissionToAccessTool,S as portalLoadError,L as queryFeaturesError,$ as requiredProperty,F as serviceNameExistsError,k as specialCharactersInServiceNameError,q as temporaryLayerFieldsError,z as toolValidationError,I as whiteSpacePattern};
@@ -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.20 */
4
- import{a as G}from"./V272SPSH.js";import{b as R}from"./K5R7D36H.js";import{c as b,h as V,i as O}from"./YIXPGCUC.js";import{d as r,e as f,g as C}from"./CNQYI77D.js";import{d as D}from"./2E2FE2UD.js";import{b as $}from"./C3XGN444.js";import{a as x}from"./XX4ZM5IC.js";import"./YESTJISJ.js";import"./SKNE6RLM.js";import{b as E}from"./T6EN2LQT.js";import{C as y,D as m,E as L,G as k,h as I,i as h,o as _,r as v}from"./DGGOQ3L4.js";import"./N4AIZVPV.js";var T=I`@layer{/** @license
3
+ v1.2.0-next.21 */
4
+ import{a as G}from"./MR24E2PT.js";import{b as R}from"./IFMVHH6O.js";import{c as b,h as V,i as O}from"./NN3W4IUH.js";import{d as r,e as f,g as C}from"./43LM47JM.js";import{d as D}from"./24XF7RBG.js";import{b as $}from"./JPNPSA7E.js";import{a as x}from"./3GSLYS7Y.js";import"./PGBTYK6X.js";import"./TXUBQSCF.js";import{b as E}from"./VRHRENNK.js";import{C as y,D as m,E as L,G as k,h as I,i as h,o as _,r as v}from"./QDR4D66T.js";import"./C3XGENO2.js";var T=I`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.20 */
4
- import{i as d,j as i}from"./G577XEWY.js";import{a as c}from"./ZF2XHMQZ.js";import{a as p}from"./6TJU76R3.js";import{a as s}from"./S6R6G6MM.js";function f(r){let e=!1;return r&&(e=!(r.typeKeywords||[]).includes(c)),e}function w(r,e){let o=(r||[]).filter(t=>t!==c);return e||o.push(c),o}var y=class{constructor(e){this.mappings=e}storeToEntity(e,o){let t=S(e,o,this.mappings);if(s(e,"item")){let n=s(e,"item");i("canEdit",["admin","update"].includes(n.itemControl),t),i("canDelete",n.itemControl==="admin",t),i("canRecycle",n.canRecycle||!1,t),i("protected",n.protected,t)}return t}entityToStore(e,o){return C(e,o,this.mappings)}};function C(r,e,o){if(s(e,"item")){let t=s(e,"item");t.typeKeywords&&(t.typeKeywords=s(r,"isDiscussable")?t.typeKeywords.filter(n=>n!==c):[...t.typeKeywords,c],i("item.typeKeywords",t.typeKeywords,e))}return m(r,"entityKey",e,"storeKey",o)}function S(r,e,o){if(s(r,"item")){let t=s(r,"item");i("isDiscussable",f(t),e)}return m(r,"storeKey",e,"entityKey",o)}function m(r,e,o,t,n){let u=p(o);return n.forEach(l=>{let g=s(l,e),A=s(l,t),a=s(r,g);a!=null&&d(u,A,a,!0)}),u}export{f as a,w as b,y as c,C as d,S as e};
3
+ v1.2.0-next.21 */
4
+ import{i as d,j as i}from"./5CSKRDZM.js";import{a as c}from"./S3TADIJ6.js";import{a as p}from"./OTF6WC55.js";import{a as s}from"./TKYTD63P.js";function f(r){let e=!1;return r&&(e=!(r.typeKeywords||[]).includes(c)),e}function w(r,e){let o=(r||[]).filter(t=>t!==c);return e||o.push(c),o}var y=class{constructor(e){this.mappings=e}storeToEntity(e,o){let t=S(e,o,this.mappings);if(s(e,"item")){let n=s(e,"item");i("canEdit",["admin","update"].includes(n.itemControl),t),i("canDelete",n.itemControl==="admin",t),i("canRecycle",n.canRecycle||!1,t),i("protected",n.protected,t)}return t}entityToStore(e,o){return C(e,o,this.mappings)}};function C(r,e,o){if(s(e,"item")){let t=s(e,"item");t.typeKeywords&&(t.typeKeywords=s(r,"isDiscussable")?t.typeKeywords.filter(n=>n!==c):[...t.typeKeywords,c],i("item.typeKeywords",t.typeKeywords,e))}return m(r,"entityKey",e,"storeKey",o)}function S(r,e,o){if(s(r,"item")){let t=s(r,"item");i("isDiscussable",f(t),e)}return m(r,"storeKey",e,"entityKey",o)}function m(r,e,o,t,n){let u=p(o);return n.forEach(l=>{let g=s(l,e),A=s(l,t),a=s(r,g);a!=null&&d(u,A,a,!0)}),u}export{f as a,w as b,y as c,C as d,S as e};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.20 */
4
- import{a as r}from"./GKZFHOW2.js";import{g as n}from"./SRGIOXPX.js";import"./QTFLAIE5.js";import"./RYLMXGYK.js";import"./SV5GS7VD.js";import"./G577XEWY.js";import"./YLYRRWJW.js";import"./LQHGJORU.js";import"./VRYNGE64.js";import"./EA2CRCAW.js";import"./FDYQ2FKY.js";import"./6TJU76R3.js";import"./XHXMDQDA.js";import"./J27HWMOU.js";import"./EJ6BXACD.js";import"./5BCHBBEG.js";import"./VIKALXXD.js";import"./LEMWW4ED.js";import"./I3PEU4E4.js";import"./S6R6G6MM.js";import"./4H5JZV3N.js";import{b as i}from"./CNQYI77D.js";import{a as b}from"./XX4ZM5IC.js";import"./YESTJISJ.js";import"./SKNE6RLM.js";import{b as _}from"./T6EN2LQT.js";import{E as u,G as p,H as m,h,i as a,l as o}from"./DGGOQ3L4.js";import"./N4AIZVPV.js";var f=h`/** @license
3
+ v1.2.0-next.21 */
4
+ import{a as r}from"./NPL77HLA.js";import{g as n}from"./3LUEIDPJ.js";import"./PWGDJNXG.js";import"./JUHZNCUH.js";import"./WUXNFVJD.js";import"./5CSKRDZM.js";import"./UYB52TDK.js";import"./ANG6KH3Q.js";import"./EFOK377W.js";import"./66KL4C26.js";import"./LPVP3TCA.js";import"./OTF6WC55.js";import"./PJRC7SHJ.js";import"./YLRL7Y5N.js";import"./TDSDZEH7.js";import"./SF42TDNB.js";import"./SYQ77RWF.js";import"./DEZPDY4A.js";import"./TWPRIW6W.js";import"./TKYTD63P.js";import"./FO5FDVKS.js";import{b as i}from"./43LM47JM.js";import{a as b}from"./3GSLYS7Y.js";import"./PGBTYK6X.js";import"./TXUBQSCF.js";import{b as _}from"./VRHRENNK.js";import{E as u,G as p,H as m,h,i as a,l as o}from"./QDR4D66T.js";import"./C3XGENO2.js";var f=h`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -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.20 */
4
- import{b as C}from"./N4AIZVPV.js";var T=C(N=>{"use strict";var R=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Ne=R+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",L="["+R+"]["+Ne+"]*",be=new RegExp("^"+L+"$"),Ae=function(e,t){let s=[],n=t.exec(e);for(;n;){let i=[];i.startIndex=t.lastIndex-n[0].length;let r=n.length;for(let u=0;u<r;u++)i.push(n[u]);s.push(i),n=t.exec(e)}return s},Ce=function(e){let t=be.exec(e);return!(t===null||typeof t>"u")};N.isExist=function(e){return typeof e<"u"};N.isEmptyObject=function(e){return Object.keys(e).length===0};N.merge=function(e,t,s){if(t){let n=Object.keys(t),i=n.length;for(let r=0;r<i;r++)s==="strict"?e[n[r]]=[t[n[r]]]:e[n[r]]=t[n[r]]}};N.getValue=function(e){return N.isExist(e)?e:""};N.buildOptions=function(e,t,s){let n={};if(!e)return t;for(let i=0;i<s.length;i++)e[s[i]]!==void 0?n[s[i]]=e[s[i]]:n[s[i]]=t[s[i]];return n};N.isTagNameInArrayMode=function(e,t,s){return t===!1?!1:t instanceof RegExp?t.test(e):typeof t=="function"?!!t(e,s):t==="strict"};N.isName=Ce;N.getAllMatches=Ae;N.nameRegexp=L});var $=C(Z=>{"use strict";var v=T(),q=function(e,t,s){let n={};if(!t.alwaysCreateTextNode&&(!e.child||v.isEmptyObject(e.child))&&(!e.attrsMap||v.isEmptyObject(e.attrsMap)))return v.isExist(e.val)?e.val:"";if(v.isExist(e.val)&&!(typeof e.val=="string"&&(e.val===""||e.val===t.cdataPositionChar))){let r=v.isTagNameInArrayMode(e.tagname,t.arrayMode,s);n[t.textNodeName]=r?[e.val]:e.val}v.merge(n,e.attrsMap,t.arrayMode);let i=Object.keys(e.child);for(let r=0;r<i.length;r++){let u=i[r];if(e.child[u]&&e.child[u].length>1){n[u]=[];for(let a in e.child[u])e.child[u].hasOwnProperty(a)&&n[u].push(q(e.child[u][a],t,u))}else{let a=q(e.child[u][0],t,u),o=t.arrayMode===!0&&typeof a=="object"||v.isTagNameInArrayMode(u,t.arrayMode,s);n[u]=o?[a]:a}}return n};Z.convertToJson=q});var Q=C((ct,X)=>{"use strict";X.exports=function(e,t,s){this.tagname=e,this.parent=t,this.child={},this.attrsMap={},this.val=s,this.addChild=function(n){Array.isArray(this.child[n.tagname])?this.child[n.tagname].push(n):this.child[n.tagname]=[n]}}});var z=C((ft,Y)=>{var Te=/^[-+]?0x[a-fA-F0-9]+$/,ye=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,ve={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function Pe(e,t={}){if(t=Object.assign({},ve,t),!e||typeof e!="string")return e;let s=e.trim();if(t.skipLike!==void 0&&t.skipLike.test(s))return e;if(e==="0")return 0;if(t.hex&&Te.test(s))return Ee(s,16);if(s.search(/[eE]/)!==-1){let n=s.match(/^([-\+])?(0*)([0-9]*(\.[0-9]*)?[eE][-\+]?[0-9]+)$/);if(n){if(t.leadingZeros)s=(n[1]||"")+n[3];else if(!(n[2]==="0"&&n[3][0]==="."))return e;return t.eNotation?Number(s):e}else return e}else{let n=ye.exec(s);if(n){let i=n[1],r=n[2],u=me(n[3]);if(!t.leadingZeros&&r.length>0&&i&&s[2]!==".")return e;if(!t.leadingZeros&&r.length>0&&!i&&s[1]!==".")return e;if(t.leadingZeros&&r===e)return 0;{let a=Number(s),o=""+a;return o.search(/[eE]/)!==-1?t.eNotation?a:e:s.indexOf(".")!==-1?o==="0"&&u===""||o===u||i&&o==="-"+u?a:e:r?u===o||i+u===o?a:e:s===o||s===i+o?a:e}}else return e}}function me(e){return e&&e.indexOf(".")!==-1&&(e=e.replace(/0+$/,""),e==="."?e="0":e[0]==="."?e="0"+e:e[e.length-1]==="."&&(e=e.substr(0,e.length-1))),e}function Ee(e,t){if(parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}Y.exports=Pe});var E=C(V=>{"use strict";var P=T(),Ie=T().buildOptions,w=Q(),we=z(),dt="<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,P.nameRegexp);!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt);!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);var U={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,ignoreNameSpace:!1,allowBooleanAttributes:!1,parseNodeValue:!0,parseAttributeValue:!1,arrayMode:!1,trimValues:!0,cdataTagName:!1,cdataPositionChar:"\\c",numParseOptions:{hex:!0,leadingZeros:!0},tagValueProcessor:function(e,t){return e},attrValueProcessor:function(e,t){return e},stopNodes:[],alwaysCreateTextNode:!1};V.defaultOptions=U;var W=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","ignoreNameSpace","allowBooleanAttributes","parseNodeValue","parseAttributeValue","arrayMode","trimValues","cdataTagName","cdataPositionChar","tagValueProcessor","attrValueProcessor","parseTrueNumberOnly","numParseOptions","stopNodes","alwaysCreateTextNode"];V.props=W;function O(e,t,s){return t&&(s.trimValues&&(t=t.trim()),t=s.tagValueProcessor(t,e),t=_(t,s.parseNodeValue,s.numParseOptions)),t}function Oe(e,t){if(t.ignoreNameSpace){let s=e.split(":"),n=e.charAt(0)==="/"?"/":"";if(s[0]==="xmlns")return"";s.length===2&&(e=n+s[1])}return e}function _(e,t,s){if(t&&typeof e=="string"){let n=e.trim();return n==="true"?!0:n==="false"?!1:we(e,s)}else return P.isExist(e)?e:""}var Ve=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])(.*?)\\3)?`,"g");function K(e,t){if(!t.ignoreAttributes&&typeof e=="string"){e=e.replace(/\r?\n/g," ");let s=P.getAllMatches(e,Ve),n=s.length,i={};for(let r=0;r<n;r++){let u=Oe(s[r][1],t);u.length&&(s[r][4]!==void 0?(t.trimValues&&(s[r][4]=s[r][4].trim()),s[r][4]=t.attrValueProcessor(s[r][4],u),i[t.attributeNamePrefix+u]=_(s[r][4],t.parseAttributeValue,t.numParseOptions)):t.allowBooleanAttributes&&(i[t.attributeNamePrefix+u]=!0))}if(!Object.keys(i).length)return;if(t.attrNodeName){let r={};return r[t.attrNodeName]=i,r}return i}}var Fe=function(e,t){e=e.replace(/\r\n?/g,`
3
+ v1.2.0-next.21 */
4
+ import{b as C}from"./C3XGENO2.js";var T=C(N=>{"use strict";var R=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Ne=R+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",L="["+R+"]["+Ne+"]*",be=new RegExp("^"+L+"$"),Ae=function(e,t){let s=[],n=t.exec(e);for(;n;){let i=[];i.startIndex=t.lastIndex-n[0].length;let r=n.length;for(let u=0;u<r;u++)i.push(n[u]);s.push(i),n=t.exec(e)}return s},Ce=function(e){let t=be.exec(e);return!(t===null||typeof t>"u")};N.isExist=function(e){return typeof e<"u"};N.isEmptyObject=function(e){return Object.keys(e).length===0};N.merge=function(e,t,s){if(t){let n=Object.keys(t),i=n.length;for(let r=0;r<i;r++)s==="strict"?e[n[r]]=[t[n[r]]]:e[n[r]]=t[n[r]]}};N.getValue=function(e){return N.isExist(e)?e:""};N.buildOptions=function(e,t,s){let n={};if(!e)return t;for(let i=0;i<s.length;i++)e[s[i]]!==void 0?n[s[i]]=e[s[i]]:n[s[i]]=t[s[i]];return n};N.isTagNameInArrayMode=function(e,t,s){return t===!1?!1:t instanceof RegExp?t.test(e):typeof t=="function"?!!t(e,s):t==="strict"};N.isName=Ce;N.getAllMatches=Ae;N.nameRegexp=L});var $=C(Z=>{"use strict";var v=T(),q=function(e,t,s){let n={};if(!t.alwaysCreateTextNode&&(!e.child||v.isEmptyObject(e.child))&&(!e.attrsMap||v.isEmptyObject(e.attrsMap)))return v.isExist(e.val)?e.val:"";if(v.isExist(e.val)&&!(typeof e.val=="string"&&(e.val===""||e.val===t.cdataPositionChar))){let r=v.isTagNameInArrayMode(e.tagname,t.arrayMode,s);n[t.textNodeName]=r?[e.val]:e.val}v.merge(n,e.attrsMap,t.arrayMode);let i=Object.keys(e.child);for(let r=0;r<i.length;r++){let u=i[r];if(e.child[u]&&e.child[u].length>1){n[u]=[];for(let a in e.child[u])e.child[u].hasOwnProperty(a)&&n[u].push(q(e.child[u][a],t,u))}else{let a=q(e.child[u][0],t,u),o=t.arrayMode===!0&&typeof a=="object"||v.isTagNameInArrayMode(u,t.arrayMode,s);n[u]=o?[a]:a}}return n};Z.convertToJson=q});var Q=C((ct,X)=>{"use strict";X.exports=function(e,t,s){this.tagname=e,this.parent=t,this.child={},this.attrsMap={},this.val=s,this.addChild=function(n){Array.isArray(this.child[n.tagname])?this.child[n.tagname].push(n):this.child[n.tagname]=[n]}}});var z=C((ft,Y)=>{var Te=/^[-+]?0x[a-fA-F0-9]+$/,ye=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,ve={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function Pe(e,t={}){if(t=Object.assign({},ve,t),!e||typeof e!="string")return e;let s=e.trim();if(t.skipLike!==void 0&&t.skipLike.test(s))return e;if(e==="0")return 0;if(t.hex&&Te.test(s))return Ee(s,16);if(s.search(/[eE]/)!==-1){let n=s.match(/^([-\+])?(0*)([0-9]*(\.[0-9]*)?[eE][-\+]?[0-9]+)$/);if(n){if(t.leadingZeros)s=(n[1]||"")+n[3];else if(!(n[2]==="0"&&n[3][0]==="."))return e;return t.eNotation?Number(s):e}else return e}else{let n=ye.exec(s);if(n){let i=n[1],r=n[2],u=me(n[3]);if(!t.leadingZeros&&r.length>0&&i&&s[2]!==".")return e;if(!t.leadingZeros&&r.length>0&&!i&&s[1]!==".")return e;if(t.leadingZeros&&r===e)return 0;{let a=Number(s),o=""+a;return o.search(/[eE]/)!==-1?t.eNotation?a:e:s.indexOf(".")!==-1?o==="0"&&u===""||o===u||i&&o==="-"+u?a:e:r?u===o||i+u===o?a:e:s===o||s===i+o?a:e}}else return e}}function me(e){return e&&e.indexOf(".")!==-1&&(e=e.replace(/0+$/,""),e==="."?e="0":e[0]==="."?e="0"+e:e[e.length-1]==="."&&(e=e.substr(0,e.length-1))),e}function Ee(e,t){if(parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}Y.exports=Pe});var E=C(V=>{"use strict";var P=T(),Ie=T().buildOptions,w=Q(),we=z(),dt="<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,P.nameRegexp);!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt);!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);var U={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,ignoreNameSpace:!1,allowBooleanAttributes:!1,parseNodeValue:!0,parseAttributeValue:!1,arrayMode:!1,trimValues:!0,cdataTagName:!1,cdataPositionChar:"\\c",numParseOptions:{hex:!0,leadingZeros:!0},tagValueProcessor:function(e,t){return e},attrValueProcessor:function(e,t){return e},stopNodes:[],alwaysCreateTextNode:!1};V.defaultOptions=U;var W=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","ignoreNameSpace","allowBooleanAttributes","parseNodeValue","parseAttributeValue","arrayMode","trimValues","cdataTagName","cdataPositionChar","tagValueProcessor","attrValueProcessor","parseTrueNumberOnly","numParseOptions","stopNodes","alwaysCreateTextNode"];V.props=W;function O(e,t,s){return t&&(s.trimValues&&(t=t.trim()),t=s.tagValueProcessor(t,e),t=_(t,s.parseNodeValue,s.numParseOptions)),t}function Oe(e,t){if(t.ignoreNameSpace){let s=e.split(":"),n=e.charAt(0)==="/"?"/":"";if(s[0]==="xmlns")return"";s.length===2&&(e=n+s[1])}return e}function _(e,t,s){if(t&&typeof e=="string"){let n=e.trim();return n==="true"?!0:n==="false"?!1:we(e,s)}else return P.isExist(e)?e:""}var Ve=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])(.*?)\\3)?`,"g");function K(e,t){if(!t.ignoreAttributes&&typeof e=="string"){e=e.replace(/\r?\n/g," ");let s=P.getAllMatches(e,Ve),n=s.length,i={};for(let r=0;r<n;r++){let u=Oe(s[r][1],t);u.length&&(s[r][4]!==void 0?(t.trimValues&&(s[r][4]=s[r][4].trim()),s[r][4]=t.attrValueProcessor(s[r][4],u),i[t.attributeNamePrefix+u]=_(s[r][4],t.parseAttributeValue,t.numParseOptions)):t.allowBooleanAttributes&&(i[t.attributeNamePrefix+u]=!0))}if(!Object.keys(i).length)return;if(t.attrNodeName){let r={};return r[t.attrNodeName]=i,r}return i}}var Fe=function(e,t){e=e.replace(/\r\n?/g,`
5
5
  `),t=Ie(t,U,W);let s=new w("!xml"),n=s,i="";for(let r=0;r<e.length;r++)if(e[r]==="<")if(e[r+1]==="/"){let a=m(e,">",r,"Closing Tag is not closed."),o=e.substring(r+2,a).trim();if(t.ignoreNameSpace){let h=o.indexOf(":");h!==-1&&(o=o.substr(h+1))}n&&(n.val?n.val=P.getValue(n.val)+""+O(o,i,t):n.val=O(o,i,t)),t.stopNodes.length&&t.stopNodes.includes(n.tagname)&&(n.child=[],n.attrsMap==null&&(n.attrsMap={}),n.val=e.substr(n.startIndex+1,r-n.startIndex-1)),n=n.parent,i="",r=a}else if(e[r+1]==="?")r=m(e,"?>",r,"Pi Tag is not closed.");else if(e.substr(r+1,3)==="!--")r=m(e,"-->",r,"Comment is not closed.");else if(e.substr(r+1,2)==="!D"){let a=m(e,">",r,"DOCTYPE is not closed.");e.substring(r,a).indexOf("[")>=0?r=e.indexOf("]>",r)+1:r=a}else if(e.substr(r+1,2)==="!["){let a=m(e,"]]>",r,"CDATA is not closed.")-2,o=e.substring(r+9,a);if(i&&(n.val=P.getValue(n.val)+""+O(n.tagname,i,t),i=""),t.cdataTagName){let h=new w(t.cdataTagName,n,o);n.addChild(h),n.val=P.getValue(n.val)+t.cdataPositionChar,o&&(h.val=o)}else n.val=(n.val||"")+(o||"");r=a+2}else{let a=Me(e,r+1),o=a.data,h=a.index,d=o.indexOf(" "),l=o,A=!0;if(d!==-1&&(l=o.substr(0,d).replace(/\s\s*$/,""),o=o.substr(d+1)),t.ignoreNameSpace){let p=l.indexOf(":");p!==-1&&(l=l.substr(p+1),A=l!==a.data.substr(p+1))}if(n&&i&&n.tagname!=="!xml"&&(n.val=P.getValue(n.val)+""+O(n.tagname,i,t)),o.length>0&&o.lastIndexOf("/")===o.length-1){l[l.length-1]==="/"?(l=l.substr(0,l.length-1),o=l):o=o.substr(0,o.length-1);let p=new w(l,n,"");l!==o&&(p.attrsMap=K(o,t)),n.addChild(p)}else{let p=new w(l,n);t.stopNodes.length&&t.stopNodes.includes(p.tagname)&&(p.startIndex=h),l!==o&&A&&(p.attrsMap=K(o,t)),n.addChild(p),n=p}i="",r=h}else i+=e[r];return s};function Me(e,t){let s,n="";for(let i=t;i<e.length;i++){let r=e[i];if(s)r===s&&(s="");else if(r==='"'||r==="'")s=r;else{if(r===">")return{data:n,index:i};r===" "&&(r=" ")}n+=r}}function m(e,t,s,n){let i=e.indexOf(t,s);if(i===-1)throw new Error(n);return i+t.length-1}V.getTraversalObj=Fe});var ee=C(D=>{"use strict";var M=T(),ke={allowBooleanAttributes:!1},qe=["allowBooleanAttributes"];D.validate=function(e,t){t=M.buildOptions(t,ke,qe);let s=[],n=!1,i=!1;e[0]==="\uFEFF"&&(e=e.substr(1));for(let r=0;r<e.length;r++)if(e[r]==="<"&&e[r+1]==="?"){if(r+=2,r=G(e,r),r.err)return r}else if(e[r]==="<"){let u=r;if(r++,e[r]==="!"){r=H(e,r);continue}else{let a=!1;e[r]==="/"&&(a=!0,r++);let o="";for(;r<e.length&&e[r]!==">"&&e[r]!==" "&&e[r]!==" "&&e[r]!==`
6
6
  `&&e[r]!=="\r";r++)o+=e[r];if(o=o.trim(),o[o.length-1]==="/"&&(o=o.substring(0,o.length-1),r--),!$e(o)){let l;return o.trim().length===0?l="Invalid space after '<'.":l="Tag '"+o+"' is an invalid name.",f("InvalidTag",l,g(e,r))}let h=xe(e,r);if(h===!1)return f("InvalidAttr","Attributes for '"+o+"' have open quote.",g(e,r));let d=h.value;if(r=h.index,d[d.length-1]==="/"){let l=r-d.length;d=d.substring(0,d.length-1);let A=j(d,t);if(A===!0)n=!0;else return f(A.err.code,A.err.msg,g(e,l+A.err.line))}else if(a)if(h.tagClosed){if(d.trim().length>0)return f("InvalidTag","Closing tag '"+o+"' can't have attributes or invalid starting.",g(e,u));{let l=s.pop();if(o!==l.tagName){let A=g(e,l.tagStartPos);return f("InvalidTag","Expected closing tag '"+l.tagName+"' (opened in line "+A.line+", col "+A.col+") instead of closing tag '"+o+"'.",g(e,u))}s.length==0&&(i=!0)}}else return f("InvalidTag","Closing tag '"+o+"' doesn't have proper closing.",g(e,r));else{let l=j(d,t);if(l!==!0)return f(l.err.code,l.err.msg,g(e,r-d.length+l.err.line));if(i===!0)return f("InvalidXml","Multiple possible root nodes found.",g(e,r));s.push({tagName:o,tagStartPos:u}),n=!0}for(r++;r<e.length;r++)if(e[r]==="<")if(e[r+1]==="!"){r++,r=H(e,r);continue}else if(e[r+1]==="?"){if(r=G(e,++r),r.err)return r}else break;else if(e[r]==="&"){let l=Le(e,r);if(l==-1)return f("InvalidChar","char '&' is not expected.",g(e,r));r=l}e[r]==="<"&&r--}}else{if(e[r]===" "||e[r]===" "||e[r]===`
7
7
  `||e[r]==="\r")continue;return f("InvalidChar","char '"+e[r]+"' is not expected.",g(e,r))}if(n){if(s.length==1)return f("InvalidTag","Unclosed tag '"+s[0].tagName+"'.",g(e,s[0].tagStartPos));if(s.length>0)return f("InvalidXml","Invalid '"+JSON.stringify(s.map(r=>r.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return f("InvalidXml","Start tag expected.",1);return!0};function G(e,t){let s=t;for(;t<e.length;t++)if(e[t]=="?"||e[t]==" "){let n=e.substr(s,t-s);if(t>5&&n==="xml")return f("InvalidXml","XML declaration allowed only at the start of the document.",g(e,t));if(e[t]=="?"&&e[t+1]==">"){t++;break}else continue}return t}function H(e,t){if(e.length>t+5&&e[t+1]==="-"&&e[t+2]==="-"){for(t+=3;t<e.length;t++)if(e[t]==="-"&&e[t+1]==="-"&&e[t+2]===">"){t+=2;break}}else if(e.length>t+8&&e[t+1]==="D"&&e[t+2]==="O"&&e[t+3]==="C"&&e[t+4]==="T"&&e[t+5]==="Y"&&e[t+6]==="P"&&e[t+7]==="E"){let s=1;for(t+=8;t<e.length;t++)if(e[t]==="<")s++;else if(e[t]===">"&&(s--,s===0))break}else if(e.length>t+9&&e[t+1]==="["&&e[t+2]==="C"&&e[t+3]==="D"&&e[t+4]==="A"&&e[t+5]==="T"&&e[t+6]==="A"&&e[t+7]==="["){for(t+=8;t<e.length;t++)if(e[t]==="]"&&e[t+1]==="]"&&e[t+2]===">"){t+=2;break}}return t}var Be='"',Se="'";function xe(e,t){let s="",n="",i=!1;for(;t<e.length;t++){if(e[t]===Be||e[t]===Se)n===""?n=e[t]:n!==e[t]||(n="");else if(e[t]===">"&&n===""){i=!0;break}s+=e[t]}return n!==""?!1:{value:s,index:t,tagClosed:i}}var Je=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function j(e,t){let s=M.getAllMatches(e,Je),n={};for(let i=0;i<s.length;i++){if(s[i][1].length===0)return f("InvalidAttr","Attribute '"+s[i][2]+"' has no space in starting.",F(s[i]));if(s[i][3]===void 0&&!t.allowBooleanAttributes)return f("InvalidAttr","boolean attribute '"+s[i][2]+"' is not allowed.",F(s[i]));let r=s[i][2];if(!Ze(r))return f("InvalidAttr","Attribute '"+r+"' is an invalid name.",F(s[i]));if(!n.hasOwnProperty(r))n[r]=1;else return f("InvalidAttr","Attribute '"+r+"' is repeated.",F(s[i]))}return!0}function Re(e,t){let s=/\d/;for(e[t]==="x"&&(t++,s=/[\da-fA-F]/);t<e.length;t++){if(e[t]===";")return t;if(!e[t].match(s))break}return-1}function Le(e,t){if(t++,e[t]===";")return-1;if(e[t]==="#")return t++,Re(e,t);let s=0;for(;t<e.length;t++,s++)if(!(e[t].match(/\w/)&&s<20)){if(e[t]===";")break;return-1}return t}function f(e,t,s){return{err:{code:e,msg:t,line:s.line||s,col:s.col}}}function Ze(e){return M.isName(e)}function $e(e){return M.isName(e)}function g(e,t){let s=e.substring(0,t).split(/\r?\n/);return{line:s.length,col:s[s.length-1].length+1}}function F(e){return e.startIndex+e[1].length}});var se=C(ne=>{"use strict";var y=function(e){return String.fromCharCode(e)},c={nilChar:y(176),missingChar:y(201),nilPremitive:y(175),missingPremitive:y(200),emptyChar:y(178),emptyValue:y(177),boundryChar:y(179),objStart:y(198),arrStart:y(204),arrayEnd:y(185)},Xe=[c.nilChar,c.nilPremitive,c.missingChar,c.missingPremitive,c.boundryChar,c.emptyChar,c.emptyValue,c.arrayEnd,c.objStart,c.arrStart],I=function(e,t,s){if(typeof t=="string")return e&&e[0]&&e[0].val!==void 0?B(e[0].val,t):B(e,t);{let n=Qe(e);if(n===!0){let i="";if(Array.isArray(t)){i+=c.arrStart;let r=t[0],u=e.length;if(typeof r=="string")for(let a=0;a<u;a++){let o=B(e[a].val,r);i=S(i,o)}else for(let a=0;a<u;a++){let o=I(e[a],r,s);i=S(i,o)}i+=c.arrayEnd}else{i+=c.objStart;let r=Object.keys(t);Array.isArray(e)&&(e=e[0]);for(let u in r){let a=r[u],o;!s.ignoreAttributes&&e.attrsMap&&e.attrsMap[a]?o=I(e.attrsMap[a],t[a],s):a===s.textNodeName?o=I(e.val,t[a],s):o=I(e.child[a],t[a],s),i=S(i,o)}}return i}else return n}},B=function(e){switch(e){case void 0:return c.missingPremitive;case null:return c.nilPremitive;case"":return c.emptyValue;default:return e}},S=function(e,t){return!te(t[0])&&!te(e[e.length-1])&&(e+=c.boundryChar),e+t},te=function(e){return Xe.indexOf(e)!==-1};function Qe(e){return e===void 0?c.missingChar:e===null?c.nilChar:e.child&&Object.keys(e.child).length===0&&(!e.attrsMap||Object.keys(e.attrsMap).length===0)?c.emptyChar:!0}var re=E(),Ye=T().buildOptions,ze=function(e,t,s){return s=Ye(s,re.defaultOptions,re.props),I(e,t,s)};ne.convert2nimn=ze});var ae=C(oe=>{"use strict";var k=T(),Ke=T().buildOptions,ie=E(),Ue=function(e,t){return t=Ke(t,ie.defaultOptions,ie.props),t.indentBy=t.indentBy||"",x(e,t,0)},x=function(e,t,s){let n="{",i=Object.keys(e.child);for(let r=0;r<i.length;r++){let u=i[r];if(e.child[u]&&e.child[u].length>1){n+='"'+u+'" : [ ';for(let a in e.child[u])n+=x(e.child[u][a],t)+" , ";n=n.substr(0,n.length-1)+" ] "}else n+='"'+u+'" : '+x(e.child[u][0],t)+" ,"}return k.merge(n,e.attrsMap),k.isEmptyObject(n)?k.isExist(e.val)?e.val:"":(k.isExist(e.val)&&(typeof e.val=="string"&&(e.val===""||e.val===t.cdataPositionChar)||(n+='"'+t.textNodeName+'" : '+We(e.val))),n[n.length-1]===","&&(n=n.substr(0,n.length-2)),n+"}")};function We(e){return e===!0||e===!1||!isNaN(e)?e:'"'+e+'"'}oe.convertToJsonString=Ue});var fe=C((bt,ce)=>{"use strict";var _e=T().buildOptions,Ge={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataTagName:!1,cdataPositionChar:"\\c",format:!1,indentBy:" ",supressEmptyNode:!1,tagValueProcessor:function(e){return e},attrValueProcessor:function(e){return e}},He=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","cdataTagName","cdataPositionChar","format","indentBy","supressEmptyNode","tagValueProcessor","attrValueProcessor","rootNodeName"];function J(e){this.options=_e(e,Ge,He),this.options.ignoreAttributes||this.options.attrNodeName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=st),this.options.cdataTagName?this.isCDATA=it:this.isCDATA=function(){return!1},this.replaceCDATAstr=De,this.replaceCDATAarr=et,this.processTextOrObjNode=je,this.options.format?(this.indentate=nt,this.tagEndChar=`>
@@ -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.20 */
4
- import{a as m}from"./PKJNXMVR.js";import{a as f}from"./EA2CRCAW.js";var i=class extends Error{constructor(t,e,s){super(t),this.status=s,this.url=e}};var c=class extends i{constructor(t,e,s,n){super(t,e,s),this.error=n}};function u(r){let{token:t,authentication:e}=r,s=()=>Promise.resolve(t);return e&&(s=e.getToken.bind(e,e.portal)),s()}function h(r,t,e,s){var n;let p=r,o=new Headers(t.headers);o.append("Content-Type","application/json"),s&&o.append("Authorization",`Bearer ${s}`);let d={headers:o,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},x=f({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${e}`});if(t.data)if(t.httpMethod==="GET"){let a=new URLSearchParams(t.data).toString();p+=`?${a}`}else d.body=JSON.stringify(t.data);let g=["/posts","/posts/search"].includes(r)&&(((n=t.data)===null||n===void 0?void 0:n.f)===m.CSV||o.get("Accept")==="text/csv"),l=[x.replace(/\/$/,""),p.replace(/^\//,"")].join("/");return fetch(l,d).then(a=>{if(a.ok)return g?a.text():a.json();{let{statusText:b,status:q}=a;return a.json().then(y=>{throw new c(b,l,q,JSON.stringify(y.message))})}})}function w(r,t){return u(t).then(e=>h(r,t,"v1",e))}function P(r,t){return u(t).then(e=>h(r,t,"v2",e))}export{w as a,P as b};
3
+ v1.2.0-next.21 */
4
+ import{a as m}from"./KCSAC7EU.js";import{a as f}from"./66KL4C26.js";var i=class extends Error{constructor(t,e,s){super(t),this.status=s,this.url=e}};var c=class extends i{constructor(t,e,s,n){super(t,e,s),this.error=n}};function u(r){let{token:t,authentication:e}=r,s=()=>Promise.resolve(t);return e&&(s=e.getToken.bind(e,e.portal)),s()}function h(r,t,e,s){var n;let p=r,o=new Headers(t.headers);o.append("Content-Type","application/json"),s&&o.append("Authorization",`Bearer ${s}`);let d={headers:o,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},x=f({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${e}`});if(t.data)if(t.httpMethod==="GET"){let a=new URLSearchParams(t.data).toString();p+=`?${a}`}else d.body=JSON.stringify(t.data);let g=["/posts","/posts/search"].includes(r)&&(((n=t.data)===null||n===void 0?void 0:n.f)===m.CSV||o.get("Accept")==="text/csv"),l=[x.replace(/\/$/,""),p.replace(/^\//,"")].join("/");return fetch(l,d).then(a=>{if(a.ok)return g?a.text():a.json();{let{statusText:b,status:q}=a;return a.json().then(y=>{throw new c(b,l,q,JSON.stringify(y.message))})}})}function w(r,t){return u(t).then(e=>h(r,t,"v1",e))}function P(r,t){return u(t).then(e=>h(r,t,"v2",e))}export{w as a,P as b};
@@ -1,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.20 */
3
+ v1.2.0-next.21 */
4
4
  var e=["hub:channel","hub:channel:create","hub:channel:delete","hub:channel:edit","hub:channel:view","hub:channel:owner","hub:channel:manage","hub:channel:read","hub:channel:write","hub:channel:readWrite","hub:channel:moderate"],n="hub:channel:none",h={channelRoot:"hub:channel",channelCreate:"hub:channel:create",channelDelete:"hub:channel:delete",channelEdit:"hub:channel:edit",channelView:"hub:channel:view",channelOwner:"hub:channel:owner",channelManage:"hub:channel:manage",channelRead:"hub:channel:read",channelWrite:"hub:channel:write",channelReadWrite:"hub:channel:readWrite",channelModerate:"hub:channel:moderate"};export{e as a,n as b,h as c};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.20 */
4
- import"./N4AIZVPV.js";var a="No teniu cr\xE8dits suficients per dur a terme aquesta operaci\xF3. Poseu-vos en contacte amb el vostre administrador de sistemes de l'ArcGIS per obtenir ajuda.",e="Aquesta eina s'ha publicat des d'un notebook. L'acc\xE9s a l'ArcGIS Notebooks est\xE0 bloquejat per a la vostra organitzaci\xF3. Poseu-vos en contacte amb l'administrador per ajustar la configuraci\xF3.",r="${ dataPath } no pot tenir ${ additionalProperty }.",s="${ dataPath } ha de coincidir amb l'esquema d'un d'aquests: ${ schemaOptions }.",o="Proveu de tornar a desar el mapa.",t="No s'han pogut estimar els cr\xE8dits. Desplaceu-vos cap avall, corregiu els errors i torneu a estimar els cr\xE8dits.",i="S'ha produ\xEFt un error en executar l'an\xE0lisi.",l="${ dataPath } ha de ser igual a un d'aquests valors permesos: ${ allowedValues }.",n="No s'ha pogut desar l'historial d'an\xE0lisi",d="L'emmagatzematge d'historial s'ha exhaurit. Elimineu alguns elements de l'historial d'an\xE0lisi i proveu de tornar-lo a desar.",c="El nom del servei cont\xE9 un o diversos car\xE0cters no v\xE0lids.",u="No s'ha pogut completar l'acci\xF3 de desar la capa temporal com a capa d'entitats allotjada.",m="No s'han pogut obtenir les propietats clau.",p="No s'ha pogut carregar la capa.",h="La capa no est\xE0 disponible.",v="${ dataPath } no pot tenir m\xE9s de ${ limit } elements.",g="S'ha produ\xEFt un error en desar el model. Torneu a provar de desar-lo.",E="${ dataPath } no pot tenir menys de ${ limit } elements.",y="${ dataPath } no pot tenir menys de ${ limit } car\xE0cters.",P="No s'ha pogut carregar l'element del model. Assegureu-vos que el model existeixi i que s'hagi concedit el perm\xEDs d'acc\xE9s.",b="No s'ha pogut completar la sol\xB7licitud.",N="No teniu perm\xEDs per executar aquesta eina. <calcite-link target='_blank' href='${ docLink }'>M\xE9s informaci\xF3</calcite-link>",f="No s'ha pogut iniciar la sessi\xF3 al portal.",S="No s'han pogut llegir les dades d'entrada.",q="A ${ dataPath } li falta una propietat anomenada ${ missingProperty }.",$="Ja existeix una capa de resultats amb aquest nom. Les capes de resultats han de ser anomenats de manera \xFAnica a tota l'organitzaci\xF3. Utilitzeu un altre nom.",k="El nom de la sortida cont\xE9 un o diversos car\xE0cters no v\xE0lids. <a href='${docLink}' target='_blank'>Obteniu m\xE9s informaci\xF3.</a>",x="No s'ha pogut publicar la capa temporal com a capa allotjada perqu\xE8 hi ha camps que no s\xF3n v\xE0lids. Torneu a executar l'eina per crear una capa amb camps v\xE0lids.",I="No s'ha pogut enviar el treball. Desplaceu-vos cap avall, corregiu els errors i torneu a executar l'an\xE0lisi.",L="${ dataPath } ha de tenir almenys un car\xE0cter que no sigui un espai en blanc.",T={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:r,anyOfValues:s,cannotWriteToItemResource:o,creditEstimationError:t,defaultError:i,enumValues:l,failedToSaveHistory:n,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:h,maxItems:v,mbFailedToSave:g,minItems:E,minLength:y,modelNotFound:P,networkError:b,noPermissionToAccessTool:N,portalLoadError:f,queryFeaturesError:S,requiredProperty:q,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:x,toolValidationError:I,whiteSpacePattern:L};export{a as InsufficientCreditsError,e as accessBlocked,r as additionalProperty,s as anyOfValues,o as cannotWriteToItemResource,t as creditEstimationError,T as default,i as defaultError,l as enumValues,n as failedToSaveHistory,d as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,v as maxItems,g as mbFailedToSave,E as minItems,y as minLength,P as modelNotFound,b as networkError,N as noPermissionToAccessTool,f as portalLoadError,S as queryFeaturesError,q as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,x as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
3
+ v1.2.0-next.21 */
4
+ import"./C3XGENO2.js";var a="No teniu cr\xE8dits suficients per dur a terme aquesta operaci\xF3. Poseu-vos en contacte amb el vostre administrador de sistemes de l'ArcGIS per obtenir ajuda.",e="Aquesta eina s'ha publicat des d'un notebook. L'acc\xE9s a l'ArcGIS Notebooks est\xE0 bloquejat per a la vostra organitzaci\xF3. Poseu-vos en contacte amb l'administrador per ajustar la configuraci\xF3.",r="${ dataPath } no pot tenir ${ additionalProperty }.",s="${ dataPath } ha de coincidir amb l'esquema d'un d'aquests: ${ schemaOptions }.",o="Proveu de tornar a desar el mapa.",t="No s'han pogut estimar els cr\xE8dits. Desplaceu-vos cap avall, corregiu els errors i torneu a estimar els cr\xE8dits.",i="S'ha produ\xEFt un error en executar l'an\xE0lisi.",l="${ dataPath } ha de ser igual a un d'aquests valors permesos: ${ allowedValues }.",n="No s'ha pogut desar l'historial d'an\xE0lisi",d="L'emmagatzematge d'historial s'ha exhaurit. Elimineu alguns elements de l'historial d'an\xE0lisi i proveu de tornar-lo a desar.",c="El nom del servei cont\xE9 un o diversos car\xE0cters no v\xE0lids.",u="No s'ha pogut completar l'acci\xF3 de desar la capa temporal com a capa d'entitats allotjada.",m="No s'han pogut obtenir les propietats clau.",p="No s'ha pogut carregar la capa.",h="La capa no est\xE0 disponible.",v="${ dataPath } no pot tenir m\xE9s de ${ limit } elements.",g="S'ha produ\xEFt un error en desar el model. Torneu a provar de desar-lo.",E="${ dataPath } no pot tenir menys de ${ limit } elements.",y="${ dataPath } no pot tenir menys de ${ limit } car\xE0cters.",P="No s'ha pogut carregar l'element del model. Assegureu-vos que el model existeixi i que s'hagi concedit el perm\xEDs d'acc\xE9s.",b="No s'ha pogut completar la sol\xB7licitud.",N="No teniu perm\xEDs per executar aquesta eina. <calcite-link target='_blank' href='${ docLink }'>M\xE9s informaci\xF3</calcite-link>",f="No s'ha pogut iniciar la sessi\xF3 al portal.",S="No s'han pogut llegir les dades d'entrada.",q="A ${ dataPath } li falta una propietat anomenada ${ missingProperty }.",$="Ja existeix una capa de resultats amb aquest nom. Les capes de resultats han de ser anomenats de manera \xFAnica a tota l'organitzaci\xF3. Utilitzeu un altre nom.",k="El nom de la sortida cont\xE9 un o diversos car\xE0cters no v\xE0lids. <a href='${docLink}' target='_blank'>Obteniu m\xE9s informaci\xF3.</a>",x="No s'ha pogut publicar la capa temporal com a capa allotjada perqu\xE8 hi ha camps que no s\xF3n v\xE0lids. Torneu a executar l'eina per crear una capa amb camps v\xE0lids.",I="No s'ha pogut enviar el treball. Desplaceu-vos cap avall, corregiu els errors i torneu a executar l'an\xE0lisi.",L="${ dataPath } ha de tenir almenys un car\xE0cter que no sigui un espai en blanc.",T={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:r,anyOfValues:s,cannotWriteToItemResource:o,creditEstimationError:t,defaultError:i,enumValues:l,failedToSaveHistory:n,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:h,maxItems:v,mbFailedToSave:g,minItems:E,minLength:y,modelNotFound:P,networkError:b,noPermissionToAccessTool:N,portalLoadError:f,queryFeaturesError:S,requiredProperty:q,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:x,toolValidationError:I,whiteSpacePattern:L};export{a as InsufficientCreditsError,e as accessBlocked,r as additionalProperty,s as anyOfValues,o as cannotWriteToItemResource,t as creditEstimationError,T as default,i as defaultError,l as enumValues,n as failedToSaveHistory,d as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,v as maxItems,g as mbFailedToSave,E as minItems,y as minLength,P as modelNotFound,b as networkError,N as noPermissionToAccessTool,f as portalLoadError,S as queryFeaturesError,q as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,x as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.20 */
4
- import{a,b}from"./K2RFNUWO.js";import"./7B2JUGRA.js";import"./4KVLYOZL.js";import"./ZFZ663TV.js";import"./N4AIZVPV.js";export{a as ContentEditorTypes,b as ContentSchema};
3
+ v1.2.0-next.21 */
4
+ import{a,b}from"./ZCXEHP3I.js";import"./DOCNMY5H.js";import"./ZADEJN6X.js";import"./VRUHMDUB.js";import"./C3XGENO2.js";export{a as ContentEditorTypes,b as ContentSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.20 */
3
+ v1.2.0-next.21 */
4
4
  var r;(function(e){e.simple="simple",e.informational="informational"})(r||(r={}));var l;(function(e){e.small="s",e.medium="m",e.large="l"})(l||(l={}));var n;(function(e){e.before="before",e.after="after",e.below="below"})(n||(n={}));var i;(function(e){e.none="none",e.icon="icon"})(i||(i={}));var o;(function(e){e.caretUp="caret-up",e.caretDown="caret-down",e.caretDouble="caret-double-horizontal"})(o||(o={}));var t;(function(e){e.dynamic="dynamic",e.static="static",e.itemQuery="itemQuery"})(t||(t={}));var u;(function(e){e.start="start",e.center="center",e.end="end"})(u||(u={}));var p;(function(e){e.square="square",e.round="round"})(p||(p={}));var a;(function(e){e.none="none",e.low="low",e.medium="medium",e.heavy="heavy"})(a||(a={}));var s;(function(e){e.h1="h1",e.h2="h2",e.h3="h3",e.h4="h4",e.h5="h5",e.h6="h6"})(s||(s={}));var d={type:"object",required:[],properties:{type:{type:"string",enum:Object.keys(t),default:t.dynamic},cardTitle:{type:"string"},value:{},valueType:{type:"string",default:"string",enum:["string","number","date"]},dynamicMetric:{type:"object"},allowUnitFormatting:{type:"boolean",default:!1},unit:{type:"string"},unitPosition:{type:"string",default:n.after,enum:Object.keys(n)},serverTimeout:{type:"number",maximum:95,minimum:5,default:10},subtitle:{type:"string"},trailingText:{type:"string"},textAlign:{type:"string",default:u.start},allowLink:{type:"boolean",default:!1},allowDynamicLink:{type:"boolean",default:!0},sourceLink:{type:"string"},sourceTitle:{type:"string"},valueColor:{type:"string"},layout:{type:"string",default:r.simple,enum:Object.keys(r)},dropShadow:{type:"string",default:a.none,enum:Object.keys(a)},icon:{type:"string",default:o.caretUp,enum:Object.values(o)},visualInterest:{type:"string",default:i.none,enum:Object.keys(i)},shareable:{type:"boolean",default:!1},shareableByValue:{type:"boolean",default:!1},shareableOnHover:{type:"boolean",default:!0},popoverText:{type:"string"},publisherText:{type:"string"}},allOf:[{$ref:"#/definitions/if-source-title-then-source-link"},{$ref:"#/definitions/value-type-value-mapping"},{$ref:"#/definitions/if-static-then-url-format"}],definitions:{"if-source-title-then-source-link":{if:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]},then:{required:["sourceLink"]}},"value-type-value-mapping":{if:{type:"object",properties:{valueType:{enum:["string","date"]}}},then:{type:"object",properties:{value:{type:"string"}}},else:{type:"object",properties:{value:{type:"number"}}}},"if-static-then-url-format":{if:{type:"object",properties:{type:{const:t.static}}},then:{type:"object",properties:{sourceLink:{format:"url"}}}}}};export{o as a,t as b,d 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.20 */
4
- import"./N4AIZVPV.js";var o=async(e,l,s)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.followers.groupAccess.label`,scope:"/properties/_followers/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.followers.groupAccess.helperText`},labels:[`{{${e}.fields.followers.groupAccess.private.label:translate}}`,`{{${e}.fields.followers.groupAccess.org.label:translate}}`,`{{${e}.fields.followers.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.followers.groupAccess.private.description:translate}}`,`{{${e}.fields.followers.groupAccess.org.description:translate}}`,`{{${e}.fields.followers.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.followers.showFollowAction.label`,scope:"/properties/_followers/properties/showFollowAction",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.followers.showFollowAction.helperText`}}},{labelKey:`${e}.fields.followers.discussable.label`,scope:"/properties/_followers/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.followers.discussable.enabled.label:translate}}`,`{{${e}.fields.followers.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.followers.discussable.enabled.description:translate}}`,`{{${e}.fields.followers.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{o as buildUiSchema};
3
+ v1.2.0-next.21 */
4
+ import"./C3XGENO2.js";var o=async(e,l,s)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.followers.groupAccess.label`,scope:"/properties/_followers/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.followers.groupAccess.helperText`},labels:[`{{${e}.fields.followers.groupAccess.private.label:translate}}`,`{{${e}.fields.followers.groupAccess.org.label:translate}}`,`{{${e}.fields.followers.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.followers.groupAccess.private.description:translate}}`,`{{${e}.fields.followers.groupAccess.org.description:translate}}`,`{{${e}.fields.followers.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.followers.showFollowAction.label`,scope:"/properties/_followers/properties/showFollowAction",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.followers.showFollowAction.helperText`}}},{labelKey:`${e}.fields.followers.discussable.label`,scope:"/properties/_followers/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.followers.discussable.enabled.label:translate}}`,`{{${e}.fields.followers.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.followers.discussable.enabled.description:translate}}`,`{{${e}.fields.followers.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{o as buildUiSchema};