@esri/solutions-components 1.2.0-next.2 → 1.2.0-next.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (470) hide show
  1. package/dist/cdn/{CPC2M7AK.js → 22ZSWKAP.js} +2 -2
  2. package/dist/cdn/{5J7IGLEN.js → 23ABFTR6.js} +2 -2
  3. package/dist/cdn/{PHK7ECEK.js → 23I4BA7K.js} +2 -2
  4. package/dist/cdn/{FYQALD4I.js → 25VZKI54.js} +1 -1
  5. package/dist/cdn/{FELH7PBD.js → 262XEZAR.js} +2 -2
  6. package/dist/cdn/{HCEYPHXZ.js → 2CBLRUOD.js} +2 -2
  7. package/dist/cdn/{5GQ6DHYL.js → 2CX7WBJK.js} +2 -2
  8. package/dist/cdn/{KCTOUFKC.js → 2GSSS7N5.js} +2 -2
  9. package/dist/cdn/{5WP2S2ZH.js → 2HE3XNY7.js} +1 -1
  10. package/dist/cdn/{4XYYUSUA.js → 2HK3BXGQ.js} +1 -1
  11. package/dist/cdn/{3YPL6RCD.js → 2MHHLMAP.js} +2 -2
  12. package/dist/cdn/{XFW3K5OF.js → 2RCBXDY6.js} +2 -2
  13. package/dist/cdn/{YFJ3R7UO.js → 2RNPOQZB.js} +2 -2
  14. package/dist/cdn/{OLVN3BUK.js → 2TOU3AN5.js} +2 -2
  15. package/dist/cdn/{NVOMEAQG.js → 2WXGFL52.js} +2 -2
  16. package/dist/cdn/{GRC5KYBB.js → 2ZJVYO5L.js} +1 -1
  17. package/dist/cdn/{FJYGYKU7.js → 34CQDTIX.js} +2 -2
  18. package/dist/cdn/{I4E7TVY4.js → 35BEKCWY.js} +2 -2
  19. package/dist/cdn/{MNBZZ6G3.js → 3BMV5UUD.js} +2 -2
  20. package/dist/cdn/{2LLZMSJV.js → 3EB5ZS26.js} +2 -2
  21. package/dist/cdn/{LPJPNWKA.js → 3GBS4PX4.js} +2 -2
  22. package/dist/cdn/{J3AFQ2U2.js → 3LGLF5OE.js} +2 -2
  23. package/dist/cdn/{O3ZWY3L2.js → 3M27VPQ3.js} +2 -2
  24. package/dist/cdn/{XQYYFNOC.js → 3PD7ARIA.js} +1 -1
  25. package/dist/cdn/{MQDP5X2Y.js → 3R7I767T.js} +1 -1
  26. package/dist/cdn/{T5OCPOMY.js → 3TSCGGAX.js} +2 -2
  27. package/dist/cdn/{EM5Z3TCD.js → 3UXGWXBS.js} +2 -2
  28. package/dist/cdn/{3VJ5JQ7K.js → 3XBIPVX2.js} +2 -2
  29. package/dist/cdn/{OHBU7SZN.js → 3YF2JNPH.js} +2 -2
  30. package/dist/cdn/{BHXQ7QW6.js → 44VI6MEG.js} +2 -2
  31. package/dist/cdn/{TMEKDW2G.js → 4BRX4PEE.js} +2 -2
  32. package/dist/cdn/{6FCQB3AG.js → 4DF5N4JQ.js} +2 -2
  33. package/dist/cdn/{NAFDFLKN.js → 4ES6G2Y2.js} +2 -2
  34. package/dist/cdn/{3ENATMAV.js → 4HIDSTIQ.js} +2 -2
  35. package/dist/cdn/{BGMDKWE7.js → 4IEIQVGE.js} +2 -2
  36. package/dist/cdn/{U3QZIS3C.js → 4MSUNNIN.js} +2 -2
  37. package/dist/cdn/{USO4FEJS.js → 4PQV62XZ.js} +2 -2
  38. package/dist/cdn/{WTU7JILZ.js → 4PSCZYXY.js} +2 -2
  39. package/dist/cdn/{67H5AKUO.js → 4PTO2WHC.js} +2 -2
  40. package/dist/cdn/{QAQPOJT3.js → 4QMKENCR.js} +1 -1
  41. package/dist/cdn/{6Y4X3UOF.js → 4RJYZHLS.js} +2 -2
  42. package/dist/cdn/{7LML2KAO.js → 4RV4IDOJ.js} +2 -2
  43. package/dist/cdn/{NM6FSLHS.js → 4WEAWPJU.js} +2 -2
  44. package/dist/cdn/{4NVR4X3L.js → 52A65NFY.js} +1 -1
  45. package/dist/cdn/{MQE2DTF5.js → 57OL4QCV.js} +1 -1
  46. package/dist/cdn/{TMNFYXWD.js → 5DKF6DVK.js} +2 -2
  47. package/dist/cdn/{M46DOI6W.js → 5QBB6ZOG.js} +1 -1
  48. package/dist/cdn/{RWC6IC3I.js → 5W6QXGFW.js} +2 -2
  49. package/dist/cdn/{II4ZEXAJ.js → 5ZPOVO47.js} +2 -2
  50. package/dist/cdn/{KQHBJ2QB.js → 6362HZ65.js} +1 -1
  51. package/dist/cdn/{62JXAZTH.js → 63O5DY5A.js} +2 -2
  52. package/dist/cdn/{IAMELUPG.js → 6C7OOJ6H.js} +1 -1
  53. package/dist/cdn/{IPIW25QW.js → 6ES7SEYG.js} +2 -2
  54. package/dist/cdn/{HWBSZWSI.js → 6GCMD7O4.js} +2 -2
  55. package/dist/cdn/{UVMWA227.js → 6LOI3OHQ.js} +2 -2
  56. package/dist/cdn/{KSKZZDYX.js → 6MAZZ22I.js} +1 -1
  57. package/dist/cdn/{IN3OKM7F.js → 6MQLDUUH.js} +2 -2
  58. package/dist/cdn/{LZIYOPAC.js → 6MURC2GB.js} +2 -2
  59. package/dist/cdn/{WV4ZCFFT.js → 6QLVSTJ3.js} +2 -2
  60. package/dist/cdn/{FNLWKSSH.js → 6RNWAVPL.js} +1 -1
  61. package/dist/cdn/{PTQNSUMQ.js → 6ZVK62QB.js} +2 -2
  62. package/dist/cdn/{BCPDT6MV.js → 73ETZPZ7.js} +2 -2
  63. package/dist/cdn/{DMECGLC4.js → 755M2TCZ.js} +2 -2
  64. package/dist/cdn/{JOOTU2MN.js → 7GJCQW7D.js} +2 -2
  65. package/dist/cdn/{NLWFERKV.js → 7I6L52EP.js} +4 -4
  66. package/dist/cdn/{TCORLZCI.js → 7KFFYWQ7.js} +2 -2
  67. package/dist/cdn/{UXZC7IGT.js → 7NSKIKHV.js} +2 -2
  68. package/dist/cdn/{5GW6VGYE.js → 7R7463AQ.js} +2 -2
  69. package/dist/cdn/{BJWPKYKV.js → 7RZIRVRD.js} +2 -2
  70. package/dist/cdn/{4JWTHCFT.js → AAI5LMSF.js} +2 -2
  71. package/dist/cdn/{HV23NBKM.js → AD4NPA2M.js} +1 -1
  72. package/dist/cdn/{53GNUN6U.js → AD7LM3CM.js} +4 -4
  73. package/dist/cdn/{NYH5N4UB.js → AI6HYDN5.js} +2 -2
  74. package/dist/cdn/{MK3C2NWT.js → AMVHYPDE.js} +2 -2
  75. package/dist/cdn/{OGKY3OCB.js → AOXMXGZG.js} +2 -2
  76. package/dist/cdn/{EBKAKZZU.js → AQLTILZX.js} +2 -2
  77. package/dist/cdn/{GA5KNLFJ.js → AQR7MTOO.js} +2 -2
  78. package/dist/cdn/{TCJAIPWL.js → ASRSYNRR.js} +2 -2
  79. package/dist/cdn/{H7YFIIKJ.js → ATAHO4MQ.js} +2 -2
  80. package/dist/cdn/{KXEXXT56.js → AUDMGPLD.js} +2 -2
  81. package/dist/cdn/{IWN7UDRD.js → B3PAHL22.js} +2 -2
  82. package/dist/cdn/{VLRXMBNG.js → B6QNXGKF.js} +2 -2
  83. package/dist/cdn/{IIBBHZ5N.js → BBSGWWJO.js} +2 -2
  84. package/dist/cdn/BESWB64W.js +18 -0
  85. package/dist/cdn/{BN34E5SA.js → BF5DZ5ZS.js} +2 -2
  86. package/dist/cdn/{UXPF53LA.js → BFZ5DGBI.js} +2 -2
  87. package/dist/cdn/{NF5TB4T5.js → BGYNN7N6.js} +2 -2
  88. package/dist/cdn/{4CD2LCWF.js → BIUFKQEB.js} +1 -1
  89. package/dist/cdn/{U3VTY66Y.js → BIW2OZSL.js} +2 -2
  90. package/dist/cdn/{5HDW32N3.js → BJJ6U2L3.js} +2 -2
  91. package/dist/cdn/{NNT3DJXP.js → BSLVXBXB.js} +1 -1
  92. package/dist/cdn/{OFMGQCKQ.js → BSOB2EDD.js} +2 -2
  93. package/dist/cdn/{QLGVQPSP.js → BSZJRCCH.js} +2 -2
  94. package/dist/cdn/BUEJRCBJ.js +4 -0
  95. package/dist/cdn/{Q5JBWZWR.js → C6IUHMOC.js} +2 -2
  96. package/dist/cdn/{OI7TKT4E.js → CK24R5TU.js} +2 -2
  97. package/dist/cdn/{AV64MW2C.js → CNJJOYMN.js} +2 -2
  98. package/dist/cdn/{7XNXOLSM.js → CTMOZHK5.js} +2 -2
  99. package/dist/cdn/{EWQ7E45G.js → CTRTCQ5M.js} +2 -2
  100. package/dist/cdn/{MEM675A5.js → D4P3I7HE.js} +2 -2
  101. package/dist/cdn/{DZ76G2RX.js → D5FVGFPY.js} +2 -2
  102. package/dist/cdn/{JSMMX4OW.js → DA5WFI7X.js} +2 -2
  103. package/dist/cdn/{B37JGOGF.js → DCFD6372.js} +2 -2
  104. package/dist/cdn/{PKW5U5JD.js → DGLPGQSF.js} +2 -2
  105. package/dist/cdn/{PCXV5WCW.js → DND72PIS.js} +2 -2
  106. package/dist/cdn/{MTQRP42U.js → DQ5PZE73.js} +1 -1
  107. package/dist/cdn/{DM633MDA.js → DSFQPJTN.js} +2 -2
  108. package/dist/cdn/{P4SJ4TW3.js → DSVNI5EY.js} +2 -2
  109. package/dist/cdn/{7UBRL7BT.js → DTTRPJYC.js} +2 -2
  110. package/dist/cdn/{CLIXTMET.js → DUDOFJC4.js} +2 -2
  111. package/dist/cdn/{57S3EVKQ.js → E2HYEAJX.js} +2 -2
  112. package/dist/cdn/{6GSFOGSD.js → E5JW2PWC.js} +2 -2
  113. package/dist/cdn/{UQGQFHTP.js → E63TRZHO.js} +2 -2
  114. package/dist/cdn/{NVBXPDWS.js → ECHLW7AM.js} +2 -2
  115. package/dist/cdn/{FHLHSJYN.js → EHSMARTM.js} +2 -2
  116. package/dist/cdn/{3AXQAZAI.js → EHVKT3K3.js} +1 -1
  117. package/dist/cdn/{WNLGN4CE.js → EHVRBJDY.js} +2 -2
  118. package/dist/cdn/{ZJFAIID3.js → EON3JEAK.js} +2 -2
  119. package/dist/cdn/{SPZK2YXW.js → EPK7TC4Z.js} +2 -2
  120. package/dist/cdn/{73RE22QT.js → EQFGASVI.js} +2 -2
  121. package/dist/cdn/{M2TJWZ2F.js → F4EAUSYQ.js} +2 -2
  122. package/dist/cdn/{A54VVFMV.js → FBLE5JBI.js} +2 -2
  123. package/dist/cdn/{2AUDRMU3.js → FED5CWZX.js} +2 -2
  124. package/dist/cdn/FK2YMQFK.js +18 -0
  125. package/dist/cdn/{QT7SOK6K.js → FOJ4DMUK.js} +2 -2
  126. package/dist/cdn/{ZN7CNQRT.js → FVJX7T4J.js} +2 -2
  127. package/dist/cdn/{Z7QQNFJ7.js → FXA6L2BI.js} +2 -2
  128. package/dist/cdn/{ECKRAOTK.js → FYADULQT.js} +2 -2
  129. package/dist/cdn/{BVRRREAU.js → FZKUNP7A.js} +2 -2
  130. package/dist/cdn/{KURD67WP.js → FZZRNOKW.js} +2 -2
  131. package/dist/cdn/G2AZAWTQ.js +4 -0
  132. package/dist/cdn/{HJCGCJHG.js → G7X4FKIM.js} +1 -1
  133. package/dist/cdn/{HSGU3NPM.js → GAUJIKE5.js} +2 -2
  134. package/dist/cdn/{CUBFKAV6.js → GFSPUX5Q.js} +2 -2
  135. package/dist/cdn/{QTPWQXFC.js → GHRFEIK7.js} +2 -2
  136. package/dist/cdn/{7M65VSDO.js → GWKF3E4T.js} +1 -1
  137. package/dist/cdn/{ITIM5MBI.js → GWWQ2QF4.js} +2 -2
  138. package/dist/cdn/{64KPWKOZ.js → H77VYOZC.js} +2 -2
  139. package/dist/cdn/{26NSAUFX.js → HAIYG6TD.js} +1 -1
  140. package/dist/cdn/{GU3R45TN.js → HCVNYSM3.js} +2 -2
  141. package/dist/cdn/{J6IINHXU.js → HFOR26C4.js} +2 -2
  142. package/dist/cdn/{5LNUHS4F.js → HIXYM3OX.js} +2 -2
  143. package/dist/cdn/{EG2JBWTE.js → HLGD7JCW.js} +2 -2
  144. package/dist/cdn/{QWFYFDGT.js → HMMGIFFN.js} +1 -1
  145. package/dist/cdn/{BBLEZ5WS.js → HOILHII3.js} +2 -2
  146. package/dist/cdn/{BPB3TNH6.js → HSZFICY2.js} +2 -2
  147. package/dist/cdn/{R3MDKVZV.js → I2FRGOEW.js} +2 -2
  148. package/dist/cdn/{U2MIR3HL.js → IAM2KB3B.js} +2 -2
  149. package/dist/cdn/{XUXRXNUV.js → IGOPVVNK.js} +2 -2
  150. package/dist/cdn/{NWAXN6PC.js → IJ2MEXDM.js} +2 -2
  151. package/dist/cdn/{DMMMW2BR.js → IQ7XNR7D.js} +2 -2
  152. package/dist/cdn/{URMO7GLW.js → IQNMYMJW.js} +2 -2
  153. package/dist/cdn/IS4IY5C2.js +4 -0
  154. package/dist/cdn/{U5XUYD32.js → ITRH5UXW.js} +2 -2
  155. package/dist/cdn/{T5SK6ZJW.js → IUTC5UY6.js} +2 -2
  156. package/dist/cdn/{7L7OMOMR.js → IXZPEW5K.js} +2 -2
  157. package/dist/cdn/J2MDUIYP.js +18 -0
  158. package/dist/cdn/{KJEGNTYQ.js → J2TRNJS4.js} +2 -2
  159. package/dist/cdn/{5E2ADQM6.js → J3LLHMP2.js} +2 -2
  160. package/dist/cdn/{UNCK4FW5.js → J4FVOVTO.js} +2 -2
  161. package/dist/cdn/{TFT2UUZJ.js → J4GKJOX7.js} +2 -2
  162. package/dist/cdn/{HKUMRXKS.js → J66RPP2I.js} +2 -2
  163. package/dist/cdn/{FJ5G5F6F.js → JAYHYI2A.js} +2 -2
  164. package/dist/cdn/{35KI2UZP.js → JDJ35FLD.js} +2 -2
  165. package/dist/cdn/{PDD2INCO.js → JDXO4XXH.js} +2 -2
  166. package/dist/cdn/{RHR64B37.js → JEON2H5H.js} +2 -2
  167. package/dist/cdn/{KXKBIVFJ.js → JGTYJGZO.js} +2 -2
  168. package/dist/cdn/{Y2YYJ66T.js → JMA4D2SH.js} +2 -2
  169. package/dist/cdn/{S6NACDB2.js → JTBXXC5K.js} +2 -2
  170. package/dist/cdn/K47KZZUG.js +4 -0
  171. package/dist/cdn/K7HHAGLP.js +4 -0
  172. package/dist/cdn/{MOKFQR6C.js → KJBVTRFE.js} +2 -2
  173. package/dist/cdn/{QHDUDNQB.js → KKTPKASN.js} +2 -2
  174. package/dist/cdn/{R5SUWIAX.js → KMWQSKKC.js} +2 -2
  175. package/dist/cdn/{G5MR5SG5.js → KPO2P4JG.js} +2 -2
  176. package/dist/cdn/{QDOOFKZT.js → KRS7IVQF.js} +2 -2
  177. package/dist/cdn/{4XJKKLD3.js → KU6T5QUV.js} +1 -1
  178. package/dist/cdn/{4UUIRHC6.js → L2HHXMQN.js} +2 -2
  179. package/dist/cdn/{2LK2MZZR.js → LBVGHIKI.js} +2 -2
  180. package/dist/cdn/{DDP5UCZA.js → LDUSE7RY.js} +2 -2
  181. package/dist/cdn/{JYKNVSA4.js → LHGFJ7NN.js} +2 -2
  182. package/dist/cdn/{DMW55L65.js → LHVQAEXF.js} +2 -2
  183. package/dist/cdn/{RR4VEAAE.js → LJB22QBW.js} +2 -2
  184. package/dist/cdn/{O7KVFY2I.js → LJHZSBBH.js} +2 -2
  185. package/dist/cdn/{6RJ3S2N4.js → LMY5GROJ.js} +2 -2
  186. package/dist/cdn/{5K2GKQME.js → LOU4XX7I.js} +2 -2
  187. package/dist/cdn/{7GJSEVPA.js → LQIGBJUX.js} +2 -2
  188. package/dist/cdn/{GK4O6X2B.js → LQY43HH3.js} +2 -2
  189. package/dist/cdn/{PMVAYDID.js → LRXPLTUH.js} +2 -2
  190. package/dist/cdn/{KORLC5U7.js → LSIUPCQX.js} +2 -2
  191. package/dist/cdn/{24PILRZT.js → LVRHTVE2.js} +2 -2
  192. package/dist/cdn/{ENS7CZX3.js → LXMZCX7H.js} +2 -2
  193. package/dist/cdn/{5T6EZRNO.js → M2I7YXJQ.js} +2 -2
  194. package/dist/cdn/{XYIEX7QB.js → MEMA2P5F.js} +2 -2
  195. package/dist/cdn/{I5X57Y6X.js → MJFEXQHB.js} +1 -1
  196. package/dist/cdn/{EALUH4BU.js → MODMAIUT.js} +2 -2
  197. package/dist/cdn/{WBO3VKCK.js → MPQ2WKFO.js} +2 -2
  198. package/dist/cdn/{TJYHQJCY.js → MVWOM5CI.js} +2 -2
  199. package/dist/cdn/{32275IZ5.js → MXVR2QNO.js} +2 -2
  200. package/dist/cdn/{CXJUQMCV.js → N6BJELBO.js} +2 -2
  201. package/dist/cdn/{DZHVGBZB.js → N6YXZIU7.js} +2 -2
  202. package/dist/cdn/{E4V5RLGM.js → NALO2PEE.js} +2 -2
  203. package/dist/cdn/{YODKEVX7.js → NH4VNVID.js} +2 -2
  204. package/dist/cdn/{3MON3AIB.js → NKQNWRPN.js} +2 -2
  205. package/dist/cdn/{TMRDI3WC.js → NOILZDGF.js} +2 -2
  206. package/dist/cdn/{B5X7FR3W.js → NOZBG5XN.js} +2 -2
  207. package/dist/cdn/{22LLS6WR.js → NPQY5PDV.js} +2 -2
  208. package/dist/cdn/{XWYN5XJT.js → NRD4JFR4.js} +2 -2
  209. package/dist/cdn/{G7UTMYYA.js → NTP4QY5V.js} +2 -2
  210. package/dist/cdn/{2IPTMHFY.js → NW6JV6AN.js} +2 -2
  211. package/dist/cdn/{OS2R7DZG.js → NWPXFHBU.js} +2 -2
  212. package/dist/cdn/{FYFIZWH7.js → O25C7WUB.js} +2 -2
  213. package/dist/cdn/{VFRHV2HY.js → O4KP2CJ5.js} +2 -2
  214. package/dist/cdn/{GYZWPVGD.js → O4MLPAI2.js} +2 -2
  215. package/dist/cdn/{XINUYSXZ.js → OIRN6MY3.js} +2 -2
  216. package/dist/cdn/{FMF65JWL.js → OJEYKHXS.js} +2 -2
  217. package/dist/cdn/{63PHQLZJ.js → OKTRI4JY.js} +2 -2
  218. package/dist/cdn/{V2II4COO.js → OMVXQRF3.js} +2 -2
  219. package/dist/cdn/{CRGYVR4L.js → OVM4C5PO.js} +2 -2
  220. package/dist/cdn/{JDDI6RWH.js → OX6HPOJU.js} +2 -2
  221. package/dist/cdn/{TB2NFORT.js → P4ZGZS3X.js} +2 -2
  222. package/dist/cdn/{KYYMWKPV.js → P5A2C3I6.js} +2 -2
  223. package/dist/cdn/{ZTCFEMKZ.js → PD7PACAU.js} +2 -2
  224. package/dist/cdn/PIINFOXI.js +18 -0
  225. package/dist/cdn/{WJKAHLIO.js → PJCB22CG.js} +2 -2
  226. package/dist/cdn/{45ANCG22.js → PNU6Z2B3.js} +2 -2
  227. package/dist/cdn/{22BFHC2I.js → PQ2FIB26.js} +2 -2
  228. package/dist/cdn/{IBIR3MNF.js → PSUS7JOM.js} +2 -2
  229. package/dist/cdn/{ZH5IG5IH.js → PW7XPWMS.js} +2 -2
  230. package/dist/cdn/{QVZEI2LS.js → Q2Q3MH2L.js} +2 -2
  231. package/dist/cdn/{NW5D2PXR.js → Q3BBMTUQ.js} +2 -2
  232. package/dist/cdn/{UBTE3LJB.js → Q4NVOORT.js} +2 -2
  233. package/dist/cdn/{LETYH73H.js → Q5P5K4DE.js} +2 -2
  234. package/dist/cdn/{K5U7ZHCS.js → QA2AUJRH.js} +2 -2
  235. package/dist/cdn/{7TVK2JZJ.js → QCLY7EDL.js} +2 -2
  236. package/dist/cdn/{3SH6IZWK.js → QCS66WC6.js} +1 -1
  237. package/dist/cdn/{OXW67XUN.js → QG72OZSU.js} +2 -2
  238. package/dist/cdn/{WDPM64EG.js → QGVSJPGQ.js} +2 -2
  239. package/dist/cdn/{YJUZZNM3.js → QHOOJDQR.js} +2 -2
  240. package/dist/cdn/{Y7U5BQY2.js → QHOZO6J3.js} +2 -2
  241. package/dist/cdn/{J5U3NOSX.js → QKGDGDPJ.js} +2 -2
  242. package/dist/cdn/{6M2T3Q2M.js → QMT2TLRK.js} +2 -2
  243. package/dist/cdn/{MB2DM6NF.js → QPAWYTLN.js} +2 -2
  244. package/dist/cdn/{HN6L7MEZ.js → QTCSAKOZ.js} +1 -1
  245. package/dist/cdn/{UGI2HCBX.js → QTLI6QMJ.js} +2 -2
  246. package/dist/cdn/{HR44MJZ4.js → QVYS4YXX.js} +2 -2
  247. package/dist/cdn/{ECVB7DM6.js → QWIUAAW5.js} +2 -2
  248. package/dist/cdn/{JDMCVY5U.js → R7XZMQKZ.js} +2 -2
  249. package/dist/cdn/{C4GYOXKY.js → RAJWTYAS.js} +2 -2
  250. package/dist/cdn/{WKQNA7HE.js → RFZUKMQP.js} +2 -2
  251. package/dist/cdn/{C5FQOPJR.js → RGUOCCYZ.js} +2 -2
  252. package/dist/cdn/{TTAAIUU3.js → RIXPIYEW.js} +2 -2
  253. package/dist/cdn/{3MGV3QJV.js → RKEEFYVJ.js} +2 -2
  254. package/dist/cdn/{KQM2NMJJ.js → RLBN72JI.js} +2 -2
  255. package/dist/cdn/{O6WPAEXC.js → ROVUCE3I.js} +2 -2
  256. package/dist/cdn/{VPFAWHJS.js → RSSME7QC.js} +1 -1
  257. package/dist/cdn/{SS3YAHMD.js → S67OYUND.js} +2 -2
  258. package/dist/cdn/{BS533JHX.js → SF4B26QV.js} +2 -2
  259. package/dist/cdn/{XLHINQDA.js → SFPDV4DU.js} +2 -2
  260. package/dist/cdn/{AMP4ZNCP.js → SJSFG3K3.js} +2 -2
  261. package/dist/cdn/{62NI5UX7.js → SKDJ6XTR.js} +2 -2
  262. package/dist/cdn/{Q4ILVP7M.js → SLYIJ4XB.js} +2 -2
  263. package/dist/cdn/SONNGGXT.js +4 -0
  264. package/dist/cdn/{FDZWMY22.js → SQBZR4WV.js} +2 -2
  265. package/dist/cdn/{3UMQAY7D.js → SRH3X7BF.js} +2 -2
  266. package/dist/cdn/{BTHNNVZX.js → SRYAXNYQ.js} +1 -1
  267. package/dist/cdn/{K3ZT5FZ2.js → SSVBZXUN.js} +1 -1
  268. package/dist/cdn/{LNOZBYMZ.js → T5SL2XC2.js} +2 -2
  269. package/dist/cdn/{32GCN42P.js → TA6JWCUQ.js} +1 -1
  270. package/dist/cdn/TCRE226Q.js +4 -0
  271. package/dist/cdn/{DKRHACVW.js → TDB7HB35.js} +2 -2
  272. package/dist/cdn/{FGUX7O4N.js → TM5OMGCV.js} +2 -2
  273. package/dist/cdn/{2KXRE3QQ.js → TQ5B3ZGM.js} +2 -2
  274. package/dist/cdn/{RY4AM746.js → TWNRBZK5.js} +2 -2
  275. package/dist/cdn/{QK7H3QEZ.js → U3IG6OVD.js} +1 -1
  276. package/dist/cdn/{6QHOYKEI.js → U47M6DQ4.js} +2 -2
  277. package/dist/cdn/{JWXSAYHC.js → U5T2RELD.js} +2 -2
  278. package/dist/cdn/{LA735BCX.js → UBJJ4M7T.js} +2 -2
  279. package/dist/cdn/UCDUCIRN.js +4 -0
  280. package/dist/cdn/{2JQUC3UP.js → UGFAJLUH.js} +2 -2
  281. package/dist/cdn/{LUKTYB6E.js → UJFLGBLN.js} +2 -2
  282. package/dist/cdn/{C42K62PR.js → ULZDIARS.js} +2 -2
  283. package/dist/cdn/{NSJNK5YX.js → UWKL5KUQ.js} +2 -2
  284. package/dist/cdn/{RQXTVQCL.js → V3OVUJJM.js} +2 -2
  285. package/dist/cdn/{YOCF54TS.js → VCQKPKHX.js} +2 -2
  286. package/dist/cdn/{2BOM63KQ.js → VGXQMADM.js} +2 -2
  287. package/dist/cdn/{KZ2V3URW.js → VITMRSLU.js} +2 -2
  288. package/dist/cdn/{AZZRAFZ2.js → VMEXQML7.js} +2 -2
  289. package/dist/cdn/{BL4KF37N.js → VNQ4CD76.js} +2 -2
  290. package/dist/cdn/{2ZUX4PI4.js → VQATHECJ.js} +2 -2
  291. package/dist/cdn/{62WGZZJQ.js → VRDHLEG3.js} +2 -2
  292. package/dist/cdn/{CFB6TU6B.js → VROCYI23.js} +2 -2
  293. package/dist/cdn/VTVPCSOJ.js +18 -0
  294. package/dist/cdn/{4YNKTXJZ.js → W2RRYIVC.js} +2 -2
  295. package/dist/cdn/{MGON4SLN.js → W3WAMZRW.js} +1 -1
  296. package/dist/cdn/{XSERGQVD.js → W47W63ZI.js} +2 -2
  297. package/dist/cdn/{FTJZYC6F.js → W54E24J4.js} +2 -2
  298. package/dist/cdn/{BSCXWZZC.js → W6JMDPEX.js} +1 -1
  299. package/dist/cdn/{5CCXGSYJ.js → W7EADDXL.js} +2 -2
  300. package/dist/cdn/{MOAD2WOZ.js → W7JCIXQB.js} +2 -2
  301. package/dist/cdn/{ULHGH3CX.js → WJ66Q24A.js} +2 -2
  302. package/dist/cdn/{3VXS23LI.js → WJHAIMMP.js} +2 -2
  303. package/dist/cdn/{2QP26HSW.js → WLCWFEFA.js} +2 -2
  304. package/dist/cdn/{24C3TAJY.js → WOGFIR3E.js} +2 -2
  305. package/dist/cdn/{4J6A5LH5.js → WPYH5QCE.js} +1 -1
  306. package/dist/cdn/{FZW3ZZPU.js → WQPN3U5A.js} +2 -2
  307. package/dist/cdn/{ZG7Z2ZV5.js → WYV4FWVR.js} +1 -1
  308. package/dist/cdn/{T3RNILJN.js → X2LHTYBS.js} +2 -2
  309. package/dist/cdn/{PV3NKFWO.js → X3MGYKAA.js} +2 -2
  310. package/dist/cdn/{JZ2AJ7NV.js → X56WS44V.js} +2 -2
  311. package/dist/cdn/{LZUM3H4J.js → X7PJKWCS.js} +2 -2
  312. package/dist/cdn/{V7H6MEIS.js → XFPRHAJS.js} +2 -2
  313. package/dist/cdn/{YGKTKWJH.js → XIQRELVI.js} +2 -2
  314. package/dist/cdn/{HAYDHL6E.js → XOICTNAX.js} +2 -2
  315. package/dist/cdn/{JVHOB5XV.js → XR77S45T.js} +2 -2
  316. package/dist/cdn/{J5HRIE3W.js → XSSWDAZD.js} +2 -2
  317. package/dist/cdn/{DXGUMM4O.js → XTRCBDVE.js} +2 -2
  318. package/dist/cdn/{V74LH3IK.js → XXJZBEJK.js} +2 -2
  319. package/dist/cdn/{MDL3GASV.js → Y4KY2BT6.js} +2 -2
  320. package/dist/cdn/{NTN5IKQX.js → Y7PYZFGF.js} +2 -2
  321. package/dist/cdn/{NAWCG6BY.js → YACWQ43M.js} +2 -2
  322. package/dist/cdn/{R5IZJTD3.js → YCR4UW2R.js} +2 -2
  323. package/dist/cdn/{ZSPXSDH4.js → YDPBZG4I.js} +2 -2
  324. package/dist/cdn/{AGNDZTZ6.js → YJNKYO7U.js} +1 -1
  325. package/dist/cdn/{V623WVLR.js → YKN26FEK.js} +2 -2
  326. package/dist/cdn/{A2D7SAO5.js → YL3MEG3W.js} +2 -2
  327. package/dist/cdn/{2FFHB27Z.js → YLRTFGI4.js} +2 -2
  328. package/dist/cdn/{JKVDTJCD.js → YPPMRTOK.js} +1 -1
  329. package/dist/cdn/{6RN2G5UX.js → YSD4IXAD.js} +2 -2
  330. package/dist/cdn/{CHPW5FJW.js → YTKNEJX6.js} +2 -2
  331. package/dist/cdn/{HOCJSK24.js → YUQPGIF2.js} +2 -2
  332. package/dist/cdn/{FUYHWE6S.js → YWLL7PI6.js} +2 -2
  333. package/dist/cdn/{XFZNGT7C.js → YXKKXNN6.js} +2 -2
  334. package/dist/cdn/{327AKQNH.js → YYE5JLDE.js} +2 -2
  335. package/dist/cdn/{PDM2TVRE.js → Z62WB65N.js} +2 -2
  336. package/dist/cdn/ZA6OBRNM.js +18 -0
  337. package/dist/cdn/{IUWPOFEU.js → ZCNYP4GS.js} +2 -2
  338. package/dist/cdn/{Q63YUEPK.js → ZEC26XA5.js} +2 -2
  339. package/dist/cdn/{O7K2BTNK.js → ZIQLKBJ5.js} +2 -2
  340. package/dist/cdn/{IGUMVL7J.js → ZNXVWPPB.js} +2 -2
  341. package/dist/cdn/{F23TKPQ3.js → ZOU5ALFP.js} +2 -2
  342. package/dist/cdn/{ULELHCUW.js → ZQUOKCF6.js} +1 -1
  343. package/dist/cdn/{ZYEOJZ6Z.js → ZTJFOSFR.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 +1 -1
  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.js +4 -3
  390. package/dist/components/map-draw-tools/customElement.js +1 -1
  391. package/dist/components/map-fullscreen/customElement.js +1 -1
  392. package/dist/components/map-layer-picker/customElement.js +1 -1
  393. package/dist/components/map-legend/customElement.js +1 -1
  394. package/dist/components/map-picker/customElement.js +1 -1
  395. package/dist/components/map-search/customElement.js +1 -1
  396. package/dist/components/map-select-tools/customElement.js +1 -1
  397. package/dist/components/map-tools/customElement.js +1 -1
  398. package/dist/components/pci-calculator/customElement.js +1 -1
  399. package/dist/components/pdf-download/customElement.js +1 -1
  400. package/dist/components/public-notification/customElement.js +1 -1
  401. package/dist/components/refine-selection/customElement.js +1 -1
  402. package/dist/components/selection-tool/customElement.js +1 -1
  403. package/dist/components/solution-article-card/customElement.js +1 -1
  404. package/dist/components/solution-configuration/customElement.js +1 -1
  405. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  406. package/dist/components/solution-configure-titles/customElement.js +1 -1
  407. package/dist/components/solution-contents/customElement.js +1 -1
  408. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  409. package/dist/components/solution-deploy-dialog/customElement.js +2 -2
  410. package/dist/components/solution-deployed-card/customElement.js +1 -1
  411. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  412. package/dist/components/solution-details-card/customElement.js +1 -1
  413. package/dist/components/solution-details-panel/customElement.js +2 -2
  414. package/dist/components/solution-item/customElement.js +1 -1
  415. package/dist/components/solution-item-accordion/customElement.js +1 -1
  416. package/dist/components/solution-item-details/customElement.js +1 -1
  417. package/dist/components/solution-item-diagram/customElement.js +1 -1
  418. package/dist/components/solution-item-icon/customElement.js +1 -1
  419. package/dist/components/solution-item-sharing/customElement.js +1 -1
  420. package/dist/components/solution-organization-variables/customElement.js +1 -1
  421. package/dist/components/solution-resource-item/customElement.js +1 -1
  422. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  423. package/dist/components/solution-social-share/customElement.js +1 -1
  424. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  425. package/dist/components/solution-template-data/customElement.js +1 -1
  426. package/dist/components/solution-variables/customElement.js +1 -1
  427. package/dist/components/solutions-all-panel/customElement.js +1 -1
  428. package/dist/components/solutions-all-shell/customElement.d.ts +0 -2
  429. package/dist/components/solutions-all-shell/customElement.js +11 -14
  430. package/dist/components/solutions-article-panel/customElement.js +1 -1
  431. package/dist/components/solutions-articles/customElement.js +1 -1
  432. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  433. package/dist/components/solutions-deploy-app/customElement.d.ts +1 -1
  434. package/dist/components/solutions-deploy-app/customElement.js +38 -38
  435. package/dist/components/solutions-deploy-app-nav/customElement.d.ts +2 -0
  436. package/dist/components/solutions-deploy-app-nav/customElement.js +31 -16
  437. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  438. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  439. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  440. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  441. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  442. package/dist/components/spatial-ref/customElement.js +1 -1
  443. package/dist/components/store-manager/customElement.js +1 -1
  444. package/dist/docs/api.json +50 -10
  445. package/dist/docs/docs.json +39 -19
  446. package/dist/docs/vscode.html-custom-data.json +3 -3
  447. package/dist/docs/web-types.json +4 -14
  448. package/dist/index.d.ts +0 -1
  449. package/dist/index.js +1 -1
  450. package/dist/loader.js +3 -3
  451. package/dist/types/lumina.d.ts +0 -1
  452. package/dist/types/preact.d.ts +0 -1
  453. package/dist/types/preact10.d.ts +0 -1
  454. package/dist/types/react.d.ts +0 -1
  455. package/dist/types/stencil.d.ts +0 -1
  456. package/package.json +1 -1
  457. package/dist/cdn/2RVVSM5J.js +0 -4
  458. package/dist/cdn/3NETFEHL.js +0 -18
  459. package/dist/cdn/56QASSI7.js +0 -4
  460. package/dist/cdn/BL7TUTFB.js +0 -4
  461. package/dist/cdn/DH3SAWQO.js +0 -4
  462. package/dist/cdn/I3IHBW4I.js +0 -4
  463. package/dist/cdn/JHPYHESZ.js +0 -4
  464. package/dist/cdn/KVSY5222.js +0 -18
  465. package/dist/cdn/L2O6CXOR.js +0 -18
  466. package/dist/cdn/MZFDMEQW.js +0 -4
  467. package/dist/cdn/NR4TU43I.js +0 -18
  468. package/dist/cdn/OWSYDJWA.js +0 -18
  469. package/dist/cdn/OY2ZL2MH.js +0 -4
  470. package/dist/cdn/W45EDCYZ.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.2/esri/copyright.txt for details.
3
- v1.2.0-next.2 */
4
- import{a as S}from"./32275IZ5.js";import{b as d,c as g,i as y,j as N}from"./OLVN3BUK.js";import{a as I}from"./KSKZZDYX.js";import{a as M,e as E,f as T,g as F}from"./LZIYOPAC.js";import{a as $,b as R}from"./XLHINQDA.js";import{d as l,e as p,f as c}from"./QAQPOJT3.js";import{a as A}from"./XQYYFNOC.js";import{a as x}from"./BSCXWZZC.js";var G=new RegExp(/.+(?:map|feature|image)server/i);function b(t){let e=t.match(G);return e?e[0]:J(t)}function J(t){let e=t.split("?")[0];return c(e)}function xe(t){return l(c(t.url),t)}function Ue(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return e.params=Object.assign({updateDefinition:{}},e.params),e.updateDefinition&&(e.params.updateDefinition=e.updateDefinition),l(r,e)}function Re(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/addToDefinition`;return e.params=Object.assign({addToDefinition:{}},e.params),e.layers&&e.layers.length>0&&(e.params.addToDefinition.layers=e.layers),e.tables&&e.tables.length>0&&(e.params.addToDefinition.tables=e.tables),l(r,e)}function Ee(t){let e=`${c(t.url)}/applyEdits`,r=p(t,["adds","updates","deletes","useGlobalIds","attachments","gdbVersion","returnEditMoment","rollbackOnFailure","trueCurveClient"],{params:Object.assign({},t.params)});return l(e,r)}function Le(t){return R(t).then(e=>{let r=Object.assign(Object.assign({},t),{rawResponse:!1}),n=`${$(t)}/content/users/${e}`,a=!r.folderId||r.folderId==="/"?"":"/"+r.folderId,o=`${n}${a}/createService`;return r.params=Object.assign({createParameters:r.item,outputType:"featureService"},r.params),l(o,r)})}function at(t){let e=p(t,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},t.params)});return l(`${c(t.url)}/query`,e)}function st(t){let e=p(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return l(`${c(t.url)}/queryRelatedRecords`,e)}function L(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,u)=>{!o.hasOwnProperty(s)||o[s]==null?u===i?o[s]=r:o[s]={}:u===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=I(r):o[s]=Object.assign(o[s],I(r)):o[s]=r),o=o[s]})}function Lt(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),L(r,t,e,n)}var Z=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var u=o/s,f=i/s;if(u>=0&&u<=1&&f>=0&&f<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},K=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},j=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(Z(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},U=function(e){return K(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},z=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=j(e,r),a=Q(e,r[0]);return!!(!n&&a)},X=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var u=U(e[s].slice(0));if(!(u.length<4))if(D(u)){var f=[u.slice().reverse()];r.push(f)}else n.push(u.slice().reverse())}for(var m=[];n.length;){i=n.pop();var k=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),k=!0;break}k||m.push(i)}for(;m.length;){i=m.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},q=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},zt=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?z(e.attributes):null,e.attributes))try{n.id=q(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},B=function(e){var r=[],n=e.slice(0),a=U(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=U(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=B(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=B(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?z(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function h(t,e){return t.indexOf(e)!==-1}function Ht(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function _t(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=N(t,e,n),[i,s]=o.split("?"),u=new URLSearchParams(s);u.delete("f"),a&&u.append("w",a+"");let f=u.toString(),m=`${i}/info/${t.thumbnail}`;return f?`${m}?${f}`:m}var H;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(H||(H={}));function C(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}function Qt(t={}){let e=t.type,r=t.typeKeywords||[];return C(t.type,r)&&(e="Hub Site Application"),(t.type==="Site Page"||t.type==="Web Mapping Application"&&h(r,"hubPage"))&&(e="Hub Page"),t.type==="Hub Initiative"&&h(r,"hubInitiativeTemplate")&&(e="Hub Initiative Template"),t.type==="Web Mapping Application"&&h(r,"hubSolutionTemplate")&&(e="Solution"),e}var v={devext:"dev",qaext:"qa",production:""};var te=t=>E(t)?Object.assign(Object.assign({},M(t)),{type:"extent"}):void 0,cr=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:C(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=F(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:T(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var ur=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=A(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var W;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(W||(W={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},pr=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:V(a,t)}))},ie=t=>{let e=[];return P(x(t,"metadata.distInfo")||[]).forEach(r=>{P(r.distTranOps||[]).forEach(n=>{P(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},P=t=>Array.isArray(t)?t:[t],V=(t,e)=>{let r=e.url&&b(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=x(r,"authentication.token");if(a&&V(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var dr=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=me(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=ge(t,e);break;default:r=y(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=d(e),a=g(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=d(e),n=g(r);return`${`https://experience${v[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=d(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=d(e),n=g(r),a=`https://survey123${v[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=y(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},me=(t,e)=>{let r=d(e),n=g(r),a=`https://insights${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},ge=(t,e)=>{let r=d(e),n=g(r),a=`https://urban${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function fr(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return S(t).replace(/\/api\/v3$/,"")}var mr=async(t,e)=>{let n=`${S(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};export{Re as a,Ee as b,Le as c,b as d,xe as e,at as f,st as g,Ue as h,L as i,Lt as j,h as k,Ht as l,_t as m,zt as n,cr as o,ur as p,pr as q,dr as r,fr as s,mr as t,Qt as u};
3
+ v1.2.0-next.4 */
4
+ import{a as S}from"./MXVR2QNO.js";import{b as d,c as g,i as y,j as N}from"./2TOU3AN5.js";import{a as I}from"./6MAZZ22I.js";import{a as M,e as E,f as T,g as F}from"./6MURC2GB.js";import{a as $,b as R}from"./SFPDV4DU.js";import{d as l,e as p,f as c}from"./4QMKENCR.js";import{a as A}from"./3PD7ARIA.js";import{a as x}from"./W6JMDPEX.js";var G=new RegExp(/.+(?:map|feature|image)server/i);function b(t){let e=t.match(G);return e?e[0]:J(t)}function J(t){let e=t.split("?")[0];return c(e)}function xe(t){return l(c(t.url),t)}function Ue(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return e.params=Object.assign({updateDefinition:{}},e.params),e.updateDefinition&&(e.params.updateDefinition=e.updateDefinition),l(r,e)}function Re(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/addToDefinition`;return e.params=Object.assign({addToDefinition:{}},e.params),e.layers&&e.layers.length>0&&(e.params.addToDefinition.layers=e.layers),e.tables&&e.tables.length>0&&(e.params.addToDefinition.tables=e.tables),l(r,e)}function Ee(t){let e=`${c(t.url)}/applyEdits`,r=p(t,["adds","updates","deletes","useGlobalIds","attachments","gdbVersion","returnEditMoment","rollbackOnFailure","trueCurveClient"],{params:Object.assign({},t.params)});return l(e,r)}function Le(t){return R(t).then(e=>{let r=Object.assign(Object.assign({},t),{rawResponse:!1}),n=`${$(t)}/content/users/${e}`,a=!r.folderId||r.folderId==="/"?"":"/"+r.folderId,o=`${n}${a}/createService`;return r.params=Object.assign({createParameters:r.item,outputType:"featureService"},r.params),l(o,r)})}function at(t){let e=p(t,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},t.params)});return l(`${c(t.url)}/query`,e)}function st(t){let e=p(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return l(`${c(t.url)}/queryRelatedRecords`,e)}function L(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,u)=>{!o.hasOwnProperty(s)||o[s]==null?u===i?o[s]=r:o[s]={}:u===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=I(r):o[s]=Object.assign(o[s],I(r)):o[s]=r),o=o[s]})}function Lt(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),L(r,t,e,n)}var Z=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var u=o/s,f=i/s;if(u>=0&&u<=1&&f>=0&&f<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},K=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},j=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(Z(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},U=function(e){return K(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},z=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=j(e,r),a=Q(e,r[0]);return!!(!n&&a)},X=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var u=U(e[s].slice(0));if(!(u.length<4))if(D(u)){var f=[u.slice().reverse()];r.push(f)}else n.push(u.slice().reverse())}for(var m=[];n.length;){i=n.pop();var k=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),k=!0;break}k||m.push(i)}for(;m.length;){i=m.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},q=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},zt=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?z(e.attributes):null,e.attributes))try{n.id=q(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},B=function(e){var r=[],n=e.slice(0),a=U(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=U(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=B(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=B(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?z(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function h(t,e){return t.indexOf(e)!==-1}function Ht(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function _t(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=N(t,e,n),[i,s]=o.split("?"),u=new URLSearchParams(s);u.delete("f"),a&&u.append("w",a+"");let f=u.toString(),m=`${i}/info/${t.thumbnail}`;return f?`${m}?${f}`:m}var H;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(H||(H={}));function C(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}function Qt(t={}){let e=t.type,r=t.typeKeywords||[];return C(t.type,r)&&(e="Hub Site Application"),(t.type==="Site Page"||t.type==="Web Mapping Application"&&h(r,"hubPage"))&&(e="Hub Page"),t.type==="Hub Initiative"&&h(r,"hubInitiativeTemplate")&&(e="Hub Initiative Template"),t.type==="Web Mapping Application"&&h(r,"hubSolutionTemplate")&&(e="Solution"),e}var v={devext:"dev",qaext:"qa",production:""};var te=t=>E(t)?Object.assign(Object.assign({},M(t)),{type:"extent"}):void 0,cr=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:C(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=F(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:T(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var ur=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=A(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var W;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(W||(W={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},pr=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:V(a,t)}))},ie=t=>{let e=[];return P(x(t,"metadata.distInfo")||[]).forEach(r=>{P(r.distTranOps||[]).forEach(n=>{P(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},P=t=>Array.isArray(t)?t:[t],V=(t,e)=>{let r=e.url&&b(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=x(r,"authentication.token");if(a&&V(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var dr=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=me(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=ge(t,e);break;default:r=y(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=d(e),a=g(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=d(e),n=g(r);return`${`https://experience${v[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=d(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=d(e),n=g(r),a=`https://survey123${v[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=y(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},me=(t,e)=>{let r=d(e),n=g(r),a=`https://insights${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},ge=(t,e)=>{let r=d(e),n=g(r),a=`https://urban${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function fr(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return S(t).replace(/\/api\/v3$/,"")}var mr=async(t,e)=>{let n=`${S(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};export{Re as a,Ee as b,Le as c,b as d,xe as e,at as f,st as g,Ue as h,L as i,Lt as j,h as k,Ht as l,_t as m,zt as n,cr as o,ur as p,pr as q,dr as r,fr as s,mr as t,Qt as u};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.2 */
4
- import"./MGON4SLN.js";var t="B\u1EA1n kh\xF4ng c\xF3 \u0111\u1EE7 credit \u0111\u1EC3 th\u1EF1c hi\u1EC7n thao t\xE1c n\xE0y. Vui l\xF2ng li\xEAn h\u1EC7 v\u1EDBi Qu\u1EA3n tr\u1ECB vi\xEAn H\u1EC7 th\u1ED1ng ArcGIS cu\u1EA3 b\u1EA1n \u0111\u1EC3 \u0111\u01B0\u1EE3c tr\u1EE3 gi\xFAp.",a="\u0110\xE3 xu\u1EA5t b\u1EA3n c\xF4ng c\u1EE5 n\xE0y t\u1EEB notebook. T\u1ED5 ch\u1EE9c c\u1EE7a b\u1EA1n b\u1ECB ch\u1EB7n truy c\u1EADp v\xE0o ArcGIS Notebooks. Li\xEAn h\u1EC7 v\u1EDBi qu\u1EA3n tr\u1ECB vi\xEAn c\u1EE7a b\u1EA1n \u0111\u1EC3 \u0111i\u1EC1u ch\u1EC9nh thi\u1EBFt l\u1EADp.",n="${ dataPath } kh\xF4ng \u0111\u01B0\u1EE3c ch\u1EE9a ${ additionalProperty }.",r="${ dataPath } ph\u1EA3i kh\u1EDBp v\u1EDBi l\u01B0\u1EE3c \u0111\u1ED3 c\u1EE7a m\u1ED9t trong nh\u1EEFng th\u1EE9 sau: ${ schemaOptions }.",e="H\xE3y th\u1EED l\u01B0u l\u1EA1i b\u1EA3n \u0111\u1ED3.",h="Kh\xF4ng th\u1EC3 \u01AF\u1EDBc t\xEDnh Credit. Cu\u1ED9n xu\u1ED1ng, s\u1EEDa l\u1ED7i v\xE0 \u01B0\u1EDBc t\xEDnh l\u1EA1i credit.",i="\u0110\xE3 x\u1EA3y ra l\u1ED7i khi ch\u1EA1y ph\xE2n t\xEDch.",c="${ dataPath } ph\u1EA3i b\u1EB1ng m\u1ED9t trong nh\u1EEFng gi\xE1 tr\u1ECB \u0111\u01B0\u1EE3c ph\xE9p n\xE0y: ${ allowedValues }.",o="Kh\xF4ng th\u1EC3 l\u01B0u l\u1ECBch s\u1EED ph\xE2n t\xEDch",l="N\u01A1i l\u01B0u tr\u1EEF l\u1ECBch s\u1EED \u0111\xE3 \u0111\u1EA7y. X\xF3a m\u1ED9t s\u1ED1 m\u1EE5c kh\u1ECFi l\u1ECBch s\u1EED ph\xE2n t\xEDch v\xE0 th\u1EED l\u01B0u l\u1EA1i.",s="T\xEAn d\u1ECBch v\u1EE5 ch\u1EE9a m\u1ED9t ho\u1EB7c nhi\u1EC1u k\xFD t\u1EF1 kh\xF4ng h\u1EE3p l\u1EC7.",u="L\u01B0u l\u1EDBp t\u1EA1m th\u1EDDi th\xE0nh l\u1EDBp \u0111\u1ED1i t\u01B0\u1EE3ng \u0111\u01B0\u1EE3c l\u01B0u tr\u1EEF ch\u01B0a ho\xE0n t\u1EA5t.",d="Kh\xF4ng th\u1EC3 nh\u1EADn c\xE1c thu\u1ED9c t\xEDnh c\u1EE7a kh\xF3a.",g="Kh\xF4ng th\u1EC3 t\u1EA3i l\u1EDBp.",m="L\u1EDBp kh\xF4ng kh\u1EA3 d\u1EE5ng.",p="${ dataPath } kh\xF4ng \u0111\u01B0\u1EE3c ch\u1EE9a nhi\u1EC1u h\u01A1n ${ limit } m\u1EE5c.",y="\u0110\xE3 x\u1EA3y ra l\u1ED7i khi l\u01B0u m\xF4 h\xECnh. H\xE3y th\u1EED l\u01B0u l\u1EA7n n\u1EEFa.",k="${ dataPath } kh\xF4ng \u0111\u01B0\u1EE3c ch\u1EE9a d\u01B0\u1EDBi ${ limit } m\u1EE5c.",v="${ dataPath } kh\xF4ng \u0111\u01B0\u1EE3c ng\u1EAFn h\u01A1n ${ limit } k\xFD t\u1EF1.",E="Kh\xF4ng th\u1EC3 t\u1EA3i m\u1EE5c m\xF4 h\xECnh. \u0110\u1EA3m b\u1EA3o r\u1EB1ng m\xF4 h\xECnh t\u1ED3n t\u1EA1i v\xE0 quy\u1EC1n truy c\u1EADp \u0111\xE3 \u0111\u01B0\u1EE3c c\u1EA5p.",P="Kh\xF4ng th\u1EC3 ho\xE0n t\u1EA5t y\xEAu c\u1EA7u.",b="B\u1EA1n kh\xF4ng c\xF3 quy\u1EC1n ch\u1EA1y c\xF4ng c\u1EE5 n\xE0y. <calcite-link target='_blank' href='${ docLink }'>T\xECm hi\u1EC3u th\xEAm</calcite-link>",S="Kh\xF4ng th\u1EC3 \u0111\u0103ng nh\u1EADp v\xE0o c\u1ED5ng th\xF4ng tin.",T="Kh\xF4ng th\u1EC3 \u0111\u1ECDc d\u1EEF li\u1EC7u \u0111\u1EA7u v\xE0o.",$="${ dataPath } \u0111ang thi\u1EBFu m\u1ED9t t\xEAn ph\xF9 h\u1EE3p ${ missingProperty }.",f="\u0110\xE3 t\u1ED3n t\u1EA1i m\u1ED9t l\u1EDBp k\u1EBFt qu\u1EA3 c\xF3 t\xEAn n\xE0y. C\xE1c l\u1EDBp k\u1EBFt qu\u1EA3 ph\u1EA3i \u0111\u01B0\u1EE3c \u0111\u1EB7t t\xEAn duy nh\u1EA5t trong t\u1ED5 ch\u1EE9c. Vui l\xF2ng s\u1EED d\u1EE5ng t\xEAn kh\xE1c.",I="T\xEAn \u0111\u1EA7u ra ch\u1EE9a m\u1ED9t ho\u1EB7c nhi\u1EC1u k\xFD t\u1EF1 kh\xF4ng h\u1EE3p l\u1EC7. <a href='${docLink}' target='_blank'>T\xECm hi\u1EC3u th\xEAm.</a>",F="Xu\u1EA5t b\u1EA3n l\u1EDBp t\u1EA1m th\u1EDDi th\xE0nh l\u1EDBp \u0111\u01B0\u1EE3c l\u01B0u tr\u1EEF kh\xF4ng th\xE0nh c\xF4ng do m\u1ED9t ho\u1EB7c nhi\u1EC1u tr\u01B0\u1EDDng kh\xF4ng h\u1EE3p l\u1EC7. Ch\u1EA1y l\u1EA1i c\xF4ng c\u1EE5 \u0111\u1EC3 t\u1EA1o l\u1EDBp c\xF3 c\xE1c tr\u01B0\u1EDDng h\u1EE3p l\u1EC7.",L="G\u1EEDi c\xF4ng vi\u1EC7c th\u1EA5t b\u1EA1i. Cu\u1ED9n xu\u1ED1ng, s\u1EEDa l\u1ED7i v\xE0 ch\u1EA1y l\u1EA1i ph\xE2n t\xEDch.",C="${ dataPath } ph\u1EA3i ch\u1EE9a \xEDt nh\u1EA5t m\u1ED9t k\xFD t\u1EF1 kh\xF4ng ph\u1EA3i kho\u1EA3ng tr\u1EAFng.",x={InsufficientCreditsError:t,accessBlocked:a,additionalProperty:n,anyOfValues:r,cannotWriteToItemResource:e,creditEstimationError:h,defaultError:i,enumValues:c,failedToSaveHistory:o,fullSessionStorage:l,hostedFeatureServiceInvalidTitle:s,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:d,layerLoadFailure:g,layerUnavailable:m,maxItems:p,mbFailedToSave:y,minItems:k,minLength:v,modelNotFound:E,networkError:P,noPermissionToAccessTool:b,portalLoadError:S,queryFeaturesError:T,requiredProperty:$,serviceNameExistsError:f,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:F,toolValidationError:L,whiteSpacePattern:C};export{t as InsufficientCreditsError,a as accessBlocked,n as additionalProperty,r as anyOfValues,e as cannotWriteToItemResource,h as creditEstimationError,x as default,i as defaultError,c as enumValues,o as failedToSaveHistory,l as fullSessionStorage,s as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,d as keyPropertiesError,g as layerLoadFailure,m as layerUnavailable,p as maxItems,y as mbFailedToSave,k as minItems,v as minLength,E as modelNotFound,P as networkError,b as noPermissionToAccessTool,S as portalLoadError,T as queryFeaturesError,$ as requiredProperty,f as serviceNameExistsError,I as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,L as toolValidationError,C as whiteSpacePattern};
3
+ v1.2.0-next.4 */
4
+ import"./W3WAMZRW.js";var t="B\u1EA1n kh\xF4ng c\xF3 \u0111\u1EE7 credit \u0111\u1EC3 th\u1EF1c hi\u1EC7n thao t\xE1c n\xE0y. Vui l\xF2ng li\xEAn h\u1EC7 v\u1EDBi Qu\u1EA3n tr\u1ECB vi\xEAn H\u1EC7 th\u1ED1ng ArcGIS cu\u1EA3 b\u1EA1n \u0111\u1EC3 \u0111\u01B0\u1EE3c tr\u1EE3 gi\xFAp.",a="\u0110\xE3 xu\u1EA5t b\u1EA3n c\xF4ng c\u1EE5 n\xE0y t\u1EEB notebook. T\u1ED5 ch\u1EE9c c\u1EE7a b\u1EA1n b\u1ECB ch\u1EB7n truy c\u1EADp v\xE0o ArcGIS Notebooks. Li\xEAn h\u1EC7 v\u1EDBi qu\u1EA3n tr\u1ECB vi\xEAn c\u1EE7a b\u1EA1n \u0111\u1EC3 \u0111i\u1EC1u ch\u1EC9nh thi\u1EBFt l\u1EADp.",n="${ dataPath } kh\xF4ng \u0111\u01B0\u1EE3c ch\u1EE9a ${ additionalProperty }.",r="${ dataPath } ph\u1EA3i kh\u1EDBp v\u1EDBi l\u01B0\u1EE3c \u0111\u1ED3 c\u1EE7a m\u1ED9t trong nh\u1EEFng th\u1EE9 sau: ${ schemaOptions }.",e="H\xE3y th\u1EED l\u01B0u l\u1EA1i b\u1EA3n \u0111\u1ED3.",h="Kh\xF4ng th\u1EC3 \u01AF\u1EDBc t\xEDnh Credit. Cu\u1ED9n xu\u1ED1ng, s\u1EEDa l\u1ED7i v\xE0 \u01B0\u1EDBc t\xEDnh l\u1EA1i credit.",i="\u0110\xE3 x\u1EA3y ra l\u1ED7i khi ch\u1EA1y ph\xE2n t\xEDch.",c="${ dataPath } ph\u1EA3i b\u1EB1ng m\u1ED9t trong nh\u1EEFng gi\xE1 tr\u1ECB \u0111\u01B0\u1EE3c ph\xE9p n\xE0y: ${ allowedValues }.",o="Kh\xF4ng th\u1EC3 l\u01B0u l\u1ECBch s\u1EED ph\xE2n t\xEDch",l="N\u01A1i l\u01B0u tr\u1EEF l\u1ECBch s\u1EED \u0111\xE3 \u0111\u1EA7y. X\xF3a m\u1ED9t s\u1ED1 m\u1EE5c kh\u1ECFi l\u1ECBch s\u1EED ph\xE2n t\xEDch v\xE0 th\u1EED l\u01B0u l\u1EA1i.",s="T\xEAn d\u1ECBch v\u1EE5 ch\u1EE9a m\u1ED9t ho\u1EB7c nhi\u1EC1u k\xFD t\u1EF1 kh\xF4ng h\u1EE3p l\u1EC7.",u="L\u01B0u l\u1EDBp t\u1EA1m th\u1EDDi th\xE0nh l\u1EDBp \u0111\u1ED1i t\u01B0\u1EE3ng \u0111\u01B0\u1EE3c l\u01B0u tr\u1EEF ch\u01B0a ho\xE0n t\u1EA5t.",d="Kh\xF4ng th\u1EC3 nh\u1EADn c\xE1c thu\u1ED9c t\xEDnh c\u1EE7a kh\xF3a.",g="Kh\xF4ng th\u1EC3 t\u1EA3i l\u1EDBp.",m="L\u1EDBp kh\xF4ng kh\u1EA3 d\u1EE5ng.",p="${ dataPath } kh\xF4ng \u0111\u01B0\u1EE3c ch\u1EE9a nhi\u1EC1u h\u01A1n ${ limit } m\u1EE5c.",y="\u0110\xE3 x\u1EA3y ra l\u1ED7i khi l\u01B0u m\xF4 h\xECnh. H\xE3y th\u1EED l\u01B0u l\u1EA7n n\u1EEFa.",k="${ dataPath } kh\xF4ng \u0111\u01B0\u1EE3c ch\u1EE9a d\u01B0\u1EDBi ${ limit } m\u1EE5c.",v="${ dataPath } kh\xF4ng \u0111\u01B0\u1EE3c ng\u1EAFn h\u01A1n ${ limit } k\xFD t\u1EF1.",E="Kh\xF4ng th\u1EC3 t\u1EA3i m\u1EE5c m\xF4 h\xECnh. \u0110\u1EA3m b\u1EA3o r\u1EB1ng m\xF4 h\xECnh t\u1ED3n t\u1EA1i v\xE0 quy\u1EC1n truy c\u1EADp \u0111\xE3 \u0111\u01B0\u1EE3c c\u1EA5p.",P="Kh\xF4ng th\u1EC3 ho\xE0n t\u1EA5t y\xEAu c\u1EA7u.",b="B\u1EA1n kh\xF4ng c\xF3 quy\u1EC1n ch\u1EA1y c\xF4ng c\u1EE5 n\xE0y. <calcite-link target='_blank' href='${ docLink }'>T\xECm hi\u1EC3u th\xEAm</calcite-link>",S="Kh\xF4ng th\u1EC3 \u0111\u0103ng nh\u1EADp v\xE0o c\u1ED5ng th\xF4ng tin.",T="Kh\xF4ng th\u1EC3 \u0111\u1ECDc d\u1EEF li\u1EC7u \u0111\u1EA7u v\xE0o.",$="${ dataPath } \u0111ang thi\u1EBFu m\u1ED9t t\xEAn ph\xF9 h\u1EE3p ${ missingProperty }.",f="\u0110\xE3 t\u1ED3n t\u1EA1i m\u1ED9t l\u1EDBp k\u1EBFt qu\u1EA3 c\xF3 t\xEAn n\xE0y. C\xE1c l\u1EDBp k\u1EBFt qu\u1EA3 ph\u1EA3i \u0111\u01B0\u1EE3c \u0111\u1EB7t t\xEAn duy nh\u1EA5t trong t\u1ED5 ch\u1EE9c. Vui l\xF2ng s\u1EED d\u1EE5ng t\xEAn kh\xE1c.",I="T\xEAn \u0111\u1EA7u ra ch\u1EE9a m\u1ED9t ho\u1EB7c nhi\u1EC1u k\xFD t\u1EF1 kh\xF4ng h\u1EE3p l\u1EC7. <a href='${docLink}' target='_blank'>T\xECm hi\u1EC3u th\xEAm.</a>",F="Xu\u1EA5t b\u1EA3n l\u1EDBp t\u1EA1m th\u1EDDi th\xE0nh l\u1EDBp \u0111\u01B0\u1EE3c l\u01B0u tr\u1EEF kh\xF4ng th\xE0nh c\xF4ng do m\u1ED9t ho\u1EB7c nhi\u1EC1u tr\u01B0\u1EDDng kh\xF4ng h\u1EE3p l\u1EC7. Ch\u1EA1y l\u1EA1i c\xF4ng c\u1EE5 \u0111\u1EC3 t\u1EA1o l\u1EDBp c\xF3 c\xE1c tr\u01B0\u1EDDng h\u1EE3p l\u1EC7.",L="G\u1EEDi c\xF4ng vi\u1EC7c th\u1EA5t b\u1EA1i. Cu\u1ED9n xu\u1ED1ng, s\u1EEDa l\u1ED7i v\xE0 ch\u1EA1y l\u1EA1i ph\xE2n t\xEDch.",C="${ dataPath } ph\u1EA3i ch\u1EE9a \xEDt nh\u1EA5t m\u1ED9t k\xFD t\u1EF1 kh\xF4ng ph\u1EA3i kho\u1EA3ng tr\u1EAFng.",x={InsufficientCreditsError:t,accessBlocked:a,additionalProperty:n,anyOfValues:r,cannotWriteToItemResource:e,creditEstimationError:h,defaultError:i,enumValues:c,failedToSaveHistory:o,fullSessionStorage:l,hostedFeatureServiceInvalidTitle:s,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:d,layerLoadFailure:g,layerUnavailable:m,maxItems:p,mbFailedToSave:y,minItems:k,minLength:v,modelNotFound:E,networkError:P,noPermissionToAccessTool:b,portalLoadError:S,queryFeaturesError:T,requiredProperty:$,serviceNameExistsError:f,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:F,toolValidationError:L,whiteSpacePattern:C};export{t as InsufficientCreditsError,a as accessBlocked,n as additionalProperty,r as anyOfValues,e as cannotWriteToItemResource,h as creditEstimationError,x as default,i as defaultError,c as enumValues,o as failedToSaveHistory,l as fullSessionStorage,s as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,d as keyPropertiesError,g as layerLoadFailure,m as layerUnavailable,p as maxItems,y as mbFailedToSave,k as minItems,v as minLength,E as modelNotFound,P as networkError,b as noPermissionToAccessTool,S as portalLoadError,T as queryFeaturesError,$ as requiredProperty,f as serviceNameExistsError,I as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,L as toolValidationError,C as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.2 */
4
- import"./MGON4SLN.js";var a="Nie masz wystarczaj\u0105cej liczby kredyt\xF3w do wykonania tej operacji. Skontaktuj si\u0119 z administratorem systemu ArcGIS, aby uzyska\u0107 pomoc.",e="To narz\u0119dzie zosta\u0142o opublikowane z poziomu notatnika. Dost\u0119p do aplikacji ArcGIS Notebooks jest zablokowany dla Twojej instytucji. Skontaktuj si\u0119 z administratorem w celu dostosowania ustawienia.",i="Element ${ dataPath } nie mo\u017Ce zawiera\u0107 ${ additionalProperty }.",o="Element ${ dataPath } musi by\u0107 zgodny z jednym z tych schemat\xF3w: ${ schemaOptions }.",r="Spr\xF3buj ponownie zapisa\u0107 map\u0119.",t="Oszacowanie kredyt\xF3w si\u0119 nie powiod\u0142o. Przewi\u0144 w d\xF3\u0142, popraw b\u0142\u0119dy i ponownie oszacuj kredyty.",n="Podczas przeprowadzania analizy wyst\u0105pi\u0142 b\u0142\u0105d.",s="Element ${ dataPath } musi mie\u0107 warto\u015B\u0107 r\xF3wn\u0105 jednej z tych dozwolonych warto\u015Bci: ${ allowedValues }.",w="Nie powiod\u0142o si\u0119 zapisanie historii analiz",d="Pami\u0119\u0107 historii jest pe\u0142na. Usu\u0144 niekt\xF3re elementy z historii analiz i spr\xF3buj zapisa\u0107 ponownie.",l="Nazwa us\u0142ugi zawiera co najmniej jeden nieprawid\u0142owy znak.",c="Zapisanie warstwy tymczasowej jako hostowanej warstwy obiektowej nie powiod\u0142o si\u0119.",m="Nie uda\u0142o si\u0119 pobra\u0107 kluczowych w\u0142a\u015Bciwo\u015Bci.",y="Nie uda\u0142o si\u0119 wczyta\u0107 warstwy.",p="Warstwa jest niedost\u0119pna.",z="Element ${ dataPath } nie mo\u017Ce mie\u0107 wi\u0119cej element\xF3w ni\u017C ${ limit }.",u="Wyst\u0105pi\u0142 b\u0142\u0105d podczas zapisywania modelu. Spr\xF3buj ponownie zapisa\u0107.",j="Element ${ dataPath } nie mo\u017Ce mie\u0107 mniej element\xF3w ni\u017C ${ limit }.",k="Element ${ dataPath } nie mo\u017Ce by\u0107 kr\xF3tszy ni\u017C nast\u0119puj\u0105ca liczba znak\xF3w: ${ limit }.",h="Nie powiod\u0142o si\u0119 wczytywanie elementu modelu. Upewnij si\u0119, \u017Ce model istnieje i \u017Ce przyznano uprawnienia dost\u0119pu.",E="Nie powiod\u0142o si\u0119 wykonanie \u017C\u0105dania.",b="Nie masz uprawnie\u0144 do uruchomienia tego narz\u0119dzia. <calcite-link target='_blank' href='${ docLink }'>Dowiedz si\u0119 wi\u0119cej</calcite-link>",P="Nie mo\u017Cna zalogowa\u0107 si\u0119 w portalu.",N="Nie powi\xF3d\u0142 si\u0119 odczyt danych wej\u015Bciowych.",S="W elemencie ${ dataPath } brak w\u0142a\u015Bciwo\u015Bci o nazwie ${ missingProperty }.",$="Istnieje ju\u017C warstwa wynikowa o tej nazwie. Nazwy warstw wynikowych musz\u0105 by\u0107 niepowtarzalne w ca\u0142ej instytucji. U\u017Cyj innej nazwy.",v="Nazwa danych wynikowych zawiera co najmniej jeden nieprawid\u0142owy znak. <a href='${docLink}' target='_blank'>Dowiedz si\u0119 wi\u0119cej.</a>",f="Publikowanie warstwy tymczasowej jako warstwy hostowanej nie powiod\u0142o si\u0119 z powodu co najmniej jednego nieprawid\u0142owego pola. Uruchom ponownie narz\u0119dzie, aby utworzy\u0107 warstw\u0119 z prawid\u0142owymi polami.",I="Nie powiod\u0142o si\u0119 wys\u0142anie zadania. Przewi\u0144 widok w d\xF3\u0142, popraw b\u0142\u0119dy i ponownie uruchom analiz\u0119.",T="Element ${ dataPath } musi zawiera\u0107 co najmniej jeden znak inny ni\u017C bia\u0142y znak.",g={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:i,anyOfValues:o,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:n,enumValues:s,failedToSaveHistory:w,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:l,hostedFeatureServicePublishDidNotComplete:c,keyPropertiesError:m,layerLoadFailure:y,layerUnavailable:p,maxItems:z,mbFailedToSave:u,minItems:j,minLength:k,modelNotFound:h,networkError:E,noPermissionToAccessTool:b,portalLoadError:P,queryFeaturesError:N,requiredProperty:S,serviceNameExistsError:$,specialCharactersInServiceNameError:v,temporaryLayerFieldsError:f,toolValidationError:I,whiteSpacePattern:T};export{a as InsufficientCreditsError,e as accessBlocked,i as additionalProperty,o as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,g as default,n as defaultError,s as enumValues,w as failedToSaveHistory,d as fullSessionStorage,l as hostedFeatureServiceInvalidTitle,c as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,y as layerLoadFailure,p as layerUnavailable,z as maxItems,u as mbFailedToSave,j as minItems,k as minLength,h as modelNotFound,E as networkError,b as noPermissionToAccessTool,P as portalLoadError,N as queryFeaturesError,S as requiredProperty,$ as serviceNameExistsError,v as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,I as toolValidationError,T as whiteSpacePattern};
3
+ v1.2.0-next.4 */
4
+ import"./W3WAMZRW.js";var a="Nie masz wystarczaj\u0105cej liczby kredyt\xF3w do wykonania tej operacji. Skontaktuj si\u0119 z administratorem systemu ArcGIS, aby uzyska\u0107 pomoc.",e="To narz\u0119dzie zosta\u0142o opublikowane z poziomu notatnika. Dost\u0119p do aplikacji ArcGIS Notebooks jest zablokowany dla Twojej instytucji. Skontaktuj si\u0119 z administratorem w celu dostosowania ustawienia.",i="Element ${ dataPath } nie mo\u017Ce zawiera\u0107 ${ additionalProperty }.",o="Element ${ dataPath } musi by\u0107 zgodny z jednym z tych schemat\xF3w: ${ schemaOptions }.",r="Spr\xF3buj ponownie zapisa\u0107 map\u0119.",t="Oszacowanie kredyt\xF3w si\u0119 nie powiod\u0142o. Przewi\u0144 w d\xF3\u0142, popraw b\u0142\u0119dy i ponownie oszacuj kredyty.",n="Podczas przeprowadzania analizy wyst\u0105pi\u0142 b\u0142\u0105d.",s="Element ${ dataPath } musi mie\u0107 warto\u015B\u0107 r\xF3wn\u0105 jednej z tych dozwolonych warto\u015Bci: ${ allowedValues }.",w="Nie powiod\u0142o si\u0119 zapisanie historii analiz",d="Pami\u0119\u0107 historii jest pe\u0142na. Usu\u0144 niekt\xF3re elementy z historii analiz i spr\xF3buj zapisa\u0107 ponownie.",l="Nazwa us\u0142ugi zawiera co najmniej jeden nieprawid\u0142owy znak.",c="Zapisanie warstwy tymczasowej jako hostowanej warstwy obiektowej nie powiod\u0142o si\u0119.",m="Nie uda\u0142o si\u0119 pobra\u0107 kluczowych w\u0142a\u015Bciwo\u015Bci.",y="Nie uda\u0142o si\u0119 wczyta\u0107 warstwy.",p="Warstwa jest niedost\u0119pna.",z="Element ${ dataPath } nie mo\u017Ce mie\u0107 wi\u0119cej element\xF3w ni\u017C ${ limit }.",u="Wyst\u0105pi\u0142 b\u0142\u0105d podczas zapisywania modelu. Spr\xF3buj ponownie zapisa\u0107.",j="Element ${ dataPath } nie mo\u017Ce mie\u0107 mniej element\xF3w ni\u017C ${ limit }.",k="Element ${ dataPath } nie mo\u017Ce by\u0107 kr\xF3tszy ni\u017C nast\u0119puj\u0105ca liczba znak\xF3w: ${ limit }.",h="Nie powiod\u0142o si\u0119 wczytywanie elementu modelu. Upewnij si\u0119, \u017Ce model istnieje i \u017Ce przyznano uprawnienia dost\u0119pu.",E="Nie powiod\u0142o si\u0119 wykonanie \u017C\u0105dania.",b="Nie masz uprawnie\u0144 do uruchomienia tego narz\u0119dzia. <calcite-link target='_blank' href='${ docLink }'>Dowiedz si\u0119 wi\u0119cej</calcite-link>",P="Nie mo\u017Cna zalogowa\u0107 si\u0119 w portalu.",N="Nie powi\xF3d\u0142 si\u0119 odczyt danych wej\u015Bciowych.",S="W elemencie ${ dataPath } brak w\u0142a\u015Bciwo\u015Bci o nazwie ${ missingProperty }.",$="Istnieje ju\u017C warstwa wynikowa o tej nazwie. Nazwy warstw wynikowych musz\u0105 by\u0107 niepowtarzalne w ca\u0142ej instytucji. U\u017Cyj innej nazwy.",v="Nazwa danych wynikowych zawiera co najmniej jeden nieprawid\u0142owy znak. <a href='${docLink}' target='_blank'>Dowiedz si\u0119 wi\u0119cej.</a>",f="Publikowanie warstwy tymczasowej jako warstwy hostowanej nie powiod\u0142o si\u0119 z powodu co najmniej jednego nieprawid\u0142owego pola. Uruchom ponownie narz\u0119dzie, aby utworzy\u0107 warstw\u0119 z prawid\u0142owymi polami.",I="Nie powiod\u0142o si\u0119 wys\u0142anie zadania. Przewi\u0144 widok w d\xF3\u0142, popraw b\u0142\u0119dy i ponownie uruchom analiz\u0119.",T="Element ${ dataPath } musi zawiera\u0107 co najmniej jeden znak inny ni\u017C bia\u0142y znak.",g={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:i,anyOfValues:o,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:n,enumValues:s,failedToSaveHistory:w,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:l,hostedFeatureServicePublishDidNotComplete:c,keyPropertiesError:m,layerLoadFailure:y,layerUnavailable:p,maxItems:z,mbFailedToSave:u,minItems:j,minLength:k,modelNotFound:h,networkError:E,noPermissionToAccessTool:b,portalLoadError:P,queryFeaturesError:N,requiredProperty:S,serviceNameExistsError:$,specialCharactersInServiceNameError:v,temporaryLayerFieldsError:f,toolValidationError:I,whiteSpacePattern:T};export{a as InsufficientCreditsError,e as accessBlocked,i as additionalProperty,o as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,g as default,n as defaultError,s as enumValues,w as failedToSaveHistory,d as fullSessionStorage,l as hostedFeatureServiceInvalidTitle,c as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,y as layerLoadFailure,p as layerUnavailable,z as maxItems,u as mbFailedToSave,j as minItems,k as minLength,h as modelNotFound,E as networkError,b as noPermissionToAccessTool,P as portalLoadError,N as queryFeaturesError,S as requiredProperty,$ as serviceNameExistsError,v as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,I as toolValidationError,T as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.2 */
4
- import{a as O}from"./NM6FSLHS.js";import{A as H,C as M,D as F,d as B,e as L}from"./32GCN42P.js";import{b as U}from"./NF5TB4T5.js";import"./USO4FEJS.js";import"./2AUDRMU3.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"./4XYYUSUA.js";import"./MGON4SLN.js";var ee=T`:host{display:block;--instant-apps-social-share-action-width: initial;--instant-apps-social-share-width--s: 200px;--instant-apps-social-share-width--m: 280px;--instant-apps-social-share-width--l: 320px;--instant-apps-social-share-width-horizontal--s: 300px;--instant-apps-social-share-width-horizontal--m: 380px;--instant-apps-social-share-width-horizontal--l: 420px;--instant-apps-social-share-background-color: var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color: transparent;--instant-apps-social-share-popover-button-icon-color: var(--calcite-icon-color);--instant-apps-social-share-embed-border: 1px solid $border;--instant-apps-social-share-embed-text-area-text: #468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#fff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:700;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}`,i="instant-apps-social-share",N=".calcite-mode-dark",t={dialog:`${i}__dialog`,dialogContent:`${i}__dialog-content`,options:`${i}__options`,tipContainer:`${i}__tip`,tipHeader:`${i}__tip-header`,tipContent:`${i}__tip-content`,icon:`${i}__icon`,iconContainer:`${i}__icon-container`,optionText:`${i}__option-text`,popoverButton:`${i}__popover-button`,layout:{vertical:`${i}__layout--vertical`,horizontal:`${i}__layout--horizontal`},xLogo:{light:`${i}__x-logo--light`,dark:`${i}__x-logo--dark`},success:{container:`${i}__success`,header:`${i}__success-header`,message:`${i}__success-message`,icon:`${i}__success-icon`},embed:{container:`${i}__embed`,header:`${i}__embed-header`,embedCode:{container:`${i}__embed-code`,textArea:`${i}__embed-code-text-area`,copyButton:`${i}__embed-code-copy-button`},textAreaText:`${i}__embed-text-area-text`,dimensions:{container:`${i}__embed-dimensions`,input:`${i}__embed-dimensions-input`}},rtl:{optionText:`${i}__option-text--rtl`,textArea:`${i}__text-area--rtl`}},te={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?text={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},E=1,z=class extends I{constructor(){super(...arguments),this._messages=O({name:"instant-apps-social-share"}),this.popoverRef=m(),this.embedWidthRef=m(),this.embedHeightRef=m(),this.embedCodeRef=m(),this.copyLinkPopoverRef=m(),this.copyEmbedPopoverRef=m(),this.dialogContentRef=m(),this.shareListRef=m(),this.popoverButtonRef=m(),this.handlePopoverRefKeyDown=async e=>{if(!this.isNativeShareEnabled)if(e.code==="Tab"){if(!this.shareListRef.value)return;let s=e.target,o=this.shareListRef.value.children[0],r=this.shareListRef.value.children[this.shareListRef.value.children.length-1];e.shiftKey&&s===o?(e.preventDefault(),r.focus()):!e.shiftKey&&s===r&&(e.preventDefault(),o.focus())}else e.code==="Escape"&&(this.closePopover(),await this.popoverButtonRef.value?.setFocus())},this.stopEventPropagation=e=>{e.stopPropagation()},this.autoCloseCallback=()=>{this.mode==="popover"&&this.popoverRef.value?(this.isPopoverOpen=!1,this.popoverRef.value.open=this.isPopoverOpen):(this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1),this.inlineCopyEmbedOpened=!1)},this.resetPopoverCopyState=async()=>{await this.popoverButtonRef.value?.setFocus(),setTimeout(()=>{this.isLinkCopiedToClipboard=!1},200)},this.isPopoverOpen=!1,this.isLinkCopiedToClipboard=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600,this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1}static{this.properties={isPopoverOpen:16,isLinkCopiedToClipboard:16,inlineCopyLinkOpened:16,inlineCopyEmbedOpened:16,embedWidth:16,embedHeight:16,mode:3,shareUrl:1,autoUpdateShareUrl:5,shareText:3,embed:7,shareButtonColor:3,shareButtonType:3,shareButtonScale:3,iframeInnerText:3,popoverButtonIconScale:3,view:0,displayTipText:7,shortenShareUrl:7,socialMedia:7,shareIconsLayout:3,scale:3,successMessage:3,flipRtl:7,defaultUrlParams:0,inlineSuccessPopoverPlacement:3,popoverPositioning:3,removePopoverOffset:7,useNativeShare:7,isNativeShareEnabled:7}}static{this.styles=ee}load(){document.documentElement.addEventListener("click",this.autoCloseCallback),this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice}disconnectedCallback(){super.disconnectedCallback(),document.documentElement.removeEventListener("click",this.autoCloseCallback)}makeOptionKeyDownHandler(e){return async s=>{let o=s.code;(o==="Space"||o==="Enter")&&await this.handleShareItem(e)}}makeEmbedResizeHandler(e){let s=e==="width"?this.embedWidthRef.value:this.embedHeightRef.value;return()=>{if(!(!this.embed||this.isNativeShareEnabled)&&s){let o=Math.max(s.valueAsNumber??0,E);this[e==="width"?"embedWidth":"embedHeight"]=o}}}togglePopoverVisibility(e){e.stopPropagation(),this.isPopoverOpen=!this.isPopoverOpen,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}closePopover(){this.isPopoverOpen=!1,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}async handleShareItem(e){this.shareUrl=await this.generateShareUrl();let s=null,o=navigator?.userAgent?.includes("Chrome")??!1,r=(navigator?.userAgent?.includes("Safari")??!1)&&!o;!r&&this.shortenShareUrl&&(s=await this.shortenUrl(this.shareUrl));let l=s||this.shareUrl;switch(e){case"link":await navigator.clipboard.writeText(l),this.embed&&this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!0,setTimeout(()=>{this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1)},3e3)),this.inlineCopyLinkOpened=!0,this.isLinkCopiedToClipboard=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let p;r&&(p=window.open("","_blank"),this.shortenShareUrl&&(l=await this.shortenUrl(this.shareUrl)||l));let d={url:encodeURI(l)},f=e==="x"?{...d,text:this.shareText}:d,k=(await M()).substitute(te[e],f);this.mode==="popover"&&this.closePopover(),r&&p?(p.location=k,p.focus()):window.open(encodeURI(k),"_blank")}break;case"native-share":let v={title:this._messages.share?.label||"Share",text:this.shareText,url:encodeURI(l)};navigator?.canShare?.(v)?navigator.share(v).catch(p=>{console.error("Error using native share:",p)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(e){let s=(await(await F())("https://arcg.is/prod/shorten",{query:{longUrl:e,f:"json"}}))?.data?.data?.url;if(s)return s.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}async copyEmbedCode(){await navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!0,setTimeout(()=>{this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1)},3e3)),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:e,y:s}=this.view.center,{spatialReference:o}=this.view,r=await L({...o.toJSON()}),l=await B({x:e,y:s,spatialReference:r}),v=await this.processPoint(l),{isWGS84:p,isWebMercator:d}=v.spatialReference,f=p||d;return this.generateShareUrlParams(v,f)}async processPoint(e){let{isWGS84:s,isWebMercator:o}=e.spatialReference;if(s||o)return e;let r=await H(),l=await L({wkid:4326}),v=this.view?.spatialReference??l;try{return await r.load(),r.execute(e,v)}catch(p){console.error("Failed to project point to outSpatialReference",p);try{let d=r.execute(e,l);return Promise.resolve(d)}catch(d){return console.error("Failed to project point to fallbackOutSpatialReference",d),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(e,s){let{longitude:o,latitude:r,x:l,y:v}=e;if(o===void 0||r===void 0||!this.view)return this.shareUrl;let p=this.roundValue(s?o:l),d=this.roundValue(s?r:v),{zoom:f}=this.view,k=this.roundValue(f),P=this.view?.popup?.selectedFeature,D=this.view?.popup?.visible,$,x;if(P&&D&&P?.layer?.type==="feature"){let _=P?.layer;$=_?.id,x=P.attributes[_.objectIdField]}let R=this.view.map?.allLayers.filter(_=>!_.visible).toArray().map(_=>_.id).toString().replaceAll(",",";"),{type:A}=this.view,{defaultUrlParams:g}=this,c=new URL(this.shareUrl),{searchParams:u}=c;if(u.get("center")&&u.delete("center"),u.get("level")&&u.delete("level"),u.get("selectedFeature")&&u.delete("selectedFeature"),u.get("hiddenLayers")&&u.delete("hiddenLayers"),u.get("viewpoint")&&u.delete("viewpoint"),A==="3d"){let{camera:_}=this.view,{heading:V,position:W,tilt:j}=_,{longitude:K,latitude:Z,x:G,y:X,z:q}=W,J=s?K:G,Q=s?Z:X,y={longitude:this.roundValue(J,8),latitude:this.roundValue(Q,8),z:this.roundValue(q,3),heading:this.roundValue(V,3),tilt:this.roundValue(j,3)},Y=`cam:${y.longitude},${y.latitude},${y.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${y.heading},${y.tilt}`;return g?.viewpoint!==!1&&c.searchParams.set("viewpoint",Y),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}return g?.center!==!1&&c.searchParams.set("center",`${p};${d}`),g?.level!==!1&&c.searchParams.set("level",`${k}`),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}roundValue(e,s=4){return Number.parseFloat(e.toFixed(s))}get isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}render(){let e=this.isLinkCopiedToClipboard&&this.mode==="popover"?this.renderSuccess():n`<div class=${a(t.dialogContent)}>${this.renderMenuOptions()}${this.displayTipText?this.renderTip():null}${this.embed?this.renderEmbed():null}</div>`,s=this.shareIconsLayout==="vertical"?` ${t.layout.vertical}`:` ${t.layout.horizontal}`,o=` calcite-mode-${this.el.closest(N)?"dark":"light"}`,r=n`<div class=${`${t.dialog}${s}${o}`} @click=${this.stopEventPropagation} ${h(this.dialogContentRef)}>${e}</div>`,l=this.removePopoverOffset?0:6;return this.isNativeShareEnabled?this.renderShareButton():this.mode==="popover"?[n`<calcite-popover .open=${this.isPopoverOpen} .label=${this._messages.share?.label??""} reference-element=shareButton placement=bottom-start .scale=${this.scale} .overlayPositioning=${this.popoverPositioning} .offsetDistance=${l} .pointerDisabled=${this.removePopoverOffset} @calcitePopoverOpen=${()=>{!this.shareListRef.value||this.isNativeShareEnabled||this.shareListRef.value.children[0].focus()}} @calcitePopoverBeforeClose=${this.resetPopoverCopyState} @click=${this.stopEventPropagation} @keydown=${this.handlePopoverRefKeyDown} ${h(this.popoverRef)}>${r}</calcite-popover>`,this.renderShareButton()]:[r,n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyLinkPopoverRef)}>${this.renderSuccess()}</calcite-popover>`,this.embed?n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyEmbedToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyEmbedPopoverRef)}>${this.renderEmbedSuccess()}</calcite-popover>`:null]}renderShareButton(){let e=this.shareButtonScale??this.scale,s=async r=>{this.isNativeShareEnabled?(r.stopPropagation(),await this.handleShareItem("native-share")):this.togglePopoverVisibility(r)},o=n`<div class=${a(t.iconContainer)}><calcite-icon icon=share .scale=${this.popoverButtonIconScale}></calcite-icon></div>`;return this.shareButtonType==="button"?n`<calcite-button id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} .kind=${this.shareButtonColor} appearance=transparent ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-button>`:n`<calcite-action id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} appearance=transparent text alignment=center ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-action>`}renderSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${this.successMessage||e?.url}</span></div>`}renderEmbedSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${e?.embed}</span></div>`}renderMenuOptions(){let e=this._messages.options,s=document.dir==="rtl"?` ${t.rtl.optionText}`:"";return n`<ul class=${a(t.options)} role=menu ${h(this.shareListRef)}><li id=copyToClipboard @click=${this.handleShareItem.bind(this,"link")} @keydown=${this.makeOptionKeyDownHandler("link")} role=menuitem tabindex=0><span class=${a(t.icon)}><calcite-icon icon=link .scale=${this.scale}></calcite-icon></span><span class=${`${t.optionText}${s}`}>${e?.link?.label}</span></li>${this.socialMedia?[n`<li @click=${this.handleShareItem.bind(this,"facebook")} @keydown=${this.makeOptionKeyDownHandler("facebook")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderFacebookIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.facebook?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"x")} @keydown=${this.makeOptionKeyDownHandler("x")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderXIcon()}</span><span class=${`${t.optionText}${s}`}>X</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"linkedIn")} @keydown=${this.makeOptionKeyDownHandler("linkedIn")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderLinkedInIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.linkedIn?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"bluesky")} @keydown=${this.makeOptionKeyDownHandler("bluesky")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderBlueSkyIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.blueSky?.label}</span></li>`]:null}</ul>`}renderFacebookIcon(){return n`<svg height=100% style=${b({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g><path d="M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z" style=${b({fill:"#1877f2",fillRule:"nonzero"})} /><path d="M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z" style=${b({fill:"#fff",fillRule:"nonzero"})} /></g>`}</svg>`}renderXIcon(){let e=!!this.el.closest(N);return n`<svg height=100% class=${a(e?t.xLogo.dark:t.xLogo.light)} viewBox="0 0 1200 1227" fill=none xmlns=http://www.w3.org/2000/svg>${w`<rect height=400 style=${b({fill:"none"})} width=400 x=56 y=56 /><path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill=${e?"white":"black"} />`}</svg>`}renderBlueSkyIcon(){return n`<svg height=100% fill=#0f85fe xmlns=http://www.w3.org/2000/svg viewBox="0 0 512 512">${w`<path d="M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z" />`}</svg>`}renderLinkedInIcon(){return n`<svg height=100% style=${b({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g id=g5891><path d="M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z" id=background style=${b({fill:"#2867b2"})} /><g id=shapes><rect height=257.962 id=rect11 style=${b({fill:"#fff"})} width=85.76 x=61.053 y=178.667 /><path d="M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z" id=path13-0 style=${b({fill:"#fff",fillRule:"nonzero"})} /><path d="M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z" id=path15 style=${b({fill:"#fff",fillRule:"nonzero"})} /></g></g>`}</svg>`}renderTip(){let e=this._messages.info;return n`<div class=${a(t.tipContainer)}><span class=${a(t.tipHeader)}><calcite-icon icon=lightbulb .scale=${this.scale}></calcite-icon><span>${e?.label}</span></span><p class=${a(t.tipContent)}>${e?.tooltip}</p></div>`}renderEmbed(){let e=this._messages.embed,s=document.dir==="rtl"?` ${t.rtl.textArea}`:"";return n`<div class=${a(t.embed.container)}><span class=${a(t.embed.header)}><calcite-icon icon=code .scale=${this.scale}></calcite-icon><span>${this._messages.embed?.label}</span></span><div class=${a(t.embed.embedCode.container)}><div class=${a(t.embed.embedCode.textArea)}><textarea cols=30 rows=5 readonly class=${a(s)} .value=${S(this.getEmbedCode()??"")} ${h(this.embedCodeRef)}></textarea><button id=copyEmbedToClipboard @click=${this.copyEmbedCode} class=${a(t.embed.embedCode.copyButton)}><calcite-icon icon=copy .scale=${this.scale}></calcite-icon><span>${e?.copy}</span></button></div><span class=${a(t.embed.textAreaText)}><slot name=text-area-text></slot></span><div class=${a(t.embed.dimensions.container)}><label class=${a(t.embed.dimensions.input)}><span>${e?.width}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("width")} .value=${S(this.embedWidth??"")} min=${E} ${h(this.embedWidthRef)}></label><label class=${a(t.embed.dimensions.input)}><span>${e?.height}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("height")} .value=${S(this.embedHeight??"")} min=${E} ${h(this.embedHeightRef)}></label></div></div></div>`}};U("instant-apps-social-share",z);export{z as InstantAppsSocialShare};
3
+ v1.2.0-next.4 */
4
+ import{a as O}from"./4WEAWPJU.js";import{A as H,C as M,D as F,d as B,e as L}from"./TA6JWCUQ.js";import{b as U}from"./BGYNN7N6.js";import"./4PQV62XZ.js";import"./FED5CWZX.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"./2HK3BXGQ.js";import"./W3WAMZRW.js";var ee=T`:host{display:block;--instant-apps-social-share-action-width: initial;--instant-apps-social-share-width--s: 200px;--instant-apps-social-share-width--m: 280px;--instant-apps-social-share-width--l: 320px;--instant-apps-social-share-width-horizontal--s: 300px;--instant-apps-social-share-width-horizontal--m: 380px;--instant-apps-social-share-width-horizontal--l: 420px;--instant-apps-social-share-background-color: var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color: transparent;--instant-apps-social-share-popover-button-icon-color: var(--calcite-icon-color);--instant-apps-social-share-embed-border: 1px solid $border;--instant-apps-social-share-embed-text-area-text: #468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#fff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:700;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}`,i="instant-apps-social-share",N=".calcite-mode-dark",t={dialog:`${i}__dialog`,dialogContent:`${i}__dialog-content`,options:`${i}__options`,tipContainer:`${i}__tip`,tipHeader:`${i}__tip-header`,tipContent:`${i}__tip-content`,icon:`${i}__icon`,iconContainer:`${i}__icon-container`,optionText:`${i}__option-text`,popoverButton:`${i}__popover-button`,layout:{vertical:`${i}__layout--vertical`,horizontal:`${i}__layout--horizontal`},xLogo:{light:`${i}__x-logo--light`,dark:`${i}__x-logo--dark`},success:{container:`${i}__success`,header:`${i}__success-header`,message:`${i}__success-message`,icon:`${i}__success-icon`},embed:{container:`${i}__embed`,header:`${i}__embed-header`,embedCode:{container:`${i}__embed-code`,textArea:`${i}__embed-code-text-area`,copyButton:`${i}__embed-code-copy-button`},textAreaText:`${i}__embed-text-area-text`,dimensions:{container:`${i}__embed-dimensions`,input:`${i}__embed-dimensions-input`}},rtl:{optionText:`${i}__option-text--rtl`,textArea:`${i}__text-area--rtl`}},te={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?text={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},E=1,z=class extends I{constructor(){super(...arguments),this._messages=O({name:"instant-apps-social-share"}),this.popoverRef=m(),this.embedWidthRef=m(),this.embedHeightRef=m(),this.embedCodeRef=m(),this.copyLinkPopoverRef=m(),this.copyEmbedPopoverRef=m(),this.dialogContentRef=m(),this.shareListRef=m(),this.popoverButtonRef=m(),this.handlePopoverRefKeyDown=async e=>{if(!this.isNativeShareEnabled)if(e.code==="Tab"){if(!this.shareListRef.value)return;let s=e.target,o=this.shareListRef.value.children[0],r=this.shareListRef.value.children[this.shareListRef.value.children.length-1];e.shiftKey&&s===o?(e.preventDefault(),r.focus()):!e.shiftKey&&s===r&&(e.preventDefault(),o.focus())}else e.code==="Escape"&&(this.closePopover(),await this.popoverButtonRef.value?.setFocus())},this.stopEventPropagation=e=>{e.stopPropagation()},this.autoCloseCallback=()=>{this.mode==="popover"&&this.popoverRef.value?(this.isPopoverOpen=!1,this.popoverRef.value.open=this.isPopoverOpen):(this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1),this.inlineCopyEmbedOpened=!1)},this.resetPopoverCopyState=async()=>{await this.popoverButtonRef.value?.setFocus(),setTimeout(()=>{this.isLinkCopiedToClipboard=!1},200)},this.isPopoverOpen=!1,this.isLinkCopiedToClipboard=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600,this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1}static{this.properties={isPopoverOpen:16,isLinkCopiedToClipboard:16,inlineCopyLinkOpened:16,inlineCopyEmbedOpened:16,embedWidth:16,embedHeight:16,mode:3,shareUrl:1,autoUpdateShareUrl:5,shareText:3,embed:7,shareButtonColor:3,shareButtonType:3,shareButtonScale:3,iframeInnerText:3,popoverButtonIconScale:3,view:0,displayTipText:7,shortenShareUrl:7,socialMedia:7,shareIconsLayout:3,scale:3,successMessage:3,flipRtl:7,defaultUrlParams:0,inlineSuccessPopoverPlacement:3,popoverPositioning:3,removePopoverOffset:7,useNativeShare:7,isNativeShareEnabled:7}}static{this.styles=ee}load(){document.documentElement.addEventListener("click",this.autoCloseCallback),this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice}disconnectedCallback(){super.disconnectedCallback(),document.documentElement.removeEventListener("click",this.autoCloseCallback)}makeOptionKeyDownHandler(e){return async s=>{let o=s.code;(o==="Space"||o==="Enter")&&await this.handleShareItem(e)}}makeEmbedResizeHandler(e){let s=e==="width"?this.embedWidthRef.value:this.embedHeightRef.value;return()=>{if(!(!this.embed||this.isNativeShareEnabled)&&s){let o=Math.max(s.valueAsNumber??0,E);this[e==="width"?"embedWidth":"embedHeight"]=o}}}togglePopoverVisibility(e){e.stopPropagation(),this.isPopoverOpen=!this.isPopoverOpen,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}closePopover(){this.isPopoverOpen=!1,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}async handleShareItem(e){this.shareUrl=await this.generateShareUrl();let s=null,o=navigator?.userAgent?.includes("Chrome")??!1,r=(navigator?.userAgent?.includes("Safari")??!1)&&!o;!r&&this.shortenShareUrl&&(s=await this.shortenUrl(this.shareUrl));let l=s||this.shareUrl;switch(e){case"link":await navigator.clipboard.writeText(l),this.embed&&this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!0,setTimeout(()=>{this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1)},3e3)),this.inlineCopyLinkOpened=!0,this.isLinkCopiedToClipboard=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let p;r&&(p=window.open("","_blank"),this.shortenShareUrl&&(l=await this.shortenUrl(this.shareUrl)||l));let d={url:encodeURI(l)},f=e==="x"?{...d,text:this.shareText}:d,k=(await M()).substitute(te[e],f);this.mode==="popover"&&this.closePopover(),r&&p?(p.location=k,p.focus()):window.open(encodeURI(k),"_blank")}break;case"native-share":let v={title:this._messages.share?.label||"Share",text:this.shareText,url:encodeURI(l)};navigator?.canShare?.(v)?navigator.share(v).catch(p=>{console.error("Error using native share:",p)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(e){let s=(await(await F())("https://arcg.is/prod/shorten",{query:{longUrl:e,f:"json"}}))?.data?.data?.url;if(s)return s.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}async copyEmbedCode(){await navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!0,setTimeout(()=>{this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1)},3e3)),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:e,y:s}=this.view.center,{spatialReference:o}=this.view,r=await L({...o.toJSON()}),l=await B({x:e,y:s,spatialReference:r}),v=await this.processPoint(l),{isWGS84:p,isWebMercator:d}=v.spatialReference,f=p||d;return this.generateShareUrlParams(v,f)}async processPoint(e){let{isWGS84:s,isWebMercator:o}=e.spatialReference;if(s||o)return e;let r=await H(),l=await L({wkid:4326}),v=this.view?.spatialReference??l;try{return await r.load(),r.execute(e,v)}catch(p){console.error("Failed to project point to outSpatialReference",p);try{let d=r.execute(e,l);return Promise.resolve(d)}catch(d){return console.error("Failed to project point to fallbackOutSpatialReference",d),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(e,s){let{longitude:o,latitude:r,x:l,y:v}=e;if(o===void 0||r===void 0||!this.view)return this.shareUrl;let p=this.roundValue(s?o:l),d=this.roundValue(s?r:v),{zoom:f}=this.view,k=this.roundValue(f),P=this.view?.popup?.selectedFeature,D=this.view?.popup?.visible,$,x;if(P&&D&&P?.layer?.type==="feature"){let _=P?.layer;$=_?.id,x=P.attributes[_.objectIdField]}let R=this.view.map?.allLayers.filter(_=>!_.visible).toArray().map(_=>_.id).toString().replaceAll(",",";"),{type:A}=this.view,{defaultUrlParams:g}=this,c=new URL(this.shareUrl),{searchParams:u}=c;if(u.get("center")&&u.delete("center"),u.get("level")&&u.delete("level"),u.get("selectedFeature")&&u.delete("selectedFeature"),u.get("hiddenLayers")&&u.delete("hiddenLayers"),u.get("viewpoint")&&u.delete("viewpoint"),A==="3d"){let{camera:_}=this.view,{heading:V,position:W,tilt:j}=_,{longitude:K,latitude:Z,x:G,y:X,z:q}=W,J=s?K:G,Q=s?Z:X,y={longitude:this.roundValue(J,8),latitude:this.roundValue(Q,8),z:this.roundValue(q,3),heading:this.roundValue(V,3),tilt:this.roundValue(j,3)},Y=`cam:${y.longitude},${y.latitude},${y.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${y.heading},${y.tilt}`;return g?.viewpoint!==!1&&c.searchParams.set("viewpoint",Y),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}return g?.center!==!1&&c.searchParams.set("center",`${p};${d}`),g?.level!==!1&&c.searchParams.set("level",`${k}`),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}roundValue(e,s=4){return Number.parseFloat(e.toFixed(s))}get isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}render(){let e=this.isLinkCopiedToClipboard&&this.mode==="popover"?this.renderSuccess():n`<div class=${a(t.dialogContent)}>${this.renderMenuOptions()}${this.displayTipText?this.renderTip():null}${this.embed?this.renderEmbed():null}</div>`,s=this.shareIconsLayout==="vertical"?` ${t.layout.vertical}`:` ${t.layout.horizontal}`,o=` calcite-mode-${this.el.closest(N)?"dark":"light"}`,r=n`<div class=${`${t.dialog}${s}${o}`} @click=${this.stopEventPropagation} ${h(this.dialogContentRef)}>${e}</div>`,l=this.removePopoverOffset?0:6;return this.isNativeShareEnabled?this.renderShareButton():this.mode==="popover"?[n`<calcite-popover .open=${this.isPopoverOpen} .label=${this._messages.share?.label??""} reference-element=shareButton placement=bottom-start .scale=${this.scale} .overlayPositioning=${this.popoverPositioning} .offsetDistance=${l} .pointerDisabled=${this.removePopoverOffset} @calcitePopoverOpen=${()=>{!this.shareListRef.value||this.isNativeShareEnabled||this.shareListRef.value.children[0].focus()}} @calcitePopoverBeforeClose=${this.resetPopoverCopyState} @click=${this.stopEventPropagation} @keydown=${this.handlePopoverRefKeyDown} ${h(this.popoverRef)}>${r}</calcite-popover>`,this.renderShareButton()]:[r,n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyLinkPopoverRef)}>${this.renderSuccess()}</calcite-popover>`,this.embed?n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyEmbedToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyEmbedPopoverRef)}>${this.renderEmbedSuccess()}</calcite-popover>`:null]}renderShareButton(){let e=this.shareButtonScale??this.scale,s=async r=>{this.isNativeShareEnabled?(r.stopPropagation(),await this.handleShareItem("native-share")):this.togglePopoverVisibility(r)},o=n`<div class=${a(t.iconContainer)}><calcite-icon icon=share .scale=${this.popoverButtonIconScale}></calcite-icon></div>`;return this.shareButtonType==="button"?n`<calcite-button id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} .kind=${this.shareButtonColor} appearance=transparent ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-button>`:n`<calcite-action id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} appearance=transparent text alignment=center ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-action>`}renderSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${this.successMessage||e?.url}</span></div>`}renderEmbedSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${e?.embed}</span></div>`}renderMenuOptions(){let e=this._messages.options,s=document.dir==="rtl"?` ${t.rtl.optionText}`:"";return n`<ul class=${a(t.options)} role=menu ${h(this.shareListRef)}><li id=copyToClipboard @click=${this.handleShareItem.bind(this,"link")} @keydown=${this.makeOptionKeyDownHandler("link")} role=menuitem tabindex=0><span class=${a(t.icon)}><calcite-icon icon=link .scale=${this.scale}></calcite-icon></span><span class=${`${t.optionText}${s}`}>${e?.link?.label}</span></li>${this.socialMedia?[n`<li @click=${this.handleShareItem.bind(this,"facebook")} @keydown=${this.makeOptionKeyDownHandler("facebook")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderFacebookIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.facebook?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"x")} @keydown=${this.makeOptionKeyDownHandler("x")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderXIcon()}</span><span class=${`${t.optionText}${s}`}>X</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"linkedIn")} @keydown=${this.makeOptionKeyDownHandler("linkedIn")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderLinkedInIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.linkedIn?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"bluesky")} @keydown=${this.makeOptionKeyDownHandler("bluesky")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderBlueSkyIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.blueSky?.label}</span></li>`]:null}</ul>`}renderFacebookIcon(){return n`<svg height=100% style=${b({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g><path d="M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z" style=${b({fill:"#1877f2",fillRule:"nonzero"})} /><path d="M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z" style=${b({fill:"#fff",fillRule:"nonzero"})} /></g>`}</svg>`}renderXIcon(){let e=!!this.el.closest(N);return n`<svg height=100% class=${a(e?t.xLogo.dark:t.xLogo.light)} viewBox="0 0 1200 1227" fill=none xmlns=http://www.w3.org/2000/svg>${w`<rect height=400 style=${b({fill:"none"})} width=400 x=56 y=56 /><path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill=${e?"white":"black"} />`}</svg>`}renderBlueSkyIcon(){return n`<svg height=100% fill=#0f85fe xmlns=http://www.w3.org/2000/svg viewBox="0 0 512 512">${w`<path d="M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z" />`}</svg>`}renderLinkedInIcon(){return n`<svg height=100% style=${b({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g id=g5891><path d="M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z" id=background style=${b({fill:"#2867b2"})} /><g id=shapes><rect height=257.962 id=rect11 style=${b({fill:"#fff"})} width=85.76 x=61.053 y=178.667 /><path d="M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z" id=path13-0 style=${b({fill:"#fff",fillRule:"nonzero"})} /><path d="M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z" id=path15 style=${b({fill:"#fff",fillRule:"nonzero"})} /></g></g>`}</svg>`}renderTip(){let e=this._messages.info;return n`<div class=${a(t.tipContainer)}><span class=${a(t.tipHeader)}><calcite-icon icon=lightbulb .scale=${this.scale}></calcite-icon><span>${e?.label}</span></span><p class=${a(t.tipContent)}>${e?.tooltip}</p></div>`}renderEmbed(){let e=this._messages.embed,s=document.dir==="rtl"?` ${t.rtl.textArea}`:"";return n`<div class=${a(t.embed.container)}><span class=${a(t.embed.header)}><calcite-icon icon=code .scale=${this.scale}></calcite-icon><span>${this._messages.embed?.label}</span></span><div class=${a(t.embed.embedCode.container)}><div class=${a(t.embed.embedCode.textArea)}><textarea cols=30 rows=5 readonly class=${a(s)} .value=${S(this.getEmbedCode()??"")} ${h(this.embedCodeRef)}></textarea><button id=copyEmbedToClipboard @click=${this.copyEmbedCode} class=${a(t.embed.embedCode.copyButton)}><calcite-icon icon=copy .scale=${this.scale}></calcite-icon><span>${e?.copy}</span></button></div><span class=${a(t.embed.textAreaText)}><slot name=text-area-text></slot></span><div class=${a(t.embed.dimensions.container)}><label class=${a(t.embed.dimensions.input)}><span>${e?.width}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("width")} .value=${S(this.embedWidth??"")} min=${E} ${h(this.embedWidthRef)}></label><label class=${a(t.embed.dimensions.input)}><span>${e?.height}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("height")} .value=${S(this.embedHeight??"")} min=${E} ${h(this.embedHeightRef)}></label></div></div></div>`}};U("instant-apps-social-share",z);export{z as InstantAppsSocialShare};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.2 */
4
- import"./MGON4SLN.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/_discussions",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
3
+ v1.2.0-next.4 */
4
+ import"./W3WAMZRW.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/_discussions",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.2 */
3
+ v1.2.0-next.4 */
4
4
  function s(n,r){return Object.keys(n).reduce(function(i,t){return i[t]=r(n[t],t,n),i},{})}function o(n,r,e){if(e=e||"",Array.isArray(n))return n.map(u);return n&&c(n)&&!a(n)&&!x(n)&&!p(n)?Object.assign({},n,s(n,u)):r(n,e);function u(i,t){let f=""+(e?e+"."+t:t);return o(i,r,f)}}function l(n){return typeof n=="string"||n instanceof String}function a(n){return n instanceof Date}function p(n){return typeof n=="function"}function c(n){return typeof n=="object"}function x(n){return n instanceof RegExp}export{o as a,l as b,c,x as d};