@esri/solutions-components 1.1.0 → 1.1.2

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 (473) hide show
  1. package/dist/cdn/{H5AWEVBV.js → 23IRBL5F.js} +2 -2
  2. package/dist/cdn/{3JNOCCQ5.js → 2BG54SQT.js} +2 -2
  3. package/dist/cdn/{TECM5QWP.js → 2NNSKNYF.js} +2 -2
  4. package/dist/cdn/{TPNMSWQT.js → 2PCYWVDT.js} +2 -2
  5. package/dist/cdn/{D6XWLOBU.js → 2SPXLWJO.js} +2 -2
  6. package/dist/cdn/{M7PDEIFC.js → 2TPODPFQ.js} +1 -1
  7. package/dist/cdn/{N4BEAJUM.js → 2TSN3PFX.js} +9 -4
  8. package/dist/cdn/{IZ3E7B3U.js → 2X27XYSX.js} +1 -1
  9. package/dist/cdn/{VIKAFJOW.js → 2YJKIAGN.js} +2 -2
  10. package/dist/cdn/{O2H7SA7K.js → 2Z3MNBH3.js} +2 -2
  11. package/dist/cdn/{LTJJAN4Y.js → 3AIKEAXO.js} +2 -2
  12. package/dist/cdn/{E6WOGJ7F.js → 3CXAQKWJ.js} +2 -2
  13. package/dist/cdn/{T2LTMFFQ.js → 3D6XZSQQ.js} +2 -2
  14. package/dist/cdn/{NZFFMH5C.js → 3NOB3U76.js} +2 -2
  15. package/dist/cdn/{TQIQUUNR.js → 3Q67Q7SB.js} +1 -1
  16. package/dist/cdn/{3WWK4QH7.js → 3V7OTVXH.js} +2 -2
  17. package/dist/cdn/{3JHRLX63.js → 46CVQ75Q.js} +2 -2
  18. package/dist/cdn/{VRT6IWG7.js → 4ATJSWKM.js} +2 -2
  19. package/dist/cdn/{GWXJIXZK.js → 4CQTDBOU.js} +2 -2
  20. package/dist/cdn/{3S2J6YOU.js → 4HHR7PZR.js} +2 -2
  21. package/dist/cdn/{FAFYE3RG.js → 4KTBRCKI.js} +2 -2
  22. package/dist/cdn/4LC4KY4J.js +18 -0
  23. package/dist/cdn/{USRMDL2X.js → 4RFYINXZ.js} +2 -2
  24. package/dist/cdn/{J6BTZ55D.js → 4S5VXIST.js} +2 -2
  25. package/dist/cdn/{PT5AV3WQ.js → 4VNLVOPL.js} +1 -1
  26. package/dist/cdn/{52OASXL7.js → 4WXC25SR.js} +2 -2
  27. package/dist/cdn/{LHZ6WPMD.js → 52W3R4RL.js} +2 -2
  28. package/dist/cdn/{DNW5Y7XF.js → 52YHWBMR.js} +2 -2
  29. package/dist/cdn/{2LIVMQO2.js → 54DZZUSQ.js} +2 -2
  30. package/dist/cdn/{MX6FACCZ.js → 56BEAQZV.js} +1 -1
  31. package/dist/cdn/{KDGLKJHT.js → 56F5USQF.js} +2 -2
  32. package/dist/cdn/{C2K74RDX.js → 57D4BUE5.js} +2 -2
  33. package/dist/cdn/{HGNTIYQT.js → 5AT5TJIP.js} +1 -1
  34. package/dist/cdn/{L42OF72U.js → 5ES6SYN7.js} +2 -2
  35. package/dist/cdn/{P4QP3FN6.js → 5HDRNMQJ.js} +2 -2
  36. package/dist/cdn/{5G7ROHGR.js → 5L5QLMGU.js} +2 -2
  37. package/dist/cdn/{6CYD25YN.js → 5MR2SW5F.js} +2 -2
  38. package/dist/cdn/{S3REU44G.js → 5OTGWJLM.js} +2 -2
  39. package/dist/cdn/{ENCPN6WR.js → 5SL47RKJ.js} +2 -2
  40. package/dist/cdn/{3O2T33CU.js → 5SPE3LHH.js} +2 -2
  41. package/dist/cdn/623KYN7N.js +18 -0
  42. package/dist/cdn/{G2MFQY2I.js → 65O4PRAV.js} +2 -2
  43. package/dist/cdn/{NM2FEB5M.js → 6LCAW5ML.js} +2 -2
  44. package/dist/cdn/{EMULILDA.js → 6QBHMCGQ.js} +2 -2
  45. package/dist/cdn/{FPVWCIO7.js → 6S7UIEGR.js} +2 -2
  46. package/dist/cdn/{UMADWE7A.js → 6SKVVL25.js} +2 -2
  47. package/dist/cdn/{MADKV4CG.js → 6TLN7QJA.js} +2 -2
  48. package/dist/cdn/{OM24RA5F.js → 6UG5WDWV.js} +2 -2
  49. package/dist/cdn/{QJ4VMFHY.js → 6XOYHC7J.js} +2 -2
  50. package/dist/cdn/{YXVNPTAG.js → 76VH62DU.js} +2 -2
  51. package/dist/cdn/{KVXSGN5R.js → 77DDT2NZ.js} +2 -2
  52. package/dist/cdn/{UJH4XQR3.js → 7JQBDEYQ.js} +2 -2
  53. package/dist/cdn/{SJZ7QSP6.js → 7LGPOI25.js} +2 -2
  54. package/dist/cdn/{AMY5TGXW.js → 7MR2GERG.js} +2 -2
  55. package/dist/cdn/{46SKFEV5.js → 7MU53L6J.js} +2 -2
  56. package/dist/cdn/{FQHTZYT7.js → 7QLTAN6E.js} +2 -2
  57. package/dist/cdn/{AFTTIRBK.js → 7SQLFBYH.js} +2 -2
  58. package/dist/cdn/{57NVVPZ6.js → 7SVO5H2S.js} +2 -2
  59. package/dist/cdn/{3MC7JXDY.js → 7SW2TDGW.js} +2 -2
  60. package/dist/cdn/{RTQDMFCR.js → A2YLMAEB.js} +1 -1
  61. package/dist/cdn/A5SRIAVS.js +18 -0
  62. package/dist/cdn/{KZKIRXHE.js → AD4DWMVS.js} +1 -1
  63. package/dist/cdn/{PPY4LTAA.js → AJ4JBY3E.js} +2 -2
  64. package/dist/cdn/{RAGAUFN5.js → AKNFGCOO.js} +2 -2
  65. package/dist/cdn/{PWR2V4FP.js → ALPBERVX.js} +2 -2
  66. package/dist/cdn/{QEQTLIXM.js → AQCUMS2V.js} +2 -2
  67. package/dist/cdn/{CHUHLOJP.js → AQYGK2BV.js} +2 -2
  68. package/dist/cdn/{IWBODHPW.js → AUZAHXSQ.js} +2 -2
  69. package/dist/cdn/{YK2QLYVS.js → AWBHRN6T.js} +2 -2
  70. package/dist/cdn/{QTR2B74Q.js → AWV7PNON.js} +2 -2
  71. package/dist/cdn/{2ZJRDJJK.js → AWYME7F7.js} +2 -2
  72. package/dist/cdn/{B4BAMNQZ.js → AXAW5ILZ.js} +2 -2
  73. package/dist/cdn/{WX6BU4WB.js → B6OALUXR.js} +2 -2
  74. package/dist/cdn/{OIC5TDYB.js → BBQYN3N7.js} +2 -2
  75. package/dist/cdn/{66RUIDW2.js → BDEGFKHR.js} +2 -2
  76. package/dist/cdn/{G27RLQ73.js → BFPWVVHF.js} +2 -2
  77. package/dist/cdn/{B2YABCF7.js → BFZS6QRQ.js} +2 -2
  78. package/dist/cdn/{2XTYWT3B.js → BJQAP3O2.js} +2 -2
  79. package/dist/cdn/{737LKBTG.js → BMSCYDPC.js} +1 -1
  80. package/dist/cdn/{5VLZX43L.js → BOOF3NBM.js} +2 -2
  81. package/dist/cdn/{37HGSBPX.js → BQIRDUCX.js} +2 -2
  82. package/dist/cdn/{UXBAVP5Z.js → BSKFNFRN.js} +1 -1
  83. package/dist/cdn/BTK7H2UX.js +18 -0
  84. package/dist/cdn/{EAKI67WF.js → BVKE6BFN.js} +1 -1
  85. package/dist/cdn/{KCYMVFRG.js → C3RJP556.js} +1 -1
  86. package/dist/cdn/{BYTSY4W5.js → C72XLEL7.js} +2 -2
  87. package/dist/cdn/{EFMAKPKZ.js → CBGO2YBX.js} +2 -2
  88. package/dist/cdn/{WDUN66AL.js → CBVSJH3I.js} +2 -2
  89. package/dist/cdn/{GFUALEHA.js → CD46MAFQ.js} +2 -2
  90. package/dist/cdn/{AFHWOLNP.js → CD4VLBIG.js} +2 -2
  91. package/dist/cdn/{LU3PYJCN.js → CEKBH7TV.js} +2 -2
  92. package/dist/cdn/{E3VAATPC.js → CEORPQJR.js} +2 -2
  93. package/dist/cdn/{SGKUZEBX.js → CIVTXV63.js} +2 -2
  94. package/dist/cdn/{SYOBCQGB.js → CWP75JYL.js} +2 -2
  95. package/dist/cdn/{HLQQ6TR4.js → CZRJGD6M.js} +2 -2
  96. package/dist/cdn/{JN54IUSM.js → D2BNLIR4.js} +2 -2
  97. package/dist/cdn/{BEXEPRS5.js → D33EIGNT.js} +2 -2
  98. package/dist/cdn/{TWXPA723.js → DADQEBSP.js} +2 -2
  99. package/dist/cdn/{FXCOD63W.js → DCM6XZAR.js} +1 -1
  100. package/dist/cdn/{IWW5ZJYG.js → DDBL2HDT.js} +1 -1
  101. package/dist/cdn/{ZXRM4JEP.js → DE3YUG4H.js} +2 -2
  102. package/dist/cdn/{O4VMCJVT.js → DHMSET7H.js} +2 -2
  103. package/dist/cdn/{YWR5SHTJ.js → DOX3JTNJ.js} +1 -1
  104. package/dist/cdn/{7JFSYU6C.js → DOZB6DFJ.js} +2 -2
  105. package/dist/cdn/{R54KEIUU.js → DRUIQVWC.js} +2 -2
  106. package/dist/cdn/{27OQI5JT.js → DV3WDXZ7.js} +2 -2
  107. package/dist/cdn/{3LABEKOR.js → DZI3NZZS.js} +2 -2
  108. package/dist/cdn/{SBGU3NDZ.js → EEBZHKDM.js} +2 -2
  109. package/dist/cdn/{BMJZ7SJU.js → EGOHOQ75.js} +2 -2
  110. package/dist/cdn/{QUA2MZPE.js → EHUHNBX5.js} +2 -2
  111. package/dist/cdn/{KZZHJTPP.js → ELHKOYWS.js} +2 -2
  112. package/dist/cdn/{VAFHXQDA.js → ENIYIB7V.js} +2 -2
  113. package/dist/cdn/{7HGENER4.js → EPZ7O3EU.js} +2 -2
  114. package/dist/cdn/{UO3LLU6M.js → EQFPI3FP.js} +2 -2
  115. package/dist/cdn/{NABAVD67.js → ES5BMMHS.js} +2 -2
  116. package/dist/cdn/{KHHVMDSQ.js → ESCVJT5H.js} +2 -2
  117. package/dist/cdn/{Q7PQM4SB.js → EY67YJ3O.js} +2 -2
  118. package/dist/cdn/{SMB3FN37.js → FBIVVIPK.js} +2 -2
  119. package/dist/cdn/{GDSDHDUW.js → FCX66S7M.js} +2 -2
  120. package/dist/cdn/{OUIS7DTF.js → FHWM6U56.js} +1 -1
  121. package/dist/cdn/{PSGW263P.js → FNFLIMK4.js} +2 -2
  122. package/dist/cdn/{TL4JJSFM.js → FPMQYHKA.js} +2 -2
  123. package/dist/cdn/{VVKCAW2O.js → FQ4OKLWN.js} +1 -1
  124. package/dist/cdn/{EXVYTJWZ.js → FRQXGBUS.js} +2 -2
  125. package/dist/cdn/{PFYUGFSL.js → FRUFK6VO.js} +2 -2
  126. package/dist/cdn/{2KKFZ7KY.js → FTXGL447.js} +2 -2
  127. package/dist/cdn/G2I5HABN.js +4 -0
  128. package/dist/cdn/{A5WNDAV3.js → G2Z7STGZ.js} +2 -2
  129. package/dist/cdn/{DVFWIJKG.js → G4YRJUBG.js} +2 -2
  130. package/dist/cdn/{DFGZSNVP.js → GCTPCYBJ.js} +2 -2
  131. package/dist/cdn/GD4QMW4I.js +4 -0
  132. package/dist/cdn/{L6IAJ72L.js → GF5KUEBW.js} +1 -1
  133. package/dist/cdn/GKH6SK5J.js +4 -0
  134. package/dist/cdn/{2PFP4SVP.js → GLO46OKK.js} +2 -2
  135. package/dist/cdn/{5MIJQHLO.js → GMIPLZOK.js} +2 -2
  136. package/dist/cdn/{PTWIQDSC.js → GPTGQ7YV.js} +2 -2
  137. package/dist/cdn/{JY3NCY33.js → GQSDM4R7.js} +2 -2
  138. package/dist/cdn/{PAKHX3I6.js → GUT2FDGN.js} +1 -1
  139. package/dist/cdn/{GPB44MSI.js → GV62Y43A.js} +2 -2
  140. package/dist/cdn/{7ODMOYJD.js → GX3BMYNP.js} +2 -2
  141. package/dist/cdn/{Q4UWG3UN.js → GYQVTQNA.js} +2 -2
  142. package/dist/cdn/{R5P4ZBIZ.js → H2CI7OUX.js} +2 -2
  143. package/dist/cdn/{Y5WIF3RY.js → H6HF6HSD.js} +2 -2
  144. package/dist/cdn/{HEHSIXHI.js → H7VJRQAW.js} +2 -2
  145. package/dist/cdn/{G3PBPFWO.js → HAZITU6Q.js} +2 -2
  146. package/dist/cdn/{KLZMOMHU.js → HBUDH3U6.js} +2 -2
  147. package/dist/cdn/{IQUWACDD.js → HDRPW73J.js} +2 -2
  148. package/dist/cdn/{OTASRO63.js → HEBJZ2UQ.js} +2 -2
  149. package/dist/cdn/{LVUNXO2O.js → HKJUYDHF.js} +2 -2
  150. package/dist/cdn/{J2M33U55.js → HKY6SY7D.js} +2 -2
  151. package/dist/cdn/{L3KHD2KE.js → HOP2FWBH.js} +2 -2
  152. package/dist/cdn/{CISIY5U6.js → HPI4FZPC.js} +2 -2
  153. package/dist/cdn/{NPMQPRZI.js → HQVMLALO.js} +2 -2
  154. package/dist/cdn/{65W7HSK5.js → HRLLJHAS.js} +2 -2
  155. package/dist/cdn/{Z7I2RSQY.js → HSNA2TI3.js} +2 -2
  156. package/dist/cdn/{ABUXWFTT.js → HUCMZEDU.js} +2 -2
  157. package/dist/cdn/{WIBEUGB3.js → HUOOT4GV.js} +2 -2
  158. package/dist/cdn/{LGLWUNU4.js → HX72RMB7.js} +2 -2
  159. package/dist/cdn/{63LGZYFE.js → HXCAD5K5.js} +2 -2
  160. package/dist/cdn/{U3VSDXKL.js → HYIFXLL5.js} +2 -2
  161. package/dist/cdn/{ZYNT7ILM.js → HZLUYQD7.js} +2 -2
  162. package/dist/cdn/{JXWALA62.js → I5MORTV6.js} +2 -2
  163. package/dist/cdn/{NNQ5VAQF.js → I66U7ET6.js} +1 -1
  164. package/dist/cdn/{XOYOBJTE.js → IE3XKNUU.js} +2 -2
  165. package/dist/cdn/{LAS2MWM5.js → IH5CADVW.js} +2 -2
  166. package/dist/cdn/{KABQHXRV.js → IIMUYPMO.js} +2 -2
  167. package/dist/cdn/{WCNIUU7L.js → IJNJBT7T.js} +2 -2
  168. package/dist/cdn/{CLAJ2XOW.js → IMQR7CXF.js} +2 -2
  169. package/dist/cdn/IMXNLCKH.js +18 -0
  170. package/dist/cdn/{CF54Q5YE.js → IQVE6W6Y.js} +2 -2
  171. package/dist/cdn/{UIUUSTJI.js → IRHKLM6Z.js} +2 -2
  172. package/dist/cdn/{J47QX26L.js → J33QV26U.js} +2 -2
  173. package/dist/cdn/{STMQZU4D.js → J6F3J2Q6.js} +2 -2
  174. package/dist/cdn/{5RWKIDK3.js → JB5YQ3CN.js} +2 -2
  175. package/dist/cdn/{XUG6L42S.js → JCAPW2PV.js} +2 -2
  176. package/dist/cdn/{WIKE26UP.js → JKGMH4J5.js} +2 -2
  177. package/dist/cdn/{2BQCOVME.js → JN5XM3AT.js} +2 -2
  178. package/dist/cdn/{KQ6BMUH2.js → JRUXKUE3.js} +2 -2
  179. package/dist/cdn/{KXTNCTMP.js → JZXBOMMZ.js} +1 -1
  180. package/dist/cdn/{7T2EBM7A.js → KC24JR4A.js} +2 -2
  181. package/dist/cdn/{YQCVFX4Z.js → KDWK7NRY.js} +2 -2
  182. package/dist/cdn/{UQVZXYNW.js → KERDLSZH.js} +2 -2
  183. package/dist/cdn/{CRPP5JXO.js → KR7ZU66F.js} +2 -2
  184. package/dist/cdn/KTHJ4VRR.js +4 -0
  185. package/dist/cdn/{OVL7QMZH.js → LDFEZP62.js} +2 -2
  186. package/dist/cdn/{LNLTESOF.js → LGYZHAI4.js} +2 -2
  187. package/dist/cdn/{HCNCUGZS.js → LN54IQWS.js} +2 -2
  188. package/dist/cdn/{XTFCV5HG.js → LNTE2YQ6.js} +2 -2
  189. package/dist/cdn/{BZLXK5A3.js → LOKI5I7L.js} +2 -2
  190. package/dist/cdn/{6GVUSF7Y.js → LOLBOPYH.js} +2 -2
  191. package/dist/cdn/{4CQVWVRQ.js → LTSBVHHD.js} +2 -2
  192. package/dist/cdn/{VLOZ5FU3.js → LW3YV4M2.js} +2 -2
  193. package/dist/cdn/{I4WH544G.js → LWU5XFP4.js} +2 -2
  194. package/dist/cdn/{M23LVYVA.js → LXFYLAHF.js} +1 -1
  195. package/dist/cdn/{I37HZ5SF.js → LXMUEGOO.js} +2 -2
  196. package/dist/cdn/{G34G6TIZ.js → LYLKQ45A.js} +1 -1
  197. package/dist/cdn/{I6EXN7WV.js → M2L26H4Z.js} +2 -2
  198. package/dist/cdn/{5PI2LBL6.js → MAFZV4UM.js} +1 -1
  199. package/dist/cdn/{54NFAZPM.js → MBF3EUPM.js} +2 -2
  200. package/dist/cdn/{N5TXBTFE.js → MDL7NF2I.js} +2 -2
  201. package/dist/cdn/{VLH6CM7M.js → MIJ52CTW.js} +2 -2
  202. package/dist/cdn/{NWWECZ3X.js → MO5DXYLP.js} +2 -2
  203. package/dist/cdn/{N7VU2XX4.js → MSUAXEZP.js} +2 -2
  204. package/dist/cdn/{5SS6W6NK.js → MUZWUHB6.js} +2 -2
  205. package/dist/cdn/{6RIMAYT3.js → MVZNCHUV.js} +2 -2
  206. package/dist/cdn/{7XJEVL4H.js → MW5CGGVU.js} +2 -2
  207. package/dist/cdn/{DMQN2SPN.js → MXOYXNB4.js} +2 -2
  208. package/dist/cdn/{4OJUMAO5.js → NAV7MYUI.js} +2 -2
  209. package/dist/cdn/{JUYYKVTE.js → NBT5QLPO.js} +2 -2
  210. package/dist/cdn/{VJVK7CEI.js → NBTALLIF.js} +1 -1
  211. package/dist/cdn/{POPBLQGD.js → NBW47T6S.js} +1 -1
  212. package/dist/cdn/{RYIFMIE7.js → NGDFUBVG.js} +2 -2
  213. package/dist/cdn/{D64WOL2G.js → NKGKBATM.js} +2 -2
  214. package/dist/cdn/{IUEMG5YD.js → NSRTVCII.js} +2 -2
  215. package/dist/cdn/{B5TRNVXS.js → NV3PO22N.js} +2 -2
  216. package/dist/cdn/{77NM6UZI.js → O3VQFZ3Z.js} +2 -2
  217. package/dist/cdn/{SYXNXG42.js → O4MSW7YU.js} +2 -2
  218. package/dist/cdn/{KHFJW53Q.js → ODOM2KDI.js} +1 -1
  219. package/dist/cdn/{73SD6Y3C.js → OL34ZYRL.js} +2 -2
  220. package/dist/cdn/{7UNMXF34.js → OOPF4GJM.js} +2 -2
  221. package/dist/cdn/{FCGQOSCY.js → OR63XKHD.js} +2 -2
  222. package/dist/cdn/{ZFY3PCIZ.js → OSKD73JO.js} +2 -2
  223. package/dist/cdn/OSPMSWIL.js +4 -0
  224. package/dist/cdn/{T7MHCIUS.js → OY53JN5E.js} +2 -2
  225. package/dist/cdn/{FFTVUIP7.js → OYZGMLSA.js} +2 -2
  226. package/dist/cdn/{M6AVBUON.js → P7LLQPML.js} +2 -2
  227. package/dist/cdn/{K6GQIHMH.js → PCMVKKEJ.js} +2 -2
  228. package/dist/cdn/{VPOYZ64Q.js → PI7FQ7L6.js} +2 -2
  229. package/dist/cdn/{DFS7UUPH.js → PKCH4S3D.js} +1 -1
  230. package/dist/cdn/{VBYNMOYE.js → PODGSK2R.js} +2 -2
  231. package/dist/cdn/{Y5LQVUYC.js → PPRAWJ2S.js} +4 -4
  232. package/dist/cdn/{SMTMWRRV.js → PR5LDTTA.js} +1 -1
  233. package/dist/cdn/{FDAMAPG2.js → PRLO77AT.js} +2 -2
  234. package/dist/cdn/{UOQT6ENI.js → PTROR6FA.js} +2 -2
  235. package/dist/cdn/{XLR4XEQX.js → Q2PF3RGD.js} +2 -2
  236. package/dist/cdn/{6NWHOOTK.js → Q5RZXHBC.js} +1 -1
  237. package/dist/cdn/{I5A7IN5I.js → Q7XKQTSB.js} +2 -2
  238. package/dist/cdn/{34LPRBJE.js → QA44KCLS.js} +4 -4
  239. package/dist/cdn/{NDCEYZWS.js → QC4PNSX4.js} +1 -1
  240. package/dist/cdn/{QOQCIJ52.js → QG2MAKZO.js} +9 -9
  241. package/dist/cdn/{6QX7DZ4M.js → QJFIQKTM.js} +2 -2
  242. package/dist/cdn/{TQ6ZXCIR.js → QJFO73DP.js} +2 -2
  243. package/dist/cdn/{XDM3XQ2V.js → QJRRAYAE.js} +2 -2
  244. package/dist/cdn/{QSAM3WTZ.js → QJSXBPEC.js} +2 -2
  245. package/dist/cdn/{OTMGXPHO.js → QKMXHBVJ.js} +2 -2
  246. package/dist/cdn/{JNSGECLI.js → QSQJSM3O.js} +3 -3
  247. package/dist/cdn/{RRH7CX4W.js → R2D3W4KP.js} +2 -2
  248. package/dist/cdn/{GM6B5U7P.js → R5S6AVJ2.js} +1 -1
  249. package/dist/cdn/{ZMRMSTWH.js → RC3M6OYO.js} +2 -2
  250. package/dist/cdn/{HBEIE66Z.js → RDQHY6XC.js} +2 -2
  251. package/dist/cdn/{PZWKB64K.js → RIVQ5IKO.js} +2 -2
  252. package/dist/cdn/{RQHMM2TV.js → RP3IBJUX.js} +2 -2
  253. package/dist/cdn/{2G3HCFJ7.js → RQSJTZA3.js} +2 -2
  254. package/dist/cdn/RTKZDB23.js +4 -0
  255. package/dist/cdn/{KFZSBDTM.js → SA7UFUQH.js} +1 -1
  256. package/dist/cdn/{A7SGX5YT.js → SIOIWWJS.js} +2 -2
  257. package/dist/cdn/{GPZYE77D.js → SRLF2FFI.js} +2 -2
  258. package/dist/cdn/{MH32IF4W.js → SRRYBFQR.js} +2 -2
  259. package/dist/cdn/{WLLF2K4A.js → SWSTQ6IK.js} +2 -2
  260. package/dist/cdn/{TV2CKUCU.js → SXCMOFR2.js} +2 -2
  261. package/dist/cdn/{EUKEOESV.js → SXDHIKYQ.js} +2 -2
  262. package/dist/cdn/{MFPSQMUN.js → SZ4MNX2Y.js} +2 -2
  263. package/dist/cdn/T2YBAYAQ.js +4 -0
  264. package/dist/cdn/{GNTR7EXR.js → TEXTVYR5.js} +2 -2
  265. package/dist/cdn/{23S4BMNB.js → TGCFM7NB.js} +2 -2
  266. package/dist/cdn/{HMYGFTDB.js → THCDH2C7.js} +2 -2
  267. package/dist/cdn/{2J6BGZWE.js → TPVBZJZ3.js} +2 -2
  268. package/dist/cdn/{7CUPT6B7.js → TQ4AHDWR.js} +2 -2
  269. package/dist/cdn/{6CR3ELYN.js → TRYF7AHT.js} +2 -2
  270. package/dist/cdn/{EIX5TZGC.js → U4IWP4JS.js} +2 -2
  271. package/dist/cdn/{PYO4MUPX.js → U4RWFIG7.js} +2 -2
  272. package/dist/cdn/U4TVHDBS.js +18 -0
  273. package/dist/cdn/{W3Y7CW6D.js → UB7R344I.js} +2 -2
  274. package/dist/cdn/{XOCIK5BM.js → UC6BRLFU.js} +2 -2
  275. package/dist/cdn/{O56WT525.js → UDMGJJ2R.js} +2 -2
  276. package/dist/cdn/{4FKOEYT7.js → UKMB2MXN.js} +2 -2
  277. package/dist/cdn/{RPQOJQTT.js → UMHBVDVZ.js} +2 -2
  278. package/dist/cdn/{CAQOBV5A.js → UN7RXMMP.js} +2 -2
  279. package/dist/cdn/{22OA2X7F.js → UNBB5ILE.js} +2 -2
  280. package/dist/cdn/{UWRBXQ2H.js → UOBW4X3G.js} +2 -2
  281. package/dist/cdn/{IYTOH2LC.js → UOKZMNT4.js} +2 -2
  282. package/dist/cdn/{6ELJSTOG.js → UPEGEW7Y.js} +2 -2
  283. package/dist/cdn/{STXL6NIE.js → UQMZINRC.js} +2 -2
  284. package/dist/cdn/UQXXXPST.js +4 -0
  285. package/dist/cdn/{2CIRIU3Q.js → UTPRTU5R.js} +2 -2
  286. package/dist/cdn/UUSA5NAZ.js +4 -0
  287. package/dist/cdn/{7WT26OPO.js → UUVWV7UY.js} +2 -2
  288. package/dist/cdn/{ZHXAFBKY.js → UUZDYC3J.js} +2 -2
  289. package/dist/cdn/{TVUO3PT2.js → UWHVRT6G.js} +2 -2
  290. package/dist/cdn/{XVBUVOHC.js → UXGY5MYQ.js} +2 -2
  291. package/dist/cdn/{KPBMYOZ7.js → UXZ5Q6KA.js} +2 -2
  292. package/dist/cdn/{B5PO5VTY.js → UYHOMAD5.js} +2 -2
  293. package/dist/cdn/{Q5GAJOPN.js → UZMTPRP5.js} +2 -2
  294. package/dist/cdn/{3PD2HBG5.js → V4BMTWGU.js} +2 -2
  295. package/dist/cdn/{B5FFRI4V.js → V5VD2VNR.js} +2 -2
  296. package/dist/cdn/{XRC6NCOB.js → VAL2SJOM.js} +2 -2
  297. package/dist/cdn/{6BN55UJC.js → VCYRSDYS.js} +2 -2
  298. package/dist/cdn/{AOXMRIER.js → VDBTV44L.js} +2 -2
  299. package/dist/cdn/{YBTELYNL.js → VDO2G3KJ.js} +2 -2
  300. package/dist/cdn/{6WB4Q4JY.js → VDPD373C.js} +2 -2
  301. package/dist/cdn/{HBOQ63ZP.js → VIAYFIIF.js} +2 -2
  302. package/dist/cdn/{K4CXKC7Z.js → VJOMTPB6.js} +2 -2
  303. package/dist/cdn/{GEKASHAI.js → VMXZ6QEC.js} +2 -2
  304. package/dist/cdn/{AA5OWGXP.js → VOFERCBL.js} +2 -2
  305. package/dist/cdn/{UL5SFE3L.js → VON5LFYC.js} +2 -2
  306. package/dist/cdn/{3MPDK4WK.js → VRUSOROS.js} +2 -2
  307. package/dist/cdn/{UYYJV75W.js → VT6BSI7M.js} +2 -2
  308. package/dist/cdn/{DGDKGAQK.js → VUDTWZ6S.js} +2 -2
  309. package/dist/cdn/{OJCMPRDV.js → VXZZHQOR.js} +2 -2
  310. package/dist/cdn/{HO32BNLM.js → VYL5GQJJ.js} +2 -2
  311. package/dist/cdn/{G5D25KB4.js → W2OWW2KK.js} +2 -2
  312. package/dist/cdn/{UBSP4SH4.js → WBKVVBEW.js} +2 -2
  313. package/dist/cdn/WCA4MTBT.js +18 -0
  314. package/dist/cdn/{AIH4IM4R.js → WCEXT5V3.js} +1 -1
  315. package/dist/cdn/{32HJ7U6I.js → WEE2GK4X.js} +2 -2
  316. package/dist/cdn/{7UCBWXL5.js → WGKEN6KZ.js} +2 -2
  317. package/dist/cdn/{BD4Z5LKE.js → WLVI4UZX.js} +2 -2
  318. package/dist/cdn/{F7FFT7ZB.js → WMISCC5A.js} +2 -2
  319. package/dist/cdn/{DTDQRALM.js → WPJSV2F5.js} +1 -1
  320. package/dist/cdn/{NFBVFXNO.js → WRY74OLQ.js} +2 -2
  321. package/dist/cdn/{TSJRADBL.js → X3JYPDB3.js} +2 -2
  322. package/dist/cdn/{ITS5XU77.js → XALSX54V.js} +2 -2
  323. package/dist/cdn/{ZVEZP7FG.js → XFFSGMQM.js} +2 -2
  324. package/dist/cdn/{IN6U55HN.js → XGCOB2WB.js} +2 -2
  325. package/dist/cdn/{3AZTP5O6.js → XJWO2VWT.js} +2 -2
  326. package/dist/cdn/{L2LNLN2J.js → XKSMKJKC.js} +2 -2
  327. package/dist/cdn/{LWMOWGIK.js → XOFA6EHO.js} +1 -1
  328. package/dist/cdn/{BDGS3VJY.js → XZJXTTWM.js} +2 -2
  329. package/dist/cdn/{BSIAQJUA.js → Y3LUWNH6.js} +2 -2
  330. package/dist/cdn/{6TV3KIXK.js → Y3PZZL73.js} +2 -2
  331. package/dist/cdn/{KEFZ5YNV.js → Y55AAFJG.js} +2 -2
  332. package/dist/cdn/{E7R7Q7EG.js → Y6UXZU6F.js} +2 -2
  333. package/dist/cdn/{J6MD6K4M.js → YGPLVBPY.js} +2 -2
  334. package/dist/cdn/{GNRM32HC.js → YKXQPUZE.js} +2 -2
  335. package/dist/cdn/{TYLEZAG2.js → YPTLSCLI.js} +2 -2
  336. package/dist/cdn/{JZXCUVBD.js → YQKRAZFZ.js} +2 -2
  337. package/dist/cdn/{3WJFXADS.js → YSP7FBQ7.js} +1 -1
  338. package/dist/cdn/{WIFVASZC.js → YVUWCUQ5.js} +2 -2
  339. package/dist/cdn/{4YJSVXJ5.js → ZF7EIUJK.js} +1 -1
  340. package/dist/cdn/{NZVQGLFO.js → ZJDQWSA7.js} +2 -2
  341. package/dist/cdn/{VRZO33HJ.js → ZSJ6IAKN.js} +2 -2
  342. package/dist/cdn/{XIWV3EMG.js → ZWHWHHWW.js} +2 -2
  343. package/dist/cdn/{77FI7XPK.js → ZZ4AZSZG.js} +2 -2
  344. package/dist/cdn/index.js +2 -2
  345. package/dist/chunks/Auth.js +1 -1
  346. package/dist/chunks/CardsFetcher.js +1 -1
  347. package/dist/chunks/appConfig.js +1 -1
  348. package/dist/chunks/cardFetchingUtils.js +1 -1
  349. package/dist/chunks/cardsHelpers.js +1 -1
  350. package/dist/chunks/common.js +1 -1
  351. package/dist/chunks/deployAppContexts.js +1 -1
  352. package/dist/chunks/downloadUtils.js +1 -1
  353. package/dist/chunks/getItemIcon.js +1 -1
  354. package/dist/chunks/helpers.js +1 -1
  355. package/dist/chunks/interfaces.js +1 -1
  356. package/dist/chunks/loadModules.js +1 -1
  357. package/dist/chunks/mapViewUtils.js +1 -1
  358. package/dist/chunks/pciUtils.js +1 -1
  359. package/dist/chunks/popupUtils.js +1 -1
  360. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  361. package/dist/chunks/privilegeUtils.js +1 -1
  362. package/dist/chunks/publicNotificationContext.js +1 -1
  363. package/dist/chunks/queryUtils.js +1 -1
  364. package/dist/chunks/runtime.js +1 -1
  365. package/dist/chunks/solution-store.js +1 -1
  366. package/dist/chunks/templates.js +1 -1
  367. package/dist/chunks/useT9n.js +1 -1
  368. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  369. package/dist/components/basemap-gallery/customElement.js +1 -1
  370. package/dist/components/buffer-tools/customElement.js +1 -1
  371. package/dist/components/card-manager/customElement.js +1 -1
  372. package/dist/components/consent-manager/customElement.js +1 -1
  373. package/dist/components/create-feature/customElement.js +1 -1
  374. package/dist/components/create-related-feature/customElement.js +1 -1
  375. package/dist/components/crowdsource-manager/customElement.js +7 -7
  376. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  377. package/dist/components/deduct-calculator/customElement.js +1 -1
  378. package/dist/components/delete-button/customElement.js +1 -1
  379. package/dist/components/delete-dialog/customElement.js +1 -1
  380. package/dist/components/edit-card/customElement.js +1 -1
  381. package/dist/components/feature-details/customElement.js +1 -1
  382. package/dist/components/feature-list/customElement.js +1 -1
  383. package/dist/components/field-selection/customElement.js +1 -1
  384. package/dist/components/floor-filter/customElement.js +1 -1
  385. package/dist/components/info-card/customElement.js +1 -1
  386. package/dist/components/json-editor/customElement.js +1 -1
  387. package/dist/components/layer-list/customElement.js +1 -1
  388. package/dist/components/layer-table/customElement.js +4 -3
  389. package/dist/components/map-card/customElement.d.ts +1 -1
  390. package/dist/components/map-card/customElement.js +5 -4
  391. package/dist/components/map-draw-tools/customElement.js +1 -1
  392. package/dist/components/map-fullscreen/customElement.js +1 -1
  393. package/dist/components/map-layer-picker/customElement.js +1 -1
  394. package/dist/components/map-legend/customElement.js +1 -1
  395. package/dist/components/map-picker/customElement.js +1 -1
  396. package/dist/components/map-search/customElement.js +1 -1
  397. package/dist/components/map-select-tools/customElement.js +1 -1
  398. package/dist/components/map-tools/customElement.d.ts +1 -1
  399. package/dist/components/map-tools/customElement.js +2 -2
  400. package/dist/components/pci-calculator/customElement.js +1 -1
  401. package/dist/components/pdf-download/customElement.js +1 -1
  402. package/dist/components/public-notification/customElement.js +1 -1
  403. package/dist/components/refine-selection/customElement.js +1 -1
  404. package/dist/components/selection-tool/customElement.js +1 -1
  405. package/dist/components/solution-article-card/customElement.js +1 -1
  406. package/dist/components/solution-configuration/customElement.js +1 -1
  407. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  408. package/dist/components/solution-configure-titles/customElement.js +1 -1
  409. package/dist/components/solution-contents/customElement.js +1 -1
  410. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  411. package/dist/components/solution-deploy-dialog/customElement.js +2 -2
  412. package/dist/components/solution-deployed-card/customElement.js +1 -1
  413. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  414. package/dist/components/solution-details-card/customElement.js +1 -1
  415. package/dist/components/solution-details-panel/customElement.js +2 -2
  416. package/dist/components/solution-item/customElement.js +1 -1
  417. package/dist/components/solution-item-accordion/customElement.js +1 -1
  418. package/dist/components/solution-item-details/customElement.js +1 -1
  419. package/dist/components/solution-item-diagram/customElement.js +101 -97
  420. package/dist/components/solution-item-icon/customElement.js +1 -1
  421. package/dist/components/solution-item-sharing/customElement.js +1 -1
  422. package/dist/components/solution-organization-variables/customElement.js +1 -1
  423. package/dist/components/solution-resource-item/customElement.js +1 -1
  424. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  425. package/dist/components/solution-social-share/customElement.js +1 -1
  426. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  427. package/dist/components/solution-template-data/customElement.js +1 -1
  428. package/dist/components/solution-variables/customElement.js +1 -1
  429. package/dist/components/solutions-all-panel/customElement.js +1 -1
  430. package/dist/components/solutions-all-shell/customElement.d.ts +0 -2
  431. package/dist/components/solutions-all-shell/customElement.js +11 -14
  432. package/dist/components/solutions-article-panel/customElement.js +1 -1
  433. package/dist/components/solutions-articles/customElement.js +1 -1
  434. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  435. package/dist/components/solutions-deploy-app/customElement.d.ts +1 -1
  436. package/dist/components/solutions-deploy-app/customElement.js +39 -38
  437. package/dist/components/solutions-deploy-app-nav/customElement.js +9 -9
  438. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  439. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  440. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  441. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  442. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  443. package/dist/components/spatial-ref/customElement.js +1 -1
  444. package/dist/components/store-manager/customElement.js +1 -1
  445. package/dist/docs/api.json +18 -15
  446. package/dist/docs/docs.json +13 -22
  447. package/dist/docs/vscode.html-custom-data.json +2 -2
  448. package/dist/docs/web-types.json +5 -15
  449. package/dist/index.d.ts +0 -1
  450. package/dist/index.js +1 -1
  451. package/dist/loader.js +2 -2
  452. package/dist/types/lumina.d.ts +0 -1
  453. package/dist/types/preact.d.ts +0 -1
  454. package/dist/types/preact10.d.ts +0 -1
  455. package/dist/types/react.d.ts +0 -1
  456. package/dist/types/stencil.d.ts +0 -1
  457. package/package.json +6 -6
  458. package/dist/cdn/3WH4NYCV.js +0 -18
  459. package/dist/cdn/6HYASXTD.js +0 -18
  460. package/dist/cdn/7BXNJPWD.js +0 -4
  461. package/dist/cdn/BE572B5U.js +0 -4
  462. package/dist/cdn/CB76NLMT.js +0 -18
  463. package/dist/cdn/DCWBNROW.js +0 -4
  464. package/dist/cdn/ELHIFSH4.js +0 -18
  465. package/dist/cdn/GJFL7VU5.js +0 -4
  466. package/dist/cdn/HMWODJBR.js +0 -18
  467. package/dist/cdn/KM3EU4G7.js +0 -4
  468. package/dist/cdn/PZJBWNEZ.js +0 -4
  469. package/dist/cdn/R5WVUHHQ.js +0 -18
  470. package/dist/cdn/SA6PEP6X.js +0 -4
  471. package/dist/cdn/SFWX3UGH.js +0 -4
  472. package/dist/cdn/XWQ6H7GZ.js +0 -4
  473. package/dist/cdn/ZD2NK7QI.js +0 -18
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0 */
4
- import{a as O}from"./GWXJIXZK.js";import{A as H,C as M,D as F,d as B,e as L}from"./U3VSDXKL.js";import{b as U}from"./PZJBWNEZ.js";import"./2XTYWT3B.js";import"./A7SGX5YT.js";import{B as S,C as m,D as h,E as I,G as a,H as b,I as C,h as T,i as n,j as w}from"./KCYMVFRG.js";import"./SMTMWRRV.js";var ee=T`:host{display:block;--instant-apps-social-share-action-width: initial;--instant-apps-social-share-width--s: 200px;--instant-apps-social-share-width--m: 280px;--instant-apps-social-share-width--l: 320px;--instant-apps-social-share-width-horizontal--s: 300px;--instant-apps-social-share-width-horizontal--m: 380px;--instant-apps-social-share-width-horizontal--l: 420px;--instant-apps-social-share-background-color: var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color: transparent;--instant-apps-social-share-popover-button-icon-color: var(--calcite-icon-color);--instant-apps-social-share-embed-border: 1px solid $border;--instant-apps-social-share-embed-text-area-text: #468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#fff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:700;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}`,i="instant-apps-social-share",N=".calcite-mode-dark",t={dialog:`${i}__dialog`,dialogContent:`${i}__dialog-content`,options:`${i}__options`,tipContainer:`${i}__tip`,tipHeader:`${i}__tip-header`,tipContent:`${i}__tip-content`,icon:`${i}__icon`,iconContainer:`${i}__icon-container`,optionText:`${i}__option-text`,popoverButton:`${i}__popover-button`,layout:{vertical:`${i}__layout--vertical`,horizontal:`${i}__layout--horizontal`},xLogo:{light:`${i}__x-logo--light`,dark:`${i}__x-logo--dark`},success:{container:`${i}__success`,header:`${i}__success-header`,message:`${i}__success-message`,icon:`${i}__success-icon`},embed:{container:`${i}__embed`,header:`${i}__embed-header`,embedCode:{container:`${i}__embed-code`,textArea:`${i}__embed-code-text-area`,copyButton:`${i}__embed-code-copy-button`},textAreaText:`${i}__embed-text-area-text`,dimensions:{container:`${i}__embed-dimensions`,input:`${i}__embed-dimensions-input`}},rtl:{optionText:`${i}__option-text--rtl`,textArea:`${i}__text-area--rtl`}},te={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?text={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},E=1,z=class extends I{constructor(){super(...arguments),this._messages=O({name:"instant-apps-social-share"}),this.popoverRef=m(),this.embedWidthRef=m(),this.embedHeightRef=m(),this.embedCodeRef=m(),this.copyLinkPopoverRef=m(),this.copyEmbedPopoverRef=m(),this.dialogContentRef=m(),this.shareListRef=m(),this.popoverButtonRef=m(),this.handlePopoverRefKeyDown=async e=>{if(!this.isNativeShareEnabled)if(e.code==="Tab"){if(!this.shareListRef.value)return;let s=e.target,o=this.shareListRef.value.children[0],r=this.shareListRef.value.children[this.shareListRef.value.children.length-1];e.shiftKey&&s===o?(e.preventDefault(),r.focus()):!e.shiftKey&&s===r&&(e.preventDefault(),o.focus())}else e.code==="Escape"&&(this.closePopover(),await this.popoverButtonRef.value?.setFocus())},this.stopEventPropagation=e=>{e.stopPropagation()},this.autoCloseCallback=()=>{this.mode==="popover"&&this.popoverRef.value?(this.isPopoverOpen=!1,this.popoverRef.value.open=this.isPopoverOpen):(this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1),this.inlineCopyEmbedOpened=!1)},this.resetPopoverCopyState=async()=>{await this.popoverButtonRef.value?.setFocus(),setTimeout(()=>{this.isLinkCopiedToClipboard=!1},200)},this.isPopoverOpen=!1,this.isLinkCopiedToClipboard=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600,this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1}static{this.properties={isPopoverOpen:16,isLinkCopiedToClipboard:16,inlineCopyLinkOpened:16,inlineCopyEmbedOpened:16,embedWidth:16,embedHeight:16,mode:3,shareUrl:1,autoUpdateShareUrl:5,shareText:3,embed:7,shareButtonColor:3,shareButtonType:3,shareButtonScale:3,iframeInnerText:3,popoverButtonIconScale:3,view:0,displayTipText:7,shortenShareUrl:7,socialMedia:7,shareIconsLayout:3,scale:3,successMessage:3,flipRtl:7,defaultUrlParams:0,inlineSuccessPopoverPlacement:3,popoverPositioning:3,removePopoverOffset:7,useNativeShare:7,isNativeShareEnabled:7}}static{this.styles=ee}load(){document.documentElement.addEventListener("click",this.autoCloseCallback),this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice}disconnectedCallback(){super.disconnectedCallback(),document.documentElement.removeEventListener("click",this.autoCloseCallback)}makeOptionKeyDownHandler(e){return async s=>{let o=s.code;(o==="Space"||o==="Enter")&&await this.handleShareItem(e)}}makeEmbedResizeHandler(e){let s=e==="width"?this.embedWidthRef.value:this.embedHeightRef.value;return()=>{if(!(!this.embed||this.isNativeShareEnabled)&&s){let o=Math.max(s.valueAsNumber??0,E);this[e==="width"?"embedWidth":"embedHeight"]=o}}}togglePopoverVisibility(e){e.stopPropagation(),this.isPopoverOpen=!this.isPopoverOpen,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}closePopover(){this.isPopoverOpen=!1,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}async handleShareItem(e){this.shareUrl=await this.generateShareUrl();let s=null,o=navigator?.userAgent?.includes("Chrome")??!1,r=(navigator?.userAgent?.includes("Safari")??!1)&&!o;!r&&this.shortenShareUrl&&(s=await this.shortenUrl(this.shareUrl));let l=s||this.shareUrl;switch(e){case"link":await navigator.clipboard.writeText(l),this.embed&&this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!0,setTimeout(()=>{this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1)},3e3)),this.inlineCopyLinkOpened=!0,this.isLinkCopiedToClipboard=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let p;r&&(p=window.open("","_blank"),this.shortenShareUrl&&(l=await this.shortenUrl(this.shareUrl)||l));let d={url:encodeURI(l)},f=e==="x"?{...d,text:this.shareText}:d,k=(await M()).substitute(te[e],f);this.mode==="popover"&&this.closePopover(),r&&p?(p.location=k,p.focus()):window.open(encodeURI(k),"_blank")}break;case"native-share":let v={title:this._messages.share?.label||"Share",text:this.shareText,url:encodeURI(l)};navigator?.canShare?.(v)?navigator.share(v).catch(p=>{console.error("Error using native share:",p)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(e){let s=(await(await F())("https://arcg.is/prod/shorten",{query:{longUrl:e,f:"json"}}))?.data?.data?.url;if(s)return s.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}async copyEmbedCode(){await navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!0,setTimeout(()=>{this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1)},3e3)),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:e,y:s}=this.view.center,{spatialReference:o}=this.view,r=await L({...o.toJSON()}),l=await B({x:e,y:s,spatialReference:r}),v=await this.processPoint(l),{isWGS84:p,isWebMercator:d}=v.spatialReference,f=p||d;return this.generateShareUrlParams(v,f)}async processPoint(e){let{isWGS84:s,isWebMercator:o}=e.spatialReference;if(s||o)return e;let r=await H(),l=await L({wkid:4326}),v=this.view?.spatialReference??l;try{return await r.load(),r.execute(e,v)}catch(p){console.error("Failed to project point to outSpatialReference",p);try{let d=r.execute(e,l);return Promise.resolve(d)}catch(d){return console.error("Failed to project point to fallbackOutSpatialReference",d),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(e,s){let{longitude:o,latitude:r,x:l,y:v}=e;if(o===void 0||r===void 0||!this.view)return this.shareUrl;let p=this.roundValue(s?o:l),d=this.roundValue(s?r:v),{zoom:f}=this.view,k=this.roundValue(f),P=this.view?.popup?.selectedFeature,D=this.view?.popup?.visible,$,x;if(P&&D&&P?.layer?.type==="feature"){let _=P?.layer;$=_?.id,x=P.attributes[_.objectIdField]}let R=this.view.map?.allLayers.filter(_=>!_.visible).toArray().map(_=>_.id).toString().replaceAll(",",";"),{type:A}=this.view,{defaultUrlParams:g}=this,c=new URL(this.shareUrl),{searchParams:u}=c;if(u.get("center")&&u.delete("center"),u.get("level")&&u.delete("level"),u.get("selectedFeature")&&u.delete("selectedFeature"),u.get("hiddenLayers")&&u.delete("hiddenLayers"),u.get("viewpoint")&&u.delete("viewpoint"),A==="3d"){let{camera:_}=this.view,{heading:V,position:W,tilt:j}=_,{longitude:K,latitude:Z,x:G,y:X,z:q}=W,J=s?K:G,Q=s?Z:X,y={longitude:this.roundValue(J,8),latitude:this.roundValue(Q,8),z:this.roundValue(q,3),heading:this.roundValue(V,3),tilt:this.roundValue(j,3)},Y=`cam:${y.longitude},${y.latitude},${y.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${y.heading},${y.tilt}`;return g?.viewpoint!==!1&&c.searchParams.set("viewpoint",Y),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}return g?.center!==!1&&c.searchParams.set("center",`${p};${d}`),g?.level!==!1&&c.searchParams.set("level",`${k}`),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}roundValue(e,s=4){return Number.parseFloat(e.toFixed(s))}get isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}render(){let e=this.isLinkCopiedToClipboard&&this.mode==="popover"?this.renderSuccess():n`<div class=${a(t.dialogContent)}>${this.renderMenuOptions()}${this.displayTipText?this.renderTip():null}${this.embed?this.renderEmbed():null}</div>`,s=this.shareIconsLayout==="vertical"?` ${t.layout.vertical}`:` ${t.layout.horizontal}`,o=` calcite-mode-${this.el.closest(N)?"dark":"light"}`,r=n`<div class=${`${t.dialog}${s}${o}`} @click=${this.stopEventPropagation} ${h(this.dialogContentRef)}>${e}</div>`,l=this.removePopoverOffset?0:6;return this.isNativeShareEnabled?this.renderShareButton():this.mode==="popover"?[n`<calcite-popover .open=${this.isPopoverOpen} .label=${this._messages.share?.label??""} reference-element=shareButton placement=bottom-start .scale=${this.scale} .overlayPositioning=${this.popoverPositioning} .offsetDistance=${l} .pointerDisabled=${this.removePopoverOffset} @calcitePopoverOpen=${()=>{!this.shareListRef.value||this.isNativeShareEnabled||this.shareListRef.value.children[0].focus()}} @calcitePopoverBeforeClose=${this.resetPopoverCopyState} @click=${this.stopEventPropagation} @keydown=${this.handlePopoverRefKeyDown} ${h(this.popoverRef)}>${r}</calcite-popover>`,this.renderShareButton()]:[r,n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyLinkPopoverRef)}>${this.renderSuccess()}</calcite-popover>`,this.embed?n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyEmbedToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyEmbedPopoverRef)}>${this.renderEmbedSuccess()}</calcite-popover>`:null]}renderShareButton(){let e=this.shareButtonScale??this.scale,s=async r=>{this.isNativeShareEnabled?(r.stopPropagation(),await this.handleShareItem("native-share")):this.togglePopoverVisibility(r)},o=n`<div class=${a(t.iconContainer)}><calcite-icon icon=share .scale=${this.popoverButtonIconScale}></calcite-icon></div>`;return this.shareButtonType==="button"?n`<calcite-button id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} .kind=${this.shareButtonColor} appearance=transparent ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-button>`:n`<calcite-action id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} appearance=transparent text alignment=center ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-action>`}renderSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${this.successMessage||e?.url}</span></div>`}renderEmbedSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${e?.embed}</span></div>`}renderMenuOptions(){let e=this._messages.options,s=document.dir==="rtl"?` ${t.rtl.optionText}`:"";return n`<ul class=${a(t.options)} role=menu ${h(this.shareListRef)}><li id=copyToClipboard @click=${this.handleShareItem.bind(this,"link")} @keydown=${this.makeOptionKeyDownHandler("link")} role=menuitem tabindex=0><span class=${a(t.icon)}><calcite-icon icon=link .scale=${this.scale}></calcite-icon></span><span class=${`${t.optionText}${s}`}>${e?.link?.label}</span></li>${this.socialMedia?[n`<li @click=${this.handleShareItem.bind(this,"facebook")} @keydown=${this.makeOptionKeyDownHandler("facebook")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderFacebookIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.facebook?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"x")} @keydown=${this.makeOptionKeyDownHandler("x")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderXIcon()}</span><span class=${`${t.optionText}${s}`}>X</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"linkedIn")} @keydown=${this.makeOptionKeyDownHandler("linkedIn")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderLinkedInIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.linkedIn?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"bluesky")} @keydown=${this.makeOptionKeyDownHandler("bluesky")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderBlueSkyIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.blueSky?.label}</span></li>`]:null}</ul>`}renderFacebookIcon(){return n`<svg height=100% style=${b({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g><path d="M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z" style=${b({fill:"#1877f2",fillRule:"nonzero"})} /><path d="M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z" style=${b({fill:"#fff",fillRule:"nonzero"})} /></g>`}</svg>`}renderXIcon(){let e=!!this.el.closest(N);return n`<svg height=100% class=${a(e?t.xLogo.dark:t.xLogo.light)} viewBox="0 0 1200 1227" fill=none xmlns=http://www.w3.org/2000/svg>${w`<rect height=400 style=${b({fill:"none"})} width=400 x=56 y=56 /><path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill=${e?"white":"black"} />`}</svg>`}renderBlueSkyIcon(){return n`<svg height=100% fill=#0f85fe xmlns=http://www.w3.org/2000/svg viewBox="0 0 512 512">${w`<path d="M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z" />`}</svg>`}renderLinkedInIcon(){return n`<svg height=100% style=${b({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g id=g5891><path d="M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z" id=background style=${b({fill:"#2867b2"})} /><g id=shapes><rect height=257.962 id=rect11 style=${b({fill:"#fff"})} width=85.76 x=61.053 y=178.667 /><path d="M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z" id=path13-0 style=${b({fill:"#fff",fillRule:"nonzero"})} /><path d="M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z" id=path15 style=${b({fill:"#fff",fillRule:"nonzero"})} /></g></g>`}</svg>`}renderTip(){let e=this._messages.info;return n`<div class=${a(t.tipContainer)}><span class=${a(t.tipHeader)}><calcite-icon icon=lightbulb .scale=${this.scale}></calcite-icon><span>${e?.label}</span></span><p class=${a(t.tipContent)}>${e?.tooltip}</p></div>`}renderEmbed(){let e=this._messages.embed,s=document.dir==="rtl"?` ${t.rtl.textArea}`:"";return n`<div class=${a(t.embed.container)}><span class=${a(t.embed.header)}><calcite-icon icon=code .scale=${this.scale}></calcite-icon><span>${this._messages.embed?.label}</span></span><div class=${a(t.embed.embedCode.container)}><div class=${a(t.embed.embedCode.textArea)}><textarea cols=30 rows=5 readonly class=${a(s)} .value=${S(this.getEmbedCode()??"")} ${h(this.embedCodeRef)}></textarea><button id=copyEmbedToClipboard @click=${this.copyEmbedCode} class=${a(t.embed.embedCode.copyButton)}><calcite-icon icon=copy .scale=${this.scale}></calcite-icon><span>${e?.copy}</span></button></div><span class=${a(t.embed.textAreaText)}><slot name=text-area-text></slot></span><div class=${a(t.embed.dimensions.container)}><label class=${a(t.embed.dimensions.input)}><span>${e?.width}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("width")} .value=${S(this.embedWidth??"")} min=${E} ${h(this.embedWidthRef)}></label><label class=${a(t.embed.dimensions.input)}><span>${e?.height}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("height")} .value=${S(this.embedHeight??"")} min=${E} ${h(this.embedHeightRef)}></label></div></div></div>`}};U("instant-apps-social-share",z);export{z as InstantAppsSocialShare};
3
+ v1.1.2 */
4
+ import{a as O}from"./4CQTDBOU.js";import{A as H,C as M,D as F,d as B,e as L}from"./HYIFXLL5.js";import{b as U}from"./GKH6SK5J.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{B as S,C as m,D as h,E as I,G as a,H as b,I as C,h as T,i as n,j as w}from"./C3RJP556.js";import"./PR5LDTTA.js";var ee=T`:host{display:block;--instant-apps-social-share-action-width: initial;--instant-apps-social-share-width--s: 200px;--instant-apps-social-share-width--m: 280px;--instant-apps-social-share-width--l: 320px;--instant-apps-social-share-width-horizontal--s: 300px;--instant-apps-social-share-width-horizontal--m: 380px;--instant-apps-social-share-width-horizontal--l: 420px;--instant-apps-social-share-background-color: var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color: transparent;--instant-apps-social-share-popover-button-icon-color: var(--calcite-icon-color);--instant-apps-social-share-embed-border: 1px solid $border;--instant-apps-social-share-embed-text-area-text: #468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#fff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:700;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}`,i="instant-apps-social-share",N=".calcite-mode-dark",t={dialog:`${i}__dialog`,dialogContent:`${i}__dialog-content`,options:`${i}__options`,tipContainer:`${i}__tip`,tipHeader:`${i}__tip-header`,tipContent:`${i}__tip-content`,icon:`${i}__icon`,iconContainer:`${i}__icon-container`,optionText:`${i}__option-text`,popoverButton:`${i}__popover-button`,layout:{vertical:`${i}__layout--vertical`,horizontal:`${i}__layout--horizontal`},xLogo:{light:`${i}__x-logo--light`,dark:`${i}__x-logo--dark`},success:{container:`${i}__success`,header:`${i}__success-header`,message:`${i}__success-message`,icon:`${i}__success-icon`},embed:{container:`${i}__embed`,header:`${i}__embed-header`,embedCode:{container:`${i}__embed-code`,textArea:`${i}__embed-code-text-area`,copyButton:`${i}__embed-code-copy-button`},textAreaText:`${i}__embed-text-area-text`,dimensions:{container:`${i}__embed-dimensions`,input:`${i}__embed-dimensions-input`}},rtl:{optionText:`${i}__option-text--rtl`,textArea:`${i}__text-area--rtl`}},te={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?text={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},E=1,z=class extends I{constructor(){super(...arguments),this._messages=O({name:"instant-apps-social-share"}),this.popoverRef=m(),this.embedWidthRef=m(),this.embedHeightRef=m(),this.embedCodeRef=m(),this.copyLinkPopoverRef=m(),this.copyEmbedPopoverRef=m(),this.dialogContentRef=m(),this.shareListRef=m(),this.popoverButtonRef=m(),this.handlePopoverRefKeyDown=async e=>{if(!this.isNativeShareEnabled)if(e.code==="Tab"){if(!this.shareListRef.value)return;let s=e.target,o=this.shareListRef.value.children[0],r=this.shareListRef.value.children[this.shareListRef.value.children.length-1];e.shiftKey&&s===o?(e.preventDefault(),r.focus()):!e.shiftKey&&s===r&&(e.preventDefault(),o.focus())}else e.code==="Escape"&&(this.closePopover(),await this.popoverButtonRef.value?.setFocus())},this.stopEventPropagation=e=>{e.stopPropagation()},this.autoCloseCallback=()=>{this.mode==="popover"&&this.popoverRef.value?(this.isPopoverOpen=!1,this.popoverRef.value.open=this.isPopoverOpen):(this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1),this.inlineCopyEmbedOpened=!1)},this.resetPopoverCopyState=async()=>{await this.popoverButtonRef.value?.setFocus(),setTimeout(()=>{this.isLinkCopiedToClipboard=!1},200)},this.isPopoverOpen=!1,this.isLinkCopiedToClipboard=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600,this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1}static{this.properties={isPopoverOpen:16,isLinkCopiedToClipboard:16,inlineCopyLinkOpened:16,inlineCopyEmbedOpened:16,embedWidth:16,embedHeight:16,mode:3,shareUrl:1,autoUpdateShareUrl:5,shareText:3,embed:7,shareButtonColor:3,shareButtonType:3,shareButtonScale:3,iframeInnerText:3,popoverButtonIconScale:3,view:0,displayTipText:7,shortenShareUrl:7,socialMedia:7,shareIconsLayout:3,scale:3,successMessage:3,flipRtl:7,defaultUrlParams:0,inlineSuccessPopoverPlacement:3,popoverPositioning:3,removePopoverOffset:7,useNativeShare:7,isNativeShareEnabled:7}}static{this.styles=ee}load(){document.documentElement.addEventListener("click",this.autoCloseCallback),this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice}disconnectedCallback(){super.disconnectedCallback(),document.documentElement.removeEventListener("click",this.autoCloseCallback)}makeOptionKeyDownHandler(e){return async s=>{let o=s.code;(o==="Space"||o==="Enter")&&await this.handleShareItem(e)}}makeEmbedResizeHandler(e){let s=e==="width"?this.embedWidthRef.value:this.embedHeightRef.value;return()=>{if(!(!this.embed||this.isNativeShareEnabled)&&s){let o=Math.max(s.valueAsNumber??0,E);this[e==="width"?"embedWidth":"embedHeight"]=o}}}togglePopoverVisibility(e){e.stopPropagation(),this.isPopoverOpen=!this.isPopoverOpen,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}closePopover(){this.isPopoverOpen=!1,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}async handleShareItem(e){this.shareUrl=await this.generateShareUrl();let s=null,o=navigator?.userAgent?.includes("Chrome")??!1,r=(navigator?.userAgent?.includes("Safari")??!1)&&!o;!r&&this.shortenShareUrl&&(s=await this.shortenUrl(this.shareUrl));let l=s||this.shareUrl;switch(e){case"link":await navigator.clipboard.writeText(l),this.embed&&this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!0,setTimeout(()=>{this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1)},3e3)),this.inlineCopyLinkOpened=!0,this.isLinkCopiedToClipboard=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let p;r&&(p=window.open("","_blank"),this.shortenShareUrl&&(l=await this.shortenUrl(this.shareUrl)||l));let d={url:encodeURI(l)},f=e==="x"?{...d,text:this.shareText}:d,k=(await M()).substitute(te[e],f);this.mode==="popover"&&this.closePopover(),r&&p?(p.location=k,p.focus()):window.open(encodeURI(k),"_blank")}break;case"native-share":let v={title:this._messages.share?.label||"Share",text:this.shareText,url:encodeURI(l)};navigator?.canShare?.(v)?navigator.share(v).catch(p=>{console.error("Error using native share:",p)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(e){let s=(await(await F())("https://arcg.is/prod/shorten",{query:{longUrl:e,f:"json"}}))?.data?.data?.url;if(s)return s.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}async copyEmbedCode(){await navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!0,setTimeout(()=>{this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1)},3e3)),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:e,y:s}=this.view.center,{spatialReference:o}=this.view,r=await L({...o.toJSON()}),l=await B({x:e,y:s,spatialReference:r}),v=await this.processPoint(l),{isWGS84:p,isWebMercator:d}=v.spatialReference,f=p||d;return this.generateShareUrlParams(v,f)}async processPoint(e){let{isWGS84:s,isWebMercator:o}=e.spatialReference;if(s||o)return e;let r=await H(),l=await L({wkid:4326}),v=this.view?.spatialReference??l;try{return await r.load(),r.execute(e,v)}catch(p){console.error("Failed to project point to outSpatialReference",p);try{let d=r.execute(e,l);return Promise.resolve(d)}catch(d){return console.error("Failed to project point to fallbackOutSpatialReference",d),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(e,s){let{longitude:o,latitude:r,x:l,y:v}=e;if(o===void 0||r===void 0||!this.view)return this.shareUrl;let p=this.roundValue(s?o:l),d=this.roundValue(s?r:v),{zoom:f}=this.view,k=this.roundValue(f),P=this.view?.popup?.selectedFeature,D=this.view?.popup?.visible,$,x;if(P&&D&&P?.layer?.type==="feature"){let _=P?.layer;$=_?.id,x=P.attributes[_.objectIdField]}let R=this.view.map?.allLayers.filter(_=>!_.visible).toArray().map(_=>_.id).toString().replaceAll(",",";"),{type:A}=this.view,{defaultUrlParams:g}=this,c=new URL(this.shareUrl),{searchParams:u}=c;if(u.get("center")&&u.delete("center"),u.get("level")&&u.delete("level"),u.get("selectedFeature")&&u.delete("selectedFeature"),u.get("hiddenLayers")&&u.delete("hiddenLayers"),u.get("viewpoint")&&u.delete("viewpoint"),A==="3d"){let{camera:_}=this.view,{heading:V,position:W,tilt:j}=_,{longitude:K,latitude:Z,x:G,y:X,z:q}=W,J=s?K:G,Q=s?Z:X,y={longitude:this.roundValue(J,8),latitude:this.roundValue(Q,8),z:this.roundValue(q,3),heading:this.roundValue(V,3),tilt:this.roundValue(j,3)},Y=`cam:${y.longitude},${y.latitude},${y.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${y.heading},${y.tilt}`;return g?.viewpoint!==!1&&c.searchParams.set("viewpoint",Y),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}return g?.center!==!1&&c.searchParams.set("center",`${p};${d}`),g?.level!==!1&&c.searchParams.set("level",`${k}`),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}roundValue(e,s=4){return Number.parseFloat(e.toFixed(s))}get isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}render(){let e=this.isLinkCopiedToClipboard&&this.mode==="popover"?this.renderSuccess():n`<div class=${a(t.dialogContent)}>${this.renderMenuOptions()}${this.displayTipText?this.renderTip():null}${this.embed?this.renderEmbed():null}</div>`,s=this.shareIconsLayout==="vertical"?` ${t.layout.vertical}`:` ${t.layout.horizontal}`,o=` calcite-mode-${this.el.closest(N)?"dark":"light"}`,r=n`<div class=${`${t.dialog}${s}${o}`} @click=${this.stopEventPropagation} ${h(this.dialogContentRef)}>${e}</div>`,l=this.removePopoverOffset?0:6;return this.isNativeShareEnabled?this.renderShareButton():this.mode==="popover"?[n`<calcite-popover .open=${this.isPopoverOpen} .label=${this._messages.share?.label??""} reference-element=shareButton placement=bottom-start .scale=${this.scale} .overlayPositioning=${this.popoverPositioning} .offsetDistance=${l} .pointerDisabled=${this.removePopoverOffset} @calcitePopoverOpen=${()=>{!this.shareListRef.value||this.isNativeShareEnabled||this.shareListRef.value.children[0].focus()}} @calcitePopoverBeforeClose=${this.resetPopoverCopyState} @click=${this.stopEventPropagation} @keydown=${this.handlePopoverRefKeyDown} ${h(this.popoverRef)}>${r}</calcite-popover>`,this.renderShareButton()]:[r,n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyLinkPopoverRef)}>${this.renderSuccess()}</calcite-popover>`,this.embed?n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyEmbedToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyEmbedPopoverRef)}>${this.renderEmbedSuccess()}</calcite-popover>`:null]}renderShareButton(){let e=this.shareButtonScale??this.scale,s=async r=>{this.isNativeShareEnabled?(r.stopPropagation(),await this.handleShareItem("native-share")):this.togglePopoverVisibility(r)},o=n`<div class=${a(t.iconContainer)}><calcite-icon icon=share .scale=${this.popoverButtonIconScale}></calcite-icon></div>`;return this.shareButtonType==="button"?n`<calcite-button id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} .kind=${this.shareButtonColor} appearance=transparent ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-button>`:n`<calcite-action id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} appearance=transparent text alignment=center ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-action>`}renderSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${this.successMessage||e?.url}</span></div>`}renderEmbedSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${e?.embed}</span></div>`}renderMenuOptions(){let e=this._messages.options,s=document.dir==="rtl"?` ${t.rtl.optionText}`:"";return n`<ul class=${a(t.options)} role=menu ${h(this.shareListRef)}><li id=copyToClipboard @click=${this.handleShareItem.bind(this,"link")} @keydown=${this.makeOptionKeyDownHandler("link")} role=menuitem tabindex=0><span class=${a(t.icon)}><calcite-icon icon=link .scale=${this.scale}></calcite-icon></span><span class=${`${t.optionText}${s}`}>${e?.link?.label}</span></li>${this.socialMedia?[n`<li @click=${this.handleShareItem.bind(this,"facebook")} @keydown=${this.makeOptionKeyDownHandler("facebook")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderFacebookIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.facebook?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"x")} @keydown=${this.makeOptionKeyDownHandler("x")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderXIcon()}</span><span class=${`${t.optionText}${s}`}>X</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"linkedIn")} @keydown=${this.makeOptionKeyDownHandler("linkedIn")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderLinkedInIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.linkedIn?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"bluesky")} @keydown=${this.makeOptionKeyDownHandler("bluesky")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderBlueSkyIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.blueSky?.label}</span></li>`]:null}</ul>`}renderFacebookIcon(){return n`<svg height=100% style=${b({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g><path d="M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z" style=${b({fill:"#1877f2",fillRule:"nonzero"})} /><path d="M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z" style=${b({fill:"#fff",fillRule:"nonzero"})} /></g>`}</svg>`}renderXIcon(){let e=!!this.el.closest(N);return n`<svg height=100% class=${a(e?t.xLogo.dark:t.xLogo.light)} viewBox="0 0 1200 1227" fill=none xmlns=http://www.w3.org/2000/svg>${w`<rect height=400 style=${b({fill:"none"})} width=400 x=56 y=56 /><path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill=${e?"white":"black"} />`}</svg>`}renderBlueSkyIcon(){return n`<svg height=100% fill=#0f85fe xmlns=http://www.w3.org/2000/svg viewBox="0 0 512 512">${w`<path d="M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z" />`}</svg>`}renderLinkedInIcon(){return n`<svg height=100% style=${b({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g id=g5891><path d="M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z" id=background style=${b({fill:"#2867b2"})} /><g id=shapes><rect height=257.962 id=rect11 style=${b({fill:"#fff"})} width=85.76 x=61.053 y=178.667 /><path d="M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z" id=path13-0 style=${b({fill:"#fff",fillRule:"nonzero"})} /><path d="M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z" id=path15 style=${b({fill:"#fff",fillRule:"nonzero"})} /></g></g>`}</svg>`}renderTip(){let e=this._messages.info;return n`<div class=${a(t.tipContainer)}><span class=${a(t.tipHeader)}><calcite-icon icon=lightbulb .scale=${this.scale}></calcite-icon><span>${e?.label}</span></span><p class=${a(t.tipContent)}>${e?.tooltip}</p></div>`}renderEmbed(){let e=this._messages.embed,s=document.dir==="rtl"?` ${t.rtl.textArea}`:"";return n`<div class=${a(t.embed.container)}><span class=${a(t.embed.header)}><calcite-icon icon=code .scale=${this.scale}></calcite-icon><span>${this._messages.embed?.label}</span></span><div class=${a(t.embed.embedCode.container)}><div class=${a(t.embed.embedCode.textArea)}><textarea cols=30 rows=5 readonly class=${a(s)} .value=${S(this.getEmbedCode()??"")} ${h(this.embedCodeRef)}></textarea><button id=copyEmbedToClipboard @click=${this.copyEmbedCode} class=${a(t.embed.embedCode.copyButton)}><calcite-icon icon=copy .scale=${this.scale}></calcite-icon><span>${e?.copy}</span></button></div><span class=${a(t.embed.textAreaText)}><slot name=text-area-text></slot></span><div class=${a(t.embed.dimensions.container)}><label class=${a(t.embed.dimensions.input)}><span>${e?.width}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("width")} .value=${S(this.embedWidth??"")} min=${E} ${h(this.embedWidthRef)}></label><label class=${a(t.embed.dimensions.input)}><span>${e?.height}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("height")} .value=${S(this.embedHeight??"")} min=${E} ${h(this.embedHeightRef)}></label></div></div></div>`}};U("instant-apps-social-share",z);export{z as InstantAppsSocialShare};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0 */
4
- import{a as G}from"./YWR5SHTJ.js";import{b as R}from"./PSGW263P.js";import{c as b,h as V,i as O}from"./5VLZX43L.js";import{d as r,e as f,g as C}from"./IZ3E7B3U.js";import{d as D}from"./PT5AV3WQ.js";import{b as x}from"./FXCOD63W.js";import{a as $}from"./6ELJSTOG.js";import"./2XTYWT3B.js";import"./A7SGX5YT.js";import{b as E}from"./PZWKB64K.js";import{C as y,D as m,E as L,G as k,h as I,i as h,o as _,r as v}from"./KCYMVFRG.js";import"./SMTMWRRV.js";var T=I`@layer{/** @license
3
+ v1.1.2 */
4
+ import{a as G}from"./DOX3JTNJ.js";import{b as R}from"./FNFLIMK4.js";import{c as b,h as V,i as O}from"./BOOF3NBM.js";import{d as r,e as f,g as C}from"./2X27XYSX.js";import{d as D}from"./4VNLVOPL.js";import{b as x}from"./DCM6XZAR.js";import{a as $}from"./UPEGEW7Y.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{b as E}from"./RIVQ5IKO.js";import{C as y,D as m,E as L,G as k,h as I,i as h,o as _,r as v}from"./C3RJP556.js";import"./PR5LDTTA.js";var T=I`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.2 */
4
+ import{b as f}from"./DCM6XZAR.js";import{a as y}from"./UPEGEW7Y.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{b}from"./RIVQ5IKO.js";import{C as a,D as h,E as u,G as l,h as w,i as r,l as m}from"./C3RJP556.js";import"./PR5LDTTA.js";var x=w`/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */:host{display:block}.display-none{display:none}.display-flex{display:flex}.margin-top-1-2{margin-top:.5rem}.margin-left-1-2{margin-left:.5rem}.square-32{width:32px;height:32px}.square-40{width:40px;height:40px}.square-48{width:48px;height:48px}.width-40{width:40px}.square-40-41{width:40px;height:41px}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.box-shadow{box-shadow:0 1px 2px #0000004d}.margin-bottom-1-2{margin-bottom:.5rem}.danger-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}`,g=class extends u{constructor(){super(),this.enabledLayerIds=[],this.enableLegend=!1,this.enableFloorFilter=!1,this.enableFullscreen=!1,this.enableSearch=!1,this.enableBasemap=!1,this.enableHome=!1,this.enableSingleExpand=!1,this.zoomToolsSize="m",this.layout="vertical",this.mapWidgetsSize="m",this.enableMapPicker=!1,this.enableMapLayerPicker=!1,this.position="top-leading",this.stackTools=!0,this.enableSelectionTool=!1,this.toolOrder=["home","legend","search","fullscreen","floorfilter","selectiontool","map-picker","map-layer-picker"],this.mapInfos=[],this.defaultLayerId="",this.isMobile=!1,this.selectedWebMapId="",this.showOnlyUpdatableLayers=!1,this._hasFloorInfo=!1,this._translations=y({name:"map-tools",blocking:!0}),this._showTools=!0,this._showBasemapWidget=!1,this._showFloorFilter=!1,this._showFullscreen=!1,this._showLegendWidget=!1,this._showSearchWidget=!1,this._selectionToolActive=!1,this._showEllipsisTools=!0,this._ellipsisTools=[],this._isValidWebMap=!0,this._basemapElement=a(),this._floorFilterElement=a(),this._fullscreenElement=a(),this._legendElement=a(),this._searchElement=a(),this._widgets=[],this._selectionToolElement=a(),this._mapTools=[],this._mapTool=a(),this.listenOn(window,"mapChanged",this.mapChanged)}static{this.properties={basemapConfig:0,enabledLayerIds:0,enableLegend:5,enableFloorFilter:5,enableFullscreen:5,enableSearch:5,enableBasemap:5,enableHome:5,enableSingleExpand:5,zoomToolsSize:1,layout:1,mapView:0,mapWidgetsSize:1,enableMapPicker:5,enableMapLayerPicker:5,position:1,searchConfiguration:0,stackTools:5,enableSelectionTool:5,toolOrder:0,selectedLayer:0,mapInfos:0,defaultLayerId:1,isMobile:5,parentComponentHeight:9,parentComponentWidth:9,selectedWebMapId:1,showOnlyUpdatableLayers:5,mapInfo:0,_hasFloorInfo:16,_translations:16,_showTools:16,_showBasemapWidget:16,_showFloorFilter:16,_showFullscreen:16,_showLegendWidget:16,_showSearchWidget:16,_selectionToolActive:16,_showEllipsisTools:16,_ellipsisTools:16,_isValidWebMap:16}}static{this.styles=x}willUpdate(e){e.has("mapView")&&this.mapViewWatchHandler(),e.has("parentComponentWidth")&&this.parentComponentWidth&&this.parentComponentWidthWatchHandler(this.parentComponentWidth),e.has("_showBasemapWidget")&&(this.hasUpdated||this._showBasemapWidget!==!1)&&this._showBasemapWidgetWatchHandler(this._showBasemapWidget),e.has("_showFloorFilter")&&(this.hasUpdated||this._showFloorFilter!==!1)&&this._showFloorFilterWatchHandler(this._showFloorFilter),e.has("_showFullscreen")&&(this.hasUpdated||this._showFullscreen!==!1)&&this._showFullscreenWatchHandler(this._showFullscreen),e.has("_showLegendWidget")&&(this.hasUpdated||this._showLegendWidget!==!1)&&this._showLegendWidgetWatchHandler(this._showLegendWidget),e.has("_showSearchWidget")&&(this.hasUpdated||this._showSearchWidget!==!1)&&this._showSearchWidgetWatchHandler(this._showSearchWidget)}async mapViewWatchHandler(){await this.mapView?.when(()=>{this.enableHome&&this._initHome(),this.parentComponentWidth&&this._updateTools(this.parentComponentWidth)})}async parentComponentWidthWatchHandler(e){this._updateTools(e)}async _showBasemapWidgetWatchHandler(e){let s=this._basemapElement.value?this._basemapElement.value.basemapWidget:void 0;s&&(e?this.mapView?.ui.add(s,{position:this.position,index:1}):this.mapView?.ui.remove(s))}async _showFloorFilterWatchHandler(e){let s=this._floorFilterElement.value?this._floorFilterElement.value.floorFilterWidget:void 0;s&&(e?this.mapView?.ui.add(s,{position:this.position,index:1}):this.mapView?.ui.remove(s))}async _showFullscreenWatchHandler(e){let s=this._fullscreenElement.value?this._fullscreenElement.value.fullscreenWidget:void 0;s&&(e?s.viewModel.state==="ready"&&s.viewModel.enter():s.viewModel.state==="active"&&s.viewModel.exit())}async _showLegendWidgetWatchHandler(e){let s=this._legendElement.value?this._legendElement.value.legendWidget:void 0;s&&(e?this.mapView?.ui.add(s,{position:this.position,index:1}):this.mapView?.ui.remove(s))}async _showSearchWidgetWatchHandler(e){let s=this._searchElement.value?this._searchElement.value.searchWidget:void 0;s&&(e?this.mapView?.ui.add(s,{position:this.position,index:1}):this.mapView?.ui.remove(s))}async mapChanged(e){let s=e.detail.isValid;this._isValidWebMap=s}async load(){this._mapTools=[...this.toolOrder],await this._initModules()}render(){this._setZoomToolsSize();let e=this.layout==="horizontal"?"display-flex":"",s=this._getToggleIcon(),t=this._showTools?e:"display-none",i=this._showEllipsisTools?"":"display-none",n=this._showSearchWidget?"":"display-none",o=this._showBasemapWidget?"":"display-none",d=this._showLegendWidget?"":"display-none",p=this._showFloorFilter?"":"display-none",c=this._showFullscreen?"":"display-none",W=this._showTools?this._translations.collapse:this._translations.expand,T=!this.enableBasemap&&!this.enableFullscreen&&!this.enableLegend&&!this.enableSearch&&!this.enableMapPicker&&!this.enableMapLayerPicker?"display-none":"",v=this.enableSingleExpand?this.layout==="horizontal"?"margin-left-1-2":"margin-top-1-2":"",F=this._ellipsisTools.length>0&&this._showTools?"":"display-none",_=this.stackTools&&this._ellipsisTools.length===0?"box-shadow":"";return r`<div class=${`${T} ${e}`}>${this.enableSingleExpand?r`<div class=${l(_)}>${this._getActionGroup(s,!1,W||"",()=>this._toggleTools())}</div>`:void 0}<div class=${`${v} ${_} ${t}`}>${this._getMapWidgets(this._mapTools)}</div><div><div class=${l(F)}>${this._getActionGroup("ellipsis",!1,"",()=>this._toggleEllipsisTools())}<div class=${l(i)}>${this._getMapWidgets(this._ellipsisTools)}</div></div></div></div><basemap-gallery .basemapConfig=${this.basemapConfig} class=${l(o)} .mapView=${this.mapView} ${h(this._basemapElement)}></basemap-gallery><map-search class=${l(n)} .mapView=${this.mapView} result-graphic-enabled .searchConfiguration=${this.searchConfiguration} ${h(this._searchElement)}></map-search><map-legend class=${l(d)} .mapView=${this.mapView} ${h(this._legendElement)}></map-legend><map-fullscreen class=${l(c)} .mapView=${this.mapView} @fullscreenStateChange=${$=>this._fullscreenStateChange($.detail)} ${h(this._fullscreenElement)}></map-fullscreen><floor-filter class=${l(p)} .enabled=${this.enableFloorFilter} .mapView=${this.mapView} ${h(this._floorFilterElement)}></floor-filter><selection-tool .mapView=${this.mapView} @drawingComplete=${()=>{this._selectionToolActive=!this._selectionToolActive}} .selectedLayerId=${this.selectedLayer?.id} tool=rectangle ${h(this._selectionToolElement)}></selection-tool>${this.enableMapPicker&&r`<map-picker class=mapPickerClass .height=${(this.parentComponentHeight??0)-25} id=map-picker .mapInfos=${this.mapInfos} reference-element=map .selectedWebMapId=${this.selectedWebMapId} show-map-list-in-popover></map-picker>`||""}${this.enableMapLayerPicker&&this.selectedLayer&&r`<map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} .enabledLayerIds=${this.enabledLayerIds} .height=${(this.parentComponentHeight??0)-25} .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} reference-element=layers scale=s .selectedIds=${this.selectedLayer?[this.selectedLayer.id]:[]} show-layers-list-in-popover show-tables type=dropdown></map-layer-picker>`||""}`}async _initModules(){let[e,s]=await f(["esri/widgets/Expand","esri/widgets/Home"]);this.Expand=e,this.Home=s}_initHome(){this.enableHome&&(this._homeWidget=this.Home&&new this.Home({view:this.mapView}))}_setZoomToolsSize(){let e=document.getElementsByClassName("esri-zoom")[0]?.children[0],s=document.getElementsByClassName("esri-zoom")[0]?.children[1];if(e&&s){let t=this.zoomToolsSize==="s"?"32px":this.zoomToolsSize==="m"?"40px":"48px";e.style.width=t,e.style.height=t,s.style.width=t,s.style.height=t}this.layout==="horizontal"&&(document.getElementsByClassName("esri-zoom")[0]?.setAttribute("style","position: absolute; top: 50px; left: 0"),document.getElementsByClassName("esri-ui-top-left")[0]?.setAttribute("style","flex-direction: row; gap: 5px; align-items: flex-start; direction: ltr !important; z-index: 1;"))}_getToggleIcon(){let e;return this.layout==="horizontal"?e=this._showTools?"chevrons-left":"chevrons-right":e=this._showTools?"chevrons-up":"chevrons-down",e}_updateTools(e){let s=JSON.parse(JSON.stringify(this.toolOrder));this._hasFloorInfo=this.mapView?.map?.floorInfo;let t=s.indexOf("floorfilter");t>-1&&!this._hasFloorInfo&&s.splice(t,1);let i=Math.ceil(e/40)-1;i&&i!==s.length-1?(this._mapTools=s.slice(0,i),this._ellipsisTools=s.slice(i,s.length)):(this._mapTools=s,this._ellipsisTools=[])}_getMapWidgets(e){let s=this._showFullscreen?"full-screen-exit":"full-screen",t=this._showFullscreen?this._translations.exitFullscreen:this._translations.enterFullscreen,i=this._isValidWebMap?"map":"exclamation-mark-triangle",n=this.selectedLayer===void 0?"exclamation-mark-triangle":"layers";return e.map(o=>{switch(o){case"legend":return this.enableLegend&&this.enableSingleExpand?this._getActionGroup("legend",!1,this._translations.legend,()=>this._showLegend()):this.enableLegend?this._getWidget(o,this._legendElement.value?.legendWidget,!0):void 0;case"search":return this.enableSearch&&this.enableSingleExpand?this._getActionGroup("magnifying-glass",!1,this._translations.search,()=>this._search()):this.enableSearch?this._getWidget(o,this._searchElement.value?.searchWidget,!0):void 0;case"fullscreen":return this.enableFullscreen&&this.enableSingleExpand?this._getActionGroup(s,!1,t||"",()=>this._expand()):this.enableFullscreen?this._getWidget(o,this._fullscreenElement.value?.fullscreenWidget,!1):void 0;case"basemap":return this.enableBasemap&&this.enableSingleExpand?this._getActionGroup("basemap",!1,this._translations.basemap,()=>this._toggleBasemapPicker()):this.enableBasemap?this._getWidget(o,this._basemapElement.value?.basemapWidget,!0):void 0;case"floorfilter":return this.enableFloorFilter&&this._hasFloorInfo&&this.enableSingleExpand?this._getActionGroup("urban-model",!1,this._translations.floorFilter,()=>this._toggleFloorFilter()):this.enableFloorFilter&&this._hasFloorInfo?this._getWidget(o,this._floorFilterElement.value?.floorFilterWidget,!0):void 0;case"selectiontool":return this.enableSelectionTool&&this.selectedLayer?this._getActionGroup("cursor-selection",!1,this._translations.selectByRectangle,()=>this._toggleSelectionTool(),this._selectionToolActive):void 0;case"home":return this.enableHome?this._getActionGroup("home",!1,this._translations.defaultMapView,()=>this._homeWidget?.go()):void 0;case"map-picker":return this.enableMapPicker?this._getActionGroup(i,!1,"",()=>{},!this._isValidWebMap):void 0;case"map-layer-picker":return this.enableMapLayerPicker&&this._isValidWebMap?this._getActionGroup(n,!1,"",()=>{},this.selectedLayer===void 0):void 0;default:return""}})}_fullscreenStateChange(e){e==="ready"&&this._showFullscreen?this._showFullscreen=!1:e==="active"&&!this._showFullscreen&&(this._showFullscreen=!0)}_getActionGroup(e,s,t,i,n,o){let d=this.mapWidgetsSize==="s"?"square-32":this.mapWidgetsSize==="m"?"square-40":"square-48",p=this.stackTools?"":"margin-bottom-1-2",c=this.stackTools?"":"box-shadow";return r`<div><calcite-action alignment=center .indicator=${o} class=${`map-actions ${d} ${p} border-bottom ${c} ${n?"danger-icon-color":""}`} .disabled=${s} .icon=${e} id=${e??m} @click=${i} scale=s text ${h(this._mapTool)}><calcite-icon icon=cheveron-up scale=s slot=icon></calcite-icon></calcite-action>${!this.isMobile&&r`<calcite-tooltip .placement=${this.layout==="vertical"?"auto":"bottom"} reference-element=${e??m}><span>${t}</span></calcite-tooltip>`||""}</div>`}_getWidget(e,s,t){if(this._widgets.indexOf(e)<0&&this.mapView&&s){let i=this.toolOrder.indexOf(e),n=this.Expand&&new this.Expand({view:this.mapView,content:s}),o=this.enableHome?2:1;this.mapView.ui.add(t?n:s,{position:this.position,index:i>-1?i+o:1}),this._widgets.push(e)}}_showLegend(){this._showLegendWidget=!this._showLegendWidget,this._showTools=!1,this._toggleEllipsisTools()}_search(){this._showSearchWidget=!this._showSearchWidget,this._showTools=!1,this._toggleEllipsisTools()}_toggleBasemapPicker(){this._showBasemapWidget=!this._showBasemapWidget,this._showTools=!1,this._toggleEllipsisTools()}_toggleFloorFilter(){this._showFloorFilter=!this._showFloorFilter,this._showTools=!1,this._toggleEllipsisTools()}_toggleSelectionTool(){this._selectionToolActive=!this._selectionToolActive,this._selectionToolElement.value?.toggleSelectionTool()}_expand(){this._showFullscreen=!this._showFullscreen}_toggleTools(){this._showTools||(this._showBasemapWidget=!1,this._showSearchWidget=!1,this._showLegendWidget=!1,this._showFloorFilter=!1),this._showTools=!this._showTools,this._toggleEllipsisTools()}_toggleEllipsisTools(){this._showEllipsisTools=!this._showEllipsisTools}};b("map-tools",g);export{g as MapTools};