@esri/solutions-components 1.2.0-next.58 → 1.2.0-next.59

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 (442) hide show
  1. package/dist/cdn/{DUTTGS2A.js → 25B25ZXH.js} +2 -2
  2. package/dist/cdn/{ZZZBDC7A.js → 26CCKO42.js} +2 -2
  3. package/dist/cdn/{YEPKSXGS.js → 2BWXNIBU.js} +2 -2
  4. package/dist/cdn/{GXSNCTOI.js → 2EYNMSVI.js} +2 -2
  5. package/dist/cdn/{FSCD6TPF.js → 2LUJUNTI.js} +2 -2
  6. package/dist/cdn/{N3WHOXUU.js → 2XKGPSPT.js} +2 -2
  7. package/dist/cdn/{ICYNG44U.js → 32JOQV7W.js} +2 -2
  8. package/dist/cdn/{DSRTIAQK.js → 32UWEOGE.js} +2 -2
  9. package/dist/cdn/373TXH6X.js +4 -0
  10. package/dist/cdn/{S4CLWWTH.js → 37RKRUT7.js} +2 -2
  11. package/dist/cdn/{ILLEMH6Q.js → 3B6DM4IK.js} +2 -2
  12. package/dist/cdn/{HP7DU64C.js → 3BQF3XCQ.js} +2 -2
  13. package/dist/cdn/{SYM5MBKE.js → 3DQJP7MM.js} +1 -1
  14. package/dist/cdn/{Y3L73NYS.js → 3G3R2OZV.js} +2 -2
  15. package/dist/cdn/{IGPGIGOF.js → 3KHQWDAE.js} +2 -2
  16. package/dist/cdn/{T3OQ5LVL.js → 3KR4IDMY.js} +2 -2
  17. package/dist/cdn/{6Y5UKSFB.js → 3LTVBZW2.js} +2 -2
  18. package/dist/cdn/{T4VMBEPD.js → 3PVHACQL.js} +1 -1
  19. package/dist/cdn/{57J4OVF2.js → 3QUJWKYF.js} +2 -2
  20. package/dist/cdn/{U5NE7U5J.js → 3ROAGKJU.js} +2 -2
  21. package/dist/cdn/{A7UAEOEM.js → 3RZEX2U3.js} +2 -2
  22. package/dist/cdn/{LDH3MW7X.js → 3Y3FMA7U.js} +2 -2
  23. package/dist/cdn/{HLLYW2KN.js → 43PJPKFV.js} +2 -2
  24. package/dist/cdn/{QLKBP3KZ.js → 44FUEGZZ.js} +2 -2
  25. package/dist/cdn/4BC5PUYF.js +4 -0
  26. package/dist/cdn/{3SEEAGAC.js → 4CULZZ7A.js} +2 -2
  27. package/dist/cdn/{L7KYPIB6.js → 4E2QUIHI.js} +2 -2
  28. package/dist/cdn/{UVOIHQEL.js → 4FRJW5HL.js} +2 -2
  29. package/dist/cdn/{A6PLMWPI.js → 4GZQCBLE.js} +2 -2
  30. package/dist/cdn/4KV6D3RM.js +4 -0
  31. package/dist/cdn/{5GXFFFKX.js → 4O4WAAXE.js} +2 -2
  32. package/dist/cdn/{GXQDGCOM.js → 4OYU3VYB.js} +2 -2
  33. package/dist/cdn/{MQPBG6PU.js → 4QGAJAMT.js} +2 -2
  34. package/dist/cdn/{JMQF3FZO.js → 4TMG2MRJ.js} +2 -2
  35. package/dist/cdn/{TNV2AQ25.js → 4WQLUSGK.js} +2 -2
  36. package/dist/cdn/{KLFIGDK2.js → 5BN6LD6R.js} +2 -2
  37. package/dist/cdn/{L7JUQSXG.js → 5JSUD3U7.js} +1 -1
  38. package/dist/cdn/{OBIBVHY4.js → 5MAZ5ZVP.js} +2 -2
  39. package/dist/cdn/{I5YQNCUH.js → 5NUKQCRO.js} +2 -2
  40. package/dist/cdn/{OMCOMV7N.js → 5PSL2TWL.js} +2 -2
  41. package/dist/cdn/{TANN52ZZ.js → 5RP4YGCC.js} +2 -2
  42. package/dist/cdn/5UC4CYX3.js +4 -0
  43. package/dist/cdn/{5FDJHPQF.js → 5UMVW5IU.js} +2 -2
  44. package/dist/cdn/{5DVRNPJ5.js → 66HZ4CFW.js} +2 -2
  45. package/dist/cdn/{5LEHYDIR.js → 6BWLIZSJ.js} +2 -2
  46. package/dist/cdn/{N3SR5GBO.js → 6BZURHMF.js} +2 -2
  47. package/dist/cdn/{QOUESJCK.js → 6CN3ZYLP.js} +2 -2
  48. package/dist/cdn/{AZRP3N5H.js → 6DPMFNGR.js} +2 -2
  49. package/dist/cdn/{QZVQTXAQ.js → 6HSZ4CIQ.js} +2 -2
  50. package/dist/cdn/{ANLEG4SX.js → 6HYCSSIB.js} +2 -2
  51. package/dist/cdn/{IWKMUIYL.js → 6JIQMVN5.js} +2 -2
  52. package/dist/cdn/{L4YTZSPA.js → 6PUGDNEU.js} +2 -2
  53. package/dist/cdn/{KE5TZGYU.js → 6SZEED4O.js} +2 -2
  54. package/dist/cdn/{TSKHW7SQ.js → 6TGQHAFE.js} +2 -2
  55. package/dist/cdn/{SP5KFLOD.js → 6V4III7E.js} +2 -2
  56. package/dist/cdn/{S7KSWXV4.js → 6W24BQES.js} +2 -2
  57. package/dist/cdn/{2JMDZ7AF.js → 6YPLG3FF.js} +2 -2
  58. package/dist/cdn/{ON4RRRS4.js → 6ZK3CKFF.js} +2 -2
  59. package/dist/cdn/{HG7T7PHS.js → 7DBUXIIV.js} +2 -2
  60. package/dist/cdn/{YIGWTOED.js → 7F56MSPW.js} +2 -2
  61. package/dist/cdn/{AECRYI7L.js → 7GJZVYMJ.js} +2 -2
  62. package/dist/cdn/7HIBIE5S.js +4 -0
  63. package/dist/cdn/{7URWWT5T.js → 7IN6BWTZ.js} +2 -2
  64. package/dist/cdn/7IWH6D5M.js +4 -0
  65. package/dist/cdn/{WCIEP2UG.js → 7LW2YQNW.js} +1 -1
  66. package/dist/cdn/{XV65B5ZB.js → 7MDJN2BV.js} +2 -2
  67. package/dist/cdn/{RGDBMVGE.js → 7NUTECWV.js} +2 -2
  68. package/dist/cdn/{7437KOWY.js → 7OQOH2NF.js} +2 -2
  69. package/dist/cdn/{L74NBTEN.js → 7S55QL7L.js} +2 -2
  70. package/dist/cdn/{GDJR37UU.js → 7WUMZFTS.js} +2 -2
  71. package/dist/cdn/{QNY5E6G2.js → 7XZWHACO.js} +2 -2
  72. package/dist/cdn/{MUEFPVU6.js → 7ZCQHB4L.js} +2 -2
  73. package/dist/cdn/{PGRVPSSB.js → A2FZ36I2.js} +2 -2
  74. package/dist/cdn/{AT3ALZQZ.js → A2SSHOEE.js} +2 -2
  75. package/dist/cdn/{5I4FTRZX.js → A4XV4N4U.js} +2 -2
  76. package/dist/cdn/{7VKH7EZW.js → A54TR2SR.js} +2 -2
  77. package/dist/cdn/{CQ7NUMJE.js → A5P6FRV7.js} +2 -2
  78. package/dist/cdn/{VYC75L4D.js → AC2VIC6A.js} +2 -2
  79. package/dist/cdn/{5ZKD7SQH.js → AHHXZV45.js} +2 -2
  80. package/dist/cdn/{YGJRS2YM.js → AQYE5ZHB.js} +2 -2
  81. package/dist/cdn/{D5KJEEES.js → AUESZVU4.js} +2 -2
  82. package/dist/cdn/B4KVKAMX.js +4 -0
  83. package/dist/cdn/{QPIYG6F2.js → B57ADFKI.js} +2 -2
  84. package/dist/cdn/{43ZBQHRP.js → B5T26PJP.js} +2 -2
  85. package/dist/cdn/{LJCWDDUN.js → B7626KRT.js} +1 -1
  86. package/dist/cdn/{6KZ7KUJS.js → BAV2DQ4A.js} +2 -2
  87. package/dist/cdn/{YW6PN3XC.js → BBQXDOWW.js} +2 -2
  88. package/dist/cdn/{VJKTHZPU.js → BJWSTVLX.js} +2 -2
  89. package/dist/cdn/{YZWC4HVW.js → BMUSQVXD.js} +1 -1
  90. package/dist/cdn/{W2MZDYW7.js → BT7H2Z4P.js} +2 -2
  91. package/dist/cdn/{X2L3BFS3.js → BV67KGE3.js} +2 -2
  92. package/dist/cdn/{YVH4JDYD.js → BWMIWQM2.js} +2 -2
  93. package/dist/cdn/{GMFZRPZQ.js → CBZDTXQB.js} +2 -2
  94. package/dist/cdn/{E7QAH3CW.js → CCQPRWZI.js} +2 -2
  95. package/dist/cdn/{LG7YZUBO.js → CCW5VHE2.js} +2 -2
  96. package/dist/cdn/{COVILVWK.js → CCWPI2S2.js} +2 -2
  97. package/dist/cdn/{WKDNE6PR.js → CD3AZHCX.js} +2 -2
  98. package/dist/cdn/{WD3VY2EN.js → CENVPG32.js} +2 -2
  99. package/dist/cdn/{FAF5GARG.js → CGAFT2XD.js} +2 -2
  100. package/dist/cdn/{42C7BE3F.js → CJPCNBVG.js} +2 -2
  101. package/dist/cdn/{XPKSKAEU.js → CO2DP2DI.js} +2 -2
  102. package/dist/cdn/CPIYJUUR.js +4 -0
  103. package/dist/cdn/{XQOS32KH.js → CUKHOOVQ.js} +1 -1
  104. package/dist/cdn/{ZAVDXVVQ.js → CX5FTZXB.js} +2 -2
  105. package/dist/cdn/{LICMM4G2.js → D5F4NJD7.js} +2 -2
  106. package/dist/cdn/{23A5XHFD.js → D5MWETEN.js} +2 -2
  107. package/dist/cdn/{PXQCRMDJ.js → DDBK5RTK.js} +2 -2
  108. package/dist/cdn/{5EJSRIRC.js → DDFYGY3P.js} +2 -2
  109. package/dist/cdn/{4I7CSRHB.js → DEQAS2SR.js} +2 -2
  110. package/dist/cdn/{AIOOPNKZ.js → DGGDUOI2.js} +2 -2
  111. package/dist/cdn/{5CWOM6AV.js → DHQHELQN.js} +2 -2
  112. package/dist/cdn/{DDDEYF2T.js → DIHWASFL.js} +4 -4
  113. package/dist/cdn/{5SXY3ZUJ.js → DMBTOCEZ.js} +2 -2
  114. package/dist/cdn/{6RRE2YKF.js → DNTG6VCZ.js} +2 -2
  115. package/dist/cdn/{4R762MMN.js → DQFLJUCX.js} +2 -2
  116. package/dist/cdn/{OXLUWMD5.js → DT7AW2GV.js} +2 -2
  117. package/dist/cdn/{BEF2DCD3.js → DVUXVX3H.js} +2 -2
  118. package/dist/cdn/{KQVXCUET.js → DWBJS3UU.js} +2 -2
  119. package/dist/cdn/{3L74DO3M.js → DWJYRIXW.js} +2 -2
  120. package/dist/cdn/{Q4BWBM6T.js → E3VEVFOM.js} +2 -2
  121. package/dist/cdn/{44DRQPHE.js → E4EVKH7R.js} +2 -2
  122. package/dist/cdn/{QKQ65ZEA.js → EBUWGWRS.js} +2 -2
  123. package/dist/cdn/{DS3I6SOX.js → EEEBLVFP.js} +2 -2
  124. package/dist/cdn/{IEYFX7PM.js → EFPPKG2I.js} +1 -1
  125. package/dist/cdn/{ADDBV5OP.js → EGPTG5G2.js} +3 -3
  126. package/dist/cdn/{C33X3FC7.js → EHKQB23N.js} +1 -1
  127. package/dist/cdn/{OOLGIYGL.js → ENLBWWOF.js} +2 -2
  128. package/dist/cdn/{NOVWGJL5.js → EPGHDNIB.js} +2 -2
  129. package/dist/cdn/{IM7ZKYDO.js → ETO5FRK3.js} +2 -2
  130. package/dist/cdn/{NUCLACFO.js → EW7J3KH5.js} +2 -2
  131. package/dist/cdn/{HDYPKDGB.js → F5LPHHYL.js} +2 -2
  132. package/dist/cdn/{RIAU64W6.js → FEFR3FRY.js} +2 -2
  133. package/dist/cdn/FFVKKDWT.js +4 -0
  134. package/dist/cdn/{AZ4O4HF7.js → FPGWP5VL.js} +2 -2
  135. package/dist/cdn/{HJ53IYUO.js → FZJLIT7Z.js} +1 -1
  136. package/dist/cdn/{YKD4V7N3.js → G2RPRNB2.js} +2 -2
  137. package/dist/cdn/GC4R6XRD.js +4 -0
  138. package/dist/cdn/{NZAATROC.js → GD64EVQX.js} +2 -2
  139. package/dist/cdn/{GP2OTYTM.js → GMCYP5CG.js} +2 -2
  140. package/dist/cdn/{NBATXAS2.js → GQBI4FHB.js} +2 -2
  141. package/dist/cdn/{ULXQPM4K.js → GURFWBHZ.js} +2 -2
  142. package/dist/cdn/{JCIAAZVE.js → GVUNBPYT.js} +2 -2
  143. package/dist/cdn/{4OB3X55M.js → GWZQ77OI.js} +2 -2
  144. package/dist/cdn/{3VXAHXSN.js → H2A4E2V5.js} +2 -2
  145. package/dist/cdn/{SHNYU7KZ.js → H2CANEYT.js} +1 -1
  146. package/dist/cdn/{XY4LJTGQ.js → H7HNI5VC.js} +2 -2
  147. package/dist/cdn/HCZ5DMOB.js +4 -0
  148. package/dist/cdn/{BD3W7RMD.js → HCZYN74N.js} +2 -2
  149. package/dist/cdn/{CGT7XT64.js → HFNJDY5O.js} +2 -2
  150. package/dist/cdn/{ULY7CBWS.js → HGZ446BS.js} +3 -3
  151. package/dist/cdn/{DDDLSXKD.js → HIH6KSUX.js} +1 -1
  152. package/dist/cdn/{UNE2AY7Q.js → HMFF7KAP.js} +2 -2
  153. package/dist/cdn/{N6OM5A6H.js → HPWCOH2B.js} +1 -1
  154. package/dist/cdn/{PAFRAZ4U.js → HTQJOJTI.js} +2 -2
  155. package/dist/cdn/{JIIENOIP.js → HX7NQUEU.js} +2 -2
  156. package/dist/cdn/{ONHTOVZF.js → HXNPMV7T.js} +2 -2
  157. package/dist/cdn/{OIPIONQT.js → I2BJW5OQ.js} +2 -2
  158. package/dist/cdn/{IDTD2LDO.js → I2F5BV6P.js} +2 -2
  159. package/dist/cdn/{2FKBPLU4.js → IHBXCUXC.js} +2 -2
  160. package/dist/cdn/{7Z566F56.js → IHBY23HX.js} +2 -2
  161. package/dist/cdn/{UFYMIBN6.js → IOQCMJDM.js} +2 -2
  162. package/dist/cdn/{4XD6PCBC.js → ISA5XXM5.js} +1 -1
  163. package/dist/cdn/{WLLNA456.js → ISORN3KD.js} +2 -2
  164. package/dist/cdn/{XEBMS7WW.js → ITXB3UY7.js} +2 -2
  165. package/dist/cdn/{SMOXHDSC.js → J2YB64DJ.js} +2 -2
  166. package/dist/cdn/{H3NB5NNH.js → JAP3AOW3.js} +1 -1
  167. package/dist/cdn/{XBZ6KBJB.js → JDYZI422.js} +2 -2
  168. package/dist/cdn/{FUZPZ4T5.js → JFXRBPOD.js} +2 -2
  169. package/dist/cdn/{PQ3OMSDU.js → JGDHGRVO.js} +2 -2
  170. package/dist/cdn/{E3X7LPZY.js → JGMQLYZN.js} +2 -2
  171. package/dist/cdn/{6AY2WUBL.js → JLEQROY3.js} +2 -2
  172. package/dist/cdn/{XBUNPWMU.js → JSLYUXDO.js} +2 -2
  173. package/dist/cdn/{272MXLCN.js → JVUHIWEV.js} +2 -2
  174. package/dist/cdn/{S64N25T6.js → JX2YC2NI.js} +2 -2
  175. package/dist/cdn/{GCVFLPQR.js → K6WR5EDK.js} +2 -2
  176. package/dist/cdn/{K2H5COKQ.js → KB4DWCEJ.js} +2 -2
  177. package/dist/cdn/{4JPJHNRG.js → KDR33FHO.js} +2 -2
  178. package/dist/cdn/KEHSAGKX.js +4 -0
  179. package/dist/cdn/{KJLLCEVR.js → KJW6C53V.js} +1 -1
  180. package/dist/cdn/{6IWALAH6.js → KKPHEGTZ.js} +2 -2
  181. package/dist/cdn/{6M7VDTDS.js → KN5E4MQG.js} +2 -2
  182. package/dist/cdn/{EKTYDEQ4.js → KPC2ODJP.js} +2 -2
  183. package/dist/cdn/{U62OPTDH.js → KQDF42LD.js} +2 -2
  184. package/dist/cdn/{EILFB4VN.js → KWUHBUOY.js} +2 -2
  185. package/dist/cdn/{XRP5KQYF.js → KYIHDSUV.js} +2 -2
  186. package/dist/cdn/{AI44GZE3.js → L7SW75RR.js} +2 -2
  187. package/dist/cdn/{2J22IGKH.js → LBABYSBX.js} +1 -1
  188. package/dist/cdn/{66TBZH73.js → LCLYBKCD.js} +1 -1
  189. package/dist/cdn/{CSIJLM3R.js → LEL5VZQY.js} +2 -2
  190. package/dist/cdn/{MF7RZRLY.js → LGRJQFUN.js} +2 -2
  191. package/dist/cdn/{SMHR3QQS.js → LJGIMINH.js} +2 -2
  192. package/dist/cdn/{AGI77HRG.js → LL2N6WE4.js} +1 -1
  193. package/dist/cdn/{EQJN42GX.js → LLGXL2FM.js} +1 -1
  194. package/dist/cdn/{6GZH4ELN.js → LMA7VQL6.js} +2 -2
  195. package/dist/cdn/{EK3GNFZJ.js → LSE4ZVG6.js} +2 -2
  196. package/dist/cdn/{REP3H3UN.js → LVWOAPCF.js} +2 -2
  197. package/dist/cdn/{KPJBHRSA.js → LVXMAQMH.js} +2 -2
  198. package/dist/cdn/{54WTXBJM.js → M3PFZFCV.js} +1 -1
  199. package/dist/cdn/{JFN3RLVE.js → M3YOYCLJ.js} +2 -2
  200. package/dist/cdn/{6HU76Z6T.js → MAHNU7KE.js} +2 -2
  201. package/dist/cdn/{CDZSWFXI.js → MALBTWOR.js} +2 -2
  202. package/dist/cdn/{JWMN37MM.js → MBQP2ZCK.js} +2 -2
  203. package/dist/cdn/{GT7MQRKO.js → MD5I2SFA.js} +2 -2
  204. package/dist/cdn/{N2TYDHDC.js → MNRZLJQR.js} +1 -1
  205. package/dist/cdn/MUBMA2CZ.js +4 -0
  206. package/dist/cdn/{U4MH6M6Q.js → MVLXVTLA.js} +2 -2
  207. package/dist/cdn/{AMZRY3PB.js → MZ7IE5RN.js} +2 -2
  208. package/dist/cdn/{6PZT35BA.js → N367AMWJ.js} +2 -2
  209. package/dist/cdn/{FCCQVZAG.js → N4S2GKS4.js} +1 -1
  210. package/dist/cdn/{FYFUMW5S.js → NB6AUGD2.js} +2 -2
  211. package/dist/cdn/{FBVFL54P.js → NCJTFCTZ.js} +2 -2
  212. package/dist/cdn/{I2I3AV2N.js → NFNNSMZV.js} +2 -2
  213. package/dist/cdn/{USBMHPUB.js → NGJZW2XA.js} +2 -2
  214. package/dist/cdn/{WT6CCKIL.js → NGSG7I2S.js} +2 -2
  215. package/dist/cdn/{ZNIFN3NN.js → NIKIN4B5.js} +2 -2
  216. package/dist/cdn/{MT4NTF2K.js → NJYV6KX6.js} +2 -2
  217. package/dist/cdn/{GAC6BSUB.js → NMKEXRKI.js} +2 -2
  218. package/dist/cdn/{3RJMIT2U.js → NUMSNTTV.js} +2 -2
  219. package/dist/cdn/{BFBCAE2T.js → ODE7EDZN.js} +1 -1
  220. package/dist/cdn/{IS6RO3EC.js → OIQRL57S.js} +2 -2
  221. package/dist/cdn/{BD5G5R6O.js → OLGLXFX4.js} +2 -2
  222. package/dist/cdn/{OQ7F3Q3M.js → OMFGYAGB.js} +2 -2
  223. package/dist/cdn/{SP5YNXGS.js → OV44LC7H.js} +2 -2
  224. package/dist/cdn/{JLSBRCKO.js → OWYGZ3CC.js} +2 -2
  225. package/dist/cdn/{VYSBIZLN.js → P2IDE5OP.js} +2 -2
  226. package/dist/cdn/{ADX4P2WO.js → P372OUGB.js} +1 -1
  227. package/dist/cdn/{I7ZISGTW.js → P4RBDOR6.js} +2 -2
  228. package/dist/cdn/{ICZHY6SK.js → PHKWGZMN.js} +2 -2
  229. package/dist/cdn/{FUXCXI4L.js → PIIVS5YM.js} +2 -2
  230. package/dist/cdn/{5GXGF5T4.js → POIFA2UD.js} +2 -2
  231. package/dist/cdn/{JJ3OQ55Q.js → PRBIN2BU.js} +2 -2
  232. package/dist/cdn/{LN73GFOU.js → PTEYVE2O.js} +2 -2
  233. package/dist/cdn/{2YDO7ESS.js → PVDWBCF2.js} +2 -2
  234. package/dist/cdn/{HNZJGSL5.js → PVEHCRYW.js} +2 -2
  235. package/dist/cdn/PYQKMCG2.js +4 -0
  236. package/dist/cdn/{MNLFQHXF.js → PZEMU6YN.js} +2 -2
  237. package/dist/cdn/{EI5V4JLS.js → Q45TPXYT.js} +2 -2
  238. package/dist/cdn/{MGQJOG4T.js → QCW7B6B5.js} +2 -2
  239. package/dist/cdn/{XZBLUZXD.js → QDEJN7KB.js} +2 -2
  240. package/dist/cdn/{KP2IMMIK.js → QMAH5HXL.js} +2 -2
  241. package/dist/cdn/{QXUPUR5K.js → QVEJGSWG.js} +2 -2
  242. package/dist/cdn/{W6GM3GFD.js → QVLTIXTS.js} +1 -1
  243. package/dist/cdn/{BFTNAOYO.js → QWS5G4EH.js} +1 -1
  244. package/dist/cdn/{NOQFU3IK.js → QZUNCGIF.js} +2 -2
  245. package/dist/cdn/{4GROF5X6.js → RGGCXN32.js} +2 -2
  246. package/dist/cdn/{TRNEMIFL.js → RK67BRJG.js} +2 -2
  247. package/dist/cdn/{NV4JM65Y.js → RMA2JBKB.js} +1 -1
  248. package/dist/cdn/{Y2GFS6YT.js → RW4DP44R.js} +2 -2
  249. package/dist/cdn/{FGLB6G7J.js → RX3SI5Y3.js} +2 -2
  250. package/dist/cdn/{YBLP5SBK.js → RZEEFQBW.js} +2 -2
  251. package/dist/cdn/{PVU32TZP.js → S3HX5IPM.js} +1 -1
  252. package/dist/cdn/{VX3GAWOV.js → S6V57F65.js} +2 -2
  253. package/dist/cdn/{AKN643ZB.js → SB345CLE.js} +1 -1
  254. package/dist/cdn/SBRT4GZR.js +4 -0
  255. package/dist/cdn/{YLTTT3FO.js → SH7LPYYM.js} +2 -2
  256. package/dist/cdn/{KTCMQ4KV.js → SHIKGCFR.js} +2 -2
  257. package/dist/cdn/{PDHZUAAF.js → SIE4ZKUQ.js} +2 -2
  258. package/dist/cdn/{I4MBCCTZ.js → SJU2YRAX.js} +2 -2
  259. package/dist/cdn/{AHXUSVKZ.js → SNHSCHSU.js} +2 -2
  260. package/dist/cdn/{QDUQNMOX.js → SPA4CCTH.js} +2 -2
  261. package/dist/cdn/SVGTK3UD.js +4 -0
  262. package/dist/cdn/{BGUPFJ7K.js → SY3P6EMA.js} +2 -2
  263. package/dist/cdn/{ZWLOS43A.js → SYRGH4IP.js} +2 -2
  264. package/dist/cdn/{IROALDFS.js → T23F3H3W.js} +2 -2
  265. package/dist/cdn/{GWCME3DD.js → T4M3T4RS.js} +2 -2
  266. package/dist/cdn/{B6NX6GKS.js → TAVLKZOW.js} +2 -2
  267. package/dist/cdn/{XRHON3WW.js → TKRHJCFT.js} +2 -2
  268. package/dist/cdn/{JIUO5ETX.js → TLCC3WKK.js} +2 -2
  269. package/dist/cdn/{P57B7YIY.js → TQMR5HGV.js} +2 -2
  270. package/dist/cdn/{QVNQTNMX.js → TRD4MHP2.js} +2 -2
  271. package/dist/cdn/{6T2JS7V3.js → TRX2L7PJ.js} +2 -2
  272. package/dist/cdn/{OKZPQ4WI.js → TTG53ZSH.js} +2 -2
  273. package/dist/cdn/{AN7JDMQS.js → TVQMISGG.js} +2 -2
  274. package/dist/cdn/{X4JTSXO2.js → U32CZ5HV.js} +2 -2
  275. package/dist/cdn/{TFMMZ3FQ.js → U62MSJKG.js} +2 -2
  276. package/dist/cdn/{YEGWOY5I.js → UCYWBULG.js} +2 -2
  277. package/dist/cdn/{SDOANVUZ.js → UEQ2M7OE.js} +1 -1
  278. package/dist/cdn/{RB3WDY5V.js → UXFKDTYZ.js} +2 -2
  279. package/dist/cdn/{WF3YS56U.js → V7HEDLHM.js} +1 -1
  280. package/dist/cdn/{WGM7QUHH.js → VET7HBDC.js} +2 -2
  281. package/dist/cdn/{JNCTMS2E.js → VLJ2FMNG.js} +2 -2
  282. package/dist/cdn/{NMOFB3UE.js → VLM7BVOC.js} +2 -2
  283. package/dist/cdn/{Z7KTVGAF.js → VLXWVYFE.js} +1 -1
  284. package/dist/cdn/VMEMQMFU.js +4 -0
  285. package/dist/cdn/{QFFIU65S.js → VPAX4SKK.js} +2 -2
  286. package/dist/cdn/{WJ5ZO2LB.js → VPB2MNMR.js} +2 -2
  287. package/dist/cdn/{L2AGUKXX.js → VPYAKTHV.js} +2 -2
  288. package/dist/cdn/{M2GKHHAY.js → VUW4NIX5.js} +1 -1
  289. package/dist/cdn/{XP4SAL3C.js → VVHFDNIP.js} +2 -2
  290. package/dist/cdn/{AZBXCM4Q.js → VWS2JKA6.js} +2 -2
  291. package/dist/cdn/{7NBSALVV.js → VZNN27BA.js} +2 -2
  292. package/dist/cdn/{SM4QZE4V.js → W3GW7PX4.js} +2 -2
  293. package/dist/cdn/{AN6PBVHW.js → W4H632T7.js} +2 -2
  294. package/dist/cdn/{QQMYQHQC.js → W5OTI4GJ.js} +2 -2
  295. package/dist/cdn/{OEPM4VK2.js → WBQWG3E2.js} +2 -2
  296. package/dist/cdn/{3BS7I2OZ.js → WFIHKSYE.js} +2 -2
  297. package/dist/cdn/{D3CFNZIP.js → WFUQ3JOS.js} +2 -2
  298. package/dist/cdn/{3QWESLGW.js → WI2PK5PH.js} +2 -2
  299. package/dist/cdn/{ZG3QSND2.js → WLOHWAHJ.js} +2 -2
  300. package/dist/cdn/{CVMRBYVW.js → WNFSWEYG.js} +2 -2
  301. package/dist/cdn/{HNBVFIAT.js → WP7SIAQC.js} +2 -2
  302. package/dist/cdn/WUW4CFR7.js +4 -0
  303. package/dist/cdn/{NGRMYCBP.js → WWB4B72X.js} +2 -2
  304. package/dist/cdn/{6IC2K5PB.js → X2OGYKSC.js} +2 -2
  305. package/dist/cdn/{IHOL7QFV.js → X4QRLB57.js} +2 -2
  306. package/dist/cdn/X5DNRQC4.js +4 -0
  307. package/dist/cdn/{5YKIZCPZ.js → X65LJF4A.js} +2 -2
  308. package/dist/cdn/{D66ZNNNA.js → X7PMPPET.js} +2 -2
  309. package/dist/cdn/{234555WJ.js → XA5T3ZWL.js} +2 -2
  310. package/dist/cdn/{VYZUZOMD.js → XARJKYUN.js} +1 -1
  311. package/dist/cdn/XC3YLDVR.js +4 -0
  312. package/dist/cdn/{HOPFDD6Y.js → XD7A67EU.js} +2 -2
  313. package/dist/cdn/{RMHWRYTR.js → XEUQIIFT.js} +2 -2
  314. package/dist/cdn/{TF4LT5JR.js → XITP2HVP.js} +2 -2
  315. package/dist/cdn/{A7WRIV7Z.js → XLJX5VYK.js} +2 -2
  316. package/dist/cdn/{DLK72V3A.js → XRJP6JXR.js} +2 -2
  317. package/dist/cdn/{ECEOOLGX.js → XSRKYX35.js} +2 -2
  318. package/dist/cdn/{QGM4YRCW.js → XX6OFWI6.js} +2 -2
  319. package/dist/cdn/{NMSZQ3EU.js → XZBKRV2G.js} +2 -2
  320. package/dist/cdn/{CX5NTXFO.js → Y3C3OCUK.js} +2 -2
  321. package/dist/cdn/{GWC4VZ2C.js → YJMOB55J.js} +2 -2
  322. package/dist/cdn/{CENKR35J.js → YNL7TZVR.js} +1 -1
  323. package/dist/cdn/{AH6T2LD7.js → YNMKRCJI.js} +2 -2
  324. package/dist/cdn/{BIY43HKH.js → YTZQHJWX.js} +2 -2
  325. package/dist/cdn/{ZHX7VEYW.js → YXQL3IPN.js} +2 -2
  326. package/dist/cdn/{GJSQZATY.js → ZBLGJ35H.js} +2 -2
  327. package/dist/cdn/{ENLO2GWV.js → ZKTW6VPN.js} +2 -2
  328. package/dist/cdn/{7XHILREC.js → ZOJSFAMZ.js} +2 -2
  329. package/dist/cdn/{B7Z7IL6G.js → ZR4Y7QSQ.js} +2 -2
  330. package/dist/cdn/ZTETANBH.js +4 -0
  331. package/dist/cdn/{DYEEC2D5.js → ZX3SVFKK.js} +1 -1
  332. package/dist/cdn/{FDUB7YQW.js → ZYAUUZNK.js} +2 -2
  333. package/dist/cdn/{TNGXI742.js → ZYDSFGZT.js} +2 -2
  334. package/dist/cdn/{HHEPHLGN.js → ZZ6ICIIG.js} +2 -2
  335. package/dist/cdn/index.js +2 -2
  336. package/dist/chunks/Auth.js +12 -18
  337. package/dist/chunks/Auth.js.map +1 -1
  338. package/dist/chunks/appConfig.js +1 -1
  339. package/dist/chunks/cardFetchingUtils.js +1 -1
  340. package/dist/chunks/cardsHelpers.js +1 -1
  341. package/dist/chunks/common.js +4 -4
  342. package/dist/chunks/deployAppContexts.js +1 -1
  343. package/dist/chunks/downloadUtils.js +1 -1
  344. package/dist/chunks/getItemIcon.js +1 -1
  345. package/dist/chunks/helpers.js +1 -1
  346. package/dist/chunks/interfaces.js +4 -4
  347. package/dist/chunks/mapViewUtils.js +1 -1
  348. package/dist/chunks/pciUtils.js +1 -1
  349. package/dist/chunks/popupUtils.js +1 -1
  350. package/dist/chunks/publicNotificationContext.js +1 -1
  351. package/dist/chunks/queryUtils.js +1 -1
  352. package/dist/chunks/runtime.js +1 -1
  353. package/dist/chunks/solutions-deploy-app-nav.js +1 -1
  354. package/dist/chunks/useT9n.js +1 -1
  355. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  356. package/dist/components/buffer-tools/customElement.js +1 -1
  357. package/dist/components/card-manager/customElement.js +1 -1
  358. package/dist/components/consent-manager/customElement.js +1 -1
  359. package/dist/components/create-feature/customElement.js +1 -1
  360. package/dist/components/create-related-feature/customElement.js +1 -1
  361. package/dist/components/crowdsource-manager/customElement.js +1 -1
  362. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  363. package/dist/components/deduct-calculator/customElement.js +1 -1
  364. package/dist/components/delete-button/customElement.js +1 -1
  365. package/dist/components/delete-dialog/customElement.js +1 -1
  366. package/dist/components/edit-card/customElement.js +1 -1
  367. package/dist/components/feature-details/customElement.js +1 -1
  368. package/dist/components/feature-list/customElement.js +1 -1
  369. package/dist/components/field-selection/customElement.js +1 -1
  370. package/dist/components/info-card/customElement.js +1 -1
  371. package/dist/components/layer-list/customElement.js +1 -1
  372. package/dist/components/layer-table/customElement.js +1 -1
  373. package/dist/components/map-basemap-gallery/customElement.js +1 -1
  374. package/dist/components/map-card/customElement.js +1 -1
  375. package/dist/components/map-draw-tools/customElement.js +1 -1
  376. package/dist/components/map-floor-filter/customElement.js +1 -1
  377. package/dist/components/map-fullscreen/customElement.js +1 -1
  378. package/dist/components/map-layer-picker/customElement.js +1 -1
  379. package/dist/components/map-legend/customElement.js +1 -1
  380. package/dist/components/map-picker/customElement.js +1 -1
  381. package/dist/components/map-search/customElement.js +1 -1
  382. package/dist/components/map-select-tools/customElement.js +1 -1
  383. package/dist/components/map-tools/customElement.js +1 -1
  384. package/dist/components/pci-calculator/customElement.js +1 -1
  385. package/dist/components/pdf-download/customElement.js +1 -1
  386. package/dist/components/public-notification/customElement.js +1 -1
  387. package/dist/components/refine-selection/customElement.js +1 -1
  388. package/dist/components/selection-tool/customElement.js +1 -1
  389. package/dist/components/solution-configure-titles/customElement.js +1 -1
  390. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  391. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  392. package/dist/components/solution-deployed-card/customElement.js +1 -1
  393. package/dist/components/solution-deployed-card-panel/customElement.js +1 -1
  394. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  395. package/dist/components/solution-details-card/customElement.js +1 -1
  396. package/dist/components/solution-details-panel/customElement.js +1 -1
  397. package/dist/components/solution-item-accordion/customElement.js +1 -1
  398. package/dist/components/solution-item-diagram/customElement.js +1 -1
  399. package/dist/components/solution-item-icon/customElement.js +1 -1
  400. package/dist/components/solution-resource-card/customElement.js +1 -1
  401. package/dist/components/solution-snapshot-gallery/customElement.js +4 -4
  402. package/dist/components/solution-social-share/customElement.js +1 -1
  403. package/dist/components/solutions-all-panel/customElement.js +1 -1
  404. package/dist/components/solutions-all-shell/customElement.js +1 -1
  405. package/dist/components/solutions-deploy-app/customElement.js +4 -4
  406. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
  407. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  408. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  409. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  410. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  411. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  412. package/dist/components/solutions-resources/customElement.js +1 -1
  413. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  414. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  415. package/dist/docs/api.json +1 -1
  416. package/dist/docs/docs.json +1 -1
  417. package/dist/docs/web-types.json +1 -1
  418. package/dist/index.js +1 -1
  419. package/dist/loader.js +1 -1
  420. package/dist/utils/Auth.d.ts +1 -1
  421. package/package.json +1 -1
  422. package/dist/cdn/2VTMM7J2.js +0 -4
  423. package/dist/cdn/4UVPMMUS.js +0 -4
  424. package/dist/cdn/5THOEI6G.js +0 -4
  425. package/dist/cdn/6OEN4GKR.js +0 -4
  426. package/dist/cdn/74VTWQOU.js +0 -4
  427. package/dist/cdn/75FQNFAG.js +0 -4
  428. package/dist/cdn/A5R4ZAU5.js +0 -4
  429. package/dist/cdn/APQJ2P75.js +0 -4
  430. package/dist/cdn/DTWRUODQ.js +0 -4
  431. package/dist/cdn/EFXW5CIN.js +0 -4
  432. package/dist/cdn/FIE754PU.js +0 -4
  433. package/dist/cdn/H4ZNBYKV.js +0 -4
  434. package/dist/cdn/JAOR4LEY.js +0 -4
  435. package/dist/cdn/JE2DVSAA.js +0 -4
  436. package/dist/cdn/KIL2VMH5.js +0 -4
  437. package/dist/cdn/KJ2D54A7.js +0 -4
  438. package/dist/cdn/QYTQNYPY.js +0 -4
  439. package/dist/cdn/UQ2TOSYN.js +0 -4
  440. package/dist/cdn/WP33VM65.js +0 -4
  441. package/dist/cdn/XPARYOWW.js +0 -4
  442. package/dist/cdn/YMYUAN54.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.58 */
