@esri/hub-web-components 0.26.1 → 0.27.0

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 (1394) hide show
  1. package/dist/cdn/26J25DJ4.js +4 -0
  2. package/dist/cdn/2BSBK5DW.js +4 -0
  3. package/dist/cdn/2BWPEKLD.js +4 -0
  4. package/dist/cdn/2COUSLV4.js +4 -0
  5. package/dist/cdn/2CRXQRXN.js +4 -0
  6. package/dist/cdn/2DG4L4SF.js +4 -0
  7. package/dist/cdn/2E3SRUXX.js +4 -0
  8. package/dist/cdn/2GKP4NXU.js +4 -0
  9. package/dist/cdn/2GUFUJBQ.js +4 -0
  10. package/dist/cdn/2H36CICW.js +4 -0
  11. package/dist/cdn/2HN2MEQ7.js +4 -0
  12. package/dist/cdn/2K7QXVYL.js +4 -0
  13. package/dist/cdn/2PFMKRMT.js +4 -0
  14. package/dist/cdn/2RBNXVUD.js +4 -0
  15. package/dist/cdn/2SDMNNQO.js +4 -0
  16. package/dist/cdn/2SND65ON.js +4 -0
  17. package/dist/cdn/2SV7GGHT.js +4 -0
  18. package/dist/cdn/2TA7PV6A.js +4 -0
  19. package/dist/cdn/2TC3FJA3.js +4 -0
  20. package/dist/cdn/2ZAHT5MC.js +4 -0
  21. package/dist/cdn/3247RWNG.js +59 -0
  22. package/dist/cdn/33BGG7XR.js +4 -0
  23. package/dist/cdn/35HJUOVA.js +4 -0
  24. package/dist/cdn/377AR6KF.js +4 -0
  25. package/dist/cdn/37NNU43I.js +4 -0
  26. package/dist/cdn/3A7F6TCW.js +4 -0
  27. package/dist/cdn/3CF75BBT.js +4 -0
  28. package/dist/cdn/3CMFRGNF.js +4 -0
  29. package/dist/cdn/3DJ7FZ3T.js +4 -0
  30. package/dist/cdn/3ENXKTXM.js +4 -0
  31. package/dist/cdn/3IFK3FIQ.js +4 -0
  32. package/dist/cdn/3IQYI36P.js +4 -0
  33. package/dist/cdn/3LZTUFAJ.js +4 -0
  34. package/dist/cdn/3NP5SCVH.js +4 -0
  35. package/dist/cdn/3OEQ6AJZ.js +4 -0
  36. package/dist/cdn/3SQFU2LS.js +4 -0
  37. package/dist/cdn/3SVVC3ZF.js +4 -0
  38. package/dist/cdn/3T4OOXGW.js +4 -0
  39. package/dist/cdn/3UE2Q6NK.js +4 -0
  40. package/dist/cdn/3UYAF76N.js +4 -0
  41. package/dist/cdn/3V6NDSSH.js +4 -0
  42. package/dist/cdn/3VLFA73Y.js +4 -0
  43. package/dist/cdn/3X4HOL2H.js +4 -0
  44. package/dist/cdn/3YH5M5PL.js +4 -0
  45. package/dist/cdn/42S3OFUY.js +4 -0
  46. package/dist/cdn/43GZSIES.js +4 -0
  47. package/dist/cdn/43SFRCH7.js +4 -0
  48. package/dist/cdn/45WMZV2Y.js +59 -0
  49. package/dist/cdn/46DL3XV3.js +4 -0
  50. package/dist/cdn/4A3VBRQ6.js +4 -0
  51. package/dist/cdn/4C2D6LBU.js +4 -0
  52. package/dist/cdn/4C3XHHL2.js +4 -0
  53. package/dist/cdn/4ESOPH67.js +4 -0
  54. package/dist/cdn/4HHXGLRC.js +4 -0
  55. package/dist/cdn/4IWR5PUO.js +4 -0
  56. package/dist/cdn/4J7ZXKWP.js +4 -0
  57. package/dist/cdn/4JTLFQ2U.js +4 -0
  58. package/dist/cdn/4K3FSJOJ.js +4 -0
  59. package/dist/cdn/4KQ4UDKQ.js +4 -0
  60. package/dist/cdn/4KZGCEPM.js +4 -0
  61. package/dist/cdn/4L7SBU4Z.js +4 -0
  62. package/dist/cdn/4ML76Y4N.js +4 -0
  63. package/dist/cdn/4NWNABCS.js +4 -0
  64. package/dist/cdn/4OGSM3HI.js +51 -0
  65. package/dist/cdn/4PDJR3P7.js +4 -0
  66. package/dist/cdn/4PZOKOHP.js +4 -0
  67. package/dist/cdn/4Q7EFIQI.js +4 -0
  68. package/dist/cdn/4S4UT4YO.js +4 -0
  69. package/dist/cdn/4SQGDVBF.js +4 -0
  70. package/dist/cdn/4VIJNLSV.js +4 -0
  71. package/dist/cdn/4VY7TDBL.js +4 -0
  72. package/dist/cdn/554OY5F5.js +4 -0
  73. package/dist/cdn/55GT3FL3.js +4 -0
  74. package/dist/cdn/574HV37I.js +4 -0
  75. package/dist/cdn/57OT6USE.js +4 -0
  76. package/dist/cdn/5B2A732Q.js +4 -0
  77. package/dist/cdn/5GTMDIPC.js +4 -0
  78. package/dist/cdn/5IFKUQ7L.js +4 -0
  79. package/dist/cdn/5JSZVJPP.js +4 -0
  80. package/dist/cdn/5LE4CBJW.js +4 -0
  81. package/dist/cdn/5LEQKDR6.js +4 -0
  82. package/dist/cdn/5NKIRKXL.js +4 -0
  83. package/dist/cdn/5Q26DUL3.js +4 -0
  84. package/dist/cdn/5R4PGUQL.js +4 -0
  85. package/dist/cdn/5RNIPWUF.js +4 -0
  86. package/dist/cdn/5UHWBQ6I.js +4 -0
  87. package/dist/cdn/5V3SAHAK.js +4 -0
  88. package/dist/cdn/5W7WXVJP.js +4 -0
  89. package/dist/cdn/5YNFQYGG.js +4 -0
  90. package/dist/cdn/622IJZKS.js +4 -0
  91. package/dist/cdn/67DBXXNF.js +4 -0
  92. package/dist/cdn/67IJJP2O.js +4 -0
  93. package/dist/cdn/6FPKDYGZ.js +4 -0
  94. package/dist/cdn/6G7F7RPE.js +4 -0
  95. package/dist/cdn/6GT33VRA.js +4 -0
  96. package/dist/cdn/6IEZVPYM.js +4 -0
  97. package/dist/cdn/6IFPO234.js +4 -0
  98. package/dist/cdn/6J4C6E3E.js +6 -0
  99. package/dist/cdn/6KBSPEUP.js +4 -0
  100. package/dist/cdn/6KUZ4RCW.js +4 -0
  101. package/dist/cdn/6LWMRUQ4.js +4 -0
  102. package/dist/cdn/6MV3FDAH.js +4 -0
  103. package/dist/cdn/6NZWREMA.js +4 -0
  104. package/dist/cdn/6PYJ6IQP.js +5 -0
  105. package/dist/cdn/6QC65ZOS.js +4 -0
  106. package/dist/cdn/6T6XAMCD.js +4 -0
  107. package/dist/cdn/6X7S7XWF.js +4 -0
  108. package/dist/cdn/6XJAGEZN.js +4 -0
  109. package/dist/cdn/6YWL5OLG.js +4 -0
  110. package/dist/cdn/73AA6CRA.js +4 -0
  111. package/dist/cdn/73JLNNNG.js +4 -0
  112. package/dist/cdn/74PKILWB.js +4 -0
  113. package/dist/cdn/777ZF7R3.js +4 -0
  114. package/dist/cdn/77M4KX6E.js +4 -0
  115. package/dist/cdn/77QMA7LH.js +4 -0
  116. package/dist/cdn/77ZBO7EU.js +4 -0
  117. package/dist/cdn/7BX4SVUX.js +4 -0
  118. package/dist/cdn/7C3CJ2C3.js +4 -0
  119. package/dist/cdn/7FNLA7ZD.js +4 -0
  120. package/dist/cdn/7LUAXKNM.js +4 -0
  121. package/dist/cdn/7PZLTNWB.js +4 -0
  122. package/dist/cdn/7SVT6AWP.js +4 -0
  123. package/dist/cdn/7TSEE7LF.js +4 -0
  124. package/dist/cdn/7U4HA72B.js +4 -0
  125. package/dist/cdn/7VJ6X7HL.js +4 -0
  126. package/dist/cdn/7VV3OKRM.js +4 -0
  127. package/dist/cdn/7WNWYZDK.js +4 -0
  128. package/dist/cdn/7X66UDAW.js +4 -0
  129. package/dist/cdn/A3KZBT4P.js +4 -0
  130. package/dist/cdn/A3L32X4K.js +4 -0
  131. package/dist/cdn/A4AHKC7R.js +4 -0
  132. package/dist/cdn/A4HADX5O.js +4 -0
  133. package/dist/cdn/A4KRNIVX.js +4 -0
  134. package/dist/cdn/A4Y2DVDB.js +4 -0
  135. package/dist/cdn/A6XZSO2E.js +4 -0
  136. package/dist/cdn/AAVS2DGO.js +4 -0
  137. package/dist/cdn/AFHEVDZJ.js +4 -0
  138. package/dist/cdn/AH4Y7QIU.js +4 -0
  139. package/dist/cdn/AH6V43OI.js +4 -0
  140. package/dist/cdn/AKUD6ZD2.js +4 -0
  141. package/dist/cdn/ANAIERCF.js +4 -0
  142. package/dist/cdn/ANG4OFBJ.js +4 -0
  143. package/dist/cdn/APHWS7M6.js +4 -0
  144. package/dist/cdn/APVBNJ6M.js +4 -0
  145. package/dist/cdn/APWRR3XE.js +4 -0
  146. package/dist/cdn/ARQSPI7P.js +41 -0
  147. package/dist/cdn/ATII7GJ7.js +4 -0
  148. package/dist/cdn/AWEMVOBC.js +4 -0
  149. package/dist/cdn/AWG4NKJE.js +4 -0
  150. package/dist/cdn/AXANYHIE.js +4 -0
  151. package/dist/cdn/AXSGVFIT.js +4 -0
  152. package/dist/cdn/AYDFYGEB.js +4 -0
  153. package/dist/cdn/AYHTXHCC.js +4 -0
  154. package/dist/cdn/AYS6ZKUD.js +4 -0
  155. package/dist/cdn/AZJOMCCF.js +4 -0
  156. package/dist/cdn/B3DSRC62.js +4 -0
  157. package/dist/cdn/B6J4VHR2.js +4 -0
  158. package/dist/cdn/B6OANYMZ.js +4 -0
  159. package/dist/cdn/B7YU7FYW.js +4 -0
  160. package/dist/cdn/BEW6VQWD.js +4 -0
  161. package/dist/cdn/BGXXIHXE.js +4 -0
  162. package/dist/cdn/BISZLYNE.js +4 -0
  163. package/dist/cdn/BIZD653K.js +4 -0
  164. package/dist/cdn/BJNVAQCS.js +4 -0
  165. package/dist/cdn/BMO6357F.js +4 -0
  166. package/dist/cdn/BMRXV3TV.js +16 -0
  167. package/dist/cdn/BNPMM76D.js +4 -0
  168. package/dist/cdn/BNSTDGVS.js +4 -0
  169. package/dist/cdn/BO5WY5FJ.js +4 -0
  170. package/dist/cdn/BRR3ZYWD.js +4 -0
  171. package/dist/cdn/BY3I2UPK.js +4 -0
  172. package/dist/cdn/BZCJZLP4.js +4 -0
  173. package/dist/cdn/C46YX2QV.js +4 -0
  174. package/dist/cdn/CALKODUN.js +4 -0
  175. package/dist/cdn/CAUS7PYS.js +4 -0
  176. package/dist/cdn/CERTBEA2.js +4 -0
  177. package/dist/cdn/CEXSQNK5.js +4 -0
  178. package/dist/cdn/CI4LBS3X.js +4 -0
  179. package/dist/cdn/CIZIEZUA.js +4 -0
  180. package/dist/cdn/CJKH327Q.js +4 -0
  181. package/dist/cdn/CKPW7AWR.js +4 -0
  182. package/dist/cdn/CLZHIBMS.js +4 -0
  183. package/dist/cdn/CNP5GJZE.js +4 -0
  184. package/dist/cdn/COIVNL76.js +4 -0
  185. package/dist/cdn/COWGUESK.js +4 -0
  186. package/dist/cdn/CPH36JNX.js +4 -0
  187. package/dist/cdn/CQSZCLGV.js +4 -0
  188. package/dist/cdn/CTGLRCVF.js +4 -0
  189. package/dist/cdn/CTISPPMB.js +4 -0
  190. package/dist/cdn/CTXPLIRN.js +4 -0
  191. package/dist/cdn/CU6S5D3S.js +4 -0
  192. package/dist/cdn/CU7JMZPW.js +4 -0
  193. package/dist/cdn/CUBDWC6L.js +4 -0
  194. package/dist/cdn/CUBUKQPH.js +4 -0
  195. package/dist/cdn/CVOAUA5H.js +4 -0
  196. package/dist/cdn/CY5ZDVNW.js +25 -0
  197. package/dist/cdn/CYGYROJE.js +4 -0
  198. package/dist/cdn/D3EKBH5Q.js +4 -0
  199. package/dist/cdn/D3NLUKSM.js +4 -0
  200. package/dist/cdn/D3Y7NDGJ.js +4 -0
  201. package/dist/cdn/D4MOLIUZ.js +4 -0
  202. package/dist/cdn/DAYVORQU.js +4 -0
  203. package/dist/cdn/DBEZN3H6.js +6 -0
  204. package/dist/cdn/DBJYCSHU.js +4 -0
  205. package/dist/cdn/DCUJVWKR.js +4 -0
  206. package/dist/cdn/DFY7VPXY.js +4 -0
  207. package/dist/cdn/DHXG53MP.js +4 -0
  208. package/dist/cdn/DI6KVMSR.js +4 -0
  209. package/dist/cdn/DIEJ2ZY4.js +8 -0
  210. package/dist/cdn/DJNDZS6U.js +4 -0
  211. package/dist/cdn/DLZZ3E5X.js +4 -0
  212. package/dist/cdn/DMDUUWHH.js +4 -0
  213. package/dist/cdn/DMVHEUA6.js +4 -0
  214. package/dist/cdn/DPW3YBTP.js +4 -0
  215. package/dist/cdn/DQGXBLF6.js +4 -0
  216. package/dist/cdn/DQT2PO53.js +4 -0
  217. package/dist/cdn/DUAWYGQW.js +4 -0
  218. package/dist/cdn/DUKGEZ7N.js +4 -0
  219. package/dist/cdn/DVTWDXJ3.js +4 -0
  220. package/dist/cdn/DXCZWQRO.js +4 -0
  221. package/dist/cdn/DXP4UE4M.js +4 -0
  222. package/dist/cdn/DZ4MJDTF.js +4 -0
  223. package/dist/cdn/E3BSFA24.js +4 -0
  224. package/dist/cdn/E4PSEE26.js +4 -0
  225. package/dist/cdn/E5YPJH5K.js +4 -0
  226. package/dist/cdn/E645EY4C.js +4 -0
  227. package/dist/cdn/E7QLXSIP.js +4 -0
  228. package/dist/cdn/EAZ3CTNE.js +4 -0
  229. package/dist/cdn/EBKVTMSJ.js +4 -0
  230. package/dist/cdn/ECTSOSCU.js +4 -0
  231. package/dist/cdn/EENRJAYK.js +4 -0
  232. package/dist/cdn/ELBVMQGK.js +4 -0
  233. package/dist/cdn/EOHXMGOD.js +4 -0
  234. package/dist/cdn/ETCSXHB4.js +4 -0
  235. package/dist/cdn/ETLCTCCH.js +4 -0
  236. package/dist/cdn/EUEONQSA.js +4 -0
  237. package/dist/cdn/EZSRUH26.js +4 -0
  238. package/dist/cdn/EZWSOGYY.js +4 -0
  239. package/dist/cdn/F2GE5PMP.js +4 -0
  240. package/dist/cdn/F2ORPMSB.js +6 -0
  241. package/dist/cdn/F4HG5HMN.js +4 -0
  242. package/dist/cdn/F4I6QDNV.js +4 -0
  243. package/dist/cdn/F4MVINVM.js +4 -0
  244. package/dist/cdn/F7DZFHGX.js +4 -0
  245. package/dist/cdn/FAGMDLNN.js +4 -0
  246. package/dist/cdn/FBJ2DZP3.js +4 -0
  247. package/dist/cdn/FE3CU46L.js +4 -0
  248. package/dist/cdn/FE5CLBSP.js +4 -0
  249. package/dist/cdn/FG7WEZLF.js +4 -0
  250. package/dist/cdn/FJQ2ICN5.js +4 -0
  251. package/dist/cdn/FLJOFGCC.js +4 -0
  252. package/dist/cdn/FLJQ6X35.js +4 -0
  253. package/dist/cdn/FN7B4RGX.js +4 -0
  254. package/dist/cdn/FSKU4CG4.js +4 -0
  255. package/dist/cdn/FTWVAE3V.js +4 -0
  256. package/dist/cdn/FVN3S62X.js +4 -0
  257. package/dist/cdn/FXGOYCC4.js +4 -0
  258. package/dist/cdn/FZAURYXJ.js +4 -0
  259. package/dist/cdn/G67NLHDM.js +4 -0
  260. package/dist/cdn/G7QP3PSR.js +4 -0
  261. package/dist/cdn/G7VYESRG.js +4 -0
  262. package/dist/cdn/GBTFCZW5.js +4 -0
  263. package/dist/cdn/GCKOERSN.js +4 -0
  264. package/dist/cdn/GDVDYR5G.js +4 -0
  265. package/dist/cdn/GFYSV5G2.js +4 -0
  266. package/dist/cdn/GOXW4ETS.js +4 -0
  267. package/dist/cdn/GQ4DX4B2.js +4 -0
  268. package/dist/cdn/GQGBNQFJ.js +4 -0
  269. package/dist/cdn/GUWFD3SR.js +4 -0
  270. package/dist/cdn/GYBDAWTN.js +4 -0
  271. package/dist/cdn/GZU73QYQ.js +4 -0
  272. package/dist/cdn/GZUGQZ5W.js +4 -0
  273. package/dist/cdn/H2QKODFW.js +4 -0
  274. package/dist/cdn/H52AA5LM.js +4 -0
  275. package/dist/cdn/H5M7JT7A.js +4 -0
  276. package/dist/cdn/HBWI56HE.js +4 -0
  277. package/dist/cdn/HGYVXEBZ.js +4 -0
  278. package/dist/cdn/HJY3464Z.js +4 -0
  279. package/dist/cdn/HKQYMPVP.js +4 -0
  280. package/dist/cdn/HKSRQHVM.js +4 -0
  281. package/dist/cdn/HKSU6U7J.js +4 -0
  282. package/dist/cdn/HMCZUVLG.js +4 -0
  283. package/dist/cdn/HRLG4BZY.js +4 -0
  284. package/dist/cdn/HRVKJ5JR.js +4 -0
  285. package/dist/cdn/HUFIXGTS.js +4 -0
  286. package/dist/cdn/HW72D6ZF.js +4 -0
  287. package/dist/cdn/HX7VEOAZ.js +4 -0
  288. package/dist/cdn/I36ILBX6.js +4 -0
  289. package/dist/cdn/I5H5OIP4.js +4 -0
  290. package/dist/cdn/I5WBVRUV.js +4 -0
  291. package/dist/cdn/IABU7QZU.js +4 -0
  292. package/dist/cdn/IAKXAPIU.js +4 -0
  293. package/dist/cdn/IBIREWV2.js +4 -0
  294. package/dist/cdn/ICSZ3PHK.js +4 -0
  295. package/dist/cdn/ID7XPQWQ.js +4 -0
  296. package/dist/cdn/IDB2Z5YV.js +4 -0
  297. package/dist/cdn/IG734Y6R.js +5 -0
  298. package/dist/cdn/IGEEZ5I7.js +4 -0
  299. package/dist/cdn/IGH2UTHZ.js +4 -0
  300. package/dist/cdn/IGXROPFA.js +4 -0
  301. package/dist/cdn/IIXASQUM.js +4 -0
  302. package/dist/cdn/IQLBLZNQ.js +4 -0
  303. package/dist/cdn/IQLTNNMF.js +4 -0
  304. package/dist/cdn/IVVHGMGK.js +4 -0
  305. package/dist/cdn/IW5Q4SEO.js +4 -0
  306. package/dist/cdn/IXZQLPGM.js +4 -0
  307. package/dist/cdn/IYKTDWUV.js +4 -0
  308. package/dist/cdn/IZ6YCJ6K.js +4 -0
  309. package/dist/cdn/J2MJZ2XL.js +4 -0
  310. package/dist/cdn/J3EFGJAI.js +4 -0
  311. package/dist/cdn/JBBSYK66.js +4 -0
  312. package/dist/cdn/JBPWDDER.js +4 -0
  313. package/dist/cdn/JC7WI7MK.js +4 -0
  314. package/dist/cdn/JEYZGAEQ.js +4 -0
  315. package/dist/cdn/JHQQ267E.js +4 -0
  316. package/dist/cdn/JJYHFTNP.js +4 -0
  317. package/dist/cdn/JKJPOHC7.js +4 -0
  318. package/dist/cdn/JL4DNB72.js +4 -0
  319. package/dist/cdn/JMAF7G4E.js +4 -0
  320. package/dist/cdn/JMVZLGHS.js +4 -0
  321. package/dist/cdn/JN3QHO5H.js +4 -0
  322. package/dist/cdn/JO7Q3M7G.js +4 -0
  323. package/dist/cdn/JOKJ4E63.js +4 -0
  324. package/dist/cdn/JSAXO4GJ.js +4 -0
  325. package/dist/cdn/JTIG7RJK.js +4 -0
  326. package/dist/cdn/JTINSFWZ.js +4 -0
  327. package/dist/cdn/JTSIQRHB.js +4 -0
  328. package/dist/cdn/JV4AEJYS.js +4 -0
  329. package/dist/cdn/JVL72JKQ.js +4 -0
  330. package/dist/cdn/JWK3O3XF.js +4 -0
  331. package/dist/cdn/JXR4VVEX.js +4 -0
  332. package/dist/cdn/JY5ZJQDL.js +4 -0
  333. package/dist/cdn/JYFVMKHW.js +4 -0
  334. package/dist/cdn/K4AMCBLP.js +4 -0
  335. package/dist/cdn/K5J4NSNO.js +4 -0
  336. package/dist/cdn/K65D5JKW.js +4 -0
  337. package/dist/cdn/K6BMJDVL.js +4 -0
  338. package/dist/cdn/K7OW7IEK.js +4 -0
  339. package/dist/cdn/K7ZFMW35.js +4 -0
  340. package/dist/cdn/KAUGZHJH.js +4 -0
  341. package/dist/cdn/KAZCLLOI.js +4 -0
  342. package/dist/cdn/KC76W5XJ.js +5 -0
  343. package/dist/cdn/KDASIJAR.js +4 -0
  344. package/dist/cdn/KDPHCCLN.js +4 -0
  345. package/dist/cdn/KGAXKW2X.js +4 -0
  346. package/dist/cdn/KHXU3G2A.js +4 -0
  347. package/dist/cdn/KKRT5SI3.js +4 -0
  348. package/dist/cdn/KNGDH4TI.js +4 -0
  349. package/dist/cdn/KNOSBJJQ.js +4 -0
  350. package/dist/cdn/KPLAU4BL.js +4 -0
  351. package/dist/cdn/KQ63KORM.js +4 -0
  352. package/dist/cdn/KTZ67HIK.js +5470 -0
  353. package/dist/cdn/KVSDLSSJ.js +4 -0
  354. package/dist/cdn/KW7PM2FZ.js +52 -0
  355. package/dist/cdn/KYITUEZM.js +4 -0
  356. package/dist/cdn/KYQPFBUM.js +4 -0
  357. package/dist/cdn/KYXUTDT3.js +4 -0
  358. package/dist/cdn/KZY4RX4Q.js +4 -0
  359. package/dist/cdn/L2IQ3Z77.js +4 -0
  360. package/dist/cdn/L3NT2L2B.js +4 -0
  361. package/dist/cdn/L5QSQNL2.js +4 -0
  362. package/dist/cdn/L6LGDUP3.js +4 -0
  363. package/dist/cdn/L6MFPGLR.js +4 -0
  364. package/dist/cdn/L6XIS4CR.js +4 -0
  365. package/dist/cdn/LEEGGRL2.js +4 -0
  366. package/dist/cdn/LFZYCNWB.js +4 -0
  367. package/dist/cdn/LHTCLSFO.js +4 -0
  368. package/dist/cdn/LIMR4DES.js +4 -0
  369. package/dist/cdn/LIXAYWXK.js +4 -0
  370. package/dist/cdn/LJHZWOGC.js +4 -0
  371. package/dist/cdn/LJIIGRXT.js +4 -0
  372. package/dist/cdn/LMBXV2FA.js +4 -0
  373. package/dist/cdn/LMXKLLZM.js +4 -0
  374. package/dist/cdn/LORX57V2.js +4 -0
  375. package/dist/cdn/LQAGSIUR.js +4 -0
  376. package/dist/cdn/LQO4357I.js +4 -0
  377. package/dist/cdn/LQU5JQLR.js +4 -0
  378. package/dist/cdn/LR7X4MWQ.js +4 -0
  379. package/dist/cdn/LRMMJLWM.js +4 -0
  380. package/dist/cdn/LUO55CDA.js +4 -0
  381. package/dist/cdn/LVRZD6WQ.js +4 -0
  382. package/dist/cdn/LXERARON.js +4 -0
  383. package/dist/cdn/LY6N6KI4.js +24 -0
  384. package/dist/cdn/LYYZCKCP.js +4 -0
  385. package/dist/cdn/LZ5WYXXQ.js +4 -0
  386. package/dist/cdn/LZ7TC7U7.js +4 -0
  387. package/dist/cdn/M24XSIWZ.js +4 -0
  388. package/dist/cdn/M4WP3GP2.js +4 -0
  389. package/dist/cdn/M6AQ5GML.js +4 -0
  390. package/dist/cdn/MC2G2SPW.js +4 -0
  391. package/dist/cdn/MCLIAOGM.js +4 -0
  392. package/dist/cdn/MD3RGOOB.js +4 -0
  393. package/dist/cdn/MEKLC6U4.js +4 -0
  394. package/dist/cdn/MEWYYPF5.js +4 -0
  395. package/dist/cdn/MGPFIUEZ.js +4 -0
  396. package/dist/cdn/MHRMNCG6.js +4 -0
  397. package/dist/cdn/MHXZYPRE.js +4 -0
  398. package/dist/cdn/MJAN3HCE.js +4 -0
  399. package/dist/cdn/MKFK73SL.js +4 -0
  400. package/dist/cdn/MMFWBDRD.js +4 -0
  401. package/dist/cdn/MNIXIFSG.js +4 -0
  402. package/dist/cdn/MNYAY7SS.js +11 -0
  403. package/dist/cdn/MVL47OIH.js +4 -0
  404. package/dist/cdn/MXVHSO7L.js +4 -0
  405. package/dist/cdn/MY7WMWIR.js +4 -0
  406. package/dist/cdn/N2GBSVPH.js +4 -0
  407. package/dist/cdn/N2J3K2FV.js +4 -0
  408. package/dist/cdn/N4KLFONT.js +4 -0
  409. package/dist/cdn/N4ZJXBYV.js +4 -0
  410. package/dist/cdn/N67C64FL.js +4 -0
  411. package/dist/cdn/N6YBAG56.js +4 -0
  412. package/dist/cdn/NCBCEX6D.js +4 -0
  413. package/dist/cdn/NDFDWG4F.js +4 -0
  414. package/dist/cdn/NDRZGBZZ.js +4 -0
  415. package/dist/cdn/NEUPTFIQ.js +4 -0
  416. package/dist/cdn/NF63QQDG.js +4 -0
  417. package/dist/cdn/NGNTHJG7.js +4 -0
  418. package/dist/cdn/NH36RH3F.js +4 -0
  419. package/dist/cdn/NH7MUG2D.js +4 -0
  420. package/dist/cdn/NKHI2QVI.js +4 -0
  421. package/dist/cdn/NM75NIBK.js +4 -0
  422. package/dist/cdn/O47H7SQW.js +4 -0
  423. package/dist/cdn/O5AGSBTR.js +4 -0
  424. package/dist/cdn/OARQAEWW.js +4 -0
  425. package/dist/cdn/OBAYBNES.js +4 -0
  426. package/dist/cdn/OCY2HPRA.js +4 -0
  427. package/dist/cdn/OE4JXCW5.js +4 -0
  428. package/dist/cdn/OFUJPHFP.js +4 -0
  429. package/dist/cdn/OH3TGOKS.js +4 -0
  430. package/dist/cdn/OLXSVHKH.js +4 -0
  431. package/dist/cdn/OOA773SL.js +4 -0
  432. package/dist/cdn/ORNHGRG6.js +4 -0
  433. package/dist/cdn/OTKC34YY.js +42 -0
  434. package/dist/cdn/OTZAFRQX.js +4 -0
  435. package/dist/cdn/OUBAHTBE.js +4 -0
  436. package/dist/cdn/OUHBPVHC.js +4 -0
  437. package/dist/cdn/OWEOYCRU.js +4 -0
  438. package/dist/cdn/OZ5YNDTT.js +4 -0
  439. package/dist/cdn/OZZG56GU.js +4 -0
  440. package/dist/cdn/P3VNJHDG.js +4 -0
  441. package/dist/cdn/P4IO4YSF.js +4 -0
  442. package/dist/cdn/P5DWNS6W.js +4 -0
  443. package/dist/cdn/PAOB3MM2.js +4 -0
  444. package/dist/cdn/PFG57UYP.js +4 -0
  445. package/dist/cdn/PFQX2OOJ.js +4 -0
  446. package/dist/cdn/PGUDWE7I.js +4 -0
  447. package/dist/cdn/PHEMB7RR.js +4 -0
  448. package/dist/cdn/PHOLBCVY.js +4 -0
  449. package/dist/cdn/PJFT4I3U.js +4 -0
  450. package/dist/cdn/PMIS7ZUL.js +4 -0
  451. package/dist/cdn/PMP4DQB5.js +4 -0
  452. package/dist/cdn/PQX2ERPN.js +4 -0
  453. package/dist/cdn/PQZRCSMA.js +4 -0
  454. package/dist/cdn/PROJMXKT.js +4 -0
  455. package/dist/cdn/PRZSBW6D.js +4 -0
  456. package/dist/cdn/PT23PRY6.js +4 -0
  457. package/dist/cdn/PWAT7DUJ.js +4 -0
  458. package/dist/cdn/PWSTYKDF.js +4 -0
  459. package/dist/cdn/PYTNS5UB.js +4 -0
  460. package/dist/cdn/Q2CYOP2J.js +4 -0
  461. package/dist/cdn/Q32B255C.js +4 -0
  462. package/dist/cdn/Q3BYBPEQ.js +4 -0
  463. package/dist/cdn/Q46BMFD4.js +4 -0
  464. package/dist/cdn/Q473DVYI.js +4 -0
  465. package/dist/cdn/Q525Q3RE.js +4 -0
  466. package/dist/cdn/QAL4D5NB.js +4 -0
  467. package/dist/cdn/QDSWK7ZU.js +4 -0
  468. package/dist/cdn/QFN45JJQ.js +4 -0
  469. package/dist/cdn/QFXDH6SS.js +4 -0
  470. package/dist/cdn/QHQT6DNW.js +4 -0
  471. package/dist/cdn/QHTEPJAI.js +4 -0
  472. package/dist/cdn/QJDCEOP6.js +4 -0
  473. package/dist/cdn/QPOFIEBZ.js +4 -0
  474. package/dist/cdn/QPS4QKLB.js +4 -0
  475. package/dist/cdn/QTIUUTJG.js +4 -0
  476. package/dist/cdn/QX6VADVM.js +4 -0
  477. package/dist/cdn/QXHLFA2R.js +4 -0
  478. package/dist/cdn/QZXUZWQQ.js +4 -0
  479. package/dist/cdn/QZXWNZLM.js +4 -0
  480. package/dist/cdn/R2IAN5Y7.js +4 -0
  481. package/dist/cdn/R3DMHWME.js +4 -0
  482. package/dist/cdn/R3ZNITQP.js +4 -0
  483. package/dist/cdn/R5H3VRHJ.js +4 -0
  484. package/dist/cdn/R5HCBOPX.js +4 -0
  485. package/dist/cdn/R67TFS6Y.js +4 -0
  486. package/dist/cdn/R6ENEXLN.js +4 -0
  487. package/dist/cdn/RAUZBSK2.js +4 -0
  488. package/dist/cdn/RBVOGX3O.js +4 -0
  489. package/dist/cdn/RDY77VEA.js +4 -0
  490. package/dist/cdn/REVKH66L.js +4 -0
  491. package/dist/cdn/RFH7E4C4.js +4 -0
  492. package/dist/cdn/RFP3EJEQ.js +4 -0
  493. package/dist/cdn/RHBM6XNX.js +4 -0
  494. package/dist/cdn/RHD7YI7I.js +4 -0
  495. package/dist/cdn/RK3FD5MR.js +4 -0
  496. package/dist/cdn/RK53ZX7A.js +4 -0
  497. package/dist/cdn/RLHTM5UJ.js +4 -0
  498. package/dist/cdn/RLVCGHU5.js +4 -0
  499. package/dist/cdn/RN5O3EXX.js +4 -0
  500. package/dist/cdn/RSM5SFXI.js +4 -0
  501. package/dist/cdn/RSYXJ5NN.js +4 -0
  502. package/dist/cdn/RT2ASHBV.js +4 -0
  503. package/dist/cdn/RTDO7BJP.js +4 -0
  504. package/dist/cdn/RZ5CHC5S.js +4 -0
  505. package/dist/cdn/S4ID3WBO.js +9 -0
  506. package/dist/cdn/S6PPAFHD.js +4 -0
  507. package/dist/cdn/SB7EX3P5.js +4 -0
  508. package/dist/cdn/SBZQTGME.js +4 -0
  509. package/dist/cdn/SCS7P7GN.js +4 -0
  510. package/dist/cdn/SEV44UZA.js +4 -0
  511. package/dist/cdn/SFNHOPJ4.js +4 -0
  512. package/dist/cdn/SH2PTW7W.js +4 -0
  513. package/dist/cdn/SIHEBCTL.js +4 -0
  514. package/dist/cdn/SIW734WZ.js +4 -0
  515. package/dist/cdn/SKNMD36X.js +4 -0
  516. package/dist/cdn/SKPZCZAM.js +4 -0
  517. package/dist/cdn/SKZDNHMD.js +4 -0
  518. package/dist/cdn/SM2DFZI7.js +4 -0
  519. package/dist/cdn/SM7KBF57.js +4 -0
  520. package/dist/cdn/SPK6GKDW.js +4 -0
  521. package/dist/cdn/SRFEL5S5.js +4 -0
  522. package/dist/cdn/ST5EGEPE.js +4 -0
  523. package/dist/cdn/SU5GK743.js +4 -0
  524. package/dist/cdn/SVW43KRF.js +4 -0
  525. package/dist/cdn/SYHTRE73.js +4 -0
  526. package/dist/cdn/T45PBDBS.js +4 -0
  527. package/dist/cdn/T7E3SL3V.js +4 -0
  528. package/dist/cdn/TCX3SUIK.js +4 -0
  529. package/dist/cdn/TDHB37DZ.js +4 -0
  530. package/dist/cdn/TIHBABFO.js +4 -0
  531. package/dist/cdn/TKGKOLLU.js +4 -0
  532. package/dist/cdn/TKV53CCP.js +4 -0
  533. package/dist/cdn/TKYZJWFF.js +4 -0
  534. package/dist/cdn/TOGSQQ2U.js +4 -0
  535. package/dist/cdn/TQDZ5RW7.js +4 -0
  536. package/dist/cdn/TSOISKZP.js +4 -0
  537. package/dist/cdn/TT76X6BU.js +4 -0
  538. package/dist/cdn/TT7GSHIX.js +4 -0
  539. package/dist/cdn/TVCJMZ4T.js +4 -0
  540. package/dist/cdn/TX46AWQQ.js +4 -0
  541. package/dist/cdn/TXABNQ3G.js +4 -0
  542. package/dist/cdn/TZF3V2BJ.js +4 -0
  543. package/dist/cdn/U344RKXN.js +4 -0
  544. package/dist/cdn/U5IXDPF6.js +4 -0
  545. package/dist/cdn/U64SG4WG.js +4 -0
  546. package/dist/cdn/U7JHNA7S.js +4 -0
  547. package/dist/cdn/UDREWFXW.js +4 -0
  548. package/dist/cdn/UG2RSETA.js +4 -0
  549. package/dist/cdn/UGON5TBL.js +4 -0
  550. package/dist/cdn/UHW7JQIY.js +4 -0
  551. package/dist/cdn/UIOE4RMR.js +4 -0
  552. package/dist/cdn/ULQ7TPMJ.js +4 -0
  553. package/dist/cdn/UNZYTDUU.js +4 -0
  554. package/dist/cdn/UO3OTSGJ.js +4 -0
  555. package/dist/cdn/URZHUMPD.js +4 -0
  556. package/dist/cdn/US42JRZ3.js +4 -0
  557. package/dist/cdn/UTIIIKSF.js +4 -0
  558. package/dist/cdn/UTW36AKP.js +4 -0
  559. package/dist/cdn/UWUQL26M.js +4 -0
  560. package/dist/cdn/UX4TRDQX.js +4 -0
  561. package/dist/cdn/UXKXHJ2D.js +4 -0
  562. package/dist/cdn/V225P56M.js +4 -0
  563. package/dist/cdn/V32DRGSW.js +5 -0
  564. package/dist/cdn/V3IA36JL.js +4 -0
  565. package/dist/cdn/V4XEXOQG.js +4 -0
  566. package/dist/cdn/VCC7DC54.js +4 -0
  567. package/dist/cdn/VCTJUU25.js +4 -0
  568. package/dist/cdn/VDBCOZ7Y.js +4 -0
  569. package/dist/cdn/VEYEUYM6.js +4 -0
  570. package/dist/cdn/VGMOUQOT.js +4 -0
  571. package/dist/cdn/VGN5SAPK.js +4 -0
  572. package/dist/cdn/VNCUZM3S.js +4 -0
  573. package/dist/cdn/VNSNSC4Q.js +4 -0
  574. package/dist/cdn/VPIEUM5N.js +4 -0
  575. package/dist/cdn/VPVBBB5K.js +4 -0
  576. package/dist/cdn/VTLFRG5O.js +4 -0
  577. package/dist/cdn/VU2ACYVT.js +4 -0
  578. package/dist/cdn/VY746AMA.js +4 -0
  579. package/dist/cdn/W2734LLS.js +4 -0
  580. package/dist/cdn/W3V7AGQ5.js +4 -0
  581. package/dist/cdn/W4IVSJCS.js +4 -0
  582. package/dist/cdn/WB7ALUQY.js +4 -0
  583. package/dist/cdn/WCFCUQL2.js +4 -0
  584. package/dist/cdn/WE766OAG.js +4 -0
  585. package/dist/cdn/WFRKQUHA.js +4 -0
  586. package/dist/cdn/WGAQXVMO.js +4 -0
  587. package/dist/cdn/WPR4KYSE.js +4 -0
  588. package/dist/cdn/WRG3BCRI.js +4 -0
  589. package/dist/cdn/WS6ZNJDR.js +4 -0
  590. package/dist/cdn/WSA2LRPF.js +4 -0
  591. package/dist/cdn/WTUPLDPK.js +4 -0
  592. package/dist/cdn/WUOPSUQ7.js +5 -0
  593. package/dist/cdn/WURWM4CM.js +4 -0
  594. package/dist/cdn/WVCNH4ZI.js +4 -0
  595. package/dist/cdn/WVVK2YF6.js +4 -0
  596. package/dist/cdn/WYPAWF3H.js +4 -0
  597. package/dist/cdn/WZ2GKDW6.js +4 -0
  598. package/dist/cdn/WZMAU2NS.js +4 -0
  599. package/dist/cdn/X2U5XFWO.js +4 -0
  600. package/dist/cdn/X5AQRDV6.js +4 -0
  601. package/dist/cdn/X67U5GKG.js +4 -0
  602. package/dist/cdn/X6SBSIIK.js +4 -0
  603. package/dist/cdn/X7HVLETW.js +5 -0
  604. package/dist/cdn/X7MGEDJT.js +4 -0
  605. package/dist/cdn/XC3WIUUU.js +4 -0
  606. package/dist/cdn/XCWX3W57.js +4 -0
  607. package/dist/cdn/XELO2N2Q.js +4 -0
  608. package/dist/cdn/XEM44QD6.js +4 -0
  609. package/dist/cdn/XEVFBY6P.js +4 -0
  610. package/dist/cdn/XFCBMOV2.js +4 -0
  611. package/dist/cdn/XGEFFCFJ.js +4 -0
  612. package/dist/cdn/XI63CQXX.js +4 -0
  613. package/dist/cdn/XJBVHWRU.js +4 -0
  614. package/dist/cdn/XKOLKFVV.js +4 -0
  615. package/dist/cdn/XMH5NQVV.js +4 -0
  616. package/dist/cdn/XNGM77XE.js +4 -0
  617. package/dist/cdn/XQZAOGXC.js +4 -0
  618. package/dist/cdn/XRR5SFDZ.js +4 -0
  619. package/dist/cdn/XRWTSNSY.js +4 -0
  620. package/dist/cdn/XS5SVQ2O.js +4 -0
  621. package/dist/cdn/XSP5MLR7.js +4 -0
  622. package/dist/cdn/XULWZQV4.js +4 -0
  623. package/dist/cdn/XVJBITIB.js +4 -0
  624. package/dist/cdn/XWE4YHYE.js +4 -0
  625. package/dist/cdn/XWIEH6CQ.js +4 -0
  626. package/dist/cdn/XXBX2CZF.js +4 -0
  627. package/dist/cdn/Y2ZXUZOA.js +4 -0
  628. package/dist/cdn/Y3E7K767.js +4 -0
  629. package/dist/cdn/Y4LAKZZS.js +4 -0
  630. package/dist/cdn/Y76QUWDF.js +4 -0
  631. package/dist/cdn/YD5C5LDJ.js +4 -0
  632. package/dist/cdn/YH2GGHTE.js +4 -0
  633. package/dist/cdn/YIDXJ4E6.js +4 -0
  634. package/dist/cdn/YKUZEWNY.js +4 -0
  635. package/dist/cdn/YLMJ5RWR.js +4 -0
  636. package/dist/cdn/YRY4FZXN.js +4 -0
  637. package/dist/cdn/YVRCGV3S.js +4 -0
  638. package/dist/cdn/YZI5IZBN.js +4 -0
  639. package/dist/cdn/Z5U2Y3YJ.js +4 -0
  640. package/dist/cdn/Z7QU67KJ.js +4 -0
  641. package/dist/cdn/ZBD3YYP2.js +4 -0
  642. package/dist/cdn/ZCBSET7K.js +4 -0
  643. package/dist/cdn/ZE4YFPGQ.js +4 -0
  644. package/dist/cdn/ZE663ER5.js +4 -0
  645. package/dist/cdn/ZENFQU5Z.js +4 -0
  646. package/dist/cdn/ZG3JTKBA.js +4 -0
  647. package/dist/cdn/ZGUHYAKJ.js +4 -0
  648. package/dist/cdn/ZIX76CDM.js +4 -0
  649. package/dist/cdn/ZPXHSQBZ.js +8 -0
  650. package/dist/cdn/ZQLFX7QP.js +4 -0
  651. package/dist/cdn/ZSJ7TLTR.js +12 -0
  652. package/dist/cdn/ZTE4RQPB.js +4 -0
  653. package/dist/cdn/ZTPZPPKC.js +12 -0
  654. package/dist/cdn/ZVMFFKI6.js +4 -0
  655. package/dist/cdn/ZXXSWDAP.js +4 -0
  656. package/dist/cdn/ZXYX6342.js +4 -0
  657. package/dist/cdn/ZYMSZA2Y.js +4 -0
  658. package/dist/cdn/ZYQYSF5E.js +4 -0
  659. package/dist/cdn/assets/chat-ui/t9n/messages.en.json +1 -1
  660. package/dist/cdn/assets/layout-container/t9n/messages.en.json +1 -1
  661. package/dist/cdn/index.js +3 -3
  662. package/dist/chunks/findColumnAndNodeIndex.js +2 -2
  663. package/dist/chunks/getResponsiveClasses.js +2 -2
  664. package/dist/chunks/interpolate-translations.js +2 -2
  665. package/dist/chunks/isNodeVisible.js +2 -2
  666. package/dist/chunks/layoutContext.js +2 -2
  667. package/dist/chunks/memoizeAsync.js +2 -2
  668. package/dist/chunks/migrateTextCard.js +2 -2
  669. package/dist/chunks/processLayout.js +2 -2
  670. package/dist/chunks/runtime.js +3 -3
  671. package/dist/chunks/state.js +2 -2
  672. package/dist/chunks/typeGuards.js +2 -2
  673. package/dist/chunks/useGlobalContext.js +2 -2
  674. package/dist/chunks/useT9n.js +2 -2
  675. package/dist/chunks/util.js +2 -2
  676. package/dist/components/arcgis-chat-shell/customElement.js +2 -2
  677. package/dist/components/arcgis-chat-ui/customElement.js +23 -17
  678. package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +2 -2
  679. package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +2 -2
  680. package/dist/components/arcgis-hub-ai-assistant/customElement.js +2 -2
  681. package/dist/components/arcgis-hub-entity-associations-card/customElement.js +2 -2
  682. package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +2 -2
  683. package/dist/components/arcgis-hub-entity-status-card/customElement.js +2 -2
  684. package/dist/components/arcgis-hub-entity-view-layout/customElement.js +2 -2
  685. package/dist/components/arcgis-layout/customElement.d.ts +4 -3
  686. package/dist/components/arcgis-layout/customElement.js +9 -10
  687. package/dist/components/arcgis-layout-column/customElement.d.ts +4 -3
  688. package/dist/components/arcgis-layout-column/customElement.js +35 -50
  689. package/dist/components/arcgis-layout-container/customElement.d.ts +2 -2
  690. package/dist/components/arcgis-layout-container/customElement.js +199 -206
  691. package/dist/components/arcgis-layout-container/index.d.ts +0 -1
  692. package/dist/components/arcgis-layout-container/index.js +0 -1
  693. package/dist/components/arcgis-layout-editor-toolbar/customElement.js +8 -8
  694. package/dist/components/arcgis-layout-node-controls/customElement.d.ts +18 -18
  695. package/dist/components/arcgis-layout-node-controls/customElement.js +65 -57
  696. package/dist/components/arcgis-layout-node-editor/customElement.js +13 -13
  697. package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.js +2 -2
  698. package/dist/components/arcgis-layout-node-wrapper/customElement.d.ts +23 -0
  699. package/dist/components/arcgis-layout-node-wrapper/customElement.js +211 -0
  700. package/dist/components/arcgis-layout-node-wrapper/index.d.ts +8 -0
  701. package/dist/components/arcgis-layout-node-wrapper/index.js +8 -0
  702. package/dist/components/arcgis-layout-row/customElement.d.ts +4 -3
  703. package/dist/components/arcgis-layout-row/customElement.js +20 -21
  704. package/dist/components/arcgis-layout-section/customElement.d.ts +4 -3
  705. package/dist/components/arcgis-layout-section/customElement.js +23 -24
  706. package/dist/components/arcgis-nav-card/customElement.d.ts +9 -3
  707. package/dist/components/arcgis-nav-card/customElement.js +48 -30
  708. package/dist/components/arcgis-text-card/customElement.js +3 -3
  709. package/dist/components/layouts/components/layout-node/customElement.d.ts +1 -2
  710. package/dist/components/layouts/components/layout-node/customElement.js +39 -45
  711. package/dist/components/layouts/components/layout-node/index.d.ts +1 -2
  712. package/dist/components/layouts/components/layout-node/index.js +1 -2
  713. package/dist/components/layouts/utils/layout-event-types.d.ts +14 -0
  714. package/dist/components/layouts/utils/layoutContext.d.ts +6 -2
  715. package/dist/docs/api.json +64 -69
  716. package/dist/docs/docs.json +75 -84
  717. package/dist/docs/vscode.html-custom-data.json +1 -1
  718. package/dist/docs/web-types.json +32 -21
  719. package/dist/embed-config.js +2 -2
  720. package/dist/index.d.ts +16 -1
  721. package/dist/index.js +2 -2
  722. package/dist/loader.js +12 -13
  723. package/dist/types/lumina.d.ts +4 -2
  724. package/dist/types/preact.d.ts +4 -2
  725. package/dist/types/react.d.ts +4 -2
  726. package/dist/types/stencil.d.ts +4 -2
  727. package/package.json +2 -2
  728. package/dist/cdn/22N467BL.js +0 -4
  729. package/dist/cdn/22XVGC77.js +0 -4
  730. package/dist/cdn/23RFIB47.js +0 -4
  731. package/dist/cdn/23TECGCW.js +0 -4
  732. package/dist/cdn/24NVAGGB.js +0 -4
  733. package/dist/cdn/24R7TS25.js +0 -4
  734. package/dist/cdn/2A5KL3NO.js +0 -52
  735. package/dist/cdn/2B7K7J6K.js +0 -4
  736. package/dist/cdn/2CBOTJAT.js +0 -4
  737. package/dist/cdn/2E24GULE.js +0 -4
  738. package/dist/cdn/2EI6SPMW.js +0 -4
  739. package/dist/cdn/2GLWW37V.js +0 -4
  740. package/dist/cdn/2GU7HFN6.js +0 -4
  741. package/dist/cdn/2GXWY57H.js +0 -4
  742. package/dist/cdn/2KLEU25G.js +0 -4
  743. package/dist/cdn/2LQV62LJ.js +0 -25
  744. package/dist/cdn/2NSB2FGW.js +0 -4
  745. package/dist/cdn/2PRWJBE7.js +0 -4
  746. package/dist/cdn/2UHJDISO.js +0 -4
  747. package/dist/cdn/2VHNYXVX.js +0 -4
  748. package/dist/cdn/2VHTTXZT.js +0 -4
  749. package/dist/cdn/2WCY4GSS.js +0 -4
  750. package/dist/cdn/2Y6FPG3G.js +0 -4
  751. package/dist/cdn/2YQUEFKH.js +0 -4
  752. package/dist/cdn/32GPE35X.js +0 -4
  753. package/dist/cdn/34CYHCBR.js +0 -4
  754. package/dist/cdn/34ZDM5SZ.js +0 -4
  755. package/dist/cdn/36CMOPZ7.js +0 -4
  756. package/dist/cdn/3AFSARD3.js +0 -4
  757. package/dist/cdn/3CJ3FBDP.js +0 -4
  758. package/dist/cdn/3EGWGTRV.js +0 -4
  759. package/dist/cdn/3ERQ7J7H.js +0 -4
  760. package/dist/cdn/3G7YCQZU.js +0 -4
  761. package/dist/cdn/3GYD2LIC.js +0 -4
  762. package/dist/cdn/3H2SHHYE.js +0 -4
  763. package/dist/cdn/3HOIFSQ6.js +0 -4
  764. package/dist/cdn/3IGKMVRA.js +0 -4
  765. package/dist/cdn/3IJUNG7V.js +0 -4
  766. package/dist/cdn/3LLJA5CJ.js +0 -4
  767. package/dist/cdn/3LQM55HQ.js +0 -4
  768. package/dist/cdn/3MILAZAS.js +0 -4
  769. package/dist/cdn/3QE2KJSE.js +0 -4
  770. package/dist/cdn/3QKRCJHT.js +0 -4
  771. package/dist/cdn/3RN3RXZ4.js +0 -4
  772. package/dist/cdn/3TETF2E3.js +0 -4
  773. package/dist/cdn/3X5B6THY.js +0 -4
  774. package/dist/cdn/3YJBH4AG.js +0 -4
  775. package/dist/cdn/3YRUFD7H.js +0 -4
  776. package/dist/cdn/3ZGQXJDV.js +0 -4
  777. package/dist/cdn/427BSSCQ.js +0 -4
  778. package/dist/cdn/436QXCCN.js +0 -4
  779. package/dist/cdn/44AZWXFC.js +0 -4
  780. package/dist/cdn/44BVXBTR.js +0 -4
  781. package/dist/cdn/46LBNYUR.js +0 -4
  782. package/dist/cdn/4CKVUOFZ.js +0 -4
  783. package/dist/cdn/4EZGPBUR.js +0 -4
  784. package/dist/cdn/4FTDGECS.js +0 -4
  785. package/dist/cdn/4GO5CMLO.js +0 -4
  786. package/dist/cdn/4HKSJHT5.js +0 -4
  787. package/dist/cdn/4JEF7KN6.js +0 -4
  788. package/dist/cdn/4L3DG7FG.js +0 -4
  789. package/dist/cdn/4LKKQONV.js +0 -4
  790. package/dist/cdn/4LKLEGFK.js +0 -4
  791. package/dist/cdn/4NXQJPE6.js +0 -4
  792. package/dist/cdn/4RQI3V7Z.js +0 -4
  793. package/dist/cdn/4RZJB5TD.js +0 -4
  794. package/dist/cdn/4TAPDYRP.js +0 -4
  795. package/dist/cdn/4TNGAMUA.js +0 -4
  796. package/dist/cdn/4WMCKGHE.js +0 -4
  797. package/dist/cdn/4XPBNJUI.js +0 -4
  798. package/dist/cdn/4ZSPBQ7E.js +0 -4
  799. package/dist/cdn/53G7JVIB.js +0 -16
  800. package/dist/cdn/53UDQYBC.js +0 -4
  801. package/dist/cdn/544NKI4J.js +0 -4
  802. package/dist/cdn/553CLC47.js +0 -4
  803. package/dist/cdn/56LYGX74.js +0 -4
  804. package/dist/cdn/5AKT73LA.js +0 -4
  805. package/dist/cdn/5BYM6PLF.js +0 -4
  806. package/dist/cdn/5CB7OKK4.js +0 -4
  807. package/dist/cdn/5DGDIDZK.js +0 -4
  808. package/dist/cdn/5DKILHI3.js +0 -4
  809. package/dist/cdn/5DXF7OC4.js +0 -4
  810. package/dist/cdn/5FTU746R.js +0 -4
  811. package/dist/cdn/5G3II3RG.js +0 -4
  812. package/dist/cdn/5JHSZEWM.js +0 -4
  813. package/dist/cdn/5OTTY6SE.js +0 -4
  814. package/dist/cdn/5RSB6V7T.js +0 -4
  815. package/dist/cdn/5U27PRY4.js +0 -4
  816. package/dist/cdn/5V57FBJI.js +0 -4
  817. package/dist/cdn/5VEKLNMU.js +0 -4
  818. package/dist/cdn/5VVAI2T5.js +0 -4
  819. package/dist/cdn/62DK4PIL.js +0 -4
  820. package/dist/cdn/63RPBXHO.js +0 -4
  821. package/dist/cdn/644PWU3P.js +0 -41
  822. package/dist/cdn/64GA4L5B.js +0 -5
  823. package/dist/cdn/64SFQMBI.js +0 -4
  824. package/dist/cdn/66V75XGC.js +0 -4
  825. package/dist/cdn/67HS3AIQ.js +0 -4
  826. package/dist/cdn/67QLJSMN.js +0 -4
  827. package/dist/cdn/67VGWE4X.js +0 -4
  828. package/dist/cdn/6ABFKIWD.js +0 -4
  829. package/dist/cdn/6AF4Q7N3.js +0 -4
  830. package/dist/cdn/6AXB63PJ.js +0 -4
  831. package/dist/cdn/6BTD54IF.js +0 -4
  832. package/dist/cdn/6JY5PQE4.js +0 -4
  833. package/dist/cdn/6N6XGKEN.js +0 -4
  834. package/dist/cdn/6QMVRLDQ.js +0 -4
  835. package/dist/cdn/6SXM35KM.js +0 -4
  836. package/dist/cdn/6T32BPSO.js +0 -4
  837. package/dist/cdn/6TNTTY3Z.js +0 -4
  838. package/dist/cdn/6UJANJGA.js +0 -51
  839. package/dist/cdn/6VAAK7ME.js +0 -4
  840. package/dist/cdn/6VL24YRC.js +0 -4
  841. package/dist/cdn/6ZP7GNIG.js +0 -4
  842. package/dist/cdn/74VSWMIX.js +0 -4
  843. package/dist/cdn/764DWSNT.js +0 -4
  844. package/dist/cdn/7A4YF2H7.js +0 -4
  845. package/dist/cdn/7CTPVGHD.js +0 -4
  846. package/dist/cdn/7EMYZE3B.js +0 -4
  847. package/dist/cdn/7EXABJRQ.js +0 -4
  848. package/dist/cdn/7FTIWPUN.js +0 -4
  849. package/dist/cdn/7G6PL7DR.js +0 -4
  850. package/dist/cdn/7HB6POFF.js +0 -4
  851. package/dist/cdn/7IYEMZIS.js +0 -4
  852. package/dist/cdn/7JNJKKVW.js +0 -4
  853. package/dist/cdn/7JYFHKSD.js +0 -4
  854. package/dist/cdn/7L36Z76U.js +0 -4
  855. package/dist/cdn/7LBD2BU5.js +0 -4
  856. package/dist/cdn/7MRDIWS3.js +0 -4
  857. package/dist/cdn/7T2V2V57.js +0 -4
  858. package/dist/cdn/7U2KA4FU.js +0 -4
  859. package/dist/cdn/7W5QJFOQ.js +0 -4
  860. package/dist/cdn/7ZEUZRAT.js +0 -4
  861. package/dist/cdn/7ZMSNXQ2.js +0 -4
  862. package/dist/cdn/A3AQOIUG.js +0 -4
  863. package/dist/cdn/A3KMSX4Z.js +0 -4
  864. package/dist/cdn/A4NK37M6.js +0 -4
  865. package/dist/cdn/A5QAEF5C.js +0 -4
  866. package/dist/cdn/ACZOK7T3.js +0 -4
  867. package/dist/cdn/AF3T3FP7.js +0 -4
  868. package/dist/cdn/AFA2ZHM2.js +0 -4
  869. package/dist/cdn/AHQS7GUZ.js +0 -4
  870. package/dist/cdn/AHUVIR7P.js +0 -4
  871. package/dist/cdn/AKV2M3PW.js +0 -4
  872. package/dist/cdn/ALAGUXB5.js +0 -4
  873. package/dist/cdn/AQ3FCZU4.js +0 -4
  874. package/dist/cdn/AQ6KHZIL.js +0 -4
  875. package/dist/cdn/AWDXEYV5.js +0 -4
  876. package/dist/cdn/AWFFCDIS.js +0 -4
  877. package/dist/cdn/AY3H3TTW.js +0 -4
  878. package/dist/cdn/AYKR3NJF.js +0 -4
  879. package/dist/cdn/B23QUYW5.js +0 -4
  880. package/dist/cdn/B2DI5J3S.js +0 -4
  881. package/dist/cdn/B2SDFH36.js +0 -4
  882. package/dist/cdn/B4TKRDJ2.js +0 -6
  883. package/dist/cdn/B6IOQFAU.js +0 -4
  884. package/dist/cdn/B7L5ZZBO.js +0 -4
  885. package/dist/cdn/B7UROCY2.js +0 -4
  886. package/dist/cdn/BASNBDA2.js +0 -4
  887. package/dist/cdn/BFCL242E.js +0 -4
  888. package/dist/cdn/BFEUYV3O.js +0 -4
  889. package/dist/cdn/BHSUXW7L.js +0 -4
  890. package/dist/cdn/BNHMA7NJ.js +0 -4
  891. package/dist/cdn/BPPEYXSA.js +0 -4
  892. package/dist/cdn/BR7JTCBW.js +0 -4
  893. package/dist/cdn/BRVTYS6C.js +0 -4
  894. package/dist/cdn/BSYXZPYR.js +0 -4
  895. package/dist/cdn/BUGIIIYJ.js +0 -4
  896. package/dist/cdn/BUUQL5YU.js +0 -4
  897. package/dist/cdn/BWFGCZGE.js +0 -4
  898. package/dist/cdn/BWJOBHJS.js +0 -4
  899. package/dist/cdn/BXY6RGTS.js +0 -4
  900. package/dist/cdn/BXZGDUQG.js +0 -4
  901. package/dist/cdn/BYSO3WPV.js +0 -5
  902. package/dist/cdn/C26W5QIL.js +0 -4
  903. package/dist/cdn/CA6AD2H4.js +0 -59
  904. package/dist/cdn/CB6KR5UO.js +0 -4
  905. package/dist/cdn/CB7UZSB4.js +0 -4
  906. package/dist/cdn/CBMPE3BF.js +0 -4
  907. package/dist/cdn/CBTXMLUY.js +0 -4
  908. package/dist/cdn/CEADNT5O.js +0 -8
  909. package/dist/cdn/CEIX437Z.js +0 -4
  910. package/dist/cdn/CFALH63L.js +0 -4
  911. package/dist/cdn/CFLSJLQF.js +0 -4
  912. package/dist/cdn/CI3M2SEZ.js +0 -4
  913. package/dist/cdn/CIGFTZMW.js +0 -4
  914. package/dist/cdn/CILE5NLQ.js +0 -4
  915. package/dist/cdn/CJURKTKE.js +0 -4
  916. package/dist/cdn/CLEX7LDL.js +0 -4
  917. package/dist/cdn/CM63LOMT.js +0 -4
  918. package/dist/cdn/CQB6QUZB.js +0 -4
  919. package/dist/cdn/CQZX4YIW.js +0 -4
  920. package/dist/cdn/CTTDTNNS.js +0 -4
  921. package/dist/cdn/CUHU47Y2.js +0 -4
  922. package/dist/cdn/CUQEYKCG.js +0 -4
  923. package/dist/cdn/CVMMYKN4.js +0 -4
  924. package/dist/cdn/CWQG3NC3.js +0 -4
  925. package/dist/cdn/CXLCOUNS.js +0 -4
  926. package/dist/cdn/CXVLFKDK.js +0 -4
  927. package/dist/cdn/CYMIE5SM.js +0 -4
  928. package/dist/cdn/D2ACPQDX.js +0 -4
  929. package/dist/cdn/D5DQYH5P.js +0 -4
  930. package/dist/cdn/D5UERQVY.js +0 -4
  931. package/dist/cdn/D5ZA2UVG.js +0 -4
  932. package/dist/cdn/DATCDM5O.js +0 -4
  933. package/dist/cdn/DB65RJMN.js +0 -4
  934. package/dist/cdn/DGKYGAMO.js +0 -4
  935. package/dist/cdn/DGQHGCZ4.js +0 -4
  936. package/dist/cdn/DJEX6PUF.js +0 -4
  937. package/dist/cdn/DKJ645ZJ.js +0 -4
  938. package/dist/cdn/DLAW5IKP.js +0 -4
  939. package/dist/cdn/DP4GXLIU.js +0 -4
  940. package/dist/cdn/DPI5XG6J.js +0 -4
  941. package/dist/cdn/DRPZ7AZY.js +0 -4
  942. package/dist/cdn/DVUUTB2U.js +0 -4
  943. package/dist/cdn/DXWI6SZK.js +0 -4
  944. package/dist/cdn/DYGDD2YU.js +0 -4
  945. package/dist/cdn/DZBJ4U36.js +0 -4
  946. package/dist/cdn/E466YE74.js +0 -4
  947. package/dist/cdn/E5JRCWWT.js +0 -4
  948. package/dist/cdn/E72HLH2A.js +0 -4
  949. package/dist/cdn/E7NLVI2K.js +0 -4
  950. package/dist/cdn/E7YZOA65.js +0 -4
  951. package/dist/cdn/EBYJY7JI.js +0 -4
  952. package/dist/cdn/EDN3GRA5.js +0 -4
  953. package/dist/cdn/EEWETLKS.js +0 -4
  954. package/dist/cdn/EFZ7XMZI.js +0 -4
  955. package/dist/cdn/EG2PVSHG.js +0 -4
  956. package/dist/cdn/EH2Y5NKD.js +0 -4
  957. package/dist/cdn/EJTW2B4R.js +0 -4
  958. package/dist/cdn/EKHJWMH3.js +0 -4
  959. package/dist/cdn/ET56W6IG.js +0 -4
  960. package/dist/cdn/ET5LPLYM.js +0 -4
  961. package/dist/cdn/ETQ2QJK2.js +0 -4
  962. package/dist/cdn/ETTPBSIQ.js +0 -4
  963. package/dist/cdn/EUKGM2U5.js +0 -4
  964. package/dist/cdn/EUV6Q5R3.js +0 -4
  965. package/dist/cdn/EWN2P3A4.js +0 -4
  966. package/dist/cdn/EWRZYGRG.js +0 -4
  967. package/dist/cdn/EZDLD37K.js +0 -4
  968. package/dist/cdn/F3U3PHPL.js +0 -4
  969. package/dist/cdn/F46S7RZS.js +0 -4
  970. package/dist/cdn/F4YPZTQZ.js +0 -6
  971. package/dist/cdn/F5IMGYUJ.js +0 -4
  972. package/dist/cdn/F7QV2A5S.js +0 -4
  973. package/dist/cdn/FF7P5ZK2.js +0 -4
  974. package/dist/cdn/FFJLMYH5.js +0 -4
  975. package/dist/cdn/FG2MK647.js +0 -4
  976. package/dist/cdn/FGPEDLEP.js +0 -4
  977. package/dist/cdn/FGXMV5TO.js +0 -4
  978. package/dist/cdn/FIEXER7K.js +0 -4
  979. package/dist/cdn/FM34DLK3.js +0 -4
  980. package/dist/cdn/FNKFBLGY.js +0 -4
  981. package/dist/cdn/FNWXP7YS.js +0 -4
  982. package/dist/cdn/FW5Q6XKI.js +0 -4
  983. package/dist/cdn/FWEFUVY4.js +0 -4
  984. package/dist/cdn/FXI5JZZ5.js +0 -4
  985. package/dist/cdn/FXNPJ4WK.js +0 -4
  986. package/dist/cdn/FZKB7SLI.js +0 -4
  987. package/dist/cdn/G2FCU3WX.js +0 -4
  988. package/dist/cdn/G4BZPZCW.js +0 -4
  989. package/dist/cdn/G4UI7IY2.js +0 -4
  990. package/dist/cdn/G4US7HHG.js +0 -4
  991. package/dist/cdn/G5HNR5V5.js +0 -4
  992. package/dist/cdn/G5WR5UIY.js +0 -4
  993. package/dist/cdn/G63TP5O3.js +0 -4
  994. package/dist/cdn/G6AWEYNM.js +0 -4
  995. package/dist/cdn/G6JGX53H.js +0 -4
  996. package/dist/cdn/G7DMVQLN.js +0 -4
  997. package/dist/cdn/G7QZR4GK.js +0 -4
  998. package/dist/cdn/GDEKUAA2.js +0 -4
  999. package/dist/cdn/GFK4MLAW.js +0 -4
  1000. package/dist/cdn/GGJIZKOB.js +0 -4
  1001. package/dist/cdn/GIG4C77Y.js +0 -4
  1002. package/dist/cdn/GIJ2R7Q2.js +0 -12
  1003. package/dist/cdn/GK4LYQ5T.js +0 -4
  1004. package/dist/cdn/GNFBBSBK.js +0 -4
  1005. package/dist/cdn/GNWDHGRW.js +0 -4
  1006. package/dist/cdn/GOB5J2CL.js +0 -4
  1007. package/dist/cdn/GODJIFSW.js +0 -4
  1008. package/dist/cdn/GRBD6NLT.js +0 -4
  1009. package/dist/cdn/GRCZ3S6W.js +0 -4
  1010. package/dist/cdn/GRUAPZQZ.js +0 -4
  1011. package/dist/cdn/GUKFYLEJ.js +0 -4
  1012. package/dist/cdn/GXGPVESO.js +0 -4
  1013. package/dist/cdn/GZTYWHF5.js +0 -4
  1014. package/dist/cdn/H5DOSEWS.js +0 -4
  1015. package/dist/cdn/H6VK5OPG.js +0 -4
  1016. package/dist/cdn/HCNAAKRU.js +0 -4
  1017. package/dist/cdn/HCOOVRN7.js +0 -12
  1018. package/dist/cdn/HD4WTL7B.js +0 -11
  1019. package/dist/cdn/HDMYGOFZ.js +0 -4
  1020. package/dist/cdn/HI5BOHDX.js +0 -4
  1021. package/dist/cdn/HIBLUZOO.js +0 -4
  1022. package/dist/cdn/HIZAXPGG.js +0 -4
  1023. package/dist/cdn/HJHSDEV7.js +0 -4
  1024. package/dist/cdn/HKR76JNV.js +0 -4
  1025. package/dist/cdn/HNZFNYNH.js +0 -4
  1026. package/dist/cdn/HOSBSLG6.js +0 -4
  1027. package/dist/cdn/HRQLDR2T.js +0 -4
  1028. package/dist/cdn/HRTB4WZ6.js +0 -4
  1029. package/dist/cdn/HVTWCXOA.js +0 -4
  1030. package/dist/cdn/HXGNXXI6.js +0 -4
  1031. package/dist/cdn/HXQV6RUW.js +0 -4
  1032. package/dist/cdn/HZIN3AUG.js +0 -4
  1033. package/dist/cdn/I2ZCK43W.js +0 -4
  1034. package/dist/cdn/I4ZUEBSG.js +0 -4
  1035. package/dist/cdn/I5YE6SWI.js +0 -4
  1036. package/dist/cdn/I66LASKA.js +0 -4
  1037. package/dist/cdn/I6MAGXCQ.js +0 -4
  1038. package/dist/cdn/I7XWIWNR.js +0 -4
  1039. package/dist/cdn/IA4DFWKQ.js +0 -4
  1040. package/dist/cdn/ICXSPR2K.js +0 -4
  1041. package/dist/cdn/IGCUORMO.js +0 -4
  1042. package/dist/cdn/IJPRILCK.js +0 -4
  1043. package/dist/cdn/IKJLHL4Y.js +0 -4
  1044. package/dist/cdn/ILPCOYPZ.js +0 -4
  1045. package/dist/cdn/IQT4JEWF.js +0 -4
  1046. package/dist/cdn/IS5J3IVX.js +0 -4
  1047. package/dist/cdn/IZGVOYOS.js +0 -4
  1048. package/dist/cdn/J333WQTB.js +0 -4
  1049. package/dist/cdn/J3QFOBDH.js +0 -4
  1050. package/dist/cdn/J3QOMJEW.js +0 -4
  1051. package/dist/cdn/J3X5EJG2.js +0 -4
  1052. package/dist/cdn/J75T676P.js +0 -4
  1053. package/dist/cdn/JAM3TAWC.js +0 -4
  1054. package/dist/cdn/JB5SSARS.js +0 -4
  1055. package/dist/cdn/JBBDL6VI.js +0 -4
  1056. package/dist/cdn/JCKW2T2I.js +0 -4
  1057. package/dist/cdn/JD6Q24SH.js +0 -4
  1058. package/dist/cdn/JEVOAKTS.js +0 -4
  1059. package/dist/cdn/JFOS4VCG.js +0 -4
  1060. package/dist/cdn/JGGPYKOQ.js +0 -4
  1061. package/dist/cdn/JL3ENNRW.js +0 -4
  1062. package/dist/cdn/JPONY4SG.js +0 -4
  1063. package/dist/cdn/JREAP76J.js +0 -4
  1064. package/dist/cdn/JRM7NDLV.js +0 -4
  1065. package/dist/cdn/JSKTG4LC.js +0 -4
  1066. package/dist/cdn/JTSD7WRD.js +0 -5
  1067. package/dist/cdn/JXZEWARW.js +0 -4
  1068. package/dist/cdn/JYWKZA4T.js +0 -4
  1069. package/dist/cdn/JZKWGSBL.js +0 -4
  1070. package/dist/cdn/K4OBOGDK.js +0 -4
  1071. package/dist/cdn/K53447XI.js +0 -4
  1072. package/dist/cdn/K5SW6CMZ.js +0 -4
  1073. package/dist/cdn/K5WLUXWI.js +0 -4
  1074. package/dist/cdn/K7BK6UXP.js +0 -4
  1075. package/dist/cdn/KBVL7V3I.js +0 -4
  1076. package/dist/cdn/KC2RGTYI.js +0 -4
  1077. package/dist/cdn/KD46SUS5.js +0 -4
  1078. package/dist/cdn/KFHCELDI.js +0 -4
  1079. package/dist/cdn/KFM3MRAR.js +0 -4
  1080. package/dist/cdn/KHBQ5ENH.js +0 -4
  1081. package/dist/cdn/KHBSPO6Y.js +0 -4
  1082. package/dist/cdn/KK6FFE5N.js +0 -4
  1083. package/dist/cdn/KKKT35NF.js +0 -4
  1084. package/dist/cdn/KKSQXLGF.js +0 -4
  1085. package/dist/cdn/KKYRTFU2.js +0 -4
  1086. package/dist/cdn/KOEH6BCO.js +0 -4
  1087. package/dist/cdn/KPYUKCID.js +0 -4
  1088. package/dist/cdn/KRCJLHUP.js +0 -4
  1089. package/dist/cdn/KT4YHR5Q.js +0 -4
  1090. package/dist/cdn/KWLWGBDW.js +0 -4
  1091. package/dist/cdn/KZGORLAX.js +0 -4
  1092. package/dist/cdn/L2OX6BOI.js +0 -4
  1093. package/dist/cdn/L4BUOITB.js +0 -4
  1094. package/dist/cdn/LDAOLIZE.js +0 -4
  1095. package/dist/cdn/LEIXEUQC.js +0 -4
  1096. package/dist/cdn/LENB6EDB.js +0 -4
  1097. package/dist/cdn/LI7U5YJV.js +0 -4
  1098. package/dist/cdn/LNQYPX5R.js +0 -4
  1099. package/dist/cdn/LQM7MDNN.js +0 -4
  1100. package/dist/cdn/LWR7M6QE.js +0 -4
  1101. package/dist/cdn/LX7PLHPE.js +0 -4
  1102. package/dist/cdn/LZIGWU5I.js +0 -4
  1103. package/dist/cdn/M2LTUP4N.js +0 -4
  1104. package/dist/cdn/M2TKVETL.js +0 -4
  1105. package/dist/cdn/M4NP4RZW.js +0 -4
  1106. package/dist/cdn/M5WDOYEO.js +0 -4
  1107. package/dist/cdn/MA7IQ4J3.js +0 -4
  1108. package/dist/cdn/MADP67BT.js +0 -4
  1109. package/dist/cdn/MANRYEBX.js +0 -4
  1110. package/dist/cdn/MD5VHMHG.js +0 -4
  1111. package/dist/cdn/MDERYLYU.js +0 -4
  1112. package/dist/cdn/MDF72XF4.js +0 -4
  1113. package/dist/cdn/MDJWFQB4.js +0 -4
  1114. package/dist/cdn/MDLGTXG6.js +0 -4
  1115. package/dist/cdn/MDY7ASMO.js +0 -4
  1116. package/dist/cdn/MFZTIJNC.js +0 -5
  1117. package/dist/cdn/MHNXAR3R.js +0 -4
  1118. package/dist/cdn/MOUA5F6O.js +0 -4
  1119. package/dist/cdn/MP5ZQ53N.js +0 -4
  1120. package/dist/cdn/MPZ4HHPD.js +0 -4
  1121. package/dist/cdn/MQC42YWY.js +0 -9
  1122. package/dist/cdn/MUGI7UA5.js +0 -4
  1123. package/dist/cdn/MWKJ2F72.js +0 -4
  1124. package/dist/cdn/MXBASGNZ.js +0 -4
  1125. package/dist/cdn/MXGQZC54.js +0 -4
  1126. package/dist/cdn/N454J27M.js +0 -4
  1127. package/dist/cdn/N52VA5TZ.js +0 -4
  1128. package/dist/cdn/NAOR2UQF.js +0 -4
  1129. package/dist/cdn/NBCGUXGI.js +0 -4
  1130. package/dist/cdn/NCWWQUIA.js +0 -4
  1131. package/dist/cdn/NGZKEOBW.js +0 -4
  1132. package/dist/cdn/NI4JO454.js +0 -4
  1133. package/dist/cdn/NMKZLZ2V.js +0 -4
  1134. package/dist/cdn/NMRW7DPF.js +0 -4
  1135. package/dist/cdn/NNDUW2VW.js +0 -4
  1136. package/dist/cdn/NNUCMUNR.js +0 -4
  1137. package/dist/cdn/NO3FDGNH.js +0 -4
  1138. package/dist/cdn/NO4D7W74.js +0 -4
  1139. package/dist/cdn/NPYXUFMW.js +0 -4
  1140. package/dist/cdn/NSX4XFK7.js +0 -4
  1141. package/dist/cdn/NT5CSIUN.js +0 -4
  1142. package/dist/cdn/NUBV5BHL.js +0 -4
  1143. package/dist/cdn/NYMBHSSA.js +0 -4
  1144. package/dist/cdn/NZQMBY64.js +0 -4
  1145. package/dist/cdn/O2K5FPTG.js +0 -4
  1146. package/dist/cdn/O2RX5VXY.js +0 -4
  1147. package/dist/cdn/O6GUDYH7.js +0 -4
  1148. package/dist/cdn/O7GRJAKI.js +0 -4
  1149. package/dist/cdn/O7INCN7M.js +0 -5470
  1150. package/dist/cdn/O7MNPYPD.js +0 -4
  1151. package/dist/cdn/O7X7KYQB.js +0 -4
  1152. package/dist/cdn/OBIHLR6Z.js +0 -4
  1153. package/dist/cdn/OC5LIFNR.js +0 -4
  1154. package/dist/cdn/OFSL76UO.js +0 -4
  1155. package/dist/cdn/OGV6J6QZ.js +0 -4
  1156. package/dist/cdn/OJBZWAI4.js +0 -4
  1157. package/dist/cdn/OJGTWYGV.js +0 -4
  1158. package/dist/cdn/OLOKPKW4.js +0 -4
  1159. package/dist/cdn/OOV2SDKN.js +0 -4
  1160. package/dist/cdn/ORM2T6XE.js +0 -4
  1161. package/dist/cdn/ORWPHFZY.js +0 -4
  1162. package/dist/cdn/OX2BBIQ4.js +0 -4
  1163. package/dist/cdn/OZCVFV2S.js +0 -4
  1164. package/dist/cdn/OZY2LXSE.js +0 -4
  1165. package/dist/cdn/P2AW4HOJ.js +0 -4
  1166. package/dist/cdn/P34HBVEH.js +0 -4
  1167. package/dist/cdn/P5P5NBIZ.js +0 -4
  1168. package/dist/cdn/P6XIWL6X.js +0 -4
  1169. package/dist/cdn/PA3L23A3.js +0 -4
  1170. package/dist/cdn/PEZWBFI5.js +0 -4
  1171. package/dist/cdn/PFQUPCXK.js +0 -4
  1172. package/dist/cdn/PGN4Y2EN.js +0 -4
  1173. package/dist/cdn/PH5G3JKR.js +0 -5
  1174. package/dist/cdn/PIM6XVSP.js +0 -4
  1175. package/dist/cdn/PMTPADKG.js +0 -4
  1176. package/dist/cdn/POS4OZXB.js +0 -4
  1177. package/dist/cdn/PPQKFCCX.js +0 -4
  1178. package/dist/cdn/PS5ZHIB5.js +0 -6
  1179. package/dist/cdn/PTEMK7F2.js +0 -4
  1180. package/dist/cdn/PWIMMURO.js +0 -4
  1181. package/dist/cdn/Q2ALILMF.js +0 -4
  1182. package/dist/cdn/Q2M4UHGL.js +0 -4
  1183. package/dist/cdn/Q53NBVWA.js +0 -4
  1184. package/dist/cdn/Q6FNURJN.js +0 -4
  1185. package/dist/cdn/Q6SA3MCJ.js +0 -4
  1186. package/dist/cdn/QCCBMQPZ.js +0 -4
  1187. package/dist/cdn/QD3JB4Y5.js +0 -4
  1188. package/dist/cdn/QDWD6OQL.js +0 -4
  1189. package/dist/cdn/QEHTJ3RA.js +0 -4
  1190. package/dist/cdn/QEVXVOEQ.js +0 -4
  1191. package/dist/cdn/QGNNW44K.js +0 -4
  1192. package/dist/cdn/QJNVFMJU.js +0 -4
  1193. package/dist/cdn/QKSJ4ID5.js +0 -4
  1194. package/dist/cdn/QL7YU472.js +0 -4
  1195. package/dist/cdn/QMOPLMOR.js +0 -24
  1196. package/dist/cdn/QNAGC3SQ.js +0 -4
  1197. package/dist/cdn/QP75ZQRM.js +0 -4
  1198. package/dist/cdn/QPMTOXT7.js +0 -4
  1199. package/dist/cdn/QQFE7MJU.js +0 -4
  1200. package/dist/cdn/QRFT5V2B.js +0 -4
  1201. package/dist/cdn/QRPA3IL2.js +0 -4
  1202. package/dist/cdn/QSNFQ2K3.js +0 -4
  1203. package/dist/cdn/QSPS64ZQ.js +0 -4
  1204. package/dist/cdn/QT3KYJOZ.js +0 -4
  1205. package/dist/cdn/QVT54QWT.js +0 -4
  1206. package/dist/cdn/QZXHOFWZ.js +0 -4
  1207. package/dist/cdn/R3E54TBW.js +0 -4
  1208. package/dist/cdn/R4KE3QUE.js +0 -4
  1209. package/dist/cdn/R4VA3GXH.js +0 -4
  1210. package/dist/cdn/R6O7RL3I.js +0 -4
  1211. package/dist/cdn/R76QJG6N.js +0 -4
  1212. package/dist/cdn/R7HPMPXM.js +0 -4
  1213. package/dist/cdn/RD5WWPJR.js +0 -4
  1214. package/dist/cdn/RHOWXXXJ.js +0 -4
  1215. package/dist/cdn/RJWFXLYW.js +0 -4
  1216. package/dist/cdn/RM6L6ZAH.js +0 -4
  1217. package/dist/cdn/RNYI2SM6.js +0 -4
  1218. package/dist/cdn/RP6ALGVI.js +0 -4
  1219. package/dist/cdn/RQXRX4WI.js +0 -8
  1220. package/dist/cdn/RSFRJBEO.js +0 -4
  1221. package/dist/cdn/RSPHHZSB.js +0 -4
  1222. package/dist/cdn/RTIUQGEX.js +0 -4
  1223. package/dist/cdn/RU4QELI7.js +0 -4
  1224. package/dist/cdn/RU6EHM2W.js +0 -4
  1225. package/dist/cdn/S37YCCV2.js +0 -4
  1226. package/dist/cdn/S3GB77AZ.js +0 -4
  1227. package/dist/cdn/S4MF4MJX.js +0 -4
  1228. package/dist/cdn/S576H3TE.js +0 -4
  1229. package/dist/cdn/SBVAL433.js +0 -4
  1230. package/dist/cdn/SC26FIGR.js +0 -4
  1231. package/dist/cdn/SC27JIXZ.js +0 -4
  1232. package/dist/cdn/SGNSH5F5.js +0 -4
  1233. package/dist/cdn/SHIHWXWN.js +0 -4
  1234. package/dist/cdn/SI6EG7RK.js +0 -4
  1235. package/dist/cdn/SIMISSPX.js +0 -4
  1236. package/dist/cdn/SMD7AVYR.js +0 -4
  1237. package/dist/cdn/SN7NINUE.js +0 -5
  1238. package/dist/cdn/SOUUXTUT.js +0 -4
  1239. package/dist/cdn/SP2USAUP.js +0 -4
  1240. package/dist/cdn/SPPCQYD7.js +0 -59
  1241. package/dist/cdn/SQFV7Q5F.js +0 -4
  1242. package/dist/cdn/SRDA2A3T.js +0 -4
  1243. package/dist/cdn/SRMZNYC5.js +0 -4
  1244. package/dist/cdn/SXFBZDW3.js +0 -4
  1245. package/dist/cdn/T6A2AURM.js +0 -4
  1246. package/dist/cdn/TBMO3QOP.js +0 -4
  1247. package/dist/cdn/TCK5EL3W.js +0 -4
  1248. package/dist/cdn/TDJW62UL.js +0 -4
  1249. package/dist/cdn/TFJHNOIK.js +0 -4
  1250. package/dist/cdn/THFFMPRQ.js +0 -4
  1251. package/dist/cdn/THNAR4WX.js +0 -4
  1252. package/dist/cdn/THO7TCTL.js +0 -4
  1253. package/dist/cdn/THXDNCRE.js +0 -4
  1254. package/dist/cdn/TKPAGPGH.js +0 -4
  1255. package/dist/cdn/TKXAWW6I.js +0 -4
  1256. package/dist/cdn/TLXXWRVE.js +0 -4
  1257. package/dist/cdn/TWRELGNN.js +0 -4
  1258. package/dist/cdn/TX7UGDQX.js +0 -4
  1259. package/dist/cdn/TXSIVIQ5.js +0 -4
  1260. package/dist/cdn/TYPZVSFM.js +0 -4
  1261. package/dist/cdn/TZHH46DF.js +0 -4
  1262. package/dist/cdn/TZSCHNTD.js +0 -4
  1263. package/dist/cdn/U424F3VI.js +0 -4
  1264. package/dist/cdn/U4TMOVD6.js +0 -4
  1265. package/dist/cdn/U5E5RHIW.js +0 -4
  1266. package/dist/cdn/U6INTQZ7.js +0 -4
  1267. package/dist/cdn/UEXHIX3L.js +0 -4
  1268. package/dist/cdn/UF56DVEK.js +0 -4
  1269. package/dist/cdn/UHXDJHTN.js +0 -4
  1270. package/dist/cdn/UJFGVHCE.js +0 -4
  1271. package/dist/cdn/UK6K6WJV.js +0 -4
  1272. package/dist/cdn/UKTI3ZKB.js +0 -4
  1273. package/dist/cdn/UMSWPNCL.js +0 -4
  1274. package/dist/cdn/UMURFUZX.js +0 -4
  1275. package/dist/cdn/UNIKJ5HB.js +0 -4
  1276. package/dist/cdn/UQ6EOJ4C.js +0 -4
  1277. package/dist/cdn/UQOCCM46.js +0 -4
  1278. package/dist/cdn/URFMY2V2.js +0 -4
  1279. package/dist/cdn/URXZC5ZW.js +0 -4
  1280. package/dist/cdn/UTEIPRPA.js +0 -4
  1281. package/dist/cdn/UUF33TSE.js +0 -4
  1282. package/dist/cdn/UXCPLOLC.js +0 -4
  1283. package/dist/cdn/UXLQF5DM.js +0 -4
  1284. package/dist/cdn/UZBZKSBJ.js +0 -4
  1285. package/dist/cdn/V3WUXT5P.js +0 -4
  1286. package/dist/cdn/VBUUD4S5.js +0 -42
  1287. package/dist/cdn/VCEUS53F.js +0 -4
  1288. package/dist/cdn/VDKDJW2T.js +0 -4
  1289. package/dist/cdn/VFICRFG5.js +0 -4
  1290. package/dist/cdn/VFQ7FM7R.js +0 -4
  1291. package/dist/cdn/VGYRL35E.js +0 -4
  1292. package/dist/cdn/VKG4TFAS.js +0 -4
  1293. package/dist/cdn/VKPLSJBG.js +0 -4
  1294. package/dist/cdn/VMVMUJBW.js +0 -4
  1295. package/dist/cdn/VNQ26O3X.js +0 -4
  1296. package/dist/cdn/VQ3C6QSO.js +0 -4
  1297. package/dist/cdn/VQD5AQZA.js +0 -4
  1298. package/dist/cdn/VRIDACAX.js +0 -4
  1299. package/dist/cdn/W3N2QN4F.js +0 -4
  1300. package/dist/cdn/W3NIEUU7.js +0 -4
  1301. package/dist/cdn/W4BD2J4W.js +0 -4
  1302. package/dist/cdn/W4G7U7LE.js +0 -4
  1303. package/dist/cdn/W6PD2JJU.js +0 -4
  1304. package/dist/cdn/W744ELVA.js +0 -4
  1305. package/dist/cdn/WFEZQIOB.js +0 -4
  1306. package/dist/cdn/WG6OXKEC.js +0 -4
  1307. package/dist/cdn/WGCCYP2F.js +0 -4
  1308. package/dist/cdn/WJFTRFRO.js +0 -4
  1309. package/dist/cdn/WK3HWZRK.js +0 -4
  1310. package/dist/cdn/WKXGLYRY.js +0 -4
  1311. package/dist/cdn/WMKULBN6.js +0 -4
  1312. package/dist/cdn/WNQ3Z55S.js +0 -4
  1313. package/dist/cdn/WO4KK2JG.js +0 -4
  1314. package/dist/cdn/WO7EXINV.js +0 -4
  1315. package/dist/cdn/WPDXRNHJ.js +0 -4
  1316. package/dist/cdn/WQV5K7HS.js +0 -4
  1317. package/dist/cdn/WTAVJZSU.js +0 -4
  1318. package/dist/cdn/WUSMDRN3.js +0 -4
  1319. package/dist/cdn/WV7BH4BJ.js +0 -4
  1320. package/dist/cdn/WXEOWIXZ.js +0 -4
  1321. package/dist/cdn/WZA5LDQQ.js +0 -4
  1322. package/dist/cdn/WZSWWIL2.js +0 -4
  1323. package/dist/cdn/X2DPTNJA.js +0 -4
  1324. package/dist/cdn/X5DGO6CP.js +0 -4
  1325. package/dist/cdn/X6Y4EDIQ.js +0 -4
  1326. package/dist/cdn/XCEAHD3C.js +0 -4
  1327. package/dist/cdn/XECTTNJL.js +0 -4
  1328. package/dist/cdn/XGOO7G2F.js +0 -4
  1329. package/dist/cdn/XIF3LVQK.js +0 -4
  1330. package/dist/cdn/XJVKYJP2.js +0 -4
  1331. package/dist/cdn/XKHNUKVF.js +0 -4
  1332. package/dist/cdn/XLKBP255.js +0 -4
  1333. package/dist/cdn/XLKQRZXL.js +0 -4
  1334. package/dist/cdn/XLQUMLNV.js +0 -4
  1335. package/dist/cdn/XNNKKEDK.js +0 -4
  1336. package/dist/cdn/XOLDV3WI.js +0 -4
  1337. package/dist/cdn/XOXB76G2.js +0 -4
  1338. package/dist/cdn/XP67A52O.js +0 -4
  1339. package/dist/cdn/XPBX2EWM.js +0 -4
  1340. package/dist/cdn/XPEMM2YU.js +0 -4
  1341. package/dist/cdn/XREGNZ4W.js +0 -4
  1342. package/dist/cdn/XRJ37IBA.js +0 -4
  1343. package/dist/cdn/XRLA7NT5.js +0 -4
  1344. package/dist/cdn/XSCHUACE.js +0 -4
  1345. package/dist/cdn/XTX4VRYR.js +0 -4
  1346. package/dist/cdn/XVSN35KH.js +0 -4
  1347. package/dist/cdn/XZ4VK2TX.js +0 -4
  1348. package/dist/cdn/XZ7Z4EOM.js +0 -4
  1349. package/dist/cdn/XZMFNGDH.js +0 -4
  1350. package/dist/cdn/XZZMTB4G.js +0 -4
  1351. package/dist/cdn/Y44RIBPJ.js +0 -4
  1352. package/dist/cdn/Y4NXXMZA.js +0 -4
  1353. package/dist/cdn/Y6GXRDEF.js +0 -4
  1354. package/dist/cdn/Y6HHKY57.js +0 -4
  1355. package/dist/cdn/YBMGYFHV.js +0 -4
  1356. package/dist/cdn/YFWWEE3O.js +0 -4
  1357. package/dist/cdn/YH6NK5DW.js +0 -4
  1358. package/dist/cdn/YHPBAQEP.js +0 -4
  1359. package/dist/cdn/YJTUZJKM.js +0 -4
  1360. package/dist/cdn/YLXXVEUB.js +0 -4
  1361. package/dist/cdn/YNUCDAYP.js +0 -4
  1362. package/dist/cdn/YNWGPCTL.js +0 -4
  1363. package/dist/cdn/YNYW5UHT.js +0 -4
  1364. package/dist/cdn/YPBKCBQC.js +0 -4
  1365. package/dist/cdn/YVCPWSOC.js +0 -4
  1366. package/dist/cdn/YWMV3VPR.js +0 -4
  1367. package/dist/cdn/Z2ZI3CRC.js +0 -4
  1368. package/dist/cdn/Z36NDTBI.js +0 -4
  1369. package/dist/cdn/Z3GC3IBQ.js +0 -4
  1370. package/dist/cdn/Z3V3CZOO.js +0 -4
  1371. package/dist/cdn/Z42Y77QS.js +0 -4
  1372. package/dist/cdn/Z4RXZAIG.js +0 -4
  1373. package/dist/cdn/Z54J5PIZ.js +0 -4
  1374. package/dist/cdn/Z5LNYHTL.js +0 -4
  1375. package/dist/cdn/Z62VKC64.js +0 -4
  1376. package/dist/cdn/Z7WAPFEH.js +0 -4
  1377. package/dist/cdn/ZG7F7VFM.js +0 -4
  1378. package/dist/cdn/ZI3TO2WG.js +0 -4
  1379. package/dist/cdn/ZIWL35PB.js +0 -4
  1380. package/dist/cdn/ZJSDOJ2Z.js +0 -4
  1381. package/dist/cdn/ZRBTXCP5.js +0 -4
  1382. package/dist/cdn/ZVFWBXAP.js +0 -4
  1383. package/dist/cdn/ZYN2UKIR.js +0 -4
  1384. package/dist/cdn/ZYSZWRQM.js +0 -4
  1385. package/dist/cdn/ZYZIE7C7.js +0 -4
  1386. package/dist/cdn/assets/layout-node-overlay/t9n/messages.en.json +0 -1
  1387. package/dist/components/arcgis-layout-node-highlight/customElement.d.ts +0 -20
  1388. package/dist/components/arcgis-layout-node-highlight/customElement.js +0 -191
  1389. package/dist/components/arcgis-layout-node-highlight/index.d.ts +0 -6
  1390. package/dist/components/arcgis-layout-node-highlight/index.js +0 -6
  1391. package/dist/components/arcgis-layout-node-overlay/customElement.d.ts +0 -21
  1392. package/dist/components/arcgis-layout-node-overlay/customElement.js +0 -34
  1393. package/dist/components/arcgis-layout-node-overlay/index.d.ts +0 -2
  1394. package/dist/components/arcgis-layout-node-overlay/index.js +0 -2
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.27/esri/copyright.txt for details.
3
+ v0.27.0 */
4
+ import b from"./YZI5IZBN.js";import"./UHW7JQIY.js";import"./HMCZUVLG.js";import"./KHXU3G2A.js";import"./AXSGVFIT.js";import"./AH4Y7QIU.js";import"./HUFIXGTS.js";import"./NGNTHJG7.js";import"./F4HG5HMN.js";import"./4HHXGLRC.js";import"./REVKH66L.js";import"./HGYVXEBZ.js";import"./P4IO4YSF.js";import{a as n}from"./TQDZ5RW7.js";import"./RZ5CHC5S.js";import"./YLMJ5RWR.js";import{b as d,c as l,d as r,e as o,i as a}from"./6G7F7RPE.js";import"./R6ENEXLN.js";import"./5NKIRKXL.js";import"./R2IAN5Y7.js";import"./ZBD3YYP2.js";import"./67IJJP2O.js";export default $arcgis.t(([g,,{o:h}])=>{var f=":host{display:block}",u=f,p=class{actionsChanged(i){this.timeSlider&&(this.timeSlider.actions=i)}disabledChanged(i){this.timeSlider&&(this.timeSlider.disabled=i)}fullTimeExtentChanged(i){this.timeSlider&&(this.timeSlider.fullTimeExtent=i)}labelChanged(i){this.timeSlider&&(this.timeSlider.label=i)}labelFormatFunctionChanged(i){this.timeSlider&&(this.timeSlider.labelFormatFunction=i)}layoutChanged(i){this.timeSlider&&(this.timeSlider.layout=i)}loopChanged(i){this.timeSlider&&(this.timeSlider.loop=i)}modeChanged(i){this.timeSlider&&(this.timeSlider.mode=i)}playRateChanged(i){this.timeSlider&&(this.timeSlider.playRate=i)}positionChanged(i){this.skipDestroy=!0,this.view.ui.move(this.container,i)}stopsChanged(i){this.timeSlider&&(this.timeSlider.stops=i)}tickConfigsChanged(i){this.timeSlider&&(this.timeSlider.tickConfigs=i)}timeExtentChanged(i){this.timeSlider&&(this.timeSlider.timeExtent=i)}timeVisibleChanged(i){this.timeSlider&&(this.timeSlider.timeVisible=i)}viewChanged(i){this.timeSlider&&(this.timeSlider.view=i)}viewModelChanged(i){this.timeSlider&&(this.timeSlider.viewModel=i)}visibleChanged(i){this.timeSlider&&(this.timeSlider.visible=i)}constructor(i){a(this,i),this.triggerAction=o(this,"trigger-action",7),this.handles=[],this.actions=void 0,this.disabled=void 0,this.fullTimeExtent=void 0,this.label=void 0,this.labelFormatFunction=void 0,this.layout=void 0,this.loop=void 0,this.mode=void 0,this.playRate=void 0,this.position=void 0,this.stops=void 0,this.tickConfigs=void 0,this.timeExtent=null,this.timeVisible=void 0,this.view=void 0,this.viewModel=void 0,this.visible=void 0,this.skipDestroy=void 0,n(this,"emitTriggerAction")}connectedCallback(){this.createSlider()}disconnectedCallback(){this.skipDestroy?this.skipDestroy=!1:this.destroySlider()}async componentWillLoad(){this.createSlider(),h()}createSlider(){let{container:i,timeSlider:s}=this;if(i&&!s){let{view:t,position:e,container:m,widgetProperties:c}=this;this.timeSlider=new g(c),this.handles.push(this.timeSlider.on("trigger-action",this.emitTriggerAction)),this.skipDestroy=!0,t.ui.add(m,e)}}get widgetProperties(){let i=["container","disabled","fullTimeExtent","label","labelFormatFunction","layout","loop","mode","playRate","stops","tickConfigs","timeExtent","timeVisible","view","viewModel","visible"],s=(t,e)=>this[e]===void 0?t:Object.assign(Object.assign({},t),{[e]:this[e]});return i.reduce(s,{id:this.widgetId})}get widgetId(){return[this.container.getAttribute("id"),"time-slider"].filter(Boolean).join("-")}emitTriggerAction(i){this.triggerAction.emit(i.action)}destroySlider(){this.timeSlider&&(this.handles.forEach(i=>i.remove()),this.handles=[],this.view.ui.remove(this.timeSlider.id),this.timeSlider.destroy(),this.timeSlider=null)}render(){return d(l,{key:"947eca3001052c9d24ddac44d24c66ce9816b4ab"},d("slot",{key:"637623079a1a0dde464f8b782cc196de56939df5"}))}get container(){return r(this)}static get watchers(){return{actions:["actionsChanged"],disabled:["disabledChanged"],fullTimeExtent:["fullTimeExtentChanged"],label:["labelChanged"],labelFormatFunction:["labelFormatFunctionChanged"],layout:["layoutChanged"],loop:["loopChanged"],mode:["modeChanged"],playRate:["playRateChanged"],position:["positionChanged"],stops:["stopsChanged"],tickConfigs:["tickConfigsChanged"],timeExtent:["timeExtentChanged"],timeVisible:["timeVisibleChanged"],view:["viewChanged"],viewModel:["viewModelChanged"],visible:["visibleChanged"]}}};p.style=u;return p},"widgets/TimeSlider","config",b)
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.27/esri/copyright.txt for details.
3
+ v0.27.0 */
4
+ import"./67IJJP2O.js";var a="\xC7izge y\xFCklenirken bir hata olu\u015Ftu.",e="Negatif veya s\u0131f\u0131r de\u011Ferlere i\u015Flem kayd\u0131 d\xF6n\xFC\u015Ft\xFCrme uygulanamaz.",r="Negatif de\u011Ferlere kare k\xF6k d\xF6n\xFC\u015Ft\xFCrme uygulanamaz.",i="Katman y\xFCklenirken bir hata olu\u015Ftu. URL = ${ url }. Portal \xF6gesi kimli\u011Fi = ${ portalItemId }.",t="Yap\u0131land\u0131rmada tan\u0131mlanan [${ fieldNames }] alanlar\u0131 katmanda bulunamad\u0131.",l="${ dataPath } benzersiz olmal\u0131d\u0131r. ${ seriesName } adl\u0131 serinin ba\u015Fka bir seri taraf\u0131ndan zaten kullan\u0131lan bir kimli\u011Fi (${ seriesID }) var.",n="${ dataPath } say\u0131sal olmayan alanda say\u0131m d\u0131\u015F\u0131 k\xFCmeleme ger\xE7ekle\u015Ftiremez.",d="${ dataPath }'de ${ missingProperty } adl\u0131 \xF6zellik eksik.",s="${ dataPath }, ${ limit } karakterden daha k\u0131sa olmamal\u0131d\u0131r.",o="${ dataPath }, ${ limit }'den az \xF6geye sahip olmamal\u0131d\u0131r.",m="${ dataPath }, ${ limit }'den fazla \xF6geye sahip olmamal\u0131d\u0131r.",u="${ dataPath }, en az bir adet bo\u015Fluk olmayan karaktere sahip olmal\u0131d\u0131r.",y="${ dataPath }'de ${ additionalProperty } olmamal\u0131d\u0131r.",k="${ dataPath }, izin verilen \u015Fu de\u011Ferlerden birine e\u015Fit olmal\u0131d\u0131r: ${ allowedValues }.",g="${ dataPath }, \u015Funlardan birinin \u015Femas\u0131yla e\u015Fle\u015Fmelidir: ${ schemaOptions }.",p="Orant\u0131sal sembollere sahip da\u011F\u0131l\u0131m grafikleri desteklenmez. Varsay\u0131lan sembol boyutu uyguland\u0131.",$="Girdi verileri okunamad\u0131.",h="queryBins i\u015Flemi bu serviste desteklenmiyor.",b="${ seriesIndex } dizininde beklenen seri tipi '${ expectedType }' ancak '${ receivedType }' al\u0131nd\u0131",P="veya",f={defaultError:a,negativeValueInDataForLogTransformation:e,negativeValueInDataForSqrtTransformation:r,layerLoadFailure:i,layerFieldsNotFound:t,duplicateSeriesID:l,nonNumericAggregation:n,requiredProperty:d,minLength:s,minItems:o,maxItems:m,whiteSpacePattern:u,additionalProperty:y,enumValues:k,anyOfValues:g,bubbleChartValidateMsg:p,queryError:$,queryBinsNotSupported:h,invalidSeriesType:b,or:P};export{y as additionalProperty,g as anyOfValues,p as bubbleChartValidateMsg,f as default,a as defaultError,l as duplicateSeriesID,k as enumValues,b as invalidSeriesType,t as layerFieldsNotFound,i as layerLoadFailure,m as maxItems,o as minItems,s as minLength,e as negativeValueInDataForLogTransformation,r as negativeValueInDataForSqrtTransformation,n as nonNumericAggregation,P as or,h as queryBinsNotSupported,$ as queryError,d as requiredProperty,u as whiteSpacePattern};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.27/esri/copyright.txt for details.
3
+ v0.27.0 */
4
+ import{e}from"./L6MFPGLR.js";var s=(r,t)=>e(r,t);export{s as a};
@@ -0,0 +1,16 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.27/esri/copyright.txt for details.
3
+ v0.27.0 */
4
+ import{a as yt}from"./XXBX2CZF.js";import{a as Te,b as Le,c as je,d as He,e as Fe}from"./TSOISKZP.js";import{a as mt}from"./ORNHGRG6.js";import{a as gt,c as bt}from"./S4ID3WBO.js";import{a as ne}from"./Z5U2Y3YJ.js";import{a as pe}from"./O5AGSBTR.js";import{a as Se}from"./4A3VBRQ6.js";import{a as Ee}from"./NF63QQDG.js";import{a as ue}from"./YKUZEWNY.js";import b from"./WZ2GKDW6.js";import"./MCLIAOGM.js";import{a as ie,b as ke}from"./LUO55CDA.js";import{a as de,b as H}from"./UIOE4RMR.js";import a from"./4VIJNLSV.js";import"./MY7WMWIR.js";import"./CJKH327Q.js";import{a as K}from"./TIHBABFO.js";import{a as Me}from"./VNCUZM3S.js";import{a as y,d as Je,e as Xe,f as Ce,g as Ze,h as ce,j as we,k as et,m as Oe,r as tt,t as xe,v as st}from"./AYHTXHCC.js";import{a as it,b as nt}from"./SIW734WZ.js";import{a as Ie}from"./XRWTSNSY.js";import{a as ot}from"./CERTBEA2.js";import{b as Ue}from"./6IEZVPYM.js";import{a as at}from"./OUHBPVHC.js";import"./DPW3YBTP.js";import"./ZG3JTKBA.js";import"./XJBVHWRU.js";import"./KC76W5XJ.js";import"./IG734Y6R.js";import"./QAL4D5NB.js";import"./SH2PTW7W.js";import{m as Ye,n as Qe}from"./QZXWNZLM.js";import"./WURWM4CM.js";import"./YVRCGV3S.js";import"./H2QKODFW.js";import"./TZF3V2BJ.js";import"./DXP4UE4M.js";import"./3A7F6TCW.js";import"./3CF75BBT.js";import"./DFY7VPXY.js";import"./WYPAWF3H.js";import"./CYGYROJE.js";import"./2SV7GGHT.js";import"./QZXUZWQQ.js";import"./BNSTDGVS.js";import"./DUKGEZ7N.js";import"./OTZAFRQX.js";import{$ as z,L as k,N as re,O as C,X as ze,Z as Ke,_ as qe,aa as We,ba as _e,ca as $e,o as Y}from"./2TC3FJA3.js";import"./2K7QXVYL.js";import"./MEKLC6U4.js";import"./X67U5GKG.js";import"./G7VYESRG.js";import"./BZCJZLP4.js";import"./JHQQ267E.js";import"./AZJOMCCF.js";import"./WB7ALUQY.js";import"./CAUS7PYS.js";import"./CU6S5D3S.js";import"./B6J4VHR2.js";import"./VDBCOZ7Y.js";import"./CTISPPMB.js";import"./Y2ZXUZOA.js";import{f as fe,k as x,l as Be,m as ve,n as Ge}from"./ZVMFFKI6.js";import"./2CRXQRXN.js";import"./A4HADX5O.js";import"./7VV3OKRM.js";import"./A4AHKC7R.js";import"./ZTPZPPKC.js";import"./XS5SVQ2O.js";import"./3T4OOXGW.js";import"./E3BSFA24.js";import"./HKSU6U7J.js";import"./ST5EGEPE.js";import"./OZ5YNDTT.js";import"./3CMFRGNF.js";import"./Q2CYOP2J.js";import"./VPVBBB5K.js";import{h as ye}from"./V225P56M.js";import"./K7OW7IEK.js";import"./IBIREWV2.js";import"./5IFKUQ7L.js";import"./RLHTM5UJ.js";import"./TT7GSHIX.js";import"./EUEONQSA.js";import"./574HV37I.js";import"./UTIIIKSF.js";import"./XWIEH6CQ.js";import"./RN5O3EXX.js";import"./UHW7JQIY.js";import"./HMCZUVLG.js";import"./JV4AEJYS.js";import"./KHXU3G2A.js";import"./AXSGVFIT.js";import"./AH4Y7QIU.js";import{c as Q,g as Ne,j as oe}from"./HUFIXGTS.js";import"./NGNTHJG7.js";import"./E4PSEE26.js";import"./PMIS7ZUL.js";import"./TCX3SUIK.js";import"./VGMOUQOT.js";import"./CALKODUN.js";import"./F4HG5HMN.js";import{o as Ve}from"./4HHXGLRC.js";import"./REVKH66L.js";import"./HGYVXEBZ.js";import"./P4IO4YSF.js";import{a as $}from"./TQDZ5RW7.js";import{a as j}from"./CY5ZDVNW.js";import"./JMAF7G4E.js";import"./RBVOGX3O.js";import{a as g}from"./RZ5CHC5S.js";import"./YLMJ5RWR.js";import{b as r,c as q,d as F,e as v,h as E,i as N}from"./6G7F7RPE.js";import{a as X}from"./R6ENEXLN.js";import{a as G}from"./5NKIRKXL.js";import"./R2IAN5Y7.js";import"./ZBD3YYP2.js";import"./67IJJP2O.js";export default $arcgis.t(([,{a:le,b:rt,c:Re,h:Pe,i:se,j:Z,n:ct,p:lt,q:Ae,r:dt,s:ut,u:De,v:ht},{a:pt,b:he}])=>{function Dt(e){function t(s,i,o){let{get:n}=o,a=function(){let l=n.call(this);return gt(l,e)};return Object.assign(Object.assign({},o),{get:a})}return t}var St="data-mention",kt=new RegExp(`<[a-z-]+( [a-z-]+(=('|")[\\w- ]+('|"))?)*( ${St}=('|")[\\w@\\.-]+('|"))( [a-z-]+(=('|")[\\w- ]+('|"))?)*>@[\\w@\\.-]+</[a-z-]+>`,"g"),Et=(e,t)=>{let s=ce(e)[0];return t?t.find(i=>i.userId===s):null};function Tt(e,t,s,i,o){let n=Q(),a=(c="")=>{var l,d,u,h,p,m,b,f,_,w,A;let R=c.match(kt);if(R){let[I]=R,O=c.indexOf(I),S=O+I.length,T=O>0?c.substring(0,O):"",U=c.substring(O,O+I.length),P=Et(U,i),B=U.replace(I,`<arcgis-hub-discussions-mention-popover
5
+ access="${(d=(l=P?.user)===null||l===void 0?void 0:l.access)!==null&&d!==void 0?d:""}"
6
+ channel-access="${x(o)}"
7
+ channel-id="${o.id}"
8
+ creator-username="${s?.username||t.creator}"
9
+ full-name="${(h=(u=P.user)===null||u===void 0?void 0:u.fullName)!==null&&h!==void 0?h:""}"
10
+ organization="${(m=(p=P.org)===null||p===void 0?void 0:p.name)!==null&&m!==void 0?m:""}"
11
+ region="${((b=P.user)===null||b===void 0?void 0:b.region)||""}"
12
+ thumbnail="${((f=P.user)===null||f===void 0?void 0:f.thumbnail)||""}"
13
+ token="${(_=n.hubRequestOptions.authentication)===null||_===void 0?void 0:_.token}"
14
+ user-id="${(A=(w=P.user)===null||w===void 0?void 0:w.id)!==null&&A!==void 0?A:""}"
15
+ username="${P.userId}"
16
+ >${I}</arcgis-hub-discussions-mention-popover>`);return T+B+a(c.substring(S))}else return c};return a(e)}function Lt(){function e(t,s,i){let{get:o}=i,n=function(){let c=o.call(this);return Tt(c,this.post,this.postCreator,this.postMentionedUsers,this.channel)};return Object.assign(Object.assign({},i),{get:n})}return e}function jt(e,t,s){let i={channelId:e,postId:t,discussions:!0};s&&(i.replyId=t,i.postId=s);let o=new URL(globalThis.location.href);Object.entries(i).forEach(([n,a])=>{o.searchParams.set(n,a.toString())}),navigator.clipboard.writeText(o.toString())}async function ft(e,t){let{post:s}=e,{postMentionedUsers:i}=e;if(s){let o=ce(s.body);i=(i??[]).filter(c=>o.includes(c.userId));let n=o.filter(c=>!i.find(l=>c===l.userId)),a=await Promise.all(n.map(async c=>{let l,d,u,h;try{l=await Le(c,t),d=null}catch(p){d=p,l=null}try{u=l?.orgId?await mt(l.orgId,t):null,h=null}catch(p){h=p,u=null}return{userId:c,user:l,userError:d,org:u,orgError:h}}));i=[...i,...a]}else i=null;return{postMentionedUsers:i}}function wt(e,t){function s(i,o,n){let{get:a}=n,c=function(...d){var u;let h=a.apply(this,d);return h&&this.post.status!==k.APPROVED?bt(h,(u=this.channel.blockWords)!==null&&u!==void 0?u:[],e,t,this.intl,{labelKey:"blockedWordTooltipLabel",textKey:"blockedWordTooltipText"}):h};return Object.assign(Object.assign({},n),{get:c})}return s}var Ht=`.sc-arcgis-hub-discussions-post-h{display:block}.sc-arcgis-hub-discussions-post-h:not([parent-id]){padding-top:0.75rem;padding-bottom:0.75rem}[data-view$="renderPost"].sc-arcgis-hub-discussions-post-h{background-color:var(--calcite-color-foreground-1)}[data-view$="renderEditor"].sc-arcgis-hub-discussions-post-h:not([parent-id]){background-color:transparent}arcgis-hub-discussions-post-header.sc-arcgis-hub-discussions-post,.sc-arcgis-hub-discussions-post-s>[slot='metadata']{margin-left:1rem;margin-right:1rem;margin-bottom:0.5rem}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-header.sc-arcgis-hub-discussions-post,.sc-arcgis-hub-discussions-post-h[parent-id].sc-arcgis-hub-discussions-post-s>[slot='metadata'],.sc-arcgis-hub-discussions-post-h[parent-id] .sc-arcgis-hub-discussions-post-s>[slot='metadata']{margin-left:0px;margin-right:0px}.sc-arcgis-hub-discussions-post-s>[slot='metadata'],.sc-arcgis-hub-discussions-post-s>[slot='editor']{display:none}.sc-arcgis-hub-discussions-post-h:has(slot-fb[name='metadata']).sc-arcgis-hub-discussions-post-s>[slot='metadata'],.sc-arcgis-hub-discussions-post-h:has(slot-fb[name='metadata']) .sc-arcgis-hub-discussions-post-s>[slot='metadata'],.sc-arcgis-hub-discussions-post-h:has(slot-fb[name='editor']).sc-arcgis-hub-discussions-post-s>[slot='editor'],.sc-arcgis-hub-discussions-post-h:has(slot-fb[name='editor']) .sc-arcgis-hub-discussions-post-s>[slot='editor']{display:block}arcgis-hub-discussions-post-chips.sc-arcgis-hub-discussions-post{padding-left:1rem;padding-right:1rem;padding-bottom:0.75rem}header.sc-arcgis-hub-discussions-post{margin-left:1rem;margin-right:1rem;margin-bottom:0.25rem;overflow-wrap:break-word;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}arcgis-multiline-ellipsis.sc-arcgis-hub-discussions-post{margin:0px;margin-left:1rem;margin-right:1rem;font-size:var(--calcite-font-size-0);line-height:1.375rem;color:var(--calcite-color-text-1)}footer.sc-arcgis-hub-discussions-post{display:flex;flex-direction:column}article.sc-arcgis-hub-discussions-post:has(arcgis-hub-discussions-post-geography[data-count='0']) footer.sc-arcgis-hub-discussions-post:not(:has(arcgis-hub-discussions-post-reactions)){margin-top:0.5rem}footer.sc-arcgis-hub-discussions-post .actions.sc-arcgis-hub-discussions-post{margin-left:0.5rem;margin-right:0.5rem;display:flex;justify-content:space-between}footer.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-reactions.sc-arcgis-hub-discussions-post{margin-left:1rem;margin-right:1rem;margin-top:0.75rem;margin-bottom:0.75rem}[parent-id].sc-arcgis-hub-discussions-post-h footer.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-reactions.sc-arcgis-hub-discussions-post{margin-left:0px;margin-right:0px}arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post{margin-top:0px;margin-bottom:0px;margin-left:var(--arcgis-hub-discussions-post-editor-x-margin, 0.75rem);margin-right:var(--arcgis-hub-discussions-post-editor-x-margin, 0.75rem)}calcite-notice.sc-arcgis-hub-discussions-post{margin-left:1rem;margin-right:1rem;margin-bottom:1.5rem}footer.sc-arcgis-hub-discussions-post+calcite-notice.sc-arcgis-hub-discussions-post{margin-top:1rem}arcgis-hub-discussions-post-geography[loading].sc-arcgis-hub-discussions-post{margin-left:1rem;margin-right:1rem}calcite-popover[data-popper-placement][data-popper-reference-hidden].sc-arcgis-hub-discussions-post{pointer-events:auto;opacity:1}calcite-popover.sc-arcgis-hub-discussions-post{pointer-events:auto !important}.discussions-post-action-menu.sc-arcgis-hub-discussions-post:active .discussions-post-action-menu-icon.sc-arcgis-hub-discussions-post{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-post-action-menu-options.sc-arcgis-hub-discussions-post:active{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-post-action-menu-options.sc-arcgis-hub-discussions-post:active .discussions-post-action-menu-options-icon.sc-arcgis-hub-discussions-post{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-post-replies.sc-arcgis-hub-discussions-post:active{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-post-replies.sc-arcgis-hub-discussions-post:active .discussions-post-replies-icon.sc-arcgis-hub-discussions-post{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.actions.sc-arcgis-hub-discussions-post{display:flex;align-items:center}[parent-id].sc-arcgis-hub-discussions-post-h article.sc-arcgis-hub-discussions-post{position:relative;display:grid;grid-template-rows:repeat(1, minmax(0, 1fr));gap:0.75rem;grid-template-columns:2rem auto}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-chips.sc-arcgis-hub-discussions-post{padding-bottom:0px}[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips:not([data-count='0'])) div.sc-arcgis-hub-discussions-post{grid-row-start:2;grid-row-end:2}[parent-id].sc-arcgis-hub-discussions-post-h article.arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post,[parent-id].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post{padding-bottom:1.25rem}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post{position:relative;z-index:10}[parent-id].sc-arcgis-hub-discussions-post-h article.arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post::before,[parent-id].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{position:absolute;top:0px;display:block;height:100%;width:0.125rem;background-color:var(--calcite-color-foreground-2);left:15px;content:''}[parent-id][index='0'].sc-arcgis-hub-discussions-post-h article.arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post::before,[parent-id][index='0'].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{top:2.25rem;height:calc(100% - 2.25rem)}[parent-id][index='0'].sc-arcgis-hub-discussions-post-h article.arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post::before,[parent-id][index='0'].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{height:0px}[parent-id][index='0'].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count]) article.arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post::before,[parent-id][index='0'].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count]) .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{top:2.75rem;height:calc(100% - 2.75rem)}[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count]) article.arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post::before,[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count]) .arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{height:2.25rem}[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count='0']) .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post{padding-top:0.25rem}[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count='0']) article.arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post::before,[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count='0']) .arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{height:0px}[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips) article.arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post::before,[parent-id].sc-arcgis-hub-discussions-post-h article.arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post:not(:has(arcgis-hub-discussions-post-chips))::before,[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips) .arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before,[parent-id].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post:not(:has(arcgis-hub-discussions-post-chips)) arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{height:0px}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post{margin-left:0px;margin-right:0px}[parent-id].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post{padding-bottom:1.5rem}[parent-id].sc-arcgis-hub-discussions-post-h article.arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before,[parent-id].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{z-index:-10}[parent-id].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before,[parent-id][index='0'].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count='0']) article.arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post::before{height:0px}[parent-id][index='0'].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count='0']) article.arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post::before{top:2.25rem;height:calc(100% - 2.25rem)}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-multiline-ellipsis.sc-arcgis-hub-discussions-post{margin-left:0px;margin-right:0px}[parent-id].sc-arcgis-hub-discussions-post-h calcite-action-group.sc-arcgis-hub-discussions-post{margin-left:-0.5rem}.hidden.sc-arcgis-hub-discussions-post{visibility:hidden}@keyframes in-right{0%{opacity:0;transform:translate3D(-100%, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}article.in.sc-arcgis-hub-discussions-post{animation:in-right 300ms ease-out forwards}@keyframes out-left{0%{opacity:1;transform:translate3D(0, 0, 0)}100%{opacity:0;transform:translate3D(-100%, 0, 0)}}article.out.sc-arcgis-hub-discussions-post{animation:out-left 300ms ease-out forwards}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post{padding-bottom:1rem}.arcgis-hub-discussions-post-editor-container.sc-arcgis-hub-discussions-post{overflow:visible}@keyframes in-left{0%{opacity:0;transform:translate3D(100%, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}.arcgis-hub-discussions-post-editor-container.in.sc-arcgis-hub-discussions-post{animation:in-left 300ms ease-out forwards}@keyframes out-right{0%{opacity:1;transform:translate3D(0, 0, 0)}100%{opacity:0;transform:translate3D(100%, 0, 0)}}.arcgis-hub-discussions-post-editor-container.out.sc-arcgis-hub-discussions-post{animation:out-right 300ms ease-out forwards}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-editor[post-id][parent-id].sc-arcgis-hub-discussions-post{padding-left:0px;padding-right:0px}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-multiline-ellipsis.sc-arcgis-hub-discussions-post+calcite-notice.sc-arcgis-hub-discussions-post{margin-top:1rem}[parent-id].sc-arcgis-hub-discussions-post-h article.sc-arcgis-hub-discussions-post{padding-top:0.75rem;padding-bottom:0.75rem}[parent-id].sc-arcgis-hub-discussions-post-h article.out-of-context.sc-arcgis-hub-discussions-post{margin-left:1rem;margin-right:1rem;display:grid;gap:0.5rem;font-style:normal;grid-template-columns:1fr}[parent-id].sc-arcgis-hub-discussions-post-h article.out-of-context.sc-arcgis-hub-discussions-post>div.reply-body.sc-arcgis-hub-discussions-post{display:grid;gap:0.25rem}[parent-id].sc-arcgis-hub-discussions-post-h article.out-of-context.sc-arcgis-hub-discussions-post>div.reply-body.sc-arcgis-hub-discussions-post>arcgis-hub-discussions-post-geography.sc-arcgis-hub-discussions-post{margin-left:-1rem}[parent-id].sc-arcgis-hub-discussions-post-h article.out-of-context.sc-arcgis-hub-discussions-post>div.reply-body.sc-arcgis-hub-discussions-post>arcgis-hub-discussions-post-reactions.sc-arcgis-hub-discussions-post{grid-column:span 1 / span 1}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-popover.sc-arcgis-hub-discussions-post{grid-row:span 2 / span 2;grid-row-start:1;grid-row-end:1}[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips:not([data-count='0'])) arcgis-hub-discussions-popover.sc-arcgis-hub-discussions-post{grid-row-start:2;grid-row-end:2}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-chips.sc-arcgis-hub-discussions-post{grid-column-start:2;grid-row-start:1;grid-row-end:1;height:1.5rem}[parent-id].sc-arcgis-hub-discussions-post-h calcite-avatar.sc-arcgis-hub-discussions-post{position:relative;margin-top:-0.25rem;padding-top:0.25rem;padding-bottom:0.25rem;background-color:var(--calcite-color-foreground-1);box-sizing:initial}[parent-id].sc-arcgis-hub-discussions-post-h footer.sc-arcgis-hub-discussions-post{display:grid;grid-template-columns:auto 48px}[parent-id].sc-arcgis-hub-discussions-post-h footer.sc-arcgis-hub-discussions-post calcite-action.sc-arcgis-hub-discussions-post{grid-column-start:2}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-reactions.sc-arcgis-hub-discussions-post{grid-column:span 2 / span 2;margin-top:0.75rem;margin-bottom:0.75rem}[parent-id].sc-arcgis-hub-discussions-post-h calcite-notice.sc-arcgis-hub-discussions-post{margin:0px}.blocked.sc-arcgis-hub-discussions-post{-webkit-text-decoration-line:underline;text-decoration-line:underline;-webkit-text-decoration-color:var(--calcite-color-status-danger);text-decoration-color:var(--calcite-color-status-danger);-webkit-text-decoration-style:dashed;text-decoration-style:dashed;color:var(--calcite-color-status-danger)}`,Ft=Ht,J=function(e,t,s,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,s):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(n=(o<3?a(n):o>3?a(t,s,n):a(t,s))||n);return o>3&&n&&Object.defineProperty(t,s,n),n},D;(function(e){e.Skeleton="skeleton",e.Post="post",e.Reply="reply",e.OutOfContext="outOfContext",e.Editor="editor",e.Deleted="deleted",e.Hidden="hidden"})(D||(D={}));var L;(function(e){e.IN="in",e.OUT="out",e.HIDDEN="hidden"})(L||(L={}));var W=class{constructor(e){N(this,e),this.arcgisHubDiscussionsPostEdit=v(this,"arcgisHubDiscussionsPostEdit",7),this.arcgisHubDiscussionsPostDelete=v(this,"arcgisHubDiscussionsPostDelete",7),this.arcgisHubDiscussionsPostSelect=v(this,"arcgisHubDiscussionsPostSelect",7),this.arcgisHubDiscussionsGeometryDrawReset=v(this,"arcgisHubDiscussionsGeometryDrawReset",7),this.arcgisHubDiscussionsGeometryDeselect=v(this,"arcgisHubDiscussionsGeometryDeselect",7),this.hubTelemetry=v(this,"hubTelemetry",7),this.arcgisHubDiscussionsPostReady=v(this,"arcgisHubDiscussionsPostReady",7),this.postId=void 0,this.post=void 0,this.postCreator=void 0,this.postCreatorOrg=void 0,this.postError=void 0,this.postMentionedUsers=void 0,this.channelId=void 0,this.channel=void 0,this.channelGroups=void 0,this.parentId=void 0,this.parent=void 0,this.parentCreator=void 0,this.parentCreatorOrg=void 0,this.hasMap=void 0,this.isHub=void 0,this.unsavedFeatures=void 0,this.unsavedRelatedFeatures=void 0,this.unsavedExistingFeatures=[],this.preview=void 0,this.index=void 0,this.discussion=void 0,this.entityId=void 0,this.entityType=void 0,this.discussionSettings=void 0,this.entity=void 0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.displayFieldKey=void 0,this.isMobile=void 0,this.locationId=void 0,this.lead=void 0,this.lastIndex=void 0,this.loading=void 0,this.showLocations=void 0,this.disableSelectExistingLocation=void 0,this.locationDescriptionText=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this._context=Q(),this.minHeight=null,this.popoverIsOpen=void 0,this.articleClass=null,this.editorClass=L.HIDDEN,this.renderedEl=null,this.editing=!1,this.errorMessage=null,this.intl=void 0,this.isCopied=void 0,this._loading=!1,$(this,"handleDelete","handleEdit","handleCopyLink","handleCopyTooltipBeforeOpen","handleCopyTooltipClose","handleActionsPopoverBeforeOpenClose","handleToggleVisibility","handleViewThread","handleReply","handleViewReplies","handleLinkClicked","renderDeleted","renderHidden","renderPost","renderReply","renderEditor","renderSkeleton","handleViewPost","handleSetComponentRef","handleAnimationEnd","renderReplyOutOfContext","handleViewAllReplies","handleReplyOutOfContextReadMore")}connectedCallback(){oe(this),this.addAnimationEventListeners(this.renderedEl)}componentWillLoad(){this.initialize()}disconnectedCallback(){this.removeAnimationEventListeners(this.renderedEl),this.disconnectContext()}handlePostViewAllGeography(){let{postId:e,post:t,postCreator:s,postCreatorOrg:i,channel:o,channelGroups:n,channelId:a}=this;this.arcgisHubDiscussionsPostSelect.emit({parent:t,parentId:e,parentCreator:s,parentCreatorOrg:i,channelId:a,channel:o,channelGroups:n})}handleMultilineEllipsisExpanded(e){this.isReply||(e.preventDefault(),e.stopPropagation(),this.handleViewThread())}handleCalcitePopoverOpen(e){var t;let{open:s}=e.target;e.target!==this.menuPopoverElement&&(!((t=this.menuPopoverElement)===null||t===void 0)&&t.open)?this.menuPopoverElement.setFocus():e.target===this.menuPopoverElement&&s&&this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.popover.details.options),{position:this.index}))}handleReactionChanged(e){e.stopPropagation();let t=e.target;this.post=t.post,this.arcgisHubDiscussionsPostEdit.emit(t.post)}emitHubTelemetry(e){let{postId:t,parentId:s,channel:i,channelId:o}=this;this.hubTelemetry.emit(Object.assign(Object.assign({},e),{postId:t,parentId:s,channelId:o,channelAccess:i?x(i):void 0}))}async loadDependencies(){return this._loading=!0,this.fetchDependencies().then(e=>{Object.assign(this,e),this._loading=!1,this.arcgisHubDiscussionsPostReady.emit()})}fetchDependencies(){return this._fetchDependencies()}async _fetchDependencies(){let{postId:e,postCreator:t,postCreatorOrg:s,parent:i,parentId:o,parentCreator:n,post:a,postMentionedUsers:c,channel:l,channelId:d,_context:u,discussion:h,entityId:p,entity:m,entityType:b,discussionSettings:f,displayFieldKey:_,displayFieldValid:w,displayFieldValue:A,isHub:R,locationId:I,channelGroups:O}=this,[S,T]=await Promise.all([Te({postId:e,post:a},u.hubRequestOptions),ue({isHub:R},u.hubRequestOptions)]),[U,P]=await Promise.all([je(Object.assign({postCreator:t,postCreatorOrg:s},S),u.hubRequestOptions),He(Object.assign({parentId:o,parent:i},S),u.hubRequestOptions)]),[B,ge,be,me]=await Promise.all([he(Object.assign(Object.assign({discussion:h,entityId:p,entityType:b,entity:m,displayFieldKey:_,displayFieldValid:w,displayFieldValue:A,locationId:I,discussionSettings:f},S),P),u.hubRequestOptions,!0),pe(Object.assign(Object.assign({channelId:d,channel:l,channelGroups:O},S),P),u.hubRequestOptions),Fe(Object.assign({parentCreator:n},P),u.hubRequestOptions),ft(Object.assign({postMentionedUsers:c},S),u.hubRequestOptions)]);return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},S),U),P),be),ge),B),T),me)}async initialize(){this.loadTranslations(),this._context&&this.loadDependencies()}async loadTranslations(){this.intl=await j.loadIntlForComponent(this.element)}get postBody(){return this.post.body}get postTitle(){return this.post.title}get isRtl(){return this.intl.direction==="rtl"}handleDelete(){let{_context:e,postId:t,post:s,menuPopoverElement:i,isReply:o}=this;return this.errorMessage=null,i&&(i.open=!1),We(Object.assign({postId:t},e.hubRequestOptions)).then(()=>{this.deletedDuringSession=!0,this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.content.action.delete),{response:g.constants.response.SUCCESS})),this.arcgisHubDiscussionsPostDelete.emit(s)}).catch(n=>{this.errorMessage=o?"deleteFailureReply":"deleteFailure",this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.content.action.delete),{response:g.constants.response.FAILURE})),console.error("Could not delete post:",n.message)})}handleEdit(){this.menuPopoverElement&&(this.menuPopoverElement.open=!1),setTimeout(()=>this.transitionEditorView(!0),100),this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.editor),{position:this.index}))}handleCopyLink(){jt(this.channelId,this.postId,this.parentId),this.isCopied=!0,this.copyTooltipRef.open=!0}handleCopyTooltipBeforeOpen(){this.isCopied||(this.copyTooltipRef.open=!1)}handleCopyTooltipClose(){this.isCopied=!1}handleActionsPopoverBeforeOpenClose(){this.isCopied=!1,this.copyTooltipRef&&(this.copyTooltipRef.open=!1)}handleToggleVisibility(){let{_context:e,post:t,menuPopoverElement:s}=this;this.errorMessage=null,s&&(s.open=!1);let i,o;return t.status===k.HIDDEN||t.status===k.BLOCKED?(i=k.APPROVED,o="show"):(i=k.HIDDEN,o="hide"),$e(Object.assign({data:{status:i},postId:t.id},e.hubRequestOptions)).then(n=>z(Object.assign({postId:n.id,data:{relations:[C.REACTIONS,C.REPLIES,C.CHANNEL,C.CHANNEL_ACL]}},this._context.hubRequestOptions))).then(n=>(n.replyCount=n.replies.total,delete n.replies,this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.status.details[o]),{response:g.constants.response.SUCCESS})),this.arcgisHubDiscussionsPostEdit.emit(n),n)).catch(n=>(console.error("Could not update post status:",n.message),this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.status.details[o]),{response:g.constants.response.FAILURE})),null))}handleViewThread(){let{index:e,postId:t,post:s,postCreator:i,postCreatorOrg:o,channel:n,channelGroups:a,channelId:c}=this;this.arcgisHubDiscussionsPostSelect.emit({parentId:t,parent:s,parentCreator:i,parentCreatorOrg:o,channel:n,channelGroups:a,channelId:c}),e!==void 0&&this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.thread),{position:e}))}handleReply(){let{postId:e,post:t,postCreator:s,postCreatorOrg:i,channel:o,channelGroups:n,channelId:a}=this;this.arcgisHubDiscussionsPostSelect.emit({parentId:e,parent:t,parentCreator:s,parentCreatorOrg:i,channel:o,channelGroups:n,channelId:a,scrollTarget:"editor"}),this.emitHubTelemetry(g.dictionary.category.interaction.action.open.label.editor.details.reply)}handleViewReplies(){let{postId:e,post:t,postCreator:s,postCreatorOrg:i,channel:o,channelGroups:n,channelId:a}=this;this.arcgisHubDiscussionsPostSelect.emit({parentId:e,parent:t,parentCreator:s,parentCreatorOrg:i,channel:o,channelGroups:n,channelId:a,scrollTarget:"list"}),this.emitHubTelemetry(g.dictionary.category.interaction.action.open.label.thread.details.bodyAction)}handleLinkClicked(e){let t=e.target;if(["CALCITE-LINK"].includes(t.nodeName)&&!t.hasAttribute("data-mention")){let{postId:s,parentId:i,channel:o,index:n}=this;this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.navigation.action.external.label.link),{details:t.href,postId:s,parentId:i,channelId:o.id,channelAccess:x(o),position:n}))}}capturePostDeepLinkImpression(){this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.viewed.label.post.details.thread),{response:g.constants.response.SUCCESS}))}capturePostListImpression(){this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.viewed.label.post.details.postList),{position:this.index}))}capturePostDeletedImpression(){this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.viewed.label.post.details.thread),{response:g.constants.response.FAILURE}))}capturePostHiddenImpression(){this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.viewed.label.post.details.thread),{response:g.constants.response.FAILURE}))}handleRenderedElChange(e,t){this.removeAnimationEventListeners(t),this.addAnimationEventListeners(e)}handleContextChanged(e,t){var s,i;((s=e?.currentUser)===null||s===void 0?void 0:s.username)!==((i=t?.currentUser)===null||i===void 0?void 0:i.username)&&this.loadDependencies()}addAnimationEventListeners(e){e&&e.addEventListener("animationend",this.handleAnimationEnd)}removeAnimationEventListeners(e){e&&e.removeEventListener("animationend",this.handleAnimationEnd)}handleViewAllReplies(){let{parent:e,parentId:t,parentCreator:s,parentCreatorOrg:i,channel:o,channelId:n,channelGroups:a}=this;this.arcgisHubDiscussionsPostSelect.emit({parent:e,parentId:t,parentCreator:s,parentCreatorOrg:i,channelId:n,channel:o,channelGroups:a})}handleReplyOutOfContextReadMore(){let{parent:e,parentId:t,parentCreator:s,parentCreatorOrg:i,channel:o,channelId:n,channelGroups:a,postId:c,post:l,postCreator:d,postCreatorOrg:u}=this;this.arcgisHubDiscussionsPostSelect.emit({parent:e,parentId:t,parentCreator:s,parentCreatorOrg:i,channelId:n,channel:o,channelGroups:a,postId:c,post:l,postCreator:d,postCreatorOrg:u})}handleViewPost(e){e.stopPropagation();let{parent:t,parentId:s,parentCreator:i,parentCreatorOrg:o,channel:n,channelId:a,channelGroups:c,post:l,postId:d,postCreator:u,postCreatorOrg:h}=this;this.arcgisHubDiscussionsPostSelect.emit({parent:t,parentId:s,parentCreator:i,parentCreatorOrg:o,channelId:a,channel:n,channelGroups:c,post:l,postId:d,postCreator:u,postCreatorOrg:h})}handleSetComponentRef(e){e&&(this.renderedEl=e)}handlePostCanceled(e){e.stopPropagation(),this.transitionEditorView(!1),this.arcgisHubDiscussionsGeometryDeselect.emit(),this.arcgisHubDiscussionsGeometryDrawReset.emit()}async handlePostCreatedOrDeleted(e){var t;if(e.detail.parentId===((t=this.post)===null||t===void 0?void 0:t.id)){let s=await z(Object.assign({postId:this.post.id,data:{relations:[C.REACTIONS,C.REPLIES,C.CHANNEL,C.CHANNEL_ACL]}},this._context.hubRequestOptions));s.replyCount=s.replies.total,delete s.replies,this.arcgisHubDiscussionsPostEdit.emit(s)}}handleAnimationEnd(e){e.animationName==="out-left"?(this.editing=!0,this.editorClass=L.IN,this.articleClass=L.HIDDEN):e.animationName==="out-right"?(this.editing=!1,this.editorClass=L.HIDDEN,this.articleClass=L.IN):(this.editorClass=null,this.articleClass=null,this.minHeight=null)}async handlePostEditedBody(e){var t;if(((t=this.post)===null||t===void 0?void 0:t.id)===e.detail.id){this.post=e.detail;let{postMentionedUsers:s}=await ft({postMentionedUsers:this.postMentionedUsers,post:this.post},this._context.hubRequestOptions);this.postMentionedUsers=s}}handlePostEdited(e){e.target.nodeName.toLowerCase()==="arcgis-hub-discussions-post-editor"&&this.transitionEditorView(!1)}handlePopoverOpen(){this.popoverIsOpen=!0}handlePopoverClose(){this.popoverIsOpen=!1}transitionEditorView(e){var t,s;this.minHeight=(s=(t=this.renderedEl)===null||t===void 0?void 0:t.offsetHeight)!==null&&s!==void 0?s:null,this.editorClass=e?L.HIDDEN:L.OUT,this.articleClass=e?L.OUT:L.HIDDEN}get isLoading(){return!this._context||this._loading||!this.intl||this.loading}get locationListIsDisabled(){let e=!1;return this.locationDescriptionText&&!this.isMobile||this.showLocations?e=!1:(!this.hasMap||this.isMobile)&&(e=!0),e}get views(){let{renderEditor:e,renderDeleted:t,renderHidden:s,renderPost:i,renderReply:o,renderSkeleton:n,renderReplyOutOfContext:a}=this;return{[D.Skeleton]:{render:n},[D.Post]:{render:i},[D.Reply]:{render:o},[D.OutOfContext]:{render:a},[D.Editor]:{render:e},[D.Deleted]:{render:t},[D.Hidden]:{render:s}}}get view(){let{views:e,post:t,postError:s,editing:i,isLoading:o,outOfContext:n,isReply:a}=this,c=s?.status,l;return o?l=D.Skeleton:c===404?l=D.Deleted:c===422?l=D.Hidden:t?i?l=D.Editor:n?l=D.OutOfContext:a?l=D.Reply:l=D.Post:l=D.Deleted,e[l]}get actionMenuActions(){let{isReply:e,post:t,channel:s,_context:i,intl:o,isHub:n}=this,a=[];return!e&&n&&a.push({icon:"link",text:o.t("link"),fn:this.handleCopyLink,ref:c=>{this.copyActionRef=c}}),i.currentUser&&(Ze(s,i.currentUser)&&a.push(t.status===k.HIDDEN||t.status===k.BLOCKED?{icon:"view-visible",text:o.t("show"),fn:this.handleToggleVisibility}:{icon:"view-hide",text:o.t("hide"),fn:this.handleToggleVisibility}),e||((t.creator===i.currentUser.username||Ie(t,i.currentUser,s))&&a.push({icon:"pencil",text:o.t("edit"),fn:this.handleEdit}),Ce(t,s,i.currentUser)&&a.push({icon:"trash",text:o.t("delete"),fn:this.handleDelete}))),a}get creatorFullName(){let{intl:e,post:t,postCreator:s}=this,i=e.t("anonymous");return(s||t?.creator)&&(i=s?.fullName||e.t("privateUser")),i}get outOfContext(){let{index:e,lead:t,isReply:s}=this;return s&&!t&&e!==void 0}get styles(){let{minHeight:e}=this,t={};return e&&(t.minHeight=`${e}px`),t}get isReply(){var e;return!!(this.parent||this.parentId||!((e=this.post)===null||e===void 0)&&e.parentId)}renderEditor(){let{hasMap:e,index:t,isHub:s,unsavedFeatures:i,unsavedRelatedFeatures:o,unsavedExistingFeatures:n,post:a,postCreator:c,postCreatorOrg:l,displayFieldKey:d,displayFieldValue:u,displayFieldValid:h,entity:p,discussionSettings:m,discussion:b,entityId:f,entityType:_,isMobile:w,channelId:A,channel:R,channelGroups:I,locationId:O,postId:S,isReply:T,lead:U,lastIndex:P,editorClass:B,parent:ge,parentId:be,parentCreator:me,showLocations:Pt,disableSelectExistingLocation:At}=this;return r("div",{class:{"arcgis-hub-discussions-post-lead":T&&U,"arcgis-hub-discussions-post-last":T&&t===P,[B]:!!B,"arcgis-hub-discussions-post-editor-container":!0},ref:this.handleSetComponentRef},r("slot",{name:"editor"},r("arcgis-hub-discussions-post-editor",{channel:R,channelGroups:I,channelId:A,disableSelectExistingLocation:At,discussion:b,discussionSettings:m,displayFieldKey:d,displayFieldValid:h,displayFieldValue:u,entity:p,entityId:f,entityType:_,hasMap:e,index:t,isHub:s,isMobile:w,locationId:O,parent:ge,parentCreator:me,parentId:be,post:a,postCreator:c,postCreatorOrg:l,postId:S,showLocations:Pt,unsavedExistingFeatures:n,unsavedFeatures:i,unsavedRelatedFeatures:o})))}renderReactions(){let{post:e,channel:t}=this;if(t.allowReaction)return r("arcgis-hub-discussions-post-reactions",{channel:t,post:e})}renderMetadata(e,t,s,i,o,n,a,c,l){let{isHub:d,post:u,postCreator:h,postCreatorOrg:p,parentCreator:m,channel:b,index:f,parent:_,handleViewPost:w}=this;return r("slot",{name:"metadata"},r("arcgis-hub-discussions-post-header",{channel:b,iconScale:"l",index:f,isHub:d,metadataOrientation:e,onArcgisHubDiscussionsPostSelect:w,parent:_,parentCreator:m,post:u,postCreator:h,postCreatorOrg:p,showChannelAccessIcon:t,showChannelAvatar:s,showChannelName:i,showCreatorAvatar:o,showPopover:n,showReplyingTo:a,showTimestamp:l,showViewPostAction:c}))}renderPost(){let{intl:e,errorMessage:t,preview:s,post:i,channel:o,index:n,articleClass:a,showChannelAvatar:c,showChannelName:l}=this;return n===void 0?this.capturePostDeepLinkImpression():this.capturePostListImpression(),r("article",{class:{[a]:!!a},ref:this.handleSetComponentRef},r("arcgis-hub-discussions-post-chips",{channel:o,index:n,post:i}),this.renderMetadata("block",!0,c,l,!0,!0,!1,!1,!0),r("header",{innerHTML:this.postTitle}),r("arcgis-multiline-ellipsis",{"expand-enabled":s,"expand-icon":this.isRtl?"arrow-left":"arrow-right",innerHTML:this.postBody,lines:s?4:0,onClick:this.handleLinkClicked}),this.renderGeography(!1,!0),r("footer",null,this.renderReactions(),r("div",{class:"actions"},this.renderTextActions(),this.renderActionMenu())),t&&r("calcite-notice",{closable:!0,kind:"danger",open:!0,scale:"s"},r("div",{slot:"title"},e.t("error")),r("div",{slot:"message"},e.t(t))))}renderTextActions(){let{intl:e,post:t,preview:s,channel:i,_context:o}=this,n;return s?n=t.replyCount>1?"actions.viewMany":"actions.viewOne":n=t.replyCount>1?"actions.replies":"actions.oneReply",r("calcite-action-group",{layout:"horizontal"},s&&it(i,o.currentUser)&&fe(this.entity)&&r("calcite-action",{class:"text-action-reply",onClick:this.handleReply,scale:"s",text:e.t("actions.reply"),textEnabled:!0}),t.replyCount!==0&&r("calcite-action",{class:"text-action-view-reply",disabled:!s,onClick:this.handleViewReplies,scale:"s",text:e.t(n,{count:t.replyCount}),textEnabled:!0}))}renderActionMenu(){let{intl:e,isReply:t,actionMenuActions:s}=this;if(s.length)return r(E,null,r("calcite-action",{alignment:"center",class:"discussions-post-action-menu",ref:i=>{this.menuActionElement=i},scale:"s",text:e.t("options")},r("calcite-icon",{class:"discussions-post-action-menu-icon",icon:"ellipsis",scale:"s"})),r("calcite-popover",{autoClose:!0,flipPlacements:t?["top","bottom"]:["top-end","bottom-end"],label:e.t("options"),offsetDistance:0,onCalcitePopoverBeforeClose:this.handleActionsPopoverBeforeOpenClose,onCalcitePopoverBeforeOpen:this.handleActionsPopoverBeforeOpenClose,overlayPositioning:"absolute",placement:"bottom-end",pointerDisabled:!0,ref:i=>{this.menuPopoverElement=i},referenceElement:this.menuActionElement},r("calcite-action-group",{layout:"vertical"},s.map(({text:i,fn:o,icon:n,ref:a})=>r("calcite-action",{class:"discussions-post-action-menu-options","data-action":i.toLowerCase(),id:"discussions-post-action-menu-option-"+n,key:n,onClick:o,ref:a,scale:"m",text:i,"text-enabled":"true"},r("calcite-icon",{class:"discussions-post-action-menu-options-icon",flipRtl:this.isRtl,icon:n,scale:"s"}))))),s.some(({icon:i})=>i==="link")&&r("calcite-tooltip",{onCalciteTooltipBeforeOpen:this.handleCopyTooltipBeforeOpen,onCalciteTooltipClose:this.handleCopyTooltipClose,open:!1,placement:"top",ref:i=>{this.copyTooltipRef=i},referenceElement:this.copyActionRef},r("span",null,e.t("copied"))))}renderDeleted(){let{intl:e,deletedDuringSession:t,isReply:s,handleViewAllReplies:i}=this;return t||this.capturePostDeletedImpression(),r("calcite-notice",{kind:"danger",open:!0,scale:"m"},r("div",{slot:"title"},e.t(s?"deleted.title.reply":"deleted.title")),r("div",{slot:"message"},e.t(s?"deleted.message.reply":"deleted.message")),s&&r("calcite-link",{onClick:i,slot:"link"},e.t("delete.action")))}renderHidden(){let{intl:e,isReply:t}=this;return this.capturePostHiddenImpression(),r("calcite-notice",{kind:"warning",open:!0,scale:"m"},r("div",{slot:"title"},e.t(t?"hidden.title.reply":"hidden.title")),r("div",{slot:"message"},e.t("hidden.message")))}renderSkeleton(){return r("arcgis-hub-discussions-post-skeleton",null)}render(){return r(q,{key:"f0896df715b6821aee6627f31d83d72a36feee97",class:{loading:this._loading},"data-element":"discussions-post","data-view":this.view.render.name,style:this.styles},this.view.render())}renderAvatars(){var e;let{_context:t,isHub:s,parent:i,parentCreator:o,post:n,postCreator:a,postCreatorOrg:c,channel:l,intl:d,index:u,outOfContext:h}=this,p=!a&&n?{username:n.creator}:a,m=h?"l":"m",b=[r("calcite-avatar",{"full-name":p?.fullName,key:"creator",scale:m,thumbnail:p?.thumbnail&&ye(t.hubRequestOptions.portal,p,(e=t.hubRequestOptions.authentication)===null||e===void 0?void 0:e.token),"user-id":p?.id,username:p?.username})];return h&&b.push(r("calcite-avatar",{"full-name":ct(l,d.t("unnamedChannel")),scale:"m"})),o&&(b=r("arcgis-hub-discussions-popover",{channel:l,index:u,isHub:s,parent:i,parentCreator:o,post:n,postCreator:a,postCreatorOrg:c},b)),b}renderActions(){let{intl:e,_context:t,channel:s,post:i,isHub:o}=this,n=[];if(o&&n.push({text:e.t("link"),onClick:this.handleCopyLink,ref:a=>{this.copyActionRef=a}}),t.currentUser&&((i.creator===t.currentUser.username||Ie(i,t.currentUser,s))&&n.push({text:e.t("edit"),onClick:this.handleEdit}),Ce(i,s,t.currentUser)&&n.push({text:e.t("delete"),onClick:this.handleDelete})),n.length)return r("calcite-action-group",{layout:"horizontal"},n.map(a=>r("calcite-action",{appearance:a.appearance,"data-action":a.text.toLowerCase(),icon:a.icon,key:a.text||a.pin,onClick:a.onClick,onMouseOver:a.onMouseOver,ref:a.ref,scale:"s",text:a.text,"text-enabled":!!a.text})),o&&r("calcite-tooltip",{onCalciteTooltipBeforeOpen:this.handleCopyTooltipBeforeOpen,onCalciteTooltipClose:this.handleCopyTooltipClose,open:!1,placement:"top",ref:a=>{this.copyTooltipRef=a},referenceElement:this.copyActionRef},r("span",null,e.t("copied"))))}renderReplyOutOfContext(){let{intl:e,errorMessage:t,index:s,lead:i,lastIndex:o,articleClass:n,handleReplyOutOfContextReadMore:a}=this;return s===void 0?this.capturePostDeepLinkImpression():this.capturePostListImpression(),r("article",{class:{"out-of-context":!0,"arcgis-hub-discussions-post-last":i&&s===o,[n]:!!n},ref:this.handleSetComponentRef},this.renderMetadata("block",!1,!0,!1,!0,!0,!0,!0,!1),r("div",{class:"reply-body"},r("arcgis-multiline-ellipsis",{"collapse-enabled":!0,"expand-enabled":!0,"expand-icon":this.isRtl?"arrow-left":"arrow-right",innerHTML:this.postBody,lines:4,onClick:a}),this.renderGeography(!0,!1),this.renderReactions(),r("footer",null,this.renderActions()),t&&r("calcite-notice",{closable:!0,kind:"danger",open:!0,scale:"s"},r("div",{slot:"title"},e.t("error")),r("div",{slot:"message"},e.t(t)))))}renderGeography(e,t){let{hasMap:s,channel:i,channelId:o,parentId:n,displayFieldKey:a,displayFieldValid:c,entity:l,isMobile:d,locationDescriptionText:u,locationListIsDisabled:h,post:p,postId:m,showLocations:b}=this;if(b)return r("arcgis-hub-discussions-post-geography",{channel:i,channelId:o,disabled:h,displayFieldKey:a,displayFieldValid:c,expandable:t,hasMap:s,isMobile:d,locationDescriptionText:u,parentId:n,post:p,postId:m,showLocationDescriptionText:!d,toggleable:e,url:l?.url})}renderReply(){let{intl:e,errorMessage:t,channel:s,post:i,articleClass:o,lead:n,index:a,lastIndex:c}=this,l={"arcgis-hub-discussions-post-lead":n,"arcgis-hub-discussions-post-last":n&&a===c};return o&&(l[o]=!0),a===void 0?this.capturePostDeepLinkImpression():this.capturePostListImpression(),r("article",{class:l,ref:this.handleSetComponentRef},r("arcgis-hub-discussions-post-chips",{channel:s,index:a,post:i}),this.renderAvatars(),r("div",null,this.renderMetadata("inline",!1,!1,!1,!1,!1,!1,!1,!0),r("arcgis-multiline-ellipsis",{"collapse-enabled":!0,"expand-enabled":!0,innerHTML:this.postBody,lines:4}),this.renderGeography(!0,!1),r("footer",null,this.renderReactions(),this.renderActions(),this.renderActionMenu()),t&&r("calcite-notice",{closable:!0,kind:"danger",open:!0,scale:"s"},r("div",{slot:"title"},e.t("error")),r("div",{slot:"message"},e.t(t)))))}static get assetsDirs(){return["locales"]}get element(){return F(this)}static get watchers(){return{renderedEl:["handleRenderedElChange"],_context:["handleContextChanged"]}}};J([de({delay:300})],W.prototype,"fetchDependencies",null);J([K("post.body","post.status"),Dt({ignoreTags:["calcite-link"],replaceExisting:!0,tagName:"calcite-link"}),Lt(),wt("postBody","sc-arcgis-hub-discussions-post blocked"),Ee({filterOptions:{whiteList:{"calcite-link":["href","data-mention"]}},extendDefaults:!0})],W.prototype,"postBody",null);J([K("post.title","post.status"),wt("postTitle","sc-arcgis-hub-discussions-post blocked"),Ee()],W.prototype,"postTitle",null);J([ne()],W.prototype,"capturePostDeepLinkImpression",null);J([ne()],W.prototype,"capturePostListImpression",null);J([ne()],W.prototype,"capturePostDeletedImpression",null);J([ne()],W.prototype,"capturePostHiddenImpression",null);W.style=Ft;var Nt=':host{display:block}calcite-chip-group{display:flex;flex-direction:row;justify-content:flex-start;gap:0.25rem}:host([data-count="0"]){display:none}.end{margin-left:auto}',Vt=Nt,Mt=class{constructor(e){N(this,e),this.hubTelemetry=v(this,"hubTelemetry",7),this.post=void 0,this.index=void 0,this.channel=void 0,this.activeTooltip=null,$(this,"handleTooltipOpen","renderChip","handleChipMouseEnter","handleChipMouseOut")}async componentWillLoad(){this.intl=await j.loadIntlForComponent(this.element)}handleTooltipOpen(e){let{post:t,channel:s,chipsToRender:i,index:o}=this,{tooltip:{telemetry:n}}=i.find(a=>a.type===e.target.dataset.type);this.hubTelemetry.emit(Object.assign(Object.assign({},n),{postId:t.id,parentId:t.parentId,channelId:s.id,channelAccess:x(s),position:o}))}handleChipMouseEnter(e){this.activeTooltip=e.target.dataset.type}handleChipMouseOut(){this.activeTooltip=null}get chipsToRender(){let{post:e,intl:t}=this,s=[];return(e.status===k.HIDDEN||e.status===k.BLOCKED)&&s.push({appearance:"outline",icon:"view-hide",kind:"neutral",tooltip:{telemetry:g.dictionary.category.interaction.action.open.label.tooltip.details.chipComponentWithStringHidden,text:e.status===k.BLOCKED?t.t("chip.hidden.label.blocked"):t.t("chip.hidden.label.moderator")},type:"hidden",value:t.t("chip.hidden.text")}),s}renderChip(e){let{activeTooltip:t,handleTooltipOpen:s}=this;return r(E,null,r("calcite-chip",{appearance:e.appearance,class:e.type==="hidden"&&"end","data-type":e.type,icon:e.icon,id:e.type,key:e.type,kind:e.kind,label:e.value,onMouseEnter:this.handleChipMouseEnter,onMouseOut:this.handleChipMouseOut,scale:"s",value:e.value},e.value),e.tooltip&&r("calcite-tooltip",{"data-type":e.type,label:e.tooltip.text,onCalciteTooltipOpen:s,open:t===e.type,overlayPositioning:"fixed",placement:"bottom",referenceElement:e.type},r("div",{class:"tooltip-body"},e.tooltip.text)))}render(){let{chipsToRender:e,index:t,intl:s}=this;return r(q,{key:"600abe0ce66d7c0127fad356f232c095fea11b8c","data-count":e.length,"data-element":"post-chips","data-index":t},r("calcite-chip-group",{key:"84520a00069ffc4ab692abb98e1bbfbf8b0f4f06",label:s.t("label"),scale:"s"},e.map(this.renderChip)))}static get assetsDirs(){return["locales"]}get element(){return F(this)}};Mt.style=Vt;var M;(function(e){e.AUDIENCE="audience",e.CONTENT="content"})(M||(M={}));var Ut="arcgis-hub-discussions-post-editor:not([parent-id]){display:block;border-radius:0.25rem;background-color:var(--calcite-color-foreground-1);padding:0.75rem;--tw-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.12);--tw-shadow-colored:0 2px 8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.hub-discussions-post-editor-header{margin-bottom:1.5rem;display:grid;grid-template-rows:repeat(1, minmax(0, 1fr));align-items:center;column-gap:0.75rem;grid-template-columns:44px auto 44px}.hub-discussions-post-editor-header__title{margin:0px;text-align:center;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}.hub-discussions-post-editor-header__popover{padding:1rem;margin-top:revert;margin-bottom:revert}.hub-discussions-post-editor-audience__description{font-size:var(--calcite-font-size-0);line-height:1.25rem}.hub-discussions-post-editor-audience__header{margin-top:1.5rem;margin-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}.hub-discussions-post-editor-audience__gallery{--calcite-color-border-3:transparent}.hub-discussions-post-editor-audience__button{margin-top:1rem;margin-bottom:0.5rem}.hub-discussions-post-editor-groups__action{margin-top:0.75rem}.hub-discussions-post-editor-recent__list{margin-top:0px;margin-bottom:0px;list-style-type:none;padding:0px}.hub-discussions-post-editor-recent__item{margin-bottom:0.75rem;margin-top:0px;display:grid;grid-auto-flow:column;grid-template-rows:repeat(2, minmax(0, 1fr));column-gap:0.75rem;grid-template-columns:44px auto 44px}.hub-discussions-post-editor-recent__item:last-child{margin-bottom:0px}.hub-discussions-post-editor-recent__avatar{grid-row:span 2 / span 2}.hub-discussions-post-editor-recent__title{font-weight:var(--calcite-font-weight-bold);overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hub-discussions-post-editor-recent__last-activity{font-size:var(--calcite-font-size--1);line-height:1rem;font-style:normal;color:var(--calcite-color-text-2)}.hub-discussions-post-editor-recent__action{grid-row:span 2 / span 2}.hub-discussions-post-editor-post-actions,.hub-discussions-post-editor-geometry-actions{margin-top:1rem;display:flex;justify-content:flex-end}.hub-discussions-post-editor-post-actions>calcite-action{margin-right:auto}.hub-discussions-post-editor-geometry-actions__feature,.hub-discussions-post-editor-geometry-actions__related,.hub-discussions-post-editor-post-actions__primary,.hub-discussions-post-editor-post-actions__secondary{margin-left:0.75rem}arcgis-hub-discussions-post-editor.rtl .hub-discussions-post-editor-geometry-actions__feature,arcgis-hub-discussions-post-editor.rtl .hub-discussions-post-editor-geometry-actions__related,arcgis-hub-discussions-post-editor.rtl .hub-discussions-post-editor-post-actions__primary,arcgis-hub-discussions-post-editor.rtl .hub-discussions-post-editor-post-actions__secondary{margin-left:0px;margin-right:0.75rem}.hub-discussions-post-editor__title{margin:0px;margin-top:1rem;height:auto;width:100%;resize:none;border-style:none;background-color:var(--calcite-color-foreground-1);padding:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1);--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.hub-discussions-post-editor__title:focus{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}.hub-discussions-post-editor__title::placeholder{color:var(--calcite-color-text-3);opacity:1}.hub-discussions-post-editor__body{margin-top:0.5rem;white-space:pre-wrap}.hub-discussions-post-editor__body[scale=m] .ck.ck-editor__editable{border-style:none;background-color:var(--calcite-color-foreground-1);padding:0px;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-1);outline:2px solid transparent;outline-offset:2px;min-height:6rem}.hub-discussions-post-editor__body .ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable){border-style:none;outline:2px solid transparent;outline-offset:2px}.hub-discussions-post-editor__body[scale=m] .ck.ck-editor__editable .ck-placeholder:before{color:var(--calcite-color-text-3)}.hub-discussions-post-editor__body .ck.ck-editor__editable_inline>:first-child{margin-top:0px}.hub-discussions-post-editor__body .ck.ck-editor__editable_inline>:last-child{margin-bottom:0px}.hub-discussions-post-editor__message{margin-top:0.5rem}.hub-discussions-post-editor__empty,.hub-discussions-post-editor__load-error{margin-top:1rem}.hub-discussions-post-editor__crud-error,.hub-discussions-post-editor__not-discussable-notice{margin-top:1rem}.hub-discussions-post-editor-cancel-confirm__header{margin-left:0px;margin-right:0px;margin-top:0.5rem;margin-bottom:0px;display:block;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold)}.hub-discussions-post-editor-cancel-confirm__message{margin-top:0.5rem;margin-bottom:0px}.hub-discussions-post-editor-cancel-confirm__footer{margin-top:1.5rem;display:flex;justify-content:flex-end;column-gap:0.75rem}.hub-discussions-post-editor-recent__skeleton{margin-bottom:0.75rem;margin-top:0px}.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader{display:flex}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader>div:nth-of-type(1),.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader>div:nth-of-type(2) div{animation:shimmer 2s cubic-bezier(0.4, 0, 0.2, 0.8) infinite;background-image:linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);background-color:var(--calcite-color-foreground-3)}.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader>div:nth-of-type(1){height:2.75rem;width:2.75rem;border-radius:50%}.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader>div:nth-of-type(2){margin-left:1rem;display:flex;flex-grow:1;flex-direction:column;justify-content:center}.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader>div:nth-of-type(2) div:nth-of-type(1){margin-bottom:0.5rem;height:0.75rem;border-radius:0.375rem}.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader>div:nth-of-type(2) div:nth-of-type(2){height:0.5rem;border-radius:0.25rem}.location-popover>div.popover,.popover{max-width:20rem;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1.25rem;padding-right:1.25rem}.add-location-post:active .add-location-icon{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.add-location-post[active] .add-location-icon{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}arcgis-hub-discussions-post-editor[parent-id]{display:block}.hub-discussions-reply-editor__form{border-radius:0.25rem;background-color:var(--calcite-color-foreground-1);padding:0.75rem;--tw-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.12);--tw-shadow-colored:0 2px 8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.hub-discussions-reply-editor-user-details{margin:0px;display:grid;align-items:center;column-gap:0.75rem;grid-template-columns:32px auto}.hub-discussions-reply-editor-user-details__name{font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-bold);font-style:normal}.hub-discussions-reply-editor__notice,.hub-discussions-reply-editor__not-discussable-notice{margin-left:0px;margin-right:0px;margin-top:1rem}.hub-discussions-post-editor-cancel-confirm{display:block}.hub-discussions-post-editor-cancel-confirm__button{margin:0px}.hub-discussions-reply-editor__body{margin-top:0.75rem;white-space:pre-wrap}.hub-discussions-reply-editor__body[scale=m] .ck.ck-editor__editable{border-style:none;background-color:var(--calcite-color-foreground-1);padding:0px;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-1);outline:2px solid transparent;outline-offset:2px;min-height:6rem}.hub-discussions-reply-editor__body .ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable){border-style:none;outline:2px solid transparent;outline-offset:2px}.hub-discussions-reply-editor__body[scale=m] .ck.ck-editor__editable .ck-placeholder:before{color:var(--calcite-color-text-3)}.hub-discussions-reply-editor__body .ck.ck-editor__editable_inline>:first-child{margin-top:0px}.hub-discussions-reply-editor__body .ck.ck-editor__editable_inline>:last-child{margin-bottom:0px}.hub-discussions-reply-editor__message{margin-top:0.5rem}.hub-discussions-reply-editor__location-popover>div.hub-discussions-reply-editor__location-popover__content,.hub-discussions-reply-editor__location-popover__content{max-width:20rem;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1.25rem;padding-right:1.25rem}.add-location-post:active .add-location-icon{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.add-location-post[active] .add-location-icon{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}arcgis-hub-discussions-post-editor>form>header{padding-top:0.25rem;padding-bottom:1rem;text-align:center;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);text-transform:capitalize;color:var(--calcite-color-text-1)}.anon-toggle{margin-bottom:0.75rem;display:flex;flex-wrap:wrap;align-items:center;gap:0.5rem;border-radius:0.75rem;background-color:var(--calcite-color-background);padding:1rem}.anon-toggle p:first-of-type{margin:0px;color:var(--calcite-color-text-1)}.anon-toggle p:nth-of-type(2){margin:0px;flex-basis:100%;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-color-text-2)}arcgis-hub-entity-editor{--calcite-dialog-size-y:95%}",Bt=Ut,ae=function(e,t,s,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,s):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(n=(o<3?a(n):o>3?a(t,s,n):a(t,s))||n);return o>3&&n&&Object.defineProperty(t,s,n),n},te=class{constructor(e){N(this,e),this.arcgisHubDiscussionsPostEditorReady=v(this,"arcgisHubDiscussionsPostEditorReady",7),this.arcgisHubDiscussionsPostCancel=v(this,"arcgisHubDiscussionsPostCancel",7),this.arcgisHubDiscussionsPostCreate=v(this,"arcgisHubDiscussionsPostCreate",7),this.arcgisHubDiscussionsPostEdit=v(this,"arcgisHubDiscussionsPostEdit",7),this.arcgisHubDiscussionsGeometryDrawCreate=v(this,"arcgisHubDiscussionsGeometryDrawCreate",7),this.arcgisHubDiscussionsGeometryDrawTypeSelect=v(this,"arcgisHubDiscussionsGeometryDrawTypeSelect",7),this.arcgisHubDiscussionsGeometryDrawEdit=v(this,"arcgisHubDiscussionsGeometryDrawEdit",7),this.arcgisHubDiscussionsGeometryDrawReset=v(this,"arcgisHubDiscussionsGeometryDrawReset",7),this.arcgisHubDiscussionsGeometrySelect=v(this,"arcgisHubDiscussionsGeometrySelect",7),this.arcgisHubDiscussionsGeometryDeselect=v(this,"arcgisHubDiscussionsGeometryDeselect",7),this.arcgisHubDiscussionsGeometryClearAll=v(this,"arcgisHubDiscussionsGeometryClearAll",7),this.arcgisHubDiscussionsPostClose=v(this,"arcgisHubDiscussionsPostClose",7),this.hubTelemetry=v(this,"hubTelemetry",7),this.handleSubmit=t=>{t.preventDefault();let s=this.postId?this.handleEdit():this.handleCreate();return this.pending=!0,s.finally(()=>{this.pending=!1,this.arcgisHubDiscussionsGeometryClearAll.emit(),this.addLocationsActiveGeometryType=null})},this.handleCancel=t=>{var s,i,o,n,a,c,l,d;let{channel:u,post:h,parent:p}=this;t.preventDefault(),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.close.label.editor),{parentId:(s=p?.id)!==null&&s!==void 0?s:null,postId:(i=h?.id)!==null&&i!==void 0?i:null,channelId:(o=u?.id)!==null&&o!==void 0?o:null,channelAccess:u?x(u):null})),this.arcgisHubDiscussionsPostCancel.emit(),this.collapse(),this.confirmAction=null;let m=G(h?.geometry);this.geometryValue=Object.keys(m||{}).length?m:null,this.titleValue=(n=h?.title)!==null&&n!==void 0?n:"",this.bodyValue=(a=h?.body)!==null&&a!==void 0?a:"",this._unsavedExistingFeatures=(c=this.unsavedExistingFeatures)!==null&&c!==void 0?c:[],this._unsavedFeatures=(l=this.unsavedFeatures)!==null&&l!==void 0?l:[],this._unsavedRelatedFeatures=(d=this.unsavedRelatedFeatures)!==null&&d!==void 0?d:[],this.arcgisHubDiscussionsGeometryClearAll.emit()},this.handleCancelOrConfirm=t=>{this.hasChanges?this.confirmAction=this.handleCancel:this.handleCancel(t)},this.handleConfirmBackButtonClicked=()=>{this.confirmAction=null},this.handleBackOrConfirm=()=>{this.hasChanges?this.confirmAction=this.handleBack:this.handleBack()},this.handleBack=()=>{var t,s,i,o,n,a,c,l;let d=G((t=this.post)===null||t===void 0?void 0:t.geometry);this.geometryValue=Object.keys(d||{}).length?d:null,this._unsavedExistingFeatures=(s=this.unsavedExistingFeatures)!==null&&s!==void 0?s:[],this._unsavedFeatures=(i=this.unsavedFeatures)!==null&&i!==void 0?i:[],this._unsavedRelatedFeatures=(o=this.unsavedRelatedFeatures)!==null&&o!==void 0?o:[],this.channelId=null,this.channelGroups=null,this.channel=null,this._mentionQuery=null,this.confirmAction=null,this.titleValue=(a=(n=this.post)===null||n===void 0?void 0:n.title)!==null&&a!==void 0?a:"",this.bodyValue=(l=(c=this.post)===null||c===void 0?void 0:c.body)!==null&&l!==void 0?l:"",this.step=M.AUDIENCE,this.arcgisHubDiscussionsGeometryClearAll.emit()},this.handleHelpPopoverOpen=()=>{this.hubTelemetry.emit(g.dictionary.category.interaction.action.open.label.popover.details.help)},this.handleHelpPopoverClose=()=>{this.hubTelemetry.emit(g.dictionary.category.interaction.action.close.label.popover.details.help)},this.handleLocationPopoverOpen=()=>{this.addLocationsPopoverOpen=!0},this.handleLocationPopoverClose=()=>{this.addLocationsPopoverOpen=!1},this.updateTitleValue=t=>{this.titleValue=t.target.value},this.setActiveGeometryDrawType=t=>{let{target:s}=t,i=s.dataset.type;this.addLocationsActiveGeometryType=i,this.locationPopoverRef.open=!1,this.enableAddLocation()},this.channelCardCallback=t=>Object.assign(Object.assign({},t),{actionLinks:[{action:"channelSelect",ariaLabel:"aria label",label:"label",buttonStyle:"outline",buttonKind:"brand",icon:this.isRtl?"chevron-left":"chevron-right"}]}),this.toggleChannelPickerOpen=()=>{this.galleryPickerOpen=!this.galleryPickerOpen},this.handleChannelPickerSelectionUpdate=async t=>{await this.loadChannelDetails({channelId:t.detail.channel[0]})},this.getMentionQuery=t=>{let s=G(this._mentionQuery),i=o=>{var n,a;return!!(!((n=o.predicates[0])===null||n===void 0)&&n.username&&(!((a=o.predicates[1])===null||a===void 0)&&a.fullname))};return s.filters=t?s.filters.map(o=>i(o)?Object.assign(Object.assign({},o),{predicates:[{username:t},{fullname:t}]}):o):s.filters.filter(o=>!i(o)),s},this.handleAnonToggle=t=>{let s=t.target;this.asAnonymous=s.checked},this.handleEntityEditorClosed=()=>{this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.close.label.modal.details.viewChannel),{channelId:this.channelEntityToView.id,channelAccess:this.channelEntityToView.access})),this.channelEntityToView=null},this.handleChannelGalleryAction=async t=>{t.detail.action==="channelSelect"&&(await this.loadChannelDetails({channelId:t.detail.model.id}),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.select.label.channel.details.recents),{channelId:this.channel.id,channelAccess:x(this.channel)})))},this.handleChannelGalleryError=()=>{this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.viewed.label.recents),{response:g.constants.response.FAILURE}))},this.handleChannelGalleryResultsChange=t=>{this.hubTelemetry.emit(t.detail.length?Object.assign(Object.assign({},g.dictionary.category.interaction.action.viewed.label.recents),{response:g.constants.response.SUCCESS}):g.dictionary.category.interaction.action.viewed.label.empty)},this.focusInput=()=>{setTimeout(()=>{let{titleRef:t,bodyRef:s,isReply:i}=this;i?s&&s.setFocus():t&&t.focus()},500)},this.handleReplySubmit=t=>(t.preventDefault(),this.pending=!0,(this.postId?this.handleEditReply():this.handleCreateReply()).catch(i=>(X.error("Could not create reply:",i.message),null)).finally(async()=>{this.pending=!1,this.arcgisHubDiscussionsGeometryClearAll.emit(),this.addLocationsActiveGeometryType=null,this.focusInput()})),this.post=void 0,this.postCreator=void 0,this.postCreatorOrg=void 0,this.postId=void 0,this.parent=void 0,this.parentCreator=void 0,this.parentId=void 0,this.channel=void 0,this.channelGroups=void 0,this.channelId=void 0,this.entity=void 0,this.entityId=void 0,this.entityType=void 0,this.discussionSettings=void 0,this.discussion=void 0,this.displayFieldKey=void 0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.locationId=void 0,this.hasMap=void 0,this.isHub=void 0,this.unsavedFeatures=[],this.unsavedRelatedFeatures=[],this.unsavedExistingFeatures=[],this.index=void 0,this.isMobile=void 0,this.createParentSaveButtonText=void 0,this.createParentBodyPlaceholderText=void 0,this.showLocations=void 0,this.disableSelectExistingLocation=void 0,this.showHeader=void 0,this.collapsible=void 0,this.collapsed=void 0,this.helpButtonRef=void 0,this._context=Q(),this._unsavedFeatures=[],this._unsavedRelatedFeatures=[],this._unsavedExistingFeatures=[],this.pending=!1,this.loading=void 0,this.titleValue="",this.bodyValue="",this.discussionValue="",this.geometryValue=void 0,this.geometryValueHasChanges=void 0,this.locationActionElement=void 0,this.step=null,this.errorMessage=null,this.confirmAction=null,this.addLocationsActiveGeometryType=void 0,this.addLocationsPopoverOpen=void 0,this.asAnonymous=!1,this.galleryPickerOpen=!1,this.numPostableChannels=null,this.channelEntityToView=null}async componentWillLoad(){await Promise.all([this.loadIntl(),this.initialize(this._context)])}async loadIntl(){this.intl=await j.loadIntlForComponent(this.element)}connectedCallback(){oe(this)}disconnectedCallback(){this.disconnectContext()}get isRtl(){return this.intl.direction==="rtl"}get hasChanges(){let{titleValue:e,bodyValue:t,post:s,isReply:i}=this,o;return s?o=i?t!==s.body:t!==s.body||e!==s.title:o=i?t.length>0:e.length>0||t.length>0,o}get postWithLocationEdits(){let{post:e,geometryValue:t,discussionValue:s}=this,i;return e&&(i=G(e),i.geometry=t,s!==e.discussion&&(i.discussion=s)),i}get hasMentionedUsers(){return!!ce(this.bodyValue).length}async fetchDependencies(){let[e,t]=await Promise.all([Te({postId:this.postId,post:this.post},this._context.hubRequestOptions),ue({isHub:this.isHub},this._context.hubRequestOptions)]),[s,i]=await Promise.all([je(Object.assign({postCreator:this.postCreator,postCreatorOrg:this.postCreatorOrg},e),this._context.hubRequestOptions),He(Object.assign({parentId:this.parentId,parent:this.parent},e),this._context.hubRequestOptions)]),[o,n,a]=await Promise.all([he(Object.assign(Object.assign({discussion:this.discussion,entityId:this.entityId,entityType:this.entityType,entity:this.entity,discussionSettings:this.discussionSettings,displayFieldKey:this.displayFieldKey,displayFieldValid:this.displayFieldValid,displayFieldValue:this.displayFieldValue,locationId:this.locationId},e),i),this._context.hubRequestOptions,!0),pe(Object.assign(Object.assign({channelId:this.channelId,channel:this.channel,channelGroups:this.channelGroups},e),i),this._context.hubRequestOptions),Fe(Object.assign({parentCreator:this.parentCreator},i),this._context.hubRequestOptions)]),c=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),s),i),a),n),o),t);Object.assign(this,c)}async initialize(e,t){var s,i,o;if(((s=e?.currentUser)===null||s===void 0?void 0:s.username)!==((i=t?.currentUser)===null||i===void 0?void 0:i.username)){this.loading=!0,await this.fetchDependencies();let{post:n,channel:a}=this;if(n){let{title:c,body:l,discussion:d,geometry:u}=n;this.bodyValue=l,n.title&&(this.titleValue=c),this.discussionValue=d;let h=G(u);this.geometryValue=Object.keys(h||{}).length?h:null}if(a)await this.loadChannelDetails({channel:a}),this.step=M.CONTENT;else{let{total:c,results:l}=await ut({allowedChannelIds:(o=this.discussionSettings)===null||o===void 0?void 0:o.allowedChannelIds,requestOptions:this._context.hubRequestOptions,num:1});this.numPostableChannels=c,c===1?(await this.loadChannelDetails({channel:l[0].rawResult}),this.step=M.CONTENT):this.step=M.AUDIENCE}this.arcgisHubDiscussionsPostEditorReady.emit(n),this.loading=!1}}emitHubTelemetry(e){let{channel:t,channelGroups:s}=this,{groupAccesses:i,groupOrgIds:o,groupIds:n}=(s??[]).reduce((c,l)=>l?{groupAccesses:[...c.groupAccesses,l.access],groupOrgIds:[...c.groupOrgIds,l.orgId],groupIds:[...c.groupIds,l.id]}:c,{groupAccesses:[],groupOrgIds:[],groupIds:[]}),a=Object.assign(Object.assign({},e),{channelAccess:x(t),channelId:t.id,groupAccess:i.filter(Boolean).join(", "),groupId:n.filter(Boolean).join(", "),groupOrgId:o.filter(Boolean).join(", "),orgId:Be(t).join(", ")});this.hubTelemetry.emit(a)}handleGeometryValueUpdated(){if(this.post){let{post:{geometry:e},geometryValue:t}=this;this.geometryValueHasChanges=JSON.stringify(t)!==JSON.stringify(e)}}mapFeaturePropToState(e){var t;let{postId:s,post:i}=this;if(e.length){let o=(t=e[0].properties)===null||t===void 0?void 0:t.id;(s===o||!i&&!o)&&(this._unsavedFeatures=e.filter(({properties:a})=>!a?.pending),this.resetActiveGeometryDrawType())}else this._unsavedFeatures=[]}mapExistingFeaturePropToState(e){var t;let{postId:s}=this;if(e.length){let i=(t=e[0].properties)===null||t===void 0?void 0:t.id;s===i&&(this._unsavedExistingFeatures=e,e.forEach(n=>{let{geometry:a,properties:c}=n;a||this.removeFeature(c.index,null,!1)}),this.resetActiveGeometryDrawType())}else this._unsavedExistingFeatures=[]}mapRelatedFeaturePropToState(e){let{postId:t}=this;if(e.length){let s=e[0].postId;(t===s||!t&&!s)&&(this._unsavedRelatedFeatures=e,this.resetActiveGeometryDrawType())}else this._unsavedRelatedFeatures=[]}handleAddLocationsActiveGeometryTypeChanged(e){e&&this.arcgisHubDiscussionsGeometryDrawTypeSelect.emit(e)}async handleCreate(){var e;let{_context:t,_unsavedFeatures:s,_unsavedRelatedFeatures:i,bodyValue:o,titleValue:n,channelId:a,discussion:c,asAnonymous:l,entity:{url:d},arcgisHubDiscussionsPostCreate:u}=this,{channel:h}=this,p=c;if(i.length){let f=d.split("/").pop(),_=new Set(i.map(w=>w.objectId));p=Z(p,f,Array.from(_))}let m=null;s.length&&(m=s.length>1?se(s):s[0].geometry),this.errorMessage=null;let b;try{let{id:f}=await Ke(Object.assign({data:{channelId:h.id,discussion:p,title:n.trim()||void 0,body:o.trim(),geometry:m,asAnonymous:l},mentionUrl:window.location.href},t.hubRequestOptions));return b=await z(Object.assign({postId:f,data:{relations:[C.REACTIONS,C.CHANNEL,C.CHANNEL_ACL]}},this._context.hubRequestOptions)),b.replyCount=0,this.titleValue="",this.bodyValue="",this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.post),{response:g.constants.response.SUCCESS,details:(e=b.title)!==null&&e!==void 0?e:null,groupId:ve(h).join(", "),postId:b.id,channelId:h.id,channelAccess:x(h)})),u.emit(b),this.focusInput(),b}catch(f){return this.errorMessage="error.create",this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.post),{response:g.constants.response.FAILURE,groupId:ve(h).join(", "),channelId:a,channelAccess:h?x(h):""})),X.error("Failed to create post:",f.message),null}}handleEdit(){let{_context:e,bodyValue:t,titleValue:s,channelId:i,channel:o,post:n,_unsavedFeatures:a,_unsavedExistingFeatures:c,_unsavedRelatedFeatures:l,arcgisHubDiscussionsPostEdit:d,entity:{url:u}}=this;this.errorMessage=null;let h=this.discussionValue;if(l.length){let f=u.split("/").pop(),_=l.map(w=>w.objectId);h=Z(h,f,_)}let p=this.geometryValue&&Object.keys(this.geometryValue).length?Pe(Object.assign(Object.assign({},n),{geometry:this.geometryValue})):[];c.forEach(f=>{let{properties:{index:_},geometry:w}=f;w&&(p[+_].geometry=w)});let m=null,b=[...p,...a];return b.length&&(m=b.length>1?se(b):b[0].geometry.coordinates.length?b[0].geometry:null),_e(Object.assign({postId:n.id,data:{title:s.trim()||null,body:t.trim(),discussion:h,geometry:m},mentionUrl:window.location.href},e.hubRequestOptions)).then(f=>z(Object.assign({postId:f.id,data:{relations:[C.REACTIONS,C.REPLIES,C.CHANNEL,C.CHANNEL_ACL]}},this._context.hubRequestOptions))).then(f=>(this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.post),{response:g.constants.response.SUCCESS,postId:n.id,channelId:i,channelAccess:x(o)})),f.replyCount=f.replies.total,delete f.replies,d.emit(f),f)).catch(f=>(this.errorMessage="error.edit",this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.post),{response:g.constants.response.FAILURE,postId:n.id,channelId:i,channelAccess:x(o)})),X.error("Failed to edit post:",f.message),null))}handleFocusin(){this.expand()}expand(){this.collapsible&&(this.collapsed=!1)}collapse(){this.collapsible&&(this.collapsed=!0)}handleFocusout(){this.collapse()}updateBodyValue(e){this.bodyValue=e.target.value}handleFeatureRemove(e){let{detail:{properties:{relatedFeatureId:t,index:s,unsaved:i}}}=e;this.removeFeature(s,t,i)}removeFeature(e,t,s){var i;if(!s)if(t){let{features:o}=ot(this.discussionValue),n=this.entity.url.split("/").pop();o.splice(o.indexOf(t),1),this.discussionValue=Z(this.discussionValue.split("?")[0],n,o)}else((i=this.geometryValue)===null||i===void 0?void 0:i.type)==="GeometryCollection"?(s?this.geometryValue.geometries.splice(e,1):this.geometryValue.geometries[e]=null,this.geometryValue=Object.assign({},this.geometryValue)):this.geometryValue=null}handleDrawDone(){this.arcgisHubDiscussionsGeometryDrawReset.emit(),this.addLocationsActiveGeometryType=null}handleDrawCancel(){this.addLocationsActiveGeometryType=null}resetActiveGeometryDrawType(){this.addLocationsActiveGeometryType=void 0}enableAddLocation(){let{post:e,arcgisHubDiscussionsGeometryDrawCreate:t,isReply:s}=this,i=s?"reply":"post";t.emit({post:e,postType:i})}get isTitleValid(){let{titleValue:e}=this;return e.length<=le}get isBodyValid(){let{bodyValue:e}=this,t=e.trim();return t.length>0&&t.length<=rt}get hasLocationChanges(){if(this.post){let{post:{discussion:e},discussionValue:t}=this;return!!(this._unsavedFeatures.length+this._unsavedRelatedFeatures.length+this._unsavedExistingFeatures.length)||t!==e||this.geometryValueHasChanges}return!1}get hasAllowedChannelsList(){var e,t;return!!(!((t=(e=this.discussionSettings)===null||e===void 0?void 0:e.allowedChannelIds)===null||t===void 0)&&t.length)}get titleMessage(){let{titleValue:e,isTitleValid:t,intl:s}=this,{length:i}=e;if(i>=le-5)return t?{status:"idle",text:s.t("post.title.validation.warning")}:{icon:"exclamation-mark-circle",status:"invalid",text:s.t("post.title.validation.error",{characters:i-le})}}get bodyMessage(){let{bodyValue:e,isBodyValid:t,intl:s}=this,{length:i}=e;if(i>=Re)return t?{status:"idle",text:s.t("post.body.validation.warning")}:{icon:"exclamation-mark-circle",status:"invalid",text:s.t("post.body.validation.error")}}get isReply(){return!!(this.parent||this.parentId)}get blockedNotice(){let e,t=nt(this.channel,this._context.currentUser),s=!fe(this.entity);return t&&s?e=this.isReply?H.EditReply:H.EditPost:t?e=this.isReply?H.EditReplyGroup:H.EditPostGroup:s&&(this.entityType==="group"?e=this.isReply?H.EditReplyGroup:H.EditPostGroup:e=this.isReply?H.EditReplyItem:H.EditPostItem),e}renderPrimaryActionButton(){let{post:e,isReply:t,intl:s,titleValue:i,bodyValue:o,isBodyValid:n,isTitleValid:a,pending:c,hasLocationChanges:l,blockedNotice:d,createParentSaveButtonText:u}=this,h,p;t?(p=!n,h=s.t("createReply")):(p=!n||!a,h=u||s.t("post.create"));let m=!!d||p;return e&&(t?(h=s.t("saveReply"),m=m||o===e.body&&!l):(h=s.t("post.save"),m=m||(!i&&!e.title||i===e.title)&&o===e.body&&!l)),r("calcite-button",{appearance:"solid",class:"hub-discussions-post-editor-post-actions__primary",disabled:m||c,key:"primary",kind:"brand",label:h,loading:c,round:!0,scale:"l",type:"submit"},h)}renderSecondaryActionButton(){let e=this.intl.t("cancel");if(!this.isReply||this.isReply&&this.post)return r("calcite-button",{appearance:"transparent",class:"hub-discussions-post-editor-post-actions__secondary",kind:"neutral",label:e,onClick:this.handleCancelOrConfirm,round:!0,scale:"l",type:"reset"},e)}renderAddLocationsButton(){if(this.showLocations&&this.hasMap){let t=[...this.disableSelectExistingLocation?[]:[{type:"select",icon:"select"}],{type:"point",icon:"pin"},{type:"polyline",icon:"freehand"},{type:"polygon",icon:"freehand-area"}].map(({type:s,icon:i})=>r("calcite-action",{active:this.addLocationsActiveGeometryType===s,"data-type":s,icon:i,key:s,onClick:this.setActiveGeometryDrawType,text:this.intl.t(`location.action.${s}`),textEnabled:!0}));return r(E,null,r("calcite-action",{active:this.addLocationsPopoverOpen,appearance:"solid",class:"add-location-post",disabled:!this.hasMap||!!this.blockedNotice,ref:s=>{this.locationActionElement=s},text:this.intl.t("location.heading")},r("calcite-icon",{class:"add-location-icon",icon:"pin-plus",scale:"s"})),r("calcite-tooltip",{closeOnClick:!0,label:this.intl.t("location.tooltip"),referenceElement:this.locationActionElement},r("span",null,this.intl.t("location.tooltip"))),this.hasMap&&!this.blockedNotice&&r("calcite-popover",{autoClose:!0,label:this.intl.t("location.heading"),onCalcitePopoverClose:this.handleLocationPopoverClose,onCalcitePopoverOpen:this.handleLocationPopoverOpen,overlayPositioning:"fixed",pointerDisabled:!0,ref:s=>{this.locationPopoverRef=s},referenceElement:this.locationActionElement},t))}}renderTitleField(){let{collapsible:e,collapsed:t,intl:s,titleValue:i,updateTitleValue:o,titleMessage:n,blockedNotice:a}=this;if(!e||e&&!t)return r(E,null,r("input",{"aria-label":s.t("post.title.label"),class:"hub-discussions-post-editor__title",disabled:!!a,onInput:o,placeholder:s.t("post.title.placeholder"),ref:c=>{this.titleRef=c},type:"text",value:i}),n&&r("calcite-input-message",{class:"hub-discussions-post-editor__message",icon:n.icon,scale:"l",status:n.status},n.text))}renderBodyField(){let{createParentBodyPlaceholderText:e,intl:t,bodyValue:s,bodyMessage:i,pending:o,getMentionQuery:n,blockedNotice:a,asAnonymous:c}=this;return r(E,null,r("arcgis-hub-rich-text",{class:"hub-discussions-post-editor__body",disabled:!!a||o,getMentionQuery:n,label:t.t("post.body.label"),mention:!c,mentionCount:100,placeholder:e||t.t("post.body.placeholder"),ref:l=>{this.bodyRef=l},"text-transform":!0,toolbar:"",value:s}),i&&r("calcite-input-message",{class:"hub-discussions-post-editor__message",icon:i.icon,scale:"l",status:i.status},i.text))}renderPostHeader(e,t,s,i,o,n,a,c){let{postId:l,post:d,postCreator:u,postCreatorOrg:h,channel:p,index:m,isHub:b,asAnonymous:f}=this;return r("arcgis-hub-discussions-post-header",{channel:p,class:"hub-discussions-post-editor__header",displayAnon:f,iconScale:e,index:m,isHub:b,post:l&&p&&d,postCreator:l&&p&&u,postCreatorOrg:l&&p&&h,showChannelAccessIcon:i,showChannelAvatar:s,showChannelName:o,showCreatorAvatar:t,showCreatorUsername:a,showPopover:c,showTimestamp:n})}renderAnonToggle(){let{channel:e,postId:t,asAnonymous:s,hasMentionedUsers:i,intl:o}=this;return e.allowAsAnonymous&&!t&&r("div",{class:"anon-toggle"},r("calcite-switch",{disabled:i,label:o.t("anonymous.label"),onCalciteSwitchChange:this.handleAnonToggle,ref:n=>{this.anonToggleRef=n}}),r("p",null,o.t("anonymous.label")),s&&r("p",null,o.t("anonymous.desc")),i&&r("calcite-tooltip",{referenceElement:this.anonToggleRef},r("span",null,o.t("anonymous.tooltip"))))}renderContentStep(){return r(E,null,this.showHeader&&r("header",{class:"hub-discussions-post-editor-header"},r("span",null,this.numPostableChannels>1&&r("calcite-button",{appearance:"outline-fill",disabled:!!this.confirmAction,iconFlipRtl:"start",iconStart:"chevron-left",kind:"neutral",label:this.intl.t("header.content.back"),onClick:this.handleBackOrConfirm,round:!0,scale:"l"})),r("p",{class:"hub-discussions-post-editor-header__title"},this.intl.t("header.content.title")),r("calcite-button",{appearance:"transparent",disabled:!!this.confirmAction,"icon-start":"x",kind:"neutral",label:this.intl.t(`header.${this.step}.back`),onClick:this.handleCancelOrConfirm,round:!0,scale:"l",type:"button"})),this.confirmAction?this.renderConfirmCancel():r("form",{onSubmit:this.handleSubmit},!!(this.showHeader&&this.post)&&r("header",null,this.intl.t("editPost")),this.renderAnonToggle(),this.isCollapsed?this.renderPostHeader("m",!0):this.renderPostHeader("l",!0,!0,!0,!0,!0,!1,!0),this.renderTitleField(),this.renderBodyField(),this.renderGeographies(),r("div",{class:"hub-discussions-post-editor-post-actions"},this.renderAddLocationsButton(),!this.isCollapsed&&this.renderSecondaryActionButton(),this.renderPrimaryActionButton()),this.blockedNotice&&r("arcgis-hub-discussions-blocked-notice",{class:"hub-discussions-post-editor__not-discussable-notice",scale:"s",variant:this.blockedNotice}),this.errorMessage&&r("calcite-notice",{class:"hub-discussions-post-editor__crud-error",kind:"danger",open:!0,scale:"s"},r("div",{slot:"title"},this.intl.t("error.title")),r("div",{slot:"message"},this.errorMessage&&this.intl.t(this.errorMessage)))))}renderConfirmCancel(){return r("div",{class:"hub-discussions-post-editor-cancel-confirm"},r("header",{class:"hub-discussions-post-editor-cancel-confirm__header"},this.intl.t("confirm.header")),r("p",{class:"hub-discussions-post-editor-cancel-confirm__message"},this.intl.t(this.isReply?"confirm":"confirm.body")),r("footer",{class:"hub-discussions-post-editor-cancel-confirm__footer"},r("calcite-button",{appearance:"transparent",class:"hub-discussions-post-editor-cancel-confirm__button",kind:"neutral",onClick:this.handleConfirmBackButtonClicked,round:!0,scale:"l"},this.intl.t("confirm.back")),r("calcite-button",{class:"hub-discussions-post-editor-cancel-confirm__button",kind:"danger",onClick:this.confirmAction,round:!0,scale:"l"},this.intl.t("confirm.discard"))))}renderAudienceStep(){return r(E,null,this.showHeader&&r("header",{class:"hub-discussions-post-editor-header"},r("calcite-button",{appearance:"outline","icon-start":"lightbulb",kind:"neutral",label:this.intl.t("header.help"),ref:e=>{this.helpButtonRef=e},round:!0,scale:"l",type:"button"}),r("calcite-popover",{closable:!0,label:this.intl.t("header.help"),onCalcitePopoverClose:this.handleHelpPopoverClose,onCalcitePopoverOpen:this.handleHelpPopoverOpen,overlayPositioning:"fixed",placement:"bottom-end",referenceElement:this.helpButtonRef},r("p",{class:"hub-discussions-post-editor-header__popover"},this.intl.t(`header.${this.step}.help`))),r("p",{class:"hub-discussions-post-editor-header__title"},this.intl.t(`header.${this.step}.title`)),r("calcite-button",{appearance:"transparent","icon-start":"x",kind:"neutral",label:this.intl.t(`header.${this.step}.back`),onClick:this.handleCancel,round:!0,scale:"l",type:"button"})),r("p",{class:"hub-discussions-post-editor-audience__description"},this.intl.t("selectChannelDescription")),r("header",{class:"hub-discussions-post-editor-audience__header"},this.intl.t(this.hasAllowedChannelsList?"allowedChannels":"recentChannels")),this.channelGalleryQuery&&r("arcgis-hub-gallery",{callback:this.channelCardCallback,class:"hub-discussions-post-editor-audience__gallery",include:"groups",layout:"compact",limit:this.channelGalleryLimit,linkTarget:"event",onArcgisHubGalleryAction:this.handleChannelGalleryAction,onArcgisHubGalleryError:this.handleChannelGalleryError,onArcgisHubGalleryResultsChange:this.handleChannelGalleryResultsChange,query:this.channelGalleryQuery,showEmptyState:!0,sortField:"lastActivity",sortOrder:"desc"}),this.numPostableChannels>4&&r(E,null,r("calcite-button",{appearance:"outline",class:"hub-discussions-post-editor-audience__button",kind:"neutral",label:this.intl.t("header.audience.title"),onClick:this.toggleChannelPickerOpen,ref:e=>{this.browseChannelsButtonRef=e},round:!0,width:"full"},this.intl.t("channels.select.button")),r("arcgis-wormhole",{elAttributes:{unthemed:""}},r("arcgis-hub-gallery-picker",{catalogs:this.channelPickerCatalog,enablePrimaryButton:!0,facets:this.channelPickerFacets,gallerySelection:{channel:[]},isMobile:!1,limit:1,linkTarget:"none",modalTitle:this.intl.t("channels.select.modal.title"),onArcgisHubGalleryPickerClose:this.toggleChannelPickerOpen,onArcgisHubGalleryPickerSelectionUpdate:this.handleChannelPickerSelectionUpdate,open:this.galleryPickerOpen,primaryButtonLabel:this.intl.t("channels.select.modal.button"),selectionMode:"single",showAllCollectionFacet:!1,showSearch:!0,showThumbnail:!0,sortField:"relevance",sortOptions:["relevance","created","modified"],triggerElement:this.browseChannelsButtonRef}))),this.channelEntityToView&&r("arcgis-wormhole",{elAttributes:{unthemed:""}},r("arcgis-hub-entity-editor",{editorType:"hub:channel:edit",entity:this.channelEntityToView,isDisabled:!0,isOpen:!0,layout:"modal",modalTitle:this.intl.t("viewChannel"),onArcgisHubEntityEditorModalClosed:this.handleEntityEditorClosed,variant:Ue.workspace})))}async loadChannelDetails(e){var t;let s=await pe(e,this._context.hubRequestOptions),i=await Ge(["placeholder"],s.channel,(t=this._context.currentUser)===null||t===void 0?void 0:t.username,this._context.requestOptions);Object.assign(this,Object.assign(Object.assign({},s),{step:M.CONTENT,_mentionQuery:i}))}async handleChannelTitleClick(e){this.channelEntityToView=await Ye(e.detail.model.id,this._context),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.modal.details.viewChannel),{channelId:this.channelEntityToView.id,channelAccess:this.channelEntityToView.access}))}get channelGalleryQuery(){if(this.discussionSettings!==void 0)return{targetEntity:"channel",filters:[{predicates:[this.hasAllowedChannelsList?Ae(this.discussionSettings.allowedChannelIds):dt()]}]}}get channelPickerCatalog(){return[{schemaVersion:1,title:this.intl.t("channels.catalog.title"),scopes:{channel:{targetEntity:"channel",filters:[{predicates:[]}]}},collections:[{label:this.intl.t("channels.catalog.title"),key:"channels",targetEntity:"channel",sortField:"modfied",sortDirection:"asc",scope:this.channelPickerQuery}]}]}get channelPickerFacets(){return[{label:this.intl.t("channels.facets.access.label"),key:"access",display:"multi-select",operation:"OR",options:[{label:this.intl.t("channels.facets.access.public"),key:"public",selected:!1,predicates:[{access:"public"}]},{label:this.intl.t("channels.facets.access.organization"),key:"organization",selected:!1,predicates:[{access:"org"}]},{label:this.intl.t("channels.facets.access.private"),key:"private",selected:!1,predicates:[{access:"private"}]}]},{label:this.intl.t("channels.facets.group"),key:"groups",display:"multi-select",operation:"OR",options:this._context.currentUser.groups.map(e=>({label:e.title,key:e.title,selected:!1,predicates:[{group:e.id}]}))}]}get channelPickerQuery(){return{targetEntity:"channel",filters:[{predicates:[this.hasAllowedChannelsList?Ae(this.discussionSettings.allowedChannelIds):lt()]}]}}get channelGalleryLimit(){return this.hasAllowedChannelsList?this.discussionSettings.allowedChannelIds.length>4?4:this.discussionSettings.allowedChannelIds.length:4}renderCreate(){if(this.step===M.AUDIENCE)return this.renderAudienceStep();if(this.step===M.CONTENT)return this.renderContentStep()}renderPostEditor(){return this.postId?this.renderContentStep():this.renderCreate()}render(){let{isReply:e,_context:t,loading:s,isRtl:i}=this;return r(q,{key:"1cade3df5edb6169dee731f1a2d725a369d3177c",class:{rtl:i},"data-element":"discussions-post-editor"},!!t&&!s&&(e?this.renderReplyEditor():this.renderPostEditor()))}get isCollapsed(){return this.collapsible&&this.collapsed}get inputMessage(){let{bodyValue:e,isBodyValid:t,intl:s}=this;if(e.trim().length>=Re)return t?{status:"idle",text:s.t("reply.body.validation.warning")}:{icon:"exclamation-mark-circle",status:"invalid",text:s.t("reply.body.validation.error")}}handleCreateReply(){let{_context:e,_unsavedFeatures:t,_unsavedRelatedFeatures:s,bodyValue:i,parent:o,channel:n,discussion:a,asAnonymous:c,entity:{url:l},arcgisHubDiscussionsPostCreate:d}=this,u=a;if(s.length){let p=l.split("/").pop(),m=new Set(s.map(b=>b.objectId));u=Z(u,p,Array.from(m))}let h=null;return t.length&&(h=t.length>1?se(t):t[0].geometry),this.errorMessage=null,qe(Object.assign({postId:o.id,data:{discussion:u,body:i.trim(),geometry:h,asAnonymous:c},mentionUrl:window.location.href},e.hubRequestOptions)).then(p=>(this.bodyValue="",this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.reply),{response:g.constants.response.SUCCESS,postId:p.id,parentId:o.id,channelId:n.id,channelAccess:x(n)})),z(Object.assign({postId:p.id,data:{relations:[C.REACTIONS,C.CHANNEL,C.CHANNEL_ACL]}},e.hubRequestOptions)))).then(p=>(p.replyCount=0,d.emit(p),p)).catch(p=>(this.errorMessage="createFailure",this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.reply),{response:g.constants.response.FAILURE,parentId:o.id,channelId:n.id,channelAccess:x(n)})),X.error("Failed to create reply:",p.message),null))}handleEditReply(){let{_context:e,bodyValue:t,post:s,parentId:i,channel:o,arcgisHubDiscussionsPostEdit:n,_unsavedFeatures:a,_unsavedRelatedFeatures:c,_unsavedExistingFeatures:l,entity:{url:d}}=this;this.errorMessage=null;let u=this.discussionValue;if(c.length){let b=d.split("/").pop(),f=c.map(_=>_.objectId);u=Z(u,b,f)}let h=this.geometryValue&&Object.keys(this.geometryValue).length?Pe(Object.assign(Object.assign({},s),{geometry:this.geometryValue})):[];l.forEach(b=>{let{properties:{index:f},geometry:_}=b;_&&(h[+f].geometry=_)});let p=null,m=[...h,...a];return m.length&&(m.length>1?p=se(m):p=m[0].geometry.coordinates.length?m[0].geometry:null),_e(Object.assign({postId:s.id,data:{body:t.trim(),discussion:u,geometry:p},mentionUrl:window.location.href},e.hubRequestOptions)).then(b=>z(Object.assign({postId:b.id,data:{relations:[C.REACTIONS,C.CHANNEL,C.CHANNEL_ACL]}},e.hubRequestOptions))).then(b=>(b.replyCount=0,this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.reply),{response:g.constants.response.SUCCESS,postId:s.id,parentId:i,channelId:o.id,channelAccess:x(o)})),n.emit(b),b)).catch(b=>(this.errorMessage="editFailure",this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.reply),{response:g.constants.response.FAILURE,postId:s.id,parentId:i,channelId:o.id,channelAccess:x(o)})),X.error("Failed to edit reply:",b.message),null))}renderInput(){let{bodyValue:e,inputMessage:t,pending:s,intl:i,parentCreator:o,getMentionQuery:n,blockedNotice:a,asAnonymous:c}=this,l=o?.firstName?i.t("replyToUserPost",{firstName:o.firstName}):i.t("replyToPost");return r(E,null,r("arcgis-hub-rich-text",{class:"hub-discussions-reply-editor__body",disabled:!!a||s,getMentionQuery:n,label:i.t("inputLabel"),mention:!c,mentionCount:100,placeholder:l,ref:d=>{this.bodyRef=d},"text-transform":!0,toolbar:"",value:e}),t&&r("calcite-input-message",{class:"hub-discussions-reply-editor__message",icon:t.icon,scale:"l",status:t.status},t.text))}renderGeographies(){let{channelId:e,channel:t,hasMap:s,postWithLocationEdits:i,_unsavedFeatures:o,_unsavedRelatedFeatures:n,_unsavedExistingFeatures:a,displayFieldValid:c,displayFieldKey:l,blockedNotice:d,isMobile:u,parentId:h,entity:p,showLocations:m}=this;if(m)return r("arcgis-hub-discussions-post-geography",{channel:t,channelId:e,disabled:!s,disabledActions:!!d,displayFieldKey:l,displayFieldValid:c,hasMap:s,isMobile:u,parentId:h,post:i,postId:i?.id,renderedInEditor:!0,showLocationDescriptionText:!u,unsavedExistingFeatures:a,unsavedFeatures:o,unsavedRelatedFeatures:n,url:p?.url})}renderEditor(){let{intl:e,errorMessage:t,blockedNotice:s}=this;return r(E,null,this.renderInput(),this.renderGeographies(),r("div",{class:"hub-discussions-post-editor-post-actions"},this.renderAddLocationsButton(),this.renderSecondaryActionButton(),this.renderPrimaryActionButton()),s&&r("arcgis-hub-discussions-blocked-notice",{class:"hub-discussions-reply-editor__not-discussable-notice",scale:"s",variant:s}),t&&r("calcite-notice",{class:"hub-discussions-reply-editor__notice",kind:"danger",open:!0,scale:"s"},r("div",{slot:"title"},e.t("error")),r("div",{slot:"message"},e.t(t))))}renderReplyEditor(){return r("form",{class:"hub-discussions-reply-editor__form",onSubmit:this.handleReplySubmit},this.renderAnonToggle(),this.renderPostHeader("m",!0),this.confirmAction?this.renderConfirmCancel():this.renderEditor())}static get assetsDirs(){return["locales"]}get element(){return F(this)}static get watchers(){return{_context:["initialize"],geometryValue:["handleGeometryValueUpdated"],unsavedFeatures:["mapFeaturePropToState"],unsavedExistingFeatures:["mapExistingFeaturePropToState"],unsavedRelatedFeatures:["mapRelatedFeaturePropToState"],addLocationsActiveGeometryType:["handleAddLocationsActiveGeometryTypeChanged"]}}};ae([K("bodyValue")],te.prototype,"hasMentionedUsers",null);ae([K("discussionSettings","hasAllowedChannelsList")],te.prototype,"channelGalleryQuery",null);ae([K("channelPickerQuery")],te.prototype,"channelPickerCatalog",null);ae([K()],te.prototype,"channelPickerFacets",null);ae([K("discussionSettings")],te.prototype,"channelPickerQuery",null);te.style=Bt;var Gt='.sc-arcgis-hub-discussions-post-list-h{display:block}arcgis-load-more-button.sc-arcgis-hub-discussions-post-list{margin-top:0.75rem;margin-right:1rem;margin-bottom:1.5rem;margin-left:1rem}calcite-input[type="search"].sc-arcgis-hub-discussions-post-list{margin-bottom:1rem}calcite-dropdown.sc-arcgis-hub-discussions-post-list{position:relative}.post-results-info-and-controls.sc-arcgis-hub-discussions-post-list{display:flex;align-items:center;gap:0.25rem}.post-count.sc-arcgis-hub-discussions-post-list{flex-grow:1}arcgis-hub-discussions-thread.sc-arcgis-hub-discussions-post-list:first-of-type{padding-top:1rem}arcgis-hub-discussions-thread.sc-arcgis-hub-discussions-post-list:last-of-type{padding-bottom:1rem}arcgis-hub-discussions-post.loading.sc-arcgis-hub-discussions-post-list,arcgis-hub-discussions-post.loading.sc-arcgis-hub-discussions-post-list:not([parent-id]){margin:0px;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:1rem}.location-list.sc-arcgis-hub-discussions-post-list-h arcgis-hub-discussions-post.loading.sc-arcgis-hub-discussions-post-list{padding-left:1rem;padding-right:1rem}.replies-only.sc-arcgis-hub-discussions-post-list arcgis-hub-discussions-post.loading.sc-arcgis-hub-discussions-post-list{padding-left:0px;padding-right:0px}.sc-arcgis-hub-discussions-post-list-h:not(.has-error).sc-arcgis-hub-discussions-post-list-s>[slot="error"]{display:none}[total="0"].sc-arcgis-hub-discussions-post-list-h calcite-list.sc-arcgis-hub-discussions-post-list{display:none}.sc-arcgis-hub-discussions-post-list-h:not([total="0"]).sc-arcgis-hub-discussions-post-list-s>[slot="empty"]{display:none}',zt=Gt,Kt=function(e,t,s,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,s):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(n=(o<3?a(n):o>3?a(t,s,n):a(t,s))||n);return o>3&&n&&Object.defineProperty(t,s,n),n},ee;(function(e){e.List="list",e.Loading="isLoading"})(ee||(ee={}));var Ot=class{constructor(e){N(this,e),this.arcgisHubDiscussionsPostListUpdated=v(this,"arcgisHubDiscussionsPostListUpdated",7),this.arcgisHubDiscussionsPostListReady=v(this,"arcgisHubDiscussionsPostListReady",7),this.arcgisHubDiscussionsPostListLayoutChanged=v(this,"arcgisHubDiscussionsPostListLayoutChanged",7),this.hubTelemetry=v(this,"hubTelemetry",7),this.impressionLogged=!1,this.discussion=void 0,this.entityId=void 0,this.entityType=void 0,this.entity=void 0,this.discussionSettings=void 0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.displayFieldKey=void 0,this.hasMap=void 0,this.isHub=void 0,this.unsavedFeatures=void 0,this.unsavedRelatedFeatures=void 0,this.unsavedExistingFeatures=[],this.nextStart=-1,this.start=1,this.total=0,this.items=void 0,this.sortBy=re.UPDATED_AT,this.sortOrder=Y.DESC,this.titleText=void 0,this.bodyText=void 0,this.geometry=void 0,this.featureGeometry=void 0,this.parentIds=void 0,this.creator=void 0,this.editor=void 0,this.status=[k.APPROVED,k.HIDDEN,k.PENDING,k.REJECTED,k.BLOCKED],this.groupIds=void 0,this.channelIds=void 0,this.createdBefore=void 0,this.createdAfter=void 0,this.updatedBefore=void 0,this.updatedAfter=void 0,this.access=void 0,this.num=10,this.isMobile=void 0,this.locationId=void 0,this.layout="list",this.showLayoutActions=void 0,this.showSearchActions=void 0,this.showCounts=void 0,this.showSortActions=void 0,this.renderPost=void 0,this.showLocations=void 0,this.disableSelectExistingLocation=void 0,this.locationDescriptionText=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this._context=Q(),this.pending=!1,this.error=void 0,this.loadedPostIds=[],this.ready=!1,this.mostRecentPagePostIds=[],this._loading=!0,this.intl=void 0,$(this,"renderListAndActions","renderLoading","handleSortBySelect","handleSortOrderSelected","handleSearchInputChanged","_renderPost")}async componentWillLoad(){this.initialize()}connectedCallback(){oe(this)}disconnectedCallback(){this.disconnectContext()}async initialize(){this.loadTranslations(),this._context&&(await this.loadDependencies(),this.items?(this.mostRecentPagePostIds=this.items.map(({id:e})=>e),this.emitPostListOpenEvent(!0),this.loadedPostIds=[]):this.searchPosts(1))}async loadTranslations(){this.intl=await j.loadIntlForComponent(this.element)}loadDependencies(){if(this._context)return this._loading=!0,this.fetchDependencies().then(e=>{Object.assign(this,e),this._loading=!1})}fetchDependencies(){return this._fetchDependencies()}async _fetchDependencies(){let{isHub:e,_context:t,discussion:s,entityId:i,entityType:o,entity:n,discussionSettings:a,locationId:c,displayFieldKey:l,displayFieldValid:d,displayFieldValue:u}=this,h=await ue({isHub:e},t.hubRequestOptions),p=await he({discussion:s,entityId:i,entityType:o,entity:n,discussionSettings:a,locationId:c,displayFieldKey:l,displayFieldValid:d,displayFieldValue:u},t.hubRequestOptions,!0);return Object.assign(Object.assign({},h),p)}handleContextChanged(e,t){var s,i;if(((s=e?.currentUser)===null||s===void 0?void 0:s.username)!==((i=t?.currentUser)===null||i===void 0?void 0:i.username))return this.loadDependencies().then(()=>{this.items?this.emitPostListOpenEvent(!0):this.searchPosts(1)})}handleReadyChanged(e){e&&this.arcgisHubDiscussionsPostListReady.emit()}handleLoadedPostIdsChanged(e){this.ready||(this.ready=!!e&&!!this.items&&this.items.every(({id:t})=>e.includes(t)))}emitPostListOpenEvent(e){this.impressionLogged||(this.impressionLogged=!0,this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.postList),{response:e?g.constants.response.SUCCESS:g.constants.response.FAILURE})))}handlePostReady(e){this.loadedPostIds=[...this.loadedPostIds,e.target.postId]}handleLayoutSelected(e){e.stopPropagation(),this.arcgisHubDiscussionsPostListLayoutChanged.emit(e.detail);let t={grid:"gridView",list:"listView",map:"mapView"}[e.detail];this.hubTelemetry.emit(g.dictionary.category.interaction.action.select.label.discussionBoardView.details[t])}get sortByMenuConfigs(){return[{label:"sortRecent",value:re.UPDATED_AT},{label:"sortCreator",value:re.CREATOR}]}get activeSortConfig(){return this.sortByMenuConfigs.find(({value:e})=>e===this.sortBy)}get isRtl(){var e;return((e=this.intl)===null||e===void 0?void 0:e.direction)==="rtl"||!1}get views(){let{renderListAndActions:e,renderLoading:t}=this;return{[ee.List]:{render:e},[ee.Loading]:{render:t}}}get isLoading(){let{intl:e,_context:t,_loading:s}=this;return!e||!t||s}get view(){let{views:e,isLoading:t}=this,s=t?ee.Loading:ee.List;return e[s]}handlePostDeleted(e){this.items.findIndex(({id:s})=>e.detail.id===s)>-1&&(this.items=this.items.filter(({id:s})=>e.detail.id!==s),this.total-=1,this.nextStart>-1&&(this.nextStart-=1),this.arcgisHubDiscussionsPostListUpdated.emit())}handlePostCreated(e){let t=e.detail.discussion.includes(this.discussion),s=!0;this.parentIds&&(s=this.parentIds.length?this.parentIds.includes(e.detail.parentId):!e.detail.parentId),t&&s&&(this.sortOrder===Y.DESC?this.items.find(({id:i})=>e.detail.id===i)||(this.items=[e.detail,...this.items],this.total+=1,this.nextStart>-1&&(this.nextStart+=1),this.arcgisHubDiscussionsPostListUpdated.emit()):(this.total+=1,this.arcgisHubDiscussionsPostListUpdated.emit()))}handlePostEdited(e){this.items.findIndex(({id:s})=>e.detail.id===s)>-1&&(this.items=this.items.map(s=>s.id===e.detail.id?e.detail:s),this.arcgisHubDiscussionsPostListUpdated.emit())}handleLoadMoreChange(e){e.stopPropagation(),this.searchPosts(this.nextStart)}async getPostRefByPostId(e){return Array.prototype.find.call(this.layoutListRef.childNodes,t=>t.postId===e)||null}handleSortByChanged(){this.searchPosts(1)}handleSortBySelect(e){let{selectedItems:[{dataset:{value:t}}]}=e.target;this.sortBy=t}get searchParams(){let{sortBy:e,sortOrder:t,access:s,status:i,channelIds:o,groupIds:n,titleText:a,bodyText:c,discussion:l,geometry:d,creator:u,editor:h,featureGeometry:p,parentIds:m,createdBefore:b,createdAfter:f,updatedBefore:_,updatedAfter:w,num:A}=this,R=O=>O===void 0?O:new Date(O),I={title:a&&`%${a}%`,body:c&&`%${c}%`,term:c&&`%${c}%`,discussion:l&&!l.endsWith("%")?`${l}%`:l,geometry:d,featureGeometry:p,parents:m,status:i,creator:u,editor:h,sortBy:e,sortOrder:t,access:s,channels:o,groups:n,createdBefore:R(b),createdAfter:R(f),updatedBefore:R(_),updatedAfter:R(w),num:A};return Object.entries(I).reduce((O,[S,T])=>T?Object.assign(Object.assign({},O),{[S]:T}):O,{})}searchPosts(e){let{_context:t,searchParams:s,arcgisHubDiscussionsPostListUpdated:i,items:o,loadedPostIds:n}=this;return Object.assign(this,{pending:!0,error:null}),e===1&&Object.assign(this,{items:[],total:0,nextStart:-1}),ze(Object.assign({data:Object.assign({start:e,relations:[C.REPLIES,C.REACTIONS,C.CHANNEL,C.CHANNEL_ACL]},s)},t.hubRequestOptions)).then(({items:a,nextStart:c,total:l})=>{let d,u;e===1?(d=a,u=[]):(u=n,d=[...o,...a]),Object.assign(this,{items:d,nextStart:c,total:l,loadedPostIds:u,mostRecentPagePostIds:a.map(({id:h})=>h)}),this.emitPostListOpenEvent(!0),i.emit()}).catch(a=>{this.error=a,this.emitPostListOpenEvent(!1)}).finally(()=>{this.pending=!1})}renderCount(){if(this.showCounts){let{items:e,total:t,intl:s}=this,i=e.length?1:0,o=e.length?e.length:0;return r("div",{class:"post-count"},s.t("searchCount",{start:i,end:o,total:t}))}}renderSortByDropdown(){if(this.showSortActions){let{intl:e,sortBy:t,sortByMenuConfigs:s,activeSortConfig:i,pending:o,handleSortBySelect:n,total:a}=this;return r("calcite-dropdown",{disabled:o||!a,onCalciteDropdownSelect:n},r("calcite-button",{appearance:"transparent",iconEnd:"caret-down",slot:"trigger"},e.t(i.label)),r("calcite-dropdown-group",null,s.map(({label:c,value:l})=>r("calcite-dropdown-item",{"data-value":l,key:l,selected:l===t},e.t(c)))))}}handleSortOrderSelected(){this.sortOrder=this.sortOrder===Y.DESC?Y.ASC:Y.DESC}handleSearchInputChanged(e){this.bodyText=e.target.value}handleSortOrderChanged(){this.searchPosts(1)}handleBodyChanged(){this.searchPosts(1),this.hubTelemetry.emit(g.dictionary.category.interaction.action.search.label.searchPosts.details.mapView)}renderSortDirectionAction(){if(this.showSortActions){let{sortOrder:e,intl:t,handleSortOrderSelected:s,pending:i,total:o}=this,n,a;return e===Y.DESC?(n="sort-descending-arrow",a="orderDesc"):(a="orderAsc",n="sort-ascending-arrow"),r("calcite-action",{class:"sort-direction-action",disabled:i||!o,icon:n,iconFlipRtl:this.isRtl,onClick:s,scale:"s",text:t.t(a)})}}renderSearch(){if(this.showSearchActions){let{intl:e,pending:t,handleSearchInputChanged:s,isRtl:i,total:o,bodyText:n}=this;return r("calcite-input",{disabled:t||!n&&!o,icon:!0,iconFlipRtl:i,onCalciteInputChange:s,placeholder:e.t("searchIdeas"),type:"search",value:n})}}renderList(){let{items:e,layout:t,parentIds:s,pending:i,isMobile:o}=this;return r("arcgis-layout-list",{class:{"replies-only":!!s?.length},disabled:i,layout:t,ref:n=>{this.layoutListRef=n},showMapControl:!o},this.renderCountAndActions(),e.map(this._renderPost))}_renderPost(e,t,s){let{hasMap:i,isHub:o,unsavedFeatures:n,unsavedRelatedFeatures:a,unsavedExistingFeatures:c,displayFieldKey:l,displayFieldValid:d,displayFieldValue:u,showChannelAvatar:h,showChannelName:p,entity:m,entityId:b,entityType:f,discussionSettings:_,isMobile:w,locationDescriptionText:A,locationId:R,mostRecentPagePostIds:I,loadedPostIds:O,parentIds:S,showLocations:T,disableSelectExistingLocation:U}=this,P=I.includes(e.id)?I.some(B=>!O.includes(B)):!O.includes(e.id);return this.renderPost?this.renderPost(e,t,s,P):r("arcgis-hub-discussions-post",{channel:e.channel,channelId:e.channel.id,disableSelectExistingLocation:U,discussionSettings:_,displayFieldKey:l,displayFieldValid:d,displayFieldValue:u,entity:m,entityId:b,entityType:f,hasMap:i,index:t,isHub:o,isMobile:w,key:e.id,lastIndex:s.length-1,lead:!!S?.length,loading:P,locationDescriptionText:A,locationId:R,parentId:e.parentId,post:e,postId:e.id,preview:!e.parentId,role:"listitem",showChannelAvatar:h,showChannelName:p,showLocations:T,unsavedExistingFeatures:c,unsavedFeatures:n,unsavedRelatedFeatures:a})}renderCountAndActions(){let{showLayoutActions:e,showCounts:t,showSortActions:s}=this;if(e||t||s)return r("div",{class:"post-results-info-and-controls",slot:"actions"},this.renderCount(),this.renderSortByDropdown(),this.renderSortDirectionAction())}renderListAndActions(){let{nextStart:e,pending:t}=this;return r(E,null,r("slot",{name:"list-before"}),this.renderSearch(),this.renderList(),this.renderEmpty(),this.renderError(),r("arcgis-load-more-button",{appearance:"outline-fill",loading:t,nextStart:e}))}renderLoading(){return null}renderEmpty(){return r("slot",{name:"empty"})}renderError(){return r("slot",{name:"error"})}render(){let{view:e,error:t,items:s}=this;return r(q,{key:"17455335beb6873ff1ef60afc8aa74d996e3e3f6",class:{"has-error":!!t,rtl:!0},"data-count":s?.length||0,"data-element":"discussions-post-list"},e.render())}static get assetsDirs(){return["locales"]}get element(){return F(this)}static get watchers(){return{_context:["handleContextChanged"],ready:["handleReadyChanged"],loadedPostIds:["handleLoadedPostIdsChanged"],sortBy:["handleSortByChanged"],sortOrder:["handleSortOrderChanged"],bodyText:["handleBodyChanged"]}}};Kt([de({delay:300})],Ot.prototype,"fetchDependencies",null);Ot.style=zt;var xt=[y.THUMBS_UP,y.THINKING,y.GRINNING,y.PARTY_POPPER],vt=[...xt,y.SLIGHTLY_SMILING,y.CONFUSED,y.LAUGH,y.FACE_WITH_TEARS_OF_JOY,y.WINKING,y.PARTYING,y.SAD,y.SURPRISED,y.THUMBS_DOWN,y.CLAPPING_HANDS,y.RAISING_HANDS,y.WAVING_HAND,y.HEART,y.ONE_HUNDRED,y.FIRE,y.ROCKET,y.UP_ARROW,y.DOWN_ARROW,y.EYES,y.TROPHY,y.WORLD_MAP],V={[y.SLIGHTLY_SMILING]:{emoji:"\u{1F642}",telemetryKey:"smilingFace"},[y.CONFUSED]:{emoji:"\u{1F615}",telemetryKey:"confusedFace"},[y.LAUGH]:{emoji:"\u{1F600}",telemetryKey:"laughingFace"},[y.GRINNING]:{emoji:"\u{1F606}",telemetryKey:"grinningFace"},[y.FACE_WITH_TEARS_OF_JOY]:{emoji:"\u{1F602}",telemetryKey:"faceWithTearsOfJoy"},[y.THINKING]:{emoji:"\u{1F914}",telemetryKey:"thinkingFace"},[y.WINKING]:{emoji:"\u{1F609}",telemetryKey:"winkingFace"},[y.PARTYING]:{emoji:"\u{1F973}",telemetryKey:"partyingFace"},[y.SAD]:{emoji:"\u{1F625}",telemetryKey:"sadFace"},[y.SURPRISED]:{emoji:"\u{1F632}",telemetryKey:"shockedFace"},[y.THUMBS_UP]:{emoji:"\u{1F44D}",telemetryKey:"thumbsUp"},[y.THUMBS_DOWN]:{emoji:"\u{1F44E}",telemetryKey:"thumbsDown"},[y.CLAPPING_HANDS]:{emoji:"\u{1F44F}",telemetryKey:"clappingHands"},[y.RAISING_HANDS]:{emoji:"\u{1F64C}",telemetryKey:"raisingHands"},[y.WAVING_HAND]:{emoji:"\u{1F44B}",telemetryKey:"wavingHand"},[y.HEART]:{emoji:"\u2764\uFE0F",telemetryKey:"redHeart"},[y.ONE_HUNDRED]:{emoji:"\u{1F4AF}",telemetryKey:"hundredPoints"},[y.FIRE]:{emoji:"\u{1F525}",telemetryKey:"fire"},[y.PARTY_POPPER]:{emoji:"\u{1F389}",telemetryKey:"partyPopper"},[y.ROCKET]:{emoji:"\u{1F680}",telemetryKey:"rocket"},[y.UP_ARROW]:{emoji:"\u2B06",telemetryKey:"upArrow"},[y.DOWN_ARROW]:{emoji:"\u2B07",telemetryKey:"downArrow"},[y.EYES]:{emoji:"\u{1F440}",telemetryKey:"eyes"},[y.TROPHY]:{emoji:"\u{1F3C6}",telemetryKey:"trophy"},[y.WORLD_MAP]:{emoji:"\u{1F5FA}",telemetryKey:"worldMap"}},qt=`:host{display:inline-block}:host>div>calcite-button{margin-right:0.125rem;border-width:2px;border-style:solid;border-color:transparent;padding:0.125rem}:host>div>calcite-button:last-of-type{margin-right:0px}.submitted_reactions_list calcite-button{border-width:2px;border-style:solid;border-color:transparent;padding:0.125rem}.submitted_reactions_list calcite-button span{margin-left:0.25rem}calcite-button[aria-checked="true"],calcite-button[data-reaction="add"][aria-expanded="true"]{border-color:var(--calcite-color-brand)}:host(.rtl) calcite-button[data-reaction="add"]{transform:scaleX(-1)}calcite-button[aria-checked="true"] span{font-weight:var(--calcite-font-weight-bold)}:host>div{display:flex}.submitted_reactions_list{margin:0px;display:inline-flex;list-style-type:none;padding:0px}.submitted_reactions_list li{margin-right:0.125rem}.user_reactions_popover{width:20rem}.user_reactions_list{margin:0px;display:grid;max-height:407px;list-style-type:none;grid-auto-flow:row;row-gap:0.75rem;overflow:auto;padding:0.75rem}.user_reaction_item{display:grid;grid-template-rows:repeat(2, minmax(0, 1fr));column-gap:0.75rem;row-gap:0.125rem;background-color:var(--calcite-color-foreground-1);grid-template-columns:2.75rem auto}.user_reaction_item:has(div:nth-of-type(3)){grid-template-columns:2.75rem auto minmax(0, 16px)}.user_reaction_item calcite-avatar{grid-row:span 2 / span 2;height:2.75rem;width:2.75rem}.user_reaction_item div:nth-of-type(1){display:flex;flex-grow:1;align-items:center;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-bold);text-transform:capitalize;color:var(--calcite-color-text-1)}.user_reaction_item div:nth-of-type(2){display:flex;align-items:center;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}.user_reaction_item:has(div:nth-of-type(3)) div:nth-of-type(2){grid-row:span 2 / span 2;justify-content:flex-end}.user_reaction_item div:nth-of-type(2):before{content:'@'}.user_reaction_item:has(div:nth-of-type(3)) div:nth-of-type(2):before{content:''}.user_reaction_item div:nth-of-type(3){display:flex;align-items:center;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}.user_reaction_item div:nth-of-type(3):before{content:'@'}arcgis-skeleton-loader{display:grid;grid-template-rows:repeat(2, minmax(0, 1fr));column-gap:0.75rem;row-gap:0.125rem;grid-template-columns:2.75rem auto}arcgis-skeleton-loader:has(div:nth-of-type(4)){grid-template-columns:2.75rem auto minmax(0, 16px)}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}arcgis-skeleton-loader>div:nth-of-type(1){animation:shimmer 2s cubic-bezier(0.4, 0, 0.2, 0.8) infinite;background-image:linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);background-color:var(--calcite-color-foreground-3);grid-row:span 2 / span 2;height:2.75rem;width:2.75rem;border-radius:50%}arcgis-skeleton-loader>div:nth-of-type(2){display:flex;align-items:center}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}arcgis-skeleton-loader>div:nth-of-type(2) div{animation:shimmer 2s cubic-bezier(0.4, 0, 0.2, 0.8) infinite;background-image:linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);background-color:var(--calcite-color-foreground-3);display:flex;flex-grow:1;border-radius:0.375rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}arcgis-skeleton-loader>div:nth-of-type(3){display:flex;align-items:center}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}arcgis-skeleton-loader>div:nth-of-type(3) div{animation:shimmer 2s cubic-bezier(0.4, 0, 0.2, 0.8) infinite;background-image:linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);background-color:var(--calcite-color-foreground-3);display:flex;flex-grow:1;border-radius:0.375rem;font-size:var(--calcite-font-size--1);line-height:1rem}arcgis-skeleton-loader:has(div:nth-of-type(4))>div:nth-of-type(3){grid-row:span 2 / span 2;display:flex;align-items:center}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}arcgis-skeleton-loader::has(div:nth-of-type(4))>div:nth-of-type(3) div{animation:shimmer 2s cubic-bezier(0.4, 0, 0.2, 0.8) infinite;background-image:linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);background-color:var(--calcite-color-foreground-3);display:flex;height:1rem;flex-grow:1;border-radius:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}arcgis-skeleton-loader>div:nth-of-type(4) div{animation:shimmer 2s cubic-bezier(0.4, 0, 0.2, 0.8) infinite;background-image:linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);background-color:var(--calcite-color-foreground-3);display:flex;flex-grow:1;border-radius:0.375rem;font-size:var(--calcite-font-size--1);line-height:1rem}.default_reactions{display:flex;flex-direction:row;padding:0.75rem}.default_reactions ul{margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0.5rem;display:inline-flex;list-style-type:none;padding:0px}.default_reactions li{margin-right:0.5rem}.default_reactions li:last-of-type{margin-right:0px}.all_reactions_list{margin:0px;display:grid;list-style-type:none;grid-template-columns:repeat(5, minmax(0, 1fr));gap:0.5rem;padding:0.75rem}`,Wt=qt,$t=function(e,t,s,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,s):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(n=(o<3?a(n):o>3?a(t,s,n):a(t,s))||n);return o>3&&n&&Object.defineProperty(t,s,n),n},_t=(e,t)=>{let s=new Date(e.createdAt),i=new Date(t.createdAt);return s>i?-1:s<i?1:0},Ct=e=>(t,s)=>e[t.value].length>e[s.value].length?1:e[t.value].length<e[s.value].length?-1:0,It=class{async handlePostIdChanged(e,t){await this.fetchPostDetails(e,t)}handleContextChanged(e,t){var s,i;((s=e.currentUser)===null||s===void 0?void 0:s.username)!==((i=t.currentUser)===null||i===void 0?void 0:i.username)&&(this.users={})}handlePopoverOpen(e){e.target!==this.element&&(this.activePopover=null)}constructor(e){N(this,e),this.hubTelemetry=v(this,"hubTelemetry",7),this.arcgisHubDiscussionsPostReactionChange=v(this,"arcgisHubDiscussionsPostReactionChange",7),this.reactionListButtons={},this.postId=void 0,this.post=void 0,this.channel=void 0,this._context=Q(),this.showAllReactions=!1,this.activePopover=null,this.pending=!1,this.users={},$(this,"handleAddReactionClick","handleViewAllReactionsClick","handleAddReactionPopoverClose","handleReactionFocus","handleReactionMouseEnter","handleReactionPopoverClose","handleReactionClicked","handleReactionPopoverOpen","handleReactionRef","deleteUserReaction","handleReactionPopoverBeforeOpen")}async componentWillLoad(){let[e]=await Promise.all([j.loadIntlForComponent(this.element),this.handlePostIdChanged(this.postId)]);this.intl=e}connectedCallback(){oe(this)}disconnectedCallback(){this.disconnectContext()}get isDisabled(){let{_context:e,channel:t,pending:s}=this;return[!e.currentUser,!t.allowReaction,s].some(i=>!!i)}get overflowReactionRecords(){let{listReactions:e,reactionRecordGroups:t}=this,s=(i,[o,n])=>e.find(a=>a.value===o)?i:[...i,...n];return Object.entries(t).reduce(s,[]).sort(_t)}get currentUserReactions(){let{_context:e,reactionRecordGroups:t}=this;return Object.values(t).reduce((s,i)=>[...s,...i.filter(o=>{var n;return o.creator===((n=e.currentUser)===null||n===void 0?void 0:n.username)})],[]).sort(Ct(t))}get otherUserReactions(){let{reactionRecordGroups:e,currentUserReactions:t}=this;return Object.values(e).reduce((i,o)=>[...i,...o],[]).reduce((i,o)=>t.find(a=>a.value===o.value)||i.find(a=>a.value===o.value)?i:[...i,o],[]).sort(Ct(e))}get listReactions(){let{currentUserReactions:e,otherUserReactions:t,reactionRecordGroups:s}=this,i=[...t,...e],o=Object.keys(s).length>4?3:4,n,a;return i.length>o?(n=i.length-o,a=i.length):(n=0,a=i.length),i.slice(n,a)}get reactionRecordGroups(){let{post:{reactions:e}}=this,t=(s,i)=>vt.includes(i.value)?Object.assign(Object.assign({},s),{[i.value]:[...s[i.value]||[],i]}):s;return[...e].sort(_t).reduce(t,{})}async fetchPostDetails(e,t){let{_context:s}=this;if(e&&e!==t){let i=await z(Object.assign({postId:e,data:{relations:[C.CHANNEL,C.CHANNEL_ACL,C.REACTIONS,C.REPLIES]}},s.hubRequestOptions));i.replyCount=i.replies.total,delete i.replies,this.channel=i.channel,this.post=i}}handleAddReactionClick(e){let{dataset:{reaction:t}}=e.target,{post:s,channel:i}=this;this.activePopover=t,this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.popover.details.addReaction),{postId:s.id,parentId:s.parentId,channelId:i.id,channelAccess:x(i)}))}handleViewAllReactionsClick(){this.showAllReactions=!0}handleAddReactionPopoverClose(){this.showAllReactions=!1,this.activePopover=null}handleReactionFocus(e){let{dataset:{reaction:t}}=e.target;this.activePopover=t}handleReactionMouseEnter(e){let t=e.target,{nodeName:s,dataset:{reaction:i}}=t;s==="CALCITE-BUTTON"&&this.activePopover!=="add"&&(this.activePopover=i)}handleReactionPopoverClose(e){let{dataset:{reaction:t}}=e.target;this.activePopover===t&&(this.activePopover=null)}async handleReactionPopoverBeforeOpen(e){let{reaction:t}=e.target.dataset,s=await this.fetchUserRecords(t);this.users=Object.assign(Object.assign({},this.users),s)}async handleReactionClicked(e){let{currentUserReactions:t,arcgisHubDiscussionsPostReactionChange:s,activePopover:i}=this,{dataset:{reaction:o}}=e.currentTarget,n=t.find(({value:a})=>a===o);this.pending=!0;try{if(await Promise.all(t.map(this.deleteUserReaction)),n||await this.createReaction(o),i==="add"&&(this.activePopover=null),this.activePopover){let a=await this.fetchUserRecords(o);this.users=Object.assign(Object.assign({},this.users),a)}}catch{}finally{s.emit(),this.pending=!1}}handleReactionPopoverOpen(e){let{channel:t,post:s}=this,{dataset:{reaction:i}}=e.target,o=i==="overflow"?g.dictionary.category.interaction.action.open.label.popover.details.reactionOverflow:g.dictionary.category.interaction.action.open.label.popover.details[V[i].telemetryKey];this.hubTelemetry.emit(Object.assign(Object.assign({},o),{postId:s.id,parentId:s.parentId,channelId:t.id,channelAccess:x(t)}))}async handleReactionRef(e){var t;+((t=e?.dataset)===null||t===void 0?void 0:t.index)==0&&await e.setFocus()}async fetchUserRecords(e){let{reactionRecordGroups:t,overflowReactionRecords:s,users:i}=this,n=(e==="overflow"?s:t[e]).reduce((a,c)=>i[c.creator]?a:[...a,c.creator],[]);if(n.length){let a=n.reduce((l,d)=>[...l,this.fetchUserRecord(d)],[]);return(await Promise.all(a)).reduce((l,d,u)=>Object.assign(Object.assign({},l),{[n[u]]:d}),{})}}async fetchUserRecord(e){return Le(e,this._context.hubRequestOptions).catch(t=>null)}async createReaction(e){let{_context:t,post:s,channel:i}=this;try{let o=await Je(Object.assign({data:{postId:s.id,value:e}},t.hubRequestOptions));this.post=Object.assign(Object.assign({},this.post),{reactions:[...this.post.reactions,o]}),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.reaction.details[V[e].telemetryKey]),{postId:s.id,parentId:s.id,channelId:i.id,channelAccess:x(i),response:g.constants.response.SUCCESS}))}catch(o){throw this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.reaction.details[V[e].telemetryKey]),{postId:s.id,parentId:s.id,channelId:i.id,channelAccess:x(i),response:g.constants.response.FAILURE})),console.error("Failed to create reaction:",e,o.message),o}}async deleteUserReaction(e){let{_context:t,post:s,channel:i,currentUserReactions:o}=this;try{await Xe(Object.assign({reactionId:e.id},t.hubRequestOptions)),this.post=Object.assign(Object.assign({},s),{reactions:s.reactions.filter(({id:n})=>!o.find(a=>a.id===n))}),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.delete.label.reaction.details[V[e.value].telemetryKey]),{postId:s.id,parentId:s.id,channelId:i.id,channelAccess:x(i),response:g.constants.response.SUCCESS}))}catch(n){throw console.error("Failed to delete reaction:",e.value,e.id,n.message),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.delete.label.reaction.details[V[e.value].telemetryKey]),{postId:s.id,parentId:s.id,channelId:i.id,channelAccess:x(i),response:g.constants.response.FAILURE})),n}}renderList(){let{listReactions:e,reactionRecordGroups:t,intl:s,_context:i,activePopover:o,isDisabled:n,handleReactionPopoverClose:a,handleReactionPopoverOpen:c}=this;return r("ul",{class:"submitted_reactions_list"},e.reduce((l,d)=>{var u;let h=d.creator===((u=i.currentUser)===null||u===void 0?void 0:u.username),p=t[d.value].length>99?s.t("reaction_count_99_plus"):t[d.value].length;return[...l,r("li",{key:d.value},r("calcite-button",{appearance:"outline","aria-checked":h?"true":"false","data-reaction":d.value,disabled:n,kind:h?"brand":"neutral",label:s.t(h?"reaction_list_label_remove":"reaction_list_label_add",{reaction:s.t(d.value),count:p}),onClick:this.handleReactionClicked,onFocus:this.handleReactionFocus,onMouseEnter:this.handleReactionMouseEnter,ref:m=>{this.reactionListButtons=Object.assign(Object.assign({},this.reactionListButtons),{[d.value]:m})},role:"radio",round:!0,scale:"m"},V[d.value].emoji,r("span",null,p)),r("calcite-popover",{"auto-close":!0,class:"user_reactions_popover","data-reaction":d.value,"focus-trap-disabled":!0,heading:s.t(d.value),label:s.t(d.value),onCalcitePopoverBeforeOpen:this.handleReactionPopoverBeforeOpen,onCalcitePopoverClose:a,onCalcitePopoverOpen:c,open:o===d.value,overlayPositioning:"fixed",placement:"bottom",referenceElement:this.reactionListButtons[d.value],"trigger-disabled":!0},this.renderUserReactions(t[d.value],!1)))]},[]))}renderUserSkeleton(e){return r("arcgis-skeleton-loader",{active:!0,role:"listitem",rows:0,showFooter:!1,showHeading:!1,showThumbnail:!1},r("div",null),r("div",null,r("div",null,"\xA0")),e&&r("div",null,r("div",null,"\xA0")),r("div",null,r("div",null,"\xA0")))}renderUserReaction(e,t){var s;let{users:i,_context:o,intl:n}=this,a=i[e.creator],c=a?.fullName||n.t("privateUser");return r("li",{"aria-label":n.t("reaction_user_label",{userFullName:c,reaction:n.t(e.value)}),class:"user_reaction_item"},r("calcite-avatar",{"full-name":a?.fullName,scale:"l",thumbnail:a?.thumbnail&&ye(o.hubRequestOptions.portal,{username:a.username,access:a.access,thumbnail:a.thumbnail},(s=o.hubRequestOptions.authentication)===null||s===void 0?void 0:s.token),"user-id":a?.id,username:a?.username}),r("div",null,c),t&&r("div",null,V[e.value].emoji),r("div",null,a?.username||n.t("noUser")))}renderUserReactions(e,t){let{users:s}=this;return r("ul",{class:"user_reactions_list"},e.map(i=>s[i.creator]===void 0?this.renderUserSkeleton(t):this.renderUserReaction(i,t)))}renderOverflow(){let{intl:e,overflowReactionRecords:t,handleReactionPopoverClose:s,handleReactionPopoverOpen:i,activePopover:o,isDisabled:n,overflowButton:a}=this,c=t.length>99?e.t("reaction_count_99_plus"):e.formatNumber(t.length,{signDisplay:"always"});return!!t.length&&r(E,null,r("calcite-button",{appearance:"outline","data-reaction":"overflow",disabled:n,kind:"neutral",label:e.t(t.length>1?"n_more_reactions":"one_more_reaction",{count:c}),onFocus:this.handleReactionFocus,onMouseOver:this.handleReactionMouseEnter,ref:l=>{this.overflowButton=l},round:!0,scale:"m"},c),r("calcite-popover",{"auto-close":!0,class:"user_reactions_popover","data-reaction":"overflow","focus-trap-disabled":!0,heading:e.t("moreReactions"),label:e.t("moreReactions"),onCalcitePopoverBeforeOpen:this.handleReactionPopoverBeforeOpen,onCalcitePopoverClose:s,onCalcitePopoverOpen:i,open:o==="overflow",overlayPositioning:"fixed",placement:"bottom",referenceElement:a,"trigger-disabled":!0},this.renderUserReactions(t,!0)))}renderDefaultReactions(){let{currentUserReactions:e,intl:t,isDisabled:s}=this;return r("div",{class:"default_reactions"},r("ul",null,xt.map(i=>{let o=e.find(n=>n.value===i);return r("li",{key:i},r("calcite-button",{appearance:o?"outline":"transparent","aria-checked":o?"true":"false","data-reaction":i,disabled:s,kind:o?"brand":"neutral",label:t.t(o?"reaction_picker_label_remove":"reaction_picker_label_add",{reaction:t.t(i)}),onClick:this.handleReactionClicked,role:"radio",round:!0,scale:"m"},V[i].emoji))})),r("calcite-button",{appearance:"transparent",disabled:s,"icon-start":"plus",kind:"neutral",label:t.t("viewAllReactions"),onClick:this.handleViewAllReactionsClick,round:!0,scale:"m"}))}renderAllReactions(){let{intl:e,currentUserReactions:t,isDisabled:s,handleReactionClicked:i,handleReactionRef:o}=this;return r("ul",{class:"all_reactions_list"},vt.map((n,a)=>{let c=t.find(l=>l.value===n);return r("li",{key:n},r("calcite-button",{appearance:c?"outline":"transparent","aria-checked":c?"true":"false","data-index":a,"data-reaction":n,disabled:s,kind:c?"brand":"neutral",label:e.t(c?"reaction_picker_label_remove":"reaction_picker_label_add",{reaction:e.t(n)}),onClick:i,ref:o,round:!0,scale:"m"},V[n].emoji))}))}renderAddReaction(){let{intl:e,handleAddReactionClick:t,handleAddReactionPopoverClose:s,isDisabled:i,activePopover:o,showAllReactions:n,addReactionButton:a}=this;return r(E,null,r("calcite-button",{appearance:"outline","data-reaction":"add",disabled:i,"icon-start":"add-reaction",kind:o==="add"?"brand":"neutral",label:e.t("addReaction"),onClick:t,ref:c=>{this.addReactionButton=c},round:!0,scale:"m"}),r("calcite-popover",{"auto-close":!0,"data-reaction":"add",label:e.t("addReaction"),onCalcitePopoverClose:s,open:o==="add",overlayPositioning:"fixed",placement:"bottom",referenceElement:a,scale:"m"},n?this.renderAllReactions():this.renderDefaultReactions()))}render(){return r(q,{key:"58975710e158d313a786a10d39a851840bcd9280",class:{rtl:this.intl.direction==="rtl"},"data-element":"arcgis-hub-discussions-post-reactions"},r("div",{key:"2c3c49b99d1637f79df895adc27464d15a900169"},this.renderList(),this.renderOverflow(),this.renderAddReaction()))}static get assetsDirs(){return["locales"]}get element(){return F(this)}static get watchers(){return{postId:["handlePostIdChanged"],_context:["handleContextChanged"]}}};$t([de({delay:300})],It.prototype,"fetchUserRecord",null);It.style=Wt;async function Yt(e,t,s){let i={type:"object",properties:{cadence:{type:"string",enum:[...ke],default:"WEEKLY"}}};return await Promise.all(e.map(async o=>{let n=await Jt[o](t,s);i.properties=Object.assign(Object.assign({},i.properties),n)})),i}function Qt(e,t,s){let i={type:"Section",elements:[{scope:"/properties/cadence",type:"Control",labelKey:"cadence.label",options:{control:"hub-field-input-combobox",items:ke.map(a=>({value:a,labelKey:`cadence.${a.toLowerCase()}`})),selectionMode:"single",allowCustomValues:!1,disabled:!0}}]},o=e.map(a=>{var c;switch(a){case ie.DISCUSSION:{let l=(c=t?.properties)===null||c===void 0?void 0:c.channelActivitySelections,u=Object.keys(l?.properties||{}).map(h=>{var p,m;let b=((p=l?.properties)===null||p===void 0?void 0:p[h])||{},f=b.title?b.title:s.t("discussions.unnamedChannel"),_=s.t("discussions.channelLabel",{channelName:f}),w=((m=b.items)===null||m===void 0?void 0:m.enum)||[],A=w.map(I=>s.t(`discussions.${I}`)),R=w.length>1?"discussions.modRole":"discussions.participantRole";return{scope:`/properties/channelActivitySelections/properties/${h}`,type:"Control",label:_,options:{helperText:{labelKey:R},control:"hub-field-input-checkbox-group",labels:A,allowCustomValues:!1,layout:"vertical"}}});return{type:"Section",labelKey:"discussions.activity.label",options:{helperText:{labelKey:"discussions.activity.helperText"}},elements:u}}default:return null}}),n={type:"Layout",elements:[i]};return o.length&&n.elements.push({type:"Section",elements:o}),n}var Jt={[ie.DISCUSSION]:Xt};async function Xt(e,t){var s;let i="discussionSettings"in e?((s=e.discussionSettings)===null||s===void 0?void 0:s.allowedChannelIds)||[]:[];if(!i.length)return{};let[{results:o},{results:n}]=await Promise.all([De({allowedChannelIds:i,requestOptions:t.hubRequestOptions,num:100}),ht({allowedChannelIds:i,requestOptions:t.hubRequestOptions,num:100})]),a=new Set(n.map(l=>l.id));return{channelActivitySelections:{type:"object",properties:o.reduce((l,d)=>(l[d.id]={type:"array",title:d.name||"",items:{type:"string",enum:a.has(d.id)?["newPosts","pendingPosts"]:["newPosts"]},default:[]},l),{})}}}async function Zt(e,t){var s;let i="discussionSettings"in e?((s=e.discussionSettings)===null||s===void 0?void 0:s.allowedChannelIds)||[]:[];if(!i.length)return!1;let{total:o}=await De({allowedChannelIds:i,requestOptions:t.hubRequestOptions,num:1});return o>0}var es=".sc-arcgis-hub-subscription-h{display:block}.subscription__header.sc-arcgis-hub-subscription,.subscription__header-actions.sc-arcgis-hub-subscription{margin-bottom:1rem}.subscription__header-entity.sc-arcgis-hub-subscription{font-weight:var(--calcite-font-weight-bold)}",ts=es,ss=class{constructor(e){N(this,e),this.arcgisAppIdentityStartSignIn=v(this,"arcgisAppIdentityStartSignIn",7),this.hubTelemetry=v(this,"hubTelemetry",7),this.cadence=et.WEEKLY,this.translationFunc=(t,s,i)=>this.intl.t(t,s,i),this.handleSubscribeClick=async t=>{var s,i,o,n;t.preventDefault(),this._context.currentUser?(this._draftValues=G(this._values),this.isModalOpen=!0,await this.buildSchemas(),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.modal.details.subscribe),{id:(s=this.entity)===null||s===void 0?void 0:s.id,access:(i=this.entity)===null||i===void 0?void 0:i.access,type:(o=this.entity)===null||o===void 0?void 0:o.type,contentOrgId:(n=this.entity)===null||n===void 0?void 0:n.orgId}))):this.promptToSignIn&&this.arcgisAppIdentityStartSignIn.emit()},this.handleModalClose=()=>{this.isModalOpen=!1,this._draftValues=void 0},this.handleSubscriptionChange=t=>{t.stopPropagation(),this.cadence=t.detail.values.cadence;let s=t.detail.values.channelActivitySelections;s&&(this.catalog=pt(this.entityId,s,this.intl),this._draftValues=Object.assign(Object.assign({},this._draftValues),{channelActivitySelections:s,cadence:t.detail.values.cadence}))},this.handleSubscriptionSave=async t=>{var s,i,o,n,a,c,l,d,u,h,p,m,b,f,_,w,A,R,I;t.stopPropagation(),this.isModalOpen=!1;try{if(!((i=(s=this.subscriptions)===null||s===void 0?void 0:s[0])===null||i===void 0)&&i.id){let O={cadence:this.cadence,catalog:this.catalog,deliveryMethod:we.EMAIL,entityId:((o=this.entity)===null||o===void 0?void 0:o.id)||this.entityId,entityType:(((n=this.entity)===null||n===void 0?void 0:n.type)||this.entityType).toUpperCase(),notificationSpecName:Oe.DISCUSSION_ON_ENTITY};await st(Object.assign({subscriptionId:this.subscriptions[0].id,data:O},this._context.hubRequestOptions)),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.subscription),{details:"post",response:"success",id:(a=this.entity)===null||a===void 0?void 0:a.id,access:(c=this.entity)===null||c===void 0?void 0:c.access,type:(l=this.entity)===null||l===void 0?void 0:l.type,contentOrgId:(d=this.entity)===null||d===void 0?void 0:d.orgId}))}else{let O={cadence:this.cadence,catalog:this.catalog,deliveryMethod:we.EMAIL,entityId:((u=this.entity)===null||u===void 0?void 0:u.id)||this.entityId,entityType:(((h=this.entity)===null||h===void 0?void 0:h.type)||this.entityType).toUpperCase(),metadata:{},notificationSpecName:Oe.DISCUSSION_ON_ENTITY};await tt(Object.assign({data:O},this._context.hubRequestOptions)),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.subscription),{details:"post",response:"success",id:(p=this.entity)===null||p===void 0?void 0:p.id,access:(m=this.entity)===null||m===void 0?void 0:m.access,type:(b=this.entity)===null||b===void 0?void 0:b.type,contentOrgId:(f=this.entity)===null||f===void 0?void 0:f.orgId}))}Ne({title:this.intl.t("notice.succeed"),configuration:{noticeType:"alert",autoClose:!0,autoCloseDuration:"fast",icon:!0,kind:"success",label:this.intl.t("notice.succeed")}}),!((_=t?.detail)===null||_===void 0)&&_.values&&(this._values=t.detail.values,this._draftValues=void 0),await this.refreshSubscriptions()}catch(O){Ne({title:this.intl.t("notice.fail"),configuration:{noticeType:"alert",autoClose:!0,autoCloseDuration:"fast",icon:!0,kind:"danger",label:this.intl.t("notice.fail")}}),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.subscription),{response:"failure",id:(w=this.entity)===null||w===void 0?void 0:w.id,access:(A=this.entity)===null||A===void 0?void 0:A.access,type:(R=this.entity)===null||R===void 0?void 0:R.type,contentOrgId:(I=this.entity)===null||I===void 0?void 0:I.orgId})),console.error("Failed to save subscription",O)}},this.renderModal=()=>this.isModalOpen&&r("arcgis-wormhole",null,r("arcgis-configuration-form",{"data-subscription-editor":"true",isLoading:this.isLoading,isOpen:!0,layout:"modal",modalTitle:this.intl.t("subscribe"),onArcgisConfigurationFormChanged:this.handleSubscriptionChange,onArcgisConfigurationFormModalClosed:this.handleModalClose,onArcgisConfigurationFormSaved:this.handleSubscriptionSave,schema:this._schema,t:this.translationFunc,uiSchema:this._uiSchema,values:this._draftValues},r("div",{slot:"form-start"},r("div",{class:"subscription__header"},this.intl.t("subscribeTo",{entity:this.entity.name})),r("div",{class:"subscription__header-actions"},this.renderSubscribeAllButton())))),this.handleSubscribeAllClick=()=>{var t,s,i,o;let n=this._draftValues;if(this.isDiscussionType){let c=(i=(s=(t=this._schema)===null||t===void 0?void 0:t.properties)===null||s===void 0?void 0:s.channelActivitySelections)===null||i===void 0?void 0:i.properties,l=this.anyChannelSelected(),d={};l?Object.keys(c).forEach(u=>d[u]=[]):Object.entries(c).forEach(([u,h])=>{var p;let m=(p=h.items)===null||p===void 0?void 0:p.enum;d[u]=[...m]}),n=Object.assign(Object.assign({},this._draftValues||{}),{cadence:((o=this._draftValues)===null||o===void 0?void 0:o.cadence)||this.cadence,channelActivitySelections:d})}this._draftValues=n;let a=document.querySelector('arcgis-configuration-form[data-subscription-editor="true"] arcgis-configuration-editor');a?.dispatchEvent(new CustomEvent("arcgisConfigurationEditorChange",{bubbles:!0,detail:{valid:!0,values:n}}))},this.types=[],this.entityId=void 0,this.entity=void 0,this.entityType=void 0,this.subscribeButtonProps=void 0,this.promptToSignIn=void 0,this._schema=void 0,this._uiSchema=void 0,this.isModalOpen=!1,this.isLoading=!0,this.hasSubscribableChannels=!1,this.subscriptions=[],this._values=void 0,this._draftValues=void 0}get _context(){return Q()}get isDiscussionType(){var e;return(e=this.types)===null||e===void 0?void 0:e.includes(ie.DISCUSSION)}async componentWillLoad(){await this.initialize(),this.fetchDependencies()}async fetchDependencies(){var e,t,s;try{!this.entity&&this.entityId&&this.entityType&&(this.entity=await Qe(this.entityType,this.entityId,this._context)),this.hasSubscribableChannels=await Zt(this.entity,this._context),this.subscriptions=await xe(Object.assign({data:{entityId:((e=this.entity)===null||e===void 0?void 0:e.id)||this.entityId,userId:(s=(t=this._context)===null||t===void 0?void 0:t.currentUser)===null||s===void 0?void 0:s.username}},this._context.hubRequestOptions)),this._values=this.buildInitialFormValues()}catch(i){console.error("Subscription initialization failed",i)}finally{this.isLoading=!1}}async initialize(){this.intl=await j.loadIntlForComponent(this.element)}async buildSchemas(){this._schema=await Yt(this.types,this.entity,this._context),this._uiSchema=at(this.intl,Qt(this.types,this._schema,this.intl))}buildInitialFormValues(){if(this.isDiscussionType)return this.buildInitialDiscussionFormValues()}buildInitialDiscussionFormValues(){var e,t;let s=((t=(e=this.subscriptions)===null||e===void 0?void 0:e[0])===null||t===void 0?void 0:t.cadence)||this.cadence,i={};return this.subscriptions.flatMap(n=>{var a;return(a=n.catalog)===null||a===void 0?void 0:a.collections}).flatMap(n=>{var a;return(a=n.scope)===null||a===void 0?void 0:a.filters}).flatMap(n=>n.predicates).forEach(n=>{var a,c;let l=((a=n.status)===null||a===void 0?void 0:a[0])==="approved"?"newPosts":"pendingPosts";(c=n.channel)===null||c===void 0||c.forEach(d=>{let u=i[d]||(i[d]=[]);u.includes(l)||u.push(l)})}),{cadence:s,channelActivitySelections:i}}async refreshSubscriptions(){var e,t,s;try{this.subscriptions=await xe(Object.assign({data:{entityId:((e=this.entity)===null||e===void 0?void 0:e.id)||this.entityId,userId:(s=(t=this._context)===null||t===void 0?void 0:t.currentUser)===null||s===void 0?void 0:s.username}},this._context.hubRequestOptions)),this._values=this.buildInitialFormValues(),this.isModalOpen&&(this._draftValues=G(this._values))}catch(i){console.error("Failed to refresh subscriptions after save",i)}}get isSubscribeDisabled(){var e;return!((e=this._context)===null||e===void 0)&&e.currentUser?this.isDiscussionType?!(Ve("hub:feature:discussions:subscription",this._context).access&&this.hasSubscribableChannels):!1:!this.promptToSignIn}get subscribeButtonTooltip(){let e="";return this.types.includes(ie.DISCUSSION)&&(e=this.intl.t("subscribeButtonTooltip.discussion")),this.isSubscribeDisabled?e:""}renderSubscribeAllButton(){let e=this.anyChannelSelected()?"unsubscribeFromAll":"subscribeToAll";return r("calcite-button",{appearance:"outline",kind:"brand",label:this.intl.t(e),onClick:this.handleSubscribeAllClick,round:!0,scale:"m",type:"button"},this.intl.t(e))}get subscribeButtonLabel(){let e=this.hasActiveSubscription?"manageSubscription":"subscribe";return this.intl.t(e)}get hasActiveSubscription(){var e,t,s;return Array.isArray((s=(t=(e=this.subscriptions)===null||e===void 0?void 0:e[0])===null||t===void 0?void 0:t.catalog)===null||s===void 0?void 0:s.collections)&&this.subscriptions[0].catalog.collections.length>0}renderSubscribeButton(){var e,t,s,i,o,n;return this.isLoading?r("arcgis-skeleton-loader",{active:!0,rows:1}):r("arcgis-ref-tooltip",{placement:"top",text:this.subscribeButtonTooltip},r("calcite-button",{appearance:((e=this.subscribeButtonProps)===null||e===void 0?void 0:e.appearance)||"outline",disabled:this.isSubscribeDisabled,"icon-start":((t=this.subscribeButtonProps)===null||t===void 0?void 0:t.iconStart)||"bell",kind:((s=this.subscribeButtonProps)===null||s===void 0?void 0:s.kind)||"brand",label:this.subscribeButtonLabel,onClick:this.handleSubscribeClick,round:((i=this.subscribeButtonProps)===null||i===void 0?void 0:i.round)!==!1,scale:((o=this.subscribeButtonProps)===null||o===void 0?void 0:o.scale)||"m",width:((n=this.subscribeButtonProps)===null||n===void 0?void 0:n.width)||"auto"},this.subscribeButtonLabel))}anyChannelSelected(){var e;let t=((e=this._draftValues)===null||e===void 0?void 0:e.channelActivitySelections)||{};return Object.values(t).some(s=>Array.isArray(s)&&s.length>0)}render(){return r("div",{key:"4e58f9882aac2c40af6dda52f7842b5f2eddf36b"},this.renderSubscribeButton(),this.renderModal())}static get assetsDirs(){return["locales"]}get element(){return F(this)}};ss.style=ts;var is=":host{display:block}ol{margin:0px;display:grid;padding:0px;gap:var(--arcgis-hub-layout-list-gap, 1rem)}.map{grid-template-columns:1fr}.list{grid-template-columns:1fr}.grid{grid-template-columns:repeat(auto-fill, minmax(var(--arcgis-hub-layout-list-min-column-width, 20rem), 1fr))}.actions{display:grid;align-items:center;gap:var(--arcgis-hub-layout-list-actions-gap, 0.25rem);grid-template-columns:1fr;grid-template-rows:1fr;margin-bottom:var(--arcgis-hub-layout-list-actions-margin, 1rem)}.actions:has(.layout-actions){grid-template-columns:auto max-content}.actions:not(.hasActions){display:none}:host(.rtl) .layout-actions calcite-action{transform:scaleX(-1)}",ns=is,os=function(e,t,s,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,s):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(n=(o<3?a(n):o>3?a(t,s,n):a(t,s))||n);return o>3&&n&&Object.defineProperty(t,s,n),n},Rt=class{constructor(e){N(this,e),this.arcgisLayoutListLayoutSelected=v(this,"arcgisLayoutListLayoutSelected",7),this.layout="list",this.disabled=!1,this.showMapControl=void 0,this.scale="s",this.listStyleDeclaration=void 0,this.hasSlottedActions=!1,$(this,"handleResized","handleLayoutSelected","handleSlotChanged")}connectedCallback(){Se.addHandler(this.element,this.handleResized)}async componentWillLoad(){await this.loadTranslations()}disconnectedCallback(){Se.unobserve(this.element)}async loadTranslations(){this.intl=await j.loadIntlForComponent(this.element)}handleResized(){this.listRef&&(this.listStyleDeclaration=globalThis.getComputedStyle(this.listRef))}get showActions(){return this.hasLayoutActions||this.hasSlottedActions}handleSlotChanged(){this.hasSlottedActions=!!this.element.querySelector('[slot="actions"]')}get hasLayoutActions(){let{listStyleDeclaration:e}=this,t=!1;if(e){let s=parseInt(e.getPropertyValue("gap"),10),i=e.getPropertyValue("grid-template-columns").split(" "),o=parseFloat(i[0]),n=e.getPropertyValue("--arcgis-hub-layout-list-min-column-width"),a=parseFloat(n)*(n.endsWith("rem")?16:1);t=i.length>1||a*2+s<o}return!!t}handleLayoutSelected(e){this.layout=e.target.icon,this.arcgisLayoutListLayoutSelected.emit(this.layout)}renderList(){return r("ol",{class:{[this.layout]:!0},ref:e=>{this.listRef=e}},r("slot",null))}renderLayoutActions(){let{hasLayoutActions:e,showMapControl:t}=this;if(e||t){let{layout:s,intl:i,disabled:o,handleLayoutSelected:n,scale:a}=this,c=[...t?["map"]:[],...e?["grid"]:[],"list"],l=d=>{let u=d===s;return!e&&s=="grid"&&d==="list"&&(u=!0),u};return r("div",{class:"layout-actions"},r("calcite-action-bar",{"expand-disabled":!0,layout:"horizontal"},c.map(d=>r("calcite-action",{active:l(d),disabled:o,icon:d,key:d,label:i.t(`${d}.label`),onClick:n,scale:a,text:i.t(`${d}.text`)}))))}}renderActions(){return r("div",{class:{actions:!0,hasActions:this.showActions}},r("div",null,r("slot",{name:"actions",onSlotchange:this.handleSlotChanged})),this.renderLayoutActions())}render(){return r(q,{key:"ade95b56903314f8878d97f2aba7ef6ddc48d6aa",class:{rtl:this.intl.direction==="rtl"}},this.renderActions(),this.renderList())}static get assetsDirs(){return["locales"]}get element(){return F(this)}};os([Me({timeout:250})],Rt.prototype,"handleResized",null);Rt.style=ns;var as=":host{display:block}",rs=as,cs=class{constructor(e){N(this,e),this.arcgisLoadMoreChange=v(this,"arcgisLoadMoreChange",7),this.nextStart=void 0,this.color="neutral",this.appearance="transparent",this.scale="l",this.width="full",this.round=!0,this.loading=!1,$(this,"handleLoadMore")}get hasMoreResults(){let{nextStart:e}=this;return e!==-1}get disabled(){let{loading:e,hasMoreResults:t}=this;return e||!t}async componentWillLoad(){this.intl=await j.loadIntlForComponent(this.el)}handleLoadMore(){let{nextStart:e}=this;this.arcgisLoadMoreChange.emit(e)}render(){let{loading:e,handleLoadMore:t,round:s,scale:i,width:o,intl:n,hasMoreResults:a,disabled:c,color:l,appearance:d}=this,u=n.t("loadMore");return r(q,{key:"09e58def9e5b3f0c226dda2e9ba47a08cdf829ce"},a&&r("calcite-button",{appearance:d,disabled:c||e,kind:yt(l),label:u,loading:e,onClick:t,round:s,scale:i,width:o},u))}static get assetsDirs(){return["locales"]}get el(){return F(this)}};cs.style=rs;return{arcgis_hub_discussions_post:W,arcgis_hub_discussions_post_chips:Mt,arcgis_hub_discussions_post_editor:te,arcgis_hub_discussions_post_list:Ot,arcgis_hub_discussions_post_reactions:It,arcgis_hub_subscription:ss,arcgis_layout_list:Rt,arcgis_load_more_button:cs}},"config",a,b)
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.27/esri/copyright.txt for details.
3
+ v0.27.0 */
4
+ import"./67IJJP2O.js";var a={chart:"Diagramm",barChart:"Lintdiagramm",lineChart:"Joondiagramm",pieChart:"Sektordiagramm",histogram:"Histogramm",scatterplot:"Punktdiagramm",boxPlot:"Karpdiagramm"},e={mean:"Keskmine",median:"Keskmine",sum:"Summa",discretePercentile:"Diskreetne protsentiil",minimum:"Miinimum",maximum:"Maksimum",variance:"Dispersioon",count:"Kogus",aggregation:"${ statistics } /${ fieldName }",noAggregation:"Agregeerimist pole"},i="Diagramm",t="Sarjade arv",s="X-telg",m="Pole k\xE4ttesaadav",r={start:"Haagi esimesse andmepunkti",end:"Haagi viimasesse andmepunkti"},n={chartType:a,statistics:e,defaultTitle:i,countSeries:t,xAxis:s,notAvailable:m,timeAggregationTypes:r};export{a as chartType,t as countSeries,n as default,i as defaultTitle,m as notAvailable,e as statistics,r as timeAggregationTypes,s as xAxis};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.27/esri/copyright.txt for details.
3
+ v0.27.0 */
4
+ var E;(function(r){r.READ="read",r.WRITE="write",r.READWRITE="readWrite",r.MODERATE="moderate",r.MANAGE="manage",r.OWNER="owner"})(E||(E={}));export{E as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.27/esri/copyright.txt for details.
3
+ v0.27.0 */
4
+ import{a as u,b as y}from"./2BWPEKLD.js";import{a as A}from"./35HJUOVA.js";import{b as I}from"./6IEZVPYM.js";import{c as p,e as C}from"./QAL4D5NB.js";import{a as O}from"./TKGKOLLU.js";import{a as k}from"./Q525Q3RE.js";import"./ID7XPQWQ.js";import"./T45PBDBS.js";import"./WS6ZNJDR.js";import"./7SVT6AWP.js";import"./PWAT7DUJ.js";import"./JBBSYK66.js";import"./W4IVSJCS.js";import"./57OT6USE.js";import"./VEYEUYM6.js";import{a as n}from"./FVN3S62X.js";import"./H2QKODFW.js";import"./TZF3V2BJ.js";import"./DXP4UE4M.js";import"./3A7F6TCW.js";import"./3CF75BBT.js";import"./DFY7VPXY.js";import"./WYPAWF3H.js";import"./CYGYROJE.js";import"./QZXUZWQQ.js";import"./2TC3FJA3.js";import"./2K7QXVYL.js";import"./MEKLC6U4.js";import"./X67U5GKG.js";import"./G7VYESRG.js";import"./BZCJZLP4.js";import"./JHQQ267E.js";import"./AZJOMCCF.js";import"./WB7ALUQY.js";import"./CAUS7PYS.js";import"./CU6S5D3S.js";import"./B6J4VHR2.js";import"./VDBCOZ7Y.js";import"./CTISPPMB.js";import"./Y2ZXUZOA.js";import"./ZVMFFKI6.js";import"./2CRXQRXN.js";import"./A4HADX5O.js";import"./7VV3OKRM.js";import"./A4AHKC7R.js";import"./ZTPZPPKC.js";import"./XS5SVQ2O.js";import"./3T4OOXGW.js";import"./E3BSFA24.js";import"./HKSU6U7J.js";import"./ST5EGEPE.js";import"./OZ5YNDTT.js";import"./3CMFRGNF.js";import"./Q2CYOP2J.js";import"./VPVBBB5K.js";import"./V225P56M.js";import"./K7OW7IEK.js";import"./IBIREWV2.js";import"./5IFKUQ7L.js";import"./RLHTM5UJ.js";import"./TT7GSHIX.js";import"./EUEONQSA.js";import"./574HV37I.js";import"./UTIIIKSF.js";import"./XWIEH6CQ.js";import"./RN5O3EXX.js";import"./UHW7JQIY.js";import"./HMCZUVLG.js";import"./JV4AEJYS.js";import"./KHXU3G2A.js";import"./AXSGVFIT.js";import"./AH4Y7QIU.js";import{c as H}from"./HUFIXGTS.js";import"./NGNTHJG7.js";import"./E4PSEE26.js";import"./PMIS7ZUL.js";import{a as h}from"./TCX3SUIK.js";import"./VGMOUQOT.js";import"./CALKODUN.js";import{a as x}from"./F4HG5HMN.js";import"./4HHXGLRC.js";import"./REVKH66L.js";import"./HGYVXEBZ.js";import"./P4IO4YSF.js";import{a as D}from"./TQDZ5RW7.js";import{a as E}from"./CY5ZDVNW.js";import"./JMAF7G4E.js";import"./RBVOGX3O.js";import{a}from"./RZ5CHC5S.js";import"./YLMJ5RWR.js";import{b as e,c as F,d as T,e as b,h as S,i as z}from"./6G7F7RPE.js";import"./R6ENEXLN.js";import{a as w}from"./5NKIRKXL.js";import{a as v}from"./R2IAN5Y7.js";import"./ZBD3YYP2.js";import"./67IJJP2O.js";var m;(function(t){t.PREVIEW="preview",t.DEFINITIONS="definitions"})(m||(m={}));var L=".project-metrics__main:not(.project-metrics__main--edit){height:-moz-fit-content;height:fit-content}arcgis-hub-workspace-pane{--arcgis-configuration-form-footer-max-width:800px;--arcgis-configuration-form-footer-scalable-padding:0.5rem}.hub-entity-metrics__side-panel{overflow-wrap:anywhere}.hub-entity-metrics__content{display:flex;flex-direction:column}.hub-entity-metrics__visible,.hub-entity-metrics__hidden{padding-top:1.5rem}.hub-entity-metrics__content .hub-entity-metrics__section-title{margin:0px;padding-bottom:0.5rem;font-size:var(--calcite-font-size-2);line-height:1.5rem;font-weight:var(--calcite-font-weight-medium);color:var(--light-ui-text-1)}.hub-entity-metrics__content .hub-entity-metrics__helper-text{margin:0px;margin-bottom:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}.hub-entity-metrics__add-metric{display:flex;flex-direction:row;align-items:center;gap:1rem}.hub-entity-metrics__metrics-grid{display:grid;align-items:flex-end;gap:2rem;grid-template-columns:repeat(auto-fill, minmax(max(14rem, calc((100% - 10rem) / 2)), 1fr))}.hub-entity-metrics__empty-featured-metric{margin-top:2rem;display:flex;flex-direction:row;align-items:center;justify-content:center;font-size:var(--calcite-font-size-5);line-height:3rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-border-input);border:2.75px dashed #b7b7b7;min-height:12.25rem}.hub-entity-metrics__metrics-wrapper{position:relative;padding:0.25rem;max-width:23.5rem;min-height:12.25rem}.hub-entity-metrics__metrics-wrapper.featured-metric{border:3px solid var(--calcite-color-brand)}.hub-entity-metrics__metric-container{display:flex;height:100%;width:100%;flex-direction:column-reverse;justify-content:flex-end}calcite-dropdown{align-self:flex-end;padding-right:0.25rem}calcite-dropdown:not([open]) calcite-dropdown-group{display:none}.hub-entity-metrics__no-metrics{font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium);--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}p.hub-entity-metrics__metrics-featured-label{position:absolute;bottom:0px;right:0px;margin:0px;width:-moz-fit-content;width:fit-content;padding-bottom:0.25rem;padding-top:0.25rem;padding-left:0.5rem;padding-right:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-foreground-1);background-color:var(--calcite-color-brand)}arcgis-hub-metric-card{height:100%;max-width:22.625rem;min-height:12.25rem}calcite-dialog p.modal-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}calcite-dialog p.modal-metric-name{font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-bold)}.metric-preview{position:sticky;top:1.25rem;width:100%}.metric-preview arcgis-hub-metric-card{height:-moz-fit-content;height:fit-content}calcite-tab{overflow:visible}@media (max-width: 988px){arcgis-hub-metric-card{max-width:29.125rem;display:grid}.hub-entity-metrics__metrics-wrapper{max-width:unset}.hub-entity-metrics__metrics-grid{display:flex}.hub-entity-metrics__metrics-grid{flex-direction:column}.hub-entity-metrics__metrics-grid{align-items:center}}@media (max-width: 818px){arcgis-hub-metric-card{max-width:37.625rem}}",W=L,R=class{constructor(t){z(this,t),this.arcgisHubWorkspaceEntityChange=b(this,"arcgisHubWorkspaceEntityChange",7),this.hubTelemetry=b(this,"hubTelemetry",7),this.entity=void 0,this.isMobile=!1,this.metricDisplays=void 0,this.metrics=void 0,this.isEditorOpen=!1,this.metricInFocus=void 0,this.footerSlotEl=void 0,this.showDeleteModal=!1,this.isDeleting=!1,this.editorValues=void 0,this.activeTab=m.PREVIEW,D(this,"handleDelete","handleEdit","handleMove","handleAddMetric","handleOnEditorClose","handleOnChangedMetric","handleOnSavedMetric","handleConfirmDelete","handleCloseDeleteModal","hubTelemetryHandler","handleEditorInitialized")}get _context(){return H()}get type(){return x(this.entity)}get isAtMetricCapacity(){return this.metricDisplays.length>=24}async componentWillLoad(){this.intl=await E.loadIntlForComponent(this.element),this.initializeMetrics()}initializeMetrics(){this.metricDisplays=v(this.entity,"view.metricDisplays")||[],this.metrics=O(this.entity)||[]}hubTelemetryHandler(t){let{detail:i}=t;t.stopPropagation();let r=i;i.category===a.constants.category.CONTENT&&i.action===a.constants.action.UPDATE&&i.label===a.constants.label.METRICS&&(r=this.metricInFocus?a.dictionary.category.content.action.update.label.metric.details.update:a.dictionary.category.content.action.update.label.metric.details.create),this.hubTelemetry.emit(Object.assign(Object.assign({},r),{response:i.response}))}async updateEntity(t,i){let r=w(this.entity);h("metrics",t,r),h("view.metricDisplays",i,r),this.metrics=t,this.metricDisplays=i;let s;try{s=await A(this.type,r,this._context),this.arcgisHubWorkspaceEntityChange.emit({entity:s,isDirty:!1})}catch(o){throw this.arcgisHubWorkspaceEntityChange.emit({entity:r,isDirty:!0}),o}return s}handleEditorInitialized(t){t.stopPropagation(),this.editorValues=t.detail._metric}handleEdit(t){let i=t.target.getAttribute("data-metric");this.setMetricInFocus(i),this.isEditorOpen=!0,this.hubTelemetry.emit({telemetry:a.dictionary.category.interaction.action.open.label.editor.details.metric,composedPath:t.composedPath()})}handleDelete(t){let i=t.target.getAttribute("data-metric");this.setMetricInFocus(i),this.showDeleteModal=!0,this.hubTelemetry.emit(a.dictionary.category.interaction.action.open.label.modal.details.delete)}handleCloseDeleteModal(t=!0){this.showDeleteModal=!1,this.isDeleting=!1,this.setMetricInFocus(),t&&this.hubTelemetry.emit(a.dictionary.category.interaction.action.close.label.modal.details.delete)}async handleConfirmDelete(){let t=this.metrics.filter(s=>s.id!==this.metricInFocus.id),i=this.metricDisplays.filter(s=>s.metricId!==this.metricInFocus.id);this.isDeleting=!0;let r=await this.updateEntity(t,i);this.hubTelemetry.emit(Object.assign(Object.assign({},a.dictionary.category.content.action.update.label.metric.details.delete),{response:r?a.constants.response.SUCCESS:a.constants.response.FAILURE})),this.handleCloseDeleteModal(!1)}handleAddMetric(t){this.isEditorOpen=!0,this.hubTelemetry.emit({telemetry:a.dictionary.category.interaction.action.open.label.editor.details.metric,composedPath:t.composedPath()})}handleOnChangedMetric(t){this.editorValues=t.detail.values._metric,this.arcgisHubWorkspaceEntityChange.emit({entity:t.detail.values,isDirty:!0})}handleOnSavedMetric(t){this.arcgisHubWorkspaceEntityChange.emit({entity:t.detail.entity,isDirty:!t.detail.isSuccess}),this.handleOnEditorClose(!1)}handleOnEditorClose(t=!0){this.isEditorOpen=!1,this.setMetricInFocus(),t&&this.hubTelemetry.emit(a.dictionary.category.interaction.action.close.label.editor.details.metric)}handleMove(t){let i=t.target.getAttribute("data-metric"),r=t.target.getAttribute("data-visibility"),s=t.target.getAttribute("data-target-visibility"),o=this.metricDisplays.filter(c=>c.visibility===n.featured),l=this.metricDisplays.filter(c=>c.visibility===n.visible),d=this.metricDisplays.filter(c=>c.visibility===n.hidden),g={featured:o,visible:l,hidden:d},f=g[r],_=g[s],V=f.findIndex(c=>c.metricId===i),M=f.splice(V,1);if(M.length){let c=M[0];c.visibility=s,s===n.hidden||s===n.visible&&r===n.featured?_.unshift(c):_.push(c);let P=[...o,...l,...d];this.updateEntity(this.metrics,P);let j={[n.featured]:a.dictionary.category.content.action.update.label.metric.details.featured,[n.visible]:a.dictionary.category.content.action.update.label.metric.details.show,[n.hidden]:a.dictionary.category.content.action.update.label.metric.details.hide}[s];this.hubTelemetry.emit(j)}}setMetricInFocus(t){this.metricInFocus=t?this.metrics.find(i=>i.id===t):void 0,this.editorValues=void 0}getMoveDropdownItem(t){let{metricId:i,visibility:r,targetVisibility:s,text:o}=t;return e("calcite-dropdown-item",{"data-metric":i,"data-target-visibility":s,"data-visibility":r,key:i,onClick:this.handleMove},o)}renderMoveActions(t,i){let r,s=this.metricDisplays.filter(o=>o.visibility===n.featured).length;switch(i){case n.featured:r=[this.getMoveDropdownItem({metricId:t,visibility:i,targetVisibility:n.visible,text:this.intl.t("actions.removeFeatured")}),this.getMoveDropdownItem({metricId:t,visibility:i,targetVisibility:n.hidden,text:this.intl.t("actions.hide")})];break;case n.visible:r=[],s<4&&r.push(this.getMoveDropdownItem({metricId:t,visibility:i,targetVisibility:n.featured,text:this.intl.t("actions.featured")})),r.push(this.getMoveDropdownItem({metricId:t,visibility:i,targetVisibility:n.hidden,text:this.intl.t("actions.hide")}));break;case n.hidden:r=[],s<4&&r.push(this.getMoveDropdownItem({metricId:t,visibility:i,targetVisibility:n.featured,text:this.intl.t("actions.featured")})),r.push(this.getMoveDropdownItem({metricId:t,visibility:i,targetVisibility:n.visible,text:this.intl.t("actions.show")}))}return r}renderMetricActions(t,i){let{visibility:r,metricId:s}=t;return e("calcite-dropdown",{placement:"bottom-end",scale:"m"},e("calcite-button",{appearance:"transparent","aria-haspopup":!0,iconStart:"ellipsis",kind:"neutral",label:this.intl.t("optionsLabel",{name:i.name}),round:!0,slot:"trigger"}),e("calcite-dropdown-group",{role:"menu",selectionMode:"none"},this.renderMoveActions(s,r),e("calcite-dropdown-item",{"data-element":"edit-menu-item","data-metric":s,onClick:this.handleEdit},this.intl.t("actions.edit")),e("calcite-dropdown-item",{"data-metric":s,onClick:this.handleDelete},this.intl.t("actions.delete"))))}renderEmptyFeaturedMetric(t){let i=this.intl.t(`metricNumber.${t}`);return e("div",{class:"hub-entity-metrics__empty-featured-metric"},i)}renderMetric(t,i,r){let s,o,{metricId:l}=t;return this.metrics&&l&&(o=this.metrics.find(d=>d.id===l)),o?s=e(S,null,e("div",{class:{"hub-entity-metrics__metrics-wrapper":!0,"featured-metric":i}},e("arcgis-hub-metric-card",{cardConfig:Object.assign(Object.assign({},t),{scale:C.medium,shadow:p.low}),headingLevel:3,metric:o}),i?e("p",{class:"hub-entity-metrics__metrics-featured-label"},this.intl.t("featured").toUpperCase()):""),this.renderMetricActions(t,o)):s=i?this.renderEmptyFeaturedMetric(r):void 0,e("div",{class:"hub-entity-metrics__metric-container"},s)}renderFeaturedMetrics(){let t=[];if(this.metricDisplays&&(t=this.metricDisplays.filter(r=>r.visibility===n.featured)),t.length<4){let r=new Array(4-t.length).fill({});t=[...t,...r]}let i=t.map((r,s)=>this.renderMetric(r,!0,s+1));return e("div",{class:"hub-entity-metrics__metrics-grid"},i)}renderVisibleMetrics(){let t=e("h3",{class:"hub-entity-metrics__no-metrics"},this.intl.t("visible.noMetrics"));if(this.metricDisplays.length){let i=this.metricDisplays.reduce((r,s)=>(s.visibility===n.visible&&r.push(this.renderMetric(s,!1)),r),[]);t=i.length?i:t}return e("div",{class:"hub-entity-metrics__metrics-grid"},t)}renderHiddenMetrics(){let t=e("h3",{class:"hub-entity-metrics__no-metrics"},this.intl.t("hidden.noMetrics"));if(this.metricDisplays.length){let i=this.metricDisplays.reduce((r,s)=>(s.visibility===n.hidden&&r.push(this.renderMetric(s,!1)),r),[]);t=i.length?i:t}return e("div",{class:"hub-entity-metrics__metrics-grid"},t)}renderMetrics(){return e("calcite-flow-item",{selected:!this.isEditorOpen},e("div",{class:"hub-entity-metrics__featured"},e("h2",{class:"hub-entity-metrics__section-title"},this.intl.t("featured")),e("p",{class:"hub-entity-metrics__helper-text"},this.intl.t(`${this.type}.featured.description`)),this.renderFeaturedMetrics()),e("div",{class:"hub-entity-metrics__visible"},e("h2",{class:"hub-entity-metrics__section-title"},this.intl.t("visible.title")),e("p",{class:"hub-entity-metrics__helper-text"},this.intl.t(`${this.type}.visible.description`)),this.renderVisibleMetrics()),e("div",{class:"hub-entity-metrics__hidden"},e("h2",{class:"hub-entity-metrics__section-title"},this.intl.t("hidden.title")),e("p",{class:"hub-entity-metrics__helper-text"},this.intl.t("hidden.description")),this.renderHiddenMetrics()))}renderEditor(){let t=this.metricInFocus&&this.metricInFocus.id,i=this.metricInFocus&&this.metricInFocus.name;return e("calcite-flow-item",{class:"hub-entity-metrics__editor-calcite-flow",description:this.intl.t("editor.description"),heading:i||this.intl.t("editor.heading"),onCalciteFlowItemBack:this.handleOnEditorClose,selected:this.isEditorOpen},e("arcgis-hub-entity-editor",{editorContext:{metricId:t},editorType:`hub:${this.type}:metrics`,entity:this.entity,footerSlotRef:this.footerSlotEl,onArcgisHubEntityEditorChange:this.handleOnChangedMetric,onArcgisHubEntityEditorInitialization:this.handleEditorInitialized,onArcgisHubEntityEditorSaved:this.handleOnSavedMetric,onHubTelemetry:this.hubTelemetryHandler,variant:I.workspace}))}renderDeleteModal(){return e("calcite-dialog",{heading:this.intl.t("deleteMetricModal.heading"),kind:"danger",modal:!0,onCalciteDialogClose:this.handleCloseDeleteModal,open:this.showDeleteModal},e("p",{class:"modal-description"},this.intl.t("deleteMetricModal.content")),e("p",{class:"modal-metric-name"},this.metricInFocus.name),e("calcite-button",{appearance:"outline-fill",kind:"brand",onClick:this.handleCloseDeleteModal,slot:"footer-end"},this.intl.t("deleteMetricModal.cancel")),e("calcite-button",{appearance:"solid",disabled:this.isDeleting,kind:"danger",loading:this.isDeleting,onClick:this.handleConfirmDelete,slot:"footer-end"},this.intl.t("deleteMetricModal.delete")))}renderEditorPreview(){let t,i,r=this.metricInFocus?this.metricInFocus.id:"preview-id";if(!this.editorValues&&this.metricInFocus)t=this.metricInFocus,i=this.metricDisplays.find(s=>s.metricId===r);else{let s=k(this.editorValues||{},r,{});t=s.metric,i=s.displayConfig}return e("calcite-tabs",{class:"metric-preview"},e("calcite-tab-nav",{slot:"title-group"},e("calcite-tab-title",{"aria-selected":!0,class:"preview-tab-title",selected:m.PREVIEW===this.activeTab},this.intl.t("sidePanel.preview"))),e("calcite-tab",null,e("arcgis-hub-metric-card",{cardConfig:Object.assign(Object.assign({},i),{shadow:p.medium,border:!0}),headingLevel:2,metric:t})))}renderSidePanel(){return e("div",{class:"hub-entity-metrics__side-panel",slot:"side-panel"},e("calcite-notice",{icon:"user-key",open:!0,width:this.isMobile?"full":"auto"},e("p",{slot:"message"},this.intl.t(`${this.type}.sideNotices.metricLocation.message`)),e("calcite-link",{href:"https://doc.arcgis.com/en/hub/initiatives/add-metrics.htm","icon-end":"launch",slot:"link",target:"_blank"},this.intl.t(`${this.type}.sideNotices.metricLocation.metricsDockLink`))),this.isEditorOpen&&this.renderEditorPreview())}renderMetricCount(){let t=this.isAtMetricCapacity?"warning":"info",i=this.isAtMetricCapacity?"exclamation-mark-triangle":"";return e("div",null,e("calcite-notice",{icon:i,kind:t,open:!0,scale:"s"},e("div",{slot:"title"},this.intl.t("metricCount.label",{currentCount:this.metricDisplays.length,totalCountAllowed:24}))))}renderAddMetric(){return!this.isEditorOpen&&e("div",{class:"hub-entity-metrics__add-metric",slot:"primary-actions"},this.renderAddMetricButton(),this.renderMetricCount())}renderAddMetricButton(){let t=e("calcite-button",{appearance:"solid","data-element":"add-metric-button",disabled:this.isAtMetricCapacity,onClick:this.handleAddMetric,round:!0},this.intl.t("addMetric"));return this.isAtMetricCapacity?e("arcgis-ref-tooltip",{isSlottedElDisabled:this.isAtMetricCapacity,placement:"right",text:this.intl.t("metricCount.tooltip")},t):t}render(){return e(F,{key:"46dadb5d0b46896ece721fe3c38758dea87ffcd7","data-element":"workspace-entity-metrics"},e("arcgis-hub-workspace-pane",{key:"295a62ed3979718487a37f391b501ea58b394b54",isMobile:this.isMobile},e("h1",{key:"7e03912008815e3eb74378ef12e4a72bc30dd7bc",slot:"title"},this.intl.t("title")),e("span",{key:"d733038b7d30c1683d38618bba0bd01bc9a9a686",slot:"subtitle"},this.intl.t("metricDescription")),this.renderAddMetric(),e("div",{key:"961e30a28910a9e419a06b0dc568e7b61f7ff68f",class:{"hub-entity-metrics__content":!0,"hub-entity-metrics__content-edit":this.isEditorOpen}},e("calcite-flow",{key:"0bc06329f731b8c535f85a32cefe82037e6664d7"},this.renderMetrics(),this.isEditorOpen&&this.renderEditor())),this.renderSidePanel(),e("div",{key:"8d605dbb69705578b5ce218cb606933c096f5d37",ref:t=>{this.footerSlotEl=t},slot:"footer"}),this.showDeleteModal&&this.renderDeleteModal()))}static get assetsDirs(){return["locales"]}get element(){return T(this)}static get watchers(){return{entity:["initializeMetrics"]}}};R.style=W;export{R as arcgis_hub_entity_metrics};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.27/esri/copyright.txt for details.
3
+ v0.27.0 */
4
+ import{h as p}from"./V225P56M.js";import"./K7OW7IEK.js";import"./IBIREWV2.js";import"./5IFKUQ7L.js";import"./574HV37I.js";import"./UTIIIKSF.js";import"./XWIEH6CQ.js";import"./AXSGVFIT.js";import"./AH4Y7QIU.js";import"./TCX3SUIK.js";import"./VGMOUQOT.js";import"./HGYVXEBZ.js";import"./P4IO4YSF.js";import{a as c}from"./TQDZ5RW7.js";import{a as d}from"./CY5ZDVNW.js";import"./JMAF7G4E.js";import"./RBVOGX3O.js";import{a as s}from"./RZ5CHC5S.js";import"./YLMJ5RWR.js";import{b as e,c as m,d as u,e as h,h as l,i as f}from"./6G7F7RPE.js";import"./5NKIRKXL.js";import"./R2IAN5Y7.js";import"./ZBD3YYP2.js";import"./67IJJP2O.js";var g=":host{display:inline-block}::slotted(calcite-link){font-size:var(--calcite-font-size-0) !important;line-height:1.25rem !important}calcite-popover{width:20rem}button{grid-row:span 2 / span 2;cursor:pointer;border-style:none;background-color:transparent;padding:0px}address{margin:0px;margin-bottom:1.5rem;display:grid;column-gap:0.75rem;row-gap:0px;font-style:normal;grid-template-columns:44px auto}address:last-child{margin:0px}calcite-avatar{grid-row:span 2 / span 2;height:2.75rem;width:2.75rem}address calcite-icon{grid-row:span 2 / span 2;height:2.75rem;width:2.75rem}address b{font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}address span{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}address span:before{content:'@'}calcite-icon{margin-top:1px;margin-bottom:1px}.popover-body{margin:0px;padding:0.75rem}.popover-body div{margin-bottom:0.5rem;display:flex;align-items:flex-start;gap:0.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-2)}.popover-body div+div{margin-bottom:1rem}.popover-body div+div:last-child{margin:0px}footer{padding:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-1);background-color:var(--calcite-color-background)}footer div{margin:0px;margin-bottom:0.5rem;display:flex;align-items:flex-start;gap:0.5rem}footer div:nth-of-type(3){margin-bottom:1rem}footer div:last-child{margin:0px}",v=g,y=class{constructor(t){f(this,t),this.hubTelemetry=h(this,"hubTelemetry",7),this.buttonEl=void 0,this.username=void 0,this.fullName=void 0,this.thumbnail=void 0,this.userId=void 0,this.access=void 0,this.token=void 0,this.portal=void 0,this.region=void 0,this.organization=void 0,this.creatorUsername=void 0,this.postId=void 0,this.parentId=void 0,this.channelId=void 0,this.channelAccess=void 0,this.index=void 0,this.isHub=void 0,c(this,"handlePopoverOpened","handleGoToProfile","emitHubTelemetry")}async componentWillLoad(){this.intl=await d.loadIntlForComponent(this.element)}emitHubTelemetry(t){let{postId:i,parentId:n,channelId:o,channelAccess:r,index:a}=this;this.hubTelemetry.emit(Object.assign(Object.assign({},t),{postId:i,parentId:n,channelId:o,channelAccess:r,position:a}))}handlePopoverOpened(){this.emitHubTelemetry(s.dictionary.category.interaction.action.open.label.popover.details.details)}handleGoToProfile(){this.emitHubTelemetry(s.dictionary.category.navigation.action.view.label.users.details.profile)}renderCreatorAvatar(){let{username:t,fullName:i,thumbnail:n,portal:o,token:r,userId:a,access:b}=this;return e("calcite-avatar",{"full-name":i,scale:"l",thumbnail:n&&p(o,{username:t,access:b,thumbnail:n},r),"user-id":a,username:t})}renderCreatorDetails(){let{intl:t,username:i,fullName:n}=this,o=t.t("anonymous"),r=t.t("noUser");return i&&(o=n||t.t("privateUser"),r=i),e(l,null,e("b",null,o),e("span",null,r))}renderCreatorExpandedDetails(){let{intl:t,region:i,organization:n,username:o,isHub:r}=this;if(i){let a=t.formatDisplayName(i.toLocaleUpperCase(),{type:"region"});return e(l,null,n&&e("div",null,e("calcite-icon",{icon:"organization",scale:"s","text-label":t.t("orgLabel")}),n),a&&e("div",null,e("calcite-icon",{icon:"pin",scale:"s","text-label":t.t("location")}),a),r&&e("calcite-button",{appearance:"outline-fill",href:"/people/"+o,kind:"neutral",label:t.t("profile"),onClick:this.handleGoToProfile,round:!0,scale:"l",width:"full"},t.t("profile")))}}renderPostDetails(){let{intl:t,creatorUsername:i}=this;return e("footer",null,e("div",null,e("calcite-icon",{icon:"speech-bubbles",scale:"s"}),e("span",null,t.t("mentionedBy",{username:i}))))}render(){let{intl:t}=this;return e(m,{key:"d73d3d15259fe6e2b9ffa636a5e9392e80d34832","data-element":"discussions-mention-popover"},this.buttonEl&&e("calcite-popover",{autoClose:!0,label:t.t("information"),overlayPositioning:"fixed",placement:"top",referenceElement:this.buttonEl},e("div",{class:"popover-body"},e("address",null,this.renderCreatorAvatar(),this.renderCreatorDetails()),this.renderCreatorExpandedDetails()),this.renderPostDetails()),e("button",{key:"b6f3059a2b2fa879c4ed5349693fa875cf5a8682",ref:i=>{this.buttonEl=i},type:"button"},e("slot",{key:"64359d590af2a7564dc6b0d8cd4caa7b4223a04b"})))}static get assetsDirs(){return["locales"]}get element(){return u(this)}};y.style=v;export{y as arcgis_hub_discussions_mention_popover};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.27/esri/copyright.txt for details.
3
+ v0.27.0 */
4
+ import{a as o}from"./35HJUOVA.js";import{a as e}from"./TCX3SUIK.js";import{a as r}from"./F4HG5HMN.js";async function u(s,t,a){let i=r(s),d=`${i}|${s.id}`;t.typeKeywords.includes(d)||(t.typeKeywords=[...t.typeKeywords,`${i}|${s.id}`]),await o("group",t,a);let n={groupId:t.id,rules:{schemaVersion:1,query:{targetEntity:"item",filters:[{predicates:[{group:t.id}]}]}}};return e("associations",n,s),await o(i,s,a)}export{u as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.27/esri/copyright.txt for details.
3
+ v0.27.0 */
4
+ async function n(e,t){let{url:a,method:s,data:c}=e,{mode:C,cache:p,credentials:b}=t,{headers:P,params:I}=k(e,t),o=`${$(t.hubApiUrl)}${a}?${new URLSearchParams(I)}`,d={headers:P,method:s,cache:p,credentials:b,mode:C};c&&(d.body=JSON.stringify(c));let i=await fetch(o,d),{statusText:j,status:R}=i;if(i.ok)return i.json();let L=await i.json();throw new u(j,o,R,JSON.stringify(L.message))}function $(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function k(e,t){let a=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&a.set("Authorization",t.token);let s=Object.assign(Object.assign({},e.params),t.params);return{headers:a,params:s}}var u=class extends Error{constructor(t,a,s,c){super(t),this.status=s,this.url=a,this.error=c}},E;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(E||(E={}));var v;(function(e){e.asc="asc",e.desc="desc"})(v||(v={}));var h;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(h||(h={}));var l;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(l||(l={}));var f;(function(e){e.csv="csv",e.json="json"})(f||(f={}));var m;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})(m||(m={}));var N;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(N||(N={}));var A;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(A||(A={}));var T;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(T||(T={}));var D;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(D||(D={}));var O;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(O||(O={}));var g;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(g||(g={}));var w=(e,t)=>n({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t),y=(e,t)=>n({url:"/api/events/v1/events/search",method:"POST",headers:{"Content-Type":"application/json"},data:e},t),U=(e,t)=>n({url:`/api/events/v1/events/${e}`,method:"GET"},t),H=(e,t,a)=>n({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},a),G=(e,t)=>n({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),_=(e,t)=>n({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t),B=(e,t)=>n({url:"/api/events/v1/registrations",method:"GET",params:e},t),M=(e,t)=>n({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);function r(e){let{token:t,authentication:a}=e;return a?a.getToken(a.portal):Promise.resolve(t)}async function q(e){return e.token=await r(e),w(e.data,e)}async function x(e){return e.token=await r(e),y(e.data,e)}async function J(e){return e.token=await r(e),U(e.eventId,e)}async function K(e){return e.token=await r(e),H(e.eventId,e.data,e)}async function S(e){return e.token=await r(e),G(e.eventId,e)}export{E as a,v as b,h as c,l as d,m as e,N as f,A as g,D as h,O as i,g as j,_ as k,B as l,M as m,r as n,q as o,x as p,J as q,K as r,S as s};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.27/esri/copyright.txt for details.
3
+ v0.27.0 */
4
+ import c from"./X7HVLETW.js";import{a as t}from"./ZSJ7TLTR.js";import"./OWEOYCRU.js";import"./Q32B255C.js";import"./F4MVINVM.js";import"./6YWL5OLG.js";import"./CLZHIBMS.js";import"./D3EKBH5Q.js";import"./IVVHGMGK.js";import"./BISZLYNE.js";import"./4SQGDVBF.js";import"./FG7WEZLF.js";import"./3UE2Q6NK.js";import"./MY7WMWIR.js";import"./RDY77VEA.js";import"./3ENXKTXM.js";import"./77QMA7LH.js";import"./4NWNABCS.js";import"./XSP5MLR7.js";import{b as l}from"./AYDFYGEB.js";import"./PHEMB7RR.js";import{b as a}from"./HBWI56HE.js";import"./B3DSRC62.js";import{C as o,I as r,a as s,d as i}from"./F2ORPMSB.js";import"./QDSWK7ZU.js";import"./DIEJ2ZY4.js";import"./HRVKJ5JR.js";import"./37NNU43I.js";import"./OUHBPVHC.js";import"./DPW3YBTP.js";import"./ZG3JTKBA.js";import"./XJBVHWRU.js";import"./KC76W5XJ.js";import"./IG734Y6R.js";import"./QAL4D5NB.js";import b from"./YZI5IZBN.js";import"./SH2PTW7W.js";import"./HJY3464Z.js";import"./EOHXMGOD.js";import"./ID7XPQWQ.js";import"./L3NT2L2B.js";import"./7TSEE7LF.js";import"./JO7Q3M7G.js";import"./QZXWNZLM.js";import"./WURWM4CM.js";import"./YVRCGV3S.js";import"./H2QKODFW.js";import"./TZF3V2BJ.js";import"./DXP4UE4M.js";import"./3A7F6TCW.js";import"./3CF75BBT.js";import"./DFY7VPXY.js";import"./WYPAWF3H.js";import"./CYGYROJE.js";import"./2SV7GGHT.js";import"./QZXUZWQQ.js";import"./BNSTDGVS.js";import"./DUKGEZ7N.js";import"./OTZAFRQX.js";import"./2TC3FJA3.js";import"./2K7QXVYL.js";import"./MEKLC6U4.js";import"./X67U5GKG.js";import"./G7VYESRG.js";import"./BZCJZLP4.js";import"./JHQQ267E.js";import"./AZJOMCCF.js";import"./WB7ALUQY.js";import"./CAUS7PYS.js";import"./CU6S5D3S.js";import"./B6J4VHR2.js";import"./VDBCOZ7Y.js";import"./CTISPPMB.js";import"./Y2ZXUZOA.js";import"./ZVMFFKI6.js";import"./2CRXQRXN.js";import"./A4HADX5O.js";import"./7VV3OKRM.js";import"./A4AHKC7R.js";import"./ZTPZPPKC.js";import"./XS5SVQ2O.js";import"./3T4OOXGW.js";import"./E3BSFA24.js";import"./HKSU6U7J.js";import"./ST5EGEPE.js";import"./OZ5YNDTT.js";import"./UXKXHJ2D.js";import"./XNGM77XE.js";import"./LORX57V2.js";import"./LIMR4DES.js";import"./3CMFRGNF.js";import"./Q2CYOP2J.js";import"./VPVBBB5K.js";import"./V225P56M.js";import"./K7OW7IEK.js";import"./IBIREWV2.js";import"./5IFKUQ7L.js";import"./RLHTM5UJ.js";import"./TT7GSHIX.js";import"./EUEONQSA.js";import"./574HV37I.js";import"./UTIIIKSF.js";import"./XWIEH6CQ.js";import"./RN5O3EXX.js";import"./UHW7JQIY.js";import"./HMCZUVLG.js";import"./JV4AEJYS.js";import"./KHXU3G2A.js";import"./AXSGVFIT.js";import"./AH4Y7QIU.js";import"./LJIIGRXT.js";import"./HUFIXGTS.js";import"./NGNTHJG7.js";import"./E4PSEE26.js";import"./PMIS7ZUL.js";import"./TCX3SUIK.js";import"./VGMOUQOT.js";import"./CALKODUN.js";import"./F4HG5HMN.js";import"./4HHXGLRC.js";import"./REVKH66L.js";import"./HGYVXEBZ.js";import"./P4IO4YSF.js";import"./JMAF7G4E.js";import"./RBVOGX3O.js";import"./RZ5CHC5S.js";import"./YLMJ5RWR.js";import"./6G7F7RPE.js";import"./R6ENEXLN.js";import"./5NKIRKXL.js";import"./R2IAN5Y7.js";import"./ZBD3YYP2.js";import"./67IJJP2O.js";export default $arcgis.t(([])=>{var d=s`:host{display:block}:host>div>h1:first-child,:host>div>h2:first-child,:host>div>h3:first-child,:host>div>h4:first-child,:host>div>h5:first-child,:host>div>h6:first-child,:host>div>p:first-child{margin-top:0}`,e=class extends o{constructor(){super(...arguments),this._messages=a(),this.html=""}static{this.properties={layoutNodeConfig:32,html:1}}static{this.styles=d}get _content(){return l(this.html)}get layoutNodeConfig(){return{name:"Text card",tag:"arcgis-text-card",disableEdit:!1,disableMove:!1,disableAdjustVisibility:!1,disableDelete:!1,i18n:{label:t(this._messages,"layoutNodeConfig.label"),description:t(this._messages,"layoutNodeConfig.description"),editLabel:t(this._messages,"layoutNodeConfig.edit"),deleteLabel:t(this._messages,"layoutNodeConfig.delete"),repositionUpLabel:t(this._messages,"layoutNodeConfig.up"),repositionDownLabel:t(this._messages,"layoutNodeConfig.down")},defaults:{},editor:{schema:{type:"object",required:["html"],properties:{html:{type:"string",minLength:1}}},uiSchema:{type:"Layout",elements:[{type:"Control",scope:"/properties/html",options:{control:"hub-field-input-rich-text",messages:[{type:"ERROR",keyword:"required",icon:!0,label:t(this._messages,"layoutNodeConfig.errors.required")}]}}]}}}}render(){return i`<div .innerHTML=${this._content??""}></div>`}};r("arcgis-text-card",e);return e},b,c)
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.27/esri/copyright.txt for details.
3
+ v0.27.0 */
4
+ function a(e){let E=/([a-z\d])([A-Z])/g,r=/[ _]/g;return e.replace(E,"$1_$2").toLowerCase().replace(r,"-")}export{a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.27/esri/copyright.txt for details.
3
+ v0.27.0 */
4
+ function r(e){let t="item";return["group","event","user","channel","organization"].includes(e.toLowerCase())&&(t=e.toLocaleLowerCase()),e.toLowerCase()==="group member"&&(t="groupMember"),t}function n(e,t){return{targetEntity:r(typeof e=="string"?e:e[0]),filters:[{operation:"AND",predicates:[{type:e,typekeywords:[t]}]}]}}export{r as a,n as b};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.27/esri/copyright.txt for details.
3
+ v0.27.0 */
4
+ import{a as c}from"./A4AHKC7R.js";function I(e){let r;try{r=new URL(e)}catch{throw new Error(`Invalid URI: ${e}`)}let i=r.protocol.replace(":",""),[,o]=e.split("://"),[p,a]=o.split("/"),l,s;if(a){let{itemId:n,layerId:d}=c(a);[l,s]=[n,d]}let t=new URLSearchParams(r.search.replace("?","")),u=t.has("id")&&t.get("id").split(",")||null,h=t.has("attribute")&&t.get("attribute")||null;return{source:i,type:p,id:l||null,layer:s||null,features:u,attribute:h}}export{I as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.27/esri/copyright.txt for details.
3
+ v0.27.0 */
4
+ import{a as g}from"./AYDFYGEB.js";import{a as v}from"./TIHBABFO.js";import"./DPW3YBTP.js";import"./ZG3JTKBA.js";import"./XJBVHWRU.js";import"./KC76W5XJ.js";import"./IG734Y6R.js";import"./QAL4D5NB.js";import"./ST5EGEPE.js";import{c as E}from"./HUFIXGTS.js";import"./NGNTHJG7.js";import{a as b,c as y}from"./F4HG5HMN.js";import"./4HHXGLRC.js";import{a as m}from"./REVKH66L.js";import"./HGYVXEBZ.js";import"./P4IO4YSF.js";import{a as d}from"./CY5ZDVNW.js";import"./JMAF7G4E.js";import"./RBVOGX3O.js";import"./RZ5CHC5S.js";import"./YLMJ5RWR.js";import{b as l,c as w,d as k,i as _}from"./6G7F7RPE.js";import"./R6ENEXLN.js";import{a as f}from"./5NKIRKXL.js";import{a as h}from"./R2IAN5Y7.js";import"./ZBD3YYP2.js";import"./67IJJP2O.js";export default $arcgis.t(([])=>{var R=".sc-arcgis-hub-entity-events-h{display:block;height:100%}",O=R,x=function(r,s,a,n){var i=arguments.length,t=i<3?s:n===null?n=Object.getOwnPropertyDescriptor(s,a):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(r,s,a,n);else for(var e=r.length-1;e>=0;e--)(o=r[e])&&(t=(i<3?o(t):i>3?o(s,a,t):o(s,a))||t);return i>3&&t&&Object.defineProperty(s,a,t),t},L=class{constructor(r){_(this,r),this.layoutOptions=["compact","grid","list","calendar","map"],this.facets=["event-access","event-from","event-date"],this.resultCallback=(s,a,n,i)=>{let t=this._context.currentUser,o=!1;if(i.owner===t.username)o=!0;else{let u=m(i,"rawResult.editGroups",[]),M=m(t,"groups",[]).map(p=>p.id);o=u.some(p=>M.includes(p.id))}let e=f(s),c=h(i,"rawResult");if(e.additionalInfo.push({label:this.intl.t("access.label"),value:this.intl.t(`access.${c?.access}`)}),e.additionalInfo.push({label:this.intl.t("updated"),value:this.intl.formatDate(i.updatedDate)}),e.summary=g(e.summary),o){let u=y(i,this._context);e.actionLinks=[{tooltip:this.intl.t("actionLinks.manage"),label:this.intl.t("actionLinks.manage"),ariaLabel:this.intl.t("actionLinks.ariaManage",{title:e.title}),showLabel:!0,href:u,icon:"gear",buttonStyle:"outline",buttonKind:"neutral"}]}return e},this.entity=void 0,this.isMobile=!1,this._context=E()}async componentWillLoad(){this.intl=await d.loadIntlForComponent(this.element)}get query(){return{targetEntity:"event",filters:[{predicates:{group:[{group:[this.entity.id]}]}[b(this.entity)]||[]}]}}render(){return l(w,{key:"1d7c617244a5595930eb61e59559ad54f5c50062","data-element":"user-events"},l("arcgis-hub-workspace-pane",{key:"fdf332057973b33ee8b3dcdf90d54505818734c6",isMobile:this.isMobile},l("h2",{key:"7528f79b7a5db619fc835bc0bf46b9cfc401aff0",slot:"title"},this.intl.t("header")),l("arcgis-hub-gallery",{key:"33c25eb795ccaf273d77bee09f75aa07b5089559",callback:this.resultCallback,facets:this.facets,layout:"compact",layoutOptions:this.layoutOptions,limit:30,linkTarget:"siteRelative",mobileView:this.isMobile,query:this.query,showFacets:!0,showLayoutSwitcher:!0,showLinkButton:!1,showMoreResultsBtn:!0,showResultsCount:!0,showSearch:!0,showSort:!0,showThumbnail:!0})))}static get assetsDirs(){return["locales"]}get element(){return k(this)}};x([v()],L.prototype,"query",null);L.style=O;return L},"config")