@esri/hub-web-components 0.30.0 → 0.31.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 (1357) hide show
  1. package/dist/cdn/22BTQRYG.js +4 -0
  2. package/dist/cdn/24GYSNVU.js +4 -0
  3. package/dist/cdn/24IRMJRW.js +4 -0
  4. package/dist/cdn/24QM73P7.js +4 -0
  5. package/dist/cdn/27RS6EK6.js +4 -0
  6. package/dist/cdn/2A3CPLXL.js +4 -0
  7. package/dist/cdn/2ANGRHSY.js +4 -0
  8. package/dist/cdn/2C4RYCZI.js +4 -0
  9. package/dist/cdn/2CGVIPC4.js +4 -0
  10. package/dist/cdn/2CP2JTNS.js +4 -0
  11. package/dist/cdn/2CUMN63U.js +4 -0
  12. package/dist/cdn/2E64X6GL.js +4 -0
  13. package/dist/cdn/2EBJEQ6J.js +4 -0
  14. package/dist/cdn/2FGYSEXJ.js +4 -0
  15. package/dist/cdn/2GLOUG2K.js +4 -0
  16. package/dist/cdn/2HYGQU2S.js +4 -0
  17. package/dist/cdn/2J7326OB.js +4 -0
  18. package/dist/cdn/2JII623X.js +4 -0
  19. package/dist/cdn/2ME6RZO5.js +4 -0
  20. package/dist/cdn/2OLXUT2H.js +4 -0
  21. package/dist/cdn/2PANX2MG.js +4 -0
  22. package/dist/cdn/2QI7JDU6.js +4 -0
  23. package/dist/cdn/2Y2UAFK3.js +4 -0
  24. package/dist/cdn/2YQDCY5M.js +4 -0
  25. package/dist/cdn/2ZAXNZBR.js +4 -0
  26. package/dist/cdn/32MROFYF.js +4 -0
  27. package/dist/cdn/34N7RT66.js +4 -0
  28. package/dist/cdn/35YSIO5T.js +4 -0
  29. package/dist/cdn/35YSP75U.js +4 -0
  30. package/dist/cdn/3DS6QPK5.js +4 -0
  31. package/dist/cdn/3FCS54YS.js +4 -0
  32. package/dist/cdn/3FGDBBEJ.js +4 -0
  33. package/dist/cdn/3GEDNNEX.js +4 -0
  34. package/dist/cdn/3GX3V2EO.js +4 -0
  35. package/dist/cdn/3HBTE2Y2.js +4 -0
  36. package/dist/cdn/3HPZLM4Z.js +4 -0
  37. package/dist/cdn/3IJPCGEO.js +4 -0
  38. package/dist/cdn/3JHJOC7G.js +4 -0
  39. package/dist/cdn/3NZ4NTX7.js +4 -0
  40. package/dist/cdn/3OIT44LF.js +4 -0
  41. package/dist/cdn/3RDGYRWK.js +4 -0
  42. package/dist/cdn/3U5XFAMR.js +4 -0
  43. package/dist/cdn/3UFM6BNE.js +4 -0
  44. package/dist/cdn/3UGUGFRH.js +4 -0
  45. package/dist/cdn/3V7AUAJ3.js +4 -0
  46. package/dist/cdn/3VRTKLXH.js +4 -0
  47. package/dist/cdn/42R5M73Y.js +4 -0
  48. package/dist/cdn/442QIX5P.js +4 -0
  49. package/dist/cdn/44JDU3KK.js +4 -0
  50. package/dist/cdn/46DLS43H.js +4 -0
  51. package/dist/cdn/46OTMTL4.js +4 -0
  52. package/dist/cdn/4AS5622B.js +4 -0
  53. package/dist/cdn/4FSTZGVX.js +4 -0
  54. package/dist/cdn/4GTE4SAD.js +5 -0
  55. package/dist/cdn/4J2XXNST.js +4 -0
  56. package/dist/cdn/4MOG74EU.js +4 -0
  57. package/dist/cdn/4NC7JI6O.js +4 -0
  58. package/dist/cdn/4NIH7KJW.js +4 -0
  59. package/dist/cdn/4S26BQQ5.js +4 -0
  60. package/dist/cdn/4U6TBGUE.js +4 -0
  61. package/dist/cdn/4UYVLIAL.js +4 -0
  62. package/dist/cdn/4VIRB365.js +4 -0
  63. package/dist/cdn/4WZCQTRQ.js +4 -0
  64. package/dist/cdn/52SMYIJB.js +4 -0
  65. package/dist/cdn/54O73Q7K.js +4 -0
  66. package/dist/cdn/55FW5F2V.js +4 -0
  67. package/dist/cdn/56QS6WDX.js +4 -0
  68. package/dist/cdn/5AB4WP3F.js +4 -0
  69. package/dist/cdn/5EI6OQZP.js +4 -0
  70. package/dist/cdn/5GGPBFRI.js +4 -0
  71. package/dist/cdn/5GR4J7O5.js +4 -0
  72. package/dist/cdn/5ICHY35R.js +4 -0
  73. package/dist/cdn/5JLW6NAB.js +6 -0
  74. package/dist/cdn/5PN35C5F.js +4 -0
  75. package/dist/cdn/5PYQIAIO.js +4 -0
  76. package/dist/cdn/5QTSLXR6.js +4 -0
  77. package/dist/cdn/5T3NNB23.js +4 -0
  78. package/dist/cdn/5VVZ34KQ.js +4 -0
  79. package/dist/cdn/5ZRANXOH.js +4 -0
  80. package/dist/cdn/64QPH3P6.js +25 -0
  81. package/dist/cdn/6AWPUIUE.js +4 -0
  82. package/dist/cdn/6DFKBTA2.js +4 -0
  83. package/dist/cdn/6DORB5KJ.js +4 -0
  84. package/dist/cdn/6EVJ5M4P.js +4 -0
  85. package/dist/cdn/6FMQ7OBA.js +4 -0
  86. package/dist/cdn/6JOWGFUG.js +4 -0
  87. package/dist/cdn/6JQNVWBP.js +4 -0
  88. package/dist/cdn/6MCQBJYF.js +4 -0
  89. package/dist/cdn/6OIYFBV7.js +4 -0
  90. package/dist/cdn/6QOTX3XG.js +4 -0
  91. package/dist/cdn/6S6TFTM3.js +4 -0
  92. package/dist/cdn/6SF3FKG6.js +4 -0
  93. package/dist/cdn/6SYGGZSW.js +4 -0
  94. package/dist/cdn/6TVNJAZI.js +4 -0
  95. package/dist/cdn/6U2UYGKX.js +4 -0
  96. package/dist/cdn/6WJHVWIK.js +4 -0
  97. package/dist/cdn/6XNYKW4F.js +4 -0
  98. package/dist/cdn/76I7Q2XR.js +4 -0
  99. package/dist/cdn/7B37MY45.js +4 -0
  100. package/dist/cdn/7CAUHCOT.js +4 -0
  101. package/dist/cdn/7HPR5KG4.js +4 -0
  102. package/dist/cdn/7KNRSB3L.js +4 -0
  103. package/dist/cdn/7KZ4L2IE.js +4 -0
  104. package/dist/cdn/7NTIA76Q.js +4 -0
  105. package/dist/cdn/7OPICBWG.js +4 -0
  106. package/dist/cdn/7PJ4HSNZ.js +4 -0
  107. package/dist/cdn/7SGQGUGH.js +4 -0
  108. package/dist/cdn/7VLCM654.js +4 -0
  109. package/dist/cdn/7XCBIS6A.js +4 -0
  110. package/dist/cdn/A2KEZHFW.js +4 -0
  111. package/dist/cdn/A2VUXN72.js +4 -0
  112. package/dist/cdn/A45STWTT.js +4 -0
  113. package/dist/cdn/A5FZIO7P.js +4 -0
  114. package/dist/cdn/AAQDAH32.js +4 -0
  115. package/dist/cdn/AATBYMAI.js +4 -0
  116. package/dist/cdn/ABKQLTLV.js +4 -0
  117. package/dist/cdn/ADYSQUXL.js +4 -0
  118. package/dist/cdn/AFERTYXX.js +4 -0
  119. package/dist/cdn/AFZ3DXQ7.js +4 -0
  120. package/dist/cdn/AJ6PXE67.js +4 -0
  121. package/dist/cdn/AJATQNVR.js +4 -0
  122. package/dist/cdn/AQLR2EHA.js +4 -0
  123. package/dist/cdn/ARWGX2IB.js +4 -0
  124. package/dist/cdn/AT2E273W.js +8 -0
  125. package/dist/cdn/AT2FHROJ.js +4 -0
  126. package/dist/cdn/AU5SW3KY.js +4 -0
  127. package/dist/cdn/AV5M7B7W.js +4 -0
  128. package/dist/cdn/AXFWCU6X.js +4 -0
  129. package/dist/cdn/B3SYSSGP.js +4 -0
  130. package/dist/cdn/B4D2WG6D.js +4 -0
  131. package/dist/cdn/B7OXMFXI.js +4 -0
  132. package/dist/cdn/BC6A62U4.js +4 -0
  133. package/dist/cdn/BDCPCGPB.js +4 -0
  134. package/dist/cdn/BEQ45XAM.js +4 -0
  135. package/dist/cdn/BGZFEHXQ.js +4 -0
  136. package/dist/cdn/BLOIKXQA.js +4 -0
  137. package/dist/cdn/BODWHH75.js +4 -0
  138. package/dist/cdn/BORVUOC3.js +4 -0
  139. package/dist/cdn/BSKA54KN.js +41 -0
  140. package/dist/cdn/BTC5BMUK.js +4 -0
  141. package/dist/cdn/BTLVGISC.js +4 -0
  142. package/dist/cdn/BU6YMPE4.js +4 -0
  143. package/dist/cdn/BVU7A2AA.js +24 -0
  144. package/dist/cdn/BVUWJJTH.js +4 -0
  145. package/dist/cdn/BW7O4ISU.js +4 -0
  146. package/dist/cdn/BWYTUFPF.js +4 -0
  147. package/dist/cdn/BX6R4FWS.js +4 -0
  148. package/dist/cdn/BXYGJ4WB.js +4 -0
  149. package/dist/cdn/BZGZ5UV3.js +4 -0
  150. package/dist/cdn/C4AAUN3X.js +4 -0
  151. package/dist/cdn/C5UTJYNJ.js +4 -0
  152. package/dist/cdn/C63DQWME.js +4 -0
  153. package/dist/cdn/CC6TDT27.js +4 -0
  154. package/dist/cdn/CD22OSLK.js +4 -0
  155. package/dist/cdn/CE5EQBSR.js +4 -0
  156. package/dist/cdn/CEF6CSSH.js +4 -0
  157. package/dist/cdn/CEW5GYS4.js +4 -0
  158. package/dist/cdn/CF3GU3HH.js +4 -0
  159. package/dist/cdn/CGHOKMJH.js +4 -0
  160. package/dist/cdn/CI47UHHC.js +4 -0
  161. package/dist/cdn/CJSPKXHN.js +4 -0
  162. package/dist/cdn/CKY2E33O.js +4 -0
  163. package/dist/cdn/CLHXLKLV.js +4 -0
  164. package/dist/cdn/CMIOTVRX.js +4 -0
  165. package/dist/cdn/CMT62ABQ.js +52 -0
  166. package/dist/cdn/CNCNPRFG.js +4 -0
  167. package/dist/cdn/CODKIWUT.js +4 -0
  168. package/dist/cdn/CPSJWN3V.js +4 -0
  169. package/dist/cdn/CPSRX3MG.js +4 -0
  170. package/dist/cdn/CQJW3SU2.js +4 -0
  171. package/dist/cdn/CRRBQHLL.js +4 -0
  172. package/dist/cdn/CSLAT22T.js +4 -0
  173. package/dist/cdn/CTXHY6UU.js +4 -0
  174. package/dist/cdn/CVOVTBJJ.js +4 -0
  175. package/dist/cdn/CWHJTBHT.js +4 -0
  176. package/dist/cdn/CZGKE34Q.js +6 -0
  177. package/dist/cdn/D2OLH6W4.js +4 -0
  178. package/dist/cdn/D3Z5ARGB.js +4 -0
  179. package/dist/cdn/D5HW2ABH.js +4 -0
  180. package/dist/cdn/D67AZOG4.js +4 -0
  181. package/dist/cdn/D6MRQSO4.js +4 -0
  182. package/dist/cdn/DBKR2GKW.js +4 -0
  183. package/dist/cdn/DDFHFIQP.js +4 -0
  184. package/dist/cdn/DGYMVSGE.js +4 -0
  185. package/dist/cdn/DHALBXYG.js +4 -0
  186. package/dist/cdn/DJ4HVF2J.js +4 -0
  187. package/dist/cdn/DL643F46.js +4 -0
  188. package/dist/cdn/DNGYKHIF.js +4 -0
  189. package/dist/cdn/DON5DDJL.js +4 -0
  190. package/dist/cdn/DRBWWTRC.js +4 -0
  191. package/dist/cdn/DS5DAAC3.js +5 -0
  192. package/dist/cdn/DSZRIHTB.js +4 -0
  193. package/dist/cdn/DYFWGDA3.js +4 -0
  194. package/dist/cdn/DZCOQIDC.js +4 -0
  195. package/dist/cdn/E2EJGCXR.js +4 -0
  196. package/dist/cdn/E2P44OK3.js +4 -0
  197. package/dist/cdn/E32ZCB2O.js +4 -0
  198. package/dist/cdn/E5XILN5N.js +4 -0
  199. package/dist/cdn/EA2JG7WH.js +4 -0
  200. package/dist/cdn/EAVDD7KJ.js +4 -0
  201. package/dist/cdn/EDGGDWKA.js +5 -0
  202. package/dist/cdn/EDMZP2LQ.js +4 -0
  203. package/dist/cdn/EF5KU22D.js +4 -0
  204. package/dist/cdn/EF6OEOSY.js +4 -0
  205. package/dist/cdn/EFMNW63X.js +4 -0
  206. package/dist/cdn/EGDXZALF.js +4 -0
  207. package/dist/cdn/EGFZAROO.js +4 -0
  208. package/dist/cdn/EGSLQYW4.js +4 -0
  209. package/dist/cdn/EIB255SO.js +4 -0
  210. package/dist/cdn/ELFYDQ5V.js +4 -0
  211. package/dist/cdn/ELJBXQN2.js +4 -0
  212. package/dist/cdn/EN3Z3QWD.js +5 -0
  213. package/dist/cdn/EOWIICRI.js +4 -0
  214. package/dist/cdn/EPDIQHCO.js +4 -0
  215. package/dist/cdn/EQ4DPIBQ.js +4 -0
  216. package/dist/cdn/EQBVUKOU.js +4 -0
  217. package/dist/cdn/ERR5RRKC.js +4 -0
  218. package/dist/cdn/EVFTHSHK.js +4 -0
  219. package/dist/cdn/F3QLAEHC.js +4 -0
  220. package/dist/cdn/F7G766MZ.js +4 -0
  221. package/dist/cdn/F7XYKJ4A.js +4 -0
  222. package/dist/cdn/FBZBBWDW.js +4 -0
  223. package/dist/cdn/FC2FBMXT.js +4 -0
  224. package/dist/cdn/FG6LAU6V.js +4 -0
  225. package/dist/cdn/FHMXN7LN.js +4 -0
  226. package/dist/cdn/FHR3YKUJ.js +4 -0
  227. package/dist/cdn/FIILLQA2.js +4 -0
  228. package/dist/cdn/FIJOJIDS.js +4 -0
  229. package/dist/cdn/FIPACWDF.js +4 -0
  230. package/dist/cdn/FJFO7VP7.js +4 -0
  231. package/dist/cdn/FJRKPOKY.js +4 -0
  232. package/dist/cdn/FMRPKRCI.js +4 -0
  233. package/dist/cdn/FPEOZPRO.js +4 -0
  234. package/dist/cdn/FQ35XF4F.js +4 -0
  235. package/dist/cdn/FSH4CQA4.js +4 -0
  236. package/dist/cdn/FUOYZAUJ.js +4 -0
  237. package/dist/cdn/FZWXTX5X.js +4 -0
  238. package/dist/cdn/G2O74V6N.js +4 -0
  239. package/dist/cdn/G4A2MYCY.js +4 -0
  240. package/dist/cdn/G5OVBG46.js +4 -0
  241. package/dist/cdn/G67U4G7H.js +4 -0
  242. package/dist/cdn/G7ZDIPYA.js +4 -0
  243. package/dist/cdn/GAFREFCI.js +4 -0
  244. package/dist/cdn/GC2BOZCE.js +4 -0
  245. package/dist/cdn/GEJHWPPB.js +4 -0
  246. package/dist/cdn/GFLUYCSB.js +4 -0
  247. package/dist/cdn/GJGPVAFI.js +4 -0
  248. package/dist/cdn/GKICQBVJ.js +4 -0
  249. package/dist/cdn/GL7JZOWV.js +51 -0
  250. package/dist/cdn/GLFS3T3D.js +4 -0
  251. package/dist/cdn/GOT2QX25.js +4 -0
  252. package/dist/cdn/GPYTJJB3.js +4 -0
  253. package/dist/cdn/GQ5E67W3.js +4 -0
  254. package/dist/cdn/GQPAIQDB.js +4 -0
  255. package/dist/cdn/GSW6CRCS.js +4 -0
  256. package/dist/cdn/GU4DWO6F.js +4 -0
  257. package/dist/cdn/GWB6APRV.js +4 -0
  258. package/dist/cdn/GWRK4N2N.js +4 -0
  259. package/dist/cdn/GY74ID67.js +4 -0
  260. package/dist/cdn/GZ5JO3HN.js +4 -0
  261. package/dist/cdn/GZE5RLZN.js +4 -0
  262. package/dist/cdn/GZJWDQKU.js +4 -0
  263. package/dist/cdn/H5VH332G.js +4 -0
  264. package/dist/cdn/HFO3ZIG3.js +4 -0
  265. package/dist/cdn/HGFIXCHJ.js +4 -0
  266. package/dist/cdn/HHEMQXBY.js +4 -0
  267. package/dist/cdn/HJNMZ4YV.js +4 -0
  268. package/dist/cdn/HKLFOMJV.js +4 -0
  269. package/dist/cdn/HKO7ESZN.js +4 -0
  270. package/dist/cdn/HLYFLLKP.js +4 -0
  271. package/dist/cdn/HN2KTBD2.js +4 -0
  272. package/dist/cdn/HN7FZDZY.js +4 -0
  273. package/dist/cdn/HOT2GUQ4.js +4 -0
  274. package/dist/cdn/HOZGWPJV.js +4 -0
  275. package/dist/cdn/HPHYFIBB.js +4 -0
  276. package/dist/cdn/HPTTOG3N.js +4 -0
  277. package/dist/cdn/HSC4AGE4.js +4 -0
  278. package/dist/cdn/HU575ZI5.js +4 -0
  279. package/dist/cdn/HWMQ4OFP.js +4 -0
  280. package/dist/cdn/HWY4UDHY.js +4 -0
  281. package/dist/cdn/I22UE45T.js +4 -0
  282. package/dist/cdn/I5FUEMIZ.js +4 -0
  283. package/dist/cdn/I5XA5PP2.js +4 -0
  284. package/dist/cdn/I6WOP26J.js +4 -0
  285. package/dist/cdn/I73EBOXI.js +4 -0
  286. package/dist/cdn/ICCYDWHN.js +4 -0
  287. package/dist/cdn/IFKW7LC6.js +4 -0
  288. package/dist/cdn/IFMZKOQ6.js +4 -0
  289. package/dist/cdn/IHC633FP.js +4 -0
  290. package/dist/cdn/IHZLTDSQ.js +4 -0
  291. package/dist/cdn/IIUWS5JR.js +4 -0
  292. package/dist/cdn/IKWBBUFH.js +4 -0
  293. package/dist/cdn/ILA2Q56I.js +4 -0
  294. package/dist/cdn/IMCCJ4PI.js +4 -0
  295. package/dist/cdn/IN35JSPU.js +4 -0
  296. package/dist/cdn/IOVGIXK2.js +4 -0
  297. package/dist/cdn/IQR3Q7BP.js +4 -0
  298. package/dist/cdn/IR5MZPFH.js +4 -0
  299. package/dist/cdn/IRNTBPUH.js +4 -0
  300. package/dist/cdn/IS6VJDJT.js +4 -0
  301. package/dist/cdn/IUDLBHD7.js +59 -0
  302. package/dist/cdn/IXHIAOGX.js +4 -0
  303. package/dist/cdn/IXMDSAYV.js +4 -0
  304. package/dist/cdn/IZBC6XRC.js +4 -0
  305. package/dist/cdn/IZNQPSYB.js +4 -0
  306. package/dist/cdn/J4NAUNXQ.js +4 -0
  307. package/dist/cdn/J5S6XNWM.js +4 -0
  308. package/dist/cdn/J6N6RMWY.js +4 -0
  309. package/dist/cdn/J6SQOH6C.js +4 -0
  310. package/dist/cdn/JAAWDVYZ.js +4 -0
  311. package/dist/cdn/JCOCNGDT.js +4 -0
  312. package/dist/cdn/JDA2LTNI.js +4 -0
  313. package/dist/cdn/JF6H6VUR.js +4 -0
  314. package/dist/cdn/JHHSX36J.js +4 -0
  315. package/dist/cdn/JIN24PI4.js +4 -0
  316. package/dist/cdn/JJZHBLKG.js +4 -0
  317. package/dist/cdn/JLZBIVLP.js +4 -0
  318. package/dist/cdn/JM7FHWMU.js +4 -0
  319. package/dist/cdn/JMWXJXQX.js +4 -0
  320. package/dist/cdn/JPF5PJYD.js +4 -0
  321. package/dist/cdn/JPRL3OML.js +4 -0
  322. package/dist/cdn/JSKPBARA.js +4 -0
  323. package/dist/cdn/JU4JL7QY.js +4 -0
  324. package/dist/cdn/JU5XTVB6.js +4 -0
  325. package/dist/cdn/K3XO5U3U.js +4 -0
  326. package/dist/cdn/K5QFR7Z7.js +4 -0
  327. package/dist/cdn/K63TXXJQ.js +4 -0
  328. package/dist/cdn/KDYNCSUZ.js +4 -0
  329. package/dist/cdn/KHGH5F5B.js +4 -0
  330. package/dist/cdn/KHOQWVHC.js +4 -0
  331. package/dist/cdn/KJEX6WNP.js +4 -0
  332. package/dist/cdn/KM7IP56Q.js +4 -0
  333. package/dist/cdn/KMFYLLAP.js +4 -0
  334. package/dist/cdn/KN3G5BNQ.js +4 -0
  335. package/dist/cdn/KO45NNUL.js +4 -0
  336. package/dist/cdn/KQZI5TVD.js +4 -0
  337. package/dist/cdn/KR7VQHL2.js +4 -0
  338. package/dist/cdn/KSJC4U6F.js +4 -0
  339. package/dist/cdn/KT7WYXLT.js +4 -0
  340. package/dist/cdn/KTTPLZPY.js +4 -0
  341. package/dist/cdn/KUZEUBUK.js +4 -0
  342. package/dist/cdn/KVQCH2FF.js +4 -0
  343. package/dist/cdn/KVV7HFN4.js +4 -0
  344. package/dist/cdn/KYH3PE62.js +4 -0
  345. package/dist/cdn/KZUBTY3Q.js +4 -0
  346. package/dist/cdn/L3EZVCZC.js +4 -0
  347. package/dist/cdn/L3PAQQCT.js +4 -0
  348. package/dist/cdn/L5GRU3BE.js +4 -0
  349. package/dist/cdn/L5HLUGUH.js +4 -0
  350. package/dist/cdn/LDRANXF4.js +4 -0
  351. package/dist/cdn/LELQIRKQ.js +4 -0
  352. package/dist/cdn/LFL4CZXL.js +4 -0
  353. package/dist/cdn/LFTUVY6W.js +4 -0
  354. package/dist/cdn/LIV4HPMM.js +5 -0
  355. package/dist/cdn/LJME6QKB.js +4 -0
  356. package/dist/cdn/LM2Q27JF.js +4 -0
  357. package/dist/cdn/LMTEG3B5.js +4 -0
  358. package/dist/cdn/LNPURTHT.js +4 -0
  359. package/dist/cdn/LNT6CX3Q.js +4 -0
  360. package/dist/cdn/LONZKCLF.js +4 -0
  361. package/dist/cdn/LPHSMMYC.js +4 -0
  362. package/dist/cdn/LRJW4ABO.js +4 -0
  363. package/dist/cdn/LTA62VV4.js +4 -0
  364. package/dist/cdn/LUZUONJO.js +4 -0
  365. package/dist/cdn/LWCE5BSI.js +4 -0
  366. package/dist/cdn/LWSV6Z4N.js +4 -0
  367. package/dist/cdn/LZPNCFKY.js +4 -0
  368. package/dist/cdn/M2XQMWAK.js +4 -0
  369. package/dist/cdn/MA5MJZFL.js +4 -0
  370. package/dist/cdn/MAL44MAM.js +4 -0
  371. package/dist/cdn/MAMBIQIQ.js +4 -0
  372. package/dist/cdn/MAMOBO7I.js +4 -0
  373. package/dist/cdn/MAYDM4F4.js +4 -0
  374. package/dist/cdn/MFFYHTRZ.js +4 -0
  375. package/dist/cdn/MFG4PS3H.js +4 -0
  376. package/dist/cdn/MFHFB5WB.js +4 -0
  377. package/dist/cdn/MFUKAPXE.js +4 -0
  378. package/dist/cdn/MGUL3WWL.js +4 -0
  379. package/dist/cdn/MHCUIWIZ.js +4 -0
  380. package/dist/cdn/MHJMME4N.js +4 -0
  381. package/dist/cdn/MHQX4P4R.js +4 -0
  382. package/dist/cdn/MIUDNUYI.js +4 -0
  383. package/dist/cdn/MK3GNHJP.js +4 -0
  384. package/dist/cdn/ML265RCB.js +4 -0
  385. package/dist/cdn/MLCUW3L3.js +4 -0
  386. package/dist/cdn/MPG6CMIA.js +4 -0
  387. package/dist/cdn/MQB6C36Y.js +4 -0
  388. package/dist/cdn/MQM7OYGC.js +4 -0
  389. package/dist/cdn/MRJV3B72.js +4 -0
  390. package/dist/cdn/MRQAJBYR.js +4 -0
  391. package/dist/cdn/MWKDTN5K.js +4 -0
  392. package/dist/cdn/MWKSUOV2.js +11 -0
  393. package/dist/cdn/MX3GZME7.js +4 -0
  394. package/dist/cdn/MX4YZHK7.js +4 -0
  395. package/dist/cdn/MZK7FV4J.js +4 -0
  396. package/dist/cdn/N26CFLC6.js +4 -0
  397. package/dist/cdn/N3MC4RFL.js +4 -0
  398. package/dist/cdn/N5FSZHCL.js +4 -0
  399. package/dist/cdn/NAFRLHGK.js +9 -0
  400. package/dist/cdn/NCY3SETY.js +4 -0
  401. package/dist/cdn/NDLVAM77.js +4 -0
  402. package/dist/cdn/NINVATKB.js +5470 -0
  403. package/dist/cdn/NKDVP7HM.js +4 -0
  404. package/dist/cdn/NL4JHIQE.js +4 -0
  405. package/dist/cdn/NNKTKXAX.js +4 -0
  406. package/dist/cdn/NQELRBTM.js +4 -0
  407. package/dist/cdn/NR2AIWD3.js +6 -0
  408. package/dist/cdn/NSD35LUT.js +4 -0
  409. package/dist/cdn/NV4CLPUM.js +4 -0
  410. package/dist/cdn/NVSJSDPE.js +4 -0
  411. package/dist/cdn/NVUWZFVZ.js +4 -0
  412. package/dist/cdn/NWJBGIWU.js +4 -0
  413. package/dist/cdn/NZF3WKYX.js +4 -0
  414. package/dist/cdn/O7G3HUQF.js +4 -0
  415. package/dist/cdn/OA7BYUHO.js +4 -0
  416. package/dist/cdn/OBHELN6U.js +4 -0
  417. package/dist/cdn/OBYU2I52.js +4 -0
  418. package/dist/cdn/ODNBLZFV.js +4 -0
  419. package/dist/cdn/ODNIHRNB.js +4 -0
  420. package/dist/cdn/ODW7DDGF.js +4 -0
  421. package/dist/cdn/OEMBXMS2.js +4 -0
  422. package/dist/cdn/OJ5BMAB6.js +4 -0
  423. package/dist/cdn/OJHDXNXP.js +4 -0
  424. package/dist/cdn/OLFBHYOM.js +4 -0
  425. package/dist/cdn/OLJRUZAD.js +4 -0
  426. package/dist/cdn/OLZ5HGP4.js +4 -0
  427. package/dist/cdn/OOHCVD6V.js +4 -0
  428. package/dist/cdn/OQPA7TRI.js +4 -0
  429. package/dist/cdn/OT6DSAV5.js +42 -0
  430. package/dist/cdn/OTZAYQJM.js +4 -0
  431. package/dist/cdn/OV4Z7IN2.js +4 -0
  432. package/dist/cdn/OVTU54LQ.js +4 -0
  433. package/dist/cdn/OX6CIBT4.js +4 -0
  434. package/dist/cdn/OYQGPOKM.js +4 -0
  435. package/dist/cdn/OYW6ABTY.js +4 -0
  436. package/dist/cdn/PAZTKVJ3.js +4 -0
  437. package/dist/cdn/PBHJ5ZFQ.js +4 -0
  438. package/dist/cdn/PBRRN6H6.js +4 -0
  439. package/dist/cdn/PEKDMVUK.js +4 -0
  440. package/dist/cdn/PF35VUGO.js +4 -0
  441. package/dist/cdn/PH2QGKTL.js +4 -0
  442. package/dist/cdn/PH3XKJB6.js +4 -0
  443. package/dist/cdn/PK5ZKAIN.js +4 -0
  444. package/dist/cdn/PN6A4RJY.js +4 -0
  445. package/dist/cdn/PP6SNTEX.js +4 -0
  446. package/dist/cdn/PPKJOMBV.js +4 -0
  447. package/dist/cdn/PRX372SC.js +4 -0
  448. package/dist/cdn/PS7DBD5N.js +4 -0
  449. package/dist/cdn/PSA7REIS.js +4 -0
  450. package/dist/cdn/PUJ3GVLZ.js +4 -0
  451. package/dist/cdn/PVVF43YK.js +4 -0
  452. package/dist/cdn/PYO6DQXG.js +16 -0
  453. package/dist/cdn/PZIPXCM7.js +4 -0
  454. package/dist/cdn/Q3O3UOND.js +4 -0
  455. package/dist/cdn/Q5CFP6LC.js +4 -0
  456. package/dist/cdn/QBL6QMIF.js +4 -0
  457. package/dist/cdn/QBN3NZUN.js +4 -0
  458. package/dist/cdn/QDA2Z5GW.js +4 -0
  459. package/dist/cdn/QFSL5PYM.js +4 -0
  460. package/dist/cdn/QGAEGINT.js +4 -0
  461. package/dist/cdn/QHDMNVG5.js +4 -0
  462. package/dist/cdn/QIJ5CIU2.js +4 -0
  463. package/dist/cdn/QJGFAJWS.js +4 -0
  464. package/dist/cdn/QJXEQ2GW.js +4 -0
  465. package/dist/cdn/QL5MPQXY.js +4 -0
  466. package/dist/cdn/QMQZZNOS.js +4 -0
  467. package/dist/cdn/QNXEP4CQ.js +8 -0
  468. package/dist/cdn/QR2SS42K.js +4 -0
  469. package/dist/cdn/QRGO4FBI.js +4 -0
  470. package/dist/cdn/QRQCQPU4.js +4 -0
  471. package/dist/cdn/QSPJXXG2.js +4 -0
  472. package/dist/cdn/QZBQ2ZSR.js +4 -0
  473. package/dist/cdn/QZOQ7HTQ.js +4 -0
  474. package/dist/cdn/R4EB4TOD.js +4 -0
  475. package/dist/cdn/R635RKVM.js +4 -0
  476. package/dist/cdn/R6AVCT64.js +4 -0
  477. package/dist/cdn/R7SMLN62.js +4 -0
  478. package/dist/cdn/RASB77HO.js +4 -0
  479. package/dist/cdn/RBPEMV2S.js +4 -0
  480. package/dist/cdn/RCDQBYYF.js +4 -0
  481. package/dist/cdn/RCPYHTQ2.js +4 -0
  482. package/dist/cdn/RDIRY65U.js +4 -0
  483. package/dist/cdn/RDQMZUH3.js +4 -0
  484. package/dist/cdn/RF4KIYNL.js +4 -0
  485. package/dist/cdn/RHFZ7QBL.js +4 -0
  486. package/dist/cdn/RJEEFROQ.js +4 -0
  487. package/dist/cdn/RKKJZANS.js +4 -0
  488. package/dist/cdn/RQQY6RLR.js +4 -0
  489. package/dist/cdn/RUTTN255.js +4 -0
  490. package/dist/cdn/RUV6BPVT.js +4 -0
  491. package/dist/cdn/RWGUCXLW.js +4 -0
  492. package/dist/cdn/RXQYZL3K.js +4 -0
  493. package/dist/cdn/S2VVUWG7.js +4 -0
  494. package/dist/cdn/S6A75IRE.js +4 -0
  495. package/dist/cdn/S6ZQKIAZ.js +4 -0
  496. package/dist/cdn/SATVMGDP.js +4 -0
  497. package/dist/cdn/SBNLSJJZ.js +4 -0
  498. package/dist/cdn/SEP3XHS6.js +4 -0
  499. package/dist/cdn/SFMSYZNE.js +4 -0
  500. package/dist/cdn/SGSZAZRA.js +4 -0
  501. package/dist/cdn/SOKPFUE6.js +4 -0
  502. package/dist/cdn/SOTD3RJR.js +4 -0
  503. package/dist/cdn/SPRZ3K3R.js +4 -0
  504. package/dist/cdn/SREM2PZY.js +12 -0
  505. package/dist/cdn/SRGSZYVV.js +4 -0
  506. package/dist/cdn/SUUMQNJX.js +4 -0
  507. package/dist/cdn/SWIIN2U2.js +4 -0
  508. package/dist/cdn/SWJ7GHZR.js +4 -0
  509. package/dist/cdn/SYSMOBB4.js +4 -0
  510. package/dist/cdn/SZEX427D.js +4 -0
  511. package/dist/cdn/SZSXGRP6.js +4 -0
  512. package/dist/cdn/T2SMFXUP.js +4 -0
  513. package/dist/cdn/T2YPM46J.js +4 -0
  514. package/dist/cdn/T37TCNS6.js +4 -0
  515. package/dist/cdn/T52DV33G.js +4 -0
  516. package/dist/cdn/T5M26BFS.js +4 -0
  517. package/dist/cdn/T7HJTHEE.js +4 -0
  518. package/dist/cdn/TCICCL6I.js +4 -0
  519. package/dist/cdn/TCZ565WG.js +4 -0
  520. package/dist/cdn/TDWKANFP.js +4 -0
  521. package/dist/cdn/TFEE2EDE.js +4 -0
  522. package/dist/cdn/TFKGES46.js +4 -0
  523. package/dist/cdn/TFQ4DBA7.js +4 -0
  524. package/dist/cdn/TGH2IMUF.js +4 -0
  525. package/dist/cdn/THORZNOC.js +4 -0
  526. package/dist/cdn/TJKW4CEY.js +4 -0
  527. package/dist/cdn/TLEMCUVF.js +4 -0
  528. package/dist/cdn/TLOXR7XX.js +4 -0
  529. package/dist/cdn/TP3ME2Y6.js +4 -0
  530. package/dist/cdn/TQVT2BUN.js +4 -0
  531. package/dist/cdn/TRI7H7MY.js +4 -0
  532. package/dist/cdn/TVF2N54S.js +4 -0
  533. package/dist/cdn/TXMLOPOF.js +4 -0
  534. package/dist/cdn/TXO32CFQ.js +4 -0
  535. package/dist/cdn/TZFIE4IC.js +4 -0
  536. package/dist/cdn/TZZXEKO4.js +4 -0
  537. package/dist/cdn/U2DI7M45.js +4 -0
  538. package/dist/cdn/U4EK7YV4.js +4 -0
  539. package/dist/cdn/U4WLINZQ.js +4 -0
  540. package/dist/cdn/U6J74SB4.js +4 -0
  541. package/dist/cdn/UA2UDNXC.js +4 -0
  542. package/dist/cdn/UE3PIOJG.js +4 -0
  543. package/dist/cdn/UEJUOXQH.js +4 -0
  544. package/dist/cdn/UFKIV56J.js +4 -0
  545. package/dist/cdn/UFTV3ZOJ.js +4 -0
  546. package/dist/cdn/UG2LUVBY.js +4 -0
  547. package/dist/cdn/UGSSSIFY.js +4 -0
  548. package/dist/cdn/UJT2MUW2.js +4 -0
  549. package/dist/cdn/UORNTMBQ.js +5 -0
  550. package/dist/cdn/UOUW4TEV.js +4 -0
  551. package/dist/cdn/UVHXFAHI.js +4 -0
  552. package/dist/cdn/UYGYVU7I.js +4 -0
  553. package/dist/cdn/UZAKNMN5.js +4 -0
  554. package/dist/cdn/V55PNZEA.js +4 -0
  555. package/dist/cdn/V5KMT7CY.js +4 -0
  556. package/dist/cdn/V6LIN3J6.js +4 -0
  557. package/dist/cdn/VC2S3ILK.js +4 -0
  558. package/dist/cdn/VGVKB4Z7.js +4 -0
  559. package/dist/cdn/VITUUGTK.js +4 -0
  560. package/dist/cdn/VJGM6FR4.js +4 -0
  561. package/dist/cdn/VJORIV22.js +4 -0
  562. package/dist/cdn/VNXIZT5T.js +4 -0
  563. package/dist/cdn/VVMYRCEP.js +4 -0
  564. package/dist/cdn/VXIYDYBO.js +4 -0
  565. package/dist/cdn/VXULWM6J.js +4 -0
  566. package/dist/cdn/VYBWEIDD.js +4 -0
  567. package/dist/cdn/W2ET5T6G.js +4 -0
  568. package/dist/cdn/W447UH4L.js +4 -0
  569. package/dist/cdn/W75BT5SE.js +4 -0
  570. package/dist/cdn/WB3STYWD.js +12 -0
  571. package/dist/cdn/WBOFTBDR.js +4 -0
  572. package/dist/cdn/WCLWGSGP.js +4 -0
  573. package/dist/cdn/WCWU7IXM.js +4 -0
  574. package/dist/cdn/WD4DW4YE.js +4 -0
  575. package/dist/cdn/WFKGM5S3.js +4 -0
  576. package/dist/cdn/WGEQSBM4.js +4 -0
  577. package/dist/cdn/WHMBC3FP.js +4 -0
  578. package/dist/cdn/WJ6FXZ7Q.js +4 -0
  579. package/dist/cdn/WK7W2Z7L.js +4 -0
  580. package/dist/cdn/WKCL7EAC.js +4 -0
  581. package/dist/cdn/WM5NGMCY.js +4 -0
  582. package/dist/cdn/WPBMIWHK.js +4 -0
  583. package/dist/cdn/WPNWBJPA.js +4 -0
  584. package/dist/cdn/WPPC32SI.js +4 -0
  585. package/dist/cdn/WQLUPATZ.js +4 -0
  586. package/dist/cdn/WRBLVDDW.js +4 -0
  587. package/dist/cdn/WRIJ6LES.js +4 -0
  588. package/dist/cdn/WTRAODIS.js +4 -0
  589. package/dist/cdn/WUG5IGAE.js +4 -0
  590. package/dist/cdn/WUXZLW2Z.js +4 -0
  591. package/dist/cdn/WVCFJGNU.js +4 -0
  592. package/dist/cdn/WZH7UF6P.js +4 -0
  593. package/dist/cdn/WZO2ETZA.js +4 -0
  594. package/dist/cdn/X2BTI4KP.js +4 -0
  595. package/dist/cdn/X3NRZTHN.js +4 -0
  596. package/dist/cdn/X4OSYHXM.js +4 -0
  597. package/dist/cdn/X5HQBW3N.js +4 -0
  598. package/dist/cdn/X5OYMSMS.js +4 -0
  599. package/dist/cdn/X7BJKKCT.js +4 -0
  600. package/dist/cdn/XCX5XNA4.js +4 -0
  601. package/dist/cdn/XD2X547L.js +4 -0
  602. package/dist/cdn/XD6LXAT2.js +4 -0
  603. package/dist/cdn/XEINDA5H.js +4 -0
  604. package/dist/cdn/XF2GA3TX.js +4 -0
  605. package/dist/cdn/XGC3OJYM.js +4 -0
  606. package/dist/cdn/XI4NHJXE.js +4 -0
  607. package/dist/cdn/XKGMCV4E.js +4 -0
  608. package/dist/cdn/XNEIP2HS.js +4 -0
  609. package/dist/cdn/XNZDM6HL.js +59 -0
  610. package/dist/cdn/XONAVTBL.js +4 -0
  611. package/dist/cdn/XOZCC64T.js +4 -0
  612. package/dist/cdn/XU6NFGVD.js +4 -0
  613. package/dist/cdn/XWMAJ6UJ.js +4 -0
  614. package/dist/cdn/Y2O5WD24.js +4 -0
  615. package/dist/cdn/Y2WMPCHK.js +4 -0
  616. package/dist/cdn/Y5DLWUWS.js +4 -0
  617. package/dist/cdn/Y6UUNQSI.js +4 -0
  618. package/dist/cdn/Y6X4ZPBB.js +4 -0
  619. package/dist/cdn/YAHUIBNF.js +4 -0
  620. package/dist/cdn/YDPZBTLI.js +4 -0
  621. package/dist/cdn/YFORYPQQ.js +4 -0
  622. package/dist/cdn/YG7FNEY7.js +4 -0
  623. package/dist/cdn/YGOQVEYO.js +4 -0
  624. package/dist/cdn/YGTPYWEC.js +4 -0
  625. package/dist/cdn/YIFSA2ZZ.js +4 -0
  626. package/dist/cdn/YLEQ3V5U.js +4 -0
  627. package/dist/cdn/YM2TTJLY.js +4 -0
  628. package/dist/cdn/YMG2A76D.js +4 -0
  629. package/dist/cdn/YOYESFOO.js +4 -0
  630. package/dist/cdn/YSMJOMPZ.js +4 -0
  631. package/dist/cdn/YU7IDEBY.js +4 -0
  632. package/dist/cdn/YVCQZOYE.js +4 -0
  633. package/dist/cdn/YX7K3GQB.js +4 -0
  634. package/dist/cdn/YZ7JOQZ2.js +4 -0
  635. package/dist/cdn/Z3I6NZXF.js +4 -0
  636. package/dist/cdn/Z4G24JAU.js +4 -0
  637. package/dist/cdn/Z5COPF7J.js +4 -0
  638. package/dist/cdn/Z5D6VLD7.js +4 -0
  639. package/dist/cdn/Z72K3RLC.js +4 -0
  640. package/dist/cdn/Z7UUG2BR.js +4 -0
  641. package/dist/cdn/Z7ZUXJKG.js +4 -0
  642. package/dist/cdn/ZCT6MKTE.js +4 -0
  643. package/dist/cdn/ZEJF6WTL.js +4 -0
  644. package/dist/cdn/ZEZ6I2QJ.js +4 -0
  645. package/dist/cdn/ZGOJY5MZ.js +4 -0
  646. package/dist/cdn/ZGPGIBNR.js +4 -0
  647. package/dist/cdn/ZJGW7ZYJ.js +4 -0
  648. package/dist/cdn/ZKZB2TY2.js +4 -0
  649. package/dist/cdn/ZLKOLZAL.js +4 -0
  650. package/dist/cdn/ZN73LX63.js +4 -0
  651. package/dist/cdn/ZQNH5NXP.js +4 -0
  652. package/dist/cdn/ZRUTZVI5.js +4 -0
  653. package/dist/cdn/ZRY7YBNO.js +4 -0
  654. package/dist/cdn/ZTVAGUMF.js +4 -0
  655. package/dist/cdn/ZUHWYKKE.js +4 -0
  656. package/dist/cdn/ZUVTNBGI.js +4 -0
  657. package/dist/cdn/ZW5FL7KR.js +4 -0
  658. package/dist/cdn/index.js +3 -3
  659. package/dist/chunks/findColumnAndNodeIndex.js +2 -2
  660. package/dist/chunks/getResponsiveClasses.js +2 -2
  661. package/dist/chunks/interpolate-translations.js +2 -2
  662. package/dist/chunks/isNodeVisible.js +2 -2
  663. package/dist/chunks/layoutContext.js +2 -2
  664. package/dist/chunks/migrateTextCard.js +2 -2
  665. package/dist/chunks/processLayout.js +2 -2
  666. package/dist/chunks/runtime.js +3 -3
  667. package/dist/chunks/state.js +2 -2
  668. package/dist/chunks/typeGuards.js +2 -2
  669. package/dist/chunks/useGlobalContext.js +2 -2
  670. package/dist/chunks/useT9n.js +2 -2
  671. package/dist/chunks/util.js +2 -2
  672. package/dist/components/arcgis-chat-shell/customElement.js +2 -2
  673. package/dist/components/arcgis-chat-ui/customElement.js +2 -2
  674. package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +2 -2
  675. package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +2 -2
  676. package/dist/components/arcgis-hub-ai-assistant/customElement.js +2 -2
  677. package/dist/components/arcgis-hub-entity-associations-card/customElement.js +2 -2
  678. package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +2 -2
  679. package/dist/components/arcgis-hub-entity-status-card/customElement.js +2 -2
  680. package/dist/components/arcgis-hub-entity-view-layout/customElement.js +2 -2
  681. package/dist/components/arcgis-layout/customElement.js +2 -2
  682. package/dist/components/arcgis-layout-column/customElement.js +2 -2
  683. package/dist/components/arcgis-layout-container/customElement.js +2 -2
  684. package/dist/components/arcgis-layout-editor-toolbar/customElement.js +2 -2
  685. package/dist/components/arcgis-layout-node-controls/customElement.js +2 -2
  686. package/dist/components/arcgis-layout-node-editor/customElement.js +2 -2
  687. package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.js +2 -2
  688. package/dist/components/arcgis-layout-node-wrapper/customElement.js +2 -2
  689. package/dist/components/arcgis-layout-row/customElement.js +2 -2
  690. package/dist/components/arcgis-layout-section/customElement.js +2 -2
  691. package/dist/components/arcgis-nav-card/customElement.js +2 -2
  692. package/dist/components/arcgis-text-card/customElement.js +2 -2
  693. package/dist/components/layouts/components/layout-node/customElement.js +2 -2
  694. package/dist/docs/api.json +1 -1
  695. package/dist/docs/docs.json +1 -1
  696. package/dist/docs/web-types.json +1 -1
  697. package/dist/embed-config.js +2 -2
  698. package/dist/index.js +2 -2
  699. package/dist/loader.js +2 -2
  700. package/package.json +2 -2
  701. package/dist/cdn/25BYF63B.js +0 -4
  702. package/dist/cdn/27AOA44G.js +0 -4
  703. package/dist/cdn/27OU6N62.js +0 -4
  704. package/dist/cdn/27ZKGX4E.js +0 -4
  705. package/dist/cdn/2A23FFAU.js +0 -4
  706. package/dist/cdn/2ANAJEFL.js +0 -4
  707. package/dist/cdn/2BHYNZFI.js +0 -4
  708. package/dist/cdn/2CJO4RMM.js +0 -4
  709. package/dist/cdn/2DNKSGCW.js +0 -4
  710. package/dist/cdn/2E2NZKI5.js +0 -4
  711. package/dist/cdn/2FSTMVHA.js +0 -4
  712. package/dist/cdn/2IFTE6RM.js +0 -4
  713. package/dist/cdn/2LH5ONSB.js +0 -4
  714. package/dist/cdn/2LI5BYBZ.js +0 -4
  715. package/dist/cdn/2NPEZ37C.js +0 -4
  716. package/dist/cdn/2RHCDESQ.js +0 -4
  717. package/dist/cdn/2ROH52OO.js +0 -4
  718. package/dist/cdn/2TKEZCCY.js +0 -4
  719. package/dist/cdn/2UDWPVDA.js +0 -4
  720. package/dist/cdn/2VLGYS7X.js +0 -4
  721. package/dist/cdn/2VY6IZZO.js +0 -4
  722. package/dist/cdn/2W3OMJMS.js +0 -4
  723. package/dist/cdn/2WT63IDU.js +0 -4
  724. package/dist/cdn/2WZTYRTQ.js +0 -4
  725. package/dist/cdn/2XCN7ZNS.js +0 -4
  726. package/dist/cdn/356SD76P.js +0 -4
  727. package/dist/cdn/36UOK5JF.js +0 -4
  728. package/dist/cdn/3BEZVOSX.js +0 -4
  729. package/dist/cdn/3DN2OXQG.js +0 -59
  730. package/dist/cdn/3GWBPX4O.js +0 -12
  731. package/dist/cdn/3JS3MVX6.js +0 -4
  732. package/dist/cdn/3KXFJDOO.js +0 -4
  733. package/dist/cdn/3M2DCPBM.js +0 -4
  734. package/dist/cdn/3RSUJL6Y.js +0 -4
  735. package/dist/cdn/3U3Y2JZZ.js +0 -4
  736. package/dist/cdn/3UPRBTIP.js +0 -4
  737. package/dist/cdn/3VJLCRZ7.js +0 -8
  738. package/dist/cdn/3VQW3ESU.js +0 -4
  739. package/dist/cdn/3Z7MPXXD.js +0 -4
  740. package/dist/cdn/42H25LGW.js +0 -4
  741. package/dist/cdn/42MRKA4X.js +0 -4
  742. package/dist/cdn/432TCRTV.js +0 -4
  743. package/dist/cdn/44IQ72K6.js +0 -4
  744. package/dist/cdn/44JKEWPV.js +0 -5
  745. package/dist/cdn/44NNMYWJ.js +0 -4
  746. package/dist/cdn/44NUEK7K.js +0 -4
  747. package/dist/cdn/45IHMDCR.js +0 -4
  748. package/dist/cdn/463RFQBR.js +0 -4
  749. package/dist/cdn/47DBKNC4.js +0 -4
  750. package/dist/cdn/47EY6TCJ.js +0 -4
  751. package/dist/cdn/4EUNQXLU.js +0 -4
  752. package/dist/cdn/4FB4RBHC.js +0 -4
  753. package/dist/cdn/4FTJQXV3.js +0 -4
  754. package/dist/cdn/4HOFXKUC.js +0 -4
  755. package/dist/cdn/4KRUL75Y.js +0 -4
  756. package/dist/cdn/4N6ODHC7.js +0 -4
  757. package/dist/cdn/4NPPXJPP.js +0 -4
  758. package/dist/cdn/4PSWNKBO.js +0 -4
  759. package/dist/cdn/4SLVC6DQ.js +0 -4
  760. package/dist/cdn/4WSYKZEO.js +0 -4
  761. package/dist/cdn/4XU3EKXK.js +0 -4
  762. package/dist/cdn/4YOIG755.js +0 -4
  763. package/dist/cdn/4ZXWYK5P.js +0 -4
  764. package/dist/cdn/53PGCQNE.js +0 -4
  765. package/dist/cdn/54WB3IU4.js +0 -4
  766. package/dist/cdn/5BMPA23C.js +0 -4
  767. package/dist/cdn/5CESPO6O.js +0 -4
  768. package/dist/cdn/5DSUDRJK.js +0 -4
  769. package/dist/cdn/5GJQ5SB7.js +0 -4
  770. package/dist/cdn/5HK5Y3XJ.js +0 -4
  771. package/dist/cdn/5HP76KUE.js +0 -4
  772. package/dist/cdn/5J4GOUGY.js +0 -4
  773. package/dist/cdn/5JSQ343E.js +0 -4
  774. package/dist/cdn/5KPZXSKC.js +0 -4
  775. package/dist/cdn/5M7HDOHB.js +0 -4
  776. package/dist/cdn/5MJTLFAR.js +0 -4
  777. package/dist/cdn/5RE4NE47.js +0 -4
  778. package/dist/cdn/5T2JMS2C.js +0 -4
  779. package/dist/cdn/5VW7IITR.js +0 -4
  780. package/dist/cdn/5WEVT4DN.js +0 -4
  781. package/dist/cdn/5ZYMVKFO.js +0 -4
  782. package/dist/cdn/63H2HXQI.js +0 -4
  783. package/dist/cdn/66ZYXNEP.js +0 -4
  784. package/dist/cdn/6DSCHKL7.js +0 -4
  785. package/dist/cdn/6H6KGF4Q.js +0 -4
  786. package/dist/cdn/6IJV6PES.js +0 -4
  787. package/dist/cdn/6JQEFYM5.js +0 -4
  788. package/dist/cdn/6LNISMP2.js +0 -4
  789. package/dist/cdn/6N53CQNL.js +0 -4
  790. package/dist/cdn/6OPCPPIW.js +0 -4
  791. package/dist/cdn/6RGO2SRP.js +0 -4
  792. package/dist/cdn/6VN6O2QV.js +0 -4
  793. package/dist/cdn/6XWEHFLF.js +0 -4
  794. package/dist/cdn/6YIKKMF5.js +0 -4
  795. package/dist/cdn/6YT4GDTY.js +0 -4
  796. package/dist/cdn/724HYCHK.js +0 -4
  797. package/dist/cdn/74KGPO4U.js +0 -4
  798. package/dist/cdn/74U7T5XO.js +0 -4
  799. package/dist/cdn/754WO2UM.js +0 -4
  800. package/dist/cdn/76E6PPFN.js +0 -4
  801. package/dist/cdn/76NPYHMH.js +0 -4
  802. package/dist/cdn/77B4FNHK.js +0 -4
  803. package/dist/cdn/77J3PYRA.js +0 -4
  804. package/dist/cdn/77KQKJE6.js +0 -4
  805. package/dist/cdn/7BYXNDIO.js +0 -4
  806. package/dist/cdn/7CO6QFMC.js +0 -4
  807. package/dist/cdn/7G6TP62F.js +0 -4
  808. package/dist/cdn/7GOTBT6L.js +0 -4
  809. package/dist/cdn/7HA4JZFO.js +0 -4
  810. package/dist/cdn/7IOW362L.js +0 -4
  811. package/dist/cdn/7K6QP7AX.js +0 -4
  812. package/dist/cdn/7LPGKL5X.js +0 -4
  813. package/dist/cdn/7OPAIFHI.js +0 -4
  814. package/dist/cdn/7P7DNADH.js +0 -4
  815. package/dist/cdn/7PFTE2OO.js +0 -4
  816. package/dist/cdn/7R6CURXS.js +0 -4
  817. package/dist/cdn/7YU2HJNN.js +0 -4
  818. package/dist/cdn/A3CROC3X.js +0 -4
  819. package/dist/cdn/A4A6HCB2.js +0 -4
  820. package/dist/cdn/A5E7CO3T.js +0 -4
  821. package/dist/cdn/A6ST7DRE.js +0 -4
  822. package/dist/cdn/AA2SNZEI.js +0 -4
  823. package/dist/cdn/AAPFRHFF.js +0 -4
  824. package/dist/cdn/AB4BEBRD.js +0 -4
  825. package/dist/cdn/AE4YR6AJ.js +0 -4
  826. package/dist/cdn/AERGE2VV.js +0 -4
  827. package/dist/cdn/AISLXMTE.js +0 -4
  828. package/dist/cdn/AJG32ZPT.js +0 -4
  829. package/dist/cdn/AJKSQJ4P.js +0 -4
  830. package/dist/cdn/AKJ7DSWT.js +0 -59
  831. package/dist/cdn/ALBLOJ7G.js +0 -4
  832. package/dist/cdn/AQ4WWJJD.js +0 -4
  833. package/dist/cdn/AQZ5ZFNR.js +0 -4
  834. package/dist/cdn/AR6H4X3M.js +0 -4
  835. package/dist/cdn/AS4UI4JH.js +0 -4
  836. package/dist/cdn/AUKEY57A.js +0 -4
  837. package/dist/cdn/AW3VWUV5.js +0 -4
  838. package/dist/cdn/AXCQZPJK.js +0 -4
  839. package/dist/cdn/AXFOFZ2X.js +0 -4
  840. package/dist/cdn/AXYNPGHV.js +0 -4
  841. package/dist/cdn/B2N7FSWK.js +0 -4
  842. package/dist/cdn/B73EUPS7.js +0 -4
  843. package/dist/cdn/BAEA5F3N.js +0 -4
  844. package/dist/cdn/BBGFL2XF.js +0 -4
  845. package/dist/cdn/BBOTMF75.js +0 -4
  846. package/dist/cdn/BBQSXYFA.js +0 -4
  847. package/dist/cdn/BDCNRJG5.js +0 -4
  848. package/dist/cdn/BFEWHQEE.js +0 -4
  849. package/dist/cdn/BG5EPCRX.js +0 -4
  850. package/dist/cdn/BG5T3SDE.js +0 -8
  851. package/dist/cdn/BH6TFTCL.js +0 -4
  852. package/dist/cdn/BIWZARWN.js +0 -4
  853. package/dist/cdn/BIZ3ATAG.js +0 -4
  854. package/dist/cdn/BKMSMD7Y.js +0 -4
  855. package/dist/cdn/BLZKRDWC.js +0 -4
  856. package/dist/cdn/BMKOKMR6.js +0 -4
  857. package/dist/cdn/BMRQ3J4N.js +0 -4
  858. package/dist/cdn/BN4WP2CP.js +0 -4
  859. package/dist/cdn/BO4ELVFM.js +0 -4
  860. package/dist/cdn/BO5GTIIM.js +0 -4
  861. package/dist/cdn/BO6GAWFN.js +0 -4
  862. package/dist/cdn/BSMDA376.js +0 -4
  863. package/dist/cdn/BSMNI7VL.js +0 -4
  864. package/dist/cdn/BSTNHVIR.js +0 -4
  865. package/dist/cdn/BT6YG2T7.js +0 -4
  866. package/dist/cdn/BTSW6WHK.js +0 -4
  867. package/dist/cdn/BUJPAWT6.js +0 -4
  868. package/dist/cdn/BVCTZB55.js +0 -4
  869. package/dist/cdn/BVLVSELY.js +0 -4
  870. package/dist/cdn/BYBM4CD3.js +0 -4
  871. package/dist/cdn/BYD45WCX.js +0 -4
  872. package/dist/cdn/BZJB5GSR.js +0 -4
  873. package/dist/cdn/C47CH2HY.js +0 -4
  874. package/dist/cdn/C4TKE4UX.js +0 -4
  875. package/dist/cdn/CAJFMTDG.js +0 -4
  876. package/dist/cdn/CAPN3F2R.js +0 -4
  877. package/dist/cdn/CC3WAFWA.js +0 -4
  878. package/dist/cdn/CDQ4XS4V.js +0 -4
  879. package/dist/cdn/CDXAG7UI.js +0 -4
  880. package/dist/cdn/CG4OVOV6.js +0 -4
  881. package/dist/cdn/CHHM4X3Y.js +0 -4
  882. package/dist/cdn/CIBPMPBB.js +0 -4
  883. package/dist/cdn/CKM6JSMI.js +0 -4
  884. package/dist/cdn/CKSAJLRS.js +0 -4
  885. package/dist/cdn/CMGCBQGZ.js +0 -4
  886. package/dist/cdn/CNVKGTCX.js +0 -4
  887. package/dist/cdn/CO3M67HM.js +0 -4
  888. package/dist/cdn/COHGMPFN.js +0 -4
  889. package/dist/cdn/COONI4XA.js +0 -4
  890. package/dist/cdn/CQIZSDWA.js +0 -4
  891. package/dist/cdn/CUVAEFGH.js +0 -4
  892. package/dist/cdn/CVPXSN3O.js +0 -4
  893. package/dist/cdn/CWBJOD23.js +0 -4
  894. package/dist/cdn/CYIDALJI.js +0 -4
  895. package/dist/cdn/CYNXGS2Z.js +0 -4
  896. package/dist/cdn/CYSX5UV4.js +0 -4
  897. package/dist/cdn/D3RCWQOG.js +0 -4
  898. package/dist/cdn/D5CODG2Y.js +0 -4
  899. package/dist/cdn/D5HVV7VX.js +0 -4
  900. package/dist/cdn/D5SWZ2ST.js +0 -4
  901. package/dist/cdn/D7BDZCUI.js +0 -4
  902. package/dist/cdn/DAJHPKMK.js +0 -4
  903. package/dist/cdn/DASULTL6.js +0 -4
  904. package/dist/cdn/DCK2KYH6.js +0 -4
  905. package/dist/cdn/DCYVWSS5.js +0 -4
  906. package/dist/cdn/DJ3HTG7B.js +0 -4
  907. package/dist/cdn/DL3CXQUE.js +0 -4
  908. package/dist/cdn/DM2FVKY3.js +0 -4
  909. package/dist/cdn/DMDUEZCG.js +0 -4
  910. package/dist/cdn/DSB3JO2X.js +0 -4
  911. package/dist/cdn/DTJPMQCM.js +0 -4
  912. package/dist/cdn/DVVUYZJM.js +0 -4
  913. package/dist/cdn/DW5N4YSY.js +0 -4
  914. package/dist/cdn/DWRXH6VY.js +0 -4
  915. package/dist/cdn/DYTABILS.js +0 -4
  916. package/dist/cdn/DZZXI4PL.js +0 -4
  917. package/dist/cdn/E6OWCH3Q.js +0 -4
  918. package/dist/cdn/EBCGH4S3.js +0 -4
  919. package/dist/cdn/EG3QCAMR.js +0 -4
  920. package/dist/cdn/EH3BBRE3.js +0 -4
  921. package/dist/cdn/EIEFNRHI.js +0 -4
  922. package/dist/cdn/EJINXCAI.js +0 -6
  923. package/dist/cdn/EKRXV735.js +0 -4
  924. package/dist/cdn/ELDRDQYC.js +0 -4
  925. package/dist/cdn/ELPTG5CG.js +0 -4
  926. package/dist/cdn/EM4HYB7A.js +0 -4
  927. package/dist/cdn/ENEDBMTN.js +0 -4
  928. package/dist/cdn/EOLSLUJR.js +0 -4
  929. package/dist/cdn/EPRA5YXN.js +0 -4
  930. package/dist/cdn/EPUALULQ.js +0 -4
  931. package/dist/cdn/ESBKNXDO.js +0 -4
  932. package/dist/cdn/ESEXAA5U.js +0 -4
  933. package/dist/cdn/ETWCPTWF.js +0 -4
  934. package/dist/cdn/EUHRDRXC.js +0 -4
  935. package/dist/cdn/EURKTAN7.js +0 -4
  936. package/dist/cdn/EV2YP2S4.js +0 -4
  937. package/dist/cdn/EVWFLRAY.js +0 -4
  938. package/dist/cdn/EXX7ECNS.js +0 -4
  939. package/dist/cdn/EYBXTJAP.js +0 -4
  940. package/dist/cdn/EZUFYVQQ.js +0 -4
  941. package/dist/cdn/F2M6CLMA.js +0 -4
  942. package/dist/cdn/F7JTGBEN.js +0 -4
  943. package/dist/cdn/FBSXD3U2.js +0 -4
  944. package/dist/cdn/FCZZKPG6.js +0 -4
  945. package/dist/cdn/FEPWKU6C.js +0 -4
  946. package/dist/cdn/FETV6WJQ.js +0 -4
  947. package/dist/cdn/FEXZC6VX.js +0 -4
  948. package/dist/cdn/FFCDV7KR.js +0 -4
  949. package/dist/cdn/FGBV6UKN.js +0 -4
  950. package/dist/cdn/FH4EXO4H.js +0 -4
  951. package/dist/cdn/FHBMUP4G.js +0 -4
  952. package/dist/cdn/FJ427YXY.js +0 -4
  953. package/dist/cdn/FJTTPRZL.js +0 -4
  954. package/dist/cdn/FKGDIUWL.js +0 -16
  955. package/dist/cdn/FLQFK5W3.js +0 -4
  956. package/dist/cdn/FM7SGQOS.js +0 -4
  957. package/dist/cdn/FP2C2R3I.js +0 -4
  958. package/dist/cdn/FPL4B2MH.js +0 -52
  959. package/dist/cdn/FQBYNAZF.js +0 -4
  960. package/dist/cdn/FU4CO54B.js +0 -4
  961. package/dist/cdn/FVSSYM47.js +0 -4
  962. package/dist/cdn/FVVJXVTJ.js +0 -4
  963. package/dist/cdn/FYCYJJ6X.js +0 -4
  964. package/dist/cdn/G46MUCG3.js +0 -4
  965. package/dist/cdn/G6FT7BGC.js +0 -4
  966. package/dist/cdn/GCENMSPS.js +0 -4
  967. package/dist/cdn/GDYDDTGC.js +0 -4
  968. package/dist/cdn/GEQ7J3MN.js +0 -4
  969. package/dist/cdn/GFURP7FA.js +0 -4
  970. package/dist/cdn/GHO2YSUQ.js +0 -4
  971. package/dist/cdn/GHUB3IHP.js +0 -4
  972. package/dist/cdn/GHZQC3YR.js +0 -4
  973. package/dist/cdn/GILH6I3L.js +0 -4
  974. package/dist/cdn/GL6NKHUR.js +0 -4
  975. package/dist/cdn/GLTGI2GA.js +0 -4
  976. package/dist/cdn/GQGW2AEO.js +0 -4
  977. package/dist/cdn/GR2G6KQ4.js +0 -4
  978. package/dist/cdn/GSYVYLLR.js +0 -4
  979. package/dist/cdn/GTI5HSY4.js +0 -4
  980. package/dist/cdn/GU4BU4BE.js +0 -4
  981. package/dist/cdn/GV6OERFX.js +0 -4
  982. package/dist/cdn/GVNXXOLF.js +0 -4
  983. package/dist/cdn/GWSU27KV.js +0 -4
  984. package/dist/cdn/GXQFGYFF.js +0 -4
  985. package/dist/cdn/GYCKL6XC.js +0 -4
  986. package/dist/cdn/H52LJIXH.js +0 -4
  987. package/dist/cdn/H5QMX6YF.js +0 -4
  988. package/dist/cdn/H6XDOHM5.js +0 -4
  989. package/dist/cdn/H7KI7G5G.js +0 -4
  990. package/dist/cdn/H7S4B2CU.js +0 -4
  991. package/dist/cdn/HAVJ56T7.js +0 -4
  992. package/dist/cdn/HC7MULCB.js +0 -41
  993. package/dist/cdn/HEHR3E6B.js +0 -4
  994. package/dist/cdn/HFOLSW64.js +0 -4
  995. package/dist/cdn/HGTYXRWF.js +0 -4
  996. package/dist/cdn/HIWCPNPU.js +0 -4
  997. package/dist/cdn/HNKWZY4P.js +0 -4
  998. package/dist/cdn/HRIKDHWX.js +0 -4
  999. package/dist/cdn/HRY3WI6E.js +0 -4
  1000. package/dist/cdn/HT6STNYW.js +0 -4
  1001. package/dist/cdn/HTVPBH32.js +0 -4
  1002. package/dist/cdn/HVESK3EK.js +0 -4
  1003. package/dist/cdn/HWAJT7QN.js +0 -4
  1004. package/dist/cdn/HWCAYUTF.js +0 -4
  1005. package/dist/cdn/HZITE7P4.js +0 -4
  1006. package/dist/cdn/I2NIIGDM.js +0 -4
  1007. package/dist/cdn/I2XFGWAL.js +0 -4
  1008. package/dist/cdn/I3ALEF56.js +0 -5
  1009. package/dist/cdn/I5RPN3SB.js +0 -4
  1010. package/dist/cdn/I6XOOE6U.js +0 -4
  1011. package/dist/cdn/I7SIHDV4.js +0 -6
  1012. package/dist/cdn/IAGJKSFE.js +0 -4
  1013. package/dist/cdn/IBFCH3JO.js +0 -4
  1014. package/dist/cdn/IBLNQKXS.js +0 -25
  1015. package/dist/cdn/ID5TNWNP.js +0 -4
  1016. package/dist/cdn/IDS435SH.js +0 -4
  1017. package/dist/cdn/IF2DYJWG.js +0 -4
  1018. package/dist/cdn/II7LCUL2.js +0 -4
  1019. package/dist/cdn/IJXXAK7A.js +0 -4
  1020. package/dist/cdn/IK6TFHRQ.js +0 -4
  1021. package/dist/cdn/ILETQUOA.js +0 -4
  1022. package/dist/cdn/INWGITM6.js +0 -4
  1023. package/dist/cdn/IQDCXNKO.js +0 -4
  1024. package/dist/cdn/IQVX7DID.js +0 -4
  1025. package/dist/cdn/IRXAV636.js +0 -4
  1026. package/dist/cdn/ISOQQMCG.js +0 -4
  1027. package/dist/cdn/IVP75F52.js +0 -4
  1028. package/dist/cdn/IX6UFPYX.js +0 -4
  1029. package/dist/cdn/J47K6T42.js +0 -4
  1030. package/dist/cdn/JADOCVKT.js +0 -4
  1031. package/dist/cdn/JAELFUT2.js +0 -4
  1032. package/dist/cdn/JCFNYOG4.js +0 -4
  1033. package/dist/cdn/JEVPF6AZ.js +0 -4
  1034. package/dist/cdn/JF3ILEHF.js +0 -4
  1035. package/dist/cdn/JF6S5CRM.js +0 -4
  1036. package/dist/cdn/JFBUUZ5O.js +0 -4
  1037. package/dist/cdn/JJ5KMGYV.js +0 -4
  1038. package/dist/cdn/JJ6SKUFQ.js +0 -4
  1039. package/dist/cdn/JQ7AOFGK.js +0 -4
  1040. package/dist/cdn/JVQMYCIY.js +0 -4
  1041. package/dist/cdn/JX4UFHTQ.js +0 -4
  1042. package/dist/cdn/JXZNFUEU.js +0 -4
  1043. package/dist/cdn/JYQINIOY.js +0 -4
  1044. package/dist/cdn/K4QLHSL7.js +0 -4
  1045. package/dist/cdn/K6XGMBR4.js +0 -4
  1046. package/dist/cdn/K7DV6QE3.js +0 -4
  1047. package/dist/cdn/KAQ46SIR.js +0 -4
  1048. package/dist/cdn/KCSAZ4DI.js +0 -4
  1049. package/dist/cdn/KD7TN6SJ.js +0 -4
  1050. package/dist/cdn/KFXNUXPB.js +0 -4
  1051. package/dist/cdn/KKT44ZG6.js +0 -4
  1052. package/dist/cdn/KMNQ6WRJ.js +0 -4
  1053. package/dist/cdn/KNAPBYHI.js +0 -4
  1054. package/dist/cdn/KQXYMD4V.js +0 -4
  1055. package/dist/cdn/KTSXP5EU.js +0 -4
  1056. package/dist/cdn/KTX5HIKJ.js +0 -4
  1057. package/dist/cdn/KXG5NV3S.js +0 -9
  1058. package/dist/cdn/KXMHU5QU.js +0 -4
  1059. package/dist/cdn/L6AJCPCC.js +0 -4
  1060. package/dist/cdn/L7P6VBHL.js +0 -4
  1061. package/dist/cdn/L7UKRNA7.js +0 -4
  1062. package/dist/cdn/LAAWSZHK.js +0 -4
  1063. package/dist/cdn/LBK6Y7OZ.js +0 -4
  1064. package/dist/cdn/LGJPQCQA.js +0 -4
  1065. package/dist/cdn/LK4AALM4.js +0 -4
  1066. package/dist/cdn/LOYWUOC5.js +0 -4
  1067. package/dist/cdn/LPLXOS5J.js +0 -4
  1068. package/dist/cdn/LPRYDP7R.js +0 -4
  1069. package/dist/cdn/LVM3ONA3.js +0 -4
  1070. package/dist/cdn/LVOQOHBN.js +0 -4
  1071. package/dist/cdn/LZPDPUFY.js +0 -4
  1072. package/dist/cdn/M5JZZ7CW.js +0 -4
  1073. package/dist/cdn/M67LQ5XD.js +0 -4
  1074. package/dist/cdn/MAFGKIOZ.js +0 -4
  1075. package/dist/cdn/MD66JU4M.js +0 -4
  1076. package/dist/cdn/MFRLP3KR.js +0 -4
  1077. package/dist/cdn/MH3KKY35.js +0 -4
  1078. package/dist/cdn/MHIUT6SL.js +0 -4
  1079. package/dist/cdn/MJAB2JMR.js +0 -4
  1080. package/dist/cdn/MJGNFC3N.js +0 -4
  1081. package/dist/cdn/MJYV5IXC.js +0 -4
  1082. package/dist/cdn/ML66HB7U.js +0 -4
  1083. package/dist/cdn/MLGYIA3P.js +0 -4
  1084. package/dist/cdn/MLS3QELG.js +0 -4
  1085. package/dist/cdn/MLU6HSKI.js +0 -4
  1086. package/dist/cdn/MLZDPCJS.js +0 -4
  1087. package/dist/cdn/MOQV66EI.js +0 -4
  1088. package/dist/cdn/MPXBCUFZ.js +0 -4
  1089. package/dist/cdn/MRV6OY3C.js +0 -4
  1090. package/dist/cdn/MSKR4H7S.js +0 -4
  1091. package/dist/cdn/MV5EOVOS.js +0 -4
  1092. package/dist/cdn/MVKT6K7E.js +0 -4
  1093. package/dist/cdn/MVOODZE3.js +0 -4
  1094. package/dist/cdn/MZ3WYZDE.js +0 -4
  1095. package/dist/cdn/MZ4TWYO6.js +0 -4
  1096. package/dist/cdn/MZRKLSUK.js +0 -4
  1097. package/dist/cdn/MZWINEF2.js +0 -4
  1098. package/dist/cdn/N34P2VVE.js +0 -4
  1099. package/dist/cdn/N4YSNN3I.js +0 -4
  1100. package/dist/cdn/NCJJX6CX.js +0 -4
  1101. package/dist/cdn/NDEBRGXF.js +0 -4
  1102. package/dist/cdn/NHNWP7ER.js +0 -4
  1103. package/dist/cdn/NHP3RMVU.js +0 -4
  1104. package/dist/cdn/NILAI3S2.js +0 -4
  1105. package/dist/cdn/NOU7VBOV.js +0 -4
  1106. package/dist/cdn/NVANTL2P.js +0 -4
  1107. package/dist/cdn/NW6CRO5Y.js +0 -4
  1108. package/dist/cdn/NYF5Q2OX.js +0 -4
  1109. package/dist/cdn/NZ2DP4SX.js +0 -4
  1110. package/dist/cdn/NZCHLOCH.js +0 -4
  1111. package/dist/cdn/NZSVU2ZY.js +0 -4
  1112. package/dist/cdn/NZU4BXRT.js +0 -4
  1113. package/dist/cdn/O32JETFY.js +0 -4
  1114. package/dist/cdn/O3PV5B7X.js +0 -4
  1115. package/dist/cdn/O4G3E2LS.js +0 -4
  1116. package/dist/cdn/O4L76JPW.js +0 -4
  1117. package/dist/cdn/O4NAS3X3.js +0 -4
  1118. package/dist/cdn/OBEYKBQ2.js +0 -4
  1119. package/dist/cdn/OBORPPBE.js +0 -4
  1120. package/dist/cdn/OBQZHTKY.js +0 -4
  1121. package/dist/cdn/OEVCRKYO.js +0 -4
  1122. package/dist/cdn/OGLG3OJL.js +0 -4
  1123. package/dist/cdn/OJVRKBRA.js +0 -4
  1124. package/dist/cdn/OMRS5MST.js +0 -4
  1125. package/dist/cdn/ONHBDUF2.js +0 -4
  1126. package/dist/cdn/ONJAI6CX.js +0 -4
  1127. package/dist/cdn/OO3TOS5B.js +0 -4
  1128. package/dist/cdn/OOO26GUH.js +0 -12
  1129. package/dist/cdn/OOY2N2CH.js +0 -4
  1130. package/dist/cdn/OOZTSL72.js +0 -4
  1131. package/dist/cdn/ORRJSE4C.js +0 -4
  1132. package/dist/cdn/OTTJ7VQX.js +0 -4
  1133. package/dist/cdn/OUBNUUFC.js +0 -4
  1134. package/dist/cdn/OV3IGIHQ.js +0 -4
  1135. package/dist/cdn/OV7SJHGZ.js +0 -4
  1136. package/dist/cdn/OWPTJEWQ.js +0 -4
  1137. package/dist/cdn/OY46XAS7.js +0 -4
  1138. package/dist/cdn/OYKT7ID5.js +0 -4
  1139. package/dist/cdn/P6USDC2Z.js +0 -4
  1140. package/dist/cdn/P7IY32UR.js +0 -4
  1141. package/dist/cdn/PB35S3LV.js +0 -4
  1142. package/dist/cdn/PBHCJMWR.js +0 -4
  1143. package/dist/cdn/PNQYN4UF.js +0 -4
  1144. package/dist/cdn/POCIYVS2.js +0 -4
  1145. package/dist/cdn/POWGDPF2.js +0 -4
  1146. package/dist/cdn/PSVE3WD6.js +0 -4
  1147. package/dist/cdn/PWSJACGO.js +0 -4
  1148. package/dist/cdn/PXP6NSDZ.js +0 -4
  1149. package/dist/cdn/PXSG3MVJ.js +0 -4
  1150. package/dist/cdn/PZS7IHF2.js +0 -4
  1151. package/dist/cdn/PZSRLS3L.js +0 -4
  1152. package/dist/cdn/Q26PJXTE.js +0 -4
  1153. package/dist/cdn/Q576UXM4.js +0 -4
  1154. package/dist/cdn/Q5UOGAM7.js +0 -4
  1155. package/dist/cdn/QBD3GA46.js +0 -4
  1156. package/dist/cdn/QBXD5MTE.js +0 -4
  1157. package/dist/cdn/QCMHBVMY.js +0 -4
  1158. package/dist/cdn/QD6DXRDG.js +0 -4
  1159. package/dist/cdn/QDKGTGAJ.js +0 -4
  1160. package/dist/cdn/QDTWX2MK.js +0 -4
  1161. package/dist/cdn/QJ4IM5GX.js +0 -4
  1162. package/dist/cdn/QN6WMG5A.js +0 -4
  1163. package/dist/cdn/QOE2SHIT.js +0 -5
  1164. package/dist/cdn/QPASZQE5.js +0 -4
  1165. package/dist/cdn/QT32HEVO.js +0 -4
  1166. package/dist/cdn/QT42UWOH.js +0 -4
  1167. package/dist/cdn/R2CYHQOF.js +0 -4
  1168. package/dist/cdn/R2LVARXI.js +0 -4
  1169. package/dist/cdn/R7V5NC6U.js +0 -4
  1170. package/dist/cdn/RCNTRU6H.js +0 -4
  1171. package/dist/cdn/RDXWA2WQ.js +0 -4
  1172. package/dist/cdn/RF52SMHH.js +0 -4
  1173. package/dist/cdn/RG7HYY2D.js +0 -4
  1174. package/dist/cdn/RGSIZQUE.js +0 -4
  1175. package/dist/cdn/RIXTHWKY.js +0 -4
  1176. package/dist/cdn/RKGWU65J.js +0 -4
  1177. package/dist/cdn/RMNMBYHF.js +0 -4
  1178. package/dist/cdn/RN7ENZYK.js +0 -4
  1179. package/dist/cdn/RNKVNYNO.js +0 -4
  1180. package/dist/cdn/ROLNOUS7.js +0 -4
  1181. package/dist/cdn/RPV65D5W.js +0 -4
  1182. package/dist/cdn/RS4D7SNR.js +0 -4
  1183. package/dist/cdn/RS7WTVN4.js +0 -4
  1184. package/dist/cdn/RUTFSFO3.js +0 -4
  1185. package/dist/cdn/RVBIYTOM.js +0 -4
  1186. package/dist/cdn/RXU3UJOO.js +0 -4
  1187. package/dist/cdn/RY6Z54ZQ.js +0 -4
  1188. package/dist/cdn/RYBMORBP.js +0 -4
  1189. package/dist/cdn/S23JJ5TP.js +0 -5
  1190. package/dist/cdn/S6LLPGHI.js +0 -4
  1191. package/dist/cdn/SAI7VVDS.js +0 -4
  1192. package/dist/cdn/SDIXXPSS.js +0 -5
  1193. package/dist/cdn/SEPTQGDX.js +0 -4
  1194. package/dist/cdn/SIB7Z2J5.js +0 -4
  1195. package/dist/cdn/SPR3G67W.js +0 -4
  1196. package/dist/cdn/SQUZK6YQ.js +0 -4
  1197. package/dist/cdn/SRPMGRSO.js +0 -4
  1198. package/dist/cdn/SSDKLRJT.js +0 -4
  1199. package/dist/cdn/SSMMFHPL.js +0 -4
  1200. package/dist/cdn/SSSF26H2.js +0 -4
  1201. package/dist/cdn/STE2MK3S.js +0 -4
  1202. package/dist/cdn/SUDA43Q6.js +0 -4
  1203. package/dist/cdn/SUDEEG6J.js +0 -4
  1204. package/dist/cdn/SULHIVPR.js +0 -4
  1205. package/dist/cdn/SUVW67TX.js +0 -5470
  1206. package/dist/cdn/SVLOP2ID.js +0 -4
  1207. package/dist/cdn/SXKMB7MI.js +0 -4
  1208. package/dist/cdn/SYBVAMG7.js +0 -4
  1209. package/dist/cdn/TBLUKTMV.js +0 -4
  1210. package/dist/cdn/TGQN73BK.js +0 -4
  1211. package/dist/cdn/TJITVESN.js +0 -4
  1212. package/dist/cdn/TJQJNRDP.js +0 -4
  1213. package/dist/cdn/TKXK4KDX.js +0 -4
  1214. package/dist/cdn/TMSEC3C5.js +0 -4
  1215. package/dist/cdn/TMWISKBX.js +0 -4
  1216. package/dist/cdn/TPWNYZY5.js +0 -4
  1217. package/dist/cdn/TSGHC7Z2.js +0 -51
  1218. package/dist/cdn/TTMJQRV6.js +0 -4
  1219. package/dist/cdn/TTYST3ZQ.js +0 -4
  1220. package/dist/cdn/TX2PNOXU.js +0 -4
  1221. package/dist/cdn/TXI6X34X.js +0 -4
  1222. package/dist/cdn/TYDQLBO3.js +0 -4
  1223. package/dist/cdn/TYVRG6WF.js +0 -4
  1224. package/dist/cdn/U2T4HCMI.js +0 -4
  1225. package/dist/cdn/U33NFB2D.js +0 -4
  1226. package/dist/cdn/U4KURR2M.js +0 -4
  1227. package/dist/cdn/UAT7H4DI.js +0 -4
  1228. package/dist/cdn/UBB7KH54.js +0 -4
  1229. package/dist/cdn/UC5QNTTI.js +0 -4
  1230. package/dist/cdn/UD7VEYFJ.js +0 -4
  1231. package/dist/cdn/UI74X3EE.js +0 -4
  1232. package/dist/cdn/UIIZWITC.js +0 -4
  1233. package/dist/cdn/UMY5CIMZ.js +0 -4
  1234. package/dist/cdn/UO2AD7MS.js +0 -4
  1235. package/dist/cdn/UPZLN4HJ.js +0 -4
  1236. package/dist/cdn/UQFUXWKG.js +0 -4
  1237. package/dist/cdn/UR26TSO4.js +0 -4
  1238. package/dist/cdn/URO5CNBA.js +0 -4
  1239. package/dist/cdn/UTOSWBTW.js +0 -4
  1240. package/dist/cdn/UYRBSKMF.js +0 -4
  1241. package/dist/cdn/UZSRPEMA.js +0 -4
  1242. package/dist/cdn/V2CGLZI4.js +0 -4
  1243. package/dist/cdn/V3JLQKWW.js +0 -4
  1244. package/dist/cdn/V6UZOC7N.js +0 -4
  1245. package/dist/cdn/VBZPLQHE.js +0 -4
  1246. package/dist/cdn/VCG4TJ6E.js +0 -4
  1247. package/dist/cdn/VEGIXKPU.js +0 -42
  1248. package/dist/cdn/VEI5H4PD.js +0 -4
  1249. package/dist/cdn/VEJAYDCM.js +0 -4
  1250. package/dist/cdn/VFCNY72W.js +0 -4
  1251. package/dist/cdn/VFOURP6M.js +0 -4
  1252. package/dist/cdn/VGEUTORO.js +0 -4
  1253. package/dist/cdn/VH6HI4XU.js +0 -4
  1254. package/dist/cdn/VI6NLKLQ.js +0 -4
  1255. package/dist/cdn/VIF6IFFF.js +0 -4
  1256. package/dist/cdn/VJDYAHCL.js +0 -4
  1257. package/dist/cdn/VJH3U4IO.js +0 -4
  1258. package/dist/cdn/VKJZVGLW.js +0 -4
  1259. package/dist/cdn/VKLO6OTL.js +0 -4
  1260. package/dist/cdn/VL65DJNH.js +0 -4
  1261. package/dist/cdn/VNNYLXXM.js +0 -4
  1262. package/dist/cdn/VNXZ26KU.js +0 -4
  1263. package/dist/cdn/VONKHJYL.js +0 -4
  1264. package/dist/cdn/VP7ILN4U.js +0 -4
  1265. package/dist/cdn/VSRMSVD3.js +0 -4
  1266. package/dist/cdn/VTUF6UAI.js +0 -4
  1267. package/dist/cdn/VVAZM6RY.js +0 -4
  1268. package/dist/cdn/VW5Y5GLH.js +0 -4
  1269. package/dist/cdn/VYVAAKRB.js +0 -4
  1270. package/dist/cdn/W3U2AG77.js +0 -4
  1271. package/dist/cdn/W4Z5NV2X.js +0 -4
  1272. package/dist/cdn/WASTFANP.js +0 -11
  1273. package/dist/cdn/WCGPEW4P.js +0 -4
  1274. package/dist/cdn/WCVZ5IVE.js +0 -4
  1275. package/dist/cdn/WDGNAEN5.js +0 -4
  1276. package/dist/cdn/WE3Q5NQN.js +0 -4
  1277. package/dist/cdn/WE4JQ2R6.js +0 -4
  1278. package/dist/cdn/WES2DOIJ.js +0 -4
  1279. package/dist/cdn/WETSBTQV.js +0 -4
  1280. package/dist/cdn/WF5A7TLB.js +0 -4
  1281. package/dist/cdn/WGHHLZ4Q.js +0 -4
  1282. package/dist/cdn/WHUJ76YN.js +0 -4
  1283. package/dist/cdn/WIOESSAH.js +0 -4
  1284. package/dist/cdn/WIOYIHQ5.js +0 -4
  1285. package/dist/cdn/WL7HYE2O.js +0 -4
  1286. package/dist/cdn/WL7ZI76M.js +0 -4
  1287. package/dist/cdn/WNV7HOFY.js +0 -4
  1288. package/dist/cdn/WO6TOVCZ.js +0 -4
  1289. package/dist/cdn/WQAIOFTM.js +0 -4
  1290. package/dist/cdn/WRGQKYH3.js +0 -4
  1291. package/dist/cdn/WTUFPHWR.js +0 -4
  1292. package/dist/cdn/WUD6R5IG.js +0 -4
  1293. package/dist/cdn/WV35XWLI.js +0 -4
  1294. package/dist/cdn/WWGUB3OU.js +0 -6
  1295. package/dist/cdn/WXK6LOZN.js +0 -4
  1296. package/dist/cdn/WYKLHIKK.js +0 -4
  1297. package/dist/cdn/X2EKH54P.js +0 -4
  1298. package/dist/cdn/X2PVSGDB.js +0 -4
  1299. package/dist/cdn/XAATY3ZU.js +0 -4
  1300. package/dist/cdn/XHYENZQT.js +0 -24
  1301. package/dist/cdn/XMOS7LG4.js +0 -4
  1302. package/dist/cdn/XMY6XQ37.js +0 -4
  1303. package/dist/cdn/XO4ON6VT.js +0 -4
  1304. package/dist/cdn/XONBPPLR.js +0 -4
  1305. package/dist/cdn/XQCODKSW.js +0 -4
  1306. package/dist/cdn/XQO4L5RX.js +0 -4
  1307. package/dist/cdn/XRGPHLLF.js +0 -4
  1308. package/dist/cdn/XT7O2QG5.js +0 -4
  1309. package/dist/cdn/XU75VWJX.js +0 -4
  1310. package/dist/cdn/XX5KLCTM.js +0 -4
  1311. package/dist/cdn/XZGSDXSL.js +0 -4
  1312. package/dist/cdn/XZUJIFWV.js +0 -4
  1313. package/dist/cdn/Y2GRYR73.js +0 -4
  1314. package/dist/cdn/Y3SFHFMZ.js +0 -4
  1315. package/dist/cdn/Y5P65ECA.js +0 -4
  1316. package/dist/cdn/Y7BU6WLL.js +0 -4
  1317. package/dist/cdn/YAO6CGWR.js +0 -4
  1318. package/dist/cdn/YCJWLOTK.js +0 -4
  1319. package/dist/cdn/YE4KMC64.js +0 -4
  1320. package/dist/cdn/YFNN3LNI.js +0 -4
  1321. package/dist/cdn/YGCLTVLP.js +0 -4
  1322. package/dist/cdn/YJKAKNTK.js +0 -4
  1323. package/dist/cdn/YJS25EJI.js +0 -4
  1324. package/dist/cdn/YJUQCEIH.js +0 -4
  1325. package/dist/cdn/YNNKE7Z2.js +0 -4
  1326. package/dist/cdn/YOINO64M.js +0 -4
  1327. package/dist/cdn/YS7V5A47.js +0 -4
  1328. package/dist/cdn/YSV52APQ.js +0 -4
  1329. package/dist/cdn/YWUOBUJ6.js +0 -4
  1330. package/dist/cdn/YXINA7RX.js +0 -4
  1331. package/dist/cdn/YY2ZVSBH.js +0 -4
  1332. package/dist/cdn/YYAFKPIW.js +0 -4
  1333. package/dist/cdn/YYBY7FRX.js +0 -4
  1334. package/dist/cdn/YZPGSBKG.js +0 -4
  1335. package/dist/cdn/Z2CYMHMX.js +0 -4
  1336. package/dist/cdn/Z2O56W35.js +0 -4
  1337. package/dist/cdn/Z5DETSQ2.js +0 -4
  1338. package/dist/cdn/Z7ARBL7A.js +0 -4
  1339. package/dist/cdn/Z7OPGFX7.js +0 -4
  1340. package/dist/cdn/Z7XSU4TM.js +0 -4
  1341. package/dist/cdn/ZGDVYPXQ.js +0 -4
  1342. package/dist/cdn/ZHTQEM5U.js +0 -4
  1343. package/dist/cdn/ZIKSXMPZ.js +0 -4
  1344. package/dist/cdn/ZJZKM2KQ.js +0 -4
  1345. package/dist/cdn/ZKELGZ6Y.js +0 -4
  1346. package/dist/cdn/ZNZHV3VD.js +0 -4
  1347. package/dist/cdn/ZOOYNB2R.js +0 -4
  1348. package/dist/cdn/ZQ35P3KX.js +0 -4
  1349. package/dist/cdn/ZR2OO3HA.js +0 -5
  1350. package/dist/cdn/ZSKPSV44.js +0 -4
  1351. package/dist/cdn/ZTUNTFXR.js +0 -4
  1352. package/dist/cdn/ZUDWETWH.js +0 -4
  1353. package/dist/cdn/ZV4P5DHJ.js +0 -4
  1354. package/dist/cdn/ZV753ZAU.js +0 -4
  1355. package/dist/cdn/ZYGW6TCP.js +0 -4
  1356. package/dist/cdn/ZZ32CELL.js +0 -4
  1357. package/dist/cdn/ZZF4I5ER.js +0 -4
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.30/esri/copyright.txt for details.
3
- v0.30.0 */
4
- import"./3BEZVOSX.js";var e={percent:"\u03A0\u03BF\u03C3\u03BF\u03C3\u03C4\u03CC",values:"\u03A4\u03B9\u03BC\u03AD\u03C2",standardizedValues:"\u03A4\u03C5\u03C0\u03BF\u03C0\u03BF\u03B9\u03B7\u03BC\u03AD\u03BD\u03B5\u03C2 \u03C4\u03B9\u03BC\u03AD\u03C2",count:"\u03A3\u03C5\u03BD\u03BF\u03BB\u03B9\u03BA\u03CC\u03C2 \u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2",aggregationOfValues:"${ aggregation } \u03C4\u03B9\u03BC\u03CE\u03BD",aggregationOfFieldName:"${ aggregation } \u03B1\u03C0\u03CC ${ fieldName }"},g={aggrFieldsByCategory:"${ aggregationFields } \u03B5\u03C0\u03AF ${ category }",aggrTypeCategory:"${ aggregationType } \u03B5\u03C0\u03AF ${ category }",aggrTypeCategoryBySplitBy:"${ aggregationType } \u03B5\u03C0\u03AF ${ category } \u03B5\u03C0\u03AF ${ splitByField }",aggrTypeOfAggrFields:"${ aggregationType } \u03B1\u03C0\u03CC ${ aggregationFields }",aggrTypeOfAggrFieldByCategoryBySplitByField:"${ aggregationType } \u03B1\u03C0\u03CC ${ aggregationField } \u03B5\u03C0\u03AF ${ category } \u03B5\u03C0\u03AF ${ splitByField }",aggrTypeOfAggrFieldsByCategory:"${ aggregationType } \u03B1\u03C0\u03CC ${ aggregationFields } \u03B5\u03C0\u03AF ${ category }",aggrFieldsByXAxisField:"${ aggregationFields } \u03B5\u03C0\u03AF ${ xAxisField }",aggrTypeXAxisField:"${ aggregationType } \u03B5\u03C0\u03AF ${ xAxisField }",aggrTypeXAxisFieldBySplitBy:"${ aggregationType } \u03B5\u03C0\u03AF ${ xAxisField } \u03B5\u03C0\u03AF ${ splitByField }",aggrTypeOfAggrFieldByXAxisFieldBySplitByField:"${ aggregationType } \u03B1\u03C0\u03CC ${ aggregationField } \u03B5\u03C0\u03AF ${ xAxisField } \u03B5\u03C0\u03AF ${ splitByField }",aggrTypeOfAggrFieldsByXAxisField:"${ aggregationType } \u03B1\u03C0\u03CC ${ aggregationFields } \u03B5\u03C0\u03AF ${ xAxisField }",distributionOfField:"\u039A\u03B1\u03C4\u03B1\u03BD\u03BF\u03BC\u03AE ${ valueField }",distributionOfFields:"\u039A\u03B1\u03C4\u03B1\u03BD\u03BF\u03BC\u03AE ${ valueFields }",distributionOfFieldsByCategory:"\u039A\u03B1\u03C4\u03B1\u03BD\u03BF\u03BC\u03AE ${ valueFields } \u03B1\u03C0\u03CC ${ category }",distributionOfFieldsByCategoryAndSplitBy:"\u039A\u03B1\u03C4\u03B1\u03BD\u03BF\u03BC\u03AE ${ valueFields } \u03B1\u03C0\u03CC ${ category } \u03BA\u03B1\u03B9${ splitByField }",xAndY:"${ x } \u03BA\u03B1\u03B9 ${ y }"},i={barChart:"\u03A1\u03B1\u03B2\u03B4\u03CC\u03B3\u03C1\u03B1\u03BC\u03BC\u03B1",lineChart:"\u0393\u03C1\u03AC\u03C6\u03B7\u03BC\u03B1 \u03B3\u03C1\u03B1\u03BC\u03BC\u03CE\u03BD",pieChart:"\u0393\u03C1\u03AC\u03C6\u03B7\u03BC\u03B1 \u03C0\u03AF\u03C4\u03B1\u03C2",histogram:"\u0399\u03C3\u03C4\u03CC\u03B3\u03C1\u03B1\u03BC\u03BC\u03B1",scatterplot:"\u0394\u03B9\u03AC\u03B3\u03C1\u03B1\u03BC\u03BC\u03B1 \u03B4\u03B9\u03B1\u03C3\u03C0\u03BF\u03C1\u03AC\u03C2"},a={axisLabels:e,titleLabels:g,chartType:i};export{e as axisLabels,i as chartType,a as default,g as titleLabels};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.30/esri/copyright.txt for details.
3
- v0.30.0 */
4
- function a(e){let E=/([a-z\d])([A-Z])/g,r=/[ _]/g;return e.replace(E,"$1_$2").toLowerCase().replace(r,"-")}export{a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.30/esri/copyright.txt for details.
3
- v0.30.0 */
4
- import{a as m}from"./EV2YP2S4.js";import{b as g}from"./DVVUYZJM.js";import{b as p}from"./OUBNUUFC.js";import{a as r}from"./URO5CNBA.js";import{f as a}from"./OOO26GUH.js";import"./6XWEHFLF.js";import"./VCG4TJ6E.js";import{C as n,D as i,E as c,I as u,d as s,p as l}from"./WWGUB3OU.js";import"./3BEZVOSX.js";var e=class extends n{constructor(){super(...arguments),this.debug=!1,this.isEditMode=!1}static{this.properties={node:0,activatedNode:0,utils:0,debug:5,isEditMode:5}}static{this.shadowRootOptions=l}_getChildClasses(o){return g(o)}render(){let{debug:o,utils:h}=this;return(this.node.children??[]).map(t=>{let{id:d}=t;if(!p(t)){a.warn(`Child with id ${d} in arcgis-layout-section is not a row.`);return}try{return r(t.id,s`<arcgis-layout-row class=${i(this._getChildClasses(t).join(" "))} .activatedNode=${this.activatedNode} .debug=${o} .isEditMode=${this.isEditMode} .node=${t} .utils=${h} style=${c(t.styles)} .role=${t.rowProps?.role} .ariaLabel=${t.rowProps?.ariaLabel} ${m(t.properties??{})}></arcgis-layout-row>`)}catch(w){return a.error(`Error rendering row with id ${d} in arcgis-hub-layout-row:`,w),r(t.id,s`<arcgis-layout-row class=${i({"layout-error":o})} .debug=${o} .node=${{id:t.id,tag:"arcgis-layout-row"}}></arcgis-layout-row>`)}})}};u("arcgis-layout-section",e);export{e as ArcgisLayoutSection};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.30/esri/copyright.txt for details.
3
- v0.30.0 */
4
- import{a as et,c as It,d as Ct,e as Pt}from"./K4QLHSL7.js";import"./MZ4TWYO6.js";import{b as Dt}from"./KXG5NV3S.js";import{a as tt}from"./44IQ72K6.js";import{a as X}from"./UR26TSO4.js";import{a as $}from"./FHBMUP4G.js";import{a as Z}from"./BH6TFTCL.js";import{a as J}from"./CYSX5UV4.js";import b from"./CQIZSDWA.js";import"./NZCHLOCH.js";import{a as wt}from"./6JQEFYM5.js";import{a as Y,b as _}from"./BVLVSELY.js";import a from"./Z2CYMHMX.js";import"./BVCTZB55.js";import"./EYBXTJAP.js";import{b as yt}from"./POWGDPF2.js";import{a as V}from"./HFOLSW64.js";import{a as mt}from"./J47K6T42.js";import{h as gt}from"./CVPXSN3O.js";import{b as bt}from"./RY6Z54ZQ.js";import"./47DBKNC4.js";import{b as B}from"./NZU4BXRT.js";import"./45IHMDCR.js";import{b as dt}from"./XO4ON6VT.js";import"./QT42UWOH.js";import"./6RGO2SRP.js";import"./FQBYNAZF.js";import"./QOE2SHIT.js";import"./ZR2OO3HA.js";import"./H52LJIXH.js";import{n as pt}from"./VYVAAKRB.js";import"./7BYXNDIO.js";import"./7PFTE2OO.js";import"./AS4UI4JH.js";import"./NHNWP7ER.js";import"./KXMHU5QU.js";import"./JF6S5CRM.js";import"./P6USDC2Z.js";import"./ONHBDUF2.js";import"./O3PV5B7X.js";import"./Z7OPGFX7.js";import"./NVANTL2P.js";import"./WIOYIHQ5.js";import"./DJ3HTG7B.js";import"./MD66JU4M.js";import"./SYBVAMG7.js";import{N as ht,O as K,X as ut,o as ct}from"./NILAI3S2.js";import"./VEI5H4PD.js";import"./MPXBCUFZ.js";import"./IF2DYJWG.js";import"./KKT44ZG6.js";import"./WGHHLZ4Q.js";import"./A3CROC3X.js";import"./463RFQBR.js";import"./R7V5NC6U.js";import"./RDXWA2WQ.js";import"./JJ5KMGYV.js";import"./3UPRBTIP.js";import"./RIXTHWKY.js";import"./V6UZOC7N.js";import"./KQXYMD4V.js";import{f as z,k as U}from"./YCJWLOTK.js";import{d as q}from"./U33NFB2D.js";import"./W3U2AG77.js";import"./NZ2DP4SX.js";import"./GWSU27KV.js";import"./3GWBPX4O.js";import"./A6ST7DRE.js";import"./2VLGYS7X.js";import"./EIEFNRHI.js";import"./EZUFYVQQ.js";import"./VVAZM6RY.js";import"./GILH6I3L.js";import"./GYCKL6XC.js";import"./4N6ODHC7.js";import"./47EY6TCJ.js";import{h as lt}from"./UPZLN4HJ.js";import"./OGLG3OJL.js";import"./MZ3WYZDE.js";import"./53PGCQNE.js";import"./PB35S3LV.js";import"./YYAFKPIW.js";import"./U2T4HCMI.js";import"./JAELFUT2.js";import"./LOYWUOC5.js";import"./FJ427YXY.js";import"./UI74X3EE.js";import"./ETWCPTWF.js";import"./RMNMBYHF.js";import"./I2XFGWAL.js";import"./NHP3RMVU.js";import"./IAGJKSFE.js";import"./PBHCJMWR.js";import{c as N,g as Tt,j as it}from"./4ZXWYK5P.js";import"./JVQMYCIY.js";import"./ISOQQMCG.js";import"./MVKT6K7E.js";import"./UTOSWBTW.js";import"./WCVZ5IVE.js";import"./BO4ELVFM.js";import{j as rt}from"./54WB3IU4.js";import{o as ot}from"./K6XGMBR4.js";import"./PZSRLS3L.js";import"./MJYV5IXC.js";import"./EM4HYB7A.js";import{a as k}from"./TBLUKTMV.js";import{a as j}from"./IBLNQKXS.js";import"./VTUF6UAI.js";import"./IX6UFPYX.js";import{a as h}from"./NCJJX6CX.js";import"./WNV7HOFY.js";import{b as s,c as A,d as L,e as d,h as F,i as G}from"./TYDQLBO3.js";import"./ID5TNWNP.js";import"./IBFCH3JO.js";import"./KCSAZ4DI.js";import"./VGEUTORO.js";import"./3BEZVOSX.js";export default $arcgis.t(([,{n:ft,o:vt,s:W},{b:Q}])=>{var _t='.sc-arcgis-hub-discussions-h{display:block;max-height:100%;overflow:auto;background-color:var(--calcite-color-foreground-1);--arcgis-hub-layout-list-gap:0rem}calcite-panel.sc-arcgis-hub-discussions{height:max-content}section.sc-arcgis-hub-discussions{margin-top:1rem;margin-bottom:1rem;margin-left:0.75rem;margin-right:0.75rem;display:grid;gap:0.75rem;border-radius:0.25rem;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)}header.sc-arcgis-hub-discussions{margin:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold)}p.sc-arcgis-hub-discussions{margin:0px;font-size:var(--calcite-font-size-0);line-height:1.375rem}section.sc-arcgis-hub-discussions calcite-button.sc-arcgis-hub-discussions{width:-moz-fit-content;width:fit-content}calcite-button[icon-start="speech-bubble-plus"].sc-arcgis-hub-discussions{margin-left:1rem;margin-right:1rem;margin-bottom:0.5rem;display:block}arcgis-hub-subscription.sc-arcgis-hub-discussions{margin-left:1rem;margin-right:1rem;margin-bottom:1.5rem;display:block}arcgis-hub-discussions-blocked-notice.sc-arcgis-hub-discussions{margin-left:1rem;margin-right:1rem;margin-bottom:1.5rem}calcite-notice[slot="list-before"].sc-arcgis-hub-discussions{margin-left:1rem;margin-right:1rem;margin-bottom:1.5rem}.empty.sc-arcgis-hub-discussions arcgis-hub-discussions-blocked-notice.sc-arcgis-hub-discussions{margin:0px;margin-top:0.25rem}.empty.sc-arcgis-hub-discussions calcite-notice.sc-arcgis-hub-discussions{width:100%}arcgis-hub-discussions-thread.sc-arcgis-hub-discussions{overflow:hidden;padding-top:1rem;padding-bottom:1rem}arcgis-hub-discussions-post-list.sc-arcgis-hub-discussions{background-color:var(--calcite-color-foreground-1);padding-top:1.5rem}arcgis-hub-discussions-post-list.location-list.sc-arcgis-hub-discussions{padding-top:0.25rem;padding-bottom:0.25rem}[data-element="discussions-options-panel"].sc-arcgis-hub-discussions>div.sc-arcgis-hub-discussions{background-color:var(--calcite-color-foreground-1);padding:1rem}[data-element="discussions-options-panel"].sc-arcgis-hub-discussions>div.sc-arcgis-hub-discussions div.sc-arcgis-hub-discussions{display:flex;justify-content:flex-end;padding-top:0.5rem}[data-element="discussions-options-panel"].sc-arcgis-hub-discussions>div.sc-arcgis-hub-discussions div.sc-arcgis-hub-discussions+calcite-notice.sc-arcgis-hub-discussions{margin-top:1rem;width:100%}.discussions-options.sc-arcgis-hub-discussions:active .discussions-options-icon.sc-arcgis-hub-discussions{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-go-to.sc-arcgis-hub-discussions:active .discussions-go-to-icon.sc-arcgis-hub-discussions{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-back.sc-arcgis-hub-discussions{border-width:0px;border-right-width:1px;border-style:solid;border-right-color:var(--calcite-color-border-3)}.discussions-back.sc-arcgis-hub-discussions:active .discussions-back-icon.sc-arcgis-hub-discussions{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}arcgis-hub-discussions-post-editor[slot="list-before"].sc-arcgis-hub-discussions{margin-top:1.5rem;margin-bottom:1.5rem;margin-left:0.75rem;margin-right:0.75rem}',kt=_t,st=function(t,e,i,n){var a=arguments.length,o=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,i):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(l=t[r])&&(o=(a<3?l(o):a>3?l(e,i,o):l(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o},M=class{constructor(t){G(this,t),this.arcgisHubPostEditorReady=d(this,"arcgisHubPostEditorReady",7),this.arcgisHubGeometryGoTo=d(this,"arcgisHubGeometryGoTo",7),this.arcgisHubDiscussionsFeature=d(this,"arcgisHubDiscussionsFeature",7),this.arcgisHubDiscussionsFeatureDeleted=d(this,"arcgisHubDiscussionsFeatureDeleted",7),this.arcgisHubGeometryFeatureSelect=d(this,"arcgisHubGeometryFeatureSelect",7),this.arcgisHubGeometryFeatureHover=d(this,"arcgisHubGeometryFeatureHover",7),this.arcgisHubGeometryDrawCreate=d(this,"arcgisHubGeometryDrawCreate",7),this.arcgisHubGeometryDrawTypeSelect=d(this,"arcgisHubGeometryDrawTypeSelect",7),this.arcgisHubGeometryDrawEdit=d(this,"arcgisHubGeometryDrawEdit",7),this.arcgisHubGeometryDrawEditCancel=d(this,"arcgisHubGeometryDrawEditCancel",7),this.arcgisHubGeometryDrawReset=d(this,"arcgisHubGeometryDrawReset",7),this.arcgisHubGeometrySelect=d(this,"arcgisHubGeometrySelect",7),this.arcgisHubGeometryDeselect=d(this,"arcgisHubGeometryDeselect",7),this.arcgisHubDiscussionsViewThread=d(this,"arcgisHubDiscussionsViewThread",7),this.arcgisHubDiscussionsDismiss=d(this,"arcgisHubDiscussionsDismiss",7),this.arcgisHubDiscussionsClose=d(this,"arcgisHubDiscussionsClose",7),this.arcgisHubFeatureRemove=d(this,"arcgisHubFeatureRemove",7),this.arcgisHubGeometryClearAll=d(this,"arcgisHubGeometryClearAll",7),this.arcgisAppIdentityStartSignIn=d(this,"arcgisAppIdentityStartSignIn",7),this.hubTelemetry=d(this,"hubTelemetry",7),this.handleSignInClicked=e=>{e.preventDefault(),this.arcgisAppIdentityStartSignIn.emit()},this.discussion=void 0,this.parentId=void 0,this.postId=void 0,this.channelId=void 0,this.locationId=void 0,this.unsavedFeatures=[],this.unsavedRelatedFeatures=[],this.unsavedExistingFeatures=[],this.hasMap=void 0,this.isHub=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this.dismissible=void 0,this.enableGoTo=void 0,this.disableNavigation=void 0,this.entityId=void 0,this.entityType=void 0,this.entity=void 0,this.discussionSettings=void 0,this.threadScrollTarget=void 0,this._context=N(),this.postListProps=void 0,this.threadProps=void 0,this.listScrollTarget=void 0,this._loading=!0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.displayFieldKey=void 0,this.error=null,this.optionsError=null,this.optionsSaving=!1,this.showPostEditor=!1,this.isMobile=void 0,this.showOptions=!1,this.numPostableChannels=null,k(this,"handleCheckStatus","handleBackToList","handleBackToThread","handleGeometryGoTo","handleNewPost","renderLoading","renderAddOrCreatePostButton","renderPostEditor","renderThread","renderPostList","renderError","handleDiscussionOptionsClick","handleDiscussionsDownloadClick","handleOptionsBack","checkIsMobile","handleSaveOptions","handleResetOptionsError","handlePostListUpdated","renderRequiresAuth","handleThreadReady","handlePostListReady")}async componentWillLoad(){this.initialize()}componentDidLoad(){this.observe()}connectedCallback(){it(this),this.observe()}disconnectedCallback(){this.disconnect(),this.disconnectContext()}async loadDependencies(){return this._loading=!0,this.fetchDependencies().then(t=>{Object.assign(this,t),this.threadProps=this.channelId&&this.parentId?{channelId:this.channelId,parentId:this.parentId,postId:this.postId}:null}).catch(t=>{this.error=t}).finally(()=>{this._loading=!1})}async initialize(){this.loadTranslations(),this._context&&this.loadDependencies()}async loadTranslations(){this.intl=await j.loadIntlForComponent(this.element)}async fetchDependencies(){return this._fetchDependencies()}async _fetchDependencies(){var t;let[e,i]=await Promise.all([J({isHub:this.isHub},this._context.hubRequestOptions),Q({discussion:this.discussion,entityId:this.entityId,entityType:this.entityType,entity:this.entity,locationId:this.locationId},this._context.hubRequestOptions,!0)]),{total:n}=await W({allowedChannelIds:(t=i.discussionSettings)===null||t===void 0?void 0:t.allowedChannelIds,requestOptions:this._context.hubRequestOptions,num:1});return Object.assign(Object.assign(Object.assign({},e),i),{numPostableChannels:n})}handleContextChanged(t,e){var i,n;((i=t?.currentUser)===null||i===void 0?void 0:i.username)!==((n=e?.currentUser)===null||n===void 0?void 0:n.username)&&(this.resetState(),this.loadDependencies())}resetState(){this.error=null,this._loading=!1,this.threadScrollTarget=null,this.listScrollTarget=null,this.optionsError=null,this.optionsSaving=!1,this.showPostEditor=!1,this.showOptions=!1,this.entity=void 0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.displayFieldKey=void 0,this.postListProps=null,this.threadProps=null}async handleBackToList(){let{thread:t}=this;this.hubTelemetry.emit(Object.assign(Object.assign({},h.dictionary.category.interaction.action.close.label.thread),{postId:t.postId,parentId:t.parentId,channelId:t.channelId,channelAccess:t.channel?U(t.channel):void 0})),this.threadScrollTarget=null,this.threadProps=null,this.channelId=null,this.parentId=null,this.postId=null,this.arcgisHubDiscussionsViewThread.emit({parentId:null,channelId:null})}observe(){$.addHandler(window.document.body,this.checkIsMobile)}disconnect(){$.removeHandler(window.document.body,this.checkIsMobile)}scrollToTarget(t){this.element.scrollTo({behavior:"smooth",left:t.offsetLeft,top:t.offsetTop})}async scrollToThreadTarget(){var t,e;let i;this.threadScrollTarget==="list"?i=await((t=this.thread)===null||t===void 0?void 0:t.getPostListRef()):this.threadScrollTarget==="editor"&&(i=await((e=this.thread)===null||e===void 0?void 0:e.getPostEditorRef())),i&&(this.threadScrollTarget=null,this.scrollToTarget(i))}async scrollToListTarget(){var t;let e=await((t=this.postListEl)===null||t===void 0?void 0:t.getPostRefByPostId(this.listScrollTarget));e&&(this.listScrollTarget=null,this.scrollToTarget(e))}handleNewPost(){this.hubTelemetry.emit(h.dictionary.category.interaction.action.open.label.editor),this.showPostEditor=!0}handlePostListUpdated(t){let e=t.target,{nextStart:i,start:n,total:a,items:o}=e;this.postListProps={nextStart:i,start:n,total:a,items:o}}handlePostEditorReady(t){let{detail:e}=t;t.stopPropagation(),this.arcgisHubPostEditorReady.emit(e)}handlePostCanceled(t){t.stopPropagation(),this.showPostEditor=!1}handlePostCreate(t){this.arcgisHubDiscussionsFeature.emit({post:t.detail,create:!0})}handleThreadReady(){setTimeout(()=>this.scrollToThreadTarget(),500)}handlePostListReady(){setTimeout(()=>this.scrollToListTarget(),500)}async handlePostDeleted(t){var e,i;let{postListProps:n,threadProps:a}=this,o=({id:l})=>l===t.detail.id;!((e=this.postListProps)===null||e===void 0)&&e.items.find(o)&&(this.postListProps=Object.assign(Object.assign({},n),{items:n.items.filter(l=>!o(l)),nextStart:n.nextStart>-1?n.nextStart-1:n.nextStart,total:n.total-1})),t.detail.id===((i=a?.parent)===null||i===void 0?void 0:i.id)&&(this.threadProps=Object.assign(Object.assign({},a),{parent:null})),this.arcgisHubDiscussionsFeatureDeleted.emit(t.detail)}async handlePostEdited(t){var e,i;let{postListProps:n,threadProps:a}=this,o=({id:l})=>l===t.detail.id;!((e=this.postListProps)===null||e===void 0)&&e.items.find(o)&&(this.postListProps=Object.assign(Object.assign({},n),{items:n.items.map(l=>o(l)?t.detail:l)})),t.detail.id===((i=a?.parent)===null||i===void 0?void 0:i.id)&&(this.threadProps=Object.assign(Object.assign({},a),{parent:t.detail})),this.arcgisHubDiscussionsFeature.emit({post:t.detail,create:!1})}handlePostSelect(t){let{parentId:e,channelId:i,channel:n,channelGroups:a,parent:o,parentCreator:l,parentCreatorOrg:r,scrollTarget:f,postId:b,post:v,postCreator:w,postCreatorOrg:D}=t.detail;Object.assign(this,{parentId:e,channelId:i,threadScrollTarget:f,listScrollTarget:e,postId:b,showPostEditor:!1,threadProps:e?{channelId:i,channel:n,channelGroups:a,parentId:e,parent:o,parentCreator:l,parentCreatorOrg:r,postId:b,post:v,postCreator:w,postCreatorOrg:D}:null}),this.arcgisHubDiscussionsViewThread.emit({parentId:e,channelId:i})}handleBackToThread(){let{thread:{channel:t},threadProps:{postId:e,parentId:i,channelId:n}}=this;this.hubTelemetry.emit(Object.assign(Object.assign({},h.dictionary.category.interaction.action.open.label.thread),{postId:e,parentId:i,channelId:n,channelAccess:t?U(t):void 0})),this.postId=null,this.threadProps=Object.assign(Object.assign({},this.threadProps),{postId:null}),this.arcgisHubDiscussionsViewThread.emit({parentId:i,channelId:n})}handleGeometryGoTo(){let{thread:t}=this;this.arcgisHubGeometryGoTo.emit(t?.parent)}handleGeometryFeatureSelect(t){t.stopPropagation(),this.arcgisHubGeometryFeatureSelect.emit(t.detail)}handleGeometryFeatureHover(t){t.stopPropagation(),this.arcgisHubGeometryFeatureHover.emit(t.detail)}handleGeometryDrawCreate(t){t.stopPropagation(),this.arcgisHubGeometryDrawCreate.emit(t.detail)}handleGeometryDrawTypeSelect(t){t.stopPropagation(),this.arcgisHubGeometryDrawTypeSelect.emit(t.detail)}handleGeometryDrawEdit(t){t.stopPropagation(),this.arcgisHubGeometryDrawEdit.emit(t.detail)}handleGeometryDrawEditCancel(t){t.stopPropagation(),this.arcgisHubGeometryDrawEditCancel.emit()}handleGeometryDrawReset(t){t.stopPropagation(),this.arcgisHubGeometryDrawReset.emit()}handleGeometrySelect(t){t.stopPropagation(),this.arcgisHubGeometrySelect.emit(t.detail)}handleGeometryDeselect(t){t.stopPropagation(),this.arcgisHubGeometryDeselect.emit()}handleFeatureRemove(t){t.stopPropagation(),this.arcgisHubFeatureRemove.emit(t.detail)}handleGeometryClearAll(t){t.stopPropagation(),this.arcgisHubGeometryClearAll.emit()}handleCalcitePanelDismissedChange(t){t.stopPropagation(),this.arcgisHubDiscussionsDismiss.emit()}handleCalcitePanelDismissChange(t){t.stopPropagation(),this.arcgisHubDiscussionsClose.emit()}captureEmptyListImpression(){this.hubTelemetry.emit(h.dictionary.category.interaction.action.viewed.label.empty)}handleCheckStatus(t){t.preventDefault();let e=t.target;this.hubTelemetry.emit(h.dictionary.category.navigation.action.external.label.hubStatus),setTimeout(()=>rt(e.href),250)}checkIsMobile(){this._checkIsMobile(globalThis.document.body)}_checkIsMobile(t){this.isMobile=t.clientWidth<768}handleDiscussionOptionsClick(){this.showOptions=!0,this.showPostEditor=!1,this.hubTelemetry.emit(h.dictionary.category.interaction.action.open.label.panel.details.discussionOptions)}async handleDiscussionsDownloadClick(){try{let{size:t,count:e,duration:i}=await vt({entityTitle:this.entity.title,discussion:this.discussion,channels:this.areChannelsConfigured?this.discussionSettings.allowedChannelIds:void 0,requestOptions:this._context.hubRequestOptions});this.hubTelemetry.emit(Object.assign(Object.assign({},h.dictionary.category.interaction.action.download.label.csv.details.export),{size:t,count:e,duration:i,response:h.constants.response.SUCCESS}))}catch{this.hubTelemetry.emit(Object.assign(Object.assign({},h.dictionary.category.interaction.action.download.label.csv.details.export),{response:h.constants.response.FAILURE})),Tt({title:this.intl.t("download.error"),message:"",configuration:{autoClose:!0,autoCloseDuration:"fast",icon:!0,noticeType:"alert",kind:"danger",label:this.intl.t("notice.label")}})}this.discussionOptionsPopoverEl.open=!1}handleOptionsBack(){this.showOptions=!1}async handleSaveOptions(t){this.entity=Object.assign(Object.assign({},this.entity),{typeKeywords:t.detail.typeKeywords}),this.discussionSettings=t.detail.discussionSettings,this.optionsSaving=!1}handleResetOptionsError(){this.optionsError=null}get loading(){return!this.intl||this._loading}get areChannelsConfigured(){var t,e;return!!(!((e=(t=this.discussionSettings)===null||t===void 0?void 0:t.allowedChannelIds)===null||e===void 0)&&e.length)}get discussionSettingsWorkspaceUrl(){return(this.isHub?"":this._context.hubHomeUrl)+q(this.entity.type,this.entityId,"settings-discussions")}get isRtl(){return this.intl.direction==="rtl"}get view(){let{error:t,loading:e,showOptions:i,threadProps:n}=this,a;return t?a=this.renderError:e?a=this.renderLoading:i?a=this.renderOptions:n?a=this.renderThread:a=this.renderPostList,a}get shouldRenderOptions(){let t=!1;return this.dismissible||(t=this.entityType===mt.CONTENT?this.canEditEntity:!1),t}get isDiscussable(){return!!this.entity&&z(this.entity)}get canEditEntity(){return!!this._context.currentUser&&B(this.entity.item,this._context.currentUser)}get hubEntityType(){return yt(Dt(this.entityType))}get shouldRenderSubscribe(){var t,e;let i=ot("hub:feature:discussions:subscription",this._context).access;return((t=this._context)===null||t===void 0?void 0:t.currentUser)&&((e=this.postListProps)===null||e===void 0?void 0:e.total)>0&&!this.locationId&&i}renderRequiresAuth(){let{intl:t}=this;if(t)return s("section",{class:"requires-auth"},s("calcite-icon",{icon:"frown",scale:"l"}),s("header",null,t.t("auth.title")),s("p",null,t.t("auth.text")))}renderEmpty(){var t;if(((t=this.postListProps)===null||t===void 0?void 0:t.total)===0&&!this.showPostEditor)return this.deletedDuringSession||this.captureEmptyListImpression(),s("section",{class:"empty",slot:"empty"},s("calcite-icon",{flipRtl:this.isRtl,icon:"speech-bubble",scale:"l"}),s("header",null,this.intl.t("emptyHeading")),s("p",null,this.intl.t("emptyMessage")),this._context.currentUser&&s("calcite-button",{disabled:!this.isDiscussable||!this.numPostableChannels,label:this.intl.t("addPost"),onClick:this.handleNewPost,round:!0,scale:"l"},this.intl.t("addPost")),this.renderNotice())}renderOptions(){let{entity:t,optionsSaving:e,intl:i,optionsError:n}=this;return s("calcite-panel",{"data-element":"discussions-options-panel",description:t.title,disabled:e,heading:i.t("options.heading")},s("calcite-action",{class:"discussions-back",onClick:this.handleOptionsBack,scale:"s",slot:"header-actions-start",text:this.intl.t("back")},s("calcite-icon",{class:"discussions-back-icon",flipRtl:this.isRtl,icon:"chevron-left",scale:"s"})),s("div",null,s("arcgis-hub-discussions-options",{entityId:t.id,entityType:this.hubEntityType,onArcgisHubDiscussionsOptionsEntitySaved:this.handleSaveOptions}),n&&s("calcite-notice",{closable:!0,kind:"danger",onCalciteNoticeClose:this.handleResetOptionsError,open:!0},s("header",{slot:"title"},i.t("options.failure.title")),s("p",{slot:"message"},i.t("options.failure.message")))))}renderPostEditor(){return s(F,null,s("arcgis-hub-discussions-post-editor",{discussion:this.discussion,discussionSettings:this.discussionSettings,entity:this.entity,entityId:this.entityId,entityType:this.entityType,hasMap:this.hasMap,isHub:this.isHub,isMobile:this.isMobile,locationId:this.locationId,showHeader:!0,showLocations:!0,slot:"list-before",unsavedExistingFeatures:this.unsavedExistingFeatures,unsavedFeatures:this.unsavedFeatures,unsavedRelatedFeatures:this.unsavedRelatedFeatures}))}renderAddOrCreatePostButton(){var t;if(((t=this.postListProps)===null||t===void 0?void 0:t.total)===void 0)return null;if(this.postListProps.total)return s(F,null,this._context.currentUser&&s("calcite-button",{appearance:"outline",disabled:!this.isDiscussable||!this.numPostableChannels,iconFlipRtl:"start",iconStart:"speech-bubble-plus",kind:"brand",label:this.intl.t("addPost"),onClick:this.handleNewPost,scale:"l",slot:"list-before",type:"button",width:"auto"},this.intl.t("addPost")),this.renderNotice("list-before"))}renderNotice(t){let e;return this.isDiscussable?this._context.currentUser?this.numPostableChannels||(e=this.renderParticipationUnavailableNotice(t)):e=this.renderSignInNotice(t):e=this.renderBlockedNotice(t),e}renderParticipationUnavailableNotice(t){return s("calcite-notice",{icon:"exclamation-mark-triangle",kind:"warning",open:!0,scale:"m",slot:t},s("div",{slot:"title"},this.intl.t("participationUnavailable.title")),s("div",{slot:"message"},this.intl.t(this.areChannelsConfigured?"participationUnavailable.allowed":"participationUnavailable.any")),this.areChannelsConfigured&&this.canEditEntity&&this._context.hubLicense==="hub-premium"&&s("calcite-link",{href:this.discussionSettingsWorkspaceUrl,slot:"link"},this.intl.t("participationUnavailable.action")))}renderSignInNotice(t){return s("calcite-notice",{icon:"information",kind:"info",open:!0,scale:"m",slot:t},s("div",{slot:"title"},this.intl.t("signIn.title")),s("calcite-link",{onClick:this.handleSignInClicked,slot:"link"},this.intl.t("signIn.action")))}renderBlockedNotice(t){return s("arcgis-hub-discussions-blocked-notice",{slot:t,variant:this.entityType==="group"?_.Group:_.Item})}renderGoToAction(){let{enableGoTo:t,intl:e}=this;if(t)return s("calcite-action",{class:"discussions-go-to",onClick:this.handleGeometryGoTo,slot:"header-actions-end",text:e.t("showFullDiscussion")},s("calcite-icon",{class:"discussions-go-to-icon",icon:"extent",scale:"s"}))}renderSubscribeButton(){return s("arcgis-hub-subscription",{entityId:this.entityId,entityType:this.hubEntityType,slot:"list-before",subscribeButtonProps:{scale:"l",round:!1,width:"full"},types:[wt.DISCUSSION]})}renderPostList(){let{discussion:t,entity:e,entityId:i,entityType:n,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,showChannelAvatar:r,showChannelName:f,hasMap:b,isHub:v,unsavedFeatures:w,unsavedRelatedFeatures:D,unsavedExistingFeatures:C,showPostEditor:P,locationId:u,intl:g,shouldRenderOptions:T,isMobile:I,dismissible:y,postListProps:c,discussionSettings:m,handlePostListUpdated:O,handlePostListReady:p}=this,R={"location-list":!!u},x=u&&l?l:g.t("list.heading"),S=u?g.t("location.summary"):e.title;return s("calcite-panel",{closable:y,description:S,heading:x},this.renderGoToAction(),s(F,null,s("calcite-action",{class:"discussions-options",ref:E=>{this.discussionOptionsActionEl=E},scale:"m",slot:"header-actions-end",text:g.t("options")},s("calcite-icon",{class:"discussions-options-icon",icon:"ellipsis",scale:"s"})),s("calcite-popover",{autoClose:!0,flipPlacements:["top-end","bottom-end"],offsetDistance:0,overlayPositioning:"absolute",placement:"bottom-end",pointerDisabled:!0,ref:E=>{this.discussionOptionsPopoverEl=E},referenceElement:this.discussionOptionsActionEl},s("calcite-action-group",{layout:"vertical"},s("calcite-action",{alignment:"center",disabled:!c?.total,onClick:this.handleDiscussionsDownloadClick,scale:"m",text:g.t("download"),textEnabled:!0}),T&&s("calcite-action",{alignment:"left",onClick:this.handleDiscussionOptionsClick,scale:"m",text:g.t("settings"),textEnabled:!0})))),s("arcgis-hub-discussions-post-list",{channelIds:m?.allowedChannelIds,class:R,discussion:u?`${t}%?id=%${u}`:`${t}`,discussionSettings:m,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,entity:e,entityId:i,entityType:n,hasMap:b,isHub:v,isMobile:I,items:c?.items,locationId:u,nextStart:c?.nextStart,onArcgisHubDiscussionsPostListReady:p,onArcgisHubDiscussionsPostListUpdated:O,parentIds:!u&&[],ref:E=>{this.postListEl=E},showChannelAvatar:r,showChannelName:f,showLocations:!0,start:c?.start,total:c?.total,unsavedExistingFeatures:C,unsavedFeatures:w,unsavedRelatedFeatures:D},!u&&(P?this.renderPostEditor():this.renderAddOrCreatePostButton()),this.shouldRenderSubscribe&&this.renderSubscribeButton(),this.renderEmpty()))}renderLoading(){return null}renderError(){let{intl:t}=this;return s("section",null,s("calcite-icon",{icon:"frown",scale:"l"}),s("header",null,t.t("error.title")),s("p",null,t.t("error.text")),s("calcite-button",{appearance:"transparent",href:"https://hubstatus.arcgis.com/",kind:"error",onClick:this.handleCheckStatus,round:!0,scale:"l"},t.t("error.button")))}renderThread(){let{hasMap:t,isHub:e,unsavedFeatures:i,unsavedRelatedFeatures:n,unsavedExistingFeatures:a,discussion:o,entity:l,entityId:r,entityType:f,discussionSettings:b,dismissible:v,displayFieldKey:w,displayFieldValid:D,displayFieldValue:C,showChannelAvatar:P,showChannelName:u,intl:g,handleBackToList:T,locationId:I,handleBackToThread:y,handleThreadReady:c,disableNavigation:m,isMobile:O,threadProps:p}=this,R="generic.heading",x="thread.summary",S=T;return p.postId?(R="reply.heading",x="reply.summary",S=y):I&&(R="location.heading"),m&&(R="list.heading"),s("calcite-panel",{closable:v,description:g.t(x),heading:g.t(R)},!m&&s("calcite-action",{class:"discussions-back",onClick:S,scale:"s",slot:"header-actions-start",text:g.t("back")},s("calcite-icon",{class:"discussions-back-icon",icon:"chevron-left",scale:"s"})),this.renderGoToAction(),s("arcgis-hub-discussions-thread",{channel:p.channel,channelGroups:p.channelGroups,channelId:p.channelId,discussion:o,discussionSettings:b,displayFieldKey:w,displayFieldValid:D,displayFieldValue:C,entity:l,entityId:r,entityType:f,hasMap:t,isHub:e,isMobile:O,locationId:I,onArcgisHubDiscussionsThreadReady:c,parent:p.parent,parentCreator:p.parentCreator,parentCreatorOrg:p.parentCreatorOrg,parentId:p.parentId,post:p.post,postCreator:p.postCreator,postCreatorOrg:p.postCreatorOrg,postId:p.postId,ref:E=>{this.thread=E},showChannelAvatar:P,showChannelName:u,showLocations:!0,unsavedExistingFeatures:a,unsavedFeatures:i,unsavedRelatedFeatures:n}))}render(){return s(A,{key:"4748fbfecea4988f6a628bce1c2aeb3e182dbe9d","data-element":"discussions"},this.view())}static get assetsDirs(){return["locales"]}get element(){return L(this)}static get watchers(){return{_context:["handleContextChanged"]}}};st([Y({delay:300})],M.prototype,"fetchDependencies",null);st([tt()],M.prototype,"captureEmptyListImpression",null);st([V({timeout:250})],M.prototype,"checkIsMobile",null);M.style=kt;var At=':host{left:50%;width:auto;display:var(--display);transform:translate(-50%, 0)}:host([aria-hidden="true"]){display:none}div{border-bottom-right-radius:0.75rem;border-bottom-left-radius:0.75rem;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.75rem;padding-bottom:0.75rem;text-align:center;--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity));background-color:var(--hub-map-outline);font-weight:var(--calcite-font-weight-bold);font-size:var(--calcite-font-size--1)}calcite-button{margin-left:1rem}',Lt=At,Ht=function(t,e,i,n){var a=arguments.length,o=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,i):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(l=t[r])&&(o=(a<3?l(o):a>3?l(e,i,o):l(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o},Rt="#9747FF",nt=class{constructor(t){G(this,t),this.arcgisHubDrawDone=d(this,"arcgisHubDrawDone",7),this.activeStyles={outline:`.25rem solid ${Rt}`,padding:".25rem",outlineOffset:"-.25rem"},this.view=void 0,this.isConnected=void 0,k(this,"handleDone")}async componentWillLoad(){this.intl=await j.loadIntlForComponent(this.el)}connectedCallback(){this._connect()}disconnectedCallback(){this._disconnect()}_connect(){let{view:t,el:e,activeStyles:i}=this,n=a=>t.ui.container.style[a]=i[a];Object.keys(i).forEach(n),t.ui.add(e),setTimeout(()=>{this.isConnected=!0},50)}_disconnect(){let{view:t,activeStyles:e,el:i}=this,n=a=>t.ui.container.style.removeProperty(a);Object.keys(e).forEach(n),t.ui.remove(i),this.isConnected=!1}handleDone(){this.arcgisHubDrawDone.emit()}get hasViewUI(){let{view:t}=this;return!!(t&&t.ui)}get styles(){let{isConnected:t}=this;return{"--display":t?"block":"none","--hub-map-outline":Rt}}render(){let{intl:t,styles:e,isConnected:i}=this;return s(A,{key:"ae82736952f2c980dc72663d763460924414be67","aria-hidden":i,"data-element":"discussions-map-action-notice",style:e,tabindex:0},s("div",{key:"508f112b133fd28a9754f464781a9fac2cfbdeb8"},s("span",{key:"80c7ec9cb87a46a856caf4e2acf8e46de5af5034"},t.t("adding.notice")),s("calcite-button",{key:"14efbdfc5d47ab0b2dc859d19b6b3c379a4900b6",appearance:"outline-fill",kind:"neutral",onClick:this.handleDone,round:!0,scale:"s"},t.t("adding.action"))))}static get assetsDirs(){return["locales"]}get el(){return L(this)}};Ht([V({timeout:100}),Z({when(){return this.hasViewUI&&!this.isConnected}})],nt.prototype,"_connect",null);Ht([Z({when(){return this.hasViewUI&&this.isConnected}})],nt.prototype,"_disconnect",null);nt.style=Lt;var Gt=":host{display:block;background-color:var(--calcite-color-foreground-1);padding:1rem;padding-bottom:0.5rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}address{margin-bottom:0.125rem;display:grid;font-size:var(--calcite-font-size--1);font-style:normal;line-height:1.25rem;grid-template-columns:minmax(0, max-content) 1rem minmax(0, max-content)}address b{font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}address span{display:flex;justify-content:center;color:var(--calcite-color-text-2)}address arcgis-relative-date{color:var(--calcite-color-text-2)}arcgis-multiline-ellipsis{font-size:var(--calcite-font-size-0);line-height:1.375}calcite-action-group{margin-left:2.75rem}.avatars{position:relative;grid-row:span 2 / span 2;float:left;margin-right:1.25rem;display:flex}.avatars:has(calcite-avatar:only-child){margin-right:0.5rem}.avatars calcite-avatar+calcite-avatar{position:absolute;top:1rem;left:1rem;z-index:10;border-radius:9999px;border:3px solid var(--calcite-color-foreground-1)}.avatars calcite-avatar:only-child{block-size:2.5rem;inline-size:2.5rem}@media only screen and (max-width: 640px){:host{border-radius:1.75rem}}@media only screen and (min-width: 640px){:host{border-radius:1.75rem 1.75rem 1.75rem 0}}",jt=Gt,Ut=function(t,e,i,n){var a=arguments.length,o=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,i):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(l=t[r])&&(o=(a<3?l(o):a>3?l(e,i,o):l(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o},Ot=class{constructor(t){G(this,t),this.arcgisHubDiscussionsViewFull=d(this,"arcgisHubDiscussionsViewFull",7),this.arcgisHubDiscussionsGeometryZoomTo=d(this,"arcgisHubDiscussionsGeometryZoomTo",7),this.arcgisHubDiscussionsPreviewDidRender=d(this,"arcgisHubDiscussionsPreviewDidRender",7),this.arcgisHubDiscussionsPreviewDismiss=d(this,"arcgisHubDiscussionsPreviewDismiss",7),this.hubTelemetry=d(this,"hubTelemetry",7),this.locationId=void 0,this.postId=void 0,this.parentId=void 0,this.channelId=void 0,this.discussion=void 0,this.showChannelAvatar=void 0,this.loading=!0,this.post=void 0,this.postCreator=void 0,this.channel=void 0,k(this,"handleViewFullThread","handleZoomTo","handleDismiss")}get _context(){return N()}get creatorFullName(){let{intl:t,post:e,postCreator:i}=this,n=t.t("anonymous");return(i||e?.creator)&&(n=i?.fullName||t.t("privateUser")),n}async componentWillLoad(){this.intl=await j.loadIntlForComponent(this.element),this.initialize()}componentDidRender(){this.arcgisHubDiscussionsPreviewDidRender.emit(this.element.offsetHeight)}async initialize(){this._initialize()}async _initialize(){let{channelId:t,postId:e,parentId:i,locationId:n}=this;if(t&&(i||e||n)){this.loading=!0;let a=n&&!i?await this.fetchDetailsByLocationId():await this.fetchDetails(e);Object.assign(this,a,{loading:!1}),this.emitHubTelemetry(h.dictionary.category.interaction.action.open.label.popUp.details.post)}}async fetchDetailsByLocationId(){let{locationId:t,_context:e,discussion:i}=this,{items:[n]}=await ut(Object.assign({data:{discussion:`${i}%?id=%${t}%`,num:1,sortBy:ht.UPDATED_AT,sortOrder:ct.DESC,start:1,relations:[K.CHANNEL,K.CHANNEL_ACL]}},e.hubRequestOptions));return this.fetchDetails(n.id,n)}async fetchDetails(t,e){let{_context:i}=this,n=await et({postId:t,post:e},i.hubRequestOptions),[a,o]=await Promise.all([X(n,i.hubRequestOptions),It(n,i.hubRequestOptions)]);return Object.assign(Object.assign(Object.assign({},n),a),o)}emitHubTelemetry(t){let{postId:e,parentId:i,channelId:n,channel:a}=this;this.hubTelemetry.emit(Object.assign(Object.assign({},t),{postId:e,parentId:i,channelId:n,channelAccess:U(a)}))}handleViewFullThread(){this.emitHubTelemetry(h.dictionary.category.interaction.action.open.label.thread.details[this.locationId?"location":"post"]),this.arcgisHubDiscussionsViewFull.emit()}handleZoomTo(){this.emitHubTelemetry(h.dictionary.category.interaction.action.zoom.label.in),this.arcgisHubDiscussionsGeometryZoomTo.emit(this.post)}handleDismiss(){this.emitHubTelemetry(h.dictionary.category.interaction.action.close.label.popUp.details.post),this.arcgisHubDiscussionsPreviewDismiss.emit()}renderAvatars(){var t;let{_context:e,channel:i,postCreator:n,post:a,showChannelAvatar:o,intl:l}=this,r=!n&&a?{username:a.creator}:n;return s(F,null,s("calcite-avatar",{"full-name":r?.fullName,scale:"m",thumbnail:r?.thumbnail&&lt(e.hubRequestOptions.portal,r,(t=e.hubRequestOptions.authentication)===null||t===void 0?void 0:t.token),"user-id":r?.id,username:r?.username}),o&&s("calcite-avatar",{"full-name":ft(i,l.t("unnamedChannel")),scale:"s"}))}renderContent(){let{post:t}=this;return s(F,null,s("div",{class:"avatars"},this.renderAvatars()),s("address",null,s("b",null,this.creatorFullName),s("span",null,"\xB7"),s("arcgis-relative-date",{dateTime:t.createdAt,formatStyle:"short"})),s("arcgis-multiline-ellipsis",{innerHTML:t.body,lines:2}),s("calcite-action-group",{layout:"horizontal"},s("calcite-action",{onClick:this.handleViewFullThread,scale:"s",text:this.intl.t("view"),textEnabled:!0}),!1,s("calcite-action",{onClick:this.handleDismiss,scale:"s",text:this.intl.t("dismiss"),textEnabled:!0})))}renderLoading(){return s("arcgis-hub-discussions-post-skeleton",null)}render(){return s(A,{key:"a2b6cdd27fe230cdcf980c6bc82f4f1ee8dfabb3","data-element":"discussions-map-preview"},this.loading?this.renderLoading():this.renderContent())}static get assetsDirs(){return["locales"]}get element(){return L(this)}static get watchers(){return{channelId:["initialize"],parentId:["initialize"],locationId:["initialize"],postId:["initialize"]}}};Ut([V({timeout:0})],Ot.prototype,"initialize",null);Ot.style=jt;var Nt=":host{display:block}",Vt=Nt,Mt={content:"hub:content:settings:discussions:compact"},Bt=class{constructor(t){G(this,t),this.arcgisHubDiscussionsOptionsEntitySaved=d(this,"arcgisHubDiscussionsOptionsEntitySaved",7),this.entityId=void 0,this.entityType=void 0,this.entity=void 0,k(this,"handleEntityEditorSaved")}get _context(){return N()}async componentWillLoad(){await this.initialize()}async initialize(){!this.entity&&this.entityId&&this.entityType&&(this.entity=await pt(this.entityType,this.entityId,this._context))}get editorType(){return Mt[this.entityType]||null}handleEntityEditorSaved(t){this.arcgisHubDiscussionsOptionsEntitySaved.emit(t.detail.entity)}get isValidEditorType(){return gt.includes(this.editorType)}renderEntityEditor(){if(this.isValidEditorType)return s("arcgis-hub-entity-editor",{editorType:this.editorType,entity:this.entity,onArcgisHubEntityEditorSaved:this.handleEntityEditorSaved,variant:dt.workspace})}render(){return s(A,{key:"fa955ff196da9daf90a4c80310cc654c16713241","data-element":"discussions-options"},this.renderEntityEditor())}get element(){return L(this)}};Bt.style=Vt;var zt=".sc-arcgis-hub-discussions-thread-h{--arcgis-hub-layout-list-gap:0;display:block;overflow:hidden;background-color:var(--calcite-color-foreground-1);padding-top:0.75rem;padding-bottom:0.75rem}arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-thread{margin-top:1.5rem;margin-bottom:1.5rem;padding-left:0.75rem;padding-right:0.75rem}arcgis-hub-discussions-post-list.sc-arcgis-hub-discussions-thread{margin-left:1rem;margin-right:1rem}arcgis-hub-discussions-post.loading.sc-arcgis-hub-discussions-thread:not([parent-id]){margin-left:1rem;margin-right:1rem;margin-bottom:1rem}arcgis-hub-discussions-post[parent-id].sc-arcgis-hub-discussions-thread{padding-left:1rem;padding-right:1rem}arcgis-hub-discussions-post.sc-arcgis-hub-discussions-thread:not([parent-id])+arcgis-hub-discussions-post[parent-id].sc-arcgis-hub-discussions-thread{margin-top:1.5rem;margin-bottom:1.5rem}calcite-notice.sc-arcgis-hub-discussions-thread{margin-top:1.5rem;margin-bottom:1.5rem;padding-left:1rem;padding-right:1rem}calcite-notice.sc-arcgis-hub-discussions-thread:first-child{margin-top:0px}arcgis-hub-discussions-blocked-notice.sc-arcgis-hub-discussions-thread,arcgis-hub-notice.sc-arcgis-hub-discussions-thread{margin-top:1.5rem;margin-bottom:1.5rem;margin-left:1rem;margin-right:1rem}",qt=zt,xt=function(t,e,i,n){var a=arguments.length,o=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,i):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(l=t[r])&&(o=(a<3?l(o):a>3?l(e,i,o):l(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o},H;(function(t){t.Loading="loading",t.ParentAndReply="parent_and_reply",t.ParentAndReplies="parent_and_replies",t.ThreadDeleted="thread_deleted",t.ChannelDeleted="channel_deleted"})(H||(H={}));var at=class{constructor(t){G(this,t),this.arcgisHubDiscussionsPostSelect=d(this,"arcgisHubDiscussionsPostSelect",7),this.arcgisAppIdentityStartSignIn=d(this,"arcgisAppIdentityStartSignIn",7),this.hubTelemetry=d(this,"hubTelemetry",7),this.arcgisHubDiscussionsThreadReady=d(this,"arcgisHubDiscussionsThreadReady",7),this.hasMap=void 0,this.isHub=void 0,this.unsavedFeatures=void 0,this.unsavedRelatedFeatures=void 0,this.unsavedExistingFeatures=[],this.postId=void 0,this.post=void 0,this.postCreator=void 0,this.postCreatorOrg=void 0,this.parent=void 0,this.parentId=void 0,this.parentCreator=void 0,this.parentCreatorOrg=void 0,this.channelId=void 0,this.channel=void 0,this.channelGroups=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.showLocations=void 0,this.disableSelectExistingLocation=void 0,this.locationDescriptionText=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this._context=N(),this.intl=void 0,this._loading=void 0,this.parentReady=!1,this.postReady=!1,this.postListReady=!1,this.postEditorReady=!1,this.ready=!1,this.numPostableChannels=null,k(this,"renderParentAndReply","renderParentAndReplies","renderThreadDeleted","renderChannelInaccessible","handleViewAllReplies","handleViewAllPosts","renderLoading","handleParentReady","handlePostReady","handlePostListReady","handlePostEditorReady","handleSignInClicked")}componentWillLoad(){this.initialize()}connectedCallback(){it(this)}disconnectedCallback(){this.disconnectContext()}async initialize(){this.loadTranslations(),this._context&&this.loadDependencies()}async loadTranslations(){this.intl=await j.loadIntlForComponent(this.element)}async loadDependencies(){return this._loading=!0,this.fetchDependencies().then(t=>{Object.assign(this,t),this._loading=!1})}fetchDependencies(){return this._fetchDependencies()}handleContextChanged(t,e){var i,n;((i=t?.currentUser)===null||i===void 0?void 0:i.username)!==((n=e?.currentUser)===null||n===void 0?void 0:n.username)&&this.loadDependencies()}handleParentReady(){this.parentReady=!0,this.updateReady()}handlePostReady(){this.postReady=!0,this.updateReady()}handlePostEditorReady(){this.postEditorReady=!0,this.updateReady()}handlePostListReady(){this.postListReady=!0,this.updateReady()}handleReadyChange(t){t&&this.arcgisHubDiscussionsThreadReady.emit()}updateReady(){let t=[[this.postEditorRef,this.postEditorReady],[this.parentRef,this.parentReady],[this.postRef,this.postReady],[this.postListRef,this.postListReady]];this.ready=t.filter(([e])=>!!e).every(([e,i])=>i)}async getPostEditorRef(){return this.postEditorRef}async getPostListRef(){return this.postListRef}async _fetchDependencies(){let{isHub:t,_context:e,postId:i,post:n,parent:a,parentId:o,discussion:l,entityId:r,entityType:f,discussionSettings:b,entity:v,locationId:w,parentCreator:D,channelId:C,channel:P,channelGroups:u,displayFieldKey:g,displayFieldValid:T,displayFieldValue:I}=this,[y,c]=await Promise.all([et({postId:i,post:n},e.hubRequestOptions),J({isHub:t},e.hubRequestOptions)]),m=await Ct(Object.assign({parentId:o,parent:a},y),e.hubRequestOptions),[O,p,R]=await Promise.all([Pt(Object.assign({parentCreator:D},m),e.hubRequestOptions),Q(Object.assign(Object.assign({discussion:l,entityId:r,entityType:f,entity:v,locationId:w,displayFieldKey:g,displayFieldValid:T,displayFieldValue:I,discussionSettings:b},y),m),e.hubRequestOptions),X(Object.assign(Object.assign({channelId:C,channel:P,channelGroups:u},y),m),e.hubRequestOptions)]),{total:x}=await W({allowedChannelIds:[this.channelId],requestOptions:this._context.hubRequestOptions,num:1});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},y),m),O),c),p),R),{numPostableChannels:x})}get loading(){let{intl:t,_loading:e,_context:i,channel:n}=this;return!t||!i||e||n===void 0}get areChannelsConfigured(){var t,e;return!!(!((e=(t=this.discussionSettings)===null||t===void 0?void 0:t.allowedChannelIds)===null||e===void 0)&&e.length)}get canEditEntity(){return!!this._context.currentUser&&B(this.entity.item,this._context.currentUser)}get discussionSettingsWorkspaceUrl(){return(this.isHub?"":this._context.hubHomeUrl)+q(this.entity.type,this.entityId,"settings-discussions")}handlePostOrReplyDeleted(t){let{parent:e,post:i}=this;(t.detail.id===e?.id||t.detail.id===i?.id)&&(t.detail.id===e?.id?this.parent=null:this.post=null,this.deletedDuringSession=!0)}handleViewAllReplies(){let{channelId:t,channel:e,channelGroups:i,parent:n,parentId:a,postId:o,parentCreator:l,parentCreatorOrg:r}=this;this.arcgisHubDiscussionsPostSelect.emit({channel:e,channelId:t,channelGroups:i,parentId:a,parent:n,parentCreator:l,parentCreatorOrg:r}),this.emitHubTelemetry(Object.assign(Object.assign({},h.dictionary.category.interaction.action.open.label.thread),{postId:o,parentId:a}))}handleViewAllPosts(){let{parentId:t,postId:e}=this;this.arcgisHubDiscussionsPostSelect.emit({channelId:null,channel:null,channelGroups:null,parent:null,parentId:null,parentCreator:null,parentCreatorOrg:null}),this.emitHubTelemetry(Object.assign(Object.assign({},h.dictionary.category.interaction.action.close.label.thread),{postId:e,parentId:t}))}emitHubTelemetry(t){let{channelId:e,channel:i}=this;this.hubTelemetry.emit(Object.assign({channelId:e,channelAccess:i?U(i):void 0},t))}get views(){let{renderLoading:t,renderParentAndReply:e,renderParentAndReplies:i,renderThreadDeleted:n,renderChannelInaccessible:a}=this;return{[H.Loading]:{render:t},[H.ParentAndReply]:{render:e},[H.ParentAndReplies]:{render:i},[H.ThreadDeleted]:{render:n},[H.ChannelDeleted]:{render:a}}}get view(){let{views:t,parentId:e,postId:i,parent:n,post:a,loading:o,channel:l}=this,r;return o?r=H.Loading:l===null?r=H.ChannelDeleted:e&&i&&n===null&&a===null?r=H.ThreadDeleted:i?r=H.ParentAndReply:r=H.ParentAndReplies,t[r]}handleHubTelemetry(t){let e=[{from:h.dictionary.category.interaction.action.viewed.label.post.details.postList,to:h.dictionary.category.interaction.action.viewed.label.post.details.thread},{from:h.dictionary.category.interaction.action.open.label.postList,to:null}],i=a=>Object.entries(a).every(([o,l])=>{var r;return((r=t.detail)===null||r===void 0?void 0:r[o])===l}),n=e.find(({from:a})=>i(a));n&&(n.to?Object.assign(t.detail,n.to):t.stopPropagation())}handleSignInClicked(t){t.preventDefault(),this.arcgisAppIdentityStartSignIn.emit()}captureThreadDeletedImpression(){let{postId:t,parentId:e}=this;this.emitHubTelemetry(Object.assign(Object.assign({},h.dictionary.category.interaction.action.viewed.label.post.details.thread),{postId:t,parentId:e,response:h.constants.response.FAILURE}))}get blockedNotice(){let t=bt(this.channel,this._context.currentUser),e=!z(this.entity),i;return t&&e?i=_.Reply:t?i=_.Group:e&&(i=this.entityType==="group"?_.Group:_.Item),i}renderChannelInaccessible(){return this._context.currentUser?s("calcite-notice",{icon:"exclamation-mark-triangle",kind:"warning",open:!0,scale:"m"},s("div",{slot:"title"},this.intl.t("thread.inaccessible.title")),s("div",{slot:"message"},this.intl.t("thread.inaccessible.message")),s("calcite-link",{onClick:this.handleViewAllPosts,slot:"link"},this.intl.t("thread.inaccessible.action"))):this.renderSignInNotice()}renderParent(){let{channel:t,channelGroups:e,channelId:i,discussion:n,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,showChannelAvatar:r,showChannelName:f,entity:b,entityId:v,entityType:w,hasMap:D,isHub:C,isMobile:P,locationDescriptionText:u,locationId:g,parentId:T,parent:I,unsavedExistingFeatures:y,unsavedFeatures:c,unsavedRelatedFeatures:m,parentCreator:O,parentCreatorOrg:p,handleParentReady:R,showLocations:x}=this;return s("arcgis-hub-discussions-post",{channel:t,channelGroups:e,channelId:i,discussion:n,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,entity:b,entityId:v,entityType:w,hasMap:D,isHub:C,isMobile:P,locationDescriptionText:u,locationId:g,onArcgisHubDiscussionsPostReady:R,parentCreatorOrg:p,post:I,postCreator:O,postId:T,ref:S=>{this.parentRef=S},showChannelAvatar:r,showChannelName:f,showLocations:x,unsavedExistingFeatures:y,unsavedFeatures:c,unsavedRelatedFeatures:m})}renderReplyEditor(){let{hasMap:t,unsavedFeatures:e,unsavedRelatedFeatures:i,unsavedExistingFeatures:n,isHub:a,discussion:o,parentId:l,parent:r,entity:f,entityId:b,entityType:v,discussionSettings:w,channelId:D,channel:C,channelGroups:P,isMobile:u,locationId:g,handlePostEditorReady:T,showLocations:I,disableSelectExistingLocation:y,blockedNotice:c,numPostableChannels:m}=this;if(r&&!c&&m)return s("arcgis-hub-discussions-post-editor",{channel:C,channelGroups:P,channelId:D,disableSelectExistingLocation:y,discussion:o,discussionSettings:w,entity:f,entityId:b,entityType:v,hasMap:t,isHub:a,isMobile:u,locationId:g,onArcgisHubDiscussionsPostEditorReady:T,parent:r,parentId:l,ref:O=>{this.postEditorRef=O},showLocations:I,unsavedExistingFeatures:n,unsavedFeatures:e,unsavedRelatedFeatures:i})}renderNotice(){let{blockedNotice:t,_context:e}=this,i;return t?i=s("arcgis-hub-discussions-blocked-notice",{variant:t}):e.currentUser?this.numPostableChannels||(i=this.renderParticipationUnavailableNotice()):i=this.renderSignInNotice(),i}renderParticipationUnavailableNotice(){return s("calcite-notice",{icon:"exclamation-mark-triangle",kind:"warning",open:!0,scale:"m"},s("div",{slot:"title"},this.intl.t("participationUnavailable.title")),s("div",{slot:"message"},this.intl.t(this.areChannelsConfigured?"participationUnavailable.allowed":"participationUnavailable.any")),this.areChannelsConfigured&&this.canEditEntity&&this._context.hubLicense==="hub-premium"&&s("calcite-link",{href:this.discussionSettingsWorkspaceUrl,slot:"link"},this.intl.t("participationUnavailable.action")))}renderSignInNotice(){return s("calcite-notice",{icon:"information",kind:"info",open:!0,scale:"m"},s("div",{slot:"title"},this.intl.t("signInTitle")),s("calcite-link",{onClick:this.handleSignInClicked,slot:"link"},this.intl.t("signInAction")))}renderParentAndReplies(){let{hasMap:t,unsavedFeatures:e,unsavedRelatedFeatures:i,unsavedExistingFeatures:n,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,intl:r,isHub:f,discussion:b,parentId:v,entity:w,entityId:D,entityType:C,discussionSettings:P,isMobile:u,locationDescriptionText:g,locationId:T,handlePostListReady:I,showLocations:y}=this;return s(F,null,this.renderParent(),this.renderReplyEditor(),this.renderNotice(),s("arcgis-hub-discussions-post-list",{discussion:b,discussionSettings:P,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,entity:w,entityId:D,entityType:C,hasMap:t,isHub:f,isMobile:u,locationDescriptionText:g,locationId:T,onArcgisHubDiscussionsPostListReady:I,parentIds:[v],ref:c=>{this.postListRef=c},showLocations:y,unsavedExistingFeatures:n,unsavedFeatures:e,unsavedRelatedFeatures:i},s("calcite-notice",{kind:"danger",open:!0,scale:"m",slot:"error"},s("div",{slot:"title"},r.t("error")),s("div",{slot:"message"},r.t("repliesFailure")))))}renderParentAndReply(){let{intl:t,handleViewAllReplies:e,post:i,postCreator:n,postCreatorOrg:a,unsavedFeatures:o,hasMap:l,isHub:r,unsavedRelatedFeatures:f,unsavedExistingFeatures:b,channel:v,channelGroups:w,channelId:D,isMobile:C,locationId:P,discussion:u,displayFieldKey:g,displayFieldValid:T,displayFieldValue:I,showChannelAvatar:y,showChannelName:c,entity:m,entityId:O,entityType:p,parentId:R,parent:x,parentCreator:S,parentCreatorOrg:E,postId:Et,handlePostReady:St}=this;return s(F,null,this.renderParent(),!!i&&s("calcite-notice",{open:!0,scale:"s"},s("div",{slot:"title"},t.t("reply.single.title")),s("calcite-link",{onClick:e,slot:"link"},t.t("reply.single.link"))),s("arcgis-hub-discussions-post",{channel:v,channelGroups:w,channelId:D,discussion:u,displayFieldKey:g,displayFieldValid:T,displayFieldValue:I,entity:m,entityId:O,entityType:p,hasMap:l,isHub:r,isMobile:C,locationDescriptionText:this.locationDescriptionText,locationId:P,onArcgisHubDiscussionsPostReady:St,parent:x,parentCreator:S,parentCreatorOrg:E,parentId:R,post:i,postCreator:n,postCreatorOrg:a,postId:Et,ref:Ft=>{this.postRef=Ft},showChannelAvatar:y,showChannelName:c,showLocations:this.showLocations,unsavedExistingFeatures:b,unsavedFeatures:o,unsavedRelatedFeatures:f}))}renderThreadDeleted(){let{intl:t,deletedDuringSession:e}=this;return e||this.captureThreadDeletedImpression(),s("calcite-notice",{kind:"danger",open:!0,scale:"m"},s("div",{slot:"title"},t.t("thread.deleted.title")),s("div",{slot:"message"},t.t("thread.deleted.message")),s("calcite-link",{onClick:this.handleViewAllPosts,slot:"link"},t.t("thread.deleted.action")))}renderLoading(){return null}render(){let{view:t}=this;return s(A,{key:"725a9c3f718ae5178c7ad5258befa329b55e62d6","data-element":"discussions-thread"},t.render())}static get assetsDirs(){return["locales"]}get element(){return L(this)}static get watchers(){return{_context:["handleContextChanged"],ready:["handleReadyChange"]}}};xt([Y({delay:300})],at.prototype,"fetchDependencies",null);xt([tt()],at.prototype,"captureThreadDeletedImpression",null);at.style=qt;return{arcgis_hub_discussions:M,arcgis_hub_discussions_map_action_notice:nt,arcgis_hub_discussions_map_preview:Ot,arcgis_hub_discussions_options:Bt,arcgis_hub_discussions_thread:at}},"config",a,b)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.30/esri/copyright.txt for details.
3
- v0.30.0 */
4
- import{c as n}from"./6LNISMP2.js";import"./N34P2VVE.js";import"./LVOQOHBN.js";import"./3U3Y2JZZ.js";import"./GHZQC3YR.js";import"./ELPTG5CG.js";import"./Y3SFHFMZ.js";import"./AERGE2VV.js";import"./EXX7ECNS.js";import"./3M2DCPBM.js";import"./II7LCUL2.js";import"./TTMJQRV6.js";import"./ONHBDUF2.js";import"./Z7OPGFX7.js";import"./NVANTL2P.js";import"./DJ3HTG7B.js";import"./NILAI3S2.js";import"./VEI5H4PD.js";import"./MPXBCUFZ.js";import"./IF2DYJWG.js";import"./KKT44ZG6.js";import"./WGHHLZ4Q.js";import"./A3CROC3X.js";import"./463RFQBR.js";import"./R7V5NC6U.js";import"./RDXWA2WQ.js";import"./JJ5KMGYV.js";import"./3UPRBTIP.js";import"./RIXTHWKY.js";import"./V6UZOC7N.js";import"./KQXYMD4V.js";import"./YCJWLOTK.js";import"./U33NFB2D.js";import"./W3U2AG77.js";import"./NZ2DP4SX.js";import"./GWSU27KV.js";import"./3GWBPX4O.js";import"./A6ST7DRE.js";import"./2VLGYS7X.js";import"./EIEFNRHI.js";import"./EZUFYVQQ.js";import"./VVAZM6RY.js";import"./GILH6I3L.js";import"./MLGYIA3P.js";import"./GYCKL6XC.js";import"./4N6ODHC7.js";import"./47EY6TCJ.js";import"./UPZLN4HJ.js";import"./OGLG3OJL.js";import"./MZ3WYZDE.js";import"./53PGCQNE.js";import"./PB35S3LV.js";import"./YYAFKPIW.js";import"./U2T4HCMI.js";import"./JAELFUT2.js";import"./LOYWUOC5.js";import"./FJ427YXY.js";import"./UI74X3EE.js";import"./ETWCPTWF.js";import"./RMNMBYHF.js";import"./I2XFGWAL.js";import"./NHP3RMVU.js";import"./IAGJKSFE.js";import"./PBHCJMWR.js";import{c as l,j as d}from"./4ZXWYK5P.js";import"./JVQMYCIY.js";import"./27OU6N62.js";import"./S6LLPGHI.js";import"./ISOQQMCG.js";import"./MVKT6K7E.js";import"./UTOSWBTW.js";import"./WCVZ5IVE.js";import"./BO4ELVFM.js";import"./54WB3IU4.js";import"./K6XGMBR4.js";import"./PZSRLS3L.js";import"./MJYV5IXC.js";import"./EM4HYB7A.js";import{a as m}from"./TBLUKTMV.js";import{a}from"./IBLNQKXS.js";import"./VTUF6UAI.js";import"./IX6UFPYX.js";import"./NCJJX6CX.js";import"./WNV7HOFY.js";import{b as e,d as p,e as c,i as h}from"./TYDQLBO3.js";import"./ID5TNWNP.js";import"./IBFCH3JO.js";import"./KCSAZ4DI.js";import"./VGEUTORO.js";import"./3BEZVOSX.js";var g=":host{display:block}",u=g,C=class{connectedCallback(){d(this)}disconnectedCallback(){this.disconnectContext()}constructor(t){h(this,t),this.arcgisStatCardEditorChange=c(this,"arcgisStatCardEditorChange",7),this.values={},this.themeColors=[],this.currentValues={},this._schema=void 0,this._uiSchema=void 0,this._context=l(),m(this,"handleEditorChangeEvent","translationFunc","_getEditorConfig")}get uiSchemaOptions(){return{themeColors:this.themeColors}}get facets(){return[{label:this.intl.t("dynamicStat.facets.sharing"),key:"access",field:"access",display:"multi-select",operation:"OR"}]}async componentWillLoad(){this.intl=await a.loadIntlForComponent(this.element),this.values=this.migrateValues(this.values),this.currentValues=this.values,this._getEditorConfig()}async _getEditorConfig(){let t=await n("","hub:card:stat",this.uiSchemaOptions,this._context);this._schema=t.schema,this._uiSchema=t.uiSchema}migrateValues(t){return typeof t.shareableOnHover=="string"&&(t.shareableOnHover=t.shareableOnHover==="hover"),t.allowUnitFormatting===void 0&&(t.allowUnitFormatting=!!t.unit),t.allowLink===void 0&&(t.allowLink=!!t.sourceLink||!!t.sourceTitle),t.valueColor===null&&(t.valueColor=void 0),t}async handleEditorChangeEvent(t){var i;t.stopPropagation();let{valid:r,values:o}=t.detail;this.currentValues=Object.assign(Object.assign({},this.currentValues),o);let{legacyWhere:s}=this.currentValues;!((i=o.expressionSet)===null||i===void 0)&&i.length&&(s=""),this.arcgisStatCardEditorChange.emit({valid:r,values:Object.assign(Object.assign({},o),{cardId:this.currentValues.cardId,schemaVersion:this.currentValues.schemaVersion,legacyWhere:s})})}updateSchemas(){this._getEditorConfig()}translationFunc(t,i,r){return this.intl.t(t,i,r)}render(){return this._schema?e("arcgis-configuration-editor",{onArcgisConfigurationEditorChange:this.handleEditorChangeEvent,schema:this._schema,t:this.translationFunc,uiSchema:this._uiSchema,values:this.values}):e("arcgis-skeleton-loader",{active:!0})}static get assetsDirs(){return["locales"]}get element(){return p(this)}static get watchers(){return{_context:["updateSchemas"]}}};C.style=u;export{C as arcgis_stat_card_editor};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.30/esri/copyright.txt for details.
3
- v0.30.0 */
4
- import{a as p}from"./FJTTPRZL.js";import{n as s}from"./VYVAAKRB.js";import"./7BYXNDIO.js";import"./7PFTE2OO.js";import"./AS4UI4JH.js";import"./NHNWP7ER.js";import"./KXMHU5QU.js";import"./JF6S5CRM.js";import"./P6USDC2Z.js";import"./ONHBDUF2.js";import"./O3PV5B7X.js";import"./Z7OPGFX7.js";import"./NVANTL2P.js";import"./WIOYIHQ5.js";import"./DJ3HTG7B.js";import"./MD66JU4M.js";import"./SYBVAMG7.js";import"./NILAI3S2.js";import"./VEI5H4PD.js";import"./MPXBCUFZ.js";import"./IF2DYJWG.js";import"./KKT44ZG6.js";import"./WGHHLZ4Q.js";import"./A3CROC3X.js";import"./463RFQBR.js";import"./R7V5NC6U.js";import"./RDXWA2WQ.js";import"./JJ5KMGYV.js";import"./3UPRBTIP.js";import"./RIXTHWKY.js";import"./V6UZOC7N.js";import"./KQXYMD4V.js";import"./YCJWLOTK.js";import{b as n}from"./U33NFB2D.js";import"./W3U2AG77.js";import"./NZ2DP4SX.js";import"./GWSU27KV.js";import"./3GWBPX4O.js";import"./A6ST7DRE.js";import"./2VLGYS7X.js";import"./EIEFNRHI.js";import"./EZUFYVQQ.js";import"./VVAZM6RY.js";import"./GILH6I3L.js";import"./GYCKL6XC.js";import"./4N6ODHC7.js";import"./47EY6TCJ.js";import"./UPZLN4HJ.js";import"./OGLG3OJL.js";import"./MZ3WYZDE.js";import"./53PGCQNE.js";import"./PB35S3LV.js";import"./YYAFKPIW.js";import"./U2T4HCMI.js";import"./JAELFUT2.js";import"./LOYWUOC5.js";import"./FJ427YXY.js";import"./UI74X3EE.js";import"./ETWCPTWF.js";import"./RMNMBYHF.js";import"./I2XFGWAL.js";import"./NHP3RMVU.js";import"./IAGJKSFE.js";import"./PBHCJMWR.js";import{c,j as d}from"./4ZXWYK5P.js";import"./JVQMYCIY.js";import"./ISOQQMCG.js";import"./MVKT6K7E.js";import"./UTOSWBTW.js";import"./WCVZ5IVE.js";import"./BO4ELVFM.js";import"./54WB3IU4.js";import"./K6XGMBR4.js";import"./PZSRLS3L.js";import"./MJYV5IXC.js";import"./EM4HYB7A.js";import"./NCJJX6CX.js";import"./WNV7HOFY.js";import{b as r,c as a,e as h,i as m}from"./TYDQLBO3.js";import"./ID5TNWNP.js";import{s as o}from"./IBFCH3JO.js";import"./KCSAZ4DI.js";import"./VGEUTORO.js";import"./3BEZVOSX.js";var u=":host{display:flex;flex-direction:column;gap:1rem}.fetch-inputs{display:flex;gap:0.5rem}calcite-combobox{width:13rem}calcite-input{flex-grow:1}",y=u,g=class{constructor(i){m(this,i),this.harnessFetchEntity=h(this,"harnessFetchEntity",7),this.handleIdentifierChange=t=>{let e=t.target.value;this.setIdentifier(e)},this.handleTypeChange=t=>{let e=t.target.value;this.appendParams(Object.assign({type:e},this.defaults&&this.defaults[e]&&{identifier:this.defaults[e]})),this._type=e,this.defaults&&this.defaults[e]&&(this._identifier=this.defaults[e])},this.handleSlotChange=t=>{this._slottedElements=p(t)},this.appendParams=t=>{let e=new URL(window.location.href);Object.entries(t).forEach(([l,f])=>{e.searchParams.set(l,f)}),window.location.search=e.search},this.entityProp=void 0,this.identifier=void 0,this.type=void 0,this.defaults=void 0,this.showIdentifierInput=void 0,this.showTypeInput=void 0,this._context=c(),this._identifier=void 0,this._type=void 0,this._slottedElements=[]}connectedCallback(){d(this)}disconnectedCallback(){this.disconnectContext()}async fetchEntity(){try{let i=await s(this._type,this._identifier,this._context);this.harnessFetchEntity.emit(i),this._slottedElements.forEach(t=>{t[this.entityProp]=i})}catch{console.error(`harness-fetch: error fetching entity ${this._identifier}`)}}async componentWillLoad(){let i=new URL(window.location.href).searchParams;this._identifier=i.get("identifier")||this.identifier,this._type=i.get("type")||this.type,await this.fetchEntity()}async setIdentifier(i){this.appendParams({identifier:i}),this._identifier=i}renderTypeInput(){let i=["channel","org","organization"];return r("calcite-combobox",{clearDisabled:!0,onCalciteComboboxChange:this.handleTypeChange,overlayPositioning:"fixed",placeholder:"Select an entity type...",selectionMode:"single"},n.filter(t=>!i.includes(t)).map(t=>r("calcite-combobox-item",{heading:o(t),key:t,label:o(t),selected:t===this._type,textLabel:o(t),value:t})))}renderIdentifierInput(){return r("calcite-input",{onCalciteInputChange:this.handleIdentifierChange,placeholer:"Enter an entity identifier (id or slug)...",value:this._identifier},r("calcite-button",{slot:"action"},"GO"))}render(){return r(a,{key:"3d760d39b703f34b2958332b42471ac61cb4ebd9"},(this.showTypeInput||this.showIdentifierInput)&&r("div",{class:"fetch-inputs"},this.showTypeInput&&this.renderTypeInput(),this.showIdentifierInput&&this.renderIdentifierInput()),r("slot",{key:"a7a328ab461a05cd83249a8ecf46fad15494fab5",onSlotchange:this.handleSlotChange}))}static get watchers(){return{_context:["fetchEntity"],_identifier:["fetchEntity"],_type:["fetchEntity"],_slottedElements:["fetchEntity"]}}};g.style=y;export{g as harness_fetch};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.30/esri/copyright.txt for details.
3
- v0.30.0 */
4
- import{a as G}from"./2CJO4RMM.js";import{a as L,b as z,c as k,d as M,e as te,f as se}from"./4FTJQXV3.js";import{a as R,b as S,c as X,d as Z}from"./MH3KKY35.js";import{a as ee,b as y}from"./LPLXOS5J.js";import{a as V}from"./CKM6JSMI.js";import{a as oe}from"./FJTTPRZL.js";import"./WASTFANP.js";import{a as B}from"./XO4ON6VT.js";import{a as W}from"./OYKT7ID5.js";import{b as ie}from"./COONI4XA.js";import{a as _}from"./SSSF26H2.js";import{c as re}from"./4ZXWYK5P.js";import"./JVQMYCIY.js";import{a as f}from"./ML66HB7U.js";import{a as C}from"./27OU6N62.js";import{a as E}from"./S6LLPGHI.js";import"./ISOQQMCG.js";import{a as N}from"./MVKT6K7E.js";import{a as T}from"./UTOSWBTW.js";import"./WCVZ5IVE.js";import{a as Y}from"./BO4ELVFM.js";import"./54WB3IU4.js";import"./K6XGMBR4.js";import"./PZSRLS3L.js";import"./MJYV5IXC.js";import"./EM4HYB7A.js";import{a as D}from"./TBLUKTMV.js";import{a as I}from"./IBLNQKXS.js";import{a as j}from"./VTUF6UAI.js";import"./IX6UFPYX.js";import"./NCJJX6CX.js";import"./WNV7HOFY.js";import{b as a,c as x,d as H,e as P,h as A,i as q}from"./TYDQLBO3.js";import"./ID5TNWNP.js";import{a as v,g as F,s as O}from"./IBFCH3JO.js";import{a as $}from"./KCSAZ4DI.js";import"./VGEUTORO.js";import"./3BEZVOSX.js";var he=(e,i,t)=>ee(e,i,"title","titleKey",t);function ue(e){return ie(e,i=>!V(i))}function ne(e){return e?e.reduce((i,t)=>{let s;if(t.keyword==="required"&&t.params){let o=t.params;s=o?.missingProperty,t.instancePath&&t.instancePath.length&&(s=`${t.instancePath.slice(1).split("/").join(".")}.${s}`)}return s&&i.push(s),i},[]):[]}async function pe(e,i,t){let s=K(e),o=e.$async?k:z,{valid:r,errors:n}=await o(i,s)||{valid:!1,errors:[]},l=ne({valid:r,errors:n}.errors),h=t.get("allConditionallyRequiredProperties");return l.filter(u=>!h.has(u))}async function ge(e,i,t,s,o,r,n){let c=n||"allConditionallyRequiredProperties",l=n?r:new Set;!n&&s.forEach(p=>l.add(p));let h=o.get(c)||new Set,d=K(e),u=v(i),g=j(d,u);for(let p of h){let m=v(g);N(m,p);let w=await(e.$async?k:z)(t,m);ne(w.errors).includes(p)?l.add(p):n&&l.delete(p)}return l}function fe(e){let i=(o,r)=>{s.has(o)||s.set(o,new Set),r.forEach(n=>s.get(o).add(n))},t=e.allOf,s=new Map;return s.set("allConditionallyRequiredProperties",new Set),t&&t.forEach(o=>{let r=o;if(o.$ref){let g=o.$ref.slice(1);r=R.get(e,g)}let n=r.if,c=r.then,l=r.else,h,d,u;n&&(h=J(n,!0)),c&&(d=J(c)),l&&(u=J(l)),c&&d&&h&&(h.map(g=>{i(g,d)}),i("allConditionallyRequiredProperties",d)),l&&u&&h&&(h.map(g=>{i(g,u)}),i("allConditionallyRequiredProperties",u))}),s}function K(e,i={}){let t=e.properties;return t?Object.entries(t).reduce((s,[o,r])=>{if(r.type=="object"&&Object.keys(r).includes("properties")){let n=K(r,i);n&&(s[o]=n)}return s},{}):i}function J(e,i=!1){let t=[];return ae(e,t,"",i),[...new Set(t)]}function ae(e,i,t,s=!1){let o=e.properties,r=e.required;r&&i.push(...r.map(n=>`${t}${n}`)),o&&Object.entries(o).forEach(([n,c])=>{if(c.properties||c.required){let l=`${t}${n}.`;ae(c,i,l,s)}else s&&i.push(`${t}${n}`)})}function le(e,i){Object.keys(i).includes(e)?i[e]=void 0:N(i,e)}function me(e,i,t,s){t.forEach(o=>{let r=X(o);!e.includes(o)&&i.includes(o)&&le(r,s)})}function Q(e,i,t){let s=y(e,i,"options.requiredHelperText")||t.t("defaultRequiredHelperText");return a("span",{class:"required-field-text",innerHTML:s})}function ce(e,i){var t,s,o;let r=e?.required,n=(t=i?.options)===null||t===void 0?void 0:t.sectionScopes;return!!n?.some(l=>r?.has(l))&&!!(!((s=i.options)===null||s===void 0)&&s.requiredHelperText)||typeof((o=i?.options)===null||o===void 0?void 0:o.requiredHelperText)=="object"}var be=".sc-arcgis-configuration-editor-h{display:block}.sc-arcgis-configuration-editor-h:focus-visible{outline:none}arcgis-configuration-editor-field.sc-arcgis-configuration-editor{display:block}arcgis-configuration-editor-field.sc-arcgis-configuration-editor:not(:last-child){margin-bottom:0.25rem}arcgis-hub-notice.sc-arcgis-configuration-editor{margin-bottom:2rem}calcite-stepper-item.sc-arcgis-configuration-editor .required-field-text.sc-arcgis-configuration-editor{margin-bottom:1.5rem}calcite-accordion-item.sc-arcgis-configuration-editor .required-field-text.sc-arcgis-configuration-editor{margin-bottom:1.5rem}calcite-accordion-item[disabled].sc-arcgis-configuration-editor{opacity:var(--calcite-opacity-disabled);pointer-events:none}",ve=be,ye=class{handleUiSchemaChange(e){this._uiSchema=this.initUiSchema(e)}async handleSchemaChange(e){this._schema=v(e),this._validator=L(this._schema),this._values=this.initValues(this._values),this.setConditionallyRequiredProperties(),await this.setAlwaysRequiredProperties(),await this.setCurrentlyRequiredProperties()}handleValuesChange(e){this._values=this.initValues(e)}handleArcgisConfigurationEditorFieldChange(e){e.stopPropagation(),this.setFieldValue(e.detail.property,e.detail.value),this.applyUiSchemaResetRule(this._uiSchema,e.detail.property,e.detail.value),this.emitChangeEvent()}setFieldValue(e,i){this.currentlyRequiredProperties.has(e)&&V(i)?le(e,this._values):T(e,i,this._values,!0),this.conditionallyRequiredProperties.has(e)&&this.setCurrentlyRequiredProperties(e)}applyUiSchemaResetRule(e,i,t){e?.elements.forEach(s=>{if(s.type===f.control){let o=v(this._model);if(T(i,t,o.values,!0),M(s.rule||s.rules,o).includes(E.RESET)){let n=S(s.scope),c=R.get(this._schema,s.scope),l=[c.default,c.const,B[c.type]].find(h=>!_(h));this.setFieldValue(n,l)}}else s.type===f.section&&this.applyUiSchemaResetRule(s,i,t)})}handleCompositeEditorEvents(e){e.stopPropagation()}async setFocus(){this.element.focus()}async validate(){return this._validate(this._values)}constructor(e){q(this,e),this.arcgisConfigurationEditorChange=P(this,"arcgisConfigurationEditorChange",7),this.arcgisConfigurationEditorInitialized=P(this,"arcgisConfigurationEditorInitialized",7),this.arcgisConfigurationEditorLoaded=P(this,"arcgisConfigurationEditorLoaded",7),this.arcgisConfigurationEditorSectionAction=P(this,"arcgisConfigurationEditorSectionAction",7),this._values={},this.alwaysRequiredProperties=[],this.conditionallyRequiredProperties=new Map,this._uiSchemaWhiteList=[],this.schema=void 0,this.uiSchema=void 0,this.values={},this.disabled=!1,this.t=void 0,this.variant=void 0,this.scale=void 0,this.isMobile=!1,this._model={},this.currentlyRequiredProperties=new Set,D(this,"renderUiSchemaElement","_validate")}async componentWillLoad(){if(!this.schema)throw new Error("arcgis-configuration-editor: schema attribute is required");let e=this.parseJson(this.schema);this._schema=v(e),this._uiSchema=this.initUiSchema(this.uiSchema),this._values=this.initValues(this.values),this._validator=L(this._schema),this.setConditionallyRequiredProperties(),await this.setAlwaysRequiredProperties(),await this.setCurrentlyRequiredProperties(),this.emitChangeEvent(!0),this._intl=await I.loadIntlForComponent(this.element)}componentDidLoad(){this.arcgisConfigurationEditorLoaded.emit()}get invalidProperties(){let{errors:e=[]}=this._validationResult||{};return e.map(i=>this.getErrorPropertyPath(i))}initUiSchema(e){let i=e?v(e):this.generateUiSchemaFromSchema(this._schema);return this._addIdsToUiSchema(i,!0),i}_addIdsToUiSchema(e,i=!1,t){e.elements.forEach(s=>{var o,r,n;if(s.scope){let c=S(s?.scope);s.id=F(`${c}::`),t&&t.push(c)}if(s.type===f.section){i&&!(!((o=s.options)===null||o===void 0)&&o.requiredHelperText)&&(s.options=Object.assign(Object.assign({},s.options),{requiredHelperText:!0}));let c=i?[]:t,l=((r=s.options)===null||r===void 0?void 0:r.section)===W.stepper||((n=s.options)===null||n===void 0?void 0:n.section)===W.accordion;this._addIdsToUiSchema(s,l,c),s.options=Object.assign(Object.assign({},s.options),{sectionScopes:c})}})}initValues(e){let i=v(this.parseJson(e));i=ue(i);let t=this.getDefaultValues(this._schema,this._uiSchema);return i=j(t,i),i}async setAlwaysRequiredProperties(){this.alwaysRequiredProperties=await pe(this._schema,this._validator,this.conditionallyRequiredProperties)}setConditionallyRequiredProperties(){this.conditionallyRequiredProperties=fe(this._schema)}async setCurrentlyRequiredProperties(e){this.currentlyRequiredProperties=await ge(this._schema,this._values,this._validator,this.alwaysRequiredProperties,this.conditionallyRequiredProperties,this.currentlyRequiredProperties,e)}parseJson(e){return typeof e=="string"?JSON.parse(e):e}generateUiSchemaFromSchema(e){return{type:f.layout,elements:this.generateUiSchemaElementsFromSchema(e)}}generateUiSchemaElementsFromSchema(e,i=""){return e.properties?Object.entries(e.properties).reduce((t,[s,o])=>{let r=`${i}/properties/${s}`;return o.type==="object"?t=[...t,...this.generateUiSchemaElementsFromSchema(o,r)]:t.push({label:o.title||s,scope:r,type:f.control}),t},[]):[]}async _validate(e){let{valid:i,errors:t}=await k(this._validator,e);return this._validationResult={valid:i,errors:t},this._validationResult}getDefaultValues(e,i,t={}){return i?.elements.reduce((s,o)=>{if(o.type===f.control){let r=S(o.scope),n=R.get(e,o.scope);!_(n.default)&&_($(this._values,r))&&T(r,n.default,s,!0)}else o.type===f.section&&this.getDefaultValues(e,o,s);return s},t)||{}}getUiSchemaWhiteList(e,i){return e.elements.reduce((t,s)=>{let o=M(s.rule||s.rules,i);if(s.type===f.control)t=this.maybeAddToWhiteList(s,o,t);else if(s.type===f.section){s.type===f.section&&s.scope&&(t=this.maybeAddToWhiteList(s,o,t));let r=this.getUiSchemaWhiteList(s,i);t={whiteListIds:[...t.whiteListIds,...r.whiteListIds],clearOnHidden:[...t.clearOnHidden,...r.clearOnHidden]}}return t},{whiteListIds:[],clearOnHidden:[]})}maybeAddToWhiteList(e,i,t){var s;let o=!i.includes(E.HIDE);return e.id&&o&&!t.whiteListIds.includes(e.id)&&t.whiteListIds.push(e.id),!((s=e.options)===null||s===void 0)&&s.clearOnHidden&&t.clearOnHidden.push(e.id),t}async emitChangeEvent(e=!1){if(this.disabled){await this._validate(this._values);return}let i=v(this._model);i.values=this._values;let{whiteListIds:t=[],clearOnHidden:s=[]}=this.getUiSchemaWhiteList(this._uiSchema,i);me(t,this._uiSchemaWhiteList,s,this._values);let{valid:o}=await this._validate(this._values);this._uiSchemaWhiteList=t;let r=this._uiSchemaWhiteList.map(l=>Z(l)),n=Object.entries(this._values).reduce((l,[h,d])=>(r.includes(h)&&(l[h]=d),l),{});this._model={valid:o,values:n,schema:this._schema,required:this.currentlyRequiredProperties},(e?this.arcgisConfigurationEditorInitialized:this.arcgisConfigurationEditorChange).emit(this._model)}getErrorPropertyPath(e){let{instancePath:i,keyword:t}=e,s=i?.slice(1).split("/").join(".");return t==="required"&&(s=s?.length?`${s}.${e.params.missingProperty}`:e.params.missingProperty),s}getControlErrorMessages(e,i,t){return i.reduce((s,o)=>{if(this.getErrorPropertyPath(o)===e){let{keyword:n}=o,c=t.find(l=>l.keyword===n)||{type:C.error,keyword:n,label:o.message};s=[...s,c]}return s},[])}getControlMessages(e){var i,t;let s=[],o=(i=e.options)===null||i===void 0?void 0:i.disableMessages,r=S(e.scope),n=((t=e.options)===null||t===void 0?void 0:t.messages)||[],{error:c,success:l,custom:h}=n.reduce((p,m)=>{let b=m.type.toLowerCase();return p[b]=[...p[b],m],p},{success:[],error:[],custom:[]}),d=this.invalidProperties.includes(r)&&!o,u=l.length&&!o,g=h.length&&!o;if(d){let{errors:p=[]}=this._validationResult;s=[...this.getControlErrorMessages(r,p,c)]}else u&&(s=[...l]);if(g){let p=h.reduce((m,b)=>(m=b.alwaysShow||(b.condition?se(b.condition,this._model):te(b.conditions,this._model))?[...m,b]:m,m),[]);s=[...s,...p]}return s}renderUiSchemaElement(e){let i=M(e.rule||e.rules,this._model);if(!i.includes(E.HIDE)){if(e.type===f.section)return this.renderUiSchemaSection(e,i);if(e.type===f.control)return this.renderUiSchemaControl(e,i);if(e.type===f.slot)return a("slot",{key:e.options.name,name:e.options.name});if(e.type===f.notice){let{notice:t,noticeId:s}=e.options||{};return a("arcgis-hub-notice",{notice:t,noticeId:s})}else if(e.type===f.text)return a("p",null,y(e,this.t))}}renderUiSchemaControl(e,i=[]){if(e)try{let t=R.get(this._schema,e.scope);t.if&&(t=L(t.if)(this._values)?Object.assign(Object.assign({},t),t.then):Object.assign(Object.assign({},t),t.else)),t.title=y(e,this.t);let s=S(e.scope);return a("arcgis-configuration-editor-field",{disabled:this.disabled||i.includes(E.DISABLE),invalid:this.invalidProperties.includes(s),isMobile:this.isMobile,key:s,messages:this.getControlMessages(e),model:this._model,property:s,required:this.currentlyRequiredProperties.has(s),scale:this.scale,schema:t,t:this.t,uiSchema:e,value:$(this._values,s)})}catch(t){console.error(t)}}renderUiSchemaSection(e,i=[]){var t,s,o,r,n,c;let l=i.includes(E.DISABLE),{variant:h}=((t=this.uiSchema)===null||t===void 0?void 0:t.options)||{},d=y(e,this.t),u=y(e,this.t,"options.helperText"),g=ce(this._model,e);return((s=e.options)===null||s===void 0?void 0:s.section)==="step"?a("calcite-stepper-item",{"data-label":d,description:u,disabled:l,heading:d,key:d},a("div",{class:"section__content"},g&&Q(e,this.t,this._intl),a("div",{class:"section__fields"},e.elements.map(p=>this.renderUiSchemaElement(p))))):((o=e.options)===null||o===void 0?void 0:o.section)==="accordionItem"?a("calcite-accordion-item",{class:{[h]:!!h},"data-label":d,description:u,disabled:l,expanded:!l&&((r=e.options)===null||r===void 0?void 0:r.expanded),heading:d,iconEnd:(n=e.options)===null||n===void 0?void 0:n.iconEnd,iconFlipRtl:"both",iconStart:(c=e.options)===null||c===void 0?void 0:c.iconStart,key:F("accordionItem")},a("div",{class:"section__content"},g&&Q(e,this.t,this._intl),a("div",{class:"section__fields"},e.elements.map(p=>this.renderUiSchemaElement(p))))):a("arcgis-configuration-editor-section",{disabled:l,label:d,model:this._model,scale:this.scale,t:this.t,uiSchema:v(e),variant:this.variant},e.elements.map(p=>this.renderUiSchemaElement(p)))}render(){return a(x,{key:"9ff6284f577a350c03b74b8985f5393e028d21ee","data-element":"configuration-editor",role:"group",tabIndex:-1},this._uiSchema.elements.map(this.renderUiSchemaElement))}static get assetsDirs(){return["locales"]}get element(){return H(this)}static get watchers(){return{uiSchema:["handleUiSchemaChange"],schema:["handleSchemaChange"],values:["handleValuesChange"]}}};ye.style=ve;var Ce='.disabled-text{min-height:44px;display:flex;align-items:center}calcite-label span{display:flex;align-items:center;gap:0.5rem}calcite-label calcite-input-message{margin-top:0px}calcite-label[layout="inline-space-between"] .helper-text{margin-top:0.5rem}.field-container calcite-input-message,.message-container calcite-input-message,.helper-text{font-weight:var(--calcite-font-weight-normal)}[scale="s"] calcite-input-message{font-size:var(--calcite-font-size--3);line-height:0.75rem}[scale="l"] calcite-input-message{font-size:var(--calcite-font-size--1);line-height:1rem}.message-notice-container{max-width:20rem}.field-container{margin-bottom:0.5rem;display:flex;flex-direction:column;gap:.625rem;}.field-container-without-label{margin-bottom:1.25rem}.field-container-inline{align-self:flex-start}.field-message{display:flex;flex-direction:row;align-items:center;justify-content:flex-start}.field-message calcite-icon.error{--calcite-ui-icon-color:var(--calcite-color-status-danger);margin:0.25rem}.field-message calcite-icon.success{--calcite-ui-icon-color:var(--calcite-color-status-success);margin:0.25rem}.field-message calcite-icon.custom{margin:0.25rem}',_e=Ce,Se=class{constructor(e){q(this,e),this.arcgisConfigurationEditorFieldChange=P(this,"arcgisConfigurationEditorFieldChange",7),this.compositeFields={"arcgis-hub-timeline-editor":{inputChange:"arcgisHubTimelineEditorChange"},"hub-composite-input-icon":{inputChange:"arcgisCompositeIconFieldChange"},"hub-composite-input-service-query-metric":{inputChange:"arcgisCompositeServiceQueryMetricFieldChange"},"hub-composite-input-expression-set":{inputChange:"arcgisCompositeExpressionSetFieldChange"},"hub-composite-input-action-links":{values:"links",inputChange:"arcgisCompositeActionLinksFieldChange"},"arcgis-hub-access-level-controls":{values:"accessLevel",inputChange:"arcgisHubItemAccessLevelChange"},"arcgis-hub-license-picker":{inputChange:"arcgisHubLicensePickerChange",values:"licenseInfo"},"arcgis-privacy-config":{inputChange:"hubPrivacyPreferencesConfigChanged",values:"config"},"hub-composite-input-map-settings":{values:"settings",inputChange:"arcgisCompositeMapSettingsFieldChange"},"hub-composite-input-embed":{inputChange:"arcgisCompositeEmbedFieldChange",values:"embed"},"hub-composite-input-embeds":{inputChange:"arcgisCompositeEmbedsFieldChange",values:"embeds"},"arcgis-hub-embed-card-editor":{inputChange:"arcgisHubEmbedCardEditorChange"},"hub-composite-input-site-url":{inputChange:"arcgisCompositeSiteUrlFieldChange",values:"urlInfo"},"arcgis-hub-catalog-builder":{values:"catalog",inputChange:"arcgisHubCatalogBuilderChange"},"arcgis-hub-collections-builder":{inputChange:"arcgisHubCollectionsBuilderChange"},"arcgis-hub-query-builder":{values:"query",inputChange:"arcgisHubQueryBuilderChange"},"arcgis-hub-filters-builder":{values:"filters",inputChange:"arcgisHubFiltersBuilderChange"},"arcgis-hub-predicates-builder":{values:"predicates",inputChange:"arcgisHubPredicatesBuilderChange"},"arcgis-hub-catalog-appearance-builder":{values:"catalogDisplayConfig",inputChange:"arcgisHubCatalogAppearanceBuilderChange"},"arcgis-hub-collections-appearance-builder":{values:"displayConfig",inputChange:"arcgisHubCollectionsAppearanceBuilderChange"},"arcgis-hub-gallery-appearance-builder":{values:"displayConfig",inputChange:"arcgisHubGalleryAppearanceBuilderChange"},"arcgis-hub-gallery-card-editor":{values:"values",inputChange:"arcgisHubGalleryCardEditorChange"}},this.property=void 0,this.schema=void 0,this.uiSchema=void 0,this.model=void 0,this.value=void 0,this.invalid=!1,this.messages=[],this.disabled=!1,this.required=!1,this.t=void 0,this.scale=void 0,this.isMobile=!1,this.shouldShowMessages=!1,D(this,"handleFieldInputChange")}async componentWillLoad(){this.shouldShowMessages=!!this.value,this.intl=await I.loadIntlForComponent(this.element)}get _context(){return re()}get fieldLabel(){let e=y(this.uiSchema,this.t);if(e)return this.required?`${e}*`:e}get hasHelperText(){var e,i;return(i=(e=this.uiSchema)===null||e===void 0?void 0:e.options)===null||i===void 0?void 0:i.helperText}get hasTooltip(){var e,i;return(i=(e=this.uiSchema)===null||e===void 0?void 0:e.options)===null||i===void 0?void 0:i.tooltip}get isDisabled(){return this.disabled||!_(this.schema.const)}get status(){let e=this.invalid?"invalid":"idle";return e=this.shouldShowMessages?e:"idle",e}get id(){return this.uiSchema.id}get _value(){return[this.value,this.schema.default,this.schema.const,B[this.schema.type]].find(e=>{var i;return(typeof this.schema.type=="string"?this.schema.type==="number":(i=this.schema.type)===null||i===void 0?void 0:i.includes("number"))?!isNaN(e):!_(e)})}get fieldTelemetryLabel(){let e=this.property.split(".").pop();return Y(e).split("-").map(O).join(" ")}get fieldParams(){let{property:e,required:i,t,uiSchema:s,schema:o,status:r,disabled:n,_value:c,fieldLabel:l,fieldTelemetryLabel:h,model:d}=this,u=l;if(!u){let g=this.element.closest(".configuration-editor-section");u=g?.getAttribute("data-label")||""}return{value:c,property:e,required:i,t,uiSchema:s,schema:o,status:r,disabled:n,model:d,label:u,telemetryLabel:h}}isCompositeField(e){return!!this.compositeFields[e]}handleFieldInputChange(e){var i;e.stopPropagation();let t=e.detail;!Array.isArray(e.detail)&&(!((i=e.detail)===null||i===void 0)&&i.values)&&(t=e.detail.values),this.arcgisConfigurationEditorFieldChange.emit({property:this.property,value:t}),this.shouldShowMessages=!0}getDefaultControl(e){return{string:"hub-field-input-input",boolean:"hub-field-input-switch",array:"hub-field-input-multiselect"}[e]}getMessageIcon(e,i,t){let s,o=_(e)?!0:e;return i===C.error&&o?s=t?"x-octagon":"exclamation-mark-circle":i===C.success&&o?s="check-circle":i===C.custom&&(s=e),s}getMessageStatus(e){switch(e){case C.error:return"invalid";case C.success:return"valid";case C.custom:return"idle"}}renderMessages(e){return e.reduce((i,t,s)=>{let{type:o,display:r,icon:n,kind:c,hidden:l,allowShowBeforeInteract:h}=t;if(h||this.shouldShowMessages){let d=y(t,this.t),u=he(t,this.t),g=this.getMessageIcon(n,o,d),p=this.getMessageStatus(o);o===C.error&&(d=this.intl.t("errorMessage",{translatedErrorMessage:d})),!l&&i.push(r==="notice"?a("div",{class:"message-notice-container"},a("calcite-notice",{icon:n,id:`${this.id}-message-${s}`,key:`${t.keyword}_${t.type}`,kind:c,open:!0,scale:this.scale},u&&a("div",{slot:"title"},u),a("div",{slot:"message"},d),t.link&&this.renderNoticeLink(t))):a("calcite-input-message",{icon:g,id:`${this.id}-message-${s}`,key:`${t.keyword}_${t.type}`,scale:this.scale,status:p},d))}return i},[])}renderNoticeLink(e){let i=null,t=e.link;switch(t.kind){case"external":i=a("calcite-link",{href:t.href,iconEnd:"launch",slot:"link",target:t.target},t.label);break}return i}renderControl(e){var i,t,s;let{control:o,composite:r,changeEvent:n,styles:c}=((i=e.uiSchema)===null||i===void 0?void 0:i.options)||{},{hasHelperText:l,messages:h}=this,d=o||this.getDefaultControl(e.schema.type);if(d==="calcite-link")return null;let u=[];l&&u.push(`${this.id}-helper-text`),h?.length&&u.push(...h.reduce((w,U,de)=>(!U.hidden&&(U.allowShowBeforeInteract||this.shouldShowMessages)&&w.push(`${this.id}-message-${de}`),w),[]));let g=this.isCompositeField(o)||r,p=((t=this.compositeFields[o])===null||t===void 0?void 0:t.values)||"values",m=((s=this.compositeFields[o])===null||s===void 0?void 0:s.inputChange)||n,b=g?Object.assign(Object.assign({context:this._context,[p]:e.value},e.uiSchema.options),{"aria-describedby":u.join(" "),isMobile:this.isMobile,params:Object.assign({scale:this.scale,describedBy:u.join(" ")},e),[`on${O(m)}`]:this.handleFieldInputChange}):{context:this._context,"aria-describedby":u.join(" "),isMobile:this.isMobile,params:Object.assign({scale:this.scale,describedBy:u.join(" ")},e),styles:c,onArcgisConfigurationEditorFieldInputChange:this.handleFieldInputChange};return d&&a(d,Object.assign({},b))}renderTooltip(e,i){let t=`arcgis-configuration-editor-field-tooltip-${Date.now()}`,s=y(e,i,"options.tooltip");return a(A,null,a("arcgis-ref-tooltip",{text:s},a("calcite-icon",{icon:"information-f",id:t,scale:"s",tabindex:0,textLabel:s})))}renderBlockField(){let{fieldLabel:e,hasTooltip:i,hasHelperText:t,messages:s,fieldParams:o}=this,r=s?.length!==0?"alert":"",n=c=>a(A,null,a("div",{"aria-describedby":`${this.id}-helper-text ${this.id}-messages-container`,class:{"field-container":!0,"field-container-without-label":!c},id:this.id},t&&G(o.uiSchema,o.t,`${this.id}-helper-text`),this.renderControl(o)),!!s?.length&&a("div",{"aria-live":"polite",class:"message-container",id:`${this.id}-messages-container`,role:r},this.renderMessages(s)));return e?a("calcite-label",{for:this.id,scale:this.scale},a("span",null,e,i&&this.renderTooltip(this.uiSchema,this.t)),n(!0)):n()}renderInlineField(){var e;let{fieldLabel:i,hasTooltip:t,fieldParams:s}=this;return a(A,null,a("calcite-label",{for:this.id,layout:"inline-space-between",scale:this.scale},a("div",null,a("span",null,i,t&&this.renderTooltip(s.uiSchema,s.t)),this.hasHelperText&&G(s?.uiSchema,s.t,`${this.id}-helper-text`),!!(!((e=this.messages)===null||e===void 0)&&e.length)&&a("div",{class:"message-container",id:`${this.id}-messages-container`},this.renderMessages(this.messages))),a("div",{"aria-describedby":`${this.id}-helper-text ${this.id}-messages-container`,class:"field-container field-container-inline",id:this.id},this.renderControl(s))))}render(){var e,i,t;let s=((t=(i=(e=this.fieldParams)===null||e===void 0?void 0:e.uiSchema)===null||i===void 0?void 0:i.options)===null||t===void 0?void 0:t.layout)==="inline-space-between";return a(x,{key:"ba8228bb7ccecfebbebbec54cc52a77c5288330b"},this.fieldLabel&&s?this.renderInlineField():this.renderBlockField())}static get assetsDirs(){return["locales"]}get element(){return H(this)}};Se.style=_e;var Ee=".section__content{display:flex;flex-direction:column}.section__content .required-field-text{font-size:var(--calcite-font-size--2);margin-bottom:1.5rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1)}arcgis-configuration-editor-section+arcgis-configuration-editor-field{margin-top:0.75rem}",Pe=Ee,we=class{constructor(e){q(this,e),this.disabled=void 0,this.label=void 0,this.model=void 0,this.uiSchema=void 0,this.scale="m",this.t=void 0,this.variant=void 0}async componentWillLoad(){this._intl=await I.loadIntlForComponent(this.element)}get isLastSection(){let e=this.element.nextElementSibling,i=!!e,t=i&&e.tagName==="ARCGIS-CONFIGURATION-EDITOR-FIELD";return!i||t}get sectionComponent(){var e;let i=(e=this.uiSchema.options)===null||e===void 0?void 0:e.section;return{accordion:"hub-section-accordion",block:"hub-section-block",stepper:"hub-section-stepper",subblock:"hub-section-subblock",card:"hub-section-card"}[i]||"hub-section-basic"}get sectionParams(){return{disabled:this.disabled,label:this.label,model:this.model,uiSchema:this.uiSchema,scale:this.scale,t:this.t,variant:this.variant}}get helperText(){var e;return((e=this.uiSchema.options)===null||e===void 0?void 0:e.helperText)||{}}renderNestedSection(){return a("slot",null)}renderSectionContent(){return a("div",{class:"section__content"},ce(this.model,this.uiSchema)&&Q(this.uiSchema,this.t,this._intl),a("div",{class:"section__fields"},a("slot",null)))}render(){var e;let i=this.sectionComponent;return a(x,{key:"d6090fb01234650442460c3780e101f400226576"},a(i,{key:"95e2cdb44728b048fa3d847e18ac420bb0d921b8",class:{"configuration-editor__last-child":this.isLastSection},params:this.sectionParams},["stepper","accordion"].includes((e=this.uiSchema.options)===null||e===void 0?void 0:e.section)?this.renderNestedSection():this.renderSectionContent()))}static get assetsDirs(){return["locales"]}get element(){return H(this)}};we.style=Pe;var Re="label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}",xe=Re,qe=class{constructor(e){q(this,e),this.handleSlotChange=i=>{let t=oe(i)[0];this.tooltipRef=t,t&&(t.setAttribute("aria-labelledby",this.labelId),this.isSlottedElDisabled&&this.makeSlottedElFocusable(t))},this.overlayPositioning="fixed",this.placement="auto",this.text=void 0,this.isSlottedElDisabled=!1,this.tooltipRef=void 0,this.labelId=F()}handleIsSlottedElDisabledChange(e){this.isSlottedElDisabled=e,this.isSlottedElDisabled&&this.tooltipRef&&this.makeSlottedElFocusable(this.tooltipRef)}makeSlottedElFocusable(e){var i;let t=(i=e?.shadowRoot)===null||i===void 0?void 0:i.querySelector(".interaction-container");e.setAttribute("tabindex","0"),t?.removeAttribute("inert")}render(){return a(x,{key:"309d29fee17c391565044f3e259871d0f76c03f2"},a("slot",{key:"968993c97cb19ac74d463029117adcd19a97c6cb",onSlotchange:this.handleSlotChange}),a("label",{key:"3866dc94d891dd8066adbf0ba6b7ace416ab2945","aria-hidden":"false",class:"sr-only",id:this.labelId},this.text),this.text&&this.tooltipRef&&a("calcite-tooltip",{"aria-hidden":"true",overlayPositioning:this.overlayPositioning,placement:this.placement,referenceElement:this.tooltipRef},this.text))}static get watchers(){return{isSlottedElDisabled:["handleIsSlottedElDisabledChange"]}}};qe.style=xe;export{ye as arcgis_configuration_editor,Se as arcgis_configuration_editor_field,we as arcgis_configuration_editor_section,qe as arcgis_ref_tooltip};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.30/esri/copyright.txt for details.
3
- v0.30.0 */
4
- import{a as c}from"./3KXFJDOO.js";import{da as l}from"./NILAI3S2.js";import"./VEI5H4PD.js";import"./MPXBCUFZ.js";import"./IF2DYJWG.js";import"./KKT44ZG6.js";import"./WGHHLZ4Q.js";import"./463RFQBR.js";import"./R7V5NC6U.js";import"./RDXWA2WQ.js";import"./JJ5KMGYV.js";import"./3UPRBTIP.js";import"./RIXTHWKY.js";import"./V6UZOC7N.js";import"./KQXYMD4V.js";import"./YCJWLOTK.js";import"./U33NFB2D.js";import"./W3U2AG77.js";import"./NZ2DP4SX.js";import"./GWSU27KV.js";import"./3GWBPX4O.js";import"./A6ST7DRE.js";import"./2VLGYS7X.js";import"./EIEFNRHI.js";import"./EZUFYVQQ.js";import"./VVAZM6RY.js";import"./GILH6I3L.js";import"./GYCKL6XC.js";import"./4N6ODHC7.js";import"./47EY6TCJ.js";import"./UPZLN4HJ.js";import"./OGLG3OJL.js";import"./MZ3WYZDE.js";import"./53PGCQNE.js";import"./PB35S3LV.js";import"./YYAFKPIW.js";import"./U2T4HCMI.js";import"./JAELFUT2.js";import"./LOYWUOC5.js";import"./FJ427YXY.js";import"./UI74X3EE.js";import"./ETWCPTWF.js";import"./RMNMBYHF.js";import"./I2XFGWAL.js";import"./NHP3RMVU.js";import"./IAGJKSFE.js";import{h as u}from"./PBHCJMWR.js";import{c as _}from"./4ZXWYK5P.js";import"./JVQMYCIY.js";import"./MVKT6K7E.js";import"./UTOSWBTW.js";import"./WCVZ5IVE.js";import"./BO4ELVFM.js";import"./54WB3IU4.js";import"./K6XGMBR4.js";import"./PZSRLS3L.js";import"./MJYV5IXC.js";import"./EM4HYB7A.js";import{a as d}from"./TBLUKTMV.js";import{a as b}from"./IBLNQKXS.js";import"./VTUF6UAI.js";import"./IX6UFPYX.js";import"./NCJJX6CX.js";import"./WNV7HOFY.js";import{b as o,c as g,d as f,e as y,i as w}from"./TYDQLBO3.js";import"./ID5TNWNP.js";import{a as h}from"./IBFCH3JO.js";import"./KCSAZ4DI.js";import"./VGEUTORO.js";import"./3BEZVOSX.js";async function O(e){let t=`${e.portalUrl}/sharing/rest/portals/self/roles?num=100`;return(await u(t,{authentication:e.requestOptions.authentication})).roles.map(i=>({name:i.name,id:i.id}))}var S=".sc-arcgis-hub-user-org-members-h{display:block;height:100%}.org-members-container.sc-arcgis-hub-user-org-members{display:flex;flex-direction:column;gap:2rem}.org-members__stats.sc-arcgis-hub-user-org-members{display:flex;width:100%;gap:1rem}.org-members__stats.sc-arcgis-hub-user-org-members arcgis-stat-card.sc-arcgis-hub-user-org-members{width:50%}",x=S,M=function(e,s,t,r){var a=arguments.length,i=a<3?s:r===null?r=Object.getOwnPropertyDescriptor(s,t):r,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,s,t,r);else for(var m=e.length-1;m>=0;m--)(n=e[m])&&(i=(a<3?n(i):a>3?n(s,t,i):n(s,t))||i);return a>3&&i&&Object.defineProperty(s,t,i),i},p=class{constructor(e){w(this,e),this.hubTelemetry=y(this,"hubTelemetry",7),this._roles=[],this.isMobile=!1,this.membersCount=void 0,this.newMembersCount=void 0,this.membersSelected=[],d(this,"handleMemberSelection")}handleMemberSelection(e){e.stopPropagation(),this.membersSelected=[...e.detail.portalUser]}async componentWillLoad(){await this.loadTranslations(),this.fetchStats();let e=await O(this._context),s=[{id:"org_admin",name:this.intl.t("facets.role.admin")},{id:"org_publisher",name:this.intl.t("facets.role.publisher")},{id:"org_user",name:this.intl.t("facets.role.user")}];this._roles=[...s,...e].sort((t,r)=>t.name.localeCompare(r.name))}get _context(){return _()}get query(){return{targetEntity:"portalUser",filters:[{predicates:[{orgid:this._context.currentUser.orgId}]}]}}async fetchStats(){let e=h(this.query),s=new Date().getDate();e.filters[0].predicates[0].joined={type:"date-range",from:new Date(new Date().setDate(s-30)).valueOf(),to:new Date().valueOf()};let[t,r]=await Promise.all([l(this.query,{requestOptions:this._context.hubRequestOptions}),l(e,{requestOptions:this._context.hubRequestOptions})]);this.membersCount=t.total,this.newMembersCount=r.total}async loadTranslations(){this.intl=await b.loadIntlForComponent(this.element)}get messageRecipients(){let e={type:"orgMember",id:this._context.currentUser.orgId,users:[]};return e.users=this.membersSelected.length?this.membersSelected:[],e}renderStats(){return o("div",{class:"org-members__stats"},o("arcgis-stat-card",{cardTitle:this.intl.t("stats.total.title"),key:"total",trailingText:this.intl.t("stats.total.trailingText"),value:this.membersCount&&this.intl.formatNumber(this.membersCount)}),o("arcgis-stat-card",{cardTitle:this.intl.t("stats.new.title"),key:"new",trailingText:this.intl.t("stats.new.trailingText"),value:this.newMembersCount&&this.intl.formatNumber(this.newMembersCount)}))}renderMessageButton(){return o("arcgis-hub-message",{recipients:this.messageRecipients})}get memberFacets(){let e=this._roles.map(r=>({label:r.name,key:r.id,selected:!1,predicates:[{role:r.id}]})),t=new Date().toISOString();return[{label:this.intl.t("facets.role.label"),key:"access",display:"multi-select",field:"access",pageSize:5,optionLimit:10,options:[...e],operation:"OR"},{label:this.intl.t("facets.lastLogin.label"),key:"lastlogin",display:"date-range",field:"lastlogin",max:t}]}renderMembersGallery(){return o("arcgis-hub-gallery",{"data-test":"members-gallery",facets:this.memberFacets,linkTarget:"siteRelative",mobileView:this.isMobile,onArcgisHubGallerySelect:this.handleMemberSelection,query:this.query,selectionMode:"multiple","show-back-to-top-btn":!0,"show-chips":!0,"show-facets":!0,"show-more-results-btn":!0,"show-results-count":!0,"show-search":!0,"show-sort":!0,showLayoutSwitcher:!this.isMobile,sortField:"username",sortOptions:["username","joined"]})}render(){return o(g,{key:"14fec29c354dfbeaaca574c64b0d181401fbc398","data-element":"org-members"},o("arcgis-hub-workspace-pane",{key:"0b692b9e070949d4accaa786d951267ba604900a",isMobile:this.isMobile},o("h1",{key:"363f6d2b84247b0247fb0f33c3680e5a5e709861",slot:"title"},this.intl.t("title")),o("span",{key:"93039866c543deaaf9eff19102650bac3d99d14b",slot:"primary-actions"},this.renderMessageButton()),o("div",{key:"682b1da3e26ba74b4dd1d629611ffe19ccfefff1",class:"org-members-container"},this.renderStats(),this.renderMembersGallery())))}static get assetsDirs(){return["locales"]}get element(){return f(this)}};M([c("_context")],p.prototype,"query",null);M([c("intl")],p.prototype,"memberFacets",null);p.style=x;export{p as arcgis_hub_user_org_members};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.30/esri/copyright.txt for details.
3
- v0.30.0 */
4
- import"./3BEZVOSX.js";var a="\u041F\u0456\u0434 \u0447\u0430\u0441 \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0435\u043D\u043D\u044F \u0434\u0456\u0430\u0433\u0440\u0430\u043C\u0438 \u0432\u0438\u043D\u0438\u043A\u043B\u0430 \u043F\u043E\u043C\u0438\u043B\u043A\u0430.",e="\u041D\u0435\u043C\u043E\u0436\u043B\u0438\u0432\u043E \u0437\u0430\u0441\u0442\u043E\u0441\u0443\u0432\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u0432\u043E\u0440\u0435\u043D\u043D\u044F \u043B\u043E\u0433\u0430\u0440\u0438\u0444\u043C\u0443 \u0434\u043E \u0432\u0456\u0434\u2019\u0454\u043C\u043D\u0438\u0445 \u0430\u0431\u043E \u043D\u0443\u043B\u044C\u043E\u0432\u0438\u0445 \u0437\u043D\u0430\u0447\u0435\u043D\u044C.",t="\u041D\u0435\u043C\u043E\u0436\u043B\u0438\u0432\u043E \u0437\u0430\u0441\u0442\u043E\u0441\u0443\u0432\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u0432\u043E\u0440\u0435\u043D\u043D\u044F \u043A\u0432\u0430\u0434\u0440\u0430\u0442\u043D\u043E\u0433\u043E \u043A\u043E\u0440\u0435\u043D\u044F \u0434\u043E \u0432\u0456\u0434\u2019\u0454\u043C\u043D\u0438\u0445 \u0437\u043D\u0430\u0447\u0435\u043D\u044C.",r="\u041F\u0456\u0434 \u0447\u0430\u0441 \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0435\u043D\u043D\u044F \u0448\u0430\u0440\u0443 \u0432\u0438\u043D\u0438\u043A\u043B\u0430 \u043F\u043E\u043C\u0438\u043B\u043A\u0430. URL = ${ url }. \u0406\u0414 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430 \u043F\u043E\u0440\u0442\u0430\u043B\u0443 = ${ portalItemId }.",i="\u0412\u0438\u0437\u043D\u0430\u0447\u0435\u043D\u0456 \u0443 \u043A\u043E\u043D\u0444\u0456\u0433\u0443\u0440\u0430\u0446\u0456\u0457 \u043F\u043E\u043B\u044F [${ fieldNames }] \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u043E \u043D\u0430 \u0448\u0430\u0440\u0456.",s="${ dataPath } \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0431\u0443\u0442\u0438 \u0443\u043D\u0456\u043A\u0430\u043B\u044C\u043D\u0438\u043C. \u0421\u0435\u0440\u0456\u044F \u0437 \u043D\u0430\u0437\u0432\u043E\u044E ${ seriesName } \u043C\u0430\u0454 \u0456\u0434\u0435\u043D\u0442\u0438\u0444\u0456\u043A\u0430\u0442\u043E\u0440 (${ seriesID }), \u044F\u043A\u0438\u0439 \u0432\u0436\u0435 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0454\u0442\u044C\u0441\u044F \u0456\u043D\u0448\u043E\u044E \u0441\u0435\u0440\u0456\u0454\u044E.",n="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u0432\u0438\u043A\u043E\u043D\u0443\u0432\u0430\u0442\u0438 \u0430\u0433\u0440\u0435\u0433\u0443\u0432\u0430\u043D\u043D\u044F \u0431\u0435\u0437 \u043F\u0456\u0434\u0440\u0430\u0445\u0443\u043D\u043A\u0443 \u0432 \u043D\u0435\u0447\u0438\u0441\u043B\u043E\u0432\u043E\u043C\u0443 \u043F\u043E\u043B\u0456.",o="${ dataPath } \u043D\u0435 \u043C\u0430\u0454 \u0432\u043B\u0430\u0441\u0442\u0438\u0432\u043E\u0441\u0442\u0456 \u0437 \u043D\u0430\u0437\u0432\u043E\u044E ${ missingProperty }.",d="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u043C\u0430\u0442\u0438 \u043C\u0435\u043D\u0448\u0435 ${ limit } \u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432.",l="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u043C\u0430\u0442\u0438 \u043C\u0435\u043D\u0448\u0435 ${ limit } \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432.",u="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u043C\u0430\u0442\u0438 \u0431\u0456\u043B\u044C\u0448\u0435 ${ limit } \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432.",m="${ dataPath } \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043C\u0430\u0442\u0438 \u043F\u0440\u0438\u043D\u0430\u0439\u043C\u043D\u0456 \u043E\u0434\u0438\u043D \u0441\u0438\u043C\u0432\u043E\u043B, \u044F\u043A\u0438\u0439 \u043D\u0435 \u0454 \u043F\u0440\u043E\u0431\u0456\u043B\u043E\u043C.",$="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u043C\u0430\u0442\u0438 ${ additionalProperty }.",p="${ dataPath } \u043C\u0430\u0454 \u0434\u043E\u0440\u0456\u0432\u043D\u044E\u0432\u0430\u0442\u0438 \u043E\u0434\u043D\u043E\u043C\u0443 \u0437 \u0446\u0438\u0445 \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u0438\u0445 \u0437\u043D\u0430\u0447\u0435\u043D\u044C: ${ allowedValues }.",y="${ dataPath } \u043C\u0430\u0454 \u0437\u0431\u0456\u0433\u0430\u0442\u0438\u0441\u044F \u0437\u0456 \u0441\u0445\u0435\u043C\u043E\u044E \u043E\u0434\u043D\u043E\u0433\u043E \u0437 \u0446\u0438\u0445: ${ schemaOptions }.",P="\u0414\u0456\u0430\u0433\u0440\u0430\u043C\u0438 \u0440\u043E\u0437\u0441\u0456\u044E\u0432\u0430\u043D\u043D\u044F \u0437 \u043F\u0440\u043E\u043F\u043E\u0440\u0446\u0456\u0439\u043D\u0438\u043C\u0438 \u0441\u0438\u043C\u0432\u043E\u043B\u0430\u043C\u0438 \u043D\u0435 \u043F\u0456\u0434\u0442\u0440\u0438\u043C\u0443\u044E\u0442\u044C\u0441\u044F. \u0417\u0430\u0441\u0442\u043E\u0441\u043E\u0432\u0430\u043D\u043E \u0440\u043E\u0437\u043C\u0456\u0440 \u0441\u0438\u043C\u0432\u043E\u043B\u0443 \u0437\u0430 \u0437\u0430\u043C\u043E\u0432\u0447\u0443\u0432\u0430\u043D\u043D\u044F\u043C.",g="\u041F\u043E\u043C\u0438\u043B\u043A\u0430 \u0447\u0438\u0442\u0430\u043D\u043D\u044F \u0432\u0445\u0456\u0434\u043D\u0438\u0445 \u0434\u0430\u043D\u0438\u0445.",h="\u041E\u043F\u0435\u0440\u0430\u0446\u0456\u044F queryBins \u043D\u0435 \u043F\u0456\u0434\u0442\u0440\u0438\u043C\u0443\u0454\u0442\u044C\u0441\u044F \u043D\u0430 \u0446\u044C\u043E\u043C\u0443 \u0441\u0435\u0440\u0432\u0456\u0441\u0456.",I="\u041E\u0447\u0456\u043A\u0443\u0432\u0430\u043D\u0438\u043C \u0442\u0438\u043F\u043E\u043C \u0441\u0435\u0440\u0456\u0457 \u0437 \u0456\u043D\u0434\u0435\u043A\u0441\u043E\u043C ${ seriesIndex } \u0454 '${ expectedType }', \u0430\u043B\u0435 \u0437\u0430\u043C\u0456\u0441\u0442\u044C \u043D\u044C\u043E\u0433\u043E \u0431\u0443\u043B\u043E \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E '${ receivedType }'",c="\u0430\u0431\u043E",f={defaultError:a,negativeValueInDataForLogTransformation:e,negativeValueInDataForSqrtTransformation:t,layerLoadFailure:r,layerFieldsNotFound:i,duplicateSeriesID:s,nonNumericAggregation:n,requiredProperty:o,minLength:d,minItems:l,maxItems:u,whiteSpacePattern:m,additionalProperty:$,enumValues:p,anyOfValues:y,bubbleChartValidateMsg:P,queryError:g,queryBinsNotSupported:h,invalidSeriesType:I,or:"\u0430\u0431\u043E"};export{$ as additionalProperty,y as anyOfValues,P as bubbleChartValidateMsg,f as default,a as defaultError,s as duplicateSeriesID,p as enumValues,I as invalidSeriesType,i as layerFieldsNotFound,r as layerLoadFailure,u as maxItems,l as minItems,d as minLength,e as negativeValueInDataForLogTransformation,t as negativeValueInDataForSqrtTransformation,n as nonNumericAggregation,c as or,h as queryBinsNotSupported,g as queryError,o as requiredProperty,m as whiteSpacePattern};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.30/esri/copyright.txt for details.
3
- v0.30.0 */
4
- import"./3BEZVOSX.js";var e={percent:"Percent",values:"Values",standardizedValues:"Standardized values",count:"Count",aggregationOfValues:"${ aggregation } of values",aggregationOfFieldName:"${ aggregation } of ${ fieldName }"},i={aggrFieldsByCategory:"${ aggregationFields } by ${ category }",aggrTypeCategory:"${ aggregationType } by ${ category }",aggrTypeCategoryBySplitBy:"${ aggregationType } by ${ category } by ${ splitByField }",aggrTypeOfAggrFields:"${ aggregationType } of ${ aggregationFields }",aggrTypeOfAggrFieldByCategoryBySplitByField:"${ aggregationType } of ${ aggregationField } by ${ category } by ${ splitByField }",aggrTypeOfAggrFieldsByCategory:"${ aggregationType } of ${ aggregationFields } by ${ category }",aggrFieldsByXAxisField:"${ aggregationFields } by ${ xAxisField }",aggrTypeXAxisField:"${ aggregationType } by ${ xAxisField }",aggrTypeXAxisFieldBySplitBy:"${ aggregationType } by ${ xAxisField } by ${ splitByField }",aggrTypeOfAggrFieldByXAxisFieldBySplitByField:"${ aggregationType } of ${ aggregationField } by ${ xAxisField } by ${ splitByField }",aggrTypeOfAggrFieldsByXAxisField:"${ aggregationType } of ${ aggregationFields } by ${ xAxisField }",distributionOfField:"Distribution of ${ valueField }",distributionOfFields:"Distribution of ${ valueFields }",distributionOfFieldsByCategory:"Distribution of ${ valueFields } by ${ category }",distributionOfFieldsByCategoryAndSplitBy:"Distribution of ${ valueFields } by ${ category } and ${ splitByField }",xAndY:"${ x } and ${ y }"},a={barChart:"Bar chart",lineChart:"Line chart",pieChart:"Pie chart",histogram:"Histogram",scatterplot:"Scatterplot"},g={axisLabels:e,titleLabels:i,chartType:a};export{e as axisLabels,a as chartType,g as default,i as titleLabels};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.30/esri/copyright.txt for details.
3
- v0.30.0 */
4
- function n(d,e){let o=document.createElement("a");o.style.display="none",o.setAttribute("href",d),e&&(o.download=e),document.body.appendChild(o),o.onclick=()=>{document.body.removeChild(o)},o.click()}export{n as a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.30/esri/copyright.txt for details.
3
- v0.30.0 */
4
- function d(e){let{delay:s}=e;if(!Number.isInteger(s)||s<0)throw new Error("delay must be a positive integer");return(y,a,p)=>{let{value:m}=p,l=async function(...r){let i=new Promise(g=>setTimeout(g,s)),o=m.apply(this,r);return i.then(()=>o)};return Object.assign(Object.assign({},p),{value:l})}}var t;(function(e){e.Item="item",e.EditPost="edit.post",e.EditPostGroup="edit.post.group",e.EditPostItem="edit.post.item",e.EditReply="reply.post",e.EditReplyGroup="edit.reply.group",e.EditReplyItem="edit.reply.item",e.Group="group",e.Reply="reply"})(t||(t={}));var u={[t.Item]:{title:"item.title",message:"item.message"},[t.EditPost]:{title:"post.title",message:"post.message"},[t.EditPostGroup]:{title:"post.title",message:"post.message.group"},[t.EditPostItem]:{title:"post.title",message:"post.message.item"},[t.EditReply]:{title:"reply.title",message:"reply.message"},[t.EditReplyGroup]:{title:"reply.title",message:"reply.message.group"},[t.EditReplyItem]:{title:"reply.title",message:"reply.message.item"},[t.Group]:{title:"group.title",message:"group.message"},[t.Reply]:{title:"reply.title.generic",message:"reply.message.generic"}};export{d as a,t as b,u as c};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.30/esri/copyright.txt for details.
3
- v0.30.0 */
4
- import{d as E}from"./FFCDV7KR.js";import{a as b,b as y,c as S,d as F}from"./QT42UWOH.js";import"./VYVAAKRB.js";import"./7BYXNDIO.js";import"./7PFTE2OO.js";import"./AS4UI4JH.js";import"./NHNWP7ER.js";import"./KXMHU5QU.js";import"./JF6S5CRM.js";import"./P6USDC2Z.js";import"./ONHBDUF2.js";import"./O3PV5B7X.js";import"./Z7OPGFX7.js";import"./NVANTL2P.js";import"./WIOYIHQ5.js";import"./DJ3HTG7B.js";import"./MD66JU4M.js";import"./SYBVAMG7.js";import"./NILAI3S2.js";import"./VEI5H4PD.js";import"./MPXBCUFZ.js";import"./IF2DYJWG.js";import"./KKT44ZG6.js";import"./WGHHLZ4Q.js";import"./A3CROC3X.js";import"./463RFQBR.js";import"./R7V5NC6U.js";import"./RDXWA2WQ.js";import"./JJ5KMGYV.js";import"./3UPRBTIP.js";import"./RIXTHWKY.js";import"./V6UZOC7N.js";import"./KQXYMD4V.js";import"./YCJWLOTK.js";import"./U33NFB2D.js";import"./W3U2AG77.js";import"./NZ2DP4SX.js";import"./GWSU27KV.js";import"./3GWBPX4O.js";import"./A6ST7DRE.js";import"./2VLGYS7X.js";import"./EIEFNRHI.js";import"./EZUFYVQQ.js";import"./VVAZM6RY.js";import"./GILH6I3L.js";import"./GYCKL6XC.js";import"./4N6ODHC7.js";import"./47EY6TCJ.js";import"./UPZLN4HJ.js";import"./OGLG3OJL.js";import"./MZ3WYZDE.js";import"./53PGCQNE.js";import"./PB35S3LV.js";import"./YYAFKPIW.js";import"./U2T4HCMI.js";import"./JAELFUT2.js";import"./LOYWUOC5.js";import"./FJ427YXY.js";import"./UI74X3EE.js";import"./ETWCPTWF.js";import"./RMNMBYHF.js";import"./I2XFGWAL.js";import"./NHP3RMVU.js";import"./IAGJKSFE.js";import"./PBHCJMWR.js";import{a as _}from"./SSSF26H2.js";import{c as I,j as U}from"./4ZXWYK5P.js";import"./JVQMYCIY.js";import"./ISOQQMCG.js";import"./MVKT6K7E.js";import"./UTOSWBTW.js";import"./WCVZ5IVE.js";import"./BO4ELVFM.js";import"./54WB3IU4.js";import"./K6XGMBR4.js";import"./PZSRLS3L.js";import"./MJYV5IXC.js";import"./EM4HYB7A.js";import{a as k}from"./TBLUKTMV.js";import{a as C}from"./IBLNQKXS.js";import"./VTUF6UAI.js";import"./IX6UFPYX.js";import"./NCJJX6CX.js";import"./WNV7HOFY.js";import{b as c,c as T,d as V,e as O,h as $,i as D}from"./TYDQLBO3.js";import"./ID5TNWNP.js";import{g}from"./IBFCH3JO.js";import"./KCSAZ4DI.js";import"./VGEUTORO.js";import"./3BEZVOSX.js";var M="arcgis-configuration-editor{margin-top:0.5rem;margin-bottom:0.5rem}",H=M,R=class{connectedCallback(){U(this)}disconnectedCallback(){this.disconnectContext()}constructor(i){D(this,i),this.arcgisCompositeExpressionSetFieldChange=O(this,"arcgisCompositeExpressionSetFieldChange",7),this.values={},this.fields=[],this.expressions=[],this._context=I(),k(this,"translationFunc","handleEditorChangeEvent","handleAddExpression","handleDeleteExpression")}async componentWillLoad(){this.intl=await C.loadIntlForComponent(this.element),this.values&&(this.expressions=this.repairExpressionsFromMigration(this.values),this.internalValues=this.transformExpressionsToSchemaValues(this.expressions)),this._uiSchema=y(this.getUiSchemaElements(this.expressions)),this._schema=b(this.getSchemaProperties(this.expressions))}getSchemaProperties(i){return i?.reduce((t,e)=>{var o,s;if(e){let l=(o=e?.field)===null||o===void 0?void 0:o.type,r={type:"string",enum:[...(s=this.fields)===null||s===void 0?void 0:s.map(d=>d.name),""]};if(t=Object.assign(Object.assign({},t),{[`combobox-${e.key}`]:r}),l){let d=this.intl.t(e?.relationship||F[l]),m={type:"string",default:d,enum:[d]};t=Object.assign(Object.assign({},t),{[`select-${e.key}`]:m});let a=l==="esriFieldTypeString"||l==="esriFieldTypeDate"?{type:"string"}:{type:"number"};if(t=Object.assign(Object.assign({},t),{[`value-1-${e.key}`]:a}),l!=="esriFieldTypeString"){let p={type:l==="esriFieldTypeDate"?"string":"number"};t=Object.assign(Object.assign({},t),{[`value-2-${e.key}`]:p})}}}return t},{})}getUiSchemaElements(i){return i?.reduce((t,e)=>{var o,s,l,n,r,d,m;if(e){let a=[],p=(o=e?.field)===null||o===void 0?void 0:o.type,A={scope:`/properties/combobox-${e.key}`,type:"Control",label:this.intl.t("selectAttribute"),options:{control:"hub-field-input-combobox",items:(s=this.fields)===null||s===void 0?void 0:s.map(u=>({value:u.name,label:u.name,icon:E(u.type)})),allowCustomValues:!1,selectionMode:"single",overlayPositioning:"fixed"}};if(a.push(A),p){let u={scope:`/properties/select-${e.key}`,type:"Control",label:this.intl.t("filterType"),options:{control:"hub-field-input-select",disabled:!0}};a.push(u);let v={},f;p==="esriFieldTypeString"?(f=this.intl.t("filterValue"),v=!((r=(n=(l=e?.field)===null||l===void 0?void 0:l.domain)===null||n===void 0?void 0:n.codedValues)===null||r===void 0)&&r.length?{control:"hub-field-input-combobox",allowCustomValues:!1,selectionMode:"single",overlayPositioning:"fixed",items:(m=(d=e?.field)===null||d===void 0?void 0:d.domain)===null||m===void 0?void 0:m.codedValues.map(h=>({value:h.name,label:h.name}))}:{control:"hub-field-input-input"}):p==="esriFieldTypeDate"?(f=this.intl.t("startingDate"),v={control:"hub-field-input-date",overlayPositioning:"fixed"}):(f=this.intl.t("startingValue"),v={control:"hub-field-input-input",type:"number"});let P={scope:`/properties/value-1-${e.key}`,type:"Control",label:f,options:v};if(a.push(P),p!=="esriFieldTypeString"){let h={};h=p==="esriFieldTypeDate"?{control:"hub-field-input-date",overlayPositioning:"fixed"}:{control:"hub-field-input-input",type:"number"};let L=p==="esriFieldTypeDate"?this.intl.t("endingDate"):this.intl.t("endingValue"),N={scope:`/properties/value-2-${e.key}`,type:"Control",label:L,options:h};a.push(N)}}let j={type:"Section",label:this.intl.t("attributeFilter"),options:{section:"block",scale:"s",collapsible:!1,open:!0,actions:[{alignment:"end",icon:"trash",key:e.key,label:this.intl.t("deleteFilter"),onClick:this.handleDeleteExpression,scale:"s",textEnabled:!0}]},elements:a};t=[...t,j]}return t},[])}repairExpressionsFromMigration(i){return i.map(t=>{var e,o;if(t.key||(t.key=g("expression-")),!(!((e=t.field)===null||e===void 0)&&e.type)&&(!((o=t.field)===null||o===void 0)&&o.name)){let s=t.field.name,l=this.fields.find(n=>n.name===s);t.field=l}return t})}transformExpressionsToSchemaValues(i){return i.reduce((t,e)=>{let{key:o,values:s=[],field:l}=e;return t=Object.assign(Object.assign({},t),{[`combobox-${o}`]:l?.name,[`value-1-${o}`]:s[0],[`value-2-${o}`]:s[1]}),t},{})}handleEditorChangeEvent(i){i.stopImmediatePropagation(),i.stopPropagation();let{valid:t,values:e}=i.detail;this.updateExpressionsAndValuesOnChange(this.expressions,e,this.fields),this.isValid=t,t&&this.arcgisCompositeExpressionSetFieldChange.emit(this.expressions)}updateExpressionsAndValuesOnChange(i,t,e){let o=!1,s=i.reduce((l,n)=>{var r,d,m;let a={key:n.key,values:[]},p=t[`combobox-${n?.key}`];return p&&(a=this.updateExpressionField(a,p,e),a=this.updateExpressionRelationship(a),a=this.updateExpressionValues(a,n,t),t=this.updateInternalValues(a,t)),(((r=a?.field)===null||r===void 0?void 0:r.name)!==((d=n?.field)===null||d===void 0?void 0:d.name)||p==""&&((m=n.field)===null||m===void 0?void 0:m.name)!==void 0)&&(o=!0),l=[...l,a],l},[]);o&&(this.updateSchema(s),this.updateUiSchema(s)),this.expressions=s,this.internalValues=t}updateExpressionField(i,t,e){let o=e.find(s=>s.name===t);return o&&(i.field=o),i}updateExpressionRelationship(i){var t;return i.relationship=((t=i?.field)===null||t===void 0?void 0:t.type)==="esriFieldTypeString"?i.relationship=S.IS_EXACTLY:i.relationship=S.BETWEEN,i}updateExpressionValues(i,t,e){var o,s;((o=i?.field)===null||o===void 0?void 0:o.name)!==((s=t?.field)===null||s===void 0?void 0:s.name)&&(e[`value-1-${i?.key}`]=void 0,e[`value-2-${i?.key}`]=void 0);let l=e[`value-1-${i?.key}`],n=e[`value-2-${i?.key}`],r=[];return _(l)||(r[0]=l),_(n)||(r[1]=n),i.values=r,i}updateInternalValues(i,t){return i.key&&i.relationship&&(t[`select-${i.key}`]=this.intl.t(i.relationship)),t}translationFunc(i,t,e){return this.intl.t(i,t,e)}updateSchema(i){this._schema=b(this.getSchemaProperties(i))}updateUiSchema(i){this._uiSchema=y(this.getUiSchemaElements(i))}handleAddExpression(){let i=[...this.expressions],t={values:[],key:g("expression-")};i.push(t),this.updateSchema(i),this.updateUiSchema(i),this.expressions=i}handleDeleteExpression(i){let t=i.target,e=t?.getAttribute("data-key"),o=[...this.expressions];o=o.reduce((s,l)=>(l.key!==e&&(s=[...s,l]),s),[]),this.updateSchema(o),this.updateUiSchema(o),this.arcgisCompositeExpressionSetFieldChange.emit(o),this.expressions=o}resetExpressions(i){let t=[...this.expressions],e=t.length;t=t.filter(o=>i.find(s=>{var l,n;return s.name===((l=o?.field)===null||l===void 0?void 0:l.name)&&s.type===((n=o?.field)===null||n===void 0?void 0:n.type)})),this.updateSchema(t),this.updateUiSchema(t),this.expressions.length!==e&&this.arcgisCompositeExpressionSetFieldChange.emit(t),this.expressions=t}renderExpressionSet(){if(this.fields.length)return c($,null,c("arcgis-configuration-editor",{onArcgisConfigurationEditorChange:this.handleEditorChangeEvent,schema:this._schema,t:this.translationFunc,uiSchema:this._uiSchema,values:this.internalValues||this.values}),c("calcite-button",{appearance:"outline-fill",color:"blue",iconStart:"filter",onClick:this.handleAddExpression,round:!0},this.intl.t("addFilter")))}render(){return c(T,{key:"e7f98cea1aed8342ea5602efca1ce32ec54841d9"},this.renderExpressionSet())}static get assetsDirs(){return["locales"]}get element(){return V(this)}static get watchers(){return{_context:["updateUiSchema"],fields:["resetExpressions"]}}};R.style=H;export{R as hub_composite_input_expression_set};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.30/esri/copyright.txt for details.
3
- v0.30.0 */
4
- import d from"./MZWINEF2.js";import"./ETWCPTWF.js";import"./RMNMBYHF.js";import"./NHP3RMVU.js";import"./IAGJKSFE.js";import"./PBHCJMWR.js";import"./4ZXWYK5P.js";import"./JVQMYCIY.js";import"./54WB3IU4.js";import"./K6XGMBR4.js";import"./PZSRLS3L.js";import"./MJYV5IXC.js";import"./EM4HYB7A.js";import{a as c}from"./TBLUKTMV.js";import{a as r}from"./IBLNQKXS.js";import"./VTUF6UAI.js";import"./IX6UFPYX.js";import{a as g}from"./NCJJX6CX.js";import"./WNV7HOFY.js";import{b as a,c as p,d as m,e as h,i as b}from"./TYDQLBO3.js";import"./ID5TNWNP.js";import"./IBFCH3JO.js";import"./KCSAZ4DI.js";import"./VGEUTORO.js";import"./3BEZVOSX.js";export default $arcgis.t(([{watch:u},v,,{o:w}])=>{var x=":host{display:block}calcite-panel{height:inherit}calcite-panel div{background-color:var(--calcite-color-foreground-1)}.esri-legend__service,.esri-legend__service>.esri-widget__heading{color:var(--calcite-color-text-1)}.hub-widget-legend{min-width:none !important;max-width:none !important;padding:0px}calcite-panel[closed]{display:none}@media only screen and (min-width: 640px){.hub-widget-legend.top{position:absolute}.hub-widget-legend.top{width:25rem}.hub-widget-legend.top{padding:0px}.hub-widget-legend.top{max-height:calc(var(--panel-height) - 2rem)}.hub-widget-legend.bottom{position:absolute}.hub-widget-legend.bottom{width:25rem}.hub-widget-legend.bottom{padding:0px}.hub-widget-legend.bottom{bottom:calc(var(--bottom-offset) - 2rem);max-height:calc(var(--panel-height) - 1rem)}.hub-widget-legend.right{right:100%}.hub-widget-legend.right{margin-right:1rem}.hub-widget-legend.left{left:100%}.hub-widget-legend.left{margin-left:1rem}.hub-widget-legend.bottom.left{margin-left:0.5rem}.hub-widget-legend.bottom.right{margin-right:0.5rem}}@media only screen and (max-width: 640px){.hub-widget-legend.top{position:absolute}.hub-widget-legend.top{z-index:50}.hub-widget-legend.top{padding:0px}.hub-widget-legend.top{top:calc(var(--panel-height) - var(--panel-height-mobile) + var(--top-offset) - 1rem);width:calc(var(--view-width) + 1px);display:var(--mobile-display);height:var(--panel-height-mobile)}.hub-widget-legend.bottom{position:absolute}.hub-widget-legend.bottom{z-index:50}.hub-widget-legend.bottom{padding:0px}.hub-widget-legend.bottom{bottom:calc(var(--panel-height-mobile) - var(--panel-height) - var(--bottom-offset) - 1rem);width:calc(var(--view-width) + 1px);display:var(--mobile-display);height:var(--panel-height-mobile)}.hub-widget-legend.right{right:-1rem}.hub-widget-legend.left{left:-1rem}}",y=x,W=class{constructor(e){b(this,e),this.arcgisHubWidgetPanelToggled=h(this,"arcgisHubWidgetPanelToggled",7),this.hubTelemetry=h(this,"hubTelemetry",7),this.scale="m",this.view=void 0,this.active=void 0,this.bottomOffset=0,this.topOffset=0,this.closed=!0,this.viewHeight=void 0,this.viewHeightWithOffset=void 0,this.viewWidth=void 0,c(this,"toggleClosed","setPanelHeight","handleSetPanelRef","handleSetWidgetRef")}async componentWillLoad(){let{el:e}=this,t=e&&e.closest("arcgis-hub-map-widget-container");this.viewPosition=t?.viewPosition,this.intl=await r.loadIntlForComponent(e)}async componentDidLoad(){let{view:e}=this;e&&this.addWidget(),w()}addWidgetToView(e,t){e&&e!==t&&this.addWidget()}updateViewHeightWhenOpen(){let{closed:e}=this;this.active=!e,this.active&&this.setPanelHeight()}emitEventOnActiveChange(e){let t=e?g.dictionary.category.interaction.action.open.label.panel.details.legend:g.dictionary.category.interaction.action.close.label.panel.details.legend;this.hubTelemetry.emit(t)}handleCalcitePanelDismissedChange(e){e.stopPropagation();let t=e.target.closed;this.arcgisHubWidgetPanelToggled.emit(t)}handlePanelToggled(e){let{target:t,detail:i}=e,{el:o}=this;t===o?this.closed=i:i||(this.closed=!0)}handleSetPanelRef(e){e&&(this.panelEl=e)}handleSetWidgetRef(e){e&&(this.legendEl=e)}toggleClosed(){this.closed=!this.closed}setPanelHeight(){let{legendEl:e,view:{size:t,container:i}}=this;if(!i)return;let[o,n]=t;this.viewHeight=n,this.viewWidth=o;let{top:d,bottom:s}=i.getBoundingClientRect(),{top:l,bottom:f}=e.getBoundingClientRect();this.topOffset=l-d,this.viewPosition.includes("top")?this.viewHeightWithOffset=n-this.topOffset:(this.bottomOffset=s-f,this.viewHeightWithOffset=n-this.bottomOffset)}async addWidget(){let{legend:e,view:t,panelEl:i}=this;t&&i&&!e&&(await t.when(),this.legend=new v({view:t,container:i}),u(()=>t.size,this.setPanelHeight))}get positionClass(){let{viewPosition:e}=this;if(e)return`hub-widget-legend ${e.split("-").join(" ")}`}get styles(){let{viewHeight:e,viewWidth:t,viewHeightWithOffset:i,bottomOffset:o,topOffset:n,active:d}=this,s=640;return s>e&&(s=e),{"--panel-height":`${i}px`,"--panel-height-mobile":`${s}px`,"--view-width":`${t}px`,"--bottom-offset":`${o}px`,"--top-offset":`${n}px`,"--mobile-display":d?"flex":"none"}}get _messageOverrides(){return{close:this.intl.t("textClose")}}render(){let{styles:e,positionClass:t,closed:i,active:o,scale:n}=this,d=this.intl.t("heading"),s=this.intl.t("textOpen"),l=this.intl.t("textClose");return a(p,{key:"95492c3d5bda1f21797c2de4aaa13330aa1d616c","data-element":"map-widget-legend",style:e},a("calcite-panel",{key:"71736aece2b3a0b6e39c7d0751207def2deabc40",class:t,closable:!0,closed:i,heading:d,messageOverrides:this._messageOverrides,ref:this.handleSetPanelRef}),a("arcgis-hub-map-widget-generic",{key:"1ea16443e894cb49dd803338ae6ad6926b05e027",active:o,"data-test":"map-widget-legend",icon:"legend",onClick:this.toggleClosed,ref:this.handleSetWidgetRef,scale:n,text:o?l:s}))}static get assetsDirs(){return["locales"]}get el(){return m(this)}static get watchers(){return{view:["addWidgetToView"],closed:["updateViewHeightWhenOpen"],active:["emitEventOnActiveChange"]}}};W.style=y;return W},"core/reactiveUtils","widgets/Legend","config",d)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.30/esri/copyright.txt for details.
3
- v0.30.0 */
4
- import"./3BEZVOSX.js";var a={chart:"Diagram",barChart:"Diagram batang",lineChart:"Diagram garis",pieChart:"Diagram pai",histogram:"Histogram",scatterplot:"Scatter plot",boxPlot:"Plot kotak"},i={mean:"Rata-rata",median:"Median",sum:"Sum",discretePercentile:"Persentil diskrit",minimum:"Minimal",maximum:"Maksimal",variance:"Varian",count:"Count",aggregation:"${ statistics } dari ${ fieldName }",noAggregation:"Tidak ada agregasi"},t="Diagram",e="Jumlah Rangkaian",s="Sumbu X",r="Tidak Tersedia",n={start:"Posisikan ke titik data pertama",end:"Posisikan ke titik data terakhir"},m={chartType:a,statistics:i,defaultTitle:t,countSeries:e,xAxis:s,notAvailable:r,timeAggregationTypes:n};export{a as chartType,e as countSeries,m as default,t as defaultTitle,r as notAvailable,i as statistics,n as timeAggregationTypes,s as xAxis};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.30/esri/copyright.txt for details.
3
- v0.30.0 */
4
- import{b as i}from"./LPLXOS5J.js";import{b as e,c as a,i as o}from"./TYDQLBO3.js";import{g as t,r as c}from"./IBFCH3JO.js";import"./KCSAZ4DI.js";import"./3BEZVOSX.js";var r="calcite-block.sc-hub-section-block{--calcite-block-padding:.75rem}.section-block--l.sc-hub-section-block{--calcite-font-size--1:var(--calcite-font-size-1)}.section-block--m.sc-hub-section-block{--calcite-font-size--1:var(--calcite-font-size-0)}.section-block--s.sc-hub-section-block{--calcite-font-size--1:var(--calcite-font-size--1)}calcite-block.sc-hub-section-block-s>*,calcite-block .sc-hub-section-block-s>*{--calcite-font-size--1:14px}calcite-block.sc-hub-section-block-s>.section__content>.helper-text{margin-bottom:1.5rem}",b=r,p=class{constructor(s){o(this,s),this.params=void 0}componentWillLoad(){this._key=t("block")}get scale(){var s;return((s=this.params.uiSchema.options)===null||s===void 0?void 0:s.scale)||this.params.scale||"l"}get isCollapsible(){var s;return c((s=this.params.uiSchema.options)===null||s===void 0?void 0:s.collapsible)?!0:this.params.uiSchema.options.collapsible}get isOpen(){var s;return(s=this.params.uiSchema.options)===null||s===void 0?void 0:s.open}render(){let{label:s,disabled:l}=this.params,{iconStart:n}=this.params.uiSchema.options||{};return e(a,{key:"8f35f8bd19a525850aa0dc63b8879f701485efac"},e("calcite-block",{class:{[this.params.variant]:!!this.params.variant,[`section-block--${this.scale}`]:!0},collapsible:this.isCollapsible,"data-label":s,description:i(this.params.uiSchema,this.params.t,"options.helperText"),disabled:l,expanded:this.isOpen,heading:s,iconStart:n,key:this._key},e("slot",{key:"1d7afb50cff0796bd9e7e027c6dee236d113dd34"})))}};p.style=b;export{p as hub_section_block};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.30/esri/copyright.txt for details.
3
- v0.30.0 */
4
- import{a as f}from"./BH6TFTCL.js";import d from"./CQIZSDWA.js";import"./NZCHLOCH.js";import c from"./Z2CYMHMX.js";import"./BVCTZB55.js";import"./EYBXTJAP.js";import{a as b,b as Q,c as X,d as x}from"./5ZYMVKFO.js";import{a as F}from"./HFOLSW64.js";import{a as H}from"./47DBKNC4.js";import"./QT42UWOH.js";import"./6RGO2SRP.js";import"./FQBYNAZF.js";import"./QOE2SHIT.js";import"./ZR2OO3HA.js";import"./H52LJIXH.js";import a from"./MZWINEF2.js";import"./WIOYIHQ5.js";import"./DJ3HTG7B.js";import"./MD66JU4M.js";import"./SYBVAMG7.js";import{N as K,O as A,X as Y,o as q}from"./NILAI3S2.js";import"./VEI5H4PD.js";import"./MPXBCUFZ.js";import"./IF2DYJWG.js";import"./KKT44ZG6.js";import"./WGHHLZ4Q.js";import"./A3CROC3X.js";import"./463RFQBR.js";import"./R7V5NC6U.js";import"./RDXWA2WQ.js";import"./JJ5KMGYV.js";import"./3UPRBTIP.js";import"./RIXTHWKY.js";import"./V6UZOC7N.js";import"./KQXYMD4V.js";import"./YCJWLOTK.js";import"./U33NFB2D.js";import"./W3U2AG77.js";import"./NZ2DP4SX.js";import"./GWSU27KV.js";import"./3GWBPX4O.js";import"./A6ST7DRE.js";import"./2VLGYS7X.js";import"./EIEFNRHI.js";import"./EZUFYVQQ.js";import"./VVAZM6RY.js";import"./GILH6I3L.js";import"./GYCKL6XC.js";import"./4N6ODHC7.js";import"./47EY6TCJ.js";import"./UPZLN4HJ.js";import"./OGLG3OJL.js";import"./MZ3WYZDE.js";import"./53PGCQNE.js";import"./PB35S3LV.js";import"./YYAFKPIW.js";import"./U2T4HCMI.js";import{f as O,g as W}from"./JAELFUT2.js";import"./LOYWUOC5.js";import"./FJ427YXY.js";import"./UI74X3EE.js";import"./ETWCPTWF.js";import"./RMNMBYHF.js";import"./I2XFGWAL.js";import"./NHP3RMVU.js";import"./IAGJKSFE.js";import"./PBHCJMWR.js";import{c as ie,j as se}from"./4ZXWYK5P.js";import"./JVQMYCIY.js";import"./MVKT6K7E.js";import"./UTOSWBTW.js";import"./WCVZ5IVE.js";import"./BO4ELVFM.js";import"./54WB3IU4.js";import"./K6XGMBR4.js";import"./PZSRLS3L.js";import"./MJYV5IXC.js";import"./EM4HYB7A.js";import{a as M}from"./TBLUKTMV.js";import{a as P}from"./IBLNQKXS.js";import"./VTUF6UAI.js";import"./IX6UFPYX.js";import{a as w}from"./NCJJX6CX.js";import"./WNV7HOFY.js";import{b as u,c as S,d as E,e as I,h as $,i as _}from"./TYDQLBO3.js";import{a as z}from"./ID5TNWNP.js";import"./IBFCH3JO.js";import{a as T}from"./KCSAZ4DI.js";import"./VGEUTORO.js";import"./3BEZVOSX.js";export default $arcgis.t(([k,{watch:L},{webMercatorToGeographic:B},ne,J,{isAbortError:ce},{generalize:he},le,de,,{o:V,p:j},{g:ee,h:Z,m:N},{b:te}])=>{var ae={type:"Polygon",coordinates:[[[180,-90],[180,90],[-180,90],[-180,-90],[180,-90]]]},ue=e=>new Promise(t=>setTimeout(t,e)),pe=(e,t,i,s,a)=>{let r=Math.ceil(e/t);return r>s?(z.warn(`Discussions requests exceeds desired threshold, throttling to ${a}ms per batch.`),a):i/r},ge=async(e,t,i=10,s=!0)=>{let a=async r=>{var o;let n=(o=r.start)!==null&&o!==void 0?o:1,h=Object.assign({data:Object.assign({num:i,relations:[A.REPLIES,A.CHANNEL,A.CHANNEL_ACL],sortBy:K.UPDATED_AT,sortOrder:q.DESC,start:n},r)},t),c=Y(h);if(n===1){let{total:l}=await c,d=n+i,g=[c],v=s?pe(l,i,2500,10,250):0;for(;d<=l;)await ue(v),g.push(...await a(Object.assign(Object.assign({geometry:ae},r),{start:d}))),d=d+i;return g}return[c]};try{let r=await Promise.all([...await a(Object.assign(Object.assign({},e),{discussion:`${e.discussion}%?id=%`})),...await a(Object.assign(Object.assign({},e),{geometry:ae,discussion:`${e.discussion}%`}))]),o=[],n=r.map(({items:h})=>h).flat().filter(h=>o.includes(h.id)?!1:(o.push(h.id),!0));return ee(n)}catch(r){let{message:o}=r;z.error("Could not fetch on-map discussions:",o)}},me=".sc-arcgis-hub-discussions-map-integrator-h{display:block}@media only screen and (min-width: 640px){arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{width:25rem}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{padding:0px}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{top:calc(var(--top-offset) + 4.5rem);left:calc(var(--left-offset) - 5rem - 25rem);max-height:calc(var(--panel-height) - 6rem)}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{width:25rem}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{top:calc(var(--top-offset));left:calc(var(--left-offset))}}@media only screen and (max-width: 640px){arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{width:calc(var(--panel-width) + 0.05rem);top:calc(var(--top-offset) + var(--panel-height) * .5);max-height:calc(var(--panel-height) * .5);height:calc(var(--panel-height) * .5);left:0.95rem}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{position:absolute}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{left:0px}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{margin:auto}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{width:100%}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{top:calc(var(--top-offset) + var(--panel-height) * .45)}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{width:calc(var(--panel-width) - 0.95rem);top:calc(var(--panel-height) + 3.2rem);left:0.5rem}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{position:absolute}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{top:1rem}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{left:0px}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{margin:auto}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{width:100%}}",fe=me,m=function(e,t,i,s){var a=arguments.length,r=a<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,s);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(r=(a<3?o(r):a>3?o(t,i,r):o(t,i))||r);return a>3&&r&&Object.defineProperty(t,i,r),r},p=class{constructor(e){_(this,e),this.arcgisHubMapPopoverOpen=I(this,"arcgisHubMapPopoverOpen",7),this.arcgisHubMapPopoverClear=I(this,"arcgisHubMapPopoverClear",7),this.hubTelemetry=I(this,"hubTelemetry",7),this.initialized=!1,this.cachedFeatures=[],this.unsavedExistingGeometry=[],this.cachedRelatedFeatureGeometry={},this.layerIds=[],this.persistAttribute="__persist__",this.view=void 0,this.discussionsRef=void 0,this.drawRef=void 0,this.searchRef=void 0,this.theme={},this.discussion=void 0,this.entity=void 0,this.entityId=void 0,this.entityType=void 0,this.discussionSettings=void 0,this.isHub=void 0,this.isMobile=void 0,this.activeFeature=void 0,this.activeMapDiscussion=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this._context=ie(),this.viewHeight=void 0,this.viewWidth=void 0,this.preview=!0,this.previewHeight=void 0,this.leftOffset=void 0,this.topOffset=void 0,this.mapActionNoticeActive=void 0,this.activePost=void 0,this.activeGraphicDetails=void 0,M(this,"makeGraphic","makeCalloutGraphic","setCalloutSymbolOnPointerMove","calculateOffsets","handlePointerMove","handleMapClickDiscussions","handleViewSizeChange","handleMapDrawSelect","handleEditActiveGraphic","handleDeleteActiveGraphic","handlePostPendingGraphic","addRelatedFeature","removeRelatedFeature","cancelAddRelatedFeature","getRelatedFeature","renderAddLocation","renderRemoveLocation","renderPostLocationEditOptions","renderPostLocationPrimaryOptions")}async componentWillLoad(){this.initialize(),this.intl=await P.loadIntlForComponent(this.element),V()}connectedCallback(){se(this)}disconnectedCallback(){this.teardown(),this.disconnectContext()}eventTargetIsDiscussionsRef(e){return e.target===this.discussionsRef||e.target===this.onMapDiscussionsRef||e.target===this.onMapDiscussionsPreviewRef}emitHubTelemetry(e){this.hubTelemetry.emit(Object.assign(Object.assign({},e),{postId:this.sketchPostId,channelId:this.currentDiscussionsRef.channelId}))}async initialize(){let{view:e,_context:t}=this;if(this.saveInitialDrawOptions(),e&&t){if(await e.when(),this.addGeometryGraphicsLayer(),this.addStagedGeometryGraphicsLayer(),this.addCalloutGraphicsLayer(),this.addHighlightGraphicsLayer(),await this.fetchSubject(),this.fetchPosts(),this.handleViewSizeChange(),this.cachedFeatures.length)try{await this.refreshFeatures(this.cachedFeatures)}catch(i){console.warn("Cannot add discussions features to the map",i.message)}this.setDiscussionsRefHasMap(!0),this.mapViewSizeChangeHandler=L(()=>[e.height,e.width],this.handleViewSizeChange),this.mapViewCenterChangeHandler=L(()=>e.center,this.calculateOffsets),this.initialized=!0}}attachView(e,t){let{initialized:i}=this;e&&e!==t?(i&&this.teardown(),this.initialize()):!e&&i&&this.teardown()}attachdiscussionsRef(e){let{initialized:t}=this;e&&!t&&this.initialize()}handleDrawRefUpdate(){this.saveInitialDrawOptions()}calculateOffsets(){let{view:e,preview:t,graphicGeometry:i,isOffset:s,previewHeight:a,activeMapDiscussion:r}=this;if(e&&r&&i){let{container:o}=e,{top:n,left:h,right:c}=o.getBoundingClientRect(),l=e.toScreen(i),d=s?l.x+5:l.x,g=s?l.y-34:l.y;this.leftOffset=t?d+h:c,this.topOffset=t?g+n-a:n}}handlePreviewDidLoad(e){let{detail:t}=e;this.previewHeight=0,this.previewHeight=t}handlePreviewExpanded(){this.preview=!1}handleSearchWidgetPanelToggled(e){let{target:t,detail:i}=e,{searchRef:s}=this;t===s&&!i&&(this.activeMapDiscussion=void 0,this.preview=!1,this.clearHoverActiveGraphics(!0))}handleGeometryGoTo(e){let{detail:t}=e,i=[...this.geometryGraphicsLayer.graphics.toArray(),...this.calloutGraphicsLayer.graphics.toArray()],s=[];if(t){let a=t.id,r=t.parentId?t.parentId:t.id;s=i.filter(({attributes:{id:o,parentId:n}})=>o===r||a&&n===a)}else{let{activeMapDiscussion:{locationId:a}}=this;s=i.filter(({attributes:{relatedFeatureId:r}})=>r===a)}s.length&&this.goTo(s)}handleGeometryFeature(e){let{detail:{post:t,create:i}}=e;this.unsavedExistingGeometry=[],this.cachedFeatures=this.cachedFeatures.filter(({properties:{id:a}})=>a!==t.id),Z(t)&&(this.cachedFeatures=[...this.cachedFeatures,...Z(t)],i&&this.cachedFeatures.map(a=>{let{properties:{id:r}}=a,{parentId:o}=t;return r===o&&("replyCount"in a.properties||(a.properties.replyCount=0),a.properties.replyCount+=1),a}),this.refreshFeatures(this.cachedFeatures),this.clearHoverActiveGraphics(!0))}handleGeometryFeatureDeleted(e){let{detail:{id:t,parentId:i}}=e;this.cachedFeatures=this.cachedFeatures.filter(({properties:{id:s}})=>s!==t).map(s=>{let{properties:{id:a}}=s;return a===i&&(s.properties.replyCount-=1),s}),this.refreshFeatures(this.cachedFeatures),this.clearHoverActiveGraphics(!0)}handleGeometryFeatureSelect(e){this.selectFeature(e.detail)}selectFeature(e){let{properties:{id:t,relatedFeatureId:i,index:s,unsaved:a}}=e;this.clearHoverActiveGraphics();let r=this.getMatchingGraphic(e);if(r&&this.addHighlightGraphic(!1,r,b.ACTIVE,!1),a){let o=this.unsavedGeometryGraphicsLayer.graphics.getItemAt(s);i&&(o=this.makeGraphic(e)),this.goTo(o)}else{let o=this.calloutGraphicsLayer.graphics.find(n=>{let{attributes:{relatedFeatureId:h,id:c,__index__:l}}=n;return i?i==h:c==t&&(l===null||s==l)});if(o){this.addHighlightGraphic(!0,o,b.ACTIVE,!1);let n=i?this.cachedRelatedFeatureGeometry[i].arcgis:this.getGraphicById(t,s);this.goTo(n)}}}handleGeometryFeatureHighlight(e){let{detail:{properties:{id:t,relatedFeatureId:i,index:s,unsaved:a}}}=e;this.clearHoverActiveGraphics();let r=this.getMatchingGraphic(e.detail);if(r&&this.addHighlightGraphic(!1,r,b.HOVER,!1),!a){let o=this.calloutGraphicsLayer.graphics.find(n=>{let{attributes:{relatedFeatureId:h,id:c,__index__:l}}=n;return i?i==h:c==t&&(l===null||s==l)});o&&this.addHighlightGraphic(!0,o,b.HOVER,!1)}}handleFeatureRemove(e){let{detail:{properties:{id:t,relatedFeatureId:i,index:s,unsaved:a}}}=e;this.removeGraphic(t,i,s,a)}removeGraphic(e,t,i,s){let{currentDiscussionsRef:{unsavedFeatures:a,unsavedRelatedFeatures:r,unsavedExistingFeatures:o}}=this;if(s)if(t)this.currentDiscussionsRef.unsavedRelatedFeatures=[...r.slice(0,i),...r.slice(i+1,r.length)];else{this.currentDiscussionsRef.unsavedFeatures=[...a.slice(0,i),...a.slice(i+1,a.length)];let n=this.unsavedGeometryGraphicsLayer.graphics.getItemAt(i);this.unsavedGeometryGraphicsLayer.graphics.remove(n)}else{let n=d=>{let{attributes:{relatedFeatureId:g,id:v,__index__:y}}=d;return t?t==g:v==e&&(y===null||+i==+y)},h=this.calloutGraphicsLayer.graphics.find(n);h&&(h.visible=!1);let c=this.geometryGraphicsLayer.graphics.find(n);c&&(c.visible=!1);let l=this.postToGeoJSON(null,{id:e,index:+i});this.currentDiscussionsRef.unsavedExistingFeatures=[...o.filter(({properties:{id:d,index:g}})=>!(e===d&&+i==+g)),l]}this.clearHoverActiveGraphics(!0)}handleGeometryDrawCreate(e){let{detail:{post:t,postType:i}}=e;this.sketchPostType=i,this.sketchPostId=t?.id,this.drawRef.buffer=!1,this.drawRef.disablePrimaryOptions=!0,this.drawRef.disableEditOptions=!0,this.drawRef.drawTip=void 0,this.drawRef.enableMapTips=!0}handleGeometryDrawTypeSelect(e){this.mapActionNoticeActive=!0,this.drawRef.setActiveTool(e.detail)}handleGeometryDrawDone(){this.mapActionNoticeActive=!1,this.drawRef.setActiveTool(void 0),this.deletePendingGraphics()}handleGeometryDrawCancel(){this.drawRef.setActiveTool(void 0)}handleActiveToolChange(e){let{detail:t}=e;t&&(this.deletePendingGraphics(),this.arcgisHubMapPopoverClear.emit())}handleGeometryDrawEdit(e){let{detail:{properties:{id:t,index:i,unsaved:s}}}=e;this.preview=!1,this.editGraphic(t,i,s)}editGraphic(e,t,i){let{drawRef:s}=this,{geometry:a}=i?this.unsavedGeometryGraphicsLayer.graphics.getItemAt(t):this.getGraphicById(e,t);this.hideLayers(),this.goTo(a),this.sketchPostId=e,this.sketchIndex=t,this.sketchIsUnsaved=i,this.drawRef.geometry=void 0,setTimeout(()=>{s.geometry=a,s.disablePrimaryOptions=!0,s.disableEditOptions=!1,s.buffer=!1,s.enableMapTips=!0},0)}handlePostEditorReady(e){this.activePost=e.detail}handleGeometryDrawEditCancel(){this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures],this.drawRef.forceReset(),this.showLayers()}handleDrawGraphicsChange(e){var t;let{detail:{graphics:i,save:s,canceled:a,unsaved:r}}=e,{sketchPostId:o,sketchIndex:n,sketchIsUnsaved:h}=this,c=i.getItemAt(0);if(c.geometry=he(c.geometry.clone(),Q(this.view),!1),s&&this.drawRef.disablePrimaryOptions){this.drawRef.disableEditOptions=!0;let l=B(c.geometry),d=O(l);if(h){let v=this.currentDiscussionsRef.unsavedFeatures.map((R,D)=>(D===n&&(R.geometry=d),R));this.currentDiscussionsRef.unsavedFeatures=v;let y=this.unsavedGeometryGraphicsLayer.graphics.getItemAt(n);y.geometry=c.geometry,!((t=y.attributes)===null||t===void 0)&&t.pending&&setTimeout(()=>{this.activeGraphicDetails={id:o,index:n,unsaved:!0,geometry:c.geometry},this.arcgisHubMapPopoverOpen.emit({geometry:c.geometry,view:this.view,render:this.renderPostLocationPrimaryOptions,source:"action"})},150)}else{let v=this.postToGeoJSON(d,{index:n,id:o});this.currentDiscussionsRef.unsavedExistingFeatures=[...this.currentDiscussionsRef.unsavedExistingFeatures.filter(({properties:{index:D}})=>D!==n),v];let y=this.getGraphicById(o,n);this.unsavedExistingGeometry.filter(({id:D,index:C})=>D===o&&C===n).length||this.unsavedExistingGeometry.push({id:o,index:n,geometry:y.geometry.clone()}),y.geometry=c.geometry}this.drawRef.forceReset(),this.showLayers();let g=N(d);this.emitHubTelemetry(w.dictionary.category.content.action.update.label.location.details[g])}else if(a)this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures],this.drawRef.forceReset(),this.showLayers();else if(r){this.drawRef.forceReset(),c.symbol=x[c.geometry.type](b.DEFAULT,this.themeWithDefaults[c.geometry.type]),c.attributes={pending:!0},this.addGraphicsToGraphicsLayer(this.unsavedGeometryGraphicsLayer,[c]);let l=[];i.forEach(d=>{let g=B(d.geometry),v=O(g);l.push({type:"Feature",geometry:v,properties:{id:this.sketchPostId,pending:!0}});let y=N(v);this.emitHubTelemetry(w.dictionary.category.content.action.create.label.location.details[y])}),this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures,...l],setTimeout(()=>{this.activeGraphicDetails={id:o,index:this.unsavedGeometryGraphicsLayer.graphics.length-1,unsaved:!0,geometry:c.geometry},this.arcgisHubMapPopoverOpen.emit({geometry:c.geometry,view:this.view,render:this.renderPostLocationPrimaryOptions,source:"action"})},250)}}handleGeometryDrawReset(){this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures],this.restoreInitialDrawOptions(),this.showLayers()}handleGeometryClearAll(){this.resetStagedFeatures(),this.restoreInitialDrawOptions(),this.showLayers(),this.unsavedGeometryGraphicsLayer.graphics.removeAll();let e=t=>{t.visible=!0};this.geometryGraphicsLayer.graphics.forEach(e),this.calloutGraphicsLayer.graphics.forEach(e),this.mapActionNoticeActive=!1,this.activePost=void 0}async handleMapDrawSelect(e){let{detail:t}=e,{targetLayer:i}=this,{results:s}=await this.view.hitTest(t,{include:i}),a=j(s);if(a?.graphic&&this.drawRef.disableEditOptions){let{graphic:r}=a,o=r.layer.objectIdField,n=r.attributes[o];if(this.cacheRelatedFeatureGeometry([n]),!r.attributes.hasOwnProperty(i.displayField)){let{features:[l]}=await i.queryFeatures({objectIds:[n],outFields:["*"],returnGeometry:!1});l&&(r.attributes=l.attributes)}let h=this.currentDiscussionsRef.unsavedRelatedFeatures.map(l=>l.objectId),c=this.renderAddLocation;h.includes(n)&&(c=this.renderRemoveLocation),this.selectedGraphic=r,this.drawRef.enableMapTips=!1,this.arcgisHubMapPopoverOpen.emit({geometry:r.geometry,view:this.view,render:c,source:"action"}),this.highlightGraphic(r)}else this.selectedGraphic=null,this.drawRef.enableMapTips=!0,this.highlightGraphic()}handleDiscussionsClose(e){(e.target===this.onMapDiscussionsRef||e.target===this.onMapDiscussionsPreviewRef)&&(this.activeMapDiscussion=void 0,this.preview=!1,this.clearHoverActiveGraphics(!0))}addRelatedFeature(){let e=this.selectedGraphic.layer.objectIdField,t=this.selectedGraphic.attributes[e];this.selectedGraphic.geometry=B(this.selectedGraphic.geometry);let i={postId:this.sketchPostId,objectId:t,feature:O(this.selectedGraphic.toJSON())};this.currentDiscussionsRef.unsavedRelatedFeatures=[...this.currentDiscussionsRef.unsavedRelatedFeatures,i],this.highlightGraphic(),this.arcgisHubMapPopoverClear.emit(),this.drawRef.enableMapTips=!0,this.emitHubTelemetry(w.dictionary.category.interaction.action.select.label.content)}removeRelatedFeature(){let{currentDiscussionsRef:{unsavedRelatedFeatures:e}}=this,t=this.selectedGraphic.layer.objectIdField,i=this.selectedGraphic.attributes[t],s=this.currentDiscussionsRef.unsavedRelatedFeatures.findIndex(a=>a.objectId==i);this.currentDiscussionsRef.unsavedRelatedFeatures=[...e.slice(0,s),...e.slice(s+1,e.length)],this.cancelAddRelatedFeature(),this.emitHubTelemetry(w.dictionary.category.interaction.action.deselect.label.content)}cancelAddRelatedFeature(){this.arcgisHubMapPopoverClear.emit(),this.selectedGraphic=null,this.drawRef.enableMapTips=!0,this.clearHighlights()}setDiscussionsRefHasMap(e){this.discussionsRef&&(this.discussionsRef.hasMap=e)}teardown(){this.clearHighlights(),this.removeViewHandlers(),this.removeLayers(),this.resetSelect(),this.setDiscussionsRefHasMap(!1)}async fetchSubject(){let{discussion:e,entity:t,entityId:i,entityType:s,_context:a,discussionSettings:r}=this,o=await te({discussion:e,entity:t,entityId:i,entityType:s,discussionSettings:r},a.hubRequestOptions,!0);Object.assign(this,o)}fetchPosts(){ge(this.searchParams,this._context.hubRequestOptions).then(e=>{e?.features&&(this.cachedFeatures=e.features,this.initialized&&this.refreshFeatures(e.features))})}addGeometryGraphicsLayer(){this.geometryGraphicsLayer=new k({graphics:[],elevationInfo:{mode:"on-the-ground"}}),this.view.map.add(this.geometryGraphicsLayer),this.layerIds.push(this.geometryGraphicsLayer.id)}addStagedGeometryGraphicsLayer(){this.unsavedGeometryGraphicsLayer=new k({graphics:[],elevationInfo:{mode:"on-the-ground"}}),this.view.map.add(this.unsavedGeometryGraphicsLayer),this.layerIds.push(this.geometryGraphicsLayer.id)}addCalloutGraphicsLayer(){this.calloutGraphicsLayer=new k({graphics:[],effect:"drop-shadow(0px, 2px, 8px, rgba(0, 0, 0, .20))",elevationInfo:{mode:"relative-to-ground"}}),this.view.map.add(this.calloutGraphicsLayer),this.layerIds.push(this.calloutGraphicsLayer.id),this.mapPointerMoveHandler=this.view.on("pointer-move",this.handlePointerMove),this.mapClickDiscussionsHandler=this.view.on("click",this.handleMapClickDiscussions)}addHighlightGraphicsLayer(){this.highlightGraphicsLayer=new k({graphics:[],elevationInfo:{mode:"relative-to-ground"}}),this.view.map.add(this.highlightGraphicsLayer),this.layerIds.push(this.highlightGraphicsLayer.id)}addHighlightGraphic(e,t,i,s){var a,r,o;let{themeWithDefaults:n,highlightGraphicsLayer:h,persistAttribute:c,is3D:l}=this,d=t.clone();if(e)d.symbol=x.callout(i,Object.assign(Object.assign({},n.callout),{isOffset:(a=t?.attributes)===null||a===void 0?void 0:a.isOffset,is3D:l}),(r=d.attributes)===null||r===void 0?void 0:r.totalCount);else if(!((o=t?.geometry)===null||o===void 0)&&o.type){let g=t.geometry.type;d.symbol=x[t.geometry.type](i,Object.assign({},n[g])),this.clearHoverActiveGraphics(s)}d.attributes=Object.assign(Object.assign({},d.attributes),{[c]:s}),h.add(d)}setCalloutSymbolOnPointerMove(e){this.view.hitTest(e,{include:this.calloutGraphicsLayer}).then(t=>{if(this.clearHoverActiveGraphics(!1),t.results.length){let i=j(t.results),{graphic:s}=i;this.addHighlightGraphic(!0,s,b.HOVER,!1)}})}setLocationEditPopover(e){this.view.hitTest(e,{include:[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer]}).then(t=>{if(t.results.length){let{results:[i]}=t,s=i.layer===this.unsavedGeometryGraphicsLayer,a=i.layer===this.geometryGraphicsLayer,r,o,n;if(s){let h=this.unsavedGeometryGraphicsLayer.graphics.findIndex(c=>c===i.graphic);r=void 0,o=h,n=!0}if(a&&this.activePost){let{id:h}=this.activePost,{graphic:{attributes:{id:c,__index__:l}}}=i,d=l||null;h===c&&(r=h,o=d,n=!1)}if(o!==void 0){let{geometry:h,attributes:c}=i.graphic;this.activeGraphicDetails={id:r,index:o,unsaved:n,geometry:h};let l=c?.pending?this.renderPostLocationPrimaryOptions:this.renderPostLocationEditOptions;this.arcgisHubMapPopoverOpen.emit({geometry:h,view:this.view,render:l,source:"action"})}}})}publishPendingGraphics(){this.unsavedGeometryGraphicsLayer.graphics.forEach(e=>{e.attributes.pending&&delete e.attributes.pending}),this.currentDiscussionsRef.unsavedFeatures=this.currentDiscussionsRef.unsavedFeatures.map(e=>(e.properties.pending&&delete e.properties.pending,e))}deletePendingGraphics(){let e=this.unsavedGeometryGraphicsLayer.graphics.find(t=>{var i;return(i=t.attributes)===null||i===void 0?void 0:i.pending});this.unsavedGeometryGraphicsLayer.remove(e),this.currentDiscussionsRef&&(this.currentDiscussionsRef.unsavedFeatures=this.currentDiscussionsRef.unsavedFeatures.filter(t=>t.properties.pending?!t.properties.pending:!0))}removeLayers(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer,this.highlightGraphicsLayer].forEach(e=>this.removeLayer(e))}hideLayers(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer,this.highlightGraphicsLayer].forEach(e=>e.opacity=.1)}showLayers(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer,this.highlightGraphicsLayer].forEach(e=>e.opacity=1)}removeLayer(e){e&&e.destroy()}emptyFeatures(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer].forEach(e=>e.removeAll())}addGraphicsToGraphicsLayer(e,t){e.addMany(t)}async refreshFeatures(e){this.emptyFeatures(),this.resetSelect(),e.forEach(d=>{var g;return d.properties.totalCount=(g=d.properties.replyCount)!==null&&g!==void 0?g:0});let t=({geometry:d})=>!!d,i=e.map(this.makeGraphic).filter(t),s=e.map(this.makeCalloutGraphic).filter(t),a=({properties:d})=>!!H(d.discussion).features,r=e.filter(a),o=Array.from(new Set(r.map(({properties:{discussion:d}})=>H(d).features.map(g=>g)).flat()));await this.cacheRelatedFeatureGeometry(o);let n=[],h=[];for(let d of r){if(h.includes(d.properties.id))continue;h.push(d.properties.id);let{properties:g}=d,{features:v}=H(g.discussion);g.totalCount=0,v.forEach(y=>{var R;let D=({properties:{relatedFeatureId:G}})=>G==y,C=n.find(D);if(C){let{properties:G}=C,oe=((R=g.totalCount)!==null&&R!==void 0?R:0)+1;G.totalCount+=oe}else try{let G=this.getRelatedFeature(y);G.properties=Object.assign(Object.assign({},d.properties),{relatedFeatureId:y}),n.push(G)}catch(G){console.warn("Failed to access post related feature:",G.message)}})}let c=n.map(this.makeCalloutGraphic),l=[...s,...c];this.addGraphicsToGraphicsLayer(this.geometryGraphicsLayer,i),this.addGraphicsToGraphicsLayer(this.calloutGraphicsLayer,l),this.activeFeature&&(this.selectFeature(this.activeFeature),this.activeFeature=void 0)}pointToExtent(e,t=.0025){let{x:i,y:s,spatialReference:a}=e;return new ne({xmin:i-t,ymin:s-t,xmax:i+t,ymax:s+t,spatialReference:a})}goTo(e){if(!this.view)return;let t=e;t.geometry&&t.geometry.type==="point"&&(t=this.pointToExtent(t.geometry)),t.extent&&(t=t.extent.clone().expand(2)),this.view.goTo({target:t},{duration:1e3}).catch(i=>{ce(i)||console.error("Failed to zoom map to target feature or extent:",i.message)})}postToGeoJSON(e,t){return{type:"Feature",geometry:e,properties:t}}makeGraphic(e){var t;let i=W(e),s=J.fromJSON(i);return!((t=s?.geometry)===null||t===void 0)&&t.type&&(s.symbol=x[s.geometry.type](b.DEFAULT,this.themeWithDefaults[s.geometry.type])),s}makeCalloutGraphic(e){var t;let{is3D:i}=this,{callout:s}=x,{geometry:a,properties:r}=e,[o,n]=a.coordinates.flat(1/0),h=!r.relatedFeatureId&&e.geometry.type==="Point",c=W({type:"Feature",geometry:{type:"Point",coordinates:[o,n]},properties:Object.assign(Object.assign({},r),{replyCount:r.replyCount||0,isOffset:h})}),l=J.fromJSON(c);return l.symbol=s(b.DEFAULT,Object.assign(Object.assign({},this.themeWithDefaults.callout),{isOffset:h,is3D:i}),(t=e.properties)===null||t===void 0?void 0:t.totalCount),l}getRelatedFeature(e){return{type:"Feature",geometry:this.cachedRelatedFeatureGeometry[e].geojson,properties:{}}}async cacheRelatedFeatureGeometry(e){let{cachedRelatedFeatureGeometry:t,targetLayer:i}=this;if(!i){console.warn("Discussions service layer not defined; ingnoring related features");return}let s=Object.keys(t),a=e.filter(r=>!s.includes(`${r}`));if(a.length){let r={where:"1=1",objectIds:a.map(n=>+n),returnGeometry:!0,outSpatialReference:{wkid:4326},outFields:[this.targetLayer.objectIdField,this.targetLayer.displayField]},{features:o}=await this.targetLayer.queryFeatures(r);o.forEach(({geometry:n,attributes:h})=>{let c=O(n);this.cachedRelatedFeatureGeometry[h[this.targetLayer.objectIdField]]={arcgis:n,geojson:c}})}}getMatchingGraphic(e){let{properties:{id:t,relatedFeatureId:i,index:s,unsaved:a}}=e,r;return i&&this.cachedRelatedFeatureGeometry[i]?r=new J({geometry:this.cachedRelatedFeatureGeometry[i].arcgis}):r=a?this.unsavedGeometryGraphicsLayer.graphics.getItemAt(s):this.getGraphicById(t,s),r}getGraphicById(e,t){return this.geometryGraphicsLayer.graphics.find(({attributes:{id:s,__index__:a}})=>{let r=t!==null?t==a:!0;return s===e&&r})}highlightGraphic(e){this.clearHighlights(),e&&this.view.whenLayerView(e.layer).then(t=>{this.highlightHandle=t.highlight(e)})}clearHighlights(){this.highlightHandle&&(this.highlightHandle.remove(),this.highlightHandle=null)}clearHoverActiveGraphics(e){let{persistAttribute:t,highlightGraphicsLayer:i}=this;if(e)i.removeAll();else{let s=i.graphics.filter(({attributes:a})=>!a[t]);i.removeMany(s.toArray())}}removeViewHandlers(){[this.mapPointerMoveHandler,this.mapClickDiscussionsHandler,this.mapViewSizeChangeHandler,this.mapViewCenterChangeHandler].forEach(e=>{e&&(e.remove(),e=null)})}resetSelect(){this.clearHighlights()}saveInitialDrawOptions(){let{drawRef:{buffer:e,disableEditOptions:t,disablePrimaryOptions:i,enableMapTips:s}}=this;this.initialDrawOptions={buffer:e,disableEditOptions:t,disablePrimaryOptions:i,enableMapTips:s}}restoreInitialDrawOptions(){let{initialDrawOptions:{buffer:e,disableEditOptions:t,disablePrimaryOptions:i,enableMapTips:s}}=this;this.drawRef.buffer=e,this.drawRef.disableEditOptions=t,this.drawRef.disablePrimaryOptions=i,this.drawRef.enableMapTips=s,this.drawRef.setActiveTool(void 0),this.drawRef.forceReset()}resetStagedFeatures(){this.currentDiscussionsRef.unsavedFeatures=[],this.currentDiscussionsRef.unsavedRelatedFeatures=[],this.currentDiscussionsRef.unsavedExistingFeatures=[],this.unsavedExistingGeometry.forEach(({id:e,index:t,geometry:i})=>{let s=this.getGraphicById(e,t);s.geometry=i}),this.unsavedExistingGeometry=[]}handleMapClickDiscussions(e){this.view.hitTest(e,{include:[this.calloutGraphicsLayer]}).then(t=>{if(t.results.length){this.searchRef&&(this.searchRef.active=!1),this.preview=!1,this.clearHoverActiveGraphics(!0);let i=j(t.results),{graphic:s}=i;this.graphicGeometry=s.geometry,this.isOffset=s.attributes.isOffset;let{attributes:{parentId:a,channelId:r,id:o,relatedFeatureId:n}}=s;if(n){let h=n;this.activeMapDiscussion={channelId:r,locationId:h}}else this.activeMapDiscussion={channelId:r,postId:a?o:void 0,parentId:a||o};this.addHighlightGraphic(!0,s,b.ACTIVE,!0),setTimeout(()=>{this.preview=!0},0)}})}handleViewSizeChange(){let{view:{height:e,width:t}}=this;this.viewHeight=e,this.viewWidth=t}handlePointerMove(e){this.setCalloutSymbolOnPointerMove(e),this.setLocationEditPopover(e)}handleEditActiveGraphic(){let{id:e,index:t,unsaved:i}=this.activeGraphicDetails;this.editGraphic(e,t,i)}handleDeleteActiveGraphic(){let{id:e,index:t,unsaved:i}=this.activeGraphicDetails;this.removeGraphic(e,null,t,i),this.arcgisHubMapPopoverClear.emit()}handlePostPendingGraphic(){this.publishPendingGraphics(),this.arcgisHubMapPopoverClear.emit(),this.currentDiscussionsRef.unsavedFeatures.length===1&&(this.drawRef.drawTip=this.intl.t("draw.tip"))}get searchParams(){var e;let t={channels:(e=this.discussionSettings)===null||e===void 0?void 0:e.allowedChannelIds,discussion:this.discussion};return Object.entries(t).reduce((i,[s,a])=>a?Object.assign(Object.assign({},i),{[s]:a}):i,{})}get currentDiscussionsRef(){return this.activeMapDiscussion?this.onMapDiscussionsRef:this.discussionsRef}get themeWithDefaults(){let{theme:e}=this,t={};return["point","polyline","polygon","callout"].forEach(i=>{t[i]=Object.assign(Object.assign({},X[i]),e[i])}),t}get is3D(){let{view:e}=this;return e.hasOwnProperty("camera")}get targetLayer(){return this.view.map.allLayers.filter(e=>e.type==="feature"&&!this.layerIds.includes(e.id)).getItemAt(0)}get styles(){let{view:e,viewWidth:t,viewHeight:i,leftOffset:s,topOffset:a,previewHeight:r,preview:o}=this,n={};if(e){let{container:h}=e;if(!h)return;let{top:c,left:l,right:d,bottom:g}=h.getBoundingClientRect();n={"--left-offset":`${s??0}px`,"--top-offset":`${a??0}px`,"--panel-left":`${l??0}px`,"--panel-height":`${o?(i??0)-(r??0):(g??0)-(c??0)}px`,"--panel-width":`${(d??0)-(l??0)}px`,"--view-width":`${t??0}px`,"--view-height":`${i??0}px`}}return n}renderAddLocation(){let{intl:e,sketchPostType:t}=this;return u($,null,u("calcite-action-group",null,u("calcite-action",{icon:"check",onClick:this.addRelatedFeature,text:e.t(`prompt.add.${t}`),textEnabled:!0})),u("calcite-action-group",null,u("calcite-action",{icon:"undo",onClick:this.cancelAddRelatedFeature,text:e.t("prompt.remove.existing"),textEnabled:!0})))}renderRemoveLocation(){return u("calcite-action-pad",{"expand-disabled":!0,expanded:!0,layout:"horizontal"},u("calcite-action",{icon:"trash",onClick:this.removeRelatedFeature,text:this.intl.t("location.remove"),textEnabled:!0}))}renderPostLocationPrimaryOptions(){let{activeGraphicDetails:{geometry:{type:e}},intl:t,sketchPostType:i}=this;return u($,null,u("calcite-action-group",null,u("calcite-action",{icon:"check",onClick:this.handlePostPendingGraphic,text:t.t(`prompt.add.${i}`),"text-enabled":!0})),u("calcite-action-group",null,u("calcite-action",{icon:e==="point"?"move":"pencil",onClick:this.handleEditActiveGraphic,text:t.t(`prompt.edit.${e}`),"text-enabled":!0}),u("calcite-action",{icon:"trash",onClick:this.handleDeleteActiveGraphic,text:t.t(`prompt.remove.${e}`),"text-enabled":!0})))}renderPostLocationEditOptions(){let{intl:e}=this;return u("calcite-action-pad",{"expand-disabled":!0,layout:"horizontal"},u("calcite-action",{icon:"pencil",onClick:this.handleEditActiveGraphic,text:e.t("prompt.location.edit")}),u("calcite-action",{icon:"trash",onClick:this.handleDeleteActiveGraphic,text:e.t("prompt.location.delete")}))}renderMapDiscussion(){let{activeMapDiscussion:e,discussion:t,isHub:i,entityId:s,entity:a,entityType:r,showChannelAvatar:o,showChannelName:n,discussionSettings:h}=this;return this.preview?u("arcgis-hub-discussions-map-preview",{channelId:e.channelId,discussion:t,locationId:e.locationId,parentId:e.postId?e.parentId:void 0,postId:e.postId||e.parentId,ref:c=>{this.onMapDiscussionsPreviewRef=c},showChannelAvatar:o}):u("arcgis-hub-discussions",{channelId:e.channelId,disableNavigation:!e.locationId,discussion:t,discussionSettings:h,dismissible:!0,enableGoTo:!0,entity:a,entityId:s,entityType:r,hasMap:!0,isHub:i,locationId:e.locationId,parentId:e.parentId,postId:e.postId,ref:c=>{this.onMapDiscussionsRef=c},showChannelAvatar:o,showChannelName:n})}render(){let{activeMapDiscussion:e,styles:t,view:i,mapActionNoticeActive:s}=this;return u(S,{key:"ce412a38001cdec7c0839f6e168e1cc9615d0d3a","data-element":"discussions-map-integrator",style:t},e&&this.renderMapDiscussion(),i&&s&&u("arcgis-hub-discussions-map-action-notice",{view:i}))}static get assetsDirs(){return["locales"]}get element(){return E(this)}static get watchers(){return{_context:["initialize"],view:["attachView"],discussionsRef:["attachdiscussionsRef"],drawRef:["handleDrawRefUpdate"],preview:["calculateOffsets"],previewHeight:["calculateOffsets"]}}};m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryGoTo",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryFeature",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryFeatureDeleted",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryFeatureSelect",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryFeatureHighlight",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleFeatureRemove",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawCreate",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawTypeSelect",null);m([f({when(e){return e.target===this.drawRef}})],p.prototype,"handleActiveToolChange",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawEdit",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handlePostEditorReady",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawEditCancel",null);m([f({when(e){return e.target===this.drawRef}})],p.prototype,"handleDrawGraphicsChange",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawReset",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryClearAll",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleDiscussionsClose",null);m([F({timeout:50})],p.prototype,"setLocationEditPopover",null);m([f({when(e){return e}}),F({timeout:50})],p.prototype,"refreshFeatures",null);m([f({when(){return this.geometryGraphicsLayer}})],p.prototype,"getGraphicById",null);m([f({when(){return this.highlightGraphicsLayer}})],p.prototype,"clearHoverActiveGraphics",null);m([f({when(){return this.drawRef}})],p.prototype,"saveInitialDrawOptions",null);m([f({when(){return this.drawRef&&this.initialDrawOptions}})],p.prototype,"restoreInitialDrawOptions",null);m([f({when(){return this.currentDiscussionsRef}})],p.prototype,"resetStagedFeatures",null);m([f({when(){return!this.mapActionNoticeActive}})],p.prototype,"handleMapClickDiscussions",null);m([F({timeout:50})],p.prototype,"handleViewSizeChange",null);m([F({timeout:15})],p.prototype,"handlePointerMove",null);m([f({when(){return!!(this.drawRef&&!this.drawRef.geometry)}})],p.prototype,"renderPostLocationPrimaryOptions",null);m([f({when(){return!!(this.drawRef&&!this.drawRef.geometry)}})],p.prototype,"renderPostLocationEditOptions",null);p.style=fe;function ye(e){return[{key:"point",text:e.t("point"),sourceIndex:0},{key:"rectangle",text:e.t("rectangle"),sourceIndex:0},{key:"draw",text:e.t("draw"),sourceIndex:0}]}var ve=":host{display:block}arcgis-hub-map-widget-search calcite-dropdown{position:absolute}arcgis-hub-map-widget-search calcite-input{width:var(--width)}arcgis-hub-map-widget-search calcite-dropdown-group{width:var(--width)}.hub-widget-search.top{position:absolute;width:var(--width)}.hub-widget-search.right{right:100%;margin-right:1rem}.hub-widget-search.left{left:100%;margin-left:1rem}",we=ve,re=function(e,t,i,s){var a=arguments.length,r=a<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,s);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(r=(a<3?o(r):a>3?o(t,i,r):o(t,i))||r);return a>3&&r&&Object.defineProperty(t,i,r),r},U=class{get inputScale(){return this.scale==="s"?"m":"l"}constructor(e){_(this,e),this.arcgisHubGeometryResultSelection=I(this,"arcgisHubGeometryResultSelection",7),this.arcgisHubWidgetPanelToggled=I(this,"arcgisHubWidgetPanelToggled",7),this.hubTelemetry=I(this,"hubTelemetry",7),this.tools=void 0,this.scale="m",this.view=void 0,this.searchViewModelProperties={},this.active=void 0,this.openMenuOnSearchSelection=!1,this.completeValidSearch=void 0,this.loading=void 0,this.suggestions=[],this.value=void 0,this.width="25rem",M(this,"handleSetInputRef","searchIfEnter","toggleActive","setInputWidth")}async componentWillLoad(){let{el:e}=this,t=e&&e.closest("arcgis-hub-map-widget-container");this.viewPosition=t?.viewPosition,this.intl=await P.loadIntlForComponent(e),await this.connectViewModel()}connectedCallback(){this.connectWatch()}disconnectedCallback(){this.removeWatch()}componentDidLoad(){V()}handleViewChange(e,t){e&&e!==t&&(this.removeWatch(),this.connectViewModel().then(()=>{this.connectWatch()}))}handleActiveChange(e){let{hubTelemetry:t}=this,i=e?w.dictionary.category.interaction.action.open.label.search:w.dictionary.category.interaction.action.close.label.search;t.emit(i),this.setInputWidth()}handleValueChange(){let{value:e,searchViewModel:t}=this;t&&e===""&&t.clear()}handleSearchViewModelChange(){this.connectViewModel()}handlePanelToggled(e){let{target:t,detail:i}=e,{el:s}=this;t!==s&&!i&&(this.active=!1)}onCalciteAutocompleteClose(e){let t=e.target.value;this.completeValidSearch?(t!=="draw"&&this.arcgisHubGeometryResultSelection.emit({geometry:this._getGeometry(t),userSelection:t,locationName:T(this.completeValidSearch,"results[0].results[0].name")}),this.suggestions=[]):(this.selectedKey=t,this.value=this.selected.text,this.search())}onCalciteAutocompleteTextChange(e){this.value=e.target.inputValue}onCalciteAutocompleteTextInput(e){this.value=e.target.inputValue,this.value&&this.getSuggestions()}async handleSetInputRef(e){e&&(this.inputEl=e,await e.setFocus())}async getSuggestions(){let{value:e,completeValidSearch:t,hubTelemetry:i,searchViewModel:s}=this;i.emit(Object.assign(Object.assign({},w.dictionary.category.interaction.action.search.label.query),{search:e}));let{results:[a]}=await s.suggest(e);t?this.completeValidSearch=null:this.suggestions=a?.results||[]}_getGeometry(e){let t;switch(e){case"point":t=T(this.completeValidSearch,"results[0].results[0].feature.geometry");break;case"rectangle":t=T(this.completeValidSearch,"results[0].results[0].extent");break}return t}async search(){let{value:e,hubTelemetry:t,searchViewModel:i}=this;this.loading=!0;let s=this.selected||e,a=await i.search(s);t.emit(Object.assign(Object.assign({},w.dictionary.category.interaction.action.zoom.label.to),{details:a?.searchTerm})),this.loading=!1,this.selectedKey=null,setTimeout(()=>{this.completeValidSearch=a?.numResults===1?a:null,this.tools&&this.completeValidSearch?this.addLocationType():this.suggestions=[],this.openMenuOnSearchSelection&&(this.inputEl.open=!0)},150)}addLocationType(){let e=ye(this.intl).filter(t=>this.isValidLocationType(t.key+""));this.suggestions=e.length===1?[]:e}isValidLocationType(e){return this.tools.includes(e)&&!!this._getGeometry(e)||e==="draw"}searchIfEnter(e){let{key:t}=e;t==="Enter"&&this.search()}toggleActive(){let{active:e,arcgisHubWidgetPanelToggled:t}=this;this.active=!e,t.emit(e)}connectWatch(){let{view:e}=this;e&&(this.handle=L(()=>e.size,this.setInputWidth))}removeWatch(){let{handle:e}=this;e&&e.remove(),this.handle=void 0}async connectViewModel(){let{view:e}=this;e&&(await e.when(),this.searchViewModel=new le(Object.assign({autoSelect:!0,suggestionsEnabled:!0,maxResults:1,maxSuggestions:5,minSuggestCharacters:3,view:e},this.searchViewModelProperties)))}setInputWidth(){let{inputEl:e,view:{size:t}}=this;if(!e)return;let[i]=t;this.width=i<600?`${i*.65}px`:"25rem"}get positionClass(){let{viewPosition:e}=this;if(e)return`hub-widget-search ${e.split("-").join(" ")}`}get selected(){let{suggestions:e,selectedKey:t}=this;return e.filter(({key:i})=>i===t).pop()}get styles(){let{width:e}=this;return{"--width":e}}render(){let{value:e,loading:t,scale:i,active:s,styles:a}=this,r=this.intl.t("textOpen"),o=this.intl.t("textClose"),n=this.intl.t("placeholder");return u(S,{key:"e6f2f99d38252ee605da42ac7444c1081c6040a0","data-element":"map-widget-search",style:a},this.active&&u("section",{class:this.positionClass},u("calcite-autocomplete",{icon:"search",loading:t,onKeyPress:this.searchIfEnter,placeholder:n,ref:this.handleSetInputRef,scale:this.inputScale,value:e},this.suggestions.map(h=>u("calcite-autocomplete-item",{handle:!0,heading:h.text,key:h.key,value:h.key})))),u("arcgis-hub-map-widget-generic",{key:"75d5010ec337ce13d5e3cae92b2057a89f1bf843",active:s,"data-test":"map-widget-search",icon:"search",onClick:this.toggleActive,scale:i,text:s?o:r}))}static get assetsDirs(){return["locales"]}get el(){return E(this)}static get watchers(){return{view:["handleViewChange"],active:["handleActiveChange"],value:["handleValueChange"],searchViewModelProperties:["handleSearchViewModelChange"]}}};re([F({timeout:150})],U.prototype,"getSuggestions",null);re([F({timeout:25})],U.prototype,"setInputWidth",null);U.style=we;var be="",Ge=be,Ie=class{constructor(e){_(this,e),this.hubTelemetry=I(this,"hubTelemetry",7),this.handles=[],this.view=void 0,this.scale="m",this.canZoomIn=void 0,this.canZoomOut=void 0,M(this,"zoomIn","zoomOut","updateCanZoomIn","updateCanZoomOut")}async componentWillLoad(){let{el:e}=this;this.intl=await P.loadIntlForComponent(e),await this.connectViewModel(),this.connectWatch(),V()}connectedCallback(){this.connectWatch()}disconnectedCallback(){this.removeWatch()}handleViewChange(e,t){e&&e!==t&&(this.removeWatch(),this.connectViewModel().then(()=>{this.connectWatch()}))}connectWatch(){let{view:e,handles:t,zoomViewModel:i}=this;e&&i&&t.push(L(()=>i.canZoomIn,this.updateCanZoomIn),L(()=>i.canZoomOut,this.updateCanZoomOut))}removeWatch(){let{handles:e}=this;e.forEach(t=>{t.remove()}),this.handles=[]}async connectViewModel(){let{view:e}=this;if(e){await e.when(),this.zoomViewModel=new de({view:e});let{canZoomIn:t,canZoomOut:i}=this.zoomViewModel;this.canZoomIn=t,this.canZoomOut=i}}updateCanZoomIn(e){this.canZoomIn=e}updateCanZoomOut(e){this.canZoomOut=e}zoomIn(){let{zoomViewModel:e,canZoomIn:t,view:i}=this;e&&t&&(e.zoomIn(),this.hubTelemetry.emit(Object.assign(Object.assign({},w.dictionary.category.interaction.action.zoom.label.in),{details:i.zoom})))}zoomOut(){let{zoomViewModel:e,canZoomOut:t,view:i}=this;e&&t&&(this.zoomViewModel.zoomOut(),this.hubTelemetry.emit(Object.assign(Object.assign({},w.dictionary.category.interaction.action.zoom.label.out),{details:i.zoom})))}render(){let{zoomIn:e,zoomOut:t,canZoomIn:i,canZoomOut:s,scale:a}=this,r=this.intl.t("zoomIn"),o=this.intl.t("zoomOut");return u(S,{key:"72e18144a87ea9afdaa5c213bb1fec9417e60518","data-element":"map-widget-zoom"},u("arcgis-hub-map-widget-generic",{key:"d4500ad8e952c706e5f8452cc5826e5dd893e922","data-test":"map-widget-zoom-in",disabled:!i,icon:"plus",onClick:e,scale:a,text:r}),u("arcgis-hub-map-widget-generic",{key:"35705de04180d659268f4312a15d57e2bdc9dd5e","data-test":"map-widget-zoom-out",disabled:!s,icon:"minus",onClick:t,scale:a,text:o}))}static get assetsDirs(){return["locales"]}get el(){return E(this)}static get watchers(){return{view:["handleViewChange"]}}};Ie.style=Ge;return{arcgis_hub_discussions_map_integrator:p,arcgis_hub_map_widget_search:U,arcgis_hub_map_widget_zoom:Ie}},"layers/GraphicsLayer","core/reactiveUtils","geometry/support/webMercatorUtils","geometry/Extent","Graphic","core/promiseUtils","geometry/geometryEngine","widgets/Search/SearchViewModel","widgets/Zoom/ZoomViewModel","config",a,c,d)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.30/esri/copyright.txt for details.
3
- v0.30.0 */
4
- import{c as d,g as f}from"./4ZXWYK5P.js";import"./JVQMYCIY.js";import"./54WB3IU4.js";import{o as l}from"./K6XGMBR4.js";import"./PZSRLS3L.js";import"./MJYV5IXC.js";import"./EM4HYB7A.js";import{a as h}from"./TBLUKTMV.js";import{a as u}from"./IBLNQKXS.js";import"./VTUF6UAI.js";import"./IX6UFPYX.js";import{a as i}from"./NCJJX6CX.js";import"./WNV7HOFY.js";import{b as a,c as p,d as g,e as n,i as m}from"./TYDQLBO3.js";import"./ID5TNWNP.js";import"./IBFCH3JO.js";import"./KCSAZ4DI.js";import"./VGEUTORO.js";import"./3BEZVOSX.js";var w={type:"object",properties:{workspace:{type:"boolean",default:!0}}},k={type:"Layout",elements:[{labelKey:"workspaceLabel",scope:"/properties/workspace",type:"Control",options:{control:"hub-field-input-switch",helperText:{labelKey:"workspaceHelper",placement:"bottom"},scale:"m"}}]},C=":host{display:block}.user-settings-footer{display:flex;width:-moz-fit-content;width:fit-content;flex-direction:column;gap:0.25rem}",S=C,x=class{constructor(t){m(this,t),this.hubTelemetry=n(this,"hubTelemetry",7),this.userSettingsChange=n(this,"userSettingsChange",7),this.values={},h(this,"translationFunc","handleEntityEditorChange","onViewWorkspacesClick")}get context(){return d()}get showUserWorkspaceButton(){return l("hub:feature:workspace:user",this.context).access}async handleEntityEditorChange(t){Object.keys(t.detail.values).forEach(e=>{let y=this.settings.features[e],o=t.detail.values[e];if(o!==y){if(i.dictionary.category.users.action.update.label[e]){let c=i.dictionary.category.users.action.update.label[e].details.enabled;o===!1&&(c=i.dictionary.category.users.action.update.label[e].details.disabled),this.hubTelemetry.emit(c)}this.settings.features[e]=o}});let s="success";try{await this.context.updateUserHubSettings(this.settings)}catch{s="fail"}let r=()=>{this.userSettingsChange.emit()},b={title:this.intl.t(`${s}Title`),message:"",configuration:{noticeType:"alert",kind:s==="success"?"success":"danger",autoClose:!0,autoCloseDuration:"fast",label:this.intl.t(`${s}Label`)},callbacks:{onClose(){r()}}};f(b)}async componentWillLoad(){this.intl=await u.loadIntlForComponent(this.element),this.context&&(this.settings=this.context.userHubSettings,this.settings.features||(this.settings.features={workspace:!0}),Object.keys(this.settings.features).forEach(t=>{this.values[t]=this.settings.features[t]}))}translationFunc(t,s,r){return this.intl.t(t,s,r)}onViewWorkspacesClick(){this.hubTelemetry.emit(i.dictionary.category.navigation.action.view.label.workspace.details.users)}render(){return a(p,{key:"a1f2f23ceff3a135f3fabb84bde29bda7b5d2068","data-element":"user-settings",scale:"m"},a("arcgis-configuration-editor",{key:"214b8060490665c9cb45aca2c88d9c42b8d5f3e3",onArcgisConfigurationEditorChange:this.handleEntityEditorChange,schema:w,t:this.translationFunc,uiSchema:k,values:this.values}),a("div",{key:"ffcfb304bf3ce35db5fd2f3d3bba56bc835a6ef7",class:"user-settings-footer"},this.showUserWorkspaceButton&&a("calcite-button",{href:"/workspace/users/self",onClick:this.onViewWorkspacesClick,round:!0},this.intl.t("viewWorkspace"))))}static get assetsDirs(){return["locales"]}get element(){return g(this)}};x.style=S;export{x as arcgis_hub_user_settings};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.30/esri/copyright.txt for details.
3
- v0.30.0 */
4
- import"./3BEZVOSX.js";var a={chart:"Gr\xE0fic",barChart:"Gr\xE0fic de barres",lineChart:"Gr\xE0fic de l\xEDnies",pieChart:"Gr\xE0fic circular",histogram:"Histograma",scatterplot:"Gr\xE0fic de dispersi\xF3",boxPlot:"Diagrama de caixa"},e={mean:"Mitjana",median:"Mediana",sum:"Suma",discretePercentile:"Percentil discret",minimum:"M\xEDnim",maximum:"M\xE0xim",variance:"Vari\xE0ncia",count:"Recompte",aggregation:"${ statistics } de ${ fieldName }",noAggregation:"Sense agregaci\xF3"},i="Gr\xE0fic",t="Recompte de s\xE8ries",s="Eix X",r="No disponible",c={start:"Ajusta al primer punt de dades",end:"Ajusta a l'\xFAltim punt de dades"},n={chartType:a,statistics:e,defaultTitle:i,countSeries:t,xAxis:s,notAvailable:r,timeAggregationTypes:c};export{a as chartType,t as countSeries,n as default,i as defaultTitle,r as notAvailable,e as statistics,c as timeAggregationTypes,s as xAxis};