@esri/hub-web-components 0.8.1 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/24X5GQJN.js +6 -0
- package/dist/cdn/27WTJF7C.js +4 -0
- package/dist/cdn/2A6HMYGL.js +4 -0
- package/dist/cdn/2CS254EN.js +4 -0
- package/dist/cdn/2DHNTNEM.js +4 -0
- package/dist/cdn/2EM7LDQC.js +4 -0
- package/dist/cdn/2FURIAZM.js +4 -0
- package/dist/cdn/2GWZLEL6.js +4 -0
- package/dist/cdn/2HITSH66.js +4 -0
- package/dist/cdn/2HUM6HQ4.js +4 -0
- package/dist/cdn/2KPYLOZF.js +4 -0
- package/dist/cdn/2MGU4HB6.js +4 -0
- package/dist/cdn/2NUVJYFQ.js +4 -0
- package/dist/cdn/2PTKWPMW.js +4 -0
- package/dist/cdn/2QIXCITV.js +4 -0
- package/dist/cdn/2SFSEILV.js +4 -0
- package/dist/cdn/2SMHX6X6.js +4 -0
- package/dist/cdn/2TE3YXLZ.js +4 -0
- package/dist/cdn/2TF72XLQ.js +4 -0
- package/dist/cdn/2VGWD76O.js +4 -0
- package/dist/cdn/2W7LW536.js +4 -0
- package/dist/cdn/2YGE3RON.js +4 -0
- package/dist/cdn/2YOWYYOZ.js +4 -0
- package/dist/cdn/2YWSHRVI.js +4 -0
- package/dist/cdn/2YZIHZOW.js +4 -0
- package/dist/cdn/2Z5IVMKX.js +4 -0
- package/dist/cdn/2ZD7BKNX.js +4 -0
- package/dist/cdn/346B3A3F.js +4 -0
- package/dist/cdn/34LGBRCN.js +4 -0
- package/dist/cdn/37E2TRQ5.js +4 -0
- package/dist/cdn/3BU35JCH.js +4 -0
- package/dist/cdn/3CZ76UY4.js +4 -0
- package/dist/cdn/3DWKTJ4G.js +4 -0
- package/dist/cdn/3HC6I4ZC.js +4 -0
- package/dist/cdn/3JFIEMMD.js +4 -0
- package/dist/cdn/3JS5DPUQ.js +4 -0
- package/dist/cdn/3LBR3ZBF.js +4 -0
- package/dist/cdn/3PBYTP2V.js +4 -0
- package/dist/cdn/3VETQUDC.js +4 -0
- package/dist/cdn/3VR5WFZX.js +4 -0
- package/dist/cdn/3XW6Q2VC.js +4 -0
- package/dist/cdn/3YA27ZDO.js +4 -0
- package/dist/cdn/3YGY4Y2I.js +4 -0
- package/dist/cdn/44GLKOVL.js +4 -0
- package/dist/cdn/44QS4BK5.js +4 -0
- package/dist/cdn/44TCM7DY.js +4 -0
- package/dist/cdn/46NMI34M.js +4 -0
- package/dist/cdn/46ODILZN.js +4 -0
- package/dist/cdn/47O3WLZ2.js +4 -0
- package/dist/cdn/47T4D5D6.js +4 -0
- package/dist/cdn/4AYDJI5H.js +4 -0
- package/dist/cdn/4B6Q3VOJ.js +4 -0
- package/dist/cdn/4FM6MMP6.js +4 -0
- package/dist/cdn/4FQUHP62.js +4 -0
- package/dist/cdn/4IRXXMGE.js +4 -0
- package/dist/cdn/4JTLSY3F.js +4 -0
- package/dist/cdn/4K6MUGCI.js +4 -0
- package/dist/cdn/4KTGWC7V.js +4 -0
- package/dist/cdn/4LCFAZ72.js +4 -0
- package/dist/cdn/4LKZ27T7.js +4 -0
- package/dist/cdn/4LYJA5OT.js +4 -0
- package/dist/cdn/4PD6DO3S.js +4 -0
- package/dist/cdn/4PGSKDR6.js +4 -0
- package/dist/cdn/4TJUZQB7.js +4 -0
- package/dist/cdn/4VLERXJO.js +4 -0
- package/dist/cdn/4VMAOLA7.js +11 -0
- package/dist/cdn/4VPG7GS4.js +4 -0
- package/dist/cdn/4ZJTO26Q.js +4 -0
- package/dist/cdn/4ZPNMKCL.js +4 -0
- package/dist/cdn/542XXVIL.js +4 -0
- package/dist/cdn/54P6XENW.js +4 -0
- package/dist/cdn/55L5NGSV.js +4 -0
- package/dist/cdn/5CAPR6MD.js +4 -0
- package/dist/cdn/5ECQ3LOG.js +4 -0
- package/dist/cdn/5EO36FQF.js +4 -0
- package/dist/cdn/5GNFXCUA.js +4 -0
- package/dist/cdn/5JJSBYX2.js +4 -0
- package/dist/cdn/5NARHNTB.js +4 -0
- package/dist/cdn/5OKXBLVA.js +4 -0
- package/dist/cdn/5RV3GUIL.js +4 -0
- package/dist/cdn/5TSXB366.js +4 -0
- package/dist/cdn/5TTMCEBB.js +4 -0
- package/dist/cdn/5VC2IVMM.js +4 -0
- package/dist/cdn/5XCW6ZFB.js +4 -0
- package/dist/cdn/5YWVNPX3.js +4 -0
- package/dist/cdn/5YZ2EJCU.js +4 -0
- package/dist/cdn/5ZDYOH6L.js +4 -0
- package/dist/cdn/63DYTS4J.js +4 -0
- package/dist/cdn/652XF5RJ.js +4 -0
- package/dist/cdn/6AXIZ3OD.js +4 -0
- package/dist/cdn/6C4UDN75.js +4 -0
- package/dist/cdn/6EHRRBGL.js +4 -0
- package/dist/cdn/6FZRRPJH.js +6 -0
- package/dist/cdn/6K5KH2GZ.js +4 -0
- package/dist/cdn/6L3WQZPX.js +4 -0
- package/dist/cdn/6MBIQKCA.js +4 -0
- package/dist/cdn/6MMRZPQO.js +4 -0
- package/dist/cdn/6NCCTI3B.js +4 -0
- package/dist/cdn/6NVMYCI6.js +5 -0
- package/dist/cdn/6RNOVEUV.js +4 -0
- package/dist/cdn/6RTAUWUB.js +4 -0
- package/dist/cdn/6SFXQNRU.js +4 -0
- package/dist/cdn/6UN5DWLS.js +4 -0
- package/dist/cdn/6UYMJTGI.js +4 -0
- package/dist/cdn/6V6DERUR.js +4 -0
- package/dist/cdn/6W6PLLK2.js +4 -0
- package/dist/cdn/6WIM7QEI.js +4 -0
- package/dist/cdn/6XVLUH47.js +4 -0
- package/dist/cdn/6YMN5EP5.js +4 -0
- package/dist/cdn/736E23AT.js +4 -0
- package/dist/cdn/74IYRJ4P.js +4 -0
- package/dist/cdn/74W6MCMZ.js +4 -0
- package/dist/cdn/75OL3K56.js +4 -0
- package/dist/cdn/7BXV73GE.js +4 -0
- package/dist/cdn/7E4MRJ52.js +4 -0
- package/dist/cdn/7HAB6CPJ.js +4 -0
- package/dist/cdn/7N4RGR4K.js +4 -0
- package/dist/cdn/7NNQ34H2.js +4 -0
- package/dist/cdn/7O63F62D.js +4 -0
- package/dist/cdn/7P27C3TF.js +4 -0
- package/dist/cdn/7PJLBVG2.js +4 -0
- package/dist/cdn/7T5YBGM5.js +4 -0
- package/dist/cdn/7TYPUFT3.js +4 -0
- package/dist/cdn/7WVJJWMQ.js +4 -0
- package/dist/cdn/7Z75O3DS.js +4 -0
- package/dist/cdn/A2DM33D2.js +4 -0
- package/dist/cdn/A4YIF23I.js +4 -0
- package/dist/cdn/A6HDPFN2.js +4 -0
- package/dist/cdn/ABG6KY77.js +4 -0
- package/dist/cdn/ACHOEWXC.js +4 -0
- package/dist/cdn/ACKSSU23.js +4 -0
- package/dist/cdn/ARMAMCFB.js +4 -0
- package/dist/cdn/AWEGCEZB.js +4 -0
- package/dist/cdn/AWIKNCDM.js +4 -0
- package/dist/cdn/AX5B3QRL.js +4 -0
- package/dist/cdn/B4PH7WPC.js +4 -0
- package/dist/cdn/B5PEZRAO.js +4 -0
- package/dist/cdn/B7AD6DKM.js +4 -0
- package/dist/cdn/BAQ5KOO7.js +12 -0
- package/dist/cdn/BBBKJ2UQ.js +4 -0
- package/dist/cdn/BBHNMEGQ.js +4 -0
- package/dist/cdn/BBLSDNAN.js +4 -0
- package/dist/cdn/BBQVXZH5.js +4 -0
- package/dist/cdn/BBTIKMGF.js +4 -0
- package/dist/cdn/BC2X3S7H.js +4 -0
- package/dist/cdn/BD6JYELV.js +4 -0
- package/dist/cdn/BDGPEMI2.js +4 -0
- package/dist/cdn/BEWLAQ5V.js +4 -0
- package/dist/cdn/BEZ6W43V.js +4 -0
- package/dist/cdn/BFY2WEOI.js +4 -0
- package/dist/cdn/BGM3H4PC.js +4 -0
- package/dist/cdn/BGS53X66.js +4 -0
- package/dist/cdn/BHYSZJWS.js +4 -0
- package/dist/cdn/BOPPAUT6.js +4 -0
- package/dist/cdn/BOQHKA4N.js +4 -0
- package/dist/cdn/BP3U3JKU.js +4 -0
- package/dist/cdn/BPV6ORDT.js +4 -0
- package/dist/cdn/BQ22NOXY.js +59 -0
- package/dist/cdn/BUGKN2EK.js +4 -0
- package/dist/cdn/BXW6YQX7.js +4 -0
- package/dist/cdn/BY7V4O4Q.js +4 -0
- package/dist/cdn/C245DR5R.js +4 -0
- package/dist/cdn/C3QVLMKQ.js +4 -0
- package/dist/cdn/C5J7GB74.js +4 -0
- package/dist/cdn/C5UNTPYH.js +4 -0
- package/dist/cdn/C6BF5WHH.js +4 -0
- package/dist/cdn/C7IMTAIR.js +4 -0
- package/dist/cdn/CAMLTPI4.js +4 -0
- package/dist/cdn/CAMRVT35.js +4 -0
- package/dist/cdn/CB3AXKRB.js +4 -0
- package/dist/cdn/CBSDYUAN.js +4 -0
- package/dist/cdn/CBZUPZKU.js +4 -0
- package/dist/cdn/CER6TVTH.js +4 -0
- package/dist/cdn/CEXZUJMX.js +4 -0
- package/dist/cdn/CF36QPIX.js +5 -0
- package/dist/cdn/CG6YLAEU.js +4 -0
- package/dist/cdn/CGTDP67U.js +4 -0
- package/dist/cdn/CL37NKBP.js +4 -0
- package/dist/cdn/CMB6EX4D.js +4 -0
- package/dist/cdn/CMTHYI42.js +4 -0
- package/dist/cdn/COA7LTR2.js +4 -0
- package/dist/cdn/CPDI3SLX.js +4 -0
- package/dist/cdn/CQGODCS7.js +4 -0
- package/dist/cdn/CTTN47EZ.js +4 -0
- package/dist/cdn/CV3DAK4G.js +4 -0
- package/dist/cdn/CWVWH3QK.js +4 -0
- package/dist/cdn/CYEG43DY.js +4 -0
- package/dist/cdn/CZDIENF5.js +4 -0
- package/dist/cdn/D2DJ53CE.js +4 -0
- package/dist/cdn/D2J7ONLX.js +4 -0
- package/dist/cdn/D37Y6BWC.js +4 -0
- package/dist/cdn/D5GJKANU.js +4 -0
- package/dist/cdn/D6VDQYNR.js +4 -0
- package/dist/cdn/D7BCLBBK.js +4 -0
- package/dist/cdn/DAF7U6TV.js +4 -0
- package/dist/cdn/DAI2LJSC.js +4 -0
- package/dist/cdn/DAMY33IP.js +4 -0
- package/dist/cdn/DBEOLJEO.js +7 -0
- package/dist/cdn/DBERINVF.js +4 -0
- package/dist/cdn/DCYGWQH4.js +4 -0
- package/dist/cdn/DEE3Y2QN.js +4 -0
- package/dist/cdn/DFNA7CSX.js +4 -0
- package/dist/cdn/DH3LKFFI.js +4 -0
- package/dist/cdn/DHI7G5J2.js +4 -0
- package/dist/cdn/DLG7U42Y.js +4 -0
- package/dist/cdn/DM6RAFDV.js +4 -0
- package/dist/cdn/DMLVRMAJ.js +4 -0
- package/dist/cdn/DOEJKHEM.js +4 -0
- package/dist/cdn/DQ5HORQD.js +4 -0
- package/dist/cdn/DQD5HTG5.js +9 -0
- package/dist/cdn/DQPPEP5P.js +4 -0
- package/dist/cdn/DROA3HVS.js +4 -0
- package/dist/cdn/DRR6OFXI.js +4 -0
- package/dist/cdn/DTK5MG6S.js +4 -0
- package/dist/cdn/DTQG2VC3.js +4 -0
- package/dist/cdn/DWZKLVCS.js +4 -0
- package/dist/cdn/DX7UHTSE.js +4 -0
- package/dist/cdn/DXNBB2YR.js +4 -0
- package/dist/cdn/E27K6TKF.js +4 -0
- package/dist/cdn/EGR62PS6.js +4 -0
- package/dist/cdn/EHXTT4BO.js +4 -0
- package/dist/cdn/EIKKSHSJ.js +4 -0
- package/dist/cdn/EKDCORFL.js +25 -0
- package/dist/cdn/EMYT6EN5.js +4 -0
- package/dist/cdn/ENX5GNOR.js +4 -0
- package/dist/cdn/EO67QJFB.js +4 -0
- package/dist/cdn/EOORN2GS.js +4 -0
- package/dist/cdn/EQULQEAV.js +4 -0
- package/dist/cdn/ESLDTQX7.js +4 -0
- package/dist/cdn/ETDSV62F.js +4 -0
- package/dist/cdn/EUWNKBBY.js +4 -0
- package/dist/cdn/EUZ6IRDJ.js +4 -0
- package/dist/cdn/EVTGKSGC.js +4 -0
- package/dist/cdn/EWAIB3F4.js +4 -0
- package/dist/cdn/EWK6RY5V.js +4 -0
- package/dist/cdn/EWYETQQP.js +4 -0
- package/dist/cdn/EX3ATJWG.js +4 -0
- package/dist/cdn/EY6JWFXJ.js +4 -0
- package/dist/cdn/F2K7C37E.js +4 -0
- package/dist/cdn/F2TURX3R.js +41 -0
- package/dist/cdn/F44D2V57.js +4 -0
- package/dist/cdn/F775XM2P.js +4 -0
- package/dist/cdn/FATR572D.js +4 -0
- package/dist/cdn/FAZL2FPP.js +4 -0
- package/dist/cdn/FE2YU5VD.js +4 -0
- package/dist/cdn/FEHMNV6J.js +4 -0
- package/dist/cdn/FF65OQMK.js +4 -0
- package/dist/cdn/FF746GAN.js +4 -0
- package/dist/cdn/FIMDNBGQ.js +4 -0
- package/dist/cdn/FIODTVCH.js +4 -0
- package/dist/cdn/FJ46OV6A.js +4 -0
- package/dist/cdn/FJTEIODT.js +4 -0
- package/dist/cdn/FKAXBTA6.js +4 -0
- package/dist/cdn/FKDFEZFM.js +4 -0
- package/dist/cdn/FLGFEL33.js +4 -0
- package/dist/cdn/FLNS24CM.js +4 -0
- package/dist/cdn/FLT6OQMR.js +4 -0
- package/dist/cdn/FOIU6UQ7.js +4 -0
- package/dist/cdn/FPZH5QTU.js +4 -0
- package/dist/cdn/FQ4IXJ3X.js +4 -0
- package/dist/cdn/FR3RI25Y.js +4 -0
- package/dist/cdn/FR7BCIDG.js +4 -0
- package/dist/cdn/FSM2TTDJ.js +4 -0
- package/dist/cdn/FUBHAGVT.js +4 -0
- package/dist/cdn/FUIGUURG.js +4 -0
- package/dist/cdn/FUVB422M.js +4 -0
- package/dist/cdn/FV273Z4E.js +4 -0
- package/dist/cdn/FV6IRX4J.js +4 -0
- package/dist/cdn/FVDGEU73.js +4 -0
- package/dist/cdn/FVXAC42V.js +4 -0
- package/dist/cdn/FW5NXRLN.js +4 -0
- package/dist/cdn/FWF224QL.js +4 -0
- package/dist/cdn/FYTO74MB.js +4 -0
- package/dist/cdn/FZSDRFR3.js +4 -0
- package/dist/cdn/G4AEISNQ.js +4 -0
- package/dist/cdn/G7VQ42CK.js +4 -0
- package/dist/cdn/GHWLBOWS.js +4 -0
- package/dist/cdn/GIW2GXGR.js +4 -0
- package/dist/cdn/GJN2HCSV.js +4 -0
- package/dist/cdn/GJQNSBKY.js +4 -0
- package/dist/cdn/GKJIG6TW.js +4 -0
- package/dist/cdn/GLOYDWWU.js +4 -0
- package/dist/cdn/GMNPZHVN.js +4 -0
- package/dist/cdn/GOVBIV4N.js +4 -0
- package/dist/cdn/GPU2GOMA.js +4 -0
- package/dist/cdn/GQ2VB4SZ.js +4 -0
- package/dist/cdn/GUIMRIRN.js +4 -0
- package/dist/cdn/GUQAWAAP.js +4 -0
- package/dist/cdn/GVN6RDDV.js +52 -0
- package/dist/cdn/GVOV3QNX.js +4 -0
- package/dist/cdn/GWMDZK73.js +4 -0
- package/dist/cdn/GWZ7OVMP.js +4 -0
- package/dist/cdn/GZW65JSA.js +4 -0
- package/dist/cdn/H3NZRS5X.js +4 -0
- package/dist/cdn/H5UPGLLF.js +4 -0
- package/dist/cdn/H64IRYUR.js +4 -0
- package/dist/cdn/H66NOYDN.js +4 -0
- package/dist/cdn/H6PMXT3R.js +4 -0
- package/dist/cdn/H7LP7ZOU.js +4 -0
- package/dist/cdn/HATIA4U2.js +4 -0
- package/dist/cdn/HBTEABKA.js +4 -0
- package/dist/cdn/HDF5WJKV.js +4 -0
- package/dist/cdn/HE7OTLQI.js +4 -0
- package/dist/cdn/HEYWYHFV.js +4 -0
- package/dist/cdn/HGOOEGQD.js +4 -0
- package/dist/cdn/HHL3ZO2Q.js +4 -0
- package/dist/cdn/HINIFDD3.js +4 -0
- package/dist/cdn/HIOD2XW4.js +4 -0
- package/dist/cdn/HJEEVAUV.js +4 -0
- package/dist/cdn/HMXNIESU.js +4 -0
- package/dist/cdn/HNNMQWZ5.js +4 -0
- package/dist/cdn/HR4GLWH2.js +4 -0
- package/dist/cdn/HTFBS4IS.js +4 -0
- package/dist/cdn/HUS6TZ2C.js +4 -0
- package/dist/cdn/HYFI7SCD.js +4 -0
- package/dist/cdn/I2EZPZ53.js +4 -0
- package/dist/cdn/I4C7CSQD.js +4 -0
- package/dist/cdn/I5LVWHUF.js +4 -0
- package/dist/cdn/I74VYBTY.js +4 -0
- package/dist/cdn/I7QMA5RG.js +4 -0
- package/dist/cdn/IBEVNUCL.js +4 -0
- package/dist/cdn/ID2QZY7T.js +4 -0
- package/dist/cdn/IDWJG667.js +4 -0
- package/dist/cdn/IEIZLANS.js +4 -0
- package/dist/cdn/IG2DXU5L.js +4 -0
- package/dist/cdn/IHYYFJLQ.js +4 -0
- package/dist/cdn/IIER4O2P.js +4 -0
- package/dist/cdn/IIO54RJW.js +4 -0
- package/dist/cdn/IK2DCOSH.js +4 -0
- package/dist/cdn/IN2IBSLJ.js +4 -0
- package/dist/cdn/IN2JWA2C.js +59 -0
- package/dist/cdn/IOEO7NH2.js +4 -0
- package/dist/cdn/IOOHIYJM.js +4 -0
- package/dist/cdn/IP4J3CR7.js +4 -0
- package/dist/cdn/ISRSTLRL.js +4 -0
- package/dist/cdn/IU5N52E4.js +4 -0
- package/dist/cdn/IUY6UST5.js +4 -0
- package/dist/cdn/IVNZPPAH.js +4 -0
- package/dist/cdn/IYPT2CXP.js +4 -0
- package/dist/cdn/J2CIS5QA.js +4 -0
- package/dist/cdn/J2LG7NJB.js +9 -0
- package/dist/cdn/J2LUJH6I.js +4 -0
- package/dist/cdn/J3MVJFFN.js +4 -0
- package/dist/cdn/J3YDAQZZ.js +4 -0
- package/dist/cdn/J4SLMERI.js +4 -0
- package/dist/cdn/J7CZ3VJ5.js +4 -0
- package/dist/cdn/J7XCXPC4.js +4 -0
- package/dist/cdn/JAKEJQZJ.js +4 -0
- package/dist/cdn/JBCLP2WW.js +4 -0
- package/dist/cdn/JHGM4W25.js +4 -0
- package/dist/cdn/JILJZHIV.js +4 -0
- package/dist/cdn/JIRTM3WL.js +4 -0
- package/dist/cdn/JIWK7FTQ.js +4 -0
- package/dist/cdn/JMASC67B.js +4 -0
- package/dist/cdn/JMRDHXBG.js +4 -0
- package/dist/cdn/JODCF4WS.js +4 -0
- package/dist/cdn/JQMLPZTY.js +4 -0
- package/dist/cdn/JTHUQVXC.js +4 -0
- package/dist/cdn/JXBWVKJX.js +4 -0
- package/dist/cdn/JZTTC6JN.js +6 -0
- package/dist/cdn/JZYEYAFB.js +4 -0
- package/dist/cdn/K2RXYALF.js +4 -0
- package/dist/cdn/K3UJ4BBN.js +4 -0
- package/dist/cdn/K4RLUCQF.js +4 -0
- package/dist/cdn/K4SD7BKR.js +4 -0
- package/dist/cdn/K6A2J7YM.js +4 -0
- package/dist/cdn/K723YTUC.js +4 -0
- package/dist/cdn/KAAKVO2F.js +4 -0
- package/dist/cdn/KAY7BB22.js +4 -0
- package/dist/cdn/KD46OXGQ.js +4 -0
- package/dist/cdn/KDT7SCHA.js +4 -0
- package/dist/cdn/KIC53ZW3.js +4 -0
- package/dist/cdn/KJHK7GIC.js +4 -0
- package/dist/cdn/KJOFZAIA.js +4 -0
- package/dist/cdn/KKKUUCFG.js +4 -0
- package/dist/cdn/KKSPGIBT.js +4 -0
- package/dist/cdn/KM5ESB6Q.js +4 -0
- package/dist/cdn/KMP7XZD4.js +4 -0
- package/dist/cdn/KNILMYZQ.js +4 -0
- package/dist/cdn/KNMLLZE3.js +4 -0
- package/dist/cdn/KOYNULPK.js +4 -0
- package/dist/cdn/KSY6KQAE.js +4 -0
- package/dist/cdn/KUNPNVIA.js +4 -0
- package/dist/cdn/KUZIN2XT.js +4 -0
- package/dist/cdn/KX5K5OPP.js +4 -0
- package/dist/cdn/L4UMZNL7.js +4 -0
- package/dist/cdn/LAMFV74R.js +4 -0
- package/dist/cdn/LARC4DQ2.js +4 -0
- package/dist/cdn/LAUIU4H7.js +4 -0
- package/dist/cdn/LCFC4XCN.js +4 -0
- package/dist/cdn/LIJMQQAA.js +4 -0
- package/dist/cdn/LKESW2XU.js +4 -0
- package/dist/cdn/LKHWRBEO.js +4 -0
- package/dist/cdn/LL2L5WMU.js +4 -0
- package/dist/cdn/LMFG4D62.js +4 -0
- package/dist/cdn/LNJYRBXZ.js +4 -0
- package/dist/cdn/LP2GSRYF.js +4 -0
- package/dist/cdn/LQMMPDI3.js +4 -0
- package/dist/cdn/LQOO4Z7H.js +4 -0
- package/dist/cdn/LRKAEP77.js +4 -0
- package/dist/cdn/LSTAWJ3S.js +4 -0
- package/dist/cdn/LT245S6C.js +4 -0
- package/dist/cdn/LUB3FFKY.js +4 -0
- package/dist/cdn/LUKTYLCY.js +4 -0
- package/dist/cdn/LXOTOSFU.js +4 -0
- package/dist/cdn/LXW4I3KD.js +4 -0
- package/dist/cdn/LXZH2KF3.js +4 -0
- package/dist/cdn/LZDFWT36.js +4 -0
- package/dist/cdn/M3JE3RLA.js +4 -0
- package/dist/cdn/M44XYGZ6.js +4 -0
- package/dist/cdn/M4E3MLCE.js +4 -0
- package/dist/cdn/M4USBXQX.js +4 -0
- package/dist/cdn/M5QXB6K7.js +4 -0
- package/dist/cdn/M6OVNLEO.js +4 -0
- package/dist/cdn/M7RQO7Z6.js +4 -0
- package/dist/cdn/M7UPLF2Q.js +4 -0
- package/dist/cdn/MBXHKRNG.js +4 -0
- package/dist/cdn/MELDMNDD.js +4 -0
- package/dist/cdn/MGRS6YRS.js +4 -0
- package/dist/cdn/MJKK4J4X.js +4 -0
- package/dist/cdn/ML7PCXMK.js +4 -0
- package/dist/cdn/MLHTSRBC.js +4 -0
- package/dist/cdn/MLIQGCRT.js +4 -0
- package/dist/cdn/MNX625BX.js +4 -0
- package/dist/cdn/MOPBOAAG.js +4 -0
- package/dist/cdn/MPVE2R4J.js +4 -0
- package/dist/cdn/MTPDJNZX.js +4 -0
- package/dist/cdn/MUEU5A7K.js +4 -0
- package/dist/cdn/MVVPGXEE.js +4 -0
- package/dist/cdn/MX6ZX5AD.js +4 -0
- package/dist/cdn/MX7X3YO7.js +4 -0
- package/dist/cdn/MZVCKEID.js +4 -0
- package/dist/cdn/N2GNB3EN.js +4 -0
- package/dist/cdn/NBPRY5F5.js +4 -0
- package/dist/cdn/ND7X7V2M.js +4 -0
- package/dist/cdn/NDEGSOQI.js +4 -0
- package/dist/cdn/NERI4HHD.js +4 -0
- package/dist/cdn/NFPC3F2G.js +4 -0
- package/dist/cdn/NHAOSR5J.js +4 -0
- package/dist/cdn/NHB56MQJ.js +4 -0
- package/dist/cdn/NIMISFRI.js +4 -0
- package/dist/cdn/NJOTWX5Y.js +4 -0
- package/dist/cdn/NKDN32AA.js +4 -0
- package/dist/cdn/NL4P7R3H.js +4 -0
- package/dist/cdn/NL5AEF4G.js +4 -0
- package/dist/cdn/NOMSQI6U.js +4 -0
- package/dist/cdn/NPJQQNL6.js +4 -0
- package/dist/cdn/NPKCM5WS.js +4 -0
- package/dist/cdn/NRQQRL6B.js +4 -0
- package/dist/cdn/NS3BB3SU.js +4 -0
- package/dist/cdn/NT5RZE5O.js +4 -0
- package/dist/cdn/NTULLY4R.js +4 -0
- package/dist/cdn/NWV56GTY.js +4 -0
- package/dist/cdn/O2SHXEGH.js +4 -0
- package/dist/cdn/O2WEZ735.js +4 -0
- package/dist/cdn/OGGQOMQW.js +4 -0
- package/dist/cdn/OHNIPVHH.js +4 -0
- package/dist/cdn/OIDXSNUU.js +4 -0
- package/dist/cdn/OIWPUUSR.js +4 -0
- package/dist/cdn/OJEFV5G2.js +4 -0
- package/dist/cdn/OKPKDEFC.js +4 -0
- package/dist/cdn/OLVTB2RW.js +4 -0
- package/dist/cdn/ONK5UAWM.js +4 -0
- package/dist/cdn/OSWZIV43.js +4 -0
- package/dist/cdn/OT2FLVN6.js +4 -0
- package/dist/cdn/OUMXUFH6.js +4 -0
- package/dist/cdn/OV73MATC.js +4 -0
- package/dist/cdn/OVHTPOHF.js +4 -0
- package/dist/cdn/OWPTWUDA.js +4 -0
- package/dist/cdn/OXC4BXHJ.js +5 -0
- package/dist/cdn/OXXF7TXL.js +4 -0
- package/dist/cdn/OYLCZCVN.js +4 -0
- package/dist/cdn/P23WP6UA.js +4 -0
- package/dist/cdn/P2TLYOHD.js +4 -0
- package/dist/cdn/P7FDPRL4.js +4 -0
- package/dist/cdn/P7S5GKF4.js +4 -0
- package/dist/cdn/P7YNAH7U.js +4 -0
- package/dist/cdn/PCP5E3BA.js +4 -0
- package/dist/cdn/PCQPFVEJ.js +4 -0
- package/dist/cdn/PEJXI52A.js +4 -0
- package/dist/cdn/PEOGJ4BW.js +4 -0
- package/dist/cdn/PFFN2RLB.js +4 -0
- package/dist/cdn/PHKTSC7J.js +4 -0
- package/dist/cdn/PIJ4DUBN.js +4 -0
- package/dist/cdn/PIURY3WB.js +4 -0
- package/dist/cdn/PLC7ZJXK.js +4 -0
- package/dist/cdn/PLN3UEUY.js +4 -0
- package/dist/cdn/PLNAZAOZ.js +4 -0
- package/dist/cdn/PMHLTCUC.js +4 -0
- package/dist/cdn/POBWK2IU.js +4 -0
- package/dist/cdn/POGSCBWC.js +4 -0
- package/dist/cdn/POLAFVI4.js +4 -0
- package/dist/cdn/POLUBNZI.js +4 -0
- package/dist/cdn/PPWIVBJF.js +4 -0
- package/dist/cdn/PRECHI7K.js +4 -0
- package/dist/cdn/PRYFYFCL.js +4 -0
- package/dist/cdn/PSA4Y7T2.js +4 -0
- package/dist/cdn/PTBNPGIC.js +4 -0
- package/dist/cdn/PU2QD4VP.js +4 -0
- package/dist/cdn/PUXFNZ7Z.js +4 -0
- package/dist/cdn/PXCM2CPX.js +4 -0
- package/dist/cdn/PXMQNLKJ.js +42 -0
- package/dist/cdn/PYSPXN5O.js +4 -0
- package/dist/cdn/PZMYVIUU.js +4 -0
- package/dist/cdn/PZVVZRKJ.js +4 -0
- package/dist/cdn/Q2PP57W6.js +4 -0
- package/dist/cdn/Q2PZRQLS.js +4 -0
- package/dist/cdn/Q32V4Z3J.js +4 -0
- package/dist/cdn/Q34IVZFU.js +4 -0
- package/dist/cdn/Q3DTHMXM.js +4 -0
- package/dist/cdn/Q3YRXRBV.js +4 -0
- package/dist/cdn/Q74F33SA.js +4 -0
- package/dist/cdn/Q7CV4MKO.js +4 -0
- package/dist/cdn/QAS34ZDV.js +4 -0
- package/dist/cdn/QB3JQLD5.js +4 -0
- package/dist/cdn/QB3YMIJB.js +4 -0
- package/dist/cdn/QBOJMGCB.js +4 -0
- package/dist/cdn/QJTYQF7N.js +4 -0
- package/dist/cdn/QMXEEOZ7.js +4 -0
- package/dist/cdn/QPYA2XKZ.js +4 -0
- package/dist/cdn/QQQYPVND.js +4 -0
- package/dist/cdn/QR5BIX3A.js +4 -0
- package/dist/cdn/QR7PH3QP.js +4 -0
- package/dist/cdn/QRHRQRRY.js +4 -0
- package/dist/cdn/QRTAYS6V.js +4 -0
- package/dist/cdn/QS4OU37A.js +4 -0
- package/dist/cdn/QSBYDZTY.js +4 -0
- package/dist/cdn/QU7JSXOX.js +4 -0
- package/dist/cdn/QVAFBXWK.js +4 -0
- package/dist/cdn/QVY7Q334.js +4 -0
- package/dist/cdn/QZXOJSR6.js +4 -0
- package/dist/cdn/QZYU45XT.js +4 -0
- package/dist/cdn/R7TBM5ZN.js +4 -0
- package/dist/cdn/RCTOUT2X.js +4 -0
- package/dist/cdn/RE2337YM.js +4 -0
- package/dist/cdn/RFCBGE4T.js +4 -0
- package/dist/cdn/RFDS2HUC.js +4 -0
- package/dist/cdn/RHM7R25F.js +4 -0
- package/dist/cdn/RKPOXQHO.js +4 -0
- package/dist/cdn/RLV2DEVJ.js +4 -0
- package/dist/cdn/ROEB4ZEG.js +4 -0
- package/dist/cdn/RPCI3FAN.js +4 -0
- package/dist/cdn/RPCKA2EO.js +4 -0
- package/dist/cdn/RQAEYXXF.js +4 -0
- package/dist/cdn/RQU2JOYK.js +4 -0
- package/dist/cdn/RQWB2AGY.js +4 -0
- package/dist/cdn/RR4MVFST.js +4 -0
- package/dist/cdn/RSSSAWZV.js +4 -0
- package/dist/cdn/RWWNOWAG.js +4 -0
- package/dist/cdn/RZNC3G5N.js +4 -0
- package/dist/cdn/S2DM5LOE.js +4 -0
- package/dist/cdn/S2SPMSWW.js +4 -0
- package/dist/cdn/SBTCWI3O.js +4 -0
- package/dist/cdn/SCCSQ27W.js +4 -0
- package/dist/cdn/SD5LHJMZ.js +4 -0
- package/dist/cdn/SDNVFDYT.js +4 -0
- package/dist/cdn/SF2CVPE5.js +4 -0
- package/dist/cdn/SFGGYQUN.js +4 -0
- package/dist/cdn/SFI44GS6.js +4 -0
- package/dist/cdn/SG7C7ILR.js +4 -0
- package/dist/cdn/SH2SGGLF.js +4 -0
- package/dist/cdn/SJ4EKHXV.js +4 -0
- package/dist/cdn/SJ4NKD2J.js +4 -0
- package/dist/cdn/SLECLRZR.js +4 -0
- package/dist/cdn/SN2RHPGN.js +4 -0
- package/dist/cdn/SQKU74KD.js +4 -0
- package/dist/cdn/SQOKTUPT.js +4 -0
- package/dist/cdn/SRGWB6TM.js +4 -0
- package/dist/cdn/SSVNLBUF.js +4 -0
- package/dist/cdn/SUOOIMX2.js +4 -0
- package/dist/cdn/SW4JFCZP.js +5470 -0
- package/dist/cdn/SYDFPXJ3.js +4 -0
- package/dist/cdn/SYJRCYNG.js +4 -0
- package/dist/cdn/SZXJOO5L.js +4 -0
- package/dist/cdn/T36A62MI.js +4 -0
- package/dist/cdn/T43OJ44N.js +4 -0
- package/dist/cdn/T67WXFNK.js +4 -0
- package/dist/cdn/T6SG2XH2.js +4 -0
- package/dist/cdn/T7J4NN75.js +4 -0
- package/dist/cdn/T7PWMNK6.js +4 -0
- package/dist/cdn/T7YJPXCJ.js +4 -0
- package/dist/cdn/TABBK3HC.js +4 -0
- package/dist/cdn/TAOYAQGV.js +4 -0
- package/dist/cdn/TBA4T3DV.js +4 -0
- package/dist/cdn/TBNHXEXP.js +4 -0
- package/dist/cdn/TC5IXFET.js +4 -0
- package/dist/cdn/TCC7VWQ7.js +4 -0
- package/dist/cdn/TCSDESYE.js +4 -0
- package/dist/cdn/TDJOVHL3.js +4 -0
- package/dist/cdn/TDPCRGAO.js +4 -0
- package/dist/cdn/TG76EECQ.js +4 -0
- package/dist/cdn/TGB6JKBZ.js +4 -0
- package/dist/cdn/THQKKMU4.js +4 -0
- package/dist/cdn/THXBLPGB.js +4 -0
- package/dist/cdn/TKNUAZXT.js +4 -0
- package/dist/cdn/TLRYEYKZ.js +5 -0
- package/dist/cdn/TMVMHJCC.js +4 -0
- package/dist/cdn/TORAVEPT.js +4 -0
- package/dist/cdn/TRRQD6PB.js +4 -0
- package/dist/cdn/TVVLHEJQ.js +4 -0
- package/dist/cdn/TXBQWRBV.js +4 -0
- package/dist/cdn/TXONSBJV.js +4 -0
- package/dist/cdn/TYROFW2Z.js +5 -0
- package/dist/cdn/TZJDK5TN.js +4 -0
- package/dist/cdn/U6JA7FJA.js +4 -0
- package/dist/cdn/UBNH47BY.js +4 -0
- package/dist/cdn/UEI4QZVZ.js +4 -0
- package/dist/cdn/UEQHZBYW.js +4 -0
- package/dist/cdn/UF4RUCAQ.js +4 -0
- package/dist/cdn/UFPSBAGG.js +4 -0
- package/dist/cdn/UG4A7XJQ.js +4 -0
- package/dist/cdn/UJ6OGTLY.js +4 -0
- package/dist/cdn/UJW35GHA.js +4 -0
- package/dist/cdn/UKIZ6SRV.js +4 -0
- package/dist/cdn/UL5FZWOE.js +4 -0
- package/dist/cdn/UNKMSPKN.js +4 -0
- package/dist/cdn/US7KM5HH.js +4 -0
- package/dist/cdn/USA24IY2.js +4 -0
- package/dist/cdn/USTMYFL2.js +4 -0
- package/dist/cdn/UTZP7A2Y.js +4 -0
- package/dist/cdn/UY7MOBSS.js +8 -0
- package/dist/cdn/UYVVRQHM.js +4 -0
- package/dist/cdn/V22BYCLB.js +4 -0
- package/dist/cdn/V263JPAX.js +4 -0
- package/dist/cdn/V3VLCRTJ.js +4 -0
- package/dist/cdn/V5EYQKYH.js +4 -0
- package/dist/cdn/VDTUFH5G.js +4 -0
- package/dist/cdn/VHKV7M3U.js +4 -0
- package/dist/cdn/VKSEQEGB.js +4 -0
- package/dist/cdn/VKSI6LRO.js +4 -0
- package/dist/cdn/VL33K2WT.js +4 -0
- package/dist/cdn/VPQ7RDRF.js +4 -0
- package/dist/cdn/VQ7KAXVU.js +4 -0
- package/dist/cdn/VRAGLETH.js +4 -0
- package/dist/cdn/VSDCL55M.js +4 -0
- package/dist/cdn/VTH4SZQY.js +4 -0
- package/dist/cdn/VTLCMZRQ.js +4 -0
- package/dist/cdn/VUCXTV3C.js +4 -0
- package/dist/cdn/VXK5DP2I.js +4 -0
- package/dist/cdn/VZXXRUFO.js +4 -0
- package/dist/cdn/W4YEJ4EJ.js +4 -0
- package/dist/cdn/W5H6RFSR.js +4 -0
- package/dist/cdn/W5RC4BQJ.js +4 -0
- package/dist/cdn/W6RWQO4F.js +4 -0
- package/dist/cdn/WBJ3SLMH.js +3 -0
- package/dist/cdn/WBPQJLRB.js +4 -0
- package/dist/cdn/WBY7EGCP.js +4 -0
- package/dist/cdn/WC7NELYK.js +4 -0
- package/dist/cdn/WDBJ73R3.js +4 -0
- package/dist/cdn/WFSFZF7W.js +4 -0
- package/dist/cdn/WHG3BEIC.js +4 -0
- package/dist/cdn/WIQ3BW67.js +4 -0
- package/dist/cdn/WKS7N4QQ.js +4 -0
- package/dist/cdn/WLM6TPKV.js +4 -0
- package/dist/cdn/WNN3DHKN.js +4 -0
- package/dist/cdn/WNXBTBSF.js +4 -0
- package/dist/cdn/WPTOJNBR.js +4 -0
- package/dist/cdn/WQYSJGNJ.js +4 -0
- package/dist/cdn/WR24JEWR.js +4 -0
- package/dist/cdn/WRSUHRV3.js +4 -0
- package/dist/cdn/WRVIOQRA.js +4 -0
- package/dist/cdn/WSMKCLHL.js +4 -0
- package/dist/cdn/WSOG6RR4.js +4 -0
- package/dist/cdn/WTXXVUGR.js +4 -0
- package/dist/cdn/WUYIPWGX.js +4 -0
- package/dist/cdn/WVBOH6JH.js +4 -0
- package/dist/cdn/WWSJFOUH.js +4 -0
- package/dist/cdn/WX7KIY4H.js +4 -0
- package/dist/cdn/WZVA2AO3.js +4 -0
- package/dist/cdn/X2C6JUGU.js +4 -0
- package/dist/cdn/X3VTYG3I.js +4 -0
- package/dist/cdn/X4CKALTM.js +4 -0
- package/dist/cdn/X4M6QO62.js +4 -0
- package/dist/cdn/X4NO7L3N.js +4 -0
- package/dist/cdn/X6ENNNDK.js +4 -0
- package/dist/cdn/XAZ7EZIS.js +4 -0
- package/dist/cdn/XDB2OO5U.js +4 -0
- package/dist/cdn/XDU3IX3U.js +4 -0
- package/dist/cdn/XFTGQ3LB.js +4 -0
- package/dist/cdn/XGCUB2IZ.js +4 -0
- package/dist/cdn/XIUJXP46.js +4 -0
- package/dist/cdn/XJD6KKC2.js +4 -0
- package/dist/cdn/XLRWXMMF.js +4 -0
- package/dist/cdn/XM6XE2VB.js +4 -0
- package/dist/cdn/XNB3AWNP.js +4 -0
- package/dist/cdn/XPRQZQJ3.js +5 -0
- package/dist/cdn/XPT6OML4.js +4 -0
- package/dist/cdn/XSU6LPYI.js +4 -0
- package/dist/cdn/XTFDY2MF.js +4 -0
- package/dist/cdn/XTWU7NWI.js +4 -0
- package/dist/cdn/XU3BVGMZ.js +4 -0
- package/dist/cdn/XVJT2UT6.js +4 -0
- package/dist/cdn/XVMLIQPH.js +4 -0
- package/dist/cdn/XX3E5BNG.js +4 -0
- package/dist/cdn/XYIG2GAY.js +4 -0
- package/dist/cdn/Y2MXUH7S.js +4 -0
- package/dist/cdn/Y37I6TUV.js +16 -0
- package/dist/cdn/Y3ISLENF.js +4 -0
- package/dist/cdn/Y52LHFGH.js +4 -0
- package/dist/cdn/Y6SN743H.js +4 -0
- package/dist/cdn/Y7YIYVZZ.js +4 -0
- package/dist/cdn/YD7VOE7X.js +4 -0
- package/dist/cdn/YETFX77Z.js +4 -0
- package/dist/cdn/YGN4SJQP.js +4 -0
- package/dist/cdn/YLJ5QBJL.js +4 -0
- package/dist/cdn/YLMRKHVL.js +4 -0
- package/dist/cdn/YLV4XYHW.js +4 -0
- package/dist/cdn/YP2ZGHBG.js +4 -0
- package/dist/cdn/YS2WLPNF.js +4 -0
- package/dist/cdn/YSQ65662.js +4 -0
- package/dist/cdn/YTN56TPL.js +4 -0
- package/dist/cdn/YUN5LFXT.js +4 -0
- package/dist/cdn/YVPKPOOM.js +4 -0
- package/dist/cdn/YVRBRQTB.js +4 -0
- package/dist/cdn/YXZQIYHH.js +4 -0
- package/dist/cdn/Z3VDSSQA.js +4 -0
- package/dist/cdn/Z67PWUTP.js +4 -0
- package/dist/cdn/ZCRHYTVA.js +4 -0
- package/dist/cdn/ZCVI5E5T.js +51 -0
- package/dist/cdn/ZJBJB5YQ.js +4 -0
- package/dist/cdn/ZKQZLLQ5.js +4 -0
- package/dist/cdn/ZM7IGABF.js +4 -0
- package/dist/cdn/ZNYXJX6Z.js +24 -0
- package/dist/cdn/ZO6KCN2B.js +4 -0
- package/dist/cdn/ZQ63IKT7.js +4 -0
- package/dist/cdn/ZQC2FVAL.js +4 -0
- package/dist/cdn/ZQC7ZKHW.js +4 -0
- package/dist/cdn/ZRAM56ME.js +4 -0
- package/dist/cdn/ZS4BVHRV.js +4 -0
- package/dist/cdn/ZSIPRGWI.js +4 -0
- package/dist/cdn/ZUCPDRFS.js +4 -0
- package/dist/cdn/ZVJUCGI7.js +4 -0
- package/dist/cdn/ZVUMA4DO.js +4 -0
- package/dist/cdn/ZVZI3VUE.js +4 -0
- package/dist/cdn/ZYLIZ7DB.js +4 -0
- package/dist/cdn/assets/chat-ui/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +3 -3
- package/dist/chunks/chat-action.js +29 -0
- package/dist/chunks/getResponsiveClasses.js +2 -2
- package/dist/chunks/interpolate-translations.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/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.d.ts +5 -0
- package/dist/components/arcgis-chat-ui/customElement.js +54 -58
- package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.d.ts +2 -1
- package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +7 -17
- package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.d.ts +2 -1
- package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +18 -18
- package/dist/components/arcgis-chat-ui/functional/chat-status/customElement.js +2 -2
- package/dist/components/arcgis-chat-ui/index.d.ts +2 -0
- package/dist/components/arcgis-chat-ui/index.js +2 -0
- package/dist/components/arcgis-chat-ui/util/constants.d.ts +1 -0
- package/dist/components/arcgis-hub-ai-assistant/customElement.d.ts +2 -2
- package/dist/components/arcgis-hub-ai-assistant/customElement.js +72 -79
- 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-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 +7 -7
- package/dist/components/arcgis-layout-editor-toolbar/index.d.ts +1 -1
- package/dist/components/arcgis-layout-editor-toolbar/index.js +1 -1
- 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-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 +65 -5
- package/dist/docs/docs.json +61 -3
- package/dist/docs/vscode.html-custom-data.json +9 -1
- package/dist/docs/web-types.json +34 -4
- package/dist/embed-config.js +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -2
- package/dist/loader.js +5 -5
- package/dist/types/lumina.d.ts +2 -1
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/react.d.ts +2 -1
- package/dist/types/stencil.d.ts +2 -1
- package/dist/util/configuration.d.ts +4 -0
- package/package.json +1 -1
- package/dist/cdn/22OX3RIJ.js +0 -4
- package/dist/cdn/22YGK3AG.js +0 -4
- package/dist/cdn/23HRHROB.js +0 -4
- package/dist/cdn/24N37AIY.js +0 -4
- package/dist/cdn/257DAV2N.js +0 -4
- package/dist/cdn/25GPKORD.js +0 -4
- package/dist/cdn/2C3DGITH.js +0 -4
- package/dist/cdn/2DPKUMLU.js +0 -4
- package/dist/cdn/2FXPTMFA.js +0 -4
- package/dist/cdn/2GQIHYKD.js +0 -4
- package/dist/cdn/2JE32FPP.js +0 -4
- package/dist/cdn/2LUFALGS.js +0 -4
- package/dist/cdn/2MNHCSQ7.js +0 -4
- package/dist/cdn/2MYKGIIZ.js +0 -4
- package/dist/cdn/2NS5B5MG.js +0 -4
- package/dist/cdn/2P2JP4Q2.js +0 -4
- package/dist/cdn/2QR7C3XJ.js +0 -4
- package/dist/cdn/2RCQFURD.js +0 -4
- package/dist/cdn/2RFXE5RR.js +0 -4
- package/dist/cdn/2RZUZCMQ.js +0 -4
- package/dist/cdn/2WEJWLKF.js +0 -4
- package/dist/cdn/2WUXC6SG.js +0 -4
- package/dist/cdn/32GDPHDN.js +0 -4
- package/dist/cdn/336ULTTZ.js +0 -4
- package/dist/cdn/33QAOZXV.js +0 -4
- package/dist/cdn/34DZO6JC.js +0 -4
- package/dist/cdn/376NK33Z.js +0 -4
- package/dist/cdn/3ADPJ3RA.js +0 -4
- package/dist/cdn/3AMHCJNZ.js +0 -4
- package/dist/cdn/3CRYVBFU.js +0 -4
- package/dist/cdn/3DKUNDWV.js +0 -4
- package/dist/cdn/3ESE47ZH.js +0 -4
- package/dist/cdn/3FAH6ERC.js +0 -4
- package/dist/cdn/3FX47OJT.js +0 -4
- package/dist/cdn/3G2SK2L6.js +0 -4
- package/dist/cdn/3ITOV3ON.js +0 -4
- package/dist/cdn/3IYFTBOM.js +0 -4
- package/dist/cdn/3JCWVTCW.js +0 -4
- package/dist/cdn/3K7PZDFE.js +0 -4
- package/dist/cdn/3L53FSEV.js +0 -4
- package/dist/cdn/3PF7P6NS.js +0 -4
- package/dist/cdn/3PLXWMTJ.js +0 -4
- package/dist/cdn/3PXLVPR4.js +0 -4
- package/dist/cdn/3RFFZCYQ.js +0 -4
- package/dist/cdn/3UMF3AMN.js +0 -4
- package/dist/cdn/3XD5HZ2A.js +0 -4
- package/dist/cdn/3XEJ2XDG.js +0 -4
- package/dist/cdn/3XTY7KN4.js +0 -4
- package/dist/cdn/3XXD4M22.js +0 -4
- package/dist/cdn/3YUIWZZN.js +0 -4
- package/dist/cdn/423LK6TG.js +0 -4
- package/dist/cdn/43NYI26R.js +0 -4
- package/dist/cdn/4CWQTDV3.js +0 -4
- package/dist/cdn/4FJ3BRJ6.js +0 -4
- package/dist/cdn/4IAUN6HA.js +0 -4
- package/dist/cdn/4IIBSIL5.js +0 -4
- package/dist/cdn/4J4GIYK3.js +0 -4
- package/dist/cdn/4J53UMUS.js +0 -4
- package/dist/cdn/4JM3OGBW.js +0 -4
- package/dist/cdn/4KR4V43N.js +0 -4
- package/dist/cdn/4MU35MQJ.js +0 -4
- package/dist/cdn/4NFF53ZV.js +0 -4
- package/dist/cdn/4NIAWDIC.js +0 -4
- package/dist/cdn/4PCZJMZI.js +0 -4
- package/dist/cdn/4PHVKWY2.js +0 -4
- package/dist/cdn/4S6ZCTYF.js +0 -4
- package/dist/cdn/4TEBTCAD.js +0 -4
- package/dist/cdn/4VA7AE5M.js +0 -4
- package/dist/cdn/4YVFWURU.js +0 -4
- package/dist/cdn/5366IC7O.js +0 -4
- package/dist/cdn/54N2AHXP.js +0 -4
- package/dist/cdn/55OQD4M5.js +0 -4
- package/dist/cdn/56CCTSQI.js +0 -4
- package/dist/cdn/56CCZTBU.js +0 -4
- package/dist/cdn/57A2ODNA.js +0 -4
- package/dist/cdn/57IBTDTM.js +0 -4
- package/dist/cdn/5CA2KX5W.js +0 -4
- package/dist/cdn/5F3DAQ5C.js +0 -4
- package/dist/cdn/5HRLU347.js +0 -4
- package/dist/cdn/5INGVTRY.js +0 -4
- package/dist/cdn/5JTPHS7C.js +0 -4
- package/dist/cdn/5JVCPCSO.js +0 -4
- package/dist/cdn/5KBQSIEC.js +0 -4
- package/dist/cdn/5LYE4NUW.js +0 -4
- package/dist/cdn/5OQIQNY6.js +0 -4
- package/dist/cdn/5PU73JG7.js +0 -4
- package/dist/cdn/5QZ35MGT.js +0 -4
- package/dist/cdn/5SAB72RB.js +0 -4
- package/dist/cdn/5TATJQXX.js +0 -4
- package/dist/cdn/5UGUSKGK.js +0 -4
- package/dist/cdn/5VUCJTLG.js +0 -4
- package/dist/cdn/5X6XSXTJ.js +0 -4
- package/dist/cdn/5XCF2U2P.js +0 -4
- package/dist/cdn/5YZVAFJG.js +0 -4
- package/dist/cdn/62C4HGGS.js +0 -4
- package/dist/cdn/63V5YKZT.js +0 -4
- package/dist/cdn/65Z56JNK.js +0 -4
- package/dist/cdn/6BPZ2ULY.js +0 -4
- package/dist/cdn/6CZ4VXMQ.js +0 -4
- package/dist/cdn/6CZNS7UH.js +0 -5
- package/dist/cdn/6FWBIFQQ.js +0 -4
- package/dist/cdn/6I2G45ND.js +0 -4
- package/dist/cdn/6JQA3HEE.js +0 -4
- package/dist/cdn/6L5YGABC.js +0 -4
- package/dist/cdn/6OESL4LV.js +0 -4
- package/dist/cdn/6PM53ZIA.js +0 -4
- package/dist/cdn/6QJBJLKK.js +0 -4
- package/dist/cdn/6QK6AXU6.js +0 -6
- package/dist/cdn/6RSIRVA3.js +0 -4
- package/dist/cdn/6SQJHSAT.js +0 -4
- package/dist/cdn/6SRMLA4G.js +0 -4
- package/dist/cdn/6VL2GOEF.js +0 -4
- package/dist/cdn/6VTUEWU7.js +0 -4
- package/dist/cdn/6W4L6BHK.js +0 -4
- package/dist/cdn/6YTHQIKJ.js +0 -4
- package/dist/cdn/72Q36UVW.js +0 -4
- package/dist/cdn/74KFA2JN.js +0 -4
- package/dist/cdn/76IJ7UX2.js +0 -4
- package/dist/cdn/773VBJCI.js +0 -4
- package/dist/cdn/77RMDKCG.js +0 -4
- package/dist/cdn/7BF6WIVW.js +0 -4
- package/dist/cdn/7D6FTNOV.js +0 -4
- package/dist/cdn/7DCGYRSE.js +0 -4
- package/dist/cdn/7HD7CFG2.js +0 -4
- package/dist/cdn/7INN53OE.js +0 -4
- package/dist/cdn/7K2TICKL.js +0 -4
- package/dist/cdn/7KMZ5HQX.js +0 -4
- package/dist/cdn/7KQW6L2O.js +0 -4
- package/dist/cdn/7KSVYTCI.js +0 -4
- package/dist/cdn/7LKCN5LP.js +0 -4
- package/dist/cdn/7LRZVTQH.js +0 -4
- package/dist/cdn/7P3CWYPK.js +0 -4
- package/dist/cdn/7PI3TPBO.js +0 -4
- package/dist/cdn/7PJ2HIV7.js +0 -4
- package/dist/cdn/7QNXWP5P.js +0 -4
- package/dist/cdn/7UBBGLD4.js +0 -4
- package/dist/cdn/7UGUS33Y.js +0 -4
- package/dist/cdn/7UMAACBS.js +0 -4
- package/dist/cdn/7UMO6BSB.js +0 -4
- package/dist/cdn/7WIKZDT2.js +0 -4
- package/dist/cdn/7WKVS5YI.js +0 -4
- package/dist/cdn/7XCLJEMF.js +0 -4
- package/dist/cdn/A24DMP7N.js +0 -4
- package/dist/cdn/A2D5SCGQ.js +0 -4
- package/dist/cdn/A4GCZJTY.js +0 -4
- package/dist/cdn/A7KZZ56U.js +0 -4
- package/dist/cdn/A7ZWLS6B.js +0 -4
- package/dist/cdn/AETAU45C.js +0 -4
- package/dist/cdn/AJ6GGK2S.js +0 -4
- package/dist/cdn/AJH7KSNA.js +0 -4
- package/dist/cdn/AMPIYEGE.js +0 -4
- package/dist/cdn/AVK2TLPH.js +0 -4
- package/dist/cdn/AWEXGWWR.js +0 -4
- package/dist/cdn/AWUKYJ5T.js +0 -4
- package/dist/cdn/B256W3JC.js +0 -4
- package/dist/cdn/B2J4EFXP.js +0 -4
- package/dist/cdn/B453JYAV.js +0 -4
- package/dist/cdn/B4AU4YR2.js +0 -4
- package/dist/cdn/B4MFJMT5.js +0 -4
- package/dist/cdn/B5U73K65.js +0 -4
- package/dist/cdn/B7CFI2PN.js +0 -4
- package/dist/cdn/BA73GIJT.js +0 -4
- package/dist/cdn/BAJIJUBC.js +0 -4
- package/dist/cdn/BB5WGQMJ.js +0 -16
- package/dist/cdn/BBSHFY2N.js +0 -4
- package/dist/cdn/BCEYEQFL.js +0 -4
- package/dist/cdn/BDDHEW2O.js +0 -4
- package/dist/cdn/BDK4PC7C.js +0 -4
- package/dist/cdn/BHXXP5UL.js +0 -4
- package/dist/cdn/BIBW6JRR.js +0 -4
- package/dist/cdn/BJKGJW4W.js +0 -4
- package/dist/cdn/BKSKZHEZ.js +0 -4
- package/dist/cdn/BN73LDBB.js +0 -4
- package/dist/cdn/BPESKGIX.js +0 -4
- package/dist/cdn/BSAZZUU3.js +0 -4
- package/dist/cdn/BTGWGRD6.js +0 -4
- package/dist/cdn/BUYNZQWF.js +0 -4
- package/dist/cdn/BWWDKHFW.js +0 -4
- package/dist/cdn/BX3243JK.js +0 -4
- package/dist/cdn/C2CMDNE5.js +0 -4
- package/dist/cdn/C4QNF62J.js +0 -4
- package/dist/cdn/C4XJKMFO.js +0 -4
- package/dist/cdn/C5N32EVV.js +0 -5
- package/dist/cdn/C63OBMLB.js +0 -4
- package/dist/cdn/C6CMAFV2.js +0 -4
- package/dist/cdn/C6VLMJ46.js +0 -4
- package/dist/cdn/CA4GL4IY.js +0 -4
- package/dist/cdn/CBGDGE4Z.js +0 -4
- package/dist/cdn/CC5UEVWZ.js +0 -4
- package/dist/cdn/CCP6XSQU.js +0 -4
- package/dist/cdn/CFW7DIFC.js +0 -4
- package/dist/cdn/CJZD5GOL.js +0 -4
- package/dist/cdn/CK2HVQPM.js +0 -4
- package/dist/cdn/CLVHWDAT.js +0 -4
- package/dist/cdn/CMFRRZHL.js +0 -4
- package/dist/cdn/CMU7SEPK.js +0 -4
- package/dist/cdn/COAQGD32.js +0 -4
- package/dist/cdn/CPGLAJ4S.js +0 -4
- package/dist/cdn/CPKFHKHN.js +0 -4
- package/dist/cdn/CROILMII.js +0 -4
- package/dist/cdn/CTLYDRTN.js +0 -4
- package/dist/cdn/CTNDB7J3.js +0 -4
- package/dist/cdn/CU27Q7RG.js +0 -4
- package/dist/cdn/CUIGOJ2Q.js +0 -4
- package/dist/cdn/CVMJOUN4.js +0 -12
- package/dist/cdn/CVRYOQPN.js +0 -4
- package/dist/cdn/CWBD74ZT.js +0 -4
- package/dist/cdn/CWCGNDSO.js +0 -4
- package/dist/cdn/CWZHP7QE.js +0 -4
- package/dist/cdn/CY4UJFI7.js +0 -4
- package/dist/cdn/CYJL3M6G.js +0 -4
- package/dist/cdn/CZ3J3IDF.js +0 -4
- package/dist/cdn/CZ4HTXPC.js +0 -4
- package/dist/cdn/CZNDOKPO.js +0 -4
- package/dist/cdn/CZTCD2IG.js +0 -4
- package/dist/cdn/D3IQKMMN.js +0 -4
- package/dist/cdn/D5HVQY7Q.js +0 -4
- package/dist/cdn/D6ID4YLW.js +0 -4
- package/dist/cdn/DCXGRVLO.js +0 -4
- package/dist/cdn/DELUHPMG.js +0 -4
- package/dist/cdn/DFACVHK3.js +0 -4
- package/dist/cdn/DFAVLMLI.js +0 -4
- package/dist/cdn/DFMY7XQQ.js +0 -4
- package/dist/cdn/DIGJN347.js +0 -4
- package/dist/cdn/DLTEK5AZ.js +0 -4
- package/dist/cdn/DS5LHRZK.js +0 -4
- package/dist/cdn/DVO47PQ4.js +0 -4
- package/dist/cdn/DVOJOTL7.js +0 -4
- package/dist/cdn/DXYRBPDO.js +0 -4
- package/dist/cdn/DZ2BP25M.js +0 -4
- package/dist/cdn/E3KGQQPJ.js +0 -4
- package/dist/cdn/E4A2ABPX.js +0 -4
- package/dist/cdn/E5GGCYBD.js +0 -4
- package/dist/cdn/E7WHKKT7.js +0 -4
- package/dist/cdn/EA7UY7KS.js +0 -4
- package/dist/cdn/EAXIAS6Z.js +0 -4
- package/dist/cdn/EC6OECH4.js +0 -4
- package/dist/cdn/EFSLHAOQ.js +0 -4
- package/dist/cdn/EIF557IV.js +0 -4
- package/dist/cdn/ELESGU5U.js +0 -4
- package/dist/cdn/EMFZKTCI.js +0 -4
- package/dist/cdn/EMHISPWG.js +0 -4
- package/dist/cdn/ENJYVJRP.js +0 -4
- package/dist/cdn/EOP33RRJ.js +0 -4
- package/dist/cdn/EP6A6CWJ.js +0 -4
- package/dist/cdn/ERGX6AAZ.js +0 -4
- package/dist/cdn/ESXY4VTX.js +0 -4
- package/dist/cdn/EU75ADHC.js +0 -4
- package/dist/cdn/EVA34R3L.js +0 -4
- package/dist/cdn/EVPEJOGI.js +0 -4
- package/dist/cdn/EXGTSE5P.js +0 -4
- package/dist/cdn/EXMX3GXI.js +0 -4
- package/dist/cdn/EYOAS4RD.js +0 -4
- package/dist/cdn/EYVQ5KUK.js +0 -4
- package/dist/cdn/EYWCODHJ.js +0 -6
- package/dist/cdn/EZY3NWSF.js +0 -4
- package/dist/cdn/F45AP4DC.js +0 -4
- package/dist/cdn/F4MIV4RT.js +0 -59
- package/dist/cdn/F4SO4OUQ.js +0 -4
- package/dist/cdn/F4UBPWE3.js +0 -4
- package/dist/cdn/F7NMUL4L.js +0 -4
- package/dist/cdn/FABT57ZN.js +0 -4
- package/dist/cdn/FEHY7NIG.js +0 -4
- package/dist/cdn/FERQFBNJ.js +0 -4
- package/dist/cdn/FJ5NIHIO.js +0 -4
- package/dist/cdn/FNN4LRWA.js +0 -4
- package/dist/cdn/FOABWQZB.js +0 -4
- package/dist/cdn/FOEZLKPI.js +0 -4
- package/dist/cdn/FQCPTLLC.js +0 -4
- package/dist/cdn/FRKGXIZQ.js +0 -4
- package/dist/cdn/FU23BFCD.js +0 -4
- package/dist/cdn/FWO6DBZ7.js +0 -4
- package/dist/cdn/FZDWBAH3.js +0 -4
- package/dist/cdn/G234DDMN.js +0 -4
- package/dist/cdn/G6BETMK5.js +0 -4
- package/dist/cdn/G7AOVQFQ.js +0 -4
- package/dist/cdn/GCF5IYDR.js +0 -4
- package/dist/cdn/GCT7FPF4.js +0 -4
- package/dist/cdn/GEYON3NS.js +0 -4
- package/dist/cdn/GJZBMWAW.js +0 -4
- package/dist/cdn/GM333FGJ.js +0 -4
- package/dist/cdn/GN3FCMVS.js +0 -4
- package/dist/cdn/GNUDYKPO.js +0 -4
- package/dist/cdn/GOV5KDN3.js +0 -4
- package/dist/cdn/GOV7GUI7.js +0 -4
- package/dist/cdn/GP5HGMCP.js +0 -4
- package/dist/cdn/GPUJERLJ.js +0 -4
- package/dist/cdn/GQCBBBGV.js +0 -4
- package/dist/cdn/GR3OREUE.js +0 -4
- package/dist/cdn/GRGMV4G5.js +0 -4
- package/dist/cdn/GT5GCRHM.js +0 -4
- package/dist/cdn/GV3DCEWQ.js +0 -4
- package/dist/cdn/GYRJ6CCO.js +0 -4
- package/dist/cdn/GZG3OMBE.js +0 -4
- package/dist/cdn/GZSXI6OK.js +0 -4
- package/dist/cdn/H2YDZW7W.js +0 -4
- package/dist/cdn/H46YWXH6.js +0 -4
- package/dist/cdn/H6BQFJFV.js +0 -4
- package/dist/cdn/HGLACPHM.js +0 -4
- package/dist/cdn/HIPFQPOI.js +0 -4
- package/dist/cdn/HKF3JBCQ.js +0 -4
- package/dist/cdn/HKJ76VRB.js +0 -4
- package/dist/cdn/HKVEDUHG.js +0 -4
- package/dist/cdn/HL6VBP7X.js +0 -4
- package/dist/cdn/HNWPRXTE.js +0 -4
- package/dist/cdn/HP5YPBJO.js +0 -4
- package/dist/cdn/HQXJWEC4.js +0 -4
- package/dist/cdn/HRKEIVMQ.js +0 -4
- package/dist/cdn/HV2TWX5Z.js +0 -4
- package/dist/cdn/HVIC6ILU.js +0 -4
- package/dist/cdn/I3F6MLHK.js +0 -4
- package/dist/cdn/I3PBINF5.js +0 -4
- package/dist/cdn/I4XYASEU.js +0 -4
- package/dist/cdn/I634SO7H.js +0 -4
- package/dist/cdn/I7PDZGIC.js +0 -4
- package/dist/cdn/IAYHRSYB.js +0 -4
- package/dist/cdn/IEHWWDY5.js +0 -4
- package/dist/cdn/IEPXSON6.js +0 -4
- package/dist/cdn/IEZXQMD3.js +0 -4
- package/dist/cdn/IFKDNSBE.js +0 -4
- package/dist/cdn/IHGUTNYW.js +0 -4
- package/dist/cdn/IIOKP5QT.js +0 -4
- package/dist/cdn/IIYFGWNV.js +0 -4
- package/dist/cdn/ILLBHGUX.js +0 -4
- package/dist/cdn/IM7TITXT.js +0 -4
- package/dist/cdn/IMRN6QH3.js +0 -4
- package/dist/cdn/IRYFNWEX.js +0 -4
- package/dist/cdn/ITPQYHY2.js +0 -4
- package/dist/cdn/IVE6LFRT.js +0 -4
- package/dist/cdn/IVF6KDBU.js +0 -4
- package/dist/cdn/IYCAPQDU.js +0 -4
- package/dist/cdn/J22TXAEE.js +0 -4
- package/dist/cdn/J3JPIDVT.js +0 -4
- package/dist/cdn/J56BSB6V.js +0 -4
- package/dist/cdn/J5FRWPSD.js +0 -4
- package/dist/cdn/J6GUS6FD.js +0 -4
- package/dist/cdn/J6OKHNXV.js +0 -4
- package/dist/cdn/J73SH6QQ.js +0 -4
- package/dist/cdn/J7NRVBUW.js +0 -4
- package/dist/cdn/JAJ3NCLM.js +0 -4
- package/dist/cdn/JANHJOZF.js +0 -25
- package/dist/cdn/JBGTDGGD.js +0 -4
- package/dist/cdn/JDA4EZRI.js +0 -4
- package/dist/cdn/JDHO7VXV.js +0 -4
- package/dist/cdn/JDSARG3Q.js +0 -4
- package/dist/cdn/JG6OBDXC.js +0 -4
- package/dist/cdn/JJT7X2OT.js +0 -4
- package/dist/cdn/JKWMWREG.js +0 -4
- package/dist/cdn/JL3XYIIP.js +0 -4
- package/dist/cdn/JLT5K24A.js +0 -4
- package/dist/cdn/JQAV6SF6.js +0 -4
- package/dist/cdn/JQHNPY2J.js +0 -4
- package/dist/cdn/JQXWBY2D.js +0 -4
- package/dist/cdn/JRISHM27.js +0 -4
- package/dist/cdn/JSNC5MHV.js +0 -4
- package/dist/cdn/JTLFLQIR.js +0 -4
- package/dist/cdn/JTPD2QOZ.js +0 -4
- package/dist/cdn/JUJW4S5S.js +0 -4
- package/dist/cdn/JUXVHMGC.js +0 -4
- package/dist/cdn/JWULKNPN.js +0 -4
- package/dist/cdn/JXIKWYFJ.js +0 -4
- package/dist/cdn/K3L6YWQL.js +0 -4
- package/dist/cdn/K3Q6W6NS.js +0 -4
- package/dist/cdn/K5SPZPYY.js +0 -4
- package/dist/cdn/K5YKCDOW.js +0 -4
- package/dist/cdn/K7RUNLSI.js +0 -4
- package/dist/cdn/KA6GQXUN.js +0 -4
- package/dist/cdn/KBJXNENJ.js +0 -4
- package/dist/cdn/KDRWMIZX.js +0 -4
- package/dist/cdn/KDSYAFBG.js +0 -4
- package/dist/cdn/KEITMXPV.js +0 -4
- package/dist/cdn/KI4AOBVP.js +0 -4
- package/dist/cdn/KIOMTVJU.js +0 -4
- package/dist/cdn/KJ7NGR3W.js +0 -4
- package/dist/cdn/KJHRSXBG.js +0 -4
- package/dist/cdn/KOQTY66M.js +0 -4
- package/dist/cdn/KSI6GXRW.js +0 -4
- package/dist/cdn/KU4BVZ2E.js +0 -4
- package/dist/cdn/KXHL3YBP.js +0 -4
- package/dist/cdn/KZXPOILB.js +0 -5470
- package/dist/cdn/L36PQWBQ.js +0 -4
- package/dist/cdn/L37GJY67.js +0 -4
- package/dist/cdn/L4IWYZII.js +0 -4
- package/dist/cdn/L5QKEPFI.js +0 -4
- package/dist/cdn/L6FHAK6O.js +0 -4
- package/dist/cdn/L6KHCLB3.js +0 -4
- package/dist/cdn/L6O6R2KU.js +0 -4
- package/dist/cdn/L7V63D73.js +0 -4
- package/dist/cdn/LBQNLVSM.js +0 -4
- package/dist/cdn/LD3EYB3Z.js +0 -4
- package/dist/cdn/LDFMLZYB.js +0 -4
- package/dist/cdn/LHGAX3O3.js +0 -4
- package/dist/cdn/LI6ZOAME.js +0 -4
- package/dist/cdn/LISFFMSJ.js +0 -4
- package/dist/cdn/LLJGWR6C.js +0 -4
- package/dist/cdn/LMT64KQU.js +0 -4
- package/dist/cdn/LNILZWFP.js +0 -4
- package/dist/cdn/LOBJJJER.js +0 -4
- package/dist/cdn/LPLELLTZ.js +0 -4
- package/dist/cdn/LQJXGUJR.js +0 -4
- package/dist/cdn/LRX2OV3D.js +0 -4
- package/dist/cdn/LXNXJUSQ.js +0 -4
- package/dist/cdn/LYJBFYLI.js +0 -4
- package/dist/cdn/M2K74366.js +0 -4
- package/dist/cdn/M4STM6HB.js +0 -4
- package/dist/cdn/M53PPDB4.js +0 -4
- package/dist/cdn/M5J2GWWZ.js +0 -4
- package/dist/cdn/M74VIWFC.js +0 -4
- package/dist/cdn/M7UDWATI.js +0 -4
- package/dist/cdn/MADADR2V.js +0 -4
- package/dist/cdn/MBBM3AIJ.js +0 -4
- package/dist/cdn/MBWJRRXW.js +0 -4
- package/dist/cdn/MEFGISPA.js +0 -51
- package/dist/cdn/MFITGTC4.js +0 -4
- package/dist/cdn/MGAMVQBS.js +0 -4
- package/dist/cdn/MIFC2KF3.js +0 -4
- package/dist/cdn/MK72EZ5V.js +0 -4
- package/dist/cdn/MMEVHGKG.js +0 -4
- package/dist/cdn/MO42VJKU.js +0 -4
- package/dist/cdn/MOF6ZMIE.js +0 -4
- package/dist/cdn/MOY3EOVJ.js +0 -4
- package/dist/cdn/MPSI6E5A.js +0 -4
- package/dist/cdn/MRD6IH3J.js +0 -52
- package/dist/cdn/MRESDJHZ.js +0 -4
- package/dist/cdn/MRRF3SE5.js +0 -4
- package/dist/cdn/MSBZ4AGD.js +0 -4
- package/dist/cdn/MT5D7BSU.js +0 -8
- package/dist/cdn/MUQRP4U4.js +0 -4
- package/dist/cdn/MVKEIAVN.js +0 -4
- package/dist/cdn/MXU444CD.js +0 -4
- package/dist/cdn/MYGXLZMY.js +0 -4
- package/dist/cdn/N3N57MUV.js +0 -4
- package/dist/cdn/N5B5GYEJ.js +0 -4
- package/dist/cdn/N5BJSUSM.js +0 -4
- package/dist/cdn/N7BVA5BC.js +0 -4
- package/dist/cdn/NBOCZE3F.js +0 -4
- package/dist/cdn/NIG7OTTR.js +0 -4
- package/dist/cdn/NIMCLH2N.js +0 -4
- package/dist/cdn/NKQARVXP.js +0 -59
- package/dist/cdn/NLC7CTA6.js +0 -4
- package/dist/cdn/NM32IMRG.js +0 -4
- package/dist/cdn/NOCMOUOG.js +0 -4
- package/dist/cdn/NOPO5FOY.js +0 -4
- package/dist/cdn/NPGYT2H2.js +0 -4
- package/dist/cdn/NWFUNIRP.js +0 -4
- package/dist/cdn/NWN4JXE2.js +0 -4
- package/dist/cdn/NXM4LZHL.js +0 -9
- package/dist/cdn/NZMM554N.js +0 -4
- package/dist/cdn/NZNPRWY4.js +0 -4
- package/dist/cdn/NZPJJQH7.js +0 -4
- package/dist/cdn/O2DUUBMC.js +0 -4
- package/dist/cdn/O2XKLBFL.js +0 -4
- package/dist/cdn/O5CN3RK4.js +0 -4
- package/dist/cdn/O5SHAPA7.js +0 -4
- package/dist/cdn/O76BXI3L.js +0 -4
- package/dist/cdn/ODEZRVGL.js +0 -9
- package/dist/cdn/OGDDNMGK.js +0 -4
- package/dist/cdn/OHT4FSHW.js +0 -4
- package/dist/cdn/OINRC2D5.js +0 -4
- package/dist/cdn/OJK5XZ66.js +0 -4
- package/dist/cdn/OKGZTDWE.js +0 -4
- package/dist/cdn/OM56TWGS.js +0 -5
- package/dist/cdn/OPWOHDXI.js +0 -4
- package/dist/cdn/OQRNMKUH.js +0 -4
- package/dist/cdn/ORBGQMIR.js +0 -4
- package/dist/cdn/OSD2Z2MJ.js +0 -4
- package/dist/cdn/OSKDHACE.js +0 -4
- package/dist/cdn/OT6NEO7M.js +0 -4
- package/dist/cdn/OUPYHECN.js +0 -3
- package/dist/cdn/OUQRGKWO.js +0 -5
- package/dist/cdn/OVV4YUWQ.js +0 -4
- package/dist/cdn/OXNVT24O.js +0 -4
- package/dist/cdn/OYGJXGB2.js +0 -4
- package/dist/cdn/OYKVMQZH.js +0 -4
- package/dist/cdn/OZF242UN.js +0 -4
- package/dist/cdn/OZNM6XNU.js +0 -4
- package/dist/cdn/P2JTZLH6.js +0 -4
- package/dist/cdn/P3T7NAOP.js +0 -4
- package/dist/cdn/PAL4CC4Q.js +0 -4
- package/dist/cdn/PAZPR3LX.js +0 -4
- package/dist/cdn/PB7HQ5DH.js +0 -4
- package/dist/cdn/PDORX3QY.js +0 -4
- package/dist/cdn/PEBJR6MK.js +0 -4
- package/dist/cdn/PEKPVTKU.js +0 -4
- package/dist/cdn/PER4LZW3.js +0 -4
- package/dist/cdn/PFG4SQGH.js +0 -4
- package/dist/cdn/PFNMSJUW.js +0 -4
- package/dist/cdn/PGEWPIRS.js +0 -4
- package/dist/cdn/PGNQAYO3.js +0 -4
- package/dist/cdn/PHKAYD63.js +0 -4
- package/dist/cdn/PHT4TC3P.js +0 -4
- package/dist/cdn/PJCK6AMU.js +0 -4
- package/dist/cdn/PKOBKK7F.js +0 -4
- package/dist/cdn/PKRO7LW7.js +0 -4
- package/dist/cdn/PKS33A4Z.js +0 -4
- package/dist/cdn/PLPUFJCX.js +0 -4
- package/dist/cdn/PQFS6DO4.js +0 -4
- package/dist/cdn/PRNUPFPN.js +0 -4
- package/dist/cdn/PSTQSHLX.js +0 -4
- package/dist/cdn/PTAKJI7G.js +0 -4
- package/dist/cdn/PWOXAKXE.js +0 -4
- package/dist/cdn/PYA5CB2E.js +0 -4
- package/dist/cdn/PYQD4MB3.js +0 -4
- package/dist/cdn/Q4GI2DJZ.js +0 -4
- package/dist/cdn/Q4WN3W3Z.js +0 -4
- package/dist/cdn/Q52WNBH7.js +0 -4
- package/dist/cdn/Q7YFPP3S.js +0 -4
- package/dist/cdn/QCLS2JIP.js +0 -4
- package/dist/cdn/QD6UN2PM.js +0 -4
- package/dist/cdn/QDIWAJ5J.js +0 -4
- package/dist/cdn/QDJQRPJY.js +0 -4
- package/dist/cdn/QETF66XM.js +0 -4
- package/dist/cdn/QEYEPGOE.js +0 -4
- package/dist/cdn/QFDQYMLY.js +0 -4
- package/dist/cdn/QGA76JPQ.js +0 -4
- package/dist/cdn/QHFNIUCK.js +0 -4
- package/dist/cdn/QKDTACLF.js +0 -11
- package/dist/cdn/QNZCU23W.js +0 -4
- package/dist/cdn/QO34KMBO.js +0 -4
- package/dist/cdn/QOIQ3DJU.js +0 -4
- package/dist/cdn/QRLNYMWW.js +0 -4
- package/dist/cdn/QSM2ANOF.js +0 -4
- package/dist/cdn/QUPZXZZA.js +0 -4
- package/dist/cdn/QVES5GNV.js +0 -4
- package/dist/cdn/QWDHTJUT.js +0 -4
- package/dist/cdn/QXNSHBZP.js +0 -4
- package/dist/cdn/QYWVWP5Z.js +0 -41
- package/dist/cdn/QZLNNXNO.js +0 -4
- package/dist/cdn/QZW5I3Q3.js +0 -4
- package/dist/cdn/R3FBFKTR.js +0 -4
- package/dist/cdn/R3RVJOWC.js +0 -4
- package/dist/cdn/R5HZZAWU.js +0 -4
- package/dist/cdn/R5WZCLEA.js +0 -4
- package/dist/cdn/R6FSQSNQ.js +0 -4
- package/dist/cdn/R6FWORDM.js +0 -4
- package/dist/cdn/R6PGJ4MK.js +0 -4
- package/dist/cdn/RDTC7SMH.js +0 -4
- package/dist/cdn/RFPJXM2I.js +0 -4
- package/dist/cdn/RG4QHRUS.js +0 -4
- package/dist/cdn/RHQTBN5H.js +0 -4
- package/dist/cdn/RM7AT4LF.js +0 -4
- package/dist/cdn/RNCOYGKT.js +0 -4
- package/dist/cdn/RNGFXTRM.js +0 -4
- package/dist/cdn/ROWITTXB.js +0 -4
- package/dist/cdn/RPCZCEEH.js +0 -4
- package/dist/cdn/RQG3Y7IY.js +0 -4
- package/dist/cdn/RRKGI6YF.js +0 -4
- package/dist/cdn/RRS43F7G.js +0 -4
- package/dist/cdn/RXAI6I2Q.js +0 -4
- package/dist/cdn/S225CAVU.js +0 -4
- package/dist/cdn/S26JK3EZ.js +0 -4
- package/dist/cdn/S2ATUHGW.js +0 -4
- package/dist/cdn/S3MHYVPK.js +0 -4
- package/dist/cdn/S5U75HWS.js +0 -4
- package/dist/cdn/S62FOTU3.js +0 -4
- package/dist/cdn/S6EQJDUQ.js +0 -4
- package/dist/cdn/S7WF4RR2.js +0 -4
- package/dist/cdn/SAGTBTBW.js +0 -4
- package/dist/cdn/SAKHOQJM.js +0 -4
- package/dist/cdn/SBONC4CR.js +0 -4
- package/dist/cdn/SCF2VENK.js +0 -4
- package/dist/cdn/SDNKEVHK.js +0 -4
- package/dist/cdn/SEOE5Z6N.js +0 -4
- package/dist/cdn/SF7JGLSC.js +0 -4
- package/dist/cdn/SGAEVXNB.js +0 -4
- package/dist/cdn/SGGQ7PAO.js +0 -4
- package/dist/cdn/SGQZFHTJ.js +0 -4
- package/dist/cdn/SHWD5A6B.js +0 -4
- package/dist/cdn/SIGUK4EP.js +0 -4
- package/dist/cdn/SK5DS5XQ.js +0 -4
- package/dist/cdn/SMSCOQPY.js +0 -4
- package/dist/cdn/SN4IBWSC.js +0 -4
- package/dist/cdn/SNB4MX72.js +0 -4
- package/dist/cdn/SNCOK3VU.js +0 -4
- package/dist/cdn/SNF256WN.js +0 -4
- package/dist/cdn/SP64OPAC.js +0 -4
- package/dist/cdn/SRPDSILT.js +0 -4
- package/dist/cdn/ST3NI5NF.js +0 -4
- package/dist/cdn/SUDB7MM3.js +0 -4
- package/dist/cdn/SVF4X4YM.js +0 -4
- package/dist/cdn/SVJIGCNY.js +0 -4
- package/dist/cdn/SWN74BEG.js +0 -4
- package/dist/cdn/SXVDELJO.js +0 -4
- package/dist/cdn/T3AIBLZH.js +0 -4
- package/dist/cdn/T3JASSCT.js +0 -4
- package/dist/cdn/T4FKB2UD.js +0 -4
- package/dist/cdn/T5CECIAV.js +0 -4
- package/dist/cdn/TASZVT4C.js +0 -4
- package/dist/cdn/TBWYPMO3.js +0 -4
- package/dist/cdn/TCT6U3KE.js +0 -4
- package/dist/cdn/TCV3QL5D.js +0 -4
- package/dist/cdn/TGMJFXDX.js +0 -4
- package/dist/cdn/TIJSXN7S.js +0 -4
- package/dist/cdn/TJC7USQR.js +0 -4
- package/dist/cdn/TJPM5UIV.js +0 -4
- package/dist/cdn/TK562IA3.js +0 -4
- package/dist/cdn/TKE5TCJR.js +0 -4
- package/dist/cdn/TONKH7D3.js +0 -4
- package/dist/cdn/TOQOGOPG.js +0 -4
- package/dist/cdn/TP35DNIT.js +0 -4
- package/dist/cdn/TPXA37TA.js +0 -4
- package/dist/cdn/TSWMOLNO.js +0 -4
- package/dist/cdn/TWR5MUEN.js +0 -4
- package/dist/cdn/TXWWHLQN.js +0 -4
- package/dist/cdn/U3EJ63EK.js +0 -6
- package/dist/cdn/U5YGPXXU.js +0 -4
- package/dist/cdn/UA4LMJJN.js +0 -4
- package/dist/cdn/UD4E2VWB.js +0 -4
- package/dist/cdn/UF7DVPW2.js +0 -4
- package/dist/cdn/UHVBGMFE.js +0 -4
- package/dist/cdn/UJ2OXMTV.js +0 -4
- package/dist/cdn/UJINYBFT.js +0 -4
- package/dist/cdn/UJXVFY5W.js +0 -4
- package/dist/cdn/UKSMUWUD.js +0 -4
- package/dist/cdn/UOGM26EC.js +0 -4
- package/dist/cdn/UQA7OYRJ.js +0 -4
- package/dist/cdn/URQHRTQN.js +0 -4
- package/dist/cdn/USMFK7X5.js +0 -4
- package/dist/cdn/USNYF5Y6.js +0 -4
- package/dist/cdn/USR2EPVR.js +0 -4
- package/dist/cdn/USVZ4IIC.js +0 -4
- package/dist/cdn/UULSJ7FO.js +0 -4
- package/dist/cdn/UUORFCUR.js +0 -4
- package/dist/cdn/UUPQQQQ5.js +0 -4
- package/dist/cdn/UYBRZJRA.js +0 -4
- package/dist/cdn/V3KM6K36.js +0 -4
- package/dist/cdn/V4QZFA2G.js +0 -4
- package/dist/cdn/V5TEVU6N.js +0 -4
- package/dist/cdn/V626XTHC.js +0 -4
- package/dist/cdn/V6VZOUTM.js +0 -4
- package/dist/cdn/V7PWNQJK.js +0 -4
- package/dist/cdn/VBKZTXJP.js +0 -4
- package/dist/cdn/VCWW3FEQ.js +0 -4
- package/dist/cdn/VHAPHPBG.js +0 -4
- package/dist/cdn/VHAWITAO.js +0 -4
- package/dist/cdn/VHCAYUPR.js +0 -4
- package/dist/cdn/VIDESQ3L.js +0 -4
- package/dist/cdn/VK6BRJJF.js +0 -4
- package/dist/cdn/VKOSAW65.js +0 -4
- package/dist/cdn/VKXKKAMH.js +0 -4
- package/dist/cdn/VMURTJPY.js +0 -4
- package/dist/cdn/VPLGSUJO.js +0 -4
- package/dist/cdn/VPU5VCNB.js +0 -4
- package/dist/cdn/VQOK5MRN.js +0 -4
- package/dist/cdn/VRBJTCAC.js +0 -4
- package/dist/cdn/VX6CBD5P.js +0 -4
- package/dist/cdn/VYTCUSB7.js +0 -4
- package/dist/cdn/VYTKBQ5P.js +0 -4
- package/dist/cdn/VYUIK62P.js +0 -4
- package/dist/cdn/VZRC7YWX.js +0 -4
- package/dist/cdn/W5W6Y7ZT.js +0 -4
- package/dist/cdn/W7GLKRYJ.js +0 -4
- package/dist/cdn/WBRLKCIB.js +0 -4
- package/dist/cdn/WDLGAOGV.js +0 -4
- package/dist/cdn/WGLDMASD.js +0 -4
- package/dist/cdn/WIBG7HZN.js +0 -5
- package/dist/cdn/WIBRGYXJ.js +0 -4
- package/dist/cdn/WIFVVFIC.js +0 -4
- package/dist/cdn/WMG37QFH.js +0 -4
- package/dist/cdn/WONHUTUI.js +0 -4
- package/dist/cdn/WP75TJS5.js +0 -4
- package/dist/cdn/WPBRBUM3.js +0 -24
- package/dist/cdn/WPV4NDC4.js +0 -4
- package/dist/cdn/WUMYHG74.js +0 -4
- package/dist/cdn/WUROUPC6.js +0 -4
- package/dist/cdn/WYZEVD4W.js +0 -4
- package/dist/cdn/X43E2DCG.js +0 -4
- package/dist/cdn/XAOO5DNT.js +0 -4
- package/dist/cdn/XAV35DIE.js +0 -4
- package/dist/cdn/XBSWCPWL.js +0 -4
- package/dist/cdn/XCGUTUOQ.js +0 -4
- package/dist/cdn/XCZULBT2.js +0 -4
- package/dist/cdn/XDSMCVUY.js +0 -4
- package/dist/cdn/XDUUHNTI.js +0 -4
- package/dist/cdn/XENXRQVE.js +0 -4
- package/dist/cdn/XGBL4HQT.js +0 -4
- package/dist/cdn/XGVL6SVG.js +0 -4
- package/dist/cdn/XH4IUMSI.js +0 -4
- package/dist/cdn/XHJ6HIAU.js +0 -4
- package/dist/cdn/XJAMKWQE.js +0 -4
- package/dist/cdn/XJFTU6QX.js +0 -5
- package/dist/cdn/XL4TIA2H.js +0 -4
- package/dist/cdn/XLMV6RTN.js +0 -4
- package/dist/cdn/XQF2DLMD.js +0 -4
- package/dist/cdn/XQGXOBIW.js +0 -4
- package/dist/cdn/XRGUNVX3.js +0 -4
- package/dist/cdn/XTRWXZ7D.js +0 -4
- package/dist/cdn/XWLPBZRW.js +0 -4
- package/dist/cdn/XXO7CVZX.js +0 -4
- package/dist/cdn/XYFDXOLZ.js +0 -4
- package/dist/cdn/XZBNEKQ7.js +0 -4
- package/dist/cdn/Y2JGLPE7.js +0 -4
- package/dist/cdn/Y2P5LQ6Y.js +0 -4
- package/dist/cdn/Y2XRBNFM.js +0 -42
- package/dist/cdn/Y42ZRXKB.js +0 -4
- package/dist/cdn/Y4RKGCT2.js +0 -4
- package/dist/cdn/Y4YHFSBH.js +0 -4
- package/dist/cdn/Y7H3QUC2.js +0 -4
- package/dist/cdn/YAPIZJDW.js +0 -4
- package/dist/cdn/YCI36TQL.js +0 -4
- package/dist/cdn/YCMDHRQY.js +0 -4
- package/dist/cdn/YCQXBLHK.js +0 -4
- package/dist/cdn/YCVJ5IJH.js +0 -4
- package/dist/cdn/YDGLFEQR.js +0 -4
- package/dist/cdn/YEKRKR35.js +0 -4
- package/dist/cdn/YGFGACHE.js +0 -4
- package/dist/cdn/YGYZSTI7.js +0 -4
- package/dist/cdn/YJKJVWXL.js +0 -4
- package/dist/cdn/YL2KCTHN.js +0 -4
- package/dist/cdn/YOEMJSHC.js +0 -4
- package/dist/cdn/YORFG5CD.js +0 -4
- package/dist/cdn/YQCJ6TX4.js +0 -4
- package/dist/cdn/YSFGI3TK.js +0 -4
- package/dist/cdn/YU2NTFTF.js +0 -4
- package/dist/cdn/YY6FGELT.js +0 -4
- package/dist/cdn/YYVWXDOV.js +0 -4
- package/dist/cdn/Z3I7HE6H.js +0 -4
- package/dist/cdn/Z4UUCVRD.js +0 -4
- package/dist/cdn/Z4ZARDVJ.js +0 -7
- package/dist/cdn/Z5IBH37H.js +0 -4
- package/dist/cdn/Z5K5MFGL.js +0 -4
- package/dist/cdn/Z6A6MUYK.js +0 -4
- package/dist/cdn/ZA7JQWYT.js +0 -4
- package/dist/cdn/ZDZPWNRV.js +0 -4
- package/dist/cdn/ZF2YKTCZ.js +0 -4
- package/dist/cdn/ZIHSDVHN.js +0 -4
- package/dist/cdn/ZJAVUHNJ.js +0 -4
- package/dist/cdn/ZMSCA2SX.js +0 -4
- package/dist/cdn/ZNHAXNDZ.js +0 -4
- package/dist/cdn/ZON6CVVD.js +0 -4
- package/dist/cdn/ZQ3ZKZCC.js +0 -4
- package/dist/cdn/ZRONJQE7.js +0 -4
- package/dist/cdn/ZSURCDZS.js +0 -4
- package/dist/cdn/ZYRKSLJU.js +0 -4
- package/dist/cdn/ZZR7LZXG.js +0 -4
package/dist/cdn/BB5WGQMJ.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.8/esri/copyright.txt for details.
|
|
3
|
-
v0.8.1 */
|
|
4
|
-
import{a as Ze,c as et}from"./NXM4LZHL.js";import{a as st}from"./M5J2GWWZ.js";import{a as Pe,b as Ae,c as ke,d as De,e as Ee}from"./KJHRSXBG.js";import{a as tt}from"./4CWQTDV3.js";import{a as ie}from"./B5U73K65.js";import{a as Ie}from"./I3F6MLHK.js";import{a as de}from"./4IIBSIL5.js";import{a as le,b as j}from"./Q7YFPP3S.js";import{a as he}from"./N5B5GYEJ.js";import b from"./BBSHFY2N.js";import"./FEHY7NIG.js";import a from"./SNB4MX72.js";import"./OKGZTDWE.js";import"./CWBD74ZT.js";import{a as Re}from"./C4QNF62J.js";import{a as B}from"./DIGJN347.js";import{b as Le}from"./YCI36TQL.js";import{c as Be,d as Ge,e as Ce,f as ze,g as re}from"./R5HZZAWU.js";import{a as Ke,b as qe}from"./JQHNPY2J.js";import{a as _e}from"./2WEJWLKF.js";import{a as We}from"./32GDPHDN.js";import"./3XEJ2XDG.js";import"./J7NRVBUW.js";import{f as Me}from"./S5U75HWS.js";import"./4PHVKWY2.js";import"./Z5K5MFGL.js";import"./Q4WN3W3Z.js";import"./UJXVFY5W.js";import"./OSKDHACE.js";import"./C5N32EVV.js";import"./OM56TWGS.js";import"./BCEYEQFL.js";import{a as Te}from"./J22TXAEE.js";import{a as W}from"./YL2KCTHN.js";import{c as Z,j as ne}from"./CFW7DIFC.js";import"./3AMHCJNZ.js";import{a as g}from"./D5HVQY7Q.js";import"./CMU7SEPK.js";import{a as V}from"./JANHJOZF.js";import"./E5GGCYBD.js";import"./TWR5MUEN.js";import{b as r,c as G,d as z,e as C,h as D,i as K}from"./KA6GQXUN.js";import"./VYTCUSB7.js";import"./AJ6GGK2S.js";import{O as He,Q as Fe,R as Ne,S as M,T as Ue,U as ve,V as Ve}from"./J5FRWPSD.js";import"./QDIWAJ5J.js";import"./S6EQJDUQ.js";import"./GCT7FPF4.js";import"./L4IWYZII.js";import"./24N37AIY.js";import"./6BPZ2ULY.js";import"./LNILZWFP.js";import"./ZF2YKTCZ.js";import"./LI6ZOAME.js";import"./KXHL3YBP.js";import"./PHT4TC3P.js";import"./IAYHRSYB.js";import"./Z4ZARDVJ.js";import"./5F3DAQ5C.js";import"./DVO47PQ4.js";import"./S2ATUHGW.js";import"./7UMAACBS.js";import"./PKOBKK7F.js";import"./WUROUPC6.js";import"./UOGM26EC.js";import"./22OX3RIJ.js";import"./BSAZZUU3.js";import"./773VBJCI.js";import"./4NIAWDIC.js";import"./TKE5TCJR.js";import{a as ye,f as x,g as Se,h as fe,i as je}from"./GT5GCRHM.js";import"./XGBL4HQT.js";import"./7WIKZDT2.js";import{c as $,d as m,f as A,i as v,o as ae}from"./2C3DGITH.js";import"./WGLDMASD.js";import{h as be}from"./BKSKZHEZ.js";import"./SGQZFHTJ.js";import"./XXO7CVZX.js";import"./NIMCLH2N.js";import"./PSTQSHLX.js";import"./LOBJJJER.js";import"./ST3NI5NF.js";import"./HGLACPHM.js";import"./CROILMII.js";import"./KJ7NGR3W.js";import"./2QR7C3XJ.js";import"./JJT7X2OT.js";import"./ZQ3ZKZCC.js";import"./ZIHSDVHN.js";import"./CLVHWDAT.js";import"./TSWMOLNO.js";import"./3UMF3AMN.js";import"./BWWDKHFW.js";import"./Y7H3QUC2.js";import"./EAXIAS6Z.js";import"./LQJXGUJR.js";import{a as Y}from"./XAOO5DNT.js";import"./W7GLKRYJ.js";import"./6JQA3HEE.js";import"./PTAKJI7G.js";import{a as J}from"./NWN4JXE2.js";import"./3FAH6ERC.js";import"./T3JASSCT.js";import"./WDLGAOGV.js";import"./5UGUSKGK.js";export default $arcgis.t(([,{a:ce,b:$e,c:xe,h:we,i:se,j:X,n:Qe,p:Ye,q:Oe,r:Je,s:Xe},ue])=>{function gt(e){function t(s,i,o){let{get:n}=o,a=function(){let l=n.call(this);return Ze(l,e)};return Object.assign(Object.assign({},o),{get:a})}return t}var mt="data-mention",bt=new RegExp(`<[a-z-]+( [a-z-]+(=('|")[\\w- ]+('|"))?)*( ${mt}=('|")[\\w@\\.-]+('|"))( [a-z-]+(=('|")[\\w- ]+('|"))?)*>@[\\w@\\.-]+</[a-z-]+>`,"g"),yt=(e,t)=>{let s=re(e)[0];return t?t.find(i=>i.userId===s):null};function ft(e,t,s,i,o){let n=Z(),a=(c="")=>{var l,d,u,h,p,y,b,f,_,w,T;let E=c.match(bt);if(E){let[k]=E,O=c.indexOf(k),P=O+k.length,L=O>0?c.substring(0,O):"",N=c.substring(O,O+k.length),R=yt(N,i),U=N.replace(k,`<arcgis-hub-discussions-mention-popover
|
|
5
|
-
access="${(d=(l=R?.user)===null||l===void 0?void 0:l.access)!==null&&d!==void 0?d:""}"
|
|
6
|
-
channel-access="${x(o)}"
|
|
7
|
-
channel-id="${o.id}"
|
|
8
|
-
creator-username="${s?.username||t.creator}"
|
|
9
|
-
full-name="${(h=(u=R.user)===null||u===void 0?void 0:u.fullName)!==null&&h!==void 0?h:""}"
|
|
10
|
-
organization="${(y=(p=R.org)===null||p===void 0?void 0:p.name)!==null&&y!==void 0?y:""}"
|
|
11
|
-
region="${((b=R.user)===null||b===void 0?void 0:b.region)||""}"
|
|
12
|
-
thumbnail="${((f=R.user)===null||f===void 0?void 0:f.thumbnail)||""}"
|
|
13
|
-
token="${(_=n.hubRequestOptions.authentication)===null||_===void 0?void 0:_.token}"
|
|
14
|
-
user-id="${(T=(w=R.user)===null||w===void 0?void 0:w.id)!==null&&T!==void 0?T:""}"
|
|
15
|
-
username="${R.userId}"
|
|
16
|
-
>${k}</arcgis-hub-discussions-mention-popover>`);return L+U+a(c.substring(P))}else return c};return a(e)}function vt(){function e(t,s,i){let{get:o}=i,n=function(){let c=o.call(this);return ft(c,this.post,this.postCreator,this.postMentionedUsers,this.channel)};return Object.assign(Object.assign({},i),{get:n})}return e}function Ct(e,t,s){let i={channelId:e,postId:t,discussions:!0};s&&(i.replyId=t,i.postId=s);let o=new URL(globalThis.location.href);Object.entries(i).forEach(([n,a])=>{o.searchParams.set(n,a.toString())}),navigator.clipboard.writeText(o.toString())}async function it(e,t){let{post:s}=e,{postMentionedUsers:i}=e;if(s){let o=re(s.body);i=(i??[]).filter(c=>o.includes(c.userId));let n=o.filter(c=>!i.find(l=>c===l.userId)),a=await Promise.all(n.map(async c=>{let l,d,u,h;try{l=await Ae(c,t),d=null}catch(p){d=p,l=null}try{u=l?.orgId?await tt(l.orgId,t):null,h=null}catch(p){h=p,u=null}return{userId:c,user:l,userError:d,org:u,orgError:h}}));i=[...i,...a]}else i=null;return{postMentionedUsers:i}}function rt(e,t){function s(i,o,n){let{get:a}=n,c=function(...d){var u;let h=a.apply(this,d);return h&&this.post.status!==A.APPROVED?et(h,(u=this.channel.blockWords)!==null&&u!==void 0?u:[],e,t,this.intl,{labelKey:"blockedWordTooltipLabel",textKey:"blockedWordTooltipText"}):h};return Object.assign(Object.assign({},n),{get:c})}return s}var _t=`.sc-arcgis-hub-discussions-post-h{display:block}.sc-arcgis-hub-discussions-post-h:not([parent-id]){padding-top:0.75rem;padding-bottom:0.75rem}[data-view$="renderPost"].sc-arcgis-hub-discussions-post-h{background-color:var(--calcite-color-foreground-1)}[data-view$="renderEditor"].sc-arcgis-hub-discussions-post-h:not([parent-id]){background-color:transparent}arcgis-hub-discussions-post-header.sc-arcgis-hub-discussions-post,.sc-arcgis-hub-discussions-post-s>[slot='metadata']{margin-left:1rem;margin-right:1rem;margin-bottom:0.5rem}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-header.sc-arcgis-hub-discussions-post,.sc-arcgis-hub-discussions-post-h[parent-id].sc-arcgis-hub-discussions-post-s>[slot='metadata'],.sc-arcgis-hub-discussions-post-h[parent-id] .sc-arcgis-hub-discussions-post-s>[slot='metadata']{margin-left:0px;margin-right:0px}.sc-arcgis-hub-discussions-post-s>[slot='metadata'],.sc-arcgis-hub-discussions-post-s>[slot='editor']{display:none}.sc-arcgis-hub-discussions-post-h:has(slot-fb[name='metadata']).sc-arcgis-hub-discussions-post-s>[slot='metadata'],.sc-arcgis-hub-discussions-post-h:has(slot-fb[name='metadata']) .sc-arcgis-hub-discussions-post-s>[slot='metadata'],.sc-arcgis-hub-discussions-post-h:has(slot-fb[name='editor']).sc-arcgis-hub-discussions-post-s>[slot='editor'],.sc-arcgis-hub-discussions-post-h:has(slot-fb[name='editor']) .sc-arcgis-hub-discussions-post-s>[slot='editor']{display:block}arcgis-hub-discussions-post-chips.sc-arcgis-hub-discussions-post{padding-left:1rem;padding-right:1rem;padding-bottom:0.75rem}header.sc-arcgis-hub-discussions-post{margin-left:1rem;margin-right:1rem;margin-bottom:0.25rem;overflow-wrap:break-word;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}arcgis-multiline-ellipsis.sc-arcgis-hub-discussions-post{margin:0px;margin-left:1rem;margin-right:1rem;font-size:var(--calcite-font-size-0);line-height:1.375rem;color:var(--calcite-color-text-1)}footer.sc-arcgis-hub-discussions-post{display:flex;flex-direction:column}article.sc-arcgis-hub-discussions-post:has(arcgis-hub-discussions-post-geography[data-count='0']) footer.sc-arcgis-hub-discussions-post:not(:has(arcgis-hub-discussions-post-reactions)){margin-top:0.5rem}footer.sc-arcgis-hub-discussions-post .actions.sc-arcgis-hub-discussions-post{margin-left:0.5rem;margin-right:0.5rem;display:flex;justify-content:space-between}footer.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-reactions.sc-arcgis-hub-discussions-post{margin-left:1rem;margin-right:1rem;margin-top:0.75rem;margin-bottom:0.75rem}[parent-id].sc-arcgis-hub-discussions-post-h footer.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-reactions.sc-arcgis-hub-discussions-post{margin-left:0px;margin-right:0px}arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post{margin-top:0px;margin-bottom:0px;margin-left:var(--arcgis-hub-discussions-post-editor-x-margin, 0.75rem);margin-right:var(--arcgis-hub-discussions-post-editor-x-margin, 0.75rem)}calcite-notice.sc-arcgis-hub-discussions-post{margin-left:1rem;margin-right:1rem;margin-bottom:1.5rem}footer.sc-arcgis-hub-discussions-post+calcite-notice.sc-arcgis-hub-discussions-post{margin-top:1rem}arcgis-hub-discussions-post-geography[loading].sc-arcgis-hub-discussions-post{margin-left:1rem;margin-right:1rem}calcite-popover[data-popper-placement][data-popper-reference-hidden].sc-arcgis-hub-discussions-post{pointer-events:auto;opacity:1}calcite-popover.sc-arcgis-hub-discussions-post{pointer-events:auto !important}.discussions-post-action-menu.sc-arcgis-hub-discussions-post:active .discussions-post-action-menu-icon.sc-arcgis-hub-discussions-post{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-post-action-menu-options.sc-arcgis-hub-discussions-post:active{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-post-action-menu-options.sc-arcgis-hub-discussions-post:active .discussions-post-action-menu-options-icon.sc-arcgis-hub-discussions-post{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-post-replies.sc-arcgis-hub-discussions-post:active{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-post-replies.sc-arcgis-hub-discussions-post:active .discussions-post-replies-icon.sc-arcgis-hub-discussions-post{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.actions.sc-arcgis-hub-discussions-post{display:flex;align-items:center}[parent-id].sc-arcgis-hub-discussions-post-h article.sc-arcgis-hub-discussions-post{position:relative;display:grid;grid-template-rows:repeat(1, minmax(0, 1fr));gap:0.75rem;grid-template-columns:2rem auto}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-chips.sc-arcgis-hub-discussions-post{padding-bottom:0px}[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips:not([data-count='0'])) div.sc-arcgis-hub-discussions-post{grid-row-start:2;grid-row-end:2}[parent-id].sc-arcgis-hub-discussions-post-h article.arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post,[parent-id].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post{padding-bottom:1.25rem}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post{position:relative;z-index:10}[parent-id].sc-arcgis-hub-discussions-post-h article.arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post::before,[parent-id].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{position:absolute;top:0px;display:block;height:100%;width:0.125rem;background-color:var(--calcite-color-foreground-2);left:15px;content:''}[parent-id][index='0'].sc-arcgis-hub-discussions-post-h article.arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post::before,[parent-id][index='0'].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{top:2.25rem;height:calc(100% - 2.25rem)}[parent-id][index='0'].sc-arcgis-hub-discussions-post-h article.arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post::before,[parent-id][index='0'].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{height:0px}[parent-id][index='0'].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count]) article.arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post::before,[parent-id][index='0'].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count]) .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{top:2.75rem;height:calc(100% - 2.75rem)}[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count]) article.arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post::before,[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count]) .arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{height:2.25rem}[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count='0']) .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post{padding-top:0.25rem}[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count='0']) article.arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post::before,[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count='0']) .arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{height:0px}[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips) article.arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post::before,[parent-id].sc-arcgis-hub-discussions-post-h article.arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post:not(:has(arcgis-hub-discussions-post-chips))::before,[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips) .arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before,[parent-id].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post:not(:has(arcgis-hub-discussions-post-chips)) arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{height:0px}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post{margin-left:0px;margin-right:0px}[parent-id].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post{padding-bottom:1.5rem}[parent-id].sc-arcgis-hub-discussions-post-h article.arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before,[parent-id].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before{z-index:-10}[parent-id].sc-arcgis-hub-discussions-post-h .arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post::before,[parent-id][index='0'].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count='0']) article.arcgis-hub-discussions-post-lead.arcgis-hub-discussions-post-last.sc-arcgis-hub-discussions-post::before{height:0px}[parent-id][index='0'].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips[data-count='0']) article.arcgis-hub-discussions-post-lead.sc-arcgis-hub-discussions-post::before{top:2.25rem;height:calc(100% - 2.25rem)}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-multiline-ellipsis.sc-arcgis-hub-discussions-post{margin-left:0px;margin-right:0px}[parent-id].sc-arcgis-hub-discussions-post-h calcite-action-group.sc-arcgis-hub-discussions-post{margin-left:-0.5rem}.hidden.sc-arcgis-hub-discussions-post{visibility:hidden}@keyframes in-right{0%{opacity:0;transform:translate3D(-100%, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}article.in.sc-arcgis-hub-discussions-post{animation:in-right 300ms ease-out forwards}@keyframes out-left{0%{opacity:1;transform:translate3D(0, 0, 0)}100%{opacity:0;transform:translate3D(-100%, 0, 0)}}article.out.sc-arcgis-hub-discussions-post{animation:out-left 300ms ease-out forwards}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-post{padding-bottom:1rem}.arcgis-hub-discussions-post-editor-container.sc-arcgis-hub-discussions-post{overflow:visible}@keyframes in-left{0%{opacity:0;transform:translate3D(100%, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}.arcgis-hub-discussions-post-editor-container.in.sc-arcgis-hub-discussions-post{animation:in-left 300ms ease-out forwards}@keyframes out-right{0%{opacity:1;transform:translate3D(0, 0, 0)}100%{opacity:0;transform:translate3D(100%, 0, 0)}}.arcgis-hub-discussions-post-editor-container.out.sc-arcgis-hub-discussions-post{animation:out-right 300ms ease-out forwards}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-editor[post-id][parent-id].sc-arcgis-hub-discussions-post{padding-left:0px;padding-right:0px}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-multiline-ellipsis.sc-arcgis-hub-discussions-post+calcite-notice.sc-arcgis-hub-discussions-post{margin-top:1rem}[parent-id].sc-arcgis-hub-discussions-post-h article.sc-arcgis-hub-discussions-post{padding-top:0.75rem;padding-bottom:0.75rem}[parent-id].sc-arcgis-hub-discussions-post-h article.out-of-context.sc-arcgis-hub-discussions-post{margin-left:1rem;margin-right:1rem;display:grid;gap:0.5rem;font-style:normal;grid-template-columns:1fr}[parent-id].sc-arcgis-hub-discussions-post-h article.out-of-context.sc-arcgis-hub-discussions-post>div.reply-body.sc-arcgis-hub-discussions-post{display:grid;gap:0.25rem}[parent-id].sc-arcgis-hub-discussions-post-h article.out-of-context.sc-arcgis-hub-discussions-post>div.reply-body.sc-arcgis-hub-discussions-post>arcgis-hub-discussions-post-geography.sc-arcgis-hub-discussions-post{margin-left:-1rem}[parent-id].sc-arcgis-hub-discussions-post-h article.out-of-context.sc-arcgis-hub-discussions-post>div.reply-body.sc-arcgis-hub-discussions-post>arcgis-hub-discussions-post-reactions.sc-arcgis-hub-discussions-post{grid-column:span 1 / span 1}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-popover.sc-arcgis-hub-discussions-post{grid-row:span 2 / span 2;grid-row-start:1;grid-row-end:1}[parent-id].sc-arcgis-hub-discussions-post-h:has(arcgis-hub-discussions-post-chips:not([data-count='0'])) arcgis-hub-discussions-popover.sc-arcgis-hub-discussions-post{grid-row-start:2;grid-row-end:2}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-chips.sc-arcgis-hub-discussions-post{grid-column-start:2;grid-row-start:1;grid-row-end:1;height:1.5rem}[parent-id].sc-arcgis-hub-discussions-post-h calcite-avatar.sc-arcgis-hub-discussions-post{position:relative;margin-top:-0.25rem;padding-top:0.25rem;padding-bottom:0.25rem;background-color:var(--calcite-color-foreground-1);box-sizing:initial}[parent-id].sc-arcgis-hub-discussions-post-h footer.sc-arcgis-hub-discussions-post{display:grid;grid-template-columns:auto 48px}[parent-id].sc-arcgis-hub-discussions-post-h footer.sc-arcgis-hub-discussions-post calcite-action.sc-arcgis-hub-discussions-post{grid-column-start:2}[parent-id].sc-arcgis-hub-discussions-post-h arcgis-hub-discussions-post-reactions.sc-arcgis-hub-discussions-post{grid-column:span 2 / span 2;margin-top:0.75rem;margin-bottom:0.75rem}[parent-id].sc-arcgis-hub-discussions-post-h calcite-notice.sc-arcgis-hub-discussions-post{margin:0px}.blocked.sc-arcgis-hub-discussions-post{-webkit-text-decoration-line:underline;text-decoration-line:underline;-webkit-text-decoration-color:var(--calcite-color-status-danger);text-decoration-color:var(--calcite-color-status-danger);-webkit-text-decoration-style:dashed;text-decoration-style:dashed;color:var(--calcite-color-status-danger)}`,xt=_t,Q=function(e,t,s,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,s):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(n=(o<3?a(n):o>3?a(t,s,n):a(t,s))||n);return o>3&&n&&Object.defineProperty(t,s,n),n},I;(function(e){e.Skeleton="skeleton",e.Post="post",e.Reply="reply",e.OutOfContext="outOfContext",e.Editor="editor",e.Deleted="deleted",e.Hidden="hidden"})(I||(I={}));var S;(function(e){e.IN="in",e.OUT="out",e.HIDDEN="hidden"})(S||(S={}));var q=class{constructor(e){K(this,e),this.arcgisHubDiscussionsPostEdit=C(this,"arcgisHubDiscussionsPostEdit",7),this.arcgisHubDiscussionsPostDelete=C(this,"arcgisHubDiscussionsPostDelete",7),this.arcgisHubDiscussionsPostSelect=C(this,"arcgisHubDiscussionsPostSelect",7),this.arcgisHubDiscussionsGeometryDrawReset=C(this,"arcgisHubDiscussionsGeometryDrawReset",7),this.arcgisHubDiscussionsGeometryDeselect=C(this,"arcgisHubDiscussionsGeometryDeselect",7),this.hubTelemetry=C(this,"hubTelemetry",7),this.arcgisHubDiscussionsPostReady=C(this,"arcgisHubDiscussionsPostReady",7),this.postId=void 0,this.post=void 0,this.postCreator=void 0,this.postCreatorOrg=void 0,this.postError=void 0,this.postMentionedUsers=void 0,this.channelId=void 0,this.channel=void 0,this.channelGroups=void 0,this.parentId=void 0,this.parent=void 0,this.parentCreator=void 0,this.parentCreatorOrg=void 0,this.hasMap=void 0,this.isHub=void 0,this.unsavedFeatures=void 0,this.unsavedRelatedFeatures=void 0,this.unsavedExistingFeatures=[],this.preview=void 0,this.index=void 0,this.discussion=void 0,this.entityId=void 0,this.entityType=void 0,this.discussionSettings=void 0,this.entity=void 0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.displayFieldKey=void 0,this.isMobile=void 0,this.locationId=void 0,this.lead=void 0,this.lastIndex=void 0,this.loading=void 0,this.showLocations=void 0,this.disableSelectExistingLocation=void 0,this.locationDescriptionText=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this._context=Z(),this.minHeight=null,this.popoverIsOpen=void 0,this.articleClass=null,this.editorClass=S.HIDDEN,this.renderedEl=null,this.editing=!1,this.errorMessage=null,this.intl=void 0,this.isCopied=void 0,this._loading=!1,W(this,"handleDelete","handleEdit","handleCopyLink","handleCopyTooltipBeforeOpen","handleCopyTooltipClose","handleActionsPopoverBeforeOpenClose","handleToggleVisibility","handleViewThread","handleReply","handleViewReplies","handleLinkClicked","renderDeleted","renderHidden","renderPost","renderReply","renderEditor","renderSkeleton","handleViewPost","handleSetComponentRef","handleAnimationEnd","renderReplyOutOfContext","handleViewAllReplies","handleReplyOutOfContextReadMore")}connectedCallback(){ne(this),this.addAnimationEventListeners(this.renderedEl)}componentWillLoad(){this.initialize()}disconnectedCallback(){this.removeAnimationEventListeners(this.renderedEl),this.disconnectContext()}handlePostViewAllGeography(){let{postId:e,post:t,postCreator:s,postCreatorOrg:i,channel:o,channelGroups:n,channelId:a}=this;this.arcgisHubDiscussionsPostSelect.emit({parent:t,parentId:e,parentCreator:s,parentCreatorOrg:i,channelId:a,channel:o,channelGroups:n})}handleMultilineEllipsisExpanded(e){this.isReply||(e.preventDefault(),e.stopPropagation(),this.handleViewThread())}handleCalcitePopoverOpen(e){var t;let{open:s}=e.target;e.target!==this.menuPopoverElement&&(!((t=this.menuPopoverElement)===null||t===void 0)&&t.open)?this.menuPopoverElement.setFocus():e.target===this.menuPopoverElement&&s&&this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.popover.details.options),{position:this.index}))}handleReactionChanged(e){e.stopPropagation();let t=e.target;this.post=t.post,this.arcgisHubDiscussionsPostEdit.emit(t.post)}emitHubTelemetry(e){let{postId:t,parentId:s,channel:i,channelId:o}=this;this.hubTelemetry.emit(Object.assign(Object.assign({},e),{postId:t,parentId:s,channelId:o,channelAccess:i?x(i):void 0}))}async loadDependencies(){return this._loading=!0,this.fetchDependencies().then(e=>{Object.assign(this,e),this._loading=!1,this.arcgisHubDiscussionsPostReady.emit()})}fetchDependencies(){return this._fetchDependencies()}async _fetchDependencies(){let{postId:e,postCreator:t,postCreatorOrg:s,parent:i,parentId:o,parentCreator:n,post:a,postMentionedUsers:c,channel:l,channelId:d,_context:u,discussion:h,entityId:p,entity:y,entityType:b,discussionSettings:f,displayFieldKey:_,displayFieldValid:w,displayFieldValue:T,isHub:E,locationId:k,channelGroups:O}=this,[P,L]=await Promise.all([Pe({postId:e,post:a},u.hubRequestOptions),de({isHub:E},u.hubRequestOptions)]),[N,R]=await Promise.all([ke(Object.assign({postCreator:t,postCreatorOrg:s},P),u.hubRequestOptions),De(Object.assign({parentId:o,parent:i},P),u.hubRequestOptions)]),[U,pe,ge,me]=await Promise.all([ue(Object.assign(Object.assign({discussion:h,entityId:p,entityType:b,entity:y,displayFieldKey:_,displayFieldValid:w,displayFieldValue:T,locationId:k,discussionSettings:f},P),R),u.hubRequestOptions,!0),he(Object.assign(Object.assign({channelId:d,channel:l,channelGroups:O},P),R),u.hubRequestOptions),Ee(Object.assign({parentCreator:n},R),u.hubRequestOptions),it(Object.assign({postMentionedUsers:c},P),u.hubRequestOptions)]);return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},P),N),R),ge),pe),U),L),me)}async initialize(){this.loadTranslations(),this._context&&this.loadDependencies()}async loadTranslations(){this.intl=await V.loadIntlForComponent(this.element)}get postBody(){return this.post.body}get postTitle(){return this.post.title}get isRtl(){return this.intl.direction==="rtl"}handleDelete(){let{_context:e,postId:t,post:s,menuPopoverElement:i,isReply:o}=this;return this.errorMessage=null,i&&(i.open=!1),Ue(Object.assign({postId:t},e.hubRequestOptions)).then(()=>{this.deletedDuringSession=!0,this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.content.action.delete),{response:g.constants.response.SUCCESS})),this.arcgisHubDiscussionsPostDelete.emit(s)}).catch(n=>{this.errorMessage=o?"deleteFailureReply":"deleteFailure",this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.content.action.delete),{response:g.constants.response.FAILURE})),console.error("Could not delete post:",n.message)})}handleEdit(){this.menuPopoverElement&&(this.menuPopoverElement.open=!1),setTimeout(()=>this.transitionEditorView(!0),100),this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.editor),{position:this.index}))}handleCopyLink(){Ct(this.channelId,this.postId,this.parentId),this.isCopied=!0,this.copyTooltipRef.open=!0}handleCopyTooltipBeforeOpen(){this.isCopied||(this.copyTooltipRef.open=!1)}handleCopyTooltipClose(){this.isCopied=!1}handleActionsPopoverBeforeOpenClose(){this.isCopied=!1,this.copyTooltipRef&&(this.copyTooltipRef.open=!1)}handleToggleVisibility(){let{_context:e,post:t,menuPopoverElement:s}=this;this.errorMessage=null,s&&(s.open=!1);let i,o;return t.status===A.HIDDEN||t.status===A.BLOCKED?(i=A.APPROVED,o="show"):(i=A.HIDDEN,o="hide"),Ve(Object.assign({data:{status:i},postId:t.id},e.hubRequestOptions)).then(n=>M(Object.assign({postId:n.id,data:{relations:[v.REACTIONS,v.REPLIES,v.CHANNEL,v.CHANNEL_ACL]}},this._context.hubRequestOptions))).then(n=>(n.replyCount=n.replies.total,delete n.replies,this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.status.details[o]),{response:g.constants.response.SUCCESS})),this.arcgisHubDiscussionsPostEdit.emit(n),n)).catch(n=>(console.error("Could not update post status:",n.message),this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.status.details[o]),{response:g.constants.response.FAILURE})),null))}handleViewThread(){let{index:e,postId:t,post:s,postCreator:i,postCreatorOrg:o,channel:n,channelGroups:a,channelId:c}=this;this.arcgisHubDiscussionsPostSelect.emit({parentId:t,parent:s,parentCreator:i,parentCreatorOrg:o,channel:n,channelGroups:a,channelId:c}),e!==void 0&&this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.thread),{position:e}))}handleReply(){let{postId:e,post:t,postCreator:s,postCreatorOrg:i,channel:o,channelGroups:n,channelId:a}=this;this.arcgisHubDiscussionsPostSelect.emit({parentId:e,parent:t,parentCreator:s,parentCreatorOrg:i,channel:o,channelGroups:n,channelId:a,scrollTarget:"editor"}),this.emitHubTelemetry(g.dictionary.category.interaction.action.open.label.editor.details.reply)}handleViewReplies(){let{postId:e,post:t,postCreator:s,postCreatorOrg:i,channel:o,channelGroups:n,channelId:a}=this;this.arcgisHubDiscussionsPostSelect.emit({parentId:e,parent:t,parentCreator:s,parentCreatorOrg:i,channel:o,channelGroups:n,channelId:a,scrollTarget:"list"}),this.emitHubTelemetry(g.dictionary.category.interaction.action.open.label.thread.details.bodyAction)}handleLinkClicked(e){let t=e.target;if(["CALCITE-LINK"].includes(t.nodeName)&&!t.hasAttribute("data-mention")){let{postId:s,parentId:i,channel:o,index:n}=this;this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.navigation.action.external.label.link),{details:t.href,postId:s,parentId:i,channelId:o.id,channelAccess:x(o),position:n}))}}capturePostDeepLinkImpression(){this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.viewed.label.post.details.thread),{response:g.constants.response.SUCCESS}))}capturePostListImpression(){this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.viewed.label.post.details.postList),{position:this.index}))}capturePostDeletedImpression(){this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.viewed.label.post.details.thread),{response:g.constants.response.FAILURE}))}capturePostHiddenImpression(){this.emitHubTelemetry(Object.assign(Object.assign({},g.dictionary.category.interaction.action.viewed.label.post.details.thread),{response:g.constants.response.FAILURE}))}handleRenderedElChange(e,t){this.removeAnimationEventListeners(t),this.addAnimationEventListeners(e)}handleContextChanged(e,t){var s,i;((s=e?.currentUser)===null||s===void 0?void 0:s.username)!==((i=t?.currentUser)===null||i===void 0?void 0:i.username)&&this.loadDependencies()}addAnimationEventListeners(e){e&&e.addEventListener("animationend",this.handleAnimationEnd)}removeAnimationEventListeners(e){e&&e.removeEventListener("animationend",this.handleAnimationEnd)}handleViewAllReplies(){let{parent:e,parentId:t,parentCreator:s,parentCreatorOrg:i,channel:o,channelId:n,channelGroups:a}=this;this.arcgisHubDiscussionsPostSelect.emit({parent:e,parentId:t,parentCreator:s,parentCreatorOrg:i,channelId:n,channel:o,channelGroups:a})}handleReplyOutOfContextReadMore(){let{parent:e,parentId:t,parentCreator:s,parentCreatorOrg:i,channel:o,channelId:n,channelGroups:a,postId:c,post:l,postCreator:d,postCreatorOrg:u}=this;this.arcgisHubDiscussionsPostSelect.emit({parent:e,parentId:t,parentCreator:s,parentCreatorOrg:i,channelId:n,channel:o,channelGroups:a,postId:c,post:l,postCreator:d,postCreatorOrg:u})}handleViewPost(e){e.stopPropagation();let{parent:t,parentId:s,parentCreator:i,parentCreatorOrg:o,channel:n,channelId:a,channelGroups:c,post:l,postId:d,postCreator:u,postCreatorOrg:h}=this;this.arcgisHubDiscussionsPostSelect.emit({parent:t,parentId:s,parentCreator:i,parentCreatorOrg:o,channelId:a,channel:n,channelGroups:c,post:l,postId:d,postCreator:u,postCreatorOrg:h})}handleSetComponentRef(e){e&&(this.renderedEl=e)}handlePostCanceled(e){e.stopPropagation(),this.transitionEditorView(!1),this.arcgisHubDiscussionsGeometryDeselect.emit(),this.arcgisHubDiscussionsGeometryDrawReset.emit()}async handlePostCreatedOrDeleted(e){var t;if(e.detail.parentId===((t=this.post)===null||t===void 0?void 0:t.id)){let s=await M(Object.assign({postId:this.post.id,data:{relations:[v.REACTIONS,v.REPLIES,v.CHANNEL,v.CHANNEL_ACL]}},this._context.hubRequestOptions));s.replyCount=s.replies.total,delete s.replies,this.arcgisHubDiscussionsPostEdit.emit(s)}}handleAnimationEnd(e){e.animationName==="out-left"?(this.editing=!0,this.editorClass=S.IN,this.articleClass=S.HIDDEN):e.animationName==="out-right"?(this.editing=!1,this.editorClass=S.HIDDEN,this.articleClass=S.IN):(this.editorClass=null,this.articleClass=null,this.minHeight=null)}async handlePostEditedBody(e){var t;if(((t=this.post)===null||t===void 0?void 0:t.id)===e.detail.id){this.post=e.detail;let{postMentionedUsers:s}=await it({postMentionedUsers:this.postMentionedUsers,post:this.post},this._context.hubRequestOptions);this.postMentionedUsers=s}}handlePostEdited(e){e.target.nodeName.toLowerCase()==="arcgis-hub-discussions-post-editor"&&this.transitionEditorView(!1)}handlePopoverOpen(){this.popoverIsOpen=!0}handlePopoverClose(){this.popoverIsOpen=!1}transitionEditorView(e){var t,s;this.minHeight=(s=(t=this.renderedEl)===null||t===void 0?void 0:t.offsetHeight)!==null&&s!==void 0?s:null,this.editorClass=e?S.HIDDEN:S.OUT,this.articleClass=e?S.OUT:S.HIDDEN}get isLoading(){return!this._context||this._loading||!this.intl||this.loading}get locationListIsDisabled(){let e=!1;return this.locationDescriptionText&&!this.isMobile||this.showLocations?e=!1:(!this.hasMap||this.isMobile)&&(e=!0),e}get views(){let{renderEditor:e,renderDeleted:t,renderHidden:s,renderPost:i,renderReply:o,renderSkeleton:n,renderReplyOutOfContext:a}=this;return{[I.Skeleton]:{render:n},[I.Post]:{render:i},[I.Reply]:{render:o},[I.OutOfContext]:{render:a},[I.Editor]:{render:e},[I.Deleted]:{render:t},[I.Hidden]:{render:s}}}get view(){let{views:e,post:t,postError:s,editing:i,isLoading:o,outOfContext:n,isReply:a}=this,c=s?.status,l;return o?l=I.Skeleton:c===404?l=I.Deleted:c===422?l=I.Hidden:t?i?l=I.Editor:n?l=I.OutOfContext:a?l=I.Reply:l=I.Post:l=I.Deleted,e[l]}get actionMenuActions(){let{isReply:e,post:t,channel:s,_context:i,intl:o,isHub:n}=this,a=[];return!e&&n&&a.push({icon:"link",text:o.t("link"),fn:this.handleCopyLink,ref:c=>{this.copyActionRef=c}}),i.currentUser&&(ze(s,i.currentUser)&&a.push(t.status===A.HIDDEN||t.status===A.BLOCKED?{icon:"view-visible",text:o.t("show"),fn:this.handleToggleVisibility}:{icon:"view-hide",text:o.t("hide"),fn:this.handleToggleVisibility}),e||((t.creator===i.currentUser.username||_e(t,i.currentUser,s))&&a.push({icon:"pencil",text:o.t("edit"),fn:this.handleEdit}),Ce(t,s,i.currentUser)&&a.push({icon:"trash",text:o.t("delete"),fn:this.handleDelete}))),a}get creatorFullName(){let{intl:e,post:t,postCreator:s}=this,i=e.t("anonymous");return(s||t?.creator)&&(i=s?.fullName||e.t("privateUser")),i}get outOfContext(){let{index:e,lead:t,isReply:s}=this;return s&&!t&&e!==void 0}get styles(){let{minHeight:e}=this,t={};return e&&(t.minHeight=`${e}px`),t}get isReply(){var e;return!!(this.parent||this.parentId||!((e=this.post)===null||e===void 0)&&e.parentId)}renderEditor(){let{hasMap:e,index:t,isHub:s,unsavedFeatures:i,unsavedRelatedFeatures:o,unsavedExistingFeatures:n,post:a,postCreator:c,postCreatorOrg:l,displayFieldKey:d,displayFieldValue:u,displayFieldValid:h,entity:p,discussionSettings:y,discussion:b,entityId:f,entityType:_,isMobile:w,channelId:T,channel:E,channelGroups:k,locationId:O,postId:P,isReply:L,lead:N,lastIndex:R,editorClass:U,parent:pe,parentId:ge,parentCreator:me,showLocations:ht,disableSelectExistingLocation:pt}=this;return r("div",{class:{"arcgis-hub-discussions-post-lead":L&&N,"arcgis-hub-discussions-post-last":L&&t===R,[U]:!!U,"arcgis-hub-discussions-post-editor-container":!0},ref:this.handleSetComponentRef},r("slot",{name:"editor"},r("arcgis-hub-discussions-post-editor",{channel:E,channelGroups:k,channelId:T,disableSelectExistingLocation:pt,discussion:b,discussionSettings:y,displayFieldKey:d,displayFieldValid:h,displayFieldValue:u,entity:p,entityId:f,entityType:_,hasMap:e,index:t,isHub:s,isMobile:w,locationId:O,parent:pe,parentCreator:me,parentId:ge,post:a,postCreator:c,postCreatorOrg:l,postId:P,showLocations:ht,unsavedExistingFeatures:n,unsavedFeatures:i,unsavedRelatedFeatures:o})))}renderReactions(){let{post:e,channel:t}=this;if(t.allowReaction)return r("arcgis-hub-discussions-post-reactions",{channel:t,post:e})}renderMetadata(e,t,s,i,o,n,a,c,l){let{isHub:d,post:u,postCreator:h,postCreatorOrg:p,parentCreator:y,channel:b,index:f,parent:_,handleViewPost:w}=this;return r("slot",{name:"metadata"},r("arcgis-hub-discussions-post-header",{channel:b,iconScale:"l",index:f,isHub:d,metadataOrientation:e,onArcgisHubDiscussionsPostSelect:w,parent:_,parentCreator:y,post:u,postCreator:h,postCreatorOrg:p,showChannelAccessIcon:t,showChannelAvatar:s,showChannelName:i,showCreatorAvatar:o,showPopover:n,showReplyingTo:a,showTimestamp:l,showViewPostAction:c}))}renderPost(){let{intl:e,errorMessage:t,preview:s,post:i,channel:o,index:n,articleClass:a,showChannelAvatar:c,showChannelName:l}=this;return n===void 0?this.capturePostDeepLinkImpression():this.capturePostListImpression(),r("article",{class:{[a]:!!a},ref:this.handleSetComponentRef},r("arcgis-hub-discussions-post-chips",{channel:o,index:n,post:i}),this.renderMetadata("block",!0,c,l,!0,!0,!1,!1,!0),r("header",{innerHTML:this.postTitle}),r("arcgis-multiline-ellipsis",{"expand-enabled":s,"expand-icon":this.isRtl?"arrow-left":"arrow-right",innerHTML:this.postBody,lines:s?4:0,onClick:this.handleLinkClicked}),this.renderGeography(!1,!0),r("footer",null,this.renderReactions(),r("div",{class:"actions"},this.renderTextActions(),this.renderActionMenu())),t&&r("calcite-notice",{closable:!0,kind:"danger",open:!0,scale:"s"},r("div",{slot:"title"},e.t("error")),r("div",{slot:"message"},e.t(t))))}renderTextActions(){let{intl:e,post:t,preview:s,channel:i,_context:o}=this,n;return s?n=t.replyCount>1?"actions.viewMany":"actions.viewOne":n=t.replyCount>1?"actions.replies":"actions.oneReply",r("calcite-action-group",{layout:"horizontal"},s&&Ke(i,o.currentUser)&&ye(this.entity)&&r("calcite-action",{class:"text-action-reply",onClick:this.handleReply,scale:"s",text:e.t("actions.reply"),textEnabled:!0}),t.replyCount!==0&&r("calcite-action",{class:"text-action-view-reply",disabled:!s,onClick:this.handleViewReplies,scale:"s",text:e.t(n,{count:t.replyCount}),textEnabled:!0}))}renderActionMenu(){let{intl:e,isReply:t,actionMenuActions:s}=this;if(s.length)return r(D,null,r("calcite-action",{alignment:"center",class:"discussions-post-action-menu",ref:i=>{this.menuActionElement=i},scale:"s",text:e.t("options")},r("calcite-icon",{class:"discussions-post-action-menu-icon",icon:"ellipsis",scale:"s"})),r("calcite-popover",{autoClose:!0,flipPlacements:t?["top","bottom"]:["top-end","bottom-end"],label:e.t("options"),offsetDistance:0,onCalcitePopoverBeforeClose:this.handleActionsPopoverBeforeOpenClose,onCalcitePopoverBeforeOpen:this.handleActionsPopoverBeforeOpenClose,overlayPositioning:"absolute",placement:"bottom-end",pointerDisabled:!0,ref:i=>{this.menuPopoverElement=i},referenceElement:this.menuActionElement},r("calcite-action-group",{layout:"vertical"},s.map(({text:i,fn:o,icon:n,ref:a})=>r("calcite-action",{class:"discussions-post-action-menu-options","data-action":i.toLowerCase(),id:"discussions-post-action-menu-option-"+n,key:n,onClick:o,ref:a,scale:"m",text:i,"text-enabled":"true"},r("calcite-icon",{class:"discussions-post-action-menu-options-icon",flipRtl:this.isRtl,icon:n,scale:"s"}))))),s.some(({icon:i})=>i==="link")&&r("calcite-tooltip",{onCalciteTooltipBeforeOpen:this.handleCopyTooltipBeforeOpen,onCalciteTooltipClose:this.handleCopyTooltipClose,open:!1,placement:"top",ref:i=>{this.copyTooltipRef=i},referenceElement:this.copyActionRef},r("span",null,e.t("copied"))))}renderDeleted(){let{intl:e,deletedDuringSession:t,isReply:s,handleViewAllReplies:i}=this;return t||this.capturePostDeletedImpression(),r("calcite-notice",{kind:"danger",open:!0,scale:"m"},r("div",{slot:"title"},e.t(s?"deleted.title.reply":"deleted.title")),r("div",{slot:"message"},e.t(s?"deleted.message.reply":"deleted.message")),s&&r("calcite-link",{onClick:i,slot:"link"},e.t("delete.action")))}renderHidden(){let{intl:e,isReply:t}=this;return this.capturePostHiddenImpression(),r("calcite-notice",{kind:"warning",open:!0,scale:"m"},r("div",{slot:"title"},e.t(t?"hidden.title.reply":"hidden.title")),r("div",{slot:"message"},e.t("hidden.message")))}renderSkeleton(){return r("arcgis-hub-discussions-post-skeleton",null)}render(){return r(G,{key:"2b0656f069cf1aad5df0e91ea81ff998eb165fdc",class:{loading:this._loading},"data-element":"discussions-post","data-view":this.view.render.name,style:this.styles},this.view.render())}renderAvatars(){var e;let{_context:t,isHub:s,parent:i,parentCreator:o,post:n,postCreator:a,postCreatorOrg:c,channel:l,intl:d,index:u,outOfContext:h}=this,p=!a&&n?{username:n.creator}:a,y=h?"l":"m",b=[r("calcite-avatar",{"full-name":p?.fullName,key:"creator",scale:y,thumbnail:p?.thumbnail&&be(t.hubRequestOptions.portal,p,(e=t.hubRequestOptions.authentication)===null||e===void 0?void 0:e.token),"user-id":p?.id,username:p?.username})];return h&&b.push(r("calcite-avatar",{"full-name":Qe(l,d.t("unnamedChannel")),scale:"m"})),o&&(b=r("arcgis-hub-discussions-popover",{channel:l,index:u,isHub:s,parent:i,parentCreator:o,post:n,postCreator:a,postCreatorOrg:c},b)),b}renderActions(){let{intl:e,_context:t,channel:s,post:i,isHub:o}=this,n=[];if(o&&n.push({text:e.t("link"),onClick:this.handleCopyLink,ref:a=>{this.copyActionRef=a}}),t.currentUser&&((i.creator===t.currentUser.username||_e(i,t.currentUser,s))&&n.push({text:e.t("edit"),onClick:this.handleEdit}),Ce(i,s,t.currentUser)&&n.push({text:e.t("delete"),onClick:this.handleDelete})),n.length)return r("calcite-action-group",{layout:"horizontal"},n.map(a=>r("calcite-action",{appearance:a.appearance,"data-action":a.text.toLowerCase(),icon:a.icon,key:a.text||a.pin,onClick:a.onClick,onMouseOver:a.onMouseOver,ref:a.ref,scale:"s",text:a.text,"text-enabled":!!a.text})),o&&r("calcite-tooltip",{onCalciteTooltipBeforeOpen:this.handleCopyTooltipBeforeOpen,onCalciteTooltipClose:this.handleCopyTooltipClose,open:!1,placement:"top",ref:a=>{this.copyTooltipRef=a},referenceElement:this.copyActionRef},r("span",null,e.t("copied"))))}renderReplyOutOfContext(){let{intl:e,errorMessage:t,index:s,lead:i,lastIndex:o,articleClass:n,handleReplyOutOfContextReadMore:a}=this;return s===void 0?this.capturePostDeepLinkImpression():this.capturePostListImpression(),r("article",{class:{"out-of-context":!0,"arcgis-hub-discussions-post-last":i&&s===o,[n]:!!n},ref:this.handleSetComponentRef},this.renderMetadata("block",!1,!0,!1,!0,!0,!0,!0,!1),r("div",{class:"reply-body"},r("arcgis-multiline-ellipsis",{"collapse-enabled":!0,"expand-enabled":!0,"expand-icon":this.isRtl?"arrow-left":"arrow-right",innerHTML:this.postBody,lines:4,onClick:a}),this.renderGeography(!0,!1),this.renderReactions(),r("footer",null,this.renderActions()),t&&r("calcite-notice",{closable:!0,kind:"danger",open:!0,scale:"s"},r("div",{slot:"title"},e.t("error")),r("div",{slot:"message"},e.t(t)))))}renderGeography(e,t){let{hasMap:s,channel:i,channelId:o,parentId:n,displayFieldKey:a,displayFieldValid:c,entity:l,isMobile:d,locationDescriptionText:u,locationListIsDisabled:h,post:p,postId:y,showLocations:b}=this;if(b)return r("arcgis-hub-discussions-post-geography",{channel:i,channelId:o,disabled:h,displayFieldKey:a,displayFieldValid:c,expandable:t,hasMap:s,isMobile:d,locationDescriptionText:u,parentId:n,post:p,postId:y,showLocationDescriptionText:!d,toggleable:e,url:l?.url})}renderReply(){let{intl:e,errorMessage:t,channel:s,post:i,articleClass:o,lead:n,index:a,lastIndex:c}=this,l={"arcgis-hub-discussions-post-lead":n,"arcgis-hub-discussions-post-last":n&&a===c};return o&&(l[o]=!0),a===void 0?this.capturePostDeepLinkImpression():this.capturePostListImpression(),r("article",{class:l,ref:this.handleSetComponentRef},r("arcgis-hub-discussions-post-chips",{channel:s,index:a,post:i}),this.renderAvatars(),r("div",null,this.renderMetadata("inline",!1,!1,!1,!1,!1,!1,!1,!0),r("arcgis-multiline-ellipsis",{"collapse-enabled":!0,"expand-enabled":!0,innerHTML:this.postBody,lines:4}),this.renderGeography(!0,!1),r("footer",null,this.renderReactions(),this.renderActions(),this.renderActionMenu()),t&&r("calcite-notice",{closable:!0,kind:"danger",open:!0,scale:"s"},r("div",{slot:"title"},e.t("error")),r("div",{slot:"message"},e.t(t)))))}static get assetsDirs(){return["locales"]}get element(){return z(this)}static get watchers(){return{renderedEl:["handleRenderedElChange"],_context:["handleContextChanged"]}}};Q([le({delay:300})],q.prototype,"fetchDependencies",null);Q([B("post.body","post.status"),gt({ignoreTags:["calcite-link"],replaceExisting:!0,tagName:"calcite-link"}),vt(),rt("postBody","sc-arcgis-hub-discussions-post blocked"),Ie({filterOptions:{whiteList:{"calcite-link":["href","data-mention"]}},extendDefaults:!0})],q.prototype,"postBody",null);Q([B("post.title","post.status"),rt("postTitle","sc-arcgis-hub-discussions-post blocked"),Ie()],q.prototype,"postTitle",null);Q([ie()],q.prototype,"capturePostDeepLinkImpression",null);Q([ie()],q.prototype,"capturePostListImpression",null);Q([ie()],q.prototype,"capturePostDeletedImpression",null);Q([ie()],q.prototype,"capturePostHiddenImpression",null);q.style=xt;var wt=':host{display:block}calcite-chip-group{display:flex;flex-direction:row;justify-content:flex-start;gap:0.25rem}:host([data-count="0"]){display:none}.end{margin-left:auto}',Ot=wt,Rt=class{constructor(e){K(this,e),this.hubTelemetry=C(this,"hubTelemetry",7),this.post=void 0,this.index=void 0,this.channel=void 0,this.activeTooltip=null,W(this,"handleTooltipOpen","renderChip","handleChipMouseEnter","handleChipMouseOut")}async componentWillLoad(){this.intl=await V.loadIntlForComponent(this.element)}handleTooltipOpen(e){let{post:t,channel:s,chipsToRender:i,index:o}=this,{tooltip:{telemetry:n}}=i.find(a=>a.type===e.target.dataset.type);this.hubTelemetry.emit(Object.assign(Object.assign({},n),{postId:t.id,parentId:t.parentId,channelId:s.id,channelAccess:x(s),position:o}))}handleChipMouseEnter(e){this.activeTooltip=e.target.dataset.type}handleChipMouseOut(){this.activeTooltip=null}get chipsToRender(){let{post:e,intl:t}=this,s=[];return(e.status===A.HIDDEN||e.status===A.BLOCKED)&&s.push({appearance:"outline",icon:"view-hide",kind:"neutral",tooltip:{telemetry:g.dictionary.category.interaction.action.open.label.tooltip.details.chipComponentWithStringHidden,text:e.status===A.BLOCKED?t.t("chip.hidden.label.blocked"):t.t("chip.hidden.label.moderator")},type:"hidden",value:t.t("chip.hidden.text")}),s}renderChip(e){let{activeTooltip:t,handleTooltipOpen:s}=this;return r(D,null,r("calcite-chip",{appearance:e.appearance,class:e.type==="hidden"&&"end","data-type":e.type,icon:e.icon,id:e.type,key:e.type,kind:e.kind,label:e.value,onMouseEnter:this.handleChipMouseEnter,onMouseOut:this.handleChipMouseOut,scale:"s",value:e.value},e.value),e.tooltip&&r("calcite-tooltip",{"data-type":e.type,label:e.tooltip.text,onCalciteTooltipOpen:s,open:t===e.type,overlayPositioning:"fixed",placement:"bottom",referenceElement:e.type},r("div",{class:"tooltip-body"},e.tooltip.text)))}render(){let{chipsToRender:e,index:t,intl:s}=this;return r(G,{key:"6ea6c416f8703ba913201a6ff0a602f8bacd95d9","data-count":e.length,"data-element":"post-chips","data-index":t},r("calcite-chip-group",{key:"22ce595913f6a108c5ed31f387ec7fccdaf76e9f",label:s.t("label"),scale:"s"},e.map(this.renderChip)))}static get assetsDirs(){return["locales"]}get element(){return z(this)}};Rt.style=Ot;var F;(function(e){e.AUDIENCE="audience",e.CONTENT="content"})(F||(F={}));var It="arcgis-hub-discussions-post-editor:not([parent-id]){display:block;border-radius:0.25rem;background-color:var(--calcite-color-foreground-1);padding:0.75rem;--tw-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.12);--tw-shadow-colored:0 2px 8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.hub-discussions-post-editor-header{margin-bottom:1.5rem;display:grid;grid-template-rows:repeat(1, minmax(0, 1fr));align-items:center;column-gap:0.75rem;grid-template-columns:44px auto 44px}.hub-discussions-post-editor-header__title{margin:0px;text-align:center;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}.hub-discussions-post-editor-header__popover{padding:1rem;margin-top:revert;margin-bottom:revert}.hub-discussions-post-editor-audience__description{font-size:var(--calcite-font-size-0);line-height:1.25rem}.hub-discussions-post-editor-audience__header{margin-top:1.5rem;margin-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}.hub-discussions-post-editor-audience__gallery{--calcite-color-border-3:transparent}.hub-discussions-post-editor-audience__button{margin-top:1rem;margin-bottom:0.5rem}.hub-discussions-post-editor-groups__action{margin-top:0.75rem}.hub-discussions-post-editor-recent__list{margin-top:0px;margin-bottom:0px;list-style-type:none;padding:0px}.hub-discussions-post-editor-recent__item{margin-bottom:0.75rem;margin-top:0px;display:grid;grid-auto-flow:column;grid-template-rows:repeat(2, minmax(0, 1fr));column-gap:0.75rem;grid-template-columns:44px auto 44px}.hub-discussions-post-editor-recent__item:last-child{margin-bottom:0px}.hub-discussions-post-editor-recent__avatar{grid-row:span 2 / span 2}.hub-discussions-post-editor-recent__title{font-weight:var(--calcite-font-weight-bold);overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.hub-discussions-post-editor-recent__last-activity{font-size:var(--calcite-font-size--1);line-height:1rem;font-style:normal;color:var(--calcite-color-text-2)}.hub-discussions-post-editor-recent__action{grid-row:span 2 / span 2}.hub-discussions-post-editor-post-actions,.hub-discussions-post-editor-geometry-actions{margin-top:1rem;display:flex;justify-content:flex-end}.hub-discussions-post-editor-post-actions>calcite-action{margin-right:auto}.hub-discussions-post-editor-geometry-actions__feature,.hub-discussions-post-editor-geometry-actions__related,.hub-discussions-post-editor-post-actions__primary,.hub-discussions-post-editor-post-actions__secondary{margin-left:0.75rem}arcgis-hub-discussions-post-editor.rtl .hub-discussions-post-editor-geometry-actions__feature,arcgis-hub-discussions-post-editor.rtl .hub-discussions-post-editor-geometry-actions__related,arcgis-hub-discussions-post-editor.rtl .hub-discussions-post-editor-post-actions__primary,arcgis-hub-discussions-post-editor.rtl .hub-discussions-post-editor-post-actions__secondary{margin-left:0px;margin-right:0.75rem}.hub-discussions-post-editor__title{margin:0px;margin-top:1rem;height:auto;width:100%;resize:none;border-style:none;background-color:var(--calcite-color-foreground-1);padding:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1);--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.hub-discussions-post-editor__title:focus{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}.hub-discussions-post-editor__title::placeholder{color:var(--calcite-color-text-3);opacity:1}.hub-discussions-post-editor__body{margin-top:0.5rem;white-space:pre-wrap}.hub-discussions-post-editor__body[scale=m] .ck.ck-editor__editable{border-style:none;background-color:var(--calcite-color-foreground-1);padding:0px;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-1);outline:2px solid transparent;outline-offset:2px;min-height:6rem}.hub-discussions-post-editor__body .ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable){border-style:none;outline:2px solid transparent;outline-offset:2px}.hub-discussions-post-editor__body[scale=m] .ck.ck-editor__editable .ck-placeholder:before{color:var(--calcite-color-text-3)}.hub-discussions-post-editor__body .ck.ck-editor__editable_inline>:first-child{margin-top:0px}.hub-discussions-post-editor__body .ck.ck-editor__editable_inline>:last-child{margin-bottom:0px}.hub-discussions-post-editor__message{margin-top:0.5rem}.hub-discussions-post-editor__empty,.hub-discussions-post-editor__load-error{margin-top:1rem}.hub-discussions-post-editor__crud-error,.hub-discussions-post-editor__not-discussable-notice{margin-top:1rem}.hub-discussions-post-editor-cancel-confirm__header{margin-left:0px;margin-right:0px;margin-top:0.5rem;margin-bottom:0px;display:block;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold)}.hub-discussions-post-editor-cancel-confirm__message{margin-top:0.5rem;margin-bottom:0px}.hub-discussions-post-editor-cancel-confirm__footer{margin-top:1.5rem;display:flex;justify-content:flex-end;column-gap:0.75rem}.hub-discussions-post-editor-recent__skeleton{margin-bottom:0.75rem;margin-top:0px}.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader{display:flex}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader>div:nth-of-type(1),.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader>div:nth-of-type(2) div{animation:shimmer 2s cubic-bezier(0.4, 0, 0.2, 0.8) infinite;background-image:linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);background-color:var(--calcite-color-foreground-3)}.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader>div:nth-of-type(1){height:2.75rem;width:2.75rem;border-radius:50%}.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader>div:nth-of-type(2){margin-left:1rem;display:flex;flex-grow:1;flex-direction:column;justify-content:center}.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader>div:nth-of-type(2) div:nth-of-type(1){margin-bottom:0.5rem;height:0.75rem;border-radius:0.375rem}.hub-discussions-post-editor-recent__skeleton arcgis-skeleton-loader>div:nth-of-type(2) div:nth-of-type(2){height:0.5rem;border-radius:0.25rem}.location-popover>div.popover,.popover{max-width:20rem;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1.25rem;padding-right:1.25rem}.add-location-post:active .add-location-icon{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.add-location-post[active] .add-location-icon{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}arcgis-hub-discussions-post-editor[parent-id]{display:block}.hub-discussions-reply-editor__form{border-radius:0.25rem;background-color:var(--calcite-color-foreground-1);padding:0.75rem;--tw-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.12);--tw-shadow-colored:0 2px 8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.hub-discussions-reply-editor-user-details{margin:0px;display:grid;align-items:center;column-gap:0.75rem;grid-template-columns:32px auto}.hub-discussions-reply-editor-user-details__name{font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-bold);font-style:normal}.hub-discussions-reply-editor__notice,.hub-discussions-reply-editor__not-discussable-notice{margin-left:0px;margin-right:0px;margin-top:1rem}.hub-discussions-post-editor-cancel-confirm{display:block}.hub-discussions-post-editor-cancel-confirm__button{margin:0px}.hub-discussions-reply-editor__body{margin-top:0.75rem;white-space:pre-wrap}.hub-discussions-reply-editor__body[scale=m] .ck.ck-editor__editable{border-style:none;background-color:var(--calcite-color-foreground-1);padding:0px;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-1);outline:2px solid transparent;outline-offset:2px;min-height:6rem}.hub-discussions-reply-editor__body .ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable){border-style:none;outline:2px solid transparent;outline-offset:2px}.hub-discussions-reply-editor__body[scale=m] .ck.ck-editor__editable .ck-placeholder:before{color:var(--calcite-color-text-3)}.hub-discussions-reply-editor__body .ck.ck-editor__editable_inline>:first-child{margin-top:0px}.hub-discussions-reply-editor__body .ck.ck-editor__editable_inline>:last-child{margin-bottom:0px}.hub-discussions-reply-editor__message{margin-top:0.5rem}.hub-discussions-reply-editor__location-popover>div.hub-discussions-reply-editor__location-popover__content,.hub-discussions-reply-editor__location-popover__content{max-width:20rem;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1.25rem;padding-right:1.25rem}.add-location-post:active .add-location-icon{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.add-location-post[active] .add-location-icon{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}arcgis-hub-discussions-post-editor>form>header{padding-top:0.25rem;padding-bottom:1rem;text-align:center;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);text-transform:capitalize;color:var(--calcite-color-text-1)}.anon-toggle{margin-bottom:0.75rem;display:flex;flex-wrap:wrap;align-items:center;gap:0.5rem;border-radius:0.75rem;background-color:var(--calcite-color-background);padding:1rem}.anon-toggle p:first-of-type{margin:0px;color:var(--calcite-color-text-1)}.anon-toggle p:nth-of-type(2){margin:0px;flex-basis:100%;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-color-text-2)}arcgis-hub-entity-editor{--calcite-dialog-size-y:95%}",Pt=It,oe=function(e,t,s,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,s):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(n=(o<3?a(n):o>3?a(t,s,n):a(t,s))||n);return o>3&&n&&Object.defineProperty(t,s,n),n},te=class{constructor(e){K(this,e),this.arcgisHubDiscussionsPostEditorReady=C(this,"arcgisHubDiscussionsPostEditorReady",7),this.arcgisHubDiscussionsPostCancel=C(this,"arcgisHubDiscussionsPostCancel",7),this.arcgisHubDiscussionsPostCreate=C(this,"arcgisHubDiscussionsPostCreate",7),this.arcgisHubDiscussionsPostEdit=C(this,"arcgisHubDiscussionsPostEdit",7),this.arcgisHubDiscussionsGeometryDrawCreate=C(this,"arcgisHubDiscussionsGeometryDrawCreate",7),this.arcgisHubDiscussionsGeometryDrawTypeSelect=C(this,"arcgisHubDiscussionsGeometryDrawTypeSelect",7),this.arcgisHubDiscussionsGeometryDrawEdit=C(this,"arcgisHubDiscussionsGeometryDrawEdit",7),this.arcgisHubDiscussionsGeometryDrawReset=C(this,"arcgisHubDiscussionsGeometryDrawReset",7),this.arcgisHubDiscussionsGeometrySelect=C(this,"arcgisHubDiscussionsGeometrySelect",7),this.arcgisHubDiscussionsGeometryDeselect=C(this,"arcgisHubDiscussionsGeometryDeselect",7),this.arcgisHubDiscussionsGeometryClearAll=C(this,"arcgisHubDiscussionsGeometryClearAll",7),this.arcgisHubDiscussionsPostClose=C(this,"arcgisHubDiscussionsPostClose",7),this.hubTelemetry=C(this,"hubTelemetry",7),this.handleSubmit=t=>{t.preventDefault();let s=this.postId?this.handleEdit():this.handleCreate();return this.pending=!0,s.finally(()=>{this.pending=!1,this.arcgisHubDiscussionsGeometryClearAll.emit(),this.addLocationsActiveGeometryType=null})},this.handleCancel=t=>{var s,i,o,n,a,c,l,d;let{channel:u,post:h,parent:p}=this;t.preventDefault(),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.close.label.editor),{parentId:(s=p?.id)!==null&&s!==void 0?s:null,postId:(i=h?.id)!==null&&i!==void 0?i:null,channelId:(o=u?.id)!==null&&o!==void 0?o:null,channelAccess:u?x(u):null})),this.arcgisHubDiscussionsPostCancel.emit(),this.collapse(),this.confirmAction=null;let y=Y(h?.geometry);this.geometryValue=Object.keys(y||{}).length?y:null,this.titleValue=(n=h?.title)!==null&&n!==void 0?n:"",this.bodyValue=(a=h?.body)!==null&&a!==void 0?a:"",this._unsavedExistingFeatures=(c=this.unsavedExistingFeatures)!==null&&c!==void 0?c:[],this._unsavedFeatures=(l=this.unsavedFeatures)!==null&&l!==void 0?l:[],this._unsavedRelatedFeatures=(d=this.unsavedRelatedFeatures)!==null&&d!==void 0?d:[],this.arcgisHubDiscussionsGeometryClearAll.emit()},this.handleCancelOrConfirm=t=>{this.hasChanges?this.confirmAction=this.handleCancel:this.handleCancel(t)},this.handleConfirmBackButtonClicked=()=>{this.confirmAction=null},this.handleBackOrConfirm=()=>{this.hasChanges?this.confirmAction=this.handleBack:this.handleBack()},this.handleBack=()=>{var t,s,i,o,n,a,c,l;let d=Y((t=this.post)===null||t===void 0?void 0:t.geometry);this.geometryValue=Object.keys(d||{}).length?d:null,this._unsavedExistingFeatures=(s=this.unsavedExistingFeatures)!==null&&s!==void 0?s:[],this._unsavedFeatures=(i=this.unsavedFeatures)!==null&&i!==void 0?i:[],this._unsavedRelatedFeatures=(o=this.unsavedRelatedFeatures)!==null&&o!==void 0?o:[],this.channelId=null,this.channelGroups=null,this.channel=null,this._mentionQuery=null,this.confirmAction=null,this.titleValue=(a=(n=this.post)===null||n===void 0?void 0:n.title)!==null&&a!==void 0?a:"",this.bodyValue=(l=(c=this.post)===null||c===void 0?void 0:c.body)!==null&&l!==void 0?l:"",this.step=F.AUDIENCE,this.arcgisHubDiscussionsGeometryClearAll.emit()},this.handleHelpPopoverOpen=()=>{this.hubTelemetry.emit(g.dictionary.category.interaction.action.open.label.popover.details.help)},this.handleHelpPopoverClose=()=>{this.hubTelemetry.emit(g.dictionary.category.interaction.action.close.label.popover.details.help)},this.handleLocationPopoverOpen=()=>{this.addLocationsPopoverOpen=!0},this.handleLocationPopoverClose=()=>{this.addLocationsPopoverOpen=!1},this.updateTitleValue=t=>{this.titleValue=t.target.value},this.setActiveGeometryDrawType=t=>{let{target:s}=t,i=s.dataset.type;this.addLocationsActiveGeometryType=i,this.locationPopoverRef.open=!1,this.enableAddLocation()},this.channelCardCallback=t=>Object.assign(Object.assign({},t),{actionLinks:[{action:"channelSelect",ariaLabel:"aria label",label:"label",buttonStyle:"outline",buttonKind:"brand",icon:this.isRtl?"chevron-left":"chevron-right"}]}),this.toggleChannelPickerOpen=()=>{this.galleryPickerOpen=!this.galleryPickerOpen},this.handleChannelPickerSelectionUpdate=async t=>{await this.loadChannelDetails({channelId:t.detail.channel[0]})},this.getMentionQuery=t=>{let s=Y(this._mentionQuery),i=o=>{var n,a;return!!(!((n=o.predicates[0])===null||n===void 0)&&n.username&&(!((a=o.predicates[1])===null||a===void 0)&&a.fullname))};return s.filters=t?s.filters.map(o=>i(o)?Object.assign(Object.assign({},o),{predicates:[{username:t},{fullname:t}]}):o):s.filters.filter(o=>!i(o)),s},this.handleAnonToggle=t=>{let s=t.target;this.asAnonymous=s.checked},this.handleEntityEditorClosed=()=>{this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.close.label.modal.details.viewChannel),{channelId:this.channelEntityToView.id,channelAccess:this.channelEntityToView.access})),this.channelEntityToView=null},this.handleChannelGalleryAction=async t=>{t.detail.action==="channelSelect"&&(await this.loadChannelDetails({channelId:t.detail.model.id}),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.select.label.channel.details.recents),{channelId:this.channel.id,channelAccess:x(this.channel)})))},this.handleChannelGalleryError=()=>{this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.viewed.label.recents),{response:g.constants.response.FAILURE}))},this.handleChannelGalleryResultsChange=t=>{this.hubTelemetry.emit(t.detail.length?Object.assign(Object.assign({},g.dictionary.category.interaction.action.viewed.label.recents),{response:g.constants.response.SUCCESS}):g.dictionary.category.interaction.action.viewed.label.empty)},this.focusInput=()=>{setTimeout(()=>{let{titleRef:t,bodyRef:s,isReply:i}=this;i?s&&s.setFocus():t&&t.focus()},500)},this.handleReplySubmit=t=>(t.preventDefault(),this.pending=!0,(this.postId?this.handleEditReply():this.handleCreateReply()).catch(i=>(J.error("Could not create reply:",i.message),null)).finally(async()=>{this.pending=!1,this.arcgisHubDiscussionsGeometryClearAll.emit(),this.addLocationsActiveGeometryType=null,this.focusInput()})),this.post=void 0,this.postCreator=void 0,this.postCreatorOrg=void 0,this.postId=void 0,this.parent=void 0,this.parentCreator=void 0,this.parentId=void 0,this.channel=void 0,this.channelGroups=void 0,this.channelId=void 0,this.entity=void 0,this.entityId=void 0,this.entityType=void 0,this.discussionSettings=void 0,this.discussion=void 0,this.displayFieldKey=void 0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.locationId=void 0,this.hasMap=void 0,this.isHub=void 0,this.unsavedFeatures=[],this.unsavedRelatedFeatures=[],this.unsavedExistingFeatures=[],this.index=void 0,this.isMobile=void 0,this.createParentSaveButtonText=void 0,this.createParentBodyPlaceholderText=void 0,this.showLocations=void 0,this.disableSelectExistingLocation=void 0,this.showHeader=void 0,this.collapsible=void 0,this.collapsed=void 0,this.helpButtonRef=void 0,this._context=Z(),this._unsavedFeatures=[],this._unsavedRelatedFeatures=[],this._unsavedExistingFeatures=[],this.pending=!1,this.loading=void 0,this.titleValue="",this.bodyValue="",this.discussionValue="",this.geometryValue=void 0,this.geometryValueHasChanges=void 0,this.locationActionElement=void 0,this.step=null,this.errorMessage=null,this.confirmAction=null,this.addLocationsActiveGeometryType=void 0,this.addLocationsPopoverOpen=void 0,this.asAnonymous=!1,this.galleryPickerOpen=!1,this.numPostableChannels=null,this.channelEntityToView=null}async componentWillLoad(){await Promise.all([this.loadIntl(),this.initialize(this._context)])}async loadIntl(){this.intl=await V.loadIntlForComponent(this.element)}connectedCallback(){ne(this)}disconnectedCallback(){this.disconnectContext()}get isRtl(){return this.intl.direction==="rtl"}get hasChanges(){let{titleValue:e,bodyValue:t,post:s,isReply:i}=this,o;return s?o=i?t!==s.body:t!==s.body||e!==s.title:o=i?t.length>0:e.length>0||t.length>0,o}get postWithLocationEdits(){let{post:e,geometryValue:t,discussionValue:s}=this,i;return e&&(i=Y(e),i.geometry=t,s!==e.discussion&&(i.discussion=s)),i}get hasMentionedUsers(){return!!re(this.bodyValue).length}async fetchDependencies(){let[e,t]=await Promise.all([Pe({postId:this.postId,post:this.post},this._context.hubRequestOptions),de({isHub:this.isHub},this._context.hubRequestOptions)]),[s,i]=await Promise.all([ke(Object.assign({postCreator:this.postCreator,postCreatorOrg:this.postCreatorOrg},e),this._context.hubRequestOptions),De(Object.assign({parentId:this.parentId,parent:this.parent},e),this._context.hubRequestOptions)]),[o,n,a]=await Promise.all([ue(Object.assign(Object.assign({discussion:this.discussion,entityId:this.entityId,entityType:this.entityType,entity:this.entity,discussionSettings:this.discussionSettings,displayFieldKey:this.displayFieldKey,displayFieldValid:this.displayFieldValid,displayFieldValue:this.displayFieldValue,locationId:this.locationId},e),i),this._context.hubRequestOptions,!0),he(Object.assign(Object.assign({channelId:this.channelId,channel:this.channel,channelGroups:this.channelGroups},e),i),this._context.hubRequestOptions),Ee(Object.assign({parentCreator:this.parentCreator},i),this._context.hubRequestOptions)]),c=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),s),i),a),n),o),t);Object.assign(this,c)}async initialize(e,t){var s,i,o;if(((s=e?.currentUser)===null||s===void 0?void 0:s.username)!==((i=t?.currentUser)===null||i===void 0?void 0:i.username)){this.loading=!0,await this.fetchDependencies();let{post:n,channel:a}=this;if(n){let{title:c,body:l,discussion:d,geometry:u}=n;this.bodyValue=l,n.title&&(this.titleValue=c),this.discussionValue=d;let h=Y(u);this.geometryValue=Object.keys(h||{}).length?h:null}if(a)this.step=F.CONTENT;else{let{total:c,results:l}=await Xe({allowedChannelIds:(o=this.discussionSettings)===null||o===void 0?void 0:o.allowedChannelIds,requestOptions:this._context.hubRequestOptions,num:1});this.numPostableChannels=c,c===1?(await this.loadChannelDetails({channel:l[0].rawResult}),this.step=F.CONTENT):this.step=F.AUDIENCE}this.arcgisHubDiscussionsPostEditorReady.emit(n),this.loading=!1}}emitHubTelemetry(e){let{channel:t,channelGroups:s}=this,{groupAccesses:i,groupOrgIds:o,groupIds:n}=(s??[]).reduce((c,l)=>l?{groupAccesses:[...c.groupAccesses,l.access],groupOrgIds:[...c.groupOrgIds,l.orgId],groupIds:[...c.groupIds,l.id]}:c,{groupAccesses:[],groupOrgIds:[],groupIds:[]}),a=Object.assign(Object.assign({},e),{channelAccess:x(t),channelId:t.id,groupAccess:i.filter(Boolean).join(", "),groupId:n.filter(Boolean).join(", "),groupOrgId:o.filter(Boolean).join(", "),orgId:Se(t).join(", ")});this.hubTelemetry.emit(a)}handleGeometryValueUpdated(){if(this.post){let{post:{geometry:e},geometryValue:t}=this;this.geometryValueHasChanges=JSON.stringify(t)!==JSON.stringify(e)}}mapFeaturePropToState(e){var t;let{postId:s,post:i}=this;if(e.length){let o=(t=e[0].properties)===null||t===void 0?void 0:t.id;(s===o||!i&&!o)&&(this._unsavedFeatures=e.filter(({properties:a})=>!a?.pending),this.resetActiveGeometryDrawType())}else this._unsavedFeatures=[]}mapExistingFeaturePropToState(e){var t;let{postId:s}=this;if(e.length){let i=(t=e[0].properties)===null||t===void 0?void 0:t.id;s===i&&(this._unsavedExistingFeatures=e,e.forEach(n=>{let{geometry:a,properties:c}=n;a||this.removeFeature(c.index,null,!1)}),this.resetActiveGeometryDrawType())}else this._unsavedExistingFeatures=[]}mapRelatedFeaturePropToState(e){let{postId:t}=this;if(e.length){let s=e[0].postId;(t===s||!t&&!s)&&(this._unsavedRelatedFeatures=e,this.resetActiveGeometryDrawType())}else this._unsavedRelatedFeatures=[]}handleAddLocationsActiveGeometryTypeChanged(e){e&&this.arcgisHubDiscussionsGeometryDrawTypeSelect.emit(e)}async handleCreate(){var e;let{_context:t,_unsavedFeatures:s,_unsavedRelatedFeatures:i,bodyValue:o,titleValue:n,channelId:a,discussion:c,asAnonymous:l,entity:{url:d},arcgisHubDiscussionsPostCreate:u}=this,{channel:h}=this,p=c;if(i.length){let f=d.split("/").pop(),_=new Set(i.map(w=>w.objectId));p=X(p,f,Array.from(_))}let y=null;s.length&&(y=s.length>1?se(s):s[0].geometry),this.errorMessage=null;let b;try{let{id:f}=await Fe(Object.assign({data:{channelId:h.id,discussion:p,title:n.trim()||void 0,body:o.trim(),geometry:y,asAnonymous:l},mentionUrl:window.location.href},t.hubRequestOptions));return b=await M(Object.assign({postId:f,data:{relations:[v.REACTIONS,v.CHANNEL,v.CHANNEL_ACL]}},this._context.hubRequestOptions)),b.replyCount=0,this.titleValue="",this.bodyValue="",this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.post),{response:g.constants.response.SUCCESS,details:(e=b.title)!==null&&e!==void 0?e:null,groupId:fe(h).join(", "),postId:b.id,channelId:h.id,channelAccess:x(h)})),u.emit(b),this.focusInput(),b}catch(f){return this.errorMessage="error.create",this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.post),{response:g.constants.response.FAILURE,groupId:fe(h).join(", "),channelId:a,channelAccess:h?x(h):""})),J.error("Failed to create post:",f.message),null}}handleEdit(){let{_context:e,bodyValue:t,titleValue:s,channelId:i,channel:o,post:n,_unsavedFeatures:a,_unsavedExistingFeatures:c,_unsavedRelatedFeatures:l,arcgisHubDiscussionsPostEdit:d,entity:{url:u}}=this;this.errorMessage=null;let h=this.discussionValue;if(l.length){let f=u.split("/").pop(),_=l.map(w=>w.objectId);h=X(h,f,_)}let p=this.geometryValue&&Object.keys(this.geometryValue).length?we(Object.assign(Object.assign({},n),{geometry:this.geometryValue})):[];c.forEach(f=>{let{properties:{index:_},geometry:w}=f;w&&(p[+_].geometry=w)});let y=null,b=[...p,...a];return b.length&&(y=b.length>1?se(b):b[0].geometry.coordinates.length?b[0].geometry:null),ve(Object.assign({postId:n.id,data:{title:s.trim()||null,body:t.trim(),discussion:h,geometry:y},mentionUrl:window.location.href},e.hubRequestOptions)).then(f=>M(Object.assign({postId:f.id,data:{relations:[v.REACTIONS,v.REPLIES,v.CHANNEL,v.CHANNEL_ACL]}},this._context.hubRequestOptions))).then(f=>(this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.post),{response:g.constants.response.SUCCESS,postId:n.id,channelId:i,channelAccess:x(o)})),f.replyCount=f.replies.total,delete f.replies,d.emit(f),f)).catch(f=>(this.errorMessage="error.edit",this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.post),{response:g.constants.response.FAILURE,postId:n.id,channelId:i,channelAccess:x(o)})),J.error("Failed to edit post:",f.message),null))}handleFocusin(){this.expand()}expand(){this.collapsible&&(this.collapsed=!1)}collapse(){this.collapsible&&(this.collapsed=!0)}handleFocusout(){this.collapse()}updateBodyValue(e){this.bodyValue=e.target.value}handleFeatureRemove(e){let{detail:{properties:{relatedFeatureId:t,index:s,unsaved:i}}}=e;this.removeFeature(s,t,i)}removeFeature(e,t,s){var i;if(!s)if(t){let{features:o}=We(this.discussionValue),n=this.entity.url.split("/").pop();o.splice(o.indexOf(t),1),this.discussionValue=X(this.discussionValue.split("?")[0],n,o)}else((i=this.geometryValue)===null||i===void 0?void 0:i.type)==="GeometryCollection"?(s?this.geometryValue.geometries.splice(e,1):this.geometryValue.geometries[e]=null,this.geometryValue=Object.assign({},this.geometryValue)):this.geometryValue=null}handleDrawDone(){this.arcgisHubDiscussionsGeometryDrawReset.emit(),this.addLocationsActiveGeometryType=null}handleDrawCancel(){this.addLocationsActiveGeometryType=null}resetActiveGeometryDrawType(){this.addLocationsActiveGeometryType=void 0}enableAddLocation(){let{post:e,arcgisHubDiscussionsGeometryDrawCreate:t,isReply:s}=this,i=s?"reply":"post";t.emit({post:e,postType:i})}get isTitleValid(){let{titleValue:e}=this;return e.length<=ce}get isBodyValid(){let{bodyValue:e}=this,t=e.trim();return t.length>0&&t.length<=$e}get hasLocationChanges(){if(this.post){let{post:{discussion:e},discussionValue:t}=this;return!!(this._unsavedFeatures.length+this._unsavedRelatedFeatures.length+this._unsavedExistingFeatures.length)||t!==e||this.geometryValueHasChanges}return!1}get hasAllowedChannelsList(){var e,t;return!!(!((t=(e=this.discussionSettings)===null||e===void 0?void 0:e.allowedChannelIds)===null||t===void 0)&&t.length)}get titleMessage(){let{titleValue:e,isTitleValid:t,intl:s}=this,{length:i}=e;if(i>=ce-5)return t?{status:"idle",text:s.t("post.title.validation.warning")}:{icon:"exclamation-mark-circle",status:"invalid",text:s.t("post.title.validation.error",{characters:i-ce})}}get bodyMessage(){let{bodyValue:e,isBodyValid:t,intl:s}=this,{length:i}=e;if(i>=xe)return t?{status:"idle",text:s.t("post.body.validation.warning")}:{icon:"exclamation-mark-circle",status:"invalid",text:s.t("post.body.validation.error")}}get isReply(){return!!(this.parent||this.parentId)}get blockedNotice(){let e,t=qe(this.channel,this._context.currentUser),s=!ye(this.entity);return t&&s?e=this.isReply?j.EditReply:j.EditPost:t?e=this.isReply?j.EditReplyGroup:j.EditPostGroup:s&&(this.entityType==="group"?e=this.isReply?j.EditReplyGroup:j.EditPostGroup:e=this.isReply?j.EditReplyItem:j.EditPostItem),e}renderPrimaryActionButton(){let{post:e,isReply:t,intl:s,titleValue:i,bodyValue:o,isBodyValid:n,isTitleValid:a,pending:c,hasLocationChanges:l,blockedNotice:d,createParentSaveButtonText:u}=this,h,p;t?(p=!n,h=s.t("createReply")):(p=!n||!a,h=u||s.t("post.create"));let y=!!d||p;return e&&(t?(h=s.t("saveReply"),y=y||o===e.body&&!l):(h=s.t("post.save"),y=y||(!i&&!e.title||i===e.title)&&o===e.body&&!l)),r("calcite-button",{appearance:"solid",class:"hub-discussions-post-editor-post-actions__primary",disabled:y||c,key:"primary",kind:"brand",label:h,loading:c,round:!0,scale:"l",type:"submit"},h)}renderSecondaryActionButton(){let e=this.intl.t("cancel");if(!this.isReply||this.isReply&&this.post)return r("calcite-button",{appearance:"transparent",class:"hub-discussions-post-editor-post-actions__secondary",kind:"neutral",label:e,onClick:this.handleCancelOrConfirm,round:!0,scale:"l",type:"reset"},e)}renderAddLocationsButton(){if(this.showLocations&&this.hasMap){let t=[...this.disableSelectExistingLocation?[]:[{type:"select",icon:"select"}],{type:"point",icon:"pin"},{type:"polyline",icon:"freehand"},{type:"polygon",icon:"freehand-area"}].map(({type:s,icon:i})=>r("calcite-action",{active:this.addLocationsActiveGeometryType===s,"data-type":s,icon:i,key:s,onClick:this.setActiveGeometryDrawType,text:this.intl.t(`location.action.${s}`),textEnabled:!0}));return r(D,null,r("calcite-action",{active:this.addLocationsPopoverOpen,appearance:"solid",class:"add-location-post",disabled:!this.hasMap||!!this.blockedNotice,ref:s=>{this.locationActionElement=s},text:this.intl.t("location.heading")},r("calcite-icon",{class:"add-location-icon",icon:"pin-plus",scale:"s"})),r("calcite-tooltip",{closeOnClick:!0,label:this.intl.t("location.tooltip"),referenceElement:this.locationActionElement},r("span",null,this.intl.t("location.tooltip"))),this.hasMap&&!this.blockedNotice&&r("calcite-popover",{autoClose:!0,label:this.intl.t("location.heading"),onCalcitePopoverClose:this.handleLocationPopoverClose,onCalcitePopoverOpen:this.handleLocationPopoverOpen,overlayPositioning:"fixed",pointerDisabled:!0,ref:s=>{this.locationPopoverRef=s},referenceElement:this.locationActionElement},t))}}renderTitleField(){let{collapsible:e,collapsed:t,intl:s,titleValue:i,updateTitleValue:o,titleMessage:n,blockedNotice:a}=this;if(!e||e&&!t)return r(D,null,r("input",{"aria-label":s.t("post.title.label"),class:"hub-discussions-post-editor__title",disabled:!!a,onInput:o,placeholder:s.t("post.title.placeholder"),ref:c=>{this.titleRef=c},type:"text",value:i}),n&&r("calcite-input-message",{class:"hub-discussions-post-editor__message",icon:n.icon,scale:"l",status:n.status},n.text))}renderBodyField(){let{createParentBodyPlaceholderText:e,intl:t,bodyValue:s,bodyMessage:i,pending:o,getMentionQuery:n,blockedNotice:a,asAnonymous:c}=this;return r(D,null,r("arcgis-hub-rich-text",{class:"hub-discussions-post-editor__body",disabled:!!a||o,getMentionQuery:n,label:t.t("post.body.label"),mention:!c,mentionCount:100,placeholder:e||t.t("post.body.placeholder"),ref:l=>{this.bodyRef=l},"text-transform":!0,toolbar:"",value:s}),i&&r("calcite-input-message",{class:"hub-discussions-post-editor__message",icon:i.icon,scale:"l",status:i.status},i.text))}renderPostHeader(e,t,s,i,o,n,a,c){let{postId:l,post:d,postCreator:u,postCreatorOrg:h,channel:p,index:y,isHub:b,asAnonymous:f}=this;return r("arcgis-hub-discussions-post-header",{channel:p,class:"hub-discussions-post-editor__header",displayAnon:f,iconScale:e,index:y,isHub:b,post:l&&p&&d,postCreator:l&&p&&u,postCreatorOrg:l&&p&&h,showChannelAccessIcon:i,showChannelAvatar:s,showChannelName:o,showCreatorAvatar:t,showCreatorUsername:a,showPopover:c,showTimestamp:n})}renderAnonToggle(){let{channel:e,postId:t,asAnonymous:s,hasMentionedUsers:i,intl:o}=this;return e.allowAsAnonymous&&!t&&r("div",{class:"anon-toggle"},r("calcite-switch",{disabled:i,label:o.t("anonymous.label"),onCalciteSwitchChange:this.handleAnonToggle,ref:n=>{this.anonToggleRef=n}}),r("p",null,o.t("anonymous.label")),s&&r("p",null,o.t("anonymous.desc")),i&&r("calcite-tooltip",{referenceElement:this.anonToggleRef},r("span",null,o.t("anonymous.tooltip"))))}renderContentStep(){return r(D,null,this.showHeader&&r("header",{class:"hub-discussions-post-editor-header"},r("span",null,this.numPostableChannels>1&&r("calcite-button",{appearance:"outline-fill",disabled:!!this.confirmAction,iconFlipRtl:"start",iconStart:"chevron-left",kind:"neutral",label:this.intl.t("header.content.back"),onClick:this.handleBackOrConfirm,round:!0,scale:"l"})),r("p",{class:"hub-discussions-post-editor-header__title"},this.intl.t("header.content.title")),r("calcite-button",{appearance:"transparent",disabled:!!this.confirmAction,"icon-start":"x",kind:"neutral",label:this.intl.t(`header.${this.step}.back`),onClick:this.handleCancelOrConfirm,round:!0,scale:"l",type:"button"})),this.confirmAction?this.renderConfirmCancel():r("form",{onSubmit:this.handleSubmit},!!(this.showHeader&&this.post)&&r("header",null,this.intl.t("editPost")),this.renderAnonToggle(),this.isCollapsed?this.renderPostHeader("m",!0):this.renderPostHeader("l",!0,!0,!0,!0,!0,!1,!0),this.renderTitleField(),this.renderBodyField(),this.renderGeographies(),r("div",{class:"hub-discussions-post-editor-post-actions"},this.renderAddLocationsButton(),!this.isCollapsed&&this.renderSecondaryActionButton(),this.renderPrimaryActionButton()),this.blockedNotice&&r("arcgis-hub-discussions-blocked-notice",{class:"hub-discussions-post-editor__not-discussable-notice",scale:"s",variant:this.blockedNotice}),this.errorMessage&&r("calcite-notice",{class:"hub-discussions-post-editor__crud-error",kind:"danger",open:!0,scale:"s"},r("div",{slot:"title"},this.intl.t("error.title")),r("div",{slot:"message"},this.errorMessage&&this.intl.t(this.errorMessage)))))}renderConfirmCancel(){return r("div",{class:"hub-discussions-post-editor-cancel-confirm"},r("header",{class:"hub-discussions-post-editor-cancel-confirm__header"},this.intl.t("confirm.header")),r("p",{class:"hub-discussions-post-editor-cancel-confirm__message"},this.intl.t(this.isReply?"confirm":"confirm.body")),r("footer",{class:"hub-discussions-post-editor-cancel-confirm__footer"},r("calcite-button",{appearance:"transparent",class:"hub-discussions-post-editor-cancel-confirm__button",kind:"neutral",onClick:this.handleConfirmBackButtonClicked,round:!0,scale:"l"},this.intl.t("confirm.back")),r("calcite-button",{class:"hub-discussions-post-editor-cancel-confirm__button",kind:"danger",onClick:this.confirmAction,round:!0,scale:"l"},this.intl.t("confirm.discard"))))}renderAudienceStep(){return r(D,null,this.showHeader&&r("header",{class:"hub-discussions-post-editor-header"},r("calcite-button",{appearance:"outline","icon-start":"lightbulb",kind:"neutral",label:this.intl.t("header.help"),ref:e=>{this.helpButtonRef=e},round:!0,scale:"l",type:"button"}),r("calcite-popover",{closable:!0,label:this.intl.t("header.help"),onCalcitePopoverClose:this.handleHelpPopoverClose,onCalcitePopoverOpen:this.handleHelpPopoverOpen,overlayPositioning:"fixed",placement:"bottom-end",referenceElement:this.helpButtonRef},r("p",{class:"hub-discussions-post-editor-header__popover"},this.intl.t(`header.${this.step}.help`))),r("p",{class:"hub-discussions-post-editor-header__title"},this.intl.t(`header.${this.step}.title`)),r("calcite-button",{appearance:"transparent","icon-start":"x",kind:"neutral",label:this.intl.t(`header.${this.step}.back`),onClick:this.handleCancel,round:!0,scale:"l",type:"button"})),r("p",{class:"hub-discussions-post-editor-audience__description"},this.intl.t("selectChannelDescription")),r("header",{class:"hub-discussions-post-editor-audience__header"},this.intl.t(this.hasAllowedChannelsList?"allowedChannels":"recentChannels")),this.channelGalleryQuery&&r("arcgis-hub-gallery",{callback:this.channelCardCallback,class:"hub-discussions-post-editor-audience__gallery",include:"groups",layout:"compact",limit:this.channelGalleryLimit,linkTarget:"event",onArcgisHubGalleryAction:this.handleChannelGalleryAction,onArcgisHubGalleryError:this.handleChannelGalleryError,onArcgisHubGalleryResultsChange:this.handleChannelGalleryResultsChange,query:this.channelGalleryQuery,showEmptyState:!0,sortField:"lastActivity",sortOrder:"desc"}),this.numPostableChannels>4&&r(D,null,r("calcite-button",{appearance:"outline",class:"hub-discussions-post-editor-audience__button",kind:"neutral",label:this.intl.t("header.audience.title"),onClick:this.toggleChannelPickerOpen,ref:e=>{this.browseChannelsButtonRef=e},round:!0,width:"full"},this.intl.t("channels.select.button")),r("arcgis-wormhole",{elAttributes:{unthemed:""}},r("arcgis-hub-gallery-picker",{catalogs:this.channelPickerCatalog,enablePrimaryButton:!0,facets:this.channelPickerFacets,gallerySelection:{channel:[]},isMobile:!1,limit:1,linkTarget:"none",modalTitle:this.intl.t("channels.select.modal.title"),onArcgisHubGalleryPickerClose:this.toggleChannelPickerOpen,onArcgisHubGalleryPickerSelectionUpdate:this.handleChannelPickerSelectionUpdate,open:this.galleryPickerOpen,primaryButtonLabel:this.intl.t("channels.select.modal.button"),selectionMode:"single",showAllCollectionFacet:!1,showSearch:!0,showThumbnail:!0,sortField:"relevance",sortOptions:["relevance","created","modified"],triggerElement:this.browseChannelsButtonRef}))),this.channelEntityToView&&r("arcgis-wormhole",{elAttributes:{unthemed:""}},r("arcgis-hub-entity-editor",{editorType:"hub:channel:edit",entity:this.channelEntityToView,isDisabled:!0,isOpen:!0,layout:"modal",modalTitle:this.intl.t("viewChannel"),onArcgisHubEntityEditorModalClosed:this.handleEntityEditorClosed,variant:Le.workspace})))}async loadChannelDetails(e){var t;let s=await he(e,this._context.hubRequestOptions),i=await je(["placeholder"],s.channel,(t=this._context.currentUser)===null||t===void 0?void 0:t.username,this._context.requestOptions);Object.assign(this,Object.assign(Object.assign({},s),{step:F.CONTENT,_mentionQuery:i}))}async handleChannelTitleClick(e){this.channelEntityToView=await Me(e.detail.model.id,this._context),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.modal.details.viewChannel),{channelId:this.channelEntityToView.id,channelAccess:this.channelEntityToView.access}))}get channelGalleryQuery(){if(this.discussionSettings!==void 0)return{targetEntity:"channel",filters:[{predicates:[this.hasAllowedChannelsList?Oe(this.discussionSettings.allowedChannelIds):Je()]}]}}get channelPickerCatalog(){return[{schemaVersion:1,title:this.intl.t("channels.catalog.title"),scopes:{channel:{targetEntity:"channel",filters:[{predicates:[]}]}},collections:[{label:this.intl.t("channels.catalog.title"),key:"channels",targetEntity:"channel",sortField:"modfied",sortDirection:"asc",scope:this.channelPickerQuery}]}]}get channelPickerFacets(){return[{label:this.intl.t("channels.facets.access.label"),key:"access",display:"multi-select",operation:"OR",options:[{label:this.intl.t("channels.facets.access.public"),key:"public",selected:!1,predicates:[{access:"public"}]},{label:this.intl.t("channels.facets.access.organization"),key:"organization",selected:!1,predicates:[{access:"org"}]},{label:this.intl.t("channels.facets.access.private"),key:"private",selected:!1,predicates:[{access:"private"}]}]},{label:this.intl.t("channels.facets.group"),key:"groups",display:"multi-select",operation:"OR",options:this._context.currentUser.groups.map(e=>({label:e.title,key:e.title,selected:!1,predicates:[{group:e.id}]}))}]}get channelPickerQuery(){return{targetEntity:"channel",filters:[{predicates:[this.hasAllowedChannelsList?Oe(this.discussionSettings.allowedChannelIds):Ye()]}]}}get channelGalleryLimit(){return this.hasAllowedChannelsList?this.discussionSettings.allowedChannelIds.length>4?4:this.discussionSettings.allowedChannelIds.length:4}renderCreate(){if(this.step===F.AUDIENCE)return this.renderAudienceStep();if(this.step===F.CONTENT)return this.renderContentStep()}renderPostEditor(){return this.postId?this.renderContentStep():this.renderCreate()}render(){let{isReply:e,_context:t,loading:s,isRtl:i}=this;return r(G,{key:"1a0791e6be888ce161cae4e1643d952dcf06cc98",class:{rtl:i},"data-element":"discussions-post-editor"},!!t&&!s&&(e?this.renderReplyEditor():this.renderPostEditor()))}get isCollapsed(){return this.collapsible&&this.collapsed}get inputMessage(){let{bodyValue:e,isBodyValid:t,intl:s}=this;if(e.trim().length>=xe)return t?{status:"idle",text:s.t("reply.body.validation.warning")}:{icon:"exclamation-mark-circle",status:"invalid",text:s.t("reply.body.validation.error")}}handleCreateReply(){let{_context:e,_unsavedFeatures:t,_unsavedRelatedFeatures:s,bodyValue:i,parent:o,channel:n,discussion:a,asAnonymous:c,entity:{url:l},arcgisHubDiscussionsPostCreate:d}=this,u=a;if(s.length){let p=l.split("/").pop(),y=new Set(s.map(b=>b.objectId));u=X(u,p,Array.from(y))}let h=null;return t.length&&(h=t.length>1?se(t):t[0].geometry),this.errorMessage=null,Ne(Object.assign({postId:o.id,data:{discussion:u,body:i.trim(),geometry:h,asAnonymous:c},mentionUrl:window.location.href},e.hubRequestOptions)).then(p=>(this.bodyValue="",this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.reply),{response:g.constants.response.SUCCESS,postId:p.id,parentId:o.id,channelId:n.id,channelAccess:x(n)})),M(Object.assign({postId:p.id,data:{relations:[v.REACTIONS,v.CHANNEL,v.CHANNEL_ACL]}},e.hubRequestOptions)))).then(p=>(p.replyCount=0,d.emit(p),p)).catch(p=>(this.errorMessage="createFailure",this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.reply),{response:g.constants.response.FAILURE,parentId:o.id,channelId:n.id,channelAccess:x(n)})),J.error("Failed to create reply:",p.message),null))}handleEditReply(){let{_context:e,bodyValue:t,post:s,parentId:i,channel:o,arcgisHubDiscussionsPostEdit:n,_unsavedFeatures:a,_unsavedRelatedFeatures:c,_unsavedExistingFeatures:l,entity:{url:d}}=this;this.errorMessage=null;let u=this.discussionValue;if(c.length){let b=d.split("/").pop(),f=c.map(_=>_.objectId);u=X(u,b,f)}let h=this.geometryValue&&Object.keys(this.geometryValue).length?we(Object.assign(Object.assign({},s),{geometry:this.geometryValue})):[];l.forEach(b=>{let{properties:{index:f},geometry:_}=b;_&&(h[+f].geometry=_)});let p=null,y=[...h,...a];return y.length&&(y.length>1?p=se(y):p=y[0].geometry.coordinates.length?y[0].geometry:null),ve(Object.assign({postId:s.id,data:{body:t.trim(),discussion:u,geometry:p},mentionUrl:window.location.href},e.hubRequestOptions)).then(b=>M(Object.assign({postId:b.id,data:{relations:[v.REACTIONS,v.CHANNEL,v.CHANNEL_ACL]}},e.hubRequestOptions))).then(b=>(b.replyCount=0,this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.reply),{response:g.constants.response.SUCCESS,postId:s.id,parentId:i,channelId:o.id,channelAccess:x(o)})),n.emit(b),b)).catch(b=>(this.errorMessage="editFailure",this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.update.label.reply),{response:g.constants.response.FAILURE,postId:s.id,parentId:i,channelId:o.id,channelAccess:x(o)})),J.error("Failed to edit reply:",b.message),null))}renderInput(){let{bodyValue:e,inputMessage:t,pending:s,intl:i,parentCreator:o,getMentionQuery:n,blockedNotice:a,asAnonymous:c}=this,l=o?.firstName?i.t("replyToUserPost",{firstName:o.firstName}):i.t("replyToPost");return r(D,null,r("arcgis-hub-rich-text",{class:"hub-discussions-reply-editor__body",disabled:!!a||s,getMentionQuery:n,label:i.t("inputLabel"),mention:!c,mentionCount:100,placeholder:l,ref:d=>{this.bodyRef=d},"text-transform":!0,toolbar:"",value:e}),t&&r("calcite-input-message",{class:"hub-discussions-reply-editor__message",icon:t.icon,scale:"l",status:t.status},t.text))}renderGeographies(){let{channelId:e,channel:t,hasMap:s,postWithLocationEdits:i,_unsavedFeatures:o,_unsavedRelatedFeatures:n,_unsavedExistingFeatures:a,displayFieldValid:c,displayFieldKey:l,blockedNotice:d,isMobile:u,parentId:h,entity:p,showLocations:y}=this;if(y)return r("arcgis-hub-discussions-post-geography",{channel:t,channelId:e,disabled:!s,disabledActions:!!d,displayFieldKey:l,displayFieldValid:c,hasMap:s,isMobile:u,parentId:h,post:i,postId:i?.id,renderedInEditor:!0,showLocationDescriptionText:!u,unsavedExistingFeatures:a,unsavedFeatures:o,unsavedRelatedFeatures:n,url:p?.url})}renderEditor(){let{intl:e,errorMessage:t,blockedNotice:s}=this;return r(D,null,this.renderInput(),this.renderGeographies(),r("div",{class:"hub-discussions-post-editor-post-actions"},this.renderAddLocationsButton(),this.renderSecondaryActionButton(),this.renderPrimaryActionButton()),s&&r("arcgis-hub-discussions-blocked-notice",{class:"hub-discussions-reply-editor__not-discussable-notice",scale:"s",variant:s}),t&&r("calcite-notice",{class:"hub-discussions-reply-editor__notice",kind:"danger",open:!0,scale:"s"},r("div",{slot:"title"},e.t("error")),r("div",{slot:"message"},e.t(t))))}renderReplyEditor(){return r("form",{class:"hub-discussions-reply-editor__form",onSubmit:this.handleReplySubmit},this.renderAnonToggle(),this.renderPostHeader("m",!0),this.confirmAction?this.renderConfirmCancel():this.renderEditor())}static get assetsDirs(){return["locales"]}get element(){return z(this)}static get watchers(){return{_context:["initialize"],geometryValue:["handleGeometryValueUpdated"],unsavedFeatures:["mapFeaturePropToState"],unsavedExistingFeatures:["mapExistingFeaturePropToState"],unsavedRelatedFeatures:["mapRelatedFeaturePropToState"],addLocationsActiveGeometryType:["handleAddLocationsActiveGeometryTypeChanged"]}}};oe([B("bodyValue")],te.prototype,"hasMentionedUsers",null);oe([B("discussionSettings","hasAllowedChannelsList")],te.prototype,"channelGalleryQuery",null);oe([B("channelPickerQuery")],te.prototype,"channelPickerCatalog",null);oe([B()],te.prototype,"channelPickerFacets",null);oe([B("discussionSettings")],te.prototype,"channelPickerQuery",null);te.style=Pt;var At='.sc-arcgis-hub-discussions-post-list-h{display:block}arcgis-load-more-button.sc-arcgis-hub-discussions-post-list{margin-top:0.75rem;margin-right:1rem;margin-bottom:1.5rem;margin-left:1rem}calcite-input[type="search"].sc-arcgis-hub-discussions-post-list{margin-bottom:1rem}calcite-dropdown.sc-arcgis-hub-discussions-post-list{position:relative}.post-results-info-and-controls.sc-arcgis-hub-discussions-post-list{display:flex;align-items:center;gap:0.25rem}.post-count.sc-arcgis-hub-discussions-post-list{flex-grow:1}arcgis-hub-discussions-thread.sc-arcgis-hub-discussions-post-list:first-of-type{padding-top:1rem}arcgis-hub-discussions-thread.sc-arcgis-hub-discussions-post-list:last-of-type{padding-bottom:1rem}arcgis-hub-discussions-post.loading.sc-arcgis-hub-discussions-post-list,arcgis-hub-discussions-post.loading.sc-arcgis-hub-discussions-post-list:not([parent-id]){margin:0px;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:1rem}.location-list.sc-arcgis-hub-discussions-post-list-h arcgis-hub-discussions-post.loading.sc-arcgis-hub-discussions-post-list{padding-left:1rem;padding-right:1rem}.replies-only.sc-arcgis-hub-discussions-post-list arcgis-hub-discussions-post.loading.sc-arcgis-hub-discussions-post-list{padding-left:0px;padding-right:0px}.sc-arcgis-hub-discussions-post-list-h:not(.has-error).sc-arcgis-hub-discussions-post-list-s>[slot="error"]{display:none}[total="0"].sc-arcgis-hub-discussions-post-list-h calcite-list.sc-arcgis-hub-discussions-post-list{display:none}.sc-arcgis-hub-discussions-post-list-h:not([total="0"]).sc-arcgis-hub-discussions-post-list-s>[slot="empty"]{display:none}',kt=At,Dt=function(e,t,s,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,s):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(n=(o<3?a(n):o>3?a(t,s,n):a(t,s))||n);return o>3&&n&&Object.defineProperty(t,s,n),n},ee;(function(e){e.List="list",e.Loading="isLoading"})(ee||(ee={}));var ct=class{constructor(e){K(this,e),this.arcgisHubDiscussionsPostListUpdated=C(this,"arcgisHubDiscussionsPostListUpdated",7),this.arcgisHubDiscussionsPostListReady=C(this,"arcgisHubDiscussionsPostListReady",7),this.arcgisHubDiscussionsPostListLayoutChanged=C(this,"arcgisHubDiscussionsPostListLayoutChanged",7),this.hubTelemetry=C(this,"hubTelemetry",7),this.impressionLogged=!1,this.discussion=void 0,this.entityId=void 0,this.entityType=void 0,this.entity=void 0,this.discussionSettings=void 0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.displayFieldKey=void 0,this.hasMap=void 0,this.isHub=void 0,this.unsavedFeatures=void 0,this.unsavedRelatedFeatures=void 0,this.unsavedExistingFeatures=[],this.nextStart=-1,this.start=1,this.total=0,this.items=void 0,this.sortBy=ae.UPDATED_AT,this.sortOrder=$.DESC,this.titleText=void 0,this.bodyText=void 0,this.geometry=void 0,this.featureGeometry=void 0,this.parentIds=void 0,this.creator=void 0,this.editor=void 0,this.status=[A.APPROVED,A.HIDDEN,A.PENDING,A.REJECTED,A.BLOCKED],this.groupIds=void 0,this.channelIds=void 0,this.createdBefore=void 0,this.createdAfter=void 0,this.updatedBefore=void 0,this.updatedAfter=void 0,this.access=void 0,this.num=10,this.isMobile=void 0,this.locationId=void 0,this.layout="list",this.showLayoutActions=void 0,this.showSearchActions=void 0,this.showCounts=void 0,this.showSortActions=void 0,this.renderPost=void 0,this.showLocations=void 0,this.disableSelectExistingLocation=void 0,this.locationDescriptionText=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this._context=Z(),this.pending=!1,this.error=void 0,this.loadedPostIds=[],this.ready=!1,this.mostRecentPagePostIds=[],this._loading=!0,this.intl=void 0,W(this,"renderListAndActions","renderLoading","handleSortBySelect","handleSortOrderSelected","handleSearchInputChanged","_renderPost")}async componentWillLoad(){this.initialize()}connectedCallback(){ne(this)}disconnectedCallback(){this.disconnectContext()}async initialize(){this.loadTranslations(),this._context&&(await this.loadDependencies(),this.items?(this.mostRecentPagePostIds=this.items.map(({id:e})=>e),this.emitPostListOpenEvent(!0),this.loadedPostIds=[]):this.searchPosts(1))}async loadTranslations(){this.intl=await V.loadIntlForComponent(this.element)}loadDependencies(){if(this._context)return this._loading=!0,this.fetchDependencies().then(e=>{Object.assign(this,e),this._loading=!1})}fetchDependencies(){return this._fetchDependencies()}async _fetchDependencies(){let{isHub:e,_context:t,discussion:s,entityId:i,entityType:o,entity:n,discussionSettings:a,locationId:c,displayFieldKey:l,displayFieldValid:d,displayFieldValue:u}=this,h=await de({isHub:e},t.hubRequestOptions),p=await ue({discussion:s,entityId:i,entityType:o,entity:n,discussionSettings:a,locationId:c,displayFieldKey:l,displayFieldValid:d,displayFieldValue:u},t.hubRequestOptions,!0);return Object.assign(Object.assign({},h),p)}handleContextChanged(e,t){var s,i;if(((s=e?.currentUser)===null||s===void 0?void 0:s.username)!==((i=t?.currentUser)===null||i===void 0?void 0:i.username))return this.loadDependencies().then(()=>{this.items?this.emitPostListOpenEvent(!0):this.searchPosts(1)})}handleReadyChanged(e){e&&this.arcgisHubDiscussionsPostListReady.emit()}handleLoadedPostIdsChanged(e){this.ready||(this.ready=!!e&&!!this.items&&this.items.every(({id:t})=>e.includes(t)))}emitPostListOpenEvent(e){this.impressionLogged||(this.impressionLogged=!0,this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.postList),{response:e?g.constants.response.SUCCESS:g.constants.response.FAILURE})))}handlePostReady(e){this.loadedPostIds=[...this.loadedPostIds,e.target.postId]}handleLayoutSelected(e){e.stopPropagation(),this.arcgisHubDiscussionsPostListLayoutChanged.emit(e.detail);let t={grid:"gridView",list:"listView",map:"mapView"}[e.detail];this.hubTelemetry.emit(g.dictionary.category.interaction.action.select.label.discussionBoardView.details[t])}get sortByMenuConfigs(){return[{label:"sortRecent",value:ae.UPDATED_AT},{label:"sortCreator",value:ae.CREATOR}]}get activeSortConfig(){return this.sortByMenuConfigs.find(({value:e})=>e===this.sortBy)}get isRtl(){var e;return((e=this.intl)===null||e===void 0?void 0:e.direction)==="rtl"||!1}get views(){let{renderListAndActions:e,renderLoading:t}=this;return{[ee.List]:{render:e},[ee.Loading]:{render:t}}}get isLoading(){let{intl:e,_context:t,_loading:s}=this;return!e||!t||s}get view(){let{views:e,isLoading:t}=this,s=t?ee.Loading:ee.List;return e[s]}handlePostDeleted(e){this.items.findIndex(({id:s})=>e.detail.id===s)>-1&&(this.items=this.items.filter(({id:s})=>e.detail.id!==s),this.total-=1,this.nextStart>-1&&(this.nextStart-=1),this.arcgisHubDiscussionsPostListUpdated.emit())}handlePostCreated(e){let t=e.detail.discussion.includes(this.discussion),s=!0;this.parentIds&&(s=this.parentIds.length?this.parentIds.includes(e.detail.parentId):!e.detail.parentId),t&&s&&(this.sortOrder===$.DESC?this.items.find(({id:i})=>e.detail.id===i)||(this.items=[e.detail,...this.items],this.total+=1,this.nextStart>-1&&(this.nextStart+=1),this.arcgisHubDiscussionsPostListUpdated.emit()):(this.total+=1,this.arcgisHubDiscussionsPostListUpdated.emit()))}handlePostEdited(e){this.items.findIndex(({id:s})=>e.detail.id===s)>-1&&(this.items=this.items.map(s=>s.id===e.detail.id?e.detail:s),this.arcgisHubDiscussionsPostListUpdated.emit())}handleLoadMoreChange(e){e.stopPropagation(),this.searchPosts(this.nextStart)}async getPostRefByPostId(e){return Array.prototype.find.call(this.layoutListRef.childNodes,t=>t.postId===e)||null}handleSortByChanged(){this.searchPosts(1)}handleSortBySelect(e){let{selectedItems:[{dataset:{value:t}}]}=e.target;this.sortBy=t}get searchParams(){let{sortBy:e,sortOrder:t,access:s,status:i,channelIds:o,groupIds:n,titleText:a,bodyText:c,discussion:l,geometry:d,creator:u,editor:h,featureGeometry:p,parentIds:y,createdBefore:b,createdAfter:f,updatedBefore:_,updatedAfter:w,num:T}=this,E=O=>O===void 0?O:new Date(O),k={title:a&&`%${a}%`,body:c&&`%${c}%`,term:c&&`%${c}%`,discussion:l&&!l.endsWith("%")?`${l}%`:l,geometry:d,featureGeometry:p,parents:y,status:i,creator:u,editor:h,sortBy:e,sortOrder:t,access:s,channels:o,groups:n,createdBefore:E(b),createdAfter:E(f),updatedBefore:E(_),updatedAfter:E(w),num:T};return Object.entries(k).reduce((O,[P,L])=>L?Object.assign(Object.assign({},O),{[P]:L}):O,{})}searchPosts(e){let{_context:t,searchParams:s,arcgisHubDiscussionsPostListUpdated:i,items:o,loadedPostIds:n}=this;return Object.assign(this,{pending:!0,error:null}),e===1&&Object.assign(this,{items:[],total:0,nextStart:-1}),He(Object.assign({data:Object.assign({start:e,relations:[v.REPLIES,v.REACTIONS,v.CHANNEL,v.CHANNEL_ACL]},s)},t.hubRequestOptions)).then(({items:a,nextStart:c,total:l})=>{let d,u;e===1?(d=a,u=[]):(u=n,d=[...o,...a]),Object.assign(this,{items:d,nextStart:c,total:l,loadedPostIds:u,mostRecentPagePostIds:a.map(({id:h})=>h)}),this.emitPostListOpenEvent(!0),i.emit()}).catch(a=>{this.error=a,this.emitPostListOpenEvent(!1)}).finally(()=>{this.pending=!1})}renderCount(){if(this.showCounts){let{items:e,total:t,intl:s}=this,i=e.length?1:0,o=e.length?e.length:0;return r("div",{class:"post-count"},s.t("searchCount",{start:i,end:o,total:t}))}}renderSortByDropdown(){if(this.showSortActions){let{intl:e,sortBy:t,sortByMenuConfigs:s,activeSortConfig:i,pending:o,handleSortBySelect:n,total:a}=this;return r("calcite-dropdown",{disabled:o||!a,onCalciteDropdownSelect:n},r("calcite-button",{appearance:"transparent",iconEnd:"caret-down",slot:"trigger"},e.t(i.label)),r("calcite-dropdown-group",null,s.map(({label:c,value:l})=>r("calcite-dropdown-item",{"data-value":l,key:l,selected:l===t},e.t(c)))))}}handleSortOrderSelected(){this.sortOrder=this.sortOrder===$.DESC?$.ASC:$.DESC}handleSearchInputChanged(e){this.bodyText=e.target.value}handleSortOrderChanged(){this.searchPosts(1)}handleBodyChanged(){this.searchPosts(1),this.hubTelemetry.emit(g.dictionary.category.interaction.action.search.label.searchPosts.details.mapView)}renderSortDirectionAction(){if(this.showSortActions){let{sortOrder:e,intl:t,handleSortOrderSelected:s,pending:i,total:o}=this,n,a;return e===$.DESC?(n="sort-descending-arrow",a="orderDesc"):(a="orderAsc",n="sort-ascending-arrow"),r("calcite-action",{class:"sort-direction-action",disabled:i||!o,icon:n,iconFlipRtl:this.isRtl,onClick:s,scale:"s",text:t.t(a)})}}renderSearch(){if(this.showSearchActions){let{intl:e,pending:t,handleSearchInputChanged:s,isRtl:i,total:o,bodyText:n}=this;return r("calcite-input",{disabled:t||!n&&!o,icon:!0,iconFlipRtl:i,onCalciteInputChange:s,placeholder:e.t("searchIdeas"),type:"search",value:n})}}renderList(){let{items:e,layout:t,parentIds:s,pending:i,isMobile:o}=this;return r("arcgis-layout-list",{class:{"replies-only":!!s?.length},disabled:i,layout:t,ref:n=>{this.layoutListRef=n},showMapControl:!o},this.renderCountAndActions(),e.map(this._renderPost))}_renderPost(e,t,s){let{hasMap:i,isHub:o,unsavedFeatures:n,unsavedRelatedFeatures:a,unsavedExistingFeatures:c,displayFieldKey:l,displayFieldValid:d,displayFieldValue:u,showChannelAvatar:h,showChannelName:p,entity:y,entityId:b,entityType:f,discussionSettings:_,isMobile:w,locationDescriptionText:T,locationId:E,mostRecentPagePostIds:k,loadedPostIds:O,parentIds:P,showLocations:L,disableSelectExistingLocation:N}=this,R=k.includes(e.id)?k.some(U=>!O.includes(U)):!O.includes(e.id);return this.renderPost?this.renderPost(e,t,s,R):r("arcgis-hub-discussions-post",{channel:e.channel,channelId:e.channel.id,disableSelectExistingLocation:N,discussionSettings:_,displayFieldKey:l,displayFieldValid:d,displayFieldValue:u,entity:y,entityId:b,entityType:f,hasMap:i,index:t,isHub:o,isMobile:w,key:e.id,lastIndex:s.length-1,lead:!!P?.length,loading:R,locationDescriptionText:T,locationId:E,parentId:e.parentId,post:e,postId:e.id,preview:!e.parentId,role:"listitem",showChannelAvatar:h,showChannelName:p,showLocations:L,unsavedExistingFeatures:c,unsavedFeatures:n,unsavedRelatedFeatures:a})}renderCountAndActions(){let{showLayoutActions:e,showCounts:t,showSortActions:s}=this;if(e||t||s)return r("div",{class:"post-results-info-and-controls",slot:"actions"},this.renderCount(),this.renderSortByDropdown(),this.renderSortDirectionAction())}renderListAndActions(){let{nextStart:e,pending:t}=this;return r(D,null,r("slot",{name:"list-before"}),this.renderSearch(),this.renderList(),this.renderEmpty(),this.renderError(),r("arcgis-load-more-button",{appearance:"outline-fill",loading:t,nextStart:e}))}renderLoading(){return null}renderEmpty(){return r("slot",{name:"empty"})}renderError(){return r("slot",{name:"error"})}render(){let{view:e,error:t,items:s}=this;return r(G,{key:"2ed8f4bcd368ecddc615afe597ee687cdae3d2d3",class:{"has-error":!!t,rtl:!0},"data-count":s?.length||0,"data-element":"discussions-post-list"},e.render())}static get assetsDirs(){return["locales"]}get element(){return z(this)}static get watchers(){return{_context:["handleContextChanged"],ready:["handleReadyChanged"],loadedPostIds:["handleLoadedPostIdsChanged"],sortBy:["handleSortByChanged"],sortOrder:["handleSortOrderChanged"],bodyText:["handleBodyChanged"]}}};Dt([le({delay:300})],ct.prototype,"fetchDependencies",null);ct.style=kt;var lt=[m.THUMBS_UP,m.THINKING,m.GRINNING,m.PARTY_POPPER],nt=[...lt,m.SLIGHTLY_SMILING,m.CONFUSED,m.LAUGH,m.FACE_WITH_TEARS_OF_JOY,m.WINKING,m.PARTYING,m.SAD,m.SURPRISED,m.THUMBS_DOWN,m.CLAPPING_HANDS,m.RAISING_HANDS,m.WAVING_HAND,m.HEART,m.ONE_HUNDRED,m.FIRE,m.ROCKET,m.UP_ARROW,m.DOWN_ARROW,m.EYES,m.TROPHY,m.WORLD_MAP],H={[m.SLIGHTLY_SMILING]:{emoji:"\u{1F642}",telemetryKey:"smilingFace"},[m.CONFUSED]:{emoji:"\u{1F615}",telemetryKey:"confusedFace"},[m.LAUGH]:{emoji:"\u{1F600}",telemetryKey:"laughingFace"},[m.GRINNING]:{emoji:"\u{1F606}",telemetryKey:"grinningFace"},[m.FACE_WITH_TEARS_OF_JOY]:{emoji:"\u{1F602}",telemetryKey:"faceWithTearsOfJoy"},[m.THINKING]:{emoji:"\u{1F914}",telemetryKey:"thinkingFace"},[m.WINKING]:{emoji:"\u{1F609}",telemetryKey:"winkingFace"},[m.PARTYING]:{emoji:"\u{1F973}",telemetryKey:"partyingFace"},[m.SAD]:{emoji:"\u{1F625}",telemetryKey:"sadFace"},[m.SURPRISED]:{emoji:"\u{1F632}",telemetryKey:"shockedFace"},[m.THUMBS_UP]:{emoji:"\u{1F44D}",telemetryKey:"thumbsUp"},[m.THUMBS_DOWN]:{emoji:"\u{1F44E}",telemetryKey:"thumbsDown"},[m.CLAPPING_HANDS]:{emoji:"\u{1F44F}",telemetryKey:"clappingHands"},[m.RAISING_HANDS]:{emoji:"\u{1F64C}",telemetryKey:"raisingHands"},[m.WAVING_HAND]:{emoji:"\u{1F44B}",telemetryKey:"wavingHand"},[m.HEART]:{emoji:"\u2764\uFE0F",telemetryKey:"redHeart"},[m.ONE_HUNDRED]:{emoji:"\u{1F4AF}",telemetryKey:"hundredPoints"},[m.FIRE]:{emoji:"\u{1F525}",telemetryKey:"fire"},[m.PARTY_POPPER]:{emoji:"\u{1F389}",telemetryKey:"partyPopper"},[m.ROCKET]:{emoji:"\u{1F680}",telemetryKey:"rocket"},[m.UP_ARROW]:{emoji:"\u2B06",telemetryKey:"upArrow"},[m.DOWN_ARROW]:{emoji:"\u2B07",telemetryKey:"downArrow"},[m.EYES]:{emoji:"\u{1F440}",telemetryKey:"eyes"},[m.TROPHY]:{emoji:"\u{1F3C6}",telemetryKey:"trophy"},[m.WORLD_MAP]:{emoji:"\u{1F5FA}",telemetryKey:"worldMap"}},Et=`:host{display:inline-block}:host>div>calcite-button{margin-right:0.125rem;border-width:2px;border-style:solid;border-color:transparent;padding:0.125rem}:host>div>calcite-button:last-of-type{margin-right:0px}.submitted_reactions_list calcite-button{border-width:2px;border-style:solid;border-color:transparent;padding:0.125rem}.submitted_reactions_list calcite-button span{margin-left:0.25rem}calcite-button[aria-checked="true"],calcite-button[data-reaction="add"][aria-expanded="true"]{border-color:var(--calcite-color-brand)}:host(.rtl) calcite-button[data-reaction="add"]{transform:scaleX(-1)}calcite-button[aria-checked="true"] span{font-weight:var(--calcite-font-weight-bold)}:host>div{display:flex}.submitted_reactions_list{margin:0px;display:inline-flex;list-style-type:none;padding:0px}.submitted_reactions_list li{margin-right:0.125rem}.user_reactions_popover{width:20rem}.user_reactions_list{margin:0px;display:grid;max-height:407px;list-style-type:none;grid-auto-flow:row;row-gap:0.75rem;overflow:auto;padding:0.75rem}.user_reaction_item{display:grid;grid-template-rows:repeat(2, minmax(0, 1fr));column-gap:0.75rem;row-gap:0.125rem;background-color:var(--calcite-color-foreground-1);grid-template-columns:2.75rem auto}.user_reaction_item:has(div:nth-of-type(3)){grid-template-columns:2.75rem auto minmax(0, 16px)}.user_reaction_item calcite-avatar{grid-row:span 2 / span 2;height:2.75rem;width:2.75rem}.user_reaction_item div:nth-of-type(1){display:flex;flex-grow:1;align-items:center;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-bold);text-transform:capitalize;color:var(--calcite-color-text-1)}.user_reaction_item div:nth-of-type(2){display:flex;align-items:center;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}.user_reaction_item:has(div:nth-of-type(3)) div:nth-of-type(2){grid-row:span 2 / span 2;justify-content:flex-end}.user_reaction_item div:nth-of-type(2):before{content:'@'}.user_reaction_item:has(div:nth-of-type(3)) div:nth-of-type(2):before{content:''}.user_reaction_item div:nth-of-type(3){display:flex;align-items:center;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}.user_reaction_item div:nth-of-type(3):before{content:'@'}arcgis-skeleton-loader{display:grid;grid-template-rows:repeat(2, minmax(0, 1fr));column-gap:0.75rem;row-gap:0.125rem;grid-template-columns:2.75rem auto}arcgis-skeleton-loader:has(div:nth-of-type(4)){grid-template-columns:2.75rem auto minmax(0, 16px)}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}arcgis-skeleton-loader>div:nth-of-type(1){animation:shimmer 2s cubic-bezier(0.4, 0, 0.2, 0.8) infinite;background-image:linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);background-color:var(--calcite-color-foreground-3);grid-row:span 2 / span 2;height:2.75rem;width:2.75rem;border-radius:50%}arcgis-skeleton-loader>div:nth-of-type(2){display:flex;align-items:center}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}arcgis-skeleton-loader>div:nth-of-type(2) div{animation:shimmer 2s cubic-bezier(0.4, 0, 0.2, 0.8) infinite;background-image:linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);background-color:var(--calcite-color-foreground-3);display:flex;flex-grow:1;border-radius:0.375rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}arcgis-skeleton-loader>div:nth-of-type(3){display:flex;align-items:center}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}arcgis-skeleton-loader>div:nth-of-type(3) div{animation:shimmer 2s cubic-bezier(0.4, 0, 0.2, 0.8) infinite;background-image:linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);background-color:var(--calcite-color-foreground-3);display:flex;flex-grow:1;border-radius:0.375rem;font-size:var(--calcite-font-size--1);line-height:1rem}arcgis-skeleton-loader:has(div:nth-of-type(4))>div:nth-of-type(3){grid-row:span 2 / span 2;display:flex;align-items:center}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}arcgis-skeleton-loader::has(div:nth-of-type(4))>div:nth-of-type(3) div{animation:shimmer 2s cubic-bezier(0.4, 0, 0.2, 0.8) infinite;background-image:linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);background-color:var(--calcite-color-foreground-3);display:flex;height:1rem;flex-grow:1;border-radius:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}arcgis-skeleton-loader>div:nth-of-type(4) div{animation:shimmer 2s cubic-bezier(0.4, 0, 0.2, 0.8) infinite;background-image:linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);background-color:var(--calcite-color-foreground-3);display:flex;flex-grow:1;border-radius:0.375rem;font-size:var(--calcite-font-size--1);line-height:1rem}.default_reactions{display:flex;flex-direction:row;padding:0.75rem}.default_reactions ul{margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0.5rem;display:inline-flex;list-style-type:none;padding:0px}.default_reactions li{margin-right:0.5rem}.default_reactions li:last-of-type{margin-right:0px}.all_reactions_list{margin:0px;display:grid;list-style-type:none;grid-template-columns:repeat(5, minmax(0, 1fr));gap:0.5rem;padding:0.75rem}`,Tt=Et,Lt=function(e,t,s,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,s):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(n=(o<3?a(n):o>3?a(t,s,n):a(t,s))||n);return o>3&&n&&Object.defineProperty(t,s,n),n},ot=(e,t)=>{let s=new Date(e.createdAt),i=new Date(t.createdAt);return s>i?-1:s<i?1:0},at=e=>(t,s)=>e[t.value].length>e[s.value].length?1:e[t.value].length<e[s.value].length?-1:0,dt=class{async handlePostIdChanged(e,t){await this.fetchPostDetails(e,t)}handleContextChanged(e,t){var s,i;((s=e.currentUser)===null||s===void 0?void 0:s.username)!==((i=t.currentUser)===null||i===void 0?void 0:i.username)&&(this.users={})}handlePopoverOpen(e){e.target!==this.element&&(this.activePopover=null)}constructor(e){K(this,e),this.hubTelemetry=C(this,"hubTelemetry",7),this.arcgisHubDiscussionsPostReactionChange=C(this,"arcgisHubDiscussionsPostReactionChange",7),this.reactionListButtons={},this.postId=void 0,this.post=void 0,this.channel=void 0,this._context=Z(),this.showAllReactions=!1,this.activePopover=null,this.pending=!1,this.users={},W(this,"handleAddReactionClick","handleViewAllReactionsClick","handleAddReactionPopoverClose","handleReactionFocus","handleReactionMouseEnter","handleReactionPopoverClose","handleReactionClicked","handleReactionPopoverOpen","handleReactionRef","deleteUserReaction","handleReactionPopoverBeforeOpen")}async componentWillLoad(){let[e]=await Promise.all([V.loadIntlForComponent(this.element),this.handlePostIdChanged(this.postId)]);this.intl=e}connectedCallback(){ne(this)}disconnectedCallback(){this.disconnectContext()}get isDisabled(){let{_context:e,channel:t,pending:s}=this;return[!e.currentUser,!t.allowReaction,s].some(i=>!!i)}get overflowReactionRecords(){let{listReactions:e,reactionRecordGroups:t}=this,s=(i,[o,n])=>e.find(a=>a.value===o)?i:[...i,...n];return Object.entries(t).reduce(s,[]).sort(ot)}get currentUserReactions(){let{_context:e,reactionRecordGroups:t}=this;return Object.values(t).reduce((s,i)=>[...s,...i.filter(o=>{var n;return o.creator===((n=e.currentUser)===null||n===void 0?void 0:n.username)})],[]).sort(at(t))}get otherUserReactions(){let{reactionRecordGroups:e,currentUserReactions:t}=this;return Object.values(e).reduce((i,o)=>[...i,...o],[]).reduce((i,o)=>t.find(a=>a.value===o.value)||i.find(a=>a.value===o.value)?i:[...i,o],[]).sort(at(e))}get listReactions(){let{currentUserReactions:e,otherUserReactions:t,reactionRecordGroups:s}=this,i=[...t,...e],o=Object.keys(s).length>4?3:4,n,a;return i.length>o?(n=i.length-o,a=i.length):(n=0,a=i.length),i.slice(n,a)}get reactionRecordGroups(){let{post:{reactions:e}}=this,t=(s,i)=>nt.includes(i.value)?Object.assign(Object.assign({},s),{[i.value]:[...s[i.value]||[],i]}):s;return[...e].sort(ot).reduce(t,{})}async fetchPostDetails(e,t){let{_context:s}=this;if(e&&e!==t){let i=await M(Object.assign({postId:e,data:{relations:[v.CHANNEL,v.CHANNEL_ACL,v.REACTIONS,v.REPLIES]}},s.hubRequestOptions));i.replyCount=i.replies.total,delete i.replies,this.channel=i.channel,this.post=i}}handleAddReactionClick(e){let{dataset:{reaction:t}}=e.target,{post:s,channel:i}=this;this.activePopover=t,this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.interaction.action.open.label.popover.details.addReaction),{postId:s.id,parentId:s.parentId,channelId:i.id,channelAccess:x(i)}))}handleViewAllReactionsClick(){this.showAllReactions=!0}handleAddReactionPopoverClose(){this.showAllReactions=!1,this.activePopover=null}handleReactionFocus(e){let{dataset:{reaction:t}}=e.target;this.activePopover=t}handleReactionMouseEnter(e){let t=e.target,{nodeName:s,dataset:{reaction:i}}=t;s==="CALCITE-BUTTON"&&this.activePopover!=="add"&&(this.activePopover=i)}handleReactionPopoverClose(e){let{dataset:{reaction:t}}=e.target;this.activePopover===t&&(this.activePopover=null)}async handleReactionPopoverBeforeOpen(e){let{reaction:t}=e.target.dataset,s=await this.fetchUserRecords(t);this.users=Object.assign(Object.assign({},this.users),s)}async handleReactionClicked(e){let{currentUserReactions:t,arcgisHubDiscussionsPostReactionChange:s,activePopover:i}=this,{dataset:{reaction:o}}=e.currentTarget,n=t.find(({value:a})=>a===o);this.pending=!0;try{if(await Promise.all(t.map(this.deleteUserReaction)),n||await this.createReaction(o),i==="add"&&(this.activePopover=null),this.activePopover){let a=await this.fetchUserRecords(o);this.users=Object.assign(Object.assign({},this.users),a)}}catch{}finally{s.emit(),this.pending=!1}}handleReactionPopoverOpen(e){let{channel:t,post:s}=this,{dataset:{reaction:i}}=e.target,o=i==="overflow"?g.dictionary.category.interaction.action.open.label.popover.details.reactionOverflow:g.dictionary.category.interaction.action.open.label.popover.details[H[i].telemetryKey];this.hubTelemetry.emit(Object.assign(Object.assign({},o),{postId:s.id,parentId:s.parentId,channelId:t.id,channelAccess:x(t)}))}async handleReactionRef(e){var t;+((t=e?.dataset)===null||t===void 0?void 0:t.index)==0&&await e.setFocus()}async fetchUserRecords(e){let{reactionRecordGroups:t,overflowReactionRecords:s,users:i}=this,n=(e==="overflow"?s:t[e]).reduce((a,c)=>i[c.creator]?a:[...a,c.creator],[]);if(n.length){let a=n.reduce((l,d)=>[...l,this.fetchUserRecord(d)],[]);return(await Promise.all(a)).reduce((l,d,u)=>Object.assign(Object.assign({},l),{[n[u]]:d}),{})}}async fetchUserRecord(e){return Ae(e,this._context.hubRequestOptions).catch(t=>null)}async createReaction(e){let{_context:t,post:s,channel:i}=this;try{let o=await Be(Object.assign({data:{postId:s.id,value:e}},t.hubRequestOptions));this.post=Object.assign(Object.assign({},this.post),{reactions:[...this.post.reactions,o]}),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.reaction.details[H[e].telemetryKey]),{postId:s.id,parentId:s.id,channelId:i.id,channelAccess:x(i),response:g.constants.response.SUCCESS}))}catch(o){throw this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.create.label.reaction.details[H[e].telemetryKey]),{postId:s.id,parentId:s.id,channelId:i.id,channelAccess:x(i),response:g.constants.response.FAILURE})),console.error("Failed to create reaction:",e,o.message),o}}async deleteUserReaction(e){let{_context:t,post:s,channel:i,currentUserReactions:o}=this;try{await Ge(Object.assign({reactionId:e.id},t.hubRequestOptions)),this.post=Object.assign(Object.assign({},s),{reactions:s.reactions.filter(({id:n})=>!o.find(a=>a.id===n))}),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.delete.label.reaction.details[H[e.value].telemetryKey]),{postId:s.id,parentId:s.id,channelId:i.id,channelAccess:x(i),response:g.constants.response.SUCCESS}))}catch(n){throw console.error("Failed to delete reaction:",e.value,e.id,n.message),this.hubTelemetry.emit(Object.assign(Object.assign({},g.dictionary.category.content.action.delete.label.reaction.details[H[e.value].telemetryKey]),{postId:s.id,parentId:s.id,channelId:i.id,channelAccess:x(i),response:g.constants.response.FAILURE})),n}}renderList(){let{listReactions:e,reactionRecordGroups:t,intl:s,_context:i,activePopover:o,isDisabled:n,handleReactionPopoverClose:a,handleReactionPopoverOpen:c}=this;return r("ul",{class:"submitted_reactions_list"},e.reduce((l,d)=>{var u;let h=d.creator===((u=i.currentUser)===null||u===void 0?void 0:u.username),p=t[d.value].length>99?s.t("reaction_count_99_plus"):t[d.value].length;return[...l,r("li",{key:d.value},r("calcite-button",{appearance:"outline","aria-checked":h?"true":"false","data-reaction":d.value,disabled:n,kind:h?"brand":"neutral",label:s.t(h?"reaction_list_label_remove":"reaction_list_label_add",{reaction:s.t(d.value),count:p}),onClick:this.handleReactionClicked,onFocus:this.handleReactionFocus,onMouseEnter:this.handleReactionMouseEnter,ref:y=>{this.reactionListButtons=Object.assign(Object.assign({},this.reactionListButtons),{[d.value]:y})},role:"radio",round:!0,scale:"m"},H[d.value].emoji,r("span",null,p)),r("calcite-popover",{"auto-close":!0,class:"user_reactions_popover","data-reaction":d.value,"focus-trap-disabled":!0,heading:s.t(d.value),label:s.t(d.value),onCalcitePopoverBeforeOpen:this.handleReactionPopoverBeforeOpen,onCalcitePopoverClose:a,onCalcitePopoverOpen:c,open:o===d.value,overlayPositioning:"fixed",placement:"bottom",referenceElement:this.reactionListButtons[d.value],"trigger-disabled":!0},this.renderUserReactions(t[d.value],!1)))]},[]))}renderUserSkeleton(e){return r("arcgis-skeleton-loader",{active:!0,role:"listitem",rows:0,showFooter:!1,showHeading:!1,showThumbnail:!1},r("div",null),r("div",null,r("div",null,"\xA0")),e&&r("div",null,r("div",null,"\xA0")),r("div",null,r("div",null,"\xA0")))}renderUserReaction(e,t){var s;let{users:i,_context:o,intl:n}=this,a=i[e.creator],c=a?.fullName||n.t("privateUser");return r("li",{"aria-label":n.t("reaction_user_label",{userFullName:c,reaction:n.t(e.value)}),class:"user_reaction_item"},r("calcite-avatar",{"full-name":a?.fullName,scale:"l",thumbnail:a?.thumbnail&&be(o.hubRequestOptions.portal,{username:a.username,access:a.access,thumbnail:a.thumbnail},(s=o.hubRequestOptions.authentication)===null||s===void 0?void 0:s.token),"user-id":a?.id,username:a?.username}),r("div",null,c),t&&r("div",null,H[e.value].emoji),r("div",null,a?.username||n.t("noUser")))}renderUserReactions(e,t){let{users:s}=this;return r("ul",{class:"user_reactions_list"},e.map(i=>s[i.creator]===void 0?this.renderUserSkeleton(t):this.renderUserReaction(i,t)))}renderOverflow(){let{intl:e,overflowReactionRecords:t,handleReactionPopoverClose:s,handleReactionPopoverOpen:i,activePopover:o,isDisabled:n,overflowButton:a}=this,c=t.length>99?e.t("reaction_count_99_plus"):e.formatNumber(t.length,{signDisplay:"always"});return!!t.length&&r(D,null,r("calcite-button",{appearance:"outline","data-reaction":"overflow",disabled:n,kind:"neutral",label:e.t(t.length>1?"n_more_reactions":"one_more_reaction",{count:c}),onFocus:this.handleReactionFocus,onMouseOver:this.handleReactionMouseEnter,ref:l=>{this.overflowButton=l},round:!0,scale:"m"},c),r("calcite-popover",{"auto-close":!0,class:"user_reactions_popover","data-reaction":"overflow","focus-trap-disabled":!0,heading:e.t("moreReactions"),label:e.t("moreReactions"),onCalcitePopoverBeforeOpen:this.handleReactionPopoverBeforeOpen,onCalcitePopoverClose:s,onCalcitePopoverOpen:i,open:o==="overflow",overlayPositioning:"fixed",placement:"bottom",referenceElement:a,"trigger-disabled":!0},this.renderUserReactions(t,!0)))}renderDefaultReactions(){let{currentUserReactions:e,intl:t,isDisabled:s}=this;return r("div",{class:"default_reactions"},r("ul",null,lt.map(i=>{let o=e.find(n=>n.value===i);return r("li",{key:i},r("calcite-button",{appearance:o?"outline":"transparent","aria-checked":o?"true":"false","data-reaction":i,disabled:s,kind:o?"brand":"neutral",label:t.t(o?"reaction_picker_label_remove":"reaction_picker_label_add",{reaction:t.t(i)}),onClick:this.handleReactionClicked,role:"radio",round:!0,scale:"m"},H[i].emoji))})),r("calcite-button",{appearance:"transparent",disabled:s,"icon-start":"plus",kind:"neutral",label:t.t("viewAllReactions"),onClick:this.handleViewAllReactionsClick,round:!0,scale:"m"}))}renderAllReactions(){let{intl:e,currentUserReactions:t,isDisabled:s,handleReactionClicked:i,handleReactionRef:o}=this;return r("ul",{class:"all_reactions_list"},nt.map((n,a)=>{let c=t.find(l=>l.value===n);return r("li",{key:n},r("calcite-button",{appearance:c?"outline":"transparent","aria-checked":c?"true":"false","data-index":a,"data-reaction":n,disabled:s,kind:c?"brand":"neutral",label:e.t(c?"reaction_picker_label_remove":"reaction_picker_label_add",{reaction:e.t(n)}),onClick:i,ref:o,round:!0,scale:"m"},H[n].emoji))}))}renderAddReaction(){let{intl:e,handleAddReactionClick:t,handleAddReactionPopoverClose:s,isDisabled:i,activePopover:o,showAllReactions:n,addReactionButton:a}=this;return r(D,null,r("calcite-button",{appearance:"outline","data-reaction":"add",disabled:i,"icon-start":"add-reaction",kind:o==="add"?"brand":"neutral",label:e.t("addReaction"),onClick:t,ref:c=>{this.addReactionButton=c},round:!0,scale:"m"}),r("calcite-popover",{"auto-close":!0,"data-reaction":"add",label:e.t("addReaction"),onCalcitePopoverClose:s,open:o==="add",overlayPositioning:"fixed",placement:"bottom",referenceElement:a,scale:"m"},n?this.renderAllReactions():this.renderDefaultReactions()))}render(){return r(G,{key:"f0025fd90cfd946bad8ca7a32d1ee8854a4e2023",class:{rtl:this.intl.direction==="rtl"},"data-element":"arcgis-hub-discussions-post-reactions"},r("div",{key:"8c322a992367783f853a2d750e1287cf3615764c"},this.renderList(),this.renderOverflow(),this.renderAddReaction()))}static get assetsDirs(){return["locales"]}get element(){return z(this)}static get watchers(){return{postId:["handlePostIdChanged"],_context:["handleContextChanged"]}}};Lt([le({delay:300})],dt.prototype,"fetchUserRecord",null);dt.style=Tt;var St=":host{display:block}ol{margin:0px;display:grid;padding:0px;gap:var(--arcgis-hub-layout-list-gap, 1rem)}.map{grid-template-columns:1fr}.list{grid-template-columns:1fr}.grid{grid-template-columns:repeat(auto-fill, minmax(var(--arcgis-hub-layout-list-min-column-width, 20rem), 1fr))}.actions{display:grid;align-items:center;gap:var(--arcgis-hub-layout-list-actions-gap, 0.25rem);grid-template-columns:1fr;grid-template-rows:1fr;margin-bottom:var(--arcgis-hub-layout-list-actions-margin, 1rem)}.actions:has(.layout-actions){grid-template-columns:auto max-content}.actions:not(.hasActions){display:none}:host(.rtl) .layout-actions calcite-action{transform:scaleX(-1)}",jt=St,Ht=function(e,t,s,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,s):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(n=(o<3?a(n):o>3?a(t,s,n):a(t,s))||n);return o>3&&n&&Object.defineProperty(t,s,n),n},ut=class{constructor(e){K(this,e),this.arcgisLayoutListLayoutSelected=C(this,"arcgisLayoutListLayoutSelected",7),this.layout="list",this.disabled=!1,this.showMapControl=void 0,this.scale="s",this.listStyleDeclaration=void 0,this.hasSlottedActions=!1,W(this,"handleResized","handleLayoutSelected","handleSlotChanged")}connectedCallback(){Re.addHandler(this.element,this.handleResized)}async componentWillLoad(){await this.loadTranslations()}disconnectedCallback(){Re.unobserve(this.element)}async loadTranslations(){this.intl=await V.loadIntlForComponent(this.element)}handleResized(){this.listRef&&(this.listStyleDeclaration=globalThis.getComputedStyle(this.listRef))}get showActions(){return this.hasLayoutActions||this.hasSlottedActions}handleSlotChanged(){this.hasSlottedActions=!!this.element.querySelector('[slot="actions"]')}get hasLayoutActions(){let{listStyleDeclaration:e}=this,t=!1;if(e){let s=parseInt(e.getPropertyValue("gap"),10),i=e.getPropertyValue("grid-template-columns").split(" "),o=parseFloat(i[0]),n=e.getPropertyValue("--arcgis-hub-layout-list-min-column-width"),a=parseFloat(n)*(n.endsWith("rem")?16:1);t=i.length>1||a*2+s<o}return!!t}handleLayoutSelected(e){this.layout=e.target.icon,this.arcgisLayoutListLayoutSelected.emit(this.layout)}renderList(){return r("ol",{class:{[this.layout]:!0},ref:e=>{this.listRef=e}},r("slot",null))}renderLayoutActions(){let{hasLayoutActions:e,showMapControl:t}=this;if(e||t){let{layout:s,intl:i,disabled:o,handleLayoutSelected:n,scale:a}=this,c=[...t?["map"]:[],...e?["grid"]:[],"list"],l=d=>{let u=d===s;return!e&&s=="grid"&&d==="list"&&(u=!0),u};return r("div",{class:"layout-actions"},r("calcite-action-bar",{"expand-disabled":!0,layout:"horizontal"},c.map(d=>r("calcite-action",{active:l(d),disabled:o,icon:d,key:d,label:i.t(`${d}.label`),onClick:n,scale:a,text:i.t(`${d}.text`)}))))}}renderActions(){return r("div",{class:{actions:!0,hasActions:this.showActions}},r("div",null,r("slot",{name:"actions",onSlotchange:this.handleSlotChanged})),this.renderLayoutActions())}render(){return r(G,{key:"ad4348406668558721fe7fab7a3704a7062bc315",class:{rtl:this.intl.direction==="rtl"}},this.renderActions(),this.renderList())}static get assetsDirs(){return["locales"]}get element(){return z(this)}};Ht([Te({timeout:250})],ut.prototype,"handleResized",null);ut.style=jt;var Ft=":host{display:block}",Nt=Ft,Ut=class{constructor(e){K(this,e),this.arcgisLoadMoreChange=C(this,"arcgisLoadMoreChange",7),this.nextStart=void 0,this.color="neutral",this.appearance="transparent",this.scale="l",this.width="full",this.round=!0,this.loading=!1,W(this,"handleLoadMore")}get hasMoreResults(){let{nextStart:e}=this;return e!==-1}get disabled(){let{loading:e,hasMoreResults:t}=this;return e||!t}async componentWillLoad(){this.intl=await V.loadIntlForComponent(this.el)}handleLoadMore(){let{nextStart:e}=this;this.arcgisLoadMoreChange.emit(e)}render(){let{loading:e,handleLoadMore:t,round:s,scale:i,width:o,intl:n,hasMoreResults:a,disabled:c,color:l,appearance:d}=this,u=n.t("loadMore");return r(G,{key:"e67f48f31b73b5bbed8be786933fa5e7b40f6de8"},a&&r("calcite-button",{appearance:d,disabled:c||e,kind:st(l),label:u,loading:e,onClick:t,round:s,scale:i,width:o},u))}static get assetsDirs(){return["locales"]}get el(){return z(this)}};Ut.style=Nt;return{arcgis_hub_discussions_post:q,arcgis_hub_discussions_post_chips:Rt,arcgis_hub_discussions_post_editor:te,arcgis_hub_discussions_post_list:ct,arcgis_hub_discussions_post_reactions:dt,arcgis_layout_list:ut,arcgis_load_more_button:Ut}},"config",a,b)
|
package/dist/cdn/BBSHFY2N.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.8/esri/copyright.txt for details.
|
|
3
|
-
v0.8.1 */
|
|
4
|
-
import{a as E}from"./FEHY7NIG.js";import c from"./SNB4MX72.js";import{a as g}from"./32GDPHDN.js";import{f as j}from"./AJ6GGK2S.js";import{g as a}from"./2C3DGITH.js";import{a as b}from"./NWN4JXE2.js";export default $arcgis.t(([{d:D,f:U,l:C}])=>{async function L(w,y,G){var p,m,v;let{post:n,parent:l,bust:c,locationId:F,discussionType:T}=w,{discussion:d,entityId:s,entityType:e,entity:i,displayFieldValue:o,displayFieldKey:h,displayFieldValid:u,discussionSettings:r}=w,f=(t,P,O)=>P===a.GROUP?E(t,Object.assign(Object.assign({},y),{enrichments:["data"]}),{bust:O}):U(t,Object.assign(Object.assign({},y),{enrichments:["data"]}),{bust:O});if(i)s=i.id,e=i.type===a.GROUP?a.GROUP:"content";else if(s&&e)i=await f(s,e,c);else if(l||n)({type:e,id:s}=g(l?.discussion||n?.discussion)),i=await f(s,e,c);else if(d)if({type:e,id:s}=g(d),[a.GROUP,a.CONTENT].includes(e))i=await f(s,e,c);else if(e)i=await f(s,e,c);else throw new Error("must provide an `entityType` when only providing `discussion` with scope that is not `content` or `group`");if(i){if(h=((p=i.layer)===null||p===void 0?void 0:p.displayField)||null,u=C(i),G&&r===void 0)try{let t=await j(Object.assign({id:i.id},y));r=(v=(m=t?.settings)===null||m===void 0?void 0:m.discussions)!==null&&v!==void 0?v:null}catch{r=null}if(F&&u&&o===void 0)try{({properties:{[i.layer.displayField]:o}}=await D(i.url,F))}catch(t){b.error("Failed to load location:",t.message)}else o=o||null}else h=null,u=null,o=null,r=null;return d=d||n?.discussion||l?.discussion||`hub://${e}/${s}${T?`/${T}`:""}`,{discussion:d,entityId:s,entityType:e,entity:i,displayFieldKey:h,displayFieldValid:u,displayFieldValue:o,discussionSettings:r}}return L},c)
|
package/dist/cdn/BCEYEQFL.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.8/esri/copyright.txt for details.
|
|
3
|
-
v0.8.1 */
|
|
4
|
-
var n;(function(a){a.start="start",a.center="center",a.end="end"})(n||(n={}));var e;(function(a){a.square="square",a.round="round"})(e||(e={}));var o;(function(a){a.none="none",a.low="low",a.medium="medium",a.heavy="heavy"})(o||(o={}));var r;(function(a){a.simple="simple",a.informational="informational"})(r||(r={}));var t;(function(a){a.small="s",a.medium="m",a.large="l"})(t||(t={}));var i;(function(a){a.before="before",a.after="after",a.below="below"})(i||(i={}));var c;(function(a){a.none="none",a.icon="icon"})(c||(c={}));var u;(function(a){a.caretUp="caret-up",a.caretDown="caret-down",a.caretDouble="caret-double-horizontal"})(u||(u={}));var s;(function(a){a.always="always",a.hover="hover"})(s||(s={}));var l;(function(a){a.dynamic="dynamic",a.static="static",a.itemQuery="itemQuery"})(l||(l={}));var m;(function(a){a.thumbnail="thumbnail",a.icon="icon"})(m||(m={}));export{n as a,e as b,o as c,r as d,t as e,i as f,c as g,u as h,l as i,m as j};
|
package/dist/cdn/BDDHEW2O.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.8/esri/copyright.txt for details.
|
|
3
|
-
v0.8.1 */
|
|
4
|
-
import{a as i}from"./JWULKNPN.js";import{i as s}from"./VPU5VCNB.js";import{o as l}from"./PTAKJI7G.js";import"./NWN4JXE2.js";import"./3FAH6ERC.js";import"./T3JASSCT.js";import{a}from"./WDLGAOGV.js";import"./5UGUSKGK.js";var m=(e,r,t)=>Promise.resolve({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.access.label`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.fields.access.private.description:translate}}`,`{{${e}.fields.access.org.description:translate}}`,`{{${e}.fields.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.fields.access.private.label:translate}}`,`{{${e}.fields.access.org.label:translate}}`,`{{${e}.fields.access.public.label:translate}}`],rules:[{effect:s.NONE},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToOrg",t).access]},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToPublic",t).access]}]}}]},{type:"Section",labelKey:`${e}.sections.capabilities.label`,elements:[{labelKey:`${e}.fields.isSharedUpdate.label`,scope:"/properties/isSharedUpdate",type:"Control",options:Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isSharedUpdate.helperText`}},!l("platform:portal:admin:createUpdateCapableGroup",t).access&&{tooltip:{labelKey:`${e}.fields.isSharedUpdate.tooltip`}}),rule:{effect:s.ENABLE,conditions:[l("platform:portal:admin:createUpdateCapableGroup",t).access]}},{labelKey:`${e}.fields.isAdmin.label`,scope:"/properties/leavingDisallowed",type:"Control",options:Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isAdmin.helperText`}},!l("platform:portal:admin:createLeavingDisallowedGroup",t).access&&{tooltip:{labelKey:`${e}.fields.isAdmin.tooltip`}}),rules:[{effect:s.ENABLE,conditions:[l("platform:portal:admin:createLeavingDisallowedGroup",t).access]}]},{labelKey:`${e}.fields.isOpenData.label`,scope:"/properties/isOpenData",type:"Control",options:Object.assign(Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isOpenData.helperText`}},(!l("platform:opendata:user:designateGroup",t).access||r.access!=="public")&&{tooltip:{labelKey:`${e}.fields.isOpenData.tooltip`}}),{messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.isOpenData.constError`}]}),rules:[{effect:s.ENABLE,conditions:[{scope:"/properties/access",schema:{const:"public"}},l("platform:opendata:user:designateGroup",t).access]},{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{not:{const:"public"}}}]},{effect:s.SHOW,conditions:[!!a(t,"portal.portalProperties.openData.enabled")]}]}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.label:translate}}`,`{{${e}.fields.membershipAccess.collab.label:translate}}`,`{{${e}.fields.membershipAccess.any.label:translate}}`],descriptions:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.membershipAccess.patternError`},{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.membershipAccess.constError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.join.label`,scope:"/properties/_join",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.join.invite.label:translate}}`,`{{${e}.fields.join.request.label:translate}}`,`{{${e}.fields.join.auto.label:translate}}`],descriptions:[`{{${e}.fields.join.invite.description:translate}}`,`{{${e}.fields.join.request.description:translate}}`,`{{${e}.fields.join.auto.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.join.constError`},{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.join.patternError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]}]},{labelKey:`${e}.fields.hiddenMembers.label`,scope:"/properties/hiddenMembers",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.hiddenMembers.members.label:translate}}`,`{{${e}.fields.hiddenMembers.admins.label:translate}}`],descriptions:[`{{${e}.fields.hiddenMembers.members.description:translate}}`,`{{${e}.fields.hiddenMembers.admins.description:translate}}`]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.label:translate}}`,`{{${e}.fields.contributeContent.admins.label:translate}}`],descriptions:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}),u=(e,r,t)=>Promise.resolve(Object.assign(Object.assign({},i("hubGroup",t)),r));export{u as buildDefaults,m as buildUiSchema};
|
package/dist/cdn/BDK4PC7C.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.8/esri/copyright.txt for details.
|
|
3
|
-
v0.8.1 */
|
|
4
|
-
var e;(function(o){o.ACTIVE="active",o.HOVER="hover",o.DEFAULT="default"})(e||(e={}));function g(o,t=3.5){return o.resolution*t}function L(o,t=a.callout,i){let{backgroundColor:n,textColor:s,hoverColor:l,activeColor:r,width:E,isOffset:c,is3D:y}=t,p=i+1,C=[255,255,255];return o===e.HOVER?C=l:o===e.ACTIVE&&(C=r),{type:"cim",data:{type:"CIMSymbolReference",symbol:{type:"CIMPointSymbol",symbolLayers:[{type:"CIMVectorMarker",enable:!0,size:30,frame:{xmin:-4,ymin:-4,xmax:4,ymax:4},markerGraphics:[{type:"CIMMarkerGraphic",geometry:{x:c?4.5:4,y:c?y?9:11:4},symbol:{type:"CIMTextSymbol",fontFamilyName:"Sans Serif",fontStyleName:"Bold",height:3.25,horizontalAlignment:"Center",symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[...s,255]}]},verticalAlignment:"Center"},textString:p>99?"99+":`${p}`}],scaleSymbolsProportionally:!0},{type:"CIMVectorMarker",enable:!0,size:30,frame:{xmin:c?-5:-4,ymin:c?y?-9:-11:-4,xmax:c?3:4,ymax:c?y?-1:-3:4},markerGraphics:[{type:"CIMMarkerGraphic",geometry:{rings:[[[0,0],[4,0],[4.35,.02],[4.69,.06],[5.04,.14],[5.37,.24],[5.69,.37],[6,.54],[6.29,.72],[6.57,.94],[6.83,1.17],[7.06,1.43],[7.28,1.71],[7.46,2],[7.63,2.31],[7.76,2.63],[7.86,2.96],[7.94,3.31],[7.98,3.65],[8,4],[7.98,4.35],[7.94,4.69],[7.86,5.04],[7.76,5.37],[7.63,5.69],[7.46,6],[7.28,6.29],[7.06,6.57],[6.83,6.83],[6.57,7.06],[6.29,7.28],[6,7.46],[5.69,7.63],[5.37,7.76],[5.04,7.86],[4.69,7.94],[4.35,7.98],[4,8],[3.65,7.98],[3.31,7.94],[2.96,7.86],[2.63,7.76],[2.31,7.63],[2,7.46],[1.71,7.28],[1.43,7.06],[1.17,6.83],[.94,6.57],[.72,6.29],[.54,6],[.37,5.69],[.24,5.37],[.14,5.04],[.06,4.69],[.02,4.35],[0,4],[0,0]]]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidStroke",enable:!0,capStyle:"Round",joinStyle:"Round",lineStyle3D:"Strip",miterLimit:10,width:E,color:[...C,255]},{type:"CIMSolidFill",enable:!0,color:[...n,255]}]}}]}]}}}}function b(o=e.DEFAULT,t=a.point){let{activeColor:i,color:n,hoverColor:s}=t,l=n;return o===e.HOVER?l=s:o===e.ACTIVE&&(l=i),{type:"text",color:[...l,.9],text:"\uE61D",font:{size:24,family:"CalciteWebCoreIcons"}}}function h(o=e.DEFAULT,t=a.polyline){let{activeColor:i,color:n,hoverColor:s,width:l}=t,r=n;return o===e.HOVER?r=s:o===e.ACTIVE&&(r=i),{type:"simple-line",color:[...r,1],width:l,style:"solid"}}function f(o=e.DEFAULT,t=a.polygon){let{activeColor:i,color:n,hoverColor:s,width:l}=t,r=n;return o===e.HOVER?r=s:o===e.ACTIVE&&(r=i),{type:"simple-fill",color:[...n,.15],outline:{color:[...r,1],width:l}}}var A=[115,96,167],I=2,u=[39,129,153],O=[169,169,169],d=[255,255,255],x=[0,0,0],S=2,T={activeColor:u,color:A,hoverColor:O},m=Object.assign(Object.assign({},T),{width:I}),a={point:T,polyline:m,polygon:m,callout:{backgroundColor:d,textColor:x,hoverColor:O,activeColor:u,width:S,isOffset:!1},extent:m},M={callout:L,extent:f,point:b,polyline:h,polygon:f};export{e as a,g as b,a as c,M as d};
|
package/dist/cdn/BHXXP5UL.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.8/esri/copyright.txt for details.
|
|
3
|
-
v0.8.1 */
|
|
4
|
-
import"./5UGUSKGK.js";var e="Se ha producido un error al cargar el gr\xE1fico.",a="No se puede aplicar una transformaci\xF3n del registro a valores negativos o de cero.",r="No se puede aplicar una transformaci\xF3n de ra\xEDz cuadrada a valores negativos.",o="Se ha producido un error al cargar la capa. URL = ${ url }. Id. de elemento de portal = ${ portalItemId }.",n="Los campos [${ fieldNames }] definidos en la configuraci\xF3n no se han encontrado en la capa.",t="El elemento ${ dataPath } debe ser \xFAnico. La serie denominada ${ seriesName } tiene un Id. (${ seriesID }) que ya se utiliza en otra serie.",i="${ dataPath } no puede realizar una agregaci\xF3n no num\xE9rica en un campo no num\xE9rico.",s="A ${ dataPath } le falta la propiedad denominada ${ missingProperty }.",d="${ dataPath } no debe tener menos de ${ limit } caracteres.",l="${ dataPath } no debe tener menos de ${ limit } elementos.",u="${ dataPath } no debe tener m\xE1s de ${ limit } elementos.",m="${ dataPath } debe tener al menos un car\xE1cter que no sea un espacio en blanco.",c="${ dataPath } no debe tener ${ additionalProperty }",p="${ dataPath } debe ser igual a uno de los siguientes valores permitidos: ${ allowedValues }.",g="${ dataPath } debe coincidir con el esquema de uno de estos: ${ schemaOptions }.",$="No se admiten diagramas de dispersi\xF3n con s\xEDmbolos proporcionales. Se ha aplicado el tama\xF1o de s\xEDmbolo predeterminado.",y="Error al leer los datos de entrada.",h="En este servicio no se admite la operaci\xF3n queryBins.",b='El tipo de serie esperado en el \xEDndice ${ seriesIndex } es "${ expectedType }", pero en su lugar se ha recibido "${ receivedType }"',P="o",f={defaultError:e,negativeValueInDataForLogTransformation:a,negativeValueInDataForSqrtTransformation:r,layerLoadFailure:o,layerFieldsNotFound:n,duplicateSeriesID:t,nonNumericAggregation:i,requiredProperty:s,minLength:d,minItems:l,maxItems:u,whiteSpacePattern:m,additionalProperty:c,enumValues:p,anyOfValues:g,bubbleChartValidateMsg:$,queryError:y,queryBinsNotSupported:h,invalidSeriesType:b,or:"o"};export{c as additionalProperty,g as anyOfValues,$ as bubbleChartValidateMsg,f as default,e as defaultError,t as duplicateSeriesID,p as enumValues,b as invalidSeriesType,n as layerFieldsNotFound,o as layerLoadFailure,u as maxItems,l as minItems,d as minLength,a as negativeValueInDataForLogTransformation,r as negativeValueInDataForSqrtTransformation,i as nonNumericAggregation,P as or,h as queryBinsNotSupported,y as queryError,s as requiredProperty,m as whiteSpacePattern};
|
package/dist/cdn/BIBW6JRR.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.8/esri/copyright.txt for details.
|
|
3
|
-
v0.8.1 */
|
|
4
|
-
import{c as X,d as Z,e as tt,f as et}from"./IYCAPQDU.js";import{a as Q}from"./UA4LMJJN.js";import"./JUXVHMGC.js";import{a as V}from"./J7NRVBUW.js";import"./Q4WN3W3Z.js";import"./UJXVFY5W.js";import"./OSKDHACE.js";import"./C5N32EVV.js";import"./OM56TWGS.js";import"./BCEYEQFL.js";import"./LBQNLVSM.js";import{a as j}from"./YL2KCTHN.js";import"./3AMHCJNZ.js";import{a as D}from"./D5HVQY7Q.js";import"./CMU7SEPK.js";import{a as N}from"./JANHJOZF.js";import"./E5GGCYBD.js";import"./TWR5MUEN.js";import{b as m,c as rt,d as nt,e as A,i as ot}from"./KA6GQXUN.js";import"./SF7JGLSC.js";import{a as W}from"./ZF2YKTCZ.js";import{a as Y,f as J}from"./LI6ZOAME.js";import{a as k}from"./IAYHRSYB.js";import{a as B}from"./5F3DAQ5C.js";import"./7WIKZDT2.js";import{a as K}from"./WGLDMASD.js";import{c as G}from"./CLVHWDAT.js";import{a as O,d as H,j as q}from"./TSWMOLNO.js";import"./BWWDKHFW.js";import{c as z}from"./Y7H3QUC2.js";import"./EAXIAS6Z.js";import{b as L}from"./LQJXGUJR.js";import"./XAOO5DNT.js";import{h as _}from"./W7GLKRYJ.js";import"./6JQA3HEE.js";import{y as U}from"./PTAKJI7G.js";import"./NWN4JXE2.js";import"./3FAH6ERC.js";import"./T3JASSCT.js";import{a as P}from"./WDLGAOGV.js";import"./5UGUSKGK.js";export default $arcgis.t(([])=>{var ut=t=>{let{folderId:e,start:r=1,num:n=10,authentication:d}=t,h=e?`/${e}`:"";return O(t).then(c=>`${L(t)}/content/users/${c}${h}`).then(c=>_(c,{httpMethod:"GET",authentication:d,params:{start:r,num:n}}))},ft=t=>{let{authentication:e,id:r,title:n,exportFormat:d,exportParameters:h}=t;return O(t).then(c=>`${L(t)}/content/users/${c}/export`).then(c=>_(c,{httpMethod:"POST",authentication:e,params:{itemId:r,title:n,exportFormat:d,exportParameters:h}}))},lt={exports:{}};(function(t){var e=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function d(a,o,s){this.fn=a,this.context=o,this.once=s||!1}function h(a,o,s,i,w){if(typeof s!="function")throw new TypeError("The listener must be a function");var f=new d(s,i||a,w),p=r?r+o:o;return a._events[p]?a._events[p].fn?a._events[p]=[a._events[p],f]:a._events[p].push(f):(a._events[p]=f,a._eventsCount++),a}function c(a,o){--a._eventsCount===0?a._events=new n:delete a._events[o]}function l(){this._events=new n,this._eventsCount=0}l.prototype.eventNames=function(){var o=[],s,i;if(this._eventsCount===0)return o;for(i in s=this._events)e.call(s,i)&&o.push(r?i.slice(1):i);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(s)):o},l.prototype.listeners=function(o){var s=r?r+o:o,i=this._events[s];if(!i)return[];if(i.fn)return[i.fn];for(var w=0,f=i.length,p=new Array(f);w<f;w++)p[w]=i[w].fn;return p},l.prototype.listenerCount=function(o){var s=r?r+o:o,i=this._events[s];return i?i.fn?1:i.length:0},l.prototype.emit=function(o,s,i,w,f,p){var y=r?r+o:o;if(!this._events[y])return!1;var u=this._events[y],E=arguments.length,I,g;if(u.fn){switch(u.once&&this.removeListener(o,u.fn,void 0,!0),E){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,s),!0;case 3:return u.fn.call(u.context,s,i),!0;case 4:return u.fn.call(u.context,s,i,w),!0;case 5:return u.fn.call(u.context,s,i,w,f),!0;case 6:return u.fn.call(u.context,s,i,w,f,p),!0}for(g=1,I=new Array(E-1);g<E;g++)I[g-1]=arguments[g];u.fn.apply(u.context,I)}else{var ht=u.length,x;for(g=0;g<ht;g++)switch(u[g].once&&this.removeListener(o,u[g].fn,void 0,!0),E){case 1:u[g].fn.call(u[g].context);break;case 2:u[g].fn.call(u[g].context,s);break;case 3:u[g].fn.call(u[g].context,s,i);break;case 4:u[g].fn.call(u[g].context,s,i,w);break;default:if(!I)for(x=1,I=new Array(E-1);x<E;x++)I[x-1]=arguments[x];u[g].fn.apply(u[g].context,I)}}return!0},l.prototype.on=function(o,s,i){return h(this,o,s,i,!1)},l.prototype.once=function(o,s,i){return h(this,o,s,i,!0)},l.prototype.removeListener=function(o,s,i,w){var f=r?r+o:o;if(!this._events[f])return this;if(!s)return c(this,f),this;var p=this._events[f];if(p.fn)p.fn===s&&(!w||p.once)&&(!i||p.context===i)&&c(this,f);else{for(var y=0,u=[],E=p.length;y<E;y++)(p[y].fn!==s||w&&!p[y].once||i&&p[y].context!==i)&&u.push(p[y]);u.length?this._events[f]=u.length===1?u[0]:u:c(this,f)}return this},l.prototype.removeAllListeners=function(o){var s;return o?(s=r?r+o:o,this._events[s]&&c(this,s)):(this._events=new n,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=r,l.EventEmitter=l,t.exports=l})(lt);var pt=lt.exports,v=class extends Error{constructor(e,r,n){super(e),this.status=n,this.url=r}};function T(t){let{host:e,route:r,query:n}=t,d=e.endsWith("/")?e:`${e}/`,h=new URL(r,d);return h.search=mt(n),h.toString()}function mt(t={}){let e=Object.keys(t).filter(r=>t[r]!==void 0).reduce((r,n)=>(r[n]=t[n],r),{});return new URLSearchParams(e).toString()}function $(t){let{datasetId:e,format:r,spatialRefId:n,geometry:d,where:h}=t;return`${e}:${r}:${n}:${d}:${h}`}var at={Shapefile:"shp",CSV:"csv","File Geodatabase":"fgdb",GeoJson:"geojson",KML:"kml"};function dt(t){if(!at[t])throw new Error(`Unsupported Hub download format: ${t}`);return at[t]}function wt(t){let{host:e,datasetId:r,spatialRefId:n,geometry:d,where:h}=t,c={spatialRefId:n,format:dt(t.format),geometry:d,where:h},l=T({host:e,route:`/api/v3/datasets/${r}/downloads`});return fetch(l,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(c)}).then(a=>{let{ok:o,status:s,statusText:i}=a;if(!o)throw new v(i,l,s)}).then(()=>({downloadId:$(t)}))}function gt(t){let{datasetId:e,title:r,format:n,authentication:d}=t,[h]=e.split("_");return ft({id:h,exportFormat:n,exportParameters:yt(t),title:r,authentication:d}).then(c=>{let{size:l,jobId:a,exportItemId:o}=c;return{downloadId:o,jobId:a,size:l,exportCreated:Date.now()}})}function yt(t){let{datasetId:e,spatialRefId:r,where:n}=t,d=e.split("_")[1];if(!d)return r?{targetSR:{wkid:Number(r)}}:{};let h=[{id:Number(d),where:n}];return r?{layers:h,targetSR:{wkid:Number(r)}}:{layers:h}}function bt(t){let{host:e,datasetId:r,format:n,spatialRefId:d,geometry:h,where:c,title:l,target:a,authentication:o}=t;return!a||a==="hub"?wt({host:e,datasetId:r,format:n,spatialRefId:d,geometry:h,where:c}):gt({datasetId:r,format:n,title:l,authentication:o,spatialRefId:d,where:c})}var S;(function(t){t.Shapefile="Shapefile",t.CSV="CSV",t.KML="KML",t.GeoJson="GeoJson",t.Excel="Excel",t["File Geodatabase"]="File Geodatabase",t["Feature Collection"]="Feature Collection",t["Scene Package"]="Scene Package"})(S||(S={}));function ct(t){let{host:e,datasetId:r,spatialRefId:n,geometry:d,where:h}=t,c={spatialRefId:n,formats:dt(t.format),geometry:d?JSON.stringify(d):void 0,where:h},l=T({host:e,route:`/api/v3/datasets/${r}/downloads`,query:c});return fetch(l).then(a=>{let{ok:o,status:s,statusText:i}=a;if(!o)throw new v(i,l,s);return a.json()}).then(a=>(Et(a),It(a,$(t))))}function Et({data:t}){if(!t)throw new Error('Unexpected API response; no "data" property.');if(!Array.isArray(t))throw new Error('Unexpected API response; "data" is not an array.');if(t.length>1)throw new Error('Unexpected API response; "data" contains more than one download.')}function It(t,e){let{data:[r]}=t;if(!r)return{downloadId:e,status:"not_ready"};let{attributes:{contentLastModified:n,lastModified:d,status:h,errors:c,contentLength:l,cacheTime:a,source:{lastEditDate:o}},links:{content:s}}=r;return{downloadId:e,contentLastModified:n,lastEditDate:o,lastModified:d,status:h,errors:c||[],downloadUrl:s,contentLength:l,cacheTime:a}}var M=class{disablePoll(){clearInterval(this.pollTimer),this.pollTimer=null}activatePoll(e){let{downloadId:r,eventEmitter:n,pollingInterval:d,existingFileDate:h=new Date(0).toISOString()}=e,c=new Date(h).getTime();this.pollTimer=setInterval(()=>{ct(e).then(l=>{if(Dt(l,c))return n.emit(`${r}ExportComplete`,{detail:{metadata:l}}),this.disablePoll();if(vt(l)){let{errors:[a]}=l;return n.emit(`${r}ExportError`,{detail:{error:a,metadata:l}}),this.disablePoll()}}).catch(l=>(n.emit(`${r}PollingError`,{detail:{error:l,metadata:{status:"error"}}}),this.disablePoll()))},d)}};function xt(t){let e=new M;return e.activatePoll(t),e}function Dt(t,e){let{status:r,lastModified:n}=t,d=new Date(n).getTime();return r==="ready"||r==="ready_unknown"&&d>e}function vt(t){return t&&(t.status==="error_updating"||t.status==="error_creating")}function St(t){return ut({authentication:t}).then(e=>{let r=e.folders.find(n=>n.title==="item-exports");return r?{folder:r}:Y({authentication:t,title:"item-exports"})}).then(e=>{let{folder:r}=e;return r.id})}var b;(function(t){t.READY="ready",t.READY_UNKNOWN="ready_unknown",t.STALE="stale",t.NOT_READY="not_ready",t.LOCKED="locked",t.STALE_LOCKED="stale_locked",t.DISABLED="disabled",t.CREATING="creating",t.UPDATING="updating",t.ERROR_CREATING="error_creating",t.ERROR_UPDATING="error_updating",t.ERROR="error"})(b||(b={}));var C=class t extends Error{constructor(e){super(e),Object.setPrototypeOf(this,t.prototype)}};function Ct(t){let{downloadId:e,datasetId:r,exportCreated:n,spatialRefId:d,eventEmitter:h,authentication:c}=t,{itemId:l,layerId:a}=k(r),o=[tt(l),et(a),`modified:${n}`,Z(d)];return J({item:{id:e,typekeywords:o.join(",")},authentication:c}).then(()=>Q({id:e,authentication:c,access:"private"})).then(()=>St(c)).then(s=>G({itemId:e,folderId:s,authentication:c})).catch(s=>{if(!(s&&s.code==="CONT_0011"))throw W({id:e,authentication:c}),new C(s.message)}).then(()=>h.emit(`${e}ExportComplete`,{detail:{metadata:{downloadId:e,status:b.READY,lastModified:new Date().toISOString(),downloadUrl:T({host:c.portal,route:`content/items/${e}/data`,query:{token:c.token}})}}}))}var F=class{disablePoll(){clearInterval(this.pollTimer),this.pollTimer=null}activatePoll(e){let{downloadId:r,datasetId:n,format:d,spatialRefId:h,jobId:c,authentication:l,exportCreated:a,eventEmitter:o,pollingInterval:s}=e;this.pollTimer=setInterval(()=>{q({id:r,jobId:c,jobType:"export",authentication:l}).then(i=>{if(i.status==="completed")return Ct({datasetId:n,format:d,authentication:l,downloadId:r,spatialRefId:h,exportCreated:a,eventEmitter:o}).then(()=>{this.disablePoll()});if(i.status==="failed")return o.emit(`${r}ExportError`,{detail:{error:new Error(i.statusMessage),metadata:{status:b.ERROR,errors:[new Error(i.statusMessage)]}}}),this.disablePoll()}).catch(i=>(i instanceof C?o.emit(`${r}ExportError`,{detail:{error:i,metadata:{status:b.ERROR,errors:[i]}}}):o.emit(`${r}PollingError`,{detail:{error:i,metadata:{status:b.ERROR,errors:[i]}}}),this.disablePoll()))},s)}};function Rt(t){let e=new F;return e.activatePoll(t),e}function Tt(t){let{target:e,downloadId:r,datasetId:n,jobId:d,format:h,authentication:c,exportCreated:l,eventEmitter:a,pollingInterval:o,spatialRefId:s,geometry:i,where:w,host:f,existingFileDate:p}=t;return!e||e==="hub"?xt({host:f,downloadId:r,datasetId:n,format:h,eventEmitter:a,pollingInterval:o,spatialRefId:s,geometry:i,where:w,existingFileDate:p}):Rt({downloadId:r,datasetId:n,jobId:d,authentication:c,exportCreated:l,format:h,spatialRefId:s,eventEmitter:a,pollingInterval:o,geometry:i,where:w})}var Pt=600*1e3;function _t(t,e){return t==="portal"&&e&&new Date().getTime()-e<=Pt}function Lt(t,e){let r=e?e.toLowerCase():"",n=P(t,"properties.downloadsConfig.enabled")!==!1,d=P(t,"properties.downloadsConfig.formats")||{},h=!d[r]||d[r].enabled!==!1;return n?h:!1}var R;(function(t){t.FeatureService="Feature Service",t.MapService="Map Service"})(R||(R={}));var Ot=t=>t===S.CSV||t===S.KML;function kt(t){let{datasetId:e,authentication:r,format:n,spatialRefId:d,target:h,portal:c}=t,{itemId:l,layerId:a}=k(e),o,s,i,w;return H(l,{authentication:r,portal:c}).then(f=>{let{type:p,modified:y,url:u}=f;return w=f,s=y,i=p,At({url:u,authentication:r,type:p,modified:y,format:n,layerId:a,portal:c})}).then(f=>{let{modified:p,format:y}=f;return o=p,z({q:X(l,{layerId:a,onlyTypes:[y],spatialRefId:d}),num:1,sortField:"modified",sortOrder:"DESC",authentication:r,portal:c})}).then(f=>Ut({cachedDownload:f.results[0],datasetId:e,format:n,spatialRefId:d,serviceLastEditDate:o,itemModifiedDate:s,itemType:i,authentication:r,target:h,item:w,portal:c})).catch(f=>{throw f})}function At(t){let{format:e,layerId:r,url:n,type:d,modified:h,authentication:c,portal:l}=t;return d!==R.FeatureService&&d!==R.MapService?Promise.resolve({modified:h,format:e}):st(B({url:n,authentication:c,portal:l})).then(a=>{let s=(a.layers||[]).map(i=>st(V({url:`${n}/${i.id}`,authentication:c,portal:l})));return Promise.all(s)}).then(a=>({format:Mt({format:e,layerId:r,layers:a}),modified:$t(a)}))}function Mt(t){let{format:e,layerId:r,layers:n}=t;return Ft(r,n)&&Ot(e)?`${e} Collection`:e}function Ft(t,e){return t===void 0&&e.length>1}function $t(t){return t.map(r=>{let{editingInfo:{lastEditDate:n}={}}=r;return n}).filter(r=>r!==void 0).sort((r,n)=>n-r)[0]}function Ut(t){let{cachedDownload:e,serviceLastEditDate:r,authentication:n,target:d,item:h,format:c,portal:l}=t,a=r===void 0?void 0:new Date(r).toISOString(),{created:o,id:s}=e||{},i=_t(d,r),f=Lt(h,c)?Kt(r,o,i):b.DISABLED;return e?{downloadId:s,status:f,lastEditDate:a,contentLastModified:new Date(o).toISOString(),lastModified:new Date(o).toISOString(),downloadUrl:T({host:l||n.portal,route:`content/items/${s}/data`,query:{token:n?.token}})}:{downloadId:$(t),status:f,lastEditDate:a}}function Kt(t,e,r){return e?t?t>e?r?b.STALE_LOCKED:b.STALE:b.READY:b.READY_UNKNOWN:r?b.LOCKED:b.NOT_READY}function st(t){return t.catch(e=>{if(e.name==="ArcGISAuthError")return e.retry(()=>Promise.resolve(null),1);throw e})}function Nt(t){let{host:e,datasetId:r,spatialRefId:n,format:d,geometry:h,where:c,target:l,authentication:a}=t;return!l||l==="hub"?ct({host:e,datasetId:r,format:d,spatialRefId:n,geometry:h,where:c}):kt({portal:`${e}/sharing/rest`,datasetId:r,format:d,authentication:a,spatialRefId:n,target:l})}function jt(t){let e=["Bytes","KB","MB","GB","TB"],r=t;if(r===0)return"n/a";let n=Math.floor(Math.log(r)/Math.log(1024));return n===0?[r,e[n]]:[(r/1024**n).toFixed(1),e[n]]}var Ht=`:host{font-size:1em}calcite-card div{font-size:1em}h3{font-size:1.25em}dl{font-size:inherit}dt,dd,calcite-dropdown-item{font-size:0.875em}dt{float:left;clear:left;margin-right:0.25rem}dt.ltr::after{content:':'}dd.rtl::after{content:':'}dd{margin:0px;padding:0px;margin-left:110px;margin-inline-start:0}a{vertical-align:middle}calcite-icon{margin-left:0.25rem}a:visited{color:inherit}calcite-dropdown{width:100%;--calcite-dropdown-width:100%;position:relative}calcite-dropdown-item span{color:#323232}calcite-button{width:100%}calcite-card div{width:100%}div[slot="footer-start"]{display:block}`,qt=Ht,Gt=5e3,zt={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!1};function it(t,e){return t==="hub"||!!e}var Bt=class{constructor(t){ot(this,t),this.hubTelemetry=A(this,"hubTelemetry",7),this.hubDownloadCardSuccess=A(this,"hubDownloadCardSuccess",7),this.contentLengthString=null,this.poller=null,this.loading=void 0,this.metadata=void 0,this.exportRequested=!1,this.apiError=void 0,this.host=void 0,this.datasetId=void 0,this.format=void 0,this.name=void 0,this.target="hub",this.spatialRefId="4326",this.where=void 0,this.geometry=void 0,this.filename=void 0,this.username=void 0,this.token=void 0,j(this,"exportDatasetComplete","exportDatasetError","exportPollingError","download","downloadKeyDown","exportDataset","exportDatasetKeyDown")}async componentWillLoad(){this.resetUndefinedProps(),await this.setLocalization(),this.setAuthentication(),await this.fetchMetadataAndSetState(),this.setTranslations()}buildDownloadTelemetry({isSuccess:t=!0,isCached:e=!0}={}){return Object.assign(Object.assign({},e?D.dictionary.category.interaction.action.download.details.cache:D.dictionary.category.interaction.action.download.details.export),{label:this.format,response:t?D.constants.response.SUCCESS:D.constants.response.FAILURE})}resetUndefinedProps(){["spatialRefId","where","geometry","filename","target"].forEach(t=>{this[t]=this[t]==="undefined"?void 0:this[t]}),this.spatialRefId||(this.spatialRefId="4326")}async setLocalization(){this.intl=await N.loadIntlForComponent(this.element),this.dateTimeFormatter=new Intl.DateTimeFormat(this.intl.locale,zt),this.setLabels()}setLabels(){let t=["buttonDownload","fileCreated","fileSize","buttonOptions","menuRequest"];this.labels=t.reduce((e,r)=>(e[r]=this.intl.t(r),e),{})}setAuthentication(){this.username&&this.token&&(this.authentication=new K({username:this.username,portal:`${this.host}/sharing/rest`,token:this.token}),this.authentication.getToken=()=>new Promise(t=>{t(this.token)}))}setTranslations(){this.setContentLengthString()}setContentLengthString(){let{metadata:{contentLength:t}={}}=this;if(t){let e=jt(t);this.contentLengthString=typeof e=="string"?this.intl.t(e.toLowerCase()):`${e[0]} ${this.intl.t(e[1].toLowerCase())}`}}async watchHandler(){this.resetUndefinedProps(),await this.fetchMetadataAndSetState()}async disconnectedCallback(){this.resetUndefinedProps(),this.poller&&this.poller.disablePoll()}async fetchMetadataAndSetState(){this.poller&&this.poller.disablePoll();let t=this.getServiceParams();try{this.metadata=await Nt(t),this.pollingEvent=new pt,this.exportInProgress()&&this.poll()}catch(e){this.apiError=e}}getServiceParams(){let t={host:this.host,datasetId:this.datasetId,format:this.format,target:this.target,authentication:this.authentication,spatialRefId:this.spatialRefId};return this.where&&(t.where=this.where),this.geometry&&(t.geometry=this.geometry),t}poll(){let t=this.getServiceParams();this.pollingEvent.on(`${this.metadata.downloadId}ExportComplete`,this.exportDatasetComplete),this.pollingEvent.on(`${this.metadata.downloadId}ExportError`,this.exportDatasetError),this.pollingEvent.on(`${this.metadata.downloadId}PollingError`,this.exportPollingError),this.poller=Tt(Object.assign(Object.assign({},t),{downloadId:this.metadata.downloadId,jobId:this.metadata.jobId,exportCreated:this.metadata.exportCreated,eventEmitter:this.pollingEvent,pollingInterval:Gt,existingFileDate:new Date(this.metadata.lastModified||0).toISOString()}))}async download(){if(this.metadata&&this.metadata.downloadUrl)try{let t=this.transferFile(this.metadata.downloadUrl);return this.hubTelemetry.emit(this.buildDownloadTelemetry()),this.hubDownloadCardSuccess.emit(),t}catch(t){throw this.hubTelemetry.emit(this.buildDownloadTelemetry({isSuccess:!1})),t}return await this.exportDataset()}transferFile(t){return this.format==="Feature Collection"?window.open(t):U(t)}async exportDataset(){this.exportRequested=!0,this.metadata.status=this.downloadCached()?"updating":"creating";let t=Object.assign({title:this.filename},this.getServiceParams());try{let e=await bt(t);this.metadata=Object.assign(Object.assign({},this.metadata),e),this.poll()}catch(e){this.apiError=e,this.metadata.status="error",this.metadata.errors=[e]}}exportDatasetComplete(t){if(this.exportDatasetHandler(t),this.hubTelemetry.emit(this.buildDownloadTelemetry({isCached:!1})),this.hubDownloadCardSuccess.emit(),this.exportRequested){let{downloadUrl:e}=this.metadata;if(e)return this.transferFile(e)}}exportDatasetError(t){this.exportDatasetHandler(t),this.hubTelemetry.emit(this.buildDownloadTelemetry({isSuccess:!1,isCached:!1}))}exportPollingError(t){this.apiError=t.detail.error,this.exportDatasetHandler(t),this.hubTelemetry.emit(this.buildDownloadTelemetry({isSuccess:!1,isCached:!1}))}exportDatasetHandler(t){this.metadata=Object.assign(Object.assign({},this.metadata),t.detail.metadata),this.pollingEvent.off(`${this.metadata.downloadId}ExportComplete`,this.exportDatasetComplete),this.pollingEvent.off(`${this.metadata.downloadId}ExportError`,this.exportDatasetError),this.pollingEvent.off(`${this.metadata.downloadId}PollingError`,this.exportDatasetError)}renderNotice(){let{metadata:t,apiError:e,exportRequested:r}=this,{status:n}=t||{},d=n;n==="locked"?d="not_ready":n==="stale_locked"&&(d="stale");let h=e?e.status||e.message:void 0;return m("hub-download-notice",{"api-error":h,"cannot-export":!it(this.target,this.username),"export-requested":r,"file-status":d})}exportInProgress(){let{metadata:{status:t}={}}=this;return t==="creating"||t==="updating"}downloadCached(){let{metadata:{status:t}={}}=this;return["ready","ready_unknown","stale","stale_locked","updating","error_updating"].includes(t)}downloadUpToDate(){return this.metadata&&this.metadata.status==="ready"}isFormatDownloadDisabled(){return this.metadata&&this.metadata.status==="disabled"}renderFileDescription(){let t=[],{metadata:{lastModified:e}={}}=this;return this.downloadCached()?(e&&(this.intl.direction==="rtl"?t.push(m("dt",null,this.dateTimeFormatter.format(new Date(e))),m("dd",{class:"rtl"},this.labels.fileCreated)):t.push(m("dt",{class:"ltr"},this.labels.fileCreated),m("dd",null,this.dateTimeFormatter.format(new Date(e))))),this.contentLengthString&&(this.intl.direction==="rtl"?t.push(m("dt",null,this.contentLengthString),m("dd",{class:"rtl"},this.labels.fileSize)):t.push(m("dt",{class:"ltr"},this.labels.fileSize),m("dd",null,this.contentLengthString))),t):null}exportDatasetKeyDown(t){["Enter"," "].includes(t.key)&&this.exportDataset()}downloadKeyDown(t){["Enter"," "].includes(t.key)&&this.download()}renderDownloadControl(){return this.shouldUseDownloadButton()?m("calcite-button",{appearance:"solid",color:"blue",disabled:this.shouldDisableDownload(),"icon-position":"start",onClick:this.download,scale:"m",width:"full"},this.labels.buttonDownload):m("calcite-dropdown",{open:!1,placement:"top",scale:"m",type:"click"},m("calcite-button",{appearance:"solid",color:"blue","icon-end":"caretUp",scale:"m",slot:"trigger"},this.labels.buttonOptions),m("calcite-dropdown-group",{"selection-mode":"none"},m("calcite-dropdown-item",{hidden:this.exportInProgress(),onClick:this.exportDataset,onKeyDown:this.exportDatasetKeyDown,role:"menuitem","selection-mode":"none",tabindex:"0"},m("span",null,this.labels.menuRequest)),m("calcite-dropdown-item",{onClick:this.download,onKeyDown:this.downloadKeyDown,role:"menuitem","selection-mode":"none",tabindex:"0"},m("span",null,this.intl.t("menuDownload",{createdDate:this.dateTimeFormatter.format(new Date(this.metadata.lastModified))})))))}shouldUseDownloadButton(){return this.downloadUpToDate()||!this.downloadCached()||this.isFormatDownloadDisabled()||!it(this.target,this.username)}shouldDisableDownload(){return this.isFormatDownloadDisabled()||this.exportInProgress()&&!this.downloadCached()}render(){return m(rt,{key:"9143bf5a94f9aa8df1d0c909dbb24bfbc5950d7b","data-element":"download-card"},m("calcite-card",{key:"da1dc2ba9ded7d40ca8795fbac24f5f43905f6fd",dir:this.intl.direction},m("h3",{key:"d355e8c7660e2365f3f55e6cac1668c2cbb85f88",slot:"title"},this.name),m("dl",{key:"18d4e575bff2359c4968e7cf927df8e378dd02c3",slot:"subtitle"},this.renderFileDescription()),m("div",{key:"823515d13e1e7fccbe9e66a859a1777a3b0e159a",slot:"footer-start"},this.renderNotice(),this.renderDownloadControl())))}static get assetsDirs(){return["locales"]}get element(){return nt(this)}static get watchers(){return{host:["watchHandler"],datasetId:["watchHandler"],format:["watchHandler"],spatialRefId:["watchHandler"],where:["watchHandler"],geometry:["watchHandler"],target:["watchHandler"],username:["watchHandler"],token:["watchHandler"]}}};Bt.style=qt;return Bt},"config")
|
package/dist/cdn/BJKGJW4W.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.8/esri/copyright.txt for details.
|
|
3
|
-
v0.8.1 */
|
|
4
|
-
import{b as r}from"./DVOJOTL7.js";import{b as e}from"./KA6GQXUN.js";function l(t,i,n){let o=r(t,i,"options.helperText");return e("calcite-input-message",{class:"helper-text"}," ",e("div",{id:n,innerHTML:o})," ")}export{l as a};
|
package/dist/cdn/BKSKZHEZ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.8/esri/copyright.txt for details.
|
|
3
|
-
v0.8.1 */
|
|
4
|
-
import{a as g}from"./ST3NI5NF.js";import{m}from"./HGLACPHM.js";import{a as l}from"./CROILMII.js";import{a as c}from"./XAOO5DNT.js";import{d as y}from"./3FAH6ERC.js";import{a as f}from"./WDLGAOGV.js";function T(e){let t={};return Array.isArray(e)?t={any:e}:(typeof e=="string"&&(t={any:[e]}),typeof e=="object"&&(t=e)),t}function w(e){let t={min:6e4,hours:36e5,days:864e5,weeks:6048e5},n=new Date,i={type:"date-range",from:n.getTime(),to:n.getTime()};switch(e.unit){case"hours":case"days":case"weeks":i.from=i.to-t[e.unit]*e.num;break;case"months":n.setMonth(n.getMonth()-e.num),i.from=n.getTime();break;case"years":n.setFullYear(n.getFullYear()-e.num),i.from=n.getTime();break}return i}var b=["created","modified","lastlogin"],P=["bbox","categoriesAsParam","categoryFilter","filterType","isopendata","isviewonly","memberType","name","searchUserAccess","searchUserName","term","openData"],M=[...b,...P];function A(e){let t={};return Object.entries(e).forEach(([n,i])=>{if(M.includes(n)||l(n,T(i),t),b.includes(n)){let r=c(f(e,n));f(e,`${n}.type`)==="relative-date"?l(n,w(r),t):l(n,r,t)}P.includes(n)&&Object.prototype.hasOwnProperty.call(e,n)&&l(n,i,t)}),t}function $(e){let t=c(e);return t.filters=t.filters.map(n=>(n.predicates=n.predicates.map(A),n)),t}function v(e){return["Site","Event","Dataset","Document","App,Map"].includes(e)}function I(e){return e==="App,Map"?"appAndMap":e.toLowerCase()}var h={$application:[{type:{any:["Web Mapping Application","Application","Insights","Web Experience"],not:["Insights Theme","Insights Model"]},typekeywords:{not:["hubSite","Story Map"]}},{type:"Web Mapping Experience",typekeywords:"EXB Experience"}],$dashboard:[{type:{any:["Dashboard"],not:["Operation View"]},typekeywords:{not:["Extension","ArcGIS Operation View"]}}],$dataset:[{type:{any:["Scene Service","Feature Collection","Route Layer","Layer","Explorer Layer","Tile Package","Vector Tile Package","Scene Package","Layer Package","Feature Service","Stream Service","Map Service","Vector Tile Service","Image Service","WMS","WFS","WMTS","KML","KML Collection","Globe Service","CSV","Shapefile","GeoJson","Service Definition","File Geodatabase","CAD Drawing","Relational Database Connection"],not:["Web Mapping Application","Geodata Service"]}},{typekeywords:["OGC","Geodata Service"]}],$document:[{type:["PDF","Microsoft Excel","Microsoft Word","Microsoft Powerpoint","iWork Keynote","iWork Pages","iWork Numbers","Visio Document","Document Link"]}],$initiative:[{type:"Hub Initiative",typekeywords:"hubInitiativeV2"}],$experience:[{type:"Web Experience"}],$feedback:[{type:"Form"}],$page:[{typekeywords:"hubPage"}],$site:[{type:["Hub Site Application","Site Application"]}],$storymap:[{type:"Storymap"},{type:"Web Mapping Application",typekeywords:"Story Map"}],$template:[{type:["Web Mapping Application","Hub Initiative","Hub Initiative Template","Solution"],typekeywords:{any:["hubInitiativeTemplate","hubSolutionTemplate","Template"],not:"Deployed"}}],$webmap:[{type:{any:["Web Map","Web Scene"],not:"Web Mapping Application"}}]};function D(e){let t=!1;return typeof e=="string"&&(t=e in h),t}function W(e){let t=!1;return e&&e.charAt(0)==="$"&&g.includes(e.slice(1))&&(t=!0),t}function E(e){return h[e]}function x(e){let t=c(e);return t.filters=t.filters.map(n=>{let i=!1;return n.predicates=n.predicates.reduce((r,o)=>{if(D(o.type)){let a=E(o.type);r=[...r,...a],i=!0}else o.type&&typeof o.type!="string"&&!Array.isArray(o.type)&&Object.keys(o.type).forEach(a=>{let u=o.type[a];Array.isArray(u)&&(o.type[a]=u.reduce((s,p)=>{if(W(p)){let d=p.slice(1),S=y(d);s=[...s,...S]}else s.push(p);return s},[]))}),r.push(o);return r},[]),i&&(n.operation="OR"),n}),t}function L(e,t,n){let i=null;return t.thumbnail&&(i=`${e}/community/groups/${t.id}/info/${t.thumbnail}`,n&&t.access!=="public"&&(i=`${i}?token=${n}`)),i}function _(e,t,n){let i=null;return t.thumbnail&&(i=`${e}/community/users/${t.username}/info/${t.thumbnail}`,n&&t.access!=="public"&&(i=`${i}?token=${n}`)),i}function V(e){return v(e)?I(e):e}function U(e){console.warn('"getScopeGroupPredicate(query)" is deprecated. Please use "getGroupPredicate(qyr)');let t=i=>!!i.group,n=e.filters.find(i=>i.predicates.find(t));return n&&n.predicates.find(t)}function j(e){let t="group",n=O(e),i=o=>!!o[t],r=n.filters.find(o=>o.predicates.find(i));return r&&r.predicates.find(i)}function H(e,t){var n;let{id:i,type:r,typeKeywords:o}=e,a=(n=e.links)===null||n===void 0?void 0:n.siteRelative;if(a&&m(r,o)){let s=(t?.pages||[]).find(d=>d.id===i),p=s?.slug;p&&(a=a.replace(i,p))}return a}function z(e){let t=c(e),n={predicates:[{type:{not:["Code Attachment"]}}]};return t.filters.push(n),t}function B(e){let t=typeof e=="string"?e:e.toParam();return new TextEncoder().encode(t).length/1024}function O(e){let t=x(e);return $(t)}export{T as a,w as b,b as c,M as d,A as e,$ as f,L as g,_ as h,V as i,U as j,j as k,H as l,z as m,B as n,O as o};
|
package/dist/cdn/BN73LDBB.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.8/esri/copyright.txt for details.
|
|
3
|
-
v0.8.1 */
|
|
4
|
-
import"./5UGUSKGK.js";var a="Med nalaganjem grafikona je pri\u0161lo do napake.",e="Pretvorbe dnevnika ni mogo\u010De uporabiti za negativne ali ni\u010Delne vrednosti.",i="Pretvorbe kvadratnega korena ni mogo\u010De uporabiti za negativne vrednosti.",t="Med nalaganjem sloja je pri\u0161lo do napake. URL = ${ url }. ID elementa portala = ${ portalItemId }.",r="Polja [${ fieldNames }] opredeljena v konfiguraciji niso bila najdena v sloju.",n="${ dataPath } mora biti edinstveno. Serija z imenom ${ seriesName } ima ID (${ seriesID }), ki ga \u017Ee uporablja druga serija.",o="${ dataPath } ne more izvajati zdru\u017Eevanja brez \u0161tevila na ne\u0161tevilskem polju.",s="${ dataPath } manjka lastnost imenovana ${ missingProperty }.",l="${ dataPath } ne sme biti kraj\u0161e od ${ limit } znakov.",d="${ dataPath } ne sme imeti manj kot ${ limit } elementov.",m="${ dataPath } ne sme imeti ve\u010D kot ${ limit } elementov.",p="${ dataPath } mora vsebovati vsaj en znak, ki ni presledek.",u="${ dataPath } ne sme imeti ${ additionalProperty }.",v="${ dataPath } mora biti enak eni od teh dovoljenih vrednosti: ${ allowedValues }.",j="${ dataPath } se mora ujemati s shemo ene od teh: ${ schemaOptions }.",g="Raztreseni grafikoni s proporcionalnimi simboli niso podprti. Uporabljena je bila privzeta velikost simbolov.",$="Branje vhodnih podatkov ni uspelo.",h="Operacija queryBins ni podprta v tej storitvi.",k="Pri\u010Dakovani tip niza z indeksom ${ seriesIndex } je '${ expectedType }', ampak '${ receivedType }' je bil prejet namesto",b="ali",P={defaultError:a,negativeValueInDataForLogTransformation:e,negativeValueInDataForSqrtTransformation:i,layerLoadFailure:t,layerFieldsNotFound:r,duplicateSeriesID:n,nonNumericAggregation:o,requiredProperty:s,minLength:l,minItems:d,maxItems:m,whiteSpacePattern:p,additionalProperty:u,enumValues:v,anyOfValues:j,bubbleChartValidateMsg:g,queryError:$,queryBinsNotSupported:h,invalidSeriesType:k,or:"ali"};export{u as additionalProperty,j as anyOfValues,g as bubbleChartValidateMsg,P as default,a as defaultError,n as duplicateSeriesID,v as enumValues,k as invalidSeriesType,r as layerFieldsNotFound,t as layerLoadFailure,m as maxItems,d as minItems,l as minLength,e as negativeValueInDataForLogTransformation,i as negativeValueInDataForSqrtTransformation,o as nonNumericAggregation,b as or,h as queryBinsNotSupported,$ as queryError,s as requiredProperty,p as whiteSpacePattern};
|
package/dist/cdn/BPESKGIX.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.8/esri/copyright.txt for details.
|
|
3
|
-
v0.8.1 */
|
|
4
|
-
import{a as c}from"./JDSARG3Q.js";import{c as _}from"./YSFGI3TK.js";import{c as C}from"./CK2HVQPM.js";import"./Q4WN3W3Z.js";import"./UJXVFY5W.js";import"./OSKDHACE.js";import"./C5N32EVV.js";import"./OM56TWGS.js";import"./BCEYEQFL.js";import{a as b}from"./J22TXAEE.js";import{a as y}from"./YL2KCTHN.js";import"./3AMHCJNZ.js";import{a as m}from"./D5HVQY7Q.js";import"./CMU7SEPK.js";import{a as u}from"./JANHJOZF.js";import"./E5GGCYBD.js";import"./TWR5MUEN.js";import{b as r,c as v,d as I,e as d,h as p,i as S}from"./KA6GQXUN.js";import"./6JQA3HEE.js";import"./NWN4JXE2.js";import"./WDLGAOGV.js";import"./5UGUSKGK.js";export default $arcgis.t(([])=>{var A='.image-upload__title{margin-bottom:0px;font-size:var(--calcite-font-size-2);line-height:1.5rem}.image-upload__content{transition:all 200ms ease-in-out;border:1px solid var(--calcite-color-border-3);box-sizing:border-box;background-color:var(--calcite-color-background);padding-left:2rem;padding-right:2rem;padding-top:1rem;padding-bottom:1.5rem}.image-upload__content--with-map{min-height:400px}.image-upload__content--no-padding{padding:0px}.image-upload__canvas{left:-10000px;visibility:hidden;position:fixed}.or-container{margin-top:1rem;margin-bottom:1rem;text-align:center;font-weight:var(--calcite-font-weight-medium)}.or-container:before,.or-container:after{content:"";border-top:solid 1px var(--calcite-color-border-input);width:15%;height:1px;z-index:1;display:inline-block;vertical-align:middle}.or-wrapper{padding-left:0.5rem;padding-right:0.5rem}.image-upload__from-map-button{border:1px solid var(--calcite-color-foreground-3);background-color:var(--calcite-color-foreground-1);padding:1rem;text-align:center}.image-upload__from-map-button:hover{border:1px solid var(--calcite-color-brand)}.image-upload__from-map-title{display:inline-block}.from-map-title-wrapper{display:flex;align-items:center}.from-map-icon{margin-right:0.5rem}.image-upload__from-map-desc{margin:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem}.hide{display:none}.button-container{margin-top:0.5rem;display:flex;width:100%;flex-direction:row;justify-content:space-between;padding-top:1.25rem}.error{background-color:#FFF1EF;border-color:var(--calcite-color-status-danger)}',z=A,L=function(e,t,a,i){var n=arguments.length,s=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,a):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,a,i);else for(var h=e.length-1;h>=0;h--)(l=e[h])&&(s=(n<3?l(s):n>3?l(t,a,s):l(t,a))||s);return n>3&&s&&Object.defineProperty(t,a,s),s},o;(function(e){e.FILE="file",e.EDIT="edit"})(o||(o={}));var U=class{get _messageOverrides(){return{close:this.intl.t("close")}}async componentWillLoad(){this.intl=await u.loadIntlForComponent(this.el)}constructor(e){S(this,e),this.arcgisImageUploadCancel=d(this,"arcgisImageUploadCancel",7),this.arcgisImageUploadError=d(this,"arcgisImageUploadError",7),this.arcgisImageUploadSave=d(this,"arcgisImageUploadSave",7),this.hubTelemetry=d(this,"hubTelemetry",7),this.imageFormat="png",this.fileName="",this.triggerErrorState=()=>{this.hasError=!0,setTimeout(()=>{this.resetErrorState()},3e3)},this.resetErrorState=()=>{this.hasError=!1},this.handleCancel=()=>{this.arcgisImageUploadCancel.emit()},this.handleChooseDiffClick=()=>{this.activeStep=o.FILE,this.previewSrc="",this.editExisting=!1,this.arcgisImageUploadSave.emit({source:c.UPLOAD,blob:void 0,base64:void 0,fileName:void 0,format:void 0,url:void 0}),this.hubTelemetry.emit(m.dictionary.category.interaction.action.add.label.image)},this.handleSaveClick=async()=>{if(this.activeStep===o.FILE)return;this.saving=!0;let t=await this.getCanvasImage();this.arcgisImageUploadSave.emit(t),this.hubTelemetry.emit(m.dictionary.category.interaction.action.add.label.image),this.inline&&this.resetState()},this.modalTitle=void 0,this.sizeDescription=void 0,this.zoomToFit=!0,this.maxWidth=300,this.maxHeight=300,this.fillBackground=!1,this.active=void 0,this.height=window.innerWidth<412?200:300,this.aspectRatio=1,this.inline=!1,this.previewSrc=void 0,this.saving=!1,this.editExisting=!1,this.isModified=!1,this.activeStep=o.FILE,this.hasError=!1,y(this,"handleCancel","handleChooseDiffClick","handleSaveClick","getEditStepRef","getCanvasRef")}handleFileChange(e){let{fileName:t,dataURL:a}=e.detail;this.fileName=t,this.previewSrc=a,this.activeStep=o.EDIT,this.resetErrorState()}handleInvalidFile(){this.arcgisImageUploadError.emit("invalid file type."),this.triggerErrorState()}async handleImageChange(){if(this.isModified=!0,this.activeStep===o.FILE)return;let e=await this.getCanvasImage();this.arcgisImageUploadSave.emit(e),this.hubTelemetry.emit(m.dictionary.category.interaction.action.add.label.image)}handleActiveChange(){this.active||this.resetState()}resetState(){this.activeStep=o.FILE,this.saving=!1,this.isModified=!1,this.previewSrc="",this.editExisting=!1,this.resetErrorState()}dataURIToBlob(e){let t=atob(e.split(",")[1]),a=e.split(",")[0].split(":")[1].split(";")[0],i=new ArrayBuffer(t.length),n=new Uint8Array(i);for(let l=0;l<t.length;l++)n[l]=t.charCodeAt(l);return new Blob([i],{type:a})}drawImage({selectionX:e,selectionY:t,selectionWidth:a,selectionHeight:i,canvasWidth:n,canvasHeight:s,minWidth:l,minHeight:h,drawDimensions:g},E,R,f){this.canvasEl.width=n<l?l:n*E,this.canvasEl.height=s<h?h:s*E,this.maxWidth&&this.canvasEl.width>this.maxWidth&&(this.canvasEl.width=this.maxWidth),this.maxHeight&&this.canvasEl.height>this.maxHeight&&(this.canvasEl.height=this.maxHeight);let D=g.left*this.canvasEl.width,F=g.top*this.canvasEl.height,T=g.width*this.canvasEl.width,O=g.height*this.canvasEl.height;this.fillBackground&&(f.fillStyle="#efefef",f.fillRect(0,0,this.canvasEl.width,this.canvasEl.height)),f.drawImage(R,e,t,a,i,D,F,T,O);let w=this.canvasEl.toDataURL("image/png"),k=this.dataURIToBlob(w);return{base64:w,blob:k}}async getScaledImageData(e){let t=this.canvasEl.getContext("2d"),a=await this.editStepEl.getDrawParameters(),i;function n(){return t.clearRect(0,0,this.canvasEl.width,this.canvasEl.height),this.drawImage(a,1600/e.width,e,t)}try{i=this.drawImage(a,1,e,t),(i.blob.size>1e7||i.blob.size===0)&&(i=n())}catch(s){s.name!=="NS_ERROR_FAILURE"?this.arcgisImageUploadError.emit("unable to save the image provided."):i=n()}return{source:c.UPLOAD,blob:i?.blob,base64:i?.base64,format:this.imageFormat,fileName:this.fileName,url:void 0}}getCanvasImage(){return new Promise(e=>{let t=new Image;this.previewSrc.indexOf("arcgis.com")>-1&&(t.crossOrigin="Anonymous"),t.onload=()=>{if(Math.abs(this.aspectRatio-t.width/t.height)<.01&&!this.isModified){e({source:c.UPLOAD,blob:this.dataURIToBlob(this.previewSrc),base64:this.previewSrc,format:this.imageFormat,fileName:this.fileName,url:void 0});return}e(this.getScaledImageData(t))},t.src=this.previewSrc})}getEditStepRef(e){this.editStepEl=e}getCanvasRef(e){this.canvasEl=e}renderInlineEditStateButtons(){if(this.activeStep===o.EDIT)return r("div",{class:"button-container"},r("calcite-button",{appearance:"transparent",disabled:this.saving,"icon-start":"chevron-left",onClick:this.handleChooseDiffClick,slot:"back",width:this.inline?"auto":"full"},this.intl.t("chooseDiff")))}renderModalButtons(){return r(p,null,this.activeStep===o.EDIT&&r("calcite-button",{appearance:"transparent",disabled:this.saving,"icon-start":"chevron-left",onClick:this.handleChooseDiffClick,slot:"footer-start"},this.intl.t("chooseDiff")),r("calcite-button",{appearance:"outline",class:{hide:this.inline},disabled:this.saving,onClick:this.handleCancel,slot:"footer-end"},this.intl.t("cancel")),r("calcite-button",{appearance:"solid",class:{hide:this.inline},disabled:this.saving,loading:this.saving,onClick:this.handleSaveClick,slot:"footer-end"},this.intl.t("done")))}renderContent(){return r(p,null,this.modalTitle&&this.inline&&r("h3",{"aria-label":this.modalTitle,class:"image-upload__title",id:"image-upload-modal-title",slot:"header"},this.modalTitle),this.inline&&this.renderInlineEditStateButtons(),r("div",{class:{"image-upload__content":!0,error:this.hasError}},this.activeStep===o.FILE&&r("div",null,r("arcgis-hub-image-upload-file-step",{sizeDescription:this.sizeDescription})),this.activeStep===o.EDIT&&r("arcgis-hub-image-upload-edit-step",{aspectRatio:this.aspectRatio,height:this.height,previewSrc:this.previewSrc,ref:this.getEditStepRef,zoomToFit:this.zoomToFit}),this.activeStep===o.EDIT&&r("canvas",{class:"image-upload__canvas",ref:this.getCanvasRef})),!this.inline&&this.renderModalButtons())}render(){return r(v,{key:"d570149cb8bb5e413a647550ff2a9c589c9f1dd9","data-element":"image-upload"},this.inline?r(p,null,this.renderContent()):r("calcite-dialog",{"aria-labelledby":"image-upload-modal-title","aria-modal":"true",heading:this.modalTitle,messageOverrides:this._messageOverrides,modal:!0,onCalciteDialogClose:this.handleCancel,open:this.active,outsideCloseDisabled:!0,role:"dialog",width:"m"},this.renderContent()))}static get assetsDirs(){return["locales"]}get el(){return I(this)}static get watchers(){return{active:["handleActiveChange"]}}};L([b({timeout:1e3})],U.prototype,"handleImageChange",null);U.style=z;var V=":host{display:block}img{margin-top:1rem}",B=V,H=function(e,t,a,i){var n=arguments.length,s=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,a):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,a,i);else for(var h=e.length-1;h>=0;h--)(l=e[h])&&(s=(n<3?l(s):n>3?l(t,a,s):l(t,a))||s);return n>3&&s&&Object.defineProperty(t,a,s),s},x=class{constructor(e){S(this,e),this.arcgisImageUrlSave=d(this,"arcgisImageUrlSave",7),this.handleCalciteInputInputOrChange=t=>{this.imgSrc=t.target.value},this.imgSrc="",this.imgHeight=300,this.imgWidth=400,this.isValid=!1,this.isValidated=!1,this.isValidating=!1}async componentWillLoad(){this.intl=await u.loadIntlForComponent(this.element),this.validate(this.imgSrc)}handleImgSrcUpdated(e,t){this._handleImgSrcUpdated(e,t)}_handleImgSrcUpdated(e,t){this.isValidated=e===t,this.validate(e)}async validate(e){if(this.imgSrc){this.isValidating=!0;try{let t=C(e);this.isValid=await this.verifyImageExists(t),this.arcgisImageUrlSave.emit({source:c.URL,blob:void 0,base64:void 0,format:void 0,fileName:void 0,url:t})}finally{this.isValidating=!1,this.isValidated=!0}}}async verifyImageExists(e){return new Promise(t=>{if(_(e)){let a=new Image;a.src=e,a.onload=()=>t(!0),a.onerror=()=>t(!1)}else t(!1)})}get isInvalidUrl(){return!!this.imgSrc&&this.isValidated&&!this.isValid}get isValidUrl(){return!!this.imgSrc&&this.isValidated&&this.isValid}render(){return r(v,{key:"5b58b81c624382aab4f6107732046bb6e713df7b"},r("calcite-label",{key:"e01a3f99bf2296335cf12e3c330adc0f42e2f60d"},this.intl.t("label"),r("calcite-input",{key:"8bfec6fabd5eede470a7d58cf8fc09c3667c8bdd",onCalciteInputChange:this.handleCalciteInputInputOrChange,onCalciteInputInput:this.handleCalciteInputInputOrChange,status:this.isInvalidUrl?"invalid":"valid",type:"url",value:this.imgSrc}),this.isInvalidUrl&&r("calcite-input-message",{icon:"x-octagon",status:"invalid"},this.intl.t("error"))),this.isValidUrl&&r("img",{alt:this.intl.t("altText"),height:this.imgHeight,src:this.imgSrc,width:this.imgWidth}))}static get assetsDirs(){return["locales"]}get element(){return I(this)}static get watchers(){return{imgSrc:["handleImgSrcUpdated"]}}};H([b({timeout:250})],x.prototype,"_handleImgSrcUpdated",null);x.style=B;return{arcgis_hub_image_upload:U,arcgis_hub_image_url:x}},"config")
|
package/dist/cdn/BSAZZUU3.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.8/esri/copyright.txt for details.
|
|
3
|
-
v0.8.1 */
|
|
4
|
-
import{a as s}from"./T3JASSCT.js";var o=class i extends Error{constructor(c,r,t){r=r||"UNKNOWN_ERROR",t=s(t,"rootCause",t),super(r),this.operation=c,this.name="OperationError",this.rootCause=t,Object.setPrototypeOf(this,i.prototype),this.stack=s(t,"stack",new Error().stack)}};export{o as a};
|
package/dist/cdn/BTGWGRD6.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.8/esri/copyright.txt for details.
|
|
3
|
-
v0.8.1 */
|
|
4
|
-
import"./5UGUSKGK.js";var e={percent:"\u041F\u0440\u043E\u0446\u0435\u043D\u0442",values:"\u0421\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0438",standardizedValues:"\u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u0438\u0437\u0438\u0440\u0430\u043D\u0438 \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0438",count:"\u0411\u0440\u043E\u0439",aggregationOfValues:"${ aggregation } \u043E\u0442 \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0438",aggregationOfFieldName:"${ aggregation } \u043E\u0442 ${ fieldName }"},g={aggrFieldsByCategory:"${ aggregationFields } \u043E\u0442 ${ category }",aggrTypeCategory:"${ aggregationType } \u043E\u0442 ${ category }",aggrTypeCategoryBySplitBy:"${ aggregationType } \u043F\u043E ${ category } \u043F\u043E ${ splitByField }",aggrTypeOfAggrFields:"${ aggregationType } \u043E\u0442 ${ aggregationFields }",aggrTypeOfAggrFieldByCategoryBySplitByField:"${ aggregationType } \u043E\u0442 ${ aggregationField } \u043F\u043E ${ category } \u043F\u043E ${ splitByField }",aggrTypeOfAggrFieldsByCategory:"${ aggregationType } \u043E\u0442 ${ aggregationFields } \u043F\u043E ${ category }",aggrFieldsByXAxisField:"${ aggregationFields } \u043E\u0442 ${ xAxisField }",aggrTypeXAxisField:"${ aggregationType } \u043E\u0442 ${ xAxisField }",aggrTypeXAxisFieldBySplitBy:"${ aggregationType } \u043F\u043E ${ xAxisField } \u043F\u043E ${ splitByField }",aggrTypeOfAggrFieldByXAxisFieldBySplitByField:"${ aggregationType } \u043E\u0442 ${ aggregationField } \u043F\u043E ${ xAxisField } \u043F\u043E ${ splitByField }",aggrTypeOfAggrFieldsByXAxisField:"${ aggregationType } \u043E\u0442 ${ aggregationFields } \u043F\u043E ${ xAxisField }",distributionOfField:"\u0420\u0430\u0437\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u043F\u043E ${ valueField }",distributionOfFields:"\u0420\u0430\u0437\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u043F\u043E ${ valueFields }",distributionOfFieldsByCategory:"\u0420\u0430\u0437\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u043D\u0430 ${ valueFields } \u043F\u043E ${ category }",distributionOfFieldsByCategoryAndSplitBy:"\u0420\u0430\u0437\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u043D\u0430 ${ valueFields } \u043F\u043E ${ category } \u0438 ${ splitByField }",xAndY:"${ x } \u0438 ${ y }"},i={barChart:"\u0414\u0438\u0430\u0433\u0440\u0430\u043C\u0430 \u0432\u044A\u0432 \u0444\u043E\u0440\u043C\u0430 \u043D\u0430 \u043B\u0435\u043D\u0442\u0430",lineChart:"\u0414\u0438\u0430\u0433\u0440\u0430\u043C\u0430 \u0432\u044A\u0432 \u0444\u043E\u0440\u043C\u0430 \u043D\u0430 \u043B\u0438\u043D\u0438\u044F",pieChart:"\u0414\u0438\u0430\u0433\u0440\u0430\u043C\u0430 \u0432 \u043A\u0440\u044A\u0433\u043B\u0430 \u0444\u043E\u0440\u043C\u0430",histogram:"\u0425\u0438\u0441\u0442\u043E\u0433\u0440\u0430\u043C\u0430",scatterplot:"\u0414\u0438\u0430\u0433\u0440\u0430\u043C\u0430 \u043D\u0430 \u0440\u0430\u0437\u0441\u0435\u0439\u0432\u0430\u043D\u0435"},a={axisLabels:e,titleLabels:g,chartType:i};export{e as axisLabels,i as chartType,a as default,g as titleLabels};
|
package/dist/cdn/BUYNZQWF.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/0.8/esri/copyright.txt for details.
|
|
3
|
-
v0.8.1 */
|
|
4
|
-
import{a as o}from"./YL2KCTHN.js";import{b as l,e as r,i as d}from"./KA6GQXUN.js";import"./5UGUSKGK.js";var u=class{constructor(e){d(this,e),this.arcgisConfigurationEditorFieldInputChange=r(this,"arcgisConfigurationEditorFieldInputChange",7),this.params=void 0,o(this,"handleCalciteInputTimePickerChange")}handleCalciteInputTimePickerChange(e){let i=e.target.value;i.split(":").length===2&&(i=`${i}:00`),this.arcgisConfigurationEditorFieldInputChange.emit(i)}render(){var e,a,i,t,n,s;return l("calcite-input-time-picker",{key:"96d672b08a44a3d9ad07ebe2825da0ce6bd64d35",disabled:this.params.disabled,onCalciteInputTimePickerChange:this.handleCalciteInputTimePickerChange,overlayPositioning:(a=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||a===void 0?void 0:a.overlayPositioning,placement:((t=(i=this.params.uiSchema)===null||i===void 0?void 0:i.options)===null||t===void 0?void 0:t.placement)||"auto",scale:this.params.scale,step:((s=(n=this.params.uiSchema)===null||n===void 0?void 0:n.options)===null||s===void 0?void 0:s.step)||60,value:this.params.value})}};export{u as hub_field_input_time};
|