@esri/hub-web-components 0.7.1 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/243BPR3W.js +4 -0
- package/dist/cdn/247HF7MJ.js +4 -0
- package/dist/cdn/27FLEGHZ.js +4 -0
- package/dist/cdn/27TDMXRE.js +4 -0
- package/dist/cdn/2ADOY3EL.js +4 -0
- package/dist/cdn/2BPPU7HJ.js +4 -0
- package/dist/cdn/2FSLDEHI.js +4 -0
- package/dist/cdn/2HQJ56TB.js +4 -0
- package/dist/cdn/2HW2EY6X.js +4 -0
- package/dist/cdn/2IFSGPHN.js +4 -0
- package/dist/cdn/2IPRJJQ5.js +4 -0
- package/dist/cdn/2NYT6NGZ.js +4 -0
- package/dist/cdn/2PYT7MMD.js +4 -0
- package/dist/cdn/2Q7N3VTN.js +4 -0
- package/dist/cdn/2TX36JKU.js +4 -0
- package/dist/cdn/2UE4C2GM.js +4 -0
- package/dist/cdn/2WB25VV7.js +4 -0
- package/dist/cdn/2WPQ4ZOF.js +4 -0
- package/dist/cdn/2XW2GEPU.js +4 -0
- package/dist/cdn/34PZM5SD.js +4 -0
- package/dist/cdn/35C6M3IV.js +4 -0
- package/dist/cdn/373LXB3P.js +4 -0
- package/dist/cdn/374YRWVS.js +4 -0
- package/dist/cdn/3AEXU4MI.js +4 -0
- package/dist/cdn/3FS6VWOP.js +4 -0
- package/dist/cdn/3HYA2K4C.js +4 -0
- package/dist/cdn/3JNAT4SP.js +4 -0
- package/dist/cdn/3K7JOL6S.js +4 -0
- package/dist/cdn/3PWJPLDP.js +4 -0
- package/dist/cdn/3QSSYN62.js +4 -0
- package/dist/cdn/3RVK6Q6P.js +42 -0
- package/dist/cdn/3SCWDWZR.js +4 -0
- package/dist/cdn/3T4IYIYO.js +4 -0
- package/dist/cdn/3VSBILXG.js +4 -0
- package/dist/cdn/3WRQ75UV.js +4 -0
- package/dist/cdn/3ZNYF76L.js +4 -0
- package/dist/cdn/42BT43T3.js +4 -0
- package/dist/cdn/42ZJCZXN.js +4 -0
- package/dist/cdn/43H3XF23.js +4 -0
- package/dist/cdn/47XHO3W2.js +4 -0
- package/dist/cdn/4BDDWFYI.js +4 -0
- package/dist/cdn/4CJI7PG3.js +4 -0
- package/dist/cdn/4DYKYBKS.js +4 -0
- package/dist/cdn/4EBBCW42.js +4 -0
- package/dist/cdn/4FL3XWOM.js +4 -0
- package/dist/cdn/4GIQ3CJT.js +4 -0
- package/dist/cdn/4JHHRCN6.js +4 -0
- package/dist/cdn/4LO7NMYS.js +4 -0
- package/dist/cdn/4NMUHTB6.js +4 -0
- package/dist/cdn/4O3642D3.js +4 -0
- package/dist/cdn/4PFSDQ6J.js +4 -0
- package/dist/cdn/4RK7R6BM.js +4 -0
- package/dist/cdn/4SZNI4MP.js +4 -0
- package/dist/cdn/4UMHUIKP.js +4 -0
- package/dist/cdn/4W6IHXOF.js +4 -0
- package/dist/cdn/4W6UTRCU.js +4 -0
- package/dist/cdn/4XTHRSG7.js +4 -0
- package/dist/cdn/4YBZOJLI.js +4 -0
- package/dist/cdn/54X5PVWZ.js +4 -0
- package/dist/cdn/56VYOWOD.js +4 -0
- package/dist/cdn/5BIGRVTZ.js +4 -0
- package/dist/cdn/5CWBXLGB.js +4 -0
- package/dist/cdn/5EVG6X73.js +16 -0
- package/dist/cdn/5F46PQXK.js +4 -0
- package/dist/cdn/5IHGOM26.js +4 -0
- package/dist/cdn/5II745LK.js +4 -0
- package/dist/cdn/5IKMATG3.js +4 -0
- package/dist/cdn/5ISFSHHL.js +4 -0
- package/dist/cdn/5J7VDQC4.js +4 -0
- package/dist/cdn/5L3554D2.js +4 -0
- package/dist/cdn/5LFO4I2V.js +4 -0
- package/dist/cdn/5OSJMZHM.js +4 -0
- package/dist/cdn/5XECBKSW.js +4 -0
- package/dist/cdn/5YS6OTLN.js +4 -0
- package/dist/cdn/5ZQBWD4P.js +4 -0
- package/dist/cdn/634PPUQG.js +4 -0
- package/dist/cdn/63LZDQFN.js +4 -0
- package/dist/cdn/643PXLWB.js +4 -0
- package/dist/cdn/64ZP6GOQ.js +4 -0
- package/dist/cdn/656APM4N.js +4 -0
- package/dist/cdn/66TWFSTP.js +4 -0
- package/dist/cdn/67HL5TUC.js +4 -0
- package/dist/cdn/67Q4FQ7G.js +4 -0
- package/dist/cdn/67XBJ3GM.js +4 -0
- package/dist/cdn/6AQD55X5.js +4 -0
- package/dist/cdn/6BPAZOBM.js +5 -0
- package/dist/cdn/6EG5CX3C.js +4 -0
- package/dist/cdn/6G6UJJNM.js +4 -0
- package/dist/cdn/6LEY7ZNY.js +4 -0
- package/dist/cdn/6LRGYATP.js +4 -0
- package/dist/cdn/6MGXZIYR.js +4 -0
- package/dist/cdn/6MUYCZ6U.js +4 -0
- package/dist/cdn/6OJ2UZII.js +4 -0
- package/dist/cdn/6PKGLE3L.js +4 -0
- package/dist/cdn/6R3YPKHF.js +4 -0
- package/dist/cdn/6RE4STBT.js +4 -0
- package/dist/cdn/6RIPZ77G.js +4 -0
- package/dist/cdn/6SMUNAZP.js +4 -0
- package/dist/cdn/6WFMHKRO.js +4 -0
- package/dist/cdn/6WLJXDGU.js +9 -0
- package/dist/cdn/6YDZE2WM.js +4 -0
- package/dist/cdn/6YLFXVZ2.js +4 -0
- package/dist/cdn/6ZUXFJX4.js +4 -0
- package/dist/cdn/742GH6WF.js +4 -0
- package/dist/cdn/744NBWSJ.js +4 -0
- package/dist/cdn/74C6N2AT.js +4 -0
- package/dist/cdn/74QWDIDI.js +4 -0
- package/dist/cdn/75P54ZWK.js +4 -0
- package/dist/cdn/77TWPA76.js +4 -0
- package/dist/cdn/7AIQXRES.js +4 -0
- package/dist/cdn/7DOMK6IB.js +4 -0
- package/dist/cdn/7ECPRWHE.js +4 -0
- package/dist/cdn/7HL7Q552.js +4 -0
- package/dist/cdn/7HRLZ3NN.js +4 -0
- package/dist/cdn/7IABUQL7.js +4 -0
- package/dist/cdn/7JGANT4O.js +4 -0
- package/dist/cdn/7JGWDN4G.js +4 -0
- package/dist/cdn/7LKI4MAS.js +4 -0
- package/dist/cdn/7OXJEXHJ.js +4 -0
- package/dist/cdn/7PHEFLWZ.js +4 -0
- package/dist/cdn/7QSWR4NS.js +4 -0
- package/dist/cdn/7QYVV7MY.js +4 -0
- package/dist/cdn/7S3MWQ5C.js +4 -0
- package/dist/cdn/7VB7A2H4.js +4 -0
- package/dist/cdn/7W44CXNH.js +4 -0
- package/dist/cdn/7WT6VV44.js +4 -0
- package/dist/cdn/7X4LS3TV.js +4 -0
- package/dist/cdn/7YMIS42X.js +4 -0
- package/dist/cdn/7YRPD5M7.js +7 -0
- package/dist/cdn/7YTB6U56.js +4 -0
- package/dist/cdn/7ZOTVH2K.js +4 -0
- package/dist/cdn/A3UUUW2P.js +4 -0
- package/dist/cdn/A6NKXT6G.js +4 -0
- package/dist/cdn/A6WF23BV.js +4 -0
- package/dist/cdn/A7AZDQRK.js +4 -0
- package/dist/cdn/AAWSYEMB.js +4 -0
- package/dist/cdn/ABDQ7PQA.js +4 -0
- package/dist/cdn/ABQZ2YYT.js +4 -0
- package/dist/cdn/ABY7EPSL.js +4 -0
- package/dist/cdn/AFSZKCK2.js +4 -0
- package/dist/cdn/AKINPAHR.js +4 -0
- package/dist/cdn/APYYORGL.js +4 -0
- package/dist/cdn/ATEYPPYL.js +4 -0
- package/dist/cdn/AUJXLWVA.js +4 -0
- package/dist/cdn/AUOM32FG.js +11 -0
- package/dist/cdn/AXJC27LC.js +4 -0
- package/dist/cdn/AYK2J4JQ.js +4 -0
- package/dist/cdn/AZBKTCXG.js +4 -0
- package/dist/cdn/B3AYYBQA.js +4 -0
- package/dist/cdn/B4NGIPQ3.js +4 -0
- package/dist/cdn/B5CR2J2C.js +4 -0
- package/dist/cdn/B73BQZDX.js +4 -0
- package/dist/cdn/B75NJYPA.js +4 -0
- package/dist/cdn/BBBNF2FR.js +4 -0
- package/dist/cdn/BDXBURUK.js +4 -0
- package/dist/cdn/BGUEFKHB.js +4 -0
- package/dist/cdn/BIWTZJUY.js +5 -0
- package/dist/cdn/BJI56XBK.js +4 -0
- package/dist/cdn/BLCB6KDX.js +4 -0
- package/dist/cdn/BM4DAJV7.js +4 -0
- package/dist/cdn/BN3ZBJVG.js +4 -0
- package/dist/cdn/BNAKZQZI.js +4 -0
- package/dist/cdn/BQF2QL22.js +4 -0
- package/dist/cdn/BQWTFCKE.js +4 -0
- package/dist/cdn/BTYTWPVM.js +4 -0
- package/dist/cdn/BXV3JSX6.js +4 -0
- package/dist/cdn/C2IKTS2I.js +4 -0
- package/dist/cdn/C37XNLRC.js +4 -0
- package/dist/cdn/C4PJ7INE.js +4 -0
- package/dist/cdn/C5TGSWNI.js +4 -0
- package/dist/cdn/C6LG5PAL.js +4 -0
- package/dist/cdn/C7732ESM.js +4 -0
- package/dist/cdn/C7E52EMS.js +4 -0
- package/dist/cdn/CA3VX2WP.js +4 -0
- package/dist/cdn/CEWSHV2R.js +4 -0
- package/dist/cdn/CGPBCMRB.js +4 -0
- package/dist/cdn/CHRWFOP6.js +4 -0
- package/dist/cdn/CK5RMBYY.js +4 -0
- package/dist/cdn/CK7OP26H.js +4 -0
- package/dist/cdn/CO4G47BQ.js +4 -0
- package/dist/cdn/CQAK4TGZ.js +4 -0
- package/dist/cdn/CQFVYFW7.js +4 -0
- package/dist/cdn/CRYC2YMF.js +4 -0
- package/dist/cdn/CSE7FAQ3.js +4 -0
- package/dist/cdn/CSJIZ7K6.js +4 -0
- package/dist/cdn/CTDCWRR2.js +4 -0
- package/dist/cdn/CXEIVXTT.js +4 -0
- package/dist/cdn/CYZEZJ4U.js +4 -0
- package/dist/cdn/CZWVY6PJ.js +4 -0
- package/dist/cdn/D6YAUOLR.js +4 -0
- package/dist/cdn/D7UXCJRN.js +4 -0
- package/dist/cdn/DA7PNCG3.js +4 -0
- package/dist/cdn/DBBMWO6B.js +4 -0
- package/dist/cdn/DDJ4FG2W.js +4 -0
- package/dist/cdn/DDVSAGAS.js +4 -0
- package/dist/cdn/DFHZ77QH.js +4 -0
- package/dist/cdn/DGJUB7SH.js +4 -0
- package/dist/cdn/DGQFA6A4.js +4 -0
- package/dist/cdn/DHGDUNNH.js +4 -0
- package/dist/cdn/DIQ5QCTF.js +4 -0
- package/dist/cdn/DJNJIY5Q.js +4 -0
- package/dist/cdn/DLOXWLDN.js +4 -0
- package/dist/cdn/DMVG3WOH.js +4 -0
- package/dist/cdn/DPL6Z5NY.js +4 -0
- package/dist/cdn/DQSFQ5VS.js +4 -0
- package/dist/cdn/DRU66OII.js +4 -0
- package/dist/cdn/DS7M3P2S.js +4 -0
- package/dist/cdn/DSI6YMA4.js +4 -0
- package/dist/cdn/DUIZDNVT.js +4 -0
- package/dist/cdn/DW4ENFGL.js +4 -0
- package/dist/cdn/DXAWM5LH.js +4 -0
- package/dist/cdn/DXODYZ6Q.js +4 -0
- package/dist/cdn/E3E4VJA5.js +4 -0
- package/dist/cdn/E6XMJ525.js +4 -0
- package/dist/cdn/EC2MT4YO.js +4 -0
- package/dist/cdn/EC7JERZB.js +4 -0
- package/dist/cdn/EDFHPVYB.js +4 -0
- package/dist/cdn/EECVVYHP.js +4 -0
- package/dist/cdn/EEUW4W7Y.js +4 -0
- package/dist/cdn/EFGZAV2T.js +4 -0
- package/dist/cdn/EFMH3HH3.js +4 -0
- package/dist/cdn/EGWTEFID.js +4 -0
- package/dist/cdn/EJJQ2UK2.js +4 -0
- package/dist/cdn/ELN7OYT5.js +4 -0
- package/dist/cdn/ELVGG6LK.js +4 -0
- package/dist/cdn/EM3J2Q4J.js +4 -0
- package/dist/cdn/EPNSCVSR.js +4 -0
- package/dist/cdn/EQLCXLOP.js +4 -0
- package/dist/cdn/ESMQGTUC.js +4 -0
- package/dist/cdn/EVKXM67E.js +4 -0
- package/dist/cdn/EX4HXKJI.js +4 -0
- package/dist/cdn/EXADG2GX.js +4 -0
- package/dist/cdn/F5L7I6V2.js +4 -0
- package/dist/cdn/FCUEWYTZ.js +4 -0
- package/dist/cdn/FEUZVOHT.js +4 -0
- package/dist/cdn/FHG2JEBK.js +4 -0
- package/dist/cdn/FIJFF4CT.js +4 -0
- package/dist/cdn/FKL4GH65.js +4 -0
- package/dist/cdn/FOWU7MXI.js +4 -0
- package/dist/cdn/FPEWBTBL.js +4 -0
- package/dist/cdn/FRJZ2XSY.js +4 -0
- package/dist/cdn/FRLL56KB.js +4 -0
- package/dist/cdn/FROKWZG2.js +4 -0
- package/dist/cdn/FRQRCEIH.js +4 -0
- package/dist/cdn/FSJG4KEN.js +4 -0
- package/dist/cdn/FYP25KOE.js +4 -0
- package/dist/cdn/G3XVWH5Z.js +4 -0
- package/dist/cdn/G4LKMC57.js +4 -0
- package/dist/cdn/G4ZPUR3X.js +4 -0
- package/dist/cdn/G6DRQH6R.js +4 -0
- package/dist/cdn/GEXRRUOU.js +4 -0
- package/dist/cdn/GFIRG64Q.js +4 -0
- package/dist/cdn/GFRHB7PG.js +4 -0
- package/dist/cdn/GI472QGP.js +4 -0
- package/dist/cdn/GINNGTAJ.js +4 -0
- package/dist/cdn/GJUH2F5U.js +4 -0
- package/dist/cdn/GKKCPURR.js +4 -0
- package/dist/cdn/GM56OAMX.js +4 -0
- package/dist/cdn/GMN5XQHX.js +4 -0
- package/dist/cdn/GPQKWW54.js +4 -0
- package/dist/cdn/GQ75KD3P.js +4 -0
- package/dist/cdn/GRWCMBUQ.js +4 -0
- package/dist/cdn/GSSPFXD6.js +4 -0
- package/dist/cdn/GTKXDDKL.js +4 -0
- package/dist/cdn/GV4ICWVT.js +4 -0
- package/dist/cdn/GWMGML7G.js +4 -0
- package/dist/cdn/GWTBKZTL.js +41 -0
- package/dist/cdn/GXCK45QX.js +59 -0
- package/dist/cdn/GZ66IESF.js +59 -0
- package/dist/cdn/GZTKMILH.js +4 -0
- package/dist/cdn/H4TCC5E3.js +4 -0
- package/dist/cdn/H4W6AUNT.js +4 -0
- package/dist/cdn/H5XUEIKH.js +4 -0
- package/dist/cdn/H74CYMRH.js +4 -0
- package/dist/cdn/H7GVDAGR.js +4 -0
- package/dist/cdn/H7IHZCXT.js +4 -0
- package/dist/cdn/HAGUM7CI.js +4 -0
- package/dist/cdn/HALASDQP.js +4 -0
- package/dist/cdn/HBIIV4EJ.js +4 -0
- package/dist/cdn/HBQXOKQJ.js +4 -0
- package/dist/cdn/HCCIUUPM.js +4 -0
- package/dist/cdn/HEGMQANP.js +4 -0
- package/dist/cdn/HEZJ7DOK.js +4 -0
- package/dist/cdn/HH7WWATR.js +4 -0
- package/dist/cdn/HHJDY4A2.js +4 -0
- package/dist/cdn/HHUMQ5QO.js +4 -0
- package/dist/cdn/HINFLJOU.js +4 -0
- package/dist/cdn/HNYQNLDB.js +4 -0
- package/dist/cdn/HO5JE7LI.js +4 -0
- package/dist/cdn/HSATNFHL.js +4 -0
- package/dist/cdn/HSWKPJVG.js +4 -0
- package/dist/cdn/HTLDY3VR.js +4 -0
- package/dist/cdn/HWM6Z3LC.js +4 -0
- package/dist/cdn/I4T5XMUV.js +4 -0
- package/dist/cdn/I56WW5GR.js +4 -0
- package/dist/cdn/I5AUVV3A.js +4 -0
- package/dist/cdn/I5VANHC5.js +4 -0
- package/dist/cdn/IAM6PN65.js +3 -0
- package/dist/cdn/IAPMHLPO.js +4 -0
- package/dist/cdn/IB5674VY.js +4 -0
- package/dist/cdn/ICSXNN6K.js +4 -0
- package/dist/cdn/IDFWBAEF.js +4 -0
- package/dist/cdn/IDJQV353.js +4 -0
- package/dist/cdn/IEEPT2FE.js +4 -0
- package/dist/cdn/IER4MX4H.js +4 -0
- package/dist/cdn/IJLBQBRU.js +4 -0
- package/dist/cdn/ILM5AFDS.js +4 -0
- package/dist/cdn/IN5NRGO3.js +12 -0
- package/dist/cdn/IOKWZ4GB.js +4 -0
- package/dist/cdn/IPOPVO6A.js +4 -0
- package/dist/cdn/IU62MRUN.js +4 -0
- package/dist/cdn/IVV63KTV.js +4 -0
- package/dist/cdn/IW5Z4ECF.js +4 -0
- package/dist/cdn/IWNA7ELE.js +4 -0
- package/dist/cdn/IWNYW6TD.js +4 -0
- package/dist/cdn/IXTXNGCC.js +4 -0
- package/dist/cdn/IYSWOEWT.js +4 -0
- package/dist/cdn/IYVPTHN3.js +4 -0
- package/dist/cdn/IZ6H76EE.js +4 -0
- package/dist/cdn/IZCYNF3O.js +4 -0
- package/dist/cdn/IZOPRD62.js +4 -0
- package/dist/cdn/IZUW6L6U.js +4 -0
- package/dist/cdn/J5CXMPEE.js +4 -0
- package/dist/cdn/JANUPLLT.js +4 -0
- package/dist/cdn/JBYSQB4Z.js +4 -0
- package/dist/cdn/JD6TZRNW.js +4 -0
- package/dist/cdn/JDTIWA2N.js +4 -0
- package/dist/cdn/JDZ6DMXI.js +4 -0
- package/dist/cdn/JEEL7TY5.js +4 -0
- package/dist/cdn/JEOUKTVK.js +4 -0
- package/dist/cdn/JFCI6Q74.js +4 -0
- package/dist/cdn/JH2OCK4X.js +4 -0
- package/dist/cdn/JJXBZBWE.js +4 -0
- package/dist/cdn/JKC6MN4Y.js +4 -0
- package/dist/cdn/JMTT3YMH.js +4 -0
- package/dist/cdn/JNIR5CMO.js +4 -0
- package/dist/cdn/JO6WQC6P.js +4 -0
- package/dist/cdn/JRKM23RM.js +4 -0
- package/dist/cdn/JRV4H4K2.js +8 -0
- package/dist/cdn/JSNECJ6D.js +4 -0
- package/dist/cdn/JUCEOSCN.js +4 -0
- package/dist/cdn/JW2ASKNK.js +4 -0
- package/dist/cdn/JWK5PEUL.js +4 -0
- package/dist/cdn/JYXOWD5M.js +4 -0
- package/dist/cdn/K3N36MG5.js +4 -0
- package/dist/cdn/K4AV34ZN.js +4 -0
- package/dist/cdn/K6KP76PI.js +4 -0
- package/dist/cdn/KCTEST3S.js +4 -0
- package/dist/cdn/KCZKON2N.js +4 -0
- package/dist/cdn/KFCEEDPL.js +4 -0
- package/dist/cdn/KFLS3752.js +4 -0
- package/dist/cdn/KHJQJYAN.js +4 -0
- package/dist/cdn/KI44XGEF.js +4 -0
- package/dist/cdn/KJJMD7EU.js +4 -0
- package/dist/cdn/KJS6TCP5.js +4 -0
- package/dist/cdn/KKWDHFBM.js +4 -0
- package/dist/cdn/KLWEVPWC.js +4 -0
- package/dist/cdn/KTBAJUHE.js +4 -0
- package/dist/cdn/KUTLSXHF.js +4 -0
- package/dist/cdn/KYAGUC5Y.js +4 -0
- package/dist/cdn/KYKUNFFZ.js +4 -0
- package/dist/cdn/KYP3WAYE.js +4 -0
- package/dist/cdn/KZBOH3IP.js +4 -0
- package/dist/cdn/KZS6LQVK.js +4 -0
- package/dist/cdn/L2CDFMOL.js +4 -0
- package/dist/cdn/L2I4HPK7.js +4 -0
- package/dist/cdn/L4YIHIDB.js +4 -0
- package/dist/cdn/L575FMMH.js +4 -0
- package/dist/cdn/L7IHFOZA.js +4 -0
- package/dist/cdn/LAAP4I6C.js +4 -0
- package/dist/cdn/LAIR3OSC.js +4 -0
- package/dist/cdn/LBERN5VF.js +4 -0
- package/dist/cdn/LBUYNA6Y.js +4 -0
- package/dist/cdn/LELCKZVY.js +4 -0
- package/dist/cdn/LFFXVOB2.js +4 -0
- package/dist/cdn/LFV45CSP.js +4 -0
- package/dist/cdn/LGLLAWT2.js +4 -0
- package/dist/cdn/LGWQW2VV.js +4 -0
- package/dist/cdn/LIUGT6F5.js +4 -0
- package/dist/cdn/LJ25MGSE.js +4 -0
- package/dist/cdn/LJBBHLD3.js +4 -0
- package/dist/cdn/LJNZ562E.js +4 -0
- package/dist/cdn/LO7O4XV5.js +4 -0
- package/dist/cdn/LRHNBAXI.js +4 -0
- package/dist/cdn/LTU3PYVX.js +4 -0
- package/dist/cdn/LVDK7V6P.js +4 -0
- package/dist/cdn/LW663YDG.js +4 -0
- package/dist/cdn/LZNHJX5Y.js +4 -0
- package/dist/cdn/M5GWOZYY.js +4 -0
- package/dist/cdn/M5OURWZN.js +4 -0
- package/dist/cdn/M5Q5LTL4.js +4 -0
- package/dist/cdn/MAZ3SFCT.js +4 -0
- package/dist/cdn/MFJMQFFJ.js +4 -0
- package/dist/cdn/MFQCZX3P.js +4 -0
- package/dist/cdn/MGARNSGE.js +25 -0
- package/dist/cdn/MH5APPJ2.js +4 -0
- package/dist/cdn/MM24SSVP.js +4 -0
- package/dist/cdn/MMWYUPJQ.js +4 -0
- package/dist/cdn/MOTZU7NR.js +4 -0
- package/dist/cdn/MP67ZXLX.js +4 -0
- package/dist/cdn/MRP4FRBU.js +4 -0
- package/dist/cdn/MU7PZ73S.js +4 -0
- package/dist/cdn/MUFIUN2D.js +4 -0
- package/dist/cdn/MXLBATJ4.js +4 -0
- package/dist/cdn/N2V5WQRL.js +4 -0
- package/dist/cdn/N2YYEDYU.js +4 -0
- package/dist/cdn/N3XECUJM.js +4 -0
- package/dist/cdn/N5GMIDCT.js +4 -0
- package/dist/cdn/N6D3XBNH.js +4 -0
- package/dist/cdn/N6NMG3EX.js +4 -0
- package/dist/cdn/N7CEEHVK.js +4 -0
- package/dist/cdn/N7E4CXET.js +4 -0
- package/dist/cdn/NFIXB7I5.js +4 -0
- package/dist/cdn/NG7TU6KR.js +4 -0
- package/dist/cdn/NMPWL3MP.js +4 -0
- package/dist/cdn/NOXQWF6A.js +4 -0
- package/dist/cdn/NP75WSWU.js +4 -0
- package/dist/cdn/NPIYRBDQ.js +4 -0
- package/dist/cdn/NQFU2BRT.js +4 -0
- package/dist/cdn/NSLUH7FS.js +4 -0
- package/dist/cdn/NSOCHYQH.js +4 -0
- package/dist/cdn/NUOJS3XO.js +4 -0
- package/dist/cdn/NUURFSM2.js +4 -0
- package/dist/cdn/NVY3KTHT.js +4 -0
- package/dist/cdn/NWBGCGU2.js +4 -0
- package/dist/cdn/NWZJGFR3.js +4 -0
- package/dist/cdn/NX35I2EI.js +4 -0
- package/dist/cdn/O26GI64R.js +4 -0
- package/dist/cdn/O7KFQN5T.js +4 -0
- package/dist/cdn/OAV4ZW3J.js +4 -0
- package/dist/cdn/OBHU3OKV.js +4 -0
- package/dist/cdn/OCRR3ZSM.js +4 -0
- package/dist/cdn/OF4BJJMX.js +4 -0
- package/dist/cdn/OI5EM7G7.js +4 -0
- package/dist/cdn/OIUK6KMC.js +4 -0
- package/dist/cdn/OIXMU6RR.js +4 -0
- package/dist/cdn/OJ2CPRIB.js +4 -0
- package/dist/cdn/OJRIZOIB.js +4 -0
- package/dist/cdn/OK7BT36T.js +4 -0
- package/dist/cdn/OLKP3EWQ.js +4 -0
- package/dist/cdn/OMEM774W.js +4 -0
- package/dist/cdn/OOVSD2A7.js +4 -0
- package/dist/cdn/ORFUBTFJ.js +4 -0
- package/dist/cdn/OTA7HTVM.js +4 -0
- package/dist/cdn/OV5AMJET.js +4 -0
- package/dist/cdn/OX72BGVQ.js +4 -0
- package/dist/cdn/OY2SC4S6.js +4 -0
- package/dist/cdn/OZPOWRXE.js +4 -0
- package/dist/cdn/P2B5GII6.js +4 -0
- package/dist/cdn/P3XHE4HL.js +4 -0
- package/dist/cdn/P5Y3IXJP.js +4 -0
- package/dist/cdn/P6HEL5XE.js +4 -0
- package/dist/cdn/P6HPDEY3.js +4 -0
- package/dist/cdn/P7V6VS6W.js +4 -0
- package/dist/cdn/PAO64ADW.js +4 -0
- package/dist/cdn/PB6NJT2G.js +4 -0
- package/dist/cdn/PBVRYRQD.js +4 -0
- package/dist/cdn/PC67NTDY.js +4 -0
- package/dist/cdn/PCV5QNQZ.js +24 -0
- package/dist/cdn/PCX5XVR6.js +4 -0
- package/dist/cdn/PDZVZWAD.js +4 -0
- package/dist/cdn/PEJSSCR7.js +4 -0
- package/dist/cdn/PG6Z3WWE.js +4 -0
- package/dist/cdn/PIOCWTEX.js +4 -0
- package/dist/cdn/PLHL5UFC.js +5 -0
- package/dist/cdn/POLAN22M.js +4 -0
- package/dist/cdn/POQRETYM.js +4 -0
- package/dist/cdn/POZBHXM7.js +4 -0
- package/dist/cdn/PQBFW6YE.js +5 -0
- package/dist/cdn/PSTSSGLY.js +4 -0
- package/dist/cdn/PUASWADS.js +4 -0
- package/dist/cdn/PUEDNR2C.js +4 -0
- package/dist/cdn/PUG5YU6G.js +4 -0
- package/dist/cdn/PVN52LEM.js +4 -0
- package/dist/cdn/PVPDWOUB.js +4 -0
- package/dist/cdn/PXVRQCJA.js +4 -0
- package/dist/cdn/PYHVDSWV.js +4 -0
- package/dist/cdn/PZO6QNU5.js +4 -0
- package/dist/cdn/Q2FM6YD5.js +4 -0
- package/dist/cdn/Q2OI3JZW.js +4 -0
- package/dist/cdn/Q3VBP4MK.js +4 -0
- package/dist/cdn/Q4RUY6I5.js +4 -0
- package/dist/cdn/Q52RQFQU.js +44 -0
- package/dist/cdn/Q5RVUO2Q.js +4 -0
- package/dist/cdn/Q7YVBKLD.js +4 -0
- package/dist/cdn/QCBSVLSB.js +4 -0
- package/dist/cdn/QD2OPIEN.js +4 -0
- package/dist/cdn/QDM7KPMQ.js +4 -0
- package/dist/cdn/QEI3TXZS.js +4 -0
- package/dist/cdn/QFFNP2KB.js +4 -0
- package/dist/cdn/QFQHAHZI.js +4 -0
- package/dist/cdn/QGHMAJMH.js +4 -0
- package/dist/cdn/QJFCL72U.js +4 -0
- package/dist/cdn/QKGVY5CQ.js +4 -0
- package/dist/cdn/QKQCHTEH.js +4 -0
- package/dist/cdn/QOWEAYBP.js +4 -0
- package/dist/cdn/QQ337YBE.js +4 -0
- package/dist/cdn/QU3LQ375.js +4 -0
- package/dist/cdn/QWCJ2APN.js +5 -0
- package/dist/cdn/QYKWSFQW.js +4 -0
- package/dist/cdn/QZWUHDOI.js +4 -0
- package/dist/cdn/R27LKF6C.js +4 -0
- package/dist/cdn/R2AHOCBU.js +4 -0
- package/dist/cdn/R2AMWBRC.js +4 -0
- package/dist/cdn/R2M2APZ6.js +4 -0
- package/dist/cdn/R4AZDUMU.js +4 -0
- package/dist/cdn/R7BCE4T2.js +4 -0
- package/dist/cdn/R7XEQGKW.js +4 -0
- package/dist/cdn/RAL2562O.js +4 -0
- package/dist/cdn/RASBIFXQ.js +4 -0
- package/dist/cdn/RDFT5USS.js +4 -0
- package/dist/cdn/RE5BSG45.js +4 -0
- package/dist/cdn/RIEI6XJ5.js +4 -0
- package/dist/cdn/RKAU53QR.js +4 -0
- package/dist/cdn/RKJUGWWT.js +4 -0
- package/dist/cdn/ROKNOCJZ.js +4 -0
- package/dist/cdn/RP33UVVI.js +4 -0
- package/dist/cdn/RRXUCD3K.js +4 -0
- package/dist/cdn/RS7ZLQUL.js +4 -0
- package/dist/cdn/RVNZKUGN.js +4 -0
- package/dist/cdn/RX7RKUFG.js +4 -0
- package/dist/cdn/RXPRTPXL.js +4 -0
- package/dist/cdn/RZ2F744Q.js +4 -0
- package/dist/cdn/RZ2RWSEX.js +4 -0
- package/dist/cdn/RZ44RWIM.js +4 -0
- package/dist/cdn/S3DERP5M.js +4 -0
- package/dist/cdn/S4KIUWPD.js +4 -0
- package/dist/cdn/S4TRPRW4.js +4 -0
- package/dist/cdn/S55KGOQ4.js +4 -0
- package/dist/cdn/S5OYZGMG.js +4 -0
- package/dist/cdn/S5V4N2IH.js +4 -0
- package/dist/cdn/S643GZSX.js +4 -0
- package/dist/cdn/S74ZHD7G.js +4 -0
- package/dist/cdn/SA3FEAWH.js +4 -0
- package/dist/cdn/SA5EHYA3.js +4 -0
- package/dist/cdn/SCLXHH6F.js +4 -0
- package/dist/cdn/SCUHGNGC.js +4 -0
- package/dist/cdn/SD2XUXQY.js +4 -0
- package/dist/cdn/SE3IC3IZ.js +4 -0
- package/dist/cdn/SEJ7L3IY.js +4 -0
- package/dist/cdn/SEU5BXSV.js +4 -0
- package/dist/cdn/SFEY4UUJ.js +4 -0
- package/dist/cdn/SFYDDOI2.js +4 -0
- package/dist/cdn/SICRY3S2.js +4 -0
- package/dist/cdn/SLQAQMNH.js +4 -0
- package/dist/cdn/SLSMSKW2.js +4 -0
- package/dist/cdn/SM2UBYRT.js +4 -0
- package/dist/cdn/SMIWA4QP.js +4 -0
- package/dist/cdn/SNM3CEIL.js +4 -0
- package/dist/cdn/SNSTMQHY.js +4 -0
- package/dist/cdn/SP4XMQ4Y.js +4 -0
- package/dist/cdn/SPQJJU6Z.js +4 -0
- package/dist/cdn/SQRLR3TE.js +4 -0
- package/dist/cdn/SSRV6IFX.js +4 -0
- package/dist/cdn/STHLRZY7.js +4 -0
- package/dist/cdn/SWAXCC4Y.js +4 -0
- package/dist/cdn/SXYKSNPO.js +4 -0
- package/dist/cdn/T2JM2O2N.js +4 -0
- package/dist/cdn/T2L6LVOE.js +52 -0
- package/dist/cdn/T3CNRTLC.js +4 -0
- package/dist/cdn/T423MOSD.js +4 -0
- package/dist/cdn/T5CCCLA6.js +4 -0
- package/dist/cdn/T6MDS2FL.js +4 -0
- package/dist/cdn/T6P43YAY.js +4 -0
- package/dist/cdn/T6ZLGGOP.js +4 -0
- package/dist/cdn/TANTH72O.js +4 -0
- package/dist/cdn/TECMP45Q.js +4 -0
- package/dist/cdn/TETGKP6L.js +4 -0
- package/dist/cdn/TGWVWEPU.js +4 -0
- package/dist/cdn/THOZAOVK.js +4 -0
- package/dist/cdn/TI2RV5P6.js +4 -0
- package/dist/cdn/TJIIEBS2.js +4 -0
- package/dist/cdn/TJOP2WG2.js +4 -0
- package/dist/cdn/TJQG3I5G.js +4 -0
- package/dist/cdn/TJUKLJFI.js +4 -0
- package/dist/cdn/TKDJBGO4.js +4 -0
- package/dist/cdn/TLWP2ZS2.js +4 -0
- package/dist/cdn/TO7PWQSH.js +4 -0
- package/dist/cdn/TOIC3A3J.js +4 -0
- package/dist/cdn/TQUDF7GH.js +4 -0
- package/dist/cdn/TR6GZIZW.js +5470 -0
- package/dist/cdn/TVHSWWIJ.js +6 -0
- package/dist/cdn/TVTDJ2AH.js +4 -0
- package/dist/cdn/TWHI5ASK.js +4 -0
- package/dist/cdn/TXYVVZED.js +9 -0
- package/dist/cdn/TXZEPQ26.js +4 -0
- package/dist/cdn/TZCY2P2G.js +4 -0
- package/dist/cdn/TZVBA5PH.js +4 -0
- package/dist/cdn/U2ND4H23.js +5 -0
- package/dist/cdn/U3NRGPBG.js +4 -0
- package/dist/cdn/U42E7R5D.js +4 -0
- package/dist/cdn/U7S6XK7D.js +4 -0
- package/dist/cdn/UADMYC7J.js +4 -0
- package/dist/cdn/UCP3BCH2.js +4 -0
- package/dist/cdn/UDM6MKMK.js +4 -0
- package/dist/cdn/UENMOPKM.js +4 -0
- package/dist/cdn/UH33XLGE.js +6 -0
- package/dist/cdn/UKIWRMSL.js +4 -0
- package/dist/cdn/ULOJAVJH.js +4 -0
- package/dist/cdn/UNKSMLNO.js +4 -0
- package/dist/cdn/URNVAKNP.js +4 -0
- package/dist/cdn/URVHQP4R.js +4 -0
- package/dist/cdn/UU3DVVP3.js +4 -0
- package/dist/cdn/UWQIV7K3.js +4 -0
- package/dist/cdn/UX2AERVW.js +4 -0
- package/dist/cdn/V2EP224L.js +4 -0
- package/dist/cdn/V2QHRJY2.js +4 -0
- package/dist/cdn/V2QJO2P5.js +4 -0
- package/dist/cdn/V3PWEZGW.js +4 -0
- package/dist/cdn/V4DN43BQ.js +4 -0
- package/dist/cdn/V63NISUK.js +4 -0
- package/dist/cdn/V6RTKAAF.js +4 -0
- package/dist/cdn/VAFRSOGX.js +4 -0
- package/dist/cdn/VBFXBWT4.js +4 -0
- package/dist/cdn/VC5G5IXR.js +4 -0
- package/dist/cdn/VE62HIVN.js +4 -0
- package/dist/cdn/VE7GIRSC.js +4 -0
- package/dist/cdn/VEKPFFAK.js +4 -0
- package/dist/cdn/VEPZUNMN.js +4 -0
- package/dist/cdn/VEQRUJ47.js +4 -0
- package/dist/cdn/VEWK3DMK.js +4 -0
- package/dist/cdn/VFA2SMCO.js +4 -0
- package/dist/cdn/VFTU7ZP3.js +4 -0
- package/dist/cdn/VFX6MATY.js +4 -0
- package/dist/cdn/VFZPTSWM.js +4 -0
- package/dist/cdn/VGDK25FG.js +4 -0
- package/dist/cdn/VGFU6V3M.js +4 -0
- package/dist/cdn/VK7ZPHP7.js +4 -0
- package/dist/cdn/VKIGVMIT.js +4 -0
- package/dist/cdn/VN4UKJS5.js +4 -0
- package/dist/cdn/VPU3K637.js +4 -0
- package/dist/cdn/VQ4FQRWH.js +4 -0
- package/dist/cdn/VRC375KY.js +4 -0
- package/dist/cdn/VS57V2FL.js +4 -0
- package/dist/cdn/VSAWFEB5.js +4 -0
- package/dist/cdn/VTKCVZL3.js +4 -0
- package/dist/cdn/VUINYQF5.js +4 -0
- package/dist/cdn/W3AGS2VH.js +4 -0
- package/dist/cdn/W3PORRGG.js +4 -0
- package/dist/cdn/W3UHY6GN.js +4 -0
- package/dist/cdn/W45AUNPF.js +4 -0
- package/dist/cdn/W4JM72IE.js +4 -0
- package/dist/cdn/W52RHFT3.js +4 -0
- package/dist/cdn/W5UYYAMX.js +4 -0
- package/dist/cdn/W6SZJRP2.js +4 -0
- package/dist/cdn/W7FWXDRJ.js +4 -0
- package/dist/cdn/WA43XNYY.js +4 -0
- package/dist/cdn/WBQ5LYPF.js +4 -0
- package/dist/cdn/WC4S43JH.js +4 -0
- package/dist/cdn/WCRAIX6C.js +4 -0
- package/dist/cdn/WCUYKU2R.js +4 -0
- package/dist/cdn/WF4QG5TI.js +4 -0
- package/dist/cdn/WFDQ6H4I.js +4 -0
- package/dist/cdn/WFYGFQSL.js +4 -0
- package/dist/cdn/WITO6L6Y.js +4 -0
- package/dist/cdn/WJKDSV4M.js +4 -0
- package/dist/cdn/WJVVBPCR.js +4 -0
- package/dist/cdn/WLCFDCDK.js +4 -0
- package/dist/cdn/WLFO6XYP.js +6 -0
- package/dist/cdn/WN3ASYRR.js +4 -0
- package/dist/cdn/WNFLKDZG.js +4 -0
- package/dist/cdn/WOK5FCJH.js +4 -0
- package/dist/cdn/WOOAW2UE.js +4 -0
- package/dist/cdn/WQ5KPZTG.js +4 -0
- package/dist/cdn/WRN5FTWG.js +4 -0
- package/dist/cdn/WS5I7N76.js +4 -0
- package/dist/cdn/WSZPM5YF.js +4 -0
- package/dist/cdn/WUMRZI2R.js +4 -0
- package/dist/cdn/WUTT4RUW.js +4 -0
- package/dist/cdn/WUUNKT3K.js +4 -0
- package/dist/cdn/WY2JMGND.js +4 -0
- package/dist/cdn/WY7MGP2E.js +4 -0
- package/dist/cdn/WYOSHHIT.js +4 -0
- package/dist/cdn/X32QPVPT.js +4 -0
- package/dist/cdn/X3GN3HX6.js +4 -0
- package/dist/cdn/X5FBVXQ7.js +4 -0
- package/dist/cdn/X5KBNHDM.js +4 -0
- package/dist/cdn/X6J4TYWF.js +4 -0
- package/dist/cdn/X73PJW6I.js +4 -0
- package/dist/cdn/X7G3DS3P.js +4 -0
- package/dist/cdn/X7HE7L5H.js +4 -0
- package/dist/cdn/X7MUAY6Z.js +4 -0
- package/dist/cdn/X7WQNHI3.js +4 -0
- package/dist/cdn/XFDYOH54.js +4 -0
- package/dist/cdn/XHGRMYTQ.js +4 -0
- package/dist/cdn/XK2EICUV.js +4 -0
- package/dist/cdn/XKQDNRQA.js +4 -0
- package/dist/cdn/XMVCKYCP.js +4 -0
- package/dist/cdn/XOKSVX25.js +4 -0
- package/dist/cdn/XP4K6N4W.js +4 -0
- package/dist/cdn/XR5YURZB.js +4 -0
- package/dist/cdn/XRXAR6R2.js +4 -0
- package/dist/cdn/XSF257VY.js +4 -0
- package/dist/cdn/XSIKMHPL.js +4 -0
- package/dist/cdn/XUZHKUZ7.js +4 -0
- package/dist/cdn/XV2ISXOS.js +4 -0
- package/dist/cdn/XVBUVCQ6.js +4 -0
- package/dist/cdn/XVDJWACE.js +4 -0
- package/dist/cdn/Y2DSR76S.js +4 -0
- package/dist/cdn/Y2GOZW4V.js +4 -0
- package/dist/cdn/Y4RMJH4I.js +4 -0
- package/dist/cdn/Y5Z3HSUR.js +4 -0
- package/dist/cdn/YA7SUDZT.js +4 -0
- package/dist/cdn/YAUUDO4N.js +4 -0
- package/dist/cdn/YBBMYTBS.js +4 -0
- package/dist/cdn/YCNQIB66.js +4 -0
- package/dist/cdn/YD2WDSSU.js +4 -0
- package/dist/cdn/YDY2NAR3.js +4 -0
- package/dist/cdn/YEAHCK6W.js +4 -0
- package/dist/cdn/YEIAJRZK.js +4 -0
- package/dist/cdn/YGE5ZZGR.js +4 -0
- package/dist/cdn/YJCARB73.js +4 -0
- package/dist/cdn/YJUEVXTV.js +4 -0
- package/dist/cdn/YLN2FDKE.js +4 -0
- package/dist/cdn/YNSJMVYK.js +4 -0
- package/dist/cdn/YP5HYZEQ.js +4 -0
- package/dist/cdn/YPXQWQRJ.js +4 -0
- package/dist/cdn/YRMBUG76.js +4 -0
- package/dist/cdn/YRUZIWCA.js +4 -0
- package/dist/cdn/YWQNI2SV.js +4 -0
- package/dist/cdn/YWUI6NYQ.js +4 -0
- package/dist/cdn/YX6M3CPV.js +4 -0
- package/dist/cdn/Z3PIZBKA.js +4 -0
- package/dist/cdn/Z4KJ7EH5.js +51 -0
- package/dist/cdn/Z7HYFYVE.js +4 -0
- package/dist/cdn/Z7O6MSJ2.js +4 -0
- package/dist/cdn/ZA64AYAK.js +4 -0
- package/dist/cdn/ZADYKFNA.js +4 -0
- package/dist/cdn/ZAGVMDAM.js +4 -0
- package/dist/cdn/ZAX2GCPA.js +4 -0
- package/dist/cdn/ZBKSJSSW.js +4 -0
- package/dist/cdn/ZD76WYVI.js +4 -0
- package/dist/cdn/ZDQAS34R.js +4 -0
- package/dist/cdn/ZE4MKDL5.js +4 -0
- package/dist/cdn/ZEV3T4G7.js +4 -0
- package/dist/cdn/ZIU3ZDHS.js +4 -0
- package/dist/cdn/ZJIO5REV.js +4 -0
- package/dist/cdn/ZJY632UO.js +4 -0
- package/dist/cdn/ZKRS7FS3.js +4 -0
- package/dist/cdn/ZKWMZL36.js +4 -0
- package/dist/cdn/ZKZKJY4M.js +4 -0
- package/dist/cdn/ZLOABH7D.js +4 -0
- package/dist/cdn/ZQOPI5ET.js +4 -0
- package/dist/cdn/ZSRR5MRF.js +4 -0
- package/dist/cdn/ZTN752AH.js +4 -0
- package/dist/cdn/ZUQLTZCB.js +4 -0
- package/dist/cdn/ZWTDDWM3.js +4 -0
- package/dist/cdn/ZXD6PYEI.js +4 -0
- package/dist/cdn/ZY6QLE2B.js +4 -0
- package/dist/cdn/assets/hub-entity-associations-card/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/hub-entity-metrics-card/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/hub-entity-status-card/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +3 -3
- package/dist/cdn/main.css +1 -1
- 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 +70 -46
- package/dist/chunks/runtime.js +3 -3
- package/dist/chunks/state.js +8 -0
- 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.js +2 -2
- package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +2 -2
- package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +2 -2
- package/dist/components/arcgis-chat-ui/functional/chat-status/customElement.js +2 -2
- package/dist/components/arcgis-hub-ai-assistant/customElement.js +2 -2
- package/dist/components/arcgis-hub-entity-associations-card/customElement.d.ts +30 -0
- package/dist/components/arcgis-hub-entity-associations-card/customElement.js +52 -0
- package/dist/components/arcgis-hub-entity-associations-card/index.d.ts +2 -0
- package/dist/components/arcgis-hub-entity-associations-card/index.js +2 -0
- package/dist/components/arcgis-hub-entity-metrics-card/customElement.d.ts +23 -0
- package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +54 -0
- package/dist/components/arcgis-hub-entity-metrics-card/index.d.ts +2 -0
- package/dist/components/arcgis-hub-entity-metrics-card/index.js +2 -0
- package/dist/components/arcgis-hub-entity-status-card/customElement.d.ts +27 -0
- package/dist/components/arcgis-hub-entity-status-card/customElement.js +45 -0
- package/dist/components/arcgis-hub-entity-status-card/index.d.ts +2 -0
- package/dist/components/arcgis-hub-entity-status-card/index.js +2 -0
- package/dist/components/arcgis-layout/customElement.js +12 -11
- package/dist/components/arcgis-layout-column/customElement.js +2 -2
- package/dist/components/arcgis-layout-container/customElement.js +4 -3
- 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 +44 -30
- package/dist/components/layouts/components/layout-node/index.d.ts +7 -0
- package/dist/components/layouts/components/layout-node/index.js +7 -0
- package/dist/docs/api.json +776 -1
- package/dist/docs/docs.json +680 -1
- package/dist/docs/vscode.html-custom-data.json +70 -0
- package/dist/docs/web-types.json +91 -1
- package/dist/embed-config.js +2 -2
- package/dist/index.d.ts +15 -0
- package/dist/index.js +2 -2
- package/dist/loader.js +5 -2
- package/dist/types/lumina.d.ts +15 -0
- package/dist/types/preact.d.ts +18 -0
- package/dist/types/react.d.ts +21 -0
- package/dist/types/stencil.d.ts +15 -0
- package/dist/util/interpolate.d.ts +16 -0
- package/package.json +2 -2
- package/dist/cdn/222324ZP.js +0 -4
- package/dist/cdn/224YNGRZ.js +0 -4
- package/dist/cdn/22IAU5M7.js +0 -4
- package/dist/cdn/22YMVVVM.js +0 -4
- package/dist/cdn/24NIOZ6L.js +0 -4
- package/dist/cdn/26YG3HNM.js +0 -4
- package/dist/cdn/2CPZMCWO.js +0 -4
- package/dist/cdn/2D7NNH4H.js +0 -4
- package/dist/cdn/2DT6IB4X.js +0 -4
- package/dist/cdn/2HNDZ567.js +0 -24
- package/dist/cdn/2NRRTA7W.js +0 -4
- package/dist/cdn/2NWKJNOI.js +0 -4
- package/dist/cdn/2PAZEZPT.js +0 -4
- package/dist/cdn/2PSPXMQQ.js +0 -4
- package/dist/cdn/2QD55TUK.js +0 -4
- package/dist/cdn/2QJHCEKF.js +0 -4
- package/dist/cdn/2R5MAXGZ.js +0 -4
- package/dist/cdn/2SIJ3HHV.js +0 -4
- package/dist/cdn/2UIFPODF.js +0 -4
- package/dist/cdn/2VZXZ5SR.js +0 -4
- package/dist/cdn/2WM2DZOA.js +0 -4
- package/dist/cdn/327TKTNV.js +0 -4
- package/dist/cdn/342PMH3X.js +0 -4
- package/dist/cdn/34UJV3ZQ.js +0 -4
- package/dist/cdn/35FSVIT7.js +0 -4
- package/dist/cdn/365HVL47.js +0 -4
- package/dist/cdn/37OOEVIX.js +0 -4
- package/dist/cdn/37ZK2J3F.js +0 -4
- package/dist/cdn/3BG7AO7R.js +0 -4
- package/dist/cdn/3CEIOWOK.js +0 -4
- package/dist/cdn/3DFQJHMC.js +0 -4
- package/dist/cdn/3EDAI6RO.js +0 -4
- package/dist/cdn/3F7NSIBQ.js +0 -4
- package/dist/cdn/3FXJZHKD.js +0 -4
- package/dist/cdn/3GHD4Y2A.js +0 -4
- package/dist/cdn/3GYLEDLI.js +0 -4
- package/dist/cdn/3IGNJHMG.js +0 -4
- package/dist/cdn/3IJATHM4.js +0 -4
- package/dist/cdn/3IJVHTNU.js +0 -4
- package/dist/cdn/3JGA35HZ.js +0 -4
- package/dist/cdn/3LB2E7WJ.js +0 -4
- package/dist/cdn/3LIPUUTR.js +0 -4
- package/dist/cdn/3MKMROVH.js +0 -42
- package/dist/cdn/3OUUDGK5.js +0 -4
- package/dist/cdn/3QD3T2JL.js +0 -4
- package/dist/cdn/3QVVYHMC.js +0 -4
- package/dist/cdn/3RFSAKOS.js +0 -4
- package/dist/cdn/3SGSV5NZ.js +0 -4
- package/dist/cdn/3UH6NW55.js +0 -4
- package/dist/cdn/3V3FHG3F.js +0 -4
- package/dist/cdn/3VCVNZ5S.js +0 -4
- package/dist/cdn/3VKGPWIK.js +0 -4
- package/dist/cdn/3VXJCD3Q.js +0 -4
- package/dist/cdn/3XBYBEOG.js +0 -4
- package/dist/cdn/3Y4OQLYJ.js +0 -4
- package/dist/cdn/3Y5VMJVJ.js +0 -4
- package/dist/cdn/3YP5SZ2B.js +0 -4
- package/dist/cdn/3Z6J3J2R.js +0 -4
- package/dist/cdn/42BM2XUC.js +0 -4
- package/dist/cdn/44MNGMU3.js +0 -4
- package/dist/cdn/45MEEUT2.js +0 -4
- package/dist/cdn/467WZDGW.js +0 -4
- package/dist/cdn/46COHS2I.js +0 -4
- package/dist/cdn/47D33D3V.js +0 -4
- package/dist/cdn/4DNEUOUL.js +0 -4
- package/dist/cdn/4FL76ZYT.js +0 -4
- package/dist/cdn/4G5CO2A5.js +0 -4
- package/dist/cdn/4GRLXXG4.js +0 -4
- package/dist/cdn/4HFCJZAO.js +0 -4
- package/dist/cdn/4LLJGJ2M.js +0 -4
- package/dist/cdn/4LPXJMKX.js +0 -4
- package/dist/cdn/4MXUNXFW.js +0 -4
- package/dist/cdn/4OALDBTP.js +0 -4
- package/dist/cdn/4OJ7J7XS.js +0 -4
- package/dist/cdn/4PLBMFJG.js +0 -4
- package/dist/cdn/4QMHU5F7.js +0 -4
- package/dist/cdn/4R7UK4KX.js +0 -4
- package/dist/cdn/4RSC2SP4.js +0 -4
- package/dist/cdn/4TJYUS5F.js +0 -4
- package/dist/cdn/4TLQOLOT.js +0 -4
- package/dist/cdn/4TZR2MHU.js +0 -4
- package/dist/cdn/4Z6R6OQY.js +0 -4
- package/dist/cdn/524N5FG2.js +0 -4
- package/dist/cdn/52CO4AUW.js +0 -4
- package/dist/cdn/52XQBX5J.js +0 -4
- package/dist/cdn/53PNBTN4.js +0 -4
- package/dist/cdn/572FSHAU.js +0 -4
- package/dist/cdn/572J42EL.js +0 -4
- package/dist/cdn/5ARHL4EH.js +0 -4
- package/dist/cdn/5C2PWOGR.js +0 -4
- package/dist/cdn/5DKGELKC.js +0 -4
- package/dist/cdn/5GTM4XBO.js +0 -4
- package/dist/cdn/5GUO2IEY.js +0 -4
- package/dist/cdn/5HAZ4YLW.js +0 -4
- package/dist/cdn/5JK6NOE7.js +0 -4
- package/dist/cdn/5KAYOLCD.js +0 -4
- package/dist/cdn/5L2XMXP3.js +0 -4
- package/dist/cdn/5LMWRXTN.js +0 -4
- package/dist/cdn/5LNTOQQ5.js +0 -4
- package/dist/cdn/5O6KBEDQ.js +0 -4
- package/dist/cdn/5RNBLJX3.js +0 -4
- package/dist/cdn/5VPZLVZX.js +0 -4
- package/dist/cdn/5VQMSL26.js +0 -4
- package/dist/cdn/5VR2AGV7.js +0 -4
- package/dist/cdn/5VS64MBP.js +0 -4
- package/dist/cdn/5VYJCPC4.js +0 -4
- package/dist/cdn/5WR3RHC6.js +0 -4
- package/dist/cdn/5XT7VB2E.js +0 -4
- package/dist/cdn/5YVTNEYO.js +0 -4
- package/dist/cdn/6266O4ZC.js +0 -4
- package/dist/cdn/647CGZI6.js +0 -4
- package/dist/cdn/64M3WPM7.js +0 -4
- package/dist/cdn/64MVELBZ.js +0 -4
- package/dist/cdn/64RVBXAV.js +0 -4
- package/dist/cdn/65LC25E6.js +0 -4
- package/dist/cdn/66UMLDZ7.js +0 -4
- package/dist/cdn/66WNG3FY.js +0 -4
- package/dist/cdn/6AUCVDWG.js +0 -4
- package/dist/cdn/6BODWQFZ.js +0 -4
- package/dist/cdn/6BPNC5TR.js +0 -4
- package/dist/cdn/6CEV5FOX.js +0 -4
- package/dist/cdn/6FOEVR3N.js +0 -4
- package/dist/cdn/6G3LD5V2.js +0 -4
- package/dist/cdn/6GPZHYEG.js +0 -4
- package/dist/cdn/6HKGPMHU.js +0 -4
- package/dist/cdn/6I7V24W6.js +0 -4
- package/dist/cdn/6IUMW6NG.js +0 -4
- package/dist/cdn/6JBIPHBY.js +0 -4
- package/dist/cdn/6KFOB6QU.js +0 -4
- package/dist/cdn/6KZWIS5G.js +0 -4
- package/dist/cdn/6LWGVJEY.js +0 -4
- package/dist/cdn/6N7MUERE.js +0 -4
- package/dist/cdn/6NFKTK53.js +0 -4
- package/dist/cdn/6NL4OSSQ.js +0 -4
- package/dist/cdn/6OM5ZKUB.js +0 -4
- package/dist/cdn/6PC5TNWM.js +0 -4
- package/dist/cdn/6QCEOVLD.js +0 -4
- package/dist/cdn/6QCVJVCR.js +0 -4
- package/dist/cdn/6QUCNJUW.js +0 -4
- package/dist/cdn/6T32G6S6.js +0 -4
- package/dist/cdn/6UYL7L3K.js +0 -4
- package/dist/cdn/6VCJCSKQ.js +0 -4
- package/dist/cdn/6WNFTTC7.js +0 -4
- package/dist/cdn/6WWGRGUD.js +0 -4
- package/dist/cdn/73ZDK5ZR.js +0 -4
- package/dist/cdn/74CIFAI4.js +0 -4
- package/dist/cdn/74Y2X3TG.js +0 -4
- package/dist/cdn/75JRXF6F.js +0 -4
- package/dist/cdn/77EBU5DP.js +0 -4
- package/dist/cdn/77FBYPVL.js +0 -4
- package/dist/cdn/7B3VY7IJ.js +0 -4
- package/dist/cdn/7BLPFXSZ.js +0 -4
- package/dist/cdn/7GIJRDY6.js +0 -4
- package/dist/cdn/7IHPDFRH.js +0 -4
- package/dist/cdn/7IQWUL36.js +0 -4
- package/dist/cdn/7J2W6FRB.js +0 -4
- package/dist/cdn/7JDFLXGC.js +0 -4
- package/dist/cdn/7JETDFME.js +0 -4
- package/dist/cdn/7KH6FPEQ.js +0 -4
- package/dist/cdn/7M5BZLB7.js +0 -4
- package/dist/cdn/7METBZ2I.js +0 -4
- package/dist/cdn/7ONELWXI.js +0 -4
- package/dist/cdn/7POYRRZC.js +0 -4
- package/dist/cdn/7PXKWQ7I.js +0 -4
- package/dist/cdn/7QYVHEAX.js +0 -4
- package/dist/cdn/7VSMPZTY.js +0 -4
- package/dist/cdn/7VZKQICR.js +0 -4
- package/dist/cdn/7W5RD5N4.js +0 -4
- package/dist/cdn/7WAYMVQK.js +0 -4
- package/dist/cdn/7WNOUYNX.js +0 -4
- package/dist/cdn/7ZWPI6KF.js +0 -4
- package/dist/cdn/A2SFOHN7.js +0 -4
- package/dist/cdn/A2YZNIJZ.js +0 -4
- package/dist/cdn/A3UM4T6W.js +0 -4
- package/dist/cdn/A6NG6QS4.js +0 -4
- package/dist/cdn/A6Y7FHDL.js +0 -4
- package/dist/cdn/A74MF6PF.js +0 -4
- package/dist/cdn/ADAV6JQK.js +0 -4
- package/dist/cdn/AECNSK62.js +0 -4
- package/dist/cdn/AFFNW4DB.js +0 -4
- package/dist/cdn/AFZZWPW3.js +0 -4
- package/dist/cdn/AIIJ2NZM.js +0 -4
- package/dist/cdn/AKCV56WD.js +0 -4
- package/dist/cdn/AKRWK74X.js +0 -4
- package/dist/cdn/AKZSYACO.js +0 -4
- package/dist/cdn/ALS6FGZO.js +0 -4
- package/dist/cdn/AM5YQ544.js +0 -4
- package/dist/cdn/AMEP5Z3R.js +0 -4
- package/dist/cdn/AND4X4SN.js +0 -4
- package/dist/cdn/AO4QLZJP.js +0 -4
- package/dist/cdn/AOCYNJAV.js +0 -4
- package/dist/cdn/AS5B2P6H.js +0 -4
- package/dist/cdn/ASKLNDYN.js +0 -4
- package/dist/cdn/ASLJDCJ5.js +0 -4
- package/dist/cdn/ASWE2GU6.js +0 -4
- package/dist/cdn/AT5D7ZLV.js +0 -4
- package/dist/cdn/ATH66ZJJ.js +0 -4
- package/dist/cdn/AULGQDQM.js +0 -4
- package/dist/cdn/AVE6QA7W.js +0 -4
- package/dist/cdn/AVMHRAVL.js +0 -4
- package/dist/cdn/AWK62ISH.js +0 -4
- package/dist/cdn/AXJF2S6N.js +0 -4
- package/dist/cdn/AZKSSDZF.js +0 -4
- package/dist/cdn/B4C5VNT3.js +0 -51
- package/dist/cdn/B7MAO7SM.js +0 -4
- package/dist/cdn/BAXP67MO.js +0 -4
- package/dist/cdn/BBU4356D.js +0 -4
- package/dist/cdn/BCHTQIV3.js +0 -4
- package/dist/cdn/BCY3XOPB.js +0 -4
- package/dist/cdn/BDPFFW4B.js +0 -4
- package/dist/cdn/BFGUBK65.js +0 -4
- package/dist/cdn/BFMOMZWA.js +0 -4
- package/dist/cdn/BFTE6G4F.js +0 -4
- package/dist/cdn/BITPCEZC.js +0 -4
- package/dist/cdn/BKXEOBOS.js +0 -4
- package/dist/cdn/BM2W4HBE.js +0 -4
- package/dist/cdn/BMKPE6UN.js +0 -4
- package/dist/cdn/BRGCWIZD.js +0 -4
- package/dist/cdn/BRRP4YJS.js +0 -4
- package/dist/cdn/BTVABHJW.js +0 -4
- package/dist/cdn/BU6FNVG6.js +0 -4
- package/dist/cdn/BU6PR3WL.js +0 -4
- package/dist/cdn/BVFLTXOV.js +0 -8
- package/dist/cdn/BVQCTEGS.js +0 -4
- package/dist/cdn/BVV6ZDTG.js +0 -4
- package/dist/cdn/BW3ATKLA.js +0 -4
- package/dist/cdn/BXKVOJ62.js +0 -4
- package/dist/cdn/BYQRI6VK.js +0 -4
- package/dist/cdn/BZLE5HRG.js +0 -4
- package/dist/cdn/C2BE3QUJ.js +0 -4
- package/dist/cdn/C4KTJ4UP.js +0 -4
- package/dist/cdn/C4ZUDFD3.js +0 -4
- package/dist/cdn/C5GX2JAV.js +0 -44
- package/dist/cdn/C5QCA7DE.js +0 -4
- package/dist/cdn/C7HDYGGW.js +0 -4
- package/dist/cdn/C7RJ7U22.js +0 -4
- package/dist/cdn/CA5KAS55.js +0 -4
- package/dist/cdn/CAT6LSPY.js +0 -4
- package/dist/cdn/CCMUCEVP.js +0 -4
- package/dist/cdn/CCSG7JIR.js +0 -4
- package/dist/cdn/CE33VF2L.js +0 -4
- package/dist/cdn/CEVEUUR4.js +0 -4
- package/dist/cdn/CFMWO3G2.js +0 -4
- package/dist/cdn/CHDKQ2RZ.js +0 -4
- package/dist/cdn/CIDBD4DC.js +0 -4
- package/dist/cdn/CIZIJGAM.js +0 -4
- package/dist/cdn/CJQ4SXG7.js +0 -4
- package/dist/cdn/CLXICNBI.js +0 -4
- package/dist/cdn/CLYM2ZDC.js +0 -4
- package/dist/cdn/CN436OOK.js +0 -4
- package/dist/cdn/COASKFOM.js +0 -4
- package/dist/cdn/COOQDGMQ.js +0 -4
- package/dist/cdn/COTFKSG5.js +0 -4
- package/dist/cdn/COV3FIFG.js +0 -4
- package/dist/cdn/CPOLM3AV.js +0 -4
- package/dist/cdn/CPUWEAPG.js +0 -7
- package/dist/cdn/CT2LBTPT.js +0 -4
- package/dist/cdn/CT66Y2GA.js +0 -4
- package/dist/cdn/CTE2QA2N.js +0 -4
- package/dist/cdn/CUNVR7CT.js +0 -4
- package/dist/cdn/CVAHNLZL.js +0 -4
- package/dist/cdn/CVNSA6QX.js +0 -4
- package/dist/cdn/CWXK7OGZ.js +0 -4
- package/dist/cdn/CXASJZLG.js +0 -4
- package/dist/cdn/CZJ46QGX.js +0 -4
- package/dist/cdn/CZRZJH5X.js +0 -4
- package/dist/cdn/D27THZL7.js +0 -4
- package/dist/cdn/D2CPX6XM.js +0 -4
- package/dist/cdn/D3CSWUDQ.js +0 -4
- package/dist/cdn/D3GWTCTP.js +0 -4
- package/dist/cdn/D5QQNTHZ.js +0 -4
- package/dist/cdn/D6DPPE54.js +0 -4
- package/dist/cdn/D6QLIDIP.js +0 -4
- package/dist/cdn/D74U4XL2.js +0 -4
- package/dist/cdn/DBGE2K7S.js +0 -4
- package/dist/cdn/DBHPMCXM.js +0 -4
- package/dist/cdn/DBSOS7ZF.js +0 -4
- package/dist/cdn/DBVZ2DUV.js +0 -4
- package/dist/cdn/DD7V6CUQ.js +0 -4
- package/dist/cdn/DDDHWENE.js +0 -4
- package/dist/cdn/DDK2QXVD.js +0 -4
- package/dist/cdn/DEMGMJQB.js +0 -4
- package/dist/cdn/DFGLX7IY.js +0 -4
- package/dist/cdn/DJ2C4YPG.js +0 -4
- package/dist/cdn/DJCEW4IV.js +0 -4
- package/dist/cdn/DJDEFM5L.js +0 -4
- package/dist/cdn/DJWENORU.js +0 -4
- package/dist/cdn/DKPHEGTI.js +0 -4
- package/dist/cdn/DOF2QFBL.js +0 -4
- package/dist/cdn/DOMVIX6S.js +0 -4
- package/dist/cdn/DOOIOZJ5.js +0 -4
- package/dist/cdn/DPHK3F2C.js +0 -4
- package/dist/cdn/DQZOI7SO.js +0 -4
- package/dist/cdn/DRQEBMV4.js +0 -4
- package/dist/cdn/DRVFNQE2.js +0 -4
- package/dist/cdn/DT3BA4ER.js +0 -4
- package/dist/cdn/DTEMAG76.js +0 -4
- package/dist/cdn/DTIGUYU3.js +0 -4
- package/dist/cdn/DWJYKB53.js +0 -4
- package/dist/cdn/DWNEWGXP.js +0 -4
- package/dist/cdn/DXJB3NP2.js +0 -4
- package/dist/cdn/DXPXMSCI.js +0 -4
- package/dist/cdn/DY2RX5EO.js +0 -4
- package/dist/cdn/DZTYZKED.js +0 -6
- package/dist/cdn/E3VW2LJS.js +0 -4
- package/dist/cdn/E56BJDFR.js +0 -4
- package/dist/cdn/E5DYCJX3.js +0 -4
- package/dist/cdn/E5L2FVTY.js +0 -4
- package/dist/cdn/E5XFIPE6.js +0 -4
- package/dist/cdn/E7Y6AMPF.js +0 -4
- package/dist/cdn/EADJV6UP.js +0 -4
- package/dist/cdn/EAUU3LJE.js +0 -4
- package/dist/cdn/EE2AAVNP.js +0 -4
- package/dist/cdn/EGVGH56U.js +0 -4
- package/dist/cdn/EMDAFZTD.js +0 -4
- package/dist/cdn/EORANBAH.js +0 -4
- package/dist/cdn/EOUD6OR3.js +0 -4
- package/dist/cdn/EQ4JYSF4.js +0 -4
- package/dist/cdn/EQEVJY5N.js +0 -4
- package/dist/cdn/EQEZY2OA.js +0 -4
- package/dist/cdn/ESCMYNQK.js +0 -4
- package/dist/cdn/ETXKGIFR.js +0 -4
- package/dist/cdn/F3U7B2FG.js +0 -4
- package/dist/cdn/F562CQS3.js +0 -4
- package/dist/cdn/F7QXHBIQ.js +0 -4
- package/dist/cdn/FB7RRKDQ.js +0 -4
- package/dist/cdn/FBY7SLPV.js +0 -4
- package/dist/cdn/FDDMYBXM.js +0 -4
- package/dist/cdn/FDK3XVXX.js +0 -4
- package/dist/cdn/FDOCY3G5.js +0 -4
- package/dist/cdn/FDWBK4QH.js +0 -4
- package/dist/cdn/FFQWUHUK.js +0 -4
- package/dist/cdn/FGSH7HHZ.js +0 -4
- package/dist/cdn/FHOP4MZA.js +0 -9
- package/dist/cdn/FI4654ZP.js +0 -4
- package/dist/cdn/FIXYTSZU.js +0 -4
- package/dist/cdn/FP3FKEUX.js +0 -4
- package/dist/cdn/FQWQSQBF.js +0 -4
- package/dist/cdn/FQZMYNXR.js +0 -4
- package/dist/cdn/FRTUOJ7N.js +0 -4
- package/dist/cdn/FSZWUBJY.js +0 -4
- package/dist/cdn/FTJLZ3DN.js +0 -4
- package/dist/cdn/FTWNCFXA.js +0 -4
- package/dist/cdn/FX5W5HZQ.js +0 -4
- package/dist/cdn/FXSDNEUO.js +0 -4
- package/dist/cdn/FXWQ5TKP.js +0 -4
- package/dist/cdn/FYHJCVLR.js +0 -4
- package/dist/cdn/FYIBHKWF.js +0 -4
- package/dist/cdn/G3DJ3DKI.js +0 -4
- package/dist/cdn/G3LHYCOQ.js +0 -4
- package/dist/cdn/G4UO43EV.js +0 -4
- package/dist/cdn/G4W3WJNW.js +0 -4
- package/dist/cdn/G7PNGNZK.js +0 -4
- package/dist/cdn/G7PXD2BI.js +0 -4
- package/dist/cdn/GAGR7BVZ.js +0 -4
- package/dist/cdn/GB7CNG37.js +0 -4
- package/dist/cdn/GBF3PJIQ.js +0 -4
- package/dist/cdn/GDD7PFGI.js +0 -4
- package/dist/cdn/GDTS566T.js +0 -4
- package/dist/cdn/GEBMRVM4.js +0 -4
- package/dist/cdn/GF62ECZY.js +0 -4
- package/dist/cdn/GF74Y5WI.js +0 -4
- package/dist/cdn/GH3ENP4P.js +0 -4
- package/dist/cdn/GHJPRO42.js +0 -4
- package/dist/cdn/GIHRMENV.js +0 -4
- package/dist/cdn/GIXNJZHW.js +0 -4
- package/dist/cdn/GJKI23DN.js +0 -4
- package/dist/cdn/GKHW7IGD.js +0 -4
- package/dist/cdn/GN4HR22F.js +0 -4
- package/dist/cdn/GO2M6ZT5.js +0 -4
- package/dist/cdn/GOO4ZOT7.js +0 -4
- package/dist/cdn/GPHRQHY7.js +0 -4
- package/dist/cdn/GPPMIWDH.js +0 -4
- package/dist/cdn/GPWYEA77.js +0 -4
- package/dist/cdn/GT67JCIZ.js +0 -4
- package/dist/cdn/GUPCARPK.js +0 -4
- package/dist/cdn/GVTKVSUG.js +0 -4
- package/dist/cdn/GWW65NNM.js +0 -4
- package/dist/cdn/GWX3EKNN.js +0 -4
- package/dist/cdn/GXWUJTBJ.js +0 -4
- package/dist/cdn/GYAXB7H3.js +0 -4
- package/dist/cdn/H3F6FTVK.js +0 -4
- package/dist/cdn/H4AZ2IPN.js +0 -4
- package/dist/cdn/H4C6XT2I.js +0 -4
- package/dist/cdn/H4NFU3XN.js +0 -4
- package/dist/cdn/H5HJ5NRJ.js +0 -4
- package/dist/cdn/H5RAPLR7.js +0 -4
- package/dist/cdn/H5ZNAFJF.js +0 -5470
- package/dist/cdn/H6EQV3ZN.js +0 -4
- package/dist/cdn/H7W3K4XI.js +0 -4
- package/dist/cdn/HA24U5VJ.js +0 -4
- package/dist/cdn/HBJBIVM4.js +0 -4
- package/dist/cdn/HE2U7JOI.js +0 -4
- package/dist/cdn/HEAA42JR.js +0 -4
- package/dist/cdn/HEYZS2BZ.js +0 -4
- package/dist/cdn/HF54JJ2F.js +0 -4
- package/dist/cdn/HFKR6DKQ.js +0 -4
- package/dist/cdn/HH7ZRYID.js +0 -4
- package/dist/cdn/HI4AZDZ2.js +0 -4
- package/dist/cdn/HILFO76Y.js +0 -4
- package/dist/cdn/HK6V4OPQ.js +0 -4
- package/dist/cdn/HNCQ4BLT.js +0 -4
- package/dist/cdn/HO7JQDLP.js +0 -4
- package/dist/cdn/HP6SY2UA.js +0 -4
- package/dist/cdn/HSQ5RBN5.js +0 -59
- package/dist/cdn/HTMFYHA4.js +0 -4
- package/dist/cdn/HVKTDTIX.js +0 -4
- package/dist/cdn/HVNSJRDU.js +0 -4
- package/dist/cdn/HW26LUKU.js +0 -4
- package/dist/cdn/HW27ZXCZ.js +0 -4
- package/dist/cdn/HWBNOOMQ.js +0 -4
- package/dist/cdn/HYDJAPNZ.js +0 -4
- package/dist/cdn/HZSIOH3W.js +0 -4
- package/dist/cdn/I2ZWZIMR.js +0 -4
- package/dist/cdn/I3MUYC7F.js +0 -4
- package/dist/cdn/I4YOEUVX.js +0 -4
- package/dist/cdn/I6FCBOIX.js +0 -4
- package/dist/cdn/IAD737PK.js +0 -4
- package/dist/cdn/IDPRDWEY.js +0 -4
- package/dist/cdn/IGI4ZZIX.js +0 -4
- package/dist/cdn/IHUIPEMD.js +0 -4
- package/dist/cdn/IIKSJ5VA.js +0 -4
- package/dist/cdn/IKKM6Q5M.js +0 -4
- package/dist/cdn/ILIE6QFA.js +0 -4
- package/dist/cdn/ILMEI5LD.js +0 -4
- package/dist/cdn/ILTMYUUZ.js +0 -4
- package/dist/cdn/IMQ6HAFR.js +0 -4
- package/dist/cdn/INVHF7G7.js +0 -4
- package/dist/cdn/IPTZGJCT.js +0 -4
- package/dist/cdn/IQ47DLDH.js +0 -4
- package/dist/cdn/IQRPPVST.js +0 -4
- package/dist/cdn/IR4E4LEO.js +0 -4
- package/dist/cdn/IRA4DYIO.js +0 -4
- package/dist/cdn/IRABZ4OP.js +0 -4
- package/dist/cdn/ISAGH5CE.js +0 -4
- package/dist/cdn/ITAVYQME.js +0 -4
- package/dist/cdn/IUKJ5GEI.js +0 -4
- package/dist/cdn/IV7BOXZL.js +0 -4
- package/dist/cdn/IXALD2MA.js +0 -4
- package/dist/cdn/IZ5JGSSY.js +0 -4
- package/dist/cdn/IZQ3KGO7.js +0 -4
- package/dist/cdn/J26Y2L5U.js +0 -11
- package/dist/cdn/J34MEOR4.js +0 -4
- package/dist/cdn/J47ZRFQH.js +0 -59
- package/dist/cdn/J4FAIITL.js +0 -4
- package/dist/cdn/J4MO4IQQ.js +0 -4
- package/dist/cdn/J6WF45OB.js +0 -4
- package/dist/cdn/J73RO4OV.js +0 -4
- package/dist/cdn/J7XHCVW4.js +0 -4
- package/dist/cdn/JAZILW2R.js +0 -5
- package/dist/cdn/JB3ENKTL.js +0 -4
- package/dist/cdn/JBMSYZVD.js +0 -4
- package/dist/cdn/JBZ4HBCN.js +0 -4
- package/dist/cdn/JCZ437MU.js +0 -4
- package/dist/cdn/JEFGO4E4.js +0 -4
- package/dist/cdn/JEVUOWD2.js +0 -4
- package/dist/cdn/JH4UKZRB.js +0 -4
- package/dist/cdn/JHL3QGW4.js +0 -4
- package/dist/cdn/JHPSCGRC.js +0 -4
- package/dist/cdn/JI6HCGTQ.js +0 -4
- package/dist/cdn/JIL5QQBW.js +0 -4
- package/dist/cdn/JJF3RDPN.js +0 -4
- package/dist/cdn/JL5A3YJU.js +0 -4
- package/dist/cdn/JLENAFLR.js +0 -4
- package/dist/cdn/JMZRM6R6.js +0 -4
- package/dist/cdn/JNEIZY2U.js +0 -4
- package/dist/cdn/JQTKPLDD.js +0 -4
- package/dist/cdn/JS2VPZSN.js +0 -4
- package/dist/cdn/JTYAULSW.js +0 -4
- package/dist/cdn/JU3D6NOP.js +0 -4
- package/dist/cdn/JVAN2D7W.js +0 -4
- package/dist/cdn/JW4YPBBW.js +0 -4
- package/dist/cdn/JZ3CIROQ.js +0 -4
- package/dist/cdn/JZ64DH3D.js +0 -4
- package/dist/cdn/K27NV4NO.js +0 -4
- package/dist/cdn/K2FYHFLU.js +0 -4
- package/dist/cdn/K3B2SE2M.js +0 -4
- package/dist/cdn/K7FNMFCH.js +0 -4
- package/dist/cdn/KASBFUNC.js +0 -4
- package/dist/cdn/KBIODLMG.js +0 -4
- package/dist/cdn/KBNZPJPC.js +0 -9
- package/dist/cdn/KHJQ7XAM.js +0 -4
- package/dist/cdn/KIM3TILY.js +0 -4
- package/dist/cdn/KIQ7YNWA.js +0 -4
- package/dist/cdn/KJH76C5Y.js +0 -4
- package/dist/cdn/KKFNXYJG.js +0 -4
- package/dist/cdn/KKXAE3HF.js +0 -4
- package/dist/cdn/KMZOD7RO.js +0 -4
- package/dist/cdn/KOKSSANF.js +0 -4
- package/dist/cdn/KOZUOY47.js +0 -4
- package/dist/cdn/KQBRXRAI.js +0 -4
- package/dist/cdn/KR5CLDX2.js +0 -4
- package/dist/cdn/KRNEI3DZ.js +0 -4
- package/dist/cdn/KRXRSU3H.js +0 -4
- package/dist/cdn/KRXSA3RV.js +0 -4
- package/dist/cdn/KSMQIH5W.js +0 -4
- package/dist/cdn/KSRJURLC.js +0 -4
- package/dist/cdn/KUDVUAVR.js +0 -4
- package/dist/cdn/KUKSQ6TA.js +0 -4
- package/dist/cdn/KVLET2AV.js +0 -4
- package/dist/cdn/KW2EAQWD.js +0 -4
- package/dist/cdn/KX43IOJW.js +0 -4
- package/dist/cdn/KXCYPDHA.js +0 -4
- package/dist/cdn/KZU2O5VT.js +0 -4
- package/dist/cdn/L24VZ6UU.js +0 -4
- package/dist/cdn/L2GPB6V6.js +0 -4
- package/dist/cdn/L4K7HCCD.js +0 -4
- package/dist/cdn/L53S2W6S.js +0 -4
- package/dist/cdn/L67S6RC4.js +0 -4
- package/dist/cdn/LBCLK2BY.js +0 -4
- package/dist/cdn/LDJLLGVM.js +0 -4
- package/dist/cdn/LFJC5J5Y.js +0 -4
- package/dist/cdn/LGZ4BBTR.js +0 -4
- package/dist/cdn/LH3OFSNJ.js +0 -4
- package/dist/cdn/LHF3YAZ3.js +0 -4
- package/dist/cdn/LHH7E35I.js +0 -4
- package/dist/cdn/LIWPA2JA.js +0 -4
- package/dist/cdn/LJKSBPD7.js +0 -4
- package/dist/cdn/LJLOOVNX.js +0 -4
- package/dist/cdn/LMFBW6HP.js +0 -4
- package/dist/cdn/LNIXP42F.js +0 -5
- package/dist/cdn/LOGSBEBG.js +0 -4
- package/dist/cdn/LOI6AP2L.js +0 -4
- package/dist/cdn/LQJP74FK.js +0 -4
- package/dist/cdn/LRFRVVQM.js +0 -4
- package/dist/cdn/LSDJBKTY.js +0 -4
- package/dist/cdn/LVQTKOE7.js +0 -4
- package/dist/cdn/LVSKGIUA.js +0 -4
- package/dist/cdn/LW3O3MHT.js +0 -4
- package/dist/cdn/LY6K4S7K.js +0 -4
- package/dist/cdn/LYA5KHUS.js +0 -4
- package/dist/cdn/LYDJCDIR.js +0 -4
- package/dist/cdn/LYXW2ERM.js +0 -4
- package/dist/cdn/M24O7JJC.js +0 -4
- package/dist/cdn/M27HAAFH.js +0 -4
- package/dist/cdn/M2JNDVMT.js +0 -4
- package/dist/cdn/M3E2GN4N.js +0 -4
- package/dist/cdn/M3QF52LN.js +0 -4
- package/dist/cdn/M4XOS74U.js +0 -4
- package/dist/cdn/M6AQT6PA.js +0 -4
- package/dist/cdn/MALGQITH.js +0 -4
- package/dist/cdn/MFKIHX3P.js +0 -4
- package/dist/cdn/MGOBIIOI.js +0 -4
- package/dist/cdn/MJUESNI4.js +0 -4
- package/dist/cdn/MKK2NQCN.js +0 -4
- package/dist/cdn/MPBBAD37.js +0 -4
- package/dist/cdn/MPELJBG7.js +0 -4
- package/dist/cdn/MPJ4GLWX.js +0 -4
- package/dist/cdn/MPXPDG7W.js +0 -4
- package/dist/cdn/MS4IRTNW.js +0 -4
- package/dist/cdn/MSDEW7SL.js +0 -4
- package/dist/cdn/MTUBGXVE.js +0 -4
- package/dist/cdn/MU6CXZ4H.js +0 -4
- package/dist/cdn/MUPR2FPB.js +0 -4
- package/dist/cdn/MUVSPBKH.js +0 -4
- package/dist/cdn/MV2KNQ2R.js +0 -4
- package/dist/cdn/MVG3YJUR.js +0 -4
- package/dist/cdn/MVYS4CCX.js +0 -4
- package/dist/cdn/MWM4ZYUO.js +0 -4
- package/dist/cdn/MWTACX7J.js +0 -4
- package/dist/cdn/MX4VIMA6.js +0 -4
- package/dist/cdn/MXZOFLUR.js +0 -4
- package/dist/cdn/MYIZIMIR.js +0 -4
- package/dist/cdn/MYOA2NF5.js +0 -4
- package/dist/cdn/N45AEAEN.js +0 -4
- package/dist/cdn/N45UL2RD.js +0 -4
- package/dist/cdn/N6PGWLKD.js +0 -4
- package/dist/cdn/N7LBZ3YU.js +0 -4
- package/dist/cdn/NALCR66P.js +0 -4
- package/dist/cdn/ND5XVZTS.js +0 -4
- package/dist/cdn/NEIUNGIQ.js +0 -4
- package/dist/cdn/NEPWG25G.js +0 -4
- package/dist/cdn/NGL76I4M.js +0 -4
- package/dist/cdn/NHQZPC43.js +0 -4
- package/dist/cdn/NIBPD7KF.js +0 -4
- package/dist/cdn/NIJASVND.js +0 -4
- package/dist/cdn/NJSAVKLM.js +0 -4
- package/dist/cdn/NKQ2NTIF.js +0 -4
- package/dist/cdn/NLDS55Z6.js +0 -4
- package/dist/cdn/NM4UNG4Z.js +0 -4
- package/dist/cdn/NNFQXS7O.js +0 -4
- package/dist/cdn/NNLO7U4H.js +0 -4
- package/dist/cdn/NNUESQOT.js +0 -4
- package/dist/cdn/NOWB4J3U.js +0 -4
- package/dist/cdn/NOXGUFKH.js +0 -4
- package/dist/cdn/NPD5BUFL.js +0 -5
- package/dist/cdn/NQXXITZQ.js +0 -4
- package/dist/cdn/NR23MVX7.js +0 -4
- package/dist/cdn/NRXDLT7F.js +0 -4
- package/dist/cdn/NRXFJQEO.js +0 -4
- package/dist/cdn/NSDBYZO7.js +0 -4
- package/dist/cdn/NSTGURPQ.js +0 -4
- package/dist/cdn/NTNQAFYC.js +0 -4
- package/dist/cdn/NXSJSQNS.js +0 -4
- package/dist/cdn/NXYHX7YD.js +0 -4
- package/dist/cdn/NZVH47PB.js +0 -4
- package/dist/cdn/O44CCXIX.js +0 -4
- package/dist/cdn/O5A2RC3I.js +0 -6
- package/dist/cdn/O5E523H4.js +0 -4
- package/dist/cdn/OBPYHV4W.js +0 -4
- package/dist/cdn/OCANT5R5.js +0 -4
- package/dist/cdn/ODMJP6CN.js +0 -4
- package/dist/cdn/OEO7HYAX.js +0 -4
- package/dist/cdn/OHZVN2ZU.js +0 -4
- package/dist/cdn/OIMLIJMX.js +0 -4
- package/dist/cdn/OKMDNJUS.js +0 -4
- package/dist/cdn/OL4CIOZI.js +0 -4
- package/dist/cdn/OLYOHXZP.js +0 -4
- package/dist/cdn/ONXENFGI.js +0 -4
- package/dist/cdn/OQIANWBN.js +0 -4
- package/dist/cdn/OTUYMCHB.js +0 -4
- package/dist/cdn/OUQSMXWQ.js +0 -4
- package/dist/cdn/OWIK7O7G.js +0 -4
- package/dist/cdn/OX2MA6AN.js +0 -4
- package/dist/cdn/OZ26OULQ.js +0 -4
- package/dist/cdn/P4WONV35.js +0 -4
- package/dist/cdn/P5BDTGGV.js +0 -4
- package/dist/cdn/PADTFCDR.js +0 -4
- package/dist/cdn/PBAAKFCJ.js +0 -4
- package/dist/cdn/PBYIYO7Z.js +0 -4
- package/dist/cdn/PDSXONSE.js +0 -4
- package/dist/cdn/PE5NDV6A.js +0 -4
- package/dist/cdn/PEKNYMXT.js +0 -4
- package/dist/cdn/PFZSO72C.js +0 -4
- package/dist/cdn/PJ22N7I7.js +0 -4
- package/dist/cdn/PJNY4HLU.js +0 -4
- package/dist/cdn/PLPIPTPK.js +0 -4
- package/dist/cdn/PM3S5QLB.js +0 -4
- package/dist/cdn/PMNA2NEV.js +0 -4
- package/dist/cdn/PR2322OK.js +0 -4
- package/dist/cdn/PRQNOXFH.js +0 -4
- package/dist/cdn/PSBGGKKO.js +0 -4
- package/dist/cdn/PTD3UBBF.js +0 -4
- package/dist/cdn/PVJXV66W.js +0 -4
- package/dist/cdn/PVM3XCLC.js +0 -4
- package/dist/cdn/PXAKC74D.js +0 -4
- package/dist/cdn/Q4BPZUWZ.js +0 -4
- package/dist/cdn/Q5GTXLPT.js +0 -4
- package/dist/cdn/Q5GUP3NK.js +0 -4
- package/dist/cdn/Q73M6LXZ.js +0 -4
- package/dist/cdn/QAEBWZEO.js +0 -4
- package/dist/cdn/QAUJWT5W.js +0 -4
- package/dist/cdn/QB7LMHTS.js +0 -41
- package/dist/cdn/QBPAFJ6H.js +0 -4
- package/dist/cdn/QDL6NDAZ.js +0 -4
- package/dist/cdn/QE6ZB4DV.js +0 -4
- package/dist/cdn/QEQYE4OU.js +0 -4
- package/dist/cdn/QFP2KR7D.js +0 -4
- package/dist/cdn/QK355EXM.js +0 -4
- package/dist/cdn/QLEVHKFL.js +0 -4
- package/dist/cdn/QLLXIZHX.js +0 -4
- package/dist/cdn/QLXHJIHE.js +0 -4
- package/dist/cdn/QMG6VWOF.js +0 -4
- package/dist/cdn/QMLJZK6C.js +0 -4
- package/dist/cdn/QNU2GFYJ.js +0 -4
- package/dist/cdn/QPOY22HV.js +0 -4
- package/dist/cdn/QTYZIMZJ.js +0 -4
- package/dist/cdn/QUBTTKL6.js +0 -4
- package/dist/cdn/QYG3IMYN.js +0 -4
- package/dist/cdn/R27Y2MBP.js +0 -4
- package/dist/cdn/R4NA6IVJ.js +0 -4
- package/dist/cdn/R5PJPLKJ.js +0 -4
- package/dist/cdn/R6FNXN22.js +0 -4
- package/dist/cdn/R6R2TYD7.js +0 -4
- package/dist/cdn/R6ZXBXUG.js +0 -4
- package/dist/cdn/RBUN6X7B.js +0 -4
- package/dist/cdn/RC4FO645.js +0 -4
- package/dist/cdn/RC7U3ZMI.js +0 -4
- package/dist/cdn/RFYEKQUQ.js +0 -4
- package/dist/cdn/RG4XGYDL.js +0 -4
- package/dist/cdn/RIEODRHG.js +0 -4
- package/dist/cdn/RKB5AP74.js +0 -4
- package/dist/cdn/RLTUXASF.js +0 -4
- package/dist/cdn/RNL2NKRZ.js +0 -3
- package/dist/cdn/RNTD23GY.js +0 -4
- package/dist/cdn/RO3KVBFL.js +0 -4
- package/dist/cdn/RR5FDWVH.js +0 -4
- package/dist/cdn/RSQDZTTS.js +0 -4
- package/dist/cdn/RU2KDG3S.js +0 -4
- package/dist/cdn/RUFOZ77U.js +0 -4
- package/dist/cdn/RVYDHKXV.js +0 -4
- package/dist/cdn/RY4T3OWL.js +0 -4
- package/dist/cdn/RZECFRPC.js +0 -4
- package/dist/cdn/RZY66RLZ.js +0 -9
- package/dist/cdn/S2EXZ2W4.js +0 -4
- package/dist/cdn/S322Q3SF.js +0 -4
- package/dist/cdn/S35OOMVW.js +0 -4
- package/dist/cdn/S4WANP7F.js +0 -4
- package/dist/cdn/S5S4V6X6.js +0 -4
- package/dist/cdn/S7Q2MNVW.js +0 -7
- package/dist/cdn/SB32CBUF.js +0 -4
- package/dist/cdn/SDE65YTC.js +0 -4
- package/dist/cdn/SE4FUEFV.js +0 -4
- package/dist/cdn/SE6EWDID.js +0 -4
- package/dist/cdn/SF2NMRKU.js +0 -4
- package/dist/cdn/SHAJKIMU.js +0 -4
- package/dist/cdn/SI7PBZ2U.js +0 -4
- package/dist/cdn/SIUQPBMT.js +0 -4
- package/dist/cdn/SM6BPU7Y.js +0 -4
- package/dist/cdn/SQAY7J5B.js +0 -4
- package/dist/cdn/SQC725UO.js +0 -4
- package/dist/cdn/SU7XZNL6.js +0 -4
- package/dist/cdn/SUH5H7DP.js +0 -4
- package/dist/cdn/SVQJXXDJ.js +0 -4
- package/dist/cdn/SWCG5UXY.js +0 -4
- package/dist/cdn/SWO6QUCL.js +0 -4
- package/dist/cdn/SWTE554V.js +0 -4
- package/dist/cdn/SXLNAEHW.js +0 -4
- package/dist/cdn/SXNGV7VS.js +0 -4
- package/dist/cdn/SZACEJXV.js +0 -4
- package/dist/cdn/TADTJN3Y.js +0 -4
- package/dist/cdn/TAY7Y33M.js +0 -4
- package/dist/cdn/TBCGNJLK.js +0 -4
- package/dist/cdn/TDV4L3VH.js +0 -4
- package/dist/cdn/TF2YANBZ.js +0 -4
- package/dist/cdn/TISKO2UW.js +0 -4
- package/dist/cdn/TJ7VPD35.js +0 -4
- package/dist/cdn/TK4QHIMU.js +0 -4
- package/dist/cdn/TKZBG4SQ.js +0 -4
- package/dist/cdn/TL5TU5L6.js +0 -4
- package/dist/cdn/TLKKDIBT.js +0 -4
- package/dist/cdn/TLQ72PAM.js +0 -4
- package/dist/cdn/TMRPYJAC.js +0 -4
- package/dist/cdn/TNYFVJMV.js +0 -4
- package/dist/cdn/TS2D2GHV.js +0 -4
- package/dist/cdn/TT3YFDZ4.js +0 -4
- package/dist/cdn/TT56F73N.js +0 -4
- package/dist/cdn/TUOQI7SC.js +0 -4
- package/dist/cdn/TVAHP7XD.js +0 -4
- package/dist/cdn/TVG6Y42W.js +0 -4
- package/dist/cdn/TWC6VN6P.js +0 -4
- package/dist/cdn/TWZIYLHQ.js +0 -4
- package/dist/cdn/TWZZT45A.js +0 -4
- package/dist/cdn/TXE5OKIH.js +0 -4
- package/dist/cdn/TXKOU5WB.js +0 -4
- package/dist/cdn/TZ4TYGLQ.js +0 -4
- package/dist/cdn/U27OD74C.js +0 -4
- package/dist/cdn/U4EISUXN.js +0 -4
- package/dist/cdn/U4M5WTTD.js +0 -4
- package/dist/cdn/U77S2BXC.js +0 -4
- package/dist/cdn/UBPYZGTK.js +0 -4
- package/dist/cdn/UCQDL54G.js +0 -4
- package/dist/cdn/UF57VVKR.js +0 -4
- package/dist/cdn/UFFWS6VN.js +0 -4
- package/dist/cdn/UHO3H62L.js +0 -4
- package/dist/cdn/UJV6CUX4.js +0 -4
- package/dist/cdn/UKSBYZ6H.js +0 -4
- package/dist/cdn/UKTJNOUZ.js +0 -4
- package/dist/cdn/ULSLP4M7.js +0 -4
- package/dist/cdn/UNYODHE3.js +0 -4
- package/dist/cdn/UQG4ESRI.js +0 -4
- package/dist/cdn/UQT2VLGY.js +0 -4
- package/dist/cdn/US5GE3PQ.js +0 -4
- package/dist/cdn/USAQEANV.js +0 -4
- package/dist/cdn/UTOKNEIB.js +0 -4
- package/dist/cdn/UVDYSZAX.js +0 -5
- package/dist/cdn/UWL4F6UG.js +0 -4
- package/dist/cdn/UWPLXXC3.js +0 -4
- package/dist/cdn/UX4Y3ZJG.js +0 -4
- package/dist/cdn/UXL67J66.js +0 -4
- package/dist/cdn/UXTMVL7J.js +0 -4
- package/dist/cdn/UYJXAFWE.js +0 -4
- package/dist/cdn/UZ3IJ65K.js +0 -4
- package/dist/cdn/V33MEORM.js +0 -4
- package/dist/cdn/V4KDHZDI.js +0 -4
- package/dist/cdn/V4N27HOA.js +0 -4
- package/dist/cdn/V4PCU25U.js +0 -4
- package/dist/cdn/V7DNBFRG.js +0 -4
- package/dist/cdn/V7EH6OWO.js +0 -4
- package/dist/cdn/V7NX2SP6.js +0 -4
- package/dist/cdn/V7R7M476.js +0 -4
- package/dist/cdn/V7RLT42P.js +0 -4
- package/dist/cdn/VBFGXUK6.js +0 -25
- package/dist/cdn/VCJA4FXQ.js +0 -4
- package/dist/cdn/VCZTI4ZF.js +0 -4
- package/dist/cdn/VENYNGKX.js +0 -4
- package/dist/cdn/VHP7W6LJ.js +0 -4
- package/dist/cdn/VKPGBFEB.js +0 -4
- package/dist/cdn/VOCE3CNE.js +0 -4
- package/dist/cdn/VPLRS2YG.js +0 -4
- package/dist/cdn/VR6SKTCX.js +0 -4
- package/dist/cdn/VRWWET37.js +0 -4
- package/dist/cdn/VSIXSKMX.js +0 -4
- package/dist/cdn/VSOFTUTE.js +0 -4
- package/dist/cdn/VUNNXPLR.js +0 -4
- package/dist/cdn/VX4WEXVX.js +0 -4
- package/dist/cdn/W22HUQII.js +0 -4
- package/dist/cdn/W3PV7MPI.js +0 -4
- package/dist/cdn/W4XYSBQN.js +0 -4
- package/dist/cdn/W7FNA6IQ.js +0 -4
- package/dist/cdn/WAG4YT26.js +0 -4
- package/dist/cdn/WBDEL33S.js +0 -4
- package/dist/cdn/WC6ZNAB6.js +0 -4
- package/dist/cdn/WCWQ2G47.js +0 -4
- package/dist/cdn/WEAHYH26.js +0 -4
- package/dist/cdn/WEJAT5YC.js +0 -4
- package/dist/cdn/WG3R35IM.js +0 -4
- package/dist/cdn/WG3SJSSN.js +0 -4
- package/dist/cdn/WGMGDXJV.js +0 -5
- package/dist/cdn/WHOLVGJH.js +0 -4
- package/dist/cdn/WIZK3XVG.js +0 -4
- package/dist/cdn/WLDUXKL2.js +0 -4
- package/dist/cdn/WM4DJSRD.js +0 -52
- package/dist/cdn/WNE2Z3QS.js +0 -4
- package/dist/cdn/WNJARGP2.js +0 -4
- package/dist/cdn/WQELM6PC.js +0 -4
- package/dist/cdn/WQG3JV2O.js +0 -4
- package/dist/cdn/WR4B4LAC.js +0 -4
- package/dist/cdn/WREHXWHG.js +0 -4
- package/dist/cdn/WRHVUBRT.js +0 -4
- package/dist/cdn/WRNTSGB6.js +0 -4
- package/dist/cdn/WSO46WAP.js +0 -4
- package/dist/cdn/WUR6Q4IG.js +0 -4
- package/dist/cdn/WXWZZCY6.js +0 -4
- package/dist/cdn/WYEKEQJY.js +0 -4
- package/dist/cdn/X2V2M6NF.js +0 -4
- package/dist/cdn/X4EQWHMY.js +0 -4
- package/dist/cdn/X4LABOXD.js +0 -4
- package/dist/cdn/X4TEV52S.js +0 -4
- package/dist/cdn/X52BNE52.js +0 -4
- package/dist/cdn/X5BF3EP6.js +0 -4
- package/dist/cdn/X7MEWEGL.js +0 -4
- package/dist/cdn/XAYJNIW4.js +0 -4
- package/dist/cdn/XCNR4QF6.js +0 -4
- package/dist/cdn/XEMFDH2G.js +0 -4
- package/dist/cdn/XGGCJGFP.js +0 -4
- package/dist/cdn/XHCTJXAY.js +0 -6
- package/dist/cdn/XHEGZ2AY.js +0 -4
- package/dist/cdn/XIAQJTRI.js +0 -4
- package/dist/cdn/XIAWMYLG.js +0 -4
- package/dist/cdn/XJ37NIVW.js +0 -4
- package/dist/cdn/XJCBSBSE.js +0 -4
- package/dist/cdn/XOMITQJY.js +0 -4
- package/dist/cdn/XOUOGPY5.js +0 -4
- package/dist/cdn/XPQSYGQL.js +0 -4
- package/dist/cdn/XQVMYMMG.js +0 -4
- package/dist/cdn/XQY6TJ3Y.js +0 -4
- package/dist/cdn/XRVUKL3U.js +0 -4
- package/dist/cdn/XSE5LP6J.js +0 -4
- package/dist/cdn/XWRBIFH2.js +0 -4
- package/dist/cdn/XXMIRJBU.js +0 -4
- package/dist/cdn/XYRBYXJR.js +0 -4
- package/dist/cdn/XZF5QOPE.js +0 -4
- package/dist/cdn/Y3MGWTWR.js +0 -4
- package/dist/cdn/Y3MWBQVV.js +0 -4
- package/dist/cdn/Y5BWRILQ.js +0 -4
- package/dist/cdn/Y6QOFLQG.js +0 -4
- package/dist/cdn/Y7XXY5YP.js +0 -4
- package/dist/cdn/YA263X6O.js +0 -4
- package/dist/cdn/YACBYQXC.js +0 -4
- package/dist/cdn/YAGBIPQY.js +0 -4
- package/dist/cdn/YAPNLFIJ.js +0 -4
- package/dist/cdn/YBLQJN2U.js +0 -4
- package/dist/cdn/YBMFDHS4.js +0 -4
- package/dist/cdn/YC62J7SG.js +0 -4
- package/dist/cdn/YCWBG7NY.js +0 -4
- package/dist/cdn/YDU2WLPR.js +0 -4
- package/dist/cdn/YDZAUN55.js +0 -4
- package/dist/cdn/YEEQBXEG.js +0 -4
- package/dist/cdn/YFX54RG5.js +0 -4
- package/dist/cdn/YI4GIWAG.js +0 -4
- package/dist/cdn/YJKUJIXZ.js +0 -4
- package/dist/cdn/YLWSA6GR.js +0 -5
- package/dist/cdn/YMCUMY5S.js +0 -4
- package/dist/cdn/YMO6SLSB.js +0 -4
- package/dist/cdn/YMPRLDKF.js +0 -4
- package/dist/cdn/YNYBPHNK.js +0 -4
- package/dist/cdn/YOJ2PEQQ.js +0 -4
- package/dist/cdn/YPXULYHU.js +0 -4
- package/dist/cdn/YS2RGEY5.js +0 -4
- package/dist/cdn/YTKNDB73.js +0 -16
- package/dist/cdn/YUCTJDY6.js +0 -4
- package/dist/cdn/YV6KYHD6.js +0 -4
- package/dist/cdn/YVYO2TZO.js +0 -4
- package/dist/cdn/YXRIIARN.js +0 -4
- package/dist/cdn/YYQRWAAF.js +0 -4
- package/dist/cdn/YYZLC34G.js +0 -4
- package/dist/cdn/Z4D3IBKH.js +0 -4
- package/dist/cdn/Z74QVQBO.js +0 -4
- package/dist/cdn/ZARQLEF4.js +0 -4
- package/dist/cdn/ZCGUM3QM.js +0 -4
- package/dist/cdn/ZHD6TJUZ.js +0 -4
- package/dist/cdn/ZJB5LP7P.js +0 -4
- package/dist/cdn/ZMN45P2N.js +0 -4
- package/dist/cdn/ZQ6YZ6PM.js +0 -4
- package/dist/cdn/ZQCVYEFU.js +0 -4
- package/dist/cdn/ZQSKBU7I.js +0 -4
- package/dist/cdn/ZRJRP2QC.js +0 -4
- package/dist/cdn/ZSV65RHN.js +0 -4
- package/dist/cdn/ZTD2XZJP.js +0 -4
- package/dist/cdn/ZW2YM3QF.js +0 -4
- package/dist/cdn/ZX2IY2QC.js +0 -4
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.8/esri/copyright.txt for details.
|
|
3
|
+
v0.8.0 */
|
|
4
|
+
import{e as Q}from"./6YLFXVZ2.js";import{a as W}from"./GWMGML7G.js";import{b as U}from"./P2B5GII6.js";import{a as S,b as G,d as Y,e as O,k as C,l as P}from"./7HRLZ3NN.js";import{a as B}from"./Y2GOZW4V.js";import{e as h}from"./OAV4ZW3J.js";import{b as K,e as v,f as X,g as k}from"./HALASDQP.js";import{F as ee,G as te,a as _,f as p,i as I,q as Z,r as q,s as M,t as j}from"./RX7RKUFG.js";import{e as g,f as T,g as w}from"./7LKI4MAS.js";import{a as y}from"./LFFXVOB2.js";import{a as J}from"./VPU3K637.js";import{b as d,l as c}from"./PVPDWOUB.js";import{d as H,z as R}from"./ZE4MKDL5.js";import{a as f}from"./3PWJPLDP.js";import{d as z}from"./N7E4CXET.js";import{a as V}from"./IPOPVO6A.js";import{a as n}from"./MMWYUPJQ.js";import{h as N}from"./P6HEL5XE.js";import{i as $}from"./BN3ZBJVG.js";import{a as x}from"./RZ2RWSEX.js";function se(e,a){let t=`${V(e).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return a.params=Object.assign({updateDefinition:{}},a.params),a.updateDefinition&&(a.params.updateDefinition=a.updateDefinition),N(t,a)}var re={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function ie(e,a){let t=Object.assign({},e);t.typeKeywords=d(t.typeKeywords,t.isDiscussable);let s=new c(S()),o=s.entityToStore(t,n(re));o=await T(o,a);let r=s.storeToEntity(o,{}),i=await h(r,a);return r.entitySettingsId=i.id,r.discussionSettings=i.settings.discussions,r}async function ne(e,a){let t=await z(e.id,a),s={item:t};e.typeKeywords=d(e.typeKeywords,e.isDiscussable);let r=new c(S()).entityToStore(e,s),i=U(e),l=x(e,"extendedProps.downloads.formats"),b=K(e)&&i!=="createReplica";if(W(e)&&i&&l&&!b){let u=n(e.extendedProps.downloads);f("item.properties.downloads",u,r,!0)}let ae=await w(r,a),D={};if(K(e)){let u=await J(Object.assign(Object.assign({},a),{url:e.url}));if(X(v.EXTRACT,u)!==e.serverExtractCapability){let A=k(v.EXTRACT,u),oe={capabilities:A.capabilities};await se(H(e.url),{authentication:a.authentication,updateDefinition:oe}),D.server=A}else D.server=u}O(a,e.access)&&(B(e._forceUpdate,[!0])&&await R(t.id,a),delete e._forceUpdate,await Y(e,a));let m=G(ae,a,D,e),L=await h(m,a);return m.entitySettingsId=L.id,m.discussionSettings=L.settings.discussions,m}async function de(e,a){let t=Object.assign(Object.assign({},a),{id:e});await y(t)}function ce(e,a){var t;let s=n(e);delete s.downloadFormats;let o=n(s);if(U(o)&&e.downloadFormats){let i=Q(o),l=e.downloadFormats.map(b=>{let E=n(b);return delete E.label,E});i.formats=l,f("extendedProps.downloads",i,o,!0)}return o.extent=((t=e.location)===null||t===void 0?void 0:t.extent)||[],o}var xe=Object.freeze({__proto__:null,createContent:ie,updateContent:ne,deleteContent:de,editorToContent:ce});async function le(e,a){let t=Object.assign(Object.assign({},Z),e);t.orgUrlKey=t.orgUrlKey.toLowerCase(),t.slug||(t.slug=_(t.name,t.orgUrlKey)),await p(t,a),t.typeKeywords=I(t.typeKeywords,t.status),t.typeKeywords=d(t.typeKeywords,t.isDiscussable);let s=new c(j()),o=s.entityToStore(t,n(q));o=await T(o,a);let r=s.storeToEntity(o,{});return r=M(o,r,a),r}async function pe(e,a){await p(e,a),e.typeKeywords=I(e.typeKeywords,e.status),e.typeKeywords=d(e.typeKeywords,e.isDiscussable);let t=await g(e.id,a),s=new c(j()),o=s.entityToStore(e,t),r=await w(o,a),i=s.storeToEntity(r,e);return i=M(t,i,a),i}async function ue(e,a){let t=Object.assign(Object.assign({},a),{id:e});await y(t)}var Ne=Object.freeze({__proto__:null,createProject:le,updateProject:pe,deleteProject:ue}),F="Hub Initiative Template",ye={catalog:{schemaVersion:0},name:"No title provided",permissions:[],tags:[],typeKeywords:[F],schemaVersion:1,features:$,values:{},view:{showMap:!0}},we={item:{type:F,title:"No Title Provided",description:"No Description Provided",snippet:"",tags:[],typeKeywords:[F],properties:{slug:"",schemaVersion:1,previewUrl:""}},data:{recommendedTemplates:[],siteSolutionId:"",view:{showMap:!0}}};async function $e(e,a){let t=Object.assign(Object.assign({},ye),e);t.orgUrlKey=t.orgUrlKey.toLowerCase(),t.slug||(t.slug=_(t.name,t.orgUrlKey)),await p(t,a),t.typeKeywords=d(t.typeKeywords,t.isDiscussable);let s=new c(P()),o=s.entityToStore(t,n(we));o=await T(o,a);let r=s.storeToEntity(o,{});return r=C(o,r,a),r}async function Ve(e,a){var t;await p(e,a),e.typeKeywords=d(e.typeKeywords,e.isDiscussable);let s=await g(e.id,a),o=new c(P()),r=o.entityToStore(e,s),i=await w(r,a),l=o.storeToEntity(i,e);return((t=e.view)===null||t===void 0?void 0:t.showMap)===void 0&&f("view.showMap",!0,e),e=C(s,l,a),l}async function He(e,a){let t=Object.assign(Object.assign({},a),{id:e});await y(t)}function Re(e,a){throw new Error("Template creation is not currently supported from the context of Hub")}async function ze(e,a){await p(e,a),e.typeKeywords=d(e.typeKeywords,e.isDiscussable);let t=await g(e.id,a),s=new c(ee()),o=s.entityToStore(e,t),r=await w(o,a),i=s.storeToEntity(r,e);return e=te(t,i,a),i}function Je(e,a){let t=n(e);return t.orgUrlKey=e.orgUrlKey?e.orgUrlKey:a.urlKey,t.orgUrlKey=t.orgUrlKey.toLowerCase(),t}async function Xe(e,a){let t=Object.assign(Object.assign({},a),{id:e});await y(t)}export{ie as a,ne as b,de as c,ce as d,xe as e,le as f,pe as g,ue as h,Ne as i,ye as j,$e as k,Ve as l,He as m,Re as n,ze as o,Je as p,Xe as q};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.0 */
|
|
4
|
+
var e;(function(a){a.simple="simple",a.informational="informational"})(e||(e={}));var n;(function(a){a.small="s",a.medium="m",a.large="l"})(n||(n={}));var o;(function(a){a.before="before",a.after="after",a.below="below"})(o||(o={}));var t;(function(a){a.none="none",a.icon="icon"})(t||(t={}));var r;(function(a){a.caretUp="caret-up",a.caretDown="caret-down",a.caretDouble="caret-double-horizontal"})(r||(r={}));var i;(function(a){a.dynamic="dynamic",a.static="static",a.itemQuery="itemQuery"})(i||(i={}));export{e as a,o as b,t as c,r as d,i as e};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.0 */
|
|
4
|
+
function i(a,s,t){let p=["params","httpMethod","rawResponse","authentication","hideToken","portal","credentials","maxUrlLength","headers","signal","suppressWarnings","request"],n=Object.assign(Object.assign({params:{}},t),a);return n.params=s.reduce((e,r)=>((a[r]||typeof a[r]=="boolean"||typeof a[r]=="number"&&a[r]===0)&&(e[r]=a[r]),e),n.params),p.reduce((e,r)=>(n[r]&&(e[r]=n[r]),e),{})}export{i as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.8/esri/copyright.txt for details.
|
|
3
|
+
v0.8.0 */
|
|
4
|
+
import{a as m}from"./6PKGLE3L.js";import{c as u,d as T}from"./JDTIWA2N.js";import{e as d}from"./ZSRR5MRF.js";import{b as g}from"./T2JM2O2N.js";async function b(n,o){for(let a=0;a<n.length;a++)await o(n[a],a,n)}function h(n){let o=T(n);if(!o.valid)throw new Error(o.reason);let a=[];for(let e=0;e<o.parts.length;e+=2){let y=u(o.parts[e]);a.push({hubEntityType:y,id:o.parts[e+1]})}return a.reverse()}async function P(n,o,a,e){let y=Date.now(),i={identifier:n,isContained:!1,catalogInfo:{},duration:0};if(!a||a.length===0)return Promise.resolve(i);i.isContained=!0;let E=a.map((t,s,p)=>{let r=s===0,l={id:t.id,hubEntityType:t.hubEntityType,idToFind:r?n:p[s-1].id,entityType:r?g(o):m(p[s-1].hubEntityType)};return t.catalog&&(l.catalog=t.catalog),l});await b(E,async t=>{let s;if(t.catalog)s=d.fromJson(t.catalog,e);else{let r={hubEntityType:t.hubEntityType,prop:"catalog"};s=await d.init(t.id,e,r)}i.catalogInfo[t.id]={id:t.id,hubEntityType:t.hubEntityType,catalog:s.toJson()};let p=await s.contains(t.idToFind,{entityType:t.entityType});p.isContained||(i.isContained=p.isContained,i.reason=`Entity ${t.idToFind} not contained in catalog ${t.id}`)});let c=new Date().getTime();return i.duration=c-y,i}export{b as a,h as b,P as c};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.0 */
|
|
4
|
+
import{e}from"./OMEM774W.js";var r={if:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"}}}}},then:{type:"object",properties:{_metric:{type:"object",required:["value"]}}}},p={if:{type:"object",properties:{_metric:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]}}},then:{type:"object",properties:{_metric:{type:"object",required:["sourceLink"]}}}},o={if:{type:"object",properties:{_metric:{type:"object",properties:{valueType:{enum:["string","date"]}}}}},then:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"string"}}}}},else:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"number"}}}}}},i={if:{type:"object",properties:{_metric:{properties:{type:{const:e.static}}}}},then:{type:"object",properties:{_metric:{properties:{sourceLink:{format:"url"}}}}}};export{r as a,p as b,o as c,i as d};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.0 */
|
|
4
|
+
import{a as Y}from"./FKL4GH65.js";import{a as te,c as De,d as Ce,e as Ie}from"./WQ5KPZTG.js";import"./NX35I2EI.js";import{a as ee}from"./66TWFSTP.js";import{a as J}from"./MP67ZXLX.js";import{a as Z,b as _}from"./2IPRJJQ5.js";import{a as X}from"./IXTXNGCC.js";import b from"./SE3IC3IZ.js";import"./OZPOWRXE.js";import a from"./IVV63KTV.js";import"./Y2DSR76S.js";import"./YWQNI2SV.js";import{a as $}from"./POLAN22M.js";import{b as ye}from"./R7BCE4T2.js";import{b as de}from"./HNYQNLDB.js";import{b as be}from"./WUTT4RUW.js";import"./DHGDUNNH.js";import{h as me}from"./VE7GIRSC.js";import"./VRC375KY.js";import"./LAIR3OSC.js";import"./VEPZUNMN.js";import"./LAAP4I6C.js";import"./HEZJ7DOK.js";import{b as B}from"./PYHVDSWV.js";import"./QU3LQ375.js";import"./SP4XMQ4Y.js";import"./X7G3DS3P.js";import"./PUEDNR2C.js";import"./B3AYYBQA.js";import"./5IHGOM26.js";import{h as ce}from"./APYYORGL.js";import"./KUTLSXHF.js";import"./5J7VDQC4.js";import"./PLHL5UFC.js";import"./BIWTZJUY.js";import"./WNFLKDZG.js";import"./RDFT5USS.js";import{a as V}from"./FEUZVOHT.js";import{a as k}from"./AFSZKCK2.js";import{c as U,g as Pe,j as ie}from"./CQAK4TGZ.js";import"./DDVSAGAS.js";import{a as h}from"./CA3VX2WP.js";import"./XP4K6N4W.js";import{a as j}from"./MGARNSGE.js";import"./MAZ3SFCT.js";import"./SXYKSNPO.js";import{b as n,c as A,d as L,e as d,h as F,i as G}from"./LGLLAWT2.js";import"./7VB7A2H4.js";import"./7HRLZ3NN.js";import"./Y2GOZW4V.js";import"./OAV4ZW3J.js";import"./6AQD55X5.js";import"./JD6TZRNW.js";import"./LJBBHLD3.js";import"./M5OURWZN.js";import"./HALASDQP.js";import{O as ge}from"./X6J4TYWF.js";import"./3JNAT4SP.js";import"./YAUUDO4N.js";import"./RXPRTPXL.js";import"./VGDK25FG.js";import"./RX7RKUFG.js";import"./T2JM2O2N.js";import"./7LKI4MAS.js";import"./LFFXVOB2.js";import"./2Q7N3VTN.js";import"./DFHZ77QH.js";import"./L575FMMH.js";import"./WY2JMGND.js";import"./7YRPD5M7.js";import"./VPU3K637.js";import"./ZAX2GCPA.js";import"./T423MOSD.js";import"./OY2SC4S6.js";import"./S5OYZGMG.js";import"./UU3DVVP3.js";import"./PUASWADS.js";import"./XOKSVX25.js";import"./QOWEAYBP.js";import"./WJVVBPCR.js";import"./TO7PWQSH.js";import"./BQF2QL22.js";import{a as q,f as N}from"./PVPDWOUB.js";import{d as K}from"./ZD76WYVI.js";import"./MOTZU7NR.js";import{c as he,g as ue,i as z,o as pe}from"./FYP25KOE.js";import"./FCUEWYTZ.js";import{h as le}from"./KFCEEDPL.js";import"./4SZNI4MP.js";import"./RKJUGWWT.js";import"./YEAHCK6W.js";import"./EFGZAV2T.js";import"./CSE7FAQ3.js";import"./EJJQ2UK2.js";import"./ZE4MKDL5.js";import"./3PWJPLDP.js";import"./FRQRCEIH.js";import"./JEOUKTVK.js";import"./CO4G47BQ.js";import"./5CWBXLGB.js";import"./BNAKZQZI.js";import"./373LXB3P.js";import"./N7E4CXET.js";import"./BXV3JSX6.js";import"./A6WF23BV.js";import"./XR5YURZB.js";import"./OOVSD2A7.js";import"./IPOPVO6A.js";import"./MMWYUPJQ.js";import"./P6HEL5XE.js";import"./7X4LS3TV.js";import{o as oe,y as re}from"./BN3ZBJVG.js";import"./YD2WDSSU.js";import"./YJCARB73.js";import"./E6XMJ525.js";import"./RZ2RWSEX.js";import"./BDXBURUK.js";export default $arcgis.t(([,{n:fe,o:ve,s:W,u:we},Q])=>{var Fe='.sc-arcgis-hub-discussions-h{display:block;max-height:100%;overflow:auto;background-color:var(--calcite-color-foreground-1);--arcgis-hub-layout-list-gap:0rem}calcite-panel.sc-arcgis-hub-discussions{height:max-content}section.sc-arcgis-hub-discussions{margin-top:1rem;margin-bottom:1rem;margin-left:0.75rem;margin-right:0.75rem;display:grid;gap:0.75rem;border-radius:0.25rem;padding:0.75rem;--tw-shadow:0 2px 8px 0 rgba(0, 0, 0, 0.12);--tw-shadow-colored:0 2px 8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}header.sc-arcgis-hub-discussions{margin:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold)}p.sc-arcgis-hub-discussions{margin:0px;font-size:var(--calcite-font-size-0);line-height:1.375rem}section.sc-arcgis-hub-discussions calcite-button.sc-arcgis-hub-discussions{width:-moz-fit-content;width:fit-content}calcite-button[icon-start="speech-bubble-plus"].sc-arcgis-hub-discussions{margin-left:1rem;margin-right:1rem;margin-bottom:0.5rem;display:block}calcite-button[icon-start="bell"].sc-arcgis-hub-discussions{margin-left:1rem;margin-right:1rem;margin-bottom:1.5rem;display:block}arcgis-hub-discussions-blocked-notice.sc-arcgis-hub-discussions{margin-left:1rem;margin-right:1rem;margin-bottom:1.5rem}calcite-notice[slot="list-before"].sc-arcgis-hub-discussions{margin-left:1rem;margin-right:1rem;margin-bottom:1.5rem}.empty.sc-arcgis-hub-discussions arcgis-hub-discussions-blocked-notice.sc-arcgis-hub-discussions{margin:0px;margin-top:0.25rem}.empty.sc-arcgis-hub-discussions calcite-notice.sc-arcgis-hub-discussions{width:100%}arcgis-hub-discussions-thread.sc-arcgis-hub-discussions{overflow:hidden;padding-top:1rem;padding-bottom:1rem}arcgis-hub-discussions-post-list.sc-arcgis-hub-discussions{background-color:var(--calcite-color-foreground-1);padding-top:1.5rem}arcgis-hub-discussions-post-list.location-list.sc-arcgis-hub-discussions{padding-top:0.25rem;padding-bottom:0.25rem}[data-element="discussions-options-panel"].sc-arcgis-hub-discussions>div.sc-arcgis-hub-discussions{background-color:var(--calcite-color-foreground-1);padding:1rem}[data-element="discussions-options-panel"].sc-arcgis-hub-discussions>div.sc-arcgis-hub-discussions div.sc-arcgis-hub-discussions{display:flex;justify-content:flex-end;padding-top:0.5rem}[data-element="discussions-options-panel"].sc-arcgis-hub-discussions>div.sc-arcgis-hub-discussions div.sc-arcgis-hub-discussions+calcite-notice.sc-arcgis-hub-discussions{margin-top:1rem;width:100%}.discussions-options.sc-arcgis-hub-discussions:active .discussions-options-icon.sc-arcgis-hub-discussions{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-go-to.sc-arcgis-hub-discussions:active .discussions-go-to-icon.sc-arcgis-hub-discussions{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}.discussions-back.sc-arcgis-hub-discussions{border-width:0px;border-right-width:1px;border-style:solid;border-right-color:var(--calcite-color-border-3)}.discussions-back.sc-arcgis-hub-discussions:active .discussions-back-icon.sc-arcgis-hub-discussions{--tw-text-opacity:1;color:rgb(21 21 21 / var(--tw-text-opacity))}arcgis-hub-discussions-post-editor[slot="list-before"].sc-arcgis-hub-discussions{margin-top:1.5rem;margin-bottom:1.5rem;margin-left:0.75rem;margin-right:0.75rem}',_e=Fe,se=function(e,t,i,s){var a=arguments.length,o=a<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,i,s);else for(var r=e.length-1;r>=0;r--)(l=e[r])&&(o=(a<3?l(o):a>3?l(t,i,o):l(t,i))||o);return a>3&&o&&Object.defineProperty(t,i,o),o},M=class{constructor(e){G(this,e),this.arcgisHubPostEditorReady=d(this,"arcgisHubPostEditorReady",7),this.arcgisHubGeometryGoTo=d(this,"arcgisHubGeometryGoTo",7),this.arcgisHubDiscussionsFeature=d(this,"arcgisHubDiscussionsFeature",7),this.arcgisHubDiscussionsFeatureDeleted=d(this,"arcgisHubDiscussionsFeatureDeleted",7),this.arcgisHubGeometryFeatureSelect=d(this,"arcgisHubGeometryFeatureSelect",7),this.arcgisHubGeometryFeatureHover=d(this,"arcgisHubGeometryFeatureHover",7),this.arcgisHubGeometryDrawCreate=d(this,"arcgisHubGeometryDrawCreate",7),this.arcgisHubGeometryDrawTypeSelect=d(this,"arcgisHubGeometryDrawTypeSelect",7),this.arcgisHubGeometryDrawEdit=d(this,"arcgisHubGeometryDrawEdit",7),this.arcgisHubGeometryDrawEditCancel=d(this,"arcgisHubGeometryDrawEditCancel",7),this.arcgisHubGeometryDrawReset=d(this,"arcgisHubGeometryDrawReset",7),this.arcgisHubGeometrySelect=d(this,"arcgisHubGeometrySelect",7),this.arcgisHubGeometryDeselect=d(this,"arcgisHubGeometryDeselect",7),this.arcgisHubDiscussionsViewThread=d(this,"arcgisHubDiscussionsViewThread",7),this.arcgisHubDiscussionsDismiss=d(this,"arcgisHubDiscussionsDismiss",7),this.arcgisHubDiscussionsClose=d(this,"arcgisHubDiscussionsClose",7),this.arcgisHubFeatureRemove=d(this,"arcgisHubFeatureRemove",7),this.arcgisHubGeometryClearAll=d(this,"arcgisHubGeometryClearAll",7),this.arcgisAppIdentityStartSignIn=d(this,"arcgisAppIdentityStartSignIn",7),this.hubTelemetry=d(this,"hubTelemetry",7),this.handleSignInClicked=t=>{t.preventDefault(),this.arcgisAppIdentityStartSignIn.emit()},this.discussion=void 0,this.parentId=void 0,this.postId=void 0,this.channelId=void 0,this.locationId=void 0,this.unsavedFeatures=[],this.unsavedRelatedFeatures=[],this.unsavedExistingFeatures=[],this.hasMap=void 0,this.isHub=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this.dismissible=void 0,this.enableGoTo=void 0,this.disableNavigation=void 0,this.entityId=void 0,this.entityType=void 0,this.entity=void 0,this.discussionSettings=void 0,this.threadScrollTarget=void 0,this._context=U(),this.postListProps=void 0,this.threadProps=void 0,this.listScrollTarget=void 0,this._loading=!0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.displayFieldKey=void 0,this.error=null,this.optionsError=null,this.optionsSaving=!1,this.showPostEditor=!1,this.isMobile=void 0,this.showOptions=!1,this.numPostableChannels=null,this.numSubscribableChannels=0,k(this,"handleCheckStatus","handleBackToList","handleBackToThread","handleGeometryGoTo","handleNewPost","renderLoading","renderAddOrCreatePostButton","renderPostEditor","renderThread","renderPostList","renderError","handleDiscussionOptionsClick","handleDiscussionsDownloadClick","handleOptionsBack","checkIsMobile","handleSaveOptions","handleResetOptionsError","handlePostListUpdated","renderRequiresAuth","handleThreadReady","handlePostListReady")}async componentWillLoad(){this.initialize()}componentDidLoad(){this.observe()}connectedCallback(){ie(this),this.observe()}disconnectedCallback(){this.disconnect(),this.disconnectContext()}async loadDependencies(){return this._loading=!0,this.fetchDependencies().then(e=>{Object.assign(this,e),this.threadProps=this.channelId&&this.parentId?{channelId:this.channelId,parentId:this.parentId,postId:this.postId}:null}).catch(e=>{this.error=e}).finally(()=>{this._loading=!1})}async initialize(){this.loadTranslations(),this._context&&this.loadDependencies()}async loadTranslations(){this.intl=await j.loadIntlForComponent(this.element)}async fetchDependencies(){return this._fetchDependencies()}async _fetchDependencies(){var e,t;let[i,s]=await Promise.all([J({isHub:this.isHub},this._context.hubRequestOptions),Q({discussion:this.discussion,entityId:this.entityId,entityType:this.entityType,entity:this.entity,locationId:this.locationId},this._context.hubRequestOptions,!0)]),[{total:a},{total:o}]=await Promise.all([W({allowedChannelIds:(e=s?.discussionSettings)===null||e===void 0?void 0:e.allowedChannelIds,requestOptions:this._context.hubRequestOptions,num:1}),we({allowedChannelIds:(t=s?.discussionSettings)===null||t===void 0?void 0:t.allowedChannelIds,requestOptions:this._context.hubRequestOptions,num:1})]);return Object.assign(Object.assign(Object.assign({},i),s),{numPostableChannels:a,numSubscribableChannels:o})}handleContextChanged(e,t){var i,s;((i=e?.currentUser)===null||i===void 0?void 0:i.username)!==((s=t?.currentUser)===null||s===void 0?void 0:s.username)&&(this.resetState(),this.loadDependencies())}resetState(){this.error=null,this._loading=!1,this.threadScrollTarget=null,this.listScrollTarget=null,this.optionsError=null,this.optionsSaving=!1,this.showPostEditor=!1,this.showOptions=!1,this.entity=void 0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.displayFieldKey=void 0,this.postListProps=null,this.threadProps=null}async handleBackToList(){let{thread:e}=this;this.hubTelemetry.emit(Object.assign(Object.assign({},h.dictionary.category.interaction.action.close.label.thread),{postId:e.postId,parentId:e.parentId,channelId:e.channelId,channelAccess:e.channel?N(e.channel):void 0})),this.threadScrollTarget=null,this.threadProps=null,this.channelId=null,this.parentId=null,this.postId=null,this.arcgisHubDiscussionsViewThread.emit({parentId:null,channelId:null})}observe(){$.addHandler(window.document.body,this.checkIsMobile)}disconnect(){$.removeHandler(window.document.body,this.checkIsMobile)}scrollToTarget(e){this.element.scrollTo({behavior:"smooth",left:e.offsetLeft,top:e.offsetTop})}async scrollToThreadTarget(){var e,t;let i;this.threadScrollTarget==="list"?i=await((e=this.thread)===null||e===void 0?void 0:e.getPostListRef()):this.threadScrollTarget==="editor"&&(i=await((t=this.thread)===null||t===void 0?void 0:t.getPostEditorRef())),i&&(this.threadScrollTarget=null,this.scrollToTarget(i))}async scrollToListTarget(){var e;let t=await((e=this.postListEl)===null||e===void 0?void 0:e.getPostRefByPostId(this.listScrollTarget));t&&(this.listScrollTarget=null,this.scrollToTarget(t))}handleNewPost(){this.hubTelemetry.emit(h.dictionary.category.interaction.action.open.label.editor),this.showPostEditor=!0}handlePostListUpdated(e){let t=e.target,{nextStart:i,start:s,total:a,items:o}=t;this.postListProps={nextStart:i,start:s,total:a,items:o}}handlePostEditorReady(e){let{detail:t}=e;e.stopPropagation(),this.arcgisHubPostEditorReady.emit(t)}handlePostCanceled(e){e.stopPropagation(),this.showPostEditor=!1}handlePostCreate(e){this.arcgisHubDiscussionsFeature.emit({post:e.detail,create:!0})}handleThreadReady(){setTimeout(()=>this.scrollToThreadTarget(),500)}handlePostListReady(){setTimeout(()=>this.scrollToListTarget(),500)}async handlePostDeleted(e){var t,i;let{postListProps:s,threadProps:a}=this,o=({id:l})=>l===e.detail.id;!((t=this.postListProps)===null||t===void 0)&&t.items.find(o)&&(this.postListProps=Object.assign(Object.assign({},s),{items:s.items.filter(l=>!o(l)),nextStart:s.nextStart>-1?s.nextStart-1:s.nextStart,total:s.total-1})),e.detail.id===((i=a?.parent)===null||i===void 0?void 0:i.id)&&(this.threadProps=Object.assign(Object.assign({},a),{parent:null})),this.arcgisHubDiscussionsFeatureDeleted.emit(e.detail)}async handlePostEdited(e){var t,i;let{postListProps:s,threadProps:a}=this,o=({id:l})=>l===e.detail.id;!((t=this.postListProps)===null||t===void 0)&&t.items.find(o)&&(this.postListProps=Object.assign(Object.assign({},s),{items:s.items.map(l=>o(l)?e.detail:l)})),e.detail.id===((i=a?.parent)===null||i===void 0?void 0:i.id)&&(this.threadProps=Object.assign(Object.assign({},a),{parent:e.detail})),this.arcgisHubDiscussionsFeature.emit({post:e.detail,create:!1})}handlePostSelect(e){let{parentId:t,channelId:i,channel:s,channelGroups:a,parent:o,parentCreator:l,parentCreatorOrg:r,scrollTarget:f,postId:b,post:v,postCreator:w,postCreatorOrg:D}=e.detail;Object.assign(this,{parentId:t,channelId:i,threadScrollTarget:f,listScrollTarget:t,postId:b,showPostEditor:!1,threadProps:t?{channelId:i,channel:s,channelGroups:a,parentId:t,parent:o,parentCreator:l,parentCreatorOrg:r,postId:b,post:v,postCreator:w,postCreatorOrg:D}:null}),this.arcgisHubDiscussionsViewThread.emit({parentId:t,channelId:i})}handleBackToThread(){let{thread:{channel:e},threadProps:{postId:t,parentId:i,channelId:s}}=this;this.hubTelemetry.emit(Object.assign(Object.assign({},h.dictionary.category.interaction.action.open.label.thread),{postId:t,parentId:i,channelId:s,channelAccess:e?N(e):void 0})),this.postId=null,this.threadProps=Object.assign(Object.assign({},this.threadProps),{postId:null}),this.arcgisHubDiscussionsViewThread.emit({parentId:i,channelId:s})}handleGeometryGoTo(){let{thread:e}=this;this.arcgisHubGeometryGoTo.emit(e?.parent)}handleGeometryFeatureSelect(e){e.stopPropagation(),this.arcgisHubGeometryFeatureSelect.emit(e.detail)}handleGeometryFeatureHover(e){e.stopPropagation(),this.arcgisHubGeometryFeatureHover.emit(e.detail)}handleGeometryDrawCreate(e){e.stopPropagation(),this.arcgisHubGeometryDrawCreate.emit(e.detail)}handleGeometryDrawTypeSelect(e){e.stopPropagation(),this.arcgisHubGeometryDrawTypeSelect.emit(e.detail)}handleGeometryDrawEdit(e){e.stopPropagation(),this.arcgisHubGeometryDrawEdit.emit(e.detail)}handleGeometryDrawEditCancel(e){e.stopPropagation(),this.arcgisHubGeometryDrawEditCancel.emit()}handleGeometryDrawReset(e){e.stopPropagation(),this.arcgisHubGeometryDrawReset.emit()}handleGeometrySelect(e){e.stopPropagation(),this.arcgisHubGeometrySelect.emit(e.detail)}handleGeometryDeselect(e){e.stopPropagation(),this.arcgisHubGeometryDeselect.emit()}handleFeatureRemove(e){e.stopPropagation(),this.arcgisHubFeatureRemove.emit(e.detail)}handleGeometryClearAll(e){e.stopPropagation(),this.arcgisHubGeometryClearAll.emit()}handleCalcitePanelDismissedChange(e){e.stopPropagation(),this.arcgisHubDiscussionsDismiss.emit()}handleCalcitePanelDismissChange(e){e.stopPropagation(),this.arcgisHubDiscussionsClose.emit()}captureEmptyListImpression(){this.hubTelemetry.emit(h.dictionary.category.interaction.action.viewed.label.empty)}handleCheckStatus(e){e.preventDefault();let t=e.target;this.hubTelemetry.emit(h.dictionary.category.navigation.action.external.label.hubStatus),setTimeout(()=>re(t.href),250)}checkIsMobile(){this._checkIsMobile(globalThis.document.body)}_checkIsMobile(e){this.isMobile=e.clientWidth<768}handleDiscussionOptionsClick(){this.showOptions=!0,this.showPostEditor=!1,this.hubTelemetry.emit(h.dictionary.category.interaction.action.open.label.panel.details.discussionOptions)}async handleDiscussionsDownloadClick(){try{let{size:e,count:t,duration:i}=await ve({entityTitle:this.entity.title,discussion:this.discussion,channels:this.areChannelsConfigured?this.discussionSettings.allowedChannelIds:void 0,requestOptions:this._context.hubRequestOptions});this.hubTelemetry.emit(Object.assign(Object.assign({},h.dictionary.category.interaction.action.download.label.csv.details.export),{size:e,count:t,duration:i,response:h.constants.response.SUCCESS}))}catch{this.hubTelemetry.emit(Object.assign(Object.assign({},h.dictionary.category.interaction.action.download.label.csv.details.export),{response:h.constants.response.FAILURE})),Pe({title:this.intl.t("download.error"),message:"",configuration:{autoClose:!0,autoCloseDuration:"fast",icon:!0,noticeType:"alert",kind:"danger",label:this.intl.t("notice.label")}})}this.discussionOptionsPopoverEl.open=!1}handleOptionsBack(){this.showOptions=!1}async handleSaveOptions(e){this.entity=Object.assign(Object.assign({},this.entity),{typeKeywords:e.detail.typeKeywords}),this.discussionSettings=e.detail.discussionSettings,this.optionsSaving=!1}handleResetOptionsError(){this.optionsError=null}get loading(){return!this.intl||this._loading}get areChannelsConfigured(){var e,t;return!!(!((t=(e=this.discussionSettings)===null||e===void 0?void 0:e.allowedChannelIds)===null||t===void 0)&&t.length)}get discussionSettingsWorkspaceUrl(){return(this.isHub?"":this._context.hubHomeUrl)+K(this.entity.type,this.entityId,"settings-discussions")}get isRtl(){return this.intl.direction==="rtl"}get view(){let{error:e,loading:t,showOptions:i,threadProps:s}=this,a;return e?a=this.renderError:t?a=this.renderLoading:i?a=this.renderOptions:s?a=this.renderThread:a=this.renderPostList,a}get shouldRenderOptions(){let e=!1;return this.dismissible||(e=this.entityType===ue.CONTENT?this.canEditEntity:!1),e}get isDiscussable(){return!!this.entity&&q(this.entity)}get canEditEntity(){return!!this._context.currentUser&&B(this.entity.item,this._context.currentUser)}get hubEntityType(){return ye(this.entityType)}get shouldRenderSubscribe(){var e,t;let i=oe("hub:feature:discussions:subscription",this._context).access;return((e=this._context)===null||e===void 0?void 0:e.currentUser)&&((t=this.postListProps)===null||t===void 0?void 0:t.total)>0&&!this.locationId&&i}renderRequiresAuth(){let{intl:e}=this;if(e)return n("section",{class:"requires-auth"},n("calcite-icon",{icon:"frown",scale:"l"}),n("header",null,e.t("auth.title")),n("p",null,e.t("auth.text")))}renderEmpty(){var e;if(((e=this.postListProps)===null||e===void 0?void 0:e.total)===0&&!this.showPostEditor)return this.deletedDuringSession||this.captureEmptyListImpression(),n("section",{class:"empty",slot:"empty"},n("calcite-icon",{flipRtl:this.isRtl,icon:"speech-bubble",scale:"l"}),n("header",null,this.intl.t("emptyHeading")),n("p",null,this.intl.t("emptyMessage")),this._context.currentUser&&n("calcite-button",{disabled:!this.isDiscussable||!this.numPostableChannels,label:this.intl.t("addPost"),onClick:this.handleNewPost,round:!0,scale:"l"},this.intl.t("addPost")),this.renderNotice())}renderOptions(){let{entity:e,optionsSaving:t,intl:i,optionsError:s}=this;return n("calcite-panel",{"data-element":"discussions-options-panel",description:e.title,disabled:t,heading:i.t("options.heading")},n("calcite-action",{class:"discussions-back",onClick:this.handleOptionsBack,scale:"s",slot:"header-actions-start",text:this.intl.t("back")},n("calcite-icon",{class:"discussions-back-icon",flipRtl:this.isRtl,icon:"chevron-left",scale:"s"})),n("div",null,n("arcgis-hub-discussions-options",{entityId:e.id,entityType:this.hubEntityType,onArcgisHubDiscussionsOptionsEntitySaved:this.handleSaveOptions}),s&&n("calcite-notice",{closable:!0,kind:"danger",onCalciteNoticeClose:this.handleResetOptionsError,open:!0},n("header",{slot:"title"},i.t("options.failure.title")),n("p",{slot:"message"},i.t("options.failure.message")))))}renderPostEditor(){return n(F,null,n("arcgis-hub-discussions-post-editor",{discussion:this.discussion,discussionSettings:this.discussionSettings,entity:this.entity,entityId:this.entityId,entityType:this.entityType,hasMap:this.hasMap,isHub:this.isHub,isMobile:this.isMobile,locationId:this.locationId,showHeader:!0,showLocations:!0,slot:"list-before",unsavedExistingFeatures:this.unsavedExistingFeatures,unsavedFeatures:this.unsavedFeatures,unsavedRelatedFeatures:this.unsavedRelatedFeatures}))}renderAddOrCreatePostButton(){var e;if(((e=this.postListProps)===null||e===void 0?void 0:e.total)===void 0)return null;if(this.postListProps.total)return n(F,null,this._context.currentUser&&n("calcite-button",{appearance:"outline",disabled:!this.isDiscussable||!this.numPostableChannels,iconFlipRtl:"start",iconStart:"speech-bubble-plus",kind:"brand",label:this.intl.t("addPost"),onClick:this.handleNewPost,scale:"l",slot:"list-before",type:"button",width:"auto"},this.intl.t("addPost")),this.renderNotice("list-before"))}renderNotice(e){let t;return this.isDiscussable?this._context.currentUser?this.numPostableChannels||(t=this.renderParticipationUnavailableNotice(e)):t=this.renderSignInNotice(e):t=this.renderBlockedNotice(e),t}renderParticipationUnavailableNotice(e){return n("calcite-notice",{icon:"exclamation-mark-triangle",kind:"warning",open:!0,scale:"m",slot:e},n("div",{slot:"title"},this.intl.t("participationUnavailable.title")),n("div",{slot:"message"},this.intl.t(this.areChannelsConfigured?"participationUnavailable.allowed":"participationUnavailable.any")),this.areChannelsConfigured&&this.canEditEntity&&this._context.hubLicense==="hub-premium"&&n("calcite-link",{href:this.discussionSettingsWorkspaceUrl,slot:"link"},this.intl.t("participationUnavailable.action")))}renderSignInNotice(e){return n("calcite-notice",{icon:"information",kind:"info",open:!0,scale:"m",slot:e},n("div",{slot:"title"},this.intl.t("signIn.title")),n("calcite-link",{onClick:this.handleSignInClicked,slot:"link"},this.intl.t("signIn.action")))}renderBlockedNotice(e){return n("arcgis-hub-discussions-blocked-notice",{slot:e,variant:this.entityType==="group"?_.Group:_.Item})}renderGoToAction(){let{enableGoTo:e,intl:t}=this;if(e)return n("calcite-action",{class:"discussions-go-to",onClick:this.handleGeometryGoTo,slot:"header-actions-end",text:t.t("showFullDiscussion")},n("calcite-icon",{class:"discussions-go-to-icon",icon:"extent",scale:"s"}))}renderSubscribeButton(){return n("arcgis-ref-tooltip",{isSlottedElDisabled:!this.numSubscribableChannels,placement:"top",slot:"list-before",text:this.numSubscribableChannels?"":"No allowed channels are configured or you do not have access to the allowed channels."},n("calcite-button",{appearance:"outline",disabled:!this.numSubscribableChannels,iconFlipRtl:"start",iconStart:"bell",kind:"brand",scale:"l",type:"button",width:"auto"},"Subscribe"))}renderPostList(){let{discussion:e,entity:t,entityId:i,entityType:s,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,showChannelAvatar:r,showChannelName:f,hasMap:b,isHub:v,unsavedFeatures:w,unsavedRelatedFeatures:D,unsavedExistingFeatures:I,showPostEditor:P,locationId:u,intl:g,shouldRenderOptions:T,isMobile:C,dismissible:y,postListProps:c,discussionSettings:m,handlePostListUpdated:O,handlePostListReady:p}=this,R={"location-list":!!u},x=u&&l?l:g.t("list.heading"),E=u?g.t("location.summary"):t.title;return n("calcite-panel",{closable:y,description:E,heading:x},this.renderGoToAction(),n(F,null,n("calcite-action",{class:"discussions-options",ref:S=>{this.discussionOptionsActionEl=S},scale:"m",slot:"header-actions-end",text:g.t("options")},n("calcite-icon",{class:"discussions-options-icon",icon:"ellipsis",scale:"s"})),n("calcite-popover",{autoClose:!0,flipPlacements:["top-end","bottom-end"],offsetDistance:0,overlayPositioning:"absolute",placement:"bottom-end",pointerDisabled:!0,ref:S=>{this.discussionOptionsPopoverEl=S},referenceElement:this.discussionOptionsActionEl},n("calcite-action-group",{layout:"vertical"},n("calcite-action",{alignment:"center",disabled:!c?.total,onClick:this.handleDiscussionsDownloadClick,scale:"m",text:g.t("download"),textEnabled:!0}),T&&n("calcite-action",{alignment:"left",onClick:this.handleDiscussionOptionsClick,scale:"m",text:g.t("settings"),textEnabled:!0})))),n("arcgis-hub-discussions-post-list",{channelIds:m?.allowedChannelIds,class:R,discussion:u?`${e}%?id=%${u}`:`${e}`,discussionSettings:m,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,entity:t,entityId:i,entityType:s,hasMap:b,isHub:v,isMobile:C,items:c?.items,locationId:u,nextStart:c?.nextStart,onArcgisHubDiscussionsPostListReady:p,onArcgisHubDiscussionsPostListUpdated:O,parentIds:!u&&[],ref:S=>{this.postListEl=S},showChannelAvatar:r,showChannelName:f,showLocations:!0,start:c?.start,total:c?.total,unsavedExistingFeatures:I,unsavedFeatures:w,unsavedRelatedFeatures:D},!u&&(P?this.renderPostEditor():this.renderAddOrCreatePostButton()),this.shouldRenderSubscribe&&this.renderSubscribeButton(),this.renderEmpty()))}renderLoading(){return null}renderError(){let{intl:e}=this;return n("section",null,n("calcite-icon",{icon:"frown",scale:"l"}),n("header",null,e.t("error.title")),n("p",null,e.t("error.text")),n("calcite-button",{appearance:"transparent",href:"https://hubstatus.arcgis.com/",kind:"error",onClick:this.handleCheckStatus,round:!0,scale:"l"},e.t("error.button")))}renderThread(){let{hasMap:e,isHub:t,unsavedFeatures:i,unsavedRelatedFeatures:s,unsavedExistingFeatures:a,discussion:o,entity:l,entityId:r,entityType:f,discussionSettings:b,dismissible:v,displayFieldKey:w,displayFieldValid:D,displayFieldValue:I,showChannelAvatar:P,showChannelName:u,intl:g,handleBackToList:T,locationId:C,handleBackToThread:y,handleThreadReady:c,disableNavigation:m,isMobile:O,threadProps:p}=this,R="generic.heading",x="thread.summary",E=T;return p.postId?(R="reply.heading",x="reply.summary",E=y):C&&(R="location.heading"),m&&(R="list.heading"),n("calcite-panel",{closable:v,description:g.t(x),heading:g.t(R)},!m&&n("calcite-action",{class:"discussions-back",onClick:E,scale:"s",slot:"header-actions-start",text:g.t("back")},n("calcite-icon",{class:"discussions-back-icon",icon:"chevron-left",scale:"s"})),this.renderGoToAction(),n("arcgis-hub-discussions-thread",{channel:p.channel,channelGroups:p.channelGroups,channelId:p.channelId,discussion:o,discussionSettings:b,displayFieldKey:w,displayFieldValid:D,displayFieldValue:I,entity:l,entityId:r,entityType:f,hasMap:e,isHub:t,isMobile:O,locationId:C,onArcgisHubDiscussionsThreadReady:c,parent:p.parent,parentCreator:p.parentCreator,parentCreatorOrg:p.parentCreatorOrg,parentId:p.parentId,post:p.post,postCreator:p.postCreator,postCreatorOrg:p.postCreatorOrg,postId:p.postId,ref:S=>{this.thread=S},showChannelAvatar:P,showChannelName:u,showLocations:!0,unsavedExistingFeatures:a,unsavedFeatures:i,unsavedRelatedFeatures:s}))}render(){return n(A,{key:"4c5ceddced294b9fcfb52f0a145681ead3358f62","data-element":"discussions"},this.view())}static get assetsDirs(){return["locales"]}get element(){return L(this)}static get watchers(){return{_context:["handleContextChanged"]}}};se([Z({delay:300})],M.prototype,"fetchDependencies",null);se([ee()],M.prototype,"captureEmptyListImpression",null);se([V({timeout:250})],M.prototype,"checkIsMobile",null);M.style=_e;var ke=':host{left:50%;width:auto;display:var(--display);transform:translate(-50%, 0)}:host([aria-hidden="true"]){display:none}div{border-bottom-right-radius:0.75rem;border-bottom-left-radius:0.75rem;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.75rem;padding-bottom:0.75rem;text-align:center;--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity));background-color:var(--hub-map-outline);font-weight:var(--calcite-font-weight-bold);font-size:var(--calcite-font-size--1)}calcite-button{margin-left:1rem}',Ae=ke,Re=function(e,t,i,s){var a=arguments.length,o=a<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,i,s);else for(var r=e.length-1;r>=0;r--)(l=e[r])&&(o=(a<3?l(o):a>3?l(t,i,o):l(t,i))||o);return a>3&&o&&Object.defineProperty(t,i,o),o},Te="#9747FF",ne=class{constructor(e){G(this,e),this.arcgisHubDrawDone=d(this,"arcgisHubDrawDone",7),this.activeStyles={outline:`.25rem solid ${Te}`,padding:".25rem",outlineOffset:"-.25rem"},this.view=void 0,this.isConnected=void 0,k(this,"handleDone")}async componentWillLoad(){this.intl=await j.loadIntlForComponent(this.el)}connectedCallback(){this._connect()}disconnectedCallback(){this._disconnect()}_connect(){let{view:e,el:t,activeStyles:i}=this,s=a=>e.ui.container.style[a]=i[a];Object.keys(i).forEach(s),e.ui.add(t),setTimeout(()=>{this.isConnected=!0},50)}_disconnect(){let{view:e,activeStyles:t,el:i}=this,s=a=>e.ui.container.style.removeProperty(a);Object.keys(t).forEach(s),e.ui.remove(i),this.isConnected=!1}handleDone(){this.arcgisHubDrawDone.emit()}get hasViewUI(){let{view:e}=this;return!!(e&&e.ui)}get styles(){let{isConnected:e}=this;return{"--display":e?"block":"none","--hub-map-outline":Te}}render(){let{intl:e,styles:t,isConnected:i}=this;return n(A,{key:"2b023c162ad21d0fe3c417be1fc638bb941bf5f7","aria-hidden":i,"data-element":"discussions-map-action-notice",style:t,tabindex:0},n("div",{key:"96e334a01d8b543c2b0ac47d206c1891570ccccb"},n("span",{key:"2c69ca2c4af15538668a1e6bebe6cfa3ef6d02a0"},e.t("adding.notice")),n("calcite-button",{key:"69a05c6a0c339cac3aaa079c11374533cf840042",appearance:"outline-fill",kind:"neutral",onClick:this.handleDone,round:!0,scale:"s"},e.t("adding.action"))))}static get assetsDirs(){return["locales"]}get el(){return L(this)}};Re([V({timeout:100}),Y({when(){return this.hasViewUI&&!this.isConnected}})],ne.prototype,"_connect",null);Re([Y({when(){return this.hasViewUI&&this.isConnected}})],ne.prototype,"_disconnect",null);ne.style=Ae;var Le=":host{display:block;background-color:var(--calcite-color-foreground-1);padding:1rem;padding-bottom:0.5rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}address{margin-bottom:0.125rem;display:grid;font-size:var(--calcite-font-size--1);font-style:normal;line-height:1.25rem;grid-template-columns:minmax(0, max-content) 1rem minmax(0, max-content)}address b{font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}address span{display:flex;justify-content:center;color:var(--calcite-color-text-2)}address arcgis-relative-date{color:var(--calcite-color-text-2)}arcgis-multiline-ellipsis{font-size:var(--calcite-font-size-0);line-height:1.375}calcite-action-group{margin-left:2.75rem}.avatars{position:relative;grid-row:span 2 / span 2;float:left;margin-right:1.25rem;display:flex}.avatars:has(calcite-avatar:only-child){margin-right:0.5rem}.avatars calcite-avatar+calcite-avatar{position:absolute;top:1rem;left:1rem;z-index:10;border-radius:9999px;border:3px solid var(--calcite-color-foreground-1)}.avatars calcite-avatar:only-child{block-size:2.5rem;inline-size:2.5rem}@media only screen and (max-width: 640px){:host{border-radius:1.75rem}}@media only screen and (min-width: 640px){:host{border-radius:1.75rem 1.75rem 1.75rem 0}}",Ge=Le,je=function(e,t,i,s){var a=arguments.length,o=a<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,i,s);else for(var r=e.length-1;r>=0;r--)(l=e[r])&&(o=(a<3?l(o):a>3?l(t,i,o):l(t,i))||o);return a>3&&o&&Object.defineProperty(t,i,o),o},He=class{constructor(e){G(this,e),this.arcgisHubDiscussionsViewFull=d(this,"arcgisHubDiscussionsViewFull",7),this.arcgisHubDiscussionsGeometryZoomTo=d(this,"arcgisHubDiscussionsGeometryZoomTo",7),this.arcgisHubDiscussionsPreviewDidRender=d(this,"arcgisHubDiscussionsPreviewDidRender",7),this.arcgisHubDiscussionsPreviewDismiss=d(this,"arcgisHubDiscussionsPreviewDismiss",7),this.hubTelemetry=d(this,"hubTelemetry",7),this.locationId=void 0,this.postId=void 0,this.parentId=void 0,this.channelId=void 0,this.discussion=void 0,this.showChannelAvatar=void 0,this.loading=!0,this.post=void 0,this.postCreator=void 0,this.channel=void 0,k(this,"handleViewFullThread","handleZoomTo","handleDismiss")}get _context(){return U()}get creatorFullName(){let{intl:e,post:t,postCreator:i}=this,s=e.t("anonymous");return(i||t?.creator)&&(s=i?.fullName||e.t("privateUser")),s}async componentWillLoad(){this.intl=await j.loadIntlForComponent(this.element),this.initialize()}componentDidRender(){this.arcgisHubDiscussionsPreviewDidRender.emit(this.element.offsetHeight)}async initialize(){this._initialize()}async _initialize(){let{channelId:e,postId:t,parentId:i,locationId:s}=this;if(e&&(i||t||s)){this.loading=!0;let a=s&&!i?await this.fetchDetailsByLocationId():await this.fetchDetails(t);Object.assign(this,a,{loading:!1}),this.emitHubTelemetry(h.dictionary.category.interaction.action.open.label.popUp.details.post)}}async fetchDetailsByLocationId(){let{locationId:e,_context:t,discussion:i}=this,{items:[s]}=await ge(Object.assign({data:{discussion:`${i}%?id=%${e}%`,num:1,sortBy:pe.UPDATED_AT,sortOrder:he.DESC,start:1,relations:[z.CHANNEL,z.CHANNEL_ACL]}},t.hubRequestOptions));return this.fetchDetails(s.id,s)}async fetchDetails(e,t){let{_context:i}=this,s=await te({postId:e,post:t},i.hubRequestOptions),[a,o]=await Promise.all([X(s,i.hubRequestOptions),De(s,i.hubRequestOptions)]);return Object.assign(Object.assign(Object.assign({},s),a),o)}emitHubTelemetry(e){let{postId:t,parentId:i,channelId:s,channel:a}=this;this.hubTelemetry.emit(Object.assign(Object.assign({},e),{postId:t,parentId:i,channelId:s,channelAccess:N(a)}))}handleViewFullThread(){this.emitHubTelemetry(h.dictionary.category.interaction.action.open.label.thread.details[this.locationId?"location":"post"]),this.arcgisHubDiscussionsViewFull.emit()}handleZoomTo(){this.emitHubTelemetry(h.dictionary.category.interaction.action.zoom.label.in),this.arcgisHubDiscussionsGeometryZoomTo.emit(this.post)}handleDismiss(){this.emitHubTelemetry(h.dictionary.category.interaction.action.close.label.popUp.details.post),this.arcgisHubDiscussionsPreviewDismiss.emit()}renderAvatars(){var e;let{_context:t,channel:i,postCreator:s,post:a,showChannelAvatar:o,intl:l}=this,r=!s&&a?{username:a.creator}:s;return n(F,null,n("calcite-avatar",{"full-name":r?.fullName,scale:"m",thumbnail:r?.thumbnail&&le(t.hubRequestOptions.portal,r,(e=t.hubRequestOptions.authentication)===null||e===void 0?void 0:e.token),"user-id":r?.id,username:r?.username}),o&&n("calcite-avatar",{"full-name":fe(i,l.t("unnamedChannel")),scale:"s"}))}renderContent(){let{post:e}=this;return n(F,null,n("div",{class:"avatars"},this.renderAvatars()),n("address",null,n("b",null,this.creatorFullName),n("span",null,"\xB7"),n("arcgis-relative-date",{dateTime:e.createdAt,formatStyle:"short"})),n("arcgis-multiline-ellipsis",{innerHTML:e.body,lines:2}),n("calcite-action-group",{layout:"horizontal"},n("calcite-action",{onClick:this.handleViewFullThread,scale:"s",text:this.intl.t("view"),textEnabled:!0}),!1,n("calcite-action",{onClick:this.handleDismiss,scale:"s",text:this.intl.t("dismiss"),textEnabled:!0})))}renderLoading(){return n("arcgis-hub-discussions-post-skeleton",null)}render(){return n(A,{key:"cc0aa723908f9d7d29ccc235834bd903f295df74","data-element":"discussions-map-preview"},this.loading?this.renderLoading():this.renderContent())}static get assetsDirs(){return["locales"]}get element(){return L(this)}static get watchers(){return{channelId:["initialize"],parentId:["initialize"],locationId:["initialize"],postId:["initialize"]}}};je([V({timeout:0})],He.prototype,"initialize",null);He.style=Ge;var Ne=":host{display:block}",Ue=Ne,Ve={content:"hub:content:settings:discussions:compact"},Me=class{constructor(e){G(this,e),this.arcgisHubDiscussionsOptionsEntitySaved=d(this,"arcgisHubDiscussionsOptionsEntitySaved",7),this.entityId=void 0,this.entityType=void 0,this.entity=void 0,k(this,"handleEntityEditorSaved")}get _context(){return U()}async componentWillLoad(){await this.initialize()}async initialize(){!this.entity&&this.entityId&&this.entityType&&(this.entity=await me(this.entityType,this.entityId,this._context))}get editorType(){return Ve[this.entityType]||null}handleEntityEditorSaved(e){this.arcgisHubDiscussionsOptionsEntitySaved.emit(e.detail.entity)}get isValidEditorType(){return ce.includes(this.editorType)}renderEntityEditor(){if(this.isValidEditorType)return n("arcgis-hub-entity-editor",{editorType:this.editorType,entity:this.entity,onArcgisHubEntityEditorSaved:this.handleEntityEditorSaved,variant:de.workspace})}render(){return n(A,{key:"47481dc7cb35330524fd4b934b2e0717913b5392","data-element":"discussions-options"},this.renderEntityEditor())}get element(){return L(this)}};Me.style=Ue;var Be=".sc-arcgis-hub-discussions-thread-h{--arcgis-hub-layout-list-gap:0;display:block;overflow:hidden;background-color:var(--calcite-color-foreground-1);padding-top:0.75rem;padding-bottom:0.75rem}arcgis-hub-discussions-post-editor.sc-arcgis-hub-discussions-thread{margin-top:1.5rem;margin-bottom:1.5rem;padding-left:0.75rem;padding-right:0.75rem}arcgis-hub-discussions-post-list.sc-arcgis-hub-discussions-thread{margin-left:1rem;margin-right:1rem}arcgis-hub-discussions-post.loading.sc-arcgis-hub-discussions-thread:not([parent-id]){margin-left:1rem;margin-right:1rem;margin-bottom:1rem}arcgis-hub-discussions-post[parent-id].sc-arcgis-hub-discussions-thread{padding-left:1rem;padding-right:1rem}arcgis-hub-discussions-post.sc-arcgis-hub-discussions-thread:not([parent-id])+arcgis-hub-discussions-post[parent-id].sc-arcgis-hub-discussions-thread{margin-top:1.5rem;margin-bottom:1.5rem}calcite-notice.sc-arcgis-hub-discussions-thread{margin-top:1.5rem;margin-bottom:1.5rem;padding-left:1rem;padding-right:1rem}calcite-notice.sc-arcgis-hub-discussions-thread:first-child{margin-top:0px}arcgis-hub-discussions-blocked-notice.sc-arcgis-hub-discussions-thread,arcgis-hub-notice.sc-arcgis-hub-discussions-thread{margin-top:1.5rem;margin-bottom:1.5rem;margin-left:1rem;margin-right:1rem}",ze=Be,Oe=function(e,t,i,s){var a=arguments.length,o=a<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,i,s);else for(var r=e.length-1;r>=0;r--)(l=e[r])&&(o=(a<3?l(o):a>3?l(t,i,o):l(t,i))||o);return a>3&&o&&Object.defineProperty(t,i,o),o},H;(function(e){e.Loading="loading",e.ParentAndReply="parent_and_reply",e.ParentAndReplies="parent_and_replies",e.ThreadDeleted="thread_deleted",e.ChannelDeleted="channel_deleted"})(H||(H={}));var ae=class{constructor(e){G(this,e),this.arcgisHubDiscussionsPostSelect=d(this,"arcgisHubDiscussionsPostSelect",7),this.arcgisAppIdentityStartSignIn=d(this,"arcgisAppIdentityStartSignIn",7),this.hubTelemetry=d(this,"hubTelemetry",7),this.arcgisHubDiscussionsThreadReady=d(this,"arcgisHubDiscussionsThreadReady",7),this.hasMap=void 0,this.isHub=void 0,this.unsavedFeatures=void 0,this.unsavedRelatedFeatures=void 0,this.unsavedExistingFeatures=[],this.postId=void 0,this.post=void 0,this.postCreator=void 0,this.postCreatorOrg=void 0,this.parent=void 0,this.parentId=void 0,this.parentCreator=void 0,this.parentCreatorOrg=void 0,this.channelId=void 0,this.channel=void 0,this.channelGroups=void 0,this.discussion=void 0,this.entityId=void 0,this.entityType=void 0,this.discussionSettings=void 0,this.entity=void 0,this.displayFieldValid=void 0,this.displayFieldValue=void 0,this.displayFieldKey=void 0,this.isMobile=void 0,this.locationId=void 0,this.showLocations=void 0,this.disableSelectExistingLocation=void 0,this.locationDescriptionText=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this._context=U(),this.intl=void 0,this._loading=void 0,this.parentReady=!1,this.postReady=!1,this.postListReady=!1,this.postEditorReady=!1,this.ready=!1,this.numPostableChannels=null,k(this,"renderParentAndReply","renderParentAndReplies","renderThreadDeleted","renderChannelInaccessible","handleViewAllReplies","handleViewAllPosts","renderLoading","handleParentReady","handlePostReady","handlePostListReady","handlePostEditorReady","handleSignInClicked")}componentWillLoad(){this.initialize()}connectedCallback(){ie(this)}disconnectedCallback(){this.disconnectContext()}async initialize(){this.loadTranslations(),this._context&&this.loadDependencies()}async loadTranslations(){this.intl=await j.loadIntlForComponent(this.element)}async loadDependencies(){return this._loading=!0,this.fetchDependencies().then(e=>{Object.assign(this,e),this._loading=!1})}fetchDependencies(){return this._fetchDependencies()}handleContextChanged(e,t){var i,s;((i=e?.currentUser)===null||i===void 0?void 0:i.username)!==((s=t?.currentUser)===null||s===void 0?void 0:s.username)&&this.loadDependencies()}handleParentReady(){this.parentReady=!0,this.updateReady()}handlePostReady(){this.postReady=!0,this.updateReady()}handlePostEditorReady(){this.postEditorReady=!0,this.updateReady()}handlePostListReady(){this.postListReady=!0,this.updateReady()}handleReadyChange(e){e&&this.arcgisHubDiscussionsThreadReady.emit()}updateReady(){let e=[[this.postEditorRef,this.postEditorReady],[this.parentRef,this.parentReady],[this.postRef,this.postReady],[this.postListRef,this.postListReady]];this.ready=e.filter(([t])=>!!t).every(([t,i])=>i)}async getPostEditorRef(){return this.postEditorRef}async getPostListRef(){return this.postListRef}async _fetchDependencies(){let{isHub:e,_context:t,postId:i,post:s,parent:a,parentId:o,discussion:l,entityId:r,entityType:f,discussionSettings:b,entity:v,locationId:w,parentCreator:D,channelId:I,channel:P,channelGroups:u,displayFieldKey:g,displayFieldValid:T,displayFieldValue:C}=this,[y,c]=await Promise.all([te({postId:i,post:s},t.hubRequestOptions),J({isHub:e},t.hubRequestOptions)]),m=await Ce(Object.assign({parentId:o,parent:a},y),t.hubRequestOptions),[O,p,R]=await Promise.all([Ie(Object.assign({parentCreator:D},m),t.hubRequestOptions),Q(Object.assign(Object.assign({discussion:l,entityId:r,entityType:f,entity:v,locationId:w,displayFieldKey:g,displayFieldValid:T,displayFieldValue:C,discussionSettings:b},y),m),t.hubRequestOptions),X(Object.assign(Object.assign({channelId:I,channel:P,channelGroups:u},y),m),t.hubRequestOptions)]),{total:x}=await W({allowedChannelIds:[this.channelId],requestOptions:this._context.hubRequestOptions,num:1});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},y),m),O),c),p),R),{numPostableChannels:x})}get loading(){let{intl:e,_loading:t,_context:i,channel:s}=this;return!e||!i||t||s===void 0}get areChannelsConfigured(){var e,t;return!!(!((t=(e=this.discussionSettings)===null||e===void 0?void 0:e.allowedChannelIds)===null||t===void 0)&&t.length)}get canEditEntity(){return!!this._context.currentUser&&B(this.entity.item,this._context.currentUser)}get discussionSettingsWorkspaceUrl(){return(this.isHub?"":this._context.hubHomeUrl)+K(this.entity.type,this.entityId,"settings-discussions")}handlePostOrReplyDeleted(e){let{parent:t,post:i}=this;(e.detail.id===t?.id||e.detail.id===i?.id)&&(e.detail.id===t?.id?this.parent=null:this.post=null,this.deletedDuringSession=!0)}handleViewAllReplies(){let{channelId:e,channel:t,channelGroups:i,parent:s,parentId:a,postId:o,parentCreator:l,parentCreatorOrg:r}=this;this.arcgisHubDiscussionsPostSelect.emit({channel:t,channelId:e,channelGroups:i,parentId:a,parent:s,parentCreator:l,parentCreatorOrg:r}),this.emitHubTelemetry(Object.assign(Object.assign({},h.dictionary.category.interaction.action.open.label.thread),{postId:o,parentId:a}))}handleViewAllPosts(){let{parentId:e,postId:t}=this;this.arcgisHubDiscussionsPostSelect.emit({channelId:null,channel:null,channelGroups:null,parent:null,parentId:null,parentCreator:null,parentCreatorOrg:null}),this.emitHubTelemetry(Object.assign(Object.assign({},h.dictionary.category.interaction.action.close.label.thread),{postId:t,parentId:e}))}emitHubTelemetry(e){let{channelId:t,channel:i}=this;this.hubTelemetry.emit(Object.assign({channelId:t,channelAccess:i?N(i):void 0},e))}get views(){let{renderLoading:e,renderParentAndReply:t,renderParentAndReplies:i,renderThreadDeleted:s,renderChannelInaccessible:a}=this;return{[H.Loading]:{render:e},[H.ParentAndReply]:{render:t},[H.ParentAndReplies]:{render:i},[H.ThreadDeleted]:{render:s},[H.ChannelDeleted]:{render:a}}}get view(){let{views:e,parentId:t,postId:i,parent:s,post:a,loading:o,channel:l}=this,r;return o?r=H.Loading:l===null?r=H.ChannelDeleted:t&&i&&s===null&&a===null?r=H.ThreadDeleted:i?r=H.ParentAndReply:r=H.ParentAndReplies,e[r]}handleHubTelemetry(e){let t=[{from:h.dictionary.category.interaction.action.viewed.label.post.details.postList,to:h.dictionary.category.interaction.action.viewed.label.post.details.thread},{from:h.dictionary.category.interaction.action.open.label.postList,to:null}],i=a=>Object.entries(a).every(([o,l])=>{var r;return((r=e.detail)===null||r===void 0?void 0:r[o])===l}),s=t.find(({from:a})=>i(a));s&&(s.to?Object.assign(e.detail,s.to):e.stopPropagation())}handleSignInClicked(e){e.preventDefault(),this.arcgisAppIdentityStartSignIn.emit()}captureThreadDeletedImpression(){let{postId:e,parentId:t}=this;this.emitHubTelemetry(Object.assign(Object.assign({},h.dictionary.category.interaction.action.viewed.label.post.details.thread),{postId:e,parentId:t,response:h.constants.response.FAILURE}))}get blockedNotice(){let e=be(this.channel,this._context.currentUser),t=!q(this.entity),i;return e&&t?i=_.Reply:e?i=_.Group:t&&(i=this.entityType==="group"?_.Group:_.Item),i}renderChannelInaccessible(){return this._context.currentUser?n("calcite-notice",{icon:"exclamation-mark-triangle",kind:"warning",open:!0,scale:"m"},n("div",{slot:"title"},this.intl.t("thread.inaccessible.title")),n("div",{slot:"message"},this.intl.t("thread.inaccessible.message")),n("calcite-link",{onClick:this.handleViewAllPosts,slot:"link"},this.intl.t("thread.inaccessible.action"))):this.renderSignInNotice()}renderParent(){let{channel:e,channelGroups:t,channelId:i,discussion:s,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,showChannelAvatar:r,showChannelName:f,entity:b,entityId:v,entityType:w,hasMap:D,isHub:I,isMobile:P,locationDescriptionText:u,locationId:g,parentId:T,parent:C,unsavedExistingFeatures:y,unsavedFeatures:c,unsavedRelatedFeatures:m,parentCreator:O,parentCreatorOrg:p,handleParentReady:R,showLocations:x}=this;return n("arcgis-hub-discussions-post",{channel:e,channelGroups:t,channelId:i,discussion:s,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,entity:b,entityId:v,entityType:w,hasMap:D,isHub:I,isMobile:P,locationDescriptionText:u,locationId:g,onArcgisHubDiscussionsPostReady:R,parentCreatorOrg:p,post:C,postCreator:O,postId:T,ref:E=>{this.parentRef=E},showChannelAvatar:r,showChannelName:f,showLocations:x,unsavedExistingFeatures:y,unsavedFeatures:c,unsavedRelatedFeatures:m})}renderReplyEditor(){let{hasMap:e,unsavedFeatures:t,unsavedRelatedFeatures:i,unsavedExistingFeatures:s,isHub:a,discussion:o,parentId:l,parent:r,entity:f,entityId:b,entityType:v,discussionSettings:w,channelId:D,channel:I,channelGroups:P,isMobile:u,locationId:g,handlePostEditorReady:T,showLocations:C,disableSelectExistingLocation:y,blockedNotice:c,numPostableChannels:m}=this;if(r&&!c&&m)return n("arcgis-hub-discussions-post-editor",{channel:I,channelGroups:P,channelId:D,disableSelectExistingLocation:y,discussion:o,discussionSettings:w,entity:f,entityId:b,entityType:v,hasMap:e,isHub:a,isMobile:u,locationId:g,onArcgisHubDiscussionsPostEditorReady:T,parent:r,parentId:l,ref:O=>{this.postEditorRef=O},showLocations:C,unsavedExistingFeatures:s,unsavedFeatures:t,unsavedRelatedFeatures:i})}renderNotice(){let{blockedNotice:e,_context:t}=this,i;return e?i=n("arcgis-hub-discussions-blocked-notice",{variant:e}):t.currentUser?this.numPostableChannels||(i=this.renderParticipationUnavailableNotice()):i=this.renderSignInNotice(),i}renderParticipationUnavailableNotice(){return n("calcite-notice",{icon:"exclamation-mark-triangle",kind:"warning",open:!0,scale:"m"},n("div",{slot:"title"},this.intl.t("participationUnavailable.title")),n("div",{slot:"message"},this.intl.t(this.areChannelsConfigured?"participationUnavailable.allowed":"participationUnavailable.any")),this.areChannelsConfigured&&this.canEditEntity&&this._context.hubLicense==="hub-premium"&&n("calcite-link",{href:this.discussionSettingsWorkspaceUrl,slot:"link"},this.intl.t("participationUnavailable.action")))}renderSignInNotice(){return n("calcite-notice",{icon:"information",kind:"info",open:!0,scale:"m"},n("div",{slot:"title"},this.intl.t("signInTitle")),n("calcite-link",{onClick:this.handleSignInClicked,slot:"link"},this.intl.t("signInAction")))}renderParentAndReplies(){let{hasMap:e,unsavedFeatures:t,unsavedRelatedFeatures:i,unsavedExistingFeatures:s,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,intl:r,isHub:f,discussion:b,parentId:v,entity:w,entityId:D,entityType:I,discussionSettings:P,isMobile:u,locationDescriptionText:g,locationId:T,handlePostListReady:C,showLocations:y}=this;return n(F,null,this.renderParent(),this.renderReplyEditor(),this.renderNotice(),n("arcgis-hub-discussions-post-list",{discussion:b,discussionSettings:P,displayFieldKey:a,displayFieldValid:o,displayFieldValue:l,entity:w,entityId:D,entityType:I,hasMap:e,isHub:f,isMobile:u,locationDescriptionText:g,locationId:T,onArcgisHubDiscussionsPostListReady:C,parentIds:[v],ref:c=>{this.postListRef=c},showLocations:y,unsavedExistingFeatures:s,unsavedFeatures:t,unsavedRelatedFeatures:i},n("calcite-notice",{kind:"danger",open:!0,scale:"m",slot:"error"},n("div",{slot:"title"},r.t("error")),n("div",{slot:"message"},r.t("repliesFailure")))))}renderParentAndReply(){let{intl:e,handleViewAllReplies:t,post:i,postCreator:s,postCreatorOrg:a,unsavedFeatures:o,hasMap:l,isHub:r,unsavedRelatedFeatures:f,unsavedExistingFeatures:b,channel:v,channelGroups:w,channelId:D,isMobile:I,locationId:P,discussion:u,displayFieldKey:g,displayFieldValid:T,displayFieldValue:C,showChannelAvatar:y,showChannelName:c,entity:m,entityId:O,entityType:p,parentId:R,parent:x,parentCreator:E,parentCreatorOrg:S,postId:xe,handlePostReady:Se}=this;return n(F,null,this.renderParent(),!!i&&n("calcite-notice",{open:!0,scale:"s"},n("div",{slot:"title"},e.t("reply.single.title")),n("calcite-link",{onClick:t,slot:"link"},e.t("reply.single.link"))),n("arcgis-hub-discussions-post",{channel:v,channelGroups:w,channelId:D,discussion:u,displayFieldKey:g,displayFieldValid:T,displayFieldValue:C,entity:m,entityId:O,entityType:p,hasMap:l,isHub:r,isMobile:I,locationDescriptionText:this.locationDescriptionText,locationId:P,onArcgisHubDiscussionsPostReady:Se,parent:x,parentCreator:E,parentCreatorOrg:S,parentId:R,post:i,postCreator:s,postCreatorOrg:a,postId:xe,ref:Ee=>{this.postRef=Ee},showChannelAvatar:y,showChannelName:c,showLocations:this.showLocations,unsavedExistingFeatures:b,unsavedFeatures:o,unsavedRelatedFeatures:f}))}renderThreadDeleted(){let{intl:e,deletedDuringSession:t}=this;return t||this.captureThreadDeletedImpression(),n("calcite-notice",{kind:"danger",open:!0,scale:"m"},n("div",{slot:"title"},e.t("thread.deleted.title")),n("div",{slot:"message"},e.t("thread.deleted.message")),n("calcite-link",{onClick:this.handleViewAllPosts,slot:"link"},e.t("thread.deleted.action")))}renderLoading(){return null}render(){let{view:e}=this;return n(A,{key:"60f60c43c9da60408fb005bcef0b22b1e1f1de97","data-element":"discussions-thread"},e.render())}static get assetsDirs(){return["locales"]}get element(){return L(this)}static get watchers(){return{_context:["handleContextChanged"],ready:["handleReadyChange"]}}};Oe([Z({delay:300})],ae.prototype,"fetchDependencies",null);Oe([ee()],ae.prototype,"captureThreadDeletedImpression",null);ae.style=ze;return{arcgis_hub_discussions:M,arcgis_hub_discussions_map_action_notice:ne,arcgis_hub_discussions_map_preview:He,arcgis_hub_discussions_options:Me,arcgis_hub_discussions_thread:ae}},"config",a,b)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.8/esri/copyright.txt for details.
|
|
3
|
+
v0.8.0 */
|
|
4
|
+
var p=["https://survey123.arcgis.com","https://survey123dev.arcgis.com","https://survey123qa.arcgis.com","https://insights.arcgis.com","https://insightsdev.arcgis.com","https://insightsqa.arcgis.com","https://urban.arcgis.com","https://urbandev.arcgis.com","https://urbanqa.arcgis.com","https://solutions.arcgis.com","https://services.arcgis.com","https://storymaps.arcgis.com","https://storymaps2dev.arcgis.com","https://storymaps2qa.arcgis.com","https://storymapsqa.arcgis.com","https://storymapsdev.arcgis.com","https://hub.arcgis.com","https://hubqa.arcgis.com","https://hubdev.arcgis.com","https://opendata.arcgis.com","https://opendataqa.arcgis.com","https://opendatadev.arcgis.com","https://experience.arcgis.com","https://experienceqa.arcgis.com","https://experiencedev.arcgis.com","https://livingatlas.arcgis.com","https://bao.arcgis.com","https://communityanalyst.arcgis.com","https://qaext.arcgis.com","https://devext.arcgis.com","https://www.arcgis.com","https://hub-sandbox-compass.arcgis.com"];function v(s,t,c,a){let e=s;if(a){s=d(s,o(t)),e=s;let i=[o(t),...p].map(h=>h.toLowerCase()),m=o(s);i.includes(m.toLowerCase())&&(e=g(e,c,a.portal),a.disablePostMessageAuth(),a.enablePostMessageAuth(i))}return e}function g(s,t,c){let a=new URL(s);return a.searchParams.set("arcgis-auth-origin",t),a.searchParams.set("arcgis-auth-portal",c),a.toString()}function d(s,t){let c=s;if(r(s)&&r(t)&&u(s)){let a=s.split("arcgis.com")[0];c=s.replace(`${a}arcgis.com`,t)}return c}function o(s){return new URL(s).origin}function u(s){let t=!0,c=n(s);return["survey123.","survey123dev.","survey123qa.","insights.","insightsdev.","insightsqa.","urban.","urbandev.","urbanqa.","solutions.","services.","storymaps.","storymaps2dev.","storymaps2qa.","storymapsqa.","storymapsdev.","hub.arcgis.com","hubqa.arcgis.com","hubdev.arcgis.com","opendata.arcgis.com","opendataqa.arcgis.com","opendatadev.arcgis.com","experience.","experienceqa.","experiencedev.","livingatlas.","bao.","communityanalyst.","hub-sandbox-compass."].forEach(a=>{c.includes(a)&&(t=!1)}),t&&["embedGallery.html"].forEach(a=>{s.includes(a)&&(t=!1)}),t}function n(s){let t=s.split("/"),c=t[2];return s.indexOf("http")!==0&&(c=t[0]),c}function r(s){return n(s).endsWith("arcgis.com")}export{v as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.0 */
|
|
4
|
+
function t(e,l){if(typeof e!="object"||e===null||typeof l!="string")return;let n=l.split(".");for(let o=0;o<n.length-1;o++){if(!Object.prototype.hasOwnProperty.call(e,n[o]))return;e=e[n[o]]}delete e[n[n.length-1]]}export{t as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.0 */
|
|
4
|
+
import{a as t}from"./YWQNI2SV.js";import{a as o}from"./MOTZU7NR.js";var c=t(o,{scope:"teams",ttl:1e3});export{c as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.0 */
|
|
4
|
+
import{a as s,b as l}from"./DXAWM5LH.js";import{c as t}from"./EJJQ2UK2.js";import{a as r}from"./RZ2RWSEX.js";function c(e){let{type:o,typeKeywords:a=[]}=e;return o===t["Image Service"]&&!a.includes("Tiled Imagery")}function m(e,o){let a=null;return s(e)?a="createReplica":l(e)&&!o?a=!!r(e,"extendedProps.serverExtractCapability")?"fgdb":"paging":c(e)&&(a="exportImage"),a}export{c as a,m as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.0 */
|
|
4
|
+
import{a as o}from"./AFSZKCK2.js";import{b as l,e as r,i as d}from"./LGLLAWT2.js";import"./BDXBURUK.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,t,i,a,n,s;return l("calcite-input-time-picker",{key:"4e0634a2475848b98532e25ce6e5bdbf1d2d1f2c",disabled:this.params.disabled,onCalciteInputTimePickerChange:this.handleCalciteInputTimePickerChange,overlayPositioning:(t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.overlayPositioning,placement:((a=(i=this.params.uiSchema)===null||i===void 0?void 0:i.options)===null||a===void 0?void 0:a.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};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.0 */
|
|
4
|
+
import{b as o,c as i,i as s}from"./LGLLAWT2.js";import{g as a}from"./MMWYUPJQ.js";import"./RZ2RWSEX.js";import"./BDXBURUK.js";var r=".sc-hub-section-accordion-h{display:block}.sc-hub-section-accordion-h:not(.configuration-editor__last-child){margin-bottom:2rem}calcite-accordion.sc-hub-section-accordion-s>*,calcite-accordion .sc-hub-section-accordion-s>*{--calcite-font-size-0:14px}",d=r,l=class{constructor(c){s(this,c),this.params=void 0}componentWillLoad(){this._key=a("accordion")}get scale(){var c;return((c=this.params.uiSchema.options)===null||c===void 0?void 0:c.scale)||this.params.scale||"l"}render(){let{appearance:c,iconPosition:e,iconType:t,selectionMode:n}=this.params.uiSchema.options||{};return o(i,{key:this._key},o("calcite-accordion",{key:"a2a73172b2f0916194a301a14f8478b60cae179e",appearance:c,class:{[this.params.variant]:!!this.params.variant,[`section-accordion--${this.scale}`]:!0},iconPosition:e,iconType:t,scale:this.scale,selectionMode:n},o("slot",{key:"54955987dc49d1f3545dc82aefc5fe5d1dd9e208"})))}};l.style=d;export{l as hub_section_accordion};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.0 */
|
|
4
|
+
import{c as E}from"./7X4LS3TV.js";function A(e){return Object.keys(e).some(t=>{let n=e[t];if(!n)return!1;switch(n&&n.toParam&&(n=n.toParam()),n.constructor.name){case"Array":return!1;case"Object":return!1;case"Date":return!1;case"Function":return!1;case"Boolean":return!1;case"String":return!1;case"Number":return!1;default:return!0}})}function _(e){let t={};return Object.keys(e).forEach(n=>{var s,c;let r=e[n];if(r&&r.toParam&&(r=r.toParam()),!r&&r!==0&&typeof r!="boolean"&&typeof r!="string")return;let o=r.constructor.name,i;switch(o){case"Array":let f=(c=(s=r[0])===null||s===void 0?void 0:s.constructor)===null||c===void 0?void 0:c.name;i=f==="Array"?r:f==="Object"?JSON.stringify(r):r.join(",");break;case"Object":i=JSON.stringify(r);break;case"Date":i=r.valueOf();break;case"Function":i=null;break;case"Boolean":i=r+"";break;default:i=r;break}(i||i===0||typeof i=="string"||Array.isArray(i))&&(t[n]=i)}),t}function D(e,t){return Array.isArray(t)&&t[0]&&Array.isArray(t[0])?t.map(n=>D(e,n)).join("&"):encodeURIComponent(e)+"="+encodeURIComponent(t)}function C(e){let t=_(e);return Object.keys(t).map(n=>D(n,t[n])).join("&")}var I={FormData:globalThis.FormData,File:globalThis.File,Blob:globalThis.Blob};function q(e,t){let n=A(e)||t,s=_(e);if(n){let c=new I.FormData;return Object.keys(s).forEach(r=>{if(typeof Blob<"u"&&s[r]instanceof Blob){let o=s.fileName||s[r].name||r;c.append(r,s[r],o)}else c.append(r,s[r])}),c}else return C(e)}var d=class extends Error{constructor(t,n,s,c,r){super(t);let o=new.target.prototype;Object.setPrototypeOf(this,o),t=t||"UNKNOWN_ERROR",n=n||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=n==="UNKNOWN_ERROR_CODE"?t:`${n}: ${t}`,this.originalMessage=t,this.code=n,this.response=s,this.url=c,this.options=r}},F={noCorsDomains:[],crossOriginNoCorsDomains:{},pendingNoCorsRequests:{}},N="ARCGIS_REST_JS_NO_CORS";globalThis[N]||(globalThis[N]=Object.assign({},F));var u=globalThis[N];function x(e){let t=new URL(e);e=t.origin+t.pathname,t.search.includes("f=json")&&(e+="?f=json");let n=t.origin;return u.pendingNoCorsRequests[n]||(u.pendingNoCorsRequests[n]=fetch(e,{mode:"no-cors",credentials:"include",cache:"no-store"}).then(s=>{u.noCorsDomains.indexOf(n)===-1&&u.noCorsDomains.push(n),u.crossOriginNoCorsDomains[n.toLowerCase()]=Date.now(),delete u.pendingNoCorsRequests[n]}).catch(s=>(delete u.pendingNoCorsRequests[n],Promise.reject(new Error(`no-cors request to ${n} failed`))))),u.pendingNoCorsRequests[n]}function L(e){e.forEach(t=>{t=t.toLowerCase(),/^https?:\/\//.test(t)?w(t):(w("http://"+t),w("https://"+t))})}function w(e){let n=new URL(e).origin;u.noCorsDomains.indexOf(n)===-1&&u.noCorsDomains.push(n)}function S(e){let t=!1;if(u.noCorsDomains.length){let n=new URL(e).origin.toLowerCase();t=u.noCorsDomains.some(s=>n.includes(s))}return t}function k(e){let t=!1;if(S(e)){let n=new URL(e).origin.toLowerCase(),s=u.crossOriginNoCorsDomains[n]||0;Date.now()-60*6e4>s&&(t=!0)}return t}function v(e){console&&console.warn&&console.warn.apply(console,[e])}var G=function(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.request})};function W(e,t){var n;if(!t&&!window||!e)return!1;{t=t||window;let s=(n=t.location)===null||n===void 0?void 0:n.origin;return e.startsWith(s)}}var $="@esri/arcgis-rest-js";function M(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var R=class extends d{constructor(t="AUTHENTICATION_ERROR",n="AUTHENTICATION_ERROR_CODE",s,c,r){super(t,n,s,c,r),this.name="ArcGISAuthError",this.message=n==="AUTHENTICATION_ERROR_CODE"?t:`${n}: ${t}`;let o=new.target.prototype;Object.setPrototypeOf(this,o)}retry(t,n=1){let s=0,c=(r,o)=>{s=s+1,t(this.url,this.options).then(i=>{let f=Object.assign(Object.assign({},this.options),{authentication:i});return j(this.url,f)}).then(i=>{r(i)}).catch(i=>{i.name==="ArcGISAuthError"&&s<n?c(r,o):i.name===this.name&&i.message===this.message&&s>=n?o(this):o(i)})};return new Promise((r,o)=>{c(r,o)})}};function B(e,t,n,s,c){if(e.code>=400){let{message:r,code:o}=e;throw new d(r,o,e,t,s)}if(e.error){let{message:r,code:o,messageCode:i}=e.error,f=i||o||"UNKNOWN_ERROR_CODE";throw o===498||o===499?c||new R(r,f,e,t,s):new d(r,f,e,t,s)}if(e.status==="failed"||e.status==="failure"){let r,o="UNKNOWN_ERROR_CODE";try{r=JSON.parse(e.statusMessage).message,o=JSON.parse(e.statusMessage).code}catch{r=e.statusMessage||e.message}throw new d(r,o,e,t,s)}return e}function j(e,t){let n=M(),s=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},n),t),{params:Object.assign(Object.assign({},n.params),t.params),headers:Object.assign(Object.assign({},n.headers),t.headers)}),{httpMethod:c,rawResponse:r}=s,o=Object.assign({f:"json"},s.params),i=null,f={method:c,signal:s.signal,credentials:s.credentials||"same-origin"};S(e)&&(f.credentials="include"),s.headers&&s.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(f.credentials="include");let g;if(typeof s.authentication=="string"){let a=s.authentication;g={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(a)},!s.authentication.startsWith("AAPK")&&!s.authentication.startsWith("AATK")&&!s.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(v("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."),globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING=!0)}else g=s.authentication;let y=e,p=!1;typeof window<"u"&&(p=W(e));let P=!p&&k(e);s.headers&&s.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(f.credentials="include");let b=Promise.resolve();return P&&(f.credentials="include",b=x(e)),b.then(()=>g?g.getToken(e).catch(a=>(a.url=e,a.options=s,i=a,Promise.resolve(""))):Promise.resolve("")).then(a=>{a.length&&(o.token=a),g&&g.getDomainCredentials&&(f.credentials=g.getDomainCredentials(e));let l={};if(f.method==="GET"){o.token&&s.hideToken&&typeof window>"u"&&(l["X-Esri-Authorization"]=`Bearer ${o.token}`,delete o.token);let O=C(o)===""?e:e+"?"+C(o);s.maxUrlLength&&O.length>s.maxUrlLength||!s.maxUrlLength&&O.length>2e3||o.token&&s.hideToken?(f.method="POST",a.length&&s.hideToken&&(o.token=a,delete l["X-Esri-Authorization"])):e=O}let h=new RegExp("/items/.+/updateResources").test(e);return f.method==="POST"&&(f.body=q(o,h)),f.headers=Object.assign(Object.assign({},l),s.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!f.headers.referer&&(f.headers.referer=$),!A(o)&&!h&&(f.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(e,f):G().then(({fetch:m})=>m(e,f))}).then(a=>{if(!a.ok)return a.json().then(l=>{let{status:h,statusText:m}=a,{message:O,details:T}=l.error,U=`${O}. ${T?T.join(" "):""}`.trim();throw new d(U,`HTTP ${h} ${m}`,l,e,s)}).catch(l=>{if(l.name==="ArcGISRequestError")throw l;let{status:h,statusText:m}=a;throw new d(m,`HTTP ${h}`,a,e,s)});if(r)return a;switch(o.f){case"json":return a.json();case"geojson":return a.json();case"html":return a.text();case"text":return a.text();default:return a.blob()}}).then(a=>{if((o.f==="json"||o.f==="geojson")&&!r){let l=B(a,y,o,s,i);if(a&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(e)&&Array.isArray(a.authorizedCrossOriginNoCorsDomains)&&L(a.authorizedCrossOriginNoCorsDomains),i){let h=e.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];s.authentication.federatedServers[h]={token:[],expires:new Date(Date.now()+86400*1e3)},i=null}return l}else return a})}function K(e,t={params:{f:"json"}}){let{request:n}=t,s=E(t,["request"]);return n?n(e,s):j(e,s).catch(c=>c instanceof R&&t.authentication&&typeof t.authentication!="string"&&t.authentication.canRefresh&&t.authentication.refreshCredentials?c.retry(()=>t.authentication.refreshCredentials(),1):Promise.reject(c))}export{C as a,d as b,x as c,k as d,v as e,$ as f,R as g,K as h};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.8/esri/copyright.txt for details.
|
|
3
|
+
v0.8.0 */
|
|
4
|
+
import a from"./TOIC3A3J.js";import{a as c}from"./AFSZKCK2.js";import"./CQAK4TGZ.js";import"./DDVSAGAS.js";import{a as g}from"./CA3VX2WP.js";import"./XP4K6N4W.js";import{a as r}from"./MGARNSGE.js";import"./MAZ3SFCT.js";import"./SXYKSNPO.js";import{b as d,c as p,d as m,e as h,i as b}from"./LGLLAWT2.js";import"./A6WF23BV.js";import"./XR5YURZB.js";import"./OOVSD2A7.js";import"./IPOPVO6A.js";import"./MMWYUPJQ.js";import"./P6HEL5XE.js";import"./7X4LS3TV.js";import"./BN3ZBJVG.js";import"./YD2WDSSU.js";import"./YJCARB73.js";import"./E6XMJ525.js";import"./RZ2RWSEX.js";import"./BDXBURUK.js";export default $arcgis.t(([{watch:u},v,,{n:f}])=>{var x=":host{display:block}calcite-panel{height:inherit}calcite-panel div{background-color:var(--calcite-color-foreground-1)}.esri-legend__service,.esri-legend__service>.esri-widget__heading{color:var(--calcite-color-text-1)}.hub-widget-legend{min-width:none !important;max-width:none !important;padding:0px}calcite-panel[closed]{display:none}@media only screen and (min-width: 640px){.hub-widget-legend.top{position:absolute}.hub-widget-legend.top{width:25rem}.hub-widget-legend.top{padding:0px}.hub-widget-legend.top{max-height:calc(var(--panel-height) - 2rem)}.hub-widget-legend.bottom{position:absolute}.hub-widget-legend.bottom{width:25rem}.hub-widget-legend.bottom{padding:0px}.hub-widget-legend.bottom{bottom:calc(var(--bottom-offset) - 2rem);max-height:calc(var(--panel-height) - 1rem)}.hub-widget-legend.right{right:100%}.hub-widget-legend.right{margin-right:1rem}.hub-widget-legend.left{left:100%}.hub-widget-legend.left{margin-left:1rem}.hub-widget-legend.bottom.left{margin-left:0.5rem}.hub-widget-legend.bottom.right{margin-right:0.5rem}}@media only screen and (max-width: 640px){.hub-widget-legend.top{position:absolute}.hub-widget-legend.top{z-index:50}.hub-widget-legend.top{padding:0px}.hub-widget-legend.top{top:calc(var(--panel-height) - var(--panel-height-mobile) + var(--top-offset) - 1rem);width:calc(var(--view-width) + 1px);display:var(--mobile-display);height:var(--panel-height-mobile)}.hub-widget-legend.bottom{position:absolute}.hub-widget-legend.bottom{z-index:50}.hub-widget-legend.bottom{padding:0px}.hub-widget-legend.bottom{bottom:calc(var(--panel-height-mobile) - var(--panel-height) - var(--bottom-offset) - 1rem);width:calc(var(--view-width) + 1px);display:var(--mobile-display);height:var(--panel-height-mobile)}.hub-widget-legend.right{right:-1rem}.hub-widget-legend.left{left:-1rem}}",y=x,W=class{constructor(e){b(this,e),this.arcgisHubWidgetPanelToggled=h(this,"arcgisHubWidgetPanelToggled",7),this.hubTelemetry=h(this,"hubTelemetry",7),this.scale="m",this.view=void 0,this.active=void 0,this.bottomOffset=0,this.topOffset=0,this.closed=!0,this.viewHeight=void 0,this.viewHeightWithOffset=void 0,this.viewWidth=void 0,c(this,"toggleClosed","setPanelHeight","handleSetPanelRef","handleSetWidgetRef")}async componentWillLoad(){let{el:e}=this,t=e&&e.closest("arcgis-hub-map-widget-container");this.viewPosition=t?.viewPosition,this.intl=await r.loadIntlForComponent(e)}async componentDidLoad(){let{view:e}=this;e&&this.addWidget(),f()}addWidgetToView(e,t){e&&e!==t&&this.addWidget()}updateViewHeightWhenOpen(){let{closed:e}=this;this.active=!e,this.active&&this.setPanelHeight()}emitEventOnActiveChange(e){let t=e?g.dictionary.category.interaction.action.open.label.panel.details.legend:g.dictionary.category.interaction.action.close.label.panel.details.legend;this.hubTelemetry.emit(t)}handleCalcitePanelDismissedChange(e){e.stopPropagation();let t=e.target.closed;this.arcgisHubWidgetPanelToggled.emit(t)}handlePanelToggled(e){let{target:t,detail:i}=e,{el:o}=this;t===o?this.closed=i:i||(this.closed=!0)}handleSetPanelRef(e){e&&(this.panelEl=e)}handleSetWidgetRef(e){e&&(this.legendEl=e)}toggleClosed(){this.closed=!this.closed}setPanelHeight(){let{legendEl:e,view:{size:t,container:i}}=this;if(!i)return;let[o,n]=t;this.viewHeight=n,this.viewWidth=o;let{top:a,bottom:s}=i.getBoundingClientRect(),{top:l,bottom:w}=e.getBoundingClientRect();this.topOffset=l-a,this.viewPosition.includes("top")?this.viewHeightWithOffset=n-this.topOffset:(this.bottomOffset=s-w,this.viewHeightWithOffset=n-this.bottomOffset)}async addWidget(){let{legend:e,view:t,panelEl:i}=this;t&&i&&!e&&(await t.when(),this.legend=new v({view:t,container:i}),u(()=>t.size,this.setPanelHeight))}get positionClass(){let{viewPosition:e}=this;if(e)return`hub-widget-legend ${e.split("-").join(" ")}`}get styles(){let{viewHeight:e,viewWidth:t,viewHeightWithOffset:i,bottomOffset:o,topOffset:n,active:a}=this,s=640;return s>e&&(s=e),{"--panel-height":`${i}px`,"--panel-height-mobile":`${s}px`,"--view-width":`${t}px`,"--bottom-offset":`${o}px`,"--top-offset":`${n}px`,"--mobile-display":a?"flex":"none"}}get _messageOverrides(){return{close:this.intl.t("textClose")}}render(){let{styles:e,positionClass:t,closed:i,active:o,scale:n}=this,a=this.intl.t("heading"),s=this.intl.t("textOpen"),l=this.intl.t("textClose");return d(p,{key:"30ec8c3c3c7d91cd98903b4ac852a6ba4641c047","data-element":"map-widget-legend",style:e},d("calcite-panel",{key:"81f2b987270152b726766252cfafbb796b49f616",class:t,closable:!0,closed:i,heading:a,messageOverrides:this._messageOverrides,ref:this.handleSetPanelRef}),d("arcgis-hub-map-widget-generic",{key:"03da91888d06b8fa9a60d4351ee5aafc16b87c1e",active:o,"data-test":"map-widget-legend",icon:"legend",onClick:this.toggleClosed,ref:this.handleSetWidgetRef,scale:n,text:o?l:s}))}static get assetsDirs(){return["locales"]}get el(){return m(this)}static get watchers(){return{view:["addWidgetToView"],closed:["updateViewHeightWhenOpen"],active:["emitEventOnActiveChange"]}}};W.style=y;return W},"core/reactiveUtils","widgets/Legend","config",a)
|
|
@@ -0,0 +1,4 @@
|
|
|
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.0 */
|
|
4
|
+
import{a as r}from"./RXPRTPXL.js";import{q as t}from"./BQF2QL22.js";async function m(o,e){let{editGroups:a,readGroups:u}=await t(Object.assign({eventId:o},e.hubRequestOptions)),n=s=>s.length?r(Object.assign({q:`id:(${s.join(" OR ")})`,num:s.length},e.requestOptions)):Promise.resolve({results:[]}),[{results:i},{results:p}]=await Promise.all([u,a].map(n));return[...i,...p]}export{m as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.0 */
|
|
4
|
+
import{a as n}from"./V6RTKAAF.js";import{c as s}from"./CQAK4TGZ.js";import"./DDVSAGAS.js";import"./CA3VX2WP.js";import"./XP4K6N4W.js";import{b as i,c as a,i as c}from"./LGLLAWT2.js";import"./RX7RKUFG.js";import"./T2JM2O2N.js";import"./7LKI4MAS.js";import"./LFFXVOB2.js";import"./2Q7N3VTN.js";import"./DFHZ77QH.js";import"./L575FMMH.js";import"./WY2JMGND.js";import"./7YRPD5M7.js";import"./VPU3K637.js";import"./ZAX2GCPA.js";import"./T423MOSD.js";import"./OY2SC4S6.js";import"./S5OYZGMG.js";import"./UU3DVVP3.js";import"./PUASWADS.js";import"./XOKSVX25.js";import"./QOWEAYBP.js";import"./PVPDWOUB.js";import"./ZD76WYVI.js";import"./MOTZU7NR.js";import"./FYP25KOE.js";import"./FCUEWYTZ.js";import"./KFCEEDPL.js";import"./4SZNI4MP.js";import"./RKJUGWWT.js";import"./YEAHCK6W.js";import"./EFGZAV2T.js";import"./CSE7FAQ3.js";import"./EJJQ2UK2.js";import"./ZE4MKDL5.js";import"./3PWJPLDP.js";import"./FRQRCEIH.js";import"./JEOUKTVK.js";import"./CO4G47BQ.js";import"./5CWBXLGB.js";import"./BNAKZQZI.js";import"./373LXB3P.js";import"./N7E4CXET.js";import"./BXV3JSX6.js";import"./A6WF23BV.js";import"./XR5YURZB.js";import"./OOVSD2A7.js";import"./IPOPVO6A.js";import"./MMWYUPJQ.js";import"./P6HEL5XE.js";import"./7X4LS3TV.js";import{o as e,p as r}from"./BN3ZBJVG.js";import{a as o}from"./YD2WDSSU.js";import"./YJCARB73.js";import"./E6XMJ525.js";import"./RZ2RWSEX.js";import"./BDXBURUK.js";var m=":host{display:block}:host([hidden]){display:none}",d=m,h=class{constructor(t){c(this,t),this.entity=void 0,this.layerId=void 0,this.association=void 0,this.scope=void 0,this.results=[],this.loading=void 0}componentWillLoad(){this.loading=!0,this.results=[]}async componentDidLoad(){await this.fetchAssociatedContent(),this.loading=!1}get hasResults(){return this.results&&this.results.length>0}get userHasAccess(){let p=`hub:${r(this.entity)}:view:${this.association}`;return e(p,s(),this.entity).access}async fetchAssociatedContent(){if(this.userHasAccess)try{let{results:t}=await n({entity:this.entity,layerId:this.layerId,association:this.association,scope:this.scope,requestOptions:s().hubRequestOptions});this.results=t}catch(t){o.error(`Error fetching ${this.association} content`,t)}}render(){return i(a,{key:"0bf4262624b0139022dc669c94b0078df46e82fc","data-element":"associated-content-card",hidden:this.loading||!this.hasResults},i("slot",{key:"1c7bcb55e295e3a83c2f7c53abf9b6d9996b353c",name:"header"}),i("arcgis-hub-gallery-layout-list",{key:"8bd4fb48546e96f1fcdc8f1eb9ae6e14943998e4",layout:"grid-filled",linkTarget:"siteRelative",searchResults:this.results,showThumbnail:!1}))}static get watchers(){return{entity:["fetchAssociatedContent"],layerId:["fetchAssociatedContent"],association:["fetchAssociatedContent"],scope:["fetchAssociatedContent"]}}};h.style=d;export{h as arcgis_hub_associated_content_card};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.0 */
|
|
4
|
+
import{a as m}from"./FKL4GH65.js";import c from"./SE3IC3IZ.js";import"./OZPOWRXE.js";import b from"./IVV63KTV.js";import"./Y2DSR76S.js";import"./YWQNI2SV.js";import{a as w,b as W,c as J,d as I}from"./74C6N2AT.js";import{a as P}from"./DHGDUNNH.js";import"./LAIR3OSC.js";import"./VEPZUNMN.js";import"./LAAP4I6C.js";import"./HEZJ7DOK.js";import"./KUTLSXHF.js";import"./5J7VDQC4.js";import"./PLHL5UFC.js";import"./BIWTZJUY.js";import"./WNFLKDZG.js";import"./RDFT5USS.js";import{a as L}from"./FEUZVOHT.js";import a from"./TOIC3A3J.js";import{a as N}from"./AFSZKCK2.js";import{c as X,j as Z}from"./CQAK4TGZ.js";import"./DDVSAGAS.js";import{a as D}from"./CA3VX2WP.js";import"./XP4K6N4W.js";import{a as z}from"./MGARNSGE.js";import"./MAZ3SFCT.js";import"./SXYKSNPO.js";import{b as f,c as Y,d as K,e as T,h as _,i as Q}from"./LGLLAWT2.js";import"./7VB7A2H4.js";import"./LJBBHLD3.js";import{O as $}from"./X6J4TYWF.js";import"./3JNAT4SP.js";import"./YAUUDO4N.js";import"./RXPRTPXL.js";import"./VGDK25FG.js";import"./RX7RKUFG.js";import"./T2JM2O2N.js";import"./7LKI4MAS.js";import"./LFFXVOB2.js";import"./2Q7N3VTN.js";import"./DFHZ77QH.js";import"./L575FMMH.js";import"./WY2JMGND.js";import"./7YRPD5M7.js";import"./VPU3K637.js";import"./ZAX2GCPA.js";import"./T423MOSD.js";import"./OY2SC4S6.js";import"./S5OYZGMG.js";import"./UU3DVVP3.js";import"./PUASWADS.js";import"./XOKSVX25.js";import"./QOWEAYBP.js";import"./WJVVBPCR.js";import"./TO7PWQSH.js";import"./BQF2QL22.js";import"./PVPDWOUB.js";import"./ZD76WYVI.js";import"./MOTZU7NR.js";import{c as V,i as O,o as B}from"./FYP25KOE.js";import"./FCUEWYTZ.js";import"./KFCEEDPL.js";import"./4SZNI4MP.js";import"./RKJUGWWT.js";import"./YEAHCK6W.js";import"./EFGZAV2T.js";import"./CSE7FAQ3.js";import"./EJJQ2UK2.js";import{e as F,f as E}from"./ZE4MKDL5.js";import"./3PWJPLDP.js";import"./FRQRCEIH.js";import"./JEOUKTVK.js";import"./CO4G47BQ.js";import"./5CWBXLGB.js";import"./BNAKZQZI.js";import"./373LXB3P.js";import"./N7E4CXET.js";import"./BXV3JSX6.js";import"./A6WF23BV.js";import"./XR5YURZB.js";import"./OOVSD2A7.js";import"./IPOPVO6A.js";import"./MMWYUPJQ.js";import"./P6HEL5XE.js";import"./7X4LS3TV.js";import"./BN3ZBJVG.js";import{a as A}from"./YD2WDSSU.js";import"./YJCARB73.js";import"./E6XMJ525.js";import"./RZ2RWSEX.js";import"./BDXBURUK.js";export default $arcgis.t(([H,{watch:te},{webMercatorToGeographic:j},re,k,{isAbortError:ae},{generalize:oe},,{n:ee,o:C},{g:U,h:M,m:S},q])=>{var se={type:"Polygon",coordinates:[[[180,-90],[180,90],[-180,90],[-180,-90],[180,-90]]]},ne=e=>new Promise(t=>setTimeout(t,e)),ce=(e,t,s,i,r)=>{let a=Math.ceil(e/t);return a>i?(A.warn(`Discussions requests exceeds desired threshold, throttling to ${r}ms per batch.`),r):s/a},he=async(e,t,s=10,i=!0)=>{let r=async a=>{var o;let n=(o=a.start)!==null&&o!==void 0?o:1,h=Object.assign({data:Object.assign({num:s,relations:[O.REPLIES,O.CHANNEL,O.CHANNEL_ACL],sortBy:B.UPDATED_AT,sortOrder:V.DESC,start:n},a)},t),c=$(h);if(n===1){let{total:d}=await c,l=n+s,p=[c],v=i?ce(d,s,2500,10,250):0;for(;l<=d;)await ne(v),p.push(...await r(Object.assign(Object.assign({geometry:se},a),{start:l}))),l=l+s;return p}return[c]};try{let a=await Promise.all([...await r(Object.assign(Object.assign({},e),{discussion:`${e.discussion}%?id=%`})),...await r(Object.assign(Object.assign({},e),{geometry:se,discussion:`${e.discussion}%`}))]),o=[],n=a.map(({items:h})=>h).flat().filter(h=>o.includes(h.id)?!1:(o.push(h.id),!0));return U(n)}catch(a){let{message:o}=a;A.error("Could not fetch on-map discussions:",o)}},de=".sc-arcgis-hub-discussions-map-integrator-h{display:block}@media only screen and (min-width: 640px){arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{width:25rem}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{padding:0px}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{top:calc(var(--top-offset) + 4.5rem);left:calc(var(--left-offset) - 5rem - 25rem);max-height:calc(var(--panel-height) - 6rem)}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{width:25rem}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{top:calc(var(--top-offset));left:calc(var(--left-offset))}}@media only screen and (max-width: 640px){arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{width:calc(var(--panel-width) + 0.05rem);top:calc(var(--top-offset) + var(--panel-height) * .5);max-height:calc(var(--panel-height) * .5);height:calc(var(--panel-height) * .5);left:0.95rem}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{position:absolute}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{left:0px}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{margin:auto}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{width:100%}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{top:calc(var(--top-offset) + var(--panel-height) * .45)}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{width:calc(var(--panel-width) - 0.95rem);top:calc(var(--panel-height) + 3.2rem);left:0.5rem}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{position:absolute}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{top:1rem}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{left:0px}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{margin:auto}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{width:100%}}",le=de,g=function(e,t,s,i){var r=arguments.length,a=r<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,s):i,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,s,i);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(a=(r<3?o(a):r>3?o(t,s,a):o(t,s))||a);return r>3&&a&&Object.defineProperty(t,s,a),a},u=class{constructor(e){Q(this,e),this.arcgisHubMapPopoverOpen=T(this,"arcgisHubMapPopoverOpen",7),this.arcgisHubMapPopoverClear=T(this,"arcgisHubMapPopoverClear",7),this.hubTelemetry=T(this,"hubTelemetry",7),this.initialized=!1,this.cachedFeatures=[],this.unsavedExistingGeometry=[],this.cachedRelatedFeatureGeometry={},this.layerIds=[],this.persistAttribute="__persist__",this.view=void 0,this.discussionsRef=void 0,this.drawRef=void 0,this.searchRef=void 0,this.theme={},this.discussion=void 0,this.entity=void 0,this.entityId=void 0,this.entityType=void 0,this.discussionSettings=void 0,this.isHub=void 0,this.isMobile=void 0,this.activeFeature=void 0,this.activeMapDiscussion=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this._context=X(),this.viewHeight=void 0,this.viewWidth=void 0,this.preview=!0,this.previewHeight=void 0,this.leftOffset=void 0,this.topOffset=void 0,this.mapActionNoticeActive=void 0,this.activePost=void 0,this.activeGraphicDetails=void 0,N(this,"makeGraphic","makeCalloutGraphic","setCalloutSymbolOnPointerMove","calculateOffsets","handlePointerMove","handleMapClickDiscussions","handleViewSizeChange","handleMapDrawSelect","handleEditActiveGraphic","handleDeleteActiveGraphic","handlePostPendingGraphic","addRelatedFeature","removeRelatedFeature","cancelAddRelatedFeature","getRelatedFeature","renderAddLocation","renderRemoveLocation","renderPostLocationEditOptions","renderPostLocationPrimaryOptions")}async componentWillLoad(){this.initialize(),this.intl=await z.loadIntlForComponent(this.element),ee()}connectedCallback(){Z(this)}disconnectedCallback(){this.teardown(),this.disconnectContext()}eventTargetIsDiscussionsRef(e){return e.target===this.discussionsRef||e.target===this.onMapDiscussionsRef||e.target===this.onMapDiscussionsPreviewRef}emitHubTelemetry(e){this.hubTelemetry.emit(Object.assign(Object.assign({},e),{postId:this.sketchPostId,channelId:this.currentDiscussionsRef.channelId}))}async initialize(){let{view:e,_context:t}=this;if(this.saveInitialDrawOptions(),e&&t){if(await e.when(),this.addGeometryGraphicsLayer(),this.addStagedGeometryGraphicsLayer(),this.addCalloutGraphicsLayer(),this.addHighlightGraphicsLayer(),await this.fetchSubject(),this.fetchPosts(),this.handleViewSizeChange(),this.cachedFeatures.length)try{await this.refreshFeatures(this.cachedFeatures)}catch(s){console.warn("Cannot add discussions features to the map",s.message)}this.setDiscussionsRefHasMap(!0),this.mapViewSizeChangeHandler=te(()=>[e.height,e.width],this.handleViewSizeChange),this.mapViewCenterChangeHandler=te(()=>e.center,this.calculateOffsets),this.initialized=!0}}attachView(e,t){let{initialized:s}=this;e&&e!==t?(s&&this.teardown(),this.initialize()):!e&&s&&this.teardown()}attachdiscussionsRef(e){let{initialized:t}=this;e&&!t&&this.initialize()}handleDrawRefUpdate(){this.saveInitialDrawOptions()}calculateOffsets(){let{view:e,preview:t,graphicGeometry:s,isOffset:i,previewHeight:r,activeMapDiscussion:a}=this;if(e&&a&&s){let{container:o}=e,{top:n,left:h,right:c}=o.getBoundingClientRect(),d=e.toScreen(s),l=i?d.x+5:d.x,p=i?d.y-34:d.y;this.leftOffset=t?l+h:c,this.topOffset=t?p+n-r:n}}handlePreviewDidLoad(e){let{detail:t}=e;this.previewHeight=0,this.previewHeight=t}handlePreviewExpanded(){this.preview=!1}handleSearchWidgetPanelToggled(e){let{target:t,detail:s}=e,{searchRef:i}=this;t===i&&!s&&(this.activeMapDiscussion=void 0,this.preview=!1,this.clearHoverActiveGraphics(!0))}handleGeometryGoTo(e){let{detail:t}=e,s=[...this.geometryGraphicsLayer.graphics.toArray(),...this.calloutGraphicsLayer.graphics.toArray()],i=[];if(t){let r=t.id,a=t.parentId?t.parentId:t.id;i=s.filter(({attributes:{id:o,parentId:n}})=>o===a||r&&n===r)}else{let{activeMapDiscussion:{locationId:r}}=this;i=s.filter(({attributes:{relatedFeatureId:a}})=>a===r)}i.length&&this.goTo(i)}handleGeometryFeature(e){let{detail:{post:t,create:s}}=e;this.unsavedExistingGeometry=[],this.cachedFeatures=this.cachedFeatures.filter(({properties:{id:r}})=>r!==t.id),M(t)&&(this.cachedFeatures=[...this.cachedFeatures,...M(t)],s&&this.cachedFeatures.map(r=>{let{properties:{id:a}}=r,{parentId:o}=t;return a===o&&("replyCount"in r.properties||(r.properties.replyCount=0),r.properties.replyCount+=1),r}),this.refreshFeatures(this.cachedFeatures),this.clearHoverActiveGraphics(!0))}handleGeometryFeatureDeleted(e){let{detail:{id:t,parentId:s}}=e;this.cachedFeatures=this.cachedFeatures.filter(({properties:{id:i}})=>i!==t).map(i=>{let{properties:{id:r}}=i;return r===s&&(i.properties.replyCount-=1),i}),this.refreshFeatures(this.cachedFeatures),this.clearHoverActiveGraphics(!0)}handleGeometryFeatureSelect(e){this.selectFeature(e.detail)}selectFeature(e){let{properties:{id:t,relatedFeatureId:s,index:i,unsaved:r}}=e;this.clearHoverActiveGraphics();let a=this.getMatchingGraphic(e);if(a&&this.addHighlightGraphic(!1,a,w.ACTIVE,!1),r){let o=this.unsavedGeometryGraphicsLayer.graphics.getItemAt(i);s&&(o=this.makeGraphic(e)),this.goTo(o)}else{let o=this.calloutGraphicsLayer.graphics.find(n=>{let{attributes:{relatedFeatureId:h,id:c,__index__:d}}=n;return s?s==h:c==t&&(d===null||i==d)});if(o){this.addHighlightGraphic(!0,o,w.ACTIVE,!1);let n=s?this.cachedRelatedFeatureGeometry[s].arcgis:this.getGraphicById(t,i);this.goTo(n)}}}handleGeometryFeatureHighlight(e){let{detail:{properties:{id:t,relatedFeatureId:s,index:i,unsaved:r}}}=e;this.clearHoverActiveGraphics();let a=this.getMatchingGraphic(e.detail);if(a&&this.addHighlightGraphic(!1,a,w.HOVER,!1),!r){let o=this.calloutGraphicsLayer.graphics.find(n=>{let{attributes:{relatedFeatureId:h,id:c,__index__:d}}=n;return s?s==h:c==t&&(d===null||i==d)});o&&this.addHighlightGraphic(!0,o,w.HOVER,!1)}}handleFeatureRemove(e){let{detail:{properties:{id:t,relatedFeatureId:s,index:i,unsaved:r}}}=e;this.removeGraphic(t,s,i,r)}removeGraphic(e,t,s,i){let{currentDiscussionsRef:{unsavedFeatures:r,unsavedRelatedFeatures:a,unsavedExistingFeatures:o}}=this;if(i)if(t)this.currentDiscussionsRef.unsavedRelatedFeatures=[...a.slice(0,s),...a.slice(s+1,a.length)];else{this.currentDiscussionsRef.unsavedFeatures=[...r.slice(0,s),...r.slice(s+1,r.length)];let n=this.unsavedGeometryGraphicsLayer.graphics.getItemAt(s);this.unsavedGeometryGraphicsLayer.graphics.remove(n)}else{let n=l=>{let{attributes:{relatedFeatureId:p,id:v,__index__:y}}=l;return t?t==p:v==e&&(y===null||+s==+y)},h=this.calloutGraphicsLayer.graphics.find(n);h&&(h.visible=!1);let c=this.geometryGraphicsLayer.graphics.find(n);c&&(c.visible=!1);let d=this.postToGeoJSON(null,{id:e,index:+s});this.currentDiscussionsRef.unsavedExistingFeatures=[...o.filter(({properties:{id:l,index:p}})=>!(e===l&&+s==+p)),d]}this.clearHoverActiveGraphics(!0)}handleGeometryDrawCreate(e){let{detail:{post:t,postType:s}}=e;this.sketchPostType=s,this.sketchPostId=t?.id,this.drawRef.buffer=!1,this.drawRef.disablePrimaryOptions=!0,this.drawRef.disableEditOptions=!0,this.drawRef.drawTip=void 0,this.drawRef.enableMapTips=!0}handleGeometryDrawTypeSelect(e){this.mapActionNoticeActive=!0,this.drawRef.setActiveTool(e.detail)}handleGeometryDrawDone(){this.mapActionNoticeActive=!1,this.drawRef.setActiveTool(void 0),this.deletePendingGraphics()}handleGeometryDrawCancel(){this.drawRef.setActiveTool(void 0)}handleActiveToolChange(e){let{detail:t}=e;t&&(this.deletePendingGraphics(),this.arcgisHubMapPopoverClear.emit())}handleGeometryDrawEdit(e){let{detail:{properties:{id:t,index:s,unsaved:i}}}=e;this.preview=!1,this.editGraphic(t,s,i)}editGraphic(e,t,s){let{drawRef:i}=this,{geometry:r}=s?this.unsavedGeometryGraphicsLayer.graphics.getItemAt(t):this.getGraphicById(e,t);this.hideLayers(),this.goTo(r),this.sketchPostId=e,this.sketchIndex=t,this.sketchIsUnsaved=s,this.drawRef.geometry=void 0,setTimeout(()=>{i.geometry=r,i.disablePrimaryOptions=!0,i.disableEditOptions=!1,i.buffer=!1,i.enableMapTips=!0},0)}handlePostEditorReady(e){this.activePost=e.detail}handleGeometryDrawEditCancel(){this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures],this.drawRef.forceReset(),this.showLayers()}handleDrawGraphicsChange(e){var t;let{detail:{graphics:s,save:i,canceled:r,unsaved:a}}=e,{sketchPostId:o,sketchIndex:n,sketchIsUnsaved:h}=this,c=s.getItemAt(0);if(c.geometry=oe(c.geometry.clone(),W(this.view),!1),i&&this.drawRef.disablePrimaryOptions){this.drawRef.disableEditOptions=!0;let d=j(c.geometry),l=F(d);if(h){let v=this.currentDiscussionsRef.unsavedFeatures.map((b,R)=>(R===n&&(b.geometry=l),b));this.currentDiscussionsRef.unsavedFeatures=v;let y=this.unsavedGeometryGraphicsLayer.graphics.getItemAt(n);y.geometry=c.geometry,!((t=y.attributes)===null||t===void 0)&&t.pending&&setTimeout(()=>{this.activeGraphicDetails={id:o,index:n,unsaved:!0,geometry:c.geometry},this.arcgisHubMapPopoverOpen.emit({geometry:c.geometry,view:this.view,render:this.renderPostLocationPrimaryOptions,source:"action"})},150)}else{let v=this.postToGeoJSON(l,{index:n,id:o});this.currentDiscussionsRef.unsavedExistingFeatures=[...this.currentDiscussionsRef.unsavedExistingFeatures.filter(({properties:{index:R}})=>R!==n),v];let y=this.getGraphicById(o,n);this.unsavedExistingGeometry.filter(({id:R,index:x})=>R===o&&x===n).length||this.unsavedExistingGeometry.push({id:o,index:n,geometry:y.geometry.clone()}),y.geometry=c.geometry}this.drawRef.forceReset(),this.showLayers();let p=S(l);this.emitHubTelemetry(D.dictionary.category.content.action.update.label.location.details[p])}else if(r)this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures],this.drawRef.forceReset(),this.showLayers();else if(a){this.drawRef.forceReset(),c.symbol=I[c.geometry.type](w.DEFAULT,this.themeWithDefaults[c.geometry.type]),c.attributes={pending:!0},this.addGraphicsToGraphicsLayer(this.unsavedGeometryGraphicsLayer,[c]);let d=[];s.forEach(l=>{let p=j(l.geometry),v=F(p);d.push({type:"Feature",geometry:v,properties:{id:this.sketchPostId,pending:!0}});let y=S(v);this.emitHubTelemetry(D.dictionary.category.content.action.create.label.location.details[y])}),this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures,...d],setTimeout(()=>{this.activeGraphicDetails={id:o,index:this.unsavedGeometryGraphicsLayer.graphics.length-1,unsaved:!0,geometry:c.geometry},this.arcgisHubMapPopoverOpen.emit({geometry:c.geometry,view:this.view,render:this.renderPostLocationPrimaryOptions,source:"action"})},250)}}handleGeometryDrawReset(){this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures],this.restoreInitialDrawOptions(),this.showLayers()}handleGeometryClearAll(){this.resetStagedFeatures(),this.restoreInitialDrawOptions(),this.showLayers(),this.unsavedGeometryGraphicsLayer.graphics.removeAll();let e=t=>{t.visible=!0};this.geometryGraphicsLayer.graphics.forEach(e),this.calloutGraphicsLayer.graphics.forEach(e),this.mapActionNoticeActive=!1,this.activePost=void 0}async handleMapDrawSelect(e){let{detail:t}=e,{targetLayer:s}=this,{results:i}=await this.view.hitTest(t,{include:s}),r=C(i);if(r?.graphic&&this.drawRef.disableEditOptions){let{graphic:a}=r,o=a.layer.objectIdField,n=a.attributes[o];if(this.cacheRelatedFeatureGeometry([n]),!a.attributes.hasOwnProperty(s.displayField)){let{features:[d]}=await s.queryFeatures({objectIds:[n],outFields:["*"],returnGeometry:!1});d&&(a.attributes=d.attributes)}let h=this.currentDiscussionsRef.unsavedRelatedFeatures.map(d=>d.objectId),c=this.renderAddLocation;h.includes(n)&&(c=this.renderRemoveLocation),this.selectedGraphic=a,this.drawRef.enableMapTips=!1,this.arcgisHubMapPopoverOpen.emit({geometry:a.geometry,view:this.view,render:c,source:"action"}),this.highlightGraphic(a)}else this.selectedGraphic=null,this.drawRef.enableMapTips=!0,this.highlightGraphic()}handleDiscussionsClose(e){(e.target===this.onMapDiscussionsRef||e.target===this.onMapDiscussionsPreviewRef)&&(this.activeMapDiscussion=void 0,this.preview=!1,this.clearHoverActiveGraphics(!0))}addRelatedFeature(){let e=this.selectedGraphic.layer.objectIdField,t=this.selectedGraphic.attributes[e];this.selectedGraphic.geometry=j(this.selectedGraphic.geometry);let s={postId:this.sketchPostId,objectId:t,feature:F(this.selectedGraphic.toJSON())};this.currentDiscussionsRef.unsavedRelatedFeatures=[...this.currentDiscussionsRef.unsavedRelatedFeatures,s],this.highlightGraphic(),this.arcgisHubMapPopoverClear.emit(),this.drawRef.enableMapTips=!0,this.emitHubTelemetry(D.dictionary.category.interaction.action.select.label.content)}removeRelatedFeature(){let{currentDiscussionsRef:{unsavedRelatedFeatures:e}}=this,t=this.selectedGraphic.layer.objectIdField,s=this.selectedGraphic.attributes[t],i=this.currentDiscussionsRef.unsavedRelatedFeatures.findIndex(r=>r.objectId==s);this.currentDiscussionsRef.unsavedRelatedFeatures=[...e.slice(0,i),...e.slice(i+1,e.length)],this.cancelAddRelatedFeature(),this.emitHubTelemetry(D.dictionary.category.interaction.action.deselect.label.content)}cancelAddRelatedFeature(){this.arcgisHubMapPopoverClear.emit(),this.selectedGraphic=null,this.drawRef.enableMapTips=!0,this.clearHighlights()}setDiscussionsRefHasMap(e){this.discussionsRef&&(this.discussionsRef.hasMap=e)}teardown(){this.clearHighlights(),this.removeViewHandlers(),this.removeLayers(),this.resetSelect(),this.setDiscussionsRefHasMap(!1)}async fetchSubject(){let{discussion:e,entity:t,entityId:s,entityType:i,_context:r,discussionSettings:a}=this,o=await q({discussion:e,entity:t,entityId:s,entityType:i,discussionSettings:a},r.hubRequestOptions,!0);Object.assign(this,o)}fetchPosts(){he(this.searchParams,this._context.hubRequestOptions).then(e=>{e?.features&&(this.cachedFeatures=e.features,this.initialized&&this.refreshFeatures(e.features))})}addGeometryGraphicsLayer(){this.geometryGraphicsLayer=new H({graphics:[],elevationInfo:{mode:"on-the-ground"}}),this.view.map.add(this.geometryGraphicsLayer),this.layerIds.push(this.geometryGraphicsLayer.id)}addStagedGeometryGraphicsLayer(){this.unsavedGeometryGraphicsLayer=new H({graphics:[],elevationInfo:{mode:"on-the-ground"}}),this.view.map.add(this.unsavedGeometryGraphicsLayer),this.layerIds.push(this.geometryGraphicsLayer.id)}addCalloutGraphicsLayer(){this.calloutGraphicsLayer=new H({graphics:[],effect:"drop-shadow(0px, 2px, 8px, rgba(0, 0, 0, .20))",elevationInfo:{mode:"relative-to-ground"}}),this.view.map.add(this.calloutGraphicsLayer),this.layerIds.push(this.calloutGraphicsLayer.id),this.mapPointerMoveHandler=this.view.on("pointer-move",this.handlePointerMove),this.mapClickDiscussionsHandler=this.view.on("click",this.handleMapClickDiscussions)}addHighlightGraphicsLayer(){this.highlightGraphicsLayer=new H({graphics:[],elevationInfo:{mode:"relative-to-ground"}}),this.view.map.add(this.highlightGraphicsLayer),this.layerIds.push(this.highlightGraphicsLayer.id)}addHighlightGraphic(e,t,s,i){var r,a,o;let{themeWithDefaults:n,highlightGraphicsLayer:h,persistAttribute:c,is3D:d}=this,l=t.clone();if(e)l.symbol=I.callout(s,Object.assign(Object.assign({},n.callout),{isOffset:(r=t?.attributes)===null||r===void 0?void 0:r.isOffset,is3D:d}),(a=l.attributes)===null||a===void 0?void 0:a.totalCount);else if(!((o=t?.geometry)===null||o===void 0)&&o.type){let p=t.geometry.type;l.symbol=I[t.geometry.type](s,Object.assign({},n[p])),this.clearHoverActiveGraphics(i)}l.attributes=Object.assign(Object.assign({},l.attributes),{[c]:i}),h.add(l)}setCalloutSymbolOnPointerMove(e){this.view.hitTest(e,{include:this.calloutGraphicsLayer}).then(t=>{if(this.clearHoverActiveGraphics(!1),t.results.length){let s=C(t.results),{graphic:i}=s;this.addHighlightGraphic(!0,i,w.HOVER,!1)}})}setLocationEditPopover(e){this.view.hitTest(e,{include:[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer]}).then(t=>{if(t.results.length){let{results:[s]}=t,i=s.layer===this.unsavedGeometryGraphicsLayer,r=s.layer===this.geometryGraphicsLayer,a,o,n;if(i){let h=this.unsavedGeometryGraphicsLayer.graphics.findIndex(c=>c===s.graphic);a=void 0,o=h,n=!0}if(r&&this.activePost){let{id:h}=this.activePost,{graphic:{attributes:{id:c,__index__:d}}}=s,l=d||null;h===c&&(a=h,o=l,n=!1)}if(o!==void 0){let{geometry:h,attributes:c}=s.graphic;this.activeGraphicDetails={id:a,index:o,unsaved:n,geometry:h};let d=c?.pending?this.renderPostLocationPrimaryOptions:this.renderPostLocationEditOptions;this.arcgisHubMapPopoverOpen.emit({geometry:h,view:this.view,render:d,source:"action"})}}})}publishPendingGraphics(){this.unsavedGeometryGraphicsLayer.graphics.forEach(e=>{e.attributes.pending&&delete e.attributes.pending}),this.currentDiscussionsRef.unsavedFeatures=this.currentDiscussionsRef.unsavedFeatures.map(e=>(e.properties.pending&&delete e.properties.pending,e))}deletePendingGraphics(){let e=this.unsavedGeometryGraphicsLayer.graphics.find(t=>{var s;return(s=t.attributes)===null||s===void 0?void 0:s.pending});this.unsavedGeometryGraphicsLayer.remove(e),this.currentDiscussionsRef&&(this.currentDiscussionsRef.unsavedFeatures=this.currentDiscussionsRef.unsavedFeatures.filter(t=>t.properties.pending?!t.properties.pending:!0))}removeLayers(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer,this.highlightGraphicsLayer].forEach(e=>this.removeLayer(e))}hideLayers(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer,this.highlightGraphicsLayer].forEach(e=>e.opacity=.1)}showLayers(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer,this.highlightGraphicsLayer].forEach(e=>e.opacity=1)}removeLayer(e){e&&e.destroy()}emptyFeatures(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer].forEach(e=>e.removeAll())}addGraphicsToGraphicsLayer(e,t){e.addMany(t)}async refreshFeatures(e){this.emptyFeatures(),this.resetSelect(),e.forEach(l=>{var p;return l.properties.totalCount=(p=l.properties.replyCount)!==null&&p!==void 0?p:0});let t=({geometry:l})=>!!l,s=e.map(this.makeGraphic).filter(t),i=e.map(this.makeCalloutGraphic).filter(t),r=({properties:l})=>!!P(l.discussion).features,a=e.filter(r),o=Array.from(new Set(a.map(({properties:{discussion:l}})=>P(l).features.map(p=>p)).flat()));await this.cacheRelatedFeatureGeometry(o);let n=[],h=[];for(let l of a){if(h.includes(l.properties.id))continue;h.push(l.properties.id);let{properties:p}=l,{features:v}=P(p.discussion);p.totalCount=0,v.forEach(y=>{var b;let R=({properties:{relatedFeatureId:G}})=>G==y,x=n.find(R);if(x){let{properties:G}=x,ie=((b=p.totalCount)!==null&&b!==void 0?b:0)+1;G.totalCount+=ie}else try{let G=this.getRelatedFeature(y);G.properties=Object.assign(Object.assign({},l.properties),{relatedFeatureId:y}),n.push(G)}catch(G){console.warn("Failed to access post related feature:",G.message)}})}let c=n.map(this.makeCalloutGraphic),d=[...i,...c];this.addGraphicsToGraphicsLayer(this.geometryGraphicsLayer,s),this.addGraphicsToGraphicsLayer(this.calloutGraphicsLayer,d),this.activeFeature&&(this.selectFeature(this.activeFeature),this.activeFeature=void 0)}pointToExtent(e,t=.0025){let{x:s,y:i,spatialReference:r}=e;return new re({xmin:s-t,ymin:i-t,xmax:s+t,ymax:i+t,spatialReference:r})}goTo(e){if(!this.view)return;let t=e;t.geometry&&t.geometry.type==="point"&&(t=this.pointToExtent(t.geometry)),t.extent&&(t=t.extent.clone().expand(2)),this.view.goTo({target:t},{duration:1e3}).catch(s=>{ae(s)||console.error("Failed to zoom map to target feature or extent:",s.message)})}postToGeoJSON(e,t){return{type:"Feature",geometry:e,properties:t}}makeGraphic(e){var t;let s=E(e),i=k.fromJSON(s);return!((t=i?.geometry)===null||t===void 0)&&t.type&&(i.symbol=I[i.geometry.type](w.DEFAULT,this.themeWithDefaults[i.geometry.type])),i}makeCalloutGraphic(e){var t;let{is3D:s}=this,{callout:i}=I,{geometry:r,properties:a}=e,[o,n]=r.coordinates.flat(1/0),h=!a.relatedFeatureId&&e.geometry.type==="Point",c=E({type:"Feature",geometry:{type:"Point",coordinates:[o,n]},properties:Object.assign(Object.assign({},a),{replyCount:a.replyCount||0,isOffset:h})}),d=k.fromJSON(c);return d.symbol=i(w.DEFAULT,Object.assign(Object.assign({},this.themeWithDefaults.callout),{isOffset:h,is3D:s}),(t=e.properties)===null||t===void 0?void 0:t.totalCount),d}getRelatedFeature(e){return{type:"Feature",geometry:this.cachedRelatedFeatureGeometry[e].geojson,properties:{}}}async cacheRelatedFeatureGeometry(e){let{cachedRelatedFeatureGeometry:t,targetLayer:s}=this;if(!s){console.warn("Discussions service layer not defined; ingnoring related features");return}let i=Object.keys(t),r=e.filter(a=>!i.includes(`${a}`));if(r.length){let a={where:"1=1",objectIds:r.map(n=>+n),returnGeometry:!0,outSpatialReference:{wkid:4326},outFields:[this.targetLayer.objectIdField,this.targetLayer.displayField]},{features:o}=await this.targetLayer.queryFeatures(a);o.forEach(({geometry:n,attributes:h})=>{let c=F(n);this.cachedRelatedFeatureGeometry[h[this.targetLayer.objectIdField]]={arcgis:n,geojson:c}})}}getMatchingGraphic(e){let{properties:{id:t,relatedFeatureId:s,index:i,unsaved:r}}=e,a;return s&&this.cachedRelatedFeatureGeometry[s]?a=new k({geometry:this.cachedRelatedFeatureGeometry[s].arcgis}):a=r?this.unsavedGeometryGraphicsLayer.graphics.getItemAt(i):this.getGraphicById(t,i),a}getGraphicById(e,t){return this.geometryGraphicsLayer.graphics.find(({attributes:{id:i,__index__:r}})=>{let a=t!==null?t==r:!0;return i===e&&a})}highlightGraphic(e){this.clearHighlights(),e&&this.view.whenLayerView(e.layer).then(t=>{this.highlightHandle=t.highlight(e)})}clearHighlights(){this.highlightHandle&&(this.highlightHandle.remove(),this.highlightHandle=null)}clearHoverActiveGraphics(e){let{persistAttribute:t,highlightGraphicsLayer:s}=this;if(e)s.removeAll();else{let i=s.graphics.filter(({attributes:r})=>!r[t]);s.removeMany(i.toArray())}}removeViewHandlers(){[this.mapPointerMoveHandler,this.mapClickDiscussionsHandler,this.mapViewSizeChangeHandler,this.mapViewCenterChangeHandler].forEach(e=>{e&&(e.remove(),e=null)})}resetSelect(){this.clearHighlights()}saveInitialDrawOptions(){let{drawRef:{buffer:e,disableEditOptions:t,disablePrimaryOptions:s,enableMapTips:i}}=this;this.initialDrawOptions={buffer:e,disableEditOptions:t,disablePrimaryOptions:s,enableMapTips:i}}restoreInitialDrawOptions(){let{initialDrawOptions:{buffer:e,disableEditOptions:t,disablePrimaryOptions:s,enableMapTips:i}}=this;this.drawRef.buffer=e,this.drawRef.disableEditOptions=t,this.drawRef.disablePrimaryOptions=s,this.drawRef.enableMapTips=i,this.drawRef.setActiveTool(void 0),this.drawRef.forceReset()}resetStagedFeatures(){this.currentDiscussionsRef.unsavedFeatures=[],this.currentDiscussionsRef.unsavedRelatedFeatures=[],this.currentDiscussionsRef.unsavedExistingFeatures=[],this.unsavedExistingGeometry.forEach(({id:e,index:t,geometry:s})=>{let i=this.getGraphicById(e,t);i.geometry=s}),this.unsavedExistingGeometry=[]}handleMapClickDiscussions(e){this.view.hitTest(e,{include:[this.calloutGraphicsLayer]}).then(t=>{if(t.results.length){this.searchRef&&(this.searchRef.active=!1),this.preview=!1,this.clearHoverActiveGraphics(!0);let s=C(t.results),{graphic:i}=s;this.graphicGeometry=i.geometry,this.isOffset=i.attributes.isOffset;let{attributes:{parentId:r,channelId:a,id:o,relatedFeatureId:n}}=i;if(n){let h=n;this.activeMapDiscussion={channelId:a,locationId:h}}else this.activeMapDiscussion={channelId:a,postId:r?o:void 0,parentId:r||o};this.addHighlightGraphic(!0,i,w.ACTIVE,!0),setTimeout(()=>{this.preview=!0},0)}})}handleViewSizeChange(){let{view:{height:e,width:t}}=this;this.viewHeight=e,this.viewWidth=t}handlePointerMove(e){this.setCalloutSymbolOnPointerMove(e),this.setLocationEditPopover(e)}handleEditActiveGraphic(){let{id:e,index:t,unsaved:s}=this.activeGraphicDetails;this.editGraphic(e,t,s)}handleDeleteActiveGraphic(){let{id:e,index:t,unsaved:s}=this.activeGraphicDetails;this.removeGraphic(e,null,t,s),this.arcgisHubMapPopoverClear.emit()}handlePostPendingGraphic(){this.publishPendingGraphics(),this.arcgisHubMapPopoverClear.emit(),this.currentDiscussionsRef.unsavedFeatures.length===1&&(this.drawRef.drawTip=this.intl.t("draw.tip"))}get searchParams(){var e;let t={channels:(e=this.discussionSettings)===null||e===void 0?void 0:e.allowedChannelIds,discussion:this.discussion};return Object.entries(t).reduce((s,[i,r])=>r?Object.assign(Object.assign({},s),{[i]:r}):s,{})}get currentDiscussionsRef(){return this.activeMapDiscussion?this.onMapDiscussionsRef:this.discussionsRef}get themeWithDefaults(){let{theme:e}=this,t={};return["point","polyline","polygon","callout"].forEach(s=>{t[s]=Object.assign(Object.assign({},J[s]),e[s])}),t}get is3D(){let{view:e}=this;return e.hasOwnProperty("camera")}get targetLayer(){return this.view.map.allLayers.filter(e=>e.type==="feature"&&!this.layerIds.includes(e.id)).getItemAt(0)}get styles(){let{view:e,viewWidth:t,viewHeight:s,leftOffset:i,topOffset:r,previewHeight:a,preview:o}=this,n={};if(e){let{container:h}=e;if(!h)return;let{top:c,left:d,right:l,bottom:p}=h.getBoundingClientRect();n={"--left-offset":`${i??0}px`,"--top-offset":`${r??0}px`,"--panel-left":`${d??0}px`,"--panel-height":`${o?(s??0)-(a??0):(p??0)-(c??0)}px`,"--panel-width":`${(l??0)-(d??0)}px`,"--view-width":`${t??0}px`,"--view-height":`${s??0}px`}}return n}renderAddLocation(){let{intl:e,sketchPostType:t}=this;return f(_,null,f("calcite-action-group",null,f("calcite-action",{icon:"check",onClick:this.addRelatedFeature,text:e.t(`prompt.add.${t}`),textEnabled:!0})),f("calcite-action-group",null,f("calcite-action",{icon:"undo",onClick:this.cancelAddRelatedFeature,text:e.t("prompt.remove.existing"),textEnabled:!0})))}renderRemoveLocation(){return f("calcite-action-pad",{"expand-disabled":!0,expanded:!0,layout:"horizontal"},f("calcite-action",{icon:"trash",onClick:this.removeRelatedFeature,text:this.intl.t("location.remove"),textEnabled:!0}))}renderPostLocationPrimaryOptions(){let{activeGraphicDetails:{geometry:{type:e}},intl:t,sketchPostType:s}=this;return f(_,null,f("calcite-action-group",null,f("calcite-action",{icon:"check",onClick:this.handlePostPendingGraphic,text:t.t(`prompt.add.${s}`),"text-enabled":!0})),f("calcite-action-group",null,f("calcite-action",{icon:e==="point"?"move":"pencil",onClick:this.handleEditActiveGraphic,text:t.t(`prompt.edit.${e}`),"text-enabled":!0}),f("calcite-action",{icon:"trash",onClick:this.handleDeleteActiveGraphic,text:t.t(`prompt.remove.${e}`),"text-enabled":!0})))}renderPostLocationEditOptions(){let{intl:e}=this;return f("calcite-action-pad",{"expand-disabled":!0,layout:"horizontal"},f("calcite-action",{icon:"pencil",onClick:this.handleEditActiveGraphic,text:e.t("prompt.location.edit")}),f("calcite-action",{icon:"trash",onClick:this.handleDeleteActiveGraphic,text:e.t("prompt.location.delete")}))}renderMapDiscussion(){let{activeMapDiscussion:e,discussion:t,isHub:s,entityId:i,entity:r,entityType:a,showChannelAvatar:o,showChannelName:n,discussionSettings:h}=this;return this.preview?f("arcgis-hub-discussions-map-preview",{channelId:e.channelId,discussion:t,locationId:e.locationId,parentId:e.postId?e.parentId:void 0,postId:e.postId||e.parentId,ref:c=>{this.onMapDiscussionsPreviewRef=c},showChannelAvatar:o}):f("arcgis-hub-discussions",{channelId:e.channelId,disableNavigation:!e.locationId,discussion:t,discussionSettings:h,dismissible:!0,enableGoTo:!0,entity:r,entityId:i,entityType:a,hasMap:!0,isHub:s,locationId:e.locationId,parentId:e.parentId,postId:e.postId,ref:c=>{this.onMapDiscussionsRef=c},showChannelAvatar:o,showChannelName:n})}render(){let{activeMapDiscussion:e,styles:t,view:s,mapActionNoticeActive:i}=this;return f(Y,{key:"08966d19b2115881190463c6fbfc635f918f7080","data-element":"discussions-map-integrator",style:t},e&&this.renderMapDiscussion(),s&&i&&f("arcgis-hub-discussions-map-action-notice",{view:s}))}static get assetsDirs(){return["locales"]}get element(){return K(this)}static get watchers(){return{_context:["initialize"],view:["attachView"],discussionsRef:["attachdiscussionsRef"],drawRef:["handleDrawRefUpdate"],preview:["calculateOffsets"],previewHeight:["calculateOffsets"]}}};g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleGeometryGoTo",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleGeometryFeature",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleGeometryFeatureDeleted",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleGeometryFeatureSelect",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleGeometryFeatureHighlight",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleFeatureRemove",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleGeometryDrawCreate",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleGeometryDrawTypeSelect",null);g([m({when(e){return e.target===this.drawRef}})],u.prototype,"handleActiveToolChange",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleGeometryDrawEdit",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handlePostEditorReady",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleGeometryDrawEditCancel",null);g([m({when(e){return e.target===this.drawRef}})],u.prototype,"handleDrawGraphicsChange",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleGeometryDrawReset",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleGeometryClearAll",null);g([m({when(e){return this.eventTargetIsDiscussionsRef(e)}})],u.prototype,"handleDiscussionsClose",null);g([L({timeout:50})],u.prototype,"setLocationEditPopover",null);g([m({when(e){return e}}),L({timeout:50})],u.prototype,"refreshFeatures",null);g([m({when(){return this.geometryGraphicsLayer}})],u.prototype,"getGraphicById",null);g([m({when(){return this.highlightGraphicsLayer}})],u.prototype,"clearHoverActiveGraphics",null);g([m({when(){return this.drawRef}})],u.prototype,"saveInitialDrawOptions",null);g([m({when(){return this.drawRef&&this.initialDrawOptions}})],u.prototype,"restoreInitialDrawOptions",null);g([m({when(){return this.currentDiscussionsRef}})],u.prototype,"resetStagedFeatures",null);g([m({when(){return!this.mapActionNoticeActive}})],u.prototype,"handleMapClickDiscussions",null);g([L({timeout:50})],u.prototype,"handleViewSizeChange",null);g([L({timeout:15})],u.prototype,"handlePointerMove",null);g([m({when(){return!!(this.drawRef&&!this.drawRef.geometry)}})],u.prototype,"renderPostLocationPrimaryOptions",null);g([m({when(){return!!(this.drawRef&&!this.drawRef.geometry)}})],u.prototype,"renderPostLocationEditOptions",null);u.style=le;return u},"layers/GraphicsLayer","core/reactiveUtils","geometry/support/webMercatorUtils","geometry/Extent","Graphic","core/promiseUtils","geometry/geometryEngine","config",a,b,c)
|
|
@@ -0,0 +1,4 @@
|
|
|
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.0 */
|
|
4
|
+
import"./BDXBURUK.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.0 */
|
|
4
|
+
import e from"./4EBBCW42.js";import b from"./IZ6H76EE.js";import a from"./IVV63KTV.js";import"./Y2DSR76S.js";import"./YWQNI2SV.js";import{b as y}from"./G4LKMC57.js";import{a as g}from"./X7WQNHI3.js";import"./DHGDUNNH.js";import"./27FLEGHZ.js";import"./LAIR3OSC.js";import"./VEPZUNMN.js";import"./LAAP4I6C.js";import"./HEZJ7DOK.js";import"./WA43XNYY.js";import"./KUTLSXHF.js";import"./5J7VDQC4.js";import"./PLHL5UFC.js";import"./BIWTZJUY.js";import"./WNFLKDZG.js";import{a as l}from"./RDFT5USS.js";import{a as p}from"./AFSZKCK2.js";import{c as S}from"./CQAK4TGZ.js";import"./DDVSAGAS.js";import"./CA3VX2WP.js";import"./XP4K6N4W.js";import{a as h}from"./MGARNSGE.js";import"./MAZ3SFCT.js";import"./SXYKSNPO.js";import{b as s,c as k,d as T,e as c,h as d,i as w}from"./LGLLAWT2.js";import"./7VB7A2H4.js";import"./X6J4TYWF.js";import"./3JNAT4SP.js";import"./YAUUDO4N.js";import"./RXPRTPXL.js";import"./VGDK25FG.js";import"./RX7RKUFG.js";import"./T2JM2O2N.js";import"./7LKI4MAS.js";import"./LFFXVOB2.js";import"./2Q7N3VTN.js";import"./DFHZ77QH.js";import"./L575FMMH.js";import"./WY2JMGND.js";import"./7YRPD5M7.js";import"./VPU3K637.js";import"./ZAX2GCPA.js";import"./T423MOSD.js";import"./OY2SC4S6.js";import"./S5OYZGMG.js";import"./UU3DVVP3.js";import"./PUASWADS.js";import"./XOKSVX25.js";import"./QOWEAYBP.js";import"./WJVVBPCR.js";import"./TO7PWQSH.js";import"./BQF2QL22.js";import"./PVPDWOUB.js";import"./ZD76WYVI.js";import"./MOTZU7NR.js";import"./FYP25KOE.js";import"./FCUEWYTZ.js";import"./KFCEEDPL.js";import"./4SZNI4MP.js";import"./RKJUGWWT.js";import"./YEAHCK6W.js";import"./EFGZAV2T.js";import"./CSE7FAQ3.js";import"./EJJQ2UK2.js";import"./ZE4MKDL5.js";import"./3PWJPLDP.js";import"./FRQRCEIH.js";import"./JEOUKTVK.js";import"./CO4G47BQ.js";import"./5CWBXLGB.js";import"./BNAKZQZI.js";import"./373LXB3P.js";import"./N7E4CXET.js";import"./BXV3JSX6.js";import"./A6WF23BV.js";import"./XR5YURZB.js";import"./OOVSD2A7.js";import"./IPOPVO6A.js";import"./MMWYUPJQ.js";import"./P6HEL5XE.js";import"./7X4LS3TV.js";import"./BN3ZBJVG.js";import"./YD2WDSSU.js";import"./YJCARB73.js";import"./E6XMJ525.js";import{a as u}from"./RZ2RWSEX.js";import"./BDXBURUK.js";export default $arcgis.t(([,,{d:b},{a:_,b:f,c:C}])=>{var x=["thumbnail","title","type","source","updated","actions"],v=["thumbnail","title","managers","sharedUpdate","updated","actions"],D=["thumbnail","title","owner","start","end","location","access","actions"],H=["thumbnail","title","source","access","created","actions"],m=["thumbnail","title","username","actions"],M=["thumbnail","title","source","created","actions"],L=["title","created","updated","actions"],N={item:x,group:v,event:D,eventAttendee:m,channel:H,discussionPost:L,communityUser:m,groupMember:m,portalUser:m,user:m,organization:M,post:L},O=(t,e,r,i=N[t])=>i.map(n=>{var o;return typeof n=="string"?(o=A[n])===null||o===void 0?void 0:o.call(A,e,r):n}).filter(Boolean),F=(t,e)=>t.showThumbnail&&{header:"{{thumbnail:translate}}",key:"thumbnail",formatter:(r,{viewModel:i})=>{let a;return i.type==="User"||i.type==="channel"?a=s("calcite-avatar",{fullName:i.title,label:"avatar",scale:"s",thumbnail:i.thumbnailUrl,userId:i.id,username:i.source}):a=s("arcgis-hub-image",{alt:i.title,fallback:f(i),lazy:!0,src:_(i,40,e)}),a},contentCellAlignment:l.center,headerCellAlignment:l.center},G=(t,e)=>{let r=s(d,null,t.title),i=t.titleUrl;return i&&(r=s("calcite-link",{href:i,iconEnd:e?"launch-2":"",target:e?"_blank":"_self"},t.title)),r},I=(t,e)=>({header:"{{title:translate}}",key:"viewModel.title",formatter:(r,i)=>G(i.viewModel,t.newTab)}),P=(t,e)=>({header:"{{type:translate}}",key:"searchResult.type"}),V=(t,e)=>({header:"{{owner:translate}}",key:"viewModel.source"}),z=(t,e)=>({header:"{{sharedUpdate:translate}}",key:"searchResult.isSharedUpdate",formatter:(r,i,a,n)=>r?n.t("yes"):n.t("no"),contentCellAlignment:l.center,headerCellAlignment:l.center}),Y=(t,e)=>({header:"{{managers:translate}}",key:"searchResult.id",formatter:(r,i,a,n)=>s("arcgis-hub-group-member-summary",{identifier:r,memberType:"admin",slot:"subtitle"})}),j=(t,e)=>({header:"{{dateCreated:translate}}",key:"searchResult.createdDate",formatter:(r,i,a,n)=>n.formatDate(r)}),B=(t,e)=>({header:"{{dateUpdated:translate}}",key:"searchResult.updatedDate",formatter:(r,i,a,n)=>n.formatDate(r)}),K=(t,e)=>({header:"{{owner:translate}}",key:"searchResult.owner"}),W=(t,e)=>({header:"{{access.label:translate}}",key:"searchResult.access",formatter:(r,i,a,n)=>n.t(`access.${r}`)}),$=(t,e)=>({header:"{{description:translate}}",key:"searchResult.summary",formatter:r=>y(r,"noHtml"),multilineCellEllipsis:{lines:1}}),q=(t,e)=>({header:"{{start:translate}}",key:"searchResult.rawResult.startDateTime",formatter:(r,i,a,n)=>n.formatDate(r,{dateStyle:"medium",timeStyle:"short"})}),J=(t,e)=>({header:"{{end:translate}}",key:"searchResult.rawResult.endDateTime",formatter:(r,i,a,n)=>n.formatDate(r,{dateStyle:"medium",timeStyle:"short"})}),Q=(t,e)=>({header:"{{username:translate}}",key:"searchResult.id",formatter:r=>`@${r}`}),X=(t,e)=>({header:"{{location:translate}}",key:"searchResult.location.name"}),Z=(t,e)=>t.showRowActions&&{header:"{{actionsHeader:translate}}",key:"cardActions"},A={thumbnail:F,title:I,source:V,owner:K,type:P,access:W,summary:$,location:X,sharedUpdate:z,managers:Y,created:j,updated:B,start:q,end:J,username:Q,actions:Z},tt=":host{display:block}.actions-container{display:flex;flex-wrap:nowrap;gap:0.5rem}calcite-table-cell>*{pointer-events:none}calcite-table-cell:has(:is(calcite-link,calcite-action,calcite-button))>*{pointer-events:auto}div:has(arcgis-hub-image),div:has(calcite-avatar){display:flex;align-items:center;justify-content:center}div:has(arcgis-hub-group-member-summary){min-width:max-content;--calcite-font-weight-medium:var(--calcite-font-weight-normal)}arcgis-hub-image{width:40px}calcite-table-cell calcite-link{overflow-wrap:anywhere}",et=tt,rt=class{get shouldRenderEmptyState(){return!this.searchResults.length&&this.showEmptyState||this.hasError}constructor(t){w(this,t),this.arcgisHubCardSelect=c(this,"arcgisHubCardSelect",7),this.arcgisHubCardAction=c(this,"arcgisHubCardAction",7),this.arcgisHubGalleryLinkClick=c(this,"arcgisHubGalleryLinkClick",7),this.hubTelemetry=c(this,"hubTelemetry",7),this.searchResults=[],this.loading=!1,this.selectedIds=[],this.baseUrl=void 0,this.entityType=void 0,this.linkTarget="self",this.limit=10,this.newTab=!1,this.selectionMode="none",this.showAdditionalInfo=!0,this.showType=!0,this.showOwner=!0,this.cardActionLinks=[],this.showEmptyState=!0,this.showThumbnail=!0,this.disableTelemetry=!1,this.lastSearchResultsCount=void 0,this.hasError=!1,this.callback=void 0,this.columns=void 0,p(this,"handleSelect","_renderRow","setNextResultsStart","onTitleLinkClick")}async componentWillLoad(){this.intl=await h.loadIntlForComponent(this.element)}get context(){return S()}get _showType(){return this.showType&&!["group","user"].includes(this.entityType)}handleSelect(t){let e=t.target.dataset.id;this.arcgisHubCardSelect.emit({id:e})}componentDidUpdate(){setTimeout(()=>{var t,e;(e=(t=this.nextResultsStart)===null||t===void 0?void 0:t.shadowRoot.querySelector("td"))===null||e===void 0||e.focus({preventScroll:!0})},200)}setNextResultsStart(t){this.nextResultsStart=t}_renderLoading(){return s("div",{class:"card-container"},s("arcgis-skeleton-loader",{active:!0,rows:this.limit}))}_renderEmptyState(){let t=this.intl.t("helpState.noResults.message"),e="no-results-action";return this.hasError&&(t=this.intl.t("helpState.error.message"),e="search-error-action"),s(d,null,s("arcgis-hub-help-state",{icon:"file-magnifying-glass"},s("div",{"aria-live":"polite",role:"status",slot:"message"},s("h3",null,t)),s("span",{slot:"actions"},s("div",{class:"no-results-action-container"},s("slot",{name:e})))))}rowActionHandler(t,e){this.arcgisHubCardAction.emit({action:t,model:e})}getViewModel(t){let e={actionLinks:this.cardActionLinks,baseUrl:this.baseUrl,locale:this.intl.locale,target:this.linkTarget};return C(t,"table-row",e,this.callback,this.context,this.intl)}_renderActionLinks(t){let e=t.viewModel.actionLinks.map((r,i)=>{let a=r.label;!a&&r.i18nKey&&(a=this.intl.t(r.i18nKey));let n=r.action&&this.rowActionHandler.bind(this,r.action,t.viewModel),o=s("calcite-button",{appearance:r.buttonStyle,disabled:r.disabled,href:r.href,iconStart:r.icon,key:i,label:r.ariaLabel||a,onClick:n||void 0,scale:"s",target:this.newTab?"_blank":"_self",width:"full"},r.showLabel&&a);return r.tooltip?s("arcgis-ref-tooltip",{isSlottedElDisabled:r.disabled,key:a,overlayPositioning:"fixed",placement:"top",text:r.tooltip},o):o});return s("div",{class:"actions-container"},e)}_renderCellContent(t,e){let r={width:t.cellWidth},i=t.multilineCellEllipsis?"arcgis-multiline-ellipsis":"div";return s(i,Object.assign({},t.multilineCellEllipsis,{style:r}),e)}onTitleLinkClick(t){let e=this.getViewModel(this.searchResults[0]),r=b(this.linkTarget,e);!this.disableTelemetry&&r&&this.hubTelemetry.emit(r),this.arcgisHubGalleryLinkClick.emit({model:e,event:t})}_renderCell(t,e,r){let i;if(t.key==="cardActions")i=this._renderActionLinks(e);else{let a=u(e,t.key);i=t.formatter?t.formatter(a,e,t.key,this.intl):a}return s("calcite-table-cell",{alignment:t.contentCellAlignment,key:t.key,onClick:t.key==="viewModel.title"?this.onTitleLinkClick:void 0,ref:r?this.setNextResultsStart:void 0},this._renderCellContent(t,i))}_renderRow(t,e){let r=this.getViewModel(t),i={searchResult:t,viewModel:r},a=this.selectedIds.includes(t.id),n=e===this.lastSearchResultsCount;return s("calcite-table-row",{"data-id":t.id,key:t.id,onCalciteTableRowSelect:this.handleSelect,selected:a},this._columns.reduce((o,U,R)=>{let E=this._renderCell(U,i,n&&R===0);return o.push(E),o},[]))}_renderHead(){return s("calcite-table-row",{slot:"table-header"},this._columns.reduce((t,e)=>(t.push(s("calcite-table-header",{alignment:e.headerCellAlignment,description:e.description,heading:e.header})),t),[]))}get _columns(){let{cardActionLinks:t,newTab:e,showThumbnail:r}=this,i={newTab:e,showThumbnail:r,showRowActions:!!t.length},a=O(this.entityType,i,this.context,this.columns);return g(this.intl,{columns:a}).columns}_renderResults(){let{searchResults:t}=this,e;return t.length?e=s(d,null,s("calcite-table",{bordered:!0,caption:this.intl.t("caption"),class:"card-container","data-test":"result-container",selectionDisplay:"none",selectionMode:this.selectionMode},this._renderHead(),t.map(this._renderRow))):this.shouldRenderEmptyState&&(e=this._renderEmptyState()),e}render(){return s(k,{key:"42ff44080759585e607fedb48b9f223f74306516","data-element":"gallery-layout-table"},this.loading?this._renderLoading():this._renderResults())}static get assetsDirs(){return["locales"]}get element(){return T(this)}};rt.style=et;return rt},"config",a,b,e)
|
|
@@ -0,0 +1,24 @@
|
|
|
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.0 */
|
|
4
|
+
import{a as B}from"./XSIKMHPL.js";import{a as V}from"./CHRWFOP6.js";import{a as K,b as D}from"./6LEY7ZNY.js";import{a as A}from"./4XTHRSG7.js";import{a as U,b as x}from"./BBBNF2FR.js";import{a as N}from"./KKWDHFBM.js";import{e as W}from"./ZSRR5MRF.js";import{a as q}from"./UCP3BCH2.js";import{a as H}from"./K3N36MG5.js";import{i as L}from"./OAV4ZW3J.js";import{a as R}from"./JD6TZRNW.js";import{b as v}from"./LFFXVOB2.js";import{f as $}from"./2Q7N3VTN.js";import{b as F}from"./T423MOSD.js";import{e as j}from"./PUASWADS.js";import{a as c}from"./XOKSVX25.js";import{b as I,p as S}from"./PVPDWOUB.js";import{a as G}from"./MOTZU7NR.js";import{a as b}from"./ZE4MKDL5.js";import{b as T}from"./373LXB3P.js";import{a as P,g as C}from"./N7E4CXET.js";import{b as E}from"./IPOPVO6A.js";import{a as y,g as k,j as _}from"./MMWYUPJQ.js";import{h as f}from"./P6HEL5XE.js";import{o as O}from"./BN3ZBJVG.js";import{a as w}from"./E6XMJ525.js";function Y(t){return P(t).then(e=>{let s=`${E(t)}/content/users/${e}/items/${t.id}/addResources`;return t.params=Object.assign({file:t.resource,fileName:t.name,resourcesPrefix:t.prefix,text:t.content,access:t.private?"private":"inherit"},t.params),f(s,t)})}async function ee(t,e,s,i,r,n=""){try{if(!(await Y(Object.assign({id:t,owner:e,resource:s,name:i,prefix:n},r))).success)throw new c("Set Item Featured Image","Unknown error setting featured image.");let u=b(r.portal);return n&&(n=`${n}/`),`${u}/content/items/${t}/resources/${n}${i}`}catch(a){throw a instanceof Error?new c("Set Item Featured Image",a.message,a):new c("Set Item Featured Image","Unknown error setting featured image.")}}async function te(t,e,s){let{portal:i}=s,r=`${i}/content/users/${e}/items/${t}/deleteThumbnail`;return f(r,s)}async function se(t,e,s,i,r){let n=Object.assign({item:{id:t},owner:r,params:{thumbnail:e,fileName:s},filename:s},i);try{if(!(await $(n)).success)throw new c("Set Project Thumbnail","Unknown error setting thumbnail.")}catch(a){throw a instanceof Error?new c("Set Project Thumbnail",a.message,a):new c("Set Project Thumbnail","Unknown error setting thumbnail.")}}var M="featuredImage.png",z=class{constructor(e,s){this.isDestroyed=!1,this.thumbnailCache=null,this.context=s,this.entity=e}checkPermission(e){return O(e,this.context,this.entity)}getPermissionPolicies(e){return(this.entity.permissions||[]).filter(i=>i.permission===e)}addPermissionPolicy(e){this.entity.permissions=K(this.entity.permissions,e)}removePermissionPolicy(e,s){this.entity.permissions=D(this.entity.permissions,e,s)}get id(){return this.entity.id}get owner(){return this.entity.owner}toJson(){if(this.isDestroyed)throw new Error("Entity is already destroyed.");return y(this.entity)}get canEdit(){return this.entity.canEdit}get canDelete(){return this.entity.canDelete}get orgId(){return this.entity.orgId}async shareWithGroup(e){if(!this.context.currentUser)throw new c("Share Item With Group","Cannot share item with group when no user is logged in.");await x(this.entity.id,[e],this.context.requestOptions,this.entity.owner)}async shareWithGroups(e){await x(this.entity.id,e,this.context.requestOptions,this.entity.owner)}async unshareWithGroup(e){await U(this.entity.id,[e],this.context.requestOptions,this.entity.owner)}async unshareWithGroups(e){await U(this.entity.id,e,this.context.requestOptions,this.entity.owner)}async setAccess(e){await N({id:this.entity.id,access:e,owner:this.entity.owner,authentication:this.context.session}),this.entity.access=e}async getFollowersGroup(){let e;try{this.entity.followersGroupId&&(e=await G(this.entity.followersGroupId,this.context.userRequestOptions))}catch{e=null}return e}async setFollowersGroupAccess(e){await R({group:{id:this.entity.followersGroupId,access:e},authentication:this.context.session})}async setFollowersGroupIsDiscussable(e){let s=await this.getFollowersGroup(),i=I(s.typeKeywords,e);await R({group:{id:s.id,typeKeywords:i},authentication:this.context.session})}async sharedWith(){return A(this.entity.id,this.context.requestOptions)}async afterSave(){this.thumbnailCache&&(this.thumbnailCache.clear?(await te(this.entity.id,this.entity.owner,this.context.userRequestOptions),this.thumbnailCache=null,this.entity.thumbnail=null,this.entity.thumbnailUrl=null):(await se(this.entity.id,this.thumbnailCache.file,this.thumbnailCache.filename,this.context.userRequestOptions,this.entity.owner),this.entity.thumbnail=`thumbnail/${this.thumbnailCache.filename}`,this.entity.thumbnailUrl=this.getThumbnailUrl(),this.thumbnailCache=null))}setThumbnail(e,s){this.thumbnailCache={file:e,filename:s}}clearThumbnail(){this.thumbnailCache={clear:!0}}getThumbnailUrl(e=200){let s={id:this.entity.id,access:this.entity.access,thumbnail:this.entity.thumbnail},i={token:this.context.session.token,width:e};return F(s,this.context.requestOptions,i)}async setFeaturedImage(e,s=!1){var i;try{(!((i=this.entity.view)===null||i===void 0)&&i.featuredImageUrl||s)&&await this.clearFeaturedImage();let r=await ee(this.entity.id,this.entity.owner,e,M,this.context.userRequestOptions);this.entity.view=Object.assign(Object.assign({},this.entity.view),{featuredImageUrl:r}),await this.save()}catch(r){if(r instanceof Error&&r.message==="CONT_00942: Resource already present")return this.setFeaturedImage(e,!0);throw r}}async clearFeaturedImage(){try{let e=await v(Object.assign({id:this.entity.id,owner:this.entity.owner,resource:M},this.context.userRequestOptions));if(e&&!e.success)throw new c("Clear Item Featured Image","Unknown error clearing featured image.");this.entity.view.featuredImageUrl=null,await this.save()}catch(e){throw e instanceof Error?new c("Clear Item Featured Image",e.message,e):new c("Clear Item Featured Image","Unknown error clearing featured image.")}}updateIsDiscussable(e){let s=I(this.entity.typeKeywords,e);this.update({typeKeywords:s,isDiscussable:e})}},ie=async(t,e,s)=>{var i;let r=(i=e.groupId)===null||i===void 0?void 0:i[0];if(e.type==="newGroup"){let n=Object.assign(Object.assign({},q("hubViewGroup",s)),{name:`${t.name} Content`});r=(await L(n,s)).id}return{schemaVersion:S,scopes:{item:{targetEntity:"item",filters:[{predicates:[{group:[r]}]}]},event:{targetEntity:"event",filters:[{predicates:[{group:[r]}]}]}},collections:[]}};function re(t,e,s){let i=y(t),r=e.id,n=w(i,"metrics",[]),a=n.findIndex(m=>m.id===r),u=w(i,"view.metricDisplays",[]),l=u.findIndex(m=>m.metricId===r);return a>-1?n[a]=e:n.push(e),l>-1?u[l]=s:u.push(s),i.view.metricDisplays=u,i.metrics=n,i}async function Q(t,e,s){return C(t,s).then(i=>!!i.resources.find(n=>n.resource===e))}async function ne(t,e,s,i){try{let r=await v(Object.assign({id:t,resource:e,owner:s},i));if(!r.success)throw new c("Remove Item Resource","Unknown error removing resource.");return r}catch(r){throw r instanceof Error?new c("Remove Item Resource",r.message,r):new c("Remove Item Resource","Unknown error removing resource.")}}function ae(t,e="application/octet-stream"){if(typeof Blob<"u"){let s=[];for(let r=0;r<t.length;r++)s[r]=t.charCodeAt(r);let i=new Uint8Array(s);return new Blob([i],{type:e})}else throw new Error("stringToBlob is not currently supported on Node")}async function oe(t,e,s,i,r,n=""){try{let a=i.split(".").pop(),l=await Q(t,i,r)?T:Y,m=s;if(a==="json"&&(m=B(s)),a==="txt"&&(m=ae(s)),!(await l(Object.assign({id:t,owner:e,resource:m,name:i,prefix:n},r))).success)throw new c("Add Item Resource",`Error adding resource ${i} to item ${t}.`);let p=b(r.portal),d=n?`${n}/`:"";return`${p}/content/items/${t}/resources/${d}${i}`}catch(a){throw a instanceof Error?new c("Add Item Resource",a.message,a):new c("Add Item Resource",`Error adding resource ${i} to item ${t}.`)}}function J(t,e){let i=H("/ember-arcgis-opendata-components/assets/images/placeholders/southatlantic_coastline.jpg",e.userRequestOptions),r={sections:[{containment:"fixed",isFooter:!1,style:{background:{isFile:!1,isUrl:!0,state:"valid",display:{},transparency:50,position:{x:"center",y:"center"},color:"#000000",image:i},color:"#ffffff",rowLayout:"box"},rows:[{cards:[{component:{name:"spacer-card",settings:{height:"80",cardId:"c0iaseq5x"}},settings:{height:100},width:12}]},{cards:[{component:{name:"markdown-card",settings:{cardId:"crn7a02t5",schemaVersion:2.1,markdown:'<div class="banner-heading">Hero section</div>'}},width:12}]},{cards:[{component:{name:"markdown-card",settings:{cardId:"c1cihdl00",schemaVersion:2.1,markdown:"<p>This hero section is a row with image, banner text, and spacers. Edit layout to customize the hero. </p>"}},width:12}]},{cards:[{component:{name:"spacer-card",settings:{height:"80",cardId:"cqw42xb1u"}},settings:{height:100},width:12}]}],visibility:{access:"default",groups:[]}},{containment:"fixed",isFooter:!1,style:{background:{isFile:!1,isUrl:!0,state:"",display:{},transparency:0,position:{x:"center",y:"center"},color:"transparent"},rowLayout:"box"},rows:[{cards:[{component:{name:"spacer-card",settings:{height:"30",cardId:"c1vrfsun0"}},settings:{height:100},width:12}]},{cards:[{component:{name:"markdown-card",settings:{cardId:"cmq3l0yfj",schemaVersion:2.1,markdown:'<h1 style="text-align: center;">Section</h1><p style="text-align: center;">Edit layout to customize this section and configure page elements. <a href="https://doc.arcgis.com/en/hub/sites/site-editing-basics.htm" target="_blank" style="font-family: var(--fontsBaseFamily), Avenir Next; background-color: rgb(255, 255, 255);">Learn more ></a></p>'}},width:12}]},{cards:[{component:{name:"spacer-card",settings:{height:100,cardId:"c619c27ix"}},settings:{height:100},width:12}]}],visibility:{access:"default",groups:[]}}],header:{component:{name:"site-header",settings:{fullWidth:!1,title:"Your Site Name",headerType:"default",menuLinks:[],schemaVersion:3,showTitle:!0,socialLinks:{facebook:{},instagram:{},twitter:{},youtube:{}},shortTitle:"Site"}}},footer:{component:{name:"site-footer",settings:{footerType:"custom",markdown:`<div class="footer-background">
|
|
5
|
+
<div class="container-fluid">
|
|
6
|
+
<div class="col-xs-12">
|
|
7
|
+
<img src="https://via.placeholder.com/50" alt="" class="center-block logo">
|
|
8
|
+
</div>
|
|
9
|
+
<div class="col-xs-6 center-block">
|
|
10
|
+
<ul class="nav nav-pills">
|
|
11
|
+
<li><a href="">URL</a></li>
|
|
12
|
+
<li><a href="">URL</a></li>
|
|
13
|
+
<li><a href="">URL</a></li>
|
|
14
|
+
<li><a href="">URL</a></li>
|
|
15
|
+
</ul>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-xs-6 center-block">
|
|
18
|
+
<ul class="nav nav-pills" style="float:right;">
|
|
19
|
+
<li><a href="">URL</a></li>
|
|
20
|
+
<li><a href="">URL</a></li>
|
|
21
|
+
</ul>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</div>`,schemaVersion:2.1}}}},n={sections:[],header:{component:{}},footer:void 0};switch(t){case"simpleSiteOrPageLayout":return Promise.resolve(r);case"blankSiteOrPageLayout":return Promise.resolve(n);default:return Promise.resolve(n)}}var Fe=async(t,e)=>{var s,i,r;let n,a,u=t._thumbnail,l=t._catalogSetup,m=t._layoutSetup,h=t._metric,p=t._slug,d=(s=t.view)===null||s===void 0?void 0:s.featuredImage;delete t._groups,delete t._thumbnail,(i=t.view)===null||i===void 0||delete i.featuredImage,delete t._layoutSetup,delete t._metric,delete t._catalogSetup,delete t._slug;let o=y(t);if(o.orgUrlKey=t.orgUrlKey?t.orgUrlKey:e.portal.urlKey||"",o.orgUrlKey=o.orgUrlKey.toLowerCase(),o.extent=(r=t.location)===null||r===void 0?void 0:r.extent,p?o.slug=j(p,o.orgUrlKey):o.slug="",u&&(u.blob?a={file:u.blob,filename:u.fileName,clear:!1}:a={clear:!0}),d){let g=null;d.blob?g=await oe(o.id,o.owner,d.blob,"featuredImage.png",e.userRequestOptions):await Q(o.id,"featuredImage.png",e.userRequestOptions)&&await ne(o.id,"featuredImage.png",o.owner,e.userRequestOptions),o.view=Object.assign(Object.assign({},o.view),{featuredImageUrl:g})}if((l?.type==="newGroup"||l?.type==="existingGroup"&&l.groupId)&&(o.catalog=await ie(o,l,e),n=W.fromJson(o.catalog,e)),h&&Object.keys(h).length){let g=h.metricId||k(_(`${h.cardTitle}_`)),{metric:X,displayConfig:Z}=V(h,g,{metricName:h.cardTitle});o=re(o,X,Z)}return m&&(m.layout==="simple"?o.layout=await J("simpleSiteOrPageLayout",e):o.layout=await J("blankSiteOrPageLayout",e)),Object.assign(Object.assign({entity:o},a&&{thumbnailCache:a}),n&&{_catalog:n})};export{Y as a,ee as b,te as c,se as d,z as e,Q as f,ne as g,ae as h,oe as i,Fe as j};
|
|
@@ -0,0 +1,4 @@
|
|
|
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.0 */
|
|
4
|
+
import{a as c}from"./XHGRMYTQ.js";import{c as _}from"./TQUDF7GH.js";import{c as C}from"./G4LKMC57.js";import"./KUTLSXHF.js";import"./5J7VDQC4.js";import"./PLHL5UFC.js";import"./BIWTZJUY.js";import"./WNFLKDZG.js";import"./RDFT5USS.js";import{a as v}from"./FEUZVOHT.js";import{a as y}from"./AFSZKCK2.js";import"./DDVSAGAS.js";import{a as m}from"./CA3VX2WP.js";import"./XP4K6N4W.js";import{a as u}from"./MGARNSGE.js";import"./MAZ3SFCT.js";import"./SXYKSNPO.js";import{b as r,c as b,d as I,e as d,h as p,i as S}from"./LGLLAWT2.js";import"./7X4LS3TV.js";import"./YD2WDSSU.js";import"./RZ2RWSEX.js";import"./BDXBURUK.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(b,{key:"cf4d347190a601f038e5a9b63aad16d2f9aea5f7","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([v({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(b,{key:"271699d2b53f24a314a092dfe496fe725f0aa918"},r("calcite-label",{key:"dee085ad0071755ce2faacefaf449356cf389e99"},this.intl.t("label"),r("calcite-input",{key:"e31b9bad0063a4c299c9f54b699a91bb74164938",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([v({timeout:250})],x.prototype,"_handleImgSrcUpdated",null);x.style=B;return{arcgis_hub_image_upload:U,arcgis_hub_image_url:x}},"config")
|
|
@@ -0,0 +1,4 @@
|
|
|
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.0 */
|
|
4
|
+
var e;(function(o){o.notStarted="notStarted",o.inProgress="inProgress",o.skipped="skipped",o.onHold="onHold",o.complete="complete"})(e||(e={}));export{e as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/0.8/esri/copyright.txt for details.
|
|
3
|
+
v0.8.0 */
|
|
4
|
+
import"./KUTLSXHF.js";import"./5J7VDQC4.js";import"./PLHL5UFC.js";import"./BIWTZJUY.js";import"./WNFLKDZG.js";import"./RDFT5USS.js";import{a,c as n}from"./CQAK4TGZ.js";import"./DDVSAGAS.js";import"./CA3VX2WP.js";import"./XP4K6N4W.js";import"./SXYKSNPO.js";import{b as e,c as r,d as s,i as c}from"./LGLLAWT2.js";import"./MMWYUPJQ.js";import"./BN3ZBJVG.js";import{a as o}from"./YD2WDSSU.js";import"./YJCARB73.js";import"./E6XMJ525.js";import"./RZ2RWSEX.js";import"./BDXBURUK.js";export default $arcgis.t(([])=>{var H=class{constructor(t){c(this,t),this.accessGranted=!1,this.noticeId=void 0,this.notice=void 0}get _context(){return n()}componentWillLoad(){this.validateAccessGateNoticeConfiguration(this._notice)}get _notice(){return this.notice||this._getPreconfiguredNotice}get _getPreconfiguredNotice(){return a(this.noticeId,this._context)}validateAccessGateNoticeConfiguration(t){if(!t){o.error("validateAccessGateNoticeConfiguration - The notice is not defined. Please provide a valid notice.");return}let{noticeType:i}=t.configuration;if(i!=="modal")throw new Error('validateAccessGateNoticeConfiguration - Currently, the only supported notice type for arcgis-hub-access-gate is "modal".');if(i==="modal"){let{closeButtonDisabled:d,escapeDisabled:l,outsideCloseDisabled:u}=t.configuration;if(!d||!l||!u)throw new Error(`validateAccessGateNoticeConfiguration - The notice with id, "${t.id}," must have closeButtonDisabled, escapeDisabled, and outsideCloseDisabled set to true.`)}}render(){let{noticeType:t}=this._notice.configuration;return e(r,{key:"65b0a0dcba5f1a5b97358fbc713522b24d86960d","data-element":"access-gate"},this.accessGranted?e("slot",null):t==="modal"?e("arcgis-wormhole",null,e("arcgis-hub-notice",{notice:this._notice})):e("arcgis-hub-notice",{notice:this._notice}))}get element(){return s(this)}};return H},"config")
|