@esri/solutions-components 1.0.3 → 1.0.5

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 (460) hide show
  1. package/dist/cdn/{TTOLHIJV.js → 22F7LFMG.js} +2 -2
  2. package/dist/cdn/{KU6NIERJ.js → 25FEJN5O.js} +2 -2
  3. package/dist/cdn/{3U5MCBML.js → 25JM7WUJ.js} +2 -2
  4. package/dist/cdn/{Y4V6VBRL.js → 2A6DDRTH.js} +2 -2
  5. package/dist/cdn/{OHVFUCPD.js → 2BDPGGKC.js} +2 -2
  6. package/dist/cdn/{TSUZDZYM.js → 2IRIOH44.js} +2 -2
  7. package/dist/cdn/{SCRDPL23.js → 2LVUHNL4.js} +2 -2
  8. package/dist/cdn/{XRFRTU7J.js → 2QFMILDU.js} +2 -2
  9. package/dist/cdn/{GTEHENBQ.js → 2RWXUIPE.js} +2 -2
  10. package/dist/cdn/2TT2EKLS.js +4 -0
  11. package/dist/cdn/{J5Z6XBH5.js → 2VXYY4NW.js} +1 -1
  12. package/dist/cdn/{T7OXALTG.js → 33UPFZYZ.js} +2 -2
  13. package/dist/cdn/{IP5TND75.js → 34BPQSHF.js} +2 -2
  14. package/dist/cdn/{GGXBJUNZ.js → 35ZVLYI7.js} +2 -2
  15. package/dist/cdn/36RPCHBW.js +18 -0
  16. package/dist/cdn/{AD4OROQI.js → 3IMXMLFS.js} +2 -2
  17. package/dist/cdn/3LJQBCLM.js +18 -0
  18. package/dist/cdn/{KJDCKGFK.js → 3RLVYGV7.js} +2 -2
  19. package/dist/cdn/{IAGXR3NP.js → 43R5NRNV.js} +1 -1
  20. package/dist/cdn/{6IAXNX3E.js → 4527TPFQ.js} +1 -1
  21. package/dist/cdn/4HAO722I.js +4 -0
  22. package/dist/cdn/{4L6E3M5G.js → 4J5HYMPQ.js} +2 -2
  23. package/dist/cdn/{KJ5OTXP6.js → 4SF42JCK.js} +2 -2
  24. package/dist/cdn/{HYI5EZI4.js → 4UCCOTIL.js} +2 -2
  25. package/dist/cdn/{C23KGGFI.js → 4ULTYKHN.js} +2 -2
  26. package/dist/cdn/56FAI7QX.js +18 -0
  27. package/dist/cdn/{3RYX2KRP.js → 5CGYAFLG.js} +2 -2
  28. package/dist/cdn/{UY2ZBEHZ.js → 5JHZFHQW.js} +2 -2
  29. package/dist/cdn/{VJOELFDU.js → 5JYWXCER.js} +2 -2
  30. package/dist/cdn/{KDL2CC6G.js → 5K5LGI4X.js} +2 -2
  31. package/dist/cdn/{NMDV24RB.js → 5LOTR4DW.js} +2 -2
  32. package/dist/cdn/{OCMNVWI4.js → 5QHONC74.js} +2 -2
  33. package/dist/cdn/5S2FZKYO.js +18 -0
  34. package/dist/cdn/{HYZDGSVF.js → 5TRSWX6M.js} +2 -2
  35. package/dist/cdn/{FL6PET5V.js → 5WAZGRRD.js} +2 -2
  36. package/dist/cdn/{GTFFXKQ2.js → 5WNLR3DS.js} +2 -2
  37. package/dist/cdn/{G4JWUXWW.js → 64ETTMNQ.js} +2 -2
  38. package/dist/cdn/{6DFZGD4Y.js → 65NNPWV7.js} +1 -1
  39. package/dist/cdn/6LUI2X3G.js +18 -0
  40. package/dist/cdn/{7SATBHPG.js → 6N7ZWEZT.js} +2 -2
  41. package/dist/cdn/{Z5LX6R34.js → 6U4PV22I.js} +1 -1
  42. package/dist/cdn/{S4E4IPBZ.js → 6XYUDJQ2.js} +1 -1
  43. package/dist/cdn/{JVJODSGL.js → 7244YR36.js} +2 -2
  44. package/dist/cdn/{UYOJLBLJ.js → 76DZHGT4.js} +2 -2
  45. package/dist/cdn/{YAAW6QK6.js → 76JQ5L7D.js} +2 -2
  46. package/dist/cdn/{M5R3XZG4.js → 7ATYJT4O.js} +2 -2
  47. package/dist/cdn/{DDZUXMVO.js → 7B2MAX64.js} +1 -1
  48. package/dist/cdn/{ESRPIZDO.js → 7M5YUYGE.js} +2 -2
  49. package/dist/cdn/{SWMF2YA5.js → 7NDRZHL6.js} +2 -2
  50. package/dist/cdn/{JFDXJGIJ.js → 7NMV3XFP.js} +1 -1
  51. package/dist/cdn/{GKSL27GK.js → 7OEQCUDV.js} +1 -1
  52. package/dist/cdn/{N372V6ZZ.js → 7OZSPB2F.js} +2 -2
  53. package/dist/cdn/{EFQOQ4XM.js → 7WZE34BF.js} +2 -2
  54. package/dist/cdn/{EQDEFLKQ.js → 7YFBO4YO.js} +2 -2
  55. package/dist/cdn/{T4OHAC5G.js → A4L4EUDH.js} +2 -2
  56. package/dist/cdn/{BR63TLFP.js → AC7K2P6S.js} +11 -11
  57. package/dist/cdn/{XUYTRG7D.js → AGGLKLN3.js} +2 -2
  58. package/dist/cdn/{V2V2PODO.js → AHHA6SMZ.js} +2 -2
  59. package/dist/cdn/{LN6SBKS6.js → AOOQAYSR.js} +2 -2
  60. package/dist/cdn/{RIVVWLOA.js → AQZ3QIKE.js} +2 -2
  61. package/dist/cdn/{TI3IPN2K.js → AXDYNDWC.js} +1 -1
  62. package/dist/cdn/{C4OSLESX.js → AYBHICHM.js} +2 -2
  63. package/dist/cdn/{54VXW2B6.js → AYDTR35F.js} +2 -2
  64. package/dist/cdn/AYND4SCK.js +4 -0
  65. package/dist/cdn/{SYSMKBTI.js → B2AAEHPJ.js} +2 -2
  66. package/dist/cdn/{D33LMOKH.js → B4PHULG7.js} +2 -2
  67. package/dist/cdn/B5754CLI.js +4 -0
  68. package/dist/cdn/{JGYXU6MT.js → BRSXWNGO.js} +2 -2
  69. package/dist/cdn/{VLQOV3NQ.js → C6WPV722.js} +2 -2
  70. package/dist/cdn/{JDBACJRP.js → CBITJT5D.js} +4 -4
  71. package/dist/cdn/CDBDE4TC.js +18 -0
  72. package/dist/cdn/{NCB45ISZ.js → CFPXLHXR.js} +2 -2
  73. package/dist/cdn/{QA65PTZZ.js → CGZZGJLP.js} +2 -2
  74. package/dist/cdn/{QIQSY5XY.js → CJFK6TKW.js} +2 -2
  75. package/dist/cdn/CXN63GPC.js +18 -0
  76. package/dist/cdn/{LVGWOKF7.js → CXOHKJLR.js} +1 -1
  77. package/dist/cdn/{G5TN4YYX.js → CYHKUA3T.js} +2 -2
  78. package/dist/cdn/{IU5ETFJQ.js → D2SOXDMW.js} +2 -2
  79. package/dist/cdn/{FCK3OBGA.js → D2UIHI5N.js} +2 -2
  80. package/dist/cdn/D2XDABCT.js +20 -0
  81. package/dist/cdn/{QSBF5CAO.js → D3RXCR6Q.js} +1 -1
  82. package/dist/cdn/{KUJTRCCI.js → DC2VXLYA.js} +2 -2
  83. package/dist/cdn/{KLABUUYY.js → DCYHSAL2.js} +2 -2
  84. package/dist/cdn/{DYAASCEQ.js → DHVPMGLT.js} +2 -2
  85. package/dist/cdn/{XNBFYXGC.js → DO5IRX2P.js} +2 -2
  86. package/dist/cdn/DP2E5JFM.js +4 -0
  87. package/dist/cdn/DSA7P4FN.js +18 -0
  88. package/dist/cdn/{RM45AKVD.js → DZ75SULS.js} +2 -2
  89. package/dist/cdn/{IYR7CWGB.js → E4626BS2.js} +2 -2
  90. package/dist/cdn/{FP7ZUAH6.js → EEECQWVR.js} +2 -2
  91. package/dist/cdn/{FSH3VY4W.js → EHUPQ5JP.js} +2 -2
  92. package/dist/cdn/{TJMDZV66.js → EJ7VKYZG.js} +2 -2
  93. package/dist/cdn/{EV4XJGO3.js → EL5KWKMD.js} +2 -2
  94. package/dist/cdn/{3O5UNJZ5.js → EPYFVSXR.js} +2 -2
  95. package/dist/cdn/{NIIZBG5D.js → EV22N3KD.js} +2 -2
  96. package/dist/cdn/{FGYAYTAY.js → EW3T5VLB.js} +2 -2
  97. package/dist/cdn/{IYVUU2KK.js → EX6HJQ4X.js} +2 -2
  98. package/dist/cdn/{EL2ASFX3.js → FDNO4BVO.js} +2 -2
  99. package/dist/cdn/{CM4AL2I7.js → FFJCM7BG.js} +2 -2
  100. package/dist/cdn/{XX3BIAK6.js → FKCBARKI.js} +2 -2
  101. package/dist/cdn/{U3K7MHYO.js → FLX4QZPY.js} +4 -4
  102. package/dist/cdn/{RC5OYDLU.js → FQTZU3Z2.js} +2 -2
  103. package/dist/cdn/{2KV5NHCA.js → FZV7IALP.js} +2 -2
  104. package/dist/cdn/{DP4UK5MF.js → G2PAP4HL.js} +2 -2
  105. package/dist/cdn/{YEGN6TNL.js → G56M322A.js} +2 -2
  106. package/dist/cdn/{UIZ5RNY5.js → G7LK4PDL.js} +2 -2
  107. package/dist/cdn/{ZVCG3MTM.js → GE2KFI4B.js} +3 -3
  108. package/dist/cdn/{WFX5NIY6.js → GFTGPFHL.js} +2 -2
  109. package/dist/cdn/{PLA5JT3G.js → GFTMWJE2.js} +2 -2
  110. package/dist/cdn/{M5UPX2J7.js → GGBJCIO7.js} +2 -2
  111. package/dist/cdn/{LIGPP436.js → GJ2UG6YP.js} +2 -2
  112. package/dist/cdn/{QLVDQY5R.js → GKBVNMEW.js} +2 -2
  113. package/dist/cdn/{6FHHBRRB.js → GUN44VYU.js} +2 -2
  114. package/dist/cdn/{23KPU4GQ.js → H36GDFY7.js} +1 -1
  115. package/dist/cdn/{BEQE76XU.js → H3C4GIDZ.js} +2 -2
  116. package/dist/cdn/{ICTEUNHA.js → H3FM5UM6.js} +1 -1
  117. package/dist/cdn/{AHAZLVQ4.js → H4HFWY3H.js} +2 -2
  118. package/dist/cdn/{ERJKLBV2.js → H72WOGJ7.js} +2 -2
  119. package/dist/cdn/{MGVUU433.js → HCCTS5WV.js} +2 -2
  120. package/dist/cdn/{HQGW6OLO.js → HKKUMEH5.js} +1 -1
  121. package/dist/cdn/{DLYWKQDY.js → HM7EBFPG.js} +2 -2
  122. package/dist/cdn/{JI7QBF2J.js → HNUCWI6T.js} +2 -2
  123. package/dist/cdn/{XIXNUDIE.js → HOTDMMJJ.js} +2 -2
  124. package/dist/cdn/{EFD7INAF.js → HPUAGDRV.js} +2 -2
  125. package/dist/cdn/{FNWEYQDD.js → HR2HFJXC.js} +1 -1
  126. package/dist/cdn/HRBMV6MS.js +18 -0
  127. package/dist/cdn/HZILY6RQ.js +18 -0
  128. package/dist/cdn/{FJMY5BVP.js → I3SHQQXU.js} +2 -2
  129. package/dist/cdn/{VS4BFKL3.js → I3ZD6IV4.js} +1 -1
  130. package/dist/cdn/{NNUFXWGF.js → IAHPQU5I.js} +2 -2
  131. package/dist/cdn/{6BX7KLOB.js → IFPYTV3R.js} +1 -1
  132. package/dist/cdn/{7XCWAN5G.js → IHQISHAM.js} +2 -2
  133. package/dist/cdn/{A4H6OMJ4.js → IMFE25FS.js} +2 -2
  134. package/dist/cdn/IMYZB3YV.js +18 -0
  135. package/dist/cdn/{UDOULYDC.js → IPXTSW43.js} +2 -2
  136. package/dist/cdn/{OF36TDKR.js → IREZCPC5.js} +2 -2
  137. package/dist/cdn/{ZIBNROWW.js → IS4CHLDX.js} +2 -2
  138. package/dist/cdn/{JZNSQN5C.js → IVWP7URA.js} +2 -2
  139. package/dist/cdn/{T3FQL6TN.js → J252EEIH.js} +2 -2
  140. package/dist/cdn/{TFH7GJUO.js → JAMFZUE3.js} +2 -2
  141. package/dist/cdn/{LHUMSMJ6.js → JJJAHCRO.js} +2 -2
  142. package/dist/cdn/{5VTF2S3V.js → JMMD7YBL.js} +2 -2
  143. package/dist/cdn/{25MVNDYY.js → JOWT5YJ4.js} +2 -2
  144. package/dist/cdn/{2MGMAN6M.js → JRMGFAZK.js} +2 -2
  145. package/dist/cdn/{OHTIVF6F.js → JUVS4QTT.js} +2 -2
  146. package/dist/cdn/JYDRZHOB.js +4 -0
  147. package/dist/cdn/{NUUEBECA.js → KJOPUX6H.js} +2 -2
  148. package/dist/cdn/{YDXJCA4W.js → KQIW24JY.js} +2 -2
  149. package/dist/cdn/{EKILMPMP.js → KQPN7NFG.js} +2 -2
  150. package/dist/cdn/{4PHIBFBK.js → KUFJAMWI.js} +3 -3
  151. package/dist/cdn/{FX4GM76R.js → LG2N3IDQ.js} +2 -2
  152. package/dist/cdn/{6GCYWKFS.js → LIXHHHMQ.js} +1 -1
  153. package/dist/cdn/{HZQ2DNC7.js → LUCYOE4G.js} +2 -2
  154. package/dist/cdn/{UCX6I6GZ.js → M35TRRGF.js} +1 -1
  155. package/dist/cdn/{6EP36Y7F.js → M3L66GKK.js} +2 -2
  156. package/dist/cdn/{RMNBDS6F.js → M4VZ4CMY.js} +2 -2
  157. package/dist/cdn/{FSDJA4MR.js → M6GEH5RY.js} +2 -2
  158. package/dist/cdn/{IZG3VEFG.js → M7HD332R.js} +1 -1
  159. package/dist/cdn/{EYRRGEDQ.js → MK7N6OTA.js} +1 -1
  160. package/dist/cdn/{QEC76CAD.js → ML3FDA7I.js} +2 -2
  161. package/dist/cdn/{PKYOZYLI.js → MO5VIHBL.js} +2 -2
  162. package/dist/cdn/{A7TRZP7N.js → MTDAXKJA.js} +1 -1
  163. package/dist/cdn/{662JMFYU.js → MURI73WZ.js} +2 -2
  164. package/dist/cdn/{YYRFIXIU.js → MVAWCLJQ.js} +2 -2
  165. package/dist/cdn/N54CIKSY.js +4 -0
  166. package/dist/cdn/{ZJO4B77W.js → N5MNRNS4.js} +2 -2
  167. package/dist/cdn/{LPDDFOTY.js → NNNUOKAQ.js} +2 -2
  168. package/dist/cdn/{ZSTVKND7.js → NTJ65ON3.js} +3 -3
  169. package/dist/cdn/NTSPFMPN.js +18 -0
  170. package/dist/cdn/{3WBD7HCV.js → O4U6ZUNI.js} +2 -2
  171. package/dist/cdn/{NUECMUNR.js → ODVL6BLS.js} +2 -2
  172. package/dist/cdn/{7ANMAQXN.js → OG4FHSPI.js} +1 -1
  173. package/dist/cdn/{2F4XUH2B.js → OGRHFK6Y.js} +2 -2
  174. package/dist/cdn/{EOIHR5PX.js → ONL3NL26.js} +2 -2
  175. package/dist/cdn/{Y4H3CA2O.js → OORGXTFY.js} +2 -2
  176. package/dist/cdn/{QSMNEUAM.js → OOX6G6UE.js} +2 -2
  177. package/dist/cdn/{HUHLOYKI.js → OQJGVRY2.js} +2 -2
  178. package/dist/cdn/{KQTQK4OJ.js → OTYGSW7W.js} +2 -2
  179. package/dist/cdn/{XPXOPI63.js → OZWDP6Y7.js} +2 -2
  180. package/dist/cdn/{EXLYOLGD.js → PGB7D5V5.js} +2 -2
  181. package/dist/cdn/{XNRVLUGL.js → PJSBBGLJ.js} +2 -2
  182. package/dist/cdn/{JMGTSAK6.js → PKKVL46F.js} +2 -2
  183. package/dist/cdn/{B34U6ISQ.js → PLTCACVO.js} +2 -2
  184. package/dist/cdn/{UEYWAQCQ.js → PNZFKJGE.js} +2 -2
  185. package/dist/cdn/PP6K5WOA.js +4 -0
  186. package/dist/cdn/{COF6OUJT.js → PSUWSWTK.js} +2 -2
  187. package/dist/cdn/{BJDRPNDP.js → PWM7PIST.js} +3 -3
  188. package/dist/cdn/{QQUJHAOI.js → Q5QONQ6T.js} +2 -2
  189. package/dist/cdn/{JMQV4UK4.js → Q66CZJP6.js} +1 -1
  190. package/dist/cdn/{JZUBI6LB.js → QBIXFYYE.js} +1 -1
  191. package/dist/cdn/{5FB3DI4G.js → QH2LKILS.js} +2 -2
  192. package/dist/cdn/{6ILYUU4G.js → QNXFXUZA.js} +2 -2
  193. package/dist/cdn/{ZWTSIAER.js → QP26HSVE.js} +1 -1
  194. package/dist/cdn/{2S6VPY6M.js → QQPQDFEM.js} +2 -2
  195. package/dist/cdn/{OIKCCXRR.js → QU55HNGY.js} +2 -2
  196. package/dist/cdn/{S7NHJP4N.js → QUCDVIOQ.js} +2 -2
  197. package/dist/cdn/{7CDY7L44.js → QVLJY52I.js} +2 -2
  198. package/dist/cdn/{PVTQGF36.js → QYU6USHT.js} +2 -2
  199. package/dist/cdn/{SJO75TT4.js → QZAU4Z6W.js} +2 -2
  200. package/dist/cdn/{V2FHJSTQ.js → R5UFCXCH.js} +2 -2
  201. package/dist/cdn/{O2PJYMGL.js → RC3IVWI3.js} +1 -1
  202. package/dist/cdn/{FAZP4TDB.js → RCDWSNVF.js} +2 -2
  203. package/dist/cdn/{RRF3ACRD.js → RIQFARZP.js} +2 -2
  204. package/dist/cdn/{ZMWBSBOD.js → RMU2WXMJ.js} +2 -2
  205. package/dist/cdn/{SXUAMVZO.js → RVTHLBJL.js} +2 -2
  206. package/dist/cdn/{HWGQUCPH.js → RWQELBMY.js} +2 -2
  207. package/dist/cdn/{RCCJWWIB.js → RYQCNLW7.js} +2 -2
  208. package/dist/cdn/{ENWJIRTW.js → S3AWAGTI.js} +2 -2
  209. package/dist/cdn/{JIYQEZGV.js → S5TXHJGZ.js} +2 -2
  210. package/dist/cdn/{JEJY27MQ.js → S6GQFWK7.js} +2 -2
  211. package/dist/cdn/{ZMPOAOPQ.js → SBX54Z43.js} +2 -2
  212. package/dist/cdn/SCOCPPIV.js +383 -0
  213. package/dist/cdn/{OA6N3UPU.js → SH3RI2GK.js} +2 -2
  214. package/dist/cdn/{5Y3YCWRM.js → SHWG5PCG.js} +2 -2
  215. package/dist/cdn/{SUWPBAZX.js → SMY4IACN.js} +2 -2
  216. package/dist/cdn/{TJ4EAB2X.js → SUSAZ65X.js} +2 -2
  217. package/dist/cdn/{ASBGMXK6.js → T6PMIZLP.js} +2 -2
  218. package/dist/cdn/{LN5LFFQL.js → TA3ZXQAF.js} +2 -2
  219. package/dist/cdn/TBU33TUJ.js +18 -0
  220. package/dist/cdn/{2JUQQJOQ.js → TENNMXGF.js} +1 -1
  221. package/dist/cdn/{YXUJQUV6.js → TIUXVXYM.js} +2 -2
  222. package/dist/cdn/{3K2JVPRP.js → TKDGIQNC.js} +2 -2
  223. package/dist/cdn/{SSP7KXPL.js → TNEFDIIG.js} +2 -2
  224. package/dist/cdn/TTDNDVCB.js +4 -0
  225. package/dist/cdn/{BT6EYE4X.js → TVGUICDI.js} +2 -2
  226. package/dist/cdn/{UKWTBSYT.js → TXB56MNF.js} +2 -2
  227. package/dist/cdn/{IKXIA6DX.js → TYVJSPBM.js} +2 -2
  228. package/dist/cdn/{B75MQOOF.js → U4LWP3KK.js} +1 -1
  229. package/dist/cdn/{RHHKJQMD.js → UCI3QQAA.js} +1 -1
  230. package/dist/cdn/{WCEI4GB5.js → UDYWBQQB.js} +2 -2
  231. package/dist/cdn/UISRG6AV.js +18 -0
  232. package/dist/cdn/{K6A5BZGW.js → UITEOOYI.js} +1 -1
  233. package/dist/cdn/{NZJICJCJ.js → UMIQ4XRZ.js} +2 -2
  234. package/dist/cdn/{5QYTBWNM.js → UR7ODANG.js} +2 -2
  235. package/dist/cdn/{R47YRNRP.js → UUY24OGE.js} +2 -2
  236. package/dist/cdn/{T5PIC2NF.js → UVRRN3AM.js} +2 -2
  237. package/dist/cdn/UZTSBHXN.js +294 -0
  238. package/dist/cdn/{HE4HDKLZ.js → V3XFBVJ2.js} +2 -2
  239. package/dist/cdn/VCL4EPUN.js +18 -0
  240. package/dist/cdn/VH4DOQZ4.js +4 -0
  241. package/dist/cdn/{6XG23GK2.js → VIRNYXF5.js} +2 -2
  242. package/dist/cdn/{42D6SGED.js → VJF6Y7HU.js} +2 -2
  243. package/dist/cdn/{JFAFRMBB.js → VLNWSZVR.js} +2 -2
  244. package/dist/cdn/{NPHCFVY5.js → VOFDMTBC.js} +2 -2
  245. package/dist/cdn/{ETUG5HUX.js → VTS75E4I.js} +2 -2
  246. package/dist/cdn/{6TTGY74E.js → VUZA56M3.js} +2 -2
  247. package/dist/cdn/{WMIMNCJL.js → VXJY4QCS.js} +2 -2
  248. package/dist/cdn/{NRBFWIU7.js → W3GV4JXP.js} +1 -1
  249. package/dist/cdn/{ND6B7H5G.js → W7HZRPHM.js} +2 -2
  250. package/dist/cdn/{QDY6ZNGH.js → W7Z3ORQY.js} +2 -2
  251. package/dist/cdn/{IGM6T5LG.js → WBAN3UIC.js} +2 -2
  252. package/dist/cdn/WBRXMEMP.js +4 -0
  253. package/dist/cdn/{U4FYJZJP.js → WCEUO2OS.js} +2 -2
  254. package/dist/cdn/{USL5VVU7.js → WCVUN6XF.js} +2 -2
  255. package/dist/cdn/{XUHIMDFC.js → WFUAPKTB.js} +2 -2
  256. package/dist/cdn/{MKX2QKK2.js → WIE3EFBI.js} +2 -2
  257. package/dist/cdn/{M7HTAQHD.js → WIVOL6CT.js} +1 -1
  258. package/dist/cdn/WN54HJON.js +4 -0
  259. package/dist/cdn/{IGGGIS6G.js → WNFUARBO.js} +2 -2
  260. package/dist/cdn/{OVCAOTN3.js → WQKEPPJH.js} +1 -1
  261. package/dist/cdn/{EGOHB7G6.js → WV2ZROZJ.js} +2 -2
  262. package/dist/cdn/{CDJIJD2S.js → WZ764LLN.js} +1 -1
  263. package/dist/cdn/{PRIAU7QU.js → WZYGUEIV.js} +2 -2
  264. package/dist/cdn/{67BKTI47.js → XFANWHPY.js} +2 -2
  265. package/dist/cdn/{BGK6GNQ2.js → XFM3FD2A.js} +2 -2
  266. package/dist/cdn/{X6CICXR6.js → XK7SWBXE.js} +2 -2
  267. package/dist/cdn/{62ZWA6O7.js → XU3KAISP.js} +1 -1
  268. package/dist/cdn/{6QV3LFXT.js → XXM424DO.js} +2 -2
  269. package/dist/cdn/{GNONOVEA.js → XYGVP2FK.js} +2 -2
  270. package/dist/cdn/{KQRJJTQ5.js → YC7HMH6M.js} +2 -2
  271. package/dist/cdn/{JGLFDJFF.js → YEFAWRXP.js} +2 -2
  272. package/dist/cdn/YMUVFR3U.js +18 -0
  273. package/dist/cdn/{U3NZPNKZ.js → YQFYU4G2.js} +2 -2
  274. package/dist/cdn/YXHSDCRJ.js +4 -0
  275. package/dist/cdn/{SL2K7YIF.js → Z3XBAPZC.js} +1 -1
  276. package/dist/cdn/{H5NKKY63.js → Z4FNCV4E.js} +2 -2
  277. package/dist/cdn/{WOW7ES6W.js → Z4WD3SG2.js} +1 -1
  278. package/dist/cdn/{ZA5MIGE2.js → ZEPG4DE3.js} +2 -2
  279. package/dist/cdn/{YBKACDGP.js → ZLTHON4G.js} +2 -2
  280. package/dist/cdn/{I75QXGU6.js → ZLU7K6TK.js} +2 -2
  281. package/dist/cdn/{757B2YT4.js → ZRLT4TEH.js} +2 -2
  282. package/dist/cdn/{FR3CBOZY.js → ZUQZHS53.js} +2 -2
  283. package/dist/cdn/{BK4BKQMD.js → ZV3QGDX6.js} +2 -2
  284. package/dist/cdn/{BQIN6I6Z.js → ZY74MRCW.js} +2 -2
  285. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +1 -1
  286. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +1 -1
  287. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.en.json +1 -1
  288. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.json +1 -1
  289. package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.en.json +1 -1
  290. package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.json +1 -1
  291. package/dist/cdn/assets/solution-deployed-card/t9n/messages.en.json +1 -1
  292. package/dist/cdn/assets/solution-deployed-card/t9n/messages.json +1 -1
  293. package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
  294. package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
  295. package/dist/cdn/assets/solution-item-accordion/t9n/messages.en.json +1 -1
  296. package/dist/cdn/assets/solution-item-accordion/t9n/messages.json +1 -1
  297. package/dist/cdn/index.js +2 -2
  298. package/dist/cdn/main.css +1 -1
  299. package/dist/chunks/Auth.js +1 -1
  300. package/dist/chunks/appConfig.js +1 -1
  301. package/dist/chunks/cardFetchingUtils.js +3 -3
  302. package/dist/chunks/common.js +1 -1
  303. package/dist/chunks/deployAppContexts.js +1 -1
  304. package/dist/chunks/downloadUtils.js +1 -1
  305. package/dist/chunks/helpers.js +6 -6
  306. package/dist/chunks/index.js +1 -1
  307. package/dist/chunks/interfaces.js +23 -23
  308. package/dist/chunks/loadModules.js +1 -1
  309. package/dist/chunks/mapViewUtils.js +6 -6
  310. package/dist/chunks/pciUtils.js +1 -1
  311. package/dist/chunks/popupUtils.js +1 -1
  312. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  313. package/dist/chunks/privilegeUtils.js +143 -28
  314. package/dist/chunks/publicNotificationStore.js +1 -1
  315. package/dist/chunks/queryUtils.js +1 -1
  316. package/dist/chunks/runtime.js +1 -1
  317. package/dist/chunks/solution-store.js +4 -4
  318. package/dist/chunks/templates.js +1 -1
  319. package/dist/chunks/useT9n.js +1 -1
  320. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  321. package/dist/components/basemap-gallery/customElement.js +1 -1
  322. package/dist/components/buffer-tools/customElement.js +1 -1
  323. package/dist/components/card-manager/customElement.js +1 -1
  324. package/dist/components/consent-manager/customElement.js +1 -1
  325. package/dist/components/create-feature/customElement.js +1 -1
  326. package/dist/components/create-related-feature/customElement.js +1 -1
  327. package/dist/components/crowdsource-manager/customElement.js +4 -4
  328. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  329. package/dist/components/deduct-calculator/customElement.js +1 -1
  330. package/dist/components/delete-button/customElement.js +1 -1
  331. package/dist/components/delete-dialog/customElement.js +1 -1
  332. package/dist/components/edit-card/customElement.js +1 -1
  333. package/dist/components/feature-details/customElement.js +1 -1
  334. package/dist/components/feature-list/customElement.js +50 -50
  335. package/dist/components/field-selection/customElement.js +1 -1
  336. package/dist/components/floor-filter/customElement.js +1 -1
  337. package/dist/components/info-card/customElement.js +1 -1
  338. package/dist/components/json-editor/customElement.js +1 -1
  339. package/dist/components/layer-list/customElement.js +1 -1
  340. package/dist/components/layer-table/customElement.js +2 -2
  341. package/dist/components/map-card/customElement.js +2 -2
  342. package/dist/components/map-draw-tools/customElement.js +2 -2
  343. package/dist/components/map-fullscreen/customElement.js +1 -1
  344. package/dist/components/map-layer-picker/customElement.js +1 -1
  345. package/dist/components/map-legend/customElement.js +1 -1
  346. package/dist/components/map-picker/customElement.js +1 -1
  347. package/dist/components/map-search/customElement.js +1 -1
  348. package/dist/components/map-select-tools/customElement.js +2 -2
  349. package/dist/components/map-tools/customElement.js +1 -1
  350. package/dist/components/pci-calculator/customElement.js +1 -1
  351. package/dist/components/pdf-download/customElement.js +1 -1
  352. package/dist/components/public-notification/customElement.js +2 -2
  353. package/dist/components/refine-selection/customElement.js +2 -2
  354. package/dist/components/selection-tool/customElement.js +1 -1
  355. package/dist/components/solution-article-card/customElement.js +1 -1
  356. package/dist/components/solution-configuration/customElement.js +1 -1
  357. package/dist/components/solution-configure-dialog/customElement.d.ts +11 -0
  358. package/dist/components/solution-configure-dialog/customElement.js +78 -30
  359. package/dist/components/solution-configure-dialog/index.d.ts +6 -0
  360. package/dist/components/solution-configure-dialog/index.js +6 -0
  361. package/dist/components/solution-configure-titles/customElement.d.ts +5 -1
  362. package/dist/components/solution-configure-titles/customElement.js +22 -19
  363. package/dist/components/solution-contents/customElement.js +1 -1
  364. package/dist/components/solution-delete-dialog/customElement.d.ts +5 -0
  365. package/dist/components/solution-delete-dialog/customElement.js +66 -42
  366. package/dist/components/solution-deploy-dialog/customElement.d.ts +7 -2
  367. package/dist/components/solution-deploy-dialog/customElement.js +83 -113
  368. package/dist/components/solution-deployed-card/customElement.d.ts +11 -0
  369. package/dist/components/solution-deployed-card/customElement.js +45 -29
  370. package/dist/components/solution-deployed-card/index.d.ts +1 -1
  371. package/dist/components/solution-deployed-card/index.js +1 -1
  372. package/dist/components/solution-deploying-dialog/customElement.d.ts +24 -0
  373. package/dist/components/solution-deploying-dialog/customElement.js +71 -0
  374. package/dist/components/solution-details-card/customElement.js +2 -2
  375. package/dist/components/solution-details-panel/customElement.d.ts +1 -1
  376. package/dist/components/solution-details-panel/customElement.js +167 -76
  377. package/dist/components/solution-details-panel/index.d.ts +6 -0
  378. package/dist/components/solution-details-panel/index.js +6 -0
  379. package/dist/components/solution-item/customElement.js +1 -1
  380. package/dist/components/solution-item-accordion/customElement.d.ts +8 -6
  381. package/dist/components/solution-item-accordion/customElement.js +19 -11
  382. package/dist/components/solution-item-accordion/index.d.ts +1 -0
  383. package/dist/components/solution-item-accordion/index.js +1 -0
  384. package/dist/components/solution-item-details/customElement.js +1 -1
  385. package/dist/components/solution-item-diagram/customElement.d.ts +0 -1
  386. package/dist/components/solution-item-diagram/customElement.js +63 -66
  387. package/dist/components/solution-item-icon/customElement.d.ts +1 -1
  388. package/dist/components/solution-item-icon/customElement.js +1 -1
  389. package/dist/components/solution-item-sharing/customElement.js +1 -1
  390. package/dist/components/solution-organization-variables/customElement.js +1 -1
  391. package/dist/components/solution-resource-item/customElement.js +2 -2
  392. package/dist/components/solution-snapshot-gallery/customElement.d.ts +0 -5
  393. package/dist/components/solution-snapshot-gallery/customElement.js +14 -14
  394. package/dist/components/solution-spatial-ref/customElement.js +14 -14
  395. package/dist/components/solution-template-data/customElement.js +1 -1
  396. package/dist/components/solution-variables/customElement.js +1 -1
  397. package/dist/components/solutions-all-panel/customElement.js +35 -102
  398. package/dist/components/solutions-all-shell/customElement.d.ts +0 -2
  399. package/dist/components/solutions-all-shell/customElement.js +23 -41
  400. package/dist/components/solutions-article-panel/customElement.js +1 -1
  401. package/dist/components/solutions-articles/customElement.js +11 -14
  402. package/dist/components/solutions-articles-shell/customElement.js +13 -16
  403. package/dist/components/solutions-deployed-panel/customElement.d.ts +9 -8
  404. package/dist/components/solutions-deployed-panel/customElement.js +39 -26
  405. package/dist/components/solutions-deployed-shell/customElement.d.ts +0 -1
  406. package/dist/components/solutions-deployed-shell/customElement.js +23 -41
  407. package/dist/components/solutions-filter-panel/customElement.js +16 -19
  408. package/dist/components/spatial-ref/customElement.js +1 -1
  409. package/dist/components/store-manager/customElement.js +1 -1
  410. package/dist/docs/api.json +328 -65
  411. package/dist/docs/docs.json +318 -56
  412. package/dist/docs/vscode.html-custom-data.json +26 -10
  413. package/dist/docs/web-types.json +103 -31
  414. package/dist/index.d.ts +18 -4
  415. package/dist/index.js +1 -1
  416. package/dist/loader.js +8 -8
  417. package/dist/types/lumina.d.ts +10 -9
  418. package/dist/types/preact.d.ts +11 -10
  419. package/dist/types/react.d.ts +12 -11
  420. package/dist/types/stencil.d.ts +10 -9
  421. package/dist/utils/interfaces.d.ts +10 -0
  422. package/dist/utils/privilegeUtils.d.ts +7 -0
  423. package/package.json +1 -1
  424. package/dist/cdn/26CFA6NB.js +0 -289
  425. package/dist/cdn/2H7MTCHN.js +0 -18
  426. package/dist/cdn/2TLBO4KI.js +0 -18
  427. package/dist/cdn/36DIJFDW.js +0 -18
  428. package/dist/cdn/374EIYTN.js +0 -18
  429. package/dist/cdn/5JPHH76I.js +0 -4
  430. package/dist/cdn/7QEYVLH4.js +0 -20
  431. package/dist/cdn/7VB4EGOH.js +0 -18
  432. package/dist/cdn/AGKANRB2.js +0 -4
  433. package/dist/cdn/B6P5GUKS.js +0 -18
  434. package/dist/cdn/CYFSOW6X.js +0 -18
  435. package/dist/cdn/DT6LXM6J.js +0 -4
  436. package/dist/cdn/E5MMH3QZ.js +0 -18
  437. package/dist/cdn/F4YYWP73.js +0 -18
  438. package/dist/cdn/F7LDLM6P.js +0 -4
  439. package/dist/cdn/FJG2Y4MT.js +0 -18
  440. package/dist/cdn/I2QMTG55.js +0 -4
  441. package/dist/cdn/KJL5HNOR.js +0 -4
  442. package/dist/cdn/KJOKXQZU.js +0 -18
  443. package/dist/cdn/L36YOWRK.js +0 -4
  444. package/dist/cdn/METZPEKO.js +0 -18
  445. package/dist/cdn/MMLZ4JEL.js +0 -4
  446. package/dist/cdn/OW7UYJ4J.js +0 -4
  447. package/dist/cdn/PQAE7N6I.js +0 -4
  448. package/dist/cdn/QZN2ALHA.js +0 -4
  449. package/dist/cdn/T3TRA4FC.js +0 -369
  450. package/dist/cdn/T6ANMRE3.js +0 -18
  451. package/dist/cdn/UYB7XUC7.js +0 -18
  452. package/dist/cdn/X24JTDBX.js +0 -18
  453. package/dist/cdn/YGDA57Y2.js +0 -18
  454. package/dist/cdn/Z4655QBA.js +0 -4
  455. package/dist/components/solution-deploying-panel/customElement.d.ts +0 -12
  456. package/dist/components/solution-deploying-panel/customElement.js +0 -77
  457. /package/dist/cdn/assets/{solution-deploying-panel → solution-deploying-dialog}/t9n/messages.en.json +0 -0
  458. /package/dist/cdn/assets/{solution-deploying-panel → solution-deploying-dialog}/t9n/messages.json +0 -0
  459. /package/dist/components/{solution-deploying-panel → solution-deploying-dialog}/index.d.ts +0 -0
  460. /package/dist/components/{solution-deploying-panel → solution-deploying-dialog}/index.js +0 -0
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.3 */
4
- import{e as P}from"./3U5MCBML.js";import{A as R,C,D as L,d as k,e as y}from"./ZWTSIAER.js";import"./ICTEUNHA.js";import{a as S,c as e,d as E,e as $}from"./QEC76CAD.js";import"./K6A5BZGW.js";var j=":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-ui-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 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 0.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:#000000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#ffffff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1% 5%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px 0}: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:bold;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 0.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)}",Z=j,o="instant-apps-social-share",I=".calcite-mode-dark",a={base:o,dialog:`${o}__dialog`,dialogEmbed:`${o}__dialog-embed`,dialogContent:`${o}__dialog-content`,options:`${o}__options`,tipContainer:`${o}__tip`,tipHeader:`${o}__tip-header`,tipContent:`${o}__tip-content`,icon:`${o}__icon`,iconContainer:`${o}__icon-container`,optionText:`${o}__option-text`,popoverButton:`${o}__popover-button`,layout:{vertical:`${o}__layout--vertical`,horizontal:`${o}__layout--horizontal`},xLogo:{light:`${o}__x-logo--light`,dark:`${o}__x-logo--dark`},success:{container:`${o}__success`,header:`${o}__success-header`,message:`${o}__success-message`,icon:`${o}__success-icon`},embed:{container:`${o}__embed`,header:`${o}__embed-header`,embedCode:{container:`${o}__embed-code`,textArea:`${o}__embed-code-text-area`,copyButton:`${o}__embed-code-copy-button`},textAreaText:`${o}__embed-text-area-text`,dimensions:{container:`${o}__embed-dimensions`,input:`${o}__embed-dimensions-input`}},rtl:{optionText:`${o}__option-text--rtl`,textArea:`${o}__text-area--rtl`}},q={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}"},G="https://arcg.is/prod/shorten",T="1",X=class{constructor(t){S(this,t),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.view=void 0,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,this.messages=void 0,this.opened=!1,this.copied=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600}componentDidLoad(){this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice(),P(this),this.setupAutoCloseListeners(),this.mode==="popover"&&!this.isNativeShareEnabled&&(this.opened&&(this.popoverRef.open=!0),this.popoverRef.addEventListener("calcitePopoverOpen",()=>{if(!this.shareListRef)return;this.shareListRef.children[0].focus()}),this.popoverRef.addEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))),this.embed&&!this.isNativeShareEnabled&&(this.embedWidthRef?.addEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.addEventListener("change",this.updateDimensions.bind(this,"height")))}disconnectedCallback(){document.documentElement.removeEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?this.popoverRef!=null&&(this.popoverRef.removeEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef.removeEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this)),this.popoverRef.removeEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))):(this.embedWidthRef?.removeEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.removeEventListener("change",this.updateDimensions.bind(this,"height")),this.dialogContentRef?.removeEventListener("click",this.stopPropagationCallback.bind(this)))}setupAutoCloseListeners(){document.documentElement.addEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?(this.popoverRef?.addEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef?.addEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this))):this.dialogContentRef?.addEventListener("click",this.stopPropagationCallback.bind(this))}handlePopoverRefKeyDown(t){if(!this.isNativeShareEnabled)if(t.code==="Tab"){if(!this.shareListRef)return;let s=t.target,i=this.shareListRef.children[0],r=this.shareListRef.children[this.shareListRef.children.length-1];t.shiftKey&&s===i?(t.preventDefault(),r.focus()):!t.shiftKey&&s===r&&(t.preventDefault(),i.focus())}else t.code==="Escape"&&(this.closePopover(),this.popoverButtonRef?.setFocus())}autoCloseCallback(){this.mode==="popover"?(this.opened=!1,this.popoverRef.open=this.opened):(this.copyLinkPopoverRef&&(this.copyLinkPopoverRef.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef&&(this.copyEmbedPopoverRef.open=!1),this.inlineCopyEmbedOpened=!1)}stopPropagationCallback(t){t.stopPropagation()}resetPopoverCopyState(){this.popoverButtonRef?.setFocus(),setTimeout(()=>{this.copied=!1},200)}updateDimensions(t){if(t==="width"){let s=this.embedWidthRef?.value??"0";this.embedWidth=Number.parseInt(s)}else{let s=this.embedHeightRef?.value??"0";this.embedHeight=Number.parseInt(s)}}render(){let t=this.copied&&this.mode==="popover"?this.renderSuccess():e("div",{class:a.dialogContent},this.renderOptions(),this.displayTipText?this.renderTip():null,this.embed?this.renderEmbed():null),s=this.shareIconsLayout==="vertical"?` ${a.layout.vertical}`:` ${a.layout.horizontal}`,i=` calcite-mode-${this.el.closest(I)?"dark":"light"}`,r=e("div",{key:"28cd0fbc9f67a770aa7b060119daadc755016c50",ref:n=>this.dialogContentRef=n,class:`${a.dialog}${s}${i}`},t),h=this.removePopoverOffset?0:6;return e(E,{key:"6a12464d22a64daa885e29f0fad2dce2dc22d4ec"},this.isNativeShareEnabled?this.renderButton():this.mode==="popover"?[e("calcite-popover",{ref:n=>{n&&(this.popoverRef=n)},label:this.messages?.share?.label??"",referenceElement:"shareButton",placement:"bottom-start",scale:this.scale,"overlay-positioning":this.popoverPositioning,"offset-distance":h,"pointer-disabled":this.removePopoverOffset},r),this.renderButton()]:[r,e("calcite-popover",{ref:n=>{n&&(this.copyLinkPopoverRef=n)},label:this.messages?.share?.label??"",referenceElement:"copyToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderSuccess()),e("calcite-popover",{ref:n=>{n&&(this.copyEmbedPopoverRef=n)},label:this.messages?.share?.label??"",referenceElement:"copyEmbedToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderEmbedSuccess())])}renderButton(){let t={onClick:i=>{this.isNativeShareEnabled?(i.stopPropagation(),this.handleShareItem("native-share")):this.togglePopover(i)},id:"shareButton",class:a.popoverButton,label:this.messages?.share?.label,title:this.messages?.share?.label,scale:this.shareButtonScale??this.scale},s=e("div",{class:a.iconContainer},e("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale}));return this.shareButtonType==="button"?e("calcite-button",{ref:i=>{!this.isNativeShareEnabled&&i&&(this.popoverButtonRef=i)},...t,kind:this.shareButtonColor,appearance:"transparent"},s):e("calcite-action",{ref:i=>{!this.isNativeShareEnabled&&i&&(this.popoverButtonRef=i)},...t,appearance:"transparent",text:"",alignment:"center"},s)}renderSuccess(){let t=this.messages?.success;return e("div",{class:a.success.container},e("span",{class:a.success.header},e("span",{class:a.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:a.success.message},this.successMessage||t?.url))}renderEmbedSuccess(){let t=this.messages?.success;return e("div",{class:a.success.container},e("span",{class:a.success.header},e("span",{class:a.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:a.success.message},t?.embed))}renderOptions(){let t=this.messages?.options,s=document.dir==="rtl"?` ${a.rtl.optionText}`:"";return e("ul",{ref:i=>this.shareListRef=i,class:a.options,role:"menu"},e("li",{id:"copyToClipboard",onClick:this.handleShareItem.bind(this,"link"),onKeyDown:this.handleOptionKeyDown("link"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},e("calcite-icon",{icon:"link",scale:this.scale})),e("span",{class:`${a.optionText}${s}`},t?.link?.label)),this.socialMedia?[e("li",{onClick:this.handleShareItem.bind(this,"facebook"),onKeyDown:this.handleOptionKeyDown("facebook"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},this.renderFacebookIcon()),e("span",{class:`${a.optionText}${s}`},t?.facebook?.label)),e("li",{onClick:this.handleShareItem.bind(this,"x"),onKeyDown:this.handleOptionKeyDown("x"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},this.renderXIcon()),e("span",{class:`${a.optionText}${s}`},"X")),e("li",{onClick:this.handleShareItem.bind(this,"linkedIn"),onKeyDown:this.handleOptionKeyDown("linkedIn"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},this.renderLinkedInIcon()),e("span",{class:`${a.optionText}${s}`},t?.linkedIn?.label)),e("li",{onClick:this.handleShareItem.bind(this,"bluesky"),onKeyDown:this.handleOptionKeyDown("bluesky"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},this.renderBlueSkyIcon()),e("span",{class:`${a.optionText}${s}`},t?.blueSky?.label))]:null)}handleOptionKeyDown(t){return s=>{let i=s.code;(i==="Space"||i==="Enter")&&this.handleShareItem(t)}}renderFacebookIcon(){return e("svg",{height:"100%",style:{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"},e("g",null,e("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:{fill:"#1877f2",fillRule:"nonzero"}}),e("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:{fill:"#fff",fillRule:"nonzero"}})))}renderXIcon(){let t=!!this.el.closest(I);return e("svg",{height:"100%",class:t?a.xLogo.dark:a.xLogo.light,viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("rect",{height:"400",style:{fill:"none"},width:"400",x:"56",y:"56"}),e("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:t?"white":"black"}))}renderBlueSkyIcon(){return e("svg",{height:"100%",fill:"#0f85fe",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e("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"}))}renderLinkedInIcon(){return e("svg",{height:"100%",style:{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"},e("g",{id:"g5891"},e("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:{fill:"#2867b2"}}),e("g",{id:"shapes"},e("rect",{height:"257.962",id:"rect11",style:{fill:"#fff"},width:"85.76",x:"61.053",y:"178.667"}),e("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:{fill:"#fff",fillRule:"nonzero"}}),e("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:{fill:"#fff",fillRule:"nonzero"}}))))}renderTip(){let t=this.messages?.info;return e("div",{class:a.tipContainer},e("span",{class:a.tipHeader},e("calcite-icon",{icon:"lightbulb",scale:this.scale}),e("span",null,t?.label)),e("p",{class:a.tipContent},t?.tooltip))}renderEmbed(){let t=this.messages?.embed,s=document.dir==="rtl"?` ${a.rtl.textArea}`:"";return e("div",{class:a.embed.container},e("span",{class:a.embed.header},e("calcite-icon",{icon:"code",scale:this.scale}),e("span",null,this.messages?.embed?.label)),e("div",{class:a.embed.embedCode.container},e("div",{class:a.embed.embedCode.textArea},e("textarea",{ref:i=>this.embedCodeRef=i,cols:30,rows:5,readonly:!0,class:s,value:this.getEmbedCode()}),e("button",{id:"copyEmbedToClipboard",onClick:this.copyEmbedCode.bind(this),class:a.embed.embedCode.copyButton},e("calcite-icon",{icon:"copy",scale:this.scale}),e("span",null,t?.copy))),e("span",{class:a.embed.textAreaText},e("slot",{name:"text-area-text"})),e("div",{class:a.embed.dimensions.container},e("label",{class:a.embed.dimensions.input},e("span",null,t?.width),e("input",{ref:i=>this.embedWidthRef=i,type:"number",onKeyDown:i=>["e","E","+","-"].includes(i.key)&&i.preventDefault(),onChange:this.handleNumberInputOnChange("width"),value:this.embedWidth,min:"1"})),e("label",{class:a.embed.dimensions.input},e("span",null,t?.height),e("input",{ref:i=>this.embedHeightRef=i,type:"number",onKeyDown:i=>["e","E","+","-"].includes(i.key)&&i.preventDefault(),onChange:this.handleNumberInputOnChange("height"),value:this.embedHeight,min:"1"})))))}handleNumberInputOnChange(t){let s=t==="width"?this.embedWidthRef:this.embedHeightRef,i=t==="width"?"embedWidth":"embedHeight";return()=>{s&&Number.parseFloat(s.value)<=0&&(this[i]=Number.parseInt(T),s.value=T)}}togglePopover(t){t.stopPropagation(),this.opened=!this.opened,this.popoverRef.open=this.opened}closePopover(){this.opened=!1,this.popoverRef.open=this.opened}async handleShareItem(t){this.shareUrl=await this.generateShareUrl();let s=null,i=navigator?.userAgent?.includes("Chrome")??!1,r=(navigator?.userAgent?.includes("Safari")??!1)&&!i;!r&&this.shortenShareUrl&&(s=await this.shortenUrl(this.shareUrl));let c=s||this.shareUrl;switch(t){case"link":navigator.clipboard.writeText(c),this.embed&&(this.copyEmbedPopoverRef.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&(this.copyLinkPopoverRef.open=!0,setTimeout(()=>this.copyLinkPopoverRef.open=!1,3e3)),this.inlineCopyLinkOpened=!0,this.copied=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let n;r&&(n=window.open("","_blank"),this.shortenShareUrl&&(c=await this.shortenUrl(this.shareUrl)||c));let p={url:encodeURI(c)},b=t==="x"?{...p,text:this.shareText}:p,f=(await C()).substitute(q[t],b);this.mode==="popover"&&this.closePopover(),r&&n?(n.location=f,n.focus()):window.open(encodeURI(f),"_blank")}break;case"native-share":let h={title:this.messages?.share?.label||"Share",text:this.shareText,url:encodeURI(c)};navigator?.canShare(h)?navigator.share(h).catch(n=>{console.error("Error using native share:",n)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(t){let r=(await(await L())(G,{query:{longUrl:t,f:"json"}}))?.data?.data?.url;if(r)return r.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}copyEmbedCode(){navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.open=!1,this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.open=!0,setTimeout(()=>this.copyEmbedPopoverRef.open=!1,3e3),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:t,y:s}=this.view.center,{spatialReference:i}=this.view,r=await y({...i.toJSON()}),c=await k({x:t,y:s,spatialReference:r}),h=await this.processPoint(c),{isWGS84:n,isWebMercator:p}=h.spatialReference,b=n||p;return this.generateShareUrlParams(h,b)}async processPoint(t){let{isWGS84:s,isWebMercator:i}=t.spatialReference;if(s||i)return t;let r=await R(),c=await y({wkid:4326}),h=this.view?.spatialReference??c;try{await r.load();let n=r.execute(t,h);return Promise.resolve(n)}catch(n){console.error("Failed to project point to outSpatialReference",n);try{let p=r.execute(t,c);return Promise.resolve(p)}catch(p){return console.error("Failed to project point to fallbackOutSpatialReference",p),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(t,s){let{longitude:i,latitude:r,x:c,y:h}=t;if(i===void 0||r===void 0)return this.shareUrl;let n=this.roundValue(s?i:c),p=this.roundValue(s?r:h),{zoom:b}=this.view,w=this.roundValue(b),f=this.view?.popup?.selectedFeature,z=this.view?.popup?.visible,g,v,_;if(f&&z&&f?.layer?.type==="feature"){let u=f?.layer;g=u?.id,v=f.attributes[u.objectIdField]}_=this.view.map?.allLayers.filter(u=>!u.visible).toArray().map(u=>u.id).toString().replaceAll(",",";");let{type:U}=this.view,{defaultUrlParams:m}=this,l=new URL(this.shareUrl),{searchParams:d}=l;if(d.get("center")&&d.delete("center"),d.get("level")&&d.delete("level"),d.get("selectedFeature")&&d.delete("selectedFeature"),d.get("hiddenLayers")&&d.delete("hiddenLayers"),d.get("viewpoint")&&d.delete("viewpoint"),U==="3d"){let{camera:u}=this.view,{heading:D,position:O,tilt:B}=u,{longitude:A,latitude:H,x:M,y:N,z:F}=O,K=s?A:M,W=s?H:N,x={longitude:this.roundValue(K,8),latitude:this.roundValue(W,8),z:this.roundValue(F,3),heading:this.roundValue(D,3),tilt:this.roundValue(B,3)},V=`cam:${x.longitude},${x.latitude},${x.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${x.heading},${x.tilt}`;return m?.viewpoint!==!1&&l.searchParams.set("viewpoint",V),g&&v&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${v}`),_&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",_),l.search=decodeURIComponent(l.search),l.href}return m?.center!==!1&&l.searchParams.set("center",`${n};${p}`),m?.level!==!1&&l.searchParams.set("level",`${w}`),g&&v&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${v}`),_&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",_),l.search=decodeURIComponent(l.search),l.href}roundValue(t,s=4){return Number.parseFloat(t.toFixed(s))}isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}get el(){return $(this)}};X.style=Z;export{X as instant_apps_social_share};
3
+ v1.0.5 */
4
+ import{e as P}from"./25JM7WUJ.js";import{A as R,C,D as L,d as k,e as y}from"./QP26HSVE.js";import"./H3FM5UM6.js";import{a as S,c as e,d as E,e as $}from"./ML3FDA7I.js";import"./UITEOOYI.js";var j=":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-ui-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 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 0.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:#000000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#ffffff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1% 5%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px 0}: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:bold;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 0.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)}",Z=j,o="instant-apps-social-share",I=".calcite-mode-dark",a={base:o,dialog:`${o}__dialog`,dialogEmbed:`${o}__dialog-embed`,dialogContent:`${o}__dialog-content`,options:`${o}__options`,tipContainer:`${o}__tip`,tipHeader:`${o}__tip-header`,tipContent:`${o}__tip-content`,icon:`${o}__icon`,iconContainer:`${o}__icon-container`,optionText:`${o}__option-text`,popoverButton:`${o}__popover-button`,layout:{vertical:`${o}__layout--vertical`,horizontal:`${o}__layout--horizontal`},xLogo:{light:`${o}__x-logo--light`,dark:`${o}__x-logo--dark`},success:{container:`${o}__success`,header:`${o}__success-header`,message:`${o}__success-message`,icon:`${o}__success-icon`},embed:{container:`${o}__embed`,header:`${o}__embed-header`,embedCode:{container:`${o}__embed-code`,textArea:`${o}__embed-code-text-area`,copyButton:`${o}__embed-code-copy-button`},textAreaText:`${o}__embed-text-area-text`,dimensions:{container:`${o}__embed-dimensions`,input:`${o}__embed-dimensions-input`}},rtl:{optionText:`${o}__option-text--rtl`,textArea:`${o}__text-area--rtl`}},q={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}"},G="https://arcg.is/prod/shorten",T="1",X=class{constructor(t){S(this,t),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.view=void 0,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,this.messages=void 0,this.opened=!1,this.copied=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600}componentDidLoad(){this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice(),P(this),this.setupAutoCloseListeners(),this.mode==="popover"&&!this.isNativeShareEnabled&&(this.opened&&(this.popoverRef.open=!0),this.popoverRef.addEventListener("calcitePopoverOpen",()=>{if(!this.shareListRef)return;this.shareListRef.children[0].focus()}),this.popoverRef.addEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))),this.embed&&!this.isNativeShareEnabled&&(this.embedWidthRef?.addEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.addEventListener("change",this.updateDimensions.bind(this,"height")))}disconnectedCallback(){document.documentElement.removeEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?this.popoverRef!=null&&(this.popoverRef.removeEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef.removeEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this)),this.popoverRef.removeEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))):(this.embedWidthRef?.removeEventListener("change",this.updateDimensions.bind(this,"width")),this.embedHeightRef?.removeEventListener("change",this.updateDimensions.bind(this,"height")),this.dialogContentRef?.removeEventListener("click",this.stopPropagationCallback.bind(this)))}setupAutoCloseListeners(){document.documentElement.addEventListener("click",this.autoCloseCallback.bind(this)),this.mode==="popover"?(this.popoverRef?.addEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef?.addEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this))):this.dialogContentRef?.addEventListener("click",this.stopPropagationCallback.bind(this))}handlePopoverRefKeyDown(t){if(!this.isNativeShareEnabled)if(t.code==="Tab"){if(!this.shareListRef)return;let s=t.target,i=this.shareListRef.children[0],r=this.shareListRef.children[this.shareListRef.children.length-1];t.shiftKey&&s===i?(t.preventDefault(),r.focus()):!t.shiftKey&&s===r&&(t.preventDefault(),i.focus())}else t.code==="Escape"&&(this.closePopover(),this.popoverButtonRef?.setFocus())}autoCloseCallback(){this.mode==="popover"?(this.opened=!1,this.popoverRef.open=this.opened):(this.copyLinkPopoverRef&&(this.copyLinkPopoverRef.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef&&(this.copyEmbedPopoverRef.open=!1),this.inlineCopyEmbedOpened=!1)}stopPropagationCallback(t){t.stopPropagation()}resetPopoverCopyState(){this.popoverButtonRef?.setFocus(),setTimeout(()=>{this.copied=!1},200)}updateDimensions(t){if(t==="width"){let s=this.embedWidthRef?.value??"0";this.embedWidth=Number.parseInt(s)}else{let s=this.embedHeightRef?.value??"0";this.embedHeight=Number.parseInt(s)}}render(){let t=this.copied&&this.mode==="popover"?this.renderSuccess():e("div",{class:a.dialogContent},this.renderOptions(),this.displayTipText?this.renderTip():null,this.embed?this.renderEmbed():null),s=this.shareIconsLayout==="vertical"?` ${a.layout.vertical}`:` ${a.layout.horizontal}`,i=` calcite-mode-${this.el.closest(I)?"dark":"light"}`,r=e("div",{key:"28cd0fbc9f67a770aa7b060119daadc755016c50",ref:n=>this.dialogContentRef=n,class:`${a.dialog}${s}${i}`},t),h=this.removePopoverOffset?0:6;return e(E,{key:"6a12464d22a64daa885e29f0fad2dce2dc22d4ec"},this.isNativeShareEnabled?this.renderButton():this.mode==="popover"?[e("calcite-popover",{ref:n=>{n&&(this.popoverRef=n)},label:this.messages?.share?.label??"",referenceElement:"shareButton",placement:"bottom-start",scale:this.scale,"overlay-positioning":this.popoverPositioning,"offset-distance":h,"pointer-disabled":this.removePopoverOffset},r),this.renderButton()]:[r,e("calcite-popover",{ref:n=>{n&&(this.copyLinkPopoverRef=n)},label:this.messages?.share?.label??"",referenceElement:"copyToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderSuccess()),e("calcite-popover",{ref:n=>{n&&(this.copyEmbedPopoverRef=n)},label:this.messages?.share?.label??"",referenceElement:"copyEmbedToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale,overlayPositioning:"fixed"},this.renderEmbedSuccess())])}renderButton(){let t={onClick:i=>{this.isNativeShareEnabled?(i.stopPropagation(),this.handleShareItem("native-share")):this.togglePopover(i)},id:"shareButton",class:a.popoverButton,label:this.messages?.share?.label,title:this.messages?.share?.label,scale:this.shareButtonScale??this.scale},s=e("div",{class:a.iconContainer},e("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale}));return this.shareButtonType==="button"?e("calcite-button",{ref:i=>{!this.isNativeShareEnabled&&i&&(this.popoverButtonRef=i)},...t,kind:this.shareButtonColor,appearance:"transparent"},s):e("calcite-action",{ref:i=>{!this.isNativeShareEnabled&&i&&(this.popoverButtonRef=i)},...t,appearance:"transparent",text:"",alignment:"center"},s)}renderSuccess(){let t=this.messages?.success;return e("div",{class:a.success.container},e("span",{class:a.success.header},e("span",{class:a.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:a.success.message},this.successMessage||t?.url))}renderEmbedSuccess(){let t=this.messages?.success;return e("div",{class:a.success.container},e("span",{class:a.success.header},e("span",{class:a.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),t?.label),e("span",{class:a.success.message},t?.embed))}renderOptions(){let t=this.messages?.options,s=document.dir==="rtl"?` ${a.rtl.optionText}`:"";return e("ul",{ref:i=>this.shareListRef=i,class:a.options,role:"menu"},e("li",{id:"copyToClipboard",onClick:this.handleShareItem.bind(this,"link"),onKeyDown:this.handleOptionKeyDown("link"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},e("calcite-icon",{icon:"link",scale:this.scale})),e("span",{class:`${a.optionText}${s}`},t?.link?.label)),this.socialMedia?[e("li",{onClick:this.handleShareItem.bind(this,"facebook"),onKeyDown:this.handleOptionKeyDown("facebook"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},this.renderFacebookIcon()),e("span",{class:`${a.optionText}${s}`},t?.facebook?.label)),e("li",{onClick:this.handleShareItem.bind(this,"x"),onKeyDown:this.handleOptionKeyDown("x"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},this.renderXIcon()),e("span",{class:`${a.optionText}${s}`},"X")),e("li",{onClick:this.handleShareItem.bind(this,"linkedIn"),onKeyDown:this.handleOptionKeyDown("linkedIn"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},this.renderLinkedInIcon()),e("span",{class:`${a.optionText}${s}`},t?.linkedIn?.label)),e("li",{onClick:this.handleShareItem.bind(this,"bluesky"),onKeyDown:this.handleOptionKeyDown("bluesky"),role:"menuitem",tabindex:"0"},e("span",{class:a.icon},this.renderBlueSkyIcon()),e("span",{class:`${a.optionText}${s}`},t?.blueSky?.label))]:null)}handleOptionKeyDown(t){return s=>{let i=s.code;(i==="Space"||i==="Enter")&&this.handleShareItem(t)}}renderFacebookIcon(){return e("svg",{height:"100%",style:{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"},e("g",null,e("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:{fill:"#1877f2",fillRule:"nonzero"}}),e("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:{fill:"#fff",fillRule:"nonzero"}})))}renderXIcon(){let t=!!this.el.closest(I);return e("svg",{height:"100%",class:t?a.xLogo.dark:a.xLogo.light,viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("rect",{height:"400",style:{fill:"none"},width:"400",x:"56",y:"56"}),e("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:t?"white":"black"}))}renderBlueSkyIcon(){return e("svg",{height:"100%",fill:"#0f85fe",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e("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"}))}renderLinkedInIcon(){return e("svg",{height:"100%",style:{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"},e("g",{id:"g5891"},e("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:{fill:"#2867b2"}}),e("g",{id:"shapes"},e("rect",{height:"257.962",id:"rect11",style:{fill:"#fff"},width:"85.76",x:"61.053",y:"178.667"}),e("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:{fill:"#fff",fillRule:"nonzero"}}),e("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:{fill:"#fff",fillRule:"nonzero"}}))))}renderTip(){let t=this.messages?.info;return e("div",{class:a.tipContainer},e("span",{class:a.tipHeader},e("calcite-icon",{icon:"lightbulb",scale:this.scale}),e("span",null,t?.label)),e("p",{class:a.tipContent},t?.tooltip))}renderEmbed(){let t=this.messages?.embed,s=document.dir==="rtl"?` ${a.rtl.textArea}`:"";return e("div",{class:a.embed.container},e("span",{class:a.embed.header},e("calcite-icon",{icon:"code",scale:this.scale}),e("span",null,this.messages?.embed?.label)),e("div",{class:a.embed.embedCode.container},e("div",{class:a.embed.embedCode.textArea},e("textarea",{ref:i=>this.embedCodeRef=i,cols:30,rows:5,readonly:!0,class:s,value:this.getEmbedCode()}),e("button",{id:"copyEmbedToClipboard",onClick:this.copyEmbedCode.bind(this),class:a.embed.embedCode.copyButton},e("calcite-icon",{icon:"copy",scale:this.scale}),e("span",null,t?.copy))),e("span",{class:a.embed.textAreaText},e("slot",{name:"text-area-text"})),e("div",{class:a.embed.dimensions.container},e("label",{class:a.embed.dimensions.input},e("span",null,t?.width),e("input",{ref:i=>this.embedWidthRef=i,type:"number",onKeyDown:i=>["e","E","+","-"].includes(i.key)&&i.preventDefault(),onChange:this.handleNumberInputOnChange("width"),value:this.embedWidth,min:"1"})),e("label",{class:a.embed.dimensions.input},e("span",null,t?.height),e("input",{ref:i=>this.embedHeightRef=i,type:"number",onKeyDown:i=>["e","E","+","-"].includes(i.key)&&i.preventDefault(),onChange:this.handleNumberInputOnChange("height"),value:this.embedHeight,min:"1"})))))}handleNumberInputOnChange(t){let s=t==="width"?this.embedWidthRef:this.embedHeightRef,i=t==="width"?"embedWidth":"embedHeight";return()=>{s&&Number.parseFloat(s.value)<=0&&(this[i]=Number.parseInt(T),s.value=T)}}togglePopover(t){t.stopPropagation(),this.opened=!this.opened,this.popoverRef.open=this.opened}closePopover(){this.opened=!1,this.popoverRef.open=this.opened}async handleShareItem(t){this.shareUrl=await this.generateShareUrl();let s=null,i=navigator?.userAgent?.includes("Chrome")??!1,r=(navigator?.userAgent?.includes("Safari")??!1)&&!i;!r&&this.shortenShareUrl&&(s=await this.shortenUrl(this.shareUrl));let c=s||this.shareUrl;switch(t){case"link":navigator.clipboard.writeText(c),this.embed&&(this.copyEmbedPopoverRef.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&(this.copyLinkPopoverRef.open=!0,setTimeout(()=>this.copyLinkPopoverRef.open=!1,3e3)),this.inlineCopyLinkOpened=!0,this.copied=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let n;r&&(n=window.open("","_blank"),this.shortenShareUrl&&(c=await this.shortenUrl(this.shareUrl)||c));let p={url:encodeURI(c)},b=t==="x"?{...p,text:this.shareText}:p,f=(await C()).substitute(q[t],b);this.mode==="popover"&&this.closePopover(),r&&n?(n.location=f,n.focus()):window.open(encodeURI(f),"_blank")}break;case"native-share":let h={title:this.messages?.share?.label||"Share",text:this.shareText,url:encodeURI(c)};navigator?.canShare(h)?navigator.share(h).catch(n=>{console.error("Error using native share:",n)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(t){let r=(await(await L())(G,{query:{longUrl:t,f:"json"}}))?.data?.data?.url;if(r)return r.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}copyEmbedCode(){navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.open=!1,this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.open=!0,setTimeout(()=>this.copyEmbedPopoverRef.open=!1,3e3),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:t,y:s}=this.view.center,{spatialReference:i}=this.view,r=await y({...i.toJSON()}),c=await k({x:t,y:s,spatialReference:r}),h=await this.processPoint(c),{isWGS84:n,isWebMercator:p}=h.spatialReference,b=n||p;return this.generateShareUrlParams(h,b)}async processPoint(t){let{isWGS84:s,isWebMercator:i}=t.spatialReference;if(s||i)return t;let r=await R(),c=await y({wkid:4326}),h=this.view?.spatialReference??c;try{await r.load();let n=r.execute(t,h);return Promise.resolve(n)}catch(n){console.error("Failed to project point to outSpatialReference",n);try{let p=r.execute(t,c);return Promise.resolve(p)}catch(p){return console.error("Failed to project point to fallbackOutSpatialReference",p),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(t,s){let{longitude:i,latitude:r,x:c,y:h}=t;if(i===void 0||r===void 0)return this.shareUrl;let n=this.roundValue(s?i:c),p=this.roundValue(s?r:h),{zoom:b}=this.view,w=this.roundValue(b),f=this.view?.popup?.selectedFeature,z=this.view?.popup?.visible,g,v,_;if(f&&z&&f?.layer?.type==="feature"){let u=f?.layer;g=u?.id,v=f.attributes[u.objectIdField]}_=this.view.map?.allLayers.filter(u=>!u.visible).toArray().map(u=>u.id).toString().replaceAll(",",";");let{type:U}=this.view,{defaultUrlParams:m}=this,l=new URL(this.shareUrl),{searchParams:d}=l;if(d.get("center")&&d.delete("center"),d.get("level")&&d.delete("level"),d.get("selectedFeature")&&d.delete("selectedFeature"),d.get("hiddenLayers")&&d.delete("hiddenLayers"),d.get("viewpoint")&&d.delete("viewpoint"),U==="3d"){let{camera:u}=this.view,{heading:D,position:O,tilt:B}=u,{longitude:A,latitude:H,x:M,y:N,z:F}=O,K=s?A:M,W=s?H:N,x={longitude:this.roundValue(K,8),latitude:this.roundValue(W,8),z:this.roundValue(F,3),heading:this.roundValue(D,3),tilt:this.roundValue(B,3)},V=`cam:${x.longitude},${x.latitude},${x.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${x.heading},${x.tilt}`;return m?.viewpoint!==!1&&l.searchParams.set("viewpoint",V),g&&v&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${v}`),_&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",_),l.search=decodeURIComponent(l.search),l.href}return m?.center!==!1&&l.searchParams.set("center",`${n};${p}`),m?.level!==!1&&l.searchParams.set("level",`${w}`),g&&v&&m?.selectedFeature!==!1&&l.searchParams.set("selectedFeature",`${g};${v}`),_&&m?.hiddenLayers!==!1&&l.searchParams.set("hiddenLayers",_),l.search=decodeURIComponent(l.search),l.href}roundValue(t,s=4){return Number.parseFloat(t.toFixed(s))}isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}get el(){return $(this)}};X.style=Z;export{X as instant_apps_social_share};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.3 */
4
- import{a as l}from"./LVGWOKF7.js";import{b as t,c as u}from"./RHHKJQMD.js";import"./K6A5BZGW.js";var m=o=>{let i=o.find(({collaborationType:n})=>n===l.anonymous),e=o.find(({collaborationType:n})=>n===l.authenticated);return[{key:"public",roles:{anonymous:{value:i?.permission||t,id:i?.id},authenticated:{value:e?.permission||t,id:e?.id}}}]},c=o=>{let i=o.reduce((e,n)=>[l.group,l.groupAdmin].includes(n.collaborationType)&&n.permission!==u.channelOwner?Object.assign(Object.assign({},e),{[n.collaborationId]:Object.assign(Object.assign({},e[n.collaborationId]),{[n.collaborationType]:n})}):e,{});return Object.entries(i).reduce((e,[n,{group:r,["group-admin"]:s}])=>[...e,{key:n,entityId:n,entityType:"group",roles:{member:{value:r?.permission||t,id:r?.id},admin:{value:s?.permission||t,id:s?.id}}}],[])},v=(o,i)=>{let e=o.reduce((r,s)=>[l.org,l.orgAdmin].includes(s.collaborationType)?Object.assign(Object.assign({},r),{[s.collaborationId]:Object.assign(Object.assign({},r[s.collaborationId]),{[s.collaborationType]:s})}):r,{}),n=Object.entries(e).reduce((r,[s,{org:a,["org-admin"]:d}])=>[...r,{key:s,entityId:s,entityType:"organization",roles:{member:{value:a?.permission||t,id:a?.id},admin:{value:d?.permission||t,id:d?.id}}}],[]);return n.length||n.push({key:i,entityId:i,entityType:"organization",roles:{member:{value:t,id:void 0},admin:{value:u.channelOwner,id:void 0}}}),n},b=o=>o.reduce((i,e)=>e.collaborationType===l.user?[...i,{key:e.collaborationId,entityId:e.collaborationId,entityType:"user",roles:{user:{value:e.permission,id:e.id}}}]:i,[]);function p(o,i){return{id:o.id,name:o.name,blockWords:o.blockWords.join(","),allowAsAnonymous:o.allowAsAnonymous,publicConfigs:m(o.permissions),orgConfigs:v(o.permissions,i.currentUser.orgId),groupConfigs:c(o.permissions),userConfigs:b(o.permissions)}}export{p as transformEntityToEditor};
3
+ v1.0.5 */
4
+ import{a as l}from"./CXOHKJLR.js";import{b as t,c as u}from"./UCI3QQAA.js";import"./UITEOOYI.js";var m=o=>{let i=o.find(({collaborationType:n})=>n===l.anonymous),e=o.find(({collaborationType:n})=>n===l.authenticated);return[{key:"public",roles:{anonymous:{value:i?.permission||t,id:i?.id},authenticated:{value:e?.permission||t,id:e?.id}}}]},c=o=>{let i=o.reduce((e,n)=>[l.group,l.groupAdmin].includes(n.collaborationType)&&n.permission!==u.channelOwner?Object.assign(Object.assign({},e),{[n.collaborationId]:Object.assign(Object.assign({},e[n.collaborationId]),{[n.collaborationType]:n})}):e,{});return Object.entries(i).reduce((e,[n,{group:r,["group-admin"]:s}])=>[...e,{key:n,entityId:n,entityType:"group",roles:{member:{value:r?.permission||t,id:r?.id},admin:{value:s?.permission||t,id:s?.id}}}],[])},v=(o,i)=>{let e=o.reduce((r,s)=>[l.org,l.orgAdmin].includes(s.collaborationType)?Object.assign(Object.assign({},r),{[s.collaborationId]:Object.assign(Object.assign({},r[s.collaborationId]),{[s.collaborationType]:s})}):r,{}),n=Object.entries(e).reduce((r,[s,{org:a,["org-admin"]:d}])=>[...r,{key:s,entityId:s,entityType:"organization",roles:{member:{value:a?.permission||t,id:a?.id},admin:{value:d?.permission||t,id:d?.id}}}],[]);return n.length||n.push({key:i,entityId:i,entityType:"organization",roles:{member:{value:t,id:void 0},admin:{value:u.channelOwner,id:void 0}}}),n},b=o=>o.reduce((i,e)=>e.collaborationType===l.user?[...i,{key:e.collaborationId,entityId:e.collaborationId,entityType:"user",roles:{user:{value:e.permission,id:e.id}}}]:i,[]);function p(o,i){return{id:o.id,name:o.name,blockWords:o.blockWords.join(","),allowAsAnonymous:o.allowAsAnonymous,publicConfigs:m(o.permissions),orgConfigs:v(o.permissions,i.currentUser.orgId),groupConfigs:c(o.permissions),userConfigs:b(o.permissions)}}export{p as transformEntityToEditor};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.3 */
3
+ v1.0.5 */
4
4
  function a(t){let e=t;return t.match(/(qaext|\.mapsqa)\.arcgis.com/)?e="https://qaext.arcgis.com":t.match(/(devext|\.mapsdevext)\.arcgis.com/)?e="https://devext.arcgis.com":t.match(/(www|\.maps)\.arcgis.com/)&&(e="https://www.arcgis.com"),e}export{a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.3 */
4
- import{a,b}from"./AHAZLVQ4.js";import"./IGM6T5LG.js";import"./SL2K7YIF.js";import"./6BX7KLOB.js";import"./K6A5BZGW.js";export{a as SiteEditorTypes,b as getSiteSchema};
3
+ v1.0.5 */
4
+ import{a,b}from"./H4HFWY3H.js";import"./WBAN3UIC.js";import"./Z3XBAPZC.js";import"./IFPYTV3R.js";import"./UITEOOYI.js";export{a as SiteEditorTypes,b as getSiteSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.3 */
4
- import a from"./TFH7GJUO.js";import{G as k,hb as R,ib as y,o as N}from"./U3K7MHYO.js";import{g as w}from"./SYSMKBTI.js";import{m as E,p as M}from"./YAAW6QK6.js";export default $arcgis.t(([{c:V,d:D,e:x,h:S,i:O}])=>{function J(a,r){let e=[];return a.forEach(t=>{r.has(t.id)&&e.push(t)}),e}function u(a,r,e){if(r<1||a.length<r)return{cards:[],paging:{start:r,num:0,nextStart:-1,total:a.length}};let t=Math.min(r+e,a.length+1),s=t<a.length?t:-1;return{cards:a.slice(r-1,t-1),paging:{start:r,num:t-r,nextStart:s,total:a.length}}}function B(a,r){let e=j(a);return G(e,r)}function G(a,r){let e=[];return r.forEach(t=>{let s=T(t);s&&a.indexOf(s)>=0&&t.relatedSolutions&&(e=e.concat(t.relatedSolutions))}),new Set(e)}function T(a){let r="solutionid-",e=a.typeKeywords.filter(s=>s.startsWith(r)),t=null;return Array.isArray(e)&&e.length>0&&(t=e[0].substring(r.length)),t}function j(a){let r=[];return a.forEach(e=>{let t=T(e);t&&r.push(t)}),r=Array.from(new Set(r)),r}function U(a,r,e){let t,s=e==="asc"?1:-1;switch(r){case"created":t=(o,i)=>s*(o.createdMs<i.createdMs?-1:o.createdMs>i.createdMs?1:0);break;case"numviews":t=(o,i)=>s*(o.numViews<i.numViews?-1:o.numViews>i.numViews?1:0);break;case"title":t=(o,i)=>s*(o.title.toLowerCase()<i.title.toLowerCase()?-1:o.title.toLowerCase()>i.title.toLowerCase()?1:0);break;default:t=()=>0;break}return a.sort(t),a}var K=class{constructor(r,e,t){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=r,this.orgUrl=e,this.portalUrl=t,this.anonAgolSession=new w({}),this.agolPortalUrl="https://www.arcgis.com"}addToCache(r){this.cardCache.push(r)}getCache(){return this.cardCache}removeFromCache(r){this.cardCache=this.cardCache.filter(e=>e.id!==r)}requestAvailableSolutionCards(r,e,t,s,o,i){let n=o?.start?o.start:1,h=o?.num?o.num:24,g=this.portalUrl+"/sharing/rest",p=this.agolPortalUrl+"/sharing/rest",m=this.anonAgolSession,F=JSON.stringify(r.categories);if(this.cardCacheParams.q!==r.q||this.cardCacheParams.categoriesAsStr!==F||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:F,sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=U(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let c;if(i&&i.size>0){let l=J(this.cardCache,i);c=u(l,n,h)}else c=u(this.cardCache,n,h);return Promise.resolve(c)}let A={filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,categories:r?.categories?this.convertSearchCategories(r.categories):""},C=[];if(e){let c=s||new w({});C.push(y(e,r.q,c,A,g))}return t&&C.push(y(t,r.q,m,A,p)),Promise.allSettled(C).then(c=>{let l=[];c.forEach((d,L)=>{let q=!!e&&L===0;if(d.status==="fulfilled"){let v=d.value,P="",I=!1;q?P=this.portalUrl:(P=this.agolPortalUrl,I=!0),v.results.forEach(b=>{b.sourcePortalUrl=P,b.knownToBePublicSource=I}),l.push(v)}else if(d.status==="rejected")throw new Error(q?d.reason.message:"enterpriseCannotAccessAGO")}),l.length===0?this.cardCache=[]:l.length===1?this.cardCache=this.getCardsFromResponse(l[0]):this.cardCache=U(this.getCardsFromResponse(this.mergeResponses(l)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let f;if(i&&i.size>0){let d=J(this.cardCache,i);f=u(d,n,h)}else f=u(this.cardCache,n,h);return Promise.resolve(f)}).catch(c=>Promise.reject(new Error(c.message)))}requestDeployedSolutionCards(r,e){let t=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==r.q||this.cardCacheParams.categoriesAsStr!==JSON.stringify(r.q)||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:"[]",sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=U(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let o=u(this.cardCache,1,this.cardCache.length);return Promise.resolve(o)}let s={q:r.q,filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,authentication:e,portal:t,categories:r?.categories?JSON.stringify(r.categories):""};return R(s).then(o=>{this.cardCache=this.getCardsFromResponse(o);let i=u(this.cardCache,1,this.cardCache.length);return Promise.resolve(i)}).catch(o=>Promise.reject(new Error(o)))}convertSearchCategories(r){return r&&(Array.isArray(r)?r=r.map(e=>JSON.stringify(Array.isArray(e)?e:[e])):r=JSON.stringify([r])),r}getCardsFromResponse(r){return r.results.length>0?N(r.results).map(e=>{let t={id:e.id,title:e.title,snippet:e.snippet||"",description:e.description||"",url:e.url||"",itemUrl:this.orgUrl+"/home/item.html"+D([{k:"id",v:e.id}])||"",thumbnailFilename:e.thumbnail,thumbnailUrl:x(e.id,e.thumbnail,this.cMissingImageDataURI,e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl),tryitUrl:e.url||"",typeKeywords:e.typeKeywords,learnMoreUrl:e.properties?.learnMoreUrl||"",createdMs:e.created,created:S(e.created,this.locale),modified:S(e.modified,this.locale),numViews:e.numViews,tags:e.tags,categories:e.groupCategories&&e.groupCategories.length>0?e.groupCategories:e.categories||[],licenseInfo:V(e.licenseInfo),deployCommonId:O(e.typeKeywords||[],"solutionid-"),deployVersion:O(e.typeKeywords||[],"solutionversion-"),canDelete:e.created>16183314e5,canDeploy:(e.typeKeywords||[]).indexOf("Display Only")<0,preview:this.preparePreviewImageUrls(e.id,e.properties?.preview,e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl),sourcePortalUrl:e.sourcePortalUrl||"",knownToBePublicSource:e.knownToBePublicSource||!1,waitId:"",relatedSolutions:k(e,"properties.relatedSolutions")||[],owner:e.owner};return t.deployCommonId!==""&&t.deployVersion!==""?t:null}).filter(e=>e!=null):[]}mergeResponses(r){let e=0;r.forEach(s=>e+=s.total);let t=[];return r.forEach(s=>t=t.concat(s.results)),{query:r[0].query,start:1,num:e,nextStart:-1,total:e,results:t}}preparePreviewImageUrls(r,e,t){return e?e.map(s=>(s.format==="image"&&(s.name=t+"/sharing/rest/content/items/"+r+"/resources/"+s.name),s)):[]}};async function X(a,r,e,t,s=M,o="created",i="desc",n=!1,h=[],g=[],p){if(!a?.SignedIn)return;let m={q:s,filter:"type:Solution",sortField:o,sortOrder:i,delay:n,categories:h};return m.q+=z(a,p),await Q(r,m,t,g)}function z(a,r){let e="",t=a.PortalUserOrg,s=a.PortalUserName;return t&&(e+=" orgid:"+t),r!==E.ORGANIZATION&&s&&(e+=" owner:"+s),e}async function Q(a,r,e,t){let s=await e.requestDeployedSolutionCards(r,a),o=B(s.cards,t);return{cards:s.cards,relatedSolutions:o}}return{a:K,b:X}},a)
3
+ v1.0.5 */
4
+ import a from"./JAMFZUE3.js";import{H as k,ib as R,jb as y,o as N}from"./FLX4QZPY.js";import{g as w}from"./B2AAEHPJ.js";import{m as E,p as M}from"./76JQ5L7D.js";export default $arcgis.t(([{c:V,d:D,e:x,h:S,i:O}])=>{function J(a,r){let e=[];return a.forEach(t=>{r.has(t.id)&&e.push(t)}),e}function u(a,r,e){if(r<1||a.length<r)return{cards:[],paging:{start:r,num:0,nextStart:-1,total:a.length}};let t=Math.min(r+e,a.length+1),s=t<a.length?t:-1;return{cards:a.slice(r-1,t-1),paging:{start:r,num:t-r,nextStart:s,total:a.length}}}function B(a,r){let e=j(a);return G(e,r)}function G(a,r){let e=[];return r.forEach(t=>{let s=T(t);s&&a.indexOf(s)>=0&&t.relatedSolutions&&(e=e.concat(t.relatedSolutions))}),new Set(e)}function T(a){let r="solutionid-",e=a.typeKeywords.filter(s=>s.startsWith(r)),t=null;return Array.isArray(e)&&e.length>0&&(t=e[0].substring(r.length)),t}function j(a){let r=[];return a.forEach(e=>{let t=T(e);t&&r.push(t)}),r=Array.from(new Set(r)),r}function U(a,r,e){let t,s=e==="asc"?1:-1;switch(r){case"created":t=(o,i)=>s*(o.createdMs<i.createdMs?-1:o.createdMs>i.createdMs?1:0);break;case"numviews":t=(o,i)=>s*(o.numViews<i.numViews?-1:o.numViews>i.numViews?1:0);break;case"title":t=(o,i)=>s*(o.title.toLowerCase()<i.title.toLowerCase()?-1:o.title.toLowerCase()>i.title.toLowerCase()?1:0);break;default:t=()=>0;break}return a.sort(t),a}var K=class{constructor(r,e,t){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=r,this.orgUrl=e,this.portalUrl=t,this.anonAgolSession=new w({}),this.agolPortalUrl="https://www.arcgis.com"}addToCache(r){this.cardCache.push(r)}getCache(){return this.cardCache}removeFromCache(r){this.cardCache=this.cardCache.filter(e=>e.id!==r)}requestAvailableSolutionCards(r,e,t,s,o,i){let n=o?.start?o.start:1,h=o?.num?o.num:24,g=this.portalUrl+"/sharing/rest",p=this.agolPortalUrl+"/sharing/rest",m=this.anonAgolSession,F=JSON.stringify(r.categories);if(this.cardCacheParams.q!==r.q||this.cardCacheParams.categoriesAsStr!==F||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:F,sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=U(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let c;if(i&&i.size>0){let l=J(this.cardCache,i);c=u(l,n,h)}else c=u(this.cardCache,n,h);return Promise.resolve(c)}let A={filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,categories:r?.categories?this.convertSearchCategories(r.categories):""},C=[];if(e){let c=s||new w({});C.push(y(e,r.q,c,A,g))}return t&&C.push(y(t,r.q,m,A,p)),Promise.allSettled(C).then(c=>{let l=[];c.forEach((d,L)=>{let q=!!e&&L===0;if(d.status==="fulfilled"){let v=d.value,P="",I=!1;q?P=this.portalUrl:(P=this.agolPortalUrl,I=!0),v.results.forEach(b=>{b.sourcePortalUrl=P,b.knownToBePublicSource=I}),l.push(v)}else if(d.status==="rejected")throw new Error(q?d.reason.message:"enterpriseCannotAccessAGO")}),l.length===0?this.cardCache=[]:l.length===1?this.cardCache=this.getCardsFromResponse(l[0]):this.cardCache=U(this.getCardsFromResponse(this.mergeResponses(l)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let f;if(i&&i.size>0){let d=J(this.cardCache,i);f=u(d,n,h)}else f=u(this.cardCache,n,h);return Promise.resolve(f)}).catch(c=>Promise.reject(new Error(c.message)))}requestDeployedSolutionCards(r,e){let t=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==r.q||this.cardCacheParams.categoriesAsStr!==JSON.stringify(r.q)||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:"[]",sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=U(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let o=u(this.cardCache,1,this.cardCache.length);return Promise.resolve(o)}let s={q:r.q,filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,authentication:e,portal:t,categories:r?.categories?JSON.stringify(r.categories):""};return R(s).then(o=>{this.cardCache=this.getCardsFromResponse(o);let i=u(this.cardCache,1,this.cardCache.length);return Promise.resolve(i)}).catch(o=>Promise.reject(new Error(o)))}convertSearchCategories(r){return r&&(Array.isArray(r)?r=r.map(e=>JSON.stringify(Array.isArray(e)?e:[e])):r=JSON.stringify([r])),r}getCardsFromResponse(r){return r.results.length>0?N(r.results).map(e=>{let t={id:e.id,title:e.title,snippet:e.snippet||"",description:e.description||"",url:e.url||"",itemUrl:this.orgUrl+"/home/item.html"+D([{k:"id",v:e.id}])||"",thumbnailFilename:e.thumbnail,thumbnailUrl:x(e.id,e.thumbnail,this.cMissingImageDataURI,e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl),tryitUrl:e.url||"",typeKeywords:e.typeKeywords,learnMoreUrl:e.properties?.learnMoreUrl||"",createdMs:e.created,created:S(e.created,this.locale),modified:S(e.modified,this.locale),numViews:e.numViews,tags:e.tags,categories:e.groupCategories&&e.groupCategories.length>0?e.groupCategories:e.categories||[],licenseInfo:V(e.licenseInfo),deployCommonId:O(e.typeKeywords||[],"solutionid-"),deployVersion:O(e.typeKeywords||[],"solutionversion-"),canDelete:e.created>16183314e5,canDeploy:(e.typeKeywords||[]).indexOf("Display Only")<0,preview:this.preparePreviewImageUrls(e.id,e.properties?.preview,e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl),sourcePortalUrl:e.sourcePortalUrl||"",knownToBePublicSource:e.knownToBePublicSource||!1,waitId:"",relatedSolutions:k(e,"properties.relatedSolutions")||[],owner:e.owner};return t.deployCommonId!==""&&t.deployVersion!==""?t:null}).filter(e=>e!=null):[]}mergeResponses(r){let e=0;r.forEach(s=>e+=s.total);let t=[];return r.forEach(s=>t=t.concat(s.results)),{query:r[0].query,start:1,num:e,nextStart:-1,total:e,results:t}}preparePreviewImageUrls(r,e,t){return e?e.map(s=>(s.format==="image"&&(s.name=t+"/sharing/rest/content/items/"+r+"/resources/"+s.name),s)):[]}};async function X(a,r,e,t,s=M,o="created",i="desc",n=!1,h=[],g=[],p){if(!a?.SignedIn)return;let m={q:s,filter:"type:Solution",sortField:o,sortOrder:i,delay:n,categories:h};return m.q+=z(a,p),await Q(r,m,t,g)}function z(a,r){let e="",t=a.PortalUserOrg,s=a.PortalUserName;return t&&(e+=" orgid:"+t),r!==E.ORGANIZATION&&s&&(e+=" owner:"+s),e}async function Q(a,r,e,t){let s=await e.requestDeployedSolutionCards(r,a),o=B(s.cards,t);return{cards:s.cards,relatedSolutions:o}}return{a:K,b:X}},a)
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.3 */
4
- import{a as r}from"./LN5LFFQL.js";import{D as o,c as l,d as a,n as i,y as n}from"./QSBF5CAO.js";import"./K6A5BZGW.js";var c=l`/** @license
3
+ v1.0.5 */
4
+ import{a as r}from"./TA3ZXQAF.js";import{D as o,c as l,d as a,n as i,y as n}from"./D3RXCR6Q.js";import"./UITEOOYI.js";var c=l`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.3 */
4
- import{a as r}from"./LN5LFFQL.js";import{D as o,c as t,d as i,p as s,y as n}from"./QSBF5CAO.js";import"./K6A5BZGW.js";var a=t`@layer{/** @license
3
+ v1.0.5 */
4
+ import{a as r}from"./TA3ZXQAF.js";import{D as o,c as t,d as i,p as s,y as n}from"./D3RXCR6Q.js";import"./UITEOOYI.js";var a=t`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.3 */
4
- import{a as e}from"./IGM6T5LG.js";var i=["hub:template:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}}})});export{i as a,r as b};
3
+ v1.0.5 */
4
+ import{a as e}from"./WBAN3UIC.js";var i=["hub:template:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}}})});export{i as a,r as b};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.3 */
4
- import{a as f,c as g,e as I}from"./NZJICJCJ.js";import"./YAAW6QK6.js";import"./CDJIJD2S.js";import{a as w,b as c}from"./UCX6I6GZ.js";import{a as u}from"./LN5LFFQL.js";import{D as L,c as p,d as r,n as h,p as d,y as m}from"./QSBF5CAO.js";import"./K6A5BZGW.js";async function _(o,e){let{api:s=4,type:t="decimal",places:i=2}=e||{};if(s===4){let[a]=await c(["esri/intl"]),l=a.convertNumberFormatToIntlOptions({places:i,type:t,digitSeparator:!0});return a.formatNumber(o,l)}let[n]=await c(["dojo/number"]);return n.format(o,{type:t,places:i})}var x=p`@layer{/** @license
3
+ v1.0.5 */
4
+ import{a as f,c as g,e as I}from"./UMIQ4XRZ.js";import"./76JQ5L7D.js";import"./WZ764LLN.js";import{a as w,b as c}from"./M35TRRGF.js";import{a as u}from"./TA3ZXQAF.js";import{D as L,c as p,d as r,n as h,p as d,y as m}from"./D3RXCR6Q.js";import"./UITEOOYI.js";async function _(o,e){let{api:s=4,type:t="decimal",places:i=2}=e||{};if(s===4){let[a]=await c(["esri/intl"]),l=a.convertNumberFormatToIntlOptions({places:i,type:t,digitSeparator:!0});return a.formatNumber(o,l)}let[n]=await c(["dojo/number"]);return n.format(o,{type:t,places:i})}var x=p`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.3 */
4
- import{f as c,r as $,s as d,t as f,u as A}from"./QSBF5CAO.js";var o=(t,e)=>{let s=t._$AN;if(s===void 0)return!1;for(let i of s)i._$AO?.(e,!1),o(i,e);return!0},n=t=>{let e,s;do{if((e=t._$AM)===void 0)break;s=e._$AN,s.delete(t),t=e}while(s?.size===0)},v=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(s===void 0)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),m(e)}};function p(t){this._$AN!==void 0?(n(this),this._$AM=t,v(this)):this._$AM=t}function u(t,e=!1,s=0){let i=this._$AH,_=this._$AN;if(_!==void 0&&_.size!==0)if(e)if(Array.isArray(i))for(let h=s;h<i.length;h++)o(i[h],!1),n(i[h]);else i!=null&&(o(i,!1),n(i));else o(this,t)}var m=t=>{t.type==$.CHILD&&(t._$AP??=u,t._$AQ??=p)},r=class extends f{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,s,i){super._$AT(e,s,i),v(this),this.isConnected=e._$AU}_$AO(e,s=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),s&&(o(this,e),n(this))}setValue(e){if(A(this._$Ct))this._$Ct._$AI(e,this);else{let s=[...this._$Ct._$AH];s[this._$Ci]=e,this._$Ct._$AI(s,this,0)}}disconnected(){}reconnected(){}};var T=()=>new l,l=class{},a=new WeakMap,w=d(class extends r{render(t){return c}update(t,[e]){let s=e!==this.G;return s&&this.G!==void 0&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=t.options?.host,this.rt(this.ct=t.element)),c}rt(t){if(this.isConnected||(t=void 0),typeof this.G=="function"){let e=this.ht??globalThis,s=a.get(e);s===void 0&&(s=new WeakMap,a.set(e,s)),s.get(this.G)!==void 0&&this.G.call(this.ht,void 0),s.set(this.G,t),t!==void 0&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){return typeof this.G=="function"?a.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{T as a,w as b};
3
+ v1.0.5 */
4
+ import{f as c,r as $,s as d,t as f,u as A}from"./D3RXCR6Q.js";var o=(t,e)=>{let s=t._$AN;if(s===void 0)return!1;for(let i of s)i._$AO?.(e,!1),o(i,e);return!0},n=t=>{let e,s;do{if((e=t._$AM)===void 0)break;s=e._$AN,s.delete(t),t=e}while(s?.size===0)},v=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(s===void 0)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),m(e)}};function p(t){this._$AN!==void 0?(n(this),this._$AM=t,v(this)):this._$AM=t}function u(t,e=!1,s=0){let i=this._$AH,_=this._$AN;if(_!==void 0&&_.size!==0)if(e)if(Array.isArray(i))for(let h=s;h<i.length;h++)o(i[h],!1),n(i[h]);else i!=null&&(o(i,!1),n(i));else o(this,t)}var m=t=>{t.type==$.CHILD&&(t._$AP??=u,t._$AQ??=p)},r=class extends f{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,s,i){super._$AT(e,s,i),v(this),this.isConnected=e._$AU}_$AO(e,s=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),s&&(o(this,e),n(this))}setValue(e){if(A(this._$Ct))this._$Ct._$AI(e,this);else{let s=[...this._$Ct._$AH];s[this._$Ci]=e,this._$Ct._$AI(s,this,0)}}disconnected(){}reconnected(){}};var T=()=>new l,l=class{},a=new WeakMap,w=d(class extends r{render(t){return c}update(t,[e]){let s=e!==this.G;return s&&this.G!==void 0&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=t.options?.host,this.rt(this.ct=t.element)),c}rt(t){if(this.isConnected||(t=void 0),typeof this.G=="function"){let e=this.ht??globalThis,s=a.get(e);s===void 0&&(s=new WeakMap,a.set(e,s)),s.get(this.G)!==void 0&&this.G.call(this.ht,void 0),s.set(this.G,t),t!==void 0&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){return typeof this.G=="function"?a.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{T as a,w as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.3 */
4
- import{a as n}from"./B75MQOOF.js";import{a as s}from"./GGXBJUNZ.js";import"./WFX5NIY6.js";import"./7ANMAQXN.js";import"./EYRRGEDQ.js";import"./OVCAOTN3.js";import{a as r,b as a}from"./U4FYJZJP.js";import"./XRFRTU7J.js";import"./FP7ZUAH6.js";import"./JIYQEZGV.js";import{a as o}from"./IYR7CWGB.js";import{a as i}from"./7SATBHPG.js";import"./RIVVWLOA.js";import"./SYSMKBTI.js";import"./M7HTAQHD.js";import"./ASBGMXK6.js";import"./Z5LX6R34.js";import"./25MVNDYY.js";import"./2JUQQJOQ.js";import"./IGGGIS6G.js";import"./RHHKJQMD.js";import"./662JMFYU.js";import"./QA65PTZZ.js";import"./OHTIVF6F.js";import"./HUHLOYKI.js";import"./5QYTBWNM.js";import"./LHUMSMJ6.js";import"./FAZP4TDB.js";import"./UYOJLBLJ.js";import"./HQGW6OLO.js";import"./ERJKLBV2.js";import"./GKSL27GK.js";import"./NNUFXWGF.js";import"./GTEHENBQ.js";import"./2S6VPY6M.js";import"./JFDXJGIJ.js";import"./AHAZLVQ4.js";import"./IGM6T5LG.js";import"./SL2K7YIF.js";import"./6BX7KLOB.js";import"./K6A5BZGW.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,l.thumbnail,l.thumbnailUrl,"site",t.requestOptions),...t.isPortal?[n(e)]:[],{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(l.location,t.hubRequestOptions),options:await a(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
3
+ v1.0.5 */
4
+ import{a as n}from"./U4LWP3KK.js";import{a as s}from"./35ZVLYI7.js";import"./GFTGPFHL.js";import"./OG4FHSPI.js";import"./MK7N6OTA.js";import"./WQKEPPJH.js";import{a as r,b as a}from"./WCEUO2OS.js";import"./2QFMILDU.js";import"./EEECQWVR.js";import"./S5TXHJGZ.js";import{a as o}from"./E4626BS2.js";import{a as i}from"./6N7ZWEZT.js";import"./AQZ3QIKE.js";import"./B2AAEHPJ.js";import"./WIVOL6CT.js";import"./T6PMIZLP.js";import"./6U4PV22I.js";import"./JOWT5YJ4.js";import"./TENNMXGF.js";import"./WNFUARBO.js";import"./UCI3QQAA.js";import"./MURI73WZ.js";import"./CGZZGJLP.js";import"./JUVS4QTT.js";import"./OQJGVRY2.js";import"./UR7ODANG.js";import"./JJJAHCRO.js";import"./RCDWSNVF.js";import"./76DZHGT4.js";import"./HKKUMEH5.js";import"./H72WOGJ7.js";import"./7OEQCUDV.js";import"./IAHPQU5I.js";import"./2RWXUIPE.js";import"./QQPQDFEM.js";import"./7NMV3XFP.js";import"./H4HFWY3H.js";import"./WBAN3UIC.js";import"./Z3XBAPZC.js";import"./IFPYTV3R.js";import"./UITEOOYI.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,l.thumbnail,l.thumbnailUrl,"site",t.requestOptions),...t.isPortal?[n(e)]:[],{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(l.location,t.hubRequestOptions),options:await a(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d 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.0/esri/copyright.txt for details.
3
- v1.0.3 */
4
- import{j as n}from"./ZWTSIAER.js";async function l(e){try{let s=await e.fetch("json",{cacheBust:!0});return Promise.resolve(s)}catch{console.error("Unable to get resource t9n data.")}}async function w(e){if(!e)return null;let s=await e.fetchResources({num:100}),o=`t9n/${e?.id}.json`,i=await n({path:o,portalItem:e}),c=s.resources.filter(r=>r.resource.path===o);if(c.length===0){let r="application/json",a=new Blob([JSON.stringify({})],{type:r});try{await e.addResource(i,a);let t=await e.fetchResources(),u=`t9n/${e?.id}.json`,R=t.resources.filter(f=>f.resource.path===u)[0].resource;return Promise.resolve(R)}catch(t){return console.error("ERROR: ",t),await Promise.reject(new Error("Failed to add resource"))}}else{let r=c[0].resource;return await Promise.resolve(r)}}export{l as a,w as b};
3
+ v1.0.5 */
4
+ import{j as n}from"./QP26HSVE.js";async function l(e){try{let s=await e.fetch("json",{cacheBust:!0});return Promise.resolve(s)}catch{console.error("Unable to get resource t9n data.")}}async function w(e){if(!e)return null;let s=await e.fetchResources({num:100}),o=`t9n/${e?.id}.json`,i=await n({path:o,portalItem:e}),c=s.resources.filter(r=>r.resource.path===o);if(c.length===0){let r="application/json",a=new Blob([JSON.stringify({})],{type:r});try{await e.addResource(i,a);let t=await e.fetchResources(),u=`t9n/${e?.id}.json`,R=t.resources.filter(f=>f.resource.path===u)[0].resource;return Promise.resolve(R)}catch(t){return console.error("ERROR: ",t),await Promise.reject(new Error("Failed to add resource"))}}else{let r=c[0].resource;return await Promise.resolve(r)}}export{l as a,w as b};
@@ -1,5 +1,5 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.3 */
4
- import"./K6A5BZGW.js";var{entries:Tt,setPrototypeOf:rt,isFrozen:Bt,getPrototypeOf:Yt,getOwnPropertyDescriptor:Xt}=Object,{freeze:S,seal:O,create:_t}=Object,{apply:we,construct:xe}=typeof Reflect<"u"&&Reflect;S||(S=function(o){return o});O||(O=function(o){return o});we||(we=function(o,l,s){return o.apply(l,s)});xe||(xe=function(o,l){return new o(...l)});var le=R(Array.prototype.forEach),jt=R(Array.prototype.lastIndexOf),st=R(Array.prototype.pop),$=R(Array.prototype.push),Vt=R(Array.prototype.splice),fe=R(String.prototype.toLowerCase),Ne=R(String.prototype.toString),lt=R(String.prototype.match),q=R(String.prototype.replace),$t=R(String.prototype.indexOf),qt=R(String.prototype.trim),L=R(Object.prototype.hasOwnProperty),A=R(RegExp.prototype.test),K=Kt(TypeError);function R(r){return function(o){o instanceof RegExp&&(o.lastIndex=0);for(var l=arguments.length,s=new Array(l>1?l-1:0),T=1;T<l;T++)s[T-1]=arguments[T];return we(r,o,s)}}function Kt(r){return function(){for(var o=arguments.length,l=new Array(o),s=0;s<o;s++)l[s]=arguments[s];return xe(r,l)}}function a(r,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fe;rt&&rt(r,null);let s=o.length;for(;s--;){let T=o[s];if(typeof T=="string"){let N=l(T);N!==T&&(Bt(o)||(o[s]=N),T=N)}r[T]=!0}return r}function Zt(r){for(let o=0;o<r.length;o++)L(r,o)||(r[o]=null);return r}function C(r){let o=_t(null);for(let[l,s]of Tt(r))L(r,l)&&(Array.isArray(s)?o[l]=Zt(s):s&&typeof s=="object"&&s.constructor===Object?o[l]=C(s):o[l]=s);return o}function Z(r,o){for(;r!==null;){let s=Xt(r,o);if(s){if(s.get)return R(s.get);if(typeof s.value=="function")return R(s.value)}r=Yt(r)}function l(){return null}return l}var ct=S(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),be=S(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ie=S(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Jt=S(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Me=S(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Qt=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ft=S(["#text"]),ut=S(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Ce=S(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),mt=S(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ce=S(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),en=O(/\{\{[\w\W]*|[\w\W]*\}\}/gm),tn=O(/<%[\w\W]*|[\w\W]*%>/gm),nn=O(/\$\{[\w\W]*/gm),on=O(/^data-[\-\w.\u00B7-\uFFFF]+$/),an=O(/^aria-[\-\w]+$/),Et=O(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),rn=O(/^(?:\w+script|data):/i),sn=O(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),gt=O(/^html$/i),ln=O(/^[a-z][.\w]*(-[.\w]+)+$/i),pt=Object.freeze({__proto__:null,ARIA_ATTR:an,ATTR_WHITESPACE:sn,CUSTOM_ELEMENT:ln,DATA_ATTR:on,DOCTYPE_NAME:gt,ERB_EXPR:tn,IS_ALLOWED_URI:Et,IS_SCRIPT_OR_DATA:rn,MUSTACHE_EXPR:en,TMPLIT_EXPR:nn}),J={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},cn=function(){return typeof window>"u"?null:window},fn=function(o,l){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let s=null,T="data-tt-policy-suffix";l&&l.hasAttribute(T)&&(s=l.getAttribute(T));let N="dompurify"+(s?"#"+s:"");try{return o.createPolicy(N,{createHTML(x){return x},createScriptURL(x){return x}})}catch{return console.warn("TrustedTypes policy "+N+" could not be created."),null}},dt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function ht(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:cn(),o=i=>ht(i);if(o.version="3.2.6",o.removed=[],!r||!r.document||r.document.nodeType!==J.document||!r.Element)return o.isSupported=!1,o;let{document:l}=r,s=l,T=s.currentScript,{DocumentFragment:N,HTMLTemplateElement:x,Node:ue,Element:Pe,NodeFilter:G,NamedNodeMap:At=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:St,DOMParser:Rt,trustedTypes:Q}=r,W=Pe.prototype,yt=Z(W,"cloneNode"),Ot=Z(W,"remove"),Lt=Z(W,"nextSibling"),Dt=Z(W,"childNodes"),ee=Z(W,"parentNode");if(typeof x=="function"){let i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let g,B="",{implementation:me,createNodeIterator:Nt,createDocumentFragment:bt,getElementsByTagName:It}=l,{importNode:Mt}=s,h=dt();o.isSupported=typeof Tt=="function"&&typeof ee=="function"&&me&&me.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:pe,ERB_EXPR:de,TMPLIT_EXPR:Te,DATA_ATTR:Ct,ARIA_ATTR:wt,IS_SCRIPT_OR_DATA:xt,ATTR_WHITESPACE:ve,CUSTOM_ELEMENT:Pt}=pt,{IS_ALLOWED_URI:ke}=pt,m=null,Ue=a({},[...ct,...be,...Ie,...Me,...ft]),d=null,Fe=a({},[...ut,...Ce,...mt,...ce]),f=Object.seal(_t(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Y=null,_e=null,He=!0,Ee=!0,ze=!1,Ge=!0,P=!1,te=!0,w=!1,ge=!1,he=!1,v=!1,ne=!1,oe=!1,We=!0,Be=!1,vt="user-content-",Ae=!0,X=!1,k={},U=null,Ye=a({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Xe=null,je=a({},["audio","video","img","source","image","track"]),Se=null,Ve=a({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ie="http://www.w3.org/1998/Math/MathML",ae="http://www.w3.org/2000/svg",b="http://www.w3.org/1999/xhtml",F=b,Re=!1,ye=null,kt=a({},[ie,ae,b],Ne),re=a({},["mi","mo","mn","ms","mtext"]),se=a({},["annotation-xml"]),Ut=a({},["title","style","font","a","script"]),j=null,Ft=["application/xhtml+xml","text/html"],Ht="text/html",p=null,H=null,zt=l.createElement("form"),$e=function(e){return e instanceof RegExp||e instanceof Function},Oe=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(H&&H===e)){if((!e||typeof e!="object")&&(e={}),e=C(e),j=Ft.indexOf(e.PARSER_MEDIA_TYPE)===-1?Ht:e.PARSER_MEDIA_TYPE,p=j==="application/xhtml+xml"?Ne:fe,m=L(e,"ALLOWED_TAGS")?a({},e.ALLOWED_TAGS,p):Ue,d=L(e,"ALLOWED_ATTR")?a({},e.ALLOWED_ATTR,p):Fe,ye=L(e,"ALLOWED_NAMESPACES")?a({},e.ALLOWED_NAMESPACES,Ne):kt,Se=L(e,"ADD_URI_SAFE_ATTR")?a(C(Ve),e.ADD_URI_SAFE_ATTR,p):Ve,Xe=L(e,"ADD_DATA_URI_TAGS")?a(C(je),e.ADD_DATA_URI_TAGS,p):je,U=L(e,"FORBID_CONTENTS")?a({},e.FORBID_CONTENTS,p):Ye,Y=L(e,"FORBID_TAGS")?a({},e.FORBID_TAGS,p):C({}),_e=L(e,"FORBID_ATTR")?a({},e.FORBID_ATTR,p):C({}),k=L(e,"USE_PROFILES")?e.USE_PROFILES:!1,He=e.ALLOW_ARIA_ATTR!==!1,Ee=e.ALLOW_DATA_ATTR!==!1,ze=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ge=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,P=e.SAFE_FOR_TEMPLATES||!1,te=e.SAFE_FOR_XML!==!1,w=e.WHOLE_DOCUMENT||!1,v=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,oe=e.RETURN_TRUSTED_TYPE||!1,he=e.FORCE_BODY||!1,We=e.SANITIZE_DOM!==!1,Be=e.SANITIZE_NAMED_PROPS||!1,Ae=e.KEEP_CONTENT!==!1,X=e.IN_PLACE||!1,ke=e.ALLOWED_URI_REGEXP||Et,F=e.NAMESPACE||b,re=e.MATHML_TEXT_INTEGRATION_POINTS||re,se=e.HTML_INTEGRATION_POINTS||se,f=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&$e(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(f.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&$e(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(f.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(f.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),P&&(Ee=!1),ne&&(v=!0),k&&(m=a({},ft),d=[],k.html===!0&&(a(m,ct),a(d,ut)),k.svg===!0&&(a(m,be),a(d,Ce),a(d,ce)),k.svgFilters===!0&&(a(m,Ie),a(d,Ce),a(d,ce)),k.mathMl===!0&&(a(m,Me),a(d,mt),a(d,ce))),e.ADD_TAGS&&(m===Ue&&(m=C(m)),a(m,e.ADD_TAGS,p)),e.ADD_ATTR&&(d===Fe&&(d=C(d)),a(d,e.ADD_ATTR,p)),e.ADD_URI_SAFE_ATTR&&a(Se,e.ADD_URI_SAFE_ATTR,p),e.FORBID_CONTENTS&&(U===Ye&&(U=C(U)),a(U,e.FORBID_CONTENTS,p)),Ae&&(m["#text"]=!0),w&&a(m,["html","head","body"]),m.table&&(a(m,["tbody"]),delete Y.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');g=e.TRUSTED_TYPES_POLICY,B=g.createHTML("")}else g===void 0&&(g=fn(Q,T)),g!==null&&typeof B=="string"&&(B=g.createHTML(""));S&&S(e),H=e}},qe=a({},[...be,...Ie,...Jt]),Ke=a({},[...Me,...Qt]),Gt=function(e){let t=ee(e);(!t||!t.tagName)&&(t={namespaceURI:F,tagName:"template"});let n=fe(e.tagName),c=fe(t.tagName);return ye[e.namespaceURI]?e.namespaceURI===ae?t.namespaceURI===b?n==="svg":t.namespaceURI===ie?n==="svg"&&(c==="annotation-xml"||re[c]):!!qe[n]:e.namespaceURI===ie?t.namespaceURI===b?n==="math":t.namespaceURI===ae?n==="math"&&se[c]:!!Ke[n]:e.namespaceURI===b?t.namespaceURI===ae&&!se[c]||t.namespaceURI===ie&&!re[c]?!1:!Ke[n]&&(Ut[n]||!qe[n]):!!(j==="application/xhtml+xml"&&ye[e.namespaceURI]):!1},D=function(e){$(o.removed,{element:e});try{ee(e).removeChild(e)}catch{Ot(e)}},z=function(e,t){try{$(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch{$(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(v||ne)try{D(t)}catch{}else try{t.setAttribute(e,"")}catch{}},Ze=function(e){let t=null,n=null;if(he)e="<remove></remove>"+e;else{let u=lt(e,/^[\r\n\t ]+/);n=u&&u[0]}j==="application/xhtml+xml"&&F===b&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let c=g?g.createHTML(e):e;if(F===b)try{t=new Rt().parseFromString(c,j)}catch{}if(!t||!t.documentElement){t=me.createDocument(F,"template",null);try{t.documentElement.innerHTML=Re?B:c}catch{}}let _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),F===b?It.call(t,w?"html":"body")[0]:w?t.documentElement:_},Je=function(e){return Nt.call(e.ownerDocument||e,e,G.SHOW_ELEMENT|G.SHOW_COMMENT|G.SHOW_TEXT|G.SHOW_PROCESSING_INSTRUCTION|G.SHOW_CDATA_SECTION,null)},Le=function(e){return e instanceof St&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof At)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},Qe=function(e){return typeof ue=="function"&&e instanceof ue};function I(i,e,t){le(i,n=>{n.call(o,e,t,H)})}let et=function(e){let t=null;if(I(h.beforeSanitizeElements,e,null),Le(e))return D(e),!0;let n=p(e.nodeName);if(I(h.uponSanitizeElement,e,{tagName:n,allowedTags:m}),te&&e.hasChildNodes()&&!Qe(e.firstElementChild)&&A(/<[/\w!]/g,e.innerHTML)&&A(/<[/\w!]/g,e.textContent)||e.nodeType===J.progressingInstruction||te&&e.nodeType===J.comment&&A(/<[/\w]/g,e.data))return D(e),!0;if(!m[n]||Y[n]){if(!Y[n]&&nt(n)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,n)||f.tagNameCheck instanceof Function&&f.tagNameCheck(n)))return!1;if(Ae&&!U[n]){let c=ee(e)||e.parentNode,_=Dt(e)||e.childNodes;if(_&&c){let u=_.length;for(let y=u-1;y>=0;--y){let M=yt(_[y],!0);M.__removalCount=(e.__removalCount||0)+1,c.insertBefore(M,Lt(e))}}}return D(e),!0}return e instanceof Pe&&!Gt(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&A(/<\/no(script|embed|frames)/i,e.innerHTML)?(D(e),!0):(P&&e.nodeType===J.text&&(t=e.textContent,le([pe,de,Te],c=>{t=q(t,c," ")}),e.textContent!==t&&($(o.removed,{element:e.cloneNode()}),e.textContent=t)),I(h.afterSanitizeElements,e,null),!1)},tt=function(e,t,n){if(We&&(t==="id"||t==="name")&&(n in l||n in zt))return!1;if(!(Ee&&!_e[t]&&A(Ct,t))){if(!(He&&A(wt,t))){if(!d[t]||_e[t]){if(!(nt(e)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,e)||f.tagNameCheck instanceof Function&&f.tagNameCheck(e))&&(f.attributeNameCheck instanceof RegExp&&A(f.attributeNameCheck,t)||f.attributeNameCheck instanceof Function&&f.attributeNameCheck(t))||t==="is"&&f.allowCustomizedBuiltInElements&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,n)||f.tagNameCheck instanceof Function&&f.tagNameCheck(n))))return!1}else if(!Se[t]){if(!A(ke,q(n,ve,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&$t(n,"data:")===0&&Xe[e])){if(!(ze&&!A(xt,q(n,ve,"")))){if(n)return!1}}}}}}return!0},nt=function(e){return e!=="annotation-xml"&&lt(e,Pt)},ot=function(e){I(h.beforeSanitizeAttributes,e,null);let{attributes:t}=e;if(!t||Le(e))return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:d,forceKeepAttr:void 0},c=t.length;for(;c--;){let _=t[c],{name:u,namespaceURI:y,value:M}=_,V=p(u),De=M,E=u==="value"?De:qt(De);if(n.attrName=V,n.attrValue=E,n.keepAttr=!0,n.forceKeepAttr=void 0,I(h.uponSanitizeAttribute,e,n),E=n.attrValue,Be&&(V==="id"||V==="name")&&(z(u,e),E=vt+E),te&&A(/((--!?|])>)|<\/(style|title)/i,E)){z(u,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){z(u,e);continue}if(!Ge&&A(/\/>/i,E)){z(u,e);continue}P&&le([pe,de,Te],at=>{E=q(E,at," ")});let it=p(e.nodeName);if(!tt(it,V,E)){z(u,e);continue}if(g&&typeof Q=="object"&&typeof Q.getAttributeType=="function"&&!y)switch(Q.getAttributeType(it,V)){case"TrustedHTML":{E=g.createHTML(E);break}case"TrustedScriptURL":{E=g.createScriptURL(E);break}}if(E!==De)try{y?e.setAttributeNS(y,u,E):e.setAttribute(u,E),Le(e)?D(e):st(o.removed)}catch{z(u,e)}}I(h.afterSanitizeAttributes,e,null)},Wt=function i(e){let t=null,n=Je(e);for(I(h.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)I(h.uponSanitizeShadowNode,t,null),et(t),ot(t),t.content instanceof N&&i(t.content);I(h.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,c=null,_=null;if(Re=!i,Re&&(i="<!-->"),typeof i!="string"&&!Qe(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw K("dirty is not a string, aborting")}else throw K("toString is not a function");if(!o.isSupported)return i;if(ge||Oe(e),o.removed=[],typeof i=="string"&&(X=!1),X){if(i.nodeName){let M=p(i.nodeName);if(!m[M]||Y[M])throw K("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof ue)t=Ze("<!---->"),n=t.ownerDocument.importNode(i,!0),n.nodeType===J.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!v&&!P&&!w&&i.indexOf("<")===-1)return g&&oe?g.createHTML(i):i;if(t=Ze(i),!t)return v?null:oe?B:""}t&&he&&D(t.firstChild);let u=Je(X?i:t);for(;c=u.nextNode();)et(c),ot(c),c.content instanceof N&&Wt(c.content);if(X)return i;if(v){if(ne)for(_=bt.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(d.shadowroot||d.shadowrootmode)&&(_=Mt.call(s,_,!0)),_}let y=w?t.outerHTML:t.innerHTML;return w&&m["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&A(gt,t.ownerDocument.doctype.name)&&(y="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
3
+ v1.0.5 */
4
+ import"./UITEOOYI.js";var{entries:Tt,setPrototypeOf:rt,isFrozen:Bt,getPrototypeOf:Yt,getOwnPropertyDescriptor:Xt}=Object,{freeze:S,seal:O,create:_t}=Object,{apply:we,construct:xe}=typeof Reflect<"u"&&Reflect;S||(S=function(o){return o});O||(O=function(o){return o});we||(we=function(o,l,s){return o.apply(l,s)});xe||(xe=function(o,l){return new o(...l)});var le=R(Array.prototype.forEach),jt=R(Array.prototype.lastIndexOf),st=R(Array.prototype.pop),$=R(Array.prototype.push),Vt=R(Array.prototype.splice),fe=R(String.prototype.toLowerCase),Ne=R(String.prototype.toString),lt=R(String.prototype.match),q=R(String.prototype.replace),$t=R(String.prototype.indexOf),qt=R(String.prototype.trim),L=R(Object.prototype.hasOwnProperty),A=R(RegExp.prototype.test),K=Kt(TypeError);function R(r){return function(o){o instanceof RegExp&&(o.lastIndex=0);for(var l=arguments.length,s=new Array(l>1?l-1:0),T=1;T<l;T++)s[T-1]=arguments[T];return we(r,o,s)}}function Kt(r){return function(){for(var o=arguments.length,l=new Array(o),s=0;s<o;s++)l[s]=arguments[s];return xe(r,l)}}function a(r,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fe;rt&&rt(r,null);let s=o.length;for(;s--;){let T=o[s];if(typeof T=="string"){let N=l(T);N!==T&&(Bt(o)||(o[s]=N),T=N)}r[T]=!0}return r}function Zt(r){for(let o=0;o<r.length;o++)L(r,o)||(r[o]=null);return r}function C(r){let o=_t(null);for(let[l,s]of Tt(r))L(r,l)&&(Array.isArray(s)?o[l]=Zt(s):s&&typeof s=="object"&&s.constructor===Object?o[l]=C(s):o[l]=s);return o}function Z(r,o){for(;r!==null;){let s=Xt(r,o);if(s){if(s.get)return R(s.get);if(typeof s.value=="function")return R(s.value)}r=Yt(r)}function l(){return null}return l}var ct=S(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),be=S(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ie=S(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Jt=S(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Me=S(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Qt=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ft=S(["#text"]),ut=S(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Ce=S(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),mt=S(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ce=S(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),en=O(/\{\{[\w\W]*|[\w\W]*\}\}/gm),tn=O(/<%[\w\W]*|[\w\W]*%>/gm),nn=O(/\$\{[\w\W]*/gm),on=O(/^data-[\-\w.\u00B7-\uFFFF]+$/),an=O(/^aria-[\-\w]+$/),Et=O(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),rn=O(/^(?:\w+script|data):/i),sn=O(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),gt=O(/^html$/i),ln=O(/^[a-z][.\w]*(-[.\w]+)+$/i),pt=Object.freeze({__proto__:null,ARIA_ATTR:an,ATTR_WHITESPACE:sn,CUSTOM_ELEMENT:ln,DATA_ATTR:on,DOCTYPE_NAME:gt,ERB_EXPR:tn,IS_ALLOWED_URI:Et,IS_SCRIPT_OR_DATA:rn,MUSTACHE_EXPR:en,TMPLIT_EXPR:nn}),J={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},cn=function(){return typeof window>"u"?null:window},fn=function(o,l){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let s=null,T="data-tt-policy-suffix";l&&l.hasAttribute(T)&&(s=l.getAttribute(T));let N="dompurify"+(s?"#"+s:"");try{return o.createPolicy(N,{createHTML(x){return x},createScriptURL(x){return x}})}catch{return console.warn("TrustedTypes policy "+N+" could not be created."),null}},dt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function ht(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:cn(),o=i=>ht(i);if(o.version="3.2.6",o.removed=[],!r||!r.document||r.document.nodeType!==J.document||!r.Element)return o.isSupported=!1,o;let{document:l}=r,s=l,T=s.currentScript,{DocumentFragment:N,HTMLTemplateElement:x,Node:ue,Element:Pe,NodeFilter:G,NamedNodeMap:At=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:St,DOMParser:Rt,trustedTypes:Q}=r,W=Pe.prototype,yt=Z(W,"cloneNode"),Ot=Z(W,"remove"),Lt=Z(W,"nextSibling"),Dt=Z(W,"childNodes"),ee=Z(W,"parentNode");if(typeof x=="function"){let i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let g,B="",{implementation:me,createNodeIterator:Nt,createDocumentFragment:bt,getElementsByTagName:It}=l,{importNode:Mt}=s,h=dt();o.isSupported=typeof Tt=="function"&&typeof ee=="function"&&me&&me.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:pe,ERB_EXPR:de,TMPLIT_EXPR:Te,DATA_ATTR:Ct,ARIA_ATTR:wt,IS_SCRIPT_OR_DATA:xt,ATTR_WHITESPACE:ve,CUSTOM_ELEMENT:Pt}=pt,{IS_ALLOWED_URI:ke}=pt,m=null,Ue=a({},[...ct,...be,...Ie,...Me,...ft]),d=null,Fe=a({},[...ut,...Ce,...mt,...ce]),f=Object.seal(_t(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Y=null,_e=null,He=!0,Ee=!0,ze=!1,Ge=!0,P=!1,te=!0,w=!1,ge=!1,he=!1,v=!1,ne=!1,oe=!1,We=!0,Be=!1,vt="user-content-",Ae=!0,X=!1,k={},U=null,Ye=a({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Xe=null,je=a({},["audio","video","img","source","image","track"]),Se=null,Ve=a({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ie="http://www.w3.org/1998/Math/MathML",ae="http://www.w3.org/2000/svg",b="http://www.w3.org/1999/xhtml",F=b,Re=!1,ye=null,kt=a({},[ie,ae,b],Ne),re=a({},["mi","mo","mn","ms","mtext"]),se=a({},["annotation-xml"]),Ut=a({},["title","style","font","a","script"]),j=null,Ft=["application/xhtml+xml","text/html"],Ht="text/html",p=null,H=null,zt=l.createElement("form"),$e=function(e){return e instanceof RegExp||e instanceof Function},Oe=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(H&&H===e)){if((!e||typeof e!="object")&&(e={}),e=C(e),j=Ft.indexOf(e.PARSER_MEDIA_TYPE)===-1?Ht:e.PARSER_MEDIA_TYPE,p=j==="application/xhtml+xml"?Ne:fe,m=L(e,"ALLOWED_TAGS")?a({},e.ALLOWED_TAGS,p):Ue,d=L(e,"ALLOWED_ATTR")?a({},e.ALLOWED_ATTR,p):Fe,ye=L(e,"ALLOWED_NAMESPACES")?a({},e.ALLOWED_NAMESPACES,Ne):kt,Se=L(e,"ADD_URI_SAFE_ATTR")?a(C(Ve),e.ADD_URI_SAFE_ATTR,p):Ve,Xe=L(e,"ADD_DATA_URI_TAGS")?a(C(je),e.ADD_DATA_URI_TAGS,p):je,U=L(e,"FORBID_CONTENTS")?a({},e.FORBID_CONTENTS,p):Ye,Y=L(e,"FORBID_TAGS")?a({},e.FORBID_TAGS,p):C({}),_e=L(e,"FORBID_ATTR")?a({},e.FORBID_ATTR,p):C({}),k=L(e,"USE_PROFILES")?e.USE_PROFILES:!1,He=e.ALLOW_ARIA_ATTR!==!1,Ee=e.ALLOW_DATA_ATTR!==!1,ze=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ge=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,P=e.SAFE_FOR_TEMPLATES||!1,te=e.SAFE_FOR_XML!==!1,w=e.WHOLE_DOCUMENT||!1,v=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,oe=e.RETURN_TRUSTED_TYPE||!1,he=e.FORCE_BODY||!1,We=e.SANITIZE_DOM!==!1,Be=e.SANITIZE_NAMED_PROPS||!1,Ae=e.KEEP_CONTENT!==!1,X=e.IN_PLACE||!1,ke=e.ALLOWED_URI_REGEXP||Et,F=e.NAMESPACE||b,re=e.MATHML_TEXT_INTEGRATION_POINTS||re,se=e.HTML_INTEGRATION_POINTS||se,f=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&$e(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(f.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&$e(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(f.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(f.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),P&&(Ee=!1),ne&&(v=!0),k&&(m=a({},ft),d=[],k.html===!0&&(a(m,ct),a(d,ut)),k.svg===!0&&(a(m,be),a(d,Ce),a(d,ce)),k.svgFilters===!0&&(a(m,Ie),a(d,Ce),a(d,ce)),k.mathMl===!0&&(a(m,Me),a(d,mt),a(d,ce))),e.ADD_TAGS&&(m===Ue&&(m=C(m)),a(m,e.ADD_TAGS,p)),e.ADD_ATTR&&(d===Fe&&(d=C(d)),a(d,e.ADD_ATTR,p)),e.ADD_URI_SAFE_ATTR&&a(Se,e.ADD_URI_SAFE_ATTR,p),e.FORBID_CONTENTS&&(U===Ye&&(U=C(U)),a(U,e.FORBID_CONTENTS,p)),Ae&&(m["#text"]=!0),w&&a(m,["html","head","body"]),m.table&&(a(m,["tbody"]),delete Y.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');g=e.TRUSTED_TYPES_POLICY,B=g.createHTML("")}else g===void 0&&(g=fn(Q,T)),g!==null&&typeof B=="string"&&(B=g.createHTML(""));S&&S(e),H=e}},qe=a({},[...be,...Ie,...Jt]),Ke=a({},[...Me,...Qt]),Gt=function(e){let t=ee(e);(!t||!t.tagName)&&(t={namespaceURI:F,tagName:"template"});let n=fe(e.tagName),c=fe(t.tagName);return ye[e.namespaceURI]?e.namespaceURI===ae?t.namespaceURI===b?n==="svg":t.namespaceURI===ie?n==="svg"&&(c==="annotation-xml"||re[c]):!!qe[n]:e.namespaceURI===ie?t.namespaceURI===b?n==="math":t.namespaceURI===ae?n==="math"&&se[c]:!!Ke[n]:e.namespaceURI===b?t.namespaceURI===ae&&!se[c]||t.namespaceURI===ie&&!re[c]?!1:!Ke[n]&&(Ut[n]||!qe[n]):!!(j==="application/xhtml+xml"&&ye[e.namespaceURI]):!1},D=function(e){$(o.removed,{element:e});try{ee(e).removeChild(e)}catch{Ot(e)}},z=function(e,t){try{$(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch{$(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(v||ne)try{D(t)}catch{}else try{t.setAttribute(e,"")}catch{}},Ze=function(e){let t=null,n=null;if(he)e="<remove></remove>"+e;else{let u=lt(e,/^[\r\n\t ]+/);n=u&&u[0]}j==="application/xhtml+xml"&&F===b&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let c=g?g.createHTML(e):e;if(F===b)try{t=new Rt().parseFromString(c,j)}catch{}if(!t||!t.documentElement){t=me.createDocument(F,"template",null);try{t.documentElement.innerHTML=Re?B:c}catch{}}let _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),F===b?It.call(t,w?"html":"body")[0]:w?t.documentElement:_},Je=function(e){return Nt.call(e.ownerDocument||e,e,G.SHOW_ELEMENT|G.SHOW_COMMENT|G.SHOW_TEXT|G.SHOW_PROCESSING_INSTRUCTION|G.SHOW_CDATA_SECTION,null)},Le=function(e){return e instanceof St&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof At)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},Qe=function(e){return typeof ue=="function"&&e instanceof ue};function I(i,e,t){le(i,n=>{n.call(o,e,t,H)})}let et=function(e){let t=null;if(I(h.beforeSanitizeElements,e,null),Le(e))return D(e),!0;let n=p(e.nodeName);if(I(h.uponSanitizeElement,e,{tagName:n,allowedTags:m}),te&&e.hasChildNodes()&&!Qe(e.firstElementChild)&&A(/<[/\w!]/g,e.innerHTML)&&A(/<[/\w!]/g,e.textContent)||e.nodeType===J.progressingInstruction||te&&e.nodeType===J.comment&&A(/<[/\w]/g,e.data))return D(e),!0;if(!m[n]||Y[n]){if(!Y[n]&&nt(n)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,n)||f.tagNameCheck instanceof Function&&f.tagNameCheck(n)))return!1;if(Ae&&!U[n]){let c=ee(e)||e.parentNode,_=Dt(e)||e.childNodes;if(_&&c){let u=_.length;for(let y=u-1;y>=0;--y){let M=yt(_[y],!0);M.__removalCount=(e.__removalCount||0)+1,c.insertBefore(M,Lt(e))}}}return D(e),!0}return e instanceof Pe&&!Gt(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&A(/<\/no(script|embed|frames)/i,e.innerHTML)?(D(e),!0):(P&&e.nodeType===J.text&&(t=e.textContent,le([pe,de,Te],c=>{t=q(t,c," ")}),e.textContent!==t&&($(o.removed,{element:e.cloneNode()}),e.textContent=t)),I(h.afterSanitizeElements,e,null),!1)},tt=function(e,t,n){if(We&&(t==="id"||t==="name")&&(n in l||n in zt))return!1;if(!(Ee&&!_e[t]&&A(Ct,t))){if(!(He&&A(wt,t))){if(!d[t]||_e[t]){if(!(nt(e)&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,e)||f.tagNameCheck instanceof Function&&f.tagNameCheck(e))&&(f.attributeNameCheck instanceof RegExp&&A(f.attributeNameCheck,t)||f.attributeNameCheck instanceof Function&&f.attributeNameCheck(t))||t==="is"&&f.allowCustomizedBuiltInElements&&(f.tagNameCheck instanceof RegExp&&A(f.tagNameCheck,n)||f.tagNameCheck instanceof Function&&f.tagNameCheck(n))))return!1}else if(!Se[t]){if(!A(ke,q(n,ve,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&$t(n,"data:")===0&&Xe[e])){if(!(ze&&!A(xt,q(n,ve,"")))){if(n)return!1}}}}}}return!0},nt=function(e){return e!=="annotation-xml"&&lt(e,Pt)},ot=function(e){I(h.beforeSanitizeAttributes,e,null);let{attributes:t}=e;if(!t||Le(e))return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:d,forceKeepAttr:void 0},c=t.length;for(;c--;){let _=t[c],{name:u,namespaceURI:y,value:M}=_,V=p(u),De=M,E=u==="value"?De:qt(De);if(n.attrName=V,n.attrValue=E,n.keepAttr=!0,n.forceKeepAttr=void 0,I(h.uponSanitizeAttribute,e,n),E=n.attrValue,Be&&(V==="id"||V==="name")&&(z(u,e),E=vt+E),te&&A(/((--!?|])>)|<\/(style|title)/i,E)){z(u,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){z(u,e);continue}if(!Ge&&A(/\/>/i,E)){z(u,e);continue}P&&le([pe,de,Te],at=>{E=q(E,at," ")});let it=p(e.nodeName);if(!tt(it,V,E)){z(u,e);continue}if(g&&typeof Q=="object"&&typeof Q.getAttributeType=="function"&&!y)switch(Q.getAttributeType(it,V)){case"TrustedHTML":{E=g.createHTML(E);break}case"TrustedScriptURL":{E=g.createScriptURL(E);break}}if(E!==De)try{y?e.setAttributeNS(y,u,E):e.setAttribute(u,E),Le(e)?D(e):st(o.removed)}catch{z(u,e)}}I(h.afterSanitizeAttributes,e,null)},Wt=function i(e){let t=null,n=Je(e);for(I(h.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)I(h.uponSanitizeShadowNode,t,null),et(t),ot(t),t.content instanceof N&&i(t.content);I(h.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,c=null,_=null;if(Re=!i,Re&&(i="<!-->"),typeof i!="string"&&!Qe(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw K("dirty is not a string, aborting")}else throw K("toString is not a function");if(!o.isSupported)return i;if(ge||Oe(e),o.removed=[],typeof i=="string"&&(X=!1),X){if(i.nodeName){let M=p(i.nodeName);if(!m[M]||Y[M])throw K("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof ue)t=Ze("<!---->"),n=t.ownerDocument.importNode(i,!0),n.nodeType===J.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!v&&!P&&!w&&i.indexOf("<")===-1)return g&&oe?g.createHTML(i):i;if(t=Ze(i),!t)return v?null:oe?B:""}t&&he&&D(t.firstChild);let u=Je(X?i:t);for(;c=u.nextNode();)et(c),ot(c),c.content instanceof N&&Wt(c.content);if(X)return i;if(v){if(ne)for(_=bt.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(d.shadowroot||d.shadowrootmode)&&(_=Mt.call(s,_,!0)),_}let y=w?t.outerHTML:t.innerHTML;return w&&m["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&A(gt,t.ownerDocument.doctype.name)&&(y="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
5
5
  `+y),P&&le([pe,de,Te],M=>{y=q(y,M," ")}),g&&oe?g.createHTML(y):y},o.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Oe(i),ge=!0},o.clearConfig=function(){H=null,ge=!1},o.isValidAttribute=function(i,e,t){H||Oe({});let n=p(i),c=p(e);return tt(n,c,t)},o.addHook=function(i,e){typeof e=="function"&&$(h[i],e)},o.removeHook=function(i,e){if(e!==void 0){let t=jt(h[i],e);return t===-1?void 0:Vt(h[i],t,1)[0]}return st(h[i])},o.removeHooks=function(i){h[i]=[]},o.removeAllHooks=function(){h=dt()},o}var un=ht();export{un as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.3 */
4
- import{a as X}from"./X6CICXR6.js";import{a as s}from"./62ZWA6O7.js";import{c as x}from"./VS4BFKL3.js";import{a as J,b as H}from"./G4JWUXWW.js";import{h as V,i as z}from"./RRF3ACRD.js";import{b as R,c as w}from"./BT6EYE4X.js";import{d as U,e as M,h as I,j as h,m as K,p as P,q as T,r as N,s as C,t as B}from"./QLVDQY5R.js";import"./IAGXR3NP.js";import"./7XCWAN5G.js";import"./JMQV4UK4.js";import"./J5Z6XBH5.js";import{a as S,b as c,c as f,d as L,e as E,f as k}from"./ZMPOAOPQ.js";import"./6DFZGD4Y.js";import{i as G}from"./WFX5NIY6.js";import"./7ANMAQXN.js";import{a as p}from"./EYRRGEDQ.js";import"./OVCAOTN3.js";import"./XRFRTU7J.js";import"./FP7ZUAH6.js";import"./JIYQEZGV.js";import{k as O,s as j}from"./RIVVWLOA.js";import"./SYSMKBTI.js";import"./M7HTAQHD.js";import"./ASBGMXK6.js";import{a as d}from"./Z5LX6R34.js";import"./RHHKJQMD.js";import"./SL2K7YIF.js";import"./K6A5BZGW.js";function b(e,t){if(e===t)return!0;if(e&&t&&x(e)&&x(t)){if(Array.isArray(e)!==Array.isArray(t))return!1;let o=Object.keys(e);return o.length!==Object.keys(t).length?!1:o.every(r=>b(e[r],t[r]))}return!1}var le=/\/[a-zA-Z]+server(\/|\/(\d+))?$/i;function Q(e){return le.test(e)}var pe=async(e,t)=>{let o=await fetch(C(e,t)),r=await o.json();if(!o.ok||r.statusCode===404)return{message:`Download schedule not found for item ${e}`,statusCode:404,schedule:null};if(r.mode==="manual")return{schedule:{mode:"manual"},message:`Download schedule found for item ${e}`,statusCode:200};switch(delete r.itemId,r.cadence){case"daily":case"weekly":case"monthly":case"yearly":return{schedule:Object.assign(Object.assign({},r),{mode:"scheduled"}),message:`Download schedule found for item ${e}`,statusCode:200}}},ce=async(e,t,o)=>{let r=p(t);r.mode!=="manual"&&delete r.mode;let a=C(e,o),i={method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify(Object.assign(Object.assign({},r),{itemId:e}))},n=await fetch(a,i);return Object.assign(Object.assign({},await n.json()),{statusCode:n.status})},me=async(e,t)=>{let o=C(e,t),a=await fetch(o,{method:"DELETE",headers:{accept:"application/json"}});return Object.assign(Object.assign({},await a.json()),{statusCode:a.status})},$=async(e,t)=>{let o=await pe(e.id,t);return e.schedule.mode==="automatic"&&o.statusCode===404?{message:"No schedule set, and incoming schedule is automatic.",statusCode:404}:b(e.schedule,o.schedule)?{message:"No action needed as schedules deepEqual each other."}:e.schedule.mode==="automatic"?await me(e.id,t):await ce(e.id,e.schedule,t)},Y=(e,t)=>{var o,r;let a=(o=e.authentication)===null||o===void 0?void 0:o.token;return((r=e.portal)===null||r===void 0?void 0:r.includes("arcgis.com"))&&t==="public"&&!!a};function v(){let e=J();return e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"licenseInfo",storeKey:"item.licenseInfo"}),e.push({entityKey:"size",storeKey:"item.size"}),e}function W(e,t,o,r={}){let a;o.authentication&&(a=o.authentication.token),t=H(e.item,t);let i=K(e.item,o,a);if(t.thumbnailUrl=i,t.links={self:G(t.id,o),siteRelative:P(t.type,t.slug||t.id,t.typeKeywords),siteRelativeEntityType:P(t.type),workspaceRelative:X("content",t.id),thumbnail:i,contentEditUrl:N(e.item,o)},t.licenseInfo=e.item.licenseInfo||"",t.schedule=r.schedule,t.extendedProps=Q(t.url)?ue(e.item,r,o):fe(e.item,r,o),r.server){t.serverQueryCapability=f(c.QUERY,r.server),t.serverExtractCapability=f(c.EXTRACT,r.server);let n=d(r,"server.supportedExportFormats");t.serverExtractFormats=n&&n.split(",")}return r.metadata&&(t.additionalResources=T(e.item,r.metadata,o)),t}function ue(e,t,o){let r=Z(e,t,o),a=Object.assign(Object.assign({},r),{kind:"service"});if(t.server){a.server=t.server,a.serverQueryCapability=f(c.QUERY,t.server),a.serverExtractCapability=f(c.EXTRACT,t.server);let i=d(t,"server.supportedExportFormats");a.serverExtractFormats=i&&i.split(",")}return a}function fe(e,t,o){let r=Z(e,t,o);return Object.assign(Object.assign({},r),{kind:"content"})}function Z(e,t,o){return{kind:null,metadata:t.metadata,additionalResources:T(e,t.metadata,o),downloads:d(e,"properties.downloads")}}function q(e,t,o){let a=new w(v()).storeToEntity(e,{});return W(e,a,t,o)}var A=[s.JPG,s.PNG,s.PNG8,s.PNG24,s.PNG32],ee=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML],te=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB],D=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB,s.FEATURE_COLLECTION,s.EXCEL,s.GEO_PACKAGE,s.SQLITE,s.JSON];function oe(e){let t=e.serverExtractFormats||[],o=D.filter(a=>t.includes(a)),r=t.filter(a=>!D.includes(a));return[...o,...r].map(a=>({type:"dynamic",format:a}))}function re(e){return((d(e,"extendedProps.server.currentVersion")||0)<10.2?A.filter(r=>r!==s.PNG32):A).map(r=>({type:"dynamic",format:r}))}function ae(){return ee.map(e=>({type:"dynamic",format:e}))}function se(){return te.map(e=>({type:"dynamic",format:e}))}function ie(e,t){let o=[],r={createReplica:()=>{o=oe(t)},paging:()=>{o=ae()},fgdb:()=>{o=se()},exportImage:()=>{o=re(t)}};return r[e]&&r[e](),o}function ne(e){let t=E(e),o=ie(t,e),r=d(e,"extendedProps.additionalResources")||[],a=d(e,"extendedProps.downloads"),i=o.map(l=>({key:l.format,hidden:!1}));if(r.forEach((l,m)=>{i.push({key:`additionalResource::${m}`,hidden:!1})}),a&&a.flowType===t){let l=i.filter(u=>!a.formats.find(g=>g.key===u.key)),m=a.formats.filter(u=>i.find(g=>g.key===u.key));return{flowType:t,formats:[...m,...l]}}return{flowType:t,formats:i}}var ge={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function Ft(e,t){let o=Object.assign({},e);o.typeKeywords=R(o.typeKeywords,o.isDiscussable);let r=new w(v()),a=r.entityToStore(o,p(ge));return a=await V(a,t),r.storeToEntity(a,{})}async function xt(e,t){let o=await O(e.id,t),r={item:o};e.typeKeywords=R(e.typeKeywords,e.isDiscussable);let i=new w(v()).entityToStore(e,r),n=E(e),l=d(e,"extendedProps.downloads.formats"),m=S(e)&&n!=="createReplica";if(k(e)&&n&&l&&!m){let y=p(e.extendedProps.downloads);h("item.properties.downloads",y,i,!0)}let g=await z(i,t),F={};if(S(e)){let y=await M(Object.assign(Object.assign({},t),{url:e.url}));if(f(c.EXTRACT,y)!==e.serverExtractCapability){let _=L(c.EXTRACT,y),de={capabilities:_.capabilities};await I(U(e.url),{authentication:t.authentication,updateDefinition:de}),F.server=_}else F.server=y}return Y(t,e.access)&&(b(e._forceUpdate,[!0])&&await B(o.id,t),delete e._forceUpdate,await $(e,t)),q(g,t,F)}async function ht(e,t){let o=Object.assign(Object.assign({},t),{id:e});await j(o)}function St(e,t){var o;let r=p(e);delete r.downloadFormats;let a=p(r);if(E(a)&&e.downloadFormats){let n=ne(a),l=e.downloadFormats.map(m=>{let u=p(m);return delete u.label,u});n.formats=l,h("extendedProps.downloads",n,a,!0)}return a.extent=((o=e.location)===null||o===void 0?void 0:o.extent)||[],a}export{Ft as createContent,ht as deleteContent,St as editorToContent,xt as updateContent};
3
+ v1.0.5 */
4
+ import{a as X}from"./XK7SWBXE.js";import{a as s}from"./XU3KAISP.js";import{c as x}from"./I3ZD6IV4.js";import{a as J,b as H}from"./64ETTMNQ.js";import{h as V,i as z}from"./RIQFARZP.js";import{b as R,c as w}from"./TVGUICDI.js";import{d as U,e as M,h as I,j as h,m as K,p as P,q as T,r as N,s as C,t as B}from"./GKBVNMEW.js";import"./43R5NRNV.js";import"./IHQISHAM.js";import"./Q66CZJP6.js";import"./2VXYY4NW.js";import{a as S,b as c,c as f,d as L,e as E,f as k}from"./SBX54Z43.js";import"./65NNPWV7.js";import{i as G}from"./GFTGPFHL.js";import"./OG4FHSPI.js";import{a as p}from"./MK7N6OTA.js";import"./WQKEPPJH.js";import"./2QFMILDU.js";import"./EEECQWVR.js";import"./S5TXHJGZ.js";import{k as O,s as j}from"./AQZ3QIKE.js";import"./B2AAEHPJ.js";import"./WIVOL6CT.js";import"./T6PMIZLP.js";import{a as d}from"./6U4PV22I.js";import"./UCI3QQAA.js";import"./Z3XBAPZC.js";import"./UITEOOYI.js";function b(e,t){if(e===t)return!0;if(e&&t&&x(e)&&x(t)){if(Array.isArray(e)!==Array.isArray(t))return!1;let o=Object.keys(e);return o.length!==Object.keys(t).length?!1:o.every(r=>b(e[r],t[r]))}return!1}var le=/\/[a-zA-Z]+server(\/|\/(\d+))?$/i;function Q(e){return le.test(e)}var pe=async(e,t)=>{let o=await fetch(C(e,t)),r=await o.json();if(!o.ok||r.statusCode===404)return{message:`Download schedule not found for item ${e}`,statusCode:404,schedule:null};if(r.mode==="manual")return{schedule:{mode:"manual"},message:`Download schedule found for item ${e}`,statusCode:200};switch(delete r.itemId,r.cadence){case"daily":case"weekly":case"monthly":case"yearly":return{schedule:Object.assign(Object.assign({},r),{mode:"scheduled"}),message:`Download schedule found for item ${e}`,statusCode:200}}},ce=async(e,t,o)=>{let r=p(t);r.mode!=="manual"&&delete r.mode;let a=C(e,o),i={method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify(Object.assign(Object.assign({},r),{itemId:e}))},n=await fetch(a,i);return Object.assign(Object.assign({},await n.json()),{statusCode:n.status})},me=async(e,t)=>{let o=C(e,t),a=await fetch(o,{method:"DELETE",headers:{accept:"application/json"}});return Object.assign(Object.assign({},await a.json()),{statusCode:a.status})},$=async(e,t)=>{let o=await pe(e.id,t);return e.schedule.mode==="automatic"&&o.statusCode===404?{message:"No schedule set, and incoming schedule is automatic.",statusCode:404}:b(e.schedule,o.schedule)?{message:"No action needed as schedules deepEqual each other."}:e.schedule.mode==="automatic"?await me(e.id,t):await ce(e.id,e.schedule,t)},Y=(e,t)=>{var o,r;let a=(o=e.authentication)===null||o===void 0?void 0:o.token;return((r=e.portal)===null||r===void 0?void 0:r.includes("arcgis.com"))&&t==="public"&&!!a};function v(){let e=J();return e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"licenseInfo",storeKey:"item.licenseInfo"}),e.push({entityKey:"size",storeKey:"item.size"}),e}function W(e,t,o,r={}){let a;o.authentication&&(a=o.authentication.token),t=H(e.item,t);let i=K(e.item,o,a);if(t.thumbnailUrl=i,t.links={self:G(t.id,o),siteRelative:P(t.type,t.slug||t.id,t.typeKeywords),siteRelativeEntityType:P(t.type),workspaceRelative:X("content",t.id),thumbnail:i,contentEditUrl:N(e.item,o)},t.licenseInfo=e.item.licenseInfo||"",t.schedule=r.schedule,t.extendedProps=Q(t.url)?ue(e.item,r,o):fe(e.item,r,o),r.server){t.serverQueryCapability=f(c.QUERY,r.server),t.serverExtractCapability=f(c.EXTRACT,r.server);let n=d(r,"server.supportedExportFormats");t.serverExtractFormats=n&&n.split(",")}return r.metadata&&(t.additionalResources=T(e.item,r.metadata,o)),t}function ue(e,t,o){let r=Z(e,t,o),a=Object.assign(Object.assign({},r),{kind:"service"});if(t.server){a.server=t.server,a.serverQueryCapability=f(c.QUERY,t.server),a.serverExtractCapability=f(c.EXTRACT,t.server);let i=d(t,"server.supportedExportFormats");a.serverExtractFormats=i&&i.split(",")}return a}function fe(e,t,o){let r=Z(e,t,o);return Object.assign(Object.assign({},r),{kind:"content"})}function Z(e,t,o){return{kind:null,metadata:t.metadata,additionalResources:T(e,t.metadata,o),downloads:d(e,"properties.downloads")}}function q(e,t,o){let a=new w(v()).storeToEntity(e,{});return W(e,a,t,o)}var A=[s.JPG,s.PNG,s.PNG8,s.PNG24,s.PNG32],ee=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML],te=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB],D=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB,s.FEATURE_COLLECTION,s.EXCEL,s.GEO_PACKAGE,s.SQLITE,s.JSON];function oe(e){let t=e.serverExtractFormats||[],o=D.filter(a=>t.includes(a)),r=t.filter(a=>!D.includes(a));return[...o,...r].map(a=>({type:"dynamic",format:a}))}function re(e){return((d(e,"extendedProps.server.currentVersion")||0)<10.2?A.filter(r=>r!==s.PNG32):A).map(r=>({type:"dynamic",format:r}))}function ae(){return ee.map(e=>({type:"dynamic",format:e}))}function se(){return te.map(e=>({type:"dynamic",format:e}))}function ie(e,t){let o=[],r={createReplica:()=>{o=oe(t)},paging:()=>{o=ae()},fgdb:()=>{o=se()},exportImage:()=>{o=re(t)}};return r[e]&&r[e](),o}function ne(e){let t=E(e),o=ie(t,e),r=d(e,"extendedProps.additionalResources")||[],a=d(e,"extendedProps.downloads"),i=o.map(l=>({key:l.format,hidden:!1}));if(r.forEach((l,m)=>{i.push({key:`additionalResource::${m}`,hidden:!1})}),a&&a.flowType===t){let l=i.filter(u=>!a.formats.find(g=>g.key===u.key)),m=a.formats.filter(u=>i.find(g=>g.key===u.key));return{flowType:t,formats:[...m,...l]}}return{flowType:t,formats:i}}var ge={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function Ft(e,t){let o=Object.assign({},e);o.typeKeywords=R(o.typeKeywords,o.isDiscussable);let r=new w(v()),a=r.entityToStore(o,p(ge));return a=await V(a,t),r.storeToEntity(a,{})}async function xt(e,t){let o=await O(e.id,t),r={item:o};e.typeKeywords=R(e.typeKeywords,e.isDiscussable);let i=new w(v()).entityToStore(e,r),n=E(e),l=d(e,"extendedProps.downloads.formats"),m=S(e)&&n!=="createReplica";if(k(e)&&n&&l&&!m){let y=p(e.extendedProps.downloads);h("item.properties.downloads",y,i,!0)}let g=await z(i,t),F={};if(S(e)){let y=await M(Object.assign(Object.assign({},t),{url:e.url}));if(f(c.EXTRACT,y)!==e.serverExtractCapability){let _=L(c.EXTRACT,y),de={capabilities:_.capabilities};await I(U(e.url),{authentication:t.authentication,updateDefinition:de}),F.server=_}else F.server=y}return Y(t,e.access)&&(b(e._forceUpdate,[!0])&&await B(o.id,t),delete e._forceUpdate,await $(e,t)),q(g,t,F)}async function ht(e,t){let o=Object.assign(Object.assign({},t),{id:e});await j(o)}function St(e,t){var o;let r=p(e);delete r.downloadFormats;let a=p(r);if(E(a)&&e.downloadFormats){let n=ne(a),l=e.downloadFormats.map(m=>{let u=p(m);return delete u.label,u});n.formats=l,h("extendedProps.downloads",n,a,!0)}return a.extent=((o=e.location)===null||o===void 0?void 0:o.extent)||[],a}export{Ft as createContent,ht as deleteContent,St as editorToContent,xt as updateContent};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.3 */
4
- import"./K6A5BZGW.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
3
+ v1.0.5 */
4
+ import"./UITEOOYI.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.5 */
4
+ import{H as l,J as I}from"./FLX4QZPY.js";import{h}from"./76JQ5L7D.js";function w(i){return i.reduce((r,n)=>{let t=n.item.title||n.item.name;if(n.type==="Feature Service"&&(n.item.typeKeywords||[]).indexOf("View Service")<0&&r.indexOf(t)<0){let e=l(n,"properties.service.spatialReference.wkid");r.push({id:n.itemId,name:t,enabled:e.toString().startsWith(h),wkid:e})}return r},[])}function b(i){let r=x(i),n=r.reduce((t,e)=>(t.push(e.id),t),[]);return i.reduce((t,e)=>{if(n.indexOf(e.itemId)>-1){let d=r.filter(o=>o.id===e.itemId);t.push(y(e,i,d[0].dependencies))}return t},[])}function x(i){let r=[];function n(s,c){let u=s.findIndex(a=>c===a.itemId);return u>=0?s[u]:null}function t(s,c,u=[]){let a=n(i,s);if(a){let p={id:s,dependencies:[]};u.indexOf(s)<0&&(u.push(s),a.dependencies.forEach(m=>{let f=e.indexOf(m);f>=0&&e.splice(f,1),t(m,p.dependencies,u)})),c.push(p)}}let e=$(i),d=i.filter(s=>e.indexOf(s.itemId)<0).sort((s,c)=>c.dependencies.length-s.dependencies.length);e=e.concat(d.map(s=>s.itemId));let o=e.shift();for(;typeof o<"u";)t(o,r),o=e.shift();return r}function S(i){return[{id:"",title:i.geocodeUrl,value:"{{organization.helperServices.geocode:getDefaultLocatorURL}}"},{id:"",title:i.geometryUrl,value:"{{organization.helperServices.geometry.url}}"},{id:"",title:i.portalBaseUrl,value:"{{portalBaseUrl}}"},{id:"",title:i.routeUrl,value:"{{organization.helperServices.route.url}}"},{id:"",title:i.solutionItemExtent,value:"{{solutionItemExtent}}"}]}function U(i,r){let n=[];return i.forEach(t=>{let e={id:t.itemId,title:t.item.title||t.item.name,type:t.type,value:void 0,dependencies:[{id:t.itemId,title:r.itemId,value:`{{${t.itemId}.itemId}}`}]};t.item.url&&e.dependencies.push({id:t.itemId,title:r.url,value:`{{${t.itemId}.url}}`}),t.type==="Feature Service"&&(e.dependencies.push({id:t.itemId,title:r.solutionExtent,value:`{{${t.itemId}.solutionExtent}}`}),v(t.properties.layers||[],e,t,r),v(t.properties.tables||[],e,t,r)),n.push(e)}),n}function k(i,r){let n={};i.forEach(d=>{n[d.id]=d.enabled});let t=l(r,"params.wkid.default"),e=I(r,"params.wkid.attributes.required",!1);return t?{enabled:e,default:t,services:n}:{enabled:e,services:n}}function v(i,r,n,t){i.forEach(e=>{let d=e.name&&e.name.indexOf("||")>-1?e.name.split("||")[1].replace("}}","").trim():e.name;r.dependencies.push({id:n.itemId,title:`${d} (${t.id})`,value:`{{${n.itemId}.layer${e.id}.id}}`}),r.dependencies.push({id:n.itemId,title:`${d} (${t.name})`,value:`{{${n.itemId}.layer${e.id}.name||${d}}}`})})}function y(i,r,n){return{id:i.itemId||"",title:i.item.title||"",dependencies:g(n,r),type:i.item.type||"",typeKeywords:i.item.typeKeywords||[]}}function g(i,r){let n=[],t=i.reduce((e,d)=>(e.push(d.id),n.push(d),e),[]);return r.reduce((e,d)=>{let o=t.indexOf(d.itemId);return o>-1&&e.push(y(d,r,n[o].dependencies)),e},[])}function $(i){let r=i.map(n=>n.itemId);return i.forEach(n=>{(n.dependencies||[]).forEach(t=>{let e=r.indexOf(t);e>=0&&r.splice(e,1)})}),r}export{w as a,b,S as c,U as d,k as e};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.3 */
4
- import{a,b}from"./QA65PTZZ.js";import"./IGM6T5LG.js";import"./SL2K7YIF.js";import"./6BX7KLOB.js";import"./K6A5BZGW.js";export{a as PageEditorTypes,b as PageSchema};
3
+ v1.0.5 */
4
+ import{a,b}from"./CGZZGJLP.js";import"./WBAN3UIC.js";import"./Z3XBAPZC.js";import"./IFPYTV3R.js";import"./UITEOOYI.js";export{a as PageEditorTypes,b as PageSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.3 */
4
- import{a as n}from"./LN5LFFQL.js";import{D as r,c as s,d as t,p as i,y as o}from"./QSBF5CAO.js";import"./K6A5BZGW.js";var a=s`@layer{/** @license
3
+ v1.0.5 */
4
+ import{a as n}from"./TA3ZXQAF.js";import{D as r,c as s,d as i,y as t}from"./D3RXCR6Q.js";import"./UITEOOYI.js";var o=s`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,4 +15,4 @@ import{a as n}from"./LN5LFFQL.js";import{D as r,c as s,d as t,p as i,y as o}from
15
15
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
  * See the License for the specific language governing permissions and
17
17
  * limitations under the License.
18
- */}`,e=class extends o{constructor(){super(...arguments),this._translations=n({name:"solutions-articles-shell",blocking:!0})}static{this.properties={_translations:16}}static{this.styles=a}static{this.shadowRootOptions=i}render(){return t`<calcite-shell></calcite-shell>`}};r("solutions-articles-shell",e);export{e as SolutionsArticlesShell};
18
+ */`,e=class extends t{constructor(){super(...arguments),this._translations=n({name:"solutions-articles-shell",blocking:!0})}static{this.properties={_translations:16}}static{this.styles=o}render(){return i`<calcite-shell></calcite-shell>`}};r("solutions-articles-shell",e);export{e as SolutionsArticlesShell};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.3 */
4
- import{g as N}from"./ZWTSIAER.js";async function h(a,g,i){let e=g?.layer;if(!a)return e?.effect?e.effect:e?.featureEffect?i==="includedEffect"?e.featureEffect.includedEffect:e.featureEffect.excludedEffect:null;let u=await N(),d=new u({includedEffect:a}).toJSON().includedEffect,r=d,p=e.effect,y=e.featureEffect,l=null;y?l=i==="includedEffect"?e.featureEffect?.includedEffect:e.featureEffect?.excludedEffect:l=p;let s=l?d:null;if(!s)return u.fromJSON({includedEffect:d}).includedEffect;let f=[...s];return r&&r.forEach(c=>{f.forEach(t=>{let{value:o}=t;if(o)o.forEach((E,S)=>{E.type===c.type?o[S]=c:!t.value.find(J=>J.type===r[0].type)&&(t.value=[...t.value,...r])});else{let E=!f.find(n=>n.type===t.type);!f.find(n=>n.type===c.type)&&(f=[...f,c]),E&&(f=[...f,t])}})}),u.fromJSON({includedEffect:f}).includedEffect}export{h as a};
3
+ v1.0.5 */
4
+ import{g as N}from"./QP26HSVE.js";async function h(a,g,i){let e=g?.layer;if(!a)return e?.effect?e.effect:e?.featureEffect?i==="includedEffect"?e.featureEffect.includedEffect:e.featureEffect.excludedEffect:null;let u=await N(),d=new u({includedEffect:a}).toJSON().includedEffect,r=d,p=e.effect,y=e.featureEffect,l=null;y?l=i==="includedEffect"?e.featureEffect?.includedEffect:e.featureEffect?.excludedEffect:l=p;let s=l?d:null;if(!s)return u.fromJSON({includedEffect:d}).includedEffect;let f=[...s];return r&&r.forEach(c=>{f.forEach(t=>{let{value:o}=t;if(o)o.forEach((E,S)=>{E.type===c.type?o[S]=c:!t.value.find(J=>J.type===r[0].type)&&(t.value=[...t.value,...r])});else{let E=!f.find(n=>n.type===t.type);!f.find(n=>n.type===c.type)&&(f=[...f,c]),E&&(f=[...f,t])}})}),u.fromJSON({includedEffect:f}).includedEffect}export{h as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.3 */
3
+ v1.0.5 */
4
4
  function u(r,t={}){return(...e)=>r(...e).catch(n=>t)}export{u as a};