@esri/hub-web-components 0.29.2 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/25BYF63B.js +4 -0
- package/dist/cdn/27AOA44G.js +4 -0
- package/dist/cdn/27OU6N62.js +4 -0
- package/dist/cdn/27ZKGX4E.js +4 -0
- package/dist/cdn/2A23FFAU.js +4 -0
- package/dist/cdn/2ANAJEFL.js +4 -0
- package/dist/cdn/2BHYNZFI.js +4 -0
- package/dist/cdn/2CJO4RMM.js +4 -0
- package/dist/cdn/2DNKSGCW.js +4 -0
- package/dist/cdn/2E2NZKI5.js +4 -0
- package/dist/cdn/2FSTMVHA.js +4 -0
- package/dist/cdn/2IFTE6RM.js +4 -0
- package/dist/cdn/2LH5ONSB.js +4 -0
- package/dist/cdn/2LI5BYBZ.js +4 -0
- package/dist/cdn/2NPEZ37C.js +4 -0
- package/dist/cdn/2RHCDESQ.js +4 -0
- package/dist/cdn/2ROH52OO.js +4 -0
- package/dist/cdn/2TKEZCCY.js +4 -0
- package/dist/cdn/2UDWPVDA.js +4 -0
- package/dist/cdn/2VLGYS7X.js +4 -0
- package/dist/cdn/2VY6IZZO.js +4 -0
- package/dist/cdn/2W3OMJMS.js +4 -0
- package/dist/cdn/2WT63IDU.js +4 -0
- package/dist/cdn/2WZTYRTQ.js +4 -0
- package/dist/cdn/2XCN7ZNS.js +4 -0
- package/dist/cdn/356SD76P.js +4 -0
- package/dist/cdn/36UOK5JF.js +4 -0
- package/dist/cdn/3BEZVOSX.js +4 -0
- package/dist/cdn/3DN2OXQG.js +59 -0
- package/dist/cdn/3GWBPX4O.js +12 -0
- package/dist/cdn/3JS3MVX6.js +4 -0
- package/dist/cdn/3KXFJDOO.js +4 -0
- package/dist/cdn/3M2DCPBM.js +4 -0
- package/dist/cdn/3RSUJL6Y.js +4 -0
- package/dist/cdn/3U3Y2JZZ.js +4 -0
- package/dist/cdn/3UPRBTIP.js +4 -0
- package/dist/cdn/3VJLCRZ7.js +8 -0
- package/dist/cdn/3VQW3ESU.js +4 -0
- package/dist/cdn/3Z7MPXXD.js +4 -0
- package/dist/cdn/42H25LGW.js +4 -0
- package/dist/cdn/42MRKA4X.js +4 -0
- package/dist/cdn/432TCRTV.js +4 -0
- package/dist/cdn/44IQ72K6.js +4 -0
- package/dist/cdn/44JKEWPV.js +5 -0
- package/dist/cdn/44NNMYWJ.js +4 -0
- package/dist/cdn/44NUEK7K.js +4 -0
- package/dist/cdn/45IHMDCR.js +4 -0
- package/dist/cdn/463RFQBR.js +4 -0
- package/dist/cdn/47DBKNC4.js +4 -0
- package/dist/cdn/47EY6TCJ.js +4 -0
- package/dist/cdn/4EUNQXLU.js +4 -0
- package/dist/cdn/4FB4RBHC.js +4 -0
- package/dist/cdn/4FTJQXV3.js +4 -0
- package/dist/cdn/4HOFXKUC.js +4 -0
- package/dist/cdn/4KRUL75Y.js +4 -0
- package/dist/cdn/4N6ODHC7.js +4 -0
- package/dist/cdn/4NPPXJPP.js +4 -0
- package/dist/cdn/4PSWNKBO.js +4 -0
- package/dist/cdn/4SLVC6DQ.js +4 -0
- package/dist/cdn/4WSYKZEO.js +4 -0
- package/dist/cdn/4XU3EKXK.js +4 -0
- package/dist/cdn/4YOIG755.js +4 -0
- package/dist/cdn/4ZXWYK5P.js +4 -0
- package/dist/cdn/53PGCQNE.js +4 -0
- package/dist/cdn/54WB3IU4.js +4 -0
- package/dist/cdn/5BMPA23C.js +4 -0
- package/dist/cdn/5CESPO6O.js +4 -0
- package/dist/cdn/5DSUDRJK.js +4 -0
- package/dist/cdn/5GJQ5SB7.js +4 -0
- package/dist/cdn/5HK5Y3XJ.js +4 -0
- package/dist/cdn/5HP76KUE.js +4 -0
- package/dist/cdn/5J4GOUGY.js +4 -0
- package/dist/cdn/5JSQ343E.js +4 -0
- package/dist/cdn/5KPZXSKC.js +4 -0
- package/dist/cdn/5M7HDOHB.js +4 -0
- package/dist/cdn/5MJTLFAR.js +4 -0
- package/dist/cdn/5RE4NE47.js +4 -0
- package/dist/cdn/5T2JMS2C.js +4 -0
- package/dist/cdn/5VW7IITR.js +4 -0
- package/dist/cdn/5WEVT4DN.js +4 -0
- package/dist/cdn/5ZYMVKFO.js +4 -0
- package/dist/cdn/63H2HXQI.js +4 -0
- package/dist/cdn/66ZYXNEP.js +4 -0
- package/dist/cdn/6DSCHKL7.js +4 -0
- package/dist/cdn/6H6KGF4Q.js +4 -0
- package/dist/cdn/6IJV6PES.js +4 -0
- package/dist/cdn/6JQEFYM5.js +4 -0
- package/dist/cdn/6LNISMP2.js +4 -0
- package/dist/cdn/6N53CQNL.js +4 -0
- package/dist/cdn/6OPCPPIW.js +4 -0
- package/dist/cdn/6RGO2SRP.js +4 -0
- package/dist/cdn/6VN6O2QV.js +4 -0
- package/dist/cdn/6XWEHFLF.js +4 -0
- package/dist/cdn/6YIKKMF5.js +4 -0
- package/dist/cdn/6YT4GDTY.js +4 -0
- package/dist/cdn/724HYCHK.js +4 -0
- package/dist/cdn/74KGPO4U.js +4 -0
- package/dist/cdn/74U7T5XO.js +4 -0
- package/dist/cdn/754WO2UM.js +4 -0
- package/dist/cdn/76E6PPFN.js +4 -0
- package/dist/cdn/76NPYHMH.js +4 -0
- package/dist/cdn/77B4FNHK.js +4 -0
- package/dist/cdn/77J3PYRA.js +4 -0
- package/dist/cdn/77KQKJE6.js +4 -0
- package/dist/cdn/7BYXNDIO.js +4 -0
- package/dist/cdn/7CO6QFMC.js +4 -0
- package/dist/cdn/7G6TP62F.js +4 -0
- package/dist/cdn/7GOTBT6L.js +4 -0
- package/dist/cdn/7HA4JZFO.js +4 -0
- package/dist/cdn/7IOW362L.js +4 -0
- package/dist/cdn/7K6QP7AX.js +4 -0
- package/dist/cdn/7LPGKL5X.js +4 -0
- package/dist/cdn/7OPAIFHI.js +4 -0
- package/dist/cdn/7P7DNADH.js +4 -0
- package/dist/cdn/7PFTE2OO.js +4 -0
- package/dist/cdn/7R6CURXS.js +4 -0
- package/dist/cdn/7YU2HJNN.js +4 -0
- package/dist/cdn/A3CROC3X.js +4 -0
- package/dist/cdn/A4A6HCB2.js +4 -0
- package/dist/cdn/A5E7CO3T.js +4 -0
- package/dist/cdn/A6ST7DRE.js +4 -0
- package/dist/cdn/AA2SNZEI.js +4 -0
- package/dist/cdn/AAPFRHFF.js +4 -0
- package/dist/cdn/AB4BEBRD.js +4 -0
- package/dist/cdn/AE4YR6AJ.js +4 -0
- package/dist/cdn/AERGE2VV.js +4 -0
- package/dist/cdn/AISLXMTE.js +4 -0
- package/dist/cdn/AJG32ZPT.js +4 -0
- package/dist/cdn/AJKSQJ4P.js +4 -0
- package/dist/cdn/AKJ7DSWT.js +59 -0
- package/dist/cdn/ALBLOJ7G.js +4 -0
- package/dist/cdn/AQ4WWJJD.js +4 -0
- package/dist/cdn/AQZ5ZFNR.js +4 -0
- package/dist/cdn/AR6H4X3M.js +4 -0
- package/dist/cdn/AS4UI4JH.js +4 -0
- package/dist/cdn/AUKEY57A.js +4 -0
- package/dist/cdn/AW3VWUV5.js +4 -0
- package/dist/cdn/AXCQZPJK.js +4 -0
- package/dist/cdn/AXFOFZ2X.js +4 -0
- package/dist/cdn/AXYNPGHV.js +4 -0
- package/dist/cdn/B2N7FSWK.js +4 -0
- package/dist/cdn/B73EUPS7.js +4 -0
- package/dist/cdn/BAEA5F3N.js +4 -0
- package/dist/cdn/BBGFL2XF.js +4 -0
- package/dist/cdn/BBOTMF75.js +4 -0
- package/dist/cdn/BBQSXYFA.js +4 -0
- package/dist/cdn/BDCNRJG5.js +4 -0
- package/dist/cdn/BFEWHQEE.js +4 -0
- package/dist/cdn/BG5EPCRX.js +4 -0
- package/dist/cdn/BG5T3SDE.js +8 -0
- package/dist/cdn/BH6TFTCL.js +4 -0
- package/dist/cdn/BIWZARWN.js +4 -0
- package/dist/cdn/BIZ3ATAG.js +4 -0
- package/dist/cdn/BKMSMD7Y.js +4 -0
- package/dist/cdn/BLZKRDWC.js +4 -0
- package/dist/cdn/BMKOKMR6.js +4 -0
- package/dist/cdn/BMRQ3J4N.js +4 -0
- package/dist/cdn/BN4WP2CP.js +4 -0
- package/dist/cdn/BO4ELVFM.js +4 -0
- package/dist/cdn/BO5GTIIM.js +4 -0
- package/dist/cdn/BO6GAWFN.js +4 -0
- package/dist/cdn/BSMDA376.js +4 -0
- package/dist/cdn/BSMNI7VL.js +4 -0
- package/dist/cdn/BSTNHVIR.js +4 -0
- package/dist/cdn/BT6YG2T7.js +4 -0
- package/dist/cdn/BTSW6WHK.js +4 -0
- package/dist/cdn/BUJPAWT6.js +4 -0
- package/dist/cdn/BVCTZB55.js +4 -0
- package/dist/cdn/BVLVSELY.js +4 -0
- package/dist/cdn/BYBM4CD3.js +4 -0
- package/dist/cdn/BYD45WCX.js +4 -0
- package/dist/cdn/BZJB5GSR.js +4 -0
- package/dist/cdn/C47CH2HY.js +4 -0
- package/dist/cdn/C4TKE4UX.js +4 -0
- package/dist/cdn/CAJFMTDG.js +4 -0
- package/dist/cdn/CAPN3F2R.js +4 -0
- package/dist/cdn/CC3WAFWA.js +4 -0
- package/dist/cdn/CDQ4XS4V.js +4 -0
- package/dist/cdn/CDXAG7UI.js +4 -0
- package/dist/cdn/CG4OVOV6.js +4 -0
- package/dist/cdn/CHHM4X3Y.js +4 -0
- package/dist/cdn/CIBPMPBB.js +4 -0
- package/dist/cdn/CKM6JSMI.js +4 -0
- package/dist/cdn/CKSAJLRS.js +4 -0
- package/dist/cdn/CMGCBQGZ.js +4 -0
- package/dist/cdn/CNVKGTCX.js +4 -0
- package/dist/cdn/CO3M67HM.js +4 -0
- package/dist/cdn/COHGMPFN.js +4 -0
- package/dist/cdn/COONI4XA.js +4 -0
- package/dist/cdn/CQIZSDWA.js +4 -0
- package/dist/cdn/CUVAEFGH.js +4 -0
- package/dist/cdn/CVPXSN3O.js +4 -0
- package/dist/cdn/CWBJOD23.js +4 -0
- package/dist/cdn/CYIDALJI.js +4 -0
- package/dist/cdn/CYNXGS2Z.js +4 -0
- package/dist/cdn/CYSX5UV4.js +4 -0
- package/dist/cdn/D3RCWQOG.js +4 -0
- package/dist/cdn/D5CODG2Y.js +4 -0
- package/dist/cdn/D5HVV7VX.js +4 -0
- package/dist/cdn/D5SWZ2ST.js +4 -0
- package/dist/cdn/D7BDZCUI.js +4 -0
- package/dist/cdn/DAJHPKMK.js +4 -0
- package/dist/cdn/DASULTL6.js +4 -0
- package/dist/cdn/DCK2KYH6.js +4 -0
- package/dist/cdn/DCYVWSS5.js +4 -0
- package/dist/cdn/DJ3HTG7B.js +4 -0
- package/dist/cdn/DL3CXQUE.js +4 -0
- package/dist/cdn/DM2FVKY3.js +4 -0
- package/dist/cdn/DMDUEZCG.js +4 -0
- package/dist/cdn/DSB3JO2X.js +4 -0
- package/dist/cdn/DTJPMQCM.js +4 -0
- package/dist/cdn/DVVUYZJM.js +4 -0
- package/dist/cdn/DW5N4YSY.js +4 -0
- package/dist/cdn/DWRXH6VY.js +4 -0
- package/dist/cdn/DYTABILS.js +4 -0
- package/dist/cdn/DZZXI4PL.js +4 -0
- package/dist/cdn/E6OWCH3Q.js +4 -0
- package/dist/cdn/EBCGH4S3.js +4 -0
- package/dist/cdn/EG3QCAMR.js +4 -0
- package/dist/cdn/EH3BBRE3.js +4 -0
- package/dist/cdn/EIEFNRHI.js +4 -0
- package/dist/cdn/EJINXCAI.js +6 -0
- package/dist/cdn/EKRXV735.js +4 -0
- package/dist/cdn/ELDRDQYC.js +4 -0
- package/dist/cdn/ELPTG5CG.js +4 -0
- package/dist/cdn/EM4HYB7A.js +4 -0
- package/dist/cdn/ENEDBMTN.js +4 -0
- package/dist/cdn/EOLSLUJR.js +4 -0
- package/dist/cdn/EPRA5YXN.js +4 -0
- package/dist/cdn/EPUALULQ.js +4 -0
- package/dist/cdn/ESBKNXDO.js +4 -0
- package/dist/cdn/ESEXAA5U.js +4 -0
- package/dist/cdn/ETWCPTWF.js +4 -0
- package/dist/cdn/EUHRDRXC.js +4 -0
- package/dist/cdn/EURKTAN7.js +4 -0
- package/dist/cdn/EV2YP2S4.js +4 -0
- package/dist/cdn/EVWFLRAY.js +4 -0
- package/dist/cdn/EXX7ECNS.js +4 -0
- package/dist/cdn/EYBXTJAP.js +4 -0
- package/dist/cdn/EZUFYVQQ.js +4 -0
- package/dist/cdn/F2M6CLMA.js +4 -0
- package/dist/cdn/F7JTGBEN.js +4 -0
- package/dist/cdn/FBSXD3U2.js +4 -0
- package/dist/cdn/FCZZKPG6.js +4 -0
- package/dist/cdn/FEPWKU6C.js +4 -0
- package/dist/cdn/FETV6WJQ.js +4 -0
- package/dist/cdn/FEXZC6VX.js +4 -0
- package/dist/cdn/FFCDV7KR.js +4 -0
- package/dist/cdn/FGBV6UKN.js +4 -0
- package/dist/cdn/FH4EXO4H.js +4 -0
- package/dist/cdn/FHBMUP4G.js +4 -0
- package/dist/cdn/FJ427YXY.js +4 -0
- package/dist/cdn/FJTTPRZL.js +4 -0
- package/dist/cdn/FKGDIUWL.js +16 -0
- package/dist/cdn/FLQFK5W3.js +4 -0
- package/dist/cdn/FM7SGQOS.js +4 -0
- package/dist/cdn/FP2C2R3I.js +4 -0
- package/dist/cdn/FPL4B2MH.js +52 -0
- package/dist/cdn/FQBYNAZF.js +4 -0
- package/dist/cdn/FU4CO54B.js +4 -0
- package/dist/cdn/FVSSYM47.js +4 -0
- package/dist/cdn/FVVJXVTJ.js +4 -0
- package/dist/cdn/FYCYJJ6X.js +4 -0
- package/dist/cdn/G46MUCG3.js +4 -0
- package/dist/cdn/G6FT7BGC.js +4 -0
- package/dist/cdn/GCENMSPS.js +4 -0
- package/dist/cdn/GDYDDTGC.js +4 -0
- package/dist/cdn/GEQ7J3MN.js +4 -0
- package/dist/cdn/GFURP7FA.js +4 -0
- package/dist/cdn/GHO2YSUQ.js +4 -0
- package/dist/cdn/GHUB3IHP.js +4 -0
- package/dist/cdn/GHZQC3YR.js +4 -0
- package/dist/cdn/GILH6I3L.js +4 -0
- package/dist/cdn/GL6NKHUR.js +4 -0
- package/dist/cdn/GLTGI2GA.js +4 -0
- package/dist/cdn/GQGW2AEO.js +4 -0
- package/dist/cdn/GR2G6KQ4.js +4 -0
- package/dist/cdn/GSYVYLLR.js +4 -0
- package/dist/cdn/GTI5HSY4.js +4 -0
- package/dist/cdn/GU4BU4BE.js +4 -0
- package/dist/cdn/GV6OERFX.js +4 -0
- package/dist/cdn/GVNXXOLF.js +4 -0
- package/dist/cdn/GWSU27KV.js +4 -0
- package/dist/cdn/GXQFGYFF.js +4 -0
- package/dist/cdn/GYCKL6XC.js +4 -0
- package/dist/cdn/H52LJIXH.js +4 -0
- package/dist/cdn/H5QMX6YF.js +4 -0
- package/dist/cdn/H6XDOHM5.js +4 -0
- package/dist/cdn/H7KI7G5G.js +4 -0
- package/dist/cdn/H7S4B2CU.js +4 -0
- package/dist/cdn/HAVJ56T7.js +4 -0
- package/dist/cdn/HC7MULCB.js +41 -0
- package/dist/cdn/HEHR3E6B.js +4 -0
- package/dist/cdn/HFOLSW64.js +4 -0
- package/dist/cdn/HGTYXRWF.js +4 -0
- package/dist/cdn/HIWCPNPU.js +4 -0
- package/dist/cdn/HNKWZY4P.js +4 -0
- package/dist/cdn/HRIKDHWX.js +4 -0
- package/dist/cdn/HRY3WI6E.js +4 -0
- package/dist/cdn/HT6STNYW.js +4 -0
- package/dist/cdn/HTVPBH32.js +4 -0
- package/dist/cdn/HVESK3EK.js +4 -0
- package/dist/cdn/HWAJT7QN.js +4 -0
- package/dist/cdn/HWCAYUTF.js +4 -0
- package/dist/cdn/HZITE7P4.js +4 -0
- package/dist/cdn/I2NIIGDM.js +4 -0
- package/dist/cdn/I2XFGWAL.js +4 -0
- package/dist/cdn/I3ALEF56.js +5 -0
- package/dist/cdn/I5RPN3SB.js +4 -0
- package/dist/cdn/I6XOOE6U.js +4 -0
- package/dist/cdn/I7SIHDV4.js +6 -0
- package/dist/cdn/IAGJKSFE.js +4 -0
- package/dist/cdn/IBFCH3JO.js +4 -0
- package/dist/cdn/IBLNQKXS.js +25 -0
- package/dist/cdn/ID5TNWNP.js +4 -0
- package/dist/cdn/IDS435SH.js +4 -0
- package/dist/cdn/IF2DYJWG.js +4 -0
- package/dist/cdn/II7LCUL2.js +4 -0
- package/dist/cdn/IJXXAK7A.js +4 -0
- package/dist/cdn/IK6TFHRQ.js +4 -0
- package/dist/cdn/ILETQUOA.js +4 -0
- package/dist/cdn/INWGITM6.js +4 -0
- package/dist/cdn/IQDCXNKO.js +4 -0
- package/dist/cdn/IQVX7DID.js +4 -0
- package/dist/cdn/IRXAV636.js +4 -0
- package/dist/cdn/ISOQQMCG.js +4 -0
- package/dist/cdn/IVP75F52.js +4 -0
- package/dist/cdn/IX6UFPYX.js +4 -0
- package/dist/cdn/J47K6T42.js +4 -0
- package/dist/cdn/JADOCVKT.js +4 -0
- package/dist/cdn/JAELFUT2.js +4 -0
- package/dist/cdn/JCFNYOG4.js +4 -0
- package/dist/cdn/JEVPF6AZ.js +4 -0
- package/dist/cdn/JF3ILEHF.js +4 -0
- package/dist/cdn/JF6S5CRM.js +4 -0
- package/dist/cdn/JFBUUZ5O.js +4 -0
- package/dist/cdn/JJ5KMGYV.js +4 -0
- package/dist/cdn/JJ6SKUFQ.js +4 -0
- package/dist/cdn/JQ7AOFGK.js +4 -0
- package/dist/cdn/JVQMYCIY.js +4 -0
- package/dist/cdn/JX4UFHTQ.js +4 -0
- package/dist/cdn/JXZNFUEU.js +4 -0
- package/dist/cdn/JYQINIOY.js +4 -0
- package/dist/cdn/K4QLHSL7.js +4 -0
- package/dist/cdn/K6XGMBR4.js +4 -0
- package/dist/cdn/K7DV6QE3.js +4 -0
- package/dist/cdn/KAQ46SIR.js +4 -0
- package/dist/cdn/KCSAZ4DI.js +4 -0
- package/dist/cdn/KD7TN6SJ.js +4 -0
- package/dist/cdn/KFXNUXPB.js +4 -0
- package/dist/cdn/KKT44ZG6.js +4 -0
- package/dist/cdn/KMNQ6WRJ.js +4 -0
- package/dist/cdn/KNAPBYHI.js +4 -0
- package/dist/cdn/KQXYMD4V.js +4 -0
- package/dist/cdn/KTSXP5EU.js +4 -0
- package/dist/cdn/KTX5HIKJ.js +4 -0
- package/dist/cdn/KXG5NV3S.js +9 -0
- package/dist/cdn/KXMHU5QU.js +4 -0
- package/dist/cdn/L6AJCPCC.js +4 -0
- package/dist/cdn/L7P6VBHL.js +4 -0
- package/dist/cdn/L7UKRNA7.js +4 -0
- package/dist/cdn/LAAWSZHK.js +4 -0
- package/dist/cdn/LBK6Y7OZ.js +4 -0
- package/dist/cdn/LGJPQCQA.js +4 -0
- package/dist/cdn/LK4AALM4.js +4 -0
- package/dist/cdn/LOYWUOC5.js +4 -0
- package/dist/cdn/LPLXOS5J.js +4 -0
- package/dist/cdn/LPRYDP7R.js +4 -0
- package/dist/cdn/LVM3ONA3.js +4 -0
- package/dist/cdn/LVOQOHBN.js +4 -0
- package/dist/cdn/LZPDPUFY.js +4 -0
- package/dist/cdn/M5JZZ7CW.js +4 -0
- package/dist/cdn/M67LQ5XD.js +4 -0
- package/dist/cdn/MAFGKIOZ.js +4 -0
- package/dist/cdn/MD66JU4M.js +4 -0
- package/dist/cdn/MFRLP3KR.js +4 -0
- package/dist/cdn/MH3KKY35.js +4 -0
- package/dist/cdn/MHIUT6SL.js +4 -0
- package/dist/cdn/MJAB2JMR.js +4 -0
- package/dist/cdn/MJGNFC3N.js +4 -0
- package/dist/cdn/MJYV5IXC.js +4 -0
- package/dist/cdn/ML66HB7U.js +4 -0
- package/dist/cdn/MLGYIA3P.js +4 -0
- package/dist/cdn/MLS3QELG.js +4 -0
- package/dist/cdn/MLU6HSKI.js +4 -0
- package/dist/cdn/MLZDPCJS.js +4 -0
- package/dist/cdn/MOQV66EI.js +4 -0
- package/dist/cdn/MPXBCUFZ.js +4 -0
- package/dist/cdn/MRV6OY3C.js +4 -0
- package/dist/cdn/MSKR4H7S.js +4 -0
- package/dist/cdn/MV5EOVOS.js +4 -0
- package/dist/cdn/MVKT6K7E.js +4 -0
- package/dist/cdn/MVOODZE3.js +4 -0
- package/dist/cdn/MZ3WYZDE.js +4 -0
- package/dist/cdn/MZ4TWYO6.js +4 -0
- package/dist/cdn/MZRKLSUK.js +4 -0
- package/dist/cdn/MZWINEF2.js +4 -0
- package/dist/cdn/N34P2VVE.js +4 -0
- package/dist/cdn/N4YSNN3I.js +4 -0
- package/dist/cdn/NCJJX6CX.js +4 -0
- package/dist/cdn/NDEBRGXF.js +4 -0
- package/dist/cdn/NHNWP7ER.js +4 -0
- package/dist/cdn/NHP3RMVU.js +4 -0
- package/dist/cdn/NILAI3S2.js +4 -0
- package/dist/cdn/NOU7VBOV.js +4 -0
- package/dist/cdn/NVANTL2P.js +4 -0
- package/dist/cdn/NW6CRO5Y.js +4 -0
- package/dist/cdn/NYF5Q2OX.js +4 -0
- package/dist/cdn/NZ2DP4SX.js +4 -0
- package/dist/cdn/NZCHLOCH.js +4 -0
- package/dist/cdn/NZSVU2ZY.js +4 -0
- package/dist/cdn/NZU4BXRT.js +4 -0
- package/dist/cdn/O32JETFY.js +4 -0
- package/dist/cdn/O3PV5B7X.js +4 -0
- package/dist/cdn/O4G3E2LS.js +4 -0
- package/dist/cdn/O4L76JPW.js +4 -0
- package/dist/cdn/O4NAS3X3.js +4 -0
- package/dist/cdn/OBEYKBQ2.js +4 -0
- package/dist/cdn/OBORPPBE.js +4 -0
- package/dist/cdn/OBQZHTKY.js +4 -0
- package/dist/cdn/OEVCRKYO.js +4 -0
- package/dist/cdn/OGLG3OJL.js +4 -0
- package/dist/cdn/OJVRKBRA.js +4 -0
- package/dist/cdn/OMRS5MST.js +4 -0
- package/dist/cdn/ONHBDUF2.js +4 -0
- package/dist/cdn/ONJAI6CX.js +4 -0
- package/dist/cdn/OO3TOS5B.js +4 -0
- package/dist/cdn/OOO26GUH.js +12 -0
- package/dist/cdn/OOY2N2CH.js +4 -0
- package/dist/cdn/OOZTSL72.js +4 -0
- package/dist/cdn/ORRJSE4C.js +4 -0
- package/dist/cdn/OTTJ7VQX.js +4 -0
- package/dist/cdn/OUBNUUFC.js +4 -0
- package/dist/cdn/OV3IGIHQ.js +4 -0
- package/dist/cdn/OV7SJHGZ.js +4 -0
- package/dist/cdn/OWPTJEWQ.js +4 -0
- package/dist/cdn/OY46XAS7.js +4 -0
- package/dist/cdn/OYKT7ID5.js +4 -0
- package/dist/cdn/P6USDC2Z.js +4 -0
- package/dist/cdn/P7IY32UR.js +4 -0
- package/dist/cdn/PB35S3LV.js +4 -0
- package/dist/cdn/PBHCJMWR.js +4 -0
- package/dist/cdn/PNQYN4UF.js +4 -0
- package/dist/cdn/POCIYVS2.js +4 -0
- package/dist/cdn/POWGDPF2.js +4 -0
- package/dist/cdn/PSVE3WD6.js +4 -0
- package/dist/cdn/PWSJACGO.js +4 -0
- package/dist/cdn/PXP6NSDZ.js +4 -0
- package/dist/cdn/PXSG3MVJ.js +4 -0
- package/dist/cdn/PZS7IHF2.js +4 -0
- package/dist/cdn/PZSRLS3L.js +4 -0
- package/dist/cdn/Q26PJXTE.js +4 -0
- package/dist/cdn/Q576UXM4.js +4 -0
- package/dist/cdn/Q5UOGAM7.js +4 -0
- package/dist/cdn/QBD3GA46.js +4 -0
- package/dist/cdn/QBXD5MTE.js +4 -0
- package/dist/cdn/QCMHBVMY.js +4 -0
- package/dist/cdn/QD6DXRDG.js +4 -0
- package/dist/cdn/QDKGTGAJ.js +4 -0
- package/dist/cdn/QDTWX2MK.js +4 -0
- package/dist/cdn/QJ4IM5GX.js +4 -0
- package/dist/cdn/QN6WMG5A.js +4 -0
- package/dist/cdn/QOE2SHIT.js +5 -0
- package/dist/cdn/QPASZQE5.js +4 -0
- package/dist/cdn/QT32HEVO.js +4 -0
- package/dist/cdn/QT42UWOH.js +4 -0
- package/dist/cdn/R2CYHQOF.js +4 -0
- package/dist/cdn/R2LVARXI.js +4 -0
- package/dist/cdn/R7V5NC6U.js +4 -0
- package/dist/cdn/RCNTRU6H.js +4 -0
- package/dist/cdn/RDXWA2WQ.js +4 -0
- package/dist/cdn/RF52SMHH.js +4 -0
- package/dist/cdn/RG7HYY2D.js +4 -0
- package/dist/cdn/RGSIZQUE.js +4 -0
- package/dist/cdn/RIXTHWKY.js +4 -0
- package/dist/cdn/RKGWU65J.js +4 -0
- package/dist/cdn/RMNMBYHF.js +4 -0
- package/dist/cdn/RN7ENZYK.js +4 -0
- package/dist/cdn/RNKVNYNO.js +4 -0
- package/dist/cdn/ROLNOUS7.js +4 -0
- package/dist/cdn/RPV65D5W.js +4 -0
- package/dist/cdn/RS4D7SNR.js +4 -0
- package/dist/cdn/RS7WTVN4.js +4 -0
- package/dist/cdn/RUTFSFO3.js +4 -0
- package/dist/cdn/RVBIYTOM.js +4 -0
- package/dist/cdn/RXU3UJOO.js +4 -0
- package/dist/cdn/RY6Z54ZQ.js +4 -0
- package/dist/cdn/RYBMORBP.js +4 -0
- package/dist/cdn/S23JJ5TP.js +5 -0
- package/dist/cdn/S6LLPGHI.js +4 -0
- package/dist/cdn/SAI7VVDS.js +4 -0
- package/dist/cdn/SDIXXPSS.js +5 -0
- package/dist/cdn/SEPTQGDX.js +4 -0
- package/dist/cdn/SIB7Z2J5.js +4 -0
- package/dist/cdn/SPR3G67W.js +4 -0
- package/dist/cdn/SQUZK6YQ.js +4 -0
- package/dist/cdn/SRPMGRSO.js +4 -0
- package/dist/cdn/SSDKLRJT.js +4 -0
- package/dist/cdn/SSMMFHPL.js +4 -0
- package/dist/cdn/SSSF26H2.js +4 -0
- package/dist/cdn/STE2MK3S.js +4 -0
- package/dist/cdn/SUDA43Q6.js +4 -0
- package/dist/cdn/SUDEEG6J.js +4 -0
- package/dist/cdn/SULHIVPR.js +4 -0
- package/dist/cdn/SUVW67TX.js +5470 -0
- package/dist/cdn/SVLOP2ID.js +4 -0
- package/dist/cdn/SXKMB7MI.js +4 -0
- package/dist/cdn/SYBVAMG7.js +4 -0
- package/dist/cdn/TBLUKTMV.js +4 -0
- package/dist/cdn/TGQN73BK.js +4 -0
- package/dist/cdn/TJITVESN.js +4 -0
- package/dist/cdn/TJQJNRDP.js +4 -0
- package/dist/cdn/TKXK4KDX.js +4 -0
- package/dist/cdn/TMSEC3C5.js +4 -0
- package/dist/cdn/TMWISKBX.js +4 -0
- package/dist/cdn/TPWNYZY5.js +4 -0
- package/dist/cdn/TSGHC7Z2.js +51 -0
- package/dist/cdn/TTMJQRV6.js +4 -0
- package/dist/cdn/TTYST3ZQ.js +4 -0
- package/dist/cdn/TX2PNOXU.js +4 -0
- package/dist/cdn/TXI6X34X.js +4 -0
- package/dist/cdn/TYDQLBO3.js +4 -0
- package/dist/cdn/TYVRG6WF.js +4 -0
- package/dist/cdn/U2T4HCMI.js +4 -0
- package/dist/cdn/U33NFB2D.js +4 -0
- package/dist/cdn/U4KURR2M.js +4 -0
- package/dist/cdn/UAT7H4DI.js +4 -0
- package/dist/cdn/UBB7KH54.js +4 -0
- package/dist/cdn/UC5QNTTI.js +4 -0
- package/dist/cdn/UD7VEYFJ.js +4 -0
- package/dist/cdn/UI74X3EE.js +4 -0
- package/dist/cdn/UIIZWITC.js +4 -0
- package/dist/cdn/UMY5CIMZ.js +4 -0
- package/dist/cdn/UO2AD7MS.js +4 -0
- package/dist/cdn/UPZLN4HJ.js +4 -0
- package/dist/cdn/UQFUXWKG.js +4 -0
- package/dist/cdn/UR26TSO4.js +4 -0
- package/dist/cdn/URO5CNBA.js +4 -0
- package/dist/cdn/UTOSWBTW.js +4 -0
- package/dist/cdn/UYRBSKMF.js +4 -0
- package/dist/cdn/UZSRPEMA.js +4 -0
- package/dist/cdn/V2CGLZI4.js +4 -0
- package/dist/cdn/V3JLQKWW.js +4 -0
- package/dist/cdn/V6UZOC7N.js +4 -0
- package/dist/cdn/VBZPLQHE.js +4 -0
- package/dist/cdn/VCG4TJ6E.js +4 -0
- package/dist/cdn/VEGIXKPU.js +42 -0
- package/dist/cdn/VEI5H4PD.js +4 -0
- package/dist/cdn/VEJAYDCM.js +4 -0
- package/dist/cdn/VFCNY72W.js +4 -0
- package/dist/cdn/VFOURP6M.js +4 -0
- package/dist/cdn/VGEUTORO.js +4 -0
- package/dist/cdn/VH6HI4XU.js +4 -0
- package/dist/cdn/VI6NLKLQ.js +4 -0
- package/dist/cdn/VIF6IFFF.js +4 -0
- package/dist/cdn/VJDYAHCL.js +4 -0
- package/dist/cdn/VJH3U4IO.js +4 -0
- package/dist/cdn/VKJZVGLW.js +4 -0
- package/dist/cdn/VKLO6OTL.js +4 -0
- package/dist/cdn/VL65DJNH.js +4 -0
- package/dist/cdn/VNNYLXXM.js +4 -0
- package/dist/cdn/VNXZ26KU.js +4 -0
- package/dist/cdn/VONKHJYL.js +4 -0
- package/dist/cdn/VP7ILN4U.js +4 -0
- package/dist/cdn/VSRMSVD3.js +4 -0
- package/dist/cdn/VTUF6UAI.js +4 -0
- package/dist/cdn/VVAZM6RY.js +4 -0
- package/dist/cdn/VW5Y5GLH.js +4 -0
- package/dist/cdn/VYVAAKRB.js +4 -0
- package/dist/cdn/W3U2AG77.js +4 -0
- package/dist/cdn/W4Z5NV2X.js +4 -0
- package/dist/cdn/WASTFANP.js +11 -0
- package/dist/cdn/WCGPEW4P.js +4 -0
- package/dist/cdn/WCVZ5IVE.js +4 -0
- package/dist/cdn/WDGNAEN5.js +4 -0
- package/dist/cdn/WE3Q5NQN.js +4 -0
- package/dist/cdn/WE4JQ2R6.js +4 -0
- package/dist/cdn/WES2DOIJ.js +4 -0
- package/dist/cdn/WETSBTQV.js +4 -0
- package/dist/cdn/WF5A7TLB.js +4 -0
- package/dist/cdn/WGHHLZ4Q.js +4 -0
- package/dist/cdn/WHUJ76YN.js +4 -0
- package/dist/cdn/WIOESSAH.js +4 -0
- package/dist/cdn/WIOYIHQ5.js +4 -0
- package/dist/cdn/WL7HYE2O.js +4 -0
- package/dist/cdn/WL7ZI76M.js +4 -0
- package/dist/cdn/WNV7HOFY.js +4 -0
- package/dist/cdn/WO6TOVCZ.js +4 -0
- package/dist/cdn/WQAIOFTM.js +4 -0
- package/dist/cdn/WRGQKYH3.js +4 -0
- package/dist/cdn/WTUFPHWR.js +4 -0
- package/dist/cdn/WUD6R5IG.js +4 -0
- package/dist/cdn/WV35XWLI.js +4 -0
- package/dist/cdn/WWGUB3OU.js +6 -0
- package/dist/cdn/WXK6LOZN.js +4 -0
- package/dist/cdn/WYKLHIKK.js +4 -0
- package/dist/cdn/X2EKH54P.js +4 -0
- package/dist/cdn/X2PVSGDB.js +4 -0
- package/dist/cdn/XAATY3ZU.js +4 -0
- package/dist/cdn/XHYENZQT.js +24 -0
- package/dist/cdn/XMOS7LG4.js +4 -0
- package/dist/cdn/XMY6XQ37.js +4 -0
- package/dist/cdn/XO4ON6VT.js +4 -0
- package/dist/cdn/XONBPPLR.js +4 -0
- package/dist/cdn/XQCODKSW.js +4 -0
- package/dist/cdn/XQO4L5RX.js +4 -0
- package/dist/cdn/XRGPHLLF.js +4 -0
- package/dist/cdn/XT7O2QG5.js +4 -0
- package/dist/cdn/XU75VWJX.js +4 -0
- package/dist/cdn/XX5KLCTM.js +4 -0
- package/dist/cdn/XZGSDXSL.js +4 -0
- package/dist/cdn/XZUJIFWV.js +4 -0
- package/dist/cdn/Y2GRYR73.js +4 -0
- package/dist/cdn/Y3SFHFMZ.js +4 -0
- package/dist/cdn/Y5P65ECA.js +4 -0
- package/dist/cdn/Y7BU6WLL.js +4 -0
- package/dist/cdn/YAO6CGWR.js +4 -0
- package/dist/cdn/YCJWLOTK.js +4 -0
- package/dist/cdn/YE4KMC64.js +4 -0
- package/dist/cdn/YFNN3LNI.js +4 -0
- package/dist/cdn/YGCLTVLP.js +4 -0
- package/dist/cdn/YJKAKNTK.js +4 -0
- package/dist/cdn/YJS25EJI.js +4 -0
- package/dist/cdn/YJUQCEIH.js +4 -0
- package/dist/cdn/YNNKE7Z2.js +4 -0
- package/dist/cdn/YOINO64M.js +4 -0
- package/dist/cdn/YS7V5A47.js +4 -0
- package/dist/cdn/YSV52APQ.js +4 -0
- package/dist/cdn/YWUOBUJ6.js +4 -0
- package/dist/cdn/YXINA7RX.js +4 -0
- package/dist/cdn/YY2ZVSBH.js +4 -0
- package/dist/cdn/YYAFKPIW.js +4 -0
- package/dist/cdn/YYBY7FRX.js +4 -0
- package/dist/cdn/YZPGSBKG.js +4 -0
- package/dist/cdn/Z2CYMHMX.js +4 -0
- package/dist/cdn/Z2O56W35.js +4 -0
- package/dist/cdn/Z5DETSQ2.js +4 -0
- package/dist/cdn/Z7ARBL7A.js +4 -0
- package/dist/cdn/Z7OPGFX7.js +4 -0
- package/dist/cdn/Z7XSU4TM.js +4 -0
- package/dist/cdn/ZGDVYPXQ.js +4 -0
- package/dist/cdn/ZHTQEM5U.js +4 -0
- package/dist/cdn/ZIKSXMPZ.js +4 -0
- package/dist/cdn/ZJZKM2KQ.js +4 -0
- package/dist/cdn/ZKELGZ6Y.js +4 -0
- package/dist/cdn/ZNZHV3VD.js +4 -0
- package/dist/cdn/ZOOYNB2R.js +4 -0
- package/dist/cdn/ZQ35P3KX.js +4 -0
- package/dist/cdn/ZR2OO3HA.js +5 -0
- package/dist/cdn/ZSKPSV44.js +4 -0
- package/dist/cdn/ZTUNTFXR.js +4 -0
- package/dist/cdn/ZUDWETWH.js +4 -0
- package/dist/cdn/ZV4P5DHJ.js +4 -0
- package/dist/cdn/ZV753ZAU.js +4 -0
- package/dist/cdn/ZYGW6TCP.js +4 -0
- package/dist/cdn/ZZ32CELL.js +4 -0
- package/dist/cdn/ZZF4I5ER.js +4 -0
- package/dist/cdn/index.js +3 -3
- package/dist/chunks/findColumnAndNodeIndex.js +2 -2
- package/dist/chunks/getResponsiveClasses.js +2 -2
- package/dist/chunks/interpolate-translations.js +11 -10
- package/dist/chunks/isNodeVisible.js +2 -2
- package/dist/chunks/layoutContext.js +2 -2
- package/dist/chunks/migrateTextCard.js +2 -2
- package/dist/chunks/processLayout.js +2 -2
- package/dist/chunks/runtime.js +3 -3
- package/dist/chunks/state.js +2 -2
- package/dist/chunks/typeGuards.js +2 -2
- package/dist/chunks/useGlobalContext.js +2 -2
- package/dist/chunks/useT9n.js +2 -2
- package/dist/chunks/util.js +2 -2
- package/dist/components/arcgis-chat-shell/customElement.js +2 -2
- package/dist/components/arcgis-chat-ui/customElement.js +2 -2
- package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +2 -2
- package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +2 -2
- package/dist/components/arcgis-hub-ai-assistant/customElement.js +2 -2
- package/dist/components/arcgis-hub-entity-associations-card/customElement.js +2 -2
- package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +2 -2
- package/dist/components/arcgis-hub-entity-status-card/customElement.js +2 -2
- package/dist/components/arcgis-hub-entity-view-layout/customElement.js +9 -8
- package/dist/components/arcgis-layout/customElement.js +2 -2
- package/dist/components/arcgis-layout-column/customElement.js +2 -2
- package/dist/components/arcgis-layout-container/customElement.js +2 -2
- package/dist/components/arcgis-layout-editor-toolbar/customElement.js +2 -2
- package/dist/components/arcgis-layout-node-controls/customElement.js +2 -2
- package/dist/components/arcgis-layout-node-editor/customElement.js +2 -2
- package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.js +2 -2
- package/dist/components/arcgis-layout-node-wrapper/customElement.js +2 -2
- package/dist/components/arcgis-layout-row/customElement.js +2 -2
- package/dist/components/arcgis-layout-section/customElement.js +2 -2
- package/dist/components/arcgis-nav-card/customElement.js +2 -2
- package/dist/components/arcgis-text-card/customElement.js +2 -2
- package/dist/components/layouts/components/layout-node/customElement.js +2 -2
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/embed-config.js +2 -2
- package/dist/index.js +2 -2
- package/dist/loader.js +2 -2
- package/package.json +1 -1
- package/dist/cdn/24LKRHU7.js +0 -4
- package/dist/cdn/25XI7QSG.js +0 -4
- package/dist/cdn/26DTX7SR.js +0 -4
- package/dist/cdn/26V4HRJ7.js +0 -4
- package/dist/cdn/27GRN4XN.js +0 -4
- package/dist/cdn/2AEJ4WBE.js +0 -4
- package/dist/cdn/2ARRS36U.js +0 -8
- package/dist/cdn/2HRXC3WN.js +0 -4
- package/dist/cdn/2IMEVEWO.js +0 -4
- package/dist/cdn/2JJEV2EH.js +0 -4
- package/dist/cdn/2K4EADPE.js +0 -4
- package/dist/cdn/2KAQVXS7.js +0 -4
- package/dist/cdn/2MEIV5PJ.js +0 -4
- package/dist/cdn/2MK4JPTJ.js +0 -4
- package/dist/cdn/2NTFY5JA.js +0 -4
- package/dist/cdn/2NVQ27KS.js +0 -4
- package/dist/cdn/2OZH37HG.js +0 -4
- package/dist/cdn/2QBTJFOM.js +0 -4
- package/dist/cdn/2QQ4LUNR.js +0 -4
- package/dist/cdn/2ROCGCVJ.js +0 -4
- package/dist/cdn/2TL3XNFB.js +0 -4
- package/dist/cdn/2WU7RIES.js +0 -4
- package/dist/cdn/2WWMC254.js +0 -4
- package/dist/cdn/2XIK5WGG.js +0 -4
- package/dist/cdn/2XJIKGRC.js +0 -4
- package/dist/cdn/33F7PYZ6.js +0 -4
- package/dist/cdn/34CWCDXR.js +0 -59
- package/dist/cdn/35D4H7N3.js +0 -4
- package/dist/cdn/35TJQO4A.js +0 -4
- package/dist/cdn/37YAX5CS.js +0 -4
- package/dist/cdn/3E6QDZY3.js +0 -4
- package/dist/cdn/3EEH22F2.js +0 -4
- package/dist/cdn/3HWUGPLR.js +0 -4
- package/dist/cdn/3ICJG4ER.js +0 -4
- package/dist/cdn/3J5IQEO3.js +0 -4
- package/dist/cdn/3KDCP6SA.js +0 -6
- package/dist/cdn/3LZAHQRF.js +0 -4
- package/dist/cdn/3M5OQLXY.js +0 -4
- package/dist/cdn/3MG7HZ5D.js +0 -4
- package/dist/cdn/3N3CSO7H.js +0 -4
- package/dist/cdn/3NH75RF6.js +0 -4
- package/dist/cdn/3O2TUSIN.js +0 -4
- package/dist/cdn/3PDUKBJT.js +0 -4
- package/dist/cdn/3QBCF7VY.js +0 -4
- package/dist/cdn/3RA7Q5SL.js +0 -4
- package/dist/cdn/3SQ74LS3.js +0 -4
- package/dist/cdn/3SUZ3X77.js +0 -4
- package/dist/cdn/3TJCIESB.js +0 -4
- package/dist/cdn/3XLLGYQ5.js +0 -4
- package/dist/cdn/3XWV7PET.js +0 -4
- package/dist/cdn/422A452D.js +0 -4
- package/dist/cdn/46ZNPINI.js +0 -4
- package/dist/cdn/4743A7FS.js +0 -4
- package/dist/cdn/47ES55RB.js +0 -4
- package/dist/cdn/4CPP4DKF.js +0 -4
- package/dist/cdn/4G7FKLIQ.js +0 -4
- package/dist/cdn/4LYLC6EA.js +0 -4
- package/dist/cdn/4N3QZ2JF.js +0 -4
- package/dist/cdn/4NBBD5CS.js +0 -11
- package/dist/cdn/4QAZIKJ7.js +0 -4
- package/dist/cdn/4RBGHBOY.js +0 -4
- package/dist/cdn/4S5BKO2G.js +0 -4
- package/dist/cdn/4V2Y4JI3.js +0 -4
- package/dist/cdn/4VZSQK7G.js +0 -5
- package/dist/cdn/4XUOPGPM.js +0 -4
- package/dist/cdn/53QYNSZU.js +0 -4
- package/dist/cdn/54HZUFDE.js +0 -4
- package/dist/cdn/55OSSUZV.js +0 -4
- package/dist/cdn/56P72VTZ.js +0 -4
- package/dist/cdn/573YRC75.js +0 -4
- package/dist/cdn/57QIUXZK.js +0 -4
- package/dist/cdn/5C2KD445.js +0 -4
- package/dist/cdn/5DH74T23.js +0 -4
- package/dist/cdn/5E5AWAWH.js +0 -4
- package/dist/cdn/5GIWVCNA.js +0 -4
- package/dist/cdn/5K6N3UYW.js +0 -4
- package/dist/cdn/5LLT37HQ.js +0 -4
- package/dist/cdn/5MPCMGR2.js +0 -4
- package/dist/cdn/5OMJ7JWU.js +0 -4
- package/dist/cdn/5U6BNRNM.js +0 -4
- package/dist/cdn/5UIJWFOL.js +0 -4
- package/dist/cdn/5UPIYGMG.js +0 -4
- package/dist/cdn/5XQNY5X6.js +0 -4
- package/dist/cdn/5ZP5YQEB.js +0 -4
- package/dist/cdn/655R6PGR.js +0 -4
- package/dist/cdn/67XCAFIF.js +0 -4
- package/dist/cdn/6A3IVHO5.js +0 -4
- package/dist/cdn/6CYE7R3A.js +0 -4
- package/dist/cdn/6JW4IZ4Q.js +0 -4
- package/dist/cdn/6LAQC3AL.js +0 -4
- package/dist/cdn/6LN3PFN7.js +0 -4
- package/dist/cdn/6OTITMSL.js +0 -4
- package/dist/cdn/6PBE6LT2.js +0 -4
- package/dist/cdn/6SQCLEEC.js +0 -4
- package/dist/cdn/6TTB2E3J.js +0 -4
- package/dist/cdn/6VAASSOG.js +0 -4
- package/dist/cdn/6YYBNJO5.js +0 -4
- package/dist/cdn/72KM7ITB.js +0 -4
- package/dist/cdn/75GQ7IOO.js +0 -4
- package/dist/cdn/75LVXEPK.js +0 -4
- package/dist/cdn/77BW56VU.js +0 -4
- package/dist/cdn/7A75QERC.js +0 -4
- package/dist/cdn/7DVQUUAV.js +0 -4
- package/dist/cdn/7F5BA5AC.js +0 -4
- package/dist/cdn/7IDGD7ZK.js +0 -4
- package/dist/cdn/7ISKLOAA.js +0 -4
- package/dist/cdn/7L44VF6L.js +0 -4
- package/dist/cdn/7LJNGZMB.js +0 -4
- package/dist/cdn/7P3LKU5X.js +0 -4
- package/dist/cdn/7PKMLHDK.js +0 -4
- package/dist/cdn/7PUBRSVR.js +0 -4
- package/dist/cdn/7Q3YRT3Q.js +0 -4
- package/dist/cdn/7WRYLMHN.js +0 -4
- package/dist/cdn/A2YYCYTL.js +0 -4
- package/dist/cdn/A7XVCF5A.js +0 -4
- package/dist/cdn/A7YGBRAB.js +0 -4
- package/dist/cdn/ABK6G4QZ.js +0 -4
- package/dist/cdn/ACPBFT6U.js +0 -4
- package/dist/cdn/AFNBC5CD.js +0 -4
- package/dist/cdn/AOM7BPZJ.js +0 -4
- package/dist/cdn/APZNNUGT.js +0 -4
- package/dist/cdn/AWV3UGPO.js +0 -4
- package/dist/cdn/AXFAHRAJ.js +0 -4
- package/dist/cdn/AXYF27WF.js +0 -4
- package/dist/cdn/B2U7S53R.js +0 -4
- package/dist/cdn/B3B6XBF2.js +0 -4
- package/dist/cdn/B3XNZJIX.js +0 -4
- package/dist/cdn/B6RSOUKM.js +0 -4
- package/dist/cdn/BDVX6IX7.js +0 -4
- package/dist/cdn/BEVJZPZU.js +0 -4
- package/dist/cdn/BGNJQLVM.js +0 -4
- package/dist/cdn/BHHRGRFI.js +0 -4
- package/dist/cdn/BKHNRSSB.js +0 -4
- package/dist/cdn/BO3JYCXE.js +0 -4
- package/dist/cdn/BP6D3UHC.js +0 -4
- package/dist/cdn/BSXN7XFY.js +0 -4
- package/dist/cdn/BTCZDZEB.js +0 -4
- package/dist/cdn/BTRSNMFS.js +0 -4
- package/dist/cdn/BUB4DUIZ.js +0 -4
- package/dist/cdn/BUVE3YG5.js +0 -4
- package/dist/cdn/BV3ITRTR.js +0 -4
- package/dist/cdn/BVS7E5HG.js +0 -4
- package/dist/cdn/BWF2CJUV.js +0 -4
- package/dist/cdn/BXPLG5HP.js +0 -4
- package/dist/cdn/BXQKN3CR.js +0 -4
- package/dist/cdn/BYITSUR3.js +0 -4
- package/dist/cdn/BZGRJKHA.js +0 -5
- package/dist/cdn/BZTP6S7E.js +0 -4
- package/dist/cdn/BZUAQDSC.js +0 -4
- package/dist/cdn/C4AD3GJ6.js +0 -4
- package/dist/cdn/C5AO5SUZ.js +0 -4
- package/dist/cdn/CCMQCRHY.js +0 -4
- package/dist/cdn/CCVULNEF.js +0 -4
- package/dist/cdn/CDQTJLLE.js +0 -4
- package/dist/cdn/CE4RIROF.js +0 -4
- package/dist/cdn/CELYDZFD.js +0 -4
- package/dist/cdn/CGC436WO.js +0 -4
- package/dist/cdn/CMNEE4EE.js +0 -4
- package/dist/cdn/CQ2X5AHM.js +0 -4
- package/dist/cdn/CQLHX2OY.js +0 -4
- package/dist/cdn/CSTDY27E.js +0 -4
- package/dist/cdn/CTBQZGDW.js +0 -4
- package/dist/cdn/CU6HXOBQ.js +0 -4
- package/dist/cdn/CUF3PMIU.js +0 -4
- package/dist/cdn/CV47XVCX.js +0 -4
- package/dist/cdn/CX54RYCX.js +0 -4
- package/dist/cdn/D37WUI4C.js +0 -4
- package/dist/cdn/D3WBIN2Y.js +0 -4
- package/dist/cdn/D4MVENDL.js +0 -4
- package/dist/cdn/D752SJ36.js +0 -4
- package/dist/cdn/D7NQXYK6.js +0 -4
- package/dist/cdn/D7S4Z3R4.js +0 -4
- package/dist/cdn/DADB5YEQ.js +0 -4
- package/dist/cdn/DB33FT5Y.js +0 -4
- package/dist/cdn/DBHOVWOR.js +0 -4
- package/dist/cdn/DBK3DT36.js +0 -4
- package/dist/cdn/DD3ZPJEM.js +0 -4
- package/dist/cdn/DD44I7RG.js +0 -4
- package/dist/cdn/DEGSSENI.js +0 -4
- package/dist/cdn/DFRCRNCT.js +0 -4
- package/dist/cdn/DG223IV4.js +0 -4
- package/dist/cdn/DGNXHVIK.js +0 -4
- package/dist/cdn/DHKQI33E.js +0 -4
- package/dist/cdn/DI3Q67QF.js +0 -4
- package/dist/cdn/DJAASNK3.js +0 -4
- package/dist/cdn/DJZ2NEPC.js +0 -4
- package/dist/cdn/DK53COPL.js +0 -4
- package/dist/cdn/DK5TWZWE.js +0 -4
- package/dist/cdn/DKIP23SB.js +0 -4
- package/dist/cdn/DKSZ3GH6.js +0 -4
- package/dist/cdn/DP72U2HE.js +0 -4
- package/dist/cdn/DQA6GDBL.js +0 -4
- package/dist/cdn/DROOEMFP.js +0 -4
- package/dist/cdn/DRZHOCSD.js +0 -4
- package/dist/cdn/DS6L7B6L.js +0 -4
- package/dist/cdn/DSG2RIMN.js +0 -4
- package/dist/cdn/DSGD4JYX.js +0 -25
- package/dist/cdn/DUVD44LE.js +0 -4
- package/dist/cdn/DW7DMDNU.js +0 -4
- package/dist/cdn/DWJTCIFH.js +0 -4
- package/dist/cdn/DXLUYCHM.js +0 -4
- package/dist/cdn/DZGFHUY4.js +0 -4
- package/dist/cdn/E25PYHST.js +0 -4
- package/dist/cdn/E2JIR3U7.js +0 -4
- package/dist/cdn/E3HXSXHI.js +0 -4
- package/dist/cdn/E4UETMQA.js +0 -4
- package/dist/cdn/E5JCCKKN.js +0 -4
- package/dist/cdn/E5YHZT7X.js +0 -4
- package/dist/cdn/E7OBAA3X.js +0 -4
- package/dist/cdn/EAQL4G5F.js +0 -4
- package/dist/cdn/EBMWDUEG.js +0 -4
- package/dist/cdn/ECTBT46M.js +0 -4
- package/dist/cdn/EDFKZNDM.js +0 -4
- package/dist/cdn/EF47LBXZ.js +0 -4
- package/dist/cdn/EGFZJ5NK.js +0 -41
- package/dist/cdn/EGRJO7QN.js +0 -4
- package/dist/cdn/EGYI55NS.js +0 -4
- package/dist/cdn/EI65KG52.js +0 -4
- package/dist/cdn/EI7MH2GK.js +0 -4
- package/dist/cdn/EJNJQJLB.js +0 -4
- package/dist/cdn/EKHMV2IP.js +0 -4
- package/dist/cdn/ENMT6R2Q.js +0 -4
- package/dist/cdn/ENYTKSZ7.js +0 -4
- package/dist/cdn/ETGK36SD.js +0 -4
- package/dist/cdn/EVRY5MFP.js +0 -4
- package/dist/cdn/EWX2GPMZ.js +0 -16
- package/dist/cdn/EXIQRU4W.js +0 -4
- package/dist/cdn/EYGUUZ2D.js +0 -4
- package/dist/cdn/EZHMDLM7.js +0 -4
- package/dist/cdn/F3HOQRNV.js +0 -4
- package/dist/cdn/F5C6YQUT.js +0 -4
- package/dist/cdn/F6EOD33T.js +0 -4
- package/dist/cdn/F6RK3FF7.js +0 -4
- package/dist/cdn/FAVVVVRX.js +0 -4
- package/dist/cdn/FCTTKCI6.js +0 -4
- package/dist/cdn/FCZLOFJM.js +0 -4
- package/dist/cdn/FE4QM5D3.js +0 -4
- package/dist/cdn/FE6LYKMO.js +0 -4
- package/dist/cdn/FFSBI3U5.js +0 -4
- package/dist/cdn/FHGIHVDD.js +0 -4
- package/dist/cdn/FJCF3OL5.js +0 -4
- package/dist/cdn/FJQ5CW7D.js +0 -4
- package/dist/cdn/FLNSA4LM.js +0 -4
- package/dist/cdn/FOK5WBGO.js +0 -4
- package/dist/cdn/FPA5LMWW.js +0 -4
- package/dist/cdn/FPJSEISO.js +0 -4
- package/dist/cdn/FQLVCAYT.js +0 -4
- package/dist/cdn/FTZGOF4U.js +0 -4
- package/dist/cdn/FWHJYORH.js +0 -4
- package/dist/cdn/FWO2GDBJ.js +0 -4
- package/dist/cdn/FWUCO5KJ.js +0 -4
- package/dist/cdn/FXIJC7DI.js +0 -4
- package/dist/cdn/G4PJ5DMH.js +0 -4
- package/dist/cdn/G4V6AE6K.js +0 -4
- package/dist/cdn/G6BPWCKZ.js +0 -4
- package/dist/cdn/GCMXODOA.js +0 -4
- package/dist/cdn/GD4JLJGC.js +0 -4
- package/dist/cdn/GFN33R3W.js +0 -4
- package/dist/cdn/GJC35H3A.js +0 -4
- package/dist/cdn/GK26T26B.js +0 -24
- package/dist/cdn/GMDAYFJG.js +0 -4
- package/dist/cdn/GND6SCBE.js +0 -4
- package/dist/cdn/GNH4FR7Y.js +0 -4
- package/dist/cdn/GNHXCA65.js +0 -4
- package/dist/cdn/GNYMTKAT.js +0 -4
- package/dist/cdn/GTGQHIQO.js +0 -4
- package/dist/cdn/GUZLOMK5.js +0 -6
- package/dist/cdn/GWISOE2X.js +0 -4
- package/dist/cdn/GZBALUVP.js +0 -4
- package/dist/cdn/H2UIZ37E.js +0 -4
- package/dist/cdn/H35KBYAJ.js +0 -4
- package/dist/cdn/H37LCIUA.js +0 -4
- package/dist/cdn/H4C37DYC.js +0 -4
- package/dist/cdn/HA4FXHU6.js +0 -4
- package/dist/cdn/HAA6IOIW.js +0 -4
- package/dist/cdn/HDKOA4UO.js +0 -4
- package/dist/cdn/HDSZ62SI.js +0 -4
- package/dist/cdn/HEG4U5ED.js +0 -4
- package/dist/cdn/HIJL3LQG.js +0 -4
- package/dist/cdn/HJAIX32E.js +0 -4
- package/dist/cdn/HJO3M6MQ.js +0 -4
- package/dist/cdn/HKHZPMZ5.js +0 -4
- package/dist/cdn/HKLEGMIJ.js +0 -4
- package/dist/cdn/HL7OGGKC.js +0 -4
- package/dist/cdn/HLLBUCZD.js +0 -4
- package/dist/cdn/HMSE3JEO.js +0 -4
- package/dist/cdn/HN37FSQV.js +0 -4
- package/dist/cdn/HNAKR53S.js +0 -4
- package/dist/cdn/HPVFQWLJ.js +0 -4
- package/dist/cdn/HSJXNH4U.js +0 -4
- package/dist/cdn/HTF72V6F.js +0 -4
- package/dist/cdn/I65Y26WD.js +0 -4
- package/dist/cdn/I6OEQEHP.js +0 -4
- package/dist/cdn/I7WRNTTF.js +0 -4
- package/dist/cdn/ICMRZXDV.js +0 -4
- package/dist/cdn/IGGOLVXZ.js +0 -4
- package/dist/cdn/IGZDRB2Z.js +0 -4
- package/dist/cdn/IJVWDVY3.js +0 -4
- package/dist/cdn/IK5B6VBJ.js +0 -4
- package/dist/cdn/IKCQD4YX.js +0 -4
- package/dist/cdn/ILYSIRQT.js +0 -4
- package/dist/cdn/INHSGYQ3.js +0 -4
- package/dist/cdn/IOSKUXQ7.js +0 -4
- package/dist/cdn/IPXQF75F.js +0 -4
- package/dist/cdn/IQXTF7PA.js +0 -4
- package/dist/cdn/IUJSUO36.js +0 -4
- package/dist/cdn/IW2CJPNK.js +0 -4
- package/dist/cdn/IWQUBRGB.js +0 -4
- package/dist/cdn/IYLXFPMX.js +0 -4
- package/dist/cdn/J3KT4GYB.js +0 -4
- package/dist/cdn/J4COUA3Y.js +0 -4
- package/dist/cdn/J4OA7ZDE.js +0 -4
- package/dist/cdn/J4QCHK3X.js +0 -4
- package/dist/cdn/J56KJVIB.js +0 -4
- package/dist/cdn/JBE26RSF.js +0 -4
- package/dist/cdn/JBK4JN2N.js +0 -4
- package/dist/cdn/JGS3NXTT.js +0 -4
- package/dist/cdn/JHNWLRDN.js +0 -4
- package/dist/cdn/JKRKZ6ZC.js +0 -4
- package/dist/cdn/JLHVWHD6.js +0 -4
- package/dist/cdn/JMGUOBD5.js +0 -4
- package/dist/cdn/JOUDOEHD.js +0 -4
- package/dist/cdn/JPPCOFE2.js +0 -4
- package/dist/cdn/JUFO3ICZ.js +0 -4
- package/dist/cdn/JVZ6QFLE.js +0 -4
- package/dist/cdn/JWHVW5QH.js +0 -4
- package/dist/cdn/JX5VII2D.js +0 -4
- package/dist/cdn/JZCLPZ3Q.js +0 -4
- package/dist/cdn/K35SA6IJ.js +0 -4
- package/dist/cdn/K37CH2HO.js +0 -4
- package/dist/cdn/K3SDW5GF.js +0 -4
- package/dist/cdn/K42IKCYP.js +0 -4
- package/dist/cdn/K6ZQHZBR.js +0 -4
- package/dist/cdn/K7573CL6.js +0 -4
- package/dist/cdn/KAGLQ6BE.js +0 -4
- package/dist/cdn/KAHT5BVD.js +0 -4
- package/dist/cdn/KBN4F3Y7.js +0 -4
- package/dist/cdn/KDSEI653.js +0 -4
- package/dist/cdn/KE6PKU6L.js +0 -4
- package/dist/cdn/KGL43XH2.js +0 -4
- package/dist/cdn/KHRMMYDT.js +0 -4
- package/dist/cdn/KLQA6IAF.js +0 -4
- package/dist/cdn/KMJKRLZO.js +0 -4
- package/dist/cdn/KMVDVJ6A.js +0 -4
- package/dist/cdn/KN3HXNNE.js +0 -4
- package/dist/cdn/KQRXDH54.js +0 -4
- package/dist/cdn/KSQHD3SG.js +0 -4
- package/dist/cdn/KTE4NDWM.js +0 -4
- package/dist/cdn/KTTVMU4K.js +0 -4
- package/dist/cdn/KUJHL2DS.js +0 -4
- package/dist/cdn/KVROOEFH.js +0 -4
- package/dist/cdn/KWFUJCEE.js +0 -4
- package/dist/cdn/KWJWEYUX.js +0 -4
- package/dist/cdn/KWXQHRGO.js +0 -4
- package/dist/cdn/KY2ROCBF.js +0 -4
- package/dist/cdn/KYM2EKWY.js +0 -4
- package/dist/cdn/L7KJFZVN.js +0 -4
- package/dist/cdn/LCXOG6OW.js +0 -4
- package/dist/cdn/LF53VF2Y.js +0 -4
- package/dist/cdn/LF5ZD3CB.js +0 -4
- package/dist/cdn/LF6EVENI.js +0 -4
- package/dist/cdn/LFXDA76Z.js +0 -4
- package/dist/cdn/LH2KX3JL.js +0 -4
- package/dist/cdn/LHMAHTUT.js +0 -4
- package/dist/cdn/LKHZUHDD.js +0 -4
- package/dist/cdn/LKM2WMOC.js +0 -4
- package/dist/cdn/LLC4UWZV.js +0 -5
- package/dist/cdn/LQCYU4KQ.js +0 -4
- package/dist/cdn/LSYE25M6.js +0 -4
- package/dist/cdn/LTWLHKZR.js +0 -4
- package/dist/cdn/LUUOZFJY.js +0 -4
- package/dist/cdn/LVQ2CDB7.js +0 -4
- package/dist/cdn/LZBQVHE5.js +0 -4
- package/dist/cdn/LZQXQE4O.js +0 -4
- package/dist/cdn/M2OT7Q7T.js +0 -4
- package/dist/cdn/M45LEU2M.js +0 -4
- package/dist/cdn/M5SM5SPW.js +0 -4
- package/dist/cdn/M6JW6LVR.js +0 -4
- package/dist/cdn/M7QD6ASF.js +0 -4
- package/dist/cdn/MAPR4VZI.js +0 -4
- package/dist/cdn/MCLWLZ5M.js +0 -4
- package/dist/cdn/MCVSZFCC.js +0 -4
- package/dist/cdn/MEYNUPSB.js +0 -4
- package/dist/cdn/MGKQ5R4U.js +0 -4
- package/dist/cdn/MH5WMXL2.js +0 -4
- package/dist/cdn/MHVKJKZ2.js +0 -4
- package/dist/cdn/MI4K3XTX.js +0 -4
- package/dist/cdn/MIPOQZAE.js +0 -4
- package/dist/cdn/MKE4T6JN.js +0 -4
- package/dist/cdn/MLRVCNTY.js +0 -4
- package/dist/cdn/MP3QMDXM.js +0 -4
- package/dist/cdn/MQJVDNXJ.js +0 -4
- package/dist/cdn/MRJZSH7Z.js +0 -4
- package/dist/cdn/MRPK2FHE.js +0 -4
- package/dist/cdn/MRU7ET6O.js +0 -4
- package/dist/cdn/MSVINGTN.js +0 -4
- package/dist/cdn/MUQUWRVF.js +0 -4
- package/dist/cdn/MWTPVMOX.js +0 -4
- package/dist/cdn/MXQNIX77.js +0 -4
- package/dist/cdn/MXVCBTGF.js +0 -4
- package/dist/cdn/MYMF5Y56.js +0 -4
- package/dist/cdn/MZ363HL4.js +0 -4
- package/dist/cdn/N2TIXOK6.js +0 -5
- package/dist/cdn/N47DCDRA.js +0 -4
- package/dist/cdn/N5ZHHBHI.js +0 -4
- package/dist/cdn/N7ENF4B7.js +0 -52
- package/dist/cdn/NA7E2M7I.js +0 -4
- package/dist/cdn/NBVLUN56.js +0 -4
- package/dist/cdn/NE3DG7TP.js +0 -4
- package/dist/cdn/NE4NFE2R.js +0 -4
- package/dist/cdn/NEG5233Y.js +0 -4
- package/dist/cdn/NEY5HMLM.js +0 -4
- package/dist/cdn/NH45YS4G.js +0 -4
- package/dist/cdn/NLIWLZMC.js +0 -4
- package/dist/cdn/NOGZYB42.js +0 -4
- package/dist/cdn/NPZ2RWVN.js +0 -4
- package/dist/cdn/NQ22WRCF.js +0 -4
- package/dist/cdn/NUWAXGB6.js +0 -4
- package/dist/cdn/NYLA7XTE.js +0 -4
- package/dist/cdn/NZG6FJMQ.js +0 -4
- package/dist/cdn/O5MN24NE.js +0 -4
- package/dist/cdn/ODRNVCZG.js +0 -4
- package/dist/cdn/ODWJ3WXC.js +0 -4
- package/dist/cdn/OFLJIOCU.js +0 -4
- package/dist/cdn/OFPLZJ6S.js +0 -4
- package/dist/cdn/OFSET67Y.js +0 -4
- package/dist/cdn/OK4JY3CS.js +0 -4
- package/dist/cdn/OLLVJ5CE.js +0 -4
- package/dist/cdn/OOSFNA6W.js +0 -4
- package/dist/cdn/OOYHFD34.js +0 -4
- package/dist/cdn/OPFLNRBR.js +0 -4
- package/dist/cdn/OPHRPJTB.js +0 -4
- package/dist/cdn/OQ37TIIH.js +0 -4
- package/dist/cdn/OQ3FIVQ5.js +0 -4
- package/dist/cdn/OUT667EG.js +0 -4
- package/dist/cdn/OV5JOPAJ.js +0 -4
- package/dist/cdn/OV5LBUG7.js +0 -4
- package/dist/cdn/OWGMS453.js +0 -4
- package/dist/cdn/OX7NXUAH.js +0 -4
- package/dist/cdn/P27PWHME.js +0 -4
- package/dist/cdn/P46Y6NPF.js +0 -4
- package/dist/cdn/P5DMAHDJ.js +0 -4
- package/dist/cdn/PAWQJVZS.js +0 -4
- package/dist/cdn/PBHVUKXI.js +0 -4
- package/dist/cdn/PBYUAO7T.js +0 -8
- package/dist/cdn/PCNXU5DI.js +0 -4
- package/dist/cdn/PDERGEOU.js +0 -4
- package/dist/cdn/PDWYL4PU.js +0 -4
- package/dist/cdn/PDZQDVMK.js +0 -4
- package/dist/cdn/PF34HSHV.js +0 -4
- package/dist/cdn/PF6FW5XH.js +0 -12
- package/dist/cdn/PFAP52DX.js +0 -4
- package/dist/cdn/PFOFIFV5.js +0 -4
- package/dist/cdn/PFZTMLCA.js +0 -4
- package/dist/cdn/PHR3IAPR.js +0 -4
- package/dist/cdn/PIEIJIVF.js +0 -4
- package/dist/cdn/PIIZEAQR.js +0 -4
- package/dist/cdn/POD2XE7Z.js +0 -4
- package/dist/cdn/PVLNL6BD.js +0 -4
- package/dist/cdn/PWCVZIGU.js +0 -4
- package/dist/cdn/QACWESOC.js +0 -4
- package/dist/cdn/QCTJSJKX.js +0 -4
- package/dist/cdn/QD23TFTR.js +0 -4
- package/dist/cdn/QHBV5XF3.js +0 -4
- package/dist/cdn/QHNFKRTR.js +0 -4
- package/dist/cdn/QLHOWH7V.js +0 -4
- package/dist/cdn/QPGTSKUX.js +0 -4
- package/dist/cdn/QRVHFQTX.js +0 -4
- package/dist/cdn/QTVXWUJG.js +0 -4
- package/dist/cdn/QV5VIDCJ.js +0 -4
- package/dist/cdn/QV6M5YQP.js +0 -4
- package/dist/cdn/QXN74ILP.js +0 -4
- package/dist/cdn/QXX5XXVX.js +0 -4
- package/dist/cdn/QYJ2SQWL.js +0 -4
- package/dist/cdn/QYXSKR54.js +0 -4
- package/dist/cdn/QZDU7FF5.js +0 -4
- package/dist/cdn/QZFRIIAR.js +0 -4
- package/dist/cdn/QZMIHJN4.js +0 -4
- package/dist/cdn/QZWJEOC7.js +0 -4
- package/dist/cdn/R2IJ5SOO.js +0 -4
- package/dist/cdn/R37HFGEQ.js +0 -4
- package/dist/cdn/R3QOP4G4.js +0 -4
- package/dist/cdn/R4T7POKE.js +0 -4
- package/dist/cdn/R5EU4OCL.js +0 -4
- package/dist/cdn/R6NQDKKY.js +0 -4
- package/dist/cdn/RARC2HAP.js +0 -4
- package/dist/cdn/RBGN64II.js +0 -4
- package/dist/cdn/RBQMOKHX.js +0 -4
- package/dist/cdn/RD56WB6R.js +0 -4
- package/dist/cdn/RGQRVCNK.js +0 -4
- package/dist/cdn/RGXUOKAW.js +0 -4
- package/dist/cdn/RIRN5SFS.js +0 -4
- package/dist/cdn/RJWDG4XZ.js +0 -4
- package/dist/cdn/RKU2TNEZ.js +0 -4
- package/dist/cdn/RMDXPZQW.js +0 -4
- package/dist/cdn/RMIPPQT7.js +0 -4
- package/dist/cdn/RMN6OL2N.js +0 -4
- package/dist/cdn/RNARF5MV.js +0 -4
- package/dist/cdn/RVCPVS6B.js +0 -4
- package/dist/cdn/RVXMGYSF.js +0 -4
- package/dist/cdn/RWXBLBJI.js +0 -5
- package/dist/cdn/S2VUUTT5.js +0 -4
- package/dist/cdn/S3NH4PAH.js +0 -4
- package/dist/cdn/S55GMBA2.js +0 -4
- package/dist/cdn/SAOKF275.js +0 -4
- package/dist/cdn/SBFZ3W22.js +0 -4
- package/dist/cdn/SCXSHORA.js +0 -4
- package/dist/cdn/SCY7NO33.js +0 -4
- package/dist/cdn/SDEFQN4V.js +0 -4
- package/dist/cdn/SDZZVPEF.js +0 -4
- package/dist/cdn/SF227R4N.js +0 -4
- package/dist/cdn/SJ7CBW5F.js +0 -4
- package/dist/cdn/SJEZDTXN.js +0 -59
- package/dist/cdn/SLMPCBTA.js +0 -4
- package/dist/cdn/SN6ESYGX.js +0 -4
- package/dist/cdn/SNSEOOUU.js +0 -4
- package/dist/cdn/STK2G4CO.js +0 -5470
- package/dist/cdn/STR7U4LI.js +0 -4
- package/dist/cdn/T3AXKAF2.js +0 -4
- package/dist/cdn/T3ZSUD66.js +0 -4
- package/dist/cdn/T7LOHURD.js +0 -4
- package/dist/cdn/TB7FO2Q7.js +0 -4
- package/dist/cdn/TCBGP5ES.js +0 -4
- package/dist/cdn/TEUOMWIX.js +0 -4
- package/dist/cdn/TF4JH3QE.js +0 -4
- package/dist/cdn/TI3ONWZG.js +0 -4
- package/dist/cdn/TJYLLJ7Y.js +0 -4
- package/dist/cdn/TLJ7XYWN.js +0 -5
- package/dist/cdn/TM7JXHRK.js +0 -4
- package/dist/cdn/TNCY5N6S.js +0 -4
- package/dist/cdn/TNDY2JFD.js +0 -4
- package/dist/cdn/TNQ5MYO6.js +0 -4
- package/dist/cdn/TR2NXVM6.js +0 -4
- package/dist/cdn/TU6C77DM.js +0 -4
- package/dist/cdn/TUE2CQ2V.js +0 -4
- package/dist/cdn/TWNX5NLL.js +0 -4
- package/dist/cdn/TWUJQQMS.js +0 -4
- package/dist/cdn/TXQ6XVGH.js +0 -4
- package/dist/cdn/U2SHB7K7.js +0 -4
- package/dist/cdn/U3KYSO76.js +0 -4
- package/dist/cdn/UBY5Z2OF.js +0 -4
- package/dist/cdn/UD5QFKJA.js +0 -4
- package/dist/cdn/UESCSU7P.js +0 -4
- package/dist/cdn/UL7UGNIE.js +0 -4
- package/dist/cdn/UM563D3B.js +0 -4
- package/dist/cdn/UMP3YCKY.js +0 -4
- package/dist/cdn/URBFRLFM.js +0 -4
- package/dist/cdn/UUYQYGVK.js +0 -4
- package/dist/cdn/UX32TS23.js +0 -4
- package/dist/cdn/UX7RVOS5.js +0 -4
- package/dist/cdn/UXNKLTTE.js +0 -4
- package/dist/cdn/UXXP76UW.js +0 -42
- package/dist/cdn/V276GGIL.js +0 -4
- package/dist/cdn/V2CEGK63.js +0 -4
- package/dist/cdn/V2WQRK5C.js +0 -4
- package/dist/cdn/V3DID4LL.js +0 -4
- package/dist/cdn/V4H5BSFY.js +0 -4
- package/dist/cdn/V4UBBUZV.js +0 -4
- package/dist/cdn/VDPKJZA2.js +0 -4
- package/dist/cdn/VFCERDY5.js +0 -4
- package/dist/cdn/VFNH3VH7.js +0 -4
- package/dist/cdn/VH7PYS6R.js +0 -4
- package/dist/cdn/VHHOVZAG.js +0 -4
- package/dist/cdn/VIXVIMG5.js +0 -4
- package/dist/cdn/VJYOISAZ.js +0 -4
- package/dist/cdn/VK7QXZ2D.js +0 -4
- package/dist/cdn/VKSIHGL7.js +0 -4
- package/dist/cdn/VLQBJSZZ.js +0 -4
- package/dist/cdn/VMWTUHFU.js +0 -4
- package/dist/cdn/VMXU4IIJ.js +0 -4
- package/dist/cdn/VO6SMQU2.js +0 -51
- package/dist/cdn/VOIW3OO2.js +0 -4
- package/dist/cdn/VP2UBYMS.js +0 -4
- package/dist/cdn/VQ5XNAFE.js +0 -4
- package/dist/cdn/VR6HHU6O.js +0 -4
- package/dist/cdn/VSFYTD5L.js +0 -4
- package/dist/cdn/VU7XANHA.js +0 -4
- package/dist/cdn/VWOSXDSB.js +0 -4
- package/dist/cdn/VXBDSQP4.js +0 -4
- package/dist/cdn/VXRE2ZJA.js +0 -4
- package/dist/cdn/VZFUUNZG.js +0 -4
- package/dist/cdn/W243ZMJL.js +0 -4
- package/dist/cdn/W2SQXZYP.js +0 -4
- package/dist/cdn/W4QC4KZK.js +0 -4
- package/dist/cdn/W4UKQUVO.js +0 -4
- package/dist/cdn/W5UFHINI.js +0 -4
- package/dist/cdn/W73JBBPH.js +0 -4
- package/dist/cdn/W7UG5K2L.js +0 -4
- package/dist/cdn/WAJ25ZET.js +0 -4
- package/dist/cdn/WAKZKEPF.js +0 -4
- package/dist/cdn/WEATSPB6.js +0 -4
- package/dist/cdn/WHHY52KW.js +0 -4
- package/dist/cdn/WI65J4JY.js +0 -4
- package/dist/cdn/WKSL7S4I.js +0 -4
- package/dist/cdn/WOQG3X7P.js +0 -4
- package/dist/cdn/WRTG72AK.js +0 -4
- package/dist/cdn/WTI237Z4.js +0 -4
- package/dist/cdn/WTR745V7.js +0 -4
- package/dist/cdn/WU2MC4GH.js +0 -4
- package/dist/cdn/WVIFILEO.js +0 -4
- package/dist/cdn/WZAKSYNL.js +0 -4
- package/dist/cdn/WZBMAPWM.js +0 -4
- package/dist/cdn/X3UNH7CI.js +0 -4
- package/dist/cdn/X7VXTZPW.js +0 -4
- package/dist/cdn/XANTH45J.js +0 -4
- package/dist/cdn/XFZXKY34.js +0 -4
- package/dist/cdn/XHAS5VHA.js +0 -4
- package/dist/cdn/XKXR7FSW.js +0 -4
- package/dist/cdn/XQJB3A6C.js +0 -4
- package/dist/cdn/XR4JDH3S.js +0 -4
- package/dist/cdn/XRAEPG7J.js +0 -4
- package/dist/cdn/XTACCQSP.js +0 -4
- package/dist/cdn/XU7D6WXG.js +0 -4
- package/dist/cdn/XUS6TXTQ.js +0 -4
- package/dist/cdn/XXVQFQMW.js +0 -4
- package/dist/cdn/Y5VWWDML.js +0 -4
- package/dist/cdn/Y5YOWTYB.js +0 -4
- package/dist/cdn/Y7IUJDV2.js +0 -4
- package/dist/cdn/YBAAXO7H.js +0 -4
- package/dist/cdn/YBB5QY76.js +0 -4
- package/dist/cdn/YDZ5EVFM.js +0 -4
- package/dist/cdn/YH47I3LW.js +0 -4
- package/dist/cdn/YHK2WVST.js +0 -4
- package/dist/cdn/YKT5QRFI.js +0 -4
- package/dist/cdn/YLZG6WYD.js +0 -4
- package/dist/cdn/YNTAYTEQ.js +0 -4
- package/dist/cdn/YOYVMUA4.js +0 -4
- package/dist/cdn/YQA7KSSC.js +0 -4
- package/dist/cdn/YQL7HXJD.js +0 -4
- package/dist/cdn/YQTXMKWH.js +0 -4
- package/dist/cdn/YTAC2JSQ.js +0 -6
- package/dist/cdn/YTP25Z7H.js +0 -4
- package/dist/cdn/YXAIJ2T3.js +0 -4
- package/dist/cdn/YY6VN6ES.js +0 -4
- package/dist/cdn/YYNFMA6Z.js +0 -4
- package/dist/cdn/Z4CG63KR.js +0 -4
- package/dist/cdn/Z4UW2F7Y.js +0 -4
- package/dist/cdn/Z6VTTL7X.js +0 -4
- package/dist/cdn/ZBVT2ZM2.js +0 -4
- package/dist/cdn/ZDNSPJD6.js +0 -12
- package/dist/cdn/ZEOSG4IK.js +0 -4
- package/dist/cdn/ZEPFUGHI.js +0 -9
- package/dist/cdn/ZEYIHBYX.js +0 -4
- package/dist/cdn/ZFEZTFJB.js +0 -4
- package/dist/cdn/ZFJV6DZA.js +0 -4
- package/dist/cdn/ZGPZGL5C.js +0 -4
- package/dist/cdn/ZIUWWW6A.js +0 -4
- package/dist/cdn/ZK72TZGZ.js +0 -4
- package/dist/cdn/ZKYOR3VN.js +0 -4
- package/dist/cdn/ZNBE7LQE.js +0 -4
- package/dist/cdn/ZPY4OMSH.js +0 -4
- package/dist/cdn/ZQCUVJRD.js +0 -4
- package/dist/cdn/ZQEMJOQQ.js +0 -4
- package/dist/cdn/ZSWHENRW.js +0 -4
- package/dist/cdn/ZTLLMEXT.js +0 -4
- package/dist/cdn/ZTZIHTTJ.js +0 -4
- package/dist/cdn/ZW56K6PM.js +0 -4
package/dist/cdn/EI7MH2GK.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
-
v0.29.2 */
|
|
4
|
-
import{a as T}from"./G4V6AE6K.js";import{a as S}from"./EVRY5MFP.js";import{a as y,b as g}from"./VK7QXZ2D.js";import{c as h}from"./FJCF3OL5.js";import{a as f,b as x,c as D}from"./GND6SCBE.js";import{e as E,f as F,g as v}from"./ZDNSPJD6.js";import{i as j,p as C,r as d}from"./MXVCBTGF.js";import{e as p,l as O}from"./5C2KD445.js";import{d as w}from"./IGZDRB2Z.js";import{a as I}from"./TXQ6XVGH.js";import{a as l}from"./2XJIKGRC.js";import{h as m}from"./YOYVMUA4.js";import{a as b,r as u}from"./MSVINGTN.js";function st(r){let t=`${l(r.url)}/${r.id}`,e=Object.assign({httpMethod:"GET"},r);return m(t,e).then(s=>e.rawResponse?s:s.feature)}function q(r){let t=I(r,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},r.params)});return m(`${l(r.url)}/query`,t)}var B=r=>{let t=["groupIds","metadata","ownerUser","org"];return v(r)&&t.push("data"),S(r.url)?t.concat("server","layers"):t},$=(r,t)=>{let e=b(r);return e.params=Object.assign(Object.assign({},e.params),{"fields[datasets]":"slug,boundary,extent,recordCount,searchDescription,statistics"}),t&&(e.params["filter[slug]"]=t),e},L=r=>{let{itemId:t,layerId:e}=f(r.id),s=e&&parseInt(e,10),{slug:a,boundary:n,extent:i,recordCount:c,searchDescription:o,statistics:_}=r.attributes;return{itemId:t,layerId:s,slug:a,boundary:n,extent:i,recordCount:c,searchDescription:o,statistics:_}},M=async(r,t)=>{let e=await h("/datasets",$(t,r));return L(e.data[0])},R=async(r,t)=>{try{let e=await h(`/datasets/${r}`,$(t));return L(e.data)}catch(e){return{errors:E(e)}}},P=r=>["Feature Layer","Table"].includes(r),H=async(r,t)=>{let{item:e}=r,{layers:s}=r,a=s&&C(e,s,t&&t.layerId);if(a&&!a.type){let n=`${p(e.url)}/${a.id}`,i=Object.assign({url:n},t);a=await T(i),s=s.map(c=>c.id===a.id?a:c)}return Object.assign(Object.assign({},r),{layers:s})},U=async(r,t)=>{let e=await w(r,t);e.url=j(e,t)||e.url;let s=t?.enrichments||B(e),a=await F(e,s,t);return H(Object.assign(Object.assign({},a),{item:e}),t)},G=async(r,t)=>{let{itemId:e}=f(r),s=await U(e,t),{item:a}=s,n=y(s,["item"]),i=t&&t.layerId,c=O(a,t)?await R(r,t):{},o=c.layerId;return d(a,Object.assign(Object.assign(Object.assign({requestOptions:t},n),c),{layerId:u(i)?o:i,errors:g([n.errors,c.errors])}))},A=async(r,t)=>{let e=await M(r,t),{itemId:s}=e,{layerId:a}=e,n=await U(s,t),{item:i}=n,c=y(n,["item"]),o=t&&t.layerId;return!u(o)&&o!==a&&(a=o,e=Object.assign(Object.assign({},e),await R(`${s}_${a}`,t))),d(i,Object.assign(Object.assign(Object.assign({requestOptions:t},c),e),{layerId:a,slug:r,errors:g([c.errors,e.errors])}))},V=async(r,t)=>{let{url:e,viewDefinition:s}=r,a=s?.definitionExpression;try{return(await q(Object.assign(Object.assign({},t),{url:e,where:a,returnCountOnly:!0}))).count}catch{return 1/0}},at=async(r,t)=>{let e=x(r)?await A(D(r,t?.siteOrgKey),t):await G(r,t),{layer:s,type:a}=e,n=!!s&&P(a);return e.recordCount=n&&(u(e.recordCount)||e.viewDefinition)?await V(e,t):e.recordCount,e};export{st as a,q as b,at as c};
|
package/dist/cdn/EJNJQJLB.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
-
v0.29.2 */
|
|
4
|
-
import{d as p}from"./3E6QDZY3.js";import{a as d,b as u}from"./CTBQZGDW.js";import{a as w,b as l}from"./YH47I3LW.js";import{e as v,g as E}from"./TWUJQQMS.js";import{g as m,h as g,j as f,o as T,r as b,s as D}from"./PIIZEAQR.js";import{c as y}from"./BVS7E5HG.js";function I(){let a=p();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:w.InPerson,catalog:{schemaVersion:0},categories:[],inPersonCapacity:null,inPersonCapacityType:l.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:l.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},a),{view:{heroActions:[],showMap:!1},location:{type:"none"}})}function A(){let{startDateTime:a,endDateTime:n}=p();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[g.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:n.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:a.toISOString(),status:m.PLANNED,tags:[],title:"",location:null}}async function C(a,n,o){let s=a.filter(({entityId:i})=>n.includes(i)),t=n.filter(i=>!s.find(({entityId:e})=>e===i));if(t.length){let{results:i}=await y({q:t.map(r=>`id:${r}`).join(" OR "),num:t.length,authentication:o.authentication}),e=i.map(({id:r,type:c})=>({entityId:r,entityType:c}));s.push(...e)}return s}async function H(a,n){let o=Object.assign(Object.assign({},I()),a);o.endDate=o.startDate;let s=new u(d()),t=s.entityToStore(o,A()),i=await C(a.referencedContentIdsByType,a.referencedContentIds,n),e={access:t.access,allDay:t.allDay,allowRegistration:t.allowRegistration,associations:i,attendanceType:t.attendanceType,capabilities:t.capabilities,categories:t.categories,description:t.description,editGroups:t.editGroups,endDate:t.endDate,endTime:t.endTime,inPersonCapacity:t.inPersonCapacity,notifyAttendees:t.notifyAttendees,onlineMeeting:t.onlineMeeting,readGroups:t.readGroups,startDate:t.startDate,startTime:t.startTime,summary:t.summary,tags:t.tags,timeZone:t.timeZone,title:t.title,location:t.location};return t=await T(Object.assign({data:e},n)),s.storeToEntity(t,{})}async function S(a,n){var o,s;let t=Object.assign(Object.assign({},I()),a),i=new u(d()),e=i.entityToStore(t,A()),r=await C(a.referencedContentIdsByType,a.referencedContentIds,n),c={access:e.access,allDay:e.allDay,allowRegistration:e.allowRegistration,associations:r,attendanceType:e.attendanceType,capabilities:e.capabilities,categories:e.categories,description:((o=e.description)===null||o===void 0?void 0:o.trim())||null,editGroups:e.editGroups,endDate:e.endDate,endTime:e.endTime,inPersonCapacity:e.inPersonCapacity,notifyAttendees:e.notifyAttendees,onlineMeeting:e.onlineMeeting,readGroups:e.readGroups,startDate:e.startDate,startTime:e.startTime,status:e.status,summary:((s=e.summary)===null||s===void 0?void 0:s.trim())||null,tags:e.tags,thumbnailUrl:e.thumbnailUrl||null,timeZone:e.timeZone,title:e.title,location:e.location};return e=await b(Object.assign({eventId:e.id,data:c},n)),i.storeToEntity(e,{})}async function M(a,n){await D(Object.assign({eventId:a},n))}function U(a,n){return v(Object.assign({data:a},n))}async function N(a,n){await E(Object.assign({registrationId:a},n))}export{I as a,H as b,S as c,M as d,U as e,N as f};
|
package/dist/cdn/EKHMV2IP.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
-
v0.29.2 */
|
|
4
|
-
import{a as f}from"./TLJ7XYWN.js";import{a as m}from"./BZGRJKHA.js";import{a as u}from"./QHBV5XF3.js";import{a as h}from"./5UPIYGMG.js";function k(e){return b(e,g.noHtml,!1)}function x(e,t="hubTextCard"){let a=!1,i=h(g,t);return i?a=["platformDefault","hubTextCard"].indexOf(t)>-1:(i=g.hubTextCard,a=!0),b(e,i,a)}function b(e,t,a=!0){if(!e||typeof e!="string")return e;e=e.replace(/--!>/g,"-->");let i=/<style[^>]*>([^<]+)<\/style>/gi,r=i.exec(e),o=[];for(;r!=null;)o.push(r[1]),r=i.exec(e);e=e.replace(i,"ADDSTYLE");let n=new m(t,a).sanitize(e);return n=n.replace("ADDSTYLE",`<style>${o.join(" ")}</style>`),n}function p(e="",t=!0){if(typeof e!="string")return e;let a=e.substring(0,e.indexOf(":")).trim();return a==="http"&&t&&(a="https",e=e.replace("http://","https://")),e==="/"||e==="#"||e[0]==="#"||e[0]==="/"||y.indexOf(a.toLowerCase())>-1?f.exports.escapeAttrValue(e):""}var y=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],s=["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","animation","canvas","circle","clipPath","color-profile","cursor","defs","desc","discard","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","handler","hkern","line","linearGradient","listener","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","prefetch","radialGradient","rect","set","solidColor","stop","switch","svg","symbol","tbreak","text","textArea","textPath","tref","tspan","unknown","use","view","vkern"];function l(e,t,a,i){let r=e.startsWith("calcite-");return(e==="a"||r)&&t==="href"?p(a,!1):(e==="img"||e==="source")&&t==="src"?p(a):f.exports.safeAttrValue(e,t,a,i)}var g={platformDefault:{},noHtml:{whiteList:{},stripIgnoreTag:!0,stripIgnoreTagBody:["script"]},headContent:{whiteList:{meta:["name","content","http-equiv","charset"]},stripIgnoreTag:!0,stripIgnoreTagBody:!0},pageMetaContent:{whiteList:{meta:["name","content","http-equiv","charset"]},stripIgnoreTag:!0,stripIgnoreTagBody:!0},linksOnly:{safeAttrValue:l,whiteList:{a:["href","title","aria-label","rel","target"]},stripIgnoreTag:!0,stripIgnoreTagBody:["script"]},noHrefs:{whiteList:{a:["data-target","data-toggle","name","rel","style","target","title"]}},itemDescriptionStrict:{stripIgnoreTagBody:!0,safeAttrValue:l,whiteList:{a:["href","title"],br:[],dd:[],div:[],dl:[],dt:[],em:[],font:[],li:[],ol:[],p:[],span:[],strong:[],ul:[]}},itemDescription:{stripIgnoreTagBody:!0,safeAttrValue:l,whiteList:{a:["href","title"],b:[],blockquote:["cite"],br:[],caption:[],cite:[],code:[],col:["span","width"],colgroup:["span","width"],dd:[],div:[],dl:[],dt:[],em:[],font:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["align","alt","height","src","title","width"],li:[],ol:[],p:[],pre:[],q:["cite"],small:[],strike:[],strong:[],span:[],sub:[],sup:[],table:["summary","width"],tbody:[],td:["abbr","axis","colspan","rowspan","width"],tfoot:[],th:["abbr","axis","colspan","rowspan","scope","width"],thead:[],tr:[],u:[],ul:[]}},hubTextCard:{stripIgnoreTagBody:["script"],allowCommentTag:!0,css:!1,onTagAttr(e,t,a,i){let r=e.startsWith("calcite-"),o=t.startsWith("data-"),c=t.startsWith("on");if(u.info(`Sanitizer:onTagAttr handler for ${e} ${t}=${a} isAllowedAttr: ${i}`),t==="href"&&(a=p(a,!1)),!c&&(r||o||s.includes(e))){if(t==="href")return`href="${a}"`;let n=a.replace(/&(?!amp;|quot;|lt;|gt;)/g,"&").replace(/'/g,""").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">"),d=`"${n}"`;return s.includes(e)&&(t==="viewbox"&&(t="viewBox"),d=`'${n}'`),`${t}=${d}`}if(!a&&typeof a=="string"&&a.length===0)return`${t}=""`},onIgnoreTagAttr(e,t,a,i){let r=e.startsWith("calcite-");if(!t.startsWith("on")&&(r||s.includes(e))){e==="svg"&&t==="viewbox"&&(t="viewBox");let n=`"${a}"`;return s.includes(e)&&(n=`'${a}'`),`${t}=${n}`}return["id","viewbox","class","style","align","aria-label","aria-describedby","aria-labelledby","role","tabindex","slot","lang"].indexOf(t)>-1||i?`${t}="${a}"`:null},safeAttrValue:l,escapeHtml(e){return e&&e.replace(/<!--/g,"[CMS]").replace(/-->/g,"[CME]").replace(/</g,"<").replace(/>/g,">").replace(/\[CMS\]/g,"<!--").replace(/\[CME\]/g,"-->")},whiteList:{a:["data-target","data-toggle","href","name","rel","style","target","title"],abbr:[],acronym:[],address:[],article:[],aside:[],audio:["autoplay","controls","loop","muted","preload"],b:[],bdi:[],bdo:[],big:[],blockquote:["cite"],br:[],button:["name","value","data-toggle","data-target","data-dismiss"],caption:[],center:[],cite:[],code:[],col:["span","width"],colgroup:["span","width"],datalist:[],dd:[],del:[],details:[],dfn:[],div:["style","align","data-show","data-target","data-toggle"],dl:[],dt:[],em:[],embed:[],fieldset:[],figcaption:[],figure:[],font:["size","color","style"],footer:[],frameset:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],head:[],header:[],hgroup:[],hr:[],i:[],img:["src","width","height","border","alt","style","align","title"],input:[],ins:[],kbd:[],keygen:[],li:[],link:[],main:[],map:[],mark:[],menu:[],meter:[],nav:[],ol:["align","type"],optgroup:[],option:[],output:[],p:["style"],param:[],pre:[],progress:[],q:["cite"],rp:[],rt:[],ruby:[],s:[],samp:[],section:[],select:[],small:[],source:["media","src","type"],span:["style"],strike:[],strong:[],style:[],sub:[],summary:[],sup:[],table:["width","height","cellpadding","cellspacing","border","style","summary","class"],tbody:[],td:["height","width","valign","align","colspan","rowspan","nowrap","style","abbr","axis"],textarea:[],tfoot:[],th:["height","width","valign","align","colspan","rowspan","nowrap","style","abbr","axis","scope"],thead:[],time:[],title:[],tr:["height","valign","align","style"],track:[],tt:[],u:[],"calcite-action":[],"calcite-accordion":[],"calcite-accordion-item":[],"calcite-avatar":[],"calcite-block":[],"calcite-button":[],"calcite-card":[],"calcite-chip":[],"calcite-dropdown-group":[],"calcite-dropdown-item":[],"calcite-fab":[],"calcite-flow":[],"calcite-icon":[],"calcite-link":[],"calcite-dialog":[],"calcite-panel":[],"calcite-rating":[],"calcite-split-button":[],"calcite-stepper":[],"calcite-stepper-item":[],"calcite-tab":[],"calcite-tab-nav":[],"calcite-tab-title":[],"calcite-tabs":[],"calcite-tile":[],"calcite-tip":[],"calcite-tooltip":[],altGlyph:[],altGlyphDef:[],altGlyphItem:[],animate:[],animateColor:[],animateMotion:[],animateTransform:[],animation:[],canvas:[],circle:[],clipPath:[],"color-profile":[],cursor:[],defs:[],desc:[],discard:[],ellipse:[],feBlend:[],feColorMatrix:[],feComponentTransfer:[],feComposite:[],feConvolveMatrix:[],feDiffuseLighting:[],feDisplacementMap:[],feDistantLight:[],feDropShadow:[],feFlood:[],feFuncA:[],feFuncB:[],feFuncG:[],feFuncR:[],feGaussianBlur:[],feImage:[],feMerge:[],feMergeNode:[],feMorphology:[],feOffset:[],fePointLight:[],feSpecularLighting:[],feSpotLight:[],feTile:[],feTurbulence:[],filter:[],"font-face":[],"font-face-format":[],"font-face-name":[],"font-face-src":[],"font-face-uri":[],foreignObject:[],g:[],glyph:[],glyphRef:[],handler:[],hkern:[],line:[],linearGradient:[],listener:[],marker:[],mask:[],metadata:[],"missing-glyph":[],mpath:[],path:[],pattern:[],polygon:[],polyline:[],prefetch:[],radialGradient:[],rect:[],set:[],solidColor:[],stop:[],switch:[],svg:[],symbol:[],tbreak:[],text:[],textArea:[],textPath:[],tref:[],tspan:[],unknown:[],use:[],view:[],vkern:[]}}};export{k as a,x as b,p as c};
|
package/dist/cdn/ENMT6R2Q.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
-
v0.29.2 */
|
|
4
|
-
import"./T3ZSUD66.js";export default $arcgis.t(([{planarArea:c},{webMercatorToGeographic:m},{on:h,watch:i},o])=>{var a=r=>new o(r);return{newGraphicsLayer:a,on:h,planarArea:c,watch:i,webMercatorToGeographic:m}},"geometry/geometryEngine","geometry/support/webMercatorUtils","core/reactiveUtils","layers/GraphicsLayer")
|
package/dist/cdn/ENYTKSZ7.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
-
v0.29.2 */
|
|
4
|
-
import{a as m}from"./IPXQF75F.js";import{a as s}from"./5UPIYGMG.js";function C(...r){function a(l,z,i){let{get:u}=i,e=m(32),h=function(){this.hasOwnProperty("_memoizeCache")||(this._memoizeCache={});let c=()=>{let o=u.call(this),t=r.reduce((g,n)=>Object.assign(Object.assign({},g),{[n]:s(this,n)}),{});return this._memoizeCache[e]={previousPathValues:t,value:o},o};return this._memoizeCache[e]?r.some(t=>this._memoizeCache[e].previousPathValues[t]!==s(this,t))?c():this._memoizeCache[e].value:c()};return Object.assign(Object.assign({},i),{get:h})}return a}export{C as a};
|
package/dist/cdn/ETGK36SD.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
-
v0.29.2 */
|
|
4
|
-
import"./T3ZSUD66.js";var e={percent:"\u0E40\u0E1B\u0E2D\u0E23\u0E4C\u0E40\u0E0B\u0E47\u0E19\u0E15\u0E4C",values:"\u0E04\u0E48\u0E32",standardizedValues:"\u0E04\u0E48\u0E32\u0E17\u0E35\u0E48\u0E1B\u0E23\u0E31\u0E1A\u0E21\u0E32\u0E15\u0E23\u0E10\u0E32\u0E19\u0E41\u0E25\u0E49\u0E27",count:"\u0E19\u0E31\u0E1A",aggregationOfValues:"${ aggregation } \u0E02\u0E2D\u0E07\u0E04\u0E48\u0E32",aggregationOfFieldName:"${ aggregation } \u0E08\u0E32\u0E01 ${ fieldName }"},g={aggrFieldsByCategory:"${ aggregationFields } \u0E42\u0E14\u0E22 ${ category }",aggrTypeCategory:"${ aggregationType } \u0E42\u0E14\u0E22 ${ category }",aggrTypeCategoryBySplitBy:"${ aggregationType } \u0E42\u0E14\u0E22 ${ category } \u0E42\u0E14\u0E22 ${ splitByField }",aggrTypeOfAggrFields:"${ aggregationType } \u0E08\u0E32\u0E01 ${ aggregationFields }",aggrTypeOfAggrFieldByCategoryBySplitByField:"${ aggregationType } \u0E02\u0E2D\u0E07 ${ aggregationField } \u0E42\u0E14\u0E22 ${ category } \u0E42\u0E14\u0E22 ${ splitByField }",aggrTypeOfAggrFieldsByCategory:"${ aggregationType } \u0E02\u0E2D\u0E07 ${ aggregationFields } \u0E42\u0E14\u0E22 ${ category }",aggrFieldsByXAxisField:"${ aggregationFields } \u0E42\u0E14\u0E22 ${ xAxisField }",aggrTypeXAxisField:"${ aggregationType } \u0E42\u0E14\u0E22 ${ xAxisField }",aggrTypeXAxisFieldBySplitBy:"${ aggregationType } \u0E42\u0E14\u0E22 ${ xAxisField } \u0E42\u0E14\u0E22 ${ splitByField }",aggrTypeOfAggrFieldByXAxisFieldBySplitByField:"${ aggregationType } \u0E02\u0E2D\u0E07 ${ aggregationField } \u0E42\u0E14\u0E22 ${ xAxisField } \u0E42\u0E14\u0E22 ${ splitByField }",aggrTypeOfAggrFieldsByXAxisField:"${ aggregationType } \u0E02\u0E2D\u0E07 ${ aggregationFields } \u0E42\u0E14\u0E22 ${ xAxisField }",distributionOfField:"\u0E01\u0E32\u0E23\u0E01\u0E23\u0E30\u0E08\u0E32\u0E22\u0E02\u0E2D\u0E07 ${ valueField }",distributionOfFields:"\u0E01\u0E32\u0E23\u0E01\u0E23\u0E30\u0E08\u0E32\u0E22\u0E02\u0E2D\u0E07 ${ valueFields }",distributionOfFieldsByCategory:"\u0E01\u0E32\u0E23\u0E01\u0E23\u0E30\u0E08\u0E32\u0E22\u0E02\u0E2D\u0E07 ${ valueFields } \u0E15\u0E32\u0E21 ${ category }",distributionOfFieldsByCategoryAndSplitBy:"\u0E01\u0E32\u0E23\u0E01\u0E23\u0E30\u0E08\u0E32\u0E22\u0E02\u0E2D\u0E07 ${ valueFields } \u0E15\u0E32\u0E21 ${ category } \u0E41\u0E25\u0E30 ${ splitByField }",xAndY:"${ x } \u0E41\u0E25\u0E30 ${ y }"},i={barChart:"\u0E41\u0E1C\u0E19\u0E20\u0E39\u0E21\u0E34\u0E41\u0E17\u0E48\u0E07",lineChart:"\u0E41\u0E1C\u0E19\u0E20\u0E39\u0E21\u0E34\u0E40\u0E2A\u0E49\u0E19",pieChart:"\u0E41\u0E1C\u0E19\u0E20\u0E39\u0E21\u0E34\u0E17\u0E23\u0E07\u0E01\u0E25\u0E21",histogram:"\u0E2E\u0E35\u0E2A\u0E42\u0E15\u0E41\u0E01\u0E23\u0E21",scatterplot:"\u0E1E\u0E25\u0E47\u0E2D\u0E15\u0E01\u0E32\u0E23\u0E01\u0E23\u0E30\u0E08\u0E32\u0E22"},a={axisLabels:e,titleLabels:g,chartType:i};export{e as axisLabels,i as chartType,a as default,g as titleLabels};
|
package/dist/cdn/EVRY5MFP.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
-
v0.29.2 */
|
|
4
|
-
import{s as a}from"./MSVINGTN.js";var s=/\/(map|feature)server/i,o=e=>s.test(e),i=e=>{let r=s.exec(e),t=r&&r[1];return t&&`${a(t)} Service`};export{o as a,i as b};
|
package/dist/cdn/EWX2GPMZ.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
-
v0.29.2 */
|
|
4
|
-
import{a as yt}from"./ZEOSG4IK.js";import{a as Te,b as Le,c as je,d as He,e as Fe}from"./J4QCHK3X.js";import{a as mt}from"./RVCPVS6B.js";import{a as gt,c as bt}from"./ZEPFUGHI.js";import{a as ne}from"./33F7PYZ6.js";import{a as pe}from"./I65Y26WD.js";import{a as Se}from"./PDZQDVMK.js";import{a as Ee}from"./QZFRIIAR.js";import{a as ue}from"./DJZ2NEPC.js";import b from"./U2SHB7K7.js";import"./2NVQ27KS.js";import{a as ie,b as ke}from"./FQLVCAYT.js";import{a as de,b as H}from"./ILYSIRQT.js";import a from"./XXVQFQMW.js";import"./HA4FXHU6.js";import"./QHNFKRTR.js";import{a as K}from"./ENYTKSZ7.js";import{a as Me}from"./TU6C77DM.js";import{a as y,d as Je,e as Xe,f as Ce,g as Ze,h as ce,j as we,k as et,m as Oe,r as tt,t as xe,v as st}from"./NPZ2RWVN.js";import{a as it,b as nt}from"./VR6HHU6O.js";import{a as Ie}from"./WI65J4JY.js";import{a as ot}from"./VP2UBYMS.js";import{b as Ue}from"./UX7RVOS5.js";import{a as at}from"./BDVX6IX7.js";import"./KTE4NDWM.js";import"./QLHOWH7V.js";import"./K35SA6IJ.js";import"./TLJ7XYWN.js";import"./BZGRJKHA.js";import"./MHVKJKZ2.js";import"./IKCQD4YX.js";import{m as Ye,n as Qe}from"./LKM2WMOC.js";import"./TR2NXVM6.js";import"./IQXTF7PA.js";import"./FTZGOF4U.js";import"./XQJB3A6C.js";import"./EGYI55NS.js";import"./QZWJEOC7.js";import"./CTBQZGDW.js";import"./YH47I3LW.js";import"./RBQMOKHX.js";import"./IWQUBRGB.js";import"./KYM2EKWY.js";import"./KAGLQ6BE.js";import"./6LN3PFN7.js";import"./EI7MH2GK.js";import"./G4V6AE6K.js";import{$ as z,L as k,N as re,O as C,X as ze,Z as Ke,_ as qe,aa as We,ba as _e,ca as $e,o as Y}from"./75GQ7IOO.js";import"./Z4CG63KR.js";import"./EXIQRU4W.js";import"./TWUJQQMS.js";import"./YHK2WVST.js";import"./PIIZEAQR.js";import"./EVRY5MFP.js";import"./VK7QXZ2D.js";import"./3SQ74LS3.js";import"./VH7PYS6R.js";import"./ODRNVCZG.js";import"./SLMPCBTA.js";import"./MI4K3XTX.js";import"./W243ZMJL.js";import"./YBB5QY76.js";import{f as fe,k as x,l as Be,m as ve,n as Ge}from"./VXRE2ZJA.js";import"./PFOFIFV5.js";import"./ZNBE7LQE.js";import"./FJCF3OL5.js";import"./GND6SCBE.js";import"./ZDNSPJD6.js";import"./7LJNGZMB.js";import"./KBN4F3Y7.js";import"./MXVCBTGF.js";import"./LHMAHTUT.js";import"./IPXQF75F.js";import"./3PDUKBJT.js";import"./PAWQJVZS.js";import"./47ES55RB.js";import"./M6JW6LVR.js";import{h as ye}from"./3NH75RF6.js";import"./Y5YOWTYB.js";import"./HDKOA4UO.js";import"./FOK5WBGO.js";import"./K7573CL6.js";import"./UMP3YCKY.js";import"./VWOSXDSB.js";import"./5C2KD445.js";import"./QXN74ILP.js";import"./MEYNUPSB.js";import"./ZFEZTFJB.js";import"./BVS7E5HG.js";import"./PDERGEOU.js";import"./IGZDRB2Z.js";import"./TXQ6XVGH.js";import"./2XJIKGRC.js";import"./YOYVMUA4.js";import{c as Q,g as Ne,j as oe}from"./O5MN24NE.js";import"./VFCERDY5.js";import"./QZDU7FF5.js";import"./RIRN5SFS.js";import"./VHHOVZAG.js";import"./BHHRGRFI.js";import"./D752SJ36.js";import"./7Q3YRT3Q.js";import{o as Ve}from"./T3AXKAF2.js";import"./SF227R4N.js";import"./BTRSNMFS.js";import"./MIPOQZAE.js";import{a as $}from"./DEGSSENI.js";import{a as j}from"./DSGD4JYX.js";import"./RD56WB6R.js";import"./PWCVZIGU.js";import{a as g}from"./R3QOP4G4.js";import"./C4AD3GJ6.js";import{b as r,c as q,d as F,e as v,h as E,i as N}from"./R2IJ5SOO.js";import{a as X}from"./QHBV5XF3.js";import{a as G}from"./MSVINGTN.js";import"./5UPIYGMG.js";import"./FAVVVVRX.js";import"./T3ZSUD66.js";export default $arcgis.t(([,{a:le,b:rt,c:Re,h:Pe,i:se,j:Z,n:ct,p:lt,q:Ae,r:dt,s:ut,u:De,v:ht},{a:pt,b:he}])=>{function Dt(e){function t(s,i,o){let{get:n}=o,a=function(){let l=n.call(this);return gt(l,e)};return Object.assign(Object.assign({},o),{get:a})}return t}var St="data-mention",kt=new RegExp(`<[a-z-]+( [a-z-]+(=('|")[\\w- ]+('|"))?)*( ${St}=('|")[\\w@\\.-]+('|"))( [a-z-]+(=('|")[\\w- ]+('|"))?)*>@[\\w@\\.-]+</[a-z-]+>`,"g"),Et=(e,t)=>{let s=ce(e)[0];return t?t.find(i=>i.userId===s):null};function Tt(e,t,s,i,o){let n=Q(),a=(c="")=>{var l,d,u,h,p,m,b,f,_,w,A;let R=c.match(kt);if(R){let[I]=R,O=c.indexOf(I),S=O+I.length,T=O>0?c.substring(0,O):"",U=c.substring(O,O+I.length),P=Et(U,i),B=U.replace(I,`<arcgis-hub-discussions-mention-popover
|
|
5
|
-
access="${(d=(l=P?.user)===null||l===void 0?void 0:l.access)!==null&&d!==void 0?d:""}"
|
|
6
|
-
channel-access="${x(o)}"
|
|
7
|
-
channel-id="${o.id}"
|
|
8
|
-
creator-username="${s?.username||t.creator}"
|
|
9
|
-
full-name="${(h=(u=P.user)===null||u===void 0?void 0:u.fullName)!==null&&h!==void 0?h:""}"
|
|
10
|
-
organization="${(m=(p=P.org)===null||p===void 0?void 0:p.name)!==null&&m!==void 0?m:""}"
|
|
11
|
-
region="${((b=P.user)===null||b===void 0?void 0:b.region)||""}"
|
|
12
|
-
thumbnail="${((f=P.user)===null||f===void 0?void 0:f.thumbnail)||""}"
|
|
13
|
-
token="${(_=n.hubRequestOptions.authentication)===null||_===void 0?void 0:_.token}"
|
|
14
|
-
user-id="${(A=(w=P.user)===null||w===void 0?void 0:w.id)!==null&&A!==void 0?A:""}"
|
|
15
|
-
username="${P.userId}"
|
|
16
|
-
>${I}</arcgis-hub-discussions-mention-popover>`);return T+B+a(c.substring(S))}else return c};return a(e)}function Lt(){function e(t,s,i){let{get:o}=i,n=function(){let c=o.call(this);return Tt(c,this.post,this.postCreator,this.postMentionedUsers,this.channel)};return Object.assign(Object.assign({},i),{get:n})}return e}function jt(e,t,s){let i={channelId:e,postId:t,discussions:!0};s&&(i.replyId=t,i.postId=s);let o=new URL(globalThis.location.href);Object.entries(i).forEach(([n,a])=>{o.searchParams.set(n,a.toString())}),navigator.clipboard.writeText(o.toString())}async function ft(e,t){let{post:s}=e,{postMentionedUsers:i}=e;if(s){let o=ce(s.body);i=(i??[]).filter(c=>o.includes(c.userId));let n=o.filter(c=>!i.find(l=>c===l.userId)),a=await Promise.all(n.map(async c=>{let l,d,u,h;try{l=await Le(c,t),d=null}catch(p){d=p,l=null}try{u=l?.orgId?await mt(l.orgId,t):null,h=null}catch(p){h=p,u=null}return{userId:c,user:l,userError:d,org:u,orgError:h}}));i=[...i,...a]}else i=null;return{postMentionedUsers:i}}function wt(e,t){function s(i,o,n){let{get:a}=n,c=function(...d){var u;let h=a.apply(this,d);return h&&this.post.status!==k.APPROVED?bt(h,(u=this.channel.blockWords)!==null&&u!==void 0?u:[],e,t,this.intl,{labelKey:"blockedWordTooltipLabel",textKey:"blockedWordTooltipText"}):h};return Object.assign(Object.assign({},n),{get:c})}return s}var Ht=`.sc-arcgis-hub-discussions-post-h{display:block}.sc-arcgis-hub-discussions-post-h:not([parent-id]){padding-top:0.75rem;padding-bottom:0.75rem}[data-view$="renderPost"].sc-arcgis-hub-discussions-post-h{background-color:var(--calcite-color-foreground-1)}[data-view$="renderEditor"].sc-arcgis-hub-discussions-post-h:not([parent-id]){background-color:transparent}arcgis-hub-discussions-post-header.sc-arcgis-hub-discussions-post,.sc-arcgis-hub-discussions-post-s>[slot='metadata']{margin-left:1rem;margin-right:1rem;margin-bottom:0.5rem}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-header.sc-arcgis-hub-discussions-post,.sc-arcgis-hub-discussions-post-h[parent-id].sc-arcgis-hub-discussions-post-s>[slot='metadata'],.sc-arcgis-hub-discussions-post-h[parent-id] .sc-arcgis-hub-discussions-post-s>[slot='metadata']{margin-left:0px;margin-right:0px}.sc-arcgis-hub-discussions-post-s>[slot='metadata'],.sc-arcgis-hub-discussions-post-s>[slot='editor']{display:none}.sc-arcgis-hub-discussions-post-h:has(slot-fb[name='metadata']).sc-arcgis-hub-discussions-post-s>[slot='metadata'],.sc-arcgis-hub-discussions-post-h:has(slot-fb[name='metadata']) .sc-arcgis-hub-discussions-post-s>[slot='metadata'],.sc-arcgis-hub-discussions-post-h:has(slot-fb[name='editor']).sc-arcgis-hub-discussions-post-s>[slot='editor'],.sc-arcgis-hub-discussions-post-h:has(slot-fb[name='editor']) .sc-arcgis-hub-discussions-post-s>[slot='editor']{display:block}arcgis-hub-discussions-post-chips.sc-arcgis-hub-discussions-post{padding-left:1rem;padding-right:1rem;padding-bottom:0.75rem}header.sc-arcgis-hub-discussions-post{margin-left:1rem;margin-right:1rem;margin-bottom:0.25rem;overflow-wrap:break-word;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}arcgis-multiline-ellipsis.sc-arcgis-hub-discussions-post{margin:0px;margin-left:1rem;margin-right:1rem;font-size:var(--calcite-font-size-0);line-height:1.375rem;color:var(--calcite-color-text-1)}footer.sc-arcgis-hub-discussions-post{display:flex;flex-direction:column}article.sc-arcgis-hub-discussions-post:has(arcgis-hub-discussions-post-geography[data-count='0']) footer.sc-arcgis-hub-discussions-post:not(:has(arcgis-hub-discussions-post-reactions)){margin-top:0.5rem}footer.sc-arcgis-hub-discussions-post .actions.sc-arcgis-hub-discussions-post{margin-left:0.5rem;margin-right:0.5rem;display:flex;justify-content:space-between}footer.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-reactions.sc-arcgis-hub-discussions-post{margin-left:1rem;margin-right:1rem;margin-top:0.75rem;margin-bottom:0.75rem}[parent-id].sc-arcgis-hub-discussions-post-h footer.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-reactions.sc-arcgis-hub-discussions-post{margin-left:0px;margin-right:0px}arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post{margin-top:0px;margin-bottom:0px;margin-left:var(--arcgis-hub-discussions-post-editor-x-margin, 0.75rem);margin-right:var(--arcgis-hub-discussions-post-editor-x-margin, 0.75rem)}calcite-notice.sc-arcgis-hub-discussions-post{margin-left:1rem;margin-right:1rem;margin-bottom:1.5rem}footer.sc-arcgis-hub-discussions-post+calcite-notice.sc-arcgis-hub-discussions-post{margin-top:1rem}arcgis-hub-discussions-post-geography[loading].sc-arcgis-hub-discussions-post{margin-left:1rem;margin-right:1rem}calcite-popover[data-popper-placement][data-popper-reference-hidden].sc-arcgis-hub-discussions-post{pointer-events:auto;opacity:1}calcite-popover.sc-arcgis-hub-discussions-post{pointer-events:auto !important}.discussions-post-action-menu.sc-arcgis-hub-discussions-post:active .discussions-post-action-menu-icon.sc-arcgis-hub-discussions-post{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-post-action-menu-options.sc-arcgis-hub-discussions-post:active{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-post-action-menu-options.sc-arcgis-hub-discussions-post:active .discussions-post-action-menu-options-icon.sc-arcgis-hub-discussions-post{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-post-replies.sc-arcgis-hub-discussions-post:active{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-post-replies.sc-arcgis-hub-discussions-post:active .discussions-post-replies-icon.sc-arcgis-hub-discussions-post{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.actions.sc-arcgis-hub-discussions-post{display:flex;align-items:center}[parent-id].sc-arcgis-hub-discussions-post-h article.sc-arcgis-hub-discussions-post{position:relative;display:grid;grid-template-rows:repeat(1, minmax(0, 1fr));gap:0.75rem;grid-template-columns:2rem auto}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-chips.sc-arcgis-hub-discussions-post{padding-bottom:0px}[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips:not([data-count='0'])) div.sc-arcgis-hub-discussions-post{grid-row-start:2;grid-row-end:2}[parent-id].sc-arcgis-hub-discussions-post-h article.arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post,[parent-id].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post{padding-bottom:1.25rem}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post{position:relative;z-index:10}[parent-id].sc-arcgis-hub-discussions-post-h article.arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post::before,[parent-id].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{position:absolute;top:0px;display:block;height:100%;width:0.125rem;background-color:var(--calcite-color-foreground-2);left:15px;content:''}[parent-id][index='0'].sc-arcgis-hub-discussions-post-h article.arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post::before,[parent-id][index='0'].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{top:2.25rem;height:calc(100% - 2.25rem)}[parent-id][index='0'].sc-arcgis-hub-discussions-post-h article.arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post::before,[parent-id][index='0'].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{height:0px}[parent-id][index='0'].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count]) article.arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post::before,[parent-id][index='0'].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count]) .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{top:2.75rem;height:calc(100% - 2.75rem)}[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count]) article.arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post::before,[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count]) .arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{height:2.25rem}[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count='0']) .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post{padding-top:0.25rem}[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count='0']) article.arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post::before,[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count='0']) .arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{height:0px}[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips) article.arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post::before,[parent-id].sc-arcgis-hub-discussions-post-h article.arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post:not(:has(arcgis-hub-discussions-post-chips))::before,[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips) .arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before,[parent-id].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post:not(:has(arcgis-hub-discussions-post-chips)) arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{height:0px}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post{margin-left:0px;margin-right:0px}[parent-id].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post{padding-bottom:1.5rem}[parent-id].sc-arcgis-hub-discussions-post-h article.arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before,[parent-id].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{z-index:-10}[parent-id].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before,[parent-id][index='0'].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count='0']) article.arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post::before{height:0px}[parent-id][index='0'].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count='0']) article.arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post::before{top:2.25rem;height:calc(100% - 2.25rem)}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-multiline-ellipsis.sc-arcgis-hub-discussions-post{margin-left:0px;margin-right:0px}[parent-id].sc-arcgis-hub-discussions-post-h calcite-action-group.sc-arcgis-hub-discussions-post{margin-left:-0.5rem}.hidden.sc-arcgis-hub-discussions-post{visibility:hidden}@keyframes in-right{0%{opacity:0;transform:translate3D(-100%, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}article.in.sc-arcgis-hub-discussions-post{animation:in-right 300ms ease-out forwards}@keyframes out-left{0%{opacity:1;transform:translate3D(0, 0, 0)}100%{opacity:0;transform:translate3D(-100%, 0, 0)}}article.out.sc-arcgis-hub-discussions-post{animation:out-left 300ms ease-out forwards}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post{padding-bottom:1rem}.arcgis-hub-discussions-post-editor-container.sc-arcgis-hub-discussions-post{overflow:visible}@keyframes in-left{0%{opacity:0;transform:translate3D(100%, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}.arcgis-hub-discussions-post-editor-container.in.sc-arcgis-hub-discussions-post{animation:in-left 300ms ease-out forwards}@keyframes out-right{0%{opacity:1;transform:translate3D(0, 0, 0)}100%{opacity:0;transform:translate3D(100%, 0, 0)}}.arcgis-hub-discussions-post-editor-container.out.sc-arcgis-hub-discussions-post{animation:out-right 300ms ease-out forwards}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-editor[post-id][parent-id].sc-arcgis-hub-discussions-post{padding-left:0px;padding-right:0px}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-multiline-ellipsis.sc-arcgis-hub-discussions-post+calcite-notice.sc-arcgis-hub-discussions-post{margin-top:1rem}[parent-id].sc-arcgis-hub-discussions-post-h article.sc-arcgis-hub-discussions-post{padding-top:0.75rem;padding-bottom:0.75rem}[parent-id].sc-arcgis-hub-discussions-post-h article.out-of-context.sc-arcgis-hub-discussions-post{margin-left:1rem;margin-right:1rem;display:grid;gap:0.5rem;font-style:normal;grid-template-columns:1fr}[parent-id].sc-arcgis-hub-discussions-post-h article.out-of-context.sc-arcgis-hub-discussions-post>div.reply-body.sc-arcgis-hub-discussions-post{display:grid;gap:0.25rem}[parent-id].sc-arcgis-hub-discussions-post-h article.out-of-context.sc-arcgis-hub-discussions-post>div.reply-body.sc-arcgis-hub-discussions-post>arcgis-hub-discussions-post-geography.sc-arcgis-hub-discussions-post{margin-left:-1rem}[parent-id].sc-arcgis-hub-discussions-post-h article.out-of-context.sc-arcgis-hub-discussions-post>div.reply-body.sc-arcgis-hub-discussions-post>arcgis-hub-discussions-post-reactions.sc-arcgis-hub-discussions-post{grid-column:span 1 / span 1}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-popover.sc-arcgis-hub-discussions-post{grid-row:span 2 / span 2;grid-row-start:1;grid-row-end:1}[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips:not([data-count='0'])) arcgis-hub-discussions-popover.sc-arcgis-hub-discussions-post{grid-row-start:2;grid-row-end:2}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-chips.sc-arcgis-hub-discussions-post{grid-column-start:2;grid-row-start:1;grid-row-end:1;height:1.5rem}[parent-id].sc-arcgis-hub-discussions-post-h calcite-avatar.sc-arcgis-hub-discussions-post{position:relative;margin-top:-0.25rem;padding-top:0.25rem;padding-bottom:0.25rem;background-color:var(--calcite-color-foreground-1);box-sizing:initial}[parent-id].sc-arcgis-hub-discussions-post-h footer.sc-arcgis-hub-discussions-post{display:grid;grid-template-columns:auto 48px}[parent-id].sc-arcgis-hub-discussions-post-h footer.sc-arcgis-hub-discussions-post calcite-action.sc-arcgis-hub-discussions-post{grid-column-start:2}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-reactions.sc-arcgis-hub-discussions-post{grid-column:span 2 / span 2;margin-top:0.75rem;margin-bottom:0.75rem}[parent-id].sc-arcgis-hub-discussions-post-h calcite-notice.sc-arcgis-hub-discussions-post{margin:0px}.blocked.sc-arcgis-hub-discussions-post{-webkit-text-decoration-line:underline;text-decoration-line:underline;-webkit-text-decoration-color:var(--calcite-color-status-danger);text-decoration-color:var(--calcite-color-status-danger);-webkit-text-decoration-style:dashed;text-decoration-style:dashed;color:var(--calcite-color-status-danger)}`,Ft=Ht,J=function(e,t,s,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,s):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(n=(o<3?a(n):o>3?a(t,s,n):a(t,s))||n);return o>3&&n&&Object.defineProperty(t,s,n),n},D;(function(e){e.Skeleton="skeleton",e.Post="post",e.Reply="reply",e.OutOfContext="outOfContext",e.Editor="editor",e.Deleted="deleted",e.Hidden="hidden"})(D||(D={}));var L;(function(e){e.IN="in",e.OUT="out",e.HIDDEN="hidden"})(L||(L={}));var W=class{constructor(e){N(this,e),this.arcgisHubDiscussionsPostEdit=v(this,"arcgisHubDiscussionsPostEdit",7),this.arcgisHubDiscussionsPostDelete=v(this,"arcgisHubDiscussionsPostDelete",7),this.arcgisHubDiscussionsPostSelect=v(this,"arcgisHubDiscussionsPostSelect",7),this.arcgisHubDiscussionsGeometryDrawReset=v(this,"arcgisHubDiscussionsGeometryDrawReset",7),this.arcgisHubDiscussionsGeometryDeselect=v(this,"arcgisHubDiscussionsGeometryDeselect",7),this.hubTelemetry=v(this,"hubTelemetry",7),this.arcgisHubDiscussionsPostReady=v(this,"arcgisHubDiscussionsPostReady",7),this.postId=void 0,this.post=void 0,this.postCreator=void 0,this.postCreatorOrg=void 0,this.postError=void 0,this.postMentionedUsers=void 0,this.channelId=void 0,this.channel=void 0,this.channelGroups=void 0,this.parentId=void 0,this.parent=void 0,this.parentCreator=void 0,this.parentCreatorOrg=void 0,this.hasMap=void 0,this.isHub=void 0,this.unsavedFeatures=void 0,this.unsavedRelatedFeatures=void 0,this.unsavedExistingFeatures=[],this.preview=void 0,this.index=void 0,this.discussion=void 0,this.entityId=void 0,this.entityType=void 0,this.discussionSettings=void 0,this.entity=void 0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.displayFieldKey=void 0,this.isMobile=void 0,this.locationId=void 0,this.lead=void 0,this.lastIndex=void 0,this.loading=void 0,this.showLocations=void 0,this.disableSelectExistingLocation=void 0,this.locationDescriptionText=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this._context=Q(),this.minHeight=null,this.popoverIsOpen=void 0,this.articleClass=null,this.editorClass=L.HIDDEN,this.renderedEl=null,this.editing=!1,this.errorMessage=null,this.intl=void 0,this.isCopied=void 0,this._loading=!1,$(this,"handleDelete","handleEdit","handleCopyLink","handleCopyTooltipBeforeOpen","handleCopyTooltipClose","handleActionsPopoverBeforeOpenClose","handleToggleVisibility","handleViewThread","handleReply","handleViewReplies","handleLinkClicked","renderDeleted","renderHidden","renderPost","renderReply","renderEditor","renderSkeleton","handleViewPost","handleSetComponentRef","handleAnimationEnd","renderReplyOutOfContext","handleViewAllReplies","handleReplyOutOfContextReadMore")}connectedCallback(){oe(this),this.addAnimationEventListeners(this.renderedEl)}componentWillLoad(){this.initialize()}disconnectedCallback(){this.removeAnimationEventListeners(this.renderedEl),this.disconnectContext()}handlePostViewAllGeography(){let{postId:e,post:t,postCreator:s,postCreatorOrg:i,channel:o,channelGroups:n,channelId:a}=this;this.arcgisHubDiscussionsPostSelect.emit({parent:t,parentId:e,parentCreator:s,parentCreatorOrg:i,channelId:a,channel:o,channelGroups:n})}handleMultilineEllipsisExpanded(e){this.isReply||(e.preventDefault(),e.stopPropagation(),this.handleViewThread())}handleCalcitePopoverOpen(e){var t;let{open:s}=e.target;e.target!==this.menuPopoverElement&&(!((t=this.menuPopoverElement)===null||t===void 0)&&t.open)?this.menuPopoverElement.setFocus():e.target===this.menuPopoverElement&&s&&this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.popover.details.options),{position:this.index}))}handleReactionChanged(e){e.stopPropagation();let t=e.target;this.post=t.post,this.arcgisHubDiscussionsPostEdit.emit(t.post)}emitHubTelemetry(e){let{postId:t,parentId:s,channel:i,channelId:o}=this;this.hubTelemetry.emit(Object.assign(Object.assign({},e),{postId:t,parentId:s,channelId:o,channelAccess:i?x(i):void 0}))}async loadDependencies(){return this._loading=!0,this.fetchDependencies().then(e=>{Object.assign(this,e),this._loading=!1,this.arcgisHubDiscussionsPostReady.emit()})}fetchDependencies(){return this._fetchDependencies()}async _fetchDependencies(){let{postId:e,postCreator:t,postCreatorOrg:s,parent:i,parentId:o,parentCreator:n,post:a,postMentionedUsers:c,channel:l,channelId:d,_context:u,discussion:h,entityId:p,entity:m,entityType:b,discussionSettings:f,displayFieldKey:_,displayFieldValid:w,displayFieldValue:A,isHub:R,locationId:I,channelGroups:O}=this,[S,T]=await Promise.all([Te({postId:e,post:a},u.hubRequestOptions),ue({isHub:R},u.hubRequestOptions)]),[U,P]=await Promise.all([je(Object.assign({postCreator:t,postCreatorOrg:s},S),u.hubRequestOptions),He(Object.assign({parentId:o,parent:i},S),u.hubRequestOptions)]),[B,ge,be,me]=await Promise.all([he(Object.assign(Object.assign({discussion:h,entityId:p,entityType:b,entity:m,displayFieldKey:_,displayFieldValid:w,displayFieldValue:A,locationId:I,discussionSettings:f},S),P),u.hubRequestOptions,!0),pe(Object.assign(Object.assign({channelId:d,channel:l,channelGroups:O},S),P),u.hubRequestOptions),Fe(Object.assign({parentCreator:n},P),u.hubRequestOptions),ft(Object.assign({postMentionedUsers:c},S),u.hubRequestOptions)]);return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},S),U),P),be),ge),B),T),me)}async initialize(){this.loadTranslations(),this._context&&this.loadDependencies()}async loadTranslations(){this.intl=await j.loadIntlForComponent(this.element)}get postBody(){return this.post.body}get postTitle(){return this.post.title}get isRtl(){return this.intl.direction==="rtl"}handleDelete(){let{_context:e,postId:t,post:s,menuPopoverElement:i,isReply:o}=this;return this.errorMessage=null,i&&(i.open=!1),We(Object.assign({postId:t},e.hubRequestOptions)).then(()=>{this.deletedDuringSession=!0,this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.content.action.delete),{response:g.constants.response.SUCCESS})),this.arcgisHubDiscussionsPostDelete.emit(s)}).catch(n=>{this.errorMessage=o?"deleteFailureReply":"deleteFailure",this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.content.action.delete),{response:g.constants.response.FAILURE})),console.error("Could not delete post:",n.message)})}handleEdit(){this.menuPopoverElement&&(this.menuPopoverElement.open=!1),setTimeout(()=>this.transitionEditorView(!0),100),this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.editor),{position:this.index}))}handleCopyLink(){jt(this.channelId,this.postId,this.parentId),this.isCopied=!0,this.copyTooltipRef.open=!0}handleCopyTooltipBeforeOpen(){this.isCopied||(this.copyTooltipRef.open=!1)}handleCopyTooltipClose(){this.isCopied=!1}handleActionsPopoverBeforeOpenClose(){this.isCopied=!1,this.copyTooltipRef&&(this.copyTooltipRef.open=!1)}handleToggleVisibility(){let{_context:e,post:t,menuPopoverElement:s}=this;this.errorMessage=null,s&&(s.open=!1);let i,o;return t.status===k.HIDDEN||t.status===k.BLOCKED?(i=k.APPROVED,o="show"):(i=k.HIDDEN,o="hide"),$e(Object.assign({data:{status:i},postId:t.id},e.hubRequestOptions)).then(n=>z(Object.assign({postId:n.id,data:{relations:[C.REACTIONS,C.REPLIES,C.CHANNEL,C.CHANNEL_ACL]}},this._context.hubRequestOptions))).then(n=>(n.replyCount=n.replies.total,delete n.replies,this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.status.details[o]),{response:g.constants.response.SUCCESS})),this.arcgisHubDiscussionsPostEdit.emit(n),n)).catch(n=>(console.error("Could not update post status:",n.message),this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.status.details[o]),{response:g.constants.response.FAILURE})),null))}handleViewThread(){let{index:e,postId:t,post:s,postCreator:i,postCreatorOrg:o,channel:n,channelGroups:a,channelId:c}=this;this.arcgisHubDiscussionsPostSelect.emit({parentId:t,parent:s,parentCreator:i,parentCreatorOrg:o,channel:n,channelGroups:a,channelId:c}),e!==void 0&&this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.thread),{position:e}))}handleReply(){let{postId:e,post:t,postCreator:s,postCreatorOrg:i,channel:o,channelGroups:n,channelId:a}=this;this.arcgisHubDiscussionsPostSelect.emit({parentId:e,parent:t,parentCreator:s,parentCreatorOrg:i,channel:o,channelGroups:n,channelId:a,scrollTarget:"editor"}),this.emitHubTelemetry(g.dictionary.category.interaction.action.open.label.editor.details.reply)}handleViewReplies(){let{postId:e,post:t,postCreator:s,postCreatorOrg:i,channel:o,channelGroups:n,channelId:a}=this;this.arcgisHubDiscussionsPostSelect.emit({parentId:e,parent:t,parentCreator:s,parentCreatorOrg:i,channel:o,channelGroups:n,channelId:a,scrollTarget:"list"}),this.emitHubTelemetry(g.dictionary.category.interaction.action.open.label.thread.details.bodyAction)}handleLinkClicked(e){let t=e.target;if(["CALCITE-LINK"].includes(t.nodeName)&&!t.hasAttribute("data-mention")){let{postId:s,parentId:i,channel:o,index:n}=this;this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.navigation.action.external.label.link),{details:t.href,postId:s,parentId:i,channelId:o.id,channelAccess:x(o),position:n}))}}capturePostDeepLinkImpression(){this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.viewed.label.post.details.thread),{response:g.constants.response.SUCCESS}))}capturePostListImpression(){this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.viewed.label.post.details.postList),{position:this.index}))}capturePostDeletedImpression(){this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.viewed.label.post.details.thread),{response:g.constants.response.FAILURE}))}capturePostHiddenImpression(){this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.viewed.label.post.details.thread),{response:g.constants.response.FAILURE}))}handleRenderedElChange(e,t){this.removeAnimationEventListeners(t),this.addAnimationEventListeners(e)}handleContextChanged(e,t){var s,i;((s=e?.currentUser)===null||s===void 0?void 0:s.username)!==((i=t?.currentUser)===null||i===void 0?void 0:i.username)&&this.loadDependencies()}addAnimationEventListeners(e){e&&e.addEventListener("animationend",this.handleAnimationEnd)}removeAnimationEventListeners(e){e&&e.removeEventListener("animationend",this.handleAnimationEnd)}handleViewAllReplies(){let{parent:e,parentId:t,parentCreator:s,parentCreatorOrg:i,channel:o,channelId:n,channelGroups:a}=this;this.arcgisHubDiscussionsPostSelect.emit({parent:e,parentId:t,parentCreator:s,parentCreatorOrg:i,channelId:n,channel:o,channelGroups:a})}handleReplyOutOfContextReadMore(){let{parent:e,parentId:t,parentCreator:s,parentCreatorOrg:i,channel:o,channelId:n,channelGroups:a,postId:c,post:l,postCreator:d,postCreatorOrg:u}=this;this.arcgisHubDiscussionsPostSelect.emit({parent:e,parentId:t,parentCreator:s,parentCreatorOrg:i,channelId:n,channel:o,channelGroups:a,postId:c,post:l,postCreator:d,postCreatorOrg:u})}handleViewPost(e){e.stopPropagation();let{parent:t,parentId:s,parentCreator:i,parentCreatorOrg:o,channel:n,channelId:a,channelGroups:c,post:l,postId:d,postCreator:u,postCreatorOrg:h}=this;this.arcgisHubDiscussionsPostSelect.emit({parent:t,parentId:s,parentCreator:i,parentCreatorOrg:o,channelId:a,channel:n,channelGroups:c,post:l,postId:d,postCreator:u,postCreatorOrg:h})}handleSetComponentRef(e){e&&(this.renderedEl=e)}handlePostCanceled(e){e.stopPropagation(),this.transitionEditorView(!1),this.arcgisHubDiscussionsGeometryDeselect.emit(),this.arcgisHubDiscussionsGeometryDrawReset.emit()}async handlePostCreatedOrDeleted(e){var t;if(e.detail.parentId===((t=this.post)===null||t===void 0?void 0:t.id)){let s=await z(Object.assign({postId:this.post.id,data:{relations:[C.REACTIONS,C.REPLIES,C.CHANNEL,C.CHANNEL_ACL]}},this._context.hubRequestOptions));s.replyCount=s.replies.total,delete s.replies,this.arcgisHubDiscussionsPostEdit.emit(s)}}handleAnimationEnd(e){e.animationName==="out-left"?(this.editing=!0,this.editorClass=L.IN,this.articleClass=L.HIDDEN):e.animationName==="out-right"?(this.editing=!1,this.editorClass=L.HIDDEN,this.articleClass=L.IN):(this.editorClass=null,this.articleClass=null,this.minHeight=null)}async handlePostEditedBody(e){var t;if(((t=this.post)===null||t===void 0?void 0:t.id)===e.detail.id){this.post=e.detail;let{postMentionedUsers:s}=await ft({postMentionedUsers:this.postMentionedUsers,post:this.post},this._context.hubRequestOptions);this.postMentionedUsers=s}}handlePostEdited(e){e.target.nodeName.toLowerCase()==="arcgis-hub-discussions-post-editor"&&this.transitionEditorView(!1)}handlePopoverOpen(){this.popoverIsOpen=!0}handlePopoverClose(){this.popoverIsOpen=!1}transitionEditorView(e){var t,s;this.minHeight=(s=(t=this.renderedEl)===null||t===void 0?void 0:t.offsetHeight)!==null&&s!==void 0?s:null,this.editorClass=e?L.HIDDEN:L.OUT,this.articleClass=e?L.OUT:L.HIDDEN}get isLoading(){return!this._context||this._loading||!this.intl||this.loading}get locationListIsDisabled(){let e=!1;return this.locationDescriptionText&&!this.isMobile||this.showLocations?e=!1:(!this.hasMap||this.isMobile)&&(e=!0),e}get views(){let{renderEditor:e,renderDeleted:t,renderHidden:s,renderPost:i,renderReply:o,renderSkeleton:n,renderReplyOutOfContext:a}=this;return{[D.Skeleton]:{render:n},[D.Post]:{render:i},[D.Reply]:{render:o},[D.OutOfContext]:{render:a},[D.Editor]:{render:e},[D.Deleted]:{render:t},[D.Hidden]:{render:s}}}get view(){let{views:e,post:t,postError:s,editing:i,isLoading:o,outOfContext:n,isReply:a}=this,c=s?.status,l;return o?l=D.Skeleton:c===404?l=D.Deleted:c===422?l=D.Hidden:t?i?l=D.Editor:n?l=D.OutOfContext:a?l=D.Reply:l=D.Post:l=D.Deleted,e[l]}get actionMenuActions(){let{isReply:e,post:t,channel:s,_context:i,intl:o,isHub:n}=this,a=[];return!e&&n&&a.push({icon:"link",text:o.t("link"),fn:this.handleCopyLink,ref:c=>{this.copyActionRef=c}}),i.currentUser&&(Ze(s,i.currentUser)&&a.push(t.status===k.HIDDEN||t.status===k.BLOCKED?{icon:"view-visible",text:o.t("show"),fn:this.handleToggleVisibility}:{icon:"view-hide",text:o.t("hide"),fn:this.handleToggleVisibility}),e||((t.creator===i.currentUser.username||Ie(t,i.currentUser,s))&&a.push({icon:"pencil",text:o.t("edit"),fn:this.handleEdit}),Ce(t,s,i.currentUser)&&a.push({icon:"trash",text:o.t("delete"),fn:this.handleDelete}))),a}get creatorFullName(){let{intl:e,post:t,postCreator:s}=this,i=e.t("anonymous");return(s||t?.creator)&&(i=s?.fullName||e.t("privateUser")),i}get outOfContext(){let{index:e,lead:t,isReply:s}=this;return s&&!t&&e!==void 0}get styles(){let{minHeight:e}=this,t={};return e&&(t.minHeight=`${e}px`),t}get isReply(){var e;return!!(this.parent||this.parentId||!((e=this.post)===null||e===void 0)&&e.parentId)}renderEditor(){let{hasMap:e,index:t,isHub:s,unsavedFeatures:i,unsavedRelatedFeatures:o,unsavedExistingFeatures:n,post:a,postCreator:c,postCreatorOrg:l,displayFieldKey:d,displayFieldValue:u,displayFieldValid:h,entity:p,discussionSettings:m,discussion:b,entityId:f,entityType:_,isMobile:w,channelId:A,channel:R,channelGroups:I,locationId:O,postId:S,isReply:T,lead:U,lastIndex:P,editorClass:B,parent:ge,parentId:be,parentCreator:me,showLocations:Pt,disableSelectExistingLocation:At}=this;return r("div",{class:{"arcgis-hub-discussions-post-lead":T&&U,"arcgis-hub-discussions-post-last":T&&t===P,[B]:!!B,"arcgis-hub-discussions-post-editor-container":!0},ref:this.handleSetComponentRef},r("slot",{name:"editor"},r("arcgis-hub-discussions-post-editor",{channel:R,channelGroups:I,channelId:A,disableSelectExistingLocation:At,discussion:b,discussionSettings:m,displayFieldKey:d,displayFieldValid:h,displayFieldValue:u,entity:p,entityId:f,entityType:_,hasMap:e,index:t,isHub:s,isMobile:w,locationId:O,parent:ge,parentCreator:me,parentId:be,post:a,postCreator:c,postCreatorOrg:l,postId:S,showLocations:Pt,unsavedExistingFeatures:n,unsavedFeatures:i,unsavedRelatedFeatures:o})))}renderReactions(){let{post:e,channel:t}=this;if(t.allowReaction)return r("arcgis-hub-discussions-post-reactions",{channel:t,post:e})}renderMetadata(e,t,s,i,o,n,a,c,l){let{isHub:d,post:u,postCreator:h,postCreatorOrg:p,parentCreator:m,channel:b,index:f,parent:_,handleViewPost:w}=this;return r("slot",{name:"metadata"},r("arcgis-hub-discussions-post-header",{channel:b,iconScale:"l",index:f,isHub:d,metadataOrientation:e,onArcgisHubDiscussionsPostSelect:w,parent:_,parentCreator:m,post:u,postCreator:h,postCreatorOrg:p,showChannelAccessIcon:t,showChannelAvatar:s,showChannelName:i,showCreatorAvatar:o,showPopover:n,showReplyingTo:a,showTimestamp:l,showViewPostAction:c}))}renderPost(){let{intl:e,errorMessage:t,preview:s,post:i,channel:o,index:n,articleClass:a,showChannelAvatar:c,showChannelName:l}=this;return n===void 0?this.capturePostDeepLinkImpression():this.capturePostListImpression(),r("article",{class:{[a]:!!a},ref:this.handleSetComponentRef},r("arcgis-hub-discussions-post-chips",{channel:o,index:n,post:i}),this.renderMetadata("block",!0,c,l,!0,!0,!1,!1,!0),r("header",{innerHTML:this.postTitle}),r("arcgis-multiline-ellipsis",{"expand-enabled":s,"expand-icon":this.isRtl?"arrow-left":"arrow-right",innerHTML:this.postBody,lines:s?4:0,onClick:this.handleLinkClicked}),this.renderGeography(!1,!0),r("footer",null,this.renderReactions(),r("div",{class:"actions"},this.renderTextActions(),this.renderActionMenu())),t&&r("calcite-notice",{closable:!0,kind:"danger",open:!0,scale:"s"},r("div",{slot:"title"},e.t("error")),r("div",{slot:"message"},e.t(t))))}renderTextActions(){let{intl:e,post:t,preview:s,channel:i,_context:o}=this,n;return s?n=t.replyCount>1?"actions.viewMany":"actions.viewOne":n=t.replyCount>1?"actions.replies":"actions.oneReply",r("calcite-action-group",{layout:"horizontal"},s&&it(i,o.currentUser)&&fe(this.entity)&&r("calcite-action",{class:"text-action-reply",onClick:this.handleReply,scale:"s",text:e.t("actions.reply"),textEnabled:!0}),t.replyCount!==0&&r("calcite-action",{class:"text-action-view-reply",disabled:!s,onClick:this.handleViewReplies,scale:"s",text:e.t(n,{count:t.replyCount}),textEnabled:!0}))}renderActionMenu(){let{intl:e,isReply:t,actionMenuActions:s}=this;if(s.length)return r(E,null,r("calcite-action",{alignment:"center",class:"discussions-post-action-menu",ref:i=>{this.menuActionElement=i},scale:"s",text:e.t("options")},r("calcite-icon",{class:"discussions-post-action-menu-icon",icon:"ellipsis",scale:"s"})),r("calcite-popover",{autoClose:!0,flipPlacements:t?["top","bottom"]:["top-end","bottom-end"],label:e.t("options"),offsetDistance:0,onCalcitePopoverBeforeClose:this.handleActionsPopoverBeforeOpenClose,onCalcitePopoverBeforeOpen:this.handleActionsPopoverBeforeOpenClose,overlayPositioning:"absolute",placement:"bottom-end",pointerDisabled:!0,ref:i=>{this.menuPopoverElement=i},referenceElement:this.menuActionElement},r("calcite-action-group",{layout:"vertical"},s.map(({text:i,fn:o,icon:n,ref:a})=>r("calcite-action",{class:"discussions-post-action-menu-options","data-action":i.toLowerCase(),id:"discussions-post-action-menu-option-"+n,key:n,onClick:o,ref:a,scale:"m",text:i,"text-enabled":"true"},r("calcite-icon",{class:"discussions-post-action-menu-options-icon",flipRtl:this.isRtl,icon:n,scale:"s"}))))),s.some(({icon:i})=>i==="link")&&r("calcite-tooltip",{onCalciteTooltipBeforeOpen:this.handleCopyTooltipBeforeOpen,onCalciteTooltipClose:this.handleCopyTooltipClose,open:!1,placement:"top",ref:i=>{this.copyTooltipRef=i},referenceElement:this.copyActionRef},r("span",null,e.t("copied"))))}renderDeleted(){let{intl:e,deletedDuringSession:t,isReply:s,handleViewAllReplies:i}=this;return t||this.capturePostDeletedImpression(),r("calcite-notice",{kind:"danger",open:!0,scale:"m"},r("div",{slot:"title"},e.t(s?"deleted.title.reply":"deleted.title")),r("div",{slot:"message"},e.t(s?"deleted.message.reply":"deleted.message")),s&&r("calcite-link",{onClick:i,slot:"link"},e.t("delete.action")))}renderHidden(){let{intl:e,isReply:t}=this;return this.capturePostHiddenImpression(),r("calcite-notice",{kind:"warning",open:!0,scale:"m"},r("div",{slot:"title"},e.t(t?"hidden.title.reply":"hidden.title")),r("div",{slot:"message"},e.t("hidden.message")))}renderSkeleton(){return r("arcgis-hub-discussions-post-skeleton",null)}render(){return r(q,{key:"f0896df715b6821aee6627f31d83d72a36feee97",class:{loading:this._loading},"data-element":"discussions-post","data-view":this.view.render.name,style:this.styles},this.view.render())}renderAvatars(){var e;let{_context:t,isHub:s,parent:i,parentCreator:o,post:n,postCreator:a,postCreatorOrg:c,channel:l,intl:d,index:u,outOfContext:h}=this,p=!a&&n?{username:n.creator}:a,m=h?"l":"m",b=[r("calcite-avatar",{"full-name":p?.fullName,key:"creator",scale:m,thumbnail:p?.thumbnail&&ye(t.hubRequestOptions.portal,p,(e=t.hubRequestOptions.authentication)===null||e===void 0?void 0:e.token),"user-id":p?.id,username:p?.username})];return h&&b.push(r("calcite-avatar",{"full-name":ct(l,d.t("unnamedChannel")),scale:"m"})),o&&(b=r("arcgis-hub-discussions-popover",{channel:l,index:u,isHub:s,parent:i,parentCreator:o,post:n,postCreator:a,postCreatorOrg:c},b)),b}renderActions(){let{intl:e,_context:t,channel:s,post:i,isHub:o}=this,n=[];if(o&&n.push({text:e.t("link"),onClick:this.handleCopyLink,ref:a=>{this.copyActionRef=a}}),t.currentUser&&((i.creator===t.currentUser.username||Ie(i,t.currentUser,s))&&n.push({text:e.t("edit"),onClick:this.handleEdit}),Ce(i,s,t.currentUser)&&n.push({text:e.t("delete"),onClick:this.handleDelete})),n.length)return r("calcite-action-group",{layout:"horizontal"},n.map(a=>r("calcite-action",{appearance:a.appearance,"data-action":a.text.toLowerCase(),icon:a.icon,key:a.text||a.pin,onClick:a.onClick,onMouseOver:a.onMouseOver,ref:a.ref,scale:"s",text:a.text,"text-enabled":!!a.text})),o&&r("calcite-tooltip",{onCalciteTooltipBeforeOpen:this.handleCopyTooltipBeforeOpen,onCalciteTooltipClose:this.handleCopyTooltipClose,open:!1,placement:"top",ref:a=>{this.copyTooltipRef=a},referenceElement:this.copyActionRef},r("span",null,e.t("copied"))))}renderReplyOutOfContext(){let{intl:e,errorMessage:t,index:s,lead:i,lastIndex:o,articleClass:n,handleReplyOutOfContextReadMore:a}=this;return s===void 0?this.capturePostDeepLinkImpression():this.capturePostListImpression(),r("article",{class:{"out-of-context":!0,"arcgis-hub-discussions-post-last":i&&s===o,[n]:!!n},ref:this.handleSetComponentRef},this.renderMetadata("block",!1,!0,!1,!0,!0,!0,!0,!1),r("div",{class:"reply-body"},r("arcgis-multiline-ellipsis",{"collapse-enabled":!0,"expand-enabled":!0,"expand-icon":this.isRtl?"arrow-left":"arrow-right",innerHTML:this.postBody,lines:4,onClick:a}),this.renderGeography(!0,!1),this.renderReactions(),r("footer",null,this.renderActions()),t&&r("calcite-notice",{closable:!0,kind:"danger",open:!0,scale:"s"},r("div",{slot:"title"},e.t("error")),r("div",{slot:"message"},e.t(t)))))}renderGeography(e,t){let{hasMap:s,channel:i,channelId:o,parentId:n,displayFieldKey:a,displayFieldValid:c,entity:l,isMobile:d,locationDescriptionText:u,locationListIsDisabled:h,post:p,postId:m,showLocations:b}=this;if(b)return r("arcgis-hub-discussions-post-geography",{channel:i,channelId:o,disabled:h,displayFieldKey:a,displayFieldValid:c,expandable:t,hasMap:s,isMobile:d,locationDescriptionText:u,parentId:n,post:p,postId:m,showLocationDescriptionText:!d,toggleable:e,url:l?.url})}renderReply(){let{intl:e,errorMessage:t,channel:s,post:i,articleClass:o,lead:n,index:a,lastIndex:c}=this,l={"arcgis-hub-discussions-post-lead":n,"arcgis-hub-discussions-post-last":n&&a===c};return o&&(l[o]=!0),a===void 0?this.capturePostDeepLinkImpression():this.capturePostListImpression(),r("article",{class:l,ref:this.handleSetComponentRef},r("arcgis-hub-discussions-post-chips",{channel:s,index:a,post:i}),this.renderAvatars(),r("div",null,this.renderMetadata("inline",!1,!1,!1,!1,!1,!1,!1,!0),r("arcgis-multiline-ellipsis",{"collapse-enabled":!0,"expand-enabled":!0,innerHTML:this.postBody,lines:4}),this.renderGeography(!0,!1),r("footer",null,this.renderReactions(),this.renderActions(),this.renderActionMenu()),t&&r("calcite-notice",{closable:!0,kind:"danger",open:!0,scale:"s"},r("div",{slot:"title"},e.t("error")),r("div",{slot:"message"},e.t(t)))))}static get assetsDirs(){return["locales"]}get element(){return F(this)}static get watchers(){return{renderedEl:["handleRenderedElChange"],_context:["handleContextChanged"]}}};J([de({delay:300})],W.prototype,"fetchDependencies",null);J([K("post.body","post.status"),Dt({ignoreTags:["calcite-link"],replaceExisting:!0,tagName:"calcite-link"}),Lt(),wt("postBody","sc-arcgis-hub-discussions-post blocked"),Ee({filterOptions:{whiteList:{"calcite-link":["href","data-mention"]}},extendDefaults:!0})],W.prototype,"postBody",null);J([K("post.title","post.status"),wt("postTitle","sc-arcgis-hub-discussions-post blocked"),Ee()],W.prototype,"postTitle",null);J([ne()],W.prototype,"capturePostDeepLinkImpression",null);J([ne()],W.prototype,"capturePostListImpression",null);J([ne()],W.prototype,"capturePostDeletedImpression",null);J([ne()],W.prototype,"capturePostHiddenImpression",null);W.style=Ft;var Nt=':host{display:block}calcite-chip-group{display:flex;flex-direction:row;justify-content:flex-start;gap:0.25rem}:host([data-count="0"]){display:none}.end{margin-left:auto}',Vt=Nt,Mt=class{constructor(e){N(this,e),this.hubTelemetry=v(this,"hubTelemetry",7),this.post=void 0,this.index=void 0,this.channel=void 0,this.activeTooltip=null,$(this,"handleTooltipOpen","renderChip","handleChipMouseEnter","handleChipMouseOut")}async componentWillLoad(){this.intl=await j.loadIntlForComponent(this.element)}handleTooltipOpen(e){let{post:t,channel:s,chipsToRender:i,index:o}=this,{tooltip:{telemetry:n}}=i.find(a=>a.type===e.target.dataset.type);this.hubTelemetry.emit(Object.assign(Object.assign({},n),{postId:t.id,parentId:t.parentId,channelId:s.id,channelAccess:x(s),position:o}))}handleChipMouseEnter(e){this.activeTooltip=e.target.dataset.type}handleChipMouseOut(){this.activeTooltip=null}get chipsToRender(){let{post:e,intl:t}=this,s=[];return(e.status===k.HIDDEN||e.status===k.BLOCKED)&&s.push({appearance:"outline",icon:"view-hide",kind:"neutral",tooltip:{telemetry:g.dictionary.category.interaction.action.open.label.tooltip.details.chipComponentWithStringHidden,text:e.status===k.BLOCKED?t.t("chip.hidden.label.blocked"):t.t("chip.hidden.label.moderator")},type:"hidden",value:t.t("chip.hidden.text")}),s}renderChip(e){let{activeTooltip:t,handleTooltipOpen:s}=this;return r(E,null,r("calcite-chip",{appearance:e.appearance,class:e.type==="hidden"&&"end","data-type":e.type,icon:e.icon,id:e.type,key:e.type,kind:e.kind,label:e.value,onMouseEnter:this.handleChipMouseEnter,onMouseOut:this.handleChipMouseOut,scale:"s",value:e.value},e.value),e.tooltip&&r("calcite-tooltip",{"data-type":e.type,label:e.tooltip.text,onCalciteTooltipOpen:s,open:t===e.type,overlayPositioning:"fixed",placement:"bottom",referenceElement:e.type},r("div",{class:"tooltip-body"},e.tooltip.text)))}render(){let{chipsToRender:e,index:t,intl:s}=this;return r(q,{key:"600abe0ce66d7c0127fad356f232c095fea11b8c","data-count":e.length,"data-element":"post-chips","data-index":t},r("calcite-chip-group",{key:"84520a00069ffc4ab692abb98e1bbfbf8b0f4f06",label:s.t("label"),scale:"s"},e.map(this.renderChip)))}static get assetsDirs(){return["locales"]}get element(){return F(this)}};Mt.style=Vt;var M;(function(e){e.AUDIENCE="audience",e.CONTENT="content"})(M||(M={}));var Ut="arcgis-hub-discussions-post-editor:not([parent-id]){display:block;border-radius:0.25rem;background-color:var(--calcite-color-foreground-1);padding:0.75rem;--tw-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.12);--tw-shadow-colored:0 2px 8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.hub-discussions-post-editor-header{margin-bottom:1.5rem;display:grid;grid-template-rows:repeat(1, minmax(0, 1fr));align-items:center;column-gap:0.75rem;grid-template-columns:44px auto 44px}.hub-discussions-post-editor-header__title{margin:0px;text-align:center;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}.hub-discussions-post-editor-header__popover{padding:1rem;margin-top:revert;margin-bottom:revert}.hub-discussions-post-editor-audience__description{font-size:var(--calcite-font-size-0);line-height:1.25rem}.hub-discussions-post-editor-audience__header{margin-top:1.5rem;margin-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}.hub-discussions-post-editor-audience__gallery{--calcite-color-border-3:transparent}.hub-discussions-post-editor-audience__button{margin-top:1rem;margin-bottom:0.5rem}.hub-discussions-post-editor-groups__action{margin-top:0.75rem}.hub-discussions-post-editor-recent__list{margin-top:0px;margin-bottom:0px;list-style-type:none;padding:0px}.hub-discussions-post-editor-recent__item{margin-bottom:0.75rem;margin-top:0px;display:grid;grid-auto-flow:column;grid-template-rows:repeat(2, minmax(0, 1fr));column-gap:0.75rem;grid-template-columns:44px auto 44px}.hub-discussions-post-editor-recent__item:last-child{margin-bottom:0px}.hub-discussions-post-editor-recent__avatar{grid-row:span 2 / span 2}.hub-discussions-post-editor-recent__title{font-weight:var(--calcite-font-weight-bold);overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hub-discussions-post-editor-recent__last-activity{font-size:var(--calcite-font-size--1);line-height:1rem;font-style:normal;color:var(--calcite-color-text-2)}.hub-discussions-post-editor-recent__action{grid-row:span 2 / span 2}.hub-discussions-post-editor-post-actions,.hub-discussions-post-editor-geometry-actions{margin-top:1rem;display:flex;justify-content:flex-end}.hub-discussions-post-editor-post-actions>calcite-action{margin-right:auto}.hub-discussions-post-editor-geometry-actions__feature,.hub-discussions-post-editor-geometry-actions__related,.hub-discussions-post-editor-post-actions__primary,.hub-discussions-post-editor-post-actions__secondary{margin-left:0.75rem}arcgis-hub-discussions-post-editor.rtl .hub-discussions-post-editor-geometry-actions__feature,arcgis-hub-discussions-post-editor.rtl .hub-discussions-post-editor-geometry-actions__related,arcgis-hub-discussions-post-editor.rtl .hub-discussions-post-editor-post-actions__primary,arcgis-hub-discussions-post-editor.rtl .hub-discussions-post-editor-post-actions__secondary{margin-left:0px;margin-right:0.75rem}.hub-discussions-post-editor__title{margin:0px;margin-top:1rem;height:auto;width:100%;resize:none;border-style:none;background-color:var(--calcite-color-foreground-1);padding:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1);--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.hub-discussions-post-editor__title:focus{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}.hub-discussions-post-editor__title::placeholder{color:var(--calcite-color-text-3);opacity:1}.hub-discussions-post-editor__body{margin-top:0.5rem;white-space:pre-wrap}.hub-discussions-post-editor__body[scale=m] .ck.ck-editor__editable{border-style:none;background-color:var(--calcite-color-foreground-1);padding:0px;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-1);outline:2px solid transparent;outline-offset:2px;min-height:6rem}.hub-discussions-post-editor__body .ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable){border-style:none;outline:2px solid transparent;outline-offset:2px}.hub-discussions-post-editor__body[scale=m] .ck.ck-editor__editable .ck-placeholder:before{color:var(--calcite-color-text-3)}.hub-discussions-post-editor__body .ck.ck-editor__editable_inline>:first-child{margin-top:0px}.hub-discussions-post-editor__body .ck.ck-editor__editable_inline>:last-child{margin-bottom:0px}.hub-discussions-post-editor__message{margin-top:0.5rem}.hub-discussions-post-editor__empty,.hub-discussions-post-editor__load-error{margin-top:1rem}.hub-discussions-post-editor__crud-error,.hub-discussions-post-editor__not-discussable-notice{margin-top:1rem}.hub-discussions-post-editor-cancel-confirm__header{margin-left:0px;margin-right:0px;margin-top:0.5rem;margin-bottom:0px;display:block;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold)}.hub-discussions-post-editor-cancel-confirm__message{margin-top:0.5rem;margin-bottom:0px}.hub-discussions-post-editor-cancel-confirm__footer{margin-top:1.5rem;display:flex;justify-content:flex-end;column-gap:0.75rem}.hub-discussions-post-editor-recent__skeleton{margin-bottom:0.75rem;margin-top:0px}.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader{display:flex}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader>div:nth-of-type(1),.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader>div:nth-of-type(2) div{animation:shimmer 2s cubic-bezier(0.4, 0, 0.2, 0.8) infinite;background-image:linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);background-color:var(--calcite-color-foreground-3)}.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader>div:nth-of-type(1){height:2.75rem;width:2.75rem;border-radius:50%}.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader>div:nth-of-type(2){margin-left:1rem;display:flex;flex-grow:1;flex-direction:column;justify-content:center}.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader>div:nth-of-type(2) div:nth-of-type(1){margin-bottom:0.5rem;height:0.75rem;border-radius:0.375rem}.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader>div:nth-of-type(2) div:nth-of-type(2){height:0.5rem;border-radius:0.25rem}.location-popover>div.popover,.popover{max-width:20rem;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1.25rem;padding-right:1.25rem}.add-location-post:active .add-location-icon{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.add-location-post[active] .add-location-icon{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}arcgis-hub-discussions-post-editor[parent-id]{display:block}.hub-discussions-reply-editor__form{border-radius:0.25rem;background-color:var(--calcite-color-foreground-1);padding:0.75rem;--tw-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.12);--tw-shadow-colored:0 2px 8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.hub-discussions-reply-editor-user-details{margin:0px;display:grid;align-items:center;column-gap:0.75rem;grid-template-columns:32px auto}.hub-discussions-reply-editor-user-details__name{font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-bold);font-style:normal}.hub-discussions-reply-editor__notice,.hub-discussions-reply-editor__not-discussable-notice{margin-left:0px;margin-right:0px;margin-top:1rem}.hub-discussions-post-editor-cancel-confirm{display:block}.hub-discussions-post-editor-cancel-confirm__button{margin:0px}.hub-discussions-reply-editor__body{margin-top:0.75rem;white-space:pre-wrap}.hub-discussions-reply-editor__body[scale=m] .ck.ck-editor__editable{border-style:none;background-color:var(--calcite-color-foreground-1);padding:0px;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-1);outline:2px solid transparent;outline-offset:2px;min-height:6rem}.hub-discussions-reply-editor__body .ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable){border-style:none;outline:2px solid transparent;outline-offset:2px}.hub-discussions-reply-editor__body[scale=m] .ck.ck-editor__editable .ck-placeholder:before{color:var(--calcite-color-text-3)}.hub-discussions-reply-editor__body .ck.ck-editor__editable_inline>:first-child{margin-top:0px}.hub-discussions-reply-editor__body .ck.ck-editor__editable_inline>:last-child{margin-bottom:0px}.hub-discussions-reply-editor__message{margin-top:0.5rem}.hub-discussions-reply-editor__location-popover>div.hub-discussions-reply-editor__location-popover__content,.hub-discussions-reply-editor__location-popover__content{max-width:20rem;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1.25rem;padding-right:1.25rem}.add-location-post:active .add-location-icon{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.add-location-post[active] .add-location-icon{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}arcgis-hub-discussions-post-editor>form>header{padding-top:0.25rem;padding-bottom:1rem;text-align:center;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);text-transform:capitalize;color:var(--calcite-color-text-1)}.anon-toggle{margin-bottom:0.75rem;display:flex;flex-wrap:wrap;align-items:center;gap:0.5rem;border-radius:0.75rem;background-color:var(--calcite-color-background);padding:1rem}.anon-toggle p:first-of-type{margin:0px;color:var(--calcite-color-text-1)}.anon-toggle p:nth-of-type(2){margin:0px;flex-basis:100%;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-color-text-2)}arcgis-hub-entity-editor{--calcite-dialog-size-y:95%}",Bt=Ut,ae=function(e,t,s,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,s):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(n=(o<3?a(n):o>3?a(t,s,n):a(t,s))||n);return o>3&&n&&Object.defineProperty(t,s,n),n},te=class{constructor(e){N(this,e),this.arcgisHubDiscussionsPostEditorReady=v(this,"arcgisHubDiscussionsPostEditorReady",7),this.arcgisHubDiscussionsPostCancel=v(this,"arcgisHubDiscussionsPostCancel",7),this.arcgisHubDiscussionsPostCreate=v(this,"arcgisHubDiscussionsPostCreate",7),this.arcgisHubDiscussionsPostEdit=v(this,"arcgisHubDiscussionsPostEdit",7),this.arcgisHubDiscussionsGeometryDrawCreate=v(this,"arcgisHubDiscussionsGeometryDrawCreate",7),this.arcgisHubDiscussionsGeometryDrawTypeSelect=v(this,"arcgisHubDiscussionsGeometryDrawTypeSelect",7),this.arcgisHubDiscussionsGeometryDrawEdit=v(this,"arcgisHubDiscussionsGeometryDrawEdit",7),this.arcgisHubDiscussionsGeometryDrawReset=v(this,"arcgisHubDiscussionsGeometryDrawReset",7),this.arcgisHubDiscussionsGeometrySelect=v(this,"arcgisHubDiscussionsGeometrySelect",7),this.arcgisHubDiscussionsGeometryDeselect=v(this,"arcgisHubDiscussionsGeometryDeselect",7),this.arcgisHubDiscussionsGeometryClearAll=v(this,"arcgisHubDiscussionsGeometryClearAll",7),this.arcgisHubDiscussionsPostClose=v(this,"arcgisHubDiscussionsPostClose",7),this.hubTelemetry=v(this,"hubTelemetry",7),this.handleSubmit=t=>{t.preventDefault();let s=this.postId?this.handleEdit():this.handleCreate();return this.pending=!0,s.finally(()=>{this.pending=!1,this.arcgisHubDiscussionsGeometryClearAll.emit(),this.addLocationsActiveGeometryType=null})},this.handleCancel=t=>{var s,i,o,n,a,c,l,d;let{channel:u,post:h,parent:p}=this;t.preventDefault(),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.close.label.editor),{parentId:(s=p?.id)!==null&&s!==void 0?s:null,postId:(i=h?.id)!==null&&i!==void 0?i:null,channelId:(o=u?.id)!==null&&o!==void 0?o:null,channelAccess:u?x(u):null})),this.arcgisHubDiscussionsPostCancel.emit(),this.collapse(),this.confirmAction=null;let m=G(h?.geometry);this.geometryValue=Object.keys(m||{}).length?m:null,this.titleValue=(n=h?.title)!==null&&n!==void 0?n:"",this.bodyValue=(a=h?.body)!==null&&a!==void 0?a:"",this._unsavedExistingFeatures=(c=this.unsavedExistingFeatures)!==null&&c!==void 0?c:[],this._unsavedFeatures=(l=this.unsavedFeatures)!==null&&l!==void 0?l:[],this._unsavedRelatedFeatures=(d=this.unsavedRelatedFeatures)!==null&&d!==void 0?d:[],this.arcgisHubDiscussionsGeometryClearAll.emit()},this.handleCancelOrConfirm=t=>{this.hasChanges?this.confirmAction=this.handleCancel:this.handleCancel(t)},this.handleConfirmBackButtonClicked=()=>{this.confirmAction=null},this.handleBackOrConfirm=()=>{this.hasChanges?this.confirmAction=this.handleBack:this.handleBack()},this.handleBack=()=>{var t,s,i,o,n,a,c,l;let d=G((t=this.post)===null||t===void 0?void 0:t.geometry);this.geometryValue=Object.keys(d||{}).length?d:null,this._unsavedExistingFeatures=(s=this.unsavedExistingFeatures)!==null&&s!==void 0?s:[],this._unsavedFeatures=(i=this.unsavedFeatures)!==null&&i!==void 0?i:[],this._unsavedRelatedFeatures=(o=this.unsavedRelatedFeatures)!==null&&o!==void 0?o:[],this.channelId=null,this.channelGroups=null,this.channel=null,this._mentionQuery=null,this.confirmAction=null,this.titleValue=(a=(n=this.post)===null||n===void 0?void 0:n.title)!==null&&a!==void 0?a:"",this.bodyValue=(l=(c=this.post)===null||c===void 0?void 0:c.body)!==null&&l!==void 0?l:"",this.step=M.AUDIENCE,this.arcgisHubDiscussionsGeometryClearAll.emit()},this.handleHelpPopoverOpen=()=>{this.hubTelemetry.emit(g.dictionary.category.interaction.action.open.label.popover.details.help)},this.handleHelpPopoverClose=()=>{this.hubTelemetry.emit(g.dictionary.category.interaction.action.close.label.popover.details.help)},this.handleLocationPopoverOpen=()=>{this.addLocationsPopoverOpen=!0},this.handleLocationPopoverClose=()=>{this.addLocationsPopoverOpen=!1},this.updateTitleValue=t=>{this.titleValue=t.target.value},this.setActiveGeometryDrawType=t=>{let{target:s}=t,i=s.dataset.type;this.addLocationsActiveGeometryType=i,this.locationPopoverRef.open=!1,this.enableAddLocation()},this.channelCardCallback=t=>Object.assign(Object.assign({},t),{actionLinks:[{action:"channelSelect",ariaLabel:"aria label",label:"label",buttonStyle:"outline",buttonKind:"brand",icon:this.isRtl?"chevron-left":"chevron-right"}]}),this.toggleChannelPickerOpen=()=>{this.galleryPickerOpen=!this.galleryPickerOpen},this.handleChannelPickerSelectionUpdate=async t=>{await this.loadChannelDetails({channelId:t.detail.channel[0]})},this.getMentionQuery=t=>{let s=G(this._mentionQuery),i=o=>{var n,a;return!!(!((n=o.predicates[0])===null||n===void 0)&&n.username&&(!((a=o.predicates[1])===null||a===void 0)&&a.fullname))};return s.filters=t?s.filters.map(o=>i(o)?Object.assign(Object.assign({},o),{predicates:[{username:t},{fullname:t}]}):o):s.filters.filter(o=>!i(o)),s},this.handleAnonToggle=t=>{let s=t.target;this.asAnonymous=s.checked},this.handleEntityEditorClosed=()=>{this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.close.label.modal.details.viewChannel),{channelId:this.channelEntityToView.id,channelAccess:this.channelEntityToView.access})),this.channelEntityToView=null},this.handleChannelGalleryAction=async t=>{t.detail.action==="channelSelect"&&(await this.loadChannelDetails({channelId:t.detail.model.id}),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.select.label.channel.details.recents),{channelId:this.channel.id,channelAccess:x(this.channel)})))},this.handleChannelGalleryError=()=>{this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.viewed.label.recents),{response:g.constants.response.FAILURE}))},this.handleChannelGalleryResultsChange=t=>{this.hubTelemetry.emit(t.detail.length?Object.assign(Object.assign({},g.dictionary.category.interaction.action.viewed.label.recents),{response:g.constants.response.SUCCESS}):g.dictionary.category.interaction.action.viewed.label.empty)},this.focusInput=()=>{setTimeout(()=>{let{titleRef:t,bodyRef:s,isReply:i}=this;i?s&&s.setFocus():t&&t.focus()},500)},this.handleReplySubmit=t=>(t.preventDefault(),this.pending=!0,(this.postId?this.handleEditReply():this.handleCreateReply()).catch(i=>(X.error("Could not create reply:",i.message),null)).finally(async()=>{this.pending=!1,this.arcgisHubDiscussionsGeometryClearAll.emit(),this.addLocationsActiveGeometryType=null,this.focusInput()})),this.post=void 0,this.postCreator=void 0,this.postCreatorOrg=void 0,this.postId=void 0,this.parent=void 0,this.parentCreator=void 0,this.parentId=void 0,this.channel=void 0,this.channelGroups=void 0,this.channelId=void 0,this.entity=void 0,this.entityId=void 0,this.entityType=void 0,this.discussionSettings=void 0,this.discussion=void 0,this.displayFieldKey=void 0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.locationId=void 0,this.hasMap=void 0,this.isHub=void 0,this.unsavedFeatures=[],this.unsavedRelatedFeatures=[],this.unsavedExistingFeatures=[],this.index=void 0,this.isMobile=void 0,this.createParentSaveButtonText=void 0,this.createParentBodyPlaceholderText=void 0,this.showLocations=void 0,this.disableSelectExistingLocation=void 0,this.showHeader=void 0,this.collapsible=void 0,this.collapsed=void 0,this.helpButtonRef=void 0,this._context=Q(),this._unsavedFeatures=[],this._unsavedRelatedFeatures=[],this._unsavedExistingFeatures=[],this.pending=!1,this.loading=void 0,this.titleValue="",this.bodyValue="",this.discussionValue="",this.geometryValue=void 0,this.geometryValueHasChanges=void 0,this.locationActionElement=void 0,this.step=null,this.errorMessage=null,this.confirmAction=null,this.addLocationsActiveGeometryType=void 0,this.addLocationsPopoverOpen=void 0,this.asAnonymous=!1,this.galleryPickerOpen=!1,this.numPostableChannels=null,this.channelEntityToView=null}async componentWillLoad(){await Promise.all([this.loadIntl(),this.initialize(this._context)])}async loadIntl(){this.intl=await j.loadIntlForComponent(this.element)}connectedCallback(){oe(this)}disconnectedCallback(){this.disconnectContext()}get isRtl(){return this.intl.direction==="rtl"}get hasChanges(){let{titleValue:e,bodyValue:t,post:s,isReply:i}=this,o;return s?o=i?t!==s.body:t!==s.body||e!==s.title:o=i?t.length>0:e.length>0||t.length>0,o}get postWithLocationEdits(){let{post:e,geometryValue:t,discussionValue:s}=this,i;return e&&(i=G(e),i.geometry=t,s!==e.discussion&&(i.discussion=s)),i}get hasMentionedUsers(){return!!ce(this.bodyValue).length}async fetchDependencies(){let[e,t]=await Promise.all([Te({postId:this.postId,post:this.post},this._context.hubRequestOptions),ue({isHub:this.isHub},this._context.hubRequestOptions)]),[s,i]=await Promise.all([je(Object.assign({postCreator:this.postCreator,postCreatorOrg:this.postCreatorOrg},e),this._context.hubRequestOptions),He(Object.assign({parentId:this.parentId,parent:this.parent},e),this._context.hubRequestOptions)]),[o,n,a]=await Promise.all([he(Object.assign(Object.assign({discussion:this.discussion,entityId:this.entityId,entityType:this.entityType,entity:this.entity,discussionSettings:this.discussionSettings,displayFieldKey:this.displayFieldKey,displayFieldValid:this.displayFieldValid,displayFieldValue:this.displayFieldValue,locationId:this.locationId},e),i),this._context.hubRequestOptions,!0),pe(Object.assign(Object.assign({channelId:this.channelId,channel:this.channel,channelGroups:this.channelGroups},e),i),this._context.hubRequestOptions),Fe(Object.assign({parentCreator:this.parentCreator},i),this._context.hubRequestOptions)]),c=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),s),i),a),n),o),t);Object.assign(this,c)}async initialize(e,t){var s,i,o;if(((s=e?.currentUser)===null||s===void 0?void 0:s.username)!==((i=t?.currentUser)===null||i===void 0?void 0:i.username)){this.loading=!0,await this.fetchDependencies();let{post:n,channel:a}=this;if(n){let{title:c,body:l,discussion:d,geometry:u}=n;this.bodyValue=l,n.title&&(this.titleValue=c),this.discussionValue=d;let h=G(u);this.geometryValue=Object.keys(h||{}).length?h:null}if(a)await this.loadChannelDetails({channel:a}),this.step=M.CONTENT;else{let{total:c,results:l}=await ut({allowedChannelIds:(o=this.discussionSettings)===null||o===void 0?void 0:o.allowedChannelIds,requestOptions:this._context.hubRequestOptions,num:1});this.numPostableChannels=c,c===1?(await this.loadChannelDetails({channel:l[0].rawResult}),this.step=M.CONTENT):this.step=M.AUDIENCE}this.arcgisHubDiscussionsPostEditorReady.emit(n),this.loading=!1}}emitHubTelemetry(e){let{channel:t,channelGroups:s}=this,{groupAccesses:i,groupOrgIds:o,groupIds:n}=(s??[]).reduce((c,l)=>l?{groupAccesses:[...c.groupAccesses,l.access],groupOrgIds:[...c.groupOrgIds,l.orgId],groupIds:[...c.groupIds,l.id]}:c,{groupAccesses:[],groupOrgIds:[],groupIds:[]}),a=Object.assign(Object.assign({},e),{channelAccess:x(t),channelId:t.id,groupAccess:i.filter(Boolean).join(", "),groupId:n.filter(Boolean).join(", "),groupOrgId:o.filter(Boolean).join(", "),orgId:Be(t).join(", ")});this.hubTelemetry.emit(a)}handleGeometryValueUpdated(){if(this.post){let{post:{geometry:e},geometryValue:t}=this;this.geometryValueHasChanges=JSON.stringify(t)!==JSON.stringify(e)}}mapFeaturePropToState(e){var t;let{postId:s,post:i}=this;if(e.length){let o=(t=e[0].properties)===null||t===void 0?void 0:t.id;(s===o||!i&&!o)&&(this._unsavedFeatures=e.filter(({properties:a})=>!a?.pending),this.resetActiveGeometryDrawType())}else this._unsavedFeatures=[]}mapExistingFeaturePropToState(e){var t;let{postId:s}=this;if(e.length){let i=(t=e[0].properties)===null||t===void 0?void 0:t.id;s===i&&(this._unsavedExistingFeatures=e,e.forEach(n=>{let{geometry:a,properties:c}=n;a||this.removeFeature(c.index,null,!1)}),this.resetActiveGeometryDrawType())}else this._unsavedExistingFeatures=[]}mapRelatedFeaturePropToState(e){let{postId:t}=this;if(e.length){let s=e[0].postId;(t===s||!t&&!s)&&(this._unsavedRelatedFeatures=e,this.resetActiveGeometryDrawType())}else this._unsavedRelatedFeatures=[]}handleAddLocationsActiveGeometryTypeChanged(e){e&&this.arcgisHubDiscussionsGeometryDrawTypeSelect.emit(e)}async handleCreate(){var e;let{_context:t,_unsavedFeatures:s,_unsavedRelatedFeatures:i,bodyValue:o,titleValue:n,channelId:a,discussion:c,asAnonymous:l,entity:{url:d},arcgisHubDiscussionsPostCreate:u}=this,{channel:h}=this,p=c;if(i.length){let f=d.split("/").pop(),_=new Set(i.map(w=>w.objectId));p=Z(p,f,Array.from(_))}let m=null;s.length&&(m=s.length>1?se(s):s[0].geometry),this.errorMessage=null;let b;try{let{id:f}=await Ke(Object.assign({data:{channelId:h.id,discussion:p,title:n.trim()||void 0,body:o.trim(),geometry:m,asAnonymous:l},mentionUrl:window.location.href},t.hubRequestOptions));return b=await z(Object.assign({postId:f,data:{relations:[C.REACTIONS,C.CHANNEL,C.CHANNEL_ACL]}},this._context.hubRequestOptions)),b.replyCount=0,this.titleValue="",this.bodyValue="",this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.post),{response:g.constants.response.SUCCESS,details:(e=b.title)!==null&&e!==void 0?e:null,groupId:ve(h).join(", "),postId:b.id,channelId:h.id,channelAccess:x(h)})),u.emit(b),this.focusInput(),b}catch(f){return this.errorMessage="error.create",this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.post),{response:g.constants.response.FAILURE,groupId:ve(h).join(", "),channelId:a,channelAccess:h?x(h):""})),X.error("Failed to create post:",f.message),null}}handleEdit(){let{_context:e,bodyValue:t,titleValue:s,channelId:i,channel:o,post:n,_unsavedFeatures:a,_unsavedExistingFeatures:c,_unsavedRelatedFeatures:l,arcgisHubDiscussionsPostEdit:d,entity:{url:u}}=this;this.errorMessage=null;let h=this.discussionValue;if(l.length){let f=u.split("/").pop(),_=l.map(w=>w.objectId);h=Z(h,f,_)}let p=this.geometryValue&&Object.keys(this.geometryValue).length?Pe(Object.assign(Object.assign({},n),{geometry:this.geometryValue})):[];c.forEach(f=>{let{properties:{index:_},geometry:w}=f;w&&(p[+_].geometry=w)});let m=null,b=[...p,...a];return b.length&&(m=b.length>1?se(b):b[0].geometry.coordinates.length?b[0].geometry:null),_e(Object.assign({postId:n.id,data:{title:s.trim()||null,body:t.trim(),discussion:h,geometry:m},mentionUrl:window.location.href},e.hubRequestOptions)).then(f=>z(Object.assign({postId:f.id,data:{relations:[C.REACTIONS,C.REPLIES,C.CHANNEL,C.CHANNEL_ACL]}},this._context.hubRequestOptions))).then(f=>(this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.post),{response:g.constants.response.SUCCESS,postId:n.id,channelId:i,channelAccess:x(o)})),f.replyCount=f.replies.total,delete f.replies,d.emit(f),f)).catch(f=>(this.errorMessage="error.edit",this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.post),{response:g.constants.response.FAILURE,postId:n.id,channelId:i,channelAccess:x(o)})),X.error("Failed to edit post:",f.message),null))}handleFocusin(){this.expand()}expand(){this.collapsible&&(this.collapsed=!1)}collapse(){this.collapsible&&(this.collapsed=!0)}handleFocusout(){this.collapse()}updateBodyValue(e){this.bodyValue=e.target.value}handleFeatureRemove(e){let{detail:{properties:{relatedFeatureId:t,index:s,unsaved:i}}}=e;this.removeFeature(s,t,i)}removeFeature(e,t,s){var i;if(!s)if(t){let{features:o}=ot(this.discussionValue),n=this.entity.url.split("/").pop();o.splice(o.indexOf(t),1),this.discussionValue=Z(this.discussionValue.split("?")[0],n,o)}else((i=this.geometryValue)===null||i===void 0?void 0:i.type)==="GeometryCollection"?(s?this.geometryValue.geometries.splice(e,1):this.geometryValue.geometries[e]=null,this.geometryValue=Object.assign({},this.geometryValue)):this.geometryValue=null}handleDrawDone(){this.arcgisHubDiscussionsGeometryDrawReset.emit(),this.addLocationsActiveGeometryType=null}handleDrawCancel(){this.addLocationsActiveGeometryType=null}resetActiveGeometryDrawType(){this.addLocationsActiveGeometryType=void 0}enableAddLocation(){let{post:e,arcgisHubDiscussionsGeometryDrawCreate:t,isReply:s}=this,i=s?"reply":"post";t.emit({post:e,postType:i})}get isTitleValid(){let{titleValue:e}=this;return e.length<=le}get isBodyValid(){let{bodyValue:e}=this,t=e.trim();return t.length>0&&t.length<=rt}get hasLocationChanges(){if(this.post){let{post:{discussion:e},discussionValue:t}=this;return!!(this._unsavedFeatures.length+this._unsavedRelatedFeatures.length+this._unsavedExistingFeatures.length)||t!==e||this.geometryValueHasChanges}return!1}get hasAllowedChannelsList(){var e,t;return!!(!((t=(e=this.discussionSettings)===null||e===void 0?void 0:e.allowedChannelIds)===null||t===void 0)&&t.length)}get titleMessage(){let{titleValue:e,isTitleValid:t,intl:s}=this,{length:i}=e;if(i>=le-5)return t?{status:"idle",text:s.t("post.title.validation.warning")}:{icon:"exclamation-mark-circle",status:"invalid",text:s.t("post.title.validation.error",{characters:i-le})}}get bodyMessage(){let{bodyValue:e,isBodyValid:t,intl:s}=this,{length:i}=e;if(i>=Re)return t?{status:"idle",text:s.t("post.body.validation.warning")}:{icon:"exclamation-mark-circle",status:"invalid",text:s.t("post.body.validation.error")}}get isReply(){return!!(this.parent||this.parentId)}get blockedNotice(){let e,t=nt(this.channel,this._context.currentUser),s=!fe(this.entity);return t&&s?e=this.isReply?H.EditReply:H.EditPost:t?e=this.isReply?H.EditReplyGroup:H.EditPostGroup:s&&(this.entityType==="group"?e=this.isReply?H.EditReplyGroup:H.EditPostGroup:e=this.isReply?H.EditReplyItem:H.EditPostItem),e}renderPrimaryActionButton(){let{post:e,isReply:t,intl:s,titleValue:i,bodyValue:o,isBodyValid:n,isTitleValid:a,pending:c,hasLocationChanges:l,blockedNotice:d,createParentSaveButtonText:u}=this,h,p;t?(p=!n,h=s.t("createReply")):(p=!n||!a,h=u||s.t("post.create"));let m=!!d||p;return e&&(t?(h=s.t("saveReply"),m=m||o===e.body&&!l):(h=s.t("post.save"),m=m||(!i&&!e.title||i===e.title)&&o===e.body&&!l)),r("calcite-button",{appearance:"solid",class:"hub-discussions-post-editor-post-actions__primary",disabled:m||c,key:"primary",kind:"brand",label:h,loading:c,round:!0,scale:"l",type:"submit"},h)}renderSecondaryActionButton(){let e=this.intl.t("cancel");if(!this.isReply||this.isReply&&this.post)return r("calcite-button",{appearance:"transparent",class:"hub-discussions-post-editor-post-actions__secondary",kind:"neutral",label:e,onClick:this.handleCancelOrConfirm,round:!0,scale:"l",type:"reset"},e)}renderAddLocationsButton(){if(this.showLocations&&this.hasMap){let t=[...this.disableSelectExistingLocation?[]:[{type:"select",icon:"select"}],{type:"point",icon:"pin"},{type:"polyline",icon:"freehand"},{type:"polygon",icon:"freehand-area"}].map(({type:s,icon:i})=>r("calcite-action",{active:this.addLocationsActiveGeometryType===s,"data-type":s,icon:i,key:s,onClick:this.setActiveGeometryDrawType,text:this.intl.t(`location.action.${s}`),textEnabled:!0}));return r(E,null,r("calcite-action",{active:this.addLocationsPopoverOpen,appearance:"solid",class:"add-location-post",disabled:!this.hasMap||!!this.blockedNotice,ref:s=>{this.locationActionElement=s},text:this.intl.t("location.heading")},r("calcite-icon",{class:"add-location-icon",icon:"pin-plus",scale:"s"})),r("calcite-tooltip",{closeOnClick:!0,label:this.intl.t("location.tooltip"),referenceElement:this.locationActionElement},r("span",null,this.intl.t("location.tooltip"))),this.hasMap&&!this.blockedNotice&&r("calcite-popover",{autoClose:!0,label:this.intl.t("location.heading"),onCalcitePopoverClose:this.handleLocationPopoverClose,onCalcitePopoverOpen:this.handleLocationPopoverOpen,overlayPositioning:"fixed",pointerDisabled:!0,ref:s=>{this.locationPopoverRef=s},referenceElement:this.locationActionElement},t))}}renderTitleField(){let{collapsible:e,collapsed:t,intl:s,titleValue:i,updateTitleValue:o,titleMessage:n,blockedNotice:a}=this;if(!e||e&&!t)return r(E,null,r("input",{"aria-label":s.t("post.title.label"),class:"hub-discussions-post-editor__title",disabled:!!a,onInput:o,placeholder:s.t("post.title.placeholder"),ref:c=>{this.titleRef=c},type:"text",value:i}),n&&r("calcite-input-message",{class:"hub-discussions-post-editor__message",icon:n.icon,scale:"l",status:n.status},n.text))}renderBodyField(){let{createParentBodyPlaceholderText:e,intl:t,bodyValue:s,bodyMessage:i,pending:o,getMentionQuery:n,blockedNotice:a,asAnonymous:c}=this;return r(E,null,r("arcgis-hub-rich-text",{class:"hub-discussions-post-editor__body",disabled:!!a||o,getMentionQuery:n,label:t.t("post.body.label"),mention:!c,mentionCount:100,placeholder:e||t.t("post.body.placeholder"),ref:l=>{this.bodyRef=l},"text-transform":!0,toolbar:"",value:s}),i&&r("calcite-input-message",{class:"hub-discussions-post-editor__message",icon:i.icon,scale:"l",status:i.status},i.text))}renderPostHeader(e,t,s,i,o,n,a,c){let{postId:l,post:d,postCreator:u,postCreatorOrg:h,channel:p,index:m,isHub:b,asAnonymous:f}=this;return r("arcgis-hub-discussions-post-header",{channel:p,class:"hub-discussions-post-editor__header",displayAnon:f,iconScale:e,index:m,isHub:b,post:l&&p&&d,postCreator:l&&p&&u,postCreatorOrg:l&&p&&h,showChannelAccessIcon:i,showChannelAvatar:s,showChannelName:o,showCreatorAvatar:t,showCreatorUsername:a,showPopover:c,showTimestamp:n})}renderAnonToggle(){let{channel:e,postId:t,asAnonymous:s,hasMentionedUsers:i,intl:o}=this;return e.allowAsAnonymous&&!t&&r("div",{class:"anon-toggle"},r("calcite-switch",{disabled:i,label:o.t("anonymous.label"),onCalciteSwitchChange:this.handleAnonToggle,ref:n=>{this.anonToggleRef=n}}),r("p",null,o.t("anonymous.label")),s&&r("p",null,o.t("anonymous.desc")),i&&r("calcite-tooltip",{referenceElement:this.anonToggleRef},r("span",null,o.t("anonymous.tooltip"))))}renderContentStep(){return r(E,null,this.showHeader&&r("header",{class:"hub-discussions-post-editor-header"},r("span",null,this.numPostableChannels>1&&r("calcite-button",{appearance:"outline-fill",disabled:!!this.confirmAction,iconFlipRtl:"start",iconStart:"chevron-left",kind:"neutral",label:this.intl.t("header.content.back"),onClick:this.handleBackOrConfirm,round:!0,scale:"l"})),r("p",{class:"hub-discussions-post-editor-header__title"},this.intl.t("header.content.title")),r("calcite-button",{appearance:"transparent",disabled:!!this.confirmAction,"icon-start":"x",kind:"neutral",label:this.intl.t(`header.${this.step}.back`),onClick:this.handleCancelOrConfirm,round:!0,scale:"l",type:"button"})),this.confirmAction?this.renderConfirmCancel():r("form",{onSubmit:this.handleSubmit},!!(this.showHeader&&this.post)&&r("header",null,this.intl.t("editPost")),this.renderAnonToggle(),this.isCollapsed?this.renderPostHeader("m",!0):this.renderPostHeader("l",!0,!0,!0,!0,!0,!1,!0),this.renderTitleField(),this.renderBodyField(),this.renderGeographies(),r("div",{class:"hub-discussions-post-editor-post-actions"},this.renderAddLocationsButton(),!this.isCollapsed&&this.renderSecondaryActionButton(),this.renderPrimaryActionButton()),this.blockedNotice&&r("arcgis-hub-discussions-blocked-notice",{class:"hub-discussions-post-editor__not-discussable-notice",scale:"s",variant:this.blockedNotice}),this.errorMessage&&r("calcite-notice",{class:"hub-discussions-post-editor__crud-error",kind:"danger",open:!0,scale:"s"},r("div",{slot:"title"},this.intl.t("error.title")),r("div",{slot:"message"},this.errorMessage&&this.intl.t(this.errorMessage)))))}renderConfirmCancel(){return r("div",{class:"hub-discussions-post-editor-cancel-confirm"},r("header",{class:"hub-discussions-post-editor-cancel-confirm__header"},this.intl.t("confirm.header")),r("p",{class:"hub-discussions-post-editor-cancel-confirm__message"},this.intl.t(this.isReply?"confirm":"confirm.body")),r("footer",{class:"hub-discussions-post-editor-cancel-confirm__footer"},r("calcite-button",{appearance:"transparent",class:"hub-discussions-post-editor-cancel-confirm__button",kind:"neutral",onClick:this.handleConfirmBackButtonClicked,round:!0,scale:"l"},this.intl.t("confirm.back")),r("calcite-button",{class:"hub-discussions-post-editor-cancel-confirm__button",kind:"danger",onClick:this.confirmAction,round:!0,scale:"l"},this.intl.t("confirm.discard"))))}renderAudienceStep(){return r(E,null,this.showHeader&&r("header",{class:"hub-discussions-post-editor-header"},r("calcite-button",{appearance:"outline","icon-start":"lightbulb",kind:"neutral",label:this.intl.t("header.help"),ref:e=>{this.helpButtonRef=e},round:!0,scale:"l",type:"button"}),r("calcite-popover",{closable:!0,label:this.intl.t("header.help"),onCalcitePopoverClose:this.handleHelpPopoverClose,onCalcitePopoverOpen:this.handleHelpPopoverOpen,overlayPositioning:"fixed",placement:"bottom-end",referenceElement:this.helpButtonRef},r("p",{class:"hub-discussions-post-editor-header__popover"},this.intl.t(`header.${this.step}.help`))),r("p",{class:"hub-discussions-post-editor-header__title"},this.intl.t(`header.${this.step}.title`)),r("calcite-button",{appearance:"transparent","icon-start":"x",kind:"neutral",label:this.intl.t(`header.${this.step}.back`),onClick:this.handleCancel,round:!0,scale:"l",type:"button"})),r("p",{class:"hub-discussions-post-editor-audience__description"},this.intl.t("selectChannelDescription")),r("header",{class:"hub-discussions-post-editor-audience__header"},this.intl.t(this.hasAllowedChannelsList?"allowedChannels":"recentChannels")),this.channelGalleryQuery&&r("arcgis-hub-gallery",{callback:this.channelCardCallback,class:"hub-discussions-post-editor-audience__gallery",include:"groups",layout:"compact",limit:this.channelGalleryLimit,linkTarget:"event",onArcgisHubGalleryAction:this.handleChannelGalleryAction,onArcgisHubGalleryError:this.handleChannelGalleryError,onArcgisHubGalleryResultsChange:this.handleChannelGalleryResultsChange,query:this.channelGalleryQuery,showEmptyState:!0,sortField:"lastActivity",sortOrder:"desc"}),this.numPostableChannels>4&&r(E,null,r("calcite-button",{appearance:"outline",class:"hub-discussions-post-editor-audience__button",kind:"neutral",label:this.intl.t("header.audience.title"),onClick:this.toggleChannelPickerOpen,ref:e=>{this.browseChannelsButtonRef=e},round:!0,width:"full"},this.intl.t("channels.select.button")),r("arcgis-wormhole",{elAttributes:{unthemed:""}},r("arcgis-hub-gallery-picker",{catalogs:this.channelPickerCatalog,enablePrimaryButton:!0,facets:this.channelPickerFacets,gallerySelection:{channel:[]},isMobile:!1,limit:1,linkTarget:"none",modalTitle:this.intl.t("channels.select.modal.title"),onArcgisHubGalleryPickerClose:this.toggleChannelPickerOpen,onArcgisHubGalleryPickerSelectionUpdate:this.handleChannelPickerSelectionUpdate,open:this.galleryPickerOpen,primaryButtonLabel:this.intl.t("channels.select.modal.button"),selectionMode:"single",showAllCollectionFacet:!1,showSearch:!0,showThumbnail:!0,sortField:"relevance",sortOptions:["relevance","created","modified"],triggerElement:this.browseChannelsButtonRef}))),this.channelEntityToView&&r("arcgis-wormhole",{elAttributes:{unthemed:""}},r("arcgis-hub-entity-editor",{editorType:"hub:channel:edit",entity:this.channelEntityToView,isDisabled:!0,isOpen:!0,layout:"modal",modalTitle:this.intl.t("viewChannel"),onArcgisHubEntityEditorModalClosed:this.handleEntityEditorClosed,variant:Ue.workspace})))}async loadChannelDetails(e){var t;let s=await pe(e,this._context.hubRequestOptions),i=await Ge(["placeholder"],s.channel,(t=this._context.currentUser)===null||t===void 0?void 0:t.username,this._context.requestOptions);Object.assign(this,Object.assign(Object.assign({},s),{step:M.CONTENT,_mentionQuery:i}))}async handleChannelTitleClick(e){this.channelEntityToView=await Ye(e.detail.model.id,this._context),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.modal.details.viewChannel),{channelId:this.channelEntityToView.id,channelAccess:this.channelEntityToView.access}))}get channelGalleryQuery(){if(this.discussionSettings!==void 0)return{targetEntity:"channel",filters:[{predicates:[this.hasAllowedChannelsList?Ae(this.discussionSettings.allowedChannelIds):dt()]}]}}get channelPickerCatalog(){return[{schemaVersion:1,title:this.intl.t("channels.catalog.title"),scopes:{channel:{targetEntity:"channel",filters:[{predicates:[]}]}},collections:[{label:this.intl.t("channels.catalog.title"),key:"channels",targetEntity:"channel",sortField:"modfied",sortDirection:"asc",scope:this.channelPickerQuery}]}]}get channelPickerFacets(){return[{label:this.intl.t("channels.facets.access.label"),key:"access",display:"multi-select",operation:"OR",options:[{label:this.intl.t("channels.facets.access.public"),key:"public",selected:!1,predicates:[{access:"public"}]},{label:this.intl.t("channels.facets.access.organization"),key:"organization",selected:!1,predicates:[{access:"org"}]},{label:this.intl.t("channels.facets.access.private"),key:"private",selected:!1,predicates:[{access:"private"}]}]},{label:this.intl.t("channels.facets.group"),key:"groups",display:"multi-select",operation:"OR",options:this._context.currentUser.groups.map(e=>({label:e.title,key:e.title,selected:!1,predicates:[{group:e.id}]}))}]}get channelPickerQuery(){return{targetEntity:"channel",filters:[{predicates:[this.hasAllowedChannelsList?Ae(this.discussionSettings.allowedChannelIds):lt()]}]}}get channelGalleryLimit(){return this.hasAllowedChannelsList?this.discussionSettings.allowedChannelIds.length>4?4:this.discussionSettings.allowedChannelIds.length:4}renderCreate(){if(this.step===M.AUDIENCE)return this.renderAudienceStep();if(this.step===M.CONTENT)return this.renderContentStep()}renderPostEditor(){return this.postId?this.renderContentStep():this.renderCreate()}render(){let{isReply:e,_context:t,loading:s,isRtl:i}=this;return r(q,{key:"1cade3df5edb6169dee731f1a2d725a369d3177c",class:{rtl:i},"data-element":"discussions-post-editor"},!!t&&!s&&(e?this.renderReplyEditor():this.renderPostEditor()))}get isCollapsed(){return this.collapsible&&this.collapsed}get inputMessage(){let{bodyValue:e,isBodyValid:t,intl:s}=this;if(e.trim().length>=Re)return t?{status:"idle",text:s.t("reply.body.validation.warning")}:{icon:"exclamation-mark-circle",status:"invalid",text:s.t("reply.body.validation.error")}}handleCreateReply(){let{_context:e,_unsavedFeatures:t,_unsavedRelatedFeatures:s,bodyValue:i,parent:o,channel:n,discussion:a,asAnonymous:c,entity:{url:l},arcgisHubDiscussionsPostCreate:d}=this,u=a;if(s.length){let p=l.split("/").pop(),m=new Set(s.map(b=>b.objectId));u=Z(u,p,Array.from(m))}let h=null;return t.length&&(h=t.length>1?se(t):t[0].geometry),this.errorMessage=null,qe(Object.assign({postId:o.id,data:{discussion:u,body:i.trim(),geometry:h,asAnonymous:c},mentionUrl:window.location.href},e.hubRequestOptions)).then(p=>(this.bodyValue="",this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.reply),{response:g.constants.response.SUCCESS,postId:p.id,parentId:o.id,channelId:n.id,channelAccess:x(n)})),z(Object.assign({postId:p.id,data:{relations:[C.REACTIONS,C.CHANNEL,C.CHANNEL_ACL]}},e.hubRequestOptions)))).then(p=>(p.replyCount=0,d.emit(p),p)).catch(p=>(this.errorMessage="createFailure",this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.reply),{response:g.constants.response.FAILURE,parentId:o.id,channelId:n.id,channelAccess:x(n)})),X.error("Failed to create reply:",p.message),null))}handleEditReply(){let{_context:e,bodyValue:t,post:s,parentId:i,channel:o,arcgisHubDiscussionsPostEdit:n,_unsavedFeatures:a,_unsavedRelatedFeatures:c,_unsavedExistingFeatures:l,entity:{url:d}}=this;this.errorMessage=null;let u=this.discussionValue;if(c.length){let b=d.split("/").pop(),f=c.map(_=>_.objectId);u=Z(u,b,f)}let h=this.geometryValue&&Object.keys(this.geometryValue).length?Pe(Object.assign(Object.assign({},s),{geometry:this.geometryValue})):[];l.forEach(b=>{let{properties:{index:f},geometry:_}=b;_&&(h[+f].geometry=_)});let p=null,m=[...h,...a];return m.length&&(m.length>1?p=se(m):p=m[0].geometry.coordinates.length?m[0].geometry:null),_e(Object.assign({postId:s.id,data:{body:t.trim(),discussion:u,geometry:p},mentionUrl:window.location.href},e.hubRequestOptions)).then(b=>z(Object.assign({postId:b.id,data:{relations:[C.REACTIONS,C.CHANNEL,C.CHANNEL_ACL]}},e.hubRequestOptions))).then(b=>(b.replyCount=0,this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.reply),{response:g.constants.response.SUCCESS,postId:s.id,parentId:i,channelId:o.id,channelAccess:x(o)})),n.emit(b),b)).catch(b=>(this.errorMessage="editFailure",this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.reply),{response:g.constants.response.FAILURE,postId:s.id,parentId:i,channelId:o.id,channelAccess:x(o)})),X.error("Failed to edit reply:",b.message),null))}renderInput(){let{bodyValue:e,inputMessage:t,pending:s,intl:i,parentCreator:o,getMentionQuery:n,blockedNotice:a,asAnonymous:c}=this,l=o?.firstName?i.t("replyToUserPost",{firstName:o.firstName}):i.t("replyToPost");return r(E,null,r("arcgis-hub-rich-text",{class:"hub-discussions-reply-editor__body",disabled:!!a||s,getMentionQuery:n,label:i.t("inputLabel"),mention:!c,mentionCount:100,placeholder:l,ref:d=>{this.bodyRef=d},"text-transform":!0,toolbar:"",value:e}),t&&r("calcite-input-message",{class:"hub-discussions-reply-editor__message",icon:t.icon,scale:"l",status:t.status},t.text))}renderGeographies(){let{channelId:e,channel:t,hasMap:s,postWithLocationEdits:i,_unsavedFeatures:o,_unsavedRelatedFeatures:n,_unsavedExistingFeatures:a,displayFieldValid:c,displayFieldKey:l,blockedNotice:d,isMobile:u,parentId:h,entity:p,showLocations:m}=this;if(m)return r("arcgis-hub-discussions-post-geography",{channel:t,channelId:e,disabled:!s,disabledActions:!!d,displayFieldKey:l,displayFieldValid:c,hasMap:s,isMobile:u,parentId:h,post:i,postId:i?.id,renderedInEditor:!0,showLocationDescriptionText:!u,unsavedExistingFeatures:a,unsavedFeatures:o,unsavedRelatedFeatures:n,url:p?.url})}renderEditor(){let{intl:e,errorMessage:t,blockedNotice:s}=this;return r(E,null,this.renderInput(),this.renderGeographies(),r("div",{class:"hub-discussions-post-editor-post-actions"},this.renderAddLocationsButton(),this.renderSecondaryActionButton(),this.renderPrimaryActionButton()),s&&r("arcgis-hub-discussions-blocked-notice",{class:"hub-discussions-reply-editor__not-discussable-notice",scale:"s",variant:s}),t&&r("calcite-notice",{class:"hub-discussions-reply-editor__notice",kind:"danger",open:!0,scale:"s"},r("div",{slot:"title"},e.t("error")),r("div",{slot:"message"},e.t(t))))}renderReplyEditor(){return r("form",{class:"hub-discussions-reply-editor__form",onSubmit:this.handleReplySubmit},this.renderAnonToggle(),this.renderPostHeader("m",!0),this.confirmAction?this.renderConfirmCancel():this.renderEditor())}static get assetsDirs(){return["locales"]}get element(){return F(this)}static get watchers(){return{_context:["initialize"],geometryValue:["handleGeometryValueUpdated"],unsavedFeatures:["mapFeaturePropToState"],unsavedExistingFeatures:["mapExistingFeaturePropToState"],unsavedRelatedFeatures:["mapRelatedFeaturePropToState"],addLocationsActiveGeometryType:["handleAddLocationsActiveGeometryTypeChanged"]}}};ae([K("bodyValue")],te.prototype,"hasMentionedUsers",null);ae([K("discussionSettings","hasAllowedChannelsList")],te.prototype,"channelGalleryQuery",null);ae([K("channelPickerQuery")],te.prototype,"channelPickerCatalog",null);ae([K()],te.prototype,"channelPickerFacets",null);ae([K("discussionSettings")],te.prototype,"channelPickerQuery",null);te.style=Bt;var Gt='.sc-arcgis-hub-discussions-post-list-h{display:block}arcgis-load-more-button.sc-arcgis-hub-discussions-post-list{margin-top:0.75rem;margin-right:1rem;margin-bottom:1.5rem;margin-left:1rem}calcite-input[type="search"].sc-arcgis-hub-discussions-post-list{margin-bottom:1rem}calcite-dropdown.sc-arcgis-hub-discussions-post-list{position:relative}.post-results-info-and-controls.sc-arcgis-hub-discussions-post-list{display:flex;align-items:center;gap:0.25rem}.post-count.sc-arcgis-hub-discussions-post-list{flex-grow:1}arcgis-hub-discussions-thread.sc-arcgis-hub-discussions-post-list:first-of-type{padding-top:1rem}arcgis-hub-discussions-thread.sc-arcgis-hub-discussions-post-list:last-of-type{padding-bottom:1rem}arcgis-hub-discussions-post.loading.sc-arcgis-hub-discussions-post-list,arcgis-hub-discussions-post.loading.sc-arcgis-hub-discussions-post-list:not([parent-id]){margin:0px;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:1rem}.location-list.sc-arcgis-hub-discussions-post-list-h arcgis-hub-discussions-post.loading.sc-arcgis-hub-discussions-post-list{padding-left:1rem;padding-right:1rem}.replies-only.sc-arcgis-hub-discussions-post-list arcgis-hub-discussions-post.loading.sc-arcgis-hub-discussions-post-list{padding-left:0px;padding-right:0px}.sc-arcgis-hub-discussions-post-list-h:not(.has-error).sc-arcgis-hub-discussions-post-list-s>[slot="error"]{display:none}[total="0"].sc-arcgis-hub-discussions-post-list-h calcite-list.sc-arcgis-hub-discussions-post-list{display:none}.sc-arcgis-hub-discussions-post-list-h:not([total="0"]).sc-arcgis-hub-discussions-post-list-s>[slot="empty"]{display:none}',zt=Gt,Kt=function(e,t,s,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,s):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(n=(o<3?a(n):o>3?a(t,s,n):a(t,s))||n);return o>3&&n&&Object.defineProperty(t,s,n),n},ee;(function(e){e.List="list",e.Loading="isLoading"})(ee||(ee={}));var Ot=class{constructor(e){N(this,e),this.arcgisHubDiscussionsPostListUpdated=v(this,"arcgisHubDiscussionsPostListUpdated",7),this.arcgisHubDiscussionsPostListReady=v(this,"arcgisHubDiscussionsPostListReady",7),this.arcgisHubDiscussionsPostListLayoutChanged=v(this,"arcgisHubDiscussionsPostListLayoutChanged",7),this.hubTelemetry=v(this,"hubTelemetry",7),this.impressionLogged=!1,this.discussion=void 0,this.entityId=void 0,this.entityType=void 0,this.entity=void 0,this.discussionSettings=void 0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.displayFieldKey=void 0,this.hasMap=void 0,this.isHub=void 0,this.unsavedFeatures=void 0,this.unsavedRelatedFeatures=void 0,this.unsavedExistingFeatures=[],this.nextStart=-1,this.start=1,this.total=0,this.items=void 0,this.sortBy=re.UPDATED_AT,this.sortOrder=Y.DESC,this.titleText=void 0,this.bodyText=void 0,this.geometry=void 0,this.featureGeometry=void 0,this.parentIds=void 0,this.creator=void 0,this.editor=void 0,this.status=[k.APPROVED,k.HIDDEN,k.PENDING,k.REJECTED,k.BLOCKED],this.groupIds=void 0,this.channelIds=void 0,this.createdBefore=void 0,this.createdAfter=void 0,this.updatedBefore=void 0,this.updatedAfter=void 0,this.access=void 0,this.num=10,this.isMobile=void 0,this.locationId=void 0,this.layout="list",this.showLayoutActions=void 0,this.showSearchActions=void 0,this.showCounts=void 0,this.showSortActions=void 0,this.renderPost=void 0,this.showLocations=void 0,this.disableSelectExistingLocation=void 0,this.locationDescriptionText=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this._context=Q(),this.pending=!1,this.error=void 0,this.loadedPostIds=[],this.ready=!1,this.mostRecentPagePostIds=[],this._loading=!0,this.intl=void 0,$(this,"renderListAndActions","renderLoading","handleSortBySelect","handleSortOrderSelected","handleSearchInputChanged","_renderPost")}async componentWillLoad(){this.initialize()}connectedCallback(){oe(this)}disconnectedCallback(){this.disconnectContext()}async initialize(){this.loadTranslations(),this._context&&(await this.loadDependencies(),this.items?(this.mostRecentPagePostIds=this.items.map(({id:e})=>e),this.emitPostListOpenEvent(!0),this.loadedPostIds=[]):this.searchPosts(1))}async loadTranslations(){this.intl=await j.loadIntlForComponent(this.element)}loadDependencies(){if(this._context)return this._loading=!0,this.fetchDependencies().then(e=>{Object.assign(this,e),this._loading=!1})}fetchDependencies(){return this._fetchDependencies()}async _fetchDependencies(){let{isHub:e,_context:t,discussion:s,entityId:i,entityType:o,entity:n,discussionSettings:a,locationId:c,displayFieldKey:l,displayFieldValid:d,displayFieldValue:u}=this,h=await ue({isHub:e},t.hubRequestOptions),p=await he({discussion:s,entityId:i,entityType:o,entity:n,discussionSettings:a,locationId:c,displayFieldKey:l,displayFieldValid:d,displayFieldValue:u},t.hubRequestOptions,!0);return Object.assign(Object.assign({},h),p)}handleContextChanged(e,t){var s,i;if(((s=e?.currentUser)===null||s===void 0?void 0:s.username)!==((i=t?.currentUser)===null||i===void 0?void 0:i.username))return this.loadDependencies().then(()=>{this.items?this.emitPostListOpenEvent(!0):this.searchPosts(1)})}handleReadyChanged(e){e&&this.arcgisHubDiscussionsPostListReady.emit()}handleLoadedPostIdsChanged(e){this.ready||(this.ready=!!e&&!!this.items&&this.items.every(({id:t})=>e.includes(t)))}emitPostListOpenEvent(e){this.impressionLogged||(this.impressionLogged=!0,this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.postList),{response:e?g.constants.response.SUCCESS:g.constants.response.FAILURE})))}handlePostReady(e){this.loadedPostIds=[...this.loadedPostIds,e.target.postId]}handleLayoutSelected(e){e.stopPropagation(),this.arcgisHubDiscussionsPostListLayoutChanged.emit(e.detail);let t={grid:"gridView",list:"listView",map:"mapView"}[e.detail];this.hubTelemetry.emit(g.dictionary.category.interaction.action.select.label.discussionBoardView.details[t])}get sortByMenuConfigs(){return[{label:"sortRecent",value:re.UPDATED_AT},{label:"sortCreator",value:re.CREATOR}]}get activeSortConfig(){return this.sortByMenuConfigs.find(({value:e})=>e===this.sortBy)}get isRtl(){var e;return((e=this.intl)===null||e===void 0?void 0:e.direction)==="rtl"||!1}get views(){let{renderListAndActions:e,renderLoading:t}=this;return{[ee.List]:{render:e},[ee.Loading]:{render:t}}}get isLoading(){let{intl:e,_context:t,_loading:s}=this;return!e||!t||s}get view(){let{views:e,isLoading:t}=this,s=t?ee.Loading:ee.List;return e[s]}handlePostDeleted(e){this.items.findIndex(({id:s})=>e.detail.id===s)>-1&&(this.items=this.items.filter(({id:s})=>e.detail.id!==s),this.total-=1,this.nextStart>-1&&(this.nextStart-=1),this.arcgisHubDiscussionsPostListUpdated.emit())}handlePostCreated(e){let t=e.detail.discussion.includes(this.discussion),s=!0;this.parentIds&&(s=this.parentIds.length?this.parentIds.includes(e.detail.parentId):!e.detail.parentId),t&&s&&(this.sortOrder===Y.DESC?this.items.find(({id:i})=>e.detail.id===i)||(this.items=[e.detail,...this.items],this.total+=1,this.nextStart>-1&&(this.nextStart+=1),this.arcgisHubDiscussionsPostListUpdated.emit()):(this.total+=1,this.arcgisHubDiscussionsPostListUpdated.emit()))}handlePostEdited(e){this.items.findIndex(({id:s})=>e.detail.id===s)>-1&&(this.items=this.items.map(s=>s.id===e.detail.id?e.detail:s),this.arcgisHubDiscussionsPostListUpdated.emit())}handleLoadMoreChange(e){e.stopPropagation(),this.searchPosts(this.nextStart)}async getPostRefByPostId(e){return Array.prototype.find.call(this.layoutListRef.childNodes,t=>t.postId===e)||null}handleSortByChanged(){this.searchPosts(1)}handleSortBySelect(e){let{selectedItems:[{dataset:{value:t}}]}=e.target;this.sortBy=t}get searchParams(){let{sortBy:e,sortOrder:t,access:s,status:i,channelIds:o,groupIds:n,titleText:a,bodyText:c,discussion:l,geometry:d,creator:u,editor:h,featureGeometry:p,parentIds:m,createdBefore:b,createdAfter:f,updatedBefore:_,updatedAfter:w,num:A}=this,R=O=>O===void 0?O:new Date(O),I={title:a&&`%${a}%`,body:c&&`%${c}%`,term:c&&`%${c}%`,discussion:l&&!l.endsWith("%")?`${l}%`:l,geometry:d,featureGeometry:p,parents:m,status:i,creator:u,editor:h,sortBy:e,sortOrder:t,access:s,channels:o,groups:n,createdBefore:R(b),createdAfter:R(f),updatedBefore:R(_),updatedAfter:R(w),num:A};return Object.entries(I).reduce((O,[S,T])=>T?Object.assign(Object.assign({},O),{[S]:T}):O,{})}searchPosts(e){let{_context:t,searchParams:s,arcgisHubDiscussionsPostListUpdated:i,items:o,loadedPostIds:n}=this;return Object.assign(this,{pending:!0,error:null}),e===1&&Object.assign(this,{items:[],total:0,nextStart:-1}),ze(Object.assign({data:Object.assign({start:e,relations:[C.REPLIES,C.REACTIONS,C.CHANNEL,C.CHANNEL_ACL]},s)},t.hubRequestOptions)).then(({items:a,nextStart:c,total:l})=>{let d,u;e===1?(d=a,u=[]):(u=n,d=[...o,...a]),Object.assign(this,{items:d,nextStart:c,total:l,loadedPostIds:u,mostRecentPagePostIds:a.map(({id:h})=>h)}),this.emitPostListOpenEvent(!0),i.emit()}).catch(a=>{this.error=a,this.emitPostListOpenEvent(!1)}).finally(()=>{this.pending=!1})}renderCount(){if(this.showCounts){let{items:e,total:t,intl:s}=this,i=e.length?1:0,o=e.length?e.length:0;return r("div",{class:"post-count"},s.t("searchCount",{start:i,end:o,total:t}))}}renderSortByDropdown(){if(this.showSortActions){let{intl:e,sortBy:t,sortByMenuConfigs:s,activeSortConfig:i,pending:o,handleSortBySelect:n,total:a}=this;return r("calcite-dropdown",{disabled:o||!a,onCalciteDropdownSelect:n},r("calcite-button",{appearance:"transparent",iconEnd:"caret-down",slot:"trigger"},e.t(i.label)),r("calcite-dropdown-group",null,s.map(({label:c,value:l})=>r("calcite-dropdown-item",{"data-value":l,key:l,selected:l===t},e.t(c)))))}}handleSortOrderSelected(){this.sortOrder=this.sortOrder===Y.DESC?Y.ASC:Y.DESC}handleSearchInputChanged(e){this.bodyText=e.target.value}handleSortOrderChanged(){this.searchPosts(1)}handleBodyChanged(){this.searchPosts(1),this.hubTelemetry.emit(g.dictionary.category.interaction.action.search.label.searchPosts.details.mapView)}renderSortDirectionAction(){if(this.showSortActions){let{sortOrder:e,intl:t,handleSortOrderSelected:s,pending:i,total:o}=this,n,a;return e===Y.DESC?(n="sort-descending-arrow",a="orderDesc"):(a="orderAsc",n="sort-ascending-arrow"),r("calcite-action",{class:"sort-direction-action",disabled:i||!o,icon:n,iconFlipRtl:this.isRtl,onClick:s,scale:"s",text:t.t(a)})}}renderSearch(){if(this.showSearchActions){let{intl:e,pending:t,handleSearchInputChanged:s,isRtl:i,total:o,bodyText:n}=this;return r("calcite-input",{disabled:t||!n&&!o,icon:!0,iconFlipRtl:i,onCalciteInputChange:s,placeholder:e.t("searchIdeas"),type:"search",value:n})}}renderList(){let{items:e,layout:t,parentIds:s,pending:i,isMobile:o}=this;return r("arcgis-layout-list",{class:{"replies-only":!!s?.length},disabled:i,layout:t,ref:n=>{this.layoutListRef=n},showMapControl:!o},this.renderCountAndActions(),e.map(this._renderPost))}_renderPost(e,t,s){let{hasMap:i,isHub:o,unsavedFeatures:n,unsavedRelatedFeatures:a,unsavedExistingFeatures:c,displayFieldKey:l,displayFieldValid:d,displayFieldValue:u,showChannelAvatar:h,showChannelName:p,entity:m,entityId:b,entityType:f,discussionSettings:_,isMobile:w,locationDescriptionText:A,locationId:R,mostRecentPagePostIds:I,loadedPostIds:O,parentIds:S,showLocations:T,disableSelectExistingLocation:U}=this,P=I.includes(e.id)?I.some(B=>!O.includes(B)):!O.includes(e.id);return this.renderPost?this.renderPost(e,t,s,P):r("arcgis-hub-discussions-post",{channel:e.channel,channelId:e.channel.id,disableSelectExistingLocation:U,discussionSettings:_,displayFieldKey:l,displayFieldValid:d,displayFieldValue:u,entity:m,entityId:b,entityType:f,hasMap:i,index:t,isHub:o,isMobile:w,key:e.id,lastIndex:s.length-1,lead:!!S?.length,loading:P,locationDescriptionText:A,locationId:R,parentId:e.parentId,post:e,postId:e.id,preview:!e.parentId,role:"listitem",showChannelAvatar:h,showChannelName:p,showLocations:T,unsavedExistingFeatures:c,unsavedFeatures:n,unsavedRelatedFeatures:a})}renderCountAndActions(){let{showLayoutActions:e,showCounts:t,showSortActions:s}=this;if(e||t||s)return r("div",{class:"post-results-info-and-controls",slot:"actions"},this.renderCount(),this.renderSortByDropdown(),this.renderSortDirectionAction())}renderListAndActions(){let{nextStart:e,pending:t}=this;return r(E,null,r("slot",{name:"list-before"}),this.renderSearch(),this.renderList(),this.renderEmpty(),this.renderError(),r("arcgis-load-more-button",{appearance:"outline-fill",loading:t,nextStart:e}))}renderLoading(){return null}renderEmpty(){return r("slot",{name:"empty"})}renderError(){return r("slot",{name:"error"})}render(){let{view:e,error:t,items:s}=this;return r(q,{key:"17455335beb6873ff1ef60afc8aa74d996e3e3f6",class:{"has-error":!!t,rtl:!0},"data-count":s?.length||0,"data-element":"discussions-post-list"},e.render())}static get assetsDirs(){return["locales"]}get element(){return F(this)}static get watchers(){return{_context:["handleContextChanged"],ready:["handleReadyChanged"],loadedPostIds:["handleLoadedPostIdsChanged"],sortBy:["handleSortByChanged"],sortOrder:["handleSortOrderChanged"],bodyText:["handleBodyChanged"]}}};Kt([de({delay:300})],Ot.prototype,"fetchDependencies",null);Ot.style=zt;var xt=[y.THUMBS_UP,y.THINKING,y.GRINNING,y.PARTY_POPPER],vt=[...xt,y.SLIGHTLY_SMILING,y.CONFUSED,y.LAUGH,y.FACE_WITH_TEARS_OF_JOY,y.WINKING,y.PARTYING,y.SAD,y.SURPRISED,y.THUMBS_DOWN,y.CLAPPING_HANDS,y.RAISING_HANDS,y.WAVING_HAND,y.HEART,y.ONE_HUNDRED,y.FIRE,y.ROCKET,y.UP_ARROW,y.DOWN_ARROW,y.EYES,y.TROPHY,y.WORLD_MAP],V={[y.SLIGHTLY_SMILING]:{emoji:"\u{1F642}",telemetryKey:"smilingFace"},[y.CONFUSED]:{emoji:"\u{1F615}",telemetryKey:"confusedFace"},[y.LAUGH]:{emoji:"\u{1F600}",telemetryKey:"laughingFace"},[y.GRINNING]:{emoji:"\u{1F606}",telemetryKey:"grinningFace"},[y.FACE_WITH_TEARS_OF_JOY]:{emoji:"\u{1F602}",telemetryKey:"faceWithTearsOfJoy"},[y.THINKING]:{emoji:"\u{1F914}",telemetryKey:"thinkingFace"},[y.WINKING]:{emoji:"\u{1F609}",telemetryKey:"winkingFace"},[y.PARTYING]:{emoji:"\u{1F973}",telemetryKey:"partyingFace"},[y.SAD]:{emoji:"\u{1F625}",telemetryKey:"sadFace"},[y.SURPRISED]:{emoji:"\u{1F632}",telemetryKey:"shockedFace"},[y.THUMBS_UP]:{emoji:"\u{1F44D}",telemetryKey:"thumbsUp"},[y.THUMBS_DOWN]:{emoji:"\u{1F44E}",telemetryKey:"thumbsDown"},[y.CLAPPING_HANDS]:{emoji:"\u{1F44F}",telemetryKey:"clappingHands"},[y.RAISING_HANDS]:{emoji:"\u{1F64C}",telemetryKey:"raisingHands"},[y.WAVING_HAND]:{emoji:"\u{1F44B}",telemetryKey:"wavingHand"},[y.HEART]:{emoji:"\u2764\uFE0F",telemetryKey:"redHeart"},[y.ONE_HUNDRED]:{emoji:"\u{1F4AF}",telemetryKey:"hundredPoints"},[y.FIRE]:{emoji:"\u{1F525}",telemetryKey:"fire"},[y.PARTY_POPPER]:{emoji:"\u{1F389}",telemetryKey:"partyPopper"},[y.ROCKET]:{emoji:"\u{1F680}",telemetryKey:"rocket"},[y.UP_ARROW]:{emoji:"\u2B06",telemetryKey:"upArrow"},[y.DOWN_ARROW]:{emoji:"\u2B07",telemetryKey:"downArrow"},[y.EYES]:{emoji:"\u{1F440}",telemetryKey:"eyes"},[y.TROPHY]:{emoji:"\u{1F3C6}",telemetryKey:"trophy"},[y.WORLD_MAP]:{emoji:"\u{1F5FA}",telemetryKey:"worldMap"}},qt=`:host{display:inline-block}:host>div>calcite-button{margin-right:0.125rem;border-width:2px;border-style:solid;border-color:transparent;padding:0.125rem}:host>div>calcite-button:last-of-type{margin-right:0px}.submitted_reactions_list calcite-button{border-width:2px;border-style:solid;border-color:transparent;padding:0.125rem}.submitted_reactions_list calcite-button span{margin-left:0.25rem}calcite-button[aria-checked="true"],calcite-button[data-reaction="add"][aria-expanded="true"]{border-color:var(--calcite-color-brand)}:host(.rtl) calcite-button[data-reaction="add"]{transform:scaleX(-1)}calcite-button[aria-checked="true"] span{font-weight:var(--calcite-font-weight-bold)}:host>div{display:flex}.submitted_reactions_list{margin:0px;display:inline-flex;list-style-type:none;padding:0px}.submitted_reactions_list li{margin-right:0.125rem}.user_reactions_popover{width:20rem}.user_reactions_list{margin:0px;display:grid;max-height:407px;list-style-type:none;grid-auto-flow:row;row-gap:0.75rem;overflow:auto;padding:0.75rem}.user_reaction_item{display:grid;grid-template-rows:repeat(2, minmax(0, 1fr));column-gap:0.75rem;row-gap:0.125rem;background-color:var(--calcite-color-foreground-1);grid-template-columns:2.75rem auto}.user_reaction_item:has(div:nth-of-type(3)){grid-template-columns:2.75rem auto minmax(0, 16px)}.user_reaction_item calcite-avatar{grid-row:span 2 / span 2;height:2.75rem;width:2.75rem}.user_reaction_item div:nth-of-type(1){display:flex;flex-grow:1;align-items:center;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-bold);text-transform:capitalize;color:var(--calcite-color-text-1)}.user_reaction_item div:nth-of-type(2){display:flex;align-items:center;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}.user_reaction_item:has(div:nth-of-type(3)) div:nth-of-type(2){grid-row:span 2 / span 2;justify-content:flex-end}.user_reaction_item div:nth-of-type(2):before{content:'@'}.user_reaction_item:has(div:nth-of-type(3)) div:nth-of-type(2):before{content:''}.user_reaction_item div:nth-of-type(3){display:flex;align-items:center;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}.user_reaction_item div:nth-of-type(3):before{content:'@'}arcgis-skeleton-loader{display:grid;grid-template-rows:repeat(2, minmax(0, 1fr));column-gap:0.75rem;row-gap:0.125rem;grid-template-columns:2.75rem auto}arcgis-skeleton-loader:has(div:nth-of-type(4)){grid-template-columns:2.75rem auto minmax(0, 16px)}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}arcgis-skeleton-loader>div:nth-of-type(1){animation:shimmer 2s cubic-bezier(0.4, 0, 0.2, 0.8) infinite;background-image:linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);background-color:var(--calcite-color-foreground-3);grid-row:span 2 / span 2;height:2.75rem;width:2.75rem;border-radius:50%}arcgis-skeleton-loader>div:nth-of-type(2){display:flex;align-items:center}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}arcgis-skeleton-loader>div:nth-of-type(2) div{animation:shimmer 2s cubic-bezier(0.4, 0, 0.2, 0.8) infinite;background-image:linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);background-color:var(--calcite-color-foreground-3);display:flex;flex-grow:1;border-radius:0.375rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}arcgis-skeleton-loader>div:nth-of-type(3){display:flex;align-items:center}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}arcgis-skeleton-loader>div:nth-of-type(3) div{animation:shimmer 2s cubic-bezier(0.4, 0, 0.2, 0.8) infinite;background-image:linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);background-color:var(--calcite-color-foreground-3);display:flex;flex-grow:1;border-radius:0.375rem;font-size:var(--calcite-font-size--1);line-height:1rem}arcgis-skeleton-loader:has(div:nth-of-type(4))>div:nth-of-type(3){grid-row:span 2 / span 2;display:flex;align-items:center}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}arcgis-skeleton-loader::has(div:nth-of-type(4))>div:nth-of-type(3) div{animation:shimmer 2s cubic-bezier(0.4, 0, 0.2, 0.8) infinite;background-image:linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);background-color:var(--calcite-color-foreground-3);display:flex;height:1rem;flex-grow:1;border-radius:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}arcgis-skeleton-loader>div:nth-of-type(4) div{animation:shimmer 2s cubic-bezier(0.4, 0, 0.2, 0.8) infinite;background-image:linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);background-color:var(--calcite-color-foreground-3);display:flex;flex-grow:1;border-radius:0.375rem;font-size:var(--calcite-font-size--1);line-height:1rem}.default_reactions{display:flex;flex-direction:row;padding:0.75rem}.default_reactions ul{margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0.5rem;display:inline-flex;list-style-type:none;padding:0px}.default_reactions li{margin-right:0.5rem}.default_reactions li:last-of-type{margin-right:0px}.all_reactions_list{margin:0px;display:grid;list-style-type:none;grid-template-columns:repeat(5, minmax(0, 1fr));gap:0.5rem;padding:0.75rem}`,Wt=qt,$t=function(e,t,s,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,s):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(n=(o<3?a(n):o>3?a(t,s,n):a(t,s))||n);return o>3&&n&&Object.defineProperty(t,s,n),n},_t=(e,t)=>{let s=new Date(e.createdAt),i=new Date(t.createdAt);return s>i?-1:s<i?1:0},Ct=e=>(t,s)=>e[t.value].length>e[s.value].length?1:e[t.value].length<e[s.value].length?-1:0,It=class{async handlePostIdChanged(e,t){await this.fetchPostDetails(e,t)}handleContextChanged(e,t){var s,i;((s=e.currentUser)===null||s===void 0?void 0:s.username)!==((i=t.currentUser)===null||i===void 0?void 0:i.username)&&(this.users={})}handlePopoverOpen(e){e.target!==this.element&&(this.activePopover=null)}constructor(e){N(this,e),this.hubTelemetry=v(this,"hubTelemetry",7),this.arcgisHubDiscussionsPostReactionChange=v(this,"arcgisHubDiscussionsPostReactionChange",7),this.reactionListButtons={},this.postId=void 0,this.post=void 0,this.channel=void 0,this._context=Q(),this.showAllReactions=!1,this.activePopover=null,this.pending=!1,this.users={},$(this,"handleAddReactionClick","handleViewAllReactionsClick","handleAddReactionPopoverClose","handleReactionFocus","handleReactionMouseEnter","handleReactionPopoverClose","handleReactionClicked","handleReactionPopoverOpen","handleReactionRef","deleteUserReaction","handleReactionPopoverBeforeOpen")}async componentWillLoad(){let[e]=await Promise.all([j.loadIntlForComponent(this.element),this.handlePostIdChanged(this.postId)]);this.intl=e}connectedCallback(){oe(this)}disconnectedCallback(){this.disconnectContext()}get isDisabled(){let{_context:e,channel:t,pending:s}=this;return[!e.currentUser,!t.allowReaction,s].some(i=>!!i)}get overflowReactionRecords(){let{listReactions:e,reactionRecordGroups:t}=this,s=(i,[o,n])=>e.find(a=>a.value===o)?i:[...i,...n];return Object.entries(t).reduce(s,[]).sort(_t)}get currentUserReactions(){let{_context:e,reactionRecordGroups:t}=this;return Object.values(t).reduce((s,i)=>[...s,...i.filter(o=>{var n;return o.creator===((n=e.currentUser)===null||n===void 0?void 0:n.username)})],[]).sort(Ct(t))}get otherUserReactions(){let{reactionRecordGroups:e,currentUserReactions:t}=this;return Object.values(e).reduce((i,o)=>[...i,...o],[]).reduce((i,o)=>t.find(a=>a.value===o.value)||i.find(a=>a.value===o.value)?i:[...i,o],[]).sort(Ct(e))}get listReactions(){let{currentUserReactions:e,otherUserReactions:t,reactionRecordGroups:s}=this,i=[...t,...e],o=Object.keys(s).length>4?3:4,n,a;return i.length>o?(n=i.length-o,a=i.length):(n=0,a=i.length),i.slice(n,a)}get reactionRecordGroups(){let{post:{reactions:e}}=this,t=(s,i)=>vt.includes(i.value)?Object.assign(Object.assign({},s),{[i.value]:[...s[i.value]||[],i]}):s;return[...e].sort(_t).reduce(t,{})}async fetchPostDetails(e,t){let{_context:s}=this;if(e&&e!==t){let i=await z(Object.assign({postId:e,data:{relations:[C.CHANNEL,C.CHANNEL_ACL,C.REACTIONS,C.REPLIES]}},s.hubRequestOptions));i.replyCount=i.replies.total,delete i.replies,this.channel=i.channel,this.post=i}}handleAddReactionClick(e){let{dataset:{reaction:t}}=e.target,{post:s,channel:i}=this;this.activePopover=t,this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.popover.details.addReaction),{postId:s.id,parentId:s.parentId,channelId:i.id,channelAccess:x(i)}))}handleViewAllReactionsClick(){this.showAllReactions=!0}handleAddReactionPopoverClose(){this.showAllReactions=!1,this.activePopover=null}handleReactionFocus(e){let{dataset:{reaction:t}}=e.target;this.activePopover=t}handleReactionMouseEnter(e){let t=e.target,{nodeName:s,dataset:{reaction:i}}=t;s==="CALCITE-BUTTON"&&this.activePopover!=="add"&&(this.activePopover=i)}handleReactionPopoverClose(e){let{dataset:{reaction:t}}=e.target;this.activePopover===t&&(this.activePopover=null)}async handleReactionPopoverBeforeOpen(e){let{reaction:t}=e.target.dataset,s=await this.fetchUserRecords(t);this.users=Object.assign(Object.assign({},this.users),s)}async handleReactionClicked(e){let{currentUserReactions:t,arcgisHubDiscussionsPostReactionChange:s,activePopover:i}=this,{dataset:{reaction:o}}=e.currentTarget,n=t.find(({value:a})=>a===o);this.pending=!0;try{if(await Promise.all(t.map(this.deleteUserReaction)),n||await this.createReaction(o),i==="add"&&(this.activePopover=null),this.activePopover){let a=await this.fetchUserRecords(o);this.users=Object.assign(Object.assign({},this.users),a)}}catch{}finally{s.emit(),this.pending=!1}}handleReactionPopoverOpen(e){let{channel:t,post:s}=this,{dataset:{reaction:i}}=e.target,o=i==="overflow"?g.dictionary.category.interaction.action.open.label.popover.details.reactionOverflow:g.dictionary.category.interaction.action.open.label.popover.details[V[i].telemetryKey];this.hubTelemetry.emit(Object.assign(Object.assign({},o),{postId:s.id,parentId:s.parentId,channelId:t.id,channelAccess:x(t)}))}async handleReactionRef(e){var t;+((t=e?.dataset)===null||t===void 0?void 0:t.index)==0&&await e.setFocus()}async fetchUserRecords(e){let{reactionRecordGroups:t,overflowReactionRecords:s,users:i}=this,n=(e==="overflow"?s:t[e]).reduce((a,c)=>i[c.creator]?a:[...a,c.creator],[]);if(n.length){let a=n.reduce((l,d)=>[...l,this.fetchUserRecord(d)],[]);return(await Promise.all(a)).reduce((l,d,u)=>Object.assign(Object.assign({},l),{[n[u]]:d}),{})}}async fetchUserRecord(e){return Le(e,this._context.hubRequestOptions).catch(t=>null)}async createReaction(e){let{_context:t,post:s,channel:i}=this;try{let o=await Je(Object.assign({data:{postId:s.id,value:e}},t.hubRequestOptions));this.post=Object.assign(Object.assign({},this.post),{reactions:[...this.post.reactions,o]}),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.reaction.details[V[e].telemetryKey]),{postId:s.id,parentId:s.id,channelId:i.id,channelAccess:x(i),response:g.constants.response.SUCCESS}))}catch(o){throw this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.reaction.details[V[e].telemetryKey]),{postId:s.id,parentId:s.id,channelId:i.id,channelAccess:x(i),response:g.constants.response.FAILURE})),console.error("Failed to create reaction:",e,o.message),o}}async deleteUserReaction(e){let{_context:t,post:s,channel:i,currentUserReactions:o}=this;try{await Xe(Object.assign({reactionId:e.id},t.hubRequestOptions)),this.post=Object.assign(Object.assign({},s),{reactions:s.reactions.filter(({id:n})=>!o.find(a=>a.id===n))}),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.delete.label.reaction.details[V[e.value].telemetryKey]),{postId:s.id,parentId:s.id,channelId:i.id,channelAccess:x(i),response:g.constants.response.SUCCESS}))}catch(n){throw console.error("Failed to delete reaction:",e.value,e.id,n.message),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.delete.label.reaction.details[V[e.value].telemetryKey]),{postId:s.id,parentId:s.id,channelId:i.id,channelAccess:x(i),response:g.constants.response.FAILURE})),n}}renderList(){let{listReactions:e,reactionRecordGroups:t,intl:s,_context:i,activePopover:o,isDisabled:n,handleReactionPopoverClose:a,handleReactionPopoverOpen:c}=this;return r("ul",{class:"submitted_reactions_list"},e.reduce((l,d)=>{var u;let h=d.creator===((u=i.currentUser)===null||u===void 0?void 0:u.username),p=t[d.value].length>99?s.t("reaction_count_99_plus"):t[d.value].length;return[...l,r("li",{key:d.value},r("calcite-button",{appearance:"outline","aria-checked":h?"true":"false","data-reaction":d.value,disabled:n,kind:h?"brand":"neutral",label:s.t(h?"reaction_list_label_remove":"reaction_list_label_add",{reaction:s.t(d.value),count:p}),onClick:this.handleReactionClicked,onFocus:this.handleReactionFocus,onMouseEnter:this.handleReactionMouseEnter,ref:m=>{this.reactionListButtons=Object.assign(Object.assign({},this.reactionListButtons),{[d.value]:m})},role:"radio",round:!0,scale:"m"},V[d.value].emoji,r("span",null,p)),r("calcite-popover",{"auto-close":!0,class:"user_reactions_popover","data-reaction":d.value,"focus-trap-disabled":!0,heading:s.t(d.value),label:s.t(d.value),onCalcitePopoverBeforeOpen:this.handleReactionPopoverBeforeOpen,onCalcitePopoverClose:a,onCalcitePopoverOpen:c,open:o===d.value,overlayPositioning:"fixed",placement:"bottom",referenceElement:this.reactionListButtons[d.value],"trigger-disabled":!0},this.renderUserReactions(t[d.value],!1)))]},[]))}renderUserSkeleton(e){return r("arcgis-skeleton-loader",{active:!0,role:"listitem",rows:0,showFooter:!1,showHeading:!1,showThumbnail:!1},r("div",null),r("div",null,r("div",null,"\xA0")),e&&r("div",null,r("div",null,"\xA0")),r("div",null,r("div",null,"\xA0")))}renderUserReaction(e,t){var s;let{users:i,_context:o,intl:n}=this,a=i[e.creator],c=a?.fullName||n.t("privateUser");return r("li",{"aria-label":n.t("reaction_user_label",{userFullName:c,reaction:n.t(e.value)}),class:"user_reaction_item"},r("calcite-avatar",{"full-name":a?.fullName,scale:"l",thumbnail:a?.thumbnail&&ye(o.hubRequestOptions.portal,{username:a.username,access:a.access,thumbnail:a.thumbnail},(s=o.hubRequestOptions.authentication)===null||s===void 0?void 0:s.token),"user-id":a?.id,username:a?.username}),r("div",null,c),t&&r("div",null,V[e.value].emoji),r("div",null,a?.username||n.t("noUser")))}renderUserReactions(e,t){let{users:s}=this;return r("ul",{class:"user_reactions_list"},e.map(i=>s[i.creator]===void 0?this.renderUserSkeleton(t):this.renderUserReaction(i,t)))}renderOverflow(){let{intl:e,overflowReactionRecords:t,handleReactionPopoverClose:s,handleReactionPopoverOpen:i,activePopover:o,isDisabled:n,overflowButton:a}=this,c=t.length>99?e.t("reaction_count_99_plus"):e.formatNumber(t.length,{signDisplay:"always"});return!!t.length&&r(E,null,r("calcite-button",{appearance:"outline","data-reaction":"overflow",disabled:n,kind:"neutral",label:e.t(t.length>1?"n_more_reactions":"one_more_reaction",{count:c}),onFocus:this.handleReactionFocus,onMouseOver:this.handleReactionMouseEnter,ref:l=>{this.overflowButton=l},round:!0,scale:"m"},c),r("calcite-popover",{"auto-close":!0,class:"user_reactions_popover","data-reaction":"overflow","focus-trap-disabled":!0,heading:e.t("moreReactions"),label:e.t("moreReactions"),onCalcitePopoverBeforeOpen:this.handleReactionPopoverBeforeOpen,onCalcitePopoverClose:s,onCalcitePopoverOpen:i,open:o==="overflow",overlayPositioning:"fixed",placement:"bottom",referenceElement:a,"trigger-disabled":!0},this.renderUserReactions(t,!0)))}renderDefaultReactions(){let{currentUserReactions:e,intl:t,isDisabled:s}=this;return r("div",{class:"default_reactions"},r("ul",null,xt.map(i=>{let o=e.find(n=>n.value===i);return r("li",{key:i},r("calcite-button",{appearance:o?"outline":"transparent","aria-checked":o?"true":"false","data-reaction":i,disabled:s,kind:o?"brand":"neutral",label:t.t(o?"reaction_picker_label_remove":"reaction_picker_label_add",{reaction:t.t(i)}),onClick:this.handleReactionClicked,role:"radio",round:!0,scale:"m"},V[i].emoji))})),r("calcite-button",{appearance:"transparent",disabled:s,"icon-start":"plus",kind:"neutral",label:t.t("viewAllReactions"),onClick:this.handleViewAllReactionsClick,round:!0,scale:"m"}))}renderAllReactions(){let{intl:e,currentUserReactions:t,isDisabled:s,handleReactionClicked:i,handleReactionRef:o}=this;return r("ul",{class:"all_reactions_list"},vt.map((n,a)=>{let c=t.find(l=>l.value===n);return r("li",{key:n},r("calcite-button",{appearance:c?"outline":"transparent","aria-checked":c?"true":"false","data-index":a,"data-reaction":n,disabled:s,kind:c?"brand":"neutral",label:e.t(c?"reaction_picker_label_remove":"reaction_picker_label_add",{reaction:e.t(n)}),onClick:i,ref:o,round:!0,scale:"m"},V[n].emoji))}))}renderAddReaction(){let{intl:e,handleAddReactionClick:t,handleAddReactionPopoverClose:s,isDisabled:i,activePopover:o,showAllReactions:n,addReactionButton:a}=this;return r(E,null,r("calcite-button",{appearance:"outline","data-reaction":"add",disabled:i,"icon-start":"add-reaction",kind:o==="add"?"brand":"neutral",label:e.t("addReaction"),onClick:t,ref:c=>{this.addReactionButton=c},round:!0,scale:"m"}),r("calcite-popover",{"auto-close":!0,"data-reaction":"add",label:e.t("addReaction"),onCalcitePopoverClose:s,open:o==="add",overlayPositioning:"fixed",placement:"bottom",referenceElement:a,scale:"m"},n?this.renderAllReactions():this.renderDefaultReactions()))}render(){return r(q,{key:"58975710e158d313a786a10d39a851840bcd9280",class:{rtl:this.intl.direction==="rtl"},"data-element":"arcgis-hub-discussions-post-reactions"},r("div",{key:"2c3c49b99d1637f79df895adc27464d15a900169"},this.renderList(),this.renderOverflow(),this.renderAddReaction()))}static get assetsDirs(){return["locales"]}get element(){return F(this)}static get watchers(){return{postId:["handlePostIdChanged"],_context:["handleContextChanged"]}}};$t([de({delay:300})],It.prototype,"fetchUserRecord",null);It.style=Wt;async function Yt(e,t,s){let i={type:"object",properties:{cadence:{type:"string",enum:[...ke],default:"WEEKLY"}}};return await Promise.all(e.map(async o=>{let n=await Jt[o](t,s);i.properties=Object.assign(Object.assign({},i.properties),n)})),i}function Qt(e,t,s){let i={type:"Section",elements:[{scope:"/properties/cadence",type:"Control",labelKey:"cadence.label",options:{control:"hub-field-input-combobox",items:ke.map(a=>({value:a,labelKey:`cadence.${a.toLowerCase()}`})),selectionMode:"single",allowCustomValues:!1,disabled:!0}}]},o=e.map(a=>{var c;switch(a){case ie.DISCUSSION:{let l=(c=t?.properties)===null||c===void 0?void 0:c.channelActivitySelections,u=Object.keys(l?.properties||{}).map(h=>{var p,m;let b=((p=l?.properties)===null||p===void 0?void 0:p[h])||{},f=b.title?b.title:s.t("discussions.unnamedChannel"),_=s.t("discussions.channelLabel",{channelName:f}),w=((m=b.items)===null||m===void 0?void 0:m.enum)||[],A=w.map(I=>s.t(`discussions.${I}`)),R=w.length>1?"discussions.modRole":"discussions.participantRole";return{scope:`/properties/channelActivitySelections/properties/${h}`,type:"Control",label:_,options:{helperText:{labelKey:R},control:"hub-field-input-checkbox-group",labels:A,allowCustomValues:!1,layout:"vertical"}}});return{type:"Section",labelKey:"discussions.activity.label",options:{helperText:{labelKey:"discussions.activity.helperText"}},elements:u}}default:return null}}),n={type:"Layout",elements:[i]};return o.length&&n.elements.push({type:"Section",elements:o}),n}var Jt={[ie.DISCUSSION]:Xt};async function Xt(e,t){var s;let i="discussionSettings"in e?((s=e.discussionSettings)===null||s===void 0?void 0:s.allowedChannelIds)||[]:[];if(!i.length)return{};let[{results:o},{results:n}]=await Promise.all([De({allowedChannelIds:i,requestOptions:t.hubRequestOptions,num:100}),ht({allowedChannelIds:i,requestOptions:t.hubRequestOptions,num:100})]),a=new Set(n.map(l=>l.id));return{channelActivitySelections:{type:"object",properties:o.reduce((l,d)=>(l[d.id]={type:"array",title:d.name||"",items:{type:"string",enum:a.has(d.id)?["newPosts","pendingPosts"]:["newPosts"]},default:[]},l),{})}}}async function Zt(e,t){var s;let i="discussionSettings"in e?((s=e.discussionSettings)===null||s===void 0?void 0:s.allowedChannelIds)||[]:[];if(!i.length)return!1;let{total:o}=await De({allowedChannelIds:i,requestOptions:t.hubRequestOptions,num:1});return o>0}var es=".sc-arcgis-hub-subscription-h{display:block}.subscription__header.sc-arcgis-hub-subscription,.subscription__header-actions.sc-arcgis-hub-subscription{margin-bottom:1rem}.subscription__header-entity.sc-arcgis-hub-subscription{font-weight:var(--calcite-font-weight-bold)}",ts=es,ss=class{constructor(e){N(this,e),this.arcgisAppIdentityStartSignIn=v(this,"arcgisAppIdentityStartSignIn",7),this.hubTelemetry=v(this,"hubTelemetry",7),this.cadence=et.WEEKLY,this.translationFunc=(t,s,i)=>this.intl.t(t,s,i),this.handleSubscribeClick=async t=>{var s,i,o,n;t.preventDefault(),this._context.currentUser?(this._draftValues=G(this._values),this.isModalOpen=!0,await this.buildSchemas(),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.modal.details.subscribe),{id:(s=this.entity)===null||s===void 0?void 0:s.id,access:(i=this.entity)===null||i===void 0?void 0:i.access,type:(o=this.entity)===null||o===void 0?void 0:o.type,contentOrgId:(n=this.entity)===null||n===void 0?void 0:n.orgId}))):this.promptToSignIn&&this.arcgisAppIdentityStartSignIn.emit()},this.handleModalClose=()=>{this.isModalOpen=!1,this._draftValues=void 0},this.handleSubscriptionChange=t=>{t.stopPropagation(),this.cadence=t.detail.values.cadence;let s=t.detail.values.channelActivitySelections;s&&(this.catalog=pt(this.entityId,s,this.intl),this._draftValues=Object.assign(Object.assign({},this._draftValues),{channelActivitySelections:s,cadence:t.detail.values.cadence}))},this.handleSubscriptionSave=async t=>{var s,i,o,n,a,c,l,d,u,h,p,m,b,f,_,w,A,R,I;t.stopPropagation(),this.isModalOpen=!1;try{if(!((i=(s=this.subscriptions)===null||s===void 0?void 0:s[0])===null||i===void 0)&&i.id){let O={cadence:this.cadence,catalog:this.catalog,deliveryMethod:we.EMAIL,entityId:((o=this.entity)===null||o===void 0?void 0:o.id)||this.entityId,entityType:(((n=this.entity)===null||n===void 0?void 0:n.type)||this.entityType).toUpperCase(),notificationSpecName:Oe.DISCUSSION_ON_ENTITY};await st(Object.assign({subscriptionId:this.subscriptions[0].id,data:O},this._context.hubRequestOptions)),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.subscription),{details:"post",response:"success",id:(a=this.entity)===null||a===void 0?void 0:a.id,access:(c=this.entity)===null||c===void 0?void 0:c.access,type:(l=this.entity)===null||l===void 0?void 0:l.type,contentOrgId:(d=this.entity)===null||d===void 0?void 0:d.orgId}))}else{let O={cadence:this.cadence,catalog:this.catalog,deliveryMethod:we.EMAIL,entityId:((u=this.entity)===null||u===void 0?void 0:u.id)||this.entityId,entityType:(((h=this.entity)===null||h===void 0?void 0:h.type)||this.entityType).toUpperCase(),metadata:{},notificationSpecName:Oe.DISCUSSION_ON_ENTITY};await tt(Object.assign({data:O},this._context.hubRequestOptions)),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.subscription),{details:"post",response:"success",id:(p=this.entity)===null||p===void 0?void 0:p.id,access:(m=this.entity)===null||m===void 0?void 0:m.access,type:(b=this.entity)===null||b===void 0?void 0:b.type,contentOrgId:(f=this.entity)===null||f===void 0?void 0:f.orgId}))}Ne({title:this.intl.t("notice.succeed"),configuration:{noticeType:"alert",autoClose:!0,autoCloseDuration:"fast",icon:!0,kind:"success",label:this.intl.t("notice.succeed")}}),!((_=t?.detail)===null||_===void 0)&&_.values&&(this._values=t.detail.values,this._draftValues=void 0),await this.refreshSubscriptions()}catch(O){Ne({title:this.intl.t("notice.fail"),configuration:{noticeType:"alert",autoClose:!0,autoCloseDuration:"fast",icon:!0,kind:"danger",label:this.intl.t("notice.fail")}}),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.subscription),{response:"failure",id:(w=this.entity)===null||w===void 0?void 0:w.id,access:(A=this.entity)===null||A===void 0?void 0:A.access,type:(R=this.entity)===null||R===void 0?void 0:R.type,contentOrgId:(I=this.entity)===null||I===void 0?void 0:I.orgId})),console.error("Failed to save subscription",O)}},this.renderModal=()=>this.isModalOpen&&r("arcgis-wormhole",null,r("arcgis-configuration-form",{"data-subscription-editor":"true",isLoading:this.isLoading,isOpen:!0,layout:"modal",modalTitle:this.intl.t("subscribe"),onArcgisConfigurationFormChanged:this.handleSubscriptionChange,onArcgisConfigurationFormModalClosed:this.handleModalClose,onArcgisConfigurationFormSaved:this.handleSubscriptionSave,schema:this._schema,t:this.translationFunc,uiSchema:this._uiSchema,values:this._draftValues},r("div",{slot:"form-start"},r("div",{class:"subscription__header"},this.intl.t("subscribeTo",{entity:this.entity.name})),r("div",{class:"subscription__header-actions"},this.renderSubscribeAllButton())))),this.handleSubscribeAllClick=()=>{var t,s,i,o;let n=this._draftValues;if(this.isDiscussionType){let c=(i=(s=(t=this._schema)===null||t===void 0?void 0:t.properties)===null||s===void 0?void 0:s.channelActivitySelections)===null||i===void 0?void 0:i.properties,l=this.anyChannelSelected(),d={};l?Object.keys(c).forEach(u=>d[u]=[]):Object.entries(c).forEach(([u,h])=>{var p;let m=(p=h.items)===null||p===void 0?void 0:p.enum;d[u]=[...m]}),n=Object.assign(Object.assign({},this._draftValues||{}),{cadence:((o=this._draftValues)===null||o===void 0?void 0:o.cadence)||this.cadence,channelActivitySelections:d})}this._draftValues=n;let a=document.querySelector('arcgis-configuration-form[data-subscription-editor="true"] arcgis-configuration-editor');a?.dispatchEvent(new CustomEvent("arcgisConfigurationEditorChange",{bubbles:!0,detail:{valid:!0,values:n}}))},this.types=[],this.entityId=void 0,this.entity=void 0,this.entityType=void 0,this.subscribeButtonProps=void 0,this.promptToSignIn=void 0,this._schema=void 0,this._uiSchema=void 0,this.isModalOpen=!1,this.isLoading=!0,this.hasSubscribableChannels=!1,this.subscriptions=[],this._values=void 0,this._draftValues=void 0}get _context(){return Q()}get isDiscussionType(){var e;return(e=this.types)===null||e===void 0?void 0:e.includes(ie.DISCUSSION)}async componentWillLoad(){await this.initialize(),this.fetchDependencies()}async fetchDependencies(){var e,t,s;try{!this.entity&&this.entityId&&this.entityType&&(this.entity=await Qe(this.entityType,this.entityId,this._context)),this.hasSubscribableChannels=await Zt(this.entity,this._context),this.subscriptions=await xe(Object.assign({data:{entityId:((e=this.entity)===null||e===void 0?void 0:e.id)||this.entityId,userId:(s=(t=this._context)===null||t===void 0?void 0:t.currentUser)===null||s===void 0?void 0:s.username}},this._context.hubRequestOptions)),this._values=this.buildInitialFormValues()}catch(i){console.error("Subscription initialization failed",i)}finally{this.isLoading=!1}}async initialize(){this.intl=await j.loadIntlForComponent(this.element)}async buildSchemas(){this._schema=await Yt(this.types,this.entity,this._context),this._uiSchema=at(this.intl,Qt(this.types,this._schema,this.intl))}buildInitialFormValues(){if(this.isDiscussionType)return this.buildInitialDiscussionFormValues()}buildInitialDiscussionFormValues(){var e,t;let s=((t=(e=this.subscriptions)===null||e===void 0?void 0:e[0])===null||t===void 0?void 0:t.cadence)||this.cadence,i={};return this.subscriptions.flatMap(n=>{var a;return(a=n.catalog)===null||a===void 0?void 0:a.collections}).flatMap(n=>{var a;return(a=n.scope)===null||a===void 0?void 0:a.filters}).flatMap(n=>n.predicates).forEach(n=>{var a,c;let l=((a=n.status)===null||a===void 0?void 0:a[0])==="approved"?"newPosts":"pendingPosts";(c=n.channel)===null||c===void 0||c.forEach(d=>{let u=i[d]||(i[d]=[]);u.includes(l)||u.push(l)})}),{cadence:s,channelActivitySelections:i}}async refreshSubscriptions(){var e,t,s;try{this.subscriptions=await xe(Object.assign({data:{entityId:((e=this.entity)===null||e===void 0?void 0:e.id)||this.entityId,userId:(s=(t=this._context)===null||t===void 0?void 0:t.currentUser)===null||s===void 0?void 0:s.username}},this._context.hubRequestOptions)),this._values=this.buildInitialFormValues(),this.isModalOpen&&(this._draftValues=G(this._values))}catch(i){console.error("Failed to refresh subscriptions after save",i)}}get isSubscribeDisabled(){var e;return!((e=this._context)===null||e===void 0)&&e.currentUser?this.isDiscussionType?!(Ve("hub:feature:discussions:subscription",this._context).access&&this.hasSubscribableChannels):!1:!this.promptToSignIn}get subscribeButtonTooltip(){let e="";return this.types.includes(ie.DISCUSSION)&&(e=this.intl.t("subscribeButtonTooltip.discussion")),this.isSubscribeDisabled?e:""}renderSubscribeAllButton(){let e=this.anyChannelSelected()?"unsubscribeFromAll":"subscribeToAll";return r("calcite-button",{appearance:"outline",kind:"brand",label:this.intl.t(e),onClick:this.handleSubscribeAllClick,round:!0,scale:"m",type:"button"},this.intl.t(e))}get subscribeButtonLabel(){let e=this.hasActiveSubscription?"manageSubscription":"subscribe";return this.intl.t(e)}get hasActiveSubscription(){var e,t,s;return Array.isArray((s=(t=(e=this.subscriptions)===null||e===void 0?void 0:e[0])===null||t===void 0?void 0:t.catalog)===null||s===void 0?void 0:s.collections)&&this.subscriptions[0].catalog.collections.length>0}renderSubscribeButton(){var e,t,s,i,o,n;return this.isLoading?r("arcgis-skeleton-loader",{active:!0,rows:1}):r("arcgis-ref-tooltip",{placement:"top",text:this.subscribeButtonTooltip},r("calcite-button",{appearance:((e=this.subscribeButtonProps)===null||e===void 0?void 0:e.appearance)||"outline",disabled:this.isSubscribeDisabled,"icon-start":((t=this.subscribeButtonProps)===null||t===void 0?void 0:t.iconStart)||"bell",kind:((s=this.subscribeButtonProps)===null||s===void 0?void 0:s.kind)||"brand",label:this.subscribeButtonLabel,onClick:this.handleSubscribeClick,round:((i=this.subscribeButtonProps)===null||i===void 0?void 0:i.round)!==!1,scale:((o=this.subscribeButtonProps)===null||o===void 0?void 0:o.scale)||"m",width:((n=this.subscribeButtonProps)===null||n===void 0?void 0:n.width)||"auto"},this.subscribeButtonLabel))}anyChannelSelected(){var e;let t=((e=this._draftValues)===null||e===void 0?void 0:e.channelActivitySelections)||{};return Object.values(t).some(s=>Array.isArray(s)&&s.length>0)}render(){return r("div",{key:"4e58f9882aac2c40af6dda52f7842b5f2eddf36b"},this.renderSubscribeButton(),this.renderModal())}static get assetsDirs(){return["locales"]}get element(){return F(this)}};ss.style=ts;var is=":host{display:block}ol{margin:0px;display:grid;padding:0px;gap:var(--arcgis-hub-layout-list-gap, 1rem)}.map{grid-template-columns:1fr}.list{grid-template-columns:1fr}.grid{grid-template-columns:repeat(auto-fill, minmax(var(--arcgis-hub-layout-list-min-column-width, 20rem), 1fr))}.actions{display:grid;align-items:center;gap:var(--arcgis-hub-layout-list-actions-gap, 0.25rem);grid-template-columns:1fr;grid-template-rows:1fr;margin-bottom:var(--arcgis-hub-layout-list-actions-margin, 1rem)}.actions:has(.layout-actions){grid-template-columns:auto max-content}.actions:not(.hasActions){display:none}:host(.rtl) .layout-actions calcite-action{transform:scaleX(-1)}",ns=is,os=function(e,t,s,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,s):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(n=(o<3?a(n):o>3?a(t,s,n):a(t,s))||n);return o>3&&n&&Object.defineProperty(t,s,n),n},Rt=class{constructor(e){N(this,e),this.arcgisLayoutListLayoutSelected=v(this,"arcgisLayoutListLayoutSelected",7),this.layout="list",this.disabled=!1,this.showMapControl=void 0,this.scale="s",this.listStyleDeclaration=void 0,this.hasSlottedActions=!1,$(this,"handleResized","handleLayoutSelected","handleSlotChanged")}connectedCallback(){Se.addHandler(this.element,this.handleResized)}async componentWillLoad(){await this.loadTranslations()}disconnectedCallback(){Se.unobserve(this.element)}async loadTranslations(){this.intl=await j.loadIntlForComponent(this.element)}handleResized(){this.listRef&&(this.listStyleDeclaration=globalThis.getComputedStyle(this.listRef))}get showActions(){return this.hasLayoutActions||this.hasSlottedActions}handleSlotChanged(){this.hasSlottedActions=!!this.element.querySelector('[slot="actions"]')}get hasLayoutActions(){let{listStyleDeclaration:e}=this,t=!1;if(e){let s=parseInt(e.getPropertyValue("gap"),10),i=e.getPropertyValue("grid-template-columns").split(" "),o=parseFloat(i[0]),n=e.getPropertyValue("--arcgis-hub-layout-list-min-column-width"),a=parseFloat(n)*(n.endsWith("rem")?16:1);t=i.length>1||a*2+s<o}return!!t}handleLayoutSelected(e){this.layout=e.target.icon,this.arcgisLayoutListLayoutSelected.emit(this.layout)}renderList(){return r("ol",{class:{[this.layout]:!0},ref:e=>{this.listRef=e}},r("slot",null))}renderLayoutActions(){let{hasLayoutActions:e,showMapControl:t}=this;if(e||t){let{layout:s,intl:i,disabled:o,handleLayoutSelected:n,scale:a}=this,c=[...t?["map"]:[],...e?["grid"]:[],"list"],l=d=>{let u=d===s;return!e&&s=="grid"&&d==="list"&&(u=!0),u};return r("div",{class:"layout-actions"},r("calcite-action-bar",{"expand-disabled":!0,layout:"horizontal"},c.map(d=>r("calcite-action",{active:l(d),disabled:o,icon:d,key:d,label:i.t(`${d}.label`),onClick:n,scale:a,text:i.t(`${d}.text`)}))))}}renderActions(){return r("div",{class:{actions:!0,hasActions:this.showActions}},r("div",null,r("slot",{name:"actions",onSlotchange:this.handleSlotChanged})),this.renderLayoutActions())}render(){return r(q,{key:"ade95b56903314f8878d97f2aba7ef6ddc48d6aa",class:{rtl:this.intl.direction==="rtl"}},this.renderActions(),this.renderList())}static get assetsDirs(){return["locales"]}get element(){return F(this)}};os([Me({timeout:250})],Rt.prototype,"handleResized",null);Rt.style=ns;var as=":host{display:block}",rs=as,cs=class{constructor(e){N(this,e),this.arcgisLoadMoreChange=v(this,"arcgisLoadMoreChange",7),this.nextStart=void 0,this.color="neutral",this.appearance="transparent",this.scale="l",this.width="full",this.round=!0,this.loading=!1,$(this,"handleLoadMore")}get hasMoreResults(){let{nextStart:e}=this;return e!==-1}get disabled(){let{loading:e,hasMoreResults:t}=this;return e||!t}async componentWillLoad(){this.intl=await j.loadIntlForComponent(this.el)}handleLoadMore(){let{nextStart:e}=this;this.arcgisLoadMoreChange.emit(e)}render(){let{loading:e,handleLoadMore:t,round:s,scale:i,width:o,intl:n,hasMoreResults:a,disabled:c,color:l,appearance:d}=this,u=n.t("loadMore");return r(q,{key:"09e58def9e5b3f0c226dda2e9ba47a08cdf829ce"},a&&r("calcite-button",{appearance:d,disabled:c||e,kind:yt(l),label:u,loading:e,onClick:t,round:s,scale:i,width:o},u))}static get assetsDirs(){return["locales"]}get el(){return F(this)}};cs.style=rs;return{arcgis_hub_discussions_post:W,arcgis_hub_discussions_post_chips:Mt,arcgis_hub_discussions_post_editor:te,arcgis_hub_discussions_post_list:Ot,arcgis_hub_discussions_post_reactions:It,arcgis_hub_subscription:ss,arcgis_layout_list:Rt,arcgis_load_more_button:cs}},"config",a,b)
|
package/dist/cdn/EXIQRU4W.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
-
v0.29.2 */
|
|
4
|
-
import{c as e}from"./VK7QXZ2D.js";function m(r,c,s=5){let a=(n,o)=>{let h=i=>{let u=o.map(t=>c(t));return Promise.all(u).then(t=>i.concat(t))};return n.then(h)};return e(r,s).reduce(a,Promise.resolve([]))}export{m as a};
|
package/dist/cdn/EYGUUZ2D.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
-
v0.29.2 */
|
|
4
|
-
var c=(e,t="v")=>{if(!e)return e;let n=e.indexOf("?")>-1?"&":"?";return e+=`${n}${t}=${new Date().getTime()}`,e};export{c as a};
|
package/dist/cdn/EZHMDLM7.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
-
v0.29.2 */
|
|
4
|
-
import"./T3ZSUD66.js";var e="Det oppsto en feil under innlasting av diagrammet.",a="Loggtransformasjon kan ikke brukes p\xE5 negative verdier eller nullverdier.",t="Kvadratrottransformasjon kan ikke brukes p\xE5 negative verdier.",r="Det oppsto en feil under innlasting av laget. URL = ${ url }. Portalelement-ID = ${ portalItemId }.",n="Feltene [${ fieldNames }] som er definert i konfigurasjonen, ble ikke funnet i laget.",i="${ dataPath } m\xE5 v\xE6re unik. Serien med navnet ${ seriesName } har en ID (${ seriesID }) som allerede brukes av en annen serie.",s="${ dataPath } kan ikke utf\xF8re aggregering av annet enn antall p\xE5 ikke-numeriske felt.",l="${ dataPath } mangler en egenskap ved navn ${ missingProperty }.",o="${ dataPath } m\xE5 ikke v\xE6re kortere enn ${ limit } tegn.",d="${ dataPath } kan ikke inneholde f\xE6rre enn ${ limit } elementer.",m="${ limit } kan ikke inneholde flere enn ${ dataPath } elementer.",u="${ dataPath } m\xE5 inneholde minst ett tegn som ikke er mellomrom.",k="${ dataPath } kan ikke ha ${ additionalProperty }.",g="${ dataPath } m\xE5 v\xE6re lik \xE9n av f\xF8lgende tillatte verdier: ${ allowedValues }.",p="${ dataPath } m\xE5 samsvare med skjemaet for \xE9n av f\xF8lgende: ${ schemaOptions }.",v="Punktdiagrammer med proporsjonale symboler st\xF8ttes ikke. Standard symbolst\xF8rrelse er brukt.",$="Kan ikke lese inndata.",f="Operasjonen queryBins st\xF8ttes ikke p\xE5 denne tjenesten.",y="Forventet serietype ved indeks ${ seriesIndex } er ${ expectedType }, men ${ receivedType } ble mottatt i stedet",h="eller",P={defaultError:e,negativeValueInDataForLogTransformation:a,negativeValueInDataForSqrtTransformation:t,layerLoadFailure:r,layerFieldsNotFound:n,duplicateSeriesID:i,nonNumericAggregation:s,requiredProperty:l,minLength:o,minItems:d,maxItems:m,whiteSpacePattern:u,additionalProperty:k,enumValues:g,anyOfValues:p,bubbleChartValidateMsg:v,queryError:$,queryBinsNotSupported:f,invalidSeriesType:y,or:h};export{k as additionalProperty,p as anyOfValues,v as bubbleChartValidateMsg,P as default,e as defaultError,i as duplicateSeriesID,g as enumValues,y as invalidSeriesType,n as layerFieldsNotFound,r as layerLoadFailure,m as maxItems,d as minItems,o as minLength,a as negativeValueInDataForLogTransformation,t as negativeValueInDataForSqrtTransformation,s as nonNumericAggregation,h as or,f as queryBinsNotSupported,$ as queryError,l as requiredProperty,u as whiteSpacePattern};
|
package/dist/cdn/F3HOQRNV.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
-
v0.29.2 */
|
|
4
|
-
import{a as n}from"./MEYNUPSB.js";import{a as p}from"./SF227R4N.js";import{a as c}from"./5UPIYGMG.js";var u=["location","type","tags","categories","modified","access"],g=["group-role","group-type","group-access"],f=["event-from","event-access","event-date"],b=["location","modified","post-groups","post-status"],P=[...new Set([...u,...g,...f,...b])],d={type:y,tags:E,categories:T,modified:m,access:v,location:k,"group-type":_,"group-role":F,"group-access":O,"event-from":x,"event-access":L,"event-date":h,"post-status":W,"post-groups":R};function S(t,e,a,o){return t.reduce((i,r)=>{if(typeof r=="string"&&r in d){let l=d[r](e,a,o);l&&i.push(l)}else r&&i.push(r);return i},[])}function U(t,e){return t.filter(a=>!a.validTargetEntities||a.validTargetEntities.includes(e))}function s(t){let e=[];return u.includes(t)&&e.push("item"),g.includes(t)&&e.push("group"),f.includes(t)&&e.push("event"),b.includes(t)&&e.push("post"),e}function y(t,e){return{label:e.t("facets.type.label"),key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100,validTargetEntities:s("type")}}function v(t,e){return{label:e.t("facets.access.label"),key:"access",display:"multi-select",field:"access",options:[],operation:"OR",validTargetEntities:s("access")}}function m(t,e){return{label:e.t("facets.dateUpdated.label"),key:"modified",display:"date-range",field:"modified",state:"open",max:new Date().toString(),validTargetEntities:s("modified")}}function E(t,e){return{label:e.t("facets.tags.label"),key:"tags",display:"multi-select",field:"tags",options:[],operation:"OR",aggLimit:15,validTargetEntities:s("tags")}}function k(t,e,a){return{label:e.t("facets.location.label"),key:"bbox",display:"map",field:"bbox",value:null,extent:a?.facetExtent||n([[-180,-90],[180,90]]),tooltip:e.t("facets.location.tooltip"),validTargetEntities:s("location")}}function T(t,e){return{label:e.t("facets.categories.label"),key:"categories",display:"tree",field:"categories",operation:"OR",aggLimit:100,options:[],validTargetEntities:s("categories")}}function _(t,e){return{label:e.t("facets.group.type.label"),key:"group-type",display:"single-select",operation:"OR",options:[{label:e.t("facets.group.type.all"),key:"all",selected:!0,predicates:[]},{label:e.t("facets.group.type.view"),key:"view",selected:!1,predicates:[{capabilities:{not:["updateitemcontrol"]}}]},{label:e.t("facets.group.type.edit"),key:"edit",selected:!1,predicates:[{capabilities:"updateitemcontrol"}]}],validTargetEntities:s("group-type")}}function F(t,e){let a=p(t,"currentUser.groups",[]).reduce((o,i)=>(i.userMembership.memberType==="admin"&&o.push(i.id),o),[]);return{label:e.t("facets.group.role.label"),key:"group-role",display:"single-select",operation:"OR",options:[{label:e.t("facets.group.role.all"),key:"all",selected:!0,predicates:[{searchUserAccess:"groupMember"}]},{label:e.t("facets.group.role.member"),key:"member",selected:!1,predicates:[{searchUserAccess:"groupMember",owner:{not:c(t,"session.username")}}]},{label:e.t("facets.group.role.manager"),key:"manager",selected:!1,predicates:[{id:a.slice(0,140)}]},{label:e.t("facets.group.role.owner"),key:"owner",selected:!1,predicates:[{owner:c(t,"session.username")}]}],validTargetEntities:s("group-role")}}function O(t,e){return{label:e.t("facets.group.sharing.label"),key:"group-access",display:"multi-select",operation:"OR",options:[{label:e.t("facets.group.sharing.private"),key:"private",selected:!1,predicates:[{access:["private","org"]}]},{label:e.t("facets.group.sharing.public"),key:"public",selected:!1,predicates:[{access:"public"}]}],validTargetEntities:s("group-access")}}function h(t,e){return{label:e.t("facets.event.startDate.label"),key:"event-date",display:"date-range",field:"startDateRange",state:"open",validTargetEntities:s("event-date")}}function x(t,e){return{label:e.t("facets.event.from.label"),key:"event-from",display:"single-select",operation:"OR",options:[{label:e.t("facets.event.from.myContent"),key:"myContent",selected:!0,predicates:[{owner:c(t,"currentUser.id")}]},{label:e.t("facets.event.from.myOrganization"),key:"myOrganization",selected:!1,predicates:[{orgId:c(t,"currentUser.orgId")}]},{label:e.t("facets.event.from.world"),key:"world",selected:!1,predicates:[]}],validTargetEntities:s("event-from")}}function L(t,e){return{label:e.t("facets.event.access.label"),key:"event-access",display:"multi-select",operation:"OR",options:[{label:e.t("facets.event.access.private"),key:"private",selected:!1,predicates:[{access:"private"}]},{label:e.t("facets.event.access.org"),key:"org",selected:!1,predicates:[{access:"org"}]},{label:e.t("facets.event.access.public"),key:"public",selected:!1,predicates:[{access:"public"}]}],validTargetEntities:s("event-access")}}function R(t,e){var a,o;let i=r=>({label:r.title,key:r.id,selected:!1,predicates:[{groups:r.id}]});return{label:e.t("facets.groups.label"),key:"groups",display:"multi-select",operation:"OR",options:!((o=(a=t.currentUser)===null||a===void 0?void 0:a.groups)===null||o===void 0)&&o.length?t.currentUser.groups.map(i):[],validTargetEntities:s("post-groups")}}function W(t,e){return{label:e.t("facets.post.status.label"),key:"status",display:"single-select",operation:"OR",options:[{label:e.t("facets.post.status.approved"),key:"approved",selected:!0,predicates:[{status:"approved"}]},{label:e.t("facets.post.status.hidden"),key:"hidden",selected:!1,predicates:[{status:"hidden"}]},{label:e.t("facets.post.status.blocked"),key:"blocked",selected:!1,predicates:[{status:"blocked"}]}],validTargetEntities:s("post-status")}}export{u as a,f as b,P as c,S as d,U as e,k as f};
|
package/dist/cdn/F5C6YQUT.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
-
v0.29.2 */
|
|
4
|
-
import{a as f}from"./ENYTKSZ7.js";import{b as m}from"./46ZNPINI.js";import{b as c}from"./4XUOPGPM.js";import{a as y}from"./BDVX6IX7.js";import"./KTE4NDWM.js";import"./QLHOWH7V.js";import"./K35SA6IJ.js";import"./TLJ7XYWN.js";import"./BZGRJKHA.js";import"./MHVKJKZ2.js";import"./IKCQD4YX.js";import{da as u}from"./75GQ7IOO.js";import"./Z4CG63KR.js";import"./EXIQRU4W.js";import"./TWUJQQMS.js";import"./YHK2WVST.js";import"./PIIZEAQR.js";import"./VK7QXZ2D.js";import"./3SQ74LS3.js";import"./VH7PYS6R.js";import"./ODRNVCZG.js";import"./SLMPCBTA.js";import"./MI4K3XTX.js";import"./W243ZMJL.js";import"./YBB5QY76.js";import"./VXRE2ZJA.js";import"./PFOFIFV5.js";import"./ZNBE7LQE.js";import"./FJCF3OL5.js";import"./GND6SCBE.js";import"./ZDNSPJD6.js";import"./7LJNGZMB.js";import"./KBN4F3Y7.js";import"./MXVCBTGF.js";import"./LHMAHTUT.js";import"./IPXQF75F.js";import"./3PDUKBJT.js";import"./PAWQJVZS.js";import"./47ES55RB.js";import"./M6JW6LVR.js";import"./3NH75RF6.js";import"./Y5YOWTYB.js";import"./HDKOA4UO.js";import"./FOK5WBGO.js";import"./K7573CL6.js";import"./UMP3YCKY.js";import"./VWOSXDSB.js";import"./5C2KD445.js";import"./QXN74ILP.js";import"./MEYNUPSB.js";import"./ZFEZTFJB.js";import"./BVS7E5HG.js";import"./PDERGEOU.js";import"./IGZDRB2Z.js";import"./TXQ6XVGH.js";import"./2XJIKGRC.js";import"./YOYVMUA4.js";import{c as E}from"./O5MN24NE.js";import"./VFCERDY5.js";import{a as p}from"./JWHVW5QH.js";import"./QZDU7FF5.js";import"./RIRN5SFS.js";import"./VHHOVZAG.js";import"./BHHRGRFI.js";import"./D752SJ36.js";import"./7Q3YRT3Q.js";import"./T3AXKAF2.js";import"./SF227R4N.js";import"./BTRSNMFS.js";import"./MIPOQZAE.js";import{a as k}from"./DSGD4JYX.js";import"./RD56WB6R.js";import"./PWCVZIGU.js";import"./R3QOP4G4.js";import"./C4AD3GJ6.js";import{b as r,c as b,d as g,e as _,h as v,i as L}from"./R2IJ5SOO.js";import"./QHBV5XF3.js";import{a as d,g as h}from"./MSVINGTN.js";import"./5UPIYGMG.js";import"./FAVVVVRX.js";import"./T3ZSUD66.js";export default $arcgis.t(([])=>{var K={type:"object",required:["label"],properties:{source:{type:"string",default:"external",enum:["external","content"]},label:{type:"string"},description:{type:"string"},href:{type:"string"},contentId:{type:"array",maxItems:1,items:{type:"string"}},section:{type:"string"}},allOf:[{if:{properties:{source:{const:"external"},href:{minLength:1}}},then:{properties:{href:{format:"url"}}}},{if:{required:["source"],properties:{source:{const:"external"}}},then:{required:["href"]}},{if:{required:["source"],properties:{source:{const:"content"}}},then:{required:["contentId"],properties:{contentId:{not:{const:[]}}}}}]},S=i=>{let e=[],t=i.type==="block"?"block":`button${i.links.findIndex(n=>n.key===i.editKey)+1}`;return i.type==="block"&&(e=A(i.links)),{type:"Layout",elements:[{type:"Section",labelKey:`linkEditor.title.${t}`,options:{section:"card",actions:[{action:"delete",slot:"footer-start",label:"Delete",kind:"danger",appearance:"transparent",round:!0},{action:"cancel",slot:"footer-end",label:"Cancel",appearance:"transparent",kind:"neutral",round:!0},{action:"save",slot:"footer-end",label:"Save",round:!0,disableWhenInvalid:!0}]},elements:[{scope:"/properties/source",type:"Control",options:{control:"hub-field-input-radio",labels:["{{linkEditor.link.source.external.label:translate}}","{{linkEditor.link.source.content.label:translate}}"]}},{scope:"/properties/label",labelKey:"linkEditor.link.label.label",type:"Control",options:{helperText:{labelKey:`linkEditor.link.label.helperText.${i.type}`},messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"linkEditor.link.label.requiredError"}]}},...i.type==="block"?[{scope:"/properties/description",labelKey:"linkEditor.link.description.label",type:"Control",options:{helperText:{labelKey:"linkEditor.link.description.helperText"}}}]:[],{scope:"/properties/href",labelKey:"linkEditor.link.href.label",type:"Control",rule:{effect:p.HIDE,condition:{scope:"/properties/source",schema:{const:"content"}}},options:{messages:[{type:"ERROR",keyword:"minLength",icon:!0,labelKey:"linkEditor.link.href.requiredError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:"linkEditor.link.href.formatError"},{type:"ERROR",keyword:"if",hidden:!0}]}},{scope:"/properties/contentId",labelKey:"linkEditor.link.contentId.label",type:"Control",rule:{effect:p.HIDE,condition:{scope:"/properties/source",schema:{const:"external"}}},options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:i.catalogs,facets:i.facets,messages:[{type:"ERROR",keyword:"not",icon:!0,labelKey:"linkEditor.link.contentId.requiredError"}],showAllCollectionFacet:!0}},...i.type==="block"?[{scope:"/properties/section",labelKey:"linkEditor.link.section.label",type:"Control",options:{control:"hub-field-input-combobox",items:e,selectionMode:"single",disabled:!e.length,placeholder:e.length?"{{linkEditor.link.section.placeholder.notSet:translate}}":"{{linkEditor.link.section.placeholder.noSections:translate}}"}}]:[]]}]}},A=i=>i.reduce((e,t)=>(t.kind==="section"&&e.push({value:t.key,label:t.label}),e),[]),I={type:"object",required:["label"],properties:{label:{type:"string"},description:{type:"string"}}},x={type:"layout",elements:[{type:"Section",labelKey:"sectionEditor.title",options:{section:"card",actions:[{action:"delete",slot:"footer-start",label:"Delete",kind:"danger",appearance:"outline",round:!0},{action:"cancel",slot:"footer-end",label:"Cancel",appearance:"outline",round:!0},{action:"save",slot:"footer-end",label:"Save",round:!0,disableWhenInvalid:!0}]},elements:[{scope:"/properties/label",labelKey:"sectionEditor.section.label.label",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"sectionEditor.section.label.requiredError"}]}},{scope:"/properties/description",labelKey:"sectionEditor.section.description.label",type:"Control"},{type:"Slot",options:{name:"delete-warning"}}]}]};function O(i,e){let t=i[e]||[];return t.length?{targetEntity:e,filters:[{operation:"OR",predicates:[{id:t}]}]}:null}var R='hub-composite-input-action-links>calcite-sortable-list{margin-top:1.5rem}[slot="actions-end"]{display:flex}calcite-link calcite-action{height:100%}calcite-link.content-link{display:block}.action-links__add calcite-button:not(:first-child){margin-left:0.5rem}.action-links__section calcite-sortable-list{margin-left:1.5rem}',w=R,F=function(i,e,t,n){var o=arguments.length,s=o<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(i,e,t,n);else for(var a=i.length-1;a>=0;a--)(l=i[a])&&(s=(o<3?l(s):o>3?l(e,t,s):l(e,t))||s);return o>3&&s&&Object.defineProperty(e,t,s),s},C=class{constructor(i){L(this,i),this.arcgisCompositeActionLinksFieldChange=_(this,"arcgisCompositeActionLinksFieldChange",7),this._linkSchema=d(K),this._sectionSchema=d(I),this._sectionUiSchema=d(x),this.findLinkByKey=(e,t=this._links)=>m(t,o=>o?.key===e),this.translationFunc=(e,t,n)=>this.intl.t(e,t,n),this.resetUnsavedChanges=()=>{this._unsavedChanges=[...this._links],this._editKey=void 0,this._showDeleteWarning=!1},this.setInternalLinkHref=async e=>{var t,n,o;if(e._href="",e.contentId){let s=O({item:e?.contentId},"item"),l={requestOptions:(t=this._context)===null||t===void 0?void 0:t.hubRequestOptions},a=await u(s,l);a?.results.length&&(!((n=a.results[0].links)===null||n===void 0)&&n.siteRelative)&&(e._href=(o=a.results[0].links)===null||o===void 0?void 0:o.siteRelative)}return e},this.handleAddLink=e=>{let t=e.currentTarget.getAttribute("data-type")==="section";this.resetUnsavedChanges();let n=h("link"),o=t?{key:n,kind:"section",label:void 0,description:void 0,children:[]}:{key:n,kind:"external",source:"external",href:void 0,icon:void 0,label:void 0,description:void 0};this._links=[...this._links,o],this._unsavedChanges=this._links,this._editKey=n},this.handleEditLink=e=>{let t=this._editKey,n=e.currentTarget.getAttribute("data-key");t===n?this.resetUnsavedChanges():this._editKey=n},this.handleDeleteLink=()=>{var e;let t=this.findLinkByKey(this._editKey);t.kind==="section"&&(!((e=t.children)===null||e===void 0)&&e.length)?this._showDeleteWarning=!0:(this._links=c(this._links,n=>n?.key!==this._editKey),this.resetUnsavedChanges(),this.arcgisCompositeActionLinksFieldChange.emit(this.transformLinksToEmit(this._links)))},this.handleSaveLink=()=>{let e=this.findLinkByKey(this._editKey),t=this.findLinkByKey(this._editKey,this._unsavedChanges);if(this._links=[...this._unsavedChanges],e.section!==t.section){this._links=c(this._links,o=>o?.key!==this._editKey);let n=this.findLinkByKey(t.section);n?n.children.push(t):this._links.push(t)}this.resetUnsavedChanges(),this.arcgisCompositeActionLinksFieldChange.emit(this.transformLinksToEmit(this._links))},this.handleLinkEditorChange=e=>{let t=e.currentTarget.getAttribute("data-key"),n=d(this._unsavedChanges),o=this.findLinkByKey(t,n);Object.entries(e.detail.values).forEach(([s,l])=>{o[s]=l,s==="source"&&(o.kind=l,l==="external"?delete o.contentId:l==="content"&&delete o.href),o.kind==="content"&&s==="contentId"&&this.setInternalLinkHref(o)}),this._unsavedChanges=n},this.handleCancelLink=()=>{!this.findLinkByKey(this._editKey).label&&(this._links=c(this._links,n=>n?.key!==this._editKey)),this.resetUnsavedChanges()},this.handleLinkEditorAction=e=>{let{action:t}=e.detail;t==="save"?this.handleSaveLink():t==="delete"?this.handleDeleteLink():t==="cancel"&&this.handleCancelLink()},this.handleLinkOrderChange=e=>{var t;let n=((t=e.target)===null||t===void 0?void 0:t.children)||[],o=Array.from(n).map(l=>l.getAttribute("data-key")),s=[...this._links];s.sort(function(l,a){return o.indexOf(l.key)-o.indexOf(a.key)}),this._links=s,this.arcgisCompositeActionLinksFieldChange.emit(this.transformLinksToEmit(this._links))},this.links=[],this.catalogs=void 0,this.facets=void 0,this.type="block",this._links=void 0,this._editKey=void 0,this._showDeleteWarning=void 0}async componentWillLoad(){this.intl=await k.loadIntlForComponent(this.element),this._links=await this.transformLinksForEditor(this.links),this._unsavedChanges=this._links}get _context(){return E()}get _linkUiSchema(){return y(this.intl,S({catalogs:this.catalogs,facets:this.facets,type:this.type,links:this._links,editKey:this._editKey}))}async transformLinksForEditor(i,e){return Promise.all(i.map(async t=>{var n;let o=Object.assign(Object.assign({},t),{key:h("link")});return t.kind==="section"&&(!((n=t.children)===null||n===void 0)&&n.length)&&(o.children=await this.transformLinksForEditor(t.children,o)),t.kind==="content"&&t.contentId&&(o.contentId=[t.contentId],await this.setInternalLinkHref(o)),t.kind!=="section"&&(o.source=t.kind),e&&(o.section=e.key),o}))}transformLinksToEmit(i){return d(i).map(e=>{let t=Object.assign({},e);return e.kind==="section"&&(t.children=this.transformLinksToEmit(e.children)),delete t.source,delete t.key,delete t.section,e.kind==="content"&&e.contentId.length&&(t.contentId=e.contentId[0],delete t._href),t})}renderLinks(i=[]){return r("calcite-block-group",{"drag-enabled":!0,onCalciteBlockGroupOrderChange:this.handleLinkOrderChange},i.map(e=>e.kind==="section"?this.renderSection(e,i.length>1):this.renderLink(e,i.length>1)))}renderSection(i,e){return i.label?r("div",{class:"action-links__section","data-key":i.key},r("calcite-block",{description:i.description,"drag-handle":e,expanded:this._editKey===i.key,heading:i.label,key:i.key},i.icon&&r("div",{slot:"icon-start"},r("calcite-icon",{icon:i.icon})),r("div",{slot:"actions-end"},this.renderBlockActions(i.key)),this._editKey===i.key&&this.renderSectionEditor()),this.renderLinks(i.children)):this.renderSectionEditor()}renderLink(i,e){return i.label?r("calcite-block",{"data-key":i.key,description:i.description,"drag-handle":e,expanded:this._editKey===i.key,heading:i.label,key:i.key},i.icon&&r("div",{slot:"icon-start"},r("calcite-icon",{icon:i.icon})),r("div",{slot:"actions-end"},this.renderBlockActions(i.key)),this._editKey===i.key&&this.renderLinkEditor()):this.renderLinkEditor()}renderBlockActions(i){let e=this.findLinkByKey(i),t=e.kind==="external"?e.href:e._href;return r(v,null,r("calcite-action",{"data-key":e.key,icon:"pencil",onClick:this.handleEditLink,text:""}),e.kind==="section"?r("calcite-action",{disabled:!0,icon:"chevron-down",text:""}):r("calcite-link",{class:"content-link",href:t,rel:"noreferrer",target:"_blank"},r("calcite-action",{"data-key":e.key,icon:"launch",label:this.intl.t("linkEditor.preview"),text:""})))}renderSectionEditor(){let i=this.findLinkByKey(this._editKey);return i&&r("arcgis-configuration-editor",{"data-key":i.key,onArcgisConfigurationEditorChange:this.handleLinkEditorChange,onArcgisConfigurationEditorSectionAction:this.handleLinkEditorAction,schema:this._sectionSchema,t:this.translationFunc,uiSchema:this._sectionUiSchema,values:i},this._showDeleteWarning&&r("calcite-notice",{icon:"exclamation-mark-triangle",kind:"warning",open:!0,slot:"delete-warning"},r("div",{slot:"title"},this.intl.t("deleteNotice.title")),r("div",{slot:"message"},this.intl.t("deleteNotice.message"))))}renderLinkEditor(){let i=this.findLinkByKey(this._editKey);return i&&r("arcgis-configuration-editor",{"data-key":i.key,onArcgisConfigurationEditorChange:this.handleLinkEditorChange,onArcgisConfigurationEditorSectionAction:this.handleLinkEditorAction,schema:this._linkSchema,t:this.translationFunc,uiSchema:this._linkUiSchema,values:i})}renderAddButtons(){var i,e,t,n,o;return this.type==="block"?[r("calcite-button",{disabled:this._editKey,key:"primary",onClick:this.handleAddLink,round:!0},this.intl.t("addLink")),r("calcite-button",{appearance:"outline-fill","data-type":"section",disabled:this._editKey,key:"secondary",onClick:this.handleAddLink,round:!0},this.intl.t("addSection"))]:[r("calcite-button",{appearance:"outline-fill","data-key":(i=this._links[0])===null||i===void 0?void 0:i.key,key:"primary",kind:"neutral",onClick:this._links[0]?this.handleEditLink:this.handleAddLink,round:!0},!((e=this._links[0])===null||e===void 0)&&e.label?this._links[0].label:this.intl.t("addFirstAction")),!!(!((t=this._links[0])===null||t===void 0)&&t.label)&&r("calcite-button",{appearance:"outline-fill","data-key":(n=this._links[1])===null||n===void 0?void 0:n.key,key:"secondary",kind:"neutral",onClick:this._links[1]?this.handleEditLink:this.handleAddLink,round:!0},!((o=this._links[1])===null||o===void 0)&&o.label?this._links[1].label:this.intl.t("addSecondAction"))]}render(){return r(b,{key:"ac412ff57f8b61e0baabfc2979b0f88b2d1d62ed","data-element":"action-links-field"},r("div",{key:"e23cd65a3035bdbfd266b384e46fc98950815a47",class:"action-links__add"},this.renderAddButtons()),!!this._links.length&&this.renderLinks(this._links))}static get assetsDirs(){return["locales"]}get element(){return g(this)}};F([f("_links","_editKey")],C.prototype,"_linkUiSchema",null);C.style=w;return C},"config")
|
package/dist/cdn/F6EOD33T.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
-
v0.29.2 */
|
|
4
|
-
var u=(l,r,e,s)=>{var n;let{i18nScope:t}=((n=l?.options)===null||n===void 0?void 0:n.enum)||{},{fallback:i,path:a}=s||{},d=i;if(e&&t){let o=`${t}.${r}`;a&&(o=`${o}.${a}`),d=e(o,void 0,{fallback:i})}return d};export{u as a};
|
package/dist/cdn/F6RK3FF7.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.29/esri/copyright.txt for details.
|
|
3
|
-
v0.29.2 */
|
|
4
|
-
import"./T3ZSUD66.js";var t={chart:"\u30C1\u30E3\u30FC\u30C8",barChart:"\u30D0\u30FC \u30C1\u30E3\u30FC\u30C8",lineChart:"\u30E9\u30A4\u30F3 \u30C1\u30E3\u30FC\u30C8",pieChart:"\u30D1\u30A4 \u30C1\u30E3\u30FC\u30C8",histogram:"\u30D2\u30B9\u30C8\u30B0\u30E9\u30E0",scatterplot:"\u6563\u5E03\u56F3",boxPlot:"\u7BB1\u3072\u3052\u56F3"},a={mean:"\u5E73\u5747",median:"\u4E2D\u592E\u5024",sum:"\u5408\u8A08",discretePercentile:"\u4E0D\u9023\u7D9A\u30D1\u30FC\u30BB\u30F3\u30BF\u30A4\u30EB",minimum:"\u6700\u5C0F",maximum:"\u6700\u5927",variance:"\u5206\u6563",count:"\u500B\u6570",aggregation:"${ fieldName } \u306E ${ statistics }",noAggregation:"\u96C6\u7D04\u306A\u3057"},e="\u30C1\u30E3\u30FC\u30C8",i="\u30B7\u30EA\u30FC\u30BA\u6570",s="X \u8EF8",r="\u5229\u7528\u4E0D\u53EF",n={start:"\u6700\u521D\u306E\u30C7\u30FC\u30BF \u30DD\u30A4\u30F3\u30C8\u306B\u30B9\u30CA\u30C3\u30D7",end:"\u6700\u5F8C\u306E\u30C7\u30FC\u30BF \u30DD\u30A4\u30F3\u30C8\u306B\u30B9\u30CA\u30C3\u30D7"},o={chartType:t,statistics:a,defaultTitle:e,countSeries:i,xAxis:s,notAvailable:r,timeAggregationTypes:n};export{t as chartType,i as countSeries,o as default,e as defaultTitle,r as notAvailable,a as statistics,n as timeAggregationTypes,s as xAxis};
|