4
- import e from"./LN73GFOU.js";import c from"./4I7CSRHB.js";import b from"./W6GM3GFD.js";import a from"./X4JTSXO2.js";import{a as m}from"./A7WRIV7Z.js";import{b as h}from"./AMZRY3PB.js";import"./XP4SAL3C.js";import{E as r,F as o,G as p,I as i,h as d,i as t}from"./DDDLSXKD.js";import"./SDOANVUZ.js";export default $arcgis.t(([,,{b:c},{r:y}])=>{var f=d`:host{display:block}:host .esri-legend__layer-table,:host .instant-apps-interactive-legend__nested-unique-symbol{margin:0}:host .hide{display:none}`,e={layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerTable:"esri-legend__layer-table",nestedUniqueSymbol:"instant-apps-interactive-legend__nested-unique-symbol",nonInteractive:"instant-apps-interactive-legend__non-interactive"},n=class extends p{constructor(){super(),this.legendLayerCaption=r(),this.expanded=!0,this.titleText="",this.listenOn(window,"legendLayerExpandUpdated",this.legendLayerExpandUpdatedEmitted)}static{this.properties={expanded:16,activeLayerInfo:0,isSizeRamp:5,isChild:5,isColorRamp:5,isRelationshipRamp:5,isInteractive:5,zoomTo:5,legendElement:0,titleText:1,legendvm:0,legendElementIndex:9}}static{this.styles=f}legendLayerExpandUpdatedEmitted(){this.legendLayerCaption.value&&(this.expanded=this.legendLayerCaption.value.expanded)}render(){let g=this.isChild?e.layerChildTable:e.layerTable,a=this.legendElement?.infos?.length===1&&!this.activeLayerInfo?.layer?.renderer?.field,v=(this.isSizeRamp||!this.isChild)&&!this.isColorRamp?` ${e.layerTableSizeRamp}`:"",$=this.isInteractive?"":` ${e.nonInteractive}`,x=y(this.activeLayerInfo)?` ${e.nestedUniqueSymbol}`:"",s=a&&!this.expanded&&!this.zoomTo?!0:this.expanded;if(this.isRelationshipRamp){let l=c.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id];s=l===void 0?!0:l}return t`<div class=${`${g}${v}${$}${x}`}><div .id=${`${this.activeLayerInfo?.layer?.id}-legend-element-caption`} class=${i(this.isRelationshipRamp||!this.titleText&&!this.zoomTo&&a?"hide":"show")}><instant-apps-interactive-legend-legend-element-caption .legendvm=${this.legendvm} .activeLayerInfo=${this.activeLayerInfo} .layer=${this.activeLayerInfo.layer} .titleText=${this.titleText} .legendElement=${this.legendElement} .legendElementIndex=${this.legendElementIndex} .zoomTo=${this.zoomTo} .isInteractive=${this.isInteractive} ${o(this.legendLayerCaption)}></instant-apps-interactive-legend-legend-element-caption></div>${m("content",t`<div .id=${`${this.activeLayerInfo?.layer?.id}-legend-element-content-${this.legendElementIndex}`} class=${i(s?"show":"hide")}><slot name=content></slot></div>`)}</div>`}};h("instant-apps-interactive-legend-legend-element",n);return n},a,b,c,e)
3
+ v1.2.0-next.59 */
4
+ import e from"./PTEYVE2O.js";import c from"./DEQAS2SR.js";import b from"./QVLTIXTS.js";import a from"./U32CZ5HV.js";import{a as m}from"./XLJX5VYK.js";import{b as h}from"./MZ7IE5RN.js";import"./VVHFDNIP.js";import{E as r,F as o,G as p,I as i,h as d,i as t}from"./HIH6KSUX.js";import"./UEQ2M7OE.js";export default $arcgis.t(([,,{b:c},{r:y}])=>{var f=d`:host{display:block}:host .esri-legend__layer-table,:host .instant-apps-interactive-legend__nested-unique-symbol{margin:0}:host .hide{display:none}`,e={layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerTable:"esri-legend__layer-table",nestedUniqueSymbol:"instant-apps-interactive-legend__nested-unique-symbol",nonInteractive:"instant-apps-interactive-legend__non-interactive"},n=class extends p{constructor(){super(),this.legendLayerCaption=r(),this.expanded=!0,this.titleText="",this.listenOn(window,"legendLayerExpandUpdated",this.legendLayerExpandUpdatedEmitted)}static{this.properties={expanded:16,activeLayerInfo:0,isSizeRamp:5,isChild:5,isColorRamp:5,isRelationshipRamp:5,isInteractive:5,zoomTo:5,legendElement:0,titleText:1,legendvm:0,legendElementIndex:9}}static{this.styles=f}legendLayerExpandUpdatedEmitted(){this.legendLayerCaption.value&&(this.expanded=this.legendLayerCaption.value.expanded)}render(){let g=this.isChild?e.layerChildTable:e.layerTable,a=this.legendElement?.infos?.length===1&&!this.activeLayerInfo?.layer?.renderer?.field,v=(this.isSizeRamp||!this.isChild)&&!this.isColorRamp?` ${e.layerTableSizeRamp}`:"",$=this.isInteractive?"":` ${e.nonInteractive}`,x=y(this.activeLayerInfo)?` ${e.nestedUniqueSymbol}`:"",s=a&&!this.expanded&&!this.zoomTo?!0:this.expanded;if(this.isRelationshipRamp){let l=c.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id];s=l===void 0?!0:l}return t`<div class=${`${g}${v}${$}${x}`}><div .id=${`${this.activeLayerInfo?.layer?.id}-legend-element-caption`} class=${i(this.isRelationshipRamp||!this.titleText&&!this.zoomTo&&a?"hide":"show")}><instant-apps-interactive-legend-legend-element-caption .legendvm=${this.legendvm} .activeLayerInfo=${this.activeLayerInfo} .layer=${this.activeLayerInfo.layer} .titleText=${this.titleText} .legendElement=${this.legendElement} .legendElementIndex=${this.legendElementIndex} .zoomTo=${this.zoomTo} .isInteractive=${this.isInteractive} ${o(this.legendLayerCaption)}></instant-apps-interactive-legend-legend-element-caption></div>${m("content",t`<div .id=${`${this.activeLayerInfo?.layer?.id}-legend-element-content-${this.legendElementIndex}`} class=${i(s?"show":"hide")}><slot name=content></slot></div>`)}</div>`}};h("instant-apps-interactive-legend-legend-element",n);return n},a,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.58 */
3
+ v1.2.0-next.59 */
4
4
  var H=(c=>(c.H="H",c.M="M",c.L="L",c))(H||{}),O=(c=>(c[c.ALLIGATOR_CRACKING=1]="ALLIGATOR_CRACKING",c[c.BLEEDING=2]="BLEEDING",c[c.BLOCK_CRACKING=3]="BLOCK_CRACKING",c[c.BUMPS_SAGS=4]="BUMPS_SAGS",c[c.CORRUGATION=5]="CORRUGATION",c[c.DEPRESSION=6]="DEPRESSION",c[c.EDGE_CRACKING=7]="EDGE_CRACKING",c[c.REFLECTION_CRACKING=8]="REFLECTION_CRACKING",c[c.LANE_SHOULDER_DROP_OFF=9]="LANE_SHOULDER_DROP_OFF",c[c.LONG_TRANS_CRACKING=10]="LONG_TRANS_CRACKING",c[c.PATCHING_UTIL_CUT_PATCHING=11]="PATCHING_UTIL_CUT_PATCHING",c[c.POLISHED_AGGREGATE=12]="POLISHED_AGGREGATE",c[c.POTHOLES=13]="POTHOLES",c[c.RAILROAD_CROSSING=14]="RAILROAD_CROSSING",c[c.RUTTING=15]="RUTTING",c[c.SHOVING=16]="SHOVING",c[c.SLIPPAGE_CRACKING=17]="SLIPPAGE_CRACKING",c[c.SWELL=18]="SWELL",c[c.RAVELING=19]="RAVELING",c[c.WEATHERING=20]="WEATHERING",c))(O||{});function L(c,n,o,t=!1){let l=Number.parseInt(c),a=H[n],u=Number.parseFloat(o.toString());if(Number.isNaN(u)||u===0)return"";let r=t===!0||t.toString().toLowerCase()==="true",e;switch(l){case 1:e=$;break;case 2:e=k;break;case 3:e=K;break;case 4:e=U;break;case 5:e=F;break;case 6:e=p;break;case 7:e=x;break;case 8:e=B;break;case 9:e=j;break;case 10:e=W;break;case 11:e=q;break;case 12:e=E;break;case 13:e=z;break;case 14:e=J;break;case 15:e=Q;break;case 16:e=X;break;case 17:e=Y;break;case 18:e=Z;break;case 19:e=w;break;case 20:e=T;break}if(e){let C=e(a,Math.log10(u)),s=g(C),f=`${c}|${n}|${s}|${u}`;return r&&(console.log(`Deduct value: ${C}`),console.log(`Rounded deduct value: ${s}`),console.log(`Formatted devduct value (type|severity|roundedDV|density): ${f}`)),f}else return""}function G(c,n=!1){let o=c.indexOf("|")>-1?M(c,n):c.split(",").map(a=>Number.parseFloat(a)),t=n===!0||n.toString().toLowerCase()==="true",l=0;if(o=o.filter(a=>Math.abs(a)>0),o.length>0){let a=D(o,t);a!==void 0&&(l=100-g(a))}return l}function M(c,n){let o={},t=m(c),l=Object.keys(t).filter(a=>Object.keys(t[a]).length>1);return l.length>0&&l.forEach(a=>{let u,r,e,C,s,f;if(Object.keys(t[a]).forEach(d=>{d==="H"?(u=t[a][d].deductValue,C=t[a][d].density):d==="M"?(r=t[a][d].deductValue,s=t[a][d].density):(e=t[a][d].deductValue,f=t[a][d].density)}),u!==void 0&&r!==void 0&&e!==void 0&&C!==void 0&&s!==void 0&&f!==void 0){let _=(C&&s&&f?V:P)(a,u,r,e,C,s,f,n);_&&(o[a]=_,n&&(console.log("updates"),console.log(o)))}}),b(c,o)}function V(c,n,o,t,l,a,u,r){let e=G(`${n},${o},${t}`,!0);r&&(console.log("pci1"),console.log(e));let C=u+a,s=I(c,"M",C.toString(),n,r),f=a+l,d=I(c,"H",f.toString(),t,r),_=u+l,N=I(c,"H",_.toString(),o,r),v=u+a+l,h=I(c,"H",v.toString(),0,r);r&&(console.log("low med pci2"),console.log(s.pci),console.log("med high pci2"),console.log(d.pci),console.log("low high pci2"),console.log(N.pci),console.log("low med high pci2"),console.log(h.pci));let S=[s,d,N,h].reduce((R,A)=>A.pci>e&&(!R||A.pci>R.pci)?A:R,void 0);return S?S.dv:void 0}function P(c,n,o,t,l,a,u,r){let s=G(`${n||o},${t||o}`,!0);r&&(console.log("pci1"),console.log(s));let f=l||a,_=f+(u||a),v=I(c,f===l?"H":"M",_.toString(),0,r);return r&&(console.log("pci2"),console.log(v.pci)),v.pci>s?v.dv:void 0}function I(c,n,o,t,l){let u=L(c,n,o).split("|"),r=Number.parseFloat(u[2]);return{pci:G(`${u[2]},${t}`,l),dv:t?[r,t]:[r]}}function m(c){return c.split(",").reduce((n,o)=>{let t=o.split("|"),l=t[0],a=t[1],u=Number.parseFloat(t[2]),r=Number.parseFloat(t[3]);return n[l]||(n[l]={}),n[l][a]={deductValue:u,density:r},n},{})}function b(c,n){let o=[];return c.split(",").reduce((t,l)=>{let a=l.split("|"),u=a[0],r=Number.parseFloat(a[2]);return Object.keys(n).length>0&&n[u]?(o.push(u),t.push(...n[u]),delete n[u]):o.indexOf(u)<0&&t.push(r),t},[])}function i(c,n){return n.reduce((o,t,l)=>o+=l===0?t:l===1?t*c:t*Math.pow(c,l),0)}function g(c){return Math.round(c*10)/10}function $(c,n){return i(n,c==="H"?[30.71,29.22,9.407,-6.981,-2.158,3.047,-.6578]:c==="M"?[21.62,21.32,5.194,-1.343,.2341]:[11.31,16.05,7.572,-1.471])}function k(c,n){return i(n,c==="H"?[5.343,6.927,7.926,4.265,-.7582]:c==="M"?[2.38,5.483,4.128,.8366,.03659,.1052]:[.01391,.5079,1.576,1.191,.1329,.03823])}function K(c,n){return i(n,c==="H"?[7.926,11.93,8.826,3.432,-1.382]:c==="M"?[2.587,9.142,6.647,-.455,-.2439,.1107]:[.646,4.002,4.2,.4987,-.06269])}function U(c,n){return i(n,c==="H"?[52.77,38.07,8.964,-.4148,-1.589,2.478]:c==="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 F(c,n){return i(n,c==="H"?[34.21,21.59,1.863,6.141,-.687,-1.885,.4916]:c==="M"?[15.78,19.69,6.276,-2.124,.5868,.06045]:[2.173,5.609,5.976,-.7348,-.2172,1.494,-.5659])}function p(c,n){return i(n,c==="H"?[17.84,5.904,9.406,18.28,-2.753,-7.798,2.402]:c==="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 x(c,n){return i(n,c==="H"?[14.99,13.5,10.62,5.15,-1.792,-2.826]:c==="M"?[9.177,10.26,5.704,-.6812,-.8588,.2123]:[3.049,4.802,4.058,-.3556,-1.55,1.02])}function B(c,n){return i(n,c==="H"?[14.99,17.21,27.63,31.13,-20.94,-18.82,9.985]:c==="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 j(c,n){return i(n,c==="H"?[7.549,6.907,7.284,9.304,2.064]:c==="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 W(c,n){return i(n,c==="H"?[19.56,24.06,12.12,9.336,1.532,-4.396]:c==="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 q(c,n){return i(n,c==="H"?[20.15,16.55,5.415,10.77,3.257,-4.502]:c==="M"?[10.28,12.71,6.174,1.928,.6923,-.4673]:[2.523,6.892,5.702,2.407,.2185,-.8722])}function E(c,n){return i(n,c==="H"||c==="M"||c==="L"?[3.417,-26.82,71.15,-76.22,38.52,-6.904]:[])}function z(c,n){return i(n,c==="H"?[110.7,60.66,2.378,-2.664]:c==="M"?[90.47,60.41,-.1123,-4.746]:[58.19,40.53,2.884,-1.443,.1195])}function J(c,n){return i(n,c==="H"?[20,38.64,-62.82,193.6,-162.7,41.22]:c==="M"?[6.994,23.47,-52.3,167.3,-143.6,37.64]:[1.998,-.7488,13.8,-.7917,-1.981])}function Q(c,n){return i(n,c==="H"?[27.61,25.19,8.557,1.65,-2.203]:c==="M"?[18.47,20.77,6.617,-1.13,-2.286]:[8.833,14.84,3.129,.1451,2.438,-1.279])}function X(c,n){return i(n,c==="H"?[18.7,20.17,10.3,4.694,1.331,-2.61]:c==="M"?[10.39,14.78,5.488,4.001,3.23,-2.387]:[4.002,10.66,6.332,-.5226,-.1923])}function Y(c,n){return i(n,c==="H"?[19.73,32.21,25.87,-2.871,-10.55,1.496,.7393]:c==="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 Z(c,n){return i(n,c==="H"?[34,16.84,-23.09,41.17,-14.84]:c==="M"?[12,15.67,20.59,-28.33,21,-5.508]:[1.995,11.9,-12.83,16.74,-5.361])}function w(c,n){return i(n,c==="H"?[16.77,10.67,5.758,12.9,-.0633,-5.659,1.48]:c==="M"?[8.512,5.106,1.63,3.469,1.028,-1.211,.1938]:[])}function T(c,n){return i(n,c==="H"?[3.673,3.349,2.598,-1.233,2.754,2.434,-1.485]:c==="M"?[1.12,.9769,.93,-.5955,1.041,1.111,-.614]:[-.0386,-.0736,.834,1.63,-.0287,-.639,.1515])}function D(c,n){let o,t=c.filter(l=>l>2);if(t.length<=1)o=t.reduce((l,a)=>(l+=a,l),0),n&&(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: ${o}`));else{let l=c.sort((r,e)=>e-r),a=l[0],u=1+9/98*(100-a);if(n&&(console.log(`Deduct values sorted in descending order: ${l}`),console.log(`Highest deduct value: ${a}`),console.log(`Allowable number of deducts including fractions: ${u}`)),u<=10){let r=y(l,u);n&&console.log(`Reduce deduct values to the m largest including the fractional part: ${r}`);let e=cc(r,n);o=Math.max(...e),n&&console.log(`Max CDV: ${o}`)}else n&&console.log("Allowable number of deducts including fractions (must be less than or equal to ten)")}return o}function y(c,n){let o=n-Math.floor(n);return c.length<n?c:c.reduce((t,l,a)=>(a+1<n?t.push(l):o>0&&t.push(g(l*o)),t),[])}function cc(c,n){let o=c.length,t=[];for(;o>=1;)n&&console.log(`vals: ${c}`),t.push(nc(c,n)),o-=1,c.splice(o,1,2);return t}function nc(c,n){let o=c.reduce((l,a)=>l+=a,0),t=c.reduce((l,a)=>a>2?l+1:l,0);return oc(o,t,n)}function oc(c,n,o){let l=i(c,{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]}[n>=7?7:n]);return o&&(console.log(`totalDV: ${c}`),console.log(`q: ${n}`),console.log(`CDV: ${l}`)),l}export{H as a,O as b,L as c,G 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.58 */
4
- import{c as r}from"./AMZRY3PB.js";import{b as o}from"./5YKIZCPZ.js";var s=o(r);export{s as a};
3
+ v1.2.0-next.59 */
4
+ import{c as r}from"./MZ7IE5RN.js";import{b as o}from"./X65LJF4A.js";var s=o(r);export{s 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.58 */
4
- import"./SDOANVUZ.js";var t={type:"object",required:[],properties:{entityId:{type:"array",items:{type:"string"},maxItems:1},callToActionText:{type:"string"},callToActionAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonText:{type:"string",default:"Follow"},unfollowButtonText:{type:"string",default:"Unfollow"},buttonAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonStyle:{type:"string",enum:["solid","outline-fill"],default:"solid"}}};export{t as FollowSchema};
3
+ v1.2.0-next.59 */
4
+ import"./UEQ2M7OE.js";var t={type:"object",required:[],properties:{entityId:{type:"array",items:{type:"string"},maxItems:1},callToActionText:{type:"string"},callToActionAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonText:{type:"string",default:"Follow"},unfollowButtonText:{type:"string",default:"Unfollow"},buttonAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonStyle:{type:"string",enum:["solid","outline-fill"],default:"solid"}}};export{t as FollowSchema};
@@ -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.58 */
4
- import i from"./LN73GFOU.js";import e from"./4I7CSRHB.js";import b from"./W6GM3GFD.js";import a from"./X4JTSXO2.js";import{a as c}from"./A7WRIV7Z.js";import{a as v}from"./6KZ7KUJS.js";import{b as f}from"./AMZRY3PB.js";import"./5YKIZCPZ.js";import"./XP4SAL3C.js";import{E as m,F as p,G as g,I as o,h as d,i as r,t as h}from"./DDDLSXKD.js";import"./SDOANVUZ.js";export default $arcgis.t(([a,_,L,b,C,,,{b:w},{t:y}])=>{var I=d`@layer{instant-apps-interactive-legend{display:block;height:100%}instant-apps-interactive-legend .esri-legend{height:100%;background-color:var(--calcite-color-foreground-1)!important;color:var(--calcite-color-text-1)!important}instant-apps-interactive-legend .esri-legend.esri-component.esri-widget.esri-widget--panel{margin:0}instant-apps-interactive-legend .esri-legend__layer,instant-apps-interactive-legend .esri-legend__layer-body{margin-left:0!important}instant-apps-interactive-legend .esri-legend__layer-row{box-sizing:border-box!important}}`,A={esri:{base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component"}},l=class extends g{constructor(){super(...arguments),this._messages=v({name:"instant-apps-interactive-legend"}),this.ref=m(),this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1}static{this.properties={handles:16,legendvm:16,widget:16,view:0,zoomTo:5,featureCount:5,filterMode:0,compact:5}}static{this.styles=I}static{this.shadowRootOptions=h}async load(){this.compactHandler(),new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0}),await this.initializeModules()}willUpdate(e){(e.has("handles")||e.has("view"))&&this.init(),e.has("compact")&&(this.hasUpdated||this.compact)&&this.compactHandler()}async initializeModules(){this.handles=new _,this.widget=new L({});let e=new b({});return await a.whenOnce(()=>e?.messages),this._messages={...this._messages,...e.messages},await Promise.resolve()}async init(){if(!(!this.view||!this.handles))try{let{on:e,whenOnce:i}=a,s=this.view?.map?.allLayers?.map(async u=>await u.load());await Promise.allSettled(s),await i(()=>this.view?.ready);let t={view:this.view,respectLayerDefinitionExpression:!0},n=new C(t);this.legendvm=n,this.handles.add([e(()=>this.legendvm?.activeLayerInfos,"change",()=>this._refreshActiveLayerInfos(this?.legendvm?.activeLayerInfos))])}catch(e){console.error('Failed at "init": ',e)}}compactHandler(){w.set("compact",this.compact)}_refreshActiveLayerInfos(e){e&&(this.handles.removeAll(),e.forEach(i=>this._renderOnActiveLayerInfoChange(i)))}render(){let{base:e,component:i,widget:s,widgetPanel:t}=A.esri;return c("interactive-legend",r`<div class=${o(this.widget?.classes(e,i,s,t))}>${this.legendvm?c("interactive-legend-classic",r`<instant-apps-interactive-legend-classic class=${o(y(this.el))} .legendvm=${this.legendvm} .zoomTo=${this.zoomTo} .filterMode=${this.filterMode} .featureCount=${this.featureCount} .messages=${this._messages} ${p(this.ref)}></instant-apps-interactive-legend-classic>`):null}</div>`)}_renderOnActiveLayerInfoChange(e){let{on:i}=a,s=i(()=>e.children,"change",()=>e.children.forEach(t=>this._renderOnActiveLayerInfoChange(t)));this.handles.add(s,`children_${e?.layer?.uid}`),e.children.forEach(t=>{this._renderOnActiveLayerInfoChange(t),t?.children?.length>0&&t?.children?.forEach(n=>this._renderOnActiveLayerInfoChange(n))})}};f("instant-apps-interactive-legend",l);return l},"core/reactiveUtils","core/Handles","widgets/Widget","widgets/Legend","widgets/Legend/LegendViewModel",a,b,e,i)
3
+ v1.2.0-next.59 */
4
+ import i from"./PTEYVE2O.js";import e from"./DEQAS2SR.js";import b from"./QVLTIXTS.js";import a from"./U32CZ5HV.js";import{a as c}from"./XLJX5VYK.js";import{a as v}from"./BAV2DQ4A.js";import{b as f}from"./MZ7IE5RN.js";import"./X65LJF4A.js";import"./VVHFDNIP.js";import{E as m,F as p,G as g,I as o,h as d,i as r,t as h}from"./HIH6KSUX.js";import"./UEQ2M7OE.js";export default $arcgis.t(([a,_,L,b,C,,,{b:w},{t:y}])=>{var I=d`@layer{instant-apps-interactive-legend{display:block;height:100%}instant-apps-interactive-legend .esri-legend{height:100%;background-color:var(--calcite-color-foreground-1)!important;color:var(--calcite-color-text-1)!important}instant-apps-interactive-legend .esri-legend.esri-component.esri-widget.esri-widget--panel{margin:0}instant-apps-interactive-legend .esri-legend__layer,instant-apps-interactive-legend .esri-legend__layer-body{margin-left:0!important}instant-apps-interactive-legend .esri-legend__layer-row{box-sizing:border-box!important}}`,A={esri:{base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component"}},l=class extends g{constructor(){super(...arguments),this._messages=v({name:"instant-apps-interactive-legend"}),this.ref=m(),this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1}static{this.properties={handles:16,legendvm:16,widget:16,view:0,zoomTo:5,featureCount:5,filterMode:0,compact:5}}static{this.styles=I}static{this.shadowRootOptions=h}async load(){this.compactHandler(),new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0}),await this.initializeModules()}willUpdate(e){(e.has("handles")||e.has("view"))&&this.init(),e.has("compact")&&(this.hasUpdated||this.compact)&&this.compactHandler()}async initializeModules(){this.handles=new _,this.widget=new L({});let e=new b({});return await a.whenOnce(()=>e?.messages),this._messages={...this._messages,...e.messages},await Promise.resolve()}async init(){if(!(!this.view||!this.handles))try{let{on:e,whenOnce:i}=a,s=this.view?.map?.allLayers?.map(async u=>await u.load());await Promise.allSettled(s),await i(()=>this.view?.ready);let t={view:this.view,respectLayerDefinitionExpression:!0},n=new C(t);this.legendvm=n,this.handles.add([e(()=>this.legendvm?.activeLayerInfos,"change",()=>this._refreshActiveLayerInfos(this?.legendvm?.activeLayerInfos))])}catch(e){console.error('Failed at "init": ',e)}}compactHandler(){w.set("compact",this.compact)}_refreshActiveLayerInfos(e){e&&(this.handles.removeAll(),e.forEach(i=>this._renderOnActiveLayerInfoChange(i)))}render(){let{base:e,component:i,widget:s,widgetPanel:t}=A.esri;return c("interactive-legend",r`<div class=${o(this.widget?.classes(e,i,s,t))}>${this.legendvm?c("interactive-legend-classic",r`<instant-apps-interactive-legend-classic class=${o(y(this.el))} .legendvm=${this.legendvm} .zoomTo=${this.zoomTo} .filterMode=${this.filterMode} .featureCount=${this.featureCount} .messages=${this._messages} ${p(this.ref)}></instant-apps-interactive-legend-classic>`):null}</div>`)}_renderOnActiveLayerInfoChange(e){let{on:i}=a,s=i(()=>e.children,"change",()=>e.children.forEach(t=>this._renderOnActiveLayerInfoChange(t)));this.handles.add(s,`children_${e?.layer?.uid}`),e.children.forEach(t=>{this._renderOnActiveLayerInfoChange(t),t?.children?.length>0&&t?.children?.forEach(n=>this._renderOnActiveLayerInfoChange(n))})}};f("instant-apps-interactive-legend",l);return l},"core/reactiveUtils","core/Handles","widgets/Widget","widgets/Legend","widgets/Legend/LegendViewModel",a,b,e,i)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.58 */
3
+ v1.2.0-next.59 */
4
4
  var n="'Avenir Next','Avenir','Helvetica Neue',sans-serif";function t(e){return e||n}export{t as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.58 */
4
- import"./SDOANVUZ.js";var s=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.allowRegistration.label`,scope:"/properties/allowRegistration",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.allowRegistration.helperText`},labels:[`{{${e}.fields.allowRegistration.enabled.label:translate}}`,`{{${e}.fields.allowRegistration.disabled.label:translate}}`],descriptions:[`{{${e}.fields.allowRegistration.enabled.description:translate}}`,`{{${e}.fields.allowRegistration.disabled.description:translate}}`],icons:["user-calendar","circle-disallowed"],layout:"horizontal"}},{labelKey:`${e}.fields.notifyAttendees.label`,scope:"/properties/notifyAttendees",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.notifyAttendees.helperText`},labels:[`{{${e}.fields.notifyAttendees.enabled.label:translate}}`,`{{${e}.fields.notifyAttendees.disabled.label:translate}}`],descriptions:[`{{${e}.fields.notifyAttendees.enabled.description:translate}}`,`{{${e}.fields.notifyAttendees.disabled.description:translate}}`],icons:["envelope","circle-disallowed"],layout:"horizontal"}}]}]});export{s as buildUiSchema};
3
+ v1.2.0-next.59 */
4
+ import"./UEQ2M7OE.js";var s=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.allowRegistration.label`,scope:"/properties/allowRegistration",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.allowRegistration.helperText`},labels:[`{{${e}.fields.allowRegistration.enabled.label:translate}}`,`{{${e}.fields.allowRegistration.disabled.label:translate}}`],descriptions:[`{{${e}.fields.allowRegistration.enabled.description:translate}}`,`{{${e}.fields.allowRegistration.disabled.description:translate}}`],icons:["user-calendar","circle-disallowed"],layout:"horizontal"}},{labelKey:`${e}.fields.notifyAttendees.label`,scope:"/properties/notifyAttendees",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.notifyAttendees.helperText`},labels:[`{{${e}.fields.notifyAttendees.enabled.label:translate}}`,`{{${e}.fields.notifyAttendees.disabled.label:translate}}`],descriptions:[`{{${e}.fields.notifyAttendees.enabled.description:translate}}`,`{{${e}.fields.notifyAttendees.disabled.description:translate}}`],icons:["envelope","circle-disallowed"],layout:"horizontal"}}]}]});export{s as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.58 */
4
- import{a as e}from"./Z7KTVGAF.js";function i(r,n,o){let t=e(r,n);return t!==void 0?t:o}export{i as a};
3
+ v1.2.0-next.59 */
4
+ import{a as e}from"./VLXWVYFE.js";function i(r,n,o){let t=e(r,n);return t!==void 0?t:o}export{i as a};
@@ -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.58 */
4
- import{b as F}from"./C33X3FC7.js";import{a as u}from"./A7WRIV7Z.js";import b from"./TNV2AQ25.js";import{b as I,d as N}from"./SP5YNXGS.js";import{a as A}from"./EILFB4VN.js";import{b as f}from"./3VXAHXSN.js";import{G as E,h as S,i as a,q as _}from"./DDDLSXKD.js";export default $arcgis.t(([{m:m}])=>{var v=S`/** @license
3
+ v1.2.0-next.59 */
4
+ import{b as F}from"./EHKQB23N.js";import{a as u}from"./XLJX5VYK.js";import b from"./4WQLUSGK.js";import{b as I,d as N}from"./OV44LC7H.js";import{a as A}from"./KWUHBUOY.js";import{b as f}from"./H2A4E2V5.js";import{G as E,h as S,i as a,q as _}from"./HIH6KSUX.js";export default $arcgis.t(([{m:m}])=>{var v=S`/** @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.58 */
4
- import"./SDOANVUZ.js";var e="You do not have enough credits to perform this operation. Contact your ArcGIS System Administrator for assistance.",a="This tool was published from a notebook. Access to ArcGIS Notebooks is blocked for your organization. Contact your administrator to adjust the setting.",r="${ dataPath } must not have ${ additionalProperty }.",t="${ dataPath } must match the schema of one of these: ${ schemaOptions }.",o="Try saving the map again.",s="Credit Estimation failed. Scroll down, correct the errors, and estimate the credits again.",i="An error occurred while running analysis.",n="${ dataPath } must be equal to one of these allowed values: ${ allowedValues }.",l="Failed to save analysis history",d="The history storage is full. Remove some items from analysis history and try saving again.",m="The service name contains one or more invalid characters.",c="Saving the temporary layer as a hosted feature layer did not complete.",h="Failed to get key properties.",u="Failed to load the layer.",y="Layer is not available.",p="${ dataPath } must not have more than ${ limit } items.",v="An error occurred while saving the model. Try saving again.",f="${ dataPath } must not have fewer than ${ limit } items.",g="${ dataPath } must not be shorter than ${ limit } characters.",E="Failed to load the model item. Ensure that the model exists and that access permission has been granted.",P="Failed to complete request.",S="You do not have permission to run this tool. <calcite-link target='_blank' href='${ docLink }'>Learn more</calcite-link>",F="Failed to log in to portal.",b="Failed to read input data.",T="${ dataPath } is missing a property named ${ missingProperty }.",$="A result layer already exists with this name. Result layers must be named uniquely across the organization. Please use a different name.",k="The output name contains one or more invalid characters. <a href='${docLink}' target='_blank'>Learn more.</a>",w="Publishing the temporary layer as a hosted layer failed due to one or more invalid fields. Rerun the tool to create a layer with valid fields.",I="Job submission failed. Scroll down, correct the errors, and run the analysis again.",L="${ dataPath } must have at least one non-whitespace character.",A={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:c,keyPropertiesError:h,layerLoadFailure:u,layerUnavailable:y,maxItems:p,mbFailedToSave:v,minItems:f,minLength:g,modelNotFound:E,networkError:P,noPermissionToAccessTool:S,portalLoadError:F,queryFeaturesError:b,requiredProperty:T,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:w,toolValidationError:I,whiteSpacePattern:L};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,A as default,i as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,c as hostedFeatureServicePublishDidNotComplete,h as keyPropertiesError,u as layerLoadFailure,y as layerUnavailable,p as maxItems,v as mbFailedToSave,f as minItems,g as minLength,E as modelNotFound,P as networkError,S as noPermissionToAccessTool,F as portalLoadError,b as queryFeaturesError,T as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,w as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
3
+ v1.2.0-next.59 */
4
+ import"./UEQ2M7OE.js";var e="You do not have enough credits to perform this operation. Contact your ArcGIS System Administrator for assistance.",a="This tool was published from a notebook. Access to ArcGIS Notebooks is blocked for your organization. Contact your administrator to adjust the setting.",r="${ dataPath } must not have ${ additionalProperty }.",t="${ dataPath } must match the schema of one of these: ${ schemaOptions }.",o="Try saving the map again.",s="Credit Estimation failed. Scroll down, correct the errors, and estimate the credits again.",i="An error occurred while running analysis.",n="${ dataPath } must be equal to one of these allowed values: ${ allowedValues }.",l="Failed to save analysis history",d="The history storage is full. Remove some items from analysis history and try saving again.",m="The service name contains one or more invalid characters.",c="Saving the temporary layer as a hosted feature layer did not complete.",h="Failed to get key properties.",u="Failed to load the layer.",y="Layer is not available.",p="${ dataPath } must not have more than ${ limit } items.",v="An error occurred while saving the model. Try saving again.",f="${ dataPath } must not have fewer than ${ limit } items.",g="${ dataPath } must not be shorter than ${ limit } characters.",E="Failed to load the model item. Ensure that the model exists and that access permission has been granted.",P="Failed to complete request.",S="You do not have permission to run this tool. <calcite-link target='_blank' href='${ docLink }'>Learn more</calcite-link>",F="Failed to log in to portal.",b="Failed to read input data.",T="${ dataPath } is missing a property named ${ missingProperty }.",$="A result layer already exists with this name. Result layers must be named uniquely across the organization. Please use a different name.",k="The output name contains one or more invalid characters. <a href='${docLink}' target='_blank'>Learn more.</a>",w="Publishing the temporary layer as a hosted layer failed due to one or more invalid fields. Rerun the tool to create a layer with valid fields.",I="Job submission failed. Scroll down, correct the errors, and run the analysis again.",L="${ dataPath } must have at least one non-whitespace character.",A={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:c,keyPropertiesError:h,layerLoadFailure:u,layerUnavailable:y,maxItems:p,mbFailedToSave:v,minItems:f,minLength:g,modelNotFound:E,networkError:P,noPermissionToAccessTool:S,portalLoadError:F,queryFeaturesError:b,requiredProperty:T,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:w,toolValidationError:I,whiteSpacePattern:L};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,A as default,i as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,c as hostedFeatureServicePublishDidNotComplete,h as keyPropertiesError,u as layerLoadFailure,y as layerUnavailable,p as maxItems,v as mbFailedToSave,f as minItems,g as minLength,E as modelNotFound,P as networkError,S as noPermissionToAccessTool,F as portalLoadError,b as queryFeaturesError,T as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,w 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.58 */
4
- import{a}from"./2JMDZ7AF.js";import"./HP7DU64C.js";import"./PVU32TZP.js";import"./4XD6PCBC.js";import"./VYZUZOMD.js";import{a as s,b as r}from"./WLLNA456.js";import"./AZRP3N5H.js";import"./QPIYG6F2.js";import"./YEGWOY5I.js";import{a as o}from"./GCVFLPQR.js";import{a as i}from"./FAF5GARG.js";import"./AT3ALZQZ.js";import"./EQJN42GX.js";import"./AKN643ZB.js";import"./X2L3BFS3.js";import"./Z7KTVGAF.js";import"./U5NE7U5J.js";import"./XY4LJTGQ.js";import"./N2TYDHDC.js";import"./ZZZBDC7A.js";import"./GAC6BSUB.js";import"./HG7T7PHS.js";import"./42C7BE3F.js";import"./KPJBHRSA.js";import"./SMHR3QQS.js";import"./EI5V4JLS.js";import"./SYM5MBKE.js";import"./RIAU64W6.js";import"./BFBCAE2T.js";import"./XQOS32KH.js";import"./T3OQ5LVL.js";import"./IROALDFS.js";import"./QQMYQHQC.js";import"./M2GKHHAY.js";import"./CGT7XT64.js";import"./CVMRBYVW.js";import"./AI44GZE3.js";import"./WF3YS56U.js";import"./FCCQVZAG.js";import"./SDOANVUZ.js";var c=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basic.title`,options:{helperText:{labelKey:`${e}.sections.basic.helperText`}},elements:[{labelKey:`${e}.fields.title.label`,scope:"/properties/name",type:"Control",options:{helperText:{labelKey:`${e}.fields.title.hint`},messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.title.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,t.thumbnail,t.thumbnailUrl,"content",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]},{labelKey:`${e}.fields.license.label`,scope:"/properties/licenseInfo",type:"Control",options:{control:"arcgis-hub-license-picker"}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await s(t.location,l.hubRequestOptions),options:await r(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{c as buildUiSchema};
3
+ v1.2.0-next.59 */
4
+ import{a}from"./6YPLG3FF.js";import"./3BQF3XCQ.js";import"./S3HX5IPM.js";import"./ISA5XXM5.js";import"./XARJKYUN.js";import{a as s,b as r}from"./ISORN3KD.js";import"./6DPMFNGR.js";import"./B57ADFKI.js";import"./UCYWBULG.js";import{a as o}from"./K6WR5EDK.js";import{a as i}from"./CGAFT2XD.js";import"./A2SSHOEE.js";import"./LLGXL2FM.js";import"./SB345CLE.js";import"./BV67KGE3.js";import"./VLXWVYFE.js";import"./3ROAGKJU.js";import"./H7HNI5VC.js";import"./MNRZLJQR.js";import"./26CCKO42.js";import"./NMKEXRKI.js";import"./7DBUXIIV.js";import"./CJPCNBVG.js";import"./LVXMAQMH.js";import"./LJGIMINH.js";import"./Q45TPXYT.js";import"./3DQJP7MM.js";import"./FEFR3FRY.js";import"./ODE7EDZN.js";import"./CUKHOOVQ.js";import"./3KR4IDMY.js";import"./T23F3H3W.js";import"./W5OTI4GJ.js";import"./VUW4NIX5.js";import"./HFNJDY5O.js";import"./WNFSWEYG.js";import"./L7SW75RR.js";import"./V7HEDLHM.js";import"./N4S2GKS4.js";import"./UEQ2M7OE.js";var c=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basic.title`,options:{helperText:{labelKey:`${e}.sections.basic.helperText`}},elements:[{labelKey:`${e}.fields.title.label`,scope:"/properties/name",type:"Control",options:{helperText:{labelKey:`${e}.fields.title.hint`},messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.title.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,t.thumbnail,t.thumbnailUrl,"content",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]},{labelKey:`${e}.fields.license.label`,scope:"/properties/licenseInfo",type:"Control",options:{control:"arcgis-hub-license-picker"}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await s(t.location,l.hubRequestOptions),options:await r(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{c as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.58 */
4
- import{a,b}from"./SMHR3QQS.js";import"./AI44GZE3.js";import"./WF3YS56U.js";import"./FCCQVZAG.js";import"./SDOANVUZ.js";export{a as SurveyEditorTypes,b as SurveySchema};
3
+ v1.2.0-next.59 */
4
+ import{a,b}from"./LJGIMINH.js";import"./L7SW75RR.js";import"./V7HEDLHM.js";import"./N4S2GKS4.js";import"./UEQ2M7OE.js";export{a as SurveyEditorTypes,b as SurveySchema};
@@ -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.58 */
4
- import b from"./OKZPQ4WI.js";import a from"./TNV2AQ25.js";import"./SP5YNXGS.js";import"./HJ53IYUO.js";import"./6HU76Z6T.js";import"./T4VMBEPD.js";import"./JJ3OQ55Q.js";import"./U4MH6M6Q.js";import"./PXQCRMDJ.js";import"./GJSQZATY.js";import"./IEYFX7PM.js";import"./ADX4P2WO.js";import"./HP7DU64C.js";import"./PVU32TZP.js";import"./4XD6PCBC.js";import"./VYZUZOMD.js";import"./QPIYG6F2.js";import"./YEGWOY5I.js";import"./AT3ALZQZ.js";import"./EQJN42GX.js";import"./AKN643ZB.js";import"./X2L3BFS3.js";import"./Z7KTVGAF.js";import"./N2TYDHDC.js";import"./EILFB4VN.js";import"./5YKIZCPZ.js";import"./XP4SAL3C.js";import{b as f}from"./3VXAHXSN.js";import{E as c,F as p,G as g,h as m,i as o,q as h,t as _}from"./DDDLSXKD.js";import"./SDOANVUZ.js";export default $arcgis.t(([C,F,,{f:b}])=>{var I=m`@layer{
3
+ v1.2.0-next.59 */
4
+ import b from"./TTG53ZSH.js";import a from"./4WQLUSGK.js";import"./OV44LC7H.js";import"./FZJLIT7Z.js";import"./MAHNU7KE.js";import"./3PVHACQL.js";import"./PRBIN2BU.js";import"./MVLXVTLA.js";import"./DDBK5RTK.js";import"./ZBLGJ35H.js";import"./EFPPKG2I.js";import"./P372OUGB.js";import"./3BQF3XCQ.js";import"./S3HX5IPM.js";import"./ISA5XXM5.js";import"./XARJKYUN.js";import"./B57ADFKI.js";import"./UCYWBULG.js";import"./A2SSHOEE.js";import"./LLGXL2FM.js";import"./SB345CLE.js";import"./BV67KGE3.js";import"./VLXWVYFE.js";import"./MNRZLJQR.js";import"./KWUHBUOY.js";import"./X65LJF4A.js";import"./VVHFDNIP.js";import{b as f}from"./H2A4E2V5.js";import{E as c,F as p,G as g,h as m,i as o,q as h,t as _}from"./HIH6KSUX.js";import"./UEQ2M7OE.js";export default $arcgis.t(([C,F,,{f:b}])=>{var I=m`@layer{
5
5
  /**
6
6
  * @license
7
7
  * Copyright 2025 Esri
@@ -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.58 */
4
- import e from"./XEBMS7WW.js";import c from"./3RJMIT2U.js";import b from"./5SXY3ZUJ.js";import a from"./TNV2AQ25.js";import{b as w,d as C}from"./SP5YNXGS.js";import"./6HU76Z6T.js";import"./T4VMBEPD.js";import"./JJ3OQ55Q.js";import"./U4MH6M6Q.js";import"./PXQCRMDJ.js";import"./GJSQZATY.js";import"./IEYFX7PM.js";import"./ADX4P2WO.js";import"./HP7DU64C.js";import"./PVU32TZP.js";import"./4XD6PCBC.js";import"./VYZUZOMD.js";import"./QPIYG6F2.js";import"./YEGWOY5I.js";import"./AT3ALZQZ.js";import"./EQJN42GX.js";import"./AKN643ZB.js";import"./X2L3BFS3.js";import"./Z7KTVGAF.js";import"./N2TYDHDC.js";import{a as S}from"./EILFB4VN.js";import"./5YKIZCPZ.js";import"./XP4SAL3C.js";import{b as f}from"./3VXAHXSN.js";import{G as y,h as m,i as n,j as _,q as d}from"./DDDLSXKD.js";import"./SDOANVUZ.js";export default $arcgis.t(([{m:T,n:x,p:v,q:h},,{c:I},{a:u,b:L}])=>{var D=m`/** @license
3
+ v1.2.0-next.59 */
4
+ import e from"./ITXB3UY7.js";import c from"./NUMSNTTV.js";import b from"./DMBTOCEZ.js";import a from"./4WQLUSGK.js";import{b as w,d as C}from"./OV44LC7H.js";import"./MAHNU7KE.js";import"./3PVHACQL.js";import"./PRBIN2BU.js";import"./MVLXVTLA.js";import"./DDBK5RTK.js";import"./ZBLGJ35H.js";import"./EFPPKG2I.js";import"./P372OUGB.js";import"./3BQF3XCQ.js";import"./S3HX5IPM.js";import"./ISA5XXM5.js";import"./XARJKYUN.js";import"./B57ADFKI.js";import"./UCYWBULG.js";import"./A2SSHOEE.js";import"./LLGXL2FM.js";import"./SB345CLE.js";import"./BV67KGE3.js";import"./VLXWVYFE.js";import"./MNRZLJQR.js";import{a as S}from"./KWUHBUOY.js";import"./X65LJF4A.js";import"./VVHFDNIP.js";import{b as f}from"./H2A4E2V5.js";import{G as y,h as m,i as n,j as _,q as d}from"./HIH6KSUX.js";import"./UEQ2M7OE.js";export default $arcgis.t(([{m:T,n:x,p:v,q:h},,{c:I},{a:u,b:L}])=>{var D=m`/** @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.58 */
4
- import{a as B}from"./6KZ7KUJS.js";import{b as U}from"./AMZRY3PB.js";import"./5YKIZCPZ.js";import"./XP4SAL3C.js";import{D as S,E as u,F as h,G as I,I as a,J as m,K as L,h as T,i as n,j as w}from"./DDDLSXKD.js";import"./SDOANVUZ.js";export default $arcgis.t(([M,Q,k,Y,O])=>{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",H=".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=B({name:"instant-apps-social-share"}),this.popoverRef=u(),this.embedWidthRef=u(),this.embedHeightRef=u(),this.embedCodeRef=u(),this.copyLinkPopoverRef=u(),this.copyEmbedPopoverRef=u(),this.dialogContentRef=u(),this.shareListRef=u(),this.popoverButtonRef=u(),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 p=s||this.shareUrl;switch(e){case"link":await navigator.clipboard.writeText(p),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 l;r&&(l=window.open("","_blank"),this.shortenShareUrl&&(p=await this.shortenUrl(this.shareUrl)||p));let g={url:encodeURI(p)},f=e==="x"?{...g,text:this.shareText}:g,P=M.substitute(te[e],f);this.mode==="popover"&&this.closePopover(),r&&l?(l.location=P,l.focus()):window.open(encodeURI(P),"_blank")}break;case"native-share":let b={title:this._messages.share?.label||"Share",text:this.shareText,url:encodeURI(p)};navigator?.canShare?.(b)?navigator.share(b).catch(l=>{console.error("Error using native share:",l)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(e){let s=(await Q("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=new O({...o.toJSON()}),p=new Y({x:e,y:s,spatialReference:r}),b=await this.processPoint(p),{isWGS84:l,isWebMercator:g}=b.spatialReference,f=l||g;return this.generateShareUrlParams(b,f)}async processPoint(e){let{isWGS84:s,isWebMercator:o}=e.spatialReference;if(s||o)return e;let r=new O({wkid:4326}),p=this.view?.spatialReference??r;try{return await k.load(),k.execute(e,p)}catch(b){console.error("Failed to project point to outSpatialReference",b);try{let l=k.execute(e,r);return Promise.resolve(l)}catch(l){return console.error("Failed to project point to fallbackOutSpatialReference",l),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(e,s){let{longitude:o,latitude:r,x:p,y:b}=e;if(o===void 0||r===void 0||!this.view)return this.shareUrl;let l=this.roundValue(s?o:p),g=this.roundValue(s?r:b),{zoom:f}=this.view,P=this.roundValue(f),R=this.view?.popup?.selectedFeature,F=this.view?.popup?.visible,$,x;if(R&&F&&R?.layer?.type==="feature"){let v=R?.layer;$=v?.id,x=R.attributes[v.objectIdField]}let C=this.view.map?.allLayers.filter(v=>!v.visible).toArray().map(v=>v.id).toString().replaceAll(",",";"),{type:N}=this.view,{defaultUrlParams:_}=this,c=new URL(this.shareUrl),{searchParams:d}=c;if(d.get("center")&&d.delete("center"),d.get("level")&&d.delete("level"),d.get("selectedFeature")&&d.delete("selectedFeature"),d.get("hiddenLayers")&&d.delete("hiddenLayers"),d.get("viewpoint")&&d.delete("viewpoint"),N==="3d"){let{camera:v}=this.view,{heading:D,position:A,tilt:V}=v,{longitude:W,latitude:j,x:K,y:Z,z:G}=A,X=s?W:K,q=s?j:Z,y={longitude:this.roundValue(X,8),latitude:this.roundValue(q,8),z:this.roundValue(G,3),heading:this.roundValue(D,3),tilt:this.roundValue(V,3)},J=`cam:${y.longitude},${y.latitude},${y.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${y.heading},${y.tilt}`;return _?.viewpoint!==!1&&c.searchParams.set("viewpoint",J),$&&x&&_?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),C&&_?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",C),c.search=decodeURIComponent(c.search),c.href}return _?.center!==!1&&c.searchParams.set("center",`${l};${g}${!s&&this.view?.spatialReference?.wkid?`;${this.view?.spatialReference?.wkid}`:""}`),_?.level!==!1&&c.searchParams.set("level",`${P}`),$&&x&&_?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),C&&_?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",C),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(H)?"dark":"light"}`,r=n`<div class=${`${t.dialog}${s}${o}`} @click=${this.stopEventPropagation} ${h(this.dialogContentRef)}>${e}</div>`,p=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=${p} .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??L} .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??L} .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=${m({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=${m({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=${m({fill:"#fff",fillRule:"nonzero"})} /></g>`}</svg>`}renderXIcon(){let e=!!this.el.closest(H);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=${m({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=${m({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=${m({fill:"#2867b2"})} /><g id=shapes><rect height=257.962 id=rect11 style=${m({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=${m({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=${m({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);return z},"intl","request","geometry/operators/projectOperator","geometry/Point","geometry/SpatialReference")
3
+ v1.2.0-next.59 */
4
+ import{a as B}from"./BAV2DQ4A.js";import{b as U}from"./MZ7IE5RN.js";import"./X65LJF4A.js";import"./VVHFDNIP.js";import{D as S,E as u,F as h,G as I,I as a,J as m,K as L,h as T,i as n,j as w}from"./HIH6KSUX.js";import"./UEQ2M7OE.js";export default $arcgis.t(([M,Q,k,Y,O])=>{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",H=".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=B({name:"instant-apps-social-share"}),this.popoverRef=u(),this.embedWidthRef=u(),this.embedHeightRef=u(),this.embedCodeRef=u(),this.copyLinkPopoverRef=u(),this.copyEmbedPopoverRef=u(),this.dialogContentRef=u(),this.shareListRef=u(),this.popoverButtonRef=u(),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 p=s||this.shareUrl;switch(e){case"link":await navigator.clipboard.writeText(p),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 l;r&&(l=window.open("","_blank"),this.shortenShareUrl&&(p=await this.shortenUrl(this.shareUrl)||p));let g={url:encodeURI(p)},f=e==="x"?{...g,text:this.shareText}:g,P=M.substitute(te[e],f);this.mode==="popover"&&this.closePopover(),r&&l?(l.location=P,l.focus()):window.open(encodeURI(P),"_blank")}break;case"native-share":let b={title:this._messages.share?.label||"Share",text:this.shareText,url:encodeURI(p)};navigator?.canShare?.(b)?navigator.share(b).catch(l=>{console.error("Error using native share:",l)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(e){let s=(await Q("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=new O({...o.toJSON()}),p=new Y({x:e,y:s,spatialReference:r}),b=await this.processPoint(p),{isWGS84:l,isWebMercator:g}=b.spatialReference,f=l||g;return this.generateShareUrlParams(b,f)}async processPoint(e){let{isWGS84:s,isWebMercator:o}=e.spatialReference;if(s||o)return e;let r=new O({wkid:4326}),p=this.view?.spatialReference??r;try{return await k.load(),k.execute(e,p)}catch(b){console.error("Failed to project point to outSpatialReference",b);try{let l=k.execute(e,r);return Promise.resolve(l)}catch(l){return console.error("Failed to project point to fallbackOutSpatialReference",l),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(e,s){let{longitude:o,latitude:r,x:p,y:b}=e;if(o===void 0||r===void 0||!this.view)return this.shareUrl;let l=this.roundValue(s?o:p),g=this.roundValue(s?r:b),{zoom:f}=this.view,P=this.roundValue(f),R=this.view?.popup?.selectedFeature,F=this.view?.popup?.visible,$,x;if(R&&F&&R?.layer?.type==="feature"){let v=R?.layer;$=v?.id,x=R.attributes[v.objectIdField]}let C=this.view.map?.allLayers.filter(v=>!v.visible).toArray().map(v=>v.id).toString().replaceAll(",",";"),{type:N}=this.view,{defaultUrlParams:_}=this,c=new URL(this.shareUrl),{searchParams:d}=c;if(d.get("center")&&d.delete("center"),d.get("level")&&d.delete("level"),d.get("selectedFeature")&&d.delete("selectedFeature"),d.get("hiddenLayers")&&d.delete("hiddenLayers"),d.get("viewpoint")&&d.delete("viewpoint"),N==="3d"){let{camera:v}=this.view,{heading:D,position:A,tilt:V}=v,{longitude:W,latitude:j,x:K,y:Z,z:G}=A,X=s?W:K,q=s?j:Z,y={longitude:this.roundValue(X,8),latitude:this.roundValue(q,8),z:this.roundValue(G,3),heading:this.roundValue(D,3),tilt:this.roundValue(V,3)},J=`cam:${y.longitude},${y.latitude},${y.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${y.heading},${y.tilt}`;return _?.viewpoint!==!1&&c.searchParams.set("viewpoint",J),$&&x&&_?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),C&&_?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",C),c.search=decodeURIComponent(c.search),c.href}return _?.center!==!1&&c.searchParams.set("center",`${l};${g}${!s&&this.view?.spatialReference?.wkid?`;${this.view?.spatialReference?.wkid}`:""}`),_?.level!==!1&&c.searchParams.set("level",`${P}`),$&&x&&_?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),C&&_?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",C),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(H)?"dark":"light"}`,r=n`<div class=${`${t.dialog}${s}${o}`} @click=${this.stopEventPropagation} ${h(this.dialogContentRef)}>${e}</div>`,p=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=${p} .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??L} .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??L} .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=${m({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=${m({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=${m({fill:"#fff",fillRule:"nonzero"})} /></g>`}</svg>`}renderXIcon(){let e=!!this.el.closest(H);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=${m({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=${m({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=${m({fill:"#2867b2"})} /><g id=shapes><rect height=257.962 id=rect11 style=${m({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=${m({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=${m({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);return z},"intl","request","geometry/operators/projectOperator","geometry/Point","geometry/SpatialReference")
@@ -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.58 */
4
- import{v as a}from"./AT3ALZQZ.js";async function g(s,n,o){try{let e={q:`orgid:${n}`,countFields:"tags",countSize:200,authentication:o.authentication},i=await a(e),[r]=i.aggregations.counts.map(t=>({mode:"terms",field:t.fieldName,values:t.fieldValues})),c=s||[];return[...new Set([...r.values.map(t=>t.value),...c])].filter(t=>t).map(t=>({value:t}))}catch{return[]}}export{g as a};
3
+ v1.2.0-next.59 */
4
+ import{v as a}from"./A2SSHOEE.js";async function g(s,n,o){try{let e={q:`orgid:${n}`,countFields:"tags",countSize:200,authentication:o.authentication},i=await a(e),[r]=i.aggregations.counts.map(t=>({mode:"terms",field:t.fieldName,values:t.fieldValues})),c=s||[];return[...new Set([...r.values.map(t=>t.value),...c])].filter(t=>t).map(t=>({value:t}))}catch{return[]}}export{g 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.58 */
4
- import{a as e,c as t,e as a,g as s,k as o}from"./FCCQVZAG.js";var u=["hub:group:edit","hub:group:settings","hub:group:discussions","hub:group:create:followers","hub:group:create:association","hub:group:create:view","hub:group:create:edit","hub:group:create"],i={required:["name"],type:"object",properties:{name:e,summary:Object.assign(Object.assign({},t),{maxLength:250}),description:{type:"string"},_thumbnail:o,access:{type:"string",enum:["private","org","public"],default:"private"},isSharedUpdate:{type:"boolean",enum:[!1,!0],default:!1},leavingDisallowed:{type:"boolean",enum:[!1,!0],default:!1},isOpenData:{type:"boolean",enum:[!1,!0],default:!1},membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"},isViewOnly:{type:"boolean",enum:[!1,!0],default:!1},_join:{type:"string",enum:["invite","request","auto"],default:"invite"},hiddenMembers:{type:"boolean",enum:[!1,!0],default:!1},isDiscussable:s,tags:a}};export{u as a,i as b};
3
+ v1.2.0-next.59 */
4
+ import{a as e,c as t,e as a,g as s,k as o}from"./N4S2GKS4.js";var u=["hub:group:edit","hub:group:settings","hub:group:discussions","hub:group:create:followers","hub:group:create:association","hub:group:create:view","hub:group:create:edit","hub:group:create"],i={required:["name"],type:"object",properties:{name:e,summary:Object.assign(Object.assign({},t),{maxLength:250}),description:{type:"string"},_thumbnail:o,access:{type:"string",enum:["private","org","public"],default:"private"},isSharedUpdate:{type:"boolean",enum:[!1,!0],default:!1},leavingDisallowed:{type:"boolean",enum:[!1,!0],default:!1},isOpenData:{type:"boolean",enum:[!1,!0],default:!1},membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"},isViewOnly:{type:"boolean",enum:[!1,!0],default:!1},_join:{type:"string",enum:["invite","request","auto"],default:"invite"},hiddenMembers:{type:"boolean",enum:[!1,!0],default:!1},isDiscussable:s,tags:a}};export{u as a,i 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.58 */
4
- import{a as s}from"./2J22IGKH.js";import{a as r}from"./2JMDZ7AF.js";import"./HP7DU64C.js";import"./PVU32TZP.js";import"./4XD6PCBC.js";import"./VYZUZOMD.js";import"./YEGWOY5I.js";import{a as o}from"./FAF5GARG.js";import"./AT3ALZQZ.js";import"./EQJN42GX.js";import"./X2L3BFS3.js";import"./Z7KTVGAF.js";import"./N2TYDHDC.js";import"./SDOANVUZ.js";var y=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}},...r(e,t.thumbnail,s(t),"group",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await o(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}}]}]}]});export{y as buildUiSchema};
3
+ v1.2.0-next.59 */
4
+ import{a as s}from"./LBABYSBX.js";import{a as r}from"./6YPLG3FF.js";import"./3BQF3XCQ.js";import"./S3HX5IPM.js";import"./ISA5XXM5.js";import"./XARJKYUN.js";import"./UCYWBULG.js";import{a as o}from"./CGAFT2XD.js";import"./A2SSHOEE.js";import"./LLGXL2FM.js";import"./BV67KGE3.js";import"./VLXWVYFE.js";import"./MNRZLJQR.js";import"./UEQ2M7OE.js";var y=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}},...r(e,t.thumbnail,s(t),"group",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await o(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}}]}]}]});export{y as buildUiSchema};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.59 */
4
+ import c from"./S6V57F65.js";import"./HPWCOH2B.js";import b from"./TTG53ZSH.js";import a from"./4WQLUSGK.js";import"./OV44LC7H.js";import"./FZJLIT7Z.js";import"./MAHNU7KE.js";import"./3PVHACQL.js";import"./PRBIN2BU.js";import"./MVLXVTLA.js";import"./DDBK5RTK.js";import"./ZBLGJ35H.js";import"./EFPPKG2I.js";import"./P372OUGB.js";import"./3BQF3XCQ.js";import"./S3HX5IPM.js";import"./ISA5XXM5.js";import"./XARJKYUN.js";import"./B57ADFKI.js";import"./UCYWBULG.js";import"./A2SSHOEE.js";import"./LLGXL2FM.js";import"./SB345CLE.js";import"./BV67KGE3.js";import"./VLXWVYFE.js";import"./MNRZLJQR.js";import"./KWUHBUOY.js";import"./X65LJF4A.js";import"./VVHFDNIP.js";import"./H2A4E2V5.js";import"./HIH6KSUX.js";import"./UEQ2M7OE.js";export default $arcgis.t(([,,a])=>{return a},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.58 */
3
+ v1.2.0-next.59 */
4
4
  var e=["hub:user:settings"],t={type:"object",properties:{settings:{type:"object",properties:{features:{type:"object",properties:{workspace:{type:"boolean",default:!0}}}}},hubOrgSettings:{type:"object",properties:{showInformationalBanner:{type:"boolean",default:!1},enableTermsAndConditions:{type:"boolean",default:!1},termsAndConditions:{type:"string",default:""},enableSignupText:{type:"boolean",default:!1},signupText:{type:"string",default:""}}}}};export{e as a,t 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.58 */
4
- import{a as n}from"./6KZ7KUJS.js";import{b as i}from"./AMZRY3PB.js";import"./5YKIZCPZ.js";import"./XP4SAL3C.js";import{G as o,h as a,i as s}from"./DDDLSXKD.js";import"./SDOANVUZ.js";var p=a`[role=alert]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}`,r=class extends o{constructor(){super(),this._messages=n({name:"instant-apps-app-error"}),this._handleErrorMessage=this._handleErrorMessage.bind(this),this.listenOn(document,"instant-apps-error",this._handleErrorMessage)}static{this.properties={errorMessage:16}}static{this.styles=p}async clearErrorMessage(){this.errorMessage=void 0}_handleErrorMessage(e){if(!e.detail||!this._messages?.errorMessages)return;let t=this._messages.errorMessages[e.detail];t&&(this.errorMessage=t)}render(){return s`<div role=alert>${this.errorMessage&&s`<p>${this.errorMessage}</p>`||""}</div>`}};i("instant-apps-app-error",r);export{r as InstantAppsAppError};
3
+ v1.2.0-next.59 */
4
+ import{a as n}from"./BAV2DQ4A.js";import{b as i}from"./MZ7IE5RN.js";import"./X65LJF4A.js";import"./VVHFDNIP.js";import{G as o,h as a,i as s}from"./HIH6KSUX.js";import"./UEQ2M7OE.js";var p=a`[role=alert]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}`,r=class extends o{constructor(){super(),this._messages=n({name:"instant-apps-app-error"}),this._handleErrorMessage=this._handleErrorMessage.bind(this),this.listenOn(document,"instant-apps-error",this._handleErrorMessage)}static{this.properties={errorMessage:16}}static{this.styles=p}async clearErrorMessage(){this.errorMessage=void 0}_handleErrorMessage(e){if(!e.detail||!this._messages?.errorMessages)return;let t=this._messages.errorMessages[e.detail];t&&(this.errorMessage=t)}render(){return s`<div role=alert>${this.errorMessage&&s`<p>${this.errorMessage}</p>`||""}</div>`}};i("instant-apps-app-error",r);export{r as InstantAppsAppError};
@@ -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.58 */
4
- import{a as l}from"./NV4JM65Y.js";import{b as t,c as u}from"./N2TYDHDC.js";import"./SDOANVUZ.js";var m=o=>{let i=o.find(({collaborationType:n})=>n===l.anonymous),e=o.find(({collaborationType:n})=>n===l.authenticated);return[{key:"public",roles:{anonymous:{value:i?.permission||t,id:i?.id},authenticated:{value:e?.permission||t,id:e?.id}}}]},c=o=>{let i=o.reduce((e,n)=>[l.group,l.groupAdmin].includes(n.collaborationType)&&n.permission!==u.channelOwner?Object.assign(Object.assign({},e),{[n.collaborationId]:Object.assign(Object.assign({},e[n.collaborationId]),{[n.collaborationType]:n})}):e,{});return Object.entries(i).reduce((e,[n,{group:r,["group-admin"]:s}])=>[...e,{key:n,entityId:n,entityType:"group",roles:{member:{value:r?.permission||t,id:r?.id},admin:{value:s?.permission||t,id:s?.id}}}],[])},v=(o,i)=>{let e=o.reduce((r,s)=>[l.org,l.orgAdmin].includes(s.collaborationType)?Object.assign(Object.assign({},r),{[s.collaborationId]:Object.assign(Object.assign({},r[s.collaborationId]),{[s.collaborationType]:s})}):r,{}),n=Object.entries(e).reduce((r,[s,{org:a,["org-admin"]:d}])=>[...r,{key:s,entityId:s,entityType:"organization",roles:{member:{value:a?.permission||t,id:a?.id},admin:{value:d?.permission||t,id:d?.id}}}],[]);return n.length||n.push({key:i,entityId:i,entityType:"organization",roles:{member:{value:t,id:void 0},admin:{value:u.channelOwner,id:void 0}}}),n},b=o=>o.reduce((i,e)=>e.collaborationType===l.user?[...i,{key:e.collaborationId,entityId:e.collaborationId,entityType:"user",roles:{user:{value:e.permission,id:e.id}}}]:i,[]);function p(o,i){return{id:o.id,name:o.name,blockWords:o.blockWords.join(","),allowAsAnonymous:o.allowAsAnonymous,publicConfigs:m(o.permissions),orgConfigs:v(o.permissions,i.currentUser.orgId),groupConfigs:c(o.permissions),userConfigs:b(o.permissions)}}export{p as transformEntityToEditor};
3
+ v1.2.0-next.59 */
4
+ import{a as l}from"./RMA2JBKB.js";import{b as t,c as u}from"./MNRZLJQR.js";import"./UEQ2M7OE.js";var m=o=>{let i=o.find(({collaborationType:n})=>n===l.anonymous),e=o.find(({collaborationType:n})=>n===l.authenticated);return[{key:"public",roles:{anonymous:{value:i?.permission||t,id:i?.id},authenticated:{value:e?.permission||t,id:e?.id}}}]},c=o=>{let i=o.reduce((e,n)=>[l.group,l.groupAdmin].includes(n.collaborationType)&&n.permission!==u.channelOwner?Object.assign(Object.assign({},e),{[n.collaborationId]:Object.assign(Object.assign({},e[n.collaborationId]),{[n.collaborationType]:n})}):e,{});return Object.entries(i).reduce((e,[n,{group:r,["group-admin"]:s}])=>[...e,{key:n,entityId:n,entityType:"group",roles:{member:{value:r?.permission||t,id:r?.id},admin:{value:s?.permission||t,id:s?.id}}}],[])},v=(o,i)=>{let e=o.reduce((r,s)=>[l.org,l.orgAdmin].includes(s.collaborationType)?Object.assign(Object.assign({},r),{[s.collaborationId]:Object.assign(Object.assign({},r[s.collaborationId]),{[s.collaborationType]:s})}):r,{}),n=Object.entries(e).reduce((r,[s,{org:a,["org-admin"]:d}])=>[...r,{key:s,entityId:s,entityType:"organization",roles:{member:{value:a?.permission||t,id:a?.id},admin:{value:d?.permission||t,id:d?.id}}}],[]);return n.length||n.push({key:i,entityId:i,entityType:"organization",roles:{member:{value:t,id:void 0},admin:{value:u.channelOwner,id:void 0}}}),n},b=o=>o.reduce((i,e)=>e.collaborationType===l.user?[...i,{key:e.collaborationId,entityId:e.collaborationId,entityType:"user",roles:{user:{value:e.permission,id:e.id}}}]:i,[]);function p(o,i){return{id:o.id,name:o.name,blockWords:o.blockWords.join(","),allowAsAnonymous:o.allowAsAnonymous,publicConfigs:m(o.permissions),orgConfigs:v(o.permissions,i.currentUser.orgId),groupConfigs:c(o.permissions),userConfigs:b(o.permissions)}}export{p as transformEntityToEditor};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.58 */
4
- import{a as e,b as i,c as l,d as s,e as t}from"./6M7VDTDS.js";import{a as r}from"./U5NE7U5J.js";import"./XY4LJTGQ.js";import"./N2TYDHDC.js";import"./ZZZBDC7A.js";import"./GAC6BSUB.js";import"./HG7T7PHS.js";import"./42C7BE3F.js";import"./KPJBHRSA.js";import"./SMHR3QQS.js";import"./EI5V4JLS.js";import"./SYM5MBKE.js";import"./RIAU64W6.js";import"./BFBCAE2T.js";import"./XQOS32KH.js";import"./T3OQ5LVL.js";import"./IROALDFS.js";import"./QQMYQHQC.js";import"./M2GKHHAY.js";import"./CGT7XT64.js";import"./CVMRBYVW.js";import"./AI44GZE3.js";import"./WF3YS56U.js";import"./FCCQVZAG.js";import"./SDOANVUZ.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",type:"number",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
3
+ v1.2.0-next.59 */
4
+ import{a as e,b as i,c as l,d as s,e as t}from"./KN5E4MQG.js";import{a as r}from"./3ROAGKJU.js";import"./H7HNI5VC.js";import"./MNRZLJQR.js";import"./26CCKO42.js";import"./NMKEXRKI.js";import"./7DBUXIIV.js";import"./CJPCNBVG.js";import"./LVXMAQMH.js";import"./LJGIMINH.js";import"./Q45TPXYT.js";import"./3DQJP7MM.js";import"./FEFR3FRY.js";import"./ODE7EDZN.js";import"./CUKHOOVQ.js";import"./3KR4IDMY.js";import"./T23F3H3W.js";import"./W5OTI4GJ.js";import"./VUW4NIX5.js";import"./HFNJDY5O.js";import"./WNFSWEYG.js";import"./L7SW75RR.js";import"./V7HEDLHM.js";import"./N4S2GKS4.js";import"./UEQ2M7OE.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",type:"number",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};