@esri/hub-web-components 0.8.1 → 0.9.1

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 (1525) hide show
  1. package/dist/cdn/24X5GQJN.js +6 -0
  2. package/dist/cdn/27WTJF7C.js +4 -0
  3. package/dist/cdn/2A6HMYGL.js +4 -0
  4. package/dist/cdn/2CS254EN.js +4 -0
  5. package/dist/cdn/2DHNTNEM.js +4 -0
  6. package/dist/cdn/2EM7LDQC.js +4 -0
  7. package/dist/cdn/2FURIAZM.js +4 -0
  8. package/dist/cdn/2GWZLEL6.js +4 -0
  9. package/dist/cdn/2HITSH66.js +4 -0
  10. package/dist/cdn/2HUM6HQ4.js +4 -0
  11. package/dist/cdn/2KPYLOZF.js +4 -0
  12. package/dist/cdn/2MGU4HB6.js +4 -0
  13. package/dist/cdn/2NUVJYFQ.js +4 -0
  14. package/dist/cdn/2PTKWPMW.js +4 -0
  15. package/dist/cdn/2QIXCITV.js +4 -0
  16. package/dist/cdn/2SFSEILV.js +4 -0
  17. package/dist/cdn/2SMHX6X6.js +4 -0
  18. package/dist/cdn/2TE3YXLZ.js +4 -0
  19. package/dist/cdn/2TF72XLQ.js +4 -0
  20. package/dist/cdn/2VGWD76O.js +4 -0
  21. package/dist/cdn/2W7LW536.js +4 -0
  22. package/dist/cdn/2YGE3RON.js +4 -0
  23. package/dist/cdn/2YOWYYOZ.js +4 -0
  24. package/dist/cdn/2YWSHRVI.js +4 -0
  25. package/dist/cdn/2YZIHZOW.js +4 -0
  26. package/dist/cdn/2Z5IVMKX.js +4 -0
  27. package/dist/cdn/2ZD7BKNX.js +4 -0
  28. package/dist/cdn/346B3A3F.js +4 -0
  29. package/dist/cdn/34LGBRCN.js +4 -0
  30. package/dist/cdn/37E2TRQ5.js +4 -0
  31. package/dist/cdn/3BU35JCH.js +4 -0
  32. package/dist/cdn/3CZ76UY4.js +4 -0
  33. package/dist/cdn/3DWKTJ4G.js +4 -0
  34. package/dist/cdn/3HC6I4ZC.js +4 -0
  35. package/dist/cdn/3JFIEMMD.js +4 -0
  36. package/dist/cdn/3JS5DPUQ.js +4 -0
  37. package/dist/cdn/3LBR3ZBF.js +4 -0
  38. package/dist/cdn/3PBYTP2V.js +4 -0
  39. package/dist/cdn/3VETQUDC.js +4 -0
  40. package/dist/cdn/3VR5WFZX.js +4 -0
  41. package/dist/cdn/3XW6Q2VC.js +4 -0
  42. package/dist/cdn/3YA27ZDO.js +4 -0
  43. package/dist/cdn/3YGY4Y2I.js +4 -0
  44. package/dist/cdn/44GLKOVL.js +4 -0
  45. package/dist/cdn/44QS4BK5.js +4 -0
  46. package/dist/cdn/44TCM7DY.js +4 -0
  47. package/dist/cdn/46NMI34M.js +4 -0
  48. package/dist/cdn/46ODILZN.js +4 -0
  49. package/dist/cdn/47O3WLZ2.js +4 -0
  50. package/dist/cdn/47T4D5D6.js +4 -0
  51. package/dist/cdn/4AYDJI5H.js +4 -0
  52. package/dist/cdn/4B6Q3VOJ.js +4 -0
  53. package/dist/cdn/4FM6MMP6.js +4 -0
  54. package/dist/cdn/4FQUHP62.js +4 -0
  55. package/dist/cdn/4IRXXMGE.js +4 -0
  56. package/dist/cdn/4JTLSY3F.js +4 -0
  57. package/dist/cdn/4K6MUGCI.js +4 -0
  58. package/dist/cdn/4KTGWC7V.js +4 -0
  59. package/dist/cdn/4LCFAZ72.js +4 -0
  60. package/dist/cdn/4LKZ27T7.js +4 -0
  61. package/dist/cdn/4LYJA5OT.js +4 -0
  62. package/dist/cdn/4PD6DO3S.js +4 -0
  63. package/dist/cdn/4PGSKDR6.js +4 -0
  64. package/dist/cdn/4TJUZQB7.js +4 -0
  65. package/dist/cdn/4VLERXJO.js +4 -0
  66. package/dist/cdn/4VMAOLA7.js +11 -0
  67. package/dist/cdn/4VPG7GS4.js +4 -0
  68. package/dist/cdn/4ZJTO26Q.js +4 -0
  69. package/dist/cdn/4ZPNMKCL.js +4 -0
  70. package/dist/cdn/542XXVIL.js +4 -0
  71. package/dist/cdn/54P6XENW.js +4 -0
  72. package/dist/cdn/55L5NGSV.js +4 -0
  73. package/dist/cdn/5CAPR6MD.js +4 -0
  74. package/dist/cdn/5ECQ3LOG.js +4 -0
  75. package/dist/cdn/5EO36FQF.js +4 -0
  76. package/dist/cdn/5GNFXCUA.js +4 -0
  77. package/dist/cdn/5JJSBYX2.js +4 -0
  78. package/dist/cdn/5NARHNTB.js +4 -0
  79. package/dist/cdn/5OKXBLVA.js +4 -0
  80. package/dist/cdn/5RV3GUIL.js +4 -0
  81. package/dist/cdn/5TSXB366.js +4 -0
  82. package/dist/cdn/5TTMCEBB.js +4 -0
  83. package/dist/cdn/5VC2IVMM.js +4 -0
  84. package/dist/cdn/5XCW6ZFB.js +4 -0
  85. package/dist/cdn/5YWVNPX3.js +4 -0
  86. package/dist/cdn/5YZ2EJCU.js +4 -0
  87. package/dist/cdn/5ZDYOH6L.js +4 -0
  88. package/dist/cdn/63DYTS4J.js +4 -0
  89. package/dist/cdn/652XF5RJ.js +4 -0
  90. package/dist/cdn/6AXIZ3OD.js +4 -0
  91. package/dist/cdn/6C4UDN75.js +4 -0
  92. package/dist/cdn/6EHRRBGL.js +4 -0
  93. package/dist/cdn/6FZRRPJH.js +6 -0
  94. package/dist/cdn/6K5KH2GZ.js +4 -0
  95. package/dist/cdn/6L3WQZPX.js +4 -0
  96. package/dist/cdn/6MBIQKCA.js +4 -0
  97. package/dist/cdn/6MMRZPQO.js +4 -0
  98. package/dist/cdn/6NCCTI3B.js +4 -0
  99. package/dist/cdn/6NVMYCI6.js +5 -0
  100. package/dist/cdn/6RNOVEUV.js +4 -0
  101. package/dist/cdn/6RTAUWUB.js +4 -0
  102. package/dist/cdn/6SFXQNRU.js +4 -0
  103. package/dist/cdn/6UN5DWLS.js +4 -0
  104. package/dist/cdn/6UYMJTGI.js +4 -0
  105. package/dist/cdn/6V6DERUR.js +4 -0
  106. package/dist/cdn/6W6PLLK2.js +4 -0
  107. package/dist/cdn/6WIM7QEI.js +4 -0
  108. package/dist/cdn/6XVLUH47.js +4 -0
  109. package/dist/cdn/6YMN5EP5.js +4 -0
  110. package/dist/cdn/736E23AT.js +4 -0
  111. package/dist/cdn/74IYRJ4P.js +4 -0
  112. package/dist/cdn/74W6MCMZ.js +4 -0
  113. package/dist/cdn/75OL3K56.js +4 -0
  114. package/dist/cdn/7BXV73GE.js +4 -0
  115. package/dist/cdn/7E4MRJ52.js +4 -0
  116. package/dist/cdn/7HAB6CPJ.js +4 -0
  117. package/dist/cdn/7N4RGR4K.js +4 -0
  118. package/dist/cdn/7NNQ34H2.js +4 -0
  119. package/dist/cdn/7O63F62D.js +4 -0
  120. package/dist/cdn/7P27C3TF.js +4 -0
  121. package/dist/cdn/7PJLBVG2.js +4 -0
  122. package/dist/cdn/7T5YBGM5.js +4 -0
  123. package/dist/cdn/7TYPUFT3.js +4 -0
  124. package/dist/cdn/7WVJJWMQ.js +4 -0
  125. package/dist/cdn/7Z75O3DS.js +4 -0
  126. package/dist/cdn/A2DM33D2.js +4 -0
  127. package/dist/cdn/A4YIF23I.js +4 -0
  128. package/dist/cdn/A6HDPFN2.js +4 -0
  129. package/dist/cdn/ABG6KY77.js +4 -0
  130. package/dist/cdn/ACHOEWXC.js +4 -0
  131. package/dist/cdn/ACKSSU23.js +4 -0
  132. package/dist/cdn/ARMAMCFB.js +4 -0
  133. package/dist/cdn/AWEGCEZB.js +4 -0
  134. package/dist/cdn/AWIKNCDM.js +4 -0
  135. package/dist/cdn/AX5B3QRL.js +4 -0
  136. package/dist/cdn/B4PH7WPC.js +4 -0
  137. package/dist/cdn/B5PEZRAO.js +4 -0
  138. package/dist/cdn/B7AD6DKM.js +4 -0
  139. package/dist/cdn/BAQ5KOO7.js +12 -0
  140. package/dist/cdn/BBBKJ2UQ.js +4 -0
  141. package/dist/cdn/BBHNMEGQ.js +4 -0
  142. package/dist/cdn/BBLSDNAN.js +4 -0
  143. package/dist/cdn/BBQVXZH5.js +4 -0
  144. package/dist/cdn/BBTIKMGF.js +4 -0
  145. package/dist/cdn/BC2X3S7H.js +4 -0
  146. package/dist/cdn/BD6JYELV.js +4 -0
  147. package/dist/cdn/BDGPEMI2.js +4 -0
  148. package/dist/cdn/BEWLAQ5V.js +4 -0
  149. package/dist/cdn/BEZ6W43V.js +4 -0
  150. package/dist/cdn/BFY2WEOI.js +4 -0
  151. package/dist/cdn/BGM3H4PC.js +4 -0
  152. package/dist/cdn/BGS53X66.js +4 -0
  153. package/dist/cdn/BHYSZJWS.js +4 -0
  154. package/dist/cdn/BOPPAUT6.js +4 -0
  155. package/dist/cdn/BOQHKA4N.js +4 -0
  156. package/dist/cdn/BP3U3JKU.js +4 -0
  157. package/dist/cdn/BPV6ORDT.js +4 -0
  158. package/dist/cdn/BQ22NOXY.js +59 -0
  159. package/dist/cdn/BUGKN2EK.js +4 -0
  160. package/dist/cdn/BXW6YQX7.js +4 -0
  161. package/dist/cdn/BY7V4O4Q.js +4 -0
  162. package/dist/cdn/C245DR5R.js +4 -0
  163. package/dist/cdn/C3QVLMKQ.js +4 -0
  164. package/dist/cdn/C5J7GB74.js +4 -0
  165. package/dist/cdn/C5UNTPYH.js +4 -0
  166. package/dist/cdn/C6BF5WHH.js +4 -0
  167. package/dist/cdn/C7IMTAIR.js +4 -0
  168. package/dist/cdn/CAMLTPI4.js +4 -0
  169. package/dist/cdn/CAMRVT35.js +4 -0
  170. package/dist/cdn/CB3AXKRB.js +4 -0
  171. package/dist/cdn/CBSDYUAN.js +4 -0
  172. package/dist/cdn/CBZUPZKU.js +4 -0
  173. package/dist/cdn/CER6TVTH.js +4 -0
  174. package/dist/cdn/CEXZUJMX.js +4 -0
  175. package/dist/cdn/CF36QPIX.js +5 -0
  176. package/dist/cdn/CG6YLAEU.js +4 -0
  177. package/dist/cdn/CGTDP67U.js +4 -0
  178. package/dist/cdn/CL37NKBP.js +4 -0
  179. package/dist/cdn/CMB6EX4D.js +4 -0
  180. package/dist/cdn/CMTHYI42.js +4 -0
  181. package/dist/cdn/COA7LTR2.js +4 -0
  182. package/dist/cdn/CPDI3SLX.js +4 -0
  183. package/dist/cdn/CQGODCS7.js +4 -0
  184. package/dist/cdn/CTTN47EZ.js +4 -0
  185. package/dist/cdn/CV3DAK4G.js +4 -0
  186. package/dist/cdn/CWVWH3QK.js +4 -0
  187. package/dist/cdn/CYEG43DY.js +4 -0
  188. package/dist/cdn/CZDIENF5.js +4 -0
  189. package/dist/cdn/D2DJ53CE.js +4 -0
  190. package/dist/cdn/D2J7ONLX.js +4 -0
  191. package/dist/cdn/D37Y6BWC.js +4 -0
  192. package/dist/cdn/D5GJKANU.js +4 -0
  193. package/dist/cdn/D6VDQYNR.js +4 -0
  194. package/dist/cdn/D7BCLBBK.js +4 -0
  195. package/dist/cdn/DAF7U6TV.js +4 -0
  196. package/dist/cdn/DAI2LJSC.js +4 -0
  197. package/dist/cdn/DAMY33IP.js +4 -0
  198. package/dist/cdn/DBEOLJEO.js +7 -0
  199. package/dist/cdn/DBERINVF.js +4 -0
  200. package/dist/cdn/DCYGWQH4.js +4 -0
  201. package/dist/cdn/DEE3Y2QN.js +4 -0
  202. package/dist/cdn/DFNA7CSX.js +4 -0
  203. package/dist/cdn/DH3LKFFI.js +4 -0
  204. package/dist/cdn/DHI7G5J2.js +4 -0
  205. package/dist/cdn/DLG7U42Y.js +4 -0
  206. package/dist/cdn/DM6RAFDV.js +4 -0
  207. package/dist/cdn/DMLVRMAJ.js +4 -0
  208. package/dist/cdn/DOEJKHEM.js +4 -0
  209. package/dist/cdn/DQ5HORQD.js +4 -0
  210. package/dist/cdn/DQD5HTG5.js +9 -0
  211. package/dist/cdn/DQPPEP5P.js +4 -0
  212. package/dist/cdn/DROA3HVS.js +4 -0
  213. package/dist/cdn/DRR6OFXI.js +4 -0
  214. package/dist/cdn/DTK5MG6S.js +4 -0
  215. package/dist/cdn/DTQG2VC3.js +4 -0
  216. package/dist/cdn/DWZKLVCS.js +4 -0
  217. package/dist/cdn/DX7UHTSE.js +4 -0
  218. package/dist/cdn/DXNBB2YR.js +4 -0
  219. package/dist/cdn/E27K6TKF.js +4 -0
  220. package/dist/cdn/EGR62PS6.js +4 -0
  221. package/dist/cdn/EHXTT4BO.js +4 -0
  222. package/dist/cdn/EIKKSHSJ.js +4 -0
  223. package/dist/cdn/EKDCORFL.js +25 -0
  224. package/dist/cdn/EMYT6EN5.js +4 -0
  225. package/dist/cdn/ENX5GNOR.js +4 -0
  226. package/dist/cdn/EO67QJFB.js +4 -0
  227. package/dist/cdn/EOORN2GS.js +4 -0
  228. package/dist/cdn/EQULQEAV.js +4 -0
  229. package/dist/cdn/ESLDTQX7.js +4 -0
  230. package/dist/cdn/ETDSV62F.js +4 -0
  231. package/dist/cdn/EUWNKBBY.js +4 -0
  232. package/dist/cdn/EUZ6IRDJ.js +4 -0
  233. package/dist/cdn/EVTGKSGC.js +4 -0
  234. package/dist/cdn/EWAIB3F4.js +4 -0
  235. package/dist/cdn/EWK6RY5V.js +4 -0
  236. package/dist/cdn/EWYETQQP.js +4 -0
  237. package/dist/cdn/EX3ATJWG.js +4 -0
  238. package/dist/cdn/EY6JWFXJ.js +4 -0
  239. package/dist/cdn/F2K7C37E.js +4 -0
  240. package/dist/cdn/F2TURX3R.js +41 -0
  241. package/dist/cdn/F44D2V57.js +4 -0
  242. package/dist/cdn/F775XM2P.js +4 -0
  243. package/dist/cdn/FATR572D.js +4 -0
  244. package/dist/cdn/FAZL2FPP.js +4 -0
  245. package/dist/cdn/FE2YU5VD.js +4 -0
  246. package/dist/cdn/FEHMNV6J.js +4 -0
  247. package/dist/cdn/FF65OQMK.js +4 -0
  248. package/dist/cdn/FF746GAN.js +4 -0
  249. package/dist/cdn/FIMDNBGQ.js +4 -0
  250. package/dist/cdn/FIODTVCH.js +4 -0
  251. package/dist/cdn/FJ46OV6A.js +4 -0
  252. package/dist/cdn/FJTEIODT.js +4 -0
  253. package/dist/cdn/FKAXBTA6.js +4 -0
  254. package/dist/cdn/FKDFEZFM.js +4 -0
  255. package/dist/cdn/FLGFEL33.js +4 -0
  256. package/dist/cdn/FLNS24CM.js +4 -0
  257. package/dist/cdn/FLT6OQMR.js +4 -0
  258. package/dist/cdn/FOIU6UQ7.js +4 -0
  259. package/dist/cdn/FPZH5QTU.js +4 -0
  260. package/dist/cdn/FQ4IXJ3X.js +4 -0
  261. package/dist/cdn/FR3RI25Y.js +4 -0
  262. package/dist/cdn/FR7BCIDG.js +4 -0
  263. package/dist/cdn/FSM2TTDJ.js +4 -0
  264. package/dist/cdn/FUBHAGVT.js +4 -0
  265. package/dist/cdn/FUIGUURG.js +4 -0
  266. package/dist/cdn/FUVB422M.js +4 -0
  267. package/dist/cdn/FV273Z4E.js +4 -0
  268. package/dist/cdn/FV6IRX4J.js +4 -0
  269. package/dist/cdn/FVDGEU73.js +4 -0
  270. package/dist/cdn/FVXAC42V.js +4 -0
  271. package/dist/cdn/FW5NXRLN.js +4 -0
  272. package/dist/cdn/FWF224QL.js +4 -0
  273. package/dist/cdn/FYTO74MB.js +4 -0
  274. package/dist/cdn/FZSDRFR3.js +4 -0
  275. package/dist/cdn/G4AEISNQ.js +4 -0
  276. package/dist/cdn/G7VQ42CK.js +4 -0
  277. package/dist/cdn/GHWLBOWS.js +4 -0
  278. package/dist/cdn/GIW2GXGR.js +4 -0
  279. package/dist/cdn/GJN2HCSV.js +4 -0
  280. package/dist/cdn/GJQNSBKY.js +4 -0
  281. package/dist/cdn/GKJIG6TW.js +4 -0
  282. package/dist/cdn/GLOYDWWU.js +4 -0
  283. package/dist/cdn/GMNPZHVN.js +4 -0
  284. package/dist/cdn/GOVBIV4N.js +4 -0
  285. package/dist/cdn/GPU2GOMA.js +4 -0
  286. package/dist/cdn/GQ2VB4SZ.js +4 -0
  287. package/dist/cdn/GUIMRIRN.js +4 -0
  288. package/dist/cdn/GUQAWAAP.js +4 -0
  289. package/dist/cdn/GVN6RDDV.js +52 -0
  290. package/dist/cdn/GVOV3QNX.js +4 -0
  291. package/dist/cdn/GWMDZK73.js +4 -0
  292. package/dist/cdn/GWZ7OVMP.js +4 -0
  293. package/dist/cdn/GZW65JSA.js +4 -0
  294. package/dist/cdn/H3NZRS5X.js +4 -0
  295. package/dist/cdn/H5UPGLLF.js +4 -0
  296. package/dist/cdn/H64IRYUR.js +4 -0
  297. package/dist/cdn/H66NOYDN.js +4 -0
  298. package/dist/cdn/H6PMXT3R.js +4 -0
  299. package/dist/cdn/H7LP7ZOU.js +4 -0
  300. package/dist/cdn/HATIA4U2.js +4 -0
  301. package/dist/cdn/HBTEABKA.js +4 -0
  302. package/dist/cdn/HDF5WJKV.js +4 -0
  303. package/dist/cdn/HE7OTLQI.js +4 -0
  304. package/dist/cdn/HEYWYHFV.js +4 -0
  305. package/dist/cdn/HGOOEGQD.js +4 -0
  306. package/dist/cdn/HHL3ZO2Q.js +4 -0
  307. package/dist/cdn/HINIFDD3.js +4 -0
  308. package/dist/cdn/HIOD2XW4.js +4 -0
  309. package/dist/cdn/HJEEVAUV.js +4 -0
  310. package/dist/cdn/HMXNIESU.js +4 -0
  311. package/dist/cdn/HNNMQWZ5.js +4 -0
  312. package/dist/cdn/HR4GLWH2.js +4 -0
  313. package/dist/cdn/HTFBS4IS.js +4 -0
  314. package/dist/cdn/HUS6TZ2C.js +4 -0
  315. package/dist/cdn/HYFI7SCD.js +4 -0
  316. package/dist/cdn/I2EZPZ53.js +4 -0
  317. package/dist/cdn/I4C7CSQD.js +4 -0
  318. package/dist/cdn/I5LVWHUF.js +4 -0
  319. package/dist/cdn/I74VYBTY.js +4 -0
  320. package/dist/cdn/I7QMA5RG.js +4 -0
  321. package/dist/cdn/IBEVNUCL.js +4 -0
  322. package/dist/cdn/ID2QZY7T.js +4 -0
  323. package/dist/cdn/IDWJG667.js +4 -0
  324. package/dist/cdn/IEIZLANS.js +4 -0
  325. package/dist/cdn/IG2DXU5L.js +4 -0
  326. package/dist/cdn/IHYYFJLQ.js +4 -0
  327. package/dist/cdn/IIER4O2P.js +4 -0
  328. package/dist/cdn/IIO54RJW.js +4 -0
  329. package/dist/cdn/IK2DCOSH.js +4 -0
  330. package/dist/cdn/IN2IBSLJ.js +4 -0
  331. package/dist/cdn/IN2JWA2C.js +59 -0
  332. package/dist/cdn/IOEO7NH2.js +4 -0
  333. package/dist/cdn/IOOHIYJM.js +4 -0
  334. package/dist/cdn/IP4J3CR7.js +4 -0
  335. package/dist/cdn/ISRSTLRL.js +4 -0
  336. package/dist/cdn/IU5N52E4.js +4 -0
  337. package/dist/cdn/IUY6UST5.js +4 -0
  338. package/dist/cdn/IVNZPPAH.js +4 -0
  339. package/dist/cdn/IYPT2CXP.js +4 -0
  340. package/dist/cdn/J2CIS5QA.js +4 -0
  341. package/dist/cdn/J2LG7NJB.js +9 -0
  342. package/dist/cdn/J2LUJH6I.js +4 -0
  343. package/dist/cdn/J3MVJFFN.js +4 -0
  344. package/dist/cdn/J3YDAQZZ.js +4 -0
  345. package/dist/cdn/J4SLMERI.js +4 -0
  346. package/dist/cdn/J7CZ3VJ5.js +4 -0
  347. package/dist/cdn/J7XCXPC4.js +4 -0
  348. package/dist/cdn/JAKEJQZJ.js +4 -0
  349. package/dist/cdn/JBCLP2WW.js +4 -0
  350. package/dist/cdn/JHGM4W25.js +4 -0
  351. package/dist/cdn/JILJZHIV.js +4 -0
  352. package/dist/cdn/JIRTM3WL.js +4 -0
  353. package/dist/cdn/JIWK7FTQ.js +4 -0
  354. package/dist/cdn/JMASC67B.js +4 -0
  355. package/dist/cdn/JMRDHXBG.js +4 -0
  356. package/dist/cdn/JODCF4WS.js +4 -0
  357. package/dist/cdn/JQMLPZTY.js +4 -0
  358. package/dist/cdn/JTHUQVXC.js +4 -0
  359. package/dist/cdn/JXBWVKJX.js +4 -0
  360. package/dist/cdn/JZTTC6JN.js +6 -0
  361. package/dist/cdn/JZYEYAFB.js +4 -0
  362. package/dist/cdn/K2RXYALF.js +4 -0
  363. package/dist/cdn/K3UJ4BBN.js +4 -0
  364. package/dist/cdn/K4RLUCQF.js +4 -0
  365. package/dist/cdn/K4SD7BKR.js +4 -0
  366. package/dist/cdn/K6A2J7YM.js +4 -0
  367. package/dist/cdn/K723YTUC.js +4 -0
  368. package/dist/cdn/KAAKVO2F.js +4 -0
  369. package/dist/cdn/KAY7BB22.js +4 -0
  370. package/dist/cdn/KD46OXGQ.js +4 -0
  371. package/dist/cdn/KDT7SCHA.js +4 -0
  372. package/dist/cdn/KIC53ZW3.js +4 -0
  373. package/dist/cdn/KJHK7GIC.js +4 -0
  374. package/dist/cdn/KJOFZAIA.js +4 -0
  375. package/dist/cdn/KKKUUCFG.js +4 -0
  376. package/dist/cdn/KKSPGIBT.js +4 -0
  377. package/dist/cdn/KM5ESB6Q.js +4 -0
  378. package/dist/cdn/KMP7XZD4.js +4 -0
  379. package/dist/cdn/KNILMYZQ.js +4 -0
  380. package/dist/cdn/KNMLLZE3.js +4 -0
  381. package/dist/cdn/KOYNULPK.js +4 -0
  382. package/dist/cdn/KSY6KQAE.js +4 -0
  383. package/dist/cdn/KUNPNVIA.js +4 -0
  384. package/dist/cdn/KUZIN2XT.js +4 -0
  385. package/dist/cdn/KX5K5OPP.js +4 -0
  386. package/dist/cdn/L4UMZNL7.js +4 -0
  387. package/dist/cdn/LAMFV74R.js +4 -0
  388. package/dist/cdn/LARC4DQ2.js +4 -0
  389. package/dist/cdn/LAUIU4H7.js +4 -0
  390. package/dist/cdn/LCFC4XCN.js +4 -0
  391. package/dist/cdn/LIJMQQAA.js +4 -0
  392. package/dist/cdn/LKESW2XU.js +4 -0
  393. package/dist/cdn/LKHWRBEO.js +4 -0
  394. package/dist/cdn/LL2L5WMU.js +4 -0
  395. package/dist/cdn/LMFG4D62.js +4 -0
  396. package/dist/cdn/LNJYRBXZ.js +4 -0
  397. package/dist/cdn/LP2GSRYF.js +4 -0
  398. package/dist/cdn/LQMMPDI3.js +4 -0
  399. package/dist/cdn/LQOO4Z7H.js +4 -0
  400. package/dist/cdn/LRKAEP77.js +4 -0
  401. package/dist/cdn/LSTAWJ3S.js +4 -0
  402. package/dist/cdn/LT245S6C.js +4 -0
  403. package/dist/cdn/LUB3FFKY.js +4 -0
  404. package/dist/cdn/LUKTYLCY.js +4 -0
  405. package/dist/cdn/LXOTOSFU.js +4 -0
  406. package/dist/cdn/LXW4I3KD.js +4 -0
  407. package/dist/cdn/LXZH2KF3.js +4 -0
  408. package/dist/cdn/LZDFWT36.js +4 -0
  409. package/dist/cdn/M3JE3RLA.js +4 -0
  410. package/dist/cdn/M44XYGZ6.js +4 -0
  411. package/dist/cdn/M4E3MLCE.js +4 -0
  412. package/dist/cdn/M4USBXQX.js +4 -0
  413. package/dist/cdn/M5QXB6K7.js +4 -0
  414. package/dist/cdn/M6OVNLEO.js +4 -0
  415. package/dist/cdn/M7RQO7Z6.js +4 -0
  416. package/dist/cdn/M7UPLF2Q.js +4 -0
  417. package/dist/cdn/MBXHKRNG.js +4 -0
  418. package/dist/cdn/MELDMNDD.js +4 -0
  419. package/dist/cdn/MGRS6YRS.js +4 -0
  420. package/dist/cdn/MJKK4J4X.js +4 -0
  421. package/dist/cdn/ML7PCXMK.js +4 -0
  422. package/dist/cdn/MLHTSRBC.js +4 -0
  423. package/dist/cdn/MLIQGCRT.js +4 -0
  424. package/dist/cdn/MNX625BX.js +4 -0
  425. package/dist/cdn/MOPBOAAG.js +4 -0
  426. package/dist/cdn/MPVE2R4J.js +4 -0
  427. package/dist/cdn/MTPDJNZX.js +4 -0
  428. package/dist/cdn/MUEU5A7K.js +4 -0
  429. package/dist/cdn/MVVPGXEE.js +4 -0
  430. package/dist/cdn/MX6ZX5AD.js +4 -0
  431. package/dist/cdn/MX7X3YO7.js +4 -0
  432. package/dist/cdn/MZVCKEID.js +4 -0
  433. package/dist/cdn/N2GNB3EN.js +4 -0
  434. package/dist/cdn/NBPRY5F5.js +4 -0
  435. package/dist/cdn/ND7X7V2M.js +4 -0
  436. package/dist/cdn/NDEGSOQI.js +4 -0
  437. package/dist/cdn/NERI4HHD.js +4 -0
  438. package/dist/cdn/NFPC3F2G.js +4 -0
  439. package/dist/cdn/NHAOSR5J.js +4 -0
  440. package/dist/cdn/NHB56MQJ.js +4 -0
  441. package/dist/cdn/NIMISFRI.js +4 -0
  442. package/dist/cdn/NJOTWX5Y.js +4 -0
  443. package/dist/cdn/NKDN32AA.js +4 -0
  444. package/dist/cdn/NL4P7R3H.js +4 -0
  445. package/dist/cdn/NL5AEF4G.js +4 -0
  446. package/dist/cdn/NOMSQI6U.js +4 -0
  447. package/dist/cdn/NPJQQNL6.js +4 -0
  448. package/dist/cdn/NPKCM5WS.js +4 -0
  449. package/dist/cdn/NRQQRL6B.js +4 -0
  450. package/dist/cdn/NS3BB3SU.js +4 -0
  451. package/dist/cdn/NT5RZE5O.js +4 -0
  452. package/dist/cdn/NTULLY4R.js +4 -0
  453. package/dist/cdn/NWV56GTY.js +4 -0
  454. package/dist/cdn/O2SHXEGH.js +4 -0
  455. package/dist/cdn/O2WEZ735.js +4 -0
  456. package/dist/cdn/OGGQOMQW.js +4 -0
  457. package/dist/cdn/OHNIPVHH.js +4 -0
  458. package/dist/cdn/OIDXSNUU.js +4 -0
  459. package/dist/cdn/OIWPUUSR.js +4 -0
  460. package/dist/cdn/OJEFV5G2.js +4 -0
  461. package/dist/cdn/OKPKDEFC.js +4 -0
  462. package/dist/cdn/OLVTB2RW.js +4 -0
  463. package/dist/cdn/ONK5UAWM.js +4 -0
  464. package/dist/cdn/OSWZIV43.js +4 -0
  465. package/dist/cdn/OT2FLVN6.js +4 -0
  466. package/dist/cdn/OUMXUFH6.js +4 -0
  467. package/dist/cdn/OV73MATC.js +4 -0
  468. package/dist/cdn/OVHTPOHF.js +4 -0
  469. package/dist/cdn/OWPTWUDA.js +4 -0
  470. package/dist/cdn/OXC4BXHJ.js +5 -0
  471. package/dist/cdn/OXXF7TXL.js +4 -0
  472. package/dist/cdn/OYLCZCVN.js +4 -0
  473. package/dist/cdn/P23WP6UA.js +4 -0
  474. package/dist/cdn/P2TLYOHD.js +4 -0
  475. package/dist/cdn/P7FDPRL4.js +4 -0
  476. package/dist/cdn/P7S5GKF4.js +4 -0
  477. package/dist/cdn/P7YNAH7U.js +4 -0
  478. package/dist/cdn/PCP5E3BA.js +4 -0
  479. package/dist/cdn/PCQPFVEJ.js +4 -0
  480. package/dist/cdn/PEJXI52A.js +4 -0
  481. package/dist/cdn/PEOGJ4BW.js +4 -0
  482. package/dist/cdn/PFFN2RLB.js +4 -0
  483. package/dist/cdn/PHKTSC7J.js +4 -0
  484. package/dist/cdn/PIJ4DUBN.js +4 -0
  485. package/dist/cdn/PIURY3WB.js +4 -0
  486. package/dist/cdn/PLC7ZJXK.js +4 -0
  487. package/dist/cdn/PLN3UEUY.js +4 -0
  488. package/dist/cdn/PLNAZAOZ.js +4 -0
  489. package/dist/cdn/PMHLTCUC.js +4 -0
  490. package/dist/cdn/POBWK2IU.js +4 -0
  491. package/dist/cdn/POGSCBWC.js +4 -0
  492. package/dist/cdn/POLAFVI4.js +4 -0
  493. package/dist/cdn/POLUBNZI.js +4 -0
  494. package/dist/cdn/PPWIVBJF.js +4 -0
  495. package/dist/cdn/PRECHI7K.js +4 -0
  496. package/dist/cdn/PRYFYFCL.js +4 -0
  497. package/dist/cdn/PSA4Y7T2.js +4 -0
  498. package/dist/cdn/PTBNPGIC.js +4 -0
  499. package/dist/cdn/PU2QD4VP.js +4 -0
  500. package/dist/cdn/PUXFNZ7Z.js +4 -0
  501. package/dist/cdn/PXCM2CPX.js +4 -0
  502. package/dist/cdn/PXMQNLKJ.js +42 -0
  503. package/dist/cdn/PYSPXN5O.js +4 -0
  504. package/dist/cdn/PZMYVIUU.js +4 -0
  505. package/dist/cdn/PZVVZRKJ.js +4 -0
  506. package/dist/cdn/Q2PP57W6.js +4 -0
  507. package/dist/cdn/Q2PZRQLS.js +4 -0
  508. package/dist/cdn/Q32V4Z3J.js +4 -0
  509. package/dist/cdn/Q34IVZFU.js +4 -0
  510. package/dist/cdn/Q3DTHMXM.js +4 -0
  511. package/dist/cdn/Q3YRXRBV.js +4 -0
  512. package/dist/cdn/Q74F33SA.js +4 -0
  513. package/dist/cdn/Q7CV4MKO.js +4 -0
  514. package/dist/cdn/QAS34ZDV.js +4 -0
  515. package/dist/cdn/QB3JQLD5.js +4 -0
  516. package/dist/cdn/QB3YMIJB.js +4 -0
  517. package/dist/cdn/QBOJMGCB.js +4 -0
  518. package/dist/cdn/QJTYQF7N.js +4 -0
  519. package/dist/cdn/QMXEEOZ7.js +4 -0
  520. package/dist/cdn/QPYA2XKZ.js +4 -0
  521. package/dist/cdn/QQQYPVND.js +4 -0
  522. package/dist/cdn/QR5BIX3A.js +4 -0
  523. package/dist/cdn/QR7PH3QP.js +4 -0
  524. package/dist/cdn/QRHRQRRY.js +4 -0
  525. package/dist/cdn/QRTAYS6V.js +4 -0
  526. package/dist/cdn/QS4OU37A.js +4 -0
  527. package/dist/cdn/QSBYDZTY.js +4 -0
  528. package/dist/cdn/QU7JSXOX.js +4 -0
  529. package/dist/cdn/QVAFBXWK.js +4 -0
  530. package/dist/cdn/QVY7Q334.js +4 -0
  531. package/dist/cdn/QZXOJSR6.js +4 -0
  532. package/dist/cdn/QZYU45XT.js +4 -0
  533. package/dist/cdn/R7TBM5ZN.js +4 -0
  534. package/dist/cdn/RCTOUT2X.js +4 -0
  535. package/dist/cdn/RE2337YM.js +4 -0
  536. package/dist/cdn/RFCBGE4T.js +4 -0
  537. package/dist/cdn/RFDS2HUC.js +4 -0
  538. package/dist/cdn/RHM7R25F.js +4 -0
  539. package/dist/cdn/RKPOXQHO.js +4 -0
  540. package/dist/cdn/RLV2DEVJ.js +4 -0
  541. package/dist/cdn/ROEB4ZEG.js +4 -0
  542. package/dist/cdn/RPCI3FAN.js +4 -0
  543. package/dist/cdn/RPCKA2EO.js +4 -0
  544. package/dist/cdn/RQAEYXXF.js +4 -0
  545. package/dist/cdn/RQU2JOYK.js +4 -0
  546. package/dist/cdn/RQWB2AGY.js +4 -0
  547. package/dist/cdn/RR4MVFST.js +4 -0
  548. package/dist/cdn/RSSSAWZV.js +4 -0
  549. package/dist/cdn/RWWNOWAG.js +4 -0
  550. package/dist/cdn/RZNC3G5N.js +4 -0
  551. package/dist/cdn/S2DM5LOE.js +4 -0
  552. package/dist/cdn/S2SPMSWW.js +4 -0
  553. package/dist/cdn/SBTCWI3O.js +4 -0
  554. package/dist/cdn/SCCSQ27W.js +4 -0
  555. package/dist/cdn/SD5LHJMZ.js +4 -0
  556. package/dist/cdn/SDNVFDYT.js +4 -0
  557. package/dist/cdn/SF2CVPE5.js +4 -0
  558. package/dist/cdn/SFGGYQUN.js +4 -0
  559. package/dist/cdn/SFI44GS6.js +4 -0
  560. package/dist/cdn/SG7C7ILR.js +4 -0
  561. package/dist/cdn/SH2SGGLF.js +4 -0
  562. package/dist/cdn/SJ4EKHXV.js +4 -0
  563. package/dist/cdn/SJ4NKD2J.js +4 -0
  564. package/dist/cdn/SLECLRZR.js +4 -0
  565. package/dist/cdn/SN2RHPGN.js +4 -0
  566. package/dist/cdn/SQKU74KD.js +4 -0
  567. package/dist/cdn/SQOKTUPT.js +4 -0
  568. package/dist/cdn/SRGWB6TM.js +4 -0
  569. package/dist/cdn/SSVNLBUF.js +4 -0
  570. package/dist/cdn/SUOOIMX2.js +4 -0
  571. package/dist/cdn/SW4JFCZP.js +5470 -0
  572. package/dist/cdn/SYDFPXJ3.js +4 -0
  573. package/dist/cdn/SYJRCYNG.js +4 -0
  574. package/dist/cdn/SZXJOO5L.js +4 -0
  575. package/dist/cdn/T36A62MI.js +4 -0
  576. package/dist/cdn/T43OJ44N.js +4 -0
  577. package/dist/cdn/T67WXFNK.js +4 -0
  578. package/dist/cdn/T6SG2XH2.js +4 -0
  579. package/dist/cdn/T7J4NN75.js +4 -0
  580. package/dist/cdn/T7PWMNK6.js +4 -0
  581. package/dist/cdn/T7YJPXCJ.js +4 -0
  582. package/dist/cdn/TABBK3HC.js +4 -0
  583. package/dist/cdn/TAOYAQGV.js +4 -0
  584. package/dist/cdn/TBA4T3DV.js +4 -0
  585. package/dist/cdn/TBNHXEXP.js +4 -0
  586. package/dist/cdn/TC5IXFET.js +4 -0
  587. package/dist/cdn/TCC7VWQ7.js +4 -0
  588. package/dist/cdn/TCSDESYE.js +4 -0
  589. package/dist/cdn/TDJOVHL3.js +4 -0
  590. package/dist/cdn/TDPCRGAO.js +4 -0
  591. package/dist/cdn/TG76EECQ.js +4 -0
  592. package/dist/cdn/TGB6JKBZ.js +4 -0
  593. package/dist/cdn/THQKKMU4.js +4 -0
  594. package/dist/cdn/THXBLPGB.js +4 -0
  595. package/dist/cdn/TKNUAZXT.js +4 -0
  596. package/dist/cdn/TLRYEYKZ.js +5 -0
  597. package/dist/cdn/TMVMHJCC.js +4 -0
  598. package/dist/cdn/TORAVEPT.js +4 -0
  599. package/dist/cdn/TRRQD6PB.js +4 -0
  600. package/dist/cdn/TVVLHEJQ.js +4 -0
  601. package/dist/cdn/TXBQWRBV.js +4 -0
  602. package/dist/cdn/TXONSBJV.js +4 -0
  603. package/dist/cdn/TYROFW2Z.js +5 -0
  604. package/dist/cdn/TZJDK5TN.js +4 -0
  605. package/dist/cdn/U6JA7FJA.js +4 -0
  606. package/dist/cdn/UBNH47BY.js +4 -0
  607. package/dist/cdn/UEI4QZVZ.js +4 -0
  608. package/dist/cdn/UEQHZBYW.js +4 -0
  609. package/dist/cdn/UF4RUCAQ.js +4 -0
  610. package/dist/cdn/UFPSBAGG.js +4 -0
  611. package/dist/cdn/UG4A7XJQ.js +4 -0
  612. package/dist/cdn/UJ6OGTLY.js +4 -0
  613. package/dist/cdn/UJW35GHA.js +4 -0
  614. package/dist/cdn/UKIZ6SRV.js +4 -0
  615. package/dist/cdn/UL5FZWOE.js +4 -0
  616. package/dist/cdn/UNKMSPKN.js +4 -0
  617. package/dist/cdn/US7KM5HH.js +4 -0
  618. package/dist/cdn/USA24IY2.js +4 -0
  619. package/dist/cdn/USTMYFL2.js +4 -0
  620. package/dist/cdn/UTZP7A2Y.js +4 -0
  621. package/dist/cdn/UY7MOBSS.js +8 -0
  622. package/dist/cdn/UYVVRQHM.js +4 -0
  623. package/dist/cdn/V22BYCLB.js +4 -0
  624. package/dist/cdn/V263JPAX.js +4 -0
  625. package/dist/cdn/V3VLCRTJ.js +4 -0
  626. package/dist/cdn/V5EYQKYH.js +4 -0
  627. package/dist/cdn/VDTUFH5G.js +4 -0
  628. package/dist/cdn/VHKV7M3U.js +4 -0
  629. package/dist/cdn/VKSEQEGB.js +4 -0
  630. package/dist/cdn/VKSI6LRO.js +4 -0
  631. package/dist/cdn/VL33K2WT.js +4 -0
  632. package/dist/cdn/VPQ7RDRF.js +4 -0
  633. package/dist/cdn/VQ7KAXVU.js +4 -0
  634. package/dist/cdn/VRAGLETH.js +4 -0
  635. package/dist/cdn/VSDCL55M.js +4 -0
  636. package/dist/cdn/VTH4SZQY.js +4 -0
  637. package/dist/cdn/VTLCMZRQ.js +4 -0
  638. package/dist/cdn/VUCXTV3C.js +4 -0
  639. package/dist/cdn/VXK5DP2I.js +4 -0
  640. package/dist/cdn/VZXXRUFO.js +4 -0
  641. package/dist/cdn/W4YEJ4EJ.js +4 -0
  642. package/dist/cdn/W5H6RFSR.js +4 -0
  643. package/dist/cdn/W5RC4BQJ.js +4 -0
  644. package/dist/cdn/W6RWQO4F.js +4 -0
  645. package/dist/cdn/WBJ3SLMH.js +3 -0
  646. package/dist/cdn/WBPQJLRB.js +4 -0
  647. package/dist/cdn/WBY7EGCP.js +4 -0
  648. package/dist/cdn/WC7NELYK.js +4 -0
  649. package/dist/cdn/WDBJ73R3.js +4 -0
  650. package/dist/cdn/WFSFZF7W.js +4 -0
  651. package/dist/cdn/WHG3BEIC.js +4 -0
  652. package/dist/cdn/WIQ3BW67.js +4 -0
  653. package/dist/cdn/WKS7N4QQ.js +4 -0
  654. package/dist/cdn/WLM6TPKV.js +4 -0
  655. package/dist/cdn/WNN3DHKN.js +4 -0
  656. package/dist/cdn/WNXBTBSF.js +4 -0
  657. package/dist/cdn/WPTOJNBR.js +4 -0
  658. package/dist/cdn/WQYSJGNJ.js +4 -0
  659. package/dist/cdn/WR24JEWR.js +4 -0
  660. package/dist/cdn/WRSUHRV3.js +4 -0
  661. package/dist/cdn/WRVIOQRA.js +4 -0
  662. package/dist/cdn/WSMKCLHL.js +4 -0
  663. package/dist/cdn/WSOG6RR4.js +4 -0
  664. package/dist/cdn/WTXXVUGR.js +4 -0
  665. package/dist/cdn/WUYIPWGX.js +4 -0
  666. package/dist/cdn/WVBOH6JH.js +4 -0
  667. package/dist/cdn/WWSJFOUH.js +4 -0
  668. package/dist/cdn/WX7KIY4H.js +4 -0
  669. package/dist/cdn/WZVA2AO3.js +4 -0
  670. package/dist/cdn/X2C6JUGU.js +4 -0
  671. package/dist/cdn/X3VTYG3I.js +4 -0
  672. package/dist/cdn/X4CKALTM.js +4 -0
  673. package/dist/cdn/X4M6QO62.js +4 -0
  674. package/dist/cdn/X4NO7L3N.js +4 -0
  675. package/dist/cdn/X6ENNNDK.js +4 -0
  676. package/dist/cdn/XAZ7EZIS.js +4 -0
  677. package/dist/cdn/XDB2OO5U.js +4 -0
  678. package/dist/cdn/XDU3IX3U.js +4 -0
  679. package/dist/cdn/XFTGQ3LB.js +4 -0
  680. package/dist/cdn/XGCUB2IZ.js +4 -0
  681. package/dist/cdn/XIUJXP46.js +4 -0
  682. package/dist/cdn/XJD6KKC2.js +4 -0
  683. package/dist/cdn/XLRWXMMF.js +4 -0
  684. package/dist/cdn/XM6XE2VB.js +4 -0
  685. package/dist/cdn/XNB3AWNP.js +4 -0
  686. package/dist/cdn/XPRQZQJ3.js +5 -0
  687. package/dist/cdn/XPT6OML4.js +4 -0
  688. package/dist/cdn/XSU6LPYI.js +4 -0
  689. package/dist/cdn/XTFDY2MF.js +4 -0
  690. package/dist/cdn/XTWU7NWI.js +4 -0
  691. package/dist/cdn/XU3BVGMZ.js +4 -0
  692. package/dist/cdn/XVJT2UT6.js +4 -0
  693. package/dist/cdn/XVMLIQPH.js +4 -0
  694. package/dist/cdn/XX3E5BNG.js +4 -0
  695. package/dist/cdn/XYIG2GAY.js +4 -0
  696. package/dist/cdn/Y2MXUH7S.js +4 -0
  697. package/dist/cdn/Y37I6TUV.js +16 -0
  698. package/dist/cdn/Y3ISLENF.js +4 -0
  699. package/dist/cdn/Y52LHFGH.js +4 -0
  700. package/dist/cdn/Y6SN743H.js +4 -0
  701. package/dist/cdn/Y7YIYVZZ.js +4 -0
  702. package/dist/cdn/YD7VOE7X.js +4 -0
  703. package/dist/cdn/YETFX77Z.js +4 -0
  704. package/dist/cdn/YGN4SJQP.js +4 -0
  705. package/dist/cdn/YLJ5QBJL.js +4 -0
  706. package/dist/cdn/YLMRKHVL.js +4 -0
  707. package/dist/cdn/YLV4XYHW.js +4 -0
  708. package/dist/cdn/YP2ZGHBG.js +4 -0
  709. package/dist/cdn/YS2WLPNF.js +4 -0
  710. package/dist/cdn/YSQ65662.js +4 -0
  711. package/dist/cdn/YTN56TPL.js +4 -0
  712. package/dist/cdn/YUN5LFXT.js +4 -0
  713. package/dist/cdn/YVPKPOOM.js +4 -0
  714. package/dist/cdn/YVRBRQTB.js +4 -0
  715. package/dist/cdn/YXZQIYHH.js +4 -0
  716. package/dist/cdn/Z3VDSSQA.js +4 -0
  717. package/dist/cdn/Z67PWUTP.js +4 -0
  718. package/dist/cdn/ZCRHYTVA.js +4 -0
  719. package/dist/cdn/ZCVI5E5T.js +51 -0
  720. package/dist/cdn/ZJBJB5YQ.js +4 -0
  721. package/dist/cdn/ZKQZLLQ5.js +4 -0
  722. package/dist/cdn/ZM7IGABF.js +4 -0
  723. package/dist/cdn/ZNYXJX6Z.js +24 -0
  724. package/dist/cdn/ZO6KCN2B.js +4 -0
  725. package/dist/cdn/ZQ63IKT7.js +4 -0
  726. package/dist/cdn/ZQC2FVAL.js +4 -0
  727. package/dist/cdn/ZQC7ZKHW.js +4 -0
  728. package/dist/cdn/ZRAM56ME.js +4 -0
  729. package/dist/cdn/ZS4BVHRV.js +4 -0
  730. package/dist/cdn/ZSIPRGWI.js +4 -0
  731. package/dist/cdn/ZUCPDRFS.js +4 -0
  732. package/dist/cdn/ZVJUCGI7.js +4 -0
  733. package/dist/cdn/ZVUMA4DO.js +4 -0
  734. package/dist/cdn/ZVZI3VUE.js +4 -0
  735. package/dist/cdn/ZYLIZ7DB.js +4 -0
  736. package/dist/cdn/assets/chat-ui/t9n/messages.en.json +1 -1
  737. package/dist/cdn/index.js +3 -3
  738. package/dist/chunks/chat-action.js +29 -0
  739. package/dist/chunks/getResponsiveClasses.js +2 -2
  740. package/dist/chunks/interpolate-translations.js +2 -2
  741. package/dist/chunks/migrateTextCard.js +2 -2
  742. package/dist/chunks/processLayout.js +2 -2
  743. package/dist/chunks/runtime.js +3 -3
  744. package/dist/chunks/state.js +2 -2
  745. package/dist/chunks/typeGuards.js +2 -2
  746. package/dist/chunks/useT9n.js +2 -2
  747. package/dist/chunks/util.js +2 -2
  748. package/dist/components/arcgis-chat-shell/customElement.js +2 -2
  749. package/dist/components/arcgis-chat-ui/customElement.d.ts +5 -0
  750. package/dist/components/arcgis-chat-ui/customElement.js +54 -58
  751. package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.d.ts +2 -1
  752. package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +7 -17
  753. package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.d.ts +2 -1
  754. package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +18 -18
  755. package/dist/components/arcgis-chat-ui/functional/chat-status/customElement.js +2 -2
  756. package/dist/components/arcgis-chat-ui/index.d.ts +2 -0
  757. package/dist/components/arcgis-chat-ui/index.js +2 -0
  758. package/dist/components/arcgis-chat-ui/util/constants.d.ts +1 -0
  759. package/dist/components/arcgis-hub-ai-assistant/customElement.d.ts +2 -2
  760. package/dist/components/arcgis-hub-ai-assistant/customElement.js +72 -79
  761. package/dist/components/arcgis-hub-entity-associations-card/customElement.js +2 -2
  762. package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +2 -2
  763. package/dist/components/arcgis-hub-entity-status-card/customElement.js +2 -2
  764. package/dist/components/arcgis-layout/customElement.js +2 -2
  765. package/dist/components/arcgis-layout-column/customElement.js +2 -2
  766. package/dist/components/arcgis-layout-container/customElement.js +2 -2
  767. package/dist/components/arcgis-layout-editor-toolbar/customElement.js +7 -7
  768. package/dist/components/arcgis-layout-editor-toolbar/index.d.ts +1 -1
  769. package/dist/components/arcgis-layout-editor-toolbar/index.js +1 -1
  770. package/dist/components/arcgis-layout-node-controls/customElement.js +2 -2
  771. package/dist/components/arcgis-layout-node-editor/customElement.js +2 -2
  772. package/dist/components/arcgis-layout-row/customElement.js +2 -2
  773. package/dist/components/arcgis-layout-section/customElement.js +2 -2
  774. package/dist/components/arcgis-nav-card/customElement.js +2 -2
  775. package/dist/components/arcgis-text-card/customElement.js +2 -2
  776. package/dist/components/layouts/components/layout-node/customElement.js +2 -2
  777. package/dist/docs/api.json +65 -5
  778. package/dist/docs/docs.json +61 -3
  779. package/dist/docs/vscode.html-custom-data.json +9 -1
  780. package/dist/docs/web-types.json +34 -4
  781. package/dist/embed-config.js +2 -2
  782. package/dist/index.d.ts +1 -0
  783. package/dist/index.js +2 -2
  784. package/dist/loader.js +5 -5
  785. package/dist/types/lumina.d.ts +2 -1
  786. package/dist/types/preact.d.ts +2 -1
  787. package/dist/types/react.d.ts +2 -1
  788. package/dist/types/stencil.d.ts +2 -1
  789. package/dist/util/configuration.d.ts +4 -0
  790. package/package.json +1 -1
  791. package/dist/cdn/22OX3RIJ.js +0 -4
  792. package/dist/cdn/22YGK3AG.js +0 -4
  793. package/dist/cdn/23HRHROB.js +0 -4
  794. package/dist/cdn/24N37AIY.js +0 -4
  795. package/dist/cdn/257DAV2N.js +0 -4
  796. package/dist/cdn/25GPKORD.js +0 -4
  797. package/dist/cdn/2C3DGITH.js +0 -4
  798. package/dist/cdn/2DPKUMLU.js +0 -4
  799. package/dist/cdn/2FXPTMFA.js +0 -4
  800. package/dist/cdn/2GQIHYKD.js +0 -4
  801. package/dist/cdn/2JE32FPP.js +0 -4
  802. package/dist/cdn/2LUFALGS.js +0 -4
  803. package/dist/cdn/2MNHCSQ7.js +0 -4
  804. package/dist/cdn/2MYKGIIZ.js +0 -4
  805. package/dist/cdn/2NS5B5MG.js +0 -4
  806. package/dist/cdn/2P2JP4Q2.js +0 -4
  807. package/dist/cdn/2QR7C3XJ.js +0 -4
  808. package/dist/cdn/2RCQFURD.js +0 -4
  809. package/dist/cdn/2RFXE5RR.js +0 -4
  810. package/dist/cdn/2RZUZCMQ.js +0 -4
  811. package/dist/cdn/2WEJWLKF.js +0 -4
  812. package/dist/cdn/2WUXC6SG.js +0 -4
  813. package/dist/cdn/32GDPHDN.js +0 -4
  814. package/dist/cdn/336ULTTZ.js +0 -4
  815. package/dist/cdn/33QAOZXV.js +0 -4
  816. package/dist/cdn/34DZO6JC.js +0 -4
  817. package/dist/cdn/376NK33Z.js +0 -4
  818. package/dist/cdn/3ADPJ3RA.js +0 -4
  819. package/dist/cdn/3AMHCJNZ.js +0 -4
  820. package/dist/cdn/3CRYVBFU.js +0 -4
  821. package/dist/cdn/3DKUNDWV.js +0 -4
  822. package/dist/cdn/3ESE47ZH.js +0 -4
  823. package/dist/cdn/3FAH6ERC.js +0 -4
  824. package/dist/cdn/3FX47OJT.js +0 -4
  825. package/dist/cdn/3G2SK2L6.js +0 -4
  826. package/dist/cdn/3ITOV3ON.js +0 -4
  827. package/dist/cdn/3IYFTBOM.js +0 -4
  828. package/dist/cdn/3JCWVTCW.js +0 -4
  829. package/dist/cdn/3K7PZDFE.js +0 -4
  830. package/dist/cdn/3L53FSEV.js +0 -4
  831. package/dist/cdn/3PF7P6NS.js +0 -4
  832. package/dist/cdn/3PLXWMTJ.js +0 -4
  833. package/dist/cdn/3PXLVPR4.js +0 -4
  834. package/dist/cdn/3RFFZCYQ.js +0 -4
  835. package/dist/cdn/3UMF3AMN.js +0 -4
  836. package/dist/cdn/3XD5HZ2A.js +0 -4
  837. package/dist/cdn/3XEJ2XDG.js +0 -4
  838. package/dist/cdn/3XTY7KN4.js +0 -4
  839. package/dist/cdn/3XXD4M22.js +0 -4
  840. package/dist/cdn/3YUIWZZN.js +0 -4
  841. package/dist/cdn/423LK6TG.js +0 -4
  842. package/dist/cdn/43NYI26R.js +0 -4
  843. package/dist/cdn/4CWQTDV3.js +0 -4
  844. package/dist/cdn/4FJ3BRJ6.js +0 -4
  845. package/dist/cdn/4IAUN6HA.js +0 -4
  846. package/dist/cdn/4IIBSIL5.js +0 -4
  847. package/dist/cdn/4J4GIYK3.js +0 -4
  848. package/dist/cdn/4J53UMUS.js +0 -4
  849. package/dist/cdn/4JM3OGBW.js +0 -4
  850. package/dist/cdn/4KR4V43N.js +0 -4
  851. package/dist/cdn/4MU35MQJ.js +0 -4
  852. package/dist/cdn/4NFF53ZV.js +0 -4
  853. package/dist/cdn/4NIAWDIC.js +0 -4
  854. package/dist/cdn/4PCZJMZI.js +0 -4
  855. package/dist/cdn/4PHVKWY2.js +0 -4
  856. package/dist/cdn/4S6ZCTYF.js +0 -4
  857. package/dist/cdn/4TEBTCAD.js +0 -4
  858. package/dist/cdn/4VA7AE5M.js +0 -4
  859. package/dist/cdn/4YVFWURU.js +0 -4
  860. package/dist/cdn/5366IC7O.js +0 -4
  861. package/dist/cdn/54N2AHXP.js +0 -4
  862. package/dist/cdn/55OQD4M5.js +0 -4
  863. package/dist/cdn/56CCTSQI.js +0 -4
  864. package/dist/cdn/56CCZTBU.js +0 -4
  865. package/dist/cdn/57A2ODNA.js +0 -4
  866. package/dist/cdn/57IBTDTM.js +0 -4
  867. package/dist/cdn/5CA2KX5W.js +0 -4
  868. package/dist/cdn/5F3DAQ5C.js +0 -4
  869. package/dist/cdn/5HRLU347.js +0 -4
  870. package/dist/cdn/5INGVTRY.js +0 -4
  871. package/dist/cdn/5JTPHS7C.js +0 -4
  872. package/dist/cdn/5JVCPCSO.js +0 -4
  873. package/dist/cdn/5KBQSIEC.js +0 -4
  874. package/dist/cdn/5LYE4NUW.js +0 -4
  875. package/dist/cdn/5OQIQNY6.js +0 -4
  876. package/dist/cdn/5PU73JG7.js +0 -4
  877. package/dist/cdn/5QZ35MGT.js +0 -4
  878. package/dist/cdn/5SAB72RB.js +0 -4
  879. package/dist/cdn/5TATJQXX.js +0 -4
  880. package/dist/cdn/5UGUSKGK.js +0 -4
  881. package/dist/cdn/5VUCJTLG.js +0 -4
  882. package/dist/cdn/5X6XSXTJ.js +0 -4
  883. package/dist/cdn/5XCF2U2P.js +0 -4
  884. package/dist/cdn/5YZVAFJG.js +0 -4
  885. package/dist/cdn/62C4HGGS.js +0 -4
  886. package/dist/cdn/63V5YKZT.js +0 -4
  887. package/dist/cdn/65Z56JNK.js +0 -4
  888. package/dist/cdn/6BPZ2ULY.js +0 -4
  889. package/dist/cdn/6CZ4VXMQ.js +0 -4
  890. package/dist/cdn/6CZNS7UH.js +0 -5
  891. package/dist/cdn/6FWBIFQQ.js +0 -4
  892. package/dist/cdn/6I2G45ND.js +0 -4
  893. package/dist/cdn/6JQA3HEE.js +0 -4
  894. package/dist/cdn/6L5YGABC.js +0 -4
  895. package/dist/cdn/6OESL4LV.js +0 -4
  896. package/dist/cdn/6PM53ZIA.js +0 -4
  897. package/dist/cdn/6QJBJLKK.js +0 -4
  898. package/dist/cdn/6QK6AXU6.js +0 -6
  899. package/dist/cdn/6RSIRVA3.js +0 -4
  900. package/dist/cdn/6SQJHSAT.js +0 -4
  901. package/dist/cdn/6SRMLA4G.js +0 -4
  902. package/dist/cdn/6VL2GOEF.js +0 -4
  903. package/dist/cdn/6VTUEWU7.js +0 -4
  904. package/dist/cdn/6W4L6BHK.js +0 -4
  905. package/dist/cdn/6YTHQIKJ.js +0 -4
  906. package/dist/cdn/72Q36UVW.js +0 -4
  907. package/dist/cdn/74KFA2JN.js +0 -4
  908. package/dist/cdn/76IJ7UX2.js +0 -4
  909. package/dist/cdn/773VBJCI.js +0 -4
  910. package/dist/cdn/77RMDKCG.js +0 -4
  911. package/dist/cdn/7BF6WIVW.js +0 -4
  912. package/dist/cdn/7D6FTNOV.js +0 -4
  913. package/dist/cdn/7DCGYRSE.js +0 -4
  914. package/dist/cdn/7HD7CFG2.js +0 -4
  915. package/dist/cdn/7INN53OE.js +0 -4
  916. package/dist/cdn/7K2TICKL.js +0 -4
  917. package/dist/cdn/7KMZ5HQX.js +0 -4
  918. package/dist/cdn/7KQW6L2O.js +0 -4
  919. package/dist/cdn/7KSVYTCI.js +0 -4
  920. package/dist/cdn/7LKCN5LP.js +0 -4
  921. package/dist/cdn/7LRZVTQH.js +0 -4
  922. package/dist/cdn/7P3CWYPK.js +0 -4
  923. package/dist/cdn/7PI3TPBO.js +0 -4
  924. package/dist/cdn/7PJ2HIV7.js +0 -4
  925. package/dist/cdn/7QNXWP5P.js +0 -4
  926. package/dist/cdn/7UBBGLD4.js +0 -4
  927. package/dist/cdn/7UGUS33Y.js +0 -4
  928. package/dist/cdn/7UMAACBS.js +0 -4
  929. package/dist/cdn/7UMO6BSB.js +0 -4
  930. package/dist/cdn/7WIKZDT2.js +0 -4
  931. package/dist/cdn/7WKVS5YI.js +0 -4
  932. package/dist/cdn/7XCLJEMF.js +0 -4
  933. package/dist/cdn/A24DMP7N.js +0 -4
  934. package/dist/cdn/A2D5SCGQ.js +0 -4
  935. package/dist/cdn/A4GCZJTY.js +0 -4
  936. package/dist/cdn/A7KZZ56U.js +0 -4
  937. package/dist/cdn/A7ZWLS6B.js +0 -4
  938. package/dist/cdn/AETAU45C.js +0 -4
  939. package/dist/cdn/AJ6GGK2S.js +0 -4
  940. package/dist/cdn/AJH7KSNA.js +0 -4
  941. package/dist/cdn/AMPIYEGE.js +0 -4
  942. package/dist/cdn/AVK2TLPH.js +0 -4
  943. package/dist/cdn/AWEXGWWR.js +0 -4
  944. package/dist/cdn/AWUKYJ5T.js +0 -4
  945. package/dist/cdn/B256W3JC.js +0 -4
  946. package/dist/cdn/B2J4EFXP.js +0 -4
  947. package/dist/cdn/B453JYAV.js +0 -4
  948. package/dist/cdn/B4AU4YR2.js +0 -4
  949. package/dist/cdn/B4MFJMT5.js +0 -4
  950. package/dist/cdn/B5U73K65.js +0 -4
  951. package/dist/cdn/B7CFI2PN.js +0 -4
  952. package/dist/cdn/BA73GIJT.js +0 -4
  953. package/dist/cdn/BAJIJUBC.js +0 -4
  954. package/dist/cdn/BB5WGQMJ.js +0 -16
  955. package/dist/cdn/BBSHFY2N.js +0 -4
  956. package/dist/cdn/BCEYEQFL.js +0 -4
  957. package/dist/cdn/BDDHEW2O.js +0 -4
  958. package/dist/cdn/BDK4PC7C.js +0 -4
  959. package/dist/cdn/BHXXP5UL.js +0 -4
  960. package/dist/cdn/BIBW6JRR.js +0 -4
  961. package/dist/cdn/BJKGJW4W.js +0 -4
  962. package/dist/cdn/BKSKZHEZ.js +0 -4
  963. package/dist/cdn/BN73LDBB.js +0 -4
  964. package/dist/cdn/BPESKGIX.js +0 -4
  965. package/dist/cdn/BSAZZUU3.js +0 -4
  966. package/dist/cdn/BTGWGRD6.js +0 -4
  967. package/dist/cdn/BUYNZQWF.js +0 -4
  968. package/dist/cdn/BWWDKHFW.js +0 -4
  969. package/dist/cdn/BX3243JK.js +0 -4
  970. package/dist/cdn/C2CMDNE5.js +0 -4
  971. package/dist/cdn/C4QNF62J.js +0 -4
  972. package/dist/cdn/C4XJKMFO.js +0 -4
  973. package/dist/cdn/C5N32EVV.js +0 -5
  974. package/dist/cdn/C63OBMLB.js +0 -4
  975. package/dist/cdn/C6CMAFV2.js +0 -4
  976. package/dist/cdn/C6VLMJ46.js +0 -4
  977. package/dist/cdn/CA4GL4IY.js +0 -4
  978. package/dist/cdn/CBGDGE4Z.js +0 -4
  979. package/dist/cdn/CC5UEVWZ.js +0 -4
  980. package/dist/cdn/CCP6XSQU.js +0 -4
  981. package/dist/cdn/CFW7DIFC.js +0 -4
  982. package/dist/cdn/CJZD5GOL.js +0 -4
  983. package/dist/cdn/CK2HVQPM.js +0 -4
  984. package/dist/cdn/CLVHWDAT.js +0 -4
  985. package/dist/cdn/CMFRRZHL.js +0 -4
  986. package/dist/cdn/CMU7SEPK.js +0 -4
  987. package/dist/cdn/COAQGD32.js +0 -4
  988. package/dist/cdn/CPGLAJ4S.js +0 -4
  989. package/dist/cdn/CPKFHKHN.js +0 -4
  990. package/dist/cdn/CROILMII.js +0 -4
  991. package/dist/cdn/CTLYDRTN.js +0 -4
  992. package/dist/cdn/CTNDB7J3.js +0 -4
  993. package/dist/cdn/CU27Q7RG.js +0 -4
  994. package/dist/cdn/CUIGOJ2Q.js +0 -4
  995. package/dist/cdn/CVMJOUN4.js +0 -12
  996. package/dist/cdn/CVRYOQPN.js +0 -4
  997. package/dist/cdn/CWBD74ZT.js +0 -4
  998. package/dist/cdn/CWCGNDSO.js +0 -4
  999. package/dist/cdn/CWZHP7QE.js +0 -4
  1000. package/dist/cdn/CY4UJFI7.js +0 -4
  1001. package/dist/cdn/CYJL3M6G.js +0 -4
  1002. package/dist/cdn/CZ3J3IDF.js +0 -4
  1003. package/dist/cdn/CZ4HTXPC.js +0 -4
  1004. package/dist/cdn/CZNDOKPO.js +0 -4
  1005. package/dist/cdn/CZTCD2IG.js +0 -4
  1006. package/dist/cdn/D3IQKMMN.js +0 -4
  1007. package/dist/cdn/D5HVQY7Q.js +0 -4
  1008. package/dist/cdn/D6ID4YLW.js +0 -4
  1009. package/dist/cdn/DCXGRVLO.js +0 -4
  1010. package/dist/cdn/DELUHPMG.js +0 -4
  1011. package/dist/cdn/DFACVHK3.js +0 -4
  1012. package/dist/cdn/DFAVLMLI.js +0 -4
  1013. package/dist/cdn/DFMY7XQQ.js +0 -4
  1014. package/dist/cdn/DIGJN347.js +0 -4
  1015. package/dist/cdn/DLTEK5AZ.js +0 -4
  1016. package/dist/cdn/DS5LHRZK.js +0 -4
  1017. package/dist/cdn/DVO47PQ4.js +0 -4
  1018. package/dist/cdn/DVOJOTL7.js +0 -4
  1019. package/dist/cdn/DXYRBPDO.js +0 -4
  1020. package/dist/cdn/DZ2BP25M.js +0 -4
  1021. package/dist/cdn/E3KGQQPJ.js +0 -4
  1022. package/dist/cdn/E4A2ABPX.js +0 -4
  1023. package/dist/cdn/E5GGCYBD.js +0 -4
  1024. package/dist/cdn/E7WHKKT7.js +0 -4
  1025. package/dist/cdn/EA7UY7KS.js +0 -4
  1026. package/dist/cdn/EAXIAS6Z.js +0 -4
  1027. package/dist/cdn/EC6OECH4.js +0 -4
  1028. package/dist/cdn/EFSLHAOQ.js +0 -4
  1029. package/dist/cdn/EIF557IV.js +0 -4
  1030. package/dist/cdn/ELESGU5U.js +0 -4
  1031. package/dist/cdn/EMFZKTCI.js +0 -4
  1032. package/dist/cdn/EMHISPWG.js +0 -4
  1033. package/dist/cdn/ENJYVJRP.js +0 -4
  1034. package/dist/cdn/EOP33RRJ.js +0 -4
  1035. package/dist/cdn/EP6A6CWJ.js +0 -4
  1036. package/dist/cdn/ERGX6AAZ.js +0 -4
  1037. package/dist/cdn/ESXY4VTX.js +0 -4
  1038. package/dist/cdn/EU75ADHC.js +0 -4
  1039. package/dist/cdn/EVA34R3L.js +0 -4
  1040. package/dist/cdn/EVPEJOGI.js +0 -4
  1041. package/dist/cdn/EXGTSE5P.js +0 -4
  1042. package/dist/cdn/EXMX3GXI.js +0 -4
  1043. package/dist/cdn/EYOAS4RD.js +0 -4
  1044. package/dist/cdn/EYVQ5KUK.js +0 -4
  1045. package/dist/cdn/EYWCODHJ.js +0 -6
  1046. package/dist/cdn/EZY3NWSF.js +0 -4
  1047. package/dist/cdn/F45AP4DC.js +0 -4
  1048. package/dist/cdn/F4MIV4RT.js +0 -59
  1049. package/dist/cdn/F4SO4OUQ.js +0 -4
  1050. package/dist/cdn/F4UBPWE3.js +0 -4
  1051. package/dist/cdn/F7NMUL4L.js +0 -4
  1052. package/dist/cdn/FABT57ZN.js +0 -4
  1053. package/dist/cdn/FEHY7NIG.js +0 -4
  1054. package/dist/cdn/FERQFBNJ.js +0 -4
  1055. package/dist/cdn/FJ5NIHIO.js +0 -4
  1056. package/dist/cdn/FNN4LRWA.js +0 -4
  1057. package/dist/cdn/FOABWQZB.js +0 -4
  1058. package/dist/cdn/FOEZLKPI.js +0 -4
  1059. package/dist/cdn/FQCPTLLC.js +0 -4
  1060. package/dist/cdn/FRKGXIZQ.js +0 -4
  1061. package/dist/cdn/FU23BFCD.js +0 -4
  1062. package/dist/cdn/FWO6DBZ7.js +0 -4
  1063. package/dist/cdn/FZDWBAH3.js +0 -4
  1064. package/dist/cdn/G234DDMN.js +0 -4
  1065. package/dist/cdn/G6BETMK5.js +0 -4
  1066. package/dist/cdn/G7AOVQFQ.js +0 -4
  1067. package/dist/cdn/GCF5IYDR.js +0 -4
  1068. package/dist/cdn/GCT7FPF4.js +0 -4
  1069. package/dist/cdn/GEYON3NS.js +0 -4
  1070. package/dist/cdn/GJZBMWAW.js +0 -4
  1071. package/dist/cdn/GM333FGJ.js +0 -4
  1072. package/dist/cdn/GN3FCMVS.js +0 -4
  1073. package/dist/cdn/GNUDYKPO.js +0 -4
  1074. package/dist/cdn/GOV5KDN3.js +0 -4
  1075. package/dist/cdn/GOV7GUI7.js +0 -4
  1076. package/dist/cdn/GP5HGMCP.js +0 -4
  1077. package/dist/cdn/GPUJERLJ.js +0 -4
  1078. package/dist/cdn/GQCBBBGV.js +0 -4
  1079. package/dist/cdn/GR3OREUE.js +0 -4
  1080. package/dist/cdn/GRGMV4G5.js +0 -4
  1081. package/dist/cdn/GT5GCRHM.js +0 -4
  1082. package/dist/cdn/GV3DCEWQ.js +0 -4
  1083. package/dist/cdn/GYRJ6CCO.js +0 -4
  1084. package/dist/cdn/GZG3OMBE.js +0 -4
  1085. package/dist/cdn/GZSXI6OK.js +0 -4
  1086. package/dist/cdn/H2YDZW7W.js +0 -4
  1087. package/dist/cdn/H46YWXH6.js +0 -4
  1088. package/dist/cdn/H6BQFJFV.js +0 -4
  1089. package/dist/cdn/HGLACPHM.js +0 -4
  1090. package/dist/cdn/HIPFQPOI.js +0 -4
  1091. package/dist/cdn/HKF3JBCQ.js +0 -4
  1092. package/dist/cdn/HKJ76VRB.js +0 -4
  1093. package/dist/cdn/HKVEDUHG.js +0 -4
  1094. package/dist/cdn/HL6VBP7X.js +0 -4
  1095. package/dist/cdn/HNWPRXTE.js +0 -4
  1096. package/dist/cdn/HP5YPBJO.js +0 -4
  1097. package/dist/cdn/HQXJWEC4.js +0 -4
  1098. package/dist/cdn/HRKEIVMQ.js +0 -4
  1099. package/dist/cdn/HV2TWX5Z.js +0 -4
  1100. package/dist/cdn/HVIC6ILU.js +0 -4
  1101. package/dist/cdn/I3F6MLHK.js +0 -4
  1102. package/dist/cdn/I3PBINF5.js +0 -4
  1103. package/dist/cdn/I4XYASEU.js +0 -4
  1104. package/dist/cdn/I634SO7H.js +0 -4
  1105. package/dist/cdn/I7PDZGIC.js +0 -4
  1106. package/dist/cdn/IAYHRSYB.js +0 -4
  1107. package/dist/cdn/IEHWWDY5.js +0 -4
  1108. package/dist/cdn/IEPXSON6.js +0 -4
  1109. package/dist/cdn/IEZXQMD3.js +0 -4
  1110. package/dist/cdn/IFKDNSBE.js +0 -4
  1111. package/dist/cdn/IHGUTNYW.js +0 -4
  1112. package/dist/cdn/IIOKP5QT.js +0 -4
  1113. package/dist/cdn/IIYFGWNV.js +0 -4
  1114. package/dist/cdn/ILLBHGUX.js +0 -4
  1115. package/dist/cdn/IM7TITXT.js +0 -4
  1116. package/dist/cdn/IMRN6QH3.js +0 -4
  1117. package/dist/cdn/IRYFNWEX.js +0 -4
  1118. package/dist/cdn/ITPQYHY2.js +0 -4
  1119. package/dist/cdn/IVE6LFRT.js +0 -4
  1120. package/dist/cdn/IVF6KDBU.js +0 -4
  1121. package/dist/cdn/IYCAPQDU.js +0 -4
  1122. package/dist/cdn/J22TXAEE.js +0 -4
  1123. package/dist/cdn/J3JPIDVT.js +0 -4
  1124. package/dist/cdn/J56BSB6V.js +0 -4
  1125. package/dist/cdn/J5FRWPSD.js +0 -4
  1126. package/dist/cdn/J6GUS6FD.js +0 -4
  1127. package/dist/cdn/J6OKHNXV.js +0 -4
  1128. package/dist/cdn/J73SH6QQ.js +0 -4
  1129. package/dist/cdn/J7NRVBUW.js +0 -4
  1130. package/dist/cdn/JAJ3NCLM.js +0 -4
  1131. package/dist/cdn/JANHJOZF.js +0 -25
  1132. package/dist/cdn/JBGTDGGD.js +0 -4
  1133. package/dist/cdn/JDA4EZRI.js +0 -4
  1134. package/dist/cdn/JDHO7VXV.js +0 -4
  1135. package/dist/cdn/JDSARG3Q.js +0 -4
  1136. package/dist/cdn/JG6OBDXC.js +0 -4
  1137. package/dist/cdn/JJT7X2OT.js +0 -4
  1138. package/dist/cdn/JKWMWREG.js +0 -4
  1139. package/dist/cdn/JL3XYIIP.js +0 -4
  1140. package/dist/cdn/JLT5K24A.js +0 -4
  1141. package/dist/cdn/JQAV6SF6.js +0 -4
  1142. package/dist/cdn/JQHNPY2J.js +0 -4
  1143. package/dist/cdn/JQXWBY2D.js +0 -4
  1144. package/dist/cdn/JRISHM27.js +0 -4
  1145. package/dist/cdn/JSNC5MHV.js +0 -4
  1146. package/dist/cdn/JTLFLQIR.js +0 -4
  1147. package/dist/cdn/JTPD2QOZ.js +0 -4
  1148. package/dist/cdn/JUJW4S5S.js +0 -4
  1149. package/dist/cdn/JUXVHMGC.js +0 -4
  1150. package/dist/cdn/JWULKNPN.js +0 -4
  1151. package/dist/cdn/JXIKWYFJ.js +0 -4
  1152. package/dist/cdn/K3L6YWQL.js +0 -4
  1153. package/dist/cdn/K3Q6W6NS.js +0 -4
  1154. package/dist/cdn/K5SPZPYY.js +0 -4
  1155. package/dist/cdn/K5YKCDOW.js +0 -4
  1156. package/dist/cdn/K7RUNLSI.js +0 -4
  1157. package/dist/cdn/KA6GQXUN.js +0 -4
  1158. package/dist/cdn/KBJXNENJ.js +0 -4
  1159. package/dist/cdn/KDRWMIZX.js +0 -4
  1160. package/dist/cdn/KDSYAFBG.js +0 -4
  1161. package/dist/cdn/KEITMXPV.js +0 -4
  1162. package/dist/cdn/KI4AOBVP.js +0 -4
  1163. package/dist/cdn/KIOMTVJU.js +0 -4
  1164. package/dist/cdn/KJ7NGR3W.js +0 -4
  1165. package/dist/cdn/KJHRSXBG.js +0 -4
  1166. package/dist/cdn/KOQTY66M.js +0 -4
  1167. package/dist/cdn/KSI6GXRW.js +0 -4
  1168. package/dist/cdn/KU4BVZ2E.js +0 -4
  1169. package/dist/cdn/KXHL3YBP.js +0 -4
  1170. package/dist/cdn/KZXPOILB.js +0 -5470
  1171. package/dist/cdn/L36PQWBQ.js +0 -4
  1172. package/dist/cdn/L37GJY67.js +0 -4
  1173. package/dist/cdn/L4IWYZII.js +0 -4
  1174. package/dist/cdn/L5QKEPFI.js +0 -4
  1175. package/dist/cdn/L6FHAK6O.js +0 -4
  1176. package/dist/cdn/L6KHCLB3.js +0 -4
  1177. package/dist/cdn/L6O6R2KU.js +0 -4
  1178. package/dist/cdn/L7V63D73.js +0 -4
  1179. package/dist/cdn/LBQNLVSM.js +0 -4
  1180. package/dist/cdn/LD3EYB3Z.js +0 -4
  1181. package/dist/cdn/LDFMLZYB.js +0 -4
  1182. package/dist/cdn/LHGAX3O3.js +0 -4
  1183. package/dist/cdn/LI6ZOAME.js +0 -4
  1184. package/dist/cdn/LISFFMSJ.js +0 -4
  1185. package/dist/cdn/LLJGWR6C.js +0 -4
  1186. package/dist/cdn/LMT64KQU.js +0 -4
  1187. package/dist/cdn/LNILZWFP.js +0 -4
  1188. package/dist/cdn/LOBJJJER.js +0 -4
  1189. package/dist/cdn/LPLELLTZ.js +0 -4
  1190. package/dist/cdn/LQJXGUJR.js +0 -4
  1191. package/dist/cdn/LRX2OV3D.js +0 -4
  1192. package/dist/cdn/LXNXJUSQ.js +0 -4
  1193. package/dist/cdn/LYJBFYLI.js +0 -4
  1194. package/dist/cdn/M2K74366.js +0 -4
  1195. package/dist/cdn/M4STM6HB.js +0 -4
  1196. package/dist/cdn/M53PPDB4.js +0 -4
  1197. package/dist/cdn/M5J2GWWZ.js +0 -4
  1198. package/dist/cdn/M74VIWFC.js +0 -4
  1199. package/dist/cdn/M7UDWATI.js +0 -4
  1200. package/dist/cdn/MADADR2V.js +0 -4
  1201. package/dist/cdn/MBBM3AIJ.js +0 -4
  1202. package/dist/cdn/MBWJRRXW.js +0 -4
  1203. package/dist/cdn/MEFGISPA.js +0 -51
  1204. package/dist/cdn/MFITGTC4.js +0 -4
  1205. package/dist/cdn/MGAMVQBS.js +0 -4
  1206. package/dist/cdn/MIFC2KF3.js +0 -4
  1207. package/dist/cdn/MK72EZ5V.js +0 -4
  1208. package/dist/cdn/MMEVHGKG.js +0 -4
  1209. package/dist/cdn/MO42VJKU.js +0 -4
  1210. package/dist/cdn/MOF6ZMIE.js +0 -4
  1211. package/dist/cdn/MOY3EOVJ.js +0 -4
  1212. package/dist/cdn/MPSI6E5A.js +0 -4
  1213. package/dist/cdn/MRD6IH3J.js +0 -52
  1214. package/dist/cdn/MRESDJHZ.js +0 -4
  1215. package/dist/cdn/MRRF3SE5.js +0 -4
  1216. package/dist/cdn/MSBZ4AGD.js +0 -4
  1217. package/dist/cdn/MT5D7BSU.js +0 -8
  1218. package/dist/cdn/MUQRP4U4.js +0 -4
  1219. package/dist/cdn/MVKEIAVN.js +0 -4
  1220. package/dist/cdn/MXU444CD.js +0 -4
  1221. package/dist/cdn/MYGXLZMY.js +0 -4
  1222. package/dist/cdn/N3N57MUV.js +0 -4
  1223. package/dist/cdn/N5B5GYEJ.js +0 -4
  1224. package/dist/cdn/N5BJSUSM.js +0 -4
  1225. package/dist/cdn/N7BVA5BC.js +0 -4
  1226. package/dist/cdn/NBOCZE3F.js +0 -4
  1227. package/dist/cdn/NIG7OTTR.js +0 -4
  1228. package/dist/cdn/NIMCLH2N.js +0 -4
  1229. package/dist/cdn/NKQARVXP.js +0 -59
  1230. package/dist/cdn/NLC7CTA6.js +0 -4
  1231. package/dist/cdn/NM32IMRG.js +0 -4
  1232. package/dist/cdn/NOCMOUOG.js +0 -4
  1233. package/dist/cdn/NOPO5FOY.js +0 -4
  1234. package/dist/cdn/NPGYT2H2.js +0 -4
  1235. package/dist/cdn/NWFUNIRP.js +0 -4
  1236. package/dist/cdn/NWN4JXE2.js +0 -4
  1237. package/dist/cdn/NXM4LZHL.js +0 -9
  1238. package/dist/cdn/NZMM554N.js +0 -4
  1239. package/dist/cdn/NZNPRWY4.js +0 -4
  1240. package/dist/cdn/NZPJJQH7.js +0 -4
  1241. package/dist/cdn/O2DUUBMC.js +0 -4
  1242. package/dist/cdn/O2XKLBFL.js +0 -4
  1243. package/dist/cdn/O5CN3RK4.js +0 -4
  1244. package/dist/cdn/O5SHAPA7.js +0 -4
  1245. package/dist/cdn/O76BXI3L.js +0 -4
  1246. package/dist/cdn/ODEZRVGL.js +0 -9
  1247. package/dist/cdn/OGDDNMGK.js +0 -4
  1248. package/dist/cdn/OHT4FSHW.js +0 -4
  1249. package/dist/cdn/OINRC2D5.js +0 -4
  1250. package/dist/cdn/OJK5XZ66.js +0 -4
  1251. package/dist/cdn/OKGZTDWE.js +0 -4
  1252. package/dist/cdn/OM56TWGS.js +0 -5
  1253. package/dist/cdn/OPWOHDXI.js +0 -4
  1254. package/dist/cdn/OQRNMKUH.js +0 -4
  1255. package/dist/cdn/ORBGQMIR.js +0 -4
  1256. package/dist/cdn/OSD2Z2MJ.js +0 -4
  1257. package/dist/cdn/OSKDHACE.js +0 -4
  1258. package/dist/cdn/OT6NEO7M.js +0 -4
  1259. package/dist/cdn/OUPYHECN.js +0 -3
  1260. package/dist/cdn/OUQRGKWO.js +0 -5
  1261. package/dist/cdn/OVV4YUWQ.js +0 -4
  1262. package/dist/cdn/OXNVT24O.js +0 -4
  1263. package/dist/cdn/OYGJXGB2.js +0 -4
  1264. package/dist/cdn/OYKVMQZH.js +0 -4
  1265. package/dist/cdn/OZF242UN.js +0 -4
  1266. package/dist/cdn/OZNM6XNU.js +0 -4
  1267. package/dist/cdn/P2JTZLH6.js +0 -4
  1268. package/dist/cdn/P3T7NAOP.js +0 -4
  1269. package/dist/cdn/PAL4CC4Q.js +0 -4
  1270. package/dist/cdn/PAZPR3LX.js +0 -4
  1271. package/dist/cdn/PB7HQ5DH.js +0 -4
  1272. package/dist/cdn/PDORX3QY.js +0 -4
  1273. package/dist/cdn/PEBJR6MK.js +0 -4
  1274. package/dist/cdn/PEKPVTKU.js +0 -4
  1275. package/dist/cdn/PER4LZW3.js +0 -4
  1276. package/dist/cdn/PFG4SQGH.js +0 -4
  1277. package/dist/cdn/PFNMSJUW.js +0 -4
  1278. package/dist/cdn/PGEWPIRS.js +0 -4
  1279. package/dist/cdn/PGNQAYO3.js +0 -4
  1280. package/dist/cdn/PHKAYD63.js +0 -4
  1281. package/dist/cdn/PHT4TC3P.js +0 -4
  1282. package/dist/cdn/PJCK6AMU.js +0 -4
  1283. package/dist/cdn/PKOBKK7F.js +0 -4
  1284. package/dist/cdn/PKRO7LW7.js +0 -4
  1285. package/dist/cdn/PKS33A4Z.js +0 -4
  1286. package/dist/cdn/PLPUFJCX.js +0 -4
  1287. package/dist/cdn/PQFS6DO4.js +0 -4
  1288. package/dist/cdn/PRNUPFPN.js +0 -4
  1289. package/dist/cdn/PSTQSHLX.js +0 -4
  1290. package/dist/cdn/PTAKJI7G.js +0 -4
  1291. package/dist/cdn/PWOXAKXE.js +0 -4
  1292. package/dist/cdn/PYA5CB2E.js +0 -4
  1293. package/dist/cdn/PYQD4MB3.js +0 -4
  1294. package/dist/cdn/Q4GI2DJZ.js +0 -4
  1295. package/dist/cdn/Q4WN3W3Z.js +0 -4
  1296. package/dist/cdn/Q52WNBH7.js +0 -4
  1297. package/dist/cdn/Q7YFPP3S.js +0 -4
  1298. package/dist/cdn/QCLS2JIP.js +0 -4
  1299. package/dist/cdn/QD6UN2PM.js +0 -4
  1300. package/dist/cdn/QDIWAJ5J.js +0 -4
  1301. package/dist/cdn/QDJQRPJY.js +0 -4
  1302. package/dist/cdn/QETF66XM.js +0 -4
  1303. package/dist/cdn/QEYEPGOE.js +0 -4
  1304. package/dist/cdn/QFDQYMLY.js +0 -4
  1305. package/dist/cdn/QGA76JPQ.js +0 -4
  1306. package/dist/cdn/QHFNIUCK.js +0 -4
  1307. package/dist/cdn/QKDTACLF.js +0 -11
  1308. package/dist/cdn/QNZCU23W.js +0 -4
  1309. package/dist/cdn/QO34KMBO.js +0 -4
  1310. package/dist/cdn/QOIQ3DJU.js +0 -4
  1311. package/dist/cdn/QRLNYMWW.js +0 -4
  1312. package/dist/cdn/QSM2ANOF.js +0 -4
  1313. package/dist/cdn/QUPZXZZA.js +0 -4
  1314. package/dist/cdn/QVES5GNV.js +0 -4
  1315. package/dist/cdn/QWDHTJUT.js +0 -4
  1316. package/dist/cdn/QXNSHBZP.js +0 -4
  1317. package/dist/cdn/QYWVWP5Z.js +0 -41
  1318. package/dist/cdn/QZLNNXNO.js +0 -4
  1319. package/dist/cdn/QZW5I3Q3.js +0 -4
  1320. package/dist/cdn/R3FBFKTR.js +0 -4
  1321. package/dist/cdn/R3RVJOWC.js +0 -4
  1322. package/dist/cdn/R5HZZAWU.js +0 -4
  1323. package/dist/cdn/R5WZCLEA.js +0 -4
  1324. package/dist/cdn/R6FSQSNQ.js +0 -4
  1325. package/dist/cdn/R6FWORDM.js +0 -4
  1326. package/dist/cdn/R6PGJ4MK.js +0 -4
  1327. package/dist/cdn/RDTC7SMH.js +0 -4
  1328. package/dist/cdn/RFPJXM2I.js +0 -4
  1329. package/dist/cdn/RG4QHRUS.js +0 -4
  1330. package/dist/cdn/RHQTBN5H.js +0 -4
  1331. package/dist/cdn/RM7AT4LF.js +0 -4
  1332. package/dist/cdn/RNCOYGKT.js +0 -4
  1333. package/dist/cdn/RNGFXTRM.js +0 -4
  1334. package/dist/cdn/ROWITTXB.js +0 -4
  1335. package/dist/cdn/RPCZCEEH.js +0 -4
  1336. package/dist/cdn/RQG3Y7IY.js +0 -4
  1337. package/dist/cdn/RRKGI6YF.js +0 -4
  1338. package/dist/cdn/RRS43F7G.js +0 -4
  1339. package/dist/cdn/RXAI6I2Q.js +0 -4
  1340. package/dist/cdn/S225CAVU.js +0 -4
  1341. package/dist/cdn/S26JK3EZ.js +0 -4
  1342. package/dist/cdn/S2ATUHGW.js +0 -4
  1343. package/dist/cdn/S3MHYVPK.js +0 -4
  1344. package/dist/cdn/S5U75HWS.js +0 -4
  1345. package/dist/cdn/S62FOTU3.js +0 -4
  1346. package/dist/cdn/S6EQJDUQ.js +0 -4
  1347. package/dist/cdn/S7WF4RR2.js +0 -4
  1348. package/dist/cdn/SAGTBTBW.js +0 -4
  1349. package/dist/cdn/SAKHOQJM.js +0 -4
  1350. package/dist/cdn/SBONC4CR.js +0 -4
  1351. package/dist/cdn/SCF2VENK.js +0 -4
  1352. package/dist/cdn/SDNKEVHK.js +0 -4
  1353. package/dist/cdn/SEOE5Z6N.js +0 -4
  1354. package/dist/cdn/SF7JGLSC.js +0 -4
  1355. package/dist/cdn/SGAEVXNB.js +0 -4
  1356. package/dist/cdn/SGGQ7PAO.js +0 -4
  1357. package/dist/cdn/SGQZFHTJ.js +0 -4
  1358. package/dist/cdn/SHWD5A6B.js +0 -4
  1359. package/dist/cdn/SIGUK4EP.js +0 -4
  1360. package/dist/cdn/SK5DS5XQ.js +0 -4
  1361. package/dist/cdn/SMSCOQPY.js +0 -4
  1362. package/dist/cdn/SN4IBWSC.js +0 -4
  1363. package/dist/cdn/SNB4MX72.js +0 -4
  1364. package/dist/cdn/SNCOK3VU.js +0 -4
  1365. package/dist/cdn/SNF256WN.js +0 -4
  1366. package/dist/cdn/SP64OPAC.js +0 -4
  1367. package/dist/cdn/SRPDSILT.js +0 -4
  1368. package/dist/cdn/ST3NI5NF.js +0 -4
  1369. package/dist/cdn/SUDB7MM3.js +0 -4
  1370. package/dist/cdn/SVF4X4YM.js +0 -4
  1371. package/dist/cdn/SVJIGCNY.js +0 -4
  1372. package/dist/cdn/SWN74BEG.js +0 -4
  1373. package/dist/cdn/SXVDELJO.js +0 -4
  1374. package/dist/cdn/T3AIBLZH.js +0 -4
  1375. package/dist/cdn/T3JASSCT.js +0 -4
  1376. package/dist/cdn/T4FKB2UD.js +0 -4
  1377. package/dist/cdn/T5CECIAV.js +0 -4
  1378. package/dist/cdn/TASZVT4C.js +0 -4
  1379. package/dist/cdn/TBWYPMO3.js +0 -4
  1380. package/dist/cdn/TCT6U3KE.js +0 -4
  1381. package/dist/cdn/TCV3QL5D.js +0 -4
  1382. package/dist/cdn/TGMJFXDX.js +0 -4
  1383. package/dist/cdn/TIJSXN7S.js +0 -4
  1384. package/dist/cdn/TJC7USQR.js +0 -4
  1385. package/dist/cdn/TJPM5UIV.js +0 -4
  1386. package/dist/cdn/TK562IA3.js +0 -4
  1387. package/dist/cdn/TKE5TCJR.js +0 -4
  1388. package/dist/cdn/TONKH7D3.js +0 -4
  1389. package/dist/cdn/TOQOGOPG.js +0 -4
  1390. package/dist/cdn/TP35DNIT.js +0 -4
  1391. package/dist/cdn/TPXA37TA.js +0 -4
  1392. package/dist/cdn/TSWMOLNO.js +0 -4
  1393. package/dist/cdn/TWR5MUEN.js +0 -4
  1394. package/dist/cdn/TXWWHLQN.js +0 -4
  1395. package/dist/cdn/U3EJ63EK.js +0 -6
  1396. package/dist/cdn/U5YGPXXU.js +0 -4
  1397. package/dist/cdn/UA4LMJJN.js +0 -4
  1398. package/dist/cdn/UD4E2VWB.js +0 -4
  1399. package/dist/cdn/UF7DVPW2.js +0 -4
  1400. package/dist/cdn/UHVBGMFE.js +0 -4
  1401. package/dist/cdn/UJ2OXMTV.js +0 -4
  1402. package/dist/cdn/UJINYBFT.js +0 -4
  1403. package/dist/cdn/UJXVFY5W.js +0 -4
  1404. package/dist/cdn/UKSMUWUD.js +0 -4
  1405. package/dist/cdn/UOGM26EC.js +0 -4
  1406. package/dist/cdn/UQA7OYRJ.js +0 -4
  1407. package/dist/cdn/URQHRTQN.js +0 -4
  1408. package/dist/cdn/USMFK7X5.js +0 -4
  1409. package/dist/cdn/USNYF5Y6.js +0 -4
  1410. package/dist/cdn/USR2EPVR.js +0 -4
  1411. package/dist/cdn/USVZ4IIC.js +0 -4
  1412. package/dist/cdn/UULSJ7FO.js +0 -4
  1413. package/dist/cdn/UUORFCUR.js +0 -4
  1414. package/dist/cdn/UUPQQQQ5.js +0 -4
  1415. package/dist/cdn/UYBRZJRA.js +0 -4
  1416. package/dist/cdn/V3KM6K36.js +0 -4
  1417. package/dist/cdn/V4QZFA2G.js +0 -4
  1418. package/dist/cdn/V5TEVU6N.js +0 -4
  1419. package/dist/cdn/V626XTHC.js +0 -4
  1420. package/dist/cdn/V6VZOUTM.js +0 -4
  1421. package/dist/cdn/V7PWNQJK.js +0 -4
  1422. package/dist/cdn/VBKZTXJP.js +0 -4
  1423. package/dist/cdn/VCWW3FEQ.js +0 -4
  1424. package/dist/cdn/VHAPHPBG.js +0 -4
  1425. package/dist/cdn/VHAWITAO.js +0 -4
  1426. package/dist/cdn/VHCAYUPR.js +0 -4
  1427. package/dist/cdn/VIDESQ3L.js +0 -4
  1428. package/dist/cdn/VK6BRJJF.js +0 -4
  1429. package/dist/cdn/VKOSAW65.js +0 -4
  1430. package/dist/cdn/VKXKKAMH.js +0 -4
  1431. package/dist/cdn/VMURTJPY.js +0 -4
  1432. package/dist/cdn/VPLGSUJO.js +0 -4
  1433. package/dist/cdn/VPU5VCNB.js +0 -4
  1434. package/dist/cdn/VQOK5MRN.js +0 -4
  1435. package/dist/cdn/VRBJTCAC.js +0 -4
  1436. package/dist/cdn/VX6CBD5P.js +0 -4
  1437. package/dist/cdn/VYTCUSB7.js +0 -4
  1438. package/dist/cdn/VYTKBQ5P.js +0 -4
  1439. package/dist/cdn/VYUIK62P.js +0 -4
  1440. package/dist/cdn/VZRC7YWX.js +0 -4
  1441. package/dist/cdn/W5W6Y7ZT.js +0 -4
  1442. package/dist/cdn/W7GLKRYJ.js +0 -4
  1443. package/dist/cdn/WBRLKCIB.js +0 -4
  1444. package/dist/cdn/WDLGAOGV.js +0 -4
  1445. package/dist/cdn/WGLDMASD.js +0 -4
  1446. package/dist/cdn/WIBG7HZN.js +0 -5
  1447. package/dist/cdn/WIBRGYXJ.js +0 -4
  1448. package/dist/cdn/WIFVVFIC.js +0 -4
  1449. package/dist/cdn/WMG37QFH.js +0 -4
  1450. package/dist/cdn/WONHUTUI.js +0 -4
  1451. package/dist/cdn/WP75TJS5.js +0 -4
  1452. package/dist/cdn/WPBRBUM3.js +0 -24
  1453. package/dist/cdn/WPV4NDC4.js +0 -4
  1454. package/dist/cdn/WUMYHG74.js +0 -4
  1455. package/dist/cdn/WUROUPC6.js +0 -4
  1456. package/dist/cdn/WYZEVD4W.js +0 -4
  1457. package/dist/cdn/X43E2DCG.js +0 -4
  1458. package/dist/cdn/XAOO5DNT.js +0 -4
  1459. package/dist/cdn/XAV35DIE.js +0 -4
  1460. package/dist/cdn/XBSWCPWL.js +0 -4
  1461. package/dist/cdn/XCGUTUOQ.js +0 -4
  1462. package/dist/cdn/XCZULBT2.js +0 -4
  1463. package/dist/cdn/XDSMCVUY.js +0 -4
  1464. package/dist/cdn/XDUUHNTI.js +0 -4
  1465. package/dist/cdn/XENXRQVE.js +0 -4
  1466. package/dist/cdn/XGBL4HQT.js +0 -4
  1467. package/dist/cdn/XGVL6SVG.js +0 -4
  1468. package/dist/cdn/XH4IUMSI.js +0 -4
  1469. package/dist/cdn/XHJ6HIAU.js +0 -4
  1470. package/dist/cdn/XJAMKWQE.js +0 -4
  1471. package/dist/cdn/XJFTU6QX.js +0 -5
  1472. package/dist/cdn/XL4TIA2H.js +0 -4
  1473. package/dist/cdn/XLMV6RTN.js +0 -4
  1474. package/dist/cdn/XQF2DLMD.js +0 -4
  1475. package/dist/cdn/XQGXOBIW.js +0 -4
  1476. package/dist/cdn/XRGUNVX3.js +0 -4
  1477. package/dist/cdn/XTRWXZ7D.js +0 -4
  1478. package/dist/cdn/XWLPBZRW.js +0 -4
  1479. package/dist/cdn/XXO7CVZX.js +0 -4
  1480. package/dist/cdn/XYFDXOLZ.js +0 -4
  1481. package/dist/cdn/XZBNEKQ7.js +0 -4
  1482. package/dist/cdn/Y2JGLPE7.js +0 -4
  1483. package/dist/cdn/Y2P5LQ6Y.js +0 -4
  1484. package/dist/cdn/Y2XRBNFM.js +0 -42
  1485. package/dist/cdn/Y42ZRXKB.js +0 -4
  1486. package/dist/cdn/Y4RKGCT2.js +0 -4
  1487. package/dist/cdn/Y4YHFSBH.js +0 -4
  1488. package/dist/cdn/Y7H3QUC2.js +0 -4
  1489. package/dist/cdn/YAPIZJDW.js +0 -4
  1490. package/dist/cdn/YCI36TQL.js +0 -4
  1491. package/dist/cdn/YCMDHRQY.js +0 -4
  1492. package/dist/cdn/YCQXBLHK.js +0 -4
  1493. package/dist/cdn/YCVJ5IJH.js +0 -4
  1494. package/dist/cdn/YDGLFEQR.js +0 -4
  1495. package/dist/cdn/YEKRKR35.js +0 -4
  1496. package/dist/cdn/YGFGACHE.js +0 -4
  1497. package/dist/cdn/YGYZSTI7.js +0 -4
  1498. package/dist/cdn/YJKJVWXL.js +0 -4
  1499. package/dist/cdn/YL2KCTHN.js +0 -4
  1500. package/dist/cdn/YOEMJSHC.js +0 -4
  1501. package/dist/cdn/YORFG5CD.js +0 -4
  1502. package/dist/cdn/YQCJ6TX4.js +0 -4
  1503. package/dist/cdn/YSFGI3TK.js +0 -4
  1504. package/dist/cdn/YU2NTFTF.js +0 -4
  1505. package/dist/cdn/YY6FGELT.js +0 -4
  1506. package/dist/cdn/YYVWXDOV.js +0 -4
  1507. package/dist/cdn/Z3I7HE6H.js +0 -4
  1508. package/dist/cdn/Z4UUCVRD.js +0 -4
  1509. package/dist/cdn/Z4ZARDVJ.js +0 -7
  1510. package/dist/cdn/Z5IBH37H.js +0 -4
  1511. package/dist/cdn/Z5K5MFGL.js +0 -4
  1512. package/dist/cdn/Z6A6MUYK.js +0 -4
  1513. package/dist/cdn/ZA7JQWYT.js +0 -4
  1514. package/dist/cdn/ZDZPWNRV.js +0 -4
  1515. package/dist/cdn/ZF2YKTCZ.js +0 -4
  1516. package/dist/cdn/ZIHSDVHN.js +0 -4
  1517. package/dist/cdn/ZJAVUHNJ.js +0 -4
  1518. package/dist/cdn/ZMSCA2SX.js +0 -4
  1519. package/dist/cdn/ZNHAXNDZ.js +0 -4
  1520. package/dist/cdn/ZON6CVVD.js +0 -4
  1521. package/dist/cdn/ZQ3ZKZCC.js +0 -4
  1522. package/dist/cdn/ZRONJQE7.js +0 -4
  1523. package/dist/cdn/ZSURCDZS.js +0 -4
  1524. package/dist/cdn/ZYRKSLJU.js +0 -4
  1525. package/dist/cdn/ZZR7LZXG.js +0 -4
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.9/esri/copyright.txt for details.
3
+ v0.9.1 */
4
+ import{c as E}from"./GOVBIV4N.js";function A(e){return Object.keys(e).some(t=>{let n=e[t];if(!n)return!1;switch(n&&n.toParam&&(n=n.toParam()),n.constructor.name){case"Array":return!1;case"Object":return!1;case"Date":return!1;case"Function":return!1;case"Boolean":return!1;case"String":return!1;case"Number":return!1;default:return!0}})}function _(e){let t={};return Object.keys(e).forEach(n=>{var s,c;let r=e[n];if(r&&r.toParam&&(r=r.toParam()),!r&&r!==0&&typeof r!="boolean"&&typeof r!="string")return;let o=r.constructor.name,i;switch(o){case"Array":let f=(c=(s=r[0])===null||s===void 0?void 0:s.constructor)===null||c===void 0?void 0:c.name;i=f==="Array"?r:f==="Object"?JSON.stringify(r):r.join(",");break;case"Object":i=JSON.stringify(r);break;case"Date":i=r.valueOf();break;case"Function":i=null;break;case"Boolean":i=r+"";break;default:i=r;break}(i||i===0||typeof i=="string"||Array.isArray(i))&&(t[n]=i)}),t}function D(e,t){return Array.isArray(t)&&t[0]&&Array.isArray(t[0])?t.map(n=>D(e,n)).join("&"):encodeURIComponent(e)+"="+encodeURIComponent(t)}function C(e){let t=_(e);return Object.keys(t).map(n=>D(n,t[n])).join("&")}var I={FormData:globalThis.FormData,File:globalThis.File,Blob:globalThis.Blob};function q(e,t){let n=A(e)||t,s=_(e);if(n){let c=new I.FormData;return Object.keys(s).forEach(r=>{if(typeof Blob<"u"&&s[r]instanceof Blob){let o=s.fileName||s[r].name||r;c.append(r,s[r],o)}else c.append(r,s[r])}),c}else return C(e)}var d=class extends Error{constructor(t,n,s,c,r){super(t);let o=new.target.prototype;Object.setPrototypeOf(this,o),t=t||"UNKNOWN_ERROR",n=n||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=n==="UNKNOWN_ERROR_CODE"?t:`${n}: ${t}`,this.originalMessage=t,this.code=n,this.response=s,this.url=c,this.options=r}},F={noCorsDomains:[],crossOriginNoCorsDomains:{},pendingNoCorsRequests:{}},N="ARCGIS_REST_JS_NO_CORS";globalThis[N]||(globalThis[N]=Object.assign({},F));var u=globalThis[N];function x(e){let t=new URL(e);e=t.origin+t.pathname,t.search.includes("f=json")&&(e+="?f=json");let n=t.origin;return u.pendingNoCorsRequests[n]||(u.pendingNoCorsRequests[n]=fetch(e,{mode:"no-cors",credentials:"include",cache:"no-store"}).then(s=>{u.noCorsDomains.indexOf(n)===-1&&u.noCorsDomains.push(n),u.crossOriginNoCorsDomains[n.toLowerCase()]=Date.now(),delete u.pendingNoCorsRequests[n]}).catch(s=>(delete u.pendingNoCorsRequests[n],Promise.reject(new Error(`no-cors request to ${n} failed`))))),u.pendingNoCorsRequests[n]}function L(e){e.forEach(t=>{t=t.toLowerCase(),/^https?:\/\//.test(t)?w(t):(w("http://"+t),w("https://"+t))})}function w(e){let n=new URL(e).origin;u.noCorsDomains.indexOf(n)===-1&&u.noCorsDomains.push(n)}function S(e){let t=!1;if(u.noCorsDomains.length){let n=new URL(e).origin.toLowerCase();t=u.noCorsDomains.some(s=>n.includes(s))}return t}function k(e){let t=!1;if(S(e)){let n=new URL(e).origin.toLowerCase(),s=u.crossOriginNoCorsDomains[n]||0;Date.now()-60*6e4>s&&(t=!0)}return t}function v(e){console&&console.warn&&console.warn.apply(console,[e])}var G=function(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.request})};function W(e,t){var n;if(!t&&!window||!e)return!1;{t=t||window;let s=(n=t.location)===null||n===void 0?void 0:n.origin;return e.startsWith(s)}}var $="@esri/arcgis-rest-js";function M(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var R=class extends d{constructor(t="AUTHENTICATION_ERROR",n="AUTHENTICATION_ERROR_CODE",s,c,r){super(t,n,s,c,r),this.name="ArcGISAuthError",this.message=n==="AUTHENTICATION_ERROR_CODE"?t:`${n}: ${t}`;let o=new.target.prototype;Object.setPrototypeOf(this,o)}retry(t,n=1){let s=0,c=(r,o)=>{s=s+1,t(this.url,this.options).then(i=>{let f=Object.assign(Object.assign({},this.options),{authentication:i});return j(this.url,f)}).then(i=>{r(i)}).catch(i=>{i.name==="ArcGISAuthError"&&s<n?c(r,o):i.name===this.name&&i.message===this.message&&s>=n?o(this):o(i)})};return new Promise((r,o)=>{c(r,o)})}};function B(e,t,n,s,c){if(e.code>=400){let{message:r,code:o}=e;throw new d(r,o,e,t,s)}if(e.error){let{message:r,code:o,messageCode:i}=e.error,f=i||o||"UNKNOWN_ERROR_CODE";throw o===498||o===499?c||new R(r,f,e,t,s):new d(r,f,e,t,s)}if(e.status==="failed"||e.status==="failure"){let r,o="UNKNOWN_ERROR_CODE";try{r=JSON.parse(e.statusMessage).message,o=JSON.parse(e.statusMessage).code}catch{r=e.statusMessage||e.message}throw new d(r,o,e,t,s)}return e}function j(e,t){let n=M(),s=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},n),t),{params:Object.assign(Object.assign({},n.params),t.params),headers:Object.assign(Object.assign({},n.headers),t.headers)}),{httpMethod:c,rawResponse:r}=s,o=Object.assign({f:"json"},s.params),i=null,f={method:c,signal:s.signal,credentials:s.credentials||"same-origin"};S(e)&&(f.credentials="include"),s.headers&&s.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(f.credentials="include");let g;if(typeof s.authentication=="string"){let a=s.authentication;g={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(a)},!s.authentication.startsWith("AAPK")&&!s.authentication.startsWith("AATK")&&!s.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(v("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."),globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING=!0)}else g=s.authentication;let y=e,p=!1;typeof window<"u"&&(p=W(e));let P=!p&&k(e);s.headers&&s.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(f.credentials="include");let b=Promise.resolve();return P&&(f.credentials="include",b=x(e)),b.then(()=>g?g.getToken(e).catch(a=>(a.url=e,a.options=s,i=a,Promise.resolve(""))):Promise.resolve("")).then(a=>{a.length&&(o.token=a),g&&g.getDomainCredentials&&(f.credentials=g.getDomainCredentials(e));let l={};if(f.method==="GET"){o.token&&s.hideToken&&typeof window>"u"&&(l["X-Esri-Authorization"]=`Bearer ${o.token}`,delete o.token);let O=C(o)===""?e:e+"?"+C(o);s.maxUrlLength&&O.length>s.maxUrlLength||!s.maxUrlLength&&O.length>2e3||o.token&&s.hideToken?(f.method="POST",a.length&&s.hideToken&&(o.token=a,delete l["X-Esri-Authorization"])):e=O}let h=new RegExp("/items/.+/updateResources").test(e);return f.method==="POST"&&(f.body=q(o,h)),f.headers=Object.assign(Object.assign({},l),s.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!f.headers.referer&&(f.headers.referer=$),!A(o)&&!h&&(f.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(e,f):G().then(({fetch:m})=>m(e,f))}).then(a=>{if(!a.ok)return a.json().then(l=>{let{status:h,statusText:m}=a,{message:O,details:T}=l.error,U=`${O}. ${T?T.join(" "):""}`.trim();throw new d(U,`HTTP ${h} ${m}`,l,e,s)}).catch(l=>{if(l.name==="ArcGISRequestError")throw l;let{status:h,statusText:m}=a;throw new d(m,`HTTP ${h}`,a,e,s)});if(r)return a;switch(o.f){case"json":return a.json();case"geojson":return a.json();case"html":return a.text();case"text":return a.text();default:return a.blob()}}).then(a=>{if((o.f==="json"||o.f==="geojson")&&!r){let l=B(a,y,o,s,i);if(a&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(e)&&Array.isArray(a.authorizedCrossOriginNoCorsDomains)&&L(a.authorizedCrossOriginNoCorsDomains),i){let h=e.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];s.authentication.federatedServers[h]={token:[],expires:new Date(Date.now()+86400*1e3)},i=null}return l}else return a})}function K(e,t={params:{f:"json"}}){let{request:n}=t,s=E(t,["request"]);return n?n(e,s):j(e,s).catch(c=>c instanceof R&&t.authentication&&typeof t.authentication!="string"&&t.authentication.canRefresh&&t.authentication.refreshCredentials?c.retry(()=>t.authentication.refreshCredentials(),1):Promise.reject(c))}export{C as a,d as b,x as c,k as d,v as e,$ as f,R as g,K as h};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.9/esri/copyright.txt for details.
3
+ v0.9.1 */
4
+ import a from"./PTBNPGIC.js";import{a as T}from"./Q34IVZFU.js";import{a as u}from"./WKS7N4QQ.js";import{h as s}from"./YVPKPOOM.js";import{c as K}from"./7N4RGR4K.js";import{a as D}from"./LARC4DQ2.js";import{a as b}from"./HR4GLWH2.js";export default $arcgis.t(([{n:M}])=>{function g(e,t,n,o){var l;let a;if(n==="event")a="#";else if(n==="none")a=void 0;else switch(e.type){case"Hub Site Application":case"Site Application":a=(l=e.links)===null||l===void 0?void 0:l.self;break;default:a=(e.links||{})[n],n!=="self"&&o&&!a?.startsWith("http")&&(a=`${o}${a||""}`);break}return a}var P=e=>e.reduce((t,n)=>{let o=n.split("/"),l=o[o.length-1];return l&&t.push(l),t},[]);function C(e){if(!e)return;let t=e.orgName;return t??(t=e.source),t??(t=e.owner),t}function I(e,t){var n;let o=[];if(!e)return o;e.type&&o.push({i18nKey:"type",value:e.type}),e.updatedDate&&o.push({i18nKey:"dateUpdated",value:e.updatedDate.toLocaleDateString(t)}),!((n=e.tags)===null||n===void 0)&&n.length&&o.push({i18nKey:"tags",value:e.tags.join(", ")});let l=D(e,"categories",[]);return l.length&&o.push({i18nKey:"categories",value:P(l).join(", ")}),e.hasOwnProperty("layerCount")&&o.push({i18nKey:"layers",value:b(e,"layerCount")}),e.hasOwnProperty("pageCount")&&o.push({i18nKey:"pages",value:b(e,"pageCount")}),e.createdDate&&o.push({i18nKey:"dateCreated",value:e.createdDate.toLocaleDateString(t)}),o}var X=(e,t,n,o,l)=>{let{actionLinks:a=[],baseUrl:d="",locale:r="en-US",target:m="self"}=l||{},i={access:e.access,actionLinks:a,additionalInfo:[],badges:[],family:K(e.type),source:e.owner,id:e.id,summary:e.summary,title:e.name,type:e.type};return i=s("titleUrl",g(e,n,m,d),i),i=s("thumbnailUrl",T(e),i),i.additionalInfo=[...i.additionalInfo,...I(e,r)],i},S=(e,t,n,o,l)=>{var a;let{actionLinks:d=[],baseUrl:r="",locale:m="en-US",target:i="self"}=l||{},y={access:e.access,actionLinks:d,additionalInfo:[],badges:[],family:e.family,id:e.id,index:e.index,summary:e.summary,title:e.name,type:e.type};return y=s("titleUrl",g(e,n,i,r),y),y=s("thumbnailUrl",(a=e.links)===null||a===void 0?void 0:a.thumbnail,y),y=s("source",C(e),y),y.additionalInfo=[...y.additionalInfo,...I(e,m)],y},Z=(e,t,n,o,l)=>{var a;let{actionLinks:d=[],baseUrl:r="",target:m="self"}=l||{},i={access:e.access,actionLinks:d,additionalInfo:L(e),badges:x(e),family:"group",id:e.id,summary:e.summary,title:e.name,type:e.type,source:e.owner};return i=s("titleUrl",g(e,n,m,r),i),i=s("thumbnailUrl",(a=e.links)===null||a===void 0?void 0:a.thumbnail,i),i},E=(e,t,n,o,l)=>{var a;let{actionLinks:d=[],baseUrl:r="",target:m="self"}=l||{},i={access:e.access,actionLinks:d,additionalInfo:L(e),badges:x(e),family:e.family,id:e.id,index:e.index,summary:e.summary,title:e.name,type:e.type};return i=s("titleUrl",g(e,n,m,r),i),i=s("thumbnailUrl",(a=e.links)===null||a===void 0?void 0:a.thumbnail,i),i=s("source",C(e),i),i},x=(e,t)=>{let n=[];return e.isSharedUpdate&&n.push({i18nKey:"sharedEdit",color:"grey",icon:"pencil-square"}),b(e,"isOpenData")&&n.push({i18nKey:"opendata",color:"grey",icon:"star-circle"}),n},L=(e,t)=>{let n=[];return e.hasOwnProperty("membershipSummary")&&n.push({i18nKey:"members",value:b(e,"membershipSummary.total")}),e.hasOwnProperty("contentCount")&&n.push({i18nKey:"content",value:b(e,"contentCount")}),n},N=(e,t,n,o,l)=>{var a;let{actionLinks:d=[],baseUrl:r="",target:m="self"}=l||{},i={access:e.access,actionLinks:d,additionalInfo:[],badges:$(e),family:e.family,id:e.id,index:e.index,summary:e.summary,source:e.name?`@${e.id}`:void 0,title:e.name||`@${e.id}`,type:e.type};return i=s("titleUrl",g(e,n,m,r),i),i=s("thumbnailUrl",(a=e.links)===null||a===void 0?void 0:a.thumbnail,i),i},$=e=>{let t=[],n=e.memberType;return n&&(e.isGroupOwner?t.push({icon:"user-key",color:"gray",i18nKey:"badges.members.owner",hideLabel:!0,tooltip:{i18nKey:"badges.members.owner"}}):n==="admin"?t.push({icon:"user-up",color:"gray",i18nKey:"badges.members.admin",hideLabel:!0,tooltip:{i18nKey:"badges.members.admin"}}):t.push({icon:"user",color:"gray",i18nKey:"badges.members.member",hideLabel:!0,tooltip:{i18nKey:"badges.members.member"}})),t},G=(e,t,n,o,l)=>{var a,d,r;let{actionLinks:m=[],baseUrl:i="",target:y="self"}=l||{},f=[{i18nKey:"access",value:o.t(e.access)}];!((d=(a=e.includes)===null||a===void 0?void 0:a.groups)===null||d===void 0)&&d.length&&f.push({i18nKey:"groups",value:e.includes.groups.map(p=>p?.title||o.t("groupNotFound")).join(", ")}),f.push({i18nKey:"created",value:o.formatDate(e.createdDate,{year:"numeric",month:"long",day:"numeric"})});let c=Object.assign({access:e.access,actionLinks:m,badges:[],id:e.id,family:"channel",source:e.owner,title:M(e.rawResult,o.t("unnamedChannel")),type:e.type,additionalInfo:f},!isNaN(e.index)&&{index:e.index});return c=s("titleUrl",g(e,n,y,i),c),c=s("thumbnailUrl",(r=e.links)===null||r===void 0?void 0:r.thumbnail,c),c},F=(e,t,n,o,l)=>{var a;let{actionLinks:d=[],baseUrl:r="",target:m="self"}=l||{},i={access:e.access,actionLinks:d,additionalInfo:[],badges:[],family:e.family,id:e.id,index:e.index,summary:e.summary,source:e.name?`@${e.owner}`:void 0,title:e.name||`@${e.owner}`,type:e.type};return i=s("titleUrl",g(e,n,m,r),i),i=s("thumbnailUrl",(a=e.links)===null||a===void 0?void 0:a.thumbnail,i),i},O=(e,t,n,o,l)=>{var a,d,r;let{actionLinks:m=[],baseUrl:i="",target:y="self"}=l||{},f=e.rawResult,c=new Date(f.startDateTime),p=new Date(f.endDateTime),w;if(f.allDay){let j=c.getFullYear()===p.getFullYear()&&c.getMonth()===p.getMonth()&&c.getDate()===p.getDate(),_=o.formatDate(c,{dateStyle:"short"});if(j)w=o.t("allDay",{date:_});else{let A=o.formatDate(p,{dateStyle:"short"});w=o.t("allDayRange",{from:_,to:A})}}else w=o.formatDateTimeRange(c,p,{dateStyle:"short",timeStyle:"short"});let k;f.attendanceType.length===1?k=f.attendanceType.includes("IN_PERSON")?"inPerson":"online":k="hybrid";let U=[{i18nKey:"dateAndTime",value:w},{i18nKey:"attendanceType",value:o.t(k)}];((a=e.location)===null||a===void 0?void 0:a.type)!=="none"&&(!((d=e.location)===null||d===void 0)&&d.name)&&U.splice(1,0,{i18nKey:"location",value:e.location.name});let v={access:e.access,actionLinks:m,badges:[],family:e.family,id:e.id,index:e.index,summary:e.summary,source:e.owner,title:e.name,type:e.type,additionalInfo:U};return v=s("titleUrl",g(e,n,y,i),v),v=s("thumbnailUrl",(r=e.links)===null||r===void 0?void 0:r.thumbnail,v),v},V=(e,t,n,o,l)=>{var a;let{actionLinks:d=[],baseUrl:r="",target:m="self"}=l||{},i={access:e.access,actionLinks:d,badges:[],family:e.family,id:e.id,index:e.index,summary:e.summary,source:e.owner,title:e.name,type:e.type,additionalInfo:[]};return i=s("titleUrl",g(e,n,m,r),i),i=s("thumbnailUrl",(a=e.links)===null||a===void 0?void 0:a.thumbnail,i),i},z=(e,t,n,o,l)=>{let{actionLinks:a=[],locale:d="en-US"}=l||{},r=e.rawResult;return{access:e.access,id:e.id,title:e.name,summary:e.summary,type:e.type,family:e.family,additionalInfo:[{i18nKey:"type",value:o.t(r.parentId?"reply":"post")},{i18nKey:"status",value:o.t(r.status)},{i18nKey:"dateCreated",value:e.createdDate.toLocaleDateString(d)},{i18nKey:"dateUpdated",value:e.updatedDate.toLocaleDateString(d)}],actionLinks:a}},h=(e,t,n,o,l)=>{let a;switch(e.type){case"channel":a=G;break;case"Group":a=E;break;case"User":a=N;break;case"Event Attendee":a=F;break;case"Event":a=O;break;case"Organization":a=V;break;case"Post":a=z;break;default:a=S;break}return a(e,t,n,o,l)};function R(e,t){let n;switch(e){case"self":n=t.family==="site"?Object.assign(Object.assign({},u.dictionary.category.navigation.action.view.label.entityView),{details:t.type}):Object.assign(Object.assign({},u.dictionary.category.navigation.action.external.label.homeApp),{details:t.titleUrl});break;case"siteRelative":n=Object.assign(Object.assign({},u.dictionary.category.navigation.action.view.label.entityView),{details:t.type});break;case"workspaceRelative":n=Object.assign(Object.assign({},u.dictionary.category.navigation.action.view.label.workspace),{details:t.type});break;case"event":case"none":n=null;break;default:n=null}return n}return{a:X,b:Z,c:h,d:R}},a)
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.9/esri/copyright.txt for details.
3
+ v0.9.1 */
4
+ import{a as s,b as i,c as a,d as o}from"./WHG3BEIC.js";import{a as e}from"./QPYA2XKZ.js";import"./EWK6RY5V.js";import{a as r}from"./FE2YU5VD.js";import"./T7J4NN75.js";import"./ZYLIZ7DB.js";import{e as t}from"./FIODTVCH.js";import"./EIKKSHSJ.js";var I=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{_groups:{type:"array",items:{type:"string"}},status:{type:"string",default:t.notStarted,enum:Object.keys(t)},_metric:{type:"object",required:["cardTitle"],properties:r.properties}}),allOf:[i,s,o,a]});export{I as ProjectSchema};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.9/esri/copyright.txt for details.
3
+ v0.9.1 */
4
+ function s(e,n=300){let o;return function(u,...t){clearTimeout(o),o=setTimeout(()=>e.apply(u,t),n)}}function b(e){function n(o,u,t){let{value:i}=t,c=`${u.toString()}Debounced`,r=function(...a){this[c]||Object.defineProperty(this,c,{value:s(i,e.timeout)}),this[c](this,...a)};return Object.assign(Object.assign({},t),{value:r})}return n}export{b as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.9/esri/copyright.txt for details.
3
+ v0.9.1 */
4
+ import{b as r}from"./A4YIF23I.js";import{b as e}from"./LXOTOSFU.js";function l(t,i,n){let o=r(t,i,"options.helperText");return e("calcite-input-message",{class:"helper-text"}," ",e("div",{id:n,innerHTML:o})," ")}export{l as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.9/esri/copyright.txt for details.
3
+ v0.9.1 */
4
+ import"./EIKKSHSJ.js";var e={percent:"Percentagem",values:"Valores",standardizedValues:"Valores padronizados",count:"Contagem",aggregationOfValues:"${ aggregation } de valores",aggregationOfFieldName:"${ aggregation } de ${ fieldName }"},i={aggrFieldsByCategory:"${ aggregationFields } por ${ category }",aggrTypeCategory:"${ aggregationType } por ${ category }",aggrTypeCategoryBySplitBy:"${ aggregationType } por ${ category } por ${ splitByField }",aggrTypeOfAggrFields:"${ aggregationType } de ${ aggregationFields }",aggrTypeOfAggrFieldByCategoryBySplitByField:"${ aggregationType } de ${ aggregationField } por ${ category } por ${ splitByField }",aggrTypeOfAggrFieldsByCategory:"${ aggregationType } de ${ aggregationFields } por ${ category }",aggrFieldsByXAxisField:"${ aggregationFields } por ${ xAxisField }",aggrTypeXAxisField:"${ aggregationType } por ${ xAxisField }",aggrTypeXAxisFieldBySplitBy:"${ aggregationType } por ${ xAxisField } por ${ splitByField }",aggrTypeOfAggrFieldByXAxisFieldBySplitByField:"${ aggregationType } de ${ aggregationField } por ${ xAxisField } por ${ splitByField }",aggrTypeOfAggrFieldsByXAxisField:"${ aggregationType } de ${ aggregationFields } por ${ xAxisField }",distributionOfField:"Distribui\xE7\xE3o de ${ valueField }",distributionOfFields:"Distribui\xE7\xE3o de ${ valueFields }",distributionOfFieldsByCategory:"Distribui\xE7\xE3o de ${ valueFields } por ${ category }",distributionOfFieldsByCategoryAndSplitBy:"Distribui\xE7\xE3o de ${ valueFields } por ${ category } e ${ splitByField }",xAndY:"${ x } e ${ y }"},g={barChart:"Gr\xE1fico de barras",lineChart:"Gr\xE1fico de linhas",pieChart:"Gr\xE1fico circular",histogram:"Histograma",scatterplot:"Gr\xE1fico de dispers\xE3o"},a={axisLabels:e,titleLabels:i,chartType:g};export{e as axisLabels,g as chartType,a as default,i as titleLabels};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.9/esri/copyright.txt for details.
3
+ v0.9.1 */
4
+ import"./EIKKSHSJ.js";var t={chart:"\u0414\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430",barChart:"\u041B\u0438\u043D\u0435\u0439\u0447\u0430\u0442\u0430\u044F \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430",lineChart:"\u041B\u0438\u043D\u0435\u0439\u043D\u0430\u044F \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430",pieChart:"\u041A\u0440\u0443\u0433\u043E\u0432\u0430\u044F \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430",histogram:"\u0413\u0438\u0441\u0442\u043E\u0433\u0440\u0430\u043C\u043C\u0430",scatterplot:"\u0414\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430 \u0440\u0430\u0441\u0441\u0435\u044F\u043D\u0438\u044F",boxPlot:"\u042F\u0449\u0438\u0447\u043A\u043E\u0432\u0430\u044F \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430"},a={mean:"\u0421\u0440\u0435\u0434\u043D\u0435\u0435",median:"\u041C\u0435\u0434\u0438\u0430\u043D\u0430",sum:"\u0421\u0443\u043C\u043C\u0430",discretePercentile:"\u0414\u0438\u0441\u043A\u0440\u0435\u0442\u043D\u044B\u0439 \u043F\u0440\u043E\u0446\u0435\u043D\u0442\u0438\u043B\u044C",minimum:"\u041C\u0438\u043D\u0438\u043C\u0443\u043C",maximum:"\u041C\u0430\u043A\u0441\u0438\u043C\u0443\u043C",variance:"\u0414\u0438\u0441\u043F\u0435\u0440\u0441\u0438\u044F",count:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E",aggregation:"${ statistics } \u0438\u0437 ${ fieldName }",noAggregation:"\u0411\u0435\u0437 \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F"},e="\u0414\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430",i="\u0421\u0435\u0440\u0438\u0438 \u0447\u0438\u0441\u0435\u043B",s="\u041E\u0441\u044C X",r="\u041D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E",n={start:"\u0417\u0430\u043C\u043A\u043D\u0443\u0442\u044C \u043D\u0430 \u043F\u0435\u0440\u0432\u0443\u044E \u0442\u043E\u0447\u043A\u0443 \u0434\u0430\u043D\u043D\u044B\u0445",end:"\u0417\u0430\u043C\u043A\u043D\u0443\u0442\u044C \u043D\u0430 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u044E\u044E \u0442\u043E\u0447\u043A\u0443 \u0434\u0430\u043D\u043D\u044B\u0445"},o={chartType:t,statistics:a,defaultTitle:e,countSeries:i,xAxis:s,notAvailable:r,timeAggregationTypes:n};export{t as chartType,i as countSeries,o as default,e as defaultTitle,r as notAvailable,a as statistics,n as timeAggregationTypes,s as xAxis};
@@ -0,0 +1,5 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.9/esri/copyright.txt for details.
3
+ v0.9.1 */
4
+ export default $arcgis.t(([])=>{
5
+ },"config")
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.9/esri/copyright.txt for details.
3
+ v0.9.1 */
4
+ import{a as r}from"./X3VTYG3I.js";import{b as t}from"./5TTMCEBB.js";import{a as i}from"./GWZ7OVMP.js";import{b as s,c as a,d as n,i as o}from"./LXOTOSFU.js";import"./EIKKSHSJ.js";var h=":host{display:block;width:100%}:host(.group-thumbnail)>img{display:block;aspect-ratio:200 / 133;object-fit:cover}:host(.content-thumbnail)>img{aspect-ratio:200 / 133;object-fit:cover;object-position:center}img{display:block;width:100%}.rounded-corners{border-radius:0.75rem}:host(.image-thumbnail)>img{height:16rem;width:100%;object-fit:cover}",l=h,c=class{get _imageUrl(){let e=this.src;return this.src||(e=this.fallback),this.hasError&&(e=this.fallback),this.lazy&&!this.inViewport&&(e=void 0),e}constructor(e){o(this,e),this.src=void 0,this.alt=void 0,this.fallback=void 0,this.lazy=!1,this.corners=t.square,this.hasError=!1,this.inViewport=!1,i(this,"setImageEl","handleIntersection")}componentWillLoad(){this.lazy&&this.observe()}disconnectedCallback(){this.lazy&&this.unobserve()}observe(){r.addHandler(this.element,this.handleIntersection)}unobserve(){r.unobserve(this.element)}srcUpdated(){this.hasError=!1}handleIntersection(){this.inViewport=!0,this.unobserve()}setImageEl(e){this.imageEl=e}componentDidRender(){if(this.imageEl){let e=()=>{this.hasError=!0,this.imageEl.removeEventListener("error",e)};this.imageEl.addEventListener("error",e)}}renderImage(){return this._imageUrl&&s("img",{alt:this.alt,class:{"rounded-corners":this.corners===t.round},ref:this.setImageEl,src:this._imageUrl})}render(){return s(a,{key:"716d7425f6274f23b7f5c987c1a423440831f342","data-element":"image"},this.renderImage())}get element(){return n(this)}static get watchers(){return{src:["srcUpdated"]}}};c.style=l;export{c as arcgis_hub_image};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.9/esri/copyright.txt for details.
3
+ v0.9.1 */
4
+ import"./EIKKSHSJ.js";var t={chart:"\u0414\u0456\u0430\u0433\u0440\u0430\u043C\u0430",barChart:"\u0413\u0456\u0441\u0442\u043E\u0433\u0440\u0430\u043C\u0430",lineChart:"\u041B\u0456\u043D\u0456\u0439\u043D\u0430 \u0434\u0456\u0430\u0433\u0440\u0430\u043C\u0430",pieChart:"\u041A\u0440\u0443\u0433\u043E\u0432\u0430 \u0434\u0456\u0430\u0433\u0440\u0430\u043C\u0430",histogram:"\u0413\u0456\u0441\u0442\u043E\u0433\u0440\u0430\u043C\u0430",scatterplot:"\u0414\u0456\u0430\u0433\u0440\u0430\u043C\u0430 \u0440\u043E\u0437\u0441\u0456\u044F\u043D\u043D\u044F",boxPlot:"\u0421\u0442\u043E\u0432\u043F\u0447\u0438\u043A\u043E\u0432\u0430 \u0434\u0456\u0430\u0433\u0440\u0430\u043C\u0430"},a={mean:"\u0421\u0435\u0440\u0435\u0434\u043D\u0454",median:"\u041C\u0435\u0434\u0456\u0430\u043D\u043D\u0435",sum:"\u0421\u0443\u043C\u0430",discretePercentile:"\u0414\u0438\u0441\u043A\u0440\u0435\u0442\u043D\u0438\u0439 \u043F\u0440\u043E\u0446\u0435\u043D\u0442\u0438\u043B\u044C",minimum:"\u041C\u0456\u043D\u0456\u043C\u0443\u043C",maximum:"\u041C\u0430\u043A\u0441\u0438\u043C\u0443\u043C",variance:"\u0414\u0438\u0441\u043F\u0435\u0440\u0441\u0456\u044F",count:"\u041B\u0456\u0447\u0438\u043B\u044C\u043D\u0438\u043A",aggregation:"${ statistics } \u0437 ${ fieldName }",noAggregation:"\u041D\u0435\u043C\u0430\u0454 \u0430\u0433\u0440\u0435\u0433\u0443\u0432\u0430\u043D\u043D\u044F"},e="\u0414\u0456\u0430\u0433\u0440\u0430\u043C\u0430",i="\u041A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u0441\u0435\u0440\u0456\u0439",s="\u0412\u0456\u0441\u044C X",r="\u041D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E",n={start:"\u041F\u0440\u0438\u0432'\u044F\u0437\u043A\u0430 \u0434\u043E \u043F\u0435\u0440\u0448\u043E\u0457 \u0442\u043E\u0447\u043A\u0438 \u0434\u0430\u043D\u0438\u0445",end:"\u041F\u0440\u0438\u0432'\u044F\u0437\u043A\u0430 \u0434\u043E \u043E\u0441\u0442\u0430\u043D\u043D\u044C\u043E\u0457 \u0442\u043E\u0447\u043A\u0438 \u0434\u0430\u043D\u0438\u0445"},o={chartType:t,statistics:a,defaultTitle:e,countSeries:i,xAxis:s,notAvailable:r,timeAggregationTypes:n};export{t as chartType,i as countSeries,o as default,e as defaultTitle,r as notAvailable,a as statistics,n 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.9/esri/copyright.txt for details.
3
+ v0.9.1 */
4
+ import{b as m}from"./IBEVNUCL.js";import{h as p}from"./TXONSBJV.js";import"./KX5K5OPP.js";import"./IUY6UST5.js";import"./ML7PCXMK.js";import{b as r}from"./SZXJOO5L.js";import"./Y3ISLENF.js";import"./OT2FLVN6.js";import"./ZVZI3VUE.js";import"./DFNA7CSX.js";import"./JODCF4WS.js";import{h as c}from"./44QS4BK5.js";import"./X6ENNNDK.js";import"./O2WEZ735.js";import"./KKSPGIBT.js";import"./CF36QPIX.js";import"./TYROFW2Z.js";import"./5TTMCEBB.js";import{c as u,g as E}from"./C5J7GB74.js";import"./TAOYAQGV.js";import{a as n}from"./WKS7N4QQ.js";import"./ZRAM56ME.js";import{a as l}from"./EKDCORFL.js";import"./NERI4HHD.js";import"./C6BF5WHH.js";import{b as e,c as h,d,e as a,i as y}from"./LXOTOSFU.js";import"./54P6XENW.js";import"./XVJT2UT6.js";import"./NS3BB3SU.js";import"./Q7CV4MKO.js";import"./LUKTYLCY.js";import"./2ZD7BKNX.js";import"./4PGSKDR6.js";import"./B4PH7WPC.js";import"./OXXF7TXL.js";import"./7BXV73GE.js";import"./PEOGJ4BW.js";import"./IOEO7NH2.js";import"./FEHMNV6J.js";import"./QSBYDZTY.js";import"./LKESW2XU.js";import"./Y52LHFGH.js";import"./C7IMTAIR.js";import"./CAMRVT35.js";import"./QR7PH3QP.js";import"./RQAEYXXF.js";import"./BBBKJ2UQ.js";import"./FUBHAGVT.js";import"./DBEOLJEO.js";import"./OLVTB2RW.js";import"./BUGKN2EK.js";import"./VXK5DP2I.js";import"./BXW6YQX7.js";import"./RSSSAWZV.js";import"./5JJSBYX2.js";import"./LT245S6C.js";import"./SN2RHPGN.js";import"./VUCXTV3C.js";import"./PEJXI52A.js";import"./RE2337YM.js";import"./WPTOJNBR.js";import{f as s}from"./THXBLPGB.js";import"./55L5NGSV.js";import"./IEIZLANS.js";import"./PRYFYFCL.js";import"./OVHTPOHF.js";import"./ND7X7V2M.js";import"./2SFSEILV.js";import"./RKPOXQHO.js";import"./ENX5GNOR.js";import"./OIDXSNUU.js";import"./6RTAUWUB.js";import"./FIODTVCH.js";import"./EOORN2GS.js";import"./KMP7XZD4.js";import"./RPCKA2EO.js";import"./ESLDTQX7.js";import"./UKIZ6SRV.js";import"./WIQ3BW67.js";import"./4VPG7GS4.js";import"./4LYJA5OT.js";import"./POBWK2IU.js";import"./W6RWQO4F.js";import"./D37Y6BWC.js";import"./5ECQ3LOG.js";import"./CG6YLAEU.js";import"./GLOYDWWU.js";import"./YVPKPOOM.js";import"./XFTGQ3LB.js";import"./GOVBIV4N.js";import"./RFCBGE4T.js";import"./PLC7ZJXK.js";import"./7N4RGR4K.js";import"./LARC4DQ2.js";import"./HR4GLWH2.js";import"./EIKKSHSJ.js";export default $arcgis.t(([])=>{var g=":host{display:block;height:100%}.footer-container{display:flex;height:2rem;align-items:center;justify-content:flex-end}",b=g,f={discussion:"hub:discussion:settings:discussions",site:"hub:site:settings:discussions",content:"hub:content:settings:discussions",group:"hub:group:settings:discussions"},C=class{constructor(i){y(this,i),this.arcgisHubWorkspaceEntityChange=a(this,"arcgisHubWorkspaceEntityChange",7),this.hubTelemetry=a(this,"hubTelemetry",7),this.handleEntityEditorChange=t=>{t.stopPropagation(),this.arcgisHubWorkspaceEntityChange.emit({entity:t.detail.values,isDirty:!0})},this.handleEntityEditorSaved=t=>{t.stopPropagation(),this.arcgisHubWorkspaceEntityChange.emit({entity:t.detail.entity,isDirty:!t.detail.isSuccess})},this.handleChannelEntitySaved=async t=>{t.stopPropagation();let{isSuccess:o}=t.detail;o&&(E({title:this.intl.t("successNoticeTitle"),configuration:{noticeType:"alert",autoClose:!0,autoCloseDuration:"fast",icon:!0,kind:"success",label:"Lorem ipsum"}}),this.channelEntity=null)},this.handleChannelEntityEditorClosed=()=>{let t=this.channelEntity.canEdit?n.dictionary.category.interaction.action.close.label.modal.details.editChannel:n.dictionary.category.interaction.action.close.label.modal.details.viewChannel;this.hubTelemetry.emit(Object.assign(Object.assign({},t),{channelId:this.channelEntity.id,channelAccess:s(this.channelEntity.channel)})),this.channelEntity=null},this.entity=void 0,this.isMobile=!1,this.footerSlotEl=void 0,this.channelEntity=null}async componentWillLoad(){await this.loadTranslations()}get _context(){return u()}async handleGalleryLinkClick(i){i.stopPropagation();let{model:{id:t}}=i.detail;this.channelEntity=await p("channel",t,this._context);let o=this.channelEntity.canEdit?n.dictionary.category.interaction.action.open.label.modal.details.editChannel:n.dictionary.category.interaction.action.open.label.modal.details.viewChannel;this.hubTelemetry.emit(Object.assign(Object.assign({},o),{channelId:t,channelAccess:s(this.channelEntity.channel)}))}handleConfigurationFormClose(){this.channelEntity=null}async loadTranslations(){this.intl=await l.loadIntlForComponent(this.element)}get editorType(){let i=m(this.entity.type);return f[i]||null}get isValidEditorType(){return c.includes(this.editorType)}renderEntityEditor(){if(this.isValidEditorType&&this.footerSlotEl)return e("arcgis-hub-entity-editor",{editorType:this.editorType,entity:this.entity,footerSlotRef:this.footerSlotEl,onArcgisHubEntityEditorChange:this.handleEntityEditorChange,onArcgisHubEntityEditorSaved:this.handleEntityEditorSaved,variant:r.workspace})}renderFooter(){if(this.isValidEditorType)return e("div",{class:"footer-container",ref:i=>{this.footerSlotEl=i},slot:"footer"})}renderChannelEntityEditor(){if(this.channelEntity)return e("arcgis-hub-entity-editor",{editorType:"hub:channel:edit",entity:this.channelEntity,isDisabled:!this.channelEntity.canEdit,isOpen:!0,layout:"modal",modalTitle:this.channelEntity.canEdit?this.intl.t("editChannel"):this.intl.t("viewChannel"),onArcgisHubEntityEditorModalClosed:this.handleChannelEntityEditorClosed,onArcgisHubEntityEditorSaved:this.handleChannelEntitySaved,variant:r.workspace})}render(){return e(h,{key:"47a62fabb2eed15c5c745f3877335428ce4e03ca","data-element":"entity-discussions-settings-pane"},e("arcgis-hub-workspace-pane",{key:"b366b39dcf180f0d0c37b8ed1a724357983c17c7",isMobile:this.isMobile,showHeader:!0,stickyFooter:!0},e("h1",{key:"cc73bac9135f7a6c98870a2a70ebc4b1aa1fc151",slot:"title"},this.intl.t("title")),this.renderEntityEditor(),this.renderFooter(),this.renderChannelEntityEditor()))}static get assetsDirs(){return["locales"]}get element(){return d(this)}};C.style=b;return C},"config")
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.9/esri/copyright.txt for details.
3
+ v0.9.1 */
4
+ import{a}from"./FW5NXRLN.js";import"./KKKUUCFG.js";import"./EIKKSHSJ.js";export{a as buildUiSchema};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.9/esri/copyright.txt for details.
3
+ v0.9.1 */
4
+ import{b as s}from"./VXK5DP2I.js";var i;(function(c){c.Custom="custom",c.None="none"})(i||(i={}));var o={custom:"licenseDescriptionCustom",cc0:"licenseDescriptionCc0","cc-by":"licenseDescriptionCcBy","cc-by-sa":"licenseDescriptionCcBySa","cc-by-nd":"licenseDescriptionCcByNd","cc-by-nc":"licenseDescriptionCcByNc","cc-by-nc-sa":"licenseDescriptionCcByNcSa","cc-by-nc-nd":"licenseDescriptionCcByNcNd",pddl:"licenseDescriptionPddl",odbl:"licenseDescriptionOdbl","odc-by":"licenseDescriptionOdcBy"};function u(c){return c.map(e=>s(e))}function r(c){let e=/(?:(?!-\d).)+/,n=c.toString().match(e),t=n&&n[0].toLowerCase();return o[t]||null}function p(c,e){let n=r(e);return n&&c.t(n)}function a(c){return c===i.Custom}function y(c){return Object.values(i).includes(c)}export{u as a,p as b,a as c,y as d};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.9/esri/copyright.txt for details.
3
+ v0.9.1 */
4
+ import{a as D}from"./NS3BB3SU.js";import{a as j}from"./LUKTYLCY.js";import{e as n,f as c}from"./OXXF7TXL.js";import{c as p,d as m,h as S,j as U,l as C}from"./C7IMTAIR.js";import{b as d}from"./BUGKN2EK.js";import{l as E}from"./THXBLPGB.js";import{d as K}from"./55L5NGSV.js";import{l as g,s as f,x as w,y as l}from"./EOORN2GS.js";import{a as v}from"./UKIZ6SRV.js";import{a as y}from"./YVPKPOOM.js";import{i as b}from"./RFCBGE4T.js";import{a as u}from"./HR4GLWH2.js";function P(){let t=p();t.push({entityKey:"permissions",storeKey:"data.permissions"}),t.push({entityKey:"licenseInfo",storeKey:"item.licenseInfo"}),t.push({entityKey:"size",storeKey:"item.size"});let e=t.findIndex(s=>s.entityKey==="view");return e>-1?t[e].storeKey="item.properties.view":t.push({entityKey:"view",storeKey:"item.properties.view"}),t}function k(t,e,s,a={}){let r;s.authentication&&(r=s.authentication.token),e=m(t.item,e);let o=d(t.item,s,r);if(e.thumbnailUrl=o,e.links={self:v(e.id,s),siteRelative:g(e.type,e.slug||e.id,e.typeKeywords),siteRelativeEntityType:g(e.type),workspaceRelative:K("content",e.id),thumbnail:o,contentEditUrl:w(t.item,s)},e.licenseInfo=t.item.licenseInfo||"",e.schedule=a.schedule,e.extendedProps=j(e.url)?R(t.item,a,s):x(t.item,a,s),a.server){e.serverQueryCapability=c(n.QUERY,a.server),e.serverExtractCapability=c(n.EXTRACT,a.server);let i=u(a,"server.supportedExportFormats");e.serverExtractFormats=i&&i.split(",")}return a.metadata&&(e.additionalResources=f(t.item,a.metadata,s)),e}function R(t,e,s){let a=I(t,e,s),r=Object.assign(Object.assign({},a),{kind:"service"});if(e.server){r.server=e.server,r.serverQueryCapability=c(n.QUERY,e.server),r.serverExtractCapability=c(n.EXTRACT,e.server);let o=u(e,"server.supportedExportFormats");r.serverExtractFormats=o&&o.split(",")}return r}function x(t,e,s){let a=I(t,e,s);return Object.assign(Object.assign({},a),{kind:"content"})}function I(t,e,s){return{kind:null,metadata:e.metadata,additionalResources:f(t,e.metadata,s),downloads:u(t,"properties.downloads")}}function Z(t,e,s,a={}){let o=new E(P()).storeToEntity(t,a);return k(t,o,e,s)}var T=async(t,e)=>{let s=await fetch(l(t,e)),a=await s.json();if(!s.ok||a.statusCode===404)return{message:`Download schedule not found for item ${t}`,statusCode:404,schedule:null};if(a.mode==="manual")return{schedule:{mode:"manual"},message:`Download schedule found for item ${t}`,statusCode:200};switch(delete a.itemId,a.cadence){case"daily":case"weekly":case"monthly":case"yearly":return{schedule:Object.assign(Object.assign({},a),{mode:"scheduled"}),message:`Download schedule found for item ${t}`,statusCode:200}}},_=async(t,e,s)=>{let a=y(e);a.mode!=="manual"&&delete a.mode;let r=l(t,s),o={method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify(Object.assign(Object.assign({},a),{itemId:t}))},i=await fetch(r,o);return Object.assign(Object.assign({},await i.json()),{statusCode:i.status})},A=async(t,e)=>{let s=l(t,e),r=await fetch(s,{method:"DELETE",headers:{accept:"application/json"}});return Object.assign(Object.assign({},await r.json()),{statusCode:r.status})},q=async(t,e)=>{let s=await T(t.id,e);return t.schedule.mode==="automatic"&&s.statusCode===404?{message:"No schedule set, and incoming schedule is automatic.",statusCode:404}:D(t.schedule,s.schedule)?{message:"No action needed as schedules deepEqual each other."}:t.schedule.mode==="automatic"?await A(t.id,e):await _(t.id,t.schedule,e)},ee=(t,e)=>{var s,a;let r=(s=t.authentication)===null||s===void 0?void 0:s.token;return((a=t.portal)===null||a===void 0?void 0:a.includes("arcgis.com"))&&e==="public"&&!!r};function te(){let t=p();return t.push({entityKey:"prompt",storeKey:"data.prompt"}),t.push({entityKey:"catalog",storeKey:"data.catalog"}),t}var F="Discussion",h=1.1,se={name:"",tags:[],typeKeywords:["Hub Discussion"],permissions:[],catalog:{schemaVersion:0},schemaVersion:h,isDiscussable:!0},ae={item:{type:F,title:"",description:"",snippet:"",tags:[],typeKeywords:["Hub Discussion"],properties:{slug:"",schemaVersion:h}},data:{catalog:{schemaVersion:0},prompt:""}};function M(t){if(t.schemaVersion>=1.1)return t;let e=y(t),{slug:s,orgUrlKey:a,typeKeywords:r}=S(e.slug||"",e.orgUrlKey||"",e.typeKeywords||[]);return e.slug=s,e.orgUrlKey=a,e.typeKeywords=r,e.schemaVersion=1.1,e}function N(t){return t.schemaVersion===h?t:M(t)}function re(t,e,s){let a;return s.authentication&&(a=s.authentication.token),e=m(t.item,e),e.thumbnailUrl=d(t.item,s,a),e=N(e),e}function H(t,e){return C(t,e)}function oe(t,e,s){var a;let r;return s.authentication&&(r=s.authentication.token),e=m(t.item,e),e.thumbnailUrl=d(t.item,s,r),e.features=U(((a=t.data.settings)===null||a===void 0?void 0:a.features)||{},b),e.links=H(t.item,s),e}function ie(){let t=p();return t.push({entityKey:"previewUrl",storeKey:"item.properties.previewUrl"}),t.push({entityKey:"siteSolutionId",storeKey:"data.siteSolutionId"}),t.push({entityKey:"recommendedTemplates",storeKey:"data.recommendedTemplates"}),t}export{P as a,Z as b,T as c,q as d,ee as e,te as f,se as g,ae as h,re as i,H as j,oe as k,ie as l};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.9/esri/copyright.txt for details.
3
+ v0.9.1 */
4
+ import{i as d}from"./C7IMTAIR.js";import{a as h}from"./IEIZLANS.js";import{a as f}from"./KMP7XZD4.js";import{a as l,k as u}from"./YVPKPOOM.js";import{n as p}from"./RFCBGE4T.js";import{a as m}from"./HR4GLWH2.js";function F(r=[],o){let e=w(r,o.permission,o.collaborationId);return e.push(o),e}function w(r=[],o,e){return l(r).filter(s=>s.permission!==o||s.collaborationId!==e)}var j=async(r,o,e)=>{let t=o.map(d),s=p("enrichment",t).filter(u),a={};return s.length&&(a=await P(r,s,e)),t.forEach(n=>{f(n.prop,m(a,n.path),r)}),r},P=async(r,o,e)=>{let t=o.reduce((n,c)=>{let i={followersGroup:g}[c];return i&&n.push({enrichment:c,operation:i}),n},[]),s=t.map(({operation:n})=>n(r,e));return(await Promise.all(s)).reduce((n,c,i)=>(n[t[i].enrichment]=c,n),{})},g=async(r,o)=>{let e={};try{let t=m(r,"followersGroupId");t&&(e=await h(t,o))}catch{return{}}return e};export{F as a,w as b,j as c};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.9/esri/copyright.txt for details.
3
+ v0.9.1 */
4
+ import{a,b,c,d,e,f,g}from"./ZVZI3VUE.js";import"./DFNA7CSX.js";import"./JODCF4WS.js";import"./7BXV73GE.js";import"./PEOGJ4BW.js";import"./IOEO7NH2.js";import"./FEHMNV6J.js";import"./QSBYDZTY.js";import"./LKESW2XU.js";import"./Y52LHFGH.js";import"./C7IMTAIR.js";import"./CAMRVT35.js";import"./QR7PH3QP.js";import"./RQAEYXXF.js";import"./BBBKJ2UQ.js";import"./FUBHAGVT.js";import"./DBEOLJEO.js";import"./OLVTB2RW.js";import"./BUGKN2EK.js";import"./VXK5DP2I.js";import"./BXW6YQX7.js";import"./RSSSAWZV.js";import"./5JJSBYX2.js";import"./LT245S6C.js";import"./SN2RHPGN.js";import"./VUCXTV3C.js";import"./PEJXI52A.js";import"./RE2337YM.js";import"./WPTOJNBR.js";import"./THXBLPGB.js";import"./55L5NGSV.js";import"./IEIZLANS.js";import"./PRYFYFCL.js";import"./OVHTPOHF.js";import"./ND7X7V2M.js";import"./2SFSEILV.js";import"./RKPOXQHO.js";import"./ENX5GNOR.js";import"./OIDXSNUU.js";import"./6RTAUWUB.js";import"./FIODTVCH.js";import"./EOORN2GS.js";import"./KMP7XZD4.js";import"./RPCKA2EO.js";import"./ESLDTQX7.js";import"./UKIZ6SRV.js";import"./WIQ3BW67.js";import"./4VPG7GS4.js";import"./4LYJA5OT.js";import"./POBWK2IU.js";import"./W6RWQO4F.js";import"./D37Y6BWC.js";import"./5ECQ3LOG.js";import"./CG6YLAEU.js";import"./GLOYDWWU.js";import"./YVPKPOOM.js";import"./XFTGQ3LB.js";import"./GOVBIV4N.js";import"./RFCBGE4T.js";import"./PLC7ZJXK.js";import"./7N4RGR4K.js";import"./LARC4DQ2.js";import"./HR4GLWH2.js";import"./EIKKSHSJ.js";export{a as C,c as a,e as b,d as c,g as d,f,b as t};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.9/esri/copyright.txt for details.
3
+ v0.9.1 */
4
+ import{e as u}from"./4FQUHP62.js";import{a as S,b}from"./POGSCBWC.js";import{a as l}from"./SDNVFDYT.js";import{g as d}from"./ENX5GNOR.js";import{a as p}from"./KMP7XZD4.js";import{a as v}from"./YVPKPOOM.js";import{a as c}from"./LARC4DQ2.js";function I(s){let e={replaceState:!1,uri:s,featureFlags:{}},t=s.split("?")[0],i=s.split("?")[1];if(i){let r=i.split("&"),o=[];for(let n of r){let a=n.split("=")[0],h=decodeURIComponent(n.split("=")[1]),g=!1;if(["pe","pd"].includes(a)){let y=a==="pe";e.featureFlags[h]=y,g=!0,e.replaceState=!1}g||(o=[...o,n])}o.length?e.uri=`${t}?${o.join("&")}`:e.uri=t}return e}function T(s){let e={},t=s.split("?")[1];if(t){let i=t.split("&");for(let r of i){let[o,n]=r.split("=");if(["sol","sna"].includes(o)){let a=o==="sol"?"offline":"not-available";e[n]=a}}}return e}var f="__CONTEXT_MANAGER",F=s=>{s?.serialize?localStorage.setItem(f,s.serialize()):localStorage.removeItem(f)};function L(s){let e=localStorage.getItem(f);if(e){let t=JSON.parse(b(e)),{featureFlags:i}=I(window.location.href),r=T(window.location.href);t=Object.assign(Object.assign({},t),{featureFlags:i,serviceFlags:r});let o=S(JSON.stringify(t));return u.deserialize(o)}else return s?u.create({portalUrl:s}):Promise.resolve()}var w="ESRI_HUB_NOTICES";function m(s=window){let e=s.localStorage.getItem(w),t=e&&l.atob(e);return t?JSON.parse(t):{dismissed:[]}}function O(s,e=window){let t=JSON.stringify(s),i=t&&l.btoa(t);e.localStorage.setItem(w,i)}async function B(s,e){let t=m();if(t.dismissed.includes(s)||O({dismissed:[...t.dismissed,s]}),e?.isAuthenticated&&e?.userHubSettings){let i=c(e,"userHubSettings.notices.dismissed",[]);i.includes(s)||(i.push(s),p("notices.dismissed",i,e.userHubSettings),await d(e.userHubSettings,e))}return Promise.resolve()}function K(s,e){let t=!0,i=m(),r={dismissed:[]};return e?.isAuthenticated&&e?.userHubSettings&&(r=c(e,"userHubSettings.notices",r)),[...i.dismissed,...r.dismissed].includes(s)&&(t=!1),t}async function Y(s,e){let i=m().dismissed.filter(r=>r!==s);if(O({dismissed:[...i]}),e.isAuthenticated&&e.userHubSettings){let o=c(e,"userHubSettings.notices.dismissed",[]).filter(a=>a!==s),n=v(e.userHubSettings);p("notices.dismissed",o,n),await d(n,e)}return Promise.resolve()}export{F as a,L as b,B as c,K as d,Y as e};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.9/esri/copyright.txt for details.
3
+ v0.9.1 */
4
+ import"./EIKKSHSJ.js";var l=(e,o,r)=>{let s=o.orgUrlKey,t={type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.siteUrl.label`,options:{requiredHelperText:{labelKey:`${e}.sections.defaultRequiredHelperText`}},elements:[{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:s,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]}]};return r.isPortal||t.elements.push({type:"Section",labelKey:`${e}.sections.privacy.label`,elements:[{scope:"/properties/telemetry/properties/consentNotice",type:"Control",options:{control:"arcgis-privacy-config"}}]}),Promise.resolve(t)};export{l as buildUiSchema};
@@ -0,0 +1,16 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.9/esri/copyright.txt for details.
3
+ v0.9.1 */
4
+ import{a as Ze,c as et}from"./DQD5HTG5.js";import{a as st}from"./6YMN5EP5.js";import{a as Ie}from"./NJOTWX5Y.js";import{a as Pe,b as Ae,c as ke,d as De,e as Ee}from"./QB3YMIJB.js";import{a as tt}from"./VRAGLETH.js";import{a as ie}from"./CB3AXKRB.js";import{a as de}from"./JHGM4W25.js";import{a as le,b as j}from"./LUB3FFKY.js";import{a as he}from"./VZXXRUFO.js";import b from"./US7KM5HH.js";import"./FR3RI25Y.js";import{a as Re}from"./5TSXB366.js";import a from"./PTBNPGIC.js";import"./TMVMHJCC.js";import"./OWPTWUDA.js";import{a as B}from"./I74VYBTY.js";import{c as Be,d as Ge,e as Ce,f as ze,g as re}from"./G4AEISNQ.js";import{a as _e}from"./DAF7U6TV.js";import{a as Ke,b as qe}from"./AWIKNCDM.js";import{a as We}from"./GQ2VB4SZ.js";import"./IUY6UST5.js";import"./ML7PCXMK.js";import{b as Le}from"./SZXJOO5L.js";import{f as Me}from"./ZVZI3VUE.js";import"./DFNA7CSX.js";import"./JODCF4WS.js";import"./X6ENNNDK.js";import"./O2WEZ735.js";import"./KKSPGIBT.js";import"./CF36QPIX.js";import"./TYROFW2Z.js";import"./5TTMCEBB.js";import{a as Te}from"./XJD6KKC2.js";import{a as W}from"./GWZ7OVMP.js";import{c as Z,j as ne}from"./C5J7GB74.js";import"./TAOYAQGV.js";import{a as g}from"./WKS7N4QQ.js";import"./ZRAM56ME.js";import{a as V}from"./EKDCORFL.js";import"./NERI4HHD.js";import"./C6BF5WHH.js";import{b as r,c as G,d as z,e as C,h as D,i as K}from"./LXOTOSFU.js";import"./54P6XENW.js";import"./4PGSKDR6.js";import{O as He,Q as Fe,R as Ne,S as M,T as Ue,U as ve,V as Ve}from"./7BXV73GE.js";import"./PEOGJ4BW.js";import"./IOEO7NH2.js";import"./FEHMNV6J.js";import"./QSBYDZTY.js";import"./LKESW2XU.js";import"./Y52LHFGH.js";import"./C7IMTAIR.js";import"./CAMRVT35.js";import"./QR7PH3QP.js";import"./RQAEYXXF.js";import"./BBBKJ2UQ.js";import"./FUBHAGVT.js";import"./DBEOLJEO.js";import"./OLVTB2RW.js";import"./BUGKN2EK.js";import"./VXK5DP2I.js";import"./BXW6YQX7.js";import"./RSSSAWZV.js";import"./5JJSBYX2.js";import"./LT245S6C.js";import"./SN2RHPGN.js";import"./VUCXTV3C.js";import"./PEJXI52A.js";import"./RE2337YM.js";import"./WPTOJNBR.js";import{a as ye,f as x,g as Se,h as fe,i as je}from"./THXBLPGB.js";import"./55L5NGSV.js";import"./IEIZLANS.js";import{c as $,d as m,f as A,i as v,o as ae}from"./PRYFYFCL.js";import"./OVHTPOHF.js";import{h as be}from"./ND7X7V2M.js";import"./2SFSEILV.js";import"./RKPOXQHO.js";import"./ENX5GNOR.js";import"./OIDXSNUU.js";import"./6RTAUWUB.js";import"./FIODTVCH.js";import"./EOORN2GS.js";import"./KMP7XZD4.js";import"./RPCKA2EO.js";import"./ESLDTQX7.js";import"./UKIZ6SRV.js";import"./WIQ3BW67.js";import"./4VPG7GS4.js";import"./4LYJA5OT.js";import"./POBWK2IU.js";import"./W6RWQO4F.js";import"./D37Y6BWC.js";import"./5ECQ3LOG.js";import"./CG6YLAEU.js";import"./GLOYDWWU.js";import{a as Y}from"./YVPKPOOM.js";import"./XFTGQ3LB.js";import"./GOVBIV4N.js";import"./RFCBGE4T.js";import{a as J}from"./PLC7ZJXK.js";import"./7N4RGR4K.js";import"./LARC4DQ2.js";import"./HR4GLWH2.js";import"./EIKKSHSJ.js";export default $arcgis.t(([,{a:ce,b:$e,c:xe,h:we,i:se,j:X,n:Qe,p:Ye,q:Oe,r:Je,s:Xe},ue])=>{function gt(e){function t(s,i,o){let{get:n}=o,a=function(){let l=n.call(this);return Ze(l,e)};return Object.assign(Object.assign({},o),{get:a})}return t}var mt="data-mention",bt=new RegExp(`<[a-z-]+( [a-z-]+(=('|")[\\w- ]+('|"))?)*( ${mt}=('|")[\\w@\\.-]+('|"))( [a-z-]+(=('|")[\\w- ]+('|"))?)*>@[\\w@\\.-]+</[a-z-]+>`,"g"),yt=(e,t)=>{let s=re(e)[0];return t?t.find(i=>i.userId===s):null};function ft(e,t,s,i,o){let n=Z(),a=(c="")=>{var l,d,u,h,p,y,b,f,_,w,T;let E=c.match(bt);if(E){let[k]=E,O=c.indexOf(k),P=O+k.length,L=O>0?c.substring(0,O):"",N=c.substring(O,O+k.length),R=yt(N,i),U=N.replace(k,`<arcgis-hub-discussions-mention-popover
5
+ access="${(d=(l=R?.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=R.user)===null||u===void 0?void 0:u.fullName)!==null&&h!==void 0?h:""}"
10
+ organization="${(y=(p=R.org)===null||p===void 0?void 0:p.name)!==null&&y!==void 0?y:""}"
11
+ region="${((b=R.user)===null||b===void 0?void 0:b.region)||""}"
12
+ thumbnail="${((f=R.user)===null||f===void 0?void 0:f.thumbnail)||""}"
13
+ token="${(_=n.hubRequestOptions.authentication)===null||_===void 0?void 0:_.token}"
14
+ user-id="${(T=(w=R.user)===null||w===void 0?void 0:w.id)!==null&&T!==void 0?T:""}"
15
+ username="${R.userId}"
16
+ >${k}</arcgis-hub-discussions-mention-popover>`);return L+U+a(c.substring(P))}else return c};return a(e)}function vt(){function e(t,s,i){let{get:o}=i,n=function(){let c=o.call(this);return ft(c,this.post,this.postCreator,this.postMentionedUsers,this.channel)};return Object.assign(Object.assign({},i),{get:n})}return e}function Ct(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 it(e,t){let{post:s}=e,{postMentionedUsers:i}=e;if(s){let o=re(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 Ae(c,t),d=null}catch(p){d=p,l=null}try{u=l?.orgId?await tt(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 rt(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!==A.APPROVED?et(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 _t=`.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)}`,xt=_t,Q=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},I;(function(e){e.Skeleton="skeleton",e.Post="post",e.Reply="reply",e.OutOfContext="outOfContext",e.Editor="editor",e.Deleted="deleted",e.Hidden="hidden"})(I||(I={}));var S;(function(e){e.IN="in",e.OUT="out",e.HIDDEN="hidden"})(S||(S={}));var q=class{constructor(e){K(this,e),this.arcgisHubDiscussionsPostEdit=C(this,"arcgisHubDiscussionsPostEdit",7),this.arcgisHubDiscussionsPostDelete=C(this,"arcgisHubDiscussionsPostDelete",7),this.arcgisHubDiscussionsPostSelect=C(this,"arcgisHubDiscussionsPostSelect",7),this.arcgisHubDiscussionsGeometryDrawReset=C(this,"arcgisHubDiscussionsGeometryDrawReset",7),this.arcgisHubDiscussionsGeometryDeselect=C(this,"arcgisHubDiscussionsGeometryDeselect",7),this.hubTelemetry=C(this,"hubTelemetry",7),this.arcgisHubDiscussionsPostReady=C(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=Z(),this.minHeight=null,this.popoverIsOpen=void 0,this.articleClass=null,this.editorClass=S.HIDDEN,this.renderedEl=null,this.editing=!1,this.errorMessage=null,this.intl=void 0,this.isCopied=void 0,this._loading=!1,W(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(){ne(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:y,entityType:b,discussionSettings:f,displayFieldKey:_,displayFieldValid:w,displayFieldValue:T,isHub:E,locationId:k,channelGroups:O}=this,[P,L]=await Promise.all([Pe({postId:e,post:a},u.hubRequestOptions),de({isHub:E},u.hubRequestOptions)]),[N,R]=await Promise.all([ke(Object.assign({postCreator:t,postCreatorOrg:s},P),u.hubRequestOptions),De(Object.assign({parentId:o,parent:i},P),u.hubRequestOptions)]),[U,pe,ge,me]=await Promise.all([ue(Object.assign(Object.assign({discussion:h,entityId:p,entityType:b,entity:y,displayFieldKey:_,displayFieldValid:w,displayFieldValue:T,locationId:k,discussionSettings:f},P),R),u.hubRequestOptions,!0),he(Object.assign(Object.assign({channelId:d,channel:l,channelGroups:O},P),R),u.hubRequestOptions),Ee(Object.assign({parentCreator:n},R),u.hubRequestOptions),it(Object.assign({postMentionedUsers:c},P),u.hubRequestOptions)]);return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},P),N),R),ge),pe),U),L),me)}async initialize(){this.loadTranslations(),this._context&&this.loadDependencies()}async loadTranslations(){this.intl=await V.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),Ue(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(){Ct(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===A.HIDDEN||t.status===A.BLOCKED?(i=A.APPROVED,o="show"):(i=A.HIDDEN,o="hide"),Ve(Object.assign({data:{status:i},postId:t.id},e.hubRequestOptions)).then(n=>M(Object.assign({postId:n.id,data:{relations:[v.REACTIONS,v.REPLIES,v.CHANNEL,v.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 M(Object.assign({postId:this.post.id,data:{relations:[v.REACTIONS,v.REPLIES,v.CHANNEL,v.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=S.IN,this.articleClass=S.HIDDEN):e.animationName==="out-right"?(this.editing=!1,this.editorClass=S.HIDDEN,this.articleClass=S.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 it({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?S.HIDDEN:S.OUT,this.articleClass=e?S.OUT:S.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{[I.Skeleton]:{render:n},[I.Post]:{render:i},[I.Reply]:{render:o},[I.OutOfContext]:{render:a},[I.Editor]:{render:e},[I.Deleted]:{render:t},[I.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=I.Skeleton:c===404?l=I.Deleted:c===422?l=I.Hidden:t?i?l=I.Editor:n?l=I.OutOfContext:a?l=I.Reply:l=I.Post:l=I.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===A.HIDDEN||t.status===A.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||_e(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:y,discussion:b,entityId:f,entityType:_,isMobile:w,channelId:T,channel:E,channelGroups:k,locationId:O,postId:P,isReply:L,lead:N,lastIndex:R,editorClass:U,parent:pe,parentId:ge,parentCreator:me,showLocations:ht,disableSelectExistingLocation:pt}=this;return r("div",{class:{"arcgis-hub-discussions-post-lead":L&&N,"arcgis-hub-discussions-post-last":L&&t===R,[U]:!!U,"arcgis-hub-discussions-post-editor-container":!0},ref:this.handleSetComponentRef},r("slot",{name:"editor"},r("arcgis-hub-discussions-post-editor",{channel:E,channelGroups:k,channelId:T,disableSelectExistingLocation:pt,discussion:b,discussionSettings:y,displayFieldKey:d,displayFieldValid:h,displayFieldValue:u,entity:p,entityId:f,entityType:_,hasMap:e,index:t,isHub:s,isMobile:w,locationId:O,parent:pe,parentCreator:me,parentId:ge,post:a,postCreator:c,postCreatorOrg:l,postId:P,showLocations:ht,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:y,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:y,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&&Ke(i,o.currentUser)&&ye(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(D,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(G,{key:"2b0656f069cf1aad5df0e91ea81ff998eb165fdc",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,y=h?"l":"m",b=[r("calcite-avatar",{"full-name":p?.fullName,key:"creator",scale:y,thumbnail:p?.thumbnail&&be(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":Qe(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||_e(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:y,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:y,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 z(this)}static get watchers(){return{renderedEl:["handleRenderedElChange"],_context:["handleContextChanged"]}}};Q([le({delay:300})],q.prototype,"fetchDependencies",null);Q([B("post.body","post.status"),gt({ignoreTags:["calcite-link"],replaceExisting:!0,tagName:"calcite-link"}),vt(),rt("postBody","sc-arcgis-hub-discussions-post blocked"),Ie({filterOptions:{whiteList:{"calcite-link":["href","data-mention"]}},extendDefaults:!0})],q.prototype,"postBody",null);Q([B("post.title","post.status"),rt("postTitle","sc-arcgis-hub-discussions-post blocked"),Ie()],q.prototype,"postTitle",null);Q([ie()],q.prototype,"capturePostDeepLinkImpression",null);Q([ie()],q.prototype,"capturePostListImpression",null);Q([ie()],q.prototype,"capturePostDeletedImpression",null);Q([ie()],q.prototype,"capturePostHiddenImpression",null);q.style=xt;var wt=':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}',Ot=wt,Rt=class{constructor(e){K(this,e),this.hubTelemetry=C(this,"hubTelemetry",7),this.post=void 0,this.index=void 0,this.channel=void 0,this.activeTooltip=null,W(this,"handleTooltipOpen","renderChip","handleChipMouseEnter","handleChipMouseOut")}async componentWillLoad(){this.intl=await V.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===A.HIDDEN||e.status===A.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===A.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(D,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(G,{key:"6ea6c416f8703ba913201a6ff0a602f8bacd95d9","data-count":e.length,"data-element":"post-chips","data-index":t},r("calcite-chip-group",{key:"22ce595913f6a108c5ed31f387ec7fccdaf76e9f",label:s.t("label"),scale:"s"},e.map(this.renderChip)))}static get assetsDirs(){return["locales"]}get element(){return z(this)}};Rt.style=Ot;var F;(function(e){e.AUDIENCE="audience",e.CONTENT="content"})(F||(F={}));var It="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%}",Pt=It,oe=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){K(this,e),this.arcgisHubDiscussionsPostEditorReady=C(this,"arcgisHubDiscussionsPostEditorReady",7),this.arcgisHubDiscussionsPostCancel=C(this,"arcgisHubDiscussionsPostCancel",7),this.arcgisHubDiscussionsPostCreate=C(this,"arcgisHubDiscussionsPostCreate",7),this.arcgisHubDiscussionsPostEdit=C(this,"arcgisHubDiscussionsPostEdit",7),this.arcgisHubDiscussionsGeometryDrawCreate=C(this,"arcgisHubDiscussionsGeometryDrawCreate",7),this.arcgisHubDiscussionsGeometryDrawTypeSelect=C(this,"arcgisHubDiscussionsGeometryDrawTypeSelect",7),this.arcgisHubDiscussionsGeometryDrawEdit=C(this,"arcgisHubDiscussionsGeometryDrawEdit",7),this.arcgisHubDiscussionsGeometryDrawReset=C(this,"arcgisHubDiscussionsGeometryDrawReset",7),this.arcgisHubDiscussionsGeometrySelect=C(this,"arcgisHubDiscussionsGeometrySelect",7),this.arcgisHubDiscussionsGeometryDeselect=C(this,"arcgisHubDiscussionsGeometryDeselect",7),this.arcgisHubDiscussionsGeometryClearAll=C(this,"arcgisHubDiscussionsGeometryClearAll",7),this.arcgisHubDiscussionsPostClose=C(this,"arcgisHubDiscussionsPostClose",7),this.hubTelemetry=C(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 y=Y(h?.geometry);this.geometryValue=Object.keys(y||{}).length?y: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=Y((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=F.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=Y(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=>(J.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=Z(),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 V.loadIntlForComponent(this.element)}connectedCallback(){ne(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=Y(e),i.geometry=t,s!==e.discussion&&(i.discussion=s)),i}get hasMentionedUsers(){return!!re(this.bodyValue).length}async fetchDependencies(){let[e,t]=await Promise.all([Pe({postId:this.postId,post:this.post},this._context.hubRequestOptions),de({isHub:this.isHub},this._context.hubRequestOptions)]),[s,i]=await Promise.all([ke(Object.assign({postCreator:this.postCreator,postCreatorOrg:this.postCreatorOrg},e),this._context.hubRequestOptions),De(Object.assign({parentId:this.parentId,parent:this.parent},e),this._context.hubRequestOptions)]),[o,n,a]=await Promise.all([ue(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),he(Object.assign(Object.assign({channelId:this.channelId,channel:this.channel,channelGroups:this.channelGroups},e),i),this._context.hubRequestOptions),Ee(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=Y(u);this.geometryValue=Object.keys(h||{}).length?h:null}if(a)this.step=F.CONTENT;else{let{total:c,results:l}=await Xe({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=F.CONTENT):this.step=F.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:Se(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=X(p,f,Array.from(_))}let y=null;s.length&&(y=s.length>1?se(s):s[0].geometry),this.errorMessage=null;let b;try{let{id:f}=await Fe(Object.assign({data:{channelId:h.id,discussion:p,title:n.trim()||void 0,body:o.trim(),geometry:y,asAnonymous:l},mentionUrl:window.location.href},t.hubRequestOptions));return b=await M(Object.assign({postId:f,data:{relations:[v.REACTIONS,v.CHANNEL,v.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:fe(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:fe(h).join(", "),channelId:a,channelAccess:h?x(h):""})),J.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=X(h,f,_)}let p=this.geometryValue&&Object.keys(this.geometryValue).length?we(Object.assign(Object.assign({},n),{geometry:this.geometryValue})):[];c.forEach(f=>{let{properties:{index:_},geometry:w}=f;w&&(p[+_].geometry=w)});let y=null,b=[...p,...a];return b.length&&(y=b.length>1?se(b):b[0].geometry.coordinates.length?b[0].geometry:null),ve(Object.assign({postId:n.id,data:{title:s.trim()||null,body:t.trim(),discussion:h,geometry:y},mentionUrl:window.location.href},e.hubRequestOptions)).then(f=>M(Object.assign({postId:f.id,data:{relations:[v.REACTIONS,v.REPLIES,v.CHANNEL,v.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)})),J.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}=We(this.discussionValue),n=this.entity.url.split("/").pop();o.splice(o.indexOf(t),1),this.discussionValue=X(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<=ce}get isBodyValid(){let{bodyValue:e}=this,t=e.trim();return t.length>0&&t.length<=$e}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>=ce-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-ce})}}get bodyMessage(){let{bodyValue:e,isBodyValid:t,intl:s}=this,{length:i}=e;if(i>=xe)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=qe(this.channel,this._context.currentUser),s=!ye(this.entity);return t&&s?e=this.isReply?j.EditReply:j.EditPost:t?e=this.isReply?j.EditReplyGroup:j.EditPostGroup:s&&(this.entityType==="group"?e=this.isReply?j.EditReplyGroup:j.EditPostGroup:e=this.isReply?j.EditReplyItem:j.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 y=!!d||p;return e&&(t?(h=s.t("saveReply"),y=y||o===e.body&&!l):(h=s.t("post.save"),y=y||(!i&&!e.title||i===e.title)&&o===e.body&&!l)),r("calcite-button",{appearance:"solid",class:"hub-discussions-post-editor-post-actions__primary",disabled:y||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(D,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(D,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(D,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:y,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:y,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(D,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(D,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(D,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:Le.workspace})))}async loadChannelDetails(e){var t;let s=await he(e,this._context.hubRequestOptions),i=await je(["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:F.CONTENT,_mentionQuery:i}))}async handleChannelTitleClick(e){this.channelEntityToView=await Me(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?Oe(this.discussionSettings.allowedChannelIds):Je()]}]}}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?Oe(this.discussionSettings.allowedChannelIds):Ye()]}]}}get channelGalleryLimit(){return this.hasAllowedChannelsList?this.discussionSettings.allowedChannelIds.length>4?4:this.discussionSettings.allowedChannelIds.length:4}renderCreate(){if(this.step===F.AUDIENCE)return this.renderAudienceStep();if(this.step===F.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(G,{key:"1a0791e6be888ce161cae4e1643d952dcf06cc98",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>=xe)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(),y=new Set(s.map(b=>b.objectId));u=X(u,p,Array.from(y))}let h=null;return t.length&&(h=t.length>1?se(t):t[0].geometry),this.errorMessage=null,Ne(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)})),M(Object.assign({postId:p.id,data:{relations:[v.REACTIONS,v.CHANNEL,v.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)})),J.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=X(u,b,f)}let h=this.geometryValue&&Object.keys(this.geometryValue).length?we(Object.assign(Object.assign({},s),{geometry:this.geometryValue})):[];l.forEach(b=>{let{properties:{index:f},geometry:_}=b;_&&(h[+f].geometry=_)});let p=null,y=[...h,...a];return y.length&&(y.length>1?p=se(y):p=y[0].geometry.coordinates.length?y[0].geometry:null),ve(Object.assign({postId:s.id,data:{body:t.trim(),discussion:u,geometry:p},mentionUrl:window.location.href},e.hubRequestOptions)).then(b=>M(Object.assign({postId:b.id,data:{relations:[v.REACTIONS,v.CHANNEL,v.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)})),J.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(D,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:y}=this;if(y)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(D,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 z(this)}static get watchers(){return{_context:["initialize"],geometryValue:["handleGeometryValueUpdated"],unsavedFeatures:["mapFeaturePropToState"],unsavedExistingFeatures:["mapExistingFeaturePropToState"],unsavedRelatedFeatures:["mapRelatedFeaturePropToState"],addLocationsActiveGeometryType:["handleAddLocationsActiveGeometryTypeChanged"]}}};oe([B("bodyValue")],te.prototype,"hasMentionedUsers",null);oe([B("discussionSettings","hasAllowedChannelsList")],te.prototype,"channelGalleryQuery",null);oe([B("channelPickerQuery")],te.prototype,"channelPickerCatalog",null);oe([B()],te.prototype,"channelPickerFacets",null);oe([B("discussionSettings")],te.prototype,"channelPickerQuery",null);te.style=Pt;var At='.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}',kt=At,Dt=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 ct=class{constructor(e){K(this,e),this.arcgisHubDiscussionsPostListUpdated=C(this,"arcgisHubDiscussionsPostListUpdated",7),this.arcgisHubDiscussionsPostListReady=C(this,"arcgisHubDiscussionsPostListReady",7),this.arcgisHubDiscussionsPostListLayoutChanged=C(this,"arcgisHubDiscussionsPostListLayoutChanged",7),this.hubTelemetry=C(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=ae.UPDATED_AT,this.sortOrder=$.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=[A.APPROVED,A.HIDDEN,A.PENDING,A.REJECTED,A.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=Z(),this.pending=!1,this.error=void 0,this.loadedPostIds=[],this.ready=!1,this.mostRecentPagePostIds=[],this._loading=!0,this.intl=void 0,W(this,"renderListAndActions","renderLoading","handleSortBySelect","handleSortOrderSelected","handleSearchInputChanged","_renderPost")}async componentWillLoad(){this.initialize()}connectedCallback(){ne(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 V.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 de({isHub:e},t.hubRequestOptions),p=await ue({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:ae.UPDATED_AT},{label:"sortCreator",value:ae.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===$.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:y,createdBefore:b,createdAfter:f,updatedBefore:_,updatedAfter:w,num:T}=this,E=O=>O===void 0?O:new Date(O),k={title:a&&`%${a}%`,body:c&&`%${c}%`,term:c&&`%${c}%`,discussion:l&&!l.endsWith("%")?`${l}%`:l,geometry:d,featureGeometry:p,parents:y,status:i,creator:u,editor:h,sortBy:e,sortOrder:t,access:s,channels:o,groups:n,createdBefore:E(b),createdAfter:E(f),updatedBefore:E(_),updatedAfter:E(w),num:T};return Object.entries(k).reduce((O,[P,L])=>L?Object.assign(Object.assign({},O),{[P]:L}):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}),He(Object.assign({data:Object.assign({start:e,relations:[v.REPLIES,v.REACTIONS,v.CHANNEL,v.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===$.DESC?$.ASC:$.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===$.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:y,entityId:b,entityType:f,discussionSettings:_,isMobile:w,locationDescriptionText:T,locationId:E,mostRecentPagePostIds:k,loadedPostIds:O,parentIds:P,showLocations:L,disableSelectExistingLocation:N}=this,R=k.includes(e.id)?k.some(U=>!O.includes(U)):!O.includes(e.id);return this.renderPost?this.renderPost(e,t,s,R):r("arcgis-hub-discussions-post",{channel:e.channel,channelId:e.channel.id,disableSelectExistingLocation:N,discussionSettings:_,displayFieldKey:l,displayFieldValid:d,displayFieldValue:u,entity:y,entityId:b,entityType:f,hasMap:i,index:t,isHub:o,isMobile:w,key:e.id,lastIndex:s.length-1,lead:!!P?.length,loading:R,locationDescriptionText:T,locationId:E,parentId:e.parentId,post:e,postId:e.id,preview:!e.parentId,role:"listitem",showChannelAvatar:h,showChannelName:p,showLocations:L,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(D,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(G,{key:"2ed8f4bcd368ecddc615afe597ee687cdae3d2d3",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 z(this)}static get watchers(){return{_context:["handleContextChanged"],ready:["handleReadyChanged"],loadedPostIds:["handleLoadedPostIdsChanged"],sortBy:["handleSortByChanged"],sortOrder:["handleSortOrderChanged"],bodyText:["handleBodyChanged"]}}};Dt([le({delay:300})],ct.prototype,"fetchDependencies",null);ct.style=kt;var lt=[m.THUMBS_UP,m.THINKING,m.GRINNING,m.PARTY_POPPER],nt=[...lt,m.SLIGHTLY_SMILING,m.CONFUSED,m.LAUGH,m.FACE_WITH_TEARS_OF_JOY,m.WINKING,m.PARTYING,m.SAD,m.SURPRISED,m.THUMBS_DOWN,m.CLAPPING_HANDS,m.RAISING_HANDS,m.WAVING_HAND,m.HEART,m.ONE_HUNDRED,m.FIRE,m.ROCKET,m.UP_ARROW,m.DOWN_ARROW,m.EYES,m.TROPHY,m.WORLD_MAP],H={[m.SLIGHTLY_SMILING]:{emoji:"\u{1F642}",telemetryKey:"smilingFace"},[m.CONFUSED]:{emoji:"\u{1F615}",telemetryKey:"confusedFace"},[m.LAUGH]:{emoji:"\u{1F600}",telemetryKey:"laughingFace"},[m.GRINNING]:{emoji:"\u{1F606}",telemetryKey:"grinningFace"},[m.FACE_WITH_TEARS_OF_JOY]:{emoji:"\u{1F602}",telemetryKey:"faceWithTearsOfJoy"},[m.THINKING]:{emoji:"\u{1F914}",telemetryKey:"thinkingFace"},[m.WINKING]:{emoji:"\u{1F609}",telemetryKey:"winkingFace"},[m.PARTYING]:{emoji:"\u{1F973}",telemetryKey:"partyingFace"},[m.SAD]:{emoji:"\u{1F625}",telemetryKey:"sadFace"},[m.SURPRISED]:{emoji:"\u{1F632}",telemetryKey:"shockedFace"},[m.THUMBS_UP]:{emoji:"\u{1F44D}",telemetryKey:"thumbsUp"},[m.THUMBS_DOWN]:{emoji:"\u{1F44E}",telemetryKey:"thumbsDown"},[m.CLAPPING_HANDS]:{emoji:"\u{1F44F}",telemetryKey:"clappingHands"},[m.RAISING_HANDS]:{emoji:"\u{1F64C}",telemetryKey:"raisingHands"},[m.WAVING_HAND]:{emoji:"\u{1F44B}",telemetryKey:"wavingHand"},[m.HEART]:{emoji:"\u2764\uFE0F",telemetryKey:"redHeart"},[m.ONE_HUNDRED]:{emoji:"\u{1F4AF}",telemetryKey:"hundredPoints"},[m.FIRE]:{emoji:"\u{1F525}",telemetryKey:"fire"},[m.PARTY_POPPER]:{emoji:"\u{1F389}",telemetryKey:"partyPopper"},[m.ROCKET]:{emoji:"\u{1F680}",telemetryKey:"rocket"},[m.UP_ARROW]:{emoji:"\u2B06",telemetryKey:"upArrow"},[m.DOWN_ARROW]:{emoji:"\u2B07",telemetryKey:"downArrow"},[m.EYES]:{emoji:"\u{1F440}",telemetryKey:"eyes"},[m.TROPHY]:{emoji:"\u{1F3C6}",telemetryKey:"trophy"},[m.WORLD_MAP]:{emoji:"\u{1F5FA}",telemetryKey:"worldMap"}},Et=`: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}`,Tt=Et,Lt=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},ot=(e,t)=>{let s=new Date(e.createdAt),i=new Date(t.createdAt);return s>i?-1:s<i?1:0},at=e=>(t,s)=>e[t.value].length>e[s.value].length?1:e[t.value].length<e[s.value].length?-1:0,dt=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){K(this,e),this.hubTelemetry=C(this,"hubTelemetry",7),this.arcgisHubDiscussionsPostReactionChange=C(this,"arcgisHubDiscussionsPostReactionChange",7),this.reactionListButtons={},this.postId=void 0,this.post=void 0,this.channel=void 0,this._context=Z(),this.showAllReactions=!1,this.activePopover=null,this.pending=!1,this.users={},W(this,"handleAddReactionClick","handleViewAllReactionsClick","handleAddReactionPopoverClose","handleReactionFocus","handleReactionMouseEnter","handleReactionPopoverClose","handleReactionClicked","handleReactionPopoverOpen","handleReactionRef","deleteUserReaction","handleReactionPopoverBeforeOpen")}async componentWillLoad(){let[e]=await Promise.all([V.loadIntlForComponent(this.element),this.handlePostIdChanged(this.postId)]);this.intl=e}connectedCallback(){ne(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(ot)}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(at(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(at(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)=>nt.includes(i.value)?Object.assign(Object.assign({},s),{[i.value]:[...s[i.value]||[],i]}):s;return[...e].sort(ot).reduce(t,{})}async fetchPostDetails(e,t){let{_context:s}=this;if(e&&e!==t){let i=await M(Object.assign({postId:e,data:{relations:[v.CHANNEL,v.CHANNEL_ACL,v.REACTIONS,v.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[H[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 Ae(e,this._context.hubRequestOptions).catch(t=>null)}async createReaction(e){let{_context:t,post:s,channel:i}=this;try{let o=await Be(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[H[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[H[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 Ge(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[H[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[H[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:y=>{this.reactionListButtons=Object.assign(Object.assign({},this.reactionListButtons),{[d.value]:y})},role:"radio",round:!0,scale:"m"},H[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&&be(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,H[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(D,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,lt.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"},H[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"},nt.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"},H[n].emoji))}))}renderAddReaction(){let{intl:e,handleAddReactionClick:t,handleAddReactionPopoverClose:s,isDisabled:i,activePopover:o,showAllReactions:n,addReactionButton:a}=this;return r(D,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(G,{key:"f0025fd90cfd946bad8ca7a32d1ee8854a4e2023",class:{rtl:this.intl.direction==="rtl"},"data-element":"arcgis-hub-discussions-post-reactions"},r("div",{key:"8c322a992367783f853a2d750e1287cf3615764c"},this.renderList(),this.renderOverflow(),this.renderAddReaction()))}static get assetsDirs(){return["locales"]}get element(){return z(this)}static get watchers(){return{postId:["handlePostIdChanged"],_context:["handleContextChanged"]}}};Lt([le({delay:300})],dt.prototype,"fetchUserRecord",null);dt.style=Tt;var St=":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)}",jt=St,Ht=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},ut=class{constructor(e){K(this,e),this.arcgisLayoutListLayoutSelected=C(this,"arcgisLayoutListLayoutSelected",7),this.layout="list",this.disabled=!1,this.showMapControl=void 0,this.scale="s",this.listStyleDeclaration=void 0,this.hasSlottedActions=!1,W(this,"handleResized","handleLayoutSelected","handleSlotChanged")}connectedCallback(){Re.addHandler(this.element,this.handleResized)}async componentWillLoad(){await this.loadTranslations()}disconnectedCallback(){Re.unobserve(this.element)}async loadTranslations(){this.intl=await V.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(G,{key:"ad4348406668558721fe7fab7a3704a7062bc315",class:{rtl:this.intl.direction==="rtl"}},this.renderActions(),this.renderList())}static get assetsDirs(){return["locales"]}get element(){return z(this)}};Ht([Te({timeout:250})],ut.prototype,"handleResized",null);ut.style=jt;var Ft=":host{display:block}",Nt=Ft,Ut=class{constructor(e){K(this,e),this.arcgisLoadMoreChange=C(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,W(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 V.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(G,{key:"e67f48f31b73b5bbed8be786933fa5e7b40f6de8"},a&&r("calcite-button",{appearance:d,disabled:c||e,kind:st(l),label:u,loading:e,onClick:t,round:s,scale:i,width:o},u))}static get assetsDirs(){return["locales"]}get el(){return z(this)}};Ut.style=Nt;return{arcgis_hub_discussions_post:q,arcgis_hub_discussions_post_chips:Rt,arcgis_hub_discussions_post_editor:te,arcgis_hub_discussions_post_list:ct,arcgis_hub_discussions_post_reactions:dt,arcgis_layout_list:ut,arcgis_load_more_button:Ut}},"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.9/esri/copyright.txt for details.
3
+ v0.9.1 */
4
+ import{a as i,b as c}from"./OT2FLVN6.js";import{a as S,c as A,d as f}from"./RE2337YM.js";import{g as o,h as s,j as E}from"./WPTOJNBR.js";import{l as v,m as K,n as P,q as D}from"./THXBLPGB.js";import{a as C}from"./YVPKPOOM.js";function L(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((e,l)=>[...e,{entityKey:l,storeKey:l}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"},{entityKey:"catalog",storeKey:"capabilities.catalog"}])}var h=class extends v{storeToEntity(e,l){var n,a,y,r,d,p,u,m;let t=P(e,l,this.mappings);t.type="Event";let g=e.access.toLowerCase();return g==="private"&&(e.readGroups.length>0||e.editGroups.length>0)?t.access="shared":t.access=g,t.isCanceled=e.status===o.CANCELED,t.isPlanned=e.status===o.PLANNED,t.isRemoved=e.status===o.REMOVED,e.attendanceType.includes(s.IN_PERSON)&&e.attendanceType.includes(s.VIRTUAL)?t.attendanceType=i.Both:e.attendanceType.includes(s.IN_PERSON)?t.attendanceType=i.InPerson:t.attendanceType=i.Online,t.onlineCapacity=(a=(n=e.onlineMeeting)===null||n===void 0?void 0:n.capacity)!==null&&a!==void 0?a:null,t.onlineCapacityType=!((y=e.onlineMeeting)===null||y===void 0)&&y.capacity?c.Fixed:c.Unlimited,t.inPersonCapacity=(r=e.inPersonCapacity)!==null&&r!==void 0?r:null,t.inPersonCapacityType=e.inPersonCapacity?c.Fixed:c.Unlimited,t.onlineDetails=(p=(d=e.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&p!==void 0?p:null,t.onlineUrl=(m=(u=e.onlineMeeting)===null||u===void 0?void 0:u.url)!==null&&m!==void 0?m:null,t.canChangeAccess=[e.permission.canSetAccessToPublic,e.permission.canSetAccessToOrg,e.permission.canSetAccessToPrivate].every(Boolean),t.canChangeStatus=[e.permission.canSetStatusToCancelled,e.permission.canSetStatusToRemoved].some(Boolean),t.referencedContentIds=e.associations.map(({entityId:T})=>T),t.referencedContentIdsByType=e.associations.map(({entityId:T,entityType:I})=>({entityId:T,entityType:I})),t.createdDate=new Date(e.createdAt),t.startDateTime=new Date(e.startDateTime),t.endDateTime=new Date(e.endDateTime),t.isPast=t.endDateTime<new Date,t.createdDateSource="createdAt",t.updatedDate=new Date(e.updatedAt),t.updatedDateSource="updatedAt",t.catalog=D(t.catalog||{}),t.links=A(e),t.slug=S(e),t.view={showMap:!!e.location},t.location=f(e),t}entityToStore(e,l){let n=C(e),a=K(n,l,this.mappings),y=n.access;return y==="shared"?a.access=E.PRIVATE:a.access=y.toUpperCase(),n.isRemoved?a.status=o.REMOVED:n.isCanceled?a.status=o.CANCELED:a.status=o.PLANNED,n.attendanceType===i.Both?a.attendanceType=[s.IN_PERSON,s.VIRTUAL]:n.attendanceType===i.InPerson?a.attendanceType=[s.IN_PERSON]:a.attendanceType=[s.VIRTUAL],[i.Online,i.Both].includes(n.attendanceType)&&(a.onlineMeeting={details:n.onlineDetails,capacity:n.onlineCapacityType===c.Fixed?n.onlineCapacity:null,url:n.onlineUrl}),[i.InPerson,i.Both].includes(n.attendanceType)?a.inPersonCapacity=n.inPersonCapacityType===c.Fixed?n.inPersonCapacity:null:a.inPersonCapacity=null,n.isAllDay&&(n.startTime="00:00:00",n.endTime="23:59:59"),a.location=n.location&&n.location.type!=="none"?{type:n.location.type,spatialReference:n.location.spatialReference,extent:n.location.extent,geometries:n.location.geometries,placeName:n.location.name}:null,a}};export{L as a,h as b};